Logo-small Howto

Parts, Chapters, Sections, Subsections

Do not use the heading markup !, it cannot be properly converted to Latex. Instead add a new structure for every section using the Add command. Name the section according to their latex label, only use lowercase characters and no spaces. This is the name that will appear in the URL. For the title capitalize the individual words.

Chapters, sections and subsections are displayed in the order they are created. They can be rearranged using the Order command.


To embed a figure create a link of the form


The line embeds the figure and sets the width of the image. For the width use a percentage between 50% and 100%. Only upload PNG files without transparency, no JPEG or GIF files. Do not upload files that have spaces in their name. As the name property use the name of the file you upload. Edit the title property, it will become the caption of the image and show up in the index of figures.

If the figure does not exist yet, it will show as a red link. Clicking on it allows you to create it. Chose "Book Figure" as the structure type to create. Then on the next page edit the title (caption) and upload the image.

Keyword Index

To add a keyword to the index use +index:WAComponent+. To add a two level keyword use the syntax +index:WAComponent!renderContentOn:+. Note that this markup does not generate any output. Preferably put it at the beginning of the paragraph.

Source Code

For inlined source code use the syntax ==100 factorial== . For blocks of code that should be highlighted using the Smalltalk parser begin each line with == . Use 4 spaces to indent the code, no tabs.

^ self < 2
ifTrue: [ 1 ]
ifFalse: [ self * (self - 1) factorial ]

To have non highlighted code begin each line with a single =.

squeak -headless seaside.image


To create references to chapters, sections or figures use the normal link-syntax but prepend it with ref:, for example:


This will create a link of the form Form 123 and Section 4.


Avoid unnecessary line breaks in paragraphs. Don't use wrapped text, that is clumsy and almost impossible to edit afterwards from the web browser. In TextMate use the command Unwrap Paragraph (Ctrl+Alt+Q) to properly format the paragraph before pasting into Pier.

Use the syntax @@important This is the paragraph text. to annotate a paragraph.

This is an @@important paragraph.

This is a @@blockquote paragraph.

This is a @@note paragraph.

This is an @@advanced paragraph.

This is a @@todo paragraph.


j Previous Page
k Next Page
p Parent Page
i Table of Contents

User Contributed Notes

darkdescendant (14 March 2013, 10:42 pm)

Navigation states j is prev, k is next but in Firefox 19 on Mac OS X 10.8 this is reversed. I also repro'd this in Safari.

Add a Note

Licensed under Creative Commons BY-NC-SA | Published using Pier |