Bug#581960: tex4ht: wrong charset in htlatex output

2021-04-11 Thread Hilmar Preuße

Am 17.05.2010 um 13:54 teilte jsb...@mimuw.edu.pl mit:

Dear Janusz,

Yes, we have long response times. Sorry for this!


Package: tex4ht
Version: 20090611-1+b2
Severity: normal
File: /usr/bin/htlatex

Please have a look at the attached example.

This is a regression, it work correctly several years ago...


I got a response from upstream. They said:

Yes, the encoding should be "utf-8" as he requires "uni-html4" option. 
Note that this happens only with old scripts like htlatex, as make4ht 
uses utf-8 by default.


Anyway, I've updated the sources to better support the `uni-html4` 
option. The other option, that worked always is to use the 
"charset=utf-8" option:


--
htlatex minimal_example_squeeze.tex "xhtml,charset=utf-8" " -utf8 -cunihtf"


Upstream anyway recommends to use make4ht, like this: make4ht -u 
minimal_example_squeeze.tex


Does that solve your issue?

Hilmar
--
sigfault




OpenPGP_signature
Description: OpenPGP digital signature


Bug#581960: tex4ht: wrong charset in htlatex output

2019-07-28 Thread Hilmar Preuße
Control: forwarded 581960 https://puszcza.gnu.org.ua/bugs/index.php?432

Am 17.05.2010 um 13:54 teilte jsb...@mimuw.edu.pl mit:

> Please have a look at the attached example.
> 
> This is a regression, it work correctly several years ago...
> 
Forwarded to upstream.

H.
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#581960: tex4ht: wrong charset in htlatex output

2019-07-06 Thread Hilmar Preuße
On 06.07.19 18:55, Janusz S. Bień wrote:
> On Wed, Jul 03 2019 at 23:50 +02, Hilmar Preuße wrote:

Hi Janusz,

>> Just to make we sure we understand you correctly: currently the char
>> encoding is set to iso-8859-1
> 
> That's wrong, you cannot encode Polish in iso-8859-1.
> 
>> and the web page looks OK.
> 
> That's true - I don't know why.
> 
> The validator at https://www.freeformatter.com/html-validator.html finds
> 6 issue, two of them relating to encoding.
> 
Thanks for the response! I've learned in the past days that the tex4ht
people are quite responsive, hence I'll nevertheless will submit a bug
@upstream.

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#581960: tex4ht: wrong charset in htlatex output

2019-07-06 Thread Janusz S. Bień
On Wed, Jul 03 2019 at 23:50 +02, Hilmar Preuße wrote:
> On 17.05.10 13:54, jsb...@mimuw.edu.pl wrote:
>
> Hi Janusz,
>
>> Please have a look at the attached example.
>> 
>> This is a regression, it work correctly several years ago...
>> 
> Just to make we sure we understand you correctly: currently the char
> encoding is set to iso-8859-1

That's wrong, you cannot encode Polish in iso-8859-1.

> and the web page looks OK.

That's true - I don't know why.

The validator at https://www.freeformatter.com/html-validator.html finds
6 issue, two of them relating to encoding.

> Is therefore the bug solved?

No, but I can live with it.

Best regards

Janusz 
-- 
 ,   
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien



Bug#581960: tex4ht: wrong charset in htlatex output

2019-07-03 Thread Hilmar Preuße
On 17.05.10 13:54, jsb...@mimuw.edu.pl wrote:

Hi Janusz,

> Please have a look at the attached example.
> 
> This is a regression, it work correctly several years ago...
> 
Just to make we sure we understand you correctly: currently the char
encoding is set to iso-8859-1 and the web page looks OK. Is therefore
the bug solved? HTML page generated from your file is attached.

I just called "htlatex minimal_example_squeeze.tex" on the command line.

Thanks,
  Hilmar
-- 
sigfault
#206401 http://counter.li.org
  
 

Pójdź, kiń-że tę chmurność w głąb flaszy.

 



 
/* start css.sty */
p.noindent { text-indent: 0em }
td p.noindent { text-indent: 0em; margin-top:0em; }
p.nopar { text-indent: 0em; }
p.indent{ text-indent: 1.5em }
@media print {div.crosslinks {visibility:hidden;}}
a img { border-top: 0; border-left: 0; border-right: 0; }
center { margin-top:1em; margin-bottom:1em; }
td center { margin-top:0em; margin-bottom:0em; }
.Canvas { position:relative; }
img.math{vertical-align:middle;}
li p.indent { text-indent: 0em }
li p:first-child{ margin-top:0em; }
li p:last-child, li div:last-child { margin-bottom:0.5em; }
li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
.enumerate1 {list-style-type:decimal;}
.enumerate2 {list-style-type:lower-alpha;}
.enumerate3 {list-style-type:lower-roman;}
.enumerate4 {list-style-type:upper-alpha;}
div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
.obeylines-h,.obeylines-v {white-space: nowrap; }
div.obeylines-v p { margin-top:0; margin-bottom:0; }
.overline{ text-decoration:overline; }
.overline img{ border-top: 1px solid black; }
td.displaylines {text-align:center; white-space:nowrap;}
.centerline {text-align:center;}
.rightline {text-align:right;}
div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; }
.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
div.fbox {display:table}
div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
div.minipage{width:100%;}
div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
div.center div {text-align: left;}
div.flushright, div.flushright div.flushright {text-align: right;}
div.flushright div {text-align: left;}
div.flushleft {text-align: left;}
.underline{ text-decoration:underline; }
.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
.framebox-c {text-align:center;}
.framebox-l {text-align:left;}
.framebox-r {text-align:right;}
span.thank-mark{ vertical-align: super }
span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; }
div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
table.tabular td p{margin-top:0em;}
table.tabular {margin-left: auto; margin-right: auto;}
td p:first-child{ margin-top:0em; }
td p:last-child{ margin-bottom:0em; }
div.td00{ margin-left:0pt; margin-right:0pt; }
div.td01{ margin-left:0pt; margin-right:5pt; }
div.td10{ margin-left:5pt; margin-right:0pt; }
div.td11{ margin-left:5pt; margin-right:5pt; }
table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
td.td00{ padding-left:0pt; padding-right:0pt; }
td.td01{ padding-left:0pt; padding-right:5pt; }
td.td10{ padding-left:5pt; padding-right:0pt; }
td.td11{ padding-left:5pt; padding-right:5pt; }
table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
.hline hr, .cline hr{ height : 1px; margin:0px; }
.tabbing-right {text-align:right;}
span.TEX {letter-spacing: -0.125em; }
span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
a span.TEX span.E {text-decoration: none; }
span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;}
span.LATEX span.TEX{ position:relative; left: -0.4em; }
div.float, div.figure {margin-left: auto; margin-right: auto;}
div.float img {text-align:center;}
div.figure img {text-align:center;}
.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}
table.equation {width:100%;}
.equation td{text-align:center; }
td.equation { margin-top:1em; margin-bottom:1em; } 
td.equation-label { width:5%; text-align:center; }
td.eqnarray4 { width:5%; white-space: normal; }
td.eqnarray2 { width:5%; }
table.eqnarray-star, table.eqnarray {width:100%;}
div.eqnarray{text-align:center;}
div.array {text-align:center;}
div.pmatrix {text-align:center;}
table.pmatrix {width:100%;}
span.pmatrix img{vertical-align:middle;}
div.pmatrix {text-align:center;}
table.pmatrix {width:100%;}
span.bar-css {text-decoration:overline;}
img.cdots{vertical-align:middle;}
.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%;