From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to differentiate between lists in HTML export Date: Sun, 09 Nov 2014 01:10:47 +0100 Message-ID: <87fvdtcjy0.fsf@wmi.amu.edu.pl> References: <8761eue8dw.fsf@wmi.amu.edu.pl> <87ppd2ay9a.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnG5y-0005QU-CS for emacs-orgmode@gnu.org; Sat, 08 Nov 2014 19:11:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnG5s-0000eP-Ln for emacs-orgmode@gnu.org; Sat, 08 Nov 2014 19:11:06 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:41058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnG5s-0000e4-F5 for emacs-orgmode@gnu.org; Sat, 08 Nov 2014 19:11:00 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 7179B42066 for ; Sun, 9 Nov 2014 01:10:57 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A44OTcIVywzV for ; Sun, 9 Nov 2014 01:10:57 +0100 (CET) Received: from localhost (99-229.echostar.pl [213.156.99.229]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 3171742065 for ; Sun, 9 Nov 2014 01:10:57 +0100 (CET) In-reply-to: <87ppd2ay9a.fsf@nicolasgoaziou.fr> 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: Org-Mode mailing list On 2014-11-05, at 08:43, Nicolas Goaziou wrote: > Hello, > > Marcin Borkowski writes: > >> as I've said some time ago, I'm working on a custom exporter. What I'= d >> like to achieve is differentiating between lists =E2=80=93 essentially= , I'd like >> a list to translate to something like this: >> >>
    >>
  • Item 1
  • >>
  • Item 2
  • >>
>> >> Is there any support for this kind of stuff in the exporter framework = or >> should I code it myself? (It should be rather easy =E2=80=93 e.g. hav= e a global >> variable keeping track of the number of unordered lists so far.) > > See `org-export-get-ordinal'. Thanks, but this is not really what I'd like to have: the strings generated by org-export-get-ordinal are /not/ unique throughout the file (they seem to be unique within one level of hierarchy). Any other suggestions? > Regards, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University