From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14048 Path: main.gmane.org!not-for-mail From: Janko Hauser Newsgroups: gmane.comp.tex.context Subject: Re: How to nicely print XHTML to PDF Date: Fri, 14 Nov 2003 12:52:38 +0100 Organization: need-brain Sender: ntg-context-admin@ntg.nl Message-ID: <20031114125238.7cf8f199.janko@need-brain.de> References: <3FB4B9FE.4070103@web.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068811290 15927 80.91.224.253 (14 Nov 2003 12:01:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2003 12:01:30 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Nov 14 13:01:28 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AKcdk-0002C6-00 for ; Fri, 14 Nov 2003 13:01:28 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E2A9D10B3A; Fri, 14 Nov 2003 13:01:23 +0100 (MET) Original-Received: from mail.primaryroot.net (primaryroot.net [217.160.183.229]) by ref.ntg.nl (Postfix) with SMTP id 8622410B2F for ; Fri, 14 Nov 2003 12:53:12 +0100 (MET) Original-Received: (qmail 10986 invoked by uid 304); 14 Nov 2003 11:53:11 -0000 Original-Received: from janko@need-brain.de by p15125011 by uid 301 with qmail-scanner-1.16 (uvscan: v4.1.60/v4171. spamassassin: 2.31. Clear:. Processed in 1.316757 secs); 14 Nov 2003 11:53:11 -0000 Original-Received: from unknown (HELO lagos) (80.134.210.90) by 0 with SMTP; 14 Nov 2003 11:53:09 -0000 Original-To: ntg-context@ntg.nl In-Reply-To: <3FB4B9FE.4070103@web.de> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-pc-linux-gnu) 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:14048 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14048 On Fri, 14 Nov 2003 12:18:22 +0100 Thomas Schrader wrote: > Hi everybody, > > would you please put this right, if I'm mistaken. > > Isn't ConTeXt capable to typeset XML? And isn't > it really simple to make XHTML from HTML? > In theory, yes :-), practically it can be a huge effort. > So, is there any obstacle against using ConTeXt as > customizable quality-typesetting backend for > (readjusted/simplyfied) (X)HTML pages? What about > power/complexity? How to style output? > I think pdf from xhtml is a very good usecase for context. Although I wouldn't think to do it directly, but transform the xhtml somewhat to a context friendly xml. If you generate modern xhtml on your site, you will have most of the styling in css files and have mostly structural information in the xhtml. A tool can decide with the help of the css definitions in the tags which layout macros it should use. On the other side I do not think, that this approach is the equivilant to the print function of the modern browsers. __Janko Hauser