latex2html/latex2html-backref-workaround.diff
Petr Gajdos 3c2ed70bec - updated to 2015: apply patches from Debian
D    latex2html-2012-backref-workaround.diff
D    latex2html-2012-binmode.diff
D    latex2html-2012-dest-dir.diff
D    latex2html-2012-gsout.diff (upstreamed)
D    latex2html-2012-match-multiline.diff (upstreamed)
D    latex2html-2012-perl-bindir.diff
D    latex2html-2012-share-dir.diff
A    latex2html-backref-workaround.diff
A    latex2html-binmode.diff
A    latex2html-dest-dir.diff
A    latex2html-perl-bindir.diff
A    latex2html-share-dir.diff

OBS-URL: https://build.opensuse.org/package/show/Publishing/latex2html?expand=0&rev=23
2015-12-16 15:05:06 +00:00

21 lines
1.2 KiB
Diff

--- ./latex2html.pin.orig 2013-06-25 14:57:10.000000000 +0000
+++ ./latex2html.pin 2013-06-25 14:57:27.000000000 +0000
@@ -16557,7 +16557,7 @@ sub make_isolatin1_rx {
$caption_suffixes = "lof|lot";
# $caption_rx = "\\\\caption\\s*([[]\\s*((($any_next_pair_rx5)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\8$C$EOL";
- $caption_rx = "\\\\(top|bottom|table)?caption\\s*\\\*?\\s*([[]\\s*((($any_next_pair_rx6)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\9$C$EOL";
+ $caption_rx = "\\\\(top|bottom|table)?caption\\s*\\\*?\\s*([[]\\s*((($any_next_pair_rx6)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\g9$C$EOL";
$caption_width_rx = "\\\\setlength\\s*(($O|$OP)\\d+($C|$CP))\\\\captionwidth\\1\\s*(($O|$OP)\\d+($C|$CP))([^>]*)\\4";
# Matches the \htmlimage command
@@ -16622,7 +16622,7 @@ sub make_isolatin1_rx {
# Matches a label command and its argument
$labels_rx = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\1$C$EOL";
- $labels_rx8 = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\8$C$EOL";
+ $labels_rx8 = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\g8$C$EOL";
# Matches environments that should not be touched during the translation
# $verbatim_env_rx = "\\s*{(verbatim|rawhtml|LVerbatim)[*]?}";