---
name: "kwartz-ruby"
section: "1"
platform: "linux"
package: "kwartz"
version: "1:2.0.0-beta3-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/kwartz"
---

# kwartz-ruby(1)

language independent HTML templating system

Part of [kwartz(1)](/kwartz/1.md).

## NAME

**kwartz - language independent HTML templating system**

## SYNOPSIS

```
kwartz [options] files ...
```

## DESCRIPTION

**kwartz is a template system which allows you to separate HTML design** **from programming logic. It creates a script in one of several languages** **from the template, which you then call from your web application.**

## OPTIONS

- **-h, --help**

  **help**

- **-v**

  **version**

- **-a action**

  **compile/parse/translate/convert/analyze (default 'compile')**

- **-l lang**

  **eruby/erb/php/jstl10/jstl11 (default 'eruby')**

- **-s, -e**

  **sanitize(escape) (equvarent to --escape=true)**

- **-p file1,file2,...**

  **presentation logic filenames**

- **-i file1,file2,...**

  **import element from outer** *files*

- **--escape\[=true\]**

  **sanitize(escape)**

- **--rename\[=true\]**

  **rename local variables (ex. rename 'var' to '\_var')**

- **--charset=name**

  **add '\<%@ page contentType="text/html; charset=name" %\>'**

- **--odd=value**

  **odd  value in FOREACH or LIST (default "'odd'")**

- **--even=value**

  **even value in FOREACH or LIST (default "'even'")**

- **--dattr=name**

  **use attribute name as directive (default "kw:d")**

- **--header=text**

  **header text**

- **--footer=text**

  **footer text**

- **--extract=name**

  **extract an marked element**

- **--include-dirs=dir1,dir2,...**

  **directories for 'include:' directive**

## SEE ALSO

- **/usr/share/doc/kwartz/doc/users-guide.en.html**

  **The kwartz template system users-guide**

- **/usr/share/doc/kwartz/doc/reference.en.html**

  **The kwartz template system reference manual**

- **http://www.kuwata-lab.com/kwartz/**

  **The kwartz home page.**

## AUTHOR

**This manual page was written by Wesley J. Landaker \<wjl@icecavern.net\>,** **for the Debian project (but may be used by others without restriction).**
