|
Packit |
0f19cf |
default namespace = "http://dblatex.sourceforge.net/config"
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
start = config
|
|
Packit |
0f19cf |
config =
|
|
Packit |
0f19cf |
element config {
|
|
Packit |
0f19cf |
attribute version { text }?, (latex | xslt | imagedata | options)*
|
|
Packit |
0f19cf |
}
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
# <latex> element and children syntaxes
|
|
Packit |
0f19cf |
#
|
|
Packit |
0f19cf |
latex =
|
|
Packit |
0f19cf |
element latex {
|
|
Packit |
0f19cf |
empty,
|
|
Packit |
0f19cf |
(texinputs
|
|
Packit |
0f19cf |
| bibinputs
|
|
Packit |
0f19cf |
| bstinputs
|
|
Packit |
0f19cf |
| backend
|
|
Packit |
0f19cf |
| texstyle
|
|
Packit |
0f19cf |
| texpost
|
|
Packit |
0f19cf |
| indexstyle)*
|
|
Packit |
0f19cf |
}
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
attlist.modname = attribute use { text }
|
|
Packit |
0f19cf |
attlist.filepath = attribute fileref { text }
|
|
Packit |
0f19cf |
attlist.mod_or_file =
|
|
Packit |
0f19cf |
attlist.modname |
|
|
Packit |
0f19cf |
attlist.filepath
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
backend = element backend { attlist.modname, empty }
|
|
Packit |
0f19cf |
texstyle = element texstyle { attlist.mod_or_file, empty }
|
|
Packit |
0f19cf |
texpost = element texpost { attlist.mod_or_file, empty }
|
|
Packit |
0f19cf |
indexstyle = element indexstyle { attlist.filepath, empty }
|
|
Packit |
0f19cf |
texinputs = element texinputs { text }
|
|
Packit |
0f19cf |
bibinputs = element bibinputs { text }
|
|
Packit |
0f19cf |
bstinputs = element bstinputs { text }
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
# <xslt> element and children syntaxes
|
|
Packit |
0f19cf |
#
|
|
Packit |
0f19cf |
xslt = element xslt { (stylesheet | engine)* }
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
stylesheet = element stylesheet { attlist.filepath, empty }
|
|
Packit |
0f19cf |
engine =
|
|
Packit |
0f19cf |
element engine { attlist.engine, (commandchain | command)? }
|
|
Packit |
0f19cf |
attlist.engine =
|
|
Packit |
0f19cf |
attlist.modname |
|
|
Packit |
0f19cf |
attribute param-format { text }
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
# <imagedata> element and children syntaxes
|
|
Packit |
0f19cf |
#
|
|
Packit |
0f19cf |
imagedata =
|
|
Packit |
0f19cf |
element imagedata { (figpath | figformat | formatrule | converter)* }
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
figpath = element figpath { attlist.filepath, empty }
|
|
Packit |
0f19cf |
figformat = element figformat { text }
|
|
Packit |
0f19cf |
formatrule = element formatrule { attlist.formatrule, empty }
|
|
Packit |
0f19cf |
attlist.formatrule =
|
|
Packit |
0f19cf |
attribute dst { text }?,
|
|
Packit |
0f19cf |
attribute docformat { "dvi" | "ps" | "pdf" | "*" }?,
|
|
Packit |
0f19cf |
attribute backend { text }?
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
converter =
|
|
Packit |
0f19cf |
element converter { attlist.converter, (commandchain | command) }
|
|
Packit |
0f19cf |
attlist.converter =
|
|
Packit |
0f19cf |
attribute src { text }?,
|
|
Packit |
0f19cf |
attribute dst { text }?,
|
|
Packit |
0f19cf |
attribute docformat { "dvi" | "ps" | "pdf" | "*" }?,
|
|
Packit |
0f19cf |
attribute backend { text }?
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
# General <command> syntax
|
|
Packit |
0f19cf |
#
|
|
Packit |
0f19cf |
commandchain = element commandchain { command+ }
|
|
Packit |
0f19cf |
command = element command { attlist.command, text }
|
|
Packit |
0f19cf |
attlist.command =
|
|
Packit |
0f19cf |
attribute input { text }?,
|
|
Packit |
0f19cf |
attribute output { text }?,
|
|
Packit |
0f19cf |
attribute shell { "0" | "1" | "false" | "true" }?
|
|
Packit |
0f19cf |
|
|
Packit |
0f19cf |
# <options> syntax
|
|
Packit |
0f19cf |
#
|
|
Packit |
0f19cf |
options = element options { text }
|
|
Packit |
0f19cf |
|