Header spoils X(HT)ML export
Hi Hans, please consider the following example. \setupbackend[export=yes,xhtml=yes,css=yes] \setupheadertexts[{\startelement[header] test \stopelement}] \starttext \startbuffer \startparagraph \input tufte \stopparagraph \startparagraph \input ward \stopparagraph \stopbuffer \startsection[title=first head] \getbuffer \stopsection \startsection[title=second head] \getbuffer \stopsection %% try to comment this section \startsection[title=third head] \getbuffer \stopsection \stoptext The section-title order is now 3, 1, 2 (in the XHTML output). This problem appears only if there is a page break. After commenting the last section the XHTML output looks like expected. Best wishes Andreas PS. I’ve encountered another export problem. Perhaps it is because of an not intending using of \settaggedmetadata … Here is an example. \setupbackend[export=yes,xhtml=yes,css=yes] \startsetups document:start \settaggedmetadata[title=\documentvariable{title}] \stopsetups \startdocument [title=This document title is wrapped in section-tags] \startsection[title=test] \startparagraph \input tufte \stopparagraph \stopsection \stopdocument
On 6-12-2011 23:19, Andreas Harder wrote:
Hi Hans,
please consider the following example.
\setupbackend[export=yes,xhtml=yes,css=yes] \setupheadertexts[{\startelement[header] test \stopelement}]
too messy ... so in the next beta structures is disabled completely in those areas ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Andreas Harder
-
Hans Hagen