Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=generic.git;a=commitdiff;h=730b0b5a845151dc696900183285cf5f9dbd6b78

commit 730b0b5a845151dc696900183285cf5f9dbd6b78
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Jul 28 03:01:38 2008 +0200

asciidoc-8.2.7-3-i686
- add a README.Frugalware to document some less obvious configuration
settings
- no rebuild yet

diff --git a/source/apps-extra/asciidoc/FrugalBuild 
b/source/apps-extra/asciidoc/FrugalBuild
index c61ca3a..dbe4139 100644
--- a/source/apps-extra/asciidoc/FrugalBuild
+++ b/source/apps-extra/asciidoc/FrugalBuild
@@ -13,9 +13,11 @@ archs=('i686' 'x86_64')
up2date="lynx -dump http://www.methods.co.nz/asciidoc/downloads.html |Flasttar"
source=(http://www.methods.co.nz/asciidoc/asciidoc-$pkgver.tar.gz \
http://ftp.frugalware.org/pub/other/sources/asciidoc/asciidoc-fonts-0.1.tar.bz2 
\
+       README.Frugalware \
351cdc59164f.patch eb3a27e2a482.patch)
sha1sums=('ec784654f01f3aa71af6453c8985839010759fab' \
'717779406f876f439ac37c79878f403ecdef3467' \
+          '31d7a38de67fd8d2492b8a07d64721491b69d1ea' \
'09817fdefe5bf8ce9de27d481c69ff0b31980969' \
'95c11c28c435b4295780297d876c8e41a8f272a7')

diff --git a/source/apps-extra/asciidoc/README.Frugalware 
b/source/apps-extra/asciidoc/README.Frugalware
new file mode 100644
index 0000000..b49ca8a
--- /dev/null
+++ b/source/apps-extra/asciidoc/README.Frugalware
@@ -0,0 +1,37 @@
+Asciidoc has a number of configuration files under `/etc/asciidoc` and
+it's easy to get lost in that directory.
+
+Regarding pdf (dblatex) generation, here are some options you can set:
+
+- If you want to avoid the "PDF by dblatex" picture on the front page,
+  edit `/etc/asciidoc/dblatex/asciidoc-dblatex.xsl`:
+
+----
+<xsl:param name="doc.publisher.show">0</xsl:param>
+----
+
+- If you want to avoid the "Revision History" page, add:
+
+----
+<xsl:param name="latex.output.revhistory">0</xsl:param>
+----
+
+- If you want to avoid the "Contents" page, add:
+
+----
+<xsl:param name="doc.toc.show">0</xsl:param>
+----
+
+- If you want to avoid the front page, sadly you can't do it from a
+  configuration file, but for now you can edit
+  `/usr/share/dblatex/latex/style/docbook.sty`. Change the `\maketitle`
+  macro to:
+
+----
+\def\maketitle{
+  \def\edhead{}
+  \DBKdomitete
+}
+----
+
+// vim: ft=asciidoc
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to