From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Radio targets with mixed capitalisation do not work in HTML export Date: Mon, 24 Mar 2014 11:24:01 +0100 Message-ID: <87fvm7lwse.fsf@gmail.com> References: <874n2xlgzx.fsf@bzg.ath.cx> <87eh21qgmh.fsf@gmail.com> <87d2hlhxm2.fsf@bzg.ath.cx> <87zjkpghff.fsf@bzg.ath.cx> <87vbvcq4rj.fsf@gmail.com> <87a9coj02w.fsf@bzg.ath.cx> <87fvmcilbz.fsf@bzg.ath.cx> <87pplfaas4.fsf@gmail.com> <87r45v8vz7.fsf@bzg.ath.cx> <87zjkglty2.fsf@gmail.com> <874n2oj068.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS22e-0000Vr-Lp for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 06:23:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS22W-00064E-SE for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 06:23:40 -0400 In-Reply-To: <874n2oj068.fsf@bzg.ath.cx> (Bastien's message of "Sun, 23 Mar 2014 18:26:55 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Noah Slater , emacs-orgmode@gnu.org Hello, Bastien writes: > It looks perfect. I tested* the HTML and LaTeX backend and they do > exactly what's expected. Thanks a lot for putting this together! There is still a limitation (which was already present before the patch), though. The regexp cannot match a radio link next to an apostrophe, since those are considered word-constituent. An obvious solution would be to drop the separator ("\\_<", previously "\\<") altogether. This would allow the following construct: <<>> some target's This would also allow midword matching when the radio target is small enough to be contained within a word. <> organization However, I'm not sure this is something desirable, but the apostrophe problem is mildly annoying. WDYT? Regards, -- Nicolas Goaziou