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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

FOSI formatting a title to span a 2 col page

ptc-953343
1-Visitor

FOSI formatting a title to span a 2 col page

I have a page in which the title of the section/chapter spans the two
columns of text that make oup the text. At least that is what I want. The
page composes with 2 columns of text and the heading wrapped in the first
column. I wen in and checked the CALS sample and saw that they placed a
span of 2 on their title elements, so I tried that. That causes the title
to span the 2 columns but now the page content is just set as a single
column. I checked the CALS sample para0 tag to see if it reset the column
value it did; to 0.

I did the same thing to the first element after my title. No change. Title
spans the two columns and the body text is in a single column.

What did I miss?

..dan
8 REPLIES 8

Maybe I missed something, but...

Put the title in the header of the page? And if you only want it on one page, either don't have a header on the other pages (e.g., header on recto1), or use a variable/pseudo-element to fill the header and reset that to '' before the following page(s).

Untested on this occasion, but something we've done.

YMMV,
Steve Thompson
+1(316)977-0515

Yeah that is one option - actually what I'm changing from. For one thing,
in the Editor you don't get a title to display, werhe all the single
column sections will have the titles. I mainly moved it because I get
tired of trying to find where the formatting is being applied. I seem to
get inconsistent results when I try to style things in the page
definitions rather than hard coding what I want on the page.

Anyway as a followup. There seems to be some relationsip between my title
and needing a para element to immediatly follow - and it has to have
conent. I discovered this by accident when I put in some debugging text
and happened to put in a para - viola! I now have my title spannign the
page, this para in the first colum (shich I need to get rid of) and the
narrow table of information that I do want to display.

I discovered this at the end of the day so I haven't poked around a whole
lot, but it seems like all the settings are the same that I would expect
to have some affect on the column layout and I'm not finding anything
different.

..dan

> Maybe I missed something, but...
>
> Put the title in the header of the page? And if you only want it on one
> page, either don't have a header on the other pages (e.g., header on
> recto1), or use a variable/pseudo-element to fill the header and reset
> that to '' before the following page(s).
>
> Untested on this occasion, but something we've done.
>
> YMMV,
> Steve Thompson
> +1(316)977-0515
>

Look up span in the help. I don't have time for more right now.

-Andy
\ / Andy Esslinger LM Aero Tech Order Data
_____-/\-_____ (817) 279-0442 1 Lockheed Blvd MZ 4285
\_\/_/ (817) 777-3047 Fort Worth, TX 76108

> Look up span in the help. I don't have time for more right now.
>

That is the value I tweaked originally and it changes my page layout for
the title, but it is also affecting the rest of the content that follows.

..dan

Hello Dan,

if I understand so properly you do a span in the title
and get the following:

titletitletitletitletitletitletitletitletitle

columncolumn1
columncolumn2
columncolumn3
columncolumn4
columncolumn5
columncolumn6
columncolumn7
columncolumn8

And you expect:

titletitletitletitletitletitletitletitletitle

columncolumn1 columncolumn5
columncolumn2 columncolumn6
columncolumn3 columncolumn7
columncolumn4 columncolumn8

One cause can be, that after "columncolumn8" a page break is forced.

The property "Balance" (set in "flow text area" at the page model)
decides if in this case one or both colums are used.

Balance = "yes" forces the equal use of both columns
Balance = "no" may be the value that is set.

Regards

Jürgen Schnurr
Technische Dokumentation

> Hello Dan,
>
> if I understand so properly you do a span in the title
> and get the following:
>
> titletitletitletitletitletitletitletitletitle
>
> columncolumn1
> columncolumn2
> columncolumn3
> columncolumn4
> columncolumn5
> columncolumn6
> columncolumn7
> columncolumn8

That was one scenario I got, here is the other

titletitletitle
titletitle

columncolumn1
columncolumn2
columncolumn3
columncolumn4
columncolumn5
columncolumn6
columncolumn7
columncolumn8

>
> And you expect:
>
> titletitletitletitletitletitletitletitletitle
>
> columncolumn1 columncolumn5
> columncolumn2 columncolumn6
> columncolumn3 columncolumn7
> columncolumn4 columncolumn8

Yes. I have succeed in getting this:

titletitletitle
titletitle

columncolumn1 columncolumn5
columncolumn2 columncolumn6
columncolumn3 columncolumn7
columncolumn4 columncolumn8

but only after I introduce a para element. My content is a simple table
that I have my own element names for, that I then FOSI generate a CALS
table. So all my conent is a long CALS table.

>
> One cause can be, that after "columncolumn8" a page break is forced.
>
> The property "Balance" (set in "flow text area" at the page model)
> decides if in this case one or both colums are used.
>
> Balance = "yes" forces the equal use of both columns
> Balance = "no" may be the value that is set.

Hadn't thought about this, but the balance was set to 1/yes.

..dan

>
> Regards
>
> Jürgen Schnurr
> Technische Dokumentation
>

So I got it to work but logically I don't understand.

I would have thought that span like in a table would be indicating how
many columns to span. So I was setting my title span to 2. I would think
that this also would only affect the title element and not content the
followed, but that doesn't seem to be true either.

So the correct setting for span on the title is 1, that got a title
spanning the page, but it also caused my table to be in a single column as
well. When I set the span on the table to 2, I then got the table the way
I wanted and deleting the extra para still kept the table in 2 cols.

What I don't understand is the para element didn't have anything set and
it would cause the content to split into 2 columns. Is it just something
about tables again?

..dan

<e-i-c gi="title" context="table">

<charlist envname="titleenv">



<quadding inherit="0" quad="center" lastquad="relative">

<postsp nominal="6pt" condit="discard" priority="high">

<keeps keep="1" widowct="3" next="1">

<textbrk startln="1" endln="1">



<suppress sup="1">

</charlist>

.

.

.

</e-i-c>

[cid:image001.png@01CB66E0.66A70380]



\ / Andy Esslinger LM Aero Tech Order Data

_____-/\-_____ (817) 279-0442 1 Lockheed Blvd MZ 4285

\_\/_/ (817) 777-3047 Fort Worth, TX 76108




Announcements

Top Tags