summaryrefslogtreecommitdiff
path: root/tex/context/base/back-exp.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/back-exp.mkiv')
-rw-r--r--tex/context/base/back-exp.mkiv12
1 files changed, 9 insertions, 3 deletions
diff --git a/tex/context/base/back-exp.mkiv b/tex/context/base/back-exp.mkiv
index 7fd1b5799..4b91636b7 100644
--- a/tex/context/base/back-exp.mkiv
+++ b/tex/context/base/back-exp.mkiv
@@ -113,9 +113,12 @@
\unexpanded\def\dotagsetnotesymbol{\taggedctxcommand{settagdescriptionsymbol("\currentnote",\currentnotenumber)}}%
\to \everyenableelements
-% \appendtoks
-% \unexpanded\def\doverbatimspace{\asciispacechar}% will be done permanently
-% \to \everyenableelements
+\appendtoks
+ \let\specialfixedspace \explicitfixedspace
+ \let\specialobeyedspace \explicitobeyedspace
+ \let\specialstretchedspace\explicitstretchedspace
+ \let\specialcontrolspace \explicitcontrolspace
+\to \everyenableelements
% The action: \setupbackend[export=yes] % or filename
@@ -137,6 +140,7 @@
\c!author={\directinteractionparameter\c!author},
% \c!firstpage=, % imagename
% \c!lastpage=, % imagename
+ \c!alternative=, % html, div
\c!hyphen=\v!no]
\def\dosynchronizeexport
@@ -166,6 +170,8 @@
{\enabledirectives[backend.export.xhtml=\backendparameter\c!xhtml]}%
\doifsomething{\backendparameter\c!css}
{\enabledirectives[backend.export.css={\backendparameter\c!css}]}%
+ \doifsomething{\backendparameter\c!alternative}
+ {\enabledirectives[backend.export.alternative={\backendparameter\c!alternative}]}%
\to \everysetupbackend
\appendtoks