summaryrefslogtreecommitdiffstats
path: root/Doc/tools/mkhowto
Commit message (Collapse)AuthorAgeFilesLines
* switch to PNG navigation icons by defaultFred Drake2004-04-081-2/+2
|
* no longer assign into sys; "print chevron" is the way to goFred Drake2003-10-011-7/+6
|
* We're long past worrying about Python versions older than 1.5.2;Fred Drake2003-10-011-11/+0
| | | | remove old compatibility definition of os.path.abspath().
* re.sub expands escape sequences in it's second argument.Thomas Heller2003-09-271-1/+1
| | | | Will backport to 2.3 myself.
* - use string methodsFred Drake2003-09-271-12/+16
| | | | - make TEXINPUTS work the way it's supposed to in TeX-ish tools
* When an external application we use exits normally, exit with the sameFred Drake2003-05-141-2/+4
| | | | | | exit code they returned. All other types of exit from child processes are normalized to a return code of 1. Closes SF bug #732143.
* Clean up some files that LaTeX2HTML drops in the HTML output directoryFred Drake2003-01-171-0/+5
| | | | sometimes.
* Added support for --favicon.Fred Drake2002-10-301-1/+7
|
* build(): Use self.builddir, not self.doc when copying the icons, soBarry Warsaw2002-10-011-1/+1
| | | | they'll end up in the right directory when --dir is used.
* When the HTML output dir is specified using --dir=~/foo, the tildeFred Drake2002-10-011-1/+1
| | | | | needs to be expanded by mkhowto, since the shell won't touch it except at the start of the complete argument.
* Include the --dir argument in the help text.Fred Drake2002-10-011-0/+1
|
* Change the default path to icons so that "mkhowto" does the "right thing" byFred Drake2002-10-011-2/+2
| | | | | | default when used for 3rd-party docs. This requires the standard Python docs to specify a location, but they are a bit of a special case in sharing one set of icons among several documents.
* Don't use tempfile.mktemp(), since it produces annoying warnings, andFred Drake2002-08-271-5/+6
| | | | usually isn't what we want anyway.
* Remove meaningless comment.Fred Drake2001-12-041-3/+0
|
* Add a new option, --dvips-safe, which sets the $DVIPS_SAFE option inFred Drake2001-10-301-1/+30
| | | | | | | | LaTeX2HTML. This is not safe to do in general (for the reasons LaTeX2HTML protects against dvips to begin with), but is safe if we do not actually need to run dvips. Note that we also assume it is safe if the user specifically requests PostScript generation. See the comments for further explanation.
* Do more to be compatible with Windows/CygWin. Make error messages moreFred Drake2001-08-101-2/+14
| | | | | | informative when a child process dies with an error. This is a variation of parts of SF patch #429611.
* Job.__init__(): Only create the builddir directory if it will be used (byFred Drake2001-07-171-6/+7
| | | | | | | | building the HTML or text documentation). There is no need to create it for other formats. Job.build_html(): The builddir parameter is always passed in, so it need not be optional.
* Miscellaneous code cleanups.Fred Drake2001-06-231-4/+10
| | | | | Make sure we do not lose track of the build directory -- convert a user- supplied directory to an absolute path.
* Hack to make this play nicer with *old* versions of Python: os.path.abspath()Fred Drake2001-05-291-0/+10
| | | | | was not available in Python 1.5.1. (Yes, a user actually tried to use this with that version of Python!)
* Job.build_html(): Be more robust in ensuring about.html exists; copyingFred Drake2001-05-091-17/+16
| | | | | | | | | the right HTML file to the name about.html is needed even if the --numeric option was not given -- some other name may have been assigned due to some non-determinism in the algorithm use to perform name allocation. ;-( This closes the "About..." portion of SF bug #420216.
* Job.build_html(): When formatting HTML into more than one HTML page, andFred Drake2001-03-021-7/+25
| | | | | | | not doing the \label{foo} --> foo.html transformation (--numeric was specified on the command line), still look to see if there is an "About this document..." node and copy that to "about.html", since the page footers use that as the target.
* Add an option allowing the user to determine where the output HTML is built.Fred Drake2001-02-191-3/+8
| | | | | Provide a way to set the paper size by name instead of only supporting separate options for each size.
* Jon Nelson <jnelson@users.sourceforge.net>:Fred Drake2001-02-121-2/+2
| | | | Make the documentation tools compatibile with Python 2.0.
* Improve diagnostic output when an external command returns a non-zero exitFred Drake2001-02-041-0/+19
| | | | | | code, showing the transcript for that command. This closes SF bug #129740.
* Make HTML the default output format, since that is what people actuallyFred Drake2001-01-301-3/+3
| | | | want most of the time.
* Added a --global-module-index option to specify a (possibly relative) URLFred Drake2001-01-091-1/+6
| | | | | | | | | to the Global Module Index for a set of documents. This is used to include a reference to the global index from the per-document module indexes, so that it is just a little easier to find. (Someone suggested this, but I do not remember who. Please let me know if it was you -- thanks!)
* Make sure we clean up the index data each time it is written by LaTeX.Fred Drake2000-11-031-1/+4
|
* .use_latex(): Make this a little smarter so that it only runs pdflatexFred Drake2000-09-201-31/+24
| | | | | once if all the temporary files are available from building a DVI file. This can avoid two runs of pdflatex.
* Before running LaTeX2HTML, remove all the HTML files from the outputFred Drake2000-09-141-0/+3
| | | | | | directory. This avoids acretion of HTML from previous runs which may have a new name; this would have avoided a lot of the packaging problems related to changing labels from the old distutils documentation.
* Fix mkhowto so that the bookmarks for the PDF work for both "howto" andFred Drake2000-09-051-1/+5
| | | | "manual" class documents.
* Add --up-link and --up-title parameters to allow linking the top levelFred Drake2000-08-311-1/+12
| | | | | of the generated document to an external index. These correspond to the -up_url and -up_title parameters of LaTeX2HTML.
* Add --l2h-init option, which can augment the standard LaTeX2HTMLFred Drake2000-08-311-3/+11
| | | | | initialization with additional Perl files. This can be given more than once.
* Add a --style option to allow specifying an alternate CSS style sheet forFred Drake2000-08-291-4/+8
| | | | | | | | HTML generation; the machinery was there but no option to set it was defined. Simplify some of the path-math since we can assume a recent version of Python.
* Small changes to reflect changes in LaTeX2HTML support for newer versionsFred Drake2000-07-311-2/+5
| | | | of LaTeX2HTML.
* Only use one initialization file for LaTeX2HTML; more recent versions onlyFred Drake2000-07-241-4/+5
| | | | | use the last one specified on the command line instead of all of them. Smaller changes to reflect updated support.
* Removed --l2h-config option; it introduced unnecessary complexity andFred Drake2000-06-291-10/+1
| | | | is not needed anywhere.
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-0/+2
|
* Added --numeric option, similar to mkhtml.sh.Fred Drake2000-03-311-2/+7
|
* Added --about option to specify the file to load "About thisFred Drake1999-09-231-1/+8
| | | | document..." text from, defaulting to ../html/about.dat.
* Added --image-type option to allow use of either GIF or PNG images.Fred Drake1999-09-221-11/+38
| | | | | | | | | Job.warning(): New method; use this instead of writing to sys.stderr directly. Ensures warnings are also sent to the log file. Job.log(): New method; write a message to the log file. Use from .message() and .warning().
* Make it work for "manual" documents as well as "howto" documents.Fred Drake1999-05-061-17/+53
| | | | | This still doesn't understand anything about multiple source files or checking time dependencies.
* Make sure latex2html doesn't produce a hard link between foo/foo.htmlFred Drake1999-05-031-0/+3
| | | | | and foo/index.html. Make a copy instead. (Appearantly some tar openers on non-Unixlike systems can't handle hard links.)
* Record the value of $TEXINPUTS in the transcript.Fred Drake1999-03-031-6/+12
| | | | | Job.message(): New method. Takes care of writing a message to the user and adding it to the transcript.
* Re-written mkhowto in Python; this should be at least a little moreFred Drake1999-03-031-0/+444
portable. Several things that had been done by running a python script are now a matter of importing the right module and running a function with a few parameters.