It's never sure the first line is the title, but it is very much the case.. We could start all empty document with an automatic title based on the document name that was chosen. Also the XWiki system could use the document name if there is no heading starting the document. Ludovic Jiri Luzny a écrit :
I think you should consider the first 1. to be the title.
I'm not sure I like it. It is based on too weak and undocumented rule, IMHO.
...
I'm looking into extracting the first 1 in a document and use it as a title automatically.
Are you sure an author will always mean the first 1 as a title?
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic