Thank you Mike for your explanation… !!!
BUT… AND
How could my template have page numbers in specific page styles?
A template, first of all, speaking of Libreoffice Writer’s styles, shouldn’t be a “content template”… cause we are talking about
formatting a document with “style sheets”, so to speak…
But suppose I want to avoid this major annoyance (20minutes extra work every time the template changes), and I decide to add page numbers in the footer of the template…
for that specific page style…
Okay, how many do we have?
6 chapters = at least 8 page styles… with front matter and end matter…
also, first page header and footer should be different from 2nd and 3rd page’s…
so, it would involve adding 3 pages to your style sheet… template… for one page style…
now, multiply it with 8…
It is a complete nonsense, isn’t it?
(b)
this part I don’t understand…
adding page numbers to a page style’s footer? That is, adding page numbers to a footer of a document with a page style (every document or section has one).
I mean, this is just means add page numbers to your document, right?
and this is what people do and want to do: add page numbers in your page’s footer…
Header / footer content should never be part of any style…
in a HTML source code, you have 3 elements:
content, style-name and style-definition…
apple ← fancy-style
fancy-style-def {
font-size: large;
color: orange;
}
This is the concept of styles…
(Libreoffice is linked to HTML, not another thing completely, even though it is XML)
A style should no way affect the subject / the content of the tag:
[word class=some-style] apple [/word] … so to speak…
The problem comes from the ambiguous use of the term “template”…
it should be a style sheet
and templates should be content templates, like love-letter, business-fax
but the QUESTION is still:
**How can you avoid loosing the page numbering when the template **
is being updated – and loaded in the Master Document?
I hope ## that you have an answer Cause it really is PIA…
thank you for your time!!!
Peter