ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Header spoils X(HT)ML export
@ 2011-12-06 22:19 Andreas Harder
  2011-12-09 17:28 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Harder @ 2011-12-06 22:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Header spoils X(HT)ML export
  2011-12-06 22:19 Header spoils X(HT)ML export Andreas Harder
@ 2011-12-09 17:28 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2011-12-09 17:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-09 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06 22:19 Header spoils X(HT)ML export Andreas Harder
2011-12-09 17:28 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).