Re: Coexist of LyX 2.1.1 w Miktex 2.9 and Lyx 2.0.5 w Miktex 2.8?
I can't say anything useful about fonts (other than that a friend of mine will hunt you down and hurt you if you use Comic Sans). Two versions of LyX sharing the same version of MiKTeX is no problem. Having two versions of MiKTeX coexist is slightly tricky. Bear in mind that when any program (including LyX) calls any TeX executable, such as pdflatex, you will typically run the first matching program found in the command path. So if MiKTeX 2.9 precedes MiKTeX 2.8, calling pdflatex without a full path specification will always run the 2.9 version. I *think* you can circumvent this by specifying the path to whichever version of MiKTeX is not default in the configuration of the version of LyX that needs it (in Tools Preferences Paths PATH prefix. A simpler (?), cleaner (?) solution might be to create a new user account on the machine. Let's say your normal login is configured with the older versions of MiKTeX and LyX. Install the newer versions using the alternate login, and specify that you are installing them just for that user and not for all users. Then you just have to switch to the right account for whichever version you want. Paul
PDF output on mac suddenly became very slow
Hello dear LyX community, I'm quite new with LyX and probably just have been looking at the wrong places for answers to my following question, so please, if that should be the case, be so kind to tell me a link to the answer ;-) If not, I'll be happy to learn about what I've been doing wrong. I've been writing on LyX for one week now, after having been fed up with the programming of LaTeX as a novice with a few weeks experience in TeX and some knowledge in programming. The system: Mac (10.9.4, Mavericks) LyX version 2.1.1 BibDesk version 1.6.3 (3296) The problem: Everything was fine till two days ago, when LyX suddenly decided to take two minutes for each output to pdf-preview. I'm working on my bachelor's thesis, so the document is about 40 pages of text with about 20 graphics, probably nothing out of the ordinary. If my memory is correct, the problem occured after inserting and removing some bigger JPG PNG graphics, in the process of finding the best graphics-format. Now none of these graphics are still inserted, the floating objects are removed as well. What I also did was changing some directories where I stored these files in my project-folder, but LyX should warn me, if it doesn't find any external files anymore, shouldn't it? Well, it doesn't. What it does is stated in the (very basic and to some extend german) log at the end of this message. The first thing to catch my eye is the unnamed process from (16:31:02.323) to (16:31:29.225), which occurs three times and obviously causes the problem with almost 30s of duration. Any suggestions? What I've also been trying is enabling the glossary with no success to this point. But I've removed all my attempts, including the glossary macro at the end of LyX. So that - theoretically - should have no influence and is not part of my question. I hope you have some ideas for the further process of problem solving... With best regards, Michael 16:30:59.719: Generiere Vorschau ... 16:30:59.761: (buffer-view: ⌘R)Buffer.cpp (408): Buffer::Buffer() Buffer.cpp (1650): lyx document header finished Buffer.cpp (1762): preamble finished, now the body. Buffer.cpp (1791): Finished making LaTeX file. Buffer.cpp (1792): Row count was 3000. 16:31:01.544: pdflatex bachelorLYX.texsupport/Systemcall.cpp (243): Running: pdflatex bachelorLYX.tex /dev/null 16:31:02.284: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:02.284: restricted \write18 enabled. 16:31:02.307: entering extended mode 16:31:02.308: (./bachelorLYX.tex 16:31:02.308: LaTeX2e 2011/06/27 16:31:02.310: Babel 3.9f and hyphenation patterns for 78 languages loaded. 16:31:02.323: 16:31:29.225: bibtex bachelorLYXsupport/Systemcall.cpp (243): Running: bibtex bachelorLYX 16:31:30.240: This is BibTeX, Version 0.99d (TeX Live 2013) 16:31:30.241: The top-level auxiliary file: bachelorLYX.aux 16:31:30.241: The style file: plain.bst 16:31:30.242: Database file #1: I deleted the directory Bachelor- Arbeit_BA_LaTeX_bib_bachelor_bib.bib 16:31:30.243: Warning--I didn't find a database entry for smallsignal2010 16:31:30.247: Warning--need editor, key, or series for dickreiter97b2 to crossref dickreiter97b1 16:31:30.251: Warning--can't use both author and editor fields in zwicker07 16:31:30.252: Warning--empty note in muenster 16:31:30.252: Warning--empty note in saarland12 16:31:30.253: (There were 5 warnings) 16:31:30.259: pdflatex bachelorLYX.texsupport/Systemcall.cpp (243): Running: pdflatex bachelorLYX.tex /dev/null 16:31:30.975: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:30.976: restricted \write18 enabled. 16:31:31.008: entering extended mode 16:31:31.011: (./bachelorLYX.tex 16:31:31.011: LaTeX2e 2011/06/27 16:31:31.012: Babel 3.9f and hyphenation patterns for 78 languages loaded. 16:31:31.012: 16:31:57.364: bibtex bachelorLYXsupport/Systemcall.cpp (243): Running: bibtex bachelorLYX 16:31:58.122: This is BibTeX, Version 0.99d (TeX Live 2013) 16:31:58.123: The top-level auxiliary file: bachelorLYX.aux 16:31:58.124: The style file: plain.bst 16:31:58.125: Database file #1: deleted again Bachelor- Arbeit_BA_LaTeX_bib_bachelor_bib.bib 16:31:58.126: Warning--I didn't find a database entry for smallsignal2010 16:31:58.129: Warning--need editor, key, or series for dickreiter97b2 to crossref dickreiter97b1 16:31:58.134: Warning--can't use both author and editor fields in zwicker07 16:31:58.135: Warning--empty note in muenster 16:31:58.136: Warning--empty note in saarland12 16:31:58.136: (There were 5 warnings) 16:31:58.141: pdflatex bachelorLYX.texsupport/Systemcall.cpp (243): Running: pdflatex bachelorLYX.tex /dev/null 16:31:58.872: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:58.873: restricted \write18 enabled. 16:31:58.898: entering extended mode 16:31:58.900: (./bachelorLYX.tex 16:31:58.900: LaTeX2e 2011/06/27 16:31:58.901: Babel 3.9f and hyphenation patterns for 78 languages loaded.
LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. When I run View PDF (pdflatex) I get a lot of the following output: \par \end{center} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. \par\end{center} Try typing return to proceed. If that doesn't work, type X return to quit. ETC. I have no idea why plain UserGuide.lxy can't be viewed. I have another document which I can successfully convert. I will appreciate any pointers to what might be wrong. Many Thanks Martin
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 12:36 PM, Martin Vlk mar...@vlkk.cz wrote: Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. When I run View PDF (pdflatex) I get a lot of the following output: \par \end{center} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. \par\end{center} Try typing return to proceed. If that doesn't work, type X return to quit. ETC. I have no idea why plain UserGuide.lxy can't be viewed. I have another document which I can successfully convert. I will appreciate any pointers to what might be wrong. Many Thanks Martin Hi Martin, indeed something strange might be happening here. I don't have access to LyX 2.1 right now but on LyX 2.2dev it exports fine for me on Ubuntu 14.04. Note however that I'm using TeX Live 2014 (which I installed with https://github.com/scottkosty/install-tl-ubuntu). Either the LyX version of the TeX Live version could explain the difference. Can you install LyX 2.2dev by using the daily PPA? see instructions here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 If after that, it doesn't work, I would be happy to take a look at it (not right now though) *if* you provide a script that will allow me to reproduce your error from a fresh Ubuntu installation. Perhaps the script would just contain the following line? sudo apt-get install lyx texlive-full Actually I think you'll need to put adding the PPA (and a sudo apt-get update and then install of the package name). Best, Scott
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 6:36 PM, Martin Vlk mar...@vlkk.cz wrote: Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. Here LyX 2.1.1 on Ubuntu 14.04.1 previews the UserGuide as expected. Liviu When I run View PDF (pdflatex) I get a lot of the following output: \par \end{center} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. \par\end{center} Try typing return to proceed. If that doesn't work, type X return to quit. ETC. I have no idea why plain UserGuide.lxy can't be viewed. I have another document which I can successfully convert. I will appreciate any pointers to what might be wrong. Many Thanks Martin -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Re: Lyx, Kindle, epub
Really grateful to Les for his advice below. This works very well! Gracias... from India. FN On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote: On Mon, 14 Jul 2014 01:08:47 +0530 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا fredericknoro...@gmail.com wrote: * What is the easiest way to convert a Lyx file (with images) to epub? * How can one ensure this will be consistent with epub standards? * Any site to test the resultant epub? * Can Lyx developers help to develop some tools that make it easy to create epub and other formats of ebooks? Frederick, I've done this for several books. From my experience the answer to your questions are: * Conversion 1. Export your file to LyXHTML 2. Using your favorite text editor (I use vi), delete the first line of the file (something like ?xml version=1.0 encoding=UTF-8?) and save as type HTML. 3. The file can now be imported into Sigil (http://web.sigil.googlecode.com/git/files/OEBPS/Text/introduction.html ), which saves files in epub format. * Epub standards Sigil includes the FlightCrew validator, and also a link to validate stylesheets with W3C. * Testing the epub I don't know of any site for testing, other than http://validator.idpf.org/, which as far as I know does exactly the same as the Sigil validator. The real problem is that no e-reader supports the standards completely and exactly, so you need to test your epub on several readers. I use Nook, Calibre and FBreader. * LyX development I'll leave this to developers. Without images, the conversion is straightforward, with the main problem being how to handle footnotes: as epub is reflowable, the concept of footnote does not exist, so you will have to decide how to handle them. Sigil gives you the tools to implement any solution you decide on, but it may involve a lot of detailed editing. Images complicate the conversion. Do you want small images in a fixed location in the text? That is fairly easy. So is putting all the images at the end of a chapter (or at the end of the book). But if you want clickable links to images, and a clickable link to return you to the page you were on, it can become very complicated, and involve a lot of hand editing. But again, Sigil has all the tools you need for this. I hope this helps, Les -- FN P +91-832-2409490 M +91-9822122436 http://goa1556.in
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 1:56 PM, Liviu Andronic landronim...@gmail.com wrote: On Thu, Aug 14, 2014 at 6:36 PM, Martin Vlk mar...@vlkk.cz wrote: Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. Here LyX 2.1.1 on Ubuntu 14.04.1 previews the UserGuide as expected. With which version of TeX Live? Scott
Re: Coexist of LyX 2.1.1 w Miktex 2.9 and Lyx 2.0.5 w Miktex 2.8?
I can't say anything useful about fonts (other than that a friend of mine will hunt you down and hurt you if you use Comic Sans). Two versions of LyX sharing the same version of MiKTeX is no problem. Having two versions of MiKTeX coexist is slightly tricky. Bear in mind that when any program (including LyX) calls any TeX executable, such as pdflatex, you will typically run the first matching program found in the command path. So if MiKTeX 2.9 precedes MiKTeX 2.8, calling pdflatex without a full path specification will always run the 2.9 version. I *think* you can circumvent this by specifying the path to whichever version of MiKTeX is not default in the configuration of the version of LyX that needs it (in Tools Preferences Paths PATH prefix. A simpler (?), cleaner (?) solution might be to create a new user account on the machine. Let's say your normal login is configured with the older versions of MiKTeX and LyX. Install the newer versions using the alternate login, and specify that you are installing them just for that user and not for all users. Then you just have to switch to the right account for whichever version you want. Paul
PDF output on mac suddenly became very slow
Hello dear LyX community, I'm quite new with LyX and probably just have been looking at the wrong places for answers to my following question, so please, if that should be the case, be so kind to tell me a link to the answer ;-) If not, I'll be happy to learn about what I've been doing wrong. I've been writing on LyX for one week now, after having been fed up with the programming of LaTeX as a novice with a few weeks experience in TeX and some knowledge in programming. The system: Mac (10.9.4, Mavericks) LyX version 2.1.1 BibDesk version 1.6.3 (3296) The problem: Everything was fine till two days ago, when LyX suddenly decided to take two minutes for each output to pdf-preview. I'm working on my bachelor's thesis, so the document is about 40 pages of text with about 20 graphics, probably nothing out of the ordinary. If my memory is correct, the problem occured after inserting and removing some bigger JPG PNG graphics, in the process of finding the best graphics-format. Now none of these graphics are still inserted, the floating objects are removed as well. What I also did was changing some directories where I stored these files in my project-folder, but LyX should warn me, if it doesn't find any external files anymore, shouldn't it? Well, it doesn't. What it does is stated in the (very basic and to some extend german) log at the end of this message. The first thing to catch my eye is the unnamed process from (16:31:02.323) to (16:31:29.225), which occurs three times and obviously causes the problem with almost 30s of duration. Any suggestions? What I've also been trying is enabling the glossary with no success to this point. But I've removed all my attempts, including the glossary macro at the end of LyX. So that - theoretically - should have no influence and is not part of my question. I hope you have some ideas for the further process of problem solving... With best regards, Michael 16:30:59.719: Generiere Vorschau ... 16:30:59.761: (buffer-view: ⌘R)Buffer.cpp (408): Buffer::Buffer() Buffer.cpp (1650): lyx document header finished Buffer.cpp (1762): preamble finished, now the body. Buffer.cpp (1791): Finished making LaTeX file. Buffer.cpp (1792): Row count was 3000. 16:31:01.544: pdflatex bachelorLYX.texsupport/Systemcall.cpp (243): Running: pdflatex bachelorLYX.tex /dev/null 16:31:02.284: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:02.284: restricted \write18 enabled. 16:31:02.307: entering extended mode 16:31:02.308: (./bachelorLYX.tex 16:31:02.308: LaTeX2e 2011/06/27 16:31:02.310: Babel 3.9f and hyphenation patterns for 78 languages loaded. 16:31:02.323: 16:31:29.225: bibtex bachelorLYXsupport/Systemcall.cpp (243): Running: bibtex bachelorLYX 16:31:30.240: This is BibTeX, Version 0.99d (TeX Live 2013) 16:31:30.241: The top-level auxiliary file: bachelorLYX.aux 16:31:30.241: The style file: plain.bst 16:31:30.242: Database file #1: I deleted the directory Bachelor- Arbeit_BA_LaTeX_bib_bachelor_bib.bib 16:31:30.243: Warning--I didn't find a database entry for smallsignal2010 16:31:30.247: Warning--need editor, key, or series for dickreiter97b2 to crossref dickreiter97b1 16:31:30.251: Warning--can't use both author and editor fields in zwicker07 16:31:30.252: Warning--empty note in muenster 16:31:30.252: Warning--empty note in saarland12 16:31:30.253: (There were 5 warnings) 16:31:30.259: pdflatex bachelorLYX.texsupport/Systemcall.cpp (243): Running: pdflatex bachelorLYX.tex /dev/null 16:31:30.975: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:30.976: restricted \write18 enabled. 16:31:31.008: entering extended mode 16:31:31.011: (./bachelorLYX.tex 16:31:31.011: LaTeX2e 2011/06/27 16:31:31.012: Babel 3.9f and hyphenation patterns for 78 languages loaded. 16:31:31.012: 16:31:57.364: bibtex bachelorLYXsupport/Systemcall.cpp (243): Running: bibtex bachelorLYX 16:31:58.122: This is BibTeX, Version 0.99d (TeX Live 2013) 16:31:58.123: The top-level auxiliary file: bachelorLYX.aux 16:31:58.124: The style file: plain.bst 16:31:58.125: Database file #1: deleted again Bachelor- Arbeit_BA_LaTeX_bib_bachelor_bib.bib 16:31:58.126: Warning--I didn't find a database entry for smallsignal2010 16:31:58.129: Warning--need editor, key, or series for dickreiter97b2 to crossref dickreiter97b1 16:31:58.134: Warning--can't use both author and editor fields in zwicker07 16:31:58.135: Warning--empty note in muenster 16:31:58.136: Warning--empty note in saarland12 16:31:58.136: (There were 5 warnings) 16:31:58.141: pdflatex bachelorLYX.texsupport/Systemcall.cpp (243): Running: pdflatex bachelorLYX.tex /dev/null 16:31:58.872: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:58.873: restricted \write18 enabled. 16:31:58.898: entering extended mode 16:31:58.900: (./bachelorLYX.tex 16:31:58.900: LaTeX2e 2011/06/27 16:31:58.901: Babel 3.9f and hyphenation patterns for 78 languages loaded.
LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. When I run View PDF (pdflatex) I get a lot of the following output: \par \end{center} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. \par\end{center} Try typing return to proceed. If that doesn't work, type X return to quit. ETC. I have no idea why plain UserGuide.lxy can't be viewed. I have another document which I can successfully convert. I will appreciate any pointers to what might be wrong. Many Thanks Martin
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 12:36 PM, Martin Vlk mar...@vlkk.cz wrote: Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. When I run View PDF (pdflatex) I get a lot of the following output: \par \end{center} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. \par\end{center} Try typing return to proceed. If that doesn't work, type X return to quit. ETC. I have no idea why plain UserGuide.lxy can't be viewed. I have another document which I can successfully convert. I will appreciate any pointers to what might be wrong. Many Thanks Martin Hi Martin, indeed something strange might be happening here. I don't have access to LyX 2.1 right now but on LyX 2.2dev it exports fine for me on Ubuntu 14.04. Note however that I'm using TeX Live 2014 (which I installed with https://github.com/scottkosty/install-tl-ubuntu). Either the LyX version of the TeX Live version could explain the difference. Can you install LyX 2.2dev by using the daily PPA? see instructions here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 If after that, it doesn't work, I would be happy to take a look at it (not right now though) *if* you provide a script that will allow me to reproduce your error from a fresh Ubuntu installation. Perhaps the script would just contain the following line? sudo apt-get install lyx texlive-full Actually I think you'll need to put adding the PPA (and a sudo apt-get update and then install of the package name). Best, Scott
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 6:36 PM, Martin Vlk mar...@vlkk.cz wrote: Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. Here LyX 2.1.1 on Ubuntu 14.04.1 previews the UserGuide as expected. Liviu When I run View PDF (pdflatex) I get a lot of the following output: \par \end{center} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. \par\end{center} Try typing return to proceed. If that doesn't work, type X return to quit. ETC. I have no idea why plain UserGuide.lxy can't be viewed. I have another document which I can successfully convert. I will appreciate any pointers to what might be wrong. Many Thanks Martin -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Re: Lyx, Kindle, epub
Really grateful to Les for his advice below. This works very well! Gracias... from India. FN On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote: On Mon, 14 Jul 2014 01:08:47 +0530 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا fredericknoro...@gmail.com wrote: * What is the easiest way to convert a Lyx file (with images) to epub? * How can one ensure this will be consistent with epub standards? * Any site to test the resultant epub? * Can Lyx developers help to develop some tools that make it easy to create epub and other formats of ebooks? Frederick, I've done this for several books. From my experience the answer to your questions are: * Conversion 1. Export your file to LyXHTML 2. Using your favorite text editor (I use vi), delete the first line of the file (something like ?xml version=1.0 encoding=UTF-8?) and save as type HTML. 3. The file can now be imported into Sigil (http://web.sigil.googlecode.com/git/files/OEBPS/Text/introduction.html ), which saves files in epub format. * Epub standards Sigil includes the FlightCrew validator, and also a link to validate stylesheets with W3C. * Testing the epub I don't know of any site for testing, other than http://validator.idpf.org/, which as far as I know does exactly the same as the Sigil validator. The real problem is that no e-reader supports the standards completely and exactly, so you need to test your epub on several readers. I use Nook, Calibre and FBreader. * LyX development I'll leave this to developers. Without images, the conversion is straightforward, with the main problem being how to handle footnotes: as epub is reflowable, the concept of footnote does not exist, so you will have to decide how to handle them. Sigil gives you the tools to implement any solution you decide on, but it may involve a lot of detailed editing. Images complicate the conversion. Do you want small images in a fixed location in the text? That is fairly easy. So is putting all the images at the end of a chapter (or at the end of the book). But if you want clickable links to images, and a clickable link to return you to the page you were on, it can become very complicated, and involve a lot of hand editing. But again, Sigil has all the tools you need for this. I hope this helps, Les -- FN P +91-832-2409490 M +91-9822122436 http://goa1556.in
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 1:56 PM, Liviu Andronic landronim...@gmail.com wrote: On Thu, Aug 14, 2014 at 6:36 PM, Martin Vlk mar...@vlkk.cz wrote: Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. Here LyX 2.1.1 on Ubuntu 14.04.1 previews the UserGuide as expected. With which version of TeX Live? Scott
Re: Coexist of LyX 2.1.1 w Miktex 2.9 and Lyx 2.0.5 w Miktex 2.8?
I can't say anything useful about fonts (other than that a friend of mine will hunt you down and hurt you if you use Comic Sans). Two versions of LyX sharing the same version of MiKTeX is no problem. Having two versions of MiKTeX coexist is slightly tricky. Bear in mind that when any program (including LyX) calls any TeX executable, such as pdflatex, you will typically run the first matching program found in the command path. So if MiKTeX 2.9 precedes MiKTeX 2.8, calling "pdflatex" without a full path specification will always run the 2.9 version. I *think* you can circumvent this by specifying the path to whichever version of MiKTeX is not default in the configuration of the version of LyX that needs it (in Tools > Preferences > Paths > PATH prefix. A simpler (?), cleaner (?) solution might be to create a new user account on the machine. Let's say your normal login is configured with the older versions of MiKTeX and LyX. Install the newer versions using the alternate login, and specify that you are installing them just for that user and not for all users. Then you just have to switch to the right account for whichever version you want. Paul
PDF output on mac suddenly became very slow
Hello dear LyX community, I'm quite new with LyX and probably just have been looking at the wrong places for answers to my following question, so please, if that should be the case, be so kind to tell me a link to the answer ;-) If not, I'll be happy to learn about what I've been doing wrong. I've been writing on LyX for one week now, after having been fed up with the programming of LaTeX as a novice with a few weeks experience in TeX and some knowledge in programming. The system: Mac (10.9.4, Mavericks) LyX version 2.1.1 BibDesk version 1.6.3 (3296) The problem: Everything was fine till two days ago, when LyX suddenly decided to take two minutes for each output to pdf-preview. I'm working on my bachelor's thesis, so the document is about 40 pages of text with about 20 graphics, probably nothing out of the ordinary. If my memory is correct, the problem occured after inserting and removing some bigger JPG & PNG graphics, in the process of finding the best graphics-format. Now none of these graphics are still inserted, the floating objects are removed as well. What I also did was changing some directories where I stored these files in my project-folder, but LyX should warn me, if it doesn't find any external files anymore, shouldn't it? Well, it doesn't. What it does is stated in the (very basic and to some extend german) log at the end of this message. The first thing to catch my eye is the unnamed process from (16:31:02.323) to (16:31:29.225), which occurs three times and obviously causes the problem with almost 30s of duration. Any suggestions? What I've also been trying is enabling the glossary with no success to this point. But I've removed all my attempts, including the glossary macro at the end of LyX. So that - theoretically - should have no influence and is not part of my question. I hope you have some ideas for the further process of problem solving... With best regards, Michael 16:30:59.719: Generiere Vorschau ... 16:30:59.761: (buffer-view: ⌘R)Buffer.cpp (408): Buffer::Buffer() Buffer.cpp (1650): lyx document header finished Buffer.cpp (1762): preamble finished, now the body. Buffer.cpp (1791): Finished making LaTeX file. Buffer.cpp (1792): Row count was 3000. 16:31:01.544: pdflatex "bachelorLYX.tex"support/Systemcall.cpp (243): Running: pdflatex "bachelorLYX.tex" > /dev/null 16:31:02.284: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:02.284: restricted \write18 enabled. 16:31:02.307: entering extended mode 16:31:02.308: (./bachelorLYX.tex 16:31:02.308: LaTeX2e <2011/06/27> 16:31:02.310: Babel <3.9f> and hyphenation patterns for 78 languages loaded. 16:31:02.323: 16:31:29.225: bibtex "bachelorLYX"support/Systemcall.cpp (243): Running: bibtex "bachelorLYX" 16:31:30.240: This is BibTeX, Version 0.99d (TeX Live 2013) 16:31:30.241: The top-level auxiliary file: bachelorLYX.aux 16:31:30.241: The style file: plain.bst 16:31:30.242: Database file #1: Bachelor- Arbeit_BA_LaTeX_bib_bachelor_bib.bib 16:31:30.243: Warning--I didn't find a database entry for "smallsignal2010" 16:31:30.247: Warning--need editor, key, or series for dickreiter97b2 to crossref dickreiter97b1 16:31:30.251: Warning--can't use both author and editor fields in zwicker07 16:31:30.252: Warning--empty note in muenster 16:31:30.252: Warning--empty note in saarland12 16:31:30.253: (There were 5 warnings) 16:31:30.259: pdflatex "bachelorLYX.tex"support/Systemcall.cpp (243): Running: pdflatex "bachelorLYX.tex" > /dev/null 16:31:30.975: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:30.976: restricted \write18 enabled. 16:31:31.008: entering extended mode 16:31:31.011: (./bachelorLYX.tex 16:31:31.011: LaTeX2e <2011/06/27> 16:31:31.012: Babel <3.9f> and hyphenation patterns for 78 languages loaded. 16:31:31.012: 16:31:57.364: bibtex "bachelorLYX"support/Systemcall.cpp (243): Running: bibtex "bachelorLYX" 16:31:58.122: This is BibTeX, Version 0.99d (TeX Live 2013) 16:31:58.123: The top-level auxiliary file: bachelorLYX.aux 16:31:58.124: The style file: plain.bst 16:31:58.125: Database file #1: Bachelor- Arbeit_BA_LaTeX_bib_bachelor_bib.bib 16:31:58.126: Warning--I didn't find a database entry for "smallsignal2010" 16:31:58.129: Warning--need editor, key, or series for dickreiter97b2 to crossref dickreiter97b1 16:31:58.134: Warning--can't use both author and editor fields in zwicker07 16:31:58.135: Warning--empty note in muenster 16:31:58.136: Warning--empty note in saarland12 16:31:58.136: (There were 5 warnings) 16:31:58.141: pdflatex "bachelorLYX.tex"support/Systemcall.cpp (243): Running: pdflatex "bachelorLYX.tex" > /dev/null 16:31:58.872: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) 16:31:58.873: restricted \write18 enabled. 16:31:58.898: entering extended mode 16:31:58.900: (./bachelorLYX.tex 16:31:58.900: LaTeX2e <2011/06/27> 16:31:58.901: Babel <3.9f> and hyphenation patterns for 78 languages loaded.
LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from LyX Help into PDF for easy reading. When I run View PDF (pdflatex) I get a lot of the following output: \par \end{center} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. \par\end{center} Try typing to proceed. If that doesn't work, type X to quit. ETC. I have no idea why plain UserGuide.lxy can't be viewed. I have another document which I can successfully convert. I will appreciate any pointers to what might be wrong. Many Thanks Martin
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 12:36 PM, Martin Vlkwrote: > Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from > LyX Help into PDF for easy reading. > > When I run View PDF (pdflatex) I get a lot of the following output: > > \par > > \end{center} > > I suspect you've forgotten a `}', causing me to apply this > > control sequence to too much text. How can we recover? > > My plan is to forget the whole thing and hope for the best. > > > \par\end{center} > > Try typing to proceed. > > If that doesn't work, type X to quit. > > > ETC. > > I have no idea why plain UserGuide.lxy can't be viewed. I have another > document which I can successfully convert. > > I will appreciate any pointers to what might be wrong. > > Many Thanks > Martin Hi Martin, indeed something strange might be happening here. I don't have access to LyX 2.1 right now but on LyX 2.2dev it exports fine for me on Ubuntu 14.04. Note however that I'm using TeX Live 2014 (which I installed with https://github.com/scottkosty/install-tl-ubuntu). Either the LyX version of the TeX Live version could explain the difference. Can you install LyX 2.2dev by using the daily PPA? see instructions here: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 If after that, it doesn't work, I would be happy to take a look at it (not right now though) *if* you provide a script that will allow me to reproduce your error from a fresh Ubuntu installation. Perhaps the script would just contain the following line? sudo apt-get install lyx texlive-full Actually I think you'll need to put adding the PPA (and a sudo apt-get update and then install of the package name). Best, Scott
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 6:36 PM, Martin Vlkwrote: > Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from > LyX Help into PDF for easy reading. > Here LyX 2.1.1 on Ubuntu 14.04.1 previews the UserGuide as expected. Liviu > When I run View PDF (pdflatex) I get a lot of the following output: > > \par > > \end{center} > > I suspect you've forgotten a `}', causing me to apply this > > control sequence to too much text. How can we recover? > > My plan is to forget the whole thing and hope for the best. > > > \par\end{center} > > Try typing to proceed. > > If that doesn't work, type X to quit. > > > ETC. > > I have no idea why plain UserGuide.lxy can't be viewed. I have another > document which I can successfully convert. > > I will appreciate any pointers to what might be wrong. > > Many Thanks > Martin -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Re: Lyx, Kindle, epub
Really grateful to Les for his advice below. This works very well! Gracias... from India. FN On 14 July 2014 04:30, Les Denhamwrote: > On Mon, 14 Jul 2014 01:08:47 +0530 > Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا > wrote: > > > * What is the easiest way to convert a Lyx file (with images) to epub? > > * How can one ensure this will be consistent with epub standards? > > * Any site to test the resultant epub? > > * Can Lyx developers help to develop some tools that make it easy to > > create epub and other formats of ebooks? > > Frederick, > > I've done this for several books. From my experience the answer to your > questions are: > > * Conversion > 1. Export your file to LyXHTML > 2. Using your favorite text editor (I use vi), delete the first line of > the file (something like ) and > save as type HTML. > 3. The file can now be imported into Sigil > (http://web.sigil.googlecode.com/git/files/OEBPS/Text/introduction.html > ), > which saves files in epub format. > > * Epub standards > Sigil includes the FlightCrew validator, and also a link to validate > stylesheets with W3C. > > * Testing the epub > I don't know of any site for testing, other than > http://validator.idpf.org/, which as far as I know does exactly the > same as the Sigil validator. The real problem is that no e-reader > supports the standards completely and exactly, so you need to test > your epub on several readers. I use Nook, Calibre and FBreader. > > * LyX development > I'll leave this to developers. > > Without images, the conversion is straightforward, with the main > problem being how to handle footnotes: as epub is reflowable, the > concept of footnote does not exist, so you will have to decide how to > handle them. Sigil gives you the tools to implement any solution you > decide on, but it may involve a lot of detailed editing. > > Images complicate the conversion. Do you want small images in a fixed > location in the text? That is fairly easy. So is putting all the images > at the end of a chapter (or at the end of the book). But if you want > clickable links to images, and a clickable link to return you to the > page you were on, it can become very complicated, and involve a lot of > hand editing. But again, Sigil has all the tools you need for this. > > I hope this helps, > > Les > -- FN P +91-832-2409490 M +91-9822122436 http://goa1556.in
Re: LyX 2.1.1 on Ubuntu 14.04.1 can't preview UserGuide.lyx
On Thu, Aug 14, 2014 at 1:56 PM, Liviu Andronicwrote: > On Thu, Aug 14, 2014 at 6:36 PM, Martin Vlk wrote: >> Hi, I am new to LyX/LaTeX/TeX and trying to convert the UserGuide.lyx from >> LyX Help into PDF for easy reading. >> > Here LyX 2.1.1 on Ubuntu 14.04.1 previews the UserGuide as expected. With which version of TeX Live? Scott