LyXA request to check the log file

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
tygrysuav
Posts: 16
Joined: Mon Oct 01, 2018 8:34 pm

A request to check the log file

Post by tygrysuav »

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 426 times

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

A request to check the log file

Post by Stefan Kottwitz »

Hi,

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
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 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}{}{}
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

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}{}{}
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 utf8x:

Code: Select all

! Package inputenc Error: Keyboard character used is undefined
(inputenc)                in inputencoding `utf8x'.
Use 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
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

A request to check the log file

Post by Stefan Kottwitz »

Also, I wonder about this:

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.
)
Did you modify c:/texlive/2018/texmf-dist/tex/latex/url/url.sty? Can you please post that file as attachment here?

Stefan
LaTeX.org admin
tygrysuav
Posts: 16
Joined: Mon Oct 01, 2018 8:34 pm

A request to check the log file

Post by tygrysuav »

Switching to utf8 does not help. I've attached the url file, which I did not modify.
Attachments
url.sty
(12.5 KiB) Downloaded 568 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

A request to check the log file

Post by Stefan Kottwitz »

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
LaTeX.org admin
tygrysuav
Posts: 16
Joined: Mon Oct 01, 2018 8:34 pm

A request to check the log file

Post by tygrysuav »

Here is the LyX file which generates the error.
Attachments
prisym1819_w1_nst.lyx
(2.47 KiB) Downloaded 374 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

A request to check the log file

Post by Stefan Kottwitz »

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
LaTeX.org admin
tygrysuav
Posts: 16
Joined: Mon Oct 01, 2018 8:34 pm

A request to check the log file

Post by tygrysuav »

Do you mean a pdf file?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

A request to check the log file

Post by Stefan Kottwitz »

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
LaTeX.org admin
tygrysuav
Posts: 16
Joined: Mon Oct 01, 2018 8:34 pm

A request to check the log file

Post by tygrysuav »

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 493 times
Post Reply