Re: [AUCTeX] preview with acrobat reader

2007-08-06 Thread Stefan Vollmar

Dear Roger,

Am 06.08.2007 um 08:51 schrieb Roger Levy:

This is a useful bit of information!  Does anyone have suggestions  
for a similar-functionality PDF viewer under Mac OS X? (Preview has  
a reload command, revert, but it sends you back to page 1 of the  
document, which is suboptimal.)


I can recommend
http://skim-app.sourceforge.net/
which works fine for me - it reload the pdf automatically while  
keeping the current position (which works surprisingly well most of  
the time). I believe it is the successor to the discontinued

http://pdfview.sourceforge.net/
which is mentioned in the Aquamacs Online Help.

Warm regards,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0173-5340707
Email: [EMAIL PROTECTED]   http://www.nf.mpg.de






___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] debugging of multifile documents with TeX-next-error (2)

2007-07-02 Thread Stefan Vollmar

Dear Ralf,

I have assembled a little collection of TeX-files (emtest.tar.gz,  
attached) that demonstrate the problems I have reported earlier: when  
debugging a multifile document (which now has correct settings for %% 
% TeX-master, etc. at the end of each file), TeX-next-error does  
not show the offending TeX lines corresponding to the log's error  
messages in all cases.


This time, I have included a TeX-submit-bug-report. It appears that  
I can observe the same behaviour of Emacs/Auctex on Linux (attached  
in the bugreport) and the current Aquamax on MacOS:


I provoke two identical errors in two different files of this  
multifile document:


in file vhist_intro.tex:
\rwar{this-is-an-undefined-macro-into}

in file vhist_spec0.tex:
\rwar{this-is-an-undefined-macro-spec0}

only the second one is displayed correctly by TeX-submit-bug-report.

Many thanks in advance,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0173-5340707
Email: [EMAIL PROTECTED]   http://www.nf.mpg.de
To: [EMAIL PROTECTED]
Subject: 11.84; TeX-next-error does not jump to next error
--text follows this line--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.


when running latex on vhist_spec0.tex (one file in the attached zip-archive), 
the master file vhist.tex is displayed, a pdf-file get written. Using 
TeX-next-error I expected to Emacs to open the appropriate file and show the 
offending TeX lines, one after the other. However, only the last (provoked) 
error \rwar{this-is-an-undefined-macro-spec0} will be displayed in this 
manner - all other errors are listed (correctly) but not displayed in another 
buffer.


Emacs  : GNU Emacs 21.4.1 (x86_64-redhat-linux-gnu, X toolkit, Xaw3d scroll 
bars)
 of 2007-02-12 on hs20-bc1-6.build.redhat.com
Package: 11.84

current state:
==
(setq
 AUCTeX-date 2007-01-12
 window-system nil
 LaTeX-version 2e
 TeX-style-path '(style auto /usr/share/emacs/site-lisp/auctex/style 
/var/auctex)
 TeX-auto-save t
 TeX-parse-self t
 TeX-master vhist
 TeX-command-list '((TeX %(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t TeX-run-TeX 
nil
 (plain-tex-mode ams-tex-mode texinfo-mode) :help Run 
plain TeX)
(LaTeX %`%l%(mode)%' %t TeX-run-TeX nil (latex-mode 
doctex-mode) :help Run LaTeX)
(Makeinfo makeinfo %t TeX-run-compile nil 
(texinfo-mode) :help
 Run Makeinfo with Info output)
(Makeinfo HTML makeinfo --html %t TeX-run-compile nil 
(texinfo-mode) :help
 Run Makeinfo with HTML output)
(AmSTeX %(PDF)amstex %`%S%(PDFout)%(mode)%' %t 
TeX-run-TeX nil (ams-tex-mode) :help
 Run AMSTeX)
(ConTeXt texexec --once --texutil %(execopts)%t 
TeX-run-TeX nil (context-mode) :help
 Run ConTeXt once)
(ConTeXt Full texexec %(execopts)%t TeX-run-TeX nil 
(context-mode) :help
 Run ConTeXt until completion)
(BibTeX bibtex %s TeX-run-BibTeX nil t :help Run 
BibTeX)
(View dvi2tty -q -w 132 %s TeX-run-command t t :help 
Run Text viewer)
(Print %p TeX-run-command t t :help Print the file)
(Queue %q TeX-run-background nil t :help View the 
printer queue :visible
 TeX-queue-command)
(File %(o?)dvips %d -o %f  TeX-run-command t t :help 
Generate PostScript file)
(Index makeindex %s TeX-run-command nil t :help Create 
index file)
(Check lacheck %s TeX-run-compile nil (latex-mode) :help
 Check LaTeX file for correctness)
(Spell (TeX-ispell-document \\) TeX-run-function nil 
t :help
 Spell-check the document)
(Clean TeX-clean TeX-run-function nil t :help Delete 
generated intermediate files)
(Clean All (TeX-clean t) TeX-run-function nil t :help
 Delete generated intermediate and output files)
(Other  TeX-run-command t t :help Run an arbitrary 
command))
 )


emtest.tar.gz
Description: GNU Zip compressed data




___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] debugging of multifile documents with TeX-next-error

2007-07-01 Thread Stefan Vollmar

Dear list members,

I have just started using Aquamax 1.0b (Mac Emacs) with the  
MacTeX-2007 (Feb) package and discovered the beauty, elegance and  
power (and I am sure I have only just scratched the surface) of the  
integrated AucTeX mode.


I have a question regarding the debugging of multifile documents. My  
masterfile something.tex looks like this:


\input{something_style}
\begin{document}
\include{something_title}
\include{something_toc}
\include{something_intro}
...
\include{something_bib}
\end{document}

and all the inluded LaTeX-files end with:

%%% Local Variables:
%%% mode: latex
%%% TeX-master: something
%%% End:

Here is my (potentially embarassing question - please bear with me):

when I compile the LaTeX document (from any of the included files;  
as described in the manual, this works as if I compiled the master  
document), a pdf file is created - more or less what I had in mind.  
However, I am looking for an efficient means to step through my files  
from LaTeX error/warning to the next using TeX-next-error (or  
something similar). When using this with my setup, I am indeed  
presented with a succession of error messages (very convenient),  
however, the cursor remains in my master file (see above). Ideally, I  
would like Emacs to display the corresponding latex source file with  
the cursor positioned next to the offending latex command/text.


How can I achieve this? Should I change the structure of my master file?

Many thanks in advance,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0173-5340707
Email: [EMAIL PROTECTED]   http://www.nf.mpg.de






___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex