auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] Re: An idea about a change:


From: Ralf Angeli
Subject: [AUCTeX-devel] Re: An idea about a change:
Date: Mon, 07 Aug 2006 22:10:20 +0200

* David Kastrup (2006-08-07) writes:

> Windows shells have their ways with quotes, Unix shells another one.

I know, but we managed to cope with that in our config scripts, for
example.

> "\input{whatever.tex}"
>
> goes through on either.  But I believe that Windows would require
>
> "\input{"whatever.tex"}"
>
> while Unix would require
>
> "\input{\"whatever.tex\"}"
>
> In short, we'd be out of the common denominator (and we can't just
> decide based on OS since some people use bash under Windows, anyway).
> Anybody with cmd.exe who wants to try this out?

Awww, you made me boot Windows.  And I was having so much fun
compiling stuff on FreeBSD.  Where else do you get such a high
utilization for your CPU?  And can fry some eggs while waiting for it
to finish.

Anyway, none the strings mentioned above work here:

>latex "\input{"foo bar.tex"}"
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

<*> \input{foo bar.tex}

? x
No pages of output.

>latex "\input{\"foo bar.tex\"}"
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
(foo bar.tex (C:\Programme\MikTeX\texmf\tex\latex\base\article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(C:\Programme\MikTeX\texmf\tex\latex\base\size10.clo))
(C:\Programme\MikTeX\texmf\tex\generic\babel\babel.sty
(C:\Programme\MikTeX\texmf\tex\generic\babel\germanb.ldf
(C:\Programme\MikTeX\texmf\tex\generic\babel\babel.def)))
(C:\Programme\MikTeX\texmf\tex\latex\base\fontenc.sty
(C:\Programme\MikTeX\texmf\tex\latex\base\t1enc.def))
(C:\Programme\MikTeX\texmf\tex\latex\base\inputenc.sty
(C:\Programme\MikTeX\texmf\tex\latex\base\latin1.def))
(C:\Programme\MikTeX\localtexmf\tex\latex\preview\preview.sty
(C:\Programme\MikTeX\localtexmf\tex\latex\preview\prshowlabels.def))

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.36 \begin{document}

? x
No pages of output.
Transcript written on "foo bar.log".


Interestingly "\input{\"foo bar.tex\"}" and '\input{"foo bar.tex"}'
didn't work in the bash shipped with MinGW either.  That's probably
the answer to why we don't follow Frank's suggestion.

-- 
Ralf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]