Difference between revisions of "Interface.rnc"

From Wiki
Jump to navigation Jump to search
m (Formatting correction)
m
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
< [[XML]]
 +
 
==<tt>interface.rnc</tt>==
 
==<tt>interface.rnc</tt>==
  
This page describes how to use the Relax NG Comact Schema <tt>interface.rnc</tt> that texshow-web and alike builds upon.  
+
This page describes how to use the Relax NG Comact Schema <tt>[http://dl.contextgarden.net/texshow/interface.rnc interface.rnc]</tt> that texshow-web and alike builds upon.  
  
 
The namespace for the xml definition is <tt><nowiki>http://www.pragma-ade.com/commands</nowiki></tt>.
 
The namespace for the xml definition is <tt><nowiki>http://www.pragma-ade.com/commands</nowiki></tt>.
Line 19: Line 21:
 
| triplet ||  <tt>[x:y:z]</tt>?? || <tt>[x:y:z=,...]</tt>
 
| triplet ||  <tt>[x:y:z]</tt>?? || <tt>[x:y:z=,...]</tt>
 
|-
 
|-
| reference || <tt>[ref,ref,...]</tt>
+
| reference || <tt>[ref]</tt> || <tt>[ref,ref,...]</tt>
 
|-
 
|-
 
| word || <tt>{... ...}</tt>
 
| word || <tt>{... ...}</tt>
Line 37: Line 39:
 
| tex || <tt>\command</tt>
 
| tex || <tt>\command</tt>
 
|}
 
|}
 +
 +
 +
[[Category:Old_Content]]

Revision as of 14:46, 8 June 2020

< XML

interface.rnc

This page describes how to use the Relax NG Comact Schema interface.rnc that texshow-web and alike builds upon.

The namespace for the xml definition is http://www.pragma-ade.com/commands.

How do the elements look like?

sample apperance of elements
element name simple list description
keywords [...] [...,...,...] [...] keyword
assignments [...=...] [...,...=...,...] a=b
content {...} {...,...,...} <text> (fixed)
triplet [x:y:z]?? [x:y:z=,...]
reference [ref] [ref,ref,...]
word {... ...}
nothing ...
file ... ... file
csname \command
index {...} {...+...+...}
position (..) (...,...) (...,...) number, number
displaymath $$...$$ $$...$$ formula
tex \command