From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31735 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Duplicate TOC entries Date: Thu, 10 Nov 2022 15:59:33 -0800 Message-ID: References: <7713e9c1-1056-4891-996b-1297e2145913n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) 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="24769"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBB35AW2NQMGQEXD6O53Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 11 00:59:47 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f62.google.com ([209.85.216.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1otHSV-0006IL-27 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Nov 2022 00:59:47 +0100 Original-Received: by mail-pj1-f62.google.com with SMTP id oo18-20020a17090b1c9200b0020bdba475afsf4312304pjb.4 for ; Thu, 10 Nov 2022 15:59:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668124785; cv=pass; d=google.com; s=arc-20160816; b=bxIMmwostKlbaf5br9s82Saxf0ib++im3bph8MOJsEcYn7L6fyF4wcy1BethoVybxE ctt3xK44pgzeiZTuphWWtGSgRE+WY+xMzEDonIkzVsLu6V4cUb1Pr7SkwPRas9XV8tbi L4LhnbeqszW7MjOSISjOWOSKkM4Wyuddueu9l2osOv9pWRhZ/gTabLYfc2qs+PixFsy6 2kjq6Vh0dg24WOzc3ui/ZUIa+zTX9hfb8vwgsmX3oi1u0fLF+/T9e03qb8LmMnHIbw1B PJwgp8Om/YBW6OpQTqq1VntDkztuZhjCZABfH12FQ5UugY8DL4z3reGkCgRriSobm+Wu Y4Iw== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=tvYxduMm/mWpLhHDCd+AsI1H70FuZiSN72DqlsjicOs=; b=qvOrYWilDnTag8kMmyMndAPoeBTH9jMbemuXVai4Pxmxd8gMY0we/qvyIgtL4ADvCg iDFXAulxjGCCv9L+d0Xwi+IoaPXkFUowHu3NByXWi0lzJSrwfWG5CiYvuYQqZxChvqWW Om/trqDz9B4Df9lDBf5u/sJFmQ3pTs+dTv1f9RBn7HrGbjx1VJm9vEOuB82wHoZt6hQQ 2fGZBO1z9xWlF4C2VABVYe3vHM51jg8yPPdd7aWetJYV2pnxVAnuRS6y3Ok3UlolxISC 2OvGPv9/Snm5dmi8bajgzbzoVOkL31QUtbSGvZrqxMEx0qxIYkk8x6mn8b4b3Qw9aQoU Bbqw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LOhOaC6g; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=tvYxduMm/mWpLhHDCd+AsI1H70FuZiSN72DqlsjicOs=; b=IUqWnwsZJUVavuTtXqQ+NmUm3qBCOTUCgRpGLNC9H/P+tgi04Gb6q1yYJmt/QGuYJw Zxq4HxGX7FkvcWDnwwdStko/kPH2w+1qdvRvLp7NmlJAMrzPr62GGsTY5Vv01ZLXJwpM KKjxxClnP9q3u33TpRDMCKfg6+yacstOj8CQsAYIHLlUk2MjMJi3wPXhJhygajj0M6pi 29TyGTGsGROSv2RtRVIx5EkAYy1cJAYPAJKw9bjEb6ed+4M7sy0/5PxyjL2ciDX9vOZu am14m/Hy6B/wCAw9rnFEqRVo4n1s3Gd3jyVWiDgr2qMplPEFCzW0ELN1vmJX9yeQT 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=tvYxduMm/mWpLhHDCd+AsI1H70FuZiSN72DqlsjicOs=; b=pc/jOw/uMXPUMa8weWcjaG0vsqspod5KBZzLO0g5LuJrU7soWNV0thYR2VprQqNtlf reTUFN9+YExeAbIJy7rpTbE0vO4A80Hib369+ThdIGOvwX4FhGD5zOpLEQaFyHA3XhWt XIMXOlAK1DKl8XO1pWovKWVF+4y7aU6J8iID/LH7K7gfXMlW8U2Q6kTGaPluIbrWKXCh /o9+t2XI6jjwpqlL1RoXDLlPUSIf4DhNIFiHD+3W5maUBBm+/T92MrYH4tv24qh3eFmD 0MXnuOKLVGG8on5ci2eRjPBe31nuAqF5PhJ+vnSTIzdRsoIwX8FdVHKyHMxRYLmX0atp U 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=tvYxduMm/mWpLhHDCd+AsI1H70FuZiSN72DqlsjicOs=; b=y74AwNY4d3ODlEDaJBrUYUUryicKjb9Ss/C5+Z+3vpFN5MbMFFjyEx9Vu8MYC5K9Ha 84gq/hS6jQm5iy0+K+gj3vrW2H3jqWF6Bm/Q9v3M81OLLOMKv4cj5OfB80GJLhxAjQre lN1JAci+ToRGGrzTczXTHaM7EpIppltIYz5hORL3NdfSdY0ZsUhm4LHiXyUTCG8DePvS 4Qgi6z7zJIxjVaYztl81HXnyv7j+Q82ohtgx8UgmcEJAOPwE4JBeGsfkKNaMGh3qom7k i4TiHVHmHJiDXRJK+Hnc Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf1QV7IsAhygGwIxOM1TA4PQxTs6Iwporwqy7uWhOdYZB9V/3x5W C+kXE/TO6ktUE8PdolLdHXM= X-Google-Smtp-Source: AMsMyM61tXNWDBHpPUL5mh8JC5peAqpX9UpCPZvUuIxLIy4/rMBv/XhWKQkcTQOuRg0VT4Ycz1++qw== X-Received: by 2002:a63:4503:0:b0:46f:8c3a:8b2b with SMTP id s3-20020a634503000000b0046f8c3a8b2bmr3912390pga.477.1668124785730; Thu, 10 Nov 2022 15:59:45 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:8f81:b0:187:3028:5d29 with SMTP id z1-20020a1709028f8100b0018730285d29ls2118057plo.8.-pod-prod-gmail; Thu, 10 Nov 2022 15:59:42 -0800 (PST) X-Received: by 2002:a17:902:ab09:b0:184:cb7e:ba36 with SMTP id ik9-20020a170902ab0900b00184cb7eba36mr43572plb.57.1668124782517; Thu, 10 Nov 2022 15:59:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668124782; cv=none; d=google.com; s=arc-20160816; b=SFf76hDK+Mt41QQ7VKudS/H0rM8LgXuiGmfbCED4DVezdsf8uKL80/vjyVzNHxFJ/k EulLpiGhbhbgLySC/1/yMOLy5uURlDTYBUUB+f7GXP5URwEXBSxd/TVPzXQIbuqUz5Mc cq6DRVdpn6qhEDAiAumxjfdqm4qMoDqzIK31IdhOyC4R9Bd/CMoYl24a/HpcDcwSqp8Z sDxA544SHSbsT7pyhyjlIMTPaVDY2durVweOE+fHgoJLg5Gpxi4k9JmiSphGLMhh2nxs t1zr/+5kxAzlhk9ts6gmdU0+86/mttWzkO6es7LxMfm8KwgN6xATUES5KMRZkvDZxBrR W0uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=gPmgaIgnTZ8wIF5jAHjvKB2oHA3AbOqZE1Uf9qz58dw=; b=fdoP7yy0ezNwWu7V0DJOkDagjuP1jPUpGm+ser0QtdOIZsCSwrvtsYgHdQAsz/kn7j dMof2peuzg3YFq2/z50f/2EJBOO9zjE4UmkSUfcOXNIoDCrWG1eANc4DNPHpezbi4ke0 2vZz7cV3g6Yw3ZGkrRsmF/mThJUO3oK1AhsCfMK8zGMot98rgvTdyteAf4//ppv1+TOd 2jqsKB9TQgDDyjd+jO00nHEhpGJ+56GBb2QFuJXZixJWInxumt7kuZq/mjRS+ACJmwAG ey8F3eOxo1OmITODSIbiE3dlX6RU0Fwcc8HJFyuId9bX6jG7zezFuf4CYbplcWUlZ6o7 dKBg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LOhOaC6g; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com. [2607:f8b0:4864:20::630]) by gmr-mx.google.com with ESMTPS id lr18-20020a17090b4b9200b00213290fa218si58261pjb.2.2022.11.10.15.59.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 15:59:42 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) client-ip=2607:f8b0:4864:20::630; Original-Received: by mail-pl1-x630.google.com with SMTP id p21so2901398plr.7 for ; Thu, 10 Nov 2022 15:59:42 -0800 (PST) X-Received: by 2002:a17:902:6945:b0:186:9870:506a with SMTP id k5-20020a170902694500b001869870506amr50462plt.45.1668124781892; Thu, 10 Nov 2022 15:59:41 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id h11-20020aa79f4b000000b00561beff1e09sm218366pfr.164.2022.11.10.15.59.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Nov 2022 15:59:41 -0800 (PST) In-Reply-To: <7713e9c1-1056-4891-996b-1297e2145913n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LOhOaC6g; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:31735 Archived-At: Try removing the filters to rule that out. Then try without the custom template. > On Nov 10, 2022, at 2:56 PM, Emil Tywoniak wrot= e: >=20 > Hello everybody, > I'm building a pdf with a latex template, and every single entry in the T= OC as well as the .toc file is duplicated likle this: >=20 > \contentsline {section}{Verification}{11}{section*.20}% > \contentsline {section}{Verification}{11}{section*.20}% >=20 > I'm absolutely stumped, I would like to untangle pandoc's and latexmk's i= nvocations to at least know what source code to read but I can't figure tha= t out. The repository is at https://gitlab.com/tywonemi-school-stuff/titani= a/doc and you need latexmk, inkscape, and this latex template/cls to build = it. If it helps, here's what the Makefile runs: >=20 > pandoc analysis.md \ > -s \ > --filter pandoc-minted/pandoc-minted.py \ > --filter pandoc-svg/pandoc-svg.py \ > --data-dir=3D. \ > --template=3Dctuthesis.tex \ > --bibliography bibliography.bib \ > --pdf-engine=3Dlatexmk \ > --pdf-engine-opt=3D-outdir=3Dtemp \ > --pdf-engine-opt=3D-shell-escape \ > --pdf-engine-opt=3D-bibtex \ > -o doc.pdf >=20 > If I let it generate .tex, it has sections looking as expected: >=20 > \hypertarget{verification}{% > \section{Verification}\label{verification}} >=20 > Any suggestions where to look would be much appreciated. I found zero cas= es of somebody's .toc items being duplicated and zero information on how th= e .toc is even generated. >=20 > Thanks, > Emil J >=20 > --=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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/7713e9c1-1056-4891-996b-1297e2145913n%40googlegroups.com. --=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/DB0608E9-A288-4299-832D-9B81C03A042F%40gmail.com.