LyXAfter update 2.3.0->2.3.4.4: Article.cls not found

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
LeFish
Posts: 2
Joined: Fri Apr 03, 2020 3:10 pm

After update 2.3.0->2.3.4.4: Article.cls not found

Post by LeFish »

Hi there,

today I decided to update Lyx because often crashed after closing Acrobat Reader, which I used to view the output file.

Anyway, I now have the problem, that Lyx does not find the document class article.cls, which I used in my document. The error is as follows:

Image

Opening the very same document in version 2.3.0 worked perfectly fine.

My Latex preamble is as follows:

Code: Select all

%Erweitertes Unterstreichen
\usepackage{soul}

% verschieden Symbole, Zeichen wie (c), €
\usepackage{textcomp}

\usepackage{ %a4wide,
            ellipsis, fixltx2e, mparhack,   %Fehlerkorrektur für Marginalien
            booktabs, longtable             %schönere Tabellen
}  

% schönerer Blocksatz!!

\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used

 %Bezeichungen anpassen
%Babelpaket muß zuvor geladen werden
\usepackage[ngerman]{babel}
\addto\captionsngerman{ 
\renewcommand{\figurename}{Abbildung}% 
\renewcommand{\tablename}{Tabelle}% 
\renewcommand{\abstractname}{Kurzfassung}
%\renewcommand{\nomname}{Abkürzungen}
}


%Formelzeichen in Text einbetten
\usepackage{ textcomp }

%------Custom Header-------%

\usepackage{tikzpagenodes}
\usetikzlibrary{calc}
\usepackage{lmodern}
\usepackage{multicol}
\usepackage{lipsum}
\usepackage{atbegshi}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc} 
\usepackage[ngerman]{babel}
\usepackage[babel,german=quotes]{csquotes}

%-----Schriftgröße----%
\newcommand{\Nompt}{13} %Normalschriftgröße

%-----Ränder----%

\newcommand{\Hmargin}{2cm} %Definiert Horizontalen Rand
\newcommand{\Bmargin}{3cm} %Definiert Unteren Rand
\newcommand{\Tmargin}{3cm} %Definiert Oberen Rand
\usepackage[hmargin=\Hmargin{},bmargin=\Bmargin{},tmargin=\Tmargin{},centering]{geometry}

%-----Ende Ränder----%

\newcommand{\DatumNum}{\today} %Numerisches Datum
\newcommand{\DatumAlpha}{\today} %Alpha Datum

\definecolor{myorange}{RGB}{199,50,9}

\pagestyle{empty}
%\AtBeginShipout{\Header\Footer} %Header auf allen Seiten
%\AtBeginShipoutFirst{\Header\Footer} %Header auf erster Seite (?)

%--------Robot (einfach, ehrlich) -> Schriftgröße 11 umstellen -----------%

%Roboto Sans Serif Schriftart
%\usepackage[sfdefault]{roboto}  %% Option 'sfdefault' only if the base font of the document is to be sans serif
%\usepackage[T1]{fontenc}

%-------LModern (verspielt) -> Schriftgröße 12 umstellen -----------%

\usepackage{lmodern}
\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
\usepackage[T1]{fontenc}

%-------Nimbus Sans (Diplomarbeit, seriös) -> Schriftgröße 12 umstellen -----------%


%\usepackage[scaled]{helvet}
%\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
%\usepackage[T1]{fontenc}
I already did a MikTex update and made sure, that ltxbase is installed as suggested in this post: https://latex.org/forum/viewtopic.php?t=28642

Can you help me please?
Thanks in advance!

Best regards
LeFish

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

LeFish
Posts: 2
Joined: Fri Apr 03, 2020 3:10 pm

After update 2.3.0->2.3.4.4: Article.cls not found

Post by LeFish »

Hi there,

As I had the same problem after reverting to 2.3.0, I found the following post: https://tex.stackexchange.com/questions ... -available

As it is suggested I did a "Tools > Reconfigure" after installing the needed packages in MikTex. I suppose you have to do this, whenever you install new packages in MikTex.

Now it works on 2.3.0 and 2.3.4.4!

Best regards,
LeFish
Post Reply