<NEW>
Full syntax
< new [ encrypt ] [ stoponexp ]>Page heading comes here
Page body comes here
Parameters
encrypt
Encrypt this page using the password given in <meta> tag.
(For more information see DRM)
stoponexp
Stop displaying this page after the file has been expired.
(For more information see DRM)
Remarks
This is the cornerstone of the TR file. The New tag defines new sections within the file. It is all that is needed to turn any text file into a TomeRaider file. <new> tag defines start of the pages.
e.g
<new> Page heading
Page text
Page text
.
.
<new>Page Heading 2
..
Page text
.
<new>
Page Heading 3
Page text
.
After any <new> tag, the first line of non-white space forms the page heading. All other text starting from the next line until the start of next <new> tag will form the page body. Any leading or trailing white spaces (Including new lines) will be silently discarded by the compiler.
|