Difference between revisions of "Command/setupexport"

From Wiki
Jump to navigation Jump to search
(new)
 
m (more links)
 
Line 46: Line 46:
 
     </cd:parameter>
 
     </cd:parameter>
 
     <cd:parameter name="hyphen">
 
     <cd:parameter name="hyphen">
       <cd:paramdoc>add `&amp;shy;` for soft hyphens</cd:paramdoc>
+
       <cd:paramdoc></cd:paramdoc>
       <cd:constant type="yes"></cd:constant>
+
       <cd:constant type="yes">add `&amp;shy;` for soft hyphens</cd:constant>
       <cd:constant default="yes" type="no"></cd:constant>
+
       <cd:constant default="yes" type="no">no hyphenation in HTML</cd:constant>
 
     </cd:parameter>
 
     </cd:parameter>
 
     <cd:parameter name="cssfile">
 
     <cd:parameter name="cssfile">
       <cd:paramdoc></cd:paramdoc>
+
       <cd:paramdoc>include CSS file</cd:paramdoc>
 
       <cd:constant type="cd:file"></cd:constant>
 
       <cd:constant type="cd:file"></cd:constant>
 
     </cd:parameter>
 
     </cd:parameter>
Line 76: Line 76:
 
<cd:commandref name="setupbackend"></cd:commandref>
 
<cd:commandref name="setupbackend"></cd:commandref>
 
<cd:wikipage page="Export"></cd:wikipage>
 
<cd:wikipage page="Export"></cd:wikipage>
<cd:commandref name="ePub"></cd:commandref></cd:seealso>
+
<cd:wikipage page="ePub"></cd:wikipage>
 +
<cd:commandref name="setupinteraction"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 16:17, 7 February 2024


\setupexport

Summary

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

Settings

\setupexport[...=...,...]
alignflushleft middle flushright normal
bodyfontdimension
widthdimension
titletext
subtitletext
authortext
alternativehtml div
propertiesyes no
hyphenyes no
cssfilefile
firstpagefile
lastpagefile

OptionExplanation
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 &shy; 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: