From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82447 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: authoring for web and print - suggestions Date: Sat, 11 May 2013 13:08:23 +0200 Message-ID: <518E26A7.1090207@uni-bonn.de> References: <20130511102651.GA22952@gamma.logic.tuwien.ac.at> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368270519 11289 80.91.229.3 (11 May 2013 11:08:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 May 2013 11:08:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 11 13:08:40 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ub7fK-000064-RG for gctc-ntg-context-518@m.gmane.org; Sat, 11 May 2013 13:08:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEED4101F0; Sat, 11 May 2013 13:08:37 +0200 (CEST) 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 JTV4jv5bwmnN; Sat, 11 May 2013 13:08:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 57018101EB; Sat, 11 May 2013 13:08:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8183101EB for ; Sat, 11 May 2013 13:08:34 +0200 (CEST) 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 IcZNQBr+iUgW for ; Sat, 11 May 2013 13:08:34 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 102C5101E0 for ; Sat, 11 May 2013 13:08:24 +0200 (CEST) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4BB8Npn029038 for ; Sat, 11 May 2013 13:08:23 +0200 Original-Received: from [87.178.34.182] (account tschmit1@uni-bonn.de HELO [192.168.0.39]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.4.9) with ESMTPSA id 44160545 for ntg-context@ntg.nl; Sat, 11 May 2013 13:08:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 In-Reply-To: <20130511102651.GA22952@gamma.logic.tuwien.ac.at> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.113; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RJyz8niA - 93bd46ec5f48 - 20130511 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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 Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82447 Archived-At: On 05/11/2013 12:26 PM, Norbert Preining wrote: > Does anyone have experience with authoring for web and print. I.e., > we want to maintain only one format and generate both web pages and > printed documentation from it. Is there intrinsic or through addons > support in ConteXt for this? > > Any suggestion would be greatly welcome I think the most natural route would be to author your content in generic xml. This can be wonderfully processed in ConTeXt, and you can use XSLT to produce xhtml. In theory, you could also directly process xhtml in ConTeXt, but personally (mind you, I'm no authority on these questions at all) writing xml (such as docbook) gives you more wiggle room, should you ever want to reuse your content (just think your organization uses a new CMS, and you need a different form of html). Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________