Letter: Turn a wiki page into a letterWhy would I want to use a wiki to write and print a business or personal letter? ![]() 16th century alphabet from the Vatican On the other hand, why would I use a word processor to write a letter, when I can use a wiki? The advantages of using a wiki include the usual suspects:
When we create a wiki page, it is generally either free-form — it can be laid out in whatever way the author sees fit — or controlled — the author fills in a form containing a number of pre-defined fields (like the current page). However, a letter is a semi-structured document. That is, it consists of:
In other words, a letter is more structured than a standard wiki page, but less structured than a form-based page. So we need a simple and easy-to-use way to tell Wikipublisher about the various parts of a letter, thereby enabling it to apply a suitable presentation style to each part. To do this, we use a special set of line markup. The letter markup builds on the familiar Q: and A: start-of-line markup, using other letters of the alphabet. The parts of a letter shows the letter parts in the order in which they are used — letters use letter markup!
To see how the markup is used, have a look at the wiki source of a sample letter page. That page also contains a (:typeset-letter:) directive, which adds a Typeset letter button to the page. When pressed, this tells Wikipublisher to use the letter template for typesetting the page. The page includes a return address in the footer (F: and P: markup). This can be suppressed (for example so the letter can be printed onto letterhead paper), by selecting return=off under the PDF options. At the moment, Wikipublisher does not include line markup for letter enclosures (encl.) or postscripts (PS).1 The LATEX letter template also imposes a few restrictions on the markup that can be used in a letter:
1 When typesetting the page, Wikipublisher inserts a postscript containing the page name and last modified date. (↑) Category: document type |