[MacPorts] #58615: texlive-bin-extra @50853_1+doc: texdoc cannot find texlive.tlpdb

MacPorts noreply at macports.org
Fri Feb 21 19:54:06 UTC 2020


#58615: texlive-bin-extra @50853_1+doc: texdoc cannot find texlive.tlpdb
--------------------------------+----------------------
  Reporter:  nstanger           |      Owner:  drkp
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.5.4
Resolution:                     |   Keywords:
      Port:  texlive-bin-extra  |
--------------------------------+----------------------

Comment (by ballapete):

 Replying to [comment:9 nstanger]:
 > Not for me. I only have MacPorts Tex Live installed, so it’s definitely
 not that. `texlive.tlpdb` just simply doesn’t exist anywhere on my
 machine.

 That's correct. This file is used by `tlmgr`, the `TeX Live Manager`. This
 is the tool that is used used to configure and update the `TeX Live`
 distribution. MacPorts brings excerpts to the Mac user, no `tlmgr`
 involved, no `texlive.tlpdb` needed.

 I don't speak Lua (yet?), but I can see inside `/opt/local/share/texmf-
 texlive/scripts/texdoc/texdoclib-search.tlu` that `texdoc` can distinguish
 between a **vanilla** `TeX Live` distribution and a re-packaged
 distribution as with MacPorts. And I can also remember a short period of
 time when `texdoc` did not work because of a re-implementation that was
 using a `realpath` function only existing in Linux. This happened just
 recently. (And is fixed now in TL.)

 Using MacPorts' `TeX Live` re-distribution I get the same result:

 {{{
 texdoc verbatim
 texdoc error: No texlive.tlpdb nor shipped tlpdb data found.
 Exit 2
 }}}

 **So MacPorts' `texdoc` does have a bug**.


 BTW, you can tell `texdoc` to use the command `open -a Skim.app %s` or
 such (TeXShop, Preview, Adobe's Acrobat Reader) to display PDF files.

 {{{
 texdoc debug-config: Setting "viewer_pdf=open -a Skim.app %s" in file
 "/Users/pete/Library/texmf/texdoc/texdoc.cnf" on line 32.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58615#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list