From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Berthier Subject: Re: formatted index entries Date: Wed, 18 Jun 2014 16:02:06 +0200 Message-ID: References: <87oaxqlft4.fsf@nicolasgoaziou.fr> <878uoul5mo.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGRL-0005Ig-Jk for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:02:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxGRE-0008RU-TW for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:02:15 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:40148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGRE-0008RJ-Nr for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:02:08 -0400 In-Reply-To: <878uoul5mo.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 18 Jun 2014 15:16:47 +0200") 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org You wrote: > Hello, > > Nicolas Berthier writes: > >> IMHO, the handling of Org markups (at least) by the LaTeX exporter (and >> maybe others) would suffice to implement this feature (with a few tricks >> to still allow sorting by makeindex). Am I right? > > Handling Org markup in the general case is difficult because INDEX > keywords, as any other keyword, are not parsed. You can force latex > back-end to translate the value of the keyword for a partial support of > Org markup (e.g., no macros besides those defined by default, no noweb > syntax in Babel). > > If that sufficient, you can ask `org-latex-keyword' to first split value > at exclamation marks, and send each part through `org-export-string-as' > in order to get valid LaTeX markup. Ok thanks for the hints. I will probably hack something soon an send a patch for support of basic inline markups, in case people are interested. Regards, -- Nicolas Berthier FSF Member #7975