Skip to content
Snippets Groups Projects
Commit 246b794f authored by Goik Martin's avatar Goik Martin
Browse files

XSL parameters included

parent 0e8dd8cf
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,28 @@ SCRIPTBASENAME=fig
XSLPARAM=\
-p callout.graphics 0\
-p callout.unicode 1
-p callout.unicode 1\
-p generate.toc 'appendix toc,title\
article/appendix nop\
article toc,title\
book toc,title,figure,table,example,equation\
chapter toc,title\
part toc,title\
preface toc,title\
reference toc,title\
sect1 toc\
sect2 toc\
sect3 toc\
sect4 toc\
sect5 toc\
section toc\
set toc,title' \
-p graphicsize.use.img.src.path 0\
-p highlight.source 1\
-p id.warnings 1\
-p olink.debug 1\
-p ulink.target _blank\
-p use.id.as.filename 1
XSLPARAM_pdf=\
-p xep.extensions 1\
......@@ -42,11 +63,12 @@ epub:
/usr/share/xmlmind/bin/xxetool convert $(DEBUG) db5.toEpub fig.xml -u $(TARGETDIR)/fig.epub
webhelp:${BUILDROOT}/${SCRIPTBASENAME}_html.xml
cd ${BUILDROOT};/usr/share/xmlmind/bin/xxetool convert $(DEBUG) \
cd ${BUILDROOT};/usr/share/xmlmind/bin/xxetool convert $(DEBUG) ${XSLPARAM} \
db5.toWebHelp ${SCRIPTBASENAME}_html.xml -u webhelp
slides: ${BUILDROOT}/${SCRIPTBASENAME}.xml
cd ${BUILDROOT}; ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../../Xsl/docbook2slides.xsl callout.unicode=1
cd ${BUILDROOT}; ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../../Xsl/docbook2slides.xsl callout.unicode=1;\
ln -sf /usr/share/reveal.js Slides;ln -sf ../Ref .
pdf: fig.xml
/usr/share/xmlmind/bin/xxetool convert $(DEBUG) ${XSLPARAM_pdf} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment