Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Dear all,
We are using Arbortext Editor 6.0 M080. We are using the _newline tag to create the new line inside the step. When it get publish to PDF and we are absolutely no publishing error in this. But, when we use the same _newline tag inside the hazardstatement tag we are receving the publishing error (NULL message). Could you please anyone help me if we should not use the _newline tag inside hazardstatement tag, then which tag need to be used to split the line.
Thank you in advance,
Rajesh
Hi Rajesh,
See if your doctype has a real element that forces a page break. Some DTDs have the brk element for doing this type of thing. Using a real element instead of a processing instruction is always preferable.
Regards,
Jerry Tippie
Hi Jerry, how do you find out if you have access to real elements. Should these be available to the user though a menu?
Bryon
Hi Bryon,
The Insert Markup panel (Insert-> Markup) shows all elements available for insertion where the caret is located. If brk is available, it will show alphabetically in the list.
Regards,
Jerry Tippie
Our style sheet does not have not have brk listed. Why is this better than a processing instruction? Is this available from the ootb or do you need to have it added?
Bryon
Hello Jerry,
We don't have brk listed in Markup Panel. Could you help me how we can add brk to our style sheet?
Thank you in advance,
Rajesh
It is not clear to me if you are wanting to use _newline in authored text or if it being used as generated text from the stylesheet.
_newline is offered on Editor menus as a "last resort" sort of thing. It can be used when absolutely necessary. However, it is always preferable to force the break using a real element, if one is available. If the break is being forced in generated text, one should create a user-defined element that forces a linebreak around the text it wraps without using _newline.
A stylesheet cannot make any modifications to the DTD so that elements suddenly appear in the Insert Markup panel. This is totally controlled by the DTD itself. The stylesheet can force linebreaks on various elements as coded in the stylesheet. This can be put on real elements defined in the DTD or it can be on user-defined elements created just for such a thing.
Regards,
Jerry Tippie