Re: Failed to generate PDF?
On Sat, 4 Mar 2017 18:27:41 +0100 Matěj Ceplwrote: > On 04/03/17 12:06, Jürgen Spitzmüller wrote: > > Am Samstag, den 04.03.2017, 11:51 +0100 schrieb Matěj Cepl: > >> I will try that, but it still doesn’t explain why export to 'LaTeX > >> (xelatex)' and manual processing on the command line works. > > > > Which command do you use on the command line? I bet you get the same > > error if you run xelatex or lualatex (not latex or pdflatex). > > > > As said, the error only occurs with with xetex and luatex, not with > > latex or pdflatex. > > xelatex of course. > > Matěj Hi Matěj, I haven't spent any time on your specific problem, but one possibility to look into is font incompatibilities. For 9 months I needed to compile my books on a Ubuntu VM because on my Void Linux Daily Driver Desktop, my books wouldn't compile. Then one day, after seeing another guy's book that had replaced Century Schoolbook New with (almost completely equivalent) TeX Gyre Schola (serif), TeX Gyre Heros (sans), and TeX Gyre Cursor (mono), I did the same thing, got rid of the "Use non-tex fonts" checkmark, and bang, my books compiled under LyX. Trying different main fonts on your smallest symptom-displaying example might be a quick way to rule this in or out. SteveT Steve Litt February 2017 featured book: Thriving in Tough Times http://www.troubleshooters.com/thrive
Re: Failed to generate PDF?
On 04/03/17 18:48, Jürgen Spitzmüller wrote: > For me it fails with xelatex on the cl as well, as expected: Anyway, \noautomath helps so I will stick to it. Thanks, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 A philosopher like Plato, according to Luther's colorful imagery, remains like a cow who looks at a new door, refusing to enter? signature.asc Description: OpenPGP digital signature
Re: Failed to generate PDF?
Am Samstag, den 04.03.2017, 18:27 +0100 schrieb Matěj Cepl: > xelatex of course. For me it fails with xelatex on the cl as well, as expected: This is XeTeX, Version 3.14159265-2.6-0.6 (TeX Live 2016) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./Ph.D.project-Brno1.tex LaTeX2e <2017/01/01> patch level 3 [...] ! Missing \endcsname inserted. \let l.1116 ...ter\let\csname\next\string\`-^\endcsname \tipagravecircumacce nt Jürgen signature.asc Description: This is a digitally signed message part
Re: Failed to generate PDF?
On 04/03/17 12:06, Jürgen Spitzmüller wrote: > Am Samstag, den 04.03.2017, 11:51 +0100 schrieb Matěj Cepl: >> I will try that, but it still doesn’t explain why export to 'LaTeX >> (xelatex)' and manual processing on the command line works. > > Which command do you use on the command line? I bet you get the same > error if you run xelatex or lualatex (not latex or pdflatex). > > As said, the error only occurs with with xetex and luatex, not with > latex or pdflatex. xelatex of course. Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Home is where ~/.bashrc is. -- from Usenet signature.asc Description: OpenPGP digital signature
Re: Failed to generate PDF?
Am Samstag, den 04.03.2017, 11:51 +0100 schrieb Matěj Cepl: > I will try that, but it still doesn’t explain why export to 'LaTeX > (xelatex)' and manual processing on the command line works. Which command do you use on the command line? I bet you get the same error if you run xelatex or lualatex (not latex or pdflatex). As said, the error only occurs with with xetex and luatex, not with latex or pdflatex. HTH Jürgen signature.asc Description: This is a digitally signed message part
Re: Failed to generate PDF?
Am Freitag, den 03.03.2017, 23:42 +0100 schrieb Matěj Cepl: > On Fri, 2017-03-03 at 15:59 -0500, Scott Kostyshak wrote: > > Can you make a more minimal example? For more information, see: > > Well, my original example didn’t seem that horribly large, but > here we are. > > When running in LyX via PDF(xelatex), it fails (working directory > preserved again on https://mcepl.fedorapeople.org/tmp/lyx-workdir > .zip ), when I export to the LaTeX file and process manually with > latex and bibtex, everything works fine. > > Any thoughts? The gb4e package, which is used in the document, makes the characters ^ and _ active in order to allow for quick sub- and superscript outside math. This breaks with some packages, as well as with XeTeX and LuaTeX. Add \noautomath immediately after \usepackage{gb4e} in the preamble. See egreg's explanations for details: http://tex.stackexchange.com/questions/101300/cant-compile-xelatex-docu ment-with-biblatex-and-gb4e-together HTH Jürgen > > Matěj > signature.asc Description: This is a digitally signed message part
Re: Failed to generate PDF?
Am Freitag, 3. März 2017 um 23:42:14, schrieb Matěj Cepl> On Fri, 2017-03-03 at 15:59 -0500, Scott Kostyshak wrote: > > Can you make a more minimal example? For more information, see: > > Well, my original example didn’t seem that horribly large, but > here we are. > > When running in LyX via PDF(xelatex), it fails (working directory > preserved again on https://mcepl.fedorapeople.org/tmp/lyx-workdir > .zip ), when I export to the LaTeX file and process manually with > latex and bibtex, everything works fine. > > Any thoughts? Yes. Export the same way as you do manually, e.g. export with 'LaTeX (pdflatex)'. > Matěj Kornel signature.asc Description: This is a digitally signed message part.
Re: Failed to generate PDF?
On Fri, 2017-03-03 at 15:59 -0500, Scott Kostyshak wrote: > Can you make a more minimal example? For more information, see: Well, my original example didn’t seem that horribly large, but here we are. When running in LyX via PDF(xelatex), it fails (working directory preserved again on https://mcepl.fedorapeople.org/tmp/lyx-workdir .zip ), when I export to the LaTeX file and process manually with latex and bibtex, everything works fine. Any thoughts? Matěj -- http://matej.ceplovi.cz/blog/, Jabber: mceplceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 A GOOD name is rather to be chosen than great riches. -- Proverbs 22:1 0_S69C7NHU 0_ZI9N3WDD 0_2DS96JRI @book{pravdova2014akademicka, address = {Praha}, edition = {Lingvistika}, title = {Akademick{\'a} p{\v r}{\'i}ru{\v c}ka {\v c}esk{\'e}ho jazyka}, isbn = {978-80-200-2327-8}, url = {http://academia.cz/img/knihy/obalky1/lrg/akademicka-prirucka-ceskeho-jazyka.jpg}, abstract = {Internetovou jazykovou p{\v r}{\'i}ru{\v c}ku kolektivu autor{\r u} {\'U}stavu pro jazyk {\v c}esk{\'y} AV {\v C}R vyu{\v z}ilo b{\v e}hem prvn{\'i}ch t{\v r}{\'i} let od jej{\'i}ho zp{\v r}{\'i}stupn{\v e}n{\'i} v{\'i}ce ne{\v z} milion u{\v z}ivatel{\r u}. Jej{\'i} v{\'y}kladov{\'a} {\v c}{\'a}st nyn{\'i} vych{\'a}z{\'i} poprv{\'e} kni{\v z}n{\v e}. Najdete zde obecn{\'a} pou{\v c}en{\'i} o {\v c}esk{\'e}m jazyce, zejm{\'e}na o pravopisu, tvaroslov{\'i} a n{\v e}kter{\'y}ch syntaktick{\'y}ch jevech. Ve v{\'y}kladech se uv{\'a}d{\v e}j{\'i} i rozpory v {\'u}daj{\'i}ch, kter{\'e} jednotliv{\'e} jazykov{\'e} p{\v r}{\'i}ru{\v c}ky p{\v r}in{\'a}{\v s}ej{\'i}, nebo rozd{\'i}ly mezi kodifikac{\'i} a spisovn{\'y}m {\'u}zem, a to s hodnot{\'i}c{\'i}m koment{\'a}{\v r}em a doporu{\v c}en{\'y}m {\v r}e{\v s}en{\'i}m. Kniha je ur{\v c}ena jak {\v s}irok{\'e} ve{\v r}ejnosti, tak profesion{\'a}ln{\'i}m u{\v z}ivatel{\r u}m, zvl{\'a}{\v s}t{\v e} u{\v c}itel{\r u}m a student{\r u}m.}, language = {{\v c}esky}, urldate = {2017-03-03}, publisher = {Academia}, editor = {Pravdov{\'a}, Mark{\'e}ta and Svobodov{\'a}, Ivana}, year = {2014}, file = {Snapshot:/home/marketa/.mozilla/firefox/1oo173o1.test/zotero/storage/66V892C8/akademicka-prirucka-ceskeho-jazyka.html:text/html} } Ph.D.project-Brno1.lyx Description: application/lyx signature.asc Description: This is a digitally signed message part
Re: Failed to generate PDF?
On Fri, Mar 03, 2017 at 09:38:34PM +0100, Matej Cepl wrote: > Hi, > > my wife returned after many years to the academic work (after having > kids returning back to finishing her PhD) and so she started to write > some documents in LyX. However, when she tried to generate PDF for the > attached .lyx file (with .bib file generated by LyZ from Zotero > bibliography), the result was error. See also /tmp/lyx_tmpbuf0 > directory on https://mcepl.fedorapeople.org/tmp/lyx-workdir.zip. > > Using lyx-2.1.4-7.el7.x86_64 with TeXLive svn30088.0-14.20140525_r34255 > on RHEL-7. > > Anybody any ideas, what do I do wrong, please? > > Thank you, > > Matěj > -- > https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz > GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Hi Matĕj, Can you make a more minimal example? For more information, see: https://wiki.lyx.org/FAQ/MinimalExample Scott signature.asc Description: PGP signature