From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23658 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Luis Rivera Newsgroups: gmane.text.pandoc Subject: Re: LaTeX end document / endinput compliance Date: Tue, 22 Oct 2019 13:41:32 -0700 (PDT) Message-ID: References: <44a69616-a689-4fe8-9486-6beb8ae08f2d@googlegroups.com> <6bcd828b-6f90-45d4-a59f-f10b86dfb6f5@googlegroups.com> <881d31da-683e-456f-aa3d-b46ef5809ef1@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2721_1130977677.1571776892191" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="248421"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDX2TPNZVQNBB7OSXXWQKGQE7TK5IYI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 22 22:41:37 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iN0yF-0012Q6-Uy for gtp-pandoc-discuss@m.gmane.org; Tue, 22 Oct 2019 22:41:36 +0200 Original-Received: by mail-oi1-f186.google.com with SMTP id d66sf10205666oib.11 for ; Tue, 22 Oct 2019 13:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=0PPEvNts5uP7kaRrTAtYCPpgga9KFl/6WCpyAk22KKo=; b=kPGBxgFpsQPelvWjB37QAY7XPC1GP8VjzXVXxXLUxHQCNbrOTcWLvSWC+mXeufzSm5 cnpVjvNilBJRd8FyRhHTMBSrc2pIdgW1sUY8/u/u4t/CI8jJBH61IiX3ajVUkeaLzm0j d88waNz6mBSjdWgfubKazm0F4DRUoWV42cBA7raIQzhN4VSzfxiWIRQU+YeswJqtkyl7 7UhYycoMRnQhIh71S44IRw0BAA8nVSVOOc5gHPfCk7CFGUj3HfQZgu2DN6ma7jZml2Gv 2hnQwDc2rJRrYAyzLon4rBq0itYteriFQj1ToTyvHP8SMLkQd2+OC8d6kZTuEHhObcqp Tz5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=0PPEvNts5uP7kaRrTAtYCPpgga9KFl/6WCpyAk22KKo=; b=X6F3o5oLjzNuuCsY4NIgRti0ggbY9zmliGAIsu+cTyaAser1jI6MM2IpiqNuMFQHly +x/LIO/avL2ULlW9A6PI3c6Pqg+VoTQTrm2mGM/MBbOK382BfoBMIA/JkivsDFU5hoCW xIKV8Ipy8CCqXhdflS9iQlfHVk38SfNpzTGXUfqkflompGZMdaSfZgGB3G7DOPi5grTn MRa+7OK+1kcvAagu9djagyR8Yi36SJ1xONkcoQokElQxvpklJIvbNXuqKtFctSqsyT/b 98KOK8EQNMU3hynrmNYOdmk5SRJOI3uMRaPT36pC7Kh/v6HmeiURIg38O++Yl5hjj34g KCtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=0PPEvNts5uP7kaRrTAtYCPpgga9KFl/6WCpyAk22KKo=; b=fL7LDgwOlz5za3uA2ST0VBup1Vl+ihsMYBWy88G7wg/BA5lIt8EmvO2YkBrO2PBWZ+ fhSBj4X0WL4jlNNAc7IoadKjHPMK9kq9WVp86+FgKqxrti4PVf+Nv2rOiIMVAS0Hscpo idXXJow0e1EDD3rHaNw4s1jg3CPDiTDHTfMzXemgp2fQhmkc76Z6rRRGiHfiIKkCNjWl pc6a5WEkg/y20tJKkaIzFV102uUgT2ZB+t8jE19KJZ2fhqkhA+4uu0XP+7Mx9/8VjnNX 86EMMBWX05GgYNQ22IyExvPkAIn0sAr0QeLP/jXvSHgLgsAjMQ/T0o8J2ehM7Ga1OL04 HBlw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXwYsruGhD/Iq1RgLZVNu5nz/tVcyFhLW5fLwQY27bY12DdJpXc 2wb5adnB6XCUjhM8/B3KoL0= X-Google-Smtp-Source: APXvYqwlAA9o4LPFbbGqQ8qCGfRT3fzt/rIx8HIufMMe/nfYhXmrFr1qBp6CS/rX8tqMdyo9yZ3VtQ== X-Received: by 2002:a9d:6c96:: with SMTP id c22mr4422377otr.170.1571776894510; Tue, 22 Oct 2019 13:41:34 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:126:: with SMTP id 35ls50639otu.15.gmail; Tue, 22 Oct 2019 13:41:33 -0700 (PDT) X-Received: by 2002:a9d:7e81:: with SMTP id m1mr202313otp.60.1571776893236; Tue, 22 Oct 2019 13:41:33 -0700 (PDT) In-Reply-To: X-Original-Sender: jlrn77-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.org gmane.text.pandoc:23658 Archived-At: ------=_Part_2721_1130977677.1571776892191 Content-Type: multipart/alternative; boundary="----=_Part_2722_559259674.1571776892192" ------=_Part_2722_559259674.1571776892192 Content-Type: text/plain; charset="UTF-8" On the same train of thought, I wonder if a Lua filter would do the job (I have never used Lua, so this one seems like a gook chance to try). On Monday, 21 October 2019 00:44:50 UTC-5, John MacFarlane wrote: > > > Yes, you can submit a feature request. > > A workaround could be using sed to remove everything from the > input document after \end{document} before passing it to pandoc. > > Luis Rivera > writes: > > > So, there is no know workaround about this issue? May I submit a feature > > request to the repo? > > > > Confused, > > > > On Saturday, 5 October 2019 12:37:43 UTC-5, Luis Rivera wrote: > >> > >> > >> > >> On Friday, 4 October 2019 23:39:22 UTC-5, John MacFarlane wrote: > >>> > >>> > >>> Out of curiosity, what do you have in your LaTeX document > >>> after \end{document}? > >>> > >>> > >> From the earliest days I put back there (as well as after \endinput) > bits > >> and pieces I don't want to discard, but don't make it to the final > draft of > >> the paper either. This way I don't clutter my directories with zettel, > and > >> I can find the discarded material for other purposes later. Then some > >> people want opendoc/openxml copies for whatever reason, and then I > found > >> that the supposedly ignored materials pop up in the converted files. > >> > >> BTW I also miss the ability to comment out material with the {comment} > >> environment: but then regular %s do the job. > >> > >> Besides, the inability to handle materials this way with MarkDown is > what > >> keeps me from moving to that format altogether. > >> > >> Cheers, > >> > >> > > > > -- > > 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/881d31da-683e-456f-aa3d-b46ef5809ef1%40googlegroups.com. > > -- 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/b6342758-90c1-4e9a-82f1-b74947b7180f%40googlegroups.com. ------=_Part_2722_559259674.1571776892192 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On the same train of thought, I wonder if a Lua filter wou= ld do the job (I have never used Lua, so this one seems like a gook chance = to try).



On Monday, 21 October 2019 00:44:50 UTC= -5, John MacFarlane wrote:

Yes, you can submit a feature request.

A workaround could be using sed to remove everything from the
input document after \end{document} before passing it to pandoc.

Luis Rivera <jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> So, there is no know workaround about this issue? May I submit a f= eature=20
> request to the repo?
>
> Confused,
>
> On Saturday, 5 October 2019 12:37:43 UTC-5, Luis Rivera wrote:
>>
>>
>>
>> On Friday, 4 October 2019 23:39:22 UTC-5, John MacFarlane wrot= e:
>>>
>>>
>>> Out of curiosity, =C2=A0what do you have in your LaTeX doc= ument=20
>>> after \end{document}?=20
>>>
>>>
>> From the earliest days I put back there (as well as after \end= input) bits=20
>> and pieces I don't want to discard, but don't make it = to the final draft of=20
>> the paper either. This way I don't clutter my directories = with zettel, and=20
>> I can find the discarded material for other purposes later. Th= en some=20
>> people want opendoc/openxml copies for whatever reason, and th= en I found=20
>> that the supposedly ignored materials pop up in the converted = files.
>>
>> BTW I also miss the ability to comment out material with the {= comment}=20
>> environment: but then regular %s do the job.=20
>>
>> Besides, the inability to handle materials this way with MarkD= own is what=20
>> keeps me from moving to that format altogether.
>>
>> Cheers,
>>
>>
>
> --=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 pandoc-...@googlegroups.com.
> To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/881d31da-683e-456f-aa3d-b46ef58= 09ef1%40googlegroups.com.

--
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/b6342758-90c1-4e9a-82f1-b74947b7180f%40googlegroups.co= m.
------=_Part_2722_559259674.1571776892192-- ------=_Part_2721_1130977677.1571776892191--