Copy link to clipboard
Copied
I'm creating an element in my EDD to add custom HTML/CSS tags using Prefix rules. However, I found that FrameMaker automatically adds the ">" character to the end of the Prefix rules, e.g. the Prefix Rule: <a href= shows as <a href=> in the document. Using Autonumbering can't be used because the autonumbering isn't copied when we copy the text from the document into another application.
Why is FM adding the extra ">" character and how do I stop this from happening?
re: I tested using the \x3c code, but it didn't parse in my prefix the way it would in a "regular" FrameMaker dialog.
Is there a more general escaping for EDD elements, like \<
Copy link to clipboard
Copied
It sounds like you are using reserved characters. Can you post the relevant portion of your EDD?
Copy link to clipboard
Copied
Hi Matt,
Below is a screenshot of the element definition:
 
Copy link to clipboard
Copied
You have great timing for your question, as I'm teaching an online EDD class this week!
I suspect that Fm is having trouble with the < because it is a reserved character used for markup.
Try using alternate methods of entering the <, using hex, or other representation. I tested using the \x3c code, but it didn't parse in my prefix the way it would in a "regular" FrameMaker dialog.
What's the goal here...to speed entry of URL content in your doc?
Maybe a script would be a better solution, since it would add the characters as content, rather than formatting.
-Matt
Copy link to clipboard
Copied
re: I tested using the \x3c code, but it didn't parse in my prefix the way it would in a "regular" FrameMaker dialog.
Is there a more general escaping for EDD elements, like \<
Copy link to clipboard
Copied
Hi @Bob_Niland
That was the answer! I change the Prefix Rule to \<a href=" instead and it worked perfectly.
Copy link to clipboard
Copied
Awesome...I thought of \< first but then looked up the Fm character sets without testing \< !
Doh!
-Matt
Copy link to clipboard
Copied
Hi Matt,
If the course you're running is anything like the Structured Development manual I bought off you a couple of years ago, the attendees are in for some great learning!
I didn't want to go into the long-winded explanation in my original post. We have all our training materials in FrameMaker. When we develop an online version of the course on our LMS, we 'convert' the text to HTML so that we can retain most of the formatting from our FrameMaker documents. I've developed an EDD that we apply to the FM document, which, using Prefix and Suffix rules, adds the HTML tags. (This is to make it easier for our content creators as they're not familiar with HTML and or CSS classes used on our LMS.)
Copy link to clipboard
Copied
Yep, that manual is the workbook for the class.
Glad you liked it!
Copy link to clipboard
Copied
I learned a lot from it - much easier to follow than Adobe's Structured Development Guide. I'd highly recomment it do anyone how is moving from Unstructured FrameMaker to Structured FrameMaker.