Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello,
I make a list (- and indentation) data composed as follows:
<list>
<item> <para> <p> .......................... </ item>
<item> <para> <p> .......................... </ item>
<item> <para> <p> .......................... </ item>
....
</ list>
In publication, whether the list should be on two pages, the break is made anyhow.
example:
Page 1:
- Cxcxcxc cxccxc ccxcxc ccxcxc ccxccxx
- Fgfggf dyydyd ryryry fjjfjfjf ororo lfllfflm fmmmmm ppppp
kkfkfkfkfkfk
Page 2:
fgfggfgfgf hhhfhhfhf hhfhfhhfh hhfhfhfhfhfh
- Cvcvcvvvcvc vcvcvcvcvcvcv
If you have an idea about the problem, I think this is the parser PTC
thank you
cordially
============================================================================
Bonjour,
Je fabrique une liste (- et indentation) de données composée comme suit :
<list>
<item><para><p>..........................</item>
<item><para><p>..........................</item>
<item><para><p>..........................</item>
....
</list>
En publication, si la liste doit être sur 2 pages, la rupture est faite n'importe comment.
Exemple :
Page 1:
- cxcxcxc cxccxc ccxcxc ccxcxc ccxccxx
- fgfggf dyydyd ryryry fjjfjfjf ororo lfllfflm fmmmmm ppppp
kkfkfkfkfkfk
Page 2:
fgfggfgfgf hhhfhhfhf hhfhfhhfh hhfhfhfhfhfh
- vcvcvcvcvcvcv cvcvcvvvcvc
Si vous avez une idée sur le problème, je pense que c'est le parseur PTC
Merci
cordialement
Hi Bruno,
I think the problem you are describing is that a list item is breaking and you do not want the list item to break.
Probably this is the result of the keeps on item. Specifically, in our FOSI we use the following on the item e-i-c:
<keeps keep="7">
We also add next and previous to the first and last, respectively, so one item is not placed alone at the beginning or end of a list. So for example:
<e-i-c gi="item" occur="first">
<charlist inherit="1">
<keeps keep="7" next="7">
...
<e-i-c gi="item" occur="middle">
<charlist inherit="1">
<keeps keep="7">
...
<e-i-c gi="item" occur="last">
<charlist inherit="1">
<keeps keep="7" prev="7">
...
Based on the XML you provided (I know it is sample content) the setting for deepcontentsplitting may have an impact. It is a complicated setting that permits table rows and list items that are too large for a page to break. Although deepcontentsplitting is stable in 6.0 it was buggy when it was first released. You might be experiencing those early bugs still in 5.2.
If the problem is not specific to the item but to the list itself, then you are probably still looking at issues associated with keeps, but in this case the culprit may be the list (not item), or the elements coming before and/or after the list. Sometimes a keep previous on an item following a list will cause the list to break oddly. The same can be true of a keep next on an item preceding a list. There are also environment level keep settings that could be responsible: softkeepsline, softkeepspage, for example.
Hope that helps.