Welcome to Writeup.org

Writeup is a scripting language for documents, making it fast, easy and fun to create documents for the web, for print, or for slide presentation, or all three at once from the same original document.

See the Quick Reference guide for more details!

Printing a variable only if it exisits

If a variable does not exist, then printing it produces an error. There are several methods of getting around this.

  • We will start by setting $hasval to Has a Value, and not setting $noval
  • Our test line will be: Testing ($noval) and ($hasval)

Version 2.51 Released

Writeup version 2.51 has just been released on

As well as a few minor bug fixes, there is a new option: -c --close which will silently close open tags at the end of a document.

This is important for the Drupal integration project since teasers are usually created by chopping off much of the document, and so possibly creating some unclosed structures.

Version 1.5 of the Drupal project integrates with Writeup vers

Writing a Factory Function

A factory function creates other functions.

  • Suppose we want a function that creates links to Drupal project pages. It will allow us to refer to the project writeup using $writeup by creating the definition:
    $writeup=[[https://www.drupal.org/project/writeup writeup]]

Exploring the different kind of assignments

  1. Whole-line assignments $x=value
    Note that any quotations will not be removed but included as part of the value
  2. Inline assigments using $set $set $x=value
  3. Inline assigments using $set $set $x="value" with value in quotations
  4. Inline assigments using $setval $setval $x=value with or without quotations
  • If the assigned value does not contain variables that can be evaluated, then all three methods produce identical answers.

A. the assigned value is a single variable


Writeup 2.4 released

Finally, after months of developing and testing, a new stable version of Writeup has been released: Writeup 2.4.

Get it at sourceforge in Linux, Mac and Windows versions.

  • The whole underlying processing of functions has been refactored to remove some of the earlier limitations.
  • Plus the keywords system increases the power of Writeup immensely.

For a full list of changes, see the changelog.

Another RC for Writeup 2.0 released

A new release candidate for Writeup 2.0 (1.99.16) is now available at sourceforge in Linux, Mac and Windows versions.

  • The main change, as well as a few bug fixes, is better microdata support for time. Previously dates were supported, but now there is good support for time, both as microdata and in the <time> tag.

For a full list of changes, see the changelog.

  • The documentation continues to be improved, although it should probably no longer be called “quick reference” but “full reference”.

Release Candidate of Writeup 2.0 includes a Mac verision

The release candidate for Writeup 2.0 has been released on sourceforge. See sourceforge.net/projects/writeup/files/ for the download page. New features kept creeping in and delaying the release, but this looks good.

The Drupal module for allowing Writeup to be an input filter is now stable. See drupal.org/project/writeup.

Writeup 2.0 RC-3 released

The third release candidate for Writeup 2.0 has been released. The binary can be downloaded from Google code Writeup binary v1.94.03. It will be made available on sourceforge in a few days along with a new shell script for invoking it that extracts multiple commands from the source file and runs them.

Release of Drupal 6 module

The first non-development release of the <^http://http://drupal.org/project/writeup^Drupal 6 Writeup module^> was made today.
As well as tidying up some minor code style formatting, the release adds an error message if the Writeup processor issues any warnings or errors.
The Drupal 7 version should be coming soon!

Syndicate content