Re: configuring lyx to use an alternative Texlive version
Alasdair Reed alasdair at iprimus.com.au writes: I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to use the latest version of Xetex. My system installed Texlive is Texlive2009 I have installed Texlive2011 as per the Texlive page http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 in /usr/local/texlive. Added all the suggested lines to my .bashrc. Starting Xetex in the terminal produces the message Code This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) restricted \write18 enabled. Code ends I imagine this is ok. How do I configure lyx to find texlive2011 in /usr/local/ instead of using the system default? Not need configure lyx, lyx deals with it. As the output of xetex in the terminal is 2011, lyx use this version You can check it in the latex log file produced when lyx run the output ig
Re: hanging indentation in bibiography (using lyx bibtex)
2012/4/26 Peter Coles coleszi...@gmail.com: Stefano, Richard thanks. After some toying, the following worked: 1) I added to the preamble the full block Richard described, replacing the at's with at symbols (this replacement was probably obvious to everyone except me.) I also changed the first line as you suggested. 2) I added \setlength\itemindent{-.5in} to the block, and changed \leftmargin\labelwidth to \setlength\leftmargin{.5in} The bibliography style I am using, aea.bst, seems to use empty labels rather than, for example, numbers to enumerate bibliography items. Hence, rather than playing with the labelwidth, which had no effect for me, I indented by a negative amount and then shoved the whole list back to the right the same amount. A pain, but it's done! Thanks, all. Actually, since you use natbib, a simple \setlength\bibhang{.5in} would have probably sufficed as well. Jürgen
Re: Symbols in 2.0.3
2012/4/26 Sebastian Stein gebu...@gmx.net: Hi. I tried to insert different symbols in an standard environment (not math mode) within KOMA article using utf8. While the handbook claims otherwise it doesn't work. Error messages: Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX. Package inputenc Error: Unicode char \u8:↠not set up for use with LaTeX. Any ideas or workarounds? The problem here is that inputenc's utf8 does not cover the whole range of all existing unicode glyphs (yet and probably will never). Yours obviously aren't covered. Two options (non-exclusive): * Select Use non-TeX fonts in Document Fonts and try if some font covers these symbols (I tried; the symbols seem to be rather exotic. Here, only Arial Unicode MS had them, but you might have more comprehensive fonts) * Look if you can find the symbols here: http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. Depending on how they are provided, if at all, we can add some support to LyX. HTH Jürgen
Re: Citations after changing Bibtex files
I had this one pretty regularly, also working parallely on two systems. You don't have to touch every single citation. You have to go into the bibliography-entry in your lyx file (i. e., the field linking to the bibtex-file, the one you insert at the place where you want the bibliography to appear) and delete the bibtex-file-reference, probably close and save, open again and re-insert the link to your local bibtex-file. Eventually, the entries will show up again after processing your lyx-file. Quite annoying one, this procedure, but at least for me this worked. Kind regards, Felix Am 28.04.2012, 06:19 Uhr, schrieb Jane Shevtsov jane@gmail.com: I'm making some final changes to my dissertation, written on another computer. I have a copy of my Bibtex library file and told Lyx to use it for the bibliography, but now all my citations are showing up as question marks in the PDF. How can I fix this without manually redoing every single citation? Thanks, Jane -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 09:15:10 +0200 Ignacio García ignacio.gmora...@gmail.com wrote: Alasdair Reed alasdair at iprimus.com.au writes: I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to use the latest version of Xetex. My system installed Texlive is Texlive2009 I have installed Texlive2011 as per the Texlive page http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 in /usr/local/texlive. Added all the suggested lines to my .bashrc. Starting Xetex in the terminal produces the message Code This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) restricted \write18 enabled. Code ends I imagine this is ok. How do I configure lyx to find texlive2011 in /usr/local/ instead of using the system default? Not need configure lyx, lyx deals with it. As the output of xetex in the terminal is 2011, lyx use this version You can check it in the latex log file produced when lyx run the output ig Hi, Is that right? Which logfile should I check? The dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? Alasdair
Re: configuring lyx to use an alternative Texlive version
On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is aware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to the beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Jurabib's Bibliography and the use of et al
Two cents: Have you checked that the path to the bibtex file is absolute and full? Can you leave biber out and try biblatex alone? Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Apr 26, 2012 at 11:31 PM, stefano franchi stefano.fran...@gmail.com wrote: On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall brett.rand...@gmail.com wrote: On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi stefano.fran...@gmail.com wrote: I am not sure starting to use Jurabib is such a great choice. Jurabib is basically a dead project, as far as I know. It would better to start with biblatex. Thanks Stefano - I have tried biblatex and just can't get it to work. If I was still using Linux I'm sure it would be easy, but running LyX 2.0.2 on Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out anything. I'm having the same result as this person: http://www.latex-community.org/forum/viewtopic.php?f=19t=11317 (i.e. bold keys in place of citations, and no bibliography printing out). Brett, I'm sorry to hear that biblatex is not working for you. Unfortunately I have no idea why that would be the case, except that it seems from the log snippet you posted that biber may not be running at all. Debugging requires more info on your part, I am afraid. Can you post a minimal lyx example, minimal bib file, and the complete latex log. Or send them to me privately. By minimal I really mean minimal: one or two lines for the lyx file, one ref for the bib file. On the other hand, if you are working against deadline, it may be better to keep working on Jurabib and switch to biblatex later. BTW, there used to be a jurabib-only mailing list, have you tried it? Or you may try comp.text.tex (via the google interface). Cheers, S. -- __ Stefano Franchi Associate Research Professor Department of Hispanic StudiesPh: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is aware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to the beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano Thanks Stefano, Document Latex Log is greyed out Tools Tex with show path is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Any ideas?
Re: Citations after changing Bibtex files
Thanks, that worked. (I also had to install the bibliography style file I had used.) Jane On Sat, Apr 28, 2012 at 2:37 AM, Felix Krawehl kraw...@googlemail.comwrote: I had this one pretty regularly, also working parallely on two systems. You don't have to touch every single citation. You have to go into the bibliography-entry in your lyx file (i. e., the field linking to the bibtex-file, the one you insert at the place where you want the bibliography to appear) and delete the bibtex-file-reference, probably close and save, open again and re-insert the link to your local bibtex-file. Eventually, the entries will show up again after processing your lyx-file. Quite annoying one, this procedure, but at least for me this worked. Kind regards, Felix Am 28.04.2012, 06:19 Uhr, schrieb Jane Shevtsov jane@gmail.com: I'm making some final changes to my dissertation, written on another computer. I have a copy of my Bibtex library file and told Lyx to use it for the bibliography, but now all my citations are showing up as question marks in the PDF. How can I fix this without manually redoing every single citation? Thanks, Jane -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/ -- - Jane Shevtsov co-founder, www.worldbeyondborders.org In the long run, education intended to produce a molecular geneticist, a systems ecologist, or an immunologist is inferior, both for the individual and for society, than that intended to produce a broadly educated person who has also written a dissertation. --John Janovy, Jr., On Becoming a Biologist
Re: configuring lyx to use an alternative Texlive version
On Sat, Apr 28, 2012 at 9:50 AM, Alasdair Reed alasd...@iprimus.com.au wrote: On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is aware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to the beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano Thanks Stefano, Document Latex Log is greyed out It won't be activated until you comiple something. Create a new Lyx file with just a word in in it and then do Viewpdflatex (for instance). After successful compilaiton you should be able to see the log file Tools Tex with show path is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Right, I guess the problem is that lyx finds the ubuntu packages before it hits texlive. First of all: have you reconfigured Lyx (ToolsReconfigure)? It may be all you need. If that does not work, a couple of options: 1. Uninstall the Ubuntu text-live package. This may not be feasible, though, because you probably have it as a dependence of Lyx and possibly other packages There is a way to replace Ubuntu's outdated texlive with a dummy package but I am afraid I forget how to do it. Other people on the list may know (I left Ubuntu some time ago). 2. Check the order of your executable path in your $PATH environmental variable. In fact, open a terminal and do $which pdflatex you should get something like: /usr/local/texlive/2011/bin/x86_64-linux/pdflatex and then do something like: $kpsewhich fontspec.sty and you shoud get /usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty If not, try $printenv $PATH Do you see the path to the texlive2011 installation occurring before the path to the Ubuntu installed executables? S. -- __ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Compilation problem
На 26.04.2012 16:09, Richard Heck написа: I had to take out the figures to get it to work, since I don't have those, but then it complied fine for me. I guess I'd suggest continuing to bisect it. Alternatively, export to LaTeX and compile manually. That may give more information. rh On 04/26/2012 10:04 AM, Emil Pavlov wrote: На 26.04.2012 14:07, Richard Heck написа: On 04/25/2012 06:44 PM, Emil Pavlov wrote: I have a problem with compiling my bachelor thesis and do not know what to do. Can you take a look and give me some ideas? Erase the last half of it, and see if it compiles. If so, put that back and erase the first half. Keep going until you isolate the problem. Obviously, do this on a copy, not on the original! Richard Ok, I have located the problem just to one section, but I still cannot figure out what is wrong. Here is the error log and the file is the attachment: ! Missing { inserted. to be read again } l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. Emil Well, I removed all the figures but I still have the problem. Exporting to latex didn't help either. Emil
Re: Symbols in 2.0.3
On 2012-04-28, Jürgen Spitzmüller wrote: 2012/4/26 Sebastian Stein gebu...@gmx.net: Hi. I tried to insert different symbols in an standard environment (not math mode) within KOMA article using utf8. While the handbook claims otherwise it doesn't work. Error messages: Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX. Package inputenc Error: Unicode char \u8:↠not set up for use with LaTeX. Any ideas or workarounds? The problem here is that inputenc's utf8 does not cover the whole range of all existing unicode glyphs (yet and probably will never). Yours obviously aren't covered. * Select Use non-TeX fonts in Document Fonts and try if some font covers these symbols (I tried; the symbols seem to be rather exotic. Here, only Arial Unicode MS had them, but you might have more comprehensive fonts) * Look if you can find the symbols here: http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. Depending on how they are provided, if at all, we can add some support to LyX. * Try if there is a definition for the respective symbols in LyX's unicodesymbols file (residing in the LyXdir which you can find out under HelpAbout LyX). - If yes, see if there is a force flag. If not, try setting the LaTeX encoding to ASCII instead of utf8 - then LyX will translate the Unicodesymbols to a LaTeX command. BTW: despite LyX telling you otherwise, setting the LaTeX encoding to utf8 almost never helps: LyX Unicode-TeX conversion is more comprehensive than the standard inputenc utf8 mappings. - If no, you can customize the unicodesymbols file. Copy it to your LyX userdir (~/.lyx on Unix) and add the missing definitions (if you found some in http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. ) * If you keep the LaTeX encoding at utf8, you can also add the missing definitions in the LaTeX preamble similar to e.g. \DeclareUnicodeCharacter{00A8}{\textasciidieresis} % ¨ Günter
macro for repeating a theorem statement in appendix
Hi all, So I have a (complicated) theorem statement in the main text of a paper, which I want to repeat in the appendix right before the proof. Is there a macro-way of doing this instead of copy-pasting? (\newcommand is probably not good as the theorem is complicated to write in latex) Thanks a lot! -Qiqi
Re: macro for repeating a theorem statement in appendix
Cool! Thanks! -Qiqi On 04/28/2012 02:46 PM, Richard Heck wrote: On 04/28/2012 05:34 PM, Qiqi Yan wrote: Hi all, So I have a (complicated) theorem statement in the main text of a paper, which I want to repeat in the appendix right before the proof. Is there a macro-way of doing this instead of copy-pasting? (\newcommand is probably not good as the theorem is complicated to write in latex) Thanks a lot! You know, you can do things like this: [ERT]\newcommand\mytheorem{[/ERT]This is the statement of a very complicated theorem, using lots and lots of LaTeX, and maybe even some other stuff like tikz.[ERT]}[\ERT] On export, this will define \mytheorem just as you want it. Now you can use it in ERT twice: Once in the statement of the main theorem, and again in the appendix. Richard
Re: configuring lyx to use an alternative Texlive version Solved
On Sat, 28 Apr 2012 11:56:08 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 9:50 AM, Alasdair Reed alasd...@iprimus.com.au wrote: On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is Toolsaware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to Viewthe beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano Thanks Stefano, Document Latex Log is greyed out It won't be activated until you comiple something. Create a new Lyx file with just a word in in it and then do Viewpdflatex (for instance). After successful compilaiton you should be able to see the log file Tools Tex with show path is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Right, I guess the problem is that lyx finds the ubuntu packages before it hits texlive. First of all: have you reconfigured Lyx (ToolsReconfigure)? It may be all you need. If that does not work, a couple of options: 1. Uninstall the Ubuntu text-live package. This may not be feasible, though, because you probably have it as a dependence of Lyx and possibly other packages There is a way to replace Ubuntu's outdated texlive with a dummy package but I am afraid I forget how to do it. Other people on the list may know (I left Ubuntu some time ago). 2. Check the order of your executable path in your $PATH environmental variable. In fact, open a terminal and do $which pdflatex you should get something like: /usr/local/texlive/2011/bin/x86_64-linux/pdflatex and then do something like: $kpsewhich fontspec.sty and you shoud get /usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty If not, try $printenv $PATH Do you see the path to the texlive2011 installation occurring before the path to the Ubuntu installed executables? S. Hi, The paths are all correct, Starting lyx from the terminal and reconfiguring did the trick as far as using TexLive2011 goes I just can't start Lyx from the desktop icon if I want to use TexLive2011, but I can live with that. It can be done but time is short . There are other problems but I will post separate question about them. \ Alasdair
Re: configuring lyx to use an alternative Texlive version
Alasdair Reed alasdair at iprimus.com.au writes: I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to use the latest version of Xetex. My system installed Texlive is Texlive2009 I have installed Texlive2011 as per the Texlive page http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 in /usr/local/texlive. Added all the suggested lines to my .bashrc. Starting Xetex in the terminal produces the message Code This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) restricted \write18 enabled. Code ends I imagine this is ok. How do I configure lyx to find texlive2011 in /usr/local/ instead of using the system default? Not need configure lyx, lyx deals with it. As the output of xetex in the terminal is 2011, lyx use this version You can check it in the latex log file produced when lyx run the output ig
Re: hanging indentation in bibiography (using lyx bibtex)
2012/4/26 Peter Coles coleszi...@gmail.com: Stefano, Richard thanks. After some toying, the following worked: 1) I added to the preamble the full block Richard described, replacing the at's with at symbols (this replacement was probably obvious to everyone except me.) I also changed the first line as you suggested. 2) I added \setlength\itemindent{-.5in} to the block, and changed \leftmargin\labelwidth to \setlength\leftmargin{.5in} The bibliography style I am using, aea.bst, seems to use empty labels rather than, for example, numbers to enumerate bibliography items. Hence, rather than playing with the labelwidth, which had no effect for me, I indented by a negative amount and then shoved the whole list back to the right the same amount. A pain, but it's done! Thanks, all. Actually, since you use natbib, a simple \setlength\bibhang{.5in} would have probably sufficed as well. Jürgen
Re: Symbols in 2.0.3
2012/4/26 Sebastian Stein gebu...@gmx.net: Hi. I tried to insert different symbols in an standard environment (not math mode) within KOMA article using utf8. While the handbook claims otherwise it doesn't work. Error messages: Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX. Package inputenc Error: Unicode char \u8:↠not set up for use with LaTeX. Any ideas or workarounds? The problem here is that inputenc's utf8 does not cover the whole range of all existing unicode glyphs (yet and probably will never). Yours obviously aren't covered. Two options (non-exclusive): * Select Use non-TeX fonts in Document Fonts and try if some font covers these symbols (I tried; the symbols seem to be rather exotic. Here, only Arial Unicode MS had them, but you might have more comprehensive fonts) * Look if you can find the symbols here: http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. Depending on how they are provided, if at all, we can add some support to LyX. HTH Jürgen
Re: Citations after changing Bibtex files
I had this one pretty regularly, also working parallely on two systems. You don't have to touch every single citation. You have to go into the bibliography-entry in your lyx file (i. e., the field linking to the bibtex-file, the one you insert at the place where you want the bibliography to appear) and delete the bibtex-file-reference, probably close and save, open again and re-insert the link to your local bibtex-file. Eventually, the entries will show up again after processing your lyx-file. Quite annoying one, this procedure, but at least for me this worked. Kind regards, Felix Am 28.04.2012, 06:19 Uhr, schrieb Jane Shevtsov jane@gmail.com: I'm making some final changes to my dissertation, written on another computer. I have a copy of my Bibtex library file and told Lyx to use it for the bibliography, but now all my citations are showing up as question marks in the PDF. How can I fix this without manually redoing every single citation? Thanks, Jane -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 09:15:10 +0200 Ignacio García ignacio.gmora...@gmail.com wrote: Alasdair Reed alasdair at iprimus.com.au writes: I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to use the latest version of Xetex. My system installed Texlive is Texlive2009 I have installed Texlive2011 as per the Texlive page http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 in /usr/local/texlive. Added all the suggested lines to my .bashrc. Starting Xetex in the terminal produces the message Code This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) restricted \write18 enabled. Code ends I imagine this is ok. How do I configure lyx to find texlive2011 in /usr/local/ instead of using the system default? Not need configure lyx, lyx deals with it. As the output of xetex in the terminal is 2011, lyx use this version You can check it in the latex log file produced when lyx run the output ig Hi, Is that right? Which logfile should I check? The dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? Alasdair
Re: configuring lyx to use an alternative Texlive version
On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is aware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to the beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Jurabib's Bibliography and the use of et al
Two cents: Have you checked that the path to the bibtex file is absolute and full? Can you leave biber out and try biblatex alone? Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Apr 26, 2012 at 11:31 PM, stefano franchi stefano.fran...@gmail.com wrote: On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall brett.rand...@gmail.com wrote: On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi stefano.fran...@gmail.com wrote: I am not sure starting to use Jurabib is such a great choice. Jurabib is basically a dead project, as far as I know. It would better to start with biblatex. Thanks Stefano - I have tried biblatex and just can't get it to work. If I was still using Linux I'm sure it would be easy, but running LyX 2.0.2 on Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out anything. I'm having the same result as this person: http://www.latex-community.org/forum/viewtopic.php?f=19t=11317 (i.e. bold keys in place of citations, and no bibliography printing out). Brett, I'm sorry to hear that biblatex is not working for you. Unfortunately I have no idea why that would be the case, except that it seems from the log snippet you posted that biber may not be running at all. Debugging requires more info on your part, I am afraid. Can you post a minimal lyx example, minimal bib file, and the complete latex log. Or send them to me privately. By minimal I really mean minimal: one or two lines for the lyx file, one ref for the bib file. On the other hand, if you are working against deadline, it may be better to keep working on Jurabib and switch to biblatex later. BTW, there used to be a jurabib-only mailing list, have you tried it? Or you may try comp.text.tex (via the google interface). Cheers, S. -- __ Stefano Franchi Associate Research Professor Department of Hispanic StudiesPh: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is aware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to the beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano Thanks Stefano, Document Latex Log is greyed out Tools Tex with show path is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Any ideas?
Re: Citations after changing Bibtex files
Thanks, that worked. (I also had to install the bibliography style file I had used.) Jane On Sat, Apr 28, 2012 at 2:37 AM, Felix Krawehl kraw...@googlemail.comwrote: I had this one pretty regularly, also working parallely on two systems. You don't have to touch every single citation. You have to go into the bibliography-entry in your lyx file (i. e., the field linking to the bibtex-file, the one you insert at the place where you want the bibliography to appear) and delete the bibtex-file-reference, probably close and save, open again and re-insert the link to your local bibtex-file. Eventually, the entries will show up again after processing your lyx-file. Quite annoying one, this procedure, but at least for me this worked. Kind regards, Felix Am 28.04.2012, 06:19 Uhr, schrieb Jane Shevtsov jane@gmail.com: I'm making some final changes to my dissertation, written on another computer. I have a copy of my Bibtex library file and told Lyx to use it for the bibliography, but now all my citations are showing up as question marks in the PDF. How can I fix this without manually redoing every single citation? Thanks, Jane -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/ -- - Jane Shevtsov co-founder, www.worldbeyondborders.org In the long run, education intended to produce a molecular geneticist, a systems ecologist, or an immunologist is inferior, both for the individual and for society, than that intended to produce a broadly educated person who has also written a dissertation. --John Janovy, Jr., On Becoming a Biologist
Re: configuring lyx to use an alternative Texlive version
On Sat, Apr 28, 2012 at 9:50 AM, Alasdair Reed alasd...@iprimus.com.au wrote: On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is aware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to the beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano Thanks Stefano, Document Latex Log is greyed out It won't be activated until you comiple something. Create a new Lyx file with just a word in in it and then do Viewpdflatex (for instance). After successful compilaiton you should be able to see the log file Tools Tex with show path is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Right, I guess the problem is that lyx finds the ubuntu packages before it hits texlive. First of all: have you reconfigured Lyx (ToolsReconfigure)? It may be all you need. If that does not work, a couple of options: 1. Uninstall the Ubuntu text-live package. This may not be feasible, though, because you probably have it as a dependence of Lyx and possibly other packages There is a way to replace Ubuntu's outdated texlive with a dummy package but I am afraid I forget how to do it. Other people on the list may know (I left Ubuntu some time ago). 2. Check the order of your executable path in your $PATH environmental variable. In fact, open a terminal and do $which pdflatex you should get something like: /usr/local/texlive/2011/bin/x86_64-linux/pdflatex and then do something like: $kpsewhich fontspec.sty and you shoud get /usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty If not, try $printenv $PATH Do you see the path to the texlive2011 installation occurring before the path to the Ubuntu installed executables? S. -- __ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Compilation problem
На 26.04.2012 16:09, Richard Heck написа: I had to take out the figures to get it to work, since I don't have those, but then it complied fine for me. I guess I'd suggest continuing to bisect it. Alternatively, export to LaTeX and compile manually. That may give more information. rh On 04/26/2012 10:04 AM, Emil Pavlov wrote: На 26.04.2012 14:07, Richard Heck написа: On 04/25/2012 06:44 PM, Emil Pavlov wrote: I have a problem with compiling my bachelor thesis and do not know what to do. Can you take a look and give me some ideas? Erase the last half of it, and see if it compiles. If so, put that back and erase the first half. Keep going until you isolate the problem. Obviously, do this on a copy, not on the original! Richard Ok, I have located the problem just to one section, but I still cannot figure out what is wrong. Here is the error log and the file is the attachment: ! Missing { inserted. to be read again } l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. to be read again \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. inserted text } l.193 \end{document} I've inserted something that you may have forgotten. (See the inserted text above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. Emil Well, I removed all the figures but I still have the problem. Exporting to latex didn't help either. Emil
Re: Symbols in 2.0.3
On 2012-04-28, Jürgen Spitzmüller wrote: 2012/4/26 Sebastian Stein gebu...@gmx.net: Hi. I tried to insert different symbols in an standard environment (not math mode) within KOMA article using utf8. While the handbook claims otherwise it doesn't work. Error messages: Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX. Package inputenc Error: Unicode char \u8:↠not set up for use with LaTeX. Any ideas or workarounds? The problem here is that inputenc's utf8 does not cover the whole range of all existing unicode glyphs (yet and probably will never). Yours obviously aren't covered. * Select Use non-TeX fonts in Document Fonts and try if some font covers these symbols (I tried; the symbols seem to be rather exotic. Here, only Arial Unicode MS had them, but you might have more comprehensive fonts) * Look if you can find the symbols here: http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. Depending on how they are provided, if at all, we can add some support to LyX. * Try if there is a definition for the respective symbols in LyX's unicodesymbols file (residing in the LyXdir which you can find out under HelpAbout LyX). - If yes, see if there is a force flag. If not, try setting the LaTeX encoding to ASCII instead of utf8 - then LyX will translate the Unicodesymbols to a LaTeX command. BTW: despite LyX telling you otherwise, setting the LaTeX encoding to utf8 almost never helps: LyX Unicode-TeX conversion is more comprehensive than the standard inputenc utf8 mappings. - If no, you can customize the unicodesymbols file. Copy it to your LyX userdir (~/.lyx on Unix) and add the missing definitions (if you found some in http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. ) * If you keep the LaTeX encoding at utf8, you can also add the missing definitions in the LaTeX preamble similar to e.g. \DeclareUnicodeCharacter{00A8}{\textasciidieresis} % ¨ Günter
macro for repeating a theorem statement in appendix
Hi all, So I have a (complicated) theorem statement in the main text of a paper, which I want to repeat in the appendix right before the proof. Is there a macro-way of doing this instead of copy-pasting? (\newcommand is probably not good as the theorem is complicated to write in latex) Thanks a lot! -Qiqi
Re: macro for repeating a theorem statement in appendix
Cool! Thanks! -Qiqi On 04/28/2012 02:46 PM, Richard Heck wrote: On 04/28/2012 05:34 PM, Qiqi Yan wrote: Hi all, So I have a (complicated) theorem statement in the main text of a paper, which I want to repeat in the appendix right before the proof. Is there a macro-way of doing this instead of copy-pasting? (\newcommand is probably not good as the theorem is complicated to write in latex) Thanks a lot! You know, you can do things like this: [ERT]\newcommand\mytheorem{[/ERT]This is the statement of a very complicated theorem, using lots and lots of LaTeX, and maybe even some other stuff like tikz.[ERT]}[\ERT] On export, this will define \mytheorem just as you want it. Now you can use it in ERT twice: Once in the statement of the main theorem, and again in the appendix. Richard
Re: configuring lyx to use an alternative Texlive version Solved
On Sat, 28 Apr 2012 11:56:08 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 9:50 AM, Alasdair Reed alasd...@iprimus.com.au wrote: On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi stefano.fran...@gmail.com wrote: On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed alasd...@iprimus.com.au wrote: Is that right? Which logfile should I check? The You can check the Latex log by going to DocumentLatex Log The first line will tell you which version of of Texlive LyX is using dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? ToolsTex information will tell you which Tex packages Lyx is Toolsaware. If you check the box called show path it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing ViewSource, and checking the box Full source. Scroll back to Viewthe beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano Thanks Stefano, Document Latex Log is greyed out It won't be activated until you comiple something. Create a new Lyx file with just a word in in it and then do Viewpdflatex (for instance). After successful compilaiton you should be able to see the log file Tools Tex with show path is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Right, I guess the problem is that lyx finds the ubuntu packages before it hits texlive. First of all: have you reconfigured Lyx (ToolsReconfigure)? It may be all you need. If that does not work, a couple of options: 1. Uninstall the Ubuntu text-live package. This may not be feasible, though, because you probably have it as a dependence of Lyx and possibly other packages There is a way to replace Ubuntu's outdated texlive with a dummy package but I am afraid I forget how to do it. Other people on the list may know (I left Ubuntu some time ago). 2. Check the order of your executable path in your $PATH environmental variable. In fact, open a terminal and do $which pdflatex you should get something like: /usr/local/texlive/2011/bin/x86_64-linux/pdflatex and then do something like: $kpsewhich fontspec.sty and you shoud get /usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty If not, try $printenv $PATH Do you see the path to the texlive2011 installation occurring before the path to the Ubuntu installed executables? S. Hi, The paths are all correct, Starting lyx from the terminal and reconfiguring did the trick as far as using TexLive2011 goes I just can't start Lyx from the desktop icon if I want to use TexLive2011, but I can live with that. It can be done but time is short . There are other problems but I will post separate question about them. \ Alasdair
Re: configuring lyx to use an alternative Texlive version
Alasdair Reed iprimus.com.au> writes: > > > I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to > use the latest version of Xetex. My system installed Texlive is > Texlive2009 I have installed Texlive2011 as per the Texlive page > http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 > in /usr/local/texlive. Added all the suggested lines to my .bashrc. > Starting Xetex in the terminal produces the message > Code > This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) > restricted \write18 enabled. > Code ends > I imagine this is ok. How do I configure lyx to find texlive2011 > in /usr/local/ instead of using the system default? Not need configure lyx, lyx deals with it. As the output of xetex in the terminal is 2011, lyx use this version You can check it in the latex log file produced when lyx run the output ig
Re: hanging indentation in bibiography (using lyx & bibtex)
2012/4/26 Peter Coles: > Stefano, Richard thanks. After some toying, the following worked: > > 1) I added to the preamble the full block Richard described, replacing the > 's with at symbols (this replacement was probably obvious to everyone > except > me.) I also changed the first line as you suggested. > > 2) I added \setlength\itemindent{-.5in} to the block, and changed > \leftmargin\labelwidth to \setlength\leftmargin{.5in} > > The bibliography style I am using, aea.bst, seems to use empty labels rather > than, for example, numbers to enumerate bibliography items. Hence, rather than > playing with the labelwidth, which had no effect for me, I indented by a > negative amount and then shoved the whole list back to the right the same > amount. > > A pain, but it's done! Thanks, all. Actually, since you use natbib, a simple \setlength\bibhang{.5in} would have probably sufficed as well. Jürgen
Re: Symbols in 2.0.3
2012/4/26 Sebastian Stein: > Hi. > > I tried to insert different symbols in an standard environment (not math > mode) within KOMA article using utf8. > While the handbook claims otherwise it doesn't work. > > > Error messages: > Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX. > Package inputenc Error: Unicode char \u8:↠not set up for use with LaTeX. > > Any ideas or workarounds? The problem here is that inputenc's utf8 does not cover the whole range of all existing unicode glyphs (yet and probably will never). Yours obviously aren't covered. Two options (non-exclusive): * Select "Use non-TeX fonts" in Document > Fonts and try if some font covers these symbols (I tried; the symbols seem to be rather exotic. Here, only Arial Unicode MS had them, but you might have more comprehensive fonts) * Look if you can find the symbols here: http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. Depending on how they are provided, if at all, we can add some support to LyX. HTH Jürgen
Re: Citations after changing Bibtex files
I had this one pretty regularly, also working parallely on two systems. You don't have to touch every single citation. You have to go into the bibliography-entry in your lyx file (i. e., the field linking to the bibtex-file, the one you insert at the place where you want the bibliography to appear) and delete the bibtex-file-reference, probably close and save, open again and re-insert the link to your local bibtex-file. Eventually, the entries will show up again after processing your lyx-file. Quite annoying one, this procedure, but at least for me this worked. Kind regards, Felix Am 28.04.2012, 06:19 Uhr, schrieb Jane Shevtsov: I'm making some final changes to my dissertation, written on another computer. I have a copy of my Bibtex library file and told Lyx to use it for the bibliography, but now all my citations are showing up as question marks in the PDF. How can I fix this without manually redoing every single citation? Thanks, Jane -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 09:15:10 +0200 Ignacio Garcíawrote: > Alasdair Reed iprimus.com.au> writes: > > > > > > > I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to > > use the latest version of Xetex. My system installed Texlive is > > Texlive2009 I have installed Texlive2011 as per the Texlive page > > http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 > > in /usr/local/texlive. Added all the suggested lines to my .bashrc. > > Starting Xetex in the terminal produces the message > > Code > > This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) > > restricted \write18 enabled. > > Code ends > > I imagine this is ok. How do I configure lyx to find texlive2011 > > in /usr/local/ instead of using the system default? > > Not need configure lyx, lyx deals with it. > As the output of xetex in the terminal is 2011, lyx use this version > You can check it in the latex log file produced when lyx run the > output > > ig Hi, Is that right? Which logfile should I check? The dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? Alasdair
Re: configuring lyx to use an alternative Texlive version
On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reedwrote: > Is that right? Which logfile should I check? The You can check the Latex log by going to Document>>Latex Log The first line will tell you which version of of Texlive LyX is using > dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, > is greyed out. The package fontspec needs to be installed to use this > dialogue box, it is installed in TexLive2011 > (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on > my system, but the box is still greyed out. Do you need to put > \usepackage{fontspec} in the preamble of every document to use XeTex ? > Tools>>Tex information will tell you which Tex packages Lyx is aware. If you check the box called "show path" it will tell you where the packages are. the fontspec package should be loaded automatically if you choose non-TeX fonts. You can check if that's the case by choosing View>>Source, and checking the box "Full source." Scroll back to the beginning of the source doc and you should be able to see the \fontspec command. Hope it helps, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Jurabib's Bibliography and the use of "et al"
Two cents: Have you checked that the path to the bibtex file is absolute and full? Can you leave biber out and try biblatex alone? Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Apr 26, 2012 at 11:31 PM, stefano franchiwrote: > On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall > wrote: > > On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi > > wrote: > >> > >> I am not sure starting to use Jurabib is such a great choice. Jurabib > >> is basically a dead project, as far as I know. It would better to > >> start with biblatex. > > > > > > Thanks Stefano - I have tried biblatex and just can't get it to work. If > I > > was still using Linux I'm sure it would be easy, but running LyX 2.0.2 on > > Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out > anything. > > I'm having the same result as this person: > > > > http://www.latex-community.org/forum/viewtopic.php?f=19=11317 > > > > (i.e. bold keys in place of citations, and no bibliography printing out). > > Brett, > > I'm sorry to hear that biblatex is not working for you. Unfortunately > I have no idea why that would be the case, except that it seems from > the log snippet you posted that biber may not be running at all. > Debugging requires more info on your part, I am afraid. Can you post a > minimal lyx example, minimal bib file, and the complete latex log. Or > send them to me privately. By "minimal" I really mean minimal: one or > two lines for the lyx file, one ref for the bib file. > On the other hand, if you are working against deadline, it may be > better to keep working on Jurabib and switch to biblatex later. BTW, > there used to be a jurabib-only mailing list, have you tried it? Or > you may try comp.text.tex (via the google interface). > > Cheers, > > S. > > > > -- > __ > Stefano Franchi > Associate Research Professor > Department of Hispanic StudiesPh: +1 (979) 845-2125 > Texas A University Fax: +1 (979) 845-6421 > College Station, Texas, USA > > stef...@tamu.edu > http://stefano.cleinias.org >
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchiwrote: > On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed > wrote: > > > Is that right? Which logfile should I check? The > > You can check the Latex log by going to Document>>Latex Log > The first line will tell you which version of of Texlive LyX is using > > > dialogue /documents/settings/fonts/use non-Tex fonts via > > XeTex/LuaTex, is greyed out. The package fontspec needs to be > > installed to use this dialogue box, it is installed in TexLive2011 > > (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) > > on my system, but the box is still greyed out. Do you need to put > > \usepackage{fontspec} in the preamble of every document to use > > XeTex ? > > > > Tools>>Tex information will tell you which Tex packages Lyx is aware. > If you check the box > called "show path" it will tell you where the packages are. > > the fontspec package should be loaded automatically if you choose > non-TeX fonts. You can check if that's the case by choosing > View>>Source, and checking the box "Full source." Scroll back to the > beginning of the source doc and you should be able to see the > \fontspec command. > > Hope it helps, > > Stefano > > Thanks Stefano, Document >> Latex Log is greyed out Tools >> Tex with "show path" is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Any ideas?
Re: Citations after changing Bibtex files
Thanks, that worked. (I also had to install the bibliography style file I had used.) Jane On Sat, Apr 28, 2012 at 2:37 AM, Felix Krawehlwrote: > I had this one pretty regularly, also working parallely on two systems. > You don't have to touch every single citation. You have to go into the > bibliography-entry in your lyx file (i. e., the field linking to the > bibtex-file, the one you insert at the place where you want the > bibliography to appear) and delete the bibtex-file-reference, probably > close and save, open again and re-insert the link to your local > bibtex-file. Eventually, the entries will show up again after processing > your lyx-file. Quite annoying one, this procedure, but at least for me this > worked. > > Kind regards, > Felix > > > > Am 28.04.2012, 06:19 Uhr, schrieb Jane Shevtsov : > > > I'm making some final changes to my dissertation, written on another >> computer. I have a copy of my Bibtex library file and told Lyx to use it >> for the bibliography, but now all my citations are showing up as question >> marks in the PDF. How can I fix this without manually redoing every single >> citation? >> >> Thanks, >> Jane >> >> > > -- > Erstellt mit Operas revolutionärem E-Mail-Modul: > http://www.opera.com/mail/ > -- - Jane Shevtsov co-founder, www.worldbeyondborders.org "In the long run, education intended to produce a molecular geneticist, a systems ecologist, or an immunologist is inferior, both for the individual and for society, than that intended to produce a broadly educated person who has also written a dissertation." --John Janovy, Jr., "On Becoming a Biologist"
Re: configuring lyx to use an alternative Texlive version
On Sat, Apr 28, 2012 at 9:50 AM, Alasdair Reedwrote: > On Sat, 28 Apr 2012 08:20:23 -0500 > stefano franchi wrote: > >> On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed >> wrote: >> >> > Is that right? Which logfile should I check? The >> >> You can check the Latex log by going to Document>>Latex Log >> The first line will tell you which version of of Texlive LyX is using >> >> > dialogue /documents/settings/fonts/use non-Tex fonts via >> > XeTex/LuaTex, is greyed out. The package fontspec needs to be >> > installed to use this dialogue box, it is installed in TexLive2011 >> > (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) >> > on my system, but the box is still greyed out. Do you need to put >> > \usepackage{fontspec} in the preamble of every document to use >> > XeTex ? >> > >> >> Tools>>Tex information will tell you which Tex packages Lyx is aware. >> If you check the box >> called "show path" it will tell you where the packages are. >> >> the fontspec package should be loaded automatically if you choose >> non-TeX fonts. You can check if that's the case by choosing >> View>>Source, and checking the box "Full source." Scroll back to the >> beginning of the source doc and you should be able to see the >> \fontspec command. >> >> Hope it helps, >> >> Stefano >> >> > > Thanks Stefano, > Document >> Latex Log is greyed out It won't be activated until you comiple something. Create a new Lyx file with just a word in in it and then do View>>pdflatex (for instance). After successful compilaiton you should be able to see the log file > Tools >> Tex with "show path" is showing packages > from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) > so it would seem lyx is not aware of TexLive2011 in /usr/local/ Right, I guess the problem is that lyx finds the ubuntu packages before it hits texlive. First of all: have you reconfigured Lyx (Tools>>Reconfigure)? It may be all you need. If that does not work, a couple of options: 1. Uninstall the Ubuntu text-live package. This may not be feasible, though, because you probably have it as a dependence of Lyx and possibly other packages There is a way to replace Ubuntu's outdated texlive with a "dummy" package but I am afraid I forget how to do it. Other people on the list may know (I left Ubuntu some time ago). 2. Check the order of your executable path in your $PATH environmental variable. In fact, open a terminal and do $which pdflatex you should get something like: /usr/local/texlive/2011/bin/x86_64-linux/pdflatex and then do something like: $kpsewhich fontspec.sty and you shoud get /usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty If not, try $printenv $PATH Do you see the path to the texlive2011 installation occurring before the path to the Ubuntu installed executables? S. -- __ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Compilation problem
На 26.04.2012 16:09, Richard Heck написа: I had to take out the figures to get it to work, since I don't have those, but then it complied fine for me. I guess I'd suggest continuing to bisect it. Alternatively, export to LaTeX and compile manually. That may give more information. rh On 04/26/2012 10:04 AM, Emil Pavlov wrote: На 26.04.2012 14:07, Richard Heck написа: On 04/25/2012 06:44 PM, Emil Pavlov wrote: I have a problem with compiling my bachelor thesis and do not know what to do. Can you take a look and give me some ideas? Erase the last half of it, and see if it compiles. If so, put that back and erase the first half. Keep going until you isolate the problem. Obviously, do this on a copy, not on the original! Richard Ok, I have located the problem just to one section, but I still cannot figure out what is wrong. Here is the error log and the file is the attachment: ! Missing { inserted. } l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. } l.193 \end{document} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. } l.193 \end{document} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. } l.193 \end{document} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. } l.193 \end{document} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Missing { inserted. \egroup l.193 \end{document} A left brace was mandatory here, so I've put one in. You might want to delete and/or insert some corrections so that I will find a matching right brace soon. (If you're confused by all this, try typing `I}' now.) ! Missing } inserted. } l.193 \end{document} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. Emil Well, I removed all the figures but I still have the problem. Exporting to latex didn't help either. Emil
Re: Symbols in 2.0.3
On 2012-04-28, Jürgen Spitzmüller wrote: > 2012/4/26 Sebastian Stein: >> Hi. >> I tried to insert different symbols in an standard environment (not >> math mode) within KOMA article using utf8. While the handbook claims >> otherwise it doesn't work. >> Error messages: >> Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX. >> Package inputenc Error: Unicode char \u8:↠not set up for use with LaTeX. >> Any ideas or workarounds? > The problem here is that inputenc's utf8 does not cover the whole > range of all existing unicode glyphs (yet and probably will never). > Yours obviously aren't covered. > * Select "Use non-TeX fonts" in Document > Fonts and try if some font > covers these symbols (I tried; the symbols seem to be rather exotic. > Here, only Arial Unicode MS had them, but you might have more > comprehensive fonts) > * Look if you can find the symbols here: > http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. > Depending on how they are provided, if at all, we can add some support > to LyX. * Try if there is a definition for the respective symbols in LyX's "unicodesymbols" file (residing in the "LyXdir" which you can find out under Help>About LyX). - If yes, see if there is a "force" flag. If not, try setting the "LaTeX encoding" to ASCII instead of utf8 - then LyX will translate the Unicodesymbols to a LaTeX command. BTW: despite LyX telling you otherwise, setting the "LaTeX encoding" to utf8 almost never helps: LyX Unicode->TeX conversion is more comprehensive than the standard inputenc utf8 mappings. - If no, you can customize the "unicodesymbols" file. Copy it to your "LyX userdir" (~/.lyx on Unix) and add the missing definitions (if you found some in http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. ) * If you keep the "LaTeX encoding" at utf8, you can also add the missing definitions in the LaTeX preamble similar to e.g. \DeclareUnicodeCharacter{00A8}{\textasciidieresis} % ¨ Günter
macro for repeating a theorem statement in appendix
Hi all, So I have a (complicated) theorem statement in the main text of a paper, which I want to repeat in the appendix right before the proof. Is there a macro-way of doing this instead of copy-pasting? (\newcommand is probably not good as the theorem is complicated to write in latex) Thanks a lot! -Qiqi
Re: macro for repeating a theorem statement in appendix
Cool! Thanks! -Qiqi On 04/28/2012 02:46 PM, Richard Heck wrote: On 04/28/2012 05:34 PM, Qiqi Yan wrote: Hi all, So I have a (complicated) theorem statement in the main text of a paper, which I want to repeat in the appendix right before the proof. Is there a macro-way of doing this instead of copy-pasting? (\newcommand is probably not good as the theorem is complicated to write in latex) Thanks a lot! You know, you can do things like this: [ERT]\newcommand\mytheorem{[/ERT]This is the statement of a very complicated theorem, using lots and lots of LaTeX, and maybe even some other stuff like tikz.[ERT]}[\ERT] On export, this will define \mytheorem just as you want it. Now you can use it in ERT twice: Once in the statement of the main theorem, and again in the appendix. Richard
Re: configuring lyx to use an alternative Texlive version Solved
On Sat, 28 Apr 2012 11:56:08 -0500 stefano franchiwrote: > On Sat, Apr 28, 2012 at 9:50 AM, Alasdair Reed > wrote: > > On Sat, 28 Apr 2012 08:20:23 -0500 > > stefano franchi wrote: > > > >> On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed > >> wrote: > >> > >> > Is that right? Which logfile should I check? The > >> > >> You can check the Latex log by going to Document>>Latex Log > >> The first line will tell you which version of of Texlive LyX is > >> using > >> > >> > dialogue /documents/settings/fonts/use non-Tex fonts via > >> > XeTex/LuaTex, is greyed out. The package fontspec needs to be > >> > installed to use this dialogue box, it is installed in > >> > TexLive2011 > >> > (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) > >> > on my system, but the box is still greyed out. Do you need to > >> > put \usepackage{fontspec} in the preamble of every document to > >> > use XeTex ? > >> > > >> > >> Tools>>Tex information will tell you which Tex packages Lyx is > >> Tools>>aware. > >> If you check the box > >> called "show path" it will tell you where the packages are. > >> > >> the fontspec package should be loaded automatically if you choose > >> non-TeX fonts. You can check if that's the case by choosing > >> View>>Source, and checking the box "Full source." Scroll back to > >> View>>the > >> beginning of the source doc and you should be able to see the > >> \fontspec command. > >> > >> Hope it helps, > >> > >> Stefano > >> > >> > > > > Thanks Stefano, > > Document >> Latex Log is greyed out > > It won't be activated until you comiple something. Create a new Lyx > file with just a word in in it and then do View>>pdflatex (for > instance). After successful compilaiton you should be able to see the > log file > > > > Tools >> Tex with "show path" is showing packages > > from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) > > so it would seem lyx is not aware of TexLive2011 in /usr/local/ > > Right, I guess the problem is that lyx finds the ubuntu packages > before it hits texlive. > > First of all: have you reconfigured Lyx (Tools>>Reconfigure)? It may > be all you need. > > If that does not work, a couple of options: > > 1. Uninstall the Ubuntu text-live package. This may not be feasible, > though, because you probably have it as a dependence of Lyx and > possibly other packages > There is a way to replace Ubuntu's outdated texlive with a "dummy" > package but I am afraid I forget how to do it. Other people on the > list may know (I left Ubuntu some time ago). > > 2. Check the order of your executable path in your $PATH environmental > variable. In fact, open a terminal and do > > $which pdflatex > > you should get something like: > /usr/local/texlive/2011/bin/x86_64-linux/pdflatex > > > and then do something like: > > $kpsewhich fontspec.sty > > > and you shoud get > /usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty > > If not, try > > $printenv $PATH > > Do you see the path to the texlive2011 installation occurring before > the path to the Ubuntu installed executables? > > S. > > Hi, The paths are all correct, Starting lyx from the terminal and reconfiguring did the trick as far as using TexLive2011 goes I just can't start Lyx from the desktop icon if I want to use TexLive2011, but I can live with that. It can be done but time is short . There are other problems but I will post separate question about them. \ Alasdair