LyX ⇒ A request to check the log file
A request to check the log file
Can anyone check the attached log file? I thought I had everything in LyX well set up and yet the program generates errors.
- Attachments
-
- prisym1819_w1_nst.log
- (32.87 KiB) Downloaded 427 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
A request to check the log file
Hi,
I looked for errors in the log file. The first one
is probably not the fault of the document. This is a macro call in the geometry package (geometry.sty). Since you have already the newest version of that package, an update would not help. Perhaps it's a bug in the new version, or an incompatibility with the
The same I can say about this error;
You have the newest version of hyperref. A bug, incompatibility, or something wrong in the document setup that I cannot see without seeing the pdfLaTeX export. Ir could be reported here: https://github.com/ho-tex/hyperref/issues
While reading, because of similar errors such as
it might be that the issue is not caused in single packages but in the class or a core file.
I see that you are using
Use
Stefan
I looked for errors in the log file. The first one
Code: Select all
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1004 \Gm@processconfig
beamer
class. If you would post the document code as pdfLaTeX export, I could check. It could be a pdfLaTeX export of a copy of your document, that you reduced as much as possible (your text removed in that copy) as long as that LyX file copy brings the error.The same I can say about this error;
Code: Select all
(c:/texlive/2018/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2018/09/30 v6.88a Hyperref: PDFDocEncoding definition (HO)
Now handling font encoding PD1 ...
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.36 \DeclareFontEncoding{PD1}{}{}
While reading, because of similar errors such as
Code: Select all
(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.109 \InputIfFileExists{rerunfilecheck.cfg}{}{}
I see that you are using
utf8x
:
Code: Select all
! Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding `utf8x'.
utf8
instead, except if you really know why you use utf8x
(such as for Greek), as utf8x
is known to may cause issues. Does switching to utf8
encoding already fix something?Stefan
LaTeX.org admin
- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
A request to check the log file
Also, I wonder about this:
Did you modify
Stefan
Code: Select all
(c:/texlive/2018/texmf-dist/tex/latex/url/url.sty
Overfull \hbox (86.44136pt too wide) in paragraph at lines 36--30
[]\OT1/cmr/m/n/10.95 lady/symiprog
[]
Overfull \hbox (65.88255pt too wide) in paragraph at lines 36--30
\OT1/cmr/m/n/10.95 przeds/wersja
[]
Overfull \hbox (11.55835pt too wide) in paragraph at lines 36--30
\OT1/cmr/m/n/10.95 na
[]
Overfull \hbox (15.54295pt too wide) in paragraph at lines 36--30
\OT1/cmr/m/n/10.95 rok
[]
Overfull \hbox (22.20421pt too wide) in paragraph at lines 36--30
\OT1/cmr/m/n/10.95 akad
[]
Overfull \hbox (40.15004pt too wide) in paragraph at lines 36--30
\OT1/cmr/m/n/10.95 1819/ni-
[]
Overfull \hbox (12.83583pt too wide) in paragraph at lines 36--30
\OT1/cmr/m/n/10.95 es-
[]
Overfull \hbox (113.48474pt too wide) in paragraph at lines 36--30
\OT1/cmr/m/n/10.95 tacjonarne/"pd1enc.dfu
[]
\Urlmuskip=\muskip10
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
c:/texlive/2018/texmf-dist/tex/latex/url/url.sty
? Can you please post that file as attachment here?Stefan
LaTeX.org admin
A request to check the log file
Switching to utf8 does not help. I've attached the url file, which I did not modify.
- Attachments
-
- url.sty
- (12.5 KiB) Downloaded 569 times
- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
A request to check the log file
And can you post a test file that produces the error? A pdfLaTeX export? Perhaps the preamble of the pdfLaTeX export of your document is already sufficient.
Stefan
Stefan
LaTeX.org admin
A request to check the log file
Here is the LyX file which generates the error.
- Attachments
-
- prisym1819_w1_nst.lyx
- (2.47 KiB) Downloaded 375 times
- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
A request to check the log file
I don't have LyX right here but I have LaTeX installed on my laptop, that's why I asked for a pdfLaTeX export.
Stefan
Stefan
LaTeX.org admin
A request to check the log file
Do you mean a pdf file?
- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
A request to check the log file
I don't mean a PDF file. LyX is a front end editor, with its own file format. In the back end, it uses LaTeX. So the .lyx format is translated to LaTeX anyway, as an intermediate step, and then the (pdf)LaTeX compiler is run on it.
LyX provides an export feature, that exports the LyX document to LaTeX code. LaTeX produces the same PDF from it as LyX would do from the .lyx file. The LaTeX export can be better analyzed by LaTeX experts than a LyX document. I can read more from this code than from LyX.
In the first section of the main menu of LyX there is the export feature.
Stefan
LyX provides an export feature, that exports the LyX document to LaTeX code. LaTeX produces the same PDF from it as LyX would do from the .lyx file. The LaTeX export can be better analyzed by LaTeX experts than a LyX document. I can read more from this code than from LyX.
In the first section of the main menu of LyX there is the export feature.
Stefan
LaTeX.org admin
A request to check the log file
I really do not know which option it is. Is it about File-> Export-> LaTeX (pdflatex)? Because I do not know where this file appears. There is no such file in the folder where the file is compiled. I added a file exported to pure LaTeX. If it does not help, I do not know what to do.
- Attachments
-
- prisym1819_w1_nst.tex
- (1.2 KiB) Downloaded 494 times