/test/art/ok/toc-slide.aat
http://txt2tags.googlecode.com/ · Unknown · 408 lines · 251 code · 157 blank · 0 comment · 0 complexity · 7251dd14050d0bea3d9b968009410d82 MD5 · raw file
- ============================================================
- +------------------------------------+
- | TXT2TAGS SAMPLE for Ascii Art Text |
- +------------------------------------+
- +----------------+
- | Aurelio Jargas |
- +----------------+
- +------------+
- | 2010-10-10 |
- +------------+
- ============================================================
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 1/16
- Table of Contents
- Aurelio Jargas 2010-10-10
- ============================================================
- +-------------------------+
- | * Introduction |
- | * Fonts and Beautifiers |
- | * Beautifiers |
- | * Pre-Formatted Text |
- | * More Cosmetics |
- | * Lists |
- | * Plain List |
- | * Numbered List |
- | * Definition List |
- | * Tables |
- | * Special Entities |
- | * Images |
- | * Other |
- +-------------------------+
- ============================================================
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 2/16
- TXT2TAGS SAMPLE for Ascii Art Text
- Aurelio Jargas 2010-10-10
- ============================================================
- Before the Introduction.
- It's fine !
- ============================================================
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 3/16
- Introduction
- Aurelio Jargas 2010-10-10
- ============================================================
- Welcome to the txt2tags sample file.
- Here you have examples and a brief explanation of all
- marks.
- The first 3 lines of the this file are used as headers,
- on the following format:
- line1: document title
- line2: author name, email
- line3: date, version
- Lines with balanced equal signs = around are titles.
- ============================================================
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 4/16
- Fonts and Beautifiers
- Aurelio Jargas 2010-10-10
- ============================================================
- We have two sets of fonts:
- The NORMAL type that can be improved with beautifiers.
- The TYPEWRITER type that uses monospaced font for
- pre-formatted text.
- We will now enter on a subtitle...
- Beautifiers
- ===========
- The text marks for beautifiers are simple, just as you
- type on a plain text email message.
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 5/16
- Fonts and Beautifiers
- Aurelio Jargas 2010-10-10
- ============================================================
- We use double *, /, - and _ to represent *bold*,
- /italic/, -strike- and _underline_.
- The */bold italic/* style is also supported as a
- combination.
- Pre-Formatted Text
- ==================
- We can put a code sample or other pre-formatted text:
- here is pre-formatted
- //marks// are **not** ``interpreted``
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 6/16
- Fonts and Beautifiers
- Aurelio Jargas 2010-10-10
- ============================================================
- And also, it's easy to put a one line pre-formatted
- text:
- prompt$ ls /etc
- Or use pre-formatted inside sentences.
- More Cosmetics
- ==============
- Special entities like email (duh@somewhere.com) and
- URL (http://www.duh.com) are detected automagically,
- as long as the horizontal line:
- ----------------------------------------------------------
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 7/16
- Fonts and Beautifiers
- Aurelio Jargas 2010-10-10
- ============================================================
- ^ thin or large v
- ==========================================================
- You can also specify an explicit link (http://duh.org)
- with label.
- And remember,
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 8/16
- Fonts and Beautifiers
- Aurelio Jargas 2010-10-10
- ============================================================
- +----------------------------------------------+
- | A TAB in front of the line does a quotation. |
- +----------------------------------------------+
- +-------------------------------------+
- | More TABs, more depth (if allowed). |
- +-------------------------------------+
- Nice.
- ============================================================
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 9/16
- Lists
- Aurelio Jargas 2010-10-10
- ============================================================
- A list of items is natural, just putting a *dash* or
- a *plus* at the beginning of the line.
- Plain List
- ==========
- The dash is the default list identifier. For sublists,
- just add *spaces* at the beginning of the line. More
- spaces, more sublists.
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 10/16
- Lists
- Aurelio Jargas 2010-10-10
- ============================================================
- +------------------------------+
- | * earth |
- | * america |
- | * south america |
- | * brazil |
- | * how deep can i go? |
- | * europe |
- | * lots of countries |
- | * mars |
- | * who knows? |
- +------------------------------+
- The list ends with *two* consecutive blank lines.
- Numbered List
- =============
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 11/16
- Lists
- Aurelio Jargas 2010-10-10
- ============================================================
- The same rules as the plain list, just a different
- identifier (plus).
- +-----------------------+
- | 1. one |
- | 2. two |
- | 3. three |
- | * mixed lists! |
- | * what a mess |
- | 1. counting again |
- | 2. ... |
- | 4. four |
- +-----------------------+
- Definition List
- ===============
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 12/16
- Lists
- Aurelio Jargas 2010-10-10
- ============================================================
- The definition list identifier is a colon, followed by
- the term. The term contents is placed on the next line.
- +------------------------+
- | orange |
- | a yellow fruit |
- | apple |
- | a green or red fruit |
- | other fruits |
- | * wee! |
- | * mixing lists |
- | 1. again! |
- | 2. and again! |
- +------------------------+
- ============================================================
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 13/16
- Tables
- Aurelio Jargas 2010-10-10
- ============================================================
- Use pipes to compose table rows and cells.
- Double pipe at the line beginning starts a heading row.
- Natural spaces specify each cell alignment.
- +-----------+-------------+------------+
- | heading 1 | heading 2 | heading 3 |
- +===========+=============+============+
- | cell 1.1 | cell 1.2 | cell 1.3 |
- +-----------+-------------+------------+
- | cell 2.1 | cell 2.2 | cell 2.3 |
- +-----------+-------------+------------+
- Without the last pipe, no border:
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 14/16
- Tables
- Aurelio Jargas 2010-10-10
- ============================================================
- +-----------+-------------+------------+
- | heading 1 | heading 2 | heading 3 |
- +-----------+-------------+------------+
- | cell 1.1 | cell 1.2 | cell 1.3 |
- | cell 2.1 | cell 2.2 | cell 2.3 |
- +-----------+-------------+------------+
- ============================================================
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 15/16
- Special Entities
- Aurelio Jargas 2010-10-10
- ============================================================
- Because things were too simple.
- Images
- ======
- The image mark is as simple as it can be: [filename].
- [img/photo.jpg]
- +-------------------------------------------------------+
- | * The filename must end in PNG, JPG, GIF, or similar. |
- | * No spaces inside the brackets! |
- +-------------------------------------------------------+
- Other
- =====
- ------------------------------------------------------------
- ============================================================
- TXT2TAGS SAMPLE for Ascii Art Text 16/16
- Special Entities
- Aurelio Jargas 2010-10-10
- ============================================================
- The handy %%date macro expands to the current date.
- That's all for now.
- ============================================================