LyXNo PDF output after Lyx reinstall

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
varinski
Posts: 1
Joined: Thu Aug 12, 2021 5:08 pm

No PDF output after Lyx reinstall

Post by varinski »

Hi,

after a fresh install of Kubuntu 20.04 on a new SSD, I reinstalled Lyx (same version as before: 2.3.4.2) through the same process as usual, that is :
sudo apt install lyx
sudo apt install texlive-lang-french
Here is my problem: I can open my .lyx files, but when I press CTRL+R to get a PDF output all I get is the same error message:

Code: Select all

This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2021.8.12)  17 AUG 2021 19:52
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**quelque_part.tex
(./quelque_part.tex
LaTeX2e <2020-02-02> patch level 2
L3 programming layer <2020-02-14>
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2019/12/20 v1.4l Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk12.clo
File: bk12.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
)
\c@part=\count167
\c@chapter=\count168
\c@section=\count169
\c@subsection=\count170
\c@subsubsection=\count171
\c@paragraph=\count172
\c@subparagraph=\count173
\c@figure=\count174
\c@table=\count175
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen134
) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/newcent.sty
Package: newcent 2005/04/12 PSNFSS-v9.2a (SPQR) 
) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2020/02/11 v2.0o Standard LaTeX package
LaTeX Font Info:    Trying to load font information for T1+pnc on input line 11
2.
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pnc.fd
File: t1pnc.fd 2001/06/04 font definitions for T1/pnc.
)) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2018/08/11 v1.3c Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
(/usr/share/texlive/texmf-dist/tex/latex/base/latin9.def
File: latin9.def 2018/08/11 v1.3c Input encoding file
)) (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2020/01/02 v5.9 Page Geometry
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
) (/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2019/11/07 v1.0c TeX engine tests
))
\Gm@cnth=\count176
\Gm@cntv=\count177
\c@Gm@tempcnt=\count178
\Gm@bindingoffset=\dimen135
\Gm@wd@mp=\dimen136
\Gm@odd@mp=\dimen137
\Gm@even@mp=\dimen138
\Gm@layoutwidth=\dimen139
\Gm@layoutheight=\dimen140
\Gm@layouthoffset=\dimen141
\Gm@layoutvoffset=\dimen142
\Gm@dimlist=\toks17

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1002 \Gm@processconfig
                        
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

) (/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2019/01/31 v3.10 Extensive control of page headers and footer
s
\f@nch@headwidth=\skip49
\f@nch@O@elh=\skip50
\f@nch@O@erh=\skip51
\f@nch@O@olh=\skip52
\f@nch@O@orh=\skip53
\f@nch@O@elf=\skip54
\f@nch@O@erf=\skip55
\f@nch@O@olf=\skip56
\f@nch@O@orf=\skip57
) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/pifont.sty
Package: pifont 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR) 
LaTeX Font Info:    Trying to load font information for U+pzd on input line 63.

(/usr/share/texlive/texmf-dist/tex/latex/psnfss/upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
)
LaTeX Font Info:    Trying to load font information for U+psy on input line 64.

(/usr/share/texlive/texmf-dist/tex/latex/psnfss/upsy.fd
File: upsy.fd 2001/06/04 font definitions for U/psy.
)) (/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty
Overfull \hbox (60.24556pt too wide) in paragraph at lines 1002--287
[]\T1/pnc/m/n/12 lyx fran�ais/quelque part/"geometry.cfg"                      
                                                               
 []

Package: setspace 2011/12/19 v6.7a set line spacing
) (/usr/share/texlive/texmf-dist/tex/latex/lettrine/lettrine.sty
File: lettrine.sty 2019-04-06 v2.22 (Daniel Flipo)
(/usr/share/texlive/texmf-dist/tex/generic/minifp/minifp.sty
Package: minifp 2013/12/30 v0.96. Macros for real number operations and a stack
-based programing language.
\MFP@loopctr=\count179
)
\c@DefaultLines=\count180
\c@DefaultDepth=\count181
\DefaultFindent=\dimen143
\DefaultNindent=\dimen144
\DefaultSlope=\dimen145
\DiscardVskip=\dimen146
\L@lbox=\box45
\L@tbox=\box46
\c@L@lines=\count182
\c@L@depth=\count183
\L@Pindent=\dimen147
\L@Findent=\dimen148
\L@Nindent=\dimen149
\L@lraise=\dimen150
\L@first=\dimen151
\L@next=\dimen152
\L@slope=\dimen153
\L@height=\dimen154
\L@novskip=\dimen155
\L@target@ht=\dimen156
\L@target@dp=\dimen157
\L@target@tht=\dimen158
\LettrineWidth=\dimen159
\LettrineHeight=\dimen160
\LettrineDepth=\dimen161
\Llist@everypar=\toks18
Loading lettrine.cfg
(/usr/share/texlive/texmf-dist/tex/latex/lettrine/lettrine.cfg)) (/usr/share/te
xmf/tex/latex/tipa/tipa.sty
Package: tipa 2002/08/08 TIPA version 1.1
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2020/02/11 v2.0o Standard LaTeX package
(/usr/share/texmf/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
Now handling font encoding T3 ...

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.42 \DeclareFontEncoding{T3}{}{}
                                 
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

... no UTF-8 mapping file for font encoding T3
LaTeX Font Info:    Font shape `T1/pnc/bx/n' in size <12> not available
(Font)              Font shape `T1/pnc/b/n' tried instead on input line 356.
LaTeX Font Info:    Trying to load font information for T1+lmss on input line 3
57.
(/usr/share/texmf/tex/latex/lm/t1lmss.fd
File: t1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
)))) (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2020/02/02 v2.0n Standard LaTeX package

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.77 ...extcomp}{Local configuration file used}}{}
                                                  
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

)

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.37 \usepackage
                [cmintegrals,cmbraces]{newtxmath}
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.


! LaTeX Error: File `ebgaramond.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.37 \usepackage
                [cmintegrals,cmbraces]{newtxmath}^^M
*** (cannot \read from terminal in nonstop modes)

 
Here is how much of TeX's memory you used:
 2515 strings out of 483081
 31210 string characters out of 5963441
 256773 words of memory out of 5000000
 17555 multiletter control sequences out of 15000+600000
 541504 words of font info for 32 fonts, out of 8000000 for 9000
 59 hyphenation exceptions out of 8191
 39i,0n,45p,228b,75s stack positions out of 5000i,500n,10000p,200000b,80000s
!  ==> Fatal error occurred, no output PDF file produced!
Since I reinstalled the same Lyx version through the same process, I don't understand where the problem comes from. The files (including their preamble) haven't been modified. Everything is the same, and yet...

Any help would be most welcome.

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

No PDF output after Lyx reinstall

Post by Stefan Kottwitz »

Hi varinski,

welcome to the forum!

I remember that LyX/LaTeX in some version had issues with special characters in file names and paths. And I see in line 99 of your log file that your document is in such a folder:

[]\T1/pnc/m/n/12 lyx fran�ais/quelque part/"geometry.cfg"

Please try working without special characters in the path / folder name, such as renaming that folder.

Stefan
LaTeX.org admin
Post Reply