I have a very strange error on my lubutu (23.04 Lunar Lobster) using
pdflatex: 3.1412592653-2.6-1.40.24 (TeX Live 2022/Debian)
Using $\vec{a}$ leads to the following error:
! Missing number, treated as zero.
<to be read again>
\protect
l.71 (${\color{blue}\vec{a}
}$)
The error can be ignored (pressing "R" for run), but is annoying and stresses me, because I have no clue where it comes from (and probably will stop on the server, after the next upgrade).
The same LaTeX Code (same inputs, same makros) runs without problem under lubuntu 21.04 (Hirsute Hippo) using pdflatex 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian)
It can not be the imports or includes, but is most likely in one of the following packages has a prblem with the newest lubuntu; because, when I run a minimal example (without those packages) it compiles without problem. Probably also a problem with the order of my imports together with the newest pdflatex?
Here are my packages:
\usepackage{mciteplus}
\usepackage[dvipsnames,table]{xcolor}
\usepackage{pgfplotstable}
\usepackage{tikz}
\usepackage{tkz-euclide} %% Grid
\usepackage{amsthm}
\usepackage{amsfonts} %% Zahlmengen Z, R, ...
%%\usepackage{amsmath}
\usepackage{eurosym}
\usepackage[mathscr]{euscript}
%% THEOREMS?
\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\tcbuselibrary{skins}
\usepackage{fancyhdr}
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
%%\usepackage[dvips]{graphicx}
\usepackage{supertabular}
\usepackage{makeidx}
\usepackage{ifthen}
\usepackage{multirow}
\usepackage{listings}
%% Linebreaks in tabular-Zellen:
\usepackage{makecell}
%%\usepackage{color,fancyvrb,fancybox}
\usepackage{multicol}
\usepackage{lastpage}
%%\usepackage{listings}
\usepackage{pstricks}
%% bold typewriter font:
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{enumitem}
%\usepackage{enumerate}
\usepackage{float}
\usepackage{titlesec}
\usepackage{textcomp}
%% Kuchendiagramme
%%\usepackage{datapie}
%% für Aufgaben Hervorhebung
%%\usepackage[most]{tcolorbox}
%%\usepackage[standard,framed]{ntheorem}
\usepackage{framed}
\usepackage{mdframed}
%%%%%%%%%%%%%%%%%%%%
%%\usepackage[most]{tcolorbox}
%\usepackage[tocindentauto]{tocstyle}
%\usepackage[tocindentauto]{tocbasic}
\usepackage{tocbasic}
%% für accentset wedge:
\usepackage{accents}
%% Würfel
\usepackage{epsdice}
%% Einbinden von GeoGebra Bildchen:
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{arrows}
\newcommand{\degre}{\ensuremath{^\circ}}
%% Hyperlinks
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan,
bookmarks=true,
}
%% bugtracker (part of pgfplots) should be loaded AFTER "hyperref"
%% See: https://texblog.net/hyperref/ AND https://tex.stackexchange.com/questions/16268/warning-with-footnotes-namehfootnote-xx-has-been-referenced-but-does-not-exi
\usepackage{pgfplots}
\pgfplotsset{width=10cm,compat=1.9}
%%\usepackage{fourier} %% eg overarc (Bogenmaß)
%% For Background on title page (Züri Wappn)
\usepackage{eso-pic}
Any Ideas? Always keep in mind. Only on «Lobster and newest pdflatex» the error persists.
\vec{a}, and is not clear why your\vec{a}would be blue (is it in a hyperlink?). Please also delete all of the packages that aren't needed to cause the error. – Teepeemm Aug 28 '23 at 16:06
– iGeeks Aug 29 '23 at 11:25\documentclass[twoside,14pt,a5paper]{extarticle} \usepackage{ngerman} \usepackage{accents} \begin{document} Test $\vec{a}$ \end{document}