## LaTeX forum ⇒ LyX ⇒ A 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: 14
Joined: Mon Oct 01, 2018 8:34 pm

### 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

Stefan Kottwitz
Posts: 9316
Joined: Mon Mar 10, 2008 9:44 pm
Hi,

I looked for errors in the log file. The first one

! 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.

(c:/texlive/2018/texmf-dist/tex/latex/hyperref/pd1enc.defFile: 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

(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/rerunfilecheck.styPackage: 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:
! 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

Stefan Kottwitz
Posts: 9316
Joined: Mon Mar 10, 2008 9:44 pm

(c:/texlive/2018/texmf-dist/tex/latex/url/url.styOverfull \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=\muskip10Package: 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

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm
Switching to utf8 does not help. I've attached the url file, which I did not modify.
Attachments
url.sty

Stefan Kottwitz
Posts: 9316
Joined: Mon Mar 10, 2008 9:44 pm
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

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm
Here is the LyX file which generates the error.
Attachments
prisym1819_w1_nst.lyx

Stefan Kottwitz
Posts: 9316
Joined: Mon Mar 10, 2008 9:44 pm
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

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm
Do you mean a pdf file?

Stefan Kottwitz
Posts: 9316
Joined: Mon Mar 10, 2008 9:44 pm
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

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm
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