Re: Patch for doctype and faq

Jeff Martin <[email protected]> Fri, 08 Apr 2005 15:26:17 +0100
Newsgroups gmane.editors.conglomerate.devel
Message-ID <[email protected]>
Okay here's how it works

faq.xml get renamed to faq.xml.orig

The attached patch gets applied which adds a rule to the build which
generates faq.xml from faq.xml.original using faq-hack.xsl replacing the
qanda stuff with sections.

Everyone site back and goes about their business quite happily

Eventually someone gets around to fixing yelp to handle qanda (maybe
I'll look at it). We then remove the make rule and move faq.xml.orig
back to faq.xml

Everyone site back and goes about their business quite happily.

On Fri, 2005-04-08 at 15:53 +0200, Michèle Garoche wrote:
> Le 8 avr. 2005, à 15:35, Sean Wheller a écrit :
> 
> > On Friday 08 April 2005 15:32, Michèle Garoche wrote:
> >> But how do you tell yelp to not use its stylesheet?
> >
> > You don't. But you can hack the yelp stylesheets.
> That is not a solution. You cannot rely on an eventual hack of another 
> package, because then it will change others docs.
> 
> Michèle
> <http://micmacfr.homeunix.org>
> _______________________________________________
> Conglomerate-devel mailing list
> [email protected]
> http://lists.copyleft.no/mailman/listinfo/conglomerate-devel
-- 
Jeff Martin

Memetic Engineer

http://www.custommonkey.org/

_______________________________________________
Conglomerate-devel mailing list
[email protected]
http://lists.copyleft.no/mailman/listinfo/conglomerate-devel
faq.patch (text/x-patch, 1 KB)
Index: doc/C/Makefile.am
===================================================================
RCS file: /cvs/gnome/conglomerate/doc/C/Makefile.am,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.am
--- doc/C/Makefile.am	15 Oct 2004 23:09:06 -0000	1.6
+++ doc/C/Makefile.am	8 Apr 2005 14:20:06 -0000
@@ -1,3 +1,7 @@
+# temporary hack until yelp support qanda sets
+faq.xml: faq.xml.orig
+	xsltproc --output $@ faq-hack.xsl $<
+
 more_C_docs = \
   conglomerate-refentry.xml manpage.make conglomerate.1 \
   faq.xml
Index: doc/C/ChangeLog
===================================================================
RCS file: /cvs/gnome/conglomerate/doc/C/ChangeLog,v
retrieving revision 1.24
diff -u -p -r1.24 ChangeLog
--- doc/C/ChangeLog	1 Feb 2005 17:45:53 -0000	1.24
+++ doc/C/ChangeLog	8 Apr 2005 14:20:06 -0000
@@ -1,3 +1,9 @@
+2005-04-08  Jeff Martin <[email protected]>
+
+	* Makefile.am, faq-hack.xsl, faq.xml
+
+	Added temporary transform to replace qanda sets in docbook with sections
+
 2005-02-01  Geert Stappers <[email protected]>
 
 	* conglomerate.xml