public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BP Jonsson <bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Printing conditional parts - looking for suggestions
Date: Tue, 17 May 2016 11:11:57 +0200	[thread overview]
Message-ID: <CAFC_yuQVdqUUVVWxFxXmjN1dsw=i+4O8r2yEJBDv7aKD5RB5_A@mail.gmail.com> (raw)
In-Reply-To: <20160517041033.GE34153-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>

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

A filter which removes divs and/or spans with certain classes would be more
robust. Ideally the classes to remove could be specified on the command
line/in metadata. If the OP is interested I can write such a filter.

/bpj
Den 17 maj 2016 06:10 skrev "John MacFarlane" <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:

> You might find this useful:
>
>
> https://randomdeterminism.wordpress.com/2012/06/01/how-i-stopped-worring-and-started-using-markdown-like-tex/
>
>
> +++ Adam Wood [May 16 16 16:02 ]:
>
>>   I'm a church musician and liturgist. I print a lot of worship
>>   bulletins, as well as "full scripts" for ministers.
>>   The congregational books don't need everything that the altar books
>>   need, and the organist or music director might need other things.
>>   I'd like to be able to sync all of this in a single source document,
>>   and then use some kind of conditional formatting for printing out three
>>   (or more) different versions.
>>   I imagine there are other use cases (lecturer who wants a script plus
>>   slides plus handouts from single source) where this sort of conditional
>>   multi-version printing would be helpful.
>>   I'm just starting to think about how I would tackle this --- especially
>>   how the source file (Markdown) would look. Any thoughts, ideas, or
>>   pointers to existing projects would be really appreciated.
>>   (Maybe this exact thing exists already?)
>>   Thanks.
>>
>>   --
>>   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/d79563cb-25d7-40e1-
>>   9d20-777eeaeb7189%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/d79563cb-25d7-40e1-9d20-777eeaeb7189-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>>   4. https://groups.google.com/d/optout
>>
>
> --
> 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/20160517041033.GE34153%40MacBook-Air-2.local
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFC_yuQVdqUUVVWxFxXmjN1dsw%3Di%2B4O8r2yEJBDv7aKD5RB5_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2016-05-17  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-16 23:02 Adam Wood
     [not found] ` <d79563cb-25d7-40e1-9d20-777eeaeb7189-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-05-17  4:10   ` John MacFarlane
     [not found]     ` <20160517041033.GE34153-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
2016-05-17  9:11       ` BP Jonsson [this message]
     [not found]         ` <CAFC_yuQVdqUUVVWxFxXmjN1dsw=i+4O8r2yEJBDv7aKD5RB5_A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-17 13:49           ` Simon Michael
2016-05-17 14:00             ` Simon Michael
2016-05-17 17:08               ` John MACFARLANE
     [not found]                 ` <20160517170804.GB6158-4kKid1p5UN5kRMcaKpzQXBvRwXAb8BAkh13vi7wywA4@public.gmane.org>
2016-05-18 12:19                   ` BP Jonsson
2016-05-18 17:04           ` Adam Wood
     [not found]             ` <17d1ffd2-b289-45e3-a5aa-885ad3b59e9f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-05-18 20:45               ` BP Jonsson
2016-05-17 14:24   ` John Muccigrosso
2016-05-18 21:45   ` D L

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='CAFC_yuQVdqUUVVWxFxXmjN1dsw=i+4O8r2yEJBDv7aKD5RB5_A@mail.gmail.com' \
    --to=bpjonsson-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).