LaTeX forum ⇒ LyX*noob question* LyX won't compile on new system

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
flogae
Posts: 2
Joined: Wed Sep 13, 2023 6:56 pm

*noob question* LyX won't compile on new system

Postby flogae » Wed Sep 13, 2023 7:05 pm

Hello everybody,

I just ported an old presentation that I last delivered in 2020 to my new computer and I am having trouble letting LyX compile it for me. I could use the old version, but the date on the first page says March 10, 2020, which is a bit embarrassing.

The new computer is running Ubuntu. LyX is opening the .lyx file with no trouble, but upon pressing ctrl+R to compile, I get an error window with the classical

LaTex error: missing \begin{document}

I am not enough of a wizard to tell what might be the problem.
Any ideas? What tests can I run? Something seems to be wrong with LyX's configuration...

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
flogae
Posts: 2
Joined: Wed Sep 13, 2023 6:56 pm

*noob question* LyX won't compile on new system

Postby flogae » Wed Sep 13, 2023 11:23 pm

It is quite confusing....
I have looked at some of my other older talks, and they all compile without a problem.
So there isn't a general error in LyX's configuration, but rather something in the specific file that doesn't compile.

I thought that since the error I am getting is a

missing \begin{document},

the problem must be in the header section.

But the header sections of the two files are identical, except for a

\usepackage{graphicx}.

I don't see how that could cause the problem, but I'm willing to comment it out, except I don't know how.

Anyway I've attached the files, maybe someone can try to compile these and see what happens?
Attachments
Impulsreferat Grundlagen Rechenschwaeche.lyx
doesn't compile
(47.41 KiB) Downloaded 18 times
Vortrag 4HJ Binärcode.lyx
compiles
(28.41 KiB) Downloaded 22 times


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 10 guests