LyX allows space followed by guarded space

2002-10-06 Thread Darren Freeman

Dear list,

I don't know if this is a bug or not, I'm new.

It is possible, when converting a regular space to a guarded space, that 
you forget to remove the space. Result is space followed by guarded space. 
Easy to miss.

Does this conflict with the WYSIWYM philosophy? Or is it legal to put all 
sorts of extra spaces in if they are guarded?

Have fun,
Darren Freeman




Can't tell if a cross-reference is emphasised

2002-10-06 Thread Darren Freeman

Dear list,

I like to put my figure references in bold, as in:

Figure 3

But you can't tell if the cross reference itself is bold. I can imagine 
situations where you only notice days after publication that the number 
wasn't bold.

Is this a missing feature?

Have fun,
Darren Freeman




xdvi very slow with images

2002-10-06 Thread Darren Freeman

Dear list,

I know this isn't LyX specific, but does anyone know why xdvi is painfully 
slow when magnifying a page with an image anywhere on it?

This happened with PNG and EPS figures.

When I mean painfully slow I mean *EVEN SLOWER THAN ADOBE ACROBAT*... Now 
that's slow, especially on an Athlon =)

Have fun,
Darren Freeman




Cross reference defaults to wrong document

2002-10-06 Thread Darren Freeman

Dear list,

I was working on a document, with the user guide open as the second document.

When adding cross references to my document, the list of choices were from 
the user guide. After a while I realised you can click on "buffer" to 
change to my document. But as a new user, I was confused for quite a while 
by that.

Couldn't the default "buffer" choice be the document I'm inserting the 
cross-reference into?

Have fun,
Darren Freeman




Feature request: default units

2002-10-06 Thread Darren Freeman

Dear list,

I don't know if this feature is really missing or if I'm just not looking 
hard enough.

I want to be able to select my default units to be cm rather than in. 
Currently I have to click on "in" every time I change a figure width.

Have fun,
Darren Freeman




Mouse wheel also closes environment menu

2002-10-06 Thread Darren Freeman

Dear list,

As per my post about the mouse wheel closing open file dialogues, it also 
closes the environment menu.

This is going to be a real off-putter as my instinct is to scroll with the 
wheel... So it takes several attempts to get it right, I can't just "not 
use the wheel" (feels kinds stupid to know you closed it three times in a 
row for the same reason too =).

Have fun,
Darren Freeman




Save from Word as TXT, import, get extra spaces

2002-10-06 Thread Darren Freeman

Dear list,

I saved my Word DOC using Word 2000 (nooo!!!), as a TXT file.

After importing into LyX, I found that there was an extra space at the end 
of each paragraph. Possibly due to the extra control code DOS uses with a 
newline.

This just makes me want to go through the whole file and remove these 
spaces.. I don't want no steenkin' DOS reminders in my shiny new report =)

Have fun,
Darren Freeman




Menu system pauses for a long time

2002-10-06 Thread Darren Freeman

Dear list,

I started seriously using Lyx last night, I'll give one post per issue that 
I'm raising. Sorry if any are dupes but there's more than I care to look 
for on Bugzilla =)

When you start browsing a menu, say File, then decide to change to a new 
menu, say Insert, there is an incredible delay before updating to the new 
menu. Usually it just ignores you and you have to click back on the 
document and try again.

System:
LyX 1.2.1
Mandrake 9.0 stock-standard installation

This is easy to work around but a real show-stopper when it comes to a new 
user figuring out how to use LyX!!

Have fun,
Darren Freeman




Re: Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1

2002-10-06 Thread michael . schmitt

"Garst R. Reese" <[EMAIL PROTECTED]> schrieb am 06.10.2002, 18:27:34:

> This comes from all of the unused, unsupported, unnecessary, and buggy,
> qt, gtk, gnome crud in autogen.sh etc. --- talk to Jean Marc.

I found out that it is sufficient to do the following:

  In file aclocal.m4:
line 8: remove "gtk--.m4", "gnome--.m4", "gnome.m4"

  In file configure.in:
comment out lines 68-73,
comment out lines 207-228

With these modifications, I was able to configure and compile - except 
for one thing: Option "--with-included-string" does not work with 
gcc 3.2 due to a compile problem in the math code. Which brings me 
to the following question: Is option "--with-included-string" still 
relevant for gcc 3.2 or just intended for old systems? And how about 
"--with-included-gettext"? 

Thanks you for your quick response!

Michael



Re: Graphics: LyX and LaTeX scales have resolution of 1 %.

2002-10-06 Thread Rob Lahaye

Hane Fuyuki wrote:
> Hi, Mr. Lahaye 
> 
> I would like to thank for your lyx message.
> Your point bothered me since lyx-1.2 released.
> 
> I want to set the resolution 83.33 % as possible.
> So, I hope the graphics resolution improves in LyX-1.2.2.


What do you mean by "resolution"?
I was talking about scaling of the graphics file.

I came up with this issue, since scaling only allows
integer values (1-100 percent), whereas other percentage
values allow unsigned floats (e.g. text%, page%, col% and
line%).

Yes, I realize that for LaTeX, scaling is different from
the other percentage units, but the LyX user doesn't need to
be aware of this and may want to scale by a float, e.g.
84.76 percent.

Rob.

PS: please send your replies also to the LyX mailing
list at [EMAIL PROTECTED]




Re: xforms-1.0RC5 RPM?

2002-10-06 Thread Kayvan A. Sylvan

On Sat, Oct 05, 2002 at 11:46:30PM -0700, Kayvan A. Sylvan wrote:
> Is there an RPM for this beasty? Should I create one?

Okay... I found an RPM spec file for 1.0RC4 and fixed it up for general
consumption:

My changes:

1) No GL build. I don't care about this and it's extra cruft (since the
   only application I run with xforms is lyx). ;-)

2) Standard installation (in /usr/X11R6/lib, /usr/X11R6/bin, etc.)

3) Automatically runs ldconfig after install (the original did not).

From this point on, to run my binary RPMs, users will need to install
the xforms-1.0 RPM. This is a plus, IMHO.

The xforms RPMs are in:

ftp://ftp.sylvan.com/pub/lyx/xforms/libforms-1.0-RC5.2.i386.rpm
ftp://ftp.sylvan.com/pub/lyx/xforms/libforms-devel-1.0-RC5.2.i386.rpm
ftp://ftp.sylvan.com/pub/lyx/xforms/xforms-1.0-RC5.2.src.rpm

Just the spec file and my minimal patch:

ftp://ftp.sylvan.com/pub/lyx/xforms/xforms.spec
ftp://ftp.sylvan.com/pub/lyx/xforms/xforms-1.0.patch

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg45535/pgp0.pgp
Description: PGP signature


Graphics: LyX and LaTeX scales have resolution of 1 %.

2002-10-06 Thread Rob Lahaye

Hi,

The way the LyX and LaTeX scales are dealt with in the graphics code, implies that
the scale variable is stored as an integer from 1 to 100. Fractional scales are
not possible. Is that OK, or is it too restrictive?

Should we allow scaling as "82.47 percent" ?
I myself never needed such a precise scaling, but I just wondered for the general case.

Rob.




some patch for i18n

2002-10-06 Thread Vitaly Lipatov

Please add _() for vertical fill. It is not translated now.

--- /src/text.C.old   2002-10-05 00:55:04 +040
+++ src/text.C  2002-10-06 23:07:09 +0400
@@ -3281,7 +3281,7 @@
break;
}
case VSpace:: VFILL:
-   str = prefix + " (vertical fill)";
+   str = prefix + _(" (vertical fill)");
ty1 = ty2 = start;
by1 = by2 = end;
break;


-- 
Lav
GNU! ALT Linux! LaTeX! LyX!



word `Greek` in LyX

2002-10-06 Thread Vitaly Lipatov

Please pay attention for 'Greek' in the Math Panel.
It word have not to translate in this context. I think
following patch resolve the problem.

--- form_maths_panel.C.old  2002-10-05 21:21:28 +0400
+++ form_maths_panel.C  2002-10-06 22:31:07 +0400
@@ -37,7 +37,7 @@
 fl_set_object_lalign(obj, FL_ALIGN_TOP);
 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 
MM_FUNC);
 fl_set_browser_hscrollbar(obj, FL_OFF);
-  fdui->button_greek = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 
140, 50, 30, _ ("Greek"));
+  fdui->button_greek = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 
140, 50, 30, "Greek");
 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
 fl_set_object_lstyle(obj, 15);
 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 
MM_GREEK);

-- 
Lav
GNU! ALT Linux! LaTeX! LyX!



Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1

2002-10-06 Thread John Levon

On Sun, Oct 06, 2002 at 01:27:34PM -0300, Garst R. Reese wrote:

> This comes from all of the unused, unsupported, unnecessary, and buggy,
> qt, gtk, gnome crud in autogen.sh etc. --- talk to Jean Marc.

Where is your evidence for this. Michael did not provide enough info to
decide.

john

-- 
"I will eat a rubber tire to the music of The Flight of the Bumblebee"



Importing Word document, fail to view DVI

2002-10-06 Thread Darren Freeman

Dear list,

After successfully importing one Word DOC file, I found that the start of 
the LyX file had a box with "\sloppy" in it. No idea what it means.

I couldn't view the DVI file, viewer is set to xdvi.

The error occurred during the LaTeX run, only a single error was found, and 
it left a red error box at the very beginning of the document, touching the 
\sloppy box. After deleting the \sloppy box and the error box, and trying 
again, no luck. Still an error at the very start of the file.

Check the last posts for the system config and what I was doing.

Have fun,
Darren Freeman




LaTeX file names cannot contain spaces

2002-10-06 Thread Darren Freeman

Dear list,

While not an urgent problem, I did fail to import another Word document 
because the following was printed on the console:

---8<8<--8<--
sorry, LaTeX file names cannot contain spaces.
---8<8<--8<--

Solution is obviously to create a symlink to the file with a friendly 
no-spaces filename.

Have fun,
Darren Freeman




Mouse scroll wheel closes open dialogue

2002-10-06 Thread Darren Freeman

Dear list,

I found that the mouse wheel would close the file open dialogue box after a 
few clicks. LyX says it was cancelled by user.

Repeat the bug: open the File->Import->Word dialogue, and click the wheel 
down 3 times. Window closes.

Other dialogues are affected, and other combinations of wheel movements 
work too. But it was consistently 3 down clicks on that dialogue.

Same system stats as my last post about 5 minutes ago. LyX version 1.2.1, 
stock standard Mandrake 9.0 system.

Have fun,
Darren Freeman




Failed to import MS Word document

2002-10-06 Thread Darren Freeman

Dear list,

I am a newbie to LyX, I have only just finished the tutorial.

I tried importing a Word file and failed with the following cut-and-paste 
from the console:

--8<-8<--8<--

reLyX directory is: /usr/share/lyx/reLyX
reLyX, the LaTeX to LyX translator. Revision date 2001/08/31
Reading LaTeX command syntax
(124-228199735.tex: Splitting Preamble
Creating LyX preamble
Reading layout file
Cleaning... Expecting `\end{itemize}', got \end{enumerate} in `
' at /usr/share/lyx/reLyX/Text/TeX.pm line 402,  line 62.
Translating... Expecting `\end{itemize}', got \end{enumerate} in `
' at /usr/share/lyx/reLyX/Text/TeX.pm line 402,  line 62.
Problem with Layout Stack!
Compilation failed in require at /usr//bin/reLyX line 76.
Exited due to fatal Error!

--8<-8<--8<--

Yes, the file really was called 124-228199735.doc as it is an academic 
paper submission I wish to polish off using LyX (my supervisor LOVES LyX!).

System info:
Fresh install of Mandrake 9.0 - barely changed anything
LyX version 1.2.1
Athlon, KDE 3

Word file:
Saved with MS Word 2000, containing PNG images and around 10,000 words of text.

I hope this hasn't been reported before as I am a bit of a n00b =)

Have fun,
Darren Freeman




Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1

2002-10-06 Thread Kornel Benko

-BEGIN PGP SIGNED MESSAGE-

On Sunday 06 October 2002 15:59, Kornel Benko wrote:
> P.S.
> it may be sufficient to uncomment the lines #68 to #73 in configure.in

Here I meant "comment".
Sorry.

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPaBW2LewfbDGmeqhAQFi1AP9GktdS8dULc1pBp8TvfYEIxTVVbWzFpZb
b7pav/KjvwvASLN4MnOFDCfcIygdA3M6mE2toZ9gPA01fzrKcBISZA9T703VYF0u
8aYhPLtINV5M/l/gVcmF+xVPKmFiRdDK4fhQPM/mAl16isDai/sLy2tpkiLg0XZu
vCpZelkcz7s=
=eAxJ
-END PGP SIGNATURE-




Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1

2002-10-06 Thread Kornel Benko

-BEGIN PGP SIGNED MESSAGE-

On Sunday 06 October 2002 15:59, Kornel Benko wrote:
> aclocal
> ./autogen.sh
> rm -f

I meant "rm -f config.status"

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPaBSR7ewfbDGmeqhAQG8KQP+LODJqjjDZT+Fj8VRYweD28EO0otDc5F/
eilTAnanHYiK2ckevyzMlxxS51M+qtRKZ8kkOtwhsOLyqSDjKJfLSWhBu+pFTi8e
azRAjUsiWDEmjtl8B1CKt7WNY5eARaVNhyUyU05HQnonvTGCA8RTehO77VmK4CZu
3O6uXcKJ8L0=
=TOo1
-END PGP SIGNATURE-




Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1

2002-10-06 Thread Kornel Benko

-BEGIN PGP SIGNED MESSAGE-

On Sunday 06 October 2002 10:35, Michael Schmitt wrote:
> Hi,
>
> after upgrading to SuSE 8.1, I intended to recompile a fresh copy of
> LyX. But unfortunately, autogen.sh already generated a large list of
> warnings. Afterwards, configure fail due to a missing symbol/variable (I
> can't send you the output but I guess you already know the problem).
>
> SuSE 8.1. contains the following tools:
>
>gcc 3.2
>automake 1.6.3
>autoconf 2.53
>libtool 1.4.2
>
> Does anybody know how to fix the problem???

Maybe, but I have only SuSE 8.0.

There seems to be a missing ./config/configure.ac.
Attached one is working here. Copy it to
"."
and to
"./config/."

The command-sequence
./autogen.sh
aclocal
./autogen.sh
rm -f 
./configure
make
may do it. (At least, I could compile it that way now)

Kornel

P.S.
it may be sufficient to uncomment the lines #68 to #73 in configure.in
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPaBPwLewfbDGmeqhAQGe+AQAumAEO7+G87YUs1AZvqb5g3ubc/+Wfvge
4s0T1wFPZV/+1VpZ1reZtmO3gsGGchHZSiGK332wy1qhO1q3sgo02Hruzcytre5r
jl9ZnBEbQBdscKVn6qNhftrAViCFIWv6vatusquBpwIgAfRW9Gh4IBn2qN2S7IE3
E8yrRZ7vRio=
=qWVJ
-END PGP SIGNATURE-


dnl Process with autoconf to generate configure script   -*- sh -*-

AC_INIT(lyx,1.2.2cvs,[EMAIL PROTECTED])
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR(src/main.C)
AM_CONFIG_HEADER([src/config.h])


AC_CONFIG_AUX_DIR(config)

PACKAGE=lyx${program_suffix}
VERSION="1.2.2cvs"
LYX_CHECK_VERSION

AC_CANONICAL_SYSTEM
AC_VALIDATE_CACHE_SYSTEM_TYPE
AC_CANONICAL_TARGET
LYX_VERSION_SUFFIX
AM_INIT_AUTOMAKE($lyxname, $VERSION)

# The list of languages known to LyX
# This is needed by GNU gettext
ALL_LINGUAS="bg ca cs da de es eu fi fr he hu it nl no pl pt ro ru sk sl sv tr wa"

# fix the value of the prefixes.
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

### Set the execute permissions of the various scripts correctly
for file in config/install-sh config/mkinstalldirs lib/configure ; do
  chmod 755 ${srcdir}/${file}
done

### Check for programs
AC_PROG_MAKE_SET
AC_PROG_INSTALL
#AC_PROG_RANLIB
AC_CHECK_PROG(KPSEWHICH, kpsewhich, kpsewhich, :)
if test "x$KPSEWHICH" = xkpsewhich ; then
AC_DEFINE(HAVE_KPSEWHICH, 1,
[Define this if you have the kpsewhich program working on your system.])
fi
AC_CHECK_PROGS(M4, gm4 gnum4 m4, m4)

# Work around a problem in automake 1.4: when invoking install-strip,
# INSTALL_PROGRAM is changed to 'install -s', and since
# INSTALL_SCRIPT==INSTALL_PROGRAM, we get errors with fileutils-4.0
# which returns an error condition when stripping fails.
INSTALL_SCRIPT='${INSTALL}'

### we will also need a C compiler to compile GNU gettext
AC_PROG_CC

### check for special systems
AC_ISC_POSIX
AC_AIX
LYX_HPUX
LYX_SUNOS4
LYX_SCO

### Check for program extensions (.exe or nothing)
AC_EXEEXT

### check which frontend we want to use
LYX_USE_FRONTEND
dnl The code below is not in a macro, because this would cause big
dnl problems with the AC_REQUIRE contained in KDE_DO_IT_ALL.
#case "$lyx_use_frontend" in
#  gnome)
#GNOME_INIT
#GNOME_COMPILE_WARNINGS
#GNOME_X_CHECKS
#esac

### Check for a C++ compiler
LYX_PROG_CXX
### Some checks on what the C++ compiler can(not) do
AC_LANG(C++)
dnl we do not need that currently (and probably all our supported
dnl compiler allow that)
dnl LYX_CXX_PARTIAL
LYX_CXX_EXPLICIT
LYX_CXX_STL_STRING
LYX_CXX_GOOD_STD_STRING
LYX_CXX_CHEADERS
LYX_CXX_GLOBAL_CSTD
LYX_STD_COUNT
dnl we disable rtti for now
dnl LYX_CXX_RTTI
AC_CHECK_HEADERS(ostream istream sstream locale limits)
LYX_CXX_STL_MODERN_STREAMS

### and now some special lyx flags.
AC_ARG_ENABLE(assertions,
  [  --enable-assertions add runtime sanity checks in the program],,
  [if test $lyx_devel_version = yes -o $lyx_prerelease = yes ; then
enable_assertions=yes;
else
enable_assertions=no;
fi;])
if test "x$enable_assertions" = xyes ; then
   lyx_flags="$lyx_flags assertions"
   AC_DEFINE(ENABLE_ASSERTIONS,1,
[Define if you want assertions to be enabled in the code])
fi

### We need a regex implementation, so we provide our own if none is found.
LYX_REGEX

### Library Files
dnl by testing these we check if it is ok to have
dnl -lc and -lm as args to the compiler
AC_CHECK_LIB(m, sin)
AC_CHECK_LIB(c, fopen)

### Add extra directories to check for libraries.
LYX_WITH_DIR([extra-lib],[extra library directory],extra_lib, NONE)
LYX_LOOP_DIR($lyx_cv_extra_lib,LYX_ADD_LIB_DIR(lyx_ldflags,$dir))
test ! x"$lyx_ldflags" = x && LDFLAGS="$lyx_ldflags $LDFLAGS"

### Add extra directories to check for include files.
LYX_WITH_DIR([extra-inc],[extra include directory],extra_inc, NONE)
LYX_LOOP_DIR($lyx_cv_extra_inc,LYX_ADD_INC_DIR(lyx_cppflags,$dir))
test ! x"$lyx_cppflags" = x && CPPFLAGS="$lyx_cppflags $CPPFLAGS"

### Add both includes and 

Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1

2002-10-06 Thread Michael Schmitt

Hi,

after upgrading to SuSE 8.1, I intended to recompile a fresh copy of 
LyX. But unfortunately, autogen.sh already generated a large list of 
warnings. Afterwards, configure fail due to a missing symbol/variable (I 
can't send you the output but I guess you already know the problem).

SuSE 8.1. contains the following tools:

   gcc 3.2
   automake 1.6.3
   autoconf 2.53
   libtool 1.4.2

Does anybody know how to fix the problem???

Thanks in advance,

Michael




Re: Lyx will not link on MacOsX 10.2 - solution

2002-10-06 Thread Keeron Ögren

I made it at last. I give a report as I ought to.

First add

CPPFLAGS=-no-cpp-precomp
CXX=g++2

to the configure file. That is - forcing g++3.1 to emulate
2.95 - I think that this problem will continue on g++3.+
Ronald Florence helped me with that.

There was a main bug in the Apple gcc distribution - lacking
a lot of headers fo stdc++ - forcing me to forge headers by
crosscopying from the 3.1 headers (The limits file and the
3.1/g++v3/ppc-darwin/bits catalog shuld be copied into the
2.95.2 include an so on) and by copying some from the
SDLport (www.stlport.org) (for example wchar.h).

I also - and thats a bugg in Lyx configuration not taking
notice of me having the  header - trying to solve
that by
using a private limits.hpp - wich dosent work. I made a hack
in boost/boost/limits.hpp - changing: 
#include 
into
#include 
the real solution should be that BOOST_NO_LIMITS was not
set-
but I didnt understand how to change that.

Last - after ./configure - I alter the src/Makefile -
changing
the LIBS varable to start whith "-lforms -ljpeg".

make
make install

ready.

Think I'll make a binary dist.

Keeron



+---+
|Keeron Ögren, Stömne Anneberg, 671 95 KLÄSSBOL, SWEDEN |
|Pnr:+46(0)570-463056 Cell:+46(0)70-6799557 ICQ#58298387|
+---+