Skip to main content
Participating Frequently
January 8, 2014
Question

Problem in Conditional tag

  • January 8, 2014
  • 1 reply
  • 624 views

Dear friends,

I am using conditional tag feature on one of my topics in robohelp and the topic is getting excluded from the output. However, the numbering in TOC doesn't change. For example,I have the following sections in my help file:

1.1 A

1.2 B

1.3 C

If I apply CT on 1.2 it is excluded from the output but the TOC appears as follows:

1.1 A

1.3 C

1.2 is removed but the numbering is still the same.

Can anyone help me in solving this problem. The numbering should also get modified in the TOC like:

1.1 A

1.2 C

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
January 8, 2014

Numbering would be more like

1

1.1

1.1.A

1.1.B

2

2.1

2.1.A

2.1.B

In other words A and B (the last character in the numbering) will only appear lower down.

So your example would become

1.1.A

1.2.A

1.3.A

Ignoring that though I just tested some multilevel lists and when a paragraph is tagged out, the numbering adjusted OK.

I suspect your list is not correctly set up.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
KKhannaAuthor
Participating Frequently
January 8, 2014

Hi Peter,

I think you misunderstood my question.

The A, b C are not the part of numbering. that was just an example of a topic.

Actually i meant:

1.1 introduction

1.2 Features

1.3 Terms and Conventions

and so on.

Now, if i remove 1.2 heading by appying conditional tag, my final TOC becomes:

1.1  Introduction

1.3 Terms and Conditions

which should actually be like :

1.1 Introduction

1.2 Terms and Conditions

Could you please help? What should i do to adjust the numbering in the TOC??

Peter Grainge
Community Expert
Community Expert
January 8, 2014

OK but in my test that was working as required.

Right click your CSS file and select Edit With > HTML Editor. Locate the multilevel list style and paste it here.

I am assuming you are using RoboHelp 10 as you haven't included your version in the post. Please see the sticky topic Before You Start.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.