]> git.pld-linux.org Git - packages/docbook-utils.git/blob - docbook-utils-debian.patch
- rel 4; debian patch
[packages/docbook-utils.git] / docbook-utils-debian.patch
1 --- docbook-utils-0.6.14.orig/helpers/docbook2man-spec.pl
2 +++ docbook-utils-0.6.14/helpers/docbook2man-spec.pl
3 @@ -1199,8 +1199,8 @@
4         $_[0] =~ s/\\/\\\\/g;
5  
6         # Escape dots and single quotes in column 1
7 -       $_[0] =~ s/^\./\\\&\./;
8 -       $_[0] =~ s/^\'/\\\&\'/;
9 +       $_[0] =~ s/^[ \t]*\./\\\&\./;
10 +       $_[0] =~ s/^[ \t]*\'/\\\&\'/;
11  
12         # In non-'pre'-type elements:
13         if(!$nocollapse_whitespace) {
14 --- docbook-utils-0.6.14.orig/helpers/docbook2texi-spec.pl
15 +++ docbook-utils-0.6.14/helpers/docbook2texi-spec.pl
16 @@ -774,7 +774,7 @@
17  ## Print the URL
18  sgml('<ULINK>', sub {
19         if($skip_inline++) { return; }  # hopefully doesn't happen
20 -       output '@uref{', output $_[0]->attribute('URL'), ', '
21 +       output '@uref{', $_[0]->attribute('URL')->value, ', '
22  });
23  sgml('</ULINK>', sub {
24         output '}' unless --$skip_inline;
25 @@ -807,6 +807,7 @@
26  sgml('|[lt    ]|', "<");
27  sgml('|[gt    ]|', ">");
28  sgml('|[amp   ]|', "&");
29 +sgml('|[ndash ]|', "-");
30  
31  #
32  # Default handlers (uncomment these if needed).  Right now, these are set
33
This page took 0.04327 seconds and 3 git commands to generate.