Debian Codegraph @

texmf-dist/doc/support/lua-uca/lua-uca-doc.tex

raw
1 \documentclass{ltxdoc}
2
3
4 \usepackage[english]{babel}
5 \usepackage{hyperref}
6 \newcommand\authormail[1]{\footnote{\textless\url{#1}\textgreater}}
7 \ifdefined\HCode
8 \renewcommand\authormail[1]{\space\textless\Link[#1]{}{}#1\EndLink\textgreater}
9 \fi
10
11 \usepackage{fontspec}
12 \setmainfont{TeX Gyre Schola}
13 % \setmonofont[Scale=MatchLowercase]{Inconsolatazi4}
14 \IfFontExistsTF{Noto Sans Mono Regular}{%
15 \setmonofont[Scale=MatchLowercase]{Noto Sans Mono Regular}
16 }{\setmonofont{NotoMono-Regular.ttf}}
17
18 \usepackage{upquote}
19 \usepackage{microtype}
20 \usepackage[hybrid]{markdown}
21 \usepackage{luacode}
22
23 \title{The \texttt{Lua-UCA} library}
24 \author{Michal Hoftich\authormail{[email protected]}}
25 \date{Version \version\\\gitdate}
26 \begin{document}
27 \maketitle
28 \tableofcontents
29 \section{Introduction}
30 \markdownInput{README.md}
31
32 \section{Available Languages}
33
34 The \texttt{lua-uca-languages} library provides the following langauges:
35 \bgroup\ttfamily
36 \begin{luacode*}
37 -- get list of the currently supported languages directly from the library
38 local l = {}
39 local languages = require "lua-uca-languages"
40 for lang, _ in pairs(languages) do
41 l[#l+1] = lang:gsub("_", '\\_')
42 end
43
44 table.sort(l)
45 tex.print(table.concat(l, ", "))
46 \end{luacode*}
47 \egroup
48
49 If you want to requrest language not listed in this listing, or if you had
50 created support code for one, please contact the package author by mail or using
51 issue tracker on package's Github profile.
52
53 \markdownInput{HACKING.md}
54
55 \section{License}
56 \markdownInput{LICENSE}
57 \markdownInput{CHANGELOG.md}
58
59
60 \end{document}