public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: LaTeX Subfiles support
Date: Fri, 15 Sep 2023 12:43:49 +0000	[thread overview]
Message-ID: <ZQRRhRqwGlDFdQa1@localhost> (raw)
In-Reply-To: <864d8672-1e48-424d-b98c-1abdfa5d4262n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Could you provide a bit more context about what you are trying to do? Here you are showing us the beginning of the solution you tried to implement, not the real problem you're trying to solve. You could use a custom reader to make Pandoc read \epubfalse as \epubtrue, but it may not be the best solution.

Le Thursday 14 September 2023 à 08:21:56PM, Louis Turk a écrit :
> What I'm hoping for is a command line argument to do this, as my book is
> composed of 66 subfiles.  That is a lot to change by hand.
> 
> 
> On Tuesday, September 12, 2023 at 11:27:51 AM UTC-5 Louis Turk wrote:
> 
>     On a book with many chapters (each chapter a separate file) beginning with
>     the following code:
> 
>     \documentclass[nt.tex]{subfiles}
>     \begin{document}
>     \newif\ifepub
>     \epubfalse
>     \ifepub
> 
>     Is there a way to make pandoc think \epubfalse is \epubtrue in all the
>     subfiles so I don't have to manually edit each subfile when I want to
>     create an epub book?
> 
>     Louis
> 
> --
> 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 view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/864d8672-1e48-424d-b98c-1abdfa5d4262n%40googlegroups.com.
> 
> References:
> 
> [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/864d8672-1e48-424d-b98c-1abdfa5d4262n%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/ZQRRhRqwGlDFdQa1%40localhost.


      parent reply	other threads:[~2023-09-15 12:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-12 16:27 Louis Turk
     [not found] ` <74247f37-347c-4a3d-a115-4ed0cd731aa5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-15  3:21   ` Louis Turk
     [not found]     ` <864d8672-1e48-424d-b98c-1abdfa5d4262n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-15 12:43       ` Bastien DUMONT [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=ZQRRhRqwGlDFdQa1@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@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).