--- plastex-0.9.2.orig/debian/pycompat +++ plastex-0.9.2/debian/pycompat @@ -0,0 +1 @@ +2 --- plastex-0.9.2.orig/debian/README.source +++ plastex-0.9.2/debian/README.source @@ -0,0 +1,9 @@ +This package is using dpatch patch system. + +To patch the source: + * debian/rules patch +To add a new patch: + * put it under debian/patches + * add it to debian/patches/00list + +See /usr/share/doc/dpatch/README.source.gz for more information. --- plastex-0.9.2.orig/debian/copyright +++ plastex-0.9.2/debian/copyright @@ -0,0 +1,201 @@ +This package was debianized by Carl Fürstenberg on +Wed, 18 Jul 2007 20:07:24 +0200. + +It was downloaded from http://plastex.sourceforge.net/ + +Upstream Author: + + Kevin D. Smith + +Copyright: + + Copyright © 2007 Kevin D. Smith + +License: + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +The Debian packaging is © 2007, Carl Fürstenberg and +is licensed under the GPL, version 2 or later, +see `/usr/share/common-licenses/GPL'. + +------------------------------------------------------------------------------- + +Additional Copyrights: + * plasTeX/Renderers/PageTemplate/simpletal/: + © 2004-2005 Colin Stewart (http://www.owlfish.com/) + + * plasTeX/Base/LaTeX/allkeys.txt: + © 2001-2006 Unicode, Inc. + + * plasTeX/Renderers/S5: + © 1995-2007 Eric A. Meyer + + * plasTeX/Base/LaTeX/ent.xml: + © 2000,2007 Rune Mathisen, Vidar Bronken Gundersen. http://www.bitjungle.com/isoent + + * pyuca.py: + © 2006 James Tauber + +------------------------------------------------------------------------------- + +Additional licenses: + * plasTeX/Renderers/PageTemplate/simpletal/: + SimpleTAL 4.1 + -------------------------------------------------------------------- + Copyright (c) 2005 Colin Stewart (http://www.owlfish.com/) + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + * plasTeX/Base/LaTeX/allkeys.txt: + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, and + http://www.unicode.org/cldr/data/ . Unicode Software includes any source + code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, and + http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA + FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY + ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS + AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE + OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-2007 Unicode, Inc. All rights reserved. Distributed under + the Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of the Unicode data files and any associated documentation (the "Data Files") + or Unicode software and any associated documentation (the "Software") to + deal in the Data Files or Software without restriction, including without + limitation the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit persons to + whom the Data Files or Software are furnished to do so, provided that (a) + the above copyright notice(s) and this permission notice appear with all + copies of the Data Files or Software, (b) both the above copyright notice(s) + and this permission notice appear in associated documentation, and (c) there + is clear notice in each modified Data File or in the Software as well as in + the documentation associated with the Data File(s) or Software that the data + or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall not + be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written authorization + of the copyright holder. + + Unicode and the Unicode logo are trademarks of Unicode, Inc., and may be + registered in some jurisdictions. All other trademarks and registered + trademarks mentioned herein are the property of their respective owners. + + * plasTeX/Renderers/S5: + From http://meyerweb.com/eric/tools/s5/faq.html: + "What are the licensing terms, and how do they affect the content of a slide + show done in S5? + + First, whatever license S5 has or did have, it will only ever apply to the + technology, not the content. You can prepare a confidential presentation + where the content is not only copyrighted and patented, but Top Secret as + well. S5's license will not affect it. + + As of version 1.1, the technology itself has been explicitly released + into the Public Domain, so there are no restrictions whatsoever on its use + or reuse (nor can there ever be). S5 v1.0 was published under a + Creative Commons Attribution-ShareAlike 2.0 license, which still holds for + that version of the software. The change was made because I found out CC + licenses aren't appropriate for software only after 1.0 came out. Oops." + + * plasTeX/Base/LaTeX/ent.xml: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + * pyuca.py: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + --- plastex-0.9.2.orig/debian/watch +++ plastex-0.9.2/debian/watch @@ -0,0 +1,5 @@ +# Compulsory line, this is a version 3 file +version=3 + + +http://sf.net/plastex/(?i:plasTeX)-(.*)\.tgz --- plastex-0.9.2.orig/debian/python-plastex-doc.doc-base +++ plastex-0.9.2/debian/python-plastex-doc.doc-base @@ -0,0 +1,10 @@ +Document: python-plastex +Title: PlasTeX documentation +Author: Tal Davidson +Abstract: Documentation for plasTeX framework + . +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-plastex-doc/html/index.html +Files: /usr/share/doc/python-plastex-doc/html/* --- plastex-0.9.2.orig/debian/python-plastex.docs +++ plastex-0.9.2/debian/python-plastex.docs @@ -0,0 +1,3 @@ +README +TODO +plasTeX/plasTeXrc --- plastex-0.9.2.orig/debian/control +++ plastex-0.9.2/debian/control @@ -0,0 +1,62 @@ +Source: plastex +Section: tex +Priority: optional +Maintainer: Carl Fürstenberg +Uploaders: Debian Python Modules Team +Vcs-Svn: svn://svn.debian.org/python-modules/packages/plastex/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/plastex/trunk/ +Build-Depends: debhelper (>= 6.0.11), + cdbs (>= 0.4.52), + quilt, + python-all-dev +Build-Depends-Indep: python-support (>= 0.6), + xsltproc (>= 1.1.21), + docbook-xsl (>= 1.72), + docbook-xml (>= 4.4), + libxml-libxml-perl, + texlive-base-bin, + dvipng, + python-imaging +Standards-Version: 3.8.3 +Homepage: http://plastex.sourceforge.net/ + +Package: python-plastex +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, texlive-latex-base, dvipng, python-imaging +Recommends: python-kid, python-genshi, python-cheetah +Description: LaTeX document processing framework in Python + plasTeX is a collection of Python frameworks that allow you to process LaTeX + documents. This processing includes, but is not limited to, conversion of + LaTeX documents to various document formats. Of course, it is capable of + converting to HTML or XML formats such as DocBook and tBook, but it is an + open framework that allows you to drive any type of rendering. This means that + it could be used to drive a COM object that creates a MS Word Document. + . + The plasTeX framework allows you to control all of the processes including + tokenizing, object creation, and rendering through API calls. You also have + access to all of the internals such as counters, the states of "if" commands, + locally and globally defined macros, labels and references, etc. In essence, + it is a LaTeX document processor that gives you the advantages of an XML + document in the context of a language as superb as Python. + +Package: python-plastex-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: doc-base +Description: LaTeX document processing framework in Python - documentation files + plasTeX is a collection of Python frameworks that allow you to process LaTeX + documents. This processing includes, but is not limited to, conversion of + LaTeX documents to various document formats. Of course, it is capable of + converting to HTML or XML formats such as DocBook and tBook, but it is an + open framework that allows you to drive any type of rendering. This means that + it could be used to drive a COM object that creates a MS Word Document. + . + The plasTeX framework allows you to control all of the processes including + tokenizing, object creation, and rendering through API calls. You also have + access to all of the internals such as counters, the states of "if" commands, + locally and globally defined macros, labels and references, etc. In essence, + it is a LaTeX document processor that gives you the advantages of an XML + document in the context of a language as superb as Python. + . + This packages provides the documentation files for python-plastex. --- plastex-0.9.2.orig/debian/python-plastex.lintian-overrides +++ plastex-0.9.2/debian/python-plastex.lintian-overrides @@ -0,0 +1,2 @@ +#Due to the nature of this package, it was more logical to place it into section 'tex' than 'python' +python-plastex binary: python-package-should-be-section-python --- plastex-0.9.2.orig/debian/pyversions +++ plastex-0.9.2/debian/pyversions @@ -0,0 +1 @@ +2.4- --- plastex-0.9.2.orig/debian/python-plastex-doc.docs +++ plastex-0.9.2/debian/python-plastex-doc.docs @@ -0,0 +1 @@ +html/ --- plastex-0.9.2.orig/debian/README.Debian +++ plastex-0.9.2/debian/README.Debian @@ -0,0 +1,7 @@ +plastex for Debian +------------------ + +The 'cgpdfpng' python executable has been removed from the distribution as it's not usable under debian, only under OSX + +The reason for inclusion of simpletal in the source, is that some edits had to be made to make it better suited for plastex. + --- plastex-0.9.2.orig/debian/python-plastex.install +++ plastex-0.9.2/debian/python-plastex.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/plastex +debian/tmp/usr/lib/* --- plastex-0.9.2.orig/debian/python-plastex.manpages +++ plastex-0.9.2/debian/python-plastex.manpages @@ -0,0 +1 @@ +debian/xml-man/plastex.1 --- plastex-0.9.2.orig/debian/rules +++ plastex-0.9.2/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM = pysupport + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include $(CURDIR)/debian/mk/docbook-xml-manpage.mk + +DOCBOOKXML_MANPAGE_SOURCES = debian/xml-man/plastex.xml + +# We are here going to build the documentation using ourself, +# and as we hasn't installed plastex yet, we are executing the +# plastex script in the source. +build/python-plastex-doc:: + if [ ! -d html ]; then \ + cd Doc; \ + export PYTHONPATH=..; \ + export TEXINPUTS=.:$(CURDIR)/Doc/commontex:$(CURDIR)/Doc/texinputs; \ + ../plasTeX/plastex plastex.tex; \ + cd ..; \ + mv Doc/plastex html; \ + fi; + +clean:: + rm -rf html --- plastex-0.9.2.orig/debian/changelog +++ plastex-0.9.2/debian/changelog @@ -0,0 +1,56 @@ +plastex (0.9.2-1) unstable; urgency=low + + [ Carl Fürstenberg ] + * New upstream release + * Added patch to resolve problem copying of icons (Closes: #555123) + * Migrate from Dpatch to Quilt + * Bumping Standards-Version to 3.8.3 (no change) + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + -- Carl Fürstenberg Tue, 17 Nov 2009 17:30:15 +0100 + +plastex (0.9.1-1) unstable; urgency=low + + * New upstream release + * CMYK color handling missing (Closes: #456555) + * Bump Standards-Version to 3.8.0 + - adding README.Source to describe dpatch system + * removed debug output from the plastex script left there from upstream + + -- Carl Fürstenberg Sat, 11 Oct 2008 23:59:42 +0200 + +plastex (0.9-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * Homepage field added + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + + [ Sandro Tosi ] + * debian/control + - uniforming Vcs-Browser field + + [ Carl Fürstenberg ] + * New upstream release + * Updated Standards-Version to 3.7.3 + * Added lintian override file for python-plastex package to override the + python-package-should-be-section-python warning, as it's placed in section + tex instead. + * Changed doc-base to section Programming/Python + * Fixed some spelling errors in control file + * changed target of documentation from post-patches to + build/python-plastex-doc + * Adding dvipng nad python-imaging as build depends to assure that the + documenation is correctly generated. + * Split stuff into Build-Depends-Indep + + -- Carl Fürstenberg Mon, 07 Apr 2008 00:04:38 +0200 + +plastex (0.8.3-1) unstable; urgency=low + + * Initial release (Closes: #433162) + + -- Carl Fürstenberg Wed, 01 Aug 2007 17:27:32 +0200 + --- plastex-0.9.2.orig/debian/compat +++ plastex-0.9.2/debian/compat @@ -0,0 +1 @@ +5 --- plastex-0.9.2.orig/debian/mk/docbook-xml-manpage.mk +++ plastex-0.9.2/debian/mk/docbook-xml-manpage.mk @@ -0,0 +1,88 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2006 Sylvain Le Gall +# Copyright © 2007 Carl Fürstenberg +# Description: Rules to manage manpages written in XML. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +#PATH_RULES# + +ifndef _cdbs_rules_docbook_xml_manpage + _cdbs_rules_docbook_xml_manpage = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +# docbook-xml manpages to build +DOCBOOKXML_MANPAGE_SOURCES := + +# add required build dependency for used tools +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), docbook-xml, docbook-xsl, libxml2-utils, xsltproc, libxml-libxml-perl + +# xmllint +DOCBOOKXML_MANPAGE_XMLLINT = xmllint --nonet --nocdata --noent --noout --postvalid --xinclude $(1) + +# if make should abort if xmllint reports anything +DOCBOOKXML_MANPAGE_XMLLINT_ABORT_ON_ERROR = yes + +# xsltproc +DOCBOOKXML_MANPAGE_XSLTPROC = xsltproc --nonet --xinclude --param man.charmap.use.subset 0 -o $(dir $(1)) $(2) $(1) + +# XSL stylesheet to transform docbook-xml to manpage +DOCBOOKXML_MANPAGE_XSLTPROC_XSL = /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl + +# +# This definition handles all the processing, it will abort if xmllint prints anything +# (thus must be fully clean) unless DOCBOOKXML_MANPAGE_XMLLINT_ABORT_ON_ERROR is not "yes". +# It will parse the xml files, to find what files that will be created, to be able to remove them +# on clean. +# +define DOCBOOKXML_MANPAGE_PROCESS + echo $(call DOCBOOKXML_MANPAGE_XMLLINT, $(1)); \ + res=`$(call DOCBOOKXML_MANPAGE_XMLLINT, $(1))`; \ + if [ "x$(DOCBOOKXML_MANPAGE_XMLLINT_ABORT_ON_ERROR)" = "xyes" -a "$$res" ]; then \ + echo $$res; \ + exit 2; \ + fi; \ + perl -MXML::LibXML -e ' \ + foreach my $$context( (new XML::LibXML())->parse_file("$(1)")->findnodes("//refentry")) { \ + $$name = lc($$context->findvalue(".//refmeta/refentrytitle")); \ + $$section = $$context->findvalue(".//refmeta/manvolnum"); \ + push @manpages, "$$name.$$section"; \ + } \ + print "generating ", join(" ", map {"$(dir $(1))".$$_} @manpages), "\n"; \ + open LIST, ">> debian/docbook-xml-manpage-list"; \ + print LIST join("\n", map {"$(dir $(1))".$$_} @manpages), "\n"; \ + close LIST;'; \ + echo $(call DOCBOOKXML_MANPAGE_XSLTPROC, $(1), $(DOCBOOKXML_MANPAGE_XSLTPROC_XSL)); \ + $(call DOCBOOKXML_MANPAGE_XSLTPROC, $(1), $(DOCBOOKXML_MANPAGE_XSLTPROC_XSL)); + +endef + +clean:: + @if test -f debian/docbook-xml-manpage-list; then \ + for i in `cat debian/docbook-xml-manpage-list`; do \ + $(RM) $$i;echo $(RM) $$i; \ + done; \ + fi + -$(RM) debian/docbook-xml-manpage-list; + -$(RM) debian/docbook-xml-manpage-stamp; + +post-patches:: debian/docbook-xml-manpage-stamp +debian/docbook-xml-manpage-stamp: + @$(foreach source,$(DOCBOOKXML_MANPAGE_SOURCES),$(call DOCBOOKXML_MANPAGE_PROCESS,$(source))) + touch $@ + +endif --- plastex-0.9.2.orig/debian/xml-man/plastex.xml +++ plastex-0.9.2/debian/xml-man/plastex.xml @@ -0,0 +1,362 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + +Carl"> +Fürstenberg"> + +2007-07-19"> + +1"> +azatoth@gmail.com"> + +PLASTEX"> + + +Debian"> +GNU"> +GPL"> +]> + + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + This manual page was written for + the &debian; system (but may be used by others), it borrows heavily on the documentation shipped with the plastex source package. Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. + + + + + + 2007 + &dhusername; + + &dhdate; + &dhpackage; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + a collection of Python frameworks that allow you to process LaTeX documents + + + + &dhpackage; + + mylatex.tex + + + + + + + + + + + + + + + + + counter-nameinitial-value + keyurltitle + + + + + + + + + + + + + + + + + + + + + + + + + + + + DESCRIPTION + + This manual page documents the &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + + plasTeX is a collection of Python frameworks that allow you to process LaTeX documents. This processing includes, but is not limited to, conversion of LaTeX documents to various document formats. Of course, it is capable of converting to HTML or XML formats such as DocBook and tBook, but it is an open framework that allows you to drive any type of rendering. This means that it could be used to drive a COM object that creates a MS Word Document. + The plasTeX framework allows you to control all of the processes including tokenizing, object creation, and rendering through API calls. You also have access to all of the internals such as counters, the states of “if” commands, locally and globally defined macros, labels and references, etc. In essence, it is a LaTeX document processor that gives you the advantages of an XML document in the context of a language as superb as Python. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + Info files. + + + + , + + + + Specifies a configuration file to load. This should be the first option specified on the command-line. + + + + + + + specifies the kpsewhich program to use to locate LaTeX files and packages. + + + + + + + specifies which renderer to use. + + + + + + + specifies which theme to use. + + + + , + + + + indicates whether or not extra files that belong to a theme (if there are any) should be copied to the output directory. + + + + + + + specifies a base URL to prepend to the path of all links. + + + + + + + specifies the number of columns to group the index into. + + + + + + + specifies the section level depth that should appear in section numbers. This value overrides the value of the secnumdepth counter in the document. + + + + + + + specifies a title to use for the document instead of the title given in the LaTeX source document. + + + + + + + specifies the number of levels to include in each table of contents. + + + + + + + specifies that sections that do not create files should still appear in the table of contents. By default, only sections that create files will show up in the table of contents. + + + + + + + specifies the initial counter values. + + + + + + + specifies links to be included in the navigation object. Since at least two values are needed in the links (key and title, with an optional URL), the values are grouped in square brackets on the command-line ([ ]). + + + + + + + specifies all characters that should not be allowed in a filename. These characters will be replaced by the value in --bad-filename-chars-sub. + + + + + + + specifies a string to use in place of invalid filename characters (specified by the --bad-chars-sub option). + + + + , + + + + specifies a directory name to use as the output directory. + + + + + + + some output types allow you to represent characters that are greater than 7-bits with an alternate representation to alleviate the issue of file encoding. This option indicates that these alternate representations should be used. + + + + + + + specifies the templates to use for generating filenames. The filename template is a list of space separated names. Each name in the list is returned once. + + + + + + + specifies which encoding the LaTeX source file is in. + + + + + + + specifies which encoding the output files should use. Note: This depends on the output format as well. While HTML and XML use encodings, a binary format like MS Word, would not. + + + + + + + specifies the highest section level that generates a new file. Each section in a LaTeX document has a number associated with its hierarchical level. These levels are -2 for the document, -1 for parts, 0 for chapters, 1 for sections, 2 for subsections, 3 for subsubsections, 4 for paragraphs, and 5 for subparagraphs. A new file will be generated for every section in the hierarchy with a value less than or equal to the value of this option. This means that for the value of 2, files will be generated for the document, parts, chapters, sections, and subsections. + + + + + + + specifies a base URL to prepend to the path of all images. + + + + + + + specifies which program to use to compile the images LaTeX document. + + + + , + + + + indicates whether or not images should be generated. + + + + + + + + indicates whether or not images should use a cache between runs. + + + + + + + specifies which converter will be used to take the output from the LaTeX compiler and convert it to images. You can specify a space delimited list of names as well. If a list of names is specified, each one is verified in order to see if it works on the current machine. The first one that succeeds is used. + You can use the value of “none” to turn the imager off. + + + + + + + specifies the image naming template to use to generate filenames. This template is the same as the templates used by the --filename option + + + + + + + specifies which converter will be used to take the output from the LaTeX compiler and convert it to vector images. You can specify a space delimited list of names as well. If a list of names is specified, each one is verified in order to see if it works on the current machine. The first one that succeeds is used. + You can use the value of “none” to turn the vector imager off. + + + + + +
+ --- plastex-0.9.2.orig/debian/patches/03_template_icon_links.diff +++ plastex-0.9.2/debian/patches/03_template_icon_links.diff @@ -0,0 +1,16 @@ +Index: plastex-0.9.2/plasTeX/Renderers/PageTemplate/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/PageTemplate/__init__.py 2009-11-17 17:15:13.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Renderers/PageTemplate/__init__.py 2009-11-17 17:15:06.000000000 +0100 +@@ -327,9 +327,9 @@ + if os.path.isdir(item): + if not os.path.isdir(os.path.join(cwd,item)): + os.makedirs(os.path.join(cwd,item)) +- copytree(item, cwd, True) ++ copytree(item, cwd, False) + elif os.path.splitext(item)[-1].lower() not in extensions: +- shutil.copy(item, os.path.join(cwd,item)) ++ shutil.copyfile(item, os.path.join(cwd,item)) + os.chdir(cwd) + + break --- plastex-0.9.2.orig/debian/patches/series +++ plastex-0.9.2/debian/patches/series @@ -0,0 +1,3 @@ +03_template_icon_links.diff +remove_cgpdfpng.patch.diff +02_shebang.diff --- plastex-0.9.2.orig/debian/patches/remove_cgpdfpng.patch.diff +++ plastex-0.9.2/debian/patches/remove_cgpdfpng.patch.diff @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## remove_cgpdfpng.patch.dpatch by Carl Fürstenberg +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch to remove cgpdfpng from the build procedure as it's not usefull under debian + +@DPATCH@ +Index: plastex-0.9.2/setup.py +=================================================================== +--- plastex-0.9.2.orig/setup.py 2009-07-01 17:07:33.000000000 +0200 ++++ plastex-0.9.2/setup.py 2009-11-17 17:17:55.000000000 +0100 +@@ -64,5 +64,5 @@ + 'plasTeX.Renderers.S5.Themes.default': templates, + 'plasTeX.Renderers.S5.Themes.default.ui.default': templates+styles+images, + }, +- scripts=['plasTeX/plastex','plasTeX/Imagers/cgpdfpng'], ++ scripts=['plasTeX/plastex'], + ) --- plastex-0.9.2.orig/debian/patches/02_shebang.diff +++ plastex-0.9.2/debian/patches/02_shebang.diff @@ -0,0 +1,1137 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_shebang.dpatch by Carl Fürstenberg +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Removes "shebangs" from non-executable python module files + +@DPATCH@ +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Accents.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Accents.py 2007-10-22 22:51:37.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Accents.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.3.4 Accents and Special Symbols (p173) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Alignment.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Alignment.py 2006-06-09 21:59:13.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Alignment.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Arrays.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Arrays.py 2007-12-04 04:56:47.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Arrays.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.10.2 The array and tabular Environments +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Bibliography.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Bibliography.py 2008-07-29 21:20:49.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Bibliography.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.11.3 Bibliography and Citation (p208) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Boxes.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Boxes.py 2006-05-05 22:17:23.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Boxes.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.13.3 Boxes (p217) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Breaking.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Breaking.py 2005-01-13 22:06:08.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Breaking.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.12 Line and Page Breaking (p212) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Characters.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Characters.py 2006-05-22 21:52:04.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Characters.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + These macros are actually taken from the T1 font encoding package, but +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Crossref.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Crossref.py 2006-09-18 17:21:46.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Crossref.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.11.2 Cross-References (p209) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Declarations.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Declarations.py 2005-01-13 22:06:08.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Declarations.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.1.4 Declarations (p168) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Definitions.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Definitions.py 2006-05-19 21:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Definitions.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.8 Definitions, Numbering, and Programming +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Document.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Document.py 2008-12-16 20:59:54.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Document.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.2 The Structure of the Document (p170) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Entities.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Entities.py 2007-09-13 18:17:56.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Entities.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + This package is dynamically generated. It loads data from the ent.xml file. +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Environments.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Environments.py 2006-12-07 15:48:32.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Environments.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.1.2 Environments (p167) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Files.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Files.py 2006-11-17 21:59:36.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Files.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.11.1 Files (p206) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Floats.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Floats.py 2007-08-16 22:38:15.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Floats.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.9 Figures and Other Floating Bodies (p196) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/FontSelection.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/FontSelection.py 2006-06-29 17:00:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/FontSelection.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.15 Font Selection (p225) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Footnotes.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Footnotes.py 2007-11-02 16:06:23.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Footnotes.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.3.3 Footnotes (p172) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Index.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Index.py 2009-05-15 20:10:36.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Index.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.11.5 Index and Glossary (p211) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Lengths.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Lengths.py 2006-05-19 21:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Lengths.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.13.1 Length (p215) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Lists.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Lists.py 2007-11-06 18:40:40.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Lists.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.6.2 List-Making Environments +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Math.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Math.py 2007-12-13 17:30:23.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Math.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.7 Mathematical Formulas (p187) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Numbering.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Numbering.py 2006-06-29 17:00:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Numbering.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.8.4 Numbering (p194) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Packages.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Packages.py 2009-05-12 18:36:14.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Packages.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.5 Classes, Packages, and Page Styles (p176) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Paragraphs.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Paragraphs.py 2006-05-05 22:17:23.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Paragraphs.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.3.2 Making Paragraphs (p171) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Pictures.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Pictures.py 2007-08-16 22:38:15.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Pictures.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.14.1 The picture Environment (p219) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Quotations.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Quotations.py 2006-06-09 21:59:13.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Quotations.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.6.1 Quotations and Verse (p184) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Sectioning.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Sectioning.py 2007-11-02 16:06:23.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Sectioning.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.4 Sectioning and Table of Contents (p174) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Sentences.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Sentences.py 2007-08-24 19:51:24.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Sentences.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.3.1 Making Sentences (p170) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Space.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Space.py 2006-05-05 22:17:23.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Space.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.13.2 Space (p216) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Tabbing.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Tabbing.py 2006-06-09 21:59:13.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Tabbing.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.10.1 The tabbing Environment (p201) +Index: plastex-0.9.2/plasTeX/Base/LaTeX/Verbatim.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/Verbatim.py 2007-08-16 22:38:15.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/Verbatim.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + C.6.4 Verbatim +Index: plastex-0.9.2/plasTeX/Base/LaTeX/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/LaTeX/__init__.py 2006-06-29 17:00:49.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/LaTeX/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from Entities import * + +Index: plastex-0.9.2/plasTeX/Base/TeX/Fonts.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/TeX/Fonts.py 2006-05-05 22:17:23.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/TeX/Fonts.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + B.4 Font Information +Index: plastex-0.9.2/plasTeX/Base/TeX/Parameters.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/TeX/Parameters.py 2006-05-05 22:17:23.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/TeX/Parameters.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + B.3 Parameters +Index: plastex-0.9.2/plasTeX/Base/TeX/Primitives.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/TeX/Primitives.py 2007-02-06 23:42:43.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/TeX/Primitives.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import codecs + from plasTeX.Tokenizer import Token, EscapeSequence +Index: plastex-0.9.2/plasTeX/Base/TeX/Registers.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/TeX/Registers.py 2006-05-19 21:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/TeX/Registers.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + B.2 Allocation of Registers (p346) +Index: plastex-0.9.2/plasTeX/Base/TeX/Text.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/TeX/Text.py 2007-05-29 21:23:15.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Base/TeX/Text.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + B.5 Macros for text +Index: plastex-0.9.2/plasTeX/Base/TeX/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/TeX/__init__.py 2005-01-14 03:06:19.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/TeX/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from Fonts import * + from Parameters import * +Index: plastex-0.9.2/plasTeX/Base/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Base/__init__.py 2005-01-13 22:06:07.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Base/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from LaTeX import * + from TeX import * +Index: plastex-0.9.2/plasTeX/Config.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Config.py 2008-01-09 16:29:33.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Config.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os + from ConfigManager import * +Index: plastex-0.9.2/plasTeX/ConfigManager/Boolean.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Boolean.py 2006-05-19 21:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/ConfigManager/Boolean.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from Generic import * + from plasTeX.ConfigManager import InvalidOptionError +Index: plastex-0.9.2/plasTeX/ConfigManager/Compound.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Compound.py 2006-05-05 22:17:23.000000000 +0200 ++++ plastex-0.9.2/plasTeX/ConfigManager/Compound.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import re + from Generic import GenericArgument +Index: plastex-0.9.2/plasTeX/ConfigManager/Counted.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Counted.py 2004-11-02 16:14:12.000000000 +0100 ++++ plastex-0.9.2/plasTeX/ConfigManager/Counted.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from Generic import GenericArgument + from Boolean import BooleanOption +Index: plastex-0.9.2/plasTeX/ConfigManager/Directories.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Directories.py 2004-11-02 16:14:12.000000000 +0100 ++++ plastex-0.9.2/plasTeX/ConfigManager/Directories.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os + from String import StringOption +Index: plastex-0.9.2/plasTeX/ConfigManager/Files.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Files.py 2004-11-02 16:14:12.000000000 +0100 ++++ plastex-0.9.2/plasTeX/ConfigManager/Files.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os + from String import StringOption +Index: plastex-0.9.2/plasTeX/ConfigManager/Float.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Float.py 2004-11-02 16:14:12.000000000 +0100 ++++ plastex-0.9.2/plasTeX/ConfigManager/Float.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from Generic import GenericOption, GenericParser, GenericArgument + from plasTeX.ConfigManager import InvalidOptionError +Index: plastex-0.9.2/plasTeX/ConfigManager/Generic.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Generic.py 2009-05-21 21:40:42.000000000 +0200 ++++ plastex-0.9.2/plasTeX/ConfigManager/Generic.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import re, os, copy + from plasTeX.ConfigManager import BUILTIN, CODE, ENVIRON, ENVIRONMENT +Index: plastex-0.9.2/plasTeX/ConfigManager/Integer.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Integer.py 2007-08-13 18:23:08.000000000 +0200 ++++ plastex-0.9.2/plasTeX/ConfigManager/Integer.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from Generic import GenericOption, GenericParser, GenericArgument + from plasTeX.ConfigManager import InvalidOptionError +Index: plastex-0.9.2/plasTeX/ConfigManager/Multi.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/Multi.py 2009-05-21 21:40:42.000000000 +0200 ++++ plastex-0.9.2/plasTeX/ConfigManager/Multi.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os + from Generic import * +Index: plastex-0.9.2/plasTeX/ConfigManager/String.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/String.py 2007-06-02 00:05:30.000000000 +0200 ++++ plastex-0.9.2/plasTeX/ConfigManager/String.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from UserString import UserString + from Generic import GenericOption, DEFAULTS, GenericParser, GenericArgument +Index: plastex-0.9.2/plasTeX/ConfigManager/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/ConfigManager/__init__.py 2009-05-21 21:40:42.000000000 +0200 ++++ plastex-0.9.2/plasTeX/ConfigManager/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + ConfigManager +Index: plastex-0.9.2/plasTeX/Context.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Context.py 2007-10-05 18:40:16.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Context.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import new, os, ConfigParser, re, time, codecs + import plasTeX +Index: plastex-0.9.2/plasTeX/DOM/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/DOM/__init__.py 2009-05-13 21:43:40.000000000 +0200 ++++ plastex-0.9.2/plasTeX/DOM/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import sys, re + from plasTeX.Logging import getLogger +Index: plastex-0.9.2/plasTeX/Filenames.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Filenames.py 2008-12-03 18:11:50.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Filenames.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import re, string, os.path + +Index: plastex-0.9.2/plasTeX/Imagers/OSXCoreGraphics.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Imagers/OSXCoreGraphics.py 2006-06-29 17:00:50.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Imagers/OSXCoreGraphics.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import plasTeX.Imagers + +Index: plastex-0.9.2/plasTeX/Imagers/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Imagers/__init__.py 2009-01-08 17:18:06.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Imagers/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os, time, tempfile, shutil, re, string, pickle, codecs + try: from hashlib import md5 +Index: plastex-0.9.2/plasTeX/Imagers/dvi2bitmap.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Imagers/dvi2bitmap.py 2007-11-27 17:33:25.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Imagers/dvi2bitmap.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import plasTeX.Imagers + +Index: plastex-0.9.2/plasTeX/Imagers/dvipng.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Imagers/dvipng.py 2007-11-27 17:33:25.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Imagers/dvipng.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import plasTeX.Imagers + +Index: plastex-0.9.2/plasTeX/Imagers/dvisvgm.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Imagers/dvisvgm.py 2006-06-29 17:00:50.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Imagers/dvisvgm.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os, re + import plasTeX.Imagers +Index: plastex-0.9.2/plasTeX/Imagers/gsdvipng.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Imagers/gsdvipng.py 2006-08-14 18:02:34.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Imagers/gsdvipng.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import gspdfpng, os, sys + +Index: plastex-0.9.2/plasTeX/Imagers/gspdfpng.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Imagers/gspdfpng.py 2007-11-27 17:33:25.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Imagers/gspdfpng.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX.Logging import getLogger + import plasTeX.Imagers, glob, sys +Index: plastex-0.9.2/plasTeX/Logging.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Logging.py 2009-01-08 17:18:06.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Logging.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import textwrap, types + from logging import CRITICAL, DEBUG, INFO, Logger, StreamHandler, Formatter +Index: plastex-0.9.2/plasTeX/Packages/CJK.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/CJK.py 2006-07-19 21:23:59.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/CJK.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment, log + +Index: plastex-0.9.2/plasTeX/Packages/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/__init__.py 2005-01-13 22:06:13.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,2 +1,2 @@ +-#!/usr/bin/env python ++ + +Index: plastex-0.9.2/plasTeX/Packages/alltt.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/alltt.py 2006-05-19 21:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/alltt.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX.Tokenizer import Token + from plasTeX import Command, Environment +Index: plastex-0.9.2/plasTeX/Packages/amsart.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/amsart.py 2006-11-21 19:26:11.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/amsart.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,3 +1,3 @@ +-#!/usr/bin/env python ++ + + from article import * +Index: plastex-0.9.2/plasTeX/Packages/amsfonts.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/amsfonts.py 2006-11-21 19:26:11.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/amsfonts.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,3 +1,3 @@ +-#!/usr/bin/env python ++ + + +Index: plastex-0.9.2/plasTeX/Packages/amsmath.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/amsmath.py 2007-08-14 19:54:18.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/amsmath.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment + from plasTeX.Base.LaTeX.Arrays import Array +Index: plastex-0.9.2/plasTeX/Packages/article.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/article.py 2007-05-01 23:16:09.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/article.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from report import * + +Index: plastex-0.9.2/plasTeX/Packages/babel.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/babel.py 2007-09-05 16:33:19.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/babel.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment + +Index: plastex-0.9.2/plasTeX/Packages/beamer.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/beamer.py 2006-12-11 15:38:40.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/beamer.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment + from plasTeX.Base import textbf, textit, textsl, textrm, textsf +Index: plastex-0.9.2/plasTeX/Packages/book.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/book.py 2007-10-05 18:40:17.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/book.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os, glob + from plasTeX import Command, Environment, TheCounter +Index: plastex-0.9.2/plasTeX/Packages/changebar.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/changebar.py 2007-10-22 21:40:56.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/changebar.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment, DimenCommand, Counter + +Index: plastex-0.9.2/plasTeX/Packages/color.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/color.py 2008-09-22 18:38:49.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/color.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment + +Index: plastex-0.9.2/plasTeX/Packages/comment.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/comment.py 2005-01-18 21:47:54.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/comment.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX.Base.LaTeX.Verbatim import verbatim + +Index: plastex-0.9.2/plasTeX/Packages/fancybox.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/fancybox.py 2006-05-05 22:17:31.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/fancybox.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + plasTeX package for fancy boxes +Index: plastex-0.9.2/plasTeX/Packages/fancyhdr.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/fancyhdr.py 2006-05-05 22:17:31.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/fancyhdr.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command + +Index: plastex-0.9.2/plasTeX/Packages/fancyvrb.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/fancyvrb.py 2006-05-19 21:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/fancyvrb.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment + from plasTeX.Base.LaTeX.Verbatim import verbatim +Index: plastex-0.9.2/plasTeX/Packages/float.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/float.py 2007-08-16 19:12:03.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/float.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import new + from plasTeX import Command, Environment +Index: plastex-0.9.2/plasTeX/Packages/fontenc.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/fontenc.py 2006-11-17 21:59:37.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/fontenc.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1 +1 @@ +-#!/usr/bin/env python ++ +Index: plastex-0.9.2/plasTeX/Packages/geometry.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/geometry.py 2006-08-07 16:17:57.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/geometry.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command + +Index: plastex-0.9.2/plasTeX/Packages/graphics.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/graphics.py 2008-09-22 16:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/graphics.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os + from plasTeX import Command +Index: plastex-0.9.2/plasTeX/Packages/graphicx.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/graphicx.py 2008-09-22 16:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/graphicx.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import os + from plasTeX import Command +Index: plastex-0.9.2/plasTeX/Packages/hyperref.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/hyperref.py 2007-11-03 17:07:08.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/hyperref.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + Implementation of the hyperref package +Index: plastex-0.9.2/plasTeX/Packages/ifpdf.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/ifpdf.py 2006-11-17 21:59:37.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/ifpdf.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + This package is intentionally empty. The \ifpdf command is implemented +Index: plastex-0.9.2/plasTeX/Packages/ifthen.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/ifthen.py 2006-11-17 21:59:37.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/ifthen.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + This package is not properly implemented. The \ifthenelse command simply +Index: plastex-0.9.2/plasTeX/Packages/keyval.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/keyval.py 2005-02-11 21:48:15.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/keyval.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command, Environment + +Index: plastex-0.9.2/plasTeX/Packages/lipsum.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/lipsum.py 2008-01-16 18:57:44.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/lipsum.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + import pickle + from plasTeX import Base + lipsumdefault = [1,7] +Index: plastex-0.9.2/plasTeX/Packages/longtable.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/longtable.py 2007-08-23 22:01:52.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/longtable.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import sys + from plasTeX.Base.LaTeX.Arrays import tabular +Index: plastex-0.9.2/plasTeX/Packages/makeidx.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/makeidx.py 2007-11-08 20:26:30.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/makeidx.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command + +Index: plastex-0.9.2/plasTeX/Packages/memoir.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/memoir.py 2007-11-12 21:29:24.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/memoir.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from book import * + +Index: plastex-0.9.2/plasTeX/Packages/minitoc.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/minitoc.py 2006-11-27 17:32:40.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/minitoc.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + This is a huge package! Most of the commands are simply stubbed out +Index: plastex-0.9.2/plasTeX/Packages/natbib.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/natbib.py 2008-07-29 21:20:49.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/natbib.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + natbib +Index: plastex-0.9.2/plasTeX/Packages/report.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/report.py 2006-11-21 19:26:11.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/report.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from book import * + +Index: plastex-0.9.2/plasTeX/Packages/rotating.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/rotating.py 2007-10-22 22:59:25.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/rotating.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Environment + +Index: plastex-0.9.2/plasTeX/Packages/shortvrb.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/shortvrb.py 2007-08-21 18:49:31.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/shortvrb.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import new + from plasTeX import Command +Index: plastex-0.9.2/plasTeX/Packages/subfig.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/subfig.py 2006-11-17 21:59:37.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/subfig.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + subfig package +Index: plastex-0.9.2/plasTeX/Packages/subfigure.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/subfigure.py 2007-11-28 22:13:39.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/subfigure.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + subfigure package +Index: plastex-0.9.2/plasTeX/Packages/textcomp.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/textcomp.py 2007-10-22 22:59:25.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/textcomp.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Command + from plasTeX.Base.LaTeX import Accents +Index: plastex-0.9.2/plasTeX/Packages/url.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/url.py 2006-11-17 21:59:37.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/url.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import new + from plasTeX.Base import Command, verb +Index: plastex-0.9.2/plasTeX/Packages/verbatim.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/verbatim.py 2005-01-18 21:47:54.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Packages/verbatim.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1 +1 @@ +-#!/usr/bin/env python ++ +Index: plastex-0.9.2/plasTeX/Packages/wrapfig.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Packages/wrapfig.py 2006-08-16 15:57:03.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Packages/wrapfig.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX import Environment + +Index: plastex-0.9.2/plasTeX/Renderers/DocBook/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/DocBook/__init__.py 2008-11-06 22:08:18.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Renderers/DocBook/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + import re + from plasTeX.Renderers.PageTemplate import Renderer as _Renderer + +Index: plastex-0.9.2/plasTeX/Renderers/ManPage/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/ManPage/__init__.py 2008-09-04 21:42:47.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Renderers/ManPage/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX.Renderers import Renderer as BaseRenderer + import textwrap, re, string +Index: plastex-0.9.2/plasTeX/Renderers/PageTemplate/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/PageTemplate/__init__.py 2009-11-17 17:17:04.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Renderers/PageTemplate/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + Generic Page Template Renderer +Index: plastex-0.9.2/plasTeX/Renderers/S5/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/S5/__init__.py 2006-12-08 21:46:20.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Renderers/S5/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX.Renderers.XHTML import Renderer + +Index: plastex-0.9.2/plasTeX/Renderers/Text/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/Text/__init__.py 2008-09-04 21:42:47.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Renderers/Text/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from plasTeX.Renderers import Renderer as BaseRenderer + import textwrap, re, string +Index: plastex-0.9.2/plasTeX/Renderers/XHTML/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/XHTML/__init__.py 2009-05-12 18:36:14.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Renderers/XHTML/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import sys, os, re, codecs, plasTeX + from plasTeX.Renderers.PageTemplate import Renderer as _Renderer +Index: plastex-0.9.2/plasTeX/Renderers/ZPT/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/ZPT/__init__.py 2006-11-20 17:20:57.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Renderers/ZPT/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + ZPT - Zope Page Template Renderer +Index: plastex-0.9.2/plasTeX/Renderers/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Renderers/__init__.py 2008-12-03 18:11:50.000000000 +0100 ++++ plastex-0.9.2/plasTeX/Renderers/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import codecs, os, shutil, string + from plasTeX.Filenames import Filenames +Index: plastex-0.9.2/plasTeX/TeX.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/TeX.py 2009-04-19 22:34:10.000000000 +0200 ++++ plastex-0.9.2/plasTeX/TeX.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + """ + TeX +Index: plastex-0.9.2/plasTeX/Tokenizer.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/Tokenizer.py 2007-08-24 19:52:12.000000000 +0200 ++++ plastex-0.9.2/plasTeX/Tokenizer.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import string + from DOM import Node, Text +Index: plastex-0.9.2/plasTeX/__init__.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/__init__.py 2009-05-12 18:36:14.000000000 +0200 ++++ plastex-0.9.2/plasTeX/__init__.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + import string, re + from DOM import Element, Text, Node, DocumentFragment, Document +Index: plastex-0.9.2/plasTeX/dictutils.py +=================================================================== +--- plastex-0.9.2.orig/plasTeX/dictutils.py 2006-05-19 21:49:48.000000000 +0200 ++++ plastex-0.9.2/plasTeX/dictutils.py 2009-11-17 17:17:04.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++ + + from types import SliceType as _SliceType +