Skip to main content
Participant
January 20, 2016
Answered

topic EDD modifications

  • January 20, 2016
  • 2 replies
  • 1048 views

I am working on setting up a structured FM template for the first time. How do you incorporate formatting changes made in an EDD?  These are the steps that I have tried.


Attempt 1

  1. Open new DITA topic file (it correctly applies changes that I made to the $STRUCTDIR\xml\DITA_1.2\app\technicalContent\template\topic.template.fm file for custom headers and footers)
  2. Export Element Catalog as  EDD.
  3. Make formatting changes to the Title element and save the file as EDD.fm.
  4. In the DITA topic file import the Element Definitions from the newly saved EDD.fm file.
  5. The formatting changes to the Title element display as expected.
  6. Save the DITA topic file.
  7. Close the DITA topic file.
  8. Open the DITA topic file and the formatting changes to the Topic element are no longer present.

Attempt 2

The C:\Program Files (x86)\Adobe\AdobeFrameMaker12\Structure\xml\DITA_1.2\app\technicalContent\edd\topic.edd.fm file doesn't seem to be editable.  When I copied the EDD.fm file that I created in Attempt 1 to this folder and renamed it to topic.edd.fm I couldn't even create a new DITA topic file.

How do I make new or existing DITA topic files use a particular EDD file?

Thank you

Donna

This topic has been closed for replies.
Correct answer Lynne A. Price

Donna,

   When you open an XML document, whether it was created in FM's WYSIWYG or any other method, FM builds a new WYSIWYG document. For your modified EDD to affect XML documents as you open them, you'll need to import element definitions from your EDD into the template used to open the XML documents. In your Attempt 1 notes, you mention you have already made header/footer changes to topic.template.fm. Import the element definitions into that file and you should be all set.

  Instead of modifying the version that comes with FM, you can make a copy in your own directory and make the changes to the copy. To tell FM to use the copy, use StructureTools > Edit Global Application Definitions to open the global structapps.fm file. Select the DITA_1.2_topic XMLApplication and copy it to the clipboard. Then use StructureTools > Edit Application Definitions to open your personal structapps.fm file. Paste the copied application into your own version and change the filename of its template to that of your modified template.

  The modified application definition takes affect the next time you start FM or when you use the StructureTools > Read Application Definitions command when your personal strucapps.fm is the current file.

            --Lynne

2 replies

Lynne A. PriceCorrect answer
Inspiring
March 3, 2016

Donna,

   When you open an XML document, whether it was created in FM's WYSIWYG or any other method, FM builds a new WYSIWYG document. For your modified EDD to affect XML documents as you open them, you'll need to import element definitions from your EDD into the template used to open the XML documents. In your Attempt 1 notes, you mention you have already made header/footer changes to topic.template.fm. Import the element definitions into that file and you should be all set.

  Instead of modifying the version that comes with FM, you can make a copy in your own directory and make the changes to the copy. To tell FM to use the copy, use StructureTools > Edit Global Application Definitions to open the global structapps.fm file. Select the DITA_1.2_topic XMLApplication and copy it to the clipboard. Then use StructureTools > Edit Application Definitions to open your personal structapps.fm file. Paste the copied application into your own version and change the filename of its template to that of your modified template.

  The modified application definition takes affect the next time you start FM or when you use the StructureTools > Read Application Definitions command when your personal strucapps.fm is the current file.

            --Lynne

JCmayer
Inspiring
March 3, 2016

Hello Donna

For your Attempt 2:

The C:\Program Files (x86)\Adobe\AdobeFrameMaker12\Structure\xml\DITA_1.2\app\technicalContent\edd\topic.edd.fm

Double-Click inside the text. It appears a windows:

Make convert, and after "All text Insets"

You will have access to the text to change your edd.

JC

JCmayer
Inspiring
March 3, 2016

Or the original edd are in:

C:\Program Files (x86)\Adobe\AdobeFrameMaker2015\Structure\xml\DITA_1.2\app\base\edd

JC