-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.tex
66 lines (45 loc) · 1.14 KB
/
test.tex
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
63
64
65
66
% demo file, not complex enough for copyright
\documentclass{article}%
\usepackage[utf8]{inputenc}%
\usepackage[LY1,TS1,T1]{fontenc}%
\usepackage[varqu,varl]{inconsolata}% for table example
\usepackage{listings}% for table example
\usepackage{unicodedomino}%
\setlength{\parskip}{0.3cm plus 5mm minus 1mm}%
\setlength{\parindent}{0cm}%
\lstset{
breakatwhitespace=true,
basicstyle=\ttfamily,
upquote=true,
keepspaces,
columns=flexible,
extendedchars=true,
breaklines=true,
frame=single,
}%
\makeatletter%
\message{:expect 48:\decode@UTFviii0\relax:}%
\message{:expect 228:\decode@UTFviii ä\relax:}%
\message{:expect 8364:\decode@UTFviii €\relax:}%
\message{:expect 128169:\decode@UTFviii 💩\relax:}%
\edef\temp{\decode@UTFviii1\relax}%
\message{:detok=\expandafter\detokenize\expandafter{\temp}:\expandafter\detokenize\expandafter{\decode@UTFviii2\relax}:}%
\makeatother%
\begin{document}
\tableofcontents
\section{eins}
foo
U+009F
U+05D0 א
U+3090 ゐ
U-0001F4A9 💩
U-0010FEDC
bar
\section{zwe⡅}
bëh (expect 2845 in heading)
\section{drëi}
baz
\begin{lstlisting}
mäh mゐh m💩h miau
\end{lstlisting}
\end{document}