M
Michael A. Covington
I'm trying to rig a way to run LaTeX on a .tex file when the user
right-clicks and chooses it. So far, I have the following subkey defined:
....\shell\LaTeX\command
cmd.exe /c latex "%1" && pause
The problem is, the argument file names are getting shortened (made
DOS-compatible). This doesn't keep LaTeX from opening the right file, but
it does keep LaTeX from generating the right (un-shortened) file names on
the files that it outputs.
If I change the command to:
latex "%1"
(without involving cmd.exe), the same thing occurs.
The following works properly:
"c:\texmf\miktex\bin\latex.exe" "%1"
However, it doesn't give me a way to pause after running LaTeX, so it's not
entirely satisfactory.
What determines whether filenames get shortened when executing the
shell\...\command subkey?
right-clicks and chooses it. So far, I have the following subkey defined:
....\shell\LaTeX\command
cmd.exe /c latex "%1" && pause
The problem is, the argument file names are getting shortened (made
DOS-compatible). This doesn't keep LaTeX from opening the right file, but
it does keep LaTeX from generating the right (un-shortened) file names on
the files that it outputs.
If I change the command to:
latex "%1"
(without involving cmd.exe), the same thing occurs.
The following works properly:
"c:\texmf\miktex\bin\latex.exe" "%1"
However, it doesn't give me a way to pause after running LaTeX, so it's not
entirely satisfactory.
What determines whether filenames get shortened when executing the
shell\...\command subkey?