GNU bug report logs - #37152
12.1.2; PDF Tools should be in TeX-view-program-list-builtin for all system-types

Previous Next

Package: auctex;

Reported by: Omar Antolín Camarena <omar <at> matem.unam.mx>

Date: Fri, 23 Aug 2019 03:14:05 UTC

Severity: normal

Found in version 12.1.2

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37152 in the body.
You can then email your comments to 37152 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#37152; Package auctex. (Fri, 23 Aug 2019 03:14:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Omar Antolín Camarena <omar <at> matem.unam.mx>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Fri, 23 Aug 2019 03:14:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Omar Antolín Camarena <omar <at> matem.unam.mx>
To: bug-auctex <at> gnu.org
Subject: 12.1.2; PDF Tools should be in TeX-view-program-list-builtin for all
 system-types
Date: Thu, 22 Aug 2019 20:09:26 -0500
I just noticed that the entry in TeX-view-program-list-builtin for pdf-tools, namely ("PDF Tools" TeX-pdf-tools-sync-view), is only put there when system-type is neither windows-nt nor darwin. I guess this means it is only placed on the list for people using GNU/Linux or Open BSD, etc.

But pdf-tools runs well on Windows 10 (I use it there), and I believe it also runs on mac os, so I'd prefer if the entry be present on all OSes.

Emacs  : GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
 of 2018-05-29
Package: 12.1.2

current state:
==============
(setq
 AUCTeX-date "2019-02-08"
 window-system 'w32
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex"
                  "c:/Users/Omar/.emacs.d/elpa/auctex-12.1.2/style"
                  "c:/Users/Omar/.emacs.d/auctex/auto"
                  "c:/Users/Omar/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 TeX-command-list '(("TeX"
                     "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %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 %(extraopts) %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo %(extraopts) --html %t"
                     TeX-run-compile nil (texinfo-mode) :help
                     "Run Makeinfo with HTML output")
                    ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %t"
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt"
                     "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
                    ("View" "%V" TeX-run-discard-or-function 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 %d -o %f " TeX-run-dvips t t :help
                     "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help
                     "Convert DVI file to PostScript")
                    ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help
                     "Convert DVI file to PDF with dvipdfmx")
                    ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help
                     "Convert PostScript file to PDF")
                    ("Glossaries" "makeglossaries %s" TeX-run-command nil t
                     :help "Run makeglossaries to create glossary file")
                    ("Index" "makeindex %s" TeX-run-index nil t :help
                     "Run makeindex to create index file")
                    ("upMendex" "upmendex %s" TeX-run-index t t :help
                     "Run upmendex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil t :help
                     "Run xindy to create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for correctness")
                    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for common mistakes")
                    ("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")
                    )
 )




Information forwarded to bug-auctex <at> gnu.org:
bug#37152; Package auctex. (Fri, 23 Aug 2019 22:12:01 GMT) Full text and rfc822 format available.

Message #8 received at 37152 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Omar Antolín Camarena <omar <at> matem.unam.mx>
Cc: 37152 <at> debbugs.gnu.org
Subject: Re: bug#37152: 12.1.2; PDF Tools should be in
 TeX-view-program-list-builtin for all system-types
Date: Fri, 23 Aug 2019 23:58:38 +0200
Hi Omar,

Omar Antolín Camarena <omar <at> matem.unam.mx> writes:

> I just noticed that the entry in TeX-view-program-list-builtin for
> pdf-tools, namely ("PDF Tools" TeX-pdf-tools-sync-view), is only put
> there when system-type is neither windows-nt nor darwin. I guess this
> means it is only placed on the list for people using GNU/Linux or Open
> BSD, etc.
>
> But pdf-tools runs well on Windows 10 (I use it there), and I believe
> it also runs on mac os, so I'd prefer if the entry be present on all
> OSes.

thanks for the report.  How do you configure pdf-tools in order to use
it?  Do you use `TeX-pdf-tools-sync-view' and does it work on Windows?
I.e., do you have something like this in your init file:

    (setq TeX-view-program-list
          '((PDF Tools" TeX-pdf-tools-sync-view)))

    (setq TeX-view-program-selection
          '((output-pdf "PDF Tools")))


I can't build pdf-tools myself right now (it seems to rely on cask which
is not installed on my box).

Adding one or two entries to `TeX-view-program-list-builtin' is not a
big deal.

Best, Arash




Reply sent to Arash Esbati <arash <at> gnu.org>:
You have taken responsibility. (Sat, 31 Aug 2019 21:04:02 GMT) Full text and rfc822 format available.

Notification sent to Omar Antolín Camarena <omar <at> matem.unam.mx>:
bug acknowledged by developer. (Sat, 31 Aug 2019 21:04:02 GMT) Full text and rfc822 format available.

Message #13 received at 37152-done <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Omar Antolín Camarena <omar <at> matem.unam.mx>
Cc: 37152-done <at> debbugs.gnu.org
Subject: Re: bug#37152: 12.1.2; PDF Tools should be in
 TeX-view-program-list-builtin for all system-types
Date: Sat, 31 Aug 2019 23:03:03 +0200
Hi Omar,

Omar Antolín Camarena <omar <at> matem.unam.mx> writes:

> Yes, I use TeX-pdf-tools-sync-view and have exactly those two forms in
> my init file. And I use the same configuration on Windows and Linux
> (on Linux setting TeX-view-program-list is unnecessary but harmless).

Thanks for the confirmation.

>> Adding one or two entries to `TeX-view-program-list-builtin' is not a
>> big deal.
>
> That would be great, so I can remove one more form from my init.el. :)

I've pushed a change to AUCTeX repo with this change.  It will be
available with next AUCTeX release which is hopefully not so far away.
I'm closing this report.

Best, Arash




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.