Re: [l2h] Problems with the \color command

2019-10-14 Thread Shigeharu TAKENO
shige 10/15 2019


"Heiko Schr?der" wrote:
| 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?

Please show me small sample latex source file which occurs your
problem.

I have no problem for latex and latex2html (version 2017 and 2018)
to the followings:

 \doucmentclass{article}
 \usepackage{color}
 \begin{document}
   This text is black. \color{red}{This text is red.}
   This text is also red.
 \end{document}

++
 Shigeharu TAKENO NIigata Institute of Technology
   kashiwazaki,Niigata 945-1195 JAPAN
 sh...@iee.niit.ac.jp   TEL(): +81-257-22-8161
++
___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html


Re: [l2h] Problems with the \color command

2019-10-12 Thread Heiko Schröder
Thanks Andrew for your suggestion.  I now found out that not the
command is the problem but the package itself.  

\usepackage{color}

alone generates a peculiar behaviour which never occured the past ten
years: 

Suppose you try to translate a file called lmg.tex.  

1. If the package is NOT loaded, everything is fine.  
2. If the package is loaded, there are two results: 
a.) If the directory lmg/ exists, you will get an erroneous
website without any self defined buttons e.g.. b.) If the direcotry
lmg/ does not exist, the browser tries to find a website called
www.lmg.com in the net. 

A VERY peculiar behaviour.  And annoying apart from that, because this
did not occur the last ten years.  Seems as if Donald Knuths aim to get
a document that could be translated even after 100 years is not shared
by some developments.  

Best regards Heiko
___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html


Re: [l2h] Problems with the \color command

2019-10-10 Thread andrew roger

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  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@tug.org
> https://tug.org/mailman/listinfo/latex2html


___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html


[l2h] Problems with the \color command

2019-10-09 Thread Heiko Schröder
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@tug.org
https://tug.org/mailman/listinfo/latex2html