Skip to content

Commit e259852

Browse files
author
loewis
committed
Patch #1107221: Updated "Working on Cygwin" section.
Will backport to 2.4. git-svn-id: http://svn.python.org/projects/python/trunk@38562 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 1572471 commit e259852

1 file changed

Lines changed: 28 additions & 17 deletions

File tree

Doc/doc/doc.tex

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,31 +1878,42 @@ \section{Processing Tools \label{tools}}
18781878
\subsection{Working on Cygwin \label{cygwin}}
18791879

18801880
Installing the required tools under Cygwin under Cygwin can be a
1881-
little tedious, if only because many packages are more difficult
1882-
to install under Cygwin.
1881+
little tedious. Most of the required packages can be installed
1882+
using Cygwin's graphical installer, while netpbm and \LaTeX2HTML
1883+
must be installed from source.
1884+
1885+
Start with a reasonably modern version of Cygwin. If you haven't
1886+
upgraded for a few years, now would be a good time.
18831887

18841888
Using the Cygwin installer, make sure your Cygwin installation
18851889
includes Perl, Python, and the \TeX{} packages. Perl and Python
1886-
are located under \menuselection{Interpreters} in the installer.
1887-
The \TeX{} packages are located in the \menuselection{Text}
1888-
section; installing the \code{tetex-beta}, \code{texmf},
1889-
\code{texmf-base}, and \code{texmf-extra} ensures that all the
1890-
required packages are available. (There may be a more minimal
1891-
set, but I've not spent time trying to minimize the installation.)
1890+
are located under the \menuselection{Interpreters} heading. The
1891+
\TeX{} packages are located under the \menuselection{Text}
1892+
heading, and are named \code{tetex-*}. To ensure that all
1893+
required packages are available, install every \code{tetex}
1894+
package, except \code{tetex-x11}. (There may be a more minimal
1895+
set, but I've not spent time trying to minimize the installation.)
18921896

18931897
The netpbm package is used by \LaTeX2HTML, and \emph{must} be
18941898
installed before \LaTeX2HTML can be successfully installed, even
1895-
though they will never be used for most Python documentation.
1896-
References to download locations are located in the \ulink{netpbm
1897-
README}{http://netpbm.sourceforge.net/README}. Install according
1898-
to the instructions.
1899+
though its features will not be used for most Python
1900+
documentation. References to download locations are located in
1901+
the \ulink{netpbm README}{http://netpbm.sourceforge.net/README}.
1902+
Install from the latest stable source distribution according to
1903+
the instructions. (Note that binary packages of netpbm are
1904+
sometimes available, but these may not work correctly with
1905+
\LaTeX2HTML.)
18991906

19001907
\LaTeX2HTML can be installed from the source archive, but only
1901-
after munging one of the files in the distribution. Edit the file
1902-
\file{L2hos.pm} in the top level of the unpacked distribution;
1903-
near the bottom of the file, change the text
1904-
\code{\$\textasciicircum{}O} with the text \code{'unix'}. Proceed
1905-
using this command to build and install the software:
1908+
after munging one of the files in the distribution. Download the
1909+
source archive from the \LaTeX2HTML website
1910+
\url{http://www.latex2html.org/} (or one of the many alternate
1911+
sites) and unpack it to a build directory. In the top level of
1912+
this build directory there will be a file named \file{L2hos.pm}.
1913+
Open \file{L2hos.pm} in an editor, and near the bottom of the file
1914+
replace the text \code{\$\textasciicircum{}O} with the text
1915+
\code{'unix'}. Proceed using this command to build and install
1916+
the software:
19061917

19071918
\begin{verbatim}
19081919
% ./configure && make install

0 commit comments

Comments
 (0)