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

Arbortext Styler: Keeping an element in the same column if...

unknown1
1-Newbie

Arbortext Styler: Keeping an element in the same column if...

I want to keep an element's content within the same column on a page only if there is a certain amount of lines that flow into the next column... For example, I want Arbortext to keep the element content in the same column if 3 or less lines flow into the next column, otherwise, go ahead and split the content into two separate columns.
Is there a way to do this through Arbortext Styler or will this need to be done through programming (i.e. Arbortext Command Language, Java, etc?)

Any help would be greatly appreciated.
Thanks.
8 REPLIES 8

Go to the Breaks tab for the element, and then click on the Keeps button
which should appear as part of the Breaks tab. This is where you can do
some fine grained control over how content breaks between columns or
pages.


John Dreystadt
Software Development Director
Arbortext - PTC
734-327-6079
-

face=Arial>Check
out the Help files about keeps/widow count. This may help you.

class=056400312-20112006>

class=056400312-20112006>Help 348:

class=056400312-20112006>


The widow count is the minimum number of lines
to keep at the top of a column.


To indicate the number of lines from this element that should appear at the
top of a column after a column (or page) break:



  • Enter an integer (for example, 2)





A value of 0 does not prevent a page/column break between the last and
second-to-last lines of a paragraph. A value of 2 prevents a page/column break
between the last and second-to-last lines and a value of 3 prevents page/column
breaks between the last and the third-to-last lines. This break prevention is
absolute, never subject to any soft keeps.









From: Brian Turner

Sent: Friday, November 17, 2006 2:31 PM
To:
Adepters@maillist.arbortext.com
Subject: Arbortext Styler: Keeping an
element in the same column if...


I want to keep an element's content within the same column on a page
only if there is a certain amount of lines that flow into the next column... For
example, I want Arbortext to keep the element content in the same column if 3 or
less lines flow into the next column, otherwise, go ahead and split the content
into two separate columns.

Any help would be greatly appreciated.

Thanks. >> To unsubscribe from the list, send an email to
listmanager@maillist.arbortext.com with the following in the body: unsubscribe
adepters - For additional information on the adepters list (how to subscribe or
unsubscribe etc), send an email to: listmanager@maillist.arbortext.com with the
following in the body: info Adepters - You may also go to forums.arbortext.com,
enter the Adepters folder and change your subscription options and
preferences.>>

Brian,

When you get there, you'll want to set the widow/orphan (the widow count
is what you are asking about [see Ed's response which deals with a FOSI
value, but a common term]). You will probably want to set the orphan
value as well. These two work together to keep the given number of lines
from appearing at the top (orphan) or bottom (widow) of the page.

Even Macro$carf Word claims to have a version (sic[k]) of widow/orphan
support in the format|paragraph menu. Nuff said there.

I would read the entire keeps topic in the help (the one Ed suggested).
Even though this is written for a FOSI element, the concepts apply to ALL
documents.

Lynn

I am trying to use the widow/orphan control but it doesn't seem to be working.

I am setting the widow/orphan control to 3 or more lines on an element that contains a bunch of other elements. When I go to pdf preview, the element still breaks and leaves one line in the next column. Am I not using the widow/orphan control correctly?

Thanks in advance.

Perhaps you need to do it for the immediate parent of the
text that hasthe problematiclines, instead of that element's
parent.





From: Brian Turner

Sent: Monday, November 20, 2006 2:28 PM
To:
Adepters@maillist.arbortext.com
Subject: Re: Arbortext Styler: Keeping
an element in the same column if...


I am trying to use the widow/orphan control but it doesn't seem to be
working.

I am setting the widow/orphan control to 3 or more lines on an
element that contains a bunch of other elements. When I go to pdf preview, the
element still breaks and leaves one line in the next column. Am I not using the
widow/orphan control correctly?

Thanks in advance. >> To
unsubscribe from the list, send an email to listmanager@maillist.arbortext.com
with the following in the body: unsubscribe adepters - For additional
information on the adepters list (how to subscribe or unsubscribe etc), send an
email to: listmanager@maillist.arbortext.com with the following in the body:
info Adepters - You may also go to forums.arbortext.com, enter the Adepters
folder and change your subscription options and preferences.>>



In help 557, this is added for widowct and orphanct:







<font<br/>size=2 color=black face=Verdana>The Arbortext Editor formatter recognizes values of <font<br/>size=3 color=black face="Courier New">0, <font<br/>size=3 color=black face="Courier New">2,
and
<span<br/>style='font-size:11.5pt;font-family:"Courier New";color:black'>3<font<br/>size=2 color=black face=Verdana>.



In other words, widow and orphan counts greater than 3 are
not supported. Anyone know if this is still true?








Dave













<span<br/>style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:<font<br/>size=2 face=Tahoma>Sent: Monday, November 20, 2006
6:21 AM

To: adepters@arbortext.com

Subject: RE: Arbortext Styler:
Keeping an element in the same column if...





<span<br/>style='font-size:12.0pt'>



<span<br/>style='font-size:10.0pt;font-family:Arial;color:blue'>Check out the Help files
about keeps/widow count. This may help you.



<span<br/>style='font-size:12.0pt'>



<span<br/>style='font-size:10.0pt;font-family:Arial;color:blue'>Help 348:









<font<br/>size=4 color=blue face=Arial>widow count (widowct)<span<br/>style='font-family:Arial;color:blue'>





The <span<br/>style='font-weight:bold'>widow count is the minimum number of lines
to keep at the top of a column.



<span<br/>style='font-size:10.0pt;font-family:Arial;color:blue'>To indicate the number of
lines from this element that should appear at the top of a column after a
column (or page) break:





<a<br/>name=N13308><span<br/>style='font-size:10.0pt;font-family:Symbol;color:blue'>·Enter an
integer (for example, 2)






<span<br/>style='font-size:10.0pt;font-family:Arial;color:blue'>A value of 0 does not
prevent a page/column break between the last and second-to-last lines of a
paragraph. A value of 2 prevents a page/column break between the last and
second-to-last lines and a value of 3 prevents page/column breaks between the
last and the third-to-last lines. This break prevention is absolute, never
subject to any soft keeps.



<span<br/>style='font-size:10.0pt;font-family:Arial;color:blue'>





<span<br/>style='font-size:12.0pt'>







From:<font<br/>size=2 face=Tahoma>Sent: Friday, November 17, 2006
2:31 PM

To:
Adepters@maillist.arbortext.com

Subject: Arbortext Styler: Keeping
an element in the same column if...



<span<br/>style='font-size:12.0pt'>I want to keep an element's content within the same
column on a page only if there is a certain amount of lines that flow into the
next column... For example, I want Arbortext to keep the element content in the
same column if 3 or less lines flow into the next column, otherwise, go ahead
and split the content into two separate columns.



Any help would be greatly appreciated.

Thanks. >> To unsubscribe from the list, send an email to listmanager@maillist.arbortext.com
with the following in the body: unsubscribe adepters - For additional
information on the adepters list (how to subscribe or unsubscribe etc), send an
email to: listmanager@maillist.arbortext.com with the following in the body:
info Adepters - You may also go to forums.arbortext.com, enter the Adepters
folder and change your subscription options and preferences.>> >>

I can get the widow/orphan control to work if the element contains a bunch of text that flows into the next column/page. However, the tag I need to set the widow/orphan values is a container tag for a bunch of other tags. The nested tags may only contain a few words. Does widow/orphan not work on a tag containing a bunch of nested tags?

Brian,

Probably not. The markup is not read as text and each element may have
its own set of rules to follow. I would start looking to see if widow
orphan is inheritable. Set inherit to on for the children and see if that
helps. Other wise, you will have to set widow/orphan for each child.

Lynn

Announcements