bugtex4ht - Bugs: bug #549, Problem with italic Russian

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #549: Problem with italic Russian

Submitted by:  Taichi Kato <tk2022>
Submitted on:  Sat Feb 5 06:35:03 2022  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon Feb 7 08:12:37 2022, comment #3:

Great, so I will close this issue. I hope to look at the other issues soon.

Michal Hoftich <michal_h21>
Project Member
Mon Feb 7 00:36:37 2022, comment #2:

Thank you. This worked. But I found another problem
(related to #548?). I report it in a separate report.

Taichi Kato <tk2022>
Sun Feb 6 20:05:16 2022, comment #1:

It seems that there is a wrong font table for the italic version of this font, it doesn't contain correct Unicode characters. Moreover, it can just reference the wncyr.htf font table that we fixed recently, as they use the same characters.

Put the following file, wnti.htf to the directory with your TeX file:

--------
.wncyr
htfcss: wnti font-style: italic;
--------

If you have updated TeX Live, it should use the corrected wncyr.htf, and it should produce right Cyrillic characters.

Michal Hoftich <michal_h21>
Project Member
Sat Feb 5 06:35:03 2022, original submission:

The following source results an error (as shown below).
If I use \renewcommand{\rmdefault}{ptm}, this error
does not occur, but I have a problem with italics
in the literature section (ID #548).

%%%
\documentclass[12pt,a4paper]{article}

% \renewcommand{\rmdefault}{ptm}

\usepackage[OT2,T1]{fontenc}
\usepackage[english,russian]{babel}

\begin{document}

\textit{\selectlanguage{russian}ABV\selectlanguage{english} -- ABC}

\end{document}
%%%

The error is

org.xml.sax.SAXParseException; lineNumber: 42; columnNumber: 27; Invalid byte 1 of 1-byte UTF-8 sequence.
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1244)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
at java.xml/org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
at xtpipes.Xtpipes.execute(Xtpipes.java:1300)
at xtpipes.Xtpipes.execute(Xtpipes.java:783)
at xtpipes.Xtpipes.mainMethod(Xtpipes.java:665)
at xtpipes.Xtpipes.main(Xtpipes.java:70)
at xtpipes.main(xtpipes.java:5)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:702)
at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:568)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1699)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(XMLEntityScanner.java:520)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2649)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:534)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
... 7 more
--- xtpipes error 29 --- At <sax content-handler="xtpipes.util.ScriptsManager,tex4ht.OoFilter" lexical-handler="xtpipes.util.ScriptsManagerLH" > : While parsing file file:xxx.tmp: : org.xml.sax.SAXParseException; lineNumber: 42; columnNumber: 27; Invalid byte 1 of 1-byte UTF-8 sequence.

Taichi Kato <tk2022>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by tk2022 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Feb 7 08:12:37 2022michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray