On Tue, 2011-05-24 at 11:19 +0100, John Cleland wrote:
> Hi Jean
> 
> Ok will try again tonight.
> 
> Will look at the manually remove the contents and copyright pages manually 
> and look at how to add the fields back in the odm if they are missing.
> 
> Are there instructions on how to do this in the writer guide?
> 
> I looked at the links the previous time I compiled this and they seemed to 
> work.  Will try again, if this does not work will edit the links manually in 
> the odt file.
> 
> Regards
> 
> 
> John
> 

There are instructions in the Writer Guide about the field and the
hidden sections, but you also need to know the contents of the field and
the condition statement. This is written up somewhere, but offhand I
can't remember where. In the book template, perhaps. Anyway, I'll add it
here:

The copyright and TOC pages are in sections controlled by a condition
statement MD!=0 that picks up from the first paragraph in the ODM an
invisible field named MD which is set to 1. This causes the section to
be hidden. Sometimes it fails, for no reason I can see.

First thing to check: go into Tools > Options > LibreOffice Writer >
Formatting Aids and make sure "Hidden text", "Fields: Hidden text" and
"Fields: Hidden paragraphs" are all UNticked. I can't recall if there
are any other options like that lurking somewhere.

BTW, I just opened the orginal ODM and updated all links, and the
copyright and TOC pages are hidden as they should be. 

The incorrect x-refs are scattered through the book; most x-refs are
correct, but some are not. It's a thorough pain to find and fix the
incorrect ones. I normally do this in the full-book ODT after unlinking
(embedding) all the chapter files, because I've found that fixing them
in the individual chapter files and then recompiling the book often
doesn't work -- some of the wretched x-refs go wrong again. I think a
bug may have been filed at OOo about this, but it's hard to reproduce
reliably, especially in a smallish sample file.

--Jean


-- 
Unsubscribe instructions: E-mail to [email protected]
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/documentation/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to