diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-03-28 00:32:05 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-03-28 00:32:05 +0000 |
commit | 8ca423ddf236af7b604f8cd539467dd4520302cf (patch) | |
tree | 11d12a1998d404f724e8205f31df47687d320ace /Master/tlpkg/doc | |
parent | c541c5132c331303daca622be27cecea60c8233a (diff) |
tlpkg/doc/tlinst-BT08.tex: revised.
git-svn-id: svn://tug.org/texlive/trunk@7194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/doc')
-rw-r--r-- | Master/tlpkg/doc/tlinst-BT08.tex | 72 |
1 files changed, 54 insertions, 18 deletions
diff --git a/Master/tlpkg/doc/tlinst-BT08.tex b/Master/tlpkg/doc/tlinst-BT08.tex index ae7c78044f6..dbfc433cd09 100644 --- a/Master/tlpkg/doc/tlinst-BT08.tex +++ b/Master/tlpkg/doc/tlinst-BT08.tex @@ -105,23 +105,61 @@ \section{What's new?} +\subsection{Multiplatform Installations} +It had always been possible to install \tl\ on a UNIX server and mount +the \tl\ directory on many platforms. On Windows there had been some +restrictions. Since \tl\ for Windows had been regarded as a +single-user system in the past, *|-sys|-Programs like |fmtutil-sys| or +|updmap-sys| had not been provided. Thus, it was necessary to provide +a separate |texmf.cnf| file for Windows. + +The *|-sys| programs could be implemented easily in |texlua|. There +are several reasons to use |texlua| for this purpose: +\begin{itemize} +\item |texlua| is a scripting language and therefore the programs are + platform independent and much easier to maintain than C programs. +\item |texlua| has \kpse\ compiled in. In a |texlua| script the + location of a particular file can be determined very fast. +\item |texlua| is a small, simple but very powerful programming + language. Its simplicity makes the code easy to maintain. +\end{itemize} + +In order to allow to use the same |texmf.cnf| for all platforms, Karl +Berry implemented tilde expansion to \kpse. That means that the entry +\begin{verbatim} + ~/texmf +\end{verbatim} +in |texmf.cnf| expands to +\begin{verbatim} + $HOME/texmf +\end{verbatim} +on UNIX, but to +\begin{verbatim} + %USERPROFILE%\texmf +\end{verbatim} +on Windows. + \subsection{Install \tl\ from the Internet} -The new \tl\ infrastructure allows for installations from a remote -server. Actually, there is no big difference between extracting a -compressed file from a CD or to download it first and then extract it. +It is now possible to install \tl\ from a remote server. Thanks to +the new infrastructure, the package database which is needed by the +installer in order to determine which packages have to be downloaded +and how to install them is a single file. + +Two installers for network downloads are provided. +|install-tl.tar.gz.| supports UNIX only. |install-tl.zip| +additionally contains a tiny subset of \pl\ for Windows which is +required to bootstrap the system. The latter works on all platforms +supported by \tl. The sole reason for providing a separate package +for UNIX is its significantly smaller size. -\subsection{Multiplatform Installations} -It had been possible to install \tl\ on a UNIX server and mount the -\tl\ directory on many platforms. Now, this should work for Wondows -too. -\subsection{New compression Algorithm} -Using |lzma| compression instead of |zip| reduces the size of the +\subsection{A new compression Algorithm} +Using |.tar.lzma| compression instead of |.zip| reduces the size of the compressed packages by 20\%. It cannot be assumed that |lzma| -decompressors are available on any platform. Fortunately there is a +decompressors are available on any platform, hence they have to be +provided for all platforms supported by \tl\. Fortunately there is a program `|lzmadec|' available for all platforms. The size of the -executable file is only 12\,kB. - +executable file is only 12\,kB. \subsection{Perl and Ghostscript} Though it can be assumed that \pl\ and \gs\ are installed on every @@ -131,10 +169,10 @@ avoid conflicts with instances of these programs already installed. A better solution is to hide these programs and make them visible only to the scripts which need them. This is done by wrapper scripts -written in \tlu\footnote{\tlu\ is Lua\TeX without \TeX}. The purpose -of these scripts is to start another program in a changed environment, -and \tlu\ turned out to be the ultimate programming language for such -wrappers because it has \kpse\ built in. +written in \tlu The purpose of these scripts is to start another +program in a changed environment, and \tlu\ turned out to be the +ultimate programming language for such wrappers because it has \kpse\ +built in. The most important batch files provided by \gs\ had been ported to \tlu\ too. @@ -145,5 +183,3 @@ The most important batch files provided by \gs\ had been ported to %\end{article} \end{document} - - |