From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33170 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Enrico Mattia Salonia Newsgroups: gmane.text.pandoc Subject: 10 appearing before references --citeproc Date: Sun, 8 Oct 2023 06:24:49 -0700 (PDT) Message-ID: <308d5ea1-b759-495a-83d3-5f757729999an@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_28810_278895643.1696771489136" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31106"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCG5FCHTSEOBBIW3RKUQMGQEFDQVGNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 08 15:24:53 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f63.google.com ([209.85.160.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qpTm9-0007tV-Qo for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 08 Oct 2023 15:24:53 +0200 Original-Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-1dd51b98342sf5498873fac.3 for ; Sun, 08 Oct 2023 06:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1696771492; x=1697376292; darn=m.gmane-mx.org; 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=WTkf2FbFkDbmP8al9KmQR1goQbsM3r7MB3YHOmOLTVc=; b=W3Tgq/nuPUbeiB4jBHz22HOmaEtowABGB0txfGjy1MXZD+mtzatVYfEEJoE9v6Wkry zJbBflJ2eepujGZmVaIkzsCSzvAnjB3IZgoeuZQo5A+fZjtcHxvmzb5qfOiLjb+QcmXj jHcyXU20phjYStGnMNqGpG+AI324s+eLKUG4QGt+FgMSJ2iswjb+3VssoMlxwvcCyCfC 0oWPJLide2FMEV48izgEJabYFIngzTwIHY7CCKCtHcOzyrJwW2SXhtaq/L/dnpIdshQi 8CZ7nAsgfqwTdORL2t6tpUm407qD4Qlj9SAiBTxctF8a5lWT8VJg10iOg/EiBLq3c97L RTDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696771492; x=1697376292; darn=m.gmane-mx.org; 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=WTkf2FbFkDbmP8al9KmQR1goQbsM3r7MB3YHOmOLTVc=; b=CxHhzAmsOeUbvSsprxyEvcABCDbArlG6U8iBHSyudRM/S4XRbwJdHilXgMp9N2gu+1 Fil7oKP1eNNzPGE55tXdVlzhlHUXuWnJvKJ5ksDCqeVkRRuHLTd5MaqldcgWIxVZZaDI 6FWGJcud/wxZQitFpoJ7qe2IfnnEVuoKPG7Bz2LCDeYTPTJ9TkTej4MH6g+O5VbJryBI WEy2kKq/MahJZlaMLbdc/oIcJ5fkj1BhYiXS+qC0sofiSR32yAd1rrTlygnDNUxa7oQc SpdcaHGP4JmlaYLjXSSZWsZUgpZDOJ17fWUOMmrsXcR0QRQyEfWd8kJjru/AAil2/pia in1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696771492; x=1697376292; 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-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=WTkf2FbFkDbmP8al9KmQR1goQbsM3r7MB3YHOmOLTVc=; b=nmcGXcxzunWd0uTBqLHaHp5B7lArePMmm2sxATKnfsnHXu+NwGMsqJYt2ZMd557DAF o8xRypWfdrgCmxUG2F+amICzHtiGSUY3XhiasPbXlU5LnH7GzccgoQNhlxkDcM9C8hnY kumIE+NysRwpbJgHYZNhkNLwqf2aZuM6ZupD7QPIn2qs6RBJHH+PESlgZPUtK1wcqqGP +dG5E4xYgc82HpkgtL0VeXLE2HJbwv6qow/mJj5li5lAcahDW/fUgRsqfJPUry6nGLfp qt9M+z4gFyTIttoNxaVpGgbNMy0PgIVkZQWgV5AJB667XmaVOTPkQ5+2jHwbXWrm3eZd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YxkN6VjLanbnjWJxDK18vA4hOCw0hxIRHouTBpFsUnCRehytgqF nr1puMJLqbJ2HmpUSddOYpg= X-Google-Smtp-Source: AGHT+IFwipjyvTLgSmj8zoC3j23MaXikMzT6D6aPVCS3MRfyvjK8mTy4EOPVvibRPVcMs2QOJs68QQ== X-Received: by 2002:a05:6870:612b:b0:1b7:27cf:9709 with SMTP id s43-20020a056870612b00b001b727cf9709mr14402838oae.43.1696771492705; Sun, 08 Oct 2023 06:24:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:b6a7:b0:1c5:33df:eba7 with SMTP id cy39-20020a056870b6a700b001c533dfeba7ls455410oab.1.-pod-prod-07-us; Sun, 08 Oct 2023 06:24:49 -0700 (PDT) X-Received: by 2002:a05:6870:7688:b0:1dc:6d26:9ff with SMTP id dx8-20020a056870768800b001dc6d2609ffmr4867060oab.6.1696771489642; Sun, 08 Oct 2023 06:24:49 -0700 (PDT) X-Original-Sender: mattia.salonia1-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:33170 Archived-At: ------=_Part_28810_278895643.1696771489136 Content-Type: multipart/alternative; boundary="----=_Part_28811_311139587.1696771489136" ------=_Part_28811_311139587.1696771489136 Content-Type: text/plain; charset="UTF-8" I use a latex template and the --citeproc filter to convert from .md to .pdf parsing references. In my latex template I have the following code generating the references environment. $if(csl-refs)$ \newenvironment{CSLReferences}% $endif$ However the first reference in the pdf always has a 10 appearing before the citation. If I convert the .md file to a .tex the references environment begins as follows. \begin{CSLReferences}{1}{0} If I remove those 1 and 0 and compile from .tex to .pdf the 10 disappears, but I have to do it manually. How do I fix this? -- 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/308d5ea1-b759-495a-83d3-5f757729999an%40googlegroups.com. ------=_Part_28811_311139587.1696771489136 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I use a latex template and the --citeproc filter to convert from .md to .pd= f parsing references. In my latex template I have the following code genera= ting the references environment.

$if(csl-refs)$
\newenvironment{CSLReferences}%
$endif$

However the first refere= nce in the pdf always has a 10 appearing before the citation. If I convert = the .md file to a .tex the references environment begins as follows.
<= br />
\begin{CSLReferences}{1}{0}

If I remove those 1 and 0 = and compile from .tex to .pdf the 10 disappears, but I have to do it manual= ly. How do I fix this?

--
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/308d5ea1-b759-495a-83d3-5f757729999an%40googlegroups.= com.
------=_Part_28811_311139587.1696771489136-- ------=_Part_28810_278895643.1696771489136--