SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

TeXML tests

Long examples are data/texmlatte.xml and data/texmlapis.xml. An example from the quick start document is data/quick.xml.

The ending "_ns" means that an example uses the TeXML namespace.

+ empty      no data, only the root element
+ hello      text "Hello, World!"
+ normal     escaping of special chars in tex mode
+ math       escaping of special chars in math mode
+ mixed      both normal and mixed mode
+ nopara     output should not contain empty lines
+ koi8       conversion from unicode to koi8 encoding
+ koi8bad    conversion from unicode to koi8 with out of range chars
+ latex      out-of-encoding chars as latex commands
+ escape     escaping and unescaping of specials

+ emptyline leaving and commenting-out of empty lines + ligatures leaving and breaking ligatures

+ cmd        command
+ env        environment
+ group      group
+ mathgr     math group
+ ctrl       control symbols
+ spec       special symbols
+ entity     check that entities are expanded
+ cmdnest    test nested commands (incorrect, but possible)
+ envenv     nested environments
+ v101       test of changes from version 1.00 to version 1.01

+ endline1 test of creation of a newline at the end of document + endline2 test of creation of a newline at the end of document + wstrivia simplest whitespace elimination + wselim1 whitespace elimination (default line length limit) + wselim2 whitespace elimination (line length limit is 100) + realspace check that we don't delete important whitespaces + wsstack nested specifications of whitespace handling

+ nlcmd      a newline attribute of <cmd/>
+ nlenv      newline attributes of <env/>
+ wspi       tests whitespace handling near processing instruction
+ specandws  a regression test for a space after a rewritten character
+ v109       test of changes from version 1.08 to version 1.09

+ fordocs test of examples from documentation + texmlatte long example from the Douglas Lovell's paper on TeXMLatte + texmlapis long test from Chris Houser's TeXMLapis + quick example from the quick start document + context test of the conTeXt mode
+ chinese1 test of the option "--ascii". A complete Chinese example. + pdfstring creating utf16be strings for PDF. + tour_* examples from the TeXML tour + thesis_* examples from the thesis

Tests that will fail:

+ badxml unparsable XML
+ unkelem unknown element
+ errmode incorrect mode specification + errmode2 incorrect mode specification + cmdname no name for "cmd"
+ cmdcont "cmd" contains something other than "opt" or "parm" + misopt "opt" is not a child of "cmd" or "env" + optcont "opt" contains something other then "ctrl" or "spec" + misparm "parm" is not a child of "cmd" or "env" + parmcont "parm" contains something other then "ctrl" or "spec" + envnoname no name for "env"

+ math1      "dmath" inside "math"
+ math2      "math"  inside "math"
+ math3      "dmath" inside "dmath"
+ math4      "math"  inside "dmath"
+ ctrlch     no "ch" attribute in "ctrl"
+ ctrlch2    length of value of "ch" is not 1
+ spec1      "spec" without attribute "cat"
+ spec2      "spec" with unknown value of "cat"

+ ctrlcont "ctrl" element have content + speccont "spec" element have content

+ badesc     value of TeXML/@escape is not 0 or 1
+ badlig     value of TeXML/@ligatures is not 0 or 1
+ badtyline  value of TeXML/@emptylines is not 0 or 1
+ badns      incorrect namespace

+ pdfstring an element inside "pdf"


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.