General ⇒ Placeholder for filename in "define output profile"
Placeholder for filename in "define output profile"
I've got the following problem :
I try to define an 'output profile' to compile metapost file (*.mp)
C:\Program Files\MiKTeX 2.6\miktex\bin\mp.exe
"%bm"
The placeholder "%bm" gives me the filename to give in input to the compiler (mp.exe). The filename is with a complete path. Works fine as long as the path do not have space. But when there is a space in the path of the file, the filename is cut at the space, and so the compiler doesn't find the file to compile
For instance if I want to compile the file "C:\My Documents\File.mp", the compiler try to compile the file "C:\My" because of the space between "My" and "Documents".
Why ?? and how avoiding this ? (I do not want to restrain myself to path without space !)
Thank you
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Placeholder for filename in "define output profile"
- pdflatex "%pm"
Other approach: use a placeholder which encodes to 8.3 short path names.
regards