diff -Nru bibtex2html-1.97/debian/changelog bibtex2html-1.97/debian/changelog
--- bibtex2html-1.97/debian/changelog 2012-04-01 15:42:22.000000000 +0000
+++ bibtex2html-1.97/debian/changelog 2013-05-07 06:44:28.000000000 +0000
@@ -1,3 +1,21 @@
+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
diff -Nru bibtex2html-1.97/debian/control bibtex2html-1.97/debian/control
--- bibtex2html-1.97/debian/control 2012-04-01 15:42:22.000000000 +0000
+++ bibtex2html-1.97/debian/control 2013-05-07 06:44:28.000000000 +0000
@@ -5,9 +5,8 @@
Uploaders:
Ralf Treinen ,
Remi Vanicat ,
- Samuel Mimram ,
- Sylvain Le Gall
-Standards-Version: 3.9.3
+ Samuel Mimram
+Standards-Version: 3.9.4
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
diff -Nru bibtex2html-1.97/debian/patches/path-expand-styles bibtex2html-1.97/debian/patches/path-expand-styles
--- bibtex2html-1.97/debian/patches/path-expand-styles 1970-01-01 00:00:00.000000000 +0000
+++ bibtex2html-1.97/debian/patches/path-expand-styles 2013-05-07 06:44:28.000000000 +0000
@@ -0,0 +1,34 @@
+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 ->
diff -Nru bibtex2html-1.97/debian/patches/series bibtex2html-1.97/debian/patches/series
--- bibtex2html-1.97/debian/patches/series 2012-04-01 15:42:22.000000000 +0000
+++ bibtex2html-1.97/debian/patches/series 2013-05-07 06:44:28.000000000 +0000
@@ -2,3 +2,4 @@
doc-noexamples
test-byte
paranoid-bibtex
+path-expand-styles