public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos-S0/GAf8tV78@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: XML/XSL to PDF?
Date: Sun, 19 Nov 2023 14:44:02 +0100	[thread overview]
Message-ID: <97ff462e-674b-a3c8-341c-8f540ec6d3db@web.de> (raw)
In-Reply-To: <736190cb-cb86-464e-916c-63180b4839d2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

On 11/18/23 13:33, David Banas wrote:
> Thanks, John!
> Is there a particular tool that you'd care to recommend?

Hi David,

if you know which elements and attributes you need for your PDF
documents, even ConTeXt can deal directly with XML (no XSL
transformation needed).

As https://pandoc.org/ reads, PDF documents are generated via pdflatex,
lualatex, xelatex, latexmk, tectonic, wkhtmltopdf, weasyprint, prince,
pagedjs-cli, context, or pdfroff.

LaTeX seems to be the most common way to do it.

But as John has already written, you need to get the HTML first after
transforming your XML with your XSL.

Just in case it helps,

Pablo


> On Friday, November 17, 2023 at 11:12:59 AM UTC-5 John MacFarlane wrote:
>
>     Or, use xslt tools to translate it to HTML, and then pandoc.
>
>     > On Nov 17, 2023, at 6:04 AM, Bastien DUMONT
>     <bastien...-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> wrote:
>     >
>     > Not out of the box, you must use a custom reader
>     (https://pandoc.org/custom-readers.html
>     <https://pandoc.org/custom-readers.html>) to tell Pandoc how to
>     translate your XML file into its internal document structure (AST).
>     Unless it is of one of the formats supported by Pandoc, of course
>     (see the manual).
>     >
>     > Le Friday 17 November 2023 à 05:15:57AM, David Banas a écrit :
>     >> Can Pandoc translate XML that uses an XSL style sheet into PDF?
>     >>
>     >>
>     >> --
>     >> You received this message because you are subscribed to the
>     Google Groups
>     >> "pandoc-discuss" group.
>     >> To unsubscribe from this group and stop receiving emails from it,
>     send an email
>     >> to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>     >> To view this discussion on the web visit
>     [2]https://groups.google.com/d/msgid/
>     <https://groups.google.com/d/msgid/>
>     >>
>     pandoc-discuss/a07b694f-f5be-4eca-b834-ef5b84fdf181n%40googlegroups.com <http://40googlegroups.com>.
>     >>
>     >> References:
>     >>
>     >> [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>     >> [2]
>     https://groups.google.com/d/msgid/pandoc-discuss/a07b694f-f5be-4eca-b834-ef5b84fdf181n%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/pandoc-discuss/a07b694f-f5be-4eca-b834-ef5b84fdf181n%40googlegroups.com?utm_medium=email&utm_source=footer>
>     >
>     > --
>     > You received this message because you are subscribed to the Google
>     Groups "pandoc-discuss" group.
>     > To unsubscribe from this group and stop receiving emails from it,
>     send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>     > To view this discussion on the web visit
>     https://groups.google.com/d/msgid/pandoc-discuss/ZVdzCgTxgi5kq6_-%40localhost <https://groups.google.com/d/msgid/pandoc-discuss/ZVdzCgTxgi5kq6_-%40localhost>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/736190cb-cb86-464e-916c-63180b4839d2n%40googlegroups.com <https://groups.google.com/d/msgid/pandoc-discuss/736190cb-cb86-464e-916c-63180b4839d2n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/97ff462e-674b-a3c8-341c-8f540ec6d3db%40web.de.


  parent reply	other threads:[~2023-11-19 13:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 13:15 David Banas
     [not found] ` <a07b694f-f5be-4eca-b834-ef5b84fdf181n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-11-17 14:04   ` Bastien DUMONT
2023-11-17 16:12     ` John MacFarlane
     [not found]       ` <8E6E9238-40C5-40EF-97E1-E0EE18E018E7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-11-18 12:33         ` David Banas
     [not found]           ` <736190cb-cb86-464e-916c-63180b4839d2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-11-19 13:44             ` Pablo Rodríguez [this message]
2023-11-20 11:09             ` Thomas Redelberger
     [not found]               ` <ab1515d3-f3db-3966-f13f-32b1e41e9ad9-Mmb7MZpHnFY@public.gmane.org>
2023-11-20 12:11                 ` AW: " denis.maier-NSENcxR/0n0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97ff462e-674b-a3c8-341c-8f540ec6d3db@web.de \
    --to=oinos-s0/gaf8tv78@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).