---
name: "euk2edit"
section: "1"
platform: "linux"
package: "eukleides"
version: "1.0.3-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/eukleides"
---

# euk2edit(1)

a Euclidean geometry drawing language compiler.

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

## NAME

eukleides - a Euclidean geometry drawing language compiler.

## SYNOPSIS

**eukleides** \[ -v \| -h \]\
 **eukleides** \[ -f \] *filename*\
 **euk2eps** *filename*\
 **euk2edit** *filename* *format*

## DESCRIPTION

The language *Eukleides* provides simple and powerful commands for creating elementary Euclidean geometry figures. The compiler **eukleides** translates a source file written in this specific language into TeX (PSTricks) macro-commands. The result is sent to standard output.\
 The shell script **euk2eps** creates an EPS file from a Eukleides source file. It calls **eukleides**, **tex**, **dvips** and removes the intermediate files. The shell script **euk2edit** converts a Eukleides source file into various vector graphic formats. It calls **euk2eps**, **eps2pdf**, **pstoedit** and removes the intermediate files. To know the available formats, run **pstoedit --help**.

### Options

- **-v**

  Print version number.

- **-h**

  Print immediate help.

- **-f**

  Run as a filter, in order to compile figures embedded in a (La)TeX source file. In this case, they have to begin with \`%--eukleides' and end with \`%--stop' or \`%--end'. The \`%--stop' ending tag tells **eukleides** to keep variables in memory for further use. With the \`%--end' tag, variables are cleared.

## DOCUMENTATION

See \`Eukleides' entry in info for comprehensive documentation.

## SEE ALSO

xeukleides (1).

## AUTHOR

Christian Obrecht \<obrecht@altern.org\>.
