LaTeX forum ⇒ LyXLaTeX error: Missing \begin{document}

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
0zymandias
Posts: 4
Joined: Sun Oct 28, 2018 5:37 pm

LaTeX error: Missing \begin{document}

Postby 0zymandias » Fri Nov 02, 2018 7:13 pm

That's the error that's showing up when I try to compile and visualize the file in pdf.

please help
Attachments
Relatório- Lei de Stefan-Boltzmann.lyx
file with error
(12.27 KiB) Downloaded 15 times

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

Postby Stefan Kottwitz » Fri Nov 02, 2018 8:14 pm

Could you please post your .log file, as attachment? And perhaps also a pdfLaTeX export? That can be done in the first main (file) menu of LyX. That's because in that case also LaTeX user (such as me) can check and help.

The attachment link is below the text edit field, when editing or writing a post. The same way you added the .lyx file.

Stefan
Site admin

0zymandias
Posts: 4
Joined: Sun Oct 28, 2018 5:37 pm

Postby 0zymandias » Thu Nov 29, 2018 6:19 pm

Anyways I ended up exporting to LaTeX and doing it from there however I was doing another paper and the same problem arised, here is the log file and PDFLATEX.
Attachments
relatorio.tex
(4.19 KiB) Downloaded 8 times
Screenshot_1.jpg
Screenshot_1.jpg (45.34 KiB) Viewed 139 times

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

Postby Stefan Kottwitz » Thu Nov 29, 2018 6:41 pm

This file runs for me. I don't have the images, so I added the demo option in

\usepackage[demo]{graphicx}

but then it compiles without such an error. Can you attach the .log file for compiling this relatorio.tex?

Stefan
Site admin


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 1 guest