From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29188 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: issue with "see also" of same and different author Date: Mon, 06 Sep 2021 09:36:44 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29194"; mail-complaints-to="usenet@ciao.gmane.io" To: 'Jan' via pandoc-discuss , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBKUH3GEQMGQE5VZOOBQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 06 18:37:00 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f56.google.com ([209.85.216.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mNHcC-0007Pg-O0 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 06 Sep 2021 18:37:00 +0200 Original-Received: by mail-pj1-f56.google.com with SMTP id n3-20020a17090a394300b0019765b9bd7bsf5782pjf.8 for ; Mon, 06 Sep 2021 09:37:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630946219; cv=pass; d=google.com; s=arc-20160816; b=S3W0jiQ2IP22piJff0uTf0jZlkvPxlZiFjKUCw7ECTPqXAbLmCe7qGxDeoPJiGRLZu rKw16WopI9yJsf4pX5ofmzrKZtHZyr5Iv2aNT0jhUjFE8nuEsyChVknQc1ESJX7PXLP9 OF7sXlYNfbQ4PWqhX3O4WFFuQPAQPTkC8RWRx2iv5ZnfbSgbXRbCLNNMcDi3Tts4KjFj MokZ4jVGGtBD+9vbOsErLPRKkQscoH3Ic6jYJUFZDk6FkWqb645j0s+qcYGmE+Mj+8Zi 4emymk7FyL9GRggZfO8YtZJZU+9HXkuyrZl8Cp1fnScy5qCgv6m7H/MJDbpeJ53EvDH/ rg0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=TAcmYh2c5NOneAzLmo+pGoWbFmNzs/xla8tUxDFYLo8=; b=FPGj8dnX7BHsTydd561dQn/jzwtvgXvOgns2hlRoraQM2jhdqE6g83gNupJUrsSnle TupV0s5I6ZKqJ6sA9hKZmVdTRrbNzgEgXVL3IDF0+5y4UM6NsCir7zn70v+FF8sT+LVm 2vkER0yX5d7TYjtJiz9EIdVS2WMKmcvq6yen3hFOGAq8AZ5G/gLIkg1guzdIim8ioswo FZ6RuZ6r80oK7x/tnH3Dscl7i7p7GptMEkBq6XCXfbyA2YGnOiHHu3soRe+i57VoQfKP CmFvOWJl6w1Vz9NLEgm57hdzDat+2gnllDBtvydOoftJ+DUjg0HE7rVP3Bs/i1xvyjUg hg6g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="Mj/7gD9l"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::529 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=TAcmYh2c5NOneAzLmo+pGoWbFmNzs/xla8tUxDFYLo8=; b=iXqxS9q4jZanDIGESBJxZMagSwMDpxZ4CVc84Bc5u8vA6HQ8Oo98+sN8Tl3my4xL89 6kO1xMmCFrCs+Fs6klzO5/BlLBdKRLu5BrKrPi2Zy1g5YdvanhfrO9HyNCX6Y/vfOTEx j4V/k/Ei7OyBOAM2b6+VAtvwJ08qHhppyvVY+5ZOPrL711Yt/z9c2zPWUZJCu5g6K9mW rKqABo0oGLW+vthIs/S+257xy6MuakZj3TgvOgrilXk4QVrWcScFBzele5ECeLOuCGGE 36b9M0MRVDxC0t7TjE8kCsONaqMg9/IBUnhO8ebK7MiCoEvZAsbVTlRcCMatDQ0SDusH JGtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=TAcmYh2c5NOneAzLmo+pGoWbFmNzs/xla8tUxDFYLo8=; b=SUObjF9UMThWPkMFyOHmhwVzzNk4qgGgAiCCFCYiRdjjzvNlhy2lOuVDSMf1b12lD6 3lXzH/wN+Fh3ny+bZ2pVL7MlstJ1zXi8QlpsEFvfvkqhh5yHLIzyzR3p6rmkPfLwVojp +BqSulpYjgHNjrt2023IQHVJ3RBWEz5kUrkaAtJl9v0YohIy6PYYGbQLF6s+085WK5FC FHxYOzXbKYMtjqh0KNjCv0K2P+J7xLnkwxzelTKM5256s+Q6+cba3zDy+uIucKWiy99Z FxL83O14iFbpiaVf/mZ+8q+gkq/Vo+WEj5EWh51PYKu+9oCu1icHdCntaQlcfFoMNL+k vRjg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533m/CkHAiR9lp7mq/qQPaGYXRGy59yjJFjwtmAZ02wcdudxD5ro vowtLliTWzU+vP5qt2eBdZo= X-Google-Smtp-Source: ABdhPJxXNy8iRAQ6Ptvx6nHsLi1fLdM2WJnM91ND9ySc+CeMBd3CmkulsaSxeFNtbpzt5IeGsst6cg== X-Received: by 2002:a63:ec45:: with SMTP id r5mr13117277pgj.440.1630946219481; Mon, 06 Sep 2021 09:36:59 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a62:388a:: with SMTP id f132ls2901364pfa.2.gmail; Mon, 06 Sep 2021 09:36:57 -0700 (PDT) X-Received: by 2002:a63:79c7:: with SMTP id u190mr6904752pgc.378.1630946217469; Mon, 06 Sep 2021 09:36:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630946217; cv=none; d=google.com; s=arc-20160816; b=Sma6/r4ajREwjfFPMPDHl13KLc3H+XQZdMxFsMoNA5TB1zBjbfP9yV39H7HlAD/ZVf bHBV7WTokuP7VdgKj22BRs6jAhGYQADN3LwryBXimge62r9l26taLC+tWg//4CUwLZh0 A2iCgHZFvPSsAG98WLvxlXlDkSdPC33IGKavrzN+ts/2b3sA8u6FenBokVCMgILKTtMy rSTax1Z6A9BRk1AHOqFc1K3BjzM9iTrat4kzMb6s5s5J3q7yIWrWCyZ4TXJQ3wqhq1jt z+tYkj/qk8sk523sM+GB5N/sMXJCRl3QSi94OtdnoH8LNlz/qhDLLLsaY6EXiHYmMjn3 idyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=HRHiNC9S2IIEAGVvS1w6//1VWH9r0LPrtVTIOlXSo7g=; b=WKQX/zwS3+lkbqzQkXIKtSXqXl8fIYjnKSfXuLfNw/YGy4BwTn6+vZ1epykszMGV9P cZEljUlc4wImw+ToNZ5t5x5VVQpXieCKR7VOvRLlAzHtYRhePAvWAHiNTVhYAiOI48at odx0UVf0y5wBIoOR284xD0lKjHzYgiewl1lf9uPsiIYwxAnlgr0Dzor7BtFJ71dNfRLt 5tI7JE2u90XVNDLGdDBehNAiO+pGDtI4bUlrHHPvy0HiOFGTmVSbNQoavXPbx6wManqO z3s7/1Pzxihm1qBwlSnR5OCLvzmnYRieJvdqv7kOsRZ6mzWqZJ6rNxBPLFRy0V+H7iUl baxA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="Mj/7gD9l"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::529 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com. [2607:f8b0:4864:20::529]) by gmr-mx.google.com with ESMTPS id 136si625643pfz.2.2021.09.06.09.36.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Sep 2021 09:36:57 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::529 as permitted sender) client-ip=2607:f8b0:4864:20::529; Original-Received: by mail-pg1-x529.google.com with SMTP id c17so7325713pgc.0 for ; Mon, 06 Sep 2021 09:36:57 -0700 (PDT) X-Received: by 2002:a62:7a15:0:b0:3ed:820a:6242 with SMTP id v21-20020a627a15000000b003ed820a6242mr12777625pfc.4.1630946216404; Mon, 06 Sep 2021 09:36:56 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id l10sm10338353pgn.22.2021.09.06.09.36.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Sep 2021 09:36:55 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id ABB2AA1A8; Mon, 6 Sep 2021 12:36:44 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="Mj/7gD9l"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::529 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:29188 Archived-At: As I noted on the issue, citeproc already does include code blocking sorting that rearranges prefixes, but this seems not to work in the case where there is also collapsing (of citations by same author). I have to look into why. Disabling collapsing in your style could thus be one workaround, though it would mean that you didn't get collapsing elsewhere. "'Jan' via pandoc-discuss" writes: > Thanks so much, John, I opened an issue on github. > > In the meanwhile, as a workaround, is there a way to disable sorting for > CMS? > > On Saturday, September 4, 2021 at 10:28:39 PM UTC-7 John MacFarlane wrote: > >> >> The issue won't arise if you use a style that doesn't sort >> citations, obviously, but that may not be an option here. >> >> I have a vague memory that this issue has come up before >> in pandoc-citeproc or in CSL, and that there was some solution. >> >> Yes: https://github.com/jgm/pandoc-citeproc/issues/292 >> >> Here is the fix I implemented in pandoc-citeproc: >> >> >> https://github.com/jgm/pandoc-citeproc/commit/31b463a939d4878d4c83c318976b66d723e70bf5 >> >> It's not in the CSL spec, so maybe it's not appropriate to >> modify citeproc to behave this way, but it sure is tempting. >> So if you feel like putting up a bug report on jgm/citeproc >> with links to the URLs mentioned above, please go ahead. >> >> >> "'Jan' via pandoc-discuss" >> writes: >> >> > Hi all, >> > >> > I have a quick question. >> > I'm processing for Chicago Manual of style author date format. >> > pandoc -t docx --csl=.pandoc/csl/chicago-author-date.csl >> > >> > I'm using the following syntax >> > [@Heller:2007i, 10; see also @Gal:1987; @Heller:1989]. >> > >> > for a citation that I want to render as >> > (Heller 2007, 10; see also Gal 1987; Heller 1989) >> > >> > what it does, it gives me: >> > (Heller 2007, 10, 1989; see also Gal 1987) >> > >> > So it moves the Heller 1989 up front to join the first citation of the >> same >> > author and then, obviously deletes the author last name. >> > Is there any way to prevent that (only for this citation)? >> > As the other Heller citation should come after the "see also". >> > >> > Help much appreciated! >> > >> > all best >> > >> > Jan >> > >> > >> > >> > -- >> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/a4c90db8-d468-42c5-b7ac-2162ddc70492n%40googlegroups.com >> . >> > > -- > 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/e721f4fa-f560-4ffc-a9a7-2749db068bc6n%40googlegroups.com.