From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33119 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Louis Turk Newsgroups: gmane.text.pandoc Subject: Re: LaTeX Subfiles support Date: Thu, 14 Sep 2023 20:21:56 -0700 (PDT) Message-ID: <864d8672-1e48-424d-b98c-1abdfa5d4262n@googlegroups.com> References: <74247f37-347c-4a3d-a115-4ed0cd731aa5n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5904_671207765.1694748116305" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25295"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCLNR2M74QORBVM3R6UAMGQEEP3PSYA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 15 05:22:04 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f58.google.com ([209.85.161.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qgzP8-0006Iu-7D for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 15 Sep 2023 05:22:02 +0200 Original-Received: by mail-oo1-f58.google.com with SMTP id 006d021491bc7-5768b18cebfsf2183417eaf.2 for ; Thu, 14 Sep 2023 20:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1694748121; x=1695352921; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=II9AuaT20GzV/UqEfooKKNV1gwGxHSEPx5IqcYMEH9s=; b=wTrkI+n5rbDwgEAkujvkh2djoA15S/iQpx9U3vhVFMYtoYXkGDwVNB9KoDPyHepQya FLma3mh9DhKPSCxig6XHIIi93MdorRsEJM7Qg5kNCoqLAoAQAYIy6ZDPlUcPCyy7tVko oHUBhLMdf3JnOH11XPpf/tk+us7zyC1EQTIUWkZZdlEAESi5v84pxBuWb7abYgVV+Y8d 8376s4EoEEvh5yk8Tyed5itrDOUOnjdLtCKYQU+2ySuZU97r1KB6lhdgZfIFa6vznTIj apJ2h0kiOrM4DgCrqnoMEeoHMcGPo17K55Wf0n8oW0UECWZDextUTc9peO0QRt9lk8aA udcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694748121; x=1695352921; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=II9AuaT20GzV/UqEfooKKNV1gwGxHSEPx5IqcYMEH9s=; b=knF8D4c8UEsgfSFNWb87rSeLvc2g8agAInTvd5A23FqjPl78U6ncjrGMiJTljUcm00 KKsqHNkpXtqImmZiD262uKd544etNU+doeaM6blqcocST7GVT4E8SsTEdtJDCmNoQJjz j2QGQN+hhD5EBGcavo5VgOWSFioKNT61AgSiGsEDxZigKPhZYcvDtwQfuNZQARRnC5M4 luFWG+uc2b40vMd8s+0tAHg2gGLdLuRSte83rzZcPTjrqpwWPwF3+C3mcoOjnfutFiZQ LpH2XhrKqLpw2ub2OAuAkCoJseDRTUZ5hDZZT9kyf84fqKyvFBvw4PpvuS7+xo36L6sd hccQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694748121; x=1695352921; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=II9AuaT20GzV/UqEfooKKNV1gwGxHSEPx5IqcYMEH9s=; b=YDZqsM5i9saiOFU5cQAFIpZYdIFgb4IL22WoY1D5JY1GIlFR8ama8XEQz2rzEdl2Vy eIKKNvx5CLwLPW7NjZLgpByei3HP1Ill7r2qv5N+s+QFY/F0YyMXfsx3fkf0pWPaQ0m1 25vWDQgdwwX1AyyhfGiel7dcksd+DbDCCuPnZW3MPbTCVOwggKMKV1qBlkxHzeIpWM5+ 4iuR4CsGCV8Vi7t4DujZgWrqoYrqGgYTbNPa5JU/Ro5ewAGFQnbSHOaHcVnfqV4bYZv1 8SXAQZMBenmlVSsghKhCxanTgf9oB30ASNLtNFF4TUvFmCu+zc Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YylZ+Nfsydq54zF2W/9ispX5IBJmFyJZbVydBI7RNo0wjloCJ69 VdnLrPOwRXex8c8ZqK6B0Us= X-Google-Smtp-Source: AGHT+IEJPVqzBZdOflGEeY/YXOBIk9Su/ygdp2Yi2B3cyzv01uee3NqMKnKabJtJq47EiHJjDj8K1Q== X-Received: by 2002:a4a:2744:0:b0:56e:4921:deb0 with SMTP id w4-20020a4a2744000000b0056e4921deb0mr476773oow.8.1694748121090; Thu, 14 Sep 2023 20:22:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:2c57:0:b0:571:18b0:e60e with SMTP id o84-20020a4a2c57000000b0057118b0e60els1416429ooo.0.-pod-prod-08-us; Thu, 14 Sep 2023 20:21:57 -0700 (PDT) X-Received: by 2002:a05:6870:8c34:b0:1d1:3c1f:349f with SMTP id ec52-20020a0568708c3400b001d13c1f349fmr168139oab.9.1694748117080; Thu, 14 Sep 2023 20:21:57 -0700 (PDT) In-Reply-To: <74247f37-347c-4a3d-a115-4ed0cd731aa5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: louisaturk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:33119 Archived-At: ------=_Part_5904_671207765.1694748116305 Content-Type: multipart/alternative; boundary="----=_Part_5905_1101089797.1694748116305" ------=_Part_5905_1101089797.1694748116305 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable What I'm hoping for is a command line argument to do this, as my book is=20 composed of 66 subfiles. That is a lot to change by hand. On Tuesday, September 12, 2023 at 11:27:51=E2=80=AFAM UTC-5 Louis Turk wrot= e: > On a book with many chapters (each chapter a separate file) beginning wit= h=20 > 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=20 > subfiles so I don't have to manually edit each subfile when I want to=20 > create an epub book? > > Louis > --=20 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 e= mail 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/864d8672-1e48-424d-b98c-1abdfa5d4262n%40googlegroups.com. ------=_Part_5905_1101089797.1694748116305 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable What I'm hoping for is a command line argument to do this, as my book is co= mposed of 66 subfiles.=C2=A0 That is a lot to change by hand.

= On Tuesday, September 12, 2023 at 11:27:51=E2=80=AFAM UTC-5 Louis Turk wrot= e:
= On a book with many chapters (each chapter a separate file) beginning with = the following code:

\documentclass[nt.tex]{subfil= es}
\begin{document}
\newif\ifepub
\epubfalse
\ifepub
<= br>
Is there a way to make pandoc think \epubfalse is \epubtrue i= n 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/864d8672-1e48-424d-b98c-1abdfa5d4262n%40googlegroups.= com.
------=_Part_5905_1101089797.1694748116305-- ------=_Part_5904_671207765.1694748116305--