Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)
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
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
It's better with the attachment... Renaud Aubin a écrit :
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 ___________________________________________________________________________________
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
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 ___________________________________________________________________________________
participants (3)
-
Aditya Mahajan
-
Renaud Aubin
-
Taco Hoekwater