From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17914 Path: news.gmane.org!.POSTED!not-for-mail From: dorice Newsgroups: gmane.text.pandoc Subject: Pandoc is "accidentally" commenting wrong lines in produced tex file Date: Tue, 18 Jul 2017 13:55:55 -0700 (PDT) Message-ID: <5ec5b2f3-8c0d-43bd-9827-356f3869fffa@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2582_1511909961.1500411355673" X-Trace: blaine.gmane.org 1500411543 6861 195.159.176.226 (18 Jul 2017 20:59:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2017 20:59:03 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCGOJUGCR4BRBXPLXHFQKGQEZE7P5BI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 18 22:56:01 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qt0-f184.google.com ([209.85.216.184]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXZX6-0000pi-ON for gtp-pandoc-discuss@m.gmane.org; Tue, 18 Jul 2017 22:55:57 +0200 Original-Received: by mail-qt0-f184.google.com with SMTP id o3sf3757750qto.1 for ; Tue, 18 Jul 2017 13:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=wT4AZG5dcyFKBVmZVK/c00mN8/FrDNyvz/VAJzRDgFs=; b=kJsyzvle5OPVxXcfqo3LjvyS22RVzhadCcxoVu4zyo5TsctDq9lGSbDXYxQ51qFhEO 6kLCbVW8AoyL2jXd/m+TO7ulzNPvex+RXojALUZgJtwk2YfeW5tDzFJg5vIHW0ro/PF9 ERF+orSaoJuxCwMfdZHe4fqwdQ1OAlDCRr3fdDwAB6aQMaPEChKG7sukmsnlYQc9h5YG Ws2JmUn4xT+hyOaIU8A8IV/dF6dvmKYInfSmx1JsxXcqd+363+awX92CwPcAx+HqsNVv TGFVXwkkqiBf/CqCfu3y0dImzjY+PnLsmocr1x3UoaPz1jnEmVagtlURW5XjoFQ+DOWr W7yg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=wT4AZG5dcyFKBVmZVK/c00mN8/FrDNyvz/VAJzRDgFs=; b=aBBbtmGIWmWsh4Iwe+7nJplYNlIZBGexsWizc952s6tvKDq9DVzPLrzIZjUW0TaQOg GSy4D2ow5q0rr2W2OvQpjJ3EwuV4qvutwCbXW4G2scIMqaPGNIk+/hZi6/e7NVi/23bJ xpsg+ayHqYsOm1AXZ2ekE6r32rakoF1/U2l0Qwo93kY10RHw/KdkNTzbO6Ibmm/BWGvq QhR4cCHMw+mOBjzfR1WlS6zHI9OB6VZR8A0FqI2HnM2kyJ/hsiUhIE8FY3Yr2/SHdxh1 Gy0rAB4gnsVXyhgD5tJvB+8IrcDV/OQXpiZsWXNn3+l3koyrKnCXHEwNuH65TNohwK0Q J4PQ== 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=wT4AZG5dcyFKBVmZVK/c00mN8/FrDNyvz/VAJzRDgFs=; b=a33SJUxB/gpwI6j4siZqmBV55bAHfFVnIx1JQX4b0NMKqHapTOa4o21aY8nlyPv2w0 iyNBy3qOBWAQvep+UoMToYFzS0gaNGyzvbxQ0vVsAxdrJooaj/v/7Az/heI1NYjO4fMZ 4aHQ+Ffft+dluURRJ/4Bo9U6qMyTnnh7wH4NXf11Gb/RafwIRzX1sl2vN/z6mubvd0/6 Cdhd8BBiYX7p2jXgcKRCKJMmWABjWP1uqc1VTGD5A4IL7cBzFp/m1IavbUX7SK5UA1C9 3cA4bTm0K1qnl1CBJbXhVA8CAZOk8dUembXZxgVZMU2YvxhqMPMkrLmfIH3kguYLV2/i a3Dg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw112Vv2lqFmFO8x9TAbFM6pK+79I61fONgW/Q1w9FifWDFoq628h1 O+LBO/kE7947Ow== X-Received: by 10.36.29.212 with SMTP id 203mr186732itj.5.1500411357972; Tue, 18 Jul 2017 13:55:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.135.75 with SMTP id j72ls3104900iod.31.gmail; Tue, 18 Jul 2017 13:55:57 -0700 (PDT) X-Received: by 10.36.89.7 with SMTP id p7mr154008itb.4.1500411356773; Tue, 18 Jul 2017 13:55:56 -0700 (PDT) X-Original-Sender: dorice.nyamy-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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17914 Archived-At: ------=_Part_2582_1511909961.1500411355673 Content-Type: multipart/alternative; boundary="----=_Part_2583_1066445138.1500411355732" ------=_Part_2583_1066445138.1500411355732 Content-Type: text/plain; charset="UTF-8" Hello, I am using attached latex template to convert docx documents to latex. Also see result file attached. To make it simple, I have the following lines (herited from default template) to include the appropriate packages for the tables $if(tables)$ \usepackage{longtable,booktabs} % Fix footnotes in tables (requires footnote package) \IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{} $endif$ In the generated tex file, I get this %%%%%%%\usepackage{longtable,booktabs} % Fix footnotes in tables (requires footnote package) \IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{} Can someone tell why the packages are not included while the second line of the conditionnal block is inserted ? Thanks in advance Dorice -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5ec5b2f3-8c0d-43bd-9827-356f3869fffa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2583_1066445138.1500411355732 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am using attached latex template to conver= t docx documents to latex.
Also see result file attached.

To make= it simple, I have the following lines (herited from default template) to i= nclude the appropriate packages for the tables<= /span>
=