Greetings,
I put out a question a couple of weeks ago about setting one
option within AucTeX, got some intelligent responses, and
then found myself so buried in work that I've been unable to
follow through. I'm back.
To cut straight to the point, yes, Uwe and Stephen are
correct -- I need to run M-x customize-option on
TeX-command-list. I hate it when I'm so baffled that I don't
even know the right questions to ask.
So I run M-x customize-option for TeX-command-list and see
that for View the Command is set to the string "%V". That's
what I want to set.
Say I'm working in AucTeX (11.84 -- Uwe asked what version)
on a LaTeX file RedMars.tex (which I am). I use C-c C-c to
run TeX-command-master and it runs pdflatex on the file. All
is well and good so far. Then I run C-c C-c again to View
it, and without having set the option that %V evaluates to:
xpdf -remote RedMars -raise RedMars.pdf
I don't know that I even have xpdf on the system.
I can go in there and substitute "open" for everything from
xpdf through -raise and it works. Which is great. But it
isn't saved that way, which is what I'm trying to
accomplish.
"open" from a bash command line in Mac OS X is how I view
PDF files probably half the time. In fact, I use "open" for
most any kind of application generated data file to open it
in whatever application makes use of it.
If I replace the %V with a hard-coded "open", it loses the
options. That's my problem. It needs to also plug in the
name of the PDF file that I want to view.
So that's my original question.
However be warned, your setting will be then saved either
in your .emacs file or in a file of choice (I have set
custom-file to custom-init.el)
That's exactly what I want to happen. I have a note in my
startups (an array of eight or ten files triggered by the
usual init.el) that I used to have a file called options.el
but it's obsolete, and now I have something called inito.el.
Apparently I created that myself, but I don't even remember.
I last went through all my startups and streamlined them on
January 27, 2013 according to the file date stamps.
Everything has just worked since then.
Anyhow, I can certainly find a place for it.
But this one thing I would like to adjust.
--
Lynn David Newton
Columbus, Ohio
neologisticsediting.com
lynndavidnewton.com
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta