From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63884 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt mkiv and Drupal Date: Wed, 24 Nov 2010 09:21:57 +0100 Message-ID: <63FE8D70-1E51-48C8-9FB1-CE242DF648C0@gmail.com> References: <4ECD878D-A855-444D-839D-68C9401E8833@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1290603462 5393 80.91.229.12 (24 Nov 2010 12:57:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2010 12:57:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 24 13:57:38 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 1PLEum-0004PG-UV for gctc-ntg-context-518@m.gmane.org; Wed, 24 Nov 2010 13:57:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 963ABCA886; Wed, 24 Nov 2010 13:57:36 +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 hsTWRLCKrtCm; Wed, 24 Nov 2010 13:57:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2421CA871; Wed, 24 Nov 2010 13:57:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1DA80CA871 for ; Wed, 24 Nov 2010 13:57:29 +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 j4Bva5gmrepA for ; Wed, 24 Nov 2010 13:57:23 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id D2906CA862 for ; Wed, 24 Nov 2010 13:57:23 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAOCvM5b019552 for ; Wed, 24 Nov 2010 13:57:23 +0100 Original-Received: by wwi18 with SMTP id 18so6641884wwi.2 for ; Wed, 24 Nov 2010 04:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=MVz2HRyePy8511K6RkEFBmMK0be6oopakNFkXaqArSM=; b=pTuUODOnOXpXuDtRBkhlo9p+UPnmXvFWZubjsJriBX0FaN/hFlQzMZGPU7SN+hPowy 93K4xInTzBeph6uFuInlbUCxuWffdmzbCt2icbHLQ2VxDYi5gf+IE79ACBHtms6JRL1g vCkP8O3BuRCBVNU41fKH9WdMs7ALFPcO9hTjw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=nd7FoJRDBmp8iFDU+zDDzJ0Efvb7oEEo8sS5KWsH208O0Tn+a5KjEf6ucCwWh3I8bH QU+dTxL7GZaX4rEs0w/FUtysMOChJqU2SM08bz3fIQ3QUh6bHfJF2mXyzIleYrWgUR0N TO+Ut/J3EEED9jQMuvh3ab5sVztoAEBGX3vNY= Original-Received: by 10.227.143.75 with SMTP id t11mr9245259wbu.176.1290603441931; Wed, 24 Nov 2010 04:57:21 -0800 (PST) Original-Received: from [192.168.0.11] (mna75-3-82-66-231-76.fbx.proxad.net [82.66.231.76]) by mx.google.com with ESMTPS id 11sm682930wbi.6.2010.11.24.04.57.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 04:57:20 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 0dDz0Vmrf - 7aa455b7aded - 20101124 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:63884 Archived-At: Thanks Hraban for your answer, so you too have TeX files processed in order to present them on web pages. I'll look inside DruTeX to see whether it can be adpated for ConTeXt. I was wondering whether there are other means using the capabilities of ConTeXt mkiv to export TeX files into xml and then show them on the webpages. I'll do some more search on the issue before making a final decision. Best regards: OK On 23 nov. 2010, at 20:27, Henning Hraban Ramm wrote: > 2010/11/22 Otared Kavian : >> Dear Contextators, >> >> Has anyone tried to process TeX files written for ConTeXt mkiv in Drupal (http://drupal.org/)? >> To be more precise, there exists a so-called filter DruTeX (http://drupal.org/project/drutex) which can process LaTeX files for viewing them in a web page, but since my TeX files are written for ConTeXt, I wonder if there is a simple way to do the same in Drupal with ConTeXt. >> >> Or maybe I am going the wrong direction? >> Should I export through mkiv my TeX files to some other format than TeX for being understood by Drupal? >> Actually my documents are essentially one page each, without any complicated layout or graphics: there is only some text, and items within two or three sets of \startitemize, \stopitemize. But they do contain maths and I would like to have them on the web pages. > > You can use any TeX with any web application server, if you can > execute a TeX binary (e.g. normally not in a shared hosting > environment). Use your system's templating engine to produce ConTeXt > files instead of HTML and run ConTeXt on them. Getting the paths right > might be a major problem - it took me some weeks of debugging, since > also my process supervision tools played a role. > I don't know Drupal (I use Django), but if you look into that DruTeX, > it's probably rather simple. > > Greetlings, Hraban ___________________________________________________________________________________ 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 ___________________________________________________________________________________