<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Philip,<br>
<br>
as a preface: it is historically/generally a bad idea to use spaces,
"special" characters etc. in filenames intended for use with TeX. I
would recommend avoiding that as much as possible...<br>
<br>
<div class="moz-cite-prefix">On 28.08.24 18:11, Philip Taylor
(RHBNC) wrote:<br>
</div>
<blockquote type="cite"
cite="mid:992bdca8-0503-95eb-a289-c0e713e1e0d3@Rhul.Ac.Uk">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
I have a file which has evolved over time, and the evolution is
reflected in its name :<br>
<blockquote type="cite">No parking (single sheet, 594 x 420, 3mm
bleed, 5mm border).tex</blockquote>
</blockquote>
<br>
I noted that you have two spaces between "x" and "420". I assume
that is not just an artifact from the email?<br>
<br>
<blockquote type="cite"
cite="mid:992bdca8-0503-95eb-a289-c0e713e1e0d3@Rhul.Ac.Uk">
And TeXworks says it cannot find it :<br>
<blockquote type="cite">This is XeTeX, Version
3.141592653-2.6-0.999996 (TeX Live 2024) (preloaded
format=xetex)
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
restricted \write18 enabled.</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
entering extended mode</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
! I can't find file `"No parking (single sheet, 594 x 420, 3mm
bleed, 5mm borde</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
r).tex"'.</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
<*> ...et, 594 x 420, 3mm bleed, 5mm border).tex"</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
(Press Enter to retry, or Control-Z to exit)</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
Please type another input file name: </p>
</blockquote>
The same is true if I ask TeXworks to use PdfTeX. If I rename the
file to something simpler (e.g., NP-neue-bis.tex), TeXworks has no
trouble opening it.<br>
</blockquote>
<br>
In the "I can't find file" line, TeX reports only a single space
between "x" and "420". Indeed, I could reproduce this on a Win7
virtual machine (directly from the command line). If you have two
versions (one with two spaces and one with one space), TeX always
tries to typeset the version with the one space, regardless of which
one you specify as program argument.<br>
As this issue occurs on the command line as well, it's probably a
"bug" (as far as spaces in filenames are supported at all) in how
(whichever) TeX handles command line arguments, not in what TeXworks
does.<br>
<br>
HTH<br>
Stefan<br>
</body>
</html>