https://bugs.documentfoundation.org/show_bug.cgi?id=153248

--- Comment #11 from ajlittoz <page74010...@yahoo.fr> ---

(In reply to Heiko Tietze from comment #9)

> The propose newline tag sounds wrong to me as it adds another paragraph, 
> which per
> definition is not the same caption number. Could be a soft aka manual row 
> break, though. 

My purpose is not to have a "multi-paragraph" caption. My "NL" tag inserts a
"line break" (usually created with Shift+Enter) which is not a paragraph break.
The goal is to offer the same possibility as with chapter numbering where you
can have the number on its line and heading text on the next. Separating the
number from the caption is required by some guidelines manual like APA.

(In reply to Heiko Tietze from comment #9)
> > The main rejection point is that they need a change in ODF XML markup so
> > that needed data is available when generating indexes of tables, figures, …
> 
> Don't think so. If we abstain from fields it would be the same as manual
> editing a caption like done for "Inverted caption (Figure 2)". And even
> fields can be inserted right now and show up in the ToF.
The markup in my proposal is necessary to "decouple" the caption from its
layout in the ToF. Also I'd like to be able to apply a specific character style
on different components of the caption text. Hence the necessity to split tag
CT into smaller bits to format them individually (and my suggestion to make the
tag an "array")

As an example of the difference in caption and ToC is tag NL. It makes sense in
captioning (cf. APA manual) but not in ToF. The present way it is handled in
chapter numbering => TOC doesn't satisfy me. NL is transformed into a SPACE
which adds up to other TOC elements. This is because the NL is directly managed
by chapter numbering without being "advertised" in any way in the heading
paragraph.

Also, a heading is "unstructured" (and this is good for simplicity): it is a
numbered list item and managed as such. It has 2 components, the number and
heading text. Heading text can be styled per author's needs. But this styling ,
as far as character styles are concerned, doesn't propagate to TOC. Tag T can
be styled as a whole and this doesn't reflect the real heading formatting.

My proposal for captioning aims to provide a solution to this. I think it is
acceptable in captions but would be immediately rejected for headings by the
majority of users because of unneeded (in the vast majority of cases)
complexity and by developers because of its impact on list formatting (or
creation of a separate feature for headings).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to