From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29183 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vin Cent Newsgroups: gmane.text.pandoc Subject: Latex source . \begin{enumerate} nested in \blockquote generates an error. Date: Sun, 5 Sep 2021 22:26:12 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4854_1264383046.1630905972750" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14857"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCT6LC6Q3QDBB5OM22EQMGQEGU75MWI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 06 07:26:16 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mN795-0003k4-Qb for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 06 Sep 2021 07:26:15 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id 8-20020a9d0588000000b0051defe13038sf3982182otd.9 for ; Sun, 05 Sep 2021 22:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=5o44+EM0OQwwzwz68DxH+JXW1dCHWAdMS75ArApb8dw=; b=hAdaWFdrXG3+rLucQ2ubWRO1aSdvgM6l5PnkJWuRRcCA+we18RKU1RM5ObsG+OvyXU 61fXTfIbvWHsYXxPU9PcjjjcBeqMTWvxOnq02W/d3vlbEl5UfXuP+Bh+fivFiRXbfXEs j2vYv6hli2+iPwGeAUBcoceJC9oZo+j/ss3xZgNRx+CaH/VFsrp3OzE8/sduiwxhQ8wK uI+XHZm05QIUYIil0MyA1nwCWUf4zpVluzKr0Il+1yNPKfrV8deP/VEKGCuDRw/bib/w t+HMpSSOh4d/tqMOywUaVxCHVMk1uSqPjqePW54yDtvLnFQ5Z6fDx9/ergX6r9RWiArE dpNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=5o44+EM0OQwwzwz68DxH+JXW1dCHWAdMS75ArApb8dw=; b=YCfynzBZ6/fRh/+JRm8kVz649ODmFNq6wcABQl7J3/StRPqEGWm9BEF8IwVnuono9D Be97goSB4+ZAmJ+fPatq3uWXP5S+ZW/jaVvUo0xTZZRhC5QwH7ym93DW8Rb9SIz1Af5P 17BA/e0HRUxnjKIGipjbU5huiOYIdL5mKD0SnkzogFPQUI7WdhrmEdORYangxmZA8lY/ F8Jo/yLpDwLBCoIff4ueIIS4VpXcdeKTbbgV4UWwzjWU5vEiGtIQ5SQV0wmNGlBRiHEH SenctpabAhiytEZQ6tKB3XgBlaWOYjHa6m4FKQ90yYvmFqpS76ZQMJn64Pha5e8qY/lh 7N/A== 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: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=5o44+EM0OQwwzwz68DxH+JXW1dCHWAdMS75ArApb8dw=; b=k+5sR4sdto1tgV7rvUFqTSwoeDFDJ4/y4sn3WF6qtkmD7HCfJk4fxjBKCI0eRxy1Kc AyT5D65grC3PDuFEpAXcut8jmP7rf7DlJ5ngaEmgQRop9daR9Oy4LqJQyEkRNIsa1zLp HfNa/9pa4EhFQP9+eZHVVNN12czXZWjVSrgRkDA95kSGfir5NVy+x834kv0drFMGVyPW nzU5ZWlv9kQSKeH0iOrKnhtYaeOxSfH2BssdNDvjgYK5lBoKoimAHTOCBptCPRdHIEXK CmN09TL5RUKpdbK/aZifUxF3FkuECwzNTYN97ujThIJc3BQ5OXfmu9NRE9QWXE49tK2i QgNA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530Z4Q0cfWJrvL7ifNqsKccDK8ad0yZadYCYyms1LP8YNFYWD4IO CGuqPfmmtr8hGCMDUL8nSXI= X-Google-Smtp-Source: ABdhPJyQag7WRf8VxGL12lhlmtbIujCtegSU/i9V4Jwb+qxvSqSN/noktuqJ4QEdluqSPSq7zs6SbQ== X-Received: by 2002:a4a:a552:: with SMTP id s18mr12723899oom.1.1630905974813; Sun, 05 Sep 2021 22:26:14 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:66c4:: with SMTP id t4ls1450776otm.5.gmail; Sun, 05 Sep 2021 22:26:13 -0700 (PDT) X-Received: by 2002:a9d:1b48:: with SMTP id l66mr9553901otl.261.1630905973362; Sun, 05 Sep 2021 22:26:13 -0700 (PDT) X-Original-Sender: irakay17-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:29183 Archived-At: ------=_Part_4854_1264383046.1630905972750 Content-Type: multipart/alternative; boundary="----=_Part_4855_426402716.1630905972750" ------=_Part_4855_426402716.1630905972750 Content-Type: text/plain; charset="UTF-8" Hi, I have had quite some pain isolating this problem, because pandoc (v 2.14.2) provides a quite obscure error. I had to run a number of dichotomies into my source. Here is the isolated problem. This latex code does is not accepted by pandoc : \begin{document} \blockquote{Foo \begin{enumerate} \item First \item Second \end{enumerate} } \end{document} Moreover, if this code is isolated into a \input{} file, the error raised by pandoc does not allow to find it easily. The error does not point to the \blockquote or even to the included document containing it. The error points to \begin{document} in the .tex "main" document. Error at "epub.tex" (line 92, column 17): unexpected () \begin{document} I would consider this a (double?) bug, since my code is absolutely well compiled with pdflatex, for instance. Or maybe this is too naive an analysis (pandoc newb here). I'd be happy to know about a workaround, too. Cheers, Vincent -- 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/e6a6d0fb-5d58-405c-9e72-68489c5f0d35n%40googlegroups.com. ------=_Part_4855_426402716.1630905972750 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,

I have had quite some pain isolating this problem, b= ecause pandoc (v 2.14.2) provides a quite obscure error. I had to run a num= ber of dichotomies into my source.

Here is the iso= lated problem. This latex code does is not accepted by pandoc :
<= div>\begin{document}
\blockquote{Foo
    \item First
&n= bsp;   \item Second
 =   \end{enumerate}
}
\end{document}

Moreover, if this code is isolated into a \input{} file, t= he error raised by pandoc does not allow to find it easily. The error does = not point to the \blockquote or even to the included document containing it= . The error points to \begin{document} in the .tex "main" document.


Error at "= epub.tex" (line 92, column 17):
unexpected ()
\begin{document}=

I would consider this a (double?) bug, s= ince my code is absolutely well compiled with pdflatex, for instance. Or ma= ybe this is too naive an analysis (pandoc newb here).
I'd be happy to know about a workaround, t= oo.

=
Cheers,

Vincent

=

--
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/e6a6d0fb-5d58-405c-9e72-68489c5f0d35n%40googlegroups.= com.
------=_Part_4855_426402716.1630905972750-- ------=_Part_4854_1264383046.1630905972750--