* 10 appearing before references --citeproc
@ 2023-10-08 13:24 Enrico Mattia Salonia
[not found] ` <308d5ea1-b759-495a-83d3-5f757729999an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Enrico Mattia Salonia @ 2023-10-08 13:24 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 979 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 2595 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 10 appearing before references --citeproc
[not found] ` <308d5ea1-b759-495a-83d3-5f757729999an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-10-08 13:40 ` Bastien DUMONT
0 siblings, 0 replies; 2+ messages in thread
From: Bastien DUMONT @ 2023-10-08 13:40 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-08 13:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-08 13:24 10 appearing before references --citeproc Enrico Mattia Salonia
[not found] ` <308d5ea1-b759-495a-83d3-5f757729999an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-08 13:40 ` Bastien DUMONT
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).