home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 October / pcp156b.iso / alphawrk / TEXML / TEXML.ZIP / com / ibm / texml / faq.texml < prev    next >
Encoding:
Extensible Markup Language  |  1999-06-23  |  3.1 KB  |  81 lines

  1. <?xml version="1.0" encoding="UTF-8"?><TeXML><cmd name="documentclass"><parm>article</parm></cmd><cmd name="title"><parm>TeXML FAQ</parm></cmd><env name="document"><cmd name="maketitle"/>
  2.  
  3. <cmd name="section*"><parm>What can I do with TeXML?</parm></cmd>
  4.  
  5.  You can create typeset documents from XML markup.
  6.  <cmd name="par"/>
  7.  
  8.  
  9. <cmd name="section*"><parm>What kind of problem might TeXML help me solve?</parm></cmd>
  10.  
  11.  The power of XML is that it allows you to identify information
  12.  with a domain-specific, domain-standard tags.
  13.  This is what we refer to as ``content markup.''
  14.  The elements describe the data itself,
  15.  not the presentation of the data.
  16.  <cmd name="par"/>
  17.  Bibliographic content, for example, might have the entry,
  18.  ``<title>War and Peace</title>.''
  19.  That is content markup.
  20.  For presentation in a browser
  21.  we might write ``<i>War and Peace</i>.''
  22.  For presentation in a journal
  23.  we might write ``{\it War and Peace}.''
  24.  <cmd name="par"/>
  25.  Sooner or later you will want to produce printed or typeset pages
  26.  from some XML content.
  27.  TeXML enables you to do so using TeX.
  28.  <cmd name="par"/>
  29.  
  30.  
  31. <cmd name="section*"><parm>Are there other applications?</parm></cmd>
  32.  
  33.  This FAQ was written with XML markup and transformed to HTML markup.
  34.  It is also available as PostScript generated through TeXML.
  35.  The materials available here demonstrate the transform to PostScript
  36.  from the same markup used to produce the HTML.
  37.  One markup.  Two presentations--  HTML and print.
  38.  <cmd name="par"/>
  39.  
  40.  The materials also include an example of MathML markup transformed
  41.  into TeXML, with PostScript generated using TeX.
  42.  <cmd name="par"/>
  43.  
  44.  
  45. <cmd name="section*"><parm>What do I need to use TeXML?</parm></cmd>
  46.  
  47.  You will need the following in addition to the files provided here:
  48.  <cmd name="par"/>
  49.  <env name="itemize">
  50.   <cmd name="item"/>An XSL implementation.  This version of TeXML
  51.    was tested with Lotus XSL version
  52.    0.16.5 available from the IBM AlphaWorks web site,
  53.    <spec cat="bg"/><cmd name="it"/>http://www.alphaworks.ibm.com/<spec cat="eg"/>
  54.   
  55.   <cmd name="item"/>A java runtime implementation.  You will find these at
  56.    <spec cat="bg"/><cmd name="it"/>http://www.javasoft.com/products/jdk/1.1/jre/<spec cat="eg"/>.
  57.    This version of TeXML was tested with JDK version 1.1.7B.
  58.   
  59.   <cmd name="item"/>An XML parser.  TeXMLatte uses the XML4J parser available
  60.     from the IBM AlphaWorks web site,
  61.     <spec cat="bg"/><cmd name="it"/>http://www.alphaworks.ibm.com/<spec cat="eg"/>.
  62.     This version of TeXML was tested with XML4J version 2.0.6.
  63.   
  64.   <cmd name="item"/>A LaTeX implementation.  You will find references to these
  65.     at the TeX User's Group,
  66.     <spec cat="bg"/><cmd name="it"/>http://www.tug.org/<spec cat="eg"/>.
  67.   
  68.  </env>
  69.  
  70.  
  71. <cmd name="section*"><parm>What is TeX?</parm></cmd>
  72.  
  73.  TeX is a language for typesetting.
  74.  TeX documents are ASCII coded documents which contain
  75.  typesetting commands interwoven with the content to be typeset.
  76.  Implementations of TeX are widely available for most operating systems.
  77.  The same TeX source may be processed on any of these systems to produce
  78.  the same typeset output.
  79.  <cmd name="par"/>
  80.  
  81. </env></TeXML>