From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 CONEAnUaYWIEgwAAbAwnHQ (envelope-from ) for ; Thu, 21 Apr 2022 10:48:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OMNIAnUaYWLnfwAA9RJhRA (envelope-from ) for ; Thu, 21 Apr 2022 10:48:53 +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 B322129134 for ; Thu, 21 Apr 2022 10:48:52 +0200 (CEST) Received: from localhost ([::1]:40356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhSUd-0001m0-LH for larch@yhetil.org; Thu, 21 Apr 2022 04:48:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhRpa-0005QW-1T for emacs-orgmode@gnu.org; Thu, 21 Apr 2022 04:06:28 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:56937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhRpP-00048L-AR for emacs-orgmode@gnu.org; Thu, 21 Apr 2022 04:06:25 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 6E28CC000D; Thu, 21 Apr 2022 08:06:10 +0000 (UTC) From: Nicolas Goaziou To: Ihor Radchenko Subject: Re: org-cite styles don't allow * in them References: <87fsmp7cil.fsf@localhost> Mail-Followup-To: Ihor Radchenko , Bruce D'Arcus , org-mode-email , John Kitchin Date: Thu, 21 Apr 2022 10:06:06 +0200 In-Reply-To: <87fsmp7cil.fsf@localhost> (Ihor Radchenko's message of "Thu, 07 Apr 2022 12:17:38 +0800") Message-ID: <87fsm6dfo1.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@nicolasgoaziou.fr; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: , Cc: org-mode-email , Bruce D'Arcus , John Kitchin 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=1650530932; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=g2DtRVIVY8sBy+O6OaHtUbWXuul1/So3BAydjGtT8hc=; b=qRxo8u6IhQbEjLE3NPA5bgjsV+D5hDsFPDQ16RjlRC7nNUgzRAjRu8FX74Ncg+bY+qfljF DqjTd2RmPUDSohQNUV0ra2XtNA+phWFa4gT1QWHMkQBm77+LPMLR7nXTDatM/PiOOj0IGD 2i8Y5IKeBXqs3qcFL6ea71lMtA2pXC0qjwLdWXJkIilS3qMZHy1dGYcoRh4O7E5wdXxkw9 uVJ7JNL1NySpMlOE0s1/Wa+Ubv6MMVnGUez4Pl7O+XWYXdkkY21MBQ2XbENVO8lDDUll0i zEuD3XhGPUknDPhz5xV/BU3W5HSOk6UnekLyi56id0kVYTKfTG0nj78dDrpwFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650530932; a=rsa-sha256; cv=none; b=YqTzce7HEc0ZA7RmY9pZDhb1djfSv9H1bY7EIEpN2MAPFgxMthmIGXw+lFTvLm8D5AS+IU FhtQkN5iF69fWoxWCZ+LFNFyLNZbEhVOubmPrRg+3++/VjpT949cGwThq6J4Z0+060CcR1 2bQtLXcgbuCEben5G/mVUzOUsH/ZEGLekXJ5flyVbX/QSqAE5ozalUHRdakgvpmBwRIe84 g7RFGn7tVZ5Be+adV08mWustKEMSlYeZhq0D+VndrMvU64Uwpn8DX62SDL677aKNCdGrkz NtIGVc+cz8z4BWjWKGbWuw/sVUhuAzthRozOjZvqvtLdQ7GIjmj84xbvWJndyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -1.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: B322129134 X-Spam-Score: -1.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: lv52sa5N/gXJ Hello, Ihor Radchenko writes: > "Bruce D'Arcus" writes: > >> On Sun, Apr 3, 2022 at 5:07 PM John Kitchin wrote: >>> >>> I was looking into using latex commands as styles in org-cite, e.g. >>> >>> [cite/citet:@key]. That example works fine, but [cite/citet*:@key] is not allowed. Could that be allowed? >> >> I have no insight into the restriction, but I hope it can be removed. > > I do like the proposal in general, but I can see a potential issue for > users. Constructs like "word*:" can be recognised as a valid bold > emphasis ending. For example: > >>>> Some *bold emphasis with reference [cite/citet*:@key] will end >>>> at "citet*", but not here*. Note the issue already exists for italics and underline markers. > Note that inserting zero-width space will not only be awkward here, but > also breaks parser: e.g. [cite/citet:@key] is not currently > recognised as a citation. I think the zero-width space can be inserted on the other side. If there's no objection, I'll add asterisk character to the list of allowed characters in citation style. More generally, what other characters should be allowed ? Regards, -- Nicolas Goaziou