Difference between revisions of "Interface.rnc"

From Wiki
Jump to navigation Jump to search
(This page describes the xml file for texshow-web)
 
m (Text replacement - "pragma-ade.com" to "pragma-ade.nl")
 
(7 intermediate revisions by 3 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.nl/commands</nowiki></tt>.
  
 
===How do the elements look like?===
 
===How do the elements look like?===
Line 13: Line 15:
 
| keywords ||<tt>[...]</tt> || <tt>[...,...,...]</tt> || <tt>[...]  keyword</tt>  
 
| keywords ||<tt>[...]</tt> || <tt>[...,...,...]</tt> || <tt>[...]  keyword</tt>  
 
|-
 
|-
| assignments || <tt>a=b</tt> ||<tt>[...,...=...,...]</tt>
+
| assignments || <tt>[...=...]</tt> ||<tt>[...,...=...,...]</tt> || a=b
 
|-
 
|-
| content || <tt>{...} || {...,...,...}</tt>
+
| content || <tt>{...}</tt> || <tt>{...,...,...}</tt> || &lt;text&gt; (fixed)
 
|-
 
|-
 
| 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]]

Latest revision as of 08:29, 2 July 2022

< 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.nl/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