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

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

--- Comment #12 from Emanuele Gissi  ---
Thank you for your immediate answer.

IMHO, taking the ToC level from the position of the cursor is fine, and should
not break any existing document. It is indeed a great idea!

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

Heiko Tietze  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #11 from Heiko Tietze  ---
Many thanks for sharing your use case. One last question: More options lead to
more complexity and we should try to work with the existing functions. 

Would it solve your problem when the "For (Chapter)" option not start at level
1 but where the cursor is placed? Meaning you put the cursor after 2.1 and it
adds 2, at 3.1.1 it takes 3.1. By doing this we don't need to change the UI or
much on the help. 

The alternative is "For (level) (2)" bringing more (hopefully unnecessary)
flexibility on cost of the parameter. Do you need to insert, for example, 2.2.2
after 2.1?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

Dieter  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|NEEDINFO|UNCONFIRMED

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

Dieter  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||2301

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

--- Comment #10 from Emanuele Gissi  ---
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 the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

--- Comment #9 from Dieter  ---
I understood the request as follows:

There is a "normal" TOC at the beginning or end of the book and an extract at
the begionning of every subchapter, like

1. Heading A
1.1 Heading Aa
 ToC
  1.1 
   1.1.1
   1.1.2
   1.1.3

I remember that I saw this in scientific literature (not often), but I don't
want to search within all my literature. But I hope, Emanuele can give an
example.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

Heiko Tietze  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO

--- Comment #8 from Heiko Tietze  ---
I still don't get the use case. The option "For (Chapter)" allows to have a ToC
restricted to the current chapter. For example

1. Heading A
 ToC
  1. 
   1.1
   1.2
   1.3
1.1 Heading Aa
1.2 Heading Ab
1.3 Heading Ab
2. Heading B
2.1. Heading Ba

and what I understand is that you want something like

1. Heading A
1.1 Heading Aa
 ToC
  1.1 
   1.1.1
   1.1.2
   1.1.3
1.1.1 HAa1
1.1.2 HAa2
1.1.3 HAa3
1.2 Heading Ab
1.3 Heading Ab
2. Heading B
2.1. Heading Ba

I would agree if this layout is needed in general or, even better, defined as a
requirement for a layout. In other words: What scientific literature uses this
style?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

--- Comment #7 from Emanuele Gissi  ---
Following your comments, I updated the attached proposal file.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

Emanuele Gissi  changed:

   What|Removed |Added

 Attachment #157557|0   |1
is obsolete||

--- Comment #6 from Emanuele Gissi  ---
Created attachment 157613
  --> https://bugs.documentfoundation.org/attachment.cgi?id=157613=edit
Example case and proposal (updated)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

--- Comment #5 from Emanuele Gissi  ---
Yes, create a kind of TOC extract for the current level.

I left the upper levels in the subchapter ToC example, but I do *not* need
them. In fact it would be very easy to remove them through "create from
additional styles".

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2020-02-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130318

Dieter  changed:

   What|Removed |Added

Summary|TOC: Allow creating table   |TOC: Allow creating table
   |of contents starting from   |of contents starting from
   |any level, currently|any level (TOC extract)
   |limited to starting from|
   |Level 1 (Entire document)   |
   |or Level 2 (Chapter).   |
 CC||dgp-m...@gmx.de,
   ||libreoffice-ux-advise@lists
   ||.freedesktop.org
   Keywords||needsUXEval

--- Comment #4 from Dieter  ---
Looking at your document, it becomes clear to me: Your aim is to create a kind
of TOC extract for the current level, but with the context (here: chapter). I
agree, that this is not possible with "create from additional styles"

Would be a good enhancement I think for authors of scientific literature.

cc: Design-Team for further input.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs