Commit f3086aad authored by Eric Bélanger's avatar Eric Bélanger
Browse files

Fix info pages (close FS#36236)

parent b39b1e2f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
pkgname=a2ps pkgname=a2ps
pkgver=4.14 pkgver=4.14
pkgrel=3 pkgrel=4
pkgdesc="An Any to PostScript filter" pkgdesc="An Any to PostScript filter"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.gnu.org/software/a2ps/" url="http://www.gnu.org/software/a2ps/"
...@@ -13,15 +13,17 @@ backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg') ...@@ -13,15 +13,17 @@ backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
options=('!libtool') options=('!libtool')
install=a2ps.install install=a2ps.install
source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig} source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
a2ps-4.14-check-mempcpy.patch a2ps-4.14-fix-stpcpy-proto.patch) a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch
a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch)
sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852'
'SKIP' 'SKIP'
'8783952d3410d8d59ed953e1db45e2ef1a0b8f65' '8783952d3410d8d59ed953e1db45e2ef1a0b8f65'
'94e35a6ad9268161bec22a56d4cfb696d635994a' '94e35a6ad9268161bec22a56d4cfb696d635994a'
'2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce' '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce'
'6aed29c1399e79f3914b408059610f9e7c0fc38e' '6aed29c1399e79f3914b408059610f9e7c0fc38e'
'58fa90134f1027e3f05aeb08212cbcc10f420738') '58fa90134f1027e3f05aeb08212cbcc10f420738'
'81269db9dd29685b0ece2539070ced3f7a8472df')
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
...@@ -34,6 +36,7 @@ prepare() { ...@@ -34,6 +36,7 @@ prepare() {
patch -p1 -i "${srcdir}/a2ps-4.13-manpage-chmod.patch" patch -p1 -i "${srcdir}/a2ps-4.13-manpage-chmod.patch"
patch -p1 -i "${srcdir}/a2ps-4.14-check-mempcpy.patch" patch -p1 -i "${srcdir}/a2ps-4.14-check-mempcpy.patch"
patch -p0 -i "${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch" patch -p0 -i "${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch"
patch -p1 -i "${srcdir}/a2ps-texinfo5.patch"
} }
build() { build() {
......
diff -Naur a2ps-4.14-orig/doc/a2ps.texi a2ps-4.14/doc/a2ps.texi
--- a2ps-4.14-orig/doc/a2ps.texi 2013-07-30 02:27:21.950434805 -0400
+++ a2ps-4.14/doc/a2ps.texi 2013-07-30 02:29:07.286445041 -0400
@@ -22,12 +22,12 @@
@c `a2ps'. Avoid those quotes.
@iftex
@macro pack
-@code{@value{PACKAGE}}@c
+@code{@value{PACKAGE}}
@end macro
@end iftex
@ifnottex
@macro pack
-@value{PACKAGE}@c
+@value{PACKAGE}
@end macro
@end ifnottex
@@ -43,11 +43,6 @@
@end macro
@end ifnottex
-@c TeX variants
-@macro LaTeX
-La@TeX{}
-@end macro
-
@macro PreTeX
Pre@TeX{}
@end macro
@@ -3965,13 +3960,13 @@
@itemx \end@{enumerate@}
@itemx \begin@{description@}
@itemx \end@{description@}
-These commands are legal in @LaTeX but have no sense in @PreTeX{}.
+These commands are legal in @LaTeX{} but have no sense in @PreTeX{}.
Hence there are simply ignored and not printed (if immediately followed
by an end-of-line).
@end table
@node Differences with LaTeX
-@subsubsection Differences with @LaTeX
+@subsubsection Differences with @LaTeX{}
The following symbols, inherited from the style sheet @code{Symbol}, are
not supported by @LaTeX{}:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment