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


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

2007-07-05 Thread Stefan Vollmar

Dear Ralf,

They could also use interactive mode.  In this case processing  
stops at

an error.


I will try to stop nagging after this post: "processing stops at an  
error" means that I only have an advantage if I press "E" to edit the  
offending text. This seems to work for me: I see the offending text  
with a little context. How (sorry, I have tried looking it up) can I  
get TeX to continue compiling when I am done editing? Am I restricted  
in navigation when using that "context buffer"? Can I switch on the  
"syntax highlighting" I have now come to appreciate in normal LaTeX  
mode?


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


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

2007-07-05 Thread Stefan Vollmar

Dear Ralf,


This touches the last question of my previous posting: so
(experienced?) users of AUCTeX simply have other (better?) ways of
debugging their TeX code than using TeX-next-error?


Or they do not read the documentation and are not aware of the  
feature.


OK. So what do people do who have read the documentation and for whom  
TeX-next-error does not work with their multifile documents? Go  
through the log manually and try to find the offending passages by  
guessing the context (are the line numbers useful for included source  
files?), switching between log, preview and source files?


I am still being serious about getting better with TeX and Emacs.
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


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

2007-07-04 Thread Stefan Vollmar

Dear Ralf,

Am 04.07.2007 um 23:12 schrieb Ralf Angeli:


Judging by the general quality (again: I have only scratched the
surface of all the beautiful and powerful features) of a reportedly
mature tool like AUCTeX this must be the case - because otherwise
people would have that kind of problem all the time.


It's likely more a case of people not using the feature.


This touches the last question of my previous posting: so  
(experienced?) users of AUCTeX simply have other (better?) ways of  
debugging their TeX code than using TeX-next-error? - It seems to me,  
going through the log and fixing errors and warnings is such a  
routine thing that it pays off to make that less painful and more  
efficient?


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


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

2007-07-03 Thread Stefan Vollmar

Dear Ralf,
dear David,

if I understand the gist of your last comments about my "TeX-next- 
error" effects, fixing it - if at all possible - would involve "major  
surgery" in more than one place.


That raises the following questions: Is my example especially ugly/ 
difficult? And why so?


Judging by the general quality (again: I have only scratched the  
surface of all the beautiful and powerful features) of a reportedly  
mature tool like AUCTeX this must be the case - because otherwise  
people would have that kind of problem all the time. But maybe they,  
have but it does not matter a lot because power users of AUCTeX  
simply have better ways of debugging their TeX code? [That was an  
honest question from a rookie]


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


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

2007-07-03 Thread Stefan Vollmar

Dear Ralf,

thanks for the fast reply.


If you progress like this we might be able to give you the yellow belt
in bug reporting soon. (c:


Appreciate.

I could reproduce the problem with your log file.  In the log file  
there

is the following text:

--8<---cut here---start->8---
! pdfTeX warning (ext4): destination with the same identifier (name 
{page.1}) ha

s been already used, duplicate ignored

   \penalty
l.5 \include{vhist_toc}
[1] (./vhist_intro.tex
! Undefined control sequence.
l.14 \rwar
  {this-is-an-undefined-macro-into}
) [2] (./vhist_spec0.tex
--8<---cut here---end--->8---

When searching for the first error, the parser finds the warning
starting with "!" and then tries to get line number and context.   
In the

context the line with "[1] (./vhist_intro.tex" is included.
(Cf. contents of the *TeX help* buffer.)  So when searching for the  
next
error, this line, indicating the file where the error is located,  
is not
included anymore and after the error in the next line starting with  
"!"

is found, this information is missing.  That's why the wrong file is
displayed.


I got (temporarily) rid of the first pdfTeX warning by commenting out  
the title page of our document - we do not really need that during  
debugging. Then - yippieh - stepping through the errors with TeX-next- 
error works "as advertised" - thanks a lot.


However, here is another (potentially similar) problem: when I turn  
on debugging for warnings


TeX-toggle-debug-warnings C-c C-t C-w

(how can I turn this on permanently in my .emacs file?)

stepping with TeX-next-error works initially but then stops with

ERROR: ** LaTeX

--- TeX said ---
LaTeX Warning: Reference `sec:sections' on page 2 undefined on input  
line 4.


--- HELP ---
No help available

and no further warnings or errors are displayed. I have attached the  
log file, this time from the Aquamax session.



In my case (pdfTeXk, Version
3.141592-1.40.3 (Web2C 7.5.6)) the pdfTeX warning does not start  
with an

exclamation mark.


Is this a special version? I am surprised to find that both "default"  
installation on Linux (Fedora Core 6) and MacOS X exhibit the same  
problem, i.e. have unsuitable latex versions.


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



vhist.log
Description: Binary data



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


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

2007-07-02 Thread Stefan Vollmar

Dear Ralf,

Am 02.07.2007 um 23:12 schrieb Ralf Angeli:

If I open vhist_spec0.tex in Emacs, execute `C-c C-c LaTeX RET' and  
then

jump to the first error with `C-c `', the file vhist_intro.tex will be
opened in the top window with point at the offending macro.  The  
bottom

window will display the corresponding help text of the error.  If I
execute `C-c `' again, the analogous action happens for  
vhist_spec0.tex.

So in my case this works flawlessly.

If you had included the output buffer contents as requested, I  
probably

could have found out more.


Thanks for the fast reply.
Sorry about the missing logs (but you have to admit I am getting  
better with my bug reports), vhist.log (Linux) and vhist_mac.log  
(MacOSX) are now attached.


The file "vhist_styles.tex" where the global macros and settings are  
kept is very messy (I know), probably the AUCTeX list is not the  
place to ask for guidance with this as these problems are not  
strictly AUCTeX related?


And I forgot the
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "vhist"
%%% End:
part in that files. However, fixing that still yields the same  
results on my systems.


Here is another thought:


then jump to the first error with `C-c `'


this does not work well on my German keyboard, so I have put this  
line into my .emacs file:


(global-set-key [f6] 'TeX-next-error)

Remember: I am a "rookie" with this - maybe this is the problem (I  
repeatedly pressed f6 to display the error positions) - altough I do  
not think so.


If I open vhist_spec0.tex in Emacs, execute `C-c C-c LaTeX RET' and  
then

jump to the first error with `C-c `', the file vhist_intro.tex will be
opened in the top window with point at the offending macro.


Not in my case: I tried to replicate exactly that scenario and only  
the error in vhist_spec0.tex is displayed that way.


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




vhist.log
Description: Binary data


vhist_mac.log
Description: Binary data
___
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")
   

[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