From 198d56529a85f3957e798ee228635ffd8b19ac4b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 20 Jul 2013 10:44:50 +0000 Subject: * Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf): Process input via xsltproc and fop. (cygwin-api/cygwin-api.pdf): Ditto. * fo.xsl: New file. --- winsup/doc/ChangeLog | 8 ++++++++ winsup/doc/Makefile.in | 7 +++---- winsup/doc/fo.xsl | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 winsup/doc/fo.xsl diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 62a40c23c..15aba7884 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,11 @@ +2013-07-20 Warren Young + Corinna Vinschen + + * Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf): Process input via + xsltproc and fop. + (cygwin-api/cygwin-api.pdf): Ditto. + * fo.xsl: New file. + 2013-07-15 Corinna Vinschen * new-features.sgml (ov-new1.7.22): New section. Document dropped diff --git a/winsup/doc/Makefile.in b/winsup/doc/Makefile.in index 48bf50472..a13a59093 100644 --- a/winsup/doc/Makefile.in +++ b/winsup/doc/Makefile.in @@ -47,7 +47,7 @@ clean: rm -f *.html *.html.gz rm -Rf cygwin-api cygwin-ug cygwin-ug-net faq -install: all +install: all cygwin-ug-net/cygwin-ug-net-nochunks.html.gz : cygwin-ug-net.xml -${XMLTO} html-nochunks -m $(srcdir)/cygwin.xsl $< @@ -58,15 +58,14 @@ cygwin-ug-net/cygwin-ug-net-nochunks.html.gz : cygwin-ug-net.xml cygwin-ug-net/cygwin-ug-net.html : cygwin-ug-net.xml -${XMLTO} html -o cygwin-ug-net/ -m $(srcdir)/cygwin.xsl $< -# Some versions of jw hang with the -o option cygwin-ug-net/cygwin-ug-net.pdf : cygwin-ug-net.xml - -${XMLTO} pdf -o cygwin-ug-net/ $< + -xsltproc --xinclude $(srcdir)/fo.xsl $< | fop -q -fo - $@ cygwin-api/cygwin-api.html : cygwin-api.xml -${XMLTO} html -o cygwin-api/ -m $(srcdir)/cygwin.xsl $< cygwin-api/cygwin-api.pdf : cygwin-api.xml - -${XMLTO} pdf -o cygwin-api/ $< + -xsltproc --xinclude $(srcdir)/fo.xsl $< | fop -q -fo - $@ cygwin-api.xml : cygwin-api.in.xml ./doctool Makefile -./doctool -m $(DBXDIRS) -s $(srcdir) -o $@ $< diff --git a/winsup/doc/fo.xsl b/winsup/doc/fo.xsl new file mode 100644 index 000000000..4bc255ce8 --- /dev/null +++ b/winsup/doc/fo.xsl @@ -0,0 +1,32 @@ + + + + + + + + + page + + + + + left + + + + + 85% + + + + + -- cgit v1.2.3