Re: Error message LaTeX Error: no \title given

2006-09-26 Thread Juergen Spitzmueller
winson wrote:
 I use LyX 1.42 on Windows XP. I am typing an article
 with the attached 'ndst.sty' style file. Each time I
 tried to view the article 'Example.lyx' in DVI format,
 I got an error message LaTeX Error: no \title given.
 There are only three lines in 'Example.lyx': title,
 author, and date. I have not used LaTeX and LyX for a
 long time until now. So I am not sure if this is a
 problem of 'ndst.sty' or a bug of LyX. Could anyone
 give me a little help? Thanks.

Your ndst.sty redefines \title, \author etc. to be used _without_ the 
\maketitle command. This interferes with article.cls when LyX inserts the 
\maketitle command.

Two solutions:

1. quick and dirty: 
insert
\renewcommand\maketitle{}
to your preamble

2. Better:
in your layout file, insert add the end of the file something like (untested)

Style Title
InTitle   0
End

Style Author
InTitle   0
End

Style Date
InTitle  0
End

HTH,
Jürgen


 Winson



LyX143-3 works

2006-09-26 Thread Mukhtar Ullah
Dear all,
Finally arrived the LyX143-3 which worked on my computer (and hopefully on those
who were having problems). So many thanks for those who tried to respond to our
requests. 

Free software zinda abad

Mukhtar



incompatibility of layouts bteween version 1.3 and 1.4

2006-09-26 Thread nicolas roy
Dear all, 

First sorry for bothering. I should first check in the archive if my
issue was not already discussed, but the webpage of the archived list
does not function.
Up to recently, i had Lyx 1.3.6 and i used several layout (for
mathematics article, with theorem environnments) that i found on
internet (they were some months/years ago available on the Lyx
webpage). 
Unfortunately, since i updated to 1.4 version, these old layouts do not
function any more. Therefore, the environments of all my old documents
are completely messed-up.
Nevertheless, i read somewhere that lyx 1.4 should automaticaly update
the layouts files. 

Does anyone have an idea/comment ??
Thanks, in advance.


-- 
Dr Nicolas Roy
Geometric Analysis Group
Institut für Mathematik
Humboldt Universität
Rudower Chaussee 25
Berlin D-12489

Tel: +49 (30) 20932358
Fax:  +49 (30) 20932727
[EMAIL PROTECTED]
http://www.math.hu-berlin.de/~roy/
icq : 86185073



Re: Alphabetical List

2006-09-26 Thread Jean-Marc Lasgouttes
 joe == [EMAIL PROTECTED] com [EMAIL PROTECTED] writes:

joe Hi, I hope this isnt too much of a daft question as i am very new
joe to lyx and latex, and am still not sure the limits of what it can
joe do and what i have to do...

joe  Is it possible to have latex/lyx sort a Description list based
joe on alphabetical ordering?

This is not possible currently. I do not know of any LaTeX package
that does this (would it even be possible?), and LyX itself does not
have the capability.

JMarc


Problems with Bibtex in Lyx

2006-09-26 Thread sk
Hello,

after writing lots of letters now I am trying to write my first longer
piece in Lyx (for a 25 page homework).

I use:

Lyx 1.4.3.
Doc. Class: book (koma-script)
A Bibtex File I compiled with JebRef which I have imported as a bibtex
reference list (I enabled 'display in TOC')

I added citations in my text and they show up nicely in Lyx, but
whenever I export them to pdf, it only shows question marks at the point
where the citation should be. Also the reference list only shows up in
the TOC but not on the page where it is supposed to be. I don't know
what I am doing wrong here, as I understand that once I cited something,
it should show in the reference list in the document.

Further questions I have:
The Doc Class I use supports numbered and unnumbered Chapters, also
there is something like Chapter (TOC) what is this? Is there some trick
to use numbered chapters and unnumbered chapters in the same document?
It does not seem to work with me, but I would like it, as I have some
Chapters which have to be numbered and some that don't (like an epilogue)

How can I switch my userinterface of Lyx back to English (as I am
posting here, I am using German - I hope I translated everything right
though)

Thanks a lot
Stefan


Re: Debugging python scripts called by LyX

2006-09-26 Thread Paul A. Rubin

Giovanni,

One of the developers starting experiencing similar symptoms.  His post 
([EMAIL PROTECTED]) to the developer list 
suggests that it might be tied to an upgrade from MikTeX 2.4 to 2.5.  He 
thinks it only occurs when trying to update a DVI that yap currently has 
open.  I can't recall the original symptoms you reported, so I'm not 
sure if this is consistent with your experiments.


/Paul



Re: incompatibility of layouts bteween version 1.3 and 1.4

2006-09-26 Thread Paul A. Rubin

nicolas roy wrote:
Dear all, 


First sorry for bothering. I should first check in the archive if my
issue was not already discussed, but the webpage of the archived list
does not function.
Up to recently, i had Lyx 1.3.6 and i used several layout (for
mathematics article, with theorem environnments) that i found on
internet (they were some months/years ago available on the Lyx
webpage). 
Unfortunately, since i updated to 1.4 version, these old layouts do not

function any more. Therefore, the environments of all my old documents
are completely messed-up.
Nevertheless, i read somewhere that lyx 1.4 should automaticaly update
the layouts files. 


Does anyone have an idea/comment ??
Thanks, in advance.


In the .../scripts directory of 1.4.x, do you have a Python script named 
layout2layout?  If so, you might try running it manually against your 
old layouts.


/Paul



Re: Problems with Bibtex in Lyx

2006-09-26 Thread Richard Heck
sk wrote:
 I use:

 Lyx 1.4.3.
 Doc. Class: book (koma-script)
 A Bibtex File I compiled with JebRef which I have imported as a bibtex
 reference list (I enabled 'display in TOC')

 I added citations in my text and they show up nicely in Lyx, but
 whenever I export them to pdf, it only shows question marks at the point
 where the citation should be. Also the reference list only shows up in
 the TOC but not on the page where it is supposed to be. I don't know
 what I am doing wrong here, as I understand that once I cited something,
 it should show in the reference list in the document.
   
Without seeing the file and knowing more about your setup, it's hard to
say precisely what's wrong. But it would appear that LaTeX is not
finding your .bib files. Check the path to those files.

As a general rule, the easiest way to debug this kind of problem is to
export the file to LaTeX and then run LaTeX manually. Or, nearly
equivalently, look in the temporary directory LyX is using. (On Linux,
this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
files there. I'm guessing you won't find them. Again, this would mean
checking the paths in your LyX document. If the .bib files are there,
you can check the .log file to see if there are any problems. Or, again,
try running LaTeX manually. Open the .tex file in an editor and delete
the first line (\batchmode) so you can see the output. Then run:
latex yourfile
bibtex yourfile
latex yourfile
latex yourfile
to get all the references right. You don't need the extensions here. So
it's not:
latex yourfile.tex
but just:
latex yourfile
and particularly:
bibtex yourfile
You're likely to see errors. These should tell you what's wrong.

Richard Heck



Re: Error message LaTeX Error: no \title given

2006-09-26 Thread winson
Juergen:

Thank you! Your Dirty  Quick approach works. I will refresh my LaTeX knowledge 
a little bit, and will try the 'better approach' soon. Thanks again.  






Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
Thanks, your post got me on the right track as it reminded me of a
similar problem which I had with LYX: The path to my Temp Directory
contained spaces (something LYX seems to be able to handle but
LaTeX/MiKTeX don't. Also the Path to my *.bst (BibtexStyle) files
contained spaces.
I think this is somewhat troublesome as in a windows out of the box
Lyx installation the default path to the Temp directory always contains
spaces (at least in a German environment) as it rests in something like
.../Dokumente und Einstellungen/.../Temp. Also MikTex uses spaces in
its default path (so that my *.bst files where at
C:\Programme\MiKTeX 2.5\bibtex\bst ), even though it is known to cause
some problems.

Stefan


Richard Heck wrote:
 sk wrote:
 I use:

 Lyx 1.4.3.
 Doc. Class: book (koma-script)
 A Bibtex File I compiled with JebRef which I have imported as a bibtex
 reference list (I enabled 'display in TOC')

 I added citations in my text and they show up nicely in Lyx, but
 whenever I export them to pdf, it only shows question marks at the point
 where the citation should be. Also the reference list only shows up in
 the TOC but not on the page where it is supposed to be. I don't know
 what I am doing wrong here, as I understand that once I cited something,
 it should show in the reference list in the document.
   
 Without seeing the file and knowing more about your setup, it's hard to
 say precisely what's wrong. But it would appear that LaTeX is not
 finding your .bib files. Check the path to those files.
 
 As a general rule, the easiest way to debug this kind of problem is to
 export the file to LaTeX and then run LaTeX manually. Or, nearly
 equivalently, look in the temporary directory LyX is using. (On Linux,
 this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
 files there. I'm guessing you won't find them. Again, this would mean
 checking the paths in your LyX document. If the .bib files are there,
 you can check the .log file to see if there are any problems. Or, again,
 try running LaTeX manually. Open the .tex file in an editor and delete
 the first line (\batchmode) so you can see the output. Then run:
 latex yourfile
 bibtex yourfile
 latex yourfile
 latex yourfile
 to get all the references right. You don't need the extensions here. So
 it's not:
 latex yourfile.tex
 but just:
 latex yourfile
 and particularly:
 bibtex yourfile
 You're likely to see errors. These should tell you what's wrong.
 
 Richard Heck
 
 



Re: Problems with Bibtex in Lyx

2006-09-26 Thread Richard Heck

You might want to file this as a bug report. I think the solution might
only involve putting quotation marks around path names and the like.

Richard

sk wrote:
 Thanks, your post got me on the right track as it reminded me of a
 similar problem which I had with LYX: The path to my Temp Directory
 contained spaces (something LYX seems to be able to handle but
 LaTeX/MiKTeX don't. Also the Path to my *.bst (BibtexStyle) files
 contained spaces.
 I think this is somewhat troublesome as in a windows out of the box
 Lyx installation the default path to the Temp directory always contains
 spaces (at least in a German environment) as it rests in something like
 .../Dokumente und Einstellungen/.../Temp. Also MikTex uses spaces in
 its default path (so that my *.bst files where at
 C:\Programme\MiKTeX 2.5\bibtex\bst ), even though it is known to cause
 some problems.

 Stefan


 Richard Heck wrote:
   
 sk wrote:
 
 I use:

 Lyx 1.4.3.
 Doc. Class: book (koma-script)
 A Bibtex File I compiled with JebRef which I have imported as a bibtex
 reference list (I enabled 'display in TOC')

 I added citations in my text and they show up nicely in Lyx, but
 whenever I export them to pdf, it only shows question marks at the point
 where the citation should be. Also the reference list only shows up in
 the TOC but not on the page where it is supposed to be. I don't know
 what I am doing wrong here, as I understand that once I cited something,
 it should show in the reference list in the document.
   
   
 Without seeing the file and knowing more about your setup, it's hard to
 say precisely what's wrong. But it would appear that LaTeX is not
 finding your .bib files. Check the path to those files.

 As a general rule, the easiest way to debug this kind of problem is to
 export the file to LaTeX and then run LaTeX manually. Or, nearly
 equivalently, look in the temporary directory LyX is using. (On Linux,
 this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
 files there. I'm guessing you won't find them. Again, this would mean
 checking the paths in your LyX document. If the .bib files are there,
 you can check the .log file to see if there are any problems. Or, again,
 try running LaTeX manually. Open the .tex file in an editor and delete
 the first line (\batchmode) so you can see the output. Then run:
 latex yourfile
 bibtex yourfile
 latex yourfile
 latex yourfile
 to get all the references right. You don't need the extensions here. So
 it's not:
 latex yourfile.tex
 but just:
 latex yourfile
 and particularly:
 bibtex yourfile
 You're likely to see errors. These should tell you what's wrong.

 Richard Heck


 



Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
 Hallo, 
 ich antworte mal auf deutsch, denke es ist dir auch recht. Erstmal frage ich 
 mich, warum du für nur 25 Seiten die Buch-Klasse benutzt, ich würde hier 
 Artikel nutzen.
 Es gibt immer nummerierte und nicht nummerierte Gliederungsebenen, nicht 
 nummerierte tauchen allerdings nicht im Inhaltsverzeichnis auf. Diese musst 
 du dann mit dem TeX-Befehl \addcontentsline{toc}{Ebene}{Name} dem 
 Inhaltsverzeichnis hinzufügen.

Werd ich gleich mal ausprobieren.

 Vielleicht hilft es auch, wenn du das für das mit dem Literaturverzeichnis 
 ausstellst und \addtocontents{toc}{\contensline{section}{Literatur}{10}} 
 verwendest, statt 10 dann natürlich die Seitennummer, auf der es beginnt. Ist 
 zwar nicht wirklich schön, aber wird wohl funktionieren. Sind alle deine 
 Packete auf dem neuesten Stand? 

Danke für den Tip mit dem Literaturteil, aber das hat sich geklärt. Es
lag an Leerzeichen in den Pfaden in meiner Lyx Installation unter Windows...

Wie kann ich dem Literaturteil eigentlich eine Kapitelnummer verpassen
(der hat ausgerechnet keine, sollte aber eine haben)

 Die Sprache wird glaube ich über die LANG- Variable eingestellt.

Wo finde ich die?

 Schöne Grüße,
 Nils

Vielen Dank
Stefan


lyx -windows cd

2006-09-26 Thread uwe
Hello,

i supported an semiar paper for the BA Stuttgart. The aim was to describe what 
was needet to produce  science papers for the BA with lyx/latex.  One  result 
of the work was a cd with all Programms you need to work withe windows. These 
are such programms like miktex, phyton perl an of course lyx and some 
otherones.

For lyx we create a template and style file with helps the studens to work
 easily with lyx to get got looking papers  who fits to the qoute rules wich 
are obligatory for the students.


The work itself was very interesting! Now we want put the cd on a Berlios 
download-place. This is the reason for this mail. Are there any law issues we 
have to look for before we can put lyx on this cd ?

uwe 


Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
Thanks a lot for the help so far and sorry for my last posting in German.

I have one further question:
How can I make my reference list numbered (as a numbered chapter, I mean)?

Stefan


Re: Problems with Bibtex in Lyx

2006-09-26 Thread Dominik Waßenhoven

sk schrieb am 26.09.2006:


Thanks a lot for the help so far and sorry for my last posting in German.



I have one further question:
How can I make my reference list numbered (as a numbered chapter, I mean)?


As you are using the KOMA-Script classes, use the option 
bibtotocnumbered (you can write that into Dokument - Einstellungen 
- Dokumentklasse and then in the field Optionen).[1]


In addition, I would recommend you to read the manual of the KOMA 
classes, as it is very useful (and available in German, too).


Regards,
Dominik.-

[1] I suppose the corresponding terms in an english environment would be 
Document - Settings - Document Class and Options.


--
LaTeX-FAQ   | http://www.dante.de/faq/de-tex-faq
Minimalbeispiel | http://www.minimalbeispiel.de
BibTeX-Editor   | http://jabref.sourceforge.net



Re: lyx -windows cd

2006-09-26 Thread Dominik Waßenhoven

uwe schrieb am 26.09.2006:

[...]
Now we want put the cd on a Berlios 
download-place. This is the reason for this mail. Are there any law issues we 
have to look for before we can put lyx on this cd ?


http://www.lyx.org/about/license.php

Regards,
Dominik.-

--
LaTeX-FAQ   | http://www.dante.de/faq/de-tex-faq
Minimalbeispiel | http://www.minimalbeispiel.de
BibTeX-Editor   | http://jabref.sourceforge.net



caption justification howto?

2006-09-26 Thread Sven Schreiber
Hi,
I want to change the justification of a float caption from centered to,
say, flushleft (aka raggedright). If I do it the naive way via the
paragraph settings dialog, Lyx doesn't remember my changes, so that
doesn't work.

First question: Is that a bug, or is that feature simply not
implemented? Shall I file a bug report?

Second (almost identical) question: can somebody tell me how to do it in
lyx? (With ERT I know how to do it myself, thanks.)

Thanks for your help,
Sven


Re: Problems with Bibtex in Lyx

2006-09-26 Thread Bo Peng

On 9/26/06, Richard Heck [EMAIL PROTECTED] wrote:

You might want to file this as a bug report. I think the solution might
only involve putting quotation marks around path names and the like.


This is a known problem. The patch is not applied to lyx1.4.3 since it
may crash lyx under mac (unconfirmed).

Bo


HTML export, hyperlink doesn't work in LYX 1.4.3

2006-09-26 Thread Shu Li

Hi,

I have compiled LYX 1.4.3 on a redhat Linux machine from source, and have
deleted my previous $home/.lyx directory so it should be like a fresh
installation. The problem is I found that when having inserted some URLs by
Insert-URL..., then View-HTML or export to HTML, the URL never got an
underline, nor is it clickable.

And I found checking the box Generate hyperlink when inserting URL has no
effect on the result. No matter I did it or not, the output Latex file
doesn't change, it always produces a \url{my inserted url string}.

I found an ugly fix that first write \usepackage{html} in document preamble,
and then insert a Latex code box(ERT), writing in it \htmlurl{my url}{desc.
for the link} will produce a clickable hyperlink. However it's so ugly and
it looks like that it should be the intended behavior Insert-URL... should
produce.

Is this a common problem, so a bug in 1.4.3? Or is my setting wrong?

Thanks!

best,
Sam


Re: LyX143-3 works

2006-09-26 Thread Giovani Baratto

The lyx 1.4.3-3 install now and run. However, the math fonts 
are wrong for me.

Giovani



Re: caption justification howto?

2006-09-26 Thread Juergen Spitzmueller
Sven Schreiber wrote:
 I want to change the justification of a float caption from centered to,
 say, flushleft (aka raggedright). If I do it the naive way via the
 paragraph settings dialog, Lyx doesn't remember my changes, so that
 doesn't work.

No, that won't work. Use the caption package or the caption features of the 
class (e.g. in the case of KOMA)

 First question: Is that a bug, or is that feature simply not
 implemented? 

The latter.

 Shall I file a bug report? 

You could file an enhancement report about caption support, if it's not 
already there.

Jürgen


AW: LyX143-3 works

2006-09-26 Thread Hans Prueller
fine, 1.4.3-3 now also runs on my machine.

thank you!

hans


 
http://hanzz.zapto.org
 

 

 -Ursprüngliche Nachricht-
 Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Giovani Baratto
 Gesendet: Dienstag, 26. September 2006 23:10
 An: lyx-users@lists.lyx.org
 Betreff: Re: LyX143-3 works
 
 
 The lyx 1.4.3-3 install now and run. However, the math fonts 
 are wrong for me.
 
 Giovani
 



LyX 1.4.3 and converters

2006-09-26 Thread Russell Davie
Hi

Just compiled LyX to suit Ubuntu/Dapper and have found some things that 
configure.py has missed

1) It can't find oolatex although its installed as per Synaptic.

from configure:

checking for a LaTeX - OpenOffice.org converter...
+checking for oolatex...   no
+checking for oolatex.sh...   no

how can this be fixed?


2) Also w2l is missed even though its in my path

checking for an OpenOffice.org - LaTeX converter...
+checking for w2l...   no

a locate finds this here:
/home/rd/bin/w2l
/home/rd/usr/share/latex/conversion/writer2latex04/w2l

how can this be fixed?


3) How can LyX be made to use latex2rtf to convert to rtf?

I find the rtf export a lot more efficient and reliable to get a MS word doc 
than existing export methods eg export to MS Word(html). 

Latex2rtf embeds the graphics into the file, performs all the cross referencing 
and bibliography easily.  If using the MS Word (html) export, its a huge drama 
to fix it all to make a doc.  Whereas  with latex2rtf its a simple matter to 
convert to a doc.  

Currently to use latex2rtf I have to export to latex (pdflatex), then open a 
xterm and then run latex2rtf on the .tex.  So its still workable, though I 
can't see the reason of having a broken export (MSWord-html) when a much better 
one exists. 

TIA

Russell


Send instant messages to your online friends http://au.messenger.yahoo.com 



Re: Error message LaTeX Error: no \title given

2006-09-26 Thread Juergen Spitzmueller
winson wrote:
 I use LyX 1.42 on Windows XP. I am typing an article
 with the attached 'ndst.sty' style file. Each time I
 tried to view the article 'Example.lyx' in DVI format,
 I got an error message LaTeX Error: no \title given.
 There are only three lines in 'Example.lyx': title,
 author, and date. I have not used LaTeX and LyX for a
 long time until now. So I am not sure if this is a
 problem of 'ndst.sty' or a bug of LyX. Could anyone
 give me a little help? Thanks.

Your ndst.sty redefines \title, \author etc. to be used _without_ the 
\maketitle command. This interferes with article.cls when LyX inserts the 
\maketitle command.

Two solutions:

1. quick and dirty: 
insert
\renewcommand\maketitle{}
to your preamble

2. Better:
in your layout file, insert add the end of the file something like (untested)

Style Title
InTitle   0
End

Style Author
InTitle   0
End

Style Date
InTitle  0
End

HTH,
Jürgen


 Winson



LyX143-3 works

2006-09-26 Thread Mukhtar Ullah
Dear all,
Finally arrived the LyX143-3 which worked on my computer (and hopefully on those
who were having problems). So many thanks for those who tried to respond to our
requests. 

Free software zinda abad

Mukhtar



incompatibility of layouts bteween version 1.3 and 1.4

2006-09-26 Thread nicolas roy
Dear all, 

First sorry for bothering. I should first check in the archive if my
issue was not already discussed, but the webpage of the archived list
does not function.
Up to recently, i had Lyx 1.3.6 and i used several layout (for
mathematics article, with theorem environnments) that i found on
internet (they were some months/years ago available on the Lyx
webpage). 
Unfortunately, since i updated to 1.4 version, these old layouts do not
function any more. Therefore, the environments of all my old documents
are completely messed-up.
Nevertheless, i read somewhere that lyx 1.4 should automaticaly update
the layouts files. 

Does anyone have an idea/comment ??
Thanks, in advance.


-- 
Dr Nicolas Roy
Geometric Analysis Group
Institut für Mathematik
Humboldt Universität
Rudower Chaussee 25
Berlin D-12489

Tel: +49 (30) 20932358
Fax:  +49 (30) 20932727
[EMAIL PROTECTED]
http://www.math.hu-berlin.de/~roy/
icq : 86185073



Re: Alphabetical List

2006-09-26 Thread Jean-Marc Lasgouttes
 joe == [EMAIL PROTECTED] com [EMAIL PROTECTED] writes:

joe Hi, I hope this isnt too much of a daft question as i am very new
joe to lyx and latex, and am still not sure the limits of what it can
joe do and what i have to do...

joe  Is it possible to have latex/lyx sort a Description list based
joe on alphabetical ordering?

This is not possible currently. I do not know of any LaTeX package
that does this (would it even be possible?), and LyX itself does not
have the capability.

JMarc


Problems with Bibtex in Lyx

2006-09-26 Thread sk
Hello,

after writing lots of letters now I am trying to write my first longer
piece in Lyx (for a 25 page homework).

I use:

Lyx 1.4.3.
Doc. Class: book (koma-script)
A Bibtex File I compiled with JebRef which I have imported as a bibtex
reference list (I enabled 'display in TOC')

I added citations in my text and they show up nicely in Lyx, but
whenever I export them to pdf, it only shows question marks at the point
where the citation should be. Also the reference list only shows up in
the TOC but not on the page where it is supposed to be. I don't know
what I am doing wrong here, as I understand that once I cited something,
it should show in the reference list in the document.

Further questions I have:
The Doc Class I use supports numbered and unnumbered Chapters, also
there is something like Chapter (TOC) what is this? Is there some trick
to use numbered chapters and unnumbered chapters in the same document?
It does not seem to work with me, but I would like it, as I have some
Chapters which have to be numbered and some that don't (like an epilogue)

How can I switch my userinterface of Lyx back to English (as I am
posting here, I am using German - I hope I translated everything right
though)

Thanks a lot
Stefan


Re: Debugging python scripts called by LyX

2006-09-26 Thread Paul A. Rubin

Giovanni,

One of the developers starting experiencing similar symptoms.  His post 
([EMAIL PROTECTED]) to the developer list 
suggests that it might be tied to an upgrade from MikTeX 2.4 to 2.5.  He 
thinks it only occurs when trying to update a DVI that yap currently has 
open.  I can't recall the original symptoms you reported, so I'm not 
sure if this is consistent with your experiments.


/Paul



Re: incompatibility of layouts bteween version 1.3 and 1.4

2006-09-26 Thread Paul A. Rubin

nicolas roy wrote:
Dear all, 


First sorry for bothering. I should first check in the archive if my
issue was not already discussed, but the webpage of the archived list
does not function.
Up to recently, i had Lyx 1.3.6 and i used several layout (for
mathematics article, with theorem environnments) that i found on
internet (they were some months/years ago available on the Lyx
webpage). 
Unfortunately, since i updated to 1.4 version, these old layouts do not

function any more. Therefore, the environments of all my old documents
are completely messed-up.
Nevertheless, i read somewhere that lyx 1.4 should automaticaly update
the layouts files. 


Does anyone have an idea/comment ??
Thanks, in advance.


In the .../scripts directory of 1.4.x, do you have a Python script named 
layout2layout?  If so, you might try running it manually against your 
old layouts.


/Paul



Re: Problems with Bibtex in Lyx

2006-09-26 Thread Richard Heck
sk wrote:
 I use:

 Lyx 1.4.3.
 Doc. Class: book (koma-script)
 A Bibtex File I compiled with JebRef which I have imported as a bibtex
 reference list (I enabled 'display in TOC')

 I added citations in my text and they show up nicely in Lyx, but
 whenever I export them to pdf, it only shows question marks at the point
 where the citation should be. Also the reference list only shows up in
 the TOC but not on the page where it is supposed to be. I don't know
 what I am doing wrong here, as I understand that once I cited something,
 it should show in the reference list in the document.
   
Without seeing the file and knowing more about your setup, it's hard to
say precisely what's wrong. But it would appear that LaTeX is not
finding your .bib files. Check the path to those files.

As a general rule, the easiest way to debug this kind of problem is to
export the file to LaTeX and then run LaTeX manually. Or, nearly
equivalently, look in the temporary directory LyX is using. (On Linux,
this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
files there. I'm guessing you won't find them. Again, this would mean
checking the paths in your LyX document. If the .bib files are there,
you can check the .log file to see if there are any problems. Or, again,
try running LaTeX manually. Open the .tex file in an editor and delete
the first line (\batchmode) so you can see the output. Then run:
latex yourfile
bibtex yourfile
latex yourfile
latex yourfile
to get all the references right. You don't need the extensions here. So
it's not:
latex yourfile.tex
but just:
latex yourfile
and particularly:
bibtex yourfile
You're likely to see errors. These should tell you what's wrong.

Richard Heck



Re: Error message LaTeX Error: no \title given

2006-09-26 Thread winson
Juergen:

Thank you! Your Dirty  Quick approach works. I will refresh my LaTeX knowledge 
a little bit, and will try the 'better approach' soon. Thanks again.  






Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
Thanks, your post got me on the right track as it reminded me of a
similar problem which I had with LYX: The path to my Temp Directory
contained spaces (something LYX seems to be able to handle but
LaTeX/MiKTeX don't. Also the Path to my *.bst (BibtexStyle) files
contained spaces.
I think this is somewhat troublesome as in a windows out of the box
Lyx installation the default path to the Temp directory always contains
spaces (at least in a German environment) as it rests in something like
.../Dokumente und Einstellungen/.../Temp. Also MikTex uses spaces in
its default path (so that my *.bst files where at
C:\Programme\MiKTeX 2.5\bibtex\bst ), even though it is known to cause
some problems.

Stefan


Richard Heck wrote:
 sk wrote:
 I use:

 Lyx 1.4.3.
 Doc. Class: book (koma-script)
 A Bibtex File I compiled with JebRef which I have imported as a bibtex
 reference list (I enabled 'display in TOC')

 I added citations in my text and they show up nicely in Lyx, but
 whenever I export them to pdf, it only shows question marks at the point
 where the citation should be. Also the reference list only shows up in
 the TOC but not on the page where it is supposed to be. I don't know
 what I am doing wrong here, as I understand that once I cited something,
 it should show in the reference list in the document.
   
 Without seeing the file and knowing more about your setup, it's hard to
 say precisely what's wrong. But it would appear that LaTeX is not
 finding your .bib files. Check the path to those files.
 
 As a general rule, the easiest way to debug this kind of problem is to
 export the file to LaTeX and then run LaTeX manually. Or, nearly
 equivalently, look in the temporary directory LyX is using. (On Linux,
 this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
 files there. I'm guessing you won't find them. Again, this would mean
 checking the paths in your LyX document. If the .bib files are there,
 you can check the .log file to see if there are any problems. Or, again,
 try running LaTeX manually. Open the .tex file in an editor and delete
 the first line (\batchmode) so you can see the output. Then run:
 latex yourfile
 bibtex yourfile
 latex yourfile
 latex yourfile
 to get all the references right. You don't need the extensions here. So
 it's not:
 latex yourfile.tex
 but just:
 latex yourfile
 and particularly:
 bibtex yourfile
 You're likely to see errors. These should tell you what's wrong.
 
 Richard Heck
 
 



Re: Problems with Bibtex in Lyx

2006-09-26 Thread Richard Heck

You might want to file this as a bug report. I think the solution might
only involve putting quotation marks around path names and the like.

Richard

sk wrote:
 Thanks, your post got me on the right track as it reminded me of a
 similar problem which I had with LYX: The path to my Temp Directory
 contained spaces (something LYX seems to be able to handle but
 LaTeX/MiKTeX don't. Also the Path to my *.bst (BibtexStyle) files
 contained spaces.
 I think this is somewhat troublesome as in a windows out of the box
 Lyx installation the default path to the Temp directory always contains
 spaces (at least in a German environment) as it rests in something like
 .../Dokumente und Einstellungen/.../Temp. Also MikTex uses spaces in
 its default path (so that my *.bst files where at
 C:\Programme\MiKTeX 2.5\bibtex\bst ), even though it is known to cause
 some problems.

 Stefan


 Richard Heck wrote:
   
 sk wrote:
 
 I use:

 Lyx 1.4.3.
 Doc. Class: book (koma-script)
 A Bibtex File I compiled with JebRef which I have imported as a bibtex
 reference list (I enabled 'display in TOC')

 I added citations in my text and they show up nicely in Lyx, but
 whenever I export them to pdf, it only shows question marks at the point
 where the citation should be. Also the reference list only shows up in
 the TOC but not on the page where it is supposed to be. I don't know
 what I am doing wrong here, as I understand that once I cited something,
 it should show in the reference list in the document.
   
   
 Without seeing the file and knowing more about your setup, it's hard to
 say precisely what's wrong. But it would appear that LaTeX is not
 finding your .bib files. Check the path to those files.

 As a general rule, the easiest way to debug this kind of problem is to
 export the file to LaTeX and then run LaTeX manually. Or, nearly
 equivalently, look in the temporary directory LyX is using. (On Linux,
 this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
 files there. I'm guessing you won't find them. Again, this would mean
 checking the paths in your LyX document. If the .bib files are there,
 you can check the .log file to see if there are any problems. Or, again,
 try running LaTeX manually. Open the .tex file in an editor and delete
 the first line (\batchmode) so you can see the output. Then run:
 latex yourfile
 bibtex yourfile
 latex yourfile
 latex yourfile
 to get all the references right. You don't need the extensions here. So
 it's not:
 latex yourfile.tex
 but just:
 latex yourfile
 and particularly:
 bibtex yourfile
 You're likely to see errors. These should tell you what's wrong.

 Richard Heck


 



Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
 Hallo, 
 ich antworte mal auf deutsch, denke es ist dir auch recht. Erstmal frage ich 
 mich, warum du für nur 25 Seiten die Buch-Klasse benutzt, ich würde hier 
 Artikel nutzen.
 Es gibt immer nummerierte und nicht nummerierte Gliederungsebenen, nicht 
 nummerierte tauchen allerdings nicht im Inhaltsverzeichnis auf. Diese musst 
 du dann mit dem TeX-Befehl \addcontentsline{toc}{Ebene}{Name} dem 
 Inhaltsverzeichnis hinzufügen.

Werd ich gleich mal ausprobieren.

 Vielleicht hilft es auch, wenn du das für das mit dem Literaturverzeichnis 
 ausstellst und \addtocontents{toc}{\contensline{section}{Literatur}{10}} 
 verwendest, statt 10 dann natürlich die Seitennummer, auf der es beginnt. Ist 
 zwar nicht wirklich schön, aber wird wohl funktionieren. Sind alle deine 
 Packete auf dem neuesten Stand? 

Danke für den Tip mit dem Literaturteil, aber das hat sich geklärt. Es
lag an Leerzeichen in den Pfaden in meiner Lyx Installation unter Windows...

Wie kann ich dem Literaturteil eigentlich eine Kapitelnummer verpassen
(der hat ausgerechnet keine, sollte aber eine haben)

 Die Sprache wird glaube ich über die LANG- Variable eingestellt.

Wo finde ich die?

 Schöne Grüße,
 Nils

Vielen Dank
Stefan


lyx -windows cd

2006-09-26 Thread uwe
Hello,

i supported an semiar paper for the BA Stuttgart. The aim was to describe what 
was needet to produce  science papers for the BA with lyx/latex.  One  result 
of the work was a cd with all Programms you need to work withe windows. These 
are such programms like miktex, phyton perl an of course lyx and some 
otherones.

For lyx we create a template and style file with helps the studens to work
 easily with lyx to get got looking papers  who fits to the qoute rules wich 
are obligatory for the students.


The work itself was very interesting! Now we want put the cd on a Berlios 
download-place. This is the reason for this mail. Are there any law issues we 
have to look for before we can put lyx on this cd ?

uwe 


Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
Thanks a lot for the help so far and sorry for my last posting in German.

I have one further question:
How can I make my reference list numbered (as a numbered chapter, I mean)?

Stefan


Re: Problems with Bibtex in Lyx

2006-09-26 Thread Dominik Waßenhoven

sk schrieb am 26.09.2006:


Thanks a lot for the help so far and sorry for my last posting in German.



I have one further question:
How can I make my reference list numbered (as a numbered chapter, I mean)?


As you are using the KOMA-Script classes, use the option 
bibtotocnumbered (you can write that into Dokument - Einstellungen 
- Dokumentklasse and then in the field Optionen).[1]


In addition, I would recommend you to read the manual of the KOMA 
classes, as it is very useful (and available in German, too).


Regards,
Dominik.-

[1] I suppose the corresponding terms in an english environment would be 
Document - Settings - Document Class and Options.


--
LaTeX-FAQ   | http://www.dante.de/faq/de-tex-faq
Minimalbeispiel | http://www.minimalbeispiel.de
BibTeX-Editor   | http://jabref.sourceforge.net



Re: lyx -windows cd

2006-09-26 Thread Dominik Waßenhoven

uwe schrieb am 26.09.2006:

[...]
Now we want put the cd on a Berlios 
download-place. This is the reason for this mail. Are there any law issues we 
have to look for before we can put lyx on this cd ?


http://www.lyx.org/about/license.php

Regards,
Dominik.-

--
LaTeX-FAQ   | http://www.dante.de/faq/de-tex-faq
Minimalbeispiel | http://www.minimalbeispiel.de
BibTeX-Editor   | http://jabref.sourceforge.net



caption justification howto?

2006-09-26 Thread Sven Schreiber
Hi,
I want to change the justification of a float caption from centered to,
say, flushleft (aka raggedright). If I do it the naive way via the
paragraph settings dialog, Lyx doesn't remember my changes, so that
doesn't work.

First question: Is that a bug, or is that feature simply not
implemented? Shall I file a bug report?

Second (almost identical) question: can somebody tell me how to do it in
lyx? (With ERT I know how to do it myself, thanks.)

Thanks for your help,
Sven


Re: Problems with Bibtex in Lyx

2006-09-26 Thread Bo Peng

On 9/26/06, Richard Heck [EMAIL PROTECTED] wrote:

You might want to file this as a bug report. I think the solution might
only involve putting quotation marks around path names and the like.


This is a known problem. The patch is not applied to lyx1.4.3 since it
may crash lyx under mac (unconfirmed).

Bo


HTML export, hyperlink doesn't work in LYX 1.4.3

2006-09-26 Thread Shu Li

Hi,

I have compiled LYX 1.4.3 on a redhat Linux machine from source, and have
deleted my previous $home/.lyx directory so it should be like a fresh
installation. The problem is I found that when having inserted some URLs by
Insert-URL..., then View-HTML or export to HTML, the URL never got an
underline, nor is it clickable.

And I found checking the box Generate hyperlink when inserting URL has no
effect on the result. No matter I did it or not, the output Latex file
doesn't change, it always produces a \url{my inserted url string}.

I found an ugly fix that first write \usepackage{html} in document preamble,
and then insert a Latex code box(ERT), writing in it \htmlurl{my url}{desc.
for the link} will produce a clickable hyperlink. However it's so ugly and
it looks like that it should be the intended behavior Insert-URL... should
produce.

Is this a common problem, so a bug in 1.4.3? Or is my setting wrong?

Thanks!

best,
Sam


Re: LyX143-3 works

2006-09-26 Thread Giovani Baratto

The lyx 1.4.3-3 install now and run. However, the math fonts 
are wrong for me.

Giovani



Re: caption justification howto?

2006-09-26 Thread Juergen Spitzmueller
Sven Schreiber wrote:
 I want to change the justification of a float caption from centered to,
 say, flushleft (aka raggedright). If I do it the naive way via the
 paragraph settings dialog, Lyx doesn't remember my changes, so that
 doesn't work.

No, that won't work. Use the caption package or the caption features of the 
class (e.g. in the case of KOMA)

 First question: Is that a bug, or is that feature simply not
 implemented? 

The latter.

 Shall I file a bug report? 

You could file an enhancement report about caption support, if it's not 
already there.

Jürgen


AW: LyX143-3 works

2006-09-26 Thread Hans Prueller
fine, 1.4.3-3 now also runs on my machine.

thank you!

hans


 
http://hanzz.zapto.org
 

 

 -Ursprüngliche Nachricht-
 Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Giovani Baratto
 Gesendet: Dienstag, 26. September 2006 23:10
 An: lyx-users@lists.lyx.org
 Betreff: Re: LyX143-3 works
 
 
 The lyx 1.4.3-3 install now and run. However, the math fonts 
 are wrong for me.
 
 Giovani
 



LyX 1.4.3 and converters

2006-09-26 Thread Russell Davie
Hi

Just compiled LyX to suit Ubuntu/Dapper and have found some things that 
configure.py has missed

1) It can't find oolatex although its installed as per Synaptic.

from configure:

checking for a LaTeX - OpenOffice.org converter...
+checking for oolatex...   no
+checking for oolatex.sh...   no

how can this be fixed?


2) Also w2l is missed even though its in my path

checking for an OpenOffice.org - LaTeX converter...
+checking for w2l...   no

a locate finds this here:
/home/rd/bin/w2l
/home/rd/usr/share/latex/conversion/writer2latex04/w2l

how can this be fixed?


3) How can LyX be made to use latex2rtf to convert to rtf?

I find the rtf export a lot more efficient and reliable to get a MS word doc 
than existing export methods eg export to MS Word(html). 

Latex2rtf embeds the graphics into the file, performs all the cross referencing 
and bibliography easily.  If using the MS Word (html) export, its a huge drama 
to fix it all to make a doc.  Whereas  with latex2rtf its a simple matter to 
convert to a doc.  

Currently to use latex2rtf I have to export to latex (pdflatex), then open a 
xterm and then run latex2rtf on the .tex.  So its still workable, though I 
can't see the reason of having a broken export (MSWord-html) when a much better 
one exists. 

TIA

Russell


Send instant messages to your online friends http://au.messenger.yahoo.com 



Re: Error message "LaTeX Error: no \title given"

2006-09-26 Thread Juergen Spitzmueller
winson wrote:
> I use LyX 1.42 on Windows XP. I am typing an article
> with the attached 'ndst.sty' style file. Each time I
> tried to view the article 'Example.lyx' in DVI format,
> I got an error message "LaTeX Error: no \title given".
> There are only three lines in 'Example.lyx': title,
> author, and date. I have not used LaTeX and LyX for a
> long time until now. So I am not sure if this is a
> problem of 'ndst.sty' or a bug of LyX. Could anyone
> give me a little help? Thanks.

Your ndst.sty redefines \title, \author etc. to be used _without_ the 
\maketitle command. This interferes with article.cls when LyX inserts the 
\maketitle command.

Two solutions:

1. quick and dirty: 
insert
\renewcommand\maketitle{}
to your preamble

2. Better:
in your layout file, insert add the end of the file something like (untested)

Style Title
InTitle   0
End

Style Author
InTitle   0
End

Style Date
InTitle  0
End

HTH,
Jürgen


> Winson



LyX143-3 works

2006-09-26 Thread Mukhtar Ullah
Dear all,
Finally arrived the LyX143-3 which worked on my computer (and hopefully on those
who were having problems). So many thanks for those who tried to respond to our
requests. 

Free software zinda abad

Mukhtar



incompatibility of layouts bteween version 1.3 and 1.4

2006-09-26 Thread nicolas roy
Dear all, 

First sorry for bothering. I should first check in the archive if my
issue was not already discussed, but the webpage of the archived list
does not function.
Up to recently, i had Lyx 1.3.6 and i used several layout (for
mathematics article, with theorem environnments) that i found on
internet (they were some months/years ago available on the Lyx
webpage). 
Unfortunately, since i updated to 1.4 version, these old layouts do not
function any more. Therefore, the environments of all my old documents
are completely messed-up.
Nevertheless, i read somewhere that lyx 1.4 should automaticaly update
the layouts files. 

Does anyone have an idea/comment ??
Thanks, in advance.


-- 
Dr Nicolas Roy
Geometric Analysis Group
Institut für Mathematik
Humboldt Universität
Rudower Chaussee 25
Berlin D-12489

Tel: +49 (30) 20932358
Fax:  +49 (30) 20932727
[EMAIL PROTECTED]
http://www.math.hu-berlin.de/~roy/
icq : 86185073



Re: Alphabetical List

2006-09-26 Thread Jean-Marc Lasgouttes
> "joe" == [EMAIL PROTECTED] com <[EMAIL PROTECTED]> writes:

joe> Hi, I hope this isnt too much of a daft question as i am very new
joe> to lyx and latex, and am still not sure the limits of what it can
joe> do and what i have to do...

joe>  Is it possible to have latex/lyx sort a Description list based
joe> on alphabetical ordering?

This is not possible currently. I do not know of any LaTeX package
that does this (would it even be possible?), and LyX itself does not
have the capability.

JMarc


Problems with Bibtex in Lyx

2006-09-26 Thread sk
Hello,

after writing lots of letters now I am trying to write my first longer
piece in Lyx (for a 25 page homework).

I use:

Lyx 1.4.3.
Doc. Class: book (koma-script)
A Bibtex File I compiled with JebRef which I have imported as a bibtex
reference list (I enabled 'display in TOC')

I added citations in my text and they show up nicely in Lyx, but
whenever I export them to pdf, it only shows question marks at the point
where the citation should be. Also the reference list only shows up in
the TOC but not on the page where it is supposed to be. I don't know
what I am doing wrong here, as I understand that once I cited something,
it should show in the reference list in the document.

Further questions I have:
The Doc Class I use supports numbered and unnumbered Chapters, also
there is something like Chapter (TOC) what is this? Is there some trick
to use numbered chapters and unnumbered chapters in the same document?
It does not seem to work with me, but I would like it, as I have some
Chapters which have to be numbered and some that don't (like an epilogue)

How can I switch my userinterface of Lyx back to English (as I am
posting here, I am using German - I hope I translated everything right
though)

Thanks a lot
Stefan


Re: Debugging python scripts called by LyX

2006-09-26 Thread Paul A. Rubin

Giovanni,

One of the developers starting experiencing similar symptoms.  His post 
(<[EMAIL PROTECTED]>) to the developer list 
suggests that it might be tied to an upgrade from MikTeX 2.4 to 2.5.  He 
thinks it only occurs when trying to update a DVI that yap currently has 
open.  I can't recall the original symptoms you reported, so I'm not 
sure if this is consistent with your experiments.


/Paul



Re: incompatibility of layouts bteween version 1.3 and 1.4

2006-09-26 Thread Paul A. Rubin

nicolas roy wrote:
Dear all, 


First sorry for bothering. I should first check in the archive if my
issue was not already discussed, but the webpage of the archived list
does not function.
Up to recently, i had Lyx 1.3.6 and i used several layout (for
mathematics article, with theorem environnments) that i found on
internet (they were some months/years ago available on the Lyx
webpage). 
Unfortunately, since i updated to 1.4 version, these old layouts do not

function any more. Therefore, the environments of all my old documents
are completely messed-up.
Nevertheless, i read somewhere that lyx 1.4 should automaticaly update
the layouts files. 


Does anyone have an idea/comment ??
Thanks, in advance.


In the .../scripts directory of 1.4.x, do you have a Python script named 
layout2layout?  If so, you might try running it manually against your 
old layouts.


/Paul



Re: Problems with Bibtex in Lyx

2006-09-26 Thread Richard Heck
sk wrote:
> I use:
>
> Lyx 1.4.3.
> Doc. Class: book (koma-script)
> A Bibtex File I compiled with JebRef which I have imported as a bibtex
> reference list (I enabled 'display in TOC')
>
> I added citations in my text and they show up nicely in Lyx, but
> whenever I export them to pdf, it only shows question marks at the point
> where the citation should be. Also the reference list only shows up in
> the TOC but not on the page where it is supposed to be. I don't know
> what I am doing wrong here, as I understand that once I cited something,
> it should show in the reference list in the document.
>   
Without seeing the file and knowing more about your setup, it's hard to
say precisely what's wrong. But it would appear that LaTeX is not
finding your .bib files. Check the path to those files.

As a general rule, the easiest way to debug this kind of problem is to
export the file to LaTeX and then run LaTeX manually. Or, nearly
equivalently, look in the temporary directory LyX is using. (On Linux,
this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
files there. I'm guessing you won't find them. Again, this would mean
checking the paths in your LyX document. If the .bib files are there,
you can check the .log file to see if there are any problems. Or, again,
try running LaTeX manually. Open the .tex file in an editor and delete
the first line (\batchmode) so you can see the output. Then run:
latex yourfile
bibtex yourfile
latex yourfile
latex yourfile
to get all the references right. You don't need the extensions here. So
it's not:
latex yourfile.tex
but just:
latex yourfile
and particularly:
bibtex yourfile
You're likely to see errors. These should tell you what's wrong.

Richard Heck



Re: Error message "LaTeX Error: no \title given"

2006-09-26 Thread winson
Juergen:

Thank you! Your Dirty & Quick approach works. I will refresh my LaTeX knowledge 
a little bit, and will try the 'better approach' soon. Thanks again.  






Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
Thanks, your post got me on the right track as it reminded me of a
similar problem which I had with LYX: The path to my Temp Directory
contained spaces (something LYX seems to be able to handle but
LaTeX/MiKTeX don't. Also the Path to my *.bst (BibtexStyle) files
contained spaces.
I think this is somewhat troublesome as in a windows "out of the box"
Lyx installation the default path to the Temp directory always contains
spaces (at least in a German environment) as it rests in something like
".../Dokumente und Einstellungen/.../Temp". Also MikTex uses spaces in
its default path (so that my *.bst files where at
"C:\Programme\MiKTeX 2.5\bibtex\bst" ), even though it is known to cause
some problems.

Stefan


Richard Heck wrote:
> sk wrote:
>> I use:
>>
>> Lyx 1.4.3.
>> Doc. Class: book (koma-script)
>> A Bibtex File I compiled with JebRef which I have imported as a bibtex
>> reference list (I enabled 'display in TOC')
>>
>> I added citations in my text and they show up nicely in Lyx, but
>> whenever I export them to pdf, it only shows question marks at the point
>> where the citation should be. Also the reference list only shows up in
>> the TOC but not on the page where it is supposed to be. I don't know
>> what I am doing wrong here, as I understand that once I cited something,
>> it should show in the reference list in the document.
>>   
> Without seeing the file and knowing more about your setup, it's hard to
> say precisely what's wrong. But it would appear that LaTeX is not
> finding your .bib files. Check the path to those files.
> 
> As a general rule, the easiest way to debug this kind of problem is to
> export the file to LaTeX and then run LaTeX manually. Or, nearly
> equivalently, look in the temporary directory LyX is using. (On Linux,
> this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
> files there. I'm guessing you won't find them. Again, this would mean
> checking the paths in your LyX document. If the .bib files are there,
> you can check the .log file to see if there are any problems. Or, again,
> try running LaTeX manually. Open the .tex file in an editor and delete
> the first line (\batchmode) so you can see the output. Then run:
> latex yourfile
> bibtex yourfile
> latex yourfile
> latex yourfile
> to get all the references right. You don't need the extensions here. So
> it's not:
> latex yourfile.tex
> but just:
> latex yourfile
> and particularly:
> bibtex yourfile
> You're likely to see errors. These should tell you what's wrong.
> 
> Richard Heck
> 
> 



Re: Problems with Bibtex in Lyx

2006-09-26 Thread Richard Heck

You might want to file this as a bug report. I think the solution might
only involve putting quotation marks around path names and the like.

Richard

sk wrote:
> Thanks, your post got me on the right track as it reminded me of a
> similar problem which I had with LYX: The path to my Temp Directory
> contained spaces (something LYX seems to be able to handle but
> LaTeX/MiKTeX don't. Also the Path to my *.bst (BibtexStyle) files
> contained spaces.
> I think this is somewhat troublesome as in a windows "out of the box"
> Lyx installation the default path to the Temp directory always contains
> spaces (at least in a German environment) as it rests in something like
> ".../Dokumente und Einstellungen/.../Temp". Also MikTex uses spaces in
> its default path (so that my *.bst files where at
> "C:\Programme\MiKTeX 2.5\bibtex\bst" ), even though it is known to cause
> some problems.
>
> Stefan
>
>
> Richard Heck wrote:
>   
>> sk wrote:
>> 
>>> I use:
>>>
>>> Lyx 1.4.3.
>>> Doc. Class: book (koma-script)
>>> A Bibtex File I compiled with JebRef which I have imported as a bibtex
>>> reference list (I enabled 'display in TOC')
>>>
>>> I added citations in my text and they show up nicely in Lyx, but
>>> whenever I export them to pdf, it only shows question marks at the point
>>> where the citation should be. Also the reference list only shows up in
>>> the TOC but not on the page where it is supposed to be. I don't know
>>> what I am doing wrong here, as I understand that once I cited something,
>>> it should show in the reference list in the document.
>>>   
>>>   
>> Without seeing the file and knowing more about your setup, it's hard to
>> say precisely what's wrong. But it would appear that LaTeX is not
>> finding your .bib files. Check the path to those files.
>>
>> As a general rule, the easiest way to debug this kind of problem is to
>> export the file to LaTeX and then run LaTeX manually. Or, nearly
>> equivalently, look in the temporary directory LyX is using. (On Linux,
>> this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib
>> files there. I'm guessing you won't find them. Again, this would mean
>> checking the paths in your LyX document. If the .bib files are there,
>> you can check the .log file to see if there are any problems. Or, again,
>> try running LaTeX manually. Open the .tex file in an editor and delete
>> the first line (\batchmode) so you can see the output. Then run:
>> latex yourfile
>> bibtex yourfile
>> latex yourfile
>> latex yourfile
>> to get all the references right. You don't need the extensions here. So
>> it's not:
>> latex yourfile.tex
>> but just:
>> latex yourfile
>> and particularly:
>> bibtex yourfile
>> You're likely to see errors. These should tell you what's wrong.
>>
>> Richard Heck
>>
>>
>> 



Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
> Hallo, 
> ich antworte mal auf deutsch, denke es ist dir auch recht. Erstmal frage ich 
> mich, warum du für "nur" 25 Seiten die Buch-Klasse benutzt, ich würde hier 
> Artikel nutzen.
> Es gibt immer nummerierte und nicht nummerierte Gliederungsebenen, nicht 
> nummerierte tauchen allerdings nicht im Inhaltsverzeichnis auf. Diese musst 
> du dann mit dem TeX-Befehl \addcontentsline{toc}{Ebene}{Name} dem 
> Inhaltsverzeichnis hinzufügen.

Werd ich gleich mal ausprobieren.

> Vielleicht hilft es auch, wenn du das für das mit dem Literaturverzeichnis 
> ausstellst und \addtocontents{toc}{\contensline{section}{Literatur}{10}} 
> verwendest, statt 10 dann natürlich die Seitennummer, auf der es beginnt. Ist 
> zwar nicht wirklich schön, aber wird wohl funktionieren. Sind alle deine 
> Packete auf dem neuesten Stand? 

Danke für den Tip mit dem Literaturteil, aber das hat sich geklärt. Es
lag an Leerzeichen in den Pfaden in meiner Lyx Installation unter Windows...

Wie kann ich dem Literaturteil eigentlich eine Kapitelnummer verpassen
(der hat ausgerechnet keine, sollte aber eine haben)

> Die Sprache wird glaube ich über die LANG- Variable eingestellt.

Wo finde ich die?

> Schöne Grüße,
> Nils

Vielen Dank
Stefan


lyx -windows cd

2006-09-26 Thread uwe
Hello,

i supported an semiar paper for the BA Stuttgart. The aim was to describe what 
was needet to produce  science papers for the BA with lyx/latex.  One  result 
of the work was a cd with all Programms you need to work withe windows. These 
are such programms like miktex, phyton perl an of course lyx and some 
otherones.

For lyx we create a template and style file with helps the studens to work
 easily with lyx to get got looking papers  who fits to the qoute rules wich 
are obligatory for the students.


The work itself was very interesting! Now we want put the cd on a Berlios 
download-place. This is the reason for this mail. Are there any law issues we 
have to look for before we can put lyx on this cd ?

uwe 


Re: Problems with Bibtex in Lyx

2006-09-26 Thread sk
Thanks a lot for the help so far and sorry for my last posting in German.

I have one further question:
How can I make my reference list numbered (as a numbered chapter, I mean)?

Stefan


Re: Problems with Bibtex in Lyx

2006-09-26 Thread Dominik Waßenhoven

sk schrieb am 26.09.2006:


Thanks a lot for the help so far and sorry for my last posting in German.



I have one further question:
How can I make my reference list numbered (as a numbered chapter, I mean)?


As you are using the KOMA-Script classes, use the option 
"bibtotocnumbered" (you can write that into "Dokument -> Einstellungen 
-> Dokumentklasse" and then in the field "Optionen").[1]


In addition, I would recommend you to read the manual of the KOMA 
classes, as it is very useful (and available in German, too).


Regards,
Dominik.-

[1] I suppose the corresponding terms in an english environment would be 
"Document -> Settings -> Document Class" and "Options".


--
LaTeX-FAQ   | http://www.dante.de/faq/de-tex-faq
Minimalbeispiel | http://www.minimalbeispiel.de
BibTeX-Editor   | http://jabref.sourceforge.net



Re: lyx -windows cd

2006-09-26 Thread Dominik Waßenhoven

uwe schrieb am 26.09.2006:

[...]
Now we want put the cd on a Berlios 
download-place. This is the reason for this mail. Are there any law issues we 
have to look for before we can put lyx on this cd ?


http://www.lyx.org/about/license.php

Regards,
Dominik.-

--
LaTeX-FAQ   | http://www.dante.de/faq/de-tex-faq
Minimalbeispiel | http://www.minimalbeispiel.de
BibTeX-Editor   | http://jabref.sourceforge.net



caption justification howto?

2006-09-26 Thread Sven Schreiber
Hi,
I want to change the justification of a float caption from centered to,
say, flushleft (aka raggedright). If I do it the naive way via the
paragraph settings dialog, Lyx doesn't remember my changes, so that
doesn't work.

First question: Is that a bug, or is that feature simply not
implemented? Shall I file a bug report?

Second (almost identical) question: can somebody tell me how to do it in
lyx? (With ERT I know how to do it myself, thanks.)

Thanks for your help,
Sven


Re: Problems with Bibtex in Lyx

2006-09-26 Thread Bo Peng

On 9/26/06, Richard Heck <[EMAIL PROTECTED]> wrote:

You might want to file this as a bug report. I think the solution might
only involve putting quotation marks around path names and the like.


This is a known problem. The patch is not applied to lyx1.4.3 since it
may crash lyx under mac (unconfirmed).

Bo


HTML export, hyperlink doesn't work in LYX 1.4.3

2006-09-26 Thread Shu Li

Hi,

I have compiled LYX 1.4.3 on a redhat Linux machine from source, and have
deleted my previous $home/.lyx directory so it should be like a fresh
installation. The problem is I found that when having inserted some URLs by
Insert->URL..., then View->HTML or export to HTML, the URL never got an
underline, nor is it clickable.

And I found checking the box "Generate hyperlink" when inserting URL has no
effect on the result. No matter I did it or not, the output Latex file
doesn't change, it always produces a \url{my inserted url string}.

I found an ugly fix that first write \usepackage{html} in document preamble,
and then insert a Latex code box(ERT), writing in it \htmlurl{my url}{desc.
for the link} will produce a clickable hyperlink. However it's so ugly and
it looks like that it should be the intended behavior Insert->URL... should
produce.

Is this a common problem, so a bug in 1.4.3? Or is my setting wrong?

Thanks!

best,
Sam


Re: LyX143-3 works

2006-09-26 Thread Giovani Baratto

The lyx 1.4.3-3 install now and run. However, the math fonts 
are wrong for me.

Giovani



Re: caption justification howto?

2006-09-26 Thread Juergen Spitzmueller
Sven Schreiber wrote:
> I want to change the justification of a float caption from centered to,
> say, flushleft (aka raggedright). If I do it the naive way via the
> paragraph settings dialog, Lyx doesn't remember my changes, so that
> doesn't work.

No, that won't work. Use the caption package or the caption features of the 
class (e.g. in the case of KOMA)

> First question: Is that a bug, or is that feature simply not
> implemented? 

The latter.

> Shall I file a bug report? 

You could file an enhancement report about caption support, if it's not 
already there.

Jürgen


AW: LyX143-3 works

2006-09-26 Thread Hans Prueller
fine, 1.4.3-3 now also runs on my machine.

thank you!

hans


 
http://hanzz.zapto.org
 

 

> -Ursprüngliche Nachricht-
> Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Giovani Baratto
> Gesendet: Dienstag, 26. September 2006 23:10
> An: lyx-users@lists.lyx.org
> Betreff: Re: LyX143-3 works
> 
> 
> The lyx 1.4.3-3 install now and run. However, the math fonts 
> are wrong for me.
> 
> Giovani
> 



LyX 1.4.3 and converters

2006-09-26 Thread Russell Davie
Hi

Just compiled LyX to suit Ubuntu/Dapper and have found some things that 
configure.py has missed

1) It can't find oolatex although its installed as per Synaptic.

from configure:

checking for a LaTeX -> OpenOffice.org converter...
+checking for "oolatex"...   no
+checking for "oolatex.sh"...   no

how can this be fixed?


2) Also "w2l" is missed even though its in my path

checking for an OpenOffice.org -> LaTeX converter...
+checking for "w2l"...   no

a locate finds this here:
/home/rd/bin/w2l
/home/rd/usr/share/latex/conversion/writer2latex04/w2l

how can this be fixed?


3) How can LyX be made to use latex2rtf to convert to rtf?

I find the rtf export a lot more efficient and reliable to get a MS word doc 
than existing export methods eg export to MS Word(html). 

Latex2rtf embeds the graphics into the file, performs all the cross referencing 
and bibliography easily.  If using the MS Word (html) export, its a huge drama 
to fix it all to make a doc.  Whereas  with latex2rtf its a simple matter to 
convert to a doc.  

Currently to use latex2rtf I have to export to latex (pdflatex), then open a 
xterm and then run latex2rtf on the .tex.  So its still workable, though I 
can't see the reason of having a broken export (MSWord-html) when a much better 
one exists. 

TIA

Russell


Send instant messages to your online friends http://au.messenger.yahoo.com