Hi, I'm using OpenOffice to prepare a book. I would like the headers for the right-hand pages to look like this:
Sec. [section number] [section title] [page number] I know that I can achieve this by editing the "Right Page" style, and I know that I can include page numbers by inserting a Page Number field. So far, so good. But, OpenOffice doesn't seem to have any way to automate management of section numbers/titles -- is that right? (I'm using OO.org 2.0.4 on Ubuntu Linux.) From googling, it seems that the right approach is to do something like this: - create a user-defined Number Range field containing the section number - create a user-defined text field containing the section title - include references to these two fields in the page header However, nothing seems to work right. I did Insert -> Fields -> Other to set up the section number field, selected Number Range for the Type, named the field "SectionHeadingTop", and that gave me an auto-incrementing section number that I could include in my section headings. So far, so good. However, when I try to include a reference to the section number in my page headers/footers (either by doing it as a cross-reference or as a variable reference), either this reference causes an increment to happen, or the section number stays constant -- that is, in the former case, I have a section heading that says "Section A: blah blah blah" and then the section heading reference in the next page's header causes the section number to get bumped to B, when I don't want it to be. And in the latter case, I have a chapter with sections A through D, and the section numbers show up properly in the *headings* , but the *header/footer* always says "Sec. A". Can anyone tell me what I'm doing wrong? if my approach (using user-defined variables/references to manually manage section numbering) is completely wrongheaded, I'd love to hear a better way. I don't understand, though, why headers/footers can't contain a references to the current contents of a variable. Thanks, Kirsten -- Kirsten Chevalier* [EMAIL PROTECTED] *Often in error, never in doubt "I am never gratuitously rude. My rudeness is carefully calibrated to the stupidity and obtuseness of the people I am dealing with." -- Wikipedia user Adam Carr --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
