From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33120 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: LaTeX Subfiles support Date: Fri, 15 Sep 2023 12:43:49 +0000 Message-ID: References: <74247f37-347c-4a3d-a115-4ed0cd731aa5n@googlegroups.com> <864d8672-1e48-424d-b98c-1abdfa5d4262n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13680"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBDNDSGUAMGQEQVRWAGQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 15 14:44:03 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f191.google.com ([209.85.208.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qh8B0-0003N3-N9 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 15 Sep 2023 14:44:02 +0200 Original-Received: by mail-lj1-f191.google.com with SMTP id 38308e7fff4ca-2b6ff15946fsf26155351fa.2 for ; Fri, 15 Sep 2023 05:44:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694781842; cv=pass; d=google.com; s=arc-20160816; b=S/EaI+Vi2lDdjDwSihrQaLG70R/CKnTkfNAyCWcrGs1FIarynvquk2EGveHmD7ifCe 9fQrudGhNWn9nvKMi4GvIdG+EKY2G8t0fP56h2ThFiC4zkIzdSkQ0RXBsvXiOf7lE+YG Y9wRV6ibZwX15luLoUMRRkHLgHDgSVc9UIO0GWmaz/XcQfegaTwIubTr3cdz2+CfhzM8 wd0tnsSLfbTOkqmV/cPUIPhTcLts372WYOZhumxNBzsS9+oR6zHegSlt4DYo1+n7az3E uhYxvvaDCpRfjBHftI/Rq2eUc6EauqQ3WCwO0dXYKU5SQGduO1AP07hBnbOWcMMPOcgI Ie8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=FzqYAL7j5eAn9vftCWg0gmEVWuxNDWcAPPKT+YF8ih4=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=jSFmJ/djifPDvR2vsJkyb+efL8/rfIt1sor/kvm0qjolTlZnuznxqVg8SYfXaMEaAR 9AdplTl9dSkQWDumGhxoYBfFG4OINyqse1WHGQ00fSbB2/iK0a7xO2vElwmiRV/GTELs jOWgXw4sPtwU6uTCX+1g74szDStkzrh2Ui6B0u+wddGG0BfLjyMqOneUvBhorm08Xg8I N1N3k/jIlN0kebWLjw1IiMCaIg9GXV7bHhDVbPiTyk86m0kladEV3tctntEKcrbvA9C5 k/QrfEeVbalq+kcKLW2lxPCvTMPvKSFa1fg3qvDMKkflZB8YoRWDfZ1c2HZSDWkkJM3G EP0A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=TNLinKAG; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1694781842; x=1695386642; 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-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=FzqYAL7j5eAn9vftCWg0gmEVWuxNDWcAPPKT+YF8ih4=; b=mwDU/ltfw6kAGr3KKp4Y/FNMNvZJ/2vL8PsMy4iM/O0v+strt3IdO3gVTg9ABPMfR/ vZGWhkHQJziJ5orMYKdPI22Zav4h6z5+shjxGOtCeZMNDWTVR5O1j+W5V1EH0zV/H6Dv t3KfXPC+Bd4UmqbcMvQXK2RMNTwt8+qDVOAeDu5myU7IyflBWHOODoX9QnEhspSUh0oB 7EK8trUDAaBk/0bK52bneLrKkBXac0kZ33cIEEJBY7TlF5za+gZYcnUji0wtB9viC8PW X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694781842; x=1695386642; 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-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=FzqYAL7j5eAn9vftCWg0gmEVWuxNDWcAPPKT+YF8ih4=; b=L0+iP1Th1YCw4ohnvfJqedMnPHWw8jGpraw8UPEwwInZj59Rdi5RaxD5Oh/cYMFUi4 gaGYPZn0uCYAu853uVcGxfUKoQa6sKGgi1dgqBLheZ8COR8ad8RMrvy3BlDPFfU/qJww CVczcSnsuR/x8f18jsIw8Ll8O090WeeKJkEZgJvudkMsilZUYZUxtrw0+5piPiikLsIi BpVQAh2ApyURYYaeNHN9eA6kdmOm Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzaaOIBhv8jx/QCKaJNkpOF5GRl71e17KaMLrczoL1BtkNpDLgZ amzYCx0ol9hQsWCA5oswT6M= X-Google-Smtp-Source: AGHT+IE7D78EVcBbgNXzswDfkcxIx/AXbeJO6pgisBQKl6x55nRQDIdY225O5gLhYWrO98hMPxbA1A== X-Received: by 2002:a2e:9f4f:0:b0:2bc:ff44:b85e with SMTP id v15-20020a2e9f4f000000b002bcff44b85emr1591672ljk.30.1694781841718; Fri, 15 Sep 2023 05:44:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:651c:154e:b0:2b9:722f:8f69 with SMTP id y14-20020a05651c154e00b002b9722f8f69ls471734ljp.1.-pod-prod-03-eu; Fri, 15 Sep 2023 05:43:56 -0700 (PDT) X-Received: by 2002:a2e:9c4d:0:b0:2bc:c28c:a2b8 with SMTP id t13-20020a2e9c4d000000b002bcc28ca2b8mr1436636ljj.27.1694781836081; Fri, 15 Sep 2023 05:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694781836; cv=none; d=google.com; s=arc-20160816; b=sUgPyF+bn7Mk2e4P7mUUQ/Ni2EKEwiOndZ4Vf1T4ujJVYRxLu9lTuXcZGmFSDfaU40 TdKO+ikeBEkWY2bzjWptM4ZJDh5dtRAKede9AkBZY+FhkKAnB1B/ULl5g5BYyOet7j7s s8Y2Yu8YwVlRbRogFvhCym2YZpzj8+ugB4wq1BU9H55MzKzA3c6BurDP57B7FbYKdvet 1ZQMmf3EKlJVACyIvUW2kVfhaEXoRKHkWLJ/+9g7t7YJMzZP9XXdR/NXtyx95J0np5KC 2gAtJxe8Qz8B2gspsxWYxoHb6fNv00rbZL12a5aIdmenVkRLPOkUkIHuLh2MynTG7lOu t6Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=CNdrwjfYLV9BenN69LYqVS+CP1GlHjtmZb87xMxYQzY=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=iNpd5XHoSyjhd7EURMtyC5uZHLnNvYQ/O5q74+Ozu+jXa06zmY/s404tTbbizJPYuz IPj+60Q45z8NBlA6ifm5+WjgaY2C6I56a8JYcLy4oT4H9mWY51yQRysQ+2YammqlF5gE EgLhCE90W9J2t65FHOGFym6WYOzNi9NsGzy5Or6Bmgt9EOX+D0ZzolaHe7b1lnAphXqH UpR6ZdgLFWScYgyKc/5ryNXZ4sV73SgSazHqj7Hl3fmxALsOpTRtTPyx6OMStzpa+j9j iAehu3a6vynVRlZfDw8PStIgOQfDKG9uB9Sfw7VuHRQB7hHBpljKoOJlIu5KOVgIQBLM es2g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=TNLinKAG; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id b15-20020a2ebc0f000000b002b9e701adbfsi331297ljf.1.2023.09.15.05.43.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:43:56 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 40F3F240103 for ; Fri, 15 Sep 2023 14:43:55 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RnDQL6L9Jz9rxL for ; Fri, 15 Sep 2023 14:43:54 +0200 (CEST) Content-Disposition: inline In-Reply-To: <864d8672-1e48-424d-b98c-1abdfa5d4262n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=TNLinKAG; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:33120 Archived-At: 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, no= t 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 solut= ion. Le Thursday 14 September 2023 =C3=A0 08:21:56PM, Louis Turk a =C3=A9crit : > What I'm hoping for is a command line argument to do this, as my book is > composed of 66 subfiles.=C2=A0 That is a lot to change by hand. >=20 >=20 > On Tuesday, September 12, 2023 at 11:27:51=E2=80=AFAM UTC-5 Louis Turk wr= ote: >=20 > On a book with many chapters (each chapter a separate file) beginning= with > the following code: >=20 > \documentclass[nt.tex]{subfiles} > \begin{document} > \newif\ifepub > \epubfalse > \ifepub >=20 > Is there a way to make pandoc think \epubfalse is \epubtrue in all th= e > subfiles so I don't have to manually edit each subfile when I want to > create an epub book? >=20 > 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= 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/m= sgid/ > pandoc-discuss/864d8672-1e48-424d-b98c-1abdfa5d4262n%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/864d8672-1e48-424d-b= 98c-1abdfa5d4262n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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/ZQRRhRqwGlDFdQa1%40localhost.