[l2h] Problems with the \color command

andrew roger andybrookestar at googlemail.com
Thu Oct 10 11:16:11 CEST 2019


no expert on latex 
also i'm using slackbuild pkg for slackware but this works with defined color orange :

\usepackage[l2tabu,orthodox]{nag}  
 \usepackage[utf8]{inputenc}        
 \usepackage{babel}                 % multi-language support
\usepackage{sectsty}              
 \usepackage{tabularx}              
 \usepackage{titling}               % allow redefinition of title 
\usepackage{imakeidx}              % create and index of words 
\usepackage{xcolor}                % more colour options
\usepackage{enumitem}              % more list formatting options
\usepackage{tocloft}               % redefine table of contents, new 
 \definecolor{orange}{RGB}{255,127,0}

\begin{document}
 \color{red}Hello World!
  \color{orange} im only here for the beer  !
\end{document}

see https://en.wikibooks.org/wiki/LaTeX/Colors#Defining_new_colors

arb






On Wed, 9 Oct 2019 05:01:33 +0200
Heiko Schröder <heikos at online.de> wrote:

> Dear list, 
> 
> in the latex2html version it is not possible to create a site, when
> the \color command is used in the texfile.  E.g. if you have defined a
> color red there will be a malfunction if you try to translate
> 
>  \color{red}{this text}
> 
> with latex2html.  Do you have any suggestions?
> 
> Best regards
> Heiko Schröder
> 
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> https://tug.org/mailman/listinfo/latex2html




More information about the latex2html mailing list