From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt mkiv and Drupal
Date: Tue, 23 Nov 2010 20:27:12 +0100 [thread overview]
Message-ID: <AANLkTikJ9BvRK4kUoFmJAEeHN3AQyZQ52QFmo8BMf3Bt@mail.gmail.com> (raw)
In-Reply-To: <4ECD878D-A855-444D-839D-68C9401E8833@gmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-11-23 19:27 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 [this message]
2010-11-24 8:21 ` Otared Kavian
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=AANLkTikJ9BvRK4kUoFmJAEeHN3AQyZQ52QFmo8BMf3Bt@mail.gmail.com \
--to=hraban@fiee.net \
--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).