# Elementname: `Options`

## Description

Set publisher specific options.

Allowed attributes: bleed, bleedmarks, crop, cutmarks, defaultarea, ignoreeol, imagenotfound, mainlanguage, reportmissingglyphs, resetmarks, startpage

Child elements: (none)

Parent elements: AtPageCreation, AtPageShipout, Case, Contents, ForAll, Include, Layout, Loop, Otherwise, Record, SavePages, Until, While

### Attributes

bleed (length, optional)

  The amount of bleed. Defaults to 0mm.

bleedmarks (optional, since version 2.3.24)

  Trim 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 trim marks will be displayed. The trim marks show the additional trim distance.

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

crop (yes, no or length, optional, since version 2.3.21)

  Crop the pages so that the pdf size of the page is at its minimum. Allowed values are yes, no and a length.

cutmarks (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).

defaultarea (text, optional, since version 2.7.4)

  Name of the area that is used as a default for placing text (commands Output and PlaceObject). Default is `_page`.

ignoreeol (optional)

  Ignore newlines in data-xml

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

imagenotfound (optional, since version 2.3.43)

  When an image is not found: should the publisher raise an error?

  warning: | Show a warning
  error: | Raise an error (default)

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.

reportmissingglyphs (optional, since version 3.1.17)

  Issue an error if glyphs are missing from a font.

  yes: | Show error message (default)
  no: | Do not show an error message

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.

### Remarks

Bleed used to be 'trim' in version 2.7.6 and before.

## Example

    <Options
        cutmarks="yes"
        bleed="3mm"/>

## See also

Cutmarks and bleed

# Commands

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

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