summaryrefslogtreecommitdiff
path: root/update-faq
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2006-10-25 17:01:07 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2006-10-25 17:01:07 +0000
commit8e11845df8d98488067a7a612573b2fd1ff8cd9b (patch)
treef01cf97528d96c7e74857e4ca658b09007d39f74 /update-faq
parent1dde29124972da62209e4680fbba1344a80d20b2 (diff)
downloadmpfr-8e11845df8d98488067a7a612573b2fd1ff8cd9b.tar.gz
FAQ-related updates:
* faq.xsl: Include styles from http://www.mpfr.org/styles/visual.css by using a system entity (but GNOME libxslt bug 345147 is still present in Debian, so don't use /*<![CDATA[*/ and /*]]>*/ yet). * update-faq: add /*<![CDATA[*/ and /*]]>*/ after calling xsltproc. * FAQ.html: update from the MPFR web site: various changes, including: + added id attributes on dt elements (FAQ items) to allow anchors; + updated FAQ for undefined references. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4159 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'update-faq')
-rwxr-xr-xupdate-faq4
1 files changed, 2 insertions, 2 deletions
diff --git a/update-faq b/update-faq
index 985357506..c882ab529 100755
--- a/update-faq
+++ b/update-faq
@@ -1,4 +1,4 @@
#!/bin/sh
-wget -q -O - http://www.mpfr.org/faq.html | \
- xsltproc --nodtdattr faq.xsl - > FAQ.html
+wget -q -O - http://www.mpfr.org/faq.html | xsltproc --nodtdattr faq.xsl - | \
+ perl -pe 's,(<style.*),\1/*<![CDATA[*/,; s,(</style>),/*]]>*/\1,' > FAQ.html