Command/setupexport

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-12

Summary

The command \setupexport is used for XML/HTML export settings

Settings

\setupexport[...=...,...]
align flushleft middle flushright normal
bodyfont dimension
width dimension
title text
subtitle text
author text
alternative html div
properties yes no
hyphen yes no
cssfile file
firstpage file
lastpage file

Option Explanation
title
metadata, defaults to \setupinteraction value
subtitle
metadata, defaults to \setupinteraction value
author
metadata, defaults to \setupinteraction value
alternative
html use HTML structure tags like H1, P
div use DIVs for everything
hyphen
yes add ­ for soft hyphens
no no hyphenation in HTML
cssfile
include CSS file
firstpage
front page image
lastpage
back cover image

Description

This is necessary for EPUB generation. Most of the settings affect the generated CSS.

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: