debian/0000755000000000000000000000000012147643177007202 5ustar debian/watch0000644000000000000000000000033212036252162010214 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|lhs2tex-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/lhs2tex \ ([\d\.]*\d)/ debian/control0000644000000000000000000000340212147621401010566 0ustar Source: lhs2tex Section: haskell Priority: optional Maintainer: Debian Haskell Group Uploaders: Arjan Oosting , Erik de Castro Lopo DM-Upload-Allowed: yes Build-Depends: autotools-dev, debhelper (>= 9), ghc (>= 7.6), libghc-regex-compat-dev, tex-common Standards-Version: 3.9.4 Vcs-Darcs: http://darcs.debian.org/pkg-haskell/lhs2tex Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/lhs2tex Homepage: http://people.cs.uu.nl/andres/lhs2tex/ Package: lhs2tex Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, texlive-latex-base, texlive-latex-base, texlive-latex-base, texlive-math-extra Description: Generates LaTeX code from literate Haskell sources lhs2TeX includes the following features: . Different styles to process your source file: for instance, "tt" style uses a monospaced font for the code while still allowing you to highlight keywords etc, whereas "poly" style uses proportional fonts for identifiers, handles indentation nicely, is able to replace binary operators by mathematical symbols and take care of complex horizontal alignments. . Formatting directives, which let you customize the way certain tokens in the source code should appear in the processed output. . A liberal parser that can handle most of the language extensions; you don't have to restrict yourself to Haskell 98. . Preprocessor-style conditionals that allow you to generate different versions of a document from a single source file (for instance, a paper and a presentation). . Active documents: you can use Haskell to generate parts of the document (useful for papers on Haskell). . A manual explaining all the important aspects of lhs2TeX. debian/rules0000755000000000000000000000567612036252162010263 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) # Autoconf 2.52 and higher goes into crosscompiling mode when --host # is specified, so only pass --host when it is necessary. ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) CONFIGURE_FLAGS := --build $(DEB_HOST_GNU_TYPE) else CONFIGURE_FLAGS := --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif GHCFLAGS := $(shell grep "^GHCFLAGS" config.mk.in | cut -d '=' -f 2) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) GHCFLAGS += -O0 endif configure: config.status config.status: dh_testdir cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess # Don't rebuild the guide as ghci does not work on all architectures.. # rm -f doc/Guide2.dontbuild ./configure $(CONFIGURE_FLAGS) --prefix=/usr --mandir=\$${prefix}/share/man --with-texmf=/usr/share/texmf --enable-polytable build: build-arch build-indep build-arch: build-stamp build-stamp: config.status dh_testdir $(MAKE) GHCFLAGS="$(GHCFLAGS)" touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp config.status # Add here commands to clean up after the build process. if [ -f Makefile ] && [ -f config.mk ] ; then $(MAKE) clean ; fi # Remove generated files for EXT in aux log out ptb tex toc; do \ rm -f doc/Guide2.$$EXT; \ done # Don't rebuild the guide as ghci does not work on all architectures.. # rm -f doc/Guide2.dontbuild doc/Guide2.pdf rm -f doc/*.sty doc/*.tex doc/.out doc/.script doc/RawSearchPath.lhs rm -f lhs2TeX.1 Version.lhs config.guess config.log config.mk config.sub rm -f doc/InteractiveHugs.lhs doc/InteractivePre.lhs dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/lhs2tex docdir=/usr/share/doc/lhs2tex # Build architecture-independent files here. binary-indep: build install build-indep: # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples Examples/* dh_installman dh_installtex dh_link dh_strip dh_compress -X.pdf dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/patches/0000755000000000000000000000000012105433770010617 5ustar debian/patches/10_fix_bashims.patch0000644000000000000000000000177612036252162014444 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 10_fix_bashims.dpatch by Arjan Oosting ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fix a bashism in the examples of lhs2TeX @DPATCH@ Index: lhs2tex-1.15/Examples/lhs2TeXpre =================================================================== --- lhs2tex-1.15.orig/Examples/lhs2TeXpre 2009-12-18 13:21:18.000000000 +0100 +++ lhs2tex-1.15/Examples/lhs2TeXpre 2010-03-25 12:16:23.000000000 +0100 @@ -5,7 +5,7 @@ LHSHOME=.. -if [ "$1" == "$2" ]; then +if [ "$1" = "$2" ]; then cp "$2" "$3" else if grep -q "^%include" "$1"; then Index: lhs2tex-1.15/doc/lhs2TeXpre =================================================================== --- lhs2tex-1.15.orig/doc/lhs2TeXpre 2009-12-18 13:21:18.000000000 +0100 +++ lhs2tex-1.15/doc/lhs2TeXpre 2010-03-25 12:16:23.000000000 +0100 @@ -5,7 +5,7 @@ LHSHOME=.. -if [ "$1" == "$2" ]; then +if [ "$1" = "$2" ]; then cp "$2" "$3" else if grep -q "^%include" "$1"; then debian/patches/series0000644000000000000000000000006712105433770012037 0ustar 01_always_install_polytable.patch 10_fix_bashims.patch debian/patches/01_always_install_polytable.patch0000644000000000000000000000130712036252162017237 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 01_always_install_polytable.dpatch by Arjan Oosting ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: make sure we alway include polytable in the Debian package. @DPATCH@ Index: lhs2tex-1.15/config.mk.in =================================================================== --- lhs2tex-1.15.orig/config.mk.in 2009-12-18 13:21:18.000000000 +0100 +++ lhs2tex-1.15/config.mk.in 2010-03-25 12:16:17.000000000 +0100 @@ -41,6 +41,6 @@ polydir = @texmf@/tex/latex/polytable texdir = @texmf@/tex/latex/lhs2tex -INSTALL_POLYTABLE = @POLYTABLE_INSTALL@ +INSTALL_POLYTABLE = yes MKTEXLSR = @MKTEXLSR@ debian/changelog0000644000000000000000000001764512147643177011071 0ustar lhs2tex (1.18.1-2) unstable; urgency=low * Enable compat level 9 -- Joachim Breitner Fri, 24 May 2013 12:52:46 +0200 lhs2tex (1.18.1-1) experimental; urgency=low * Bump standards version, no change * New upstream release -- Joachim Breitner Sat, 09 Feb 2013 12:50:03 +0100 lhs2tex (1.17-1) unstable; urgency=low [ Erik de Castro Lopo ] * New upstream. * debian/control: - Standards version 3.9.2 (no changes required). - Added myself to uploaders. Added DM-Upload-Allowed: yes. * debian/patches/ : - Disable patches no-utf8-string.patch and add-typesig (in upstream). - Refresh patches/no-n-plus-k-pattern. - Add Dep3 info to patches/no-n-plus-k-pattern. * debian/rules : Fix a couple of lintian warnings. [ Joachim Breitner ] * debian/watch: Refer to hackage -- Joachim Breitner Sat, 31 Dec 2011 15:25:24 +0100 lhs2tex (1.15-4) unstable; urgency=low [ Joachim Breitner ] * Section: haskell [ Marco Silva ] * Use ghc instead of ghc6 [ Joachim Breitner ] * Remove n-plus-k-patterns (Closes: #628319) -- Joachim Breitner Thu, 02 Jun 2011 20:42:27 +0200 lhs2tex (1.15-3) unstable; urgency=low * Force all IO to utf8 (Closes: #576512) -- Joachim Breitner Sun, 11 Apr 2010 19:21:38 +0200 lhs2tex (1.15-2) unstable; urgency=low * Upload to unstable. -- Joachim Breitner Sat, 03 Apr 2010 23:30:53 +0200 lhs2tex (1.15-1) experimental; urgency=low * New upstream release * Adopt by the Debian Haskell Group * Update homepage * Use dh_prep instead of dh_clean -k * No more bashism (Closes: #530115) * Builds fine with ghc-6.12 (Closes: #574794) * Do not use utf8-string (Closes: #570868) -- Joachim Breitner Thu, 25 Mar 2010 19:00:23 +0100 lhs2tex (1.14-1) experimental; urgency=low * New upstream release: - Unicode support. - Support for Agda's lexing rules (via --agda flag). * debian/control: - Add libghc6-utf8-string-dev to the build dependencies. -- Arjan Oosting Sat, 17 Jan 2009 18:06:34 +0100 lhs2tex (1.13-4) unstable; urgency=low * Add dependency on texlive-math-extra as polycode.fmt depends on the theoretical computer science fonts located in stmaryrd.sty Thanks Tomasz Maciejewski (Closes: #511818) * debian/rules: Use dh_installtex to generate maintainer scripts which call mktexlsr. * debian/control: Add tex-common to build dependencies as it provides dh_installtex. -- Arjan Oosting Sat, 17 Jan 2009 18:02:16 +0100 lhs2tex (1.13-3) unstable; urgency=medium * debian/control: - Add dpatch to the build dependencies. - Bump Standards-Version to 3.8.0 * debian/patches/01_always_install_polytable.dpatch: - Patch config.mk.in to make sure we install the polytable (La)Tex style. * debian/patches/10_fix_bashims.dpatch: - Fix a bashism in the examples of lhs2TeX (Closes: #489624) * debian/README.source: Added. * debian/rules: - Include dpatch snippet - Remove the sed expressions which is replaced with a regular patch * Set urgency to medium to get the bashism fix into Lenny. -- Arjan Oosting Sun, 20 Jul 2008 11:16:15 +0200 lhs2tex (1.13-2) unstable; urgency=low * Fix bashism in debian/rules. (Closes: #484397) * debian/control: - Drop dependencies on obsolete packages tetex-bin, tetex-base and tetex-extra. Fixes lintian error depends-on-obsolete-package * debian/doc-base: - Change Section to Programming/Haskell -- Arjan Oosting Mon, 09 Jun 2008 06:57:19 +0200 lhs2tex (1.13-1) unstable; urgency=low * New upstream release. * debian/watch: - Also look for gzipped tarballs. * debian/control: - Point the Vcs-* fields to the trunk directories which contains the latest version of the debian package. -- Arjan Oosting Tue, 26 Feb 2008 08:00:03 +0100 lhs2tex (1.13~pre3-2) unstable; urgency=low * debian/control: - Bump build dependency on ghc6 to 6.8.2 which is now needed to build the package. -- Arjan Oosting Mon, 21 Jan 2008 01:30:45 +0100 lhs2tex (1.13~pre3-1) unstable; urgency=low * New upstream release, which should work with the GHC 6.8 series and be compatible with Cabal 1.2. * Fix some lintian warnings - package-contains-empty-directory usr/sbin/ - doc-base-file-separator-extra-whitespaces lhs2tex-guide:13 * debian/control: - Add libghc6-regex-compat-dev to the build dependencies. - Replace the Xs-Vcs-* fields with the official Vcs-* fields. - Add Homepage field. - Bump Standards-Version to 3.7.3. No changes needed. * debian/rules: - Export DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE as /usr/share/doc/autotools-dev/README.Debian.gz suggests. - Remove some generated files during clean. -- Arjan Oosting Sat, 19 Jan 2008 17:17:13 +0100 lhs2tex (1.12-3) unstable; urgency=low * debian/compat: Change to debhelper compatibility level 5. * debian/control: - Add XS-Vcs-Browser field. - Bump dependency on debhelper to debhelper 5 or higher. -- Arjan Oosting Thu, 12 Apr 2007 01:22:02 +0200 lhs2tex (1.12-2) experimental; urgency=low * Add the necessary Depends for texlive in addition to tetex: - Depend on texlive-latex-base | tetex-bin for the mktexslr program. - Depend on texlive-latex-base | tetex-base for the styles array and calc. - Depend on texlive-latex-base | tetex-extra for the style colortbl. -- Arjan Oosting Mon, 12 Feb 2007 00:23:22 +0100 lhs2tex (1.12-1) experimental; urgency=low * New upstream release. -- Arjan Oosting Thu, 11 Jan 2007 16:45:17 +0100 lhs2tex (1.11-2) unstable; urgency=low * debian/rules: do not rebuild the user guide as it needs ghci which does not work on all arctectures. * debian/control: Drop the Build-Depends on tetex-bin, tetex-base and tetex-extra as we don't rebuild the guide anyway. -- Arjan Oosting Fri, 20 Oct 2006 17:08:52 +0200 lhs2tex (1.11-1) unstable; urgency=medium * Take over maintaince from John Goerzen. Thanks for your work on this package! * New upstream release. (Closes: #366969) * config.mk.in: remove -package lang (Closes: 393822) * debian/control: - add Build-Depends on autotools-dev to make sure the latest config.guess and config.sub are used. - add missing Build-Depends on tetex-extra. - added Homepage entry. - bump Standards-Version. No changes needed. - add XS-Vcs-Svn field. * debian/copyright: - Include the license of lazylist.sty and update the license of the rest of the package. (Closes: #389924) * debian/dirs: dropped as it is not necessary. * debian/doc-base: added doc-base entry for guide. * debian/postrm: added. Also call mktexlsr when lhs2tex is removed. * debian/rules: - copy config.sub and config.guess in the config.status target and remove them on clean to keep the diff.gz small. - do not ignore all errors on clean. - ensure polytable.sty gets included and the guide will be rebuild. - remove commented out debhelper calls. - add -O0 to GHCFLAGS when DEB_BUILD_OPTIONS contains noopt and remove CFLAGS manipulation as this is no C program. - don't gzip pdf files as most pdf readers can not handle compresses pdf files and pdf files use internal compression anyway. * debian/watch: added uscan watch file. -- Arjan Oosting Thu, 19 Oct 2006 18:12:48 +0200 lhs2tex (1.9-2) unstable; urgency=low * Rebuilt to get dep on correct new libgmp3 in sid. Closes: #329276. -- John Goerzen Wed, 21 Sep 2005 05:32:01 -0500 lhs2tex (1.9-1) unstable; urgency=low * Initial Release. Closes: #292653. -- John Goerzen Fri, 28 Jan 2005 09:50:20 -0600 debian/source/0000755000000000000000000000000012036252162010465 5ustar debian/source/format0000644000000000000000000000001412036252162011673 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212147616403010370 0ustar 9 debian/dirs0000644000000000000000000000001112036252162010041 0ustar usr/bin debian/copyright0000644000000000000000000003773512036252162011137 0ustar This package was debianized by John Goerzen on Fri, 28 Jan 2005 09:50:20 -0600. It was downloaded from http://www.cs.uu.nl/~andres/lhs2tex/ and can now be found at http://www.informatik.uni-bonn.de/~loeh/lhs2tex/ The package is Copyright: (C) 1997-2006 Ralf Hinze, Andres Loeh The file lazylist.sty is Copyright: (C) 1990 Alan Jeffrey Upstream Authors: Ralf Hinze and Andres Loeh ralf@informatik.uni-bonn.de lhs2TeX@andres-loeh.de License of the package except for the file lazylist.sty: This package 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; version 2 dated June, 1991. As a special exception, permission is granted to include the files (or parts of the files) lhs2TeX.sty, lhs2TeX.fmt, as well as files (or parts of files) distributed in the Library subdirectory of this package that include a notice in their header, literally in other documents, regardless of the conditions or license applying to these documents. This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. License of the file lazylist.sty: Use and distribution are subject to the LaTeX Project Public License (lppl), version 1.2 (or any later version, at your convenience). The LaTeX Project Public License =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- LPPL Version 1.2 1999-09-03 Copyright 1999 LaTeX3 Project Everyone is allowed to distribute verbatim copies of this license document, but modification of it is not allowed. PREAMBLE ======== The LaTeX Project Public License (LPPL) is the license under which the base LaTeX distribution is distributed. You may use this license for any program that you have written and wish to distribute. This license may be particularly suitable if your program is TeX-related (such as a LaTeX package), but you may use it even if your program is unrelated to TeX. The section `WHETHER AND HOW TO DISTRIBUTE PROGRAMS UNDER THIS LICENSE', below, gives instructions, examples, and recommendations for authors who are considering distributing their programs under this license. In this license document, `The Program' refers to any program distributed under this license. This license gives conditions under which The Program may be distributed and conditions under which modified versions of The Program may be distributed. Individual files of The Program may bear supplementary and/or superseding conditions on modification of themselves and on the distribution of modified versions of themselves, but *no* file of The Program may bear supplementary or superseding conditions on the distribution of an unmodified copy of the file. A distributor wishing to distribute a complete, unmodified copy of The Program therefore needs to check the conditions only in this license and nowhere else. Activities other than distribution and/or modification of The Program are not covered by this license; they are outside its scope. In particular, the act of running The Program is not restricted. We, the LaTeX3 Project, believe that the conditions below give you the freedom to make and distribute modified versions of The Program that conform with whatever technical specifications you wish while maintaining the availability, integrity, and reliability of The Program. If you do not see how to achieve your goal while meeting these conditions, then read the document `cfgguide.tex' in the base LaTeX distribution for suggestions. CONDITIONS ON DISTRIBUTION AND MODIFICATION =========================================== You may distribute a complete, unmodified copy of The Program. Distribution of only part of The Program is not allowed. You may not modify in any way a file of The Program that bears a legal notice forbidding modification of that file. You may distribute a modified file of The Program if, and only if, the following eight conditions are met: 1. You must meet any additional conditions borne by the file on the distribution of a modified version of the file as described below in the subsection `Additional Conditions on Individual Files of The Program'. 2. If the file is a LaTeX software file, then you must meet any applicable additional conditions on the distribution of a modified version of the file that are described below in the subsection `Additional Conditions on LaTeX Software Files'. 3. You must not distribute the modified file with the filename of the original file. 4. In the modified file, you must acknowledge the authorship and name of the original file, and the name (if any) of the program which contains it. 5. You must change any identification string in the file to indicate clearly that the modified file is not part of The Program. 6. You must change any addresses in the modified file for the reporting of errors in the file or in The Program generally to ensure that reports for files no longer maintained by the original maintainers will be directed to the maintainers of the modified files. 7. You must distribute the modified file under a license that forbids distribution both of the modified file and of any files derived from the modified file with the filename of the original file. 8. You must do either (A) or (B): (A) distribute a copy of The Program (that is, a complete, unmodified copy of The Program) together with the modified file; if your distribution of the modified file is made by offering access to copy the modified file from a designated place, then offering equivalent access to copy The Program from the same place meets this condition, even though third parties are not compelled to copy The Program along with the modified file; (B) provide to those who receive the modified file information that is sufficient for them to obtain a copy of The Program; for example, you may provide a Uniform Resource Locator (URL) for a site that you expect will provide them with a copy of The Program free of charge (either the version from which your modification is derived, or perhaps a later version). Note that in the above, `distribution' of a file means making the file available to others by any means. This includes, for instance, installing the file on any machine in such a way that the file is accessible by users other than yourself. `Modification' of a file means any procedure that produces a derivative file under any applicable law -- that is, a file containing the original file or a significant portion of it, either verbatim or with modifications and/or translated into another language. Changing the name of a file (other than as necessitated by the file conventions of the target file systems) is considered to be a modification of the file. The distribution conditions in this license do not have to be applied to files that have been modified in accordance with the above conditions. Note, however, that Condition 7. does apply to any such modified file. The conditions above are not intended to prohibit, and hence do not apply to, the updating, by any method, of a file so that it becomes identical to the latest version of that file of The Program. A Recommendation on Modification Without Distribution ----------------------------------------------------- It is wise never to modify a file of The Program, even for your own personal use, without also meeting the above eight conditions for distributing the modified file. While you might intend that such modified files will never be distributed, often this will happen by accident -- you may forget that you have modified the file; or it may not occur to you when allowing others to access the modified file that you are thus distributing it and violating the conditions of this license. It is usually in your best interest to keep your copy of The Program identical with the public one. Many programs provide ways to control the behavior of that program without altering its licensed files. Additional Conditions on Individual Files of The Program -------------------------------------------------------- An individual file of The Program may bear additional conditions that supplement and/or supersede the conditions in this license if, and only if, such additional conditions exclusively concern modification of the file or distribution of a modified version of the file. The conditions on individual files of The Program therefore may differ only with respect to the kind and extent of modification of those files that is allowed, and with respect to the distribution of modified versions of those files. Additional Conditions on LaTeX Software Files --------------------------------------------- If a file of The Program is intended to be used with LaTeX (that is, if it is a LaTeX software file), then the following additional conditions, which supplement and/or supersede the conditions above, apply to the file according to its filename extension: - You may not modify any file with filename extension `.ins' since these are installation files containing the legal notices that are placed in the files they generate. - You may distribute modified versions of files with filename extension `.fd' (LaTeX font definition files) under the standard conditions of the LPPL as described above. You may also distribute such modified LaTeX font definition files with their original names provided that: (1) the only changes to the original files either enable use of available fonts or prevent attempts to access unavailable fonts; (2) you also distribute the original, unmodified files (TeX input paths can be used to control which set of LaTeX font definition files is actually used by TeX). - You may distribute modified versions of files with filename extension `.cfg' (configuration files) with their original names. The Program may (and usually will) specify the range of commands that are allowed in a particular configuration file. Because of portability and exchangeability issues in LaTeX software, The LaTeX3 Project deprecates the distribution of modified versions of components of LaTeX or of generally available contributed code for them, but such distribution can meet the conditions of this license. NO WARRANTY =========== There is no warranty for The Program. Except when otherwise stated in writing, The Copyright Holder provides The Program `as is', without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of The Program is with you. Should The Program prove defective, you assume the cost of all necessary servicing, repair, or correction. In no event unless agreed to in writing will The Copyright Holder, or any author named in the files of The Program, or any other party who may distribute and/or modify The Program as permitted above, be liable to you for damages, including any general, special, incidental or consequential damages arising out of any use of The Program or out of inability to use The Program (including, but not limited to, loss of data, data being rendered inaccurate, or losses sustained by anyone as a result of any failure of The Program to operate with any other programs), even if The Copyright Holder or said author or said other party has been advised of the possibility of such damages. WHETHER AND HOW TO DISTRIBUTE PROGRAMS UNDER THIS LICENSE ========================================================= This section contains important instructions, examples, and recommendations for authors who are considering distributing their programs under this license. These authors are addressed as `you' in this section. Choosing This License or Another License ---------------------------------------- If for any part of your program you want or need to use *distribution* conditions that differ from those in this license, then do not refer to this license anywhere in your program but instead distribute your program under a different license. You may use the text of this license as a model for your own license, but your license should not refer to the LPPL or otherwise give the impression that your program is distributed under the LPPL. The document `modguide.tex' in the base LaTeX distribution explains the motivation behind the conditions of this license. It explains, for example, why distributing LaTeX under the GNU General Public License (GPL) was considered inappropriate. Even if your program is unrelated to LaTeX, the discussion in `modguide.tex' may still be relevant, and authors intending to distribute their programs under any license are encouraged to read it. How to Use This License ----------------------- To use this license, place in each of the files of your program both an explicit copyright notice including your name and the year and also a statement that the distribution and/or modification of the file is constrained by the conditions in this license. Here is an example of such a notice and statement: %% pig.dtx %% Copyright 2001 M. Y. Name % % This program may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.2 % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.2 or later is part of all distributions of LaTeX % version 1999/12/01 or later. % % This program consists of the files pig.dtx and pig.ins Given such a notice and statement in a file, the conditions given in this license document would apply, with `The Program' referring to the two files `pig.dtx' and `pig.ins', and `The Copyright Holder' referring to the person `M. Y. Name'. Important Recommendations ------------------------- Defining What Constitutes The Program The LPPL requires that distributions of The Program contain all the files of The Program. It is therefore important that you provide a way for the licensee to determine which files constitute The Program. This could, for example, be achieved by explicitly listing all the files of The Program near the copyright notice of each file or by using a line like % This program consists of all files listed in manifest.txt. in that place. In the absence of an unequivocal list it might be impossible for the licensee to determine what is considered by you to comprise The Program. Noting Exceptional Files If The Program contains any files bearing additional conditions on modification, or on distribution of modified versions, of those files (other than those listed in `Additional Conditions on LaTeX Software Files'), then it is recommended that The Program contain a prominent file that defines the exceptional conditions, and either lists the exceptional files or defines one or more categories of exceptional files. Files containing the text of a license (such as this file) are often examples of files bearing more restrictive conditions on modification. LaTeX configuration files (with filename extension `.cfg') are examples of files bearing less restrictive conditions on the distribution of a modified version of the file. The additional conditions on LaTeX software given above are examples of declaring a category of files bearing exceptional additional conditions. Copyright (C) 1997-2004 Ralf Hinze, Andres Loeh debian/docs0000644000000000000000000000000612036252162010034 0ustar TODO debian/doc-base0000644000000000000000000000054012036252162010564 0ustar Document: lhs2tex-guide Title: Guide to lhs2TeX Author: Ralf Hinze and Andres Loeh Abstract: This is a guide to lhs2TeX, a preprocessor that takes as input a literate Haskell source file and produces as output a formatted file that can be further processed by LaTeX. Section: Programming/Haskell Format: pdf Files: /usr/share/doc/lhs2tex/Guide2.pdf