56
T E X (Live) on Debian Norbert Preining Università di Siena, Italy EuroBachoT E X 2007 Bachotek, Poland 29 April 2007 Norbert Preining, T E X (Live) on Debian – EuroBachoT E X 2007, 1

TeX (Live) on Debianpreining/TeX/eurotex07-preining-talk.pdf · TEX (Live) on Debian Norbert Preining Università di Siena, Italy EuroBachoTEX 2007 Bachotek, Poland 29 April 2007

  • Upload
    others

  • View
    40

  • Download
    0

Embed Size (px)

Citation preview

TEX (Live) on Debian

Norbert Preining

Università di Siena, Italy

EuroBachoTEX 2007

Bachotek, Poland 29 April 2007

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 1

Current status

Etch = Stable

ñ teTEX 3

ñ TEX Live 2005

Lenny = Testing

ñ TEX Live 2007 (ev. 2008)

We will provide backports of TEX Live 2007 for Etch.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 2

Current status

Etch = Stable

ñ teTEX 3

ñ TEX Live 2005

Lenny = Testing

ñ TEX Live 2007 (ev. 2008)

We will provide backports of TEX Live 2007 for Etch.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 2

Debian TEX Live and ‘upstream’

Relation to upstream

ñ Debian packages are more or less one-to-one thecollections of TEX Live

ñ Some stuff is packaged independently for Debian

ñ Overlap of contributors between Debian and upstreamTEX Live

ñ bugs found in Debian packages are fixed from us alsoupstream

ñ we include only stuff that it is also in upstream

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 3

Debian TEX Live and ‘upstream’ (cont.)

Debian adaptions

Most adaption regard the handling of configuration:

ñ must be in /etc, in fact all of ‘our’ are in /etc/texmf

ñ upgrades must preserve changes of the administrator

ñ configuration must be preserved during aremoval/reinstallation cycle (not for purge)

Other things changed are the location of various texmftrees, font caching, etc.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 4

Various (system) paths

TEXMFSYSCONFIG Default location: /etc/texmfContains system-wide configuration

TEXMFSYSVAR Default location: /var/lib/texmf/Contains system-wide generated files

TEXMFLOCAL Default location:/usr/local/share/texmf/Contains system-wide input files

TEXMFMAIN Default location: /usr/share/texmf/Contains system-wide, dpkg-managed input files(TEX add-on packages)

TEXMFDIST Default location:/usr/share/texmf-texliveContains system-wide, dpkg-managed input files(basic TEX packages)

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 5

Various (user) paths

TEXMFCONFIG Default location:$HOME/.texmf-config/Contains user-specific configuration

TEXMFVAR Default location: $HOME/.texmf-var/Contains user-specific generated files

TEXMFHOME Default location: $HOME/texmf/Contains user-specific static input files, e.g. newLATEX packages.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 6

Case studies for changes to Debian TEX (Live)

The following most important task will be discussed fromsystem administrators and users perspective:

ñ Changing TEXMFHOMEfrom $HOME/texmf to $HOME/texlib

ñ Installation/Upgrade of a LATEX packageInstallation of the natbib package from ctan

ñ Installation of the mtpro2 font packageInstallation and activation of additional fonts for dvipsetc.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 7

Case studies for changes to Debian TEX (Live)

The following most important task will be discussed fromsystem administrators and users perspective:

ñ Changing TEXMFHOMEfrom $HOME/texmf to $HOME/texlib

ñ Installation/Upgrade of a LATEX packageInstallation of the natbib package from ctan

ñ Installation of the mtpro2 font packageInstallation and activation of additional fonts for dvipsetc.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 7

Case studies for changes to Debian TEX (Live)

The following most important task will be discussed fromsystem administrators and users perspective:

ñ Changing TEXMFHOMEfrom $HOME/texmf to $HOME/texlib

ñ Installation/Upgrade of a LATEX packageInstallation of the natbib package from ctan

ñ Installation of the mtpro2 font packageInstallation and activation of additional fonts for dvipsetc.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 7

Adaptions of and additions to texmf.cnf

Things to know:

ñ located in /etc/texmf/texmf.cnf(plus a link from /u/s/texmf/web2c/

ñ generated from snippets in /etc/texmf/texmf.d/

ñ updated by update-texmf

Rationale behind this: different packages can contribute newsnippets to texmf.cnf

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 8

Adaptions of and additions to texmf.cnf

Things to know:

ñ located in /etc/texmf/texmf.cnf(plus a link from /u/s/texmf/web2c/

ñ generated from snippets in /etc/texmf/texmf.d/

ñ updated by update-texmf

Rationale behind this: different packages can contribute newsnippets to texmf.cnf

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 8

Changing TEXMFHOME (as root)

Users in my institute traditionally have their input files in$HOME/texlib instead of $HOME/texmf. Instead ofmoving all the directories one can do this in two ways:

1. Edit /etc/texmf/texmf.d/05TeXMF.cnf

2. know kpathsea and add a file/etc/texmf/texmf.d/01local.cnf withanother TEXMFHOME setting, as earlier entries overridelater entries in texmf.cnf

After this call update-texmf.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 9

Changing TEXMFHOME (as user)

User override of (parts of) texmf.cnf is (currently) notpossible. The only way is knowing kpathsea, i.e.

ñ creating your own texmf.cnf

ñ setting the environment variable $TEXMFCNF

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 10

Upgrade/Installation of the natbib package

Assume that some package is missing or too old as shippedby Debian, and it should be available for all users. As systemadministrator you would do (using natbib as an example):

ñ get it fromCTAN/macros/latex/contrib/natbib,

ñ run latex over all .ins and .dtx files

ñ put.sty into $TEXMFLOCAL/tex/latex/natbib,.bst into $TEXMFLOCAL/bibtex/bst/natbib(install doc files whereever you want)

ñ call mktexlsr $TEXMFLOCAL

As user do the same with TEXMFHOME instead ofTEXMFLOCAL.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 11

Upgrade/Installation of the natbib package

Assume that some package is missing or too old as shippedby Debian, and it should be available for all users. As systemadministrator you would do (using natbib as an example):

ñ get it fromCTAN/macros/latex/contrib/natbib,

ñ run latex over all .ins and .dtx files

ñ put.sty into $TEXMFLOCAL/tex/latex/natbib,.bst into $TEXMFLOCAL/bibtex/bst/natbib(install doc files whereever you want)

ñ call mktexlsr $TEXMFLOCAL

As user do the same with TEXMFHOME instead ofTEXMFLOCAL.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 11

Upgrade/Installation of the natbib package

Assume that some package is missing or too old as shippedby Debian, and it should be available for all users. As systemadministrator you would do (using natbib as an example):

ñ get it fromCTAN/macros/latex/contrib/natbib,

ñ run latex over all .ins and .dtx files

ñ put.sty into $TEXMFLOCAL/tex/latex/natbib,.bst into $TEXMFLOCAL/bibtex/bst/natbib(install doc files whereever you want)

ñ call mktexlsr $TEXMFLOCAL

As user do the same with TEXMFHOME instead ofTEXMFLOCAL.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 11

Upgrade/Installation of the natbib package

Assume that some package is missing or too old as shippedby Debian, and it should be available for all users. As systemadministrator you would do (using natbib as an example):

ñ get it fromCTAN/macros/latex/contrib/natbib,

ñ run latex over all .ins and .dtx files

ñ put.sty into $TEXMFLOCAL/tex/latex/natbib,.bst into $TEXMFLOCAL/bibtex/bst/natbib(install doc files whereever you want)

ñ call mktexlsr $TEXMFLOCAL

As user do the same with TEXMFHOME instead ofTEXMFLOCAL.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 11

Upgrade/Installation of the natbib package

Assume that some package is missing or too old as shippedby Debian, and it should be available for all users. As systemadministrator you would do (using natbib as an example):

ñ get it fromCTAN/macros/latex/contrib/natbib,

ñ run latex over all .ins and .dtx files

ñ put.sty into $TEXMFLOCAL/tex/latex/natbib,.bst into $TEXMFLOCAL/bibtex/bst/natbib(install doc files whereever you want)

ñ call mktexlsr $TEXMFLOCAL

As user do the same with TEXMFHOME instead ofTEXMFLOCAL.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 11

Upgrade/Installation of the natbib package

Assume that some package is missing or too old as shippedby Debian, and it should be available for all users. As systemadministrator you would do (using natbib as an example):

ñ get it fromCTAN/macros/latex/contrib/natbib,

ñ run latex over all .ins and .dtx files

ñ put.sty into $TEXMFLOCAL/tex/latex/natbib,.bst into $TEXMFLOCAL/bibtex/bst/natbib(install doc files whereever you want)

ñ call mktexlsr $TEXMFLOCAL

As user do the same with TEXMFHOME instead ofTEXMFLOCAL.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 11

Installation of a font package (system wide)

One of the more complicated parts is the installation andactivation of new fonts. We will go through the example ofthe MathTimePro2 font set.

Installation of the files

Unzip the received zip file mtp2fonts.zip. This packagesis already shipped as a TEXMF-tree, so just copy all the filesunder texmf to the same location in TEXMFLOCAL, e.g.,cp -a texmf/* /usr/local/share/texmf.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 12

Installation of a font package (system wide)

One of the more complicated parts is the installation andactivation of new fonts. We will go through the example ofthe MathTimePro2 font set.

Installation of the files

Unzip the received zip file mtp2fonts.zip. This packagesis already shipped as a TEXMF-tree, so just copy all the filesunder texmf to the same location in TEXMFLOCAL, e.g.,cp -a texmf/* /usr/local/share/texmf.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 12

Installation of the files (cont.)If the package is not shipped as a TEXMF-tree you have toinstall all the files you have obtained as into the right placesin TEXMFLOCAL, i.e.,

.sty,.tex,.fd into$TEXMFLOCAL/tex/latex/foo

.map into$TEXMFLOCAL/fonts/map/dvips/foo

.tfm into $TEXMFLOCAL/fonts/tfm/company/foo

.pfb into $TEXMFLOCAL/fonts/type1/company/foo

.vf into$TEXMFLOCAL/fonts/vf/company/foo

(not all of these files have to be present).Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 13

Installation of the files (cont.)

Run mktexlsr

Now the file will be found from TEX, but neither dvips, norpdftex, nor xdvi will recognize these fonts and will notdisplay the fonts correctly.

Activation of the fonts

Activation of the fonts are done by adding snippets to/etc/texmf/updmap.d/ from which the finalupdmap.cfg is generated by update-updmap.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 14

Installation of the files (cont.)

Run mktexlsr

Now the file will be found from TEX, but neither dvips, norpdftex, nor xdvi will recognize these fonts and will notdisplay the fonts correctly.

Activation of the fonts

Activation of the fonts are done by adding snippets to/etc/texmf/updmap.d/ from which the finalupdmap.cfg is generated by update-updmap.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 14

Installation of the files (cont.)

Run mktexlsr

Now the file will be found from TEX, but neither dvips, norpdftex, nor xdvi will recognize these fonts and will notdisplay the fonts correctly.

Activation of the fonts

Activation of the fonts are done by adding snippets to/etc/texmf/updmap.d/ from which the finalupdmap.cfg is generated by update-updmap.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 14

Activation of the fonts – the Debian way

We have to activate the map file mtpro2.map. The bestway for this is:

ñ create a file 90local-mtpro2.cfg in/etc/texmf/updmap.d/ containing the lineMap mtpro2.map.

ñ call (as root) update-updmap, this recreates/var/lib/texmf/web2c/updmap.cfg from thesnippets in /etc/texmf/updmap.d/

ñ call updmap-sys as usual to regenerate theconfiguration files for dvips, etc.

Alternative way would be to put all locally installed map filesin one file /etc/texmf/updmap.d/99local.cfg

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 15

Activation of the fonts – the Debian way

We have to activate the map file mtpro2.map. The bestway for this is:

ñ create a file 90local-mtpro2.cfg in/etc/texmf/updmap.d/ containing the lineMap mtpro2.map.

ñ call (as root) update-updmap, this recreates/var/lib/texmf/web2c/updmap.cfg from thesnippets in /etc/texmf/updmap.d/

ñ call updmap-sys as usual to regenerate theconfiguration files for dvips, etc.

Alternative way would be to put all locally installed map filesin one file /etc/texmf/updmap.d/99local.cfg

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 15

Activation of the fonts – the Debian way

We have to activate the map file mtpro2.map. The bestway for this is:

ñ create a file 90local-mtpro2.cfg in/etc/texmf/updmap.d/ containing the lineMap mtpro2.map.

ñ call (as root) update-updmap, this recreates/var/lib/texmf/web2c/updmap.cfg from thesnippets in /etc/texmf/updmap.d/

ñ call updmap-sys as usual to regenerate theconfiguration files for dvips, etc.

Alternative way would be to put all locally installed map filesin one file /etc/texmf/updmap.d/99local.cfg

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 15

Activation of the fonts – the Debian way

We have to activate the map file mtpro2.map. The bestway for this is:

ñ create a file 90local-mtpro2.cfg in/etc/texmf/updmap.d/ containing the lineMap mtpro2.map.

ñ call (as root) update-updmap, this recreates/var/lib/texmf/web2c/updmap.cfg from thesnippets in /etc/texmf/updmap.d/

ñ call updmap-sys as usual to regenerate theconfiguration files for dvips, etc.

Alternative way would be to put all locally installed map filesin one file /etc/texmf/updmap.d/99local.cfg

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 15

Activation of the fonts – the Debian way

We have to activate the map file mtpro2.map. The bestway for this is:

ñ create a file 90local-mtpro2.cfg in/etc/texmf/updmap.d/ containing the lineMap mtpro2.map.

ñ call (as root) update-updmap, this recreates/var/lib/texmf/web2c/updmap.cfg from thesnippets in /etc/texmf/updmap.d/

ñ call updmap-sys as usual to regenerate theconfiguration files for dvips, etc.

Alternative way would be to put all locally installed map filesin one file /etc/texmf/updmap.d/99local.cfg

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 15

Why update-updmap?

ñ Takes the job of the TEX Live installer which reads theinformation from the tpm files

ñ Several packages can ship fonts/map files and it must bepossible to independently acticate/deactivate them(lmodern, cm-super, latex-cjk, . . . )

ñ the format of updmap.cfg cannot carry the necessaryinformation on installation status of a package in Debian(installed, removed, purged)

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 16

Why update-updmap?

ñ Takes the job of the TEX Live installer which reads theinformation from the tpm files

ñ Several packages can ship fonts/map files and it must bepossible to independently acticate/deactivate them(lmodern, cm-super, latex-cjk, . . . )

ñ the format of updmap.cfg cannot carry the necessaryinformation on installation status of a package in Debian(installed, removed, purged)

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 16

Why update-updmap?

ñ Takes the job of the TEX Live installer which reads theinformation from the tpm files

ñ Several packages can ship fonts/map files and it must bepossible to independently acticate/deactivate them(lmodern, cm-super, latex-cjk, . . . )

ñ the format of updmap.cfg cannot carry the necessaryinformation on installation status of a package in Debian(installed, removed, purged)

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 16

Why update-updmap?

ñ Takes the job of the TEX Live installer which reads theinformation from the tpm files

ñ Several packages can ship fonts/map files and it must bepossible to independently acticate/deactivate them(lmodern, cm-super, latex-cjk, . . . )

ñ the format of updmap.cfg cannot carry the necessaryinformation on installation status of a package in Debian(installed, removed, purged)

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 16

Problems with updmap-sys --enable?

As recommended on the net, in faqs, etc., many people tryto call updmap-sys --enable

, but:

ñ It changes the updmap.cfg file directly

ñ it keeps no memory of what was added/removed over aremoval/reinstallation of TEX Live

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 17

Problems with updmap-sys --enable?

As recommended on the net, in faqs, etc., many people tryto call updmap-sys --enable, but:

ñ It changes the updmap.cfg file directly

ñ it keeps no memory of what was added/removed over aremoval/reinstallation of TEX Live

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 17

Debian solution to updmap-sys --enable

The Debian updmap is patched such that when it is calledwith the arguments --enable or --disable it

ñ warns the user that this is not the way

ñ writes changes to/etc/texmf/updmap.d/99local.cfg

ñ calls update-updmap

ñ re-calls itself

Advantages

ñ upgrade of the TEX system still leaves the locallyinstalled fonts active

ñ recommendations still work

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 18

Debian solution to updmap-sys --enable

The Debian updmap is patched such that when it is calledwith the arguments --enable or --disable it

ñ warns the user that this is not the way

ñ writes changes to/etc/texmf/updmap.d/99local.cfg

ñ calls update-updmap

ñ re-calls itself

Advantages

ñ upgrade of the TEX system still leaves the locallyinstalled fonts active

ñ recommendations still work

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 18

Installation of a font package (for one user)

Installation of a font pack only for yourself and not systemwide proceeds along the same lines as above, by firstinstalling the fonts into $TEXMFHOME instead of$TEXMFLOCAL.

Activation of the map is more difficult, because all theconfiguration files have to be written into$HOME/.texmf-config.

When update-updmap is called by a normal user (uid 6= 0)then it acts a bit different:

It merges all snippets present in/etc/texmf/updmap.d/ and$HOME/.texmf-config/updmap.d/, but if there aresnippets with the same name, the one on the user directoryshadows the system wide one.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 19

Installation of a font package (for one user)

Installation of a font pack only for yourself and not systemwide proceeds along the same lines as above, by firstinstalling the fonts into $TEXMFHOME instead of$TEXMFLOCAL.

Activation of the map is more difficult, because all theconfiguration files have to be written into$HOME/.texmf-config.

When update-updmap is called by a normal user (uid 6= 0)then it acts a bit different:

It merges all snippets present in/etc/texmf/updmap.d/ and$HOME/.texmf-config/updmap.d/, but if there aresnippets with the same name, the one on the user directoryshadows the system wide one.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 19

Installation of a font package (for one user)

Installation of a font pack only for yourself and not systemwide proceeds along the same lines as above, by firstinstalling the fonts into $TEXMFHOME instead of$TEXMFLOCAL.

Activation of the map is more difficult, because all theconfiguration files have to be written into$HOME/.texmf-config.

When update-updmap is called by a normal user (uid 6= 0)then it acts a bit different:

It merges all snippets present in/etc/texmf/updmap.d/ and$HOME/.texmf-config/updmap.d/, but if there aresnippets with the same name, the one on the user directoryshadows the system wide one.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 19

Installation of a font package (for one user)

Installation of a font pack only for yourself and not systemwide proceeds along the same lines as above, by firstinstalling the fonts into $TEXMFHOME instead of$TEXMFLOCAL.

Activation of the map is more difficult, because all theconfiguration files have to be written into$HOME/.texmf-config.

When update-updmap is called by a normal user (uid 6= 0)then it acts a bit different:

It merges all snippets present in/etc/texmf/updmap.d/ and$HOME/.texmf-config/updmap.d/, but if there aresnippets with the same name, the one on the user directoryshadows the system wide one.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 19

Example

Assume that I have my own Sanskrit fonts installed whichprovide fonts skt10 etc, but the system file10latex-sanskrit.cfg already activates skt.mapwhich contains different definitions for these fonts.

So I create 10latex-sanskrit.cfg in$HOME/.texmf-config/updmap.d/ and call (as user!)update-updmap.

Files present in /etc/texmf/updmap.d/:10texlive-base.cfg,10texlive-latex-base.cfg,10latex-sanskrit.cfg.

Files present in $HOME/.texmf-config/updmap.d/:10latex-sanskrit.cfg.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 20

Example

Assume that I have my own Sanskrit fonts installed whichprovide fonts skt10 etc, but the system file10latex-sanskrit.cfg already activates skt.mapwhich contains different definitions for these fonts.

So I create 10latex-sanskrit.cfg in$HOME/.texmf-config/updmap.d/ and call (as user!)update-updmap.

Files present in /etc/texmf/updmap.d/:10texlive-base.cfg,10texlive-latex-base.cfg,10latex-sanskrit.cfg.

Files present in $HOME/.texmf-config/updmap.d/:10latex-sanskrit.cfg.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 20

Example

Assume that I have my own Sanskrit fonts installed whichprovide fonts skt10 etc, but the system file10latex-sanskrit.cfg already activates skt.mapwhich contains different definitions for these fonts.

So I create 10latex-sanskrit.cfg in$HOME/.texmf-config/updmap.d/ and call (as user!)update-updmap.

Files present in /etc/texmf/updmap.d/:10texlive-base.cfg,10texlive-latex-base.cfg,10latex-sanskrit.cfg.

Files present in $HOME/.texmf-config/updmap.d/:10latex-sanskrit.cfg.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 20

Example

Assume that I have my own Sanskrit fonts installed whichprovide fonts skt10 etc, but the system file10latex-sanskrit.cfg already activates skt.mapwhich contains different definitions for these fonts.

So I create 10latex-sanskrit.cfg in$HOME/.texmf-config/updmap.d/ and call (as user!)update-updmap.

Files present in /etc/texmf/updmap.d/:10texlive-base.cfg,10texlive-latex-base.cfg,10latex-sanskrit.cfg.

Files present in $HOME/.texmf-config/updmap.d/:10latex-sanskrit.cfg.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 20

Merging of updmap.d snippets

Files used for system wide updmap.cfg generation:

/etc/texmf/updmap.d/10texlive-base.cfg,/etc/texmf/updmap.d/10texlive-latex-base.cfg,

/etc/texmf/updmap.d/10latex-sanskrit.cfg.

Files used for user specific updmap.cfg generation:

/etc/texmf/updmap.d/10texlive-base.cfg,/etc/texmf/updmap.d/10texlive-latex-base.cfg,

$HOME/.texmf-config/updmap.d/10latex-sanskrit.cfg.

Call updmap.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 21

Merging of updmap.d snippets

Files used for system wide updmap.cfg generation:

/etc/texmf/updmap.d/10texlive-base.cfg,/etc/texmf/updmap.d/10texlive-latex-base.cfg,

/etc/texmf/updmap.d/10latex-sanskrit.cfg.

Files used for user specific updmap.cfg generation:

/etc/texmf/updmap.d/10texlive-base.cfg,/etc/texmf/updmap.d/10texlive-latex-base.cfg,

$HOME/.texmf-config/updmap.d/10latex-sanskrit.cfg.

Call updmap.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 21

Merging of updmap.d snippets

Files used for system wide updmap.cfg generation:

/etc/texmf/updmap.d/10texlive-base.cfg,/etc/texmf/updmap.d/10texlive-latex-base.cfg,

/etc/texmf/updmap.d/10latex-sanskrit.cfg.

Files used for user specific updmap.cfg generation:

/etc/texmf/updmap.d/10texlive-base.cfg,/etc/texmf/updmap.d/10texlive-latex-base.cfg,

$HOME/.texmf-config/updmap.d/10latex-sanskrit.cfg.

Call updmap.

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 21

Problems with user specific updmap.cfg

ñ changes to the system configuration files are nottransferred to the user file – the user has to callupdate-updmap and updmap after everyfundamental change.

ñ user config file creates problems (“Why does this or thatnot work?” – Because you have this config file whichoverrides the good default)

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 22

Hyphenation patterns and formats

Definition of hyphenation patterns and formats use the verysame system as for map files (in fact there is only oneupdate-* script), with:

ñ updmap.d is replaced by language.d or fmt.d

ñ update-updmap is replaced by update-languageor update-fmtutil

ñ updmap(-sys is replaced by fmtutil-sys

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 23

Other things which might be of interest

We are trying to keep the Debian TEX system as up to date aspossible, within the precincts of stability for a release:

ñ TEX Live 2007 is in Debian/unstable, bringing XeTEX toDebian users (and hopefully soon in testing)

ñ LuaTEX(-snapshot) is in Debian/unstable

ñ independent ConTEXt packages (independent from theTEX Live packages) are included and updated regularly

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 24

Current work

The Debian TEX Task Force([email protected]) iscurrently working on:

ñ smoothing the upgrade from teTEX3 and TEX Live 2005 toTEX Live 2007

ñ trying to make all packages in Debian currentlydepending on teTEX only to work with TEX Live (rundependencies are more or less done, build-deps open)

ñ (planned) creating backports of TEX Live 2007 and otherpackages for Debian Etch

ñ drowning in bugs since the upload to unstable ;-)

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 25

Conclusion

If you want to help

ML [email protected] http://svn.debian.org/wsvn/debian-tex

The Subversion repository contains all the Debian specificcode for the following packages: TEX Common (Debianspecific), TEX Live, TEXinfo, Latin Modern fonts, CM-Superfonts, ConTEXt, LuaTEX.

Thanks for the attention

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 26

Conclusion

If you want to help

ML [email protected] http://svn.debian.org/wsvn/debian-tex

The Subversion repository contains all the Debian specificcode for the following packages: TEX Common (Debianspecific), TEX Live, TEXinfo, Latin Modern fonts, CM-Superfonts, ConTEXt, LuaTEX.

Thanks for the attention

Norbert Preining, TEX (Live) on Debian – EuroBachoTEX 2007, 26