Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
ef049977
Commit
ef049977
authored
Dec 17, 2016
by
Alexandre Guth
Browse files
Merge branch 'master' of
https://gitlab.utc.fr/crozatst/hdoc
parents
a00d3236
19d69dc4
Changes
3
Hide whitespace changes
Inline
Side-by-side
hdoc_to_pdf/input/sample.hdoc
View file @
ef049977
No preview for this file type
hdoc_to_pdf/lib/MyPDFGenerator.jar
0 → 100644
View file @
ef049977
File added
hdoc_to_pdf/xsl/find_content.xsl
View file @
ef049977
...
...
@@ -45,7 +45,16 @@
<xslt
in=
"{$TempDirectory}/{$path}"
out=
"{$TempDirectory}/hdoc_nsless.xhtml"
style=
"xsl/ns_remover.xsl"
classpath=
"./lib/saxon9he.jar"
/>
<xslt
in=
"{$TempDirectory}/hdoc_nsless.xhtml"
out=
"{$TempDirectory}/flat_hdoc.xhtml"
style=
"xsl/hdoc_flattenizer.xsl"
classpath=
"./lib/saxon9he.jar"
/>
<xslt
in=
"{$TempDirectory}/flat_hdoc.xhtml"
out=
"{$TempDirectory}/final.xhtml"
style=
"xsl/last_transformer.xsl"
classpath=
"./lib/saxon9he.jar"
/>
<xslt
in=
"{$TempDirectory}/flat_hdoc.xhtml"
out=
"{$dirpath}/final.xhtml"
style=
"xsl/last_transformer.xsl"
classpath=
"./lib/saxon9he.jar"
/>
<!--TODO include the PDF generation part to hdoc_to_pdf.ant -->
<mkdir
dir=
"output"
/>
<exec
executable=
"java"
>
<arg
value=
"-jar"
/>
<arg
value=
"lib/MyPDFGenerator.jar"
/>
<arg
value=
"{$dirpath}/final.xhtml"
/>
<arg
value=
"output/result.pdf"
/>
</exec>
</xsl:matching-substring>
</xsl:analyze-string>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment