Roberto Alsina schrieb: > Georg Brandl writes: > >> >> Roberto Alsina schrieb: >>> On Thursday 09 July 2009 07:03:14 Georg Brandl wrote: >>>> Roberto Alsina schrieb: >>>> > Hello, >>>> > >>>> > If there is a unique heading at the beginning of index.rst, which in >>>> > docutils would be taken as "document title", in sphinx it seems to >>>> > become a first- level section, and then everything else is second-level >>>> > or lower. >>>> > >>>> > Is that expected behaviour? >>>> >>>> Yes, that is expected. A "document title" is not useful for sub-pages, >>>> and this is handled uniformly throughout all sources. >>> >>> Then how does one set the document title? >>> LIke for a coverpage or for the PDF metadata. >> >> For latex, that is what gets set by the user in the config, via the >> latex_documents setting. > > Could this be abstracted from the builder/writers and turned into a sphinx > config setting? > > This settings makes sense at least for qhc, latex, odt (if it exists) and > pdf builders.
Yes, in theory this should be abstracted. However, this is not so easy because latex markup is currently explicitly allowed (e.g. to place an "\and" in the author list). Also, e.g. the docclass probably doesn't make sense for pdf. So we'll have to think about this. Georg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" 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/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
