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

A request to check the log file

Postby tygrysuav » Sun Oct 07, 2018 9:56 am

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

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

Postby Stefan Kottwitz » Sun Oct 07, 2018 11:58 am

Hi,

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

  1. ! LaTeX Error: Missing \begin{document}.
  2.  
  3. See the LaTeX manual or LaTeX Companion for explanation.
  4. Type H <return> for immediate help.
  5. ...
  6.  
  7. 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;

  1. (c:/texlive/2018/texmf-dist/tex/latex/hyperref/pd1enc.def
  2. File: pd1enc.def 2018/09/30 v6.88a Hyperref: PDFDocEncoding definition (HO)
  3. Now handling font encoding PD1 ...
  4.  
  5. ! LaTeX Error: Missing \begin{document}.
  6.  
  7. See the LaTeX manual or LaTeX Companion for explanation.
  8. Type H <return> for immediate help.
  9. ...
  10.  
  11. 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

  1. (c:/texlive/2018/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
  2. Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
  3.  
  4. ! LaTeX Error: Missing \begin{document}.
  5.  
  6. See the LaTeX manual or LaTeX Companion for explanation.
  7. Type H <return> for immediate help.
  8. ...
  9.  
  10. 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:
  1. ! Package inputenc Error: Keyboard character used is undefined
  2. (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
Site admin

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

Postby Stefan Kottwitz » Sun Oct 07, 2018 12:33 pm

Also, I wonder about this:

  1. (c:/texlive/2018/texmf-dist/tex/latex/url/url.sty
  2. Overfull \hbox (86.44136pt too wide) in paragraph at lines 36--30
  3. []\OT1/cmr/m/n/10.95 lady/symiprog
  4. []
  5.  
  6.  
  7. Overfull \hbox (65.88255pt too wide) in paragraph at lines 36--30
  8. \OT1/cmr/m/n/10.95 przeds/wersja
  9. []
  10.  
  11.  
  12. Overfull \hbox (11.55835pt too wide) in paragraph at lines 36--30
  13. \OT1/cmr/m/n/10.95 na
  14. []
  15.  
  16.  
  17. Overfull \hbox (15.54295pt too wide) in paragraph at lines 36--30
  18. \OT1/cmr/m/n/10.95 rok
  19. []
  20.  
  21.  
  22. Overfull \hbox (22.20421pt too wide) in paragraph at lines 36--30
  23. \OT1/cmr/m/n/10.95 akad
  24. []
  25.  
  26.  
  27. Overfull \hbox (40.15004pt too wide) in paragraph at lines 36--30
  28. \OT1/cmr/m/n/10.95 1819/ni-
  29. []
  30.  
  31.  
  32. Overfull \hbox (12.83583pt too wide) in paragraph at lines 36--30
  33. \OT1/cmr/m/n/10.95 es-
  34. []
  35.  
  36.  
  37. Overfull \hbox (113.48474pt too wide) in paragraph at lines 36--30
  38. \OT1/cmr/m/n/10.95 tacjonarne/"pd1enc.dfu
  39. []
  40.  
  41. \Urlmuskip=\muskip10
  42. Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
  43. )


Did you modify c:/texlive/2018/texmf-dist/tex/latex/url/url.sty? Can you please post that file as attachment here?

Stefan
Site admin

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm

Postby tygrysuav » Sun Oct 07, 2018 10:52 pm

Switching to utf8 does not help. I've attached the url file, which I did not modify.
Attachments
url.sty
(12.5 KiB) Downloaded 2 times

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

Postby Stefan Kottwitz » Sun Oct 07, 2018 11:21 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
Site admin

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm

Postby tygrysuav » Mon Oct 08, 2018 6:34 pm

Here is the LyX file which generates the error.
Attachments
prisym1819_w1_nst.lyx
(2.47 KiB) Downloaded 3 times

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

Postby Stefan Kottwitz » Mon Oct 08, 2018 6:40 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
Site admin

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm

Postby tygrysuav » Mon Oct 08, 2018 10:04 pm

Do you mean a pdf file?

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

Postby Stefan Kottwitz » Mon Oct 08, 2018 10:28 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
Site admin

tygrysuav
Posts: 14
Joined: Mon Oct 01, 2018 8:34 pm

Postby tygrysuav » Wed Oct 10, 2018 8:12 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
(1.2 KiB) Downloaded 4 times


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 5 guests