[Libreoffice-ux-advise] [Bug 130318] TOC: Allow creating table of contents starting from any level (TOC extract)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 5 14:29:15 UTC 2020


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

--- Comment #10 from Emanuele Gissi <emanuele.gissi at gmail.com> ---
Here is the use case.

The Italian Ministry of Interior is using Libreoffice since 2015 to write the
Fire Safety Code. See it the current revision at: bit.ly/codicepi2019

This is a 300 pages fire safety regulatory text, that has:
- sections (Heading level 1),
- each section is composed of chapters (Heading level 2),
- each chapter is made of paragraphs (Heading level 3),
- and each paragraph is made of sub-paragraphs (Heading level 4).

Like this:

Section G
  Chapter G.1
    G.1.1 Definitions
    G.1.2 Language
    ...
  Chapter G.2
    G.2.1 Structure
    G.2.2 Procedure
    ...

Section S
  Chapter S.1
    S.1.1 Preface
    S.1.2 Performance levels
    ...
  Chapter S.2
    S.1.1 Preface
    S.1.2 Performance levels
    ...

Section V
  ...

What we need is a general ToC at the beginning of the full book:
(obtained automatically with Edit Index > Type > Create ToC for Entire
document)

*General ToC*
  Section G
    Chapter G.1
    Chapter G.2
    ...
  Section S
    Chapter S.1
    ...
  Section V
    ...

we also need Section ToCs at the beginning of each section:
(obtained automatically with Edit Index > Type > Create ToC for Chapter, that
is for level 1)

*Section G ToC*
  Chapter G.1
  Chapter G.2
  ...

*Section S ToC*
  Chapter S.1
  Chapter S.2
  ...

and we also need Chapter ToCs at the beginning of each chapter:

*Chapter G.1 ToC*
  Paragraph G.1.1
  Paragraph G.1.2
  ...

*Chapter G.2 ToC*
  Paragraph G.2.1
  Paragraph G.2.2
  ...

In the example document (bit.ly/codicepi2019), this third type of ToC is
currently handmade, because the Edit Index > Type > Create ToC for... menu is
limited to "Entire document" or "Chapter".

This is why it is not possible to create a ToC starting from any other lower
level.

This request of enhancement is similar to what is described in:
https://bugs.documentfoundation.org/show_bug.cgi?id=112301

I remain at disposal for further info/test.

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


More information about the Libreoffice-ux-advise mailing list