Bug 152256 - CHAPTER NUMBERING DIALOG: Add additional option in numbering sublevels
Summary: CHAPTER NUMBERING DIALOG: Add additional option in numbering sublevels
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Heading-Numbering-Dialog
  Show dependency treegraph
Reported: 2022-11-27 23:08 UTC by Ali
Modified: 2022-12-01 13:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Example (121.53 KB, image/png)
2022-11-28 08:52 UTC, Heiko Tietze

Note You need to log in before you can comment on or make changes to this bug.
Description Ali 2022-11-27 23:08:16 UTC
when I try to give suggestion feedback from https://www.libreoffice.org/get-help/feedback/ somehow I end up here. I didn't find any bugs, but just want to give suggestions to enhance LibreOffice.

in the country i am from (indonesia) it's common to make papers and books with chapter name in roman while subchapter in arabic numbers. while its possible to do this in microsoft word with only one list. In libreoffice writer i need to differentiate the lists to make similar result which is quiet a hassle. after all if there is 12 chapters, i need to make at least 13 lists to make similar results. 

Steps to Reproduce:
1. choosing roman in first level number in numbering and chapters
2. choosing Arabic numbers in the second level number in numbering and chapters
3. add previous level numbers in numbering and chapters

Actual Results:
roman and Arabic numbers both show up in numbering and chapters.
example : 
chapter I
subchapter I.1
subchapter I.2
chapter II
subchapter II.1
subchapter II.2

Expected Results:
only use one type, either roman or Arabic numbers
example :
chapter I
subchapter 1.1
subcahpter 1.2
chapter II
subchapter 2.1
subchapter 2.2

Reproducible: Couldn't Reproduce

User Profile Reset: Yes

Additional Info:
with more button in multilevel numbering in microsoft word, its possible to make this with only one line. but such kind of feature didn't exist in libre office. i have also try to open docx file with that numbering in libreoffice, but the result still combining between roman and arabic numbers.
Comment 1 Dieter 2022-11-28 07:36:15 UTC
Ali, thank you for enhancement request. I must admit, I've never seen a chapter numbering like that and it looks wrong to me. But I believe you, that it is not unusual in Indonesia.

Perhaps we could solve the problem with additional option in chapter numbering dialog. But let's ask and decide design team

cc: Design-Team for further input and decision
Comment 2 Dieter 2022-11-28 07:37:24 UTC
Additional remark: If it is also a question of campatibility, LO should provide this function.
Comment 3 Heiko Tietze 2022-11-28 08:52:01 UTC
Created attachment 183845 [details]

What you could do is to configure the chapter numbering with Latin numbers but use 0 sublevel at level 1. This numbers the chapters as 1., 1.1.... 2., 2.1 etc. but hides the numbering from the first level. And just add the Roman numbers on H1 manually.

Sounds not too complicated. The envisioned option to follow or not the upper level is working for only one use case. You cannot, for example, have "1. Chapter A, I.1 Sub A, I.2 Sub B" etc. or any other combination without defining what exactly you expect from the upper level.

My take therefore: WF
Comment 4 Dieter 2022-11-28 08:56:42 UTC
Sure, but since we could do everything manually, why we do we need chapter numbering at all? Problem is, that if you add a chapter, you have to change every heading manually (in long documents not very convenient). And what about campatibility to MS Word?
Comment 5 Heiko Tietze 2022-11-28 09:02:41 UTC
You may insert a field Number range > Text before the actual text. That ensures the sequences.
Comment 6 Mike Kaganski 2022-11-28 09:15:36 UTC
Definitely a reasonable suggestion. +1 from me.
Comment 7 Heiko Tietze 2022-11-28 09:27:26 UTC
(In reply to Mike Kaganski from comment #6)
> Definitely a reasonable suggestion. +1 from me.

I expressed some concerns in comment 3. In particular it would be limited to one option, "[ ] Always show Latin numbers". Do you think that is negligible?
Comment 8 Mike Kaganski 2022-11-28 09:33:24 UTC
(In reply to Heiko Tietze from comment #7)

It is not required to word the option limited to Latin (not sure why Latin is here): you simply can apply the numbering chosen for this level to higher levels shown here; and that would likely be the only thing that users might want: e.g., it's reasonable to expect that users want *either* original numbering in upper levels prefix, *or* current scheme, but not some third option.

I do not see any problem in having that checkbox like "apply numbers of this level to shown sublevels" nest to "show sublevels" box.
Comment 9 Dieter 2022-11-28 10:23:03 UTC
(In reply to Mike Kaganski from comment #8)
> I do not see any problem in having that checkbox like "apply numbers of this
> level to shown sublevels" nest to "show sublevels" box.

From example in comment 0 I think it should be "apply numbers of this level to shown toplevels" (don't know, if this is correct word)
Comment 10 Heiko Tietze 2022-12-01 13:50:47 UTC
Some acceptance for Mike's idea, let's do it and the option "[ ] Apply numbers of this level to shown sublevels".