cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Continued numbered list in Epic 4.3.1

MarcWiener
1-Newbie

Continued numbered list in Epic 4.3.1

Is it possible to have the numbering on a list continue in the editor. We're using Epic 4.3.1 (one user, small application) and Turbo Styler. There is an attribute, continuation, on the orderedlist element that is set to "continues". Here's an example of what we want to appear in the Editor:



1. Opportunity. External collaboration is hard…


2. Capabilities. Partners must exist that together…


3. Goals. Participants must agree on goals that align and …




Executing the collaboration well




4. Leadership. Since there is more than one enterpr...


5. Trust. Leaders must work hard to maintain trust throug...







Our translator handles the output correctly, but we would like our user to see the list correctly. Is this possible?




Thanks,




Marc




Marc Wiener

Gartner, Inc.

STG-Applications Development







4 REPLIES 4

Marc,

I'm not sure about the limits of Turbo Styler, but I've heard a lot of bad stuff about it so I've always stayed away from it.

I don't know if you're familiar with FOSI, but that's what Epic understands on the screen side of the house. What you would do on this scenerio is to test for the continue being equal to "continues". If it is not equal, your orderedlist element will reset the counter for your numbering, which I assume it's doing now. If it is equal to "continues", you simply do not reset the counter.

I know this works becuase in my early days of FOSI coding, I would forget to reset a counter at the proper time and I'd have lists like yours that were unintentional.

Hope this helps.

Bob

I am stumbling on the same issue.

Depending on your structure you could use Turbo Styler or not. See
help1405.

You need to designate 2 elements :
- 1 as Numbered list
- 1 as List item

But there are limitations on the way you can use numbered lists.
The List item must be a direct child of the Numbered list, and it
doesn't check for attribute like you seem to use.

If you have something like :
<doc>

Opportunity. External collaboration is hard...


Capabilities. Partners must exist that together...


Goals. Participants must agree on goals that align and...


<p2>Executing the collaboration well</p2>

Leadership. Since there is more than one enterpr...


Trust. Leaders must work hard to maintain trust throug...


</doc>

You can designate <doc> as the Numbered list and

as the List item


Now if you have more structure it won't probably work.

My issue is that I have the following structure
<doc>

<tit>Title 1</tit>

Apricot


Banana



<tit>Title 2</tit>

Cherry


Dewberry



</doc>

And I would like to have a continued numbering on my

element (List
item).
IE :
Title 1
1. Apricot
2. Banana
Title 2
3. Cherry
4. Dewberry


Now if I designate

as the Numbered list I will get
Title 1
1. Apricot
2. Banana
Title 2
1. Cherry
2. Dewberry

And if I designate <doc> I won't have any numbering at all (not a direct
child)

Any idea for my issue would be most welcome.

Christophe Lefebvre
LexisNexis France

My experience with Styler is pretty limited. Christophe is going along the right line in how he's illustrated your problem. Another issue is where you reset your numbering. Typically if you place a title between items in a list, then you have reset the list and the numbering will reset.
This can be especially confusing if you have numbering in a subordinate numbered list continue. Something like this
A. This is the first item in first list
1. This is the first item in the first subordinate list.
2. This is the second item in the first subordinate list.
B. This is the first item in the second list.
3. This is the first item in the second subordinate list.
4. This is the second item in the second subordinate list.
Now should B.3 and B.4 really be items 3 and 4 or should they be B.1 and B.2? This is another approach at what you seem to be trying to do.
Nearly anything is possible and your continuation within a specific level may make perfectly good sense, but look it through very carefully.
Going back to Styler, I think one of the problems I recall with it is some limitations in list numbering and resets. You may want to go back through the Adepters archive.
Lynn
-----"Lefebvre, Christophe \(LNG-PAR\)" <christophe.lefebvre@lexisnexis.fr> wrote: -----

To: <adepters@arbortext.com>
From: "Lefebvre, Christophe \(LNG-PAR\)" <christophe.lefebvre@lexisnexis.fr>
Date: 02/05/2007 08:56AM
Subject: RE: Continued numbered list in Epic 4.3.1

I am stumbling on the same issue.

Depending on your structure you could use Turbo Styler or not. See
help1405.

You need to designate 2 elements :
- 1 as Numbered list
- 1 as List item

But there are limitations on the way you can use numbered lists.
The List item must be a direct child of the Numbered list, and it
doesn't check for attribute like you seem to use.

If you have something like :
<doc>

Opportunity. External collaboration is hard...


Capabilities. Partners must exist that together...


Goals. Participants must agree on goals that align and...


<p2>Executing the collaboration well</p2>

Leadership. Since there is more than one enterpr...


Trust. Leaders must work hard to maintain trust throug...


</doc>

You can designate <doc> as the Numbered list and

as the List item


Now if you have more structure it won't probably work.

My issue is that I have the following structure
<doc>

<tit>Title 1</tit>

Apricot


Banana



<tit>Title 2</tit>

Cherry


Dewberry



</doc>

And I would like to have a continued numbering on my

element (List
item).
IE :
Title 1
1. Apricot
2. Banana
Title 2
3. Cherry
4. Dewberry


Now if I designate

as the Numbered list I will get
Title 1
1. Apricot
2. Banana
Title 2
1. Cherry
2. Dewberry

And if I designate <doc> I won't have any numbering at all (not a direct
child)

Any idea for my issue would be most welcome.

Christophe Lefebvre
LexisNexis France

I'm on Epic 5.2 and using Arbortext Styler. I don't know if that's the same thing as Turbo Styler or if what I've done in this version will work in yours, but here's what I did.

Create 4 elements and style them this way:
List1 as List Numbered
List2 as List Numbered
Item as List Item
para as Paragraph

Set Item in parent List1 to no numbering.

Set Item in parent List2 in ancestor List 1 to numbered with restart on List1 everywhere.

Then, create the XML like this:

<list1>
<item><para>Heading Text 1</para>
<list2>
<item><para>Item Text 1
</para>
</item>
<item><para>Item Text 2
</para>
</item>
</list2>
</item>
<item><para>Heading Text 2</para>
<list2>
<item><para>Item Text 3
</para>
</item>
<item><para>Item Text 4
</para>
</item>
</list2>
</item>
</list1>

It should then be rendered like this:

Heading Text 1
1. Item Text 1
2. Item Text 2
Heading Text 2
3. Item Text 3
4. Item Text 4

I hope that helps.

Carolyn Herlin
Announcements