From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32860 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Markdown to PDF Bibliography Tweaking Tufte-Handout Date: Wed, 21 Jun 2023 20:19:18 +0000 Message-ID: References: <5d480421-9668-46cf-82c8-3d671dabd9e2n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 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="30971"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBSFWZWSAMGQEFCSUHJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 21 22:19:25 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f55.google.com ([209.85.208.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qC4IX-0007pZ-Hr for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 21 Jun 2023 22:19:25 +0200 Original-Received: by mail-ed1-f55.google.com with SMTP id 4fb4d7f45d1cf-5187cc1768dsf3236456a12.2 for ; Wed, 21 Jun 2023 13:19:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687378765; cv=pass; d=google.com; s=arc-20160816; b=kyYDdIH+Ce5HUNn9vdl/CbJcjJ2p2F2MksdDcad6RqetTk4rtK2TLRfQOafthz7uz3 awDJ6jyb5TeZr+cPyJqtPYdOtl6aE1GyueRA4qCYRuhKY14/ZRoIkjaMOFE3v4hIhmA2 xOSwjm9pLkjJemrzwf+4OAn6YHNCTB53neh2wQMHFJqKr/EVup4vUZ4VP+/xMl6/UOhT lEikl1+HklwUcuLIO2HykCQSQhqBeUyPKFNbEqimyYKlQTqw7nG53FjL/mNa8+oT2pIO AnGjI4PYqA6Zr4yMFBZ2fLy10e0e2dKzWFbZHVkJm5cngNTTQ45AND7tprvMpDR6xA11 z8ag== 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=WncnwCFfuHk3FRq7RBpMh7fx7ym5WfWo/M75S6WpYhs=; b=hV3IvIQ8oIVkET/iPpVFM64BTLkoPnsOufdOAE7S4RNi7Y5tW+qLr9l6rJia4nwkiF ToOrYIXoIvJM0nc5qPe5U2Q2ABtXNesLMlQDee7I6pVwLoeg4/suSKN/5yWS0vYd+DI1 nnIogO5MM3P0GiR13b6nwGAWaKbnTkqHb2aHV1X6Fs2Gkjn44soSx/27Mxr7X1DX1rOh 22qs97ROkwLPEfkI9O7WuEZ3kV4Xk5oXiV/3bPInKelId8ZQ4F+CnX93WYr98t3gl8b8 UCxjnt628X7ia+ituXZDOazB4mx5ELE2V9r3mDU6+3PYQoLHSWKf0FSJxHzTdGMNq8C8 VLVg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=hliG8932; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1687378765; x=1689970765; 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=WncnwCFfuHk3FRq7RBpMh7fx7ym5WfWo/M75S6WpYhs=; b=Uhtl+sZwIShioLsHW8voLQAnhs4+IadxG8ClEF9ki8xL27BYpTztzyF8nv23sSTL/R S/mHYK3B0VLegP4+Bb39UxMmzBwDjYRjlX8PXBxWvt6JtH4DkRu1hrkGoMrXwSn7KaQh mKHrJLulgi3A8LNptoYCN1IK8EydSDLu7tHj/TXWAkUFza4SI1B4HamlZvUjXsXEYE8J 5Cq2rZWci0AkngTcT6xablZv4qCgFCKhbZK6fVF80aBFt0dT889c4LjkHRSbCnD51t6t gLi2PJKlexhZ38Ner X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687378765; x=1689970765; 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=WncnwCFfuHk3FRq7RBpMh7fx7ym5WfWo/M75S6WpYhs=; b=SyhI0MM1Yql/R7Zvo/90V5CKBJpXHbnp/T0Q279Kpm4YL1jaaPYw+Cm1qUpw1KqZVJ L7UCx/HwKjrgXiljIXZpQlXA1oWQo7S+isHrrR7rW/GMddZJ1MIN7EZ5IctAsaYhhHwJ 1uf5djUD5SEhrF8gLHRhRL/7XaU41ZyMI1WZldzfVCjm9YZFNUIjM9L/RGU+JSYgw6z7 Fkcg/fUg0qhJZG3BraOmIMq/eauB Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDy/C9F1YSJ6NMs3DzhVDH3GkwdBm/z/YLmpg2I6M5pgulMG+VA0 OANdnDhpxrEodG/mG8bG+EI= X-Google-Smtp-Source: ACHHUZ5n+4EXM4E9HHG3cvO+ekFhsdpJK/TO3/3pf39QdKMsYgERYNCpaW7kUP+ACYSy9D4VDAH2/w== X-Received: by 2002:a05:6402:481:b0:514:666b:1e04 with SMTP id k1-20020a056402048100b00514666b1e04mr10272324edv.35.1687378764640; Wed, 21 Jun 2023 13:19:24 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6402:711:b0:514:9bd1:56ca with SMTP id w17-20020a056402071100b005149bd156cals12614edx.0.-pod-prod-09-eu; Wed, 21 Jun 2023 13:19:19 -0700 (PDT) X-Received: by 2002:a05:6402:1b0e:b0:516:81d3:2627 with SMTP id by14-20020a0564021b0e00b0051681d32627mr12502098edb.0.1687378759653; Wed, 21 Jun 2023 13:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687378759; cv=none; d=google.com; s=arc-20160816; b=GbA7G60f8jK35iG1/KcvBKeYddsYzB2Rty4dtX27P2apepediG4U4JBPNjV7uFQ6Fw iQyspvVGK/w9olpNHNFaajMJz/qd9jMn9jzQaOlyUc7cfnfVoSi1XO7WetbYM65AqW2R 3z/wrB0G/PZxzCRULAeQmG6Ksu9gM7P4I7aDv1Bg/omNqsratVO6+TIe7vjYYqHg0SrD FqoWXQIOY/4VRAjS1ptGf9ilakIwWJZy/VQlRvO5DQ8BxqAFwK/UYlIMMMO5YXl0jZ40 /HBx/+cPUL9MS07G3lYdcHsIX3WMroBNiLXbrzMx9guWZd1qcVvFdiha2Xu2Ui3rJ6Pa i7IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=f5YmbAL4VI8loIhExs3dZJevGXLGwLiPaAIPTJM71IM=; b=rbd+Z+MYjabqFtaPBOuHMvf8d75Ed+IoiEkp6uQuGG5Wb0hVHuqP++Gp/+bAWGJjkF 91c43t6m6gKl/B7ZaF6c3e34tJLGtiaLTI3trSAfUdja7P1/sAEYdU0lFyMxUnajlf1N AF5PWxUxVO0EbrnvPytE7iyLWKteaKdlNnzoGJICDTvIPATyr4WvAY5fuQ3mL+SOUhi/ C4zNkMFgUqZYepxttBllx/hfu6IgwMVpDWIPYvi2oxoDmIYqZ7fnrdcEcaQpgcD0ZIj4 CcirfFgE2zXSDFfN7KevdVAoymNP5mlhabNDG0ZOfPr6rJllnvZltt6ZreFNUE3j5rtO 4P9Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=hliG8932; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id es12-20020a056402380c00b0051a52a2f5f0si318887edb.0.2023.06.21.13.19.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 13:19:19 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3FAE5240103 for ; Wed, 21 Jun 2023 22:19:19 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QmZbV6RY2z6tvn for ; Wed, 21 Jun 2023 22:19:18 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=hliG8932; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:32860 Archived-At: You're welcome! The following should solve the problem permanently: ```{=3Dlatex} \begin{fullwidth} ``` # References ::: {#refs} ::: ```{=3Dlatex} \end{fullwidth} ``` Le Wednesday 21 June 2023 =C3=A0 03:06:20PM, Chris Blake-Turner a =C3=A9cri= t : > Thanks, Bastien, that was a good call. The raw attributes were just enclo= sing > the title of the bibliography, and not any of the bibliographic data, so = it was > an easy fix in the .tex file. >=20 >=20 > On Jun 20, 2023, at 10:20, Bastien DUMONT > wrote: >=20 > Where do the raw LaTeX blocks end up in the TeX file? You should expo= rt to > LaTeX (not directly to PDF) to see what output John's chunk produces.= At > least, it would help you identify the problem. >=20 > Le Tuesday 20 June 2023 =C3=A0 10:06:19AM, Chris Blake-Turner a =C3= =A9crit : >=20 > Update: I replied before I=E2=80=99d had a chance to check this (= I was in the > middle of > a move, but wanted to show my appreciate for your getting back to= me!). >=20 > raw attribute seems not to be doing the trick. Any other suggesti= ons, > or should > I provide a MWE? >=20 > Thanks, >=20 > CBT >=20 >=20 > On Jun 13, 2023, at 20:16, John MacFarlane > wrote: >=20 > Use raw attribute: >=20 > ```{=3Dlatex} > \begin{fullwidth} > ``` >=20 > # References >=20 > ```{=3Dlatex} > \end{fullwidth} > ``` >=20 >=20 > On Jun 13, 2023, at 12:20 PM, Chris Blake-Turner <[1] > [1]chrisblaketurner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >=20 > (Apologies if this has been answered, but I couldn't find = it > with some > searching.) >=20 > I'm using pandoc to convert Markdown to PDF. I'm using > --citeproc and a > YAML metadata block that specifies the bibliography, with = a > final "# > References". Everything comes out nicely. >=20 > The trick is that I'm using the tufte-handout class for La= TeX > and would > like the make the Bibliography fullwidth. So I'd like some= thing > like: >=20 > \begin{fullwidth} > # References > \end{fullwidth} >=20 > Since "#" is special in LaTeX, that gets me a "You can't u= se > `macro > parameter character #' in vertical mode" error message. >=20 > So the next thing I tried is escaping the hash: >=20 > \begin{fullwidth} > \# References > \end{fullwidth} >=20 > But then that prints "# References". >=20 > I'm sure the fix is simple with some YAML etc. know-how th= at I > lack, so > thanks in advance for any suggestions! >=20 > Chris >=20 > --=20 > You received this message because you are subscribed to th= e > Google > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails f= rom > it, send > an email to [2][2]pandoc-discuss+unsubscribe@googlegroups.= com. > To view this discussion on the web visit [3][3]https:// > groups.google.com/d > /msgid/pandoc-discuss/ > 5d480421-9668-46cf-82c8-3d671dabd9e2n%[4]40googlegroups.co= m. >=20 >=20 > --=20 > You received this message because you are subscribed to a topi= c in > the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit [4][5]https:// > groups.google.com/d/topic/ > pandoc-discuss/DrsxtdEjlTw/unsubscribe. > To unsubscribe from this group and all its topics, send an ema= il to > [5] > [6]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [6][7]https:// > groups.google.com/d/ > msgid/pandoc-discuss/D2A01A50-396B-4916-8807-81FEAAE84117%[8] > 40gmail.com. >=20 >=20 > -- > You received this message because you are subscribed to the Googl= e > Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it,= send > an email > to [7][9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [8][10]https:// > groups.google.com/d/msgid/ > pandoc-discuss/C7C74FF6-88B4-4D13-AEEF-7BC25E44CAC7%[11]40gmail.c= om. >=20 > References: >=20 > [1] [12]mailto:chrisblaketurner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > [2] [13]mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [3] [14]https://groups.google.com/d/msgid/pandoc-discuss/ > 5d480421-9668-46cf-82c8-3d671dabd9e2n%40googlegroups.com > [4] [15]https://groups.google.com/d/topic/pandoc-discuss/DrsxtdEj= lTw/ > unsubscribe > [5] [16]mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [6] [17]https://groups.google.com/d/msgid/pandoc-discuss/ > D2A01A50-396B-4916-8807-81FEAAE84117%40gmail.com > [7] [18]mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [8] [19]https://groups.google.com/d/msgid/pandoc-discuss/ > C7C74FF6-88B4-4D13-AEEF-7BC25E44CAC7%40gmail.com?utm_medium=3Dema= il& > utm_source=3Dfooter >=20 >=20 > --=20 > You received this message because you are subscribed to a topic in th= e > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit [20]https://groups.google.com/d= /topic > /pandoc-discuss/DrsxtdEjlTw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to [= 21] > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [22]https://groups.google.co= m/d/ > msgid/pandoc-discuss/ZJHD219B_ASWR-wV%40localhost. >=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 [23]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [24]https://groups.google.com/d/= msgid/ > pandoc-discuss/A196B74F-79D9-48A4-A368-525F0FF7CF2B%40gmail.com. >=20 > References: >=20 > [1] mailto:chrisblaketurner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > [2] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [3] https://groups.google.com/d > [4] http://40googlegroups.com/ > [5] https://groups.google.com/d/topic/ > [6] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [7] https://groups.google.com/d/ > [8] http://40gmail.com/ > [9] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [10] https://groups.google.com/d/msgid/ > [11] http://40gmail.com/ > [12] mailto:chrisblaketurner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > [13] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [14] https://groups.google.com/d/msgid/pandoc-discuss/5d480421-9668-46cf-= 82c8-3d671dabd9e2n%40googlegroups.com > [15] https://groups.google.com/d/topic/pandoc-discuss/DrsxtdEjlTw/unsubsc= ribe > [16] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [17] https://groups.google.com/d/msgid/pandoc-discuss/D2A01A50-396B-4916-= 8807-81FEAAE84117%40gmail.com > [18] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [19] https://groups.google.com/d/msgid/pandoc-discuss/C7C74FF6-88B4-4D13-= AEEF-7BC25E44CAC7%40gmail.com?utm_medium=3Demail&utm_source=3Dfooter > [20] https://groups.google.com/d/topic/pandoc-discuss/DrsxtdEjlTw/unsubsc= ribe > [21] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [22] https://groups.google.com/d/msgid/pandoc-discuss/ZJHD219B_ASWR-wV%40= localhost > [23] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [24] https://groups.google.com/d/msgid/pandoc-discuss/A196B74F-79D9-48A4-= A368-525F0FF7CF2B%40gmail.com?utm_medium=3Demail&utm_source=3Dfooter --=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/ZJNbRqH9RAQxNgqL%40localhost.