diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/uninormalize/README.md | 64 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.pdf | bin | 0 -> 62530 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.tex | 49 |
3 files changed, 113 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/uninormalize/README.md b/Master/texmf-dist/doc/lualatex/uninormalize/README.md new file mode 100644 index 00000000000..942f128dc48 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/uninormalize/README.md @@ -0,0 +1,64 @@ +# The `uninormalize` package + +The purpose of this package is to provide Unicode normalization for LuaLaTeX. It is based on Arthur Reutenauer's +[code for GSOC 2008](https://code.google.com/p/google-summer-of-code-2008-tex/downloads/list), which was adapted a little bit to work with +current `Luaotfload`. For more information, see [this question on TeX.sx](http://tex.stackexchange.com/q/229044/7712). + +## What does that mean? + +Citing [Wikipedia](https://en.wikipedia.org/wiki/Unicode_equivalence): + +> Unicode equivalence is the specification by the Unicode character encoding +> standard that some sequences of code points represent essentially the same +> character. This feature was introduced in the standard to allow compatibility +> with preexisting standard character sets, which often included similar or +> identical characters. +> +> Unicode provides two such notions, canonical equivalence and compatibility. +> Code point sequences that are defined as canonically equivalent are assumed to +> have the same appearance and meaning when printed or displayed. For example, +> the code point `U+006E` (the Latin lowercase "n") followed by `U+0303` (the +> combining tilde) is defined by Unicode to be canonically equivalent to the +> single code point `U+00F1` (the lowercase letter "ñ" of the Spanish alphabet). + +## Basic usage + + + \documentclass{article} + \usepackage{fontspec} + \usepackage[czech]{babel} + \setmainfont{Linux Libertine O} + \usepackage{uninormalize} + \begin{document} + + Some tests: + \begin{itemize} + \item combined letter ᾳ %GREEK SMALL LETTER ALPHA (U+03B1) + % + COMBINING GREEK YPOGEGRAMMENI + % (U+0345) + \item normal letter ᾳ % GREEK SMALL LETTER ALPHA WITH + %YPOGEGRAMMENI (U+1FB3) + \end{itemize} + + Some more combined and normal letters: + óóōōöö + + Linux Libertine does support some combined chars: \parbox{4em}{příliš} + + Using the \verb|^^^^| syntax: ^^^^0061^^^^0301 ^^^^0041^^^^0301 + \end{document} + +## Package options + +This package has three options: + + +- **buffer** -- normalize processed document at the moment when it's + source file is read, before processing by \TeX\ starts. This is the default + option, it seems to work better than the next one. +- **nodes** -- normalize LuaTeX nodes. Normalization happens after the full processiny by \TeX. +- **debug** -- print debug messages to the terminal output + +Both **buffer** and **nodes** options are enabled by default, you can disable any of them by using: + + \usepackage[nodes=false,buffer=false]{uninormalize} diff --git a/Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.pdf b/Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.pdf Binary files differnew file mode 100644 index 00000000000..9f45abc1e93 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.pdf diff --git a/Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.tex b/Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.tex new file mode 100644 index 00000000000..d0f6eaf528a --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/uninormalize/uninormalize-doc.tex @@ -0,0 +1,49 @@ +\documentclass{article} +\usepackage{url} +\ifx\HCode\undefined +\usepackage{fontspec} +\setmainfont{Linux Libertine O}[Renderer = Harfbuzz] +\setmonofont{DejaVu Sans Mono}[Scale=MatchLowercase] +\fi +\usepackage{microtype,hyperref} +\usepackage[nodes]{uninormalize} +\usepackage{markdown} +\def\tightlist{} +\begin{document} +\title{The \texttt{uninormalize} package} +\author{Michal Hoftich\footnote{\url{michal.h21@gmail.com}} \and Arthur Reutenauer\footnote{\url{arthur.reutenauer@normalesup.org }}} +\date{Version 0.1\\28/12/2020} +\maketitle + +\markdownInput[hybrid]{README.md} + +\subsection{Example results} + +\begin{itemize} + \item combined letter ᾳ %GREEK SMALL LETTER ALPHA (U+03B1) + COMBINING GREEK YPOGEGRAMMENI (U+0345) + \item normal letter ᾳ% GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI (U+1FB3) +\end{itemize} + +Some more combined and normal letters: +óóōōöö + +Linux Libertine does support some combined chars: \parbox{4em}{příliš} + +Using the \verb|^^^^| syntax: ^^^^0061^^^^0301 ^^^^0041^^^^0301 + +\subsection{License} + +Copyright: 2020 Michal Hoftich + +This work may be distributed and/or modified under the conditions of the +\textit{\LaTeX\ Project Public License}, either version 1.3 of this license or (at your option) +any later version. The latest version of this license is in +\url{http://www.latex-project.org/lppl.txt} and version 1.3 or later is part of all +distributions of \LaTeX\ version 2005/12/01 or later. + +This work has the LPPL maintenance status \textit{maintained}. + +The Current Maintainer of this work is Michal Hoftich. + +\end{document} + |