Le 03/12/2025 à 11:53, Zdenek Wagner a écrit :
Bon jour,
even without testing your code I see it. It is as I wrote. The
velthuis-sanskrit mapping was created years ago by me and if you look
at velthuis-sanskrit.map, the numerals are handled in a block started
on line 162. The package options can decide which numbering style is
generated automatically. However, when the text is going to the
output, it is processed by Mapping-velthuis-sanskrit. No matter
whether the digits were typed by you or they were automatically
generated, if you \devanagarifont is used, they are mapped to
devanagari digits. If you want to have Latin digits in pagination or
enumeration, you have to switch temporarily to FreeSerif defined
without Mapping=velthuis-sanskrit.
Thank you for taking care of my problem.
If so, I don't understand what happens because if I switch to the fonts
I have called "sanskritrom" the definition of which is:
\newfontfamily{\sanskritrom}[%
Mapping=velthuis-romanized,%
Script=Latin]{%
FreeSerif}%
the mapping is no longer velthuis-sanskrit. I have a
vethuis-romanized.map file in which numerals are mapped to arabic
numerals U+0030 > U+0030 etc.
Why in this case some digits are mapped to devanagari digits?
Best regards.
--
François Patte
tél : +33 (0)6 7892 5822
https://www.pingala.homelinux.org/~fp