Closed pr-apes closed 2 years ago
How do you start the sp.exe program? On a command line? I assume that the backslashes must be doubled (but this should be documented)
Ok, I get it now.
So, as a general rule, when backslashes are used to specify Windows paths, they have to be escaped as \\
, don’t they?
It depends on where you use them. Within the layout or data files, one backslash should be fine. If provided at startup time from the command line, it should be doubled (so I assume).
Well, this is trial and error.
If I happened to have a more precise description when to escape backslashes, I would reopen the issue myself.
Many thanks for your help.
@pgundlach,
I have the following sample:
With the common invocation
sp --autoopen
, I have the following possibilities (using Windows):-v external_pdfdoc=../doc-100.pdf
: included pages.-v external_pdfdoc=..\doc-100.pdf
pages not included.-v external_pdfdoc=%USERPROFILE%/Desktop/doc-100.pdf
pages not included.-v external_pdfdoc=%USERPROFILE%\Desktop\doc-100.pdf
pages not included.-v external_pdfdoc=c:/Users/username/Desktop/doc-100.pdf
included pages.-v external_pdfdoc=c:\Users\username\Desktop\doc-100.pdf
pages not included.From https://doc.speedata.de/publisher/en/filenames/, I thought that options 4 and 6 would include the pages.
Am I missing something or is this the way Publisher behaves?
Many thanks for your help.