📄 docbook.rnc.svn-base
字号:
element step {
db.step.attlist,
db.step.info,
((db.all.blocks+,
((db.substeps | db.stepalternatives), db.all.blocks*)?)
| ((db.substeps | db.stepalternatives), db.all.blocks*))
}
}
div {
db.stepalternatives.role.attribute = attribute role { text }
db.stepalternatives.attlist =
db.stepalternatives.role.attribute?
& db.common.attributes
& db.common.linking.attributes
& db.performance.attribute?
db.stepalternatives.info = db._info.title.forbidden
db.stepalternatives =
## Alternative steps in a procedure
element stepalternatives {
db.stepalternatives.attlist, db.stepalternatives.info, db.step+
}
}
div {
db.substeps.role.attribute = attribute role { text }
db.substeps.attlist =
db.substeps.role.attribute?
& db.common.attributes
& db.common.linking.attributes
& db.performance.attribute?
db.substeps =
## A wrapper for steps that occur within steps in a procedure
element substeps { db.substeps.attlist, db.step+ }
}
div {
db.sidebar.role.attribute = attribute role { text }
db.sidebar.attlist =
db.sidebar.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.sidebar.info = db._info.title.only
db.sidebar =
## A portion of a document that is isolated from the main narrative flow
[
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:sidebar"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:sidebar)"
"sidebar must not occur in the descendants of sidebar"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
]
element sidebar {
db.sidebar.attlist, db.sidebar.info, db.all.blocks+
}
}
div {
db.abstract.role.attribute = attribute role { text }
db.abstract.attlist =
db.abstract.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.abstract.info = db._info.title.only
db.abstract =
## A summary
element abstract {
db.abstract.attlist, db.abstract.info, db.para.blocks+
}
}
div {
db.personblurb.role.attribute = attribute role { text }
db.personblurb.attlist =
db.personblurb.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.personblurb.info = db._info.title.only
db.personblurb =
## A short description or note about a person
element personblurb {
db.personblurb.attlist, db.personblurb.info, db.para.blocks+
}
}
div {
db.blockquote.role.attribute = attribute role { text }
db.blockquote.attlist =
db.blockquote.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.blockquote.info = db._info.title.only
db.blockquote =
## A quotation set off from the main text
element blockquote {
db.blockquote.attlist,
db.blockquote.info,
db.attribution?,
(db.para.blocks | db.literallayout)+
}
}
div {
db.attribution.role.attribute = attribute role { text }
db.attribution.attlist =
db.attribution.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.attribution =
## The source of a block quote or epigraph
element attribution {
db.attribution.attlist,
(db._text
| db.person
| db.personname
| db.citetitle
| db.citation)*
}
}
div {
db.bridgehead.renderas.enumeration =
## Render as a first-level section
"sect1"
|
## Render as a second-level section
"sect2"
|
## Render as a third-level section
"sect3"
|
## Render as a fourth-level section
"sect4"
|
## Render as a fifth-level section
"sect5"
db.bridgehead.renderas-enum.attribute =
## Indicates how the bridge head should be rendered
attribute renderas { db.bridgehead.renderas.enumeration }?
db.bridgehead.renderas-other.attribute =
## Identifies the nature of the non-standard rendering
attribute otherrenderas { xsd:NMTOKEN }
db.bridgehead.renderas-other.attributes =
## Indicates how the bridge head should be rendered
attribute renderas {
## Identifies a non-standard rendering
"other"
}
& db.bridgehead.renderas-other.attribute
db.bridgehead.renderas.attribute =
db.bridgehead.renderas-enum.attribute
| db.bridgehead.renderas-other.attributes
db.bridgehead.role.attribute = attribute role { text }
db.bridgehead.attlist =
db.bridgehead.role.attribute?
& db.common.attributes
& db.common.linking.attributes
& db.bridgehead.renderas.attribute?
db.bridgehead =
## A free-floating heading
element bridgehead { db.bridgehead.attlist, db.all.inlines* }
}
div {
db.remark.role.attribute = attribute role { text }
db.remark.attlist =
db.remark.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.remark =
## A remark (or comment) intended for presentation in a draft manuscript
element remark { db.remark.attlist, db._text }
}
div {
db.epigraph.role.attribute = attribute role { text }
db.epigraph.attlist =
db.epigraph.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.epigraph.info = db._info.title.forbidden
db.epigraph =
## A short inscription at the beginning of a document or component
element epigraph {
db.epigraph.attlist,
db.epigraph.info,
db.attribution?,
(db.para.blocks | db.literallayout)+
}
}
div {
db.footnote.role.attribute = attribute role { text }
db.footnote.label.attribute =
## Identifies the desired footnote mark
attribute label { xsd:NMTOKEN }
db.footnote.attlist =
db.footnote.role.attribute?
& db.common.attributes
& db.common.linking.attributes
& db.footnote.label.attribute?
db.footnote =
## A footnote
[
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:footnote)"
"footnote must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:example)"
"example must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:figure)"
"figure must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:table)"
"table must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:table)"
"table must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:caution)"
"caution must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:important)"
"important must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:note)"
"note must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:tip)"
"tip must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:warning)"
"warning must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:indexterm)"
"indexterm must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:indexterm)"
"indexterm must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
s:assert [
test = "not(.//db:indexterm)"
"indexterm must not occur in the descendants of footnote"
]
"\x{a}" ~
" "
]
"\x{a}" ~
" "
]
s:pattern [
name = "Element exclusion"
"\x{a}" ~
" "
s:rule [
context = "db:footnote"
"\x{a}" ~
" "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -