diff options
Diffstat (limited to 'tex/context/base/xtag-pre.tex')
-rw-r--r-- | tex/context/base/xtag-pre.tex | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/xtag-pre.tex b/tex/context/base/xtag-pre.tex index 6ce33ab84..f9d0afa09 100644 --- a/tex/context/base/xtag-pre.tex +++ b/tex/context/base/xtag-pre.tex @@ -111,15 +111,19 @@ %D strange syntax. %D %D \starttypen -%D <!CDATA[ +%D <!CDATA[it starts here %D whatever you like to be shown verbatim -%D ]]> +%D and ends here]]> %D \stoptypen %D %D Watch this rather obscure definition (we need to pass an %D \type {[} to the macro. -\defineXMLescape [{CDATA[}] +% \defineXMLescape [{CDATA[}] +% {\skipfirstverbatimlinefalse +% \processtaggeddisplayverbatim{]]>}} + +\defineXMLescape [CDATA] {\skipfirstverbatimlinefalse \processtaggeddisplayverbatim{]]>}} |