Opened 10 years ago

Closed 5 years ago

Last modified 5 years ago

#26002 closed defect (wontfix)

doxygen fails to build documentation when using pTeX

Reported by: cssdev Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: takanori@…, drkp (Dan Ports), mojca (Mojca Miklavec), cooljeanius (Eric Gallager)
Port: doxygen texlive pTeX

Description

From comment:ticket:25774:7:

After the changes in r69976, 'doxygen +doc' fails to build with pTeX.

pTeX is a Japanese TeX distribution based on teTeX, and it contains tocloft.sty, so I tried to change the doxygen's dependency declaration like the following to allow building 'doxygen +doc' with not only TeXLive but also pTeX.

  from
    port:texlive-latex-extra
  to
    path:${prefix}/share/texmf-dist/tex/latex/tocloft/tocloft.sty:texlive-latex-extra

But it didn't work as expected, because the recent MacPorts' TeXLive installs its macro files into 'texmf-texlive-dist' directory, not 'texmf-dist' directory.

  pTeX:
  $ kpsewhich tocloft.sty
  /opt/local/share/texmf-dist/tex/latex/tocloft/tocloft.sty

  TeXLive:
  $ kpsewhich tocloft.sty
  /opt/local/share/texmf-texlive-dist/tex/latex/tocloft/tocloft.sty
                         ^^^^^^^^

Is there any smart way to solve this problem? Thanks in advance.

p.s.

Please not that this is not just a problem between TeXLive and pTeX. When port:MacTeX (or something) is released, the same problem will occur between TeXLive and MacTeX (or something).

In my current opinion, TeXLive should be reverted to use texmf-dist, not to use texmf-texlive-dist.

Change History (8)

comment:1 Changed 9 years ago by jmroot (Joshua Root)

Cc: dports@… added

comment:2 Changed 9 years ago by cssdev

So pTeX and TeXLive install a dependency into different locations? I'm not sure how best to resolve that without having some higher-level way to indicate which TeX package is the user's "preferred" implementation. Would a port need something like how X11 is handled to choose an implementation?

comment:3 Changed 7 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:4 Changed 7 years ago by mojca (Mojca Miklavec)

This would easily be solved if pTeX was providing just add-ons on top of TeX Live instead of providing a standalone distribution conflicting with TeX Live (and providing the same files on different places).

There are a lot of ways to fix this particular issue at hand, but none of them is really worth spending time on other than a proper integration of pTeX.

See the ticket #41980.

comment:5 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 7 years ago by mojca (Mojca Miklavec)

Version: 1.9.1

I would like to suggest to close this ticket as "wontfix". I don't see any reason to keep supporting pTeX as a separate distribution since TeX Live supports everything or nearly everything that pTeX users need. Let's fix #41980, make takanori comaintainer of texlive and forget about supporting zillions of distributions. It would be nice to support external MacTeX to spare 4 GB of disk space for example, but I see no reason for double maintainance of an abandoned distribution.

comment:7 Changed 5 years ago by mojca (Mojca Miklavec)

Resolution: wontfix
Status: newclosed

comment:8 Changed 5 years ago by mojca (Mojca Miklavec)

With pTeX gone this should no longer be a problem.

Note: See TracTickets for help on using tickets.