From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CDAnMhfkwmKvXwEAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 14:59:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iCIKMhfkwmIKggEA9RJhRA (envelope-from ) for ; Mon, 04 Jul 2022 14:59:03 +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 65B522E7A2 for ; Mon, 4 Jul 2022 14:59:03 +0200 (CEST) Received: from localhost ([::1]:55850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8LfK-0000r8-Fu for larch@yhetil.org; Mon, 04 Jul 2022 08:59:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8Ldc-0000mv-CB for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 08:57:16 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:46917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8Lda-0007I7-Qm for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 08:57:16 -0400 Received: by mail-ed1-x531.google.com with SMTP id x10so4255311edd.13 for ; Mon, 04 Jul 2022 05:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=U+5sGwv00MxA9PvCcX3gJEd4umVe13lua5ATGULYyuE=; b=Dy6aN7NYVvyFrvmYlHa80AqKHXS7gyyDmgLGJQDr5AdrwF+DJPJyWbS3L5lWKIKmnK JRQHfymoGhDOcOINEH7PDTPFLlnV8a6Dliax9Qi/yusq2Qqt8rx18YEqYjRRuZpzixYy x6RaeE7UKqikHyyS8dLT1Q7ZLETUL6+impyRIy/DFfqIaBoBlMTqUz0zi5r8WEW2Glv/ zOlTwL81cFmms3nWVq3YIk7M8QpU0ILW7MlVXHCd4tJrkcRMhsXDr9cZZ+8h1vGYhPoB 4hnFjC4QXgL84I0gbXkQ732L7hDVTXPEr0QWnB3wrYKewEs6yNcRdxXPIsjHJQEw+gsv C6Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=U+5sGwv00MxA9PvCcX3gJEd4umVe13lua5ATGULYyuE=; b=onEins4KefbN/3BFh+UTzJbHrf/Cc/gVs3bv8D//LBeNlXWAQVLxxvXBjgUCH3GIrH uxSlaAcg7DksBorklqcAX5e1anaM8gJJqMI2Ile6PEWNAJzMmQDHp8iuMGpLGnTMUgDZ PYiFZnVRopH+DZwvlXjct3G1gg9Z4dD6HbhnDvuu3PR7973OW+T/Y6Rh19UfVNlPZrXf CTZlZDE/+eTNKrFgtqijamFrkIrk/9Eq+iLh26Y0zHRGyHeAawnccxPsWtouPPB+Sj0w 2AdVVFydqXchu6syeLDzuzw+wRpWauvmBsS7VHP6Vhjy3I7P7HljLsS54mugeX4sucVu 4Ikw== X-Gm-Message-State: AJIora+7fPOk7wrC8kvOkc1pPCu3t5Ea/hdVqX9ZFDm4F+PvVnIhMZ0Z a6mv5cD02Yc8XnIB7vYczQBM4TW2odrnUz24JqQ= X-Google-Smtp-Source: AGRyM1uKAnqogBzCuyXHHoDEPsbPqqDv1BibPOvbadrg4evq6l5v8truQ2mwm1MMJOW8bdiQxT1mRwrBEqeX9FLS8Do= X-Received: by 2002:a05:6402:3818:b0:436:f2e1:64b3 with SMTP id es24-20020a056402381800b00436f2e164b3mr38785548edb.111.1656939432291; Mon, 04 Jul 2022 05:57:12 -0700 (PDT) MIME-Version: 1.0 References: <87k08wi0wu.fsf@localhost> <875ykeh0gi.fsf@localhost> <8735figyqk.fsf@localhost> <87zghqfijk.fsf@localhost> <87zghpm58r.fsf@localhost> In-Reply-To: <87zghpm58r.fsf@localhost> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Mon, 4 Jul 2022 14:57:00 +0200 Message-ID: Subject: Re: [BUG] @* in [cite/nocite:@*] is a valid special LaTeX bibliography key, but it is highlighted using "error" face by oc.el (was: [PATCH] oc-csl: Add support for nocite citations) To: Ihor Radchenko Cc: John Kitchin , "Bruce D'Arcus" , emacs-orgmode list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=andras.simonyi@gmail.com; helo=mail-ed1-x531.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, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656939543; 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=U+5sGwv00MxA9PvCcX3gJEd4umVe13lua5ATGULYyuE=; b=JW0PQNtXN6PMeAniFbTsh/asOrNsVckPh+BHQPkbHHcHhSP9MOn4J07EJyMqAR3DUr3b2m T7VB6iZ/r0UQd5teg/mW7DHQ+VLKWKHrNEi22GhYkgeP5lPuEOD6DtxX01riqChSjhjVWB ex5FRVwTWTIDEX/MJGOfo/rR4iY88fOw6oTsOvfDRXLACiLBfQ3mfqsTcfICS44u0OBfnF 1nldKGZJauw5qetcjgjp3JHA76sfpkkUaVeF4xl5aaf1MJBYdEvtPPqe3iQblcDr6XpGpG xnm06LzPpNqMwWyxB916FqNDgeR8oi+wy68AQShYf0eV0OhXYQJGHSrLInjxgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656939543; a=rsa-sha256; cv=none; b=DsKb240Xvze/eDdx7dZOLKCy/jFVF1Hi/dhxSjrFH1n771p0KVFJWrVR1lCZx5RdSWmoLk LcbD70chmExRf8BrdjmBO/Eu4PghwGUxBXzGa9M5G4jAD4nSiWUiH4rqq/RzyXCT9ZwnVa VN5BBZ0cZJXQynWuwbs9IRpbWLzKm25I2PBK1W0TNbPCIFOri9JQFqt/lKFt3IIrQNyZ+o lZJ5lLizm+v1GwLuUJyycAuuYm55hJsgTXzY7ly3fXK/b/plIuZ+vWqYmYJo8lBOXSY/VK NLumaIYk/gBKIBCvzBEP6IqTo4mn4PWIKnZxT0GGruVWBkIISlO5z1sVGzPfug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Dy6aN7NY; 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: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Dy6aN7NY; 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: 65B522E7A2 X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: HXZ234T7u/GE Dear All, On Mon, 4 Jul 2022 at 14:27, Ihor Radchenko wrote: > Andr=C3=A1s Simonyi writes: > I do not agree. > If someone sets up natbib for latex export and basic for other formats, > "*" will not be correctly exported in those other formats (because basic > does not support @* syntax) - something fontification should better > highlight for the user. yes, the basic export processor is, well, basic in certain respects. But then this is the case with more advanced citation styles, e.g. "locators" as well, which is supported by the biblatex export processor and not by "basic"; nonetheless, the "basic" activation processor's fontification doesn't signal "error" if someone uses the "locators" style, in fact it doesn't check whether a used citation style is supported by any of the processors. It seems to me that "*" as a key is sophisticated enough that if we have to make a decision about the default fontification then it is better to err on the side of supposing that a user using it knows what they are doing, Of course, others' mileage may vary, and it'd be very interesting to hear other opinions. best wishes, Andr=C3=A1s > Also, are there any similar non-key constructs in latex in addition to "*= "? > > Best, > Ihor