Support traditional writing of TeX accents
Brought to you by:
jschrod
Traditionally, accents are written in TeX with macros,
the accented characters are arguments. Often the
arguments are put into braces.
E.g.,
-- \"a or \"{a} for ä
-- "\r a", or "\r{a}", or "\r {a}" for ĺ.
We should support these traditional markup. Some of
them are supported via the inputenc modules anyhow, but
braces are currently not supported.
Maybe add the new rules to tex.xdy or latex.xdy?
(This problem was first mentioned by Lars Madsen at 9
Aug 2004.)
Logged In: YES
user_id=1748
Users are advised to write custom merge-rules for the macros
they are likely to use. See example in
"make-rules/alphabets/german/tex-latin1.xdy"
We could create a collection of the most common ones, I suppose.
Logged In: YES
user_id=70318
It might be sensible to create two new modules
{tex,latex}-char-macros.xdy that are imported by
{tex,latex}.xdy.
The character list of tex/inputenc/*.xdy will give input for
a good first approximation of latex-char-macros.xdy. Or
should we search through the
LaTeX source for \DeclareInputText{}. The problem: which
internal xindy encoding to map to -- in the end, it will be
best to converge on Unicode; probably as UTF-8 encoding.
Logged In: YES
user_id=70318
In modules/inputenc/latin*tex.xdy are sort-rules for most
macros.
But they should be merge-rules, in fact.