From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31732 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emil Tywoniak Newsgroups: gmane.text.pandoc Subject: Duplicate TOC entries Date: Thu, 10 Nov 2022 14:56:00 -0800 (PST) Message-ID: <7713e9c1-1056-4891-996b-1297e2145913n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_376_1911495483.1668120960894" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23805"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCQKPVE3ZYIRBAUDW2NQMGQEZWFP4FY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 10 23:56:05 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f58.google.com ([209.85.160.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1otGSr-0005we-S7 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 10 Nov 2022 23:56:05 +0100 Original-Received: by mail-oa1-f58.google.com with SMTP id 586e51a60fabf-13b88262940sf1533845fac.15 for ; Thu, 10 Nov 2022 14:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=gBB9JJfRvyIa4YjHjlxq2H3Ar1xvWFGuM6PBiB5Jwzg=; b=nTNQhT8D/qrl660OJEZcUQgkCTa8IyJYRv60WAAgoHgAjYDXJQ66oxBTJnUmrEiqPA ApzmrEhHTCKSVFaK2oAO7iZMoM0VDgSoLQRhUNyXgDyAL+Vsd9N8TltAjpwiuSmBqYij 69jknqkYivwhjiZTWcrsohx+cjy0iCk92RlLNFnbnHhwM5Q1tt4bM4ZakM1VVDCGYf/6 SjkeJKfgneQcgGdOwLrSMwTCS0RGxjkmEQFAczNIRfZ+5H4H2u8mR1bod/3dkcmbDJAo bNCeiDa02IEqp2hoXbZjlW48Lr2zovCLap4AluZrUJE6AQvSGKKd34/V/OsZIBv2LH6X co9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=gBB9JJfRvyIa4YjHjlxq2H3Ar1xvWFGuM6PBiB5Jwzg=; b=EcIv3cmNu1NN+xpewPNMsCvuIuveBKQkL3nR4z1kKFwbh4d83RLfw+Vati4158mesm o8I6XFU7zaWug/9ult21r4LR7E9TuhrxiBBpV+ixRRTJUhxRLRviuoHZqxqDey9vDMjc o4OJjr0gY2+XAQi1geVQ7phw26/rfCWLGvNvMM5i2i70zL5W6V5MX5YDhoZkxKGlDfIK tyXWI5qMSUH/AeALZeWrHwlD9Bdza6kJyO1Tzojg/IuiZp1xJ4Lz8JZOTlopnFl8apn5 QeuUPueoaWBOzs+vkikfmU+BU6GxGODovJRpaM7pplZiwVVzZcz8WEsC8wgtZEGXx5gE m/zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=gBB9JJfRvyIa4YjHjlxq2H3Ar1xvWFGuM6PBiB5Jwzg=; b=PyZ4STlcnJpvybIBuH2ocRJ4freblk0bX4L6Mpd0OzV5hKN0orbAcG9ZKv9+ygRFiH H133bMdGBhWjW62Aa0JK0g5K09S1amgapyCKF6Ogmm7ID1O2mfDTLT6TbUti8Tiz7JxY lCE9QJ0lKzYeboESpVy7g1URONIjUHQ9MDcCDBzrDterIiq21lw+jFhEXblEmCYtScGC U/hvoR+TIBVzEhqgb9In52D4ZxsVE3VkcM+3zRSdIIwD8y/eumNq5K++QQ1/mA50woMH +cjykMFFLO2AfEnjjd6Q6M68Xw3O5fa8a6v0AOQ1efHdYGwJbUcLYpAcGpqo0k0EK1fA TYXQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pnJLzJJh3YqriQe86NwU3FgxCpeTJj7F+xlMq7zbhhAqjGvx0hf 6+sF3DfSzBqwQNiDMHf7Ox0= X-Google-Smtp-Source: AA0mqf5oI5O/gm2Nc89Dg30SuZKTw883O5M124uncxg6LI7Y4ZgvmXIcUriei0d4nSlBB2cZSrpMOA== X-Received: by 2002:a05:6830:1097:b0:66d:dff:1d9f with SMTP id y23-20020a056830109700b0066d0dff1d9fmr1731309oto.376.1668120964706; Thu, 10 Nov 2022 14:56:04 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:4285:b0:13d:3bac:62b8 with SMTP id y5-20020a056870428500b0013d3bac62b8ls1088387oah.5.-pod-prod-gmail; Thu, 10 Nov 2022 14:56:01 -0800 (PST) X-Received: by 2002:a05:6870:3449:b0:13d:611e:cde9 with SMTP id i9-20020a056870344900b0013d611ecde9mr2277215oah.25.1668120961615; Thu, 10 Nov 2022 14:56:01 -0800 (PST) X-Original-Sender: emil.tywoniak-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:31732 Archived-At: ------=_Part_376_1911495483.1668120960894 Content-Type: multipart/alternative; boundary="----=_Part_377_1940376064.1668120960894" ------=_Part_377_1940376064.1668120960894 Content-Type: text/plain; charset="UTF-8" Hello everybody, I'm building a pdf with a latex template, and every single entry in the TOC as well as the .toc file is duplicated likle this: \contentsline {section}{Verification}{11}{section*.20}% \contentsline {section}{Verification}{11}{section*.20}% I'm absolutely stumped, I would like to untangle pandoc's and latexmk's invocations to at least know what source code to read but I can't figure that out. The repository is at https://gitlab.com/tywonemi-school-stuff/titania/doc and you need latexmk, inkscape, and this latex template/cls to build it. If it helps, here's what the Makefile runs: pandoc analysis.md \ -s \ --filter pandoc-minted/pandoc-minted.py \ --filter pandoc-svg/pandoc-svg.py \ --data-dir=. \ --template=ctuthesis.tex \ --bibliography bibliography.bib \ --pdf-engine=latexmk \ --pdf-engine-opt=-outdir=temp \ --pdf-engine-opt=-shell-escape \ --pdf-engine-opt=-bibtex \ -o doc.pdf If I let it generate .tex, it has sections looking as expected: \hypertarget{verification}{% \section{Verification}\label{verification}} Any suggestions where to look would be much appreciated. I found zero cases of somebody's .toc items being duplicated and zero information on how the .toc is even generated. Thanks, Emil J -- 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/7713e9c1-1056-4891-996b-1297e2145913n%40googlegroups.com. ------=_Part_377_1940376064.1668120960894 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello everybody,
I'm building a pdf with a latex templat= e, and every single entry in the TOC as well as the .toc file is duplicated= likle this:

\contentsline {section}{Verification}{11}{sectio= n*.20}%
\contentsline {section}{Verification}{11}{section*.20}%

I'm absolutely stumped, I would like to untangle pando= c's and latexmk's invocations to at least know what source code to read but= I can't figure that out. The repository is at https://gitlab.com/tywonemi-school-stu= ff/titania/doc and you need latexmk, inkscape, and this latex template/cls to build it. If it = helps, here's what the Makefile runs:

pandoc analy= sis.md \
-s \
--filter pandoc-minted/pandoc-minted.py \
--filter p= andoc-svg/pandoc-svg.py \
--data-dir=3D. \
--template=3Dctuthesis.tex= \
--bibliography bibliography.bib \
--pdf-engine=3Dlatexmk \
--pd= f-engine-opt=3D-outdir=3Dtemp \
--pdf-engine-opt=3D-shell-escape \
--= pdf-engine-opt=3D-bibtex \
-o doc.pdf

If I let = it generate .tex, it has sections looking as expected:

=
\hypertarget{verification}{%
\section{Verification}\label{<= /span>verification}}

Any suggestions where to look would be much ap= preciated. I found zero cases of somebody's .toc items being duplicated and= zero information on how the .toc is even generated.
<= span>
Thanks,
Emil J
<= /span>

--
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/7713e9c1-1056-4891-996b-1297e2145913n%40googlegroups.= com.
------=_Part_377_1940376064.1668120960894-- ------=_Part_376_1911495483.1668120960894--