On Sat, Jan 10, 2009 at 04:47:06PM +0000, Guy Rutenberg wrote:
> Hi,
> 
> I've decided to tackle an old bidi bug where list numbering in RTL text are
> reversed (e.g. the dot appears before the number instead of after it).
> 
> I've tried going through the code and find where the list numberings are 
> printed
> to screen, but I couldn't find it.
> 
> I've understood there is an instance of the Layout class that represents the
> Enumerate environment, but I didn't find where it's created and where its
> content is printed to the screen.
> 
> I would really appreciate is someone could help out.
> 
> 
> Thanks,
> 
> Guy Rutenberg
> 
> 
> ---
> http://www.guyrutenberg.com

Seems I was one of those responsible for this mess ;-)

Look in Buffer.cpp for static void setLabel(). Around line 2900 is the enum 
handling. Note that strings like "\\arabic{enumi}."  (with the dot!) are given 
inside _( ), so they are meant to be localized. This is the current mechanism.

Most of the logic is in Counters.{cpp,h}.

HTH Martin

 

Reply via email to