debian/0000755000000000000000000000000012256060660007171 5ustar debian/changelog0000644000000000000000000005322612256060660011053 0ustar bibtex2html (1.97-5build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 16:15:44 +0000 bibtex2html (1.97-5) unstable; urgency=low * Standards-Version 3.9.5 (no change) * Recompile with ocaml 4.01.0 (no source change) -- Ralf Treinen Tue, 03 Dec 2013 22:20:05 +0100 bibtex2html (1.97-4) unstable; urgency=low * Upload to unstable. -- Ralf Treinen Tue, 07 May 2013 08:44:03 +0200 bibtex2html (1.97-3) experimental; urgency=low [Sylvain Le Gall] * Remove Sylvain Le Gall from uploaders [ Ralf Treinen ] * Patch path-expand-styles: expand the full path name of bibtex styles that are defined by files in the working directory (closes: #698004). * Standards-Version 3.9.4 (no change). -- Ralf Treinen Sun, 13 Jan 2013 21:21:24 +0100 bibtex2html (1.97-2) unstable; urgency=medium * patch paranoid-bibtex: run bibtex in the directory where the .aux file resides (closes: #666572). Upload with urgency medium since older bibtex2html will fail with recent TeX. * Standards-Version: 3.9.3 - debian/copyright: machine-readable format 1.0 -- Ralf Treinen Sun, 01 Apr 2012 17:34:08 +0200 bibtex2html (1.97-1) unstable; urgency=low * New upstream version -- Ralf Treinen Tue, 14 Feb 2012 09:33:58 +0100 bibtex2html (1.96-5) unstable; urgency=low [ Stéphane Glondu ] * Team upload * Recompile with ocaml 3.12.1 (no source changes) [ Stefano Zacchiroli ] * Remove myself from Uploaders -- Stéphane Glondu Wed, 02 Nov 2011 07:06:15 +0100 bibtex2html (1.96-3) unstable; urgency=low * Standards-version 3.9.2 (no change) * Patch test-byte: Add to the makefile a test target for byte compilation. Add in debian/rules an override to use this instead of test target. -- Ralf Treinen Mon, 18 Apr 2011 18:53:23 +0200 bibtex2html (1.96-2) experimental; urgency=low * debian/rules: set explicitly --mandir so that upstream manpages are overwritten by ours (closes: #607716). -- Ralf Treinen Sun, 02 Jan 2011 19:56:28 +0100 bibtex2html (1.96-1) experimental; urgency=low * New upstream release * Drop patches sanitise-makefile and clean-targets, they have been integrated by upstream * Refresh patches * debian/manpages/* : fix names of upstream authors * Strengthen build-dependency on dh-ocaml to (>= 0.9~) an ocaml-nox to (>= 3.11.1-3~) in order to have correct dependency calculation * We only have build-depends, not build-depends-indep * Standards-Version 3.9.1 (no change) * debian/rules: enable again testing, as upstream has fixed it. -- Ralf Treinen Mon, 04 Oct 2010 17:08:27 +0200 bibtex2html (1.95-1) unstable; urgency=low * New upstream version * Remove patch strings_utf8, this is fixed by upstream now. * Shifted linenumbers of patches according to the new upstream version. * Migrated debian/rules from cdbs to dh, removed build-dependency on cdbs. * New patch clean-targets: remove more generated files on "make clean" * New patch sanitise-makefile: specify shell, rename dist-clean to distclean * Generate dependencies from ${ocaml:Depends} and ${perl:Depends} -- Ralf Treinen Sat, 03 Apr 2010 14:43:55 +0200 bibtex2html (1.94-5) unstable; urgency=low * Remove asterisks in debian/NEWS. * Recompiled for ocaml 3.11.2 -- Ralf Treinen Mon, 08 Feb 2010 21:49:12 +0100 bibtex2html (1.94-4) unstable; urgency=low * manpage bibtex2html(1): escape hyphen * Standards-Version 3.8.4 (no change) -- Ralf Treinen Fri, 29 Jan 2010 08:43:17 +0100 bibtex2html (1.94-3) unstable; urgency=low [ Stéphane Glondu ] * Fix cdbs includes order [ Ralf Treinen ] * Convert to source format 3.0 (quilt): - no build-depends on dpatch - add debian/source/format - no patching in debian/rules - add debian/patches: quilt style * Standards-Version 3.8.3 (no change) * Changed doc-base section to Typesetting. -- Ralf Treinen Thu, 03 Dec 2009 22:15:51 +0100 bibtex2html (1.94-2) unstable; urgency=low [ Stephane Glondu ] * Switch packaging to git [ Ralf Treinen ] * Standards-Version 3.8.2 (no change) -- Ralf Treinen Thu, 25 Jun 2009 21:47:04 +0200 bibtex2html (1.94-1) unstable; urgency=low * New upstream release. * Debhelper compatibility level 7, adapt build-dependency on debhelper. * Standards-Version 3.8.1 (no change). * manpages: replace some - by \- -- Ralf Treinen Thu, 07 May 2009 20:04:48 +0200 bibtex2html (1.93-2) unstable; urgency=low [ Ralf Treinen ] * Convert to cdbs, add build-dependency on cdbs * Add build-dependency on dh-ocaml * Add binary dependency on ${misc:Depends} * debian/copyright: point to GPL-2, instead of GPL. * Source package layout: - Rename debian/NEWS.Debian to debian/NEWS to make dh_installchangelogs happy. - move our own manpages from debian into debian/manpages - Rename debian/doc-base.bibtex2html to bibtex2html.doc-base [ Stephane Glondu ] * Remove Julien from Uploaders -- Ralf Treinen Sun, 22 Feb 2009 23:11:42 +0100 bibtex2html (1.93-1) unstable; urgency=low * New upstream version. This release allows to to sort entries by date (closes: Bug#504796). * Install aux2bib manpage from debian/rules since upstream seems to have dropped it. * bib2bibmanpage: document new option "-s $date". -- Ralf Treinen Sun, 14 Dec 2008 17:49:38 +0100 bibtex2html (1.92-1) unstable; urgency=low * New upstream version. This release fixes a bug with accent parsing and conversion (closes: Bug#467082). * Adapted patch 03_charset to new upstream version. * Standards-Version 3.8.0 (no change). -- Ralf Treinen Tue, 12 Aug 2008 01:43:30 +0200 bibtex2html (1.91-3) unstable; urgency=low * Recompile with ocaml 3.10.2 -- Ralf Treinen Sun, 18 May 2008 22:04:07 +0200 bibtex2html (1.91-2) unstable; urgency=low [ Ralf Treinen ] * Convert doc-base.bibtex2html to UTF8. * patch 03_charset: change format to use run directly dpatch-run * new patch 01_strings_utf8: print copyright information in utf8. [ Stephane Glondu ] * Fix bashism in debian/rules (Closes: Bug#477248) -- Ralf Treinen Wed, 30 Apr 2008 21:30:13 +0200 bibtex2html (1.91-1) unstable; urgency=low * New upstream release. This release fixes a bug with protected double-quotes in bibtex fields (closes: Bug#466524). * debian/copyright: add proper copyright notice. -- Ralf Treinen Thu, 21 Feb 2008 23:13:29 +0100 bibtex2html (1.90-2) unstable; urgency=low * Recompiled for ocaml 3.10.1. * Updated Uploaders. -- Ralf Treinen Thu, 07 Feb 2008 08:48:35 +0100 bibtex2html (1.90-1) unstable; urgency=low * New upstream release. -- Ralf Treinen Fri, 01 Feb 2008 20:04:38 +0100 bibtex2html (1.89-1) unstable; urgency=low [ Ralf Treinen ] * New upstream release (closes: Bug#459853). * Standards-version 3.7.3 (no change). * bibtex2html manpage: document new options --revkeys, --unicode, --html-entities, --header [ Stefano Zacchiroli ] * fix vcs-svn field to point just above the debian/ dir -- Ralf Treinen Wed, 09 Jan 2008 09:31:14 +0100 bibtex2html (1.88-1) unstable; urgency=low * debian/control: use Homepage field for upstream homepage. * New upstream release. -- Ralf Treinen Sat, 01 Dec 2007 15:31:02 +0100 bibtex2html (1.87-2) unstable; urgency=low * Upload to unstable. -- Ralf Treinen Thu, 30 Aug 2007 20:58:54 +0200 bibtex2html (1.87-1) experimental; urgency=low * New upstream release. -- Ralf Treinen Sat, 07 Jul 2007 10:41:36 +0200 bibtex2html (1.86-3) experimental; urgency=low * Rebuild for ocaml 3.10 * target "clean" in debian/rules: test for existence of Makefile -- Ralf Treinen Sat, 07 Jul 2007 10:37:53 +0200 bibtex2html (1.86-2) unstable; urgency=low * Remove tetex from dependencies. -- Ralf Treinen Sat, 14 Apr 2007 18:04:51 +0200 bibtex2html (1.86-1) experimental; urgency=low * New upstream release -- Ralf Treinen Wed, 21 Mar 2007 19:12:06 +0100 bibtex2html (1.85-1) unstable; urgency=low * New upstream release. Fixes a bug with the --title command line option. (closes: Bug#396195). -- Ralf Treinen Thu, 2 Nov 2006 21:03:34 +0100 bibtex2html (1.84-1) unstable; urgency=low * New upstream release. * Adapt patch 03_charset to the new Makefile.in -- Ralf Treinen Tue, 24 Oct 2006 21:42:35 +0200 bibtex2html (1.83-1) unstable; urgency=low * New upstream release. -- Ralf Treinen Wed, 13 Sep 2006 18:27:49 +0200 bibtex2html (1.82-2) unstable; urgency=low * Allow cooperation with texlive: depend on "tetex-extra ¦ texlive-base" (closes: Bug#381467). * Do not generate the documentation in .ps since .html is sufficient. As a consequence drop *tex* from build-dependencies. -- Ralf Treinen Sun, 27 Aug 2006 15:09:18 +0200 bibtex2html (1.82-1) unstable; urgency=low * New upstream release. * Removed mechanism to build debian/control from debian/control.in since we do not need it anymore. Use dh_gencontrol to fill in the version of the ocaml runtime system. * Removed patch 07_manual_formatting since incorporated now by upstream. -- Ralf Treinen Wed, 19 Jul 2006 23:13:26 +0200 bibtex2html (1.81-2) unstable; urgency=low * (Build-)depends on ocaml 3.09.2 -- Ralf Treinen Tue, 16 May 2006 19:56:22 +0200 bibtex2html (1.81-1) unstable; urgency=low * New upstream release. * Policy-Version 3.7.2 (no change) * Turn build-depends-indep on debhelper, dpatch into build-depends * Remove patches that are no longer applied: 01_manpage, 02_ampersand, 04_manpage_section * Patch 07_manual_formatting: - call hevea with -fix option to get a table of contents - place \title, \author into preamble in order to make hevea happy -- Ralf Treinen Sun, 14 May 2006 17:34:20 +0200 bibtex2html (1.80-1) unstable; urgency=low * New upstream release. * Simplify dependency on tetex packages (tetex-extra is sufficient). * Write real man pages (closes: Bug#207255). -- Ralf Treinen Sun, 16 Apr 2006 20:36:57 +0200 bibtex2html (1.79-1) unstable; urgency=low * New upstream release. -- Ralf Treinen Wed, 1 Mar 2006 13:13:05 +0900 bibtex2html (1.78-3) unstable; urgency=low * Bumped (Build-)dependency on ocaml to 3.09.1 * New uploader Sylvain Le Gall * Automate update of debian/control. -- Ralf Treinen Sat, 7 Jan 2006 10:48:39 +0100 bibtex2html (1.78-1) unstable; urgency=low * New upstream release now accepts again @comment{...} entries in bibtex files (closes: Bug#343433). -- Ralf Treinen Fri, 16 Dec 2005 18:22:41 +0100 bibtex2html (1.77-1) unstable; urgency=low * New upstream release. -- Ralf Treinen Fri, 18 Nov 2005 19:49:00 +0100 bibtex2html (1.76-2) unstable; urgency=low * Bumped (build-)dependency on ocaml-* to 3.09.0. -- Ralf Treinen Sat, 5 Nov 2005 14:23:58 +0100 bibtex2html (1.76-1) unstable; urgency=low * New upstream version. This version fixes a bug with the translation of accented characters (closes: Bug#329398). * Added debian/svn-deblayout. * Standards-Version 3.6.2 (no change) -- Ralf Treinen Thu, 22 Sep 2005 20:56:38 +0200 bibtex2html (1.75-2) unstable; urgency=medium * Bumped (build-)dependency on ocaml-* from 3.08 to 3.08.3 -- Ralf Treinen Wed, 23 Mar 2005 08:54:28 +0100 bibtex2html (1.75-1) unstable; urgency=low * New upstream version. This version reflects the change of the names of output files in the documentation. * Removed patch 05_outputfilenames since no longer necessary. * Adapted patch 06_doc-noexamples to the updated manual. -- Ralf Treinen Sun, 6 Feb 2005 16:16:58 +0100 bibtex2html (1.74-2) unstable; urgency=low * Patch 05_outputfilenames: reflect the change of the names of output files in the documentation. Added note in NEWS.Debian about this. (closes: Bug#291828). * Patch 06_doc-noexamples: remove references to examples since these are not distributed by upstream. * New uploader Samuel Mimram. * Changed short description; starts now on lowercase. -- Ralf Treinen Tue, 1 Feb 2005 22:07:29 +0100 bibtex2html (1.74-1) unstable; urgency=low * New upstream release. - fixes a bug concerning the table of contents of the manual (closes: Bug#274508). -- Ralf Treinen Sun, 24 Oct 2004 15:48:31 +0200 bibtex2html (1.73-1) unstable; urgency=low * New upstream version * Adapted patch 03_charset to modfied main.ml file -- Ralf Treinen Sun, 24 Oct 2004 15:39:02 +0200 bibtex2html (1.71-1) unstable; urgency=low * New upstream version. -- Ralf Treinen Wed, 1 Sep 2004 08:23:04 +0200 bibtex2html (1.70-1) unstable; urgency=low * New upstream version * Ocaml version 3.08 * Depend on ocaml-base-nox, build-depend on ocaml-nox -- Ralf Treinen Thu, 22 Jul 2004 12:32:52 +0200 bibtex2html (1.69-1) unstable; urgency=low * New upstream version. -- Ralf Treinen Tue, 20 Apr 2004 22:38:20 +0200 bibtex2html (1.68-1) unstable; urgency=low * New upstream version. * Added debian/watch -- Ralf Treinen Wed, 17 Mar 2004 08:41:52 +0100 bibtex2html (1.66-1) unstable; urgency=low * New upstream version. -- Ralf Treinen Thu, 19 Feb 2004 23:11:51 +0100 bibtex2html (1.65-2) unstable; urgency=low * patch 02_ampersand: quote correctly ampersands inside anchors. Thanks to Arnaud Giersch (closes: Bug#218310). * patch 03_charset: specify charset in a tag, take value from locale or command line option (closes: Bug#198802). -- Ralf Treinen Mon, 8 Dec 2003 21:12:28 +0100 bibtex2html (1.65-1) unstable; urgency=low * New upstream version. -- Ralf Treinen Fri, 3 Oct 2003 20:31:35 +0200 bibtex2html (1.64-1) unstable; urgency=low * New upstream release. * Standards-Version 3.6.1 (no changes). * Compile with ocaml-3.07. -- Ralf Treinen Wed, 1 Oct 2003 22:23:42 +0200 bibtex2html (1.61-1) unstable; urgency=low * New upstream release * clean target in debian/rules calls "make dist-clean" now instead of "make clean" * File debian/compat instead of DH_COMPAT variable in debian/rules * Changed the Maintainer field to "Debian Ocaml Maintainers", added an Uploaders field with entries Sven Luther, Jerome Marant, Ralf Treinen, Remi Vanicat, Stefano Zacchiroli. * Standards-Version 3.6.0 * Move to the dpatch system: - Add build-dependency on dpatch - Create directory debian/patches, put patch 01_manpage.dpatch there - debian/rules: include dpatch.make, have hlins.bc depend on patch, and clean depend on unpatch * debian/rules: replace dependency on configure-stamp target by dependency on Makefile. * Remove bogus files configure.old and auxtobib. -- Ralf Treinen Tue, 15 Jul 2003 22:21:13 +0200 bibtex2html (1.56-1) unstable; urgency=low * New upstream release. * Recompiled with ocaml 3.06-13. Depends on ocaml-base-3.06-1. Build-depends on ocaml-3.06.1. * DH_COMPAT=4, build-depends on debhelper >= 4.0 * debian/rules: added a configure target. clean target: rm config.log. -- Ralf Treinen Mon, 16 Dec 2002 20:30:46 +0100 bibtex2html (1.54-3) unstable; urgency=low * Changed (build)-dependency to ocaml >= 3.06 & << 3.07, since future versions of ocaml are not guaranteed to work on 3.06 bytecode. * Removed from prerm and postinst obsolete code for handling the /usr/doc symlink. -- Ralf Treinen Thu, 3 Oct 2002 22:35:28 +0200 bibtex2html (1.54-2) unstable; urgency=low * Recompiled for ocaml 3.06 (closes: Bug#156254), bumped up build-dependency on ocaml and dependency on ocaml-base to >= 3.06. * Makefile.in: changed the STRLIB variable to use dynamic str library from /usr/lib/ocaml/stublibs. -- Ralf Treinen Fri, 30 Aug 2002 20:43:46 +0200 bibtex2html (1.54-1) unstable; urgency=low * New upstream release -- Ralf Treinen Sun, 14 Jul 2002 22:19:00 +0200 bibtex2html (1.53-1) unstable; urgency=low * New upstream release (closes: Bug#151204). -- Ralf Treinen Sat, 29 Jun 2002 09:30:31 +0200 bibtex2html (1.52-1) unstable; urgency=low * New upstream release * Remove debian/aux2bib.1 and dh_installmanpages in debian/rules since this man page is now in upstream source. -- Ralf Treinen Tue, 15 Jan 2002 19:17:02 +0100 bibtex2html (1.51-2) unstable; urgency=low * Translate to bytecode, hence architecture=all and depend on ocaml-base. Add a target "install-byte" to Makefile.in. Removed dh_shlibdeps. Removed the -custom option from the "byte" target in Makefile.in. * Added depends on perl (needed for aux2bib). * Removed dynamic creation of the copyright file (which used to be needed in case of compilation to byte code with attached run time system). * Build-Depends-Indeps: specify version >= 3.0 for debhelper, remove autoconf. -- Ralf Treinen Wed, 9 Jan 2002 19:44:05 +0100 bibtex2html (1.51-1) unstable; urgency=low * New upstream release (contains new auxtobib). * Some cleanup in rules file. * Use option to configure for setting of installation dirs, instead of patching Makefile.in. * Remove config.status and config.cache in clean target of rules. * Rename "auxtobib" executable to "aux2bib". * Modified aux2bib to use kpsewhich for searching bibtex file. * Added a manpage for aux2bib. * Fixed typos in description (closes: Bug#119780) and removed redundant formulations, add description of aux2bib. * Policy-Version 3.5.6.0. -- Ralf Treinen Sun, 9 Dec 2001 14:28:34 +0100 bibtex2html (1.46-2) unstable; urgency=low * changed in debian/rules reference to debian/tmp to debian/bibtex2html (closes: Bug#107436) -- Ralf Treinen Thu, 2 Aug 2001 12:12:09 +0200 bibtex2html (1.46-1) unstable; urgency=low * New upstream release * DH_COMPAT=3 * Standards-Version: 3.5.5.0 * do not install the upstream README which contains only installation instructions and stuff contained elsewhere. Remove debian/docs which no longer needed. * remove some debhelper cruft from debian/rules * added hevea to the build-depends (needed for the manual in html) -- Ralf Treinen Fri, 6 Jul 2001 16:17:19 +0200 bibtex2html (1.44-1) unstable; urgency=low * New upstream release * changed in main Makefile.in MINORVN to 44 * Added url of home page in the description field of control * rules: strip binary only when compiling to native -- Ralf Treinen Thu, 11 Jan 2001 19:18:11 +0100 bibtex2html (1.43-3) unstable; urgency=low * Added in control file: Suggests: hlins * Man pages refer now to locally installed doc (closes: bug#74669) * fixed a typo in doc-base.bibtex2html -- Ralf Treinen Sat, 9 Dec 2000 13:12:44 +0100 bibtex2html (1.43-2) unstable; urgency=low * Build-depends: added tetex-extra (closes: bug#72423). * Added some words in the abstract of the doc-base entry. -- Ralf Treinen Tue, 26 Sep 2000 21:48:50 +0200 bibtex2html (1.43-1) unstable; urgency=low * New upstream release * Build-depends: add autoconf * Build-depends and Depends: remove tetex-lib * Architecture: any, add ocaml runtime licence for byte-code compiled binaries (closes: bug#71506). -- Ralf Treinen Thu, 21 Sep 2000 22:30:16 +0200 bibtex2html (1.42-2) unstable; urgency=low * remove dependency of ocaml and restricted package to the architectures i386, alpha, powerpc. (this should be the list of architectures where ocaml can be compiled to native code). -- Ralf Treinen Mon, 11 Sep 2000 22:24:29 +0200 Bibtex2html (1.42-1) unstable; urgency=low * New upstream release -- Ralf Treinen Mon, 4 Sep 2000 22:28:29 +0200 bibtex2html (1.2-5) unstable; urgency=low * Add manual.html into the source package (and protect it from make clean). Temporary solution as long as hevea is not in debian. * register manual.html with doc-base -- Ralf Treinen Wed, 5 Jul 2000 20:40:22 +0200 bibtex2html (1.2-4) unstable; urgency=low * Syntax error in debian/prerm -- Ralf Treinen Sun, 7 May 2000 17:29:15 +0200 bibtex2html (1.2-3) unstable; urgency=low * Compile to bytecode when native code compiler not available * Added dependency on ocaml -- Ralf Treinen Sun, 7 May 2000 14:21:20 +0200 bibtex2html (1.2-2) unstable; urgency=low * Added man pages. -- Ralf Treinen Fri, 21 Apr 2000 20:30:05 +0200 bibtex2html (1.2-1) unstable; urgency=low * Initial Release. -- Ralf Treinen Fri, 10 Mar 2000 23:35:45 +0100 debian/bibtex2html.manpages0000644000000000000000000000002212247445421013126 0ustar debian/manpages/* debian/bibtex2html.docs0000644000000000000000000000001412247445421012264 0ustar manual.html debian/rules0000755000000000000000000000064012247445421010253 0ustar #!/usr/bin/make -f DESTDIR=$(CURDIR)/debian/bibtex2html %: dh $@ --with ocaml override_dh_auto_configure: ./configure --bindir=$(DESTDIR)/usr/bin\ --prefix=$(DESTDIR)/usr/share\ --mandir=$(DESTDIR)/usr/share/man override_dh_auto_build: $(MAKE) byte manual.html override_dh_auto_install: $(MAKE) install-byte override_dh_auto_test: $(MAKE) test-byte # do not strip ocaml bytecode override_dh_strip: debian/NEWS0000644000000000000000000000070112247445421007670 0ustar bibtex2html (1.93-1) unstable; urgency=low bib2bib sorts entries chronologically when given the option "-s $date". -- Ralf Treinen Sun, 14 Dec 2008 17:46:37 +0100 bibtex2html (1.74-2) unstable; urgency=low Since version 1.74, output files are now named file_bib.html and file_abstracts.html, instead of file-bib.html file-abstracts.html. -- Ralf Treinen Tue, 1 Feb 2005 21:48:09 +0100 debian/gbp.conf0000644000000000000000000000003612247445421010611 0ustar [DEFAULT] pristine-tar = True debian/bibtex2html.doc-base0000644000000000000000000000060212247445421013014 0ustar Document: bibtex2html Title: BibTeX2HTML Manual Author: Jean-Christophe Filliâtre and Claude Marché Abstract: This manual describes how to use bibtex2html (a BibTeX to HTML translator) and bib2bib (a tool to extract BibTeX entries from a BibTeX data base). Section: Typesetting Format: HTML Index: /usr/share/doc/bibtex2html/manual.html Files: /usr/share/doc/bibtex2html/manual.html debian/manpages/0000755000000000000000000000000012247445421010766 5ustar debian/manpages/bib2bib.10000644000000000000000000000643512247445421012353 0ustar .TH BIB2BIB 1 .SH NAME BibX2bib \- Filter BibTeX data bases .SH SYNOPSIS .B bib2bib [options] ... .SH DESCRIPTION .B bib2bib is a filter tool that reads one or several bibliography files, filters the entries with respect to a given criterion, and outputs the list of selected keys together with a new bibliography file containing only the selected entries. If no input file is given then input is taken from the standard input. Additionally, .B bib2bib may output a file containing all the keys of entries that satisfy the condition. This second file is suitable for input as option .B \-citefile to .B bibtex2html . .SH OPTIONS .TP .BI \-ob \ filename specify the filename where the selected entries are output. If not given, it defaults to standard output. .TP .BI \-oc \ filename specify the filename where the list of selected keys is output. If not given, this file is not created. .TP .BI \-c \ condition specify a condition for selecting the entries. The output will retain only the entries that satisfy this condition. If several such condition are given, then only the entries that satisfy all the conditions are selected. The syntax of conditions is described in the complete documentation, notice that it is better to escape shell expansions in that conditions, in other words, you should write conditions between quotes. .TP .B \-expand expand all abbreviations in the output file. Notice that there is no way to ask for expansion of cross-references, since the meaning of such an expansion is unclear: it's better to let bibtex (via bibtex2html) handle the cross-references himself, depending on the style considered. .TP .BI \-s \ field sorts the entries of the bibliography with respect to the given field, which may be $key or $type to refer to the key or to the entry type, as for filter conditions. This options may be used several times to specifiy a lexicographic order, such as by year, then by keys. When the field is \fI$date\fR then entries are sorted chronologically. When sorting, the resulting bibliography will always contain the comments first, then the preambles, then the abbreviations, and finally the regular entries. Be warned that such a sort may put cross-references before entries that refer to them, so be cautious. .TP .B \-r reverses the sort .TP .B \-q , \-\-quiet be quiet. .TP .B \-w , \-\-warn-error stop at the first warning. .SH USAGE WITH BIBTEX2HTML Notice that the two output files are suitable for use with bibtex2html. A typical use would be bib2bib \-oc citefile \-ob bibfile.bib \-c condition file1.bib file2.bib ... bibtex2html \-citefile citefile bibfile.bib which will produce exactly the HTML file for the selected references. Notice finally that bibtex2html will expand the strings (by default, unless you specify the \-noexpand option) but not the cross-references. .SH AUTHOR Bib2bib has been written by Jean-Christophe Filliâtre and Claude Marché. This manpage has been compiled by Ralf Treinen from the original bib2bib documentation. .SH SEE ALSO .BR bibtex2html (1), bibtex (1), hevea (1) .br .I http://www.lri.fr/~filliatr/bibtex2html/ .P For complete documentation, please check the bibtex2html manual. On a Debian system the manual can be found at .I /usr/share/doc/bibtex2html both in the formats postscript and HTML, or via the Debian help system. debian/manpages/aux2bib.10000644000000000000000000000074312247445421012410 0ustar .TH AUX2BIB 1 .SH NAME AUX2BIB \- Extracts a BibTeX database according to an aux file. .SH SYNOPSIS .B aux2bib .SH DESCRIPTION Aux2bib reads a \fI.aux\fR file as produced by \fBLaTeX\fR and writes to standard output a bibtex file containing exactly the bibtex entries refereed in the aux file. .SH SEE ALSO .BR bibtex (1), .BR latex (1), .br .I http://www.lri.fr/~filliatr/bibtex2html/ .br .I /usr/share/doc/bibtex2html .SH AUTHOR Ralf Treinen debian/manpages/bibtex2html.10000644000000000000000000001421412247445421013276 0ustar .TH BIBTEX2HTML 1 .SH NAME BibTeX2HTML \- A translator of bibliography databases into HTML .SH SYNOPSIS .B bibtex2html [options] .SH DESCRIPTION .B bibtex2html is a translator which reads a bibliography file and outputs two HTML documents that contain respectively the cited bibliography in a nice presentation, and the original BibTeX file augmented with several transparent HTML links to allow easy navigation. .SH OPTIONS .SS General aspect of the HTML document .TP .B \-t \fIstring\fB, \-\-title \fIstring specify the title of the HTML file (default is the file name). .TP .B \-\-header \fIstring give an additional header for the HTML document. .TP .B \-\-footer \fIstring give an additional footer for the HTML document. .TP .B \-s \fIstring\fB, \-\-style \fIstring\fB use BibTeX style \fIstring\fR (plain, alpha, etc.). Default style is plain. .TP .B \-noabstract, \-\-no\-abstract do not print the abstracts (if any). .TP .B \-nokeywords, \-\-no\-keywords do not print the keywords (if any). .TP .B \-both, \-\-both produce both pages with and without abstracts. If the BibTeX file is foo.bib then the two pages will be respectively foo.html and foo_abstracts.html (The suffix may be different, see option \-\-suffix). Links are inserted from the page without abstracts to the page with abstracts. .TP .B \-nokeys, \-\-no\-keys do not print the cite keys. .TP .B \-use\-keys, \-\-use\-keys use the cite keys from the BibTeX input file (and not the ones generated by the BibTeX style file). .TP .B \-rawurl, \-\-raw\-url print URLs instead of files' types. .TP .B \-heveaurl, \-\-hevea-url interpret the macro \url as HeVeA's one, i.e. with two arguments, the first one being the url and the second one the text to print. The default behavior is to interpret the macro \\url as the one from the package url, which has only one argument (the url itself). .TP .B \-f \fIfield\fB, \-\-field \fIfield\fB add a web link for that BibTeX field. .TP .B \-nf \fIfield string\fB, \-\-named\-field \fIfield string similar to \-f but specifies the way to display the link (e.g. \-nf springer "At Springer's"). .TP .B \-note \fIfield\fB, \-\-note \fIfield\fB declare that a field must be treated like the abstract field, i.e. is an annotation to be displayed as a text paragraph below the entry. .TP .B \-multiple, \-\-multiple make a separate web page for each entry. Beware: this option produces as many HTML files as BibTeX entries! .TP .B \-single, \-\-single produce a single document, inserting each BibTeX entry (the input) right after its BibTeX output. .TP .B \-bg \fIcolor\fB, \-\-background \fIcolor set the background color of the HTML file (default is none). .TP .B \-css \fIfile\fB, \-\-style\-sheet \fIfile\fB set a style sheet file for the HTML document (default is none). .TP .B \-charset \fIc\fB, \-\-charset \fIc\fB specify the charset to use in the META tag of generated html files. The default is the output of the command locale charmap, or if this doesn't work, ISO-8859-1. .TP .B \-dl, \-\-dl use HTML DL lists instead of HTML tables to format entries. .TP .B \-unicode, \-\-unicode use Unicode entities for some macros, such as ⊨ for \\models, etc. .TP .B \-html\-entities, \-\-html\-entities use HTML entities for some macros, such as ≈ for \\approx, etc. .SS Controlling the translation .TP .B \-m \fIfile\fB, \-\-macros\-from \fIfile\fB read the LATEX macros in the given file. Note: bibtex2html does not handle macros arguments; arguments are simply discarded. .TP .B \-noexpand, \-\-no\-expand do not expand the abbreviation strings, leave them in the output file. .SS Selecting the entries .TP .B \-citefile \fIfilename\fB, \-\-citefile \fIfilename Select only keys appearing in \fIfilename\fR. To be used manually or in conjonction with bib2bib. .TP .B \-e \fIkey\fB, \-\-exclude \fIkey exclude an particular entry. .SS Sorting the entries .TP .B \-d, \-\-sort\-by\-date sort by date. .TP .B \-a, \-\-sort\-as\-bibtex sort as BibTeX (usually by author). .TP .B \-u, \-\-unsorted unsorted i.e. same order as in .bib file (default). .TP .B \-r, \-\-reverse\-sort reverse the sort. .TP .B \-\-revkeys number entries in reverse order (i.e. from n to 1 in plain style). .SS Miscellaneous options .TP .B \-\-print\-keys do not produce any HTML documents but write to \fIstdout\fR the sorted list of BibTeX keys (one key per line). .TP .B \-nodoc, \-\-nodoc do not produce a full HTML document but only its body (useful to merge the HTML bibliography in a bigger HTML document). .TP .B \-nobibsource, \-\-nobibsource do not produce the _bib.html file. In that case, no BibTeX entry links are inserted in the HTML file. .TP .B \-suffix \fIstring\fB, \-\-suffix \fIstring give an alternate suffix string for both HTML files and links (default is .html). .TP .B \-fsuffix \fIstring\fB, \-\-file\-suffix \fIstring give an alternate suffix string for HTML files (default is .html). .TP .B \-lsuffix \fIstring\fB, \-\-link\-suffix \fIstring give an alternate suffix string for HTML links (default is .html). .TP .B \-o \fIfile\fB, \-\-output \fIfile specifies the output file. If \fIfile\fR is -, then the standard output is selected. .TP .B \-c \fIcommand\fB, \-\-command \fIcommand specify the BibTeX command (default is bibtex \-min-crossrefs=1000). May be useful for example if you need to specify the full path of the bibtex command. .TP .B \-i, \-\-ignore\-errors ignore BibTeX errors. .TP .B \-q, \-\-quiet be quiet. .TP .B \-w, \-\-warn-error stop at the first warning. .TP .B \-h, \-\-help print a short usage and exit. .TP .B \-v, \-\-version print the version and exit. .TP .B \-noheader, \-\-no-header do not insert the bibtex2html command in the HTML document (default is to insert it as a comment at the beginning). .SH AUTHOR Bibtex2html has been written by Jean-Christophe Filliâtre and Claude Marché. This manpage has been compiled by Ralf Treinen from the original bibtex2html documentation. .SH SEE ALSO .BR bib2bib (1), bibtex (1), hevea (1) .br .I http://www.lri.fr/~filliatr/bibtex2html/ .P For complete documentation, please check the bibtex2html manual. On a Debian system the manual can be found at .I /usr/share/doc/bibtex2html both in the formats postscript and HTML, or via the Debian help system. debian/control0000644000000000000000000000300312247445421010572 0ustar Source: bibtex2html Section: tex Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Ralf Treinen , Remi Vanicat , Samuel Mimram Standards-Version: 3.9.5 Build-Depends: debhelper (>= 7.0.50~), dh-ocaml (>= 0.9~), ocaml-nox (>= 3.11.1-3~), hevea Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/bibtex2html.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/bibtex2html.git Homepage: http://www.lri.fr/~filliatr/bibtex2html/index.en.html Package: bibtex2html Architecture: all Depends: ${ocaml:Depends}, ${perl:Depends}, texlive-base, ${misc:Depends} Suggests: hlins Description: filters BibTeX files and translates them to HTML Collection of tools for filtering BibTeX data bases and for producing HTML documents from BibTeX data bases: . - aux2bib extracts a BibTeX database consisting of only the entries that are refereed by an aux file. . - bib2bib is a filter tool that reads one or several bibliography files, filters the entries with respect to a given criterion, and outputs the list of selected keys together with a new bibliography file containing only the selected entries; . - bibtex2html is a translator that reads a bibliography file and outputs two HTML documents that are respectively the cited bibliography in a nice presentation, and the original BibTeX file augmented with several transparent HTML links to allow easy navigation. debian/bibtex2html.dirs0000644000000000000000000000006512247445421012303 0ustar usr/bin usr/share/doc/bibtex2html usr/share/man/man1 debian/copyright0000644000000000000000000000116612247445421011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: bibtex2html Upstream-Contact: Jean-Christophe Filliâtre Source: http://www.lri.fr/~filliatr/ftp/bibtex2html Files: * Copyright: 1997-2010 Jean-Christophe Filliâtre and Claude Marché License: GPL-2 Files: debian/* Copyright: 2000-2012 Ralf Treinen License: GPL-2 License: GPL-2 You are free to distribute this software under the terms of the GNU General Public License, version 2. . On Debian systems, the complete text of the GNU General Public License can be found in the /usr/share/common-licenses/GPL-2 file. debian/source/0000755000000000000000000000000012247445421010473 5ustar debian/source/format0000644000000000000000000000001412247445421011701 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000012412247445421010221 0ustar version=2 http://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-([\d.]*)\.tar\.gz debian/patches/0000755000000000000000000000000012247445421010622 5ustar debian/patches/paranoid-bibtex0000644000000000000000000000261112247445421013615 0ustar Author: Ralf Treinen Description: run bibtex in the directory where the .aux file resides, in order work around security-enhanced bibtex that cannot write outside its working directory Debian-Bug: #666572 Index: bibtex2html/main.ml =================================================================== --- bibtex2html.orig/main.ml 2012-04-01 16:59:13.000000000 +0200 +++ bibtex2html/main.ml 2012-04-01 16:59:49.000000000 +0200 @@ -105,7 +105,12 @@ \end{enumerate} *) let create_aux_file fbib tmp = - let ch = open_out (tmp ^ ".aux") in + let ch = open_out (tmp ^ ".aux") + and absolute_fbib = + if Filename.is_relative fbib + then Filename.concat (Sys.getcwd ()) fbib + else fbib + in output_string ch "\\relax\n\\bibstyle{"; output_string ch !style; output_string ch "}\n"; @@ -116,7 +121,7 @@ else output_string ch "\\citation{*}\n"; output_string ch "\\bibdata{"; - output_string ch (Filename.chop_suffix fbib ".bib"); + output_string ch (Filename.chop_suffix absolute_fbib ".bib"); output_string ch "}\n"; close_out ch @@ -143,7 +148,8 @@ else "" in - let cmd = sprintf "%s %s %s" !command tmp redir in + let cmd = sprintf "cd %s && %s %s %s" + (Filename.dirname tmp) !command (Filename.basename tmp) redir in if !Options.debug then begin eprintf "\nbibtex command: %s\n" cmd; flush stderr end; debian/patches/doc-noexamples0000755000000000000000000000324612247445421013473 0ustar Description: Remove references to examples. Author: Ralf Treinen --- bibtex2html-1.75/manual.tex 2005-02-06 16:13:44.000000000 +0100 +++ /tmp/dpep.62kfUa/bibtex2html-1.75/manual.tex 2005-02-06 16:15:33.000000000 +0100 @@ -83,12 +83,9 @@ Then two HTML documents are created (unless option \verb|-nobibsource| is selected or input is standard input, see below) : \begin{itemize} -\item \textit{file.html} which is the bibliography in HTML format -%HEVEA, like \link{examples/biblio-these.html}{this} -; +\item \textit{file.html} which is the bibliography in HTML format; \item \textit{file\_bib.html} which contains all the entries in ASCII format. -%HEVEA ,like \link{examples/biblio-these_bib.html}{this} \end{itemize} \texttt{bibtex} is called on \textit{file.bib} in order to produce the a LaTeX document, and then this LaTeX document is translated into an @@ -136,21 +133,16 @@ \end{itemize} -%HEVEA See the result on \link{examples/biblio-these.html}{this example}. - \subsubsection{Abstracts} If a BibTeX entry contains a field \texttt{abstract} then its contents -is quoted right after the bibliography entry -%HEVEA , like \link{examples/publis-abstracts.html}{this} -. +is quoted right after the bibliography entry. This behavior may be suppressed with the option \texttt{\mm{}no-abstract}. If you want both versions with and without abstracts, use the option \texttt{\mm{}both}. In that case, links named "Abstract" will be -inserted from the page without abstracts to the page with abstracts, -%HEVEA like \link{examples/publis.html}{this}. +inserted from the page without abstracts to the page with abstracts. \subsubsection{Keywords} debian/patches/charset0000644000000000000000000001247412247445421012206 0ustar Description: get charset from locale or commandline Author: Ralf Treinen Credits: Junichi Uekawa for submitting the idea of solving the same problem for the hevea package Closes-Bug: Debian Bug#198802 Index: bibtex2html/Makefile.in =================================================================== --- bibtex2html.orig/Makefile.in 2010-10-01 08:10:01.000000000 +0200 +++ bibtex2html/Makefile.in 2010-10-01 08:16:32.000000000 +0200 @@ -108,38 +108,38 @@ cp *.1 $$HOME/man/man1 bibtex2html$(EXE): $(OBJS) - $(OCAMLOPT) $(PROFILE) $(FLAGS) -o bibtex2html$(EXE) str.cmxa $(OBJS) $(STRLIB) + $(OCAMLOPT) $(PROFILE) $(FLAGS) -o bibtex2html$(EXE) str.cmxa unix.cmxa $(OBJS) $(STRLIB) strip bibtex2html$(EXE) bibtex2html.byte: $(OBJS:.cmx=.cmo) - $(OCAMLC) $(PROFILE) $(FLAGS)-o bibtex2html.byte str.cma $(OBJS:.cmx=.cmo) $(STRLIB) + $(OCAMLC) $(PROFILE) $(FLAGS)-o bibtex2html.byte str.cma unix.cma $(OBJS:.cmx=.cmo) $(STRLIB) bibtex2html.pbyte: $(OBJS:.cmx=.cmo) $(OCAMLC) -use-runtime ~demons/bin/$(OSTYPE)/ocamlcustomrun \ - -o bibtex2html.pbyte str.cma $(OBJS:.cmx=.cmo) + -o bibtex2html.pbyte str.cma unix.cma $(OBJS:.cmx=.cmo) bibtex2html.static: $(OBJS) - $(OCAMLOPT) $(PROFILE) $(FLAGS) -o $@ str.cmxa $(OBJS) $(STRLIB) -cclib "-L. -static" + $(OCAMLOPT) $(PROFILE) $(FLAGS) -o $@ str.cmxa unix.cmxa $(OBJS) $(STRLIB) -cclib "-L. -static" strip $@ SRC=$(OBJS:.cmx=.ml) bibtex2html.dfc: $(SRC) ocamldefun -d defun `ocamldefun-args $(SRC)` - cd defun; $(OCAMLOPT) $(FLAGS) -o ../$@ str.cmxa $(SRC) + cd defun; $(OCAMLOPT) $(FLAGS) -o ../$@ str.cmxa unix.cmxa $(SRC) bib2bib$(EXE): $(BIB2BIBOBJS) - $(OCAMLOPT) $(PROFILE) $(FLAGS) -o bib2bib$(EXE) str.cmxa $(BIB2BIBOBJS) $(STRLIB) + $(OCAMLOPT) $(PROFILE) $(FLAGS) -o bib2bib$(EXE) str.cmxa unix.cmxa $(BIB2BIBOBJS) $(STRLIB) strip bib2bib$(EXE) bib2bib.byte: $(BIB2BIBOBJS:.cmx=.cmo) - $(OCAMLC) $(PROFILE) $(FLAGS) -o bib2bib.byte str.cma $(BIB2BIBOBJS:.cmx=.cmo) $(STRLIB) + $(OCAMLC) $(PROFILE) $(FLAGS) -o bib2bib.byte str.cma unix.cma $(BIB2BIBOBJS:.cmx=.cmo) $(STRLIB) bib2bib.pbyte: $(BIB2BIBOBJS:.cmx=.cmo) $(OCAMLC) -use-runtime ~demons/bin/$(OSTYPE)/ocamlcustomrun \ - -o bib2bib.pbyte str.cma $(BIB2BIBOBJS:.cmx=.cmo) + -o bib2bib.pbyte str.cma unix.cma $(BIB2BIBOBJS:.cmx=.cmo) bib2bib.static: $(BIB2BIBOBJS) - $(OCAMLOPT) $(PROFILE) $(FLAGS) -o $@ str.cmxa $(BIB2BIBOBJS) $(STRLIB) -cclib "-L. -static" + $(OCAMLOPT) $(PROFILE) $(FLAGS) -o $@ str.cmxa unix.cmxa $(BIB2BIBOBJS) $(STRLIB) -cclib "-L. -static" strip $@ static: bibtex2html.static bib2bib.static Index: bibtex2html/html.ml =================================================================== --- bibtex2html.orig/html.ml 2010-09-21 19:41:49.000000000 +0200 +++ bibtex2html/html.ml 2010-10-01 08:16:32.000000000 +0200 @@ -21,11 +21,28 @@ let bgcolor = ref None let css = ref None +let defaultcharset = "ISO-8859-1" +let charset = + ref (try + let c = Unix.open_process_in "/usr/bin/locale charmap" + in let s = input_line c + in begin + Unix.close_process_in c; + if s = "" then defaultcharset else s + end + with + _ -> defaultcharset) + let open_document ch ftitle = output_string ch "\n\n"; output_string ch "\n\n\n"; output_string ch ""; ftitle(); output_string ch "\n"; + fprintf ch + "\n" + !charset; + output_string ch "\n"; + begin match !css with | None -> () | Some f -> Index: bibtex2html/main.ml =================================================================== --- bibtex2html.orig/main.ml 2010-10-01 08:10:01.000000000 +0200 +++ bibtex2html/main.ml 2010-10-01 08:16:32.000000000 +0200 @@ -324,6 +324,7 @@ -revkeys entries numbered in reverse order -t title title of the HTML file (default is the filename) -bg color background color of the HTML file (default is none) + -charset c specify a charset c to use in the HEAD tag -css file specify a style sheet file -o file redirect the output -header additional header in the HTML file @@ -396,6 +397,10 @@ Html.bgcolor := Some s; parse_rec rem | ("-bg" | "-background" | "--background") :: [] -> usage() + | ("-charset" | "--charset") :: c :: rem -> + Html.charset := c; parse_rec rem + | ("-charset" | "--charset") :: [] -> + usage() | ("-css" | "-style-sheet" | "--style-sheet") :: f :: rem -> Html.css := Some f; parse_rec rem | ("-css" | "-style-sheet" | "--style-sheet") :: [] -> Index: bibtex2html/manual.tex =================================================================== --- bibtex2html.orig/manual.tex 2010-09-21 19:41:49.000000000 +0200 +++ bibtex2html/manual.tex 2010-10-01 08:16:32.000000000 +0200 @@ -276,6 +276,12 @@ set a style sheet file for the HTML document (default is none). +\item[\texttt{-charset} \textit{c}, \texttt{\mm{}charset} \textit{c}] ~ + + specify the charset to use in the META tag of generated html files. + The default is the output of the command \verb|locale charmap|, or if + this doesn't work, \texttt{ISO-8859-1}. + \item[\texttt{-dl}, \texttt{\mm{}dl}] ~ use HTML \texttt{DL} lists instead of HTML tables to format entries. debian/patches/test-byte0000644000000000000000000000115112247445421012463 0ustar Author: Ralf Treinen Description: add a test target for byte compilation Index: bibtex2html/Makefile.in =================================================================== --- bibtex2html.orig/Makefile.in 2011-04-18 18:50:40.000000000 +0200 +++ bibtex2html/Makefile.in 2011-04-18 18:50:45.000000000 +0200 @@ -76,6 +76,11 @@ ./bibtex2html$(EXE) test.bib @echo "test passed successfully" +test-byte: bibtex2html.byte bib2bib.byte + ./bib2bib.byte test.bib + ./bibtex2html.byte test.bib + @echo "test passed successfully" + install-indep: mkdir -p $(BINDIR) cp aux2bib $(BINDIR)/aux2bib debian/patches/series0000644000000000000000000000010412247445421012032 0ustar charset doc-noexamples test-byte paranoid-bibtex path-expand-styles debian/patches/path-expand-styles0000644000000000000000000000222112247445421014274 0ustar Description: expand the path name of bibtex styles that correspond to files in the current directory Author: Ralf Treinen Debian-Bug: #698004 Index: bibtex2html/main.ml =================================================================== --- bibtex2html.orig/main.ml 2013-01-13 21:14:30.000000000 +0100 +++ bibtex2html/main.ml 2013-01-13 21:15:18.000000000 +0100 @@ -391,6 +391,15 @@ "; exit (if error then 1 else 0) +let kpsewhich s = + (* see how the tex library would expand s.bst. If the path name starts *) + (* on '.' then we prefix it with the current working directory. *) + try + let e = input_line (Unix.open_process_in ("kpsewhich "^s^".bst")) + in if String.get e 0 = '.' then (Sys.getcwd ())^"/"^s else s + with End_of_file -> s +;; + let parse () = let rec parse_rec = function @@ -420,7 +429,7 @@ | ("-footer" | "--footer") :: [] -> usage() | ("-s" | "-style" | "--style") :: s :: rem -> - style := s; parse_rec rem + style := kpsewhich s; parse_rec rem | ("-s" | "-style" | "--style") :: [] -> usage() | ("-noabstract" | "-no-abstract" | "--no-abstract") :: rem -> debian/compat0000644000000000000000000000000212247445421010371 0ustar 7