-
-
Notifications
You must be signed in to change notification settings - Fork 248
/
utf8-test-001.lvt
101 lines (55 loc) · 1.57 KB
/
utf8-test-001.lvt
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
\documentclass{article}
%\usepackage{trace}
\input{test2e}
% ----------------------------------------------------------
\START
\begin{filecontents*}{one two three}
1 2 3
\end{filecontents*}
%\traceon
\begin{filecontents*}{füße.tex}
Füße file
\end{filecontents*}
\begin{filecontents}{füße€€€.tex}
Expensive feet
\end{filecontents}
% this needs quotes
\begin{filecontents*}{"füße im sand.tex"}
eureka
\end{filecontents*}
\includeonly{foo, füße€€€ , öfoo}
\begin{document}
\tableofcontents
\section{A with ref: ``\ref{abß}'' and Füßen}
\label{öfoo}
Some refs: \ref{abß} and \ref{öfoo} and \ref{bar€}
\fontencoding{T1}\selectfont
Some refs: \ref{abß} and \ref{öfoo} and \ref{bar€}
\subsection{include tests}
\label{bar€}
\include{füße€€€} % exists
\include{€€€} % doesn't exist = No file €€€.aux.
\subsection{input tests}
\input{"füße im sand"} % exists
%\input{unknownfüße} % doesn't exist (should give file error)
% = File `unknownfüße.tex' not found.
\subsection{@input tests}
\label{abß}
\makeatletter
\@input{füße} % exists
\@input{€€€} % doesn't exist (should give warning)
% = No file €€€.
\@input{"füße im sand"} % exists
\makeatother
\def\foo{"füße im sand"}
\input{\foo} % exists
% next one fails
%\input füße
\input{one two three}
% here we test if protected edef works
\makeatletter
\protected@edef\foo{Füße}
\show\foo
\setbox0\hbox{\foo} \foo
\showbox0
\end{document}