From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68219 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Error with export=yes Date: Fri, 6 May 2011 10:45:01 -0400 (EDT) Message-ID: References: <4DC400B4.7050208@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1304693134 14828 80.91.229.12 (6 May 2011 14:45:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 14:45:34 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri May 06 16:45:28 2011 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 1QIMHX-0001PT-Sx for gctc-ntg-context-518@m.gmane.org; Fri, 06 May 2011 16:45:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07340CACA5; Fri, 6 May 2011 16:45:27 +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 gnpyUeeIQhFR; Fri, 6 May 2011 16:45:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D440CAC9E; Fri, 6 May 2011 16:45:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1531ECAC9E for ; Fri, 6 May 2011 16:45:23 +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 aRHmuOWLGxVJ for ; Fri, 6 May 2011 16:45:09 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 25E81CABB6 for ; Fri, 6 May 2011 16:45:09 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p46Ej6Ep022194 for ; Fri, 6 May 2011 16:45:08 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096682363.dsl.bell.ca [65.94.11.123]) By tombraider.mr.itd.umich.edu ID 4DC4096F.CA868.15574 ; Authuser adityam; 6 May 2011 10:45:03 EDT In-Reply-To: <4DC400B4.7050208@wxs.nl> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03EEeJ6iW - 9bbe38fdcdd7 - 20110506 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:68219 Archived-At: On Fri, 6 May 2011, Hans Hagen wrote: > On 6-5-2011 3:39, Aditya Mahajan wrote: >> \setupbackend[export=yes] >> \starttext test \stoptext > > I'll fix it. You can set an xhtml file as well as some css. > > \setupbackend[export=yes] > \setupbackend[export=yes,xhtml=yes] > \setupbackend[export=yes,xhtml=whatever.xhtml] > \setupbackend[export=yes,css={whatever.css,somemore.css}] Ah, thanks. > So, you can have dual output: pdf and xhtml. Normally the xml + css will do > but if you also want interactivity then you need the xhtml option (adds some > 'a' wrappers). I will also add an epub option for producing those epub zip > files. That will be great. > I can send you an example (cld-mkvi) if needed that shows an example of css > hooked into such output. That manual starts with: > > \setupbackend > [export=cld-mkiv-export.xml, > xhtml=cld-mkiv-export.xhtml, > css={cld-mkiv-export.css,mathml.css}] Please do send the example. > There's an article in the eurotex proceedings about these issues. I don't > know if Mojca has put the presentation somewhere online. I'll try to find that. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________