From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10120 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: page breakes in \bTD \eTD / \chapter in \bTD Date: Fri, 13 Dec 2002 09:21:44 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20021213092038.00af8b40@server-1> References: <3DF8C5EB.399D8466@gmx.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1039768423 4271 80.91.224.249 (13 Dec 2002 08:33:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2002 08:33:43 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18MlGP-00016l-00 for ; Fri, 13 Dec 2002 09:33:41 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C903610AEF; Fri, 13 Dec 2002 09:33:52 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 187BF10AE7 for ; Fri, 13 Dec 2002 09:32:50 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gBD9OAEK000530 for ; Fri, 13 Dec 2002 10:24:10 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gBD8Whgi003143 for ; Fri, 13 Dec 2002 09:32:43 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <3DF8C5EB.399D8466@gmx.de> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10120 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10120 At 06:22 PM 12/12/2002 +0100, you wrote: >Hi, > >I try to HTML->PDF some HTML pages using ConTeXt. Unfortunally, some of >them contain tables for layout reasons. Seemingly there is no pagebreak >possible within a \bTD. Any ideas what to do in this case? > >An additional problem is that

foo

appear. > >which gets translated as: >\defineXMLsingular[h2] \section > >\defineXMLenvironment[table] \bTABLE \eTABLE >\defineXMLnested[tr] \bTR \eTR >\defineXMLnested[td] \bTD \eTD >\defineXMLnested[th] \bTH \eTH > > >How should I define "h2" in order to get a section (bookmarks, table of >contents) within that bTD ... eTD, currently 'foo' is rendered in the >normal textsize. [[ beware: singular is meant for empty elements (this way you can treat 'm different) ]] \starttext \usemodule[contml] \autoXMLnamespace [context] \setupTABLE[split=yes] \defineXMLcommand[h1] {\ifinner \expandafter \bfd \else \expandafter \section \fi} \startbuffer

misusing tags

misusing the h1 tag for
getting a larger font is
a typical example of how
html tags are misused
\stopbuffer \dorecurse{20}{\processXMLbuffer} \stoptext ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------