[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] Problem with spaces in file names
From: |
Peter PICHLER |
Subject: |
Re: [Bug-AUCTeX] Problem with spaces in file names |
Date: |
Thu, 10 Sep 2009 16:38:19 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Dear Ralf,
- It seems that MiKTeX 2.8 doesn't use quotation marks when there is no
blank in the full file name (see output_2.8_nospace)
- Using --file-line-error as option for LaTeX doesn't help much
(output_2.8_file-line-error_space). It leads to an other error:
TeX-help-error: Search failed: "^l\\."
(from the message file)
- I then installed MiKTeX 2.7 instead of the 2.8 version. It appears
that MiKTeX 2.7 prints only the file name without path. With this,
AucTeX is able to point its cursor to the error position when there is a
blank anywhere in the path (output_2.7_space_in_path).
- I then tried a space in the file name for a path without a blank. In
this case, AucTeX isn't able to correctly call LaTeX even for a test
example without error. A call of LaTeX by
latex -interaction=nonstopmode "\input" "x x.tex"
instead of (output_2.7_space_in_name)
latex -interaction=nonstopmode "\input" "\"x x.tex\""
works flawlessly, though.
So, for the time being, I will stick to MiKTeX 2.7. Thank you very much
for your help.
Kind regards,
Peter Pichler
Ralf Angeli wrote on 09.09.2009 20:46:
* Peter PICHLER (2009-09-09) writes:
Unfortunately, the regexp withstood my attempts of a quick and dirty
modification so that I would be really grateful for help. In case of any
addition information needed, please do not hesitate to contact me.
[...]
Running `LaTeX' on `xx' with ``latex -interaction=nonstopmode "\input"
"xx.tex"''
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
("c:\Sync\Lap09Install\a b\xx.tex"
Has the MiKTeX output always used backslashes and quotation marks for
file names? Because as far as I can see the regexp in `TeX-parse-error'
caters for neither of them.
Does it help in your case if you activate file:line:error messages
(either via a command line option for latex or a setting in the TeX
system)?
Running `LaTeX' on `xx' with ``latex -interaction=nonstopmode "\input"
"xx.tex"''
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
(c:\Sync\Lap09Install\xx.tex
("C:\Programme\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Programme\MiKTeX 2.8\tex\latex\base\size10.clo"))
(c:\Sync\Lap09Install\xx.aux)
! Missing $ inserted.
<inserted text>
$
l.4 gut_
x
! Missing $ inserted.
<inserted text>
$
l.5 \end{document}
[1] (c:\Sync\Lap09Install\xx.aux) )
(see the transcript file for additional information)
Output written on xx.dvi (1 page, 268 bytes).
Transcript written on xx.log.
LaTeX exited abnormally with code 1 at Thu Sep 10 13:33:53
Running `LaTeX' on `xx' with ``latex --file-line-error
-interaction=nonstopmode "\input" "xx.tex"''
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
("c:\Sync\Lap09Install\a b\xx.tex"
("C:\Programme\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Programme\MiKTeX 2.8\tex\latex\base\size10.clo"))
("c:\Sync\Lap09Install\a b\xx.aux")
c:\Sync\Lap09Install\a b\xx.tex:4: Missing $ inserted
c:\Sync\Lap09Install\a b\xx.tex:5: Missing $ inserted
[1] ("c:\Sync\Lap09Install\a b\xx.aux") )
(see the transcript file for additional information)
Output written on xx.dvi (1 page, 272 bytes).
Transcript written on xx.log.
LaTeX exited abnormally with code 1 at Thu Sep 10 13:57:28
Running `LaTeX' on `xx' with ``latex -interaction=nonstopmode "\input"
"xx.tex"''
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
(xx.tex ("C:\Programme\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Programme\MiKTeX 2.7\tex\latex\base\size10.clo")) (xx.aux)
! Missing $ inserted.
<inserted text>
$
l.4 right_
x
! Missing $ inserted.
<inserted text>
$
l.5 \end{document}
[1] (xx.aux) )
(see the transcript file for additional information)
Output written on xx.dvi (1 page, 272 bytes).
Transcript written on xx.log.
LaTeX exited abnormally with code 1 at Thu Sep 10 14:23:10
Running `LaTeX' on `x x' with ``latex -interaction=nonstopmode "\input" "\"x
x.tex\""''
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
("x x.tex" ("C:\Programme\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Programme\MiKTeX 2.7\tex\latex\base\size10.clo"))
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 \begin{document}
("C:\Programme\MiKTeX 2.7\tex\latex\tools\x.tex"
LaTeX exited abnormally with code 1 at Thu Sep 10 15:45:41
smime.p7s
Description: S/MIME Cryptographic Signature