ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt mkiv and Drupal
Date: Wed, 24 Nov 2010 09:21:57 +0100	[thread overview]
Message-ID: <63FE8D70-1E51-48C8-9FB1-CE242DF648C0@gmail.com> (raw)
In-Reply-To: <AANLkTikJ9BvRK4kUoFmJAEeHN3AQyZQ52QFmo8BMf3Bt@mail.gmail.com>

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 <otared@gmail.com>:
>> 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
___________________________________________________________________________________


  reply	other threads:[~2010-11-24  8:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 22:26 Otared Kavian
2010-11-23 19:27 ` Henning Hraban Ramm
2010-11-24  8:21   ` Otared Kavian [this message]
2010-11-24 14:57     ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63FE8D70-1E51-48C8-9FB1-CE242DF648C0@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).