public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Ian Cornelius <ircornelius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: citation cross reference suffixes not appearing in resulting PDF file.
Date: Sun, 05 Mar 2023 09:07:44 -0600	[thread overview]
Message-ID: <1678028475-sup-8118@irc-ThinkPad-T460> (raw)
In-Reply-To: <CAMwawgNLZ+3vsrrS2d2huuDVOUbzbbujQR2F36jcrVdvhZb13g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

I would modify the citation element in aims-press.csl to match the
corresponding element in ieee.csl. If you do that, also copy the macro
invoked in the ieee.csl citation element.

Excerpts from A A's message of 2023-03-05 07:14:05 +0100:
> Thanks for your response. The citation element in aims-press.csl is as
> follows:
> 
>   <citation collapse="citation-number">
>     <sort>
>       <key variable="citation-number"/>
>     </sort>
>     <layout prefix="[" suffix="]" delimiter=",">
>       <text variable="citation-number"/>
>     </layout>
>   </citation>
> 
> I would like for the locators to render in my final document, so I guess
> I’d have to select another style or modify this one. Do you happen to know
> Which part of the XML is responsible for rendering the locator?
> 
> On Sat, 4 Mar 2023 at 18:11, Ian Cornelius <ircornelius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
> > Do you mean that the locator ("p. 33") does not render? This is the
> > expected behavior of the citation style you are using.
> >
> > `mathematics-in-engineering.csl` is a dependent style of `aims-press.csl`.
> > Citations are written by the citation element in this file:
> >
> >
> > https://github.com/citation-style-language/styles/blob/6152ccea8b7d7a472910d36524d1bf3557a83bfc/aims-press.csl
> >
> > I notice that recent publications in Mathematics in Engineering do indeed
> > use citations of the form "[1, p. 33]". If that is the journal policy, the
> > csl file should be updated. You could open an issue at
> > https://github.com/citation-style-language/styles
> >
> > Ian
> > On Friday, March 3, 2023 at 6:49:06 AM UTC-6 A A wrote:
> >
> >> Why won’t thecitation suffix appear in the PDF from the markdown below?
> >>
> >> ---
> >> biblio-style: numeric
> >> csl: mathematics-in-engineering.csl
> >> geometry:
> >> - margin=2cm
> >> fontsize: 12pt
> >> references:
> >> - type: document
> >>   id: DevGuide
> >>   author: 'Computer Simulation Ltd.'
> >>   issued:
> >>     date-parts:
> >>     - - 2021
> >>   title: 'Development Guide'
> >>   language: en-GB
> >> ---
> >>
> >> Hello world @DevGuide [p. 33]
> >>
> >> \newpage
> >>
> >> # References
> >>
> >> I’m compiling with the following:
> >>
> >> pandoc -s --no-check-certificate --citeproc -H deeplists.tex --from  markdown --to latex test.md -o test.tex
> >> latexmk -pdflatex test.tex
> >>
> >> Where deeplists.tex is similar to what is shown in this
> >> <https://github.com/jgm/pandoc/issues/2922> issue and should have no
> >> impact on what I’m doing here.
> >>
> >> --
> > 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/91da7ece-b97d-47f9-a7c3-037b14401173n%40googlegroups.com
> > <https://groups.google.com/d/msgid/pandoc-discuss/91da7ece-b97d-47f9-a7c3-037b14401173n%40googlegroups.com?utm_medium=email&utm_source=footer>
> > .
> >
> 

-- 
Ian Cornelius (he|they)
https://icornelius.github.io/

-- 
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/1678028475-sup-8118%40irc-ThinkPad-T460.


      parent reply	other threads:[~2023-03-05 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03 12:48 A A
     [not found] ` <CAMwawgMp+wQW8UwFbO8uunDjskfGvNknOCnCYkrMycWS+UBvtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-03-04 17:11   ` Ian Cornelius
     [not found]     ` <91da7ece-b97d-47f9-a7c3-037b14401173n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-03-05  6:14       ` A A
     [not found]         ` <CAMwawgNLZ+3vsrrS2d2huuDVOUbzbbujQR2F36jcrVdvhZb13g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-03-05 15:07           ` Ian Cornelius [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=1678028475-sup-8118@irc-ThinkPad-T460 \
    --to=ircornelius-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@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).