JATS Author Mode Actions
A variety of actions are available in the JATS framework that can be added to the JATS menu, the Author Custom Actions toolbar, the contextual menu, and the Content Completion Assistant.
JATS Toolbar Actions
The following default actions are readily available on the JATS (Author Custom Actions) toolbar when editing in Author mode (by default, they are also available in the JATS menu and in various submenus of the contextual menu):
- Paragraph Level Drop-Down Menu
-
- Boxed Text
- Inserts or wraps content in a box with a shaded background.
- Code
- Inserts or wraps content in a
code
element. - Display Quote
- Inserts or wraps content in a
disp-quote
element. - Figure
- Inserts a
fig
element with atitle
(inside acaption
element). This action opens a dialog box that allows you to enter the text for the title for the figure. - Graphic Figure
- Inserts a
fig
element with atitle
(inside acaption
element), and agraphic
element. A dialog box is displayed that allows you to enter the title for the figure, followed by a dialog box that allows you to select the URL of the graphic to be inserted.
- Bold
- Surrounds the selected text with a
bold
tag. You can use this action on multiple non-contiguous selections. - Italic
- Surrounds the selected text with an
italic
tag. You can use this action on multiple non-contiguous selections. - Underline
- Surrounds the selected text with an
underline
tag. You can use this action on multiple non-contiguous selections. - Monospace
- Inserts or wraps content with a
monospace
element. - Insert MathML
- Opens the XML Fragment Editor that allows you to insert and edit MathML notations.
JATS Menu Actions
In addition, the following default actions are available in the JATS menu when editing in Author mode:
JATS Drag/Drop Actions
Dragging a file from the view or DITA Maps Manager view
and dropping it into a JATS document that is edited in Author mode,
creates a link to the dragged file (the ext-link
element with the
xlink:href
attribute) at the drop location. Dragging an image file from
the default file system application (Windows Explorer on Windows or Finder on Mac
OS X, for
example) and dropping it into a JATS document inserts an image element (the
inline-graphic
element with the xlink:href
attribute) at
the drop location, similar to the Insert Image toolbar action.