Discussion:
texdoc
Add Reply
Herbert Voss
2018-12-06 10:41:01 UTC
Reply
Permalink
Hello all,

I never saw such a message:
-----------------------------------------------
***@shania:~$ texdoc auto-pst-pdf
***@shania:~$ ! SyncTeX Error : No file?
-----------------------------------------------

Happens for every call of texdoc. The pdf is viewed
as usual.

Up-to-date TL2018 (TUG) and Ubuntu 18.10

Herbert
Takuto ASAKURA
2018-12-06 10:55:42 UTC
Reply
Permalink
Hi Herbert,

I heard that problem for the first time.

Could you give me a detailed output with -D option?

$ texdoc -D auto-pst-pdf

Best,
Takuto
Post by Herbert Voss
Hello all,
-----------------------------------------------
-----------------------------------------------
Happens for every call of texdoc. The pdf is viewed
as usual.
Up-to-date TL2018 (TUG) and Ubuntu 18.10
Herbert
Herbert Voss
2018-12-06 10:58:55 UTC
Reply
Permalink
Post by Takuto ASAKURA
I heard that problem for the first time.
Could you give me a detailed output with -D option?
$ texdoc -D auto-pst-pdf
Hello Takuto,

here we go.

thanks
Herbert

***@shania:~$ texdoc -D auto-pst-pdf
texdoc debug-version:
/usr/local/texlive/2018/texmf-dist/scripts/texdoc/texdoclib.tlu version 3.0
texdoc debug-config: Setting 'debug_list=all' from command line option "-D".
texdoc debug-config: Setting 'viewer_pdf=(evince %s) &' in file
"/home/voss/texmf/texdoc/texdoc.cnf" on line 1.
texdoc debug-config: Setting 'viewer_md=(retext %s)' in file
"/home/voss/texmf/texdoc/texdoc.cnf" on line 2.
texdoc debug-config: Setting 'suffix_list=doc, -doc, _doc, .doc, /doc,
manual, /manual, -manual, userguide, /user_guide, -guide, -user, -man,
notes, -info, ref' in file
"/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 95.
texdoc debug-config: Setting 'lastfile_switch=true' in file
"/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 509.
texdoc debug-config: Setting 'lang=de' from operating system locale.
texdoc debug-config: Setting 'verbosity_level=2' from built-in defaults.
texdoc debug-config: Setting 'ext_list=pdf, htm, html, txt, ps, dvi, '
from built-in defaults.
texdoc debug-config: Setting 'interact_switch=true' from built-in defaults.
texdoc debug-config: Setting 'fuzzy_level=5' from built-in defaults.
texdoc debug-config: Setting 'badext_list=txt, ' from built-in defaults.
texdoc debug-config: Setting 'machine_switch=false' from built-in defaults.
texdoc debug-config: Setting 'badbasename_list=readme, 00readme' from
built-in defaults.
texdoc debug-config: Setting 'basename_list=readme, 00readme' from
built-in defaults.
texdoc debug-config: Setting 'mode=view' from built-in defaults.
texdoc debug-config: Setting 'max_lines=20' from built-in defaults.
texdoc debug-config: Setting 'rm_file=rm -f' from built-in defaults.
texdoc debug-config: Setting 'rm_dir=rmdir' from built-in defaults.
texdoc debug-config: Setting 'zipext_list=' from built-in defaults.
texdoc debug-files: Configuration files are:
texdoc debug-files: active /home/voss/texmf/texdoc/texdoc.cnf
texdoc debug-files: active
/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf
texdoc debug-texdocs: texdocs[7] =
/home/voss/.texlive2018/texmf-config/doc (index_mandatory=false,
recursion_allowed=true)
texdoc debug-texdocs: texdocs[6] = /home/voss/.texlive2018/texmf-var/doc
(index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[5] = /home/voss/texmf/doc
(index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[4] = /usr/local/texlive/texmf-local/doc
(index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[4] using index:
/usr/local/texlive/texmf-local (shift=doc/)
texdoc debug-texdocs: texdocs[3] =
/usr/local/texlive/2018/texmf-config/doc (index_mandatory=true,
recursion_allowed=true)
texdoc debug-texdocs: texdocs[2] = /usr/local/texlive/2018/texmf-var/doc
(index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[1] =
/usr/local/texlive/2018/texmf-dist/doc (index_mandatory=true,
recursion_allowed=true)
texdoc debug-texdocs: texdocs[1] using index:
/usr/local/texlive/2018/texmf-dist (shift=doc/)
texdoc debug-tlpdb: Getting data from tlpdb file
/usr/local/texlive/2018/tlpkg/texlive.tlpdb
texdoc debug-tlpdb: Writing data in cache file
/home/voss/.texlive2018/texmf-var/texdoc/cache-tlpdb.lua
texdoc debug-score: ----------
texdoc debug-score: Start scoring
/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/README
texdoc debug-score: Name used: auto-pst-pdf/readme
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
texdoc debug-score: New heuristic score: 0.1. Reason: bad basename
texdoc debug-score: New heuristic score: 1.6. Reason: directory bonus
texdoc debug-score: Final heuristic score: 1.6
texdoc debug-score: Max pattern score: 1.6
texdoc debug-score: Catalogue "readme" bonus: +0.1
texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
texdoc debug-score: Final score: 1.8
texdoc debug-score: ----------
texdoc debug-score: Start scoring
/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf-DE.pdf
texdoc debug-score: Name used: auto-pst-pdf/auto-pst-pdf-de.pdf
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 2.5. Reason: directory bonus
texdoc debug-score: Final heuristic score: 2.5
texdoc debug-score: Max pattern score: 2.5
texdoc debug-score: Catalogue details bonus: +1.5
texdoc debug-score: Final score: 4.0
texdoc debug-score: ----------
texdoc debug-score: Start scoring
/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf.pdf
texdoc debug-score: Name used: auto-pst-pdf/auto-pst-pdf.pdf
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 4. Reason: exact match
texdoc debug-score: New heuristic score: 5.5. Reason: directory bonus
texdoc debug-score: Final heuristic score: 5.5
texdoc debug-score: Max pattern score: 5.5
texdoc debug-score: Catalogue details bonus: +1.5
texdoc debug-score: Final score: 7.0
texdoc debug-score: ----------
texdoc debug-score: Start scoring
/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf
texdoc debug-score: Name used: auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: Final heuristic score: 1
texdoc debug-score: Max pattern score: 1
texdoc debug-score: Catalogue details bonus: +1.5
texdoc debug-score: Final score: 2.5
texdoc debug-score: ----------
texdoc debug-score: Start scoring
/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf-lua/README
texdoc debug-score: Name used: auto-pst-pdf-lua/readme
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
texdoc debug-score: New heuristic score: 0.1. Reason: bad basename
texdoc debug-score: Final heuristic score: 0.1
texdoc debug-score: Max pattern score: 0.1
texdoc debug-score: Catalogue "readme" bonus: +0.1
texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
texdoc debug-score: Final score: 0.3
texdoc debug-score: ----------
texdoc debug-score: Start scoring
/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes
texdoc debug-score: Name used: auto-pst-pdf-lua/changes
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
texdoc debug-score: Final heuristic score: 0.1
texdoc debug-score: Max pattern score: 0.1
texdoc debug-score: Final score: 0.1
texdoc info: View command: (evince
"/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf.pdf")
&
texdoc info: Setting environment LC_CTYPE to: de_DE.UTF-8
***@shania:~$ ! SyncTeX Error : No file?
Kazuki Maeda
2018-12-06 11:22:35 UTC
Reply
Permalink
Hi all
Post by Herbert Voss
texdoc info: View command: (evince
"/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf.pdf")
&
texdoc info: Setting environment LC_CTYPE to: de_DE.UTF-8
It seems to be an error by recent evince, not texdoc.
Cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908964

Best regards
Kazuki Maeda
Manfred Lotz
2018-12-06 12:57:48 UTC
Reply
Permalink
On Thu, 6 Dec 2018 20:22:35 +0900
Post by Kazuki Maeda
Hi all
Post by Herbert Voss
texdoc info: View command: (evince
"/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf.pdf")
&
texdoc info: Setting environment LC_CTYPE to: de_DE.UTF-8
It seems to be an error by recent evince, not texdoc.
Cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908964
Best regards
Kazuki Maeda
I think you are right.

export PDFVIEWER=/usr/bin/evince
% texdoc auto-pst-pdf
! SyncTeX Error : No file?

When I use /usr/bin/atril as pdf viewer then there is no error message.

My system is Fedora 29 and evince is 3.30.2-2.
--
Manfred
Peter Wilson
2018-12-06 18:29:20 UTC
Reply
Permalink
Works for me using evince (but I don't know which version as I have used
it for some years).

Peter W.
Post by Kazuki Maeda
Hi all
Post by Herbert Voss
texdoc info: View command: (evince
"/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf.pdf")
&
texdoc info: Setting environment LC_CTYPE to: de_DE.UTF-8
It seems to be an error by recent evince, not texdoc.
Cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908964
Best regards
Kazuki Maeda
Takuto ASAKURA
2018-12-06 11:26:10 UTC
Reply
Permalink
Hi All,

sorry, I didn't send this to the mailing list :(

Thanks,
Takuto
Hi again,
thanks for the debug output.
https://gitlab.gnome.org/GNOME/evince/issues/983
Now it seems this is not a problem of Texdoc...
Best,
Takuto
Post by Herbert Voss
Post by Takuto ASAKURA
I heard that problem for the first time.
Could you give me a detailed output with -D option?
$ texdoc -D auto-pst-pdf
Hello Takuto,
here we go.
thanks
Herbert
texdoc debug-version: /usr/local/texlive/2018/texmf-dist/scripts/texdoc/texdoclib.tlu version 3.0
texdoc debug-config: Setting 'debug_list=all' from command line option "-D".
texdoc debug-config: Setting 'viewer_pdf=(evince %s) &' in file "/home/voss/texmf/texdoc/texdoc.cnf" on line 1.
texdoc debug-config: Setting 'viewer_md=(retext %s)' in file "/home/voss/texmf/texdoc/texdoc.cnf" on line 2.
texdoc debug-config: Setting 'suffix_list=doc, -doc, _doc, .doc, /doc, manual, /manual, -manual, userguide, /user_guide, -guide, -user, -man, notes, -info, ref' in file "/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 95.
texdoc debug-config: Setting 'lastfile_switch=true' in file "/usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf" on line 509.
texdoc debug-config: Setting 'lang=de' from operating system locale.
texdoc debug-config: Setting 'verbosity_level=2' from built-in defaults.
texdoc debug-config: Setting 'ext_list=pdf, htm, html, txt, ps, dvi, ' from built-in defaults.
texdoc debug-config: Setting 'interact_switch=true' from built-in defaults.
texdoc debug-config: Setting 'fuzzy_level=5' from built-in defaults.
texdoc debug-config: Setting 'badext_list=txt, ' from built-in defaults.
texdoc debug-config: Setting 'machine_switch=false' from built-in defaults.
texdoc debug-config: Setting 'badbasename_list=readme, 00readme' from built-in defaults.
texdoc debug-config: Setting 'basename_list=readme, 00readme' from built-in defaults.
texdoc debug-config: Setting 'mode=view' from built-in defaults.
texdoc debug-config: Setting 'max_lines=20' from built-in defaults.
texdoc debug-config: Setting 'rm_file=rm -f' from built-in defaults.
texdoc debug-config: Setting 'rm_dir=rmdir' from built-in defaults.
texdoc debug-config: Setting 'zipext_list=' from built-in defaults.
texdoc debug-files: active /home/voss/texmf/texdoc/texdoc.cnf
texdoc debug-files: active /usr/local/texlive/2018/texmf-dist/texdoc/texdoc.cnf
texdoc debug-texdocs: texdocs[7] = /home/voss/.texlive2018/texmf-config/doc (index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[6] = /home/voss/.texlive2018/texmf-var/doc (index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[5] = /home/voss/texmf/doc (index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[4] = /usr/local/texlive/texmf-local/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[4] using index: /usr/local/texlive/texmf-local (shift=doc/)
texdoc debug-texdocs: texdocs[3] = /usr/local/texlive/2018/texmf-config/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[2] = /usr/local/texlive/2018/texmf-var/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[1] = /usr/local/texlive/2018/texmf-dist/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[1] using index: /usr/local/texlive/2018/texmf-dist (shift=doc/)
texdoc debug-tlpdb: Getting data from tlpdb file /usr/local/texlive/2018/tlpkg/texlive.tlpdb
texdoc debug-tlpdb: Writing data in cache file /home/voss/.texlive2018/texmf-var/texdoc/cache-tlpdb.lua
texdoc debug-score: ----------
texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/README
texdoc debug-score: Name used: auto-pst-pdf/readme
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
texdoc debug-score: New heuristic score: 0.1. Reason: bad basename
texdoc debug-score: New heuristic score: 1.6. Reason: directory bonus
texdoc debug-score: Final heuristic score: 1.6
texdoc debug-score: Max pattern score: 1.6
texdoc debug-score: Catalogue "readme" bonus: +0.1
texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
texdoc debug-score: Final score: 1.8
texdoc debug-score: ----------
texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf-DE.pdf
texdoc debug-score: Name used: auto-pst-pdf/auto-pst-pdf-de.pdf
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 2.5. Reason: directory bonus
texdoc debug-score: Final heuristic score: 2.5
texdoc debug-score: Max pattern score: 2.5
texdoc debug-score: Catalogue details bonus: +1.5
texdoc debug-score: Final score: 4.0
texdoc debug-score: ----------
texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf.pdf
texdoc debug-score: Name used: auto-pst-pdf/auto-pst-pdf.pdf
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 4. Reason: exact match
texdoc debug-score: New heuristic score: 5.5. Reason: directory bonus
texdoc debug-score: Final heuristic score: 5.5
texdoc debug-score: Max pattern score: 5.5
texdoc debug-score: Catalogue details bonus: +1.5
texdoc debug-score: Final score: 7.0
texdoc debug-score: ----------
texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf
texdoc debug-score: Name used: auto-pst-pdf-lua/auto-pst-pdf-lua-doc.pdf
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: Final heuristic score: 1
texdoc debug-score: Max pattern score: 1
texdoc debug-score: Catalogue details bonus: +1.5
texdoc debug-score: Final score: 2.5
texdoc debug-score: ----------
texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf-lua/README
texdoc debug-score: Name used: auto-pst-pdf-lua/readme
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
texdoc debug-score: New heuristic score: 0.1. Reason: bad basename
texdoc debug-score: Final heuristic score: 0.1
texdoc debug-score: Max pattern score: 0.1
texdoc debug-score: Catalogue "readme" bonus: +0.1
texdoc debug-score: Adjust by 0.1 from global pattern 'readme'
texdoc debug-score: Final score: 0.3
texdoc debug-score: ----------
texdoc debug-score: Start scoring /usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf-lua/Changes
texdoc debug-score: Name used: auto-pst-pdf-lua/changes
texdoc debug-score: Start heuristic scoring with pattern: auto-pst-pdf
texdoc debug-score: New heuristic score: 1. Reason: subword match
texdoc debug-score: New heuristic score: 0.1. Reason: bad extension
texdoc debug-score: Final heuristic score: 0.1
texdoc debug-score: Max pattern score: 0.1
texdoc debug-score: Final score: 0.1
texdoc info: View command: (evince "/usr/local/texlive/2018/texmf-dist/doc/latex/auto-pst-pdf/auto-pst-pdf.pdf") &
texdoc info: Setting environment LC_CTYPE to: de_DE.UTF-8
Loading...