# HG changeset patch # User František Kučera # Date 1569448760 -7200 # Node ID 9e5c3383ba5069b8ca4741fc2e561a04f4ed8441 # Parent db3eb602fa6082967a1e69b2bf312fa0f30ed237 add PDF output (using LibreOffice) diff -r db3eb602fa60 -r 9e5c3383ba50 Makefile --- a/Makefile Wed Sep 25 12:38:48 2019 +0200 +++ b/Makefile Wed Sep 25 23:59:20 2019 +0200 @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -all: validate xhtml txt +all: validate xhtml txt pdf logo-png statistics validate: xmllint --noout --schema schema/ssm.xsd text/ssm.en.xml @@ -24,6 +24,11 @@ cp templates/*.css build cp templates/*.woff build +pdf: + mkdir -p build + xsltproc --output build/ssm.en.fodt --nonet templates/ssm.odt.xsl text/ssm.en.xml + libreoffice --convert-to pdf --outdir build build/ssm.en.fodt + # TODO: better line wrapping txt: mkdir -p build diff -r db3eb602fa60 -r 9e5c3383ba50 templates/ssm.odt.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/ssm.odt.xsl Wed Sep 25 23:59:20 2019 +0200 @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + <DRAFT> Please note that this is a draft version. Stay tuned for v1.0.0! </DRAFT> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sane Software Manifesto <https://sane-software.globalcode.info/> Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) CC-BY-ND + 1 / 1 + + + + + + + \ No newline at end of file