# Passepartout layout example

This text is formatted in XHTML, which is almost the same as ordinary HTML, but redefined as an XML application. In XHTML, you cannot write tags that are not closed. For example, a paragraph must be started with <p> and ended with </p>. It is not enough to simply put a <p> between paragraphs. Tags with no content, such as <hr> may be abbreviated from <hr></hr> to <hr/>. An XHTML file must also start with an XML declaration: "<?xml version='1.0'?>" and the <html> root node must have a namespace parameter xmlns with a value of "http://www.w3.org/1999/xhtml".

It should be emphasized that the XHTML stylesheet that is supplied with Passepartout is only an early draft. It does not support things such as tables or multi-level lists.

## Lists

It is possible to do

1. ordered
2. lists

as well as

- unordered
- lists

entirely using XSLT stylesheets.

## The lines

The lines to the left of this text are actually EPS images. Passepartout does not yet have built-in drawing abilities.

## Images

Besides EPS, Passepartout supports a wide variety of raster image formats. The photo on this page is a JPEG image. It has Text avoids object activated, which means text in all frames will avoid the image. The distance between image and text can be specified, in this example it is 6 points.

## Unicode

Passepartout can show any Unicode symbol that is defined in the current font. Here are a few examples: "€ŃŸųģĶşőŮů." Don't despair if you don't know how to type a character directly. All you need to know is its Unicode number (code charts are available at http://www.unicode.org/). If you have Gnome installed, you can also use gucharmap. For instance, the code for the euro symbol (€) is 8364 (20AC hex), so putting the XML entity "&#8364;" (or &#x20AC;) into an XML file will produce a euro symbol. Don't forget the semicolon!