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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

touchup to override xslt stylesheet line quad

kmccain
3-Newcomer

touchup to override xslt stylesheet line quad

Hi,


I am working with Editor 5.4 and print composer using the MIL-STD-2361D 45001-2A stylesheets. I have a customer's comment about single line notes, warnings and cautions that says the mil spec needs these single lines to be centered, but the stylesheet formats all <trim.para> the same: indented from both margins and quad left.


I've tried inserting a custom touchup - 1) around the text within the <trim.para> element and also 2) around the <trim.para> element itself to override the quad left alignment but either way it is ignored and the line composes indented and quad left. I know the stylesheet respects some touchups because it allows me to put in newpage touchups with no problem.


Example of markup:


<note>

<trim.para>Testing note alignment override for centering.</trim.para>

</note>


Can someone point out to me what I'm doing wrong here? is there some other solution or is this not possible?


Thanks, KM

3 REPLIES 3

This may or may not be related. I have learned in my upgrade from 5.3 m110
to 6.0 m010 that some touchup tags are no longer respected when composing
with XSL although they remain supported in PDF output. (We are using PDF
Direct or whatever that product is called, not Distiller. I don't know if
that plays in the equation at all either.)


On Mon, Mar 11, 2013 at 10:37 AM, Kim McCain <kmccain@triaddesignservice.com<br/>> wrote:

> Hi,
>
> I am working with Editor 5.4 and print composer using the MIL-STD-2361D
> 45001-2A stylesheets. I have a customer's comment about single line notes,
> warnings and cautions that says the mil spec needs these single lines to be
> centered, but the stylesheet formats all <trim.para> the same: indented
> from both margins and quad left.
>
> I've tried inserting a custom touchup - 1) around the text within the
> <trim.para> element and also 2) around the <trim.para> element itself to
> override the quad left alignment but either way it is ignored and the line
> composes indented and quad left. I know the stylesheet respects some
> touchups because it allows me to put in newpage touchups with no problem.
>
> Example of markup:
>
> <note>
> > QuaddingQuad="center"?>
> <trim.para>Testing note alignment override for centering.</trim.para>
>
> </note>
>
> Can someone point out to me what I'm doing wrong here? is there some other
> solution or is this not possible?
>
> Thanks, KM
>

Paul's correct. Touch-up PIs may not work with XSL-FO style sheets, or, if they do, only using PubPDFlib and only with FOSI or APP. You may have to modify the XSL-FO to achieve the desired affect.

John

In our case, it's going to mean modifying the DTD too. (Or working with
namespaces?) But we are currently not able to get pub touchup to HTML Help
(and Digital Media Publisher behind it).


Announcements

Top Tags