public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Markdown w/Include files convert to PDF?
Date: Sat, 15 May 2021 09:53:41 +0200	[thread overview]
Message-ID: <CADAJKhCu1Pe0+xq1-cwURnuuda4gMLiH4N5FqWzSH=bX89sJRQ@mail.gmail.com> (raw)
In-Reply-To: <m21raa46rb.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2472 bytes --]

The pp puerperocessor is even designed for use with Pandoc

https://github.com/CDSoft/pp

Den fre 14 maj 2021 00:20John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:

>
> One approach would be to preprocess your files with
> a preprocessor (cpp, m4, etc.) before sending them to
> pandoc; these can handle includes.
>
>
> https://stackoverflow.com/questions/4779582/markdown-and-including-multiple-files/36104553#36104553
>
> There are also various filters and wrappers around, e.g.
> https://github.com/pandoc/lua-filters/tree/master/include-files
>
> I hope to add native include at some point
> https://github.com/jgm/pandoc/issues/553
>
>
> "'russurquhart1' via pandoc-discuss"
> <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> writes:
>
> > Hi,
> >
> > I know standard Markdown has no provisions for a #include function. Our
> > system, has added such a function, such that a line similar to:
> >
> > # include path/to/file
> >
> > includes that file at that point.
> >
> > Will Pandoc. when converting Markdown files to PDF, be able to handle
> this?
> > Or is there a way to have it handle this when generating PDF files?
> >
> > Thanks,
> >
> > Russ
> >
> > --
> > 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/aa45b5fd-283c-4138-b43e-41407f9e11f1n%40googlegroups.com
> .
>
> --
> 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/m21raa46rb.fsf%40MacBook-Pro.hsd1.ca.comcast.net
> .
>

-- 
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/CADAJKhCu1Pe0%2Bxq1-cwURnuuda4gMLiH4N5FqWzSH%3DbX89sJRQ%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 4332 bytes --]

      parent reply	other threads:[~2021-05-15  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 15:35 'russurquhart1' via pandoc-discuss
     [not found] ` <aa45b5fd-283c-4138-b43e-41407f9e11f1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-05-13 22:18   ` John MacFarlane
     [not found]     ` <m21raa46rb.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-05-15  7:53       ` BPJ [this message]

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='CADAJKhCu1Pe0+xq1-cwURnuuda4gMLiH4N5FqWzSH=bX89sJRQ@mail.gmail.com' \
    --to=melroch-re5jqeeqqe8avxtiumwx3w@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).