public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Plain as raw format
@ 2021-11-04 11:00 BPJ
       [not found] ` <CADAJKhDArg3TT2Sd21NfDtX4y0Rymue=24Dr6P8FpXZNf-2U5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: BPJ @ 2021-11-04 11:00 UTC (permalink / raw)
  To: pandoc-discuss

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

It would be very convenient if `{=plain}` worked as raw format. One could
then use a filter to inject e.g. (pseudo) markup where a full custom writer
would be overkill.

/bpj

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

* Re: Plain as raw format
       [not found] ` <CADAJKhDArg3TT2Sd21NfDtX4y0Rymue=24Dr6P8FpXZNf-2U5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2021-11-04 16:57   ` John MacFarlane
       [not found]     ` <m27ddnrh85.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
  2021-11-04 20:32   ` John MacFarlane
  1 sibling, 1 reply; 6+ messages in thread
From: John MacFarlane @ 2021-11-04 16:57 UTC (permalink / raw)
  To: BPJ, pandoc-discuss


I can make that change.

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> It would be very convenient if `{=plain}` worked as raw format. One could
> then use a filter to inject e.g. (pseudo) markup where a full custom writer
> would be overkill.
>
> /bpj
>
> -- 
> 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/CADAJKhDArg3TT2Sd21NfDtX4y0Rymue%3D24Dr6P8FpXZNf-2U5Q%40mail.gmail.com.


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

* Re: Plain as raw format
       [not found]     ` <m27ddnrh85.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
@ 2021-11-04 18:03       ` BPJ
       [not found]         ` <CADAJKhDfqMewUSb4LeKLUVyfXQz=ZxsQkeeFNxobLKd7AbH9RA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: BPJ @ 2021-11-04 18:03 UTC (permalink / raw)
  To: John MacFarlane; +Cc: pandoc-discuss

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

Thanks!

Den tors 4 nov. 2021 17:58John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:

>
> I can make that change.
>
> BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > It would be very convenient if `{=plain}` worked as raw format. One could
> > then use a filter to inject e.g. (pseudo) markup where a full custom
> writer
> > would be overkill.
> >
> > /bpj
> >
> > --
> > 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/CADAJKhDArg3TT2Sd21NfDtX4y0Rymue%3D24Dr6P8FpXZNf-2U5Q%40mail.gmail.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/CADAJKhDfqMewUSb4LeKLUVyfXQz%3DZxsQkeeFNxobLKd7AbH9RA%40mail.gmail.com.

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

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

* Re: Plain as raw format
       [not found]         ` <CADAJKhDfqMewUSb4LeKLUVyfXQz=ZxsQkeeFNxobLKd7AbH9RA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2021-11-04 20:29           ` John MacFarlane
  0 siblings, 0 replies; 6+ messages in thread
From: John MacFarlane @ 2021-11-04 20:29 UTC (permalink / raw)
  To: BPJ; +Cc: pandoc-discuss


It's committed to master branch now.

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Thanks!
>
> Den tors 4 nov. 2021 17:58John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:
>
>>
>> I can make that change.
>>
>> BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>
>> > It would be very convenient if `{=plain}` worked as raw format. One could
>> > then use a filter to inject e.g. (pseudo) markup where a full custom
>> writer
>> > would be overkill.
>> >
>> > /bpj
>> >
>> > --
>> > 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/CADAJKhDArg3TT2Sd21NfDtX4y0Rymue%3D24Dr6P8FpXZNf-2U5Q%40mail.gmail.com
>> .
>>


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

* Re: Plain as raw format
       [not found] ` <CADAJKhDArg3TT2Sd21NfDtX4y0Rymue=24Dr6P8FpXZNf-2U5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2021-11-04 16:57   ` John MacFarlane
@ 2021-11-04 20:32   ` John MacFarlane
       [not found]     ` <yh480kilx7oe53.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  1 sibling, 1 reply; 6+ messages in thread
From: John MacFarlane @ 2021-11-04 20:32 UTC (permalink / raw)
  To: BPJ, pandoc-discuss


Having made the change, I just realized that you really don't
need this; since the plain writer doesn't escape characters, you
can just insert Str elements with your custom markup...
You don't need the raw attribute.

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> It would be very convenient if `{=plain}` worked as raw format. One could
> then use a filter to inject e.g. (pseudo) markup where a full custom writer
> would be overkill.
>
> /bpj
>
> -- 
> 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/CADAJKhDArg3TT2Sd21NfDtX4y0Rymue%3D24Dr6P8FpXZNf-2U5Q%40mail.gmail.com.


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

* Re: Plain as raw format
       [not found]     ` <yh480kilx7oe53.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2021-11-04 20:55       ` BPJ
  0 siblings, 0 replies; 6+ messages in thread
From: BPJ @ 2021-11-04 20:55 UTC (permalink / raw)
  To: John MacFarlane; +Cc: pandoc-discuss

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

It's still good to have because I sometimes want filters to handle Str
elements and RawInline elements inserted by preceding filters differently.

Den tors 4 nov. 2021 21:33John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:

>
> Having made the change, I just realized that you really don't
> need this; since the plain writer doesn't escape characters, you
> can just insert Str elements with your custom markup...
> You don't need the raw attribute.
>
> BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > It would be very convenient if `{=plain}` worked as raw format. One could
> > then use a filter to inject e.g. (pseudo) markup where a full custom
> writer
> > would be overkill.
> >
> > /bpj
> >
> > --
> > 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/CADAJKhDArg3TT2Sd21NfDtX4y0Rymue%3D24Dr6P8FpXZNf-2U5Q%40mail.gmail.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/CADAJKhBXWJUaePQQ6%2BnYkh0U6kVwurUE0yqu4zvfB1QG-ueo6A%40mail.gmail.com.

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

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

end of thread, other threads:[~2021-11-04 20:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04 11:00 Plain as raw format BPJ
     [not found] ` <CADAJKhDArg3TT2Sd21NfDtX4y0Rymue=24Dr6P8FpXZNf-2U5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-11-04 16:57   ` John MacFarlane
     [not found]     ` <m27ddnrh85.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-11-04 18:03       ` BPJ
     [not found]         ` <CADAJKhDfqMewUSb4LeKLUVyfXQz=ZxsQkeeFNxobLKd7AbH9RA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-11-04 20:29           ` John MacFarlane
2021-11-04 20:32   ` John MacFarlane
     [not found]     ` <yh480kilx7oe53.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-11-04 20:55       ` BPJ

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