TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Help with Simple FrameMaker EDD and Prefix as Paragraph
Subject:Help with Simple FrameMaker EDD and Prefix as Paragraph From:cuc tu <cuc2u -at- hotmail -dot- com> To:"techwr-l -at- lists -dot- techwr-l -dot- com" <techwr-l -at- lists -dot- techwr-l -dot- com> Date:Fri, 31 Aug 2018 13:41:19 +0000
Hi All,
I'm just learning structured authoring in FrameMaker and am stuck on getting a prefix added as a paragraph. The description and system elements in the example xml source document below need to have a standalone heading paragraph populated.
I was reading the structured dev guide (2015) pg234 and tried to set up the system element in a similar way. With the below, I am getting the source content only, and properly formatted.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE File SYSTEM "file:///C:/FMStructure/Test.dtd" [
]>
EDD Version is 12.0
Automatically create formats on import.
Element (Container): File
Valid as the highest-level element.
General rule: File_Title, (SYSTEM?,SPA?)
Element (Container): File_Title
General rule: <TEXT>
Text format rules
In all contexts.
Use paragraph format: Title
Element (Container): SYSTEM
General rule: (<TEXT>|Description1|Description2)*
Prefix rules
If context is: SYSTEM
Prefix: SYSTEM Chapter Heading
Else, if context is: Description1
Prefix: Desc1 Heading
Else, if context is: Description2
Prefix: Desc2 Heading
Text format rules
If context is: SYSTEM
Use paragraph format: ChapterHeading
Else, if context is: Description1
Use paragraph format: Heading4
Else, if context is: Description2
Use paragraph format: Heading4
Element (Container): SPA
General rule: (<TEXT>|Description1|Description2)*
Prefix rules
If context is: SPA
Prefix: SPA Chapter Heading
Else, if context is: Description1
Prefix: Desc1 Heading
Else, if context is: Description2
Prefix: Desc2 Heading
Text format rules
If context is: SPA
Use paragraph format: ChapterHeading
Else, if context is: Description1
Use paragraph format: Heading4
Else, if context is: Description2
Use paragraph format: Heading4
Element (Container): Description1
General rule: <TEXT>
Text format rules
In all contexts.
Use paragraph format: Indented4
Element (Container): Description2
General rule: <TEXT>
Text format rules
In all contexts.
Use paragraph format: Indented4
Thanks for any assistance,
C2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Visit TechWhirl for the latest on content technology, content strategy and content development | http://techwhirl.com