From d7f8427623288493e9d082f793ed75870134c7e5 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 3 Oct 2014 13:13:42 -0400 Subject: [PATCH] Improve XSL for documentation --- Documentation/Makefile | 2 +- Documentation/docbook/xsl/sogo-fo-article.xsl | 193 ------------------ Documentation/docbook/xsl/sogo-fo.xsl | 7 + 3 files changed, 8 insertions(+), 194 deletions(-) delete mode 100644 Documentation/docbook/xsl/sogo-fo-article.xsl diff --git a/Documentation/Makefile b/Documentation/Makefile index 40bc10436..ee7246fba 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -1,7 +1,7 @@ all: $(patsubst %.asciidoc,%.pdf,$(wildcard *.asciidoc)) %.pdf : %.asciidoc - asciidoc -a docinfo1 -b docbook -d book -d book -o $<.docbook $< + asciidoc -a docinfo1 -b docbook -d book -o $<.docbook $< fop -c fonts/fop-config.xml -xsl docbook/xsl/sogo-fo.xsl -xml $<.docbook -pdf $@ clean: diff --git a/Documentation/docbook/xsl/sogo-fo-article.xsl b/Documentation/docbook/xsl/sogo-fo-article.xsl deleted file mode 100644 index 6489f9d5a..000000000 --- a/Documentation/docbook/xsl/sogo-fo-article.xsl +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lato-Medium - - - 0.5em - solid 2px - 1em - - - solid 1px - 1em - 1em - - - 1em - 1em - - - 1em - - - 1em - - - - - 1.5em - 1.5em - 2.2em - - - - Lato-Light - 10 - Incosolata - - - - 12pt - bold - center - - - page - - - 1px solid - - - - - - - - - - - - - 0em - 0em - 0.2em - - - - - - - - - - - - - square - - - - - - images/ - .png - - 1px solid - 1px solid - 0.5em - 0.5em - 2em - - - - - - - #E0E0E0 - thin #9F9F9F solid - 0pt - 0.5em - - always - - - - - wrap - - - - - - - - blue - underline - - - - - - - - - - diff --git a/Documentation/docbook/xsl/sogo-fo.xsl b/Documentation/docbook/xsl/sogo-fo.xsl index 4f5c4ba31..5ab3c7396 100644 --- a/Documentation/docbook/xsl/sogo-fo.xsl +++ b/Documentation/docbook/xsl/sogo-fo.xsl @@ -165,6 +165,13 @@ underline + + + + + + +