From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16571 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Context against XSL Date: Fri, 01 Oct 2004 00:35:08 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <415C8A1C.5090404@wxs.nl> References: <415C1B8B.3030709@hotmail.com> <415C5937.5050900@wxs.nl> <415C7245.4060104@hotmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096583734 6635 80.91.229.6 (30 Sep 2004 22:35:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2004 22:35:34 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 01 00:35:17 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CD9W9-0007Ku-00 for ; Fri, 01 Oct 2004 00:35:17 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0BAB712788; Fri, 1 Oct 2004 00:35:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16786-05; Fri, 1 Oct 2004 00:35:12 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D0E451277F; Fri, 1 Oct 2004 00:35:12 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D9581277F for ; Fri, 1 Oct 2004 00:35:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17101-01 for ; Fri, 1 Oct 2004 00:35:09 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id D40411277A for ; Fri, 1 Oct 2004 00:35:09 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i8UMZ3JU031864 for ; Fri, 1 Oct 2004 00:35:03 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 1B7D72F246; Fri, 1 Oct 2004 00:35:09 +0200 (CEST) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id A47B12F241 for ; Thu, 30 Sep 2004 22:35:07 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <415C7245.4060104@hotmail.com> X-Virus-Scanned: ClamAV 0.80rc3/509/Wed Sep 29 11:09:42 2004 clamav-milter version 0.80c on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16571 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16571 Dirar Bougatef wrote: > > xsl is mostly a specification, and there are program soutthere that > implement parts of is. The page model that xsl uses is not that > advanced. Also, because you more or less make up the page, you also sort > > of disable all kind of clever things that batch processors like tex + > macropackages may do. This means that xsl (fo) is suited for a certain > range of typesetting tasks. From my experience your expectations > > should not be that high with regards to complex layouts. > > Do you mean that i went too far in my interpretation of XSL blocks as > TEX boxes ? > What i see is that XSL as you said is quiet the same thing as CSS2 hence > it will support complex layouts (At the end it is only a matter of > dividing your page into big or small boxes and the ability of accessing > them, isn't it ?). In this case the difference with tex is only going to > be that the last handles caracter (with ligatures etc.) and word spacing > (with regard to hyphenation) according to some rules where the other > doesn't. there is more: pagebreaks, floats, marginal notes, etc those are the complicating factors > I have read an article that says that the whole matter about creating > XSL was printed documents with all what this implies such as headers, > footers, etc (The stuff that does not concern electronic documents). indeed, simple docs with only headers and footers -) > > i find that using tex directly (using the context xml parser) in most > cases is rather efficient; the problem is always in getting (frequently > inconsistent) designs done. In that respect my motto has become 'the > > problem does not change' > > What do you mean by this. Is it that i have to stick to only few designs > and avoid changing too much .. ? no, that depending on the layout/design, finding a solution for some problem will always be difficult; kind of: it's nice to use some 4th generation language, but it still leaves us with the 10% hard work in a 3th one; look at all those editors we see around us: it's no big deal to cut and past a basic editor from components readily available, making a real good one is still some work -) > I would like to write my documents in XML, keep THEM on a server and > generate PDF, when the user clicks on the link to my document. > Of course i want to use Context to typeset my document. What can i use > for this ? Have you already writen a parser for standard (e.g Docbook) > documents ? some have, not me; it's a matter of mapping elements onto context thingies, the parser is already there; just peek in the x-* files Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------