Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I was wondering what are the forbidden characters in file name using XeLaTeX.

I know that the forbidden characters for Windows files are \ / ? : * " > < |

Also, I have found another character that is forbidden by XeLaTeX which is the apostrophe (') because it generated an error.

Anyone knows if there's a list of forbidden characters?

EDIT: I think my problem might be when I call the XeLaTeX in command line

" -output-directory \"C:/Pdf\" \"C:/Pdf/Doe_John_BURCUS Gregoire (F) - 121217.tex\""

MiKTeX doesn't recognize the file name. If I delete the parentheses, MiKTeX is able to generate the pdf.

share|improve this question
    
Welcome to TeX.sx! –  texenthusiast Dec 20 '12 at 15:50
5  
may be related Naming LaTeX files: best practice? –  texenthusiast Dec 20 '12 at 15:52
1  
Some characters may be disallowed by the OS; but, for instance, with appropriate quoting, I'm able to input files with all those characters in their name (not on Windows, I admit). –  egreg Dec 20 '12 at 16:16
3  
I don't really know about Windows, but in general it's not a good idea to use file names with spaces in TeX; avoiding special characters is also good practice. –  egreg Dec 20 '12 at 16:51
1  
Though I’m still convinced you used the " not correctly, I see now, that there is really a bug: The xelatex call strips the parentheses, so it will be searched for another file. – And you are lucky, if this not exists! –  Speravir Dec 21 '12 at 0:03
show 8 more comments

closed as too localized by Speravir, Werner, Qrrbrbirlbel, Mico, lockstep Dec 21 '12 at 2:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.