public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Using a reader in a (haskell) filter
@ 2015-09-08 12:46 Flurin Egger
       [not found] ` <ab1e7aba-9d30-4d5c-aa23-e9f20fd29634-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Flurin Egger @ 2015-09-08 12:46 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 716 bytes --]

Hi,

Is it possible to use a Pandoc reader within a filter so I have a list of 
Blocks I could inject into the AST?

Kind regards,
Flurin Egger

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ab1e7aba-9d30-4d5c-aa23-e9f20fd29634%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1185 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using a reader in a (haskell) filter
       [not found] ` <ab1e7aba-9d30-4d5c-aa23-e9f20fd29634-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-09-08 17:37   ` John MACFARLANE
       [not found]     ` <20150908173734.GA27464-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MACFARLANE @ 2015-09-08 17:37 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Sure.  You just need to import the appropriate reader
from the pandoc library.  (I'm assuming you mean a Haskell
filter.  If you're writing in python, you'll need to shell
out to pandoc.)

+++ Flurin Egger [Sep 08 15 05:46 ]:
>   Hi,
>   Is it possible to use a Pandoc reader within a filter so I have a list
>   of Blocks I could inject into the AST?
>   Kind regards,
>   Flurin Egger
>
>   --
>   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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/ab1e7aba-9d30-4d5c-
>   aa23-e9f20fd29634%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/ab1e7aba-9d30-4d5c-aa23-e9f20fd29634-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using a reader in a (haskell) filter
       [not found]     ` <20150908173734.GA27464-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
@ 2015-09-09  7:19       ` Flurin Egger
  0 siblings, 0 replies; 3+ messages in thread
From: Flurin Egger @ 2015-09-09  7:19 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 645 bytes --]

Sweet. Thanks. I guess I'll have to look in to the readers a bit :)

>
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/311daae3-e202-4e9c-be0e-60f5d3492361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1200 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-09  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08 12:46 Using a reader in a (haskell) filter Flurin Egger
     [not found] ` <ab1e7aba-9d30-4d5c-aa23-e9f20fd29634-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-09-08 17:37   ` John MACFARLANE
     [not found]     ` <20150908173734.GA27464-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
2015-09-09  7:19       ` Flurin Egger

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).