Difference between revisions of "TeX Live 2011"

From Wiki
Jump to navigation Jump to search
m (a reminder of non-critical patches for ConTeXt in TL)
(initial new page)
Line 1: Line 1:
{{Todo|this page is still just a stub with a pointer to pretest installation of TL 2011, details about TL 2011 will be filled later, like they are for [[TeX Live 2010]]}}
+
== Introduction ==
  
TeX Live 2011 has not been released yet, but you can fetch it from
+
The ConTeXt in TeX Live 2011 is [[Context 2011.05.18 | 2010.05.18]] with a few small changes. Both ConTeXt MkII and MkIV work out the box.
* http://www.tug.org/texlive/pretest.html
+
 
 +
The ''scheme-context'' installs ''collection-context'' and ''collection-metapost''. This brings in quite a few font families, but we did not want to automatically install all font packages, so you may need to install a few by hand with <tt>tlmgr</tt>.
 +
 
 +
== Running MkII ==
 +
 
 +
The English interface for both pdftex and xetex is automatically managed by <tt>fmtutil</tt>.
 +
Just run
 +
  $ texexec <myfile>
 +
to compile documents using pdfTeX, or
 +
  $ texexec --engine=xetex <myfile>
 +
for XeTeX.
 +
 
 +
=== Enabling other MkII interfaces ===
 +
 
 +
You will need write permissions to TEXMFSYSVAR to enable the other context language interfaces. So if you cannot
 +
do the following steps below, point your local administrator to this page and kindly ask him/her to run the
 +
commands below for you.
 +
 
 +
Adding extra context interfaces follows the same rules as for any other local format. The process is a little
 +
complicated because the normal <code>fmtutil.cnf</code> may be overwritten by package updates, and therefore a local file has to be created.
 +
 
 +
1. Look for the commented cont-''XX'' lines in <code>fmtutil.cnf</code>. Use
 +
  $ kpsewhich fmtutil.cnf
 +
to find its exact location. You only need the commented lines, there is no need to copy anything else.
 +
 
 +
2. Create or edit the file <code>$TEXMFLOCAL/web2c/fmtutil-local.cnf</code>.  <code>$TEXMFLOCAL</code> is something like <code>/usr/local/texlive/texmf-local</code>, you can use
 +
  $ kpsewhich --expand-var '$TEXMFLOCAL'
 +
to find the exact location.
 +
 
 +
3. Put the commented cont-'XX' lines you found in step 1 into the <code>fmtutil-local.cnf</code> file.
 +
If you want xetex formats as well, make a copy of each line replacing <code>pdftex</code> with <code>xetex</code>. Then uncomment these lines, save the file, and exit the editor.
 +
 
 +
After this, the <code>$TEXMFLOCAL/web2c/fmtutil-local.cnf</code> (or the new section of it, if it preexisted) should look like this:
 +
  cont-de pdftex cont-usr.tex -8bit *cont-de.ini
 +
  cont-de xetex cont-usr.tex -8bit *cont-de.ini
 +
  cont-fr pdftex cont-usr.tex -8bit *cont-fr.ini
 +
  cont-fr xetex cont-usr.tex -8bit *cont-fr.ini
 +
  cont-it pdftex cont-usr.tex -8bit *cont-it.ini
 +
  cont-it xetex cont-usr.tex -8bit *cont-it.ini
 +
  cont-nl pdftex cont-usr.tex -8bit *cont-nl.ini
 +
  cont-nl xetex cont-usr.tex -8bit *cont-nl.ini
 +
  cont-ro pdftex cont-usr.tex -8bit *cont-ro.ini
 +
  cont-ro xetex cont-usr.tex -8bit *cont-ro.ini
 +
 
 +
4. If you created a new file, now run
 +
  # mktexlsr
 +
to make sure the file will be found by the TeX Live system.
 +
 
 +
5. Now run
 +
  # tlmgr generate fmtutil
 +
This merges the info from the TeX Live distribution with the <code>fmtutil-local.cnf</code>.
 +
 
 +
6. Now to generate the newly enabled ConTeXt MkII formats, run
 +
  # fmtutil-sys --all
 +
from now on, the extra formats will be auto-renewed whenever context updates are installed via <code>tlmgr</code>.
 +
 
 +
== Running MkIV ==
 +
 
 +
Just run
 +
  $ context <myfile>
 +
to compile documents.
 +
 
 +
== MkIV cache location ==
 +
 
 +
Context MkIV in Standard TeX Live will create the data cache in <code>~/.texlive2011/texmf-var</code>;
 +
Context MkIV in MacTex will use <code>~/Library/texlive/2011/texmf-var</code>. If you are unhappy with that, you can set the environment variable <tt>TEXMFCACHE</tt> to your preferred location.
 +
 
 +
== ConTeXt 2011.05.18 changes ==
 +
 
 +
* Because the copyright of the ''koeielogos'' and ''koeieletters'' fonts does not allow modifications, the relevant files are not included (this was also the case in previous years).
 +
* The files from [[cont-mpd.zip]] are in the package ''mptopdf''. The ''context'' package depends on ''mptopdf'', so installation is automatic.
 +
* The symbol fonts from Janusz Nowacki are in the package ''jmn''. The ''context'' package depends on ''jmn'', so installation is automatic.
 +
* Mojca and Taco applied a few hot-fixes for some quite serious bugs:
 +
** ...
  
If you want to install [[MacTeX]] 2011, you should grab a zip file from pretest mirrors.
 
  
 
==== For developers only ====
 
==== For developers only ====

Revision as of 13:17, 20 July 2011

Introduction

The ConTeXt in TeX Live 2011 is 2010.05.18 with a few small changes. Both ConTeXt MkII and MkIV work out the box.

The scheme-context installs collection-context and collection-metapost. This brings in quite a few font families, but we did not want to automatically install all font packages, so you may need to install a few by hand with tlmgr.

Running MkII

The English interface for both pdftex and xetex is automatically managed by fmtutil. Just run

 $ texexec <myfile>

to compile documents using pdfTeX, or

 $ texexec --engine=xetex <myfile>

for XeTeX.

Enabling other MkII interfaces

You will need write permissions to TEXMFSYSVAR to enable the other context language interfaces. So if you cannot do the following steps below, point your local administrator to this page and kindly ask him/her to run the commands below for you.

Adding extra context interfaces follows the same rules as for any other local format. The process is a little complicated because the normal fmtutil.cnf may be overwritten by package updates, and therefore a local file has to be created.

1. Look for the commented cont-XX lines in fmtutil.cnf. Use

 $ kpsewhich fmtutil.cnf

to find its exact location. You only need the commented lines, there is no need to copy anything else.

2. Create or edit the file $TEXMFLOCAL/web2c/fmtutil-local.cnf. $TEXMFLOCAL is something like /usr/local/texlive/texmf-local, you can use

 $ kpsewhich --expand-var '$TEXMFLOCAL'

to find the exact location.

3. Put the commented cont-'XX' lines you found in step 1 into the fmtutil-local.cnf file. If you want xetex formats as well, make a copy of each line replacing pdftex with xetex. Then uncomment these lines, save the file, and exit the editor.

After this, the $TEXMFLOCAL/web2c/fmtutil-local.cnf (or the new section of it, if it preexisted) should look like this:

 cont-de pdftex cont-usr.tex -8bit *cont-de.ini
 cont-de xetex cont-usr.tex -8bit *cont-de.ini
 cont-fr pdftex cont-usr.tex -8bit *cont-fr.ini
 cont-fr xetex cont-usr.tex -8bit *cont-fr.ini
 cont-it pdftex cont-usr.tex -8bit *cont-it.ini
 cont-it xetex cont-usr.tex -8bit *cont-it.ini
 cont-nl pdftex cont-usr.tex -8bit *cont-nl.ini
 cont-nl xetex cont-usr.tex -8bit *cont-nl.ini
 cont-ro pdftex cont-usr.tex -8bit *cont-ro.ini
 cont-ro xetex cont-usr.tex -8bit *cont-ro.ini

4. If you created a new file, now run

  # mktexlsr

to make sure the file will be found by the TeX Live system.

5. Now run

  # tlmgr generate fmtutil

This merges the info from the TeX Live distribution with the fmtutil-local.cnf.

6. Now to generate the newly enabled ConTeXt MkII formats, run

  # fmtutil-sys --all

from now on, the extra formats will be auto-renewed whenever context updates are installed via tlmgr.

Running MkIV

Just run

 $ context <myfile>

to compile documents.

MkIV cache location

Context MkIV in Standard TeX Live will create the data cache in ~/.texlive2011/texmf-var; Context MkIV in MacTex will use ~/Library/texlive/2011/texmf-var. If you are unhappy with that, you can set the environment variable TEXMFCACHE to your preferred location.

ConTeXt 2011.05.18 changes

  • Because the copyright of the koeielogos and koeieletters fonts does not allow modifications, the relevant files are not included (this was also the case in previous years).
  • The files from cont-mpd.zip are in the package mptopdf. The context package depends on mptopdf, so installation is automatic.
  • The symbol fonts from Janusz Nowacki are in the package jmn. The context package depends on jmn, so installation is automatic.
  • Mojca and Taco applied a few hot-fixes for some quite serious bugs:
    • ...


For developers only

A list of patches to be applied after TL 2011 is released:

  • remove data-kps.lua, trac-lmx.mkiv, x-cals-test.cdx
  • fmvr8x -> umvs
  • poltawski -> \loadmapfile[ap-\typescriptthree.map]