On 2014-11-05, at 08:43, Nicolas Goaziou wrote: > Hello, > > Marcin Borkowski <mb...@wmi.amu.edu.pl> 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 – essentially, I'd like >> a list to translate to something like this: >> >> <ul id="some unique ID"> >> <li>Item 1</li> >> <li>Item 2</li> >> </ul> >> >> Is there any support for this kind of stuff in the exporter framework or >> should I code it myself? (It should be rather easy – e.g. have 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, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University