Am Mittwoch, 13. April 2005 11:26 schrieb Angus Leeming:
> I can't see how we can handle both file names with quotes and quoted 
names
> at the same time, so I suggest that we should just state that 
a"dquote.eps
> is an illegal file name.

Agreed. IMO we should only support special characters that are not too 
difficult to handle.

> Nonetheless, it would be interesting to see how my dvi files compare to
> yours.

Here it comes, together with a slightly updated .tex source file. The 
latex version is:
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
This is contained in the package tetex-bin 3.0-3 from debian experimental.


Georg

Attachment: filename-test.dvi
Description: TeX dvi file

\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{verbatim}
\usepackage{graphicx}
\newcommand{\lyxdot}{.}
\newcommand{\lyxdquote}{"}
%\catcode`\{=12\def\lyxlbrace\{\catcode`\{=1
%\catcode`\}=12\def\lyxrbrace\}\catcode`\}=2
\catcode`\#=12\def\lyxhash{#}\catcode`\#=6
\catcode`\^=12\def\lyxcircumflex{^}\catcode`\^=7
\catcode`\_=12\def\lyxunderscore{_}\catcode`\_=8
\usepackage{babel}
\makeatother
\begin{document}

This does not work:

%\includegraphics{a\space space}
%\includegraphics{a\string% percent}
%\includegraphics{"a\string% percent"}
%\includegraphics{a\}rbrace}

This works in tetex 3.0:

These work in latex but not in dvips. It seems that tetex 3.0 contains a dvips that is a bit behind:

\includegraphics{"a\space space"}
\includegraphics{"a\space  space"}
\includegraphics{"a\space   space"}
\includegraphics{"a\string~tilde"}
\includegraphics{"a$dollar"}
\includegraphics{"a[lbracket"}
\includegraphics{"a]rbracket"}
\makeatletter
\includegraphics{"[EMAIL PROTECTED] percent"}
\makeatother
\includegraphics{"a space"}

These work also in dvips

\includegraphics{a\lyxdot dot.eps}
\includegraphics{a\lyxdot dot}
\makeatletter
[EMAIL PROTECTED] percent}
[EMAIL PROTECTED] percent.eps}
\makeatother
\includegraphics{a\lyxhash hash.eps}
\includegraphics{a\lyxhash hash}
\includegraphics{a\string~tilde.eps}
\includegraphics{a\string~tilde}
\includegraphics{a$dollar.eps}
\includegraphics{a$dollar}
\includegraphics{a[lbracket.eps}
\includegraphics{a[lbracket}
\includegraphics{a]rbracket.eps}
\includegraphics{a]rbracket}
\includegraphics{a(lparen.eps}
\includegraphics{a(lparen}
\includegraphics{a)rparen.eps}
\includegraphics{a)rparen}
%\includegraphics{a\string}rbrace}
\includegraphics{a&ampersand.eps}
\includegraphics{a&ampersand}
\includegraphics{a:colon.eps}
\includegraphics{a:colon}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\includegraphics{a'lquote.eps}
\includegraphics{a'lquote}
\includegraphics{a`rquote.eps}
\includegraphics{a`rquote}
\includegraphics{a=equal.eps}
\includegraphics{a=equal}
%\includegraphics{a\string"dquote}
%\includegraphics{a\lyxdquote dquote}
\includegraphics{a!excl.eps}
\includegraphics{a!excl}
\includegraphics{a?quest.eps}
\includegraphics{a?quest}
\includegraphics{a\lyxcircumflex circumflex.eps}
\includegraphics{a\lyxcircumflex circumflex}
\includegraphics{a\lyxunderscore underscore.eps}
\includegraphics{a\lyxunderscore underscore}

None of these work with tetex 2.0.
\end{document}

Reply via email to