[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: with HTML output, @minus{} is converted to a hyphen instead of a rea

From: Patrice Dumas
Subject: Re: with HTML output, @minus{} is converted to a hyphen instead of a real minus character
Date: Thu, 13 Oct 2022 21:45:01 +0200

On Thu, Oct 13, 2022 at 02:25:29AM +0200, Vincent Lefevre wrote:
> Character references such as "−" should be avoided in XHTML
> files (in case they are supported as output) because they are not
> necessarily loaded by XML parsers.

Indeed, to do XHTML, it is better to use numeric entities.  For the
record, to output XHTML, my advice would be to use something along (need
the upcoming release):
'xmlns="http://www.w3.org/1999/xhtml";' -c USE_XML_SYNTAX=1 -c DOCTYPE '<?xml 
version="1.0" encoding="UTF-8"?><!DOCTYPE html>' -c USE_NUMERIC_ENTITY=1

And also maybe

> 6.7 mentions input encoding, not output encoding:
>   . UTF-8 is the default input encoding

As stated in another mail, the output encoding is the same as the input
encoding in makeinfo/texi2any, and has been since a long time, so if
UTF-8 is the default input encoding, it is also the output encoding.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]