Ask Your Question
1

numbering paragraphs hierarchy problem [closed]

asked 2013-04-30 13:00:10 +0200

natacha gravatar image

hi

try to number paragraphs on 3 hierarchised levels have setted tools/outiline numbering/ so that each heading coresponds to a level and that it displays all level: 1. 1.1 1.1.1 1.1.2 etc.. only it acts very ramdom some levels do not want to display previous levels (i have checked features from numbering menu and all is set there also) and mainly level3 numbers continuously from beginning of document instead of starting at new at each change in level 2

thanks loads for answers

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-31 04:06:28.792657

Comments

1

Which platform, LO version, and file format are you using?

oweng gravatar imageoweng ( 2013-04-30 13:25:32 +0200 )edit
1

could you possibly - explain step by step what you did - paste screenshots in s Draw file and make assessible here - provide a sample file ( be careful about the content this is a public site)?

ROSt52 gravatar imageROSt52 ( 2013-05-01 02:59:37 +0200 )edit

9 Answers

Sort by » oldest newest most voted
1

answered 2013-05-02 14:56:29 +0200

oweng gravatar image

updated 2013-05-05 13:11:13 +0200

Does it help to right-click on the problem headings and select Continue previous numbering?

1ST EDIT: It may help if you would answer our initial calls for further detail (refer the comments against your question). You also mention and interchange the terms "heading" and "paragraph" in such a way that it is difficult to fully understand exactly what you are doing. Are you trying to obtain numbering against each Heading N style or against the Default Style or Text Body or some other style (perhaps a custom heading or text style)?

My original answer was partly a suggestion as there are essentially two different methods of applying numbering and each will have different results depending on context:

  • Creating a nested list (refer Writer Guide v3.6 pp.78-81, 186-187, 215, 230-235).
  • Numbering a hierarchy of headings (pp.197-202).

There are other aspects to applying numbering (e.g., conditional paragraph styles, captions, table of contents, and bibliography) but all relate back to these two methods / requirements. If at any point you have use the Creating a nested list option (e.g., styles) to set numbering for headings then you will obtain the context menu I indicated and as shown here. This is a common cause of outline numbering not renumbering as expected i.e., because a list XML coding is being used in addition to the usual heading / paragraph pairing. The fact that this context menu does not display is indicative that you have not used this approach (at least for the heading in question).

This may mean your problem is more serious (unlikely) or it may just be an artefact of using this numbering against a style that has not been defined correctly (likely). As per the suggestion by @mahfiaz I would try clearing the formatting on the entries in question (including any list settings) and re-apply the required style.

2ND EDIT: As a result of examining the source file provided in this post, it is clearer what the problem is and how to fix it. The basis of the problem is that currently the XML code for your headings looks list this (a nested list as I mentioned) and this is interfering with getting it to look like this (a standard outline heading). I recommend using the provided Heading N styles rather than your custom titreN styles. It is likely that some of the settings on the titreN styles ... (more)

edit flag offensive delete link more

Comments

I do not have that option ??? LO4 only up or down one level

natacha gravatar imagenatacha ( 2013-05-02 16:09:27 +0200 )edit

I do not see this option on LO4?

natacha gravatar imagenatacha ( 2013-05-02 16:32:13 +0200 )edit

Instead go to the heading, make it use some normal text format (Default or Text would do just fine) and change it back to heading. Boom and normal numbering is back.

mahfiaz gravatar imagemahfiaz ( 2013-05-02 19:20:23 +0200 )edit

Thanks for complete answer I will take time to look at all features, indeed I did not know the difference between numbering and outline numbering. Also I cannot change back to heading style because autoupdate feature is disabled, cannot set it back on and I need to change the police character (and the doc is quite large) so have to work the problem with doc as it is thanks loads both of you it made things very clear now in all cases will let you know

natacha gravatar imagenatacha ( 2013-05-06 09:43:23 +0200 )edit

Started from a plain ascii text and started adding headings. Going back to normal text format doesn't work. Restart numbering leads to all the heading x in the document getting the same number. Continue previous not available. Tried tons of things. Nothing works. Forest of bugs. This is supposed to be a word processor.... Costs more time than it saves.

Marc Sch gravatar imageMarc Sch ( 2013-12-20 16:47:03 +0200 )edit
0

answered 2013-05-02 18:09:54 +0200

natacha gravatar image

indeed this seems the problem exept I do not have previous numbering as an option in LO4

edit flag offensive delete link more
0

answered 2013-05-03 13:58:03 +0200

natacha gravatar image

here is the attachmentdoc_test.odt

edit flag offensive delete link more

Comments

1

As you mentioned, the file is probably too big for attaching. I get an error trying to download the attachment. In any case, thanks for letting us know which OS you are using.

oweng gravatar imageoweng ( 2013-05-03 15:01:00 +0200 )edit
0

answered 2013-05-05 10:32:24 +0200

natacha gravatar image

Hi

I have suppressed a large part of the content to send a lighter file, the problem keeps on happening after the second part (level 1) that is now between page 38 and page 46

i mean numbering goes 1; 1.1; 1.1.1; 1.1.2; 1.1.3; 2; 1.1.4????????????

(i previously had more subparts but same problem)

here is shotrtened file attacheddoc_test.odt

edit flag offensive delete link more

Comments

Thanks natacha for providing an example. Your custom styles (titre1, titre2, etc.) appear to be the problem. At some point it appears you have used the toolbar Numbering On/Off button on some headings as well as employed a nested list against the headings. This is interfering with the outline numbering. I will edit my answer to explain how to fix your document.

oweng gravatar imageoweng ( 2013-05-05 12:41:35 +0200 )edit

@natacha - I also had a look at your attached file and advice to follow @oweng's recommendations. However, I recommend to read the manual concerning the difference between "Numbering" (a bullet list but with numbers) and Outline Numbering. Additionally I suggest to read styles in general. IMHO the styles in LibO are great and allows very efficient and simple formatting of a document; but you need to read... Have fun!

ROSt52 gravatar imageROSt52 ( 2013-05-06 09:11:27 +0200 )edit
0

answered 2013-05-01 18:48:25 +0200

mahfiaz gravatar image

So you use Tools → Outline, select 1-10 from the left, choose numbering type to be 1, 2, 3, ... and use heading styles (Heading 1, Heading 2) and it still doesn't work?

edit flag offensive delete link more
0

answered 2013-05-03 13:48:08 +0200

natacha gravatar image

thanks all for following up

yes I have a TOC and same problem occurs there tried w/background also and don't see anything

I am using Ubuntu 12.4

file is very big try to attach it anyhow

problem occurs between pages 90 and 98

n.

edit flag offensive delete link more
0

answered 2013-05-03 04:03:22 +0200

ROSt52 gravatar image

updated 2013-05-03 04:18:40 +0200

@natacha - I just tried to simulate your problem on 3.6. and 4.0.2 and could not create the error. Are you sure you followed all advices by @oweng and @mahfiaz? Step by step with checkmarks on a paper note?

If YES, than: Is it possible for you to attach the file so we can have a look at it?

Before you could make the following check: Create a dark background to see if there is a white font used for headings between 2 and 2.4

Do you have a TOC? If so, what is the numbering you see in the TOC? Create a TOC could be a good possibility for a check as well.

Please inform also on OS (1st question by @oweng)

edit flag offensive delete link more
0

answered 2013-05-02 15:33:58 +0200

ROSt52 gravatar image

updated 2013-05-02 15:34:35 +0200

@natacha - If @oweng's advice doesn't solve the problem I would like to address something I saw in your answer

....instead of 1; 1.1; 1.1.1; 1.2; 1.2.1; 1.3;1.3.1;2;2.4; 2.4.1 etc....;;

from 1 to 2 all is correct or could be correct however after 2 is a jump 2; 2.4 is this the problem point? If so @oweng's advice can very likely be the solution.

edit flag offensive delete link more
0

answered 2013-05-02 12:18:37 +0200

natacha gravatar image

Thank you for answers Yes, this is exactly my problem, I do exactly what you say, and for some reason level 2 and 3 do not take in account the changes of paragraphs in level 1 and it stays numbering from the first paragraph continuous, it goes 1.1; 1.1.1; 1.2; 1.2.1; 1.3;1.3.1; 2; 1.4; 1.4.1 etc...instead of 1; 1.1; 1.1.1; 1.2; 1.2.1; 1.3;1.3.1;2;2.4; 2.4.1 etc....;;

cheers

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-30 13:00:10 +0200

Seen: 9,663 times

Last updated: May 05 '13