Re: How to cross reference a float

2005-01-27 Thread G. Milde
On 26.01.05, Rich Shepard wrote:
 On Wed, 26 Jan 2005, Steve Litt wrote:
 
  Having to label chapters doesn't bother me because there are so few
  chapters (17 in my upcoming book). But there are multiple floats per
  chapter, and I know of no sane naming convention, and labels are global,
  not local to a chapter.

If inserting the label after writing the caption, the caption string is
used as default value presented by LyX. It is just one more keypress for
the [OK] button. So, binding a key to insert-label makes creating labels
a two-press task.

If we had a lyx-function (LFUN) for pressing the [OK]-button, the task
could become a one-key task with e.g.

\bind some key command-sequence simulate-keypress Enter; label-insert;

A script using the lyxserver could then define autolabel-floats,
autolabel-section and autolabel-all functions creating labels for all
candidates.
 
 
2) I think you'd find local labels a problem. Consider a figure in Chapter
 2 that you want to reference in Chapter 11. How do you do this with local
 labels?

With namespaces. 

I would make them local to files of a multi-file document, like
filename.fig:the-caption-of-the-figure. reference-insert already has
a drop down list for labels from different files of the same document. 

However, this might creates a mess, if you move the figure from Chapter 2
to Chapter 4. IMHO, a carefully hand-chosen label name is still the most
transparent option.

My feature-wish would be a check for naming conflicts in label-insert.


Günter

-- 
G.Milde web.de


Re: line break and indentation for Lyx-Code

2005-01-27 Thread G. Milde
On 27.01.05, Kevin Pfeiffer wrote:
 Wolfgang Hennerbichler writes:
  On Wed, 2005-01-26 at 16:31 +0100, G. Milde wrote:
   [Wolfgang Hennerbichler wrote:]
not line break the code. If a line is longer than a sheet of
paper, it's just cut off.
  
   ... how should LyX knwo which lines to break.
 
  I'd say: Every line that exceeds the defined margin.
 
 Splitting lines is difficult enough with ordinary text, but with various 
 programming languages?

Furthermore, LyX does only know about the margin definition, if it is set
in the FormatDocument dialog. In many (most?) cases, the textwidth is
set by the class or a package. The same holds for the length of the line,
which depends on the chosen font. All this is handled by LaTeX, so LyX
would need to parse for overfull hbox warnings.

IMHO, the problem could only be solved by a LaTeX package. 

If I got it right, the listings package has a (rudimentary) support for
line wrapping. See its documentation listings.dvi, section 5.6 Automatic
formatting for details.


-- 
G.Milde web.de


Re: Installing Lyx from source, without root.

2005-01-27 Thread Angus Leeming
Bren Mochocki wrote:
 However, when I went to run lyx, it couldn't find the files
 libflimage.so.1 or libflimage.so.1

Hi, Bren.

Is it me, or did you type the same file name twice? Perhaps you mean that
one of them is libforms.so.1?

 the exact when attempting to run lyx is:
 
 lyx: error while loading shared libraries: libflimage.so.1: cannot open
 shared object file: No such file or directory

Usually, the .so.1 files are symbolic links pointing to the actual .so
file. Do these exist?

-- 
Angus



Re: How to cross reference a float

2005-01-27 Thread Johan Ingvast
Hi list
I'm writing on my thesis and recognize the problem. The labeling is a bit
of a problem. Not only one have to find a good name that describes the
label, but also when inserting the label one have to find it in a list of
maybe several hundreds.
I find when writing that a common procedure is to first create a label and
in the next moment inserting it. Also when creating labels they often
comes in groups so I usually select labels from the same part of the list
in a sequence.
So I have a feauture request

There should be a preselected labels in the label selection dialog.
The preselection shoule be changed by:
Making a new label.
Selecting a label.

I would also like to have a command that directly inserts the label that
is preselected without having to open the dialog.

Then I must say that the Enter in the label selection dialog should be
connected to OK and not Goto (ver 1.3.5-qt).  Maybe a Insert button
would be good so that the dialog could stay open.

Comments?

/johan

On Wed, 26 Jan 2005, Angus Leeming wrote:

 Matej Cepl wrote:
  Rich Shepard wrote:
  They can be referenced as 
  ... as seen in the following figure.
 
  This is not a wise solution, because floats are floats because they can
  float, i.e., following figure may actually get before its reference
  (AFAIK).
 
 Indeed. That's what the prettyref package (and other similar packages) is
 designed to deal with. Try the different Format options of the cross
 reference dialog.
 
 

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498



Re: dead keys (new)

2005-01-27 Thread Ingar Pareliussen
Onsdag 26. januar 2005 11:40 skreiv Helge Hafting:
 Did you compile lyx with qt or xforms?
 Have you tried to use lyx installed from an rpm file, instead of compiling?
 Also look at your X setup.  Apparently, some input methods for ...
 works with lyx and some have trouble.

 I use debian.  Lyx-qt version 1.3.4, from debian or self-compiled both
 works with  and so on.  The keyboard section from
 my XF86Config-4 file looks like this:

 Section InputDevice
 Identifier  Generic Keyboard
 Driver  keyboard
 Option  CoreKeyboard
 Option  XkbRules  xfree86
 Option  XkbModel  pc105
 Option  XkbLayout no
 EndSection

I just thought I would give my input on this, as I have had this problem since 
1.3.4. I have, however, not been bothered to much about it as I mainly write 
English where accents are few and far between. This is true in Norwegian as 
well, I guess (g is the only exception). I have used LFUN in 1.3.5 
instead of dead keys and grown accustomed to LFUN. However if you use accents 
often I guess this is not acceptable.

The problem is the qt version of LyX on Suse (atleast) 9.0 and 9.1.  No other 
applications have this problem not even Opera which is a pure qt program as 
well. Copying the characters is not a problem, the only problem is that 
instead of waiting for the next char LyX prints the accents right away. 

I did test version above of the xfree setup file and it did not help. And the 
fact that all other applications get dead keys except LyX indicates that LyX 
is handling this in an non-conform way. 

I also tested it in Fvwm to be certain that it was not a KDE related problem.

But I guess the question is what are different between the debian setup and 
the Suse setup. So I send the original suse /etc/X11/XF86Config (edited for 
brevity).

xev gives this for the ' pressed:
KeyPress event, serial 30, synthetic NO, window 0x341,
root 0x40, subw 0x0, time 2601256, (90,107), root:(1123,287),
state 0x90, keycode 21 (keysym 0xfe51, dead_acute), same_screen YES,
XLookupString gives 1 bytes: (b4) 
XmbLookupString gives 0 bytes:
XFilterEvent returns: True

Ingar

# /.../
# SaX generated XFree86 config file
# Created on: 2005-01-27T10:51:39+0100.
#
# Version: 4.8
# Contact: Marcus Schaefer [EMAIL PROTECTED], 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#
Section Files
  FontPath /usr/X11R6/lib/X11/fonts/misc:unscaled
 snip fonts
  FontPath /opt/kde3/share/fonts
  InputDevices /dev/ttyS0
 snip ttys
  InputDevices /dev/ttyS8
  InputDevices /dev/psaux
 snip mice
  InputDevices /dev/pointer3
EndSection

Section ServerFlags
  Option   AllowMouseOpenFail
EndSection

Section Module
  Load dbe
  Load type1
  Load speedo
  Load freetype
  Load extmod
  Load glx
  Load v4l
EndSection

Section InputDevice
  Driver   Keyboard
  Identifier   Keyboard[0]
  Option   Protocol Standard
  Option   XkbLayout no,no
  Option   XkbModel pc105
  Option   XkbRules xfree86
  Option   XkbVariant xfree86
EndSection

Section InputDevice
  Driver   mouse
  Identifier   Mouse[1]
  Option   Buttons 6
  Option   Device /dev/input/mice
  Option   Name Autodetection
  Option   Protocol explorerps/2
  Option   Vendor Sysp
  Option   ZAxisMapping 4 5
EndSection

Section Monitor
  DisplaySize  360 270
  HorizSync28-75
  Identifier   Monitor[0]
  ModelName[EMAIL PROTECTED]
  Option   DPMS
  VendorName   -- VESA
  VertRefresh  50-60
  UseModes Modes[0]
EndSection

Section Modes
  Identifier   Modes[0]
 snipmodelines
EndSection

Section Screen
 snip
EndSection

Section Device
 snip monitor
EndSection

Section ServerLayout
  Identifier   Layout[all]
  InputDevice  Keyboard[0] CoreKeyboard
  InputDevice  Mouse[1] CorePointer
  Option   Clone off
  Option   Xinerama off
  Screen   Screen[0]
EndSection

Section DRI
Group  video
Mode   0660
EndSection





Re: line break and indentation for Lyx-Code

2005-01-27 Thread Wolfgang Hennerbichler
On Thu, 2005-01-27 at 08:13 +0100, Kevin Pfeiffer wrote:

 Splitting lines is difficult enough with ordinary text, but with various 
 programming languages?

When I think about it - you're absolutely right. There are even
situations where breaks wouldn't be allowed at all. I am too spoilt from
lyx' / tex' behaviour to do everything automatically :) 

 -K

Wolfgang



Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)

2005-01-27 Thread Michael Wojcik
Jack M. Lyon wrote:
I get the same thing:
An error occurred when running the conversion script.
If I add the .py extension to lyx2lyx, the program says it can't *find* the
conversion script.
You may have intended to send this to the list instead of me; it appears 
that LyX-Users sets Reply-To to the original sender's address.

Executing a Python script in WinXP directly requires that the .py 
extension (if that's what the file has) have the correct association, 
including a full path to python.exe; and that the script be in a 
directory on PATH.

However, I assume the problem here is that whatever's executing lyx2lyx 
(relyx?) tries to run lyx2lyx, not lyx2lyx.py.  That's why I noted 
in my message to the list that the Windows file-association facility was 
moot in this case - as long as lyx2lyx doesn't have an extension, 
file-association isn't going to help.

You could try the following:
1. Rename lyx2lyx to lyx2lyx.py.
2. Make sure .py files have the correct association.  You can create a 
simple test.py containing just print 'Hello' and run that from the 
command line to check.

3. Create a command file named lyx2lyx.cmd to run lyx2lyx.py:
@ /path/to/lyx2lyx.py %*
(omit the path information if lyx2lyx.py is in a directory on your path, 
or guaranteed in the current directory when lyx2lyx.cmd is executed).

4. Now, you should be able to run lyx2lyx; that will actually run 
lyx2lyx.cmd, which will run lyx2lyx.py.

I haven't actually tried this with lyx2lyx, but it works for a simple 
test Python script, so it might fix the lyx2lxy issue on Windows.

--
Michael Wojcik


Re: Option to get Thesaurus

2005-01-27 Thread Michael Wojcik
Jean-Marc Lasgouttes wrote:
Paul == Paul Smith [EMAIL PROTECTED] writes:
There is something I do not understand: you have
Paul $ locate bz | grep lib | grep -v libz
[...]
Paul /usr/lib/libbz2.so.1
Paul /usr/lib/libbz2.so.1.0.0 

whereas your config.log says:
configure:5506: checking for main in -lAiksaurus
configure:5531: g++ -o conftest -O   conftest.cc -lAiksaurus -lbz2 -lc -lm  5
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
Can someone tell me how come libbz2 is not found?
Does Paul have a /usr/lib/libbz2.so, with no version extension?  -lbz2 
won't resolve to /usr/lib/libbz2.so.1 without one, will it? 
(/usr/lib/libbz2.so should be a symlink to /usr/lib/libbz2.so.1.0.0)

That's the standard mechanism with SVR4 shared object versioning: 
/usr/lib contains one or more versions of the library with version 
extensions, plus a symbolic link from the no-version name to the version 
that should be used for programs being linked against that library.  ld 
opens the .so through the symlink, gets its embedded version 
information, and records it in the binary, so that ldd knows which 
version to dynamically link into the process at startup.  So ldd wants 
the filenames with suffixed version numbers, but ld wants them with no 
suffix.

Presumably, the fix would be to create the missing symlink:
su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
but I haven't tried this myself.
--
Michael Wojcik


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Thu, 27 Jan 2005 09:23:48 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
 Jean-Marc Lasgouttes wrote:
  There is something I do not understand: you have
 
  Paul $ locate bz | grep lib | grep -v libz
  [...]
  Paul /usr/lib/libbz2.so.1
  Paul /usr/lib/libbz2.so.1.0.0
 
  whereas your config.log says:
  configure:5506: checking for main in -lAiksaurus
  configure:5531: g++ -o conftest -O   conftest.cc -lAiksaurus -lbz2 -lc -lm  
  5
  /usr/bin/ld: cannot find -lbz2
  collect2: ld returned 1 exit status
 
  Can someone tell me how come libbz2 is not found?
 
 Does Paul have a /usr/lib/libbz2.so, with no version extension?  -lbz2
 won't resolve to /usr/lib/libbz2.so.1 without one, will it?
 (/usr/lib/libbz2.so should be a symlink to /usr/lib/libbz2.so.1.0.0)
 
 That's the standard mechanism with SVR4 shared object versioning:
 /usr/lib contains one or more versions of the library with version
 extensions, plus a symbolic link from the no-version name to the version
 that should be used for programs being linked against that library.  ld
 opens the .so through the symlink, gets its embedded version
 information, and records it in the binary, so that ldd knows which
 version to dynamically link into the process at startup.  So ldd wants
 the filenames with suffixed version numbers, but ld wants them with no
 suffix.
 
 Presumably, the fix would be to create the missing symlink:
 
 su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
 
 but I haven't tried this myself.

Thanks, Michael, but, apparently, it does not solve the problem, as after 

su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so

the configure command gives the following:

Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:use-pspell
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.4.1)
  C++ Compiler flags: -O
  Linker flags:
  Frontend:   qt
Qt version:   3.3.3
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

and, as it can be confirmed above, no mention to Aiksaurus.

Regards,

Paul


Re: Can't get DVI viewer to start

2005-01-27 Thread Bennett Helm
On Jan 27, 2005, at 1:37 AM, James Bennett wrote:
Another beginner's question:
I just updated to LyX 1.3.5 and for some reason it doesn't  
automatically
start the DVI viewer I was using (MacDviX) even after I asked LyX to
reconfigure.  What am I doing wrong?
Two possibilities immediately come to mind.
1. LyX  Preferences  File Formats  DVI should have the Viewer  
field set to open. (If not, change it, click on the Modify button  
and then the Save button.) This will have LyX send .dvi files to the  
default viewer.

2. In the Finder, your default application for .dvi files should be  
MacDviX. To check this, find (or create) a .dvi file (from LyX's File   
Export  DVI, for example), select that file in the Finder, and select  
the File  Get Info menu option. There, the Open with selection  
should be MacDviX (or whatever other .dvi viewer you want).

Bennett
--
Bennett W. Helm, Chair
Department of Philosophy
Franklin  Marshall College
Lancaster, PA 17604-3003
Voice: 717-291-4392
FAX: 717-291-4369
Homepage:  
http://www.fandm.edu/Departments/Philosophy/staticpages/index.php? 
page=helm



Re: follow-up: relyx / lyx2lyx problems and tex2lyx future

2005-01-27 Thread Jose' Matos
On Wednesday 26 January 2005 16:05, Sven Schreiber wrote:
 Jose' Matos wrote:
Do you have a small example where this happens?
 
It should be easy to fix.

 I cannot reproduce the infinite hanging yet with a small example, but
 I can reproduce an abort with error, so I'll leave the hang for later --
 please note again, this is *not* win-specific, I also tried importing it
 on linux. Consider this latex doc:

 \documentclass{article}
 \begin{document}
 \begin{tabular}{p{1.75cm}|c|p{0.75cm}|p{2cm}|p{3cm}|p{1.5cm}|p{1.5cm}}
  eigenvalue \\ \hline
  \multicolumn{6}{l}{log} \\ \hline
 \end{tabular}
 \end{document}

 This compiles without errors in latex.

 I run relyx on it, that reports finished successfully! and I get the
 following lyx document (I've tried not to change line spacing etc.):

  Running it over tex2lyx I get a different file, and this is a valid lyx 
file, as well what you intended. :-)

...
 Then I run lyx2lyx on it, and it reports Malformed lyx file and aborts
 without output.

 Is it multicolumn alone or do the column widths have anything to do?

  I am not sure, it should declare 14 cells, yet shows 26 (!?), so this is a 
bug from reLyX.

 cheers, sven

  Until know all lyx2lyx bugs have been solved quickly, and I intend to 
maintain this record. What can be done in another stage is to recover 
gracefully from malformed lyx files, but that is clearly another issue. :-)

-- 
José Abílio


Odd float placement

2005-01-27 Thread Steve Litt
Hi all,

I'm writing my book, and have a figure inside a float. The figure is a 
flowchart that takes most of a page. I inserted the float in the text 
appearing on page 74, but the flowchart appears on page 77. My float 
heuristic at Layout-Document-Float_placement is !t. I didn't put an h in 
there because I'd actually prefer the floats come before their text 
description, so I figured the top of the page.

I understand why the float needs its own page, but why wasn't it on page 73 or 
75 instead of way off on page 77?

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Odd float placement

2005-01-27 Thread Andrew Morrison
On Thu, 2005-01-27 at 13:01, Steve Litt wrote:
 Hi all,
 
 I'm writing my book, and have a figure inside a float. The figure is a 
 flowchart that takes most of a page. I inserted the float in the text 
 appearing on page 74, but the flowchart appears on page 77. My float 
 heuristic at Layout-Document-Float_placement is !t. I didn't put an h in 
 there because I'd actually prefer the floats come before their text 
 description, so I figured the top of the page.

Have you tried right-clicking on the float tab (upper left of the float
box) and selecting from the Advanced Placement options Here
definitely?



Problems with LyX on Mepis

2005-01-27 Thread chr
I don't really know exactly what this is about, since it was sent to my
personal e-mail address.  Anyway, I'm forwarding it to the *user's* list
(posting questions on the wiki won't help).

As for the actual problem, see Samar's description below (and if you 
reply, remember to reply to him as well).

regards
Christian

PS. Does anyone know what version of LyX is the latest when using apt? 
Samar says he got 1.3.4, isn't LyX on 1.3.5 or .6 now?

-- Forwarded message --
From: samar j. singh [EMAIL PROTECTED]
...

I woudl apprecaite your advice on that but would also appreciate your
advice and assistance on a strange problem.

I have recently, more boldly than wisely, moved from FC2 to Mepis. In many
ways its a much easier and faster system and i managed to install lyx with
apt quite easily. It runs fine but

1. It does not see any of the paths although I have done a tex hash and a
reconfig after putting in the specific paths for the bind and the user
interface file.

2. This means that it reports the absence of article on startup when
loading a document and when one looks at the document layout file there
are no files to be found in the document class drop down list.

3. When I look at the latex configuration under help all the document
classes have a ??? next to Found

4. All the cls files are there in the right place in the texmf directory.
Similarly the structure of the lyx directories under /usr/share/lyx seems
quite normal. For some reason lyx does not seem to be looking in there.
 
I am using version 1.3.4 of lyx which seems the latest version loaded by
apt.

I am currently writing a proposal for reducing infant and maternal
mortality rates in depressed areas of India and this is coming at just the
wrong time so your help would be most valuable.

Best regards

samar


samar j. singh, phd
EffectivIT Solutions
Bangalore, India
Tel: +91 93410 64299



beginner question: cyrillic

2005-01-27 Thread Christopher Winkler
Hello, 

I had worked with OOo before and I am in the process of changing my office 
suite to LaTeX/Lyx. That means that I may bother you quite regularly now. 
My needs are quite basic (indeces, bibtex), since I do not need spreadsheets 
and formulas. In short time I am going to start to write my history 
dissertation and I am checking out the two programs that seem to be suitable 
for me, i.e Lyx, which I am enthusiastic about, and Kile, which I am less 
enthusiastic about. I am working my way through the lyx-documentation and 
have a problem now that is crucial for me.

My main text, which is going to be in German, will contain quite a lot of 
cyrillic cites. Well, I am able to do that in Kile (with cyrillic.sty) quite 
easily, but I can't manage to do it in Lyx. I either put the whole document 
in cyrillic and write the rest in English (without German umlauts using 
koi-8) or, using latin-1, I cannot use cyrillic. (I cannot convince latin-5 
to write in cyrillic either). Where is my mistake? Is there something which 
can be done about that easily?

Thank you for your help

Christopher


Re: accents no work

2005-01-27 Thread Christopher Winkler

 There is a bug in this Qt version: the dead keys are, well, dead.

 So if you tyÃpoe an accent, say, ^, it doesn't wait for the character
 to be typed that it will be an accent of.

 Very irritating. It also disables the use of ^ for superscript in math.

That is really cool because that is exactly the qt-version I use. Kile is able 
to do it, so there must be a solution. Has anybody got it?

Thank you
Christopher


Re: follow-up: relyx / lyx2lyx problems -- solution

2005-01-27 Thread Sven Schreiber
Jose' Matos wrote:
I cannot reproduce the infinite hanging yet with a small example, but
I can reproduce an abort with error, so I'll leave the hang for later --
please note again, this is *not* win-specific, I also tried importing it
on linux. Consider this latex doc:
\documentclass{article}
\begin{document}
\begin{tabular}{p{1.75cm}|c|p{0.75cm}|p{2cm}|p{3cm}|p{1.5cm}|p{1.5cm}}
eigenvalue \\ \hline
\multicolumn{6}{l}{log} \\ \hline
\end{tabular}
\end{document}
  Running it over tex2lyx I get a different file, and this is a valid lyx 
file, as well what you intended. :-)
That's good news, and I also have good news: Looking at the above 
(stripped down but real-world) latex example again I realized that the 
column numbers don't match in the two rows, it's 7 in the first row but 
6 in the second.  That probably happened by adding a column to the table 
at some stage and forgetting about the multicolumn, and hey, it worked. 
(Latex doesn't complain, so I guess that theoretically this should be 
supported by relyx -- but it's a bit unfair. Maybe someone knows if that 
was clean latex in some official sense?)

So I changed the multicolumn to \multicolumn{7}{l}{log} and it worked 
perfectly through relyx and lyx2lyx.

@Günter (Milde): Seems that my first contribution to the coming (?) wiki 
site about latex import into lyx is the advice to make sure that in the 
original tabular code the column numbers are constant across rows.

  Until know all lyx2lyx bugs have been solved quickly, and I intend to 
maintain this record. What can be done in another stage is to recover 
gracefully from malformed lyx files, but that is clearly another issue. :-)
I agree that (if the latex code is ok in the first place) it's a bug in 
relyx, not lyx2lyx. But it would be nice if lyx2lyx could somehow 
recognize the bad parts in the .lyx document from relyx (like the 
tabular in this case). For example, if the code currently triggers such 
a malformed message while being inside a tabular, how about just 
aborting the conversion of this particular tabular and printing a 
warning (a note thingy?) into the output?

Anyway, I will correct all those glitches in the original bigger latex 
doc and see whether that already solved all the import problems. If not, 
I'll try to find another example demonstrating the remaining problems, 
if any persist. And so on

-sven


Re: beginner question: cyrillic

2005-01-27 Thread Sven Schreiber
Christopher Winkler wrote:
Thank you for your help
Christopher
Christopher: Sorry no help here but I'm pretty sure I know you from 
Humboldt-Uni in the 90s; I mean who else with that name could be 
studying history using cyrillic, correct? Why am I posting this to the 
list -- I find it amazing that the first week I'm subscribed to this 
list I'm hearing from somebody I haven't seen in ages!

oh - do you actually know who I am?
cheers, sven


RE: Problems with LyX on Mepis

2005-01-27 Thread Curtis Osterhoudt
 I also use LyX on Mepis.
 1.3.4 is the latest LyX which is on the official apt repositories. 
However, I've downloaded the 1.3.5-2 .rpm package, used alien to convert it 
to a .deb package, and then installed it just fine that way. So 1.3.5 is 
easily done on Mepis.

  Make sure that ImageMagick is updated, as well as any postscript viewers 
you need. TeTeX may be updated via apt, as well as anything else you need.

   Cheers!

 Down with categorical imperative!
   [EMAIL PROTECTED]   or   [EMAIL PROTECTED]




RE: Problems with LyX on Mepis

2005-01-27 Thread chr
On Thu, 27 Jan 2005, Curtis Osterhoudt wrote:

 
   I also use LyX on Mepis.
 
   1.3.4 is the latest LyX which is on the official apt repositories. 
 However, I've downloaded the 1.3.5-2 .rpm package, used alien to convert it 
 to a .deb package, and then installed it just fine that way. So 1.3.5 is 
 easily done on Mepis.
 
Make sure that ImageMagick is updated, as well as any postscript viewers 
 you need. TeTeX may be updated via apt, as well as anything else you need.

I got an answer from him in a separate post, there was something wrong 
with his latex installation. (And he didn't know about the user's list, 
confusing it with the wiki or something).

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Option to get Thesaurus

2005-01-27 Thread Michael Wojcik
Paul Smith wrote:
On Thu, 27 Jan 2005 09:23:48 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
Presumably, the fix would be to create the missing symlink:
   su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
but I haven't tried this myself.

Thanks, Michael, but, apparently, it does not solve the problem, as after 

su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
the configure command gives the following:
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:use-pspell
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.4.1)
  C++ Compiler flags: -O
  Linker flags:
  Frontend:   qt
Qt version:   3.3.3
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx
and, as it can be confirmed above, no mention to Aiksaurus.
My understanding of one of Jean-Marc's comments in this thread was that 
he only just now fixed the configure script to note that Aiksaurus had 
been found during configuration.

I'd check config.log to see if you had errors regarding bzip2.  It may 
be that creating the symbolic link wasn't sufficient; you might need a 
bzip2 development package (probably called bzip2-devel or some such) in 
order to get required headers and so forth.

At any rate, I should have been clearer: what I meant by the fix was 
the fix for -lbz2 failing.  Whether that would permit the LyX 
configure to decide it could include Aiksaurus support I couldn't guess 
without further research.

I haven't looked at configuring for Aiksaurus, or indeed configuing the 
LyX build at all; at the moment I'm only using it on Windows.  (That was 
the easiest platform for me to try it out with initially, and so far 
it's working fine, so I haven't bothered putting it on Linux yet.)  And 
I'm not a big fan of the computerized thesaurus (or its evil cousin the 
spelling-checker) anyway, to be honest, so it's unlikely that I'd have 
pursued this for my own purposes.

--
Michael Wojcik


Re: follow-up: relyx / lyx2lyx problems -- next bug

2005-01-27 Thread Sven Schreiber
Jose' Matos wrote:
  Do you have a small example where this happens?
  It should be easy to fix.
Alright, I can now reproduce the hanging in lyx2lyx, when processing a 
file from relyx. Consider this latex doc, which compiles fine, and must 
be one of the shortest ever written:

\documentclass{article}
\begin{document}
  \begin{tabular}{cc}
 $7$**  $4$** \\
  \end{tabular}
\end{document}
This becomes the following relyx-lyx-file (again with finished 
succesfully-message):

from-relyx
# The reLyX bundled with LyX 1.3 created this file.
# For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\use_natbib 0
\use_numerical_citations 0
\layout Standard

\LyXTable
multicol5
1 2 0 0 0 0 0 0
0 0 0 0
8 0 0  
8 0 0  
0 8 0 0 0 0 0  
0 8 0 0 0 0 0  
\begin_inset Formula \( 7
\latex latex
\backslash )*
\latex default
*
\newline
\begin_inset Formula \( 4
\latex latex
\backslash )*
\latex default
*
\newline
\the_end
/from-relyx
Now I don't know much about the lyx-format, but this looks a bit strange 
considering where it came from... With this input, lyx2lyx hangs! forever.

Workaround/solution: put a blank after the closing $, like this:
$x$ **.
(@Günter Milde: next item for the latex-import-wiki: avoid having 
something directly after the closing math-$.)

Note that if a thing like $x$** exists only once in the source, then 
lyx2lyx doesn't hang but the output is of course not what it's intended 
to be. And if the source is just the line $7$**  $4$** (without the 
tabular), same thing: no hang, but strange lyx output.

Hey -- wait a minute: relyx is written in perl, right? Maybe $* gets 
evaluated directly by perl although it's not supposed to be? (Don't know 
what's the special meaning of $* in perl.) Oh well, just a wild idea.

I hope this is useful for the relyx-programmer(s) to squash the bug...
-sven


Re: Lyx Longtable

2005-01-27 Thread =?ISO-8859-15?Q?Uwe_St=F6hr?=
Roland Schmitz schrieb:
while looking for infos about longtables inside of lyx, if found the folowing 
URL:
http://www.educat.hu-berlin.de/~voss/lyx/table/longtable.phtml
in several search engines. But since i tried (2-3 weeks) to see the page i 
never was so lucky to get it. Does someone knows weather it's down 
permanetly, or if it's moved.
It is now here:
http://texnik.de
(http://texnik.de/table/longtable.phtml)
You might also have a look at the file
TableExamples.lyx
that is part of your LyX installatuion.
regards Uwe



Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Rich Shepard wrote:
   I have a situation now where the main heading is at the foot of the left
index column and all sub-headings are at the top of the right index column.
This may well change as I build the index, but it may not. Is there a
command that can be used to prevent splitting the head and sub-items across
columns or pages?
Not that I know. I solved such problems by using additional space 
because LaTeX processes every command inside the index-box.

If you have e.g.
--
Mineral Water   Bloody Mary
 PerrierGin Tonic
 Selters
Longdrinks
--
but want
--
Mineral Water Longdrinks
 PerrierBloody Mary
 SeltersGin Tonic
--
then add some space after the Selters entry, like
Mineral Water ! Selters\vspace{xxcm}
regards Uwe


Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread Rich Shepard
On Fri, 28 Jan 2005, Uwe Stöhr wrote:
Not that I know. I solved such problems by using additional space because 
LaTeX processes every command inside the index-box.
  ...
then add some space after the Selters entry, like
Uwe,
  Thanks very much. I'll check it when the index is all finished (by
Monday).
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: LyX-TeX Log Location?

2005-01-27 Thread Rich Shepard
On Thu, 27 Jan 2005, Herbert Voss wrote:
it is saved together with the other temporary files in the temp dir like
lyx_tempdfsd544/, which will be deleted when closing LyX and which will
still be there, when you had a crash
Herbert,
  Thanks. I did not find the same error messages as I saw on the console,
but ... I'll check the output before sending the copyeditor's corrections
back.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: LyX-TeX Log Location?

2005-01-27 Thread Rich Shepard
On Thu, 27 Jan 2005, G. Milde wrote:
Another guess is, that you saw the standard output of LyX and programs it
called (like bibtex). If you start LyX from a x-terminal emulator, you
will see a lot of messages (and with the -dbg something option even
more.
Günter,
  I used -dbg 128 but didn't see the same messages as before. Oh, well.
Some of this ends up in ~./xsession-errors.
  Don't have one of those on my system.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: beginner question: cyrillic

2005-01-27 Thread Matej Cepl
Christopher Winkler wrote:
 My main text, which is going to be in German, will contain quite a lot of
 cyrillic cites. Well, I am able to do that in Kile (with cyrillic.sty)
 quite easily, but I can't manage to do it in Lyx. I either put the whole
 document in cyrillic and write the rest in English (without German umlauts
 using koi-8) or, using latin-1, I cannot use cyrillic. (I cannot convince
 latin-5 to write in cyrillic either). Where is my mistake? Is there
 something which can be done about that easily?

Whatever you do in kile, you should principally be able to do with ERT in
LyX (ERT = Evil Red Text, which is a method how to write LaTeX commands
directly in LyX). Generally speaking, the true solution for your problem of
multi-encoded documents will come when LaTeX will fully support Unicode,
which is unfortunately not the case yet.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There are lies, damned lies, and quotes from literary icons.




Spacing in List of Tables

2005-01-27 Thread Rich Shepard
  This is one the copyeditor caught. In the list of tables, the table
numbers are left-aligned and there's a small space between the number and
the table caption. This works fine until it gets to Chapter 12, Table 10 and
beyond. With the four digits (and separating period; e.g., 12.10) there is
no longer a space between the digits and the title.
  I'm using Springer's svmono book class. What LaTeX do I put where so the
list has better spacing between the left-most numbers and the titles in the
center?
  If this is not clear, please let me know. I've been working on the index
and copyedits plus getting out a report and marketing. I may know what I
want to write, but you may not read it that way. :-)
TIA,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
 My understanding of one of Jean-Marc's comments in this thread was that
 he only just now fixed the configure script to note that Aiksaurus had
 been found during configuration.

You are right, Michael: Jean-Marc said so. However, he is not right,
apparently. In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.

Regards,

Paul


Re: Option to get Thesaurus

2005-01-27 Thread John O'Gorman
Paul Smith wrote:
On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
My understanding of one of Jean-Marc's comments in this thread was that
he only just now fixed the configure script to note that Aiksaurus had
been found during configuration.
You are right, Michael: Jean-Marc said so. However, he is not right,
apparently. In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. 
How do you invoke Aiksaurus from within LyX (when it IS available)?
John O'Gorman
In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.
Regards,
Paul





Re: How to cross reference a float

2005-01-27 Thread G. Milde
On 27.01.05, Johan Ingvast wrote:

 I find when writing that a common procedure is to first create a label and
 in the next moment inserting it. Also when creating labels they often
 comes in groups so I usually select labels from the same part of the list
 in a sequence.
 So I have a feauture request
 
 There should be a preselected labels in the label selection dialog.
 The preselection shoule be changed by:
 Making a new label.
 Selecting a label.

Good idea, seconded.

 Then I must say that the Enter in the label selection dialog should be
 connected to OK and not Goto (ver 1.3.5-qt).  Maybe a Insert button
 would be good so that the dialog could stay open.

I remember this (mis)behaviour for several versions of LyX (qt and
xforms). I find it *very* annoying but always thought this had something
to do with my wired setup.
 
 I would also like to have a command that directly inserts the label that
 is preselected without having to open the dialog.

With the above fixes, this (and many other) could be achieved with a
push-keypress (or simulate-keypress) function which could be used
together with command-sequence for some basic keypress-macros like e.g.

\bind M-S-A  command-sequence push-keypress Enter; reference-insert;

which should open the reference dialog and simulate an Enter key press
(and release).

Günter

-- 
G.Milde web.de


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Fri, 28 Jan 2005 20:33:29 +1300, John O'Gorman
[EMAIL PROTECTED] wrote:
  You are right, Michael: Jean-Marc said so. However, he is not right,
  apparently. In fact, after having made the symbolic link suggested by
  you, I proceeded with make and make install, and the final result was
  successful, i.e., Aiksaurus was finally made available inside LyX.
 
 How do you invoke Aiksaurus from within LyX (when it IS available)?

Put the cursor at the chosen word; then press shift+F7 and window with
the synonyms should pop up.

Paul


Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread Jean-Pierre Chretien

Date: Fri, 28 Jan 2005 00:47:39 +0100
From: Uwe Stöhr [EMAIL PROTECTED]
To: Rich Shepard [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: Index: Keeping Main- and Sub-Entries Together

[...]
If you have e.g.
--
Mineral Water Bloody Mary
  Perrier Gin Tonic
  Selters

Longdrinks
--

but want
--
Mineral Water   Longdrinks
  Perrier Bloody Mary
  Selters Gin Tonic
--

then add some space after the Selters entry, like

Mineral Water ! Selters\vspace{xxcm}

Won't orphans and widows TeX control variables do it for column breaks as well 
as for page breaks ?
The default values are quite sloppy about these, AFAIR.

Of course, making then fussy globally will change the whole document layout...
-- 
Jean-Pierre



Re: How to cross reference a float

2005-01-27 Thread G. Milde
On 26.01.05, Rich Shepard wrote:
 On Wed, 26 Jan 2005, Steve Litt wrote:
 
  Having to label chapters doesn't bother me because there are so few
  chapters (17 in my upcoming book). But there are multiple floats per
  chapter, and I know of no sane naming convention, and labels are global,
  not local to a chapter.

If inserting the label after writing the caption, the caption string is
used as default value presented by LyX. It is just one more keypress for
the [OK] button. So, binding a key to insert-label makes creating labels
a two-press task.

If we had a lyx-function (LFUN) for pressing the [OK]-button, the task
could become a one-key task with e.g.

\bind some key command-sequence simulate-keypress Enter; label-insert;

A script using the lyxserver could then define autolabel-floats,
autolabel-section and autolabel-all functions creating labels for all
candidates.
 
 
2) I think you'd find local labels a problem. Consider a figure in Chapter
 2 that you want to reference in Chapter 11. How do you do this with local
 labels?

With namespaces. 

I would make them local to files of a multi-file document, like
filename.fig:the-caption-of-the-figure. reference-insert already has
a drop down list for labels from different files of the same document. 

However, this might creates a mess, if you move the figure from Chapter 2
to Chapter 4. IMHO, a carefully hand-chosen label name is still the most
transparent option.

My feature-wish would be a check for naming conflicts in label-insert.


Günter

-- 
G.Milde web.de


Re: line break and indentation for Lyx-Code

2005-01-27 Thread G. Milde
On 27.01.05, Kevin Pfeiffer wrote:
 Wolfgang Hennerbichler writes:
  On Wed, 2005-01-26 at 16:31 +0100, G. Milde wrote:
   [Wolfgang Hennerbichler wrote:]
not line break the code. If a line is longer than a sheet of
paper, it's just cut off.
  
   ... how should LyX knwo which lines to break.
 
  I'd say: Every line that exceeds the defined margin.
 
 Splitting lines is difficult enough with ordinary text, but with various 
 programming languages?

Furthermore, LyX does only know about the margin definition, if it is set
in the FormatDocument dialog. In many (most?) cases, the textwidth is
set by the class or a package. The same holds for the length of the line,
which depends on the chosen font. All this is handled by LaTeX, so LyX
would need to parse for overfull hbox warnings.

IMHO, the problem could only be solved by a LaTeX package. 

If I got it right, the listings package has a (rudimentary) support for
line wrapping. See its documentation listings.dvi, section 5.6 Automatic
formatting for details.


-- 
G.Milde web.de


Re: Installing Lyx from source, without root.

2005-01-27 Thread Angus Leeming
Bren Mochocki wrote:
 However, when I went to run lyx, it couldn't find the files
 libflimage.so.1 or libflimage.so.1

Hi, Bren.

Is it me, or did you type the same file name twice? Perhaps you mean that
one of them is libforms.so.1?

 the exact when attempting to run lyx is:
 
 lyx: error while loading shared libraries: libflimage.so.1: cannot open
 shared object file: No such file or directory

Usually, the .so.1 files are symbolic links pointing to the actual .so
file. Do these exist?

-- 
Angus



Re: How to cross reference a float

2005-01-27 Thread Johan Ingvast
Hi list
I'm writing on my thesis and recognize the problem. The labeling is a bit
of a problem. Not only one have to find a good name that describes the
label, but also when inserting the label one have to find it in a list of
maybe several hundreds.
I find when writing that a common procedure is to first create a label and
in the next moment inserting it. Also when creating labels they often
comes in groups so I usually select labels from the same part of the list
in a sequence.
So I have a feauture request

There should be a preselected labels in the label selection dialog.
The preselection shoule be changed by:
Making a new label.
Selecting a label.

I would also like to have a command that directly inserts the label that
is preselected without having to open the dialog.

Then I must say that the Enter in the label selection dialog should be
connected to OK and not Goto (ver 1.3.5-qt).  Maybe a Insert button
would be good so that the dialog could stay open.

Comments?

/johan

On Wed, 26 Jan 2005, Angus Leeming wrote:

 Matej Cepl wrote:
  Rich Shepard wrote:
  They can be referenced as 
  ... as seen in the following figure.
 
  This is not a wise solution, because floats are floats because they can
  float, i.e., following figure may actually get before its reference
  (AFAIK).
 
 Indeed. That's what the prettyref package (and other similar packages) is
 designed to deal with. Try the different Format options of the cross
 reference dialog.
 
 

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498



Re: dead keys (new)

2005-01-27 Thread Ingar Pareliussen
Onsdag 26. januar 2005 11:40 skreiv Helge Hafting:
 Did you compile lyx with qt or xforms?
 Have you tried to use lyx installed from an rpm file, instead of compiling?
 Also look at your X setup.  Apparently, some input methods for ...
 works with lyx and some have trouble.

 I use debian.  Lyx-qt version 1.3.4, from debian or self-compiled both
 works with  and so on.  The keyboard section from
 my XF86Config-4 file looks like this:

 Section InputDevice
 Identifier  Generic Keyboard
 Driver  keyboard
 Option  CoreKeyboard
 Option  XkbRules  xfree86
 Option  XkbModel  pc105
 Option  XkbLayout no
 EndSection

I just thought I would give my input on this, as I have had this problem since 
1.3.4. I have, however, not been bothered to much about it as I mainly write 
English where accents are few and far between. This is true in Norwegian as 
well, I guess (g is the only exception). I have used LFUN in 1.3.5 
instead of dead keys and grown accustomed to LFUN. However if you use accents 
often I guess this is not acceptable.

The problem is the qt version of LyX on Suse (atleast) 9.0 and 9.1.  No other 
applications have this problem not even Opera which is a pure qt program as 
well. Copying the characters is not a problem, the only problem is that 
instead of waiting for the next char LyX prints the accents right away. 

I did test version above of the xfree setup file and it did not help. And the 
fact that all other applications get dead keys except LyX indicates that LyX 
is handling this in an non-conform way. 

I also tested it in Fvwm to be certain that it was not a KDE related problem.

But I guess the question is what are different between the debian setup and 
the Suse setup. So I send the original suse /etc/X11/XF86Config (edited for 
brevity).

xev gives this for the ' pressed:
KeyPress event, serial 30, synthetic NO, window 0x341,
root 0x40, subw 0x0, time 2601256, (90,107), root:(1123,287),
state 0x90, keycode 21 (keysym 0xfe51, dead_acute), same_screen YES,
XLookupString gives 1 bytes: (b4) 
XmbLookupString gives 0 bytes:
XFilterEvent returns: True

Ingar

# /.../
# SaX generated XFree86 config file
# Created on: 2005-01-27T10:51:39+0100.
#
# Version: 4.8
# Contact: Marcus Schaefer [EMAIL PROTECTED], 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#
Section Files
  FontPath /usr/X11R6/lib/X11/fonts/misc:unscaled
 snip fonts
  FontPath /opt/kde3/share/fonts
  InputDevices /dev/ttyS0
 snip ttys
  InputDevices /dev/ttyS8
  InputDevices /dev/psaux
 snip mice
  InputDevices /dev/pointer3
EndSection

Section ServerFlags
  Option   AllowMouseOpenFail
EndSection

Section Module
  Load dbe
  Load type1
  Load speedo
  Load freetype
  Load extmod
  Load glx
  Load v4l
EndSection

Section InputDevice
  Driver   Keyboard
  Identifier   Keyboard[0]
  Option   Protocol Standard
  Option   XkbLayout no,no
  Option   XkbModel pc105
  Option   XkbRules xfree86
  Option   XkbVariant xfree86
EndSection

Section InputDevice
  Driver   mouse
  Identifier   Mouse[1]
  Option   Buttons 6
  Option   Device /dev/input/mice
  Option   Name Autodetection
  Option   Protocol explorerps/2
  Option   Vendor Sysp
  Option   ZAxisMapping 4 5
EndSection

Section Monitor
  DisplaySize  360 270
  HorizSync28-75
  Identifier   Monitor[0]
  ModelName[EMAIL PROTECTED]
  Option   DPMS
  VendorName   -- VESA
  VertRefresh  50-60
  UseModes Modes[0]
EndSection

Section Modes
  Identifier   Modes[0]
 snipmodelines
EndSection

Section Screen
 snip
EndSection

Section Device
 snip monitor
EndSection

Section ServerLayout
  Identifier   Layout[all]
  InputDevice  Keyboard[0] CoreKeyboard
  InputDevice  Mouse[1] CorePointer
  Option   Clone off
  Option   Xinerama off
  Screen   Screen[0]
EndSection

Section DRI
Group  video
Mode   0660
EndSection





Re: line break and indentation for Lyx-Code

2005-01-27 Thread Wolfgang Hennerbichler
On Thu, 2005-01-27 at 08:13 +0100, Kevin Pfeiffer wrote:

 Splitting lines is difficult enough with ordinary text, but with various 
 programming languages?

When I think about it - you're absolutely right. There are even
situations where breaks wouldn't be allowed at all. I am too spoilt from
lyx' / tex' behaviour to do everything automatically :) 

 -K

Wolfgang



Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)

2005-01-27 Thread Michael Wojcik
Jack M. Lyon wrote:
I get the same thing:
An error occurred when running the conversion script.
If I add the .py extension to lyx2lyx, the program says it can't *find* the
conversion script.
You may have intended to send this to the list instead of me; it appears 
that LyX-Users sets Reply-To to the original sender's address.

Executing a Python script in WinXP directly requires that the .py 
extension (if that's what the file has) have the correct association, 
including a full path to python.exe; and that the script be in a 
directory on PATH.

However, I assume the problem here is that whatever's executing lyx2lyx 
(relyx?) tries to run lyx2lyx, not lyx2lyx.py.  That's why I noted 
in my message to the list that the Windows file-association facility was 
moot in this case - as long as lyx2lyx doesn't have an extension, 
file-association isn't going to help.

You could try the following:
1. Rename lyx2lyx to lyx2lyx.py.
2. Make sure .py files have the correct association.  You can create a 
simple test.py containing just print 'Hello' and run that from the 
command line to check.

3. Create a command file named lyx2lyx.cmd to run lyx2lyx.py:
@ /path/to/lyx2lyx.py %*
(omit the path information if lyx2lyx.py is in a directory on your path, 
or guaranteed in the current directory when lyx2lyx.cmd is executed).

4. Now, you should be able to run lyx2lyx; that will actually run 
lyx2lyx.cmd, which will run lyx2lyx.py.

I haven't actually tried this with lyx2lyx, but it works for a simple 
test Python script, so it might fix the lyx2lxy issue on Windows.

--
Michael Wojcik


Re: Option to get Thesaurus

2005-01-27 Thread Michael Wojcik
Jean-Marc Lasgouttes wrote:
Paul == Paul Smith [EMAIL PROTECTED] writes:
There is something I do not understand: you have
Paul $ locate bz | grep lib | grep -v libz
[...]
Paul /usr/lib/libbz2.so.1
Paul /usr/lib/libbz2.so.1.0.0 

whereas your config.log says:
configure:5506: checking for main in -lAiksaurus
configure:5531: g++ -o conftest -O   conftest.cc -lAiksaurus -lbz2 -lc -lm  5
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
Can someone tell me how come libbz2 is not found?
Does Paul have a /usr/lib/libbz2.so, with no version extension?  -lbz2 
won't resolve to /usr/lib/libbz2.so.1 without one, will it? 
(/usr/lib/libbz2.so should be a symlink to /usr/lib/libbz2.so.1.0.0)

That's the standard mechanism with SVR4 shared object versioning: 
/usr/lib contains one or more versions of the library with version 
extensions, plus a symbolic link from the no-version name to the version 
that should be used for programs being linked against that library.  ld 
opens the .so through the symlink, gets its embedded version 
information, and records it in the binary, so that ldd knows which 
version to dynamically link into the process at startup.  So ldd wants 
the filenames with suffixed version numbers, but ld wants them with no 
suffix.

Presumably, the fix would be to create the missing symlink:
su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
but I haven't tried this myself.
--
Michael Wojcik


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Thu, 27 Jan 2005 09:23:48 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
 Jean-Marc Lasgouttes wrote:
  There is something I do not understand: you have
 
  Paul $ locate bz | grep lib | grep -v libz
  [...]
  Paul /usr/lib/libbz2.so.1
  Paul /usr/lib/libbz2.so.1.0.0
 
  whereas your config.log says:
  configure:5506: checking for main in -lAiksaurus
  configure:5531: g++ -o conftest -O   conftest.cc -lAiksaurus -lbz2 -lc -lm  
  5
  /usr/bin/ld: cannot find -lbz2
  collect2: ld returned 1 exit status
 
  Can someone tell me how come libbz2 is not found?
 
 Does Paul have a /usr/lib/libbz2.so, with no version extension?  -lbz2
 won't resolve to /usr/lib/libbz2.so.1 without one, will it?
 (/usr/lib/libbz2.so should be a symlink to /usr/lib/libbz2.so.1.0.0)
 
 That's the standard mechanism with SVR4 shared object versioning:
 /usr/lib contains one or more versions of the library with version
 extensions, plus a symbolic link from the no-version name to the version
 that should be used for programs being linked against that library.  ld
 opens the .so through the symlink, gets its embedded version
 information, and records it in the binary, so that ldd knows which
 version to dynamically link into the process at startup.  So ldd wants
 the filenames with suffixed version numbers, but ld wants them with no
 suffix.
 
 Presumably, the fix would be to create the missing symlink:
 
 su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
 
 but I haven't tried this myself.

Thanks, Michael, but, apparently, it does not solve the problem, as after 

su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so

the configure command gives the following:

Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:use-pspell
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.4.1)
  C++ Compiler flags: -O
  Linker flags:
  Frontend:   qt
Qt version:   3.3.3
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

and, as it can be confirmed above, no mention to Aiksaurus.

Regards,

Paul


Re: Can't get DVI viewer to start

2005-01-27 Thread Bennett Helm
On Jan 27, 2005, at 1:37 AM, James Bennett wrote:
Another beginner's question:
I just updated to LyX 1.3.5 and for some reason it doesn't  
automatically
start the DVI viewer I was using (MacDviX) even after I asked LyX to
reconfigure.  What am I doing wrong?
Two possibilities immediately come to mind.
1. LyX  Preferences  File Formats  DVI should have the Viewer  
field set to open. (If not, change it, click on the Modify button  
and then the Save button.) This will have LyX send .dvi files to the  
default viewer.

2. In the Finder, your default application for .dvi files should be  
MacDviX. To check this, find (or create) a .dvi file (from LyX's File   
Export  DVI, for example), select that file in the Finder, and select  
the File  Get Info menu option. There, the Open with selection  
should be MacDviX (or whatever other .dvi viewer you want).

Bennett
--
Bennett W. Helm, Chair
Department of Philosophy
Franklin  Marshall College
Lancaster, PA 17604-3003
Voice: 717-291-4392
FAX: 717-291-4369
Homepage:  
http://www.fandm.edu/Departments/Philosophy/staticpages/index.php? 
page=helm



Re: follow-up: relyx / lyx2lyx problems and tex2lyx future

2005-01-27 Thread Jose' Matos
On Wednesday 26 January 2005 16:05, Sven Schreiber wrote:
 Jose' Matos wrote:
Do you have a small example where this happens?
 
It should be easy to fix.

 I cannot reproduce the infinite hanging yet with a small example, but
 I can reproduce an abort with error, so I'll leave the hang for later --
 please note again, this is *not* win-specific, I also tried importing it
 on linux. Consider this latex doc:

 \documentclass{article}
 \begin{document}
 \begin{tabular}{p{1.75cm}|c|p{0.75cm}|p{2cm}|p{3cm}|p{1.5cm}|p{1.5cm}}
  eigenvalue \\ \hline
  \multicolumn{6}{l}{log} \\ \hline
 \end{tabular}
 \end{document}

 This compiles without errors in latex.

 I run relyx on it, that reports finished successfully! and I get the
 following lyx document (I've tried not to change line spacing etc.):

  Running it over tex2lyx I get a different file, and this is a valid lyx 
file, as well what you intended. :-)

...
 Then I run lyx2lyx on it, and it reports Malformed lyx file and aborts
 without output.

 Is it multicolumn alone or do the column widths have anything to do?

  I am not sure, it should declare 14 cells, yet shows 26 (!?), so this is a 
bug from reLyX.

 cheers, sven

  Until know all lyx2lyx bugs have been solved quickly, and I intend to 
maintain this record. What can be done in another stage is to recover 
gracefully from malformed lyx files, but that is clearly another issue. :-)

-- 
José Abílio


Odd float placement

2005-01-27 Thread Steve Litt
Hi all,

I'm writing my book, and have a figure inside a float. The figure is a 
flowchart that takes most of a page. I inserted the float in the text 
appearing on page 74, but the flowchart appears on page 77. My float 
heuristic at Layout-Document-Float_placement is !t. I didn't put an h in 
there because I'd actually prefer the floats come before their text 
description, so I figured the top of the page.

I understand why the float needs its own page, but why wasn't it on page 73 or 
75 instead of way off on page 77?

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Odd float placement

2005-01-27 Thread Andrew Morrison
On Thu, 2005-01-27 at 13:01, Steve Litt wrote:
 Hi all,
 
 I'm writing my book, and have a figure inside a float. The figure is a 
 flowchart that takes most of a page. I inserted the float in the text 
 appearing on page 74, but the flowchart appears on page 77. My float 
 heuristic at Layout-Document-Float_placement is !t. I didn't put an h in 
 there because I'd actually prefer the floats come before their text 
 description, so I figured the top of the page.

Have you tried right-clicking on the float tab (upper left of the float
box) and selecting from the Advanced Placement options Here
definitely?



Problems with LyX on Mepis

2005-01-27 Thread chr
I don't really know exactly what this is about, since it was sent to my
personal e-mail address.  Anyway, I'm forwarding it to the *user's* list
(posting questions on the wiki won't help).

As for the actual problem, see Samar's description below (and if you 
reply, remember to reply to him as well).

regards
Christian

PS. Does anyone know what version of LyX is the latest when using apt? 
Samar says he got 1.3.4, isn't LyX on 1.3.5 or .6 now?

-- Forwarded message --
From: samar j. singh [EMAIL PROTECTED]
...

I woudl apprecaite your advice on that but would also appreciate your
advice and assistance on a strange problem.

I have recently, more boldly than wisely, moved from FC2 to Mepis. In many
ways its a much easier and faster system and i managed to install lyx with
apt quite easily. It runs fine but

1. It does not see any of the paths although I have done a tex hash and a
reconfig after putting in the specific paths for the bind and the user
interface file.

2. This means that it reports the absence of article on startup when
loading a document and when one looks at the document layout file there
are no files to be found in the document class drop down list.

3. When I look at the latex configuration under help all the document
classes have a ??? next to Found

4. All the cls files are there in the right place in the texmf directory.
Similarly the structure of the lyx directories under /usr/share/lyx seems
quite normal. For some reason lyx does not seem to be looking in there.
 
I am using version 1.3.4 of lyx which seems the latest version loaded by
apt.

I am currently writing a proposal for reducing infant and maternal
mortality rates in depressed areas of India and this is coming at just the
wrong time so your help would be most valuable.

Best regards

samar


samar j. singh, phd
EffectivIT Solutions
Bangalore, India
Tel: +91 93410 64299



beginner question: cyrillic

2005-01-27 Thread Christopher Winkler
Hello, 

I had worked with OOo before and I am in the process of changing my office 
suite to LaTeX/Lyx. That means that I may bother you quite regularly now. 
My needs are quite basic (indeces, bibtex), since I do not need spreadsheets 
and formulas. In short time I am going to start to write my history 
dissertation and I am checking out the two programs that seem to be suitable 
for me, i.e Lyx, which I am enthusiastic about, and Kile, which I am less 
enthusiastic about. I am working my way through the lyx-documentation and 
have a problem now that is crucial for me.

My main text, which is going to be in German, will contain quite a lot of 
cyrillic cites. Well, I am able to do that in Kile (with cyrillic.sty) quite 
easily, but I can't manage to do it in Lyx. I either put the whole document 
in cyrillic and write the rest in English (without German umlauts using 
koi-8) or, using latin-1, I cannot use cyrillic. (I cannot convince latin-5 
to write in cyrillic either). Where is my mistake? Is there something which 
can be done about that easily?

Thank you for your help

Christopher


Re: accents no work

2005-01-27 Thread Christopher Winkler

 There is a bug in this Qt version: the dead keys are, well, dead.

 So if you tyÃpoe an accent, say, ^, it doesn't wait for the character
 to be typed that it will be an accent of.

 Very irritating. It also disables the use of ^ for superscript in math.

That is really cool because that is exactly the qt-version I use. Kile is able 
to do it, so there must be a solution. Has anybody got it?

Thank you
Christopher


Re: follow-up: relyx / lyx2lyx problems -- solution

2005-01-27 Thread Sven Schreiber
Jose' Matos wrote:
I cannot reproduce the infinite hanging yet with a small example, but
I can reproduce an abort with error, so I'll leave the hang for later --
please note again, this is *not* win-specific, I also tried importing it
on linux. Consider this latex doc:
\documentclass{article}
\begin{document}
\begin{tabular}{p{1.75cm}|c|p{0.75cm}|p{2cm}|p{3cm}|p{1.5cm}|p{1.5cm}}
eigenvalue \\ \hline
\multicolumn{6}{l}{log} \\ \hline
\end{tabular}
\end{document}
  Running it over tex2lyx I get a different file, and this is a valid lyx 
file, as well what you intended. :-)
That's good news, and I also have good news: Looking at the above 
(stripped down but real-world) latex example again I realized that the 
column numbers don't match in the two rows, it's 7 in the first row but 
6 in the second.  That probably happened by adding a column to the table 
at some stage and forgetting about the multicolumn, and hey, it worked. 
(Latex doesn't complain, so I guess that theoretically this should be 
supported by relyx -- but it's a bit unfair. Maybe someone knows if that 
was clean latex in some official sense?)

So I changed the multicolumn to \multicolumn{7}{l}{log} and it worked 
perfectly through relyx and lyx2lyx.

@Günter (Milde): Seems that my first contribution to the coming (?) wiki 
site about latex import into lyx is the advice to make sure that in the 
original tabular code the column numbers are constant across rows.

  Until know all lyx2lyx bugs have been solved quickly, and I intend to 
maintain this record. What can be done in another stage is to recover 
gracefully from malformed lyx files, but that is clearly another issue. :-)
I agree that (if the latex code is ok in the first place) it's a bug in 
relyx, not lyx2lyx. But it would be nice if lyx2lyx could somehow 
recognize the bad parts in the .lyx document from relyx (like the 
tabular in this case). For example, if the code currently triggers such 
a malformed message while being inside a tabular, how about just 
aborting the conversion of this particular tabular and printing a 
warning (a note thingy?) into the output?

Anyway, I will correct all those glitches in the original bigger latex 
doc and see whether that already solved all the import problems. If not, 
I'll try to find another example demonstrating the remaining problems, 
if any persist. And so on

-sven


Re: beginner question: cyrillic

2005-01-27 Thread Sven Schreiber
Christopher Winkler wrote:
Thank you for your help
Christopher
Christopher: Sorry no help here but I'm pretty sure I know you from 
Humboldt-Uni in the 90s; I mean who else with that name could be 
studying history using cyrillic, correct? Why am I posting this to the 
list -- I find it amazing that the first week I'm subscribed to this 
list I'm hearing from somebody I haven't seen in ages!

oh - do you actually know who I am?
cheers, sven


RE: Problems with LyX on Mepis

2005-01-27 Thread Curtis Osterhoudt
 I also use LyX on Mepis.
 1.3.4 is the latest LyX which is on the official apt repositories. 
However, I've downloaded the 1.3.5-2 .rpm package, used alien to convert it 
to a .deb package, and then installed it just fine that way. So 1.3.5 is 
easily done on Mepis.

  Make sure that ImageMagick is updated, as well as any postscript viewers 
you need. TeTeX may be updated via apt, as well as anything else you need.

   Cheers!

 Down with categorical imperative!
   [EMAIL PROTECTED]   or   [EMAIL PROTECTED]




RE: Problems with LyX on Mepis

2005-01-27 Thread chr
On Thu, 27 Jan 2005, Curtis Osterhoudt wrote:

 
   I also use LyX on Mepis.
 
   1.3.4 is the latest LyX which is on the official apt repositories. 
 However, I've downloaded the 1.3.5-2 .rpm package, used alien to convert it 
 to a .deb package, and then installed it just fine that way. So 1.3.5 is 
 easily done on Mepis.
 
Make sure that ImageMagick is updated, as well as any postscript viewers 
 you need. TeTeX may be updated via apt, as well as anything else you need.

I got an answer from him in a separate post, there was something wrong 
with his latex installation. (And he didn't know about the user's list, 
confusing it with the wiki or something).

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Option to get Thesaurus

2005-01-27 Thread Michael Wojcik
Paul Smith wrote:
On Thu, 27 Jan 2005 09:23:48 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
Presumably, the fix would be to create the missing symlink:
   su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
but I haven't tried this myself.

Thanks, Michael, but, apparently, it does not solve the problem, as after 

su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
the configure command gives the following:
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:use-pspell
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.4.1)
  C++ Compiler flags: -O
  Linker flags:
  Frontend:   qt
Qt version:   3.3.3
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx
and, as it can be confirmed above, no mention to Aiksaurus.
My understanding of one of Jean-Marc's comments in this thread was that 
he only just now fixed the configure script to note that Aiksaurus had 
been found during configuration.

I'd check config.log to see if you had errors regarding bzip2.  It may 
be that creating the symbolic link wasn't sufficient; you might need a 
bzip2 development package (probably called bzip2-devel or some such) in 
order to get required headers and so forth.

At any rate, I should have been clearer: what I meant by the fix was 
the fix for -lbz2 failing.  Whether that would permit the LyX 
configure to decide it could include Aiksaurus support I couldn't guess 
without further research.

I haven't looked at configuring for Aiksaurus, or indeed configuing the 
LyX build at all; at the moment I'm only using it on Windows.  (That was 
the easiest platform for me to try it out with initially, and so far 
it's working fine, so I haven't bothered putting it on Linux yet.)  And 
I'm not a big fan of the computerized thesaurus (or its evil cousin the 
spelling-checker) anyway, to be honest, so it's unlikely that I'd have 
pursued this for my own purposes.

--
Michael Wojcik


Re: follow-up: relyx / lyx2lyx problems -- next bug

2005-01-27 Thread Sven Schreiber
Jose' Matos wrote:
  Do you have a small example where this happens?
  It should be easy to fix.
Alright, I can now reproduce the hanging in lyx2lyx, when processing a 
file from relyx. Consider this latex doc, which compiles fine, and must 
be one of the shortest ever written:

\documentclass{article}
\begin{document}
  \begin{tabular}{cc}
 $7$**  $4$** \\
  \end{tabular}
\end{document}
This becomes the following relyx-lyx-file (again with finished 
succesfully-message):

from-relyx
# The reLyX bundled with LyX 1.3 created this file.
# For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\use_natbib 0
\use_numerical_citations 0
\layout Standard

\LyXTable
multicol5
1 2 0 0 0 0 0 0
0 0 0 0
8 0 0  
8 0 0  
0 8 0 0 0 0 0  
0 8 0 0 0 0 0  
\begin_inset Formula \( 7
\latex latex
\backslash )*
\latex default
*
\newline
\begin_inset Formula \( 4
\latex latex
\backslash )*
\latex default
*
\newline
\the_end
/from-relyx
Now I don't know much about the lyx-format, but this looks a bit strange 
considering where it came from... With this input, lyx2lyx hangs! forever.

Workaround/solution: put a blank after the closing $, like this:
$x$ **.
(@Günter Milde: next item for the latex-import-wiki: avoid having 
something directly after the closing math-$.)

Note that if a thing like $x$** exists only once in the source, then 
lyx2lyx doesn't hang but the output is of course not what it's intended 
to be. And if the source is just the line $7$**  $4$** (without the 
tabular), same thing: no hang, but strange lyx output.

Hey -- wait a minute: relyx is written in perl, right? Maybe $* gets 
evaluated directly by perl although it's not supposed to be? (Don't know 
what's the special meaning of $* in perl.) Oh well, just a wild idea.

I hope this is useful for the relyx-programmer(s) to squash the bug...
-sven


Re: Lyx Longtable

2005-01-27 Thread =?ISO-8859-15?Q?Uwe_St=F6hr?=
Roland Schmitz schrieb:
while looking for infos about longtables inside of lyx, if found the folowing 
URL:
http://www.educat.hu-berlin.de/~voss/lyx/table/longtable.phtml
in several search engines. But since i tried (2-3 weeks) to see the page i 
never was so lucky to get it. Does someone knows weather it's down 
permanetly, or if it's moved.
It is now here:
http://texnik.de
(http://texnik.de/table/longtable.phtml)
You might also have a look at the file
TableExamples.lyx
that is part of your LyX installatuion.
regards Uwe



Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Rich Shepard wrote:
   I have a situation now where the main heading is at the foot of the left
index column and all sub-headings are at the top of the right index column.
This may well change as I build the index, but it may not. Is there a
command that can be used to prevent splitting the head and sub-items across
columns or pages?
Not that I know. I solved such problems by using additional space 
because LaTeX processes every command inside the index-box.

If you have e.g.
--
Mineral Water   Bloody Mary
 PerrierGin Tonic
 Selters
Longdrinks
--
but want
--
Mineral Water Longdrinks
 PerrierBloody Mary
 SeltersGin Tonic
--
then add some space after the Selters entry, like
Mineral Water ! Selters\vspace{xxcm}
regards Uwe


Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread Rich Shepard
On Fri, 28 Jan 2005, Uwe Stöhr wrote:
Not that I know. I solved such problems by using additional space because 
LaTeX processes every command inside the index-box.
  ...
then add some space after the Selters entry, like
Uwe,
  Thanks very much. I'll check it when the index is all finished (by
Monday).
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: LyX-TeX Log Location?

2005-01-27 Thread Rich Shepard
On Thu, 27 Jan 2005, Herbert Voss wrote:
it is saved together with the other temporary files in the temp dir like
lyx_tempdfsd544/, which will be deleted when closing LyX and which will
still be there, when you had a crash
Herbert,
  Thanks. I did not find the same error messages as I saw on the console,
but ... I'll check the output before sending the copyeditor's corrections
back.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: LyX-TeX Log Location?

2005-01-27 Thread Rich Shepard
On Thu, 27 Jan 2005, G. Milde wrote:
Another guess is, that you saw the standard output of LyX and programs it
called (like bibtex). If you start LyX from a x-terminal emulator, you
will see a lot of messages (and with the -dbg something option even
more.
Günter,
  I used -dbg 128 but didn't see the same messages as before. Oh, well.
Some of this ends up in ~./xsession-errors.
  Don't have one of those on my system.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: beginner question: cyrillic

2005-01-27 Thread Matej Cepl
Christopher Winkler wrote:
 My main text, which is going to be in German, will contain quite a lot of
 cyrillic cites. Well, I am able to do that in Kile (with cyrillic.sty)
 quite easily, but I can't manage to do it in Lyx. I either put the whole
 document in cyrillic and write the rest in English (without German umlauts
 using koi-8) or, using latin-1, I cannot use cyrillic. (I cannot convince
 latin-5 to write in cyrillic either). Where is my mistake? Is there
 something which can be done about that easily?

Whatever you do in kile, you should principally be able to do with ERT in
LyX (ERT = Evil Red Text, which is a method how to write LaTeX commands
directly in LyX). Generally speaking, the true solution for your problem of
multi-encoded documents will come when LaTeX will fully support Unicode,
which is unfortunately not the case yet.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There are lies, damned lies, and quotes from literary icons.




Spacing in List of Tables

2005-01-27 Thread Rich Shepard
  This is one the copyeditor caught. In the list of tables, the table
numbers are left-aligned and there's a small space between the number and
the table caption. This works fine until it gets to Chapter 12, Table 10 and
beyond. With the four digits (and separating period; e.g., 12.10) there is
no longer a space between the digits and the title.
  I'm using Springer's svmono book class. What LaTeX do I put where so the
list has better spacing between the left-most numbers and the titles in the
center?
  If this is not clear, please let me know. I've been working on the index
and copyedits plus getting out a report and marketing. I may know what I
want to write, but you may not read it that way. :-)
TIA,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
 My understanding of one of Jean-Marc's comments in this thread was that
 he only just now fixed the configure script to note that Aiksaurus had
 been found during configuration.

You are right, Michael: Jean-Marc said so. However, he is not right,
apparently. In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.

Regards,

Paul


Re: Option to get Thesaurus

2005-01-27 Thread John O'Gorman
Paul Smith wrote:
On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik [EMAIL PROTECTED] wrote:
My understanding of one of Jean-Marc's comments in this thread was that
he only just now fixed the configure script to note that Aiksaurus had
been found during configuration.
You are right, Michael: Jean-Marc said so. However, he is not right,
apparently. In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. 
How do you invoke Aiksaurus from within LyX (when it IS available)?
John O'Gorman
In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.
Regards,
Paul





Re: How to cross reference a float

2005-01-27 Thread G. Milde
On 27.01.05, Johan Ingvast wrote:

 I find when writing that a common procedure is to first create a label and
 in the next moment inserting it. Also when creating labels they often
 comes in groups so I usually select labels from the same part of the list
 in a sequence.
 So I have a feauture request
 
 There should be a preselected labels in the label selection dialog.
 The preselection shoule be changed by:
 Making a new label.
 Selecting a label.

Good idea, seconded.

 Then I must say that the Enter in the label selection dialog should be
 connected to OK and not Goto (ver 1.3.5-qt).  Maybe a Insert button
 would be good so that the dialog could stay open.

I remember this (mis)behaviour for several versions of LyX (qt and
xforms). I find it *very* annoying but always thought this had something
to do with my wired setup.
 
 I would also like to have a command that directly inserts the label that
 is preselected without having to open the dialog.

With the above fixes, this (and many other) could be achieved with a
push-keypress (or simulate-keypress) function which could be used
together with command-sequence for some basic keypress-macros like e.g.

\bind M-S-A  command-sequence push-keypress Enter; reference-insert;

which should open the reference dialog and simulate an Enter key press
(and release).

Günter

-- 
G.Milde web.de


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Fri, 28 Jan 2005 20:33:29 +1300, John O'Gorman
[EMAIL PROTECTED] wrote:
  You are right, Michael: Jean-Marc said so. However, he is not right,
  apparently. In fact, after having made the symbolic link suggested by
  you, I proceeded with make and make install, and the final result was
  successful, i.e., Aiksaurus was finally made available inside LyX.
 
 How do you invoke Aiksaurus from within LyX (when it IS available)?

Put the cursor at the chosen word; then press shift+F7 and window with
the synonyms should pop up.

Paul


Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread Jean-Pierre Chretien

Date: Fri, 28 Jan 2005 00:47:39 +0100
From: Uwe Stöhr [EMAIL PROTECTED]
To: Rich Shepard [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: Index: Keeping Main- and Sub-Entries Together

[...]
If you have e.g.
--
Mineral Water Bloody Mary
  Perrier Gin Tonic
  Selters

Longdrinks
--

but want
--
Mineral Water   Longdrinks
  Perrier Bloody Mary
  Selters Gin Tonic
--

then add some space after the Selters entry, like

Mineral Water ! Selters\vspace{xxcm}

Won't orphans and widows TeX control variables do it for column breaks as well 
as for page breaks ?
The default values are quite sloppy about these, AFAIR.

Of course, making then fussy globally will change the whole document layout...
-- 
Jean-Pierre



Re: How to cross reference a float

2005-01-27 Thread G. Milde
On 26.01.05, Rich Shepard wrote:
> On Wed, 26 Jan 2005, Steve Litt wrote:
> 
> > Having to label chapters doesn't bother me because there are so few
> > chapters (17 in my upcoming book). But there are multiple floats per
> > chapter, and I know of no sane naming convention, and labels are global,
> > not local to a chapter.

If inserting the label after writing the caption, the caption string is
used as default value presented by LyX. It is just one more keypress for
the [OK] button. So, binding a key to insert-label makes creating labels
a two-press task.

If we had a lyx-function (LFUN) for pressing the [OK]-button, the task
could become a one-key task with e.g.

\bind "some key" "command-sequence simulate-keypress Enter; label-insert;"

A script using the lyxserver could then define "autolabel-floats",
"autolabel-section" and "autolabel-all" functions creating labels for all
candidates.
 
 
>2) I think you'd find local labels a problem. Consider a figure in Chapter
> 2 that you want to reference in Chapter 11. How do you do this with local
> labels?

With namespaces. 

I would make them local to files of a multi-file document, like
"filename.fig:the-caption-of-the-figure". "reference-insert" already has
a drop down list for labels from different files of the same document. 

However, this might creates a mess, if you move the figure from Chapter 2
to Chapter 4. IMHO, a carefully hand-chosen label name is still the most
transparent option.

My feature-wish would be a check for naming conflicts in label-insert.


Günter

-- 
G.Milde web.de


Re: line break and indentation for Lyx-Code

2005-01-27 Thread G. Milde
On 27.01.05, Kevin Pfeiffer wrote:
> Wolfgang Hennerbichler writes:
> > On Wed, 2005-01-26 at 16:31 +0100, G. Milde wrote:
> > > [Wolfgang Hennerbichler wrote:]
> > > > not line break the code. If a line is longer than a sheet of
> > > > paper, it's just cut off.
> > >
> > > ... how should LyX knwo which lines to break.
> >
> > I'd say: Every line that exceeds the defined margin.
> 
> Splitting lines is difficult enough with ordinary text, but with various 
> programming languages?

Furthermore, LyX does only know about the margin definition, if it is set
in the Format>Document dialog. In many (most?) cases, the textwidth is
set by the class or a package. The same holds for the length of the line,
which depends on the chosen font. All this is handled by LaTeX, so LyX
would need to parse for "overfull hbox" warnings.

IMHO, the problem could only be solved by a LaTeX package. 

If I got it right, the listings package has a (rudimentary) support for
line wrapping. See its documentation listings.dvi, section 5.6 "Automatic
formatting" for details.


-- 
G.Milde web.de


Re: Installing Lyx from source, without root.

2005-01-27 Thread Angus Leeming
Bren Mochocki wrote:
> However, when I went to run lyx, it couldn't find the files
> libflimage.so.1 or libflimage.so.1

Hi, Bren.

Is it me, or did you type the same file name twice? Perhaps you mean that
one of them is libforms.so.1?

> the exact when attempting to run lyx is:
> 
> lyx: error while loading shared libraries: libflimage.so.1: cannot open
> shared object file: No such file or directory

Usually, the .so.1 files are symbolic links pointing to the actual .so
file. Do these exist?

-- 
Angus



Re: How to cross reference a float

2005-01-27 Thread Johan Ingvast
Hi list
I'm writing on my thesis and recognize the problem. The labeling is a bit
of a problem. Not only one have to find a good name that describes the
label, but also when inserting the label one have to find it in a list of
maybe several hundreds.
I find when writing that a common procedure is to first create a label and
in the next moment inserting it. Also when creating labels they often
comes in groups so I usually select labels from the same part of the list
in a sequence.
So I have a feauture request

There should be a preselected labels in the label selection dialog.
The preselection shoule be changed by:
Making a new label.
Selecting a label.

I would also like to have a command that directly inserts the label that
is preselected without having to open the dialog.

Then I must say that the Enter in the label selection dialog should be
connected to OK and not "Goto" (ver 1.3.5-qt).  Maybe a "Insert" button
would be good so that the dialog could stay open.

Comments?

/johan

On Wed, 26 Jan 2005, Angus Leeming wrote:

> Matej Cepl wrote:
> > Rich Shepard wrote:
> >> They can be referenced as 
> >> "... as seen in the following figure."
> 
> > This is not a wise solution, because floats are floats because they can
> > float, i.e., "following" figure may actually get before its reference
> > (AFAIK).
> 
> Indeed. That's what the prettyref package (and other similar packages) is
> designed to deal with. Try the different "Format" options of the cross
> reference dialog.
> 
> 

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498



Re: dead keys (new)

2005-01-27 Thread Ingar Pareliussen
Onsdag 26. januar 2005 11:40 skreiv Helge Hafting:
> Did you compile lyx with qt or xforms?
> Have you tried to use lyx installed from an rpm file, instead of compiling?
> Also look at your X setup.  Apparently, some input methods for "ÃÃÃ..."
> works with lyx and some have trouble.
>
> I use debian.  Lyx-qt version 1.3.4, from debian or self-compiled both
> works with  and so on.  The keyboard section from
> my XF86Config-4 file looks like this:
>
> Section "InputDevice"
> Identifier  "Generic Keyboard"
> Driver  "keyboard"
> Option  "CoreKeyboard"
> Option  "XkbRules"  "xfree86"
> Option  "XkbModel"  "pc105"
> Option  "XkbLayout" "no"
> EndSection

I just thought I would give my input on this, as I have had this problem since 
1.3.4. I have, however, not been bothered to much about it as I mainly write 
English where accents are few and far between. This is true in Norwegian as 
well, I guess (Ãg is the only exception). I have used LFUN in 1.3.5 
instead of dead keys and grown accustomed to LFUN. However if you use accents 
often I guess this is not acceptable.

The problem is the qt version of LyX on Suse (atleast) 9.0 and 9.1.  No other 
applications have this problem not even Opera which is a pure qt program as 
well. Copying the characters is not a problem, the only problem is that 
instead of waiting for the next char LyX prints the accents right away. 

I did test version above of the xfree setup file and it did not help. And the 
fact that all other applications get dead keys except LyX indicates that LyX 
is handling this in an non-conform way. 

I also tested it in Fvwm to be certain that it was not a KDE related problem.

But I guess the question is what are different between the debian setup and 
the Suse setup. So I send the original suse /etc/X11/XF86Config (edited for 
brevity).

xev gives this for the ' pressed:
KeyPress event, serial 30, synthetic NO, window 0x341,
root 0x40, subw 0x0, time 2601256, (90,107), root:(1123,287),
state 0x90, keycode 21 (keysym 0xfe51, dead_acute), same_screen YES,
XLookupString gives 1 bytes: (b4) "Â"
XmbLookupString gives 0 bytes:
XFilterEvent returns: True

Ingar

# /.../
# SaX generated XFree86 config file
# Created on: 2005-01-27T10:51:39+0100.
#
# Version: 4.8
# Contact: Marcus Schaefer <[EMAIL PROTECTED]>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
 
  FontPath "/opt/kde3/share/fonts"
  InputDevices "/dev/ttyS0"
 
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
 
  InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
  Option   "AllowMouseOpenFail"
EndSection

Section "Module"
  Load "dbe"
  Load "type1"
  Load "speedo"
  Load "freetype"
  Load "extmod"
  Load "glx"
  Load "v4l"
EndSection

Section "InputDevice"
  Driver   "Keyboard"
  Identifier   "Keyboard[0]"
  Option   "Protocol" "Standard"
  Option   "XkbLayout" "no,no"
  Option   "XkbModel" "pc105"
  Option   "XkbRules" "xfree86"
  Option   "XkbVariant" "xfree86"
EndSection

Section "InputDevice"
  Driver   "mouse"
  Identifier   "Mouse[1]"
  Option   "Buttons" "6"
  Option   "Device" "/dev/input/mice"
  Option   "Name" "Autodetection"
  Option   "Protocol" "explorerps/2"
  Option   "Vendor" "Sysp"
  Option   "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  DisplaySize  360 270
  HorizSync28-75
  Identifier   "Monitor[0]"
  ModelName"[EMAIL PROTECTED]"
  Option   "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes "Modes[0]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
 

Re: line break and indentation for Lyx-Code

2005-01-27 Thread Wolfgang Hennerbichler
On Thu, 2005-01-27 at 08:13 +0100, Kevin Pfeiffer wrote:

> Splitting lines is difficult enough with ordinary text, but with various 
> programming languages?

When I think about it - you're absolutely right. There are even
situations where breaks wouldn't be allowed at all. I am too spoilt from
lyx' / tex' behaviour to do everything automatically :) 

> -K

Wolfgang



Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)

2005-01-27 Thread Michael Wojcik
Jack M. Lyon wrote:
I get the same thing:
"An error occurred when running the conversion script."
If I add the .py extension to lyx2lyx, the program says it can't *find* the
conversion script.
You may have intended to send this to the list instead of me; it appears 
that LyX-Users sets Reply-To to the original sender's address.

Executing a Python script in WinXP directly requires that the ".py" 
extension (if that's what the file has) have the correct association, 
including a full path to python.exe; and that the script be in a 
directory on PATH.

However, I assume the problem here is that whatever's executing lyx2lyx 
(relyx?) tries to run "lyx2lyx", not "lyx2lyx.py".  That's why I noted 
in my message to the list that the Windows file-association facility was 
moot in this case - as long as lyx2lyx doesn't have an extension, 
file-association isn't going to help.

You could try the following:
1. Rename lyx2lyx to lyx2lyx.py.
2. Make sure .py files have the correct association.  You can create a 
simple "test.py" containing just "print 'Hello'" and run that from the 
command line to check.

3. Create a command file named lyx2lyx.cmd to run lyx2lyx.py:
@ /path/to/lyx2lyx.py %*
(omit the path information if lyx2lyx.py is in a directory on your path, 
or guaranteed in the current directory when lyx2lyx.cmd is executed).

4. Now, you should be able to run lyx2lyx; that will actually run 
lyx2lyx.cmd, which will run lyx2lyx.py.

I haven't actually tried this with lyx2lyx, but it works for a simple 
test Python script, so it might fix the lyx2lxy issue on Windows.

--
Michael Wojcik


Re: Option to get Thesaurus

2005-01-27 Thread Michael Wojcik
Jean-Marc Lasgouttes wrote:
"Paul" == Paul Smith <[EMAIL PROTECTED]> writes:
There is something I do not understand: you have
Paul> $ locate bz | grep lib | grep -v libz
[...]
Paul> /usr/lib/libbz2.so.1
Paul> /usr/lib/libbz2.so.1.0.0 

whereas your config.log says:
configure:5506: checking for main in -lAiksaurus
configure:5531: g++ -o conftest -O   conftest.cc -lAiksaurus -lbz2 -lc -lm  >&5
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
Can someone tell me how come libbz2 is not found?
Does Paul have a /usr/lib/libbz2.so, with no version extension?  -lbz2 
won't resolve to /usr/lib/libbz2.so.1 without one, will it? 
(/usr/lib/libbz2.so should be a symlink to /usr/lib/libbz2.so.1.0.0)

That's the standard mechanism with SVR4 shared object versioning: 
/usr/lib contains one or more versions of the library with version 
extensions, plus a symbolic link from the no-version name to the version 
that should be used for programs being linked against that library.  ld 
opens the .so through the symlink, gets its embedded version 
information, and records it in the binary, so that ldd knows which 
version to dynamically link into the process at startup.  So ldd wants 
the filenames with suffixed version numbers, but ld wants them with no 
suffix.

Presumably, the fix would be to create the missing symlink:
su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
but I haven't tried this myself.
--
Michael Wojcik


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Thu, 27 Jan 2005 09:23:48 -0500, Michael Wojcik <[EMAIL PROTECTED]> wrote:
> Jean-Marc Lasgouttes wrote:
> > There is something I do not understand: you have
> >
> > Paul> $ locate bz | grep lib | grep -v libz
> > [...]
> > Paul> /usr/lib/libbz2.so.1
> > Paul> /usr/lib/libbz2.so.1.0.0
> >
> > whereas your config.log says:
> > configure:5506: checking for main in -lAiksaurus
> > configure:5531: g++ -o conftest -O   conftest.cc -lAiksaurus -lbz2 -lc -lm  
> > >&5
> > /usr/bin/ld: cannot find -lbz2
> > collect2: ld returned 1 exit status
> >
> > Can someone tell me how come libbz2 is not found?
> 
> Does Paul have a /usr/lib/libbz2.so, with no version extension?  -lbz2
> won't resolve to /usr/lib/libbz2.so.1 without one, will it?
> (/usr/lib/libbz2.so should be a symlink to /usr/lib/libbz2.so.1.0.0)
> 
> That's the standard mechanism with SVR4 shared object versioning:
> /usr/lib contains one or more versions of the library with version
> extensions, plus a symbolic link from the no-version name to the version
> that should be used for programs being linked against that library.  ld
> opens the .so through the symlink, gets its embedded version
> information, and records it in the binary, so that ldd knows which
> version to dynamically link into the process at startup.  So ldd wants
> the filenames with suffixed version numbers, but ld wants them with no
> suffix.
> 
> Presumably, the fix would be to create the missing symlink:
> 
> su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
> 
> but I haven't tried this myself.

Thanks, Michael, but, apparently, it does not solve the problem, as after 

su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so

the configure command gives the following:

Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:use-pspell
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.4.1)
  C++ Compiler flags: -O
  Linker flags:
  Frontend:   qt
Qt version:   3.3.3
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

and, as it can be confirmed above, no mention to Aiksaurus.

Regards,

Paul


Re: Can't get DVI viewer to start

2005-01-27 Thread Bennett Helm
On Jan 27, 2005, at 1:37 AM, James Bennett wrote:
Another beginner's question:
I just updated to LyX 1.3.5 and for some reason it doesn't  
automatically
start the DVI viewer I was using (MacDviX) even after I asked LyX to
reconfigure.  What am I doing wrong?
Two possibilities immediately come to mind.
1. LyX > Preferences > File Formats > DVI should have the "Viewer"  
field set to "open". (If not, change it, click on the "Modify" button  
and then the "Save" button.) This will have LyX send .dvi files to the  
default viewer.

2. In the Finder, your default application for .dvi files should be  
MacDviX. To check this, find (or create) a .dvi file (from LyX's File >  
Export > DVI, for example), select that file in the Finder, and select  
the File > Get Info menu option. There, the "Open with" selection  
should be MacDviX (or whatever other .dvi viewer you want).

Bennett
--
Bennett W. Helm, Chair
Department of Philosophy
Franklin & Marshall College
Lancaster, PA 17604-3003
Voice: 717-291-4392
FAX: 717-291-4369
Homepage:  
http://www.fandm.edu/Departments/Philosophy/staticpages/index.php? 
page=helm



Re: follow-up: relyx / lyx2lyx problems and tex2lyx future

2005-01-27 Thread Jose' Matos
On Wednesday 26 January 2005 16:05, Sven Schreiber wrote:
> Jose' Matos wrote:
> >   Do you have a small example where this happens?
> >
> >   It should be easy to fix.
>
> I cannot reproduce the infinite "hanging" yet with a small example, but
> I can reproduce an abort with error, so I'll leave the hang for later --
> please note again, this is *not* win-specific, I also tried importing it
> on linux. Consider this latex doc:
>
> \documentclass{article}
> \begin{document}
> \begin{tabular}{p{1.75cm}|c|p{0.75cm}|p{2cm}|p{3cm}|p{1.5cm}|p{1.5cm}}
>  & &  & eigenvalue & & &  \\ \hline
>  \multicolumn{6}{l}{log} \\ \hline
> \end{tabular}
> \end{document}
>
> This compiles without errors in latex.
>
> I run relyx on it, that reports "finished successfully!" and I get the
> following lyx document (I've tried not to change line spacing etc.):

  Running it over tex2lyx I get a different file, and this is a valid lyx 
file, as well what you intended. :-)

...
> Then I run lyx2lyx on it, and it reports "Malformed lyx file" and aborts
> without output.
>
> Is it multicolumn alone or do the column widths have anything to do?

  I am not sure, it should declare 14 cells, yet shows 26 (!?), so this is a 
bug from reLyX.

> cheers, sven

  Until know all lyx2lyx bugs have been solved quickly, and I intend to 
maintain this record. What can be done in another stage is to recover 
gracefully from malformed lyx files, but that is clearly another issue. :-)

-- 
José Abílio


Odd float placement

2005-01-27 Thread Steve Litt
Hi all,

I'm writing my book, and have a figure inside a float. The figure is a 
flowchart that takes most of a page. I inserted the float in the text 
appearing on page 74, but the flowchart appears on page 77. My float 
heuristic at Layout->Document->Float_placement is !t. I didn't put an h in 
there because I'd actually prefer the floats come before their text 
description, so I figured the top of the page.

I understand why the float needs its own page, but why wasn't it on page 73 or 
75 instead of way off on page 77?

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Odd float placement

2005-01-27 Thread Andrew Morrison
On Thu, 2005-01-27 at 13:01, Steve Litt wrote:
> Hi all,
> 
> I'm writing my book, and have a figure inside a float. The figure is a 
> flowchart that takes most of a page. I inserted the float in the text 
> appearing on page 74, but the flowchart appears on page 77. My float 
> heuristic at Layout->Document->Float_placement is !t. I didn't put an h in 
> there because I'd actually prefer the floats come before their text 
> description, so I figured the top of the page.

Have you tried right-clicking on the float tab (upper left of the float
box) and selecting from the Advanced Placement options "Here
definitely"?



Problems with LyX on Mepis

2005-01-27 Thread chr
I don't really know exactly what this is about, since it was sent to my
personal e-mail address.  Anyway, I'm forwarding it to the *user's* list
(posting questions on the wiki won't help).

As for the actual problem, see Samar's description below (and if you 
reply, remember to reply to him as well).

regards
Christian

PS. Does anyone know what version of LyX is the latest when using apt? 
Samar says he got 1.3.4, isn't LyX on 1.3.5 or .6 now?

-- Forwarded message --
From: samar j. singh <[EMAIL PROTECTED]>
...

I woudl apprecaite your advice on that but would also appreciate your
advice and assistance on a strange problem.

I have recently, more boldly than wisely, moved from FC2 to Mepis. In many
ways its a much easier and faster system and i managed to install lyx with
apt quite easily. It runs fine but

1. It does not see any of the paths although I have done a tex hash and a
reconfig after putting in the specific paths for the bind and the user
interface file.

2. This means that it reports the absence of article on startup when
loading a document and when one looks at the document layout file there
are no files to be found in the document class drop down list.

3. When I look at the latex configuration under help all the document
classes have a ??? next to "Found"

4. All the cls files are there in the right place in the texmf directory.
Similarly the structure of the lyx directories under /usr/share/lyx seems
quite normal. For some reason lyx does not seem to be looking in there.
 
I am using version 1.3.4 of lyx which seems the latest version loaded by
apt.

I am currently writing a proposal for reducing infant and maternal
mortality rates in depressed areas of India and this is coming at just the
wrong time so your help would be most valuable.

Best regards

samar


samar j. singh, phd
EffectivIT Solutions
Bangalore, India
Tel: +91 93410 64299



beginner question: cyrillic

2005-01-27 Thread Christopher Winkler
Hello, 

I had worked with OOo before and I am in the process of changing my office 
suite to LaTeX/Lyx. That means that I may bother you quite regularly now. 
My needs are quite basic (indeces, bibtex), since I do not need spreadsheets 
and formulas. In short time I am going to start to write my history 
dissertation and I am checking out the two programs that seem to be suitable 
for me, i.e Lyx, which I am enthusiastic about, and Kile, which I am less 
enthusiastic about. I am working my way through the lyx-documentation and 
have a problem now that is crucial for me.

My main text, which is going to be in German, will contain quite a lot of 
cyrillic cites. Well, I am able to do that in Kile (with cyrillic.sty) quite 
easily, but I can't manage to do it in Lyx. I either put the whole document 
in cyrillic and write the rest in English (without German umlauts using 
koi-8) or, using latin-1, I cannot use cyrillic. (I cannot convince latin-5 
to write in cyrillic either). Where is my mistake? Is there something which 
can be done about that easily?

Thank you for your help

Christopher


Re: accents no work

2005-01-27 Thread Christopher Winkler

> There is a bug in this Qt version: the dead keys are, well, dead.
>
> So if you tyÃpoe an accent, say, ^, it doesn't wait for the character
> to be typed that it will be an accent of.
>
> Very irritating. It also disables the use of ^ for superscript in math.

That is really cool because that is exactly the qt-version I use. Kile is able 
to do it, so there must be a solution. Has anybody got it?

Thank you
Christopher


Re: follow-up: relyx / lyx2lyx problems -- solution

2005-01-27 Thread Sven Schreiber
Jose' Matos wrote:
I cannot reproduce the infinite "hanging" yet with a small example, but
I can reproduce an abort with error, so I'll leave the hang for later --
please note again, this is *not* win-specific, I also tried importing it
on linux. Consider this latex doc:
\documentclass{article}
\begin{document}
\begin{tabular}{p{1.75cm}|c|p{0.75cm}|p{2cm}|p{3cm}|p{1.5cm}|p{1.5cm}}
& &  & eigenvalue & & &  \\ \hline
\multicolumn{6}{l}{log} \\ \hline
\end{tabular}
\end{document}
  Running it over tex2lyx I get a different file, and this is a valid lyx 
file, as well what you intended. :-)
That's good news, and I also have good news: Looking at the above 
(stripped down but real-world) latex example again I realized that the 
column numbers don't match in the two rows, it's 7 in the first row but 
6 in the second.  That probably happened by adding a column to the table 
at some stage and forgetting about the multicolumn, and hey, it worked. 
(Latex doesn't complain, so I guess that theoretically this should be 
supported by relyx -- but it's a bit unfair. Maybe someone knows if that 
was clean latex in some "official" sense?)

So I changed the multicolumn to "\multicolumn{7}{l}{log}" and it worked 
perfectly through relyx and lyx2lyx.

@Günter (Milde): Seems that my first contribution to the coming (?) wiki 
site about latex import into lyx is the advice to make sure that in the 
original tabular code the column numbers are constant across rows.

  Until know all lyx2lyx bugs have been solved quickly, and I intend to 
maintain this record. What can be done in another stage is to recover 
gracefully from malformed lyx files, but that is clearly another issue. :-)
I agree that (if the latex code is ok in the first place) it's a bug in 
relyx, not lyx2lyx. But it would be nice if lyx2lyx could somehow 
recognize the bad parts in the .lyx document from relyx (like the 
tabular in this case). For example, if the code currently triggers such 
a "malformed" message while being inside a tabular, how about just 
aborting the conversion of this particular tabular and printing a 
warning (a note thingy?) into the output?

Anyway, I will correct all those glitches in the original bigger latex 
doc and see whether that already solved all the import problems. If not, 
I'll try to find another example demonstrating the remaining problems, 
if any persist. And so on

-sven


Re: beginner question: cyrillic

2005-01-27 Thread Sven Schreiber
Christopher Winkler wrote:
Thank you for your help
Christopher
Christopher: Sorry no help here but I'm pretty sure I know you from 
Humboldt-Uni in the 90s; I mean who else with that name could be 
studying history using cyrillic, correct? Why am I posting this to the 
list -- I find it amazing that the first week I'm subscribed to this 
list I'm hearing from somebody I haven't seen in ages!

oh - do you actually know who I am?
cheers, sven


RE: Problems with LyX on Mepis

2005-01-27 Thread Curtis Osterhoudt
 I also use LyX on Mepis.
 1.3.4 is the latest LyX which is on the official apt repositories. 
However, I've downloaded the 1.3.5-2 .rpm package, used alien to convert it 
to a .deb package, and then installed it just fine that way. So 1.3.5 is 
easily done on Mepis.

  Make sure that ImageMagick is updated, as well as any postscript viewers 
you need. TeTeX may be updated via apt, as well as anything else you need.

   Cheers!

 Down with categorical imperative!
   [EMAIL PROTECTED]   or   [EMAIL PROTECTED]




RE: Problems with LyX on Mepis

2005-01-27 Thread chr
On Thu, 27 Jan 2005, Curtis Osterhoudt wrote:

> 
>   I also use LyX on Mepis.
> 
>   1.3.4 is the latest LyX which is on the official apt repositories. 
> However, I've downloaded the 1.3.5-2 .rpm package, used alien to convert it 
> to a .deb package, and then installed it just fine that way. So 1.3.5 is 
> easily done on Mepis.
> 
>Make sure that ImageMagick is updated, as well as any postscript viewers 
> you need. TeTeX may be updated via apt, as well as anything else you need.

I got an answer from him in a separate post, there was something wrong 
with his latex installation. (And he didn't know about the user's list, 
confusing it with the wiki or something).

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Option to get Thesaurus

2005-01-27 Thread Michael Wojcik
Paul Smith wrote:
On Thu, 27 Jan 2005 09:23:48 -0500, Michael Wojcik <[EMAIL PROTECTED]> wrote:
Presumably, the fix would be to create the missing symlink:
   su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
but I haven't tried this myself.

Thanks, Michael, but, apparently, it does not solve the problem, as after 

su root ln -s libbz2.so.1.0.0 /usr/lib/libbz2.so
the configure command gives the following:
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:use-pspell
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.4.1)
  C++ Compiler flags: -O
  Linker flags:
  Frontend:   qt
Qt version:   3.3.3
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx
and, as it can be confirmed above, no mention to Aiksaurus.
My understanding of one of Jean-Marc's comments in this thread was that 
he only just now fixed the configure script to note that Aiksaurus had 
been found during configuration.

I'd check config.log to see if you had errors regarding bzip2.  It may 
be that creating the symbolic link wasn't sufficient; you might need a 
bzip2 development package (probably called bzip2-devel or some such) in 
order to get required headers and so forth.

At any rate, I should have been clearer: what I meant by "the fix" was 
"the fix for -lbz2 failing".  Whether that would permit the LyX 
configure to decide it could include Aiksaurus support I couldn't guess 
without further research.

I haven't looked at configuring for Aiksaurus, or indeed configuing the 
LyX build at all; at the moment I'm only using it on Windows.  (That was 
the easiest platform for me to try it out with initially, and so far 
it's working fine, so I haven't bothered putting it on Linux yet.)  And 
I'm not a big fan of the computerized thesaurus (or its evil cousin the 
spelling-checker) anyway, to be honest, so it's unlikely that I'd have 
pursued this for my own purposes.

--
Michael Wojcik


Re: follow-up: relyx / lyx2lyx problems -- next bug

2005-01-27 Thread Sven Schreiber
Jose' Matos wrote:
  Do you have a small example where this happens?
  It should be easy to fix.
Alright, I can now reproduce the "hanging" in lyx2lyx, when processing a 
file from relyx. Consider this latex doc, which compiles fine, and must 
be one of the shortest ever written:

\documentclass{article}
\begin{document}
  \begin{tabular}{cc}
 $7$** & $4$** \\
  \end{tabular}
\end{document}
This becomes the following relyx-lyx-file (again with "finished 
succesfully"-message):


# The reLyX bundled with LyX 1.3 created this file.
# For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\use_natbib 0
\use_numerical_citations 0
\layout Standard

\LyXTable
multicol5
1 2 0 0 0 0 0 0
0 0 0 0
8 0 0 "" ""
8 0 0 "" ""
0 8 0 0 0 0 0 "" ""
0 8 0 0 0 0 0 "" ""
\begin_inset Formula \( 7
\latex latex
\backslash )*
\latex default
*
\newline
\begin_inset Formula \( 4
\latex latex
\backslash )*
\latex default
*
\newline
\the_end

Now I don't know much about the lyx-format, but this looks a bit strange 
considering where it came from... With this input, lyx2lyx hangs! forever.

Workaround/solution: put a blank after the closing $, like this:
"$x$ **".
(@Günter Milde: next item for the latex-import-wiki: avoid having 
something directly after the closing math-$.)

Note that if a thing like "$x$**" exists only once in the source, then 
lyx2lyx doesn't hang but the output is of course not what it's intended 
to be. And if the source is just the line "$7$**  $4$**" (without the 
tabular), same thing: no hang, but strange lyx output.

Hey -- wait a minute: relyx is written in perl, right? Maybe "$*" gets 
evaluated directly by perl although it's not supposed to be? (Don't know 
what's the special meaning of $* in perl.) Oh well, just a wild idea.

I hope this is useful for the relyx-programmer(s) to squash the bug...
-sven


Re: Lyx Longtable

2005-01-27 Thread =?ISO-8859-15?Q?Uwe_St=F6hr?=
Roland Schmitz schrieb:
while looking for infos about longtables inside of lyx, if found the folowing 
URL:
http://www.educat.hu-berlin.de/~voss/lyx/table/longtable.phtml
in several search engines. But since i tried (2-3 weeks) to see the page i 
never was so lucky to get it. Does someone knows weather it's down 
permanetly, or if it's moved.
It is now here:
http://texnik.de
(http://texnik.de/table/longtable.phtml)
You might also have a look at the file
TableExamples.lyx
that is part of your LyX installatuion.
regards Uwe



Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Rich Shepard wrote:
   I have a situation now where the main heading is at the foot of the left
index column and all sub-headings are at the top of the right index column.
This may well change as I build the index, but it may not. Is there a
command that can be used to prevent splitting the head and sub-items across
columns or pages?
Not that I know. I solved such problems by using additional space 
because LaTeX processes every command inside the index-box.

If you have e.g.
--
Mineral Water   Bloody Mary
 PerrierGin Tonic
 Selters
Longdrinks
--
but want
--
Mineral Water Longdrinks
 PerrierBloody Mary
 SeltersGin Tonic
--
then add some space after the "Selters" entry, like
Mineral Water ! Selters\vspace{xxcm}
regards Uwe


Re: Index: Keeping Main- and Sub-Entries Together

2005-01-27 Thread Rich Shepard
On Fri, 28 Jan 2005, Uwe Stöhr wrote:
Not that I know. I solved such problems by using additional space because 
LaTeX processes every command inside the index-box.
  ...
then add some space after the "Selters" entry, like
Uwe,
  Thanks very much. I'll check it when the index is all finished (by
Monday).
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: LyX->TeX Log Location?

2005-01-27 Thread Rich Shepard
On Thu, 27 Jan 2005, Herbert Voss wrote:
it is saved together with the other temporary files in the temp dir like
lyx_tempdfsd544/, which will be deleted when closing LyX and which will
still be there, when you had a crash
Herbert,
  Thanks. I did not find the same error messages as I saw on the console,
but ... I'll check the output before sending the copyeditor's corrections
back.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: LyX->TeX Log Location?

2005-01-27 Thread Rich Shepard
On Thu, 27 Jan 2005, G. Milde wrote:
Another guess is, that you saw the standard output of LyX and programs it
called (like bibtex). If you start LyX from a x-terminal emulator, you
will see a lot of messages (and with the -dbg "something" option even
more.
Günter,
  I used -dbg 128 but didn't see the same messages as before. Oh, well.
Some of this ends up in ~./xsession-errors.
  Don't have one of those on my system.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: beginner question: cyrillic

2005-01-27 Thread Matej Cepl
Christopher Winkler wrote:
> My main text, which is going to be in German, will contain quite a lot of
> cyrillic cites. Well, I am able to do that in Kile (with cyrillic.sty)
> quite easily, but I can't manage to do it in Lyx. I either put the whole
> document in cyrillic and write the rest in English (without German umlauts
> using koi-8) or, using latin-1, I cannot use cyrillic. (I cannot convince
> latin-5 to write in cyrillic either). Where is my mistake? Is there
> something which can be done about that easily?

Whatever you do in kile, you should principally be able to do with ERT in
LyX (ERT = Evil Red Text, which is a method how to write LaTeX commands
directly in LyX). Generally speaking, the true solution for your problem of
multi-encoded documents will come when LaTeX will fully support Unicode,
which is unfortunately not the case yet.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There are lies, damned lies, and quotes from literary icons.




Spacing in "List of Tables"

2005-01-27 Thread Rich Shepard
  This is one the copyeditor caught. In the list of tables, the table
numbers are left-aligned and there's a small space between the number and
the table caption. This works fine until it gets to Chapter 12, Table 10 and
beyond. With the four digits (and separating period; e.g., 12.10) there is
no longer a space between the digits and the title.
  I'm using Springer's svmono book class. What LaTeX do I put where so the
list has better spacing between the left-most numbers and the titles in the
center?
  If this is not clear, please let me know. I've been working on the index
and copyedits plus getting out a report and marketing. I may know what I
want to write, but you may not read it that way. :-)
TIA,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Option to get Thesaurus

2005-01-27 Thread Paul Smith
On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik <[EMAIL PROTECTED]> wrote:
> My understanding of one of Jean-Marc's comments in this thread was that
> he only just now fixed the configure script to note that Aiksaurus had
> been found during configuration.

You are right, Michael: Jean-Marc said so. However, he is not right,
apparently. In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.

Regards,

Paul


Re: Option to get Thesaurus

2005-01-27 Thread John O'Gorman
Paul Smith wrote:
On Thu, 27 Jan 2005 17:05:33 -0500, Michael Wojcik <[EMAIL PROTECTED]> wrote:
My understanding of one of Jean-Marc's comments in this thread was that
he only just now fixed the configure script to note that Aiksaurus had
been found during configuration.
You are right, Michael: Jean-Marc said so. However, he is not right,
apparently. In fact, after having made the symbolic link suggested by
you, I proceeded with make and make install, and the final result was
successful, i.e., Aiksaurus was finally made available inside LyX. 
How do you invoke Aiksaurus from within LyX (when it IS available)?
John O'Gorman
In
spite of this fact, no mention to Aiksaurus was made at the end of the
command configure.
Regards,
Paul





Re: How to cross reference a float

2005-01-27 Thread G. Milde
On 27.01.05, Johan Ingvast wrote:

> I find when writing that a common procedure is to first create a label and
> in the next moment inserting it. Also when creating labels they often
> comes in groups so I usually select labels from the same part of the list
> in a sequence.
> So I have a feauture request
> 
> There should be a preselected labels in the label selection dialog.
> The preselection shoule be changed by:
> Making a new label.
> Selecting a label.

Good idea, seconded.

> Then I must say that the Enter in the label selection dialog should be
> connected to OK and not "Goto" (ver 1.3.5-qt).  Maybe a "Insert" button
> would be good so that the dialog could stay open.

I remember this (mis)behaviour for several versions of LyX (qt and
xforms). I find it *very* annoying but always thought this had something
to do with my wired setup.
 
> I would also like to have a command that directly inserts the label that
> is preselected without having to open the dialog.

With the above fixes, this (and many other) could be achieved with a
"push-keypress" (or "simulate-keypress") function which could be used
together with "command-sequence" for some basic keypress-macros like e.g.

\bind M-S-A  "command-sequence push-keypress Enter; reference-insert;"

which should open the reference dialog and simulate an  key press
(and release).

Günter

-- 
G.Milde web.de


  1   2   >