[Solved] Chapter number doesn't increment

Discuss the word processor
Post Reply
DDDan
Posts: 4
Joined: Wed Apr 16, 2008 11:51 am

[Solved] Chapter number doesn't increment

Post by DDDan »

Hello there,

I'm in trouble with the automatic enumeration of chapters. Suddenly it's like whenever I add a new subchapter, it stays 1 or 1.1 or 1.1.1. and so on. Why? It worked before...

I'm working with version 2.3.1 on Win XP...

Anyone with an idea?

Daniel
Last edited by DDDan on Wed Apr 16, 2008 2:33 pm, edited 1 time in total.
User avatar
Hagar Delest
Moderator
Posts: 33702
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: chapter number doesn't increment

Post by Hagar Delest »

See here: Hierarchical Numbering of Headers.

Make sure you've used the Tools>Outline Numbering feature and not the Bullet/Numbering icon in toolbar.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
DDDan
Posts: 4
Joined: Wed Apr 16, 2008 11:51 am

Re: chapter number doesn't increment

Post by DDDan »

Well, I didn't use that button. I used the context menu of my header. And I also tried Tools>Outline Numbering (at least i guess i did it - in german it's Extras>Kapitelnummerierung) but still it doesn't work :-|. Any more ideas?

Here's the file that I'm talking about...
Attachments
Diplomarbeit.odt
(15.49 KiB) Downloaded 238 times
User avatar
floris v
Volunteer
Posts: 4648
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: chapter number doesn't increment

Post by floris v »

I think that the file is somehow corrupt. It looks very suspicious. Have you imported it from a Word document?
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
Cambirder
Volunteer
Posts: 647
Joined: Thu Nov 22, 2007 1:01 am

Re: chapter number doesn't increment

Post by Cambirder »

I don't know why its doing it, but I just highlighted Einführung and reselected header 2 from the dropdown menu, did the same with Marktübersicht and the numbering corrected itself.

Adding further subheadings also seemed fine after doing this.

Edit - uploaded the edited file.
Attachments
Diplomarbeit-1.odt
(12 KiB) Downloaded 243 times
Last edited by Cambirder on Wed Apr 16, 2008 1:24 pm, edited 1 time in total.
OOo 3.3 on Windows 7 & 3.2.1 on Mint 10
User avatar
Hagar Delest
Moderator
Posts: 33702
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: chapter number doesn't increment

Post by Hagar Delest »

No, it doesn't come from MS Word IMHO.

Just apply the process described in the other post. There has been a manual formatting applied with numbering.
- Clear the formatting
- Hit the bullet button in toolbar until the context toolbar disappear
- Apply the Heading 2 style again.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
Hagar Delest
Moderator
Posts: 33702
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: chapter number doesn't increment

Post by Hagar Delest »

But that's strange indeed. There is a list style that has been applied on the headings structure:

Code: Select all

<text:list text:style-name="L1">
  <text:list-header>
    <text:h text:style-name="P1" text:outline-level="1" ...
       ... text:is-list-header="true">Einleitung</text:h>
  </text:list-header>
</text:list>
with a weird tag: text:is-list-header="true" (seems to remove the numbering).

Do you remember any specific action before it stopped working? Are you sure the numbering has not been applied with the bullets/numbering feature at first?
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
DDDan
Posts: 4
Joined: Wed Apr 16, 2008 11:51 am

Re: [Solved] chapter number doesn't increment

Post by DDDan »

Now I'm done.

I deleted all formatting of the whole document...
I reconfigured the settings in Tools>Outline Numbering...
Then i applied the header 1 style on the first header
Then i could see a "1" at the beginning at the first heading, so it worked
but when applying the header style to the following headers I couldn't see any numbering again :-(
But then clicking several times on that "bullet-button" in the toolbar helped and i could see the numbers...
subheaders also work after clicking on that bullet button several times...

So now it works :-)

But it's hard to understand what's going on in the document sometimes...
Maybe having an opportunity to make such things visible would increase usability...
Assuming i somehow used the wrong numbering feature it would be good if one could see that somehow in the document...
otherwise you only see that it doesn't work but you don't have a clue why... that's frustrating...
i guess many people will give up using oo when getting in such trouble and switch back to ms word...

Anyway, thanks a lot for your help :-)

Daniel
User avatar
Hagar Delest
Moderator
Posts: 33702
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] chapter number doesn't increment

Post by Hagar Delest »

DDDan wrote:But it's hard to understand what's going on in the document sometimes...
Maybe having an opportunity to make such things visible would increase usability...
Assuming i somehow used the wrong numbering feature it would be good if one could see that somehow in the document...
otherwise you only see that it doesn't work but you don't have a clue why... that's frustrating...
True. You should subscribe and vote for that old request (up to 2 votes per issue) : Issue 3395 - Reveal formatting codes.
There is a macro available (see middle of the comments).
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Post Reply