LaTeX:...Tables(3pm)
πΈ NAME πΈ
LaTeX::ToUnicode::Tables β Character tables for LaTeX::ToUnicode
okay bestie, this is the LaTeX:...Tables(3pm) page from User Contributed Perl Documentation π. It's literally the character-table stash for LaTeX::ToUnicode, and we're about to go through every constant like it's a group chat screenshot. No skipping, no cap. β¨
β¨ VERSION β¨
version 0.54 β that's the version, bestie. π
π CONSTANTS π
π¦ @LIGATURES π¦
Standard TeX character sequences (not \commands) that need to be replaced: --- becomes U+2014 (em dash), etc. The list includes: em dash, en dash, inverted exclamation, inverted question, left double quote, right double quote, left single quote, right single quote. They get replaced in that order. π
π %MARKUPS π
A hash where the keys are names of formatting commands like \tt, without the backslash. Namely: bf cal em it rm sc sf sl small tt. The values are the obvious HTML equivalent where one exists, given as the tag name without angle brackets: b em i tt. Otherwise the value is the empty string. π«Ά
π₯ %ARGUMENT_COMMANDS π₯
A hash where the keys are the names of TeX commands taking arguments that we handle, without the backslash, such as enquote. Each value is a reference to a list of two strings: the first is the text to insert before the argument, and the second is the text to insert after. For example, for enquote the value is ["`", "'"]. The inserted text is subject to further replacements. π
Three such commands are currently handled: \emph, \enquote, and \path (although \path does not require its argument to be in braces, that is the only form we recognize). We also recognize and ignore a few other commands taking arguments, such as \vadjust and \textgreek. (The idea of ignoring \textgreek is that if the argument is UTF-8 Greek characters, most likely they will be rendered fine by the browser or whatever. We can't solve the hyphenation problem.) π
π %CONTROL_SYMBOLS π
A hash where the keys are non-alphabetic \commands (without the backslash), other than accents and special cases. These don't take arguments. Although some of these have Unicode equivalents, such as the \, thin space, it seems better to keep the output as simple as possible; small spacing tweaks in TeX aren't usually desirable in plain text or HTML.
The values are single-quoted strings '\x{...}', not double-quoted literal characters "\x{...}", to ease future parsing of the TeX/text/HTML. π§
This hash is necessary because TeX's parsing rules for control symbols are different from control words: no space or other token is needed to terminate control symbols. β
π %CONTROL_WORDS π
Keys are names of argument-less commands, such as \LaTeX (without the backslash). Values are the replacements, often the empty string. π
π %SYMBOLS π
Keys are the commands for extended characters, such as \AA (without the backslash.) π«
π %ACCENT_SYMBOLS π
Two-level hash of accented characters like \'{a}. The keys of this hash are the accent symbols (without the backslash), such as ` and '. The corresponding values are hash references where the keys are the base letters and the values are single-quoted '\x{....}' strings. πΈ
π %ACCENT_LETTERS π
Same as %ACCENT_SYMBOLS, except the keys are accents that are alphabetic, such as \c (without the backslash as always). π
As with control sequences, it's necessary to distinguish symbols and alphabetic commands because of the different parsing rules. π¦
π %GERMAN π
Character sequences (not necessarily commands) as defined by the package german/ngerman, e.g. ""a" (a with umlaut), ""s" (german sharp s) or "`" (german left quote). Note the missing backslash. π«Ά
The keys of this hash are the literal character sequences. β¨
π AUTHOR π
Gerhard Gossen <gerhard.gossen@googlemail.com>, Boris Veytsman <boris@varphi.com>, Karl Berry <karl@freefriends.org> β absolute icons, no cap. ππ
Repo link: <https://github.com/borisveytsman/bibtexperllibs> π
π COPYRIGHT AND LICENSE π
Copyright 2010-2026 Gerhard Gossen, Boris Veytsman, Karl Berry. π
This is free software; you can redistribute it and/or modify it under the same terms as the Perl5 programming language system itself. π
xoxo, bestie β this page was built from perl v5.40.1, dated 2026-07-05, and it's the LaTeX:...Tables(3pm) manual page. mwah ππ
π¦ where this page comes from
- ubuntu stonking: liblatex-tounicode-perl 1.95-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms