Thread View: adobe.framemaker.sgml
3 messages
3 total messages
Started by NF82
Wed, 03 Dec 2008 09:02
How can I change the font of the element p?
Author: NF82
Date: Wed, 03 Dec 2008 09:02
Date: Wed, 03 Dec 2008 09:02
25 lines
1557 bytes
1557 bytes
Hello,
when I insert the element p in the body of a topic the font is times new roman. All other elements have
other fonts. I want to change the font of the element p.
- I open the template and the topic.template and create a new format for a paragraph.
- I open the EDD and create in the section body elements a new TextFormatRule:
- Section body elements
- Element Tag p
- Container
- TextFormatRules
- ContextRule
- If
- Specification body
- ParagraphFormatting
- ParagraphFormatTag .... name of the paragraph format I create in the template
But it doesn�t work the format of the element p is still times new roman.
If I do it that way, I have to create a TextFormatRule for every element (body, section...). Is there
an easier way to say, if all the TextFormatRules in the EDD are false/don�t apply then use the textformat xyz.
With kind regards,
Nina
Re: How can I change the font of the element p?
Author: Russ Ward
Date: Wed, 03 Dec 2008 12:33
Date: Wed, 03 Dec 2008 12:33
7 lines
1027 bytes
1027 bytes
Nina, Did you import the new EDD into the template that is used for the XML import? In a list of context rules, there is the "else" rule that should satisfy your second question. Also, formatting is applied in a cascading manner. If you want to set a default for "body" elements, put the formatting rule on that element. Then, if no subelement has a rule which overrides it, the default is applied. Russ
Re: How can I change the font of the element p?
Author: NF82
Date: Wed, 03 Dec 2008 15:00
Date: Wed, 03 Dec 2008 15:00
7 lines
784 bytes
784 bytes
Hello Russ, thank you for your help. I read some chapters of the structure application developer guide. I use the all-contexts rule and it work. With kind regards, Nina
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads