Creating a glossary in lyx
Hi all, I am using Lyx 1.5.2 . Trying to create a glossary for my document. I am using the nomenclature entries. Now, I want the description of my symbols to appear on a new line. Tried using the following ERT but to no avail: \renewcommand{\nomlabel}[1]{\textbf{#1:\protect\linebreak}\hfil} Please help. Thanks. Nyasha
Creating a glossary in lyx
Hi all, I am using Lyx 1.5.2 . Trying to create a glossary for my document. I am using the nomenclature entries. Now, I want the description of my symbols to appear on a new line. Tried using the following ERT but to no avail: \renewcommand{\nomlabel}[1]{\textbf{#1:\protect\linebreak}\hfil} Please help. Thanks. Nyasha
Creating a glossary in lyx
Hi all, I am using Lyx 1.5.2 . Trying to create a glossary for my document. I am using the nomenclature entries. Now, I want the description of my symbols to appear on a new line. Tried using the following ERT but to no avail: \renewcommand{\nomlabel}[1]{\textbf{#1:\protect\linebreak}\hfil} Please help. Thanks. Nyasha
Lyx 1.5.2 \printnomeclature not working on Linux
Hi all, I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Thank you for any assistance. Nyasha
Re: Lyx 1.5.2 \printnomeclature not working on Linux
Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? I have the nomencl package and have now copied the .sty file from windows to Linux. Here is some more information about what my Linux PC has: [EMAIL PROTECTED] nyasha]# locate nomencl /home/nyasha/software/lyx-1.5.0rc2/lib/images/nomencl-insert.xpm /home/nyasha/software/lyx-1.5.2/lib/images/nomencl-insert.xpm /usr/local/share/lyx/images/nomencl-insert.xpm /usr/share/texmf/makeindex/nomencl.ist /usr/share/texmf/tex/latex/nomencl /usr/share/texmf/tex/latex/nomencl/nomencl.sty I ran the texhash command and then in lyx I did a reconfigure but nothing is happening. Even when I convert The Lyx User's Guide to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Thanks Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Jürgen
Re: Lyx 1.5.2 \printnomeclature not working on Linux
I have the nomencl package and have now copied the .sty file from windows to Linux. [...] I ran the texhash command and then in lyx I did a reconfigure but nothing is happening. Could you post the LaTeX log file? I have attached latex.log and pdflatex.log. Are these what you want? Even when I convert The Lyx User's Guide to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Yes. I have: nomencl.sty2005/09/22 v4.2 Nomenclature package (LN) I also have nomencl.sty [2005/09/22 v4.2 Nomenclature package (LN)] Thanks, Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have the nomencl package and have now copied the .sty file from windows to Linux. [...] I ran the texhash command and then in lyx I did a reconfigure but nothing is happening. Could you post the LaTeX log file? Even when I convert The Lyx User's Guide to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Yes. I have: nomencl.sty2005/09/22 v4.2 Nomenclature package (LN) Jürgen This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX) 21 AUG 2007 20:28 entering extended mode (/usr/share/texmf/web2c/cp227.tcx) ***pdflatex.ini (/usr/share/texmf/tex/latex/config/pdflatex.ini (/usr/share/texmf/tex/generic/config/pdftexconfig.tex) (/usr/share/texmf/tex/latex/base/latex.ltx (/usr/share/texmf/tex/latex/base/texsys.cfg) \openout15 = `texsys.aux'. ./texsys.aux found [EMAIL PROTECTED] set to: ./. Assuming \openin and \input have the same search path. Defining UNIX/DOS style filename parser. catcodes, registers, \maxdimen=\dimen10 \hideskip=\skip10 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] compatibility for TeX 2, parameters, \normalbaselineskip=\skip12 \normallineskip=\skip13 \normallineskiplimit=\dimen13 \interfootnotelinepenalty=\count23 \strutbox=\box11 LaTeX2e 2003/12/01 hacks, [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] control, par, spacing, [EMAIL PROTECTED] [EMAIL PROTECTED] \smallskipamount=\skip17 \medskipamount=\skip18 \bigskipamount=\skip19 \fill=\skip20 files, [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] font encodings, lengths, \everymath=\toks11 \everydisplay=\toks12 [EMAIL PROTECTED]@size=\toks13 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]@normal=\count28 [EMAIL PROTECTED]@bold=\count29 Local config file fonttext.cfg used (/usr/share/texmf/tex/generic/config/fonttext.cfg File: fonttext.cfg 2004/02/04 v2.3a LaTeX Kernel (Uncustomised text font setup) (/usr/share/texmf/tex/latex/base/fonttext.ltx File: fonttext.ltx 2004/02/04 v2.3a LaTeX Kernel (Text font setup) === Don't modify this file, use a .cfg file instead === (/usr/share/texmf/tex/latex/base/omlenc.def File: omlenc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/ot1enc.def File: ot1enc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/omsenc.def File: omsenc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/t1cmr.fd File: t1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmr.fd File: ot1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmss.fd File: ot1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmtt.fd File: ot1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions ))) Local config file fontmath.cfg used (/usr/share/texmf/tex/generic/config/fontmath.cfg File: fontmath.cfg 2004/02/04 v2.3a LaTeX Kernel (Uncustomised math font setup) (/usr/share/texmf/tex/latex/base/fontmath.ltx File: fontmath.ltx 2004/02/04 v2.3a LaTeX Kernel (Math font setup) === Don't modify this file, use a .cfg file instead === LaTeX Font Info:Redeclaring font encoding OML on input line 59. LaTeX Font Info:Redeclaring font encoding OMS on input line 60. (/usr/share/texmf/tex/latex/base/omlcmm.fd File: omlcmm.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/omscmsy.fd File: omscmsy.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/omxcmex.fd File: omxcmex.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ucmr.fd File: ucmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) \symoperators=\mathgroup0 \symletters=\mathgroup1
Re: Lyx 1.5.2 \printnomeclature not working on Linux
No. Copy the contents of Document-LaTeX Log file from the document where nomencl fails. My apologies. My original file is too big so everything is messy. I created a sample one for you. Here is the log file copy. NB: it is not printing the nomenclature in the pdf. )) (/usr/share/texmf/tex/latex/nomencl/nomencl.sty Package: nomencl 2005/09/22 v4.2 Nomenclature package (LN) \nomlabelwidth=\dimen103 [EMAIL PROTECTED] \nomitemsep=\skip43 ) [EMAIL PROTECTED] \openout3 = `newfile2.nlo'. Writing nomenclature file newfile2.nlo (./newfile2.aux) \openout1 = `newfile2.aux'. LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. (./newfile2.toc) [EMAIL PROTECTED] \openout4 = `newfile2.toc'. (./newfile2.nls) [1 {/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./newfile2.aux) ) Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have attached latex.log and pdflatex.log. Are these what you want? No. Copy the contents of Document-LaTeX Log file from the document where nomencl fails. Jürgen
Re: Lyx 1.5.2 \printnomeclature not working on Linux - solved
Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Finally, a solution. Yes the problem was that the nomencl package was old. I have ensured that the nomencl.sty file was updated. However, the nomencl.ist file wasn't update. I believe that Lyx uses this to run a command like makeindex masterfile.*glo* -s nomencl.ist -o masterfile.gls. I just made sure that I put the latest version of the nomencl.ist file in the right location using the following command: [EMAIL PROTECTED] Nomenclature]# cp nomencl.ist /usr/share/texmf/makeindex/ cp: overwrite `/usr/share/texmf/makeindex/nomencl.ist'? y [EMAIL PROTECTED] Nomenclature]# texhash texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /usr/share/texmf-config/ls-R... texhash: Updating /usr/share/texmf-var/ls-R... texhash: Updating /var/lib/texmf/ls-R... texhash: Done. [EMAIL PROTECTED] Nomenclature]# Jürgen, thank you very much for all your assistance - much appreciated! Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Jürgen
Lyx 1.5.2 \printnomeclature not working on Linux
Hi all, I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Thank you for any assistance. Nyasha
Re: Lyx 1.5.2 \printnomeclature not working on Linux
Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? I have the nomencl package and have now copied the .sty file from windows to Linux. Here is some more information about what my Linux PC has: [EMAIL PROTECTED] nyasha]# locate nomencl /home/nyasha/software/lyx-1.5.0rc2/lib/images/nomencl-insert.xpm /home/nyasha/software/lyx-1.5.2/lib/images/nomencl-insert.xpm /usr/local/share/lyx/images/nomencl-insert.xpm /usr/share/texmf/makeindex/nomencl.ist /usr/share/texmf/tex/latex/nomencl /usr/share/texmf/tex/latex/nomencl/nomencl.sty I ran the texhash command and then in lyx I did a reconfigure but nothing is happening. Even when I convert The Lyx User's Guide to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Thanks Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Jürgen
Re: Lyx 1.5.2 \printnomeclature not working on Linux
I have the nomencl package and have now copied the .sty file from windows to Linux. [...] I ran the texhash command and then in lyx I did a reconfigure but nothing is happening. Could you post the LaTeX log file? I have attached latex.log and pdflatex.log. Are these what you want? Even when I convert The Lyx User's Guide to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Yes. I have: nomencl.sty2005/09/22 v4.2 Nomenclature package (LN) I also have nomencl.sty [2005/09/22 v4.2 Nomenclature package (LN)] Thanks, Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have the nomencl package and have now copied the .sty file from windows to Linux. [...] I ran the texhash command and then in lyx I did a reconfigure but nothing is happening. Could you post the LaTeX log file? Even when I convert The Lyx User's Guide to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Yes. I have: nomencl.sty2005/09/22 v4.2 Nomenclature package (LN) Jürgen This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX) 21 AUG 2007 20:28 entering extended mode (/usr/share/texmf/web2c/cp227.tcx) ***pdflatex.ini (/usr/share/texmf/tex/latex/config/pdflatex.ini (/usr/share/texmf/tex/generic/config/pdftexconfig.tex) (/usr/share/texmf/tex/latex/base/latex.ltx (/usr/share/texmf/tex/latex/base/texsys.cfg) \openout15 = `texsys.aux'. ./texsys.aux found [EMAIL PROTECTED] set to: ./. Assuming \openin and \input have the same search path. Defining UNIX/DOS style filename parser. catcodes, registers, \maxdimen=\dimen10 \hideskip=\skip10 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] compatibility for TeX 2, parameters, \normalbaselineskip=\skip12 \normallineskip=\skip13 \normallineskiplimit=\dimen13 \interfootnotelinepenalty=\count23 \strutbox=\box11 LaTeX2e 2003/12/01 hacks, [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] control, par, spacing, [EMAIL PROTECTED] [EMAIL PROTECTED] \smallskipamount=\skip17 \medskipamount=\skip18 \bigskipamount=\skip19 \fill=\skip20 files, [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] font encodings, lengths, \everymath=\toks11 \everydisplay=\toks12 [EMAIL PROTECTED]@size=\toks13 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]@normal=\count28 [EMAIL PROTECTED]@bold=\count29 Local config file fonttext.cfg used (/usr/share/texmf/tex/generic/config/fonttext.cfg File: fonttext.cfg 2004/02/04 v2.3a LaTeX Kernel (Uncustomised text font setup) (/usr/share/texmf/tex/latex/base/fonttext.ltx File: fonttext.ltx 2004/02/04 v2.3a LaTeX Kernel (Text font setup) === Don't modify this file, use a .cfg file instead === (/usr/share/texmf/tex/latex/base/omlenc.def File: omlenc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/ot1enc.def File: ot1enc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/omsenc.def File: omsenc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/t1cmr.fd File: t1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmr.fd File: ot1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmss.fd File: ot1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmtt.fd File: ot1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions ))) Local config file fontmath.cfg used (/usr/share/texmf/tex/generic/config/fontmath.cfg File: fontmath.cfg 2004/02/04 v2.3a LaTeX Kernel (Uncustomised math font setup) (/usr/share/texmf/tex/latex/base/fontmath.ltx File: fontmath.ltx 2004/02/04 v2.3a LaTeX Kernel (Math font setup) === Don't modify this file, use a .cfg file instead === LaTeX Font Info:Redeclaring font encoding OML on input line 59. LaTeX Font Info:Redeclaring font encoding OMS on input line 60. (/usr/share/texmf/tex/latex/base/omlcmm.fd File: omlcmm.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/omscmsy.fd File: omscmsy.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/omxcmex.fd File: omxcmex.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ucmr.fd File: ucmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) \symoperators=\mathgroup0 \symletters=\mathgroup1
Re: Lyx 1.5.2 \printnomeclature not working on Linux
No. Copy the contents of Document-LaTeX Log file from the document where nomencl fails. My apologies. My original file is too big so everything is messy. I created a sample one for you. Here is the log file copy. NB: it is not printing the nomenclature in the pdf. )) (/usr/share/texmf/tex/latex/nomencl/nomencl.sty Package: nomencl 2005/09/22 v4.2 Nomenclature package (LN) \nomlabelwidth=\dimen103 [EMAIL PROTECTED] \nomitemsep=\skip43 ) [EMAIL PROTECTED] \openout3 = `newfile2.nlo'. Writing nomenclature file newfile2.nlo (./newfile2.aux) \openout1 = `newfile2.aux'. LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. (./newfile2.toc) [EMAIL PROTECTED] \openout4 = `newfile2.toc'. (./newfile2.nls) [1 {/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./newfile2.aux) ) Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have attached latex.log and pdflatex.log. Are these what you want? No. Copy the contents of Document-LaTeX Log file from the document where nomencl fails. Jürgen
Re: Lyx 1.5.2 \printnomeclature not working on Linux - solved
Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Finally, a solution. Yes the problem was that the nomencl package was old. I have ensured that the nomencl.sty file was updated. However, the nomencl.ist file wasn't update. I believe that Lyx uses this to run a command like makeindex masterfile.*glo* -s nomencl.ist -o masterfile.gls. I just made sure that I put the latest version of the nomencl.ist file in the right location using the following command: [EMAIL PROTECTED] Nomenclature]# cp nomencl.ist /usr/share/texmf/makeindex/ cp: overwrite `/usr/share/texmf/makeindex/nomencl.ist'? y [EMAIL PROTECTED] Nomenclature]# texhash texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /usr/share/texmf-config/ls-R... texhash: Updating /usr/share/texmf-var/ls-R... texhash: Updating /var/lib/texmf/ls-R... texhash: Done. [EMAIL PROTECTED] Nomenclature]# Jürgen, thank you very much for all your assistance - much appreciated! Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Jürgen
Lyx 1.5.2 \printnomeclature not working on Linux
Hi all, I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Thank you for any assistance. Nyasha
Re: Lyx 1.5.2 \printnomeclature not working on Linux
Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? I have the nomencl package and have now copied the .sty file from windows to Linux. Here is some more information about what my Linux PC has: [EMAIL PROTECTED] nyasha]# locate nomencl /home/nyasha/software/lyx-1.5.0rc2/lib/images/nomencl-insert.xpm /home/nyasha/software/lyx-1.5.2/lib/images/nomencl-insert.xpm /usr/local/share/lyx/images/nomencl-insert.xpm /usr/share/texmf/makeindex/nomencl.ist /usr/share/texmf/tex/latex/nomencl /usr/share/texmf/tex/latex/nomencl/nomencl.sty I ran the texhash command and then in lyx I did a "reconfigure" but nothing is happening. Even when I convert "The Lyx User's Guide" to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Thanks Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Jürgen
Re: Lyx 1.5.2 \printnomeclature not working on Linux
I have the nomencl package and have now copied the .sty file from windows to Linux. [...] I ran the texhash command and then in lyx I did a "reconfigure" but nothing is happening. Could you post the LaTeX log file? I have attached latex.log and pdflatex.log. Are these what you want? Even when I convert "The Lyx User's Guide" to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Yes. I have: nomencl.sty2005/09/22 v4.2 Nomenclature package (LN) I also have nomencl.sty [2005/09/22 v4.2 Nomenclature package (LN)] Thanks, Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have the nomencl package and have now copied the .sty file from windows to Linux. [...] I ran the texhash command and then in lyx I did a "reconfigure" but nothing is happening. Could you post the LaTeX log file? Even when I convert "The Lyx User's Guide" to PDF, I dont see the nomenclature being printed although the Lyx document shows that it is part of the document. Does yours work? Yes. I have: nomencl.sty2005/09/22 v4.2 Nomenclature package (LN) Jürgen This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX) 21 AUG 2007 20:28 entering extended mode (/usr/share/texmf/web2c/cp227.tcx) ***pdflatex.ini (/usr/share/texmf/tex/latex/config/pdflatex.ini (/usr/share/texmf/tex/generic/config/pdftexconfig.tex) (/usr/share/texmf/tex/latex/base/latex.ltx (/usr/share/texmf/tex/latex/base/texsys.cfg) \openout15 = `texsys.aux'. ./texsys.aux found [EMAIL PROTECTED] set to: ./. Assuming \openin and \input have the same search path. Defining UNIX/DOS style filename parser. catcodes, registers, \maxdimen=\dimen10 \hideskip=\skip10 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] compatibility for TeX 2, parameters, \normalbaselineskip=\skip12 \normallineskip=\skip13 \normallineskiplimit=\dimen13 \interfootnotelinepenalty=\count23 \strutbox=\box11 LaTeX2e <2003/12/01> hacks, [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] control, par, spacing, [EMAIL PROTECTED] [EMAIL PROTECTED] \smallskipamount=\skip17 \medskipamount=\skip18 \bigskipamount=\skip19 \fill=\skip20 files, [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] font encodings, lengths, \everymath=\toks11 \everydisplay=\toks12 [EMAIL PROTECTED]@size=\toks13 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]@normal=\count28 [EMAIL PROTECTED]@bold=\count29 Local config file fonttext.cfg used (/usr/share/texmf/tex/generic/config/fonttext.cfg File: fonttext.cfg 2004/02/04 v2.3a LaTeX Kernel (Uncustomised text font setup) (/usr/share/texmf/tex/latex/base/fonttext.ltx File: fonttext.ltx 2004/02/04 v2.3a LaTeX Kernel (Text font setup) === Don't modify this file, use a .cfg file instead === (/usr/share/texmf/tex/latex/base/omlenc.def File: omlenc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/ot1enc.def File: ot1enc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/omsenc.def File: omsenc.def 2004/02/22 v1.99f Standard LaTeX file ) (/usr/share/texmf/tex/latex/base/t1cmr.fd File: t1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmr.fd File: ot1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmss.fd File: ot1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ot1cmtt.fd File: ot1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions ))) Local config file fontmath.cfg used (/usr/share/texmf/tex/generic/config/fontmath.cfg File: fontmath.cfg 2004/02/04 v2.3a LaTeX Kernel (Uncustomised math font setup) (/usr/share/texmf/tex/latex/base/fontmath.ltx File: fontmath.ltx 2004/02/04 v2.3a LaTeX Kernel (Math font setup) === Don't modify this file, use a .cfg file instead === LaTeX Font Info:Redeclaring font encoding OML on input line 59. LaTeX Font Info:Redeclaring font encoding OMS on input line 60. (/usr/share/texmf/tex/latex/base/omlcmm.fd File: omlcmm.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/omscmsy.fd File: omscmsy.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/omxcmex.fd File: omxcmex.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) (/usr/share/texmf/tex/latex/base/ucmr.fd File: ucmr.fd 1999/05/25 v2.5h Standard LaTeX font defin
Re: Lyx 1.5.2 \printnomeclature not working on Linux
No. Copy the contents of Document->LaTeX Log file from the document where nomencl fails. My apologies. My original file is too big so everything is messy. I created a sample one for you. Here is the log file copy. NB: it is not printing the nomenclature in the pdf. )) (/usr/share/texmf/tex/latex/nomencl/nomencl.sty Package: nomencl 2005/09/22 v4.2 Nomenclature package (LN) \nomlabelwidth=\dimen103 [EMAIL PROTECTED] \nomitemsep=\skip43 ) [EMAIL PROTECTED] \openout3 = `newfile2.nlo'. Writing nomenclature file newfile2.nlo (./newfile2.aux) \openout1 = `newfile2.aux'. LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 20. LaTeX Font Info:... okay on input line 20. LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 20. LaTeX Font Info:... okay on input line 20. (./newfile2.toc) [EMAIL PROTECTED] \openout4 = `newfile2.toc'. (./newfile2.nls) [1 {/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./newfile2.aux) ) Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have attached latex.log and pdflatex.log. Are these what you want? No. Copy the contents of Document->LaTeX Log file from the document where nomencl fails. Jürgen
Re: Lyx 1.5.2 \printnomeclature not working on Linux - solved
Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Finally, a solution. Yes the problem was that the nomencl package was old. I have ensured that the nomencl.sty file was updated. However, the nomencl.ist file wasn't update. I believe that Lyx uses this to run a command like "makeindex masterfile.*glo* -s nomencl.ist -o masterfile.gls". I just made sure that I put the latest version of the nomencl.ist file in the right location using the following command: [EMAIL PROTECTED] Nomenclature]# cp nomencl.ist /usr/share/texmf/makeindex/ cp: overwrite `/usr/share/texmf/makeindex/nomencl.ist'? y [EMAIL PROTECTED] Nomenclature]# texhash texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /usr/share/texmf-config/ls-R... texhash: Updating /usr/share/texmf-var/ls-R... texhash: Updating /var/lib/texmf/ls-R... texhash: Done. [EMAIL PROTECTED] Nomenclature]# Jürgen, thank you very much for all your assistance - much appreciated! Nyasha Jürgen Spitzmüller wrote: Nyasha Chigwamba wrote: I have just installed Lyx 1.5.2 on two computers, one running Windows XP and another running Linux (Fedora 7). On Windows, I have used the nomenclature functionality that comes with Lyx 1.5.2. It works fine. However, when I open the same Lyx document on the Linux PC and export to PDF in the same way as the Windows PC I don't see the nomeclature printed. Is there something that needs to be done for the nomeclature to be printed on Linux? One of the reasons why I use Lyx was to get platform independent word processing. Maybe you don't have the nomencl package installed on your Linux box, or your nomencl version is too old? Jürgen