Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial utf8 and space in filenames tests
- Loading branch information
1 parent
24a1cae
commit d585f2e
Showing
8 changed files
with
400 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,7 @@ sourcefiles = | |
"sample2e.tex", | ||
"small2e.tex", | ||
"testpage.tex", | ||
"utf8andspace.tex" | ||
} | ||
typesetfiles = | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- Tests for non Unicode engines | ||
|
||
checkengines = {"pdftex,"xetex","luatex""} | ||
checksearch = false | ||
testfiledir = "testfiles-filenames" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 2 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\input{utf8andspace} | ||
\documentclass{article} | ||
\usepackage{graphicx} | ||
\listfiles | ||
\begin{document} | ||
|
||
|
||
\input{one two three} | ||
|
||
\includegraphics{foo bar} | ||
|
||
|
||
\includegraphics[scale=2]{foo bar} | ||
|
||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
\input{utf8andspace} | ||
\documentclass{article} | ||
|
||
%\usepackage{textcomp} | ||
|
||
|
||
% ---------------------------------------------------------- | ||
|
||
\input{utf8andspace} | ||
|
||
|
||
\begin{filecontents*}{one two three} | ||
1 2 3 | ||
\end{filecontents*} | ||
|
||
|
||
\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ß}''} | ||
|
||
\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} | ||
|
||
\end{document} | ||
|
Oops, something went wrong.