workaround passivetex limitation for chapter titles starting with
L(#526273)
This commit is contained in:
parent
233096f28f
commit
b88a1bd76d
45
xmlto-0.0.23-Lchapterpassivetex.patch
Normal file
45
xmlto-0.0.23-Lchapterpassivetex.patch
Normal file
@ -0,0 +1,45 @@
|
||||
diff -urNp xmlto-0.0.23-orig/format/fo/dvi xmlto-0.0.23/format/fo/dvi
|
||||
--- xmlto-0.0.23-orig/format/fo/dvi 2009-09-18 12:06:23.000000000 +0200
|
||||
+++ xmlto-0.0.23/format/fo/dvi 2009-10-13 14:08:46.000000000 +0200
|
||||
@@ -13,7 +13,10 @@ post-process)
|
||||
fi
|
||||
# Work around stupid tetex bug with '_' in filenames
|
||||
# Also work around stupid tetex limitation with long lines (bug #101055)
|
||||
- sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
|
||||
+ # and workaround passivetex limitation for chapter titles starting with L
|
||||
+ # (#526273)
|
||||
+ sed -e "s,/>,/>\n,g" \
|
||||
+ -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
|
||||
OUT=output
|
||||
TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
|
||||
export TEXINPUTS
|
||||
diff -urNp xmlto-0.0.23-orig/format/fo/pdf xmlto-0.0.23/format/fo/pdf
|
||||
--- xmlto-0.0.23-orig/format/fo/pdf 2009-09-18 12:06:23.000000000 +0200
|
||||
+++ xmlto-0.0.23/format/fo/pdf 2009-10-13 14:09:08.000000000 +0200
|
||||
@@ -15,7 +15,10 @@ DEFAULT|DBLATEX)
|
||||
fi
|
||||
# Work around stupid tetex bug with '_' in filenames
|
||||
# Also work around stupid tetex limitation with long lines (bug #101055)
|
||||
- sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
|
||||
+ # and workaround passivetex limitation for chapter titles starting with L
|
||||
+ # (#526273)
|
||||
+ sed -e "s,/>,/>\n,g" \
|
||||
+ -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
|
||||
OUT=output
|
||||
TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
|
||||
export TEXINPUTS
|
||||
diff -urNp xmlto-0.0.23-orig/format/fo/ps xmlto-0.0.23/format/fo/ps
|
||||
--- xmlto-0.0.23-orig/format/fo/ps 2009-03-17 17:39:52.000000000 +0100
|
||||
+++ xmlto-0.0.23/format/fo/ps 2009-10-13 14:01:39.000000000 +0200
|
||||
@@ -10,7 +10,10 @@ DEFAULT|DBLATEX)
|
||||
fi
|
||||
# Work around stupid tetex bug with '_' in filenames
|
||||
# Also work around stupid tetex limitation with long lines (bug #101055)
|
||||
- sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
|
||||
+ # and workaround passivetex limitation for chapter titles starting with L
|
||||
+ # (#526273)
|
||||
+ sed -e "s,/>,/>\n,g" \
|
||||
+ -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
|
||||
OUT=output
|
||||
TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
|
||||
export TEXINPUTS
|
@ -1,7 +1,7 @@
|
||||
Summary: A tool for converting XML files to various formats
|
||||
Name: xmlto
|
||||
Version: 0.0.23
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
#Older versions up to xmlto-0.0.20
|
||||
@ -22,6 +22,7 @@ Requires: text-www-browser
|
||||
Requires: libxslt
|
||||
Requires: docbook-dtds
|
||||
Requires: util-linux, flex
|
||||
Patch1: xmlto-0.0.23-Lchapterpassivetex.patch
|
||||
|
||||
%description
|
||||
This is a package for converting XML files to various formats using XSL
|
||||
@ -58,6 +59,7 @@ xhtml1 source format.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure BASH=/bin/bash
|
||||
@ -99,6 +101,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Oct 13 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-3
|
||||
- workaround passivetex limitation for chapter titles starting
|
||||
with L(#526273)
|
||||
|
||||
* Fri Sep 24 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-2
|
||||
- ensure the default shell is /bin/bash instead of /bin/sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user