From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WJECLZGXV2PHCQEAbAwnHQ (envelope-from ) for ; Tue, 25 Oct 2022 10:00:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sFgWLJGXV2PqWgAAG6o9tA (envelope-from ) for ; Tue, 25 Oct 2022 10:00:17 +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 44C2798B2 for ; Tue, 25 Oct 2022 10:00:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onEk4-0004VN-78; Tue, 25 Oct 2022 03:52:56 -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 1onDgI-0006PX-FR for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 02:44:58 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onDgG-0003hX-QO for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 02:44:58 -0400 Received: by mail-ed1-x536.google.com with SMTP id m15so34751492edb.13 for ; Mon, 24 Oct 2022 23:44:55 -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=Oh8vS9UekQ6+XVvvjE1Qdj9UjYipjg8T9lt51/P6b6w=; b=Jkm6v97k+i7/Swe6OdZ7YYcz+Hykl8fMn3Im9g+2VHoUh3kTcqXX1PkQVzA6ooXkal X8oVzfbtezAi32DuQ1jH/zAVyZHPVPDRHwRkt75D73OZjrBXTqU64rNbThqPtJ8L2sWV ES4GqeP0ygDQdrB/oQYlTeSBSTGAxrfbHwK7hdeugGVz9sdfzXYNe8j0wFA1Cc4DxJcK xSUXxURXupi/yfwIW1PPeOPSzj+iebxPk+QA7IKoSGrJczNNQSmoL+51G66e8vx48/GV hnRSqh7HUC4tFeW4VGsA5yLes6KfG6MK39BloB8oAlehuIO1kxWrCLIbFw/mH+56XxCC 0WBw== 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=Oh8vS9UekQ6+XVvvjE1Qdj9UjYipjg8T9lt51/P6b6w=; b=j8PVL1vjOOttkVLKXR+qk9Jn67/stQs3ZrAiUiinGG4wz3aWqOBSmqKWowqL+FHfB+ gpTVKd17aT1mAprp+6YqMzqodcKP8U1qq/Xc1zInTtY0MshASZdppw22etspPfT06f+c Itw/pivZlc4SzNLhEhct6ObdkBkP/YpmO/VTDc8LFzpD2R2ZWYISnDAZD9+EBNZisc/E JI83wFKOkKkIqFU/ykx0jn6Y7szLKT+k1g8RnzpncOR5MOs5qMwedWO1tC0ez4lMq43w UhhSfJfE0Bspa97VNI1Rr2PMsO3NP7IwGaXTcFt8VZmGk5QZdtTsK5ipZaTqQmcknatO XYHQ== X-Gm-Message-State: ACrzQf0mCgSGlvxCr5We2rqkSjsExs7svy2eXw0TPvx6ySFha+AW+zhn KF1okZG1eK9G7+stbN4rcGlj1z3URNN2J/ZIsbo= X-Google-Smtp-Source: AMsMyM5Aey4Zrz72FbEMHo1t+eAljIhtmBZhx+rKePs3sKRwFfZY+rpe4d6ezriE/Zoy6hSzN5Nol+8tUr1s0hC0Wvk= X-Received: by 2002:a05:6402:31f4:b0:461:604d:2607 with SMTP id dy20-20020a05640231f400b00461604d2607mr17946726edb.330.1666680294695; Mon, 24 Oct 2022 23:44:54 -0700 (PDT) MIME-Version: 1.0 References: <87wndjvi2f.fsf@guelker.eu> <87pmeob3y6.fsf@localhost> <87k04vr9dk.fsf@guelker.eu> <87y1tb83uz.fsf@localhost> In-Reply-To: <87y1tb83uz.fsf@localhost> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Tue, 25 Oct 2022 08:44:43 +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::536; envelope-from=andras.simonyi@gmail.com; helo=mail-ed1-x536.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=1666684817; 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=Oh8vS9UekQ6+XVvvjE1Qdj9UjYipjg8T9lt51/P6b6w=; b=V2uddazogcbEE7ADrDvlqExmGJIft6P4bdPW7vp4ZdBx1+N60pEEuLNU1g7LOR1BfOZxys hin0GpHGi7xz7QlrUM+4qP8CtTJvnpJX0DB+8tF8nvM3vQFpub9Vd079CVfLpgT9vzXzvI U9vgSeTx9+GxZaBxz28qZAVK3XBdBP6zqCfuzsc6hO0mQEl3wJJh6oGq2upgHwFv3Jq5SV tOgft1HhHz0Bv9zQ4gDN/54OGu7tQD0QtFy4bgHBeZ+wHD6wa6YW2YVz6sCLVTQD00hHSa 28TFFoKA/1cAU/cZN+dG1sJO7peKMXZEaXDyNwoJHoViiBRYHJxD+69d8LGIKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666684817; a=rsa-sha256; cv=none; b=Z76NOrfj2UOAlgA1X0XXf929wbKPK7xUkreBdPOvO5ZjZqStOduQS+0wwV7JziK6cv+eXv 9ehlEVxsVh+HwN4qLhpk4+d/6bOZNRODeWeP8spThb0CE9I6Zs2VaNVIY1CvmhIE8tk3e+ 6/VtSgZM49xSjj31ru/6REJ/6iUONkIQCi3b452i2vAemD2B8vP1bT+5qCbcHJr1DF3Y9s eLXekLqX+jT1c3rt09bnj7pXOyu/JWUshwvAnuV6fPza59rsALVqB5CxcHenjY8nFEsgnO bwWb94/2ytS7wKaT27TqxgDU9TdqIoxteCydYLF9GBwNHvd7hBYEvjvuQGGvNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Jkm6v97k; 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: -5.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Jkm6v97k; 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: 44C2798B2 X-Spam-Score: -5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: sME8jiYjihwf Dear All, On Thu, 20 Oct 2022 at 07:23, Ihor Radchenko wrote: > M. =E2=80=98quintus=E2=80=99 G=C3=BClker writ= es: > > Thanks for the hint, but it does not work still even if I change the > > line to contain the said zero-width space: > > The buffer is now fontified as expected, but it does not work when > > exported to HTML: > 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. Best wishes, Andr=C3=A1s