From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70033 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: File.export to File.html Date: Fri, 15 Jul 2011 11:08:21 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310720924 25533 80.91.229.12 (15 Jul 2011 09:08:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 09:08:44 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 15 11:08:40 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 1QheNz-0001Jp-T2 for gctc-ntg-context-518@m.gmane.org; Fri, 15 Jul 2011 11:08:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F2A1CAE45; Fri, 15 Jul 2011 11:08:39 +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 kHE0ArjZQqAj; Fri, 15 Jul 2011 11:08:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B81F4CAE40; Fri, 15 Jul 2011 11:08:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 92C4ACAE40 for ; Fri, 15 Jul 2011 11:08:32 +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 Kdi8LY0lfzay for ; Fri, 15 Jul 2011 11:08:30 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 3FB93CAE3D for ; Fri, 15 Jul 2011 11:08:30 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6F98Txo025047 for ; Fri, 15 Jul 2011 11:08:29 +0200 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Fri, 15 Jul 2011 11:08:26 +0200 In-Reply-To: User-Agent: Opera Mail/11.50 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rF898tpT - 04948afad6c6 - 20110715 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:70033 Archived-At: ... Perfect, thanks! (c:\ConTeXt\tex\texmf-context\tex\context\base\export-example.*) I didn't know this example; creating .(x)htm(l) in such way is really easy! Best regards, Lukas On Fri, 15 Jul 2011 10:36:32 +0200, luigi scarso w= rote: > 2011/7/15 Proch=E1zka Luk=E1=B9 Ing. - Pontex s. r. o. : >> Hello, >> >> the following question may relate to XML processing rather to Context. >> >> But someone may have needed to solve the problem. >> >> Lets have a File.export which was generated by Context with >> "\setupbackend[export=3Dyes,xhtml=3Dyes,css=3Dyes]". >> >> Such a XML output file uses tags like: >> >>
>> >> >> >> >> >> ... >> >> Has anyone solved conversion of such a file to an [arbitrary] .(x)html? >> >> I have only slight knowledge about XML transformations - the task is just >> about converting the Context XML to XHTML - and I would be hardly able to >> write a XSLT from scratch. >> >> Moreover, I don't have personal experience with any XML processor/conver= ter. >> >> It wouldn't be so important how the resulting .html would be "perfect"; = the >> main goal is to convert Context File.export to File.html with working >> hyperlinks to view it in a web page viewer. >> >> Could anyone describe his experience? >> >> - Processor, support file(s) (XSLT?); any demos of such support files (t= heir >> "minimals") or "complex solutions" would be welcome; whatever working >> solution. >> >> I'm WinXP (32b) user, so demos for Windows are preferred but any hints a= re >> welcome. > The context way is to demand the css files about the meaning of the tags . > If you search in the ml (or grep the code) you will find an example of > this; see also > example-export.css in the minimals. > -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________