On 07/02/2023 08:18, R. Freitag wrote:
> Good morning.
>
> The latex system is installed on win11 and processes the following text with error:
> -------8<------------------------8<------------------------------
> \documentclass[12pt,a4paper,oneside,sans,12pt]{moderncv}
>
> %% ModernCV themes
> \moderncvstyle{classic}
>
> \renewcommand{\familydefault}{\sfdefault}
> \nopagenumbers{}
>
> %% Character encoding
> \usepackage[utf8]{inputenc}
> \usepackage[]{xcolor}
>
> %% Adjust the page margins
>
> %% Personal data
> \firstname{John}
> \familyname{Doe}
> \title{Resum� title (optional)}
> \address{street and number}{postcode city}
> \mobile{+1~(234)~567~890}
> \
email{jo...@doe.org}
>
> \begin{document}
>
> --------8<------------------------8<---------------------
Several things here:
1. remove the line with inputenc
2. reconfigure TeXStudio to use XeLaTeX¹ and Unicode UTF-8
3. change the Windows-1252 e-acute to a Unicode é in Resumé
4. remove the empty square brackets before xcolor
5. remove the line about \familydefault
¹ See
http://latex.silmaril.ie/formattinginformation/whichlatex.html#config-xelatex
(last image)
It should then run without error (it does that here).
> File `commons/colors.tex' not found. \input{commons/colors}
My log file contains no mention of colors.tex
The only colors.tex I can see on my disk is in the lapdf package, but
this is not used.
/commons/ is not a directory name used in a LaTeX installation (AFAIK)
Perhaps you are doing this in a directory called 'commons'?
> "academicons requires xetex/luatex to work. Using alternatives.".
See item #2 above.
> Software is texStudio.
>
> The problem looks to be in a file which is requested but not present.
> Where to get, or what to do?
As Ulrike said, it doesn't load any colors.tex. If yours still tries to,
examine the log file to find out *where* it is trying to load it (ie
after which package).
Peter