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

--- Comment #7 from Philippe Cloutier <[email protected]> ---
(In reply to Olivier Hallot from comment #3)
> (In reply to Philippe Cloutier from comment #0)
> > According to the Shortcut Keys for LibreOffice Writer page
> > (https://help.libreoffice.org/latest/en-US/text/swriter/04/01020000.html),
> 
> The updated help page is 
> https://help.libreoffice.org/master/en-US/text/swriter/04/01020000.html
Ah, yes, thank you Olivier

> > one of the effects of keyboard shortcut Alt+Enter is:
> > <emph>Paragraph in list</emph>. Inserts a new paragraph within a list
> > without a bullet or number, while preserving the list’s paragraph
> > formatting. To resume numbering or bulleting, press <keycode>Enter</keycode>
> > after adding content to the new paragraph. This shortcut does not work if
> > the cursor is in the very beginning of a list paragraph.
> > 
> > In fact, this inserts a paragraph (line) break, not (really) a new
> > paragraph. If a paragraph consists of:
> > > Two words
> > …and the cursor is between "Two" and "words", the shortcut will not really
> > insert a new paragraph, but rather split the existing paragraph in 2.
> 
> No.
> It results in 2 paragraphs.
Yes. Splitting 1 paragraph results in 2 paragraphs.
I apologize for writing “a paragraph (line) break”, I should have written just
“paragraph break”.

> > As for the form, an incomplete sentence like “Paragraph in list.” could be
> > confusing and should be avoided. Colons are best to isolate context, as
> > Ctrl+Backspace exemplifies.
> > 
> > Moreover, the sentence "To resume numbering or bulleting, press
> > <keycode>Enter</keycode> after adding content to the new paragraph." (which
> > was added in
> > https://git.libreoffice.org/help/+/
> > 9ea21fcc6dca1c2f313b0b7494c00cdd4a42c774%5E%21 ) is superfluous and even
> > misleading, suggesting that pressing Alt+Enter would somehow switch Writer
> > to an alternative mode, which is not the case.
> 
> Superflous and misleading? With no contents in the line, Enter will close
> the list. With contents, it resumes the numbering/bulleting. That is a
> tremendous feature!
I was referring to the sentence, not to the feature it documents. 

> > Fourthly, many lists use list markers which are neither bullets nor numbers,
> > so the description is imprecise.
> 
> What other markers are you talking about? Markers are either numbers or
> bullets. They are configured in the list style linked to the paragraph in
> list.
There are countless list markers possible, as Figure 2 of the guide you refer
to shows. Writer even lets users use custom ones.

> > Fifthly, "while preserving the list’s paragraph formatting" seems
> > superfluous to me (we do not specify such a thing for Shift+Enter, which
> > does the same TTBOMK).
> 
> Please get used to LibreOffice Writer lists. A list is a set of paragraphs.
> A list has a list style. All paragraphs in a list share list properties.
> Paragraph properties can eventually be formatted individually but the list
> properties are the same, unless overridden manually. 
> 
> […]
> 
> > 
> > Finally, regarding implementation, the last sentence seems to document a bug
> > which will hopefully be fixed at some point, so it would be best to keep it
> > as a translatable entity distinct from the rest. I know nothing about
> > LibreOffice l10n, but that does not seem to be the case if I read correctly.
> > 
> > By the way, ticket #168483 comment #5 contains advice about the placement of
> > this description (in its last paragraph).
> > 
> > I would therefore suggest:
> > Inside a list: Split the paragraph in 2, without adding a list element (the
> > second paragraph will contain the part of the split paragraph which follows
> > the cursor). Does not work when the cursor is at the start of a paragraph.
> 
> Sorry. wrong, Alt Enter adds a list element, but with no number or bullet.
> 
> Here is an authoritative text on LibreOffice Writer lists:
> 
> https://books.libreoffice.org/en/WG252/WG2512-Lists.html

I admit that I am not a Writer expert, but are you confident about that? I gave
that guide a decent look, and did not see anything which supports that. I do
not know ODT, but I tried exporting XHTML, and that seemed to validate my
understanding (although the result was a little buggy, so it might not be
reliable).

> […]

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to