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

Continued Titles

allissa.leach
1-Newbie

Continued Titles

All,



I have a structure in the DTD that look like this



geninfo (<u>%titldtext;</u>)+>
titldtext "(<u>title</u> , (<u>subtitle</u>? , (<u>%p;</u>))+)">
p "<u>para</u> | <u>specpara</u>">


What I want to do is to be able to repeat titles on the next page. The issue is when you have more than one title, all of them repeat on subsequent pages in the order tagged.

The solution is to allow multiple <geninfo>, but is set up to be occur 0 or 1 time.



Is there way in the FOSI that will not repeat a <title> when the another <title> appears?



Should I recommend a change to the DTD?

Thanks. Allissa S. Leach

4 REPLIES 4

On Fri, Jun 6, 2008 at 11:44 AM, Allissa Leach <allissa.leach@us.army.mil>
wrote:

> All,
> I have a structure in the DTD that look like this
> ">http://portal.ptcuser.org/40051B_AMCOM.dtd.html#EntityDef.titldtext>
> )+>
> ,">http://portal.ptcuser.org/40051B_AMCOM.dtd.html#ElementDef605>, (
> *subtitle* <?">http://portal.ptcuser.org/40051B_AMCOM.dtd.html#ElementDef567>?
> , (*%p;* <">http://portal.ptcuser.org/40051B_AMCOM.dtd.html#EntityDef.p>
> ))+)">
> |">http://portal.ptcuser.org/40051B_AMCOM.dtd.html#ElementDef385>|
> *specpara* <">http://portal.ptcuser.org/40051B_AMCOM.dtd.html#ElementDef539>
> ">
>
Can you post the relevant sections of your FOSI where you define the title
behavior?


> What I want to do is to be able to repeat titles on the next page. The
> issue is when you have more than one title, all of them repeat on subsequent
> pages in the order tagged.
>
Do you want to indicate the current geninfo for the content on the page?
Like running headers? This is typically managed in the header or footer
region. It almost sounds like you're using a float.

Maybe I don't understand the intent ...

Could it be that you're appending a savetext rather than overwriting it?
Again, it's hard to tell without seeing the FOSI code.

The solution is to allow multiple <geninfo>, but is set up to be occur 0 or
> 1 time.
> Is there way in the FOSI that will not repeat a <title> when the another
> <title> appears?
> Should I recommend a change to the DTD?
>
Depending on how you're saving and presenting the titles, I'm not sure
if/whether multiple <geninfo>s would change anything.

Yes, it is possible to have titles' saved text display only while "current."

--
Paul Nagai

I am using floats (in flowtext).



Here is the FOSI code.

<e-i-c gi="title" context="geninfo">
<charlist charsubsetref="tasktitlesub">
<suppress sup="1">
<savetext textid="title.psd.txt" conrule="&lt;title.psd">,#CONTENT,</title.psd>">
<savetext textid="crossref" conrule="\WP" \,wpseqno,\=" \,title.psd.txt&quot;="></charlist>
<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<charsubset>
<usetext source="secmark,title.psd.txt" placemnt="after">
<subchars>
<keeps scope="page" keep="7" next="7"></subchars>
</usetext>
<usetext source="secmark,title.psd.txt,\" –=" continued\&quot;=" placemnt="after">
<subchars charsubsetref="titlesub">
<float flidref="subsubtasktitlcontd" width="page" scope="geninfo" pagetype="next">
</subchars>
</usetext>
</charsubset>
</att>
<att>
<specval attname="inschlvl" attval="#NONZERO">
<charsubset>
<chgmark barthick="3pt" baroffset="3" join="1" type="content"></chgmark>
</charsubset>
</att>
<att>
<specval attname="delchlvl" attval="#NONZERO">
<charsubset>
<chgmark barthick="3pt" baroffset="3" join="1" type="content"></chgmark>
<suppress sup="1"></charsubset>
</att>
</e-i-c>

I believe it goes a little against convention to allow multiple titles
within its parent, in this case, geninfo. There is usually a one to one
relationship between a wrapper element and its title (which is almost always
the first child of the wrapper).

You could get the behavior you want, however, but I don't think you'll be
able to do it with floats, at least not floats scoped to geninfo. You could
introduce another child element of geninfo, "subgeninfo" for example, and
then set the scope of your float to subgeninfo.

Even so, I think the behavior you are after, as I think I mentioned in my
first reply, is often performed in a header region. That way, your title
context geninfo savetext will replace the value of title.psd.txt rather than
being added to an additional float.

The only other thing I can see to do that might work is to try specifying
the float format using a psuedo element only on the first geninfo and then
update a savetext variable on occur = notfirst. You will need to have at
least a second layer of processing, but I'm not sure this is a workaround
that will work with floats.

All my float debugging (other than format specific debugging) leads back to
having the wrong scope. Or true bugs.


On Fri, Jun 6, 2008 at 12:29 PM, Allissa Leach <allissa.leach@us.army.mil>
wrote:

> I am using floats (in flowtext).
>
>
>
> Here is the FOSI code.
>
> <e-i-c gi="title" context="geninfo">
> <charlist charsubsetref="tasktitlesub">
> <suppress sup="1">
> <savetext textid="title.psd.txt"&lt;br"/>> conrule="<title.psd>,#CONTENT,</title.psd>">
> <savetext textid="crossref" conrule="\WP" \,wpseqno,\<br="/>> \,title.psd.txt"></charlist>
> <att>
> <specval attname="print-only" attloc="system-var" attval="#ANY">
> <charsubset>
> <usetext source="secmark,title.psd.txt" placemnt="after">
> <subchars>
> <keeps scope="page" keep="7" next="7"></subchars>
> </usetext>
> <usetext source="secmark,title.psd.txt,\" –=" continued\&quot;<br="/>> placemnt="after">
> <subchars charsubsetref="titlesub">
> <float flidref="subsubtasktitlcontd" width="page" scope="geninfo"&lt;br"/>> pagetype="next">
> </subchars>
> </usetext>
> </charsubset>
> </att>
> <att>
> <specval attname="inschlvl" attval="#NONZERO">
> <charsubset>
> <chgmark barthick="3pt" baroffset="3" join="1" type="content"></chgmark>
> </charsubset>
> </att>
> <att>
> <specval attname="delchlvl" attval="#NONZERO">
> <charsubset>
> <chgmark barthick="3pt" baroffset="3" join="1" type="content"></chgmark>
> <suppress sup="1"></charsubset>
> </att>
> </e-i-c>
>
>

Alissa,

This is a problem we've had with all the different continued titles the standard calls for. Actually really the last one, but there in lies the problem.

The FOSI really doesn't know (it probably could be done with some weird counter and specval manipulation) when there is previous floating generated text.

Maybe if the title float uses the same savetext string and then only the last one (if that is what is desired) will appear.

Give me a call on Monday, my number is in the TMSS site IPR minutes.

Lynn
---- Allissa Leach <allissa.leach@us.army.mil> wrote:
> All,
>
> I have a structure in the DTD that look like this
>
>
>
>
>
> What I want to do is to be able to repeat titles on the next page. The issue is when you have more than one title, all of them repeat on subsequent pages in the order tagged.
> The solution is to allow multiple <geninfo>, but is set up to be occur 0 or 1 time.
>
> Is there way in the FOSI that will not repeat a <title> when the another <title> appears?
>
> Should I recommend a change to the DTD?
> Thanks. Allissa S. Leach
>
>
> -----End Original Message-----
Announcements