Programmer's Guide > Programming and Scripting Techniques > Line Numbering in Arbortext Editor and Arbortext Publishing Engine > Line numbering application building reference > The atipl layout markup > The commonattr entity in the layout.dtd > startline and endline
  
startline and endline
<!ELEMENT atipl:startline EMPTY>
<!ATTLIST atipl:startline
typemask CDATA "1"
%commonattrs; >
<!ELEMENT atipl:endline EMPTY>
<!ATTLIST atipl:endline
hyphen NMTOKEN #IMPLIED
%commonattrs; >
The startline and endline markup indicates the line breaks as defined by the formatting engine. The type of content in a line is indicated by the typemask attribute. The bits that may appear in a typemask indicate whether that content is plain or generated text, and are displayed in the following table:
Plain
Gentext
Content
0x1
0x2
characters
0x4
0x8
ruling
0x10
0x20
kern, kernto, hyphpt, hardsp, passthru
0x40
0x80
character fill (leader dots)
0x100
0x200
graphic
0x400
0x800
display equation
0x1000
0x2000
inline equation
0x4000
0x8000
forced line break
If a line ends with a hyphen, the character code of the hyphen is added to the hyphen attribute on the end tag.
The margin where the line numbers appear in the printed output is defined by the value of attr2. Legal values are left or right. The default is right.
The quadding of the number, relative to the page center, is defined by the value of attr3. This value may be in or out. The default value is out.
The end of a line, where a break is no longer discretionary, may require special treatment. Set attr2 to fill on the end tag to end a line with a filler space that prevents an underfull error.