From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33111 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Louis Turk Newsgroups: gmane.text.pandoc Subject: LaTeX Subfiles support Date: Tue, 12 Sep 2023 09:27:51 -0700 (PDT) Message-ID: <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_1340_718735244.1694536071116" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19844"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCLNR2M74QORBCFDQKUAMGQER7ATBLI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 12 18:27:58 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f188.google.com ([209.85.214.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qg6F3-0004wH-Ba for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 12 Sep 2023 18:27:57 +0200 Original-Received: by mail-pl1-f188.google.com with SMTP id d9443c01a7336-1c391fae352sf9379795ad.1 for ; Tue, 12 Sep 2023 09:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1694536076; x=1695140876; 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:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=Y1sKfieaWLyhtHE7JDU6dQ4x/T4t06cq5autAtyW0ys=; b=PWm8fYrSHTwdPANTPL0a1fAVbuDCfSwXI4g6IiS8s46vtcprjeH2iFraMXoz85VMgw oWxwczw0ofrPdsa+WHUcHZZwTxheZKUqrpqIzooJChgMdGc/zd63vi9KMjLrZTN9SJYs 1PahB1My4viCc243zmXUKraZfz4PrZQX9PiKRDtJrioT0JDfK7HqYXR8tlle14J80XoN j/E0OQMWuQbKHS0AsYxq4YQcEgmDX2aJ4hFUTDMO76oArvVhLflBCUGtdU11yLZSrPXX ZeYtc6MA2w7bCD246GT2slfDzxm45oCcxFpGbCcIT6DDPrVW/DR22WTIa7PGlii1p5rM vv+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694536076; x=1695140876; 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:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=Y1sKfieaWLyhtHE7JDU6dQ4x/T4t06cq5autAtyW0ys=; b=lcRsTx9CAQ0M70Q/AJpd3OY97O+JFJJ9LK/o/uGq+HhKDlElFGMrMH+UajvH1idsOO 7FqPNpnCmaAK0JvJUjRiPoOV9wggmh12JqC4+njC2wLIJ7f5mNeRWlwS9RFDTlmfgYAb D1QjFxTJ6d8qOZloLkIT/f+irLB3iNYD+U5uUwCuVeNIuxxhQsi4+5OfXrEiX+HO/bkj xZGHglsN1AXtXJ4Dfa78nAPx/3Um3hi6BLWyO1mqG6KuqT98kLzjG1qsBcsa+r6jpszv VPyMfWKWFjb7E7dp6oIFL2fPpmVqlbPxW2d1gmZTVdBgU6gPH+0VHDUbPR3MmDxjXSCs kqtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694536076; x=1695140876; 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:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=Y1sKfieaWLyhtHE7JDU6dQ4x/T4t06cq5autAtyW0ys=; b=ssomcdXArljcdfz5qeWPTdfSSMNTEysnpNwu7uZGqFjRIVYwoDoIsJBaG4iyBkzuOL 2hL82gfmLcBBOT1+7zopOEcP5MnNZejoosObcxIEE/VzRRFqVMYpl0kQdB9SXMpzHur8 RNNIJR0xmFC6S5iz+9CA1xfapnZVvf2aI1EdmPA8IEKS8wt8rUUXcgGmRsKiluWb3cvI a5rPXzQ3bBTJoFMYSrFlmxIywC5MfOvuaJvLsJaC7KYSmFMhDfaQOYY1ZEe3cJFD+A+m zPMhf9jphGPf8GmtTawMGFJpn+VfXfmcohJzG4D38+ni9hXJcEbmjpRc704INTYPeUrN Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YxcpvYGJEoKoVZhVJeBvuF4R6nfWxXfruzygkOyo1vbHRTojN9D 2grUYlymfGGajfzIakpgzL8= X-Google-Smtp-Source: AGHT+IHTTRmtIyJSWe36mZOSTpdMsw7mBR4U97Gl2viL8McAx3bA3gteFY3rRtr3fiUwe8DDIZsGiw== X-Received: by 2002:a05:6a20:e11b:b0:14c:c393:69e with SMTP id kr27-20020a056a20e11b00b0014cc393069emr17881773pzb.1.1694536075934; Tue, 12 Sep 2023 09:27:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6a00:1d83:b0:68f:e870:b81a with SMTP id z3-20020a056a001d8300b0068fe870b81als1024625pfw.0.-pod-prod-07-us; Tue, 12 Sep 2023 09:27:52 -0700 (PDT) X-Received: by 2002:a05:6a00:1807:b0:68f:e810:e888 with SMTP id y7-20020a056a00180700b0068fe810e888mr62565pfa.6.1694536071852; Tue, 12 Sep 2023 09:27:51 -0700 (PDT) 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:33111 Archived-At: ------=_Part_1340_718735244.1694536071116 Content-Type: multipart/alternative; boundary="----=_Part_1341_1230563757.1694536071116" ------=_Part_1341_1230563757.1694536071116 Content-Type: text/plain; charset="UTF-8" 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 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/74247f37-347c-4a3d-a115-4ed0cd731aa5n%40googlegroups.com. ------=_Part_1341_1230563757.1694536071116 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On a book with many chapters (each chapter a separate file) begin= ning 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 &= 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/74247f37-347c-4a3d-a115-4ed0cd731aa5n%40googlegroups.= com.
------=_Part_1341_1230563757.1694536071116-- ------=_Part_1340_718735244.1694536071116--