From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63379 Path: news.gmane.org!not-for-mail From: Peter Davis Newsgroups: gmane.comp.tex.context Subject: Re: XSL-FO to PDF? Date: Wed, 10 Nov 2010 06:32:09 -0500 Message-ID: References: <4CD9E470.1000708@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0864789603==" X-Trace: dough.gmane.org 1289388746 23963 80.91.229.12 (10 Nov 2010 11:32:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Nov 2010 11:32:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 10 12:32:22 2010 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 1PG8uc-00024o-FD for gctc-ntg-context-518@m.gmane.org; Wed, 10 Nov 2010 12:32:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F680CA846; Wed, 10 Nov 2010 12:32:22 +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 mRiJTFdQ13B2; Wed, 10 Nov 2010 12:32:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0015CA82D; Wed, 10 Nov 2010 12:32:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1FA1CA82D for ; Wed, 10 Nov 2010 12:32:15 +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 vPtf3vSncEnU for ; Wed, 10 Nov 2010 12:32:13 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id 6272CCA7E7 for ; Wed, 10 Nov 2010 12:32:13 +0100 (CET) Original-Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAABWAJJ018722 for ; Wed, 10 Nov 2010 12:32:11 +0100 Original-Received: by gxk2 with SMTP id 2so288137gxk.14 for ; Wed, 10 Nov 2010 03:32:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=aL7LgldZ1RyuynoGCyNf2D1d0+lF8Gd74U/FYt9YWyg=; b=vAgCrBs9t5Kdt+odibQVHt3ki7AYly+5qqOGfxis4OsMYNWDLinfsBro1cItCJkws5 YKXQuUFCwU7x7qlEv0hRC7M4y5qCUNJ/5jO65E7y2Ti0bIZrfUfgfCpP/rUsYGd/ucPw +wLRn3jAZQPwBwF7o+ZUQpwRx8bw8GrwsQtrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=CGl4b11LMr/D9oxPOlitryw5to9O/+u6/EdFfOjOHm6y7PoT0Q2D8eQ/IPGfOCm0Aw yz29LbXx2ivgPji+D03xVULXdMLRz7UZ+59E0ddgzGy3onRQuL1m6uXMHvIyjkQQdHLO vZOiDJp04K+OHiJUloCLArq3d2VUhwbppd+Hg= Original-Received: by 10.100.13.2 with SMTP id 2mr4845373anm.92.1289388729359; Wed, 10 Nov 2010 03:32:09 -0800 (PST) Original-Received: by 10.100.133.20 with HTTP; Wed, 10 Nov 2010 03:32:09 -0800 (PST) In-Reply-To: <4CD9E470.1000708@wxs.nl> X-Google-Sender-Auth: EIwR736ws2srLyO8fuJBFTgmPjk X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0DDtnwaNz - 8d61d9af3fd5 - 20101110 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 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:63379 Archived-At: --===============0864789603== Content-Type: multipart/alternative; boundary=0016e644c76630de4f0494b13506 --0016e644c76630de4f0494b13506 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 9, 2010 at 7:16 PM, Hans Hagen wrote: > On 10-11-2010 12:22, Peter Davis wrote: > >> Is there some recent information on using XML, and specifically XSL-FO, >> with >> ConTeXt? The pages on the contextgarden wiki appear to be 5 years old or >> more, and even the archive of this list seem pretty sparse on recent >> information. >> >> I'm trying to find the most direct route from XSL-FO to PS or PDF. I'll be >> generating hundreds or thousands of XSL-FO documents, and would like to >> process them. >> > > there was never much interest in FO and usually such code only gets better > when it's used; I have it on my todo list to rewrite the mkii specific FO > processing code in mkiv as it can be done more efficient etc etc but there > is not that much incentive ... in projects that I'm involved in we normally > go directly from xml to pdf simply because it's faster, gives better results > and takes less coding than going the fo-route; and as FO is not that much > fun, I'd either need a project or see it as a challenge (btw, it's not that > big a deal to rewrite the mkii code to mkiv) > > Hans > Thanks, Hans. I can certainly understand that FO has not gotten much attention. In our case, though, this is the XML format we're starting with. It's not a matter of converting other xml to FO. I'd be happy to look at the mkii code, but considering that I'm brand spanking new to ConTeXt, I don't expect to make any great strides there for a while. Is it possible to put a setup inside an xmlsetup? For example, if the xml specifies a page size, can I put a setup for that inside the xmlsetup that handles that element? Thank you, -pd --0016e644c76630de4f0494b13506 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Nov 9, 2010 at 7:16 PM, Hans Hagen <= span dir=3D"ltr"><pragma@wxs.nl>= wrote:
On 10-11-2010 12:22, Peter Davis wrote:
Is there some recent information on using XML, and specifically XSL-FO, wit= h
ConTeXt? =A0The pages on the contextgarden wiki appear to be 5 years old or=
more, and even the archive of this list seem pretty sparse on recent
information.

I'm trying to find the most direct route from XSL-FO to PS or PDF. I= 9;ll be
generating hundreds or thousands of XSL-FO documents, and would like to
process them.

there was never much interest in FO and usually such code only gets better = when it's used; I have it on my todo list to rewrite the mkii specific = FO processing code in mkiv as it can be done more efficient etc etc but the= re is not that much incentive ... in projects that I'm involved in we n= ormally go directly from xml to pdf simply because it's faster, gives b= etter results and takes less coding than going the fo-route; and as FO is n= ot that much fun, I'd either need a project or see it as a challenge (b= tw, it's not that big a deal to rewrite the mkii code to mkiv)

Hans


Thanks, Hans. =A0I = can certainly understand that FO has not gotten much attention. =A0In our c= ase, though, this is the XML format we're starting with. =A0It's no= t a matter of converting other xml to FO. =A0I'd be happy to look at th= e mkii code, but considering that I'm brand spanking new to ConTeXt, I = don't expect to make any great strides there for a while.

Is it possible to put a setup inside an xmlsetup? =A0Fo= r example, if the xml specifies a page size, can I put a setup for that ins= ide the xmlsetup that handles that element?

Thank = you,
-pd
--0016e644c76630de4f0494b13506-- --===============0864789603== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0864789603==--