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

Enabling Quick Tags for a Verbatim Type Element


Enabling Quick Tags for a Verbatim Type Element

<br /><br />I’m currently working with a modified &lt;span&lt;br/&gt;class=SpellE&gt;Docbook DTD, and I’m trying to enable the Quick Tags<br />feature in Epic Editor 5.1 for the address element. Epic help says…<br /><br /><br /><br /><br /><br /><br /><br />Quick Tags Not Available<br /><br /><br /><br />Your<br />stylesheet definition might have an element<br />declaration for an “as-is” or “verbatim” &lt;font&lt;br/&gt;color=white&gt;tag.<br />This is an element in which you can use carriage returns and spaces as you<br />would in a unstructured document. The normal rules for<br />what should happen if you press enter<br />are turned off. If your cursor is within an element of this type, &lt;font&lt;br/&gt;color=white&gt;Quick Tags<br />is not available. <br /><br /><br /><br />The address element definitely falls into this category as<br />an “as-is” or “verbatim” tag. However, I’d like<br />to turn off the carriage returns and allow for the insertion of child elements<br />using the Quick Tags feature. I believe the FOSI screen stylesheet<br />is controlling this behavior, but I’m having trouble finding the code<br />which controls it. What do I need to look for?<br /><br /><br /><br /><br /><br /><br /><br />Thanks in advance for the help.<br /><br /><br /><br /><br /><br /><br /><br />_________________________________________&lt;span&lt;br/&gt;style='mso-no-proof:yes'&gt;<br /><br /><br /><br />Chris Strickland, &lt;font&lt;br/&gt; size=2 face=Arial&gt;Documentation&lt;span&lt;br/&gt;style='font-size:10.0pt;font-family:Arial;mso-no-proof:yes'&gt; Tools Specialist&lt;span&lt;br/&gt;style='mso-no-proof:yes'&gt;<br /><br /><br /><br />407.822.2414&lt;span&lt;br/&gt;style='mso-no-proof:yes'&gt;<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />

Tags (2)

Re: Enabling Quick Tags for a Verbatim Type Element


The purpose of an 'as-is' or 'verbatim'
tag is to allow the author to arrange information as they want it. Formatting
rules no longer apply. So the help is correct in what it is saying
and Epic is right in what it is doing. Placing markup inside such
an element may or may not (depends on whether the file is SGML or XML as
they treat verbatim type structure differently) work as expected. If
the file is SGML and the tag you are using has content model of CDATA (not
allowed in XML), then markup (there are some specific exceptions in 8879
for closing) is not recognized as markup.

So if you want quick tags back on, look
at your elements content model and change it (if possible) so the
verbatim aspects are removed. Then look in the FOSI for the elements
<e-i-c> (there may be more than one with different contexts) and
change the formatting so it is not an 'asis' <e-i-c>.

You cannot have both features work. If you want returns in the <address>
model, then no quick tags. I you have formatting rules for the <address>
and returns are going to be overlooked, then change the model so it does
not recognize returns.