# Elementname: `Options`

## Description

Set publisher specific options

Allowed attributes: colorprofile, cutmarks, ignoreeol, mainlanguage, resetmarks, show-grid, show-gridallocation, show-hyphenation, startpage, trace, trim

Child elements: (none)

Parent elements: Include, Layout

### Attributes

colorprofile (optional)

  Cut marks / crop marks will be placed in the PDF. The distance of the marks from the imaginary center is determined by the attribute `trim`, but is at least 5mm. The length of the cut marks is 1cm. The default of this attribute is `no`, that means no cut marks will be displayed.

  yes: | Show crop marks.
  no: | Don't show crop marks (default).

trim (length, optional)

  The amount of bleed. Defaults to 0mm.

colorprofile (text, optional)

  The filename of the color profile. The default profile is »ISO Coated v2 (ECI)«. Only used when spot colors are used.

mainlanguage (optional)

  The default language for text (hyphenation). You can also set the default language on the command line and locally set it at Paragraph.

ignoreeol (optional)

  Ignore newlines in data-xml

  yes: | Ignore newlines in data-xml
  no: | Respect newlines in data-xml

resetmarks (optional)

  Yes: ignore the marks file from previous run.

  yes: | Ignore marks from the previous run.
  no: | Use marks from the previous run (default).

startpage (number, optional)

  Set the number of the first page.

trace (optional)

  Draw rectangles around objects for debugging purposes.

  yes: | Verbose output in the log file and the PDF.
  no: | Regular run (default).

show-grid (optional)

  Draw the grid on the page.

  yes: | Show the grid.
  no: | Don't show the grid (default).

show-gridallocation (optional)

  Draw allocated cells with yellow and conflicts with red markers.

  yes: | Show grid allocation.
  no: | Don't show the grid allocation (default).

show-hyphenation (optional)

  Draw little marks to show all hyphenation points.

  yes: | Show hyphenation points.
  no: | Don't show any hyphenation points (default).

## Example

    <Options
        show-gridallocation="no"
        show-grid="yes"
        cutmarks="yes"
        trim="3mm"/>

## See also

Cutmarks and bleed

# Commands

- A
- Action
- AddToList
- AtPageCreation
- AtPageShipout
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Color
- Column
- Columns
- Contents
- Copy-of
- DefineColor
- DefineFontfamily
- DefineTextformat
- Element
- EmptyLine
- Fontface
- ForAll
- Frame
- Grid
- Group
- HSpace
- Hyphenation
- I
- Image
- Include
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- Ol
- Options
- Otherwise
- Output
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- Sequence
- SetGrid
- SetVariable
- SortSequence
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 2.2.0 | Start page | Command reference | Other language: German