Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode latin extended additional #484

Closed
michael-roe opened this issue Jan 26, 2021 · 1 comment
Closed

Unicode latin extended additional #484

michael-roe opened this issue Jan 26, 2021 · 1 comment

Comments

@michael-roe
Copy link

michael-roe commented Jan 26, 2021

Brief outline of the enhancement

utf8ienc.dtx defines a mapping from Unicode characters to latex characters, but it lacks mappings for the Latin Extended Additional block (except for a couple of characters), In particular, it lacks mappings for some characters that are used to write Sanskrit words in Latin transliteration (as seen in books about yoga, Buddhist philosophy etc).

These charcters need to be added:

\DeclareUnicodeCharacter{1E0D}{\d{d}}
\DeclareUnicodeCharacter{1E25}{\d{h}}
\DeclareUnicodeCharacter{1E37}{\d{l}}
\DeclareUnicodeCharacter{1E43}{\d{m}}
\DeclareUnicodeCharacter{1E45}{\.{n}}
\DeclareUnicodeCharacter{1E47}{\d{n}}
\DeclareUnicodeCharacter{1E5B}{\d{r}}
\DeclareUnicodeCharacter{1E63}{\d{s}}
\DeclareUnicodeCharacter{1E6D}{\d{t}}

Minimal example showing the current behaviour

\RequirePackage{latexbug}       % <--should be always the first line (see CONTRIBUTING)!
\documentclass{article}

\usepackage[utf8]{inputenc}


  % Any preamble code goes here

\begin{document}

ṅ n with dot above \\
ḍ d with dot below \\
ṭ t with dot below \\
ḷ l with dot below \\
ṛ r with dot below

  
\end{document}
@FrankMittelbach
Copy link
Member

just as a side remark utf8 is the default in LaTeX for some time so the example should work without the line

\usepackage[utf8]{inputenc}

FrankMittelbach added a commit that referenced this issue Jan 27, 2021
@FrankMittelbach FrankMittelbach added the fixed in dev Fixed in development branch, not in stable release label Feb 2, 2021
@FrankMittelbach FrankMittelbach removed the fixed in dev Fixed in development branch, not in stable release label Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants