Hello,
Requirements:
I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata
OpenMandriva Lx version:
Rome
Desktop environment (KDE, LXQT…):
KDE
Description of the issue (screenshots if relevant):
I want to continue this closed thread. Having trouble using LaTeX, and I don’t think it’s my stuff, since I’m coming from another distro where it all works (Arch).
The issue is the below configuration and LaTeX file should compile into a PDF. Instead, a number of errors are produced:
At the CLI:
warning (pdf backend): no pages of output.
Transcript written on lualatex.log.
mktexfmt [INFO]: log file copied to: /home/sezovr/.texlive2013/texmf-var/web2c/luahbtex/lualatex.log
mktexfmt [INFO]: /home/sezovr/.texlive2013/texmf-var/web2c/luahbtex/lualatex.fmt installed.
mktexfmt [INFO]: disabled formats: 3
mktexfmt [INFO]: successfully rebuilt formats: 1
mktexfmt [INFO]: not selected formats: 53
mktexfmt [INFO]: total formats: 57
mktexfmt [INFO]: exiting with status 0
---! lualatex.fmt was written by luahbtex
(Fatal format file error; I'm stymied)Latexmk: No log file was found, neither the expected one, 'article-handout.log', nor one in '.'.
Latexmk: fls file doesn't appear to have been made.
Latexmk: Getting log file 'article-handout.log'
Latexmk: Couldn't read log file 'article-handout.log':
No such file or directory
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
lualatex: Run of rule 'lualatex' gave a non-zero error code
----------------------
This message may duplicate earlier message.
Latexmk: Failure in processing file 'article-handout.tex':
*LaTeX didn't generate the expected log file 'article-handout.log'
----------------------
Latexmk: Sometimes, the -f option can be used to get latexmk
to try to force complete processing.
But normally, you will need to correct the file(s) that caused the
error, and then rerun latexmk.
In some cases, it is best to clean out generated files before rerunning
latexmk after you've corrected the files.
The error above is getting copied into a .texlive2013
folder that was created in my user dir. According to this page, Texlive 2025 was released on March 8. Perhaps it’s time for an update?
Also, there are two latexmk
packages in the repo; I tried them both. The texlive-latexmk
package worked; the other one didn’t. Neither got installed by default when I installed Texlive.
I am not a LaTeX expert, so I’m guessing based on the previous thread that this installation is broken.
Relevant informations (hardware involved, software version, logs or output…):
Texlive installed via
sudo dnf -y install texlive texlive-biber texlive-latexmk
.latexmkrc file:
# PDF-generating modes are:
# 1: pdflatex, as specified by $pdflatex variable (still largely in use)
# 2: postscript conversion, as specified by the $ps2pdf variable (useless)
# 3: dvi conversion, as specified by the $dvipdf variable (useless)
# 4: lualatex, as specified by the $lualatex variable (best)
# 5: xelatex, as specified by the $xelatex variable (second best)
$pdf_mode = 4;
$dvi_mode = '0';
$pdf_previewer = 'start okular'
LaTeX file:
% Settings
\documentclass[letterpaper, 11pt]{article}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{graphicx} % Include images
\usepackage{wrapfig} % Wrap around images
\usepackage{fontspec}
\usepackage{calc}
\usepackage{hyperref}
\usepackage{longtable}
\usepackage{enumitem,amssymb}
\usepackage{ctable}
\usepackage{float}
\usepackage{morefloats}
\usepackage[T1]{fontenc} % Add accented characters
\usepackage{geometry}
\usepackage{titlesec}
% Fonts
\setmainfont{Libertinus Serif}
\setsansfont{Libertinus Sans}
\setmonofont{IosevkaTermSlab Nerd Font}
\newfontfamily\sectionfont{Libertinus Sans}
\newfontfamily\subsectionfont{Libertinus Sans}
\newfontfamily\subsubsectionfont{Libertinus Sans}
\newfontfamily\captionfont{Libertinus Sans}
\titleformat*{\section}{\Large\bfseries\sffamily\sectionfont}
\titleformat*{\subsection}{\bfseries\sffamily\subsectionfont}
\titleformat*{\subsubsection}{\itshape\subsubsectionfont}
\geometry{letterpaper, hmargin={1in, 1in}, vmargin={1in,1in}}
\setlistdepth{9}
\setcounter{secnumdepth}{0}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother
\setlength{\emergencystretch}{3em} % prevent overfull lines
\makeatletter
\renewcommand{\maketitle}{ % Custom title; put title and author in block below.
\begin{center}
{\LARGE\@title}
\vspace{5pt}
{\large\@author}
% \\\@date
% \vspace{5pt}
\end{center}
}
\newcommand{\hruleafter}[1]{#1\hrule}
\makeatother
\titleformat{\section}{\large\bfseries\sffamily\sectionfont}{\thesection}{1em}{\hruleafter}
\titlespacing*{\section} {0pt}{5ex}{1ex}
% Pandoc quirks
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% Title
\title{\textbf{Sample Title}\\
$subtitle$} %
\author{\textsc{Firstname Lastname}}
% \author{\textsc{Firstname Lastname} % Author
% \\{\textit{Publishing Company}}} % Company/institution
% \date{\today} % Date
% Document actually begins here
\begin{document}
\maketitle % Print the title
% Body
Here is some text for this document.
\end{document}