[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] glitch when opening dvi file with motif xdvi

From: Artemio Gonzalez Lopez
Subject: [Bug-AUCTeX] glitch when opening dvi file with motif xdvi
Date: Thu, 23 Feb 2006 10:16:12 +0100
User-agent: Thunderbird 1.5 (Macintosh/20051201)

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.

Emacs : XEmacs 21.5 (beta24) "dandelion" (+CVS-20060208) [Lucid] (powerpc-apple-darwin8.4.0) of Thu Feb 9 2006 on tillina.fis.ucm.es
Package: 2006-02-09

Lately I have been experiencing a minor glitch when opening a dvi file with xdvi from within auctex (in xemacs). The problem is that the xdvi window disappears as soon as the pointer is over one of the icons in the toolbar. The command used by auctex to launch xdvi is like the following:

xdvi -sourceposition "1544 ex-sol.tex" -editor "/opt/local/bin/gnuclient -q +%l %f" ex-sol.dvi

Strangely, the problem occurs only with some tex files. And it only happens when xdvi is called by auctex (in xemacs), not when the above command is entered in a terminal window directly. Also, if I add the -nofork option by hand the problem is solved, and I could configure auctex to use -nofork when opening all dvi files, but if that's the case I wonder whether this option should not be a default in auctex. By the way, I'm using xdvik version 22.84.13-CVS8 (@(#)Motif Version 2.3.0, runtime version 2.3) under Mac Os X 10.4.5. I have sent a message similar to this to the xdvi list, and here's Stefan Ulrich's answer:

> Not being an xemacs/auctex/OS X user, I don't know exactly what the
> problem with the icons is (ie why it's terminated exactly when the
> pointer is on an icon), but '-nofork' is indeed the right thing to
> invoke xdvi with in such a case, since it's the only way for emacs to
> keep control over the started process (checking the process status,
> catching errors etc.).
> I thought auctex would be using this option by default? (Maybe it's
> worth submitting a feature request to the auctex maintainers).



current state:
 AUCTeX-date "2006-02-09"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto"
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (plain-tex-mode texinfo-mode ams-tex-mode)
                     :help "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%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)\\input %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")
                    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive
                     nil (context-mode) :help "Clean temporary ConTeXt files")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run 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 -t a4 %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")
                    ("ChkTeX" "chktex -v3 %s" TeX-run-compile nil (latex-mode))
                    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t :help
                     "Spell-check the document")
                    ("GhostView" "gv %f" TeX-run-command t t :help
                     "Run GhostView")
                    ("ps2pdf" "ps2pdf %f" TeX-run-command t t :help
                     "Run ps2pdf")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")

Attachment: artemio.vcf
Description: Vcard

reply via email to

[Prev in Thread] Current Thread [Next in Thread]