[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] latex include problem with shell-command.
From: |
Uwe Brauer |
Subject: |
[AUCTeX-devel] latex include problem with shell-command. |
Date: |
Fri, 11 Dec 2009 11:20:49 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.21 (linux) |
Hello
I tried to implement the feature I mentioned yesterday would be easy,
well I have a problem with the symbol ':
Can somebody please tell me of how to pass the '
to a shell-command?
On the command line the command in question, which works, is
latex -jobname=teil1
'\includeonly{teil1}\edef\jobname{\detokenize{haupt}}\input{haupt}'
In my experimental package (using us-ascii encoding)
I have the following code
(defvar include-command "/usr/bin/latex -jobname=%s
'\includeonly{%s}\edef\jobname{\detokenize{%s}}\input{%s}'"
)
And then later
(shell-command
(format include-command
origname
origname
currentname
currentname
))
This results in the following error message
--8<------------------------schnipp------------------------->8---
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
! Text line contains an invalid character.
<*> includeonly{teil1}^^[
defjobname{^^?etokenize{/home/oub/ALLES/tex/test/ha...
?
! Emergency stop.
<*> includeonly{teil1}^^[
defjobname{^^?etokenize{/home/oub/ALLES/tex/test/ha...
No pages of output.
Transcript written on includeonly{teil1}teil1.log.
--8<------------------------schnapp------------------------->8---
So it looks like a coding problem to me or I have set the syntax in the
defvar not correctly.
Any ideas?
thanks
Uwe Brauer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-devel] latex include problem with shell-command.,
Uwe Brauer <=