Re: Can't find eps file when exporting

2006-02-24 Thread Jean-Pierre Chrétien
Georg Baum [EMAIL PROTECTED] writes:

 
 Am Donnerstag, 23. Februar 2006 15:16 schrieb Jean-Pierre Chrétien:
  If you're using TeXLive-2005, the dvips default behaviour has
  shifted to secure: in particular, dvips won't accept absolute paths,
  which LyX uses in the temporary.

In fact, secure mode was the default with previous versions, but it did not
include absolute or relative (..) path check.


 
 Why is an absolute path insecure?

I guess that secure means that you can't navigate in  file systems
from the PS code.

-- 
Jean-Pierre




Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 7:52 PM
Subject: Re: LyX on Cygwin



Stephen Harris [EMAIL PROTECTED] writes:
Uh, oh... have you installed the cygwin Qt package by chance?


But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
C:\Cygwin\usr\local\src\qt3\mkspecs

That file etc. didn't get copied over to the /lib directory by the 
script.

So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
Copied what I found to where the script said it looked and couldn't find.


Well, you should need to do no more and no less than what I put on
the wiki, otherwise it means that somenthing is going wrong...


Next I notice
C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
has no /bin and no ld. It just contains a directory called /bits
So I made that conform to the script (mkdir bin and copied /bin files).
Run /usr/bin/make confclean; set the Path and Qtdir again; run
link_includes;
run configure again with all options; edit all: # line; then 
/usr/bin/make;


Returned same error:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
cannot

open
 linker script file 
/usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata:

No
such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'


I cannot understand from where that prefix /usr/lib/qt3 comes from.
If you have installed the official cygwin Qt packages, perhaps this is
a symptom of a sort of clashing.

--
Enrico



[EMAIL PROTECTED] /cygdrive/c/cygwin/usr/local/src/qt3
$ ./configure -platform cygwin-g++-win32 -v -release -static -qt-imgfmt-png 
etc.


So no it is not dynamic, I use this copy and paste every time
which is free of typos. But, I do have Qt3-C++/-bin/-devel all installed.
I am not sure anymore what is default and what I chose. Seems to me
that I also installed some developer tools like bison and flex. So I will
uninstall these three Qt3s and see what happens. Nope, didn't work.
There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:

$ sh link_includes
link_includes: line 6: cd: /usr/lib/qt3/include: No such file or directory
link_includes: line 20: cd: private: No such file or directory
ln: creating symbolic link `./q*_p.h' to `../../src/*/q*_p.h': No such file 
or

directory

But the current link_includes, cd $QTDIR/include

Maybe my environment is screwed up, I'll try printenv(print environment).

QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++

I changed that to (because that was the configure switch)
QMAKESPEC=/usr/local/src/qt3/mkspecs/cygwin-g++-win32
and QTDIR=/usr/local/src/qt3
I used tcsh for setenv QTDIR /usr/local/src/qt3 ?
I better check the tcsh Path entry, none, I just added that with bash.

The make completed with a few warnings.

---

2. libdir='/usr/local/qt3/src/lib'
to libdir='/usr/local/qt-cygwin/lib'

Does line 2. have a transposition? should be .../src/qt3

# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'

I found the above ^^^ and changed it to below, keeping the full path.
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'

--

Finished Qt3 and moving on to LyX

3. Apply the following patch (fixes path_prefix handling):
SH: Are the changes supposed to be applied as a manual edit?

Regards,
Stephen




Re: inserting image

2006-02-24 Thread Juergen Spitzmueller
Paul Schwartz wrote:
 finally when I select English in the format of the document, I still can
 type in French language including the French accentuations, display the
 text in pdf (pdflatex) and insert images without problem.

 Shall i understand that language=French is just a matter of dictionnary ?
 or is there other inconveniences ? otherwise it is not a problem for me to
 adjust language to use one or the other dictionnary (French or English or
 other ...)

No, it's important to get correct hyphenation, translation of strings such as 
figure, table, chapter etc., and -- especially in the case of FRENCH 
AFAIR -- correct typography (i.e. a small space after quotation marks).

The latter is what is causing your problems BTW.

Jürgen


Re: Locating bibliography inside a document

2006-02-24 Thread Nicolás

Hi!

You can do the following. Use Bibtex as usual and when your document is 
finished (i.e. all your references have been included) choose one of the 
two following options.
If you know the directory where LyX stores temporary working files, then 
click on View-DVI. After that go to the LyX's temp directory. You will 
see the generated .tex file plus other files, among then the generated 
.bbl file. Open that file, copy its content and paste it (as external 
selection) into an ERT box at the end of your LyX file. Remove the 
Bibtex Generated Bibliography box and that's it!
If you donæt know LyX's temp directory, just export as Latex, compile to 
get the .bbl file and do as explained before.


Good luck!

Nicolás




LB wrote:

Hello

I've always been using BibTex to create references.  However for the 
next article that I preparing for submission, the publisher requires the 
bibliography to be inside the tex document so that they receive one 
complete file.  The bibliography style I'm using is IEEEtran.bst which 
is what the publisher also needs.


I'm hoping that I could copy and paste entrees from my .bib file into 
Lyx but it did not work when I did that directly.  Is there a tex 
command that should surround the pasted version of the .bib file?  Is 
this possible to do at all?


I'm using Lyx 1.3.5 on Windows XP.

Thank you
LB






Re: LyX on Cygwin

2006-02-24 Thread Enrico Forestieri
Stephen Harris [EMAIL PROTECTED] writes:

 
 Stephen at textonyx /cygdrive/c/cygwin/usr/local/src/qt3
 $ ./configure -platform cygwin-g++-win32 -v -release -static -qt-imgfmt-png 
 etc.
 
 So no it is not dynamic, I use this copy and paste every time
 which is free of typos. But, I do have Qt3-C++/-bin/-devel all installed.

So that's the problem. I investigated a bit and found that qt3-devel
is the culprit. It installs the following two files:

/etc/profile.d/qt3-devel.csh
/etc/profile.d/qt3-devel.sh

this files are automatically sourced when tcsh or sh are started, and
guess what? They define QTDIR to /usr/lib/qt3.
You need not uninstalling those packages, simply move out of the way
those two files by renaming them as

/etc/profile.d/qt3-devel.csh.no
/etc/profile.d/qt3-devel.sh.no

Really it suffices that the extension be different from .csh or .sh.
Time to update the wiki page, I guess...

 I am not sure anymore what is default and what I chose. Seems to me
 that I also installed some developer tools like bison and flex. So I will
 uninstall these three Qt3s and see what happens. Nope, didn't work.

You have to run make confclean and configure again as you have
/usr/lib/qt3 hardcoded in the Makefiles...
Also, make sure that you do not have those files above in /etc/profile.d

 There was no /usr/lib/qt3 before I recently created it to accomodate
 the script error report. I found it here:

Please, don't do that, fix the QTDIR problem, instead.

 $ sh link_includes
 link_includes: line 6: cd: /usr/lib/qt3/include: No such file or directory
 link_includes: line 20: cd: private: No such file or directory
 ln: creating symbolic link `./q*_p.h' to `../../src/*/q*_p.h': No such file 
 or
 directory

That is clearly an evidence that QTDIR is still set to /usr/lib/qt3

 But the current link_includes, cd $QTDIR/include
 
 Maybe my environment is screwed up, I'll try printenv(print environment).
 
 QTDIR=/usr/lib/qt3
 QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++

As I said above...

 I changed that to (because that was the configure switch)
 QMAKESPEC=/usr/local/src/qt3/mkspecs/cygwin-g++-win32
 and QTDIR=/usr/local/src/qt3
 I used tcsh for setenv QTDIR /usr/local/src/qt3 ?
 I better check the tcsh Path entry, none, I just added that with bash.
 
 The make completed with a few warnings.

You can safely ignore them.

 ---
 
 2. libdir='/usr/local/qt3/src/lib'
 to libdir='/usr/local/qt-cygwin/lib'
 
 Does line 2. have a transposition? should be .../src/qt3

Ops, you are right. I'll correct that.

 # Directory that this library needs to be installed in:
 libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'
 
 I found the above ^^^ and changed it to below, keeping the full path.
 # Directory that this library needs to be installed in:
 libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'

I see that you use /cygdrive/c to access drive C:. If you issue the
following command (you need to do it only once as the results are
stored in a mount table):

mount -f C: /c

then you can write /c/path instead of /cygdrive/c/path to access the
windows C:\path. Also, you don't need to write
/cygdrive/c/cygwin/usr/local/qt-cygwin/lib but simply
/usr/local/qt-cygwin/lib because when a path starts with / it
refers to the cygwin root which is at /cygdrive/c/cygwin, in your case.

 --
 
 Finished Qt3 and moving on to LyX

hurrah!

 3. Apply the following patch (fixes path_prefix handling):
 SH: Are the changes supposed to be applied as a manual edit?

Yes, it is a so simple patch after all. Simply add the lines marked
with a starting + . As you see in the patch, you should look around
line 95 in the file src/support/environment.C.

Looking forward for a working LyX/Cygwin ;-)

-- 
Enrico






Re: Palatino leads to many overfull hbox-es

2006-02-24 Thread Helge Hafting

Peter Hegt wrote:

Hi, 


Tried \usepackage{microtype}, result looks quite nice. Much less
overfull hbox-es. Maybe I could reduce the left  right margins a little
to get to about 60 letters per line (or is this a sin, even for A5?) 
 


The margins are adjustable because they are meant to be. :-)
You can reduce them a little, but take care so it don't get ugly.
Also consider adjusting the top/bottom margins by the same
percentage as the side margins.

There is no single standard for the margins on A5 or any
other paper.  About 66 letters per line is considered
optimal.  More, and the reader gets trouble finding the next
line.  Less, and he has to move his eyes a lot, and you get
trouble with the line breaks.

A smaller font will also help, but may cause readability problems.

Helge Hafting



aspell problem

2006-02-24 Thread Harold Mouras
Hello all,

I am using Lyx 1.3.7 for windows but don’t have any access to aspell for the
spellchecking of my documents.

Should I put something specific in the preferences of lyx ?

I tried to reinstall aspell with the windows installer independently but it
didn”t work, even in c:\aspell 

Could you help me to fix that ?

Thank you very much in advance,

Sincerely,

Harold

 

Harold Mouras  

Assistant Post-Doctorant

--

Equipe Développement Social et Affectif

Faculté de Psychologie - 40 boulevard du Pont d'Arve

CH-1211 Genève

Téléphone: +41 22 37 99 054  

Télécopie: +41 22 37 99 020

 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 http://www.unige.ch/fapse/PSY/persons/vief/
www.unige.ch/fapse/PSY/persons/vief/

---

 



Re: LyX-Code and Typewriter environment: how to change the font?

2006-02-24 Thread Helge Hafting

Joerg Hau wrote:


Hi,

How does one change the font that is used (a) for the LyX-Code 
environment, (b) for typewriter character markup?


I would like to modify the font size, and/or eventually change the font for 
these two completely. Maybe I have searched in the wrong places ;-), but I 
have not found an answer to this question yet ... ?


Thanks for any hint,
and have a nice day!
 


This can be done with a small custom .layout, such as
the one at the end of this message.  It is a custom document
type (mybook) that simply inherits everything from
scrbook (Koma-script book) and adds a smallcode
paragraph type that provides scriptsized code with no
extra left margin.

Put it in .lyx/layouts, use the reconfigure menu option, and
you may then use the mybook document class which supports
smallcode paragraphs.

If you want mybook based on something else than scrbook,
change the \DeclareLaTeXClass and Input scrbook.layout
in the beginning.

For a different fontsize, replace scriptsize with another size.

If you like the extra left/right margins LyX-Code provides,
change to LeftMargin MMM and RightMargin MMM.

Note that this file is for lyx-1.4, but doing the same
for lyx-1.3 is no harder.

The file mybook.layout:
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrbook]{book (mybook)}

Format 2
Input scrbook.layout

Columns 1
Sides 1
PageStyle fancy

Classoptions
PageStyle empty|fancy
FontSize 12
End

DefaultStyle Standard

Style Code-small
 CopyStyle LyX-Code
 LatexType Environment
 LatexName codesmall
 LeftMargin 
 RightMargin 
 Font
   Size Scriptsize
   Family Typewriter
 EndFont
 Preamble
\newenvironment{codesmall}
{\begin{scriptsize}\begin{list}{}{
\setlength{\leftmargin}{0pt}
\setlength{\rightmargin}{0pt}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
\item[]}
{\end{list}\end{scriptsize}}
 EndPreamble
End

Preamble

EndPreamble



Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Friday, February 24, 2006 1:15 AM
Subject: Re: LyX on Cygwin



Stephen Harris [EMAIL PROTECTED] writes:




You need not uninstalling those packages, simply move out of the way
those two files by renaming them as

/etc/profile.d/qt3-devel.csh.no
/etc/profile.d/qt3-devel.sh.no



I can reinstall them and rename them. I was toying with the idea
of building a kde-cygwin desktop, maybe that is why I got them.


I am not sure anymore what is default and what I chose. Seems to me
that I also installed some developer tools like bison and flex. So I will
uninstall these three Qt3s and see what happens. Nope, didn't work.


You have to run make confclean and configure again as you have
/usr/lib/qt3 hardcoded in the Makefiles...
Also, make sure that you do not have those files above in /etc/profile.d



I did run make confclean and also -R for the patch. But I used
bash to set the environment.


There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:


Please, don't do that, fix the QTDIR problem, instead.



Yes, I will clean that extra /lib directory up.


Maybe my environment is screwed up, I'll try printenv(print environment).

QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++


As I said above...



Yes.




---

# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'

I found the above ^^^ and changed it to below, keeping the full path.
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'


I see that you use /cygdrive/c to access drive C:. If you issue the
following command (you need to do it only once as the results are
stored in a mount table):

mount -f C: /c

then you can write /c/path instead of /cygdrive/c/path to access the
windows C:\path. Also, you don't need to write
/cygdrive/c/cygwin/usr/local/qt-cygwin/lib but simply
/usr/local/qt-cygwin/lib because when a path starts with / it
refers to the cygwin root which is at /cygdrive/c/cygwin, in your case.



Good, I will change that. Also I will look into that rsvt display.


--

Finished Qt3 and moving on to LyX


hurrah!




3. Apply the following patch (fixes path_prefix handling):
SH: Are the changes supposed to be applied as a manual edit?


Yes, it is a so simple patch after all. Simply add the lines marked
with a starting + . As you see in the patch, you should look around
line 95 in the file src/support/environment.C.



Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!


Looking forward for a working LyX/Cygwin ;-)

--
Enrico



Thanks for all your help and tremendous effort in figuring
out a working installation. I think it is miraculous that you
could figure out all those configure switches. Now when
somebody asks about Cygwin and LyX they can be pointed
to your Wiki page. I'm writing this as I wait for make to finish.

Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll

Regards,
Stephen





Problem with hyperref and long names

2006-02-24 Thread Gisbert, Fernando
Possibly this is not a lyx question but a latex one, but anyway, any answer 
will be greatly appreciated. I am trying to use hyperref to navigate my pfd 
document, but when I write long title names, hyperref is not able to break the 
line, and it gets out of the page. Is there any option in hyperref to avoid 
this situation? Or is any other package that manages this appropriately?
Thanks in advance.


Code page in LyX for Windows

2006-02-24 Thread Marek L. Szwabowicz
Dear LyXers:

I'm an experienced user of LyX under Windows --- dating back to Claus 
Henschel's first port. 
Yesterday I installed Wiki Wiki's port v. 1.3.7. I'm running Windows XP Polish 
version, 
which means I am using MS code page cp1250.

Soon after installation I found out that I am not able to input Polish 
characters from 
keyboard the way it is commonly done under all Windows system, i.e. by pressing 
and 
holding the right Alt key and then pressing the relevant standard key. Nothing 
happens when 
I do this. This functioned, however, in the previous port (ver. 1.3.5) by Ruurd 
Reitsma 
without any problems. (In the case of still earlier port by Claus Henschel I 
remember I 
had to produce my own special keyboard file.) This version seems to come with 
either ISO 
8859 -1 or cp 1252 hard-wired --- I haven't checked which is the case.

I am fully aware of the possibily of creating keyboard bindings file or using 
any of the 
existing ones, but want to avoid this for other reasons.

Does by any chance any of you know whether this is intended situation or is a 
bug?
Or perhaps I have missed some setting option?

Thanx in advance



With best wishes

Marek L. Szwabowicz
_
Internet: [EMAIL PROTECTED]
_
GDYNIA MARITIME ACADEMY
FACULTY OF MARINE ENGINEERING

ul. Morska 83
81 - 225 Gdynia, POLAND

Tel. (+58) 69 01 452
  (+58) 69 01 331
Fax  (+58) 69 01 339
_



Re: Problem with hyperref and long names

2006-02-24 Thread Uwe Stöhr

Gisbert, Fernando schrieb:

 I am trying to use hyperref to navigate my pfd document, but when I 
write long title names, hyperref is
 not able to break the line, and it gets out of the page. Is there any 
option in hyperref to avoid this

 situation?

The PDF-bookmarks are restricted to one line. You can only set

- a short title
- or an alternative title that should be displayed as PDF-bookmark

I attached an example LyX-file showing the possibilities.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Code page in LyX for Windows

2006-02-24 Thread Uwe Stöhr

Marek L. Szwabowicz schrieb:

I'm an experienced user of LyX under Windows --- dating back to Claus Henschel's first port. 
Yesterday I installed Wiki Wiki's port v. 1.3.7.


This one:?

http://wiki.lyx.org/Windows/LyXWinInstaller

I'm running Windows XP Polish version, 
which means I am using MS code page cp1250.


Soon after installation I found out that I am not able to input Polish characters from 
keyboard the way it is commonly done under all Windows system, i.e. by pressing and 
holding the right Alt key and then pressing the relevant standard key. Nothing happens when 
I do this. This functioned, however, in the previous port (ver. 1.3.5) by Ruurd Reitsma 
without any problems. (In the case of still earlier port by Claus Henschel I remember I 
had to produce my own special keyboard file.) This version seems to come with either ISO 
8859 -1 or cp 1252 hard-wired --- I haven't checked which is the case.


LyX input character set is hardcoded to ISO 8859-1, version 1.5 of LyX 
will hopefully support unicode to enable to write in every language.


However, Thomasz Łuczak uses LyX for Windows to write polish texts. I 
hope he can help you. Please report your results on this list.


regards Uwe


Where did it go?

2006-02-24 Thread Srinivas Nedunuri

I tried exporting my lyx file as a latex file using File | Export | Latex. 
It appears to be carrying out the export, at least according to the status 
buffer, but I am unable to locate the file! Its not in the same directory. I 
looked in the lyx/tmp directory, and while there appear to be old 
conversions sitting there, there is nothing recent. I know this used to 
work, I haven't used Lyx in a few months, so i may be fogetting something. 
Can anyone help?

(I tried reconfigure already)

Thanks for your help!






inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Jeff Whitaker


Hi:  I'm having trouble getting inverse dvi search to work with pre5 
(X11 version of lyx on OS X).


I've set File Formats-Viewer-DVI to xdvi -editor 'lyxclient -g %f %l'

and

Converters-LaTex to DVI-latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptrT::operator-() const [with 
T = LyXDataSocket] by failing check px != 0 in file 
../boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap

-Jeff

--
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg


Re: inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Bennett Helm

On Feb 24, 2006, at 12:51 PM, Jeff Whitaker wrote:



Hi:  I'm having trouble getting inverse dvi search to work with  
pre5 (X11 version of lyx on OS X).


Note that I haven't tried compiling LyX-1.4.0 with X11.

I've set File Formats-Viewer-DVI to xdvi -editor 'lyxclient -g %f  
%l'


and

Converters-LaTex to DVI-latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptrT::operator-() const  
[with T = LyXDataSocket] by failing check px != 0 in file ../ 
boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap


Using the native LyX/Mac version (i.e., not X11), I don't get this at  
all. The cursor in LyX properly jumps to the appropriate row (though  
the screen doesn't move to that row, whether or not the Cursor  
follows scrollbar option is checked in Preferences  User Interface).


Bennett

P.S.: I didn't realize Fink was providing a LyX-1.4.0 version for  
X11. Why not use the Mac native version?


Re: inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Jeff Whitaker

Bennett Helm wrote:

On Feb 24, 2006, at 12:51 PM, Jeff Whitaker wrote:



Hi:  I'm having trouble getting inverse dvi search to work with  pre5 
(X11 version of lyx on OS X).



Note that I haven't tried compiling LyX-1.4.0 with X11.


I've set File Formats-Viewer-DVI to xdvi -editor 'lyxclient -g %f  %l'

and

Converters-LaTex to DVI-latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptrT::operator-() const  
[with T = LyXDataSocket] by failing check px != 0 in file ../ 
boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap



Using the native LyX/Mac version (i.e., not X11), I don't get this at  
all. The cursor in LyX properly jumps to the appropriate row (though  
the screen doesn't move to that row, whether or not the Cursor  follows 
scrollbar option is checked in Preferences  User Interface).


Bennett

P.S.: I didn't realize Fink was providing a LyX-1.4.0 version for  X11. 
Why not use the Mac native version?


Because I often use may mac remotely thru an SSH tunnel - aqua apps 
can't do that (unless you use vnc or somesuch).


-Jeff


--
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg


Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Friday, February 24, 2006 6:29 AM
Subject: Re: LyX on Cygwin



On Fri, 24 Feb 2006 03:55:43 -0800, Stephen Harris wrote:


Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!


You should do nothing apart assuring that they are in the system PATH
which you can set through the Advanced tab in Control Panel-System
or use path_prefix (see below).




SH: I put C:\cygwin\bin in the PATH


Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll


No, don't do that. Simply add C:\cygwin\bin to the PATH as explained 
above.
You could set path_prefix as in the native version through LyX 
preferences.

The path_prefix should be written in posix (cygwin) syntax and I suggest
that you put as the first elements the following ones:

/usr/local/bin:/usr/bin:/usr/X11R6/bin

and then fill in whatever you like using ':' as a separator.
In this way you can put the epstopdf and convert scripts in /usr/local/bin
which is searched first.

Once you filled in path_prefix in LyX as I suggested above, I think that
you could also remove C:\cygwin\bin from the system PATH, but I have not
checked it (Hmm... may be it doesn't work...)

--
Enrico



The View function doesn't work. It complains about missing
TeX class article when I first load the .lyx document and
C:\texmf~ is in my PATH. The Tex Information produces a
window but it contains no information.

I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.

Path prefix had no entries which I thought was a bit strange.
I've tried both of these in Path prefix
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32

I've tried both of these absolute paths in File formats Viewer
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32
originally it just said Viewer pdflatex, acrord32, but didn't work.

The Working directory automatically generated by LyX is
C:/Cygwin/.xemacs

The tmp directory generated by LyX is C:/Cygwin/tmp

I also tried putting C:/texmf/miktex/bin in Path prefix
and also the path to article.cls which is in ~/.../base
separated from each other with a :  also :C:/reader7/etc

I'm not sure what is broken because of being a Pre version.
For instance Import Latex is missing, it just has text imports.
The spellchecker starts checking the second misspelled word.

Anyway your instructions are proven to work. A new user
can search the archives and find clarifications in this thread.
I've remembered to modify, apply, save, and Reconfigure.

My favorite test file, sample.lyx, does convert eps and jpeg,
Stephen







Re: Mayday: problem with french quotation marks

2006-02-24 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and
use french guillemets  and  for quotation. At least I try to, as they
appear as spanish upside down exclamation-mark and question-mark. I remember
having the problem once but can't figure out how I solved it. I use latin9
coding and french
both in  Preferences and Document. Other combination like french (gutemberg) or
other codings won't do any good. Please help...
Thanks,

--
Alain DIDIERJEAN
 Puisque ces mystères nous dépassent
 Feignons d'en être l'organisateur.




Don't know about 1.3.5, but in 1.3.7 you just change Layout - Document 
- Language - Quote Style to double and select text from the 
drop-down Type list.  If that's not a feature in 1.3.5, perhaps you 
should consider upgrading (which I recommend in any case).


HTH,

/Paul




Re: inserting image

2006-02-24 Thread Paul A. Rubin

Paul Schwartz wrote:


Sorry again,

1) I tried with an English language file without changing the basic 
language
of the document, i.e. remaining in French :it appears to be the same 
result.

I inserted three images, I got 15 errors. always trying to display PDF
(pdflatex)
Here is a copy of the prepared file.

2) I changed the language in format-document into anglais (English),
inserted two images then it works properly.

Note: when I insert a floating image then i have no problem

Have you an idea to bypass this problem and have French accentuation
available

Thanks

regards
Paul








Enrico's batch file (as modified below) should fix it for you.  If not, 
as a workaround, if you export your document to LaTeX and then run 
pdflatex against it, you should get the right result; it's only 
View-PDF (pdflatex) that screws up (because the .tex file written to 
the temp directory has mangled file names that start with C:/ (or 
whatever your drive letter is), and they apparently get misinterpreted 
by something (babel?).


Since you're using pdflatex, I think you will need to modify Enrico's 
batch file as follows.  First, do not name it latex.bat; you could call 
it pdflatex.bat, but I recommend something like mypdflatex.bat. 
Second, edit the last line to read pdflatex.exe %1.  Finally, inside 
LyX, go to Edit-Preferences-Converters, highlight the LaTeX-PDF 
(pdflatex) entry, change the Converter: line to read mypdflatex $$i, 
click Modify and then Save.  Hopefully that will fix the problem.


/Paul






Re: LyX on Cygwin

2006-02-24 Thread Enrico Forestieri
On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote:

 The View function doesn't work. It complains about missing
 TeX class article when I first load the .lyx document and
 C:\texmf~ is in my PATH.

Try reconfiguring after adjusting path_prefix (see below).

  The Tex Information produces a
 window but it contains no information.

Yes, I also see this, but then this also happens with 1.3.7.

 I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.

Correct. To see if that works try ls /c in a cygwin shell.

 Path prefix had no entries which I thought was a bit strange.

It is normal. In 1.3.7 entries are added by the windows installer.

 I've tried both of these in Path prefix
 C:/reader7/Reader/acrord32
 /c/reader7/Reader/acrord32
 
 I've tried both of these absolute paths in File formats Viewer
 C:/reader7/Reader/acrord32
 /c/reader7/Reader/acrord32
 originally it just said Viewer pdflatex, acrord32, but didn't work.

Please *always* use posix syntax in path_prefix, i.e., /c/reader7/...
and *not* C:/reader7/...

 The Working directory automatically generated by LyX is
 C:/Cygwin/.xemacs

Uh? It seems that you have not set the HOME variable. LyX/Cygwin uses
HOME instead of USERPROFILE. Perhaps I should patch the sources such
that USERPROFILE is used as a fallback if HOME is not set.
For the moment, you can fix this by adding the HOME var in the same
way you add the PATH var but in the user section. Set HOME to a folder
of your choice and then try launching LyX with the option -dbg init
to see what it thinks your home_dir is.

 The tmp directory generated by LyX is C:/Cygwin/tmp

This is correct.

 I also tried putting C:/texmf/miktex/bin in Path prefix
 and also the path to article.cls which is in ~/.../base
 separated from each other with a :  also :C:/reader7/etc

As I noted above, always use posix syntax in path_prefix, so
write that as /c/texmf/miktex/bin:/c/reader7/etc
The ':' char must only be used as a separator.
Please try the following as path_prefix (I am assuming that your
AcroRd32.exe is in C:\reader7\Reader\acrord32 and that you issued
the mount -f C: /c command)

/usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/texmf/miktex/bin:/c/reader7/Reader/acrord32

After modifying path_prefix, save the preferences and *restart* LyX.

 I'm not sure what is broken because of being a Pre version.
 For instance Import Latex is missing, it just has text imports.

This is a known issue when a version suffix is used (the configure
script should be called with the option --version-suffix=the_suffix
but it is not). To fix this do the following in a cygwin shell:

  cd /usr/local/bin
  ln -s tex2lyx-1.4.0.exe tex2lyx

and then reconfigure LyX.

 The spellchecker starts checking the second misspelled word.

This also is a known bug in LyX.

 Anyway your instructions are proven to work. A new user
 can search the archives and find clarifications in this thread.
 I've remembered to modify, apply, save, and Reconfigure.
 
 My favorite test file, sample.lyx, does convert eps and jpeg,

I think that you have a working copy of LyX. You should simply fix
some glitches.

-- 
Enrico





Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Friday, February 24, 2006 4:33 PM
Subject: Re: LyX on Cygwin



On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote:


The View function doesn't work. It complains about missing
TeX class article when I first load the .lyx document and
C:\texmf~ is in my PATH.


Try reconfiguring after adjusting path_prefix (see below).



SH: The rest of the error message is LyX will not be able to produce 
output.



 The Tex Information produces a
window but it contains no information.


Yes, I also see this, but then this also happens with 1.3.7.



Perhaps normal for Cygwin/Linux but you can see all these
files and their paths with Uwe or Angus native LyXwin. Or
with Mingw build of LyX1.4.0_pre3. It is how I used to check
that LyX communicated with Miktex:texmf


I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.


Correct. To see if that works try ls /c in a cygwin shell.



Yes I see lots of my stuff. When I use File-Open it still
displays the path in terms of /cygdrive/c/ which makes me nervous.


Path prefix had no entries which I thought was a bit strange.


It is normal. In 1.3.7 entries are added by the windows installer.


I've tried both of these in Path prefix
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32

I've tried both of these absolute paths in File formats Viewer
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32
originally it just said Viewer pdflatex, acrord32, but didn't work.


Please *always* use posix syntax in path_prefix, i.e., /c/reader7/...
and *not* C:/reader7/...



Ok, the reason I tried both was because /c/reader7/Reader/acrord32
failed to enable the pdflatex Viewing function.


The Working directory automatically generated by LyX is
C:/Cygwin/.xemacs


Uh? It seems that you have not set the HOME variable. LyX/Cygwin uses
HOME instead of USERPROFILE. Perhaps I should patch the sources such
that USERPROFILE is used as a fallback if HOME is not set.
For the moment, you can fix this by adding the HOME var in the same
way you add the PATH var but in the user section. Set HOME to a folder
of your choice and then try launching LyX with the option -dbg init
to see what it thinks your home_dir is.



I used to have Xemacs for Cygwin installed. I set the HOME variable
to C:\Cygwin\.xemacs for it. I now have another version of Xemacs set
to HOME there also so if I change it I have to move init.el files etc.


The tmp directory generated by LyX is C:/Cygwin/tmp


This is correct.


I also tried putting C:/texmf/miktex/bin in Path prefix
and also the path to article.cls which is in ~/.../base
separated from each other with a :  also :C:/reader7/etc


As I noted above, always use posix syntax in path_prefix, so
write that as /c/texmf/miktex/bin:/c/reader7/etc
The ':' char must only be used as a separator.
Please try the following as path_prefix (I am assuming that your
AcroRd32.exe is in C:\reader7\Reader\acrord32 and that you issued
the mount -f C: /c command)

/usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/texmf/miktex/bin:/c/reader7/Reader/acrord32



Oops. No acrord32 is short for the acrord32.exe I just noticed this
after trying it and it failed. So I tried :/c/reader7/Reader/ which didn't
work. I just tried it without the trailing slash /, and it didn't work.

I start LyX with an icon linked to C:\cygwin\usr\local\bin\LyX-1.4.0.exe
and it gives me an error message Locale en_US could not be set
which has never mattered in the past. My language is set to English in LyX.
The Locale error follows after the LyX will not be able to produce output.


After modifying path_prefix, save the preferences and *restart* LyX.



I did that. I did that, tried Reconfigure, closed and opened, to no avail.


I'm not sure what is broken because of being a Pre version.
For instance Import Latex is missing, it just has text imports.


This is a known issue when a version suffix is used (the configure
script should be called with the option --version-suffix=the_suffix
but it is not). To fix this do the following in a cygwin shell:

 cd /usr/local/bin
 ln -s tex2lyx-1.4.0.exe tex2lyx

and then reconfigure LyX.



By cracky it worked! I can now import Latex.


Anyway your instructions are proven to work. A new user
can search the archives and find clarifications in this thread.
I've remembered to modify, apply, save, and Reconfigure.

My favorite test file, sample.lyx, does convert eps and jpeg,


I think that you have a working copy of LyX. You should simply fix
some glitches.

--
Enrico



I've watched Reconfigure process. It says yes to finding pdflatex
and acrord32 and gsview32. I don't have any Viewers, no DVI or
Postscript. I added :/c/gs/gs8.51/bin:/c/ghostgum/gsview to Path
prefix and turned on Instant Preview. No previewers. Before when
I had this problem I ran sh configure from lyx/resources/lyx I'll
give that -dbg init a try 

Display problems, LyX-Qt on Mac

2006-02-24 Thread noeckel


Hi,

I've happily been using LyX on Mac under X11 with the xforms
interface for years now, and once in a while I try out the Qt
interface to see if it has gotten any better. I just tried fink's lyx-
qt 1.4.0pre5 and can't figure out how to access the lyx command line
(no meta key), and many important xemacs and aqua keybindings
requiring the meta key also appear to be inaccessible. All this is no
problem at all in xforms, where the Apple key works fine as Meta (set
up in ~/.Xmodmap).

Then I tried LyX-Qt for Mac, which is available as binary in version
1.3.7. That's almost useable.
However, in both of these LyX versions, I have problems with the
screen display of certain math glyphs. It's worse in fink's X11
version, so I'm attaching a screen shot below.
But in LyX-Qt/Mac, I also get into trouble whenever I try to get a
\iint or \oiint displayed. Here, by displayed I mean the screen
display without instant preview (I like to have the math equations
stand out in their own blue color instead of blending in with the
text). These integral symbols seem to be mapped onto the wrong
positions of the wasysym font in the symbols configuration file. Note
that in X11 lyx-qt, the \iint and \oiint symbols are actually
displayed correctly (in black, not in blue, for some reason...)
whereas the \int, \sum, \prod symbols appear with a dropped baseline.
So right now I'm sticking with lyx-xforms under Apple's X11, because
everything there works smoothly for me... maybe someone here has the
solution to these issues - I sure would like to move up to the new
features, but not at the expense of a broken screen display.

Jens

LyX 1.4.0pre5, X11 (OS X10.4.5):



lyx-fink_.png
Description: application/applefile





Re: Mayday: problem with french quotation marks

2006-02-24 Thread Karsten Heymann
Hello Alain,

[EMAIL PROTECTED] schrieb:
 I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in
 french and use french guillemets  and  for quotation. At least I
 try to, as they appear as spanish upside down exclamation-mark and
 question-mark.

I could not reproduce that (maybe you could post a minimal LyX file
showing the behaviour somewhere), but make sure you have enabled T1 as
fontencoding (I think it's in the preferences, but I don't have a LyX
here, if unsire export your file to latex and look for a line
\usepackage[T1]{fontenc}).

hth,
Karsten


Re: Can't find eps file when exporting

2006-02-24 Thread Jean-Pierre Chrétien
Georg Baum [EMAIL PROTECTED] writes:

 
 Am Donnerstag, 23. Februar 2006 15:16 schrieb Jean-Pierre Chrétien:
  If you're using TeXLive-2005, the dvips default behaviour has
  shifted to secure: in particular, dvips won't accept absolute paths,
  which LyX uses in the temporary.

In fact, secure mode was the default with previous versions, but it did not
include absolute or relative (..) path check.


 
 Why is an absolute path insecure?

I guess that secure means that you can't navigate in  file systems
from the PS code.

-- 
Jean-Pierre




Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 7:52 PM
Subject: Re: LyX on Cygwin



Stephen Harris [EMAIL PROTECTED] writes:
Uh, oh... have you installed the cygwin Qt package by chance?


But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
C:\Cygwin\usr\local\src\qt3\mkspecs

That file etc. didn't get copied over to the /lib directory by the 
script.

So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
Copied what I found to where the script said it looked and couldn't find.


Well, you should need to do no more and no less than what I put on
the wiki, otherwise it means that somenthing is going wrong...


Next I notice
C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
has no /bin and no ld. It just contains a directory called /bits
So I made that conform to the script (mkdir bin and copied /bin files).
Run /usr/bin/make confclean; set the Path and Qtdir again; run
link_includes;
run configure again with all options; edit all: # line; then 
/usr/bin/make;


Returned same error:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
cannot

open
 linker script file 
/usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata:

No
such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'


I cannot understand from where that prefix /usr/lib/qt3 comes from.
If you have installed the official cygwin Qt packages, perhaps this is
a symptom of a sort of clashing.

--
Enrico



[EMAIL PROTECTED] /cygdrive/c/cygwin/usr/local/src/qt3
$ ./configure -platform cygwin-g++-win32 -v -release -static -qt-imgfmt-png 
etc.


So no it is not dynamic, I use this copy and paste every time
which is free of typos. But, I do have Qt3-C++/-bin/-devel all installed.
I am not sure anymore what is default and what I chose. Seems to me
that I also installed some developer tools like bison and flex. So I will
uninstall these three Qt3s and see what happens. Nope, didn't work.
There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:

$ sh link_includes
link_includes: line 6: cd: /usr/lib/qt3/include: No such file or directory
link_includes: line 20: cd: private: No such file or directory
ln: creating symbolic link `./q*_p.h' to `../../src/*/q*_p.h': No such file 
or

directory

But the current link_includes, cd $QTDIR/include

Maybe my environment is screwed up, I'll try printenv(print environment).

QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++

I changed that to (because that was the configure switch)
QMAKESPEC=/usr/local/src/qt3/mkspecs/cygwin-g++-win32
and QTDIR=/usr/local/src/qt3
I used tcsh for setenv QTDIR /usr/local/src/qt3 ?
I better check the tcsh Path entry, none, I just added that with bash.

The make completed with a few warnings.

---

2. libdir='/usr/local/qt3/src/lib'
to libdir='/usr/local/qt-cygwin/lib'

Does line 2. have a transposition? should be .../src/qt3

# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'

I found the above ^^^ and changed it to below, keeping the full path.
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'

--

Finished Qt3 and moving on to LyX

3. Apply the following patch (fixes path_prefix handling):
SH: Are the changes supposed to be applied as a manual edit?

Regards,
Stephen




Re: inserting image

2006-02-24 Thread Juergen Spitzmueller
Paul Schwartz wrote:
 finally when I select English in the format of the document, I still can
 type in French language including the French accentuations, display the
 text in pdf (pdflatex) and insert images without problem.

 Shall i understand that language=French is just a matter of dictionnary ?
 or is there other inconveniences ? otherwise it is not a problem for me to
 adjust language to use one or the other dictionnary (French or English or
 other ...)

No, it's important to get correct hyphenation, translation of strings such as 
figure, table, chapter etc., and -- especially in the case of FRENCH 
AFAIR -- correct typography (i.e. a small space after quotation marks).

The latter is what is causing your problems BTW.

Jürgen


Re: Locating bibliography inside a document

2006-02-24 Thread Nicolás

Hi!

You can do the following. Use Bibtex as usual and when your document is 
finished (i.e. all your references have been included) choose one of the 
two following options.
If you know the directory where LyX stores temporary working files, then 
click on View-DVI. After that go to the LyX's temp directory. You will 
see the generated .tex file plus other files, among then the generated 
.bbl file. Open that file, copy its content and paste it (as external 
selection) into an ERT box at the end of your LyX file. Remove the 
Bibtex Generated Bibliography box and that's it!
If you donæt know LyX's temp directory, just export as Latex, compile to 
get the .bbl file and do as explained before.


Good luck!

Nicolás




LB wrote:

Hello

I've always been using BibTex to create references.  However for the 
next article that I preparing for submission, the publisher requires the 
bibliography to be inside the tex document so that they receive one 
complete file.  The bibliography style I'm using is IEEEtran.bst which 
is what the publisher also needs.


I'm hoping that I could copy and paste entrees from my .bib file into 
Lyx but it did not work when I did that directly.  Is there a tex 
command that should surround the pasted version of the .bib file?  Is 
this possible to do at all?


I'm using Lyx 1.3.5 on Windows XP.

Thank you
LB






Re: LyX on Cygwin

2006-02-24 Thread Enrico Forestieri
Stephen Harris [EMAIL PROTECTED] writes:

 
 Stephen at textonyx /cygdrive/c/cygwin/usr/local/src/qt3
 $ ./configure -platform cygwin-g++-win32 -v -release -static -qt-imgfmt-png 
 etc.
 
 So no it is not dynamic, I use this copy and paste every time
 which is free of typos. But, I do have Qt3-C++/-bin/-devel all installed.

So that's the problem. I investigated a bit and found that qt3-devel
is the culprit. It installs the following two files:

/etc/profile.d/qt3-devel.csh
/etc/profile.d/qt3-devel.sh

this files are automatically sourced when tcsh or sh are started, and
guess what? They define QTDIR to /usr/lib/qt3.
You need not uninstalling those packages, simply move out of the way
those two files by renaming them as

/etc/profile.d/qt3-devel.csh.no
/etc/profile.d/qt3-devel.sh.no

Really it suffices that the extension be different from .csh or .sh.
Time to update the wiki page, I guess...

 I am not sure anymore what is default and what I chose. Seems to me
 that I also installed some developer tools like bison and flex. So I will
 uninstall these three Qt3s and see what happens. Nope, didn't work.

You have to run make confclean and configure again as you have
/usr/lib/qt3 hardcoded in the Makefiles...
Also, make sure that you do not have those files above in /etc/profile.d

 There was no /usr/lib/qt3 before I recently created it to accomodate
 the script error report. I found it here:

Please, don't do that, fix the QTDIR problem, instead.

 $ sh link_includes
 link_includes: line 6: cd: /usr/lib/qt3/include: No such file or directory
 link_includes: line 20: cd: private: No such file or directory
 ln: creating symbolic link `./q*_p.h' to `../../src/*/q*_p.h': No such file 
 or
 directory

That is clearly an evidence that QTDIR is still set to /usr/lib/qt3

 But the current link_includes, cd $QTDIR/include
 
 Maybe my environment is screwed up, I'll try printenv(print environment).
 
 QTDIR=/usr/lib/qt3
 QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++

As I said above...

 I changed that to (because that was the configure switch)
 QMAKESPEC=/usr/local/src/qt3/mkspecs/cygwin-g++-win32
 and QTDIR=/usr/local/src/qt3
 I used tcsh for setenv QTDIR /usr/local/src/qt3 ?
 I better check the tcsh Path entry, none, I just added that with bash.
 
 The make completed with a few warnings.

You can safely ignore them.

 ---
 
 2. libdir='/usr/local/qt3/src/lib'
 to libdir='/usr/local/qt-cygwin/lib'
 
 Does line 2. have a transposition? should be .../src/qt3

Ops, you are right. I'll correct that.

 # Directory that this library needs to be installed in:
 libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'
 
 I found the above ^^^ and changed it to below, keeping the full path.
 # Directory that this library needs to be installed in:
 libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'

I see that you use /cygdrive/c to access drive C:. If you issue the
following command (you need to do it only once as the results are
stored in a mount table):

mount -f C: /c

then you can write /c/path instead of /cygdrive/c/path to access the
windows C:\path. Also, you don't need to write
/cygdrive/c/cygwin/usr/local/qt-cygwin/lib but simply
/usr/local/qt-cygwin/lib because when a path starts with / it
refers to the cygwin root which is at /cygdrive/c/cygwin, in your case.

 --
 
 Finished Qt3 and moving on to LyX

hurrah!

 3. Apply the following patch (fixes path_prefix handling):
 SH: Are the changes supposed to be applied as a manual edit?

Yes, it is a so simple patch after all. Simply add the lines marked
with a starting + . As you see in the patch, you should look around
line 95 in the file src/support/environment.C.

Looking forward for a working LyX/Cygwin ;-)

-- 
Enrico






Re: Palatino leads to many overfull hbox-es

2006-02-24 Thread Helge Hafting

Peter Hegt wrote:

Hi, 


Tried \usepackage{microtype}, result looks quite nice. Much less
overfull hbox-es. Maybe I could reduce the left  right margins a little
to get to about 60 letters per line (or is this a sin, even for A5?) 
 


The margins are adjustable because they are meant to be. :-)
You can reduce them a little, but take care so it don't get ugly.
Also consider adjusting the top/bottom margins by the same
percentage as the side margins.

There is no single standard for the margins on A5 or any
other paper.  About 66 letters per line is considered
optimal.  More, and the reader gets trouble finding the next
line.  Less, and he has to move his eyes a lot, and you get
trouble with the line breaks.

A smaller font will also help, but may cause readability problems.

Helge Hafting



aspell problem

2006-02-24 Thread Harold Mouras
Hello all,

I am using Lyx 1.3.7 for windows but don’t have any access to aspell for the
spellchecking of my documents.

Should I put something specific in the preferences of lyx ?

I tried to reinstall aspell with the windows installer independently but it
didn”t work, even in c:\aspell 

Could you help me to fix that ?

Thank you very much in advance,

Sincerely,

Harold

 

Harold Mouras  

Assistant Post-Doctorant

--

Equipe Développement Social et Affectif

Faculté de Psychologie - 40 boulevard du Pont d'Arve

CH-1211 Genève

Téléphone: +41 22 37 99 054  

Télécopie: +41 22 37 99 020

 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 http://www.unige.ch/fapse/PSY/persons/vief/
www.unige.ch/fapse/PSY/persons/vief/

---

 



Re: LyX-Code and Typewriter environment: how to change the font?

2006-02-24 Thread Helge Hafting

Joerg Hau wrote:


Hi,

How does one change the font that is used (a) for the LyX-Code 
environment, (b) for typewriter character markup?


I would like to modify the font size, and/or eventually change the font for 
these two completely. Maybe I have searched in the wrong places ;-), but I 
have not found an answer to this question yet ... ?


Thanks for any hint,
and have a nice day!
 


This can be done with a small custom .layout, such as
the one at the end of this message.  It is a custom document
type (mybook) that simply inherits everything from
scrbook (Koma-script book) and adds a smallcode
paragraph type that provides scriptsized code with no
extra left margin.

Put it in .lyx/layouts, use the reconfigure menu option, and
you may then use the mybook document class which supports
smallcode paragraphs.

If you want mybook based on something else than scrbook,
change the \DeclareLaTeXClass and Input scrbook.layout
in the beginning.

For a different fontsize, replace scriptsize with another size.

If you like the extra left/right margins LyX-Code provides,
change to LeftMargin MMM and RightMargin MMM.

Note that this file is for lyx-1.4, but doing the same
for lyx-1.3 is no harder.

The file mybook.layout:
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrbook]{book (mybook)}

Format 2
Input scrbook.layout

Columns 1
Sides 1
PageStyle fancy

Classoptions
PageStyle empty|fancy
FontSize 12
End

DefaultStyle Standard

Style Code-small
 CopyStyle LyX-Code
 LatexType Environment
 LatexName codesmall
 LeftMargin 
 RightMargin 
 Font
   Size Scriptsize
   Family Typewriter
 EndFont
 Preamble
\newenvironment{codesmall}
{\begin{scriptsize}\begin{list}{}{
\setlength{\leftmargin}{0pt}
\setlength{\rightmargin}{0pt}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
\item[]}
{\end{list}\end{scriptsize}}
 EndPreamble
End

Preamble

EndPreamble



Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Friday, February 24, 2006 1:15 AM
Subject: Re: LyX on Cygwin



Stephen Harris [EMAIL PROTECTED] writes:




You need not uninstalling those packages, simply move out of the way
those two files by renaming them as

/etc/profile.d/qt3-devel.csh.no
/etc/profile.d/qt3-devel.sh.no



I can reinstall them and rename them. I was toying with the idea
of building a kde-cygwin desktop, maybe that is why I got them.


I am not sure anymore what is default and what I chose. Seems to me
that I also installed some developer tools like bison and flex. So I will
uninstall these three Qt3s and see what happens. Nope, didn't work.


You have to run make confclean and configure again as you have
/usr/lib/qt3 hardcoded in the Makefiles...
Also, make sure that you do not have those files above in /etc/profile.d



I did run make confclean and also -R for the patch. But I used
bash to set the environment.


There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:


Please, don't do that, fix the QTDIR problem, instead.



Yes, I will clean that extra /lib directory up.


Maybe my environment is screwed up, I'll try printenv(print environment).

QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++


As I said above...



Yes.




---

# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'

I found the above ^^^ and changed it to below, keeping the full path.
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'


I see that you use /cygdrive/c to access drive C:. If you issue the
following command (you need to do it only once as the results are
stored in a mount table):

mount -f C: /c

then you can write /c/path instead of /cygdrive/c/path to access the
windows C:\path. Also, you don't need to write
/cygdrive/c/cygwin/usr/local/qt-cygwin/lib but simply
/usr/local/qt-cygwin/lib because when a path starts with / it
refers to the cygwin root which is at /cygdrive/c/cygwin, in your case.



Good, I will change that. Also I will look into that rsvt display.


--

Finished Qt3 and moving on to LyX


hurrah!




3. Apply the following patch (fixes path_prefix handling):
SH: Are the changes supposed to be applied as a manual edit?


Yes, it is a so simple patch after all. Simply add the lines marked
with a starting + . As you see in the patch, you should look around
line 95 in the file src/support/environment.C.



Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!


Looking forward for a working LyX/Cygwin ;-)

--
Enrico



Thanks for all your help and tremendous effort in figuring
out a working installation. I think it is miraculous that you
could figure out all those configure switches. Now when
somebody asks about Cygwin and LyX they can be pointed
to your Wiki page. I'm writing this as I wait for make to finish.

Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll

Regards,
Stephen





Problem with hyperref and long names

2006-02-24 Thread Gisbert, Fernando
Possibly this is not a lyx question but a latex one, but anyway, any answer 
will be greatly appreciated. I am trying to use hyperref to navigate my pfd 
document, but when I write long title names, hyperref is not able to break the 
line, and it gets out of the page. Is there any option in hyperref to avoid 
this situation? Or is any other package that manages this appropriately?
Thanks in advance.


Code page in LyX for Windows

2006-02-24 Thread Marek L. Szwabowicz
Dear LyXers:

I'm an experienced user of LyX under Windows --- dating back to Claus 
Henschel's first port. 
Yesterday I installed Wiki Wiki's port v. 1.3.7. I'm running Windows XP Polish 
version, 
which means I am using MS code page cp1250.

Soon after installation I found out that I am not able to input Polish 
characters from 
keyboard the way it is commonly done under all Windows system, i.e. by pressing 
and 
holding the right Alt key and then pressing the relevant standard key. Nothing 
happens when 
I do this. This functioned, however, in the previous port (ver. 1.3.5) by Ruurd 
Reitsma 
without any problems. (In the case of still earlier port by Claus Henschel I 
remember I 
had to produce my own special keyboard file.) This version seems to come with 
either ISO 
8859 -1 or cp 1252 hard-wired --- I haven't checked which is the case.

I am fully aware of the possibily of creating keyboard bindings file or using 
any of the 
existing ones, but want to avoid this for other reasons.

Does by any chance any of you know whether this is intended situation or is a 
bug?
Or perhaps I have missed some setting option?

Thanx in advance



With best wishes

Marek L. Szwabowicz
_
Internet: [EMAIL PROTECTED]
_
GDYNIA MARITIME ACADEMY
FACULTY OF MARINE ENGINEERING

ul. Morska 83
81 - 225 Gdynia, POLAND

Tel. (+58) 69 01 452
  (+58) 69 01 331
Fax  (+58) 69 01 339
_



Re: Problem with hyperref and long names

2006-02-24 Thread Uwe Stöhr

Gisbert, Fernando schrieb:

 I am trying to use hyperref to navigate my pfd document, but when I 
write long title names, hyperref is
 not able to break the line, and it gets out of the page. Is there any 
option in hyperref to avoid this

 situation?

The PDF-bookmarks are restricted to one line. You can only set

- a short title
- or an alternative title that should be displayed as PDF-bookmark

I attached an example LyX-file showing the possibilities.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Code page in LyX for Windows

2006-02-24 Thread Uwe Stöhr

Marek L. Szwabowicz schrieb:

I'm an experienced user of LyX under Windows --- dating back to Claus Henschel's first port. 
Yesterday I installed Wiki Wiki's port v. 1.3.7.


This one:?

http://wiki.lyx.org/Windows/LyXWinInstaller

I'm running Windows XP Polish version, 
which means I am using MS code page cp1250.


Soon after installation I found out that I am not able to input Polish characters from 
keyboard the way it is commonly done under all Windows system, i.e. by pressing and 
holding the right Alt key and then pressing the relevant standard key. Nothing happens when 
I do this. This functioned, however, in the previous port (ver. 1.3.5) by Ruurd Reitsma 
without any problems. (In the case of still earlier port by Claus Henschel I remember I 
had to produce my own special keyboard file.) This version seems to come with either ISO 
8859 -1 or cp 1252 hard-wired --- I haven't checked which is the case.


LyX input character set is hardcoded to ISO 8859-1, version 1.5 of LyX 
will hopefully support unicode to enable to write in every language.


However, Thomasz Łuczak uses LyX for Windows to write polish texts. I 
hope he can help you. Please report your results on this list.


regards Uwe


Where did it go?

2006-02-24 Thread Srinivas Nedunuri

I tried exporting my lyx file as a latex file using File | Export | Latex. 
It appears to be carrying out the export, at least according to the status 
buffer, but I am unable to locate the file! Its not in the same directory. I 
looked in the lyx/tmp directory, and while there appear to be old 
conversions sitting there, there is nothing recent. I know this used to 
work, I haven't used Lyx in a few months, so i may be fogetting something. 
Can anyone help?

(I tried reconfigure already)

Thanks for your help!






inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Jeff Whitaker


Hi:  I'm having trouble getting inverse dvi search to work with pre5 
(X11 version of lyx on OS X).


I've set File Formats-Viewer-DVI to xdvi -editor 'lyxclient -g %f %l'

and

Converters-LaTex to DVI-latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptrT::operator-() const [with 
T = LyXDataSocket] by failing check px != 0 in file 
../boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap

-Jeff

--
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg


Re: inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Bennett Helm

On Feb 24, 2006, at 12:51 PM, Jeff Whitaker wrote:



Hi:  I'm having trouble getting inverse dvi search to work with  
pre5 (X11 version of lyx on OS X).


Note that I haven't tried compiling LyX-1.4.0 with X11.

I've set File Formats-Viewer-DVI to xdvi -editor 'lyxclient -g %f  
%l'


and

Converters-LaTex to DVI-latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptrT::operator-() const  
[with T = LyXDataSocket] by failing check px != 0 in file ../ 
boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap


Using the native LyX/Mac version (i.e., not X11), I don't get this at  
all. The cursor in LyX properly jumps to the appropriate row (though  
the screen doesn't move to that row, whether or not the Cursor  
follows scrollbar option is checked in Preferences  User Interface).


Bennett

P.S.: I didn't realize Fink was providing a LyX-1.4.0 version for  
X11. Why not use the Mac native version?


Re: inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Jeff Whitaker

Bennett Helm wrote:

On Feb 24, 2006, at 12:51 PM, Jeff Whitaker wrote:



Hi:  I'm having trouble getting inverse dvi search to work with  pre5 
(X11 version of lyx on OS X).



Note that I haven't tried compiling LyX-1.4.0 with X11.


I've set File Formats-Viewer-DVI to xdvi -editor 'lyxclient -g %f  %l'

and

Converters-LaTex to DVI-latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptrT::operator-() const  
[with T = LyXDataSocket] by failing check px != 0 in file ../ 
boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap



Using the native LyX/Mac version (i.e., not X11), I don't get this at  
all. The cursor in LyX properly jumps to the appropriate row (though  
the screen doesn't move to that row, whether or not the Cursor  follows 
scrollbar option is checked in Preferences  User Interface).


Bennett

P.S.: I didn't realize Fink was providing a LyX-1.4.0 version for  X11. 
Why not use the Mac native version?


Because I often use may mac remotely thru an SSH tunnel - aqua apps 
can't do that (unless you use vnc or somesuch).


-Jeff


--
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg


Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Friday, February 24, 2006 6:29 AM
Subject: Re: LyX on Cygwin



On Fri, 24 Feb 2006 03:55:43 -0800, Stephen Harris wrote:


Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!


You should do nothing apart assuring that they are in the system PATH
which you can set through the Advanced tab in Control Panel-System
or use path_prefix (see below).




SH: I put C:\cygwin\bin in the PATH


Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll


No, don't do that. Simply add C:\cygwin\bin to the PATH as explained 
above.
You could set path_prefix as in the native version through LyX 
preferences.

The path_prefix should be written in posix (cygwin) syntax and I suggest
that you put as the first elements the following ones:

/usr/local/bin:/usr/bin:/usr/X11R6/bin

and then fill in whatever you like using ':' as a separator.
In this way you can put the epstopdf and convert scripts in /usr/local/bin
which is searched first.

Once you filled in path_prefix in LyX as I suggested above, I think that
you could also remove C:\cygwin\bin from the system PATH, but I have not
checked it (Hmm... may be it doesn't work...)

--
Enrico



The View function doesn't work. It complains about missing
TeX class article when I first load the .lyx document and
C:\texmf~ is in my PATH. The Tex Information produces a
window but it contains no information.

I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.

Path prefix had no entries which I thought was a bit strange.
I've tried both of these in Path prefix
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32

I've tried both of these absolute paths in File formats Viewer
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32
originally it just said Viewer pdflatex, acrord32, but didn't work.

The Working directory automatically generated by LyX is
C:/Cygwin/.xemacs

The tmp directory generated by LyX is C:/Cygwin/tmp

I also tried putting C:/texmf/miktex/bin in Path prefix
and also the path to article.cls which is in ~/.../base
separated from each other with a :  also :C:/reader7/etc

I'm not sure what is broken because of being a Pre version.
For instance Import Latex is missing, it just has text imports.
The spellchecker starts checking the second misspelled word.

Anyway your instructions are proven to work. A new user
can search the archives and find clarifications in this thread.
I've remembered to modify, apply, save, and Reconfigure.

My favorite test file, sample.lyx, does convert eps and jpeg,
Stephen







Re: Mayday: problem with french quotation marks

2006-02-24 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and
use french guillemets  and  for quotation. At least I try to, as they
appear as spanish upside down exclamation-mark and question-mark. I remember
having the problem once but can't figure out how I solved it. I use latin9
coding and french
both in  Preferences and Document. Other combination like french (gutemberg) or
other codings won't do any good. Please help...
Thanks,

--
Alain DIDIERJEAN
 Puisque ces mystères nous dépassent
 Feignons d'en être l'organisateur.




Don't know about 1.3.5, but in 1.3.7 you just change Layout - Document 
- Language - Quote Style to double and select text from the 
drop-down Type list.  If that's not a feature in 1.3.5, perhaps you 
should consider upgrading (which I recommend in any case).


HTH,

/Paul




Re: inserting image

2006-02-24 Thread Paul A. Rubin

Paul Schwartz wrote:


Sorry again,

1) I tried with an English language file without changing the basic 
language
of the document, i.e. remaining in French :it appears to be the same 
result.

I inserted three images, I got 15 errors. always trying to display PDF
(pdflatex)
Here is a copy of the prepared file.

2) I changed the language in format-document into anglais (English),
inserted two images then it works properly.

Note: when I insert a floating image then i have no problem

Have you an idea to bypass this problem and have French accentuation
available

Thanks

regards
Paul








Enrico's batch file (as modified below) should fix it for you.  If not, 
as a workaround, if you export your document to LaTeX and then run 
pdflatex against it, you should get the right result; it's only 
View-PDF (pdflatex) that screws up (because the .tex file written to 
the temp directory has mangled file names that start with C:/ (or 
whatever your drive letter is), and they apparently get misinterpreted 
by something (babel?).


Since you're using pdflatex, I think you will need to modify Enrico's 
batch file as follows.  First, do not name it latex.bat; you could call 
it pdflatex.bat, but I recommend something like mypdflatex.bat. 
Second, edit the last line to read pdflatex.exe %1.  Finally, inside 
LyX, go to Edit-Preferences-Converters, highlight the LaTeX-PDF 
(pdflatex) entry, change the Converter: line to read mypdflatex $$i, 
click Modify and then Save.  Hopefully that will fix the problem.


/Paul






Re: LyX on Cygwin

2006-02-24 Thread Enrico Forestieri
On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote:

 The View function doesn't work. It complains about missing
 TeX class article when I first load the .lyx document and
 C:\texmf~ is in my PATH.

Try reconfiguring after adjusting path_prefix (see below).

  The Tex Information produces a
 window but it contains no information.

Yes, I also see this, but then this also happens with 1.3.7.

 I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.

Correct. To see if that works try ls /c in a cygwin shell.

 Path prefix had no entries which I thought was a bit strange.

It is normal. In 1.3.7 entries are added by the windows installer.

 I've tried both of these in Path prefix
 C:/reader7/Reader/acrord32
 /c/reader7/Reader/acrord32
 
 I've tried both of these absolute paths in File formats Viewer
 C:/reader7/Reader/acrord32
 /c/reader7/Reader/acrord32
 originally it just said Viewer pdflatex, acrord32, but didn't work.

Please *always* use posix syntax in path_prefix, i.e., /c/reader7/...
and *not* C:/reader7/...

 The Working directory automatically generated by LyX is
 C:/Cygwin/.xemacs

Uh? It seems that you have not set the HOME variable. LyX/Cygwin uses
HOME instead of USERPROFILE. Perhaps I should patch the sources such
that USERPROFILE is used as a fallback if HOME is not set.
For the moment, you can fix this by adding the HOME var in the same
way you add the PATH var but in the user section. Set HOME to a folder
of your choice and then try launching LyX with the option -dbg init
to see what it thinks your home_dir is.

 The tmp directory generated by LyX is C:/Cygwin/tmp

This is correct.

 I also tried putting C:/texmf/miktex/bin in Path prefix
 and also the path to article.cls which is in ~/.../base
 separated from each other with a :  also :C:/reader7/etc

As I noted above, always use posix syntax in path_prefix, so
write that as /c/texmf/miktex/bin:/c/reader7/etc
The ':' char must only be used as a separator.
Please try the following as path_prefix (I am assuming that your
AcroRd32.exe is in C:\reader7\Reader\acrord32 and that you issued
the mount -f C: /c command)

/usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/texmf/miktex/bin:/c/reader7/Reader/acrord32

After modifying path_prefix, save the preferences and *restart* LyX.

 I'm not sure what is broken because of being a Pre version.
 For instance Import Latex is missing, it just has text imports.

This is a known issue when a version suffix is used (the configure
script should be called with the option --version-suffix=the_suffix
but it is not). To fix this do the following in a cygwin shell:

  cd /usr/local/bin
  ln -s tex2lyx-1.4.0.exe tex2lyx

and then reconfigure LyX.

 The spellchecker starts checking the second misspelled word.

This also is a known bug in LyX.

 Anyway your instructions are proven to work. A new user
 can search the archives and find clarifications in this thread.
 I've remembered to modify, apply, save, and Reconfigure.
 
 My favorite test file, sample.lyx, does convert eps and jpeg,

I think that you have a working copy of LyX. You should simply fix
some glitches.

-- 
Enrico





Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Friday, February 24, 2006 4:33 PM
Subject: Re: LyX on Cygwin



On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote:


The View function doesn't work. It complains about missing
TeX class article when I first load the .lyx document and
C:\texmf~ is in my PATH.


Try reconfiguring after adjusting path_prefix (see below).



SH: The rest of the error message is LyX will not be able to produce 
output.



 The Tex Information produces a
window but it contains no information.


Yes, I also see this, but then this also happens with 1.3.7.



Perhaps normal for Cygwin/Linux but you can see all these
files and their paths with Uwe or Angus native LyXwin. Or
with Mingw build of LyX1.4.0_pre3. It is how I used to check
that LyX communicated with Miktex:texmf


I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.


Correct. To see if that works try ls /c in a cygwin shell.



Yes I see lots of my stuff. When I use File-Open it still
displays the path in terms of /cygdrive/c/ which makes me nervous.


Path prefix had no entries which I thought was a bit strange.


It is normal. In 1.3.7 entries are added by the windows installer.


I've tried both of these in Path prefix
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32

I've tried both of these absolute paths in File formats Viewer
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32
originally it just said Viewer pdflatex, acrord32, but didn't work.


Please *always* use posix syntax in path_prefix, i.e., /c/reader7/...
and *not* C:/reader7/...



Ok, the reason I tried both was because /c/reader7/Reader/acrord32
failed to enable the pdflatex Viewing function.


The Working directory automatically generated by LyX is
C:/Cygwin/.xemacs


Uh? It seems that you have not set the HOME variable. LyX/Cygwin uses
HOME instead of USERPROFILE. Perhaps I should patch the sources such
that USERPROFILE is used as a fallback if HOME is not set.
For the moment, you can fix this by adding the HOME var in the same
way you add the PATH var but in the user section. Set HOME to a folder
of your choice and then try launching LyX with the option -dbg init
to see what it thinks your home_dir is.



I used to have Xemacs for Cygwin installed. I set the HOME variable
to C:\Cygwin\.xemacs for it. I now have another version of Xemacs set
to HOME there also so if I change it I have to move init.el files etc.


The tmp directory generated by LyX is C:/Cygwin/tmp


This is correct.


I also tried putting C:/texmf/miktex/bin in Path prefix
and also the path to article.cls which is in ~/.../base
separated from each other with a :  also :C:/reader7/etc


As I noted above, always use posix syntax in path_prefix, so
write that as /c/texmf/miktex/bin:/c/reader7/etc
The ':' char must only be used as a separator.
Please try the following as path_prefix (I am assuming that your
AcroRd32.exe is in C:\reader7\Reader\acrord32 and that you issued
the mount -f C: /c command)

/usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/texmf/miktex/bin:/c/reader7/Reader/acrord32



Oops. No acrord32 is short for the acrord32.exe I just noticed this
after trying it and it failed. So I tried :/c/reader7/Reader/ which didn't
work. I just tried it without the trailing slash /, and it didn't work.

I start LyX with an icon linked to C:\cygwin\usr\local\bin\LyX-1.4.0.exe
and it gives me an error message Locale en_US could not be set
which has never mattered in the past. My language is set to English in LyX.
The Locale error follows after the LyX will not be able to produce output.


After modifying path_prefix, save the preferences and *restart* LyX.



I did that. I did that, tried Reconfigure, closed and opened, to no avail.


I'm not sure what is broken because of being a Pre version.
For instance Import Latex is missing, it just has text imports.


This is a known issue when a version suffix is used (the configure
script should be called with the option --version-suffix=the_suffix
but it is not). To fix this do the following in a cygwin shell:

 cd /usr/local/bin
 ln -s tex2lyx-1.4.0.exe tex2lyx

and then reconfigure LyX.



By cracky it worked! I can now import Latex.


Anyway your instructions are proven to work. A new user
can search the archives and find clarifications in this thread.
I've remembered to modify, apply, save, and Reconfigure.

My favorite test file, sample.lyx, does convert eps and jpeg,


I think that you have a working copy of LyX. You should simply fix
some glitches.

--
Enrico



I've watched Reconfigure process. It says yes to finding pdflatex
and acrord32 and gsview32. I don't have any Viewers, no DVI or
Postscript. I added :/c/gs/gs8.51/bin:/c/ghostgum/gsview to Path
prefix and turned on Instant Preview. No previewers. Before when
I had this problem I ran sh configure from lyx/resources/lyx I'll
give that -dbg init a try 

Display problems, LyX-Qt on Mac

2006-02-24 Thread noeckel


Hi,

I've happily been using LyX on Mac under X11 with the xforms
interface for years now, and once in a while I try out the Qt
interface to see if it has gotten any better. I just tried fink's lyx-
qt 1.4.0pre5 and can't figure out how to access the lyx command line
(no meta key), and many important xemacs and aqua keybindings
requiring the meta key also appear to be inaccessible. All this is no
problem at all in xforms, where the Apple key works fine as Meta (set
up in ~/.Xmodmap).

Then I tried LyX-Qt for Mac, which is available as binary in version
1.3.7. That's almost useable.
However, in both of these LyX versions, I have problems with the
screen display of certain math glyphs. It's worse in fink's X11
version, so I'm attaching a screen shot below.
But in LyX-Qt/Mac, I also get into trouble whenever I try to get a
\iint or \oiint displayed. Here, by displayed I mean the screen
display without instant preview (I like to have the math equations
stand out in their own blue color instead of blending in with the
text). These integral symbols seem to be mapped onto the wrong
positions of the wasysym font in the symbols configuration file. Note
that in X11 lyx-qt, the \iint and \oiint symbols are actually
displayed correctly (in black, not in blue, for some reason...)
whereas the \int, \sum, \prod symbols appear with a dropped baseline.
So right now I'm sticking with lyx-xforms under Apple's X11, because
everything there works smoothly for me... maybe someone here has the
solution to these issues - I sure would like to move up to the new
features, but not at the expense of a broken screen display.

Jens

LyX 1.4.0pre5, X11 (OS X10.4.5):



lyx-fink_.png
Description: application/applefile





Re: Mayday: problem with french quotation marks

2006-02-24 Thread Karsten Heymann
Hello Alain,

[EMAIL PROTECTED] schrieb:
 I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in
 french and use french guillemets  and  for quotation. At least I
 try to, as they appear as spanish upside down exclamation-mark and
 question-mark.

I could not reproduce that (maybe you could post a minimal LyX file
showing the behaviour somewhere), but make sure you have enabled T1 as
fontencoding (I think it's in the preferences, but I don't have a LyX
here, if unsire export your file to latex and look for a line
\usepackage[T1]{fontenc}).

hth,
Karsten


Re: Can't find eps file when exporting

2006-02-24 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes:

> 
> Am Donnerstag, 23. Februar 2006 15:16 schrieb Jean-Pierre Chrétien:
> > If you're using TeXLive-2005, the dvips default behaviour has
> > shifted to secure: in particular, dvips won't accept absolute paths,
> > which LyX uses in the temporary.

In fact, secure mode was the default with previous versions, but it did not
include absolute or relative (..) path check.

>
> 
> Why is an absolute path insecure?

I guess that secure means that you can't navigate in  file systems
from the PS code.

-- 
Jean-Pierre




Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: "Enrico Forestieri" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, February 23, 2006 7:52 PM
Subject: Re: LyX on Cygwin



Stephen Harris <[EMAIL PROTECTED]> writes:
Uh, oh... have you installed the cygwin Qt package by chance?


But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
C:\Cygwin\usr\local\src\qt3\mkspecs

That file etc. didn't get copied over to the /lib directory by the 
script.

So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
Copied what I found to where the script said it looked and couldn't find.


Well, you should need to do no more and no less than what I put on
the wiki, otherwise it means that somenthing is going wrong...


Next I notice
C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
has no /bin and no ld. It just contains a directory called /bits
So I made that conform to the script (mkdir bin and copied /bin files).
Run /usr/bin/make confclean; set the Path and Qtdir again; run
link_includes;
run configure again with all options; edit all: # line; then 
/usr/bin/make;


Returned same error:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
cannot

open
 linker script file 
/usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata:

No
such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'


I cannot understand from where that prefix "/usr/lib/qt3" comes from.
If you have installed the official cygwin Qt packages, perhaps this is
a symptom of a sort of clashing.

--
Enrico



[EMAIL PROTECTED] /cygdrive/c/cygwin/usr/local/src/qt3
$ ./configure -platform cygwin-g++-win32 -v -release -static -qt-imgfmt-png 
etc.


So no it is not dynamic, I use this copy and paste every time
which is free of typos. But, I do have Qt3-C++/-bin/-devel all installed.
I am not sure anymore what is default and what I chose. Seems to me
that I also installed some developer tools like bison and flex. So I will
uninstall these three Qt3s and see what happens. Nope, didn't work.
There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:

$ sh link_includes
link_includes: line 6: cd: /usr/lib/qt3/include: No such file or directory
link_includes: line 20: cd: private: No such file or directory
ln: creating symbolic link `./q*_p.h' to `../../src/*/q*_p.h': No such file 
or

directory

But the current link_includes, cd "$QTDIR/include"

Maybe my environment is screwed up, I'll try printenv(print environment).

QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++

I changed that to (because that was the configure switch)
QMAKESPEC=/usr/local/src/qt3/mkspecs/cygwin-g++-win32
and QTDIR=/usr/local/src/qt3
I used tcsh for setenv QTDIR /usr/local/src/qt3 ?
I better check the tcsh Path entry, none, I just added that with bash.

The make completed with a few warnings.

---

2. libdir='/usr/local/qt3/src/lib'
to libdir='/usr/local/qt-cygwin/lib'

Does line 2. have a transposition? should be .../src/qt3

# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'

I found the above ^^^ and changed it to below, keeping the full path.
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'

--

Finished Qt3 and moving on to LyX

3. "Apply the following patch (fixes path_prefix handling):"
SH: Are the changes supposed to be applied as a manual edit?

Regards,
Stephen




Re: inserting image

2006-02-24 Thread Juergen Spitzmueller
Paul Schwartz wrote:
> "finally" when I select English in the format of the document, I still can
> type in French language including the French accentuations, display the
> text in pdf (pdflatex) and insert images without problem.
>
> Shall i understand that language=French is just a matter of dictionnary ?
> or is there other inconveniences ? otherwise it is not a problem for me to
> adjust language to use one or the other dictionnary (French or English or
> other ...)

No, it's important to get correct hyphenation, translation of strings such as 
"figure", "table", "chapter" etc., and -- especially in the case of FRENCH 
AFAIR -- correct typography (i.e. a small space after quotation marks).

The latter is what is causing your problems BTW.

Jürgen


Re: Locating bibliography inside a document

2006-02-24 Thread Nicolás

Hi!

You can do the following. Use Bibtex as usual and when your document is 
finished (i.e. all your references have been included) choose one of the 
two following options.
If you know the directory where LyX stores temporary working files, then 
click on View->DVI. After that go to the LyX's temp directory. You will 
see the generated .tex file plus other files, among then the generated 
.bbl file. Open that file, copy its content and paste it (as external 
selection) into an ERT box at the end of your LyX file. Remove the 
"Bibtex Generated Bibliography" box and that's it!
If you donæt know LyX's temp directory, just export as Latex, compile to 
get the .bbl file and do as explained before.


Good luck!

Nicolás




LB wrote:

Hello

I've always been using BibTex to create references.  However for the 
next article that I preparing for submission, the publisher requires the 
bibliography to be inside the tex document so that they receive one 
complete file.  The bibliography style I'm using is IEEEtran.bst which 
is what the publisher also needs.


I'm hoping that I could copy and paste entrees from my .bib file into 
Lyx but it did not work when I did that directly.  Is there a tex 
command that should surround the pasted version of the .bib file?  Is 
this possible to do at all?


I'm using Lyx 1.3.5 on Windows XP.

Thank you
LB






Re: LyX on Cygwin

2006-02-24 Thread Enrico Forestieri
Stephen Harris <[EMAIL PROTECTED]> writes:

> 
> Stephen  textonyx /cygdrive/c/cygwin/usr/local/src/qt3
> $ ./configure -platform cygwin-g++-win32 -v -release -static -qt-imgfmt-png 
> etc.
> 
> So no it is not dynamic, I use this copy and paste every time
> which is free of typos. But, I do have Qt3-C++/-bin/-devel all installed.

So that's the problem. I investigated a bit and found that qt3-devel
is the culprit. It installs the following two files:

/etc/profile.d/qt3-devel.csh
/etc/profile.d/qt3-devel.sh

this files are automatically sourced when tcsh or sh are started, and
guess what? They define QTDIR to /usr/lib/qt3.
You need not uninstalling those packages, simply move out of the way
those two files by renaming them as

/etc/profile.d/qt3-devel.csh.no
/etc/profile.d/qt3-devel.sh.no

Really it suffices that the extension be different from .csh or .sh.
Time to update the wiki page, I guess...

> I am not sure anymore what is default and what I chose. Seems to me
> that I also installed some developer tools like bison and flex. So I will
> uninstall these three Qt3s and see what happens. Nope, didn't work.

You have to run "make confclean" and configure again as you have
/usr/lib/qt3 hardcoded in the Makefiles...
Also, make sure that you do not have those files above in /etc/profile.d

> There was no /usr/lib/qt3 before I recently created it to accomodate
> the script error report. I found it here:

Please, don't do that, fix the QTDIR problem, instead.

> $ sh link_includes
> link_includes: line 6: cd: /usr/lib/qt3/include: No such file or directory
> link_includes: line 20: cd: private: No such file or directory
> ln: creating symbolic link `./q*_p.h' to `../../src/*/q*_p.h': No such file 
> or
> directory

That is clearly an evidence that QTDIR is still set to /usr/lib/qt3

> But the current link_includes, cd "$QTDIR/include"
> 
> Maybe my environment is screwed up, I'll try printenv(print environment).
> 
> QTDIR=/usr/lib/qt3
> QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++

As I said above...

> I changed that to (because that was the configure switch)
> QMAKESPEC=/usr/local/src/qt3/mkspecs/cygwin-g++-win32
> and QTDIR=/usr/local/src/qt3
> I used tcsh for setenv QTDIR /usr/local/src/qt3 ?
> I better check the tcsh Path entry, none, I just added that with bash.
> 
> The make completed with a few warnings.

You can safely ignore them.

> ---
> 
> 2. libdir='/usr/local/qt3/src/lib'
> to libdir='/usr/local/qt-cygwin/lib'
> 
> Does line 2. have a transposition? should be .../src/qt3

Ops, you are right. I'll correct that.

> # Directory that this library needs to be installed in:
> libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'
> 
> I found the above ^^^ and changed it to below, keeping the full path.
> # Directory that this library needs to be installed in:
> libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'

I see that you use /cygdrive/c to access drive C:. If you issue the
following command (you need to do it only once as the results are
stored in a mount table):

mount -f C: /c

then you can write /c/path instead of /cygdrive/c/path to access the
windows C:\path. Also, you don't need to write
"/cygdrive/c/cygwin/usr/local/qt-cygwin/lib" but simply
"/usr/local/qt-cygwin/lib" because when a path starts with "/" it
refers to the cygwin root which is at /cygdrive/c/cygwin, in your case.

> --
> 
> Finished Qt3 and moving on to LyX

hurrah!

> 3. "Apply the following patch (fixes path_prefix handling):"
> SH: Are the changes supposed to be applied as a manual edit?

Yes, it is a so simple patch after all. Simply add the lines marked
with a starting + . As you see in the patch, you should look around
line 95 in the file src/support/environment.C.

Looking forward for a working LyX/Cygwin ;-)

-- 
Enrico






Re: Palatino leads to many overfull hbox-es

2006-02-24 Thread Helge Hafting

Peter Hegt wrote:

Hi, 


Tried \usepackage{microtype}, result looks quite nice. Much less
overfull hbox-es. Maybe I could reduce the left & right margins a little
to get to about 60 letters per line (or is this a sin, even for A5?) 
 


The margins are adjustable because they are meant to be. :-)
You can reduce them a little, but take care so it don't get ugly.
Also consider adjusting the top/bottom margins by the same
percentage as the side margins.

There is no single standard for the margins on A5 or any
other paper.  About 66 letters per line is considered
optimal.  More, and the reader gets trouble finding the next
line.  Less, and he has to move his eyes a lot, and you get
trouble with the line breaks.

A smaller font will also help, but may cause readability problems.

Helge Hafting



aspell problem

2006-02-24 Thread Harold Mouras
Hello all,

I am using Lyx 1.3.7 for windows but don’t have any access to aspell for the
spellchecking of my documents.

Should I put something specific in the preferences of lyx ?

I tried to reinstall aspell with the windows installer independently but it
didn”t work, even in c:\aspell 

Could you help me to fix that ?

Thank you very much in advance,

Sincerely,

Harold

 

Harold Mouras  

Assistant Post-Doctorant

--

Equipe Développement Social et Affectif

Faculté de Psychologie - 40 boulevard du Pont d'Arve

CH-1211 Genève

Téléphone: +41 22 37 99 054  

Télécopie: +41 22 37 99 020

  [EMAIL PROTECTED]

 
www.unige.ch/fapse/PSY/persons/vief/

---

 



Re: "LyX-Code" and "Typewriter" environment: how to change the font?

2006-02-24 Thread Helge Hafting

Joerg Hau wrote:


Hi,

How does one change the font that is used (a) for the "LyX-Code" 
environment, (b) for "typewriter" character markup?


I would like to modify the font size, and/or eventually change the font for 
these two completely. Maybe I have searched in the wrong places ;-), but I 
have not found an answer to this question yet ... ?


Thanks for any hint,
and have a nice day!
 


This can be done with a small custom .layout, such as
the one at the end of this message.  It is a custom document
type (mybook) that simply inherits everything from
scrbook (Koma-script book) and adds a smallcode
paragraph type that provides scriptsized code with no
extra left margin.

Put it in .lyx/layouts, use the "reconfigure" menu option, and
you may then use the "mybook" document class which supports
"smallcode" paragraphs.

If you want "mybook" based on something else than scrbook,
change the "\DeclareLaTeXClass" and "Input scrbook.layout"
in the beginning.

For a different fontsize, replace "scriptsize" with another size.

If you like the extra left/right margins LyX-Code provides,
change to LeftMargin MMM and RightMargin MMM.

Note that this file is for lyx-1.4, but doing the same
for lyx-1.3 is no harder.

The file mybook.layout:
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrbook]{book (mybook)}

Format 2
Input scrbook.layout

Columns 1
Sides 1
PageStyle fancy

Classoptions
PageStyle "empty|fancy"
FontSize "12"
End

DefaultStyle "Standard"

Style Code-small
 CopyStyle LyX-Code
 LatexType Environment
 LatexName codesmall
 LeftMargin ""
 RightMargin ""
 Font
   Size Scriptsize
   Family Typewriter
 EndFont
 Preamble
\newenvironment{codesmall}
{\begin{scriptsize}\begin{list}{}{
\setlength{\leftmargin}{0pt}
\setlength{\rightmargin}{0pt}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
\item[]}
{\end{list}\end{scriptsize}}
 EndPreamble
End

Preamble

EndPreamble



Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: "Enrico Forestieri" <[EMAIL PROTECTED]>

To: 
Sent: Friday, February 24, 2006 1:15 AM
Subject: Re: LyX on Cygwin



Stephen Harris <[EMAIL PROTECTED]> writes:




You need not uninstalling those packages, simply move out of the way
those two files by renaming them as

/etc/profile.d/qt3-devel.csh.no
/etc/profile.d/qt3-devel.sh.no



I can reinstall them and rename them. I was toying with the idea
of building a kde-cygwin desktop, maybe that is why I got them.


I am not sure anymore what is default and what I chose. Seems to me
that I also installed some developer tools like bison and flex. So I will
uninstall these three Qt3s and see what happens. Nope, didn't work.


You have to run "make confclean" and configure again as you have
/usr/lib/qt3 hardcoded in the Makefiles...
Also, make sure that you do not have those files above in /etc/profile.d



I did run make confclean and also -R for the patch. But I used
bash to set the environment.


There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:


Please, don't do that, fix the QTDIR problem, instead.



Yes, I will clean that extra /lib directory up.


Maybe my environment is screwed up, I'll try printenv(print environment).

QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++


As I said above...



Yes.




---

# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'

I found the above ^^^ and changed it to below, keeping the full path.
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'


I see that you use /cygdrive/c to access drive C:. If you issue the
following command (you need to do it only once as the results are
stored in a mount table):

mount -f C: /c

then you can write /c/path instead of /cygdrive/c/path to access the
windows C:\path. Also, you don't need to write
"/cygdrive/c/cygwin/usr/local/qt-cygwin/lib" but simply
"/usr/local/qt-cygwin/lib" because when a path starts with "/" it
refers to the cygwin root which is at /cygdrive/c/cygwin, in your case.



Good, I will change that. Also I will look into that rsvt display.


--

Finished Qt3 and moving on to LyX


hurrah!




3. "Apply the following patch (fixes path_prefix handling):"
SH: Are the changes supposed to be applied as a manual edit?


Yes, it is a so simple patch after all. Simply add the lines marked
with a starting + . As you see in the patch, you should look around
line 95 in the file src/support/environment.C.



Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!


Looking forward for a working LyX/Cygwin ;-)

--
Enrico



Thanks for all your help and tremendous effort in figuring
out a working installation. I think it is miraculous that you
could figure out all those configure switches. Now when
somebody asks about Cygwin and LyX they can be pointed
to your Wiki page. I'm writing this as I wait for make to finish.

Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll

Regards,
Stephen





Problem with hyperref and long names

2006-02-24 Thread Gisbert, Fernando
Possibly this is not a lyx question but a latex one, but anyway, any answer 
will be greatly appreciated. I am trying to use hyperref to navigate my pfd 
document, but when I write long title names, hyperref is not able to break the 
line, and it gets out of the page. Is there any option in hyperref to avoid 
this situation? Or is any other package that manages this appropriately?
Thanks in advance.


Code page in LyX for Windows

2006-02-24 Thread Marek L. Szwabowicz
Dear LyXers:

I'm an experienced user of LyX under Windows --- dating back to Claus 
Henschel's first port. 
Yesterday I installed Wiki Wiki's port v. 1.3.7. I'm running Windows XP Polish 
version, 
which means I am using MS code page cp1250.

Soon after installation I found out that I am not able to input Polish 
characters from 
keyboard the way it is commonly done under all Windows system, i.e. by pressing 
and 
holding the right Alt key and then pressing the relevant standard key. Nothing 
happens when 
I do this. This functioned, however, in the previous port (ver. 1.3.5) by Ruurd 
Reitsma 
without any problems. (In the case of still earlier port by Claus Henschel I 
remember I 
had to produce my own special keyboard file.) This version seems to come with 
either ISO 
8859 -1 or cp 1252 hard-wired --- I haven't checked which is the case.

I am fully aware of the possibily of creating keyboard bindings file or using 
any of the 
existing ones, but want to avoid this for other reasons.

Does by any chance any of you know whether this is intended situation or is a 
bug?
Or perhaps I have missed some setting option?

Thanx in advance



With best wishes

Marek L. Szwabowicz
_
Internet: [EMAIL PROTECTED]
_
GDYNIA MARITIME ACADEMY
FACULTY OF MARINE ENGINEERING

ul. Morska 83
81 - 225 Gdynia, POLAND

Tel. (+58) 69 01 452
  (+58) 69 01 331
Fax  (+58) 69 01 339
_



Re: Problem with hyperref and long names

2006-02-24 Thread Uwe Stöhr

Gisbert, Fernando schrieb:

> I am trying to use hyperref to navigate my pfd document, but when I 
write long title names, hyperref is
> not able to break the line, and it gets out of the page. Is there any 
option in hyperref to avoid this

> situation?

The PDF-bookmarks are restricted to one line. You can only set

- a short title
- or an alternative title that should be displayed as PDF-bookmark

I attached an example LyX-file showing the possibilities.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Code page in LyX for Windows

2006-02-24 Thread Uwe Stöhr

Marek L. Szwabowicz schrieb:

I'm an experienced user of LyX under Windows --- dating back to Claus Henschel's first port. 
Yesterday I installed Wiki Wiki's port v. 1.3.7.


This one:?

http://wiki.lyx.org/Windows/LyXWinInstaller

I'm running Windows XP Polish version, 
which means I am using MS code page cp1250.


Soon after installation I found out that I am not able to input Polish characters from 
keyboard the way it is commonly done under all Windows system, i.e. by pressing and 
holding the right Alt key and then pressing the relevant standard key. Nothing happens when 
I do this. This functioned, however, in the previous port (ver. 1.3.5) by Ruurd Reitsma 
without any problems. (In the case of still earlier port by Claus Henschel I remember I 
had to produce my own special keyboard file.) This version seems to come with either ISO 
8859 -1 or cp 1252 hard-wired --- I haven't checked which is the case.


LyX input character set is hardcoded to ISO 8859-1, version 1.5 of LyX 
will hopefully support unicode to enable to write in every language.


However, Thomasz Łuczak uses LyX for Windows to write polish texts. I 
hope he can help you. Please report your results on this list.


regards Uwe


Where did it go?

2006-02-24 Thread Srinivas Nedunuri

I tried exporting my lyx file as a latex file using File | Export | Latex. 
It appears to be carrying out the export, at least according to the status 
buffer, but I am unable to locate the file! Its not in the same directory. I 
looked in the lyx/tmp directory, and while there appear to be old 
conversions sitting there, there is nothing recent. I know this used to 
work, I haven't used Lyx in a few months, so i may be fogetting something. 
Can anyone help?

(I tried reconfigure already)

Thanks for your help!






inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Jeff Whitaker


Hi:  I'm having trouble getting inverse dvi search to work with pre5 
(X11 version of lyx on OS X).


I've set File Formats->Viewer->DVI to xdvi -editor 'lyxclient -g %f %l'

and

Converters->LaTex to DVI->latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptr::operator->() const [with 
T = LyXDataSocket] by failing check "px != 0" in file 
../boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap

-Jeff

--
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg


Re: inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Bennett Helm

On Feb 24, 2006, at 12:51 PM, Jeff Whitaker wrote:



Hi:  I'm having trouble getting inverse dvi search to work with  
pre5 (X11 version of lyx on OS X).


Note that I haven't tried compiling LyX-1.4.0 with X11.

I've set File Formats->Viewer->DVI to xdvi -editor 'lyxclient -g %f  
%l'


and

Converters->LaTex to DVI->latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptr::operator->() const  
[with T = LyXDataSocket] by failing check "px != 0" in file ../ 
boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap


Using the native LyX/Mac version (i.e., not X11), I don't get this at  
all. The cursor in LyX properly jumps to the appropriate row (though  
the screen doesn't move to that row, whether or not the "Cursor  
follows scrollbar" option is checked in Preferences > User Interface).


Bennett

P.S.: I didn't realize Fink was providing a LyX-1.4.0 version for  
X11. Why not use the Mac native version?


Re: inverse dvi search with 1.4.0pre5 triggers crash

2006-02-24 Thread Jeff Whitaker

Bennett Helm wrote:

On Feb 24, 2006, at 12:51 PM, Jeff Whitaker wrote:



Hi:  I'm having trouble getting inverse dvi search to work with  pre5 
(X11 version of lyx on OS X).



Note that I haven't tried compiling LyX-1.4.0 with X11.


I've set File Formats->Viewer->DVI to xdvi -editor 'lyxclient -g %f  %l'

and

Converters->LaTex to DVI->latex --src-specials $$i


When I ctrl-click on something in xdvi I get

command 'lyxclient -g /private/tmp/lyx_tmp1494gcbk5g/file.tex 560'
 exited with error code 1
lyxclient: no answer from server

and lyx crashes with this message printed in the terminal

Assertion triggered in T* boost::shared_ptr::operator->() const  
[with T = LyXDataSocket] by failing check "px != 0" in file ../ 
boost/boost/shared_ptr.hpp:253

/sw/bin/lyx: line 15:  1494 Abort trap



Using the native LyX/Mac version (i.e., not X11), I don't get this at  
all. The cursor in LyX properly jumps to the appropriate row (though  
the screen doesn't move to that row, whether or not the "Cursor  follows 
scrollbar" option is checked in Preferences > User Interface).


Bennett

P.S.: I didn't realize Fink was providing a LyX-1.4.0 version for  X11. 
Why not use the Mac native version?


Because I often use may mac remotely thru an SSH tunnel - aqua apps 
can't do that (unless you use vnc or somesuch).


-Jeff


--
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : [EMAIL PROTECTED]
325 BroadwayOffice : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg


Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: "Enrico Forestieri" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, February 24, 2006 6:29 AM
Subject: Re: LyX on Cygwin



On Fri, 24 Feb 2006 03:55:43 -0800, Stephen Harris wrote:


Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!


You should do nothing apart assuring that they are in the system PATH
which you can set through the "Advanced" tab in "Control Panel->System"
or use path_prefix (see below).




SH: I put C:\cygwin\bin in the PATH


Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll


No, don't do that. Simply add C:\cygwin\bin to the PATH as explained 
above.
You could set path_prefix as in the native version through LyX 
preferences.

The path_prefix should be written in posix (cygwin) syntax and I suggest
that you put as the first elements the following ones:

/usr/local/bin:/usr/bin:/usr/X11R6/bin

and then fill in whatever you like using ':' as a separator.
In this way you can put the epstopdf and convert scripts in /usr/local/bin
which is searched first.

Once you filled in path_prefix in LyX as I suggested above, I think that
you could also remove C:\cygwin\bin from the system PATH, but I have not
checked it (Hmm... may be it doesn't work...)

--
Enrico



The View function doesn't work. It complains about missing
TeX class "article" when I first load the .lyx document and
C:\texmf~ is in my PATH. The Tex Information produces a
window but it contains no information.

I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.

Path prefix had no entries which I thought was a bit strange.
I've tried both of these in Path prefix
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32

I've tried both of these absolute paths in File formats Viewer
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32
originally it just said Viewer pdflatex, acrord32, but didn't work.

The Working directory automatically generated by LyX is
C:/Cygwin/.xemacs

The tmp directory generated by LyX is C:/Cygwin/tmp

I also tried putting C:/texmf/miktex/bin in Path prefix
and also the path to article.cls which is in ~/.../base
separated from each other with a :  also :C:/reader7/etc

I'm not sure what is broken because of being a Pre version.
For instance Import Latex is missing, it just has text imports.
The spellchecker starts checking the second misspelled word.

Anyway your instructions are proven to work. A new user
can search the archives and find clarifications in this thread.
I've remembered to modify, apply, save, and Reconfigure.

My favorite test file, sample.lyx, does convert eps and jpeg,
Stephen







Re: Mayday: problem with french quotation marks

2006-02-24 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in french and
use french guillemets << and >> for quotation. At least I try to, as they
appear as spanish upside down exclamation-mark and question-mark. I remember
having the problem once but can't figure out how I solved it. I use latin9
coding and french
both in  Preferences and Document. Other combination like french (gutemberg) or
other codings won't do any good. Please help...
Thanks,

--
Alain DIDIERJEAN
 Puisque ces mystères nous dépassent
 Feignons d'en être l'organisateur.




Don't know about 1.3.5, but in 1.3.7 you just change Layout -> Document 
-> Language -> Quote Style to double and select <> from the 
drop-down Type list.  If that's not a feature in 1.3.5, perhaps you 
should consider upgrading (which I recommend in any case).


HTH,

/Paul




Re: inserting image

2006-02-24 Thread Paul A. Rubin

Paul Schwartz wrote:


Sorry again,

1) I tried with an English language file without changing the basic 
language
of the document, i.e. remaining in French :it appears to be the same 
result.

I inserted three images, I got 15 errors. always trying to display PDF
(pdflatex)
Here is a copy of the prepared file.

2) I changed the language in format->document into "anglais" (English),
inserted two images then it works properly.

Note: when I insert a floating image then i have no problem

Have you an idea to bypass this problem and have French accentuation
available

Thanks

regards
Paul








Enrico's batch file (as modified below) should fix it for you.  If not, 
as a workaround, if you export your document to LaTeX and then run 
pdflatex against it, you should get the right result; it's only 
View->PDF (pdflatex) that screws up (because the .tex file written to 
the temp directory has "mangled" file names that start with "C:/" (or 
whatever your drive letter is), and they apparently get misinterpreted 
by something (babel?).


Since you're using pdflatex, I think you will need to modify Enrico's 
batch file as follows.  First, do not name it latex.bat; you could call 
it pdflatex.bat, but I recommend something like "mypdflatex.bat". 
Second, edit the last line to read "pdflatex.exe %1".  Finally, inside 
LyX, go to Edit->Preferences->Converters, highlight the LaTeX->PDF 
(pdflatex) entry, change the Converter: line to read mypdflatex $$i, 
click Modify and then Save.  Hopefully that will fix the problem.


/Paul






Re: LyX on Cygwin

2006-02-24 Thread Enrico Forestieri
On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote:

> The View function doesn't work. It complains about missing
> TeX class "article" when I first load the .lyx document and
> C:\texmf~ is in my PATH.

Try reconfiguring after adjusting path_prefix (see below).

>  The Tex Information produces a
> window but it contains no information.

Yes, I also see this, but then this also happens with 1.3.7.

> I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.

Correct. To see if that works try "ls /c" in a cygwin shell.

> Path prefix had no entries which I thought was a bit strange.

It is normal. In 1.3.7 entries are added by the windows installer.

> I've tried both of these in Path prefix
> C:/reader7/Reader/acrord32
> /c/reader7/Reader/acrord32
> 
> I've tried both of these absolute paths in File formats Viewer
> C:/reader7/Reader/acrord32
> /c/reader7/Reader/acrord32
> originally it just said Viewer pdflatex, acrord32, but didn't work.

Please *always* use posix syntax in path_prefix, i.e., /c/reader7/...
and *not* C:/reader7/...

> The Working directory automatically generated by LyX is
> C:/Cygwin/.xemacs

Uh? It seems that you have not set the HOME variable. LyX/Cygwin uses
HOME instead of USERPROFILE. Perhaps I should patch the sources such
that USERPROFILE is used as a fallback if HOME is not set.
For the moment, you can fix this by adding the HOME var in the same
way you add the PATH var but in the user section. Set HOME to a folder
of your choice and then try launching LyX with the option "-dbg init"
to see what it thinks your home_dir is.

> The tmp directory generated by LyX is C:/Cygwin/tmp

This is correct.

> I also tried putting C:/texmf/miktex/bin in Path prefix
> and also the path to article.cls which is in ~/.../base
> separated from each other with a :  also :C:/reader7/etc

As I noted above, always use posix syntax in path_prefix, so
write that as /c/texmf/miktex/bin:/c/reader7/etc
The ':' char must only be used as a separator.
Please try the following as path_prefix (I am assuming that your
AcroRd32.exe is in C:\reader7\Reader\acrord32 and that you issued
the "mount -f C: /c" command)

/usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/texmf/miktex/bin:/c/reader7/Reader/acrord32

After modifying path_prefix, save the preferences and *restart* LyX.

> I'm not sure what is broken because of being a Pre version.
> For instance Import Latex is missing, it just has text imports.

This is a known issue when a version suffix is used (the configure
script should be called with the option --version-suffix=
but it is not). To fix this do the following in a cygwin shell:

  cd /usr/local/bin
  ln -s tex2lyx-1.4.0.exe tex2lyx

and then reconfigure LyX.

> The spellchecker starts checking the second misspelled word.

This also is a known bug in LyX.

> Anyway your instructions are proven to work. A new user
> can search the archives and find clarifications in this thread.
> I've remembered to modify, apply, save, and Reconfigure.
> 
> My favorite test file, sample.lyx, does convert eps and jpeg,

I think that you have a working copy of LyX. You should simply fix
some glitches.

-- 
Enrico





Re: LyX on Cygwin

2006-02-24 Thread Stephen Harris


- Original Message - 
From: "Enrico Forestieri" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, February 24, 2006 4:33 PM
Subject: Re: LyX on Cygwin



On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote:


The View function doesn't work. It complains about missing
TeX class "article" when I first load the .lyx document and
C:\texmf~ is in my PATH.


Try reconfiguring after adjusting path_prefix (see below).



SH: The rest of the error message is "LyX will not be able to produce 
output."



 The Tex Information produces a
window but it contains no information.


Yes, I also see this, but then this also happens with 1.3.7.



Perhaps normal for Cygwin/Linux but you can see all these
files and their paths with Uwe or Angus native LyXwin. Or
with Mingw build of LyX1.4.0_pre3. It is how I used to check
that LyX communicated with Miktex:texmf


I used mount -f C: /c  (not mount -f C: /cygdrive/c ?) as advised.


Correct. To see if that works try "ls /c" in a cygwin shell.



Yes I see lots of my stuff. When I use File->Open it still
displays the path in terms of /cygdrive/c/ which makes me nervous.


Path prefix had no entries which I thought was a bit strange.


It is normal. In 1.3.7 entries are added by the windows installer.


I've tried both of these in Path prefix
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32

I've tried both of these absolute paths in File formats Viewer
C:/reader7/Reader/acrord32
/c/reader7/Reader/acrord32
originally it just said Viewer pdflatex, acrord32, but didn't work.


Please *always* use posix syntax in path_prefix, i.e., /c/reader7/...
and *not* C:/reader7/...



Ok, the reason I tried both was because /c/reader7/Reader/acrord32
failed to enable the pdflatex Viewing function.


The Working directory automatically generated by LyX is
C:/Cygwin/.xemacs


Uh? It seems that you have not set the HOME variable. LyX/Cygwin uses
HOME instead of USERPROFILE. Perhaps I should patch the sources such
that USERPROFILE is used as a fallback if HOME is not set.
For the moment, you can fix this by adding the HOME var in the same
way you add the PATH var but in the user section. Set HOME to a folder
of your choice and then try launching LyX with the option "-dbg init"
to see what it thinks your home_dir is.



I used to have Xemacs for Cygwin installed. I set the HOME variable
to C:\Cygwin\.xemacs for it. I now have another version of Xemacs set
to HOME there also so if I change it I have to move init.el files etc.


The tmp directory generated by LyX is C:/Cygwin/tmp


This is correct.


I also tried putting C:/texmf/miktex/bin in Path prefix
and also the path to article.cls which is in ~/.../base
separated from each other with a :  also :C:/reader7/etc


As I noted above, always use posix syntax in path_prefix, so
write that as /c/texmf/miktex/bin:/c/reader7/etc
The ':' char must only be used as a separator.
Please try the following as path_prefix (I am assuming that your
AcroRd32.exe is in C:\reader7\Reader\acrord32 and that you issued
the "mount -f C: /c" command)

/usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/texmf/miktex/bin:/c/reader7/Reader/acrord32



Oops. No acrord32 is short for the acrord32.exe I just noticed this
after trying it and it failed. So I tried :/c/reader7/Reader/ which didn't
work. I just tried it without the trailing slash /, and it didn't work.

I start LyX with an icon linked to C:\cygwin\usr\local\bin\LyX-1.4.0.exe
and it gives me an error message "Locale en_US could not be set"
which has never mattered in the past. My language is set to English in LyX.
The Locale error follows after the "LyX will not be able to produce output."


After modifying path_prefix, save the preferences and *restart* LyX.



I did that. I did that, tried Reconfigure, closed and opened, to no avail.


I'm not sure what is broken because of being a Pre version.
For instance Import Latex is missing, it just has text imports.


This is a known issue when a version suffix is used (the configure
script should be called with the option --version-suffix=
but it is not). To fix this do the following in a cygwin shell:

 cd /usr/local/bin
 ln -s tex2lyx-1.4.0.exe tex2lyx

and then reconfigure LyX.



By cracky it worked! I can now import Latex.


Anyway your instructions are proven to work. A new user
can search the archives and find clarifications in this thread.
I've remembered to modify, apply, save, and Reconfigure.

My favorite test file, sample.lyx, does convert eps and jpeg,


I think that you have a working copy of LyX. You should simply fix
some glitches.

--
Enrico



I've watched Reconfigure process. It says yes to finding pdflatex
and acrord32 and gsview32. I don't have any Viewers, no DVI or
Postscript. I added :/c/gs/gs8.51/bin:/c/ghostgum/gsview to Path
prefix and turned on Instant Preview. No previewers. Before when
I had this problem I ran sh configure from lyx/resources/lyx I'll
give that -dbg 

Display problems, LyX-Qt on Mac

2006-02-24 Thread noeckel


Hi,

I've happily been using LyX on Mac under X11 with the xforms
interface for years now, and once in a while I try out the Qt
interface to see if it has gotten any better. I just tried fink's lyx-
qt 1.4.0pre5 and can't figure out how to access the lyx command line
(no meta key), and many important xemacs and aqua keybindings
requiring the meta key also appear to be inaccessible. All this is no
problem at all in xforms, where the Apple key works fine as Meta (set
up in ~/.Xmodmap).

Then I tried LyX-Qt for Mac, which is available as binary in version
1.3.7. That's almost useable.
However, in both of these LyX versions, I have problems with the
screen display of certain math glyphs. It's worse in fink's X11
version, so I'm attaching a screen shot below.
But in LyX-Qt/Mac, I also get into trouble whenever I try to get a
\iint or \oiint displayed. Here, by "displayed" I mean the screen
display without instant preview (I like to have the math equations
stand out in their own blue color instead of blending in with the
text). These integral symbols seem to be mapped onto the wrong
positions of the wasysym font in the symbols configuration file. Note
that in X11 lyx-qt, the \iint and \oiint symbols are actually
displayed correctly (in black, not in blue, for some reason...)
whereas the \int, \sum, \prod symbols appear with a dropped baseline.
So right now I'm sticking with lyx-xforms under Apple's X11, because
everything there works smoothly for me... maybe someone here has the
solution to these issues - I sure would like to move up to the new
features, but not at the expense of a broken screen display.

Jens

LyX 1.4.0pre5, X11 (OS X10.4.5):



lyx-fink_.png
Description: application/applefile





Re: Mayday: problem with french quotation marks

2006-02-24 Thread Karsten Heymann
Hello Alain,

[EMAIL PROTECTED] schrieb:
> I just reinstalled LyX 1.3.5 on a brand new computer. I'm writing in
> french and use french guillemets << and >> for quotation. At least I
> try to, as they appear as spanish upside down exclamation-mark and
> question-mark.

I could not reproduce that (maybe you could post a minimal LyX file
showing the behaviour somewhere), but make sure you have enabled T1 as
fontencoding (I think it's in the preferences, but I don't have a LyX
here, if unsire export your file to latex and look for a line
\usepackage[T1]{fontenc}).

hth,
Karsten