From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SO3fCDtXWWNOHQEAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 17:50:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mMnHCDtXWWMk/gAAauVa8A (envelope-from ) for ; Wed, 26 Oct 2022 17:50:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B700321E66 for ; Wed, 26 Oct 2022 17:50:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onieh-00030d-SN; Wed, 26 Oct 2022 11:49:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onieg-0002yQ-DO for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 11:49:22 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oniee-0000VP-K5 for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 11:49:22 -0400 Received: by mail-ed1-x534.google.com with SMTP id v27so19946890eda.1 for ; Wed, 26 Oct 2022 08:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=e/VSFy6jiV/a4EQQhzYoM56gfv6XOcks8A2/QJfT380=; b=L5ZVokdxQnt+kgRHPH8wVKJJ++QZAbZsyi6COnhKIrgM49CP5vUuuWnrKu0qJGkDZk IpDMfx4Th4q22MmAgFTKUxi35RPJ9nWKMNP7/YiypeyDi6LWjnElE6Z1BjiUHOP3vnnw DzxJhenYi921HognKaiL6K84Zuaseg40eaDiUuL0UPWOO+k2Egf6WcUgm0A94vfxIh8v njNds/QZlZ0DeQGvXyDDSJrTmaFqZJwCfYLcW+qKasIYxh5mLchqOkVlhexEsdnmjQhd jV1QslN9RCdMHJtnGcSvNrIOTPh1ZQkxr/6xZsHC5Sc1eDraWFkMPaYQJnv6/CQ8RN61 5dtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e/VSFy6jiV/a4EQQhzYoM56gfv6XOcks8A2/QJfT380=; b=UFQUmr9CQXRpKic2P3Vr6ytX+QQVC6MeNhyNdxvlsoIRdMC3Z0i1Lk5fIndhweyCwy W9IYTF/8lU8Z360Ig7wjpb0QZJpmtJoLp53TBWhEkBPByAQKlMnr3VVnHlLwWuX8lFVB Lru81sw5dxNHKXHOwQiIo41dHPIxu2QAyEphUhyf/7fiLIFVB3eUcSfXK5c8k1+by/oQ 0SMj9S2HwkGiRUD3A17g8Qthk6lEaW0yyR7KOedf9pvKHgeWwhi7ZDUZih4ECuGKZYh4 9q8OprQYRgBjTE2490wuTNm1fY8MxIJQLLQXWCip/YRVKEdAgEout2bFvASkPLRpMNjc abAg== X-Gm-Message-State: ACrzQf0A+B1y6F0io1DU6noyioloI792SX3INO5/mRzYcBABQ51Ixagw eR2IK3nS2/LIIULKN7+KlS9Rxi5ASzjMJg8SxVg= X-Google-Smtp-Source: AMsMyM5SjsfNBl0K191dOUV7vwOOsYvgjBEfsujL8FVKAdUVauNYB+ZTCh10Mbj1CeMBKqipw1rZIwsedA6219FL14c= X-Received: by 2002:a50:fc03:0:b0:461:5d8d:5811 with SMTP id i3-20020a50fc03000000b004615d8d5811mr25504502edr.351.1666799357916; Wed, 26 Oct 2022 08:49:17 -0700 (PDT) MIME-Version: 1.0 References: <87wndjvi2f.fsf@guelker.eu> <87pmeob3y6.fsf@localhost> <87k04vr9dk.fsf@guelker.eu> <87y1tb83uz.fsf@localhost> <87eduwrw42.fsf@localhost> In-Reply-To: <87eduwrw42.fsf@localhost> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Wed, 26 Oct 2022 17:49:06 +0200 Message-ID: Subject: Re: Formatting in citation locator To: Ihor Radchenko Cc: =?UTF-8?B?TS4g4oCYcXVpbnR1c+KAmSBHw7xsa2Vy?= , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=andras.simonyi@gmail.com; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666799418; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=e/VSFy6jiV/a4EQQhzYoM56gfv6XOcks8A2/QJfT380=; b=WQA801p7fI6X7TqK8d7rtKTpKy5TiuQZetHdJhKpsLqLTo8XzhAlhE+eaP3Z6n7hA23Ew1 jBL4fWxDI8E4Fbd0Tr+2NPfLMp7rlp4jmbvPuCX1PKjsRr8mwZ8xSc5RhLavAMgEXZFuPw 47IW31UwXxbR6FFqGHv1uiiiVvEfWV2jXq9yOBkRO28i/Uhn1WQlAAuotERWAKIDzmJfBU 6LS4nquUiC/tpOimNWptkbu28OjhRY61C4qre2iPayeUxHCfEANHCc83OZRlxG5TSeHuN0 +RbLQW2JID5VrrnTzZ7BDpMPIP5/BN5hXZUSDgFqsjW5xrVOWAUaOaqdVwcfbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666799418; a=rsa-sha256; cv=none; b=OBO9GAK6ZwSZp8gKnqg9OaqVSxjt0bSldMdTdTEWd4WxFYTi6MStyYGc2S3+OLC9XhQybc xjYTbcv7fKYXTjPzkq0DMTPrjOZ7Xl05C5dE4BomhSapzZLgR50Admv/0KOT9ipuKyU2Te PqHGBfD1djMSn6yY+v0mdixjiMv4ycZNGGU3glzyNLofOfpfXJlT4v5HtwBqvM3ja2cqHd ddwqHvyjH9Q3T4/fBU2B5TL0ggJhjw2AjpFqAYitdmr5mOrtPPZT+E+YE2Ybbij9U9RaMd 89UsxovwFiIMZP6Ll8/Af8Tw7A9TmOQ94Q0da2X/xWzSiaKfV6UESlpMSER9gQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=L5ZVokdx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=L5ZVokdx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B700321E66 X-Spam-Score: -7.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: Jlu4S1dT2PwP Dear All, On Tue, 25 Oct 2022 at 13:16, Ihor Radchenko wrote: > Maybe file a bug report to citeproc repo? I've ended up making the necessary changes in citeproc and also posted a patch here which should enable formatting in locators. Marvin, I'd appreciate it if you could test it. best wishes, Andr=C3=A1s On Tue, 25 Oct 2022 at 13:16, Ihor Radchenko wrote: > > Andr=C3=A1s Simonyi writes: > > >> No. It is some bug in org-cite-csl--create-structure. > >> I am CCing the oc-csl maintainer. > >> Andr=C3=A1s, can you please take a look? > > > > first of all, apologies for reacting that late. I had a look now, and > > the reason of the behaviour is not an oc-csl bug, but rather a > > citeproc-el limitation: formatting is not supported in locators, so if > > present it is passed in an unparsed form through the processor and it > > depends on the used citeproc output formatter what happens to it > > during finalization. In practice, Org markup seems to go through > > unchanged when the citeproc output format is set to Org. As a > > consequence, a possible workaround for making the html export work > > with formatted locators is to circumvent the citeproc-el html > > formatter by exporting the Org document first to Org and then the > > result to html. Of course, this solution might lose some advanced html > > formatting produced by directly using citeproc such as small caps or > > style-specific bibliography indentation. > > Maybe file a bug report to citeproc repo? > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at