public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: 10 appearing before references --citeproc
Date: Sun,  8 Oct 2023 13:40:08 +0000	[thread overview]
Message-ID: <ZSKxOCY8DUjCUouy@localhost> (raw)
In-Reply-To: <308d5ea1-b759-495a-83d3-5f757729999an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Run pandoc -D latex and copy-paste into your template the definition of CSLReferences there.

Le Sunday 08 October 2023 à 06:24:49AM, Enrico Mattia Salonia a écrit :
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/308d5ea1-b759-495a-83d3-5f757729999an%40googlegroups.com.
> 
> References:
> 
> [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/308d5ea1-b759-495a-83d3-5f757729999an%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
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/ZSKxOCY8DUjCUouy%40localhost.


      parent reply	other threads:[~2023-10-08 13:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-08 13:24 Enrico Mattia Salonia
     [not found] ` <308d5ea1-b759-495a-83d3-5f757729999an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-08 13:40   ` Bastien DUMONT [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZSKxOCY8DUjCUouy@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).