summaryrefslogtreecommitdiff
path: root/support/lualibs/lua-uca/lua-uca-doc.tex
blob: 2d25f519920e11f3a088833a2b4fe59612899ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\documentclass{ltxdoc}


\usepackage[english]{babel}
\usepackage{hyperref}
\newcommand\authormail[1]{\footnote{\textless\url{#1}\textgreater}}
\ifdefined\HCode
\renewcommand\authormail[1]{\space\textless\Link[#1]{}{}#1\EndLink\textgreater}
\fi

\usepackage{fontspec}
\setmainfont{TeX Gyre Schola}
% \setmonofont[Scale=MatchLowercase]{Inconsolatazi4}
\IfFontExistsTF{Noto Sans Mono Regular}{%
  \setmonofont[Scale=MatchLowercase]{Noto Sans Mono Regular}
}{\setmonofont{NotoMono-Regular.ttf}}

\usepackage{upquote}
\usepackage{microtype}
\usepackage[hybrid]{markdown}
\usepackage{luacode}

\title{The \texttt{Lua-UCA} library}
\author{Michal Hoftich\authormail{michal.h21@gmail.com}}
\date{Version \version\\\gitdate}
\begin{document}
\maketitle
\tableofcontents
\section{Introduction}
\markdownInput{README.md}

\section{Available Languages}

\begin{raggedright}
The \texttt{lua-uca-languages} library provides the following langauges:
\bgroup\ttfamily
\begin{luacode*}
-- get list of the currently supported languages directly from the library
local l = {}
local languages = require "lua-uca-languages"
for lang, _ in pairs(languages) do
l[#l+1] = lang:gsub("_", '\\_')
end

table.sort(l)
tex.print(table.concat(l, ", "))
\end{luacode*}
\egroup
\end{raggedright}

If you want to requrest  language not listed in this listing, or if you had
created support code for one, please contact the package author by mail or using
issue tracker on package's Github profile.

\markdownInput{HACKING.md}

\section{License}
\markdownInput{LICENSE}
\markdownInput{CHANGELOG.md}


\end{document}