Re: [NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-20 Thread Taco Hoekwater

Hi Renaud,

Renaud Aubin wrote:
 Hi Folks !
 
 I'm currently writting a technical report in which I need to type some 
 XML an non-XML text.
 
 Sample file (xml_test.tex):
 I have some custom XML text (trivial) + a not-so-complicated xsl 
 transformation (a part is included within the test file). I know there 
 is verb-xml but... I need to improve it to support xpath expr. More 
 over, I want to preserve the initial indentation. The point is now, how 
 to improve verb-xml to support xpath expressions ? I'm working with Mark 
 II... Should I switch to Mark IV if I want to write a new XML verbatim 
 support (with lua)?
 
 + the bonus question: I want to add some support for the RelaxNG Compact 
 syntax, should I follow the procedure described on the wiki or switch to 
 Mark IV ?
 
 The deadline for this technical report: end of october...

Mark IV's framework for syntax highlighting is definately easier to
use if you are somewhat familiar with 'normal' scripting languages
(as opposed to TeX). But 'end of october' is pretty close, so I would
suggest using t-vim, maybe with some postprocessing.

   http://modules.contextgarden.net/vim

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-20 Thread Renaud Aubin
Taco, Aditya,

Thanks, t-vim will do the job for the end of october... Even if I will 
surely give a try to MarkIV on this particular point.

Regards,

Renaud

Taco Hoekwater a écrit :
 Hi Renaud,

 Renaud Aubin wrote:
 Hi Folks !

 I'm currently writting a technical report in which I need to type some 
 XML an non-XML text.

 Sample file (xml_test.tex):
 I have some custom XML text (trivial) + a not-so-complicated xsl 
 transformation (a part is included within the test file). I know there 
 is verb-xml but... I need to improve it to support xpath expr. More 
 over, I want to preserve the initial indentation. The point is now, how 
 to improve verb-xml to support xpath expressions ? I'm working with Mark 
 II... Should I switch to Mark IV if I want to write a new XML verbatim 
 support (with lua)?

 + the bonus question: I want to add some support for the RelaxNG Compact 
 syntax, should I follow the procedure described on the wiki or switch to 
 Mark IV ?

 The deadline for this technical report: end of october...

 Mark IV's framework for syntax highlighting is definately easier to
 use if you are somewhat familiar with 'normal' scripting languages
 (as opposed to TeX). But 'end of october' is pretty close, so I would
 suggest using t-vim, maybe with some postprocessing.

http://modules.contextgarden.net/vim

 Best wishes,
 Taco
 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___


   

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-17 Thread Renaud Aubin
Hi Folks !

I'm currently writting a technical report in which I need to type some 
XML an non-XML text.

Sample file (xml_test.tex):
I have some custom XML text (trivial) + a not-so-complicated xsl 
transformation (a part is included within the test file). I know there 
is verb-xml but... I need to improve it to support xpath expr. More 
over, I want to preserve the initial indentation. The point is now, how 
to improve verb-xml to support xpath expressions ? I'm working with Mark 
II... Should I switch to Mark IV if I want to write a new XML verbatim 
support (with lua)?

+ the bonus question: I want to add some support for the RelaxNG Compact 
syntax, should I follow the procedure described on the wiki or switch to 
Mark IV ?

The deadline for this technical report: end of october...

Regards,

Renaud
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-17 Thread Aditya Mahajan
On Fri, 17 Oct 2008, Renaud Aubin wrote:

 Hi Folks !

 I'm currently writting a technical report in which I need to type some
 XML an non-XML text.

 Sample file (xml_test.tex):
 I have some custom XML text (trivial) + a not-so-complicated xsl
 transformation (a part is included within the test file). I know there
 is verb-xml but... I need to improve it to support xpath expr. More
 over, I want to preserve the initial indentation. The point is now, how
 to improve verb-xml to support xpath expressions ? I'm working with Mark
 II... Should I switch to Mark IV if I want to write a new XML verbatim
 support (with lua)?

I would suggest to switch to Mark IV since writing support for verbatim is 
considerably simpler in Mark IV. Lua is much easier to program than TeX 
:-)

 + the bonus question: I want to add some support for the RelaxNG Compact
 syntax, should I follow the procedure described on the wiki or switch to
 Mark IV ?

Switch to Mark IV.

 The deadline for this technical report: end of october...

It time becomes an issue, you can always try t-vim to get syntax 
highlighting using vim.

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___