public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "Hakan Dağdelen" <hkndgd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Fwd: CSL: conditional text not printed
Date: Wed, 1 Sep 2021 06:28:57 -0700 (PDT)	[thread overview]
Message-ID: <635d04e9-a938-4e2d-8ac0-81988c8402acn@googlegroups.com> (raw)
In-Reply-To: <YS9xs015F8jCrkyG@localhost>


[-- Attachment #1.1: Type: text/plain, Size: 2819 bytes --]

Thanks a lot for the promt relpy.

I call it under citation and bibliography layout. Here is my CSL file: 
https://pastebin.com/MdzdZLXs

Here is a bib file in json: https://pastebin.com/GgWeVU1x

And here is a bib file in tex: https://pastebin.com/YUb73afz



On Wednesday, September 1, 2021 at 3:28:38 PM UTC+3 Bastien Dumont wrote:

> How do you call this macro? Could you provide a CSL file including it and 
> a small example where it should be triggered? Normally it should work: see 
> the related test in citeproc's test suite: 
> https://github.com/jgm/citeproc/blob/1ce8c26a5918c641b6a70d4b4151c7a51ab9a1ed/test/csl/disambiguate_ByCiteDisambiguateCondition.txt
>
> Le Wednesday 01 September 2021 à 03:09:14PM, hakan a écrit :
> > Hi,
> > 
> > I have the following macro in my CSL style file:
> > 
> >    <macro name="disambiguate">
> >      <choose>
> >        <if disambiguate="true">
> >          <text variable="title-short"/>
> >        </if>
> >      </choose>
> >    </macro>
> > 
> > I use this macro in subsequent citations and bibliography. It helps me
> > to disambiguate works of authors cited with multiple works in citations
> > and to add a short title information at the end of the relevant
> > bibliography entries.
> > 
> > When I convert org or tex documents with Pandoc, this macro is ignored
> > and nothing gets printed at the relevant positions. I tried both
> > CSL-json and biblatex files as bibliography files. Shorttitle fields are
> > filled in.
> > 
> > How can I have this CSL macro work with Pandoc?
> > 
> > Thanks a lot in advance.
> > 
> > Hakan
> > 
> > 
> > --
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit [2]
> https://groups.google.com/d/msgid/
> > pandoc-discuss/
> > CAL9QFNmVq0NzALJEQe1GCC%2BuFBBT-%3Df_orrFTiFUBok-BS%3D6yw%
> 40mail.gmail.com.
> > 
> > References:
> > 
> > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [2] 
> https://groups.google.com/d/msgid/pandoc-discuss/CAL9QFNmVq0NzALJEQe1GCC%2BuFBBT-%3Df_orrFTiFUBok-BS%3D6yw%40mail.gmail.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/635d04e9-a938-4e2d-8ac0-81988c8402acn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5269 bytes --]

  reply	other threads:[~2021-09-01 13:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AQHXnypIInrPD2svS0+pCdrSBD43YKuO+ZyAgAARKoCAAAlLgIAAIlkw///g7oCAAApsgIAAIkTQ>
     [not found] ` <201a35f6-a91a-3bb7-a01d-07ca8cd9f6c5@gmail.com>
     [not found]   ` <201a35f6-a91a-3bb7-a01d-07ca8cd9f6c5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2021-09-01 12:09     ` hakan
     [not found]       ` <CAL9QFNmVq0NzALJEQe1GCC+uFBBT-=f_orrFTiFUBok-BS=6yw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-09-01 12:27         ` Bastien DUMONT
2021-09-01 13:28           ` Hakan Dağdelen [this message]
     [not found]             ` <635d04e9-a938-4e2d-8ac0-81988c8402acn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-01 14:02               ` Bastien DUMONT
2021-09-01 14:07                 ` AW: " denis.maier-NSENcxR/0n0
     [not found]                   ` <9f7cdd53071b42cda9f394039bd293ae-NSENcxR/0n0@public.gmane.org>
2021-09-01 14:13                     ` Bastien DUMONT
2021-09-01 14:51                       ` Hakan Dağdelen
     [not found]                         ` <539c92e0-57ac-4190-9077-3597c64e0a35n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-01 14:54                           ` AW: " denis.maier-NSENcxR/0n0
     [not found]                             ` <a82ee548f5b6496f93635bf721db11a9-NSENcxR/0n0@public.gmane.org>
2021-09-01 15:27                               ` Hakan Dağdelen
     [not found]                                 ` <794a24b8-0ac1-40fc-b934-41e0e34f39a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-01 15:48                                   ` Bastien DUMONT

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=635d04e9-a938-4e2d-8ac0-81988c8402acn@googlegroups.com \
    --to=hkndgd-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).