How do I program in DL Pager?

DL Pager uses its own comprehensive mnemonic markup language which contains extensive typographic, string processing and conditional logic facilities. DL Pager processes ASCII text files which can contain native DL Pager markup commands, SGML, XML or any *ML tags, or a mixture of both.

DL Pager can be configured to interpret SGML, XML or *ML tags as calls to DL Pager formats, or macros.

In the following example:

<p>This is a line of text.</p>

The <p> and </p> tags would call DL Pager formats to perform predefined operations:

[fd p]
[qs][kl] End the previous paragraph
[ci][kl]  Cancel any running indents
[xt][kl] Cancel any running tables
[rs para][kl] Restore a style named "para" which contains
[kl]  typeface, size, and other specifications.
[ip2m][kl] Indent the first line of all paragraphs with 2 em spaces
[fe][kl]  End format definition

[fd /p]
[fe]
[kl] The processing logic for paragraphs in this specific example has been built into the
[kl] start paragraph (

) tag, so this tag is defined to be null.

This is a rudimentary example of DL Pager's programming capabilities. Formats can be written to be context sensitive, to read ahead within the file and to perform different functions based upon conditional logic states.

Feedback and Knowledge Base