openbsd-ports/print/texlive/base/pkg
edd 9d74c7305e Update to TeX Live 2013.
This incudes the new buildset texmf -- a smaller texmf tree used for
BUILD_DEPENDS. See the package README for more info on this.

OK espie@
2014-01-11 18:46:52 +00:00
..
DESCR * Fixes conTeXt found in TeX Live 2011. 2012-01-10 18:04:31 +00:00
PFRAG.shared Update to TeX Live 2010. 2011-03-08 00:09:42 +00:00
PFRAG.xindy update to texlive-2011, OK kili@ 2011-11-23 12:00:45 +00:00
PLIST Update to TeX Live 2013. 2014-01-11 18:46:52 +00:00
README Update to TeX Live 2013. 2014-01-11 18:46:52 +00:00

$OpenBSD: README,v 1.11 2014/01/11 18:46:52 edd Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Texmf Subsets
=============

There are a number of texmf trees in the OpenBSD packages:

texmf-buildset:
  The smallest of the subsets. This is primarily for building OpenBSD
  ports (approx 110M).

texmf-minimal:
  A teTeX like tree, suitable for casual TeX users who do not need many
  extra macros or ConTeXt (approx 319MB).

texmf-full:
  Extra macros (approx 247MB).

texmf-context:
  Macros for the conTeXt typesetter (approx 9MB).

  This was separated because conTeXt maintains it's own hashes separate
  from that of libkpse. As 99% of users don't use this, these hashes are
  generated only when the conTeXt macros are installed.

texmf-doc:
  Documentation for all of TeX Live (approx 510MB).

  To take load off the OpenBSD mirrors (all of the docs would be 1.1GB
  compressed package), this is only the documentation for the
  texmf-minimal tree. This should contains documentation for the most
  popular packages.

All sizes are approximate compressed package sizes and the texmf package
contents do not overlap.

There is a *lot* of functionality in texmf-full, so before reportng
"missing" features, please try installing texmf-full first. Eg. xindy
requires texmf-full.

User Local Texmf Trees
======================

Individual users may override or add to the TeX class and style files
supplied by TeX Live by installing them into ~/texmf. There is no need
to run mktexlsr(1) for a texmf tree in a user's $HOME. You can test the
installation by searching for the files using kpsewhich(1). Eg:

% find $HOME/texmf
/home/edd/texmf
/home/edd/texmf/tex
/home/edd/texmf/tex/latex
/home/edd/texmf/tex/latex/acronym
/home/edd/texmf/tex/latex/acronym/acronym.sty
% kpsewhich acronym.sty
/home/edd/texmf/tex/latex/acronym/acronym.sty

Upgrade From TeX Live 2009
==========================

Due to inconsistencies in the legacy TeX Live 2009 package, if you
upgraded from TeX live 2009 (at some point in the past) you may see the
package tools complain about non-empty directories. This is harmless,
but can be silenced by (having backed up anything manually added to
texmfs) removing all TeX Live packages, then `rm -Rf ${LOCALBASE}/share/texmf*`.
Now you can install afresh the new TeX Live packages.

Other Misc. Notes
=================

Tlmgr
-----

The 'tlmgr' script is disabled in the OpenBSD package. If you were to use
tlmgr to alter/update your texmf, the package tools would become rather upset.

Soft Dependencies
-----------------

Some requirements of TeX Live were not included as dependencies to make the
package less bloated for people who don't need those features.

As far as I know:

 * asymptote is in ports: graphics/asymptote
 * TeX Works is editors/texworks
 * latex-mk is print/latex-mk
 * textproc/py-pygments is required for the minted package.
 * converters/unix2dos is needed for installfont-tl script
 * x11/tk/${MODTK_VERSION} is needed for epspdftk
 * lang/ruby/${MODRUBY_LIBREV} is needed for convbkmk, epspdf, and
   other stuff.

If you know more, please mail the package maintainer.

Notes for Developers
--------------------

 * If you have a port which needs TeX stuff at build time, then it should
   BUILD_DEPENDS upon texlive_base which in turn will pull in
   texlive_texmf-buildset.

 * If the buildset is missing something that your port needs to build, then
   you can depend temporarily upon texlive_texmf-minimal or texlive_texmf-full.
   If you have to do this, please send an email to MAINTAINER so that we can
   have the support you need added to the buildset texmf.

 * If a non-texlive port installs texmf files then they should be installed
   into share/texmf-local, NOT share/texmf or share/texmf-dist.

Have fun TeXing.