From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72965 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Header spoils X(HT)ML export Date: Tue, 6 Dec 2011 23:19:15 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1323209970 27745 80.91.229.12 (6 Dec 2011 22:19:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2011 22:19:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 06 23:19:26 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RY3MD-0004Q0-Ut for gctc-ntg-context-518@m.gmane.org; Tue, 06 Dec 2011 23:19:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C251CB10E; Tue, 6 Dec 2011 23:19:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id P2ZSOya0fisu; Tue, 6 Dec 2011 23:19:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5ADACB133; Tue, 6 Dec 2011 23:19:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF27ACB134 for ; Tue, 6 Dec 2011 23:19:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mBLdNM7xz7ZY for ; Tue, 6 Dec 2011 23:19:19 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 0CC1DCB133 for ; Tue, 6 Dec 2011 23:19:18 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB6MJGun016106 for ; Tue, 6 Dec 2011 23:19:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 1E3FED22F9 for ; Tue, 6 Dec 2011 23:19:17 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Tr4-eYOzgCN for ; Tue, 6 Dec 2011 23:19:16 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (91-67-184-190-dynip.superkabel.de [91.67.184.190]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id A02FCD22A7 for ; Tue, 6 Dec 2011 23:19:16 +0100 (CET) X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.26.64.15; country=DE; region=08; city=Koblenz; latitude=50.3500; longitude=7.6000; http://maps.google.com/maps?q=50.3500,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xG5WjgGz - 190f17ae8129 - 20111206 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72965 Archived-At: Hi Hans, please consider the following example. \setupbackend[export=3Dyes,xhtml=3Dyes,css=3Dyes] \setupheadertexts[{\startelement[header] test \stopelement}] \starttext \startbuffer \startparagraph \input tufte \stopparagraph \startparagraph \input ward \stopparagraph \stopbuffer \startsection[title=3Dfirst head] \getbuffer \stopsection \startsection[title=3Dsecond head] \getbuffer \stopsection %% try to comment this section \startsection[title=3Dthird 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 th= e XHTML output looks like expected. = Best wishes Andreas PS. I=92ve encountered another export problem. Perhaps it is because of an = not intending using of \settaggedmetadata =85 Here is an example. \setupbackend[export=3Dyes,xhtml=3Dyes,css=3Dyes] \startsetups document:start \settaggedmetadata[title=3D\documentvariable{title}] \stopsetups \startdocument [title=3DThis document title is wrapped in section-tags] \startsection[title=3Dtest] \startparagraph \input tufte \stopparagraph \stopsection \stopdocument ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________