Re: [docbook-apps] Embedding DocBook → PD F transformation in a Java web app

Paul Hoadley <[email protected]> Sun, 30 Jul 2023 15:17:28 +0930
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
--Apple-Mail=_E021B9CE-A399-4F16-9800-BCB870D5CB58
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 29 Jul 2023, at 6:28 pm, Benjamin DE DARDEL =
<[email protected]> wrote:

> This is an old problem that I looked into some time ago.
> I use my ant4docbook project daily to generate pdfs, from docbook, =
markdown and docbook xsl1.xx.
> Surely there are some interesting things to take in there.

Thanks for the suggestion. I've had a browse over the source. It seems =
like any reference to the embedded DocBook XSL is via Files, which is =
something I want to avoid. Ideally, I'd like to get this to run "out of =
the JAR". Am I missing some code in ant4docbook that would demonstrate =
that approach?

> The next step is to use xsltng + an html to pdf converter (chromium =
cef pdf?).

For the moment, at least, I'd like to see if I can get to PDF via FO, =
which means the v1 or v2 stylesheets.


--=20
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/


--Apple-Mail=_E021B9CE-A399-4F16-9800-BCB870D5CB58
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">On =
29 Jul 2023, at 6:28 pm, Benjamin DE DARDEL &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:<div class=3D""><br =
class=3D""></div><div class=3D""><div><blockquote type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"auto" class=3D""><div =
class=3D""><div dir=3D"auto" class=3D""><pre dir=3D"ltr" =
style=3D"max-height:999999px;line-height:28px;border:none;padding:10px =
0.14em 10px 0px;margin-top:0px;margin-bottom:0px;width:328px" =
class=3D""><span style=3D"max-height:999999px" class=3D"">This is an old =
problem that I looked into some time ago.
I use my ant4docbook project daily to generate pdfs, from docbook, =
markdown and docbook xsl1.xx.
Surely there are some interesting things to take in there.
</span></pre></div></div></div></div></blockquote><div><br =
class=3D""></div><div>Thanks for the suggestion. I've had a browse over =
the source. It seems like any reference to the embedded DocBook XSL is =
via Files, which is something I want to avoid. Ideally, I'd like to get =
this to run "out of the JAR". Am I missing some code in&nbsp;ant4docbook =
that would demonstrate that approach?</div><div><br =
class=3D""></div><blockquote type=3D"cite" class=3D""><div class=3D""><div=
 dir=3D"auto" class=3D""><div class=3D""><div dir=3D"auto" class=3D""><pre=
 dir=3D"ltr" =
style=3D"max-height:999999px;line-height:28px;border:none;padding:10px =
0.14em 10px 0px;margin-top:0px;margin-bottom:0px;width:328px" =
class=3D""><span style=3D"max-height:999999px" class=3D"">The next step =
is to use xsltng + an html to pdf converter (chromium cef =
pdf?).</span></pre></div></div></div></div></blockquote><div><br =
class=3D""></div><div>For the moment, at least, I'd like to see if I can =
get to PDF via FO, which means the v1 or v2 stylesheets.</div><div><br =
class=3D""></div><div><br class=3D""></div></div><div class=3D"">
<div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-variant-ligatures: normal; font-variant-position: normal; =
font-variant-numeric: normal; font-variant-alternates: normal; =
font-variant-east-asian: normal; line-height: normal; border-spacing: =
0px; -webkit-text-decorations-in-effect: none;"><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">--&nbsp;<br class=3D"">Paul Hoadley<br class=3D""><a =
href=3D"https://logicsquad.net/" class=3D"">https://logicsquad.net/</a><br=
 class=3D"">https://www.linkedin.com/company/logic-squad/</div><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;" class=3D""><br =
class=3D""></div></span></div></div></div></div></body></html>=

--Apple-Mail=_E021B9CE-A399-4F16-9800-BCB870D5CB58--