Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/02/2010 05:21 PM, Paul Rubin wrote: Birte Schoettker schoettbier at gmail.com writes: at Rainer: I would love to know that, too, how to identify non-ASCII characters in a bibtex file. On Linux (or probably most POSIX-compatible systems), you have the iconv command. So iconv -t ASCII myfile.bib | grep iconv Tanks for pointing this out - did not know about it. Thanks a lot. Rainer will try to convert your .bib file to ASCII and, if it fails, print the error message iconv generated (which includes the position of the offending character). The position is a character count, not a line/column pair, so it might be easier to go with iconv -t ASCII myfile.bib (which writes the converted file to the display) and see where in the file iconv died. There are ports of iconv to Windows as well (I use the MinGW port at home). /Paul - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkz4siUACgkQoYgNqgF2egrxWgCeOoIBvDny6tyGBPXZIbQn+arC KxUAn2J7hFZ2Elx/pRJVCdLcECT0X3XE =E2P4 -END PGP SIGNATURE-
LyX on Linux: how to upgrade?
Hello all, I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov 2010). How can I use apt or synaptic to update to latest version? Can I add some repo to my source lists? (I don't want the 2.0 beta) Thanks, S My LyX: 1.6.7 My OS: CrunchBang Linux 10 Statler (Debian based)
Re: LyX on Linux: how to upgrade?
On Fri, Dec 3, 2010 at 12:50 PM, Stig Rognes stig.rog...@gmail.com wrote: Hello all, I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov 2010). How can I use apt or synaptic to update to latest version? Can I add some repo to my source lists? (I don't want the 2.0 beta) Thanks, S My LyX: 1.6.7 My OS: CrunchBang Linux 10 Statler (Debian based) One more thing: My OS is 64-bit on x86_64 if that matters. (Is there a 64-bit version of LyX?) S
Re: LyX on Linux: how to upgrade?
On Fri, Dec 3, 2010 at 1:00 PM, Stig Rognes stig.rog...@gmail.com wrote: On Fri, Dec 3, 2010 at 12:50 PM, Stig Rognes stig.rog...@gmail.com wrote: Hello all, I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov 2010). How can I use apt or synaptic to update to latest version? Can I add some repo to my source lists? (I don't want the 2.0 beta) Thanks, S My LyX: 1.6.7 My OS: CrunchBang Linux 10 Statler (Debian based) One more thing: My OS is 64-bit on x86_64 if that matters. (Is there a 64-bit version of LyX?) Yes, there should be. Normally Debian takes care of this. I've just checked sid [1] and LyX wasn't pushed there, yet. I *think* that Debian policy is to wait for two weeks after a new release, and if the new version is still missing from the repos (sid), you may file a bug report (package update request). It might or may not work quickly enough. Alternatively, build 1.6.8 from sources. Regards Liviu [1] http://packages.debian.org/sid/lyx S -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Still getting errors with 2.0.0beta1.
The LyX version offered on the Fedora 14 repositories has now upgraded to 2.0.0beta1. When I load a 1.6x multi-document project into the beta version and try to process it, I get the following error: Paragraph ended before \gather* was complete. Missing $ inserted. Missing \endgroup inserted. Display math should end with $$. Misplaced \cr. Misplaced \noalign. Misplaced \noalign. Extra }, or forgotten \endgroup. Missing $ inserted. Of course, the document processed just fine with LyX 1.6x. When I backtraced the error line from the exported tex source, I found that the problem was in a gather* environment that contains an aligned sub-environment. It seems that the lyx - tex conversion is generating an incorrect source code. Moreover, LyX stops displaying the equations the moment a sub-environment is created. You can verify that very quickly. Here's the offending cell: \begin{gather*} \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu 1+p_{\perp}\frac{d}{dt}\sen\phi\vu 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\ \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma m_{\alpha}}\\ \cos\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma m_{\alpha}}, \end{aligned} \end{gather*} Processing the tex source directly, It complained that the paragraph was ended before \gather* was complete. I just had to remove the empty line before \end{gather*} and the document processed all right. I guess this is a bug... -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered Linux user # 153741
Re: How can I restart enumeration of a episode after a chapter
On 12/02/2010 05:08 PM, davy bold wrote: hello, I am a German mother tongue speaker and hope you can understand my English. I have a document the following way... Chapter 1 blablabla 1 blablabla 2 blublublu Chapter 2 ljljljljljl 3 blobloblo 4 bliblibli 5 blebleble I need it though like this... Chapter 1 blablabla 1 blablabla 2 blublublu Chapter 2 ljljljljljl 1 blobloblo 2 bliblibli 3 blebleble can I do this in Lyx? In the preamble: \...@addtoreset{section}{chapter}. I think. See also the chngcntr package. Richard
Re: Still getting errors with 2.0.0beta1.
On 12/03/2010 08:02 AM, Rudi Gaelzer wrote: The LyX version offered on the Fedora 14 repositories has now upgraded to 2.0.0beta1. When I load a 1.6x multi-document project into the beta version and try to process it, I get the following error: Paragraph ended before \gather* was complete. Missing $ inserted. Missing \endgroup inserted. Display math should end with $$. Misplaced \cr. Misplaced \noalign. Misplaced \noalign. Extra }, or forgotten \endgroup. Missing $ inserted. Of course, the document processed just fine with LyX 1.6x. When I backtraced the error line from the exported tex source, I found that the problem was in a gather* environment that contains an aligned sub-environment. It seems that the lyx - tex conversion is generating an incorrect source code. Moreover, LyX stops displaying the equations the moment a sub-environment is created. You can verify that very quickly. Here's the offending cell: \begin{gather*} \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu 1+p_{\perp}\frac{d}{dt}\sen\phi\vu 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\ \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma m_{\alpha}}\\ \cos\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma m_{\alpha}}, \end{aligned} \end{gather*} Processing the tex source directly, It complained that the paragraph was ended before \gather* was complete. I just had to remove the empty line before \end{gather*} and the document processed all right. I guess this is a bug... A known bug. It has been fixed for the next release. Still, thanks for the report. Richard
Fwd: Memoir's pagenotes fail with Lyx
I am cross-posting a message I sent to computer.text.tex, since the problem affects LyX.. Lars Madsen's (memoir's maintainer) temporary fix is reported at the end. I think I have stumbled upon an incompatibility between memoir and Lyx. Memoir uses the \pagenote command to produce endnotes. However, pagenote fails when the text of the pagenote has a comment sign (i.e. '%') before the closing brace. Which is exactly how Lyx produces footnotes: Minimal example: \documentclass[a4paper,10pt]{memoir} \usepackage[english]{babel} \makepagenote \begin{document} 1. This works\pagenote{This is a pagenote} 2 This fails\pagenote{This is a pagenote% } \printpagenotes \end{document} The second format is how Lyx exports to latex. Any idea on how to solve the problem is welcome. Cheers, Stefano --Lars Madsen's reply--- very interesting it is caused by \...@sanitize which is used when we write the pagenote to file, so we end up with \noteentry{2}{}{This is a pagenote% }{1} which of course crashes everything when LaTeX attempts to run the .ent file. Short term fix \makeatletter \renewcommand*{\makepagenote}{% \newwri...@notefile \immediate\openo...@notefile=\jobname.ent \mempagenotestrue \def\pagenot...@bsphack\begingroup % \...@sanitize \...@m@wrpnote}% \typeout{Writing note file \jobname.ent}% \let\makepageno...@empty} \makeatother \makepagenote
Re: LyZ: lyxpipe changes in 2.0?
Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) On Thu, Dec 2, 2010 at 4:56 PM, Pavel Sanda sa...@lyx.org wrote: Jose Quesada wrote: /home/user/.lyx/lyxpipe.in /home/user/.lyx/lyxpipe.out I never cared to look for this before because it worked, it may have always been like that... yes, just try to run 1.6 and you will find them there. pavel -- Best, -Jose Jose Quesada, PhD. Research scientist, Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada
Re: LyZ: lyxpipe changes in 2.0?
Jose Quesada wrote: Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) there were many changes i the pipe code, but i thought they were all backported to 1.6... well, i may be wrong. anyway the fixability looks more like the question for lyz developer, CC-ing now. actually the problem might be that we changed some lfuns for inserting citations and not pipes related at all... see RELEASE_NOTES for the list of changes. pavel
puzzled by the \noun command inside \index
Dear Lyxers, can anyone explain to me why the \noun command (small caps) produces this funny latex code when used within a \idex command? Consider the following: This is a line of text with with a word in small caps: small-caps-word shows up in the LateX source window as : Latex 1: This is line of text with a word in small caps: \noun{word} As it should. Now try to put the last word of the previous line into a index command and put it in small caps as well. This is the Latex output: Latex 2: This is line of text with a word in small caps: \noun{small-caps-word}\index{small-caps-w...@\noun{small-caps-word}} ^^^ whereas I would expect: Latex 3: This is line of text with a word in small caps: \noun{small-caps-word}\index{\noun{small-caps-word}} Why is the underlined part there? I mean the -- small-caps-word@ . Is it needed? Is it a bug? I have a feeling that it is messing up my index, even though I do not get any warning (let alone errors). Stefano noun-command-test.lyx Description: Binary data
Re: LyZ: lyxpipe changes in 2.0?
Not sure with SVN, but with lyx 2b1 release lyz works almost fine. The only problem I had was that the latest lyz cannot create a bibtex record by itself, but that seems more like a lyz/firefox related problem. If I touch a .bib file manually, then lyz can port citations perfectly. - Original Message - From: Jose Quesada Sent: 12/03/10 07:37 PM To: sa...@lyx.org, lyx-users@lists.lyx.org Subject: Re: LyZ: lyxpipe changes in 2.0? Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) Regards, Sam Madhani
Table cell vertical alignment with nested tables
Hi, I'm having trouble with text alignment when I have one column of text juxtaposed with another column that contains a nested table. The text is aligned with the centre of the table rather than the top. Below is a simple document which demonstrates the problem. Thanks, Ramin. #LyX 1.6.5 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass article \use_default_options true \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard \begin_inset Tabular lyxtabular version=3 rows=2 columns=2 features column alignment=block valignment=top width=1.1in column alignment=left valignment=top width=3.5in row cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \emph on Blah \end_layout \end_inset /cell cell alignment=center valignment=top topline=true bottomline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size scriptsize Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. \end_layout \end_inset /cell /row row cell alignment=center valignment=top topline=true bottomline=true leftline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \emph on Blah \end_layout \end_inset /cell cell alignment=center valignment=top topline=true bottomline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size scriptsize \begin_inset Tabular lyxtabular version=3 rows=3 columns=2 features column alignment=left valignment=top width=0 column alignment=left valignment=top width=2.7in row cell alignment=center valignment=top topline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset /cell cell alignment=center valignment=top topline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset /cell /row row cell alignment=center valignment=top usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset /cell cell alignment=center valignment=top usebox=none \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset /cell /row row cell alignment=center valignment=top bottomline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset /cell cell alignment=center valignment=top bottomline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \end_body \end_document
Re: puzzled by the \noun command inside \index
stefano franchi wrote: Latex 2: This is line of text with a word in small caps: \noun{small-caps-word}\index{small-caps-w...@\noun{small-caps-word}} ^^^ whereas I would expect: Latex 3: This is line of text with a word in small caps: \noun{small-caps-word}\index{\noun{small-caps-word}} Why is the underlined part there? I mean the -- small-caps-word@ . Is it needed? Is it a bug? I have a feeling that it is messing up my index, even though I do not get any warning (let alone errors). It is needed to get your index entry sorted properly. If it would only be \index{\noun{small-caps-word}}, your entry would be sorted at \ (and then n). The part before the @ is a hint to the index processor where to sort the entry. HTH, Jürgen
Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/02/2010 05:21 PM, Paul Rubin wrote: Birte Schoettker schoettbier at gmail.com writes: at Rainer: I would love to know that, too, how to identify non-ASCII characters in a bibtex file. On Linux (or probably most POSIX-compatible systems), you have the iconv command. So iconv -t ASCII myfile.bib | grep iconv Tanks for pointing this out - did not know about it. Thanks a lot. Rainer will try to convert your .bib file to ASCII and, if it fails, print the error message iconv generated (which includes the position of the offending character). The position is a character count, not a line/column pair, so it might be easier to go with iconv -t ASCII myfile.bib (which writes the converted file to the display) and see where in the file iconv died. There are ports of iconv to Windows as well (I use the MinGW port at home). /Paul - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkz4siUACgkQoYgNqgF2egrxWgCeOoIBvDny6tyGBPXZIbQn+arC KxUAn2J7hFZ2Elx/pRJVCdLcECT0X3XE =E2P4 -END PGP SIGNATURE-
LyX on Linux: how to upgrade?
Hello all, I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov 2010). How can I use apt or synaptic to update to latest version? Can I add some repo to my source lists? (I don't want the 2.0 beta) Thanks, S My LyX: 1.6.7 My OS: CrunchBang Linux 10 Statler (Debian based)
Re: LyX on Linux: how to upgrade?
On Fri, Dec 3, 2010 at 12:50 PM, Stig Rognes stig.rog...@gmail.com wrote: Hello all, I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov 2010). How can I use apt or synaptic to update to latest version? Can I add some repo to my source lists? (I don't want the 2.0 beta) Thanks, S My LyX: 1.6.7 My OS: CrunchBang Linux 10 Statler (Debian based) One more thing: My OS is 64-bit on x86_64 if that matters. (Is there a 64-bit version of LyX?) S
Re: LyX on Linux: how to upgrade?
On Fri, Dec 3, 2010 at 1:00 PM, Stig Rognes stig.rog...@gmail.com wrote: On Fri, Dec 3, 2010 at 12:50 PM, Stig Rognes stig.rog...@gmail.com wrote: Hello all, I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov 2010). How can I use apt or synaptic to update to latest version? Can I add some repo to my source lists? (I don't want the 2.0 beta) Thanks, S My LyX: 1.6.7 My OS: CrunchBang Linux 10 Statler (Debian based) One more thing: My OS is 64-bit on x86_64 if that matters. (Is there a 64-bit version of LyX?) Yes, there should be. Normally Debian takes care of this. I've just checked sid [1] and LyX wasn't pushed there, yet. I *think* that Debian policy is to wait for two weeks after a new release, and if the new version is still missing from the repos (sid), you may file a bug report (package update request). It might or may not work quickly enough. Alternatively, build 1.6.8 from sources. Regards Liviu [1] http://packages.debian.org/sid/lyx S -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Still getting errors with 2.0.0beta1.
The LyX version offered on the Fedora 14 repositories has now upgraded to 2.0.0beta1. When I load a 1.6x multi-document project into the beta version and try to process it, I get the following error: Paragraph ended before \gather* was complete. Missing $ inserted. Missing \endgroup inserted. Display math should end with $$. Misplaced \cr. Misplaced \noalign. Misplaced \noalign. Extra }, or forgotten \endgroup. Missing $ inserted. Of course, the document processed just fine with LyX 1.6x. When I backtraced the error line from the exported tex source, I found that the problem was in a gather* environment that contains an aligned sub-environment. It seems that the lyx - tex conversion is generating an incorrect source code. Moreover, LyX stops displaying the equations the moment a sub-environment is created. You can verify that very quickly. Here's the offending cell: \begin{gather*} \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu 1+p_{\perp}\frac{d}{dt}\sen\phi\vu 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\ \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma m_{\alpha}}\\ \cos\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma m_{\alpha}}, \end{aligned} \end{gather*} Processing the tex source directly, It complained that the paragraph was ended before \gather* was complete. I just had to remove the empty line before \end{gather*} and the document processed all right. I guess this is a bug... -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered Linux user # 153741
Re: How can I restart enumeration of a episode after a chapter
On 12/02/2010 05:08 PM, davy bold wrote: hello, I am a German mother tongue speaker and hope you can understand my English. I have a document the following way... Chapter 1 blablabla 1 blablabla 2 blublublu Chapter 2 ljljljljljl 3 blobloblo 4 bliblibli 5 blebleble I need it though like this... Chapter 1 blablabla 1 blablabla 2 blublublu Chapter 2 ljljljljljl 1 blobloblo 2 bliblibli 3 blebleble can I do this in Lyx? In the preamble: \...@addtoreset{section}{chapter}. I think. See also the chngcntr package. Richard
Re: Still getting errors with 2.0.0beta1.
On 12/03/2010 08:02 AM, Rudi Gaelzer wrote: The LyX version offered on the Fedora 14 repositories has now upgraded to 2.0.0beta1. When I load a 1.6x multi-document project into the beta version and try to process it, I get the following error: Paragraph ended before \gather* was complete. Missing $ inserted. Missing \endgroup inserted. Display math should end with $$. Misplaced \cr. Misplaced \noalign. Misplaced \noalign. Extra }, or forgotten \endgroup. Missing $ inserted. Of course, the document processed just fine with LyX 1.6x. When I backtraced the error line from the exported tex source, I found that the problem was in a gather* environment that contains an aligned sub-environment. It seems that the lyx - tex conversion is generating an incorrect source code. Moreover, LyX stops displaying the equations the moment a sub-environment is created. You can verify that very quickly. Here's the offending cell: \begin{gather*} \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu 1+p_{\perp}\frac{d}{dt}\sen\phi\vu 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\ \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma m_{\alpha}}\\ \cos\phi p_{\perp}\frac{d\phi}{dt} =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma m_{\alpha}}, \end{aligned} \end{gather*} Processing the tex source directly, It complained that the paragraph was ended before \gather* was complete. I just had to remove the empty line before \end{gather*} and the document processed all right. I guess this is a bug... A known bug. It has been fixed for the next release. Still, thanks for the report. Richard
Fwd: Memoir's pagenotes fail with Lyx
I am cross-posting a message I sent to computer.text.tex, since the problem affects LyX.. Lars Madsen's (memoir's maintainer) temporary fix is reported at the end. I think I have stumbled upon an incompatibility between memoir and Lyx. Memoir uses the \pagenote command to produce endnotes. However, pagenote fails when the text of the pagenote has a comment sign (i.e. '%') before the closing brace. Which is exactly how Lyx produces footnotes: Minimal example: \documentclass[a4paper,10pt]{memoir} \usepackage[english]{babel} \makepagenote \begin{document} 1. This works\pagenote{This is a pagenote} 2 This fails\pagenote{This is a pagenote% } \printpagenotes \end{document} The second format is how Lyx exports to latex. Any idea on how to solve the problem is welcome. Cheers, Stefano --Lars Madsen's reply--- very interesting it is caused by \...@sanitize which is used when we write the pagenote to file, so we end up with \noteentry{2}{}{This is a pagenote% }{1} which of course crashes everything when LaTeX attempts to run the .ent file. Short term fix \makeatletter \renewcommand*{\makepagenote}{% \newwri...@notefile \immediate\openo...@notefile=\jobname.ent \mempagenotestrue \def\pagenot...@bsphack\begingroup % \...@sanitize \...@m@wrpnote}% \typeout{Writing note file \jobname.ent}% \let\makepageno...@empty} \makeatother \makepagenote
Re: LyZ: lyxpipe changes in 2.0?
Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) On Thu, Dec 2, 2010 at 4:56 PM, Pavel Sanda sa...@lyx.org wrote: Jose Quesada wrote: /home/user/.lyx/lyxpipe.in /home/user/.lyx/lyxpipe.out I never cared to look for this before because it worked, it may have always been like that... yes, just try to run 1.6 and you will find them there. pavel -- Best, -Jose Jose Quesada, PhD. Research scientist, Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada
Re: LyZ: lyxpipe changes in 2.0?
Jose Quesada wrote: Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) there were many changes i the pipe code, but i thought they were all backported to 1.6... well, i may be wrong. anyway the fixability looks more like the question for lyz developer, CC-ing now. actually the problem might be that we changed some lfuns for inserting citations and not pipes related at all... see RELEASE_NOTES for the list of changes. pavel
puzzled by the \noun command inside \index
Dear Lyxers, can anyone explain to me why the \noun command (small caps) produces this funny latex code when used within a \idex command? Consider the following: This is a line of text with with a word in small caps: small-caps-word shows up in the LateX source window as : Latex 1: This is line of text with a word in small caps: \noun{word} As it should. Now try to put the last word of the previous line into a index command and put it in small caps as well. This is the Latex output: Latex 2: This is line of text with a word in small caps: \noun{small-caps-word}\index{small-caps-w...@\noun{small-caps-word}} ^^^ whereas I would expect: Latex 3: This is line of text with a word in small caps: \noun{small-caps-word}\index{\noun{small-caps-word}} Why is the underlined part there? I mean the -- small-caps-word@ . Is it needed? Is it a bug? I have a feeling that it is messing up my index, even though I do not get any warning (let alone errors). Stefano noun-command-test.lyx Description: Binary data
Re: LyZ: lyxpipe changes in 2.0?
Not sure with SVN, but with lyx 2b1 release lyz works almost fine. The only problem I had was that the latest lyz cannot create a bibtex record by itself, but that seems more like a lyz/firefox related problem. If I touch a .bib file manually, then lyz can port citations perfectly. - Original Message - From: Jose Quesada Sent: 12/03/10 07:37 PM To: sa...@lyx.org, lyx-users@lists.lyx.org Subject: Re: LyZ: lyxpipe changes in 2.0? Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) Regards, Sam Madhani
Table cell vertical alignment with nested tables
Hi, I'm having trouble with text alignment when I have one column of text juxtaposed with another column that contains a nested table. The text is aligned with the centre of the table rather than the top. Below is a simple document which demonstrates the problem. Thanks, Ramin. #LyX 1.6.5 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass article \use_default_options true \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard \begin_inset Tabular lyxtabular version=3 rows=2 columns=2 features column alignment=block valignment=top width=1.1in column alignment=left valignment=top width=3.5in row cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \emph on Blah \end_layout \end_inset /cell cell alignment=center valignment=top topline=true bottomline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size scriptsize Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. \end_layout \end_inset /cell /row row cell alignment=center valignment=top topline=true bottomline=true leftline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \emph on Blah \end_layout \end_inset /cell cell alignment=center valignment=top topline=true bottomline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size scriptsize \begin_inset Tabular lyxtabular version=3 rows=3 columns=2 features column alignment=left valignment=top width=0 column alignment=left valignment=top width=2.7in row cell alignment=center valignment=top topline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset /cell cell alignment=center valignment=top topline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset /cell /row row cell alignment=center valignment=top usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset /cell cell alignment=center valignment=top usebox=none \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset /cell /row row cell alignment=center valignment=top bottomline=true usebox=none \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset /cell cell alignment=center valignment=top bottomline=true usebox=none \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \end_body \end_document
Re: puzzled by the \noun command inside \index
stefano franchi wrote: Latex 2: This is line of text with a word in small caps: \noun{small-caps-word}\index{small-caps-w...@\noun{small-caps-word}} ^^^ whereas I would expect: Latex 3: This is line of text with a word in small caps: \noun{small-caps-word}\index{\noun{small-caps-word}} Why is the underlined part there? I mean the -- small-caps-word@ . Is it needed? Is it a bug? I have a feeling that it is messing up my index, even though I do not get any warning (let alone errors). It is needed to get your index entry sorted properly. If it would only be \index{\noun{small-caps-word}}, your entry would be sorted at \ (and then n). The part before the @ is a hint to the index processor where to sort the entry. HTH, Jürgen
Re: limit in number of reference entries in *.bib coming from jabref and used in lyx ? entries in reference list are cut off
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/02/2010 05:21 PM, Paul Rubin wrote: > Birte Schoettker gmail.com> writes: > > Rainer: I would love to know that, too, how to identify non-ASCII > characters in a bibtex file. > > On Linux (or probably most POSIX-compatible systems), you have the iconv > command. So > > iconv -t ASCII myfile.bib | grep iconv Tanks for pointing this out - did not know about it. Thanks a lot. Rainer > > will try to convert your .bib file to ASCII and, if it fails, print the error > message iconv generated (which includes the position of the offending > character). The position is a character count, not a line/column pair, so it > might be easier to go with > > iconv -t ASCII myfile.bib > > (which writes the converted file to the display) and see where in the file > iconv > died. > > There are ports of iconv to Windows as well (I use the MinGW port at home). > > /Paul > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkz4siUACgkQoYgNqgF2egrxWgCeOoIBvDny6tyGBPXZIbQn+arC KxUAn2J7hFZ2Elx/pRJVCdLcECT0X3XE =E2P4 -END PGP SIGNATURE-
LyX on Linux: how to upgrade?
Hello all, I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov 2010). How can I use apt or synaptic to update to latest version? Can I add some repo to my source lists? (I don't want the 2.0 beta) Thanks, S My LyX: 1.6.7 My OS: CrunchBang Linux 10 "Statler" (Debian based)
Re: LyX on Linux: how to upgrade?
On Fri, Dec 3, 2010 at 12:50 PM, Stig Rogneswrote: > Hello all, > > I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the > Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov > 2010). How can I use apt or synaptic to update to latest version? Can I add > some repo to my source lists? > (I don't want the 2.0 beta) > > Thanks, > S > > My LyX: 1.6.7 > My OS: CrunchBang Linux 10 "Statler" (Debian based) > > One more thing: My OS is 64-bit on x86_64 if that matters. (Is there a 64-bit version of LyX?) S
Re: LyX on Linux: how to upgrade?
On Fri, Dec 3, 2010 at 1:00 PM, Stig Rogneswrote: > On Fri, Dec 3, 2010 at 12:50 PM, Stig Rognes wrote: >> >> Hello all, >> >> I'm a Linux-newbie using LyX for writing, and currently v 1.6.7 is in the >> Debian repos. However, LyX 1.6.8 is latest stable release (released 15 nov >> 2010). How can I use apt or synaptic to update to latest version? Can I add >> some repo to my source lists? >> (I don't want the 2.0 beta) >> >> Thanks, >> S >> >> My LyX: 1.6.7 >> My OS: CrunchBang Linux 10 "Statler" (Debian based) >> > > One more thing: My OS is 64-bit on x86_64 if that matters. (Is there a > 64-bit version of LyX?) > Yes, there should be. Normally Debian takes care of this. I've just checked sid [1] and LyX wasn't pushed there, yet. I *think* that Debian policy is to wait for two weeks after a new release, and if the new version is still missing from the repos (sid), you may file a bug report (package update request). It might or may not work quickly enough. Alternatively, build 1.6.8 from sources. Regards Liviu [1] http://packages.debian.org/sid/lyx > S > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Still getting errors with 2.0.0beta1.
The LyX version offered on the Fedora 14 repositories has now upgraded to 2.0.0beta1. When I load a 1.6x multi-document project into the beta version and try to process it, I get the following error: Paragraph ended before \gather* was complete. Missing $ inserted. Missing \endgroup inserted. Display math should end with $$. Misplaced \cr. Misplaced \noalign. Misplaced \noalign. Extra }, or forgotten \endgroup. Missing $ inserted. Of course, the document processed just fine with LyX 1.6x. When I backtraced the error line from the exported tex source, I found that the problem was in a gather* environment that contains an aligned sub-environment. It seems that the lyx -> tex conversion is generating an incorrect source code. Moreover, LyX stops displaying the equations the moment a sub-environment is created. You can verify that very quickly. Here's the offending cell: \begin{gather*} \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu 1+p_{\perp}\frac{d}{dt}\sen\phi\vu 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\ \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} & =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma m_{\alpha}}\\ \cos\phi p_{\perp}\frac{d\phi}{dt} & =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma m_{\alpha}}, \end{aligned} \end{gather*} Processing the tex source directly, It complained that the paragraph was ended before \gather* was complete. I just had to remove the empty line before \end{gather*} and the document processed all right. I guess this is a bug... -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered Linux user # 153741
Re: How can I restart enumeration of a episode after a chapter
On 12/02/2010 05:08 PM, davy bold wrote: hello, I am a German mother tongue speaker and hope you can understand my English. I have a document the following way... Chapter 1 blablabla 1 blablabla 2 blublublu Chapter 2 ljljljljljl 3 blobloblo 4 bliblibli 5 blebleble I need it though like this... Chapter 1 blablabla 1 blablabla 2 blublublu Chapter 2 ljljljljljl 1 blobloblo 2 bliblibli 3 blebleble can I do this in Lyx? In the preamble: \...@addtoreset{section}{chapter}. I think. See also the chngcntr package. Richard
Re: Still getting errors with 2.0.0beta1.
On 12/03/2010 08:02 AM, Rudi Gaelzer wrote: The LyX version offered on the Fedora 14 repositories has now upgraded to 2.0.0beta1. When I load a 1.6x multi-document project into the beta version and try to process it, I get the following error: Paragraph ended before \gather* was complete. Missing $ inserted. Missing \endgroup inserted. Display math should end with $$. Misplaced \cr. Misplaced \noalign. Misplaced \noalign. Extra }, or forgotten \endgroup. Missing $ inserted. Of course, the document processed just fine with LyX 1.6x. When I backtraced the error line from the exported tex source, I found that the problem was in a gather* environment that contains an aligned sub-environment. It seems that the lyx -> tex conversion is generating an incorrect source code. Moreover, LyX stops displaying the equations the moment a sub-environment is created. You can verify that very quickly. Here's the offending cell: \begin{gather*} \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu 1+p_{\perp}\frac{d}{dt}\sen\phi\vu 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\ \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} & =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma m_{\alpha}}\\ \cos\phi p_{\perp}\frac{d\phi}{dt} & =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma m_{\alpha}}, \end{aligned} \end{gather*} Processing the tex source directly, It complained that the paragraph was ended before \gather* was complete. I just had to remove the empty line before \end{gather*} and the document processed all right. I guess this is a bug... A known bug. It has been fixed for the next release. Still, thanks for the report. Richard
Fwd: Memoir's pagenotes fail with Lyx
I am cross-posting a message I sent to computer.text.tex, since the problem affects LyX.. Lars Madsen's (memoir's maintainer) temporary fix is reported at the end. I think I have stumbled upon an incompatibility between memoir and Lyx. Memoir uses the \pagenote command to produce endnotes. However, pagenote fails when the text of the pagenote has a comment sign (i.e. '%') before the closing brace. Which is exactly how Lyx produces footnotes: Minimal example: \documentclass[a4paper,10pt]{memoir} \usepackage[english]{babel} \makepagenote \begin{document} 1. This works\pagenote{This is a pagenote} 2 This fails\pagenote{This is a pagenote% } \printpagenotes \end{document} The second format is how Lyx exports to latex. Any idea on how to solve the problem is welcome. Cheers, Stefano --Lars Madsen's reply--- very interesting it is caused by \...@sanitize which is used when we write the pagenote to file, so we end up with \noteentry{2}{}{This is a pagenote% }{1} which of course crashes everything when LaTeX attempts to run the .ent file. Short term fix \makeatletter \renewcommand*{\makepagenote}{% \newwri...@notefile \immediate\openo...@notefile=\jobname.ent \mempagenotestrue \def\pagenot...@bsphack\begingroup % \...@sanitize \...@m@wrpnote}% \typeout{Writing note file \jobname.ent}% \let\makepageno...@empty} \makeatother \makepagenote
Re: LyZ: lyxpipe changes in 2.0?
Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) On Thu, Dec 2, 2010 at 4:56 PM, Pavel Sandawrote: > Jose Quesada wrote: > > /home/user/.lyx/lyxpipe.in > > /home/user/.lyx/lyxpipe.out > > > > I never cared to look for this before because it worked, it may have > always > > been like that... > > yes, just try to run 1.6 and you will find them there. > > pavel > -- Best, -Jose Jose Quesada, PhD. Research scientist, Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada
Re: LyZ: lyxpipe changes in 2.0?
Jose Quesada wrote: > Thanks Pavel, > So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? > I did try 1.6.8 and it did work :) there were many changes i the pipe code, but i thought they were all backported to 1.6... well, i may be wrong. anyway the fixability looks more like the question for lyz developer, CC-ing now. actually the problem might be that we changed some lfuns for inserting citations and not pipes related at all... see RELEASE_NOTES for the list of changes. pavel
puzzled by the \noun command inside \index
Dear Lyxers, can anyone explain to me why the \noun command (small caps) produces this funny latex code when used within a \idex command? Consider the following: > This is a line of text with with a word in small caps: small-caps-word shows up in the LateX source window as : Latex 1: This is line of text with a word in small caps: \noun{word} As it should. Now try to put the last word of the previous line into a index command and put it in small caps as well. This is the Latex output: Latex 2: This is line of text with a word in small caps: \noun{small-caps-word}\index{small-caps-w...@\noun{small-caps-word}} ^^^ whereas I would expect: Latex 3: This is line of text with a word in small caps: \noun{small-caps-word}\index{\noun{small-caps-word}} Why is the underlined part there? I mean the --> small-caps-word@ . Is it needed? Is it a bug? I have a feeling that it is messing up my index, even though I do not get any warning (let alone errors). Stefano noun-command-test.lyx Description: Binary data
Re: LyZ: lyxpipe changes in 2.0?
Not sure with SVN, but with lyx 2b1 release lyz works almost fine. The only problem I had was that the latest lyz cannot create a bibtex record by itself, but that seems more like a lyz/firefox related problem. If I touch a .bib file manually, then lyz can port citations perfectly. - Original Message - From: Jose Quesada Sent: 12/03/10 07:37 PM To: sa...@lyx.org, lyx-users@lists.lyx.org Subject: Re: LyZ: lyxpipe changes in 2.0? Thanks Pavel, So this means that 2.0beta/svn doesn't work with LyZ? Is this fixable? I did try 1.6.8 and it did work :) Regards, Sam Madhani
Table cell vertical alignment with nested tables
Hi, I'm having trouble with text alignment when I have one column of text juxtaposed with another column that contains a nested table. The text is aligned with the centre of the table rather than the top. Below is a simple document which demonstrates the problem. Thanks, Ramin. #LyX 1.6.5 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass article \use_default_options true \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author "" \author "" \end_header \begin_body \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \series bold \emph on Blah \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size scriptsize Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold \emph on Blah \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size scriptsize \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold \size tiny Blah \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size tiny Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \end_layout \end_inset \end_inset \end_layout \end_inset \end_inset \end_layout \end_body \end_document
Re: puzzled by the \noun command inside \index
stefano franchi wrote: > Latex 2: This is line of text with a word in small caps: > \noun{small-caps-word}\index{small-caps-w...@\noun{small-caps-word}} > ^^^ > > whereas I would expect: > > > Latex 3: This is line of text with a word in small caps: > \noun{small-caps-word}\index{\noun{small-caps-word}} > > > > Why is the underlined part there? I mean the --> small-caps-word@ . Is it > needed? Is it a bug? I have a feeling that it is messing up my index, even > though I do not get any warning (let alone errors). It is needed to get your index entry sorted properly. If it would only be \index{\noun{small-caps-word}}, your entry would be sorted at "\" (and then "n"). The part before the "@" is a hint to the index processor where to sort the entry. HTH, Jürgen