Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error message and problem resolving

408 views
Skip to first unread message

R. Freitag

unread,
Feb 7, 2023, 3:18:13 AM2/7/23
to
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<---------------------
Error message:

File `commons/colors.tex' not found. \input{commons/colors}
"academicons requires xetex/luatex to work. Using alternatives.".
-------8<-------------8<-----
Software is texStudio.

The problem looks to be in a file which is requested but not present.
Where to get, or what to do?

Thanks

Robert

Ulrike Fischer

unread,
Feb 7, 2023, 5:12:38 AM2/7/23
to
Am Tue, 7 Feb 2023 00:18:09 -0800 (PST) schrieb R. Freitag:

> Good morning.
>
> The latex system is installed on win11 and processes the following text with error:

> --------8<------------------------8<---------------------
> Error message:
>
> File `commons/colors.tex' not found. \input{commons/colors}
> "academicons requires xetex/luatex to work. Using alternatives.".
> -------8<-------------8<-----
> Software is texStudio.

texstudio is irrelevant. The question is which tex system you use.

Your file compiles without problems in a current texlive 2022 and in
an up-to-date miktex. It doesn't load a colors.tex for me, so check
in your log-file if you are perhaps using outdated files somewhere.



--
Ulrike Fischer
http://www.troubleshooting-tex.de/

Peter Flynn

unread,
Feb 7, 2023, 5:48:08 AM2/7/23
to
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

0 new messages