[tex4ht] [bug #549] Problem with italic Russian

Taichi Kato puszcza-hackers at gnu.org.ua
Sat Feb 5 07:35:03 CET 2022


URL:
  <http://puszcza.gnu.org.ua/bugs/?549>

                 Summary: Problem with italic Russian
                 Project: tex4ht
            Submitted by: tk2022
            Submitted on: Sat Feb  5 08:35:03 2022
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?549>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.