Re: [NTG-context] ConTeXt mkiv and Drupal

2010-11-24 Thread Otared Kavian
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 ota...@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
___


Re: [NTG-context] ConTeXt mkiv and Drupal

2010-11-24 Thread Henning Hraban Ramm


Am 2010-11-24 um 09:21 schrieb Otared Kavian:

Thanks Hraban for your answer, so you too have TeX files processed  
in order to present them on web pages.


Sorry, I didn't read your question accurately.
No, I just produce PDFs using ConTeXt from web apps (i.e. pull data  
from the app's database and use Django's templating engine to write  
ConTeXt files).



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.


That would probably work, if your ConTeXt sources are structured  
enough (e.g. use \startchapter instead of \chapter).



I'll do some more search on the issue before making a final decision.


Good luck!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___


Re: [NTG-context] ConTeXt mkiv and Drupal

2010-11-23 Thread Henning Hraban Ramm
2010/11/22 Otared Kavian ota...@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
___


[NTG-context] ConTeXt mkiv and Drupal

2010-11-22 Thread 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.

Thanks in advance for any insight.

Best regards: OK


___
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
___