SyntaxΒΆ

This document will explain how to construct a document.

As a start, you need to know that Z is a special directory that includes utilities to help you do this. The most used feature in Z is the ability to number sections.

You can do it like so:

Ti=Your document title

1.Sec=This is the first section

2.Sec=This is the second section

=[Z/ol/2]

Model.Root={Sec}

Will result in this:

Your document title

        1. This is the first section
        2. This is the second section

Note that if you use 1.Sec instead of 1.sec you can add a title for each section:

Ti=Your document title

1.Ti=Section 1

1.sec=This is the first section

2.Ti=Section 2

2.sec=This is the second section

=[Z/ol/2]

Model.Root={Sec}

Will result in this:

Your document title

        1. Section 1
        This is the first section
        2. Section 2
        This is the second section

Also note that the =[Z/ol/2] is one formatting option. The Z folder includes more options.

=[Z/ol/s2] will also allow you to show the sections without titles:

Ti=Your document title

1.sec=This is the first section

2.sec=This is the second section

=[Z/ol/s2]

Model.Root={Sec}

Will result in:

Your document title

        1. This is the first section
2. This is the second section

=[Z/paras/s2] or =[Z/paras/s2] will allow you to show sections without the numbering:

Ti=Your document title

1.sec=This is the first section

2.sec=This is the second section

=[Z/paras/s2]

Model.Root={Sec}

will result in:

Your document title

        This is the first section
        This is the second section

You can browse the Z directory to find more options. Once you understand this, the first thing you need to do to create a document is to build an outline.