[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

TeXML, the XML vocabulary for TeX

  • To: 'xml-dev' <xml-dev@l...>
  • Subject: TeXML, the XML vocabulary for TeX
  • From: Oleg Paraschenko <usenet@d...>
  • Date: Tue, 13 Apr 2004 15:23:56 +0400
  • Organization: DataHansa Software

texml
  Hello colleagues,

  I'd like to introduce you TeXML, the XML vocabulary for TeX:

http://getfo.org/texml/
http://getfo.sourceforge.net/texml/

  A processor translates TeXML source into TeX.

| Example of TeXML to TeX translation
| 
| TeXML:
|
| <cmd name="documentclass">
|  <opt>12pt</opt>
|  <parm>letter</parm>
| </cmd>
|
| TeX:
|
| \documentclass[12pt]{letter}

  One of the main benefits of TeXML usage is automatic translation
of the TeX special symbols.

| Example of translation of special TeX symbols
|
| TeXML:
|
| <TeXML>\section{No&#xa0;break}</TeXML>
|
| TeX:
|
| $\backslash$section\{No~break\}

  The TeXML processor supports different output encodings and
escapes out-of-encoding chars

| Example of translation of non-ASCII characters
|
| TeXML:
|
| <TeXML>&#x422;&#x435;&#x425;</TeXML>
|
| TeX in ASCII encoding:
|
| \cyrchar\CYRT \cyrchar\cyre \cyrchar\CYRH 
|
| TeX in Russian encoding
|
| TeX

  If you automatically generate TeX files, there are some benefits
to generating TeXML instead of TeX:

* you avoid painful handling of TeX special characters,
* you don't have to bother about encodings,
* you can write error-free code more easily.

  To expand on the last point, if for example, you want to generate

| {\bf bold}

  One of the approaches is to generate "{", then "\bf " (with
trailing space) and then "}". It is easy to miss the space or to
forget a brace or write an incorrect symbol. But when you use TeXML,
it takes care of it for you:

| <group><cmd name="bf"/>bold</group>

  I hope you will find TeXML useful. Your comments are welcome.

  Regards, Oleg

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.