Typing content
The procedure in this topic assumes Skribenta is installed and configured for normal operation, and:
-
You have logged into Skribenta.
-
You are assigned to one of the following user roles: content provider, technical writer or administrator.
-
You have selected the workspace you want to work in.
-
A content file or a configuration file is created in the workspace.
-
You have browsed to and opened the file in the Workspace view or the Publications view.
-
You have created an element, for example, a paragraph or an ordered or unordered list.
You need to put a type on content in your file to be able to style it in a specific way when publishing.
Various values can be added to the type attribute for an element to specify that it belongs to a specific type.
A specific type on, for example, a table element allows to style the table differently in a PDF compared to other tables. For example, setting the attribute type to Big is a common way to allow a table span across side margins in a PDF to make the table bigger.
The type attribute can have one or more values. The type attribute is often used in conjunction to the class attribute to specify different types of element of the same class.
Skribenta can be configured to let you select attribute values from a predefined list, which can be specific for a given element.
This instruction tells you how to set a type on content.
This is the content before setting a type on a paragraph element:
This is the content after setting a type on a paragraph element:
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
Open the file, then set a type attribute on an element in the file content.
Less than 1 minute
Procedure
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
1. Make sure that the step(s) in section "Starting point" (see section "Background" above) are performed.
A pop-up list opens.
A toolbar opens.
The Type tab opens.
The type attribute is set on the element.