From: Matthias Meulien <cimosque@free.fr>
Subject: problem with tex-start-options-string
Date: 29 Aug 2003 18:26:43 +0200 [thread overview]
Message-ID: <m2d6eov398.fsf@clarinde.localdomain> (raw)
Hi,
Recent (La)TeX versions provides a command line option `-src' to
insert source specials to perform inverse search: A mouse click in the
xdvi window can open an editor with the corresponding place in the
source file.
So I want the `tex-file' command to use the following syntax:
,----
| [matthias@clarinde ~/TeX]$ latex -src-specials -interaction=nonstop FILE
| This is TeXk, Version 3.14159 (Web2C 7.4.5)
| Source specials enabled.
| LaTeX2e <2001/06/01>
| Babel <v3.7h> and hyphenation patterns for american, french, german,
| ngerman, basque, italian, portuges, russian, spanish, nohyphenation,
| loaded.
| ...
`----
I have set `tex-start-options-string' to the string "-src-specials
-interaction=nonstop". But it is passed to (from `tex-start-tex')
`shell-quote-argument' resulting in the following error:
,----
| [matthias@clarinde ~/TeX]$ latex -src-specials\ -interaction\=nonstopmode FILE
| latex: unrecognized option `-src-specials -interaction=nonstopmode'
| Try `latex --help' for more information.
`----
Note the two backslash. How should I do ? Today I use the following
(in appropriate hooks):
(setq tex-start-options-string nil)
(setq tex-run-command "tex -src-specials -interaction=nonstopmode")
(setq latex-run-command "latex -src-specials -interaction=nonstopmode")
Ugly isn't it ? Don't you think `tex-start-options-string' should be
a list ?
Thanks for your attention.
--
Matthias
next reply other threads:[~2003-08-29 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-29 16:26 Matthias Meulien [this message]
2003-08-29 17:45 ` problem with tex-start-options-string Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2d6eov398.fsf@clarinde.localdomain \
--to=cimosque@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).