Upstream TeX Live man pages: Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


* <code># manctl -compress /usr/local/texlive/2024/texmf-dist/doc/man/</code>
* <code># manctl -compress /usr/local/texlive/2024/texmf-dist/doc/man/</code>
This compress the man pages and, most important, eliminate <code>.so's</code> (which practically not supported by mandoc). <code>manctl</code> replaces <code>.so</code>'s with hard links.
This compress the man pages and, most important, eliminate <code>.so's</code> (which practically not supported by mandoc). <code>manctl</code> replaces <code>.so's</code> with hard links.

Revision as of 21:47, 5 November 2024

Suppose we install the upstream TeX Live from TUG to /usr/local/texlive/20XX/ and the executables are in /usr/local/texlive/20XX/bin/amd64-freebsd.

  • # ln -s ../../texmf-dist/doc/man /usr/local/texlive/2024/bin/amd64-freebsd/man

This allows manpath find the man pages.

  • # manctl -compress /usr/local/texlive/2024/texmf-dist/doc/man/

This compress the man pages and, most important, eliminate .so's (which practically not supported by mandoc). manctl replaces .so's with hard links.