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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

FOSI highlighting with reveresed text?

ptc-953343
1-Newbie

FOSI highlighting with reveresed text?

So I have a need to make white text on a black background for my headings.
I've got thsi working with font color and highlighting (white text and a
box with black).

This is fine for the output but the editor is not displaying the text
(white on white). The boxing is not showing up in the editor view. I can
set the font background to black, but that looks grey and affects the
composed result as well with a grey background.

Is this where I need to start managing a editor version of the FOSI and a
composed version? What are the Apply -> Use for Editor and Use for
Composed View supposed to do? I can't find any documentation on these.

..dan
7 REPLIES 7

Boxing doesn't show in the Edit window. For Highlighting background color in the
Editor, use #000000 rather than "black." The named colors are not output at
"full strength" when specified for background color. This is discussed
under Value Types in the PDF file Characteristic
Values at



-----End Original Message-----

That should get around the color issues. What are the Apply -> For editor
and composition menu items about? they don't seem to do anything diffeent
than just apply.

..dan

> Boxing doesn't show in the Edit window. For Highlighting background color
> in the
> Editor, use #000000 rather than "black." The named colors are not output
> at
> "full strength" when specified for background color. This is discussed
> under Value Types in the PDF file Characteristic
> Values at
>
>
>

Hey Danny,

I don't know what you are talking about, but I know if I want, say, a line break for clarity on the screen but to not show up in print, I'd put this in the e-i-c:

<att>
<specval attname="editor-only" attloc="system-var" attval="#ANY">
<charsubset>
<textbrk startln="1" endln="1"></charsubset>
</att>

John T. Jarrett CDT
Senior Tech Writer, Integrated Logistics Support,Land & Armaments/Global Tactical Systems
BAE Systems, 5000 I-10 West, Sealy, Texas USA 77474
www.baesystems.com

I've never used those items and I'm not sure how they are supposed to work.
Fortunately, Apply->Apply Format Changes works for everything.

Suzanne


> Hey Danny,
>
> I don't know what you are talking about, but I know if I want, say, a line
> break for clarity on the screen but to not show up in print, I'd put this
> in the e-i-c:

In the FOSI panel for e-i-c editor there are different Apply options,
maybe they are meant to set this attribute from the panel


>
> <att>
> <specval attname="editor-only" attloc="system-var" attval="#ANY">
> <charsubset>
> <textbrk startln="1" endln="1"></charsubset>
> </att>
>
> John T. Jarrett CDT
> Senior Tech Writer, Integrated Logistics Support,Land & Armaments/Global
> Tactical Systems
> BAE Systems, 5000 I-10 West, Sealy, Texas USA 77474
> www.baesystems.com
>
>

Dan,

John Jarrett touched on your solution.

In FOSI, you can create Editor and Print-specific attribute tests for you code. Without the test, the formatting applies to both. Also, Suzanne (obviously being Suzanne) is right in that boxing will not show up on the Editor view, along with several other formatting functions such as right indent values and rules.

Create a attribute test for the Editor as follows:

<att>
<specval attname="editor-only" attloc="system-var" attval="#ANY">
<charsubset>
...
</charsubset>
</att>

Create a attribute test for theComposition outputas follows:

<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<charsubset>
...
</charsubset>
</att>

For anything in the FOSI that you want to be affective for one or the other, this is the way to do it. Using this technique, you can have your authoring stylesheet AND composition stylesheet all in one. I don't think the help system mentions the "print" side of this code, only the editor-only part.

Hope this helps,

Bob

Thanks, after john's email I searched the help file for the attributes and
nothing came up, but I did find some documentation buried within a
different topic.

I'm assuming that those Apply -> Editor and Apply -> Composition menu
items on the e-i-c panels must somehow trigger this functionality but I
have gone in to look at the code that is generated. I was trying the
buttons but nothing was changing in the Editor view.

..dan

> Dan, John Jarrett touched on your solution.
> In FOSI, you can create Editor and Print-specific attribute tests for you
> code. Without the test, the formatting applies to both. Also, Suzanne
> (obviously being Suzanne) is right in that boxing will not show up on the
> Editor view, along with several other formatting functions such as right
> indent values and rules.
> Create a attribute test for the Editor as follows:
> <att>
> <specval attname="editor-only" attloc="system-var" attval="#ANY">
> <charsubset>
> ..
> </charsubset>
> </att>
>
> Create a attribute test for the Composition output as follows:
> <att>
> <specval attname="print-only" attloc="system-var" attval="#ANY">
> <charsubset>
> ..
> </charsubset>
> </att>
>
> For anything in the FOSI that you want to be affective for one or the
> other, this is the way to do it. Using this technique, you can have your
> authoring stylesheet AND composition stylesheet all in one. I don't think
> the help system mentions the "print" side of this code, only the
> editor-only part.
> Hope this helps,
> Bob
>
>
Top Tags