Hello everyone,
I'm working with Styler 6.0 M050. I'm looking for a way to use the _nolinebreak PI within gentext. Since PIs are stripped in gentext, I cannot find a way to retain this PI. I cannot find a _nolinebreak equivalent within custom touchup.
If anyone has any thoughts on this, it would be greatly appreciated. Thanks!
As an addendum to this. I'm not speaking of adding the nolinebreak as PI in the context in Styler. The tech editors often add the PI in Editor in specific cases. This is where the PI is being stripped.
-Jeff
Hi Clay,
I'm pulling content from another element into the generated text. I need for the element content to keep from breaking.
So assuming I'm pulling element <section>
<section>
</section>
I cannot apply a global rule. The editors want some of the content to keep together and allow other content within the section to break. This was rather easy in 5.3 since _nolinebreak wasn't stripped out in generated text. Now, I'm having some trouble getting around the new 6.0 functionality.
I don't think you can insert _ufe's in to the main XML stream. I could be wrong.
-Jeff
Hi Clay,
For example...
If I have an element <meta> with gentext that is pulling content from element <section>, they need to keep various part of <section>'s content on the same line, but allow other parts to break. The default is for all content to break to it's own line.
<section>
Here is text.
Here is some more text.
Additioinal content.
</section>
The default is formatting is...
Here is some more text.
Here is text. Here is some more text.
Here is text.
Here is some more text.
Additioinal content.
's that needed to be kept
> together.
>
> <section>
>
> **
>
>
Here is text.
Here is some more text.
Additioinal content.
Hi guys,
I was trying to avoid modifying the DTD, but it looks like that might be the only way to accomplish the formatting.
I'm unsure why the content in the p's are separated or need to remain separated. I'm trying to reproduce the environment in 6.0 as closely as it was in 5.3. This is being driven by an upgrade.
Does anyone know how to define custom touchup PIs? PTC allows to up to 9 additional custom touchups (attr1 - 9). I can't see in the docs how to define these other than they are defined within ACL. Has anyone defined these before?
I'm trying to leave DTD mods as a last resort. Although, it's sounding like the easiest solution.
Thanks for the help!
-Jeff
In Reply to Clay Helberg:
Hi Jeff--
This seems like a really strange usage to me. Perhaps there's still
something I don't understand about it. But what is the advantage of
Jeff,
Since the DTD already has the attr1-9 defined, there is no need to modify the DTD. If you want the user/writer to see something on the Editor screen OTHER than attr1-9, you can use an alias through the dtd.alias file that is initiated through the instance.acl file within the doctype folder.
To get something on the screen to respond to your selection of one or more of the attr1-9 attributes, you code the stylesheet.
With that said, I tend to agree with Clay. The separate lines you're seeing I believe are from the
coding. The PI's are not able to 'disable' the line breaks that are generated within the
tags. You'd have to have an attribute on the
tag that would give the ability for the stylesheet to react on that particular
tag by not producing a new line after the tag.
Good luck,
Bob
In Reply to Jeff Stevenson:
Hi guys,
I was trying to avoid modifying the DTD, but it looks like that might be the only way to accomplish the formatting.
I'm unsure why the content in the p's are separated or need to remain separated. I'm trying to reproduce the environment in 6.0 as closely as it was in 5.3. This is being driven by an upgrade.
Does anyone know how to define custom touchup PIs? PTC allows to up to 9 additional custom touchups (attr1 - 9). I can't see in the docs how to define these other than they are defined within ACL. Has anyone defined these before?
I'm trying to leave DTD mods as a last resort. Although, it's sounding like the easiest solution.
Thanks for the help!
-Jeff