pifont.sty.ltxml maps \ding{...} to wrong symbols #988
Comments
Hmm...old code, before I figured out to simulate fontmaps, but still, it was pretty way off! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The mapping
in
pifont.sty.ltxml
is wrong because from Table 2 inpsnfss2e.pdf
([1] http://ftp.gwdg.de/pub/ctan/macros/latex/required/psnfss/psnfss2e.pdf) andpifont.ucf
([2] for me at/texlive/texmf-dist/doc/latex/ucs/config/pifont.ucf
) we can see thatding{XYZ}
does not necessarily map toU<XYZ + 0x2700>
.I compiled a test file
ding.tex
that contains all the\ding
symbols listed in [2]I used the ouputs of
and
for comparison.
Modifying
pifont.sty.ltxml
by addingand changing
sub dingbat_map
tomy test file produces the correct xml output.
What I am not sure about is what
\ding{32}
should map to.It is listed in Table 2 in [1] but not in [2].
I also noticed that latex does not complain about
\ding{X}
for any character codes X in [0,255] but throws an! Bad character code
for X > 255.So I am not sure what the desired behaviour of latexml would be for
\ding{20}
for example which gives no errors in latex but is not listed in [1] or [2].Those "undefines" character codes seem to produce no ouput in latex.
The text was updated successfully, but these errors were encountered: