Thank you for the hints!
I've preferred simply to comment the instruction in rlwrite.py
elements.append(TocEntry(txt=_('Articles'), lvl='group'))

Best regards

aleserrau


On Mon, Nov 9, 2009 at 1:45 PM, Thomas Gust <[email protected]> wrote:

>
> Hi,
>
> if you're using a localized version you could replace in the
> translated po file the translated string by " " (space)
>
> For your language xx
> In  locale/xx/LC_MESSAGES/mwlib.rl.po set:
> #: mwlib/rl/pdfmessages.py:30
> msgid "Articles"
> msgstr " "
>
> Another quick and dirty hack is to replace in the rlwriter.py
> elements.append(TocEntry(txt=_('Articles'), lvl='group'))
> by
> elements.append(TocEntry(txt=_(' '), lvl='group'))
>
> and adding
> _(' ')
> to pdfmessages.py
>
> That should blank out the "Articles" heading.
>
> Rgds,
>  Thomas
>
>
>
> On Nov 2, 12:23 pm, aleserrau <[email protected]> wrote:
> > When I create my pdf book, the toc is created with the word "Articles"
> > as title of the article and chapter list. It is possible to configure
> > this word or remove it?
> >
> > Thank you in advance for the attention
> >
> > Best regards
> >
> > aleserrau
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to