https://bugs.freedesktop.org/show_bug.cgi?id=65461

--- Comment #6 from Yury <[email protected]> ---
Well, this should be reproducible "everywhere", because it seems the common
logic of TOC building assumes that only complete paragraphs-headings would be
selected for inclusion in the TOC.

I, in this example, wanted inline headings (parts of paragraphs) with
numberings.

So, index (TOC index) marks by themselves are okay, but add paragraph numbering
on those, and things go wrong -- you get one TOC entry with TOC index mark only
and one TOC entry with complete paragraph and number.

BTW, I've been able to side-step this problem and to get /ersatz/ numbered
inline headings with fairly minimal amount of overhead. Do as follows:
1) Insert reference to upper-level heading.
1.1) Add dot and number to it manually - you have ersatz numbering now.
2) Place TOC index entry with appropriate level on the part of the paragraph,
including ersatz numbering in it.
3) Update TOC, obviously.

***

That said, styles of numberings are quite a convoluted and error-prone matter
in LibO/OOO. Their logic of work seems to be multi-staged (e.g., why can't I
change numbering style in the paragraph style taken from template - it's grayed
out -- or, e.g., what numbering style is used on the paragraph, after all,
finally, and is there a place where I could control it in whole?).
Worse, controlled from many places and by different means, numberings are
easily damaged.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to