On 26/09/2008 15:58, Jean-Marc Lasgouttes wrote:
Abdelrazak Younes<[EMAIL PROTECTED]> writes:
There may be insets (think footnotes) that rely on not appearing there.
Then InsetFootnote just have to overload the method.
I think the rule is more that most insettext should not appear in toc (think
optional arguments too). And your patch will necessitate to fix many places.
Because you want to get rid of addToToc() and let the decision be made
in textString()? IMO textString() is just a helper method that is useful
for toc but could be also used for other purpose (ex: tooltips). And
yes, optional should overload it as well :-)
But the most important is to use the right function for the right usage
for now. Later we will have to think about a way to merge the two uses.
OK.
Abdel.