[l2h] Debian Bug#355728: latex2html: please use typographic quotation marks

Ross Moore ross at ics.mq.edu.au
Tue Apr 18 04:05:09 CEST 2006


On 16/04/2006, at 11:55 PM, Roland Stigge wrote:

> Hi,
>
> greetings from Debian! Someone reported to us:
>
>> latex creates typographic quotation marks (“”) from the ``'' input. It
>> would be nice if latex2html would do the same if CHARSET=UTF-8 is 
>> set. I
>> think that even using "" would be better than ``'' in the html code. 
>> It
>> should also create a header saying that the html file is utf-8 
>> encoded.
>
> What would be the right way to go here?

$USE_CURLY_QUOTES = 1;

set this in an initialization file.


Also set the following

                       $USE_UTF=1;

OR execute the job with options such as:

latex2html -split 0 -html_version 4.0,latin1,unicode,utf8  myfile.tex

4.0 =  satisfy HTML 4.0  recommendations   (4.1  might work for  HTML 
4.01)
latin1 =  input encoding
unicode = use unicode code-points in the output
utf8 =  use byte-sequences, rather than entity numbers (or names)
             whenever appropriate.


The HTML headers should now include:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">


>
> Thanks,

You're welcome.
No bugs here.

	Ross


>
> bye,
>   Roland
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html
>



More information about the latex2html mailing list