From 140d836e9cd54fb67b969fd82ef7ed19ba574d40 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 26 Apr 2014 15:11:58 +0200 Subject: Imported Upstream version 2.3.1 --- LICENSE | 2 +- QMTest/README.txt | 58 + QMTest/SConscript | 64 + QMTest/TestCmd.py | 1726 + QMTest/TestCmdTests.py | 3409 ++ QMTest/TestCommon.py | 739 + QMTest/TestCommonTests.py | 2337 ++ QMTest/TestRuntest.py | 167 + QMTest/TestSCons.py | 1492 + QMTest/TestSConsMSVS.py | 1053 + QMTest/TestSCons_time.py | 330 + QMTest/TestSConsign.py | 89 + QMTest/classes.qmc | 12 + QMTest/configuration | 6 + QMTest/scons_tdb.py | 603 + QMTest/test-framework.rst | 430 + SConstruct | 39 +- bin/SConsDoc.py | 892 +- bin/SConsExamples.py | 898 + bin/docs-create-example-outputs.py | 19 + bin/docs-update-generated.py | 51 + bin/docs-validate.py | 27 + bin/import-test.py | 4 +- bin/linecount.py | 4 +- bin/restore.sh | 26 +- bin/scons-doc.py | 940 - bin/scons-proc.py | 478 +- bin/scons_dev_master.py | 15 +- bin/update-release-info.py | 21 +- bootstrap.py | 222 + doc/SConscript | 591 +- doc/design/MANIFEST | 17 +- doc/design/SConstruct | 49 + doc/design/acks.xml | 16 +- doc/design/bground.xml | 16 +- doc/design/chtml.xsl | 56 + doc/design/copyright.xml | 14 +- doc/design/engine.svg | 529 + doc/design/engine.xml | 28 +- doc/design/goals.xml | 16 +- doc/design/html.xsl | 55 + doc/design/install.xml | 20 +- doc/design/intro.xml | 16 +- doc/design/issues.xml | 16 +- doc/design/main.xml | 116 +- doc/design/native.xml | 16 +- doc/design/overview.xml | 36 +- doc/design/pdf.xsl | 71 + doc/design/scons.css | 263 + doc/design/scons.mod | 429 - doc/design/scons_title.xsl | 6352 ++++ doc/design/summary.xml | 53 + doc/design/titlepage/SConsBuildBricks_path.svg | 320 + doc/design/titlepage/SCons_path.svg | 196 + doc/design/titlepage/bricks.jpg | Bin 0 -> 36855 bytes doc/design/titlepage/mapnik_final_colors.svg | 6397 ++++ doc/developer/SConstruct | 46 + doc/developer/architecture.xml | 16 +- doc/developer/branches.xml | 16 +- doc/developer/copyright.xml | 14 +- doc/developer/cycle.xml | 16 +- doc/developer/main.xml | 70 +- doc/developer/packaging.xml | 16 +- doc/developer/preface.xml | 16 +- doc/developer/sourcetree.xml | 16 +- doc/developer/testing.xml | 16 +- doc/editor_configs/serna/scons/catalog.xml | 12 + .../serna/scons/docbook-xsl-serna/NW-COPYING | 49 + .../serna/scons/docbook-xsl-serna/biblio.xsl | 1043 + .../serna/scons/docbook-xsl-serna/blocks.xsl | 781 + .../serna/scons/docbook-xsl-serna/common-table.xsl | 444 + .../serna/scons/docbook-xsl-serna/common.xsl | 451 + .../serna/scons/docbook-xsl-serna/compounds.xsl | 126 + .../serna/scons/docbook-xsl-serna/divisions.xsl | 88 + .../serna/scons/docbook-xsl-serna/docbook.xsl | 54 + .../serna/scons/docbook-xsl-serna/formal.xsl | 216 + .../serna/scons/docbook-xsl-serna/gentext.xsl | 500 + .../serna/scons/docbook-xsl-serna/glossary.xsl | 423 + .../serna/scons/docbook-xsl-serna/graphics.xsl | 269 + .../serna/scons/docbook-xsl-serna/inlines.xsl | 939 + .../serna/scons/docbook-xsl-serna/l10n.xsl | 438 + .../serna/scons/docbook-xsl-serna/l10n/af.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/bg.xml | 456 + .../serna/scons/docbook-xsl-serna/l10n/ca.xml | 457 + .../serna/scons/docbook-xsl-serna/l10n/cs.xml | 455 + .../serna/scons/docbook-xsl-serna/l10n/da.xml | 457 + .../serna/scons/docbook-xsl-serna/l10n/de.xml | 457 + .../serna/scons/docbook-xsl-serna/l10n/el.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/en.xml | 481 + .../serna/scons/docbook-xsl-serna/l10n/es.xml | 459 + .../serna/scons/docbook-xsl-serna/l10n/et.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/eu.xml | 455 + .../serna/scons/docbook-xsl-serna/l10n/fi.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/fr.xml | 458 + .../serna/scons/docbook-xsl-serna/l10n/he.xml | 455 + .../serna/scons/docbook-xsl-serna/l10n/hu.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/id.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/it.xml | 455 + .../serna/scons/docbook-xsl-serna/l10n/ja.xml | 456 + .../serna/scons/docbook-xsl-serna/l10n/ko.xml | 452 + .../serna/scons/docbook-xsl-serna/l10n/l10n.dtd | 45 + .../serna/scons/docbook-xsl-serna/l10n/l10n.xml | 83 + .../serna/scons/docbook-xsl-serna/l10n/lt.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/nl.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/nn.xml | 460 + .../serna/scons/docbook-xsl-serna/l10n/no.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/pl.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/pt.xml | 456 + .../serna/scons/docbook-xsl-serna/l10n/pt_br.xml | 451 + .../serna/scons/docbook-xsl-serna/l10n/ro.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/ru.xml | 484 + .../serna/scons/docbook-xsl-serna/l10n/sk.xml | 454 + .../serna/scons/docbook-xsl-serna/l10n/sl.xml | 451 + .../serna/scons/docbook-xsl-serna/l10n/sr.xml | 450 + .../serna/scons/docbook-xsl-serna/l10n/sv.xml | 451 + .../serna/scons/docbook-xsl-serna/l10n/th.xml | 463 + .../serna/scons/docbook-xsl-serna/l10n/tr.xml | 458 + .../serna/scons/docbook-xsl-serna/l10n/uk.xml | 484 + .../serna/scons/docbook-xsl-serna/l10n/vi.xml | 453 + .../serna/scons/docbook-xsl-serna/l10n/xh.xml | 456 + .../serna/scons/docbook-xsl-serna/l10n/zh_cn.xml | 447 + .../serna/scons/docbook-xsl-serna/l10n/zh_tw.xml | 448 + .../serna/scons/docbook-xsl-serna/lists.xsl | 803 + .../serna/scons/docbook-xsl-serna/parameters.xsl | 435 + .../serna/scons/docbook-xsl-serna/qandaset.xsl | 216 + .../serna/scons/docbook-xsl-serna/refentry.xsl | 189 + .../serna/scons/docbook-xsl-serna/serna-table.xsl | 641 + .../serna/scons/docbook-xsl-serna/synopsis.xsl | 998 + .../serna/scons/docbook-xsl-serna/table.xsl | 1103 + .../docbook-xsl-serna/titlepage.generator.xsl | 1218 + .../docbook-xsl-serna/titlepage.templates.xml | 412 + .../docbook-xsl-serna/titlepage.templates.xsl | 1969 ++ .../serna/scons/docbook-xsl-serna/titlepage.xsl | 772 + .../serna/scons/docbook-xsl-serna/titles.xsl | 511 + .../serna/scons/docbook-xsl-serna/toc.labels.xsl | 553 + .../serna/scons/docbook-xsl-serna/toc.titles.xsl | 525 + .../serna/scons/docbook-xsl-serna/toc.xsl | 304 + .../serna/scons/docbook-xsl-serna/xref.xsl | 624 + doc/editor_configs/serna/scons/dtd/README | 8 + doc/editor_configs/serna/scons/dtd/calstblx.dtd | 215 + doc/editor_configs/serna/scons/dtd/calstblx.rng | 477 + doc/editor_configs/serna/scons/dtd/dbcentx.mod | 384 + doc/editor_configs/serna/scons/dtd/dbgenent.mod | 41 + doc/editor_configs/serna/scons/dtd/dbhierx.mod | 2193 ++ doc/editor_configs/serna/scons/dtd/dbnotnx.mod | 101 + doc/editor_configs/serna/scons/dtd/dbpoolx.mod | 8870 +++++ doc/editor_configs/serna/scons/dtd/docbook.cat | 113 + doc/editor_configs/serna/scons/dtd/ent/README | 14 + doc/editor_configs/serna/scons/dtd/ent/isoamsa.ent | 97 + doc/editor_configs/serna/scons/dtd/ent/isoamsb.ent | 83 + doc/editor_configs/serna/scons/dtd/ent/isoamsc.ent | 51 + doc/editor_configs/serna/scons/dtd/ent/isoamsn.ent | 103 + doc/editor_configs/serna/scons/dtd/ent/isoamso.ent | 59 + doc/editor_configs/serna/scons/dtd/ent/isoamsr.ent | 125 + doc/editor_configs/serna/scons/dtd/ent/isobox.ent | 81 + doc/editor_configs/serna/scons/dtd/ent/isocyr1.ent | 108 + doc/editor_configs/serna/scons/dtd/ent/isocyr2.ent | 67 + doc/editor_configs/serna/scons/dtd/ent/isodia.ent | 55 + doc/editor_configs/serna/scons/dtd/ent/isogrk1.ent | 90 + doc/editor_configs/serna/scons/dtd/ent/isogrk2.ent | 61 + doc/editor_configs/serna/scons/dtd/ent/isogrk3.ent | 84 + doc/editor_configs/serna/scons/dtd/ent/isogrk4.ent | 85 + doc/editor_configs/serna/scons/dtd/ent/isolat1.ent | 103 + doc/editor_configs/serna/scons/dtd/ent/isolat2.ent | 162 + doc/editor_configs/serna/scons/dtd/ent/isonum.ent | 117 + doc/editor_configs/serna/scons/dtd/ent/isopub.ent | 125 + doc/editor_configs/serna/scons/dtd/ent/isotech.ent | 103 + doc/editor_configs/serna/scons/dtd/htmltblx.mod | 245 + doc/editor_configs/serna/scons/dtd/scons.dtd | 170 + doc/editor_configs/serna/scons/dtd/soextblx.dtd | 321 + doc/editor_configs/serna/scons/scons.csl | 199 + doc/editor_configs/serna/scons/scons.sdt | 95 + doc/editor_configs/serna/scons/xsd/calstblx.xsd | 390 + doc/editor_configs/serna/scons/xsd/dbhierx.xsd | 2186 ++ doc/editor_configs/serna/scons/xsd/dbnotnx.xsd | 102 + doc/editor_configs/serna/scons/xsd/dbpoolx.xsd | 8682 +++++ doc/editor_configs/serna/scons/xsd/htmltblx.xsd | 431 + doc/editor_configs/serna/scons/xsd/scons.xsd | 99 + doc/editor_configs/serna/scons/xsd/xml.xsd | 15 + .../xmlmind/addon/config/scons/common.incl | 654 + .../xmlmind/addon/config/scons/css/cals_table.imp | 24 + .../xmlmind/addon/config/scons/css/collapsible.imp | 135 + .../xmlmind/addon/config/scons/css/docbook1.imp | 1157 + .../xmlmind/addon/config/scons/css/docbook2.imp | 1292 + .../xmlmind/addon/config/scons/css/example1.css | 20 + .../addon/config/scons/css/html_cals_table.imp | 101 + .../xmlmind/addon/config/scons/css/image.imp | 23 + .../xmlmind/addon/config/scons/css/print.imp | 15 + .../xmlmind/addon/config/scons/css/refentry.imp | 524 + .../xmlmind/addon/config/scons/css/scons.css | 17 + .../xmlmind/addon/config/scons/css/structure.css | 140 + .../xmlmind/addon/config/scons/css/table.imp | 87 + .../addon/config/scons/css/visible_inclusions.css | 9 + .../xmlmind/addon/config/scons/htmlTable.incl | 195 + .../xmlmind/addon/config/scons/scons.css | 11 + .../xmlmind/addon/config/scons/scons.xxe | 37 + .../xmlmind/addon/config/scons/scons2.xml | 7 + .../xmlmind/addon/config/scons/scons_catalog.xml | 9 + .../config/scons/scons_templates/appendix.xml | 10 + .../addon/config/scons/scons_templates/article.xml | 20 + .../addon/config/scons/scons_templates/book.xml | 23 + .../addon/config/scons/scons_templates/chapter.xml | 10 + .../config/scons/scons_templates/glossary.xml | 16 + .../addon/config/scons/scons_templates/part.xml | 13 + .../config/scons/scons_templates/refentry.xml | 25 + .../config/scons/scons_templates/sconsdoc.xml | 15 + .../addon/config/scons/scons_templates/section.xml | 7 + .../addon/config/scons/scons_xsd/calstblx.xsd | 390 + .../addon/config/scons/scons_xsd/dbhierx.xsd | 2186 ++ .../addon/config/scons/scons_xsd/dbnotnx.xsd | 102 + .../addon/config/scons/scons_xsd/dbpoolx.xsd | 8682 +++++ .../addon/config/scons/scons_xsd/htmltblx.xsd | 431 + .../xmlmind/addon/config/scons/scons_xsd/scons.xsd | 99 + .../xmlmind/addon/config/scons/scons_xsd/xml.xsd | 15 + .../xmlmind/addon/config/scons/toolBar.incl | 189 + .../xmlmind/addon/config/scons/xslMenu.incl | 688 + doc/editor_configs/xmlmind/custom/dummy.txt | 1 + doc/editor_configs/xmlmind/preferences.properties | 108 + doc/editor_configs/xmlmind/ser/dummy.txt | 1 + doc/editor_configs/xmlmind/spell/dummy.txt | 1 + doc/generated/builders.gen | 2577 ++ doc/generated/builders.mod | 243 + doc/generated/examples/EnumVariable_map_1.xml | 4 + doc/generated/examples/addmethod_ex1_1.xml | 7 + doc/generated/examples/addmethod_ex2_1.xml | 5 + doc/generated/examples/addmethod_ex2_2.xml | 7 + doc/generated/examples/alias_ex1_1.xml | 6 + doc/generated/examples/alias_ex2_1.xml | 26 + doc/generated/examples/buildersbuiltin_ex1_1.xml | 5 + doc/generated/examples/buildersbuiltin_ex2_1.xml | 4 + doc/generated/examples/buildersbuiltin_ex3_1.xml | 4 + doc/generated/examples/buildersbuiltin_ex4_1.xml | 4 + doc/generated/examples/buildersbuiltin_libs_1.xml | 6 + doc/generated/examples/buildersbuiltin_libs_2.xml | 7 + doc/generated/examples/builderscommands_ex1_1.xml | 4 + doc/generated/examples/builderscommands_ex2_1.xml | 4 + .../examples/builderswriting_MY_EMITTER_1.xml | 5 + doc/generated/examples/builderswriting_ex1_1.xml | 4 + doc/generated/examples/builderswriting_ex2_1.xml | 6 + doc/generated/examples/builderswriting_ex3_1.xml | 6 + doc/generated/examples/builderswriting_ex4_1.xml | 5 + doc/generated/examples/builderswriting_ex5_1.xml | 4 + doc/generated/examples/builderswriting_ex6_1.xml | 4 + doc/generated/examples/builderswriting_ex7_1.xml | 4 + doc/generated/examples/caching_ex-random_1.xml | 9 + doc/generated/examples/caching_ex1_1.xml | 11 + doc/generated/examples/caching_ex1_2.xml | 11 + doc/generated/examples/caching_ex1_4.xml | 17 + doc/generated/examples/caching_ex1_5.xml | 15 + doc/generated/examples/commandline_ARGLIST_1.xml | 6 + doc/generated/examples/commandline_ARGUMENTS_1.xml | 12 + doc/generated/examples/commandline_AddOption_1.xml | 4 + doc/generated/examples/commandline_AddOption_2.xml | 4 + .../examples/commandline_BUILD_TARGETS_1_1.xml | 16 + .../examples/commandline_BoolVariable_1.xml | 4 + .../examples/commandline_BoolVariable_2.xml | 4 + .../examples/commandline_BoolVariable_3.xml | 4 + .../examples/commandline_BoolVariable_4.xml | 4 + .../examples/commandline_BoolVariable_5.xml | 7 + .../commandline_COMMAND_LINE_TARGETS_1.xml | 9 + .../examples/commandline_DEFAULT_TARGETS_1_1.xml | 10 + .../examples/commandline_DEFAULT_TARGETS_2_1.xml | 13 + doc/generated/examples/commandline_Default1_1.xml | 10 + doc/generated/examples/commandline_Default1_2.xml | 7 + doc/generated/examples/commandline_Default2_1.xml | 10 + doc/generated/examples/commandline_Default3_1.xml | 12 + doc/generated/examples/commandline_Default4_1.xml | 9 + .../examples/commandline_EnumVariable_1.xml | 8 + .../examples/commandline_EnumVariable_2.xml | 6 + .../examples/commandline_EnumVariable_3.xml | 14 + .../examples/commandline_EnumVariable_ic1_1.xml | 10 + .../examples/commandline_EnumVariable_ic2_1.xml | 8 + .../examples/commandline_ListVariable_1.xml | 6 + .../examples/commandline_ListVariable_2.xml | 6 + .../examples/commandline_ListVariable_3.xml | 7 + .../examples/commandline_PackageVariable_1.xml | 10 + .../examples/commandline_PathVariable_1.xml | 6 + .../examples/commandline_PathVariable_2.xml | 6 + .../examples/commandline_SCONSFLAGS_1.xml | 11 + doc/generated/examples/commandline_SetOption_1.xml | 5 + doc/generated/examples/commandline_SetOption_2.xml | 6 + doc/generated/examples/commandline_SetOption_3.xml | 9 + .../examples/commandline_UnknownVariables_1.xml | 4 + .../examples/commandline_Variables1_1.xml | 6 + .../examples/commandline_Variables_Help_1.xml | 9 + .../commandline_Variables_custom_py_1_1.xml | 6 + .../commandline_Variables_custom_py_1_custom.py | 3 + .../commandline_Variables_custom_py_2_1.xml | 6 + doc/generated/examples/depends_AlwaysBuild_1.xml | 7 + doc/generated/examples/depends_AlwaysBuild_2.xml | 7 + doc/generated/examples/depends_Requires_1.xml | 20 + doc/generated/examples/depends_ex1_1.xml | 7 + doc/generated/examples/depends_ex1_2.xml | 7 + doc/generated/examples/depends_ex1_3.xml | 8 + doc/generated/examples/depends_ex1_4.xml | 9 + doc/generated/examples/depends_ex1_5.xml | 9 + doc/generated/examples/depends_ex1_6.xml | 7 + doc/generated/examples/depends_ex1_7.xml | 7 + doc/generated/examples/depends_ex1_8.xml | 7 + doc/generated/examples/depends_ex5_1.xml | 5 + doc/generated/examples/depends_ex5_2.xml | 6 + .../examples/depends_ignore_explicit_1.xml | 9 + doc/generated/examples/depends_include_1.xml | 11 + doc/generated/examples/depends_include_SConstruct | 3 + doc/generated/examples/depends_include_hello.h | 3 + doc/generated/examples/depends_macroinc_1.xml | 8 + doc/generated/examples/depends_match_1.xml | 7 + doc/generated/examples/depends_mixing_1.xml | 11 + doc/generated/examples/depends_newer_1.xml | 7 + doc/generated/examples/depends_no-Requires_1.xml | 14 + doc/generated/examples/depends_parsedep_1.xml | 8 + .../examples/environments_Append-nonexistent_1.xml | 5 + .../environments_Prepend-nonexistent_1.xml | 5 + .../environments_Replace-nonexistent_1.xml | 5 + doc/generated/examples/environments_Replace1_1.xml | 5 + doc/generated/examples/environments_Replace2_1.xml | 13 + doc/generated/examples/environments_ex1_1.xml | 5 + doc/generated/examples/environments_ex2_1.xml | 7 + doc/generated/examples/environments_ex3_1.xml | 6 + doc/generated/examples/environments_ex4_1.xml | 7 + doc/generated/examples/environments_ex5_1.xml | 9 + doc/generated/examples/environments_ex6_1.xml | 5 + doc/generated/examples/environments_ex6b_1.xml | 7 + doc/generated/examples/environments_ex6b_2.xml | 7 + doc/generated/examples/environments_ex8_1.xml | 5 + doc/generated/examples/environments_ex9_1.xml | 5 + doc/generated/examples/environments_missing1_1.xml | 5 + doc/generated/examples/environments_missing2_1.xml | 6 + doc/generated/examples/environments_missing3_1.xml | 5 + doc/generated/examples/factories_Chmod_1.xml | 5 + doc/generated/examples/factories_Copy1_1.xml | 4 + doc/generated/examples/factories_Copy2_1.xml | 4 + doc/generated/examples/factories_Copy3_1.xml | 6 + doc/generated/examples/factories_Delete1_1.xml | 7 + doc/generated/examples/factories_Delete2_1.xml | 5 + doc/generated/examples/factories_Execute_1.xml | 9 + doc/generated/examples/factories_Mkdir_1.xml | 9 + doc/generated/examples/factories_Move_1.xml | 6 + doc/generated/examples/factories_Touch_1.xml | 5 + doc/generated/examples/fileremoval_clean-ex1_1.xml | 7 + .../examples/fileremoval_noclean-ex1_1.xml | 15 + .../examples/fileremoval_precious-ex1_1.xml | 7 + doc/generated/examples/hierarchy_Return_1.xml | 7 + .../examples/hierarchy_Return_foo_SConscript | 5 + doc/generated/examples/hierarchy_ex1_1.xml | 11 + .../examples/hierarchy_ex1_prog1_SConscript | 4 + .../examples/hierarchy_ex1_prog2_SConscript | 4 + doc/generated/examples/hierarchy_ex2_1.xml | 7 + doc/generated/examples/hierarchy_ex3_1.xml | 7 + doc/generated/examples/install_ex1_1.xml | 7 + doc/generated/examples/install_ex2_1.xml | 7 + doc/generated/examples/install_ex3_1.xml | 9 + doc/generated/examples/install_ex4_1.xml | 6 + doc/generated/examples/install_ex5_1.xml | 9 + doc/generated/examples/java_JAVACLASSDIR_1.xml | 5 + doc/generated/examples/java_RMIC_1.xml | 5 + doc/generated/examples/java_jar1_1.xml | 5 + doc/generated/examples/java_jar2_1.xml | 7 + doc/generated/examples/java_java-classes_1.xml | 6 + doc/generated/examples/java_java-classes_2.xml | 11 + doc/generated/examples/java_java_1.xml | 4 + doc/generated/examples/java_javah_1.xml | 5 + doc/generated/examples/java_javah_file_1.xml | 5 + doc/generated/examples/lesssimple_ex2_1.xml | 7 + doc/generated/examples/lesssimple_ex3_1.xml | 7 + doc/generated/examples/lesssimple_ex3_2.xml | 8 + doc/generated/examples/lesssimple_ex4_1.xml | 8 + doc/generated/examples/lesssimple_ex5_1.xml | 10 + doc/generated/examples/lesssimple_target_1.xml | 5 + doc/generated/examples/lesssimple_target_2.xml | 6 + .../examples/libraries_SharedLibrary_1.xml | 7 + .../examples/libraries_SharedLibrary_2.xml | 9 + doc/generated/examples/libraries_ex1_1.xml | 8 + doc/generated/examples/libraries_ex1_2.xml | 7 + doc/generated/examples/libraries_ex2_1.xml | 10 + doc/generated/examples/libraries_ex2_2.xml | 10 + doc/generated/examples/libraries_ex3_1.xml | 5 + doc/generated/examples/libraries_ex3_2.xml | 6 + doc/generated/examples/libraries_objects_1.xml | 7 + .../examples/mergeflags_MergeFlags1_1.xml | 5 + .../examples/mergeflags_MergeFlags2_1.xml | 5 + .../examples/mergeflags_MergeFlags3_1.xml | 6 + doc/generated/examples/misc_Exit_1.xml | 7 + doc/generated/examples/misc_FindFile1a_1.xml | 6 + doc/generated/examples/misc_FindFile1b_1.xml | 8 + doc/generated/examples/misc_FindFile1d_1.xml | 7 + doc/generated/examples/misc_FindFile2_1.xml | 6 + doc/generated/examples/misc_FindFile2_2.xml | 6 + doc/generated/examples/misc_FindFile3_1.xml | 5 + doc/generated/examples/misc_Flatten1_1.xml | 6 + doc/generated/examples/misc_Flatten2_1.xml | 6 + doc/generated/examples/nodes_GetBuildPath_1.xml | 5 + doc/generated/examples/nodes_ex1_1.xml | 6 + doc/generated/examples/nodes_ex1_2.xml | 7 + doc/generated/examples/nodes_exists_1.xml | 6 + doc/generated/examples/nodes_print_1.xml | 7 + doc/generated/examples/nodes_print_2.xml | 8 + .../examples/output_Progress-TARGET_1.xml | 15 + doc/generated/examples/output_ex1_1.xml | 10 + doc/generated/examples/output_ex2_1.xml | 11 + doc/generated/examples/output_ex2_2.xml | 9 + doc/generated/examples/output_gbf2_1.xml | 9 + doc/generated/examples/parseflags_ex1_1.xml | 8 + doc/generated/examples/parseflags_ex1_2.xml | 9 + doc/generated/examples/parseflags_ex2_1.xml | 6 + doc/generated/examples/parseflags_ex3_1.xml | 8 + doc/generated/examples/parseflags_ex4_1.xml | 8 + doc/generated/examples/repositories_CPPPATH3_1.xml | 5 + doc/generated/examples/repositories_CPPPATH_1.xml | 5 + doc/generated/examples/repositories_ex1_1.xml | 5 + doc/generated/examples/repositories_ex2_1.xml | 5 + doc/generated/examples/repositories_ex3_1.xml | 5 + doc/generated/examples/repositories_ex4_1.xml | 8 + doc/generated/examples/repositories_quote1_1.xml | 5 + doc/generated/examples/separate_builddir_1.xml | 9 + .../examples/separate_builddir_sconscript_1.xml | 9 + .../separate_builddir_sconscript_SConstruct | 4 + doc/generated/examples/separate_duplicate0_1.xml | 9 + doc/generated/examples/separate_ex1_1.xml | 9 + .../separate_glob_builddir_sconscript_1.xml | 10 + doc/generated/examples/sideeffect_parallel_1.xml | 5 + doc/generated/examples/sideeffect_shared_1.xml | 5 + doc/generated/examples/sideeffect_simple_1.xml | 10 + doc/generated/examples/simple_Object_1.xml | 8 + doc/generated/examples/simple_Object_2.xml | 8 + doc/generated/examples/simple_clean_1.xml | 16 + doc/generated/examples/simple_clean_2.xml | 17 + doc/generated/examples/simple_declarative_1.xml | 14 + doc/generated/examples/simple_ex1_1.xml | 9 + doc/generated/examples/simple_ex1_2.xml | 10 + doc/generated/examples/simple_ex1_3.xml | 10 + doc/generated/examples/simple_ex1_4.xml | 6 + doc/generated/examples/simple_java_1.xml | 8 + doc/generated/examples/sourcecode_bitkeeper_1.xml | 6 + doc/generated/examples/sourcecode_cvs_1.xml | 6 + doc/generated/examples/sourcecode_rcs_1.xml | 6 + doc/generated/examples/sourcecode_sccs_1.xml | 6 + doc/generated/examples/tasks_ex1_1.xml | 7 + doc/generated/examples/tasks_ex1_main.cpp | 3 + doc/generated/examples/troubleshoot_Dump_1.xml | 74 + doc/generated/examples/troubleshoot_Dump_2.xml | 107 + doc/generated/examples/troubleshoot_Dump_ENV_1.xml | 9 + doc/generated/examples/troubleshoot_Dump_ENV_2.xml | 11 + doc/generated/examples/troubleshoot_explain1_1.xml | 8 + doc/generated/examples/troubleshoot_explain1_2.xml | 5 + doc/generated/examples/troubleshoot_explain1_3.xml | 7 + doc/generated/examples/troubleshoot_explain2_1.xml | 13 + doc/generated/examples/troubleshoot_explain3_1.xml | 17 + doc/generated/examples/troubleshoot_findlibs_1.xml | 14 + .../examples/troubleshoot_stacktrace_1.xml | 4 + .../examples/troubleshoot_stacktrace_2.xml | 13 + .../examples/troubleshoot_taskmastertrace_1.xml | 63 + doc/generated/examples/troubleshoot_tree1_1.xml | 32 + doc/generated/examples/troubleshoot_tree1_2.xml | 7 + doc/generated/examples/troubleshoot_tree1_3.xml | 11 + doc/generated/examples/troubleshoot_tree1_4.xml | 43 + doc/generated/examples/troubleshoot_tree1_5.xml | 15 + doc/generated/examples/troubleshoot_tree1_6.xml | 26 + doc/generated/examples/troubleshoot_tree2_1.xml | 73 + doc/generated/examples/troubleshoot_tree2_2.xml | 45 + doc/generated/examples/variants_ex_1.xml | 11 + doc/generated/examples/variants_ex_2.xml | 11 + doc/generated/functions.gen | 5120 +++ doc/generated/functions.mod | 375 + doc/generated/tools.gen | 1003 + doc/generated/tools.mod | 217 + doc/generated/variables.gen | 7398 ++++ doc/generated/variables.mod | 1167 + doc/images/overview.graphml | 418 + doc/man/MANIFEST | 17 +- doc/man/SConstruct | 68 + doc/man/cover.jpg | Bin 0 -> 306 bytes doc/man/epub.css | 33 + doc/man/epub.xsl | 35 + doc/man/html.xsl | 59 + doc/man/pdf.xsl | 74 + doc/man/scons-time.1 | 1017 - doc/man/scons-time.xml | 1284 + doc/man/scons.1 | 6244 ---- doc/man/scons.css | 263 + doc/man/scons.xml | 7101 ++++ doc/man/scons_title.xsl | 6517 ++++ doc/man/sconsign.1 | 208 - doc/man/sconsign.xml | 267 + doc/man/titlepage/SConsBuildBricks_path.svg | 320 + doc/man/titlepage/SCons_path.svg | 196 + doc/man/titlepage/bricks.jpg | Bin 0 -> 36855 bytes doc/man/titlepage/mapnik_final_colors.svg | 6397 ++++ doc/overview.rst | 174 + doc/python10/MANIFEST | 12 +- doc/python10/SConstruct | 46 + doc/python10/abstract.xml | 37 + doc/python10/acks.xml | 39 + doc/python10/arch.eps | 134 - doc/python10/arch.svg | 124 + doc/python10/builder.eps | 325 - doc/python10/builder.svg | 330 + doc/python10/copyright.xml | 14 +- doc/python10/design.xml | 143 +- doc/python10/future.xml | 39 + doc/python10/install.xml | 39 + doc/python10/intro.xml | 39 + doc/python10/job-task.eps | 238 - doc/python10/job-task.svg | 244 + doc/python10/main.xml | 85 +- doc/python10/node.eps | 351 - doc/python10/node.svg | 414 + doc/python10/process.xml | 39 + doc/python10/scanner.eps | 168 - doc/python10/scanner.svg | 160 + doc/python10/scons.mod | 428 - doc/python10/sig.eps | 147 - doc/python10/sig.svg | 124 + doc/python10/summary.xml | 52 + doc/reference/Alias.xml | 16 +- doc/reference/CFile.xml | 16 +- doc/reference/CXXFile.xml | 16 +- doc/reference/Command.xml | 16 +- doc/reference/Install.xml | 16 +- doc/reference/InstallAs.xml | 16 +- doc/reference/Library.xml | 52 +- doc/reference/MANIFEST | 10 + doc/reference/Object.xml | 16 +- doc/reference/PCH.xml | 16 +- doc/reference/PDF.xml | 16 +- doc/reference/PostScript.xml | 16 +- doc/reference/Program.xml | 16 +- doc/reference/RES.xml | 16 +- doc/reference/SConstruct | 50 + doc/reference/SharedLibrary.xml | 16 +- doc/reference/SharedObject.xml | 16 +- doc/reference/StaticLibrary.xml | 16 +- doc/reference/StaticObject.xml | 16 +- doc/reference/chtml.xsl | 56 + doc/reference/copyright.xml | 14 +- doc/reference/errors.xml | 16 +- doc/reference/html.xsl | 55 + doc/reference/main.xml | 196 +- doc/reference/pdf.xsl | 71 + doc/reference/preface.xml | 16 +- doc/reference/scons.css | 263 + doc/reference/scons_title.xsl | 6352 ++++ doc/reference/titlepage/SConsBuildBricks_path.svg | 320 + doc/reference/titlepage/SCons_path.svg | 196 + doc/reference/titlepage/bricks.jpg | Bin 0 -> 36855 bytes doc/reference/titlepage/mapnik_final_colors.svg | 6397 ++++ doc/scons.mod | 717 +- doc/user/MANIFEST | 15 +- doc/user/README | 2 +- doc/user/SConstruct | 66 + doc/user/actions.in | 404 - doc/user/actions.xml | 38 +- doc/user/add-method.in | 127 - doc/user/add-method.xml | 123 +- doc/user/alias.in | 102 - doc/user/alias.xml | 112 +- doc/user/ant.in | 52 - doc/user/ant.xml | 26 +- doc/user/build-install.in | 709 - doc/user/build-install.xml | 70 +- doc/user/builders-built-in.in | 950 - doc/user/builders-built-in.xml | 241 +- doc/user/builders-commands.in | 156 - doc/user/builders-commands.xml | 80 +- doc/user/builders-writing.in | 1108 - doc/user/builders-writing.xml | 532 +- doc/user/builders.in | 57 - doc/user/builders.xml | 48 +- doc/user/caching.in | 502 - doc/user/caching.xml | 236 +- doc/user/chtml.xsl | 60 + doc/user/command-line.in | 2345 -- doc/user/command-line.xml | 1248 +- doc/user/copyright.in | 32 - doc/user/copyright.xml | 14 +- doc/user/cover.jpg | Bin 0 -> 306 bytes doc/user/depends.in | 1872 - doc/user/depends.xml | 872 +- doc/user/environments.in | 1752 - doc/user/environments.xml | 640 +- doc/user/epub.css | 33 + doc/user/epub.xsl | 36 + doc/user/errors.in | 41 - doc/user/errors.xml | 25 +- doc/user/example.in | 41 - doc/user/example.xml | 26 +- doc/user/factories.in | 507 - doc/user/factories.xml | 329 +- doc/user/file-removal.in | 223 - doc/user/file-removal.xml | 133 +- doc/user/functions.in | 38 - doc/user/functions.xml | 29 +- doc/user/gettext.in | 351 - doc/user/gettext.xml | 353 +- doc/user/hierarchy.in | 794 - doc/user/hierarchy.xml | 324 +- doc/user/html.xsl | 59 + doc/user/install.in | 247 - doc/user/install.xml | 194 +- doc/user/java.in | 657 - doc/user/java.xml | 431 +- doc/user/less-simple.in | 623 - doc/user/less-simple.xml | 272 +- doc/user/libraries.in | 445 - doc/user/libraries.xml | 242 +- doc/user/main.in | 411 - doc/user/main.xml | 351 +- doc/user/make.in | 121 - doc/user/make.xml | 25 +- doc/user/mergeflags.in | 137 - doc/user/mergeflags.xml | 102 +- doc/user/misc.in | 606 - doc/user/misc.xml | 408 +- doc/user/nodes.in | 431 - doc/user/nodes.xml | 206 +- doc/user/output.in | 681 - doc/user/output.xml | 361 +- doc/user/parseconfig.in | 140 - doc/user/parseconfig.xml | 69 +- doc/user/parseflags.in | 176 - doc/user/parseflags.xml | 179 +- doc/user/pdf.xsl | 75 + doc/user/preface.in | 426 - doc/user/preface.xml | 25 +- doc/user/python.in | 154 - doc/user/python.xml | 33 +- doc/user/repositories.in | 641 - doc/user/repositories.xml | 253 +- doc/user/run.in | 375 - doc/user/run.xml | 25 +- doc/user/scanners.in | 392 - doc/user/scanners.xml | 111 +- doc/user/sconf.in | 486 - doc/user/sconf.xml | 301 +- doc/user/scons.css | 263 + doc/user/scons_title.xsl | 6352 ++++ doc/user/separate.in | 540 - doc/user/separate.xml | 219 +- doc/user/sideeffect.in | 216 - doc/user/sideeffect.xml | 117 +- doc/user/simple.in | 517 - doc/user/simple.xml | 249 +- doc/user/sourcecode.in | 162 - doc/user/sourcecode.xml | 128 +- doc/user/tasks.in | 146 - doc/user/tasks.xml | 64 +- doc/user/titlepage/SConsBuildBricks_path.svg | 320 + doc/user/titlepage/SCons_path.svg | 196 + doc/user/titlepage/bricks.jpg | Bin 0 -> 36855 bytes doc/user/titlepage/mapnik_final_colors.svg | 6397 ++++ doc/user/tools.in | 38 - doc/user/tools.xml | 29 +- doc/user/troubleshoot.in | 914 - doc/user/troubleshoot.xml | 907 +- doc/user/variables.in | 56 - doc/user/variables.xml | 29 +- doc/user/variants.in | 151 - doc/user/variants.xml | 125 +- doc/version.xml | 7 + doc/xsd/calstblx.xsd | 390 + doc/xsd/dbhierx.xsd | 2186 ++ doc/xsd/dbnotnx.xsd | 102 + doc/xsd/dbpoolx.xsd | 8682 +++++ doc/xsd/htmltblx.xsd | 431 + doc/xsd/scons.xsd | 99 + doc/xsd/xml.xsd | 15 + doc/xslt/to_docbook.xslt | 102 + doc/xslt/xinclude_examples.xslt | 40 + src/Announce.txt | 44 +- src/CHANGES.txt | 88 +- src/LICENSE.txt | 2 +- src/README.txt | 18 +- src/RELEASE.txt | 104 +- src/engine/MANIFEST-xml.in | 110 +- src/engine/MANIFEST.in | 29 +- src/engine/SCons/Action.py | 18 +- src/engine/SCons/Action.xml | 57 +- src/engine/SCons/ActionTests.py | 4 +- src/engine/SCons/Builder.py | 11 +- src/engine/SCons/BuilderTests.py | 4 +- src/engine/SCons/CacheDir.py | 12 +- src/engine/SCons/CacheDirTests.py | 4 +- src/engine/SCons/Conftest.py | 8 +- src/engine/SCons/Debug.py | 21 +- src/engine/SCons/Defaults.py | 4 +- src/engine/SCons/Defaults.xml | 171 +- src/engine/SCons/DefaultsTests.py | 4 +- src/engine/SCons/Environment.py | 51 +- src/engine/SCons/Environment.xml | 723 +- src/engine/SCons/EnvironmentTests.py | 43 +- src/engine/SCons/Errors.py | 4 +- src/engine/SCons/ErrorsTests.py | 4 +- src/engine/SCons/Executor.py | 17 +- src/engine/SCons/ExecutorTests.py | 4 +- src/engine/SCons/Job.py | 4 +- src/engine/SCons/JobTests.py | 4 +- src/engine/SCons/Memoize.py | 4 +- src/engine/SCons/MemoizeTests.py | 4 +- src/engine/SCons/Node/Alias.py | 4 +- src/engine/SCons/Node/AliasTests.py | 4 +- src/engine/SCons/Node/FS.py | 160 +- src/engine/SCons/Node/FSTests.py | 4 +- src/engine/SCons/Node/NodeTests.py | 17 +- src/engine/SCons/Node/Python.py | 4 +- src/engine/SCons/Node/PythonTests.py | 4 +- src/engine/SCons/Node/__init__.py | 110 +- src/engine/SCons/Options/BoolOption.py | 4 +- src/engine/SCons/Options/EnumOption.py | 4 +- src/engine/SCons/Options/ListOption.py | 4 +- src/engine/SCons/Options/PackageOption.py | 4 +- src/engine/SCons/Options/PathOption.py | 4 +- src/engine/SCons/Options/__init__.py | 4 +- src/engine/SCons/PathList.py | 4 +- src/engine/SCons/PathListTests.py | 4 +- src/engine/SCons/Platform/PlatformTests.py | 4 +- src/engine/SCons/Platform/__init__.py | 4 +- src/engine/SCons/Platform/__init__.xml | 67 +- src/engine/SCons/Platform/aix.py | 4 +- src/engine/SCons/Platform/cygwin.py | 4 +- src/engine/SCons/Platform/darwin.py | 4 +- src/engine/SCons/Platform/hpux.py | 4 +- src/engine/SCons/Platform/irix.py | 4 +- src/engine/SCons/Platform/os2.py | 4 +- src/engine/SCons/Platform/posix.py | 175 +- src/engine/SCons/Platform/posix.xml | 31 +- src/engine/SCons/Platform/sunos.py | 4 +- src/engine/SCons/Platform/sunos.xml | 27 +- src/engine/SCons/Platform/win32.py | 4 +- src/engine/SCons/Platform/win32.xml | 25 +- src/engine/SCons/SConf.py | 22 +- src/engine/SCons/SConfTests.py | 6 +- src/engine/SCons/SConsign.py | 4 +- src/engine/SCons/SConsignTests.py | 4 +- src/engine/SCons/Scanner/C.py | 4 +- src/engine/SCons/Scanner/CTests.py | 4 +- src/engine/SCons/Scanner/D.py | 4 +- src/engine/SCons/Scanner/Dir.py | 4 +- src/engine/SCons/Scanner/DirTests.py | 4 +- src/engine/SCons/Scanner/Fortran.py | 4 +- src/engine/SCons/Scanner/FortranTests.py | 4 +- src/engine/SCons/Scanner/IDL.py | 4 +- src/engine/SCons/Scanner/IDLTests.py | 4 +- src/engine/SCons/Scanner/LaTeX.py | 4 +- src/engine/SCons/Scanner/LaTeXTests.py | 4 +- src/engine/SCons/Scanner/Prog.py | 4 +- src/engine/SCons/Scanner/ProgTests.py | 4 +- src/engine/SCons/Scanner/RC.py | 4 +- src/engine/SCons/Scanner/RCTests.py | 4 +- src/engine/SCons/Scanner/ScannerTests.py | 4 +- src/engine/SCons/Scanner/__init__.py | 4 +- src/engine/SCons/Scanner/__init__.xml | 33 +- src/engine/SCons/Script/Interactive.py | 4 +- src/engine/SCons/Script/Main.py | 42 +- src/engine/SCons/Script/Main.xml | 134 +- src/engine/SCons/Script/MainTests.py | 4 +- src/engine/SCons/Script/SConsOptions.py | 118 +- src/engine/SCons/Script/SConscript.py | 4 +- src/engine/SCons/Script/SConscript.xml | 165 +- src/engine/SCons/Script/SConscriptTests.py | 4 +- src/engine/SCons/Script/__init__.py | 4 +- src/engine/SCons/Sig.py | 4 +- src/engine/SCons/Subst.py | 18 +- src/engine/SCons/Subst.xml | 33 +- src/engine/SCons/SubstTests.py | 9 +- src/engine/SCons/Taskmaster.py | 41 +- src/engine/SCons/TaskmasterTests.py | 9 +- src/engine/SCons/Tool/386asm.py | 4 +- src/engine/SCons/Tool/386asm.xml | 43 +- src/engine/SCons/Tool/BitKeeper.py | 4 +- src/engine/SCons/Tool/BitKeeper.xml | 55 +- src/engine/SCons/Tool/CVS.py | 4 +- src/engine/SCons/Tool/CVS.xml | 59 +- src/engine/SCons/Tool/FortranCommon.py | 4 +- src/engine/SCons/Tool/GettextCommon.py | 4 +- src/engine/SCons/Tool/JavaCommon.py | 4 +- src/engine/SCons/Tool/JavaCommonTests.py | 4 +- src/engine/SCons/Tool/MSCommon/__init__.py | 4 +- src/engine/SCons/Tool/MSCommon/arch.py | 4 +- src/engine/SCons/Tool/MSCommon/common.py | 30 +- src/engine/SCons/Tool/MSCommon/netframework.py | 4 +- src/engine/SCons/Tool/MSCommon/sdk.py | 4 +- src/engine/SCons/Tool/MSCommon/vc.py | 45 +- src/engine/SCons/Tool/MSCommon/vs.py | 4 +- src/engine/SCons/Tool/Perforce.py | 4 +- src/engine/SCons/Tool/Perforce.xml | 53 +- src/engine/SCons/Tool/PharLapCommon.py | 4 +- src/engine/SCons/Tool/PharLapCommonTests.py | 4 +- src/engine/SCons/Tool/RCS.py | 4 +- src/engine/SCons/Tool/RCS.xml | 57 +- src/engine/SCons/Tool/SCCS.py | 4 +- src/engine/SCons/Tool/SCCS.xml | 55 +- src/engine/SCons/Tool/Subversion.py | 4 +- src/engine/SCons/Tool/Subversion.xml | 51 +- src/engine/SCons/Tool/ToolTests.py | 4 +- src/engine/SCons/Tool/__init__.py | 60 +- src/engine/SCons/Tool/__init__.xml | 130 +- src/engine/SCons/Tool/aixc++.py | 4 +- src/engine/SCons/Tool/aixc++.xml | 33 +- src/engine/SCons/Tool/aixcc.py | 4 +- src/engine/SCons/Tool/aixcc.xml | 31 +- src/engine/SCons/Tool/aixf77.py | 4 +- src/engine/SCons/Tool/aixf77.xml | 29 +- src/engine/SCons/Tool/aixlink.py | 4 +- src/engine/SCons/Tool/aixlink.xml | 33 +- src/engine/SCons/Tool/applelink.py | 4 +- src/engine/SCons/Tool/applelink.xml | 77 +- src/engine/SCons/Tool/ar.py | 4 +- src/engine/SCons/Tool/ar.xml | 65 +- src/engine/SCons/Tool/as.py | 4 +- src/engine/SCons/Tool/as.xml | 65 +- src/engine/SCons/Tool/bcc32.py | 4 +- src/engine/SCons/Tool/bcc32.xml | 59 +- src/engine/SCons/Tool/c++.py | 4 +- src/engine/SCons/Tool/c++.xml | 79 +- src/engine/SCons/Tool/cc.py | 4 +- src/engine/SCons/Tool/cc.xml | 99 +- src/engine/SCons/Tool/cvf.py | 4 +- src/engine/SCons/Tool/cvf.xml | 55 +- src/engine/SCons/Tool/cyglink.py | 94 + src/engine/SCons/Tool/default.py | 4 +- src/engine/SCons/Tool/default.xml | 25 +- src/engine/SCons/Tool/dmd.py | 4 +- src/engine/SCons/Tool/dmd.xml | 99 +- src/engine/SCons/Tool/docbook/__init__.py | 877 + src/engine/SCons/Tool/docbook/__init__.xml | 608 + .../.CatalogManager.properties.example | 61 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/.urilist | 1 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/AUTHORS | 4 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/BUGS | 21 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/COPYING | 47 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/INSTALL | 88 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/Makefile | 89 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/NEWS | 139 + .../Tool/docbook/docbook-xsl-1.76.1/NEWS.html | 25 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/NEWS.xml | 145 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/README | 157 + .../docbook/docbook-xsl-1.76.1/RELEASE-NOTES.html | 8353 +++++ .../docbook/docbook-xsl-1.76.1/RELEASE-NOTES.txt | 8575 +++++ .../docbook/docbook-xsl-1.76.1/RELEASE-NOTES.xml | 10327 ++++++ .../SCons/Tool/docbook/docbook-xsl-1.76.1/TODO | 23 + .../SCons/Tool/docbook/docbook-xsl-1.76.1/VERSION | 115 + .../Tool/docbook/docbook-xsl-1.76.1/catalog.xml | 8 + .../Tool/docbook/docbook-xsl-1.76.1/common/af.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/am.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/ar.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/as.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/ast.xml | 660 + .../docbook-xsl-1.76.1/common/autoidx-kimber.xsl | 44 + .../docbook-xsl-1.76.1/common/autoidx-kosek.xsl | 154 + .../Tool/docbook/docbook-xsl-1.76.1/common/az.xml | 672 + .../Tool/docbook/docbook-xsl-1.76.1/common/bg.xml | 724 + .../Tool/docbook/docbook-xsl-1.76.1/common/bn.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/bn_in.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/bs.xml | 662 + .../Tool/docbook/docbook-xsl-1.76.1/common/ca.xml | 660 + .../docbook/docbook-xsl-1.76.1/common/charmap.xml | 185 + .../docbook/docbook-xsl-1.76.1/common/charmap.xsl | 221 + .../docbook/docbook-xsl-1.76.1/common/common.xml | 622 + .../docbook/docbook-xsl-1.76.1/common/common.xsl | 2039 ++ .../Tool/docbook/docbook-xsl-1.76.1/common/cs.xml | 700 + .../Tool/docbook/docbook-xsl-1.76.1/common/cy.xml | 1245 + .../Tool/docbook/docbook-xsl-1.76.1/common/da.xml | 664 + .../Tool/docbook/docbook-xsl-1.76.1/common/de.xml | 666 + .../Tool/docbook/docbook-xsl-1.76.1/common/el.xml | 729 + .../Tool/docbook/docbook-xsl-1.76.1/common/en.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/entities.ent | 67 + .../Tool/docbook/docbook-xsl-1.76.1/common/eo.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/es.xml | 676 + .../Tool/docbook/docbook-xsl-1.76.1/common/et.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/eu.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/fa.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/fi.xml | 670 + .../Tool/docbook/docbook-xsl-1.76.1/common/fr.xml | 690 + .../Tool/docbook/docbook-xsl-1.76.1/common/ga.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/gentext.xsl | 839 + .../Tool/docbook/docbook-xsl-1.76.1/common/gl.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/gu.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/he.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/hi.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/hr.xml | 662 + .../Tool/docbook/docbook-xsl-1.76.1/common/hu.xml | 678 + .../Tool/docbook/docbook-xsl-1.76.1/common/id.xml | 1229 + .../docbook-xsl-1.76.1/common/insertfile.xsl | 111 + .../Tool/docbook/docbook-xsl-1.76.1/common/is.xml | 672 + .../Tool/docbook/docbook-xsl-1.76.1/common/it.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/ja.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/ka.xml | 700 + .../Tool/docbook/docbook-xsl-1.76.1/common/kn.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/ko.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/ky.xml | 732 + .../docbook/docbook-xsl-1.76.1/common/l10n.dtd | 64 + .../docbook/docbook-xsl-1.76.1/common/l10n.xml | 77 + .../docbook/docbook-xsl-1.76.1/common/l10n.xsl | 593 + .../Tool/docbook/docbook-xsl-1.76.1/common/la.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/labels.xsl | 890 + .../Tool/docbook/docbook-xsl-1.76.1/common/lt.xml | 678 + .../Tool/docbook/docbook-xsl-1.76.1/common/lv.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/ml.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/mn.xml | 730 + .../Tool/docbook/docbook-xsl-1.76.1/common/mr.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/nb.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/nds.xml | 666 + .../Tool/docbook/docbook-xsl-1.76.1/common/nl.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/nn.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/olink.xsl | 1225 + .../Tool/docbook/docbook-xsl-1.76.1/common/or.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/pa.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/pi.xml | 168 + .../Tool/docbook/docbook-xsl-1.76.1/common/pi.xsl | 346 + .../Tool/docbook/docbook-xsl-1.76.1/common/pl.xml | 678 + .../Tool/docbook/docbook-xsl-1.76.1/common/pt.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/pt_br.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/refentry.xml | 781 + .../docbook/docbook-xsl-1.76.1/common/refentry.xsl | 1352 + .../Tool/docbook/docbook-xsl-1.76.1/common/ro.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/ru.xml | 726 + .../Tool/docbook/docbook-xsl-1.76.1/common/sk.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/sl.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/sq.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/sr.xml | 720 + .../docbook/docbook-xsl-1.76.1/common/sr_Latn.xml | 679 + .../docbook/docbook-xsl-1.76.1/common/stripns.xsl | 352 + .../docbook-xsl-1.76.1/common/subtitles.xsl | 155 + .../Tool/docbook/docbook-xsl-1.76.1/common/sv.xml | 664 + .../Tool/docbook/docbook-xsl-1.76.1/common/ta.xml | 660 + .../docbook/docbook-xsl-1.76.1/common/table.xsl | 514 + .../docbook-xsl-1.76.1/common/targetdatabase.dtd | 49 + .../docbook/docbook-xsl-1.76.1/common/targets.xsl | 333 + .../Tool/docbook/docbook-xsl-1.76.1/common/te.xml | 660 + .../Tool/docbook/docbook-xsl-1.76.1/common/th.xml | 1229 + .../docbook/docbook-xsl-1.76.1/common/titles.xsl | 805 + .../Tool/docbook/docbook-xsl-1.76.1/common/tl.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/tr.xml | 666 + .../Tool/docbook/docbook-xsl-1.76.1/common/uk.xml | 726 + .../docbook/docbook-xsl-1.76.1/common/utility.xml | 259 + .../docbook/docbook-xsl-1.76.1/common/utility.xsl | 290 + .../Tool/docbook/docbook-xsl-1.76.1/common/vi.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/xh.xml | 1229 + .../Tool/docbook/docbook-xsl-1.76.1/common/zh.xml | 660 + .../docbook/docbook-xsl-1.76.1/common/zh_cn.xml | 660 + .../docbook/docbook-xsl-1.76.1/common/zh_tw.xml | 660 + .../docbook/docbook-xsl-1.76.1/docsrc/authors.xml | 10 + .../docbook-xsl-1.76.1/docsrc/copyright.xml | 18 + .../docbook/docbook-xsl-1.76.1/docsrc/license.xml | 23 + .../docbook-xsl-1.76.1/docsrc/reference.css | 79 + .../docbook-xsl-1.76.1/docsrc/reference.xml | 229 + .../docsrc/reference.xml.included | 33905 +++++++++++++++++++ .../docbook/docbook-xsl-1.76.1/docsrc/warranty.xml | 11 + .../docbook/docbook-xsl-1.76.1/eclipse/eclipse.xsl | 306 + .../docbook-xsl-1.76.1/eclipse/eclipse3.xsl | 111 + .../docbook-xsl-1.76.1/eclipse/profile-eclipse.xsl | 269 + .../Tool/docbook/docbook-xsl-1.76.1/epub/README | 88 + .../docbook/docbook-xsl-1.76.1/epub/bin/dbtoepub | 76 + .../docbook-xsl-1.76.1/epub/bin/lib/docbook.rb | 227 + .../docbook-xsl-1.76.1/epub/bin/xslt/obfuscate.xsl | 12 + .../docbook/docbook-xsl-1.76.1/epub/docbook.xsl | 1690 + .../docbook-xsl-1.76.1/extensions/LICENSE.txt | 264 + .../docbook-xsl-1.76.1/extensions/NOTICE.txt | 12 + .../docbook-xsl-1.76.1/extensions/README.LIBXSLT | 52 + .../docbook-xsl-1.76.1/extensions/README.txt | 4 + .../docbook-xsl-1.76.1/extensions/docbook.py | 239 + .../docbook/docbook-xsl-1.76.1/extensions/xslt.py | 84 + .../Tool/docbook/docbook-xsl-1.76.1/fo/admon.xsl | 130 + .../docbook/docbook-xsl-1.76.1/fo/annotations.xsl | 18 + .../docbook-xsl-1.76.1/fo/autoidx-kimber.xsl | 172 + .../docbook-xsl-1.76.1/fo/autoidx-kosek.xsl | 139 + .../docbook/docbook-xsl-1.76.1/fo/autoidx-ng.xsl | 20 + .../Tool/docbook/docbook-xsl-1.76.1/fo/autoidx.xsl | 1330 + .../Tool/docbook/docbook-xsl-1.76.1/fo/autotoc.xsl | 915 + .../Tool/docbook/docbook-xsl-1.76.1/fo/axf.xsl | 110 + .../docbook-xsl-1.76.1/fo/biblio-iso690.xsl | 1300 + .../Tool/docbook/docbook-xsl-1.76.1/fo/biblio.xsl | 1169 + .../Tool/docbook/docbook-xsl-1.76.1/fo/block.xsl | 654 + .../Tool/docbook/docbook-xsl-1.76.1/fo/callout.xsl | 231 + .../docbook/docbook-xsl-1.76.1/fo/component.xsl | 887 + .../docbook/docbook-xsl-1.76.1/fo/division.xsl | 612 + .../Tool/docbook/docbook-xsl-1.76.1/fo/docbook.xsl | 335 + .../Tool/docbook/docbook-xsl-1.76.1/fo/ebnf.xsl | 325 + .../Tool/docbook/docbook-xsl-1.76.1/fo/fo-rtf.xsl | 154 + .../Tool/docbook/docbook-xsl-1.76.1/fo/fo.xsl | 117 + .../docbook/docbook-xsl-1.76.1/fo/footnote.xsl | 220 + .../Tool/docbook/docbook-xsl-1.76.1/fo/fop.xsl | 93 + .../Tool/docbook/docbook-xsl-1.76.1/fo/fop1.xsl | 223 + .../Tool/docbook/docbook-xsl-1.76.1/fo/formal.xsl | 642 + .../docbook/docbook-xsl-1.76.1/fo/glossary.xsl | 1169 + .../docbook/docbook-xsl-1.76.1/fo/graphics.xsl | 648 + .../docbook/docbook-xsl-1.76.1/fo/highlight.xsl | 77 + .../Tool/docbook/docbook-xsl-1.76.1/fo/htmltbl.xsl | 425 + .../Tool/docbook/docbook-xsl-1.76.1/fo/index.xsl | 484 + .../Tool/docbook/docbook-xsl-1.76.1/fo/info.xsl | 34 + .../Tool/docbook/docbook-xsl-1.76.1/fo/inline.xsl | 1288 + .../docbook/docbook-xsl-1.76.1/fo/keywords.xsl | 21 + .../Tool/docbook/docbook-xsl-1.76.1/fo/lists.xsl | 1393 + .../Tool/docbook/docbook-xsl-1.76.1/fo/math.xsl | 140 + .../docbook/docbook-xsl-1.76.1/fo/pagesetup.xsl | 2569 ++ .../Tool/docbook/docbook-xsl-1.76.1/fo/param.xml | 12445 +++++++ .../Tool/docbook/docbook-xsl-1.76.1/fo/param.xsl | 946 + .../docbook/docbook-xsl-1.76.1/fo/passivetex.xsl | 36 + .../Tool/docbook/docbook-xsl-1.76.1/fo/pdf2index | 140 + .../Tool/docbook/docbook-xsl-1.76.1/fo/pi.xml | 1002 + .../Tool/docbook/docbook-xsl-1.76.1/fo/pi.xsl | 1092 + .../docbook-xsl-1.76.1/fo/profile-docbook.xsl | 289 + .../Tool/docbook/docbook-xsl-1.76.1/fo/ptc.xsl | 77 + .../docbook/docbook-xsl-1.76.1/fo/qandaset.xsl | 395 + .../docbook/docbook-xsl-1.76.1/fo/refentry.xsl | 638 + .../docbook/docbook-xsl-1.76.1/fo/sections.xsl | 764 + .../Tool/docbook/docbook-xsl-1.76.1/fo/spaces.xsl | 274 + .../Tool/docbook/docbook-xsl-1.76.1/fo/synop.xsl | 1007 + .../Tool/docbook/docbook-xsl-1.76.1/fo/table.xml | 135 + .../Tool/docbook/docbook-xsl-1.76.1/fo/table.xsl | 1681 + .../Tool/docbook/docbook-xsl-1.76.1/fo/task.xsl | 91 + .../docbook-xsl-1.76.1/fo/titlepage.templates.xml | 1354 + .../docbook-xsl-1.76.1/fo/titlepage.templates.xsl | 5182 +++ .../docbook/docbook-xsl-1.76.1/fo/titlepage.xsl | 767 + .../Tool/docbook/docbook-xsl-1.76.1/fo/toc.xsl | 332 + .../docbook/docbook-xsl-1.76.1/fo/verbatim.xsl | 465 + .../Tool/docbook/docbook-xsl-1.76.1/fo/xep.xsl | 180 + .../Tool/docbook/docbook-xsl-1.76.1/fo/xref.xsl | 1538 + .../docbook/docbook-xsl-1.76.1/highlighting/README | 16 + .../docbook-xsl-1.76.1/highlighting/c-hl.xml | 101 + .../docbook-xsl-1.76.1/highlighting/common.xsl | 120 + .../docbook-xsl-1.76.1/highlighting/cpp-hl.xml | 150 + .../docbook-xsl-1.76.1/highlighting/csharp-hl.xml | 187 + .../docbook-xsl-1.76.1/highlighting/delphi-hl.xml | 200 + .../docbook-xsl-1.76.1/highlighting/ini-hl.xml | 45 + .../docbook-xsl-1.76.1/highlighting/java-hl.xml | 117 + .../highlighting/javascript-hl.xml | 147 + .../docbook-xsl-1.76.1/highlighting/m2-hl.xml | 90 + .../docbook-xsl-1.76.1/highlighting/myxml-hl.xml | 116 + .../docbook-xsl-1.76.1/highlighting/perl-hl.xml | 120 + .../docbook-xsl-1.76.1/highlighting/php-hl.xml | 149 + .../docbook-xsl-1.76.1/highlighting/python-hl.xml | 100 + .../docbook-xsl-1.76.1/highlighting/ruby-hl.xml | 109 + .../docbook-xsl-1.76.1/highlighting/tcl-hl.xml | 180 + .../highlighting/xslthl-config.xml | 46 + .../Tool/docbook/docbook-xsl-1.76.1/html/admon.xsl | 134 + .../docbook-xsl-1.76.1/html/annotations.xsl | 169 + .../docbook-xsl-1.76.1/html/autoidx-kimber.xsl | 165 + .../docbook-xsl-1.76.1/html/autoidx-kosek.xsl | 120 + .../docbook/docbook-xsl-1.76.1/html/autoidx-ng.xsl | 20 + .../docbook/docbook-xsl-1.76.1/html/autoidx.xsl | 739 + .../docbook/docbook-xsl-1.76.1/html/autotoc.xsl | 707 + .../docbook-xsl-1.76.1/html/biblio-iso690.xsl | 1300 + .../docbook/docbook-xsl-1.76.1/html/biblio.xsl | 1253 + .../Tool/docbook/docbook-xsl-1.76.1/html/block.xsl | 538 + .../docbook/docbook-xsl-1.76.1/html/callout.xsl | 201 + .../docbook/docbook-xsl-1.76.1/html/changebars.xsl | 121 + .../docbook-xsl-1.76.1/html/chunk-changebars.xsl | 99 + .../docbook/docbook-xsl-1.76.1/html/chunk-code.xsl | 674 + .../docbook-xsl-1.76.1/html/chunk-common.xsl | 1920 ++ .../Tool/docbook/docbook-xsl-1.76.1/html/chunk.xsl | 52 + .../docbook/docbook-xsl-1.76.1/html/chunker.xsl | 439 + .../docbook/docbook-xsl-1.76.1/html/chunkfast.xsl | 72 + .../docbook/docbook-xsl-1.76.1/html/chunktoc.xsl | 543 + .../docbook/docbook-xsl-1.76.1/html/component.xsl | 425 + .../docbook/docbook-xsl-1.76.1/html/division.xsl | 217 + .../docbook-xsl-1.76.1/html/docbook.css.xml | 109 + .../docbook/docbook-xsl-1.76.1/html/docbook.xsl | 480 + .../Tool/docbook/docbook-xsl-1.76.1/html/ebnf.xsl | 329 + .../docbook/docbook-xsl-1.76.1/html/footnote.xsl | 313 + .../docbook/docbook-xsl-1.76.1/html/formal.xsl | 425 + .../docbook/docbook-xsl-1.76.1/html/glossary.xsl | 492 + .../docbook/docbook-xsl-1.76.1/html/graphics.xsl | 1515 + .../docbook/docbook-xsl-1.76.1/html/highlight.xsl | 86 + .../docbook/docbook-xsl-1.76.1/html/html-rtf.xsl | 336 + .../Tool/docbook/docbook-xsl-1.76.1/html/html.xsl | 612 + .../docbook/docbook-xsl-1.76.1/html/htmltbl.xsl | 135 + .../Tool/docbook/docbook-xsl-1.76.1/html/index.xsl | 288 + .../Tool/docbook/docbook-xsl-1.76.1/html/info.xsl | 43 + .../docbook/docbook-xsl-1.76.1/html/inline.xsl | 1490 + .../docbook/docbook-xsl-1.76.1/html/keywords.xsl | 35 + .../Tool/docbook/docbook-xsl-1.76.1/html/lists.xsl | 1183 + .../docbook/docbook-xsl-1.76.1/html/maketoc.xsl | 86 + .../docbook/docbook-xsl-1.76.1/html/manifest.xsl | 22 + .../Tool/docbook/docbook-xsl-1.76.1/html/math.xsl | 270 + .../docbook/docbook-xsl-1.76.1/html/oldchunker.xsl | 202 + .../docbook/docbook-xsl-1.76.1/html/onechunk.xsl | 37 + .../Tool/docbook/docbook-xsl-1.76.1/html/param.xml | 10905 ++++++ .../Tool/docbook/docbook-xsl-1.76.1/html/param.xsl | 434 + .../Tool/docbook/docbook-xsl-1.76.1/html/pi.xml | 1113 + .../Tool/docbook/docbook-xsl-1.76.1/html/pi.xsl | 1263 + .../docbook-xsl-1.76.1/html/profile-chunk-code.xsl | 615 + .../docbook-xsl-1.76.1/html/profile-chunk.xsl | 52 + .../docbook-xsl-1.76.1/html/profile-docbook.xsl | 413 + .../docbook-xsl-1.76.1/html/profile-onechunk.xsl | 37 + .../docbook/docbook-xsl-1.76.1/html/qandaset.xsl | 437 + .../docbook/docbook-xsl-1.76.1/html/refentry.xsl | 299 + .../docbook/docbook-xsl-1.76.1/html/sections.xsl | 615 + .../Tool/docbook/docbook-xsl-1.76.1/html/synop.xsl | 1554 + .../Tool/docbook/docbook-xsl-1.76.1/html/table.xsl | 1200 + .../Tool/docbook/docbook-xsl-1.76.1/html/task.xsl | 76 + .../html/titlepage.templates.xml | 708 + .../html/titlepage.templates.xsl | 3817 +++ .../docbook/docbook-xsl-1.76.1/html/titlepage.xsl | 1047 + .../Tool/docbook/docbook-xsl-1.76.1/html/toc.xsl | 350 + .../docbook/docbook-xsl-1.76.1/html/verbatim.xsl | 410 + .../Tool/docbook/docbook-xsl-1.76.1/html/xref.xsl | 1377 + .../htmlhelp/htmlhelp-common.xsl | 1120 + .../docbook-xsl-1.76.1/htmlhelp/htmlhelp.xsl | 22 + .../htmlhelp/profile-htmlhelp-common.xsl | 1083 + .../htmlhelp/profile-htmlhelp.xsl | 22 + .../docbook-xsl-1.76.1/images/callouts/1.svg | 15 + .../docbook-xsl-1.76.1/images/callouts/10.svg | 18 + .../docbook-xsl-1.76.1/images/callouts/11.svg | 16 + .../docbook-xsl-1.76.1/images/callouts/12.svg | 18 + .../docbook-xsl-1.76.1/images/callouts/13.svg | 20 + .../docbook-xsl-1.76.1/images/callouts/14.svg | 17 + .../docbook-xsl-1.76.1/images/callouts/15.svg | 19 + .../docbook-xsl-1.76.1/images/callouts/16.svg | 20 + .../docbook-xsl-1.76.1/images/callouts/17.svg | 17 + .../docbook-xsl-1.76.1/images/callouts/18.svg | 21 + .../docbook-xsl-1.76.1/images/callouts/19.svg | 20 + .../docbook-xsl-1.76.1/images/callouts/2.svg | 17 + .../docbook-xsl-1.76.1/images/callouts/20.svg | 20 + .../docbook-xsl-1.76.1/images/callouts/21.svg | 18 + .../docbook-xsl-1.76.1/images/callouts/22.svg | 20 + .../docbook-xsl-1.76.1/images/callouts/23.svg | 22 + .../docbook-xsl-1.76.1/images/callouts/24.svg | 19 + .../docbook-xsl-1.76.1/images/callouts/25.svg | 21 + .../docbook-xsl-1.76.1/images/callouts/26.svg | 22 + .../docbook-xsl-1.76.1/images/callouts/27.svg | 19 + .../docbook-xsl-1.76.1/images/callouts/28.svg | 23 + .../docbook-xsl-1.76.1/images/callouts/29.svg | 22 + .../docbook-xsl-1.76.1/images/callouts/3.svg | 19 + .../docbook-xsl-1.76.1/images/callouts/30.svg | 22 + .../docbook-xsl-1.76.1/images/callouts/4.svg | 16 + .../docbook-xsl-1.76.1/images/callouts/5.svg | 18 + .../docbook-xsl-1.76.1/images/callouts/6.svg | 19 + .../docbook-xsl-1.76.1/images/callouts/7.svg | 16 + .../docbook-xsl-1.76.1/images/callouts/8.svg | 20 + .../docbook-xsl-1.76.1/images/callouts/9.svg | 19 + .../docbook/docbook-xsl-1.76.1/images/caution.svg | 25 + .../docbook-xsl-1.76.1/images/colorsvg/caution.svg | 141 + .../docbook-xsl-1.76.1/images/colorsvg/home.svg | 498 + .../images/colorsvg/important.svg | 239 + .../docbook-xsl-1.76.1/images/colorsvg/next.svg | 338 + .../docbook-xsl-1.76.1/images/colorsvg/note.svg | 200 + .../docbook-xsl-1.76.1/images/colorsvg/prev.svg | 338 + .../docbook-xsl-1.76.1/images/colorsvg/tip.svg | 367 + .../docbook-xsl-1.76.1/images/colorsvg/up.svg | 338 + .../docbook-xsl-1.76.1/images/colorsvg/warning.svg | 232 + .../docbook/docbook-xsl-1.76.1/images/home.svg | 26 + .../docbook-xsl-1.76.1/images/important.svg | 25 + .../docbook/docbook-xsl-1.76.1/images/next.svg | 19 + .../docbook/docbook-xsl-1.76.1/images/note.svg | 33 + .../docbook/docbook-xsl-1.76.1/images/prev.svg | 19 + .../Tool/docbook/docbook-xsl-1.76.1/images/tip.svg | 31 + .../Tool/docbook/docbook-xsl-1.76.1/images/up.svg | 19 + .../docbook/docbook-xsl-1.76.1/images/warning.svg | 23 + .../Tool/docbook/docbook-xsl-1.76.1/install.sh | 977 + .../docbook-xsl-1.76.1/javahelp/javahelp.xsl | 625 + .../javahelp/profile-javahelp.xsl | 549 + .../Tool/docbook/docbook-xsl-1.76.1/lib/lib.xsl | 480 + .../docbook-xsl-1.76.1/manpages/ChangeLog.20020917 | 195 + .../docbook/docbook-xsl-1.76.1/manpages/block.xsl | 411 + .../docbook-xsl-1.76.1/manpages/charmap.groff.xsl | 6013 ++++ .../docbook-xsl-1.76.1/manpages/docbook.xsl | 311 + .../docbook-xsl-1.76.1/manpages/endnotes.xsl | 586 + .../docbook-xsl-1.76.1/manpages/html-synop.xsl | 1567 + .../docbook/docbook-xsl-1.76.1/manpages/info.xsl | 800 + .../docbook/docbook-xsl-1.76.1/manpages/inline.xsl | 219 + .../docbook/docbook-xsl-1.76.1/manpages/lists.xsl | 604 + .../docbook/docbook-xsl-1.76.1/manpages/other.xsl | 888 + .../docbook/docbook-xsl-1.76.1/manpages/param.xml | 3220 ++ .../docbook/docbook-xsl-1.76.1/manpages/param.xsl | 193 + .../docbook/docbook-xsl-1.76.1/manpages/pi.xml | 70 + .../docbook/docbook-xsl-1.76.1/manpages/pi.xsl | 79 + .../manpages/profile-docbook.xsl | 281 + .../docbook-xsl-1.76.1/manpages/refentry.xsl | 319 + .../docbook/docbook-xsl-1.76.1/manpages/synop.xsl | 432 + .../docbook/docbook-xsl-1.76.1/manpages/table.xsl | 633 + .../docbook-xsl-1.76.1/manpages/utility.xsl | 555 + .../params/abstract.notitle.enabled.xml | 22 + .../params/abstract.properties.xml | 32 + .../params/abstract.title.properties.xml | 39 + .../docbook-xsl-1.76.1/params/active.toc.xml | 29 + .../docbook-xsl-1.76.1/params/ade.extensions.xml | 32 + .../params/admon.graphics.extension.xml | 27 + .../params/admon.graphics.path.xml | 27 + .../docbook-xsl-1.76.1/params/admon.graphics.xml | 29 + .../docbook-xsl-1.76.1/params/admon.style.xml | 31 + .../docbook-xsl-1.76.1/params/admon.textlabel.xml | 32 + .../params/admonition.properties.xml | 25 + .../params/admonition.title.properties.xml | 32 + .../docbook-xsl-1.76.1/params/alignment.xml | 41 + .../docbook-xsl-1.76.1/params/annotate.toc.xml | 28 + .../docbook-xsl-1.76.1/params/annotation.css.xml | 71 + .../params/annotation.graphic.close.xml | 31 + .../params/annotation.graphic.open.xml | 28 + .../docbook-xsl-1.76.1/params/annotation.js.xml | 33 + .../params/annotation.support.xml | 29 + .../params/appendix.autolabel.xml | 73 + .../params/arbortext.extensions.xml | 30 + .../params/article.appendix.title.properties.xml | 33 + .../params/author.othername.in.middle.xml | 31 + .../docbook-xsl-1.76.1/params/autolayout-file.xml | 29 + .../params/autotoc.label.in.hyperlink.xml | 29 + .../params/autotoc.label.separator.xml | 27 + .../docbook-xsl-1.76.1/params/axf.extensions.xml | 33 + .../params/banner.before.navigation.xml | 25 + .../docbook/docbook-xsl-1.76.1/params/base.dir.xml | 29 + .../params/biblioentry.item.separator.xml | 26 + .../params/biblioentry.properties.xml | 28 + .../params/bibliography.collection.xml | 104 + .../params/bibliography.numbered.xml | 27 + .../params/bibliography.style.xml | 35 + .../params/blockquote.properties.xml | 34 + .../params/blurb.on.titlepage.enabled.xml | 31 + .../docbook-xsl-1.76.1/params/body.attributes.xml | 31 + .../docbook-xsl-1.76.1/params/body.bg.color.xml | 28 + .../docbook-xsl-1.76.1/params/body.end.indent.xml | 37 + .../docbook-xsl-1.76.1/params/body.font.family.xml | 32 + .../docbook-xsl-1.76.1/params/body.font.master.xml | 30 + .../docbook-xsl-1.76.1/params/body.font.size.xml | 31 + .../params/body.margin.bottom.xml | 29 + .../docbook-xsl-1.76.1/params/body.margin.top.xml | 28 + .../params/body.start.indent.xml | 64 + .../params/bookmarks.collapse.xml | 31 + .../params/bridgehead.in.toc.xml | 28 + .../docbook-xsl-1.76.1/params/bullet.image.xml | 28 + .../params/callout.defaultcolumn.xml | 30 + .../params/callout.graphics.extension.xml | 33 + .../params/callout.graphics.number.limit.xml | 34 + .../params/callout.graphics.path.xml | 31 + .../docbook-xsl-1.76.1/params/callout.graphics.xml | 30 + .../params/callout.icon.size.xml | 28 + .../params/callout.list.table.xml | 32 + .../params/callout.unicode.font.xml | 29 + .../params/callout.unicode.number.limit.xml | 35 + .../params/callout.unicode.start.character.xml | 33 + .../docbook-xsl-1.76.1/params/callout.unicode.xml | 26 + .../params/callouts.extension.xml | 30 + .../params/chapter.autolabel.xml | 71 + .../docbook-xsl-1.76.1/params/chunk.append.xml | 30 + .../params/chunk.first.sections.xml | 31 + .../docbook-xsl-1.76.1/params/chunk.quietly.xml | 30 + .../params/chunk.section.depth.xml | 27 + .../docbook-xsl-1.76.1/params/chunk.sections.xml | 30 + .../params/chunk.separate.lots.xml | 36 + .../docbook-xsl-1.76.1/params/chunk.toc.xml | 30 + .../params/chunk.tocs.and.lots.has.title.xml | 28 + .../params/chunk.tocs.and.lots.xml | 32 + .../chunker.output.cdata-section-elements.xml | 30 + .../params/chunker.output.doctype-public.xml | 31 + .../params/chunker.output.doctype-system.xml | 31 + .../params/chunker.output.encoding.xml | 31 + .../params/chunker.output.indent.xml | 30 + .../params/chunker.output.media-type.xml | 35 + .../params/chunker.output.method.xml | 32 + .../params/chunker.output.omit-xml-declaration.xml | 30 + .../params/chunker.output.standalone.xml | 31 + .../params/citerefentry.link.xml | 29 + .../params/collect.xref.targets.xml | 33 + .../params/column.count.back.xml | 27 + .../params/column.count.body.xml | 27 + .../params/column.count.front.xml | 27 + .../params/column.count.index.xml | 27 + .../docbook-xsl-1.76.1/params/column.count.lot.xml | 28 + .../params/column.count.titlepage.xml | 27 + .../docbook-xsl-1.76.1/params/column.gap.back.xml | 28 + .../docbook-xsl-1.76.1/params/column.gap.body.xml | 28 + .../docbook-xsl-1.76.1/params/column.gap.front.xml | 28 + .../docbook-xsl-1.76.1/params/column.gap.index.xml | 28 + .../docbook-xsl-1.76.1/params/column.gap.lot.xml | 28 + .../params/column.gap.titlepage.xml | 29 + .../params/compact.list.item.spacing.xml | 28 + .../params/component.label.includes.part.label.xml | 39 + .../params/component.title.properties.xml | 40 + .../params/component.titlepage.properties.xml | 33 + .../params/contrib.inline.enabled.xml | 26 + .../docbook-xsl-1.76.1/params/crop.mark.bleed.xml | 28 + .../docbook-xsl-1.76.1/params/crop.mark.offset.xml | 28 + .../docbook-xsl-1.76.1/params/crop.mark.width.xml | 28 + .../docbook-xsl-1.76.1/params/crop.marks.xml | 28 + .../docbook-xsl-1.76.1/params/css.decoration.xml | 33 + .../params/css.stylesheet.dir.xml | 33 + .../docbook-xsl-1.76.1/params/css.stylesheet.xml | 29 + .../docbook-xsl-1.76.1/params/current.docid.xml | 27 + .../params/currentpage.marker.xml | 25 + .../params/custom.css.source.xml | 119 + .../params/default.float.class.xml | 34 + .../params/default.image.width.xml | 30 + .../params/default.table.frame.xml | 28 + .../params/default.table.rules.xml | 76 + .../params/default.table.width.xml | 26 + .../docbook-xsl-1.76.1/params/default.units.xml | 37 + .../params/dingbat.font.family.xml | 33 + .../docbook-xsl-1.76.1/params/docbook.css.link.xml | 42 + .../params/docbook.css.source.xml | 83 + .../docbook-xsl-1.76.1/params/double.sided.xml | 31 + .../docbook-xsl-1.76.1/params/draft.mode.xml | 36 + .../params/draft.watermark.image.xml | 27 + .../docbook/docbook-xsl-1.76.1/params/dry-run.xml | 27 + .../docbook-xsl-1.76.1/params/dynamic.toc.xml | 29 + .../docbook-xsl-1.76.1/params/ebnf.assignment.xml | 39 + .../params/ebnf.statement.terminator.xml | 32 + .../params/ebnf.table.bgcolor.xml | 30 + .../params/ebnf.table.border.xml | 26 + .../params/eclipse.autolabel.xml | 28 + .../params/eclipse.plugin.id.xml | 28 + .../params/eclipse.plugin.name.xml | 27 + .../params/eclipse.plugin.provider.xml | 27 + .../docbook-xsl-1.76.1/params/editedby.enabled.xml | 27 + .../params/email.delimiters.enabled.xml | 34 + .../params/email.mailto.enabled.xml | 29 + .../params/emphasis.propagates.style.xml | 26 + .../params/entry.propagates.style.xml | 30 + .../docbook-xsl-1.76.1/params/epub.autolabel.xml | 28 + .../params/equation.number.properties.xml | 28 + .../params/equation.properties.xml | 27 + .../params/example.properties.xml | 27 + .../params/exsl.node.set.available.xml | 44 + .../docbook-xsl-1.76.1/params/feedback.href.xml | 28 + .../params/feedback.link.text.xml | 28 + .../params/feedback.with.ids.xml | 27 + .../params/figure.properties.xml | 27 + .../docbook-xsl-1.76.1/params/filename-prefix.xml | 28 + .../params/firstterm.only.link.xml | 29 + .../docbook-xsl-1.76.1/params/foil.properties.xml | 37 + .../params/foil.subtitle.properties.xml | 36 + .../params/foil.title.master.xml | 29 + .../docbook-xsl-1.76.1/params/foil.title.size.xml | 32 + .../params/foilgroup.properties.xml | 31 + .../docbook-xsl-1.76.1/params/foilgroup.toc.xml | 29 + .../params/footer.column.widths.xml | 80 + .../params/footer.content.properties.xml | 34 + .../docbook-xsl-1.76.1/params/footer.hr.xml | 26 + .../docbook-xsl-1.76.1/params/footer.rule.xml | 27 + .../params/footer.table.height.xml | 32 + .../params/footer.table.properties.xml | 30 + .../params/footers.on.blank.pages.xml | 27 + .../params/footnote.font.size.xml | 28 + .../params/footnote.mark.properties.xml | 41 + .../params/footnote.number.format.xml | 33 + .../params/footnote.number.symbols.xml | 39 + .../params/footnote.properties.xml | 43 + .../params/footnote.sep.leader.properties.xml | 39 + .../docbook-xsl-1.76.1/params/fop.extensions.xml | 36 + .../docbook-xsl-1.76.1/params/fop1.extensions.xml | 34 + .../params/formal.object.properties.xml | 36 + .../params/formal.procedures.xml | 28 + .../params/formal.title.placement.xml | 41 + .../params/formal.title.properties.xml | 34 + .../params/funcsynopsis.decoration.xml | 30 + .../params/funcsynopsis.style.xml | 31 + .../docbook-xsl-1.76.1/params/function.parens.xml | 29 + .../params/generate.css.header.xml | 40 + .../params/generate.id.attributes.xml | 59 + .../docbook-xsl-1.76.1/params/generate.index.xml | 25 + .../params/generate.legalnotice.link.xml | 72 + .../params/generate.manifest.xml | 27 + .../params/generate.meta.abstract.xml | 29 + .../params/generate.revhistory.link.xml | 50 + .../params/generate.section.toc.level.xml | 35 + .../docbook-xsl-1.76.1/params/generate.toc.xml | 108 + .../params/glossary.as.blocks.xml | 38 + .../params/glossary.collection.xml | 252 + .../docbook-xsl-1.76.1/params/glossary.sort.xml | 32 + .../params/glossdef.block.properties.xml | 32 + .../params/glossdef.list.properties.xml | 30 + .../params/glossentry.list.item.properties.xml | 32 + .../params/glossentry.show.acronym.xml | 37 + .../params/glosslist.as.blocks.xml | 27 + .../params/glossterm.auto.link.xml | 33 + .../params/glossterm.block.properties.xml | 35 + .../params/glossterm.list.properties.xml | 30 + .../params/glossterm.separation.xml | 31 + .../docbook-xsl-1.76.1/params/glossterm.width.xml | 28 + .../params/graphic.default.extension.xml | 29 + .../params/graphical.admonition.properties.xml | 42 + .../docbook-xsl-1.76.1/params/graphics.dir.xml | 33 + .../params/graphicsize.extension.xml | 30 + .../params/graphicsize.use.img.src.path.xml | 30 + .../params/header.column.widths.xml | 80 + .../params/header.content.properties.xml | 34 + .../docbook-xsl-1.76.1/params/header.hr.xml | 26 + .../docbook-xsl-1.76.1/params/header.rule.xml | 27 + .../params/header.table.height.xml | 32 + .../params/header.table.properties.xml | 30 + .../params/headers.on.blank.pages.xml | 27 + .../docbook-xsl-1.76.1/params/hidetoc.image.xml | 29 + .../params/highlight.default.language.xml | 27 + .../docbook-xsl-1.76.1/params/highlight.source.xml | 82 + .../params/highlight.xslthl.config.xml | 33 + .../docbook-xsl-1.76.1/params/home.image.xml | 27 + .../docbook-xsl-1.76.1/params/html.append.xml | 30 + .../docbook-xsl-1.76.1/params/html.base.xml | 30 + .../docbook-xsl-1.76.1/params/html.cellpadding.xml | 29 + .../docbook-xsl-1.76.1/params/html.cellspacing.xml | 29 + .../docbook-xsl-1.76.1/params/html.cleanup.xml | 34 + .../docbook/docbook-xsl-1.76.1/params/html.ext.xml | 29 + .../params/html.extra.head.links.xml | 31 + .../params/html.head.legalnotice.link.multiple.xml | 44 + .../params/html.head.legalnotice.link.types.xml | 75 + .../params/html.longdesc.link.xml | 39 + .../docbook-xsl-1.76.1/params/html.longdesc.xml | 28 + .../params/html.stylesheet.type.xml | 26 + .../docbook-xsl-1.76.1/params/html.stylesheet.xml | 36 + .../params/htmlhelp.alias.file.xml | 27 + .../params/htmlhelp.autolabel.xml | 28 + .../params/htmlhelp.button.back.xml | 27 + .../params/htmlhelp.button.forward.xml | 27 + .../params/htmlhelp.button.hideshow.xml | 27 + .../params/htmlhelp.button.home.url.xml | 27 + .../params/htmlhelp.button.home.xml | 27 + .../params/htmlhelp.button.jump1.title.xml | 27 + .../params/htmlhelp.button.jump1.url.xml | 27 + .../params/htmlhelp.button.jump1.xml | 23 + .../params/htmlhelp.button.jump2.title.xml | 27 + .../params/htmlhelp.button.jump2.url.xml | 27 + .../params/htmlhelp.button.jump2.xml | 27 + .../params/htmlhelp.button.locate.xml | 28 + .../params/htmlhelp.button.next.xml | 27 + .../params/htmlhelp.button.options.xml | 28 + .../params/htmlhelp.button.prev.xml | 28 + .../params/htmlhelp.button.print.xml | 28 + .../params/htmlhelp.button.refresh.xml | 27 + .../params/htmlhelp.button.stop.xml | 28 + .../params/htmlhelp.button.zoom.xml | 28 + .../docbook-xsl-1.76.1/params/htmlhelp.chm.xml | 27 + .../params/htmlhelp.default.topic.xml | 37 + .../params/htmlhelp.display.progress.xml | 28 + .../params/htmlhelp.encoding.xml | 28 + .../params/htmlhelp.enhanced.decompilation.xml | 27 + .../params/htmlhelp.enumerate.images.xml | 28 + .../params/htmlhelp.force.map.and.alias.xml | 26 + .../params/htmlhelp.hhc.binary.xml | 29 + .../params/htmlhelp.hhc.folders.instead.books.xml | 31 + .../params/htmlhelp.hhc.section.depth.xml | 27 + .../params/htmlhelp.hhc.show.root.xml | 29 + .../params/htmlhelp.hhc.width.xml | 28 + .../docbook-xsl-1.76.1/params/htmlhelp.hhc.xml | 27 + .../docbook-xsl-1.76.1/params/htmlhelp.hhk.xml | 27 + .../params/htmlhelp.hhp.tail.xml | 28 + .../params/htmlhelp.hhp.window.xml | 28 + .../params/htmlhelp.hhp.windows.xml | 29 + .../docbook-xsl-1.76.1/params/htmlhelp.hhp.xml | 28 + .../params/htmlhelp.map.file.xml | 25 + .../docbook-xsl-1.76.1/params/htmlhelp.only.xml | 32 + .../params/htmlhelp.remember.window.position.xml | 27 + .../params/htmlhelp.show.advanced.search.xml | 28 + .../params/htmlhelp.show.favorities.xml | 28 + .../params/htmlhelp.show.menu.xml | 28 + .../params/htmlhelp.show.toolbar.text.xml | 28 + .../docbook-xsl-1.76.1/params/htmlhelp.title.xml | 28 + .../docbook-xsl-1.76.1/params/htmlhelp.use.hhk.xml | 28 + .../params/htmlhelp.window.geometry.xml | 30 + .../params/hyphenate.verbatim.characters.xml | 30 + .../params/hyphenate.verbatim.xml | 45 + .../docbook-xsl-1.76.1/params/hyphenate.xml | 29 + .../docbook-xsl-1.76.1/params/id.warnings.xml | 25 + .../params/ignore.image.scaling.xml | 28 + .../docbook-xsl-1.76.1/params/img.src.path.xml | 40 + .../params/index.div.title.properties.xml | 39 + .../params/index.entry.properties.xml | 33 + .../params/index.links.to.section.xml | 76 + .../docbook-xsl-1.76.1/params/index.method.xml | 162 + .../params/index.number.separator.xml | 54 + .../docbook-xsl-1.76.1/params/index.on.role.xml | 48 + .../docbook-xsl-1.76.1/params/index.on.type.xml | 52 + .../params/index.page.number.properties.xml | 31 + .../params/index.prefer.titleabbrev.xml | 29 + .../params/index.preferred.page.properties.xml | 32 + .../params/index.range.separator.xml | 57 + .../params/index.term.separator.xml | 54 + .../params/informal.object.properties.xml | 29 + .../params/informalequation.properties.xml | 27 + .../params/informalexample.properties.xml | 27 + .../params/informalfigure.properties.xml | 27 + .../params/informaltable.properties.xml | 32 + .../docbook-xsl-1.76.1/params/inherit.keywords.xml | 31 + .../params/insert.link.page.number.xml | 69 + .../params/insert.olink.page.number.xml | 83 + .../params/insert.olink.pdf.frag.xml | 68 + .../params/insert.xref.page.number.xml | 60 + .../params/itemizedlist.label.properties.xml | 26 + .../params/itemizedlist.label.width.xml | 28 + .../params/itemizedlist.properties.xml | 23 + .../params/javahelp.encoding.xml | 31 + .../params/keep.relative.image.uris.xml | 34 + .../docbook-xsl-1.76.1/params/keyboard.nav.xml | 29 + .../params/l10n.gentext.default.language.xml | 30 + .../params/l10n.gentext.language.xml | 33 + .../params/l10n.gentext.use.xref.language.xml | 53 + .../params/l10n.lang.value.rfc.compliant.xml | 57 + .../docbook-xsl-1.76.1/params/label.from.part.xml | 38 + .../docbook-xsl-1.76.1/params/line-height.xml | 27 + .../params/linenumbering.everyNth.xml | 29 + .../params/linenumbering.extension.xml | 30 + .../params/linenumbering.separator.xml | 30 + .../params/linenumbering.width.xml | 29 + .../docbook-xsl-1.76.1/params/link.mailto.url.xml | 29 + .../params/list.block.properties.xml | 25 + .../params/list.block.spacing.xml | 29 + .../params/list.item.spacing.xml | 26 + .../docbook-xsl-1.76.1/params/make.clean.html.xml | 51 + .../params/make.graphic.viewport.xml | 35 + .../params/make.index.markup.xml | 73 + .../params/make.single.year.ranges.xml | 28 + .../docbook-xsl-1.76.1/params/make.valid.html.xml | 35 + .../docbook-xsl-1.76.1/params/make.year.ranges.xml | 32 + .../params/man.authors.section.enabled.xml | 46 + .../params/man.base.url.for.relative.links.xml | 76 + .../params/man.break.after.slash.xml | 46 + .../params/man.charmap.enabled.xml | 55 + .../params/man.charmap.subset.profile.english.xml | 80 + .../params/man.charmap.subset.profile.xml | 297 + .../docbook-xsl-1.76.1/params/man.charmap.uri.xml | 42 + .../params/man.charmap.use.subset.xml | 80 + .../params/man.copyright.section.enabled.xml | 46 + .../params/man.endnotes.are.numbered.xml | 106 + .../params/man.endnotes.list.enabled.xml | 105 + .../params/man.endnotes.list.heading.xml | 36 + .../params/man.font.funcprototype.xml | 30 + .../params/man.font.funcsynopsisinfo.xml | 30 + .../docbook-xsl-1.76.1/params/man.font.links.xml | 64 + .../params/man.font.table.headings.xml | 30 + .../params/man.font.table.title.xml | 30 + .../params/man.funcsynopsis.style.xml | 26 + .../params/man.hyphenate.computer.inlines.xml | 53 + .../params/man.hyphenate.filenames.xml | 47 + .../params/man.hyphenate.urls.xml | 46 + .../docbook-xsl-1.76.1/params/man.hyphenate.xml | 59 + .../params/man.indent.blurbs.xml | 33 + .../docbook-xsl-1.76.1/params/man.indent.lists.xml | 35 + .../params/man.indent.refsect.xml | 70 + .../params/man.indent.verbatims.xml | 33 + .../docbook-xsl-1.76.1/params/man.indent.width.xml | 39 + .../docbook-xsl-1.76.1/params/man.justify.xml | 52 + .../params/man.output.base.dir.xml | 39 + .../params/man.output.better.ps.enabled.xml | 61 + .../params/man.output.encoding.xml | 53 + .../params/man.output.in.separate.dir.xml | 32 + .../params/man.output.lang.in.name.enabled.xml | 50 + .../params/man.output.manifest.enabled.xml | 27 + .../params/man.output.manifest.filename.xml | 29 + .../params/man.output.quietly.xml | 37 + .../params/man.output.subdirs.enabled.xml | 40 + .../params/man.segtitle.suppress.xml | 28 + .../params/man.string.subst.map.local.post.xml | 34 + .../params/man.string.subst.map.local.pre.xml | 34 + .../params/man.string.subst.map.xml | 162 + .../params/man.subheading.divider.enabled.xml | 37 + .../params/man.subheading.divider.xml | 37 + .../params/man.table.footnotes.divider.xml | 29 + .../params/man.th.extra1.suppress.xml | 32 + .../params/man.th.extra2.max.length.xml | 43 + .../params/man.th.extra2.suppress.xml | 44 + .../params/man.th.extra3.max.length.xml | 42 + .../params/man.th.extra3.suppress.xml | 34 + .../params/man.th.title.max.length.xml | 63 + .../params/manifest.in.base.dir.xml | 29 + .../docbook/docbook-xsl-1.76.1/params/manifest.xml | 29 + .../docbook-xsl-1.76.1/params/manual.toc.xml | 29 + .../params/margin.note.float.type.xml | 77 + .../params/margin.note.properties.xml | 54 + .../params/margin.note.title.properties.xml | 32 + .../params/margin.note.width.xml | 35 + .../params/marker.section.level.xml | 50 + .../params/menuchoice.menu.separator.xml | 42 + .../params/menuchoice.separator.xml | 32 + .../docbook-xsl-1.76.1/params/minus.image.xml | 29 + .../params/monospace.font.family.xml | 29 + .../params/monospace.properties.xml | 38 + .../params/monospace.verbatim.font.width.xml | 40 + .../params/monospace.verbatim.properties.xml | 27 + .../params/multiframe.bottom.bgcolor.xml | 28 + .../params/multiframe.navigation.height.xml | 28 + .../params/multiframe.top.bgcolor.xml | 28 + .../docbook-xsl-1.76.1/params/multiframe.xml | 31 + .../docbook-xsl-1.76.1/params/nav.separator.xml | 28 + .../params/nav.table.summary.xml | 27 + .../docbook-xsl-1.76.1/params/navbgcolor.xml | 26 + .../docbook-xsl-1.76.1/params/navbodywidth.xml | 26 + .../params/navig.graphics.extension.xml | 28 + .../params/navig.graphics.path.xml | 30 + .../docbook-xsl-1.76.1/params/navig.graphics.xml | 31 + .../docbook-xsl-1.76.1/params/navig.showtitles.xml | 32 + .../docbook-xsl-1.76.1/params/navtocwidth.xml | 26 + .../docbook-xsl-1.76.1/params/next.image.xml | 27 + .../docbook-xsl-1.76.1/params/no.home.image.xml | 27 + .../docbook-xsl-1.76.1/params/no.next.image.xml | 27 + .../docbook-xsl-1.76.1/params/no.prev.image.xml | 27 + .../docbook-xsl-1.76.1/params/no.toc.image.xml | 27 + .../docbook-xsl-1.76.1/params/no.up.image.xml | 27 + .../params/nominal.image.depth.xml | 27 + .../params/nominal.image.width.xml | 43 + .../params/nominal.table.width.xml | 30 + .../params/nongraphical.admonition.properties.xml | 41 + .../params/normal.para.spacing.xml | 26 + .../docbook-xsl-1.76.1/params/olink.base.uri.xml | 35 + .../docbook-xsl-1.76.1/params/olink.debug.xml | 36 + .../docbook-xsl-1.76.1/params/olink.doctitle.xml | 146 + .../docbook-xsl-1.76.1/params/olink.fragid.xml | 23 + .../params/olink.lang.fallback.sequence.xml | 83 + .../params/olink.outline.ext.xml | 28 + .../docbook-xsl-1.76.1/params/olink.properties.xml | 33 + .../docbook-xsl-1.76.1/params/olink.pubid.xml | 27 + .../docbook-xsl-1.76.1/params/olink.resolver.xml | 23 + .../docbook-xsl-1.76.1/params/olink.sysid.xml | 27 + .../params/orderedlist.label.properties.xml | 26 + .../params/orderedlist.label.width.xml | 28 + .../params/orderedlist.properties.xml | 24 + .../params/othercredit.like.author.enabled.xml | 31 + .../docbook-xsl-1.76.1/params/output-root.xml | 28 + .../docbook-xsl-1.76.1/params/output.indent.xml | 32 + .../docbook-xsl-1.76.1/params/overlay.js.xml | 28 + .../docbook-xsl-1.76.1/params/overlay.logo.xml | 28 + .../docbook/docbook-xsl-1.76.1/params/overlay.xml | 32 + .../params/page.height.portrait.xml | 69 + .../docbook-xsl-1.76.1/params/page.height.xml | 37 + .../params/page.margin.bottom.xml | 29 + .../params/page.margin.inner.xml | 56 + .../params/page.margin.outer.xml | 53 + .../docbook-xsl-1.76.1/params/page.margin.top.xml | 28 + .../docbook-xsl-1.76.1/params/page.orientation.xml | 32 + .../params/page.width.portrait.xml | 67 + .../docbook-xsl-1.76.1/params/page.width.xml | 36 + .../docbook-xsl-1.76.1/params/pages.template.xml | 29 + .../docbook-xsl-1.76.1/params/paper.type.xml | 73 + .../params/para.propagates.style.xml | 29 + .../docbook-xsl-1.76.1/params/part.autolabel.xml | 73 + .../params/passivetex.extensions.xml | 37 + .../params/pgwide.properties.xml | 52 + .../params/phrase.propagates.style.xml | 29 + .../docbook-xsl-1.76.1/params/pixels.per.inch.xml | 31 + .../docbook-xsl-1.76.1/params/plus.image.xml | 29 + .../docbook-xsl-1.76.1/params/points.per.em.xml | 29 + .../params/preface.autolabel.xml | 71 + .../params/prefer.internal.olink.xml | 78 + .../params/preferred.mediaobject.role.xml | 40 + .../docbook-xsl-1.76.1/params/prev.image.xml | 27 + .../params/procedure.properties.xml | 29 + .../params/process.empty.source.toc.xml | 39 + .../params/process.source.toc.xml | 39 + .../docbook-xsl-1.76.1/params/profile.arch.xml | 39 + .../params/profile.attribute.xml | 34 + .../docbook-xsl-1.76.1/params/profile.audience.xml | 38 + .../params/profile.condition.xml | 38 + .../params/profile.conformance.xml | 38 + .../docbook-xsl-1.76.1/params/profile.lang.xml | 38 + .../docbook-xsl-1.76.1/params/profile.os.xml | 38 + .../docbook-xsl-1.76.1/params/profile.revision.xml | 38 + .../params/profile.revisionflag.xml | 38 + .../docbook-xsl-1.76.1/params/profile.role.xml | 54 + .../docbook-xsl-1.76.1/params/profile.security.xml | 38 + .../params/profile.separator.xml | 27 + .../docbook-xsl-1.76.1/params/profile.status.xml | 38 + .../params/profile.userlevel.xml | 38 + .../docbook-xsl-1.76.1/params/profile.value.xml | 41 + .../docbook-xsl-1.76.1/params/profile.vendor.xml | 38 + .../docbook-xsl-1.76.1/params/profile.wordsize.xml | 38 + .../docbook-xsl-1.76.1/params/punct.honorific.xml | 28 + .../params/qanda.defaultlabel.xml | 86 + .../docbook-xsl-1.76.1/params/qanda.in.toc.xml | 34 + .../params/qanda.inherit.numeration.xml | 30 + .../params/qanda.nested.in.toc.xml | 29 + .../params/qanda.title.level1.properties.xml | 32 + .../params/qanda.title.level2.properties.xml | 32 + .../params/qanda.title.level3.properties.xml | 32 + .../params/qanda.title.level4.properties.xml | 32 + .../params/qanda.title.level5.properties.xml | 32 + .../params/qanda.title.level6.properties.xml | 34 + .../params/qanda.title.properties.xml | 37 + .../params/qandadiv.autolabel.xml | 26 + .../params/refclass.suppress.xml | 28 + .../params/refentry.date.profile.enabled.xml | 46 + .../params/refentry.date.profile.xml | 38 + .../params/refentry.generate.name.xml | 33 + .../params/refentry.generate.title.xml | 33 + .../params/refentry.manual.fallback.profile.xml | 48 + .../params/refentry.manual.profile.enabled.xml | 47 + .../params/refentry.manual.profile.xml | 72 + .../params/refentry.meta.get.quietly.xml | 37 + .../params/refentry.pagebreak.xml | 33 + .../params/refentry.separator.xml | 29 + .../params/refentry.source.fallback.profile.xml | 49 + .../refentry.source.name.profile.enabled.xml | 48 + .../params/refentry.source.name.profile.xml | 89 + .../params/refentry.source.name.suppress.xml | 42 + .../params/refentry.title.properties.xml | 59 + .../params/refentry.version.profile.enabled.xml | 47 + .../params/refentry.version.profile.xml | 41 + .../params/refentry.version.suppress.xml | 43 + .../params/refentry.xref.manvolnum.xml | 31 + .../params/reference.autolabel.xml | 67 + .../params/region.after.extent.xml | 29 + .../params/region.before.extent.xml | 29 + .../params/revhistory.table.cell.properties.xml | 28 + .../params/revhistory.table.properties.xml | 28 + .../params/revhistory.title.properties.xml | 28 + .../docbook-xsl-1.76.1/params/root.filename.xml | 29 + .../docbook-xsl-1.76.1/params/root.properties.xml | 46 + .../docbook/docbook-xsl-1.76.1/params/rootid.xml | 33 + .../params/runinhead.default.title.end.punct.xml | 27 + .../params/runinhead.title.end.punct.xml | 32 + .../params/running.foot.properties.xml | 34 + .../docbook-xsl-1.76.1/params/sans.font.family.xml | 29 + .../docbook-xsl-1.76.1/params/saxon.callouts.xml | 30 + .../params/saxon.character.representation.xml | 38 + .../params/saxon.linenumbering.xml | 32 + .../params/saxon.tablecolumns.xml | 30 + .../docbook-xsl-1.76.1/params/script.dir.xml | 33 + .../params/section.autolabel.max.depth.xml | 32 + .../params/section.autolabel.xml | 26 + .../params/section.container.element.xml | 62 + .../section.label.includes.component.label.xml | 27 + .../params/section.level1.properties.xml | 43 + .../params/section.level2.properties.xml | 43 + .../params/section.level3.properties.xml | 43 + .../params/section.level4.properties.xml | 43 + .../params/section.level5.properties.xml | 43 + .../params/section.level6.properties.xml | 43 + .../params/section.properties.xml | 35 + .../params/section.title.level1.properties.xml | 32 + .../params/section.title.level2.properties.xml | 33 + .../params/section.title.level3.properties.xml | 32 + .../params/section.title.level4.properties.xml | 32 + .../params/section.title.level5.properties.xml | 32 + .../params/section.title.level6.properties.xml | 33 + .../params/section.title.properties.xml | 39 + .../params/segmentedlist.as.table.xml | 28 + .../docbook-xsl-1.76.1/params/sequential.links.xml | 25 + .../params/shade.verbatim.style.xml | 36 + .../docbook-xsl-1.76.1/params/shade.verbatim.xml | 30 + .../docbook-xsl-1.76.1/params/show.comments.xml | 32 + .../docbook-xsl-1.76.1/params/show.foil.number.xml | 28 + .../params/show.revisionflag.xml | 42 + .../docbook-xsl-1.76.1/params/showtoc.image.xml | 29 + .../params/side.float.properties.xml | 50 + .../params/sidebar.float.type.xml | 90 + .../params/sidebar.float.width.xml | 35 + .../params/sidebar.properties.xml | 42 + .../params/sidebar.title.properties.xml | 32 + .../params/simplesect.in.toc.xml | 26 + .../params/slide.font.family.xml | 31 + .../params/slide.title.font.family.xml | 31 + .../docbook-xsl-1.76.1/params/slides.js.xml | 28 + .../params/slides.properties.xml | 31 + .../docbook-xsl-1.76.1/params/spacing.paras.xml | 30 + .../params/speakernote.properties.xml | 32 + .../params/subscript.properties.xml | 29 + .../params/superscript.properties.xml | 29 + .../params/suppress.footer.navigation.xml | 26 + .../params/suppress.header.navigation.xml | 27 + .../params/suppress.homepage.title.xml | 25 + .../params/suppress.navigation.xml | 28 + .../params/symbol.font.family.xml | 45 + .../params/table.borders.with.css.xml | 28 + .../params/table.cell.border.color.xml | 39 + .../params/table.cell.border.style.xml | 42 + .../params/table.cell.border.thickness.xml | 35 + .../params/table.cell.padding.xml | 32 + .../params/table.entry.padding.xml | 27 + .../params/table.footnote.number.format.xml | 33 + .../params/table.footnote.number.symbols.xml | 39 + .../params/table.footnote.properties.xml | 39 + .../params/table.frame.border.color.xml | 28 + .../params/table.frame.border.style.xml | 37 + .../params/table.frame.border.thickness.xml | 27 + .../docbook-xsl-1.76.1/params/table.properties.xml | 34 + .../params/table.spacer.image.xml | 26 + .../params/table.table.properties.xml | 36 + .../params/tablecolumns.extension.xml | 30 + .../params/target.database.document.xml | 37 + .../docbook-xsl-1.76.1/params/targets.filename.xml | 32 + .../docbook/docbook-xsl-1.76.1/params/template.xml | 27 + .../docbook-xsl-1.76.1/params/tex.math.delims.xml | 47 + .../docbook-xsl-1.76.1/params/tex.math.file.xml | 42 + .../docbook-xsl-1.76.1/params/tex.math.in.alt.xml | 76 + .../docbook-xsl-1.76.1/params/text.home.xml | 27 + .../docbook-xsl-1.76.1/params/text.next.xml | 27 + .../docbook-xsl-1.76.1/params/text.prev.xml | 27 + .../docbook/docbook-xsl-1.76.1/params/text.toc.xml | 27 + .../docbook/docbook-xsl-1.76.1/params/text.up.xml | 27 + .../docbook-xsl-1.76.1/params/textbgcolor.xml | 26 + .../params/textdata.default.encoding.xml | 32 + .../params/textinsert.extension.xml | 62 + .../params/title.font.family.xml | 33 + .../params/title.margin.left.xml | 65 + .../docbook-xsl-1.76.1/params/titlefoil.html.xml | 27 + .../docbook-xsl-1.76.1/params/toc.bg.color.xml | 27 + .../params/toc.blank.graphic.xml | 28 + .../docbook-xsl-1.76.1/params/toc.blank.image.xml | 27 + .../docbook-xsl-1.76.1/params/toc.blank.text.xml | 27 + .../docbook-xsl-1.76.1/params/toc.hide.show.xml | 33 + .../docbook/docbook-xsl-1.76.1/params/toc.html.xml | 27 + .../docbook-xsl-1.76.1/params/toc.image.xml | 27 + .../docbook-xsl-1.76.1/params/toc.indent.width.xml | 34 + .../params/toc.line.properties.xml | 44 + .../docbook-xsl-1.76.1/params/toc.list.type.xml | 30 + .../params/toc.margin.properties.xml | 33 + .../docbook-xsl-1.76.1/params/toc.max.depth.xml | 25 + .../params/toc.pointer.graphic.xml | 28 + .../params/toc.pointer.image.xml | 27 + .../docbook-xsl-1.76.1/params/toc.pointer.text.xml | 27 + .../docbook-xsl-1.76.1/params/toc.row.height.xml | 33 + .../params/toc.section.depth.xml | 28 + .../params/toc.spacer.graphic.xml | 28 + .../docbook-xsl-1.76.1/params/toc.spacer.image.xml | 27 + .../docbook-xsl-1.76.1/params/toc.spacer.text.xml | 27 + .../docbook-xsl-1.76.1/params/toc.width.xml | 28 + .../docbook/docbook-xsl-1.76.1/params/ua.js.xml | 28 + .../docbook-xsl-1.76.1/params/ulink.footnotes.xml | 34 + .../params/ulink.hyphenate.chars.xml | 37 + .../docbook-xsl-1.76.1/params/ulink.hyphenate.xml | 35 + .../docbook-xsl-1.76.1/params/ulink.show.xml | 37 + .../docbook-xsl-1.76.1/params/ulink.target.xml | 29 + .../docbook/docbook-xsl-1.76.1/params/up.image.xml | 27 + .../params/use.embed.for.svg.xml | 33 + .../docbook-xsl-1.76.1/params/use.extensions.xml | 31 + .../params/use.id.as.filename.xml | 30 + .../docbook-xsl-1.76.1/params/use.id.function.xml | 32 + .../params/use.local.olink.style.xml | 28 + .../params/use.role.as.xrefstyle.xml | 93 + .../params/use.role.for.mediaobject.xml | 56 + .../docbook/docbook-xsl-1.76.1/params/use.svg.xml | 30 + .../params/variablelist.as.blocks.xml | 62 + .../params/variablelist.as.table.xml | 54 + .../params/variablelist.max.termlength.xml | 46 + .../params/variablelist.term.break.after.xml | 39 + .../params/variablelist.term.properties.xml | 29 + .../params/variablelist.term.separator.xml | 40 + .../params/verbatim.properties.xml | 38 + .../docbook-xsl-1.76.1/params/wordml.template.xml | 29 + .../docbook-xsl-1.76.1/params/writing.mode.xml | 83 + .../params/xbCollapsibleLists.js.xml | 28 + .../docbook/docbook-xsl-1.76.1/params/xbDOM.js.xml | 28 + .../docbook-xsl-1.76.1/params/xbLibrary.js.xml | 28 + .../docbook-xsl-1.76.1/params/xbStyle.js.xml | 28 + .../docbook-xsl-1.76.1/params/xep.extensions.xml | 31 + .../params/xep.index.item.properties.xml | 36 + .../params/xref.label-page.separator.xml | 38 + .../params/xref.label-title.separator.xml | 36 + .../docbook-xsl-1.76.1/params/xref.properties.xml | 29 + .../params/xref.title-page.separator.xml | 36 + .../params/xref.with.number.and.title.xml | 30 + .../docbook-xsl-1.76.1/profiling/profile-mode.xsl | 239 + .../docbook-xsl-1.76.1/profiling/profile.xsl | 56 + .../profiling/strip-attributes.xsl | 27 + .../docbook-xsl-1.76.1/profiling/xsl2profile.xsl | 159 + .../docbook-xsl-1.76.1/roundtrip/blocks-spec.xml | 11 + .../docbook-xsl-1.76.1/roundtrip/blocks2dbk.dtd | 76 + .../docbook-xsl-1.76.1/roundtrip/blocks2dbk.xsl | 1732 + .../docbook-xsl-1.76.1/roundtrip/dbk2ooo.xsl | 178 + .../docbook-xsl-1.76.1/roundtrip/dbk2pages.xsl | 441 + .../docbook-xsl-1.76.1/roundtrip/dbk2wordml.xsl | 401 + .../docbook-xsl-1.76.1/roundtrip/dbk2wp.xsl | 1375 + .../roundtrip/normalise-common.xsl | 39 + .../roundtrip/normalise2sections.xsl | 1270 + .../roundtrip/pages2normalise.xsl | 351 + .../docbook/docbook-xsl-1.76.1/roundtrip/param.xml | 105 + .../docbook/docbook-xsl-1.76.1/roundtrip/param.xsl | 18 + .../docbook-xsl-1.76.1/roundtrip/sections-spec.xml | 38 + .../roundtrip/sections2blocks.xsl | 263 + .../roundtrip/specifications.xml | 1420 + .../roundtrip/template-pages.xml | 2 + .../docbook-xsl-1.76.1/roundtrip/template.xml | 3 + .../roundtrip/wordml2normalise.xsl | 445 + .../slides/browser/CTOCWidget.js | 169 + .../docbook-xsl-1.76.1/slides/browser/overlay.js | 142 + .../slides/browser/slides-default.css | 9 + .../slides/browser/slides-frames.css | 73 + .../slides/browser/slides-plain.css | 1 + .../slides/browser/slides-table.css | 41 + .../slides/browser/slides-w3c.css | 1 + .../docbook-xsl-1.76.1/slides/browser/slides.css | 119 + .../docbook-xsl-1.76.1/slides/browser/slides.js | 120 + .../docbook-xsl-1.76.1/slides/browser/ua.js | 135 + .../slides/browser/xbCollapsibleLists.js | 537 + .../docbook-xsl-1.76.1/slides/browser/xbDOM.js | 374 + .../docbook-xsl-1.76.1/slides/browser/xbDebug.js | 311 + .../docbook-xsl-1.76.1/slides/browser/xbLibrary.js | 80 + .../slides/browser/xbStyle-css.js | 791 + .../slides/browser/xbStyle-nn4.js | 485 + .../slides/browser/xbStyle-not-supported.js | 77 + .../docbook-xsl-1.76.1/slides/browser/xbStyle.js | 295 + .../docbook/docbook-xsl-1.76.1/slides/fo/param.xml | 356 + .../docbook/docbook-xsl-1.76.1/slides/fo/param.xsl | 74 + .../slides/fo/plain-titlepage.xml | 79 + .../slides/fo/plain-titlepage.xsl | 187 + .../docbook/docbook-xsl-1.76.1/slides/fo/plain.xsl | 528 + .../docbook/docbook-xsl-1.76.1/slides/html/css.xsl | 46 + .../docbook-xsl-1.76.1/slides/html/default.xsl | 261 + .../docbook-xsl-1.76.1/slides/html/flat.xsl | 70 + .../docbook-xsl-1.76.1/slides/html/frames.xsl | 2016 ++ .../docbook-xsl-1.76.1/slides/html/graphics.xsl | 151 + .../docbook-xsl-1.76.1/slides/html/jscript.xsl | 127 + .../docbook-xsl-1.76.1/slides/html/param.xml | 1376 + .../docbook-xsl-1.76.1/slides/html/param.xsl | 68 + .../docbook-xsl-1.76.1/slides/html/plain.xsl | 472 + .../slides/html/slides-common.xsl | 1541 + .../docbook-xsl-1.76.1/slides/html/tables.xsl | 336 + .../docbook-xsl-1.76.1/slides/html/vslides.xsl | 667 + .../docbook/docbook-xsl-1.76.1/slides/html/w3c.xsl | 376 + .../slides/htmlhelp/htmlhelp.xsl | 89 + .../docbook-xsl-1.76.1/slides/keynote/default.xsl | 600 + .../slides/keynote/xsltsl/cmp.xsl | 348 + .../slides/keynote/xsltsl/date-time.xsl | 1524 + .../slides/keynote/xsltsl/example.xsl | 90 + .../slides/keynote/xsltsl/markup.xsl | 789 + .../slides/keynote/xsltsl/math.xsl | 704 + .../slides/keynote/xsltsl/node.xsl | 229 + .../slides/keynote/xsltsl/stdlib.xsl | 340 + .../slides/keynote/xsltsl/string.xsl | 1233 + .../slides/keynote/xsltsl/svg.xsl | 177 + .../slides/keynote/xsltsl/uri.xsl | 580 + .../docbook-xsl-1.76.1/slides/svg/default.xsl | 686 + .../docbook-xsl-1.76.1/slides/xhtml/css.xsl | 47 + .../docbook-xsl-1.76.1/slides/xhtml/default.xsl | 246 + .../docbook-xsl-1.76.1/slides/xhtml/flat.xsl | 71 + .../docbook-xsl-1.76.1/slides/xhtml/frames.xsl | 1982 ++ .../docbook-xsl-1.76.1/slides/xhtml/graphics.xsl | 152 + .../docbook-xsl-1.76.1/slides/xhtml/jscript.xsl | 128 + .../docbook-xsl-1.76.1/slides/xhtml/param.xsl | 70 + .../docbook-xsl-1.76.1/slides/xhtml/plain.xsl | 470 + .../slides/xhtml/slides-common.xsl | 1534 + .../docbook-xsl-1.76.1/slides/xhtml/tables.xsl | 334 + .../docbook-xsl-1.76.1/slides/xhtml/vslides.xsl | 652 + .../docbook-xsl-1.76.1/slides/xhtml/w3c.xsl | 358 + .../docbook-xsl-1.76.1/template/titlepage.xml | 478 + .../docbook-xsl-1.76.1/template/titlepage.xsl | 1280 + .../docbook-xsl-1.76.1/tests/refentry.007.ns.xml | 325 + .../docbook-xsl-1.76.1/tests/refentry.007.xml | 340 + .../tools/bin/docbook-xsl-update | 53 + .../docbook-xsl-1.76.1/tools/make/Makefile.DocBook | 698 + .../docbook-xsl-1.76.1/tools/make/Makefile.combine | 182 + .../tools/make/Makefile.docParam | 59 + .../docbook/docbook-xsl-1.76.1/webhelp/LICENSE | 1 + .../webhelp/docs/common/css/positioning.css | 109 + .../webhelp/docs/common/jquery/jquery-1.4.2.min.js | 154 + .../common/jquery/jquery-ui-1.8.2.custom.min.js | 321 + .../webhelp/docs/common/jquery/jquery.cookie.js | 93 + .../theme-redmond/jquery-ui-1.8.2.custom.css | 398 + .../jquery/treeview/jquery.treeview.async.js | 72 + .../common/jquery/treeview/jquery.treeview.css | 85 + .../docs/common/jquery/treeview/jquery.treeview.js | 255 + .../common/jquery/treeview/jquery.treeview.min.js | 16 + .../common/jquery/treeview/jquery.treeview.pack.js | 16 + .../docbook-xsl-1.76.1/webhelp/docs/common/main.js | 161 + .../webhelp/docs/content/ch01.html | 61 + .../webhelp/docs/content/ch02.html | 32 + .../webhelp/docs/content/ch02s01.html | 117 + .../webhelp/docs/content/ch02s02.html | 102 + .../webhelp/docs/content/ch02s03.html | 36 + .../webhelp/docs/content/ch02s04.html | 42 + .../webhelp/docs/content/ch03.html | 37 + .../webhelp/docs/content/ch03s01.html | 62 + .../webhelp/docs/content/ch03s02.html | 124 + .../webhelp/docs/content/index.html | 71 + .../docs/content/search/htmlFileInfoList.js | 10 + .../webhelp/docs/content/search/htmlFileList.js | 11 + .../webhelp/docs/content/search/index-1.js | 224 + .../webhelp/docs/content/search/index-2.js | 223 + .../webhelp/docs/content/search/index-3.js | 221 + .../webhelp/docs/content/search/nwSearchFnt.js | 513 + .../docs/content/search/stemmers/en_stemmer.js | 187 + .../docbook-xsl-1.76.1/webhelp/docs/index.html | 13 + .../docbook-xsl-1.76.1/webhelp/docsrc/readme.xml | 928 + .../webhelp/template/common/css/positioning.css | 109 + .../template/common/jquery/jquery-1.4.2.min.js | 154 + .../common/jquery/jquery-ui-1.8.2.custom.min.js | 321 + .../template/common/jquery/jquery.cookie.js | 93 + .../theme-redmond/jquery-ui-1.8.2.custom.css | 398 + .../jquery/treeview/jquery.treeview.async.js | 72 + .../common/jquery/treeview/jquery.treeview.css | 85 + .../common/jquery/treeview/jquery.treeview.js | 255 + .../common/jquery/treeview/jquery.treeview.min.js | 16 + .../common/jquery/treeview/jquery.treeview.pack.js | 16 + .../webhelp/template/common/main.js | 161 + .../webhelp/template/content/search/default.props | 1 + .../webhelp/template/content/search/en-us.props | 45 + .../webhelp/template/content/search/es-es.props | 179 + .../webhelp/template/content/search/ja-jp.props | 1 + .../webhelp/template/content/search/nwSearchFnt.js | 513 + .../template/content/search/punctuation.props | 31 + .../template/content/search/stemmers/de_stemmer.js | 247 + .../template/content/search/stemmers/en_stemmer.js | 187 + .../template/content/search/stemmers/fr_stemmer.js | 299 + .../docbook-xsl-1.76.1/webhelp/xsl/webhelp.xsl | 782 + .../docbook-xsl-1.76.1/website/autolayout.xsl | 258 + .../docbook-xsl-1.76.1/website/chunk-common.xsl | 227 + .../docbook-xsl-1.76.1/website/chunk-tabular.xsl | 12 + .../docbook-xsl-1.76.1/website/chunk-website.xsl | 12 + .../docbook/docbook-xsl-1.76.1/website/head.xsl | 316 + .../docbook-xsl-1.76.1/website/makefile-dep.xsl | 143 + .../docbook/docbook-xsl-1.76.1/website/olink.xsl | 297 + .../docbook/docbook-xsl-1.76.1/website/param.xml | 788 + .../docbook/docbook-xsl-1.76.1/website/param.xsl | 53 + .../docbook/docbook-xsl-1.76.1/website/rss.xsl | 143 + .../docbook/docbook-xsl-1.76.1/website/tabular.xsl | 213 + .../docbook-xsl-1.76.1/website/toc-tabular.xsl | 480 + .../docbook/docbook-xsl-1.76.1/website/toc.xsl | 286 + .../docbook-xsl-1.76.1/website/website-common.xsl | 821 + .../docbook-xsl-1.76.1/website/website-targets.xsl | 27 + .../docbook/docbook-xsl-1.76.1/website/website.xsl | 132 + .../docbook/docbook-xsl-1.76.1/website/xbel.xsl | 114 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/admon.xsl | 133 + .../docbook-xsl-1.76.1/xhtml-1_1/annotations.xsl | 158 + .../xhtml-1_1/autoidx-kimber.xsl | 139 + .../docbook-xsl-1.76.1/xhtml-1_1/autoidx-kosek.xsl | 109 + .../docbook-xsl-1.76.1/xhtml-1_1/autoidx-ng.xsl | 21 + .../docbook-xsl-1.76.1/xhtml-1_1/autoidx.xsl | 681 + .../docbook-xsl-1.76.1/xhtml-1_1/autotoc.xsl | 663 + .../docbook-xsl-1.76.1/xhtml-1_1/biblio-iso690.xsl | 1300 + .../docbook-xsl-1.76.1/xhtml-1_1/biblio.xsl | 1240 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/block.xsl | 535 + .../docbook-xsl-1.76.1/xhtml-1_1/callout.xsl | 188 + .../docbook-xsl-1.76.1/xhtml-1_1/changebars.xsl | 78 + .../xhtml-1_1/chunk-changebars.xsl | 96 + .../docbook-xsl-1.76.1/xhtml-1_1/chunk-code.xsl | 645 + .../docbook-xsl-1.76.1/xhtml-1_1/chunk-common.xsl | 1561 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/chunk.xsl | 52 + .../docbook-xsl-1.76.1/xhtml-1_1/chunker.xsl | 302 + .../docbook-xsl-1.76.1/xhtml-1_1/chunkfast.xsl | 69 + .../docbook-xsl-1.76.1/xhtml-1_1/chunktoc.xsl | 528 + .../docbook-xsl-1.76.1/xhtml-1_1/component.xsl | 395 + .../docbook-xsl-1.76.1/xhtml-1_1/division.xsl | 217 + .../docbook-xsl-1.76.1/xhtml-1_1/docbook.css.xml | 109 + .../docbook-xsl-1.76.1/xhtml-1_1/docbook.xsl | 446 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/ebnf.xsl | 328 + .../docbook-xsl-1.76.1/xhtml-1_1/footnote.xsl | 305 + .../docbook-xsl-1.76.1/xhtml-1_1/formal.xsl | 411 + .../docbook-xsl-1.76.1/xhtml-1_1/glossary.xsl | 564 + .../docbook-xsl-1.76.1/xhtml-1_1/graphics.xsl | 1436 + .../docbook-xsl-1.76.1/xhtml-1_1/highlight.xsl | 88 + .../docbook-xsl-1.76.1/xhtml-1_1/html-rtf.xsl | 321 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/html.xsl | 598 + .../docbook-xsl-1.76.1/xhtml-1_1/htmltbl.xsl | 102 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/index.xsl | 264 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/info.xsl | 44 + .../docbook-xsl-1.76.1/xhtml-1_1/inline.xsl | 1451 + .../docbook-xsl-1.76.1/xhtml-1_1/keywords.xsl | 36 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/lists.xsl | 1088 + .../docbook-xsl-1.76.1/xhtml-1_1/maketoc.xsl | 91 + .../docbook-xsl-1.76.1/xhtml-1_1/manifest.xsl | 22 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/math.xsl | 284 + .../docbook-xsl-1.76.1/xhtml-1_1/oldchunker.xsl | 176 + .../docbook-xsl-1.76.1/xhtml-1_1/onechunk.xsl | 36 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/param.xsl | 436 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/pi.xsl | 1203 + .../xhtml-1_1/profile-chunk-code.xsl | 617 + .../docbook-xsl-1.76.1/xhtml-1_1/profile-chunk.xsl | 52 + .../xhtml-1_1/profile-docbook.xsl | 408 + .../xhtml-1_1/profile-onechunk.xsl | 36 + .../docbook-xsl-1.76.1/xhtml-1_1/qandaset.xsl | 420 + .../docbook-xsl-1.76.1/xhtml-1_1/refentry.xsl | 299 + .../docbook-xsl-1.76.1/xhtml-1_1/sections.xsl | 541 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/synop.xsl | 1513 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/table.xsl | 1168 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/task.xsl | 73 + .../xhtml-1_1/titlepage.templates.xsl | 3817 +++ .../docbook-xsl-1.76.1/xhtml-1_1/titlepage.xsl | 1030 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/toc.xsl | 330 + .../docbook-xsl-1.76.1/xhtml-1_1/verbatim.xsl | 388 + .../docbook/docbook-xsl-1.76.1/xhtml-1_1/xref.xsl | 1316 + .../docbook/docbook-xsl-1.76.1/xhtml/admon.xsl | 135 + .../docbook-xsl-1.76.1/xhtml/annotations.xsl | 158 + .../docbook-xsl-1.76.1/xhtml/autoidx-kimber.xsl | 139 + .../docbook-xsl-1.76.1/xhtml/autoidx-kosek.xsl | 109 + .../docbook-xsl-1.76.1/xhtml/autoidx-ng.xsl | 21 + .../docbook/docbook-xsl-1.76.1/xhtml/autoidx.xsl | 681 + .../docbook/docbook-xsl-1.76.1/xhtml/autotoc.xsl | 663 + .../docbook-xsl-1.76.1/xhtml/biblio-iso690.xsl | 1300 + .../docbook/docbook-xsl-1.76.1/xhtml/biblio.xsl | 1240 + .../docbook/docbook-xsl-1.76.1/xhtml/block.xsl | 535 + .../docbook/docbook-xsl-1.76.1/xhtml/callout.xsl | 188 + .../docbook-xsl-1.76.1/xhtml/changebars.xsl | 78 + .../docbook-xsl-1.76.1/xhtml/chunk-changebars.xsl | 96 + .../docbook-xsl-1.76.1/xhtml/chunk-code.xsl | 645 + .../docbook-xsl-1.76.1/xhtml/chunk-common.xsl | 1561 + .../docbook/docbook-xsl-1.76.1/xhtml/chunk.xsl | 52 + .../docbook/docbook-xsl-1.76.1/xhtml/chunker.xsl | 302 + .../docbook/docbook-xsl-1.76.1/xhtml/chunkfast.xsl | 69 + .../docbook/docbook-xsl-1.76.1/xhtml/chunktoc.xsl | 528 + .../docbook/docbook-xsl-1.76.1/xhtml/component.xsl | 395 + .../docbook/docbook-xsl-1.76.1/xhtml/division.xsl | 217 + .../docbook-xsl-1.76.1/xhtml/docbook.css.xml | 109 + .../docbook/docbook-xsl-1.76.1/xhtml/docbook.xsl | 446 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/ebnf.xsl | 328 + .../docbook/docbook-xsl-1.76.1/xhtml/footnote.xsl | 305 + .../docbook/docbook-xsl-1.76.1/xhtml/formal.xsl | 411 + .../docbook/docbook-xsl-1.76.1/xhtml/glossary.xsl | 564 + .../docbook/docbook-xsl-1.76.1/xhtml/graphics.xsl | 1436 + .../docbook/docbook-xsl-1.76.1/xhtml/highlight.xsl | 88 + .../docbook/docbook-xsl-1.76.1/xhtml/html-rtf.xsl | 321 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/html.xsl | 598 + .../docbook/docbook-xsl-1.76.1/xhtml/htmltbl.xsl | 102 + .../docbook/docbook-xsl-1.76.1/xhtml/index.xsl | 264 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/info.xsl | 44 + .../docbook/docbook-xsl-1.76.1/xhtml/inline.xsl | 1451 + .../docbook/docbook-xsl-1.76.1/xhtml/keywords.xsl | 36 + .../docbook/docbook-xsl-1.76.1/xhtml/lists.xsl | 1121 + .../docbook/docbook-xsl-1.76.1/xhtml/maketoc.xsl | 91 + .../docbook/docbook-xsl-1.76.1/xhtml/manifest.xsl | 22 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/math.xsl | 284 + .../docbook-xsl-1.76.1/xhtml/oldchunker.xsl | 176 + .../docbook/docbook-xsl-1.76.1/xhtml/onechunk.xsl | 36 + .../docbook/docbook-xsl-1.76.1/xhtml/param.xsl | 436 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/pi.xsl | 1203 + .../xhtml/profile-chunk-code.xsl | 617 + .../docbook-xsl-1.76.1/xhtml/profile-chunk.xsl | 52 + .../docbook-xsl-1.76.1/xhtml/profile-docbook.xsl | 408 + .../docbook-xsl-1.76.1/xhtml/profile-onechunk.xsl | 36 + .../docbook/docbook-xsl-1.76.1/xhtml/qandaset.xsl | 420 + .../docbook/docbook-xsl-1.76.1/xhtml/refentry.xsl | 299 + .../docbook/docbook-xsl-1.76.1/xhtml/sections.xsl | 541 + .../docbook/docbook-xsl-1.76.1/xhtml/synop.xsl | 1513 + .../docbook/docbook-xsl-1.76.1/xhtml/table.xsl | 1168 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/task.xsl | 73 + .../xhtml/titlepage.templates.xsl | 3817 +++ .../docbook/docbook-xsl-1.76.1/xhtml/titlepage.xsl | 1030 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/toc.xsl | 330 + .../docbook/docbook-xsl-1.76.1/xhtml/verbatim.xsl | 388 + .../Tool/docbook/docbook-xsl-1.76.1/xhtml/xref.xsl | 1316 + src/engine/SCons/Tool/docbook/docs/SConstruct | 34 + src/engine/SCons/Tool/docbook/docs/html.xsl | 55 + src/engine/SCons/Tool/docbook/docs/manual.xml | 270 + src/engine/SCons/Tool/docbook/docs/pdf.xsl | 62 + src/engine/SCons/Tool/docbook/utils/xmldepend.xsl | 156 + src/engine/SCons/Tool/dvi.py | 4 +- src/engine/SCons/Tool/dvi.xml | 33 +- src/engine/SCons/Tool/dvipdf.py | 4 +- src/engine/SCons/Tool/dvipdf.xml | 43 +- src/engine/SCons/Tool/dvips.py | 4 +- src/engine/SCons/Tool/dvips.xml | 55 +- src/engine/SCons/Tool/f03.py | 4 +- src/engine/SCons/Tool/f03.xml | 99 +- src/engine/SCons/Tool/f77.py | 4 +- src/engine/SCons/Tool/f77.xml | 125 +- src/engine/SCons/Tool/f90.py | 4 +- src/engine/SCons/Tool/f90.xml | 99 +- src/engine/SCons/Tool/f95.py | 4 +- src/engine/SCons/Tool/f95.xml | 99 +- src/engine/SCons/Tool/filesystem.py | 4 +- src/engine/SCons/Tool/fortran.py | 4 +- src/engine/SCons/Tool/fortran.xml | 113 +- src/engine/SCons/Tool/g++.py | 4 +- src/engine/SCons/Tool/g++.xml | 35 +- src/engine/SCons/Tool/g77.py | 4 +- src/engine/SCons/Tool/g77.xml | 25 +- src/engine/SCons/Tool/gas.py | 4 +- src/engine/SCons/Tool/gas.xml | 27 +- src/engine/SCons/Tool/gcc.py | 4 +- src/engine/SCons/Tool/gcc.xml | 31 +- src/engine/SCons/Tool/gettext.py | 4 +- src/engine/SCons/Tool/gettext.xml | 97 +- src/engine/SCons/Tool/gfortran.py | 4 +- src/engine/SCons/Tool/gfortran.xml | 49 +- src/engine/SCons/Tool/gnulink.py | 4 +- src/engine/SCons/Tool/gnulink.xml | 31 +- src/engine/SCons/Tool/gs.py | 34 +- src/engine/SCons/Tool/gs.xml | 79 +- src/engine/SCons/Tool/hpc++.py | 4 +- src/engine/SCons/Tool/hpc++.xml | 25 +- src/engine/SCons/Tool/hpcc.py | 4 +- src/engine/SCons/Tool/hpcc.xml | 31 +- src/engine/SCons/Tool/hplink.py | 4 +- src/engine/SCons/Tool/hplink.xml | 31 +- src/engine/SCons/Tool/icc.py | 4 +- src/engine/SCons/Tool/icc.xml | 53 +- src/engine/SCons/Tool/icl.py | 4 +- src/engine/SCons/Tool/icl.xml | 25 +- src/engine/SCons/Tool/ifl.py | 4 +- src/engine/SCons/Tool/ifl.xml | 43 +- src/engine/SCons/Tool/ifort.py | 4 +- src/engine/SCons/Tool/ifort.xml | 49 +- src/engine/SCons/Tool/ilink.py | 4 +- src/engine/SCons/Tool/ilink.xml | 39 +- src/engine/SCons/Tool/ilink32.py | 4 +- src/engine/SCons/Tool/ilink32.xml | 39 +- src/engine/SCons/Tool/install.py | 45 +- src/engine/SCons/Tool/install.xml | 43 +- src/engine/SCons/Tool/intelc.py | 6 +- src/engine/SCons/Tool/intelc.xml | 39 +- src/engine/SCons/Tool/ipkg.py | 4 +- src/engine/SCons/Tool/jar.py | 4 +- src/engine/SCons/Tool/jar.xml | 61 +- src/engine/SCons/Tool/javac.py | 4 +- src/engine/SCons/Tool/javac.xml | 93 +- src/engine/SCons/Tool/javacTests.py | 2 +- src/engine/SCons/Tool/javah.py | 4 +- src/engine/SCons/Tool/javah.xml | 59 +- src/engine/SCons/Tool/latex.py | 4 +- src/engine/SCons/Tool/latex.xml | 49 +- src/engine/SCons/Tool/lex.py | 4 +- src/engine/SCons/Tool/lex.xml | 45 +- src/engine/SCons/Tool/link.py | 16 +- src/engine/SCons/Tool/link.xml | 99 +- src/engine/SCons/Tool/linkloc.py | 4 +- src/engine/SCons/Tool/linkloc.xml | 53 +- src/engine/SCons/Tool/m4.py | 4 +- src/engine/SCons/Tool/m4.xml | 47 +- src/engine/SCons/Tool/masm.py | 4 +- src/engine/SCons/Tool/masm.xml | 47 +- src/engine/SCons/Tool/midl.py | 4 +- src/engine/SCons/Tool/midl.xml | 49 +- src/engine/SCons/Tool/mingw.py | 4 +- src/engine/SCons/Tool/mingw.xml | 71 +- src/engine/SCons/Tool/msgfmt.py | 4 +- src/engine/SCons/Tool/msgfmt.xml | 75 +- src/engine/SCons/Tool/msginit.py | 4 +- src/engine/SCons/Tool/msginit.xml | 113 +- src/engine/SCons/Tool/msgmerge.py | 4 +- src/engine/SCons/Tool/msgmerge.xml | 107 +- src/engine/SCons/Tool/mslib.py | 4 +- src/engine/SCons/Tool/mslib.xml | 37 +- src/engine/SCons/Tool/mslink.py | 4 +- src/engine/SCons/Tool/mslink.xml | 155 +- src/engine/SCons/Tool/mssdk.py | 4 +- src/engine/SCons/Tool/mssdk.xml | 35 +- src/engine/SCons/Tool/msvc.py | 4 +- src/engine/SCons/Tool/msvc.xml | 189 +- src/engine/SCons/Tool/msvs.py | 4 +- src/engine/SCons/Tool/msvs.xml | 161 +- src/engine/SCons/Tool/msvsTests.py | 4 +- src/engine/SCons/Tool/mwcc.py | 4 +- src/engine/SCons/Tool/mwcc.xml | 77 +- src/engine/SCons/Tool/mwld.py | 4 +- src/engine/SCons/Tool/mwld.xml | 49 +- src/engine/SCons/Tool/nasm.py | 4 +- src/engine/SCons/Tool/nasm.xml | 39 +- src/engine/SCons/Tool/packaging.xml | 47 +- src/engine/SCons/Tool/packaging/__init__.py | 4 +- src/engine/SCons/Tool/packaging/__init__.xml | 189 +- src/engine/SCons/Tool/packaging/ipk.py | 4 +- src/engine/SCons/Tool/packaging/msi.py | 4 +- src/engine/SCons/Tool/packaging/rpm.py | 4 +- src/engine/SCons/Tool/packaging/src_tarbz2.py | 4 +- src/engine/SCons/Tool/packaging/src_targz.py | 4 +- src/engine/SCons/Tool/packaging/src_zip.py | 4 +- src/engine/SCons/Tool/packaging/tarbz2.py | 4 +- src/engine/SCons/Tool/packaging/targz.py | 4 +- src/engine/SCons/Tool/packaging/zip.py | 4 +- src/engine/SCons/Tool/pdf.py | 4 +- src/engine/SCons/Tool/pdf.xml | 39 +- src/engine/SCons/Tool/pdflatex.py | 4 +- src/engine/SCons/Tool/pdflatex.xml | 47 +- src/engine/SCons/Tool/pdftex.py | 4 +- src/engine/SCons/Tool/pdftex.xml | 55 +- src/engine/SCons/Tool/qt.py | 4 +- src/engine/SCons/Tool/qt.xml | 161 +- src/engine/SCons/Tool/rmic.py | 4 +- src/engine/SCons/Tool/rmic.xml | 55 +- src/engine/SCons/Tool/rpcgen.py | 4 +- src/engine/SCons/Tool/rpcgen.xml | 73 +- src/engine/SCons/Tool/rpm.py | 8 +- src/engine/SCons/Tool/rpmutils.py | 4 +- src/engine/SCons/Tool/sgiar.py | 4 +- src/engine/SCons/Tool/sgiar.xml | 43 +- src/engine/SCons/Tool/sgic++.py | 4 +- src/engine/SCons/Tool/sgic++.xml | 35 +- src/engine/SCons/Tool/sgicc.py | 4 +- src/engine/SCons/Tool/sgicc.xml | 31 +- src/engine/SCons/Tool/sgilink.py | 4 +- src/engine/SCons/Tool/sgilink.xml | 33 +- src/engine/SCons/Tool/sunar.py | 4 +- src/engine/SCons/Tool/sunar.xml | 45 +- src/engine/SCons/Tool/sunc++.py | 4 +- src/engine/SCons/Tool/sunc++.xml | 37 +- src/engine/SCons/Tool/suncc.py | 4 +- src/engine/SCons/Tool/suncc.xml | 33 +- src/engine/SCons/Tool/sunf77.py | 4 +- src/engine/SCons/Tool/sunf77.xml | 37 +- src/engine/SCons/Tool/sunf90.py | 4 +- src/engine/SCons/Tool/sunf90.xml | 37 +- src/engine/SCons/Tool/sunf95.py | 4 +- src/engine/SCons/Tool/sunf95.xml | 37 +- src/engine/SCons/Tool/sunlink.py | 4 +- src/engine/SCons/Tool/sunlink.xml | 31 +- src/engine/SCons/Tool/swig.py | 4 +- src/engine/SCons/Tool/swig.xml | 93 +- src/engine/SCons/Tool/tar.py | 4 +- src/engine/SCons/Tool/tar.xml | 55 +- src/engine/SCons/Tool/tex.py | 4 +- src/engine/SCons/Tool/tex.xml | 89 +- src/engine/SCons/Tool/textfile.py | 4 +- src/engine/SCons/Tool/textfile.xml | 100 +- src/engine/SCons/Tool/tlib.py | 4 +- src/engine/SCons/Tool/tlib.xml | 37 +- src/engine/SCons/Tool/wix.py | 4 +- src/engine/SCons/Tool/wixTests.py | 4 +- src/engine/SCons/Tool/xgettext.py | 4 +- src/engine/SCons/Tool/xgettext.xml | 167 +- src/engine/SCons/Tool/yacc.py | 4 +- src/engine/SCons/Tool/yacc.xml | 57 +- src/engine/SCons/Tool/zip.py | 9 +- src/engine/SCons/Tool/zip.xml | 80 +- src/engine/SCons/Util.py | 4 +- src/engine/SCons/UtilTests.py | 4 +- src/engine/SCons/Variables/BoolVariable.py | 4 +- src/engine/SCons/Variables/BoolVariableTests.py | 4 +- src/engine/SCons/Variables/EnumVariable.py | 4 +- src/engine/SCons/Variables/EnumVariableTests.py | 4 +- src/engine/SCons/Variables/ListVariable.py | 4 +- src/engine/SCons/Variables/ListVariableTests.py | 4 +- src/engine/SCons/Variables/PackageVariable.py | 4 +- src/engine/SCons/Variables/PackageVariableTests.py | 4 +- src/engine/SCons/Variables/PathVariable.py | 4 +- src/engine/SCons/Variables/PathVariableTests.py | 4 +- src/engine/SCons/Variables/VariablesTests.py | 4 +- src/engine/SCons/Variables/__init__.py | 4 +- src/engine/SCons/Warnings.py | 7 +- src/engine/SCons/WarningsTests.py | 4 +- src/engine/SCons/__init__.py | 10 +- src/engine/SCons/compat/__init__.py | 4 +- src/engine/SCons/compat/_scons_builtins.py | 4 +- src/engine/SCons/compat/_scons_collections.py | 4 +- src/engine/SCons/compat/_scons_dbm.py | 4 +- src/engine/SCons/compat/_scons_hashlib.py | 4 +- src/engine/SCons/compat/_scons_io.py | 4 +- src/engine/SCons/cpp.py | 4 +- src/engine/SCons/cppTests.py | 4 +- src/engine/SCons/exitfuncs.py | 4 +- src/script/scons-time.py | 4 +- src/script/scons.bat | 6 +- src/script/scons.py | 10 +- src/script/sconsign.py | 10 +- src/setup.py | 78 +- src/test_aegistests.py | 4 +- src/test_files.py | 4 +- src/test_interrupts.py | 4 +- src/test_pychecker.py | 4 +- src/test_setup.py | 4 +- src/test_strings.py | 8 +- 2325 files changed, 615158 insertions(+), 41884 deletions(-) create mode 100644 QMTest/README.txt create mode 100644 QMTest/SConscript create mode 100644 QMTest/TestCmd.py create mode 100644 QMTest/TestCmdTests.py create mode 100644 QMTest/TestCommon.py create mode 100644 QMTest/TestCommonTests.py create mode 100644 QMTest/TestRuntest.py create mode 100644 QMTest/TestSCons.py create mode 100644 QMTest/TestSConsMSVS.py create mode 100644 QMTest/TestSCons_time.py create mode 100644 QMTest/TestSConsign.py create mode 100644 QMTest/classes.qmc create mode 100644 QMTest/configuration create mode 100644 QMTest/scons_tdb.py create mode 100644 QMTest/test-framework.rst create mode 100644 bin/SConsExamples.py create mode 100644 bin/docs-create-example-outputs.py create mode 100644 bin/docs-update-generated.py create mode 100644 bin/docs-validate.py delete mode 100644 bin/scons-doc.py create mode 100755 bootstrap.py create mode 100644 doc/design/SConstruct create mode 100644 doc/design/chtml.xsl create mode 100644 doc/design/engine.svg create mode 100644 doc/design/html.xsl create mode 100644 doc/design/pdf.xsl create mode 100644 doc/design/scons.css delete mode 100644 doc/design/scons.mod create mode 100644 doc/design/scons_title.xsl create mode 100644 doc/design/summary.xml create mode 100644 doc/design/titlepage/SConsBuildBricks_path.svg create mode 100644 doc/design/titlepage/SCons_path.svg create mode 100755 doc/design/titlepage/bricks.jpg create mode 100644 doc/design/titlepage/mapnik_final_colors.svg create mode 100644 doc/developer/SConstruct create mode 100644 doc/editor_configs/serna/scons/catalog.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/NW-COPYING create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/biblio.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/blocks.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/common-table.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/common.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/compounds.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/divisions.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/docbook.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/formal.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/gentext.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/glossary.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/graphics.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/inlines.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/af.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/bg.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ca.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/cs.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/da.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/de.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/el.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/en.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/es.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/et.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/eu.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fi.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fr.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/he.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/hu.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/id.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/it.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ja.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ko.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.dtd create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/lt.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nl.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nn.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/no.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pl.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt_br.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ro.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ru.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sk.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sl.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sr.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sv.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/th.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/tr.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/uk.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/vi.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/xh.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_cn.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_tw.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/lists.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/parameters.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/qandaset.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/refentry.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/serna-table.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/synopsis.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/table.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.generator.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xml create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/titles.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/toc.labels.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/toc.titles.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/toc.xsl create mode 100644 doc/editor_configs/serna/scons/docbook-xsl-serna/xref.xsl create mode 100644 doc/editor_configs/serna/scons/dtd/README create mode 100644 doc/editor_configs/serna/scons/dtd/calstblx.dtd create mode 100644 doc/editor_configs/serna/scons/dtd/calstblx.rng create mode 100644 doc/editor_configs/serna/scons/dtd/dbcentx.mod create mode 100644 doc/editor_configs/serna/scons/dtd/dbgenent.mod create mode 100644 doc/editor_configs/serna/scons/dtd/dbhierx.mod create mode 100644 doc/editor_configs/serna/scons/dtd/dbnotnx.mod create mode 100644 doc/editor_configs/serna/scons/dtd/dbpoolx.mod create mode 100644 doc/editor_configs/serna/scons/dtd/docbook.cat create mode 100644 doc/editor_configs/serna/scons/dtd/ent/README create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isoamsa.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isoamsb.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isoamsc.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isoamsn.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isoamso.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isoamsr.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isobox.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isocyr1.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isocyr2.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isodia.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isogrk1.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isogrk2.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isogrk3.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isogrk4.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isolat1.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isolat2.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isonum.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isopub.ent create mode 100644 doc/editor_configs/serna/scons/dtd/ent/isotech.ent create mode 100644 doc/editor_configs/serna/scons/dtd/htmltblx.mod create mode 100644 doc/editor_configs/serna/scons/dtd/scons.dtd create mode 100644 doc/editor_configs/serna/scons/dtd/soextblx.dtd create mode 100644 doc/editor_configs/serna/scons/scons.csl create mode 100644 doc/editor_configs/serna/scons/scons.sdt create mode 100644 doc/editor_configs/serna/scons/xsd/calstblx.xsd create mode 100644 doc/editor_configs/serna/scons/xsd/dbhierx.xsd create mode 100644 doc/editor_configs/serna/scons/xsd/dbnotnx.xsd create mode 100644 doc/editor_configs/serna/scons/xsd/dbpoolx.xsd create mode 100644 doc/editor_configs/serna/scons/xsd/htmltblx.xsd create mode 100644 doc/editor_configs/serna/scons/xsd/scons.xsd create mode 100644 doc/editor_configs/serna/scons/xsd/xml.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/common.incl create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/cals_table.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/docbook1.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/docbook2.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/example1.css create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/html_cals_table.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/image.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/print.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/refentry.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/scons.css create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/structure.css create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/table.imp create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/css/visible_inclusions.css create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/htmlTable.incl create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons.css create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons.xxe create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons2.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_catalog.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/appendix.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/article.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/book.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/chapter.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/glossary.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/part.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/refentry.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/sconsdoc.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_templates/section.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_xsd/calstblx.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_xsd/dbhierx.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_xsd/dbnotnx.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_xsd/dbpoolx.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_xsd/htmltblx.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_xsd/scons.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_xsd/xml.xsd create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/toolBar.incl create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/xslMenu.incl create mode 100644 doc/editor_configs/xmlmind/custom/dummy.txt create mode 100644 doc/editor_configs/xmlmind/preferences.properties create mode 100644 doc/editor_configs/xmlmind/ser/dummy.txt create mode 100644 doc/editor_configs/xmlmind/spell/dummy.txt create mode 100644 doc/generated/builders.gen create mode 100644 doc/generated/builders.mod create mode 100644 doc/generated/examples/EnumVariable_map_1.xml create mode 100644 doc/generated/examples/addmethod_ex1_1.xml create mode 100644 doc/generated/examples/addmethod_ex2_1.xml create mode 100644 doc/generated/examples/addmethod_ex2_2.xml create mode 100644 doc/generated/examples/alias_ex1_1.xml create mode 100644 doc/generated/examples/alias_ex2_1.xml create mode 100644 doc/generated/examples/buildersbuiltin_ex1_1.xml create mode 100644 doc/generated/examples/buildersbuiltin_ex2_1.xml create mode 100644 doc/generated/examples/buildersbuiltin_ex3_1.xml create mode 100644 doc/generated/examples/buildersbuiltin_ex4_1.xml create mode 100644 doc/generated/examples/buildersbuiltin_libs_1.xml create mode 100644 doc/generated/examples/buildersbuiltin_libs_2.xml create mode 100644 doc/generated/examples/builderscommands_ex1_1.xml create mode 100644 doc/generated/examples/builderscommands_ex2_1.xml create mode 100644 doc/generated/examples/builderswriting_MY_EMITTER_1.xml create mode 100644 doc/generated/examples/builderswriting_ex1_1.xml create mode 100644 doc/generated/examples/builderswriting_ex2_1.xml create mode 100644 doc/generated/examples/builderswriting_ex3_1.xml create mode 100644 doc/generated/examples/builderswriting_ex4_1.xml create mode 100644 doc/generated/examples/builderswriting_ex5_1.xml create mode 100644 doc/generated/examples/builderswriting_ex6_1.xml create mode 100644 doc/generated/examples/builderswriting_ex7_1.xml create mode 100644 doc/generated/examples/caching_ex-random_1.xml create mode 100644 doc/generated/examples/caching_ex1_1.xml create mode 100644 doc/generated/examples/caching_ex1_2.xml create mode 100644 doc/generated/examples/caching_ex1_4.xml create mode 100644 doc/generated/examples/caching_ex1_5.xml create mode 100644 doc/generated/examples/commandline_ARGLIST_1.xml create mode 100644 doc/generated/examples/commandline_ARGUMENTS_1.xml create mode 100644 doc/generated/examples/commandline_AddOption_1.xml create mode 100644 doc/generated/examples/commandline_AddOption_2.xml create mode 100644 doc/generated/examples/commandline_BUILD_TARGETS_1_1.xml create mode 100644 doc/generated/examples/commandline_BoolVariable_1.xml create mode 100644 doc/generated/examples/commandline_BoolVariable_2.xml create mode 100644 doc/generated/examples/commandline_BoolVariable_3.xml create mode 100644 doc/generated/examples/commandline_BoolVariable_4.xml create mode 100644 doc/generated/examples/commandline_BoolVariable_5.xml create mode 100644 doc/generated/examples/commandline_COMMAND_LINE_TARGETS_1.xml create mode 100644 doc/generated/examples/commandline_DEFAULT_TARGETS_1_1.xml create mode 100644 doc/generated/examples/commandline_DEFAULT_TARGETS_2_1.xml create mode 100644 doc/generated/examples/commandline_Default1_1.xml create mode 100644 doc/generated/examples/commandline_Default1_2.xml create mode 100644 doc/generated/examples/commandline_Default2_1.xml create mode 100644 doc/generated/examples/commandline_Default3_1.xml create mode 100644 doc/generated/examples/commandline_Default4_1.xml create mode 100644 doc/generated/examples/commandline_EnumVariable_1.xml create mode 100644 doc/generated/examples/commandline_EnumVariable_2.xml create mode 100644 doc/generated/examples/commandline_EnumVariable_3.xml create mode 100644 doc/generated/examples/commandline_EnumVariable_ic1_1.xml create mode 100644 doc/generated/examples/commandline_EnumVariable_ic2_1.xml create mode 100644 doc/generated/examples/commandline_ListVariable_1.xml create mode 100644 doc/generated/examples/commandline_ListVariable_2.xml create mode 100644 doc/generated/examples/commandline_ListVariable_3.xml create mode 100644 doc/generated/examples/commandline_PackageVariable_1.xml create mode 100644 doc/generated/examples/commandline_PathVariable_1.xml create mode 100644 doc/generated/examples/commandline_PathVariable_2.xml create mode 100644 doc/generated/examples/commandline_SCONSFLAGS_1.xml create mode 100644 doc/generated/examples/commandline_SetOption_1.xml create mode 100644 doc/generated/examples/commandline_SetOption_2.xml create mode 100644 doc/generated/examples/commandline_SetOption_3.xml create mode 100644 doc/generated/examples/commandline_UnknownVariables_1.xml create mode 100644 doc/generated/examples/commandline_Variables1_1.xml create mode 100644 doc/generated/examples/commandline_Variables_Help_1.xml create mode 100644 doc/generated/examples/commandline_Variables_custom_py_1_1.xml create mode 100644 doc/generated/examples/commandline_Variables_custom_py_1_custom.py create mode 100644 doc/generated/examples/commandline_Variables_custom_py_2_1.xml create mode 100644 doc/generated/examples/depends_AlwaysBuild_1.xml create mode 100644 doc/generated/examples/depends_AlwaysBuild_2.xml create mode 100644 doc/generated/examples/depends_Requires_1.xml create mode 100644 doc/generated/examples/depends_ex1_1.xml create mode 100644 doc/generated/examples/depends_ex1_2.xml create mode 100644 doc/generated/examples/depends_ex1_3.xml create mode 100644 doc/generated/examples/depends_ex1_4.xml create mode 100644 doc/generated/examples/depends_ex1_5.xml create mode 100644 doc/generated/examples/depends_ex1_6.xml create mode 100644 doc/generated/examples/depends_ex1_7.xml create mode 100644 doc/generated/examples/depends_ex1_8.xml create mode 100644 doc/generated/examples/depends_ex5_1.xml create mode 100644 doc/generated/examples/depends_ex5_2.xml create mode 100644 doc/generated/examples/depends_ignore_explicit_1.xml create mode 100644 doc/generated/examples/depends_include_1.xml create mode 100644 doc/generated/examples/depends_include_SConstruct create mode 100644 doc/generated/examples/depends_include_hello.h create mode 100644 doc/generated/examples/depends_macroinc_1.xml create mode 100644 doc/generated/examples/depends_match_1.xml create mode 100644 doc/generated/examples/depends_mixing_1.xml create mode 100644 doc/generated/examples/depends_newer_1.xml create mode 100644 doc/generated/examples/depends_no-Requires_1.xml create mode 100644 doc/generated/examples/depends_parsedep_1.xml create mode 100644 doc/generated/examples/environments_Append-nonexistent_1.xml create mode 100644 doc/generated/examples/environments_Prepend-nonexistent_1.xml create mode 100644 doc/generated/examples/environments_Replace-nonexistent_1.xml create mode 100644 doc/generated/examples/environments_Replace1_1.xml create mode 100644 doc/generated/examples/environments_Replace2_1.xml create mode 100644 doc/generated/examples/environments_ex1_1.xml create mode 100644 doc/generated/examples/environments_ex2_1.xml create mode 100644 doc/generated/examples/environments_ex3_1.xml create mode 100644 doc/generated/examples/environments_ex4_1.xml create mode 100644 doc/generated/examples/environments_ex5_1.xml create mode 100644 doc/generated/examples/environments_ex6_1.xml create mode 100644 doc/generated/examples/environments_ex6b_1.xml create mode 100644 doc/generated/examples/environments_ex6b_2.xml create mode 100644 doc/generated/examples/environments_ex8_1.xml create mode 100644 doc/generated/examples/environments_ex9_1.xml create mode 100644 doc/generated/examples/environments_missing1_1.xml create mode 100644 doc/generated/examples/environments_missing2_1.xml create mode 100644 doc/generated/examples/environments_missing3_1.xml create mode 100644 doc/generated/examples/factories_Chmod_1.xml create mode 100644 doc/generated/examples/factories_Copy1_1.xml create mode 100644 doc/generated/examples/factories_Copy2_1.xml create mode 100644 doc/generated/examples/factories_Copy3_1.xml create mode 100644 doc/generated/examples/factories_Delete1_1.xml create mode 100644 doc/generated/examples/factories_Delete2_1.xml create mode 100644 doc/generated/examples/factories_Execute_1.xml create mode 100644 doc/generated/examples/factories_Mkdir_1.xml create mode 100644 doc/generated/examples/factories_Move_1.xml create mode 100644 doc/generated/examples/factories_Touch_1.xml create mode 100644 doc/generated/examples/fileremoval_clean-ex1_1.xml create mode 100644 doc/generated/examples/fileremoval_noclean-ex1_1.xml create mode 100644 doc/generated/examples/fileremoval_precious-ex1_1.xml create mode 100644 doc/generated/examples/hierarchy_Return_1.xml create mode 100644 doc/generated/examples/hierarchy_Return_foo_SConscript create mode 100644 doc/generated/examples/hierarchy_ex1_1.xml create mode 100644 doc/generated/examples/hierarchy_ex1_prog1_SConscript create mode 100644 doc/generated/examples/hierarchy_ex1_prog2_SConscript create mode 100644 doc/generated/examples/hierarchy_ex2_1.xml create mode 100644 doc/generated/examples/hierarchy_ex3_1.xml create mode 100644 doc/generated/examples/install_ex1_1.xml create mode 100644 doc/generated/examples/install_ex2_1.xml create mode 100644 doc/generated/examples/install_ex3_1.xml create mode 100644 doc/generated/examples/install_ex4_1.xml create mode 100644 doc/generated/examples/install_ex5_1.xml create mode 100644 doc/generated/examples/java_JAVACLASSDIR_1.xml create mode 100644 doc/generated/examples/java_RMIC_1.xml create mode 100644 doc/generated/examples/java_jar1_1.xml create mode 100644 doc/generated/examples/java_jar2_1.xml create mode 100644 doc/generated/examples/java_java-classes_1.xml create mode 100644 doc/generated/examples/java_java-classes_2.xml create mode 100644 doc/generated/examples/java_java_1.xml create mode 100644 doc/generated/examples/java_javah_1.xml create mode 100644 doc/generated/examples/java_javah_file_1.xml create mode 100644 doc/generated/examples/lesssimple_ex2_1.xml create mode 100644 doc/generated/examples/lesssimple_ex3_1.xml create mode 100644 doc/generated/examples/lesssimple_ex3_2.xml create mode 100644 doc/generated/examples/lesssimple_ex4_1.xml create mode 100644 doc/generated/examples/lesssimple_ex5_1.xml create mode 100644 doc/generated/examples/lesssimple_target_1.xml create mode 100644 doc/generated/examples/lesssimple_target_2.xml create mode 100644 doc/generated/examples/libraries_SharedLibrary_1.xml create mode 100644 doc/generated/examples/libraries_SharedLibrary_2.xml create mode 100644 doc/generated/examples/libraries_ex1_1.xml create mode 100644 doc/generated/examples/libraries_ex1_2.xml create mode 100644 doc/generated/examples/libraries_ex2_1.xml create mode 100644 doc/generated/examples/libraries_ex2_2.xml create mode 100644 doc/generated/examples/libraries_ex3_1.xml create mode 100644 doc/generated/examples/libraries_ex3_2.xml create mode 100644 doc/generated/examples/libraries_objects_1.xml create mode 100644 doc/generated/examples/mergeflags_MergeFlags1_1.xml create mode 100644 doc/generated/examples/mergeflags_MergeFlags2_1.xml create mode 100644 doc/generated/examples/mergeflags_MergeFlags3_1.xml create mode 100644 doc/generated/examples/misc_Exit_1.xml create mode 100644 doc/generated/examples/misc_FindFile1a_1.xml create mode 100644 doc/generated/examples/misc_FindFile1b_1.xml create mode 100644 doc/generated/examples/misc_FindFile1d_1.xml create mode 100644 doc/generated/examples/misc_FindFile2_1.xml create mode 100644 doc/generated/examples/misc_FindFile2_2.xml create mode 100644 doc/generated/examples/misc_FindFile3_1.xml create mode 100644 doc/generated/examples/misc_Flatten1_1.xml create mode 100644 doc/generated/examples/misc_Flatten2_1.xml create mode 100644 doc/generated/examples/nodes_GetBuildPath_1.xml create mode 100644 doc/generated/examples/nodes_ex1_1.xml create mode 100644 doc/generated/examples/nodes_ex1_2.xml create mode 100644 doc/generated/examples/nodes_exists_1.xml create mode 100644 doc/generated/examples/nodes_print_1.xml create mode 100644 doc/generated/examples/nodes_print_2.xml create mode 100644 doc/generated/examples/output_Progress-TARGET_1.xml create mode 100644 doc/generated/examples/output_ex1_1.xml create mode 100644 doc/generated/examples/output_ex2_1.xml create mode 100644 doc/generated/examples/output_ex2_2.xml create mode 100644 doc/generated/examples/output_gbf2_1.xml create mode 100644 doc/generated/examples/parseflags_ex1_1.xml create mode 100644 doc/generated/examples/parseflags_ex1_2.xml create mode 100644 doc/generated/examples/parseflags_ex2_1.xml create mode 100644 doc/generated/examples/parseflags_ex3_1.xml create mode 100644 doc/generated/examples/parseflags_ex4_1.xml create mode 100644 doc/generated/examples/repositories_CPPPATH3_1.xml create mode 100644 doc/generated/examples/repositories_CPPPATH_1.xml create mode 100644 doc/generated/examples/repositories_ex1_1.xml create mode 100644 doc/generated/examples/repositories_ex2_1.xml create mode 100644 doc/generated/examples/repositories_ex3_1.xml create mode 100644 doc/generated/examples/repositories_ex4_1.xml create mode 100644 doc/generated/examples/repositories_quote1_1.xml create mode 100644 doc/generated/examples/separate_builddir_1.xml create mode 100644 doc/generated/examples/separate_builddir_sconscript_1.xml create mode 100644 doc/generated/examples/separate_builddir_sconscript_SConstruct create mode 100644 doc/generated/examples/separate_duplicate0_1.xml create mode 100644 doc/generated/examples/separate_ex1_1.xml create mode 100644 doc/generated/examples/separate_glob_builddir_sconscript_1.xml create mode 100644 doc/generated/examples/sideeffect_parallel_1.xml create mode 100644 doc/generated/examples/sideeffect_shared_1.xml create mode 100644 doc/generated/examples/sideeffect_simple_1.xml create mode 100644 doc/generated/examples/simple_Object_1.xml create mode 100644 doc/generated/examples/simple_Object_2.xml create mode 100644 doc/generated/examples/simple_clean_1.xml create mode 100644 doc/generated/examples/simple_clean_2.xml create mode 100644 doc/generated/examples/simple_declarative_1.xml create mode 100644 doc/generated/examples/simple_ex1_1.xml create mode 100644 doc/generated/examples/simple_ex1_2.xml create mode 100644 doc/generated/examples/simple_ex1_3.xml create mode 100644 doc/generated/examples/simple_ex1_4.xml create mode 100644 doc/generated/examples/simple_java_1.xml create mode 100644 doc/generated/examples/sourcecode_bitkeeper_1.xml create mode 100644 doc/generated/examples/sourcecode_cvs_1.xml create mode 100644 doc/generated/examples/sourcecode_rcs_1.xml create mode 100644 doc/generated/examples/sourcecode_sccs_1.xml create mode 100644 doc/generated/examples/tasks_ex1_1.xml create mode 100644 doc/generated/examples/tasks_ex1_main.cpp create mode 100644 doc/generated/examples/troubleshoot_Dump_1.xml create mode 100644 doc/generated/examples/troubleshoot_Dump_2.xml create mode 100644 doc/generated/examples/troubleshoot_Dump_ENV_1.xml create mode 100644 doc/generated/examples/troubleshoot_Dump_ENV_2.xml create mode 100644 doc/generated/examples/troubleshoot_explain1_1.xml create mode 100644 doc/generated/examples/troubleshoot_explain1_2.xml create mode 100644 doc/generated/examples/troubleshoot_explain1_3.xml create mode 100644 doc/generated/examples/troubleshoot_explain2_1.xml create mode 100644 doc/generated/examples/troubleshoot_explain3_1.xml create mode 100644 doc/generated/examples/troubleshoot_findlibs_1.xml create mode 100644 doc/generated/examples/troubleshoot_stacktrace_1.xml create mode 100644 doc/generated/examples/troubleshoot_stacktrace_2.xml create mode 100644 doc/generated/examples/troubleshoot_taskmastertrace_1.xml create mode 100644 doc/generated/examples/troubleshoot_tree1_1.xml create mode 100644 doc/generated/examples/troubleshoot_tree1_2.xml create mode 100644 doc/generated/examples/troubleshoot_tree1_3.xml create mode 100644 doc/generated/examples/troubleshoot_tree1_4.xml create mode 100644 doc/generated/examples/troubleshoot_tree1_5.xml create mode 100644 doc/generated/examples/troubleshoot_tree1_6.xml create mode 100644 doc/generated/examples/troubleshoot_tree2_1.xml create mode 100644 doc/generated/examples/troubleshoot_tree2_2.xml create mode 100644 doc/generated/examples/variants_ex_1.xml create mode 100644 doc/generated/examples/variants_ex_2.xml create mode 100644 doc/generated/functions.gen create mode 100644 doc/generated/functions.mod create mode 100644 doc/generated/tools.gen create mode 100644 doc/generated/tools.mod create mode 100644 doc/generated/variables.gen create mode 100644 doc/generated/variables.mod create mode 100644 doc/images/overview.graphml create mode 100644 doc/man/SConstruct create mode 100644 doc/man/cover.jpg create mode 100644 doc/man/epub.css create mode 100644 doc/man/epub.xsl create mode 100644 doc/man/html.xsl create mode 100644 doc/man/pdf.xsl delete mode 100644 doc/man/scons-time.1 create mode 100644 doc/man/scons-time.xml delete mode 100644 doc/man/scons.1 create mode 100644 doc/man/scons.css create mode 100644 doc/man/scons.xml create mode 100644 doc/man/scons_title.xsl delete mode 100644 doc/man/sconsign.1 create mode 100644 doc/man/sconsign.xml create mode 100644 doc/man/titlepage/SConsBuildBricks_path.svg create mode 100644 doc/man/titlepage/SCons_path.svg create mode 100755 doc/man/titlepage/bricks.jpg create mode 100644 doc/man/titlepage/mapnik_final_colors.svg create mode 100644 doc/overview.rst create mode 100644 doc/python10/SConstruct delete mode 100644 doc/python10/arch.eps create mode 100644 doc/python10/arch.svg delete mode 100644 doc/python10/builder.eps create mode 100644 doc/python10/builder.svg delete mode 100644 doc/python10/job-task.eps create mode 100644 doc/python10/job-task.svg delete mode 100644 doc/python10/node.eps create mode 100644 doc/python10/node.svg delete mode 100644 doc/python10/scanner.eps create mode 100644 doc/python10/scanner.svg delete mode 100644 doc/python10/scons.mod delete mode 100644 doc/python10/sig.eps create mode 100644 doc/python10/sig.svg create mode 100644 doc/python10/summary.xml create mode 100644 doc/reference/SConstruct create mode 100644 doc/reference/chtml.xsl create mode 100644 doc/reference/html.xsl create mode 100644 doc/reference/pdf.xsl create mode 100644 doc/reference/scons.css create mode 100644 doc/reference/scons_title.xsl create mode 100644 doc/reference/titlepage/SConsBuildBricks_path.svg create mode 100644 doc/reference/titlepage/SCons_path.svg create mode 100755 doc/reference/titlepage/bricks.jpg create mode 100644 doc/reference/titlepage/mapnik_final_colors.svg create mode 100644 doc/user/SConstruct delete mode 100644 doc/user/actions.in delete mode 100644 doc/user/add-method.in delete mode 100644 doc/user/alias.in delete mode 100644 doc/user/ant.in delete mode 100644 doc/user/build-install.in delete mode 100644 doc/user/builders-built-in.in delete mode 100644 doc/user/builders-commands.in delete mode 100644 doc/user/builders-writing.in delete mode 100644 doc/user/builders.in delete mode 100644 doc/user/caching.in create mode 100644 doc/user/chtml.xsl delete mode 100644 doc/user/command-line.in delete mode 100644 doc/user/copyright.in create mode 100644 doc/user/cover.jpg delete mode 100644 doc/user/depends.in delete mode 100644 doc/user/environments.in create mode 100644 doc/user/epub.css create mode 100644 doc/user/epub.xsl delete mode 100644 doc/user/errors.in delete mode 100644 doc/user/example.in delete mode 100644 doc/user/factories.in delete mode 100644 doc/user/file-removal.in delete mode 100644 doc/user/functions.in delete mode 100644 doc/user/gettext.in delete mode 100644 doc/user/hierarchy.in create mode 100644 doc/user/html.xsl delete mode 100644 doc/user/install.in delete mode 100644 doc/user/java.in delete mode 100644 doc/user/less-simple.in delete mode 100644 doc/user/libraries.in delete mode 100644 doc/user/main.in delete mode 100644 doc/user/make.in delete mode 100644 doc/user/mergeflags.in delete mode 100644 doc/user/misc.in delete mode 100644 doc/user/nodes.in delete mode 100644 doc/user/output.in delete mode 100644 doc/user/parseconfig.in delete mode 100644 doc/user/parseflags.in create mode 100644 doc/user/pdf.xsl delete mode 100644 doc/user/preface.in delete mode 100644 doc/user/python.in delete mode 100644 doc/user/repositories.in delete mode 100644 doc/user/run.in delete mode 100644 doc/user/scanners.in delete mode 100644 doc/user/sconf.in create mode 100644 doc/user/scons.css create mode 100644 doc/user/scons_title.xsl delete mode 100644 doc/user/separate.in delete mode 100644 doc/user/sideeffect.in delete mode 100644 doc/user/simple.in delete mode 100644 doc/user/sourcecode.in delete mode 100644 doc/user/tasks.in create mode 100644 doc/user/titlepage/SConsBuildBricks_path.svg create mode 100644 doc/user/titlepage/SCons_path.svg create mode 100755 doc/user/titlepage/bricks.jpg create mode 100644 doc/user/titlepage/mapnik_final_colors.svg delete mode 100644 doc/user/tools.in delete mode 100644 doc/user/troubleshoot.in delete mode 100644 doc/user/variables.in delete mode 100644 doc/user/variants.in create mode 100644 doc/version.xml create mode 100644 doc/xsd/calstblx.xsd create mode 100644 doc/xsd/dbhierx.xsd create mode 100644 doc/xsd/dbnotnx.xsd create mode 100644 doc/xsd/dbpoolx.xsd create mode 100644 doc/xsd/htmltblx.xsd create mode 100644 doc/xsd/scons.xsd create mode 100644 doc/xsd/xml.xsd create mode 100644 doc/xslt/to_docbook.xslt create mode 100644 doc/xslt/xinclude_examples.xslt create mode 100644 src/engine/SCons/Tool/cyglink.py create mode 100644 src/engine/SCons/Tool/docbook/__init__.py create mode 100644 src/engine/SCons/Tool/docbook/__init__.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/.CatalogManager.properties.example create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/.urilist create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/AUTHORS create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/BUGS create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/COPYING create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/INSTALL create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/Makefile create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/NEWS create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/NEWS.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/NEWS.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/README create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/RELEASE-NOTES.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/RELEASE-NOTES.txt create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/RELEASE-NOTES.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/TODO create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/VERSION create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/catalog.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/af.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/am.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ar.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/as.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ast.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/autoidx-kimber.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/autoidx-kosek.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/az.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/bg.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/bn.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/bn_in.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/bs.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ca.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/charmap.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/charmap.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/common.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/cs.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/cy.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/da.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/de.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/el.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/en.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/entities.ent create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/eo.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/es.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/et.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/eu.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/fa.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/fi.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/fr.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ga.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/gentext.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/gl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/gu.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/he.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/hi.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/hr.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/hu.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/id.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/insertfile.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/is.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/it.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ja.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ka.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/kn.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ko.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ky.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/l10n.dtd create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/l10n.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/l10n.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/la.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/labels.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/lt.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/lv.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ml.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/mn.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/mr.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/nb.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/nds.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/nl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/nn.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/olink.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/or.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/pa.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/pi.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/pi.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/pl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/pt.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/pt_br.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/refentry.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/refentry.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ro.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ru.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/sk.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/sl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/sq.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/sr.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/sr_Latn.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/stripns.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/subtitles.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/sv.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/ta.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/table.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/targetdatabase.dtd create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/targets.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/te.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/th.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/titles.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/tl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/tr.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/uk.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/utility.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/utility.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/vi.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/xh.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/zh.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/zh_cn.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/common/zh_tw.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/docsrc/authors.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/docsrc/copyright.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/docsrc/license.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/docsrc/reference.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/docsrc/reference.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/docsrc/reference.xml.included create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/docsrc/warranty.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/eclipse/eclipse.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/eclipse/eclipse3.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/eclipse/profile-eclipse.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/epub/README create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/epub/bin/dbtoepub create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/epub/bin/lib/docbook.rb create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/epub/bin/xslt/obfuscate.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/epub/docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/LICENSE.txt create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/NOTICE.txt create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/README.LIBXSLT create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/README.txt create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/docbook.py create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/xslt.py create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/admon.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/annotations.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/autoidx-kimber.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/autoidx-kosek.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/autoidx-ng.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/autoidx.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/autotoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/axf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/biblio-iso690.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/biblio.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/block.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/callout.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/component.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/division.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/ebnf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/fo-rtf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/fo.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/footnote.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/fop.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/fop1.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/formal.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/glossary.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/graphics.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/highlight.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/htmltbl.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/index.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/info.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/inline.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/keywords.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/lists.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/math.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/pagesetup.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/param.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/passivetex.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/pdf2index create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/pi.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/pi.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/profile-docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/ptc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/qandaset.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/refentry.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/sections.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/spaces.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/synop.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/table.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/table.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/task.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/titlepage.templates.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/titlepage.templates.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/titlepage.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/toc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/verbatim.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/xep.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/fo/xref.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/README create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/c-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/cpp-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/csharp-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/delphi-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/ini-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/java-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/javascript-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/m2-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/myxml-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/perl-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/php-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/python-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/ruby-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/tcl-hl.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/highlighting/xslthl-config.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/admon.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/annotations.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/autoidx-kimber.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/autoidx-kosek.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/autoidx-ng.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/autoidx.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/autotoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/biblio-iso690.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/biblio.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/block.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/callout.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/changebars.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/chunk-changebars.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/chunk-code.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/chunk-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/chunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/chunker.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/chunkfast.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/chunktoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/component.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/division.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/docbook.css.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/ebnf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/footnote.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/formal.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/glossary.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/graphics.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/highlight.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/html-rtf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/html.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/htmltbl.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/index.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/info.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/inline.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/keywords.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/lists.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/maketoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/manifest.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/math.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/oldchunker.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/onechunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/param.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/pi.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/pi.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/profile-chunk-code.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/profile-chunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/profile-docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/profile-onechunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/qandaset.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/refentry.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/sections.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/synop.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/table.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/task.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/titlepage.templates.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/titlepage.templates.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/titlepage.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/toc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/verbatim.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/html/xref.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/htmlhelp/htmlhelp-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/htmlhelp/htmlhelp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/htmlhelp/profile-htmlhelp-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/htmlhelp/profile-htmlhelp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/1.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/10.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/11.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/12.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/13.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/14.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/15.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/16.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/17.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/18.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/19.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/2.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/20.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/21.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/22.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/23.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/24.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/25.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/26.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/27.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/28.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/29.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/3.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/30.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/4.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/5.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/6.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/7.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/8.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/callouts/9.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/caution.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/caution.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/home.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/important.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/next.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/note.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/prev.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/tip.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/up.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/colorsvg/warning.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/home.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/important.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/next.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/note.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/prev.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/tip.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/up.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/images/warning.svg create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/install.sh create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/javahelp/javahelp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/javahelp/profile-javahelp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/lib/lib.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/ChangeLog.20020917 create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/block.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/charmap.groff.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/endnotes.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/html-synop.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/info.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/inline.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/lists.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/other.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/param.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/pi.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/pi.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/profile-docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/refentry.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/synop.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/table.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/manpages/utility.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/abstract.notitle.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/abstract.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/abstract.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/active.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ade.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/admon.graphics.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/admon.graphics.path.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/admon.graphics.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/admon.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/admon.textlabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/admonition.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/admonition.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/alignment.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/annotate.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/annotation.css.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/annotation.graphic.close.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/annotation.graphic.open.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/annotation.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/annotation.support.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/appendix.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/arbortext.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/article.appendix.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/author.othername.in.middle.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/autolayout-file.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/autotoc.label.in.hyperlink.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/autotoc.label.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/axf.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/banner.before.navigation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/base.dir.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/biblioentry.item.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/biblioentry.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/bibliography.collection.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/bibliography.numbered.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/bibliography.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/blockquote.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/blurb.on.titlepage.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.attributes.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.bg.color.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.end.indent.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.font.master.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.font.size.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.margin.bottom.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.margin.top.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/body.start.indent.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/bookmarks.collapse.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/bridgehead.in.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/bullet.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.defaultcolumn.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.graphics.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.graphics.number.limit.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.graphics.path.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.graphics.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.icon.size.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.list.table.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.unicode.font.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.unicode.number.limit.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.unicode.start.character.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callout.unicode.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/callouts.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chapter.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.append.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.first.sections.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.quietly.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.section.depth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.sections.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.separate.lots.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.tocs.and.lots.has.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunk.tocs.and.lots.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.cdata-section-elements.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.doctype-public.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.doctype-system.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.encoding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.indent.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.media-type.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.method.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.omit-xml-declaration.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/chunker.output.standalone.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/citerefentry.link.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/collect.xref.targets.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.count.back.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.count.body.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.count.front.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.count.index.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.count.lot.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.count.titlepage.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.gap.back.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.gap.body.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.gap.front.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.gap.index.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.gap.lot.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/column.gap.titlepage.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/compact.list.item.spacing.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/component.label.includes.part.label.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/component.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/component.titlepage.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/contrib.inline.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/crop.mark.bleed.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/crop.mark.offset.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/crop.mark.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/crop.marks.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/css.decoration.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/css.stylesheet.dir.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/css.stylesheet.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/current.docid.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/currentpage.marker.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/custom.css.source.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/default.float.class.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/default.image.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/default.table.frame.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/default.table.rules.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/default.table.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/default.units.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/dingbat.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/docbook.css.link.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/docbook.css.source.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/double.sided.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/draft.mode.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/draft.watermark.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/dry-run.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/dynamic.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ebnf.assignment.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ebnf.statement.terminator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ebnf.table.bgcolor.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ebnf.table.border.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/eclipse.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/eclipse.plugin.id.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/eclipse.plugin.name.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/eclipse.plugin.provider.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/editedby.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/email.delimiters.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/email.mailto.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/emphasis.propagates.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/entry.propagates.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/epub.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/equation.number.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/equation.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/example.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/exsl.node.set.available.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/feedback.href.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/feedback.link.text.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/feedback.with.ids.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/figure.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/filename-prefix.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/firstterm.only.link.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/foil.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/foil.subtitle.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/foil.title.master.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/foil.title.size.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/foilgroup.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/foilgroup.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footer.column.widths.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footer.content.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footer.hr.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footer.rule.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footer.table.height.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footer.table.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footers.on.blank.pages.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footnote.font.size.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footnote.mark.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footnote.number.format.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footnote.number.symbols.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footnote.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/footnote.sep.leader.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/fop.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/fop1.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/formal.object.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/formal.procedures.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/formal.title.placement.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/formal.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/funcsynopsis.decoration.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/funcsynopsis.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/function.parens.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.css.header.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.id.attributes.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.index.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.legalnotice.link.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.manifest.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.meta.abstract.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.revhistory.link.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.section.toc.level.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/generate.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossary.as.blocks.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossary.collection.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossary.sort.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossdef.block.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossdef.list.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossentry.list.item.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossentry.show.acronym.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glosslist.as.blocks.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossterm.auto.link.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossterm.block.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossterm.list.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossterm.separation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/glossterm.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/graphic.default.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/graphical.admonition.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/graphics.dir.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/graphicsize.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/graphicsize.use.img.src.path.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/header.column.widths.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/header.content.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/header.hr.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/header.rule.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/header.table.height.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/header.table.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/headers.on.blank.pages.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/hidetoc.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/highlight.default.language.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/highlight.source.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/highlight.xslthl.config.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/home.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.append.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.base.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.cellpadding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.cellspacing.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.cleanup.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.ext.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.extra.head.links.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.head.legalnotice.link.multiple.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.head.legalnotice.link.types.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.longdesc.link.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.longdesc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.stylesheet.type.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/html.stylesheet.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.alias.file.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.back.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.forward.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.hideshow.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.home.url.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.home.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.jump1.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.jump1.url.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.jump1.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.jump2.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.jump2.url.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.jump2.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.locate.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.next.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.options.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.prev.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.print.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.refresh.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.stop.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.button.zoom.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.chm.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.default.topic.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.display.progress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.encoding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.enhanced.decompilation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.enumerate.images.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.force.map.and.alias.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhc.binary.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhc.folders.instead.books.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhc.section.depth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhc.show.root.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhc.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhk.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhp.tail.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhp.window.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhp.windows.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.hhp.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.map.file.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.only.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.remember.window.position.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.show.advanced.search.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.show.favorities.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.show.menu.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.show.toolbar.text.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.use.hhk.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/htmlhelp.window.geometry.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/hyphenate.verbatim.characters.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/hyphenate.verbatim.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/hyphenate.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/id.warnings.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ignore.image.scaling.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/img.src.path.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.div.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.entry.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.links.to.section.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.method.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.number.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.on.role.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.on.type.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.page.number.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.prefer.titleabbrev.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.preferred.page.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.range.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/index.term.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/informal.object.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/informalequation.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/informalexample.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/informalfigure.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/informaltable.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/inherit.keywords.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/insert.link.page.number.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/insert.olink.page.number.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/insert.olink.pdf.frag.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/insert.xref.page.number.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/itemizedlist.label.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/itemizedlist.label.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/itemizedlist.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/javahelp.encoding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/keep.relative.image.uris.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/keyboard.nav.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/l10n.gentext.default.language.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/l10n.gentext.language.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/l10n.gentext.use.xref.language.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/l10n.lang.value.rfc.compliant.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/label.from.part.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/line-height.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/linenumbering.everyNth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/linenumbering.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/linenumbering.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/linenumbering.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/link.mailto.url.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/list.block.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/list.block.spacing.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/list.item.spacing.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/make.clean.html.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/make.graphic.viewport.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/make.index.markup.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/make.single.year.ranges.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/make.valid.html.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/make.year.ranges.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.authors.section.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.base.url.for.relative.links.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.break.after.slash.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.charmap.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.charmap.subset.profile.english.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.charmap.subset.profile.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.charmap.uri.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.charmap.use.subset.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.copyright.section.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.endnotes.are.numbered.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.endnotes.list.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.endnotes.list.heading.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.font.funcprototype.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.font.funcsynopsisinfo.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.font.links.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.font.table.headings.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.font.table.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.funcsynopsis.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.hyphenate.computer.inlines.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.hyphenate.filenames.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.hyphenate.urls.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.hyphenate.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.indent.blurbs.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.indent.lists.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.indent.refsect.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.indent.verbatims.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.indent.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.justify.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.base.dir.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.better.ps.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.encoding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.in.separate.dir.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.lang.in.name.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.manifest.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.manifest.filename.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.quietly.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.output.subdirs.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.segtitle.suppress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.string.subst.map.local.post.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.string.subst.map.local.pre.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.string.subst.map.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.subheading.divider.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.subheading.divider.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.table.footnotes.divider.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.th.extra1.suppress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.th.extra2.max.length.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.th.extra2.suppress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.th.extra3.max.length.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.th.extra3.suppress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/man.th.title.max.length.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/manifest.in.base.dir.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/manifest.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/manual.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/margin.note.float.type.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/margin.note.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/margin.note.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/margin.note.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/marker.section.level.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/menuchoice.menu.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/menuchoice.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/minus.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/monospace.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/monospace.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/monospace.verbatim.font.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/monospace.verbatim.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/multiframe.bottom.bgcolor.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/multiframe.navigation.height.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/multiframe.top.bgcolor.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/multiframe.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/nav.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/nav.table.summary.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/navbgcolor.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/navbodywidth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/navig.graphics.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/navig.graphics.path.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/navig.graphics.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/navig.showtitles.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/navtocwidth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/next.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/no.home.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/no.next.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/no.prev.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/no.toc.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/no.up.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/nominal.image.depth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/nominal.image.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/nominal.table.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/nongraphical.admonition.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/normal.para.spacing.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.base.uri.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.debug.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.doctitle.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.fragid.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.lang.fallback.sequence.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.outline.ext.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.pubid.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.resolver.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/olink.sysid.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/orderedlist.label.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/orderedlist.label.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/orderedlist.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/othercredit.like.author.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/output-root.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/output.indent.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/overlay.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/overlay.logo.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/overlay.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.height.portrait.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.height.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.margin.bottom.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.margin.inner.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.margin.outer.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.margin.top.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.orientation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.width.portrait.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/page.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/pages.template.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/paper.type.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/para.propagates.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/part.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/passivetex.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/pgwide.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/phrase.propagates.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/pixels.per.inch.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/plus.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/points.per.em.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/preface.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/prefer.internal.olink.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/preferred.mediaobject.role.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/prev.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/procedure.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/process.empty.source.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/process.source.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.arch.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.attribute.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.audience.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.condition.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.conformance.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.lang.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.os.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.revision.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.revisionflag.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.role.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.security.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.status.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.userlevel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.value.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.vendor.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/profile.wordsize.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/punct.honorific.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.defaultlabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.in.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.inherit.numeration.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.nested.in.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.title.level1.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.title.level2.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.title.level3.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.title.level4.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.title.level5.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.title.level6.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qanda.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/qandadiv.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refclass.suppress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.date.profile.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.date.profile.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.generate.name.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.generate.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.manual.fallback.profile.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.manual.profile.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.manual.profile.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.meta.get.quietly.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.pagebreak.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.source.fallback.profile.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.source.name.profile.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.source.name.profile.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.source.name.suppress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.version.profile.enabled.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.version.profile.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.version.suppress.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/refentry.xref.manvolnum.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/reference.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/region.after.extent.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/region.before.extent.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/revhistory.table.cell.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/revhistory.table.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/revhistory.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/root.filename.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/root.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/rootid.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/runinhead.default.title.end.punct.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/runinhead.title.end.punct.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/running.foot.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/sans.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/saxon.callouts.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/saxon.character.representation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/saxon.linenumbering.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/saxon.tablecolumns.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/script.dir.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.autolabel.max.depth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.autolabel.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.container.element.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.label.includes.component.label.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.level1.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.level2.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.level3.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.level4.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.level5.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.level6.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.title.level1.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.title.level2.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.title.level3.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.title.level4.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.title.level5.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.title.level6.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/section.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/segmentedlist.as.table.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/sequential.links.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/shade.verbatim.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/shade.verbatim.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/show.comments.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/show.foil.number.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/show.revisionflag.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/showtoc.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/side.float.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/sidebar.float.type.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/sidebar.float.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/sidebar.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/sidebar.title.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/simplesect.in.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/slide.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/slide.title.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/slides.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/slides.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/spacing.paras.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/speakernote.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/subscript.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/superscript.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/suppress.footer.navigation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/suppress.header.navigation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/suppress.homepage.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/suppress.navigation.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/symbol.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.borders.with.css.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.cell.border.color.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.cell.border.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.cell.border.thickness.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.cell.padding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.entry.padding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.footnote.number.format.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.footnote.number.symbols.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.footnote.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.frame.border.color.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.frame.border.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.frame.border.thickness.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.spacer.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/table.table.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/tablecolumns.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/target.database.document.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/targets.filename.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/template.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/tex.math.delims.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/tex.math.file.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/tex.math.in.alt.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/text.home.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/text.next.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/text.prev.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/text.toc.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/text.up.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/textbgcolor.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/textdata.default.encoding.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/textinsert.extension.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/title.font.family.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/title.margin.left.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/titlefoil.html.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.bg.color.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.blank.graphic.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.blank.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.blank.text.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.hide.show.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.html.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.indent.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.line.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.list.type.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.margin.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.max.depth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.pointer.graphic.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.pointer.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.pointer.text.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.row.height.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.section.depth.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.spacer.graphic.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.spacer.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.spacer.text.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/toc.width.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ua.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ulink.footnotes.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ulink.hyphenate.chars.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ulink.hyphenate.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ulink.show.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/ulink.target.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/up.image.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.embed.for.svg.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.id.as.filename.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.id.function.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.local.olink.style.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.role.as.xrefstyle.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.role.for.mediaobject.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/use.svg.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/variablelist.as.blocks.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/variablelist.as.table.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/variablelist.max.termlength.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/variablelist.term.break.after.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/variablelist.term.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/variablelist.term.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/verbatim.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/wordml.template.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/writing.mode.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xbCollapsibleLists.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xbDOM.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xbLibrary.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xbStyle.js.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xep.extensions.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xep.index.item.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xref.label-page.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xref.label-title.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xref.properties.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xref.title-page.separator.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/params/xref.with.number.and.title.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile-mode.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/strip-attributes.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/xsl2profile.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/blocks-spec.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/blocks2dbk.dtd create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/blocks2dbk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/dbk2ooo.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/dbk2pages.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/dbk2wordml.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/dbk2wp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/normalise-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/normalise2sections.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/pages2normalise.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/param.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/sections-spec.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/sections2blocks.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/specifications.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/template-pages.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/template.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/roundtrip/wordml2normalise.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/CTOCWidget.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/overlay.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/slides-default.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/slides-frames.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/slides-plain.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/slides-table.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/slides-w3c.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/slides.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/slides.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/ua.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbCollapsibleLists.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbDOM.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbDebug.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbLibrary.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbStyle-css.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbStyle-nn4.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbStyle-not-supported.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/browser/xbStyle.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/fo/param.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/fo/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/fo/plain-titlepage.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/fo/plain-titlepage.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/fo/plain.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/css.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/default.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/frames.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/graphics.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/jscript.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/param.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/plain.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/slides-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/tables.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/vslides.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/w3c.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/htmlhelp/htmlhelp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/default.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/cmp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/date-time.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/example.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/markup.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/math.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/node.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/stdlib.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/string.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/svg.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/keynote/xsltsl/uri.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/svg/default.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/css.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/default.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/flat.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/frames.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/graphics.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/jscript.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/plain.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/slides-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/tables.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/vslides.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/xhtml/w3c.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/template/titlepage.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/template/titlepage.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/tests/refentry.007.ns.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/tests/refentry.007.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/tools/bin/docbook-xsl-update create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/tools/make/Makefile.DocBook create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/tools/make/Makefile.combine create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/tools/make/Makefile.docParam create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/LICENSE create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/css/positioning.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/jquery-1.4.2.min.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/jquery-ui-1.8.2.custom.min.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/jquery.cookie.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/treeview/jquery.treeview.async.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/treeview/jquery.treeview.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/treeview/jquery.treeview.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/jquery/treeview/jquery.treeview.pack.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/common/main.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch01.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch02.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch02s01.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch02s02.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch02s03.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch02s04.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch03.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch03s01.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/ch03s02.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/index.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileInfoList.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileList.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-1.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-2.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-3.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/nwSearchFnt.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/stemmers/en_stemmer.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/index.html create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docsrc/readme.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/css/positioning.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/jquery-1.4.2.min.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/jquery.cookie.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/treeview/jquery.treeview.async.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/treeview/jquery.treeview.css create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/treeview/jquery.treeview.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/treeview/jquery.treeview.min.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/jquery/treeview/jquery.treeview.pack.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/common/main.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/default.props create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/en-us.props create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/es-es.props create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/ja-jp.props create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/nwSearchFnt.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/punctuation.props create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/stemmers/de_stemmer.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/stemmers/en_stemmer.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/template/content/search/stemmers/fr_stemmer.js create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/xsl/webhelp.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/autolayout.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/chunk-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/chunk-tabular.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/chunk-website.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/head.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/makefile-dep.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/olink.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/param.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/rss.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/tabular.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/toc-tabular.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/toc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/website-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/website-targets.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/website.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/website/xbel.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/admon.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/annotations.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/autoidx-kimber.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/autoidx-kosek.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/autoidx-ng.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/autoidx.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/autotoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/biblio-iso690.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/biblio.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/block.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/callout.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/changebars.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/chunk-changebars.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/chunk-code.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/chunk-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/chunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/chunker.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/chunkfast.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/chunktoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/component.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/division.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/docbook.css.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/ebnf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/footnote.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/formal.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/glossary.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/graphics.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/highlight.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/html-rtf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/html.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/htmltbl.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/index.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/info.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/inline.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/keywords.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/lists.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/maketoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/manifest.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/math.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/oldchunker.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/onechunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/pi.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/profile-chunk-code.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/profile-chunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/profile-docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/profile-onechunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/qandaset.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/refentry.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/sections.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/synop.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/table.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/task.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/titlepage.templates.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/titlepage.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/toc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/verbatim.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml-1_1/xref.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/admon.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/annotations.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/autoidx-kimber.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/autoidx-kosek.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/autoidx-ng.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/autoidx.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/autotoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/biblio-iso690.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/biblio.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/block.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/callout.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/changebars.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/chunk-changebars.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/chunk-code.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/chunk-common.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/chunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/chunker.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/chunkfast.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/chunktoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/component.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/division.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/docbook.css.xml create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/ebnf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/footnote.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/formal.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/glossary.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/graphics.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/highlight.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/html-rtf.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/html.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/htmltbl.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/index.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/info.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/inline.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/keywords.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/lists.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/maketoc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/manifest.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/math.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/oldchunker.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/onechunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/param.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/pi.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/profile-chunk-code.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/profile-chunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/profile-docbook.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/profile-onechunk.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/qandaset.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/refentry.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/sections.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/synop.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/table.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/task.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/titlepage.templates.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/titlepage.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/toc.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/verbatim.xsl create mode 100644 src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/xhtml/xref.xsl create mode 100644 src/engine/SCons/Tool/docbook/docs/SConstruct create mode 100644 src/engine/SCons/Tool/docbook/docs/html.xsl create mode 100644 src/engine/SCons/Tool/docbook/docs/manual.xml create mode 100644 src/engine/SCons/Tool/docbook/docs/pdf.xsl create mode 100644 src/engine/SCons/Tool/docbook/utils/xmldepend.xsl diff --git a/LICENSE b/LICENSE index 69e5559..dab75df 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The SCons Foundation +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/QMTest/README.txt b/QMTest/README.txt new file mode 100644 index 0000000..18167cc --- /dev/null +++ b/QMTest/README.txt @@ -0,0 +1,58 @@ +This directory contains testing infrastructure. Note that not all of +the pieces here are local to SCons. + + README.txt + + What you're looking at right now. + + SConscript + + Configuration for our packaging build, to copy the necessary + parts of the infrastructure into a build directory. + + TestCmd.py + TestCmdTests.py + TestCommon.py + TestCommonTests.py + + The TestCmd infrastructure for testing external commands. + These are for generic command testing, are used by some + other projects, and are developed separately from SCons. + (They're developed by SK, but still...) + + We've captured the unit tests (Test*Tests.py) for these files + along with the actual modules themselves to make it a little + easier to hack on them for our purposes. Note, however, + that any SCons-specific functionality should be implemented + in one of the + + TestRuntest.py + + Test infrastructure for our runtest.py script. + + TestSCons.py + + Test infrastructure for SCons itself. + + TestSConsMSVS.py + + Test infrastructure for SCons' Visual Studio support. + + TestSCons_time.py + + Test infrastructure for the scons-time.py script. + + TestSConsign.py + + Test infrastructure for the sconsign.py script. + + classes.qmc + configuration + scons-tdb.py + + Pieces for the use of QMTest to test SCons. We're moving away + from this infrastructure, in no small part because we're not + really using it as originally envisioned. + +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +QMTest/README.txt 2014/03/02 14:18:15 garyo diff --git a/QMTest/SConscript b/QMTest/SConscript new file mode 100644 index 0000000..75f2770 --- /dev/null +++ b/QMTest/SConscript @@ -0,0 +1,64 @@ +# +# SConscript file for external packages we need. +# + +# +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# + +import os.path + +Import('build_dir', 'env') + +files = [ + 'classes.qmc', + 'configuration', + 'scons_tdb.py', + 'TestCmd.py', + 'TestCommon.py', + 'TestRuntest.py', + 'TestSCons.py', + 'TestSConsign.py', + 'TestSCons_time.py', +] + +def copy(target, source, env): + t = str(target[0]) + s = str(source[0]) + c = open(s, 'rb').read() + # Note: We construct the __ VERSION __ substitution string at + # run-time so it doesn't get replaced when this file gets copied + # into the tree for packaging. + c = c.replace('__' + 'VERSION' + '__', env['VERSION']) + open(t, 'wb').write(c) + +for file in files: + # Guarantee that real copies of these files always exist in + # build/QMTest. If there's a symlink there, then this is an Aegis + # build and we blow them away now so that they'll get "built" later. + p = os.path.join(build_dir, 'QMTest', file) + if os.path.islink(p): + os.unlink(p) + if not os.path.isabs(p): + p = '#' + p + env.Command(p, file, copy) + Local(p) diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py new file mode 100644 index 0000000..38e9cd3 --- /dev/null +++ b/QMTest/TestCmd.py @@ -0,0 +1,1726 @@ +""" +TestCmd.py: a testing framework for commands and scripts. + +The TestCmd module provides a framework for portable automated testing +of executable commands and scripts (in any language, not just Python), +especially commands and scripts that require file system interaction. + +In addition to running tests and evaluating conditions, the TestCmd +module manages and cleans up one or more temporary workspace +directories, and provides methods for creating files and directories in +those workspace directories from in-line data, here-documents), allowing +tests to be completely self-contained. + +A TestCmd environment object is created via the usual invocation: + + import TestCmd + test = TestCmd.TestCmd() + +There are a bunch of keyword arguments available at instantiation: + + test = TestCmd.TestCmd(description = 'string', + program = 'program_or_script_to_test', + interpreter = 'script_interpreter', + workdir = 'prefix', + subdir = 'subdir', + verbose = Boolean, + match = default_match_function, + match_stdout = default_match_stdout_function, + match_stderr = default_match_stderr_function, + diff = default_diff_stderr_function, + diff_stdout = default_diff_stdout_function, + diff_stderr = default_diff_stderr_function, + combine = Boolean) + +There are a bunch of methods that let you do different things: + + test.verbose_set(1) + + test.description_set('string') + + test.program_set('program_or_script_to_test') + + test.interpreter_set('script_interpreter') + test.interpreter_set(['script_interpreter', 'arg']) + + test.workdir_set('prefix') + test.workdir_set('') + + test.workpath('file') + test.workpath('subdir', 'file') + + test.subdir('subdir', ...) + + test.rmdir('subdir', ...) + + test.write('file', "contents\n") + test.write(['subdir', 'file'], "contents\n") + + test.read('file') + test.read(['subdir', 'file']) + test.read('file', mode) + test.read(['subdir', 'file'], mode) + + test.writable('dir', 1) + test.writable('dir', None) + + test.preserve(condition, ...) + + test.cleanup(condition) + + test.command_args(program = 'program_or_script_to_run', + interpreter = 'script_interpreter', + arguments = 'arguments to pass to program') + + test.run(program = 'program_or_script_to_run', + interpreter = 'script_interpreter', + arguments = 'arguments to pass to program', + chdir = 'directory_to_chdir_to', + stdin = 'input to feed to the program\n') + universal_newlines = True) + + p = test.start(program = 'program_or_script_to_run', + interpreter = 'script_interpreter', + arguments = 'arguments to pass to program', + universal_newlines = None) + + test.finish(self, p) + + test.pass_test() + test.pass_test(condition) + test.pass_test(condition, function) + + test.fail_test() + test.fail_test(condition) + test.fail_test(condition, function) + test.fail_test(condition, function, skip) + test.fail_test(condition, function, skip, message) + + test.no_result() + test.no_result(condition) + test.no_result(condition, function) + test.no_result(condition, function, skip) + + test.stdout() + test.stdout(run) + + test.stderr() + test.stderr(run) + + test.symlink(target, link) + + test.banner(string) + test.banner(string, width) + + test.diff(actual, expected) + + test.diff_stderr(actual, expected) + + test.diff_stdout(actual, expected) + + test.match(actual, expected) + + test.match_stderr(actual, expected) + + test.match_stdout(actual, expected) + + test.set_match_function(match, stdout, stderr) + + test.match_exact("actual 1\nactual 2\n", "expected 1\nexpected 2\n") + test.match_exact(["actual 1\n", "actual 2\n"], + ["expected 1\n", "expected 2\n"]) + test.match_caseinsensitive("Actual 1\nACTUAL 2\n", "expected 1\nEXPECTED 2\n") + + test.match_re("actual 1\nactual 2\n", regex_string) + test.match_re(["actual 1\n", "actual 2\n"], list_of_regexes) + + test.match_re_dotall("actual 1\nactual 2\n", regex_string) + test.match_re_dotall(["actual 1\n", "actual 2\n"], list_of_regexes) + + test.tempdir() + test.tempdir('temporary-directory') + + test.sleep() + test.sleep(seconds) + + test.where_is('foo') + test.where_is('foo', 'PATH1:PATH2') + test.where_is('foo', 'PATH1;PATH2', '.suffix3;.suffix4') + + test.unlink('file') + test.unlink('subdir', 'file') + +The TestCmd module provides pass_test(), fail_test(), and no_result() +unbound functions that report test results for use with the Aegis change +management system. These methods terminate the test immediately, +reporting PASSED, FAILED, or NO RESULT respectively, and exiting with +status 0 (success), 1 or 2 respectively. This allows for a distinction +between an actual failed test and a test that could not be properly +evaluated because of an external condition (such as a full file system +or incorrect permissions). + + import TestCmd + + TestCmd.pass_test() + TestCmd.pass_test(condition) + TestCmd.pass_test(condition, function) + + TestCmd.fail_test() + TestCmd.fail_test(condition) + TestCmd.fail_test(condition, function) + TestCmd.fail_test(condition, function, skip) + TestCmd.fail_test(condition, function, skip, message) + + TestCmd.no_result() + TestCmd.no_result(condition) + TestCmd.no_result(condition, function) + TestCmd.no_result(condition, function, skip) + +The TestCmd module also provides unbound global functions that handle +matching in the same way as the match_*() methods described above. + + import TestCmd + + test = TestCmd.TestCmd(match = TestCmd.match_exact) + + test = TestCmd.TestCmd(match = TestCmd.match_caseinsensitive) + + test = TestCmd.TestCmd(match = TestCmd.match_re) + + test = TestCmd.TestCmd(match = TestCmd.match_re_dotall) + +These functions are also available as static methods: + + import TestCmd + + test = TestCmd.TestCmd(match = TestCmd.TestCmd.match_exact) + + test = TestCmd.TestCmd(match = TestCmd.TestCmd.match_caseinsensitive) + + test = TestCmd.TestCmd(match = TestCmd.TestCmd.match_re) + + test = TestCmd.TestCmd(match = TestCmd.TestCmd.match_re_dotall) + +These static methods can be accessed by a string naming the method: + + import TestCmd + + test = TestCmd.TestCmd(match = 'match_exact') + + test = TestCmd.TestCmd(match = 'match_caseinsensitive') + + test = TestCmd.TestCmd(match = 'match_re') + + test = TestCmd.TestCmd(match = 'match_re_dotall') + +The TestCmd module provides unbound global functions that can be used +for the "diff" argument to TestCmd.TestCmd instantiation: + + import TestCmd + + test = TestCmd.TestCmd(match = TestCmd.match_re, + diff = TestCmd.diff_re) + + test = TestCmd.TestCmd(diff = TestCmd.simple_diff) + + test = TestCmd.TestCmd(diff = TestCmd.context_diff) + + test = TestCmd.TestCmd(diff = TestCmd.unified_diff) + +These functions are also available as static methods: + + import TestCmd + + test = TestCmd.TestCmd(match = TestCmd.TestCmd.match_re, + diff = TestCmd.TestCmd.diff_re) + + test = TestCmd.TestCmd(diff = TestCmd.TestCmd.simple_diff) + + test = TestCmd.TestCmd(diff = TestCmd.TestCmd.context_diff) + + test = TestCmd.TestCmd(diff = TestCmd.TestCmd.unified_diff) + +These static methods can be accessed by a string naming the method: + + import TestCmd + + test = TestCmd.TestCmd(match = 'match_re', diff = 'diff_re') + + test = TestCmd.TestCmd(diff = 'simple_diff') + + test = TestCmd.TestCmd(diff = 'context_diff') + + test = TestCmd.TestCmd(diff = 'unified_diff') + +The "diff" argument can also be used with standard difflib functions: + + import difflib + + test = TestCmd.TestCmd(diff = difflib.context_diff) + + test = TestCmd.TestCmd(diff = difflib.unified_diff) + +Lastly, the where_is() method also exists in an unbound function +version. + + import TestCmd + + TestCmd.where_is('foo') + TestCmd.where_is('foo', 'PATH1:PATH2') + TestCmd.where_is('foo', 'PATH1;PATH2', '.suffix3;.suffix4') +""" + +# Copyright 2000-2010 Steven Knight +# This module is free software, and you may redistribute it and/or modify +# it under the same terms as Python itself, so long as this copyright message +# and disclaimer are retained in their original form. +# +# IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +# SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF +# THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +# DAMAGE. +# +# THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +# PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, +# AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +from __future__ import division + +__author__ = "Steven Knight " +__revision__ = "TestCmd.py 1.3.D001 2010/06/03 12:58:27 knight" +__version__ = "1.3" + +import atexit +import difflib +import errno +import os +import re +import shutil +import signal +import stat +import sys +import tempfile +import threading +import time +import traceback +import types + +class null(object): + pass +_Null = null() + +try: + from collections import UserList, UserString +except ImportError: + # no 'collections' module or no UserFoo in collections + exec('from UserList import UserList') + exec('from UserString import UserString') + +try: + # pre-2.7 doesn't have the memoryview() built-in + memoryview +except NameError: + class memoryview: + def __init__(self, obj): + # wrapping buffer in () keeps the fixer from changing it + self.obj = (buffer)(obj) + def __getitem__(self, indx): + if isinstance(indx, slice): + return self.obj[indx.start:indx.stop] + else: + return self.obj[indx] + +__all__ = [ + 'diff_re', + 'fail_test', + 'no_result', + 'pass_test', + 'match_exact', + 'match_caseinsensitive', + 'match_re', + 'match_re_dotall', + 'python', + '_python_', + 'TestCmd' +] + +def is_List(e): + return isinstance(e, (list, UserList)) + +try: + eval('unicode') +except NameError: + def is_String(e): + return isinstance(e, (str, UserString)) +else: + def is_String(e): + return isinstance(e, (str, unicode, UserString)) + +tempfile.template = 'testcmd.' +if os.name in ('posix', 'nt'): + tempfile.template = 'testcmd.' + str(os.getpid()) + '.' +else: + tempfile.template = 'testcmd.' + +re_space = re.compile('\s') + +def _caller(tblist, skip): + string = "" + arr = [] + for file, line, name, text in tblist: + if file[-10:] == "TestCmd.py": + break + arr = [(file, line, name, text)] + arr + atfrom = "at" + for file, line, name, text in arr[skip:]: + if name in ("?", ""): + name = "" + else: + name = " (" + name + ")" + string = string + ("%s line %d of %s%s\n" % (atfrom, line, file, name)) + atfrom = "\tfrom" + return string + +def fail_test(self = None, condition = 1, function = None, skip = 0, message=None): + """Cause the test to fail. + + By default, the fail_test() method reports that the test FAILED + and exits with a status of 1. If a condition argument is supplied, + the test fails only if the condition is true. + """ + if not condition: + return + if not function is None: + function() + of = "" + desc = "" + sep = " " + if not self is None: + if self.program: + of = " of " + self.program + sep = "\n\t" + if self.description: + desc = " [" + self.description + "]" + sep = "\n\t" + + at = _caller(traceback.extract_stack(), skip) + if message: + msg = "\t%s\n"%message + else: + msg = "" + sys.stderr.write("FAILED test" + of + desc + sep + at + msg) + + sys.exit(1) + +def no_result(self = None, condition = 1, function = None, skip = 0): + """Causes a test to exit with no valid result. + + By default, the no_result() method reports NO RESULT for the test + and exits with a status of 2. If a condition argument is supplied, + the test fails only if the condition is true. + """ + if not condition: + return + if not function is None: + function() + of = "" + desc = "" + sep = " " + if not self is None: + if self.program: + of = " of " + self.program + sep = "\n\t" + if self.description: + desc = " [" + self.description + "]" + sep = "\n\t" + + at = _caller(traceback.extract_stack(), skip) + sys.stderr.write("NO RESULT for test" + of + desc + sep + at) + + sys.exit(2) + +def pass_test(self = None, condition = 1, function = None): + """Causes a test to pass. + + By default, the pass_test() method reports PASSED for the test + and exits with a status of 0. If a condition argument is supplied, + the test passes only if the condition is true. + """ + if not condition: + return + if not function is None: + function() + sys.stderr.write("PASSED\n") + sys.exit(0) + +def match_exact(lines = None, matches = None): + """ + """ + if not is_List(lines): + lines = lines.split("\n") + if not is_List(matches): + matches = matches.split("\n") + if len(lines) != len(matches): + return + for i in range(len(lines)): + if lines[i] != matches[i]: + return + return 1 + +def match_caseinsensitive(lines = None, matches = None): + """ + """ + if not is_List(lines): + lines = lines.split("\n") + if not is_List(matches): + matches = matches.split("\n") + if len(lines) != len(matches): + return + for i in range(len(lines)): + if lines[i].lower() != matches[i].lower(): + return + return 1 + +def match_re(lines = None, res = None): + """ + """ + if not is_List(lines): + lines = lines.split("\n") + if not is_List(res): + res = res.split("\n") + if len(lines) != len(res): + print "match_re: expected %d lines, found %d"%(len(res), len(lines)) + return + for i in range(len(lines)): + s = "^" + res[i] + "$" + try: + expr = re.compile(s) + except re.error, e: + msg = "Regular expression error in %s: %s" + raise re.error(msg % (repr(s), e.args[0])) + if not expr.search(lines[i]): + print "match_re: mismatch at line %d:\n search re='%s'\n line='%s'"%(i,s,lines[i]) + return + return 1 + +def match_re_dotall(lines = None, res = None): + """ + """ + if not isinstance(lines, str): + lines = "\n".join(lines) + if not isinstance(res, str): + res = "\n".join(res) + s = "^" + res + "$" + try: + expr = re.compile(s, re.DOTALL) + except re.error, e: + msg = "Regular expression error in %s: %s" + raise re.error(msg % (repr(s), e.args[0])) + return expr.match(lines) + +def simple_diff(a, b, fromfile='', tofile='', + fromfiledate='', tofiledate='', n=3, lineterm='\n'): + """ + A function with the same calling signature as difflib.context_diff + (diff -c) and difflib.unified_diff (diff -u) but which prints + output like the simple, unadorned 'diff" command. + """ + sm = difflib.SequenceMatcher(None, a, b) + def comma(x1, x2): + return x1+1 == x2 and str(x2) or '%s,%s' % (x1+1, x2) + result = [] + for op, a1, a2, b1, b2 in sm.get_opcodes(): + if op == 'delete': + result.append("%sd%d" % (comma(a1, a2), b1)) + result.extend([ '< ' + l for l in a[a1:a2] ]) + elif op == 'insert': + result.append("%da%s" % (a1, comma(b1, b2))) + result.extend([ '> ' + l for l in b[b1:b2] ]) + elif op == 'replace': + result.append("%sc%s" % (comma(a1, a2), comma(b1, b2))) + result.extend([ '< ' + l for l in a[a1:a2] ]) + result.append('---') + result.extend([ '> ' + l for l in b[b1:b2] ]) + return result + +def diff_re(a, b, fromfile='', tofile='', + fromfiledate='', tofiledate='', n=3, lineterm='\n'): + """ + A simple "diff" of two sets of lines when the expected lines + are regular expressions. This is a really dumb thing that + just compares each line in turn, so it doesn't look for + chunks of matching lines and the like--but at least it lets + you know exactly which line first didn't compare correctl... + """ + result = [] + diff = len(a) - len(b) + if diff < 0: + a = a + ['']*(-diff) + elif diff > 0: + b = b + ['']*diff + i = 0 + for aline, bline in zip(a, b): + s = "^" + aline + "$" + try: + expr = re.compile(s) + except re.error, e: + msg = "Regular expression error in %s: %s" + raise re.error(msg % (repr(s), e.args[0])) + if not expr.search(bline): + result.append("%sc%s" % (i+1, i+1)) + result.append('< ' + repr(a[i])) + result.append('---') + result.append('> ' + repr(b[i])) + i = i+1 + return result + +if os.name == 'posix': + def escape(arg): + "escape shell special characters" + slash = '\\' + special = '"$' + arg = arg.replace(slash, slash+slash) + for c in special: + arg = arg.replace(c, slash+c) + if re_space.search(arg): + arg = '"' + arg + '"' + return arg +else: + # Windows does not allow special characters in file names + # anyway, so no need for an escape function, we will just quote + # the arg. + def escape(arg): + if re_space.search(arg): + arg = '"' + arg + '"' + return arg + +if os.name == 'java': + python = os.path.join(sys.prefix, 'jython') +else: + python = os.environ.get('python_executable', sys.executable) +_python_ = escape(python) + +if sys.platform == 'win32': + + default_sleep_seconds = 2 + + def where_is(file, path=None, pathext=None): + if path is None: + path = os.environ['PATH'] + if is_String(path): + path = path.split(os.pathsep) + if pathext is None: + pathext = os.environ['PATHEXT'] + if is_String(pathext): + pathext = pathext.split(os.pathsep) + for ext in pathext: + if ext.lower() == file[-len(ext):].lower(): + pathext = [''] + break + for dir in path: + f = os.path.join(dir, file) + for ext in pathext: + fext = f + ext + if os.path.isfile(fext): + return fext + return None + +else: + + def where_is(file, path=None, pathext=None): + if path is None: + path = os.environ['PATH'] + if is_String(path): + path = path.split(os.pathsep) + for dir in path: + f = os.path.join(dir, file) + if os.path.isfile(f): + try: + st = os.stat(f) + except OSError: + continue + if stat.S_IMODE(st[stat.ST_MODE]) & 0111: + return f + return None + + default_sleep_seconds = 1 + + + +import subprocess + +try: + subprocess.Popen.terminate +except AttributeError: + if sys.platform == 'win32': + import win32process + def terminate(self): + win32process.TerminateProcess(self._handle, 1) + else: + def terminate(self): + os.kill(self.pid, signal.SIGTERM) + method = types.MethodType(terminate, None, subprocess.Popen) + setattr(subprocess.Popen, 'terminate', method) + + + +# From Josiah Carlson, +# ASPN : Python Cookbook : Module to allow Asynchronous subprocess use on Windows and Posix platforms +# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440554 + +PIPE = subprocess.PIPE + +if subprocess.mswindows: + from win32file import ReadFile, WriteFile + from win32pipe import PeekNamedPipe + import msvcrt +else: + import select + import fcntl + + try: fcntl.F_GETFL + except AttributeError: fcntl.F_GETFL = 3 + + try: fcntl.F_SETFL + except AttributeError: fcntl.F_SETFL = 4 + +class Popen(subprocess.Popen): + def recv(self, maxsize=None): + return self._recv('stdout', maxsize) + + def recv_err(self, maxsize=None): + return self._recv('stderr', maxsize) + + def send_recv(self, input='', maxsize=None): + return self.send(input), self.recv(maxsize), self.recv_err(maxsize) + + def get_conn_maxsize(self, which, maxsize): + if maxsize is None: + maxsize = 1024 + elif maxsize < 1: + maxsize = 1 + return getattr(self, which), maxsize + + def _close(self, which): + getattr(self, which).close() + setattr(self, which, None) + + if subprocess.mswindows: + def send(self, input): + if not self.stdin: + return None + + try: + x = msvcrt.get_osfhandle(self.stdin.fileno()) + (errCode, written) = WriteFile(x, input) + except ValueError: + return self._close('stdin') + except (subprocess.pywintypes.error, Exception), why: + if why.args[0] in (109, errno.ESHUTDOWN): + return self._close('stdin') + raise + + return written + + def _recv(self, which, maxsize): + conn, maxsize = self.get_conn_maxsize(which, maxsize) + if conn is None: + return None + + try: + x = msvcrt.get_osfhandle(conn.fileno()) + (read, nAvail, nMessage) = PeekNamedPipe(x, 0) + if maxsize < nAvail: + nAvail = maxsize + if nAvail > 0: + (errCode, read) = ReadFile(x, nAvail, None) + except ValueError: + return self._close(which) + except (subprocess.pywintypes.error, Exception), why: + if why.args[0] in (109, errno.ESHUTDOWN): + return self._close(which) + raise + + #if self.universal_newlines: + # read = self._translate_newlines(read) + return read + + else: + def send(self, input): + if not self.stdin: + return None + + if not select.select([], [self.stdin], [], 0)[1]: + return 0 + + try: + written = os.write(self.stdin.fileno(), input) + except OSError, why: + if why.args[0] == errno.EPIPE: #broken pipe + return self._close('stdin') + raise + + return written + + def _recv(self, which, maxsize): + conn, maxsize = self.get_conn_maxsize(which, maxsize) + if conn is None: + return None + + try: + flags = fcntl.fcntl(conn, fcntl.F_GETFL) + except TypeError: + flags = None + else: + if not conn.closed: + fcntl.fcntl(conn, fcntl.F_SETFL, flags| os.O_NONBLOCK) + + try: + if not select.select([conn], [], [], 0)[0]: + return '' + + r = conn.read(maxsize) + if not r: + return self._close(which) + + #if self.universal_newlines: + # r = self._translate_newlines(r) + return r + finally: + if not conn.closed and not flags is None: + fcntl.fcntl(conn, fcntl.F_SETFL, flags) + +disconnect_message = "Other end disconnected!" + +def recv_some(p, t=.1, e=1, tr=5, stderr=0): + if tr < 1: + tr = 1 + x = time.time()+t + y = [] + r = '' + pr = p.recv + if stderr: + pr = p.recv_err + while time.time() < x or r: + r = pr() + if r is None: + if e: + raise Exception(disconnect_message) + else: + break + elif r: + y.append(r) + else: + time.sleep(max((x-time.time())/tr, 0)) + return ''.join(y) + +def send_all(p, data): + while len(data): + sent = p.send(data) + if sent is None: + raise Exception(disconnect_message) + data = memoryview(data)[sent:] + +_Cleanup = [] + +def _clean(): + global _Cleanup + cleanlist = [ c for c in _Cleanup if c ] + del _Cleanup[:] + cleanlist.reverse() + for test in cleanlist: + test.cleanup() + +atexit.register(_clean) + + +class TestCmd(object): + """Class TestCmd + """ + + def __init__(self, description = None, + program = None, + interpreter = None, + workdir = None, + subdir = None, + verbose = None, + match = None, + match_stdout = None, + match_stderr = None, + diff = None, + diff_stdout = None, + diff_stderr = None, + combine = 0, + universal_newlines = 1, + timeout = None): + self.external = os.environ.get('SCONS_EXTERNAL_TEST', 0) + self._cwd = os.getcwd() + self.description_set(description) + self.program_set(program) + self.interpreter_set(interpreter) + if verbose is None: + try: + verbose = max( 0, int(os.environ.get('TESTCMD_VERBOSE', 0)) ) + except ValueError: + verbose = 0 + self.verbose_set(verbose) + self.combine = combine + self.universal_newlines = universal_newlines + self.process = None + self.set_timeout(timeout) + self.set_match_function(match, match_stdout, match_stderr) + self.set_diff_function(diff, diff_stdout, diff_stderr) + self._dirlist = [] + self._preserve = {'pass_test': 0, 'fail_test': 0, 'no_result': 0} + if 'PRESERVE' in os.environ and not os.environ['PRESERVE'] is '': + self._preserve['pass_test'] = os.environ['PRESERVE'] + self._preserve['fail_test'] = os.environ['PRESERVE'] + self._preserve['no_result'] = os.environ['PRESERVE'] + else: + try: + self._preserve['pass_test'] = os.environ['PRESERVE_PASS'] + except KeyError: + pass + try: + self._preserve['fail_test'] = os.environ['PRESERVE_FAIL'] + except KeyError: + pass + try: + self._preserve['no_result'] = os.environ['PRESERVE_NO_RESULT'] + except KeyError: + pass + self._stdout = [] + self._stderr = [] + self.status = None + self.condition = 'no_result' + self.workdir_set(workdir) + self.subdir(subdir) + self.script_srcdir = None + + def __del__(self): + self.cleanup() + + def __repr__(self): + return "%x" % id(self) + + banner_char = '=' + banner_width = 80 + + def banner(self, s, width=None): + if width is None: + width = self.banner_width + return s + self.banner_char * (width - len(s)) + + escape = staticmethod(escape) + + def canonicalize(self, path): + if is_List(path): + path = os.path.join(*tuple(path)) + if not os.path.isabs(path): + path = os.path.join(self.workdir, path) + return path + + def chmod(self, path, mode): + """Changes permissions on the specified file or directory + path name.""" + path = self.canonicalize(path) + os.chmod(path, mode) + + def cleanup(self, condition = None): + """Removes any temporary working directories for the specified + TestCmd environment. If the environment variable PRESERVE was + set when the TestCmd environment was created, temporary working + directories are not removed. If any of the environment variables + PRESERVE_PASS, PRESERVE_FAIL, or PRESERVE_NO_RESULT were set + when the TestCmd environment was created, then temporary working + directories are not removed if the test passed, failed, or had + no result, respectively. Temporary working directories are also + preserved for conditions specified via the preserve method. + + Typically, this method is not called directly, but is used when + the script exits to clean up temporary working directories as + appropriate for the exit status. + """ + if not self._dirlist: + return + os.chdir(self._cwd) + self.workdir = None + if condition is None: + condition = self.condition + if self._preserve[condition]: + for dir in self._dirlist: + print unicode("Preserved directory " + dir + "\n"), + else: + list = self._dirlist[:] + list.reverse() + for dir in list: + self.writable(dir, 1) + shutil.rmtree(dir, ignore_errors = 1) + self._dirlist = [] + + global _Cleanup + if self in _Cleanup: + _Cleanup.remove(self) + + def command_args(self, program = None, + interpreter = None, + arguments = None): + if not self.external: + if program: + if isinstance(program, str) and not os.path.isabs(program): + program = os.path.join(self._cwd, program) + else: + program = self.program + if not interpreter: + interpreter = self.interpreter + else: + if not program: + program = self.program + if not interpreter: + interpreter = self.interpreter + if not isinstance(program, (list, tuple)): + program = [program] + cmd = list(program) + if interpreter: + if not isinstance(interpreter, (list, tuple)): + interpreter = [interpreter] + cmd = list(interpreter) + cmd + if arguments: + if isinstance(arguments, str): + arguments = arguments.split() + cmd.extend(arguments) + return cmd + + def description_set(self, description): + """Set the description of the functionality being tested. + """ + self.description = description + + def set_diff_function(self, diff=_Null, stdout=_Null, stderr=_Null): + """Sets the specified diff functions. + """ + if diff is not _Null: + self._diff_function = diff + if stdout is not _Null: + self._diff_stdout_function = stdout + if stderr is not _Null: + self._diff_stderr_function = stderr + + def diff(self, a, b, name=None, diff_function=None, *args, **kw): + if diff_function is None: + try: + diff_function = getattr(self, self._diff_function) + except TypeError: + diff_function = self._diff_function + if diff_function is None: + diff_function = self.simple_diff + if name is not None: + print self.banner(name) + args = (a.splitlines(), b.splitlines()) + args + for line in diff_function(*args, **kw): + print line + + def diff_stderr(self, a, b, *args, **kw): + """Compare actual and expected file contents. + """ + try: + diff_stderr_function = getattr(self, self._diff_stderr_function) + except TypeError: + diff_stderr_function = self._diff_stderr_function + return self.diff(a, b, diff_function=diff_stderr_function, *args, **kw) + + def diff_stdout(self, a, b, *args, **kw): + """Compare actual and expected file contents. + """ + try: + diff_stdout_function = getattr(self, self._diff_stdout_function) + except TypeError: + diff_stdout_function = self._diff_stdout_function + return self.diff(a, b, diff_function=diff_stdout_function, *args, **kw) + + simple_diff = staticmethod(simple_diff) + + diff_re = staticmethod(diff_re) + + context_diff = staticmethod(difflib.context_diff) + + unified_diff = staticmethod(difflib.unified_diff) + + def fail_test(self, condition = 1, function = None, skip = 0, message = None): + """Cause the test to fail. + """ + if not condition: + return + self.condition = 'fail_test' + fail_test(self = self, + condition = condition, + function = function, + skip = skip, + message = message) + + def interpreter_set(self, interpreter): + """Set the program to be used to interpret the program + under test as a script. + """ + self.interpreter = interpreter + + def set_match_function(self, match=_Null, stdout=_Null, stderr=_Null): + """Sets the specified match functions. + """ + if match is not _Null: + self._match_function = match + if stdout is not _Null: + self._match_stdout_function = stdout + if stderr is not _Null: + self._match_stderr_function = stderr + + def match(self, lines, matches): + """Compare actual and expected file contents. + """ + try: + match_function = getattr(self, self._match_function) + except TypeError: + match_function = self._match_function + if match_function is None: + # Default is regular expression matches. + match_function = self.match_re + return match_function(lines, matches) + + def match_stderr(self, lines, matches): + """Compare actual and expected file contents. + """ + try: + match_stderr_function = getattr(self, self._match_stderr_function) + except TypeError: + match_stderr_function = self._match_stderr_function + if match_stderr_function is None: + # Default is to use whatever match= is set to. + match_stderr_function = self.match + return match_stderr_function(lines, matches) + + def match_stdout(self, lines, matches): + """Compare actual and expected file contents. + """ + try: + match_stdout_function = getattr(self, self._match_stdout_function) + except TypeError: + match_stdout_function = self._match_stdout_function + if match_stdout_function is None: + # Default is to use whatever match= is set to. + match_stdout_function = self.match + return match_stdout_function(lines, matches) + + match_exact = staticmethod(match_exact) + + match_caseinsensitive = staticmethod(match_caseinsensitive) + + match_re = staticmethod(match_re) + + match_re_dotall = staticmethod(match_re_dotall) + + def no_result(self, condition = 1, function = None, skip = 0): + """Report that the test could not be run. + """ + if not condition: + return + self.condition = 'no_result' + no_result(self = self, + condition = condition, + function = function, + skip = skip) + + def pass_test(self, condition = 1, function = None): + """Cause the test to pass. + """ + if not condition: + return + self.condition = 'pass_test' + pass_test(self = self, condition = condition, function = function) + + def preserve(self, *conditions): + """Arrange for the temporary working directories for the + specified TestCmd environment to be preserved for one or more + conditions. If no conditions are specified, arranges for + the temporary working directories to be preserved for all + conditions. + """ + if conditions is (): + conditions = ('pass_test', 'fail_test', 'no_result') + for cond in conditions: + self._preserve[cond] = 1 + + def program_set(self, program): + """Set the executable program or script to be tested. + """ + if not self.external: + if program and not os.path.isabs(program): + program = os.path.join(self._cwd, program) + self.program = program + + def read(self, file, mode = 'rb'): + """Reads and returns the contents of the specified file name. + The file name may be a list, in which case the elements are + concatenated with the os.path.join() method. The file is + assumed to be under the temporary working directory unless it + is an absolute path name. The I/O mode for the file may + be specified; it must begin with an 'r'. The default is + 'rb' (binary read). + """ + file = self.canonicalize(file) + if mode[0] != 'r': + raise ValueError("mode must begin with 'r'") + return open(file, mode).read() + + def rmdir(self, dir): + """Removes the specified dir name. + The dir name may be a list, in which case the elements are + concatenated with the os.path.join() method. The dir is + assumed to be under the temporary working directory unless it + is an absolute path name. + The dir must be empty. + """ + dir = self.canonicalize(dir) + os.rmdir(dir) + + def _timeout(self): + self.process.terminate() + self.timer.cancel() + self.timer = None + + def set_timeout(self, timeout): + self.timeout = timeout + self.timer = None + + def parse_path(self, path, suppress_current=False): + """Return a list with the single path components of path. + """ + head, tail = os.path.split(path) + result = [] + if not tail: + if head == path: + return [head] + else: + result.append(tail) + head, tail = os.path.split(head) + while head and tail: + result.append(tail) + head, tail = os.path.split(head) + result.append(head or tail) + result.reverse() + + return result + + def dir_fixture(self, srcdir, dstdir=None): + """Copies the contents of the specified folder srcdir from + the directory of the called script, to the current + working directory. + The srcdir name may be a list, in which case the elements are + concatenated with the os.path.join() method. The dstdir is + assumed to be under the temporary working directory, it gets + created automatically, if it does not already exist. + """ + if srcdir and self.script_srcdir and not os.path.isabs(srcdir): + spath = os.path.join(self.script_srcdir, srcdir) + else: + spath = srcdir + if dstdir: + dstdir = self.canonicalize(dstdir) + else: + dstdir = '.' + + if dstdir != '.' and not os.path.exists(dstdir): + dstlist = self.parse_path(dstdir) + if len(dstlist) > 0 and dstlist[0] == ".": + dstlist = dstlist[1:] + for idx in range(len(dstlist)): + self.subdir(dstlist[:idx+1]) + + if dstdir and self.workdir: + dstdir = os.path.join(self.workdir, dstdir) + + for entry in os.listdir(spath): + epath = os.path.join(spath, entry) + dpath = os.path.join(dstdir, entry) + if os.path.isdir(epath): + # Copy the subfolder + shutil.copytree(epath, dpath) + else: + shutil.copy(epath, dpath) + + def file_fixture(self, srcfile, dstfile=None): + """Copies the file srcfile from the directory of + the called script, to the current working directory. + The dstfile is assumed to be under the temporary working + directory unless it is an absolute path name. + If dstfile is specified its target directory gets created + automatically, if it does not already exist. + """ + srcpath, srctail = os.path.split(srcfile) + if srcpath: + if self.script_srcdir and not os.path.isabs(srcpath): + spath = os.path.join(self.script_srcdir, srcfile) + else: + spath = srcfile + else: + spath = os.path.join(self.script_srcdir, srcfile) + if not dstfile: + if srctail: + dpath = os.path.join(self.workdir, srctail) + else: + return + else: + dstpath, dsttail = os.path.split(dstfile) + if dstpath: + if not os.path.exists(os.path.join(self.workdir, dstpath)): + dstlist = self.parse_path(dstpath) + if len(dstlist) > 0 and dstlist[0] == ".": + dstlist = dstlist[1:] + for idx in range(len(dstlist)): + self.subdir(dstlist[:idx+1]) + + dpath = os.path.join(self.workdir, dstfile) + shutil.copy(spath, dpath) + + def start(self, program = None, + interpreter = None, + arguments = None, + universal_newlines = None, + timeout = _Null, + **kw): + """ + Starts a program or script for the test environment. + + The specified program will have the original directory + prepended unless it is enclosed in a [list]. + """ + cmd = self.command_args(program, interpreter, arguments) + if self.verbose: + cmd_string = ' '.join([ self.escape(c) for c in cmd ]) + sys.stderr.write(cmd_string + "\n") + if universal_newlines is None: + universal_newlines = self.universal_newlines + + # On Windows, if we make stdin a pipe when we plan to send + # no input, and the test program exits before + # Popen calls msvcrt.open_osfhandle, that call will fail. + # So don't use a pipe for stdin if we don't need one. + stdin = kw.get('stdin', None) + if stdin is not None: + stdin = subprocess.PIPE + + combine = kw.get('combine', self.combine) + if combine: + stderr_value = subprocess.STDOUT + else: + stderr_value = subprocess.PIPE + + if timeout is _Null: + timeout = self.timeout + if timeout: + self.timer = threading.Timer(float(timeout), self._timeout) + self.timer.start() + p = Popen(cmd, + stdin=stdin, + stdout=subprocess.PIPE, + stderr=stderr_value, + universal_newlines=universal_newlines) + self.process = p + return p + + def finish(self, popen=None, **kw): + """ + Finishes and waits for the process being run under control of + the specified popen argument, recording the exit status, + standard output and error output. + """ + if popen is None: + popen = self.process + stdout, stderr = popen.communicate() + if self.timer: + self.timer.cancel() + self.timer = None + self.status = popen.returncode + self.process = None + self._stdout.append(stdout or '') + self._stderr.append(stderr or '') + + def run(self, program = None, + interpreter = None, + arguments = None, + chdir = None, + stdin = None, + universal_newlines = None, + timeout = _Null): + """Runs a test of the program or script for the test + environment. Standard output and error output are saved for + future retrieval via the stdout() and stderr() methods. + + The specified program will have the original directory + prepended unless it is enclosed in a [list]. + """ + if self.external: + if not program: + program = self.program + if not interpreter: + interpreter = self.interpreter + + if chdir: + oldcwd = os.getcwd() + if not os.path.isabs(chdir): + chdir = os.path.join(self.workpath(chdir)) + if self.verbose: + sys.stderr.write("chdir(" + chdir + ")\n") + os.chdir(chdir) + p = self.start(program = program, + interpreter = interpreter, + arguments = arguments, + universal_newlines = universal_newlines, + timeout = timeout, + stdin = stdin) + if is_List(stdin): + stdin = ''.join(stdin) + # TODO(sgk): figure out how to re-use the logic in the .finish() + # method above. Just calling it from here causes problems with + # subclasses that redefine .finish(). We could abstract this + # into Yet Another common method called both here and by .finish(), + # but that seems ill-thought-out. + stdout, stderr = p.communicate(input=stdin) + if self.timer: + self.timer.cancel() + self.timer = None + self.status = p.returncode + self.process = None + self._stdout.append(stdout or '') + self._stderr.append(stderr or '') + + if chdir: + os.chdir(oldcwd) + if self.verbose >= 2: + write = sys.stdout.write + write('============ STATUS: %d\n' % self.status) + out = self.stdout() + if out or self.verbose >= 3: + write('============ BEGIN STDOUT (len=%d):\n' % len(out)) + write(out) + write('============ END STDOUT\n') + err = self.stderr() + if err or self.verbose >= 3: + write('============ BEGIN STDERR (len=%d)\n' % len(err)) + write(err) + write('============ END STDERR\n') + + def sleep(self, seconds = default_sleep_seconds): + """Sleeps at least the specified number of seconds. If no + number is specified, sleeps at least the minimum number of + seconds necessary to advance file time stamps on the current + system. Sleeping more seconds is all right. + """ + time.sleep(seconds) + + def stderr(self, run = None): + """Returns the error output from the specified run number. + If there is no specified run number, then returns the error + output of the last run. If the run number is less than zero, + then returns the error output from that many runs back from the + current run. + """ + if not run: + run = len(self._stderr) + elif run < 0: + run = len(self._stderr) + run + run = run - 1 + return self._stderr[run] + + def stdout(self, run = None): + """Returns the standard output from the specified run number. + If there is no specified run number, then returns the standard + output of the last run. If the run number is less than zero, + then returns the standard output from that many runs back from + the current run. + """ + if not run: + run = len(self._stdout) + elif run < 0: + run = len(self._stdout) + run + run = run - 1 + return self._stdout[run] + + def subdir(self, *subdirs): + """Create new subdirectories under the temporary working + directory, one for each argument. An argument may be a list, + in which case the list elements are concatenated using the + os.path.join() method. Subdirectories multiple levels deep + must be created using a separate argument for each level: + + test.subdir('sub', ['sub', 'dir'], ['sub', 'dir', 'ectory']) + + Returns the number of subdirectories actually created. + """ + count = 0 + for sub in subdirs: + if sub is None: + continue + if is_List(sub): + sub = os.path.join(*tuple(sub)) + new = os.path.join(self.workdir, sub) + try: + os.mkdir(new) + except OSError: + pass + else: + count = count + 1 + return count + + def symlink(self, target, link): + """Creates a symlink to the specified target. + The link name may be a list, in which case the elements are + concatenated with the os.path.join() method. The link is + assumed to be under the temporary working directory unless it + is an absolute path name. The target is *not* assumed to be + under the temporary working directory. + """ + link = self.canonicalize(link) + try: + os.symlink(target, link) + except AttributeError: + pass # Windows has no symlink + + def tempdir(self, path=None): + """Creates a temporary directory. + A unique directory name is generated if no path name is specified. + The directory is created, and will be removed when the TestCmd + object is destroyed. + """ + if path is None: + try: + path = tempfile.mktemp(prefix=tempfile.template) + except TypeError: + path = tempfile.mktemp() + os.mkdir(path) + + # Symlinks in the path will report things + # differently from os.getcwd(), so chdir there + # and back to fetch the canonical path. + cwd = os.getcwd() + try: + os.chdir(path) + path = os.getcwd() + finally: + os.chdir(cwd) + + # Uppercase the drive letter since the case of drive + # letters is pretty much random on win32: + drive,rest = os.path.splitdrive(path) + if drive: + path = drive.upper() + rest + + # + self._dirlist.append(path) + + global _Cleanup + if self not in _Cleanup: + _Cleanup.append(self) + + return path + + def touch(self, path, mtime=None): + """Updates the modification time on the specified file or + directory path name. The default is to update to the + current time if no explicit modification time is specified. + """ + path = self.canonicalize(path) + atime = os.path.getatime(path) + if mtime is None: + mtime = time.time() + os.utime(path, (atime, mtime)) + + def unlink(self, file): + """Unlinks the specified file name. + The file name may be a list, in which case the elements are + concatenated with the os.path.join() method. The file is + assumed to be under the temporary working directory unless it + is an absolute path name. + """ + file = self.canonicalize(file) + os.unlink(file) + + def verbose_set(self, verbose): + """Set the verbose level. + """ + self.verbose = verbose + + def where_is(self, file, path=None, pathext=None): + """Find an executable file. + """ + if is_List(file): + file = os.path.join(*tuple(file)) + if not os.path.isabs(file): + file = where_is(file, path, pathext) + return file + + def workdir_set(self, path): + """Creates a temporary working directory with the specified + path name. If the path is a null string (''), a unique + directory name is created. + """ + if (path != None): + if path == '': + path = None + path = self.tempdir(path) + self.workdir = path + + def workpath(self, *args): + """Returns the absolute path name to a subdirectory or file + within the current temporary working directory. Concatenates + the temporary working directory name with the specified + arguments using the os.path.join() method. + """ + return os.path.join(self.workdir, *tuple(args)) + + def readable(self, top, read=1): + """Make the specified directory tree readable (read == 1) + or not (read == None). + + This method has no effect on Windows systems, which use a + completely different mechanism to control file readability. + """ + + if sys.platform == 'win32': + return + + if read: + def do_chmod(fname): + try: st = os.stat(fname) + except OSError: pass + else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]|stat.S_IREAD)) + else: + def do_chmod(fname): + try: st = os.stat(fname) + except OSError: pass + else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]&~stat.S_IREAD)) + + if os.path.isfile(top): + # If it's a file, that's easy, just chmod it. + do_chmod(top) + elif read: + # It's a directory and we're trying to turn on read + # permission, so it's also pretty easy, just chmod the + # directory and then chmod every entry on our walk down the + # tree. + do_chmod(top) + for dirpath, dirnames, filenames in os.walk(top): + for name in dirnames + filenames: + do_chmod(os.path.join(dirpath, name)) + else: + # It's a directory and we're trying to turn off read + # permission, which means we have to chmod the directories + # in the tree bottom-up, lest disabling read permission from + # the top down get in the way of being able to get at lower + # parts of the tree. + for dirpath, dirnames, filenames in os.walk(top, topdown=0): + for name in dirnames + filenames: + do_chmod(os.path.join(dirpath, name)) + do_chmod(top) + + def writable(self, top, write=1): + """Make the specified directory tree writable (write == 1) + or not (write == None). + """ + + if sys.platform == 'win32': + + if write: + def do_chmod(fname): + try: os.chmod(fname, stat.S_IWRITE) + except OSError: pass + else: + def do_chmod(fname): + try: os.chmod(fname, stat.S_IREAD) + except OSError: pass + + else: + + if write: + def do_chmod(fname): + try: st = os.stat(fname) + except OSError: pass + else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]|0200)) + else: + def do_chmod(fname): + try: st = os.stat(fname) + except OSError: pass + else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]&~0200)) + + if os.path.isfile(top): + do_chmod(top) + else: + do_chmod(top) + for dirpath, dirnames, filenames in os.walk(top, topdown=0): + for name in dirnames + filenames: + do_chmod(os.path.join(dirpath, name)) + + def executable(self, top, execute=1): + """Make the specified directory tree executable (execute == 1) + or not (execute == None). + + This method has no effect on Windows systems, which use a + completely different mechanism to control file executability. + """ + + if sys.platform == 'win32': + return + + if execute: + def do_chmod(fname): + try: st = os.stat(fname) + except OSError: pass + else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]|stat.S_IEXEC)) + else: + def do_chmod(fname): + try: st = os.stat(fname) + except OSError: pass + else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]&~stat.S_IEXEC)) + + if os.path.isfile(top): + # If it's a file, that's easy, just chmod it. + do_chmod(top) + elif execute: + # It's a directory and we're trying to turn on execute + # permission, so it's also pretty easy, just chmod the + # directory and then chmod every entry on our walk down the + # tree. + do_chmod(top) + for dirpath, dirnames, filenames in os.walk(top): + for name in dirnames + filenames: + do_chmod(os.path.join(dirpath, name)) + else: + # It's a directory and we're trying to turn off execute + # permission, which means we have to chmod the directories + # in the tree bottom-up, lest disabling execute permission from + # the top down get in the way of being able to get at lower + # parts of the tree. + for dirpath, dirnames, filenames in os.walk(top, topdown=0): + for name in dirnames + filenames: + do_chmod(os.path.join(dirpath, name)) + do_chmod(top) + + def write(self, file, content, mode = 'wb'): + """Writes the specified content text (second argument) to the + specified file name (first argument). The file name may be + a list, in which case the elements are concatenated with the + os.path.join() method. The file is created under the temporary + working directory. Any subdirectories in the path must already + exist. The I/O mode for the file may be specified; it must + begin with a 'w'. The default is 'wb' (binary write). + """ + file = self.canonicalize(file) + if mode[0] != 'w': + raise ValueError("mode must begin with 'w'") + open(file, mode).write(content) + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestCmdTests.py b/QMTest/TestCmdTests.py new file mode 100644 index 0000000..1044ed1 --- /dev/null +++ b/QMTest/TestCmdTests.py @@ -0,0 +1,3409 @@ +#!/usr/bin/env python +""" +TestCmdTests.py: Unit tests for the TestCmd.py module. + +Copyright 2000-2010 Steven Knight +This module is free software, and you may redistribute it and/or modify +it under the same terms as Python itself, so long as this copyright message +and disclaimer are retained in their original form. + +IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF +THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, +AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +""" + +__author__ = "Steven Knight " +__revision__ = "TestCmdTests.py 1.3.D001 2010/06/03 12:58:27 knight" + +import os +import shutil +import signal +import stat +import StringIO +import sys +import tempfile +import time +import types +import unittest +import UserList + +# Strip the current directory so we get the right TestCmd.py module. +sys.path = sys.path[1:] + +import TestCmd + +def _is_readable(path): + # XXX this doesn't take into account UID, it assumes it's our file + return os.stat(path)[stat.ST_MODE] & stat.S_IREAD + +def _is_writable(path): + # XXX this doesn't take into account UID, it assumes it's our file + return os.stat(path)[stat.ST_MODE] & stat.S_IWRITE + +def _is_executable(path): + # XXX this doesn't take into account UID, it assumes it's our file + return os.stat(path)[stat.ST_MODE] & stat.S_IEXEC + +def _clear_dict(dict, *keys): + for key in keys: + try: + dict[key] = '' # del dict[key] + except KeyError: + pass + +import subprocess + +try: + subprocess.Popen.terminate +except AttributeError: + if sys.platform == 'win32': + import win32process + def terminate(self): + win32process.TerminateProcess(self._handle, 1) + else: + def terminate(self): + os.kill(self.pid, signal.SIGTERM) + method = types.MethodType(terminate, None, subprocess.Popen) + setattr(subprocess.Popen, 'terminate', method) + +class ExitError(Exception): + pass + +class TestCmdTestCase(unittest.TestCase): + """Base class for TestCmd test cases, with fixture and utility methods.""" + + def setUp(self): + self.orig_cwd = os.getcwd() + + def tearDown(self): + os.chdir(self.orig_cwd) + + def setup_run_scripts(self): + class T: + pass + + t = T() + + t.script = 'script' + t.scriptx = 'scriptx.bat' + t.script1 = 'script_1.txt' + t.scriptout = 'scriptout' + t.scripterr = 'scripterr' + fmt = "import os, sys; cwd = os.getcwd(); " + \ + "sys.stdout.write('%s: STDOUT: %%s: %%s\\n' %% (cwd, sys.argv[1:])); " + \ + "sys.stderr.write('%s: STDERR: %%s: %%s\\n' %% (cwd, sys.argv[1:]))" + fmtout = "import os, sys; cwd = os.getcwd(); " + \ + "sys.stdout.write('%s: STDOUT: %%s: %%s\\n' %% (cwd, sys.argv[1:]))" + fmterr = "import os, sys; cwd = os.getcwd(); " + \ + "sys.stderr.write('%s: STDERR: %%s: %%s\\n' %% (cwd, sys.argv[1:]))" + text = fmt % (t.script, t.script) + textx = fmt % (t.scriptx, t.scriptx) + if sys.platform == 'win32': + textx = textx.replace('%', '%%') + textx = '@python -c "%s"' % textx + ' %1 %2 %3 %4 %5 %6 %7 %8 %9\n' + else: + textx = '#! /usr/bin/env python\n' + textx + '\n' + text1 = 'A first line to be ignored!\n' + fmt % (t.script1, t.script1) + textout = fmtout % (t.scriptout) + texterr = fmterr % (t.scripterr) + + run_env = TestCmd.TestCmd(workdir = '') + run_env.subdir('sub dir') + t.run_env = run_env + + t.sub_dir = run_env.workpath('sub dir') + t.script_path = run_env.workpath('sub dir', t.script) + t.scriptx_path = run_env.workpath('sub dir', t.scriptx) + t.script1_path = run_env.workpath('sub dir', t.script1) + t.scriptout_path = run_env.workpath('sub dir', t.scriptout) + t.scripterr_path = run_env.workpath('sub dir', t.scripterr) + + run_env.write(t.script_path, text) + run_env.write(t.scriptx_path, textx) + run_env.write(t.script1_path, text1) + run_env.write(t.scriptout_path, textout) + run_env.write(t.scripterr_path, texterr) + + os.chmod(t.script_path, 0644) # XXX UNIX-specific + os.chmod(t.scriptx_path, 0755) # XXX UNIX-specific + os.chmod(t.script1_path, 0644) # XXX UNIX-specific + os.chmod(t.scriptout_path, 0644) # XXX UNIX-specific + os.chmod(t.scripterr_path, 0644) # XXX UNIX-specific + + t.orig_cwd = os.getcwd() + + t.workdir = run_env.workpath('sub dir') + os.chdir(t.workdir) + + return t + + def translate_newlines(self, data): + data = data.replace("\r\n", "\n") + return data + + def call_python(self, input, python=None): + if python is None: + python = sys.executable + p = subprocess.Popen(python, + stdin=subprocess.PIPE, + stderr=subprocess.PIPE, + stdout=subprocess.PIPE) + stdout, stderr = p.communicate(input) + stdout = self.translate_newlines(stdout) + stderr = self.translate_newlines(stderr) + return stdout, stderr, p.returncode + + def popen_python(self, input, status=0, stdout="", stderr="", python=None): + if python is None: + python = sys.executable + _stdout, _stderr, _status = self.call_python(input, python) + _stdout = self.translate_newlines(_stdout) + _stderr = self.translate_newlines(_stderr) + assert _status == status, \ + "status = %s, expected %s\n" % (str(_status), str(status)) + \ + "STDOUT ===================\n" + _stdout + \ + "STDERR ===================\n" + _stderr + assert _stdout == stdout, \ + "Expected STDOUT ==========\n" + stdout + \ + "Actual STDOUT ============\n" + _stdout + \ + "STDERR ===================\n" + _stderr + assert _stderr == stderr, \ + "Expected STDERR ==========\n" + stderr + \ + "Actual STDERR ============\n" + _stderr + + def run_match(self, content, *args): + expect = "%s: %s: %s: %s\n" % args + content = self.translate_newlines(content) + assert content == expect, \ + "Expected %s ==========\n" % args[1] + expect + \ + "Actual %s ============\n" % args[1] + content + + + +class __init__TestCase(TestCmdTestCase): + def test_init(self): + """Test init()""" + test = TestCmd.TestCmd() + test = TestCmd.TestCmd(description = 'test') + test = TestCmd.TestCmd(description = 'test', program = 'foo') + test = TestCmd.TestCmd(description = 'test', + program = 'foo', + universal_newlines=None) + + + +class basename_TestCase(TestCmdTestCase): + def test_basename(self): + """Test basename() [XXX TO BE WRITTEN]""" + assert 1 == 1 + + + +class cleanup_TestCase(TestCmdTestCase): + def test_cleanup(self): + """Test cleanup()""" + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + test.write('file1', "Test file #1\n") + test.cleanup() + assert not os.path.exists(wdir) + + def test_writable(self): + """Test cleanup() when the directory isn't writable""" + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + test.write('file2', "Test file #2\n") + os.chmod(test.workpath('file2'), 0400) + os.chmod(wdir, 0500) + test.cleanup() + assert not os.path.exists(wdir) + + def test_shutil(self): + """Test cleanup() when used with shutil""" + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + os.chdir(wdir) + + import shutil + save_rmtree = shutil.rmtree + def my_rmtree(dir, ignore_errors=0, wdir=wdir, _rmtree=save_rmtree): + assert os.getcwd() != wdir + return _rmtree(dir, ignore_errors=ignore_errors) + try: + shutil.rmtree = my_rmtree + test.cleanup() + finally: + shutil.rmtree = save_rmtree + + def test_atexit(self): + """Test cleanup() when atexit is used""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import atexit +def my_exitfunc(): + print "my_exitfunc()" +atexit.register(my_exitfunc) +import TestCmd +result = TestCmd.TestCmd(workdir = '') +sys.exit(0) +""" % self.orig_cwd, stdout='my_exitfunc()\n') + + def test_exitfunc(self): + """Test cleanup() when sys.exitfunc is set""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +def my_exitfunc(): + print "my_exitfunc()" +sys.exitfunc = my_exitfunc +import TestCmd +result = TestCmd.TestCmd(workdir = '') +sys.exit(0) +""" % self.orig_cwd, stdout='my_exitfunc()\n') + + + +class chmod_TestCase(TestCmdTestCase): + def test_chmod(self): + """Test chmod()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'sub') + + wdir_file1 = os.path.join(test.workdir, 'file1') + wdir_sub_file2 = os.path.join(test.workdir, 'sub', 'file2') + + open(wdir_file1, 'w').write("") + open(wdir_sub_file2, 'w').write("") + + if sys.platform == 'win32': + + test.chmod(wdir_file1, stat.S_IREAD) + test.chmod(['sub', 'file2'], stat.S_IWRITE) + + file1_mode = stat.S_IMODE(os.stat(wdir_file1)[stat.ST_MODE]) + assert file1_mode == 0444, '0%o' % file1_mode + file2_mode = stat.S_IMODE(os.stat(wdir_sub_file2)[stat.ST_MODE]) + assert file2_mode == 0666, '0%o' % file2_mode + + test.chmod('file1', stat.S_IWRITE) + test.chmod(wdir_sub_file2, stat.S_IREAD) + + file1_mode = stat.S_IMODE(os.stat(wdir_file1)[stat.ST_MODE]) + assert file1_mode == 0666, '0%o' % file1_mode + file2_mode = stat.S_IMODE(os.stat(wdir_sub_file2)[stat.ST_MODE]) + assert file2_mode == 0444, '0%o' % file2_mode + + else: + + test.chmod(wdir_file1, 0700) + test.chmod(['sub', 'file2'], 0760) + + file1_mode = stat.S_IMODE(os.stat(wdir_file1)[stat.ST_MODE]) + assert file1_mode == 0700, '0%o' % file1_mode + file2_mode = stat.S_IMODE(os.stat(wdir_sub_file2)[stat.ST_MODE]) + assert file2_mode == 0760, '0%o' % file2_mode + + test.chmod('file1', 0765) + test.chmod(wdir_sub_file2, 0567) + + file1_mode = stat.S_IMODE(os.stat(wdir_file1)[stat.ST_MODE]) + assert file1_mode == 0765, '0%o' % file1_mode + file2_mode = stat.S_IMODE(os.stat(wdir_sub_file2)[stat.ST_MODE]) + assert file2_mode == 0567, '0%o' % file2_mode + + + +class combine_TestCase(TestCmdTestCase): + def test_combine(self): + """Test combining stdout and stderr""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run1', """import sys +sys.stdout.write("run1 STDOUT %s\\n" % sys.argv[1:]) +sys.stdout.write("run1 STDOUT second line\\n") +sys.stderr.write("run1 STDERR %s\\n" % sys.argv[1:]) +sys.stderr.write("run1 STDERR second line\\n") +sys.stdout.write("run1 STDOUT third line\\n") +sys.stderr.write("run1 STDERR third line\\n") +""") + run_env.write('run2', """import sys +sys.stdout.write("run2 STDOUT %s\\n" % sys.argv[1:]) +sys.stdout.write("run2 STDOUT second line\\n") +sys.stderr.write("run2 STDERR %s\\n" % sys.argv[1:]) +sys.stderr.write("run2 STDERR second line\\n") +sys.stdout.write("run2 STDOUT third line\\n") +sys.stderr.write("run2 STDERR third line\\n") +""") + cwd = os.getcwd() + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + try: + test = TestCmd.TestCmd(interpreter = 'python', + workdir = '', + combine = 1) + try: + output = test.stdout() + except IndexError: + pass + else: + raise IndexError("got unexpected output:\n\t`%s'\n" % output) + + # The underlying system subprocess implementations can combine + # stdout and stderr in different orders, so we accomodate both. + + test.program_set('run1') + test.run(arguments = 'foo bar') + stdout_lines = """\ +run1 STDOUT ['foo', 'bar'] +run1 STDOUT second line +run1 STDOUT third line +""" + stderr_lines = """\ +run1 STDERR ['foo', 'bar'] +run1 STDERR second line +run1 STDERR third line +""" + foo_bar_expect = (stdout_lines + stderr_lines, + stderr_lines + stdout_lines) + + test.program_set('run2') + test.run(arguments = 'snafu') + stdout_lines = """\ +run2 STDOUT ['snafu'] +run2 STDOUT second line +run2 STDOUT third line +""" + stderr_lines = """\ +run2 STDERR ['snafu'] +run2 STDERR second line +run2 STDERR third line +""" + snafu_expect = (stdout_lines + stderr_lines, + stderr_lines + stdout_lines) + + # XXX SHOULD TEST ABSOLUTE NUMBER AS WELL + output = test.stdout() + output = self.translate_newlines(output) + assert output in snafu_expect, output + error = test.stderr() + assert error == '', error + + output = test.stdout(run = -1) + output = self.translate_newlines(output) + assert output in foo_bar_expect, output + error = test.stderr(-1) + assert error == '', error + finally: + os.chdir(cwd) + + + +class description_TestCase(TestCmdTestCase): + def test_description(self): + """Test description()""" + test = TestCmd.TestCmd() + assert test.description is None, 'initialized description?' + test = TestCmd.TestCmd(description = 'test') + assert test.description == 'test', 'uninitialized description' + test.description_set('foo') + assert test.description == 'foo', 'did not set description' + + + +class diff_TestCase(TestCmdTestCase): + def test_diff_re(self): + """Test diff_re()""" + result = TestCmd.diff_re(["abcde"], ["abcde"]) + assert result == [], result + result = TestCmd.diff_re(["a.*e"], ["abcde"]) + assert result == [], result + result = TestCmd.diff_re(["a.*e"], ["xxx"]) + assert result == ['1c1', "< 'a.*e'", '---', "> 'xxx'"], result + + def test_diff_custom_function(self): + """Test diff() using a custom function""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +def my_diff(a, b): + return [ + '*****', + a, + '*****', + b, + '*****', + ] +test = TestCmd.TestCmd(diff = my_diff) +test.diff("a\\nb1\\nc\\n", "a\\nb2\\nc\\n", "STDOUT") +sys.exit(0) +""" % self.orig_cwd, + stdout = """\ +STDOUT========================================================================== +***** +['a', 'b1', 'c'] +***** +['a', 'b2', 'c'] +***** +""") + + def test_diff_string(self): + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff = 'diff_re') +test.diff("a\\nb1\\nc\\n", "a\\nb2\\nc\\n", 'STDOUT') +sys.exit(0) +""" % self.orig_cwd, + stdout = """\ +STDOUT========================================================================== +2c2 +< 'b1' +--- +> 'b2' +""") + + def test_error(self): + """Test handling a compilation error in TestCmd.diff_re()""" + script_input = """import sys +sys.path = ['%s'] + sys.path +import TestCmd +assert TestCmd.diff_re(["a.*(e"], ["abcde"]) +sys.exit(0) +""" % self.orig_cwd + stdout, stderr, status = self.call_python(script_input) + assert status == 1, status + expect1 = "Regular expression error in '^a.*(e$': missing )\n" + expect2 = "Regular expression error in '^a.*(e$': unbalanced parenthesis\n" + assert (stderr.find(expect1) != -1 or + stderr.find(expect2) != -1), repr(stderr) + + def test_simple_diff_static_method(self): + """Test calling the TestCmd.TestCmd.simple_diff() static method""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +result = TestCmd.TestCmd.simple_diff(['a', 'b', 'c', 'e', 'f1'], + ['a', 'c', 'd', 'e', 'f2']) +expect = ['2d1', '< b', '3a3', '> d', '5c5', '< f1', '---', '> f2'] +assert result == expect, result +sys.exit(0) +""" % self.orig_cwd) + + def test_context_diff_static_method(self): + """Test calling the TestCmd.TestCmd.context_diff() static method""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +result = TestCmd.TestCmd.context_diff(['a\\n', 'b\\n', 'c\\n', 'e\\n', 'f1\\n'], + ['a\\n', 'c\\n', 'd\\n', 'e\\n', 'f2\\n']) +result = list(result) +expect = [ + '*** \\n', + '--- \\n', + '***************\\n', + '*** 1,5 ****\\n', + ' a\\n', + '- b\\n', + ' c\\n', + ' e\\n', + '! f1\\n', + '--- 1,5 ----\\n', + ' a\\n', + ' c\\n', + '+ d\\n', + ' e\\n', + '! f2\\n', +] +assert result == expect, result +sys.exit(0) +""" % self.orig_cwd) + + def test_unified_diff_static_method(self): + """Test calling the TestCmd.TestCmd.unified_diff() static method""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +result = TestCmd.TestCmd.unified_diff(['a\\n', 'b\\n', 'c\\n', 'e\\n', 'f1\\n'], + ['a\\n', 'c\\n', 'd\\n', 'e\\n', 'f2\\n']) +result = list(result) +expect = [ + '--- \\n', + '+++ \\n', + '@@ -1,5 +1,5 @@\\n', + ' a\\n', + '-b\\n', + ' c\\n', + '+d\\n', + ' e\\n', + '-f1\\n', + '+f2\\n' +] +assert result == expect, result +sys.exit(0) +""" % self.orig_cwd) + + def test_diff_re_static_method(self): + """Test calling the TestCmd.TestCmd.diff_re() static method""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +result = TestCmd.TestCmd.diff_re(['a', 'b', 'c', '.', 'f1'], + ['a', 'c', 'd', 'e', 'f2']) +expect = [ + '2c2', + "< 'b'", + '---', + "> 'c'", + '3c3', + "< 'c'", + '---', + "> 'd'", + '5c5', + "< 'f1'", + '---', + "> 'f2'" +] +assert result == expect, result +sys.exit(0) +""" % self.orig_cwd) + + + +class diff_stderr_TestCase(TestCmdTestCase): + def test_diff_stderr_default(self): + """Test diff_stderr() default behavior""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd() +test.diff_stderr('a\nb1\nc\n', 'a\nb2\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +2c2 +< b1 +--- +> b2 +""") + + def test_diff_stderr_not_affecting_diff_stdout(self): + """Test diff_stderr() not affecting diff_stdout() behavior""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stderr='diff_re') +print "diff_stderr:" +test.diff_stderr('a\nb.\nc\n', 'a\nbb\nc\n') +print "diff_stdout:" +test.diff_stdout('a\nb.\nc\n', 'a\nbb\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +diff_stderr: +diff_stdout: +2c2 +< b. +--- +> bb +""") + + def test_diff_stderr_custom_function(self): + """Test diff_stderr() using a custom function""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +def my_diff(a, b): + return ["a:"] + a + ["b:"] + b +test = TestCmd.TestCmd(diff_stderr=my_diff) +test.diff_stderr('abc', 'def') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +a: +abc +b: +def +""") + + def test_diff_stderr_TestCmd_function(self): + """Test diff_stderr() using a TestCmd function""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stderr = TestCmd.diff_re) +test.diff_stderr('a\n.\n', 'b\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +1c1 +< 'a' +--- +> 'b' +""") + + def test_diff_stderr_static_method(self): + """Test diff_stderr() using a static method""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stderr=TestCmd.TestCmd.diff_re) +test.diff_stderr('a\n.\n', 'b\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +1c1 +< 'a' +--- +> 'b' +""") + + def test_diff_stderr_string(self): + """Test diff_stderr() using a string to fetch the diff method""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stderr='diff_re') +test.diff_stderr('a\n.\n', 'b\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +1c1 +< 'a' +--- +> 'b' +""") + + + +class diff_stdout_TestCase(TestCmdTestCase): + def test_diff_stdout_default(self): + """Test diff_stdout() default behavior""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd() +test.diff_stdout('a\nb1\nc\n', 'a\nb2\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +2c2 +< b1 +--- +> b2 +""") + + def test_diff_stdout_not_affecting_diff_stderr(self): + """Test diff_stdout() not affecting diff_stderr() behavior""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stdout='diff_re') +print "diff_stdout:" +test.diff_stdout('a\nb.\nc\n', 'a\nbb\nc\n') +print "diff_stderr:" +test.diff_stderr('a\nb.\nc\n', 'a\nbb\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +diff_stdout: +diff_stderr: +2c2 +< b. +--- +> bb +""") + + def test_diff_stdout_custom_function(self): + """Test diff_stdout() using a custom function""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +def my_diff(a, b): + return ["a:"] + a + ["b:"] + b +test = TestCmd.TestCmd(diff_stdout=my_diff) +test.diff_stdout('abc', 'def') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +a: +abc +b: +def +""") + + def test_diff_stdout_TestCmd_function(self): + """Test diff_stdout() using a TestCmd function""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stdout = TestCmd.diff_re) +test.diff_stdout('a\n.\n', 'b\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +1c1 +< 'a' +--- +> 'b' +""") + + def test_diff_stdout_static_method(self): + """Test diff_stdout() using a static method""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stdout=TestCmd.TestCmd.diff_re) +test.diff_stdout('a\n.\n', 'b\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +1c1 +< 'a' +--- +> 'b' +""") + + def test_diff_stdout_string(self): + """Test diff_stdout() using a string to fetch the diff method""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(diff_stdout='diff_re') +test.diff_stdout('a\n.\n', 'b\nc\n') +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +1c1 +< 'a' +--- +> 'b' +""") + + + +class exit_TestCase(TestCmdTestCase): + def test_exit(self): + """Test exit()""" + def _test_it(cwd, tempdir, condition, preserved): + close_true = {'pass_test': 1, 'fail_test': 0, 'no_result': 0} + exit_status = {'pass_test': 0, 'fail_test': 1, 'no_result': 2} + result_string = {'pass_test': "PASSED\n", + 'fail_test': "FAILED test at line 5 of \n", + 'no_result': "NO RESULT for test at line 5 of \n"} + global ExitError + input = """import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(workdir = '%s') +test.%s() +""" % (cwd, tempdir, condition) + stdout, stderr, status = self.call_python(input, python="python") + if close_true[condition]: + unexpected = (status != 0) + else: + unexpected = (status == 0) + if unexpected: + msg = "Unexpected exit status from python: %s\n" + raise ExitError(msg % status + stdout + stderr) + if status != exit_status[condition]: + msg = "Expected exit status %d, got %d\n" + raise ExitError(msg % (exit_status[condition], status)) + if stderr != result_string[condition]: + msg = "Expected error output:\n%sGot error output:\n%s" + raise ExitError(msg % (result_string[condition], stderr)) + if preserved: + if not os.path.exists(tempdir): + msg = "Working directory %s was mistakenly removed\n" + raise ExitError(msg % tempdir + stdout) + else: + if os.path.exists(tempdir): + msg = "Working directory %s was mistakenly preserved\n" + raise ExitError(msg % tempdir + stdout) + + run_env = TestCmd.TestCmd(workdir = '') + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + try: + cwd = self.orig_cwd + _clear_dict(os.environ, 'PRESERVE', 'PRESERVE_PASS', 'PRESERVE_FAIL', 'PRESERVE_NO_RESULT') + _test_it(cwd, 'dir01', 'pass_test', 0) + _test_it(cwd, 'dir02', 'fail_test', 0) + _test_it(cwd, 'dir03', 'no_result', 0) + os.environ['PRESERVE'] = '1' + _test_it(cwd, 'dir04', 'pass_test', 1) + _test_it(cwd, 'dir05', 'fail_test', 1) + _test_it(cwd, 'dir06', 'no_result', 1) + os.environ['PRESERVE'] = '' # del os.environ['PRESERVE'] + os.environ['PRESERVE_PASS'] = '1' + _test_it(cwd, 'dir07', 'pass_test', 1) + _test_it(cwd, 'dir08', 'fail_test', 0) + _test_it(cwd, 'dir09', 'no_result', 0) + os.environ['PRESERVE_PASS'] = '' # del os.environ['PRESERVE_PASS'] + os.environ['PRESERVE_FAIL'] = '1' + _test_it(cwd, 'dir10', 'pass_test', 0) + _test_it(cwd, 'dir11', 'fail_test', 1) + _test_it(cwd, 'dir12', 'no_result', 0) + os.environ['PRESERVE_FAIL'] = '' # del os.environ['PRESERVE_FAIL'] + os.environ['PRESERVE_NO_RESULT'] = '1' + _test_it(cwd, 'dir13', 'pass_test', 0) + _test_it(cwd, 'dir14', 'fail_test', 0) + _test_it(cwd, 'dir15', 'no_result', 1) + os.environ['PRESERVE_NO_RESULT'] = '' # del os.environ['PRESERVE_NO_RESULT'] + finally: + _clear_dict(os.environ, 'PRESERVE', 'PRESERVE_PASS', 'PRESERVE_FAIL', 'PRESERVE_NO_RESULT') + + + +class fail_test_TestCase(TestCmdTestCase): + def test_fail_test(self): + """Test fail_test()""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run', """import sys +sys.stdout.write("run: STDOUT\\n") +sys.stderr.write("run: STDERR\\n") +""") + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +TestCmd.fail_test(condition = 1) +""" % self.orig_cwd, status = 1, stderr = "FAILED test at line 4 of \n") + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '') +test.run() +test.fail_test(condition = (test.status == 0)) +""" % self.orig_cwd, status = 1, stderr = "FAILED test of %s\n\tat line 6 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', description = 'xyzzy', workdir = '') +test.run() +test.fail_test(condition = (test.status == 0)) +""" % self.orig_cwd, status = 1, stderr = "FAILED test of %s [xyzzy]\n\tat line 6 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '') +test.run() +def xxx(): + sys.stderr.write("printed on failure\\n") +test.fail_test(condition = (test.status == 0), function = xxx) +""" % self.orig_cwd, status = 1, stderr = "printed on failure\nFAILED test of %s\n\tat line 8 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +def test1(self): + self.run() + self.fail_test(condition = (self.status == 0)) +def test2(self): + test1(self) +test2(TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '')) +""" % self.orig_cwd, status = 1, stderr = "FAILED test of %s\n\tat line 6 of (test1)\n\tfrom line 8 of (test2)\n\tfrom line 9 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +def test1(self): + self.run() + self.fail_test(condition = (self.status == 0), skip = 1) +def test2(self): + test1(self) +test2(TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '')) +""" % self.orig_cwd, status = 1, stderr = "FAILED test of %s\n\tat line 8 of (test2)\n\tfrom line 9 of \n" % run_env.workpath('run')) + + + +class interpreter_TestCase(TestCmdTestCase): + def test_interpreter(self): + """Test interpreter()""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run', """import sys +sys.stdout.write("run: STDOUT\\n") +sys.stderr.write("run: STDERR\\n") +""") + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + test = TestCmd.TestCmd(program = 'run', workdir = '') + test.interpreter_set('foo') + assert test.interpreter == 'foo', 'did not set interpreter' + test.interpreter_set('python') + assert test.interpreter == 'python', 'did not set interpreter' + test.run() + + + +class match_TestCase(TestCmdTestCase): + def test_match_default(self): + """Test match() default behavior""" + test = TestCmd.TestCmd() + assert test.match("abcde\n", "a.*e\n") + assert test.match("12345\nabcde\n", "1\\d+5\na.*e\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert test.match(lines, regexes) + + def test_match_custom_function(self): + """Test match() using a custom function""" + def match_length(lines, matches): + return len(lines) == len(matches) + test = TestCmd.TestCmd(match=match_length) + assert not test.match("123\n", "1\n") + assert test.match("123\n", "111\n") + assert not test.match("123\n123\n", "1\n1\n") + assert test.match("123\n123\n", "111\n111\n") + lines = ["123\n", "123\n"] + regexes = ["1\n", "1\n"] + assert test.match(lines, regexes) # due to equal numbers of lines + + def test_match_TestCmd_function(self): + """Test match() using a TestCmd function""" + test = TestCmd.TestCmd(match = TestCmd.match_exact) + assert not test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + assert not test.match("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match(lines, regexes) + assert test.match(lines, lines) + + def test_match_static_method(self): + """Test match() using a static method""" + test = TestCmd.TestCmd(match=TestCmd.TestCmd.match_exact) + assert not test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + assert not test.match("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match(lines, regexes) + assert test.match(lines, lines) + + def test_match_string(self): + """Test match() using a string to fetch the match method""" + test = TestCmd.TestCmd(match='match_exact') + assert not test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + assert not test.match("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match(lines, regexes) + assert test.match(lines, lines) + + + +class match_exact_TestCase(TestCmdTestCase): + def test_match_exact_function(self): + """Test calling the TestCmd.match_exact() function""" + assert not TestCmd.match_exact("abcde\\n", "a.*e\\n") + assert TestCmd.match_exact("abcde\\n", "abcde\\n") + + def test_match_exact_instance_method(self): + """Test calling the TestCmd.TestCmd().match_exact() instance method""" + test = TestCmd.TestCmd() + assert not test.match_exact("abcde\\n", "a.*e\\n") + assert test.match_exact("abcde\\n", "abcde\\n") + + def test_match_exact_static_method(self): + """Test calling the TestCmd.TestCmd.match_exact() static method""" + assert not TestCmd.TestCmd.match_exact("abcde\\n", "a.*e\\n") + assert TestCmd.TestCmd.match_exact("abcde\\n", "abcde\\n") + + def test_evaluation(self): + """Test match_exact() evaluation""" + test = TestCmd.TestCmd() + assert not test.match_exact("abcde\n", "a.*e\n") + assert test.match_exact("abcde\n", "abcde\n") + assert not test.match_exact(["12345\n", "abcde\n"], ["1[0-9]*5\n", "a.*e\n"]) + assert test.match_exact(["12345\n", "abcde\n"], ["12345\n", "abcde\n"]) + assert not test.match_exact(UserList.UserList(["12345\n", "abcde\n"]), + ["1[0-9]*5\n", "a.*e\n"]) + assert test.match_exact(UserList.UserList(["12345\n", "abcde\n"]), + ["12345\n", "abcde\n"]) + assert not test.match_exact(["12345\n", "abcde\n"], + UserList.UserList(["1[0-9]*5\n", "a.*e\n"])) + assert test.match_exact(["12345\n", "abcde\n"], + UserList.UserList(["12345\n", "abcde\n"])) + assert not test.match_exact("12345\nabcde\n", "1[0-9]*5\na.*e\n") + assert test.match_exact("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_exact(lines, regexes) + assert test.match_exact(lines, lines) + + + +class match_re_dotall_TestCase(TestCmdTestCase): + def test_match_re_dotall_function(self): + """Test calling the TestCmd.match_re_dotall() function""" + assert TestCmd.match_re_dotall("abcde\nfghij\n", "a.*j\n") + + def test_match_re_dotall_instance_method(self): + """Test calling the TestCmd.TestCmd().match_re_dotall() instance method""" + test = TestCmd.TestCmd() + test.match_re_dotall("abcde\\nfghij\\n", "a.*j\\n") + + def test_match_re_dotall_static_method(self): + """Test calling the TestCmd.TestCmd.match_re_dotall() static method""" + assert TestCmd.TestCmd.match_re_dotall("abcde\nfghij\n", "a.*j\n") + + def test_error(self): + """Test handling a compilation error in TestCmd.match_re_dotall()""" + run_env = TestCmd.TestCmd(workdir = '') + cwd = os.getcwd() + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + try: + script_input = """import sys +sys.path = ['%s'] + sys.path +import TestCmd +assert TestCmd.match_re_dotall("abcde", "a.*(e") +sys.exit(0) +""" % cwd + stdout, stderr, status = self.call_python(script_input) + assert status == 1, status + expect1 = "Regular expression error in '^a.*(e$': missing )\n" + expect2 = "Regular expression error in '^a.*(e$': unbalanced parenthesis\n" + assert (stderr.find(expect1) != -1 or + stderr.find(expect2) != -1), repr(stderr) + finally: + os.chdir(cwd) + + def test_evaluation(self): + """Test match_re_dotall() evaluation""" + test = TestCmd.TestCmd() + assert test.match_re_dotall("abcde\nfghij\n", "a.*e\nf.*j\n") + assert test.match_re_dotall("abcde\nfghij\n", "a[^j]*j\n") + assert test.match_re_dotall("abcde\nfghij\n", "abcde\nfghij\n") + assert test.match_re_dotall(["12345\n", "abcde\n", "fghij\n"], + ["1[0-9]*5\n", "a.*e\n", "f.*j\n"]) + assert test.match_re_dotall(["12345\n", "abcde\n", "fghij\n"], + ["1.*j\n"]) + assert test.match_re_dotall(["12345\n", "abcde\n", "fghij\n"], + ["12345\n", "abcde\n", "fghij\n"]) + assert test.match_re_dotall(UserList.UserList(["12345\n", + "abcde\n", + "fghij\n"]), + ["1[0-9]*5\n", "a.*e\n", "f.*j\n"]) + assert test.match_re_dotall(UserList.UserList(["12345\n", + "abcde\n", + "fghij\n"]), + ["1.*j\n"]) + assert test.match_re_dotall(UserList.UserList(["12345\n", + "abcde\n", + "fghij\n"]), + ["12345\n", "abcde\n", "fghij\n"]) + assert test.match_re_dotall(["12345\n", "abcde\n", "fghij\n"], + UserList.UserList(["1[0-9]*5\n", + "a.*e\n", + "f.*j\n"])) + assert test.match_re_dotall(["12345\n", "abcde\n", "fghij\n"], + UserList.UserList(["1.*j\n"])) + assert test.match_re_dotall(["12345\n", "abcde\n", "fghij\n"], + UserList.UserList(["12345\n", + "abcde\n", + "fghij\n"])) + assert test.match_re_dotall("12345\nabcde\nfghij\n", + "1[0-9]*5\na.*e\nf.*j\n") + assert test.match_re_dotall("12345\nabcde\nfghij\n", "1.*j\n") + assert test.match_re_dotall("12345\nabcde\nfghij\n", + "12345\nabcde\nfghij\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert test.match_re_dotall(lines, regexes) + assert test.match_re_dotall(lines, lines) + + + +class match_re_TestCase(TestCmdTestCase): + def test_match_re_function(self): + """Test calling the TestCmd.match_re() function""" + assert TestCmd.match_re("abcde\n", "a.*e\n") + + def test_match_re_instance_method(self): + """Test calling the TestCmd.TestCmd().match_re() instance method""" + test = TestCmd.TestCmd() + assert test.match_re("abcde\n", "a.*e\n") + + def test_match_re_static_method(self): + """Test calling the TestCmd.TestCmd.match_re() static method""" + assert TestCmd.TestCmd.match_re("abcde\n", "a.*e\n") + + def test_error(self): + """Test handling a compilation error in TestCmd.match_re()""" + run_env = TestCmd.TestCmd(workdir = '') + cwd = os.getcwd() + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + try: + script_input = """import sys +sys.path = ['%s'] + sys.path +import TestCmd +assert TestCmd.match_re("abcde\\n", "a.*(e\\n") +sys.exit(0) +""" % cwd + stdout, stderr, status = self.call_python(script_input) + assert status == 1, status + expect1 = "Regular expression error in '^a.*(e$': missing )\n" + expect2 = "Regular expression error in '^a.*(e$': unbalanced parenthesis\n" + assert (stderr.find(expect1) != -1 or + stderr.find(expect2) != -1), repr(stderr) + finally: + os.chdir(cwd) + + def test_evaluation(self): + """Test match_re() evaluation""" + test = TestCmd.TestCmd() + assert test.match_re("abcde\n", "a.*e\n") + assert test.match_re("abcde\n", "abcde\n") + assert test.match_re(["12345\n", "abcde\n"], ["1[0-9]*5\n", "a.*e\n"]) + assert test.match_re(["12345\n", "abcde\n"], ["12345\n", "abcde\n"]) + assert test.match_re(UserList.UserList(["12345\n", "abcde\n"]), + ["1[0-9]*5\n", "a.*e\n"]) + assert test.match_re(UserList.UserList(["12345\n", "abcde\n"]), + ["12345\n", "abcde\n"]) + assert test.match_re(["12345\n", "abcde\n"], + UserList.UserList(["1[0-9]*5\n", "a.*e\n"])) + assert test.match_re(["12345\n", "abcde\n"], + UserList.UserList(["12345\n", "abcde\n"])) + assert test.match_re("12345\nabcde\n", "1[0-9]*5\na.*e\n") + assert test.match_re("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert test.match_re(lines, regexes) + assert test.match_re(lines, lines) + + + +class match_stderr_TestCase(TestCmdTestCase): + def test_match_stderr_default(self): + """Test match_stderr() default behavior""" + test = TestCmd.TestCmd() + assert test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("12345\nabcde\n", "1\\d+5\na.*e\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert test.match_stderr(lines, regexes) + + def test_match_stderr_not_affecting_match_stdout(self): + """Test match_stderr() not affecting match_stdout() behavior""" + test = TestCmd.TestCmd(match_stderr=TestCmd.TestCmd.match_exact) + + assert not test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("abcde\n", "abcde\n") + assert not test.match_stderr("12345\nabcde\n", "1\\d+5\na.*e\n") + assert test.match_stderr("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stderr(lines, regexes) + assert test.match_stderr(lines, lines) + + assert test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("12345\nabcde\n", "1\\d+5\na.*e\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert test.match_stdout(lines, regexes) + + def test_match_stderr_custom_function(self): + """Test match_stderr() using a custom function""" + def match_length(lines, matches): + return len(lines) == len(matches) + test = TestCmd.TestCmd(match_stderr=match_length) + assert not test.match_stderr("123\n", "1\n") + assert test.match_stderr("123\n", "111\n") + assert not test.match_stderr("123\n123\n", "1\n1\n") + assert test.match_stderr("123\n123\n", "111\n111\n") + lines = ["123\n", "123\n"] + regexes = ["1\n", "1\n"] + assert test.match_stderr(lines, regexes) # equal numbers of lines + + def test_match_stderr_TestCmd_function(self): + """Test match_stderr() using a TestCmd function""" + test = TestCmd.TestCmd(match_stderr = TestCmd.match_exact) + assert not test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("abcde\n", "abcde\n") + assert not test.match_stderr("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match_stderr("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stderr(lines, regexes) + assert test.match_stderr(lines, lines) + + def test_match_stderr_static_method(self): + """Test match_stderr() using a static method""" + test = TestCmd.TestCmd(match_stderr=TestCmd.TestCmd.match_exact) + assert not test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("abcde\n", "abcde\n") + assert not test.match_stderr("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match_stderr("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stderr(lines, regexes) + assert test.match_stderr(lines, lines) + + def test_match_stderr_string(self): + """Test match_stderr() using a string to fetch the match method""" + test = TestCmd.TestCmd(match_stderr='match_exact') + assert not test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("abcde\n", "abcde\n") + assert not test.match_stderr("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match_stderr("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stderr(lines, regexes) + assert test.match_stderr(lines, lines) + + + +class match_stdout_TestCase(TestCmdTestCase): + def test_match_stdout_default(self): + """Test match_stdout() default behavior""" + test = TestCmd.TestCmd() + assert test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("12345\nabcde\n", "1\\d+5\na.*e\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert test.match_stdout(lines, regexes) + + def test_match_stdout_not_affecting_match_stderr(self): + """Test match_stdout() not affecting match_stderr() behavior""" + test = TestCmd.TestCmd(match_stdout=TestCmd.TestCmd.match_exact) + + assert not test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("abcde\n", "abcde\n") + assert not test.match_stdout("12345\nabcde\n", "1\\d+5\na.*e\n") + assert test.match_stdout("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stdout(lines, regexes) + assert test.match_stdout(lines, lines) + + assert test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("12345\nabcde\n", "1\\d+5\na.*e\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert test.match_stderr(lines, regexes) + + def test_match_stdout_custom_function(self): + """Test match_stdout() using a custom function""" + def match_length(lines, matches): + return len(lines) == len(matches) + test = TestCmd.TestCmd(match_stdout=match_length) + assert not test.match_stdout("123\n", "1\n") + assert test.match_stdout("123\n", "111\n") + assert not test.match_stdout("123\n123\n", "1\n1\n") + assert test.match_stdout("123\n123\n", "111\n111\n") + lines = ["123\n", "123\n"] + regexes = ["1\n", "1\n"] + assert test.match_stdout(lines, regexes) # equal numbers of lines + + def test_match_stdout_TestCmd_function(self): + """Test match_stdout() using a TestCmd function""" + test = TestCmd.TestCmd(match_stdout = TestCmd.match_exact) + assert not test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("abcde\n", "abcde\n") + assert not test.match_stdout("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match_stdout("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stdout(lines, regexes) + assert test.match_stdout(lines, lines) + + def test_match_stdout_static_method(self): + """Test match_stdout() using a static method""" + test = TestCmd.TestCmd(match_stdout=TestCmd.TestCmd.match_exact) + assert not test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("abcde\n", "abcde\n") + assert not test.match_stdout("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match_stdout("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stdout(lines, regexes) + assert test.match_stdout(lines, lines) + + def test_match_stdout_string(self): + """Test match_stdout() using a string to fetch the match method""" + test = TestCmd.TestCmd(match_stdout='match_exact') + assert not test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("abcde\n", "abcde\n") + assert not test.match_stdout("12345\nabcde\n", "1\d+5\na.*e\n") + assert test.match_stdout("12345\nabcde\n", "12345\nabcde\n") + lines = ["vwxyz\n", "67890\n"] + regexes = ["v[^a-u]*z\n", "6[^ ]+0\n"] + assert not test.match_stdout(lines, regexes) + assert test.match_stdout(lines, lines) + + + +class no_result_TestCase(TestCmdTestCase): + def test_no_result(self): + """Test no_result()""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run', """import sys +sys.stdout.write("run: STDOUT\\n") +sys.stderr.write("run: STDERR\\n") +""") + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +TestCmd.no_result(condition = 1) +""" % self.orig_cwd, status = 2, stderr = "NO RESULT for test at line 4 of \n") + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '') +test.run() +test.no_result(condition = (test.status == 0)) +""" % self.orig_cwd, status = 2, stderr = "NO RESULT for test of %s\n\tat line 6 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', description = 'xyzzy', workdir = '') +test.run() +test.no_result(condition = (test.status == 0)) +""" % self.orig_cwd, status = 2, stderr = "NO RESULT for test of %s [xyzzy]\n\tat line 6 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '') +test.run() +def xxx(): + sys.stderr.write("printed on no result\\n") +test.no_result(condition = (test.status == 0), function = xxx) +""" % self.orig_cwd, status = 2, stderr = "printed on no result\nNO RESULT for test of %s\n\tat line 8 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +def test1(self): + self.run() + self.no_result(condition = (self.status == 0)) +def test2(self): + test1(self) +test2(TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '')) +""" % self.orig_cwd, status = 2, stderr = "NO RESULT for test of %s\n\tat line 6 of (test1)\n\tfrom line 8 of (test2)\n\tfrom line 9 of \n" % run_env.workpath('run')) + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +def test1(self): + self.run() + self.no_result(condition = (self.status == 0), skip = 1) +def test2(self): + test1(self) +test2(TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '')) +""" % self.orig_cwd, status = 2, stderr = "NO RESULT for test of %s\n\tat line 8 of (test2)\n\tfrom line 9 of \n" % run_env.workpath('run')) + + + +class pass_test_TestCase(TestCmdTestCase): + def test_pass_test(self): + """Test pass_test()""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run', """import sys +sys.stdout.write("run: STDOUT\\n") +sys.stderr.write("run: STDERR\\n") +""") + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +TestCmd.pass_test(condition = 1) +""" % self.orig_cwd, stderr = "PASSED\n") + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '') +test.run() +test.pass_test(condition = (test.status == 0)) +""" % self.orig_cwd, stderr = "PASSED\n") + + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '') +test.run() +def brag(): + sys.stderr.write("printed on success\\n") +test.pass_test(condition = (test.status == 0), function = brag) +""" % self.orig_cwd, stderr = "printed on success\nPASSED\n") + + # TODO(sgk): SHOULD ALSO TEST FAILURE CONDITIONS + + + +class preserve_TestCase(TestCmdTestCase): + def test_preserve(self): + """Test preserve()""" + def cleanup_test(test, cond=None, stdout=""): + io = StringIO.StringIO() + save = sys.stdout + sys.stdout = io + try: + if cond: + test.cleanup(cond) + else: + test.cleanup() + o = io.getvalue() + assert o == stdout, "o = `%s', stdout = `%s'" % (o, stdout) + finally: + sys.stdout = save + + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + try: + test.write('file1', "Test file #1\n") + #test.cleanup() + cleanup_test(test, ) + assert not os.path.exists(wdir) + finally: + if os.path.exists(wdir): + shutil.rmtree(wdir, ignore_errors = 1) + test._dirlist.remove(wdir) + + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + try: + test.write('file2', "Test file #2\n") + test.preserve('pass_test') + cleanup_test(test, 'pass_test', "Preserved directory %s\n" % wdir) + assert os.path.isdir(wdir) + cleanup_test(test, 'fail_test') + assert not os.path.exists(wdir) + finally: + if os.path.exists(wdir): + shutil.rmtree(wdir, ignore_errors = 1) + test._dirlist.remove(wdir) + + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + try: + test.write('file3', "Test file #3\n") + test.preserve('fail_test') + cleanup_test(test, 'fail_test', "Preserved directory %s\n" % wdir) + assert os.path.isdir(wdir) + cleanup_test(test, 'pass_test') + assert not os.path.exists(wdir) + finally: + if os.path.exists(wdir): + shutil.rmtree(wdir, ignore_errors = 1) + test._dirlist.remove(wdir) + + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + try: + test.write('file4', "Test file #4\n") + test.preserve('fail_test', 'no_result') + cleanup_test(test, 'fail_test', "Preserved directory %s\n" % wdir) + assert os.path.isdir(wdir) + cleanup_test(test, 'no_result', "Preserved directory %s\n" % wdir) + assert os.path.isdir(wdir) + cleanup_test(test, 'pass_test') + assert not os.path.exists(wdir) + finally: + if os.path.exists(wdir): + shutil.rmtree(wdir, ignore_errors = 1) + test._dirlist.remove(wdir) + + test = TestCmd.TestCmd(workdir = '') + wdir = test.workdir + try: + test.preserve() + cleanup_test(test, 'pass_test', "Preserved directory %s\n" % wdir) + assert os.path.isdir(wdir) + cleanup_test(test, 'fail_test', "Preserved directory %s\n" % wdir) + assert os.path.isdir(wdir) + cleanup_test(test, 'no_result', "Preserved directory %s\n" % wdir) + assert os.path.isdir(wdir) + finally: + if os.path.exists(wdir): + shutil.rmtree(wdir, ignore_errors = 1) + test._dirlist.remove(wdir) + + + +class program_TestCase(TestCmdTestCase): + def test_program(self): + """Test program()""" + test = TestCmd.TestCmd() + assert test.program is None, 'initialized program?' + test = TestCmd.TestCmd(program = 'test') + assert test.program == os.path.join(os.getcwd(), 'test'), 'uninitialized program' + test.program_set('foo') + assert test.program == os.path.join(os.getcwd(), 'foo'), 'did not set program' + + + +class read_TestCase(TestCmdTestCase): + def test_read(self): + """Test read()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + wdir_file1 = os.path.join(test.workdir, 'file1') + wdir_file2 = os.path.join(test.workdir, 'file2') + wdir_foo_file3 = os.path.join(test.workdir, 'foo', 'file3') + wdir_file4 = os.path.join(test.workdir, 'file4') + wdir_file5 = os.path.join(test.workdir, 'file5') + + open(wdir_file1, 'wb').write("") + open(wdir_file2, 'wb').write("Test\nfile\n#2.\n") + open(wdir_foo_file3, 'wb').write("Test\nfile\n#3.\n") + open(wdir_file4, 'wb').write("Test\nfile\n#4.\n") + open(wdir_file5, 'wb').write("Test\r\nfile\r\n#5.\r\n") + + try: + contents = test.read('no_file') + except IOError: # expect "No such file or directory" + pass + except: + raise + + try: + test.read(test.workpath('file_x'), mode = 'w') + except ValueError: # expect "mode must begin with 'r' + pass + except: + raise + + def _file_matches(file, contents, expected): + assert contents == expected, \ + "Expected contents of " + str(file) + "==========\n" + \ + expected + \ + "Actual contents of " + str(file) + "============\n" + \ + contents + + _file_matches(wdir_file1, test.read('file1'), "") + _file_matches(wdir_file2, test.read('file2'), "Test\nfile\n#2.\n") + _file_matches(wdir_foo_file3, test.read(['foo', 'file3']), + "Test\nfile\n#3.\n") + _file_matches(wdir_foo_file3, + test.read(UserList.UserList(['foo', 'file3'])), + "Test\nfile\n#3.\n") + _file_matches(wdir_file4, test.read('file4', mode = 'r'), + "Test\nfile\n#4.\n") + _file_matches(wdir_file5, test.read('file5', mode = 'rb'), + "Test\r\nfile\r\n#5.\r\n") + + + +class rmdir_TestCase(TestCmdTestCase): + def test_rmdir(self): + """Test rmdir()""" + test = TestCmd.TestCmd(workdir = '') + + try: + test.rmdir(['no', 'such', 'dir']) + except EnvironmentError: + pass + else: + raise Exception("did not catch expected EnvironmentError") + + test.subdir(['sub'], + ['sub', 'dir'], + ['sub', 'dir', 'one']) + + s = test.workpath('sub') + s_d = test.workpath('sub', 'dir') + s_d_o = test.workpath('sub', 'dir', 'one') + + try: + test.rmdir(['sub']) + except EnvironmentError: + pass + else: + raise Exception("did not catch expected EnvironmentError") + + assert os.path.isdir(s_d_o), "%s is gone?" % s_d_o + + try: + test.rmdir(['sub']) + except EnvironmentError: + pass + else: + raise Exception("did not catch expected EnvironmentError") + + assert os.path.isdir(s_d_o), "%s is gone?" % s_d_o + + test.rmdir(['sub', 'dir', 'one']) + + assert not os.path.exists(s_d_o), "%s exists?" % s_d_o + assert os.path.isdir(s_d), "%s is gone?" % s_d + + test.rmdir(['sub', 'dir']) + + assert not os.path.exists(s_d), "%s exists?" % s_d + assert os.path.isdir(s), "%s is gone?" % s + + test.rmdir('sub') + + assert not os.path.exists(s), "%s exists?" % s + + + +class run_TestCase(TestCmdTestCase): + def test_run(self): + """Test run()""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + try: + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + test.run() + self.run_match(test.stdout(), t.script, "STDOUT", t.workdir, + repr([])) + self.run_match(test.stderr(), t.script, "STDERR", t.workdir, + repr([])) + + test.run(arguments = 'arg1 arg2 arg3') + self.run_match(test.stdout(), t.script, "STDOUT", t.workdir, + repr(['arg1', 'arg2', 'arg3'])) + self.run_match(test.stderr(), t.script, "STDERR", t.workdir, + repr(['arg1', 'arg2', 'arg3'])) + + test.run(program = t.scriptx, arguments = 'foo') + self.run_match(test.stdout(), t.scriptx, "STDOUT", t.workdir, + repr(['foo'])) + self.run_match(test.stderr(), t.scriptx, "STDERR", t.workdir, + repr(['foo'])) + + test.run(chdir = os.curdir, arguments = 'x y z') + self.run_match(test.stdout(), t.script, "STDOUT", test.workdir, + repr(['x', 'y', 'z'])) + self.run_match(test.stderr(), t.script, "STDERR", test.workdir, + repr(['x', 'y', 'z'])) + + test.run(chdir = 'script_subdir') + script_subdir = test.workpath('script_subdir') + self.run_match(test.stdout(), t.script, "STDOUT", script_subdir, + repr([])) + self.run_match(test.stderr(), t.script, "STDERR", script_subdir, + repr([])) + + test.run(program = t.script1, interpreter = ['python', '-x']) + self.run_match(test.stdout(), t.script1, "STDOUT", t.workdir, + repr([])) + self.run_match(test.stderr(), t.script1, "STDERR", t.workdir, + repr([])) + + try: + test.run(chdir = 'no_subdir') + except OSError: + pass + + test.run(program = 'no_script', interpreter = 'python') + assert test.status != None, test.status + + try: + test.run(program = 'no_script', interpreter = 'no_interpreter') + except OSError: + # Python versions that use subprocess throw an OSError + # exception when they try to execute something that + # isn't there. + pass + else: + # Python versions that use os.popen3() or the Popen3 + # class run things through the shell, which just returns + # a non-zero exit status. + assert test.status != None, test.status + + testx = TestCmd.TestCmd(program = t.scriptx, + workdir = '', + subdir = 't.scriptx_subdir') + + testx.run() + self.run_match(testx.stdout(), t.scriptx, "STDOUT", t.workdir, + repr([])) + self.run_match(testx.stderr(), t.scriptx, "STDERR", t.workdir, + repr([])) + + testx.run(arguments = 'foo bar') + self.run_match(testx.stdout(), t.scriptx, "STDOUT", t.workdir, + repr(['foo', 'bar'])) + self.run_match(testx.stderr(), t.scriptx, "STDERR", t.workdir, + repr(['foo', 'bar'])) + + testx.run(program = t.script, interpreter = 'python', arguments = 'bar') + self.run_match(testx.stdout(), t.script, "STDOUT", t.workdir, + repr(['bar'])) + self.run_match(testx.stderr(), t.script, "STDERR", t.workdir, + repr(['bar'])) + + testx.run(chdir = os.curdir, arguments = 'baz') + self.run_match(testx.stdout(), t.scriptx, "STDOUT", testx.workdir, + repr(['baz'])) + self.run_match(testx.stderr(), t.scriptx, "STDERR", testx.workdir, + repr(['baz'])) + + testx.run(chdir = 't.scriptx_subdir') + t.scriptx_subdir = testx.workpath('t.scriptx_subdir') + self.run_match(testx.stdout(), t.scriptx, "STDOUT", t.scriptx_subdir, + repr([])) + self.run_match(testx.stderr(), t.scriptx, "STDERR", t.scriptx_subdir, + repr([])) + + testx.run(program = t.script1, interpreter = ('python', '-x')) + self.run_match(testx.stdout(), t.script1, "STDOUT", t.workdir, + repr([])) + self.run_match(testx.stderr(), t.script1, "STDERR", t.workdir, + repr([])) + + s = os.path.join('.', t.scriptx) + testx.run(program = [s]) + self.run_match(testx.stdout(), t.scriptx, "STDOUT", t.workdir, + repr([])) + self.run_match(testx.stderr(), t.scriptx, "STDERR", t.workdir, + repr([])) + + try: + testx.run(chdir = 'no_subdir') + except OSError: + pass + + try: + testx.run(program = 'no_program') + except OSError: + # Python versions that use subprocess throw an OSError + # exception when they try to execute something that + # isn't there. + pass + else: + # Python versions that use os.popen3() or the Popen3 + # class run things through the shell, which just returns + # a non-zero exit status. + assert test.status != None + + test1 = TestCmd.TestCmd(program = t.script1, + interpreter = ['python', '-x'], + workdir = '') + + test1.run() + self.run_match(test1.stdout(), t.script1, "STDOUT", t.workdir, + repr([])) + self.run_match(test1.stderr(), t.script1, "STDERR", t.workdir, + repr([])) + + finally: + os.chdir(t.orig_cwd) + + def test_run_subclass(self): + """Test run() through a subclass with different signatures""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + + class MyTestCmdSubclass(TestCmd.TestCmd): + def start(self, additional_argument=None, **kw): + return TestCmd.TestCmd.start(self, **kw) + + try: + test = MyTestCmdSubclass(program = t.script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + test.run() + self.run_match(test.stdout(), t.script, "STDOUT", t.workdir, + repr([])) + self.run_match(test.stderr(), t.script, "STDERR", t.workdir, + repr([])) + finally: + os.chdir(t.orig_cwd) + + +class run_verbose_TestCase(TestCmdTestCase): + def test_run_verbose(self): + """Test the run() method's verbose attribute""" + + # Prepare our "source directory." + t = self.setup_run_scripts() + + save_stdout = sys.stderr + save_stderr = sys.stderr + + try: + # Test calling TestCmd() with an explicit verbose = 1. + + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '', + verbose = 1) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + test.run(arguments = ['arg1 arg2']) + o = sys.stdout.getvalue() + assert o == '', o + e = sys.stderr.getvalue() + expect = 'python "%s" "arg1 arg2"\n' % t.script_path + assert expect == e, (expect, e) + + testx = TestCmd.TestCmd(program = t.scriptx, + workdir = '', + verbose = 1) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + testx.run(arguments = ['arg1 arg2']) + expect = '"%s" "arg1 arg2"\n' % t.scriptx_path + o = sys.stdout.getvalue() + assert o == '', o + e = sys.stderr.getvalue() + assert expect == e, (expect, e) + + # Test calling TestCmd() with an explicit verbose = 2. + + outerr_fmt = """\ +============ STATUS: 0 +============ BEGIN STDOUT (len=%s): +%s============ END STDOUT +============ BEGIN STDERR (len=%s) +%s============ END STDERR +""" + + out_fmt = """\ +============ STATUS: 0 +============ BEGIN STDOUT (len=%s): +%s============ END STDOUT +""" + + err_fmt = """\ +============ STATUS: 0 +============ BEGIN STDERR (len=%s) +%s============ END STDERR +""" + + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '', + verbose = 2) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + test.run(arguments = ['arg1 arg2']) + + line_fmt = "script: %s: %s: ['arg1 arg2']\n" + stdout_line = line_fmt % ('STDOUT', t.sub_dir) + stderr_line = line_fmt % ('STDERR', t.sub_dir) + expect = outerr_fmt % (len(stdout_line), stdout_line, + len(stderr_line), stderr_line) + o = sys.stdout.getvalue() + assert expect == o, (expect, o) + + expect = 'python "%s" "arg1 arg2"\n' % t.script_path + e = sys.stderr.getvalue() + assert e == expect, (e, expect) + + testx = TestCmd.TestCmd(program = t.scriptx, + workdir = '', + verbose = 2) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + testx.run(arguments = ['arg1 arg2']) + + line_fmt = "scriptx.bat: %s: %s: ['arg1 arg2']\n" + stdout_line = line_fmt % ('STDOUT', t.sub_dir) + stderr_line = line_fmt % ('STDERR', t.sub_dir) + expect = outerr_fmt % (len(stdout_line), stdout_line, + len(stderr_line), stderr_line) + o = sys.stdout.getvalue() + assert expect == o, (expect, o) + + expect = '"%s" "arg1 arg2"\n' % t.scriptx_path + e = sys.stderr.getvalue() + assert e == expect, (e, expect) + + # Test calling TestCmd() with an explicit verbose = 3. + + test = TestCmd.TestCmd(program = t.scriptout, + interpreter = 'python', + workdir = '', + verbose = 2) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + test.run(arguments = ['arg1 arg2']) + + line_fmt = "scriptout: %s: %s: ['arg1 arg2']\n" + stdout_line = line_fmt % ('STDOUT', t.sub_dir) + expect = out_fmt % (len(stdout_line), stdout_line) + o = sys.stdout.getvalue() + assert expect == o, (expect, o) + + e = sys.stderr.getvalue() + expect = 'python "%s" "arg1 arg2"\n' % (t.scriptout_path) + assert e == expect, (e, expect) + + test = TestCmd.TestCmd(program = t.scriptout, + interpreter = 'python', + workdir = '', + verbose = 3) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + test.run(arguments = ['arg1 arg2']) + + line_fmt = "scriptout: %s: %s: ['arg1 arg2']\n" + stdout_line = line_fmt % ('STDOUT', t.sub_dir) + expect = outerr_fmt % (len(stdout_line), stdout_line, + '0', '') + o = sys.stdout.getvalue() + assert expect == o, (expect, o) + + e = sys.stderr.getvalue() + expect = 'python "%s" "arg1 arg2"\n' % (t.scriptout_path) + assert e == expect, (e, expect) + + # Test letting TestCmd() pick up verbose = 2 from the environment. + + os.environ['TESTCMD_VERBOSE'] = '2' + + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '') + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + test.run(arguments = ['arg1 arg2']) + + line_fmt = "script: %s: %s: ['arg1 arg2']\n" + stdout_line = line_fmt % ('STDOUT', t.sub_dir) + stderr_line = line_fmt % ('STDERR', t.sub_dir) + expect = outerr_fmt % (len(stdout_line), stdout_line, + len(stderr_line), stderr_line) + o = sys.stdout.getvalue() + assert expect == o, (expect, o) + + expect = 'python "%s" "arg1 arg2"\n' % t.script_path + e = sys.stderr.getvalue() + assert e == expect, (e, expect) + + testx = TestCmd.TestCmd(program = t.scriptx, + workdir = '') + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + testx.run(arguments = ['arg1 arg2']) + + line_fmt = "scriptx.bat: %s: %s: ['arg1 arg2']\n" + stdout_line = line_fmt % ('STDOUT', t.sub_dir) + stderr_line = line_fmt % ('STDERR', t.sub_dir) + expect = outerr_fmt % (len(stdout_line), stdout_line, + len(stderr_line), stderr_line) + o = sys.stdout.getvalue() + assert expect == o, (expect, o) + + expect = '"%s" "arg1 arg2"\n' % t.scriptx_path + e = sys.stderr.getvalue() + assert e == expect, (e, expect) + + # Test letting TestCmd() pick up verbose = 1 from the environment. + + os.environ['TESTCMD_VERBOSE'] = '1' + + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '', + verbose = 1) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + test.run(arguments = ['arg1 arg2']) + o = sys.stdout.getvalue() + assert o == '', o + e = sys.stderr.getvalue() + expect = 'python "%s" "arg1 arg2"\n' % t.script_path + assert expect == e, (expect, e) + + testx = TestCmd.TestCmd(program = t.scriptx, + workdir = '', + verbose = 1) + + sys.stdout = StringIO.StringIO() + sys.stderr = StringIO.StringIO() + + testx.run(arguments = ['arg1 arg2']) + expect = '"%s" "arg1 arg2"\n' % t.scriptx_path + o = sys.stdout.getvalue() + assert o == '', o + e = sys.stderr.getvalue() + assert expect == e, (expect, e) + + finally: + sys.stdout = save_stdout + sys.stderr = save_stderr + os.chdir(t.orig_cwd) + os.environ['TESTCMD_VERBOSE'] = '' + + + +class set_diff_function_TestCase(TestCmdTestCase): + def test_set_diff_function(self): + """Test set_diff_function()""" + self.popen_python(r"""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd() +test.diff("a\n", "a\n") +test.set_diff_function('diff_re') +test.diff(".\n", "a\n") +sys.exit(0) +""" % self.orig_cwd) + + def test_set_diff_function_stdout(self): + """Test set_diff_function(): stdout""" + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd() +print "diff:" +test.diff("a\\n", "a\\n") +print "diff_stdout:" +test.diff_stdout("a\\n", "a\\n") +test.set_diff_function(stdout='diff_re') +print "diff:" +test.diff(".\\n", "a\\n") +print "diff_stdout:" +test.diff_stdout(".\\n", "a\\n") +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +diff: +diff_stdout: +diff: +1c1 +< . +--- +> a +diff_stdout: +""") + + def test_set_diff_function_stderr(self): + """Test set_diff_function(): stderr """ + self.popen_python("""import sys +sys.path = ['%s'] + sys.path +import TestCmd +test = TestCmd.TestCmd() +print "diff:" +test.diff("a\\n", "a\\n") +print "diff_stderr:" +test.diff_stderr("a\\n", "a\\n") +test.set_diff_function(stderr='diff_re') +print "diff:" +test.diff(".\\n", "a\\n") +print "diff_stderr:" +test.diff_stderr(".\\n", "a\\n") +sys.exit(0) +""" % self.orig_cwd, + stdout="""\ +diff: +diff_stderr: +diff: +1c1 +< . +--- +> a +diff_stderr: +""") + + + +class set_match_function_TestCase(TestCmdTestCase): + def test_set_match_function(self): + """Test set_match_function()""" + test = TestCmd.TestCmd() + assert test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + + test.set_match_function('match_exact') + + assert not test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + + def test_set_match_function_stdout(self): + """Test set_match_function(): stdout """ + test = TestCmd.TestCmd() + assert test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + assert test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("abcde\n", "abcde\n") + + test.set_match_function(stdout='match_exact') + + assert test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + assert not test.match_stdout("abcde\n", "a.*e\n") + assert test.match_stdout("abcde\n", "abcde\n") + + def test_set_match_function_stderr(self): + """Test set_match_function(): stderr """ + test = TestCmd.TestCmd() + assert test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + assert test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("abcde\n", "abcde\n") + + test.set_match_function(stderr='match_exact') + + assert test.match("abcde\n", "a.*e\n") + assert test.match("abcde\n", "abcde\n") + assert not test.match_stderr("abcde\n", "a.*e\n") + assert test.match_stderr("abcde\n", "abcde\n") + + + +class sleep_TestCase(TestCmdTestCase): + def test_sleep(self): + """Test sleep()""" + test = TestCmd.TestCmd() + + start = time.time() + test.sleep() + end = time.time() + diff = end - start + assert diff > 0.9, "only slept %f seconds (start %f, end %f), not default" % (diff, start, end) + + start = time.time() + test.sleep(3) + end = time.time() + diff = end - start + assert diff > 2.9, "only slept %f seconds (start %f, end %f), not 3" % (diff, start, end) + + + +class stderr_TestCase(TestCmdTestCase): + def test_stderr(self): + """Test stderr()""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run1', """import sys +sys.stdout.write("run1 STDOUT %s\\n" % sys.argv[1:]) +sys.stdout.write("run1 STDOUT second line\\n") +sys.stderr.write("run1 STDERR %s\\n" % sys.argv[1:]) +sys.stderr.write("run1 STDERR second line\\n") +""") + run_env.write('run2', """import sys +sys.stdout.write("run2 STDOUT %s\\n" % sys.argv[1:]) +sys.stdout.write("run2 STDOUT second line\\n") +sys.stderr.write("run2 STDERR %s\\n" % sys.argv[1:]) +sys.stderr.write("run2 STDERR second line\\n") +""") + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + test = TestCmd.TestCmd(interpreter = 'python', workdir = '') + try: + output = test.stderr() + except IndexError: + pass + else: + raise IndexError("got unexpected output:\n" + output) + test.program_set('run1') + test.run(arguments = 'foo bar') + test.program_set('run2') + test.run(arguments = 'snafu') + # XXX SHOULD TEST ABSOLUTE NUMBER AS WELL + output = test.stderr() + assert output == "run2 STDERR ['snafu']\nrun2 STDERR second line\n", output + output = test.stderr(run = -1) + assert output == "run1 STDERR ['foo', 'bar']\nrun1 STDERR second line\n", output + + + +class command_args_TestCase(TestCmdTestCase): + def test_command_args(self): + """Test command_args()""" + run_env = TestCmd.TestCmd(workdir = '') + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + test = TestCmd.TestCmd(workdir = '') + + r = test.command_args('prog') + expect = [run_env.workpath('prog')] + assert r == expect, (expect, r) + + r = test.command_args(test.workpath('new_prog')) + expect = [test.workpath('new_prog')] + assert r == expect, (expect, r) + + r = test.command_args('prog', 'python') + expect = ['python', run_env.workpath('prog')] + assert r == expect, (expect, r) + + r = test.command_args('prog', 'python', 'arg1 arg2') + expect = ['python', run_env.workpath('prog'), 'arg1', 'arg2'] + assert r == expect, (expect, r) + + test.program_set('default_prog') + default_prog = run_env.workpath('default_prog') + + r = test.command_args() + expect = [default_prog] + assert r == expect, (expect, r) + + r = test.command_args(interpreter='PYTHON') + expect = ['PYTHON', default_prog] + assert r == expect, (expect, r) + + r = test.command_args(interpreter='PYTHON', arguments='arg3 arg4') + expect = ['PYTHON', default_prog, 'arg3', 'arg4'] + assert r == expect, (expect, r) + + test.interpreter_set('default_python') + + r = test.command_args() + expect = ['default_python', default_prog] + assert r == expect, (expect, r) + + r = test.command_args(arguments='arg5 arg6') + expect = ['default_python', default_prog, 'arg5', 'arg6'] + assert r == expect, (expect, r) + + r = test.command_args('new_prog_1') + expect = [run_env.workpath('new_prog_1')] + assert r == expect, (expect, r) + + r = test.command_args(program='new_prog_2') + expect = [run_env.workpath('new_prog_2')] + assert r == expect, (expect, r) + + + +class start_TestCase(TestCmdTestCase): + def setup_run_scripts(self): + t = TestCmdTestCase.setup_run_scripts(self) + t.recv_script = 'script_recv' + t.recv_script_path = t.run_env.workpath(t.sub_dir, t.recv_script) + t.recv_out_path = t.run_env.workpath('script_recv.out') + text = """\ +import os +import sys + +class Unbuffered: + def __init__(self, file): + self.file = file + def write(self, arg): + self.file.write(arg) + self.file.flush() + def __getattr__(self, attr): + return getattr(self.file, attr) + +sys.stdout = Unbuffered(sys.stdout) +sys.stderr = Unbuffered(sys.stderr) + +sys.stdout.write('script_recv: STDOUT\\n') +sys.stderr.write('script_recv: STDERR\\n') +logfp = open(r'%s', 'wb') +while 1: + line = sys.stdin.readline() + if not line: + break + logfp.write('script_recv: ' + line) + sys.stdout.write('script_recv: STDOUT: ' + line) + sys.stderr.write('script_recv: STDERR: ' + line) +logfp.close() + """ % t.recv_out_path + t.run_env.write(t.recv_script_path, text) + os.chmod(t.recv_script_path, 0644) # XXX UNIX-specific + return t + + def test_start(self): + """Test start()""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + try: + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + p = test.start() + self.run_match(p.stdout.read(), t.script, "STDOUT", t.workdir, + repr([])) + self.run_match(p.stderr.read(), t.script, "STDERR", t.workdir, + repr([])) + p.wait() + + p = test.start(arguments='arg1 arg2 arg3') + self.run_match(p.stdout.read(), t.script, "STDOUT", t.workdir, + repr(['arg1', 'arg2', 'arg3'])) + self.run_match(p.stderr.read(), t.script, "STDERR", t.workdir, + repr(['arg1', 'arg2', 'arg3'])) + p.wait() + + p = test.start(program=t.scriptx, arguments='foo') + self.run_match(p.stdout.read(), t.scriptx, "STDOUT", t.workdir, + repr(['foo'])) + self.run_match(p.stderr.read(), t.scriptx, "STDERR", t.workdir, + repr(['foo'])) + p.wait() + + p = test.start(program=t.script1, interpreter=['python', '-x']) + self.run_match(p.stdout.read(), t.script1, "STDOUT", t.workdir, + repr([])) + self.run_match(p.stderr.read(), t.script1, "STDERR", t.workdir, + repr([])) + p.wait() + + p = test.start(program='no_script', interpreter='python') + status = p.wait() + assert status != None, status + + try: + p = test.start(program='no_script', interpreter='no_interpreter') + except OSError: + # Python versions that use subprocess throw an OSError + # exception when they try to execute something that + # isn't there. + pass + else: + status = p.wait() + # Python versions that use os.popen3() or the Popen3 + # class run things through the shell, which just returns + # a non-zero exit status. + assert status != None, status + + testx = TestCmd.TestCmd(program = t.scriptx, + workdir = '', + subdir = 't.scriptx_subdir') + + p = testx.start() + self.run_match(p.stdout.read(), t.scriptx, "STDOUT", t.workdir, + repr([])) + self.run_match(p.stderr.read(), t.scriptx, "STDERR", t.workdir, + repr([])) + p.wait() + + p = testx.start(arguments='foo bar') + self.run_match(p.stdout.read(), t.scriptx, "STDOUT", t.workdir, + repr(['foo', 'bar'])) + self.run_match(p.stderr.read(), t.scriptx, "STDERR", t.workdir, + repr(['foo', 'bar'])) + p.wait() + + p = testx.start(program=t.script, interpreter='python', arguments='bar') + self.run_match(p.stdout.read(), t.script, "STDOUT", t.workdir, + repr(['bar'])) + self.run_match(p.stderr.read(), t.script, "STDERR", t.workdir, + repr(['bar'])) + p.wait() + + p = testx.start(program=t.script1, interpreter=('python', '-x')) + self.run_match(p.stdout.read(), t.script1, "STDOUT", t.workdir, + repr([])) + self.run_match(p.stderr.read(), t.script1, "STDERR", t.workdir, + repr([])) + p.wait() + + s = os.path.join('.', t.scriptx) + p = testx.start(program=[s]) + self.run_match(p.stdout.read(), t.scriptx, "STDOUT", t.workdir, + repr([])) + self.run_match(p.stderr.read(), t.scriptx, "STDERR", t.workdir, + repr([])) + p.wait() + + try: + testx.start(program='no_program') + except OSError: + # Python versions that use subprocess throw an OSError + # exception when they try to execute something that + # isn't there. + pass + else: + # Python versions that use os.popen3() or the Popen3 + # class run things through the shell, which just dies + # trying to execute the non-existent program before + # we can wait() for it. + try: + p = p.wait() + except OSError: + pass + + test1 = TestCmd.TestCmd(program = t.script1, + interpreter = ['python', '-x'], + workdir = '') + + p = test1.start() + self.run_match(p.stdout.read(), t.script1, "STDOUT", t.workdir, + repr([])) + self.run_match(p.stderr.read(), t.script1, "STDERR", t.workdir, + repr([])) + p.wait() + + finally: + os.chdir(t.orig_cwd) + + def test_finish(self): + """Test finish()""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + try: + + test = TestCmd.TestCmd(program = t.recv_script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + test.start(stdin=1) + test.finish() + expect_stdout = """\ +script_recv: STDOUT +""" + expect_stderr = """\ +script_recv: STDERR +""" + stdout = test.stdout() + assert stdout == expect_stdout, stdout + stderr = test.stderr() + assert stderr == expect_stderr, stderr + + p = test.start(stdin=1) + p.send('input\n') + test.finish(p) + expect_stdout = """\ +script_recv: STDOUT +script_recv: STDOUT: input +""" + expect_stderr = """\ +script_recv: STDERR +script_recv: STDERR: input +""" + stdout = test.stdout() + assert stdout == expect_stdout, stdout + stderr = test.stderr() + assert stderr == expect_stderr, stderr + + p = test.start(combine=1, stdin=1) + p.send('input\n') + test.finish(p) + expect_stdout = """\ +script_recv: STDOUT +script_recv: STDERR +script_recv: STDOUT: input +script_recv: STDERR: input +""" + expect_stderr = "" + stdout = test.stdout() + assert stdout == expect_stdout, stdout + stderr = test.stderr() + assert stderr == expect_stderr, stderr + + finally: + os.chdir(t.orig_cwd) + + def test_recv(self): + """Test the recv() method of objects returned by start()""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + try: + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + p = test.start() + stdout = p.recv() + while stdout == '': + import time + time.sleep(1) + stdout = p.recv() + self.run_match(stdout, t.script, "STDOUT", t.workdir, + repr([])) + p.wait() + + finally: + os.chdir(t.orig_cwd) + + def test_recv_err(self): + """Test the recv_err() method of objects returned by start()""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + try: + + test = TestCmd.TestCmd(program = t.script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + p = test.start() + stderr = p.recv_err() + while stderr == '': + import time + time.sleep(1) + stderr = p.recv_err() + self.run_match(stderr, t.script, "STDERR", t.workdir, + repr([])) + p.wait() + + + finally: + os.chdir(t.orig_cwd) + + def test_send(self): + """Test the send() method of objects returned by start()""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + try: + + test = TestCmd.TestCmd(program = t.recv_script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + p = test.start(stdin=1) + input = 'stdin.write() input to the receive script\n' + p.stdin.write(input) + p.stdin.close() + p.wait() + result = open(t.recv_out_path, 'rb').read() + expect = 'script_recv: ' + input + assert result == expect, repr(result) + + p = test.start(stdin=1) + input = 'send() input to the receive script\n' + p.send(input) + p.stdin.close() + p.wait() + result = open(t.recv_out_path, 'rb').read() + expect = 'script_recv: ' + input + assert result == expect, repr(result) + + finally: + os.chdir(t.orig_cwd) + + # TODO(sgk): figure out how to eliminate the race conditions here. + def __FLAKY__test_send_recv(self): + """Test the send_recv() method of objects returned by start()""" + + t = self.setup_run_scripts() + + # Everything before this prepared our "source directory." + # Now do the real test. + try: + + test = TestCmd.TestCmd(program = t.recv_script, + interpreter = 'python', + workdir = '', + subdir = 'script_subdir') + + def do_send_recv(p, input): + send, stdout, stderr = p.send_recv(input) + stdout = self.translate_newlines(stdout) + stderr = self.translate_newlines(stderr) + return send, stdout, stderr + + p = test.start(stdin=1) + input = 'input to the receive script\n' + send, stdout, stderr = do_send_recv(p, input) + # Buffering issues and a race condition prevent this from + # being completely deterministic, so check for both null + # output and the first write() on each stream. + assert stdout in ("", "script_recv: STDOUT\n"), stdout + assert stderr in ("", "script_recv: STDERR\n"), stderr + send, stdout, stderr = do_send_recv(p, input) + assert stdout in ("", "script_recv: STDOUT\n"), stdout + assert stderr in ("", "script_recv: STDERR\n"), stderr + p.stdin.close() + stdout = self.translate_newlines(p.recv()) + stderr = self.translate_newlines(p.recv_err()) + assert stdout in ("", "script_recv: STDOUT\n"), stdout + assert stderr in ("", "script_recv: STDERR\n"), stderr + p.wait() + stdout = self.translate_newlines(p.recv()) + stderr = self.translate_newlines(p.recv_err()) + expect_stdout = """\ +script_recv: STDOUT +script_recv: STDOUT: input to the receive script +script_recv: STDOUT: input to the receive script +""" + expect_stderr = """\ +script_recv: STDERR +script_recv: STDERR: input to the receive script +script_recv: STDERR: input to the receive script +""" + assert stdout == expect_stdout, stdout + assert stderr == expect_stderr, stderr + result = open(t.recv_out_path, 'rb').read() + expect = ('script_recv: ' + input) * 2 + assert result == expect, (result, stdout, stderr) + + finally: + os.chdir(t.orig_cwd) + + + +class stdin_TestCase(TestCmdTestCase): + def test_stdin(self): + """Test stdin()""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run', """import fileinput +for line in fileinput.input(): + print 'Y'.join(line[:-1].split('X')) +""") + run_env.write('input', "X on X this X line X\n") + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + test = TestCmd.TestCmd(program = 'run', interpreter = 'python', workdir = '') + test.run(arguments = 'input') + assert test.stdout() == "Y on Y this Y line Y\n" + test.run(stdin = "X is X here X tooX\n") + assert test.stdout() == "Y is Y here Y tooY\n" + test.run(stdin = """X here X +X there X +""") + assert test.stdout() == "Y here Y\nY there Y\n" + test.run(stdin = ["X line X\n", "X another X\n"]) + assert test.stdout() == "Y line Y\nY another Y\n" + + + +class stdout_TestCase(TestCmdTestCase): + def test_stdout(self): + """Test stdout()""" + run_env = TestCmd.TestCmd(workdir = '') + run_env.write('run1', """import sys +sys.stdout.write("run1 STDOUT %s\\n" % sys.argv[1:]) +sys.stdout.write("run1 STDOUT second line\\n") +sys.stderr.write("run1 STDERR %s\\n" % sys.argv[1:]) +sys.stderr.write("run1 STDERR second line\\n") +""") + run_env.write('run2', """import sys +sys.stdout.write("run2 STDOUT %s\\n" % sys.argv[1:]) +sys.stdout.write("run2 STDOUT second line\\n") +sys.stderr.write("run2 STDERR %s\\n" % sys.argv[1:]) +sys.stderr.write("run2 STDERR second line\\n") +""") + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + test = TestCmd.TestCmd(interpreter = 'python', workdir = '') + try: + output = test.stdout() + except IndexError: + pass + else: + raise IndexError("got unexpected output:\n\t`%s'\n" % output) + test.program_set('run1') + test.run(arguments = 'foo bar') + test.program_set('run2') + test.run(arguments = 'snafu') + # XXX SHOULD TEST ABSOLUTE NUMBER AS WELL + output = test.stdout() + assert output == "run2 STDOUT ['snafu']\nrun2 STDOUT second line\n", output + output = test.stdout(run = -1) + assert output == "run1 STDOUT ['foo', 'bar']\nrun1 STDOUT second line\n", output + + + +class subdir_TestCase(TestCmdTestCase): + def test_subdir(self): + """Test subdir()""" + test = TestCmd.TestCmd(workdir = '', subdir = ['no', 'such', 'subdir']) + assert not os.path.exists(test.workpath('no')) + + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + assert test.subdir('bar') == 1 + assert test.subdir(['foo', 'succeed']) == 1 + if os.name != "nt": + os.chmod(test.workpath('foo'), 0500) + assert test.subdir(['foo', 'fail']) == 0 + assert test.subdir(['sub', 'dir', 'ectory'], 'sub') == 1 + assert test.subdir('one', + UserList.UserList(['one', 'two']), + ['one', 'two', 'three']) == 3 + assert os.path.isdir(test.workpath('foo')) + assert os.path.isdir(test.workpath('bar')) + assert os.path.isdir(test.workpath('foo', 'succeed')) + if os.name != "nt": + assert not os.path.exists(test.workpath('foo', 'fail')) + assert os.path.isdir(test.workpath('sub')) + assert not os.path.exists(test.workpath('sub', 'dir')) + assert not os.path.exists(test.workpath('sub', 'dir', 'ectory')) + assert os.path.isdir(test.workpath('one', 'two', 'three')) + + + +class symlink_TestCase(TestCmdTestCase): + def test_symlink(self): + """Test symlink()""" + try: os.symlink + except AttributeError: return + + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + wdir_file1 = os.path.join(test.workdir, 'file1') + wdir_target1 = os.path.join(test.workdir, 'target1') + wdir_foo_file2 = os.path.join(test.workdir, 'foo', 'file2') + wdir_target2 = os.path.join(test.workdir, 'target2') + wdir_foo_target2 = os.path.join(test.workdir, 'foo', 'target2') + + test.symlink('target1', 'file1') + assert os.path.islink(wdir_file1) + assert not os.path.exists(wdir_file1) + open(wdir_target1, 'w').write("") + assert os.path.exists(wdir_file1) + + test.symlink('target2', ['foo', 'file2']) + assert os.path.islink(wdir_foo_file2) + assert not os.path.exists(wdir_foo_file2) + open(wdir_target2, 'w').write("") + assert not os.path.exists(wdir_foo_file2) + open(wdir_foo_target2, 'w').write("") + assert os.path.exists(wdir_foo_file2) + + + +class tempdir_TestCase(TestCmdTestCase): + def setUp(self): + TestCmdTestCase.setUp(self) + self._tempdir = tempfile.mktemp() + os.mkdir(self._tempdir) + os.chdir(self._tempdir) + + def tearDown(self): + TestCmdTestCase.tearDown(self) + os.rmdir(self._tempdir) + + def test_tempdir(self): + """Test tempdir()""" + test = TestCmd.TestCmd() + tdir1 = test.tempdir() + assert os.path.isdir(tdir1) + test.workdir_set(None) + test.cleanup() + assert not os.path.exists(tdir1) + + test = TestCmd.TestCmd() + tdir2 = test.tempdir('temp') + assert os.path.isdir(tdir2) + tdir3 = test.tempdir() + assert os.path.isdir(tdir3) + test.workdir_set(None) + test.cleanup() + assert not os.path.exists(tdir2) + assert not os.path.exists(tdir3) + + +timeout_script = """\ +import sys +import time +seconds = int(sys.argv[1]) +sys.stdout.write('sleeping %s\\n' % seconds) +sys.stdout.flush() +time.sleep(seconds) +sys.stdout.write('slept %s\\n' % seconds) +sys.stdout.flush() +sys.exit(0) +""" + +class timeout_TestCase(TestCmdTestCase): + def test_initialization(self): + """Test initialization timeout""" + test = TestCmd.TestCmd(workdir='', timeout=2) + test.write('sleep.py', timeout_script) + + test.run([sys.executable, test.workpath('sleep.py'), '4']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 4\n', test.stdout() + + test.run([sys.executable, test.workpath('sleep.py'), '4']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 4\n', test.stdout() + + def test_cancellation(self): + """Test timer cancellation after firing""" + test = TestCmd.TestCmd(workdir='', timeout=4) + test.write('sleep.py', timeout_script) + + test.run([sys.executable, test.workpath('sleep.py'), '6']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 6\n', test.stdout() + + test.run([sys.executable, test.workpath('sleep.py'), '2']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 2\nslept 2\n', test.stdout() + + test.run([sys.executable, test.workpath('sleep.py'), '6']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 6\n', test.stdout() + + def test_run(self): + """Test run() timeout""" + test = TestCmd.TestCmd(workdir='', timeout=8) + test.write('sleep.py', timeout_script) + + test.run([sys.executable, test.workpath('sleep.py'), '2'], + timeout=4) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 2\nslept 2\n', test.stdout() + + test.run([sys.executable, test.workpath('sleep.py'), '6'], + timeout=4) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 6\n', test.stdout() + + def test_set_timeout(self): + """Test set_timeout()""" + test = TestCmd.TestCmd(workdir='', timeout=2) + test.write('sleep.py', timeout_script) + + test.run([sys.executable, test.workpath('sleep.py'), '4']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 4\n', test.stdout() + + test.set_timeout(None) + + test.run([sys.executable, test.workpath('sleep.py'), '4']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 4\nslept 4\n', test.stdout() + + test.set_timeout(6) + + test.run([sys.executable, test.workpath('sleep.py'), '4']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 4\nslept 4\n', test.stdout() + + test.run([sys.executable, test.workpath('sleep.py'), '8']) + assert test.stderr() == '', test.stderr() + assert test.stdout() == 'sleeping 8\n', test.stdout() + + + +class unlink_TestCase(TestCmdTestCase): + def test_unlink(self): + """Test unlink()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + wdir_file1 = os.path.join(test.workdir, 'file1') + wdir_file2 = os.path.join(test.workdir, 'file2') + wdir_foo_file3a = os.path.join(test.workdir, 'foo', 'file3a') + wdir_foo_file3b = os.path.join(test.workdir, 'foo', 'file3b') + wdir_foo_file4 = os.path.join(test.workdir, 'foo', 'file4') + wdir_file5 = os.path.join(test.workdir, 'file5') + + open(wdir_file1, 'w').write("") + open(wdir_file2, 'w').write("") + open(wdir_foo_file3a, 'w').write("") + open(wdir_foo_file3b, 'w').write("") + open(wdir_foo_file4, 'w').write("") + open(wdir_file5, 'w').write("") + + try: + contents = test.unlink('no_file') + except OSError: # expect "No such file or directory" + pass + except: + raise + + test.unlink("file1") + assert not os.path.exists(wdir_file1) + + test.unlink(wdir_file2) + assert not os.path.exists(wdir_file2) + + test.unlink(['foo', 'file3a']) + assert not os.path.exists(wdir_foo_file3a) + + test.unlink(UserList.UserList(['foo', 'file3b'])) + assert not os.path.exists(wdir_foo_file3b) + + test.unlink([test.workdir, 'foo', 'file4']) + assert not os.path.exists(wdir_foo_file4) + + # Make it so we can't unlink file5. + # For UNIX, remove write permission from the dir and the file. + # For Windows, open the file. + os.chmod(test.workdir, 0500) + os.chmod(wdir_file5, 0400) + f = open(wdir_file5, 'r') + + try: + try: + test.unlink('file5') + except OSError: # expect "Permission denied" + pass + except: + raise + finally: + os.chmod(test.workdir, 0700) + os.chmod(wdir_file5, 0600) + f.close() + + + +class touch_TestCase(TestCmdTestCase): + def test_touch(self): + """Test touch()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'sub') + + wdir_file1 = os.path.join(test.workdir, 'file1') + wdir_sub_file2 = os.path.join(test.workdir, 'sub', 'file2') + + open(wdir_file1, 'w').write("") + open(wdir_sub_file2, 'w').write("") + + file1_old_time = os.path.getmtime(wdir_file1) + file2_old_time = os.path.getmtime(wdir_sub_file2) + + test.sleep() + + test.touch(wdir_file1) + + file1_new_time = os.path.getmtime(wdir_file1) + assert file1_new_time > file1_old_time + + test.touch('file1', file1_old_time) + + result = os.path.getmtime(wdir_file1) + # Sub-second granularity of file systems may still vary. + # On Windows, the two times may be off by a microsecond. + assert int(result) == int(file1_old_time), (result, file1_old_time) + + test.touch(['sub', 'file2']) + + file2_new_time = os.path.getmtime(wdir_sub_file2) + assert file2_new_time > file2_old_time + + + +class verbose_TestCase(TestCmdTestCase): + def test_verbose(self): + """Test verbose()""" + test = TestCmd.TestCmd() + assert test.verbose == 0, 'verbose already initialized?' + test = TestCmd.TestCmd(verbose = 1) + assert test.verbose == 1, 'did not initialize verbose' + test.verbose = 2 + assert test.verbose == 2, 'did not set verbose' + + + +class workdir_TestCase(TestCmdTestCase): + def test_workdir(self): + """Test workdir()""" + run_env = TestCmd.TestCmd(workdir = '') + os.chdir(run_env.workdir) + # Everything before this prepared our "source directory." + # Now do the real test. + test = TestCmd.TestCmd() + assert test.workdir is None + + test = TestCmd.TestCmd(workdir = None) + assert test.workdir is None + + test = TestCmd.TestCmd(workdir = '') + assert test.workdir != None + assert os.path.isdir(test.workdir) + + test = TestCmd.TestCmd(workdir = 'dir') + assert test.workdir != None + assert os.path.isdir(test.workdir) + + no_such_subdir = os.path.join('no', 'such', 'subdir') + try: + test = TestCmd.TestCmd(workdir = no_such_subdir) + except OSError: # expect "No such file or directory" + pass + except: + raise + + test = TestCmd.TestCmd(workdir = 'foo') + workdir_foo = test.workdir + assert workdir_foo != None + + test.workdir_set('bar') + workdir_bar = test.workdir + assert workdir_bar != None + + try: + test.workdir_set(no_such_subdir) + except OSError: + pass # expect "No such file or directory" + except: + raise + assert workdir_bar == test.workdir + + assert os.path.isdir(workdir_foo) + assert os.path.isdir(workdir_bar) + + + +class workdirs_TestCase(TestCmdTestCase): + def test_workdirs(self): + """Test workdirs()""" + test = TestCmd.TestCmd() + assert test.workdir is None + test.workdir_set('') + wdir1 = test.workdir + test.workdir_set('') + wdir2 = test.workdir + assert os.path.isdir(wdir1) + assert os.path.isdir(wdir2) + test.cleanup() + assert not os.path.exists(wdir1) + assert not os.path.exists(wdir2) + + + +class workpath_TestCase(TestCmdTestCase): + def test_workpath(self): + """Test workpath()""" + test = TestCmd.TestCmd() + assert test.workdir is None + + test = TestCmd.TestCmd(workdir = '') + wpath = test.workpath('foo', 'bar') + assert wpath == os.path.join(test.workdir, 'foo', 'bar') + + + +class readable_TestCase(TestCmdTestCase): + def test_readable(self): + """Test readable()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + test.write('file1', "Test file #1\n") + test.write(['foo', 'file2'], "Test file #2\n") + + try: symlink = os.symlink + except AttributeError: pass + else: symlink('no_such_file', test.workpath('dangling_symlink')) + + test.readable(test.workdir, 0) + # XXX skip these tests if euid == 0? + assert not _is_readable(test.workdir) + assert not _is_readable(test.workpath('file1')) + assert not _is_readable(test.workpath('foo')) + assert not _is_readable(test.workpath('foo', 'file2')) + + test.readable(test.workdir, 1) + assert _is_readable(test.workdir) + assert _is_readable(test.workpath('file1')) + assert _is_readable(test.workpath('foo')) + assert _is_readable(test.workpath('foo', 'file2')) + + test.readable(test.workdir, 0) + # XXX skip these tests if euid == 0? + assert not _is_readable(test.workdir) + assert not _is_readable(test.workpath('file1')) + assert not _is_readable(test.workpath('foo')) + assert not _is_readable(test.workpath('foo', 'file2')) + + test.readable(test.workpath('file1'), 1) + assert _is_readable(test.workpath('file1')) + + test.readable(test.workpath('file1'), 0) + assert not _is_readable(test.workpath('file1')) + + test.readable(test.workdir, 1) + + + +class writable_TestCase(TestCmdTestCase): + def test_writable(self): + """Test writable()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + test.write('file1', "Test file #1\n") + test.write(['foo', 'file2'], "Test file #2\n") + + try: symlink = os.symlink + except AttributeError: pass + else: symlink('no_such_file', test.workpath('dangling_symlink')) + + test.writable(test.workdir, 0) + # XXX skip these tests if euid == 0? + assert not _is_writable(test.workdir) + assert not _is_writable(test.workpath('file1')) + assert not _is_writable(test.workpath('foo')) + assert not _is_writable(test.workpath('foo', 'file2')) + + test.writable(test.workdir, 1) + assert _is_writable(test.workdir) + assert _is_writable(test.workpath('file1')) + assert _is_writable(test.workpath('foo')) + assert _is_writable(test.workpath('foo', 'file2')) + + test.writable(test.workdir, 0) + # XXX skip these tests if euid == 0? + assert not _is_writable(test.workdir) + assert not _is_writable(test.workpath('file1')) + assert not _is_writable(test.workpath('foo')) + assert not _is_writable(test.workpath('foo', 'file2')) + + test.writable(test.workpath('file1'), 1) + assert _is_writable(test.workpath('file1')) + + test.writable(test.workpath('file1'), 0) + assert not _is_writable(test.workpath('file1')) + + + +class executable_TestCase(TestCmdTestCase): + def test_executable(self): + """Test executable()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + test.write('file1', "Test file #1\n") + test.write(['foo', 'file2'], "Test file #2\n") + + try: symlink = os.symlink + except AttributeError: pass + else: symlink('no_such_file', test.workpath('dangling_symlink')) + + def make_executable(fname): + st = os.stat(fname) + os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]|0100)) + + def make_non_executable(fname): + st = os.stat(fname) + os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]&~0100)) + + test.executable(test.workdir, 0) + # XXX skip these tests if euid == 0? + assert not _is_executable(test.workdir) + make_executable(test.workdir) + assert not _is_executable(test.workpath('file1')) + assert not _is_executable(test.workpath('foo')) + make_executable(test.workpath('foo')) + assert not _is_executable(test.workpath('foo', 'file2')) + make_non_executable(test.workpath('foo')) + make_non_executable(test.workdir) + + test.executable(test.workdir, 1) + assert _is_executable(test.workdir) + assert _is_executable(test.workpath('file1')) + assert _is_executable(test.workpath('foo')) + assert _is_executable(test.workpath('foo', 'file2')) + + test.executable(test.workdir, 0) + # XXX skip these tests if euid == 0? + assert not _is_executable(test.workdir) + make_executable(test.workdir) + assert not _is_executable(test.workpath('file1')) + assert not _is_executable(test.workpath('foo')) + make_executable(test.workpath('foo')) + assert not _is_executable(test.workpath('foo', 'file2')) + + test.executable(test.workpath('file1'), 1) + assert _is_executable(test.workpath('file1')) + + test.executable(test.workpath('file1'), 0) + assert not _is_executable(test.workpath('file1')) + + test.executable(test.workdir, 1) + + + +class write_TestCase(TestCmdTestCase): + def test_write(self): + """Test write()""" + test = TestCmd.TestCmd(workdir = '', subdir = 'foo') + test.write('file1', "Test file #1\n") + test.write(['foo', 'file2'], "Test file #2\n") + try: + test.write(['bar', 'file3'], "Test file #3 (should not get created)\n") + except IOError: # expect "No such file or directory" + pass + except: + raise + test.write(test.workpath('file4'), "Test file #4.\n") + test.write(test.workpath('foo', 'file5'), "Test file #5.\n") + try: + test.write(test.workpath('bar', 'file6'), "Test file #6 (should not get created)\n") + except IOError: # expect "No such file or directory" + pass + except: + raise + + try: + test.write('file7', "Test file #8.\n", mode = 'r') + except ValueError: # expect "mode must begin with 'w' + pass + except: + raise + + test.write('file8', "Test file #8.\n", mode = 'w') + test.write('file9', "Test file #9.\r\n", mode = 'wb') + + if os.name != "nt": + os.chmod(test.workdir, 0500) + try: + test.write('file10', "Test file #10 (should not get created).\n") + except IOError: # expect "Permission denied" + pass + except: + raise + + assert os.path.isdir(test.workpath('foo')) + assert not os.path.exists(test.workpath('bar')) + assert os.path.isfile(test.workpath('file1')) + assert os.path.isfile(test.workpath('foo', 'file2')) + assert not os.path.exists(test.workpath('bar', 'file3')) + assert os.path.isfile(test.workpath('file4')) + assert os.path.isfile(test.workpath('foo', 'file5')) + assert not os.path.exists(test.workpath('bar', 'file6')) + assert not os.path.exists(test.workpath('file7')) + assert os.path.isfile(test.workpath('file8')) + assert os.path.isfile(test.workpath('file9')) + if os.name != "nt": + assert not os.path.exists(test.workpath('file10')) + + assert open(test.workpath('file8'), 'r').read() == "Test file #8.\n" + assert open(test.workpath('file9'), 'rb').read() == "Test file #9.\r\n" + + + +class variables_TestCase(TestCmdTestCase): + def test_variables(self): + """Test global variables""" + run_env = TestCmd.TestCmd(workdir = '') + + variables = [ + 'fail_test', + 'no_result', + 'pass_test', + 'match_exact', + 'match_re', + 'match_re_dotall', + 'python', + '_python_', + 'TestCmd', + ] + + script = "import TestCmd\n" + \ + '\n'.join([ "print TestCmd.%s\n" % v for v in variables ]) + run_env.run(program=sys.executable, stdin=script) + stderr = run_env.stderr() + assert stderr == "", stderr + + script = "from TestCmd import *\n" + \ + '\n'.join([ "print %s" % v for v in variables ]) + run_env.run(program=sys.executable, stdin=script) + stderr = run_env.stderr() + assert stderr == "", stderr + + + +if __name__ == "__main__": + tclasses = [ + __init__TestCase, + basename_TestCase, + cleanup_TestCase, + chmod_TestCase, + combine_TestCase, + command_args_TestCase, + description_TestCase, + diff_TestCase, + diff_stderr_TestCase, + diff_stdout_TestCase, + exit_TestCase, + fail_test_TestCase, + interpreter_TestCase, + match_TestCase, + match_exact_TestCase, + match_re_dotall_TestCase, + match_re_TestCase, + match_stderr_TestCase, + match_stdout_TestCase, + no_result_TestCase, + pass_test_TestCase, + preserve_TestCase, + program_TestCase, + read_TestCase, + rmdir_TestCase, + run_TestCase, + run_verbose_TestCase, + set_diff_function_TestCase, + set_match_function_TestCase, + sleep_TestCase, + start_TestCase, + stderr_TestCase, + stdin_TestCase, + stdout_TestCase, + subdir_TestCase, + symlink_TestCase, + tempdir_TestCase, + timeout_TestCase, + unlink_TestCase, + touch_TestCase, + verbose_TestCase, + workdir_TestCase, + workdirs_TestCase, + workpath_TestCase, + writable_TestCase, + write_TestCase, + variables_TestCase, + ] + if sys.platform != 'win32': + tclasses.extend([ + executable_TestCase, + readable_TestCase, + ]) + suite = unittest.TestSuite() + for tclass in tclasses: + names = unittest.getTestCaseNames(tclass, 'test_') + suite.addTests([ tclass(n) for n in names ]) + if not unittest.TextTestRunner().run(suite).wasSuccessful(): + sys.exit(1) + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestCommon.py b/QMTest/TestCommon.py new file mode 100644 index 0000000..4e90e16 --- /dev/null +++ b/QMTest/TestCommon.py @@ -0,0 +1,739 @@ +""" +TestCommon.py: a testing framework for commands and scripts + with commonly useful error handling + +The TestCommon module provides a simple, high-level interface for writing +tests of executable commands and scripts, especially commands and scripts +that interact with the file system. All methods throw exceptions and +exit on failure, with useful error messages. This makes a number of +explicit checks unnecessary, making the test scripts themselves simpler +to write and easier to read. + +The TestCommon class is a subclass of the TestCmd class. In essence, +TestCommon is a wrapper that handles common TestCmd error conditions in +useful ways. You can use TestCommon directly, or subclass it for your +program and add additional (or override) methods to tailor it to your +program's specific needs. Alternatively, the TestCommon class serves +as a useful example of how to define your own TestCmd subclass. + +As a subclass of TestCmd, TestCommon provides access to all of the +variables and methods from the TestCmd module. Consequently, you can +use any variable or method documented in the TestCmd module without +having to explicitly import TestCmd. + +A TestCommon environment object is created via the usual invocation: + + import TestCommon + test = TestCommon.TestCommon() + +You can use all of the TestCmd keyword arguments when instantiating a +TestCommon object; see the TestCmd documentation for details. + +Here is an overview of the methods and keyword arguments that are +provided by the TestCommon class: + + test.must_be_writable('file1', ['file2', ...]) + + test.must_contain('file', 'required text\n') + + test.must_contain_all_lines(output, lines, ['title', find]) + + test.must_contain_any_line(output, lines, ['title', find]) + + test.must_contain_exactly_lines(output, lines, ['title', find]) + + test.must_exist('file1', ['file2', ...]) + + test.must_match('file', "expected contents\n") + + test.must_not_be_writable('file1', ['file2', ...]) + + test.must_not_contain('file', 'banned text\n') + + test.must_not_contain_any_line(output, lines, ['title', find]) + + test.must_not_exist('file1', ['file2', ...]) + + test.run(options = "options to be prepended to arguments", + stdout = "expected standard output from the program", + stderr = "expected error output from the program", + status = expected_status, + match = match_function) + +The TestCommon module also provides the following variables + + TestCommon.python + TestCommon._python_ + TestCommon.exe_suffix + TestCommon.obj_suffix + TestCommon.shobj_prefix + TestCommon.shobj_suffix + TestCommon.lib_prefix + TestCommon.lib_suffix + TestCommon.dll_prefix + TestCommon.dll_suffix + +""" + +# Copyright 2000-2010 Steven Knight +# This module is free software, and you may redistribute it and/or modify +# it under the same terms as Python itself, so long as this copyright message +# and disclaimer are retained in their original form. +# +# IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +# SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF +# THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +# DAMAGE. +# +# THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +# PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, +# AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +__author__ = "Steven Knight " +__revision__ = "TestCommon.py 1.3.D001 2010/06/03 12:58:27 knight" +__version__ = "1.3" + +import copy +import os +import stat +import sys +import glob + +try: + from collections import UserList +except ImportError: + # no 'collections' module or no UserList in collections + exec('from UserList import UserList') + +from TestCmd import * +from TestCmd import __all__ + +__all__.extend([ 'TestCommon', + 'exe_suffix', + 'obj_suffix', + 'shobj_prefix', + 'shobj_suffix', + 'lib_prefix', + 'lib_suffix', + 'dll_prefix', + 'dll_suffix', + ]) + +try: + sorted +except NameError: + # Pre-2.4 Python has no sorted() function. + # + # The pre-2.4 Python list.sort() method does not support + # list.sort(key=) nor list.sort(reverse=) keyword arguments, so + # we must implement the functionality of those keyword arguments + # by hand instead of passing them to list.sort(). + def sorted(iterable, cmp=None, key=None, reverse=False): + if key is not None: + result = [(key(x), x) for x in iterable] + else: + result = iterable[:] + if cmp is None: + # Pre-2.3 Python does not support list.sort(None). + result.sort() + else: + result.sort(cmp) + if key is not None: + result = [t1 for t0,t1 in result] + if reverse: + result.reverse() + return result + +# Variables that describe the prefixes and suffixes on this system. +if sys.platform == 'win32': + exe_suffix = '.exe' + obj_suffix = '.obj' + shobj_suffix = '.obj' + shobj_prefix = '' + lib_prefix = '' + lib_suffix = '.lib' + dll_prefix = '' + dll_suffix = '.dll' +elif sys.platform == 'cygwin': + exe_suffix = '.exe' + obj_suffix = '.o' + shobj_suffix = '.os' + shobj_prefix = '' + lib_prefix = 'lib' + lib_suffix = '.a' + dll_prefix = 'cyg' + dll_suffix = '.dll' +elif sys.platform.find('irix') != -1: + exe_suffix = '' + obj_suffix = '.o' + shobj_suffix = '.o' + shobj_prefix = '' + lib_prefix = 'lib' + lib_suffix = '.a' + dll_prefix = 'lib' + dll_suffix = '.so' +elif sys.platform.find('darwin') != -1: + exe_suffix = '' + obj_suffix = '.o' + shobj_suffix = '.os' + shobj_prefix = '' + lib_prefix = 'lib' + lib_suffix = '.a' + dll_prefix = 'lib' + dll_suffix = '.dylib' +elif sys.platform.find('sunos') != -1: + exe_suffix = '' + obj_suffix = '.o' + shobj_suffix = '.o' + shobj_prefix = 'so_' + lib_prefix = 'lib' + lib_suffix = '.a' + dll_prefix = 'lib' + dll_suffix = '.so' +else: + exe_suffix = '' + obj_suffix = '.o' + shobj_suffix = '.os' + shobj_prefix = '' + lib_prefix = 'lib' + lib_suffix = '.a' + dll_prefix = 'lib' + dll_suffix = '.so' + +def is_List(e): + return isinstance(e, (list, UserList)) + +def is_Tuple(e): + return isinstance(e, tuple) + +def is_Sequence(e): + return (not hasattr(e, "strip") and + hasattr(e, "__getitem__") or + hasattr(e, "__iter__")) + +def is_writable(f): + mode = os.stat(f)[stat.ST_MODE] + return mode & stat.S_IWUSR + +def separate_files(flist): + existing = [] + missing = [] + for f in flist: + if os.path.exists(f): + existing.append(f) + else: + missing.append(f) + return existing, missing + +if os.name == 'posix': + def _failed(self, status = 0): + if self.status is None or status is None: + return None + return _status(self) != status + def _status(self): + return self.status +elif os.name == 'nt': + def _failed(self, status = 0): + return not (self.status is None or status is None) and \ + self.status != status + def _status(self): + return self.status + +class TestCommon(TestCmd): + + # Additional methods from the Perl Test::Cmd::Common module + # that we may wish to add in the future: + # + # $test->subdir('subdir', ...); + # + # $test->copy('src_file', 'dst_file'); + + def __init__(self, **kw): + """Initialize a new TestCommon instance. This involves just + calling the base class initialization, and then changing directory + to the workdir. + """ + TestCmd.__init__(self, **kw) + os.chdir(self.workdir) + + def options_arguments(self, options, arguments): + """Merges the "options" keyword argument with the arguments.""" + if options: + if arguments is None: + return options + if isinstance(options, str): + options = [options] + if isinstance(arguments, str): + arguments = [arguments] + arguments = ' '.join(options + arguments) + return arguments + + def must_be_writable(self, *files): + """Ensures that the specified file(s) exist and are writable. + An individual file can be specified as a list of directory names, + in which case the pathname will be constructed by concatenating + them. Exits FAILED if any of the files does not exist or is + not writable. + """ + files = [is_List(x) and os.path.join(*x) or x for x in files] + existing, missing = separate_files(files) + unwritable = [x for x in existing if not is_writable(x)] + if missing: + print "Missing files: `%s'" % "', `".join(missing) + if unwritable: + print "Unwritable files: `%s'" % "', `".join(unwritable) + self.fail_test(missing + unwritable) + + def must_contain(self, file, required, mode = 'rb', find = None): + """Ensures that the specified file contains the required text. + """ + file_contents = self.read(file, mode) + if find is None: + def find(o, l): + try: + return o.index(l) + except ValueError: + return None + contains = find(file_contents, required) + if not contains: + print "File `%s' does not contain required string." % file + print self.banner('Required string ') + print required + print self.banner('%s contents ' % file) + print file_contents + self.fail_test(not contains) + + def must_contain_all_lines(self, output, lines, title=None, find=None): + """Ensures that the specified output string (first argument) + contains all of the specified lines (second argument). + + An optional third argument can be used to describe the type + of output being searched, and only shows up in failure output. + + An optional fourth argument can be used to supply a different + function, of the form "find(line, output), to use when searching + for lines in the output. + """ + if find is None: + def find(o, l): + try: + return o.index(l) + except ValueError: + return None + missing = [] + if is_List(output): + output = '\n'.join(output) + + for line in lines: + if find(output, line) is None: + missing.append(line) + + if missing: + if title is None: + title = 'output' + sys.stdout.write("Missing expected lines from %s:\n" % title) + for line in missing: + sys.stdout.write(' ' + repr(line) + '\n') + sys.stdout.write(self.banner(title + ' ') + '\n') + sys.stdout.write(output) + self.fail_test() + + def must_contain_any_line(self, output, lines, title=None, find=None): + """Ensures that the specified output string (first argument) + contains at least one of the specified lines (second argument). + + An optional third argument can be used to describe the type + of output being searched, and only shows up in failure output. + + An optional fourth argument can be used to supply a different + function, of the form "find(line, output), to use when searching + for lines in the output. + """ + if find is None: + def find(o, l): + try: + return o.index(l) + except ValueError: + return None + for line in lines: + if find(output, line) is not None: + return + + if title is None: + title = 'output' + sys.stdout.write("Missing any expected line from %s:\n" % title) + for line in lines: + sys.stdout.write(' ' + repr(line) + '\n') + sys.stdout.write(self.banner(title + ' ') + '\n') + sys.stdout.write(output) + self.fail_test() + + def must_contain_exactly_lines(self, output, expect, title=None, find=None): + """Ensures that the specified output string (first argument) + contains all of the lines in the expected string (second argument) + with none left over. + + An optional third argument can be used to describe the type + of output being searched, and only shows up in failure output. + + An optional fourth argument can be used to supply a different + function, of the form "find(line, output), to use when searching + for lines in the output. The function must return the index + of the found line in the output, or None if the line is not found. + """ + out = output.splitlines() + if is_List(expect): + exp = [ e.rstrip('\n') for e in expect ] + else: + exp = expect.splitlines() + if sorted(out) == sorted(exp): + # early out for exact match + return + if find is None: + def find(o, l): + try: + return o.index(l) + except ValueError: + return None + missing = [] + for line in exp: + found = find(out, line) + if found is None: + missing.append(line) + else: + out.pop(found) + + if not missing and not out: + # all lines were matched + return + + if title is None: + title = 'output' + if missing: + sys.stdout.write("Missing expected lines from %s:\n" % title) + for line in missing: + sys.stdout.write(' ' + repr(line) + '\n') + sys.stdout.write(self.banner('Missing %s ' % title) + '\n') + if out: + sys.stdout.write("Extra unexpected lines from %s:\n" % title) + for line in out: + sys.stdout.write(' ' + repr(line) + '\n') + sys.stdout.write(self.banner('Extra %s ' % title) + '\n') + sys.stdout.flush() + self.fail_test() + + def must_contain_lines(self, lines, output, title=None, find = None): + # Deprecated; retain for backwards compatibility. + return self.must_contain_all_lines(output, lines, title, find) + + def must_exist(self, *files): + """Ensures that the specified file(s) must exist. An individual + file be specified as a list of directory names, in which case the + pathname will be constructed by concatenating them. Exits FAILED + if any of the files does not exist. + """ + files = [is_List(x) and os.path.join(*x) or x for x in files] + missing = [x for x in files if not os.path.exists(x) and not os.path.islink(x) ] + if missing: + print "Missing files: `%s'" % "', `".join(missing) + self.fail_test(missing) + + def must_exist_one_of(self, files): + """Ensures that at least one of the specified file(s) exists. + The filenames can be given as a list, where each entry may be + a single path string, or a tuple of folder names and the final + filename that get concatenated. + Supports wildcard names like 'foo-1.2.3-*.rpm'. + Exits FAILED if none of the files exists. + """ + missing = [] + for x in files: + if is_List(x) or is_Tuple(x): + xpath = os.path.join(*x) + else: + xpath = is_Sequence(x) and os.path.join(x) or x + if glob.glob(xpath): + return + missing.append(xpath) + print "Missing one of: `%s'" % "', `".join(missing) + self.fail_test(missing) + + def must_match(self, file, expect, mode = 'rb', match=None): + """Matches the contents of the specified file (first argument) + against the expected contents (second argument). The expected + contents are a list of lines or a string which will be split + on newlines. + """ + file_contents = self.read(file, mode) + if not match: + match = self.match + try: + self.fail_test(not match(file_contents, expect)) + except KeyboardInterrupt: + raise + except: + print "Unexpected contents of `%s'" % file + self.diff(expect, file_contents, 'contents ') + raise + + def must_not_contain(self, file, banned, mode = 'rb', find = None): + """Ensures that the specified file doesn't contain the banned text. + """ + file_contents = self.read(file, mode) + if find is None: + def find(o, l): + try: + return o.index(l) + except ValueError: + return None + contains = find(file_contents, banned) + if contains: + print "File `%s' contains banned string." % file + print self.banner('Banned string ') + print banned + print self.banner('%s contents ' % file) + print file_contents + self.fail_test(contains) + + def must_not_contain_any_line(self, output, lines, title=None, find=None): + """Ensures that the specified output string (first argument) + does not contain any of the specified lines (second argument). + + An optional third argument can be used to describe the type + of output being searched, and only shows up in failure output. + + An optional fourth argument can be used to supply a different + function, of the form "find(line, output), to use when searching + for lines in the output. + """ + if find is None: + def find(o, l): + try: + return o.index(l) + except ValueError: + return None + unexpected = [] + for line in lines: + if find(output, line) is not None: + unexpected.append(line) + + if unexpected: + if title is None: + title = 'output' + sys.stdout.write("Unexpected lines in %s:\n" % title) + for line in unexpected: + sys.stdout.write(' ' + repr(line) + '\n') + sys.stdout.write(self.banner(title + ' ') + '\n') + sys.stdout.write(output) + self.fail_test() + + def must_not_contain_lines(self, lines, output, title=None, find=None): + return self.must_not_contain_any_line(output, lines, title, find) + + def must_not_exist(self, *files): + """Ensures that the specified file(s) must not exist. + An individual file be specified as a list of directory names, in + which case the pathname will be constructed by concatenating them. + Exits FAILED if any of the files exists. + """ + files = [is_List(x) and os.path.join(*x) or x for x in files] + existing = [x for x in files if os.path.exists(x) or os.path.islink(x)] + if existing: + print "Unexpected files exist: `%s'" % "', `".join(existing) + self.fail_test(existing) + + def must_not_exist_any_of(self, files): + """Ensures that none of the specified file(s) exists. + The filenames can be given as a list, where each entry may be + a single path string, or a tuple of folder names and the final + filename that get concatenated. + Supports wildcard names like 'foo-1.2.3-*.rpm'. + Exits FAILED if any of the files exists. + """ + existing = [] + for x in files: + if is_List(x) or is_Tuple(x): + xpath = os.path.join(*x) + else: + xpath = is_Sequence(x) and os.path.join(x) or x + if glob.glob(xpath): + existing.append(xpath) + if existing: + print "Unexpected files exist: `%s'" % "', `".join(existing) + self.fail_test(existing) + + def must_not_be_writable(self, *files): + """Ensures that the specified file(s) exist and are not writable. + An individual file can be specified as a list of directory names, + in which case the pathname will be constructed by concatenating + them. Exits FAILED if any of the files does not exist or is + writable. + """ + files = [is_List(x) and os.path.join(*x) or x for x in files] + existing, missing = separate_files(files) + writable = list(filter(is_writable, existing)) + if missing: + print "Missing files: `%s'" % "', `".join(missing) + if writable: + print "Writable files: `%s'" % "', `".join(writable) + self.fail_test(missing + writable) + + def _complete(self, actual_stdout, expected_stdout, + actual_stderr, expected_stderr, status, match): + """ + Post-processes running a subcommand, checking for failure + status and displaying output appropriately. + """ + if _failed(self, status): + expect = '' + if status != 0: + expect = " (expected %s)" % str(status) + print "%s returned %s%s" % (self.program, _status(self), expect) + print self.banner('STDOUT ') + print actual_stdout + print self.banner('STDERR ') + print actual_stderr + self.fail_test() + if (expected_stdout is not None + and not match(actual_stdout, expected_stdout)): + self.diff(expected_stdout, actual_stdout, 'STDOUT ') + if actual_stderr: + print self.banner('STDERR ') + print actual_stderr + self.fail_test() + if (expected_stderr is not None + and not match(actual_stderr, expected_stderr)): + print self.banner('STDOUT ') + print actual_stdout + self.diff(expected_stderr, actual_stderr, 'STDERR ') + self.fail_test() + + def start(self, program = None, + interpreter = None, + options = None, + arguments = None, + universal_newlines = None, + **kw): + """ + Starts a program or script for the test environment, handling + any exceptions. + """ + arguments = self.options_arguments(options, arguments) + try: + return TestCmd.start(self, program, interpreter, arguments, + universal_newlines, **kw) + except KeyboardInterrupt: + raise + except Exception, e: + print self.banner('STDOUT ') + try: + print self.stdout() + except IndexError: + pass + print self.banner('STDERR ') + try: + print self.stderr() + except IndexError: + pass + cmd_args = self.command_args(program, interpreter, arguments) + sys.stderr.write('Exception trying to execute: %s\n' % cmd_args) + raise e + + def finish(self, popen, stdout = None, stderr = '', status = 0, **kw): + """ + Finishes and waits for the process being run under control of + the specified popen argument. Additional arguments are similar + to those of the run() method: + + stdout The expected standard output from + the command. A value of None means + don't test standard output. + + stderr The expected error output from + the command. A value of None means + don't test error output. + + status The expected exit status from the + command. A value of None means don't + test exit status. + """ + TestCmd.finish(self, popen, **kw) + match = kw.get('match', self.match) + self._complete(self.stdout(), stdout, + self.stderr(), stderr, status, match) + + def run(self, options = None, arguments = None, + stdout = None, stderr = '', status = 0, **kw): + """Runs the program under test, checking that the test succeeded. + + The parameters are the same as the base TestCmd.run() method, + with the addition of: + + options Extra options that get appended to the beginning + of the arguments. + + stdout The expected standard output from + the command. A value of None means + don't test standard output. + + stderr The expected error output from + the command. A value of None means + don't test error output. + + status The expected exit status from the + command. A value of None means don't + test exit status. + + By default, this expects a successful exit (status = 0), does + not test standard output (stdout = None), and expects that error + output is empty (stderr = ""). + """ + kw['arguments'] = self.options_arguments(options, arguments) + try: + match = kw['match'] + del kw['match'] + except KeyError: + match = self.match + TestCmd.run(self, **kw) + self._complete(self.stdout(), stdout, + self.stderr(), stderr, status, match) + + def skip_test(self, message="Skipping test.\n"): + """Skips a test. + + Proper test-skipping behavior is dependent on the external + TESTCOMMON_PASS_SKIPS environment variable. If set, we treat + the skip as a PASS (exit 0), and otherwise treat it as NO RESULT. + In either case, we print the specified message as an indication + that the substance of the test was skipped. + + (This was originally added to support development under Aegis. + Technically, skipping a test is a NO RESULT, but Aegis would + treat that as a test failure and prevent the change from going to + the next step. Since we ddn't want to force anyone using Aegis + to have to install absolutely every tool used by the tests, we + would actually report to Aegis that a skipped test has PASSED + so that the workflow isn't held up.) + """ + if message: + sys.stdout.write(message) + sys.stdout.flush() + pass_skips = os.environ.get('TESTCOMMON_PASS_SKIPS') + if pass_skips in [None, 0, '0']: + # skip=1 means skip this function when showing where this + # result came from. They only care about the line where the + # script called test.skip_test(), not the line number where + # we call test.no_result(). + self.no_result(skip=1) + else: + # We're under the development directory for this change, + # so this is an Aegis invocation; pass the test (exit 0). + self.pass_test() + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestCommonTests.py b/QMTest/TestCommonTests.py new file mode 100644 index 0000000..30b7d6a --- /dev/null +++ b/QMTest/TestCommonTests.py @@ -0,0 +1,2337 @@ +#!/usr/bin/env python +""" +TestCommonTests.py: Unit tests for the TestCommon.py module. + +Copyright 2000-2010 Steven Knight +This module is free software, and you may redistribute it and/or modify +it under the same terms as Python itself, so long as this copyright message +and disclaimer are retained in their original form. + +IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF +THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, +AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, +SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +""" + +__author__ = "Steven Knight " +__revision__ = "TestCommonTests.py 1.3.D001 2010/06/03 12:58:27 knight" + +import difflib +import os +import re +import signal +import stat +import sys +import unittest + +# Strip the current directory so we get the right TestCommon.py module. +sys.path = sys.path[1:] + +import TestCmd +import TestCommon + +def lstrip(s): + lines = [ _.expandtabs() for _ in s.split('\n') ] + if lines[0] == '': + lines = lines[1:] + spaces = len(re.match('^( *).*', lines[0]).group(1)) + if spaces: + lines = [ l[spaces:] for l in lines ] + return '\n'.join(lines) + +if sys.version[:3] == '1.5': + expected_newline = '\\012' +else: + expected_newline = '\\n' + +def assert_display(expect, result, error=None): + try: + expect = expect.pattern + except AttributeError: + pass + result = [ + '\n', + ('*'*80) + '\n', + expect, + ('*'*80) + '\n', + result, + ('*'*80) + '\n', + ] + if error: + result.append(error) + return ''.join(result) + + +class TestCommonTestCase(unittest.TestCase): + """Base class for TestCommon test cases, fixture and utility methods.""" + create_run_env = True + + def setUp(self): + self.orig_cwd = os.getcwd() + if self.create_run_env: + self.run_env = TestCmd.TestCmd(workdir = '') + + def tearDown(self): + os.chdir(self.orig_cwd) + + def set_up_execution_scripts(self): + run_env = self.run_env + + run_env.subdir('sub dir') + + self.python = sys.executable + + self.pass_script = run_env.workpath('sub dir', 'pass') + self.fail_script = run_env.workpath('sub dir', 'fail') + self.stdout_script = run_env.workpath('sub dir', 'stdout') + self.stderr_script = run_env.workpath('sub dir', 'stderr') + self.signal_script = run_env.workpath('sub dir', 'signal') + self.stdin_script = run_env.workpath('sub dir', 'stdin') + + preamble = "import sys" + stdout = "; sys.stdout.write(r'%s: STDOUT: ' + repr(sys.argv[1:]) + '\\n')" + stderr = "; sys.stderr.write(r'%s: STDERR: ' + repr(sys.argv[1:]) + '\\n')" + exit0 = "; sys.exit(0)" + exit1 = "; sys.exit(1)" + if sys.platform == 'win32': + wrapper = '@python -c "%s" %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9\n' + else: + wrapper = '#! /usr/bin/env python\n%s\n' + wrapper = '#! /usr/bin/env python\n%s\n' + + pass_body = preamble + stdout % self.pass_script + exit0 + fail_body = preamble + stdout % self.fail_script + exit1 + stderr_body = preamble + stderr % self.stderr_script + exit0 + + run_env.write(self.pass_script, wrapper % pass_body) + run_env.write(self.fail_script, wrapper % fail_body) + run_env.write(self.stderr_script, wrapper % stderr_body) + + signal_body = lstrip("""\ + import os + import signal + os.kill(os.getpid(), signal.SIGTERM) + """) + + run_env.write(self.signal_script, wrapper % signal_body) + + stdin_body = lstrip("""\ + import sys + input = sys.stdin.read()[:-1] + sys.stdout.write(r'%s: STDOUT: ' + repr(input) + '\\n') + sys.stderr.write(r'%s: STDERR: ' + repr(input) + '\\n') + """ % (self.stdin_script, self.stdin_script)) + + run_env.write(self.stdin_script, wrapper % stdin_body) + + def run_execution_test(self, script, expect_stdout, expect_stderr): + self.set_up_execution_scripts() + + run_env = self.run_env + + os.chdir(run_env.workpath('sub dir')) + + # Everything before this prepared our "source directory." + # Now do the real test. + script = script % self.__dict__ + run_env.run(program=sys.executable, stdin=script) + + stdout = run_env.stdout() + stderr = run_env.stderr() + + expect_stdout = expect_stdout % self.__dict__ + assert stdout == expect_stdout, assert_display(expect_stdout, + stdout, + stderr) + + try: + match = expect_stderr.match + except AttributeError: + expect_stderr = expect_stderr % self.__dict__ + assert stderr == expect_stderr, assert_display(expect_stderr, + stderr) + else: + assert expect_stderr.match(stderr), assert_display(expect_stderr, + stderr) + + +class __init__TestCase(TestCommonTestCase): + def test___init__(self): + """Test initialization""" + run_env = self.run_env + + os.chdir(run_env.workdir) + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + import os + print os.getcwd() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout()[:-1] + assert stdout != run_env.workdir, stdout + stderr = run_env.stderr() + assert stderr == "", stderr + + +class banner_TestCase(TestCommonTestCase): + create_run_env = False + def test_banner(self): + """Test banner()""" + tc = TestCommon.TestCommon(workdir='') + + b = tc.banner('xyzzy ') + assert b == "xyzzy ==========================================================================", b + + tc.banner_width = 10 + + b = tc.banner('xyzzy ') + assert b == "xyzzy ====", b + + b = tc.banner('xyzzy ', 20) + assert b == "xyzzy ==============", b + + tc.banner_char = '-' + + b = tc.banner('xyzzy ') + assert b == "xyzzy ----", b + +class must_be_writable_TestCase(TestCommonTestCase): + def test_file_does_not_exists(self): + """Test must_be_writable(): file does not exist""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_be_writable('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Missing files: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_writable_file_exists(self): + """Test must_be_writable(): writable file exists""" + run_env = self.run_env + + script = lstrip("""\ + import os + import stat + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + f1 = tc.workpath('file1') + mode = os.stat(f1)[stat.ST_MODE] + os.chmod(f1, mode | stat.S_IWUSR) + tc.must_be_writable('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_non_writable_file_exists(self): + """Test must_be_writable(): non-writable file exists""" + run_env = self.run_env + + script = lstrip("""\ + import os + import stat + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + f1 = tc.workpath('file1') + mode = os.stat(f1)[stat.ST_MODE] + os.chmod(f1, mode & ~stat.S_IWUSR) + tc.must_be_writable('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Unwritable files: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_file_specified_as_list(self): + """Test must_be_writable(): file specified as list""" + run_env = self.run_env + + script = lstrip("""\ + import os + import stat + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.write(['sub', 'file1'], "sub/file1\\n") + f1 = tc.workpath('sub', 'file1') + mode = os.stat(f1)[stat.ST_MODE] + os.chmod(f1, mode | stat.S_IWUSR) + tc.must_be_writable(['sub', 'file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + +class must_contain_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_contain(): success""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1 contents\\n") + tc.must_contain('file1', "1 c") + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_missing(self): + """Test must_contain(): file missing""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_contain('file1', "1 c\\n") + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr.find("No such file or directory:") != -1, stderr + + def test_failure(self): + """Test must_contain(): failure""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1 does not match\\n") + tc.must_contain('file1', "1 c") + tc.run() + """) + expect = lstrip("""\ + File `file1' does not contain required string. + Required string ================================================================ + 1 c + file1 contents ================================================================= + file1 does not match + + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == expect, repr(stdout) + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_mode(self): + """Test must_contain(): mode""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1 contents\\n", mode='w') + tc.must_contain('file1', "1 c", mode='r') + tc.write('file2', "file2 contents\\n", mode='wb') + tc.must_contain('file2', "2 c", mode='rb') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + + +class must_contain_all_lines_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_contain_all_lines(): success""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_contain_all_lines(output, lines) + + test.must_contain_all_lines(output, ['www\\n']) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_failure(self): + """Test must_contain_all_lines(): failure""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + zzz + ''' + + test.must_contain_all_lines(output, lines) + + test.pass_test() + """) + + expect = lstrip("""\ + Missing expected lines from output: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + output ========================================================================= + www + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + def test_find(self): + """Test must_contain_all_lines(): find""" + run_env = self.run_env + + script = lstrip(""" + import re + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'x.*', + '.*y', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + def re_search(output, line): + return re.compile(line, re.S).search(output) + test.must_contain_all_lines(output, lines, find=re_search) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_title(self): + """Test must_contain_all_lines(): title""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + zzz + ''' + + test.must_contain_all_lines(output, lines, title='STDERR') + + test.pass_test() + """) + + expect = lstrip("""\ + Missing expected lines from STDERR: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + STDERR ========================================================================= + www + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + + +class must_contain_any_line_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_contain_any_line(): success""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'aaa\\n', + 'yyy\\n', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_contain_any_line(output, lines) + + test.must_contain_any_line(output, ['www\\n']) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_failure(self): + """Test must_contain_any_line(): failure""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + zzz + ''' + + test.must_contain_any_line(output, lines) + + test.pass_test() + """) + + expect = lstrip("""\ + Missing any expected line from output: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + output ========================================================================= + www + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + def test_find(self): + """Test must_contain_any_line(): find""" + run_env = self.run_env + + script = lstrip(""" + import re + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'aaa', + '.*y', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + def re_search(output, line): + return re.compile(line, re.S).search(output) + test.must_contain_any_line(output, lines, find=re_search) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_title(self): + """Test must_contain_any_line(): title""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + zzz + ''' + + test.must_contain_any_line(output, lines, title='STDOUT') + + test.pass_test() + """) + + expect = lstrip("""\ + Missing any expected line from STDOUT: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + STDOUT ========================================================================= + www + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + + +class must_contain_exactly_lines_TestCase(TestCommonTestCase): + def test_success_list(self): + """Test must_contain_exactly_lines(): success (input list)""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'yyy\\n', + 'xxx\\n', + 'zzz', + 'www\\n', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_contain_exactly_lines(output, lines) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_success_string(self): + """Test must_contain_exactly_lines(): success (input string)""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = '''\\ + yyy + xxx + zzz + www + ''' + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_contain_exactly_lines(output, lines) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_failure(self): + """Test must_contain_exactly_lines(): failure""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + zzz + ''' + + test.must_contain_exactly_lines(output, lines) + + test.pass_test() + """) + + expect = lstrip("""\ + Missing expected lines from output: + 'xxx' + 'yyy' + Missing output ================================================================= + Extra unexpected lines from output: + 'www' + 'zzz' + Extra output =================================================================== + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + def test_find(self): + """Test must_contain_exactly_lines(): find""" + run_env = self.run_env + + script = lstrip(""" + import re + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'zzz', + '.*y', + 'xxx', + 'www', + ] + + output = '''\\\ + www + xxx + yyy + zzz + ''' + + def re_search(output, line): + pattern = re.compile(line, re.S) + index = 0 + for o in output: + if pattern.search(o): + return index + index +=1 + return None + test.must_contain_exactly_lines(output, lines, find=re_search) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_title(self): + """Test must_contain_exactly_lines(): title""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + zzz + ''' + + test.must_contain_exactly_lines(output, lines, title='STDOUT') + + test.pass_test() + """) + + expect = lstrip("""\ + Missing expected lines from STDOUT: + 'xxx' + 'yyy' + Missing STDOUT ================================================================= + Extra unexpected lines from STDOUT: + 'www' + 'zzz' + Extra STDOUT =================================================================== + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + + +class must_contain_lines_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_contain_lines(): success""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_contain_lines(lines, output) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_failure(self): + """Test must_contain_lines(): failure""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + zzz + ''' + + test.must_contain_lines(lines, output) + + test.pass_test() + """) + + expect = lstrip("""\ + Missing expected lines from output: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + output ========================================================================= + www + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + + +class must_exist_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_exist(): success""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + tc.must_exist('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_failure(self): + """Test must_exist(): failure""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_exist('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Missing files: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_file_specified_as_list(self): + """Test must_exist(): file specified as list""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.write(['sub', 'file1'], "sub/file1\\n") + tc.must_exist(['sub', 'file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_broken_link(self) : + """Test must_exist(): exists but it is a broken link""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.symlink('badtarget', "brokenlink") + tc.must_exist('brokenlink') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + +class must_exist_one_of_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_exist_one_of(): success""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + tc.must_exist_one_of(['file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_failure(self): + """Test must_exist_one_of(): failure""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_exist_one_of(['file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Missing one of: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_files_specified_as_list(self): + """Test must_exist_one_of(): files specified as list""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + tc.must_exist_one_of(['file2', 'file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_files_specified_with_wildcards(self): + """Test must_exist_one_of(): files specified with wildcards""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file7', "file7\\n") + tc.must_exist_one_of(['file?']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_given_as_list(self): + """Test must_exist_one_of(): file given as list""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.write(['sub', 'file1'], "sub/file1\\n") + tc.must_exist_one_of(['file2', + ['sub', 'file1']]) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_given_as_sequence(self): + """Test must_exist_one_of(): file given as sequence""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.write(['sub', 'file1'], "sub/file1\\n") + tc.must_exist_one_of(['file2', + ('sub', 'file1')]) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + +class must_match_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_match(): success""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + tc.must_match('file1', "file1\\n") + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_does_not_exists(self): + """Test must_match(): file does not exist""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_match('file1', "file1\\n") + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr.find("No such file or directory:") != -1, stderr + + def test_failure(self): + """Test must_match(): failure""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1 does not match\\n") + tc.must_match('file1', "file1\\n") + tc.run() + """) + + expect = lstrip("""\ + Unexpected contents of `file1' + contents ======================================================================= + 1c1 + < file1 + --- + > file1 does not match + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == expect, stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_mode(self): + """Test must_match(): mode""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n", mode='w') + tc.must_match('file1', "file1\\n", mode='r') + tc.write('file2', "file2\\n", mode='wb') + tc.must_match('file2', "file2\\n", mode='rb') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + + +class must_not_be_writable_TestCase(TestCommonTestCase): + def test_file_does_not_exists(self): + """Test must_not_be_writable(): file does not exist""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_not_be_writable('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Missing files: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_writable_file_exists(self): + """Test must_not_be_writable(): writable file exists""" + run_env = self.run_env + + script = lstrip("""\ + import os + import stat + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + f1 = tc.workpath('file1') + mode = os.stat(f1)[stat.ST_MODE] + os.chmod(f1, mode | stat.S_IWUSR) + tc.must_not_be_writable('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Writable files: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_non_writable_file_exists(self): + """Test must_not_be_writable(): non-writable file exists""" + run_env = self.run_env + + script = lstrip("""\ + import os + import stat + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + f1 = tc.workpath('file1') + mode = os.stat(f1)[stat.ST_MODE] + os.chmod(f1, mode & ~stat.S_IWUSR) + tc.must_not_be_writable('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_specified_as_list(self): + """Test must_not_be_writable(): file specified as list""" + run_env = self.run_env + + script = lstrip("""\ + import os + import stat + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.write(['sub', 'file1'], "sub/file1\\n") + f1 = tc.workpath('sub', 'file1') + mode = os.stat(f1)[stat.ST_MODE] + os.chmod(f1, mode & ~stat.S_IWUSR) + tc.must_not_be_writable(['sub', 'file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + + +class must_not_contain_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_not_contain(): success""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1 contents\\n") + tc.must_not_contain('file1', "1 does not contain c") + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_does_not_exist(self): + """Test must_not_contain(): file does not exist""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_not_contain('file1', "1 c\\n") + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr.find("No such file or directory:") != -1, stderr + + def test_failure(self): + """Test must_not_contain(): failure""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1 does contain contents\\n") + tc.must_not_contain('file1', "1 does contain c") + tc.run() + """) + expect = lstrip("""\ + File `file1' contains banned string. + Banned string ================================================================== + 1 does contain c + file1 contents ================================================================= + file1 does contain contents + + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == expect, repr(stdout) + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_mode(self): + """Test must_not_contain(): mode""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1 contents\\n", mode='w') + tc.must_not_contain('file1', "1 does not contain c", mode='r') + tc.write('file2', "file2 contents\\n", mode='wb') + tc.must_not_contain('file2', "2 does not contain c", mode='rb') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + + +class must_not_contain_any_line_TestCase(TestCommonTestCase): + def test_failure(self): + """Test must_not_contain_any_line(): failure""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + 'www\\n', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_not_contain_any_line(output, lines) + + test.pass_test() + """) + + expect = lstrip("""\ + Unexpected lines in output: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + 'www%(expected_newline)s' + output ========================================================================= + www + xxx + yyy + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + def test_find(self): + """Test must_not_contain_any_line(): find""" + run_env = self.run_env + + script = lstrip(""" + import re + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'x.*' + '.*y' + ] + + output = '''\\ + www + zzz + ''' + + def re_search(output, line): + return re.compile(line, re.S).search(output) + test.must_not_contain_any_line(output, lines, find=re_search) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_success(self): + """Test must_not_contain_any_line(): success""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n' + 'yyy\\n' + ] + + output = '''\\ + www + zzz + ''' + + test.must_not_contain_any_line(output, lines) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_title(self): + """Test must_not_contain_any_line(): title""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_not_contain_any_line(output, lines, title='XYZZY') + + test.pass_test() + """) + + expect = lstrip("""\ + Unexpected lines in XYZZY: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + XYZZY ========================================================================== + www + xxx + yyy + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + + +class must_not_contain_lines_TestCase(TestCommonTestCase): + def test_failure(self): + """Test must_not_contain_lines(): failure""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n', + 'yyy\\n', + ] + + output = '''\\ + www + xxx + yyy + zzz + ''' + + test.must_not_contain_lines(lines, output) + + test.pass_test() + """) + + expect = lstrip("""\ + Unexpected lines in output: + 'xxx%(expected_newline)s' + 'yyy%(expected_newline)s' + output ========================================================================= + www + xxx + yyy + zzz + """ % globals()) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + stderr = run_env.stderr() + assert stdout == expect, assert_display(expect, stdout, stderr) + assert stderr.find("FAILED") != -1, stderr + + def test_success(self): + """Test must_not_contain_lines(): success""" + run_env = self.run_env + + script = lstrip(""" + import TestCommon + test = TestCommon.TestCommon(workdir='') + + lines = [ + 'xxx\\n' + 'yyy\\n' + ] + + output = '''\\ + www + zzz + ''' + + test.must_not_contain_lines(lines, output) + + test.pass_test() + """) + + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + + +class must_not_exist_TestCase(TestCommonTestCase): + def test_failure(self): + """Test must_not_exist(): failure""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + tc.must_not_exist('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Unexpected files exist: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_success(self): + """Test must_not_exist(): success""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_not_exist('file1') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_specified_as_list(self): + """Test must_not_exist(): file specified as list""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.must_not_exist(['sub', 'file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_existing_broken_link(self): + """Test must_not_exist(): exists but it is a broken link""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.symlink('badtarget', 'brokenlink') + tc.must_not_exist('brokenlink') + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Unexpected files exist: `brokenlink'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + +class must_not_exist_any_of_TestCase(TestCommonTestCase): + def test_success(self): + """Test must_not_exist_any_of(): success""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_not_exist_any_of(['file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_failure(self): + """Test must_not_exist_any_of(): failure""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file1', "file1\\n") + tc.must_not_exist_any_of(['file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Unexpected files exist: `file1'\n", stdout + stderr = run_env.stderr() + assert stderr.find("FAILED") != -1, stderr + + def test_files_specified_as_list(self): + """Test must_not_exist_any_of(): files specified as list""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.must_not_exist_any_of(['file2', 'file1']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_files_specified_with_wildcards(self): + """Test must_not_exist_any_of(): files specified with wildcards""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.write('file7', "file7\\n") + tc.must_not_exist_any_of(['files?']) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_given_as_list(self): + """Test must_not_exist_any_of(): file given as list""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.write(['sub', 'file1'], "sub/file1\\n") + tc.must_not_exist_any_of(['file2', + ['sub', 'files*']]) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + def test_file_given_as_sequence(self): + """Test must_not_exist_any_of(): file given as sequence""" + run_env = self.run_env + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(workdir='') + tc.subdir('sub') + tc.write(['sub', 'file1'], "sub/file1\\n") + tc.must_not_exist_any_of(['file2', + ('sub', 'files?')]) + tc.pass_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + +class run_TestCase(TestCommonTestCase): + def test_argument_handling(self): + """Test run(): argument handling""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir="", + match=match_exact) + tc.run(arguments = "arg1 arg2 arg3", + stdout = r"%(pass_script)s: STDOUT: ['arg1', 'arg2', 'arg3']" + "\\n") + """) + + self.run_execution_test(script, "", "") + + def test_default_pass(self): + """Test run(): default arguments, script passes""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(pass_script)s', + interpreter=r'%(python)s', + workdir='') + tc.run() + """) + + self.run_execution_test(script, "", "") + + def test_default_fail(self): + """Test run(): default arguments, script fails""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(fail_script)s', + interpreter='%(python)s', + workdir='') + tc.run() + """) + + expect_stdout = lstrip("""\ + %(fail_script)s returned 1 + STDOUT ========================================================================= + %(fail_script)s: STDOUT: [] + + STDERR ========================================================================= + + """) + + expect_stderr = lstrip("""\ + FAILED test of .*fail + \\tat line \\d+ of .*TestCommon\\.py \\(_complete\\) + \\tfrom line \\d+ of .*TestCommon\\.py \\(run\\) + \\tfrom line \\d+ of ( \(\))? + """) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_default_stderr(self): + """Test run(): default arguments, error output""" + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(stderr_script)s', + interpreter='%(python)s', + workdir='') + tc.run() + """) + + expect_stdout = lstrip("""\ + STDOUT ========================================================================= + + STDERR ========================================================================= + 0a1 + > %(stderr_script)s: STDERR: [] + """) + + expect_stderr = lstrip("""\ + FAILED test of .*stderr + \\tat line \\d+ of .*TestCommon\\.py \\(_complete\\) + \\tfrom line \\d+ of .*TestCommon\\.py \\(run\\) + \\tfrom line \\d+ of + """) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_exception_handling(self): + """Test run(): exception handling""" + script = lstrip("""\ + import TestCmd + from TestCommon import TestCommon + def raise_exception(*args, **kw): + raise TypeError("forced TypeError") + TestCmd.TestCmd.start = raise_exception + tc = TestCommon(program='%(pass_script)s', + interpreter='%(python)s', + workdir='') + tc.run() + """) + + expect_stdout = lstrip("""\ + STDOUT ========================================================================= + STDERR ========================================================================= + """) + + expect_stderr = lstrip("""\ + Exception trying to execute: \\[%s, '[^']*pass'\\] + Traceback \\((innermost|most recent call) last\\): + File "", line \\d+, in (\\?|) + File "[^"]+TestCommon.py", line \\d+, in run + TestCmd.run\\(self, \\*\\*kw\\) + File "[^"]+TestCmd.py", line \\d+, in run + .* + File "[^"]+TestCommon.py", line \\d+, in start + raise e + TypeError: forced TypeError + """ % re.escape(repr(sys.executable))) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_ignore_stderr(self): + """Test run(): ignore stderr""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(stderr_script)s', + interpreter='%(python)s', + workdir='') + tc.run(stderr = None) + """) + + self.run_execution_test(script, "", "") + + def test_match_function_stdout(self): + """Test run(): explicit match function, stdout""" + + script = lstrip("""\ + def my_match_exact(actual, expect): return actual == expect + from TestCommon import TestCommon, match_re_dotall + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir="", + match=match_re_dotall) + tc.run(arguments = "arg1 arg2 arg3", + stdout = r"%(pass_script)s: STDOUT: ['arg1', 'arg2', 'arg3']" + "\\n", + match = my_match_exact) + """) + + self.run_execution_test(script, "", "") + + def test_match_function_stderr(self): + """Test run(): explicit match function, stderr""" + + script = lstrip("""\ + def my_match_exact(actual, expect): return actual == expect + from TestCommon import TestCommon, match_re_dotall + tc = TestCommon(program=r'%(stderr_script)s', + interpreter='%(python)s', + workdir="", + match=match_re_dotall) + tc.run(arguments = "arg1 arg2 arg3", + stderr = r"%(stderr_script)s: STDERR: ['arg1', 'arg2', 'arg3']" + "\\n", + match = my_match_exact) + """) + + self.run_execution_test(script, "", "") + + def test_matched_status_fails(self): + """Test run(): matched status, script fails""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(fail_script)s', + interpreter='%(python)s', + workdir='') + tc.run(status = 1) + """) + + self.run_execution_test(script, "", "") + + def test_matched_stdout(self): + """Test run(): matched stdout""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir="", + match=match_exact) + tc.run(stdout = r"%(pass_script)s: STDOUT: []" + "\\n") + """) + + self.run_execution_test(script, "", "") + + def test_matched_stderr(self): + """Test run(): matched stderr""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(stderr_script)s', + interpreter='%(python)s', + workdir="", + match=match_exact) + tc.run(stderr = r"%(stderr_script)s: STDERR: []" + "\\n") + """) + + self.run_execution_test(script, "", "") + + def test_mismatched_status_pass(self): + """Test run(): mismatched status, script passes""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir='') + tc.run(status = 1) + """) + + expect_stdout = lstrip("""\ + %(pass_script)s returned 0 (expected 1) + STDOUT ========================================================================= + %(pass_script)s: STDOUT: [] + + STDERR ========================================================================= + + """) + + expect_stderr = lstrip("""\ + FAILED test of .*pass + \\tat line \\d+ of .*TestCommon\\.py \\(_complete\\) + \\tfrom line \\d+ of .*TestCommon\\.py \\(run\\) + \\tfrom line \\d+ of ( \(\))? + """) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_mismatched_status_fail(self): + """Test run(): mismatched status, script fails""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(fail_script)s', + interpreter='%(python)s', + workdir='') + tc.run(status = 2) + """) + + expect_stdout = lstrip("""\ + %(fail_script)s returned 1 (expected 2) + STDOUT ========================================================================= + %(fail_script)s: STDOUT: [] + + STDERR ========================================================================= + + """) + + expect_stderr = lstrip("""\ + FAILED test of .*fail + \\tat line \\d+ of .*TestCommon\\.py \\(_complete\\) + \\tfrom line \\d+ of .*TestCommon\\.py \\(run\\) + \\tfrom line \\d+ of ( \(\))? + """) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_mismatched_stdout(self): + """Test run(): mismatched stdout""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir='') + tc.run(stdout = "Not found\\n") + """) + + expect_stdout = lstrip("""\ + STDOUT ========================================================================= + 1c1 + < Not found + --- + > %(pass_script)s: STDOUT: [] + """) + + expect_stderr = lstrip("""\ + FAILED test of .*pass + \\tat line \\d+ of .*TestCommon\\.py \\(_complete\\) + \\tfrom line \\d+ of .*TestCommon\\.py \\(run\\) + \\tfrom line \\d+ of ( \(\))? + """) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_mismatched_stderr(self): + """Test run(): mismatched stderr""" + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(stderr_script)s', + interpreter='%(python)s', + workdir='') + tc.run(stderr = "Not found\\n") + """) + + expect_stdout = lstrip("""\ + STDOUT ========================================================================= + + STDERR ========================================================================= + 1c1 + < Not found + --- + > %(stderr_script)s: STDERR: [] + """) + + expect_stderr = lstrip("""\ + FAILED test of .*stderr + \\tat line \\d+ of .*TestCommon\\.py \\(_complete\\) + \\tfrom line \\d+ of .*TestCommon\\.py \\(run\\) + \\tfrom line \\d+ of ( \(\))? + """) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_option_handling(self): + """Test run(): option handling""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir="", + match=match_exact) + tc.run(options = "opt1 opt2 opt3", + stdout = r"%(pass_script)s: STDOUT: ['opt1', 'opt2', 'opt3']" + "\\n") + """) + + self.run_execution_test(script, "", "") + + def test_options_plus_arguments(self): + """Test run(): option handling with arguments""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir="", + match=match_exact) + tc.run(options = "opt1 opt2 opt3", + arguments = "arg1 arg2 arg3", + stdout = r"%(pass_script)s: STDOUT: ['opt1', 'opt2', 'opt3', 'arg1', 'arg2', 'arg3']" + "\\n") + """) + + self.run_execution_test(script, "", "") + + def test_signal_handling(self): + """Test run(): signal handling""" + + try: + os.kill + except AttributeError: + sys.stderr.write('can not test, no os.kill ... ') + return + + script = lstrip("""\ + from TestCommon import TestCommon + tc = TestCommon(program=r'%(signal_script)s', + interpreter='%(python)s', + workdir='') + tc.run() + """) + + self.SIGTERM = signal.SIGTERM + + # Script returns the signal value as a negative number. + expect_stdout = lstrip("""\ + %(signal_script)s returned -%(SIGTERM)s + STDOUT ========================================================================= + + STDERR ========================================================================= + + """) + + expect_stderr = lstrip("""\ + FAILED test of .*signal + \\tat line \\d+ of .*TestCommon\\.py \\(_complete\\) + \\tfrom line \\d+ of .*TestCommon\\.py \\(run\\) + \\tfrom line \\d+ of + """) + expect_stderr = re.compile(expect_stderr, re.M) + + self.run_execution_test(script, expect_stdout, expect_stderr) + + def test_stdin(self): + """Test run(): stdin handling""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(stdin_script)s', + interpreter='%(python)s', + workdir='', + match=match_exact) + expect_stdout = r"%(stdin_script)s: STDOUT: 'input'" + "\\n" + expect_stderr = r"%(stdin_script)s: STDERR: 'input'" + "\\n" + tc.run(stdin="input\\n", stdout = expect_stdout, stderr = expect_stderr) + """) + + expect_stdout = lstrip("""\ + %(pass_script)s returned 0 (expected 1) + STDOUT ========================================================================= + %(pass_script)s: STDOUT: [] + + STDERR ========================================================================= + + """) + + self.run_execution_test(script, "", "") + + + +class start_TestCase(TestCommonTestCase): + def test_option_handling(self): + """Test start(): option handling""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir="", + match=match_exact) + p = tc.start(options = "opt1 opt2 opt3") + expect = r"%(pass_script)s: STDOUT: ['opt1', 'opt2', 'opt3']" + "\\n" + tc.finish(p, stdout = expect) + """) + + self.run_execution_test(script, "", "") + + def test_options_plus_arguments(self): + """Test start(): option handling with arguments""" + + script = lstrip("""\ + from TestCommon import TestCommon, match_exact + tc = TestCommon(program=r'%(pass_script)s', + interpreter='%(python)s', + workdir="", + match=match_exact) + p = tc.start(options = "opt1 opt2 opt3", + arguments = "arg1 arg2 arg3") + expect = r"%(pass_script)s: STDOUT: ['opt1', 'opt2', 'opt3', 'arg1', 'arg2', 'arg3']" + "\\n" + tc.finish(p, stdout = expect) + """) + + self.run_execution_test(script, "", "") + + + +class skip_test_TestCase(TestCommonTestCase): + def test_skip_test(self): + """Test skip_test()""" + run_env = self.run_env + + script = lstrip("""\ + import TestCommon + test = TestCommon.TestCommon(workdir='') + test.skip_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Skipping test.\n", stdout + stderr = run_env.stderr() + expect = [ + "NO RESULT for test at line 3 of \n", + "NO RESULT for test at line 3 of ()\n", + ] + assert stderr in expect, repr(stderr) + + script = lstrip("""\ + import TestCommon + test = TestCommon.TestCommon(workdir='') + test.skip_test("skipping test because I said so\\n") + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "skipping test because I said so\n", stdout + stderr = run_env.stderr() + expect = [ + "NO RESULT for test at line 3 of \n", + "NO RESULT for test at line 3 of ()\n", + ] + assert stderr in expect, repr(stderr) + + import os + os.environ['TESTCOMMON_PASS_SKIPS'] = '1' + + try: + script = lstrip("""\ + import TestCommon + test = TestCommon.TestCommon(workdir='') + test.skip_test() + """) + run_env.run(program=sys.executable, stdin=script) + stdout = run_env.stdout() + assert stdout == "Skipping test.\n", stdout + stderr = run_env.stderr() + assert stderr == "PASSED\n", stderr + + finally: + del os.environ['TESTCOMMON_PASS_SKIPS'] + + + +class variables_TestCase(TestCommonTestCase): + def test_variables(self): + """Test global variables""" + run_env = self.run_env + + variables = [ + 'fail_test', + 'no_result', + 'pass_test', + 'match_exact', + 'match_re', + 'match_re_dotall', + 'python', + '_python_', + 'TestCmd', + + 'TestCommon', + 'exe_suffix', + 'obj_suffix', + 'shobj_prefix', + 'shobj_suffix', + 'lib_prefix', + 'lib_suffix', + 'dll_prefix', + 'dll_suffix', + ] + + script = "import TestCommon\n" + \ + '\n'.join([ "print TestCommon.%s\n" % v for v in variables ]) + run_env.run(program=sys.executable, stdin=script) + stderr = run_env.stderr() + assert stderr == "", stderr + + script = "from TestCommon import *\n" + \ + '\n'.join([ "print %s" % v for v in variables ]) + run_env.run(program=sys.executable, stdin=script) + stderr = run_env.stderr() + assert stderr == "", stderr + + + +if __name__ == "__main__": + tclasses = [ + __init__TestCase, + banner_TestCase, + must_be_writable_TestCase, + must_contain_TestCase, + must_contain_all_lines_TestCase, + must_contain_any_line_TestCase, + must_contain_exactly_lines_TestCase, + must_contain_lines_TestCase, + must_exist_TestCase, + must_exist_one_of_TestCase, + must_match_TestCase, + must_not_be_writable_TestCase, + must_not_contain_TestCase, + must_not_contain_any_line_TestCase, + must_not_contain_lines_TestCase, + must_not_exist_TestCase, + must_not_exist_any_of_TestCase, + run_TestCase, + start_TestCase, + skip_test_TestCase, + variables_TestCase, + ] + suite = unittest.TestSuite() + for tclass in tclasses: + names = unittest.getTestCaseNames(tclass, 'test_') + suite.addTests([ tclass(n) for n in names ]) + if not unittest.TextTestRunner().run(suite).wasSuccessful(): + sys.exit(1) + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestRuntest.py b/QMTest/TestRuntest.py new file mode 100644 index 0000000..31346cd --- /dev/null +++ b/QMTest/TestRuntest.py @@ -0,0 +1,167 @@ +""" +TestRuntest.py: a testing framework for the runtest.py command used to +invoke SCons tests. + +A TestRuntest environment object is created via the usual invocation: + + test = TestRuntest() + +TestRuntest is a subclass of TestCommon, which is in turn is a subclass +of TestCmd), and hence has available all of the methods and attributes +from those classes, as well as any overridden or additional methods or +attributes defined in this subclass. +""" + +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation + +__revision__ = "QMTest/TestRuntest.py 2014/03/02 14:18:15 garyo" + +import os +import os.path +import re +import shutil +import sys + +from TestCommon import * +from TestCommon import __all__ + +__all__.extend([ 'TestRuntest', + 'pythonstring', + ]) + +if re.search('\s', python): + pythonstring = _python_ +else: + pythonstring = python +pythonstring = pythonstring.replace('\\', '\\\\') + + +failing_test_template = """\ +import sys +sys.stdout.write('FAILING TEST STDOUT\\n') +sys.stderr.write('FAILING TEST STDERR\\n') +sys.exit(1) +""" + +no_result_test_template = """\ +import sys +sys.stdout.write('NO RESULT TEST STDOUT\\n') +sys.stderr.write('NO RESULT TEST STDERR\\n') +sys.exit(2) +""" + +passing_test_template = """\ +import sys +sys.stdout.write('PASSING TEST STDOUT\\n') +sys.stderr.write('PASSING TEST STDERR\\n') +sys.exit(0) +""" + +fake_scons_py = """ +__version__ = '1.2.3' +__build__ = 'D123' +__buildsys__ = 'fake_system' +__date__ = 'Jan 1 1970' +__developer__ = 'Anonymous' +""" + +fake___init___py = """ +__version__ = '4.5.6' +__build__ = 'D456' +__buildsys__ = 'another_fake_system' +__date__ = 'Dec 31 1999' +__developer__ = 'John Doe' +""" + +class TestRuntest(TestCommon): + """Class for testing the runtest.py script. + + This provides a common place for initializing Runtest tests, + eliminating the need to begin every test with the same repeated + initializations. + """ + + def __init__(self, **kw): + """Initialize a Runtest testing object. + + If they're not overridden by keyword arguments, this + initializes the object with the following default values: + + program = 'runtest.py' + interpreter = ['python', '-tt'] + match = match_exact + workdir = '' + + The workdir value means that, by default, a temporary + workspace directory is created for a TestRuntest environment. + The superclass TestCommon.__init__() will change directory (chdir) + to the workspace directory, so an explicit "chdir = '.'" on all + of the run() method calls is not necessary. This initialization + also copies the runtest.py and QMTest/ subdirectory tree to the + temporary directory, duplicating how this test infrastructure + appears in a normal workspace. + """ + if 'program' not in kw: + kw['program'] = 'runtest.py' + if 'interpreter' not in kw: + kw['interpreter'] = [python, '-tt'] + if 'match' not in kw: + kw['match'] = match_exact + if 'workdir' not in kw: + kw['workdir'] = '' + + try: + things_to_copy = kw['things_to_copy'] + except KeyError: + things_to_copy = [ + 'runtest.py', + 'QMTest', + ] + else: + del kw['things_to_copy'] + + orig_cwd = os.getcwd() + TestCommon.__init__(self, **kw) + + dirs = [os.environ.get('SCONS_RUNTEST_DIR', orig_cwd)] + + for thing in things_to_copy: + for dir in dirs: + t = os.path.join(dir, thing) + if os.path.exists(t): + if os.path.isdir(t): + copy_func = shutil.copytree + else: + copy_func = shutil.copyfile + copy_func(t, self.workpath(thing)) + break + + self.program_set(self.workpath(kw['program'])) + + os.environ['PYTHONPATH'] = '' + + def write_fake_scons_source_tree(self): + os.mkdir('src') + os.mkdir('src/script') + self.write('src/script/scons.py', fake_scons_py) + + os.mkdir('src/engine') + os.mkdir('src/engine/SCons') + self.write('src/engine/SCons/__init__.py', fake___init___py) + os.mkdir('src/engine/SCons/Script') + self.write('src/engine/SCons/Script/__init__.py', fake___init___py) + + def write_failing_test(self, name): + self.write(name, failing_test_template) + + def write_no_result_test(self, name): + self.write(name, no_result_test_template) + + def write_passing_test(self, name): + self.write(name, passing_test_template) + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py new file mode 100644 index 0000000..ea1cb77 --- /dev/null +++ b/QMTest/TestSCons.py @@ -0,0 +1,1492 @@ +""" +TestSCons.py: a testing framework for the SCons software construction +tool. + +A TestSCons environment object is created via the usual invocation: + + test = TestSCons() + +TestScons is a subclass of TestCommon, which in turn is a subclass +of TestCmd), and hence has available all of the methods and attributes +from those classes, as well as any overridden or additional methods or +attributes defined in this subclass. +""" + +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +from __future__ import division + +__revision__ = "QMTest/TestSCons.py 2014/03/02 14:18:15 garyo" + +import os +import re +import shutil +import sys +import time + +from TestCommon import * +from TestCommon import __all__ + +from TestCmd import Popen +from TestCmd import PIPE + +# Some tests which verify that SCons has been packaged properly need to +# look for specific version file names. Replicating the version number +# here provides some independent verification that what we packaged +# conforms to what we expect. + +default_version = '2.3.1' + +python_version_unsupported = (2, 3, 0) +python_version_deprecated = (2, 7, 0) + +# In the checked-in source, the value of SConsVersion in the following +# line must remain "__ VERSION __" (without the spaces) so the built +# version in build/QMTest/TestSCons.py contains the actual version +# string of the packages that have been built. +SConsVersion = '2.3.1' +if SConsVersion == '__' + 'VERSION' + '__': + SConsVersion = default_version + +__all__.extend([ 'TestSCons', + 'machine', + 'python', + '_exe', + '_obj', + '_shobj', + 'shobj_', + 'lib_', + '_lib', + 'dll_', + '_dll' + ]) + +machine_map = { + 'i686' : 'i386', + 'i586' : 'i386', + 'i486' : 'i386', +} + +try: + uname = os.uname +except AttributeError: + # Windows doesn't have a uname() function. We could use something like + # sys.platform as a fallback, but that's not really a "machine," so + # just leave it as None. + machine = None +else: + machine = uname()[4] + machine = machine_map.get(machine, machine) + +_exe = exe_suffix +_obj = obj_suffix +_shobj = shobj_suffix +shobj_ = shobj_prefix +_lib = lib_suffix +lib_ = lib_prefix +_dll = dll_suffix +dll_ = dll_prefix + + +if sys.platform == 'cygwin': + # On Cygwin, os.path.normcase() lies, so just report back the + # fact that the underlying Win32 OS is case-insensitive. + def case_sensitive_suffixes(s1, s2): + return 0 +else: + def case_sensitive_suffixes(s1, s2): + return (os.path.normcase(s1) != os.path.normcase(s2)) + + +file_expr = r"""File "[^"]*", line \d+, in [^\n]+ +""" + +# re.escape escapes too much. +def re_escape(str): + for c in '\\.[]()*+?': # Not an exhaustive list. + str = str.replace(c, '\\' + c) + return str + +# +# Helper functions that we use as a replacement to the default re.match +# when searching for special strings in stdout/stderr. +# +def search_re(out, l): + """ Search the regular expression 'l' in the output 'out' + and return the start index when successful. + """ + m = re.search(l, out) + if m: + return m.start() + + return None + +def search_re_in_list(out, l): + """ Search the regular expression 'l' in each line of + the given string list 'out' and return the line's index + when successful. + """ + for idx, o in enumerate(out): + m = re.search(l, o) + if m: + return idx + + return None + +# +# Helpers for handling Python version numbers +# +def python_version_string(): + return sys.version.split()[0] + +def python_minor_version_string(): + return sys.version[:3] + +def unsupported_python_version(version=sys.version_info): + return version < python_version_unsupported + +def deprecated_python_version(version=sys.version_info): + return version < python_version_deprecated + +if deprecated_python_version(): + msg = r""" +scons: warning: Support for pre-2.7.0 Python version (%s) is deprecated. + If this will cause hardship, contact dev@scons.tigris.org. +""" + + deprecated_python_expr = re_escape(msg % python_version_string()) + file_expr + del msg +else: + deprecated_python_expr = "" + + +def initialize_sconsflags(ignore_python_version): + """ + Add the --warn=no-python-version option to SCONSFLAGS for every + command so test scripts don't have to filter out Python version + deprecation warnings. + Same for --warn=no-visual-c-missing. + """ + save_sconsflags = os.environ.get('SCONSFLAGS') + if save_sconsflags: + sconsflags = [save_sconsflags] + else: + sconsflags = [] + if ignore_python_version and deprecated_python_version(): + sconsflags.append('--warn=no-python-version') + # Provide a way to suppress or provide alternate flags for + # TestSCons purposes by setting TESTSCONS_SCONSFLAGS. + # (The intended use case is to set it to null when running + # timing tests of earlier versions of SCons which don't + # support the --warn=no-visual-c-missing warning.) + visual_c = os.environ.get('TESTSCONS_SCONSFLAGS', + '--warn=no-visual-c-missing') + if visual_c: + sconsflags.append(visual_c) + os.environ['SCONSFLAGS'] = ' '.join(sconsflags) + return save_sconsflags + +def restore_sconsflags(sconsflags): + if sconsflags is None: + del os.environ['SCONSFLAGS'] + else: + os.environ['SCONSFLAGS'] = sconsflags + + +class TestSCons(TestCommon): + """Class for testing SCons. + + This provides a common place for initializing SCons tests, + eliminating the need to begin every test with the same repeated + initializations. + """ + + scons_version = SConsVersion + + def __init__(self, **kw): + """Initialize an SCons testing object. + + If they're not overridden by keyword arguments, this + initializes the object with the following default values: + + program = 'scons' if it exists, + else 'scons.py' + interpreter = 'python' + match = match_exact + workdir = '' + + The workdir value means that, by default, a temporary workspace + directory is created for a TestSCons environment. In addition, + this method changes directory (chdir) to the workspace directory, + so an explicit "chdir = '.'" on all of the run() method calls + is not necessary. + """ + self.orig_cwd = os.getcwd() + self.external = os.environ.get('SCONS_EXTERNAL_TEST', 0) + + if not self.external: + try: + script_dir = os.environ['SCONS_SCRIPT_DIR'] + except KeyError: + pass + else: + os.chdir(script_dir) + if 'program' not in kw: + kw['program'] = os.environ.get('SCONS') + if not kw['program']: + if not self.external: + if os.path.exists('scons'): + kw['program'] = 'scons' + else: + kw['program'] = 'scons.py' + else: + kw['program'] = 'scons' + kw['interpreter'] = '' + elif not self.external and not os.path.isabs(kw['program']): + kw['program'] = os.path.join(self.orig_cwd, kw['program']) + if 'interpreter' not in kw and not os.environ.get('SCONS_EXEC'): + kw['interpreter'] = [python, '-tt'] + if 'match' not in kw: + kw['match'] = match_exact + if 'workdir' not in kw: + kw['workdir'] = '' + + # Term causing test failures due to bogus readline init + # control character output on FC8 + # TERM can cause test failures due to control chars in prompts etc. + os.environ['TERM'] = 'dumb' + + self.ignore_python_version = kw.get('ignore_python_version',1) + if kw.get('ignore_python_version', -1) != -1: + del kw['ignore_python_version'] + + TestCommon.__init__(self, **kw) + + if not self.external: + import SCons.Node.FS + if SCons.Node.FS.default_fs is None: + SCons.Node.FS.default_fs = SCons.Node.FS.FS() + + try: + self.script_srcdir = os.environ['PYTHON_SCRIPT_DIR'] + except KeyError: + pass + + def Environment(self, ENV=None, *args, **kw): + """ + Return a construction Environment that optionally overrides + the default external environment with the specified ENV. + """ + if not self.external: + import SCons.Environment + import SCons.Errors + if not ENV is None: + kw['ENV'] = ENV + try: + return SCons.Environment.Environment(*args, **kw) + except (SCons.Errors.UserError, SCons.Errors.InternalError): + return None + + return None + + def detect(self, var, prog=None, ENV=None, norm=None): + """ + Detect a program named 'prog' by first checking the construction + variable named 'var' and finally searching the path used by + SCons. If either method fails to detect the program, then false + is returned, otherwise the full path to prog is returned. If + prog is None, then the value of the environment variable will be + used as prog. + """ + env = self.Environment(ENV) + if env: + v = env.subst('$'+var) + if not v: + return None + if prog is None: + prog = v + if v != prog: + return None + result = env.WhereIs(prog) + if norm and os.sep != '/': + result = result.replace(os.sep, '/') + return result + + return self.where_is(prog) + + def detect_tool(self, tool, prog=None, ENV=None): + """ + Given a tool (i.e., tool specification that would be passed + to the "tools=" parameter of Environment()) and a program that + corresponds to that tool, return true if and only if we can find + that tool using Environment.Detect(). + + By default, prog is set to the value passed into the tools parameter. + """ + + if not prog: + prog = tool + env = self.Environment(ENV, tools=[tool]) + if env is None: + return None + return env.Detect([prog]) + + def where_is(self, prog, path=None): + """ + Given a program, search for it in the specified external PATH, + or in the actual external PATH if none is specified. + """ + if path is None: + path = os.environ['PATH'] + if self.external: + if isinstance(prog, str): + prog = [prog] + import stat + paths = path.split(os.pathsep) + for p in prog: + for d in paths: + f = os.path.join(d, p) + if os.path.isfile(f): + try: + st = os.stat(f) + except OSError: + # os.stat() raises OSError, not IOError if the file + # doesn't exist, so in this case we let IOError get + # raised so as to not mask possibly serious disk or + # network issues. + continue + if stat.S_IMODE(st[stat.ST_MODE]) & 0111: + return os.path.normpath(f) + else: + import SCons.Environment + env = SCons.Environment.Environment() + return env.WhereIs(prog, path) + + return None + + def wrap_stdout(self, build_str = "", read_str = "", error = 0, cleaning = 0): + """Wraps standard output string(s) in the normal + "Reading ... done" and "Building ... done" strings + """ + cap,lc = [ ('Build','build'), + ('Clean','clean') ][cleaning] + if error: + term = "scons: %sing terminated because of errors.\n" % lc + else: + term = "scons: done %sing targets.\n" % lc + return "scons: Reading SConscript files ...\n" + \ + read_str + \ + "scons: done reading SConscript files.\n" + \ + "scons: %sing targets ...\n" % cap + \ + build_str + \ + term + + def run(self, *args, **kw): + """ + Set up SCONSFLAGS for every command so test scripts don't need + to worry about unexpected warnings in their output. + """ + sconsflags = initialize_sconsflags(self.ignore_python_version) + try: + TestCommon.run(self, *args, **kw) + finally: + restore_sconsflags(sconsflags) + +# Modifying the options should work and ought to be simpler, but this +# class is used for more than just running 'scons' itself. If there's +# an automated way of determining whether it's running 'scons' or +# something else, this code should be resurected. +# options = kw.get('options') +# if options: +# options = [options] +# else: +# options = [] +# if self.ignore_python_version and deprecated_python_version(): +# options.append('--warn=no-python-version') +# # Provide a way to suppress or provide alternate flags for +# # TestSCons purposes by setting TESTSCONS_SCONSFLAGS. +# # (The intended use case is to set it to null when running +# # timing tests of earlier versions of SCons which don't +# # support the --warn=no-visual-c-missing warning.) +# visual_c = os.environ.get('TESTSCONS_SCONSFLAGS', +# '--warn=no-visual-c-missing') +# if visual_c: +# options.append(visual_c) +# kw['options'] = ' '.join(options) +# TestCommon.run(self, *args, **kw) + + def up_to_date(self, arguments = '.', read_str = "", **kw): + s = "" + for arg in arguments.split(): + s = s + "scons: `%s' is up to date.\n" % arg + kw['arguments'] = arguments + stdout = self.wrap_stdout(read_str = read_str, build_str = s) + # Append '.*' so that timing output that comes after the + # up-to-date output is okay. + kw['stdout'] = re.escape(stdout) + '.*' + kw['match'] = self.match_re_dotall + self.run(**kw) + + def not_up_to_date(self, arguments = '.', **kw): + """Asserts that none of the targets listed in arguments is + up to date, but does not make any assumptions on other targets. + This function is most useful in conjunction with the -n option. + """ + s = "" + for arg in arguments.split(): + s = s + "(?!scons: `%s' is up to date.)" % re.escape(arg) + s = '('+s+'[^\n]*\n)*' + kw['arguments'] = arguments + stdout = re.escape(self.wrap_stdout(build_str='ARGUMENTSGOHERE')) + kw['stdout'] = stdout.replace('ARGUMENTSGOHERE', s) + kw['match'] = self.match_re_dotall + self.run(**kw) + + def option_not_yet_implemented(self, option, arguments=None, **kw): + """ + Verifies expected behavior for options that are not yet implemented: + a warning message, and exit status 1. + """ + msg = "Warning: the %s option is not yet implemented\n" % option + kw['stderr'] = msg + if arguments: + # If it's a long option and the argument string begins with '=', + # it's of the form --foo=bar and needs no separating space. + if option[:2] == '--' and arguments[0] == '=': + kw['arguments'] = option + arguments + else: + kw['arguments'] = option + ' ' + arguments + return self.run(**kw) + + def deprecated_wrap(self, msg): + """ + Calculate the pattern that matches a deprecation warning. + """ + return '\nscons: warning: ' + re_escape(msg) + '\n' + file_expr + + def deprecated_fatal(self, warn, msg): + """ + Determines if the warning has turned into a fatal error. If so, + passes the test, as any remaining runs are now moot. + + This method expects a SConscript to be present that will causes + the warning. The method writes a SConstruct that calls the + SConsscript and looks to see what type of result occurs. + + The pattern that matches the warning is returned. + + TODO: Actually detect that it's now an error. We don't have any + cases yet, so there's no way to test it. + """ + self.write('SConstruct', """if True: + WARN = ARGUMENTS.get('WARN') + if WARN: SetOption('warn', WARN) + SConscript('SConscript') + """) + + def err_out(): + # TODO calculate stderr for fatal error + return re_escape('put something here') + + # no option, should get one of nothing, warning, or error + warning = self.deprecated_wrap(msg) + self.run(arguments = '.', stderr = None) + stderr = self.stderr() + if stderr: + # most common case done first + if match_re_dotall(stderr, warning): + # expected output + pass + elif match_re_dotall(stderr, err_out()): + # now a fatal error; skip the rest of the tests + self.pass_test() + else: + # test failed; have to do this by hand... + print self.banner('STDOUT ') + print self.stdout() + print self.diff(warning, stderr, 'STDERR ') + self.fail_test() + + return warning + + def deprecated_warning(self, warn, msg): + """ + Verifies the expected behavior occurs for deprecation warnings. + This method expects a SConscript to be present that will causes + the warning. The method writes a SConstruct and exercises various + combinations of command-line options and SetOption parameters to + validate that it performs correctly. + + The pattern that matches the warning is returned. + """ + warning = self.deprecated_fatal(warn, msg) + + def RunPair(option, expected): + # run the same test with the option on the command line and + # then with the option passed via SetOption(). + self.run(options = '--warn=' + option, + arguments = '.', + stderr = expected, + match = match_re_dotall) + self.run(options = 'WARN=' + option, + arguments = '.', + stderr = expected, + match = match_re_dotall) + + # all warnings off, should get no output + RunPair('no-deprecated', '') + + # warning enabled, should get expected output + RunPair(warn, warning) + + # warning disabled, should get either nothing or mandatory message + expect = """()|(Can not disable mandataory warning: 'no-%s'\n\n%s)""" % (warn, warning) + RunPair('no-' + warn, expect) + + return warning + + def diff_substr(self, expect, actual, prelen=20, postlen=40): + i = 0 + for x, y in zip(expect, actual): + if x != y: + return "Actual did not match expect at char %d:\n" \ + " Expect: %s\n" \ + " Actual: %s\n" \ + % (i, repr(expect[i-prelen:i+postlen]), + repr(actual[i-prelen:i+postlen])) + i = i + 1 + return "Actual matched the expected output???" + + def python_file_line(self, file, line): + """ + Returns a Python error line for output comparisons. + + The exec of the traceback line gives us the correct format for + this version of Python. Before 2.5, this yielded: + + File "", line 1, ? + + Python 2.5 changed this to: + + File "", line 1, + + We stick the requested file name and line number in the right + places, abstracting out the version difference. + """ + exec 'import traceback; x = traceback.format_stack()[-1]' + x = x.lstrip() + x = x.replace('', file) + x = x.replace('line 1,', 'line %s,' % line) + return x + + def normalize_ps(self, s): + s = re.sub(r'(Creation|Mod)Date: .*', + r'\1Date XXXX', s) + s = re.sub(r'%DVIPSSource:\s+TeX output\s.*', + r'%DVIPSSource: TeX output XXXX', s) + s = re.sub(r'/(BaseFont|FontName) /[A-Z0-9]{6}', + r'/\1 /XXXXXX', s) + s = re.sub(r'BeginFont: [A-Z0-9]{6}', + r'BeginFont: XXXXXX', s) + + return s + + def normalize_pdf(self, s): + s = re.sub(r'/(Creation|Mod)Date \(D:[^)]*\)', + r'/\1Date (D:XXXX)', s) + s = re.sub(r'/ID \[<[0-9a-fA-F]*> <[0-9a-fA-F]*>\]', + r'/ID [ ]', s) + s = re.sub(r'/(BaseFont|FontName) /[A-Z]{6}', + r'/\1 /XXXXXX', s) + s = re.sub(r'/Length \d+ *\n/Filter /FlateDecode\n', + r'/Length XXXX\n/Filter /FlateDecode\n', s) + + try: + import zlib + except ImportError: + pass + else: + begin_marker = '/FlateDecode\n>>\nstream\n' + end_marker = 'endstream\nendobj' + + encoded = [] + b = s.find(begin_marker, 0) + while b != -1: + b = b + len(begin_marker) + e = s.find(end_marker, b) + encoded.append((b, e)) + b = s.find(begin_marker, e + len(end_marker)) + + x = 0 + r = [] + for b, e in encoded: + r.append(s[x:b]) + d = zlib.decompress(s[b:e]) + d = re.sub(r'%%CreationDate: [^\n]*\n', + r'%%CreationDate: 1970 Jan 01 00:00:00\n', d) + d = re.sub(r'%DVIPSSource: TeX output \d\d\d\d\.\d\d\.\d\d:\d\d\d\d', + r'%DVIPSSource: TeX output 1970.01.01:0000', d) + d = re.sub(r'/(BaseFont|FontName) /[A-Z]{6}', + r'/\1 /XXXXXX', d) + r.append(d) + x = e + r.append(s[x:]) + s = ''.join(r) + + return s + + def paths(self,patterns): + import glob + result = [] + for p in patterns: + result.extend(sorted(glob.glob(p))) + return result + + + def java_ENV(self, version=None): + """ + Initialize with a default external environment that uses a local + Java SDK in preference to whatever's found in the default PATH. + """ + if not self.external: + try: + return self._java_env[version]['ENV'] + except AttributeError: + self._java_env = {} + except KeyError: + pass + + import SCons.Environment + env = SCons.Environment.Environment() + self._java_env[version] = env + + + if version: + patterns = [ + '/usr/java/jdk%s*/bin' % version, + '/usr/lib/jvm/*-%s*/bin' % version, + '/usr/local/j2sdk%s*/bin' % version, + ] + java_path = self.paths(patterns) + [env['ENV']['PATH']] + else: + patterns = [ + '/usr/java/latest/bin', + '/usr/lib/jvm/*/bin', + '/usr/local/j2sdk*/bin', + ] + java_path = self.paths(patterns) + [env['ENV']['PATH']] + + env['ENV']['PATH'] = os.pathsep.join(java_path) + return env['ENV'] + + return None + + def java_where_includes(self,version=None): + """ + Return java include paths compiling java jni code + """ + import glob + import sys + if not version: + version='' + jni_dirs = ['/System/Library/Frameworks/JavaVM.framework/Headers/jni.h', + '/usr/lib/jvm/default-java/include/jni.h'] + else: + jni_dirs = ['/System/Library/Frameworks/JavaVM.framework/Versions/%s*/Headers/jni.h'%version] + jni_dirs.extend(['/usr/lib/jvm/java-*-sun-%s*/include/jni.h'%version, + '/usr/lib/jvm/java-%s*-openjdk/include/jni.h'%version, + '/usr/java/jdk%s*/include/jni.h'%version]) + dirs = self.paths(jni_dirs) + if not dirs: + return None + d=os.path.dirname(self.paths(jni_dirs)[0]) + result=[d] + + if sys.platform == 'win32': + result.append(os.path.join(d,'win32')) + elif sys.platform.startswith('linux'): + result.append(os.path.join(d,'linux')) + return result + + + def java_where_java_home(self,version=None): + if sys.platform[:6] == 'darwin': + if version is None: + home = '/System/Library/Frameworks/JavaVM.framework/Home' + else: + home = '/System/Library/Frameworks/JavaVM.framework/Versions/%s/Home' % version + else: + jar = self.java_where_jar(version) + home = os.path.normpath('%s/..'%jar) + if os.path.isdir(home): + return home + print("Could not determine JAVA_HOME: %s is not a directory" % home) + self.fail_test() + + def java_where_jar(self, version=None): + ENV = self.java_ENV(version) + if self.detect_tool('jar', ENV=ENV): + where_jar = self.detect('JAR', 'jar', ENV=ENV) + else: + where_jar = self.where_is('jar', ENV['PATH']) + if not where_jar: + self.skip_test("Could not find Java jar, skipping test(s).\n") + return where_jar + + def java_where_java(self, version=None): + """ + Return a path to the java executable. + """ + ENV = self.java_ENV(version) + where_java = self.where_is('java', ENV['PATH']) + if not where_java: + self.skip_test("Could not find Java java, skipping test(s).\n") + return where_java + + def java_where_javac(self, version=None): + """ + Return a path to the javac compiler. + """ + ENV = self.java_ENV(version) + if self.detect_tool('javac'): + where_javac = self.detect('JAVAC', 'javac', ENV=ENV) + else: + where_javac = self.where_is('javac', ENV['PATH']) + if not where_javac: + self.skip_test("Could not find Java javac, skipping test(s).\n") + self.run(program = where_javac, + arguments = '-version', + stderr=None, + status=None) + if version: + if self.stderr().find('javac %s' % version) == -1: + fmt = "Could not find javac for Java version %s, skipping test(s).\n" + self.skip_test(fmt % version) + else: + m = re.search(r'javac (\d\.\d)', self.stderr()) + if m: + version = m.group(1) + else: + version = None + return where_javac, version + + def java_where_javah(self, version=None): + ENV = self.java_ENV(version) + if self.detect_tool('javah'): + where_javah = self.detect('JAVAH', 'javah', ENV=ENV) + else: + where_javah = self.where_is('javah', ENV['PATH']) + if not where_javah: + self.skip_test("Could not find Java javah, skipping test(s).\n") + return where_javah + + def java_where_rmic(self, version=None): + ENV = self.java_ENV(version) + if self.detect_tool('rmic'): + where_rmic = self.detect('RMIC', 'rmic', ENV=ENV) + else: + where_rmic = self.where_is('rmic', ENV['PATH']) + if not where_rmic: + self.skip_test("Could not find Java rmic, skipping non-simulated test(s).\n") + return where_rmic + + def java_get_class_files(self, dir): + result = [] + for dirpath, dirnames, filenames in os.walk(dir): + for fname in filenames: + if fname.endswith('.class'): + result.append(os.path.join(dirpath, fname)) + return sorted(result) + + + def Qt_dummy_installation(self, dir='qt'): + # create a dummy qt installation + + self.subdir( dir, [dir, 'bin'], [dir, 'include'], [dir, 'lib'] ) + + self.write([dir, 'bin', 'mymoc.py'], """\ +import getopt +import sys +import re +# -w and -z are fake options used in test/QT/QTFLAGS.py +cmd_opts, args = getopt.getopt(sys.argv[1:], 'io:wz', []) +output = None +impl = 0 +opt_string = '' +for opt, arg in cmd_opts: + if opt == '-o': output = open(arg, 'wb') + elif opt == '-i': impl = 1 + else: opt_string = opt_string + ' ' + opt +output.write("/* mymoc.py%s */\\n" % opt_string) +for a in args: + contents = open(a, 'rb').read() + a = a.replace('\\\\', '\\\\\\\\') + subst = r'{ my_qt_symbol( "' + a + '\\\\n" ); }' + if impl: + contents = re.sub( r'#include.*', '', contents ) + output.write(contents.replace('Q_OBJECT', subst)) +output.close() +sys.exit(0) +""") + + self.write([dir, 'bin', 'myuic.py'], """\ +import os.path +import re +import sys +output_arg = 0 +impl_arg = 0 +impl = None +source = None +opt_string = '' +for arg in sys.argv[1:]: + if output_arg: + output = open(arg, 'wb') + output_arg = 0 + elif impl_arg: + impl = arg + impl_arg = 0 + elif arg == "-o": + output_arg = 1 + elif arg == "-impl": + impl_arg = 1 + elif arg[0:1] == "-": + opt_string = opt_string + ' ' + arg + else: + if source: + sys.exit(1) + source = open(arg, 'rb') + sourceFile = arg +output.write("/* myuic.py%s */\\n" % opt_string) +if impl: + output.write( '#include "' + impl + '"\\n' ) + includes = re.findall('(.*?)', source.read()) + for incFile in includes: + # this is valid for ui.h files, at least + if os.path.exists(incFile): + output.write('#include "' + incFile + '"\\n') +else: + output.write( '#include "my_qobject.h"\\n' + source.read() + " Q_OBJECT \\n" ) +output.close() +sys.exit(0) +""" ) + + self.write([dir, 'include', 'my_qobject.h'], r""" +#define Q_OBJECT ; +void my_qt_symbol(const char *arg); +""") + + self.write([dir, 'lib', 'my_qobject.cpp'], r""" +#include "../include/my_qobject.h" +#include +void my_qt_symbol(const char *arg) { + fputs( arg, stdout ); +} +""") + + self.write([dir, 'lib', 'SConstruct'], r""" +env = Environment() +import sys +if sys.platform == 'win32': + env.StaticLibrary( 'myqt', 'my_qobject.cpp' ) +else: + env.SharedLibrary( 'myqt', 'my_qobject.cpp' ) +""") + + self.run(chdir = self.workpath(dir, 'lib'), + arguments = '.', + stderr = noisy_ar, + match = self.match_re_dotall) + + self.QT = self.workpath(dir) + self.QT_LIB = 'myqt' + self.QT_MOC = '%s %s' % (_python_, self.workpath(dir, 'bin', 'mymoc.py')) + self.QT_UIC = '%s %s' % (_python_, self.workpath(dir, 'bin', 'myuic.py')) + self.QT_LIB_DIR = self.workpath(dir, 'lib') + + def Qt_create_SConstruct(self, place): + if isinstance(place, list): + place = test.workpath(*place) + self.write(place, """\ +if ARGUMENTS.get('noqtdir', 0): QTDIR=None +else: QTDIR=r'%s' +env = Environment(QTDIR = QTDIR, + QT_LIB = r'%s', + QT_MOC = r'%s', + QT_UIC = r'%s', + tools=['default','qt']) +dup = 1 +if ARGUMENTS.get('variant_dir', 0): + if ARGUMENTS.get('chdir', 0): + SConscriptChdir(1) + else: + SConscriptChdir(0) + dup=int(ARGUMENTS.get('dup', 1)) + if dup == 0: + builddir = 'build_dup0' + env['QT_DEBUG'] = 1 + else: + builddir = 'build' + VariantDir(builddir, '.', duplicate=dup) + print builddir, dup + sconscript = Dir(builddir).File('SConscript') +else: + sconscript = File('SConscript') +Export("env dup") +SConscript( sconscript ) +""" % (self.QT, self.QT_LIB, self.QT_MOC, self.QT_UIC)) + + + NCR = 0 # non-cached rebuild + CR = 1 # cached rebuild (up to date) + NCF = 2 # non-cached build failure + CF = 3 # cached build failure + + if sys.platform == 'win32': + Configure_lib = 'msvcrt' + else: + Configure_lib = 'm' + + # to use cygwin compilers on cmd.exe -> uncomment following line + #Configure_lib = 'm' + + def gccFortranLibs(self): + """Test which gcc Fortran startup libraries are required. + This should probably move into SCons itself, but is kind of hacky. + """ + if sys.platform.find('irix') != -1: + return ['ftn'] + + libs = ['g2c'] + cmd = ['gcc','-v'] + + try: + p = Popen(cmd, stdout=PIPE, stderr=PIPE) + stdout, stderr = p.communicate() + except: + return libs + + m = re.search('(gcc\s+version|gcc-Version)\s+(\d\.\d)', stderr) + if m: + gcc_version = m.group(2) + if re.match('4.[^0]', gcc_version): + libs = ['gfortranbegin'] + elif gcc_version in ('3.1', '4.0'): + libs = ['frtbegin'] + libs + + return libs + + def skip_if_not_msvc(self, check_platform=True): + """ Check whether we are on a Windows platform and skip the + test if not. This check can be omitted by setting + check_platform to False. + Then, for a win32 platform, additionally check + whether we have a MSVC toolchain installed + in the system, and skip the test if none can be + found (=MinGW is the only compiler available). + """ + if check_platform: + if sys.platform != 'win32': + msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform + self.skip_test(msg) + return + + try: + import SCons.Tool.MSCommon as msc + if not msc.msvc_exists(): + msg = "No MSVC toolchain found...skipping test\n" + self.skip_test(msg) + except: + pass + + def checkLogAndStdout(self, checks, results, cached, + logfile, sconf_dir, sconstruct, + doCheckLog=1, doCheckStdout=1): + + class NoMatch(Exception): + def __init__(self, p): + self.pos = p + + def matchPart(log, logfile, lastEnd, NoMatch=NoMatch): + m = re.match(log, logfile[lastEnd:]) + if not m: + raise NoMatch(lastEnd) + return m.end() + lastEnd + try: + #print len(os.linesep) + ls = os.linesep + nols = "(" + for i in range(len(ls)): + nols = nols + "(" + for j in range(i): + nols = nols + ls[j] + nols = nols + "[^" + ls[i] + "])" + if i < len(ls)-1: + nols = nols + "|" + nols = nols + ")" + lastEnd = 0 + logfile = self.read(self.workpath(logfile)) + if (doCheckLog and + logfile.find( "scons: warning: The stored build " + "information has an unexpected class." ) >= 0): + self.fail_test() + sconf_dir = sconf_dir + sconstruct = sconstruct + + log = r'file\ \S*%s\,line \d+:' % re.escape(sconstruct) + ls + if doCheckLog: lastEnd = matchPart(log, logfile, lastEnd) + log = "\t" + re.escape("Configure(confdir = %s)" % sconf_dir) + ls + if doCheckLog: lastEnd = matchPart(log, logfile, lastEnd) + rdstr = "" + cnt = 0 + for check,result,cache_desc in zip(checks, results, cached): + log = re.escape("scons: Configure: " + check) + ls + if doCheckLog: lastEnd = matchPart(log, logfile, lastEnd) + log = "" + result_cached = 1 + for bld_desc in cache_desc: # each TryXXX + for ext, flag in bld_desc: # each file in TryBuild + file = os.path.join(sconf_dir,"conftest_%d%s" % (cnt, ext)) + if flag == self.NCR: + # rebuild will pass + if ext in ['.c', '.cpp']: + log=log + re.escape(file + " <-") + ls + log=log + r"( \|" + nols + "*" + ls + ")+?" + else: + log=log + "(" + nols + "*" + ls +")*?" + result_cached = 0 + if flag == self.CR: + # up to date + log=log + \ + re.escape("scons: Configure: \"%s\" is up to date." + % file) + ls + log=log+re.escape("scons: Configure: The original builder " + "output was:") + ls + log=log+r"( \|.*"+ls+")+" + if flag == self.NCF: + # non-cached rebuild failure + log=log + "(" + nols + "*" + ls + ")*?" + result_cached = 0 + if flag == self.CF: + # cached rebuild failure + log=log + \ + re.escape("scons: Configure: Building \"%s\" failed " + "in a previous run and all its sources are" + " up to date." % file) + ls + log=log+re.escape("scons: Configure: The original builder " + "output was:") + ls + log=log+r"( \|.*"+ls+")+" + cnt = cnt + 1 + if result_cached: + result = "(cached) " + result + rdstr = rdstr + re.escape(check) + re.escape(result) + "\n" + log=log + re.escape("scons: Configure: " + result) + ls + ls + if doCheckLog: lastEnd = matchPart(log, logfile, lastEnd) + log = "" + if doCheckLog: lastEnd = matchPart(ls, logfile, lastEnd) + if doCheckLog and lastEnd != len(logfile): + raise NoMatch(lastEnd) + + except NoMatch, m: + print "Cannot match log file against log regexp." + print "log file: " + print "------------------------------------------------------" + print logfile[m.pos:] + print "------------------------------------------------------" + print "log regexp: " + print "------------------------------------------------------" + print log + print "------------------------------------------------------" + self.fail_test() + + if doCheckStdout: + exp_stdout = self.wrap_stdout(".*", rdstr) + if not self.match_re_dotall(self.stdout(), exp_stdout): + print "Unexpected stdout: " + print "-----------------------------------------------------" + print repr(self.stdout()) + print "-----------------------------------------------------" + print repr(exp_stdout) + print "-----------------------------------------------------" + self.fail_test() + + def get_python_version(self): + """ + Returns the Python version (just so everyone doesn't have to + hand-code slicing the right number of characters). + """ + # see also sys.prefix documentation + return python_minor_version_string() + + def get_platform_python_info(self): + """ + Returns a path to a Python executable suitable for testing on + this platform and its associated include path, library path, + and library name. + """ + python = self.where_is('python') + if not python: + self.skip_test('Can not find installed "python", skipping test.\n') + + self.run(program = python, stdin = """\ +import os, sys +try: + py_ver = 'python%d.%d' % sys.version_info[:2] +except AttributeError: + py_ver = 'python' + sys.version[:3] +print os.path.join(sys.prefix, 'include', py_ver) +print os.path.join(sys.prefix, 'lib', py_ver, 'config') +print py_ver +""") + + return [python] + self.stdout().strip().split('\n') + + def start(self, *args, **kw): + """ + Starts SCons in the test environment. + + This method exists to tell Test{Cmd,Common} that we're going to + use standard input without forcing every .start() call in the + individual tests to do so explicitly. + """ + if 'stdin' not in kw: + kw['stdin'] = True + sconsflags = initialize_sconsflags(self.ignore_python_version) + try: + p = TestCommon.start(self, *args, **kw) + finally: + restore_sconsflags(sconsflags) + return p + + def wait_for(self, fname, timeout=20.0, popen=None): + """ + Waits for the specified file name to exist. + """ + waited = 0.0 + while not os.path.exists(fname): + if timeout and waited >= timeout: + sys.stderr.write('timed out waiting for %s to exist\n' % fname) + if popen: + popen.stdin.close() + popen.stdin = None + self.status = 1 + self.finish(popen) + stdout = self.stdout() + if stdout: + sys.stdout.write(self.banner('STDOUT ') + '\n') + sys.stdout.write(stdout) + stderr = self.stderr() + if stderr: + sys.stderr.write(self.banner('STDERR ') + '\n') + sys.stderr.write(stderr) + self.fail_test() + time.sleep(1.0) + waited = waited + 1.0 + + def get_alt_cpp_suffix(self): + """ + Many CXX tests have this same logic. + They all needed to determine if the current os supports + files with .C and .c as different files or not + in which case they are instructed to use .cpp instead of .C + """ + if not case_sensitive_suffixes('.c','.C'): + alt_cpp_suffix = '.cpp' + else: + alt_cpp_suffix = '.C' + return alt_cpp_suffix + + +class Stat: + def __init__(self, name, units, expression, convert=None): + if convert is None: + convert = lambda x: x + self.name = name + self.units = units + self.expression = re.compile(expression) + self.convert = convert + +StatList = [ + Stat('memory-initial', 'kbytes', + r'Memory before reading SConscript files:\s+(\d+)', + convert=lambda s: int(s) // 1024), + Stat('memory-prebuild', 'kbytes', + r'Memory before building targets:\s+(\d+)', + convert=lambda s: int(s) // 1024), + Stat('memory-final', 'kbytes', + r'Memory after building targets:\s+(\d+)', + convert=lambda s: int(s) // 1024), + + Stat('time-sconscript', 'seconds', + r'Total SConscript file execution time:\s+([\d.]+) seconds'), + Stat('time-scons', 'seconds', + r'Total SCons execution time:\s+([\d.]+) seconds'), + Stat('time-commands', 'seconds', + r'Total command execution time:\s+([\d.]+) seconds'), + Stat('time-total', 'seconds', + r'Total build time:\s+([\d.]+) seconds'), +] + + +class TimeSCons(TestSCons): + """Class for timing SCons.""" + def __init__(self, *args, **kw): + """ + In addition to normal TestSCons.TestSCons intialization, + this enables verbose mode (which causes the command lines to + be displayed in the output) and copies the contents of the + directory containing the executing script to the temporary + working directory. + """ + self.variables = kw.get('variables') + default_calibrate_variables = [] + if self.variables is not None: + for variable, value in self.variables.items(): + value = os.environ.get(variable, value) + try: + value = int(value) + except ValueError: + try: + value = float(value) + except ValueError: + pass + else: + default_calibrate_variables.append(variable) + else: + default_calibrate_variables.append(variable) + self.variables[variable] = value + del kw['variables'] + calibrate_keyword_arg = kw.get('calibrate') + if calibrate_keyword_arg is None: + self.calibrate_variables = default_calibrate_variables + else: + self.calibrate_variables = calibrate_keyword_arg + del kw['calibrate'] + + self.calibrate = os.environ.get('TIMESCONS_CALIBRATE', '0') != '0' + + if 'verbose' not in kw and not self.calibrate: + kw['verbose'] = True + + TestSCons.__init__(self, *args, **kw) + + # TODO(sgk): better way to get the script dir than sys.argv[0] + self.test_dir = os.path.dirname(sys.argv[0]) + test_name = os.path.basename(self.test_dir) + + if not os.path.isabs(self.test_dir): + self.test_dir = os.path.join(self.orig_cwd, self.test_dir) + self.copy_timing_configuration(self.test_dir, self.workpath()) + + def main(self, *args, **kw): + """ + The main entry point for standard execution of timings. + + This method run SCons three times: + + Once with the --help option, to have it exit after just reading + the configuration. + + Once as a full build of all targets. + + Once again as a (presumably) null or up-to-date build of + all targets. + + The elapsed time to execute each build is printed after + it has finished. + """ + if 'options' not in kw and self.variables: + options = [] + for variable, value in self.variables.items(): + options.append('%s=%s' % (variable, value)) + kw['options'] = ' '.join(options) + if self.calibrate: + self.calibration(*args, **kw) + else: + self.uptime() + self.startup(*args, **kw) + self.full(*args, **kw) + self.null(*args, **kw) + + def trace(self, graph, name, value, units, sort=None): + fmt = "TRACE: graph=%s name=%s value=%s units=%s" + line = fmt % (graph, name, value, units) + if sort is not None: + line = line + (' sort=%s' % sort) + line = line + '\n' + sys.stdout.write(line) + sys.stdout.flush() + + def report_traces(self, trace, stats): + self.trace('TimeSCons-elapsed', + trace, + self.elapsed_time(), + "seconds", + sort=0) + for name, args in stats.items(): + self.trace(name, trace, **args) + + def uptime(self): + try: + fp = open('/proc/loadavg') + except EnvironmentError: + pass + else: + avg1, avg5, avg15 = fp.readline().split(" ")[:3] + fp.close() + self.trace('load-average', 'average1', avg1, 'processes') + self.trace('load-average', 'average5', avg5, 'processes') + self.trace('load-average', 'average15', avg15, 'processes') + + def collect_stats(self, input): + result = {} + for stat in StatList: + m = stat.expression.search(input) + if m: + value = stat.convert(m.group(1)) + # The dict keys match the keyword= arguments + # of the trace() method above so they can be + # applied directly to that call. + result[stat.name] = {'value':value, 'units':stat.units} + return result + + def add_timing_options(self, kw, additional=None): + """ + Add the necessary timings options to the kw['options'] value. + """ + options = kw.get('options', '') + if additional is not None: + options += additional + kw['options'] = options + ' --debug=memory,time' + + def startup(self, *args, **kw): + """ + Runs scons with the --help option. + + This serves as a way to isolate just the amount of startup time + spent reading up the configuration, since --help exits before any + "real work" is done. + """ + self.add_timing_options(kw, ' --help') + # Ignore the exit status. If the --help run dies, we just + # won't report any statistics for it, but we can still execute + # the full and null builds. + kw['status'] = None + self.run(*args, **kw) + sys.stdout.write(self.stdout()) + stats = self.collect_stats(self.stdout()) + # Delete the time-commands, since no commands are ever + # executed on the help run and it is (or should be) always 0.0. + del stats['time-commands'] + self.report_traces('startup', stats) + + def full(self, *args, **kw): + """ + Runs a full build of SCons. + """ + self.add_timing_options(kw) + self.run(*args, **kw) + sys.stdout.write(self.stdout()) + stats = self.collect_stats(self.stdout()) + self.report_traces('full', stats) + self.trace('full-memory', 'initial', **stats['memory-initial']) + self.trace('full-memory', 'prebuild', **stats['memory-prebuild']) + self.trace('full-memory', 'final', **stats['memory-final']) + + def calibration(self, *args, **kw): + """ + Runs a full build of SCons, but only reports calibration + information (the variable(s) that were set for this configuration, + and the elapsed time to run. + """ + self.add_timing_options(kw) + self.run(*args, **kw) + for variable in self.calibrate_variables: + value = self.variables[variable] + sys.stdout.write('VARIABLE: %s=%s\n' % (variable, value)) + sys.stdout.write('ELAPSED: %s\n' % self.elapsed_time()) + + def null(self, *args, **kw): + """ + Runs an up-to-date null build of SCons. + """ + # TODO(sgk): allow the caller to specify the target (argument) + # that must be up-to-date. + self.add_timing_options(kw) + self.up_to_date(arguments='.', **kw) + sys.stdout.write(self.stdout()) + stats = self.collect_stats(self.stdout()) + # time-commands should always be 0.0 on a null build, because + # no commands should be executed. Remove it from the stats + # so we don't trace it, but only if it *is* 0 so that we'll + # get some indication if a supposedly-null build actually does + # build something. + if float(stats['time-commands']['value']) == 0.0: + del stats['time-commands'] + self.report_traces('null', stats) + self.trace('null-memory', 'initial', **stats['memory-initial']) + self.trace('null-memory', 'prebuild', **stats['memory-prebuild']) + self.trace('null-memory', 'final', **stats['memory-final']) + + def elapsed_time(self): + """ + Returns the elapsed time of the most recent command execution. + """ + return self.endTime - self.startTime + + def run(self, *args, **kw): + """ + Runs a single build command, capturing output in the specified file. + + Because this class is about timing SCons, we record the start + and end times of the elapsed execution, and also add the + --debug=memory and --debug=time options to have SCons report + its own memory and timing statistics. + """ + self.startTime = time.time() + try: + result = TestSCons.run(self, *args, **kw) + finally: + self.endTime = time.time() + return result + + def copy_timing_configuration(self, source_dir, dest_dir): + """ + Copies the timing configuration from the specified source_dir (the + directory in which the controlling script lives) to the specified + dest_dir (a temporary working directory). + + This ignores all files and directories that begin with the string + 'TimeSCons-', and all '.svn' subdirectories. + """ + for root, dirs, files in os.walk(source_dir): + if '.svn' in dirs: + dirs.remove('.svn') + dirs = [ d for d in dirs if not d.startswith('TimeSCons-') ] + files = [ f for f in files if not f.startswith('TimeSCons-') ] + for dirname in dirs: + source = os.path.join(root, dirname) + destination = source.replace(source_dir, dest_dir) + os.mkdir(destination) + if sys.platform != 'win32': + shutil.copystat(source, destination) + for filename in files: + source = os.path.join(root, filename) + destination = source.replace(source_dir, dest_dir) + shutil.copy2(source, destination) + + +# In some environments, $AR will generate a warning message to stderr +# if the library doesn't previously exist and is being created. One +# way to fix this is to tell AR to be quiet (sometimes the 'c' flag), +# but this is difficult to do in a platform-/implementation-specific +# method. Instead, we will use the following as a stderr match for +# tests that use AR so that we will view zero or more "ar: creating +# " messages to be successful executions of the test (see +# test/AR.py for sample usage). + +noisy_ar=r'(ar: creating( archive)? \S+\n?)*' + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py new file mode 100644 index 0000000..42564a7 --- /dev/null +++ b/QMTest/TestSConsMSVS.py @@ -0,0 +1,1053 @@ +""" +TestSConsMSVS.py: a testing framework for the SCons software construction +tool. + +A TestSConsMSVS environment object is created via the usual invocation: + + test = TestSConsMSVS() + +TestSConsMSVS is a subsclass of TestSCons, which is in turn a subclass +of TestCommon, which is in turn is a subclass of TestCmd), and hence +has available all of the methods and attributes from those classes, +as well as any overridden or additional methods or attributes defined +in this subclass. +""" + +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation + +__revision__ = "QMTest/TestSConsMSVS.py 2014/03/02 14:18:15 garyo" + +import os +import sys +import platform + +from TestSCons import * +from TestSCons import __all__ + + + +expected_dspfile_6_0 = '''\ +# Microsoft Developer Studio Project File - Name="Test" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) External Target" 0x0106 + +CFG=Test - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "Test.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "Test.mak" CFG="Test - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "Test - Win32 Release" (based on "Win32 (x86) External Target") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "Test - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "" +# PROP BASE Intermediate_Dir "" +# PROP BASE Cmd_Line "echo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe"" +# PROP BASE Rebuild_Opt "-c && echo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe"" +# PROP BASE Target_File "Test.exe" +# PROP BASE Bsc_Name "" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "" +# PROP Intermediate_Dir "" +# PROP Cmd_Line "echo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe"" +# PROP Rebuild_Opt "-c && echo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe"" +# PROP Target_File "Test.exe" +# PROP Bsc_Name "" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "Test - Win32 Release" + +!IF "$(CFG)" == "Test - Win32 Release" + +!ENDIF + +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE="sdk.h" +# End Source File +# End Group +# Begin Group "Local Headers" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE="test.h" +# End Source File +# End Group +# Begin Group "Other Files" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE="readme.txt" +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "r;rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE="test.rc" +# End Source File +# End Group +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;l;y;def;odl;idl;hpj;bat" +# Begin Source File + +SOURCE="test.c" +# End Source File +# End Group +# Begin Source File + +SOURCE="" +# End Source File +# End Target +# End Project +''' + +expected_dswfile_6_0 = '''\ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "Test"="Test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### +''' + +SConscript_contents_6_0 = """\ +env=Environment(platform='win32', tools=['msvs'], + MSVS_VERSION='6.0',HOST_ARCH='%(HOST_ARCH)s') + +testsrc = ['test.c'] +testincs = ['sdk.h'] +testlocalincs = ['test.h'] +testresources = ['test.rc'] +testmisc = ['readme.txt'] + +env.MSVSProject(target = 'Test.dsp', + srcs = testsrc, + incs = testincs, + localincs = testlocalincs, + resources = testresources, + misc = testmisc, + buildtarget = 'Test.exe', + variant = 'Release') +""" + + + +expected_slnfile_7_0 = """\ +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test.vcproj", "" +EndProject +Global + +\tGlobalSection(SolutionConfiguration) = preSolution +\t\tConfigName.0 = Release +\tEndGlobalSection +\tGlobalSection(ProjectDependencies) = postSolution +\tEndGlobalSection +\tGlobalSection(ProjectConfiguration) = postSolution +\t\t.Release.ActiveCfg = Release|Win32 +\t\t.Release.Build.0 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(ExtensibilityGlobals) = postSolution +\tEndGlobalSection +\tGlobalSection(ExtensibilityAddIns) = postSolution +\tEndGlobalSection +EndGlobal +""" + +expected_vcprojfile_7_0 = """\ + + +\tKeyword="MakeFileProj"> +\t +\t\t +\t +\t +\t\t +\t\t\t +\t\t +\t +\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t +\t +\t +\t + +""" + +SConscript_contents_7_0 = """\ +env=Environment(platform='win32', tools=['msvs'], + MSVS_VERSION='7.0',HOST_ARCH='%(HOST_ARCH)s') + +testsrc = ['test1.cpp', 'test2.cpp'] +testincs = ['sdk.h'] +testlocalincs = ['test.h'] +testresources = ['test.rc'] +testmisc = ['readme.txt'] + +env.MSVSProject(target = 'Test.vcproj', + slnguid = '{SLNGUID}', + srcs = testsrc, + incs = testincs, + localincs = testlocalincs, + resources = testresources, + misc = testmisc, + buildtarget = 'Test.exe', + variant = 'Release') +""" + + + +expected_slnfile_7_1 = """\ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test.vcproj", "" +\tProjectSection(ProjectDependencies) = postProject +\tEndProjectSection +EndProject +Global + +\tGlobalSection(SolutionConfiguration) = preSolution +\t\tConfigName.0 = Release +\tEndGlobalSection +\tGlobalSection(ProjectDependencies) = postSolution +\tEndGlobalSection +\tGlobalSection(ProjectConfiguration) = postSolution +\t\t.Release.ActiveCfg = Release|Win32 +\t\t.Release.Build.0 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(ExtensibilityGlobals) = postSolution +\tEndGlobalSection +\tGlobalSection(ExtensibilityAddIns) = postSolution +\tEndGlobalSection +EndGlobal +""" + +expected_vcprojfile_7_1 = """\ + + +\tKeyword="MakeFileProj"> +\t +\t\t +\t +\t +\t\t +\t\t\t +\t\t +\t +\t +\t +\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t +\t +\t +\t + +""" + +SConscript_contents_7_1 = """\ +env=Environment(platform='win32', tools=['msvs'], + MSVS_VERSION='7.1',HOST_ARCH='%(HOST_ARCH)s') + +testsrc = ['test1.cpp', 'test2.cpp'] +testincs = ['sdk.h'] +testlocalincs = ['test.h'] +testresources = ['test.rc'] +testmisc = ['readme.txt'] + +env.MSVSProject(target = 'Test.vcproj', + slnguid = '{SLNGUID}', + srcs = testsrc, + incs = testincs, + localincs = testlocalincs, + resources = testresources, + misc = testmisc, + buildtarget = 'Test.exe', + variant = 'Release') +""" + + + +expected_slnfile_8_0 = """\ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test.vcproj", "" +EndProject +Global + +\tGlobalSection(SolutionConfigurationPlatforms) = preSolution +\t\tRelease|Win32 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(ProjectConfigurationPlatforms) = postSolution +\t\t.Release|Win32.ActiveCfg = Release|Win32 +\t\t.Release|Win32.Build.0 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(SolutionProperties) = preSolution +\t\tHideSolutionNode = FALSE +\tEndGlobalSection +EndGlobal +""" + +expected_slnfile_9_0 = """\ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test.vcproj", "" +EndProject +Global + +\tGlobalSection(SolutionConfigurationPlatforms) = preSolution +\t\tRelease|Win32 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(ProjectConfigurationPlatforms) = postSolution +\t\t.Release|Win32.ActiveCfg = Release|Win32 +\t\t.Release|Win32.Build.0 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(SolutionProperties) = preSolution +\t\tHideSolutionNode = FALSE +\tEndGlobalSection +EndGlobal +""" + +expected_slnfile_10_0 = """\ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test.vcxproj", "Test.vcxproj", "{39A97E1F-1A52-8954-A0B1-A10A8487545E}" +EndProject +Global + +\tGlobalSection(SolutionConfigurationPlatforms) = preSolution +\t\tRelease|Win32 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(ProjectConfigurationPlatforms) = postSolution +\t\t{39A97E1F-1A52-8954-A0B1-A10A8487545E}.Release|Win32.ActiveCfg = Release|Win32 +\t\t{39A97E1F-1A52-8954-A0B1-A10A8487545E}.Release|Win32.Build.0 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(SolutionProperties) = preSolution +\t\tHideSolutionNode = FALSE +\tEndGlobalSection +EndGlobal +""" + +expected_slnfile_11_0 = """\ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 11 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test.vcxproj", "Test.vcxproj", "{39A97E1F-1A52-8954-A0B1-A10A8487545E}" +EndProject +Global + +\tGlobalSection(SolutionConfigurationPlatforms) = preSolution +\t\tRelease|Win32 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(ProjectConfigurationPlatforms) = postSolution +\t\t{39A97E1F-1A52-8954-A0B1-A10A8487545E}.Release|Win32.ActiveCfg = Release|Win32 +\t\t{39A97E1F-1A52-8954-A0B1-A10A8487545E}.Release|Win32.Build.0 = Release|Win32 +\tEndGlobalSection +\tGlobalSection(SolutionProperties) = preSolution +\t\tHideSolutionNode = FALSE +\tEndGlobalSection +EndGlobal +""" + +expected_vcprojfile_8_0 = """\ + + +\tKeyword="MakeFileProj"> +\t +\t\t +\t +\t +\t +\t +\t\t +\t\t\t +\t\t +\t +\t +\t +\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t +\t +\t +\t + +""" + +expected_vcprojfile_9_0 = """\ + + +\tKeyword="MakeFileProj"> +\t +\t\t +\t +\t +\t +\t +\t\t +\t\t\t +\t\t +\t +\t +\t +\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t\t +\t\t +\t\t +\t\t +\t +\t +\t + +""" + +expected_vcprojfile_10_0 = """\ + + +\t +\t\t +\t\t\tRelease +\t\t\tWin32 +\t\t +\t +\t +\t\t{39A97E1F-1A52-8954-A0B1-A10A8487545E} + +\t\tTest +\t\tMakeFileProj +\t +\t +\t +\t\tMakefile +\t\tfalse +\t +\t +\t +\t +\t +\t\t +\t +\t +\t +\t<_ProjectFileVersion>10.0.30319.1 +\t\techo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe" +\t\techo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe" +\t\techo Starting SCons && "" -c "" -C "" -f SConstruct -c "Test.exe" +\t\tTest.exe +\t\tDEF1;DEF2;DEF3=1234 +\t\tinc1;inc2 +\t\t$(NMakeForcedIncludes) +\t\t$(NMakeAssemblySearchPath) +\t\t$(NMakeForcedUsingAssemblies) +\t +\t +\t\t +\t +\t +\t\t +\t +\t +\t\t +\t +\t +\t\t +\t +\t +\t\t +\t\t +\t +\t +\t\t +\t +\t +\t +\t + +""" + +expected_vcprojfile_11_0 = """\ + + +\t +\t\t +\t\t\tRelease +\t\t\tWin32 +\t\t +\t +\t +\t\t{39A97E1F-1A52-8954-A0B1-A10A8487545E} + +\t\tTest +\t\tMakeFileProj +\t +\t +\t +\t\tMakefile +\t\tfalse +\t +\t +\t +\t +\t +\t\t +\t +\t +\t +\t<_ProjectFileVersion>10.0.30319.1 +\t\techo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe" +\t\techo Starting SCons && "" -c "" -C "" -f SConstruct "Test.exe" +\t\techo Starting SCons && "" -c "" -C "" -f SConstruct -c "Test.exe" +\t\tTest.exe +\t\tDEF1;DEF2;DEF3=1234 +\t\tinc1;inc2 +\t\t$(NMakeForcedIncludes) +\t\t$(NMakeAssemblySearchPath) +\t\t$(NMakeForcedUsingAssemblies) +\t +\t +\t\t +\t +\t +\t\t +\t +\t +\t\t +\t +\t +\t\t +\t +\t +\t\t +\t\t +\t +\t +\t\t +\t +\t +\t +\t + +""" + +SConscript_contents_8_0 = """\ +env=Environment(platform='win32', tools=['msvs'], MSVS_VERSION='8.0', + CPPDEFINES=['DEF1', 'DEF2',('DEF3','1234')], + CPPPATH=['inc1', 'inc2'], + HOST_ARCH='%(HOST_ARCH)s') + +testsrc = ['test1.cpp', 'test2.cpp'] +testincs = ['sdk.h'] +testlocalincs = ['test.h'] +testresources = ['test.rc'] +testmisc = ['readme.txt'] + +env.MSVSProject(target = 'Test.vcproj', + slnguid = '{SLNGUID}', + srcs = testsrc, + incs = testincs, + localincs = testlocalincs, + resources = testresources, + misc = testmisc, + buildtarget = 'Test.exe', + variant = 'Release') +""" + +SConscript_contents_9_0 = """\ +env=Environment(platform='win32', tools=['msvs'], MSVS_VERSION='9.0', + CPPDEFINES=['DEF1', 'DEF2',('DEF3','1234')], + CPPPATH=['inc1', 'inc2'], + HOST_ARCH='%(HOST_ARCH)s') + +testsrc = ['test1.cpp', 'test2.cpp'] +testincs = ['sdk.h'] +testlocalincs = ['test.h'] +testresources = ['test.rc'] +testmisc = ['readme.txt'] + +env.MSVSProject(target = 'Test.vcproj', + slnguid = '{SLNGUID}', + srcs = testsrc, + incs = testincs, + localincs = testlocalincs, + resources = testresources, + misc = testmisc, + buildtarget = 'Test.exe', + variant = 'Release') +""" + +SConscript_contents_10_0 = """\ +env=Environment(platform='win32', tools=['msvs'], MSVS_VERSION='10.0', + CPPDEFINES=['DEF1', 'DEF2',('DEF3','1234')], + CPPPATH=['inc1', 'inc2'], + HOST_ARCH='%(HOST_ARCH)s') + +testsrc = ['test1.cpp', 'test2.cpp'] +testincs = ['sdk_dir\sdk.h'] +testlocalincs = ['test.h'] +testresources = ['test.rc'] +testmisc = ['readme.txt'] + +env.MSVSProject(target = 'Test.vcxproj', + slnguid = '{SLNGUID}', + srcs = testsrc, + incs = testincs, + localincs = testlocalincs, + resources = testresources, + misc = testmisc, + buildtarget = 'Test.exe', + variant = 'Release') +""" + +SConscript_contents_11_0 = """\ +env=Environment(platform='win32', tools=['msvs'], MSVS_VERSION='11.0', + CPPDEFINES=['DEF1', 'DEF2',('DEF3','1234')], + CPPPATH=['inc1', 'inc2'], + HOST_ARCH='%(HOST_ARCH)s') + +testsrc = ['test1.cpp', 'test2.cpp'] +testincs = ['sdk_dir\sdk.h'] +testlocalincs = ['test.h'] +testresources = ['test.rc'] +testmisc = ['readme.txt'] + +env.MSVSProject(target = 'Test.vcxproj', + slnguid = '{SLNGUID}', + srcs = testsrc, + incs = testincs, + localincs = testlocalincs, + resources = testresources, + misc = testmisc, + buildtarget = 'Test.exe', + variant = 'Release') +""" + +class TestSConsMSVS(TestSCons): + """Subclass for testing MSVS-specific portions of SCons.""" + + def msvs_versions(self): + if not hasattr(self, '_msvs_versions'): + + # Determine the SCons version and the versions of the MSVS + # environments installed on the test machine. + # + # We do this by executing SCons with an SConstruct file + # (piped on stdin) that spits out Python assignments that + # we can just exec(). We construct the SCons.__"version"__ + # string in the input here so that the SCons build itself + # doesn't fill it in when packaging SCons. + input = """\ +import SCons +import SCons.Tool.MSCommon +print "self.scons_version =", repr(SCons.__%s__) +print "self._msvs_versions =", str(SCons.Tool.MSCommon.query_versions()) +""" % 'version' + + self.run(arguments = '-n -q -Q -f -', stdin = input) + exec(self.stdout()) + + return self._msvs_versions + + def vcproj_sys_path(self, fname): + """ + """ + orig = 'sys.path = [ join(sys' + + enginepath = repr(os.path.join(self._cwd, '..', 'engine')) + replace = 'sys.path = [ %s, join(sys' % enginepath + + contents = self.read(fname) + contents = contents.replace(orig, replace) + self.write(fname, contents) + + def msvs_substitute(self, input, msvs_ver, + subdir=None, sconscript=None, + python=None, + project_guid=None, + vcproj_sccinfo='', sln_sccinfo=''): + if not hasattr(self, '_msvs_versions'): + self.msvs_versions() + + if subdir: + workpath = self.workpath(subdir) + else: + workpath = self.workpath() + + if sconscript is None: + sconscript = self.workpath('SConstruct') + + if python is None: + python = sys.executable + + if project_guid is None: + project_guid = "{E5466E26-0003-F18B-8F8A-BCD76C86388D}" + + if 'SCONS_LIB_DIR' in os.environ: + exec_script_main = "from os.path import join; import sys; sys.path = [ r'%s' ] + sys.path; import SCons.Script; SCons.Script.main()" % os.environ['SCONS_LIB_DIR'] + else: + exec_script_main = "from os.path import join; import sys; sys.path = [ join(sys.prefix, 'Lib', 'site-packages', 'scons-%s'), join(sys.prefix, 'scons-%s'), join(sys.prefix, 'Lib', 'site-packages', 'scons'), join(sys.prefix, 'scons') ] + sys.path; import SCons.Script; SCons.Script.main()" % (self.scons_version, self.scons_version) + exec_script_main_xml = exec_script_main.replace("'", "'") + + result = input.replace(r'', workpath) + result = result.replace(r'', python) + result = result.replace(r'', sconscript) + result = result.replace(r'', exec_script_main) + result = result.replace(r'', exec_script_main_xml) + result = result.replace(r'', project_guid) + result = result.replace('\n', vcproj_sccinfo) + result = result.replace('\n', sln_sccinfo) + return result + + def get_msvs_executable(self, version): + """Returns a full path to the executable (MSDEV or devenv) + for the specified version of Visual Studio. + """ + from SCons.Tool.MSCommon import get_vs_by_version + + msvs = get_vs_by_version(version) + if not msvs: + return None + return msvs.get_executable() + + def run(self, *args, **kw): + """ + Suppress MSVS deprecation warnings. + """ + save_sconsflags = os.environ.get('SCONSFLAGS') + if save_sconsflags: + sconsflags = [save_sconsflags] + else: + sconsflags = [] + sconsflags = sconsflags + ['--warn=no-deprecated'] + os.environ['SCONSFLAGS'] = ' '.join(sconsflags) + try: + result = TestSCons.run(self, *args, **kw) + finally: + os.environ['SCONSFLAGS'] = save_sconsflags or '' + return result + + def get_vs_host_arch(self): + """ Get an MSVS, SDK , and/or MSVS acceptable platform arch + """ + + # Dict to 'canonalize' the arch + _ARCH_TO_CANONICAL = { + "x86": "x86", + "amd64": "amd64", + "i386": "x86", + "emt64": "amd64", + "x86_64": "amd64", + "itanium": "ia64", + "ia64": "ia64", + } + + host_platform = platform.machine() + # TODO(2.5): the native Python platform.machine() function returns + # '' on all Python versions before 2.6, after which it also uses + # PROCESSOR_ARCHITECTURE. + if not host_platform: + host_platform = os.environ.get('PROCESSOR_ARCHITECTURE', '') + + + try: + host = _ARCH_TO_CANONICAL[host_platform] + except KeyError, e: + # Default to x86 for all other platforms + host = 'x86' + + + return host + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestSCons_time.py b/QMTest/TestSCons_time.py new file mode 100644 index 0000000..806d7ca --- /dev/null +++ b/QMTest/TestSCons_time.py @@ -0,0 +1,330 @@ +""" +TestSCons_time.py: a testing framework for the scons-test.py script + +A TestSCons_time environment object is created via the usual invocation: + + test = TestSCons_time() + +TestSCons_time is a subclass of TestCommon, which is in turn is a subclass +of TestCmd), and hence has available all of the methods and attributes +from those classes, as well as any overridden or additional methods or +attributes defined in this subclass. +""" + +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation + +__revision__ = "QMTest/TestSCons_time.py 2014/03/02 14:18:15 garyo" + +import os +import os.path +import sys + +from TestCommon import * +from TestCommon import __all__ +# some of the scons_time tests may need regex-based matching: +from TestSCons import search_re, search_re_in_list + +__all__.extend([ 'TestSCons_time', + ]) + +SConstruct = """\ +import os +print "SConstruct file directory:", os.getcwd() +""" + +scons_py = """\ +#!/usr/bin/env python +import os +import sys +def write_args(fp, args): + fp.write(args[0] + '\\n') + for arg in args[1:]: + fp.write(' ' + arg + '\\n') +write_args(sys.stdout, sys.argv) +for arg in sys.argv[1:]: + if arg[:10] == '--profile=': + profile = open(arg[10:], 'wb') + profile.write('--profile\\n') + write_args(profile, sys.argv) + break +sys.stdout.write('SCONS_LIB_DIR = ' + os.environ['SCONS_LIB_DIR'] + '\\n') +exec(open('SConstruct', 'rU').read()) +""" + +aegis_py = """\ +#!/usr/bin/env python +import os +import sys +script_dir = 'src/script' +if not os.path.exists(script_dir): + os.makedirs(script_dir) +open(script_dir + '/scons.py', 'w').write( +r'''%s''') +""" % scons_py + + +svn_py = """\ +#!/usr/bin/env python +import os +import sys +dir = sys.argv[-1] +script_dir = dir + '/src/script' +os.makedirs(script_dir) +open(script_dir + '/scons.py', 'w').write( +r'''%s''') +""" % scons_py + + +logfile_contents = """\ +Memory before reading SConscript files: 100%(index)s +Memory after reading SConscript files: 200%(index)s +Memory before building targets: 300%(index)s +Memory after building targets: 400%(index)s +Object counts: + pre- post- pre- post- + read read build build Class + 101%(index)s 102%(index)s 103%(index)s 104%(index)s Action.CommandAction + 201%(index)s 202%(index)s 203%(index)s 204%(index)s Action.CommandGeneratorAction + 301%(index)s 302%(index)s 303%(index)s 304%(index)s Action.FunctionAction + 401%(index)s 402%(index)s 403%(index)s 404%(index)s Action.LazyAction + 501%(index)s 502%(index)s 503%(index)s 504%(index)s Action.ListAction + 601%(index)s 602%(index)s 603%(index)s 604%(index)s Builder.BuilderBase + 701%(index)s 702%(index)s 703%(index)s 704%(index)s Builder.CompositeBuilder + 801%(index)s 802%(index)s 803%(index)s 804%(index)s Builder.ListBuilder + 901%(index)s 902%(index)s 903%(index)s 904%(index)s Builder.MultiStepBuilder + 1001%(index)s 1002%(index)s 1003%(index)s 1004%(index)s Builder.OverrideWarner + 1101%(index)s 1102%(index)s 1103%(index)s 1104%(index)s Environment.Base + 1201%(index)s 1202%(index)s 1203%(index)s 1204%(index)s Environment.EnvironmentClone + 1301%(index)s 1302%(index)s 1303%(index)s 1304%(index)s Environment.OverrideEnvironment + 1401%(index)s 1402%(index)s 1403%(index)s 1404%(index)s Executor.Executor + 1501%(index)s 1502%(index)s 1503%(index)s 1504%(index)s Node.FS + 1601%(index)s 1602%(index)s 1603%(index)s 1604%(index)s Node.FS.Base + 1701%(index)s 1702%(index)s 1703%(index)s 1704%(index)s Node.FS.Dir + 1801%(index)s 1802%(index)s 1803%(index)s 1804%(index)s Node.FS.File + 1901%(index)s 1902%(index)s 1904%(index)s 1904%(index)s Node.FS.RootDir + 2001%(index)s 2002%(index)s 2003%(index)s 2004%(index)s Node.Node +Total build time: 11.123456 seconds +Total SConscript file execution time: 22.234567 seconds +Total SCons execution time: 33.345678 seconds +Total command execution time: 44.456789 seconds +""" + + +profile_py = """\ +%(body)s + +import profile + +try: dispatch = profile.Profile.dispatch +except AttributeError: pass +else: dispatch['c_exception'] = profile.Profile.trace_dispatch_return + +prof = profile.Profile() +prof.runcall(%(call)s) +prof.dump_stats(r'%(profile_name)s') +""" + + +class TestSCons_time(TestCommon): + """Class for testing the scons-time script. + + This provides a common place for initializing scons-time tests, + eliminating the need to begin every test with the same repeated + initializations. + """ + + def __init__(self, **kw): + """Initialize an SCons_time testing object. + + If they're not overridden by keyword arguments, this + initializes the object with the following default values: + + program = 'scons-time' + interpreter = ['python', '-tt'] + match = match_exact + workdir = '' + + The workdir value means that, by default, a temporary workspace + directory is created for a TestSCons_time environment. + In addition, this method changes directory (chdir) to the + workspace directory, so an explicit "chdir = '.'" on all of the + run() method calls is not necessary. + """ + + self.orig_cwd = os.getcwd() + try: + script_dir = os.environ['SCONS_SCRIPT_DIR'] + except KeyError: + pass + else: + os.chdir(script_dir) + if 'program' not in kw: + p = os.environ.get('SCONS_TIME') + if not p: + p = 'scons-time' + if not os.path.exists(p): + p = 'scons-time.py' + kw['program'] = p + + if 'interpreter' not in kw: + kw['interpreter'] = [python, '-tt'] + + if 'match' not in kw: + kw['match'] = match_exact + + if 'workdir' not in kw: + kw['workdir'] = '' + + TestCommon.__init__(self, **kw) + + def archive_split(self, path): + if path[-7:] == '.tar.gz': + return path[:-7], path[-7:] + else: + return os.path.splitext(path) + + def fake_logfile(self, logfile_name, index=0): + self.write(self.workpath(logfile_name), logfile_contents % locals()) + + def profile_data(self, profile_name, python_name, call, body): + profile_name = self.workpath(profile_name) + python_name = self.workpath(python_name) + d = { + 'profile_name' : profile_name, + 'python_name' : python_name, + 'call' : call, + 'body' : body, + } + self.write(python_name, profile_py % d) + self.run(program = python_name, interpreter = sys.executable) + + def tempdir_re(self, *args): + """ + Returns a regular expression to match a scons-time + temporary directory. + """ + import re + import tempfile + + sep = re.escape(os.sep) + tempdir = tempfile.gettempdir() + + try: + realpath = os.path.realpath + except AttributeError: + pass + else: + tempdir = realpath(tempdir) + + args = (tempdir, 'scons-time-',) + args + x = os.path.join(*args) + x = re.escape(x) + x = x.replace('time\\-', 'time\\-[^%s]*' % sep) + return x + + def write_fake_aegis_py(self, name): + name = self.workpath(name) + self.write(name, aegis_py) + os.chmod(name, 0755) + return name + + def write_fake_scons_py(self): + self.subdir('src', ['src', 'script']) + self.write('src/script/scons.py', scons_py) + + def write_fake_svn_py(self, name): + name = self.workpath(name) + self.write(name, svn_py) + os.chmod(name, 0755) + return name + + def write_sample_directory(self, archive, dir, files): + dir = self.workpath(dir) + for name, content in files: + path = os.path.join(dir, name) + d, f = os.path.split(path) + if not os.path.isdir(d): + os.makedirs(d) + open(path, 'wb').write(content) + return dir + + def write_sample_tarfile(self, archive, dir, files): + import shutil + try: + import tarfile + + except ImportError: + + self.skip_test('no tarfile module\n') + + else: + + base, suffix = self.archive_split(archive) + + mode = { + '.tar' : 'w', + '.tar.gz' : 'w:gz', + '.tgz' : 'w:gz', + } + + tar = tarfile.open(archive, mode[suffix]) + for name, content in files: + path = os.path.join(dir, name) + open(path, 'wb').write(content) + tarinfo = tar.gettarinfo(path, path) + tarinfo.uid = 111 + tarinfo.gid = 111 + tarinfo.uname = 'fake_user' + tarinfo.gname = 'fake_group' + tar.addfile(tarinfo, open(path, 'rb')) + tar.close() + shutil.rmtree(dir) + return self.workpath(archive) + + def write_sample_zipfile(self, archive, dir, files): + import shutil + try: + import zipfile + except ImportError: + + sys.stderr.write('no zipfile module\n') + self.no_result() + + else: + + zip = zipfile.ZipFile(archive, 'w') + for name, content in files: + path = os.path.join(dir, name) + open(path, 'wb').write(content) + zip.write(path) + zip.close() + shutil.rmtree(dir) + return self.workpath(archive) + + sample_project_files = [ + ('SConstruct', SConstruct), + ] + + def write_sample_project(self, archive, dir=None): + base, suffix = self.archive_split(archive) + + write_sample = { + '.tar' : self.write_sample_tarfile, + '.tar.gz' : self.write_sample_tarfile, + '.tgz' : self.write_sample_tarfile, + '.zip' : self.write_sample_zipfile, + }.get(suffix, self.write_sample_directory) + + if not dir: + dir = base + + os.mkdir(dir) + path = write_sample(archive, dir, self.sample_project_files) + + return path + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/TestSConsign.py b/QMTest/TestSConsign.py new file mode 100644 index 0000000..fe86173 --- /dev/null +++ b/QMTest/TestSConsign.py @@ -0,0 +1,89 @@ +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation + +__revision__ = "QMTest/TestSConsign.py 2014/03/02 14:18:15 garyo" + +__doc__ = """ +TestSConsign.py: a testing framework for the "sconsign" script +tool. + +A TestSConsign environment object is created via the usual invocation: + + test = TestSConsign() + +TestSconsign is a subclass of TestSCons, which is a subclass of +TestCommon, which is in turn is a subclass of TestCmd), and hence +has available all of the methods and attributes from those classes, +as well as any overridden or additional methods or attributes defined +in this subclass. +""" + +import os +import os.path +import sys + +from TestSCons import * +from TestSCons import __all__ + +__all__.extend([ 'TestSConsign', ]) + +class TestSConsign(TestSCons): + """Class for testing the sconsign.py script. + + This provides a common place for initializing sconsign tests, + eliminating the need to begin every test with the same repeated + initializations. + + This adds additional methods for running the sconsign script + without changing the basic ability of the run() method to run + "scons" itself, since we need to run scons to generate the + .sconsign files that we want the sconsign script to read. + """ + def __init__(self, *args, **kw): + try: + script_dir = os.environ['SCONS_SCRIPT_DIR'] + except KeyError: + pass + else: + os.chdir(script_dir) + self.script_dir = os.getcwd() + + TestSCons.__init__(self, *args, **kw) + + self.my_kw = { + 'interpreter' : python, # imported from TestSCons + } + + if 'program' not in kw: + kw['program'] = os.environ.get('SCONS') + if not kw['program']: + if os.path.exists('scons'): + kw['program'] = 'scons' + else: + kw['program'] = 'scons.py' + + sconsign = os.environ.get('SCONSIGN') + if not sconsign: + if os.path.exists(self.script_path('sconsign.py')): + sconsign = 'sconsign.py' + elif os.path.exists(self.script_path('sconsign')): + sconsign = 'sconsign' + else: + print "Can find neither 'sconsign.py' nor 'sconsign' scripts." + self.no_result() + self.set_sconsign(sconsign) + + def script_path(self, script): + return os.path.join(self.script_dir, script) + + def set_sconsign(self, sconsign): + self.my_kw['program'] = sconsign + + def run_sconsign(self, *args, **kw): + kw.update(self.my_kw) + return self.run(*args, **kw) + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/classes.qmc b/QMTest/classes.qmc new file mode 100644 index 0000000..88de061 --- /dev/null +++ b/QMTest/classes.qmc @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/QMTest/configuration b/QMTest/configuration new file mode 100644 index 0000000..db648ae --- /dev/null +++ b/QMTest/configuration @@ -0,0 +1,6 @@ + + + + . + + diff --git a/QMTest/scons_tdb.py b/QMTest/scons_tdb.py new file mode 100644 index 0000000..7ea2202 --- /dev/null +++ b/QMTest/scons_tdb.py @@ -0,0 +1,603 @@ +#!/usr/bin/env python +# +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +from __future__ import division + +""" +QMTest classes to support SCons' testing and Aegis-inspired workflow. + +Thanks to Stefan Seefeld for the initial code. +""" + +__revision__ = "QMTest/scons_tdb.py 2014/03/02 14:18:15 garyo" + +######################################################################## +# Imports +######################################################################## + +import qm +import qm.common +import qm.test.base +from qm.fields import * +from qm.executable import * +from qm.test import database +from qm.test import test +from qm.test import resource +from qm.test import suite +from qm.test.result import Result +from qm.test.file_result_stream import FileResultStream +from qm.test.classes.text_result_stream import TextResultStream +from qm.test.classes.xml_result_stream import XMLResultStream +from qm.test.directory_suite import DirectorySuite +from qm.extension import get_extension_class_name, get_class_arguments_as_dictionary + +import dircache +import os +import imp + +if sys.platform == 'win32': + console = 'con' +else: + console = '/dev/tty' + +def Trace(msg): + open(console, 'w').write(msg) + +# QMTest 2.3 hard-codes how it captures the beginning and end time by +# calling the qm.common.format_time_iso() function, which canonicalizes +# the time stamp in one-second granularity ISO format. In order to get +# sub-second granularity, as well as to use the more precise time.clock() +# function on Windows, we must replace that function with our own. + +orig_format_time_iso = qm.common.format_time_iso + +if sys.platform == 'win32': + time_func = time.clock +else: + time_func = time.time + +def my_format_time(time_secs=None): + return str(time_func()) + +qm.common.format_time_iso = my_format_time + +######################################################################## +# Classes +######################################################################## + +def get_explicit_arguments(e): + """This function can be removed once QMTest 2.4 is out.""" + + # Get all of the arguments. + arguments = get_class_arguments_as_dictionary(e.__class__) + # Determine which subset of the 'arguments' have been set + # explicitly. + explicit_arguments = {} + for name, field in arguments.items(): + # Do not record computed fields. + if field.IsComputed(): + continue + if name in e.__dict__: + explicit_arguments[name] = e.__dict__[name] + + return explicit_arguments + + +def check_exit_status(result, prefix, desc, status): + """This function can be removed once QMTest 2.4 is out.""" + + if sys.platform == "win32" or os.WIFEXITED(status): + # Obtain the exit code. + if sys.platform == "win32": + exit_code = status + else: + exit_code = os.WEXITSTATUS(status) + # If the exit code is non-zero, the test fails. + if exit_code != 0: + result.Fail("%s failed with exit code %d." % (desc, exit_code)) + # Record the exit code in the result. + result[prefix + "exit_code"] = str(exit_code) + return False + + elif os.WIFSIGNALED(status): + # Obtain the signal number. + signal = os.WTERMSIG(status) + # If the program gets a fatal signal, the test fails . + result.Fail("%s received fatal signal %d." % (desc, signal)) + result[prefix + "signal"] = str(signal) + return False + else: + # A process should only be able to stop by exiting, or + # by being terminated with a signal. + assert None + + return True + + + +class Null: + pass + +_null = Null() + +sys_attributes = [ + 'byteorder', + 'exec_prefix', + 'executable', + 'maxint', + 'maxunicode', + 'platform', + 'prefix', + 'version', + 'version_info', +] + +def get_sys_values(): + sys_attributes.sort() + result = [(k, getattr(sys, k, _null)) for k in sys_attributes] + result = [t for t in result if not t[1] is _null] + result = [t[0] + '=' + repr(t[1]) for t in result] + return '\n '.join(result) + +module_attributes = [ + '__version__', + '__build__', + '__buildsys__', + '__date__', + '__developer__', +] + +def get_module_info(module): + module_attributes.sort() + result = [(k, getattr(module, k, _null)) for k in module_attributes] + result = [t for t in result if not t[1] is _null] + result = [t[0] + '=' + repr(t[1]) for t in result] + return '\n '.join(result) + +environ_keys = [ + 'PATH', + 'SCONS', + 'SCONSFLAGS', + 'SCONS_LIB_DIR', + 'PYTHON_ROOT', + 'QTDIR', + + 'COMSPEC', + 'INTEL_LICENSE_FILE', + 'INCLUDE', + 'LIB', + 'MSDEVDIR', + 'OS', + 'PATHEXT', + 'SystemRoot', + 'TEMP', + 'TMP', + 'USERNAME', + 'VXDOMNTOOLS', + 'WINDIR', + 'XYZZY' + + 'ENV', + 'HOME', + 'LANG', + 'LANGUAGE', + 'LC_ALL', + 'LC_MESSAGES', + 'LOGNAME', + 'MACHINE', + 'OLDPWD', + 'PWD', + 'OPSYS', + 'SHELL', + 'TMPDIR', + 'USER', +] + +def get_environment(): + environ_keys.sort() + result = [(k, os.environ.get(k, _null)) for k in environ_keys] + result = [t for t in result if not t[1] is _null] + result = [t[0] + '-' + t[1] for t in result] + return '\n '.join(result) + +class SConsXMLResultStream(XMLResultStream): + def __init__(self, *args, **kw): + super(SConsXMLResultStream, self).__init__(*args, **kw) + def WriteAllAnnotations(self, context): + # Load (by hand) the SCons modules we just unwrapped so we can + # extract their version information. Note that we have to override + # SCons.Script.main() with a do_nothing() function, because loading up + # the 'scons' script will actually try to execute SCons... + + src_engine = os.environ.get('SCONS_LIB_DIR') + if not src_engine: + src_engine = os.path.join('src', 'engine') + fp, pname, desc = imp.find_module('SCons', [src_engine]) + SCons = imp.load_module('SCons', fp, pname, desc) + + # Override SCons.Script.main() with a do-nothing function, because + # loading the 'scons' script will actually try to execute SCons... + + src_engine_SCons = os.path.join(src_engine, 'SCons') + fp, pname, desc = imp.find_module('Script', [src_engine_SCons]) + SCons.Script = imp.load_module('Script', fp, pname, desc) + def do_nothing(): + pass + SCons.Script.main = do_nothing + + scons_file = os.environ.get('SCONS') + if scons_file: + src_script, scons_py = os.path.split(scons_file) + scons = os.path.splitext(scons_py)[0] + else: + src_script = os.path.join('src', 'script') + scons = 'scons' + fp, pname, desc = imp.find_module(scons, [src_script]) + scons = imp.load_module('scons', fp, pname, desc) + fp.close() + + self.WriteAnnotation("scons_test.engine", get_module_info(SCons)) + self.WriteAnnotation("scons_test.script", get_module_info(scons)) + + self.WriteAnnotation("scons_test.sys", get_sys_values()) + self.WriteAnnotation("scons_test.os.environ", get_environment()) + +class AegisStream(TextResultStream): + arguments = [ + qm.fields.IntegerField( + name = "print_time", + title = "print individual test times", + description = """ + """, + default_value = 0, + ), + ] + def __init__(self, *args, **kw): + super(AegisStream, self).__init__(*args, **kw) + self._num_tests = 0 + self._outcomes = {} + self._outcome_counts = {} + for outcome in AegisTest.aegis_outcomes: + self._outcome_counts[outcome] = 0 + self.format = "full" + def _percent(self, outcome): + return 100. * self._outcome_counts[outcome] / self._num_tests + def _aegis_no_result(self, result): + outcome = result.GetOutcome() + return (outcome == Result.FAIL and result.get('Test.exit_code') == '2') + def _DisplayText(self, text): + # qm.common.html_to_text() uses htmllib, which sticks an extra + # '\n' on the front of the text. Strip it and only display + # the text if there's anything to display. + text = qm.common.html_to_text(text) + if text[0] == '\n': + text = text[1:] + if text: + lines = text.splitlines() + if lines[-1] == '': + lines = lines[:-1] + self.file.write(' ' + '\n '.join(lines) + '\n\n') + def _DisplayResult(self, result, format): + test_id = result.GetId() + kind = result.GetKind() + if self._aegis_no_result(result): + outcome = "NO_RESULT" + else: + outcome = result.GetOutcome() + self._WriteOutcome(test_id, kind, outcome) + self.file.write('\n') + def _DisplayAnnotations(self, result): + try: + self._DisplayText(result["Test.stdout"]) + except KeyError: + pass + try: + self._DisplayText(result["Test.stderr"]) + except KeyError: + pass + if self.print_time: + start = float(result['qmtest.start_time']) + end = float(result['qmtest.end_time']) + fmt = " Total execution time: %.1f seconds\n\n" + self.file.write(fmt % (end - start)) + +class AegisChangeStream(AegisStream): + def WriteResult(self, result): + test_id = result.GetId() + if self._aegis_no_result(result): + outcome = AegisTest.NO_RESULT + else: + outcome = result.GetOutcome() + self._num_tests += 1 + self._outcome_counts[outcome] += 1 + super(AegisStream, self).WriteResult(result) + def _SummarizeTestStats(self): + self.file.write("\n") + self._DisplayHeading("STATISTICS") + if self._num_tests != 0: + # We'd like to use the _FormatStatistics() method to do + # this, but it's wrapped around the list in Result.outcomes, + # so it's simpler to just do it ourselves. + print " %6d tests total\n" % self._num_tests + for outcome in AegisTest.aegis_outcomes: + if self._outcome_counts[outcome] != 0: + print " %6d (%3.0f%%) tests %s" % ( + self._outcome_counts[outcome], + self._percent(outcome), + outcome + ) + +class AegisBaselineStream(AegisStream): + def WriteResult(self, result): + test_id = result.GetId() + if self._aegis_no_result(result): + outcome = AegisTest.NO_RESULT + self.expected_outcomes[test_id] = Result.PASS + self._outcome_counts[outcome] += 1 + else: + self.expected_outcomes[test_id] = Result.FAIL + outcome = result.GetOutcome() + if outcome != Result.Fail: + self._outcome_counts[outcome] += 1 + self._num_tests += 1 + super(AegisStream, self).WriteResult(result) + def _SummarizeRelativeTestStats(self): + self.file.write("\n") + self._DisplayHeading("STATISTICS") + if self._num_tests != 0: + # We'd like to use the _FormatStatistics() method to do + # this, but it's wrapped around the list in Result.outcomes, + # so it's simpler to just do it ourselves. + if self._outcome_counts[AegisTest.FAIL]: + print " %6d (%3.0f%%) tests as expected" % ( + self._outcome_counts[AegisTest.FAIL], + self._percent(AegisTest.FAIL), + ) + non_fail_outcomes = list(AegisTest.aegis_outcomes[:]) + non_fail_outcomes.remove(AegisTest.FAIL) + for outcome in non_fail_outcomes: + if self._outcome_counts[outcome] != 0: + print " %6d (%3.0f%%) tests unexpected %s" % ( + self._outcome_counts[outcome], + self._percent(outcome), + outcome, + ) + +class AegisBatchStream(FileResultStream): + def __init__(self, arguments): + super(AegisBatchStream, self).__init__(arguments) + self._outcomes = {} + def WriteResult(self, result): + test_id = result.GetId() + kind = result.GetKind() + outcome = result.GetOutcome() + exit_status = '0' + if outcome == Result.FAIL: + exit_status = result.get('Test.exit_code') + self._outcomes[test_id] = exit_status + def Summarize(self): + self.file.write('test_result = [\n') + for file_name in sorted(self._outcomes.keys()): + exit_status = self._outcomes[file_name] + file_name = file_name.replace('\\', '/') + self.file.write(' { file_name = "%s";\n' % file_name) + self.file.write(' exit_status = %s; },\n' % exit_status) + self.file.write('];\n') + +class AegisTest(test.Test): + PASS = "PASS" + FAIL = "FAIL" + NO_RESULT = "NO_RESULT" + ERROR = "ERROR" + UNTESTED = "UNTESTED" + + aegis_outcomes = ( + PASS, FAIL, NO_RESULT, ERROR, UNTESTED, + ) + """Aegis test outcomes.""" + +class Test(AegisTest): + """Simple test that runs a python script and checks the status + to determine whether the test passes.""" + + script = TextField(title="Script to test") + topdir = TextField(title="Top source directory") + + def Run(self, context, result): + """Run the test. The test passes if the command exits with status=0, + and fails otherwise. The program output is logged, but not validated.""" + + command = RedirectedExecutable() + args = [context.get('python', sys.executable), '-tt', self.script] + status = command.Run(args, os.environ) + if not check_exit_status(result, 'Test.', self.script, status): + # In case of failure record exit code, stdout, and stderr. + result.Fail("Non-zero exit_code.") + result["Test.stdout"] = result.Quote(command.stdout) + result["Test.stderr"] = result.Quote(command.stderr) + + +class Database(database.Database): + """Scons test database. + * The 'src' and 'test' directories are explicit suites. + * Their subdirectories are implicit suites. + * All files under 'src/' ending with 'Tests.py' contain tests. + * All files under 'test/' with extension '.py' contain tests. + * Right now there is only a single test class, which simply runs + the specified python interpreter on the given script. To be refined...""" + + srcdir = TextField(title = "Source Directory", + description = "The root of the test suite's source tree.") + _is_generic_database = True + + def is_a_test_under_test(path, t): + return os.path.splitext(t)[1] == '.py' \ + and os.path.isfile(os.path.join(path, t)) + + def is_a_test_under_src(path, t): + return t[-8:] == 'Tests.py' \ + and os.path.isfile(os.path.join(path, t)) + + is_a_test = { + 'src' : is_a_test_under_src, + 'test' : is_a_test_under_test, + } + + exclude_subdirs = { + '.svn' : 1, + 'CVS' : 1, + } + + def is_a_test_subdir(path, subdir): + if exclude_subdirs.get(subdir): + return None + return os.path.isdir(os.path.join(path, subdir)) + + def __init__(self, path, arguments): + + self.label_class = "file_label.FileLabel" + self.modifiable = "false" + # Initialize the base class. + super(Database, self).__init__(path, arguments) + + + def GetRoot(self): + + return self.srcdir + + + def GetSubdirectories(self, directory): + + components = self.GetLabelComponents(directory) + path = os.path.join(self.GetRoot(), *components) + if directory: + dirs = [d for d in dircache.listdir(path) + if os.path.isdir(os.path.join(path, d))] + else: + dirs = list(self.is_a_test.keys()) + + dirs.sort() + return dirs + + + def GetIds(self, kind, directory = "", scan_subdirs = 1): + + components = self.GetLabelComponents(directory) + path = os.path.join(self.GetRoot(), *components) + + if kind == database.Database.TEST: + + if not components: + return [] + + ids = [self.JoinLabels(directory, t) + for t in dircache.listdir(path) + if self.is_a_test[components[0]](path, t)] + + elif kind == Database.RESOURCE: + return [] # no resources yet + + else: # SUITE + + if directory: + ids = [self.JoinLabels(directory, d) + for d in dircache.listdir(path) + if os.path.isdir(os.path.join(path, d))] + else: + ids = list(self.is_a_test.keys()) + + if scan_subdirs: + for d in dircache.listdir(path): + if (os.path.isdir(d)): + ids.extend(self.GetIds(kind, + self.JoinLabels(directory, d), + True)) + + return ids + + + def GetExtension(self, id): + + if not id: + return DirectorySuite(self, id) + + components = self.GetLabelComponents(id) + path = os.path.join(self.GetRoot(), *components) + + if os.path.isdir(path): # a directory + return DirectorySuite(self, id) + + elif os.path.isfile(path): # a test + + arguments = {} + arguments['script'] = path + arguments['topdir'] = self.GetRoot() + + return Test(arguments, qmtest_id = id, qmtest_database = self) + + else: # nothing else to offer + + return None + + + def GetTest(self, test_id): + """This method can be removed once QMTest 2.4 is out.""" + + t = self.GetExtension(test_id) + if isinstance(t, test.Test): + return database.TestDescriptor(self, + test_id, + get_extension_class_name(t.__class__), + get_explicit_arguments(t)) + + raise database.NoSuchTestError(test_id) + + def GetSuite(self, suite_id): + """This method can be removed once QMTest 2.4 is out.""" + + if suite_id == "": + return DirectorySuite(self, "") + + s = self.GetExtension(suite_id) + if isinstance(s, suite.Suite): + return s + + raise database.NoSuchSuiteError(suite_id) + + + def GetResource(self, resource_id): + """This method can be removed once QMTest 2.4 is out.""" + + r = self.GetExtension(resource_id) + if isinstance(r, resource.Resource): + return ResourceDescriptor(self, + resource_id, + get_extension_class_name(r.__class__), + get_explicit_arguments(r)) + + raise database.NoSuchResourceError(resource_id) + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/QMTest/test-framework.rst b/QMTest/test-framework.rst new file mode 100644 index 0000000..844d99b --- /dev/null +++ b/QMTest/test-framework.rst @@ -0,0 +1,430 @@ +======================= +SCons Testing Framework +======================= + +SCons uses extensive automated tests to try to ensure quality. The primary goal +is that users should be able to upgrade from version to version without any surprise +changes in behavior. + +In general, no change goes into SCons unless it has one or more new or modified +tests that demonstrably exercise the bug being fixed or the feature being added. +There are exceptions to this guideline, but they should be just that, ''exceptions''. +When in doubt, make sure it's tested. + +Test Organization +================= + +There are three types of SCons tests: + +*End-to-End Tests* + End-to-end tests of SCons are all Python scripts (``*.py``) underneath + the ``test/`` subdirectory. They use the test infrastructure modules in the + ``QMTest`` subdirectory. + +*Unit Tests* + Unit tests for individual SCons modules live underneath the + ``src/engine/`` subdirectory and are the same base name as the module + with ``Tests.py`` appended--for example, the unit tests for the + ``Builder.py`` module are in the ``BuilderTests.py`` script. + +*External Tests* + For the support of external Tools (in the form of packages, preferably), the + testing framework got extended, such that it can run in standalone mode. + You can start it from the top-level folder of your Tool's source tree, + where it then finds all Python scripts (``*.py``) underneath the + local ``test/`` directory. + This implies that Tool tests have to be kept in a folder named ``test``, + like for the SCons core. + + +Contrasting End-to-End and Unit Tests +##################################### + +In general, anything that we've put into an end-to-end test script should +be considered a hardened part of the interface (that is, it's something +that a user might do) and should not be broken. Unit tests are now +considered more malleable, more for testing internal interfaces that +can change so long as we don't break users' ``SConscript`` files. (This +wasn't always the case, and there's a lot of meaty code in many of the +unit test scripts that does, in fact, capture external interface +behavior. In general, we should try to move those things to end-to-end +scripts as we find them.) + +It's more difficult to debug end-to-end tests. You can actually go +straight into the Python debugger on the unit test scripts by using the +``runtest.py --pdb`` option, but the end-to-end tests treat an SCons +invocation as a "black box" and just look for external effects. +Simple ``print`` statements within the SCons code itself often don't help +debug end-to-end because they end up in SCons output that gets compared +against expected output and cause a test failure. Probably the most +effective technique is to use the internal ``SCons.Debug.Trace()`` function, +which prints output to ``/dev/tty`` on Linux/UNIX systems and ``con`` on +Windows systems, so you can see what's going on. + +Naming conventions +################## + +The end-to-end tests, more or less, stick to the following naming conventions: + +1. All tests end with a .py suffix. + +2. In the *General* form we use + + ``Feature.py`` + for the test of a specified feature; try to + keep this description reasonably short + + ``Feature-x.py`` + for the test of a specified feature using + option ``x`` + +3. The *command line option* tests take the form + + ``option-x.py`` + for a lower-case single-letter option + + ``option--X.py`` + upper-case single-letter option + (with an extra hyphen, so the file names will + be unique on case-insensitive systems) + + ``option--lo.py`` + long option; abbreviate the long + option name to a few characters + + +Running Tests +============= + +The standard set of SCons tests are run from the top-level source directory +by the ``runtest.py`` script. +There is a ``--qmtest`` option that checks whether the ``QMTest`` package +is installed on your system. If it can be found, then the ``runtest.py`` script +will use it to carry out the tests. + +Help is available through the ``-h`` option: + +:: + + $ python runtest.py -h + +To simply run all the tests, use the ``-a`` option: + +:: + + $ python runtest.py -a + +By default, ``runtest.py`` prints a count and percentage message for each test +case, along with the name of the test file. +If you need the output to be more silent, have a look at the ``-q``, ``-s`` and +``-k`` options. + +You may specifically list one or more tests to be run: + +:: + + $ python runtest.py src/engine/SCons/BuilderTests.py + $ python runtest.py test/option-j.py test/Program.py + +Folder names are allowed arguments as well, so you can do a + +:: + + $ python runtest.py test/SWIG + +to run all SWIG tests only. + +You can also use the ``-f`` option to execute just the tests listed in a specified +text file: + +:: + + $ cat testlist.txt + test/option-j.py + test/Program.py + $ python runtest.py -f testlist.txt + + +One test must be listed per line, and any lines that begin with '#' +will be ignored (the intent being to allow you, for example, +to comment out tests that +are currently passing and then uncomment all of the tests in the file +for a final validation run). + +If more than one test is run, the ``runtest.py`` script prints a summary +of how many tests passed, failed, or yielded no result, and lists any +unsuccessful tests. + +The above invocations all test directly the files underneath the ``src/`` +subdirectory, and do not require that a packaging build be performed first. +The ``runtest.py`` script supports additional options to run tests against +unpacked packages in the ``build/test-*/`` subdirectories. + +If you are testing a separate Tool outside of the SCons source tree, you have +to call the ``runtest.py`` script in *external* (stand-alone) mode:: + + $ python ~/scons/runtest.py -e -a + +. This ensures that the testing framework doesn't try to access SCons classes +needed for some of the *internal* test cases. + +Note, that the actual tests are carried out in a temporary folder each, which gets +deleted afterwards. This ensures that your source directories don't get clobbered +with temporary files from the test runs. It also means that you can't simply change +into a folder to "debug things" after a test has gone wrong. For a way around this, +check out the ``PRESERVE`` environment variable. It can be seen in action in +`How to convert old tests`_ below. + +Not Running Tests +================= + +If you simply want to check which tests would get executed, you can call the +``runtest.py`` script with the ``-l`` option:: + + $ python runtest.py -l + +Then there is also the ``-n`` option, which prints the command line for each +single test, but doesn't actually execute them:: + + $ python runtest.py -n + +Finding Tests +============= + +When started in *standard* mode + +:: + + $ python runtest.py -a + + +, ``runtest.py`` assumes that it is run from the SCons top-level source directory. +It then dives into the ``src`` and ``test`` folders, where it tries to find filenames + + ``*Test.py`` + for the ``src`` directory, and + + ``*.py`` + for the ``test`` folder. + +When using fixtures, you may quickly end up in a position where you have supporting +Python script files in a subfolder, but they shouldn't get picked up as test scripts. +In this case you have two options: + +1. Add a file with the name ``sconstest.skip`` to your subfolder. This lets + ``runtest.py`` skip the contents of the directory completely. +2. Create a file ``.exclude_tests`` in each folder in question, and in it list + line-by-line the files to get excluded from testing. + +The same rules apply when testing external Tools by using the ``-e`` option. + + +"Hello, world!" SCons Test Script +================================= + +To illustrate how the end-to-end test scripts work, +let's walk through a simple "Hello, world!" example: + +:: + + #!python + import TestSCons + + test = TestSCons.TestSCons() + + test.write('SConstruct', """\ + Program('hello.c') + """) + + test.write('hello.c', """\ + int + main(int argc, char *argv[]) + { + printf("Hello, world!\\n"); + exit (0); + } + """) + + test.run() + + test.run(program='./hello', stdout="Hello, world!\n") + + test.pass_test() + + +``import TestSCons`` + Imports the main infrastructure for writing SCons tests. This is normally the only part of the infrastructure that needs importing. Sometimes other Python modules are necessary or helpful, and get imported before this line. + +``test = TestSCons.TestSCons()`` + This initializes an object for testing. A fair amount happens under the covers when the object is created, including: + + * A temporary directory is created for all the in-line files that will get created. + * The temporary directory's removal is arranged for when the test is finished. + * We ``os.chdir()`` to the temporary directory. + +``test.write('SConstruct', ...`` + This line creates an ``SConstruct`` file in the temporary directory, to be used as input to the ``scons`` run(s) that we're testing. Note the use of the Python triple-quote syntax for the contents of the ``SConstruct`` file. Because input files for tests are all created from in-line data like this, the tests can sometimes get a little confusing to read, because some of the Python code is found + +``test.write('hello.c', ...`` + This lines creates an ``hello.c`` file in the temporary directory. Note that we have to escape the ``\\n`` in the ``"Hello, world!\\n"`` string so that it ends up as a single backslash in the ``hello.c`` file on disk. + +``test.run()`` + This actually runs SCons. Like the object initialization, things happen under the covers: + + * The exit status is verified; the test exits with a failure if the exit status is not zero. + * The error output is examined, and the test exits with a failure if there is any + +``test.run(program='./hello', stdout="Hello, world!\n")`` + This shows use of the ``TestSCons.run()`` method to execute a program other than ``scons``, in this case the ``hello`` program we just presumably built. The ``stdout=`` keyword argument also tells the ``TestSCons.run()`` method to fail if the program output does not match the expected string ``"Hello, world!\n"``. Like the previous ``test.run()`` line, it will also fail the test if the exit status is non-zero, or there is any error output. + +``test.pass_test()`` + This is always the last line in a test script. It prints ``PASSED`` on the screen and makes sure we exit with a ``0`` status to indicate the test passed. As a side effect of destroying the ``test`` object, the created temporary directory will be removed. + +Working with fixtures +===================== + +In the simple example above, we have seen how to create files in the temporary test directory. +We give a filename to the ``TestSCons.write()`` method, together with its contents, and it gets +written to the test folder right before its start. + +This technique can still be seen throughout most of the end-to-end tests, but there is a better +way. It's much easier to edit, create and maintain real files, instead of copy/pasting +content to/from a Python script. If the test files get longer, the test script +gets longer and is harder to read. + +Against this, we now have the possibility to copy single files or the contents of a +local folder to the test directory. Since we can reuse these files/folders to setup +several tests, we call them *fixtures* in the following. + +Directory fixtures +################## + +The function ``dir_fixture(self, srcdir, dstdir=None)`` in the ``TestCmd`` class +copies the contents of the specified folder ``srcdir`` from +the directory of the called test script, to the current +temporary test directory. +The ``srcdir`` name may be a list, in which case the elements are +concatenated with the ``os.path.join()`` method. The ``dstdir`` is +assumed to be under the temporary working directory, it gets +created automatically, if it does not already exist. + +A short syntax example:: + + test = TestSCons.TestSCons() + test.dir_fixture('image') + test.run() + +would copy all files and subfolders from the local ``image`` folder, to +the temporary directory for the current test. + +If you'd like to see a real example for this in action, refer to the test +named ``test/packaging/convenience-functions/convenience-functions.py``. + +File fixtures +############# + +Like for directory fixtures, ``file_fixture(self, srcfile, dstfile=None)`` +copies the file ``srcfile`` from the directory of +the called script, to the temporary test directory. +The ``dstfile`` is assumed to be under the temporary working +directory, unless it is an absolute path name. +If ``dstfile`` is specified, its target directory gets created +automatically if it doesn't already exist. + +With a:: + + test = TestSCons.TestSCons() + test.file_fixture('SConstruct') + test.file_fixture(['src','main.cpp'],['src','main.cpp']) + test.run() + +you would copy the files ``SConstruct`` and ``src/main.cpp`` to the temporary +test folder, prior to running the test itself. + +Again, a reference example can be found in the current *default* revision of +SCons, it is ``test/packaging/sandbox-test/sandbox-test.py``. + +For even more examples you should check out one of the external Tools, e.g. the +*Qt4* Tool at https://bitbucket.org/dirkbaechle/scons_qt4. Also visit the SCons +Tools Index at http://www.scons.org/wiki/ToolsIndex for a complete +list of available Tools, though not all may have tests yet. + +How to convert old tests +######################## + +We now show how to convert a test, still using the ``TestSCons.write()`` method, to +the fixture based approach. For this, we need to get at the files as they +are written to each temporary test folder. + +Luckily, ``runtest.py`` checks for the existence of an environment variable named +``PRESERVE``. If it is set to a non-zero value, the testing framework doesn't delete +the test folder as ususal, but prints its name to the screen. + +So, you should be able to give the commands + +:: + + $ export PRESERVE=1 + $ python runtest.py test/packaging/sandbox-test.py + +, assuming Linux and a bash-like shell. + +The output should then look something like this:: + + 1/1 (100.00%) /usr/bin/python -tt test/packaging/sandbox-test.py + PASSED + Preserved directory /tmp/testcmd.4060.twlYNI + +and you see that the test files have been kept in the folder ``/tmp/testcmd.4060.twlYNI``, +where you can now copy them from to your new *fixture* folder. Then, in the test +script you simply remove all the tedious ``TestSCons.write()`` statements and +replace them by a single ``TestSCons.dir_fixture()``. + +Finally, you shouldn't forget to clean up and remove the temporary test directory. ``;)`` + +Test Infrastructure +=================== + +The test API is in ``QMTest/TestSCons.py``. ``TestSCons`` is a subclass of +``TestCommon``, which is a subclass of ``TestCmd``; all those python files are +in ``QMTest``. Start in ``QMTest/TestCmd.py`` for the base API definitions, +like how to create files (``test.write()``) and run commands (``test.run()``). + +You want to use ``TestSCons`` for the end-to-end tests in ``test``, but ``TestCmd`` +for the unit tests in the ``src`` folder. + +The match functions work like this: + +TestSCons.match_re:: match each line with a RE + * Splits the lines into a list (unless they already are) + * splits the REs at newlines (unless already a list) and puts ^..$ around each + * then each RE must match each line. This means there must be as many REs as lines. + +TestSCons.match_re_dotall:: match all the lines against a single RE + * Joins the lines with newline (unless already a string) + * joins the REs with newline (unless it's a string) and puts ^..$ around the whole thing + * then whole thing must match with python re.DOTALL. + +Use them in a test like this:: + + test.run(..., match=TestSCons.match_re, ...) + +or:: + + test.must_match(..., match=TestSCons.match_re, ...) + +Avoiding Tests based on Tool existence +====================================== + +Here's an easy sample:: + + #!python + intelc = test.detect_tool('intelc', prog='icpc') + if not intelc: + test.skip_test("Could not load 'intelc' Tool; skipping test(s).\n") + +See ``QMTest/TestSCons.py`` for the ``detect_tool`` method. It calls the tool's +``generate()`` method, and then looks for the given prog (tool name by default) in +``env['ENV']['PATH']``. + + diff --git a/SConstruct b/SConstruct index 6286e43..85baeda 100644 --- a/SConstruct +++ b/SConstruct @@ -3,15 +3,13 @@ # # See the README.rst file for an overview of how SCons is built and tested. -# When this gets changed, you must also change the copyright_years string -# in QMTest/TestSCons.py so the test scripts look for the right string. -copyright_years = '2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013' +copyright_years = '2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014' # This gets inserted into the man pages to reflect the month of release. -month_year = 'March 2013' +month_year = 'March 2014' # -# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The SCons Foundation +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -42,8 +40,10 @@ import stat import sys import tempfile +import bootstrap + project = 'scons' -default_version = '2.3.0' +default_version = '2.3.1' copyright = "Copyright (c) %s The SCons Foundation" % copyright_years platform = distutils.util.get_platform() @@ -80,7 +80,7 @@ def whereis(file): dh_builddeb = whereis('dh_builddeb') fakeroot = whereis('fakeroot') gzip = whereis('gzip') -rpmbuild = whereis('rpmbuild') or whereis('rpm') +rpmbuild = whereis('rpmbuild') hg = os.path.exists('.hg') and whereis('hg') svn = os.path.exists('.svn') and whereis('svn') unzip = whereis('unzip') @@ -168,6 +168,17 @@ if build_id is None: python_ver = sys.version[0:3] +# +# Adding some paths to sys.path, this is mainly needed +# for the doc toolchain. +# +addpaths = [os.path.abspath(os.path.join(os.getcwd(), 'bin')), + os.path.abspath(os.path.join(os.getcwd(), 'QMTest'))] +for a in addpaths: + if a not in sys.path: + sys.path.append(a) + + # Re-exporting LD_LIBRARY_PATH is necessary if the Python version was # built with the --enable-shared option. @@ -375,6 +386,7 @@ def SCons_revision(target, source, env): open(t, 'wb').write(contents) os.chmod(t, os.stat(s)[0]) +revaction = SCons_revision revbuilder = Builder(action = Action(SCons_revision, varlist=['COPYRIGHT', 'VERSION'])) @@ -743,7 +755,7 @@ for p in [ scons ]: # destination files. # manifest_in = File(os.path.join(src, 'MANIFEST.in')).rstr() - src_files = [x[:-1] for x in open(manifest_in).readlines()] + src_files = bootstrap.parseManifestLines(src, open(manifest_in).readlines()) raw_files = src_files[:] dst_files = src_files[:] rpm_files = [] @@ -762,7 +774,7 @@ for p in [ scons ]: isubdir = p['subinst_dirs'][sp['pkg']] MANIFEST_in = File(os.path.join(src, ssubdir, 'MANIFEST.in')).rstr() MANIFEST_in_list.append(MANIFEST_in) - files = [x[:-1] for x in open(MANIFEST_in).readlines()] + files = bootstrap.parseManifestLines(os.path.join(src, ssubdir), open(MANIFEST_in).readlines()) raw_files.extend(files) src_files.extend([os.path.join(ssubdir, x) for x in files]) for f in files: @@ -793,7 +805,7 @@ for p in [ scons ]: # # Now run everything in src_file through the sed command we - # concocted to expand SConstruct, 2.3.0, etc. + # concocted to expand SConstruct, 2.3.1, etc. # for b in src_files: s = p['filemap'].get(b, b) @@ -1025,7 +1037,10 @@ for p in [ scons ]: if dh_builddeb and fakeroot: # Our Debian packaging builds directly into build/dist, # so we don't need to Install() the .debs. - deb = os.path.join(build_dir, 'dist', "%s_%s_all.deb" % (pkg, version)) + # The built deb is called just x.y.z, not x.y.z.final.0 so strip those off: + deb_version = '.'.join(version.split('.')[0:3]) + deb = os.path.join(build_dir, 'dist', "%s_%s_all.deb" % (pkg, deb_version)) + # print "Building deb into %s (version=%s)"%(deb, deb_version) for d in p['debian_deps']: b = env.SCons_revision(os.path.join(build, d), d) env.Depends(deb, b) @@ -1179,7 +1194,7 @@ for file in files: # # Documentation. # -Export('build_dir', 'env', 'whereis') +Export('build_dir', 'env', 'whereis', 'revaction') SConscript('doc/SConscript') diff --git a/bin/SConsDoc.py b/bin/SConsDoc.py index 4927dc0..d0575b0 100644 --- a/bin/SConsDoc.py +++ b/bin/SConsDoc.py @@ -1,5 +1,27 @@ #!/usr/bin/env python # +# Copyright (c) 2010 The SCons Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# # Module for handling SCons documentation processing. # @@ -16,13 +38,12 @@ Builder example: - This is the summary description of an SCons Builder. + This is the summary description of an SCons Builder. It will get placed in the man page, and in the appropriate User's Guide appendix. The name of any builder may be interpolated anywhere in the document by specifying the - &b-BUILDER; - element. It need not be on a line by itself. + &b-BUILDER; element. It need not be on a line by itself. Unlike normal XML, blank lines are significant in these descriptions and serve to separate paragraphs. @@ -42,18 +63,12 @@ Function example: (arg1, arg2, key=value) - This is the summary description of an SCons function. + This is the summary description of an SCons function. It will get placed in the man page, and in the appropriate User's Guide appendix. The name of any builder may be interpolated anywhere in the document by specifying the - &f-FUNCTION; - element. It need not be on a line by itself. - - Unlike normal XML, blank lines are significant in these - descriptions and serve to separate paragraphs. - They'll get replaced in DocBook output with appropriate tags - to indicate a new paragraph. + &f-FUNCTION; element. It need not be on a line by itself. print "this is example code, it will be offset and indented" @@ -65,18 +80,12 @@ Construction variable example: - This is the summary description of a construction variable. + This is the summary description of a construction variable. It will get placed in the man page, and in the appropriate User's Guide appendix. The name of any construction variable may be interpolated anywhere in the document by specifying the - &t-VARIABLE; - element. It need not be on a line by itself. - - Unlike normal XML, blank lines are significant in these - descriptions and serve to separate paragraphs. - They'll get replaced in DocBook output with appropriate tags - to indicate a new paragraph. + &t-VARIABLE; element. It need not be on a line by itself. print "this is example code, it will be offset and indented" @@ -88,18 +97,12 @@ Tool example: - This is the summary description of an SCons Tool. + This is the summary description of an SCons Tool. It will get placed in the man page, and in the appropriate User's Guide appendix. The name of any tool may be interpolated anywhere in the document by specifying the - &t-TOOL; - element. It need not be on a line by itself. - - Unlike normal XML, blank lines are significant in these - descriptions and serve to separate paragraphs. - They'll get replaced in DocBook output with appropriate tags - to indicate a new paragraph. + &t-TOOL; element. It need not be on a line by itself. print "this is example code, it will be offset and indented" @@ -112,7 +115,543 @@ import imp import os.path import re import sys -import xml.sax.handler +import copy + +# Do we have libxml2/libxslt/lxml? +has_libxml2 = True +try: + import libxml2 + import libxslt +except: + has_libxml2 = False + try: + import lxml + except: + print("Failed to import either libxml2/libxslt or lxml") + sys.exit(1) + +has_etree = False +if not has_libxml2: + try: + from lxml import etree + has_etree = True + except ImportError: + pass +if not has_etree: + try: + # Python 2.5 + import xml.etree.cElementTree as etree + except ImportError: + try: + # Python 2.5 + import xml.etree.ElementTree as etree + except ImportError: + try: + # normal cElementTree install + import cElementTree as etree + except ImportError: + try: + # normal ElementTree install + import elementtree.ElementTree as etree + except ImportError: + print("Failed to import ElementTree from any known place") + sys.exit(1) + +re_entity = re.compile("\&([^;]+);") +re_entity_header = re.compile("") + +# Namespace for the SCons Docbook XSD +dbxsd="http://www.scons.org/dbxsd/v1.0" +# Namespace map identifier for the SCons Docbook XSD +dbxid="dbx" +# Namespace for schema instances +xsi = "http://www.w3.org/2001/XMLSchema-instance" + +# Header comment with copyright +copyright_comment = """ +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation + +This file is processed by the bin/SConsDoc.py module. +See its __doc__ string for a discussion of the format. +""" + +def isSConsXml(fpath): + """ Check whether the given file is a SCons XML file, i.e. it + contains the default target namespace definition. + """ + try: + f = open(fpath,'r') + content = f.read() + f.close() + if content.find('xmlns="%s"' % dbxsd) >= 0: + return True + except: + pass + + return False + +def remove_entities(content): + # Cut out entity inclusions + content = re_entity_header.sub("", content, re.M) + # Cut out entities themselves + content = re_entity.sub(lambda match: match.group(1), content) + + return content + +default_xsd = os.path.join('doc','xsd','scons.xsd') + +ARG = "dbscons" + +class Libxml2ValidityHandler: + + def __init__(self): + self.errors = [] + self.warnings = [] + + def error(self, msg, data): + if data != ARG: + raise Exception, "Error handler did not receive correct argument" + self.errors.append(msg) + + def warning(self, msg, data): + if data != ARG: + raise Exception, "Warning handler did not receive correct argument" + self.warnings.append(msg) + + +class DoctypeEntity: + def __init__(self, name_, uri_): + self.name = name_ + self.uri = uri_ + + def getEntityString(self): + txt = """ + %(perc)s%(name)s; +""" % {'perc' : perc, 'name' : self.name, 'uri' : self.uri} + + return txt + +class DoctypeDeclaration: + def __init__(self, name_=None): + self.name = name_ + self.entries = [] + if self.name is None: + # Add default entries + self.name = "sconsdoc" + self.addEntity("scons", "../scons.mod") + self.addEntity("builders-mod", "builders.mod") + self.addEntity("functions-mod", "functions.mod") + self.addEntity("tools-mod", "tools.mod") + self.addEntity("variables-mod", "variables.mod") + + def addEntity(self, name, uri): + self.entries.append(DoctypeEntity(name, uri)) + + def createDoctype(self): + content = '\n' + + return content + +if not has_libxml2: + class TreeFactory: + def __init__(self): + pass + + def newNode(self, tag): + return etree.Element(tag) + + def newEtreeNode(self, tag, init_ns=False): + if init_ns: + NSMAP = {None: dbxsd, + 'xsi' : xsi} + return etree.Element(tag, nsmap=NSMAP) + + return etree.Element(tag) + + def copyNode(self, node): + return copy.deepcopy(node) + + def appendNode(self, parent, child): + parent.append(child) + + def hasAttribute(self, node, att): + return att in node.attrib + + def getAttribute(self, node, att): + return node.attrib[att] + + def setAttribute(self, node, att, value): + node.attrib[att] = value + + def getText(self, root): + return root.text + + def setText(self, root, txt): + root.text = txt + + def writeGenTree(self, root, fp): + dt = DoctypeDeclaration() + fp.write(etree.tostring(root, xml_declaration=True, + encoding="UTF-8", pretty_print=True, + doctype=dt.createDoctype())) + + def writeTree(self, root, fpath): + fp = open(fpath, 'w') + fp.write(etree.tostring(root, xml_declaration=True, + encoding="UTF-8", pretty_print=True)) + fp.close() + + def prettyPrintFile(self, fpath): + fin = open(fpath,'r') + tree = etree.parse(fin) + pretty_content = etree.tostring(tree, pretty_print=True) + fin.close() + + fout = open(fpath,'w') + fout.write(pretty_content) + fout.close() + + def decorateWithHeader(self, root): + root.attrib["{"+xsi+"}schemaLocation"] = "%s/scons.xsd scons.xsd" % dbxsd + return root + + def newXmlTree(self, root): + """ Return a XML file tree with the correct namespaces set, + the element root as top entry and the given header comment. + """ + NSMAP = {None: dbxsd, + 'xsi' : xsi} + t = etree.Element(root, nsmap=NSMAP) + return self.decorateWithHeader(t) + + def validateXml(self, fpath, xmlschema_context): + # Use lxml + xmlschema = etree.XMLSchema(xmlschema_context) + try: + doc = etree.parse(fpath) + except Exception, e: + print "ERROR: %s fails to parse:"%fpath + print e + return False + doc.xinclude() + try: + xmlschema.assertValid(doc) + except Exception, e: + print "ERROR: %s fails to validate:" % fpath + print e + return False + return True + + def findAll(self, root, tag, ns=None, xp_ctxt=None, nsmap=None): + expression = ".//{%s}%s" % (nsmap[ns], tag) + if not ns or not nsmap: + expression = ".//%s" % tag + return root.findall(expression) + + def findAllChildrenOf(self, root, tag, ns=None, xp_ctxt=None, nsmap=None): + expression = "./{%s}%s/*" % (nsmap[ns], tag) + if not ns or not nsmap: + expression = "./%s/*" % tag + return root.findall(expression) + + def convertElementTree(self, root): + """ Convert the given tree of etree.Element + entries to a list of tree nodes for the + current XML toolkit. + """ + return [root] + +else: + class TreeFactory: + def __init__(self): + pass + + def newNode(self, tag): + return libxml2.newNode(tag) + + def newEtreeNode(self, tag, init_ns=False): + return etree.Element(tag) + + def copyNode(self, node): + return node.copyNode(1) + + def appendNode(self, parent, child): + if hasattr(parent, 'addChild'): + parent.addChild(child) + else: + parent.append(child) + + def hasAttribute(self, node, att): + if hasattr(node, 'hasProp'): + return node.hasProp(att) + return att in node.attrib + + def getAttribute(self, node, att): + if hasattr(node, 'prop'): + return node.prop(att) + return node.attrib[att] + + def setAttribute(self, node, att, value): + if hasattr(node, 'setProp'): + node.setProp(att, value) + else: + node.attrib[att] = value + + def getText(self, root): + if hasattr(root, 'getContent'): + return root.getContent() + return root.text + + def setText(self, root, txt): + if hasattr(root, 'setContent'): + root.setContent(txt) + else: + root.text = txt + + def writeGenTree(self, root, fp): + doc = libxml2.newDoc('1.0') + dtd = doc.newDtd("sconsdoc", None, None) + doc.addChild(dtd) + doc.setRootElement(root) + content = doc.serialize("UTF-8", 1) + dt = DoctypeDeclaration() + # This is clearly a hack, but unfortunately libxml2 + # doesn't support writing PERs (Parsed Entity References). + # So, we simply replace the empty doctype with the + # text we need... + content = content.replace("", dt.createDoctype()) + fp.write(content) + doc.freeDoc() + + def writeTree(self, root, fpath): + fp = open(fpath, 'w') + doc = libxml2.newDoc('1.0') + doc.setRootElement(root) + fp.write(doc.serialize("UTF-8", 1)) + doc.freeDoc() + fp.close() + + def prettyPrintFile(self, fpath): + # Read file and resolve entities + doc = libxml2.readFile(fpath, None, libxml2d.XML_PARSE_NOENT) + fp = open(fpath, 'w') + # Prettyprint + fp.write(doc.serialize("UTF-8", 1)) + fp.close() + # Cleanup + doc.freeDoc() + + def decorateWithHeader(self, root): + # Register the namespaces + ns = root.newNs(dbxsd, None) + xi = root.newNs(xsi, 'xsi') + root.setNs(ns) #put this node in the target namespace + + root.setNsProp(xi, 'schemaLocation', "%s/scons.xsd scons.xsd" % dbxsd) + + return root + + def newXmlTree(self, root): + """ Return a XML file tree with the correct namespaces set, + the element root as top entry and the given header comment. + """ + t = libxml2.newNode(root) + return self.decorateWithHeader(t) + + def validateXml(self, fpath, xmlschema_context): + # Create validation context + validation_context = xmlschema_context.schemaNewValidCtxt() + # Set error/warning handlers + eh = Libxml2ValidityHandler() + validation_context.setValidityErrorHandler(eh.error, eh.warning, ARG) + # Read file and resolve entities + doc = libxml2.readFile(fpath, None, libxml2.XML_PARSE_NOENT) + doc.xincludeProcessFlags(libxml2.XML_PARSE_NOENT) + err = validation_context.schemaValidateDoc(doc) + # Cleanup + doc.freeDoc() + del validation_context + + if err or eh.errors: + for e in eh.errors: + print e.rstrip("\n") + print "%s fails to validate" % fpath + return False + + return True + + def findAll(self, root, tag, ns=None, xpath_context=None, nsmap=None): + if hasattr(root, 'xpathEval') and xpath_context: + # Use the xpath context + xpath_context.setContextNode(root) + expression = ".//%s" % tag + if ns: + expression = ".//%s:%s" % (ns, tag) + return xpath_context.xpathEval(expression) + else: + expression = ".//{%s}%s" % (nsmap[ns], tag) + if not ns or not nsmap: + expression = ".//%s" % tag + return root.findall(expression) + + def findAllChildrenOf(self, root, tag, ns=None, xpath_context=None, nsmap=None): + if hasattr(root, 'xpathEval') and xpath_context: + # Use the xpath context + xpath_context.setContextNode(root) + expression = "./%s/node()" % tag + if ns: + expression = "./%s:%s/node()" % (ns, tag) + + return xpath_context.xpathEval(expression) + else: + expression = "./{%s}%s/node()" % (nsmap[ns], tag) + if not ns or not nsmap: + expression = "./%s/node()" % tag + return root.findall(expression) + + def expandChildElements(self, child): + """ Helper function for convertElementTree, + converts a single child recursively. + """ + nchild = self.newNode(child.tag) + # Copy attributes + for key, val in child.attrib: + self.setAttribute(nchild, key, val) + elements = [] + # Add text + if child.text: + t = libxml2.newText(child.text) + self.appendNode(nchild, t) + # Add children + for c in child: + for n in self.expandChildElements(c): + self.appendNode(nchild, n) + elements.append(nchild) + # Add tail + if child.tail: + tail = libxml2.newText(child.tail) + elements.append(tail) + + return elements + + def convertElementTree(self, root): + """ Convert the given tree of etree.Element + entries to a list of tree nodes for the + current XML toolkit. + """ + nroot = self.newNode(root.tag) + # Copy attributes + for key, val in root.attrib: + self.setAttribute(nroot, key, val) + elements = [] + # Add text + if root.text: + t = libxml2.newText(root.text) + self.appendNode(nroot, t) + # Add children + for c in root: + for n in self.expandChildElements(c): + self.appendNode(nroot, n) + elements.append(nroot) + # Add tail + if root.tail: + tail = libxml2.newText(root.tail) + elements.append(tail) + + return elements + +tf = TreeFactory() + + +class SConsDocTree: + def __init__(self): + self.nsmap = {'dbx' : dbxsd} + self.doc = None + self.root = None + self.xpath_context = None + + def parseContent(self, content, include_entities=True): + """ Parses the given content as XML file. This method + is used when we generate the basic lists of entities + for the builders, tools and functions. + So we usually don't bother about namespaces and resolving + entities here...this is handled in parseXmlFile below + (step 2 of the overall process). + """ + if not include_entities: + content = remove_entities(content) + # Create domtree from given content string + self.root = etree.fromstring(content) + + def parseXmlFile(self, fpath): + nsmap = {'dbx' : dbxsd} + if not has_libxml2: + # Create domtree from file + domtree = etree.parse(fpath) + self.root = domtree.getroot() + else: + # Read file and resolve entities + self.doc = libxml2.readFile(fpath, None, libxml2.XML_PARSE_NOENT) + self.root = self.doc.getRootElement() + # Create xpath context + self.xpath_context = self.doc.xpathNewContext() + # Register namespaces + for key, val in self.nsmap.iteritems(): + self.xpath_context.xpathRegisterNs(key, val) + + def __del__(self): + if self.doc is not None: + self.doc.freeDoc() + if self.xpath_context is not None: + self.xpath_context.xpathFreeContext() + +perc="%" + +def validate_all_xml(dpaths, xsdfile=default_xsd): + xmlschema_context = None + if not has_libxml2: + # Use lxml + xmlschema_context = etree.parse(xsdfile) + else: + # Use libxml2 and prepare the schema validation context + ctxt = libxml2.schemaNewParserCtxt(xsdfile) + xmlschema_context = ctxt.schemaParse() + del ctxt + + fpaths = [] + for dp in dpaths: + if dp.endswith('.xml') and isSConsXml(dp): + path='.' + fpaths.append(dp) + else: + for path, dirs, files in os.walk(dp): + for f in files: + if f.endswith('.xml'): + fp = os.path.join(path, f) + if isSConsXml(fp): + fpaths.append(fp) + + fails = [] + for idx, fp in enumerate(fpaths): + fpath = os.path.join(path, fp) + print "%.2f%s (%d/%d) %s" % (float(idx+1)*100.0/float(len(fpaths)), + perc, idx+1, len(fpaths),fp) + + if not tf.validateXml(fp, xmlschema_context): + fails.append(fp) + continue + + if has_libxml2: + # Cleanup + del xmlschema_context + + if fails: + return False + + return True class Item(object): def __init__(self, name): @@ -120,9 +659,10 @@ class Item(object): self.sort_name = name.lower() if self.sort_name[0] == '_': self.sort_name = self.sort_name[1:] - self.summary = [] - self.sets = None - self.uses = None + self.sets = [] + self.uses = [] + self.summary = None + self.arguments = None def cmp_name(self, name): if name[0] == '_': name = name[1:] @@ -136,7 +676,6 @@ class Builder(Item): class Function(Item): def __init__(self, name): super(Function, self).__init__(name) - self.arguments = [] class Tool(Item): def __init__(self, name): @@ -146,18 +685,6 @@ class Tool(Item): class ConstructionVariable(Item): pass -class Chunk(object): - def __init__(self, tag, body=None): - self.tag = tag - if not body: - body = [] - self.body = body - def __str__(self): - body = ''.join(self.body) - return "<%s>%s\n" % (self.tag, body, self.tag) - def append(self, data): - self.body.append(data) - class Arguments(object): def __init__(self, signature, body=None): if not body: @@ -175,206 +702,99 @@ class Arguments(object): def append(self, data): self.body.append(data) -class Summary(object): +class SConsDocHandler(object): def __init__(self): - self.body = [] - self.collect = [] - def append(self, data): - self.collect.append(data) - def end_para(self): - text = ''.join(self.collect) - paras = text.split('\n\n') - if paras == ['\n']: - return - if paras[0] == '': - self.body.append('\n') - paras = paras[1:] - paras[0] = '\n' + paras[0] - if paras[-1] == '': - paras = paras[:-1] - paras[-1] = paras[-1] + '\n' - last = '\n' - else: - last = None - sep = None - for p in paras: - c = Chunk("para", p) - if sep: - self.body.append(sep) - self.body.append(c) - sep = '\n' - if last: - self.body.append(last) - def begin_chunk(self, chunk): - self.end_para() - self.collect = chunk - def end_chunk(self): - self.body.append(self.collect) - self.collect = [] - -class SConsDocHandler(xml.sax.handler.ContentHandler, - xml.sax.handler.ErrorHandler): - def __init__(self): - self._start_dispatch = {} - self._end_dispatch = {} - keys = list(self.__class__.__dict__.keys()) - start_tag_method_names = [k for k in keys if k[:6] == 'start_'] - end_tag_method_names = [k for k in keys if k[:4] == 'end_'] - for method_name in start_tag_method_names: - tag = method_name[6:] - self._start_dispatch[tag] = getattr(self, method_name) - for method_name in end_tag_method_names: - tag = method_name[4:] - self._end_dispatch[tag] = getattr(self, method_name) - self.stack = [] - self.collect = [] - self.current_object = [] self.builders = {} self.functions = {} self.tools = {} self.cvars = {} - def startElement(self, name, attrs): + def parseItems(self, domelem, xpath_context, nsmap): + items = [] + + for i in tf.findAll(domelem, "item", dbxid, xpath_context, nsmap): + txt = tf.getText(i) + if txt is not None: + txt = txt.strip() + if len(txt): + items.append(txt.strip()) + + return items + + def parseUsesSets(self, domelem, xpath_context, nsmap): + uses = [] + sets = [] + + for u in tf.findAll(domelem, "uses", dbxid, xpath_context, nsmap): + uses.extend(self.parseItems(u, xpath_context, nsmap)) + for s in tf.findAll(domelem, "sets", dbxid, xpath_context, nsmap): + sets.extend(self.parseItems(s, xpath_context, nsmap)) + + return sorted(uses), sorted(sets) + + def parseInstance(self, domelem, map, Class, + xpath_context, nsmap, include_entities=True): + name = 'unknown' + if tf.hasAttribute(domelem, 'name'): + name = tf.getAttribute(domelem, 'name') try: - start_element_method = self._start_dispatch[name] + instance = map[name] except KeyError: - self.characters('<%s>' % name) - else: - start_element_method(attrs) - - def endElement(self, name): - try: - end_element_method = self._end_dispatch[name] - except KeyError: - self.characters('' % name) - else: - end_element_method() - - # - # - def characters(self, chars): - self.collect.append(chars) - - def begin_collecting(self, chunk): - self.collect = chunk - def end_collecting(self): - self.collect = [] - - def begin_chunk(self): - pass - def end_chunk(self): - pass - - # - # - # - - def begin_xxx(self, obj): - self.stack.append(self.current_object) - self.current_object = obj - def end_xxx(self): - self.current_object = self.stack.pop() - - # - # - # - def start_scons_doc(self, attrs): - pass - def end_scons_doc(self): - pass - - def start_builder(self, attrs): - name = attrs.get('name') - try: - builder = self.builders[name] - except KeyError: - builder = Builder(name) - self.builders[name] = builder - self.begin_xxx(builder) - def end_builder(self): - self.end_xxx() - - def start_scons_function(self, attrs): - name = attrs.get('name') - try: - function = self.functions[name] - except KeyError: - function = Function(name) - self.functions[name] = function - self.begin_xxx(function) - def end_scons_function(self): - self.end_xxx() - - def start_tool(self, attrs): - name = attrs.get('name') - try: - tool = self.tools[name] - except KeyError: - tool = Tool(name) - self.tools[name] = tool - self.begin_xxx(tool) - def end_tool(self): - self.end_xxx() - - def start_cvar(self, attrs): - name = attrs.get('name') - try: - cvar = self.cvars[name] - except KeyError: - cvar = ConstructionVariable(name) - self.cvars[name] = cvar - self.begin_xxx(cvar) - def end_cvar(self): - self.end_xxx() - - def start_arguments(self, attrs): - arguments = Arguments(attrs.get('signature', "both")) - self.current_object.arguments.append(arguments) - self.begin_xxx(arguments) - self.begin_collecting(arguments) - def end_arguments(self): - self.end_xxx() - - def start_summary(self, attrs): - summary = Summary() - self.current_object.summary = summary - self.begin_xxx(summary) - self.begin_collecting(summary) - def end_summary(self): - self.current_object.end_para() - self.end_xxx() - - def start_example(self, attrs): - example = Chunk("programlisting") - self.current_object.begin_chunk(example) - def end_example(self): - self.current_object.end_chunk() - - def start_uses(self, attrs): - self.begin_collecting([]) - def end_uses(self): - self.current_object.uses = sorted(''.join(self.collect).split()) - self.end_collecting() - - def start_sets(self, attrs): - self.begin_collecting([]) - def end_sets(self): - self.current_object.sets = sorted(''.join(self.collect).split()) - self.end_collecting() - - # Stuff for the ErrorHandler portion. - def error(self, exception): - linenum = exception._linenum - self.preamble_lines - sys.stderr.write('%s:%d:%d: %s (error)\n' % (self.filename, linenum, exception._colnum, ''.join(exception.args))) - - def fatalError(self, exception): - linenum = exception._linenum - self.preamble_lines - sys.stderr.write('%s:%d:%d: %s (fatalError)\n' % (self.filename, linenum, exception._colnum, ''.join(exception.args))) - - def set_file_info(self, filename, preamble_lines): - self.filename = filename - self.preamble_lines = preamble_lines - + instance = Class(name) + map[name] = instance + uses, sets = self.parseUsesSets(domelem, xpath_context, nsmap) + instance.uses.extend(uses) + instance.sets.extend(sets) + if include_entities: + # Parse summary and function arguments + for s in tf.findAllChildrenOf(domelem, "summary", dbxid, xpath_context, nsmap): + if instance.summary is None: + instance.summary = [] + instance.summary.append(tf.copyNode(s)) + for a in tf.findAll(domelem, "arguments", dbxid, xpath_context, nsmap): + if instance.arguments is None: + instance.arguments = [] + instance.arguments.append(tf.copyNode(a)) + + def parseDomtree(self, root, xpath_context=None, nsmap=None, include_entities=True): + # Process Builders + for b in tf.findAll(root, "builder", dbxid, xpath_context, nsmap): + self.parseInstance(b, self.builders, Builder, + xpath_context, nsmap, include_entities) + # Process Functions + for f in tf.findAll(root, "scons_function", dbxid, xpath_context, nsmap): + self.parseInstance(f, self.functions, Function, + xpath_context, nsmap, include_entities) + # Process Tools + for t in tf.findAll(root, "tool", dbxid, xpath_context, nsmap): + self.parseInstance(t, self.tools, Tool, + xpath_context, nsmap, include_entities) + # Process CVars + for c in tf.findAll(root, "cvar", dbxid, xpath_context, nsmap): + self.parseInstance(c, self.cvars, ConstructionVariable, + xpath_context, nsmap, include_entities) + + def parseContent(self, content, include_entities=True): + """ Parses the given content as XML file. This method + is used when we generate the basic lists of entities + for the builders, tools and functions. + So we usually don't bother about namespaces and resolving + entities here...this is handled in parseXmlFile below + (step 2 of the overall process). + """ + # Create doctree + t = SConsDocTree() + t.parseContent(content, include_entities) + # Parse it + self.parseDomtree(t.root, t.xpath_context, t.nsmap, include_entities) + + def parseXmlFile(self, fpath): + # Create doctree + t = SConsDocTree() + t.parseXmlFile(fpath) + # Parse it + self.parseDomtree(t.root, t.xpath_context, t.nsmap) + # lifted from Ka-Ping Yee's way cool pydoc module. def importfile(path): """Import a Python source file or compiled file given its path.""" diff --git a/bin/SConsExamples.py b/bin/SConsExamples.py new file mode 100644 index 0000000..9823a05 --- /dev/null +++ b/bin/SConsExamples.py @@ -0,0 +1,898 @@ +# !/usr/bin/env python +# +# Copyright (c) 2010 The SCons Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# +# +# This script looks for some XML tags that describe SCons example +# configurations and commands to execute in those configurations, and +# uses TestCmd.py to execute the commands and insert the output from +# those commands into the XML that we output. This way, we can run a +# script and update all of our example documentation output without +# a lot of laborious by-hand checking. +# +# An "SCons example" looks like this, and essentially describes a set of +# input files (program source files as well as SConscript files): +# +# +# +# env = Environment() +# env.Program('foo') +# +# +# int main() { printf("foo.c\n"); } +# +# +# +# The contents within the tag will get written +# into a temporary directory whenever example output needs to be +# generated. By default, the contents are not inserted into text +# directly, unless you set the "printme" attribute on one or more files, +# in which case they will get inserted within a tag. +# This makes it easy to define the example at the appropriate +# point in the text where you intend to show the SConstruct file. +# +# Note that you should usually give the a "name" +# attribute so that you can refer to the example configuration later to +# run SCons and generate output. +# +# If you just want to show a file's contents without worry about running +# SCons, there's a shorter tag: +# +# +# env = Environment() +# env.Program('foo') +# +# +# This is essentially equivalent to , +# but it's more straightforward. +# +# SCons output is generated from the following sort of tag: +# +# +# scons -Q foo +# scons -Q foo +# +# +# You tell it which example to use with the "example" attribute, and then +# give it a list of tags to execute. You can also +# supply an "os" tag, which specifies the type of operating system this +# example is intended to show; if you omit this, default value is "posix". +# +# The generated XML will show the command line (with the appropriate +# command-line prompt for the operating system), execute the command in +# a temporary directory with the example files, capture the standard +# output from SCons, and insert it into the text as appropriate. +# Error output gets passed through to your error output so you +# can see if there are any problems executing the command. +# + +import os +import re +import sys +import time + +import SConsDoc +from SConsDoc import tf as stf + +# +# The available types for ExampleFile entries +# +FT_FILE = 0 # a physical file (=) +FT_FILEREF = 1 # a reference (=) + +class ExampleFile: + def __init__(self, type_=FT_FILE): + self.type = type_ + self.name = '' + self.content = '' + self.chmod = '' + + def isFileRef(self): + return self.type == FT_FILEREF + +class ExampleFolder: + def __init__(self): + self.name = '' + self.chmod = '' + +class ExampleCommand: + def __init__(self): + self.edit = None + self.environment = '' + self.output = '' + self.cmd = '' + +class ExampleOutput: + def __init__(self): + self.name = '' + self.tools = '' + self.os = 'posix' + self.preserve = None + self.suffix = '' + self.commands = [] + +class ExampleInfo: + def __init__(self): + self.name = '' + self.files = [] + self.folders = [] + self.outputs = [] + + def getFileContents(self, fname): + for f in self.files: + if fname == f.name and not f.isFileRef(): + return f.content + + return '' + +def readExampleInfos(fpath, examples): + """ Add the example infos for the file fpath to the + global dictionary examples. + """ + + # Create doctree + t = SConsDoc.SConsDocTree() + t.parseXmlFile(fpath) + + # Parse scons_examples + for e in stf.findAll(t.root, "scons_example", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + n = '' + if stf.hasAttribute(e, 'name'): + n = stf.getAttribute(e, 'name') + if n and n not in examples: + i = ExampleInfo() + i.name = n + examples[n] = i + + # Parse file and directory entries + for f in stf.findAll(e, "file", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + fi = ExampleFile() + if stf.hasAttribute(f, 'name'): + fi.name = stf.getAttribute(f, 'name') + if stf.hasAttribute(f, 'chmod'): + fi.chmod = stf.getAttribute(f, 'chmod') + fi.content = stf.getText(f) + examples[n].files.append(fi) + for d in stf.findAll(e, "directory", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + di = ExampleFolder() + if stf.hasAttribute(d, 'name'): + di.name = stf.getAttribute(d, 'name') + if stf.hasAttribute(d, 'chmod'): + di.chmod = stf.getAttribute(d, 'chmod') + examples[n].folders.append(di) + + + # Parse scons_example_files + for f in stf.findAll(t.root, "scons_example_file", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + if stf.hasAttribute(f, 'example'): + e = stf.getAttribute(f, 'example') + else: + continue + fi = ExampleFile(FT_FILEREF) + if stf.hasAttribute(f, 'name'): + fi.name = stf.getAttribute(f, 'name') + if stf.hasAttribute(f, 'chmod'): + fi.chmod = stf.getAttribute(f, 'chmod') + fi.content = stf.getText(f) + examples[e].files.append(fi) + + + # Parse scons_output + for o in stf.findAll(t.root, "scons_output", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + if stf.hasAttribute(o, 'example'): + n = stf.getAttribute(o, 'example') + else: + continue + + eout = ExampleOutput() + if stf.hasAttribute(o, 'name'): + eout.name = stf.getAttribute(o, 'name') + if stf.hasAttribute(o, 'tools'): + eout.tools = stf.getAttribute(o, 'tools') + if stf.hasAttribute(o, 'os'): + eout.os = stf.getAttribute(o, 'os') + if stf.hasAttribute(o, 'suffix'): + eout.suffix = stf.getAttribute(o, 'suffix') + + for c in stf.findAll(o, "scons_output_command", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + oc = ExampleCommand() + if stf.hasAttribute(c, 'edit'): + oc.edit = stf.getAttribute(c, 'edit') + if stf.hasAttribute(c, 'environment'): + oc.environment = stf.getAttribute(c, 'environment') + if stf.hasAttribute(c, 'output'): + oc.output = stf.getAttribute(c, 'output') + if stf.hasAttribute(c, 'cmd'): + oc.cmd = stf.getAttribute(c, 'cmd') + else: + oc.cmd = stf.getText(c) + + eout.commands.append(oc) + + examples[n].outputs.append(eout) + +def readAllExampleInfos(dpath): + """ Scan for XML files in the given directory and + collect together all relevant infos (files/folders, + output commands) in a map, which gets returned. + """ + examples = {} + for path, dirs, files in os.walk(dpath): + for f in files: + if f.endswith('.xml'): + fpath = os.path.join(path, f) + if SConsDoc.isSConsXml(fpath): + readExampleInfos(fpath, examples) + + return examples + +generated_examples = os.path.join('doc', 'generated', 'examples') + +def ensureExampleOutputsExist(dpath): + """ Scan for XML files in the given directory and + ensure that for every example output we have a + corresponding output file in the 'generated/examples' + folder. + """ + # Ensure that the output folder exists + if not os.path.isdir(generated_examples): + os.mkdir(generated_examples) + + examples = readAllExampleInfos(dpath) + for key, value in examples.iteritems(): + # Process all scons_output tags + for o in value.outputs: + cpath = os.path.join(generated_examples, + key + '_' + o.suffix + '.xml') + if not os.path.isfile(cpath): + # Start new XML file + s = stf.newXmlTree("screen") + stf.setText(s, "NO OUTPUT YET! Run the script to generate/update all examples.") + # Write file + stf.writeTree(s, cpath) + + # Process all scons_example_file tags + for r in value.files: + if r.isFileRef(): + # Get file's content + content = value.getFileContents(r.name) + fpath = os.path.join(generated_examples, + key + '_' + r.name.replace("/", "_")) + # Write file + f = open(fpath, 'w') + f.write("%s\n" % content) + f.close() + +perc = "%" + +def createAllExampleOutputs(dpath): + """ Scan for XML files in the given directory and + creates all output files for every example in + the 'generated/examples' folder. + """ + # Ensure that the output folder exists + if not os.path.isdir(generated_examples): + os.mkdir(generated_examples) + + examples = readAllExampleInfos(dpath) + total = len(examples) + idx = 0 + for key, value in examples.iteritems(): + # Process all scons_output tags + print "%.2f%s (%d/%d) %s" % (float(idx + 1) * 100.0 / float(total), + perc, idx + 1, total, key) + + create_scons_output(value) + # Process all scons_example_file tags + for r in value.files: + if r.isFileRef(): + # Get file's content + content = value.getFileContents(r.name) + fpath = os.path.join(generated_examples, + key + '_' + r.name.replace("/", "_")) + # Write file + f = open(fpath, 'w') + f.write("%s\n" % content) + f.close() + idx += 1 + +def collectSConsExampleNames(fpath): + """ Return a set() of example names, used in the given file fpath. + """ + names = set() + suffixes = {} + failed_suffixes = False + + # Create doctree + t = SConsDoc.SConsDocTree() + t.parseXmlFile(fpath) + + # Parse it + for e in stf.findAll(t.root, "scons_example", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + n = '' + if stf.hasAttribute(e, 'name'): + n = stf.getAttribute(e, 'name') + if n: + names.add(n) + if n not in suffixes: + suffixes[n] = [] + else: + print "Error: Example in file '%s' is missing a name!" % fpath + failed_suffixes = True + + for o in stf.findAll(t.root, "scons_output", SConsDoc.dbxid, + t.xpath_context, t.nsmap): + n = '' + if stf.hasAttribute(o, 'example'): + n = stf.getAttribute(o, 'example') + else: + print "Error: scons_output in file '%s' is missing an example name!" % fpath + failed_suffixes = True + + if n not in suffixes: + print "Error: scons_output in file '%s' is referencing non-existent example '%s'!" % (fpath, n) + failed_suffixes = True + continue + + s = '' + if stf.hasAttribute(o, 'suffix'): + s = stf.getAttribute(o, 'suffix') + else: + print "Error: scons_output in file '%s' (example '%s') is missing a suffix!" % (fpath, n) + failed_suffixes = True + + if s not in suffixes[n]: + suffixes[n].append(s) + else: + print "Error: scons_output in file '%s' (example '%s') is using a duplicate suffix '%s'!" % (fpath, n, s) + failed_suffixes = True + + return names, failed_suffixes + +def exampleNamesAreUnique(dpath): + """ Scan for XML files in the given directory and + check whether the scons_example names are unique. + """ + unique = True + allnames = set() + for path, dirs, files in os.walk(dpath): + for f in files: + if f.endswith('.xml'): + fpath = os.path.join(path, f) + if SConsDoc.isSConsXml(fpath): + names, failed_suffixes = collectSConsExampleNames(fpath) + if failed_suffixes: + unique = False + i = allnames.intersection(names) + if i: + print "Not unique in %s are: %s" % (fpath, ', '.join(i)) + unique = False + + allnames |= names + + return unique + +# ############################################################### +# +# In the second half of this module (starting here) +# we define the variables and functions that are required +# to actually run the examples, collect their output and +# write it into the files in doc/generated/examples... +# which then get included by our UserGuide. +# +# ############################################################### + +sys.path.append(os.path.join(os.getcwd(), 'QMTest')) +sys.path.append(os.path.join(os.getcwd(), 'build', 'QMTest')) + +scons_py = os.path.join('bootstrap', 'src', 'script', 'scons.py') +if not os.path.exists(scons_py): + scons_py = os.path.join('src', 'script', 'scons.py') + +scons_lib_dir = os.path.join(os.getcwd(), 'bootstrap', 'src', 'engine') +if not os.path.exists(scons_lib_dir): + scons_lib_dir = os.path.join(os.getcwd(), 'src', 'engine') + +os.environ['SCONS_LIB_DIR'] = scons_lib_dir + +import TestCmd + +Prompt = { + 'posix' : '% ', + 'win32' : 'C:\\>' +} + +# The magick SCons hackery that makes this work. +# +# So that our examples can still use the default SConstruct file, we +# actually feed the following into SCons via stdin and then have it +# SConscript() the SConstruct file. This stdin wrapper creates a set +# of ToolSurrogates for the tools for the appropriate platform. These +# Surrogates print output like the real tools and behave like them +# without actually having to be on the right platform or have the right +# tool installed. +# +# The upshot: The wrapper transparently changes the world out from +# under the top-level SConstruct file in an example just so we can get +# the command output. + +Stdin = """\ +import os +import re +import SCons.Action +import SCons.Defaults +import SCons.Node.FS + +platform = '%(osname)s' + +Sep = { + 'posix' : '/', + 'win32' : '\\\\', +}[platform] + + +# Slip our own __str__() method into the EntryProxy class used to expand +# $TARGET{S} and $SOURCE{S} to translate the path-name separators from +# what's appropriate for the system we're running on to what's appropriate +# for the example system. +orig = SCons.Node.FS.EntryProxy +class MyEntryProxy(orig): + def __str__(self): + return str(self._subject).replace(os.sep, Sep) +SCons.Node.FS.EntryProxy = MyEntryProxy + +# Slip our own RDirs() method into the Node.FS.File class so that the +# expansions of $_{CPPINC,F77INC,LIBDIR}FLAGS will have the path-name +# separators translated from what's appropriate for the system we're +# running on to what's appropriate for the example system. +orig_RDirs = SCons.Node.FS.File.RDirs +def my_RDirs(self, pathlist, orig_RDirs=orig_RDirs): + return [str(x).replace(os.sep, Sep) for x in orig_RDirs(self, pathlist)] +SCons.Node.FS.File.RDirs = my_RDirs + +class Curry(object): + def __init__(self, fun, *args, **kwargs): + self.fun = fun + self.pending = args[:] + self.kwargs = kwargs.copy() + + def __call__(self, *args, **kwargs): + if kwargs and self.kwargs: + kw = self.kwargs.copy() + kw.update(kwargs) + else: + kw = kwargs or self.kwargs + + return self.fun(*self.pending + args, **kw) + +def Str(target, source, env, cmd=""): + result = [] + for cmd in env.subst_list(cmd, target=target, source=source): + result.append(' '.join(map(str, cmd))) + return '\\n'.join(result) + +class ToolSurrogate(object): + def __init__(self, tool, variable, func, varlist): + self.tool = tool + if not isinstance(variable, list): + variable = [variable] + self.variable = variable + self.func = func + self.varlist = varlist + def __call__(self, env): + t = Tool(self.tool) + t.generate(env) + for v in self.variable: + orig = env[v] + try: + strfunction = orig.strfunction + except AttributeError: + strfunction = Curry(Str, cmd=orig) + # Don't call Action() through its global function name, because + # that leads to infinite recursion in trying to initialize the + # Default Environment. + env[v] = SCons.Action.Action(self.func, + strfunction=strfunction, + varlist=self.varlist) + def __repr__(self): + # This is for the benefit of printing the 'TOOLS' + # variable through env.Dump(). + return repr(self.tool) + +def Null(target, source, env): + pass + +def Cat(target, source, env): + target = str(target[0]) + f = open(target, "wb") + for src in map(str, source): + f.write(open(src, "rb").read()) + f.close() + +def CCCom(target, source, env): + target = str(target[0]) + fp = open(target, "wb") + def process(source_file, fp=fp): + for line in open(source_file, "rb").readlines(): + m = re.match(r'#include\s[<"]([^<"]+)[>"]', line) + if m: + include = m.group(1) + for d in [str(env.Dir('$CPPPATH')), '.']: + f = os.path.join(d, include) + if os.path.exists(f): + process(f) + break + elif line[:11] != "STRIP CCCOM": + fp.write(line) + for src in map(str, source): + process(src) + fp.write('debug = ' + ARGUMENTS.get('debug', '0') + '\\n') + fp.close() + +public_class_re = re.compile('^public class (\S+)', re.MULTILINE) + +def JavaCCom(target, source, env): + # This is a fake Java compiler that just looks for + # public class FooBar + # lines in the source file(s) and spits those out + # to .class files named after the class. + tlist = list(map(str, target)) + not_copied = {} + for t in tlist: + not_copied[t] = 1 + for src in map(str, source): + contents = open(src, "rb").read() + classes = public_class_re.findall(contents) + for c in classes: + for t in [x for x in tlist if x.find(c) != -1]: + open(t, "wb").write(contents) + del not_copied[t] + for t in not_copied.keys(): + open(t, "wb").write("\\n") + +def JavaHCom(target, source, env): + tlist = map(str, target) + slist = map(str, source) + for t, s in zip(tlist, slist): + open(t, "wb").write(open(s, "rb").read()) + +def JarCom(target, source, env): + target = str(target[0]) + class_files = [] + for src in map(str, source): + for dirpath, dirnames, filenames in os.walk(src): + class_files.extend([ os.path.join(dirpath, f) + for f in filenames if f.endswith('.class') ]) + f = open(target, "wb") + for cf in class_files: + f.write(open(cf, "rb").read()) + f.close() + +# XXX Adding COLOR, COLORS and PACKAGE to the 'cc' varlist(s) by hand +# here is bogus. It's for the benefit of doc/user/command-line.in, which +# uses examples that want to rebuild based on changes to these variables. +# It would be better to figure out a way to do it based on the content of +# the generated command-line, or else find a way to let the example markup +# language in doc/user/command-line.in tell this script what variables to +# add, but that's more difficult than I want to figure out how to do right +# now, so let's just use the simple brute force approach for the moment. + +ToolList = { + 'posix' : [('cc', ['CCCOM', 'SHCCCOM'], CCCom, ['CCFLAGS', 'CPPDEFINES', 'COLOR', 'COLORS', 'PACKAGE']), + ('link', ['LINKCOM', 'SHLINKCOM'], Cat, []), + ('ar', ['ARCOM', 'RANLIBCOM'], Cat, []), + ('tar', 'TARCOM', Null, []), + ('zip', 'ZIPCOM', Null, []), + ('BitKeeper', 'BITKEEPERCOM', Cat, []), + ('CVS', 'CVSCOM', Cat, []), + ('RCS', 'RCS_COCOM', Cat, []), + ('SCCS', 'SCCSCOM', Cat, []), + ('javac', 'JAVACCOM', JavaCCom, []), + ('javah', 'JAVAHCOM', JavaHCom, []), + ('jar', 'JARCOM', JarCom, []), + ('rmic', 'RMICCOM', Cat, []), + ], + 'win32' : [('msvc', ['CCCOM', 'SHCCCOM', 'RCCOM'], CCCom, ['CCFLAGS', 'CPPDEFINES', 'COLOR', 'COLORS', 'PACKAGE']), + ('mslink', ['LINKCOM', 'SHLINKCOM'], Cat, []), + ('mslib', 'ARCOM', Cat, []), + ('tar', 'TARCOM', Null, []), + ('zip', 'ZIPCOM', Null, []), + ('BitKeeper', 'BITKEEPERCOM', Cat, []), + ('CVS', 'CVSCOM', Cat, []), + ('RCS', 'RCS_COCOM', Cat, []), + ('SCCS', 'SCCSCOM', Cat, []), + ('javac', 'JAVACCOM', JavaCCom, []), + ('javah', 'JAVAHCOM', JavaHCom, []), + ('jar', 'JARCOM', JarCom, []), + ('rmic', 'RMICCOM', Cat, []), + ], +} + +toollist = ToolList[platform] +filter_tools = '%(tools)s'.split() +if filter_tools: + toollist = [x for x in toollist if x[0] in filter_tools] + +toollist = [ToolSurrogate(*t) for t in toollist] + +toollist.append('install') + +def surrogate_spawn(sh, escape, cmd, args, env): + pass + +def surrogate_pspawn(sh, escape, cmd, args, env, stdout, stderr): + pass + +SCons.Defaults.ConstructionEnvironment.update({ + 'PLATFORM' : platform, + 'TOOLS' : toollist, + 'SPAWN' : surrogate_spawn, + 'PSPAWN' : surrogate_pspawn, +}) + +SConscript('SConstruct') +""" + +# "Commands" that we will execute in our examples. +def command_scons(args, c, test, dict): + save_vals = {} + delete_keys = [] + try: + ce = c.environment + except AttributeError: + pass + else: + for arg in c.environment.split(): + key, val = arg.split('=') + try: + save_vals[key] = os.environ[key] + except KeyError: + delete_keys.append(key) + os.environ[key] = val + test.run(interpreter=sys.executable, + program=scons_py, + # We use ToolSurrogates to capture win32 output by "building" + # examples using a fake win32 tool chain. Suppress the + # warnings that come from the new revamped VS support so + # we can build doc on (Linux) systems that don't have + # Visual C installed. + arguments='--warn=no-visual-c-missing -f - ' + ' '.join(args), + chdir=test.workpath('WORK'), + stdin=Stdin % dict) + os.environ.update(save_vals) + for key in delete_keys: + del(os.environ[key]) + out = test.stdout() + out = out.replace(test.workpath('ROOT'), '') + out = out.replace(test.workpath('WORK/SConstruct'), + '/home/my/project/SConstruct') + lines = out.split('\n') + if lines: + while lines[-1] == '': + lines = lines[:-1] + # err = test.stderr() + # if err: + # sys.stderr.write(err) + return lines + +def command_touch(args, c, test, dict): + if args[0] == '-t': + t = int(time.mktime(time.strptime(args[1], '%Y%m%d%H%M'))) + times = (t, t) + args = args[2:] + else: + time.sleep(1) + times = None + for file in args: + if not os.path.isabs(file): + file = os.path.join(test.workpath('WORK'), file) + if not os.path.exists(file): + open(file, 'wb') + os.utime(file, times) + return [] + +def command_edit(args, c, test, dict): + if c.edit is None: + add_string = 'void edit(void) { ; }\n' + else: + add_string = c.edit[:] + if add_string[-1] != '\n': + add_string = add_string + '\n' + for file in args: + if not os.path.isabs(file): + file = os.path.join(test.workpath('WORK'), file) + contents = open(file, 'rb').read() + open(file, 'wb').write(contents + add_string) + return [] + +def command_ls(args, c, test, dict): + def ls(a): + return [' '.join(sorted([x for x in os.listdir(a) if x[0] != '.']))] + if args: + l = [] + for a in args: + l.extend(ls(test.workpath('WORK', a))) + return l + else: + return ls(test.workpath('WORK')) + +def command_sleep(args, c, test, dict): + time.sleep(int(args[0])) + +CommandDict = { + 'scons' : command_scons, + 'touch' : command_touch, + 'edit' : command_edit, + 'ls' : command_ls, + 'sleep' : command_sleep, +} + +def ExecuteCommand(args, c, t, dict): + try: + func = CommandDict[args[0]] + except KeyError: + func = lambda args, c, t, dict: [] + return func(args[1:], c, t, dict) + + +def create_scons_output(e): + # The real raison d'etre for this script, this is where we + # actually execute SCons to fetch the output. + + # Loop over all outputs for the example + for o in e.outputs: + # Create new test directory + t = TestCmd.TestCmd(workdir='', combine=1) + if o.preserve: + t.preserve() + t.subdir('ROOT', 'WORK') + t.rootpath = t.workpath('ROOT').replace('\\', '\\\\') + + for d in e.folders: + dir = t.workpath('WORK', d.name) + if not os.path.exists(dir): + os.makedirs(dir) + + for f in e.files: + if f.isFileRef(): + continue + # + # Left-align file's contents, starting on the first + # non-empty line + # + data = f.content.split('\n') + i = 0 + # Skip empty lines + while data[i] == '': + i = i + 1 + lines = data[i:] + i = 0 + # Scan first line for the number of spaces + # that this block is indented + while lines[0][i] == ' ': + i = i + 1 + # Left-align block + lines = [l[i:] for l in lines] + path = f.name.replace('__ROOT__', t.rootpath) + if not os.path.isabs(path): + path = t.workpath('WORK', path) + dir, name = os.path.split(path) + if dir and not os.path.exists(dir): + os.makedirs(dir) + content = '\n'.join(lines) + content = content.replace('__ROOT__', t.rootpath) + path = t.workpath('WORK', path) + t.write(path, content) + if hasattr(f, 'chmod'): + if len(f.chmod): + os.chmod(path, int(f.chmod, 0)) + + # Regular expressions for making the doc output consistent, + # regardless of reported addresses or Python version. + + # Massage addresses in object repr strings to a constant. + address_re = re.compile(r' at 0x[0-9a-fA-F]*\>') + + # Massage file names in stack traces (sometimes reported as absolute + # paths) to a consistent relative path. + engine_re = re.compile(r' File ".*/src/engine/SCons/') + + # Python 2.5 changed the stack trace when the module is read + # from standard input from read "... line 7, in ?" to + # "... line 7, in ". + file_re = re.compile(r'^( *File ".*", line \d+, in) \?$', re.M) + + # Python 2.6 made UserList a new-style class, which changes the + # AttributeError message generated by our NodeList subclass. + nodelist_re = re.compile(r'(AttributeError:) NodeList instance (has no attribute \S+)') + + # Root element for our subtree + sroot = stf.newEtreeNode("screen", True) + curchild = None + content = "" + for c in o.commands: + content += Prompt[o.os] + if curchild is not None: + if not c.output: + # Append content as tail + curchild.tail = content + content = "\n" + # Add new child for userinput tag + curchild = stf.newEtreeNode("userinput") + d = c.cmd.replace('__ROOT__', '') + curchild.text = d + sroot.append(curchild) + else: + content += c.output + '\n' + else: + if not c.output: + # Add first text to root + sroot.text = content + content = "\n" + # Add new child for userinput tag + curchild = stf.newEtreeNode("userinput") + d = c.cmd.replace('__ROOT__', '') + curchild.text = d + sroot.append(curchild) + else: + content += c.output + '\n' + # Execute command and capture its output + cmd_work = c.cmd.replace('__ROOT__', t.workpath('ROOT')) + args = cmd_work.split() + lines = ExecuteCommand(args, c, t, {'osname':o.os, 'tools':o.tools}) + if not c.output and lines: + ncontent = '\n'.join(lines) + ncontent = address_re.sub(r' at 0x700000>', ncontent) + ncontent = engine_re.sub(r' File "bootstrap/src/engine/SCons/', ncontent) + ncontent = file_re.sub(r'\1 ', ncontent) + ncontent = nodelist_re.sub(r"\1 'NodeList' object \2", ncontent) + ncontent = ncontent.replace('__ROOT__', '') + content += ncontent + '\n' + # Add last piece of content + if len(content): + if curchild is not None: + curchild.tail = content + else: + sroot.text = content + + # Construct filename + fpath = os.path.join(generated_examples, + e.name + '_' + o.suffix + '.xml') + # Expand Element tree + s = stf.decorateWithHeader(stf.convertElementTree(sroot)[0]) + # Write it to file + stf.writeTree(s, fpath) + + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: diff --git a/bin/docs-create-example-outputs.py b/bin/docs-create-example-outputs.py new file mode 100644 index 0000000..30dc0ee --- /dev/null +++ b/bin/docs-create-example-outputs.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python +# +# Searches through the whole doc/user tree and creates +# all output files for the single examples. +# + +import os +import sys +import SConsExamples + +if __name__ == "__main__": + print "Checking whether all example names are unique..." + if SConsExamples.exampleNamesAreUnique(os.path.join('doc','user')): + print "OK" + else: + print "Not all example names and suffixes are unique! Please correct the errors listed above and try again." + sys.exit(0) + + SConsExamples.createAllExampleOutputs(os.path.join('doc','user')) diff --git a/bin/docs-update-generated.py b/bin/docs-update-generated.py new file mode 100644 index 0000000..66b22c0 --- /dev/null +++ b/bin/docs-update-generated.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python +# +# Searches through the whole source tree and updates +# the generated *.gen/*.mod files in the docs folder, keeping all +# documentation for the tools, builders and functions... +# as well as the entity declarations for them. +# Uses scons-proc.py under the hood... +# + +import os +import SConsDoc + +# Directory where all generated files are stored +gen_folder = os.path.join('doc','generated') + +def argpair(key): + """ Return the argument pair *.gen,*.mod for the given key. """ + arg = '%s,%s' % (os.path.join(gen_folder,'%s.gen' % key), + os.path.join(gen_folder,'%s.mod' % key)) + + return arg + +def generate_all(): + """ Scan for XML files in the src directory and call scons-proc.py + to generate the *.gen/*.mod files from it. + """ + flist = [] + for path, dirs, files in os.walk('src'): + for f in files: + if f.endswith('.xml'): + fpath = os.path.join(path, f) + if SConsDoc.isSConsXml(fpath): + flist.append(fpath) + + if flist: + # Does the destination folder exist + if not os.path.isdir(gen_folder): + try: + os.makedirs(gen_folder) + except: + print "Couldn't create destination folder %s! Exiting..." % gen_folder + return + # Call scons-proc.py + os.system('python %s -b %s -f %s -t %s -v %s %s' % + (os.path.join('bin','scons-proc.py'), + argpair('builders'), argpair('functions'), + argpair('tools'), argpair('variables'), ' '.join(flist))) + + +if __name__ == "__main__": + generate_all() diff --git a/bin/docs-validate.py b/bin/docs-validate.py new file mode 100644 index 0000000..c445c3f --- /dev/null +++ b/bin/docs-validate.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# +# Searches through the whole source tree and validates all +# documentation files against our own XSD in docs/xsd. +# + +import sys,os +import SConsDoc + +if __name__ == "__main__": + if len(sys.argv)>1: + if SConsDoc.validate_all_xml((sys.argv[1],)): + print "OK" + else: + print "Validation failed! Please correct the errors above and try again." + else: + if SConsDoc.validate_all_xml(['src', + os.path.join('doc','design'), + os.path.join('doc','developer'), + os.path.join('doc','man'), + os.path.join('doc','python10'), + os.path.join('doc','reference'), + os.path.join('doc','user') + ]): + print "OK" + else: + print "Validation failed! Please correct the errors above and try again." diff --git a/bin/import-test.py b/bin/import-test.py index a565deb..ccec096 100644 --- a/bin/import-test.py +++ b/bin/import-test.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The SCons Foundation +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation # # tree2test.py - turn a directory tree into TestSCons code # @@ -25,7 +25,7 @@ # """ triple-quotes will need to have their contents edited by hand. # -__revision__ = "bin/import-test.py 2013/03/03 09:48:35 garyo" +__revision__ = "bin/import-test.py 2014/03/02 14:18:15 garyo" import os.path import sys diff --git a/bin/linecount.py b/bin/linecount.py index 8d1fd7c..9088529 100644 --- a/bin/linecount.py +++ b/bin/linecount.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The SCons Foundation +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation # # Count statistics about SCons test and source files. This must be run # against a fully-populated tree (for example, one that's been freshly @@ -23,7 +23,7 @@ # interesting one for most purposes. from __future__ import division -__revision__ = "bin/linecount.py 2013/03/03 09:48:35 garyo" +__revision__ = "bin/linecount.py 2014/03/02 14:18:15 garyo" import os.path diff --git a/bin/restore.sh b/bin/restore.sh index b2b10b1..df296a4 100644 --- a/bin/restore.sh +++ b/bin/restore.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh # -# Simple hack script to restore __revision__, __COPYRIGHT_, 2.3.0 +# Simple hack script to restore __revision__, __COPYRIGHT_, 2.3.1 # and other similar variables to what gets checked in to source. This # comes in handy when people send in diffs based on the released source. # @@ -22,9 +22,9 @@ header() { for i in `find $DIRS -name '*.py'`; do header $i ed $i < -# -# env = Environment() -# env.Program('foo') -# -# -# int main() { printf("foo.c\n"); } -# -# -# -# The contents within the tag will get written -# into a temporary directory whenever example output needs to be -# generated. By default, the contents are not inserted into text -# directly, unless you set the "printme" attribute on one or more files, -# in which case they will get inserted within a tag. -# This makes it easy to define the example at the appropriate -# point in the text where you intend to show the SConstruct file. -# -# Note that you should usually give the a "name" -# attribute so that you can refer to the example configuration later to -# run SCons and generate output. -# -# If you just want to show a file's contents without worry about running -# SCons, there's a shorter tag: -# -# -# env = Environment() -# env.Program('foo') -# -# -# This is essentially equivalent to , -# but it's more straightforward. -# -# SCons output is generated from the following sort of tag: -# -# -# scons -Q foo -# scons -Q foo -# -# -# You tell it which example to use with the "example" attribute, and then -# give it a list of tags to execute. You can also -# supply an "os" tag, which specifies the type of operating system this -# example is intended to show; if you omit this, default value is "posix". -# -# The generated SGML will show the command line (with the appropriate -# command-line prompt for the operating system), execute the command in -# a temporary directory with the example files, capture the standard -# output from SCons, and insert it into the text as appropriate. -# Error output gets passed through to your error output so you -# can see if there are any problems executing the command. -# - -import optparse -import os -import re -import sgmllib -import sys -import time -import glob - -sys.path.append(os.path.join(os.getcwd(), 'QMTest')) -sys.path.append(os.path.join(os.getcwd(), 'build', 'QMTest')) - -scons_py = os.path.join('bootstrap', 'src', 'script', 'scons.py') -if not os.path.exists(scons_py): - scons_py = os.path.join('src', 'script', 'scons.py') - -scons_lib_dir = os.path.join(os.getcwd(), 'bootstrap', 'src', 'engine') -if not os.path.exists(scons_lib_dir): - scons_lib_dir = os.path.join(os.getcwd(), 'src', 'engine') - -os.environ['SCONS_LIB_DIR'] = scons_lib_dir - -import TestCmd - -# The regular expression that identifies entity references in the -# standard sgmllib omits the underscore from the legal characters. -# Override it with our own regular expression that adds underscore. -sgmllib.entityref = re.compile('&([a-zA-Z][-_.a-zA-Z0-9]*)[^-_a-zA-Z0-9]') - -# Classes for collecting different types of data we're interested in. -class DataCollector(object): - """Generic class for collecting data between a start tag and end - tag. We subclass for various types of tags we care about.""" - def __init__(self): - self.data = "" - def afunc(self, data): - self.data = self.data + data - -class Example(DataCollector): - """An SCons example. This is essentially a list of files that - will get written to a temporary directory to collect output - from one or more SCons runs.""" - def __init__(self): - DataCollector.__init__(self) - self.files = [] - self.dirs = [] - -class File(DataCollector): - """A file, that will get written out to a temporary directory - for one or more SCons runs.""" - def __init__(self, name): - DataCollector.__init__(self) - self.name = name - -class Directory(DataCollector): - """A directory, that will get created in a temporary directory - for one or more SCons runs.""" - def __init__(self, name): - DataCollector.__init__(self) - self.name = name - -class Output(DataCollector): - """Where the command output goes. This is essentially - a list of commands that will get executed.""" - def __init__(self): - DataCollector.__init__(self) - self.commandlist = [] - -class Command(DataCollector): - """A tag for where the command output goes. This is essentially - a list of commands that will get executed.""" - def __init__(self): - DataCollector.__init__(self) - self.output = None - -Prompt = { - 'posix' : '% ', - 'win32' : 'C:\\>' -} - -# The magick SCons hackery that makes this work. -# -# So that our examples can still use the default SConstruct file, we -# actually feed the following into SCons via stdin and then have it -# SConscript() the SConstruct file. This stdin wrapper creates a set -# of ToolSurrogates for the tools for the appropriate platform. These -# Surrogates print output like the real tools and behave like them -# without actually having to be on the right platform or have the right -# tool installed. -# -# The upshot: The wrapper transparently changes the world out from -# under the top-level SConstruct file in an example just so we can get -# the command output. - -Stdin = """\ -import os -import re -import SCons.Action -import SCons.Defaults -import SCons.Node.FS - -platform = '%(osname)s' - -Sep = { - 'posix' : '/', - 'win32' : '\\\\', -}[platform] - - -# Slip our own __str__() method into the EntryProxy class used to expand -# $TARGET{S} and $SOURCE{S} to translate the path-name separators from -# what's appropriate for the system we're running on to what's appropriate -# for the example system. -orig = SCons.Node.FS.EntryProxy -class MyEntryProxy(orig): - def __str__(self): - return str(self._subject).replace(os.sep, Sep) -SCons.Node.FS.EntryProxy = MyEntryProxy - -# Slip our own RDirs() method into the Node.FS.File class so that the -# expansions of $_{CPPINC,F77INC,LIBDIR}FLAGS will have the path-name -# separators translated from what's appropriate for the system we're -# running on to what's appropriate for the example system. -orig_RDirs = SCons.Node.FS.File.RDirs -def my_RDirs(self, pathlist, orig_RDirs=orig_RDirs): - return [str(x).replace(os.sep, Sep) for x in orig_RDirs(self, pathlist)] -SCons.Node.FS.File.RDirs = my_RDirs - -class Curry(object): - def __init__(self, fun, *args, **kwargs): - self.fun = fun - self.pending = args[:] - self.kwargs = kwargs.copy() - - def __call__(self, *args, **kwargs): - if kwargs and self.kwargs: - kw = self.kwargs.copy() - kw.update(kwargs) - else: - kw = kwargs or self.kwargs - - return self.fun(*self.pending + args, **kw) - -def Str(target, source, env, cmd=""): - result = [] - for cmd in env.subst_list(cmd, target=target, source=source): - result.append(' '.join(map(str, cmd))) - return '\\n'.join(result) - -class ToolSurrogate(object): - def __init__(self, tool, variable, func, varlist): - self.tool = tool - if not isinstance(variable, list): - variable = [variable] - self.variable = variable - self.func = func - self.varlist = varlist - def __call__(self, env): - t = Tool(self.tool) - t.generate(env) - for v in self.variable: - orig = env[v] - try: - strfunction = orig.strfunction - except AttributeError: - strfunction = Curry(Str, cmd=orig) - # Don't call Action() through its global function name, because - # that leads to infinite recursion in trying to initialize the - # Default Environment. - env[v] = SCons.Action.Action(self.func, - strfunction=strfunction, - varlist=self.varlist) - def __repr__(self): - # This is for the benefit of printing the 'TOOLS' - # variable through env.Dump(). - return repr(self.tool) - -def Null(target, source, env): - pass - -def Cat(target, source, env): - target = str(target[0]) - f = open(target, "wb") - for src in map(str, source): - f.write(open(src, "rb").read()) - f.close() - -def CCCom(target, source, env): - target = str(target[0]) - fp = open(target, "wb") - def process(source_file, fp=fp): - for line in open(source_file, "rb").readlines(): - m = re.match(r'#include\s[<"]([^<"]+)[>"]', line) - if m: - include = m.group(1) - for d in [str(env.Dir('$CPPPATH')), '.']: - f = os.path.join(d, include) - if os.path.exists(f): - process(f) - break - elif line[:11] != "STRIP CCCOM": - fp.write(line) - for src in map(str, source): - process(src) - fp.write('debug = ' + ARGUMENTS.get('debug', '0') + '\\n') - fp.close() - -public_class_re = re.compile('^public class (\S+)', re.MULTILINE) - -def JavaCCom(target, source, env): - # This is a fake Java compiler that just looks for - # public class FooBar - # lines in the source file(s) and spits those out - # to .class files named after the class. - tlist = list(map(str, target)) - not_copied = {} - for t in tlist: - not_copied[t] = 1 - for src in map(str, source): - contents = open(src, "rb").read() - classes = public_class_re.findall(contents) - for c in classes: - for t in [x for x in tlist if x.find(c) != -1]: - open(t, "wb").write(contents) - del not_copied[t] - for t in not_copied.keys(): - open(t, "wb").write("\\n") - -def JavaHCom(target, source, env): - tlist = map(str, target) - slist = map(str, source) - for t, s in zip(tlist, slist): - open(t, "wb").write(open(s, "rb").read()) - -def JarCom(target, source, env): - target = str(target[0]) - class_files = [] - for src in map(str, source): - for dirpath, dirnames, filenames in os.walk(src): - class_files.extend([ os.path.join(dirpath, f) - for f in filenames if f.endswith('.class') ]) - f = open(target, "wb") - for cf in class_files: - f.write(open(cf, "rb").read()) - f.close() - -# XXX Adding COLOR, COLORS and PACKAGE to the 'cc' varlist(s) by hand -# here is bogus. It's for the benefit of doc/user/command-line.in, which -# uses examples that want to rebuild based on changes to these variables. -# It would be better to figure out a way to do it based on the content of -# the generated command-line, or else find a way to let the example markup -# language in doc/user/command-line.in tell this script what variables to -# add, but that's more difficult than I want to figure out how to do right -# now, so let's just use the simple brute force approach for the moment. - -ToolList = { - 'posix' : [('cc', ['CCCOM', 'SHCCCOM'], CCCom, ['CCFLAGS', 'CPPDEFINES', 'COLOR', 'COLORS', 'PACKAGE']), - ('link', ['LINKCOM', 'SHLINKCOM'], Cat, []), - ('ar', ['ARCOM', 'RANLIBCOM'], Cat, []), - ('tar', 'TARCOM', Null, []), - ('zip', 'ZIPCOM', Null, []), - ('BitKeeper', 'BITKEEPERCOM', Cat, []), - ('CVS', 'CVSCOM', Cat, []), - ('RCS', 'RCS_COCOM', Cat, []), - ('SCCS', 'SCCSCOM', Cat, []), - ('javac', 'JAVACCOM', JavaCCom, []), - ('javah', 'JAVAHCOM', JavaHCom, []), - ('jar', 'JARCOM', JarCom, []), - ('rmic', 'RMICCOM', Cat, []), - ], - 'win32' : [('msvc', ['CCCOM', 'SHCCCOM', 'RCCOM'], CCCom, ['CCFLAGS', 'CPPDEFINES', 'COLOR', 'COLORS', 'PACKAGE']), - ('mslink', ['LINKCOM', 'SHLINKCOM'], Cat, []), - ('mslib', 'ARCOM', Cat, []), - ('tar', 'TARCOM', Null, []), - ('zip', 'ZIPCOM', Null, []), - ('BitKeeper', 'BITKEEPERCOM', Cat, []), - ('CVS', 'CVSCOM', Cat, []), - ('RCS', 'RCS_COCOM', Cat, []), - ('SCCS', 'SCCSCOM', Cat, []), - ('javac', 'JAVACCOM', JavaCCom, []), - ('javah', 'JAVAHCOM', JavaHCom, []), - ('jar', 'JARCOM', JarCom, []), - ('rmic', 'RMICCOM', Cat, []), - ], -} - -toollist = ToolList[platform] -filter_tools = '%(tools)s'.split() -if filter_tools: - toollist = [x for x in toollist if x[0] in filter_tools] - -toollist = [ToolSurrogate(*t) for t in toollist] - -toollist.append('install') - -def surrogate_spawn(sh, escape, cmd, args, env): - pass - -def surrogate_pspawn(sh, escape, cmd, args, env, stdout, stderr): - pass - -SCons.Defaults.ConstructionEnvironment.update({ - 'PLATFORM' : platform, - 'TOOLS' : toollist, - 'SPAWN' : surrogate_spawn, - 'PSPAWN' : surrogate_pspawn, -}) - -SConscript('SConstruct') -""" - -# "Commands" that we will execute in our examples. -def command_scons(args, c, test, dict): - save_vals = {} - delete_keys = [] - try: - ce = c.environment - except AttributeError: - pass - else: - for arg in c.environment.split(): - key, val = arg.split('=') - try: - save_vals[key] = os.environ[key] - except KeyError: - delete_keys.append(key) - os.environ[key] = val - test.run(interpreter = sys.executable, - program = scons_py, - # We use ToolSurrogates to capture win32 output by "building" - # examples using a fake win32 tool chain. Suppress the - # warnings that come from the new revamped VS support so - # we can build doc on (Linux) systems that don't have - # Visual C installed. - arguments = '--warn=no-visual-c-missing -f - ' + ' '.join(args), - chdir = test.workpath('WORK'), - stdin = Stdin % dict) - os.environ.update(save_vals) - for key in delete_keys: - del(os.environ[key]) - out = test.stdout() - out = out.replace(test.workpath('ROOT'), '') - out = out.replace(test.workpath('WORK/SConstruct'), - '/home/my/project/SConstruct') - lines = out.split('\n') - if lines: - while lines[-1] == '': - lines = lines[:-1] - #err = test.stderr() - #if err: - # sys.stderr.write(err) - return lines - -def command_touch(args, c, test, dict): - if args[0] == '-t': - t = int(time.mktime(time.strptime(args[1], '%Y%m%d%H%M'))) - times = (t, t) - args = args[2:] - else: - time.sleep(1) - times = None - for file in args: - if not os.path.isabs(file): - file = os.path.join(test.workpath('WORK'), file) - if not os.path.exists(file): - open(file, 'wb') - os.utime(file, times) - return [] - -def command_edit(args, c, test, dict): - try: - add_string = c.edit[:] - except AttributeError: - add_string = 'void edit(void) { ; }\n' - if add_string[-1] != '\n': - add_string = add_string + '\n' - for file in args: - if not os.path.isabs(file): - file = os.path.join(test.workpath('WORK'), file) - contents = open(file, 'rb').read() - open(file, 'wb').write(contents + add_string) - return [] - -def command_ls(args, c, test, dict): - def ls(a): - return [' '.join(sorted([x for x in os.listdir(a) if x[0] != '.']))] - if args: - l = [] - for a in args: - l.extend(ls(test.workpath('WORK', a))) - return l - else: - return ls(test.workpath('WORK')) - -def command_sleep(args, c, test, dict): - time.sleep(int(args[0])) - -CommandDict = { - 'scons' : command_scons, - 'touch' : command_touch, - 'edit' : command_edit, - 'ls' : command_ls, - 'sleep' : command_sleep, -} - -def ExecuteCommand(args, c, t, dict): - try: - func = CommandDict[args[0]] - except KeyError: - func = lambda args, c, t, dict: [] - return func(args[1:], c, t, dict) - -class MySGML(sgmllib.SGMLParser): - """A subclass of the standard Python sgmllib SGML parser. - - This extends the standard sgmllib parser to recognize, and do cool - stuff with, the added tags that describe our SCons examples, - commands, and other stuff. - """ - def __init__(self, outfp): - sgmllib.SGMLParser.__init__(self) - self.examples = {} - self.afunclist = [] - self.outfp = outfp - - # The first set of methods here essentially implement pass-through - # handling of most of the stuff in an SGML file. We're really - # only concerned with the tags specific to SCons example processing, - # the methods for which get defined below. - - def handle_data(self, data): - try: - f = self.afunclist[-1] - except IndexError: - self.outfp.write(data) - else: - f(data) - - def handle_comment(self, data): - self.outfp.write('') - - def handle_decl(self, data): - self.outfp.write('') - - def unknown_starttag(self, tag, attrs): - try: - f = self.example.afunc - except AttributeError: - f = self.outfp.write - if not attrs: - f('<' + tag + '>') - else: - f('<' + tag) - for name, value in attrs: - f(' ' + name + '=' + '"' + value + '"') - f('>') - - def unknown_endtag(self, tag): - self.outfp.write('') - - def unknown_entityref(self, ref): - self.outfp.write('&' + ref + ';') - - def unknown_charref(self, ref): - self.outfp.write('&#' + ref + ';') - - # Here is where the heavy lifting begins. The following methods - # handle the begin-end tags of our SCons examples. - - def for_display(self, contents): - contents = contents.replace('__ROOT__', '') - contents = contents.replace('<', '<') - contents = contents.replace('>', '>') - return contents - - def start_scons_example(self, attrs): - t = [t for t in attrs if t[0] == 'name'] - if t: - name = t[0][1] - try: - e = self.examples[name] - except KeyError: - e = self.examples[name] = Example() - else: - e = Example() - for name, value in attrs: - setattr(e, name, value) - self.e = e - self.afunclist.append(e.afunc) - - def end_scons_example(self): - e = self.e - files = [f for f in e.files if f.printme] - if files: - self.outfp.write('') - for f in files: - if f.printme: - i = len(f.data) - 1 - while f.data[i] == ' ': - i = i - 1 - output = self.for_display(f.data[:i+1]) - self.outfp.write(output) - if e.data and e.data[0] == '\n': - e.data = e.data[1:] - self.outfp.write(e.data + '') - delattr(self, 'e') - self.afunclist = self.afunclist[:-1] - - def start_file(self, attrs): - try: - e = self.e - except AttributeError: - self.error(" tag outside of ") - t = [t for t in attrs if t[0] == 'name'] - if not t: - self.error("no name attribute found") - try: - e.prefix - except AttributeError: - e.prefix = e.data - e.data = "" - f = File(t[0][1]) - f.printme = None - for name, value in attrs: - setattr(f, name, value) - e.files.append(f) - self.afunclist.append(f.afunc) - - def end_file(self): - self.e.data = "" - self.afunclist = self.afunclist[:-1] - - def start_directory(self, attrs): - try: - e = self.e - except AttributeError: - self.error(" tag outside of ") - t = [t for t in attrs if t[0] == 'name'] - if not t: - self.error("no name attribute found") - try: - e.prefix - except AttributeError: - e.prefix = e.data - e.data = "" - d = Directory(t[0][1]) - for name, value in attrs: - setattr(d, name, value) - e.dirs.append(d) - self.afunclist.append(d.afunc) - - def end_directory(self): - self.e.data = "" - self.afunclist = self.afunclist[:-1] - - def start_scons_example_file(self, attrs): - t = [t for t in attrs if t[0] == 'example'] - if not t: - self.error("no example attribute found") - exname = t[0][1] - try: - e = self.examples[exname] - except KeyError: - self.error("unknown example name '%s'" % exname) - fattrs = [t for t in attrs if t[0] == 'name'] - if not fattrs: - self.error("no name attribute found") - fname = fattrs[0][1] - f = [f for f in e.files if f.name == fname] - if not f: - self.error("example '%s' does not have a file named '%s'" % (exname, fname)) - self.f = f[0] - - def end_scons_example_file(self): - f = self.f - self.outfp.write('') - self.outfp.write(f.data + '') - delattr(self, 'f') - - def start_scons_output(self, attrs): - t = [t for t in attrs if t[0] == 'example'] - if not t: - self.error("no example attribute found") - exname = t[0][1] - try: - e = self.examples[exname] - except KeyError: - self.error("unknown example name '%s'" % exname) - # Default values for an example. - o = Output() - o.preserve = None - o.os = 'posix' - o.tools = '' - o.e = e - # Locally-set. - for name, value in attrs: - setattr(o, name, value) - self.o = o - self.afunclist.append(o.afunc) - - def end_scons_output(self): - # The real raison d'etre for this script, this is where we - # actually execute SCons to fetch the output. - o = self.o - e = o.e - t = TestCmd.TestCmd(workdir='', combine=1) - if o.preserve: - t.preserve() - t.subdir('ROOT', 'WORK') - t.rootpath = t.workpath('ROOT').replace('\\', '\\\\') - - for d in e.dirs: - dir = t.workpath('WORK', d.name) - if not os.path.exists(dir): - os.makedirs(dir) - - for f in e.files: - i = 0 - while f.data[i] == '\n': - i = i + 1 - lines = f.data[i:].split('\n') - i = 0 - while lines[0][i] == ' ': - i = i + 1 - lines = [l[i:] for l in lines] - path = f.name.replace('__ROOT__', t.rootpath) - if not os.path.isabs(path): - path = t.workpath('WORK', path) - dir, name = os.path.split(path) - if dir and not os.path.exists(dir): - os.makedirs(dir) - content = '\n'.join(lines) - content = content.replace('__ROOT__', t.rootpath) - path = t.workpath('WORK', path) - t.write(path, content) - if hasattr(f, 'chmod'): - os.chmod(path, int(f.chmod, 0)) - - i = len(o.prefix) - while o.prefix[i-1] != '\n': - i = i - 1 - - self.outfp.write('' + o.prefix[:i]) - p = o.prefix[i:] - - # Regular expressions for making the doc output consistent, - # regardless of reported addresses or Python version. - - # Massage addresses in object repr strings to a constant. - address_re = re.compile(r' at 0x[0-9a-fA-F]*\>') - - # Massage file names in stack traces (sometimes reported as absolute - # paths) to a consistent relative path. - engine_re = re.compile(r' File ".*/src/engine/SCons/') - - # Python 2.5 changed the stack trace when the module is read - # from standard input from read "... line 7, in ?" to - # "... line 7, in ". - file_re = re.compile(r'^( *File ".*", line \d+, in) \?$', re.M) - - # Python 2.6 made UserList a new-style class, which changes the - # AttributeError message generated by our NodeList subclass. - nodelist_re = re.compile(r'(AttributeError:) NodeList instance (has no attribute \S+)') - - for c in o.commandlist: - self.outfp.write(p + Prompt[o.os]) - d = c.data.replace('__ROOT__', '') - self.outfp.write('' + d + '\n') - - e = c.data.replace('__ROOT__', t.workpath('ROOT')) - args = e.split() - lines = ExecuteCommand(args, c, t, {'osname':o.os, 'tools':o.tools}) - content = None - if c.output: - content = c.output - elif lines: - content = ( '\n' + p).join(lines) - if content: - content = address_re.sub(r' at 0x700000>', content) - content = engine_re.sub(r' File "bootstrap/src/engine/SCons/', content) - content = file_re.sub(r'\1 ', content) - content = nodelist_re.sub(r"\1 'NodeList' object \2", content) - content = self.for_display(content) - self.outfp.write(p + content + '\n') - - if o.data[0] == '\n': - o.data = o.data[1:] - self.outfp.write(o.data + '') - delattr(self, 'o') - self.afunclist = self.afunclist[:-1] - - def start_scons_output_command(self, attrs): - try: - o = self.o - except AttributeError: - self.error(" tag outside of ") - try: - o.prefix - except AttributeError: - o.prefix = o.data - o.data = "" - c = Command() - for name, value in attrs: - setattr(c, name, value) - o.commandlist.append(c) - self.afunclist.append(c.afunc) - - def end_scons_output_command(self): - self.o.data = "" - self.afunclist = self.afunclist[:-1] - - def start_sconstruct(self, attrs): - f = File('') - self.f = f - self.afunclist.append(f.afunc) - - def end_sconstruct(self): - f = self.f - self.outfp.write('') - output = self.for_display(f.data) - self.outfp.write(output + '') - delattr(self, 'f') - self.afunclist = self.afunclist[:-1] - -def process(filename, fout=sys.stdout): - if filename == '-': - f = sys.stdin - else: - try: - f = open(filename, 'r') - except EnvironmentError, e: - sys.stderr.write('%s: %s\n' % (filename, e)) - return 1 - - data = f.read() - if f is not sys.stdin: - f.close() - - if data.startswith(' - -""" - -xml_postamble = """\ - -""" - -for f in args: - _, ext = os.path.splitext(f) - if ext == '.py': - dir, _ = os.path.split(f) - if dir: - sys.path = [dir] + base_sys_path - module = SConsDoc.importfile(f) - h.set_file_info(f, len(xml_preamble.split('\n'))) - try: - content = module.__scons_doc__ - except AttributeError: - content = None +def parse_docs(args, include_entities=True): + h = SConsDoc.SConsDocHandler() + for f in args: + if include_entities: + try: + h.parseXmlFile(f) + except: + sys.stderr.write("error in %s\n" % f) + raise else: - del module.__scons_doc__ - else: - h.set_file_info(f, len(xml_preamble.split('\n'))) - content = open(f).read() - if content: - content = content.replace('&', '&') - # Strip newlines after comments so they don't turn into - # spurious paragraph separators. - content = content.replace('-->\n', '-->') - input = xml_preamble + content + xml_postamble - try: - saxparser.parse(StringIO(unicode(input))) - except: - sys.stderr.write("error in %s\n" % f) - raise + content = open(f).read() + if content: + try: + h.parseContent(content, include_entities) + except: + sys.stderr.write("error in %s\n" % f) + raise + return h Warning = """\ @@ -149,321 +74,243 @@ THIS IS AN AUTOMATICALLY-GENERATED FILE. DO NOT EDIT. """ % (date, ver, rev)) - builders_gen = os.path.join(build, 'user', 'builders.gen') - builders_mod = os.path.join(build, 'user', 'builders.mod') - functions_gen = os.path.join(build, 'user', 'functions.gen') - functions_mod = os.path.join(build, 'user', 'functions.mod') - tools_gen = os.path.join(build, 'user', 'tools.gen') - tools_mod = os.path.join(build, 'user', 'tools.mod') - variables_gen = os.path.join(build, 'user', 'variables.gen') - variables_mod = os.path.join(build, 'user', 'variables.mod') - - # We put $( - $) around $SOURCES in the command line below because - # the path names will change when a given input file is found in - # a repository one run and locally the next, and we don't want - # to rebuild documentation just because it's found in one location - # vs. the other. The *.gen and *.mod targets will still be dependent - # on the list of the files themselves. - doc_output_files = [builders_gen, builders_mod, - functions_gen, functions_mod, - tools_gen, tools_mod, - variables_gen, variables_mod] - b = env.Command(doc_output_files, - scons_doc_files, - "$PYTHON $SCONS_PROC_PY --xml -b ${TARGETS[0]},${TARGETS[1]} -f ${TARGETS[2]},${TARGETS[3]} -t ${TARGETS[4]},${TARGETS[5]} -v ${TARGETS[6]},${TARGETS[7]} $( $SOURCES $)") - env.Depends(b, "$SCONS_PROC_PY") - - env.Local(b) +# +# Check whether we have all tools installed for +# building the documentation. +# +skip_doc = False +try: + import libxml2 +except: + try: + import lxml + except: + print "doc: Neither libxml2 nor lxml Python bindings found!" + print " Please install one of the packages python-libxml2 or python-lxml." + skip_doc = True + +if not fop and not xep: + print "doc: No PDF renderer found (fop|xep)!" + skip_doc = True + +if skip_doc: + print "doc: ...skipping building User Guide." +else: + # + # Always create a version.xml file containing the version information + # for this run. Ignore it for dependency purposes so we don't + # rebuild all the docs every time just because the date changes. + # + date, ver, rev = env.Dictionary('DATE', 'VERSION', 'REVISION') + version_xml = File(os.path.join(build, "version.xml")) + writeVersionXml(str(version_xml), date, ver, rev) + + if not env.GetOption('clean'): + # + # Ensure that all XML files are valid against our XSD, and + # that all example names and example output suffixes are unique + # + print "Validating files against SCons XSD..." + if SConsDoc.validate_all_xml(['src'], xsdfile='xsd/scons.xsd'): + print "OK" + else: + print "Validation failed! Please correct the errors above and try again." + sys.exit(0) + + print "Checking whether all example names are unique..." + if SConsExamples.exampleNamesAreUnique(os.path.join('doc','user')): + print "OK" + else: + print "Not all example names and suffixes are unique! Please correct the errors listed above and try again." + sys.exit(0) + + # + # Copy generated files (.gen/.mod/.xml) to the build folder + # + env.Execute(Mkdir(os.path.join(build, 'generated'))) + env.Execute(Mkdir(os.path.join(build, 'generated', 'examples'))) + for g in glob.glob(os.path.join('generated', '*.gen')): + env.Execute(Copy(os.path.join(build, 'generated'), g)) + for g in glob.glob(os.path.join('generated', '*.mod')): + env.Execute(Copy(os.path.join(build, 'generated'), g)) + for g in glob.glob(os.path.join('generated', 'examples', '*')): + env.Execute(Copy(os.path.join(build, 'generated', 'examples'), g)) + + # + # Copy XSLT files (.xslt) to the build folder + # + env.Execute(Mkdir(os.path.join(build, 'xslt'))) + for g in glob.glob(os.path.join('xslt','*.*')): + env.Execute(Copy(os.path.join(build, 'xslt'), g)) + + # + # Copy Docbook stylesheets and Tool to the build folder + # + dbtoolpath = ['src', 'engine', 'SCons', 'Tool', 'docbook'] + env.Execute(Mkdir(os.path.join(build_dir, *dbtoolpath))) + env.Execute(Mkdir(os.path.join(build_dir, *(dbtoolpath + ['utils'])))) + env.Execute(Copy(os.path.join(build_dir, *dbtoolpath), + os.path.join('..', *(dbtoolpath + ['__init__.py'])))) + env.Execute(Copy(os.path.join(build_dir, *(dbtoolpath + ['utils'])), + os.path.join('..', *(dbtoolpath + ['utils', 'xmldepend.xsl'])))) + dbpath = dbtoolpath + ['docbook-xsl-1.76.1'] + env.Execute(Mkdir(os.path.join(build_dir, *(dbpath + ['common'])))) + env.Execute(Mkdir(os.path.join(build_dir, *(dbpath + ['lib'])))) + env.Execute(Mkdir(os.path.join(build_dir, *(dbpath + ['html'])))) + env.Execute(Mkdir(os.path.join(build_dir, *(dbpath + ['fo'])))) + env.Execute(Mkdir(os.path.join(build_dir, *(dbpath + ['manpages'])))) + env.Execute(Mkdir(os.path.join(build_dir, *(dbpath + ['epub'])))) + env.Execute(Mkdir(os.path.join(build_dir, *(dbpath + ['xhtml-1_1'])))) + env.Execute(Copy(os.path.join(build_dir, *dbpath), + os.path.join('..', *(dbpath + ['VERSION'])))) + for g in glob.glob(os.path.join('..', *(dbpath + ['common', '*.*']))): + env.Execute(Copy(os.path.join(build_dir, *(dbpath + ['common'])), g)) + for g in glob.glob(os.path.join('..', *(dbpath + ['lib', '*.*']))): + env.Execute(Copy(os.path.join(build_dir, *(dbpath + ['lib'])), g)) + for g in glob.glob(os.path.join('..', *(dbpath + ['html', '*.*']))): + env.Execute(Copy(os.path.join(build_dir, *(dbpath + ['html'])), g)) + for g in glob.glob(os.path.join('..', *(dbpath + ['fo', '*.*']))): + env.Execute(Copy(os.path.join(build_dir, *(dbpath + ['fo'])), g)) + for g in glob.glob(os.path.join('..', *(dbpath + ['manpages', '*.*']))): + env.Execute(Copy(os.path.join(build_dir, *(dbpath + ['manpages'])), g)) + for g in glob.glob(os.path.join('..', *(dbpath + ['epub', '*.xsl']))): + env.Execute(Copy(os.path.join(build_dir, *(dbpath + ['epub'])), g)) + for g in glob.glob(os.path.join('..', *(dbpath + ['xhtml-1_1', '*.*']))): + env.Execute(Copy(os.path.join(build_dir, *(dbpath + ['xhtml-1_1'])), g)) + + # + # Copy additional Tools (gs, zip) + # + toolpath = ['src', 'engine', 'SCons', 'Tool'] + env.Execute(Copy(os.path.join(build_dir, *toolpath), + os.path.join('..', *(toolpath + ['gs.py'])))) + env.Execute(Copy(os.path.join(build_dir, *toolpath), + os.path.join('..', *(toolpath + ['zip.py'])))) + # # Each document will live in its own subdirectory. List them here - # as hash keys, with a hash of the info to control its build. + # by their subfolder names. Note, how the specifiers for each subdir + # have nothing to do with which formats get created...but which + # of the outputs get installed to the build folder and added to + # the different source and binary packages in the end. # - docs = { - 'design' : { - 'htmlindex' : 'book1.html', - 'ps' : 1, - 'pdf' : 1, - 'text' : 0, - }, - # This doesn't build on all systems, and the document is old - # enough that there's reallyno need to build it every time any - # more, so just comment it out for now. - #'python10' : { - # 'htmlindex' : 't1.html', - # 'html' : 1, - # 'ps' : 1, - # 'pdf' : 0, - # 'text' : 0, - # 'graphics' : [ - # 'arch.fig', - # 'builder.fig', - # 'job-task.fig', - # 'node.fig', - # 'scanner.fig', - # 'sig.fig' - # ], - #}, - 'reference' : { - 'htmlindex' : 'book1.html', - 'html' : 1, - 'ps' : 1, - 'pdf' : 1, - 'text' : 0, - }, - # For whenever (if ever?) we start putting developer guide - # information in a printable document instead of the wiki. - #'developer' : { - # 'htmlindex' : 'book1.html', - # 'html' : 1, - # 'ps' : 1, - # 'pdf' : 1, - # 'text' : 0, - #}, - 'user' : { - 'htmlindex' : 'book1.html', - 'html' : 1, - 'ps' : 1, - 'pdf' : 1, - 'text' : 1, - 'graphics' : [ - 'SCons-win32-install-1.jpg', - 'SCons-win32-install-2.jpg', - 'SCons-win32-install-3.jpg', - 'SCons-win32-install-4.jpg', - ], - 'scons-doc' : 1, - }, - } - + docs = {'design' : ['chtml','pdf'], + #'python10' : ['chtml','html','pdf'], + 'reference' : ['chtml','html','pdf'], + #'developer' : ['chtml','html','pdf'], + 'user' : ['chtml','html','pdf','epub'], + 'man' : ['man','epub'] + } + # The names of the target files for the MAN pages + man_page_list = ['scons.1','scons-time.1','sconsign.1'] + # # We have to tell SCons to scan the top-level XML files which # get included by the document XML files in the subdirectories. # manifest = File('MANIFEST').rstr() - src_files = [x[:-1] for x in open(manifest).readlines()] + src_files = bootstrap.parseManifestLines('.', open(manifest).readlines()) for s in src_files: + if not s: + continue base, ext = os.path.splitext(s) if ext in ['.fig', '.jpg']: - orig_env.Install(build, s) + env.Execute(Copy(build, s)) else: - orig_env.SCons_revision(os.path.join(build, s), s) - Local(os.path.join(build, s)) + revaction([env.File(os.path.join(build, s))], + [env.File(s)], env) # - # For each document, build the document itself in HTML, Postscript, + # For each document, build the document itself in HTML, # and PDF formats. # - for doc in docs.keys(): + for doc in docs: + + # + # Read MANIFEST file and copy the listed files to the + # build directory, while branding them with the + # SCons copyright and the current revision number... + # + env.Execute(Mkdir(os.path.join(build, doc))) + env.Execute(Mkdir(os.path.join(build, doc, 'titlepage'))) manifest = File(os.path.join(doc, 'MANIFEST')).rstr() - src_files = [x[:-1] for x in open(manifest).readlines()] - build_doc = docs[doc].get('scons-doc') and int(ARGUMENTS.get('BUILDDOC', 0)) + src_files = bootstrap.parseManifestLines(doc, open(manifest).readlines()) for s in src_files: + if not s: + continue doc_s = os.path.join(doc, s) build_s = os.path.join(build, doc, s) base, ext = os.path.splitext(doc_s) - if ext in ['.fig', '.jpg']: - orig_env.InstallAs(build_s, doc_s) + if ext in ['.fig', '.jpg', '.svg']: + env.Execute(Copy(build_s, doc_s)) else: - if build_doc and ext == '.xml': - env.Command(doc_s, - base + '.in', - "$PYTHON $SCONS_DOC_PY $SOURCE > $TARGET") - orig_env.SCons_revision(build_s, doc_s) - Local(build_s) - - main = os.path.join(build, doc, 'main.xml') - out = 'main.out' - - # Hard-coding the scons-src path is a bit of a hack. This can - # be reworked when a better solution presents itself. - scons_src_main = os.path.join(build_dir, 'scons-src', 'doc', main) - env.Ignore(scons_src_main, version_xml) - + revaction([env.File(build_s)], + [env.File(doc_s)], env) + + # + # Call SCons in each local doc folder directly, such that + # we can Glob for the created *.html files afterwards to + # get the dependencies for the install targets right. + # + cleanopt = '' + if env.GetOption('clean'): + cleanopt = ' -c' + cmd = env.subst("cd %s && $PYTHON ${SCONS_PY.abspath}" % os.path.join(build, doc))+cleanopt + os.system(cmd) + + # Collect the output files for this subfolder htmldir = os.path.join(build, 'HTML', 'scons-%s' % doc) - htmlindex = os.path.join(htmldir, docs[doc]['htmlindex']) + htmlindex = os.path.join(htmldir, 'index.html') html = os.path.join(build, 'HTML', 'scons-%s.html' % doc) - ps = os.path.join(build, 'PS', 'scons-%s.ps' % doc) pdf = os.path.join(build, 'PDF', 'scons-%s.pdf' % doc) - text = os.path.join(build, 'TEXT', 'scons-%s.txt' % doc) - - if docs[doc].get('html') and jade: - def copy_index_html(target, source, env): - # Older versions of DocBook|jw|jade|whatever would - # create a book1.html file, while newer versions create - # an index.html file (logically enough). The scons.org - # web site links expect book1.html, so we're going to - # leave the target as is, and run this post-processing - # action function to check that the target really did - # get created, and if it didn't, copy it from index.html. - t = str(target[0]) - if not os.path.exists(t): - i = os.path.join(os.path.split(t)[0], 'index.html') - open(t, 'w').write(open(i, 'r').read()) - return None - - cmds = [ - Delete("${TARGET.dir}/*.html"), - "jw -b html -o ${TARGET.dir} $SOURCES", - ] - if tidy: - cmds.append("tidy -m -q $TARGET || true") - cmds.append(Action(copy_index_html)) - env.Command(htmlindex, File(main), cmds) + epub = os.path.join(build, 'EPUB', 'scons-%s.epub' % doc) + if 'chtml' in docs[doc]: + env.Install(htmldir, Glob(os.path.join(build, doc,'scons-%s' % doc, '*.html'))) + tar_deps.extend([htmlindex]) + tar_list.extend([htmldir]) Local(htmlindex) + env.Ignore(htmlindex, version_xml) - cmds = [ - Delete("${TARGET.dir}/main.html"), - "jw -u -b html -o ${TARGET.dir} $SOURCES", - Move("$TARGET", "${TARGET.dir}/main.html"), - ] - if tidy: - cmds.append("tidy -m -q $TARGET || true") - env.Command(html, File(main), cmds) + if 'html' in docs[doc]: + env.InstallAs(html, os.path.join(build, doc,'index.html')) + tar_deps.extend([html]) + tar_list.extend([html]) Local(html) - - env.Ignore([html, htmlindex], version_xml) - - tar_deps.extend([html, htmlindex]) - tar_list.extend([html, htmldir]) - - for g in docs[doc].get('graphics', []): - base, ext = os.path.splitext(g) - if ext == '.fig': - jpg = base + '.jpg' - htmldir_jpg = os.path.join(htmldir, jpg) - if fig2dev: - fig = os.path.join(build, doc, g) - env.Command(htmldir_jpg, fig, - "%s -L jpeg -q 100 $SOURCES $TARGET" % fig2dev) - else: - env.InstallAs(htmldir_jpg, jpg) - env.Depends(html, htmldir_jpg) - Local(htmldir_jpg) - else: - src = os.path.join(build, doc, g) - Local(env.Install(htmldir, src)) - - if docs[doc].get('ps') and jadetex and jade_original: - env.Command(ps, main, [ - Delete("${TARGET.dir}/%s" % out), - "jw -b ps -o ${TARGET.dir} -p %s $SOURCES" % jade_original, - "mv ${TARGET.dir}/main.ps $TARGET", - Delete("${TARGET.dir}/%s" % out), - ]) - Local(ps) - - env.Ignore(ps, version_xml) - - tar_deps.append(ps) - tar_list.append(ps) - - for g in docs[doc].get('graphics', []): - base, ext = os.path.splitext(g) - if ext == '.fig': - eps = base + '.eps' - build_eps = os.path.join(build, 'PS', eps) - if fig2dev: - fig = os.path.join(build, doc, g) - env.Command(build_eps, fig, "%s -L eps $SOURCES $TARGET" % fig2dev) - else: - env.InstallAs(build_eps, eps) - env.Depends(ps, build_eps) - Local(build_eps) - else: - src = os.path.join(build, doc, g) - Local(env.Install(htmldir, src)) - - if docs[doc].get('pdf') and pdfjadetex and jade_original: - env.Command(pdf, main, [ - Delete("${TARGET.dir}/%s" % out), - "jw -b pdf -o ${TARGET.dir} -p %s $SOURCES" % jade_original, - "mv ${TARGET.dir}/main.pdf $TARGET", - Delete("${TARGET.dir}/out"), - ]) + env.Ignore(html, version_xml) + + if 'pdf' in docs[doc]: + env.InstallAs(pdf, os.path.join(build, doc,'scons-%s.pdf' % doc)) Local(pdf) - env.Ignore(pdf, version_xml) tar_deps.append(pdf) tar_list.append(pdf) - if docs[doc].get('text') and jade and lynx: - env.Command(text, html, "lynx -dump ${SOURCE.abspath} > $TARGET") - Local(text) - - env.Ignore(text, version_xml) - - tar_deps.append(text) - tar_list.append(text) - -# -# Man page(s), in good ol' troff format. -# -man_page_list = ['scons.1', 'sconsign.1', 'scons-time.1'] + if 'epub' in docs[doc] and gs: + env.InstallAs(epub, os.path.join(build, doc,'scons-%s.epub' % doc)) + Local(epub) + env.Ignore(epub, version_xml) + + tar_deps.append(epub) + tar_list.append(epub) + + if 'man' in docs[doc]: + # + # Man page(s) + # + for m in man_page_list: + man, _1 = os.path.splitext(m) + + pdf = os.path.join(build, 'PDF', '%s-man.pdf' % man) + html = os.path.join(build, 'HTML' , '%s-man.html' % man) + + env.InstallAs(pdf, os.path.join(build, 'man','scons-%s.pdf' % man)) + env.InstallAs(html, os.path.join(build, 'man','scons-%s.html' % man)) + + tar_deps.extend([pdf, html]) + tar_list.extend([pdf, html]) -for m in man_page_list: - x = orig_env.SCons_revision(os.path.join(build, 'man', m), - os.path.join('man', m)) - -man_i_files = ['builders.man', 'functions.man', 'tools.man', 'variables.man'] - -man_intermediate_files = [os.path.join(build, 'man', x) for x in man_i_files] - -cmd = "$PYTHON $SCONS_PROC_PY --man -b ${TARGETS[0]} -f ${TARGETS[1]} -t ${TARGETS[2]} -v ${TARGETS[3]} $( $SOURCES $)" -man_intermediate_files = env.Command(man_intermediate_files, - scons_doc_files, - cmd) -env.Depends(man_intermediate_files, "$SCONS_PROC_PY") -Local(man_intermediate_files) - -for man_1 in man_page_list: - man, _1 = os.path.splitext(man_1) - - man_1 = os.path.join(build, 'man', man_1) - - if groff: - ps = os.path.join(build, 'PS', '%s-man.ps' % man) - text = os.path.join(build, 'TEXT', '%s-man.txt' % man) - - b = env.Command(ps, man_1, "( cd ${SOURCES.dir} && groff -man -Tps ${SOURCES.file} ) > $TARGET") - Local(ps) - env.Depends(b, man_intermediate_files) - - b = env.Command(text, man_1, "( cd ${SOURCES.dir} && groff -man -Tascii ${SOURCES.file} ) > $TARGET") - Local(text) - env.Depends(b, man_intermediate_files) - - tar_deps.extend([ps, text]) - tar_list.extend([ps, text]) - else: - print "doc: WARNING: no groff, skipping text and PostScript versions of man pages" - - if man2html: - html = os.path.join(build, 'HTML' , '%s-man.html' % man) - - def strip_to_first_html_tag(target, source, env): - t = str(target[0]) - contents = open(t).read() - contents = contents[contents.find(''):] - open(t, 'w').write(contents) - return 0 - - cmds = [ - "( cd %s/man && cp %s .. )" % (build, ' '.join(man_i_files)), - "( cd ${SOURCE.dir} && man2html ${SOURCE.file} ) > $TARGET", - Action(strip_to_first_html_tag), - ] - if tidy: - cmds.append("tidy -m -q $TARGET || true") - b = env.Command(html, man_1, cmds) - Local(html) - env.Depends(b, man_intermediate_files) - - tar_deps.append(html) - tar_list.append(html) - else: - print "doc: WARNING: no man2html, skipping HTML versions of man pages" if not epydoc_cli: try: @@ -543,7 +390,7 @@ else: # the SConstruct file. e = os.path.join('#src', 'engine') manifest_in = File(os.path.join(e, 'MANIFEST.in')).rstr() - sources = [x[:-1] for x in open(manifest_in).readlines()] + sources = bootstrap.parseManifestLines(e, open(manifest_in).readlines()) sources = [x for x in sources if x.find('Platform') == -1] sources = [x for x in sources if x.find('Tool') == -1] # XXX diff --git a/doc/design/MANIFEST b/doc/design/MANIFEST index 33ab8f0..0168e11 100644 --- a/doc/design/MANIFEST +++ b/doc/design/MANIFEST @@ -1,8 +1,9 @@ +# We don't use a wildcard for the XML files +# here, because it would pull in the created +# ones as well... acks.xml bground.xml copyright.xml -engine.fig -engine.jpg engine.xml goals.xml install.xml @@ -11,4 +12,14 @@ issues.xml main.xml native.xml overview.xml -scons.mod +summary.xml +engine.fig +engine.jpg +engine.svg +*.xsl +scons.css +SConstruct +titlepage/bricks.jpg +titlepage/mapnik_final_colors.svg +titlepage/SCons_path.svg +titlepage/SConsBuildBricks_path.svg diff --git a/doc/design/SConstruct b/doc/design/SConstruct new file mode 100644 index 0000000..1cafcb1 --- /dev/null +++ b/doc/design/SConstruct @@ -0,0 +1,49 @@ +# +# SConstruct file for building SCons documentation. +# + +# +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +import os + +env = Environment(ENV={'PATH' : os.environ['PATH']}, + tools=['docbook'], + toolpath=['../../src/engine/SCons/Tool'], + DOCBOOK_DEFAULT_XSL_HTML='html.xsl', + DOCBOOK_DEFAULT_XSL_HTMLCHUNKED='chtml.xsl', + DOCBOOK_DEFAULT_XSL_PDF='pdf.xsl') + +has_pdf = False +if (env.WhereIs('fop') or + env.WhereIs('xep')): + has_pdf = True + +# +# Create document +# +env.DocbookXInclude('design_xi.xml', 'main.xml') +env.DocbookXslt('design.xml', 'design_xi.xml', + xsl='../xslt/to_docbook.xslt') +env.DocbookHtmlChunked('index.html','design.xml', base_dir='scons-design/') +if has_pdf: + env.DocbookPdf('scons-design.pdf','design.xml') diff --git a/doc/design/acks.xml b/doc/design/acks.xml index b1a8a58..94a249f 100644 --- a/doc/design/acks.xml +++ b/doc/design/acks.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Acknowledgements + + + + + + + + + + +/appendix toc,title +article/appendix nop +/article toc,title +book toc,title,figure,table,example,equation +/chapter toc,title +part toc,title +/preface toc,title +reference toc,title +/sect1 toc +/sect2 toc +/sect3 toc +/sect4 toc +/sect5 toc +/section toc +set toc,title + + + + diff --git a/doc/design/copyright.xml b/doc/design/copyright.xml index d73906e..df3d544 100644 --- a/doc/design/copyright.xml +++ b/doc/design/copyright.xml @@ -1,6 +1,16 @@ + + + %scons; +]> + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Node.FS + Intercessor.FS + Intercessor.DB + Scanner + Builder + Intercessor + Environment + Node.DB + Dir + File + Table + Record + Field + Node + dependency + * + srcnode + 1 + repnode + 1 + 0..1 + 0..1 + * + * + build() + scan() + 1 + 1 + * + 1 + * + * + + diff --git a/doc/design/engine.xml b/doc/design/engine.xml index afe9877..4f56e61 100644 --- a/doc/design/engine.xml +++ b/doc/design/engine.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Build Engine API + + + + + + + + + +/appendix toc,title +article/appendix nop +/article toc,title +book toc,title,figure,table,example,equation +/chapter toc,title +part toc,title +/preface toc,title +reference toc,title +/sect1 toc +/sect2 toc +/sect3 toc +/sect4 toc +/sect5 toc +/section toc +set toc,title + + + + diff --git a/doc/design/install.xml b/doc/design/install.xml index e670e83..dc27b2c 100644 --- a/doc/design/install.xml +++ b/doc/design/install.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Installation + + + + + + + diff --git a/doc/design/intro.xml b/doc/design/intro.xml index 561baa4..1d042ae 100644 --- a/doc/design/intro.xml +++ b/doc/design/intro.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Introduction + + + diff --git a/doc/design/issues.xml b/doc/design/issues.xml index 1f9a78c..a43b77f 100644 --- a/doc/design/issues.xml +++ b/doc/design/issues.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Other Issues + - %version; - --> - - - - - - %scons; - - - - - - - - - - - ]> - + - SCons Design version &buildversion; - + SCons &buildversion; + Design Steven Knight - Revision &buildrevision; (&builddate;) + Steven Knight 2001 @@ -80,79 +55,34 @@ Steven Knight - - ©right; - + version &buildversion; - - Introduction - &intro; - + - - Goals - &goals; - + - - Overview - &overview; - + - - Build Engine API - &engine; - + - - Native Python Interface - &native; - + - - Other Issues - &issues; - - - - Background - &bground; - - - - Summary - - - &SCons; offers a robust and feature-rich design for an SC-build - tool. With a Build Engine based on the proven design of - the &Cons; utility, it offers increased simplification of the - user interface for unsophisticated users with the addition - of the "do-the-right-thing" env.Make - method, increased flexibility for sophisticated users with the - addition of &Builder; and &Scanner; objects, a mechanism to - allow tool-masters (and users) to share working construction - environments, and embeddability to provide reliable dependency - management in a variety of environments and interfaces. - - - - - - Acknowledgements - &acks; - + + + + + + + diff --git a/doc/design/native.xml b/doc/design/native.xml index c665e0c..83227ab 100644 --- a/doc/design/native.xml +++ b/doc/design/native.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Native Python Interface + + + diff --git a/doc/design/overview.xml b/doc/design/overview.xml index 266c9e8..66ef78d 100644 --- a/doc/design/overview.xml +++ b/doc/design/overview.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Overview + - - @@ -496,3 +504,5 @@ This is where it will go, anyway... + + diff --git a/doc/design/pdf.xsl b/doc/design/pdf.xsl new file mode 100644 index 0000000..c8acf1b --- /dev/null +++ b/doc/design/pdf.xsl @@ -0,0 +1,71 @@ + + + + + + + + + + +0pt + + + + +/appendix toc,title +article/appendix nop +/article toc,title +book toc,title,figure,table,example,equation +/chapter toc,title +part toc,title +/preface toc,title +reference toc,title +/sect1 toc +/sect2 toc +/sect3 toc +/sect4 toc +/sect5 toc +/section toc +set toc,title + + + + bold + + + + + + + + + + + diff --git a/doc/design/scons.css b/doc/design/scons.css new file mode 100644 index 0000000..6941abb --- /dev/null +++ b/doc/design/scons.css @@ -0,0 +1,263 @@ +body { + background: #ffffff; + margin: 10px; + padding: 0; + font-family:palatino, georgia, verdana, arial, sans-serif; + } + + +a { + color: #80572a; + } + +a:hover { + color: #d72816; + text-decoration: none; + } + +tt { + color: #a14447; + } + +pre { + background: #e0e0e0; + } + +#main { + border: 1px solid; + border-color: black; + background-color: white; + background-image: url(../images/sconsback.png); + background-repeat: repeat-y 50% 0; + background-position: right top; + margin: 30px auto; + width: 750px; + } + +#banner { + background-image: url(../images/scons-banner.jpg); + border-bottom: 1px solid; + height: 95px; + } + +#menu { + font-family: sans-serif; + font-size: small; + line-height: 0.9em; + float: right; + width: 220px; + clear: both; + margin-top: 10px; + } + +#menu li { + margin-bottom: 7px; + } + +#menu li li { + margin-bottom: 2px; + } + +#menu li.submenuitems { + margin-bottom: 2px; + } + +#menu a { + text-decoration: none; + } + +#footer { + border-top: 1px solid black; + text-align: center; + font-size: small; + color: #822; + margin-top: 4px; + background: #eee; + } + +ul.hack { + list-style-position:inside; + } + +ul.menuitems { + list-style-type: none; + } + +ul.submenuitems { + list-style-type: none; + font-size: smaller; + margin-left: 0; + padding-left: 16px; + } + +ul.subsubmenuitems { + list-style-type: none; + font-size: smaller; + margin-left: 0; + padding-left: 16px; + } + +ol.upper-roman { + list-style-type: upper-roman; + } + +ol.decimal { + list-style-type: decimal; + } + +#currentpage { + font-weight: bold; + } + +#bodycontent { + margin: 15px; + width: 520px; + font-size: small; + line-height: 1.5em; + } + +#bodycontent li { + margin-bottom: 6px; + list-style-type: square; + } + +#sconsdownloadtable downloadtable { + display: table; + margin-left: 5%; + border-spacing: 12px 3px; + } + +#sconsdownloadtable downloadrow { + display: table-row; + } + +#sconsdownloadtable downloadentry { + display: table-cell; + text-align: center; + vertical-align: bottom; + } + +#sconsdownloadtable downloaddescription { + display: table-cell; + font-weight: bold; + text-align: left; + } + +#sconsdownloadtable downloadversion { + display: table-cell; + font-weight: bold; + text-align: center; + } + +#sconsdocversiontable sconsversiontable { + display: table; + margin-left: 10%; + border-spacing: 12px 3px; + } + +#sconsdocversiontable sconsversionrow { + display: table-row; + } + +#sconsdocversiontable docformat { + display: table-cell; + font-weight: bold; + text-align: center; + vertical-align: bottom; + } + +#sconsdocversiontable sconsversion { + display: table-cell; + font-weight: bold; + text-align: left; + } + +#sconsdocversiontable docversion { + display: table-cell; + font-weight: bold; + text-align: center; + } + +#osrating { + margin-left: 35px; + } + + +h2 { + color: #272; + color: #c01714; + font-family: sans-serif; + font-weight: normal; + } + +h2.pagetitle { + font-size: xx-large; + } +h3 { + margin-bottom: 10px; + } + +.date { + font-size: small; + color: gray; + } + +.link { + margin-bottom: 22px; + } + +.linkname { + } + +.linkdesc { + margin: 10px; + margin-top: 0; + } + +.quote { + margin-top: 20px; + margin-bottom: 10px; + background: #f8f8f8; + border: 1px solid; + border-color: #ddd; + } + +.quotetitle { + font-weight: bold; + font-size: large; + margin: 10px; + } + +.quotedesc { + margin-left: 20px; + margin-right: 10px; + margin-bottom: 15px; + } + +.quotetext { + margin-top: 20px; + margin-left: 20px; + margin-right: 10px; + font-style: italic; + } + +.quoteauthor { + font-size: small; + text-align: right; + margin-top: 10px; + margin-right: 7px; + } + +.sconslogo { + font-style: normal; + font-weight: bold; + color: #822; + } + +.downloadlink { + } + +.downloaddescription { + margin-left: 1em; + margin-bottom: 0.4em; + } diff --git a/doc/design/scons.mod b/doc/design/scons.mod deleted file mode 100644 index 807f3cb..0000000 --- a/doc/design/scons.mod +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - -Aegis"> -Ant"> -Autoconf"> -Automake"> -cc"> -Cons"> -cp"> -csh"> -gcc"> -Jam"> -jar"> -javac"> -javah"> -Make"> -Make++"> -Python"> -ranlib"> -rmic"> -SCons"> -scons"> -ScCons"> -tar"> -touch"> -zip"> - - - - -Action"> -ActionBase"> -CommandAction"> -FunctionAction"> -ListAction"> -Builder"> -BuilderBase"> -CompositeBuilder"> -MultiStepBuilder"> -Job"> -Jobs"> -Serial"> -Parallel"> -Node"> -Node.FS"> -Scanner"> -Sig"> -Signature"> -Taskmaster"> -TimeStamp"> -Walker"> -Wrapper"> - - - - - ---debug=explain"> ---implicit-cache"> ---implicit-deps-changed"> ---implicit-deps-unchanged"> --Q"> - - - -implicit_cache"> -implicit_deps_changed"> -implicit_deps_unchanged"> - - - - - -build"> -Makefile"> -Makefiles"> -SConscript"> -SConstruct"> -Sconstruct"> -sconstruct"> -.sconsign"> -src"> - - - - - -Add"> -AddOptions"> -Alias"> -Aliases"> -Append"> -BoolOption"> -Build"> -CacheDir"> -Clean"> -Clone"> -Command"> -Configure"> -Copy"> -Default"> -DefaultRules"> -Depends"> -Dir"> -Entry"> -EnumOption"> -Environment"> -Export"> -File"> -Finish"> -GenerateHelpText"> -Help"> -Ignore"> -Import"> -Install"> -InstallAs"> -Link"> -ListOption"> -Local"> -Module"> -NoClean"> -Objects"> -Options"> -PackageOption"> -PathOption"> -Precious"> -Prepend"> -Replace"> -Repository"> -Return"> -RuleSet"> -Salt"> -SetBuildSignatureType"> -SetContentSignatureType"> -SourceSignature"> -SourceSignatures"> -Split"> -TargetSignatures"> -Task"> - - -subst"> - - -Message"> -Result"> -CheckCHeader"> -CheckCXXHeader"> -CheckFunc"> -CheckHeader"> -CheckLib"> -CheckLibWithHeader"> -CheckType"> -TryAction"> -TryBuild"> -TryCompile"> -TryLink"> -TryRun"> - - -str"> -zipfile"> - - -Cache"> - - - - - -ARGUMENTS"> -BUILD_TARGETS"> -COMMAND_LINE_TARGETS"> -DEFAULT_TARGETS"> - - - - - -BUILDERMAP"> -BUILDERS"> -CC"> -CCFLAGS"> -CCCOM"> -COLOR"> -COLORS"> -CONFIG"> -CPPDEFINES"> -ENV"> -JAVACLASSDIR"> -LIBDIRPREFIX"> -LIBDIRSUFFIX"> -LIBLINKPREFIX"> -LIBLINKSUFFIX"> -LIBPATH"> -LIBS"> -LINK"> -LINKCOM"> -LINKFLAGS"> -RELEASE"> -RELEASE_BUILD"> -SCANNERMAP"> -SCANNERS"> -TARFLAGS"> -TARSUFFIX"> - - - - - -PATH"> -PYTHONPATH"> -SCONSFLAGS"> - - - - - -allowed_values"> -build_dir"> -map"> -ignorecase"> -options"> -exports"> -source"> -target"> - - - - - -all"> -none"> - - - - - -BuildDir"> -CFile"> -CXXFile"> -DVI"> -Jar"> -Java"> -JavaH"> -Library"> -Object"> -PCH"> -PDF"> -PostScript"> -Program"> -RES"> -RMIC"> -SharedLibrary"> -SharedObject"> -StaticLibrary"> -StaticObject"> -Tar"> -Zip"> - - -Make"> - - - - - -builder function"> -builder method"> - -Configure Contexts"> -configure context"> - -Construction Environment"> -Construction Environments"> -Construction environment"> -Construction environments"> -construction environment"> -construction environments"> - -Construction Variable"> -Construction Variables"> -Construction variable"> -Construction variables"> -construction variable"> -construction variables"> - -CPPPATH"> - -Dictionary"> - -Emitter"> -emitter"> -Generator"> -generator"> - -Nodes"> - -signature"> -build signature"> - -true"> -false"> - -typedef"> - - - -bar"> -common1.c"> -common2.c"> -custom.py"> -goodbye"> -goodbye.o"> -goodbye.obj"> -file.dll"> -file.in"> -file.lib"> -file.o"> -file.obj"> -file.out"> -foo"> -foo.o"> -foo.obj"> -hello"> -hello.c"> -hello.exe"> -hello.h"> -hello.o"> -hello.obj"> -libfile_a"> -libfile_so"> -new_hello"> -new_hello.exe"> -prog"> -prog1"> -prog2"> -prog.c"> -prog.exe"> -stdio.h"> - - - -+"> -#"> - - - -announce@scons.tigris.org"> -dev@scons.tigris.org"> -users@scons.tigris.org"> diff --git a/doc/design/scons_title.xsl b/doc/design/scons_title.xsl new file mode 100644 index 0000000..52ca405 --- /dev/null +++ b/doc/design/scons_title.xsl @@ -0,0 +1,6352 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 200mm + 205.9mm + + + + + 190mm + 195.9mm + + + + + 180mm + 185.9mm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + scons-titlepage-first + + + + + + + + + + + + + + + + + + + + + scons-titlepage-odd + + + + + + + + + + + + + + + + + + + + + scons-titlepage-even + + + + + + + + + + + + + + + + + + + + + + scons-chapter-first + + + + + + + + + + + + + + + + + + + + + scons-chapter-odd + + + + + + + + + + + + + + + + + + + + + scons-chapter-even + + + + + + + + + + + + + + + + + + + + + + + + scons-titlepage-first-draft + + + + + + + + + + fixed + no-repeat + center + center + + + + + + + + + + + + + + + + + + + scons-titlepage-odd-draft + + + + + + + + + + fixed + no-repeat + center + center + + + + + + + + + + + + + + + + + + + scons-titlepage-even-draft + + + + + + + + + + fixed + no-repeat + center + center + + + + + + + + + + + + + + + + + + + + scons-chapter-first-draft + + + + + + + + + + fixed + no-repeat + center + center + + + + + + + + + + + + + + + + + + + scons-chapter-odd-draft + + + + + + + + + + fixed + no-repeat + center + center + + + + + + + + + + + + + + + + + + + scons-chapter-even-draft + + + + + + + + + + fixed + no-repeat + center + center + + + + + + + + + + + + + + + + scons-titlepage-even + scons-titlepage-odd + + + + + + + + + + + + + + + + + + body-even-draft + body-odd-draft + + + + + + + + + + + + + + + + scons-chapter-even + scons-chapter-odd + + + + + + + + + + + + + + + + scons-chapter-even-draft + scons-chapter-odd-draft + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + #C51410 + always + center + after + 0pt + 0pt + + + + + + + 24pt + #C51410 + bold + always + left + after + 0pt + 0pt + 0.7em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + 5 + 4 + 3 + 2 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0pt + + + + + + 1 + 1 + 3 + + + + + + 3 + 3 + 1 + + + + + + + + + + + + + + proportional-column-width( + + header + + + ) + + + + + proportional-column-width( + + header + + + ) + + + + + proportional-column-width( + + header + + + ) + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0pt + + + + + + 1 + 1 + 3 + + + + + + 3 + 3 + 1 + + + + + + + + + + + + + proportional-column-width( + + footer + + + ) + + + + + proportional-column-width( + + footer + + + ) + + + + + proportional-column-width( + + footer + + + ) + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.5pt + solid + #C51410 + + + + + + + + + + + 0.5pt + solid + #C51410 + + + +1 0 1 +1 0 1 + + + + + diff --git a/doc/design/summary.xml b/doc/design/summary.xml new file mode 100644 index 0000000..8b68654 --- /dev/null +++ b/doc/design/summary.xml @@ -0,0 +1,53 @@ + + + %scons; +]> + + +Summary + + + + + + &SCons; offers a robust and feature-rich design for an SC-build + tool. With a Build Engine based on the proven design of + the &Cons; utility, it offers increased simplification of the + user interface for unsophisticated users with the addition + of the "do-the-right-thing" env.Make + method, increased flexibility for sophisticated users with the + addition of &Builder; and &Scanner; objects, a mechanism to + allow tool-masters (and users) to share working construction + environments, and embeddability to provide reliable dependency + management in a variety of environments and interfaces. + + + + diff --git a/doc/design/titlepage/SConsBuildBricks_path.svg b/doc/design/titlepage/SConsBuildBricks_path.svg new file mode 100644 index 0000000..ed0c60d --- /dev/null +++ b/doc/design/titlepage/SConsBuildBricks_path.svg @@ -0,0 +1,320 @@ + + + + + + + + + + image/svg+xml + + + 2008-05-18 + + + Hartmut Goebel + + + + + Hartmut Goebel <h.goebel@goebel-consult.de> + + + en + + + SCons + software build tool + software construction tool + + + + + + Based on the pixeled SCons logo (author unknown). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/design/titlepage/SCons_path.svg b/doc/design/titlepage/SCons_path.svg new file mode 100644 index 0000000..ef580ee --- /dev/null +++ b/doc/design/titlepage/SCons_path.svg @@ -0,0 +1,196 @@ + + + + + SCons - Build your software, better (SCons Logo) + + + + + + image/svg+xml + + SCons - Build your software, better (SCons Logo) + 2011-05-19 + + + Dirk Baechle + + + + + Dirk Baechle <dl9obn@darc.de> + + + en + + + SCons + software build tool + software construction tool + + + + + + Based on the SCons (Constructs using) logo by Hartmut Goebel <h.goebel@goebel-consult.de>. + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/design/titlepage/bricks.jpg b/doc/design/titlepage/bricks.jpg new file mode 100755 index 0000000..b2dc16b Binary files /dev/null and b/doc/design/titlepage/bricks.jpg differ diff --git a/doc/design/titlepage/mapnik_final_colors.svg b/doc/design/titlepage/mapnik_final_colors.svg new file mode 100644 index 0000000..23bb54a --- /dev/null +++ b/doc/design/titlepage/mapnik_final_colors.svg @@ -0,0 +1,6397 @@ + + + SCons, Book titlepage background + + + + image/svg+xml + + + SCons, Book titlepage background + 2013-04-15 + + + Dirk Baechle + + + + + Dirk Baechle <dl9obn@darc.de> + + + en + + + SCons + software build tool + software construction tool + + + + + Based on a SCons dependency tree of the Mapnik project (www.mapnik.org) + + + + + + + + + + + + + + + + + + + + + + + ./src/agg_renderer.os + + + + + + + ./agg/src + + + + + + + ./src/graphics.os + + + + + + + ./src/font_set.os + + + + + + + ./agg/src/agg_vcgen_markers_term.o + + + + + + + ./src/params.os + + + + + + + ./agg/src/agg_image_filters.o + + + + + + + ./bindings/python/mapnik_symbolizer.os + + + + + + + ./src/memory.os + + + + + + + ./bindings/python/mapnik_font_engine.os + + + + + + + ./plugins/input/shape/dbffile.os + + + + + + + ./agg/src/agg_line_aa_basics.o + + + + + + + ./src/save_map.os + + + + + + + ./bindings/python/mapnik_view_transform.os + + + + + + + ./src/color.os + + + + + + + ./agg/libagg.a + + + + + + + ./src/font_engine_freetype.os + + + + + + + ./src/stroke.os + + + + + + + ./bindings/python/mapnik_image.os + + + + + + + ./src/image_util.os + + + + + + + ./bindings/python/mapnik_datasource_cache.os + + + + + + + ./agg/include + + + + + + + ./bindings/python/mapnik_rule.os + + + + + + + ./agg/src/agg_bezier_arc.o + + + + + + + ./bindings/python/mapnik_featureset.os + + + + + + + ./agg/src/agg_arc.o + + + + + + + ./plugins/input/shape/shapefile.os + + + + + + + ./plugins/input/raster/raster_datasource.os + + + + + + + ./plugins/input/raster/raster_featureset.os + + + + + + + ./src/unicode.os + + + + + + + ./bindings/python/mapnik/ogcserver + + + + + + + ./bindings/python/mapnik_map.os + + + + + + + ./src/arrow.os + + + + + + + ./plugins + + + + + + + ./plugins/input/raster/raster.input + + + + + + + ./agg/src/agg_vcgen_contour.o + + + + + + + ./agg/src/agg_trans_warp_magnifier.o + + + + + + + ./bindings/python/mapnik_datasource.os + + + + + + + ./plugins/input/shape/shape_featureset.os + + + + + + + ./src/load_map.os + + + + + + + ./bindings/python/mapnik_point_symbolizer.os + + + + + + + ./src/line_pattern_symbolizer.os + + + + + + + ./bindings/python/mapnik + + + + + + + ./plugins/input/raster + + + + + + + ./src/map.os + + + + + + + ./src/wkb.os + + + + + + + ./agg/src/agg_vcgen_stroke.o + + + + + + + ./agg/src/agg_gsv_text.o + + + + + + + ./plugins/input/shape/shape.os + + + + + + + ./bindings + + + + + + + ./src + + + + + + + ./bindings/python/mapnik_filter.os + + + + + + + ./agg/src/agg_vcgen_bspline.o + + + + + + + ./bindings/python/mapnik_coord.os + + + + + + + ./src/envelope.os + + + + + + + ./agg/src/agg_vpgen_segmentator.o + + + + + + + ./bindings/python/mapnik_layer.os + + + + + + + ./bindings/python/mapnik_line_symbolizer.os + + + + + + + ./src/shield_symbolizer.os + + + + + + + ./agg/src/agg_trans_double_path.o + + + + + + + ./src/projection.os + + + + + + + ./src/tiff_reader.os + + + + + + + ./bindings/python/mapnik_proj_transform.os + + + + + + + ./bindings/python/mapnik_style.os + + + + + + + ./bindings/python/mapnik_shield_symbolizer.os + + + + + + + ./src/image_reader.os + + + + + + + ./agg/src/agg_bspline.o + + + + + + + ./agg/src/agg_trans_single_path.o + + + + + + + ./plugins/input/raster/raster_info.os + + + + + + + ./agg/src/agg_vcgen_dash.o + + + + + + + ./bindings/python/mapnik_projection.os + + + + + + + ./bindings/python/mapnik_image_view.os + + + + + + + ./src/distance.os + + + + + + + ./src/datasource_cache.os + + + + + + + ./bindings/python/mapnik_parameters.os + + + + + + + ./src/plugin.os + + + + + + + ./agg/src/agg_arrowhead.o + + + + + + + ./bindings/python/mapnik_feature.os + + + + + + + ./agg/src/agg_embedded_raster_fonts.o + + + + + + + ./src/libmapnik.so + + + + + + + ./src/placement_finder.os + + + + + + + ./agg/src/agg_sqrt_tables.o + + + + + + + ./agg/src/agg_vpgen_clip_polyline.o + + + + + + + ./bindings/python/mapnik_raster_symbolizer.os + + + + + + + ./agg/src/agg_line_profile_aa.o + + + + + + + ./bindings/python/mapnik_line_pattern_symbolizer.os + + + + + + + ./bindings/python/mapnik_color.os + + + + + + + ./src/proj_transform.os + + + + + + + ./src/memory_datasource.os + + + + + + + ./plugins/input + + + + + + + ./bindings/python/mapnik_python.os + + + + + + + ./src/png_reader.os + + + + + + + ./bindings/python/mapnik_envelope.os + + + + + + + ./bindings/python/mapnik_stroke.os + + + + + + + ./plugins/input/shape/shape.input + + + + + + + ./bindings/python/mapnik_query.os + + + + + + + ./src/point_symbolizer.os + + + + + + + ./src/filter_factory.os + + + + + + + ./bindings/python/mapnik_polygon_symbolizer.os + + + + + + + ./agg/src/agg_vcgen_smooth_poly1.o + + + + + + + ./plugins/input/shape/shape_index_featureset.os + + + + + + + ./bindings/python/python_cairo.os + + + + + + + ./src/symbolizer.os + + + + + + + ./bindings/python/_mapnik.so + + + + + + + ./agg/src/agg_trans_affine.o + + + + + + + ./src/polygon_pattern_symbolizer.os + + + + + + + ./bindings/python/mapnik_polygon_pattern_symbolizer.os + + + + + + + ./agg/src/agg_curves.o + + + + + + + ./src/text_symbolizer.os + + + + + + + ./src/scale_denominator.os + + + + + + + ./plugins/input/shape/shape_io.os + + + + + + + ./src/layer.os + + + + + + + ./agg + + + + + + + ./src/libxml2_loader.os + + + + + + + ./agg/src/agg_vpgen_clip_polygon.o + + + + + + + ./plugins/input/shape + + + + + + + ./bindings/python/mapnik_geometry.os + + + + + + + ./bindings/python/mapnik_text_symbolizer.os + + + + + + + ./agg/src/agg_rounded_rect.o + + + + + + + ./bindings/python + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/developer/SConstruct b/doc/developer/SConstruct new file mode 100644 index 0000000..1606a66 --- /dev/null +++ b/doc/developer/SConstruct @@ -0,0 +1,46 @@ +# +# SConstruct file for building SCons documentation. +# + +# +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +import os + +env = Environment(ENV={'PATH' : os.environ['PATH']}, + tools=['docbook'], + toolpath=['../../src/engine/SCons/Tool']) + +has_pdf = False +if (env.WhereIs('fop') or + env.WhereIs('xep')): + has_pdf = True + +# +# Create document +# +env.DocbookXInclude('developer_xi.xml', 'main.xml') +env.DocbookXslt('developer.xml', 'developer_xi.xml', + xsl='../xslt/to_docbook.xslt') +env.DocbookHtml('developer.html','developer.xml') +if has_pdf: + env.DocbookPdf('developer.pdf','developer.xml') diff --git a/doc/developer/architecture.xml b/doc/developer/architecture.xml index 865c50f..229147c 100644 --- a/doc/developer/architecture.xml +++ b/doc/developer/architecture.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Architecture + - %version; @@ -35,18 +33,11 @@ %scons; - - - - - - - - - ]> - + SCons Developer's Guide &buildversion; @@ -64,47 +55,24 @@ Steven Knight - - ©right; - + version &buildversion; - - Preface - &preface; - - - - Development Cycle - &cycle; - - - - Source Tree - &sourcetree; - - - - Testing - &testing; - - - - Branches - &branches; - - - - Packaging - &packaging; - - - - Architecture - &architecture; - + + + + + + + + + + + + + diff --git a/doc/developer/packaging.xml b/doc/developer/packaging.xml index c246b55..681082d 100644 --- a/doc/developer/packaging.xml +++ b/doc/developer/packaging.xml @@ -1,6 +1,18 @@ + + + %scons; +]> + + +Packaging + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + copyright + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/blocks.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/blocks.xsl new file mode 100644 index 0000000..5c23e1b --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/blocks.xsl @@ -0,0 +1,781 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + —  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + : + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + Summary + + + + + + + + + + + Builder ' + + ' + + + + + + + + + + + CVar ' + + ' + + + + + + + + + + + Function ' + + ' + + + + + + + + + + + Tool ' + + ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + —  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + End of range + + + + + + + + + + + + + + + + + + + + + + + + + + + + See also: + + + See: + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/common-table.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/common-table.xsl new file mode 100644 index 0000000..4bf89ca --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/common-table.xsl @@ -0,0 +1,444 @@ + + + + + + + + + + + + 0: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0: + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/common.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/common.xsl new file mode 100644 index 0000000..0683f5e --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/common.xsl @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + component + division + 0 + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + , + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + , + + , + + + + - + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bullet + + + o + © + + + ® + (SM) + " + " + ' + ' + -- + - + o + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [FAMILY Given] + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[ +] +{ +} + + +[ +] +... + + + | +4pi + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/compounds.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/compounds.xsl new file mode 100644 index 0000000..430cec0 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/compounds.xsl @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/divisions.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/divisions.xsl new file mode 100644 index 0000000..f740eb6 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/divisions.xsl @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/docbook.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/docbook.xsl new file mode 100644 index 0000000..fd2c4b8 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/docbook.xsl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/formal.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/formal.xsl new file mode 100644 index 0000000..0f292cf --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/formal.xsl @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + always + + + always + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/gentext.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/gentext.xsl new file mode 100644 index 0000000..e7de5f5 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/gentext.xsl @@ -0,0 +1,500 @@ + + + + + + + + + + + + / + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .formal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Xref is only supported to listitems in an + orderedlist: + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + Attempt to use %d in gentext with no referrer! + + + + + + + % + + + % + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/glossary.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/glossary.xsl new file mode 100644 index 0000000..8a116d6 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/glossary.xsl @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + , + + + + + + + + , + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + , + + + + + + + , + + + + + + + , + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + , + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/graphics.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/graphics.xsl new file mode 100644 index 0000000..43088f7 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/graphics.xsl @@ -0,0 +1,269 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + + 1 + 0 + + + + + + 0 + 1.0 + + + + 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + auto + + + + auto + + + + + + auto + + + + auto + + + + + + auto + + + + + + % + + scale-to-fit + auto + + + + + + auto + + + + + + % + + auto + + + + + + + + + + + + + before + center + after + auto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/inlines.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/inlines.xsl new file mode 100644 index 0000000..7a31774 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/inlines.xsl @@ -0,0 +1,939 @@ + + + + + + 0pt + 0pt + + + + 0pt + 0pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + < + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + element + + + + + + + + + + + + + + + </ + + > + + + + + & + + ; + + + + + &# + + ; + + + + + % + + ; + + + + + <? + + > + + + + + <? + + ?> + + + + + < + + > + + + + + < + + /> + + + + + <!-- + + --> + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + [ + + ] + + + + + + + + + + + [ + + ] + + + + + + + + + + + + [] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + © + + + + + +   + + + + + + + + + + + + + + + + + + + " + + " + (anchor: + + + + + + no ID + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + : + + + + + ] + + + + + + + + + + + + + + [ + + + + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + - + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n.xsl new file mode 100644 index 0000000..befb4d9 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n.xsl @@ -0,0 +1,438 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + l10n.language: No localization exists for " + + " or " + + ". Using default " + + ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gentext: No " + + " localization of " + + " exists + + + . + + + ; using "en". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bullet + + + + + + + + + + + + + + + gentext.dingbat: No " + + " localization of dingbat + + exists; using "en". + + + + + + + + + + + startquote + + + + + + + endquote + + + + + + + nestedstartquote + + + + + + + nestedendquote + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gentext.template: No " + + " localization exists. + + + + + + + + gentext.template: No context named " + + " exists in the " + + " localization. + + + + + + + + + + + + + + + + + + + + + + + + + gentext.template: No template for " + + " (or any of its leaves) exists +in the context named " + + " in the " + + " localization. + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + 0 + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/af.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/af.xml new file mode 100644 index 0000000..028c812 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/af.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/bg.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/bg.xml new file mode 100644 index 0000000..68e69c5 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/bg.xml @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ca.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ca.xml new file mode 100644 index 0000000..54779cb --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ca.xml @@ -0,0 +1,457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/cs.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/cs.xml new file mode 100644 index 0000000..dbff9e4 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/cs.xml @@ -0,0 +1,455 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/da.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/da.xml new file mode 100644 index 0000000..072eb09 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/da.xml @@ -0,0 +1,457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/de.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/de.xml new file mode 100644 index 0000000..a9d279a --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/de.xml @@ -0,0 +1,457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/el.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/el.xml new file mode 100644 index 0000000..7401c22 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/el.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/en.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/en.xml new file mode 100644 index 0000000..f46201d --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/en.xml @@ -0,0 +1,481 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/es.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/es.xml new file mode 100644 index 0000000..f6ef734 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/es.xml @@ -0,0 +1,459 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/et.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/et.xml new file mode 100644 index 0000000..f2ead71 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/et.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/eu.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/eu.xml new file mode 100644 index 0000000..7bb2ba5 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/eu.xml @@ -0,0 +1,455 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fi.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fi.xml new file mode 100644 index 0000000..5582987 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fi.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fr.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fr.xml new file mode 100644 index 0000000..8d74773 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/fr.xml @@ -0,0 +1,458 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/he.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/he.xml new file mode 100644 index 0000000..68f47ad --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/he.xml @@ -0,0 +1,455 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/hu.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/hu.xml new file mode 100644 index 0000000..01eb18e --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/hu.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/id.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/id.xml new file mode 100644 index 0000000..1620995 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/id.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/it.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/it.xml new file mode 100644 index 0000000..b79adea --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/it.xml @@ -0,0 +1,455 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ja.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ja.xml new file mode 100644 index 0000000..ad95901 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ja.xml @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ko.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ko.xml new file mode 100644 index 0000000..e4a1c29 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ko.xml @@ -0,0 +1,452 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.dtd b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.dtd new file mode 100644 index 0000000..b6fd0c1 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.dtd @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.xml new file mode 100644 index 0000000..d74e0b6 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/l10n.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + +⁡ +&bg; +&ca; +&cs; +&da; +&de; +⪙ +&en; +&es; +&et; +&eu; +&fi; +&fr; +&he; +&hu; +&id; +⁢ +&ja; +&ko; +&lit; +&nl; +&nn; +&no; +&pl; +&pt; +&pt_br; +&ro; +&ru; +&sk; +&sl; +&sr; +&sv; +&th; +&tr; +&uk; +&vi; +&xh; +&zh_cn; +&zh_tw; + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/lt.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/lt.xml new file mode 100644 index 0000000..5b4891d --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/lt.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nl.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nl.xml new file mode 100644 index 0000000..fe67e8d --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nl.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nn.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nn.xml new file mode 100644 index 0000000..de5cf9f --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/nn.xml @@ -0,0 +1,460 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/no.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/no.xml new file mode 100644 index 0000000..cd7ed43 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/no.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pl.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pl.xml new file mode 100644 index 0000000..df8f879 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pl.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt.xml new file mode 100644 index 0000000..7a1c7e1 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt.xml @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt_br.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt_br.xml new file mode 100644 index 0000000..6b927c3 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/pt_br.xml @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ro.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ro.xml new file mode 100644 index 0000000..1fac0ed --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ro.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ru.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ru.xml new file mode 100644 index 0000000..b7d26fc --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/ru.xml @@ -0,0 +1,484 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sk.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sk.xml new file mode 100644 index 0000000..3bccd32 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sk.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sl.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sl.xml new file mode 100644 index 0000000..c4bf197 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sl.xml @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sr.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sr.xml new file mode 100644 index 0000000..86f92bd --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sr.xml @@ -0,0 +1,450 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sv.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sv.xml new file mode 100644 index 0000000..93a03c5 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/sv.xml @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/th.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/th.xml new file mode 100644 index 0000000..8a78174 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/th.xml @@ -0,0 +1,463 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/tr.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/tr.xml new file mode 100644 index 0000000..5fb397f --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/tr.xml @@ -0,0 +1,458 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/uk.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/uk.xml new file mode 100644 index 0000000..6acb421 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/uk.xml @@ -0,0 +1,484 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/vi.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/vi.xml new file mode 100644 index 0000000..8607488 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/vi.xml @@ -0,0 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/xh.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/xh.xml new file mode 100644 index 0000000..e296b5d --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/xh.xml @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_cn.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_cn.xml new file mode 100644 index 0000000..6754a62 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_cn.xml @@ -0,0 +1,447 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_tw.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_tw.xml new file mode 100644 index 0000000..13a24af --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/l10n/zh_tw.xml @@ -0,0 +1,448 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/lists.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/lists.xsl new file mode 100644 index 0000000..c1fd19c --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/lists.xsl @@ -0,0 +1,803 @@ + + + + + 1.5em + + 10em + + + + + + + + circle + square + disc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + loweralpha + lowerroman + upperalpha + upperroman + arabic + arabic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unexpected: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em + + + + + + + + + + em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unexpected context in procedure.step.numeration: + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/parameters.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/parameters.xsl new file mode 100644 index 0000000..f558ee2 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/parameters.xsl @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pt + + + + pt + + + pt + + + pt + + + pt + + + + + + + + + + + + + + + bold + center + + + + + + + + + + + + pt + + + + + solid + 1pt + 1pt + 1pt + 1pt + #000000 + #000000 + #000000 + #000000 + #e0e0e0 + + + pt + + + + + + + + + + + + pt + + + pt + + + + + + pt + + + pt + + + + + + + + bold + + + pt + + + + + + + + + + + + pt + + + pt + + + + + + pt + + + + + + + 0.2em + + + + + + pt + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + + + + + + + + + + + + + + + + + + + + + pt + + bold + false + always + 0.5em + + + + kr + + + + + solid + 1pt + black + #e0e0e0 + 12pt + 12pt + 6pt + + + + 0.5em + + + + 0.5in + 0.5in + + + + 1em + 0.5in + + + + 1em + + + 1em + + + + + + pt + + bold + + + + 1em + 1em + + + + + + + start + + + + #E0E0E0 + + + + + + + + + + + + + + pt + + + pt + + + + + 1em + + + + + 1em + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + #E0E0E0 + + + + + + + + + pt + + + + + + + . + + + + 0.5em + + + + 0.3em + + + + 0.3em + + + + 0.5em + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/qandaset.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/qandaset.xsl new file mode 100644 index 0000000..46de980 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/qandaset.xsl @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/refentry.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/refentry.xsl new file mode 100644 index 0000000..178709c --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/refentry.xsl @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + em-dash + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/serna-table.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/serna-table.xsl new file mode 100644 index 0000000..ba08994 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/serna-table.xsl @@ -0,0 +1,641 @@ + + + + + + + + + + + + before + + + + + + + + + all + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + + + . + + + + + + : + + + . ( + + + + + ) + + + + + + + + 0pt + none + 0pt + 0pt + 0pt + 0pt + 0pt + 0pt + + + 0pt + none + 0pt + 0pt + 0pt + 0pt + 0pt + 0pt + + + fixed + + + + + + + + + + + + + + + + + + + + + + + + + + + all + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + none + none + + + + + + + + + + + + + + + + + + none + none + + + + + + + + + + + + + + + none + none + + + + none + + + + + + + + + none + none + + + + + + + + + + + + + + + + + + + + + none + none + none + none + + + none + none + none + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 100% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + center + after + + center + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + +   + + + + + + + fixed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1* + + + proportional-column-width( + + ) + + + + + + + + + + + + + + + + + + + + + pc + pt + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/synopsis.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/synopsis.xsl new file mode 100644 index 0000000..c6ae2cb --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/synopsis.xsl @@ -0,0 +1,998 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + +   + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (void); + + + (); + + + + + + + (...); + + + + + + + + + + ( + + + + + + + + + + + , + + + ); + + + + + + + + + + + + + + + + + + + , + + + + + + + + ; + + + + + + + + ( + + ) + + + + + + +java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized language on + + : + + + + + + + + + + + + + &RE; + + + + + + + + + + + extends + + + &RE;     + + + + implements + + + &RE;     + + + + throws + + +  {&RE; + + } + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + + + , + + + + + + + + + + + + , + + + + + + + + + + + + , + + + + + + + + + +    + + ; + + + + + + + +   + + + + + + + + + + + void  + + + + + + + + + + 0 + + ,&RE; + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + ) + + &RE;    throws  + + + ; + + + + + + + + + + + : + + + &RE;     + + + + implements + + + &RE;     + + + + throws + + + +  {&RE; + + } + + + + + + + + + + + + + , + + + + + + + + + + + +   + + + + + + + + + , + + + + + + + + + , + + + + + + + , + + + + + + +    + + ; + + + + + + + + + +   + + + + + + +   + + + + + + + + + + + + + void  + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + &RE;    throws  + + + + ; + + + + + + + + + + interface + + + : + + + &RE;     + + + + implements + + + &RE;     + + + + throws + + +  {&RE; + + } + + + + + + + + + + , + + + + + + +   + + + + + , + + + + + + + , + + + + + + + , + + + + + + +    + + ; + + + + + + +   + + + + +   + + + + + + + + + void  + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + &RE;    raises( + + ) + + ; + + + + + + + + + package + + ;&RE; + + + @ISA = ( + + );&RE; + + + + + + + + + + + + + , + + + + + + +   + + + + + , + + + + + + + , + + + + + + + , + + + + + + +    + + ; + + + + + + +   + + + + +   + + + + + + + + + void  + + + + + + + + + , + + + + + + + + + + + + + + sub + + + { ... }; + + + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/table.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/table.xsl new file mode 100644 index 0000000..f4f192c --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/table.xsl @@ -0,0 +1,1103 @@ + + + + + + + + + + + + + + before + + + + + + + + + all + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + " + + + + + . + + + + + + : + + + . ( + + + + + ) + + + + + + + + 0pt + none + 0pt + 0pt + 0pt + 0pt + 0pt + 0pt + + + 0pt + none + 0pt + 0pt + 0pt + 0pt + 0pt + 0pt + + + fixed + + + + + + + + + + + + + + + + + + + + + + + + + all + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + none + none + + + + + + + + + + + + + + + + + + none + none + + + + + + + + + + + + + + + none + none + + + + none + + + + + + + + + none + none + + + + + + + + + + + + + + + + + + + + + none + none + none + none + + + none + none + none + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + 100% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + center + after + + center + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + +   + + + + + + + fixed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + : + + + + + + + + + 0: + + + + + + + + + + + + + + + + + 0 + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + 1* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1* + + + + + + + + + + + proportional-column-width( + + 1 + + + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pc + pt + + + + + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.generator.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.generator.xsl new file mode 100644 index 0000000..24e6719 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.generator.xsl @@ -0,0 +1,1218 @@ + + + + + + + + + + + + +Walsh +Norman +19992000 +Norman Walsh + + +Template Stylesheet Reference + + +
Introduction + +This is technical reference documentation for the DocBook XSL +Stylesheets; it documents (some of) the parameters, templates, and +other elements of the stylesheets. + +This is not intended to be user documentation. +It is provided for developers writing customization layers for the +stylesheets, and for anyone who's interested in how it +works. + +Although I am trying to be thorough, this documentation is known +to be incomplete. Don't forget to read the source, too :-) +
+
+ +
+ + + + + + + + + +Construct a stylesheet for the templates provided + + +The t:templates element is the root of a +set of templates. This template creates an appropriate +xsl:stylesheet for the templates. + +If the t:templates element has a +base-stylesheet attribute, an +xsl:import statement is constructed for it. + + + + + + + + + + + + This stylesheet was created by + template/titlepage.xsl; + do not edit it by hand. + + + + + + + + + + + + + + + + + + + + +Copy xsl: elements straight through + + +This template simply copies the xsl: elements +straight through into the result tree. + + + + + + + + + + +Create the templates necessary to construct a title page + + +The t:titlepage element creates a set of +templates for processing the titlepage for an element. The +root of this template set is the template named +wrapper.titlepage. That is the +template that should be called to generate the title page. + + +The t:titlepage element has three attributes: + + +element +The name of the source document element for which +these templates apply. In other words, to make a title page for the +article element, set the +element attribute to +article. This attribute is required. + + +wrapper +The entire title page can be wrapped with an element. +This attribute identifies that element. + + +class +If the class attribute +is set, a class attribute with this +value will be added to the wrapper element that surrounds the entire +title page. + + + + + +Any other attributes are copied through literally to the +wrapper element. + +The content of a t:titlepage is one or +more t:titlepage-content, +t:titlepage-separator, and +t:titlepage-before elements. + +Each of these elements may be provided for the recto +and verso sides of the title page. + + + + + + + + + + + + + + .titlepage + + + + + + + + + .titlepage.before.recto + + + + + + + + + .titlepage.recto + + + + + + + + + + + + + + .titlepage.before.verso + + + + + + + + + .titlepage.verso + + + + + + + + + + + + + .titlepage.separator + + + + + + + + + + + + + + + + + + + + + + + + + + + + serna.fold + + + + + + title + + + .titlepage.recto.auto.mode + + + + + + + + + + + * + + + .titlepage.recto.mode + + + if an element isn't found in this mode, + + try the generic titlepage.mode + + + . + titlepage.mode + + + + + + + + * + + + .titlepage.verso.mode + + + if an element isn't found in this mode, + + try the generic titlepage.mode + + + . + titlepage.mode + + + + + + + + + + + + + + + + + + + .titlepage. + + .auto.mode + + + + + + .titlepage. + + .style + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + . + + + .titlepage. + + .mode + + + + + + + + + + + + + + +Copy t:titlepage attributes + + +This template copies all of the other attributes +from a t:titlepage element onto the specified +wrapper. + + + + + + + + + + + + + + +Create templates for the content of one side of a title page + + +The title page content, that is, the elements from the source +document that are rendered on the title page, can be controlled independently +for the recto and verso sides of the title page. + +The t:titlepage-content element has two attributes: + + +side +Identifies the side of the page to which this title +page content applies. The +side attribute is required and +must be set to either +recto or +verso. In addition, you must specify +exactly one t:titlepage-content for each side +within each t:titlepage. + + +order +Indicates how the order of the elements presented on +the title page is determined. If the +order is +document, the elements are presented +in document order. Otherwise (if the +order is +stylesheet), the elements are presented +in the order that they appear in the template (and consequently in +the stylesheet). + + + + + +The content of a t:titlepage-content element is +a list of element names. These names should be unqualified. They identify +the elements in the source document that should appear on the title page. + + +Each element may have a single attribute: +predicate. The value of this +attribute is used as a predicate for the expression that matches +the element on which it occurs. + +In other words, to put only the first three authors on the +recto-side of a title +page, you could specify: + + + + + + +]]> + + +Usually, the elements so named are empty. But it is possible to +make one level of selection within them. Suppose that you want to +process authorgroup elements on the title page, but +you want to select only proper authors, editors, or corporate authors, +not collaborators or other credited authors. + +In that case, you can put a t:or group inside +the authorgroup element: + + + + + + + + + + + + +]]> + + +This will have the effect of automatically generating a template +for processing authorgroups in the title page mode, +selecting only the specified children. If you need more complex processing, +you'll have to construct the templates by hand. + + + + + + + + + + + + + + + + Illegal value specified for @t:side + on t:titlepage-content: + + + + + + The @t:side attribute is required on + t:titlepage-content. + + + + + + + + .titlepage. + + .auto.mode + + + + + + + .titlepage. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Create templates for the separator + + +The title page is separated from the content which follows it by +the markup specified in the t:titlepage-separator +element. + + + + + + + + + .titlepage.separator + + + + + + + + + + +Create templates for what precedes a title page + + +Each side of the title page is preceded by the markup specified +in the t:titlepage-before element for that +side. + + + + + + + + + .titlepage.before. + + + + + + + + + + + +Copy elements + + +This template simply copies the elements that it applies to +straight through into the result tree. + + + + + + + + + + + + + +Copy attributes + + +This template simply copies the attributes that it applies to +straight through into the result tree. + + + + + + + + + + + + +Create rules to process titlepage elements in document order + + +This template is called to process all of the children of the +t:titlepage-content element. It creates the hairy +select expression necessary to process each of those elements in +the title page. + +Note that this template automatically handles the case where +some DocBook elements, like title and subtitle, can occur both inside +the *info elements where metadata is usually stored and outside. + + +It also automatically calculates the name for the *info container +and handles elements that have historically had containers with different +names. + + + + + + + + info + + + + + + artheader + + + + + + + + + + docinfo + + + + + + + + + + recto + + + + + + + .titlepage. + + .auto.mode + + + + | + + + + / + + + + + + + | + + / + + + + + + + + | + + + + + + + + + + +Create rules to process titlepage elements in stylesheet order + + +This template is called to process all of the children of the +t:titlepage-content element. It creates the set +of xsl:apply-templates elements necessary +process each of those elements in the title page. + +Note that this template automatically handles the case where +some DocBook elements, like title and subtitle, can occur both inside +the *info elements where metadata is usually stored and outside. + + +It also automatically calculates the name for the *info container +and handles elements that have historically had containers with different +names. + + + + + + + + info + + + + + + artheader + + + + + + + + + + docinfo + + + + + + + + + recto + + + + + + .titlepage. + + .auto.mode + + + + + + + + + + + + .titlepage. + + .style + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Force can only be used with named-templates. + + + + + + + + + + + + + + + / + + + + + + + + + + / + + + + + [not(self::processing-instruction('se:choice'))] + + + + + + + + + + + / + + + + + + + + + + / + + + + + [not(self::processing-instruction('se:choice'))] + + + + + + + + + + + + + + + + + + + + + + [not(self::processing-instruction('se:choice'))] + + + + + + + + + + + + + + + + + + / + + + + + [not(self::processing-instruction('se:choice'))] + + + + + + + + + + + + + / + + + + + [not(self::processing-instruction('se:choice'))] + + + + + + + + + + + + +Create templates for special rules + + +This template is called to process all of the descendants of the +t:titlepage-content element that require special +processing. At present, that's just t:or elements. + + + + + + + + + + + recto + + + + + + .titlepage. + + .auto.mode + + + + + + + + + + + + + + + + + + + + + + + + + + + +Create template for individual special rules + + +This template is called to process the children of special +template elements. + + + + + + + + + + + recto + + + + + + .titlepage. + + .auto.mode + + + + + + + + + + + + + + + +Process the t:or special rule + + +This template processes t:or. + + + + + + + + + + recto + + + + + + .titlepage. + + .auto.mode + + + + + + + + + + + + + + + + +Process the t:or special rule in +titlepage.subrules mode + + +The titlepage.subrules mode doesn't apply to t:or, so just +reprocess this node in the normal mode. + + + + + + + + + + +Construct the "or-list" used in the select attribute for +special rules. + + +Walk through each of the children of t:or, producing the +text of the select attribute. + + + + + + + + + + + + + + + + + + + + + | + + + + + + + + + +
diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xml b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xml new file mode 100644 index 0000000..8b5951a --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xml @@ -0,0 +1,412 @@ + + + + + + + + + + + + +]> + + + + + + + + + <subtitle/> + + <corpauthor padding-bottom="0.5em" + font-size="&hsize2;"/> + <authorgroup padding-bottom="0.5em" + font-size="&hsize2;"/> + <author padding-bottom="0.5em" + font-size="&hsize2;"/> + + <othercredit padding-bottom="0.5em"/> + <releaseinfo padding-bottom="0.5em"/> + <copyright padding-bottom="0.5em"/> + <legalnotice text-align="start" + margin-left="0.5in" + margin-right="0.5in" + font-family="{$body.font.family}"/> + <pubdate padding-bottom="0.5em"/> + <revision padding-bottom="0.5em"/> + <revhistory + t:named-mode="rev.mode" + padding-bottom="0.5em"/> + <abstract padding-bottom="0.5em" + text-align="start" + margin-left="0.5in" + margin-right="0.5in" + font-family="{$body.font.family}"/> + </t:titlepage-content> +</t:titlepage> + + <t:titlepage t:element="chapter" t:wrapper="fo:block" + font-family="{$title.font.family}"> + <t:titlepage-content t:side="recto" margin-left="{$title.margin.left}"> + <title t:named-mode="chapter.titles.mode" + font-size="&hsize5;" + font-weight="bold"/> + + <subtitle padding-bottom="0.5em" + font-style="italic" + font-size="&hsize2;" + font-weight="bold"/> + + <corpauthor padding-bottom="0.5em" + space-after="0.5em" + font-size="&hsize2;"/> + + <authorgroup padding-bottom="0.5em" + space-after="0.5em" + font-size="&hsize2;"/> + + <author padding-bottom="0.5em" + space-after="0.5em" + font-size="&hsize2;"/> + + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> +</t:titlepage> + + <t:titlepage t:element="book" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="book.titles.mode" + text-align="center" + font-size="&hsize5;" + padding-bottom="&hsize5space;" + font-weight="bold" + font-family="{$title.font.family}"/> + <subtitle + text-align="center" + font-size="&hsize4;" + padding-bottom="&hsize3space;" + font-family="{$title.font.family}"/> + <corpauthor font-size="&hsize3;" + keep-with-next="always" + padding-bottom="1in"/> + <authorgroup padding-bottom="1in"/> + <author font-size="&hsize3;" + padding-bottom="&hsize2space;" + keep-with-next="always"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + <corpauthor/> + <authorgroup + padding-bottom="2em" + t:named-template="verso.authorgroup"/> + <author/> + <othercredit/> + <pubdate padding-bottom="1em"/> + <copyright/> + <revision padding-bottom="0.5em"/> + <revhistory + t:named-mode="rev.mode" + padding-bottom="0.5em"/> + + <abstract/> + <legalnotice font-size="8pt"/> + </t:titlepage-content> + </t:titlepage> + +<t:titlepage t:element="part" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="part.titles.mode" + text-align="center" + font-size="&hsize5;" + padding-bottom="&hsize5space;" + font-weight="bold" + font-family="{$title.font.family}"/> + <subtitle + text-align="center" + font-size="&hsize4;" + padding-bottom="&hsize4space;" + font-weight='bold' + font-style='italic' + font-family="{$title.font.family}"/> + </t:titlepage-content> +</t:titlepage> + + <t:titlepage t:element="preface" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="preface.titles.mode" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.font.family}" + font-weight="bold"/> + <subtitle + font-family="{$title.font.family}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> +</t:titlepage> + +<t:titlepage t:element="partintro" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + text-align="center" + font-size="&hsize5;" + font-weight="bold" + padding-bottom="1em" + font-family="{$title.font.family}"/> + <subtitle + text-align="center" + font-size="&hsize2;" + font-weight="bold" + font-style="italic" + font-family="{$title.font.family}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + +</t:titlepage> + +<t:titlepage t:element="reference" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="reference.titles.mode" + text-align="center" + font-size="&hsize5;" + padding-bottom="&hsize5space;" + font-weight="bold" + font-family="{$title.font.family}"/> + <subtitle + font-family="{$title.font.family}"/> + </t:titlepage-content> + +</t:titlepage> + +<t:titlepage t:element="refsynopsisdiv" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="refsynopsisdiv.titles.mode" + font-weight="bold" + margin-left="{$title.margin.left}" + font-family="{$title.font.family}"/> + </t:titlepage-content> + +</t:titlepage> + +<t:titlepage t:element="refsection" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="section.titles.mode" + font-weight="bold" + font-family="{$title.font.family}"/> + </t:titlepage-content> + +</t:titlepage> + +<t:titlepage t:element="section" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="section.titles.mode" + font-weight="bold" + margin-left="{$title.margin.left}" + font-family="{$title.font.family}"/> + <subtitle + font-family="{$title.font.family}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> +</t:titlepage> + +<t:titlepage t:element="simplesect" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="simplesect.titles.mode" + font-weight="bold" + margin-left="{$title.margin.left}" + font-family="{$title.font.family}"/> + <subtitle + font-family="{$title.font.family}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + + +<t:titlepage t:element="set" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="set.titles.mode" + text-align="center" + font-size="&hsize5;" + padding-bottom="&hsize5space;" + font-weight="bold" + font-family="{$title.font.family}"/> + <subtitle + font-family="{$title.font.family}" + text-align="center"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> +</t:titlepage> + + <t:titlepage t:element="appendix" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="appendix.titles.mode" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-weight="bold" + font-family="{$title.font.family}"/> + <subtitle + font-family="{$title.font.family}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> +</t:titlepage> + + <t:titlepage t:element="bibliography" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title t:named-template="bibliography.title" + t:force="1" + param:node="." + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.font.family}" + font-weight="bold"/> + <subtitle + font-family="{$title.font.family}"/> + </t:titlepage-content> + + </t:titlepage> + + <t:titlepage t:element="bibliodiv" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="bibliodiv.titles.mode" + margin-left="{$title.margin.left}" + font-size="&hsize4;" + font-family="{$title.font.family}" + font-weight="bold"/> + <subtitle + font-family="{$title.font.family}"/> + </t:titlepage-content> + + </t:titlepage> + + <t:titlepage t:element="glossary" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-mode="glossary.title" + param:node="ancestor-or-self::glossary[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.font.family}" + font-weight="bold"/> + <subtitle + font-family="{$title.font.family}"/> + </t:titlepage-content> + + </t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="glossdiv" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title t:named-mode="glossdiv.titles.mode" + param:node="ancestor-or-self::glossdiv[1]" + margin-left="{$title.margin.left}" + font-size="&hsize4;" + font-family="{$title.font.family}" + font-weight="bold"/> + <subtitle + font-family="{$title.font.family}"/> + </t:titlepage-content> + </t:titlepage> + +</t:templates> diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xsl new file mode 100644 index 0000000..ada4ff6 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.templates.xsl @@ -0,0 +1,1969 @@ +<?xml version="1.0" encoding="utf-8"?><ax:stylesheet xmlns:ax="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:se="http://syntext.com/XSL/Format-1.0" version="1.0"> + +<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. --> + +<xsl:template name="article.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="articleinfo/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="artheader/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="articleinfo/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="artheader/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block text-align="center"><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="article.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="article.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block font-family="{$title.font.family}"> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="article" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="article.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" font-size="{$title1.font.size}" font-weight="bold"> +<xsl:apply-templates mode="article.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em" font-size="{$title3.font.size}"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em" font-size="{$title3.font.size}"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em" font-size="{$title3.font.size}"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.font.family}"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em"> +<xsl:apply-templates mode="rev.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="article.titlepage.recto.style" padding-bottom="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.font.family}"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="chapter.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="chapterinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="chapterinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block margin-left="{$title.margin.left}"><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="chapter.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="chapter.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block font-family="{$title.font.family}"> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="chapter" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="chapter.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="{$title1.font.size}" font-weight="bold"> +<xsl:apply-templates mode="chapter.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" padding-bottom="0.5em" font-style="italic" font-size="{$title3.font.size}" font-weight="bold"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" padding-bottom="0.5em" space-after="0.5em" font-size="{$title3.font.size}"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" padding-bottom="0.5em" space-after="0.5em" font-size="{$title3.font.size}"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" padding-bottom="0.5em" space-after="0.5em" font-size="{$title3.font.size}"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="book.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="bookinfo/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bookinfo/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="book.titlepage.verso"> + <ax:variable name="result"> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/abstract[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="book.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="book.titlepage.recto"/> + + + <xsl:call-template name="book.titlepage.verso"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="book" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="book.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="{$title1.font.size}" padding-bottom="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> +<xsl:apply-templates mode="book.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="{$title2.font.size}" padding-bottom="12.96pt" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.recto.style" font-size="{title2.font.size}" keep-with-next="always" padding-bottom="1in"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.recto.style" padding-bottom="1in"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.recto.style" font-size="{title2.font.size}" padding-bottom="10.8pt" keep-with-next="always"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style" padding-bottom="2em"> +<xsl:call-template name="verso.authorgroup"> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style" padding-bottom="1em"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style" padding-bottom="0.5em"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style" padding-bottom="0.5em"> +<xsl:apply-templates mode="rev.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="book.titlepage.verso.auto.mode"> +<fo:block xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="part.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="partinfo/title"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="part.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="part.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="part" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="part.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="part.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="{$title1.font.size}" padding-bottom="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> +<xsl:apply-templates mode="part.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="{$title2.font.size}" padding-bottom="15.552pt" font-weight="bold" font-style="italic" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="preface.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="prefaceinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="prefaceinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="preface.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="preface.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="preface" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="preface.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="{$title1.font.size}" font-family="{$title.font.family}" font-weight="bold"> +<xsl:apply-templates mode="preface.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="partintro.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="partintroinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partintroinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="partintro.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="partintro.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="partintro" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="partintro.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="{$title1.font.size}" font-weight="bold" padding-bottom="1em" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="{$title3.font.size}" font-weight="bold" font-style="italic" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="reference.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="referenceinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="referenceinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="reference.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="reference.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="reference" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="reference.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="reference.titlepage.recto.style" text-align="center" font-size="{$title1.font.size}" padding-bottom="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> +<xsl:apply-templates mode="reference.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="refsynopsisdivinfo/title"> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="refsynopsisdiv.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="refsynopsisdiv" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="refsynopsisdiv.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="refsynopsisdiv.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refsynopsisdiv.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="refsynopsisdiv.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-weight="bold" margin-left="{$title.margin.left}" font-family="{$title.font.family}"> +<xsl:apply-templates mode="refsynopsisdiv.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template name="refsection.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="refsectioninfo/title"> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="refsection.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="refsection.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="refsection" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="refsection.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="refsection.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refsection.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="refsection.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="refsection.titlepage.recto.style" font-weight="bold" font-family="{$title.font.family}"> +<xsl:apply-templates mode="section.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template name="section.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="sectioninfo/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sectioninfo/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="section.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="section.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="section" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="section.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style" font-weight="bold" margin-left="{$title.margin.left}" font-family="{$title.font.family}"> +<xsl:apply-templates mode="section.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="simplesect.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="simplesectinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="simplesectinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="simplesect.titlepage.verso"> + <ax:variable name="result"/> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="simplesect.titlepage.separator"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage"> + <ax:variable name="result"><xsl:call-template name="simplesect.titlepage.before.recto"/> + <xsl:call-template name="simplesect.titlepage.recto"/> + + <xsl:call-template name="simplesect.titlepage.before.verso"/> + <xsl:call-template name="simplesect.titlepage.verso"/> + + <xsl:call-template name="simplesect.titlepage.separator"/> + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="simplesect" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="simplesect.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-weight="bold" margin-left="{$title.margin.left}" font-family="{$title.font.family}"> +<xsl:apply-templates mode="simplesect.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="set.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="setinfo/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="setinfo/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="set.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="set.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="set" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="set.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style" text-align="center" font-size="{$title1.font.size}" padding-bottom="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> +<xsl:apply-templates mode="set.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.font.family}" text-align="center"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="appendix.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="appendixinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="appendixinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract[not(self::processing-instruction('se:choice'))]"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract[not(self::processing-instruction('se:choice'))]"/></ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="appendix.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="appendix.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="appendix" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="appendix.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="{$title1.font.size}" font-weight="bold" font-family="{$title.font.family}"> +<xsl:apply-templates mode="appendix.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="bibliography.titlepage.recto"> + <ax:variable name="result"> + <fo:block xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="{$title1.font.size}" font-family="{$title.font.family}" font-weight="bold"> +<xsl:call-template name="bibliography.title"> +<xsl:with-param name="node" select="."/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="bibliographyinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="bibliography.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="bibliography.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="bibliography" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="bibliography.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="bibliodiv.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="bibliodivinfo/title"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bibliodivinfo/subtitle"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="bibliodiv.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="bibliodiv.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="bibliodiv" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="bibliodiv.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="bibliodiv.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliodiv.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="bibliodiv.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="{$title2.font.size}" font-family="{$title.font.family}" font-weight="bold"> +<xsl:apply-templates mode="bibliodiv.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliodiv.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="glossary.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="glossaryinfo/title"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="glossaryinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="glossary.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="glossary.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="glossary" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="glossary.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="glossary.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="{$title1.font.size}" font-family="{$title.font.family}" font-weight="bold"> +<xsl:apply-templates mode="glossary.title" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="glossdiv.titlepage.recto"> + <ax:variable name="result"> + <xsl:choose> + <xsl:when test="glossdivinfo/title"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="title[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="glossdivinfo/subtitle"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="subtitle[not(self::processing-instruction('se:choice'))]"/> + </xsl:when> + </xsl:choose> +</ax:variable> + + <ax:if test="string-length($result)"> + <fo:block><ax:copy-of select="$result"/> + </fo:block> + </ax:if> + </xsl:template> + +<xsl:template name="glossdiv.titlepage"> + <ax:variable name="result"> + <xsl:call-template name="glossdiv.titlepage.recto"/> + + </ax:variable><ax:if test="string-length($result)"><fo:block> + <ax:copy-of select="$result"/></fo:block></ax:if> +</xsl:template> + +<xsl:template match="glossdiv" mode="serna.fold"> + <fo:block se:fold="" color="gray"> + <se:fold show-element-name="false"/><xsl:apply-templates select="title" mode="glossdiv.titlepage.recto.auto.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="glossdiv.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossdiv.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="glossdiv.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="glossdiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="{$title2.font.size}" font-family="{$title.font.family}" font-weight="bold"> +<xsl:apply-templates mode="glossdiv.titles.mode" select="."> +</xsl:apply-templates> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="glossdiv.titlepage.recto.auto.mode"> +<fo:block xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.font.family}"> +<xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +</ax:stylesheet> \ No newline at end of file diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.xsl new file mode 100644 index 0000000..a169ec7 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/titlepage.xsl @@ -0,0 +1,772 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:dtm="http://syntext.com/Extensions/DocumentTypeMetadata-1.0" + extension-element-prefixes="dtm" + version='1.0'> + +<xsl:attribute-set name="book.titlepage.recto.style"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.font.family"/> + </xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="concat($body.font.master,'pt')"/> + </xsl:attribute> + + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="book.titlepage.verso.style"> + <xsl:attribute name="font-size"> + <xsl:value-of select="concat(0.83 * $body.font.master,'pt')"/> + </xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="article.titlepage.recto.style"/> +<xsl:attribute-set name="article.titlepage.verso.style"/> + +<xsl:attribute-set name="set.titlepage.recto.style"/> +<xsl:attribute-set name="set.titlepage.verso.style"/> + +<xsl:attribute-set name="part.titlepage.recto.style"> + <xsl:attribute name="text-align">center</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="part.titlepage.verso.style"/> + +<xsl:attribute-set name="partintro.titlepage.recto.style"/> +<xsl:attribute-set name="partintro.titlepage.verso.style"/> + +<xsl:attribute-set name="reference.titlepage.recto.style"/> +<xsl:attribute-set name="reference.titlepage.verso.style"/> + +<xsl:attribute-set name="dedication.titlepage.recto.style"/> +<xsl:attribute-set name="dedication.titlepage.verso.style"/> + +<xsl:attribute-set name="preface.titlepage.recto.style"/> +<xsl:attribute-set name="preface.titlepage.verso.style"/> + +<xsl:attribute-set name="chapter.titlepage.recto.style"/> +<xsl:attribute-set name="chapter.titlepage.verso.style"/> + +<xsl:attribute-set name="appendix.titlepage.recto.style"/> +<xsl:attribute-set name="appendix.titlepage.verso.style"/> + +<xsl:attribute-set name="bibliography.titlepage.recto.style"/> +<xsl:attribute-set name="bibliography.titlepage.verso.style"/> + +<xsl:attribute-set name="bibliodiv.titlepage.recto.style"/> +<xsl:attribute-set name="bibliodiv.titlepage.verso.style"/> + +<xsl:attribute-set name="glossary.titlepage.recto.style"/> +<xsl:attribute-set name="glossary.titlepage.verso.style"/> + +<xsl:attribute-set name="glossdiv.titlepage.recto.style"/> +<xsl:attribute-set name="glossdiv.titlepage.verso.style"/> + +<xsl:attribute-set name="index.titlepage.recto.style"/> +<xsl:attribute-set name="index.titlepage.verso.style"/> + +<xsl:attribute-set name="setindex.titlepage.recto.style"/> +<xsl:attribute-set name="setindex.titlepage.verso.style"/> + +<xsl:attribute-set name="indexdiv.titlepage.recto.style"/> +<xsl:attribute-set name="indexdiv.titlepage.verso.style"/> + +<xsl:attribute-set name="colophon.titlepage.recto.style"/> +<xsl:attribute-set name="colophon.titlepage.verso.style"/> + +<xsl:attribute-set name="section.titlepage.recto.style"> + <xsl:attribute name="keep-together">always</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="section.titlepage.verso.style"> + <xsl:attribute name="keep-together">always</xsl:attribute> + <xsl:attribute name="keep-with-next">always</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="sect1.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect1.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect2.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect2.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect3.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect3.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect4.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect4.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect5.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect5.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="simplesect.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="simplesect.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsynopsisdiv.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsynopsisdiv.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsection.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsection.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsect1.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsect1.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsect2.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsect2.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsect3.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsect3.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> +<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.procedures.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.procedures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> + +<!-- ==================================================================== --> +<dtm:doc dtm:idref="all.titlepage-mode"/> +<xsl:template match="*" mode="titlepage.mode" dtm:id="all.titlepage-mode"> + <!-- if an element isn't found in this mode, try the default mode --> + <xsl:apply-templates select="."/> +</xsl:template> + +<dtm:doc dtm:idref="abbrev.titlepage-mode"/> +<xsl:template match="abbrev" mode="titlepage.mode" dtm:id="abbrev.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="abstract.titlepage-mode"/> +<xsl:template match="abstract" mode="titlepage.mode" dtm:id="abstract.titlepage-mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:elements="abstract/title" dtm:idref="title.abstract.titlepage-mode title.titlepage-title-mode"/> +<xsl:template match="abstract/title" mode="titlepage.mode" dtm:id="title.abstract.titlepage-mode"/> + +<xsl:template match="abstract/title" mode="titlepage.abstract.title.mode" dtm:id="title.titlepage-title-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="address.titlepage-mode"/> +<xsl:template match="address" mode="titlepage.mode" dtm:id="address.titlepage-mode"> + <!-- use the normal address handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<dtm:doc dtm:idref="affiliation.titlepage-mode"/> +<xsl:template match="affiliation" mode="titlepage.mode" dtm:id="affiliation.titlepage-mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="artpagenums.titlepage-mode"/> +<xsl:template match="artpagenums" mode="titlepage.mode" dtm:id="artpagenums.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="author.titlepage-mode"/> +<xsl:template match="author" mode="titlepage.mode" dtm:id="author.titlepage-mode"> + <fo:block> + <xsl:call-template name="person.name"/> + <xsl:if test="affiliation/orgname"> + <xsl:text>, </xsl:text> + <xsl:apply-templates select="affiliation/orgname" mode="titlepage.mode"/> + </xsl:if> + <xsl:if test="email|affiliation/address/email"> + <xsl:text> </xsl:text> + <xsl:apply-templates select="(email|affiliation/address/email)[1]"/> + </xsl:if> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="authorblurb.titlepage-mode"/> +<xsl:template match="authorblurb" mode="titlepage.mode" dtm:id="authorblurb.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="authorgroup.titlepage-mode"/> +<xsl:template match="authorgroup" mode="titlepage.mode" dtm:id="authorgroup.titlepage-mode"> + <fo:wrapper> + <xsl:if test="@id"> + <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> + </xsl:if> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:wrapper> +</xsl:template> + +<dtm:doc dtm:idref="authorinitials.titlepage-mode"/> +<xsl:template match="authorinitials" mode="titlepage.mode" dtm:id="authorinitials.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="bibliomisc.titlepage-mode"/> +<xsl:template match="bibliomisc" mode="titlepage.mode" dtm:id="bibliomisc.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="bibliomset.titlepage-mode"/> +<xsl:template match="bibliomset" mode="titlepage.mode" dtm:id="bibliomset.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="collab.titlepage-mode"/> +<xsl:template match="collab" mode="titlepage.mode" dtm:id="collab.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="confgroup.titlepage-mode"/> +<xsl:template match="confgroup" mode="titlepage.mode" dtm:id="confgroup.titlepage-mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="confdates.titlepage-mode"/> +<xsl:template match="confdates" mode="titlepage.mode" dtm:id="confdates.titlepage-mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="conftitle.titlepage-mode"/> +<xsl:template match="conftitle" mode="titlepage.mode" dtm:id="conftitle.titlepage-mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="confnum.titlepage-mode"/> +<xsl:template match="confnum" mode="titlepage.mode" dtm:id="confnum.titlepage-mode"> + <!-- suppress --> +</xsl:template> + +<dtm:doc dtm:idref="contractnum.titlepage-mode"/> +<xsl:template match="contractnum" mode="titlepage.mode" dtm:id="contractnum.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="contractsponsor.titlepage-mode"/> +<xsl:template match="contractsponsor" mode="titlepage.mode" dtm:id="contractsponsor.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="contrib.titlepage-mode"/> +<xsl:template match="contrib" mode="titlepage.mode" dtm:id="contrib.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="copyright.titlepage-mode"/> +<xsl:template match="copyright" mode="titlepage.mode" dtm:id="copyright.titlepage-mode"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'copyright'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:call-template name="dingbat"> + <xsl:with-param name="dingbat">copyright</xsl:with-param> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:call-template name="copyright.years"> + <xsl:with-param name="years" select="year"/> + <xsl:with-param name="print.ranges" select="$make.year.ranges"/> + <xsl:with-param name="single.year.ranges" + select="$make.single.year.ranges"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="holder" mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="year.titlepage-mode"/> +<xsl:template match="year" mode="titlepage.mode" dtm:id="year.titlepage-mode"> + <fo:inline + border-left-width="0pt" + border-right-width="0pt"><xsl:apply-templates/></fo:inline> +</xsl:template> + +<dtm:doc dtm:idref="holder.titlepage-mode"/> +<xsl:template match="holder" mode="titlepage.mode" dtm:id="holder.titlepage-mode"> + <xsl:apply-templates/> +</xsl:template> + +<dtm:doc dtm:idref="corpauthor.titlepage-mode"/> +<xsl:template match="corpauthor" mode="titlepage.mode" dtm:id="corpauthor.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="corpname.titlepage-mode"/> +<xsl:template match="corpname" mode="titlepage.mode" dtm:id="corpname.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="date.titlepage-mode"/> +<xsl:template match="date" mode="titlepage.mode" dtm:id="date.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="edition.titlepage-mode"/> +<xsl:template match="edition" mode="titlepage.mode" dtm:id="edition.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:text> </xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'edition'"/> + </xsl:call-template> +</xsl:template> + +<dtm:doc dtm:idref="editor.titlepage-mode"/> +<xsl:template match="editor" mode="titlepage.mode" dtm:id="editor.titlepage-mode"> + <xsl:call-template name="person.name"/> +</xsl:template> + +<dtm:doc dtm:idref="editor[1].titlepage-mode"/> +<xsl:template match="editor[1]" priority="2" mode="titlepage.mode" dtm:id="editor[1].titlepage-mode"> + <xsl:text>TODO: edited by </xsl:text> + <xsl:call-template name="person.name"/> +</xsl:template> + +<dtm:doc dtm:idref="firstname.titlepage-mode"/> +<xsl:template match="firstname" mode="titlepage.mode" dtm:id="firstname.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="graphic.titlepage-mode"/> +<xsl:template match="graphic" mode="titlepage.mode" dtm:id="graphic.titlepage-mode"> + <!-- use the normal graphic handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<dtm:doc dtm:idref="honorific.titlepage-mode"/> +<xsl:template match="honorific" mode="titlepage.mode" dtm:id="honorific.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="isbn.titlepage-mode"/> +<xsl:template match="isbn" mode="titlepage.mode" dtm:id="isbn.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="issn.titlepage-mode"/> +<xsl:template match="issn" mode="titlepage.mode" dtm:id="issn.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="biblioid.titlepage-mode"/> +<xsl:template match="biblioid" mode="titlepage.mode" dtm:id="biblioid.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="itermset.titlepage-mode"/> +<xsl:template match="itermset" mode="titlepage.mode" dtm:id="itermset.titlepage-mode"> + <!-- discard --> +</xsl:template> + +<dtm:doc dtm:idref="invpartnumber.titlepage-mode"/> +<xsl:template match="invpartnumber" mode="titlepage.mode" dtm:id="invpartnumber.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="issuenum.titlepage-mode"/> +<xsl:template match="issuenum" mode="titlepage.mode" dtm:id="issuenum.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="jobtitle.titlepage-mode"/> +<xsl:template match="jobtitle" mode="titlepage.mode" dtm:id="jobtitle.titlepage-mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="keywordset.titlepage-mode"/> +<xsl:template match="keywordset" mode="titlepage.mode" dtm:id="keywordset.titlepage-mode"> +</xsl:template> + +<dtm:doc dtm:idref="legalnotice.titlepage-mode"/> +<xsl:template match="legalnotice" mode="titlepage.mode" dtm:id="legalnotice.titlepage-mode"> + <fo:block> + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title" mode="plain.formal.title.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="formal.title.gentext"> + <xsl:with-param name="key" select="'legalnotice'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="*[local-name(.) != 'title']"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:elements="legalnotice/title" dtm:idref="title.legalnotice.titlepage-mode title.legalnotice.titlepage-title-mode"/> +<xsl:template match="legalnotice/title" mode="titlepage.mode" dtm:id="title.legalnotice.titlepage-mode"> +</xsl:template> + +<xsl:template match="legalnotice/title" mode="titlepage.legalnotice.title.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="lineage.titlepage-mode"/> +<xsl:template match="lineage" mode="titlepage.mode" dtm:id="lineage.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="modespec.titlepage-mode"/> +<xsl:template match="modespec" mode="titlepage.mode" dtm:id="modespec.titlepage-mode"> + <!-- discard --> +</xsl:template> + +<dtm:doc dtm:idref="orgdiv.titlepage-mode"/> +<xsl:template match="orgdiv" mode="titlepage.mode" dtm:id="orgdiv.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="orgname.titlepage-mode"/> +<xsl:template match="orgname" mode="titlepage.mode" dtm:id="orgname.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="othercredit.titlepage-mode"/> +<xsl:template match="othercredit" mode="titlepage.mode" dtm:id="othercredit.titlepage-mode"> + <xsl:variable name="contrib" select="string(contrib)"/> + <xsl:choose> + <xsl:when test="contrib"> + <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode" select="contrib"/> + <xsl:text>: </xsl:text> + <xsl:call-template name="person.name"/> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> + </fo:block> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <fo:block><xsl:call-template name="person.name"/></fo:block> + <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="othercredit.titlepage-othercredits"/> +<xsl:template match="othercredit" mode="titlepage.othercredits" dtm:id="othercredit.titlepage-othercredits"> + <xsl:text>, </xsl:text> + <xsl:call-template name="person.name"/> +</xsl:template> + +<dtm:doc dtm:idref="othername.titlepage-mode"/> +<xsl:template match="othername" mode="titlepage.mode" dtm:id="othername.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="pagenums.titlepage-mode"/> +<xsl:template match="pagenums" mode="titlepage.mode" dtm:id="pagenums.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="printhistory.titlepage-mode"/> +<xsl:template match="printhistory" mode="titlepage.mode" dtm:id="printhistory.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="productname.titlepage-mode"/> +<xsl:template match="productname" mode="titlepage.mode" dtm:id="productname.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="productnumber.titlepage-mode"/> +<xsl:template match="productnumber" mode="titlepage.mode" dtm:id="productnumber.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="pubdate.titlepage-mode"/> +<xsl:template match="pubdate" mode="titlepage.mode" dtm:id="pubdate.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="publisher.titlepage-mode"/> +<xsl:template match="publisher" mode="titlepage.mode" dtm:id="publisher.titlepage-mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="publishername.titlepage-mode"/> +<xsl:template match="publishername" mode="titlepage.mode" dtm:id="publishername.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="pubsnumber.titlepage-mode"/> +<xsl:template match="pubsnumber" mode="titlepage.mode" dtm:id="pubsnumber.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="releaseinfo.titlepage-mode"/> +<xsl:template match="releaseinfo" mode="titlepage.mode" dtm:id="releaseinfo.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="revhistory.titlepage-mode"/> +<xsl:template match="revhistory" mode="titlepage.mode" dtm:id="revhistory.titlepage-mode"> + <fo:table table-layout="fixed"> + <fo:table-column column-number="1" column-width="33%"/> + <fo:table-column column-number="2" column-width="33%"/> + <fo:table-column column-number="3" column-width="33%"/> + <fo:table-body> + <fo:table-row> + <fo:table-cell number-columns-spanned="3"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'revhistory'"/> + </xsl:call-template> + </fo:block> + </fo:table-cell> + </fo:table-row> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:table-body> + </fo:table> +</xsl:template> + +<dtm:doc dtm:idref="revision.revhistory.titlepage-mode"/> +<xsl:template match="revhistory/revision" mode="titlepage.mode" dtm:id="revision.revhistory.titlepage-mode"> + <xsl:variable name="revnumber" select=".//revnumber"/> + <xsl:variable name="revdate" select=".//date"/> + <xsl:variable name="revauthor" select=".//authorinitials"/> + <xsl:variable name="revremark" select=".//revremark|.//revdescription"/> + <fo:table-row> + <fo:table-cell> + <fo:block> + <xsl:if test="$revnumber"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'revision'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> + </xsl:if> + </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block> + <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> + </fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block> + <xsl:apply-templates select="$revauthor[1]" mode="titlepage.mode"/> + </fo:block> + </fo:table-cell> + </fo:table-row> + <xsl:if test="$revremark"> + <fo:table-row> + <fo:table-cell number-columns-spanned="3"> + <fo:block> + <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> + </fo:block> + </fo:table-cell> + </fo:table-row> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="revnumber.revision.titlepage-mode"/> +<xsl:template match="revision/revnumber" mode="titlepage.mode" dtm:id="revnumber.revision.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="date.revision.titlepage-mode"/> +<xsl:template match="revision/date" mode="titlepage.mode" dtm:id="date.revision.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="authorinitials.revision.titlepage-mode"/> +<xsl:template match="revision/authorinitials" mode="titlepage.mode" dtm:id="authorinitials.revision.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="revremark.revision.titlepage-mode"/> +<xsl:template match="revision/revremark" mode="titlepage.mode" dtm:id="revremark.revision.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="revdescription.revision.titlepage-mode"/> +<xsl:template match="revision/revdescription" mode="titlepage.mode" dtm:id="revdescription.revision.titlepage-mode"> + <fo:block text-align="left"> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="seriesvolnums.titlepage-mode"/> +<xsl:template match="seriesvolnums" mode="titlepage.mode" dtm:id="seriesvolnums.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="shortaffil.titlepage-mode"/> +<xsl:template match="shortaffil" mode="titlepage.mode" dtm:id="shortaffil.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="subjectset.titlepage-mode"/> +<xsl:template match="subjectset" mode="titlepage.mode" dtm:id="subjectset.titlepage-mode"> + <!-- discard --> +</xsl:template> + +<dtm:doc dtm:idref="subtitle.titlepage-mode"/> +<xsl:template match="subtitle" mode="titlepage.mode" dtm:id="subtitle.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="surname.titlepage-mode"/> +<xsl:template match="surname" mode="titlepage.mode" dtm:id="surname.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="title.titlepage-mode"/> +<xsl:template match="title" mode="titlepage.mode" dtm:id="title.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="titleabbrev.titlepage-mode"/> +<xsl:template match="titleabbrev" mode="titlepage.mode" dtm:id="titleabbrev.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="volumenum.titlepage-mode"/> +<xsl:template match="volumenum" mode="titlepage.mode" dtm:id="volumenum.titlepage-mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<!-- ==================================================================== --> +<!-- Book templates --> + +<!-- Note: these templates cannot use *.titlepage.recto.mode or + *.titlepage.verso.mode. If they do then subsequent use of a custom + titlepage.templates.xml file will not work correctly. --> + +<!-- book recto --> +<dtm:doc dtm:idref="authorgroup.bookinfo.titlepage-mode"/> +<xsl:template match="bookinfo/authorgroup" mode="titlepage.mode" priority="2" dtm:id="authorgroup.bookinfo.titlepage-mode"> + <fo:block> + <xsl:if test="@id"> + <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'by'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:call-template name="person.name.list"/> + </fo:block> +</xsl:template> + +<!-- book verso --> +<dtm:doc dtm:idref="book.verso.title"/> +<xsl:template name="book.verso.title" dtm:id="book.verso.title"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + + <xsl:if test="following-sibling::subtitle + |following-sibling::bookinfo/subtitle"> + <xsl:text>: </xsl:text> + + <xsl:apply-templates select="(following-sibling::subtitle + |following-sibling::bookinfo/subtitle)[1]" + mode="book.verso.subtitle.mode"/> + </xsl:if> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="subtitle.book.verso.mode"/> +<xsl:template match="subtitle" mode="book.verso.subtitle.mode" dtm:id="subtitle.book.verso.mode"> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:if test="following-sibling::subtitle"> + <xsl:text>: </xsl:text> + <xsl:apply-templates select="following-sibling::subtitle[1]" + mode="book.verso.subtitle.mode"/> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="verso.authorgroup"/> +<xsl:template name="verso.authorgroup" dtm:id="verso.authorgroup"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'by'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:call-template name="person.name.list"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="author.bookinfo.titlepage-mode"/> +<xsl:template match="bookinfo/author" mode="titlepage.mode" priority="2" dtm:id="author.bookinfo.titlepage-mode"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'by'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:call-template name="person.name"/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="corpauthor.bookinfo.titlepage-mode"/> +<xsl:template match="bookinfo/corpauthor" mode="titlepage.mode" priority="2" dtm:id="corpauthor.bookinfo.titlepage-mode"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'by'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="pubdate.bookinfo.titlepage-mode"/> +<xsl:template match="bookinfo/pubdate" mode="titlepage.mode" priority="2" dtm:id="pubdate.bookinfo.titlepage-mode"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'published'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/titles.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/titles.xsl new file mode 100644 index 0000000..86799e4 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/titles.xsl @@ -0,0 +1,511 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:xse="http://www.syntext.com/Extensions/XSLT-1.0" + xmlns:se="http://syntext.com/XSL/Format-1.0" + xmlns:dtm="http://syntext.com/Extensions/DocumentTypeMetadata-1.0" + extension-element-prefixes="dtm" + version='1.0'> + + <!-- This template helps to see chapter when its titlethings are + still empty --> + + <dtm:doc dtm:idref="handle.empty"/> + <xsl:template name="handle.empty" dtm:id="handle.empty"> + <xsl:param name="titles" select="''"/> + <xsl:param name="preamble" select="''"/> + <xsl:param name="content" select="*"/> + + <xsl:variable name="toc"> + <xsl:call-template name="decorations"/> + </xsl:variable> + + <xsl:variable name="type"> + <xsl:call-template name="get.type"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="string-length($titles)"> + <xsl:copy-of select="$titles"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="empty.title.mode"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="contains($toc, 'toc')"> + <xsl:choose> + <xsl:when test="self::set"> + <xsl:call-template name="set.toc"/> + </xsl:when> + <xsl:when test="$type = 'division'"> + <xsl:call-template name="division.toc"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="component.toc"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + <xsl:choose> + <xsl:when test="$show.preamble.editing"> + <fo:block padding-bottom="0.5em"> + <fo:block xsl:use-attribute-sets="preamble.attributes"> + <fo:block background-color="transparent" + xsl:use-attribute-sets="title.content.properties formal.title.properties"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="name" select="'draftarea'"/> + <xsl:with-param name="context" select="'empty'"/> + </xsl:call-template> + <xsl:text> "</xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text>" </xsl:text> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="name" select="'metainfo'"/> + <xsl:with-param name="context" select="'empty'"/> + </xsl:call-template> + <xsl:text>. </xsl:text> + </fo:block> + <xsl:apply-templates select="$preamble"/> + </fo:block> + </fo:block> + </xsl:when> + <xsl:when test="processing-instruction('se:choice')"> + <fo:block> + <xsl:apply-templates select="processing-instruction('se:choice')"/> + </fo:block> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates select="$content"/> + </xsl:template> + + <dtm:doc dtm:idref="sbpr.empty-title-mode"/> + <xsl:template match="set|book|part|reference" mode="empty.title.mode" dtm:id="sbpr.empty-title-mode"> + <fo:block + background-color="#e0e0e0" + xsl:use-attribute-sets="title.content.properties + division.title.properties"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'empty'"/> + <xsl:with-param name="name" select="local-name(.)"/> + </xsl:call-template> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="aacp.empty-title-mode"/> + <xsl:template match="appendix|article|chapter|preface" mode="empty.title.mode" dtm:id="aacp.empty-title-mode"> + <fo:block + background-color="#e0e0e0" + xsl:use-attribute-sets="title.content.properties + component.title.properties"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'empty'"/> + <xsl:with-param name="name" select="local-name(.)"/> + </xsl:call-template> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="sections.empty-title-mode"/> + <xsl:template match="section|sect1|sect2|sect3|sect4|sect5|bibliodiv|glossary" + mode="empty.title.mode" dtm:id="sections.empty-title-mode"> + <fo:block + background-color="#e0e0e0" + xsl:use-attribute-sets="title.content.properties + section.title.level1.properties"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'empty'"/> + <xsl:with-param name="name" select="local-name(.)"/> + </xsl:call-template> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="all.empty-title-mode"/> + <xsl:template match="*" mode="empty.title.mode" dtm:id="all.empty-title-mode"> + <fo:block> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'empty'"/> + <xsl:with-param name="name" select="local-name(.)"/> + </xsl:call-template> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="empty-title"/> + <xsl:template name="empty-title" dtm:id="empty-title"> + <xsl:choose> + <xsl:when test="node()"> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'empty'"/> + <xsl:with-param name="name" select="'title'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- Commonly met elements --> + + <dtm:doc dtm:idref="titles.count"/> + <xsl:template name="count.title" dtm:id="titles.count"> + <xsl:param name="need.dot"/> + <xsl:choose> + <xsl:when test="self::title or self::subtitle"> + <xsl:for-each select=".."> + <xsl:call-template name="count.title"> + <xsl:with-param name="need.dot" select="$need.dot"/> + </xsl:call-template> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="ancestor::appendix"> + <xsl:number level="multiple" count="appendix|section|sect1| + sect2|sect3|sect4|sect5|simplesect" format="A.1."/> + </xsl:when> + <xsl:otherwise> + <xsl:number level="multiple" count="chapter|section|sect1| + sect2|sect3|sect4|sect5|simplesect" format="1.1."/> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="$need.dot"> + <xsl:number level="any" from="chapter|article|book|part" + format="1. "/> + </xsl:when> + <xsl:otherwise> + <xsl:number level="any" from="chapter|article|book|part" + format="1"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <dtm:doc dtm:idref="title.formal-title-mode"/> + <xsl:template match="title" mode="formal.title.mode" dtm:id="title.formal-title-mode"> + <xsl:param name="key" select="''"/> + <xsl:variable name="title"> + <fo:inline> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="$key"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:call-template name="count.title"> + <xsl:with-param name="need.dot" select="1"/> + </xsl:call-template> + </fo:inline> + <xsl:apply-templates/> + </xsl:variable> + <fo:block + xsl:use-attribute-sets="title.content.properties formal.title.properties"> + <xsl:choose> + <xsl:when test="string-length($title)"> + <xsl:copy-of select="$title"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>Title:</xsl:text> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="title.formal-title-mode"/> + <xsl:template match="title" mode="plain.formal.title.mode"> + <fo:block + xsl:use-attribute-sets="title.content.properties formal.title.properties"> + <xsl:apply-templates/> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="formal-title-gentext"/> + <xsl:template name="formal.title.gentext" dtm:id="formal-title-gentext"> + <xsl:param name="key" select="''"/> + <fo:block + xsl:use-attribute-sets="title.content.properties formal.title.properties"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="$key"/> + </xsl:call-template> + </fo:block> + </xsl:template> + + <!-- Article Titles --> + <dtm:doc dtm:idref="title.article-titles-mode"/> + <xsl:template match="title" mode="article.titles.mode" dtm:id="title.article-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Appendix Titles --> + <dtm:doc dtm:idref="title.appendix-titles-mode"/> + <xsl:template match="title" mode="appendix.titles.mode" dtm:id="title.appendix-titles-mode"> + <fo:block> + <xsl:choose> + <xsl:when test="$appendix.autolabel"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'appendix'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:number level="single" count="appendix" format="A. "/> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="empty-title"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:template> + + <!-- Part Titles --> + <dtm:doc dtm:idref="title.part-titles-mode"/> + <xsl:template match="title" mode="part.titles.mode" dtm:id="title.part-titles-mode"> + <fo:block> + <xsl:choose> + <xsl:when test="$part.autolabel"> + <xsl:number level="single" count="part" format="I. "/> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="empty-title"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="title.reference-titles-mode"/> + <xsl:template match="title" mode="reference.titles.mode" dtm:id="title.reference-titles-mode"> + <fo:block + xsl:use-attribute-sets="title.content.properties + division.title.properties"> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Chapter Titles --> + <dtm:doc dtm:idref="title.chapter-titles-mode"/> + <xsl:template match="title" mode="chapter.titles.mode" dtm:id="title.chapter-titles-mode"> + <fo:block> + <xsl:choose> + <xsl:when test="$chapter.autolabel"> + <fo:inline> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'chapter'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:number level="single" count="chapter" format="1. "/> + </fo:inline> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="empty-title"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:template> + + <!-- Simplesect titles --> + <dtm:doc dtm:idref="title.simplesect-titles-mode"/> + <xsl:template match="title" mode="simplesect.titles.mode" dtm:id="title.simplesect-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Preface Titles --> + <dtm:doc dtm:idref="title.preface-titles-mode"/> + <xsl:template match="title" mode="preface.titles.mode" dtm:id="title.preface-titles-mode"> + <fo:block> + <xsl:choose> + <xsl:when test="$preface.autolabel"> + <fo:inline> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'preface'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:number level="single" count="preface" format="I. "/> + </fo:inline> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="empty-title"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:template> + + <!-- Section Titles --> + <dtm:doc dtm:idref="title.section-titles-mode"/> + <xsl:template match="title" mode="section.titles.mode" dtm:id="title.section-titles-mode"> + <xsl:param name="level"> + <xsl:call-template name="section.level"/> + </xsl:param> + <xsl:param name="heading"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'section'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + </xsl:param> + <xsl:variable name="title.content"> + <xsl:choose> + <xsl:when test="$section.autolabel"> + <xsl:if test="not(ancestor::refentry)"> + <xsl:value-of select="$heading"/> + </xsl:if> + <xsl:choose> + <xsl:when test="$section.label.includes.component.label"> + <xsl:choose> + <xsl:when test="ancestor::appendix"> + <xsl:number + level="multiple" + count="appendix|section|sect1|sect2|sect3|sect4|sect5| + refsect1|refsect2|refsect3" + format="A.1. "/> + </xsl:when> + <xsl:when test="ancestor::refentry"> + </xsl:when> + <xsl:otherwise> + <xsl:number + level="multiple" + count="chapter|qandadiv|section| + sect1|sect2|sect3|sect4|sect5| + refsect1|refsect2|refsect3" + format="1. "/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:number + level="multiple" + count="qandadiv|section|sect1|sect2|sect3|sect4|sect5| + refsect1|refsect2|refsect3" + format="1. "/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="empty-title"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:choose> + <xsl:when test="$level = 1"> + <fo:block + xsl:use-attribute-sets="section.title.level1.properties"> + <xsl:copy-of select="$title.content"/> + </fo:block> + </xsl:when> + <xsl:when test="$level = 2"> + <fo:block + xsl:use-attribute-sets="section.title.level2.properties"> + <xsl:copy-of select="$title.content"/> + </fo:block> + </xsl:when> + <xsl:when test="$level = 3"> + <fo:block + xsl:use-attribute-sets="section.title.level3.properties"> + <xsl:copy-of select="$title.content"/> + </fo:block> + </xsl:when> + <xsl:when test="$level = 4"> + <fo:block + xsl:use-attribute-sets="section.title.level4.properties"> + <xsl:copy-of select="$title.content"/> + </fo:block> + </xsl:when> + <xsl:when test="$level = 5"> + <fo:block + xsl:use-attribute-sets="section.title.level5.properties"> + <xsl:copy-of select="$title.content"/> + </fo:block> + </xsl:when> + <xsl:otherwise> + <fo:block + xsl:use-attribute-sets="section.title.level5.properties"> + <xsl:copy-of select="$title.content"/> + </fo:block> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- Set Titles --> + <dtm:doc dtm:idref="title.set-titles-mode"/> + <xsl:template match="title" mode="set.titles.mode" dtm:id="title.set-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Book Titles --> + <dtm:doc dtm:idref="title.book-titles-mode"/> + <xsl:template match="title" mode="book.titles.mode" dtm:id="title.book-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Bibliodiv Titles --> + <dtm:doc dtm:idref="title.bibliodiv-titles-mode"/> + <xsl:template match="title" mode="bibliodiv.titles.mode" dtm:id="title.bibliodiv-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Bibliography Titles --> + <dtm:doc dtm:idref="bibliography.title"/> + <xsl:template name="bibliography.title" dtm:id="bibliography.title"> + <xsl:param name="node" select="."/> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'bibliography'"/> + </xsl:call-template> + </fo:block> + <xsl:apply-templates select="title"/> + </xsl:template> + + <!-- Glossary Titles --> + <dtm:doc dtm:idref="title.glossary-titles-mode"/> + <xsl:template name="title" mode="glossary.titles.mode" dtm:id="title.glossary-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Glossdiv Titles --> + <dtm:doc dtm:idref="title.glossdiv-titles-mode"/> + <xsl:template match="title" mode="glossdiv.titles.mode" dtm:id="title.glossdiv-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <!-- Information wrappers --> + <dtm:doc dtm:idref="infoes"/> + <xsl:template match="articleinfo|artheader|bookbiblio|docinfo|objectinfo|refsynopsisdivinfo|sect1info|sect2info|sect3info|sect4info|sect5info|sectioninfo|setinfo" dtm:id="infoes"> + <fo:block> + <xsl:apply-templates/> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="title.refsynopsisdiv-titles-mode"/> + <xsl:template match="title" mode="refsynopsisdiv.titles.mode" dtm:id="title.refsynopsisdiv-titles-mode"> + <fo:block> + <xsl:call-template name="empty-title"/> + </fo:block> + </xsl:template> + + <dtm:doc dtm:idref="serna.fold.template"/> + <xsl:template name="serna.fold.template" dtm:id="serna.fold.template"> + <xsl:apply-templates select="." mode="serna.fold" + xse:apply-serna-fold-template="false"/> + </xsl:template> + + <dtm:doc dtm:idref="all.serna-fold"/> + <xsl:template match="*" mode="serna.fold" dtm:id="all.serna-fold"> + <se:fold se:fold=""/> + </xsl:template> + +</xsl:stylesheet> + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.labels.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.labels.xsl new file mode 100644 index 0000000..92a9fc7 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.labels.xsl @@ -0,0 +1,553 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:xse="http://www.syntext.com/Extensions/XSLT-1.0" + xmlns:dtm="http://syntext.com/Extensions/DocumentTypeMetadata-1.0" + extension-element-prefixes="dtm" + exclude-result-prefixes="doc" + version='1.0'> + +<dtm:doc dtm:idref="all.intralabel-punctuation"/> +<xsl:template match="*" mode="intralabel.punctuation" dtm:id="all.intralabel-punctuation"> + <xsl:text>.</xsl:text> +</xsl:template> + +<dtm:doc dtm:idref="all.label-markup"/> +<xsl:template match="*" mode="label.markup" dtm:id="all.label-markup"> + <xsl:text>UNKNOWN LABEL MARKUP</xsl:text> +</xsl:template> + +<dtm:doc dtm:idref="sb.label-markup"/> +<xsl:template match="set|book" mode="label.markup" dtm:id="sb.label-markup"> + <xsl:if test="@label"> + <xsl:value-of select="@label"/> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="part.label-markup"/> +<xsl:template match="part" mode="label.markup" dtm:id="part.label-markup"> + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$part.autolabel != 0"> + <xsl:number from="book" count="part" format="I"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="partintro.label-markup"/> +<xsl:template match="partintro" mode="label.markup" dtm:id="partintro.label-markup"> + <!-- no label --> +</xsl:template> + +<dtm:doc dtm:idref="preface.label-markup"/> +<xsl:template match="preface" mode="label.markup" dtm:id="preface.label-markup"> + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$preface.autolabel != 0"> + <xsl:choose> + <xsl:when test="$label.from.part != 0 and ancestor::part"> + <xsl:number from="part" count="preface" format="1" level="any"/> + </xsl:when> + <xsl:otherwise> + <xsl:number from="book" count="preface" format="1" level="any"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="chapter.label-markup"/> +<xsl:template match="chapter" mode="label.markup" dtm:id="chapter.label-markup"> + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$chapter.autolabel != 0"> + <xsl:choose> + <xsl:when test="$label.from.part != 0 and ancestor::part"> + <xsl:number from="part" count="chapter" format="1" level="any"/> + </xsl:when> + <xsl:otherwise> + <xsl:number from="book" count="chapter" format="1" level="any"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="appendix.label-markup"/> +<xsl:template match="appendix" mode="label.markup" dtm:id="appendix.label-markup"> + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$appendix.autolabel != 0"> + <xsl:choose> + <xsl:when test="$label.from.part != 0 and ancestor::part"> + <xsl:number from="part" count="appendix" format="A" level="any"/> + </xsl:when> + <xsl:otherwise> + <xsl:number from="book|article" + count="appendix" format="A" level="any"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="article.label-markup"/> +<xsl:template match="article" mode="label.markup" dtm:id="article.label-markup"> + <xsl:if test="@label"> + <xsl:value-of select="@label"/> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="dc.label-markup"/> +<xsl:template match="dedication|colophon" mode="label.markup" dtm:id="dc.label-markup"> + <xsl:if test="@label"> + <xsl:value-of select="@label"/> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="reference.label-markup"/> +<xsl:template match="reference" mode="label.markup" dtm:id="reference.label-markup"> + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$part.autolabel != 0"> + <xsl:number from="book" count="reference" format="I" level="any"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="refentry.label-markup"/> +<xsl:template match="refentry" mode="label.markup" dtm:id="refentry.label-markup"> + <xsl:if test="@label"> + <xsl:value-of select="@label"/> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="section.label-markup"/> +<xsl:template match="section" mode="label.markup" dtm:id="section.label-markup"> + <!-- if this is a nested section, label the parent --> + <xsl:if test="local-name(..) = 'section'"> + <xsl:variable name="parent.section.label"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:if test="$parent.section.label != ''"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select=".." mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:if> + + <!-- if the parent is a component, maybe label that too --> + <xsl:variable name="parent.is.component"> + <xsl:call-template name="is.component"> + <xsl:with-param name="node" select=".."/> + </xsl:call-template> + </xsl:variable> + + <!-- does this section get labelled? --> + <xsl:variable name="label"> + <xsl:call-template name="label.this.section"> + <xsl:with-param name="section" select="."/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="$section.label.includes.component.label != 0 + and $parent.is.component != 0"> + <xsl:variable name="parent.label"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:if test="$parent.label != ''"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select=".." mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:if> + + + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$label != 0"> + <xsl:number count="section"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="sect1.label-markup"/> +<xsl:template match="sect1" mode="label.markup" dtm:id="sect1.label-markup"> + <!-- if the parent is a component, maybe label that too --> + <xsl:variable name="parent.is.component"> + <xsl:call-template name="is.component"> + <xsl:with-param name="node" select=".."/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="$section.label.includes.component.label != 0 + and $parent.is.component"> + <xsl:variable name="parent.label"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:if test="$parent.label != ''"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select=".." mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:if> + + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$section.autolabel != 0"> + <xsl:number count="sect1"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="sections.label-markup"/> +<xsl:template match="sect2|sect3|sect4|sect5" mode="label.markup" dtm:id="sections.label-markup"> + <!-- label the parent --> + <xsl:variable name="parent.label"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:if test="$parent.label != ''"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select=".." mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$section.autolabel != 0"> + <xsl:choose> + <xsl:when test="local-name(.) = 'sect2'"> + <xsl:number count="sect2"/> + </xsl:when> + <xsl:when test="local-name(.) = 'sect3'"> + <xsl:number count="sect3"/> + </xsl:when> + <xsl:when test="local-name(.) = 'sect4'"> + <xsl:number count="sect4"/> + </xsl:when> + <xsl:when test="local-name(.) = 'sect5'"> + <xsl:number count="sect5"/> + </xsl:when> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="bridgehead.label-markup"/> +<xsl:template match="bridgehead" mode="label.markup" dtm:id="bridgehead.label-markup"> + <!-- FIXME: could we do a better job here? --> + <xsl:variable name="contsec" + select="(ancestor::section + |ancestor::simplesect + |ancestor::sect1 + |ancestor::sect2 + |ancestor::sect3 + |ancestor::sect4 + |ancestor::sect5 + |ancestor::refsect1 + |ancestor::refsect2 + |ancestor::refsect3 + |ancestor::chapter + |ancestor::appendix + |ancestor::preface)[last()]"/> + + <xsl:apply-templates select="$contsec" mode="label.markup" xse:apply-serna-fold-template="false"/> +</xsl:template> + +<dtm:doc dtm:idref="refsect1.label-markup"/> +<xsl:template match="refsect1" mode="label.markup" dtm:id="refsect1.label-markup"> + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$section.autolabel != 0"> + <xsl:number count="refsect1"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="refsects.label-markup"/> +<xsl:template match="refsect2|refsect3" mode="label.markup" dtm:id="refsects.label-markup"> + <!-- label the parent --> + <xsl:variable name="parent.label"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:if test="$parent.label != ''"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select=".." mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$section.autolabel != 0"> + <xsl:choose> + <xsl:when test="local-name(.) = 'refsect2'"> + <xsl:number count="refsect2"/> + </xsl:when> + <xsl:otherwise> + <xsl:number count="refsect3"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="simplesect.label-markup"/> +<xsl:template match="simplesect" mode="label.markup" dtm:id="simplesect.label-markup"> + <!-- if this is a nested section, label the parent --> + <xsl:if test="local-name(..) = 'section' + or local-name(..) = 'sect1' + or local-name(..) = 'sect2' + or local-name(..) = 'sect3' + or local-name(..) = 'sect4' + or local-name(..) = 'sect5'"> + <xsl:variable name="parent.section.label"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:if test="$parent.section.label != ''"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select=".." mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:if> + + <!-- if the parent is a component, maybe label that too --> + <xsl:variable name="parent.is.component"> + <xsl:call-template name="is.component"> + <xsl:with-param name="node" select=".."/> + </xsl:call-template> + </xsl:variable> + + <!-- does this section get labelled? --> + <xsl:variable name="label"> + <xsl:call-template name="label.this.section"> + <xsl:with-param name="section" select="."/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="$section.label.includes.component.label != 0 + and $parent.is.component != 0"> + <xsl:variable name="parent.label"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:if test="$parent.label != ''"> + <xsl:apply-templates select=".." mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select=".." mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:if> + + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$label != 0"> + <xsl:number count="simplesect"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="qandadiv.label-markup"/> +<xsl:template match="qandadiv" mode="label.markup" dtm:id="qandadiv.label-markup"> + <xsl:variable name="lparent" select="(ancestor::set + |ancestor::book + |ancestor::chapter + |ancestor::appendix + |ancestor::preface + |ancestor::section + |ancestor::simplesect + |ancestor::sect1 + |ancestor::sect2 + |ancestor::sect3 + |ancestor::sect4 + |ancestor::sect5 + |ancestor::refsect1 + |ancestor::refsect2 + |ancestor::refsect3)[last()]"/> + + <xsl:variable name="lparent.prefix"> + <xsl:apply-templates select="$lparent" mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + + <xsl:variable name="prefix"> + <xsl:if test="$qanda.inherit.numeration != 0"> + <xsl:if test="$lparent.prefix != ''"> + <xsl:apply-templates select="$lparent" mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select="$lparent" mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:if> + </xsl:variable> + + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="$prefix"/> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="$qandadiv.autolabel != 0"> + <xsl:value-of select="$prefix"/> + <xsl:number level="multiple" count="qandadiv" format="1"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="bgis.label-markup"/> +<xsl:template match="bibliography|glossary|index|setindex" mode="label.markup" dtm:id="bgis.label-markup"> + <xsl:if test="@label"> + <xsl:value-of select="@label"/> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="ftep.label-markup"/> +<xsl:template match="figure|table|example|procedure" mode="label.markup" dtm:id="ftep.label-markup"> + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:when test="local-name() = 'procedure' and + $formal.procedures = 0"> + <!-- No label --> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="count.title"/> + </xsl:otherwise> + </xsl:choose> + +</xsl:template> + +<dtm:doc dtm:idref="equation.label-markup"/> +<xsl:template match="equation" mode="label.markup" dtm:id="equation.label-markup"> + <xsl:variable name="pchap" + select="ancestor::chapter + |ancestor::appendix + |ancestor::article[ancestor::book]"/> + + <xsl:variable name="prefix"> + <xsl:if test="count($pchap) > 0"> + <xsl:apply-templates select="$pchap" mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:variable> + + <xsl:choose> + <xsl:when test="@label"> + <xsl:value-of select="@label"/> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="count($pchap)>0"> + <xsl:if test="$prefix != ''"> + <xsl:apply-templates select="$pchap" mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select="$pchap" mode="intralabel.punctuation" xse:apply-serna-fold-template="false"/> + </xsl:if> + <xsl:number format="1" count="equation[title]" from="chapter|appendix" level="any"/> + </xsl:when> + <xsl:otherwise> + <xsl:number format="1" count="equation[title]" from="book|article" level="any"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="abstract.label-markup"/> +<xsl:template match="abstract" mode="label.markup" dtm:id="abstract.label-markup"> + <!-- nop --> +</xsl:template> + +<!-- ============================================================ --> +<dtm:doc dtm:idref="label.this.sect"/> +<xsl:template name="label.this.section" dtm:id="label.this.sect"> + <xsl:param name="section" select="."/> + <xsl:value-of select="$section.autolabel"/> +</xsl:template> + +<!-- ============================================================ --> +<dtm:doc dtm:idref="qa.label-markup"/> +<xsl:template match="question|answer" mode="label.markup" dtm:id="qa.label-markup"> + <!-- xsl:variable name="lparent" select="(ancestor::set + |ancestor::book + |ancestor::chapter + |ancestor::appendix + |ancestor::preface + |ancestor::section + |ancestor::simplesect + |ancestor::sect1 + |ancestor::sect2 + |ancestor::sect3 + |ancestor::sect4 + |ancestor::sect5 + |ancestor::refsect1 + |ancestor::refsect2 + |ancestor::refsect3)[last()]"/ --> + + <!-- xsl:variable name="lparent.prefix"> + <xsl:apply-templates select="$lparent" mode="label.markup"/> + </xsl:variable --> + + <xsl:variable name="prefix"> + <xsl:if test="$qanda.inherit.numeration != 0"> + <!-- xsl:if test="$lparent.prefix != ''"> + <xsl:apply-templates select="$lparent" mode="label.markup"/> + <xsl:apply-templates select="$lparent" mode="intralabel.punctuation"/> + </xsl:if --> + <xsl:if test="ancestor::qandadiv"> + <xsl:apply-templates select="ancestor::qandadiv[1]" mode="label.markup" xse:apply-serna-fold-template="false"/> + <xsl:apply-templates select="ancestor::qandadiv[1]" + mode="intralabel.punctuation" + xse:apply-serna-fold-template="false"/> + </xsl:if> + </xsl:if> + </xsl:variable> + + <xsl:variable name="inhlabel" + select="ancestor-or-self::qandaset/@defaultlabel[1]"/> + + <xsl:variable name="deflabel"> + <xsl:choose> + <xsl:when test="$inhlabel != ''"> + <xsl:value-of select="$inhlabel"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$qanda.defaultlabel"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="label" select="label[not(self::processing-instruction('se:choice'))]"/> + + <xsl:choose> + <xsl:when test="count($label)>0"> + <xsl:apply-templates select="$label" xse:apply-serna-fold-template="false"/> + </xsl:when> + + <xsl:when test="$deflabel = 'qanda' and self::question"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Question'"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="$deflabel = 'qanda' and self::answer"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Answer'"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="$deflabel = 'number' and self::question"> + <xsl:value-of select="$prefix"/> + <xsl:number level="multiple" count="qandaentry" format="1"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.titles.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.titles.xsl new file mode 100644 index 0000000..0c877a2 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.titles.xsl @@ -0,0 +1,525 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:dtm="http://syntext.com/Extensions/DocumentTypeMetadata-1.0" + extension-element-prefixes="dtm" + exclude-result-prefixes="doc" + version='1.0'> + +<dtm:doc dtm:idref="all.title-markup"/> +<xsl:template match="*" mode="title.markup" dtm:id="title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:param name="verbose" select="1"/> + + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title[1]" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="self::partintro"> + <!-- partintro's don't have titles, use the parent (part or reference) + title instead. --> + <xsl:apply-templates select="parent::*" mode="title.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>???TITLE???</xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="title.title-markup"/> +<xsl:template match="title" mode="title.markup" dtm:id="title.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + + <xsl:choose> + <xsl:when test="$allow-anchors != 0"> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="no.anchor.mode"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="set.title-markup"/> +<xsl:template match="set" mode="title.markup" dtm:id="set.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:apply-templates select="(setinfo/title|title)[1]" + mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="book.title-markup"/> +<xsl:template match="book" mode="title.markup" dtm:id="book.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:apply-templates select="(bookinfo/title|title)[1]" + mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="part.title-markup"/> +<xsl:template match="part" mode="title.markup" dtm:id="part.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:apply-templates select="((partinfo|docinfo)/title|title)[1]" + mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="pca.title-markup"/> +<xsl:template match="preface|chapter|appendix" mode="title.markup" dtm:id="pca.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + + <xsl:variable name="title" select="((docinfo|prefaceinfo + |chapterinfo|appendixinfo)/title + |title)[1]"/> + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="dedication.title-markup"/> +<xsl:template match="dedication" mode="title.markup" dtm:id="dedication.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Dedication'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="colophon.title-markup"/> +<xsl:template match="colophon" mode="title.markup" dtm:id="colophon.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Colophon'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="article.title-markup"/> +<xsl:template match="article" mode="title.markup" dtm:id="article.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="title" select="((artheader|articleinfo)/title + |title)[1]"/> + + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="reference.title-markup"/> +<xsl:template match="reference" mode="title.markup" dtm:id="reference.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:apply-templates select="((referenceinfo|docinfo)/title|title)[1]" + mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="refentry.title-markup"/> +<xsl:template match="refentry" mode="title.markup" dtm:id="refentry.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="refmeta" select=".//refmeta"/> + <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> + <xsl:variable name="refnamediv" select=".//refnamediv"/> + <xsl:variable name="refname" select="$refnamediv//refname"/> + + <xsl:variable name="title"> + <xsl:choose> + <xsl:when test="$refentrytitle"> + <xsl:apply-templates select="$refentrytitle[1]" mode="title.markup"/> + </xsl:when> + <xsl:when test="$refname"> + <xsl:apply-templates select="$refname[1]" mode="title.markup"/> + </xsl:when> + <xsl:otherwise>REFENTRY WITHOUT TITLE???</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:copy-of select="$title"/> +</xsl:template> + +<dtm:doc dtm:idref="rr.title-markup"/> +<xsl:template match="refentrytitle|refname" mode="title.markup" dtm:id="rr.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:choose> + <xsl:when test="$allow-anchors != 0"> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="no.anchor.mode"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="sections.title-markup"/> +<xsl:template match="section + |sect1|sect2|sect3|sect4|sect5 + |refsect1|refsect2|refsect3 + |simplesect" + mode="title.markup" dtm:id="sections.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="title" select="((sectioninfo|sect1info + |sect2info|sect3info + |sect4info|sect5info + |refsect1info|refsect2info + |refsect3info)/title + |title)[1]"/> + + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="bridgehead.title-markup"/> +<xsl:template match="bridgehead" mode="title.markup" dtm:id="bridgehead.title-markup"> + <xsl:apply-templates mode="title.markup"/> +</xsl:template> + +<dtm:doc dtm:idref="refsynopsisdiv.title-markup"/> +<xsl:template match="refsynopsisdiv" mode="title.markup" dtm:id="refsynopsisdiv.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'RefSynopsisDiv'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="bibliography.title-markup"/> +<xsl:template match="bibliography" mode="title.markup" dtm:id="bibliography.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="title" select="(bibliographyinfo/title|title)[1]"/> + <xsl:choose> + <xsl:when test="$title"> + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Bibliography'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="index.title-markup"/> +<xsl:template match="index" mode="title.markup" dtm:id="index.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="title" select="(indexinfo/title|title)[1]"/> + <xsl:choose> + <xsl:when test="$title"> + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Index'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="setindex.title-markup"/> +<xsl:template match="setindex" mode="title.markup" dtm:id="setindex.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="title" select="(setindexinfo/title|title)[1]"/> + <xsl:choose> + <xsl:when test="$title"> + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'SetIndex'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="ftee.title-markup"/> +<xsl:template match="figure|table|example|equation" mode="title.markup" dtm:id="ftee.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:apply-templates select="title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="procedure.title-markup"/> +<xsl:template match="procedure" mode="title.markup" dtm:id="procedure.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:apply-templates select="title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> +</xsl:template> + +<dtm:doc dtm:idref="abstract.title-markup"/> +<xsl:template match="abstract" mode="title.markup" dtm:id="abstract.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Abstract'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="ctwin.title-markup"/> +<xsl:template match="caution|tip|warning|important|note" mode="title.markup" dtm:idref="ctwin.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="title" select="title[1]"/> + <xsl:choose> + <xsl:when test="$title"> + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key"> + <xsl:choose> + <xsl:when test="self::note">Note</xsl:when> + <xsl:when test="self::important">Important</xsl:when> + <xsl:when test="self::caution">Caution</xsl:when> + <xsl:when test="self::warning">Warning</xsl:when> + <xsl:when test="self::tip">Tip</xsl:when> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="question.title-markup"/> +<xsl:template match="question" mode="title.markup" dtm:id="question.title-markup"> + <!-- questions don't have titles --> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'question'"/> + </xsl:call-template> +</xsl:template> + +<dtm:doc dtm:idref="answer.title-markup"/> +<xsl:template match="answer" mode="title.markup" dtm:id="answer.title-markup"> + <!-- answers don't have titles --> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'answer'"/> + </xsl:call-template> +</xsl:template> + +<dtm:doc dtm:idref="qandaentry.title-markup"/> +<xsl:template match="qandaentry" mode="title.markup" dtm:id="qandaentry.title-markup"> + <!-- qandaentrys are represented by the first question in them --> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'question'"/> + </xsl:call-template> +</xsl:template> + +<dtm:doc dtm:idref="legalnotice.title-markup"/> +<xsl:template match="legalnotice" mode="title.markup" dtm:id="legalnotice.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'LegalNotice'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ============================================================ --> +<dtm:doc dtm:idref="all.titleabbrev-markup"/> +<xsl:template match="*" mode="titleabbrev.markup" dtm:id="all.titleabbrev-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:param name="verbose" select="1"/> + + <xsl:choose> + <xsl:when test="titleabbrev"> + <xsl:apply-templates select="titleabbrev[1]" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="pca.titleabbrev-markup"/> +<xsl:template match="preface|chapter|appendix" mode="titleabbrev.markup" dtm:id="pca.titleabbrev-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:param name="verbose" select="1"/> + + <xsl:variable name="titleabbrev" select="((docinfo|prefaceinfo + |chapterinfo + |appendixinfo)/titleabbrev + |titleabbrev)[1]"/> + + <xsl:choose> + <xsl:when test="$titleabbrev"> + <xsl:apply-templates select="$titleabbrev" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="article.titleabbrev-markup"/> +<xsl:template match="article" mode="titleabbrev.markup" dtm:id="article.titleabbrev-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:param name="verbose" select="1"/> + + <xsl:variable name="titleabbrev" select="((artheader|articleinfo)/titleabbrev + |titleabbrev)[1]"/> + + <xsl:choose> + <xsl:when test="$titleabbrev"> + <xsl:apply-templates select="$titleabbrev" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="sections.titleabbrev-markup"/> +<xsl:template match="section + |sect1|sect2|sect3|sect4|sect5 + |refsect1|refsect2|refsect3 + |simplesect" + mode="titleabbrev.markup" dtm:id="sections.titleabbrev-markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:param name="verbose" select="1"/> + + <xsl:variable name="titleabbrev" select="((sectioninfo|sect1info + |sect2info|sect3info + |sect4info|sect5info + |refsect1info|refsect2info + |refsect3info)/titleabbrev + |titleabbrev)[1]"/> + + <xsl:choose> + <xsl:when test="$titleabbrev"> + <xsl:apply-templates select="$titleabbrev" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="titleabbrev.title-markup"/> +<xsl:template match="titleabbrev" mode="title.markup" dtm:id="titleabbrev.title-markup"> + <xsl:param name="allow-anchors" select="0"/> + + <xsl:choose> + <xsl:when test="$allow-anchors != 0"> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="no.anchor.mode"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ============================================================ --> +<dtm:doc dtm:idref="all.no-anchor-mode"/> +<xsl:template match="*" mode="no.anchor.mode" dtm:id="all.no-anchor-mode"> + <xsl:apply-templates mode="no.anchor.mode"/> +</xsl:template> + +<dtm:doc dtm:idref="footnote.no-anchor-mode"/> +<xsl:template match="footnote" mode="no.anchor.mode" dtm:id="footnote.no-anchor-mode"> + <!-- nop, suppressed --> +</xsl:template> + +<dtm:doc dtm:idref="anchor.no-anchor-mode"/> +<xsl:template match="anchor" mode="no.anchor.mode" dtm:id="anchor.no-anchor-mode"> + <!-- nop, suppressed --> +</xsl:template> + +<dtm:doc dtm:idref="ulink.no-anchor-mode"/> +<xsl:template match="ulink" mode="no.anchor.mode" dtm:id="ulink.no-anchor-mode"> + <xsl:apply-templates/> +</xsl:template> + +<dtm:doc dtm:idref="link.no-anchor-mode"/> +<xsl:template match="link" mode="no.anchor.mode" dtm:id="link.no-anchor-mode"> + <xsl:apply-templates/> +</xsl:template> + +<dtm:doc dtm:idref="olink.no-anchor-mode"/> +<xsl:template match="olink" mode="no.anchor.mode" dtm:id="olink.no-anchor-mode"> + <xsl:apply-templates/> +</xsl:template> + +<dtm:doc dtm:idref="indexterm.no-anchor-mode"/> +<xsl:template match="indexterm" mode="no.anchor.mode" dtm:id="indexterm.no-anchor-mode"> + <!-- nop, suppressed --> +</xsl:template> + +<dtm:doc dtm:idref="xref.no-anchor-mode"/> +<xsl:template match="xref" mode="no.anchor.mode" dtm:id="xref.no-anchor-mode"> + <!-- FIXME: this should generate the text without the link... --> +</xsl:template> + +</xsl:stylesheet> + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.xsl new file mode 100644 index 0000000..27dbdf4 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/toc.xsl @@ -0,0 +1,304 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:xse="http://www.syntext.com/Extensions/XSLT-1.0" + xmlns:dtm="http://syntext.com/Extensions/DocumentTypeMetadata-1.0" + extension-element-prefixes="dtm xse" + version='1.0'> + +<dtm:doc dtm:idref="set.toc"/> +<xsl:template name="set.toc" dtm:id="set.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:variable name="nodes" select="book|setindex"/> + + <fo:block + xsl:use-attribute-sets="title.content.properties component.title.properties"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'tableofcontents'"/> + </xsl:call-template> + </fo:block> + + <xsl:if test="$nodes"> + <fo:block xsl:use-attribute-sets="toc.margin.properties"> + <xsl:apply-templates select="$nodes" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="division.toc"/> +<xsl:template name="division.toc" dtm:id="division.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:variable name="nodes" + select="$toc-context/part + |$toc-context/reference + |$toc-context/preface + |$toc-context/chapter + |$toc-context/appendix + |$toc-context/article + |$toc-context/bibliography + |$toc-context/glossary + |$toc-context/index"/> + <fo:block + xsl:use-attribute-sets="title.content.properties component.title.properties"> + <fo:inline> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'tableofcontents'"/> + </xsl:call-template> + </fo:inline> + </fo:block> + + <xsl:if test="$nodes"> + <fo:block + xsl:use-attribute-sets="toc.margin.properties"> + <xsl:apply-templates select="$nodes" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="component.toc"/> +<xsl:template name="component.toc" dtm:id="component.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="nodes" select="section|sect1|refentry + |article|bibliography|glossary + |appendix"/> + <!-- fo:block + xsl:use-attribute-sets="title.content.properties section.title.level1.properties"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'toc'"/> + </xsl:call-template> + </fo:block --> + + <xsl:if test="$nodes"> + <fo:block xsl:use-attribute-sets="toc.margin.properties"> + <xsl:apply-templates select="$nodes" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="toc.line"/> +<xsl:template name="toc.line" dtm:id="toc.line"> + <xsl:variable name="label"> + <xsl:apply-templates select="." mode="label.markup" xse:apply-serna-fold-template="false"/> + </xsl:variable> + <xsl:variable name="is.component"> + <xsl:call-template name="is.component"> + </xsl:call-template> + </xsl:variable> + + <fo:block + end-indent="{$toc.indent.width}pt"> + <xsl:if test="$is.component = 1 or + local-name(.) = 'part' or local-name(.) = 'book'"> + <xsl:attribute name="font-weight"> + <xsl:text>bold</xsl:text> + </xsl:attribute> + </xsl:if> + <fo:inline> + <xsl:if test="$label != ''"> + <xsl:copy-of select="$label"/> + <xsl:value-of select="$autotoc.label.separator"/> + </xsl:if> + <xsl:apply-templates select="." mode="title.markup" xse:apply-serna-fold-template="false"/> + </fo:inline> + </fo:block> +</xsl:template> + +<dtm:doc dtm:idref="bs.toc"/> +<xsl:template match="book|setindex" mode="toc" dtm:id="bs.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:call-template name="toc.line"/> + + <xsl:variable name="nodes" select="glossary|bibliography|preface|chapter + |reference|part|article|appendix|index"/> + + <xsl:if test="$toc.section.depth > 0 and $nodes"> + <fo:block start-indent="{count(ancestor::*)*$toc.indent.width}pt"> + <xsl:apply-templates select="$nodes" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="part.toc"/> +<xsl:template match="part" mode="toc" dtm:id="part.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> + + <xsl:variable name="nodes" select="chapter|appendix|preface|reference|article"/> + + <xsl:if test="$toc.section.depth > 0 and $nodes"> + <fo:block start-indent="{count(ancestor::*)*$toc.indent.width}pt"> + <xsl:apply-templates select="$nodes" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="rb.toc"/> +<xsl:template match="refentry|book" mode="toc" dtm:id="rb.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> +</xsl:template> + +<dtm:doc dtm:idref="pcaa.toc"/> +<xsl:template match="preface|chapter|appendix|article" + mode="toc" dtm:id="pcaa.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> + + <xsl:variable name="nodes" select="section|sect1"/> + + <xsl:if test="$toc.section.depth > 0 and $nodes"> + <fo:block start-indent="{count(ancestor::*)*$toc.indent.width}pt"> + <xsl:apply-templates select="$nodes" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="sect1.toc"/> +<xsl:template match="sect1" mode="toc" dtm:id="sect1.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> + + <xsl:if test="$toc.section.depth > 1 and sect2"> + <fo:block + start-indent="{count(ancestor::*)*$toc.indent.width}pt"> + <xsl:apply-templates select="sect2" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="sect2.toc"/> +<xsl:template match="sect2" mode="toc" dtm:id="sect2.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> + + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 2 and sect3"> + <fo:block + start-indent="{$reldepth*$toc.indent.width}pt"> + <xsl:apply-templates select="sect3" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="sect3.toc"/> +<xsl:template match="sect3" mode="toc" dtm:id="sect3.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> + + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 3 and sect4"> + <fo:block + start-indent="{$reldepth*$toc.indent.width}pt"> + <xsl:apply-templates select="sect4" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="sect4.toc"/> +<xsl:template match="sect4" mode="toc" dtm:id="sect4.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> + + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 4 and sect5"> + <fo:block + start-indent="{$reldepth*$toc.indent.width}pt"> + <xsl:apply-templates select="sect5" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="sect5.toc"/> +<xsl:template match="sect5" mode="toc" dtm:id="sect5.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> +</xsl:template> + +<dtm:doc dtm:idref="section.toc"/> +<xsl:template match="section" mode="toc" dtm:id="section.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="depth" select="count(ancestor::section) + 1"/> + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth >= $depth"> + <xsl:call-template name="toc.line"/> + + <xsl:if test="$toc.section.depth > $depth and section"> + <fo:block + start-indent="{$reldepth*$toc.indent.width}pt"> + <xsl:apply-templates select="section" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="bg.toc"/> +<xsl:template match="bibliography|glossary" + mode="toc" dtm:id="bg.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> +</xsl:template> + +<dtm:doc dtm:idref="reference.toc"/> +<xsl:template match="reference" mode="toc" dtm:id="reference.toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"/> + + <xsl:if test="$toc.section.depth > 0 and refentry"> + <fo:block + start-indent="{count(ancestor::*)*$toc.indent.width}pt"> + <xsl:apply-templates select="refentry" mode="toc" xse:apply-serna-fold-template="false"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<dtm:doc dtm:idref="title.toc"/> +<xsl:template match="title" mode="toc" dtm:id="title.toc"> + <xsl:apply-templates xse:apply-serna-fold-template="false"/> +</xsl:template> + +</xsl:stylesheet> + diff --git a/doc/editor_configs/serna/scons/docbook-xsl-serna/xref.xsl b/doc/editor_configs/serna/scons/docbook-xsl-serna/xref.xsl new file mode 100644 index 0000000..1566d46 --- /dev/null +++ b/doc/editor_configs/serna/scons/docbook-xsl-serna/xref.xsl @@ -0,0 +1,624 @@ +<?xml version='1.0' encoding='utf-8'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:exsl="http://exslt.org/common" + xmlns:dtm="http://syntext.com/Extensions/DocumentTypeMetadata-1.0" + xmlns:xse="http://www.syntext.com/Extensions/XSLT-1.0" + extension-element-prefixes="dtm" + exclude-result-prefixes="xse exsl" version="1.0"> + + <xsl:include href="gentext.xsl"/> + + <dtm:doc dtm:idref="xref"/> + <xsl:template match="xref" name="xref" dtm:id="xref"> + <xsl:variable name="target" select="id(@linkend)"/> + <xsl:variable name="refelem" select="local-name($target)"/> + + <fo:inline> + <xsl:choose> + <xsl:when test="not($refelem)"> + <fo:inline color="#F00000">[XRef: Nonexistent linkend ID "<xsl:value-of select="@linkend"/>"]</fo:inline> + </xsl:when> + <xsl:when test="@endterm"> + <fo:inline xsl:use-attribute-sets="xref.properties"> + <xsl:variable name="etarget" select="id(@endterm)"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <fo:inline color="#F00000">[XRef: Nonexistent endterm ID "<xsl:value-of select="@endterm"/>"]</fo:inline> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm" + xse:apply-serna-fold-template="false"/> + </xsl:otherwise> + </xsl:choose> + </fo:inline> + </xsl:when> + <xsl:when test="$target/@xreflabel"> + <fo:inline xsl:use-attribute-sets="xref.properties"> + <xsl:call-template name="xref.xreflabel"> + <xsl:with-param name="target" select="$target"/> + </xsl:call-template> + </fo:inline> + </xsl:when> + <xsl:when test="@xreflabel"> + <fo:inline xsl:use-attribute-sets="xref.properties"> + <xsl:value-of select="@xreflabel"/> + </fo:inline> + </xsl:when> + <xsl:otherwise> + <fo:inline xsl:use-attribute-sets="xref.properties"> + <xsl:apply-templates select="$target" mode="xref-to" + xse:apply-serna-fold-template="false"> + <xsl:with-param name="referrer" select="."/> + <xsl:with-param name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:apply-templates> + </fo:inline> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="$insert.xref.page.number != 0 or local-name($target) = 'para'"> + <xsl:apply-templates select="$target" mode="page.citation" + xse:apply-serna-fold-template="false"> + <xsl:with-param name="id" select="@linkend"/> + </xsl:apply-templates> + </xsl:if> + </fo:inline> + </xsl:template> + + <dtm:doc dtm:idref="endterm.childs"/> + <xsl:template match="*" mode="endterm" dtm:id="endterm.childs"> + <!-- Process the children of the endterm element --> + <xsl:variable name="endterm"> + <xsl:apply-templates select="child::node()"/> + </xsl:variable> + <xsl:apply-templates select="$endterm" mode="remove-ids"/> + </xsl:template> + <xsl:template match="*" mode="remove-ids"> + <xsl:copy> + <xsl:for-each select="@*"> + <xsl:choose> + <xsl:when test="name(.) != 'id'"> + <xsl:copy/> + </xsl:when> + <xsl:otherwise> + <xsl:message>removing <xsl:value-of select="name(.)"/> +</xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + <xsl:apply-templates mode="remove-ids"/> + </xsl:copy> + </xsl:template> + + <dtm:doc dtm:idref="all.xref-to"/> + <xsl:template match="*" mode="xref-to" dtm:id="all.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:message> + <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>"</xsl:text> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:template> + <xsl:template match="title" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <!-- if you xref to a title, xref to the parent... --> + <xsl:choose> + <!-- FIXME: how reliable is this? --> + <xsl:when test="contains(local-name(parent::*), 'info')"> + <xsl:apply-templates select="parent::*[2]" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="parent::*" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <dtm:doc dtm:idref="elements.xref-to"/> + <xsl:template match="abstract|article|authorblurb|bibliodiv|bibliomset| + biblioset|blockquote|calloutlist|caution|colophon| + constraintdef|formalpara|glossdiv|important|indexdiv| + itemizedlist|legalnotice|lot|msg|msgexplan|msgmain| + msgrel|msgset|msgsub|note|orderedlist|partintro| + productionset|qandadiv|refsynopsisdiv|segmentedlist| + set|setindex|sidebar|tip|toc|variablelist|warning" mode="xref-to" dtm:id="elements.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <!-- catch-all for things with (possibly optional) titles --> <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="aeop.xref-to"/> + <xsl:template match="author|editor|othercredit|personname" mode="xref-to" dtm:id="aeop.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:call-template name="person.name"/> + </xsl:template> + + <dtm:doc dtm:idref="authorgroup.xref-to"/> + <xsl:template match="authorgroup" mode="xref-to" dtm:id="authorgroup.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:call-template name="person.name.list"/> + </xsl:template> + + <dtm:doc dtm:idref="fete.xref-to"/> + <xsl:template match="figure|example|table|equation" mode="xref-to" dtm:id="fete.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="procedure.xref-to"/> + <xsl:template match="procedure" mode="xref-to" dtm:id="procedure.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="cmdsynopsis.xref-to"/> + <xsl:template match="cmdsynopsis" mode="xref-to" dtm:id="cmdsynopsis.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="(.//command)[1]" mode="xref"/> + </xsl:template> + + <dtm:doc dtm:idref="funcsynopsis.xref-to"/> + <xsl:template match="funcsynopsis" mode="xref-to" dtm:id="funcsynopsis.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="(.//function)[1]" mode="xref"/> + </xsl:template> + + <dtm:doc dtm:idref="dpca.xref-to"/> + <xsl:template match="dedication|preface|chapter|appendix" mode="xref-to" dtm:id="dpca.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="bibliography.xref-to"/> + <xsl:template match="bibliography" mode="xref-to" dtm:id="bibliography.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="biblio.xref-to"/> + <xsl:template match="biblioentry|bibliomixed" mode="xref-to" dtm:id="biblio.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <!-- handles both biblioentry and bibliomixed --> + <xsl:text>[</xsl:text> + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection)"/> + <xsl:variable name="id" select="@id"/> + <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> + <xsl:apply-templates select="$entry/*[1]"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@id"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <xsl:value-of select="@id"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" + level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name(*[1]) = 'abbrev'"> + <xsl:apply-templates select="*[1]"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@id"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + <xsl:text>]</xsl:text> + </xsl:template> + + <dtm:doc dtm:idref="glossary.xref-to"/> + <xsl:template match="glossary" mode="xref-to" dtm:id="glossary.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="glossentry.xref-to"/> + <xsl:template match="glossentry" mode="xref-to" dtm:id="glossentry.xref-to"> + <xsl:choose> + <xsl:when test="$glossentry.show.acronym = 'primary'"> + <xsl:choose> + <xsl:when test="acronym|abbrev"> + <xsl:apply-templates select="(acronym|abbrev)[1]"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <dtm:doc dtm:idref="glossterm.xref-to"/> + <xsl:template match="glossterm" mode="xref-to" dtm:id="glossterm.xref-to"> + <xsl:apply-templates/> + </xsl:template> + + <dtm:doc dtm:idref="index.xref-to"/> + <xsl:template match="index" mode="xref-to" dtm:id="index.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="listitem.xref-to"/> + <xsl:template match="listitem" mode="xref-to" dtm:id="listitem.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="sections.xref-to"/> + <xsl:template match="section|simplesect|sect1|sect2|sect3|sect4| + sect5|refsect1|refsect2|refsect3" mode="xref-to" dtm:id="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + <!-- What about "in Chapter X"? --> + </xsl:template> + + <dtm:doc dtm:idref="bridgehead.xref-to"/> + <xsl:template match="bridgehead" mode="xref-to" dtm:id="bridgehead.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + <!-- What about "in Chapter X"? --> + </xsl:template> + + <dtm:doc dtm:idref="qandaset.xref-to"/> + <xsl:template match="qandaset" mode="xref-to" dtm:id="qandaset.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="qandadiv.xref-to"/> + <xsl:template match="qandadiv" mode="xref-to" dtm:id="qandadiv.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="qandaentry.xref-to"/> + <xsl:template match="qandaentry" mode="xref-to" dtm:id="qandaentry.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="question[1]" mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="qa.xref-to"/> + <xsl:template match="question|answer" mode="xref-to" dtm:id="qa.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="pr.xref-to"/> + <xsl:template match="part|reference" mode="xref-to" dtm:id="pr.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="refentry.xref-to"/> + <xsl:template match="refentry" mode="xref-to" dtm:id="refentry.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:choose> + <xsl:when test="refmeta/refentrytitle"> + <xsl:apply-templates select="refmeta/refentrytitle"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="refnamediv/refname[1]"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="refmeta/manvolnum"/> + </xsl:template> + + <dtm:doc dtm:idref="refnamediv.xref-to"/> + <xsl:template match="refnamediv" mode="xref-to" dtm:id="refnamediv.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="refname[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="refname.xref-to"/> + <xsl:template match="refname" mode="xref-to" dtm:id="refname.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="step.xref-to"/> + <xsl:template match="step" mode="xref-to" dtm:id="step.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text/> + <xsl:apply-templates select="." mode="number"/> + </xsl:template> + + <dtm:doc dtm:idref="varlistentry.xref-to"/> + <xsl:template match="varlistentry" mode="xref-to" dtm:id="varlistentry.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="term[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="term.varlistentry.xref-to"/> + <xsl:template match="varlistentry/term" mode="xref-to" dtm:id="term.varlistentry.xref-to"> + <!-- to avoid the comma that will be generated if there are several terms --> + <xsl:apply-templates/> + </xsl:template> + + <dtm:doc dtm:idref="co.xref-to"/> + <xsl:template match="co" mode="xref-to" dtm:id="co.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="callout-bug"/> + </xsl:template> + + <dtm:doc dtm:idref="book.xref-to"/> + <xsl:template match="book" mode="xref-to" dtm:id="book.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> + </xsl:template> + + <dtm:doc dtm:idref="para.xref-to"/> + <xsl:template match="para" mode="xref-to" dtm:id="para.xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:variable name="context" select="(ancestor::simplesect|ancestor::section|ancestor::sect1|ancestor::sect2|ancestor::sect3|ancestor::sect4|ancestor::sect5|ancestor::refsection |ancestor::refsect1 |ancestor::refsect2 |ancestor::refsect3 |ancestor::chapter |ancestor::appendix|ancestor::preface|ancestor::partintro|ancestor::dedication|ancestor::colophon|ancestor::bibliography|ancestor::index|ancestor::glossary|ancestor::glossentry|ancestor::listitem|ancestor::varlistentry)[last()]"/> + <xsl:apply-templates select="$context" mode="xref-to"/> + <!-- + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> +--> + </xsl:template> + +<dtm:doc dtm:idref="title.xref"/> +<xsl:template match="title" mode="xref" dtm:id="title.xref"> + <xsl:apply-templates/> +</xsl:template> + +<dtm:doc dtm:idref="command.xref"/> +<xsl:template match="command" mode="xref" dtm:id="command.xref"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<dtm:doc dtm:idref="function.xref"/> +<xsl:template match="function" mode="xref" dtm:id="function.xref"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +<dtm:doc dtm:idref="all.page-citation"/> +<xsl:template match="*" mode="page.citation" dtm:id="all.page-citation"> + <xsl:param name="id" select="'???'"/> + <fo:inline keep-together.within-line="always"> + <xsl:call-template name="substitute-markup"> + <xsl:with-param name="template"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="name" select="'page.citation'"/> + <xsl:with-param name="context" select="'xref'"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </fo:inline> +</xsl:template> + +<dtm:doc dtm:idref="all.pagenumber-markup"/> +<xsl:template match="*" mode="pagenumber.markup" dtm:id="all.pagenumber-markup"> + <!--fo:page-number-citation ref-id="{@id}"/--> +</xsl:template> + +<dtm:doc dtm:elements="xref/@xreflabel" dtm:idref="xref.xreflabel"/> +<xsl:template name="xref.xreflabel" dtm:id="xref.xreflabel"> + <!-- called to process an xreflabel...you might use this to make --> + <!-- xreflabels come out in the right font for different targets, --> + <!-- for example. --> + <xsl:param name="target" select="."/> + <xsl:value-of select="$target/@xreflabel"/> +</xsl:template> + +<dtm:doc dtm:idref="all.insert-title-markup"/> +<xsl:template match="*" mode="insert.title.markup" dtm:id="all.insert-title-markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <!-- FIXME: what about the case where titleabbrev is inside the info? --> + <xsl:when test="$purpose = 'xref' and titleabbrev"> + <xsl:apply-templates select="." mode="titleabbrev.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="ca.insert-title-markup"/> +<xsl:template match="chapter|appendix" mode="insert.title.markup" dtm:id="ca.insert-title-markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <xsl:when test="$purpose = 'xref'"> + <fo:inline font-style="italic"> + <xsl:value-of select="$title"/> + </fo:inline> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<dtm:doc dtm:idref="all.insert-subtitle-markup"/> +<xsl:template match="*" mode="insert.subtitle.markup" dtm:id="all.insert-subtitle-markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="subtitle"/> + + <xsl:value-of select="$subtitle"/> +</xsl:template> + +<dtm:doc dtm:idref="all.insert-pagenumber-markup"/> +<xsl:template match="*" mode="insert.pagenumber.markup" dtm:id="all.insert-pagenumber-markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="pagenumber"/> + + <xsl:value-of select="$pagenumber"/> +</xsl:template> + +<dtm:doc dtm:idref="all.insert-direction-markup"/> +<xsl:template match="*" mode="insert.direction.markup" dtm:id="all.insert-direction-markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="direction"/> + + <xsl:value-of select="$direction"/> +</xsl:template> + +<dtm:doc dtm:idref="all.insert-label-markup"/> +<xsl:template match="*" mode="insert.label.markup" dtm:id="all.insert-label-markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="label"/> + + <xsl:value-of select="$label"/> +</xsl:template> + +</xsl:stylesheet> + diff --git a/doc/editor_configs/serna/scons/dtd/README b/doc/editor_configs/serna/scons/dtd/README new file mode 100644 index 0000000..6fc60c4 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/README @@ -0,0 +1,8 @@ +README for the DocBook XML DTD + +For more information about DocBook, please see + + http://www.oasis-open.org/docbook/ + +Please send all questions, comments, concerns, and bug reports to the +DocBook mailing list: docbook@lists.oasis-open.org diff --git a/doc/editor_configs/serna/scons/dtd/calstblx.dtd b/doc/editor_configs/serna/scons/dtd/calstblx.dtd new file mode 100644 index 0000000..eef08c9 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/calstblx.dtd @@ -0,0 +1,215 @@ +<!-- ...................................................................... --> +<!-- DocBook CALS Table Model V4.5 ........................................ --> +<!-- File calstblx.mod .................................................... --> + +<!-- Copyright 1992-2002 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + This DTD is based on the CALS Table Model + PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" + + $Id: calstblx.dtd,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This module contains the definitions for the CALS Table Model + converted to XML. It has been modified slightly for use in the + combined HTML/CALS models supported by DocBook V4.5. +--> + +<!-- These definitions are not directly related to the table model, but are + used in the default CALS table model and are usually defined elsewhere + (and prior to the inclusion of this table module) in a CALS DTD. --> + +<!ENTITY % bodyatt ""> +<!ENTITY % secur ""> + +<!-- no if zero(s), + yes if any other digits value --> + +<!ENTITY % yesorno 'CDATA'> +<!ENTITY % titles 'title?'> + +<!-- default for use in entry content --> + +<!ENTITY % paracon '#PCDATA'> + +<!-- +The parameter entities as defined below provide the CALS table model +as published (as part of the Example DTD) in MIL-HDBK-28001. + +These following declarations provide the CALS-compliant default definitions +for these entities. However, these entities can and should be redefined +(by giving the appropriate parameter entity declaration(s) prior to the +reference to this Table Model declaration set entity) to fit the needs +of the current application. +--> + +<!ENTITY % tbl.table.name "(table|chart)"> +<!ENTITY % tbl.table-titles.mdl "%titles;,"> +<!ENTITY % tbl.table-main.mdl "(tgroup+|graphic+)"> +<!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;"> +<!ENTITY % tbl.table.att ' + tabstyle CDATA #IMPLIED + tocentry %yesorno; #IMPLIED + shortentry %yesorno; #IMPLIED + orient (port|land) #IMPLIED + pgwide %yesorno; #IMPLIED '> +<!ENTITY % tbl.tgroup.mdl "colspec*,spanspec*,thead?,tfoot?,tbody"> +<!ENTITY % tbl.tgroup.att ' + tgroupstyle CDATA #IMPLIED '> +<!ENTITY % tbl.hdft.mdl "colspec*,row+"> +<!ENTITY % tbl.row.mdl "(entry|entrytbl)+"> +<!ENTITY % tbl.entrytbl.mdl "colspec*,spanspec*,thead?,tbody"> +<!ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon;)*"> + +<!ENTITY % tbl.frame.attval "top|bottom|topbot|all|sides|none"> +<!ENTITY % tbl.tbody.mdl "row+"> + +<!-- ===== Element and attribute declarations follow. ===== --> + +<!--doc:A formal table in a document.--> +<!ELEMENT table %ho; (%tbl.table.mdl;)> + +<!ATTLIST table + frame (%tbl.frame.attval;) #IMPLIED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + %tbl.table.att; + %bodyatt; + %secur; +> + +<!--doc:A wrapper for the main content of a table, or part of a table.--> +<!ELEMENT tgroup %ho; (%tbl.tgroup.mdl;) > + +<!ATTLIST tgroup + cols CDATA #REQUIRED + %tbl.tgroup.att; + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED + %secur; +> + +<!--doc:Specifications for a column in a table.--> +<!ELEMENT colspec %ho; EMPTY > + +<!ATTLIST colspec + colnum CDATA #IMPLIED + colname CDATA #IMPLIED + colwidth CDATA #IMPLIED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED +> + +<!--doc:Formatting information for a spanned column in a table.--> +<!ELEMENT spanspec %ho; EMPTY > + +<!ATTLIST spanspec + namest CDATA #REQUIRED + nameend CDATA #REQUIRED + spanname CDATA #REQUIRED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED +> + +<!--doc:A table header consisting of one or more rows.--> +<!ELEMENT thead %ho; (%tbl.hdft.mdl;)> +<!ATTLIST thead + valign (top|middle|bottom) #IMPLIED + %secur; +> + +<!--doc:A table footer consisting of one or more rows.--> +<!ELEMENT tfoot %ho; (%tbl.hdft.mdl;)> +<!ATTLIST tfoot + valign (top|middle|bottom) #IMPLIED + %secur; +> + +<!--doc:A wrapper for the rows of a table or informal table.--> +<!ELEMENT tbody %ho; (%tbl.tbody.mdl;)> + +<!ATTLIST tbody + valign (top|middle|bottom) #IMPLIED + %secur; +> + +<!--doc:A row in a table.--> +<!ELEMENT row %ho; (%tbl.row.mdl;)> + +<!ATTLIST row + rowsep %yesorno; #IMPLIED + valign (top|middle|bottom) #IMPLIED + %secur; +> + +<!--doc:A subtable appearing in place of an Entry in a table.--> +<!ELEMENT entrytbl %ho; (%tbl.entrytbl.mdl;)> + +<!ATTLIST entrytbl + cols CDATA #REQUIRED + %tbl.tgroup.att; + colname CDATA #IMPLIED + spanname CDATA #IMPLIED + namest CDATA #IMPLIED + nameend CDATA #IMPLIED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED + %secur; +> + +<!--doc:A cell in a table.--> +<!ELEMENT entry %ho; (%tbl.entry.mdl;)*> + +<!ATTLIST entry + colname CDATA #IMPLIED + namest CDATA #IMPLIED + nameend CDATA #IMPLIED + spanname CDATA #IMPLIED + morerows CDATA #IMPLIED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED + rotate %yesorno; #IMPLIED + valign (top|middle|bottom) #IMPLIED + %secur; +> + +<!-- End of DocBook CALS Table Model V4.5 ................................. --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/calstblx.rng b/doc/editor_configs/serna/scons/dtd/calstblx.rng new file mode 100644 index 0000000..e64b29c --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/calstblx.rng @@ -0,0 +1,477 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- ...................................................................... --> +<!-- DocBook CALS Table Model V4.5 ........................................ --> +<!-- File calstblx.mod .................................................... --> +<!-- + Copyright 1992-2002 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + This DTD is based on the CALS Table Model + PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" + + $Id: calstblx.dtd,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> +<!-- ...................................................................... --> +<!-- + This module contains the definitions for the CALS Table Model + converted to XML. It has been modified slightly for use in the + combined HTML/CALS models supported by DocBook V4.5. +--> +<!-- + These definitions are not directly related to the table model, but are + used in the default CALS table model and are usually defined elsewhere + (and prior to the inclusion of this table module) in a CALS DTD. +--> +<!-- + no if zero(s), + yes if any other digits value +--> +<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary=""> + <define name="yesorno"> + <data type="string"/> + </define> + <define name="titles"> + <optional> + <ref name="title"/> + </optional> + </define> + <!-- default for use in entry content --> + <!-- + The parameter entities as defined below provide the CALS table model + as published (as part of the Example DTD) in MIL-HDBK-28001. + + These following declarations provide the CALS-compliant default definitions + for these entities. However, these entities can and should be redefined + (by giving the appropriate parameter entity declaration(s) prior to the + reference to this Table Model declaration set entity) to fit the needs + of the current application. + --> + <define name="tbl.table-titles.mdl"> + <ref name="titles"/> + </define> + <define name="tbl.table-main.mdl"> + <choice> + <oneOrMore> + <ref name="tgroup"/> + </oneOrMore> + <oneOrMore> + <ref name="graphic"/> + </oneOrMore> + </choice> + </define> + <define name="tbl.tgroup.mdl"> + <zeroOrMore> + <ref name="colspec"/> + </zeroOrMore> + <zeroOrMore> + <ref name="spanspec"/> + </zeroOrMore> + <optional> + <ref name="thead"/> + </optional> + <optional> + <ref name="tfoot"/> + </optional> + <ref name="tbody"/> + </define> + <define name="tbl.tgroup.att"> + <optional> + <attribute name="tgroupstyle"/> + </optional> + </define> + <define name="tbl.row.mdl"> + <oneOrMore> + <choice> + <ref name="entry"/> + <ref name="entrytbl"/> + </choice> + </oneOrMore> + </define> + <define name="tbl.entrytbl.mdl"> + <zeroOrMore> + <ref name="colspec"/> + </zeroOrMore> + <zeroOrMore> + <ref name="spanspec"/> + </zeroOrMore> + <optional> + <ref name="thead"/> + </optional> + <ref name="tbody"/> + </define> + <!-- ===== Element and attribute declarations follow. ===== --> + <!-- doc:A formal table in a document. --> + <define name="table"> + <element name="table"> + <ref name="table.attlist"/> + <ref name="tbl.table.mdl"/> + </element> + </define> + <define name="table.attlist" combine="interleave"> + <optional> + <attribute name="frame"> + <choice> + <ref name="tbl.frame.attval"/> + </choice> + </attribute> + </optional> + <optional> + <attribute name="colsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="rowsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <ref name="tbl.table.att"/> + <ref name="bodyatt"/> + <ref name="secur"/> + </define> + <!-- doc:A wrapper for the main content of a table, or part of a table. --> + <define name="tgroup"> + <element name="tgroup"> + <ref name="tgroup.attlist"/> + <ref name="tbl.tgroup.mdl"/> + </element> + </define> + <define name="tgroup.attlist" combine="interleave"> + <attribute name="cols"/> + <ref name="tbl.tgroup.att"/> + <optional> + <attribute name="colsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="rowsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="align"> + <choice> + <value>left</value> + <value>right</value> + <value>center</value> + <value>justify</value> + <value>char</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="char"/> + </optional> + <optional> + <attribute name="charoff"/> + </optional> + <ref name="secur"/> + </define> + <!-- doc:Specifications for a column in a table. --> + <define name="colspec"> + <element name="colspec"> + <ref name="colspec.attlist"/> + <empty/> + </element> + </define> + <define name="colspec.attlist" combine="interleave"> + <optional> + <attribute name="colnum"/> + </optional> + <optional> + <attribute name="colname"/> + </optional> + <optional> + <attribute name="colwidth"/> + </optional> + <optional> + <attribute name="colsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="rowsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="align"> + <choice> + <value>left</value> + <value>right</value> + <value>center</value> + <value>justify</value> + <value>char</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="char"/> + </optional> + <optional> + <attribute name="charoff"/> + </optional> + </define> + <!-- doc:Formatting information for a spanned column in a table. --> + <define name="spanspec"> + <element name="spanspec"> + <ref name="spanspec.attlist"/> + <empty/> + </element> + </define> + <define name="spanspec.attlist" combine="interleave"> + <attribute name="namest"/> + <attribute name="nameend"/> + <attribute name="spanname"/> + <optional> + <attribute name="colsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="rowsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="align"> + <choice> + <value>left</value> + <value>right</value> + <value>center</value> + <value>justify</value> + <value>char</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="char"/> + </optional> + <optional> + <attribute name="charoff"/> + </optional> + </define> + <!-- doc:A table header consisting of one or more rows. --> + <define name="thead"> + <element name="thead"> + <ref name="thead.attlist"/> + <ref name="tbl.hdft.mdl"/> + </element> + </define> + <define name="thead.attlist" combine="interleave"> + <optional> + <attribute name="valign"> + <choice> + <value>top</value> + <value>middle</value> + <value>bottom</value> + </choice> + </attribute> + </optional> + <ref name="secur"/> + </define> + <!-- doc:A table footer consisting of one or more rows. --> + <define name="tfoot"> + <element name="tfoot"> + <ref name="tfoot.attlist"/> + <ref name="tbl.hdft.mdl"/> + </element> + </define> + <define name="tfoot.attlist" combine="interleave"> + <optional> + <attribute name="valign"> + <choice> + <value>top</value> + <value>middle</value> + <value>bottom</value> + </choice> + </attribute> + </optional> + <ref name="secur"/> + </define> + <!-- doc:A wrapper for the rows of a table or informal table. --> + <define name="tbody"> + <element name="tbody"> + <ref name="tbody.attlist"/> + <ref name="tbl.tbody.mdl"/> + </element> + </define> + <define name="tbody.attlist" combine="interleave"> + <optional> + <attribute name="valign"> + <choice> + <value>top</value> + <value>middle</value> + <value>bottom</value> + </choice> + </attribute> + </optional> + <ref name="secur"/> + </define> + <!-- doc:A row in a table. --> + <define name="row"> + <element name="row"> + <ref name="row.attlist"/> + <ref name="tbl.row.mdl"/> + </element> + </define> + <define name="row.attlist" combine="interleave"> + <optional> + <attribute name="rowsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="valign"> + <choice> + <value>top</value> + <value>middle</value> + <value>bottom</value> + </choice> + </attribute> + </optional> + <ref name="secur"/> + </define> + <!-- doc:A subtable appearing in place of an Entry in a table. --> + <define name="entrytbl"> + <element name="entrytbl"> + <ref name="entrytbl.attlist"/> + <ref name="tbl.entrytbl.mdl"/> + </element> + </define> + <define name="entrytbl.attlist" combine="interleave"> + <attribute name="cols"/> + <ref name="tbl.tgroup.att"/> + <optional> + <attribute name="colname"/> + </optional> + <optional> + <attribute name="spanname"/> + </optional> + <optional> + <attribute name="namest"/> + </optional> + <optional> + <attribute name="nameend"/> + </optional> + <optional> + <attribute name="colsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="rowsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="align"> + <choice> + <value>left</value> + <value>right</value> + <value>center</value> + <value>justify</value> + <value>char</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="char"/> + </optional> + <optional> + <attribute name="charoff"/> + </optional> + <ref name="secur"/> + </define> + <!-- doc:A cell in a table. --> + <define name="entry"> + <element name="entry"> + <ref name="entry.attlist"/> + <zeroOrMore> + <ref name="tbl.entry.mdl"/> + </zeroOrMore> + </element> + </define> + <define name="entry.attlist" combine="interleave"> + <optional> + <attribute name="colname"/> + </optional> + <optional> + <attribute name="namest"/> + </optional> + <optional> + <attribute name="nameend"/> + </optional> + <optional> + <attribute name="spanname"/> + </optional> + <optional> + <attribute name="morerows"/> + </optional> + <optional> + <attribute name="colsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="rowsep"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="align"> + <choice> + <value>left</value> + <value>right</value> + <value>center</value> + <value>justify</value> + <value>char</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="char"/> + </optional> + <optional> + <attribute name="charoff"/> + </optional> + <optional> + <attribute name="rotate"> + <ref name="yesorno"/> + </attribute> + </optional> + <optional> + <attribute name="valign"> + <choice> + <value>top</value> + <value>middle</value> + <value>bottom</value> + </choice> + </attribute> + </optional> + <ref name="secur"/> + </define> +</grammar> +<!-- End of DocBook CALS Table Model V4.5 ................................. --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/dbcentx.mod b/doc/editor_configs/serna/scons/dtd/dbcentx.mod new file mode 100644 index 0000000..cd6a756 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/dbcentx.mod @@ -0,0 +1,384 @@ +<!-- ...................................................................... --> +<!-- DocBook character entities module V4.5 ............................... --> +<!-- File dbcentx.mod ..................................................... --> + +<!-- Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: dbcentx.mod,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This module contains the entity declarations for the standard ISO + entity sets used by DocBook. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbcent PUBLIC + "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" + "dbcentx.mod"> + %dbcent; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> + +<!-- ...................................................................... --> + +<![%sgml.features;[ + +<!ENTITY % ISOamsa.module "INCLUDE"> +<![ %ISOamsa.module; [ +<!ENTITY % ISOamsa PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"> +<!--end of ISOamsa.module-->]]> + +<!ENTITY % ISOamsb.module "INCLUDE"> +<![ %ISOamsb.module; [ +<!ENTITY % ISOamsb PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"> +<!--end of ISOamsb.module-->]]> + +<!ENTITY % ISOamsc.module "INCLUDE"> +<![ %ISOamsc.module; [ +<!ENTITY % ISOamsc PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"> +<!--end of ISOamsc.module-->]]> + +<!ENTITY % ISOamsn.module "INCLUDE"> +<![ %ISOamsn.module; [ +<!ENTITY % ISOamsn PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"> +<!--end of ISOamsn.module-->]]> + +<!ENTITY % ISOamso.module "INCLUDE"> +<![ %ISOamso.module; [ +<!ENTITY % ISOamso PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"> +<!--end of ISOamso.module-->]]> + +<!ENTITY % ISOamsr.module "INCLUDE"> +<![ %ISOamsr.module; [ +<!ENTITY % ISOamsr PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"> +<!--end of ISOamsr.module-->]]> + +<!ENTITY % ISObox.module "INCLUDE"> +<![ %ISObox.module; [ +<!ENTITY % ISObox PUBLIC +"ISO 8879:1986//ENTITIES Box and Line Drawing//EN"> +<!--end of ISObox.module-->]]> + +<!ENTITY % ISOcyr1.module "INCLUDE"> +<![ %ISOcyr1.module; [ +<!ENTITY % ISOcyr1 PUBLIC +"ISO 8879:1986//ENTITIES Russian Cyrillic//EN"> +<!--end of ISOcyr1.module-->]]> + +<!ENTITY % ISOcyr2.module "INCLUDE"> +<![ %ISOcyr2.module; [ +<!ENTITY % ISOcyr2 PUBLIC +"ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"> +<!--end of ISOcyr2.module-->]]> + +<!ENTITY % ISOdia.module "INCLUDE"> +<![ %ISOdia.module; [ +<!ENTITY % ISOdia PUBLIC +"ISO 8879:1986//ENTITIES Diacritical Marks//EN"> +<!--end of ISOdia.module-->]]> + +<!ENTITY % ISOgrk1.module "INCLUDE"> +<![ %ISOgrk1.module; [ +<!ENTITY % ISOgrk1 PUBLIC +"ISO 8879:1986//ENTITIES Greek Letters//EN"> +<!--end of ISOgrk1.module-->]]> + +<!ENTITY % ISOgrk2.module "INCLUDE"> +<![ %ISOgrk2.module; [ +<!ENTITY % ISOgrk2 PUBLIC +"ISO 8879:1986//ENTITIES Monotoniko Greek//EN"> +<!--end of ISOgrk2.module-->]]> + +<!ENTITY % ISOgrk3.module "INCLUDE"> +<![ %ISOgrk3.module; [ +<!ENTITY % ISOgrk3 PUBLIC +"ISO 8879:1986//ENTITIES Greek Symbols//EN"> +<!--end of ISOgrk3.module-->]]> + +<!ENTITY % ISOgrk4.module "INCLUDE"> +<![ %ISOgrk4.module; [ +<!ENTITY % ISOgrk4 PUBLIC +"ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"> +<!--end of ISOgrk4.module-->]]> + +<!ENTITY % ISOlat1.module "INCLUDE"> +<![ %ISOlat1.module; [ +<!ENTITY % ISOlat1 PUBLIC +"ISO 8879:1986//ENTITIES Added Latin 1//EN"> +<!--end of ISOlat1.module-->]]> + +<!ENTITY % ISOlat2.module "INCLUDE"> +<![ %ISOlat2.module; [ +<!ENTITY % ISOlat2 PUBLIC +"ISO 8879:1986//ENTITIES Added Latin 2//EN"> +<!--end of ISOlat2.module-->]]> + +<!ENTITY % ISOnum.module "INCLUDE"> +<![ %ISOnum.module; [ +<!ENTITY % ISOnum PUBLIC +"ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"> +<!--end of ISOnum.module-->]]> + +<!ENTITY % ISOpub.module "INCLUDE"> +<![ %ISOpub.module; [ +<!ENTITY % ISOpub PUBLIC +"ISO 8879:1986//ENTITIES Publishing//EN"> +<!--end of ISOpub.module-->]]> + +<!ENTITY % ISOtech.module "INCLUDE"> +<![ %ISOtech.module; [ +<!ENTITY % ISOtech PUBLIC +"ISO 8879:1986//ENTITIES General Technical//EN"> +<!--end of ISOtech.module-->]]> + +<!--end of sgml.features-->]]> + +<![%xml.features;[ + +<!ENTITY % ISOamsa.module "INCLUDE"> +<![%ISOamsa.module;[ +<!ENTITY % ISOamsa PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" +"ent/isoamsa.ent"> +<!--end of ISOamsa.module-->]]> + +<!ENTITY % ISOamsb.module "INCLUDE"> +<![%ISOamsb.module;[ +<!ENTITY % ISOamsb PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" +"ent/isoamsb.ent"> +<!--end of ISOamsb.module-->]]> + +<!ENTITY % ISOamsc.module "INCLUDE"> +<![%ISOamsc.module;[ +<!ENTITY % ISOamsc PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" +"ent/isoamsc.ent"> +<!--end of ISOamsc.module-->]]> + +<!ENTITY % ISOamsn.module "INCLUDE"> +<![%ISOamsn.module;[ +<!ENTITY % ISOamsn PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" +"ent/isoamsn.ent"> +<!--end of ISOamsn.module-->]]> + +<!ENTITY % ISOamso.module "INCLUDE"> +<![%ISOamso.module;[ +<!ENTITY % ISOamso PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" +"ent/isoamso.ent"> +<!--end of ISOamso.module-->]]> + +<!ENTITY % ISOamsr.module "INCLUDE"> +<![%ISOamsr.module;[ +<!ENTITY % ISOamsr PUBLIC +"ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" +"ent/isoamsr.ent"> +<!--end of ISOamsr.module-->]]> + +<!ENTITY % ISObox.module "INCLUDE"> +<![%ISObox.module;[ +<!ENTITY % ISObox PUBLIC +"ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" +"ent/isobox.ent"> +<!--end of ISObox.module-->]]> + +<!ENTITY % ISOcyr1.module "INCLUDE"> +<![%ISOcyr1.module;[ +<!ENTITY % ISOcyr1 PUBLIC +"ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" +"ent/isocyr1.ent"> +<!--end of ISOcyr1.module-->]]> + +<!ENTITY % ISOcyr2.module "INCLUDE"> +<![%ISOcyr2.module;[ +<!ENTITY % ISOcyr2 PUBLIC +"ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" +"ent/isocyr2.ent"> +<!--end of ISOcyr2.module-->]]> + +<!ENTITY % ISOdia.module "INCLUDE"> +<![%ISOdia.module;[ +<!ENTITY % ISOdia PUBLIC +"ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" +"ent/isodia.ent"> +<!--end of ISOdia.module-->]]> + +<!ENTITY % ISOgrk1.module "INCLUDE"> +<![%ISOgrk1.module;[ +<!ENTITY % ISOgrk1 PUBLIC +"ISO 8879:1986//ENTITIES Greek Letters//EN//XML" +"ent/isogrk1.ent"> +<!--end of ISOgrk1.module-->]]> + +<!ENTITY % ISOgrk2.module "INCLUDE"> +<![%ISOgrk2.module;[ +<!ENTITY % ISOgrk2 PUBLIC +"ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" +"ent/isogrk2.ent"> +<!--end of ISOgrk2.module-->]]> + +<!ENTITY % ISOgrk3.module "INCLUDE"> +<![%ISOgrk3.module;[ +<!ENTITY % ISOgrk3 PUBLIC +"ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" +"ent/isogrk3.ent"> +<!--end of ISOgrk3.module-->]]> + +<!ENTITY % ISOgrk4.module "INCLUDE"> +<![%ISOgrk4.module;[ +<!ENTITY % ISOgrk4 PUBLIC +"ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" +"ent/isogrk4.ent"> +<!--end of ISOgrk4.module-->]]> + +<!ENTITY % ISOlat1.module "INCLUDE"> +<![%ISOlat1.module;[ +<!ENTITY % ISOlat1 PUBLIC +"ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" +"ent/isolat1.ent"> +<!--end of ISOlat1.module-->]]> + +<!ENTITY % ISOlat2.module "INCLUDE"> +<![%ISOlat2.module;[ +<!ENTITY % ISOlat2 PUBLIC +"ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" +"ent/isolat2.ent"> +<!--end of ISOlat2.module-->]]> + +<!ENTITY % ISOnum.module "INCLUDE"> +<![%ISOnum.module;[ +<!ENTITY % ISOnum PUBLIC +"ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" +"ent/isonum.ent"> +<!--end of ISOnum.module-->]]> + +<!ENTITY % ISOpub.module "INCLUDE"> +<![%ISOpub.module;[ +<!ENTITY % ISOpub PUBLIC +"ISO 8879:1986//ENTITIES Publishing//EN//XML" +"ent/isopub.ent"> +<!--end of ISOpub.module-->]]> + +<!ENTITY % ISOtech.module "INCLUDE"> +<![%ISOtech.module;[ +<!ENTITY % ISOtech PUBLIC +"ISO 8879:1986//ENTITIES General Technical//EN//XML" +"ent/isotech.ent"> +<!--end of ISOtech.module-->]]> + +<!--end of xml.features-->]]> + +<![ %ISOamsa.module; [ +%ISOamsa; +]]> + +<![ %ISOamsb.module; [ +%ISOamsb; +]]> + +<![ %ISOamsc.module; [ +%ISOamsc; +]]> + +<![ %ISOamsn.module; [ +%ISOamsn; +]]> + +<![ %ISOamso.module; [ +%ISOamso; +]]> + +<![ %ISOamsr.module; [ +%ISOamsr; +]]> + +<![ %ISObox.module; [ +%ISObox; +]]> + +<![ %ISOcyr1.module; [ +%ISOcyr1; +]]> + +<![ %ISOcyr2.module; [ +%ISOcyr2; +]]> + +<![ %ISOdia.module; [ +%ISOdia; +]]> + +<![ %ISOgrk1.module; [ +%ISOgrk1; +]]> + +<![ %ISOgrk2.module; [ +%ISOgrk2; +]]> + +<![ %ISOgrk3.module; [ +%ISOgrk3; +]]> + +<![ %ISOgrk4.module; [ +%ISOgrk4; +]]> + +<![ %ISOlat1.module; [ +%ISOlat1; +]]> + +<![ %ISOlat2.module; [ +%ISOlat2; +]]> + +<![ %ISOnum.module; [ +%ISOnum; +]]> + +<![ %ISOpub.module; [ +%ISOpub; +]]> + +<![ %ISOtech.module; [ +%ISOtech; +]]> + +<!-- End of DocBook character entity sets module V4.5 ..................... --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/dbgenent.mod b/doc/editor_configs/serna/scons/dtd/dbgenent.mod new file mode 100644 index 0000000..ff5ba90 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/dbgenent.mod @@ -0,0 +1,41 @@ +<!-- ...................................................................... --> +<!-- DocBook additional general entities V4.5 ............................. --> + +<!-- Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbgenent PUBLIC + "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" + "dbgenent.mod"> + %dbgenent; +--> + +<!-- File dbgenent.mod .................................................... --> + +<!-- You can edit this file to add the following: + + o General entity declarations of any kind. For example: + + <!ENTITY productname "WinWidget"> (small boilerplate) + <!ENTITY legal-notice SYSTEM "notice.sgm"> (large boilerplate) + + o Notation declarations. For example: + + <!NOTATION chicken-scratch SYSTEM> + + o Declarations for and references to external parameter entities + containing collections of any of the above. For example: + + <!ENTITY % all-titles PUBLIC "-//DocTools//ELEMENTS Book Titles//EN" + "booktitles.ent"> + %all-titles; +--> + +<!-- End of DocBook additional general entities V4.5 ...................... --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/dbhierx.mod b/doc/editor_configs/serna/scons/dtd/dbhierx.mod new file mode 100644 index 0000000..0026eb0 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/dbhierx.mod @@ -0,0 +1,2193 @@ +<!-- ...................................................................... --> +<!-- DocBook document hierarchy module V4.5 ............................... --> +<!-- File dbhierx.mod ..................................................... --> + +<!-- Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: dbhierx.mod,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This module contains the definitions for the overall document + hierarchies of DocBook documents. It covers computer documentation + manuals and manual fragments, as well as reference entries (such as + man pages) and technical journals or anthologies containing + articles. + + This module depends on the DocBook information pool module. All + elements and entities referenced but not defined here are assumed + to be defined in the information pool module. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbhier PUBLIC + "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" + "dbhierx.mod"> + %dbhier; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> + +<!-- ...................................................................... --> +<!-- Entities for module inclusions ....................................... --> + +<!ENTITY % dbhier.redecl.module "IGNORE"> +<!ENTITY % dbhier.redecl2.module "IGNORE"> + +<!-- ...................................................................... --> +<!-- Entities for element classes ......................................... --> + +<!ENTITY % local.appendix.class ""> +<!ENTITY % appendix.class "appendix %local.appendix.class;"> + +<!ENTITY % local.article.class ""> +<!ENTITY % article.class "article %local.article.class;"> + +<!ENTITY % local.book.class ""> +<!ENTITY % book.class "book %local.book.class;"> + +<!ENTITY % local.chapter.class ""> +<!ENTITY % chapter.class "chapter %local.chapter.class;"> + +<!ENTITY % local.index.class ""> +<!ENTITY % index.class "index|setindex %local.index.class;"> + +<!ENTITY % local.refentry.class ""> +<!ENTITY % refentry.class "refentry %local.refentry.class;"> + +<!ENTITY % local.section.class ""> +<!ENTITY % section.class "section %local.section.class;"> + +<!ENTITY % local.nav.class ""> +<!ENTITY % nav.class "toc|lot|index|glossary|bibliography + %local.nav.class;"> + +<!-- Redeclaration placeholder ............................................ --> + +<!-- For redeclaring entities that are declared after this point while + retaining their references to the entities that are declared before + this point --> + +<![%dbhier.redecl.module;[ +<!-- Defining rdbhier here makes some buggy XML parsers happy. --> +<!ENTITY % rdbhier ""> +%rdbhier; +<!--end of dbhier.redecl.module-->]]> + +<!-- ...................................................................... --> +<!-- Entities for element mixtures ........................................ --> + +<!ENTITY % local.divcomponent.mix ""> +<!ENTITY % divcomponent.mix + "%list.class; |%admon.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; |%compound.class; + |%genobj.class; |%descobj.class; + |%ndxterm.class; |beginpage + %forms.hook; + %local.divcomponent.mix;"> + +<!ENTITY % local.refcomponent.mix ""> +<!ENTITY % refcomponent.mix + "%list.class; |%admon.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; |%compound.class; + |%genobj.class; |%descobj.class; + |%ndxterm.class; |beginpage + %forms.hook; + %local.refcomponent.mix;"> + +<!ENTITY % local.indexdivcomponent.mix ""> +<!ENTITY % indexdivcomponent.mix + "itemizedlist|orderedlist|variablelist|simplelist + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |anchor|remark + |%link.char.class; + |beginpage + %local.indexdivcomponent.mix;"> + +<!ENTITY % local.refname.char.mix ""> +<!ENTITY % refname.char.mix + "#PCDATA + |%tech.char.class; + %local.refname.char.mix;"> + +<!ENTITY % local.partcontent.mix ""> +<!ENTITY % partcontent.mix + "%appendix.class;|%chapter.class;|%nav.class;|%article.class; + |preface|%refentry.class;|reference %local.partcontent.mix;"> + +<!ENTITY % local.refinline.char.mix ""> +<!ENTITY % refinline.char.mix + "#PCDATA + |%xref.char.class; |%gen.char.class; + |%link.char.class; |%tech.char.class; + |%base.char.class; |%docinfo.char.class; + |%other.char.class; + |%ndxterm.class; |beginpage + %local.refinline.char.mix;"> + +<!ENTITY % local.refclass.char.mix ""> +<!ENTITY % refclass.char.mix + "#PCDATA + |application + %local.refclass.char.mix;"> + +<!-- Redeclaration placeholder 2 .......................................... --> + +<!-- For redeclaring entities that are declared after this point while + retaining their references to the entities that are declared before + this point --> + +<![%dbhier.redecl2.module;[ +<!-- Defining rdbhier2 here makes some buggy XML parsers happy. --> +<!ENTITY % rdbhier2 ""> +%rdbhier2; +<!--end of dbhier.redecl2.module-->]]> + +<!-- ...................................................................... --> +<!-- Entities for content models .......................................... --> + +<!ENTITY % div.title.content + "title, subtitle?, titleabbrev?"> + +<!ENTITY % bookcomponent.title.content + "title, subtitle?, titleabbrev?"> + +<!ENTITY % sect.title.content + "title, subtitle?, titleabbrev?"> + +<!ENTITY % refsect.title.content + "title, subtitle?, titleabbrev?"> + +<!ENTITY % bookcomponent.content + "((%divcomponent.mix;)+, + (sect1*|(%refentry.class;)*|simplesect*|(%section.class;)*)) + | (sect1+|(%refentry.class;)+|simplesect+|(%section.class;)+)"> + +<!-- ...................................................................... --> +<!-- Set and SetInfo ...................................................... --> + +<!ENTITY % set.content.module "INCLUDE"> +<![%set.content.module;[ +<!ENTITY % set.module "INCLUDE"> +<![%set.module;[ +<!ENTITY % local.set.attrib ""> +<!ENTITY % set.role.attrib "%role.attrib;"> + +<!ENTITY % set.element "INCLUDE"> +<![%set.element;[ +<!--doc:A collection of books.--> +<!ELEMENT set %ho; ((%div.title.content;)?, setinfo?, toc?, (set|%book.class;)+, + setindex?) + %ubiq.inclusion;> +<!--end of set.element-->]]> + +<!-- FPI: SGML formal public identifier --> + + +<!ENTITY % set.attlist "INCLUDE"> +<![%set.attlist;[ +<!ATTLIST set + fpi CDATA #IMPLIED + %status.attrib; + %common.attrib; + %set.role.attrib; + %local.set.attrib; +> +<!--end of set.attlist-->]]> +<!--end of set.module-->]]> + +<!ENTITY % setinfo.module "INCLUDE"> +<![%setinfo.module;[ +<!ENTITY % local.setinfo.attrib ""> +<!ENTITY % setinfo.role.attrib "%role.attrib;"> + +<!ENTITY % setinfo.element "INCLUDE"> +<![%setinfo.element;[ +<!--doc:Meta-information for a Set.--> +<!ELEMENT setinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of setinfo.element-->]]> + +<!-- Contents: IDs of the ToC, Books, and SetIndex that comprise + the set, in the order of their appearance --> + + +<!ENTITY % setinfo.attlist "INCLUDE"> +<![%setinfo.attlist;[ +<!ATTLIST setinfo + contents IDREFS #IMPLIED + %common.attrib; + %setinfo.role.attrib; + %local.setinfo.attrib; +> +<!--end of setinfo.attlist-->]]> +<!--end of setinfo.module-->]]> +<!--end of set.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Book and BookInfo .................................................... --> + +<!ENTITY % book.content.module "INCLUDE"> +<![%book.content.module;[ +<!ENTITY % book.module "INCLUDE"> +<![%book.module;[ + +<!ENTITY % local.book.attrib ""> +<!ENTITY % book.role.attrib "%role.attrib;"> + +<!ENTITY % book.element "INCLUDE"> +<![%book.element;[ +<!--doc:A book.--> +<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo?, + (dedication | toc | lot + | glossary | bibliography | preface + | %chapter.class; | reference | part + | %article.class; + | %appendix.class; + | %index.class; + | colophon)*) + %ubiq.inclusion;> +<!--end of book.element-->]]> + +<!-- FPI: SGML formal public identifier --> + + +<!ENTITY % book.attlist "INCLUDE"> +<![%book.attlist;[ +<!ATTLIST book fpi CDATA #IMPLIED + %label.attrib; + %status.attrib; + %common.attrib; + %book.role.attrib; + %local.book.attrib; +> +<!--end of book.attlist-->]]> +<!--end of book.module-->]]> + +<!ENTITY % bookinfo.module "INCLUDE"> +<![%bookinfo.module;[ +<!ENTITY % local.bookinfo.attrib ""> +<!ENTITY % bookinfo.role.attrib "%role.attrib;"> + +<!ENTITY % bookinfo.element "INCLUDE"> +<![%bookinfo.element;[ +<!--doc:Meta-information for a Book.--> +<!ELEMENT bookinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of bookinfo.element-->]]> + +<!-- Contents: IDs of the ToC, LoTs, Prefaces, Parts, Chapters, + Appendixes, References, GLossary, Bibliography, and indexes + comprising the Book, in the order of their appearance --> + + +<!ENTITY % bookinfo.attlist "INCLUDE"> +<![%bookinfo.attlist;[ +<!ATTLIST bookinfo + contents IDREFS #IMPLIED + %common.attrib; + %bookinfo.role.attrib; + %local.bookinfo.attrib; +> +<!--end of bookinfo.attlist-->]]> +<!--end of bookinfo.module-->]]> +<!--end of book.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Dedication, ToC, and LoT ............................................. --> + +<!ENTITY % dedication.module "INCLUDE"> +<![%dedication.module;[ +<!ENTITY % local.dedication.attrib ""> +<!ENTITY % dedication.role.attrib "%role.attrib;"> + +<!ENTITY % dedication.element "INCLUDE"> +<![%dedication.element;[ +<!--doc:A wrapper for the dedication section of a book.--> +<!ELEMENT dedication %ho; ((%sect.title.content;)?, (%legalnotice.mix;)+)> +<!--end of dedication.element-->]]> + +<!ENTITY % dedication.attlist "INCLUDE"> +<![%dedication.attlist;[ +<!ATTLIST dedication + %status.attrib; + %common.attrib; + %dedication.role.attrib; + %local.dedication.attrib; +> +<!--end of dedication.attlist-->]]> +<!--end of dedication.module-->]]> + +<!ENTITY % colophon.module "INCLUDE"> +<![ %colophon.module; [ +<!ENTITY % local.colophon.attrib ""> +<!ENTITY % colophon.role.attrib "%role.attrib;"> + +<!ENTITY % colophon.element "INCLUDE"> +<![ %colophon.element; [ +<!--doc:Text at the back of a book describing facts about its production.--> +<!ELEMENT colophon %ho; ((%sect.title.content;)?, (%textobject.mix;)+)> +<!--end of colophon.element-->]]> + +<!ENTITY % colophon.attlist "INCLUDE"> +<![ %colophon.attlist; [ +<!ATTLIST colophon + %status.attrib; + %common.attrib; + %colophon.role.attrib; + %local.colophon.attrib;> +<!--end of colophon.attlist-->]]> +<!--end of colophon.module-->]]> + +<!ENTITY % toc.content.module "INCLUDE"> +<![%toc.content.module;[ +<!ENTITY % toc.module "INCLUDE"> +<![%toc.module;[ +<!ENTITY % local.toc.attrib ""> +<!ENTITY % toc.role.attrib "%role.attrib;"> + +<!ENTITY % toc.element "INCLUDE"> +<![%toc.element;[ +<!--doc:A table of contents.--> +<!ELEMENT toc %ho; (beginpage?, + (%bookcomponent.title.content;)?, + tocfront*, + (tocpart | tocchap)*, tocback*)> +<!--end of toc.element-->]]> + +<!ENTITY % toc.attlist "INCLUDE"> +<![%toc.attlist;[ +<!ATTLIST toc + %pagenum.attrib; + %common.attrib; + %toc.role.attrib; + %local.toc.attrib; +> +<!--end of toc.attlist-->]]> +<!--end of toc.module-->]]> + +<!ENTITY % tocfront.module "INCLUDE"> +<![%tocfront.module;[ +<!ENTITY % local.tocfront.attrib ""> +<!ENTITY % tocfront.role.attrib "%role.attrib;"> + +<!ENTITY % tocfront.element "INCLUDE"> +<![%tocfront.element;[ +<!--doc:An entry in a table of contents for a front matter component.--> +<!ELEMENT tocfront %ho; (%para.char.mix;)*> +<!--end of tocfront.element-->]]> + +<!-- to element that this entry represents --> + + +<!ENTITY % tocfront.attlist "INCLUDE"> +<![%tocfront.attlist;[ +<!ATTLIST tocfront + %label.attrib; + %linkend.attrib; %pagenum.attrib; + %common.attrib; + %tocfront.role.attrib; + %local.tocfront.attrib; +> +<!--end of tocfront.attlist-->]]> +<!--end of tocfront.module-->]]> + +<!ENTITY % tocentry.module "INCLUDE"> +<![%tocentry.module;[ +<!ENTITY % local.tocentry.attrib ""> +<!ENTITY % tocentry.role.attrib "%role.attrib;"> + +<!ENTITY % tocentry.element "INCLUDE"> +<![%tocentry.element;[ +<!--doc:A component title in a table of contents.--> +<!ELEMENT tocentry %ho; (%para.char.mix;)*> +<!--end of tocentry.element-->]]> + +<!-- to element that this entry represents --> + + +<!ENTITY % tocentry.attlist "INCLUDE"> +<![%tocentry.attlist;[ +<!ATTLIST tocentry + %linkend.attrib; %pagenum.attrib; + %common.attrib; + %tocentry.role.attrib; + %local.tocentry.attrib; +> +<!--end of tocentry.attlist-->]]> +<!--end of tocentry.module-->]]> + +<!ENTITY % tocpart.module "INCLUDE"> +<![%tocpart.module;[ +<!ENTITY % local.tocpart.attrib ""> +<!ENTITY % tocpart.role.attrib "%role.attrib;"> + +<!ENTITY % tocpart.element "INCLUDE"> +<![%tocpart.element;[ +<!--doc:An entry in a table of contents for a part of a book.--> +<!ELEMENT tocpart %ho; (tocentry+, tocchap*)> +<!--end of tocpart.element-->]]> + +<!ENTITY % tocpart.attlist "INCLUDE"> +<![%tocpart.attlist;[ +<!ATTLIST tocpart + %common.attrib; + %tocpart.role.attrib; + %local.tocpart.attrib; +> +<!--end of tocpart.attlist-->]]> +<!--end of tocpart.module-->]]> + +<!ENTITY % tocchap.module "INCLUDE"> +<![%tocchap.module;[ +<!ENTITY % local.tocchap.attrib ""> +<!ENTITY % tocchap.role.attrib "%role.attrib;"> + +<!ENTITY % tocchap.element "INCLUDE"> +<![%tocchap.element;[ +<!--doc:An entry in a table of contents for a component in the body of a document.--> +<!ELEMENT tocchap %ho; (tocentry+, toclevel1*)> +<!--end of tocchap.element-->]]> + +<!ENTITY % tocchap.attlist "INCLUDE"> +<![%tocchap.attlist;[ +<!ATTLIST tocchap + %label.attrib; + %common.attrib; + %tocchap.role.attrib; + %local.tocchap.attrib; +> +<!--end of tocchap.attlist-->]]> +<!--end of tocchap.module-->]]> + +<!ENTITY % toclevel1.module "INCLUDE"> +<![%toclevel1.module;[ +<!ENTITY % local.toclevel1.attrib ""> +<!ENTITY % toclevel1.role.attrib "%role.attrib;"> + +<!ENTITY % toclevel1.element "INCLUDE"> +<![%toclevel1.element;[ +<!--doc:A top-level entry within a table of contents entry for a chapter-like component.--> +<!ELEMENT toclevel1 %ho; (tocentry+, toclevel2*)> +<!--end of toclevel1.element-->]]> + +<!ENTITY % toclevel1.attlist "INCLUDE"> +<![%toclevel1.attlist;[ +<!ATTLIST toclevel1 + %common.attrib; + %toclevel1.role.attrib; + %local.toclevel1.attrib; +> +<!--end of toclevel1.attlist-->]]> +<!--end of toclevel1.module-->]]> + +<!ENTITY % toclevel2.module "INCLUDE"> +<![%toclevel2.module;[ +<!ENTITY % local.toclevel2.attrib ""> +<!ENTITY % toclevel2.role.attrib "%role.attrib;"> + +<!ENTITY % toclevel2.element "INCLUDE"> +<![%toclevel2.element;[ +<!--doc:A second-level entry within a table of contents entry for a chapter-like component.--> +<!ELEMENT toclevel2 %ho; (tocentry+, toclevel3*)> +<!--end of toclevel2.element-->]]> + +<!ENTITY % toclevel2.attlist "INCLUDE"> +<![%toclevel2.attlist;[ +<!ATTLIST toclevel2 + %common.attrib; + %toclevel2.role.attrib; + %local.toclevel2.attrib; +> +<!--end of toclevel2.attlist-->]]> +<!--end of toclevel2.module-->]]> + +<!ENTITY % toclevel3.module "INCLUDE"> +<![%toclevel3.module;[ +<!ENTITY % local.toclevel3.attrib ""> +<!ENTITY % toclevel3.role.attrib "%role.attrib;"> + +<!ENTITY % toclevel3.element "INCLUDE"> +<![%toclevel3.element;[ +<!--doc:A third-level entry within a table of contents entry for a chapter-like component.--> +<!ELEMENT toclevel3 %ho; (tocentry+, toclevel4*)> +<!--end of toclevel3.element-->]]> + +<!ENTITY % toclevel3.attlist "INCLUDE"> +<![%toclevel3.attlist;[ +<!ATTLIST toclevel3 + %common.attrib; + %toclevel3.role.attrib; + %local.toclevel3.attrib; +> +<!--end of toclevel3.attlist-->]]> +<!--end of toclevel3.module-->]]> + +<!ENTITY % toclevel4.module "INCLUDE"> +<![%toclevel4.module;[ +<!ENTITY % local.toclevel4.attrib ""> +<!ENTITY % toclevel4.role.attrib "%role.attrib;"> + +<!ENTITY % toclevel4.element "INCLUDE"> +<![%toclevel4.element;[ +<!--doc:A fourth-level entry within a table of contents entry for a chapter-like component.--> +<!ELEMENT toclevel4 %ho; (tocentry+, toclevel5*)> +<!--end of toclevel4.element-->]]> + +<!ENTITY % toclevel4.attlist "INCLUDE"> +<![%toclevel4.attlist;[ +<!ATTLIST toclevel4 + %common.attrib; + %toclevel4.role.attrib; + %local.toclevel4.attrib; +> +<!--end of toclevel4.attlist-->]]> +<!--end of toclevel4.module-->]]> + +<!ENTITY % toclevel5.module "INCLUDE"> +<![%toclevel5.module;[ +<!ENTITY % local.toclevel5.attrib ""> +<!ENTITY % toclevel5.role.attrib "%role.attrib;"> + +<!ENTITY % toclevel5.element "INCLUDE"> +<![%toclevel5.element;[ +<!--doc:A fifth-level entry within a table of contents entry for a chapter-like component.--> +<!ELEMENT toclevel5 %ho; (tocentry+)> +<!--end of toclevel5.element-->]]> + +<!ENTITY % toclevel5.attlist "INCLUDE"> +<![%toclevel5.attlist;[ +<!ATTLIST toclevel5 + %common.attrib; + %toclevel5.role.attrib; + %local.toclevel5.attrib; +> +<!--end of toclevel5.attlist-->]]> +<!--end of toclevel5.module-->]]> + +<!ENTITY % tocback.module "INCLUDE"> +<![%tocback.module;[ +<!ENTITY % local.tocback.attrib ""> +<!ENTITY % tocback.role.attrib "%role.attrib;"> + +<!ENTITY % tocback.element "INCLUDE"> +<![%tocback.element;[ +<!--doc:An entry in a table of contents for a back matter component.--> +<!ELEMENT tocback %ho; (%para.char.mix;)*> +<!--end of tocback.element-->]]> + +<!-- to element that this entry represents --> + + +<!ENTITY % tocback.attlist "INCLUDE"> +<![%tocback.attlist;[ +<!ATTLIST tocback + %label.attrib; + %linkend.attrib; %pagenum.attrib; + %common.attrib; + %tocback.role.attrib; + %local.tocback.attrib; +> +<!--end of tocback.attlist-->]]> +<!--end of tocback.module-->]]> +<!--end of toc.content.module-->]]> + +<!ENTITY % lot.content.module "INCLUDE"> +<![%lot.content.module;[ +<!ENTITY % lot.module "INCLUDE"> +<![%lot.module;[ +<!ENTITY % local.lot.attrib ""> +<!ENTITY % lot.role.attrib "%role.attrib;"> + +<!ENTITY % lot.element "INCLUDE"> +<![%lot.element;[ +<!--doc:A list of the titles of formal objects (as tables or figures) in a document.--> +<!ELEMENT lot %ho; (beginpage?, (%bookcomponent.title.content;)?, lotentry*)> +<!--end of lot.element-->]]> + +<!ENTITY % lot.attlist "INCLUDE"> +<![%lot.attlist;[ +<!ATTLIST lot + %label.attrib; + %common.attrib; + %lot.role.attrib; + %local.lot.attrib; +> +<!--end of lot.attlist-->]]> +<!--end of lot.module-->]]> + +<!ENTITY % lotentry.module "INCLUDE"> +<![%lotentry.module;[ +<!ENTITY % local.lotentry.attrib ""> +<!ENTITY % lotentry.role.attrib "%role.attrib;"> + +<!ENTITY % lotentry.element "INCLUDE"> +<![%lotentry.element;[ +<!--doc:An entry in a list of titles.--> +<!ELEMENT lotentry %ho; (%para.char.mix;)*> +<!--end of lotentry.element-->]]> + +<!-- SrcCredit: Information about the source of the entry, + as for a list of illustrations --> +<!-- linkend: to element that this entry represents--> +<!ENTITY % lotentry.attlist "INCLUDE"> +<![%lotentry.attlist;[ +<!ATTLIST lotentry + %linkend.attrib; + %pagenum.attrib; + srccredit CDATA #IMPLIED + %common.attrib; + %lotentry.role.attrib; + %local.lotentry.attrib; +> +<!--end of lotentry.attlist-->]]> +<!--end of lotentry.module-->]]> +<!--end of lot.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Appendix, Chapter, Part, Preface, Reference, PartIntro ............... --> + +<!ENTITY % appendix.module "INCLUDE"> +<![%appendix.module;[ +<!ENTITY % local.appendix.attrib ""> +<!ENTITY % appendix.role.attrib "%role.attrib;"> + +<!ENTITY % appendix.element "INCLUDE"> +<![%appendix.element;[ +<!--doc:An appendix in a Book or Article.--> +<!ELEMENT appendix %ho; (beginpage?, + appendixinfo?, + (%bookcomponent.title.content;), + (%nav.class;)*, + tocchap?, + (%bookcomponent.content;), + (%nav.class;)*) + %ubiq.inclusion;> +<!--end of appendix.element-->]]> + +<!ENTITY % appendix.attlist "INCLUDE"> +<![%appendix.attlist;[ +<!ATTLIST appendix + %label.attrib; + %status.attrib; + %common.attrib; + %appendix.role.attrib; + %local.appendix.attrib; +> +<!--end of appendix.attlist-->]]> +<!--end of appendix.module-->]]> + +<!ENTITY % chapter.module "INCLUDE"> +<![%chapter.module;[ +<!ENTITY % local.chapter.attrib ""> +<!ENTITY % chapter.role.attrib "%role.attrib;"> + +<!ENTITY % chapter.element "INCLUDE"> +<![%chapter.element;[ +<!--doc:A chapter, as of a book.--> +<!ELEMENT chapter %ho; (beginpage?, + chapterinfo?, + (%bookcomponent.title.content;), + (%nav.class;)*, + tocchap?, + (%bookcomponent.content;), + (%nav.class;)*) + %ubiq.inclusion;> +<!--end of chapter.element-->]]> + +<!ENTITY % chapter.attlist "INCLUDE"> +<![%chapter.attlist;[ +<!ATTLIST chapter + %label.attrib; + %status.attrib; + %common.attrib; + %chapter.role.attrib; + %local.chapter.attrib; +> +<!--end of chapter.attlist-->]]> +<!--end of chapter.module-->]]> + +<!ENTITY % part.module "INCLUDE"> +<![%part.module;[ + +<!-- Note that Part was to have its content model reduced in V4.5. This +change will not be made after all. --> + +<!ENTITY % local.part.attrib ""> +<!ENTITY % part.role.attrib "%role.attrib;"> + +<!ENTITY % part.element "INCLUDE"> +<![%part.element;[ +<!--doc:A division in a book.--> +<!ELEMENT part %ho; (beginpage?, + partinfo?, (%bookcomponent.title.content;), partintro?, + (%partcontent.mix;)+) + %ubiq.inclusion;> +<!--end of part.element-->]]> + +<!ENTITY % part.attlist "INCLUDE"> +<![%part.attlist;[ +<!ATTLIST part + %label.attrib; + %status.attrib; + %common.attrib; + %part.role.attrib; + %local.part.attrib; +> +<!--end of part.attlist-->]]> +<!--ELEMENT PartIntro (defined below)--> +<!--end of part.module-->]]> + +<!ENTITY % preface.module "INCLUDE"> +<![%preface.module;[ +<!ENTITY % local.preface.attrib ""> +<!ENTITY % preface.role.attrib "%role.attrib;"> + +<!ENTITY % preface.element "INCLUDE"> +<![%preface.element;[ +<!--doc:Introductory matter preceding the first chapter of a book.--> +<!ELEMENT preface %ho; (beginpage?, + prefaceinfo?, + (%bookcomponent.title.content;), + (%nav.class;)*, + tocchap?, + (%bookcomponent.content;), + (%nav.class;)*) + %ubiq.inclusion;> +<!--end of preface.element-->]]> + +<!ENTITY % preface.attlist "INCLUDE"> +<![%preface.attlist;[ +<!ATTLIST preface + %status.attrib; + %common.attrib; + %preface.role.attrib; + %local.preface.attrib; +> +<!--end of preface.attlist-->]]> +<!--end of preface.module-->]]> + +<!ENTITY % reference.module "INCLUDE"> +<![%reference.module;[ +<!ENTITY % local.reference.attrib ""> +<!ENTITY % reference.role.attrib "%role.attrib;"> + +<!ENTITY % reference.element "INCLUDE"> +<![%reference.element;[ +<!--doc:A collection of reference entries.--> +<!ELEMENT reference %ho; (beginpage?, + referenceinfo?, + (%bookcomponent.title.content;), partintro?, + (%refentry.class;)+) + %ubiq.inclusion;> +<!--end of reference.element-->]]> + +<!ENTITY % reference.attlist "INCLUDE"> +<![%reference.attlist;[ +<!ATTLIST reference + %label.attrib; + %status.attrib; + %common.attrib; + %reference.role.attrib; + %local.reference.attrib; +> +<!--end of reference.attlist-->]]> +<!--ELEMENT PartIntro (defined below)--> +<!--end of reference.module-->]]> + +<!ENTITY % partintro.module "INCLUDE"> +<![%partintro.module;[ +<!ENTITY % local.partintro.attrib ""> +<!ENTITY % partintro.role.attrib "%role.attrib;"> + +<!ENTITY % partintro.element "INCLUDE"> +<![%partintro.element;[ +<!--doc:An introduction to the contents of a part.--> +<!ELEMENT partintro %ho; ((%div.title.content;)?, (%bookcomponent.content;)) + %ubiq.inclusion;> +<!--end of partintro.element-->]]> + +<!ENTITY % partintro.attlist "INCLUDE"> +<![%partintro.attlist;[ +<!ATTLIST partintro + %label.attrib; + %common.attrib; + %partintro.role.attrib; + %local.partintro.attrib; +> +<!--end of partintro.attlist-->]]> +<!--end of partintro.module-->]]> + +<!-- ...................................................................... --> +<!-- Other Info elements .................................................. --> + +<!ENTITY % appendixinfo.module "INCLUDE"> +<![ %appendixinfo.module; [ +<!ENTITY % local.appendixinfo.attrib ""> +<!ENTITY % appendixinfo.role.attrib "%role.attrib;"> + +<!ENTITY % appendixinfo.element "INCLUDE"> +<![ %appendixinfo.element; [ +<!--doc:Meta-information for an Appendix.--> +<!ELEMENT appendixinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of appendixinfo.element-->]]> + +<!ENTITY % appendixinfo.attlist "INCLUDE"> +<![ %appendixinfo.attlist; [ +<!ATTLIST appendixinfo + %common.attrib; + %appendixinfo.role.attrib; + %local.appendixinfo.attrib; +> +<!--end of appendixinfo.attlist-->]]> +<!--end of appendixinfo.module-->]]> + +<!ENTITY % bibliographyinfo.module "INCLUDE"> +<![ %bibliographyinfo.module; [ +<!ENTITY % local.bibliographyinfo.attrib ""> +<!ENTITY % bibliographyinfo.role.attrib "%role.attrib;"> + +<!ENTITY % bibliographyinfo.element "INCLUDE"> +<![ %bibliographyinfo.element; [ +<!--doc:Meta-information for a Bibliography.--> +<!ELEMENT bibliographyinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of bibliographyinfo.element-->]]> + +<!ENTITY % bibliographyinfo.attlist "INCLUDE"> +<![ %bibliographyinfo.attlist; [ +<!ATTLIST bibliographyinfo + %common.attrib; + %bibliographyinfo.role.attrib; + %local.bibliographyinfo.attrib; +> +<!--end of bibliographyinfo.attlist-->]]> +<!--end of bibliographyinfo.module-->]]> + +<!ENTITY % chapterinfo.module "INCLUDE"> +<![ %chapterinfo.module; [ +<!ENTITY % local.chapterinfo.attrib ""> +<!ENTITY % chapterinfo.role.attrib "%role.attrib;"> + +<!ENTITY % chapterinfo.element "INCLUDE"> +<![ %chapterinfo.element; [ +<!--doc:Meta-information for a Chapter.--> +<!ELEMENT chapterinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of chapterinfo.element-->]]> + +<!ENTITY % chapterinfo.attlist "INCLUDE"> +<![ %chapterinfo.attlist; [ +<!ATTLIST chapterinfo + %common.attrib; + %chapterinfo.role.attrib; + %local.chapterinfo.attrib; +> +<!--end of chapterinfo.attlist-->]]> +<!--end of chapterinfo.module-->]]> + +<!ENTITY % glossaryinfo.module "INCLUDE"> +<![ %glossaryinfo.module; [ +<!ENTITY % local.glossaryinfo.attrib ""> +<!ENTITY % glossaryinfo.role.attrib "%role.attrib;"> + +<!ENTITY % glossaryinfo.element "INCLUDE"> +<![ %glossaryinfo.element; [ +<!--doc:Meta-information for a Glossary.--> +<!ELEMENT glossaryinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of glossaryinfo.element-->]]> + +<!ENTITY % glossaryinfo.attlist "INCLUDE"> +<![ %glossaryinfo.attlist; [ +<!ATTLIST glossaryinfo + %common.attrib; + %glossaryinfo.role.attrib; + %local.glossaryinfo.attrib; +> +<!--end of glossaryinfo.attlist-->]]> +<!--end of glossaryinfo.module-->]]> + +<!ENTITY % indexinfo.module "INCLUDE"> +<![ %indexinfo.module; [ +<!ENTITY % local.indexinfo.attrib ""> +<!ENTITY % indexinfo.role.attrib "%role.attrib;"> + +<!ENTITY % indexinfo.element "INCLUDE"> +<![ %indexinfo.element; [ +<!--doc:Meta-information for an Index.--> +<!ELEMENT indexinfo %ho; ((%info.class;)+)> +<!--end of indexinfo.element-->]]> + +<!ENTITY % indexinfo.attlist "INCLUDE"> +<![ %indexinfo.attlist; [ +<!ATTLIST indexinfo + %common.attrib; + %indexinfo.role.attrib; + %local.indexinfo.attrib; +> +<!--end of indexinfo.attlist-->]]> +<!--end of indexinfo.module-->]]> + +<!ENTITY % setindexinfo.module "INCLUDE"> +<![ %setindexinfo.module; [ +<!ENTITY % local.setindexinfo.attrib ""> +<!ENTITY % setindexinfo.role.attrib "%role.attrib;"> + +<!ENTITY % setindexinfo.element "INCLUDE"> +<![ %setindexinfo.element; [ +<!--doc:Meta-information for a SetIndex.--> +<!ELEMENT setindexinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of setindexinfo.element-->]]> + +<!ENTITY % setindexinfo.attlist "INCLUDE"> +<![ %setindexinfo.attlist; [ +<!ATTLIST setindexinfo + %common.attrib; + %setindexinfo.role.attrib; + %local.setindexinfo.attrib; +> +<!--end of setindexinfo.attlist-->]]> +<!--end of setindexinfo.module-->]]> + +<!ENTITY % partinfo.module "INCLUDE"> +<![ %partinfo.module; [ +<!ENTITY % local.partinfo.attrib ""> +<!ENTITY % partinfo.role.attrib "%role.attrib;"> + +<!ENTITY % partinfo.element "INCLUDE"> +<![ %partinfo.element; [ +<!--doc:Meta-information for a Part.--> +<!ELEMENT partinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of partinfo.element-->]]> + +<!ENTITY % partinfo.attlist "INCLUDE"> +<![ %partinfo.attlist; [ +<!ATTLIST partinfo + %common.attrib; + %partinfo.role.attrib; + %local.partinfo.attrib; +> +<!--end of partinfo.attlist-->]]> +<!--end of partinfo.module-->]]> + +<!ENTITY % prefaceinfo.module "INCLUDE"> +<![ %prefaceinfo.module; [ +<!ENTITY % local.prefaceinfo.attrib ""> +<!ENTITY % prefaceinfo.role.attrib "%role.attrib;"> + +<!ENTITY % prefaceinfo.element "INCLUDE"> +<![ %prefaceinfo.element; [ +<!--doc:Meta-information for a Preface.--> +<!ELEMENT prefaceinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of prefaceinfo.element-->]]> + +<!ENTITY % prefaceinfo.attlist "INCLUDE"> +<![ %prefaceinfo.attlist; [ +<!ATTLIST prefaceinfo + %common.attrib; + %prefaceinfo.role.attrib; + %local.prefaceinfo.attrib; +> +<!--end of prefaceinfo.attlist-->]]> +<!--end of prefaceinfo.module-->]]> + +<!ENTITY % refentryinfo.module "INCLUDE"> +<![ %refentryinfo.module; [ +<!ENTITY % local.refentryinfo.attrib ""> +<!ENTITY % refentryinfo.role.attrib "%role.attrib;"> + +<!ENTITY % refentryinfo.element "INCLUDE"> +<![ %refentryinfo.element; [ +<!--doc:Meta-information for a Refentry.--> +<!ELEMENT refentryinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of refentryinfo.element-->]]> + +<!ENTITY % refentryinfo.attlist "INCLUDE"> +<![ %refentryinfo.attlist; [ +<!ATTLIST refentryinfo + %common.attrib; + %refentryinfo.role.attrib; + %local.refentryinfo.attrib; +> +<!--end of refentryinfo.attlist-->]]> +<!--end of refentryinfo.module-->]]> + +<!ENTITY % refsectioninfo.module "INCLUDE"> +<![ %refsectioninfo.module; [ +<!ENTITY % local.refsectioninfo.attrib ""> +<!ENTITY % refsectioninfo.role.attrib "%role.attrib;"> + +<!ENTITY % refsectioninfo.element "INCLUDE"> +<![ %refsectioninfo.element; [ +<!--doc:Meta-information for a refsection.--> +<!ELEMENT refsectioninfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of refsectioninfo.element-->]]> + +<!ENTITY % refsectioninfo.attlist "INCLUDE"> +<![ %refsectioninfo.attlist; [ +<!ATTLIST refsectioninfo + %common.attrib; + %refsectioninfo.role.attrib; + %local.refsectioninfo.attrib; +> +<!--end of refsectioninfo.attlist-->]]> +<!--end of refsectioninfo.module-->]]> + +<!ENTITY % refsect1info.module "INCLUDE"> +<![ %refsect1info.module; [ +<!ENTITY % local.refsect1info.attrib ""> +<!ENTITY % refsect1info.role.attrib "%role.attrib;"> + +<!ENTITY % refsect1info.element "INCLUDE"> +<![ %refsect1info.element; [ +<!--doc:Meta-information for a RefSect1.--> +<!ELEMENT refsect1info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of refsect1info.element-->]]> + +<!ENTITY % refsect1info.attlist "INCLUDE"> +<![ %refsect1info.attlist; [ +<!ATTLIST refsect1info + %common.attrib; + %refsect1info.role.attrib; + %local.refsect1info.attrib; +> +<!--end of refsect1info.attlist-->]]> +<!--end of refsect1info.module-->]]> + +<!ENTITY % refsect2info.module "INCLUDE"> +<![ %refsect2info.module; [ +<!ENTITY % local.refsect2info.attrib ""> +<!ENTITY % refsect2info.role.attrib "%role.attrib;"> + +<!ENTITY % refsect2info.element "INCLUDE"> +<![ %refsect2info.element; [ +<!--doc:Meta-information for a RefSect2.--> +<!ELEMENT refsect2info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of refsect2info.element-->]]> + +<!ENTITY % refsect2info.attlist "INCLUDE"> +<![ %refsect2info.attlist; [ +<!ATTLIST refsect2info + %common.attrib; + %refsect2info.role.attrib; + %local.refsect2info.attrib; +> +<!--end of refsect2info.attlist-->]]> +<!--end of refsect2info.module-->]]> + +<!ENTITY % refsect3info.module "INCLUDE"> +<![ %refsect3info.module; [ +<!ENTITY % local.refsect3info.attrib ""> +<!ENTITY % refsect3info.role.attrib "%role.attrib;"> + +<!ENTITY % refsect3info.element "INCLUDE"> +<![ %refsect3info.element; [ +<!--doc:Meta-information for a RefSect3.--> +<!ELEMENT refsect3info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of refsect3info.element-->]]> + +<!ENTITY % refsect3info.attlist "INCLUDE"> +<![ %refsect3info.attlist; [ +<!ATTLIST refsect3info + %common.attrib; + %refsect3info.role.attrib; + %local.refsect3info.attrib; +> +<!--end of refsect3info.attlist-->]]> +<!--end of refsect3info.module-->]]> + +<!ENTITY % refsynopsisdivinfo.module "INCLUDE"> +<![ %refsynopsisdivinfo.module; [ +<!ENTITY % local.refsynopsisdivinfo.attrib ""> +<!ENTITY % refsynopsisdivinfo.role.attrib "%role.attrib;"> + +<!ENTITY % refsynopsisdivinfo.element "INCLUDE"> +<![ %refsynopsisdivinfo.element; [ +<!--doc:Meta-information for a RefSynopsisDiv.--> +<!ELEMENT refsynopsisdivinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of refsynopsisdivinfo.element-->]]> + +<!ENTITY % refsynopsisdivinfo.attlist "INCLUDE"> +<![ %refsynopsisdivinfo.attlist; [ +<!ATTLIST refsynopsisdivinfo + %common.attrib; + %refsynopsisdivinfo.role.attrib; + %local.refsynopsisdivinfo.attrib; +> +<!--end of refsynopsisdivinfo.attlist-->]]> +<!--end of refsynopsisdivinfo.module-->]]> + +<!ENTITY % referenceinfo.module "INCLUDE"> +<![ %referenceinfo.module; [ +<!ENTITY % local.referenceinfo.attrib ""> +<!ENTITY % referenceinfo.role.attrib "%role.attrib;"> + +<!ENTITY % referenceinfo.element "INCLUDE"> +<![ %referenceinfo.element; [ +<!--doc:Meta-information for a Reference.--> +<!ELEMENT referenceinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of referenceinfo.element-->]]> + +<!ENTITY % referenceinfo.attlist "INCLUDE"> +<![ %referenceinfo.attlist; [ +<!ATTLIST referenceinfo + %common.attrib; + %referenceinfo.role.attrib; + %local.referenceinfo.attrib; +> +<!--end of referenceinfo.attlist-->]]> +<!--end of referenceinfo.module-->]]> + +<!ENTITY % local.sect1info.attrib ""> +<!ENTITY % sect1info.role.attrib "%role.attrib;"> + +<!ENTITY % sect1info.element "INCLUDE"> +<![%sect1info.element;[ +<!--doc:Meta-information for a Sect1.--> +<!ELEMENT sect1info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of sect1info.element-->]]> + +<!ENTITY % sect1info.attlist "INCLUDE"> +<![%sect1info.attlist;[ +<!ATTLIST sect1info + %common.attrib; + %sect1info.role.attrib; + %local.sect1info.attrib; +> +<!--end of sect1info.attlist-->]]> + +<!ENTITY % local.sect2info.attrib ""> +<!ENTITY % sect2info.role.attrib "%role.attrib;"> + +<!ENTITY % sect2info.element "INCLUDE"> +<![%sect2info.element;[ +<!--doc:Meta-information for a Sect2.--> +<!ELEMENT sect2info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of sect2info.element-->]]> + +<!ENTITY % sect2info.attlist "INCLUDE"> +<![%sect2info.attlist;[ +<!ATTLIST sect2info + %common.attrib; + %sect2info.role.attrib; + %local.sect2info.attrib; +> +<!--end of sect2info.attlist-->]]> + +<!ENTITY % local.sect3info.attrib ""> +<!ENTITY % sect3info.role.attrib "%role.attrib;"> + +<!ENTITY % sect3info.element "INCLUDE"> +<![%sect3info.element;[ +<!--doc:Meta-information for a Sect3.--> +<!ELEMENT sect3info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of sect3info.element-->]]> + +<!ENTITY % sect3info.attlist "INCLUDE"> +<![%sect3info.attlist;[ +<!ATTLIST sect3info + %common.attrib; + %sect3info.role.attrib; + %local.sect3info.attrib; +> +<!--end of sect3info.attlist-->]]> + +<!ENTITY % local.sect4info.attrib ""> +<!ENTITY % sect4info.role.attrib "%role.attrib;"> + +<!ENTITY % sect4info.element "INCLUDE"> +<![%sect4info.element;[ +<!--doc:Meta-information for a Sect4.--> +<!ELEMENT sect4info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of sect4info.element-->]]> + +<!ENTITY % sect4info.attlist "INCLUDE"> +<![%sect4info.attlist;[ +<!ATTLIST sect4info + %common.attrib; + %sect4info.role.attrib; + %local.sect4info.attrib; +> +<!--end of sect4info.attlist-->]]> + +<!ENTITY % local.sect5info.attrib ""> +<!ENTITY % sect5info.role.attrib "%role.attrib;"> + +<!ENTITY % sect5info.element "INCLUDE"> +<![%sect5info.element;[ +<!--doc:Meta-information for a Sect5.--> +<!ELEMENT sect5info %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of sect5info.element-->]]> + +<!ENTITY % sect5info.attlist "INCLUDE"> +<![%sect5info.attlist;[ +<!ATTLIST sect5info + %common.attrib; + %sect5info.role.attrib; + %local.sect5info.attrib; +> +<!--end of sect5info.attlist-->]]> + +<!-- ...................................................................... --> +<!-- Section (parallel to Sect*) ......................................... --> + +<!ENTITY % section.content.module "INCLUDE"> +<![ %section.content.module; [ +<!ENTITY % section.module "INCLUDE"> +<![ %section.module; [ +<!ENTITY % local.section.attrib ""> +<!ENTITY % section.role.attrib "%role.attrib;"> + +<!ENTITY % section.element "INCLUDE"> +<![ %section.element; [ +<!--doc:A recursive section.--> +<!ELEMENT section %ho; (sectioninfo?, + (%sect.title.content;), + (%nav.class;)*, + (((%divcomponent.mix;)+, + ((%refentry.class;)*|(%section.class;)*|simplesect*)) + | (%refentry.class;)+|(%section.class;)+|simplesect+), + (%nav.class;)*) + %ubiq.inclusion;> +<!--end of section.element-->]]> + +<!ENTITY % section.attlist "INCLUDE"> +<![ %section.attlist; [ +<!ATTLIST section + %label.attrib; + %status.attrib; + %common.attrib; + %section.role.attrib; + %local.section.attrib; +> +<!--end of section.attlist-->]]> +<!--end of section.module-->]]> + +<!ENTITY % sectioninfo.module "INCLUDE"> +<![ %sectioninfo.module; [ +<!ENTITY % sectioninfo.role.attrib "%role.attrib;"> +<!ENTITY % local.sectioninfo.attrib ""> + +<!ENTITY % sectioninfo.element "INCLUDE"> +<![ %sectioninfo.element; [ +<!--doc:Meta-information for a recursive section.--> +<!ELEMENT sectioninfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of sectioninfo.element-->]]> + +<!ENTITY % sectioninfo.attlist "INCLUDE"> +<![ %sectioninfo.attlist; [ +<!ATTLIST sectioninfo + %common.attrib; + %sectioninfo.role.attrib; + %local.sectioninfo.attrib; +> +<!--end of sectioninfo.attlist-->]]> +<!--end of sectioninfo.module-->]]> +<!--end of section.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Sect1, Sect2, Sect3, Sect4, Sect5 .................................... --> + +<!ENTITY % sect1.module "INCLUDE"> +<![%sect1.module;[ +<!ENTITY % local.sect1.attrib ""> +<!ENTITY % sect1.role.attrib "%role.attrib;"> + +<!ENTITY % sect1.element "INCLUDE"> +<![%sect1.element;[ +<!--doc:A top-level section of document.--> +<!ELEMENT sect1 %ho; (sect1info?, (%sect.title.content;), (%nav.class;)*, + (((%divcomponent.mix;)+, + ((%refentry.class;)* | sect2* | simplesect*)) + | (%refentry.class;)+ | sect2+ | simplesect+), (%nav.class;)*) + %ubiq.inclusion;> +<!--end of sect1.element-->]]> + +<!-- Renderas: Indicates the format in which the heading should + appear --> + + +<!ENTITY % sect1.attlist "INCLUDE"> +<![%sect1.attlist;[ +<!ATTLIST sect1 + renderas (sect2 + |sect3 + |sect4 + |sect5) #IMPLIED + %label.attrib; + %status.attrib; + %common.attrib; + %sect1.role.attrib; + %local.sect1.attrib; +> +<!--end of sect1.attlist-->]]> +<!--end of sect1.module-->]]> + +<!ENTITY % sect2.module "INCLUDE"> +<![%sect2.module;[ +<!ENTITY % local.sect2.attrib ""> +<!ENTITY % sect2.role.attrib "%role.attrib;"> + +<!ENTITY % sect2.element "INCLUDE"> +<![%sect2.element;[ +<!--doc:A subsection within a Sect1.--> +<!ELEMENT sect2 %ho; (sect2info?, (%sect.title.content;), (%nav.class;)*, + (((%divcomponent.mix;)+, + ((%refentry.class;)* | sect3* | simplesect*)) + | (%refentry.class;)+ | sect3+ | simplesect+), (%nav.class;)*)> +<!--end of sect2.element-->]]> + +<!-- Renderas: Indicates the format in which the heading should + appear --> + + +<!ENTITY % sect2.attlist "INCLUDE"> +<![%sect2.attlist;[ +<!ATTLIST sect2 + renderas (sect1 + |sect3 + |sect4 + |sect5) #IMPLIED + %label.attrib; + %status.attrib; + %common.attrib; + %sect2.role.attrib; + %local.sect2.attrib; +> +<!--end of sect2.attlist-->]]> +<!--end of sect2.module-->]]> + +<!ENTITY % sect3.module "INCLUDE"> +<![%sect3.module;[ +<!ENTITY % local.sect3.attrib ""> +<!ENTITY % sect3.role.attrib "%role.attrib;"> + +<!ENTITY % sect3.element "INCLUDE"> +<![%sect3.element;[ +<!--doc:A subsection within a Sect2.--> +<!ELEMENT sect3 %ho; (sect3info?, (%sect.title.content;), (%nav.class;)*, + (((%divcomponent.mix;)+, + ((%refentry.class;)* | sect4* | simplesect*)) + | (%refentry.class;)+ | sect4+ | simplesect+), (%nav.class;)*)> +<!--end of sect3.element-->]]> + +<!-- Renderas: Indicates the format in which the heading should + appear --> + + +<!ENTITY % sect3.attlist "INCLUDE"> +<![%sect3.attlist;[ +<!ATTLIST sect3 + renderas (sect1 + |sect2 + |sect4 + |sect5) #IMPLIED + %label.attrib; + %status.attrib; + %common.attrib; + %sect3.role.attrib; + %local.sect3.attrib; +> +<!--end of sect3.attlist-->]]> +<!--end of sect3.module-->]]> + +<!ENTITY % sect4.module "INCLUDE"> +<![%sect4.module;[ +<!ENTITY % local.sect4.attrib ""> +<!ENTITY % sect4.role.attrib "%role.attrib;"> + +<!ENTITY % sect4.element "INCLUDE"> +<![%sect4.element;[ +<!--doc:A subsection within a Sect3.--> +<!ELEMENT sect4 %ho; (sect4info?, (%sect.title.content;), (%nav.class;)*, + (((%divcomponent.mix;)+, + ((%refentry.class;)* | sect5* | simplesect*)) + | (%refentry.class;)+ | sect5+ | simplesect+), (%nav.class;)*)> +<!--end of sect4.element-->]]> + +<!-- Renderas: Indicates the format in which the heading should + appear --> + + +<!ENTITY % sect4.attlist "INCLUDE"> +<![%sect4.attlist;[ +<!ATTLIST sect4 + renderas (sect1 + |sect2 + |sect3 + |sect5) #IMPLIED + %label.attrib; + %status.attrib; + %common.attrib; + %sect4.role.attrib; + %local.sect4.attrib; +> +<!--end of sect4.attlist-->]]> +<!--end of sect4.module-->]]> + +<!ENTITY % sect5.module "INCLUDE"> +<![%sect5.module;[ +<!ENTITY % local.sect5.attrib ""> +<!ENTITY % sect5.role.attrib "%role.attrib;"> + +<!ENTITY % sect5.element "INCLUDE"> +<![%sect5.element;[ +<!--doc:A subsection within a Sect4.--> +<!ELEMENT sect5 %ho; (sect5info?, (%sect.title.content;), (%nav.class;)*, + (((%divcomponent.mix;)+, ((%refentry.class;)* | simplesect*)) + | (%refentry.class;)+ | simplesect+), (%nav.class;)*)> +<!--end of sect5.element-->]]> + +<!-- Renderas: Indicates the format in which the heading should + appear --> + + +<!ENTITY % sect5.attlist "INCLUDE"> +<![%sect5.attlist;[ +<!ATTLIST sect5 + renderas (sect1 + |sect2 + |sect3 + |sect4) #IMPLIED + %label.attrib; + %status.attrib; + %common.attrib; + %sect5.role.attrib; + %local.sect5.attrib; +> +<!--end of sect5.attlist-->]]> +<!--end of sect5.module-->]]> + +<!ENTITY % simplesect.module "INCLUDE"> +<![%simplesect.module;[ +<!ENTITY % local.simplesect.attrib ""> +<!ENTITY % simplesect.role.attrib "%role.attrib;"> + +<!ENTITY % simplesect.element "INCLUDE"> +<![%simplesect.element;[ +<!--doc:A section of a document with no subdivisions.--> +<!ELEMENT simplesect %ho; ((%sect.title.content;), (%divcomponent.mix;)+) + %ubiq.inclusion;> +<!--end of simplesect.element-->]]> + +<!ENTITY % simplesect.attlist "INCLUDE"> +<![%simplesect.attlist;[ +<!ATTLIST simplesect + %common.attrib; + %simplesect.role.attrib; + %local.simplesect.attrib; +> +<!--end of simplesect.attlist-->]]> +<!--end of simplesect.module-->]]> + +<!-- ...................................................................... --> +<!-- Bibliography ......................................................... --> + +<!ENTITY % bibliography.content.module "INCLUDE"> +<![%bibliography.content.module;[ +<!ENTITY % bibliography.module "INCLUDE"> +<![%bibliography.module;[ +<!ENTITY % local.bibliography.attrib ""> +<!ENTITY % bibliography.role.attrib "%role.attrib;"> + +<!ENTITY % bibliography.element "INCLUDE"> +<![%bibliography.element;[ +<!--doc:A bibliography.--> +<!ELEMENT bibliography %ho; (bibliographyinfo?, + (%bookcomponent.title.content;)?, + (%component.mix;)*, + (bibliodiv+ | (biblioentry|bibliomixed)+))> +<!--end of bibliography.element-->]]> + +<!ENTITY % bibliography.attlist "INCLUDE"> +<![%bibliography.attlist;[ +<!ATTLIST bibliography + %status.attrib; + %common.attrib; + %bibliography.role.attrib; + %local.bibliography.attrib; +> +<!--end of bibliography.attlist-->]]> +<!--end of bibliography.module-->]]> + +<!ENTITY % bibliodiv.module "INCLUDE"> +<![%bibliodiv.module;[ +<!ENTITY % local.bibliodiv.attrib ""> +<!ENTITY % bibliodiv.role.attrib "%role.attrib;"> + +<!ENTITY % bibliodiv.element "INCLUDE"> +<![%bibliodiv.element;[ +<!--doc:A section of a Bibliography.--> +<!ELEMENT bibliodiv %ho; ((%sect.title.content;)?, (%component.mix;)*, + (biblioentry|bibliomixed)+)> +<!--end of bibliodiv.element-->]]> + +<!ENTITY % bibliodiv.attlist "INCLUDE"> +<![%bibliodiv.attlist;[ +<!ATTLIST bibliodiv + %status.attrib; + %common.attrib; + %bibliodiv.role.attrib; + %local.bibliodiv.attrib; +> +<!--end of bibliodiv.attlist-->]]> +<!--end of bibliodiv.module-->]]> +<!--end of bibliography.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Glossary ............................................................. --> + +<!ENTITY % glossary.content.module "INCLUDE"> +<![%glossary.content.module;[ +<!ENTITY % glossary.module "INCLUDE"> +<![%glossary.module;[ +<!ENTITY % local.glossary.attrib ""> +<!ENTITY % glossary.role.attrib "%role.attrib;"> + +<!ENTITY % glossary.element "INCLUDE"> +<![%glossary.element;[ +<!--doc:A glossary.--> +<!ELEMENT glossary %ho; (glossaryinfo?, + (%bookcomponent.title.content;)?, + (%component.mix;)*, + (glossdiv+ | glossentry+), bibliography?)> +<!--end of glossary.element-->]]> + +<!ENTITY % glossary.attlist "INCLUDE"> +<![%glossary.attlist;[ +<!ATTLIST glossary + %status.attrib; + %common.attrib; + %glossary.role.attrib; + %local.glossary.attrib; +> +<!--end of glossary.attlist-->]]> +<!--end of glossary.module-->]]> + +<!ENTITY % glossdiv.module "INCLUDE"> +<![%glossdiv.module;[ +<!ENTITY % local.glossdiv.attrib ""> +<!ENTITY % glossdiv.role.attrib "%role.attrib;"> + +<!ENTITY % glossdiv.element "INCLUDE"> +<![%glossdiv.element;[ +<!--doc:A division in a Glossary.--> +<!ELEMENT glossdiv %ho; ((%sect.title.content;), (%component.mix;)*, + glossentry+)> +<!--end of glossdiv.element-->]]> + +<!ENTITY % glossdiv.attlist "INCLUDE"> +<![%glossdiv.attlist;[ +<!ATTLIST glossdiv + %status.attrib; + %common.attrib; + %glossdiv.role.attrib; + %local.glossdiv.attrib; +> +<!--end of glossdiv.attlist-->]]> +<!--end of glossdiv.module-->]]> +<!--end of glossary.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Index and SetIndex ................................................... --> + +<!ENTITY % index.content.module "INCLUDE"> +<![%index.content.module;[ +<!ENTITY % indexes.module "INCLUDE"> +<![%indexes.module;[ +<!ENTITY % local.indexes.attrib ""> +<!ENTITY % indexes.role.attrib "%role.attrib;"> + +<!ENTITY % index.element "INCLUDE"> +<![%index.element;[ +<!--doc:An index.--> +<!ELEMENT index %ho; (indexinfo?, + (%bookcomponent.title.content;)?, + (%component.mix;)*, + (indexdiv* | indexentry*)) + %ndxterm.exclusion;> +<!--end of index.element-->]]> + +<!ENTITY % index.attlist "INCLUDE"> +<![%index.attlist;[ +<!ATTLIST index + type CDATA #IMPLIED + %common.attrib; + %indexes.role.attrib; + %local.indexes.attrib; +> +<!--end of index.attlist-->]]> + +<!ENTITY % setindex.element "INCLUDE"> +<![%setindex.element;[ +<!--doc:An index to a set of books.--> +<!ELEMENT setindex %ho; (setindexinfo?, + (%bookcomponent.title.content;)?, + (%component.mix;)*, + (indexdiv* | indexentry*)) + %ndxterm.exclusion;> +<!--end of setindex.element-->]]> + +<!ENTITY % setindex.attlist "INCLUDE"> +<![%setindex.attlist;[ +<!ATTLIST setindex + %common.attrib; + %indexes.role.attrib; + %local.indexes.attrib; +> +<!--end of setindex.attlist-->]]> +<!--end of indexes.module-->]]> + +<!ENTITY % indexdiv.module "INCLUDE"> +<![%indexdiv.module;[ + +<!-- SegmentedList in this content is useful for marking up permuted + indices. --> + +<!ENTITY % local.indexdiv.attrib ""> +<!ENTITY % indexdiv.role.attrib "%role.attrib;"> + +<!ENTITY % indexdiv.element "INCLUDE"> +<![%indexdiv.element;[ +<!--doc:A division in an index.--> +<!ELEMENT indexdiv %ho; ((%sect.title.content;)?, ((%indexdivcomponent.mix;)*, + (indexentry+ | segmentedlist)))> +<!--end of indexdiv.element-->]]> + +<!ENTITY % indexdiv.attlist "INCLUDE"> +<![%indexdiv.attlist;[ +<!ATTLIST indexdiv + %common.attrib; + %indexdiv.role.attrib; + %local.indexdiv.attrib; +> +<!--end of indexdiv.attlist-->]]> +<!--end of indexdiv.module-->]]> + +<!ENTITY % indexentry.module "INCLUDE"> +<![%indexentry.module;[ +<!-- Index entries appear in the index, not the text. --> + +<!ENTITY % local.indexentry.attrib ""> +<!ENTITY % indexentry.role.attrib "%role.attrib;"> + +<!ENTITY % indexentry.element "INCLUDE"> +<![%indexentry.element;[ +<!--doc:An entry in an index.--> +<!ELEMENT indexentry %ho; (primaryie, (seeie|seealsoie)*, + (secondaryie, (seeie|seealsoie|tertiaryie)*)*)> +<!--end of indexentry.element-->]]> + +<!ENTITY % indexentry.attlist "INCLUDE"> +<![%indexentry.attlist;[ +<!ATTLIST indexentry + %common.attrib; + %indexentry.role.attrib; + %local.indexentry.attrib; +> +<!--end of indexentry.attlist-->]]> +<!--end of indexentry.module-->]]> + +<!ENTITY % primsecterie.module "INCLUDE"> +<![%primsecterie.module;[ +<!ENTITY % local.primsecterie.attrib ""> +<!ENTITY % primsecterie.role.attrib "%role.attrib;"> + +<!ENTITY % primaryie.element "INCLUDE"> +<![%primaryie.element;[ +<!--doc:A primary term in an index entry, not in the text.--> +<!ELEMENT primaryie %ho; (%ndxterm.char.mix;)*> +<!--end of primaryie.element-->]]> + +<!-- to IndexTerms that these entries represent --> + +<!ENTITY % primaryie.attlist "INCLUDE"> +<![%primaryie.attlist;[ +<!ATTLIST primaryie + %linkends.attrib; %common.attrib; + %primsecterie.role.attrib; + %local.primsecterie.attrib; +> +<!--end of primaryie.attlist-->]]> + +<!ENTITY % secondaryie.element "INCLUDE"> +<![%secondaryie.element;[ +<!--doc:A secondary term in an index entry, rather than in the text.--> +<!ELEMENT secondaryie %ho; (%ndxterm.char.mix;)*> +<!--end of secondaryie.element-->]]> + +<!-- to IndexTerms that these entries represent --> + +<!ENTITY % secondaryie.attlist "INCLUDE"> +<![%secondaryie.attlist;[ +<!ATTLIST secondaryie + %linkends.attrib; %common.attrib; + %primsecterie.role.attrib; + %local.primsecterie.attrib; +> +<!--end of secondaryie.attlist-->]]> + +<!ENTITY % tertiaryie.element "INCLUDE"> +<![%tertiaryie.element;[ +<!--doc:A tertiary term in an index entry, rather than in the text.--> +<!ELEMENT tertiaryie %ho; (%ndxterm.char.mix;)*> +<!--end of tertiaryie.element-->]]> + +<!-- to IndexTerms that these entries represent --> + +<!ENTITY % tertiaryie.attlist "INCLUDE"> +<![%tertiaryie.attlist;[ +<!ATTLIST tertiaryie + %linkends.attrib; %common.attrib; + %primsecterie.role.attrib; + %local.primsecterie.attrib; +> +<!--end of tertiaryie.attlist-->]]> + +<!--end of primsecterie.module-->]]> + +<!ENTITY % seeie.module "INCLUDE"> +<![%seeie.module;[ +<!ENTITY % local.seeie.attrib ""> +<!ENTITY % seeie.role.attrib "%role.attrib;"> + +<!ENTITY % seeie.element "INCLUDE"> +<![%seeie.element;[ +<!--doc:A See entry in an index, rather than in the text.--> +<!ELEMENT seeie %ho; (%ndxterm.char.mix;)*> +<!--end of seeie.element-->]]> + +<!-- to IndexEntry to look up --> + + +<!ENTITY % seeie.attlist "INCLUDE"> +<![%seeie.attlist;[ +<!ATTLIST seeie + %linkend.attrib; %common.attrib; + %seeie.role.attrib; + %local.seeie.attrib; +> +<!--end of seeie.attlist-->]]> +<!--end of seeie.module-->]]> + +<!ENTITY % seealsoie.module "INCLUDE"> +<![%seealsoie.module;[ +<!ENTITY % local.seealsoie.attrib ""> +<!ENTITY % seealsoie.role.attrib "%role.attrib;"> + +<!ENTITY % seealsoie.element "INCLUDE"> +<![%seealsoie.element;[ +<!--doc:A See also entry in an index, rather than in the text.--> +<!ELEMENT seealsoie %ho; (%ndxterm.char.mix;)*> +<!--end of seealsoie.element-->]]> + +<!-- to related IndexEntries --> + + +<!ENTITY % seealsoie.attlist "INCLUDE"> +<![%seealsoie.attlist;[ +<!ATTLIST seealsoie + %linkends.attrib; %common.attrib; + %seealsoie.role.attrib; + %local.seealsoie.attrib; +> +<!--end of seealsoie.attlist-->]]> +<!--end of seealsoie.module-->]]> +<!--end of index.content.module-->]]> + +<!-- ...................................................................... --> +<!-- RefEntry ............................................................. --> + +<!ENTITY % refentry.content.module "INCLUDE"> +<![%refentry.content.module;[ +<!ENTITY % refentry.module "INCLUDE"> +<![%refentry.module;[ +<!ENTITY % local.refentry.attrib ""> +<!ENTITY % refentry.role.attrib "%role.attrib;"> + +<!ENTITY % refentry.element "INCLUDE"> +<![%refentry.element;[ +<!--doc:A reference page (originally a UNIX man-style reference page).--> +<!ELEMENT refentry %ho; (beginpage?, + (%ndxterm.class;)*, + refentryinfo?, refmeta?, (remark|%link.char.class;)*, + refnamediv+, refsynopsisdiv?, (refsect1+|refsection+)) + %ubiq.inclusion;> +<!--end of refentry.element-->]]> + +<!ENTITY % refentry.attlist "INCLUDE"> +<![%refentry.attlist;[ +<!ATTLIST refentry + %status.attrib; + %common.attrib; + %refentry.role.attrib; + %local.refentry.attrib; +> +<!--end of refentry.attlist-->]]> +<!--end of refentry.module-->]]> + +<!ENTITY % refmeta.module "INCLUDE"> +<![%refmeta.module;[ +<!ENTITY % local.refmeta.attrib ""> +<!ENTITY % refmeta.role.attrib "%role.attrib;"> + +<!ENTITY % refmeta.element "INCLUDE"> +<![%refmeta.element;[ +<!--doc:Meta-information for a reference entry.--> +<!ELEMENT refmeta %ho; ((%ndxterm.class;)*, + refentrytitle, manvolnum?, refmiscinfo*, + (%ndxterm.class;)*) + %beginpage.exclusion;> +<!--end of refmeta.element-->]]> + +<!ENTITY % refmeta.attlist "INCLUDE"> +<![%refmeta.attlist;[ +<!ATTLIST refmeta + %common.attrib; + %refmeta.role.attrib; + %local.refmeta.attrib; +> +<!--end of refmeta.attlist-->]]> +<!--end of refmeta.module-->]]> + +<!ENTITY % refmiscinfo.module "INCLUDE"> +<![%refmiscinfo.module;[ +<!ENTITY % local.refmiscinfo.attrib ""> +<!ENTITY % refmiscinfo.role.attrib "%role.attrib;"> + +<!ENTITY % refmiscinfo.element "INCLUDE"> +<![%refmiscinfo.element;[ +<!--doc:Meta-information for a reference entry other than the title and volume number.--> +<!ELEMENT refmiscinfo %ho; (%docinfo.char.mix;)*> +<!--end of refmiscinfo.element-->]]> + +<!-- Class: Freely assignable parameter; no default --> + + +<!ENTITY % refmiscinfo.attlist "INCLUDE"> +<![%refmiscinfo.attlist;[ +<!ATTLIST refmiscinfo + class CDATA #IMPLIED + %common.attrib; + %refmiscinfo.role.attrib; + %local.refmiscinfo.attrib; +> +<!--end of refmiscinfo.attlist-->]]> +<!--end of refmiscinfo.module-->]]> + +<!ENTITY % refnamediv.module "INCLUDE"> +<![%refnamediv.module;[ +<!ENTITY % local.refnamediv.attrib ""> +<!ENTITY % refnamediv.role.attrib "%role.attrib;"> + +<!ENTITY % refnamediv.element "INCLUDE"> +<![%refnamediv.element;[ +<!--doc:The name, purpose, and classification of a reference page.--> +<!ELEMENT refnamediv %ho; (refdescriptor?, refname+, refpurpose, refclass*, + (remark|%link.char.class;)*)> +<!--end of refnamediv.element-->]]> + +<!ENTITY % refnamediv.attlist "INCLUDE"> +<![%refnamediv.attlist;[ +<!ATTLIST refnamediv + %common.attrib; + %refnamediv.role.attrib; + %local.refnamediv.attrib; +> +<!--end of refnamediv.attlist-->]]> +<!--end of refnamediv.module-->]]> + +<!ENTITY % refdescriptor.module "INCLUDE"> +<![%refdescriptor.module;[ +<!ENTITY % local.refdescriptor.attrib ""> +<!ENTITY % refdescriptor.role.attrib "%role.attrib;"> + +<!ENTITY % refdescriptor.element "INCLUDE"> +<![%refdescriptor.element;[ +<!--doc:A description of the topic of a reference page.--> +<!ELEMENT refdescriptor %ho; (%refname.char.mix;)*> +<!--end of refdescriptor.element-->]]> + +<!ENTITY % refdescriptor.attlist "INCLUDE"> +<![%refdescriptor.attlist;[ +<!ATTLIST refdescriptor + %common.attrib; + %refdescriptor.role.attrib; + %local.refdescriptor.attrib; +> +<!--end of refdescriptor.attlist-->]]> +<!--end of refdescriptor.module-->]]> + +<!ENTITY % refname.module "INCLUDE"> +<![%refname.module;[ +<!ENTITY % local.refname.attrib ""> +<!ENTITY % refname.role.attrib "%role.attrib;"> + +<!ENTITY % refname.element "INCLUDE"> +<![%refname.element;[ +<!--doc:The name of (one of) the subject(s) of a reference page.--> +<!ELEMENT refname %ho; (%refname.char.mix;)*> +<!--end of refname.element-->]]> + +<!ENTITY % refname.attlist "INCLUDE"> +<![%refname.attlist;[ +<!ATTLIST refname + %common.attrib; + %refname.role.attrib; + %local.refname.attrib; +> +<!--end of refname.attlist-->]]> +<!--end of refname.module-->]]> + +<!ENTITY % refpurpose.module "INCLUDE"> +<![%refpurpose.module;[ +<!ENTITY % local.refpurpose.attrib ""> +<!ENTITY % refpurpose.role.attrib "%role.attrib;"> + +<!ENTITY % refpurpose.element "INCLUDE"> +<![%refpurpose.element;[ +<!--doc:A short (one sentence) synopsis of the topic of a reference page.--> +<!ELEMENT refpurpose %ho; (%refinline.char.mix;)*> +<!--end of refpurpose.element-->]]> + +<!ENTITY % refpurpose.attlist "INCLUDE"> +<![%refpurpose.attlist;[ +<!ATTLIST refpurpose + %common.attrib; + %refpurpose.role.attrib; + %local.refpurpose.attrib; +> +<!--end of refpurpose.attlist-->]]> +<!--end of refpurpose.module-->]]> + +<!ENTITY % refclass.module "INCLUDE"> +<![%refclass.module;[ +<!ENTITY % local.refclass.attrib ""> +<!ENTITY % refclass.role.attrib "%role.attrib;"> + +<!ENTITY % refclass.element "INCLUDE"> +<![%refclass.element;[ +<!--doc:The scope or other indication of applicability of a reference entry.--> +<!ELEMENT refclass %ho; (%refclass.char.mix;)*> +<!--end of refclass.element-->]]> + +<!ENTITY % refclass.attlist "INCLUDE"> +<![%refclass.attlist;[ +<!ATTLIST refclass + %common.attrib; + %refclass.role.attrib; + %local.refclass.attrib; +> +<!--end of refclass.attlist-->]]> +<!--end of refclass.module-->]]> + +<!ENTITY % refsynopsisdiv.module "INCLUDE"> +<![%refsynopsisdiv.module;[ +<!ENTITY % local.refsynopsisdiv.attrib ""> +<!ENTITY % refsynopsisdiv.role.attrib "%role.attrib;"> + +<!ENTITY % refsynopsisdiv.element "INCLUDE"> +<![%refsynopsisdiv.element;[ +<!--doc:A syntactic synopsis of the subject of the reference page.--> +<!ELEMENT refsynopsisdiv %ho; (refsynopsisdivinfo?, (%refsect.title.content;)?, + (((%refcomponent.mix;)+, refsect2*) | (refsect2+)))> +<!--end of refsynopsisdiv.element-->]]> + +<!ENTITY % refsynopsisdiv.attlist "INCLUDE"> +<![%refsynopsisdiv.attlist;[ +<!ATTLIST refsynopsisdiv + %common.attrib; + %refsynopsisdiv.role.attrib; + %local.refsynopsisdiv.attrib; +> +<!--end of refsynopsisdiv.attlist-->]]> +<!--end of refsynopsisdiv.module-->]]> + +<!ENTITY % refsection.module "INCLUDE"> +<![%refsection.module;[ +<!ENTITY % local.refsection.attrib ""> +<!ENTITY % refsection.role.attrib "%role.attrib;"> + +<!ENTITY % refsection.element "INCLUDE"> +<![%refsection.element;[ +<!--doc:A recursive section in a refentry.--> +<!ELEMENT refsection %ho; (refsectioninfo?, (%refsect.title.content;), + (((%refcomponent.mix;)+, refsection*) | refsection+))> +<!--end of refsection.element-->]]> + +<!ENTITY % refsection.attlist "INCLUDE"> +<![%refsection.attlist;[ +<!ATTLIST refsection + %status.attrib; + %common.attrib; + %refsection.role.attrib; + %local.refsection.attrib; +> +<!--end of refsection.attlist-->]]> +<!--end of refsection.module-->]]> + +<!ENTITY % refsect1.module "INCLUDE"> +<![%refsect1.module;[ +<!ENTITY % local.refsect1.attrib ""> +<!ENTITY % refsect1.role.attrib "%role.attrib;"> + +<!ENTITY % refsect1.element "INCLUDE"> +<![%refsect1.element;[ +<!--doc:A major subsection of a reference entry.--> +<!ELEMENT refsect1 %ho; (refsect1info?, (%refsect.title.content;), + (((%refcomponent.mix;)+, refsect2*) | refsect2+))> +<!--end of refsect1.element-->]]> + +<!ENTITY % refsect1.attlist "INCLUDE"> +<![%refsect1.attlist;[ +<!ATTLIST refsect1 + %status.attrib; + %common.attrib; + %refsect1.role.attrib; + %local.refsect1.attrib; +> +<!--end of refsect1.attlist-->]]> +<!--end of refsect1.module-->]]> + +<!ENTITY % refsect2.module "INCLUDE"> +<![%refsect2.module;[ +<!ENTITY % local.refsect2.attrib ""> +<!ENTITY % refsect2.role.attrib "%role.attrib;"> + +<!ENTITY % refsect2.element "INCLUDE"> +<![%refsect2.element;[ +<!--doc:A subsection of a RefSect1.--> +<!ELEMENT refsect2 %ho; (refsect2info?, (%refsect.title.content;), + (((%refcomponent.mix;)+, refsect3*) | refsect3+))> +<!--end of refsect2.element-->]]> + +<!ENTITY % refsect2.attlist "INCLUDE"> +<![%refsect2.attlist;[ +<!ATTLIST refsect2 + %status.attrib; + %common.attrib; + %refsect2.role.attrib; + %local.refsect2.attrib; +> +<!--end of refsect2.attlist-->]]> +<!--end of refsect2.module-->]]> + +<!ENTITY % refsect3.module "INCLUDE"> +<![%refsect3.module;[ +<!ENTITY % local.refsect3.attrib ""> +<!ENTITY % refsect3.role.attrib "%role.attrib;"> + +<!ENTITY % refsect3.element "INCLUDE"> +<![%refsect3.element;[ +<!--doc:A subsection of a RefSect2.--> +<!ELEMENT refsect3 %ho; (refsect3info?, (%refsect.title.content;), + (%refcomponent.mix;)+)> +<!--end of refsect3.element-->]]> + +<!ENTITY % refsect3.attlist "INCLUDE"> +<![%refsect3.attlist;[ +<!ATTLIST refsect3 + %status.attrib; + %common.attrib; + %refsect3.role.attrib; + %local.refsect3.attrib; +> +<!--end of refsect3.attlist-->]]> +<!--end of refsect3.module-->]]> +<!--end of refentry.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Article .............................................................. --> + +<!ENTITY % article.module "INCLUDE"> +<![%article.module;[ +<!-- An Article is a chapter-level, stand-alone document that is often, + but need not be, collected into a Book. --> + +<!ENTITY % local.article.attrib ""> +<!ENTITY % article.role.attrib "%role.attrib;"> + +<!ENTITY % article.element "INCLUDE"> +<![%article.element;[ +<!--doc:An article.--> +<!ELEMENT article %ho; ((%div.title.content;)?, articleinfo?, tocchap?, lot*, + (%bookcomponent.content;), + (%nav.class;|%appendix.class;|colophon|ackno)*) + %ubiq.inclusion;> +<!--end of article.element-->]]> + +<!-- Class: Indicates the type of a particular article; + all articles have the same structure and general purpose. + No default. --> +<!-- ParentBook: ID of the enclosing Book --> + + +<!ENTITY % article.attlist "INCLUDE"> +<![%article.attlist;[ +<!ATTLIST article + class (journalarticle + |productsheet + |whitepaper + |techreport + |specification + |faq) #IMPLIED + parentbook IDREF #IMPLIED + %status.attrib; + %common.attrib; + %article.role.attrib; + %local.article.attrib; +> +<!--end of article.attlist-->]]> +<!--end of article.module-->]]> + +<!-- End of DocBook document hierarchy module V4.5 ........................ --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/dbnotnx.mod b/doc/editor_configs/serna/scons/dtd/dbnotnx.mod new file mode 100644 index 0000000..9f3b78e --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/dbnotnx.mod @@ -0,0 +1,101 @@ +<!-- ...................................................................... --> +<!-- DocBook notations module V4.5 ........................................ --> +<!-- File dbnotnx.mod ..................................................... --> + +<!-- Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: dbnotnx.mod,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This module contains the notation declarations used by DocBook. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbnotn PUBLIC + "-//OASIS//ENTITIES DocBook Notations V4.5//EN" + "dbnotnx.mod"> + %dbnotn; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> + +<!ENTITY % local.notation.class ""> +<!ENTITY % notation.class + "BMP| CGM-CHAR | CGM-BINARY | CGM-CLEAR | DITROFF | DVI + | EPS | EQN | FAX | GIF | GIF87a | GIF89a + | JPG | JPEG | IGES | PCX + | PIC | PNG | PS | SGML | TBL | TEX | TIFF | WMF | WPG + | SVG | PDF | SWF + | linespecific + %local.notation.class;"> + +<!NOTATION BMP PUBLIC +"+//ISBN 0-7923-94.2-1::Graphic Notation//NOTATION Microsoft Windows bitmap//EN"> +<!NOTATION CGM-CHAR PUBLIC "ISO 8632/2//NOTATION Character encoding//EN"> +<!NOTATION CGM-BINARY PUBLIC "ISO 8632/3//NOTATION Binary encoding//EN"> +<!NOTATION CGM-CLEAR PUBLIC "ISO 8632/4//NOTATION Clear text encoding//EN"> +<!NOTATION DITROFF SYSTEM "DITROFF"> +<!NOTATION DVI SYSTEM "DVI"> +<!NOTATION EPS PUBLIC +"+//ISBN 0-201-18127-4::Adobe//NOTATION PostScript Language Ref. Manual//EN"> +<!NOTATION EQN SYSTEM "EQN"> +<!NOTATION FAX PUBLIC +"-//USA-DOD//NOTATION CCITT Group 4 Facsimile Type 1 Untiled Raster//EN"> +<!NOTATION GIF SYSTEM "GIF"> +<!NOTATION GIF87a PUBLIC +"-//CompuServe//NOTATION Graphics Interchange Format 87a//EN"> + +<!NOTATION GIF89a PUBLIC +"-//CompuServe//NOTATION Graphics Interchange Format 89a//EN"> +<!NOTATION JPG SYSTEM "JPG"> +<!NOTATION JPEG SYSTEM "JPG"> +<!NOTATION IGES PUBLIC +"-//USA-DOD//NOTATION (ASME/ANSI Y14.26M-1987) Initial Graphics Exchange Specification//EN"> +<!NOTATION PCX PUBLIC +"+//ISBN 0-7923-94.2-1::Graphic Notation//NOTATION ZSoft PCX bitmap//EN"> +<!NOTATION PIC SYSTEM "PIC"> +<!NOTATION PNG SYSTEM "http://www.w3.org/TR/REC-png"> +<!NOTATION PS SYSTEM "PS"> +<!NOTATION SGML PUBLIC +"ISO 8879:1986//NOTATION Standard Generalized Markup Language//EN"> +<!NOTATION TBL SYSTEM "TBL"> +<!NOTATION TEX PUBLIC +"+//ISBN 0-201-13448-9::Knuth//NOTATION The TeXbook//EN"> +<!NOTATION TIFF SYSTEM "TIFF"> +<!NOTATION WMF PUBLIC +"+//ISBN 0-7923-94.2-1::Graphic Notation//NOTATION Microsoft Windows Metafile//EN"> +<!NOTATION WPG SYSTEM "WPG"> <!--WordPerfect Graphic format--> +<!NOTATION SVG SYSTEM "http://www.w3.org/TR/SVG/"> +<!NOTATION PDF SYSTEM "http://www.adobe.com/products/acrobat/adobepdf.html"> +<!NOTATION SWF SYSTEM "http://www.macromedia.com/software/flash"> +<!NOTATION linespecific SYSTEM "linespecific"> + +<!-- End of DocBook notations module V4.5 ................................. --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/dbpoolx.mod b/doc/editor_configs/serna/scons/dtd/dbpoolx.mod new file mode 100644 index 0000000..114771f --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/dbpoolx.mod @@ -0,0 +1,8870 @@ +<!-- ...................................................................... --> +<!-- DocBook XML information pool module V4.5 ............................. --> +<!-- File dbpoolx.mod ..................................................... --> + +<!-- Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: dbpoolx.mod,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook XML DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook XML DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This module contains the definitions for the objects, inline + elements, and so on that are available to be used as the main + content of DocBook documents. Some elements are useful for general + publishing, and others are useful specifically for computer + documentation. + + This module has the following dependencies on other modules: + + o It assumes that a %notation.class; entity is defined by the + driver file or other high-level module. This entity is + referenced in the NOTATION attributes for the graphic-related and + ModeSpec elements. + + o It assumes that an appropriately parameterized table module is + available for use with the table-related elements. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbpool PUBLIC + "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" + "dbpoolx.mod"> + %dbpool; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> + +<!-- ...................................................................... --> +<!-- Forms entities ....................................................... --> +<!-- These PEs provide the hook by which the forms module can be inserted --> +<!-- into the DTD. --> +<!ENTITY % forminlines.hook ""> +<!ENTITY % forms.hook ""> + +<!-- ...................................................................... --> +<!-- General-purpose semantics entities ................................... --> + +<!ENTITY % yesorno.attvals "CDATA"> + +<!-- ...................................................................... --> +<!-- Entities for module inclusions ....................................... --> + +<!ENTITY % dbpool.redecl.module "IGNORE"> + +<!-- ...................................................................... --> +<!-- Entities for element classes and mixtures ............................ --> + +<!-- "Ubiquitous" classes: ndxterm.class and beginpage --> + +<!ENTITY % local.ndxterm.class ""> +<!ENTITY % ndxterm.class + "indexterm %local.ndxterm.class;"> + +<!-- Object-level classes ................................................. --> + +<!ENTITY % local.list.class ""> +<!ENTITY % list.class + "calloutlist|glosslist|bibliolist|itemizedlist|orderedlist|segmentedlist + |simplelist|variablelist %local.list.class;"> + +<!ENTITY % local.admon.class ""> +<!ENTITY % admon.class + "caution|important|note|tip|warning %local.admon.class;"> + +<!ENTITY % local.linespecific.class ""> +<!ENTITY % linespecific.class + "literallayout|programlisting|programlistingco|screen + |screenco|screenshot %local.linespecific.class;"> + +<!ENTITY % local.method.synop.class ""> +<!ENTITY % method.synop.class + "constructorsynopsis + |destructorsynopsis + |methodsynopsis %local.method.synop.class;"> + +<!ENTITY % local.synop.class ""> +<!ENTITY % synop.class + "synopsis|cmdsynopsis|funcsynopsis + |classsynopsis|fieldsynopsis + |%method.synop.class; %local.synop.class;"> + +<!ENTITY % local.para.class ""> +<!ENTITY % para.class + "formalpara|para|simpara + |sconstruct|scons_example + |scons_example_file|scons_output %local.para.class;"> + +<!ENTITY % local.informal.class ""> +<!ENTITY % informal.class + "address|blockquote + |graphic|graphicco|mediaobject|mediaobjectco + |informalequation + |informalexample + |informalfigure + |informaltable %local.informal.class;"> + +<!ENTITY % local.formal.class ""> +<!ENTITY % formal.class + "equation|example|figure|table %local.formal.class;"> + +<!-- The DocBook TC may produce an official EBNF module for DocBook. --> +<!-- This PE provides the hook by which it can be inserted into the DTD. --> +<!ENTITY % ebnf.block.hook ""> + +<!ENTITY % local.compound.class ""> +<!ENTITY % compound.class + "msgset|procedure|sidebar|qandaset|task + %ebnf.block.hook; + %local.compound.class;"> + +<!ENTITY % local.genobj.class ""> +<!ENTITY % genobj.class + "anchor|bridgehead|remark|highlights + %local.genobj.class;"> + +<!ENTITY % local.descobj.class ""> +<!ENTITY % descobj.class + "abstract|authorblurb|epigraph + %local.descobj.class;"> + +<!-- Character-level classes .............................................. --> + +<!ENTITY % local.xref.char.class ""> +<!ENTITY % xref.char.class + "footnoteref|xref|biblioref %local.xref.char.class;"> + +<!ENTITY % local.gen.char.class ""> +<!ENTITY % gen.char.class + "abbrev|acronym|citation|citerefentry|citetitle|citebiblioid|emphasis + |firstterm|foreignphrase|glossterm|termdef|footnote|phrase + |orgname|quote|trademark|wordasword + |personname %local.gen.char.class;"> + +<!ENTITY % local.link.char.class ""> +<!ENTITY % link.char.class + "link|olink|ulink %local.link.char.class;"> + +<!-- The DocBook TC may produce an official EBNF module for DocBook. --> +<!-- This PE provides the hook by which it can be inserted into the DTD. --> +<!ENTITY % ebnf.inline.hook ""> + +<!ENTITY % local.tech.char.class ""> +<!ENTITY % tech.char.class + "action|application + |classname|methodname|interfacename|exceptionname + |ooclass|oointerface|ooexception + |package + |command|computeroutput + |database|email|envar|errorcode|errorname|errortype|errortext|filename + |function|guibutton|guiicon|guilabel|guimenu|guimenuitem + |guisubmenu|hardware|interface|keycap + |keycode|keycombo|keysym|literal|code|constant|markup|medialabel + |menuchoice|mousebutton|option|optional|parameter + |prompt|property|replaceable|returnvalue|sgmltag|structfield + |structname|symbol|systemitem|uri|token|type|userinput|varname + %ebnf.inline.hook; + %local.tech.char.class;"> + +<!ENTITY % local.base.char.class ""> +<!ENTITY % base.char.class + "anchor %local.base.char.class;"> + +<!ENTITY % local.docinfo.char.class ""> +<!ENTITY % docinfo.char.class + "author|authorinitials|corpauthor|corpcredit|modespec|othercredit + |productname|productnumber|revhistory + %local.docinfo.char.class;"> + +<!ENTITY % local.other.char.class ""> +<!ENTITY % other.char.class + "remark|subscript|superscript %local.other.char.class;"> + +<!ENTITY % local.inlineobj.char.class ""> +<!ENTITY % inlineobj.char.class + "inlinegraphic|inlinemediaobject|inlineequation %local.inlineobj.char.class;"> + +<!-- ...................................................................... --> +<!-- Entities for content models .......................................... --> + +<!ENTITY % formalobject.title.content "title, titleabbrev?"> + +<!-- Redeclaration placeholder ............................................ --> + +<!-- For redeclaring entities that are declared after this point while + retaining their references to the entities that are declared before + this point --> + +<![%dbpool.redecl.module;[ +<!-- Defining rdbpool here makes some buggy XML parsers happy. --> +<!ENTITY % rdbpool ""> +%rdbpool; +<!--end of dbpool.redecl.module-->]]> + +<!-- Object-level mixtures ................................................ --> + +<!-- + list admn line synp para infm form cmpd gen desc +Component mixture X X X X X X X X X X +Sidebar mixture X X X X X X X a X +Footnote mixture X X X X X +Example mixture X X X X X +Highlights mixture X X X +Paragraph mixture X X X X +Admonition mixture X X X X X X b c +Figure mixture X X X +Table entry mixture X X X X d +Glossary def mixture X X X X X e +Legal notice mixture X X X X f + +a. Just Procedure; not Sidebar itself or MsgSet. +b. No MsgSet. +c. No Highlights. +d. Just Graphic; no other informal objects. +e. No Anchor, BridgeHead, or Highlights. +f. Just BlockQuote; no other informal objects. +--> + +<!ENTITY % local.component.mix ""> +<!ENTITY % component.mix + "%list.class; |%admon.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; |%compound.class; + |%genobj.class; |%descobj.class; + |%ndxterm.class; |beginpage + %forms.hook; + %local.component.mix;"> + +<!ENTITY % local.sidebar.mix ""> +<!ENTITY % sidebar.mix + "%list.class; |%admon.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; |procedure + |%genobj.class; + |%ndxterm.class; |beginpage + %forms.hook; + %local.sidebar.mix;"> + +<!ENTITY % local.qandaset.mix ""> +<!ENTITY % qandaset.mix + "%list.class; |%admon.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; |procedure + |%genobj.class; + |%ndxterm.class; + %forms.hook; + %local.qandaset.mix;"> + +<!ENTITY % local.revdescription.mix ""> +<!ENTITY % revdescription.mix + "%list.class; |%admon.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; |procedure + |%genobj.class; + |%ndxterm.class; + %local.revdescription.mix;"> + +<!ENTITY % local.footnote.mix ""> +<!ENTITY % footnote.mix + "%list.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + %local.footnote.mix;"> + +<!ENTITY % local.example.mix ""> +<!ENTITY % example.mix + "%list.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%ndxterm.class; |beginpage + |procedure + %forms.hook; + %local.example.mix;"> + +<!ENTITY % local.highlights.mix ""> +<!ENTITY % highlights.mix + "%list.class; |%admon.class; + |%para.class; + |%ndxterm.class; + %local.highlights.mix;"> + +<!-- %formal.class; is explicitly excluded from many contexts in which + paragraphs are used --> +<!ENTITY % local.para.mix ""> +<!ENTITY % para.mix + "%list.class; |%admon.class; + |%linespecific.class; + |%informal.class; + |%formal.class; + %local.para.mix;"> + +<!ENTITY % local.admon.mix ""> +<!ENTITY % admon.mix + "%list.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; |procedure|sidebar + |anchor|bridgehead|remark + |%ndxterm.class; |beginpage + %forms.hook; + %local.admon.mix;"> + +<!ENTITY % local.figure.mix ""> +<!ENTITY % figure.mix + "%linespecific.class; |%synop.class; + |%informal.class; + |%ndxterm.class; |beginpage + %forms.hook; + %local.figure.mix;"> + +<!ENTITY % local.tabentry.mix ""> +<!ENTITY % tabentry.mix + "%list.class; |%admon.class; + |%linespecific.class; + |%para.class; |graphic|mediaobject + %forms.hook; + %local.tabentry.mix;"> + +<!ENTITY % local.glossdef.mix ""> +<!ENTITY % glossdef.mix + "%list.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%formal.class; + |remark + |%ndxterm.class; |beginpage + %local.glossdef.mix;"> + +<!ENTITY % local.legalnotice.mix ""> +<!ENTITY % legalnotice.mix + "%list.class; |%admon.class; + |%linespecific.class; + |%para.class; |blockquote + |%ndxterm.class; |beginpage + %local.legalnotice.mix;"> + +<!ENTITY % local.textobject.mix ""> +<!ENTITY % textobject.mix + "%list.class; |%admon.class; + |%linespecific.class; + |%para.class; |blockquote + %local.textobject.mix;"> + +<!ENTITY % local.mediaobject.mix ""> +<!ENTITY % mediaobject.mix + "videoobject|audioobject|imageobject|imageobjectco|textobject %local.mediaobject.mix;"> + +<!ENTITY % local.listpreamble.mix ""> +<!ENTITY % listpreamble.mix + " %admon.class; + |%linespecific.class; |%synop.class; + |%para.class; |%informal.class; + |%genobj.class; |%descobj.class; + |%ndxterm.class; |beginpage + %forms.hook; + %local.listpreamble.mix;"> + +<!-- Character-level mixtures ............................................. --> + +<![%sgml.features;[ +<!ENTITY % local.ubiq.mix ""> +<!ENTITY % ubiq.mix "%ndxterm.class;|beginpage %local.ubiq.mix;"> + +<!ENTITY % ubiq.exclusion "-(%ubiq.mix)"> +<!ENTITY % ubiq.inclusion "+(%ubiq.mix)"> + +<!ENTITY % footnote.exclusion "-(footnote|%formal.class;)"> +<!ENTITY % highlights.exclusion "-(%ubiq.mix;|%formal.class;)"> +<!ENTITY % admon.exclusion "-(%admon.class;)"> +<!ENTITY % formal.exclusion "-(%formal.class;)"> +<!ENTITY % acronym.exclusion "-(acronym)"> +<!ENTITY % beginpage.exclusion "-(beginpage)"> +<!ENTITY % ndxterm.exclusion "-(%ndxterm.class;)"> +<!ENTITY % blockquote.exclusion "-(epigraph)"> +<!ENTITY % remark.exclusion "-(remark|%ubiq.mix;)"> +<!ENTITY % glossterm.exclusion "-(glossterm)"> +<!ENTITY % links.exclusion "-(link|olink|ulink|xref|biblioref)"> +]]><!-- sgml.features --> + +<!-- not [sgml.features[ --> +<!ENTITY % local.ubiq.mix ""> +<!ENTITY % ubiq.mix ""> + +<!ENTITY % ubiq.exclusion ""> +<!ENTITY % ubiq.inclusion ""> + +<!ENTITY % footnote.exclusion ""> +<!ENTITY % highlights.exclusion ""> +<!ENTITY % admon.exclusion ""> +<!ENTITY % formal.exclusion ""> +<!ENTITY % acronym.exclusion ""> +<!ENTITY % beginpage.exclusion ""> +<!ENTITY % ndxterm.exclusion ""> +<!ENTITY % blockquote.exclusion ""> +<!ENTITY % remark.exclusion ""> +<!ENTITY % glossterm.exclusion ""> +<!ENTITY % links.exclusion ""> +<!-- ]] not sgml.features --> + +<!-- + #PCD xref word link cptr base dnfo othr inob (synop) +para.char.mix X X X X X X X X X +title.char.mix X X X X X X X X X +ndxterm.char.mix X X X X X X X X a +cptr.char.mix X X X X X a +smallcptr.char.mix X b a +word.char.mix X c X X X a +docinfo.char.mix X d X b X a + +a. Just InlineGraphic; no InlineEquation. +b. Just Replaceable; no other computer terms. +c. Just Emphasis and Trademark; no other word elements. +d. Just Acronym, Emphasis, and Trademark; no other word elements. +--> + +<!ENTITY % local.para.char.mix ""> +<!ENTITY % para.char.mix + "#PCDATA + |%xref.char.class; |%gen.char.class; + |%link.char.class; |%tech.char.class; + |%base.char.class; |%docinfo.char.class; + |%other.char.class; |%inlineobj.char.class; + |%synop.class; + |%ndxterm.class; |beginpage + %forminlines.hook; + %local.para.char.mix;"> + +<!ENTITY % local.title.char.mix ""> +<!ENTITY % title.char.mix + "#PCDATA + |%xref.char.class; |%gen.char.class; + |%link.char.class; |%tech.char.class; + |%base.char.class; |%docinfo.char.class; + |%other.char.class; |%inlineobj.char.class; + |%ndxterm.class; + %local.title.char.mix;"> + +<!ENTITY % local.ndxterm.char.mix ""> +<!ENTITY % ndxterm.char.mix + "#PCDATA + |%xref.char.class; |%gen.char.class; + |%link.char.class; |%tech.char.class; + |%base.char.class; |%docinfo.char.class; + |%other.char.class; |inlinegraphic|inlinemediaobject + %local.ndxterm.char.mix;"> + +<!ENTITY % local.cptr.char.mix ""> +<!ENTITY % cptr.char.mix + "#PCDATA + |%link.char.class; |%tech.char.class; + |%base.char.class; + |%other.char.class; |inlinegraphic|inlinemediaobject + |%ndxterm.class; |beginpage + %local.cptr.char.mix;"> + +<!ENTITY % local.smallcptr.char.mix ""> +<!ENTITY % smallcptr.char.mix + "#PCDATA + |replaceable + |inlinegraphic|inlinemediaobject + |%ndxterm.class; |beginpage + %local.smallcptr.char.mix;"> + +<!ENTITY % local.word.char.mix ""> +<!ENTITY % word.char.mix + "#PCDATA + |acronym|emphasis|trademark + |%link.char.class; + |%base.char.class; + |%other.char.class; |inlinegraphic|inlinemediaobject + |%ndxterm.class; |beginpage + %local.word.char.mix;"> + +<!ENTITY % local.docinfo.char.mix ""> +<!ENTITY % docinfo.char.mix + "#PCDATA + |%link.char.class; + |emphasis|trademark + |replaceable + |%other.char.class; |inlinegraphic|inlinemediaobject + |%ndxterm.class; + %local.docinfo.char.mix;"> +<!--ENTITY % bibliocomponent.mix (see Bibliographic section, below)--> +<!--ENTITY % person.ident.mix (see Bibliographic section, below)--> + +<!-- ...................................................................... --> +<!-- Entities for attributes and attribute components ..................... --> + +<!-- Effectivity attributes ............................................... --> + + +<!-- Arch: Computer or chip architecture to which element applies; no + default --> + +<!ENTITY % arch.attrib + "arch CDATA #IMPLIED"> + +<!-- Condition: General-purpose effectivity attribute --> + +<!ENTITY % condition.attrib + "condition CDATA #IMPLIED"> + +<!-- Conformance: Standards conformance characteristics --> + +<!ENTITY % conformance.attrib + "conformance NMTOKENS #IMPLIED"> + + +<!-- OS: Operating system to which element applies; no default --> + +<!ENTITY % os.attrib + "os CDATA #IMPLIED"> + + +<!-- Revision: Editorial revision to which element belongs; no default --> + +<!ENTITY % revision.attrib + "revision CDATA #IMPLIED"> + +<!-- Security: Security classification; no default --> + +<!ENTITY % security.attrib + "security CDATA #IMPLIED"> + +<!-- UserLevel: Level of user experience to which element applies; no + default --> + +<!ENTITY % userlevel.attrib + "userlevel CDATA #IMPLIED"> + +<!-- Vendor: Computer vendor to which element applies; no default --> + +<!ENTITY % vendor.attrib + "vendor CDATA #IMPLIED"> + +<!-- Wordsize: Computer word size (32 bit, 64 bit, etc.); no default --> + +<!ENTITY % wordsize.attrib + "wordsize CDATA #IMPLIED"> + +<!ENTITY % local.effectivity.attrib ""> +<!ENTITY % effectivity.attrib + "%arch.attrib; + %condition.attrib; + %conformance.attrib; + %os.attrib; + %revision.attrib; + %security.attrib; + %userlevel.attrib; + %vendor.attrib; + %wordsize.attrib; + %local.effectivity.attrib;" +> + +<!-- Common attributes .................................................... --> + + +<!-- Id: Unique identifier of element; no default --> + +<!ENTITY % id.attrib + "id ID #IMPLIED"> + + +<!-- Id: Unique identifier of element; a value must be supplied; no + default --> + +<!ENTITY % idreq.attrib + "id ID #REQUIRED"> + + +<!-- Lang: Indicator of language in which element is written, for + translation, character set management, etc.; no default --> + +<!ENTITY % lang.attrib + "lang CDATA #IMPLIED"> + + +<!-- Remap: Previous role of element before conversion; no default --> + +<!ENTITY % remap.attrib + "remap CDATA #IMPLIED"> + + +<!-- Role: New role of element in local environment; no default --> + +<!ENTITY % role.attrib + "role CDATA #IMPLIED"> + + +<!-- XRefLabel: Alternate labeling string for XRef text generation; + default is usually title or other appropriate label text already + contained in element --> + +<!ENTITY % xreflabel.attrib + "xreflabel CDATA #IMPLIED"> + + +<!-- RevisionFlag: Revision status of element; default is that element + wasn't revised --> + +<!ENTITY % revisionflag.attrib + "revisionflag (changed + |added + |deleted + |off) #IMPLIED"> + +<!ENTITY % local.common.attrib ""> + +<!-- dir: Bidirectional override --> + +<!ENTITY % dir.attrib + "dir (ltr + |rtl + |lro + |rlo) #IMPLIED"> + +<!-- xml:base: base URI --> + +<![%sgml.features;[ +<!ENTITY % xml-base.attrib ""> +]]> +<!ENTITY % xml-base.attrib + "xml:base CDATA #IMPLIED"> + +<!-- Role is included explicitly on each element --> + +<!ENTITY % common.attrib + "%id.attrib; + %lang.attrib; + %remap.attrib; + %xreflabel.attrib; + %revisionflag.attrib; + %effectivity.attrib; + %dir.attrib; + %xml-base.attrib; + %local.common.attrib;" +> + +<!-- Role is included explicitly on each element --> + +<!ENTITY % idreq.common.attrib + "%idreq.attrib; + %lang.attrib; + %remap.attrib; + %xreflabel.attrib; + %revisionflag.attrib; + %effectivity.attrib; + %dir.attrib; + %xml-base.attrib; + %local.common.attrib;" +> + +<!-- Semi-common attributes and other attribute entities .................. --> + +<!ENTITY % local.graphics.attrib ""> + +<!-- EntityRef: Name of an external entity containing the content + of the graphic --> +<!-- FileRef: Filename, qualified by a pathname if desired, + designating the file containing the content of the graphic --> +<!-- Format: Notation of the element content, if any --> +<!-- SrcCredit: Information about the source of the Graphic --> +<!-- Width: Same as CALS reprowid (desired width) --> +<!-- Depth: Same as CALS reprodep (desired depth) --> +<!-- Align: Same as CALS hplace with 'none' removed; #IMPLIED means + application-specific --> +<!-- Scale: Conflation of CALS hscale and vscale --> +<!-- Scalefit: Same as CALS scalefit --> + +<!ENTITY % graphics.attrib + " + entityref ENTITY #IMPLIED + fileref CDATA #IMPLIED + format (%notation.class;) #IMPLIED + srccredit CDATA #IMPLIED + width CDATA #IMPLIED + contentwidth CDATA #IMPLIED + depth CDATA #IMPLIED + contentdepth CDATA #IMPLIED + align (left + |right + |center) #IMPLIED + valign (top + |middle + |bottom) #IMPLIED + scale CDATA #IMPLIED + scalefit %yesorno.attvals; + #IMPLIED + %local.graphics.attrib;" +> + +<!ENTITY % local.keyaction.attrib ""> + +<!-- Action: Key combination type; default is unspecified if one + child element, Simul if there is more than one; if value is + Other, the OtherAction attribute must have a nonempty value --> +<!-- OtherAction: User-defined key combination type --> + +<!ENTITY % keyaction.attrib + " + action (click + |double-click + |press + |seq + |simul + |other) #IMPLIED + otheraction CDATA #IMPLIED + %local.keyaction.attrib;" +> + + +<!-- Label: Identifying number or string; default is usually the + appropriate number or string autogenerated by a formatter --> + +<!ENTITY % label.attrib + "label CDATA #IMPLIED"> + + +<!-- xml:space: whitespace treatment --> + +<![%sgml.features;[ +<!ENTITY % xml-space.attrib ""> +]]> +<!ENTITY % xml-space.attrib + "xml:space (preserve) #IMPLIED"> + +<!-- Format: whether element is assumed to contain significant white + space --> + +<!ENTITY % linespecific.attrib + "format NOTATION + (linespecific) 'linespecific' + %xml-space.attrib; + linenumbering (numbered|unnumbered) #IMPLIED + continuation (continues|restarts) #IMPLIED + startinglinenumber CDATA #IMPLIED + language CDATA #IMPLIED"> + +<!-- Linkend: link to related information; no default --> + +<!ENTITY % linkend.attrib + "linkend IDREF #IMPLIED"> + + +<!-- Linkend: required link to related information --> + +<!ENTITY % linkendreq.attrib + "linkend IDREF #REQUIRED"> + + +<!-- Linkends: link to one or more sets of related information; no + default --> + +<!ENTITY % linkends.attrib + "linkends IDREFS #IMPLIED"> + + +<!ENTITY % local.mark.attrib ""> +<!ENTITY % mark.attrib + "mark CDATA #IMPLIED + %local.mark.attrib;" +> + + +<!-- MoreInfo: whether element's content has an associated RefEntry --> + +<!ENTITY % moreinfo.attrib + "moreinfo (refentry|none) 'none'"> + + +<!-- Pagenum: number of page on which element appears; no default --> + +<!ENTITY % pagenum.attrib + "pagenum CDATA #IMPLIED"> + +<!ENTITY % local.status.attrib ""> + +<!-- Status: Editorial or publication status of the element + it applies to, such as "in review" or "approved for distribution" --> + +<!ENTITY % status.attrib + "status CDATA #IMPLIED + %local.status.attrib;" +> + + +<!-- Width: width of the longest line in the element to which it + pertains, in number of characters --> + +<!ENTITY % width.attrib + "width CDATA #IMPLIED"> + +<!-- ...................................................................... --> +<!-- Title elements ....................................................... --> + +<!ENTITY % title.module "INCLUDE"> +<![%title.module;[ +<!ENTITY % local.title.attrib ""> +<!ENTITY % title.role.attrib "%role.attrib;"> + +<!ENTITY % title.element "INCLUDE"> +<![%title.element;[ +<!--doc:The text of the title of a section of a document or of a formal block-level element.--> +<!ELEMENT title %ho; (%title.char.mix;)*> +<!--end of title.element-->]]> + +<!ENTITY % title.attlist "INCLUDE"> +<![%title.attlist;[ +<!ATTLIST title + %pagenum.attrib; + %common.attrib; + %title.role.attrib; + %local.title.attrib; +> +<!--end of title.attlist-->]]> +<!--end of title.module-->]]> + +<!ENTITY % titleabbrev.module "INCLUDE"> +<![%titleabbrev.module;[ +<!ENTITY % local.titleabbrev.attrib ""> +<!ENTITY % titleabbrev.role.attrib "%role.attrib;"> + +<!ENTITY % titleabbrev.element "INCLUDE"> +<![%titleabbrev.element;[ +<!--doc:The abbreviation of a Title.--> +<!ELEMENT titleabbrev %ho; (%title.char.mix;)*> +<!--end of titleabbrev.element-->]]> + +<!ENTITY % titleabbrev.attlist "INCLUDE"> +<![%titleabbrev.attlist;[ +<!ATTLIST titleabbrev + %common.attrib; + %titleabbrev.role.attrib; + %local.titleabbrev.attrib; +> +<!--end of titleabbrev.attlist-->]]> +<!--end of titleabbrev.module-->]]> + +<!ENTITY % subtitle.module "INCLUDE"> +<![%subtitle.module;[ +<!ENTITY % local.subtitle.attrib ""> +<!ENTITY % subtitle.role.attrib "%role.attrib;"> + +<!ENTITY % subtitle.element "INCLUDE"> +<![%subtitle.element;[ +<!--doc:The subtitle of a document.--> +<!ELEMENT subtitle %ho; (%title.char.mix;)*> +<!--end of subtitle.element-->]]> + +<!ENTITY % subtitle.attlist "INCLUDE"> +<![%subtitle.attlist;[ +<!ATTLIST subtitle + %common.attrib; + %subtitle.role.attrib; + %local.subtitle.attrib; +> +<!--end of subtitle.attlist-->]]> +<!--end of subtitle.module-->]]> + +<!-- ...................................................................... --> +<!-- Bibliographic entities and elements .................................. --> + +<!-- The bibliographic elements are typically used in the document + hierarchy. They do not appear in content models of information + pool elements. See also the document information elements, + below. --> + +<!ENTITY % local.person.ident.mix ""> +<!ENTITY % person.ident.mix + "honorific|firstname|surname|lineage|othername|affiliation + |authorblurb|contrib %local.person.ident.mix;"> + +<!ENTITY % local.bibliocomponent.mix ""> +<!ENTITY % bibliocomponent.mix + "abbrev|abstract|address|artpagenums|author + |authorgroup|authorinitials|bibliomisc|biblioset + |collab|confgroup|contractnum|contractsponsor + |copyright|corpauthor|corpname|corpcredit|date|edition + |editor|invpartnumber|isbn|issn|issuenum|orgname + |biblioid|citebiblioid|bibliosource|bibliorelation|bibliocoverage + |othercredit|pagenums|printhistory|productname + |productnumber|pubdate|publisher|publishername + |pubsnumber|releaseinfo|revhistory|seriesvolnums + |subtitle|title|titleabbrev|volumenum|citetitle + |personname|%person.ident.mix; + |%ndxterm.class; + %local.bibliocomponent.mix;"> + +<!-- I don't think this is well placed, but it needs to be here because of --> +<!-- the reference to bibliocomponent.mix --> +<!ENTITY % local.info.class ""> +<!ENTITY % info.class + "graphic | mediaobject | legalnotice | modespec + | subjectset | keywordset | itermset | %bibliocomponent.mix; + %local.info.class;"> + + +<!-- BiblioList ........................ --> + +<!ENTITY % bibliolist.module "INCLUDE"> +<![%bibliolist.module;[ +<!ENTITY % local.bibliolist.attrib ""> +<!ENTITY % bibliolist.role.attrib "%role.attrib;"> + +<!ENTITY % bibliolist.element "INCLUDE"> +<![%bibliolist.element;[ +<!--doc:A wrapper for a set of bibliography entries.--> +<!ELEMENT bibliolist %ho; (blockinfo?, (%formalobject.title.content;)?, + (biblioentry|bibliomixed)+)> +<!--end of bibliolist.element-->]]> + +<!ENTITY % bibliolist.attlist "INCLUDE"> +<![%bibliolist.attlist;[ +<!ATTLIST bibliolist + %common.attrib; + %bibliolist.role.attrib; + %local.bibliolist.attrib; +> +<!--end of bibliolist.attlist-->]]> +<!--end of bibliolist.module-->]]> + +<!ENTITY % biblioentry.module "INCLUDE"> +<![%biblioentry.module;[ +<!ENTITY % local.biblioentry.attrib ""> +<!ENTITY % biblioentry.role.attrib "%role.attrib;"> + +<!ENTITY % biblioentry.element "INCLUDE"> +<![%biblioentry.element;[ +<!--doc:An entry in a Bibliography.--> +<!ELEMENT biblioentry %ho; ((articleinfo | (%bibliocomponent.mix;))+) + %ubiq.exclusion;> +<!--end of biblioentry.element-->]]> + +<!ENTITY % biblioentry.attlist "INCLUDE"> +<![%biblioentry.attlist;[ +<!ATTLIST biblioentry + %common.attrib; + %biblioentry.role.attrib; + %local.biblioentry.attrib; +> +<!--end of biblioentry.attlist-->]]> +<!--end of biblioentry.module-->]]> + +<!ENTITY % bibliomixed.module "INCLUDE"> +<![%bibliomixed.module;[ +<!ENTITY % local.bibliomixed.attrib ""> +<!ENTITY % bibliomixed.role.attrib "%role.attrib;"> + +<!ENTITY % bibliomixed.element "INCLUDE"> +<![%bibliomixed.element;[ +<!--doc:An entry in a Bibliography.--> +<!ELEMENT bibliomixed %ho; (#PCDATA | %bibliocomponent.mix; | bibliomset)* + %ubiq.exclusion;> +<!--end of bibliomixed.element-->]]> + +<!ENTITY % bibliomixed.attlist "INCLUDE"> +<![%bibliomixed.attlist;[ +<!ATTLIST bibliomixed + %common.attrib; + %bibliomixed.role.attrib; + %local.bibliomixed.attrib; +> +<!--end of bibliomixed.attlist-->]]> +<!--end of bibliomixed.module-->]]> + +<!ENTITY % articleinfo.module "INCLUDE"> +<![%articleinfo.module;[ +<!ENTITY % local.articleinfo.attrib ""> +<!ENTITY % articleinfo.role.attrib "%role.attrib;"> + +<!ENTITY % articleinfo.element "INCLUDE"> +<![%articleinfo.element;[ +<!--doc:Meta-information for an Article.--> +<!ELEMENT articleinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of articleinfo.element-->]]> + +<!ENTITY % articleinfo.attlist "INCLUDE"> +<![%articleinfo.attlist;[ +<!ATTLIST articleinfo + %common.attrib; + %articleinfo.role.attrib; + %local.articleinfo.attrib; +> +<!--end of articleinfo.attlist-->]]> +<!--end of articleinfo.module-->]]> + +<!ENTITY % biblioset.module "INCLUDE"> +<![%biblioset.module;[ +<!ENTITY % local.biblioset.attrib ""> +<!ENTITY % biblioset.role.attrib "%role.attrib;"> + +<!ENTITY % biblioset.element "INCLUDE"> +<![%biblioset.element;[ +<!--doc:A "raw" container for related bibliographic information.--> +<!ELEMENT biblioset %ho; ((%bibliocomponent.mix;)+) + %ubiq.exclusion;> +<!--end of biblioset.element-->]]> + +<!-- Relation: Relationship of elements contained within BiblioSet --> + + +<!ENTITY % biblioset.attlist "INCLUDE"> +<![%biblioset.attlist;[ +<!ATTLIST biblioset + relation CDATA #IMPLIED + %common.attrib; + %biblioset.role.attrib; + %local.biblioset.attrib; +> +<!--end of biblioset.attlist-->]]> +<!--end of biblioset.module-->]]> + +<!ENTITY % bibliomset.module "INCLUDE"> +<![%bibliomset.module;[ +<!ENTITY % bibliomset.role.attrib "%role.attrib;"> +<!ENTITY % local.bibliomset.attrib ""> + +<!ENTITY % bibliomset.element "INCLUDE"> +<![%bibliomset.element;[ +<!--doc:A "cooked" container for related bibliographic information.--> +<!ELEMENT bibliomset %ho; (#PCDATA | %bibliocomponent.mix; | bibliomset)* + %ubiq.exclusion;> +<!--end of bibliomset.element-->]]> + +<!-- Relation: Relationship of elements contained within BiblioMSet --> + + +<!ENTITY % bibliomset.attlist "INCLUDE"> +<![%bibliomset.attlist;[ +<!ATTLIST bibliomset + relation CDATA #IMPLIED + %common.attrib; + %bibliomset.role.attrib; + %local.bibliomset.attrib; +> +<!--end of bibliomset.attlist-->]]> +<!--end of bibliomset.module-->]]> + +<!ENTITY % bibliomisc.module "INCLUDE"> +<![%bibliomisc.module;[ +<!ENTITY % local.bibliomisc.attrib ""> +<!ENTITY % bibliomisc.role.attrib "%role.attrib;"> + +<!ENTITY % bibliomisc.element "INCLUDE"> +<![%bibliomisc.element;[ +<!--doc:Untyped bibliographic information.--> +<!ELEMENT bibliomisc %ho; (%para.char.mix;)*> +<!--end of bibliomisc.element-->]]> + +<!ENTITY % bibliomisc.attlist "INCLUDE"> +<![%bibliomisc.attlist;[ +<!ATTLIST bibliomisc + %common.attrib; + %bibliomisc.role.attrib; + %local.bibliomisc.attrib; +> +<!--end of bibliomisc.attlist-->]]> +<!--end of bibliomisc.module-->]]> + +<!-- ...................................................................... --> +<!-- Subject, Keyword, and ITermSet elements .............................. --> + +<!ENTITY % subjectset.content.module "INCLUDE"> +<![%subjectset.content.module;[ +<!ENTITY % subjectset.module "INCLUDE"> +<![%subjectset.module;[ +<!ENTITY % local.subjectset.attrib ""> +<!ENTITY % subjectset.role.attrib "%role.attrib;"> + +<!ENTITY % subjectset.element "INCLUDE"> +<![%subjectset.element;[ +<!--doc:A set of terms describing the subject matter of a document.--> +<!ELEMENT subjectset %ho; (subject+)> +<!--end of subjectset.element-->]]> + +<!-- Scheme: Controlled vocabulary employed in SubjectTerms --> + + +<!ENTITY % subjectset.attlist "INCLUDE"> +<![%subjectset.attlist;[ +<!ATTLIST subjectset + scheme NMTOKEN #IMPLIED + %common.attrib; + %subjectset.role.attrib; + %local.subjectset.attrib; +> +<!--end of subjectset.attlist-->]]> +<!--end of subjectset.module-->]]> + +<!ENTITY % subject.module "INCLUDE"> +<![%subject.module;[ +<!ENTITY % local.subject.attrib ""> +<!ENTITY % subject.role.attrib "%role.attrib;"> + +<!ENTITY % subject.element "INCLUDE"> +<![%subject.element;[ +<!--doc:One of a group of terms describing the subject matter of a document.--> +<!ELEMENT subject %ho; (subjectterm+)> +<!--end of subject.element-->]]> + +<!-- Weight: Ranking of this group of SubjectTerms relative + to others, 0 is low, no highest value specified --> + + +<!ENTITY % subject.attlist "INCLUDE"> +<![%subject.attlist;[ +<!ATTLIST subject + weight CDATA #IMPLIED + %common.attrib; + %subject.role.attrib; + %local.subject.attrib; +> +<!--end of subject.attlist-->]]> +<!--end of subject.module-->]]> + +<!ENTITY % subjectterm.module "INCLUDE"> +<![%subjectterm.module;[ +<!ENTITY % local.subjectterm.attrib ""> +<!ENTITY % subjectterm.role.attrib "%role.attrib;"> + +<!ENTITY % subjectterm.element "INCLUDE"> +<![%subjectterm.element;[ +<!--doc:A term in a group of terms describing the subject matter of a document.--> +<!ELEMENT subjectterm %ho; (#PCDATA)> +<!--end of subjectterm.element-->]]> + +<!ENTITY % subjectterm.attlist "INCLUDE"> +<![%subjectterm.attlist;[ +<!ATTLIST subjectterm + %common.attrib; + %subjectterm.role.attrib; + %local.subjectterm.attrib; +> +<!--end of subjectterm.attlist-->]]> +<!--end of subjectterm.module-->]]> +<!--end of subjectset.content.module-->]]> + +<!ENTITY % keywordset.content.module "INCLUDE"> +<![%keywordset.content.module;[ +<!ENTITY % keywordset.module "INCLUDE"> +<![%keywordset.module;[ +<!ENTITY % local.keywordset.attrib ""> +<!ENTITY % keywordset.role.attrib "%role.attrib;"> + +<!ENTITY % keywordset.element "INCLUDE"> +<![%keywordset.element;[ +<!--doc:A set of keywords describing the content of a document.--> +<!ELEMENT keywordset %ho; (keyword+)> +<!--end of keywordset.element-->]]> + +<!ENTITY % keywordset.attlist "INCLUDE"> +<![%keywordset.attlist;[ +<!ATTLIST keywordset + %common.attrib; + %keywordset.role.attrib; + %local.keywordset.attrib; +> +<!--end of keywordset.attlist-->]]> +<!--end of keywordset.module-->]]> + +<!ENTITY % keyword.module "INCLUDE"> +<![%keyword.module;[ +<!ENTITY % local.keyword.attrib ""> +<!ENTITY % keyword.role.attrib "%role.attrib;"> + +<!ENTITY % keyword.element "INCLUDE"> +<![%keyword.element;[ +<!--doc:One of a set of keywords describing the content of a document.--> +<!ELEMENT keyword %ho; (#PCDATA)> +<!--end of keyword.element-->]]> + +<!ENTITY % keyword.attlist "INCLUDE"> +<![%keyword.attlist;[ +<!ATTLIST keyword + %common.attrib; + %keyword.role.attrib; + %local.keyword.attrib; +> +<!--end of keyword.attlist-->]]> +<!--end of keyword.module-->]]> +<!--end of keywordset.content.module-->]]> + +<!ENTITY % itermset.module "INCLUDE"> +<![%itermset.module;[ +<!ENTITY % local.itermset.attrib ""> +<!ENTITY % itermset.role.attrib "%role.attrib;"> + +<!ENTITY % itermset.element "INCLUDE"> +<![%itermset.element;[ +<!--doc:A set of index terms in the meta-information of a document.--> +<!ELEMENT itermset %ho; (indexterm+)> +<!--end of itermset.element-->]]> + +<!ENTITY % itermset.attlist "INCLUDE"> +<![%itermset.attlist;[ +<!ATTLIST itermset + %common.attrib; + %itermset.role.attrib; + %local.itermset.attrib; +> +<!--end of itermset.attlist-->]]> +<!--end of itermset.module-->]]> + +<!-- Bibliographic info for "blocks" --> + +<!ENTITY % blockinfo.module "INCLUDE"> +<![ %blockinfo.module; [ +<!ENTITY % local.blockinfo.attrib ""> +<!ENTITY % blockinfo.role.attrib "%role.attrib;"> + +<!ENTITY % blockinfo.element "INCLUDE"> +<![ %blockinfo.element; [ +<!--doc:Meta-information for a block element.--> +<!ELEMENT blockinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of blockinfo.element-->]]> + +<!ENTITY % blockinfo.attlist "INCLUDE"> +<![ %blockinfo.attlist; [ +<!ATTLIST blockinfo + %common.attrib; + %blockinfo.role.attrib; + %local.blockinfo.attrib; +> +<!--end of blockinfo.attlist-->]]> +<!--end of blockinfo.module-->]]> + +<!-- ...................................................................... --> +<!-- Compound (section-ish) elements ...................................... --> + +<!-- Message set ...................... --> + +<!ENTITY % msgset.content.module "INCLUDE"> +<![%msgset.content.module;[ +<!ENTITY % msgset.module "INCLUDE"> +<![%msgset.module;[ +<!ENTITY % local.msgset.attrib ""> +<!ENTITY % msgset.role.attrib "%role.attrib;"> + +<!ENTITY % msgset.element "INCLUDE"> +<![%msgset.element;[ +<!--doc:A detailed set of messages, usually error messages.--> +<!ELEMENT msgset %ho; (blockinfo?, (%formalobject.title.content;)?, + (msgentry+|simplemsgentry+))> +<!--end of msgset.element-->]]> + +<!ENTITY % msgset.attlist "INCLUDE"> +<![%msgset.attlist;[ +<!ATTLIST msgset + %common.attrib; + %msgset.role.attrib; + %local.msgset.attrib; +> +<!--end of msgset.attlist-->]]> +<!--end of msgset.module-->]]> + +<!ENTITY % msgentry.module "INCLUDE"> +<![%msgentry.module;[ +<!ENTITY % local.msgentry.attrib ""> +<!ENTITY % msgentry.role.attrib "%role.attrib;"> + +<!ENTITY % msgentry.element "INCLUDE"> +<![%msgentry.element;[ +<!--doc:A wrapper for an entry in a message set.--> +<!ELEMENT msgentry %ho; (msg+, msginfo?, msgexplan*)> +<!--end of msgentry.element-->]]> + +<!ENTITY % msgentry.attlist "INCLUDE"> +<![%msgentry.attlist;[ +<!ATTLIST msgentry + %common.attrib; + %msgentry.role.attrib; + %local.msgentry.attrib; +> +<!--end of msgentry.attlist-->]]> +<!--end of msgentry.module-->]]> + +<!ENTITY % simplemsgentry.module "INCLUDE"> +<![ %simplemsgentry.module; [ +<!ENTITY % local.simplemsgentry.attrib ""> +<!ENTITY % simplemsgentry.role.attrib "%role.attrib;"> + +<!ENTITY % simplemsgentry.element "INCLUDE"> +<![ %simplemsgentry.element; [ +<!--doc:A wrapper for a simpler entry in a message set.--> +<!ELEMENT simplemsgentry %ho; (msgtext, msgexplan+)> +<!--end of simplemsgentry.element-->]]> + +<!ENTITY % simplemsgentry.attlist "INCLUDE"> +<![ %simplemsgentry.attlist; [ +<!ATTLIST simplemsgentry + audience CDATA #IMPLIED + level CDATA #IMPLIED + origin CDATA #IMPLIED + %common.attrib; + %simplemsgentry.role.attrib; + %local.simplemsgentry.attrib; +> +<!--end of simplemsgentry.attlist-->]]> +<!--end of simplemsgentry.module-->]]> + +<!ENTITY % msg.module "INCLUDE"> +<![%msg.module;[ +<!ENTITY % local.msg.attrib ""> +<!ENTITY % msg.role.attrib "%role.attrib;"> + +<!ENTITY % msg.element "INCLUDE"> +<![%msg.element;[ +<!--doc:A message in a message set.--> +<!ELEMENT msg %ho; (title?, msgmain, (msgsub | msgrel)*)> +<!--end of msg.element-->]]> + +<!ENTITY % msg.attlist "INCLUDE"> +<![%msg.attlist;[ +<!ATTLIST msg + %common.attrib; + %msg.role.attrib; + %local.msg.attrib; +> +<!--end of msg.attlist-->]]> +<!--end of msg.module-->]]> + +<!ENTITY % msgmain.module "INCLUDE"> +<![%msgmain.module;[ +<!ENTITY % local.msgmain.attrib ""> +<!ENTITY % msgmain.role.attrib "%role.attrib;"> + +<!ENTITY % msgmain.element "INCLUDE"> +<![%msgmain.element;[ +<!--doc:The primary component of a message in a message set.--> +<!ELEMENT msgmain %ho; (title?, msgtext)> +<!--end of msgmain.element-->]]> + +<!ENTITY % msgmain.attlist "INCLUDE"> +<![%msgmain.attlist;[ +<!ATTLIST msgmain + %common.attrib; + %msgmain.role.attrib; + %local.msgmain.attrib; +> +<!--end of msgmain.attlist-->]]> +<!--end of msgmain.module-->]]> + +<!ENTITY % msgsub.module "INCLUDE"> +<![%msgsub.module;[ +<!ENTITY % local.msgsub.attrib ""> +<!ENTITY % msgsub.role.attrib "%role.attrib;"> + +<!ENTITY % msgsub.element "INCLUDE"> +<![%msgsub.element;[ +<!--doc:A subcomponent of a message in a message set.--> +<!ELEMENT msgsub %ho; (title?, msgtext)> +<!--end of msgsub.element-->]]> + +<!ENTITY % msgsub.attlist "INCLUDE"> +<![%msgsub.attlist;[ +<!ATTLIST msgsub + %common.attrib; + %msgsub.role.attrib; + %local.msgsub.attrib; +> +<!--end of msgsub.attlist-->]]> +<!--end of msgsub.module-->]]> + +<!ENTITY % msgrel.module "INCLUDE"> +<![%msgrel.module;[ +<!ENTITY % local.msgrel.attrib ""> +<!ENTITY % msgrel.role.attrib "%role.attrib;"> + +<!ENTITY % msgrel.element "INCLUDE"> +<![%msgrel.element;[ +<!--doc:A related component of a message in a message set.--> +<!ELEMENT msgrel %ho; (title?, msgtext)> +<!--end of msgrel.element-->]]> + +<!ENTITY % msgrel.attlist "INCLUDE"> +<![%msgrel.attlist;[ +<!ATTLIST msgrel + %common.attrib; + %msgrel.role.attrib; + %local.msgrel.attrib; +> +<!--end of msgrel.attlist-->]]> +<!--end of msgrel.module-->]]> + +<!-- MsgText (defined in the Inlines section, below)--> + +<!ENTITY % msginfo.module "INCLUDE"> +<![%msginfo.module;[ +<!ENTITY % local.msginfo.attrib ""> +<!ENTITY % msginfo.role.attrib "%role.attrib;"> + +<!ENTITY % msginfo.element "INCLUDE"> +<![%msginfo.element;[ +<!--doc:Information about a message in a message set.--> +<!ELEMENT msginfo %ho; ((msglevel | msgorig | msgaud)*)> +<!--end of msginfo.element-->]]> + +<!ENTITY % msginfo.attlist "INCLUDE"> +<![%msginfo.attlist;[ +<!ATTLIST msginfo + %common.attrib; + %msginfo.role.attrib; + %local.msginfo.attrib; +> +<!--end of msginfo.attlist-->]]> +<!--end of msginfo.module-->]]> + +<!ENTITY % msglevel.module "INCLUDE"> +<![%msglevel.module;[ +<!ENTITY % local.msglevel.attrib ""> +<!ENTITY % msglevel.role.attrib "%role.attrib;"> + +<!ENTITY % msglevel.element "INCLUDE"> +<![%msglevel.element;[ +<!--doc:The level of importance or severity of a message in a message set.--> +<!ELEMENT msglevel %ho; (%smallcptr.char.mix;)*> +<!--end of msglevel.element-->]]> + +<!ENTITY % msglevel.attlist "INCLUDE"> +<![%msglevel.attlist;[ +<!ATTLIST msglevel + %common.attrib; + %msglevel.role.attrib; + %local.msglevel.attrib; +> +<!--end of msglevel.attlist-->]]> +<!--end of msglevel.module-->]]> + +<!ENTITY % msgorig.module "INCLUDE"> +<![%msgorig.module;[ +<!ENTITY % local.msgorig.attrib ""> +<!ENTITY % msgorig.role.attrib "%role.attrib;"> + +<!ENTITY % msgorig.element "INCLUDE"> +<![%msgorig.element;[ +<!--doc:The origin of a message in a message set.--> +<!ELEMENT msgorig %ho; (%smallcptr.char.mix;)*> +<!--end of msgorig.element-->]]> + +<!ENTITY % msgorig.attlist "INCLUDE"> +<![%msgorig.attlist;[ +<!ATTLIST msgorig + %common.attrib; + %msgorig.role.attrib; + %local.msgorig.attrib; +> +<!--end of msgorig.attlist-->]]> +<!--end of msgorig.module-->]]> + +<!ENTITY % msgaud.module "INCLUDE"> +<![%msgaud.module;[ +<!ENTITY % local.msgaud.attrib ""> +<!ENTITY % msgaud.role.attrib "%role.attrib;"> + +<!ENTITY % msgaud.element "INCLUDE"> +<![%msgaud.element;[ +<!--doc:The audience to which a message in a message set is relevant.--> +<!ELEMENT msgaud %ho; (%para.char.mix;)*> +<!--end of msgaud.element-->]]> + +<!ENTITY % msgaud.attlist "INCLUDE"> +<![%msgaud.attlist;[ +<!ATTLIST msgaud + %common.attrib; + %msgaud.role.attrib; + %local.msgaud.attrib; +> +<!--end of msgaud.attlist-->]]> +<!--end of msgaud.module-->]]> + +<!ENTITY % msgexplan.module "INCLUDE"> +<![%msgexplan.module;[ +<!ENTITY % local.msgexplan.attrib ""> +<!ENTITY % msgexplan.role.attrib "%role.attrib;"> + +<!ENTITY % msgexplan.element "INCLUDE"> +<![%msgexplan.element;[ +<!--doc:Explanatory material relating to a message in a message set.--> +<!ELEMENT msgexplan %ho; (title?, (%component.mix;)+)> +<!--end of msgexplan.element-->]]> + +<!ENTITY % msgexplan.attlist "INCLUDE"> +<![%msgexplan.attlist;[ +<!ATTLIST msgexplan + %common.attrib; + %msgexplan.role.attrib; + %local.msgexplan.attrib; +> +<!--end of msgexplan.attlist-->]]> +<!--end of msgexplan.module-->]]> +<!--end of msgset.content.module-->]]> + +<!ENTITY % task.content.module "INCLUDE"> +<![%task.content.module;[ +<!ENTITY % task.module "INCLUDE"> +<![%task.module;[ +<!ENTITY % local.task.attrib ""> +<!ENTITY % task.role.attrib "%role.attrib;"> + +<!ENTITY % task.element "INCLUDE"> +<![%task.element;[ +<!--doc:A task to be completed.--> +<!ELEMENT task %ho; (blockinfo?,(%ndxterm.class;)*, + (%formalobject.title.content;), + tasksummary?, + taskprerequisites?, + procedure, + example*, + taskrelated?)> +<!--end of task.element-->]]> + +<!ENTITY % task.attlist "INCLUDE"> +<![%task.attlist;[ +<!ATTLIST task + %common.attrib; + %task.role.attrib; + %local.task.attrib; +> +<!--end of task.attlist-->]]> +<!--end of task.module-->]]> + +<!ENTITY % tasksummary.module "INCLUDE"> +<![%tasksummary.module;[ +<!ENTITY % local.tasksummary.attrib ""> +<!ENTITY % tasksummary.role.attrib "%role.attrib;"> + +<!ENTITY % tasksummary.element "INCLUDE"> +<![%tasksummary.element;[ +<!--doc:A summary of a task.--> +<!ELEMENT tasksummary %ho; (blockinfo?, + (%formalobject.title.content;)?, + (%component.mix;)+)> +<!--end of tasksummary.element-->]]> + +<!ENTITY % tasksummary.attlist "INCLUDE"> +<![%tasksummary.attlist;[ +<!ATTLIST tasksummary + %common.attrib; + %tasksummary.role.attrib; + %local.tasksummary.attrib; +> +<!--end of tasksummary.attlist-->]]> +<!--end of tasksummary.module-->]]> + +<!ENTITY % taskprerequisites.module "INCLUDE"> +<![%taskprerequisites.module;[ +<!ENTITY % local.taskprerequisites.attrib ""> +<!ENTITY % taskprerequisites.role.attrib "%role.attrib;"> + +<!ENTITY % taskprerequisites.element "INCLUDE"> +<![%taskprerequisites.element;[ +<!--doc:The prerequisites for a task.--> +<!ELEMENT taskprerequisites %ho; (blockinfo?, + (%formalobject.title.content;)?, + (%component.mix;)+)> +<!--end of taskprerequisites.element-->]]> + +<!ENTITY % taskprerequisites.attlist "INCLUDE"> +<![%taskprerequisites.attlist;[ +<!ATTLIST taskprerequisites + %common.attrib; + %taskprerequisites.role.attrib; + %local.taskprerequisites.attrib; +> +<!--end of taskprerequisites.attlist-->]]> +<!--end of taskprerequisites.module-->]]> + +<!ENTITY % taskrelated.module "INCLUDE"> +<![%taskrelated.module;[ +<!ENTITY % local.taskrelated.attrib ""> +<!ENTITY % taskrelated.role.attrib "%role.attrib;"> + +<!ENTITY % taskrelated.element "INCLUDE"> +<![%taskrelated.element;[ +<!--doc:Information related to a task.--> +<!ELEMENT taskrelated %ho; (blockinfo?, + (%formalobject.title.content;)?, + (%component.mix;)+)> +<!--end of taskrelated.element-->]]> + +<!ENTITY % taskrelated.attlist "INCLUDE"> +<![%taskrelated.attlist;[ +<!ATTLIST taskrelated + %common.attrib; + %taskrelated.role.attrib; + %local.taskrelated.attrib; +> +<!--end of taskrelated.attlist-->]]> +<!--end of taskrelated.module-->]]> +<!--end of task.content.module-->]]> + +<!-- QandASet ........................ --> +<!ENTITY % qandaset.content.module "INCLUDE"> +<![ %qandaset.content.module; [ +<!ENTITY % qandaset.module "INCLUDE"> +<![ %qandaset.module; [ +<!ENTITY % local.qandaset.attrib ""> +<!ENTITY % qandaset.role.attrib "%role.attrib;"> + +<!ENTITY % qandaset.element "INCLUDE"> +<![ %qandaset.element; [ +<!--doc:A question-and-answer set.--> +<!ELEMENT qandaset %ho; (blockinfo?, (%formalobject.title.content;)?, + (%qandaset.mix;)*, + (qandadiv+|qandaentry+))> +<!--end of qandaset.element-->]]> + +<!ENTITY % qandaset.attlist "INCLUDE"> +<![ %qandaset.attlist; [ +<!ATTLIST qandaset + defaultlabel (qanda|number|none) #IMPLIED + %common.attrib; + %qandaset.role.attrib; + %local.qandaset.attrib;> +<!--end of qandaset.attlist-->]]> +<!--end of qandaset.module-->]]> + +<!ENTITY % qandadiv.module "INCLUDE"> +<![ %qandadiv.module; [ +<!ENTITY % local.qandadiv.attrib ""> +<!ENTITY % qandadiv.role.attrib "%role.attrib;"> + +<!ENTITY % qandadiv.element "INCLUDE"> +<![ %qandadiv.element; [ +<!--doc:A titled division in a QandASet.--> +<!ELEMENT qandadiv %ho; (blockinfo?, (%formalobject.title.content;)?, + (%qandaset.mix;)*, + (qandadiv+|qandaentry+))> +<!--end of qandadiv.element-->]]> + +<!ENTITY % qandadiv.attlist "INCLUDE"> +<![ %qandadiv.attlist; [ +<!ATTLIST qandadiv + %common.attrib; + %qandadiv.role.attrib; + %local.qandadiv.attrib;> +<!--end of qandadiv.attlist-->]]> +<!--end of qandadiv.module-->]]> + +<!ENTITY % qandaentry.module "INCLUDE"> +<![ %qandaentry.module; [ +<!ENTITY % local.qandaentry.attrib ""> +<!ENTITY % qandaentry.role.attrib "%role.attrib;"> + +<!ENTITY % qandaentry.element "INCLUDE"> +<![ %qandaentry.element; [ +<!--doc:A question/answer set within a QandASet.--> +<!ELEMENT qandaentry %ho; (blockinfo?, revhistory?, question, answer*)> +<!--end of qandaentry.element-->]]> + +<!ENTITY % qandaentry.attlist "INCLUDE"> +<![ %qandaentry.attlist; [ +<!ATTLIST qandaentry + %common.attrib; + %qandaentry.role.attrib; + %local.qandaentry.attrib;> +<!--end of qandaentry.attlist-->]]> +<!--end of qandaentry.module-->]]> + +<!ENTITY % question.module "INCLUDE"> +<![ %question.module; [ +<!ENTITY % local.question.attrib ""> +<!ENTITY % question.role.attrib "%role.attrib;"> + +<!ENTITY % question.element "INCLUDE"> +<![ %question.element; [ +<!--doc:A question in a QandASet.--> +<!ELEMENT question %ho; (label?, (%qandaset.mix;)+)> +<!--end of question.element-->]]> + +<!ENTITY % question.attlist "INCLUDE"> +<![ %question.attlist; [ +<!ATTLIST question + %common.attrib; + %question.role.attrib; + %local.question.attrib; +> +<!--end of question.attlist-->]]> +<!--end of question.module-->]]> + +<!ENTITY % answer.module "INCLUDE"> +<![ %answer.module; [ +<!ENTITY % local.answer.attrib ""> +<!ENTITY % answer.role.attrib "%role.attrib;"> + +<!ENTITY % answer.element "INCLUDE"> +<![ %answer.element; [ +<!--doc:An answer to a question posed in a QandASet.--> +<!ELEMENT answer %ho; (label?, (%qandaset.mix;)*, qandaentry*)> +<!--end of answer.element-->]]> + +<!ENTITY % answer.attlist "INCLUDE"> +<![ %answer.attlist; [ +<!ATTLIST answer + %common.attrib; + %answer.role.attrib; + %local.answer.attrib; +> +<!--end of answer.attlist-->]]> +<!--end of answer.module-->]]> + +<!ENTITY % label.module "INCLUDE"> +<![ %label.module; [ +<!ENTITY % local.label.attrib ""> +<!ENTITY % label.role.attrib "%role.attrib;"> + +<!ENTITY % label.element "INCLUDE"> +<![ %label.element; [ +<!--doc:A label on a Question or Answer.--> +<!ELEMENT label %ho; (%word.char.mix;)*> +<!--end of label.element-->]]> + +<!ENTITY % label.attlist "INCLUDE"> +<![ %label.attlist; [ +<!ATTLIST label + %common.attrib; + %label.role.attrib; + %local.label.attrib; +> +<!--end of label.attlist-->]]> +<!--end of label.module-->]]> +<!--end of qandaset.content.module-->]]> + +<!-- Procedure ........................ --> + +<!ENTITY % procedure.content.module "INCLUDE"> +<![%procedure.content.module;[ +<!ENTITY % procedure.module "INCLUDE"> +<![%procedure.module;[ +<!ENTITY % local.procedure.attrib ""> +<!ENTITY % procedure.role.attrib "%role.attrib;"> + +<!ENTITY % procedure.element "INCLUDE"> +<![%procedure.element;[ +<!--doc:A list of operations to be performed in a well-defined sequence.--> +<!ELEMENT procedure %ho; (blockinfo?, (%formalobject.title.content;)?, + (%component.mix;)*, step+)> +<!--end of procedure.element-->]]> + +<!ENTITY % procedure.attlist "INCLUDE"> +<![%procedure.attlist;[ +<!ATTLIST procedure + %common.attrib; + %procedure.role.attrib; + %local.procedure.attrib; +> +<!--end of procedure.attlist-->]]> +<!--end of procedure.module-->]]> + +<!ENTITY % step.module "INCLUDE"> +<![%step.module;[ +<!ENTITY % local.step.attrib ""> +<!ENTITY % step.role.attrib "%role.attrib;"> + +<!ENTITY % step.element "INCLUDE"> +<![%step.element;[ +<!--doc:A unit of action in a procedure.--> +<!ELEMENT step %ho; (title?, (((%component.mix;)+, ((substeps|stepalternatives), (%component.mix;)*)?) + | ((substeps|stepalternatives), (%component.mix;)*)))> +<!--end of step.element-->]]> + +<!-- Performance: Whether the Step must be performed --> +<!-- not #REQUIRED! --> + + +<!ENTITY % step.attlist "INCLUDE"> +<![%step.attlist;[ +<!ATTLIST step + performance (optional + |required) "required" + %common.attrib; + %step.role.attrib; + %local.step.attrib; +> +<!--end of step.attlist-->]]> +<!--end of step.module-->]]> + +<!ENTITY % substeps.module "INCLUDE"> +<![%substeps.module;[ +<!ENTITY % local.substeps.attrib ""> +<!ENTITY % substeps.role.attrib "%role.attrib;"> + +<!ENTITY % substeps.element "INCLUDE"> +<![%substeps.element;[ +<!--doc:A wrapper for steps that occur within steps in a procedure.--> +<!ELEMENT substeps %ho; (step+)> +<!--end of substeps.element-->]]> + +<!-- Performance: whether entire set of substeps must be performed --> +<!-- not #REQUIRED! --> + +<!ENTITY % substeps.attlist "INCLUDE"> +<![%substeps.attlist;[ +<!ATTLIST substeps + performance (optional + |required) "required" + %common.attrib; + %substeps.role.attrib; + %local.substeps.attrib; +> +<!--end of substeps.attlist-->]]> +<!--end of substeps.module-->]]> + +<!ENTITY % stepalternatives.module "INCLUDE"> +<![%stepalternatives.module;[ +<!ENTITY % local.stepalternatives.attrib ""> +<!ENTITY % stepalternatives.role.attrib "%role.attrib;"> + +<!ENTITY % stepalternatives.element "INCLUDE"> +<![%stepalternatives.element;[ +<!--doc:Alternative steps in a procedure.--> +<!ELEMENT stepalternatives %ho; (step+)> +<!--end of stepalternatives.element-->]]> + +<!-- Performance: Whether (one of) the alternatives must be performed --> +<!-- not #REQUIRED! --> + +<!ENTITY % stepalternatives.attlist "INCLUDE"> +<![%stepalternatives.attlist;[ +<!ATTLIST stepalternatives + performance (optional + |required) "required" + %common.attrib; + %stepalternatives.role.attrib; + %local.stepalternatives.attrib; +> +<!--end of stepalternatives.attlist-->]]> +<!--end of stepalternatives.module-->]]> +<!--end of procedure.content.module-->]]> + +<!-- Sidebar .......................... --> + +<!ENTITY % sidebar.content.model "INCLUDE"> +<![ %sidebar.content.model; [ + +<!ENTITY % sidebarinfo.module "INCLUDE"> +<![ %sidebarinfo.module; [ +<!ENTITY % local.sidebarinfo.attrib ""> +<!ENTITY % sidebarinfo.role.attrib "%role.attrib;"> + +<!ENTITY % sidebarinfo.element "INCLUDE"> +<![ %sidebarinfo.element; [ +<!--doc:Meta-information for a Sidebar.--> +<!ELEMENT sidebarinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of sidebarinfo.element-->]]> + +<!ENTITY % sidebarinfo.attlist "INCLUDE"> +<![ %sidebarinfo.attlist; [ +<!ATTLIST sidebarinfo + %common.attrib; + %sidebarinfo.role.attrib; + %local.sidebarinfo.attrib; +> +<!--end of sidebarinfo.attlist-->]]> +<!--end of sidebarinfo.module-->]]> + +<!ENTITY % sidebar.module "INCLUDE"> +<![%sidebar.module;[ +<!ENTITY % local.sidebar.attrib ""> +<!ENTITY % sidebar.role.attrib "%role.attrib;"> + +<!ENTITY % sidebar.element "INCLUDE"> +<![%sidebar.element;[ +<!--doc:A portion of a document that is isolated from the main narrative flow.--> +<!ELEMENT sidebar %ho; (sidebarinfo?, + (%formalobject.title.content;)?, + (%sidebar.mix;)+)> +<!--end of sidebar.element-->]]> + +<!ENTITY % sidebar.attlist "INCLUDE"> +<![%sidebar.attlist;[ +<!ATTLIST sidebar + %common.attrib; + %sidebar.role.attrib; + %local.sidebar.attrib; +> +<!--end of sidebar.attlist-->]]> +<!--end of sidebar.module-->]]> +<!--end of sidebar.content.model-->]]> + +<!-- ...................................................................... --> +<!-- Paragraph-related elements ........................................... --> + +<!ENTITY % abstract.module "INCLUDE"> +<![%abstract.module;[ +<!ENTITY % local.abstract.attrib ""> +<!ENTITY % abstract.role.attrib "%role.attrib;"> + +<!ENTITY % abstract.element "INCLUDE"> +<![%abstract.element;[ +<!--doc:A summary.--> +<!ELEMENT abstract %ho; (title?, (%para.class;)+)> +<!--end of abstract.element-->]]> + +<!ENTITY % abstract.attlist "INCLUDE"> +<![%abstract.attlist;[ +<!ATTLIST abstract + %common.attrib; + %abstract.role.attrib; + %local.abstract.attrib; +> +<!--end of abstract.attlist-->]]> +<!--end of abstract.module-->]]> + +<!ENTITY % authorblurb.module "INCLUDE"> +<![%authorblurb.module;[ +<!ENTITY % local.authorblurb.attrib ""> +<!ENTITY % authorblurb.role.attrib "%role.attrib;"> + +<!ENTITY % authorblurb.element "INCLUDE"> +<![%authorblurb.element;[ +<!--doc:A short description or note about an author.--> +<!ELEMENT authorblurb %ho; (title?, (%para.class;)+)> +<!--end of authorblurb.element-->]]> + +<!ENTITY % authorblurb.attlist "INCLUDE"> +<![%authorblurb.attlist;[ +<!ATTLIST authorblurb + %common.attrib; + %authorblurb.role.attrib; + %local.authorblurb.attrib; +> +<!--end of authorblurb.attlist-->]]> +<!--end of authorblurb.module-->]]> + +<!ENTITY % personblurb.module "INCLUDE"> +<![%personblurb.module;[ +<!ENTITY % local.personblurb.attrib ""> +<!ENTITY % personblurb.role.attrib "%role.attrib;"> + +<!ENTITY % personblurb.element "INCLUDE"> +<![%personblurb.element;[ +<!--doc:A short description or note about a person.--> +<!ELEMENT personblurb %ho; (title?, (%para.class;)+)> +<!--end of personblurb.element-->]]> + +<!ENTITY % personblurb.attlist "INCLUDE"> +<![%personblurb.attlist;[ +<!ATTLIST personblurb + %common.attrib; + %personblurb.role.attrib; + %local.personblurb.attrib; +> +<!--end of personblurb.attlist-->]]> +<!--end of personblurb.module-->]]> + +<!ENTITY % blockquote.module "INCLUDE"> +<![%blockquote.module;[ + +<!ENTITY % local.blockquote.attrib ""> +<!ENTITY % blockquote.role.attrib "%role.attrib;"> + +<!ENTITY % blockquote.element "INCLUDE"> +<![%blockquote.element;[ +<!--doc:A quotation set off from the main text.--> +<!ELEMENT blockquote %ho; (blockinfo?, title?, attribution?, (%component.mix;)+) + %blockquote.exclusion;> +<!--end of blockquote.element-->]]> + +<!ENTITY % blockquote.attlist "INCLUDE"> +<![%blockquote.attlist;[ +<!ATTLIST blockquote + %common.attrib; + %blockquote.role.attrib; + %local.blockquote.attrib; +> +<!--end of blockquote.attlist-->]]> +<!--end of blockquote.module-->]]> + +<!ENTITY % attribution.module "INCLUDE"> +<![%attribution.module;[ +<!ENTITY % local.attribution.attrib ""> +<!ENTITY % attribution.role.attrib "%role.attrib;"> + +<!ENTITY % attribution.element "INCLUDE"> +<![%attribution.element;[ +<!--doc:The source of a block quote or epigraph.--> +<!ELEMENT attribution %ho; (%para.char.mix;)*> +<!--end of attribution.element-->]]> + +<!ENTITY % attribution.attlist "INCLUDE"> +<![%attribution.attlist;[ +<!ATTLIST attribution + %common.attrib; + %attribution.role.attrib; + %local.attribution.attrib; +> +<!--end of attribution.attlist-->]]> +<!--end of attribution.module-->]]> + +<!ENTITY % bridgehead.module "INCLUDE"> +<![%bridgehead.module;[ +<!ENTITY % local.bridgehead.attrib ""> +<!ENTITY % bridgehead.role.attrib "%role.attrib;"> + +<!ENTITY % bridgehead.element "INCLUDE"> +<![%bridgehead.element;[ +<!--doc:A free-floating heading.--> +<!ELEMENT bridgehead %ho; (%title.char.mix;)*> +<!--end of bridgehead.element-->]]> + +<!-- Renderas: Indicates the format in which the BridgeHead + should appear --> + + +<!ENTITY % bridgehead.attlist "INCLUDE"> +<![%bridgehead.attlist;[ +<!ATTLIST bridgehead + renderas (other + |sect1 + |sect2 + |sect3 + |sect4 + |sect5) #IMPLIED + %common.attrib; + %bridgehead.role.attrib; + %local.bridgehead.attrib; +> +<!--end of bridgehead.attlist-->]]> +<!--end of bridgehead.module-->]]> + +<!ENTITY % remark.module "INCLUDE"> +<![%remark.module;[ +<!ENTITY % local.remark.attrib ""> +<!ENTITY % remark.role.attrib "%role.attrib;"> + +<!ENTITY % remark.element "INCLUDE"> +<![%remark.element;[ +<!--doc:A remark (or comment) intended for presentation in a draft manuscript.--> +<!ELEMENT remark %ho; (%para.char.mix;)* + %remark.exclusion;> +<!--end of remark.element-->]]> + +<!ENTITY % remark.attlist "INCLUDE"> +<![%remark.attlist;[ +<!ATTLIST remark + %common.attrib; + %remark.role.attrib; + %local.remark.attrib; +> +<!--end of remark.attlist-->]]> +<!--end of remark.module-->]]> + +<!ENTITY % epigraph.module "INCLUDE"> +<![%epigraph.module;[ +<!ENTITY % local.epigraph.attrib ""> +<!ENTITY % epigraph.role.attrib "%role.attrib;"> + +<!ENTITY % epigraph.element "INCLUDE"> +<![%epigraph.element;[ +<!--doc:A short inscription at the beginning of a document or component.--> +<!ELEMENT epigraph %ho; (attribution?, ((%para.class;)|literallayout)+)> +<!--end of epigraph.element-->]]> + +<!ENTITY % epigraph.attlist "INCLUDE"> +<![%epigraph.attlist;[ +<!ATTLIST epigraph + %common.attrib; + %epigraph.role.attrib; + %local.epigraph.attrib; +> +<!--end of epigraph.attlist-->]]> +<!-- Attribution (defined above)--> +<!--end of epigraph.module-->]]> + +<!ENTITY % footnote.module "INCLUDE"> +<![%footnote.module;[ +<!ENTITY % local.footnote.attrib ""> +<!ENTITY % footnote.role.attrib "%role.attrib;"> + +<!ENTITY % footnote.element "INCLUDE"> +<![%footnote.element;[ +<!--doc:A footnote.--> +<!ELEMENT footnote %ho; ((%footnote.mix;)+) + %footnote.exclusion;> +<!--end of footnote.element-->]]> + +<!ENTITY % footnote.attlist "INCLUDE"> +<![%footnote.attlist;[ +<!ATTLIST footnote + %label.attrib; + %common.attrib; + %footnote.role.attrib; + %local.footnote.attrib; +> +<!--end of footnote.attlist-->]]> +<!--end of footnote.module-->]]> + +<!ENTITY % highlights.module "INCLUDE"> +<![%highlights.module;[ +<!ENTITY % local.highlights.attrib ""> +<!ENTITY % highlights.role.attrib "%role.attrib;"> + +<!ENTITY % highlights.element "INCLUDE"> +<![%highlights.element;[ +<!--doc:A summary of the main points of the discussed component.--> +<!ELEMENT highlights %ho; ((%highlights.mix;)+) + %highlights.exclusion;> +<!--end of highlights.element-->]]> + +<!ENTITY % highlights.attlist "INCLUDE"> +<![%highlights.attlist;[ +<!ATTLIST highlights + %common.attrib; + %highlights.role.attrib; + %local.highlights.attrib; +> +<!--end of highlights.attlist-->]]> +<!--end of highlights.module-->]]> + +<!ENTITY % formalpara.module "INCLUDE"> +<![%formalpara.module;[ +<!ENTITY % local.formalpara.attrib ""> +<!ENTITY % formalpara.role.attrib "%role.attrib;"> + +<!ENTITY % formalpara.element "INCLUDE"> +<![%formalpara.element;[ +<!--doc:A paragraph with a title.--> +<!ELEMENT formalpara %ho; (title, (%ndxterm.class;)*, para)> +<!--end of formalpara.element-->]]> + +<!ENTITY % formalpara.attlist "INCLUDE"> +<![%formalpara.attlist;[ +<!ATTLIST formalpara + %common.attrib; + %formalpara.role.attrib; + %local.formalpara.attrib; +> +<!--end of formalpara.attlist-->]]> +<!--end of formalpara.module-->]]> + +<!ENTITY % para.module "INCLUDE"> +<![%para.module;[ +<!ENTITY % local.para.attrib ""> +<!ENTITY % para.role.attrib "%role.attrib;"> + +<!ENTITY % para.element "INCLUDE"> +<![%para.element;[ +<!--doc:A paragraph.--> +<!ELEMENT para %ho; (%para.char.mix; | %para.mix;)*> +<!--end of para.element-->]]> + +<!ENTITY % para.attlist "INCLUDE"> +<![%para.attlist;[ +<!ATTLIST para + %common.attrib; + %para.role.attrib; + %local.para.attrib; +> +<!--end of para.attlist-->]]> +<!--end of para.module-->]]> + +<!ENTITY % simpara.module "INCLUDE"> +<![%simpara.module;[ +<!ENTITY % local.simpara.attrib ""> +<!ENTITY % simpara.role.attrib "%role.attrib;"> + +<!ENTITY % simpara.element "INCLUDE"> +<![%simpara.element;[ +<!--doc:A paragraph that contains only text and inline markup, no block elements.--> +<!ELEMENT simpara %ho; (%para.char.mix;)*> +<!--end of simpara.element-->]]> + +<!ENTITY % simpara.attlist "INCLUDE"> +<![%simpara.attlist;[ +<!ATTLIST simpara + %common.attrib; + %simpara.role.attrib; + %local.simpara.attrib; +> +<!--end of simpara.attlist-->]]> +<!--end of simpara.module-->]]> + +<!ENTITY % admon.module "INCLUDE"> +<![%admon.module;[ +<!ENTITY % local.admon.attrib ""> +<!ENTITY % admon.role.attrib "%role.attrib;"> + + +<!ENTITY % caution.element "INCLUDE"> +<![%caution.element;[ +<!--doc:A note of caution.--> +<!ELEMENT caution %ho; (title?, (%admon.mix;)+) + %admon.exclusion;> +<!--end of caution.element-->]]> + +<!ENTITY % caution.attlist "INCLUDE"> +<![%caution.attlist;[ +<!ATTLIST caution + %common.attrib; + %admon.role.attrib; + %local.admon.attrib; +> +<!--end of caution.attlist-->]]> + + +<!ENTITY % important.element "INCLUDE"> +<![%important.element;[ +<!--doc:An admonition set off from the text.--> +<!ELEMENT important %ho; (title?, (%admon.mix;)+) + %admon.exclusion;> +<!--end of important.element-->]]> + +<!ENTITY % important.attlist "INCLUDE"> +<![%important.attlist;[ +<!ATTLIST important + %common.attrib; + %admon.role.attrib; + %local.admon.attrib; +> +<!--end of important.attlist-->]]> + + +<!ENTITY % note.element "INCLUDE"> +<![%note.element;[ +<!--doc:A message set off from the text.--> +<!ELEMENT note %ho; (title?, (%admon.mix;)+) + %admon.exclusion;> +<!--end of note.element-->]]> + +<!ENTITY % note.attlist "INCLUDE"> +<![%note.attlist;[ +<!ATTLIST note + %common.attrib; + %admon.role.attrib; + %local.admon.attrib; +> +<!--end of note.attlist-->]]> + +<!ENTITY % tip.element "INCLUDE"> +<![%tip.element;[ +<!--doc:A suggestion to the user, set off from the text.--> +<!ELEMENT tip %ho; (title?, (%admon.mix;)+) + %admon.exclusion;> +<!--end of tip.element-->]]> + +<!ENTITY % tip.attlist "INCLUDE"> +<![%tip.attlist;[ +<!ATTLIST tip + %common.attrib; + %admon.role.attrib; + %local.admon.attrib; +> +<!--end of tip.attlist-->]]> + + +<!ENTITY % warning.element "INCLUDE"> +<![%warning.element;[ +<!--doc:An admonition set off from the text.--> +<!ELEMENT warning %ho; (title?, (%admon.mix;)+) + %admon.exclusion;> +<!--end of warning.element-->]]> + +<!ENTITY % warning.attlist "INCLUDE"> +<![%warning.attlist;[ +<!ATTLIST warning + %common.attrib; + %admon.role.attrib; + %local.admon.attrib; +> +<!--end of warning.attlist-->]]> + +<!--end of admon.module-->]]> + +<!-- ...................................................................... --> +<!-- Lists ................................................................ --> + +<!-- GlossList ........................ --> + +<!ENTITY % glosslist.module "INCLUDE"> +<![%glosslist.module;[ +<!ENTITY % local.glosslist.attrib ""> +<!ENTITY % glosslist.role.attrib "%role.attrib;"> + +<!ENTITY % glosslist.element "INCLUDE"> +<![%glosslist.element;[ +<!--doc:A wrapper for a set of GlossEntrys.--> +<!ELEMENT glosslist %ho; (blockinfo?, (%formalobject.title.content;)?, glossentry+)> +<!--end of glosslist.element-->]]> + +<!ENTITY % glosslist.attlist "INCLUDE"> +<![%glosslist.attlist;[ +<!ATTLIST glosslist + %common.attrib; + %glosslist.role.attrib; + %local.glosslist.attrib; +> +<!--end of glosslist.attlist-->]]> +<!--end of glosslist.module-->]]> + +<!ENTITY % glossentry.content.module "INCLUDE"> +<![%glossentry.content.module;[ +<!ENTITY % glossentry.module "INCLUDE"> +<![%glossentry.module;[ +<!ENTITY % local.glossentry.attrib ""> +<!ENTITY % glossentry.role.attrib "%role.attrib;"> + +<!ENTITY % glossentry.element "INCLUDE"> +<![%glossentry.element;[ +<!--doc:An entry in a Glossary or GlossList.--> +<!ELEMENT glossentry %ho; (glossterm, acronym?, abbrev?, + (%ndxterm.class;)*, + revhistory?, (glosssee|glossdef+))> +<!--end of glossentry.element-->]]> + +<!-- SortAs: String by which the GlossEntry is to be sorted + (alphabetized) in lieu of its proper content --> + + +<!ENTITY % glossentry.attlist "INCLUDE"> +<![%glossentry.attlist;[ +<!ATTLIST glossentry + sortas CDATA #IMPLIED + %common.attrib; + %glossentry.role.attrib; + %local.glossentry.attrib; +> +<!--end of glossentry.attlist-->]]> +<!--end of glossentry.module-->]]> + +<!-- GlossTerm (defined in the Inlines section, below)--> +<!ENTITY % glossdef.module "INCLUDE"> +<![%glossdef.module;[ +<!ENTITY % local.glossdef.attrib ""> +<!ENTITY % glossdef.role.attrib "%role.attrib;"> + +<!ENTITY % glossdef.element "INCLUDE"> +<![%glossdef.element;[ +<!--doc:A definition in a GlossEntry.--> +<!ELEMENT glossdef %ho; ((%glossdef.mix;)+, glossseealso*)> +<!--end of glossdef.element-->]]> + +<!-- Subject: List of subjects; keywords for the definition --> + + +<!ENTITY % glossdef.attlist "INCLUDE"> +<![%glossdef.attlist;[ +<!ATTLIST glossdef + subject CDATA #IMPLIED + %common.attrib; + %glossdef.role.attrib; + %local.glossdef.attrib; +> +<!--end of glossdef.attlist-->]]> +<!--end of glossdef.module-->]]> + +<!ENTITY % glosssee.module "INCLUDE"> +<![%glosssee.module;[ +<!ENTITY % local.glosssee.attrib ""> +<!ENTITY % glosssee.role.attrib "%role.attrib;"> + +<!ENTITY % glosssee.element "INCLUDE"> +<![%glosssee.element;[ +<!--doc:A cross-reference from one GlossEntry to another.--> +<!ELEMENT glosssee %ho; (%para.char.mix;)*> +<!--end of glosssee.element-->]]> + +<!-- OtherTerm: Reference to the GlossEntry whose GlossTerm + should be displayed at the point of the GlossSee --> + + +<!ENTITY % glosssee.attlist "INCLUDE"> +<![%glosssee.attlist;[ +<!ATTLIST glosssee + otherterm IDREF #IMPLIED + %common.attrib; + %glosssee.role.attrib; + %local.glosssee.attrib; +> +<!--end of glosssee.attlist-->]]> +<!--end of glosssee.module-->]]> + +<!ENTITY % glossseealso.module "INCLUDE"> +<![%glossseealso.module;[ +<!ENTITY % local.glossseealso.attrib ""> +<!ENTITY % glossseealso.role.attrib "%role.attrib;"> + +<!ENTITY % glossseealso.element "INCLUDE"> +<![%glossseealso.element;[ +<!--doc:A cross-reference from one GlossEntry to another.--> +<!ELEMENT glossseealso %ho; (%para.char.mix;)*> +<!--end of glossseealso.element-->]]> + +<!-- OtherTerm: Reference to the GlossEntry whose GlossTerm + should be displayed at the point of the GlossSeeAlso --> + + +<!ENTITY % glossseealso.attlist "INCLUDE"> +<![%glossseealso.attlist;[ +<!ATTLIST glossseealso + otherterm IDREF #IMPLIED + %common.attrib; + %glossseealso.role.attrib; + %local.glossseealso.attrib; +> +<!--end of glossseealso.attlist-->]]> +<!--end of glossseealso.module-->]]> +<!--end of glossentry.content.module-->]]> + +<!-- ItemizedList and OrderedList ..... --> + +<!ENTITY % itemizedlist.module "INCLUDE"> +<![%itemizedlist.module;[ +<!ENTITY % local.itemizedlist.attrib ""> +<!ENTITY % itemizedlist.role.attrib "%role.attrib;"> + +<!ENTITY % itemizedlist.element "INCLUDE"> +<![%itemizedlist.element;[ +<!--doc:A list in which each entry is marked with a bullet or other dingbat.--> +<!ELEMENT itemizedlist %ho; (blockinfo?, (%formalobject.title.content;)?, + (%listpreamble.mix;)*, listitem+)> + +<!--end of itemizedlist.element-->]]> + +<!-- Spacing: Whether the vertical space in the list should be + compressed --> +<!-- Mark: Keyword, e.g., bullet, dash, checkbox, none; + list of keywords and defaults are implementation specific --> + + +<!ENTITY % itemizedlist.attlist "INCLUDE"> +<![%itemizedlist.attlist;[ +<!ATTLIST itemizedlist + spacing (normal + |compact) #IMPLIED + %mark.attrib; + %common.attrib; + %itemizedlist.role.attrib; + %local.itemizedlist.attrib; +> +<!--end of itemizedlist.attlist-->]]> +<!--end of itemizedlist.module-->]]> + +<!ENTITY % orderedlist.module "INCLUDE"> +<![%orderedlist.module;[ +<!ENTITY % local.orderedlist.attrib ""> +<!ENTITY % orderedlist.role.attrib "%role.attrib;"> + +<!ENTITY % orderedlist.element "INCLUDE"> +<![%orderedlist.element;[ +<!--doc:A list in which each entry is marked with a sequentially incremented label.--> +<!ELEMENT orderedlist %ho; (blockinfo?, (%formalobject.title.content;)?, + (%listpreamble.mix;)*, listitem+)> + +<!--end of orderedlist.element-->]]> + +<!-- Numeration: Style of ListItem numbered; default is expected + to be Arabic --> +<!-- InheritNum: Specifies for a nested list that the numbering + of ListItems should include the number of the item + within which they are nested (e.g., 1a and 1b within 1, + rather than a and b) --> +<!-- Continuation: Where list numbering begins afresh (Restarts, + the default) or continues that of the immediately preceding + list (Continues) --> +<!-- Spacing: Whether the vertical space in the list should be + compressed --> + + +<!ENTITY % orderedlist.attlist "INCLUDE"> +<![%orderedlist.attlist;[ +<!ATTLIST orderedlist + numeration (arabic + |upperalpha + |loweralpha + |upperroman + |lowerroman) #IMPLIED + inheritnum (inherit + |ignore) "ignore" + continuation (continues + |restarts) "restarts" + spacing (normal + |compact) #IMPLIED + %common.attrib; + %orderedlist.role.attrib; + %local.orderedlist.attrib; +> +<!--end of orderedlist.attlist-->]]> +<!--end of orderedlist.module-->]]> + +<!ENTITY % listitem.module "INCLUDE"> +<![%listitem.module;[ +<!ENTITY % local.listitem.attrib ""> +<!ENTITY % listitem.role.attrib "%role.attrib;"> + +<!ENTITY % listitem.element "INCLUDE"> +<![%listitem.element;[ +<!--doc:A wrapper for the elements of a list item.--> +<!ELEMENT listitem %ho; ((%component.mix;)+)> +<!--end of listitem.element-->]]> + +<!-- Override: Indicates the mark to be used for this ListItem + instead of the default mark or the mark specified by + the Mark attribute on the enclosing ItemizedList --> + + +<!ENTITY % listitem.attlist "INCLUDE"> +<![%listitem.attlist;[ +<!ATTLIST listitem + override CDATA #IMPLIED + %common.attrib; + %listitem.role.attrib; + %local.listitem.attrib; +> +<!--end of listitem.attlist-->]]> +<!--end of listitem.module-->]]> + +<!-- SegmentedList .................... --> +<!ENTITY % segmentedlist.content.module "INCLUDE"> +<![%segmentedlist.content.module;[ +<!ENTITY % segmentedlist.module "INCLUDE"> +<![%segmentedlist.module;[ +<!ENTITY % local.segmentedlist.attrib ""> +<!ENTITY % segmentedlist.role.attrib "%role.attrib;"> + +<!ENTITY % segmentedlist.element "INCLUDE"> +<![%segmentedlist.element;[ +<!--doc:A segmented list, a list of sets of elements.--> +<!ELEMENT segmentedlist %ho; ((%formalobject.title.content;)?, + segtitle+, + seglistitem+)> +<!--end of segmentedlist.element-->]]> + +<!ENTITY % segmentedlist.attlist "INCLUDE"> +<![%segmentedlist.attlist;[ +<!ATTLIST segmentedlist + %common.attrib; + %segmentedlist.role.attrib; + %local.segmentedlist.attrib; +> +<!--end of segmentedlist.attlist-->]]> +<!--end of segmentedlist.module-->]]> + +<!ENTITY % segtitle.module "INCLUDE"> +<![%segtitle.module;[ +<!ENTITY % local.segtitle.attrib ""> +<!ENTITY % segtitle.role.attrib "%role.attrib;"> + +<!ENTITY % segtitle.element "INCLUDE"> +<![%segtitle.element;[ +<!--doc:The title of an element of a list item in a segmented list.--> +<!ELEMENT segtitle %ho; (%title.char.mix;)*> +<!--end of segtitle.element-->]]> + +<!ENTITY % segtitle.attlist "INCLUDE"> +<![%segtitle.attlist;[ +<!ATTLIST segtitle + %common.attrib; + %segtitle.role.attrib; + %local.segtitle.attrib; +> +<!--end of segtitle.attlist-->]]> +<!--end of segtitle.module-->]]> + +<!ENTITY % seglistitem.module "INCLUDE"> +<![%seglistitem.module;[ +<!ENTITY % local.seglistitem.attrib ""> +<!ENTITY % seglistitem.role.attrib "%role.attrib;"> + +<!ENTITY % seglistitem.element "INCLUDE"> +<![%seglistitem.element;[ +<!--doc:A list item in a segmented list.--> +<!ELEMENT seglistitem %ho; (seg+)> +<!--end of seglistitem.element-->]]> + +<!ENTITY % seglistitem.attlist "INCLUDE"> +<![%seglistitem.attlist;[ +<!ATTLIST seglistitem + %common.attrib; + %seglistitem.role.attrib; + %local.seglistitem.attrib; +> +<!--end of seglistitem.attlist-->]]> +<!--end of seglistitem.module-->]]> + +<!ENTITY % seg.module "INCLUDE"> +<![%seg.module;[ +<!ENTITY % local.seg.attrib ""> +<!ENTITY % seg.role.attrib "%role.attrib;"> + +<!ENTITY % seg.element "INCLUDE"> +<![%seg.element;[ +<!--doc:An element of a list item in a segmented list.--> +<!ELEMENT seg %ho; (%para.char.mix;)*> +<!--end of seg.element-->]]> + +<!ENTITY % seg.attlist "INCLUDE"> +<![%seg.attlist;[ +<!ATTLIST seg + %common.attrib; + %seg.role.attrib; + %local.seg.attrib; +> +<!--end of seg.attlist-->]]> +<!--end of seg.module-->]]> +<!--end of segmentedlist.content.module-->]]> + +<!-- SimpleList ....................... --> + +<!ENTITY % simplelist.content.module "INCLUDE"> +<![%simplelist.content.module;[ +<!ENTITY % simplelist.module "INCLUDE"> +<![%simplelist.module;[ +<!ENTITY % local.simplelist.attrib ""> +<!ENTITY % simplelist.role.attrib "%role.attrib;"> + +<!ENTITY % simplelist.element "INCLUDE"> +<![%simplelist.element;[ +<!--doc:An undecorated list of single words or short phrases.--> +<!ELEMENT simplelist %ho; (member+)> +<!--end of simplelist.element-->]]> + +<!-- Columns: The number of columns the array should contain --> +<!-- Type: How the Members of the SimpleList should be + formatted: Inline (members separated with commas etc. + inline), Vert (top to bottom in n Columns), or Horiz (in + the direction of text flow) in n Columns. If Column + is 1 or implied, Type=Vert and Type=Horiz give the same + results. --> + + +<!ENTITY % simplelist.attlist "INCLUDE"> +<![%simplelist.attlist;[ +<!ATTLIST simplelist + columns CDATA #IMPLIED + type (inline + |vert + |horiz) "vert" + %common.attrib; + %simplelist.role.attrib; + %local.simplelist.attrib; +> +<!--end of simplelist.attlist-->]]> +<!--end of simplelist.module-->]]> + +<!ENTITY % member.module "INCLUDE"> +<![%member.module;[ +<!ENTITY % local.member.attrib ""> +<!ENTITY % member.role.attrib "%role.attrib;"> + +<!ENTITY % member.element "INCLUDE"> +<![%member.element;[ +<!--doc:An element of a simple list.--> +<!ELEMENT member %ho; (%para.char.mix;)*> +<!--end of member.element-->]]> + +<!ENTITY % member.attlist "INCLUDE"> +<![%member.attlist;[ +<!ATTLIST member + %common.attrib; + %member.role.attrib; + %local.member.attrib; +> +<!--end of member.attlist-->]]> +<!--end of member.module-->]]> +<!--end of simplelist.content.module-->]]> + +<!-- VariableList ..................... --> + +<!ENTITY % variablelist.content.module "INCLUDE"> +<![%variablelist.content.module;[ +<!ENTITY % variablelist.module "INCLUDE"> +<![%variablelist.module;[ +<!ENTITY % local.variablelist.attrib ""> +<!ENTITY % variablelist.role.attrib "%role.attrib;"> + +<!ENTITY % variablelist.element "INCLUDE"> +<![%variablelist.element;[ +<!--doc:A list in which each entry is composed of a set of one or more terms and an associated description.--> +<!ELEMENT variablelist %ho; (blockinfo?, (%formalobject.title.content;)?, + (%listpreamble.mix;)*, varlistentry+)> +<!--end of variablelist.element-->]]> + +<!-- TermLength: Length beyond which the presentation engine + may consider the Term too long and select an alternate + presentation of the Term and, or, its associated ListItem. --> + + +<!ENTITY % variablelist.attlist "INCLUDE"> +<![%variablelist.attlist;[ +<!ATTLIST variablelist + termlength CDATA #IMPLIED + spacing (normal + |compact) #IMPLIED + %common.attrib; + %variablelist.role.attrib; + %local.variablelist.attrib; +> +<!--end of variablelist.attlist-->]]> +<!--end of variablelist.module-->]]> + +<!ENTITY % varlistentry.module "INCLUDE"> +<![%varlistentry.module;[ +<!ENTITY % local.varlistentry.attrib ""> +<!ENTITY % varlistentry.role.attrib "%role.attrib;"> + +<!ENTITY % varlistentry.element "INCLUDE"> +<![%varlistentry.element;[ +<!--doc:A wrapper for a set of terms and the associated description in a variable list.--> +<!ELEMENT varlistentry %ho; (term+, listitem)> +<!--end of varlistentry.element-->]]> + +<!ENTITY % varlistentry.attlist "INCLUDE"> +<![%varlistentry.attlist;[ +<!ATTLIST varlistentry + %common.attrib; + %varlistentry.role.attrib; + %local.varlistentry.attrib; +> +<!--end of varlistentry.attlist-->]]> +<!--end of varlistentry.module-->]]> + +<!ENTITY % term.module "INCLUDE"> +<![%term.module;[ +<!ENTITY % local.term.attrib ""> +<!ENTITY % term.role.attrib "%role.attrib;"> + +<!ENTITY % term.element "INCLUDE"> +<![%term.element;[ +<!--doc:The word or phrase being defined or described in a variable list.--> +<!ELEMENT term %ho; (%para.char.mix;)*> +<!--end of term.element-->]]> + +<!ENTITY % term.attlist "INCLUDE"> +<![%term.attlist;[ +<!ATTLIST term + %common.attrib; + %term.role.attrib; + %local.term.attrib; +> +<!--end of term.attlist-->]]> +<!--end of term.module-->]]> + +<!-- ListItem (defined above)--> +<!--end of variablelist.content.module-->]]> + +<!-- CalloutList ...................... --> + +<!ENTITY % calloutlist.content.module "INCLUDE"> +<![%calloutlist.content.module;[ +<!ENTITY % calloutlist.module "INCLUDE"> +<![%calloutlist.module;[ +<!ENTITY % local.calloutlist.attrib ""> +<!ENTITY % calloutlist.role.attrib "%role.attrib;"> + +<!ENTITY % calloutlist.element "INCLUDE"> +<![%calloutlist.element;[ +<!--doc:A list of Callouts.--> +<!ELEMENT calloutlist %ho; ((%formalobject.title.content;)?, callout+)> +<!--end of calloutlist.element-->]]> + +<!ENTITY % calloutlist.attlist "INCLUDE"> +<![%calloutlist.attlist;[ +<!ATTLIST calloutlist + %common.attrib; + %calloutlist.role.attrib; + %local.calloutlist.attrib; +> +<!--end of calloutlist.attlist-->]]> +<!--end of calloutlist.module-->]]> + +<!ENTITY % callout.module "INCLUDE"> +<![%callout.module;[ +<!ENTITY % local.callout.attrib ""> +<!ENTITY % callout.role.attrib "%role.attrib;"> + +<!ENTITY % callout.element "INCLUDE"> +<![%callout.element;[ +<!--doc:A “called out” description of a marked Area.--> +<!ELEMENT callout %ho; ((%component.mix;)+)> +<!--end of callout.element-->]]> + +<!-- AreaRefs: IDs of one or more Areas or AreaSets described + by this Callout --> + + +<!ENTITY % callout.attlist "INCLUDE"> +<![%callout.attlist;[ +<!ATTLIST callout + arearefs IDREFS #REQUIRED + %common.attrib; + %callout.role.attrib; + %local.callout.attrib; +> +<!--end of callout.attlist-->]]> +<!--end of callout.module-->]]> +<!--end of calloutlist.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Objects .............................................................. --> + +<!-- Examples etc. .................... --> + +<!ENTITY % example.module "INCLUDE"> +<![%example.module;[ +<!ENTITY % local.example.attrib ""> +<!ENTITY % example.role.attrib "%role.attrib;"> + +<!ENTITY % example.element "INCLUDE"> +<![%example.element;[ +<!--doc:A formal example, with a title.--> +<!ELEMENT example %ho; (blockinfo?, (%formalobject.title.content;), (%example.mix;)+) + %formal.exclusion;> +<!--end of example.element-->]]> + +<!ENTITY % example.attlist "INCLUDE"> +<![%example.attlist;[ +<!ATTLIST example + floatstyle CDATA #IMPLIED + %label.attrib; + %width.attrib; + %common.attrib; + %example.role.attrib; + %local.example.attrib; +> +<!--end of example.attlist-->]]> +<!--end of example.module-->]]> + +<!ENTITY % informalexample.module "INCLUDE"> +<![%informalexample.module;[ +<!ENTITY % local.informalexample.attrib ""> +<!ENTITY % informalexample.role.attrib "%role.attrib;"> + +<!ENTITY % informalexample.element "INCLUDE"> +<![%informalexample.element;[ +<!--doc:A displayed example without a title.--> +<!ELEMENT informalexample %ho; (blockinfo?, (%example.mix;)+)> +<!--end of informalexample.element-->]]> + +<!ENTITY % informalexample.attlist "INCLUDE"> +<![%informalexample.attlist;[ +<!ATTLIST informalexample + floatstyle CDATA #IMPLIED + %width.attrib; + %common.attrib; + %informalexample.role.attrib; + %local.informalexample.attrib; +> +<!--end of informalexample.attlist-->]]> +<!--end of informalexample.module-->]]> + +<!ENTITY % programlistingco.module "INCLUDE"> +<![%programlistingco.module;[ +<!ENTITY % local.programlistingco.attrib ""> +<!ENTITY % programlistingco.role.attrib "%role.attrib;"> + +<!ENTITY % programlistingco.element "INCLUDE"> +<![%programlistingco.element;[ +<!--doc:A program listing with associated areas used in callouts.--> +<!ELEMENT programlistingco %ho; (areaspec, programlisting, calloutlist*)> +<!--end of programlistingco.element-->]]> + +<!ENTITY % programlistingco.attlist "INCLUDE"> +<![%programlistingco.attlist;[ +<!ATTLIST programlistingco + %common.attrib; + %programlistingco.role.attrib; + %local.programlistingco.attrib; +> +<!--end of programlistingco.attlist-->]]> +<!-- CalloutList (defined above in Lists)--> +<!--end of informalexample.module-->]]> + +<!ENTITY % areaspec.content.module "INCLUDE"> +<![%areaspec.content.module;[ +<!ENTITY % areaspec.module "INCLUDE"> +<![%areaspec.module;[ +<!ENTITY % local.areaspec.attrib ""> +<!ENTITY % areaspec.role.attrib "%role.attrib;"> + +<!ENTITY % areaspec.element "INCLUDE"> +<![%areaspec.element;[ +<!--doc:A collection of regions in a graphic or code example.--> +<!ELEMENT areaspec %ho; ((area|areaset)+)> +<!--end of areaspec.element-->]]> + +<!-- Units: global unit of measure in which coordinates in + this spec are expressed: + + - CALSPair "x1,y1 x2,y2": lower-left and upper-right + coordinates in a rectangle describing repro area in which + graphic is placed, where X and Y dimensions are each some + number 0..10000 (taken from CALS graphic attributes) + + - LineColumn "line column": line number and column number + at which to start callout text in "linespecific" content + + - LineRange "startline endline": whole lines from startline + to endline in "linespecific" content + + - LineColumnPair "line1 col1 line2 col2": starting and ending + points of area in "linespecific" content that starts at + first position and ends at second position (including the + beginnings of any intervening lines) + + - Other: directive to look at value of OtherUnits attribute + to get implementation-specific keyword + + The default is implementation-specific; usually dependent on + the parent element (GraphicCO gets CALSPair, ProgramListingCO + and ScreenCO get LineColumn) --> +<!-- OtherUnits: User-defined units --> + + +<!ENTITY % areaspec.attlist "INCLUDE"> +<![%areaspec.attlist;[ +<!ATTLIST areaspec + units (calspair + |linecolumn + |linerange + |linecolumnpair + |other) #IMPLIED + otherunits NMTOKEN #IMPLIED + %common.attrib; + %areaspec.role.attrib; + %local.areaspec.attrib; +> +<!--end of areaspec.attlist-->]]> +<!--end of areaspec.module-->]]> + +<!ENTITY % area.module "INCLUDE"> +<![%area.module;[ +<!ENTITY % local.area.attrib ""> +<!ENTITY % area.role.attrib "%role.attrib;"> + +<!ENTITY % area.element "INCLUDE"> +<![%area.element;[ +<!--doc:A region defined for a Callout in a graphic or code example.--> +<!ELEMENT area %ho; EMPTY> +<!--end of area.element-->]]> + +<!-- bug number/symbol override or initialization --> +<!-- to any related information --> +<!-- Units: unit of measure in which coordinates in this + area are expressed; inherits from AreaSet and AreaSpec --> +<!-- OtherUnits: User-defined units --> + + +<!ENTITY % area.attlist "INCLUDE"> +<![%area.attlist;[ +<!ATTLIST area + %label.attrib; + %linkends.attrib; + units (calspair + |linecolumn + |linerange + |linecolumnpair + |other) #IMPLIED + otherunits NMTOKEN #IMPLIED + coords CDATA #REQUIRED + %idreq.common.attrib; + %area.role.attrib; + %local.area.attrib; +> +<!--end of area.attlist-->]]> +<!--end of area.module-->]]> + +<!ENTITY % areaset.module "INCLUDE"> +<![%areaset.module;[ +<!ENTITY % local.areaset.attrib ""> +<!ENTITY % areaset.role.attrib "%role.attrib;"> + +<!ENTITY % areaset.element "INCLUDE"> +<![%areaset.element;[ +<!--doc:A set of related areas in a graphic or code example.--> +<!ELEMENT areaset %ho; (area+)> +<!--end of areaset.element-->]]> + +<!-- bug number/symbol override or initialization --> +<!-- Units: unit of measure in which coordinates in this + area are expressed; inherits from AreaSpec --> + + +<!ENTITY % areaset.attlist "INCLUDE"> +<![%areaset.attlist;[ +<!ATTLIST areaset + %label.attrib; + units (calspair + |linecolumn + |linerange + |linecolumnpair + |other) #IMPLIED + otherunits NMTOKEN #IMPLIED + coords CDATA #REQUIRED + %idreq.common.attrib; + %areaset.role.attrib; + %local.areaset.attrib; +> +<!--end of areaset.attlist-->]]> +<!--end of areaset.module-->]]> +<!--end of areaspec.content.module-->]]> + +<!ENTITY % programlisting.module "INCLUDE"> +<![%programlisting.module;[ +<!ENTITY % local.programlisting.attrib ""> +<!ENTITY % programlisting.role.attrib "%role.attrib;"> + +<!ENTITY % programlisting.element "INCLUDE"> +<![%programlisting.element;[ +<!--doc:A literal listing of all or part of a program.--> +<!ELEMENT programlisting %ho; (%para.char.mix;|co|coref|lineannotation|textobject)*> +<!--end of programlisting.element-->]]> + +<!ENTITY % programlisting.attlist "INCLUDE"> +<![%programlisting.attlist;[ +<!ATTLIST programlisting + %width.attrib; + %linespecific.attrib; + %common.attrib; + %programlisting.role.attrib; + %local.programlisting.attrib; +> +<!--end of programlisting.attlist-->]]> +<!--end of programlisting.module-->]]> + +<!ENTITY % literallayout.module "INCLUDE"> +<![%literallayout.module;[ +<!ENTITY % local.literallayout.attrib ""> +<!ENTITY % literallayout.role.attrib "%role.attrib;"> + +<!ENTITY % literallayout.element "INCLUDE"> +<![%literallayout.element;[ +<!--doc:A block of text in which line breaks and white space are to be reproduced faithfully.--> +<!ELEMENT literallayout %ho; (%para.char.mix;|co|coref|textobject|lineannotation)*> +<!--end of literallayout.element-->]]> + +<!ENTITY % literallayout.attlist "INCLUDE"> +<![%literallayout.attlist;[ +<!ATTLIST literallayout + %width.attrib; + %linespecific.attrib; + class (monospaced|normal) "normal" + %common.attrib; + %literallayout.role.attrib; + %local.literallayout.attrib; +> +<!--end of literallayout.attlist-->]]> +<!-- LineAnnotation (defined in the Inlines section, below)--> +<!--end of literallayout.module-->]]> + +<!ENTITY % sconstruct.module "INCLUDE"> +<![%sconstruct.module;[ +<!ENTITY % local.sconstruct.attrib ""> +<!ENTITY % sconstruct.role.attrib "%role.attrib;"> + +<!ENTITY % sconstruct.element "INCLUDE"> +<![%sconstruct.element;[ +<!--doc:Text that an SCons user sees or might see on a computer screen.--> +<!ELEMENT sconstruct %ho; (%para.char.mix;|co|coref|textobject|lineannotation)*> +<!--end of sconstruct.element-->]]> + +<!ENTITY % sconstruct.attlist "INCLUDE"> +<![%sconstruct.attlist;[ +<!ATTLIST sconstruct + %width.attrib; + %linespecific.attrib; + %common.attrib; + %sconstruct.role.attrib; + %local.sconstruct.attrib; +> +<!--end of sconstruct.attlist-->]]> +<!--end of sconstruct.module-->]]> + +<!ENTITY % scons_output.module "INCLUDE"> +<![%scons_output.module;[ +<!ENTITY % local.scons_output.attrib ""> +<!ENTITY % scons_output.role.attrib "%role.attrib;"> + +<!ENTITY % scons_output.element "INCLUDE"> +<![%scons_output.element;[ +<!--doc:The list of scons_output_commands to execute.--> +<!ELEMENT scons_output %ho; (scons_output_command+)> + +<!--end of scons_output.element-->]]> + +<!ENTITY % scons_output.attlist "INCLUDE"> +<![%scons_output.attlist;[ +<!ATTLIST scons_output + tools CDATA #IMPLIED + example CDATA #IMPLIED + os CDATA #IMPLIED + %scons_output.role.attrib; + %local.scons_output.attrib; +> +<!--end of scons_output.attlist-->]]> +<!--end of scons_output.module-->]]> + +<!ENTITY % scons_output_command.module "INCLUDE"> +<![%scons_output_command.module;[ +<!ENTITY % local.scons_output_command.attrib ""> +<!ENTITY % scons_output_command.role.attrib "%role.attrib;"> + +<!ENTITY % scons_output_command.element "INCLUDE"> +<![%scons_output_command.element;[ +<!--doc:A single SCons command to execute.--> +<!ELEMENT scons_output_command %ho; (%cptr.char.mix;)*> + +<!--end of scons_output_command.element-->]]> + +<!ENTITY % scons_output_command.attlist "INCLUDE"> +<![%scons_output_command.attlist;[ +<!ATTLIST scons_output_command + edit CDATA #IMPLIED + environment CDATA #IMPLIED + output CDATA #IMPLIED + %scons_output_command.role.attrib; + %local.scons_output_command.attrib; +> +<!--end of scons_output_command.attlist-->]]> +<!--end of scons_output_command.module-->]]> + + +<!ENTITY % scons_example_file.module "INCLUDE"> +<![%scons_example_file.module;[ +<!ENTITY % local.scons_example_file.attrib ""> +<!ENTITY % scons_example_file.role.attrib "%role.attrib;"> + +<!ENTITY % scons_example_file.element "INCLUDE"> +<![%scons_example_file.element;[ +<!--doc:A single SCons example file.--> +<!ELEMENT scons_example_file %ho; (%cptr.char.mix;)*> + +<!--end of scons_example_file.element-->]]> + +<!ENTITY % scons_example_file.attlist "INCLUDE"> +<![%scons_example_file.attlist;[ +<!ATTLIST scons_example_file + example CDATA #IMPLIED + name CDATA #IMPLIED + %scons_example_file.role.attrib; + %local.scons_example_file.attrib; +> +<!--end of scons_example_file.attlist-->]]> +<!--end of scons_example_file.module-->]]> + + +<!ENTITY % scons_example.module "INCLUDE"> +<![%scons_example.module;[ +<!ENTITY % local.scons_example.attrib ""> +<!ENTITY % scons_example.role.attrib "%role.attrib;"> + +<!ENTITY % scons_example.element "INCLUDE"> +<![%scons_example.element;[ +<!--doc:An SCons example.--> +<!ELEMENT scons_example %ho; ((file|directory)*)> + +<!--end of scons_example.element-->]]> + +<!ENTITY % scons_example.attlist "INCLUDE"> +<![%scons_example.attlist;[ +<!ATTLIST scons_example + name CDATA #IMPLIED + printme CDATA #IMPLIED + %scons_example.role.attrib; + %local.scons_example.attrib; +> +<!--end of scons_example.attlist-->]]> +<!--end of scons_example.module-->]]> + + +<!ENTITY % directory.module "INCLUDE"> +<![%directory.module;[ +<!ENTITY % local.directory.attrib ""> +<!ENTITY % directory.role.attrib "%role.attrib;"> + +<!ENTITY % directory.element "INCLUDE"> +<![%directory.element;[ +<!--doc:A single SCons example directory.--> +<!ELEMENT directory %ho; (%cptr.char.mix;)*> + +<!--end of directory.element-->]]> + +<!ENTITY % directory.attlist "INCLUDE"> +<![%directory.attlist;[ +<!ATTLIST directory + name CDATA #IMPLIED + %directory.role.attrib; + %local.directory.attrib; +> +<!--end of directory.attlist-->]]> +<!--end of directory.module-->]]> + +<!ENTITY % file.module "INCLUDE"> +<![%file.module;[ +<!ENTITY % local.file.attrib ""> +<!ENTITY % file.role.attrib "%role.attrib;"> + +<!ENTITY % file.element "INCLUDE"> +<![%file.element;[ +<!--doc:A single SCons example file.--> +<!ELEMENT file %ho; (%cptr.char.mix;)*> + +<!--end of file.element-->]]> + +<!ENTITY % file.attlist "INCLUDE"> +<![%file.attlist;[ +<!ATTLIST file + name CDATA #IMPLIED + chmod CDATA #IMPLIED + printme CDATA #IMPLIED + %file.role.attrib; + %local.file.attrib; +> +<!--end of file.attlist-->]]> +<!--end of file.module-->]]> + + +<!ENTITY % screenco.module "INCLUDE"> +<![%screenco.module;[ +<!ENTITY % local.screenco.attrib ""> +<!ENTITY % screenco.role.attrib "%role.attrib;"> + +<!ENTITY % screenco.element "INCLUDE"> +<![%screenco.element;[ +<!--doc:A screen with associated areas used in callouts.--> +<!ELEMENT screenco %ho; (areaspec, screen, calloutlist*)> +<!--end of screenco.element-->]]> + +<!ENTITY % screenco.attlist "INCLUDE"> +<![%screenco.attlist;[ +<!ATTLIST screenco + %common.attrib; + %screenco.role.attrib; + %local.screenco.attrib; +> +<!--end of screenco.attlist-->]]> +<!-- AreaSpec (defined above)--> +<!-- CalloutList (defined above in Lists)--> +<!--end of screenco.module-->]]> + +<!ENTITY % screen.module "INCLUDE"> +<![%screen.module;[ +<!ENTITY % local.screen.attrib ""> +<!ENTITY % screen.role.attrib "%role.attrib;"> + +<!ENTITY % screen.element "INCLUDE"> +<![%screen.element;[ +<!--doc:Text that a user sees or might see on a computer screen.--> +<!ELEMENT screen %ho; (%para.char.mix;|co|coref|textobject|lineannotation)*> +<!--end of screen.element-->]]> + +<!ENTITY % screen.attlist "INCLUDE"> +<![%screen.attlist;[ +<!ATTLIST screen + %width.attrib; + %linespecific.attrib; + %common.attrib; + %screen.role.attrib; + %local.screen.attrib; +> +<!--end of screen.attlist-->]]> +<!--end of screen.module-->]]> + +<!ENTITY % screenshot.content.module "INCLUDE"> +<![%screenshot.content.module;[ +<!ENTITY % screenshot.module "INCLUDE"> +<![%screenshot.module;[ +<!ENTITY % local.screenshot.attrib ""> +<!ENTITY % screenshot.role.attrib "%role.attrib;"> + +<!ENTITY % screenshot.element "INCLUDE"> +<![%screenshot.element;[ +<!--doc:A representation of what the user sees or might see on a computer screen.--> +<!ELEMENT screenshot %ho; (screeninfo?, + (graphic|graphicco + |mediaobject|mediaobjectco))> +<!--end of screenshot.element-->]]> + +<!ENTITY % screenshot.attlist "INCLUDE"> +<![%screenshot.attlist;[ +<!ATTLIST screenshot + %common.attrib; + %screenshot.role.attrib; + %local.screenshot.attrib; +> +<!--end of screenshot.attlist-->]]> +<!--end of screenshot.module-->]]> + +<!ENTITY % screeninfo.module "INCLUDE"> +<![%screeninfo.module;[ +<!ENTITY % local.screeninfo.attrib ""> +<!ENTITY % screeninfo.role.attrib "%role.attrib;"> + +<!ENTITY % screeninfo.element "INCLUDE"> +<![%screeninfo.element;[ +<!--doc:Information about how a screen shot was produced.--> +<!ELEMENT screeninfo %ho; (%para.char.mix;)* + %ubiq.exclusion;> +<!--end of screeninfo.element-->]]> + +<!ENTITY % screeninfo.attlist "INCLUDE"> +<![%screeninfo.attlist;[ +<!ATTLIST screeninfo + %common.attrib; + %screeninfo.role.attrib; + %local.screeninfo.attrib; +> +<!--end of screeninfo.attlist-->]]> +<!--end of screeninfo.module-->]]> +<!--end of screenshot.content.module-->]]> + +<!-- Figures etc. ..................... --> + +<!ENTITY % figure.module "INCLUDE"> +<![%figure.module;[ +<!ENTITY % local.figure.attrib ""> +<!ENTITY % figure.role.attrib "%role.attrib;"> + +<!ENTITY % figure.element "INCLUDE"> +<![%figure.element;[ +<!--doc:A formal figure, generally an illustration, with a title.--> +<!ELEMENT figure %ho; (blockinfo?, (%formalobject.title.content;), + (%figure.mix; | %link.char.class;)+)> +<!--end of figure.element-->]]> + +<!-- Float: Whether the Figure is supposed to be rendered + where convenient (yes (1) value) or at the place it occurs + in the text (no (0) value, the default) --> + + +<!ENTITY % figure.attlist "INCLUDE"> +<![%figure.attlist;[ +<!ATTLIST figure + float %yesorno.attvals; '0' + floatstyle CDATA #IMPLIED + pgwide %yesorno.attvals; #IMPLIED + %label.attrib; + %common.attrib; + %figure.role.attrib; + %local.figure.attrib; +> +<!--end of figure.attlist-->]]> +<!--end of figure.module-->]]> + +<!ENTITY % informalfigure.module "INCLUDE"> +<![ %informalfigure.module; [ +<!ENTITY % local.informalfigure.attrib ""> +<!ENTITY % informalfigure.role.attrib "%role.attrib;"> + +<!ENTITY % informalfigure.element "INCLUDE"> +<![ %informalfigure.element; [ +<!--doc:A untitled figure.--> +<!ELEMENT informalfigure %ho; (blockinfo?, (%figure.mix; | %link.char.class;)+)> +<!--end of informalfigure.element-->]]> + +<!ENTITY % informalfigure.attlist "INCLUDE"> +<![ %informalfigure.attlist; [ +<!-- +Float: Whether the Figure is supposed to be rendered +where convenient (yes (1) value) or at the place it occurs +in the text (no (0) value, the default) +--> +<!ATTLIST informalfigure + float %yesorno.attvals; "0" + floatstyle CDATA #IMPLIED + pgwide %yesorno.attvals; #IMPLIED + %label.attrib; + %common.attrib; + %informalfigure.role.attrib; + %local.informalfigure.attrib; +> +<!--end of informalfigure.attlist-->]]> +<!--end of informalfigure.module-->]]> + +<!ENTITY % graphicco.module "INCLUDE"> +<![%graphicco.module;[ +<!ENTITY % local.graphicco.attrib ""> +<!ENTITY % graphicco.role.attrib "%role.attrib;"> + +<!ENTITY % graphicco.element "INCLUDE"> +<![%graphicco.element;[ +<!--doc:A graphic that contains callout areas.--> +<!ELEMENT graphicco %ho; (areaspec, graphic, calloutlist*)> +<!--end of graphicco.element-->]]> + +<!ENTITY % graphicco.attlist "INCLUDE"> +<![%graphicco.attlist;[ +<!ATTLIST graphicco + %common.attrib; + %graphicco.role.attrib; + %local.graphicco.attrib; +> +<!--end of graphicco.attlist-->]]> +<!-- AreaSpec (defined above in Examples)--> +<!-- CalloutList (defined above in Lists)--> +<!--end of graphicco.module-->]]> + +<!-- Graphical data can be the content of Graphic, or you can reference + an external file either as an entity (Entitref) or a filename + (Fileref). --> + +<!ENTITY % graphic.module "INCLUDE"> +<![%graphic.module;[ +<!ENTITY % local.graphic.attrib ""> +<!ENTITY % graphic.role.attrib "%role.attrib;"> + +<!ENTITY % graphic.element "INCLUDE"> +<![%graphic.element;[ +<!--doc:A displayed graphical object (not an inline).--> +<!ELEMENT graphic %ho; EMPTY> +<!--end of graphic.element-->]]> + +<!ENTITY % graphic.attlist "INCLUDE"> +<![%graphic.attlist;[ +<!ATTLIST graphic + %graphics.attrib; + %common.attrib; + %graphic.role.attrib; + %local.graphic.attrib; +> +<!--end of graphic.attlist-->]]> +<!--end of graphic.module-->]]> + +<!ENTITY % inlinegraphic.module "INCLUDE"> +<![%inlinegraphic.module;[ +<!ENTITY % local.inlinegraphic.attrib ""> +<!ENTITY % inlinegraphic.role.attrib "%role.attrib;"> + +<!ENTITY % inlinegraphic.element "INCLUDE"> +<![%inlinegraphic.element;[ +<!--doc:An object containing or pointing to graphical data that will be rendered inline.--> +<!ELEMENT inlinegraphic %ho; EMPTY> +<!--end of inlinegraphic.element-->]]> + +<!ENTITY % inlinegraphic.attlist "INCLUDE"> +<![%inlinegraphic.attlist;[ +<!ATTLIST inlinegraphic + %graphics.attrib; + %common.attrib; + %inlinegraphic.role.attrib; + %local.inlinegraphic.attrib; +> +<!--end of inlinegraphic.attlist-->]]> +<!--end of inlinegraphic.module-->]]> + +<!ENTITY % mediaobject.content.module "INCLUDE"> +<![ %mediaobject.content.module; [ + +<!ENTITY % mediaobject.module "INCLUDE"> +<![ %mediaobject.module; [ +<!ENTITY % local.mediaobject.attrib ""> +<!ENTITY % mediaobject.role.attrib "%role.attrib;"> + +<!ENTITY % mediaobject.element "INCLUDE"> +<![ %mediaobject.element; [ +<!--doc:A displayed media object (video, audio, image, etc.).--> +<!ELEMENT mediaobject %ho; (objectinfo?, + (%mediaobject.mix;)+, + caption?)> +<!--end of mediaobject.element-->]]> + +<!ENTITY % mediaobject.attlist "INCLUDE"> +<![ %mediaobject.attlist; [ +<!ATTLIST mediaobject + %common.attrib; + %mediaobject.role.attrib; + %local.mediaobject.attrib; +> +<!--end of mediaobject.attlist-->]]> +<!--end of mediaobject.module-->]]> + +<!ENTITY % inlinemediaobject.module "INCLUDE"> +<![ %inlinemediaobject.module; [ +<!ENTITY % local.inlinemediaobject.attrib ""> +<!ENTITY % inlinemediaobject.role.attrib "%role.attrib;"> + +<!ENTITY % inlinemediaobject.element "INCLUDE"> +<![ %inlinemediaobject.element; [ +<!--doc:An inline media object (video, audio, image, and so on).--> +<!ELEMENT inlinemediaobject %ho; (objectinfo?, + (%mediaobject.mix;)+)> +<!--end of inlinemediaobject.element-->]]> + +<!ENTITY % inlinemediaobject.attlist "INCLUDE"> +<![ %inlinemediaobject.attlist; [ +<!ATTLIST inlinemediaobject + %common.attrib; + %inlinemediaobject.role.attrib; + %local.inlinemediaobject.attrib; +> +<!--end of inlinemediaobject.attlist-->]]> +<!--end of inlinemediaobject.module-->]]> + +<!ENTITY % videoobject.module "INCLUDE"> +<![ %videoobject.module; [ +<!ENTITY % local.videoobject.attrib ""> +<!ENTITY % videoobject.role.attrib "%role.attrib;"> + +<!ENTITY % videoobject.element "INCLUDE"> +<![ %videoobject.element; [ +<!--doc:A wrapper for video data and its associated meta-information.--> +<!ELEMENT videoobject %ho; (objectinfo?, videodata)> +<!--end of videoobject.element-->]]> + +<!ENTITY % videoobject.attlist "INCLUDE"> +<![ %videoobject.attlist; [ +<!ATTLIST videoobject + %common.attrib; + %videoobject.role.attrib; + %local.videoobject.attrib; +> +<!--end of videoobject.attlist-->]]> +<!--end of videoobject.module-->]]> + +<!ENTITY % audioobject.module "INCLUDE"> +<![ %audioobject.module; [ +<!ENTITY % local.audioobject.attrib ""> +<!ENTITY % audioobject.role.attrib "%role.attrib;"> + +<!ENTITY % audioobject.element "INCLUDE"> +<![ %audioobject.element; [ +<!--doc:A wrapper for audio data and its associated meta-information.--> +<!ELEMENT audioobject %ho; (objectinfo?, audiodata)> +<!--end of audioobject.element-->]]> + +<!ENTITY % audioobject.attlist "INCLUDE"> +<![ %audioobject.attlist; [ +<!ATTLIST audioobject + %common.attrib; + %audioobject.role.attrib; + %local.audioobject.attrib; +> +<!--end of audioobject.attlist-->]]> +<!--end of audioobject.module-->]]> + +<!ENTITY % imageobject.module "INCLUDE"> +<![ %imageobject.module; [ +<!ENTITY % local.imageobject.attrib ""> +<!ENTITY % imageobject.role.attrib "%role.attrib;"> + +<!ENTITY % imageobject.element "INCLUDE"> +<![ %imageobject.element; [ +<!--doc:A wrapper for image data and its associated meta-information.--> +<!ELEMENT imageobject %ho; (objectinfo?, imagedata)> +<!--end of imageobject.element-->]]> + +<!ENTITY % imageobject.attlist "INCLUDE"> +<![ %imageobject.attlist; [ +<!ATTLIST imageobject + %common.attrib; + %imageobject.role.attrib; + %local.imageobject.attrib; +> +<!--end of imageobject.attlist-->]]> +<!--end of imageobject.module-->]]> + +<!ENTITY % textobject.module "INCLUDE"> +<![ %textobject.module; [ +<!ENTITY % local.textobject.attrib ""> +<!ENTITY % textobject.role.attrib "%role.attrib;"> + +<!ENTITY % textobject.element "INCLUDE"> +<![ %textobject.element; [ +<!--doc:A wrapper for a text description of an object and its associated meta-information.--> +<!ELEMENT textobject %ho; (objectinfo?, (phrase|textdata|(%textobject.mix;)+))> +<!--end of textobject.element-->]]> + +<!ENTITY % textobject.attlist "INCLUDE"> +<![ %textobject.attlist; [ +<!ATTLIST textobject + %common.attrib; + %textobject.role.attrib; + %local.textobject.attrib; +> +<!--end of textobject.attlist-->]]> +<!--end of textobject.module-->]]> + +<!ENTITY % objectinfo.module "INCLUDE"> +<![ %objectinfo.module; [ +<!ENTITY % local.objectinfo.attrib ""> +<!ENTITY % objectinfo.role.attrib "%role.attrib;"> + +<!ENTITY % objectinfo.element "INCLUDE"> +<![ %objectinfo.element; [ +<!--doc:Meta-information for an object.--> +<!ELEMENT objectinfo %ho; ((%info.class;)+) + %beginpage.exclusion;> +<!--end of objectinfo.element-->]]> + +<!ENTITY % objectinfo.attlist "INCLUDE"> +<![ %objectinfo.attlist; [ +<!ATTLIST objectinfo + %common.attrib; + %objectinfo.role.attrib; + %local.objectinfo.attrib; +> +<!--end of objectinfo.attlist-->]]> +<!--end of objectinfo.module-->]]> + +<!--EntityRef: Name of an external entity containing the content + of the object data--> +<!--FileRef: Filename, qualified by a pathname if desired, + designating the file containing the content of the object data--> +<!--Format: Notation of the element content, if any--> +<!--SrcCredit: Information about the source of the image--> +<!ENTITY % local.objectdata.attrib ""> +<!ENTITY % objectdata.attrib + " + entityref ENTITY #IMPLIED + fileref CDATA #IMPLIED + format (%notation.class;) + #IMPLIED + srccredit CDATA #IMPLIED + %local.objectdata.attrib;" +> + +<!ENTITY % videodata.module "INCLUDE"> +<![ %videodata.module; [ +<!ENTITY % local.videodata.attrib ""> +<!ENTITY % videodata.role.attrib "%role.attrib;"> + +<!ENTITY % videodata.element "INCLUDE"> +<![ %videodata.element; [ +<!--doc:Pointer to external video data.--> +<!ELEMENT videodata %ho; EMPTY> +<!--end of videodata.element-->]]> + +<!ENTITY % videodata.attlist "INCLUDE"> +<![ %videodata.attlist; [ + +<!--Width: Same as CALS reprowid (desired width)--> +<!--Depth: Same as CALS reprodep (desired depth)--> +<!--Align: Same as CALS hplace with 'none' removed; #IMPLIED means + application-specific--> +<!--Scale: Conflation of CALS hscale and vscale--> +<!--Scalefit: Same as CALS scalefit--> +<!ATTLIST videodata + width CDATA #IMPLIED + contentwidth CDATA #IMPLIED + depth CDATA #IMPLIED + contentdepth CDATA #IMPLIED + align (left + |right + |center) #IMPLIED + valign (top + |middle + |bottom) #IMPLIED + scale CDATA #IMPLIED + scalefit %yesorno.attvals; + #IMPLIED + %objectdata.attrib; + %common.attrib; + %videodata.role.attrib; + %local.videodata.attrib; +> +<!--end of videodata.attlist-->]]> +<!--end of videodata.module-->]]> + +<!ENTITY % audiodata.module "INCLUDE"> +<![ %audiodata.module; [ +<!ENTITY % local.audiodata.attrib ""> +<!ENTITY % audiodata.role.attrib "%role.attrib;"> + +<!ENTITY % audiodata.element "INCLUDE"> +<![ %audiodata.element; [ +<!--doc:Pointer to external audio data.--> +<!ELEMENT audiodata %ho; EMPTY> +<!--end of audiodata.element-->]]> + +<!ENTITY % audiodata.attlist "INCLUDE"> +<![ %audiodata.attlist; [ +<!ATTLIST audiodata + %objectdata.attrib; + %common.attrib; + %audiodata.role.attrib; + %local.audiodata.attrib; +> +<!--end of audiodata.attlist-->]]> +<!--end of audiodata.module-->]]> + +<!ENTITY % imagedata.module "INCLUDE"> +<![ %imagedata.module; [ +<!ENTITY % local.imagedata.attrib ""> +<!ENTITY % imagedata.role.attrib "%role.attrib;"> + +<!ENTITY % imagedata.element "INCLUDE"> +<![ %imagedata.element; [ +<!--doc:Pointer to external image data.--> +<!ELEMENT imagedata %ho; EMPTY> +<!--end of imagedata.element-->]]> + +<!ENTITY % imagedata.attlist "INCLUDE"> +<![ %imagedata.attlist; [ + +<!--Width: Same as CALS reprowid (desired width)--> +<!--Depth: Same as CALS reprodep (desired depth)--> +<!--Align: Same as CALS hplace with 'none' removed; #IMPLIED means + application-specific--> +<!--Scale: Conflation of CALS hscale and vscale--> +<!--Scalefit: Same as CALS scalefit--> +<!ATTLIST imagedata + width CDATA #IMPLIED + contentwidth CDATA #IMPLIED + depth CDATA #IMPLIED + contentdepth CDATA #IMPLIED + align (left + |right + |center) #IMPLIED + valign (top + |middle + |bottom) #IMPLIED + scale CDATA #IMPLIED + scalefit %yesorno.attvals; + #IMPLIED + %objectdata.attrib; + %common.attrib; + %imagedata.role.attrib; + %local.imagedata.attrib; +> +<!--end of imagedata.attlist-->]]> +<!--end of imagedata.module-->]]> + +<!ENTITY % textdata.module "INCLUDE"> +<![ %textdata.module; [ +<!ENTITY % local.textdata.attrib ""> +<!ENTITY % textdata.role.attrib "%role.attrib;"> + +<!ENTITY % textdata.element "INCLUDE"> +<![ %textdata.element; [ +<!--doc:Pointer to external text data.--> +<!ELEMENT textdata %ho; EMPTY> +<!--end of textdata.element-->]]> + +<!ENTITY % textdata.attlist "INCLUDE"> +<![ %textdata.attlist; [ +<!ATTLIST textdata + encoding CDATA #IMPLIED + %objectdata.attrib; + %common.attrib; + %textdata.role.attrib; + %local.textdata.attrib; +> +<!--end of textdata.attlist-->]]> +<!--end of textdata.module-->]]> + +<!ENTITY % mediaobjectco.module "INCLUDE"> +<![ %mediaobjectco.module; [ +<!ENTITY % local.mediaobjectco.attrib ""> +<!ENTITY % mediaobjectco.role.attrib "%role.attrib;"> + +<!ENTITY % mediaobjectco.element "INCLUDE"> +<![ %mediaobjectco.element; [ +<!--doc:A media object that contains callouts.--> +<!ELEMENT mediaobjectco %ho; (objectinfo?, imageobjectco, + (imageobjectco|textobject)*)> +<!--end of mediaobjectco.element-->]]> + +<!ENTITY % mediaobjectco.attlist "INCLUDE"> +<![ %mediaobjectco.attlist; [ +<!ATTLIST mediaobjectco + %common.attrib; + %mediaobjectco.role.attrib; + %local.mediaobjectco.attrib; +> +<!--end of mediaobjectco.attlist-->]]> +<!--end of mediaobjectco.module-->]]> + +<!ENTITY % imageobjectco.module "INCLUDE"> +<![ %imageobjectco.module; [ +<!ENTITY % local.imageobjectco.attrib ""> +<!ENTITY % imageobjectco.role.attrib "%role.attrib;"> + +<!ENTITY % imageobjectco.element "INCLUDE"> +<![ %imageobjectco.element; [ +<!--doc:A wrapper for an image object with callouts.--> +<!ELEMENT imageobjectco %ho; (areaspec, imageobject, calloutlist*)> +<!--end of imageobjectco.element-->]]> + +<!ENTITY % imageobjectco.attlist "INCLUDE"> +<![ %imageobjectco.attlist; [ +<!ATTLIST imageobjectco + %common.attrib; + %imageobjectco.role.attrib; + %local.imageobjectco.attrib; +> +<!--end of imageobjectco.attlist-->]]> +<!--end of imageobjectco.module-->]]> +<!--end of mediaobject.content.module-->]]> + +<!-- Equations ........................ --> + +<!-- This PE provides a mechanism for replacing equation content, --> +<!-- perhaps adding a new or different model (e.g., MathML) --> +<!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mathphrase+))"> +<!ENTITY % inlineequation.content "(alt?, (graphic+|inlinemediaobject+|mathphrase+))"> + +<!ENTITY % equation.module "INCLUDE"> +<![%equation.module;[ +<!ENTITY % local.equation.attrib ""> +<!ENTITY % equation.role.attrib "%role.attrib;"> + +<!ENTITY % equation.element "INCLUDE"> +<![%equation.element;[ +<!--doc:A displayed mathematical equation.--> +<!ELEMENT equation %ho; (blockinfo?, (%formalobject.title.content;)?, + (informalequation | %equation.content;))> +<!--end of equation.element-->]]> + +<!ENTITY % equation.attlist "INCLUDE"> +<![%equation.attlist;[ +<!ATTLIST equation + floatstyle CDATA #IMPLIED + %label.attrib; + %common.attrib; + %equation.role.attrib; + %local.equation.attrib; +> +<!--end of equation.attlist-->]]> +<!--end of equation.module-->]]> + +<!ENTITY % informalequation.module "INCLUDE"> +<![%informalequation.module;[ +<!ENTITY % local.informalequation.attrib ""> +<!ENTITY % informalequation.role.attrib "%role.attrib;"> + +<!ENTITY % informalequation.element "INCLUDE"> +<![%informalequation.element;[ +<!--doc:A displayed mathematical equation without a title.--> +<!ELEMENT informalequation %ho; (blockinfo?, %equation.content;) > +<!--end of informalequation.element-->]]> + +<!ENTITY % informalequation.attlist "INCLUDE"> +<![%informalequation.attlist;[ +<!ATTLIST informalequation + floatstyle CDATA #IMPLIED + %common.attrib; + %informalequation.role.attrib; + %local.informalequation.attrib; +> +<!--end of informalequation.attlist-->]]> +<!--end of informalequation.module-->]]> + +<!ENTITY % inlineequation.module "INCLUDE"> +<![%inlineequation.module;[ +<!ENTITY % local.inlineequation.attrib ""> +<!ENTITY % inlineequation.role.attrib "%role.attrib;"> + +<!ENTITY % inlineequation.element "INCLUDE"> +<![%inlineequation.element;[ +<!--doc:A mathematical equation or expression occurring inline.--> +<!ELEMENT inlineequation %ho; (%inlineequation.content;)> +<!--end of inlineequation.element-->]]> + +<!ENTITY % inlineequation.attlist "INCLUDE"> +<![%inlineequation.attlist;[ +<!ATTLIST inlineequation + %common.attrib; + %inlineequation.role.attrib; + %local.inlineequation.attrib; +> +<!--end of inlineequation.attlist-->]]> +<!--end of inlineequation.module-->]]> + +<!ENTITY % alt.module "INCLUDE"> +<![%alt.module;[ +<!ENTITY % local.alt.attrib ""> +<!ENTITY % alt.role.attrib "%role.attrib;"> + +<!ENTITY % alt.element "INCLUDE"> +<![%alt.element;[ +<!--doc:Text representation for a graphical element.--> +<!ELEMENT alt %ho; (#PCDATA)> +<!--end of alt.element-->]]> + +<!ENTITY % alt.attlist "INCLUDE"> +<![%alt.attlist;[ +<!ATTLIST alt + %common.attrib; + %alt.role.attrib; + %local.alt.attrib; +> +<!--end of alt.attlist-->]]> +<!--end of alt.module-->]]> + +<!ENTITY % mathphrase.module "INCLUDE"> +<![%mathphrase.module;[ +<!ENTITY % local.mathphrase.attrib ""> +<!ENTITY % mathphrase.role.attrib "%role.attrib;"> + +<!ENTITY % mathphrase.element "INCLUDE"> +<![%mathphrase.element;[ +<!--doc:A mathematical phrase, an expression that can be represented with ordinary text and a small amount of markup.--> +<!ELEMENT mathphrase %ho; (#PCDATA|subscript|superscript|emphasis)*> +<!--end of mathphrase.element-->]]> + +<!ENTITY % mathphrase.attlist "INCLUDE"> +<![%mathphrase.attlist;[ +<!ATTLIST mathphrase + %common.attrib; + %mathphrase.role.attrib; + %local.mathphrase.attrib; +> +<!--end of mathphrase.attlist-->]]> +<!--end of mathphrase.module-->]]> + +<!-- Tables ........................... --> + +<!ENTITY % table.module "INCLUDE"> +<![%table.module;[ + +<!-- Choose a table model. CALS or OASIS XML Exchange --> + +<!ENTITY % cals.table.module "INCLUDE"> +<![%cals.table.module;[ +<!ENTITY % exchange.table.module "IGNORE"> +]]> +<!ENTITY % exchange.table.module "INCLUDE"> + +<!-- Do we allow the HTML table model as well? --> +<!ENTITY % allow.html.tables "INCLUDE"> +<![%allow.html.tables;[ + <!-- ====================================================== --> + <!-- xhtmltbl.mod defines HTML tables and sets parameter + entities so that, when the CALS table module is read, + we end up allowing any table to be CALS or HTML. + i.e. This include must come first! --> + <!-- ====================================================== --> + +<!ENTITY % htmltbl + PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" + "htmltblx.mod"> +%htmltbl; +<!--end of allow.html.tables-->]]> + +<!ENTITY % tables.role.attrib "%role.attrib;"> + +<![%cals.table.module;[ +<!-- Add label and role attributes to table and informaltable --> +<!ENTITY % bodyatt " + floatstyle CDATA #IMPLIED + rowheader (firstcol|norowheader) #IMPLIED + %label.attrib;" +> + +<!-- Add common attributes to Table, TGroup, TBody, THead, TFoot, Row, + EntryTbl, and Entry (and InformalTable element). --> +<!ENTITY % secur + "%common.attrib; + %tables.role.attrib;"> + +<!ENTITY % common.table.attribs + "%bodyatt; + %secur;"> + +<!-- Content model for Table. --> +<!ENTITY % tbl.table.mdl + "(blockinfo?, (%formalobject.title.content;), (%ndxterm.class;)*, + textobject*, + (graphic+|mediaobject+|tgroup+))"> + +<!-- Allow either objects or inlines; beware of REs between elements. --> +<!ENTITY % tbl.entry.mdl "%para.char.mix; | %tabentry.mix;"> + +<!-- Reference CALS Table Model --> +<!ENTITY % tablemodel + PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" + "calstblx.dtd"> +]]> + +<![%exchange.table.module;[ +<!-- Add common attributes and the Label attribute to Table and --> +<!-- InformalTable. --> +<!ENTITY % bodyatt + "%common.attrib; + rowheader (firstcol|norowheader) #IMPLIED + %label.attrib; + %tables.role.attrib;"> + +<!ENTITY % common.table.attribs + "%bodyatt;"> + +<!-- Add common attributes to TGroup, ColSpec, TBody, THead, Row, Entry --> + +<!ENTITY % tbl.tgroup.att "%common.attrib;"> +<!ENTITY % tbl.colspec.att "%common.attrib;"> +<!ENTITY % tbl.tbody.att "%common.attrib;"> +<!ENTITY % tbl.thead.att "%common.attrib;"> +<!ENTITY % tbl.row.att "%common.attrib;"> +<!ENTITY % tbl.entry.att "%common.attrib;"> + +<!-- Content model for Table. --> +<!ENTITY % tbl.table.mdl + "(blockinfo?, (%formalobject.title.content;), (%ndxterm.class;)*, + textobject*, + (graphic+|mediaobject+|tgroup+))"> + +<!-- Allow either objects or inlines; beware of REs between elements. --> +<!ENTITY % tbl.entry.mdl "(%para.char.mix; | %tabentry.mix;)*"> + +<!-- Reference OASIS Exchange Table Model --> +<!ENTITY % tablemodel + PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" + "soextblx.dtd"> +]]> + +%tablemodel; + +<!--end of table.module-->]]> + +<!ENTITY % informaltable.module "INCLUDE"> +<![%informaltable.module;[ + +<!-- Note that InformalTable is dependent on some of the entity + declarations that customize Table. --> + +<!ENTITY % local.informaltable.attrib ""> + +<!-- the following entity may have been declared by the XHTML table module --> +<!ENTITY % informal.tbl.table.mdl "textobject*, (graphic+|mediaobject+|tgroup+)"> + +<!ENTITY % informaltable.element "INCLUDE"> +<![%informaltable.element;[ +<!--doc:A table without a title.--> +<!ELEMENT informaltable %ho; (blockinfo?, (%informal.tbl.table.mdl;))> +<!--end of informaltable.element-->]]> + +<!-- Frame, Colsep, and Rowsep must be repeated because + they are not in entities in the table module. --> +<!-- includes TabStyle, ToCentry, ShortEntry, + Orient, PgWide --> +<!-- includes Label --> +<!-- includes common attributes --> + +<!ENTITY % informaltable.attlist "INCLUDE"> +<![%informaltable.attlist;[ +<!ATTLIST informaltable + frame (%tbl.frame.attval;) #IMPLIED + colsep %yesorno.attvals; #IMPLIED + rowsep %yesorno.attvals; #IMPLIED + %common.table.attribs; + %tbl.table.att; + %local.informaltable.attrib; +> +<!--end of informaltable.attlist-->]]> +<!--end of informaltable.module-->]]> + +<!ENTITY % caption.module "INCLUDE"> +<![ %caption.module; [ +<!ENTITY % local.caption.attrib ""> +<!ENTITY % caption.role.attrib "%role.attrib;"> + +<!ENTITY % caption.element "INCLUDE"> +<![ %caption.element; [ +<!--doc:A caption.--> +<!ELEMENT caption %ho; (#PCDATA | %textobject.mix;)*> +<!--end of caption.element-->]]> + +<!ENTITY % caption.attlist "INCLUDE"> +<![ %caption.attlist; [ +<!-- attrs comes from HTML tables ... --> + +<![ %allow.html.tables; [ +<!-- common.attrib, but without ID because ID is in attrs --> +<!ENTITY % caption.attlist.content " + %caption.role.attrib; + %attrs; + align (top|bottom|left|right) #IMPLIED + %local.caption.attrib; +"> +]]> +<!ENTITY % caption.attlist.content " + %common.attrib; + %caption.role.attrib; + %local.caption.attrib; +"> + +<!ATTLIST caption %caption.attlist.content;> + +<!--end of caption.attlist-->]]> +<!--end of caption.module-->]]> + +<!-- ...................................................................... --> +<!-- Synopses ............................................................. --> + +<!-- Synopsis ......................... --> + +<!ENTITY % synopsis.module "INCLUDE"> +<![%synopsis.module;[ +<!ENTITY % local.synopsis.attrib ""> +<!ENTITY % synopsis.role.attrib "%role.attrib;"> + +<!ENTITY % synopsis.element "INCLUDE"> +<![%synopsis.element;[ +<!--doc:A general-purpose element for representing the syntax of commands or functions.--> +<!ELEMENT synopsis %ho; (%para.char.mix;|graphic|mediaobject|co|coref|textobject|lineannotation)*> +<!--end of synopsis.element-->]]> + +<!ENTITY % synopsis.attlist "INCLUDE"> +<![%synopsis.attlist;[ +<!ATTLIST synopsis + %label.attrib; + %linespecific.attrib; + %common.attrib; + %synopsis.role.attrib; + %local.synopsis.attrib; +> +<!--end of synopsis.attlist-->]]> + +<!-- LineAnnotation (defined in the Inlines section, below)--> +<!--end of synopsis.module-->]]> + +<!-- CmdSynopsis ...................... --> + +<!ENTITY % cmdsynopsis.content.module "INCLUDE"> +<![%cmdsynopsis.content.module;[ +<!ENTITY % cmdsynopsis.module "INCLUDE"> +<![%cmdsynopsis.module;[ +<!ENTITY % local.cmdsynopsis.attrib ""> +<!ENTITY % cmdsynopsis.role.attrib "%role.attrib;"> + +<!ENTITY % cmdsynopsis.element "INCLUDE"> +<![%cmdsynopsis.element;[ +<!--doc:A syntax summary for a software command.--> +<!ELEMENT cmdsynopsis %ho; ((command | arg | group | sbr)+, synopfragment*)> +<!--end of cmdsynopsis.element-->]]> + +<!-- Sepchar: Character that should separate command and all + top-level arguments; alternate value might be e.g., Δ --> + + +<!ENTITY % cmdsynopsis.attlist "INCLUDE"> +<![%cmdsynopsis.attlist;[ +<!ATTLIST cmdsynopsis + %label.attrib; + sepchar CDATA " " + cmdlength CDATA #IMPLIED + %common.attrib; + %cmdsynopsis.role.attrib; + %local.cmdsynopsis.attrib; +> +<!--end of cmdsynopsis.attlist-->]]> +<!--end of cmdsynopsis.module-->]]> + +<!ENTITY % arg.module "INCLUDE"> +<![%arg.module;[ +<!ENTITY % local.arg.attrib ""> +<!ENTITY % arg.role.attrib "%role.attrib;"> + +<!ENTITY % arg.element "INCLUDE"> +<![%arg.element;[ +<!--doc:An argument in a CmdSynopsis.--> +<!ELEMENT arg %ho; (#PCDATA + | arg + | group + | option + | synopfragmentref + | replaceable + | sbr)*> +<!--end of arg.element-->]]> + +<!-- Choice: Whether Arg must be supplied: Opt (optional to + supply, e.g. [arg]; the default), Req (required to supply, + e.g. {arg}), or Plain (required to supply, e.g. arg) --> +<!-- Rep: whether Arg is repeatable: Norepeat (e.g. arg without + ellipsis; the default), or Repeat (e.g. arg...) --> + + +<!ENTITY % arg.attlist "INCLUDE"> +<![%arg.attlist;[ +<!ATTLIST arg + choice (opt + |req + |plain) 'opt' + rep (norepeat + |repeat) 'norepeat' + %common.attrib; + %arg.role.attrib; + %local.arg.attrib; +> +<!--end of arg.attlist-->]]> +<!--end of arg.module-->]]> + +<!ENTITY % group.module "INCLUDE"> +<![%group.module;[ + +<!ENTITY % local.group.attrib ""> +<!ENTITY % group.role.attrib "%role.attrib;"> + +<!ENTITY % group.element "INCLUDE"> +<![%group.element;[ +<!--doc:A group of elements in a CmdSynopsis.--> +<!ELEMENT group %ho; ((arg | group | option | synopfragmentref + | replaceable | sbr)+)> +<!--end of group.element-->]]> + +<!-- Choice: Whether Group must be supplied: Opt (optional to + supply, e.g. [g1|g2|g3]; the default), Req (required to + supply, e.g. {g1|g2|g3}), Plain (required to supply, + e.g. g1|g2|g3), OptMult (can supply zero or more, e.g. + [[g1|g2|g3]]), or ReqMult (must supply one or more, e.g. + {{g1|g2|g3}}) --> +<!-- Rep: whether Group is repeatable: Norepeat (e.g. group + without ellipsis; the default), or Repeat (e.g. group...) --> + + +<!ENTITY % group.attlist "INCLUDE"> +<![%group.attlist;[ +<!ATTLIST group + choice (opt + |req + |plain) 'opt' + rep (norepeat + |repeat) 'norepeat' + %common.attrib; + %group.role.attrib; + %local.group.attrib; +> +<!--end of group.attlist-->]]> +<!--end of group.module-->]]> + +<!ENTITY % sbr.module "INCLUDE"> +<![%sbr.module;[ +<!ENTITY % local.sbr.attrib ""> +<!-- Synopsis break --> +<!ENTITY % sbr.role.attrib "%role.attrib;"> + +<!ENTITY % sbr.element "INCLUDE"> +<![%sbr.element;[ +<!--doc:An explicit line break in a command synopsis.--> +<!ELEMENT sbr %ho; EMPTY> +<!--end of sbr.element-->]]> + +<!ENTITY % sbr.attlist "INCLUDE"> +<![%sbr.attlist;[ +<!ATTLIST sbr + %common.attrib; + %sbr.role.attrib; + %local.sbr.attrib; +> +<!--end of sbr.attlist-->]]> +<!--end of sbr.module-->]]> + +<!ENTITY % synopfragmentref.module "INCLUDE"> +<![%synopfragmentref.module;[ +<!ENTITY % local.synopfragmentref.attrib ""> +<!ENTITY % synopfragmentref.role.attrib "%role.attrib;"> + +<!ENTITY % synopfragmentref.element "INCLUDE"> +<![%synopfragmentref.element;[ +<!--doc:A reference to a fragment of a command synopsis.--> +<!ELEMENT synopfragmentref %ho; (#PCDATA)> +<!--end of synopfragmentref.element-->]]> + +<!-- to SynopFragment of complex synopsis + material for separate referencing --> + + +<!ENTITY % synopfragmentref.attlist "INCLUDE"> +<![%synopfragmentref.attlist;[ +<!ATTLIST synopfragmentref + %linkendreq.attrib; %common.attrib; + %synopfragmentref.role.attrib; + %local.synopfragmentref.attrib; +> +<!--end of synopfragmentref.attlist-->]]> +<!--end of synopfragmentref.module-->]]> + +<!ENTITY % synopfragment.module "INCLUDE"> +<![%synopfragment.module;[ +<!ENTITY % local.synopfragment.attrib ""> +<!ENTITY % synopfragment.role.attrib "%role.attrib;"> + +<!ENTITY % synopfragment.element "INCLUDE"> +<![%synopfragment.element;[ +<!--doc:A portion of a CmdSynopsis broken out from the main body of the synopsis.--> +<!ELEMENT synopfragment %ho; ((arg | group)+)> +<!--end of synopfragment.element-->]]> + +<!ENTITY % synopfragment.attlist "INCLUDE"> +<![%synopfragment.attlist;[ +<!ATTLIST synopfragment + %idreq.common.attrib; + %synopfragment.role.attrib; + %local.synopfragment.attrib; +> +<!--end of synopfragment.attlist-->]]> +<!--end of synopfragment.module-->]]> + +<!-- Command (defined in the Inlines section, below)--> +<!-- Option (defined in the Inlines section, below)--> +<!-- Replaceable (defined in the Inlines section, below)--> +<!--end of cmdsynopsis.content.module-->]]> + +<!-- FuncSynopsis ..................... --> + +<!ENTITY % funcsynopsis.content.module "INCLUDE"> +<![%funcsynopsis.content.module;[ +<!ENTITY % funcsynopsis.module "INCLUDE"> +<![%funcsynopsis.module;[ + +<!ENTITY % local.funcsynopsis.attrib ""> +<!ENTITY % funcsynopsis.role.attrib "%role.attrib;"> + +<!ENTITY % funcsynopsis.element "INCLUDE"> +<![%funcsynopsis.element;[ +<!--doc:The syntax summary for a function definition.--> +<!ELEMENT funcsynopsis %ho; ((funcsynopsisinfo | funcprototype)+)> +<!--end of funcsynopsis.element-->]]> + +<!ENTITY % funcsynopsis.attlist "INCLUDE"> +<![%funcsynopsis.attlist;[ +<!ATTLIST funcsynopsis + %label.attrib; + %common.attrib; + %funcsynopsis.role.attrib; + %local.funcsynopsis.attrib; +> +<!--end of funcsynopsis.attlist-->]]> +<!--end of funcsynopsis.module-->]]> + +<!ENTITY % funcsynopsisinfo.module "INCLUDE"> +<![%funcsynopsisinfo.module;[ +<!ENTITY % local.funcsynopsisinfo.attrib ""> +<!ENTITY % funcsynopsisinfo.role.attrib "%role.attrib;"> + +<!ENTITY % funcsynopsisinfo.element "INCLUDE"> +<![%funcsynopsisinfo.element;[ +<!--doc:Information supplementing the FuncDefs of a FuncSynopsis.--> +<!ELEMENT funcsynopsisinfo %ho; (%cptr.char.mix;|textobject|lineannotation)*> +<!--end of funcsynopsisinfo.element-->]]> + +<!ENTITY % funcsynopsisinfo.attlist "INCLUDE"> +<![%funcsynopsisinfo.attlist;[ +<!ATTLIST funcsynopsisinfo + %linespecific.attrib; + %common.attrib; + %funcsynopsisinfo.role.attrib; + %local.funcsynopsisinfo.attrib; +> +<!--end of funcsynopsisinfo.attlist-->]]> +<!--end of funcsynopsisinfo.module-->]]> + +<!ENTITY % funcprototype.module "INCLUDE"> +<![%funcprototype.module;[ +<!ENTITY % local.funcprototype.attrib ""> +<!ENTITY % funcprototype.role.attrib "%role.attrib;"> + +<!ENTITY % funcprototype.element "INCLUDE"> +<![%funcprototype.element;[ +<!--doc:The prototype of a function.--> +<!ELEMENT funcprototype %ho; (modifier*, + funcdef, + (void|varargs|(paramdef+, varargs?)), + modifier*)> + +<!--end of funcprototype.element-->]]> + +<!ENTITY % funcprototype.attlist "INCLUDE"> +<![%funcprototype.attlist;[ +<!ATTLIST funcprototype + %common.attrib; + %funcprototype.role.attrib; + %local.funcprototype.attrib; +> +<!--end of funcprototype.attlist-->]]> +<!--end of funcprototype.module-->]]> + +<!ENTITY % funcdef.module "INCLUDE"> +<![%funcdef.module;[ +<!ENTITY % local.funcdef.attrib ""> +<!ENTITY % funcdef.role.attrib "%role.attrib;"> + +<!ENTITY % funcdef.element "INCLUDE"> +<![%funcdef.element;[ +<!--doc:A function (subroutine) name and its return type.--> +<!ELEMENT funcdef %ho; (#PCDATA + | type + | replaceable + | function)*> +<!--end of funcdef.element-->]]> + +<!ENTITY % funcdef.attlist "INCLUDE"> +<![%funcdef.attlist;[ +<!ATTLIST funcdef + %common.attrib; + %funcdef.role.attrib; + %local.funcdef.attrib; +> +<!--end of funcdef.attlist-->]]> +<!--end of funcdef.module-->]]> + +<!ENTITY % void.module "INCLUDE"> +<![%void.module;[ +<!ENTITY % local.void.attrib ""> +<!ENTITY % void.role.attrib "%role.attrib;"> + +<!ENTITY % void.element "INCLUDE"> +<![%void.element;[ +<!--doc:An empty element in a function synopsis indicating that the function in question takes no arguments.--> +<!ELEMENT void %ho; EMPTY> +<!--end of void.element-->]]> + +<!ENTITY % void.attlist "INCLUDE"> +<![%void.attlist;[ +<!ATTLIST void + %common.attrib; + %void.role.attrib; + %local.void.attrib; +> +<!--end of void.attlist-->]]> +<!--end of void.module-->]]> + +<!ENTITY % varargs.module "INCLUDE"> +<![%varargs.module;[ +<!ENTITY % local.varargs.attrib ""> +<!ENTITY % varargs.role.attrib "%role.attrib;"> + +<!ENTITY % varargs.element "INCLUDE"> +<![%varargs.element;[ +<!--doc:An empty element in a function synopsis indicating a variable number of arguments.--> +<!ELEMENT varargs %ho; EMPTY> +<!--end of varargs.element-->]]> + +<!ENTITY % varargs.attlist "INCLUDE"> +<![%varargs.attlist;[ +<!ATTLIST varargs + %common.attrib; + %varargs.role.attrib; + %local.varargs.attrib; +> +<!--end of varargs.attlist-->]]> +<!--end of varargs.module-->]]> + +<!-- Processing assumes that only one Parameter will appear in a + ParamDef, and that FuncParams will be used at most once, for + providing information on the "inner parameters" for parameters that + are pointers to functions. --> + +<!ENTITY % paramdef.module "INCLUDE"> +<![%paramdef.module;[ +<!ENTITY % local.paramdef.attrib ""> +<!ENTITY % paramdef.role.attrib "%role.attrib;"> + +<!ENTITY % paramdef.element "INCLUDE"> +<![%paramdef.element;[ +<!--doc:Information about a function parameter in a programming language.--> +<!ELEMENT paramdef %ho; (#PCDATA + | initializer + | type + | replaceable + | parameter + | funcparams)*> +<!--end of paramdef.element-->]]> + +<!ENTITY % paramdef.attlist "INCLUDE"> +<![%paramdef.attlist;[ +<!ATTLIST paramdef + choice (opt + |req) #IMPLIED + %common.attrib; + %paramdef.role.attrib; + %local.paramdef.attrib; +> +<!--end of paramdef.attlist-->]]> +<!--end of paramdef.module-->]]> + +<!ENTITY % funcparams.module "INCLUDE"> +<![%funcparams.module;[ +<!ENTITY % local.funcparams.attrib ""> +<!ENTITY % funcparams.role.attrib "%role.attrib;"> + +<!ENTITY % funcparams.element "INCLUDE"> +<![%funcparams.element;[ +<!--doc:Parameters for a function referenced through a function pointer in a synopsis.--> +<!ELEMENT funcparams %ho; (%cptr.char.mix;)*> +<!--end of funcparams.element-->]]> + +<!ENTITY % funcparams.attlist "INCLUDE"> +<![%funcparams.attlist;[ +<!ATTLIST funcparams + %common.attrib; + %funcparams.role.attrib; + %local.funcparams.attrib; +> +<!--end of funcparams.attlist-->]]> +<!--end of funcparams.module-->]]> + +<!-- LineAnnotation (defined in the Inlines section, below)--> +<!-- Replaceable (defined in the Inlines section, below)--> +<!-- Function (defined in the Inlines section, below)--> +<!-- Parameter (defined in the Inlines section, below)--> +<!--end of funcsynopsis.content.module-->]]> + +<!-- ClassSynopsis ..................... --> + +<!ENTITY % classsynopsis.content.module "INCLUDE"> +<![%classsynopsis.content.module;[ + +<!ENTITY % classsynopsis.module "INCLUDE"> +<![%classsynopsis.module;[ +<!ENTITY % local.classsynopsis.attrib ""> +<!ENTITY % classsynopsis.role.attrib "%role.attrib;"> + +<!ENTITY % classsynopsis.element "INCLUDE"> +<![%classsynopsis.element;[ +<!--doc:The syntax summary for a class definition.--> +<!ELEMENT classsynopsis %ho; ((ooclass|oointerface|ooexception)+, + (classsynopsisinfo + |fieldsynopsis|%method.synop.class;)*)> +<!--end of classsynopsis.element-->]]> + +<!ENTITY % classsynopsis.attlist "INCLUDE"> +<![%classsynopsis.attlist;[ +<!ATTLIST classsynopsis + language CDATA #IMPLIED + class (class|interface) "class" + %common.attrib; + %classsynopsis.role.attrib; + %local.classsynopsis.attrib; +> +<!--end of classsynopsis.attlist-->]]> +<!--end of classsynopsis.module-->]]> + +<!ENTITY % classsynopsisinfo.module "INCLUDE"> +<![ %classsynopsisinfo.module; [ +<!ENTITY % local.classsynopsisinfo.attrib ""> +<!ENTITY % classsynopsisinfo.role.attrib "%role.attrib;"> + +<!ENTITY % classsynopsisinfo.element "INCLUDE"> +<![ %classsynopsisinfo.element; [ +<!--doc:Information supplementing the contents of a ClassSynopsis.--> +<!ELEMENT classsynopsisinfo %ho; (%cptr.char.mix;|textobject|lineannotation)*> +<!--end of classsynopsisinfo.element-->]]> + +<!ENTITY % classsynopsisinfo.attlist "INCLUDE"> +<![ %classsynopsisinfo.attlist; [ +<!ATTLIST classsynopsisinfo + %linespecific.attrib; + %common.attrib; + %classsynopsisinfo.role.attrib; + %local.classsynopsisinfo.attrib; +> +<!--end of classsynopsisinfo.attlist-->]]> +<!--end of classsynopsisinfo.module-->]]> + +<!ENTITY % ooclass.module "INCLUDE"> +<![%ooclass.module;[ +<!ENTITY % local.ooclass.attrib ""> +<!ENTITY % ooclass.role.attrib "%role.attrib;"> + +<!ENTITY % ooclass.element "INCLUDE"> +<![%ooclass.element;[ +<!--doc:A class in an object-oriented programming language.--> +<!ELEMENT ooclass %ho; ((modifier|package)*, classname)> +<!--end of ooclass.element-->]]> + +<!ENTITY % ooclass.attlist "INCLUDE"> +<![%ooclass.attlist;[ +<!ATTLIST ooclass + %common.attrib; + %ooclass.role.attrib; + %local.ooclass.attrib; +> +<!--end of ooclass.attlist-->]]> +<!--end of ooclass.module-->]]> + +<!ENTITY % oointerface.module "INCLUDE"> +<![%oointerface.module;[ +<!ENTITY % local.oointerface.attrib ""> +<!ENTITY % oointerface.role.attrib "%role.attrib;"> + +<!ENTITY % oointerface.element "INCLUDE"> +<![%oointerface.element;[ +<!--doc:An interface in an object-oriented programming language.--> +<!ELEMENT oointerface %ho; ((modifier|package)*, interfacename)> +<!--end of oointerface.element-->]]> + +<!ENTITY % oointerface.attlist "INCLUDE"> +<![%oointerface.attlist;[ +<!ATTLIST oointerface + %common.attrib; + %oointerface.role.attrib; + %local.oointerface.attrib; +> +<!--end of oointerface.attlist-->]]> +<!--end of oointerface.module-->]]> + +<!ENTITY % ooexception.module "INCLUDE"> +<![%ooexception.module;[ +<!ENTITY % local.ooexception.attrib ""> +<!ENTITY % ooexception.role.attrib "%role.attrib;"> + +<!ENTITY % ooexception.element "INCLUDE"> +<![%ooexception.element;[ +<!--doc:An exception in an object-oriented programming language.--> +<!ELEMENT ooexception %ho; ((modifier|package)*, exceptionname)> +<!--end of ooexception.element-->]]> + +<!ENTITY % ooexception.attlist "INCLUDE"> +<![%ooexception.attlist;[ +<!ATTLIST ooexception + %common.attrib; + %ooexception.role.attrib; + %local.ooexception.attrib; +> +<!--end of ooexception.attlist-->]]> +<!--end of ooexception.module-->]]> + +<!ENTITY % modifier.module "INCLUDE"> +<![%modifier.module;[ +<!ENTITY % local.modifier.attrib ""> +<!ENTITY % modifier.role.attrib "%role.attrib;"> + +<!ENTITY % modifier.element "INCLUDE"> +<![%modifier.element;[ +<!--doc:Modifiers in a synopsis.--> +<!ELEMENT modifier %ho; (%smallcptr.char.mix;)*> +<!--end of modifier.element-->]]> + +<!ENTITY % modifier.attlist "INCLUDE"> +<![%modifier.attlist;[ +<!ATTLIST modifier + %common.attrib; + %modifier.role.attrib; + %local.modifier.attrib; +> +<!--end of modifier.attlist-->]]> +<!--end of modifier.module-->]]> + +<!ENTITY % interfacename.module "INCLUDE"> +<![%interfacename.module;[ +<!ENTITY % local.interfacename.attrib ""> +<!ENTITY % interfacename.role.attrib "%role.attrib;"> + +<!ENTITY % interfacename.element "INCLUDE"> +<![%interfacename.element;[ +<!--doc:The name of an interface.--> +<!ELEMENT interfacename %ho; (%cptr.char.mix;)*> +<!--end of interfacename.element-->]]> + +<!ENTITY % interfacename.attlist "INCLUDE"> +<![%interfacename.attlist;[ +<!ATTLIST interfacename + %common.attrib; + %interfacename.role.attrib; + %local.interfacename.attrib; +> +<!--end of interfacename.attlist-->]]> +<!--end of interfacename.module-->]]> + +<!ENTITY % exceptionname.module "INCLUDE"> +<![%exceptionname.module;[ +<!ENTITY % local.exceptionname.attrib ""> +<!ENTITY % exceptionname.role.attrib "%role.attrib;"> + +<!ENTITY % exceptionname.element "INCLUDE"> +<![%exceptionname.element;[ +<!--doc:The name of an exception.--> +<!ELEMENT exceptionname %ho; (%smallcptr.char.mix;)*> +<!--end of exceptionname.element-->]]> + +<!ENTITY % exceptionname.attlist "INCLUDE"> +<![%exceptionname.attlist;[ +<!ATTLIST exceptionname + %common.attrib; + %exceptionname.role.attrib; + %local.exceptionname.attrib; +> +<!--end of exceptionname.attlist-->]]> +<!--end of exceptionname.module-->]]> + +<!ENTITY % fieldsynopsis.module "INCLUDE"> +<![%fieldsynopsis.module;[ +<!ENTITY % local.fieldsynopsis.attrib ""> +<!ENTITY % fieldsynopsis.role.attrib "%role.attrib;"> + +<!ENTITY % fieldsynopsis.element "INCLUDE"> +<![%fieldsynopsis.element;[ +<!--doc:The name of a field in a class definition.--> +<!ELEMENT fieldsynopsis %ho; (modifier*, type?, varname, initializer?)> +<!--end of fieldsynopsis.element-->]]> + +<!ENTITY % fieldsynopsis.attlist "INCLUDE"> +<![%fieldsynopsis.attlist;[ +<!ATTLIST fieldsynopsis + language CDATA #IMPLIED + %common.attrib; + %fieldsynopsis.role.attrib; + %local.fieldsynopsis.attrib; +> +<!--end of fieldsynopsis.attlist-->]]> +<!--end of fieldsynopsis.module-->]]> + +<!ENTITY % initializer.module "INCLUDE"> +<![%initializer.module;[ +<!ENTITY % local.initializer.attrib ""> +<!ENTITY % initializer.role.attrib "%role.attrib;"> + +<!ENTITY % initializer.element "INCLUDE"> +<![%initializer.element;[ +<!--doc:The initializer for a FieldSynopsis.--> +<!ELEMENT initializer %ho; (%smallcptr.char.mix;)*> +<!--end of initializer.element-->]]> + +<!ENTITY % initializer.attlist "INCLUDE"> +<![%initializer.attlist;[ +<!ATTLIST initializer + %common.attrib; + %initializer.role.attrib; + %local.initializer.attrib; +> +<!--end of initializer.attlist-->]]> +<!--end of initializer.module-->]]> + +<!ENTITY % constructorsynopsis.module "INCLUDE"> +<![%constructorsynopsis.module;[ +<!ENTITY % local.constructorsynopsis.attrib ""> +<!ENTITY % constructorsynopsis.role.attrib "%role.attrib;"> + +<!ENTITY % constructorsynopsis.element "INCLUDE"> +<![%constructorsynopsis.element;[ +<!--doc:A syntax summary for a constructor.--> +<!ELEMENT constructorsynopsis %ho; (modifier*, + methodname?, + (methodparam+|void?), + exceptionname*)> +<!--end of constructorsynopsis.element-->]]> + +<!ENTITY % constructorsynopsis.attlist "INCLUDE"> +<![%constructorsynopsis.attlist;[ +<!ATTLIST constructorsynopsis + language CDATA #IMPLIED + %common.attrib; + %constructorsynopsis.role.attrib; + %local.constructorsynopsis.attrib; +> +<!--end of constructorsynopsis.attlist-->]]> +<!--end of constructorsynopsis.module-->]]> + +<!ENTITY % destructorsynopsis.module "INCLUDE"> +<![%destructorsynopsis.module;[ +<!ENTITY % local.destructorsynopsis.attrib ""> +<!ENTITY % destructorsynopsis.role.attrib "%role.attrib;"> + +<!ENTITY % destructorsynopsis.element "INCLUDE"> +<![%destructorsynopsis.element;[ +<!--doc:A syntax summary for a destructor.--> +<!ELEMENT destructorsynopsis %ho; (modifier*, + methodname?, + (methodparam+|void?), + exceptionname*)> +<!--end of destructorsynopsis.element-->]]> + +<!ENTITY % destructorsynopsis.attlist "INCLUDE"> +<![%destructorsynopsis.attlist;[ +<!ATTLIST destructorsynopsis + language CDATA #IMPLIED + %common.attrib; + %destructorsynopsis.role.attrib; + %local.destructorsynopsis.attrib; +> +<!--end of destructorsynopsis.attlist-->]]> +<!--end of destructorsynopsis.module-->]]> + +<!ENTITY % methodsynopsis.module "INCLUDE"> +<![%methodsynopsis.module;[ +<!ENTITY % local.methodsynopsis.attrib ""> +<!ENTITY % methodsynopsis.role.attrib "%role.attrib;"> + +<!ENTITY % methodsynopsis.element "INCLUDE"> +<![%methodsynopsis.element;[ +<!--doc:A syntax summary for a method.--> +<!ELEMENT methodsynopsis %ho; (modifier*, + (type|void)?, + methodname, + (methodparam+|void?), + exceptionname*, + modifier*)> +<!--end of methodsynopsis.element-->]]> + +<!ENTITY % methodsynopsis.attlist "INCLUDE"> +<![%methodsynopsis.attlist;[ +<!ATTLIST methodsynopsis + language CDATA #IMPLIED + %common.attrib; + %methodsynopsis.role.attrib; + %local.methodsynopsis.attrib; +> +<!--end of methodsynopsis.attlist-->]]> +<!--end of methodsynopsis.module-->]]> + +<!ENTITY % methodname.module "INCLUDE"> +<![%methodname.module;[ +<!ENTITY % local.methodname.attrib ""> +<!ENTITY % methodname.role.attrib "%role.attrib;"> + +<!ENTITY % methodname.element "INCLUDE"> +<![%methodname.element;[ +<!--doc:The name of a method.--> +<!ELEMENT methodname %ho; (%smallcptr.char.mix;)*> +<!--end of methodname.element-->]]> + +<!ENTITY % methodname.attlist "INCLUDE"> +<![%methodname.attlist;[ +<!ATTLIST methodname + %common.attrib; + %methodname.role.attrib; + %local.methodname.attrib; +> +<!--end of methodname.attlist-->]]> +<!--end of methodname.module-->]]> + +<!ENTITY % methodparam.module "INCLUDE"> +<![%methodparam.module;[ +<!ENTITY % local.methodparam.attrib ""> +<!ENTITY % methodparam.role.attrib "%role.attrib;"> + +<!ENTITY % methodparam.element "INCLUDE"> +<![%methodparam.element;[ +<!--doc:Parameters to a method.--> +<!ELEMENT methodparam %ho; (modifier*, + type?, + ((parameter,initializer?)|funcparams), + modifier*)> +<!--end of methodparam.element-->]]> + +<!ENTITY % methodparam.attlist "INCLUDE"> +<![%methodparam.attlist;[ +<!ATTLIST methodparam + choice (opt + |req + |plain) "req" + rep (norepeat + |repeat) "norepeat" + %common.attrib; + %methodparam.role.attrib; + %local.methodparam.attrib; +> +<!--end of methodparam.attlist-->]]> +<!--end of methodparam.module-->]]> +<!--end of classsynopsis.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Document information entities and elements ........................... --> + +<!-- The document information elements include some elements that are + currently used only in the document hierarchy module. They are + defined here so that they will be available for use in customized + document hierarchies. --> + +<!-- .................................. --> + +<!ENTITY % docinfo.content.module "INCLUDE"> +<![%docinfo.content.module;[ + +<!-- Ackno ............................ --> + +<!ENTITY % ackno.module "INCLUDE"> +<![%ackno.module;[ +<!ENTITY % local.ackno.attrib ""> +<!ENTITY % ackno.role.attrib "%role.attrib;"> + +<!ENTITY % ackno.element "INCLUDE"> +<![%ackno.element;[ +<!--doc:Acknowledgements in an Article.--> +<!ELEMENT ackno %ho; (%docinfo.char.mix;)*> +<!--end of ackno.element-->]]> + +<!ENTITY % ackno.attlist "INCLUDE"> +<![%ackno.attlist;[ +<!ATTLIST ackno + %common.attrib; + %ackno.role.attrib; + %local.ackno.attrib; +> +<!--end of ackno.attlist-->]]> +<!--end of ackno.module-->]]> + +<!-- Address .......................... --> + +<!ENTITY % address.content.module "INCLUDE"> +<![%address.content.module;[ +<!ENTITY % address.module "INCLUDE"> +<![%address.module;[ +<!ENTITY % local.address.attrib ""> +<!ENTITY % address.role.attrib "%role.attrib;"> + +<!ENTITY % address.element "INCLUDE"> +<![%address.element;[ +<!--doc:A real-world address, generally a postal address.--> +<!ELEMENT address %ho; (#PCDATA|personname|%person.ident.mix; + |street|pob|postcode|city|state|country|phone + |fax|email|otheraddr)*> +<!--end of address.element-->]]> + +<!ENTITY % address.attlist "INCLUDE"> +<![%address.attlist;[ +<!ATTLIST address + %linespecific.attrib; + %common.attrib; + %address.role.attrib; + %local.address.attrib; +> +<!--end of address.attlist-->]]> +<!--end of address.module-->]]> + + <!ENTITY % street.module "INCLUDE"> + <![%street.module;[ + <!ENTITY % local.street.attrib ""> + <!ENTITY % street.role.attrib "%role.attrib;"> + +<!ENTITY % street.element "INCLUDE"> +<![%street.element;[ +<!--doc:A street address in an address.--> +<!ELEMENT street %ho; (%docinfo.char.mix;)*> +<!--end of street.element-->]]> + +<!ENTITY % street.attlist "INCLUDE"> +<![%street.attlist;[ +<!ATTLIST street + %common.attrib; + %street.role.attrib; + %local.street.attrib; +> +<!--end of street.attlist-->]]> + <!--end of street.module-->]]> + + <!ENTITY % pob.module "INCLUDE"> + <![%pob.module;[ + <!ENTITY % local.pob.attrib ""> + <!ENTITY % pob.role.attrib "%role.attrib;"> + +<!ENTITY % pob.element "INCLUDE"> +<![%pob.element;[ +<!--doc:A post office box in an address.--> +<!ELEMENT pob %ho; (%docinfo.char.mix;)*> +<!--end of pob.element-->]]> + +<!ENTITY % pob.attlist "INCLUDE"> +<![%pob.attlist;[ +<!ATTLIST pob + %common.attrib; + %pob.role.attrib; + %local.pob.attrib; +> +<!--end of pob.attlist-->]]> + <!--end of pob.module-->]]> + + <!ENTITY % postcode.module "INCLUDE"> + <![%postcode.module;[ + <!ENTITY % local.postcode.attrib ""> + <!ENTITY % postcode.role.attrib "%role.attrib;"> + +<!ENTITY % postcode.element "INCLUDE"> +<![%postcode.element;[ +<!--doc:A postal code in an address.--> +<!ELEMENT postcode %ho; (%docinfo.char.mix;)*> +<!--end of postcode.element-->]]> + +<!ENTITY % postcode.attlist "INCLUDE"> +<![%postcode.attlist;[ +<!ATTLIST postcode + %common.attrib; + %postcode.role.attrib; + %local.postcode.attrib; +> +<!--end of postcode.attlist-->]]> + <!--end of postcode.module-->]]> + + <!ENTITY % city.module "INCLUDE"> + <![%city.module;[ + <!ENTITY % local.city.attrib ""> + <!ENTITY % city.role.attrib "%role.attrib;"> + +<!ENTITY % city.element "INCLUDE"> +<![%city.element;[ +<!--doc:The name of a city in an address.--> +<!ELEMENT city %ho; (%docinfo.char.mix;)*> +<!--end of city.element-->]]> + +<!ENTITY % city.attlist "INCLUDE"> +<![%city.attlist;[ +<!ATTLIST city + %common.attrib; + %city.role.attrib; + %local.city.attrib; +> +<!--end of city.attlist-->]]> + <!--end of city.module-->]]> + + <!ENTITY % state.module "INCLUDE"> + <![%state.module;[ + <!ENTITY % local.state.attrib ""> + <!ENTITY % state.role.attrib "%role.attrib;"> + +<!ENTITY % state.element "INCLUDE"> +<![%state.element;[ +<!--doc:A state or province in an address.--> +<!ELEMENT state %ho; (%docinfo.char.mix;)*> +<!--end of state.element-->]]> + +<!ENTITY % state.attlist "INCLUDE"> +<![%state.attlist;[ +<!ATTLIST state + %common.attrib; + %state.role.attrib; + %local.state.attrib; +> +<!--end of state.attlist-->]]> + <!--end of state.module-->]]> + + <!ENTITY % country.module "INCLUDE"> + <![%country.module;[ + <!ENTITY % local.country.attrib ""> + <!ENTITY % country.role.attrib "%role.attrib;"> + +<!ENTITY % country.element "INCLUDE"> +<![%country.element;[ +<!--doc:The name of a country.--> +<!ELEMENT country %ho; (%docinfo.char.mix;)*> +<!--end of country.element-->]]> + +<!ENTITY % country.attlist "INCLUDE"> +<![%country.attlist;[ +<!ATTLIST country + %common.attrib; + %country.role.attrib; + %local.country.attrib; +> +<!--end of country.attlist-->]]> + <!--end of country.module-->]]> + + <!ENTITY % phone.module "INCLUDE"> + <![%phone.module;[ + <!ENTITY % local.phone.attrib ""> + <!ENTITY % phone.role.attrib "%role.attrib;"> + +<!ENTITY % phone.element "INCLUDE"> +<![%phone.element;[ +<!--doc:A telephone number.--> +<!ELEMENT phone %ho; (%docinfo.char.mix;)*> +<!--end of phone.element-->]]> + +<!ENTITY % phone.attlist "INCLUDE"> +<![%phone.attlist;[ +<!ATTLIST phone + %common.attrib; + %phone.role.attrib; + %local.phone.attrib; +> +<!--end of phone.attlist-->]]> + <!--end of phone.module-->]]> + + <!ENTITY % fax.module "INCLUDE"> + <![%fax.module;[ + <!ENTITY % local.fax.attrib ""> + <!ENTITY % fax.role.attrib "%role.attrib;"> + +<!ENTITY % fax.element "INCLUDE"> +<![%fax.element;[ +<!--doc:A fax number.--> +<!ELEMENT fax %ho; (%docinfo.char.mix;)*> +<!--end of fax.element-->]]> + +<!ENTITY % fax.attlist "INCLUDE"> +<![%fax.attlist;[ +<!ATTLIST fax + %common.attrib; + %fax.role.attrib; + %local.fax.attrib; +> +<!--end of fax.attlist-->]]> + <!--end of fax.module-->]]> + + <!-- Email (defined in the Inlines section, below)--> + + <!ENTITY % otheraddr.module "INCLUDE"> + <![%otheraddr.module;[ + <!ENTITY % local.otheraddr.attrib ""> + <!ENTITY % otheraddr.role.attrib "%role.attrib;"> + +<!ENTITY % otheraddr.element "INCLUDE"> +<![%otheraddr.element;[ +<!--doc:Uncategorized information in address.--> +<!ELEMENT otheraddr %ho; (%docinfo.char.mix;)*> +<!--end of otheraddr.element-->]]> + +<!ENTITY % otheraddr.attlist "INCLUDE"> +<![%otheraddr.attlist;[ +<!ATTLIST otheraddr + %common.attrib; + %otheraddr.role.attrib; + %local.otheraddr.attrib; +> +<!--end of otheraddr.attlist-->]]> + <!--end of otheraddr.module-->]]> +<!--end of address.content.module-->]]> + +<!-- Affiliation ...................... --> + +<!ENTITY % affiliation.content.module "INCLUDE"> +<![%affiliation.content.module;[ +<!ENTITY % affiliation.module "INCLUDE"> +<![%affiliation.module;[ +<!ENTITY % local.affiliation.attrib ""> +<!ENTITY % affiliation.role.attrib "%role.attrib;"> + +<!ENTITY % affiliation.element "INCLUDE"> +<![%affiliation.element;[ +<!--doc:The institutional affiliation of an individual.--> +<!ELEMENT affiliation %ho; (shortaffil?, jobtitle*, orgname?, orgdiv*, + address*)> +<!--end of affiliation.element-->]]> + +<!ENTITY % affiliation.attlist "INCLUDE"> +<![%affiliation.attlist;[ +<!ATTLIST affiliation + %common.attrib; + %affiliation.role.attrib; + %local.affiliation.attrib; +> +<!--end of affiliation.attlist-->]]> +<!--end of affiliation.module-->]]> + + <!ENTITY % shortaffil.module "INCLUDE"> + <![%shortaffil.module;[ + <!ENTITY % local.shortaffil.attrib ""> + <!ENTITY % shortaffil.role.attrib "%role.attrib;"> + +<!ENTITY % shortaffil.element "INCLUDE"> +<![%shortaffil.element;[ +<!--doc:A brief description of an affiliation.--> +<!ELEMENT shortaffil %ho; (%docinfo.char.mix;)*> +<!--end of shortaffil.element-->]]> + +<!ENTITY % shortaffil.attlist "INCLUDE"> +<![%shortaffil.attlist;[ +<!ATTLIST shortaffil + %common.attrib; + %shortaffil.role.attrib; + %local.shortaffil.attrib; +> +<!--end of shortaffil.attlist-->]]> + <!--end of shortaffil.module-->]]> + + <!ENTITY % jobtitle.module "INCLUDE"> + <![%jobtitle.module;[ + <!ENTITY % local.jobtitle.attrib ""> + <!ENTITY % jobtitle.role.attrib "%role.attrib;"> + +<!ENTITY % jobtitle.element "INCLUDE"> +<![%jobtitle.element;[ +<!--doc:The title of an individual in an organization.--> +<!ELEMENT jobtitle %ho; (%docinfo.char.mix;)*> +<!--end of jobtitle.element-->]]> + +<!ENTITY % jobtitle.attlist "INCLUDE"> +<![%jobtitle.attlist;[ +<!ATTLIST jobtitle + %common.attrib; + %jobtitle.role.attrib; + %local.jobtitle.attrib; +> +<!--end of jobtitle.attlist-->]]> + <!--end of jobtitle.module-->]]> + + <!-- OrgName (defined elsewhere in this section)--> + + <!ENTITY % orgdiv.module "INCLUDE"> + <![%orgdiv.module;[ + <!ENTITY % local.orgdiv.attrib ""> + <!ENTITY % orgdiv.role.attrib "%role.attrib;"> + +<!ENTITY % orgdiv.element "INCLUDE"> +<![%orgdiv.element;[ +<!--doc:A division of an organization.--> +<!ELEMENT orgdiv %ho; (%docinfo.char.mix;)*> +<!--end of orgdiv.element-->]]> + +<!ENTITY % orgdiv.attlist "INCLUDE"> +<![%orgdiv.attlist;[ +<!ATTLIST orgdiv + %common.attrib; + %orgdiv.role.attrib; + %local.orgdiv.attrib; +> +<!--end of orgdiv.attlist-->]]> + <!--end of orgdiv.module-->]]> + + <!-- Address (defined elsewhere in this section)--> +<!--end of affiliation.content.module-->]]> + +<!-- ArtPageNums ...................... --> + +<!ENTITY % artpagenums.module "INCLUDE"> +<![%artpagenums.module;[ +<!ENTITY % local.artpagenums.attrib ""> +<!ENTITY % artpagenums.role.attrib "%role.attrib;"> + +<!ENTITY % artpagenums.element "INCLUDE"> +<![%artpagenums.element;[ +<!--doc:The page numbers of an article as published.--> +<!ELEMENT artpagenums %ho; (%docinfo.char.mix;)*> +<!--end of artpagenums.element-->]]> + +<!ENTITY % artpagenums.attlist "INCLUDE"> +<![%artpagenums.attlist;[ +<!ATTLIST artpagenums + %common.attrib; + %artpagenums.role.attrib; + %local.artpagenums.attrib; +> +<!--end of artpagenums.attlist-->]]> +<!--end of artpagenums.module-->]]> + +<!-- PersonName --> + +<!ENTITY % personname.module "INCLUDE"> +<![%personname.module;[ +<!ENTITY % local.personname.attrib ""> +<!ENTITY % personname.role.attrib "%role.attrib;"> + +<!ENTITY % personname.element "INCLUDE"> +<![%personname.element;[ +<!--doc:The personal name of an individual.--> +<!ELEMENT personname %ho; ((honorific|firstname|surname|lineage|othername)+)> +<!--end of personname.element-->]]> + +<!ENTITY % personname.attlist "INCLUDE"> +<![%personname.attlist;[ +<!ATTLIST personname + %common.attrib; + %personname.role.attrib; + %local.personname.attrib; +> +<!--end of personname.attlist-->]]> +<!--end of personname.module-->]]> + +<!-- Author ........................... --> + +<!ENTITY % author.module "INCLUDE"> +<![%author.module;[ +<!ENTITY % local.author.attrib ""> +<!ENTITY % author.role.attrib "%role.attrib;"> + +<!ENTITY % author.element "INCLUDE"> +<![%author.element;[ +<!--doc:The name of an individual author.--> +<!ELEMENT author %ho; ((personname|(%person.ident.mix;)+),(personblurb|email|address)*)> +<!--end of author.element-->]]> + +<!ENTITY % author.attlist "INCLUDE"> +<![%author.attlist;[ +<!ATTLIST author + %common.attrib; + %author.role.attrib; + %local.author.attrib; +> +<!--end of author.attlist-->]]> +<!--(see "Personal identity elements" for %person.ident.mix;)--> +<!--end of author.module-->]]> + +<!-- AuthorGroup ...................... --> + +<!ENTITY % authorgroup.content.module "INCLUDE"> +<![%authorgroup.content.module;[ +<!ENTITY % authorgroup.module "INCLUDE"> +<![%authorgroup.module;[ +<!ENTITY % local.authorgroup.attrib ""> +<!ENTITY % authorgroup.role.attrib "%role.attrib;"> + +<!ENTITY % authorgroup.element "INCLUDE"> +<![%authorgroup.element;[ +<!--doc:Wrapper for author information when a document has multiple authors or collabarators.--> +<!ELEMENT authorgroup %ho; ((author|editor|collab|corpauthor|corpcredit|othercredit)+)> +<!--end of authorgroup.element-->]]> + +<!ENTITY % authorgroup.attlist "INCLUDE"> +<![%authorgroup.attlist;[ +<!ATTLIST authorgroup + %common.attrib; + %authorgroup.role.attrib; + %local.authorgroup.attrib; +> +<!--end of authorgroup.attlist-->]]> +<!--end of authorgroup.module-->]]> + + <!-- Author (defined elsewhere in this section)--> + <!-- Editor (defined elsewhere in this section)--> + + <!ENTITY % collab.content.module "INCLUDE"> + <![%collab.content.module;[ + <!ENTITY % collab.module "INCLUDE"> + <![%collab.module;[ + <!ENTITY % local.collab.attrib ""> + <!ENTITY % collab.role.attrib "%role.attrib;"> + +<!ENTITY % collab.element "INCLUDE"> +<![%collab.element;[ +<!--doc:Identifies a collaborator.--> +<!ELEMENT collab %ho; (collabname, affiliation*)> +<!--end of collab.element-->]]> + +<!ENTITY % collab.attlist "INCLUDE"> +<![%collab.attlist;[ +<!ATTLIST collab + %common.attrib; + %collab.role.attrib; + %local.collab.attrib; +> +<!--end of collab.attlist-->]]> + <!--end of collab.module-->]]> + + <!ENTITY % collabname.module "INCLUDE"> + <![%collabname.module;[ + <!ENTITY % local.collabname.attrib ""> + <!ENTITY % collabname.role.attrib "%role.attrib;"> + +<!ENTITY % collabname.element "INCLUDE"> +<![%collabname.element;[ +<!--doc:The name of a collaborator.--> +<!ELEMENT collabname %ho; (%docinfo.char.mix;)*> +<!--end of collabname.element-->]]> + +<!ENTITY % collabname.attlist "INCLUDE"> +<![%collabname.attlist;[ +<!ATTLIST collabname + %common.attrib; + %collabname.role.attrib; + %local.collabname.attrib; +> +<!--end of collabname.attlist-->]]> + <!--end of collabname.module-->]]> + + <!-- Affiliation (defined elsewhere in this section)--> + <!--end of collab.content.module-->]]> + + <!-- CorpAuthor (defined elsewhere in this section)--> + <!-- OtherCredit (defined elsewhere in this section)--> + +<!--end of authorgroup.content.module-->]]> + +<!-- AuthorInitials ................... --> + +<!ENTITY % authorinitials.module "INCLUDE"> +<![%authorinitials.module;[ +<!ENTITY % local.authorinitials.attrib ""> +<!ENTITY % authorinitials.role.attrib "%role.attrib;"> + +<!ENTITY % authorinitials.element "INCLUDE"> +<![%authorinitials.element;[ +<!--doc:The initials or other short identifier for an author.--> +<!ELEMENT authorinitials %ho; (%docinfo.char.mix;)*> +<!--end of authorinitials.element-->]]> + +<!ENTITY % authorinitials.attlist "INCLUDE"> +<![%authorinitials.attlist;[ +<!ATTLIST authorinitials + %common.attrib; + %authorinitials.role.attrib; + %local.authorinitials.attrib; +> +<!--end of authorinitials.attlist-->]]> +<!--end of authorinitials.module-->]]> + +<!-- ConfGroup ........................ --> + +<!ENTITY % confgroup.content.module "INCLUDE"> +<![%confgroup.content.module;[ +<!ENTITY % confgroup.module "INCLUDE"> +<![%confgroup.module;[ +<!ENTITY % local.confgroup.attrib ""> +<!ENTITY % confgroup.role.attrib "%role.attrib;"> + +<!ENTITY % confgroup.element "INCLUDE"> +<![%confgroup.element;[ +<!--doc:A wrapper for document meta-information about a conference.--> +<!ELEMENT confgroup %ho; ((confdates|conftitle|confnum|address|confsponsor)*)> +<!--end of confgroup.element-->]]> + +<!ENTITY % confgroup.attlist "INCLUDE"> +<![%confgroup.attlist;[ +<!ATTLIST confgroup + %common.attrib; + %confgroup.role.attrib; + %local.confgroup.attrib; +> +<!--end of confgroup.attlist-->]]> +<!--end of confgroup.module-->]]> + + <!ENTITY % confdates.module "INCLUDE"> + <![%confdates.module;[ + <!ENTITY % local.confdates.attrib ""> + <!ENTITY % confdates.role.attrib "%role.attrib;"> + +<!ENTITY % confdates.element "INCLUDE"> +<![%confdates.element;[ +<!--doc:The dates of a conference for which a document was written.--> +<!ELEMENT confdates %ho; (%docinfo.char.mix;)*> +<!--end of confdates.element-->]]> + +<!ENTITY % confdates.attlist "INCLUDE"> +<![%confdates.attlist;[ +<!ATTLIST confdates + %common.attrib; + %confdates.role.attrib; + %local.confdates.attrib; +> +<!--end of confdates.attlist-->]]> + <!--end of confdates.module-->]]> + + <!ENTITY % conftitle.module "INCLUDE"> + <![%conftitle.module;[ + <!ENTITY % local.conftitle.attrib ""> + <!ENTITY % conftitle.role.attrib "%role.attrib;"> + +<!ENTITY % conftitle.element "INCLUDE"> +<![%conftitle.element;[ +<!--doc:The title of a conference for which a document was written.--> +<!ELEMENT conftitle %ho; (%docinfo.char.mix;)*> +<!--end of conftitle.element-->]]> + +<!ENTITY % conftitle.attlist "INCLUDE"> +<![%conftitle.attlist;[ +<!ATTLIST conftitle + %common.attrib; + %conftitle.role.attrib; + %local.conftitle.attrib; +> +<!--end of conftitle.attlist-->]]> + <!--end of conftitle.module-->]]> + + <!ENTITY % confnum.module "INCLUDE"> + <![%confnum.module;[ + <!ENTITY % local.confnum.attrib ""> + <!ENTITY % confnum.role.attrib "%role.attrib;"> + +<!ENTITY % confnum.element "INCLUDE"> +<![%confnum.element;[ +<!--doc:An identifier, frequently numerical, associated with a conference for which a document was written.--> +<!ELEMENT confnum %ho; (%docinfo.char.mix;)*> +<!--end of confnum.element-->]]> + +<!ENTITY % confnum.attlist "INCLUDE"> +<![%confnum.attlist;[ +<!ATTLIST confnum + %common.attrib; + %confnum.role.attrib; + %local.confnum.attrib; +> +<!--end of confnum.attlist-->]]> + <!--end of confnum.module-->]]> + + <!-- Address (defined elsewhere in this section)--> + + <!ENTITY % confsponsor.module "INCLUDE"> + <![%confsponsor.module;[ + <!ENTITY % local.confsponsor.attrib ""> + <!ENTITY % confsponsor.role.attrib "%role.attrib;"> + +<!ENTITY % confsponsor.element "INCLUDE"> +<![%confsponsor.element;[ +<!--doc:The sponsor of a conference for which a document was written.--> +<!ELEMENT confsponsor %ho; (%docinfo.char.mix;)*> +<!--end of confsponsor.element-->]]> + +<!ENTITY % confsponsor.attlist "INCLUDE"> +<![%confsponsor.attlist;[ +<!ATTLIST confsponsor + %common.attrib; + %confsponsor.role.attrib; + %local.confsponsor.attrib; +> +<!--end of confsponsor.attlist-->]]> + <!--end of confsponsor.module-->]]> +<!--end of confgroup.content.module-->]]> + +<!-- ContractNum ...................... --> + +<!ENTITY % contractnum.module "INCLUDE"> +<![%contractnum.module;[ +<!ENTITY % local.contractnum.attrib ""> +<!ENTITY % contractnum.role.attrib "%role.attrib;"> + +<!ENTITY % contractnum.element "INCLUDE"> +<![%contractnum.element;[ +<!--doc:The contract number of a document.--> +<!ELEMENT contractnum %ho; (%docinfo.char.mix;)*> +<!--end of contractnum.element-->]]> + +<!ENTITY % contractnum.attlist "INCLUDE"> +<![%contractnum.attlist;[ +<!ATTLIST contractnum + %common.attrib; + %contractnum.role.attrib; + %local.contractnum.attrib; +> +<!--end of contractnum.attlist-->]]> +<!--end of contractnum.module-->]]> + +<!-- ContractSponsor .................. --> + +<!ENTITY % contractsponsor.module "INCLUDE"> +<![%contractsponsor.module;[ +<!ENTITY % local.contractsponsor.attrib ""> +<!ENTITY % contractsponsor.role.attrib "%role.attrib;"> + +<!ENTITY % contractsponsor.element "INCLUDE"> +<![%contractsponsor.element;[ +<!--doc:The sponsor of a contract.--> +<!ELEMENT contractsponsor %ho; (%docinfo.char.mix;)*> +<!--end of contractsponsor.element-->]]> + +<!ENTITY % contractsponsor.attlist "INCLUDE"> +<![%contractsponsor.attlist;[ +<!ATTLIST contractsponsor + %common.attrib; + %contractsponsor.role.attrib; + %local.contractsponsor.attrib; +> +<!--end of contractsponsor.attlist-->]]> +<!--end of contractsponsor.module-->]]> + +<!-- Copyright ........................ --> + +<!ENTITY % copyright.content.module "INCLUDE"> +<![%copyright.content.module;[ +<!ENTITY % copyright.module "INCLUDE"> +<![%copyright.module;[ +<!ENTITY % local.copyright.attrib ""> +<!ENTITY % copyright.role.attrib "%role.attrib;"> + +<!ENTITY % copyright.element "INCLUDE"> +<![%copyright.element;[ +<!--doc:Copyright information about a document.--> +<!ELEMENT copyright %ho; (year+, holder*)> +<!--end of copyright.element-->]]> + +<!ENTITY % copyright.attlist "INCLUDE"> +<![%copyright.attlist;[ +<!ATTLIST copyright + %common.attrib; + %copyright.role.attrib; + %local.copyright.attrib; +> +<!--end of copyright.attlist-->]]> +<!--end of copyright.module-->]]> + + <!ENTITY % year.module "INCLUDE"> + <![%year.module;[ + <!ENTITY % local.year.attrib ""> + <!ENTITY % year.role.attrib "%role.attrib;"> + +<!ENTITY % year.element "INCLUDE"> +<![%year.element;[ +<!--doc:The year of publication of a document.--> +<!ELEMENT year %ho; (%docinfo.char.mix;)*> +<!--end of year.element-->]]> + +<!ENTITY % year.attlist "INCLUDE"> +<![%year.attlist;[ +<!ATTLIST year + %common.attrib; + %year.role.attrib; + %local.year.attrib; +> +<!--end of year.attlist-->]]> + <!--end of year.module-->]]> + + <!ENTITY % holder.module "INCLUDE"> + <![%holder.module;[ + <!ENTITY % local.holder.attrib ""> + <!ENTITY % holder.role.attrib "%role.attrib;"> + +<!ENTITY % holder.element "INCLUDE"> +<![%holder.element;[ +<!--doc:The name of the individual or organization that holds a copyright.--> +<!ELEMENT holder %ho; (%docinfo.char.mix;)*> +<!--end of holder.element-->]]> + +<!ENTITY % holder.attlist "INCLUDE"> +<![%holder.attlist;[ +<!ATTLIST holder + %common.attrib; + %holder.role.attrib; + %local.holder.attrib; +> +<!--end of holder.attlist-->]]> + <!--end of holder.module-->]]> +<!--end of copyright.content.module-->]]> + +<!-- CorpAuthor ....................... --> + +<!ENTITY % corpauthor.module "INCLUDE"> +<![%corpauthor.module;[ +<!ENTITY % local.corpauthor.attrib ""> +<!ENTITY % corpauthor.role.attrib "%role.attrib;"> + +<!ENTITY % corpauthor.element "INCLUDE"> +<![%corpauthor.element;[ +<!--doc:A corporate author, as opposed to an individual.--> +<!ELEMENT corpauthor %ho; (%docinfo.char.mix;)*> +<!--end of corpauthor.element-->]]> + +<!ENTITY % corpauthor.attlist "INCLUDE"> +<![%corpauthor.attlist;[ +<!ATTLIST corpauthor + %common.attrib; + %corpauthor.role.attrib; + %local.corpauthor.attrib; +> +<!--end of corpauthor.attlist-->]]> +<!--end of corpauthor.module-->]]> + +<!-- CorpCredit ...................... --> + +<!ENTITY % corpcredit.module "INCLUDE"> +<![%corpcredit.module;[ +<!ENTITY % local.corpcredit.attrib ""> +<!ENTITY % corpcredit.role.attrib "%role.attrib;"> + +<!ENTITY % corpcredit.element "INCLUDE"> +<![%corpcredit.element;[ +<!--doc:A corporation or organization credited in a document.--> +<!ELEMENT corpcredit %ho; (%docinfo.char.mix;)*> +<!--end of corpcredit.element-->]]> + +<!ENTITY % corpcredit.attlist "INCLUDE"> +<![%corpcredit.attlist;[ +<!ATTLIST corpcredit + class (graphicdesigner + |productioneditor + |copyeditor + |technicaleditor + |translator + |other) #IMPLIED + %common.attrib; + %corpcredit.role.attrib; + %local.corpcredit.attrib; +> +<!--end of corpcredit.attlist-->]]> +<!--end of corpcredit.module-->]]> + +<!-- CorpName ......................... --> + +<!ENTITY % corpname.module "INCLUDE"> +<![%corpname.module;[ +<!ENTITY % local.corpname.attrib ""> + +<!ENTITY % corpname.element "INCLUDE"> +<![%corpname.element;[ +<!--doc:The name of a corporation.--> +<!ELEMENT corpname %ho; (%docinfo.char.mix;)*> +<!--end of corpname.element-->]]> +<!ENTITY % corpname.role.attrib "%role.attrib;"> + +<!ENTITY % corpname.attlist "INCLUDE"> +<![%corpname.attlist;[ +<!ATTLIST corpname + %common.attrib; + %corpname.role.attrib; + %local.corpname.attrib; +> +<!--end of corpname.attlist-->]]> +<!--end of corpname.module-->]]> + +<!-- Date ............................. --> + +<!ENTITY % date.module "INCLUDE"> +<![%date.module;[ +<!ENTITY % local.date.attrib ""> +<!ENTITY % date.role.attrib "%role.attrib;"> + +<!ENTITY % date.element "INCLUDE"> +<![%date.element;[ +<!--doc:The date of publication or revision of a document.--> +<!ELEMENT date %ho; (%docinfo.char.mix;)*> +<!--end of date.element-->]]> + +<!ENTITY % date.attlist "INCLUDE"> +<![%date.attlist;[ +<!ATTLIST date + %common.attrib; + %date.role.attrib; + %local.date.attrib; +> +<!--end of date.attlist-->]]> +<!--end of date.module-->]]> + +<!-- Edition .......................... --> + +<!ENTITY % edition.module "INCLUDE"> +<![%edition.module;[ +<!ENTITY % local.edition.attrib ""> +<!ENTITY % edition.role.attrib "%role.attrib;"> + +<!ENTITY % edition.element "INCLUDE"> +<![%edition.element;[ +<!--doc:The name or number of an edition of a document.--> +<!ELEMENT edition %ho; (%docinfo.char.mix;)*> +<!--end of edition.element-->]]> + +<!ENTITY % edition.attlist "INCLUDE"> +<![%edition.attlist;[ +<!ATTLIST edition + %common.attrib; + %edition.role.attrib; + %local.edition.attrib; +> +<!--end of edition.attlist-->]]> +<!--end of edition.module-->]]> + +<!-- Editor ........................... --> + +<!ENTITY % editor.module "INCLUDE"> +<![%editor.module;[ +<!ENTITY % local.editor.attrib ""> +<!ENTITY % editor.role.attrib "%role.attrib;"> + +<!ENTITY % editor.element "INCLUDE"> +<![%editor.element;[ +<!--doc:The name of the editor of a document.--> +<!ELEMENT editor %ho; ((personname|(%person.ident.mix;)+),(personblurb|email|address)*)> +<!--end of editor.element-->]]> + +<!ENTITY % editor.attlist "INCLUDE"> +<![%editor.attlist;[ +<!ATTLIST editor + %common.attrib; + %editor.role.attrib; + %local.editor.attrib; +> +<!--end of editor.attlist-->]]> + <!--(see "Personal identity elements" for %person.ident.mix;)--> +<!--end of editor.module-->]]> + +<!-- ISBN ............................. --> + +<!ENTITY % isbn.module "INCLUDE"> +<![%isbn.module;[ +<!ENTITY % local.isbn.attrib ""> +<!ENTITY % isbn.role.attrib "%role.attrib;"> + +<!ENTITY % isbn.element "INCLUDE"> +<![%isbn.element;[ +<!--doc:The International Standard Book Number of a document.--> +<!ELEMENT isbn %ho; (%docinfo.char.mix;)*> +<!--end of isbn.element-->]]> + +<!ENTITY % isbn.attlist "INCLUDE"> +<![%isbn.attlist;[ +<!ATTLIST isbn + %common.attrib; + %isbn.role.attrib; + %local.isbn.attrib; +> +<!--end of isbn.attlist-->]]> +<!--end of isbn.module-->]]> + +<!-- ISSN ............................. --> + +<!ENTITY % issn.module "INCLUDE"> +<![%issn.module;[ +<!ENTITY % local.issn.attrib ""> +<!ENTITY % issn.role.attrib "%role.attrib;"> + +<!ENTITY % issn.element "INCLUDE"> +<![%issn.element;[ +<!--doc:The International Standard Serial Number of a periodical.--> +<!ELEMENT issn %ho; (%docinfo.char.mix;)*> +<!--end of issn.element-->]]> + +<!ENTITY % issn.attlist "INCLUDE"> +<![%issn.attlist;[ +<!ATTLIST issn + %common.attrib; + %issn.role.attrib; + %local.issn.attrib; +> +<!--end of issn.attlist-->]]> +<!--end of issn.module-->]]> + +<!-- BiblioId ................. --> +<!ENTITY % biblio.class.attrib + "class (uri + |doi + |isbn + |isrn + |issn + |libraryofcongress + |pubnumber + |other) #IMPLIED + otherclass CDATA #IMPLIED" +> + +<!ENTITY % biblioid.module "INCLUDE"> +<![%biblioid.module;[ +<!ENTITY % local.biblioid.attrib ""> +<!ENTITY % biblioid.role.attrib "%role.attrib;"> + +<!ENTITY % biblioid.element "INCLUDE"> +<![%biblioid.element;[ +<!--doc:An identifier for a document.--> +<!ELEMENT biblioid %ho; (%docinfo.char.mix;)*> +<!--end of biblioid.element-->]]> + +<!ENTITY % biblioid.attlist "INCLUDE"> +<![%biblioid.attlist;[ +<!ATTLIST biblioid + %biblio.class.attrib; + %common.attrib; + %biblioid.role.attrib; + %local.biblioid.attrib; +> +<!--end of biblioid.attlist-->]]> +<!--end of biblioid.module-->]]> + +<!-- CiteBiblioId ................. --> + +<!ENTITY % citebiblioid.module "INCLUDE"> +<![%citebiblioid.module;[ +<!ENTITY % local.citebiblioid.attrib ""> +<!ENTITY % citebiblioid.role.attrib "%role.attrib;"> + +<!ENTITY % citebiblioid.element "INCLUDE"> +<![%citebiblioid.element;[ +<!--doc:A citation of a bibliographic identifier.--> +<!ELEMENT citebiblioid %ho; (%docinfo.char.mix;)*> +<!--end of citebiblioid.element-->]]> + +<!ENTITY % citebiblioid.attlist "INCLUDE"> +<![%citebiblioid.attlist;[ +<!ATTLIST citebiblioid + %biblio.class.attrib; + %common.attrib; + %citebiblioid.role.attrib; + %local.citebiblioid.attrib; +> +<!--end of citebiblioid.attlist-->]]> +<!--end of citebiblioid.module-->]]> + +<!-- BiblioSource ................. --> + +<!ENTITY % bibliosource.module "INCLUDE"> +<![%bibliosource.module;[ +<!ENTITY % local.bibliosource.attrib ""> +<!ENTITY % bibliosource.role.attrib "%role.attrib;"> + +<!ENTITY % bibliosource.element "INCLUDE"> +<![%bibliosource.element;[ +<!--doc:The source of a document.--> +<!ELEMENT bibliosource %ho; (%docinfo.char.mix;)*> +<!--end of bibliosource.element-->]]> + +<!ENTITY % bibliosource.attlist "INCLUDE"> +<![%bibliosource.attlist;[ +<!ATTLIST bibliosource + %biblio.class.attrib; + %common.attrib; + %bibliosource.role.attrib; + %local.bibliosource.attrib; +> +<!--end of bibliosource.attlist-->]]> +<!--end of bibliosource.module-->]]> + +<!-- BiblioRelation ................. --> + +<!ENTITY % bibliorelation.module "INCLUDE"> +<![%bibliorelation.module;[ +<!ENTITY % local.bibliorelation.attrib ""> +<!ENTITY % local.bibliorelation.types ""> + +<!ENTITY % bibliorelation.type.attrib + "type (isversionof + |hasversion + |isreplacedby + |replaces + |isrequiredby + |requires + |ispartof + |haspart + |isreferencedby + |references + |isformatof + |hasformat + |othertype + %local.bibliorelation.types;) #IMPLIED + othertype CDATA #IMPLIED +"> + +<!ENTITY % bibliorelation.role.attrib "%role.attrib;"> + +<!ENTITY % bibliorelation.element "INCLUDE"> +<![%bibliorelation.element;[ +<!--doc:The relationship of a document to another.--> +<!ELEMENT bibliorelation %ho; (%docinfo.char.mix;)*> +<!--end of bibliorelation.element-->]]> + +<!ENTITY % bibliorelation.attlist "INCLUDE"> +<![%bibliorelation.attlist;[ +<!ATTLIST bibliorelation + %biblio.class.attrib; + %bibliorelation.type.attrib; + %common.attrib; + %bibliorelation.role.attrib; + %local.bibliorelation.attrib; +> +<!--end of bibliorelation.attlist-->]]> +<!--end of bibliorelation.module-->]]> + +<!-- BiblioCoverage ................. --> + +<!ENTITY % bibliocoverage.module "INCLUDE"> +<![%bibliocoverage.module;[ +<!ENTITY % local.bibliocoverage.attrib ""> +<!ENTITY % bibliocoverage.role.attrib "%role.attrib;"> + +<!ENTITY % bibliocoverage.element "INCLUDE"> +<![%bibliocoverage.element;[ +<!--doc:The spatial or temporal coverage of a document.--> +<!ELEMENT bibliocoverage %ho; (%docinfo.char.mix;)*> +<!--end of bibliocoverage.element-->]]> + +<!ENTITY % bibliocoverage.attlist "INCLUDE"> +<![%bibliocoverage.attlist;[ +<!ATTLIST bibliocoverage + spatial (dcmipoint|iso3166|dcmibox|tgn|otherspatial) #IMPLIED + otherspatial CDATA #IMPLIED + temporal (dcmiperiod|w3c-dtf|othertemporal) #IMPLIED + othertemporal CDATA #IMPLIED + %common.attrib; + %bibliocoverage.role.attrib; + %local.bibliocoverage.attrib; +> +<!--end of bibliocoverage.attlist-->]]> +<!--end of bibliocoverage.module-->]]> + +<!-- InvPartNumber .................... --> + +<!ENTITY % invpartnumber.module "INCLUDE"> +<![%invpartnumber.module;[ +<!ENTITY % local.invpartnumber.attrib ""> +<!ENTITY % invpartnumber.role.attrib "%role.attrib;"> + +<!ENTITY % invpartnumber.element "INCLUDE"> +<![%invpartnumber.element;[ +<!--doc:An inventory part number.--> +<!ELEMENT invpartnumber %ho; (%docinfo.char.mix;)*> +<!--end of invpartnumber.element-->]]> + +<!ENTITY % invpartnumber.attlist "INCLUDE"> +<![%invpartnumber.attlist;[ +<!ATTLIST invpartnumber + %common.attrib; + %invpartnumber.role.attrib; + %local.invpartnumber.attrib; +> +<!--end of invpartnumber.attlist-->]]> +<!--end of invpartnumber.module-->]]> + +<!-- IssueNum ......................... --> + +<!ENTITY % issuenum.module "INCLUDE"> +<![%issuenum.module;[ +<!ENTITY % local.issuenum.attrib ""> +<!ENTITY % issuenum.role.attrib "%role.attrib;"> + +<!ENTITY % issuenum.element "INCLUDE"> +<![%issuenum.element;[ +<!--doc:The number of an issue of a journal.--> +<!ELEMENT issuenum %ho; (%docinfo.char.mix;)*> +<!--end of issuenum.element-->]]> + +<!ENTITY % issuenum.attlist "INCLUDE"> +<![%issuenum.attlist;[ +<!ATTLIST issuenum + %common.attrib; + %issuenum.role.attrib; + %local.issuenum.attrib; +> +<!--end of issuenum.attlist-->]]> +<!--end of issuenum.module-->]]> + +<!-- LegalNotice ...................... --> + +<!ENTITY % legalnotice.module "INCLUDE"> +<![%legalnotice.module;[ +<!ENTITY % local.legalnotice.attrib ""> +<!ENTITY % legalnotice.role.attrib "%role.attrib;"> + +<!ENTITY % legalnotice.element "INCLUDE"> +<![%legalnotice.element;[ +<!--doc:A statement of legal obligations or requirements.--> +<!ELEMENT legalnotice %ho; (blockinfo?, title?, (%legalnotice.mix;)+) + %formal.exclusion;> +<!--end of legalnotice.element-->]]> + +<!ENTITY % legalnotice.attlist "INCLUDE"> +<![%legalnotice.attlist;[ +<!ATTLIST legalnotice + %common.attrib; + %legalnotice.role.attrib; + %local.legalnotice.attrib; +> +<!--end of legalnotice.attlist-->]]> +<!--end of legalnotice.module-->]]> + +<!-- ModeSpec ......................... --> + +<!ENTITY % modespec.module "INCLUDE"> +<![%modespec.module;[ +<!ENTITY % local.modespec.attrib ""> +<!ENTITY % modespec.role.attrib "%role.attrib;"> + +<!ENTITY % modespec.element "INCLUDE"> +<![%modespec.element;[ +<!--doc:Application-specific information necessary for the completion of an OLink.--> +<!ELEMENT modespec %ho; (%docinfo.char.mix;)* + %ubiq.exclusion;> +<!--end of modespec.element-->]]> + +<!-- Application: Type of action required for completion + of the links to which the ModeSpec is relevant (e.g., + retrieval query) --> + + +<!ENTITY % modespec.attlist "INCLUDE"> +<![%modespec.attlist;[ +<!ATTLIST modespec + application NOTATION + (%notation.class;) #IMPLIED + %common.attrib; + %modespec.role.attrib; + %local.modespec.attrib; +> +<!--end of modespec.attlist-->]]> +<!--end of modespec.module-->]]> + +<!-- OrgName .......................... --> + +<!ENTITY % orgname.module "INCLUDE"> +<![%orgname.module;[ +<!ENTITY % local.orgname.attrib ""> +<!ENTITY % orgname.role.attrib "%role.attrib;"> + +<!ENTITY % orgname.element "INCLUDE"> +<![%orgname.element;[ +<!--doc:The name of an organization other than a corporation.--> +<!ELEMENT orgname %ho; (%docinfo.char.mix;)*> +<!--end of orgname.element-->]]> + +<!ENTITY % orgname.attlist "INCLUDE"> +<![%orgname.attlist;[ +<!ATTLIST orgname + %common.attrib; + class (corporation|nonprofit|consortium|informal|other) #IMPLIED + otherclass CDATA #IMPLIED + %orgname.role.attrib; + %local.orgname.attrib; +> +<!--end of orgname.attlist-->]]> +<!--end of orgname.module-->]]> + +<!-- OtherCredit ...................... --> + +<!ENTITY % othercredit.module "INCLUDE"> +<![%othercredit.module;[ +<!ENTITY % local.othercredit.attrib ""> +<!ENTITY % othercredit.role.attrib "%role.attrib;"> + +<!ENTITY % othercredit.element "INCLUDE"> +<![%othercredit.element;[ +<!--doc:A person or entity, other than an author or editor, credited in a document.--> +<!ELEMENT othercredit %ho; ((personname|(%person.ident.mix;)+), + (personblurb|email|address)*)> +<!--end of othercredit.element-->]]> + +<!ENTITY % othercredit.attlist "INCLUDE"> +<![%othercredit.attlist;[ +<!ATTLIST othercredit + class (graphicdesigner + |productioneditor + |copyeditor + |technicaleditor + |translator + |other) #IMPLIED + %common.attrib; + %othercredit.role.attrib; + %local.othercredit.attrib; +> +<!--end of othercredit.attlist-->]]> + <!--(see "Personal identity elements" for %person.ident.mix;)--> +<!--end of othercredit.module-->]]> + +<!-- PageNums ......................... --> + +<!ENTITY % pagenums.module "INCLUDE"> +<![%pagenums.module;[ +<!ENTITY % local.pagenums.attrib ""> +<!ENTITY % pagenums.role.attrib "%role.attrib;"> + +<!ENTITY % pagenums.element "INCLUDE"> +<![%pagenums.element;[ +<!--doc:The numbers of the pages in a book, for use in a bibliographic entry.--> +<!ELEMENT pagenums %ho; (%docinfo.char.mix;)*> +<!--end of pagenums.element-->]]> + +<!ENTITY % pagenums.attlist "INCLUDE"> +<![%pagenums.attlist;[ +<!ATTLIST pagenums + %common.attrib; + %pagenums.role.attrib; + %local.pagenums.attrib; +> +<!--end of pagenums.attlist-->]]> +<!--end of pagenums.module-->]]> + +<!-- Personal identity elements ....... --> + +<!-- These elements are used only within Author, Editor, and +OtherCredit. --> + +<!ENTITY % person.ident.module "INCLUDE"> +<![%person.ident.module;[ + <!ENTITY % contrib.module "INCLUDE"> + <![%contrib.module;[ + <!ENTITY % local.contrib.attrib ""> + <!ENTITY % contrib.role.attrib "%role.attrib;"> + +<!ENTITY % contrib.element "INCLUDE"> +<![%contrib.element;[ +<!--doc:A summary of the contributions made to a document by a credited source.--> +<!ELEMENT contrib %ho; (%docinfo.char.mix;)*> +<!--end of contrib.element-->]]> + +<!ENTITY % contrib.attlist "INCLUDE"> +<![%contrib.attlist;[ +<!ATTLIST contrib + %common.attrib; + %contrib.role.attrib; + %local.contrib.attrib; +> +<!--end of contrib.attlist-->]]> + <!--end of contrib.module-->]]> + + <!ENTITY % firstname.module "INCLUDE"> + <![%firstname.module;[ + <!ENTITY % local.firstname.attrib ""> + <!ENTITY % firstname.role.attrib "%role.attrib;"> + +<!ENTITY % firstname.element "INCLUDE"> +<![%firstname.element;[ +<!--doc:The first name of a person.--> +<!ELEMENT firstname %ho; (%docinfo.char.mix;)*> +<!--end of firstname.element-->]]> + +<!ENTITY % firstname.attlist "INCLUDE"> +<![%firstname.attlist;[ +<!ATTLIST firstname + %common.attrib; + %firstname.role.attrib; + %local.firstname.attrib; +> +<!--end of firstname.attlist-->]]> + <!--end of firstname.module-->]]> + + <!ENTITY % honorific.module "INCLUDE"> + <![%honorific.module;[ + <!ENTITY % local.honorific.attrib ""> + <!ENTITY % honorific.role.attrib "%role.attrib;"> + +<!ENTITY % honorific.element "INCLUDE"> +<![%honorific.element;[ +<!--doc:The title of a person.--> +<!ELEMENT honorific %ho; (%docinfo.char.mix;)*> +<!--end of honorific.element-->]]> + +<!ENTITY % honorific.attlist "INCLUDE"> +<![%honorific.attlist;[ +<!ATTLIST honorific + %common.attrib; + %honorific.role.attrib; + %local.honorific.attrib; +> +<!--end of honorific.attlist-->]]> + <!--end of honorific.module-->]]> + + <!ENTITY % lineage.module "INCLUDE"> + <![%lineage.module;[ + <!ENTITY % local.lineage.attrib ""> + <!ENTITY % lineage.role.attrib "%role.attrib;"> + +<!ENTITY % lineage.element "INCLUDE"> +<![%lineage.element;[ +<!--doc:The portion of a person's name indicating a relationship to ancestors.--> +<!ELEMENT lineage %ho; (%docinfo.char.mix;)*> +<!--end of lineage.element-->]]> + +<!ENTITY % lineage.attlist "INCLUDE"> +<![%lineage.attlist;[ +<!ATTLIST lineage + %common.attrib; + %lineage.role.attrib; + %local.lineage.attrib; +> +<!--end of lineage.attlist-->]]> + <!--end of lineage.module-->]]> + + <!ENTITY % othername.module "INCLUDE"> + <![%othername.module;[ + <!ENTITY % local.othername.attrib ""> + <!ENTITY % othername.role.attrib "%role.attrib;"> + +<!ENTITY % othername.element "INCLUDE"> +<![%othername.element;[ +<!--doc:A component of a persons name that is not a first name, surname, or lineage.--> +<!ELEMENT othername %ho; (%docinfo.char.mix;)*> +<!--end of othername.element-->]]> + +<!ENTITY % othername.attlist "INCLUDE"> +<![%othername.attlist;[ +<!ATTLIST othername + %common.attrib; + %othername.role.attrib; + %local.othername.attrib; +> +<!--end of othername.attlist-->]]> + <!--end of othername.module-->]]> + + <!ENTITY % surname.module "INCLUDE"> + <![%surname.module;[ + <!ENTITY % local.surname.attrib ""> + <!ENTITY % surname.role.attrib "%role.attrib;"> + +<!ENTITY % surname.element "INCLUDE"> +<![%surname.element;[ +<!--doc:A family name; in western cultures the last name.--> +<!ELEMENT surname %ho; (%docinfo.char.mix;)*> +<!--end of surname.element-->]]> + +<!ENTITY % surname.attlist "INCLUDE"> +<![%surname.attlist;[ +<!ATTLIST surname + %common.attrib; + %surname.role.attrib; + %local.surname.attrib; +> +<!--end of surname.attlist-->]]> + <!--end of surname.module-->]]> +<!--end of person.ident.module-->]]> + +<!-- PrintHistory ..................... --> + +<!ENTITY % printhistory.module "INCLUDE"> +<![%printhistory.module;[ +<!ENTITY % local.printhistory.attrib ""> +<!ENTITY % printhistory.role.attrib "%role.attrib;"> + +<!ENTITY % printhistory.element "INCLUDE"> +<![%printhistory.element;[ +<!--doc:The printing history of a document.--> +<!ELEMENT printhistory %ho; ((%para.class;)+)> +<!--end of printhistory.element-->]]> + +<!ENTITY % printhistory.attlist "INCLUDE"> +<![%printhistory.attlist;[ +<!ATTLIST printhistory + %common.attrib; + %printhistory.role.attrib; + %local.printhistory.attrib; +> +<!--end of printhistory.attlist-->]]> +<!--end of printhistory.module-->]]> + +<!-- ProductName ...................... --> + +<!ENTITY % productname.module "INCLUDE"> +<![%productname.module;[ +<!ENTITY % local.productname.attrib ""> +<!ENTITY % productname.role.attrib "%role.attrib;"> + +<!ENTITY % productname.element "INCLUDE"> +<![%productname.element;[ +<!--doc:The formal name of a product.--> +<!ELEMENT productname %ho; (%para.char.mix;)*> +<!--end of productname.element-->]]> + +<!-- Class: More precisely identifies the item the element names --> + + +<!ENTITY % productname.attlist "INCLUDE"> +<![%productname.attlist;[ +<!ATTLIST productname + class (service + |trade + |registered + |copyright) 'trade' + %common.attrib; + %productname.role.attrib; + %local.productname.attrib; +> +<!--end of productname.attlist-->]]> +<!--end of productname.module-->]]> + +<!-- ProductNumber .................... --> + +<!ENTITY % productnumber.module "INCLUDE"> +<![%productnumber.module;[ +<!ENTITY % local.productnumber.attrib ""> +<!ENTITY % productnumber.role.attrib "%role.attrib;"> + +<!ENTITY % productnumber.element "INCLUDE"> +<![%productnumber.element;[ +<!--doc:A number assigned to a product.--> +<!ELEMENT productnumber %ho; (%docinfo.char.mix;)*> +<!--end of productnumber.element-->]]> + +<!ENTITY % productnumber.attlist "INCLUDE"> +<![%productnumber.attlist;[ +<!ATTLIST productnumber + %common.attrib; + %productnumber.role.attrib; + %local.productnumber.attrib; +> +<!--end of productnumber.attlist-->]]> +<!--end of productnumber.module-->]]> + +<!-- PubDate .......................... --> + +<!ENTITY % pubdate.module "INCLUDE"> +<![%pubdate.module;[ +<!ENTITY % local.pubdate.attrib ""> +<!ENTITY % pubdate.role.attrib "%role.attrib;"> + +<!ENTITY % pubdate.element "INCLUDE"> +<![%pubdate.element;[ +<!--doc:The date of publication of a document.--> +<!ELEMENT pubdate %ho; (%docinfo.char.mix;)*> +<!--end of pubdate.element-->]]> + +<!ENTITY % pubdate.attlist "INCLUDE"> +<![%pubdate.attlist;[ +<!ATTLIST pubdate + %common.attrib; + %pubdate.role.attrib; + %local.pubdate.attrib; +> +<!--end of pubdate.attlist-->]]> +<!--end of pubdate.module-->]]> + +<!-- Publisher ........................ --> + +<!ENTITY % publisher.content.module "INCLUDE"> +<![%publisher.content.module;[ +<!ENTITY % publisher.module "INCLUDE"> +<![%publisher.module;[ +<!ENTITY % local.publisher.attrib ""> +<!ENTITY % publisher.role.attrib "%role.attrib;"> + +<!ENTITY % publisher.element "INCLUDE"> +<![%publisher.element;[ +<!--doc:The publisher of a document.--> +<!ELEMENT publisher %ho; (publishername, address*)> +<!--end of publisher.element-->]]> + +<!ENTITY % publisher.attlist "INCLUDE"> +<![%publisher.attlist;[ +<!ATTLIST publisher + %common.attrib; + %publisher.role.attrib; + %local.publisher.attrib; +> +<!--end of publisher.attlist-->]]> +<!--end of publisher.module-->]]> + + <!ENTITY % publishername.module "INCLUDE"> + <![%publishername.module;[ + <!ENTITY % local.publishername.attrib ""> + <!ENTITY % publishername.role.attrib "%role.attrib;"> + +<!ENTITY % publishername.element "INCLUDE"> +<![%publishername.element;[ +<!--doc:The name of the publisher of a document.--> +<!ELEMENT publishername %ho; (%docinfo.char.mix;)*> +<!--end of publishername.element-->]]> + +<!ENTITY % publishername.attlist "INCLUDE"> +<![%publishername.attlist;[ +<!ATTLIST publishername + %common.attrib; + %publishername.role.attrib; + %local.publishername.attrib; +> +<!--end of publishername.attlist-->]]> + <!--end of publishername.module-->]]> + + <!-- Address (defined elsewhere in this section)--> +<!--end of publisher.content.module-->]]> + +<!-- PubsNumber ....................... --> + +<!ENTITY % pubsnumber.module "INCLUDE"> +<![%pubsnumber.module;[ +<!ENTITY % local.pubsnumber.attrib ""> +<!ENTITY % pubsnumber.role.attrib "%role.attrib;"> + +<!ENTITY % pubsnumber.element "INCLUDE"> +<![%pubsnumber.element;[ +<!--doc:A number assigned to a publication other than an ISBN or ISSN or inventory part number.--> +<!ELEMENT pubsnumber %ho; (%docinfo.char.mix;)*> +<!--end of pubsnumber.element-->]]> + +<!ENTITY % pubsnumber.attlist "INCLUDE"> +<![%pubsnumber.attlist;[ +<!ATTLIST pubsnumber + %common.attrib; + %pubsnumber.role.attrib; + %local.pubsnumber.attrib; +> +<!--end of pubsnumber.attlist-->]]> +<!--end of pubsnumber.module-->]]> + +<!-- ReleaseInfo ...................... --> + +<!ENTITY % releaseinfo.module "INCLUDE"> +<![%releaseinfo.module;[ +<!ENTITY % local.releaseinfo.attrib ""> +<!ENTITY % releaseinfo.role.attrib "%role.attrib;"> + +<!ENTITY % releaseinfo.element "INCLUDE"> +<![%releaseinfo.element;[ +<!--doc:Information about a particular release of a document.--> +<!ELEMENT releaseinfo %ho; (%docinfo.char.mix;)*> +<!--end of releaseinfo.element-->]]> + +<!ENTITY % releaseinfo.attlist "INCLUDE"> +<![%releaseinfo.attlist;[ +<!ATTLIST releaseinfo + %common.attrib; + %releaseinfo.role.attrib; + %local.releaseinfo.attrib; +> +<!--end of releaseinfo.attlist-->]]> +<!--end of releaseinfo.module-->]]> + +<!-- RevHistory ....................... --> + +<!ENTITY % revhistory.content.module "INCLUDE"> +<![%revhistory.content.module;[ +<!ENTITY % revhistory.module "INCLUDE"> +<![%revhistory.module;[ +<!ENTITY % local.revhistory.attrib ""> +<!ENTITY % revhistory.role.attrib "%role.attrib;"> + +<!ENTITY % revhistory.element "INCLUDE"> +<![%revhistory.element;[ +<!--doc:A history of the revisions to a document.--> +<!ELEMENT revhistory %ho; (revision+)> +<!--end of revhistory.element-->]]> + +<!ENTITY % revhistory.attlist "INCLUDE"> +<![%revhistory.attlist;[ +<!ATTLIST revhistory + %common.attrib; + %revhistory.role.attrib; + %local.revhistory.attrib; +> +<!--end of revhistory.attlist-->]]> +<!--end of revhistory.module-->]]> + +<!ENTITY % revision.module "INCLUDE"> +<![%revision.module;[ +<!ENTITY % local.revision.attrib ""> +<!ENTITY % revision.role.attrib "%role.attrib;"> + +<!ENTITY % revision.element "INCLUDE"> +<![%revision.element;[ +<!--doc:An entry describing a single revision in the history of the revisions to a document.--> +<!ELEMENT revision %ho; (revnumber?, date, (author|authorinitials)*, + (revremark|revdescription)?)> +<!--end of revision.element-->]]> + +<!ENTITY % revision.attlist "INCLUDE"> +<![%revision.attlist;[ +<!ATTLIST revision + %common.attrib; + %revision.role.attrib; + %local.revision.attrib; +> +<!--end of revision.attlist-->]]> +<!--end of revision.module-->]]> + +<!ENTITY % revnumber.module "INCLUDE"> +<![%revnumber.module;[ +<!ENTITY % local.revnumber.attrib ""> +<!ENTITY % revnumber.role.attrib "%role.attrib;"> + +<!ENTITY % revnumber.element "INCLUDE"> +<![%revnumber.element;[ +<!--doc:A document revision number.--> +<!ELEMENT revnumber %ho; (%docinfo.char.mix;)*> +<!--end of revnumber.element-->]]> + +<!ENTITY % revnumber.attlist "INCLUDE"> +<![%revnumber.attlist;[ +<!ATTLIST revnumber + %common.attrib; + %revnumber.role.attrib; + %local.revnumber.attrib; +> +<!--end of revnumber.attlist-->]]> +<!--end of revnumber.module-->]]> + +<!-- Date (defined elsewhere in this section)--> +<!-- AuthorInitials (defined elsewhere in this section)--> + +<!ENTITY % revremark.module "INCLUDE"> +<![%revremark.module;[ +<!ENTITY % local.revremark.attrib ""> +<!ENTITY % revremark.role.attrib "%role.attrib;"> + +<!ENTITY % revremark.element "INCLUDE"> +<![%revremark.element;[ +<!--doc:A description of a revision to a document.--> +<!ELEMENT revremark %ho; (%docinfo.char.mix;)*> +<!--end of revremark.element-->]]> + +<!ENTITY % revremark.attlist "INCLUDE"> +<![%revremark.attlist;[ +<!ATTLIST revremark + %common.attrib; + %revremark.role.attrib; + %local.revremark.attrib; +> +<!--end of revremark.attlist-->]]> +<!--end of revremark.module-->]]> + +<!ENTITY % revdescription.module "INCLUDE"> +<![ %revdescription.module; [ +<!ENTITY % local.revdescription.attrib ""> +<!ENTITY % revdescription.role.attrib "%role.attrib;"> + +<!ENTITY % revdescription.element "INCLUDE"> +<![ %revdescription.element; [ +<!--doc:A extended description of a revision to a document.--> +<!ELEMENT revdescription %ho; ((%revdescription.mix;)+)> +<!--end of revdescription.element-->]]> + +<!ENTITY % revdescription.attlist "INCLUDE"> +<![ %revdescription.attlist; [ +<!ATTLIST revdescription + %common.attrib; + %revdescription.role.attrib; + %local.revdescription.attrib; +> +<!--end of revdescription.attlist-->]]> +<!--end of revdescription.module-->]]> +<!--end of revhistory.content.module-->]]> + +<!-- SeriesVolNums .................... --> + +<!ENTITY % seriesvolnums.module "INCLUDE"> +<![%seriesvolnums.module;[ +<!ENTITY % local.seriesvolnums.attrib ""> +<!ENTITY % seriesvolnums.role.attrib "%role.attrib;"> + +<!ENTITY % seriesvolnums.element "INCLUDE"> +<![%seriesvolnums.element;[ +<!--doc:Numbers of the volumes in a series of books.--> +<!ELEMENT seriesvolnums %ho; (%docinfo.char.mix;)*> +<!--end of seriesvolnums.element-->]]> + +<!ENTITY % seriesvolnums.attlist "INCLUDE"> +<![%seriesvolnums.attlist;[ +<!ATTLIST seriesvolnums + %common.attrib; + %seriesvolnums.role.attrib; + %local.seriesvolnums.attrib; +> +<!--end of seriesvolnums.attlist-->]]> +<!--end of seriesvolnums.module-->]]> + +<!-- VolumeNum ........................ --> + +<!ENTITY % volumenum.module "INCLUDE"> +<![%volumenum.module;[ +<!ENTITY % local.volumenum.attrib ""> +<!ENTITY % volumenum.role.attrib "%role.attrib;"> + +<!ENTITY % volumenum.element "INCLUDE"> +<![%volumenum.element;[ +<!--doc:The volume number of a document in a set (as of books in a set or articles in a journal).--> +<!ELEMENT volumenum %ho; (%docinfo.char.mix;)*> +<!--end of volumenum.element-->]]> + +<!ENTITY % volumenum.attlist "INCLUDE"> +<![%volumenum.attlist;[ +<!ATTLIST volumenum + %common.attrib; + %volumenum.role.attrib; + %local.volumenum.attrib; +> +<!--end of volumenum.attlist-->]]> +<!--end of volumenum.module-->]]> + +<!-- .................................. --> + +<!--end of docinfo.content.module-->]]> + +<!-- ...................................................................... --> +<!-- Inline, link, and ubiquitous elements ................................ --> + +<!-- Technical and computer terms ......................................... --> + +<!ENTITY % accel.module "INCLUDE"> +<![%accel.module;[ +<!ENTITY % local.accel.attrib ""> +<!ENTITY % accel.role.attrib "%role.attrib;"> + +<!ENTITY % accel.element "INCLUDE"> +<![%accel.element;[ +<!--doc:A graphical user interface (GUI) keyboard shortcut.--> +<!ELEMENT accel %ho; (%smallcptr.char.mix;)*> +<!--end of accel.element-->]]> + +<!ENTITY % accel.attlist "INCLUDE"> +<![%accel.attlist;[ +<!ATTLIST accel + %common.attrib; + %accel.role.attrib; + %local.accel.attrib; +> +<!--end of accel.attlist-->]]> +<!--end of accel.module-->]]> + +<!ENTITY % action.module "INCLUDE"> +<![%action.module;[ +<!ENTITY % local.action.attrib ""> +<!ENTITY % action.role.attrib "%role.attrib;"> + +<!ENTITY % action.element "INCLUDE"> +<![%action.element;[ +<!--doc:A response to a user event.--> +<!ELEMENT action %ho; (%cptr.char.mix;)*> +<!--end of action.element-->]]> + +<!ENTITY % action.attlist "INCLUDE"> +<![%action.attlist;[ +<!ATTLIST action + %moreinfo.attrib; + %common.attrib; + %action.role.attrib; + %local.action.attrib; +> +<!--end of action.attlist-->]]> +<!--end of action.module-->]]> + +<!ENTITY % application.module "INCLUDE"> +<![%application.module;[ +<!ENTITY % local.application.attrib ""> +<!ENTITY % application.role.attrib "%role.attrib;"> + +<!ENTITY % application.element "INCLUDE"> +<![%application.element;[ +<!--doc:The name of a software program.--> +<!ELEMENT application %ho; (%para.char.mix;)*> +<!--end of application.element-->]]> + +<!ENTITY % application.attlist "INCLUDE"> +<![%application.attlist;[ +<!ATTLIST application + class (hardware + |software) #IMPLIED + %moreinfo.attrib; + %common.attrib; + %application.role.attrib; + %local.application.attrib; +> +<!--end of application.attlist-->]]> +<!--end of application.module-->]]> + +<!ENTITY % classname.module "INCLUDE"> +<![%classname.module;[ +<!ENTITY % local.classname.attrib ""> +<!ENTITY % classname.role.attrib "%role.attrib;"> + +<!ENTITY % classname.element "INCLUDE"> +<![%classname.element;[ +<!--doc:The name of a class, in the object-oriented programming sense.--> +<!ELEMENT classname %ho; (%smallcptr.char.mix;)*> +<!--end of classname.element-->]]> + +<!ENTITY % classname.attlist "INCLUDE"> +<![%classname.attlist;[ +<!ATTLIST classname + %common.attrib; + %classname.role.attrib; + %local.classname.attrib; +> +<!--end of classname.attlist-->]]> +<!--end of classname.module-->]]> + +<!ENTITY % package.module "INCLUDE"> +<![%package.module;[ +<!ENTITY % local.package.attrib ""> +<!ENTITY % package.role.attrib "%role.attrib;"> + +<!ENTITY % package.element "INCLUDE"> +<![%package.element;[ +<!--doc:A package.--> +<!ELEMENT package %ho; (%smallcptr.char.mix;)*> +<!--end of package.element-->]]> + +<!ENTITY % package.attlist "INCLUDE"> +<![%package.attlist;[ +<!ATTLIST package + %common.attrib; + %package.role.attrib; + %local.package.attrib; +> +<!--end of package.attlist-->]]> +<!--end of package.module-->]]> + +<!ENTITY % co.module "INCLUDE"> +<![%co.module;[ +<!ENTITY % local.co.attrib ""> +<!-- CO is a callout area of the LineColumn unit type (a single character + position); the position is directly indicated by the location of CO. --> +<!ENTITY % co.role.attrib "%role.attrib;"> + +<!ENTITY % co.element "INCLUDE"> +<![%co.element;[ +<!--doc:The location of a callout embedded in text.--> +<!ELEMENT co %ho; EMPTY> +<!--end of co.element-->]]> + +<!-- bug number/symbol override or initialization --> +<!-- to any related information --> + + +<!ENTITY % co.attlist "INCLUDE"> +<![%co.attlist;[ +<!ATTLIST co + %label.attrib; + %linkends.attrib; + %idreq.common.attrib; + %co.role.attrib; + %local.co.attrib; +> +<!--end of co.attlist-->]]> +<!--end of co.module-->]]> + +<!ENTITY % coref.module "INCLUDE"> +<![%coref.module;[ +<!ENTITY % local.coref.attrib ""> +<!-- COREF is a reference to a CO --> +<!ENTITY % coref.role.attrib "%role.attrib;"> + +<!ENTITY % coref.element "INCLUDE"> +<![%coref.element;[ +<!--doc:A cross reference to a co.--> +<!ELEMENT coref %ho; EMPTY> +<!--end of coref.element-->]]> + +<!-- bug number/symbol override or initialization --> +<!-- to any related information --> + +<!ENTITY % coref.attlist "INCLUDE"> +<![%coref.attlist;[ +<!ATTLIST coref + %label.attrib; + %linkendreq.attrib; + %common.attrib; + %coref.role.attrib; + %local.coref.attrib; +> +<!--end of coref.attlist-->]]> +<!--end of coref.module-->]]> + +<!ENTITY % command.module "INCLUDE"> +<![%command.module;[ +<!ENTITY % local.command.attrib ""> +<!ENTITY % command.role.attrib "%role.attrib;"> + +<!ENTITY % command.element "INCLUDE"> +<![%command.element;[ +<!--doc:The name of an executable program or other software command.--> +<!ELEMENT command %ho; (%cptr.char.mix;)*> +<!--end of command.element-->]]> + +<!ENTITY % command.attlist "INCLUDE"> +<![%command.attlist;[ +<!ATTLIST command + %moreinfo.attrib; + %common.attrib; + %command.role.attrib; + %local.command.attrib; +> +<!--end of command.attlist-->]]> +<!--end of command.module-->]]> + +<!ENTITY % computeroutput.module "INCLUDE"> +<![%computeroutput.module;[ +<!ENTITY % local.computeroutput.attrib ""> +<!ENTITY % computeroutput.role.attrib "%role.attrib;"> + +<!ENTITY % computeroutput.element "INCLUDE"> +<![%computeroutput.element;[ +<!--doc:Data, generally text, displayed or presented by a computer.--> +<!ELEMENT computeroutput %ho; (%cptr.char.mix;|co)*> +<!--end of computeroutput.element-->]]> + +<!ENTITY % computeroutput.attlist "INCLUDE"> +<![%computeroutput.attlist;[ +<!ATTLIST computeroutput + %moreinfo.attrib; + %common.attrib; + %computeroutput.role.attrib; + %local.computeroutput.attrib; +> +<!--end of computeroutput.attlist-->]]> +<!--end of computeroutput.module-->]]> + +<!ENTITY % database.module "INCLUDE"> +<![%database.module;[ +<!ENTITY % local.database.attrib ""> +<!ENTITY % database.role.attrib "%role.attrib;"> + +<!ENTITY % database.element "INCLUDE"> +<![%database.element;[ +<!--doc:The name of a database, or part of a database.--> +<!ELEMENT database %ho; (%cptr.char.mix;)*> +<!--end of database.element-->]]> + +<!-- Class: Type of database the element names; no default --> + + +<!ENTITY % database.attlist "INCLUDE"> +<![%database.attlist;[ +<!ATTLIST database + class (name + |table + |field + |key1 + |key2 + |record + |index + |view + |primarykey + |secondarykey + |foreignkey + |altkey + |procedure + |datatype + |constraint + |rule + |user + |group) #IMPLIED + %moreinfo.attrib; + %common.attrib; + %database.role.attrib; + %local.database.attrib; +> +<!--end of database.attlist-->]]> +<!--end of database.module-->]]> + +<!ENTITY % email.module "INCLUDE"> +<![%email.module;[ +<!ENTITY % local.email.attrib ""> +<!ENTITY % email.role.attrib "%role.attrib;"> + +<!ENTITY % email.element "INCLUDE"> +<![%email.element;[ +<!--doc:An email address.--> +<!ELEMENT email %ho; (%docinfo.char.mix;)*> +<!--end of email.element-->]]> + +<!ENTITY % email.attlist "INCLUDE"> +<![%email.attlist;[ +<!ATTLIST email + %common.attrib; + %email.role.attrib; + %local.email.attrib; +> +<!--end of email.attlist-->]]> +<!--end of email.module-->]]> + +<!ENTITY % envar.module "INCLUDE"> +<![%envar.module;[ +<!ENTITY % local.envar.attrib ""> +<!ENTITY % envar.role.attrib "%role.attrib;"> + +<!ENTITY % envar.element "INCLUDE"> +<![%envar.element;[ +<!--doc:A software environment variable.--> +<!ELEMENT envar %ho; (%smallcptr.char.mix;)*> +<!--end of envar.element-->]]> + +<!ENTITY % envar.attlist "INCLUDE"> +<![%envar.attlist;[ +<!ATTLIST envar + %common.attrib; + %envar.role.attrib; + %local.envar.attrib; +> +<!--end of envar.attlist-->]]> +<!--end of envar.module-->]]> + + +<!ENTITY % errorcode.module "INCLUDE"> +<![%errorcode.module;[ +<!ENTITY % local.errorcode.attrib ""> +<!ENTITY % errorcode.role.attrib "%role.attrib;"> + +<!ENTITY % errorcode.element "INCLUDE"> +<![%errorcode.element;[ +<!--doc:An error code.--> +<!ELEMENT errorcode %ho; (%smallcptr.char.mix;)*> +<!--end of errorcode.element-->]]> + +<!ENTITY % errorcode.attlist "INCLUDE"> +<![%errorcode.attlist;[ +<!ATTLIST errorcode + %moreinfo.attrib; + %common.attrib; + %errorcode.role.attrib; + %local.errorcode.attrib; +> +<!--end of errorcode.attlist-->]]> +<!--end of errorcode.module-->]]> + +<!ENTITY % errorname.module "INCLUDE"> +<![%errorname.module;[ +<!ENTITY % local.errorname.attrib ""> +<!ENTITY % errorname.role.attrib "%role.attrib;"> + +<!ENTITY % errorname.element "INCLUDE"> +<![%errorname.element;[ +<!--doc:An error name.--> +<!ELEMENT errorname %ho; (%smallcptr.char.mix;)*> +<!--end of errorname.element-->]]> + +<!ENTITY % errorname.attlist "INCLUDE"> +<![%errorname.attlist;[ +<!ATTLIST errorname + %common.attrib; + %errorname.role.attrib; + %local.errorname.attrib; +> +<!--end of errorname.attlist-->]]> +<!--end of errorname.module-->]]> + +<!ENTITY % errortext.module "INCLUDE"> +<![%errortext.module;[ +<!ENTITY % local.errortext.attrib ""> +<!ENTITY % errortext.role.attrib "%role.attrib;"> + +<!ENTITY % errortext.element "INCLUDE"> +<![%errortext.element;[ +<!--doc:An error message..--> +<!ELEMENT errortext %ho; (%smallcptr.char.mix;)*> +<!--end of errortext.element-->]]> + +<!ENTITY % errortext.attlist "INCLUDE"> +<![%errortext.attlist;[ +<!ATTLIST errortext + %common.attrib; + %errortext.role.attrib; + %local.errortext.attrib; +> +<!--end of errortext.attlist-->]]> +<!--end of errortext.module-->]]> + +<!ENTITY % errortype.module "INCLUDE"> +<![%errortype.module;[ +<!ENTITY % local.errortype.attrib ""> +<!ENTITY % errortype.role.attrib "%role.attrib;"> + +<!ENTITY % errortype.element "INCLUDE"> +<![%errortype.element;[ +<!--doc:The classification of an error message.--> +<!ELEMENT errortype %ho; (%smallcptr.char.mix;)*> +<!--end of errortype.element-->]]> + +<!ENTITY % errortype.attlist "INCLUDE"> +<![%errortype.attlist;[ +<!ATTLIST errortype + %common.attrib; + %errortype.role.attrib; + %local.errortype.attrib; +> +<!--end of errortype.attlist-->]]> +<!--end of errortype.module-->]]> + +<!ENTITY % filename.module "INCLUDE"> +<![%filename.module;[ +<!ENTITY % local.filename.attrib ""> +<!ENTITY % filename.role.attrib "%role.attrib;"> + +<!ENTITY % filename.element "INCLUDE"> +<![%filename.element;[ +<!--doc:The name of a file.--> +<!ELEMENT filename %ho; (%cptr.char.mix;)*> +<!--end of filename.element-->]]> + +<!-- Class: Type of filename the element names; no default --> +<!-- Path: Search path (possibly system-specific) in which + file can be found --> + + +<!ENTITY % filename.attlist "INCLUDE"> +<![%filename.attlist;[ +<!ATTLIST filename + class (headerfile + |partition + |devicefile + |libraryfile + |directory + |extension + |symlink) #IMPLIED + path CDATA #IMPLIED + %moreinfo.attrib; + %common.attrib; + %filename.role.attrib; + %local.filename.attrib; +> +<!--end of filename.attlist-->]]> +<!--end of filename.module-->]]> + +<!ENTITY % function.module "INCLUDE"> +<![%function.module;[ +<!ENTITY % local.function.attrib ""> +<!ENTITY % function.role.attrib "%role.attrib;"> + +<!ENTITY % function.element "INCLUDE"> +<![%function.element;[ +<!--doc:The name of a function or subroutine, as in a programming language.--> +<!ELEMENT function %ho; (%cptr.char.mix;)*> +<!--end of function.element-->]]> + +<!ENTITY % function.attlist "INCLUDE"> +<![%function.attlist;[ +<!ATTLIST function + %moreinfo.attrib; + %common.attrib; + %function.role.attrib; + %local.function.attrib; +> +<!--end of function.attlist-->]]> +<!--end of function.module-->]]> + +<!ENTITY % guibutton.module "INCLUDE"> +<![%guibutton.module;[ +<!ENTITY % local.guibutton.attrib ""> +<!ENTITY % guibutton.role.attrib "%role.attrib;"> + +<!ENTITY % guibutton.element "INCLUDE"> +<![%guibutton.element;[ +<!--doc:The text on a button in a GUI.--> +<!ELEMENT guibutton %ho; (%smallcptr.char.mix;|accel|superscript|subscript)*> +<!--end of guibutton.element-->]]> + +<!ENTITY % guibutton.attlist "INCLUDE"> +<![%guibutton.attlist;[ +<!ATTLIST guibutton + %moreinfo.attrib; + %common.attrib; + %guibutton.role.attrib; + %local.guibutton.attrib; +> +<!--end of guibutton.attlist-->]]> +<!--end of guibutton.module-->]]> + +<!ENTITY % guiicon.module "INCLUDE"> +<![%guiicon.module;[ +<!ENTITY % local.guiicon.attrib ""> +<!ENTITY % guiicon.role.attrib "%role.attrib;"> + +<!ENTITY % guiicon.element "INCLUDE"> +<![%guiicon.element;[ +<!--doc:Graphic and/or text appearing as a icon in a GUI.--> +<!ELEMENT guiicon %ho; (%smallcptr.char.mix;|accel|superscript|subscript)*> +<!--end of guiicon.element-->]]> + +<!ENTITY % guiicon.attlist "INCLUDE"> +<![%guiicon.attlist;[ +<!ATTLIST guiicon + %moreinfo.attrib; + %common.attrib; + %guiicon.role.attrib; + %local.guiicon.attrib; +> +<!--end of guiicon.attlist-->]]> +<!--end of guiicon.module-->]]> + +<!ENTITY % guilabel.module "INCLUDE"> +<![%guilabel.module;[ +<!ENTITY % local.guilabel.attrib ""> +<!ENTITY % guilabel.role.attrib "%role.attrib;"> + +<!ENTITY % guilabel.element "INCLUDE"> +<![%guilabel.element;[ +<!--doc:The text of a label in a GUI.--> +<!ELEMENT guilabel %ho; (%smallcptr.char.mix;|accel|superscript|subscript)*> +<!--end of guilabel.element-->]]> + +<!ENTITY % guilabel.attlist "INCLUDE"> +<![%guilabel.attlist;[ +<!ATTLIST guilabel + %moreinfo.attrib; + %common.attrib; + %guilabel.role.attrib; + %local.guilabel.attrib; +> +<!--end of guilabel.attlist-->]]> +<!--end of guilabel.module-->]]> + +<!ENTITY % guimenu.module "INCLUDE"> +<![%guimenu.module;[ +<!ENTITY % local.guimenu.attrib ""> +<!ENTITY % guimenu.role.attrib "%role.attrib;"> + +<!ENTITY % guimenu.element "INCLUDE"> +<![%guimenu.element;[ +<!--doc:The name of a menu in a GUI.--> +<!ELEMENT guimenu %ho; (%smallcptr.char.mix;|accel|superscript|subscript)*> +<!--end of guimenu.element-->]]> + +<!ENTITY % guimenu.attlist "INCLUDE"> +<![%guimenu.attlist;[ +<!ATTLIST guimenu + %moreinfo.attrib; + %common.attrib; + %guimenu.role.attrib; + %local.guimenu.attrib; +> +<!--end of guimenu.attlist-->]]> +<!--end of guimenu.module-->]]> + +<!ENTITY % guimenuitem.module "INCLUDE"> +<![%guimenuitem.module;[ +<!ENTITY % local.guimenuitem.attrib ""> +<!ENTITY % guimenuitem.role.attrib "%role.attrib;"> + +<!ENTITY % guimenuitem.element "INCLUDE"> +<![%guimenuitem.element;[ +<!--doc:The name of a terminal menu item in a GUI.--> +<!ELEMENT guimenuitem %ho; (%smallcptr.char.mix;|accel|superscript|subscript)*> +<!--end of guimenuitem.element-->]]> + +<!ENTITY % guimenuitem.attlist "INCLUDE"> +<![%guimenuitem.attlist;[ +<!ATTLIST guimenuitem + %moreinfo.attrib; + %common.attrib; + %guimenuitem.role.attrib; + %local.guimenuitem.attrib; +> +<!--end of guimenuitem.attlist-->]]> +<!--end of guimenuitem.module-->]]> + +<!ENTITY % guisubmenu.module "INCLUDE"> +<![%guisubmenu.module;[ +<!ENTITY % local.guisubmenu.attrib ""> +<!ENTITY % guisubmenu.role.attrib "%role.attrib;"> + +<!ENTITY % guisubmenu.element "INCLUDE"> +<![%guisubmenu.element;[ +<!--doc:The name of a submenu in a GUI.--> +<!ELEMENT guisubmenu %ho; (%smallcptr.char.mix;|accel|superscript|subscript)*> +<!--end of guisubmenu.element-->]]> + +<!ENTITY % guisubmenu.attlist "INCLUDE"> +<![%guisubmenu.attlist;[ +<!ATTLIST guisubmenu + %moreinfo.attrib; + %common.attrib; + %guisubmenu.role.attrib; + %local.guisubmenu.attrib; +> +<!--end of guisubmenu.attlist-->]]> +<!--end of guisubmenu.module-->]]> + +<!ENTITY % hardware.module "INCLUDE"> +<![%hardware.module;[ +<!ENTITY % local.hardware.attrib ""> +<!ENTITY % hardware.role.attrib "%role.attrib;"> + +<!ENTITY % hardware.element "INCLUDE"> +<![%hardware.element;[ +<!--doc:A physical part of a computer system.--> +<!ELEMENT hardware %ho; (%cptr.char.mix;)*> +<!--end of hardware.element-->]]> + +<!ENTITY % hardware.attlist "INCLUDE"> +<![%hardware.attlist;[ +<!ATTLIST hardware + %moreinfo.attrib; + %common.attrib; + %hardware.role.attrib; + %local.hardware.attrib; +> +<!--end of hardware.attlist-->]]> +<!--end of hardware.module-->]]> + +<!ENTITY % interface.module "INCLUDE"> +<![%interface.module;[ +<!ENTITY % local.interface.attrib ""> +<!ENTITY % interface.role.attrib "%role.attrib;"> + +<!ENTITY % interface.element "INCLUDE"> +<![%interface.element;[ +<!--doc:An element of a GUI.--> +<!ELEMENT interface %ho; (%smallcptr.char.mix;|accel)*> +<!--end of interface.element-->]]> + +<!-- Class: Type of the Interface item; no default --> + + +<!ENTITY % interface.attlist "INCLUDE"> +<![%interface.attlist;[ +<!ATTLIST interface + %moreinfo.attrib; + %common.attrib; + %interface.role.attrib; + %local.interface.attrib; +> +<!--end of interface.attlist-->]]> +<!--end of interface.module-->]]> + +<!ENTITY % keycap.module "INCLUDE"> +<![%keycap.module;[ +<!ENTITY % local.keycap.attrib ""> +<!ENTITY % keycap.role.attrib "%role.attrib;"> + +<!ENTITY % keycap.element "INCLUDE"> +<![%keycap.element;[ +<!--doc:The text printed on a key on a keyboard.--> +<!ELEMENT keycap %ho; (%cptr.char.mix;)*> +<!--end of keycap.element-->]]> + +<!ENTITY % keycap.attlist "INCLUDE"> +<![%keycap.attlist;[ +<!ATTLIST keycap + function (alt + |control + |shift + |meta + |escape + |enter + |tab + |backspace + |command + |option + |space + |delete + |insert + |up + |down + |left + |right + |home + |end + |pageup + |pagedown + |other) #IMPLIED + otherfunction CDATA #IMPLIED + %moreinfo.attrib; + %common.attrib; + %keycap.role.attrib; + %local.keycap.attrib; +> +<!--end of keycap.attlist-->]]> +<!--end of keycap.module-->]]> + +<!ENTITY % keycode.module "INCLUDE"> +<![%keycode.module;[ +<!ENTITY % local.keycode.attrib ""> +<!ENTITY % keycode.role.attrib "%role.attrib;"> + +<!ENTITY % keycode.element "INCLUDE"> +<![%keycode.element;[ +<!--doc:The internal, frequently numeric, identifier for a key on a keyboard.--> +<!ELEMENT keycode %ho; (%smallcptr.char.mix;)*> +<!--end of keycode.element-->]]> + +<!ENTITY % keycode.attlist "INCLUDE"> +<![%keycode.attlist;[ +<!ATTLIST keycode + %common.attrib; + %keycode.role.attrib; + %local.keycode.attrib; +> +<!--end of keycode.attlist-->]]> +<!--end of keycode.module-->]]> + +<!ENTITY % keycombo.module "INCLUDE"> +<![%keycombo.module;[ +<!ENTITY % local.keycombo.attrib ""> +<!ENTITY % keycombo.role.attrib "%role.attrib;"> + +<!ENTITY % keycombo.element "INCLUDE"> +<![%keycombo.element;[ +<!--doc:A combination of input actions.--> +<!ELEMENT keycombo %ho; ((keycap|keycombo|keysym|mousebutton)+)> +<!--end of keycombo.element-->]]> + +<!ENTITY % keycombo.attlist "INCLUDE"> +<![%keycombo.attlist;[ +<!ATTLIST keycombo + %keyaction.attrib; + %moreinfo.attrib; + %common.attrib; + %keycombo.role.attrib; + %local.keycombo.attrib; +> +<!--end of keycombo.attlist-->]]> +<!--end of keycombo.module-->]]> + +<!ENTITY % keysym.module "INCLUDE"> +<![%keysym.module;[ +<!ENTITY % local.keysym.attrib ""> +<!ENTITY % keysysm.role.attrib "%role.attrib;"> + +<!ENTITY % keysym.element "INCLUDE"> +<![%keysym.element;[ +<!--doc:The symbolic name of a key on a keyboard.--> +<!ELEMENT keysym %ho; (%smallcptr.char.mix;)*> +<!--end of keysym.element-->]]> + +<!ENTITY % keysym.attlist "INCLUDE"> +<![%keysym.attlist;[ +<!ATTLIST keysym + %common.attrib; + %keysysm.role.attrib; + %local.keysym.attrib; +> +<!--end of keysym.attlist-->]]> +<!--end of keysym.module-->]]> + +<!ENTITY % lineannotation.module "INCLUDE"> +<![%lineannotation.module;[ +<!ENTITY % local.lineannotation.attrib ""> +<!ENTITY % lineannotation.role.attrib "%role.attrib;"> + +<!ENTITY % lineannotation.element "INCLUDE"> +<![%lineannotation.element;[ +<!--doc:A comment on a line in a verbatim listing.--> +<!ELEMENT lineannotation %ho; (%para.char.mix;)*> +<!--end of lineannotation.element-->]]> + +<!ENTITY % lineannotation.attlist "INCLUDE"> +<![%lineannotation.attlist;[ +<!ATTLIST lineannotation + %common.attrib; + %lineannotation.role.attrib; + %local.lineannotation.attrib; +> +<!--end of lineannotation.attlist-->]]> +<!--end of lineannotation.module-->]]> + +<!ENTITY % literal.module "INCLUDE"> +<![%literal.module;[ +<!ENTITY % local.literal.attrib ""> +<!ENTITY % literal.role.attrib "%role.attrib;"> + +<!ENTITY % literal.element "INCLUDE"> +<![%literal.element;[ +<!--doc:Inline text that is some literal value.--> +<!ELEMENT literal %ho; (%cptr.char.mix;)*> +<!--end of literal.element-->]]> + +<!ENTITY % literal.attlist "INCLUDE"> +<![%literal.attlist;[ +<!ATTLIST literal + %moreinfo.attrib; + %common.attrib; + %literal.role.attrib; + %local.literal.attrib; +> +<!--end of literal.attlist-->]]> +<!--end of literal.module-->]]> + +<!ENTITY % code.module "INCLUDE"> +<![%code.module;[ +<!ENTITY % local.code.attrib ""> +<!ENTITY % code.role.attrib "%role.attrib;"> + +<!ENTITY % code.element "INCLUDE"> +<![%code.element;[ +<!--doc:An inline code fragment.--> +<!ELEMENT code %ho; (%cptr.char.mix;)*> +<!--end of code.element-->]]> + +<!ENTITY % code.attlist "INCLUDE"> +<![%code.attlist;[ +<!ATTLIST code + language CDATA #IMPLIED + %common.attrib; + %code.role.attrib; + %local.code.attrib; +> +<!--end of code.attlist-->]]> +<!--end of code.module-->]]> + +<!ENTITY % constant.module "INCLUDE"> +<![ %constant.module; [ +<!ENTITY % local.constant.attrib ""> +<!ENTITY % constant.role.attrib "%role.attrib;"> + +<!ENTITY % constant.element "INCLUDE"> +<![ %constant.element; [ +<!--doc:A programming or system constant.--> +<!ELEMENT constant %ho; (%smallcptr.char.mix;)*> +<!--end of constant.element-->]]> + +<!ENTITY % constant.attlist "INCLUDE"> +<![ %constant.attlist; [ +<!ATTLIST constant + class (limit) #IMPLIED + %common.attrib; + %constant.role.attrib; + %local.constant.attrib; +> +<!--end of constant.attlist-->]]> +<!--end of constant.module-->]]> + +<!ENTITY % varname.module "INCLUDE"> +<![ %varname.module; [ +<!ENTITY % local.varname.attrib ""> +<!ENTITY % varname.role.attrib "%role.attrib;"> + +<!ENTITY % varname.element "INCLUDE"> +<![ %varname.element; [ +<!--doc:The name of a variable.--> +<!ELEMENT varname %ho; (%smallcptr.char.mix;)*> +<!--end of varname.element-->]]> + +<!ENTITY % varname.attlist "INCLUDE"> +<![ %varname.attlist; [ +<!ATTLIST varname + %common.attrib; + %varname.role.attrib; + %local.varname.attrib; +> +<!--end of varname.attlist-->]]> +<!--end of varname.module-->]]> + +<!ENTITY % markup.module "INCLUDE"> +<![%markup.module;[ +<!ENTITY % local.markup.attrib ""> +<!ENTITY % markup.role.attrib "%role.attrib;"> + +<!ENTITY % markup.element "INCLUDE"> +<![%markup.element;[ +<!--doc:A string of formatting markup in text that is to be represented literally.--> +<!ELEMENT markup %ho; (%smallcptr.char.mix;)*> +<!--end of markup.element-->]]> + +<!ENTITY % markup.attlist "INCLUDE"> +<![%markup.attlist;[ +<!ATTLIST markup + %common.attrib; + %markup.role.attrib; + %local.markup.attrib; +> +<!--end of markup.attlist-->]]> +<!--end of markup.module-->]]> + +<!ENTITY % medialabel.module "INCLUDE"> +<![%medialabel.module;[ +<!ENTITY % local.medialabel.attrib ""> +<!ENTITY % medialabel.role.attrib "%role.attrib;"> + +<!ENTITY % medialabel.element "INCLUDE"> +<![%medialabel.element;[ +<!--doc:A name that identifies the physical medium on which some information resides.--> +<!ELEMENT medialabel %ho; (%smallcptr.char.mix;)*> +<!--end of medialabel.element-->]]> + +<!-- Class: Type of medium named by the element; no default --> + + +<!ENTITY % medialabel.attlist "INCLUDE"> +<![%medialabel.attlist;[ +<!ATTLIST medialabel + class (cartridge + |cdrom + |disk + |tape) #IMPLIED + %common.attrib; + %medialabel.role.attrib; + %local.medialabel.attrib; +> +<!--end of medialabel.attlist-->]]> +<!--end of medialabel.module-->]]> + +<!ENTITY % menuchoice.content.module "INCLUDE"> +<![%menuchoice.content.module;[ +<!ENTITY % menuchoice.module "INCLUDE"> +<![%menuchoice.module;[ +<!ENTITY % local.menuchoice.attrib ""> +<!ENTITY % menuchoice.role.attrib "%role.attrib;"> + +<!ENTITY % menuchoice.element "INCLUDE"> +<![%menuchoice.element;[ +<!--doc:A selection or series of selections from a menu.--> +<!ELEMENT menuchoice %ho; (shortcut?, (guibutton|guiicon|guilabel + |guimenu|guimenuitem|guisubmenu|interface)+)> +<!--end of menuchoice.element-->]]> + +<!ENTITY % menuchoice.attlist "INCLUDE"> +<![%menuchoice.attlist;[ +<!ATTLIST menuchoice + %moreinfo.attrib; + %common.attrib; + %menuchoice.role.attrib; + %local.menuchoice.attrib; +> +<!--end of menuchoice.attlist-->]]> +<!--end of menuchoice.module-->]]> + +<!ENTITY % shortcut.module "INCLUDE"> +<![%shortcut.module;[ +<!-- See also KeyCombo --> +<!ENTITY % local.shortcut.attrib ""> +<!ENTITY % shortcut.role.attrib "%role.attrib;"> + +<!ENTITY % shortcut.element "INCLUDE"> +<![%shortcut.element;[ +<!--doc:A key combination for an action that is also accessible through a menu.--> +<!ELEMENT shortcut %ho; ((keycap|keycombo|keysym|mousebutton)+)> +<!--end of shortcut.element-->]]> + +<!ENTITY % shortcut.attlist "INCLUDE"> +<![%shortcut.attlist;[ +<!ATTLIST shortcut + %keyaction.attrib; + %moreinfo.attrib; + %common.attrib; + %shortcut.role.attrib; + %local.shortcut.attrib; +> +<!--end of shortcut.attlist-->]]> +<!--end of shortcut.module-->]]> +<!--end of menuchoice.content.module-->]]> + +<!ENTITY % mousebutton.module "INCLUDE"> +<![%mousebutton.module;[ +<!ENTITY % local.mousebutton.attrib ""> +<!ENTITY % mousebutton.role.attrib "%role.attrib;"> + +<!ENTITY % mousebutton.element "INCLUDE"> +<![%mousebutton.element;[ +<!--doc:The conventional name of a mouse button.--> +<!ELEMENT mousebutton %ho; (%smallcptr.char.mix;)*> +<!--end of mousebutton.element-->]]> + +<!ENTITY % mousebutton.attlist "INCLUDE"> +<![%mousebutton.attlist;[ +<!ATTLIST mousebutton + %moreinfo.attrib; + %common.attrib; + %mousebutton.role.attrib; + %local.mousebutton.attrib; +> +<!--end of mousebutton.attlist-->]]> +<!--end of mousebutton.module-->]]> + +<!ENTITY % msgtext.module "INCLUDE"> +<![%msgtext.module;[ +<!ENTITY % local.msgtext.attrib ""> +<!ENTITY % msgtext.role.attrib "%role.attrib;"> + +<!ENTITY % msgtext.element "INCLUDE"> +<![%msgtext.element;[ +<!--doc:The actual text of a message component in a message set.--> +<!ELEMENT msgtext %ho; ((%component.mix;)+)> +<!--end of msgtext.element-->]]> + +<!ENTITY % msgtext.attlist "INCLUDE"> +<![%msgtext.attlist;[ +<!ATTLIST msgtext + %common.attrib; + %msgtext.role.attrib; + %local.msgtext.attrib; +> +<!--end of msgtext.attlist-->]]> +<!--end of msgtext.module-->]]> + +<!ENTITY % option.module "INCLUDE"> +<![%option.module;[ +<!ENTITY % local.option.attrib ""> +<!ENTITY % option.role.attrib "%role.attrib;"> + +<!ENTITY % option.element "INCLUDE"> +<![%option.element;[ +<!--doc:An option for a software command.--> +<!ELEMENT option %ho; (%cptr.char.mix;)*> +<!--end of option.element-->]]> + +<!ENTITY % option.attlist "INCLUDE"> +<![%option.attlist;[ +<!ATTLIST option + %common.attrib; + %option.role.attrib; + %local.option.attrib; +> +<!--end of option.attlist-->]]> +<!--end of option.module-->]]> + +<!ENTITY % optional.module "INCLUDE"> +<![%optional.module;[ +<!ENTITY % local.optional.attrib ""> +<!ENTITY % optional.role.attrib "%role.attrib;"> + +<!ENTITY % optional.element "INCLUDE"> +<![%optional.element;[ +<!--doc:Optional information.--> +<!ELEMENT optional %ho; (%cptr.char.mix;)*> +<!--end of optional.element-->]]> + +<!ENTITY % optional.attlist "INCLUDE"> +<![%optional.attlist;[ +<!ATTLIST optional + %common.attrib; + %optional.role.attrib; + %local.optional.attrib; +> +<!--end of optional.attlist-->]]> +<!--end of optional.module-->]]> + +<!ENTITY % parameter.module "INCLUDE"> +<![%parameter.module;[ +<!ENTITY % local.parameter.attrib ""> +<!ENTITY % parameter.role.attrib "%role.attrib;"> + +<!ENTITY % parameter.element "INCLUDE"> +<![%parameter.element;[ +<!--doc:A value or a symbolic reference to a value.--> +<!ELEMENT parameter %ho; (%cptr.char.mix;)*> +<!--end of parameter.element-->]]> + +<!-- Class: Type of the Parameter; no default --> + + +<!ENTITY % parameter.attlist "INCLUDE"> +<![%parameter.attlist;[ +<!ATTLIST parameter + class (command + |function + |option) #IMPLIED + %moreinfo.attrib; + %common.attrib; + %parameter.role.attrib; + %local.parameter.attrib; +> +<!--end of parameter.attlist-->]]> +<!--end of parameter.module-->]]> + +<!ENTITY % prompt.module "INCLUDE"> +<![%prompt.module;[ +<!ENTITY % local.prompt.attrib ""> +<!ENTITY % prompt.role.attrib "%role.attrib;"> + +<!ENTITY % prompt.element "INCLUDE"> +<![%prompt.element;[ +<!--doc:A character or string indicating the start of an input field in a computer display.--> +<!ELEMENT prompt %ho; (%smallcptr.char.mix;|co)*> +<!--end of prompt.element-->]]> + +<!ENTITY % prompt.attlist "INCLUDE"> +<![%prompt.attlist;[ +<!ATTLIST prompt + %moreinfo.attrib; + %common.attrib; + %prompt.role.attrib; + %local.prompt.attrib; +> +<!--end of prompt.attlist-->]]> +<!--end of prompt.module-->]]> + +<!ENTITY % property.module "INCLUDE"> +<![%property.module;[ +<!ENTITY % local.property.attrib ""> +<!ENTITY % property.role.attrib "%role.attrib;"> + +<!ENTITY % property.element "INCLUDE"> +<![%property.element;[ +<!--doc:A unit of data associated with some part of a computer system.--> +<!ELEMENT property %ho; (%cptr.char.mix;)*> +<!--end of property.element-->]]> + +<!ENTITY % property.attlist "INCLUDE"> +<![%property.attlist;[ +<!ATTLIST property + %moreinfo.attrib; + %common.attrib; + %property.role.attrib; + %local.property.attrib; +> +<!--end of property.attlist-->]]> +<!--end of property.module-->]]> + +<!ENTITY % replaceable.module "INCLUDE"> +<![%replaceable.module;[ +<!ENTITY % local.replaceable.attrib ""> +<!ENTITY % replaceable.role.attrib "%role.attrib;"> + +<!ENTITY % replaceable.element "INCLUDE"> +<![%replaceable.element;[ +<!--doc:Content that may or must be replaced by the user.--> +<!ELEMENT replaceable %ho; (#PCDATA + | %link.char.class; + | optional + | %base.char.class; + | %other.char.class; + | inlinegraphic + | inlinemediaobject + | co)*> +<!--end of replaceable.element-->]]> + +<!-- Class: Type of information the element represents; no + default --> + + +<!ENTITY % replaceable.attlist "INCLUDE"> +<![%replaceable.attlist;[ +<!ATTLIST replaceable + class (command + |function + |option + |parameter) #IMPLIED + %common.attrib; + %replaceable.role.attrib; + %local.replaceable.attrib; +> +<!--end of replaceable.attlist-->]]> +<!--end of replaceable.module-->]]> + +<!ENTITY % returnvalue.module "INCLUDE"> +<![%returnvalue.module;[ +<!ENTITY % local.returnvalue.attrib ""> +<!ENTITY % returnvalue.role.attrib "%role.attrib;"> + +<!ENTITY % returnvalue.element "INCLUDE"> +<![%returnvalue.element;[ +<!--doc:The value returned by a function.--> +<!ELEMENT returnvalue %ho; (%smallcptr.char.mix;)*> +<!--end of returnvalue.element-->]]> + +<!ENTITY % returnvalue.attlist "INCLUDE"> +<![%returnvalue.attlist;[ +<!ATTLIST returnvalue + %common.attrib; + %returnvalue.role.attrib; + %local.returnvalue.attrib; +> +<!--end of returnvalue.attlist-->]]> +<!--end of returnvalue.module-->]]> + +<!ENTITY % sgmltag.module "INCLUDE"> +<![%sgmltag.module;[ +<!ENTITY % local.sgmltag.attrib ""> +<!ENTITY % sgmltag.role.attrib "%role.attrib;"> + +<!ENTITY % sgmltag.element "INCLUDE"> +<![%sgmltag.element;[ +<!--doc:A component of SGML markup.--> +<!ELEMENT sgmltag %ho; (%smallcptr.char.mix;)*> +<!--end of sgmltag.element-->]]> + +<!-- Class: Type of SGML construct the element names; no default --> + + +<!ENTITY % sgmltag.attlist "INCLUDE"> +<![%sgmltag.attlist;[ +<!ATTLIST sgmltag + class (attribute + |attvalue + |element + |endtag + |emptytag + |genentity + |numcharref + |paramentity + |pi + |xmlpi + |starttag + |sgmlcomment + |prefix + |namespace + |localname) #IMPLIED + namespace CDATA #IMPLIED + %common.attrib; + %sgmltag.role.attrib; + %local.sgmltag.attrib; +> +<!--end of sgmltag.attlist-->]]> +<!--end of sgmltag.module-->]]> + +<!ENTITY % structfield.module "INCLUDE"> +<![%structfield.module;[ +<!ENTITY % local.structfield.attrib ""> +<!ENTITY % structfield.role.attrib "%role.attrib;"> + +<!ENTITY % structfield.element "INCLUDE"> +<![%structfield.element;[ +<!--doc:A field in a structure (in the programming language sense).--> +<!ELEMENT structfield %ho; (%smallcptr.char.mix;)*> +<!--end of structfield.element-->]]> + +<!ENTITY % structfield.attlist "INCLUDE"> +<![%structfield.attlist;[ +<!ATTLIST structfield + %common.attrib; + %structfield.role.attrib; + %local.structfield.attrib; +> +<!--end of structfield.attlist-->]]> +<!--end of structfield.module-->]]> + +<!ENTITY % structname.module "INCLUDE"> +<![%structname.module;[ +<!ENTITY % local.structname.attrib ""> +<!ENTITY % structname.role.attrib "%role.attrib;"> + +<!ENTITY % structname.element "INCLUDE"> +<![%structname.element;[ +<!--doc:The name of a structure (in the programming language sense).--> +<!ELEMENT structname %ho; (%smallcptr.char.mix;)*> +<!--end of structname.element-->]]> + +<!ENTITY % structname.attlist "INCLUDE"> +<![%structname.attlist;[ +<!ATTLIST structname + %common.attrib; + %structname.role.attrib; + %local.structname.attrib; +> +<!--end of structname.attlist-->]]> +<!--end of structname.module-->]]> + +<!ENTITY % symbol.module "INCLUDE"> +<![%symbol.module;[ +<!ENTITY % local.symbol.attrib ""> +<!ENTITY % symbol.role.attrib "%role.attrib;"> + +<!ENTITY % symbol.element "INCLUDE"> +<![%symbol.element;[ +<!--doc:A name that is replaced by a value before processing.--> +<!ELEMENT symbol %ho; (%smallcptr.char.mix;)*> +<!--end of symbol.element-->]]> + +<!-- Class: Type of symbol; no default --> + + +<!ENTITY % symbol.attlist "INCLUDE"> +<![%symbol.attlist;[ +<!ATTLIST symbol + class (limit) #IMPLIED + %common.attrib; + %symbol.role.attrib; + %local.symbol.attrib; +> +<!--end of symbol.attlist-->]]> +<!--end of symbol.module-->]]> + +<!ENTITY % systemitem.module "INCLUDE"> +<![%systemitem.module;[ +<!ENTITY % local.systemitem.attrib ""> +<!ENTITY % systemitem.role.attrib "%role.attrib;"> + +<!ENTITY % systemitem.element "INCLUDE"> +<![%systemitem.element;[ +<!--doc:A system-related item or term.--> +<!ELEMENT systemitem %ho; (%cptr.char.mix; | acronym | co)*> +<!--end of systemitem.element-->]]> + +<!-- Class: Type of system item the element names; no default --> + +<!ENTITY % systemitem.attlist "INCLUDE"> +<![%systemitem.attlist;[ +<!ATTLIST systemitem + class (constant + |daemon + |domainname + |etheraddress + |event + |eventhandler + |filesystem + |fqdomainname + |groupname + |ipaddress + |library + |macro + |netmask + |newsgroup + |osname + |protocol + |resource + |systemname + |username + |process + |server + |service) #IMPLIED + %moreinfo.attrib; + %common.attrib; + %systemitem.role.attrib; + %local.systemitem.attrib; +> +<!--end of systemitem.attlist-->]]> +<!--end of systemitem.module-->]]> + +<!ENTITY % uri.module "INCLUDE"> +<![%uri.module;[ +<!ENTITY % local.uri.attrib ""> +<!ENTITY % uri.role.attrib "%role.attrib;"> + +<!ENTITY % uri.element "INCLUDE"> +<![%uri.element;[ +<!--doc:A Uniform Resource Identifier.--> +<!ELEMENT uri %ho; (%smallcptr.char.mix;)*> +<!--end of uri.element-->]]> + +<!-- Type: Type of URI; no default --> + +<!ENTITY % uri.attlist "INCLUDE"> +<![%uri.attlist;[ +<!ATTLIST uri + type CDATA #IMPLIED + %common.attrib; + %uri.role.attrib; + %local.uri.attrib; +> +<!--end of uri.attlist-->]]> +<!--end of uri.module-->]]> + +<!ENTITY % token.module "INCLUDE"> +<![%token.module;[ +<!ENTITY % local.token.attrib ""> +<!ENTITY % token.role.attrib "%role.attrib;"> + +<!ENTITY % token.element "INCLUDE"> +<![%token.element;[ +<!--doc:A unit of information.--> +<!ELEMENT token %ho; (%smallcptr.char.mix;)*> +<!--end of token.element-->]]> + +<!ENTITY % token.attlist "INCLUDE"> +<![%token.attlist;[ +<!ATTLIST token + %common.attrib; + %token.role.attrib; + %local.token.attrib; +> +<!--end of token.attlist-->]]> +<!--end of token.module-->]]> + +<!ENTITY % type.module "INCLUDE"> +<![%type.module;[ +<!ENTITY % local.type.attrib ""> +<!ENTITY % type.role.attrib "%role.attrib;"> + +<!ENTITY % type.element "INCLUDE"> +<![%type.element;[ +<!--doc:The classification of a value.--> +<!ELEMENT type %ho; (%smallcptr.char.mix;)*> +<!--end of type.element-->]]> + +<!ENTITY % type.attlist "INCLUDE"> +<![%type.attlist;[ +<!ATTLIST type + %common.attrib; + %type.role.attrib; + %local.type.attrib; +> +<!--end of type.attlist-->]]> +<!--end of type.module-->]]> + +<!ENTITY % userinput.module "INCLUDE"> +<![%userinput.module;[ +<!ENTITY % local.userinput.attrib ""> +<!ENTITY % userinput.role.attrib "%role.attrib;"> + +<!ENTITY % userinput.element "INCLUDE"> +<![%userinput.element;[ +<!--doc:Data entered by the user.--> +<!ELEMENT userinput %ho; (%cptr.char.mix;|co)*> +<!--end of userinput.element-->]]> + +<!ENTITY % userinput.attlist "INCLUDE"> +<![%userinput.attlist;[ +<!ATTLIST userinput + %moreinfo.attrib; + %common.attrib; + %userinput.role.attrib; + %local.userinput.attrib; +> +<!--end of userinput.attlist-->]]> +<!--end of userinput.module-->]]> + +<!ENTITY % termdef.module "INCLUDE"> +<![%termdef.module;[ +<!ENTITY % local.termdef.attrib ""> +<!ENTITY % termdef.role.attrib "%role.attrib;"> + +<!ENTITY % termdef.element "INCLUDE"> +<![%termdef.element;[ +<!--doc:An inline definition of a term.--> +<!ELEMENT termdef %ho; (%para.char.mix;)*> +<!--end of termdef.element-->]]> + +<!ENTITY % termdef.attlist "INCLUDE"> +<![%termdef.attlist;[ +<!ATTLIST termdef + %common.attrib; + %termdef.role.attrib; + %local.termdef.attrib; +> +<!--end of termdef.attlist-->]]> +<!--end of termdef.module-->]]> + +<!-- General words and phrases ............................................ --> + +<!ENTITY % abbrev.module "INCLUDE"> +<![%abbrev.module;[ +<!ENTITY % local.abbrev.attrib ""> +<!ENTITY % abbrev.role.attrib "%role.attrib;"> + +<!ENTITY % abbrev.element "INCLUDE"> +<![%abbrev.element;[ +<!--doc:An abbreviation, especially one followed by a period.--> +<!ELEMENT abbrev %ho; (%word.char.mix;)*> +<!--end of abbrev.element-->]]> + +<!ENTITY % abbrev.attlist "INCLUDE"> +<![%abbrev.attlist;[ +<!ATTLIST abbrev + %common.attrib; + %abbrev.role.attrib; + %local.abbrev.attrib; +> +<!--end of abbrev.attlist-->]]> +<!--end of abbrev.module-->]]> + +<!ENTITY % acronym.module "INCLUDE"> +<![%acronym.module;[ +<!ENTITY % local.acronym.attrib ""> +<!ENTITY % acronym.role.attrib "%role.attrib;"> + +<!ENTITY % acronym.element "INCLUDE"> +<![%acronym.element;[ +<!--doc:An often pronounceable word made from the initial (or selected) letters of a name or phrase.--> +<!ELEMENT acronym %ho; (%word.char.mix;)* + %acronym.exclusion;> +<!--end of acronym.element-->]]> + +<!ENTITY % acronym.attlist "INCLUDE"> +<![%acronym.attlist;[ +<!ATTLIST acronym + %common.attrib; + %acronym.role.attrib; + %local.acronym.attrib; +> +<!--end of acronym.attlist-->]]> +<!--end of acronym.module-->]]> + +<!ENTITY % citation.module "INCLUDE"> +<![%citation.module;[ +<!ENTITY % local.citation.attrib ""> +<!ENTITY % citation.role.attrib "%role.attrib;"> + +<!ENTITY % citation.element "INCLUDE"> +<![%citation.element;[ +<!--doc:An inline bibliographic reference to another published work.--> +<!ELEMENT citation %ho; (%para.char.mix;)*> +<!--end of citation.element-->]]> + +<!ENTITY % citation.attlist "INCLUDE"> +<![%citation.attlist;[ +<!ATTLIST citation + %common.attrib; + %citation.role.attrib; + %local.citation.attrib; +> +<!--end of citation.attlist-->]]> +<!--end of citation.module-->]]> + +<!ENTITY % citerefentry.module "INCLUDE"> +<![%citerefentry.module;[ +<!ENTITY % local.citerefentry.attrib ""> +<!ENTITY % citerefentry.role.attrib "%role.attrib;"> + +<!ENTITY % citerefentry.element "INCLUDE"> +<![%citerefentry.element;[ +<!--doc:A citation to a reference page.--> +<!ELEMENT citerefentry %ho; (refentrytitle, manvolnum?)> +<!--end of citerefentry.element-->]]> + +<!ENTITY % citerefentry.attlist "INCLUDE"> +<![%citerefentry.attlist;[ +<!ATTLIST citerefentry + %common.attrib; + %citerefentry.role.attrib; + %local.citerefentry.attrib; +> +<!--end of citerefentry.attlist-->]]> +<!--end of citerefentry.module-->]]> + +<!ENTITY % refentrytitle.module "INCLUDE"> +<![%refentrytitle.module;[ +<!ENTITY % local.refentrytitle.attrib ""> +<!ENTITY % refentrytitle.role.attrib "%role.attrib;"> + +<!ENTITY % refentrytitle.element "INCLUDE"> +<![%refentrytitle.element;[ +<!--doc:The title of a reference page.--> +<!ELEMENT refentrytitle %ho; (%para.char.mix;)*> +<!--end of refentrytitle.element-->]]> + +<!ENTITY % refentrytitle.attlist "INCLUDE"> +<![%refentrytitle.attlist;[ +<!ATTLIST refentrytitle + %common.attrib; + %refentrytitle.role.attrib; + %local.refentrytitle.attrib; +> +<!--end of refentrytitle.attlist-->]]> +<!--end of refentrytitle.module-->]]> + +<!ENTITY % manvolnum.module "INCLUDE"> +<![%manvolnum.module;[ +<!ENTITY % local.manvolnum.attrib ""> +<!ENTITY % namvolnum.role.attrib "%role.attrib;"> + +<!ENTITY % manvolnum.element "INCLUDE"> +<![%manvolnum.element;[ +<!--doc:A reference volume number.--> +<!ELEMENT manvolnum %ho; (%word.char.mix;)*> +<!--end of manvolnum.element-->]]> + +<!ENTITY % manvolnum.attlist "INCLUDE"> +<![%manvolnum.attlist;[ +<!ATTLIST manvolnum + %common.attrib; + %namvolnum.role.attrib; + %local.manvolnum.attrib; +> +<!--end of manvolnum.attlist-->]]> +<!--end of manvolnum.module-->]]> + +<!ENTITY % citetitle.module "INCLUDE"> +<![%citetitle.module;[ +<!ENTITY % local.citetitle.attrib ""> +<!ENTITY % citetitle.role.attrib "%role.attrib;"> + +<!ENTITY % citetitle.element "INCLUDE"> +<![%citetitle.element;[ +<!--doc:The title of a cited work.--> +<!ELEMENT citetitle %ho; (%para.char.mix;)*> +<!--end of citetitle.element-->]]> + +<!-- Pubwork: Genre of published work cited; no default --> + + +<!ENTITY % citetitle.attlist "INCLUDE"> +<![%citetitle.attlist;[ +<!ATTLIST citetitle + pubwork (article + |book + |chapter + |part + |refentry + |section + |journal + |series + |set + |manuscript + |cdrom + |dvd + |wiki + |gopher + |bbs + |emailmessage + |webpage + |newsposting) #IMPLIED + %common.attrib; + %citetitle.role.attrib; + %local.citetitle.attrib; +> +<!--end of citetitle.attlist-->]]> +<!--end of citetitle.module-->]]> + +<!ENTITY % emphasis.module "INCLUDE"> +<![%emphasis.module;[ +<!ENTITY % local.emphasis.attrib ""> +<!ENTITY % emphasis.role.attrib "%role.attrib;"> + +<!ENTITY % emphasis.element "INCLUDE"> +<![%emphasis.element;[ +<!--doc:Emphasized text.--> +<!ELEMENT emphasis %ho; (%para.char.mix;)*> +<!--end of emphasis.element-->]]> + +<!ENTITY % emphasis.attlist "INCLUDE"> +<![%emphasis.attlist;[ +<!ATTLIST emphasis + %common.attrib; + %emphasis.role.attrib; + %local.emphasis.attrib; +> +<!--end of emphasis.attlist-->]]> +<!--end of emphasis.module-->]]> + +<!ENTITY % foreignphrase.module "INCLUDE"> +<![%foreignphrase.module;[ +<!ENTITY % local.foreignphrase.attrib ""> +<!ENTITY % foreignphrase.role.attrib "%role.attrib;"> + +<!ENTITY % foreignphrase.element "INCLUDE"> +<![%foreignphrase.element;[ +<!--doc:A word or phrase in a language other than the primary language of the document.--> +<!ELEMENT foreignphrase %ho; (%para.char.mix;)*> +<!--end of foreignphrase.element-->]]> + +<!ENTITY % foreignphrase.attlist "INCLUDE"> +<![%foreignphrase.attlist;[ +<!ATTLIST foreignphrase + %common.attrib; + %foreignphrase.role.attrib; + %local.foreignphrase.attrib; +> +<!--end of foreignphrase.attlist-->]]> +<!--end of foreignphrase.module-->]]> + +<!ENTITY % glossterm.module "INCLUDE"> +<![%glossterm.module;[ +<!ENTITY % local.glossterm.attrib ""> +<!ENTITY % glossterm.role.attrib "%role.attrib;"> + +<!ENTITY % glossterm.element "INCLUDE"> +<![%glossterm.element;[ +<!--doc:A glossary term.--> +<!ELEMENT glossterm %ho; (%para.char.mix;)* + %glossterm.exclusion;> +<!--end of glossterm.element-->]]> + +<!-- to GlossEntry if Glossterm used in text --> +<!-- BaseForm: Provides the form of GlossTerm to be used + for indexing --> + +<!ENTITY % glossterm.attlist "INCLUDE"> +<![%glossterm.attlist;[ +<!ATTLIST glossterm + baseform CDATA #IMPLIED + %linkend.attrib; + %common.attrib; + %glossterm.role.attrib; + %local.glossterm.attrib; +> +<!--end of glossterm.attlist-->]]> +<!--end of glossterm.module-->]]> + +<!ENTITY % firstterm.module "INCLUDE"> +<![%firstterm.module;[ +<!ENTITY % local.firstterm.attrib ""> +<!ENTITY % firstterm.role.attrib "%role.attrib;"> + +<!ENTITY % firstterm.element "INCLUDE"> +<![%firstterm.element;[ +<!--doc:The first occurrence of a term.--> +<!ELEMENT firstterm %ho; (%para.char.mix;)* + %glossterm.exclusion;> +<!--end of firstterm.element-->]]> + +<!-- to GlossEntry or other explanation --> + + +<!ENTITY % firstterm.attlist "INCLUDE"> +<![%firstterm.attlist;[ +<!ATTLIST firstterm + baseform CDATA #IMPLIED + %linkend.attrib; + %common.attrib; + %firstterm.role.attrib; + %local.firstterm.attrib; +> +<!--end of firstterm.attlist-->]]> +<!--end of firstterm.module-->]]> + +<!ENTITY % phrase.module "INCLUDE"> +<![%phrase.module;[ +<!ENTITY % local.phrase.attrib ""> +<!ENTITY % phrase.role.attrib "%role.attrib;"> + +<!ENTITY % phrase.element "INCLUDE"> +<![%phrase.element;[ +<!--doc:A span of text.--> +<!ELEMENT phrase %ho; (%para.char.mix;)*> +<!--end of phrase.element-->]]> + +<!ENTITY % phrase.attlist "INCLUDE"> +<![%phrase.attlist;[ +<!ATTLIST phrase + %common.attrib; + %phrase.role.attrib; + %local.phrase.attrib; +> +<!--end of phrase.attlist-->]]> +<!--end of phrase.module-->]]> + +<!ENTITY % quote.module "INCLUDE"> +<![%quote.module;[ +<!ENTITY % local.quote.attrib ""> +<!ENTITY % quote.role.attrib "%role.attrib;"> + +<!ENTITY % quote.element "INCLUDE"> +<![%quote.element;[ +<!--doc:An inline quotation.--> +<!ELEMENT quote %ho; (%para.char.mix;)*> +<!--end of quote.element-->]]> + +<!ENTITY % quote.attlist "INCLUDE"> +<![%quote.attlist;[ +<!ATTLIST quote + %common.attrib; + %quote.role.attrib; + %local.quote.attrib; +> +<!--end of quote.attlist-->]]> +<!--end of quote.module-->]]> + +<!ENTITY % ssscript.module "INCLUDE"> +<![%ssscript.module;[ +<!ENTITY % local.ssscript.attrib ""> +<!ENTITY % ssscript.role.attrib "%role.attrib;"> + +<!ENTITY % subscript.element "INCLUDE"> +<![%subscript.element;[ +<!--doc:A subscript (as in H{^2}O, the molecular formula for water).--> +<!ELEMENT subscript %ho; (#PCDATA + | %link.char.class; + | emphasis + | replaceable + | symbol + | inlinegraphic + | inlinemediaobject + | %base.char.class; + | %other.char.class;)* + %ubiq.exclusion;> +<!--end of subscript.element-->]]> + +<!ENTITY % subscript.attlist "INCLUDE"> +<![%subscript.attlist;[ +<!ATTLIST subscript + %common.attrib; + %ssscript.role.attrib; + %local.ssscript.attrib; +> +<!--end of subscript.attlist-->]]> + +<!ENTITY % superscript.element "INCLUDE"> +<![%superscript.element;[ +<!--doc:A superscript (as in x^2, the mathematical notation for x multiplied by itself).--> +<!ELEMENT superscript %ho; (#PCDATA + | %link.char.class; + | emphasis + | replaceable + | symbol + | inlinegraphic + | inlinemediaobject + | %base.char.class; + | %other.char.class;)* + %ubiq.exclusion;> +<!--end of superscript.element-->]]> + +<!ENTITY % superscript.attlist "INCLUDE"> +<![%superscript.attlist;[ +<!ATTLIST superscript + %common.attrib; + %ssscript.role.attrib; + %local.ssscript.attrib; +> +<!--end of superscript.attlist-->]]> +<!--end of ssscript.module-->]]> + +<!ENTITY % trademark.module "INCLUDE"> +<![%trademark.module;[ +<!ENTITY % local.trademark.attrib ""> +<!ENTITY % trademark.role.attrib "%role.attrib;"> + +<!ENTITY % trademark.element "INCLUDE"> +<![%trademark.element;[ +<!--doc:A trademark.--> +<!ELEMENT trademark %ho; (#PCDATA + | %link.char.class; + | %tech.char.class; + | %base.char.class; + | %other.char.class; + | inlinegraphic + | inlinemediaobject + | emphasis)*> +<!--end of trademark.element-->]]> + +<!-- Class: More precisely identifies the item the element names --> + + +<!ENTITY % trademark.attlist "INCLUDE"> +<![%trademark.attlist;[ +<!ATTLIST trademark + class (service + |trade + |registered + |copyright) 'trade' + %common.attrib; + %trademark.role.attrib; + %local.trademark.attrib; +> +<!--end of trademark.attlist-->]]> +<!--end of trademark.module-->]]> + +<!ENTITY % wordasword.module "INCLUDE"> +<![%wordasword.module;[ +<!ENTITY % local.wordasword.attrib ""> +<!ENTITY % wordasword.role.attrib "%role.attrib;"> + +<!ENTITY % wordasword.element "INCLUDE"> +<![%wordasword.element;[ +<!--doc:A word meant specifically as a word and not representing anything else.--> +<!ELEMENT wordasword %ho; (%word.char.mix;)*> +<!--end of wordasword.element-->]]> + +<!ENTITY % wordasword.attlist "INCLUDE"> +<![%wordasword.attlist;[ +<!ATTLIST wordasword + %common.attrib; + %wordasword.role.attrib; + %local.wordasword.attrib; +> +<!--end of wordasword.attlist-->]]> +<!--end of wordasword.module-->]]> + +<!-- Links and cross-references ........................................... --> + +<!ENTITY % link.module "INCLUDE"> +<![%link.module;[ +<!ENTITY % local.link.attrib ""> +<!ENTITY % link.role.attrib "%role.attrib;"> + +<!ENTITY % link.element "INCLUDE"> +<![%link.element;[ +<!--doc:A hypertext link.--> +<!ELEMENT link %ho; (%para.char.mix;)* + %links.exclusion;> +<!--end of link.element-->]]> + +<!-- Endterm: ID of element containing text that is to be + fetched from elsewhere in the document to appear as + the content of this element --> +<!-- to linked-to object --> +<!-- Type: Freely assignable parameter --> + + +<!ENTITY % link.attlist "INCLUDE"> +<![%link.attlist;[ +<!ATTLIST link + endterm IDREF #IMPLIED + xrefstyle CDATA #IMPLIED + type CDATA #IMPLIED + %linkendreq.attrib; + %common.attrib; + %link.role.attrib; + %local.link.attrib; +> +<!--end of link.attlist-->]]> +<!--end of link.module-->]]> + +<!ENTITY % olink.module "INCLUDE"> +<![%olink.module;[ +<!ENTITY % local.olink.attrib ""> +<!ENTITY % olink.role.attrib "%role.attrib;"> + +<!ENTITY % olink.element "INCLUDE"> +<![%olink.element;[ +<!--doc:A link that addresses its target indirectly, through an entity.--> +<!ELEMENT olink %ho; (%para.char.mix;)* + %links.exclusion;> +<!--end of olink.element-->]]> + +<!-- TargetDocEnt: Name of an entity to be the target of the link --> +<!-- LinkMode: ID of a ModeSpec containing instructions for + operating on the entity named by TargetDocEnt --> +<!-- LocalInfo: Information that may be passed to ModeSpec --> +<!-- Type: Freely assignable parameter --> + + +<!ENTITY % olink.attlist "INCLUDE"> +<![%olink.attlist;[ +<!ATTLIST olink + targetdocent ENTITY #IMPLIED + linkmode IDREF #IMPLIED + localinfo CDATA #IMPLIED + type CDATA #IMPLIED + targetdoc CDATA #IMPLIED + targetptr CDATA #IMPLIED + xrefstyle CDATA #IMPLIED + %common.attrib; + %olink.role.attrib; + %local.olink.attrib; +> +<!--end of olink.attlist-->]]> +<!--end of olink.module-->]]> + +<!ENTITY % ulink.module "INCLUDE"> +<![%ulink.module;[ +<!ENTITY % local.ulink.attrib ""> +<!ENTITY % ulink.role.attrib "%role.attrib;"> + +<!ENTITY % ulink.element "INCLUDE"> +<![%ulink.element;[ +<!--doc:A link that addresses its target by means of a URL (Uniform Resource Locator).--> +<!ELEMENT ulink %ho; (%para.char.mix;)* + %links.exclusion;> +<!--end of ulink.element-->]]> + +<!-- URL: uniform resource locator; the target of the ULink --> +<!-- Type: Freely assignable parameter --> + + +<!ENTITY % ulink.attlist "INCLUDE"> +<![%ulink.attlist;[ +<!ATTLIST ulink + url CDATA #REQUIRED + type CDATA #IMPLIED + xrefstyle CDATA #IMPLIED + %common.attrib; + %ulink.role.attrib; + %local.ulink.attrib; +> +<!--end of ulink.attlist-->]]> +<!--end of ulink.module-->]]> + +<!ENTITY % footnoteref.module "INCLUDE"> +<![%footnoteref.module;[ +<!ENTITY % local.footnoteref.attrib ""> +<!ENTITY % footnoteref.role.attrib "%role.attrib;"> + +<!ENTITY % footnoteref.element "INCLUDE"> +<![%footnoteref.element;[ +<!--doc:A cross reference to a footnote (a footnote mark).--> +<!ELEMENT footnoteref %ho; EMPTY> +<!--end of footnoteref.element-->]]> + +<!-- to footnote content supplied elsewhere --> + + +<!ENTITY % footnoteref.attlist "INCLUDE"> +<![%footnoteref.attlist;[ +<!ATTLIST footnoteref + %linkendreq.attrib; %label.attrib; + %common.attrib; + %footnoteref.role.attrib; + %local.footnoteref.attrib; +> +<!--end of footnoteref.attlist-->]]> +<!--end of footnoteref.module-->]]> + +<!ENTITY % xref.module "INCLUDE"> +<![%xref.module;[ +<!ENTITY % local.xref.attrib ""> +<!ENTITY % xref.role.attrib "%role.attrib;"> + +<!ENTITY % xref.element "INCLUDE"> +<![%xref.element;[ +<!--doc:A cross reference to another part of the document.--> +<!ELEMENT xref %ho; EMPTY> +<!--end of xref.element-->]]> + +<!-- Endterm: ID of element containing text that is to be + fetched from elsewhere in the document to appear as + the content of this element --> +<!-- to linked-to object --> + + +<!ENTITY % xref.attlist "INCLUDE"> +<![%xref.attlist;[ +<!ATTLIST xref + endterm IDREF #IMPLIED + xrefstyle CDATA #IMPLIED + %common.attrib; + %linkendreq.attrib; + %xref.role.attrib; + %local.xref.attrib; +> +<!--end of xref.attlist-->]]> +<!--end of xref.module-->]]> + +<!ENTITY % biblioref.module "INCLUDE"> +<![%biblioref.module;[ +<!ENTITY % local.biblioref.attrib ""> +<!ENTITY % biblioref.role.attrib "%role.attrib;"> + +<!ENTITY % biblioref.element "INCLUDE"> +<![%biblioref.element;[ +<!--doc:A cross reference to a bibliographic entry.--> +<!ELEMENT biblioref %ho; EMPTY> +<!--end of biblioref.element-->]]> + +<!ENTITY % biblioref.attlist "INCLUDE"> +<![%biblioref.attlist;[ +<!ATTLIST biblioref + endterm IDREF #IMPLIED + xrefstyle CDATA #IMPLIED + units CDATA #IMPLIED + begin CDATA #IMPLIED + end CDATA #IMPLIED + %common.attrib; + %linkendreq.attrib; + %biblioref.role.attrib; + %local.biblioref.attrib; +> +<!--end of biblioref.attlist-->]]> +<!--end of biblioref.module-->]]> + +<!-- Ubiquitous elements .................................................. --> + +<!ENTITY % anchor.module "INCLUDE"> +<![%anchor.module;[ +<!ENTITY % local.anchor.attrib ""> +<!ENTITY % anchor.role.attrib "%role.attrib;"> + +<!ENTITY % anchor.element "INCLUDE"> +<![%anchor.element;[ +<!--doc:A spot in the document.--> +<!ELEMENT anchor %ho; EMPTY> +<!--end of anchor.element-->]]> + +<!-- required --> +<!-- replaces Lang --> + + +<!ENTITY % anchor.attlist "INCLUDE"> +<![%anchor.attlist;[ +<!ATTLIST anchor + %idreq.attrib; %pagenum.attrib; %remap.attrib; + %xreflabel.attrib; + %revisionflag.attrib; + %effectivity.attrib; + %anchor.role.attrib; + %local.anchor.attrib; +> +<!--end of anchor.attlist-->]]> +<!--end of anchor.module-->]]> + +<!ENTITY % beginpage.module "INCLUDE"> +<![%beginpage.module;[ +<!ENTITY % local.beginpage.attrib ""> +<!ENTITY % beginpage.role.attrib "%role.attrib;"> + +<!ENTITY % beginpage.element "INCLUDE"> +<![%beginpage.element;[ +<!--doc:The location of a page break in a print version of the document.--> +<!ELEMENT beginpage %ho; EMPTY> +<!--end of beginpage.element-->]]> + +<!-- PageNum: Number of page that begins at this point --> + + +<!ENTITY % beginpage.attlist "INCLUDE"> +<![%beginpage.attlist;[ +<!ATTLIST beginpage + %pagenum.attrib; + %common.attrib; + %beginpage.role.attrib; + %local.beginpage.attrib; +> +<!--end of beginpage.attlist-->]]> +<!--end of beginpage.module-->]]> + +<!-- IndexTerms appear in the text flow for generating or linking an + index. --> + +<!ENTITY % indexterm.content.module "INCLUDE"> +<![%indexterm.content.module;[ +<!ENTITY % indexterm.module "INCLUDE"> +<![%indexterm.module;[ +<!ENTITY % local.indexterm.attrib ""> +<!ENTITY % indexterm.role.attrib "%role.attrib;"> + +<!ENTITY % indexterm.element "INCLUDE"> +<![%indexterm.element;[ +<!--doc:A wrapper for terms to be indexed.--> +<!ELEMENT indexterm %ho; (primary?, ((secondary, ((tertiary, (see|seealso+)?) + | see | seealso+)?) | see | seealso+)?) + %ubiq.exclusion;> +<!--end of indexterm.element-->]]> + +<!-- Scope: Indicates which generated indices the IndexTerm + should appear in: Global (whole document set), Local (this + document only), or All (both) --> +<!-- Significance: Whether this IndexTerm is the most pertinent + of its series (Preferred) or not (Normal, the default) --> +<!-- Class: Indicates type of IndexTerm; default is Singular, + or EndOfRange if StartRef is supplied; StartOfRange value + must be supplied explicitly on starts of ranges --> +<!-- StartRef: ID of the IndexTerm that starts the indexing + range ended by this IndexTerm --> +<!-- Zone: IDs of the elements to which the IndexTerm applies, + and indicates that the IndexTerm applies to those entire + elements rather than the point at which the IndexTerm + occurs --> + + +<!ENTITY % indexterm.attlist "INCLUDE"> +<![%indexterm.attlist;[ +<!ATTLIST indexterm + %pagenum.attrib; + scope (all + |global + |local) #IMPLIED + significance (preferred + |normal) "normal" + class (singular + |startofrange + |endofrange) #IMPLIED + startref IDREF #IMPLIED + zone IDREFS #IMPLIED + type CDATA #IMPLIED + %common.attrib; + %indexterm.role.attrib; + %local.indexterm.attrib; +> +<!--end of indexterm.attlist-->]]> +<!--end of indexterm.module-->]]> + +<!ENTITY % primsecter.module "INCLUDE"> +<![%primsecter.module;[ +<!ENTITY % local.primsecter.attrib ""> +<!ENTITY % primsecter.role.attrib "%role.attrib;"> + + +<!ENTITY % primary.element "INCLUDE"> +<![%primary.element;[ +<!--doc:The primary word or phrase under which an index term should be sorted.--> +<!ELEMENT primary %ho; (%ndxterm.char.mix;)*> +<!--end of primary.element-->]]> +<!-- SortAs: Alternate sort string for index sorting, e.g., + "fourteen" for an element containing "14" --> + +<!ENTITY % primary.attlist "INCLUDE"> +<![%primary.attlist;[ +<!ATTLIST primary + sortas CDATA #IMPLIED + %common.attrib; + %primsecter.role.attrib; + %local.primsecter.attrib; +> +<!--end of primary.attlist-->]]> + + +<!ENTITY % secondary.element "INCLUDE"> +<![%secondary.element;[ +<!--doc:A secondary word or phrase in an index term.--> +<!ELEMENT secondary %ho; (%ndxterm.char.mix;)*> +<!--end of secondary.element-->]]> +<!-- SortAs: Alternate sort string for index sorting, e.g., + "fourteen" for an element containing "14" --> + +<!ENTITY % secondary.attlist "INCLUDE"> +<![%secondary.attlist;[ +<!ATTLIST secondary + sortas CDATA #IMPLIED + %common.attrib; + %primsecter.role.attrib; + %local.primsecter.attrib; +> +<!--end of secondary.attlist-->]]> + + +<!ENTITY % tertiary.element "INCLUDE"> +<![%tertiary.element;[ +<!--doc:A tertiary word or phrase in an index term.--> +<!ELEMENT tertiary %ho; (%ndxterm.char.mix;)*> +<!--end of tertiary.element-->]]> +<!-- SortAs: Alternate sort string for index sorting, e.g., + "fourteen" for an element containing "14" --> + +<!ENTITY % tertiary.attlist "INCLUDE"> +<![%tertiary.attlist;[ +<!ATTLIST tertiary + sortas CDATA #IMPLIED + %common.attrib; + %primsecter.role.attrib; + %local.primsecter.attrib; +> +<!--end of tertiary.attlist-->]]> + +<!--end of primsecter.module-->]]> + +<!ENTITY % seeseealso.module "INCLUDE"> +<![%seeseealso.module;[ +<!ENTITY % local.seeseealso.attrib ""> +<!ENTITY % seeseealso.role.attrib "%role.attrib;"> + +<!ENTITY % see.element "INCLUDE"> +<![%see.element;[ +<!--doc:Part of an index term directing the reader instead to another entry in the index.--> +<!ELEMENT see %ho; (%ndxterm.char.mix;)*> +<!--end of see.element-->]]> + +<!ENTITY % see.attlist "INCLUDE"> +<![%see.attlist;[ +<!ATTLIST see + %common.attrib; + %seeseealso.role.attrib; + %local.seeseealso.attrib; +> +<!--end of see.attlist-->]]> + +<!ENTITY % seealso.element "INCLUDE"> +<![%seealso.element;[ +<!--doc:Part of an index term directing the reader also to another entry in the index.--> +<!ELEMENT seealso %ho; (%ndxterm.char.mix;)*> +<!--end of seealso.element-->]]> + +<!ENTITY % seealso.attlist "INCLUDE"> +<![%seealso.attlist;[ +<!ATTLIST seealso + %common.attrib; + %seeseealso.role.attrib; + %local.seeseealso.attrib; +> +<!--end of seealso.attlist-->]]> +<!--end of seeseealso.module-->]]> +<!--end of indexterm.content.module-->]]> + +<!-- End of DocBook XML information pool module V4.5 ...................... --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/docbook.cat b/doc/editor_configs/serna/scons/dtd/docbook.cat new file mode 100644 index 0000000..dc5cfb9 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/docbook.cat @@ -0,0 +1,113 @@ + -- ...................................................................... -- + -- Catalog data for DocBook XML V4.5 .................................... -- + -- File docbook.cat ..................................................... -- + + -- Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/. + -- + + -- This is the catalog data file for DocBook XML V4.5. It is provided as + a convenience in building your own catalog files. You need not use + the filenames listed here, and need not use the filename method of + identifying storage objects at all. See the documentation for + detailed information on the files associated with the DocBook DTD. + See SGML Open Technical Resolution 9401 for detailed information + on supplying and using catalog data. + -- + + -- ...................................................................... -- + -- DocBook driver file .................................................. -- + +PUBLIC "-//OASIS//DTD DocBook SCons XML V4.5//EN" + "scons.dtd" + + -- ...................................................................... -- + -- DocBook modules ...................................................... -- + +PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" + "calstblx.dtd" + +PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" + "htmltblx.mod" + +PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" + "soextblx.dtd" + +PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" + "dbpoolx.mod" + +PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" + "dbhierx.mod" + +PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" + "dbgenent.mod" + +PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.5//EN" + "dbnotnx.mod" + +PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" + "dbcentx.mod" + + -- ...................................................................... -- + -- ISO entity sets ...................................................... -- + +PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" + "ent/isodia.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" + "ent/isonum.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" + "ent/isopub.ent" + +PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML" + "ent/isotech.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" + "ent/isolat1.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" + "ent/isolat2.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" + "ent/isogrk1.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" + "ent/isogrk2.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" + "ent/isogrk3.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" + "ent/isogrk4.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" + "ent/isoamsa.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" + "ent/isoamsb.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" + "ent/isoamsc.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" + "ent/isoamsn.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" + "ent/isoamso.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" + "ent/isoamsr.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" + "ent/isobox.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" + "ent/isocyr1.ent" + +PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" + "ent/isocyr2.ent" + + -- End of catalog data for DocBook XML V4.5 ............................. -- + -- ...................................................................... -- diff --git a/doc/editor_configs/serna/scons/dtd/ent/README b/doc/editor_configs/serna/scons/dtd/ent/README new file mode 100644 index 0000000..c0da542 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/README @@ -0,0 +1,14 @@ +XML Entity Declarations for Characters + +The character entity sets distributed with DocBook XML are direct +copies of the official entities located at + + http://www.w3.org/2003/entities/ + +They are distributed for historical compatibility and user convenience. +The DocBook Technical Committee no longer attempts to maintain these +definitions and will periodically update them from the W3C site if and +as they are updated there. + +Please direct all questions or comments about the entities to the +individuals or working groups who maintain the official sets. diff --git a/doc/editor_configs/serna/scons/dtd/ent/isoamsa.ent b/doc/editor_configs/serna/scons/dtd/ent/isoamsa.ent new file mode 100644 index 0000000..daf09e9 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isoamsa.ent @@ -0,0 +1,97 @@ + +<!-- + File isoamsa.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isoamsa.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isoamsa.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isoamsa PUBLIC + "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isoamsa.ent" + > + %isoamsa; + +--> + +<!ENTITY cularr "↶" ><!--ANTICLOCKWISE TOP SEMICIRCLE ARROW --> +<!ENTITY curarr "↷" ><!--CLOCKWISE TOP SEMICIRCLE ARROW --> +<!ENTITY dArr "⇓" ><!--DOWNWARDS DOUBLE ARROW --> +<!ENTITY darr2 "⇊" ><!--DOWNWARDS PAIRED ARROWS --> +<!ENTITY dharl "⇃" ><!--DOWNWARDS HARPOON WITH BARB LEFTWARDS --> +<!ENTITY dharr "⇂" ><!--DOWNWARDS HARPOON WITH BARB RIGHTWARDS --> +<!ENTITY dlarr "↙" ><!--SOUTH WEST ARROW --> +<!ENTITY drarr "↘" ><!--SOUTH EAST ARROW --> +<!ENTITY hArr "⇔" ><!--LEFT RIGHT DOUBLE ARROW --> +<!ENTITY harr "↔" ><!--LEFT RIGHT ARROW --> +<!ENTITY harrw "↭" ><!--LEFT RIGHT WAVE ARROW --> +<!ENTITY lAarr "⇚" ><!--LEFTWARDS TRIPLE ARROW --> +<!ENTITY Larr "↞" ><!--LEFTWARDS TWO HEADED ARROW --> +<!ENTITY larr2 "⇇" ><!--LEFTWARDS PAIRED ARROWS --> +<!ENTITY larrhk "↩" ><!--LEFTWARDS ARROW WITH HOOK --> +<!ENTITY larrlp "↫" ><!--LEFTWARDS ARROW WITH LOOP --> +<!ENTITY larrtl "↢" ><!--LEFTWARDS ARROW WITH TAIL --> +<!ENTITY lhard "↽" ><!--LEFTWARDS HARPOON WITH BARB DOWNWARDS --> +<!ENTITY lharu "↼" ><!--LEFTWARDS HARPOON WITH BARB UPWARDS --> +<!ENTITY lrarr2 "⇆" ><!--LEFTWARDS ARROW OVER RIGHTWARDS ARROW --> +<!ENTITY lrhar2 "⇋" ><!--LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON --> +<!ENTITY lsh "↰" ><!--UPWARDS ARROW WITH TIP LEFTWARDS --> +<!ENTITY map "↦" ><!--RIGHTWARDS ARROW FROM BAR --> +<!ENTITY mumap "⊸" ><!--MULTIMAP --> +<!ENTITY nearr "↗" ><!--NORTH EAST ARROW --> +<!ENTITY nhArr "⇎" ><!--LEFT RIGHT DOUBLE ARROW WITH STROKE --> +<!ENTITY nharr "↮" ><!--LEFT RIGHT ARROW WITH STROKE --> +<!ENTITY nlArr "⇍" ><!--LEFTWARDS DOUBLE ARROW WITH STROKE --> +<!ENTITY nlarr "↚" ><!--LEFTWARDS ARROW WITH STROKE --> +<!ENTITY nrArr "⇏" ><!--RIGHTWARDS DOUBLE ARROW WITH STROKE --> +<!ENTITY nrarr "↛" ><!--RIGHTWARDS ARROW WITH STROKE --> +<!ENTITY nwarr "↖" ><!--NORTH WEST ARROW --> +<!ENTITY olarr "↺" ><!--ANTICLOCKWISE OPEN CIRCLE ARROW --> +<!ENTITY orarr "↻" ><!--CLOCKWISE OPEN CIRCLE ARROW --> +<!ENTITY rAarr "⇛" ><!--RIGHTWARDS TRIPLE ARROW --> +<!ENTITY Rarr "↠" ><!--RIGHTWARDS TWO HEADED ARROW --> +<!ENTITY rarr2 "⇉" ><!--RIGHTWARDS PAIRED ARROWS --> +<!ENTITY rarrhk "↪" ><!--RIGHTWARDS ARROW WITH HOOK --> +<!ENTITY rarrlp "↬" ><!--RIGHTWARDS ARROW WITH LOOP --> +<!ENTITY rarrtl "↣" ><!--RIGHTWARDS ARROW WITH TAIL --> +<!ENTITY rarrw "↝" ><!--RIGHTWARDS WAVE ARROW --> +<!ENTITY rhard "⇁" ><!--RIGHTWARDS HARPOON WITH BARB DOWNWARDS --> +<!ENTITY rharu "⇀" ><!--RIGHTWARDS HARPOON WITH BARB UPWARDS --> +<!ENTITY rlarr2 "⇄" ><!--RIGHTWARDS ARROW OVER LEFTWARDS ARROW --> +<!ENTITY rlhar2 "⇌" ><!--RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON --> +<!ENTITY rsh "↱" ><!--UPWARDS ARROW WITH TIP RIGHTWARDS --> +<!ENTITY uArr "⇑" ><!--UPWARDS DOUBLE ARROW --> +<!ENTITY uarr2 "⇈" ><!--UPWARDS PAIRED ARROWS --> +<!ENTITY uharl "↿" ><!--UPWARDS HARPOON WITH BARB LEFTWARDS --> +<!ENTITY uharr "↾" ><!--UPWARDS HARPOON WITH BARB RIGHTWARDS --> +<!ENTITY vArr "⇕" ><!--UP DOWN DOUBLE ARROW --> +<!ENTITY varr "↕" ><!--UP DOWN ARROW --> +<!ENTITY xhArr "⟺" ><!--LONG LEFT RIGHT DOUBLE ARROW --> +<!ENTITY xharr "⟷" ><!--LONG LEFT RIGHT ARROW --> +<!ENTITY xlArr "⟸" ><!--LONG LEFTWARDS DOUBLE ARROW --> +<!ENTITY xrArr "⟹" ><!--LONG RIGHTWARDS DOUBLE ARROW --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isoamsb.ent b/doc/editor_configs/serna/scons/dtd/ent/isoamsb.ent new file mode 100644 index 0000000..717d63a --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isoamsb.ent @@ -0,0 +1,83 @@ + +<!-- + File isoamsb.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isoamsb.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isoamsb.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isoamsb PUBLIC + "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isoamsb.ent" + > + %isoamsb; + +--> + +<!ENTITY amalg "⨿" ><!--AMALGAMATION OR COPRODUCT --> +<!ENTITY Barwed "⌆" ><!--PERSPECTIVE --> +<!ENTITY barwed "⌅" ><!--PROJECTIVE --> +<!ENTITY Cap "⋒" ><!--DOUBLE INTERSECTION --> +<!ENTITY coprod "∐" ><!--N-ARY COPRODUCT --> +<!ENTITY Cup "⋓" ><!--DOUBLE UNION --> +<!ENTITY cuvee "⋎" ><!--CURLY LOGICAL OR --> +<!ENTITY cuwed "⋏" ><!--CURLY LOGICAL AND --> +<!ENTITY diam "⋄" ><!--DIAMOND OPERATOR --> +<!ENTITY divonx "⋇" ><!--DIVISION TIMES --> +<!ENTITY intcal "⊺" ><!--INTERCALATE --> +<!ENTITY lthree "⋋" ><!--LEFT SEMIDIRECT PRODUCT --> +<!ENTITY ltimes "⋉" ><!--LEFT NORMAL FACTOR SEMIDIRECT PRODUCT --> +<!ENTITY minusb "⊟" ><!--SQUARED MINUS --> +<!ENTITY oast "⊛" ><!--CIRCLED ASTERISK OPERATOR --> +<!ENTITY ocir "⊚" ><!--CIRCLED RING OPERATOR --> +<!ENTITY odash "⊝" ><!--CIRCLED DASH --> +<!ENTITY odot "⊙" ><!--CIRCLED DOT OPERATOR --> +<!ENTITY ominus "⊖" ><!--CIRCLED MINUS --> +<!ENTITY oplus "⊕" ><!--CIRCLED PLUS --> +<!ENTITY osol "⊘" ><!--CIRCLED DIVISION SLASH --> +<!ENTITY otimes "⊗" ><!--CIRCLED TIMES --> +<!ENTITY plusb "⊞" ><!--SQUARED PLUS --> +<!ENTITY plusdo "∔" ><!--DOT PLUS --> +<!ENTITY prod "∏" ><!--N-ARY PRODUCT --> +<!ENTITY rthree "⋌" ><!--RIGHT SEMIDIRECT PRODUCT --> +<!ENTITY rtimes "⋊" ><!--RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT --> +<!ENTITY sdot "⋅" ><!--DOT OPERATOR --> +<!ENTITY sdotb "⊡" ><!--SQUARED DOT OPERATOR --> +<!ENTITY setmn "∖" ><!--SET MINUS --> +<!ENTITY sqcap "⊓" ><!--SQUARE CAP --> +<!ENTITY sqcup "⊔" ><!--SQUARE CUP --> +<!ENTITY ssetmn "∖" ><!--SET MINUS --> +<!ENTITY sstarf "⋆" ><!--STAR OPERATOR --> +<!ENTITY sum "∑" ><!--N-ARY SUMMATION --> +<!ENTITY timesb "⊠" ><!--SQUARED TIMES --> +<!ENTITY top "⊤" ><!--DOWN TACK --> +<!ENTITY uplus "⊎" ><!--MULTISET UNION --> +<!ENTITY wreath "≀" ><!--WREATH PRODUCT --> +<!ENTITY xcirc "◯" ><!--LARGE CIRCLE --> +<!ENTITY xdtri "▽" ><!--WHITE DOWN-POINTING TRIANGLE --> +<!ENTITY xutri "△" ><!--WHITE UP-POINTING TRIANGLE --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isoamsc.ent b/doc/editor_configs/serna/scons/dtd/ent/isoamsc.ent new file mode 100644 index 0000000..c218560 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isoamsc.ent @@ -0,0 +1,51 @@ + +<!-- + File isoamsc.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isoamsc.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isoamsc.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isoamsc PUBLIC + "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isoamsc.ent" + > + %isoamsc; + +--> + +<!ENTITY dlcorn "⌞" ><!--BOTTOM LEFT CORNER --> +<!ENTITY drcorn "⌟" ><!--BOTTOM RIGHT CORNER --> +<!ENTITY lceil "⌈" ><!--LEFT CEILING --> +<!ENTITY lfloor "⌊" ><!--LEFT FLOOR --> +<!ENTITY lpargt "⦠" ><!--SPHERICAL ANGLE OPENING LEFT --> +<!ENTITY rceil "⌉" ><!--RIGHT CEILING --> +<!ENTITY rfloor "⌋" ><!--RIGHT FLOOR --> +<!ENTITY rpargt "⦔" ><!--RIGHT ARC GREATER-THAN BRACKET --> +<!ENTITY ulcorn "⌜" ><!--TOP LEFT CORNER --> +<!ENTITY urcorn "⌝" ><!--TOP RIGHT CORNER --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isoamsn.ent b/doc/editor_configs/serna/scons/dtd/ent/isoamsn.ent new file mode 100644 index 0000000..0bca668 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isoamsn.ent @@ -0,0 +1,103 @@ + +<!-- + File isoamsn.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + References to the VARIANT SELECTOR 1 character (︀) + should match the uses listed in Unicode Technical Report 25. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isoamsn.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isoamsn.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isoamsn PUBLIC + "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isoamsn.ent" + > + %isoamsn; + +--> + +<!ENTITY gnap "⪊" ><!--GREATER-THAN AND NOT APPROXIMATE --> +<!ENTITY gnE "≩" ><!--GREATER-THAN BUT NOT EQUAL TO --> +<!ENTITY gne "⪈" ><!--GREATER-THAN AND SINGLE-LINE NOT EQUAL TO --> +<!ENTITY gnsim "⋧" ><!--GREATER-THAN BUT NOT EQUIVALENT TO --> +<!ENTITY gvnE "≩︀" ><!--GREATER-THAN BUT NOT EQUAL TO - with vertical stroke --> +<!ENTITY lnap "⪉" ><!--LESS-THAN AND NOT APPROXIMATE --> +<!ENTITY lnE "≨" ><!--LESS-THAN BUT NOT EQUAL TO --> +<!ENTITY lne "⪇" ><!--LESS-THAN AND SINGLE-LINE NOT EQUAL TO --> +<!ENTITY lnsim "⋦" ><!--LESS-THAN BUT NOT EQUIVALENT TO --> +<!ENTITY lvnE "≨︀" ><!--LESS-THAN BUT NOT EQUAL TO - with vertical stroke --> +<!ENTITY nap "≉" ><!--NOT ALMOST EQUAL TO --> +<!ENTITY ncong "≇" ><!--NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO --> +<!ENTITY nequiv "≢" ><!--NOT IDENTICAL TO --> +<!ENTITY ngE "≧̸" ><!--GREATER-THAN OVER EQUAL TO with slash --> +<!ENTITY nge "≱" ><!--NEITHER GREATER-THAN NOR EQUAL TO --> +<!ENTITY nges "⩾̸" ><!--GREATER-THAN OR SLANTED EQUAL TO with slash --> +<!ENTITY ngt "≯" ><!--NOT GREATER-THAN --> +<!ENTITY nlE "≦̸" ><!--LESS-THAN OVER EQUAL TO with slash --> +<!ENTITY nle "≰" ><!--NEITHER LESS-THAN NOR EQUAL TO --> +<!ENTITY nles "⩽̸" ><!--LESS-THAN OR SLANTED EQUAL TO with slash --> +<!ENTITY nlt "≮" ><!--NOT LESS-THAN --> +<!ENTITY nltri "⋪" ><!--NOT NORMAL SUBGROUP OF --> +<!ENTITY nltrie "⋬" ><!--NOT NORMAL SUBGROUP OF OR EQUAL TO --> +<!ENTITY nmid "∤" ><!--DOES NOT DIVIDE --> +<!ENTITY npar "∦" ><!--NOT PARALLEL TO --> +<!ENTITY npr "⊀" ><!--DOES NOT PRECEDE --> +<!ENTITY npre "⪯̸" ><!--PRECEDES ABOVE SINGLE-LINE EQUALS SIGN with slash --> +<!ENTITY nrtri "⋫" ><!--DOES NOT CONTAIN AS NORMAL SUBGROUP --> +<!ENTITY nrtrie "⋭" ><!--DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL --> +<!ENTITY nsc "⊁" ><!--DOES NOT SUCCEED --> +<!ENTITY nsce "⪰̸" ><!--SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN with slash --> +<!ENTITY nsim "≁" ><!--NOT TILDE --> +<!ENTITY nsime "≄" ><!--NOT ASYMPTOTICALLY EQUAL TO --> +<!ENTITY nsmid "∤" ><!--DOES NOT DIVIDE --> +<!ENTITY nspar "∦" ><!--NOT PARALLEL TO --> +<!ENTITY nsub "⊄" ><!--NOT A SUBSET OF --> +<!ENTITY nsubE "⫅̸" ><!--SUBSET OF ABOVE EQUALS SIGN with slash --> +<!ENTITY nsube "⊈" ><!--NEITHER A SUBSET OF NOR EQUAL TO --> +<!ENTITY nsup "⊅" ><!--NOT A SUPERSET OF --> +<!ENTITY nsupE "⫆̸" ><!--SUPERSET OF ABOVE EQUALS SIGN with slash --> +<!ENTITY nsupe "⊉" ><!--NEITHER A SUPERSET OF NOR EQUAL TO --> +<!ENTITY nVDash "⊯" ><!--NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE --> +<!ENTITY nVdash "⊮" ><!--DOES NOT FORCE --> +<!ENTITY nvDash "⊭" ><!--NOT TRUE --> +<!ENTITY nvdash "⊬" ><!--DOES NOT PROVE --> +<!ENTITY prnap "⪹" ><!--PRECEDES ABOVE NOT ALMOST EQUAL TO --> +<!ENTITY prnE "⪵" ><!--PRECEDES ABOVE NOT EQUAL TO --> +<!ENTITY prnsim "⋨" ><!--PRECEDES BUT NOT EQUIVALENT TO --> +<!ENTITY scnap "⪺" ><!--SUCCEEDS ABOVE NOT ALMOST EQUAL TO --> +<!ENTITY scnE "⪶" ><!--SUCCEEDS ABOVE NOT EQUAL TO --> +<!ENTITY scnsim "⋩" ><!--SUCCEEDS BUT NOT EQUIVALENT TO --> +<!ENTITY subnE "⫋" ><!--SUBSET OF ABOVE NOT EQUAL TO --> +<!ENTITY subne "⊊" ><!--SUBSET OF WITH NOT EQUAL TO --> +<!ENTITY supnE "⫌" ><!--SUPERSET OF ABOVE NOT EQUAL TO --> +<!ENTITY supne "⊋" ><!--SUPERSET OF WITH NOT EQUAL TO --> +<!ENTITY vsubnE "⫋︀" ><!--SUBSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members --> +<!ENTITY vsubne "⊊︀" ><!--SUBSET OF WITH NOT EQUAL TO - variant with stroke through bottom members --> +<!ENTITY vsupnE "⫌︀" ><!--SUPERSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members --> +<!ENTITY vsupne "⊋︀" ><!--SUPERSET OF WITH NOT EQUAL TO - variant with stroke through bottom members --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isoamso.ent b/doc/editor_configs/serna/scons/dtd/ent/isoamso.ent new file mode 100644 index 0000000..1802e6e --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isoamso.ent @@ -0,0 +1,59 @@ + +<!-- + File isoamso.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isoamso.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isoamso.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isoamso PUBLIC + "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isoamso.ent" + > + %isoamso; + +--> + +<!ENTITY ang "∠" ><!--ANGLE --> +<!ENTITY angmsd "∡" ><!--MEASURED ANGLE --> +<!ENTITY beth "ℶ" ><!--BET SYMBOL --> +<!ENTITY bprime "‵" ><!--REVERSED PRIME --> +<!ENTITY comp "∁" ><!--COMPLEMENT --> +<!ENTITY daleth "ℸ" ><!--DALET SYMBOL --> +<!ENTITY ell "ℓ" ><!--SCRIPT SMALL L --> +<!ENTITY empty "∅" ><!--EMPTY SET --> +<!ENTITY gimel "ℷ" ><!--GIMEL SYMBOL --> +<!ENTITY inodot "ı" ><!--LATIN SMALL LETTER DOTLESS I --> +<!ENTITY jnodot "j" ><!--LATIN SMALL LETTER J --> +<!ENTITY nexist "∄" ><!--THERE DOES NOT EXIST --> +<!ENTITY oS "Ⓢ" ><!--CIRCLED LATIN CAPITAL LETTER S --> +<!ENTITY planck "ℏ" ><!--PLANCK CONSTANT OVER TWO PI --> +<!ENTITY real "ℜ" ><!--BLACK-LETTER CAPITAL R --> +<!ENTITY sbsol "﹨" ><!--SMALL REVERSE SOLIDUS --> +<!ENTITY vprime "′" ><!--PRIME --> +<!ENTITY weierp "℘" ><!--SCRIPT CAPITAL P --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isoamsr.ent b/doc/editor_configs/serna/scons/dtd/ent/isoamsr.ent new file mode 100644 index 0000000..9040833 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isoamsr.ent @@ -0,0 +1,125 @@ + +<!-- + File isoamsr.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isoamsr.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isoamsr.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isoamsr PUBLIC + "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isoamsr.ent" + > + %isoamsr; + +--> + +<!ENTITY ape "≊" ><!--ALMOST EQUAL OR EQUAL TO --> +<!ENTITY asymp "≈" ><!--ALMOST EQUAL TO --> +<!ENTITY bcong "≌" ><!--ALL EQUAL TO --> +<!ENTITY bepsi "϶" ><!--GREEK REVERSED LUNATE EPSILON SYMBOL --> +<!ENTITY bowtie "⋈" ><!--BOWTIE --> +<!ENTITY bsim "∽" ><!--REVERSED TILDE --> +<!ENTITY bsime "⋍" ><!--REVERSED TILDE EQUALS --> +<!ENTITY bump "≎" ><!--GEOMETRICALLY EQUIVALENT TO --> +<!ENTITY bumpe "≏" ><!--DIFFERENCE BETWEEN --> +<!ENTITY cire "≗" ><!--RING EQUAL TO --> +<!ENTITY colone "≔" ><!--COLON EQUALS --> +<!ENTITY cuepr "⋞" ><!--EQUAL TO OR PRECEDES --> +<!ENTITY cuesc "⋟" ><!--EQUAL TO OR SUCCEEDS --> +<!ENTITY cupre "≼" ><!--PRECEDES OR EQUAL TO --> +<!ENTITY dashv "⊣" ><!--LEFT TACK --> +<!ENTITY ecir "≖" ><!--RING IN EQUAL TO --> +<!ENTITY ecolon "≕" ><!--EQUALS COLON --> +<!ENTITY eDot "≑" ><!--GEOMETRICALLY EQUAL TO --> +<!ENTITY efDot "≒" ><!--APPROXIMATELY EQUAL TO OR THE IMAGE OF --> +<!ENTITY egs "⪖" ><!--SLANTED EQUAL TO OR GREATER-THAN --> +<!ENTITY els "⪕" ><!--SLANTED EQUAL TO OR LESS-THAN --> +<!ENTITY erDot "≓" ><!--IMAGE OF OR APPROXIMATELY EQUAL TO --> +<!ENTITY esdot "≐" ><!--APPROACHES THE LIMIT --> +<!ENTITY fork "⋔" ><!--PITCHFORK --> +<!ENTITY frown "⌢" ><!--FROWN --> +<!ENTITY gap "⪆" ><!--GREATER-THAN OR APPROXIMATE --> +<!ENTITY gE "≧" ><!--GREATER-THAN OVER EQUAL TO --> +<!ENTITY gEl "⪌" ><!--GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN --> +<!ENTITY gel "⋛" ><!--GREATER-THAN EQUAL TO OR LESS-THAN --> +<!ENTITY ges "⩾" ><!--GREATER-THAN OR SLANTED EQUAL TO --> +<!ENTITY Gg "⋙" ><!--VERY MUCH GREATER-THAN --> +<!ENTITY gl "≷" ><!--GREATER-THAN OR LESS-THAN --> +<!ENTITY gsdot "⋗" ><!--GREATER-THAN WITH DOT --> +<!ENTITY gsim "≳" ><!--GREATER-THAN OR EQUIVALENT TO --> +<!ENTITY Gt "≫" ><!--MUCH GREATER-THAN --> +<!ENTITY lap "⪅" ><!--LESS-THAN OR APPROXIMATE --> +<!ENTITY ldot "⋖" ><!--LESS-THAN WITH DOT --> +<!ENTITY lE "≦" ><!--LESS-THAN OVER EQUAL TO --> +<!ENTITY lEg "⪋" ><!--LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN --> +<!ENTITY leg "⋚" ><!--LESS-THAN EQUAL TO OR GREATER-THAN --> +<!ENTITY les "⩽" ><!--LESS-THAN OR SLANTED EQUAL TO --> +<!ENTITY lg "≶" ><!--LESS-THAN OR GREATER-THAN --> +<!ENTITY Ll "⋘" ><!--VERY MUCH LESS-THAN --> +<!ENTITY lsim "≲" ><!--LESS-THAN OR EQUIVALENT TO --> +<!ENTITY Lt "≪" ><!--MUCH LESS-THAN --> +<!ENTITY ltrie "⊴" ><!--NORMAL SUBGROUP OF OR EQUAL TO --> +<!ENTITY mid "∣" ><!--DIVIDES --> +<!ENTITY models "⊧" ><!--MODELS --> +<!ENTITY pr "≺" ><!--PRECEDES --> +<!ENTITY prap "⪷" ><!--PRECEDES ABOVE ALMOST EQUAL TO --> +<!ENTITY pre "⪯" ><!--PRECEDES ABOVE SINGLE-LINE EQUALS SIGN --> +<!ENTITY prsim "≾" ><!--PRECEDES OR EQUIVALENT TO --> +<!ENTITY rtrie "⊵" ><!--CONTAINS AS NORMAL SUBGROUP OR EQUAL TO --> +<!ENTITY samalg "∐" ><!--N-ARY COPRODUCT --> +<!ENTITY sc "≻" ><!--SUCCEEDS --> +<!ENTITY scap "⪸" ><!--SUCCEEDS ABOVE ALMOST EQUAL TO --> +<!ENTITY sccue "≽" ><!--SUCCEEDS OR EQUAL TO --> +<!ENTITY sce "⪰" ><!--SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN --> +<!ENTITY scsim "≿" ><!--SUCCEEDS OR EQUIVALENT TO --> +<!ENTITY sfrown "⌢" ><!--FROWN --> +<!ENTITY smid "∣" ><!--DIVIDES --> +<!ENTITY smile "⌣" ><!--SMILE --> +<!ENTITY spar "∥" ><!--PARALLEL TO --> +<!ENTITY sqsub "⊏" ><!--SQUARE IMAGE OF --> +<!ENTITY sqsube "⊑" ><!--SQUARE IMAGE OF OR EQUAL TO --> +<!ENTITY sqsup "⊐" ><!--SQUARE ORIGINAL OF --> +<!ENTITY sqsupe "⊒" ><!--SQUARE ORIGINAL OF OR EQUAL TO --> +<!ENTITY ssmile "⌣" ><!--SMILE --> +<!ENTITY Sub "⋐" ><!--DOUBLE SUBSET --> +<!ENTITY subE "⫅" ><!--SUBSET OF ABOVE EQUALS SIGN --> +<!ENTITY Sup "⋑" ><!--DOUBLE SUPERSET --> +<!ENTITY supE "⫆" ><!--SUPERSET OF ABOVE EQUALS SIGN --> +<!ENTITY thkap "≈" ><!--ALMOST EQUAL TO --> +<!ENTITY thksim "∼" ><!--TILDE OPERATOR --> +<!ENTITY trie "≜" ><!--DELTA EQUAL TO --> +<!ENTITY twixt "≬" ><!--BETWEEN --> +<!ENTITY Vdash "⊩" ><!--FORCES --> +<!ENTITY vDash "⊨" ><!--TRUE --> +<!ENTITY vdash "⊢" ><!--RIGHT TACK --> +<!ENTITY veebar "⊻" ><!--XOR --> +<!ENTITY vltri "⊲" ><!--NORMAL SUBGROUP OF --> +<!ENTITY vprop "∝" ><!--PROPORTIONAL TO --> +<!ENTITY vrtri "⊳" ><!--CONTAINS AS NORMAL SUBGROUP --> +<!ENTITY Vvdash "⊪" ><!--TRIPLE VERTICAL BAR RIGHT TURNSTILE --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isobox.ent b/doc/editor_configs/serna/scons/dtd/ent/isobox.ent new file mode 100644 index 0000000..a365add --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isobox.ent @@ -0,0 +1,81 @@ + +<!-- + File isobox.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isobox.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isobox.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isobox PUBLIC + "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isobox.ent" + > + %isobox; + +--> + +<!ENTITY boxDL "╗" ><!--BOX DRAWINGS DOUBLE DOWN AND LEFT --> +<!ENTITY boxDl "╖" ><!--BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE --> +<!ENTITY boxdL "╕" ><!--BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE --> +<!ENTITY boxdl "┐" ><!--BOX DRAWINGS LIGHT DOWN AND LEFT --> +<!ENTITY boxDR "╔" ><!--BOX DRAWINGS DOUBLE DOWN AND RIGHT --> +<!ENTITY boxDr "╓" ><!--BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE --> +<!ENTITY boxdR "╒" ><!--BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE --> +<!ENTITY boxdr "┌" ><!--BOX DRAWINGS LIGHT DOWN AND RIGHT --> +<!ENTITY boxH "═" ><!--BOX DRAWINGS DOUBLE HORIZONTAL --> +<!ENTITY boxh "─" ><!--BOX DRAWINGS LIGHT HORIZONTAL --> +<!ENTITY boxHD "╦" ><!--BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL --> +<!ENTITY boxHd "╤" ><!--BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE --> +<!ENTITY boxhD "╥" ><!--BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE --> +<!ENTITY boxhd "┬" ><!--BOX DRAWINGS LIGHT DOWN AND HORIZONTAL --> +<!ENTITY boxHU "╩" ><!--BOX DRAWINGS DOUBLE UP AND HORIZONTAL --> +<!ENTITY boxHu "╧" ><!--BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE --> +<!ENTITY boxhU "╨" ><!--BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE --> +<!ENTITY boxhu "┴" ><!--BOX DRAWINGS LIGHT UP AND HORIZONTAL --> +<!ENTITY boxUL "╝" ><!--BOX DRAWINGS DOUBLE UP AND LEFT --> +<!ENTITY boxUl "╜" ><!--BOX DRAWINGS UP DOUBLE AND LEFT SINGLE --> +<!ENTITY boxuL "╛" ><!--BOX DRAWINGS UP SINGLE AND LEFT DOUBLE --> +<!ENTITY boxul "┘" ><!--BOX DRAWINGS LIGHT UP AND LEFT --> +<!ENTITY boxUR "╚" ><!--BOX DRAWINGS DOUBLE UP AND RIGHT --> +<!ENTITY boxUr "╙" ><!--BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE --> +<!ENTITY boxuR "╘" ><!--BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE --> +<!ENTITY boxur "└" ><!--BOX DRAWINGS LIGHT UP AND RIGHT --> +<!ENTITY boxV "║" ><!--BOX DRAWINGS DOUBLE VERTICAL --> +<!ENTITY boxv "│" ><!--BOX DRAWINGS LIGHT VERTICAL --> +<!ENTITY boxVH "╬" ><!--BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL --> +<!ENTITY boxVh "╫" ><!--BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE --> +<!ENTITY boxvH "╪" ><!--BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE --> +<!ENTITY boxvh "┼" ><!--BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL --> +<!ENTITY boxVL "╣" ><!--BOX DRAWINGS DOUBLE VERTICAL AND LEFT --> +<!ENTITY boxVl "╢" ><!--BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE --> +<!ENTITY boxvL "╡" ><!--BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE --> +<!ENTITY boxvl "┤" ><!--BOX DRAWINGS LIGHT VERTICAL AND LEFT --> +<!ENTITY boxVR "╠" ><!--BOX DRAWINGS DOUBLE VERTICAL AND RIGHT --> +<!ENTITY boxVr "╟" ><!--BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE --> +<!ENTITY boxvR "╞" ><!--BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE --> +<!ENTITY boxvr "├" ><!--BOX DRAWINGS LIGHT VERTICAL AND RIGHT --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isocyr1.ent b/doc/editor_configs/serna/scons/dtd/ent/isocyr1.ent new file mode 100644 index 0000000..8da3cfb --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isocyr1.ent @@ -0,0 +1,108 @@ + +<!-- + File isocyr1.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isocyr1.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isocyr1.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isocyr1 PUBLIC + "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isocyr1.ent" + > + %isocyr1; + +--> + +<!ENTITY Acy "А" ><!--CYRILLIC CAPITAL LETTER A --> +<!ENTITY acy "а" ><!--CYRILLIC SMALL LETTER A --> +<!ENTITY Bcy "Б" ><!--CYRILLIC CAPITAL LETTER BE --> +<!ENTITY bcy "б" ><!--CYRILLIC SMALL LETTER BE --> +<!ENTITY CHcy "Ч" ><!--CYRILLIC CAPITAL LETTER CHE --> +<!ENTITY chcy "ч" ><!--CYRILLIC SMALL LETTER CHE --> +<!ENTITY Dcy "Д" ><!--CYRILLIC CAPITAL LETTER DE --> +<!ENTITY dcy "д" ><!--CYRILLIC SMALL LETTER DE --> +<!ENTITY Ecy "Э" ><!--CYRILLIC CAPITAL LETTER E --> +<!ENTITY ecy "э" ><!--CYRILLIC SMALL LETTER E --> +<!ENTITY Fcy "Ф" ><!--CYRILLIC CAPITAL LETTER EF --> +<!ENTITY fcy "ф" ><!--CYRILLIC SMALL LETTER EF --> +<!ENTITY Gcy "Г" ><!--CYRILLIC CAPITAL LETTER GHE --> +<!ENTITY gcy "г" ><!--CYRILLIC SMALL LETTER GHE --> +<!ENTITY HARDcy "Ъ" ><!--CYRILLIC CAPITAL LETTER HARD SIGN --> +<!ENTITY hardcy "ъ" ><!--CYRILLIC SMALL LETTER HARD SIGN --> +<!ENTITY Icy "И" ><!--CYRILLIC CAPITAL LETTER I --> +<!ENTITY icy "и" ><!--CYRILLIC SMALL LETTER I --> +<!ENTITY IEcy "Е" ><!--CYRILLIC CAPITAL LETTER IE --> +<!ENTITY iecy "е" ><!--CYRILLIC SMALL LETTER IE --> +<!ENTITY IOcy "Ё" ><!--CYRILLIC CAPITAL LETTER IO --> +<!ENTITY iocy "ё" ><!--CYRILLIC SMALL LETTER IO --> +<!ENTITY Jcy "Й" ><!--CYRILLIC CAPITAL LETTER SHORT I --> +<!ENTITY jcy "й" ><!--CYRILLIC SMALL LETTER SHORT I --> +<!ENTITY Kcy "К" ><!--CYRILLIC CAPITAL LETTER KA --> +<!ENTITY kcy "к" ><!--CYRILLIC SMALL LETTER KA --> +<!ENTITY KHcy "Х" ><!--CYRILLIC CAPITAL LETTER HA --> +<!ENTITY khcy "х" ><!--CYRILLIC SMALL LETTER HA --> +<!ENTITY Lcy "Л" ><!--CYRILLIC CAPITAL LETTER EL --> +<!ENTITY lcy "л" ><!--CYRILLIC SMALL LETTER EL --> +<!ENTITY Mcy "М" ><!--CYRILLIC CAPITAL LETTER EM --> +<!ENTITY mcy "м" ><!--CYRILLIC SMALL LETTER EM --> +<!ENTITY Ncy "Н" ><!--CYRILLIC CAPITAL LETTER EN --> +<!ENTITY ncy "н" ><!--CYRILLIC SMALL LETTER EN --> +<!ENTITY numero "№" ><!--NUMERO SIGN --> +<!ENTITY Ocy "О" ><!--CYRILLIC CAPITAL LETTER O --> +<!ENTITY ocy "о" ><!--CYRILLIC SMALL LETTER O --> +<!ENTITY Pcy "П" ><!--CYRILLIC CAPITAL LETTER PE --> +<!ENTITY pcy "п" ><!--CYRILLIC SMALL LETTER PE --> +<!ENTITY Rcy "Р" ><!--CYRILLIC CAPITAL LETTER ER --> +<!ENTITY rcy "р" ><!--CYRILLIC SMALL LETTER ER --> +<!ENTITY Scy "С" ><!--CYRILLIC CAPITAL LETTER ES --> +<!ENTITY scy "с" ><!--CYRILLIC SMALL LETTER ES --> +<!ENTITY SHCHcy "Щ" ><!--CYRILLIC CAPITAL LETTER SHCHA --> +<!ENTITY shchcy "щ" ><!--CYRILLIC SMALL LETTER SHCHA --> +<!ENTITY SHcy "Ш" ><!--CYRILLIC CAPITAL LETTER SHA --> +<!ENTITY shcy "ш" ><!--CYRILLIC SMALL LETTER SHA --> +<!ENTITY SOFTcy "Ь" ><!--CYRILLIC CAPITAL LETTER SOFT SIGN --> +<!ENTITY softcy "ь" ><!--CYRILLIC SMALL LETTER SOFT SIGN --> +<!ENTITY Tcy "Т" ><!--CYRILLIC CAPITAL LETTER TE --> +<!ENTITY tcy "т" ><!--CYRILLIC SMALL LETTER TE --> +<!ENTITY TScy "Ц" ><!--CYRILLIC CAPITAL LETTER TSE --> +<!ENTITY tscy "ц" ><!--CYRILLIC SMALL LETTER TSE --> +<!ENTITY Ucy "У" ><!--CYRILLIC CAPITAL LETTER U --> +<!ENTITY ucy "у" ><!--CYRILLIC SMALL LETTER U --> +<!ENTITY Vcy "В" ><!--CYRILLIC CAPITAL LETTER VE --> +<!ENTITY vcy "в" ><!--CYRILLIC SMALL LETTER VE --> +<!ENTITY YAcy "Я" ><!--CYRILLIC CAPITAL LETTER YA --> +<!ENTITY yacy "я" ><!--CYRILLIC SMALL LETTER YA --> +<!ENTITY Ycy "Ы" ><!--CYRILLIC CAPITAL LETTER YERU --> +<!ENTITY ycy "ы" ><!--CYRILLIC SMALL LETTER YERU --> +<!ENTITY YUcy "Ю" ><!--CYRILLIC CAPITAL LETTER YU --> +<!ENTITY yucy "ю" ><!--CYRILLIC SMALL LETTER YU --> +<!ENTITY Zcy "З" ><!--CYRILLIC CAPITAL LETTER ZE --> +<!ENTITY zcy "з" ><!--CYRILLIC SMALL LETTER ZE --> +<!ENTITY ZHcy "Ж" ><!--CYRILLIC CAPITAL LETTER ZHE --> +<!ENTITY zhcy "ж" ><!--CYRILLIC SMALL LETTER ZHE --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isocyr2.ent b/doc/editor_configs/serna/scons/dtd/ent/isocyr2.ent new file mode 100644 index 0000000..00f869d --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isocyr2.ent @@ -0,0 +1,67 @@ + +<!-- + File isocyr2.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isocyr2.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isocyr2.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isocyr2 PUBLIC + "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isocyr2.ent" + > + %isocyr2; + +--> + +<!ENTITY DJcy "Ђ" ><!--CYRILLIC CAPITAL LETTER DJE --> +<!ENTITY djcy "ђ" ><!--CYRILLIC SMALL LETTER DJE --> +<!ENTITY DScy "Ѕ" ><!--CYRILLIC CAPITAL LETTER DZE --> +<!ENTITY dscy "ѕ" ><!--CYRILLIC SMALL LETTER DZE --> +<!ENTITY DZcy "Џ" ><!--CYRILLIC CAPITAL LETTER DZHE --> +<!ENTITY dzcy "џ" ><!--CYRILLIC SMALL LETTER DZHE --> +<!ENTITY GJcy "Ѓ" ><!--CYRILLIC CAPITAL LETTER GJE --> +<!ENTITY gjcy "ѓ" ><!--CYRILLIC SMALL LETTER GJE --> +<!ENTITY Iukcy "І" ><!--CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I --> +<!ENTITY iukcy "і" ><!--CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I --> +<!ENTITY Jsercy "Ј" ><!--CYRILLIC CAPITAL LETTER JE --> +<!ENTITY jsercy "ј" ><!--CYRILLIC SMALL LETTER JE --> +<!ENTITY Jukcy "Є" ><!--CYRILLIC CAPITAL LETTER UKRAINIAN IE --> +<!ENTITY jukcy "є" ><!--CYRILLIC SMALL LETTER UKRAINIAN IE --> +<!ENTITY KJcy "Ќ" ><!--CYRILLIC CAPITAL LETTER KJE --> +<!ENTITY kjcy "ќ" ><!--CYRILLIC SMALL LETTER KJE --> +<!ENTITY LJcy "Љ" ><!--CYRILLIC CAPITAL LETTER LJE --> +<!ENTITY ljcy "љ" ><!--CYRILLIC SMALL LETTER LJE --> +<!ENTITY NJcy "Њ" ><!--CYRILLIC CAPITAL LETTER NJE --> +<!ENTITY njcy "њ" ><!--CYRILLIC SMALL LETTER NJE --> +<!ENTITY TSHcy "Ћ" ><!--CYRILLIC CAPITAL LETTER TSHE --> +<!ENTITY tshcy "ћ" ><!--CYRILLIC SMALL LETTER TSHE --> +<!ENTITY Ubrcy "Ў" ><!--CYRILLIC CAPITAL LETTER SHORT U --> +<!ENTITY ubrcy "ў" ><!--CYRILLIC SMALL LETTER SHORT U --> +<!ENTITY YIcy "Ї" ><!--CYRILLIC CAPITAL LETTER YI --> +<!ENTITY yicy "ї" ><!--CYRILLIC SMALL LETTER YI --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isodia.ent b/doc/editor_configs/serna/scons/dtd/ent/isodia.ent new file mode 100644 index 0000000..b70c4bf --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isodia.ent @@ -0,0 +1,55 @@ + +<!-- + File isodia.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isodia.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isodia.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isodia PUBLIC + "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isodia.ent" + > + %isodia; + +--> + +<!ENTITY acute "´" ><!--ACUTE ACCENT --> +<!ENTITY breve "˘" ><!--BREVE --> +<!ENTITY caron "ˇ" ><!--CARON --> +<!ENTITY cedil "¸" ><!--CEDILLA --> +<!ENTITY circ "ˆ" ><!--MODIFIER LETTER CIRCUMFLEX ACCENT --> +<!ENTITY dblac "˝" ><!--DOUBLE ACUTE ACCENT --> +<!ENTITY die "¨" ><!--DIAERESIS --> +<!ENTITY dot "˙" ><!--DOT ABOVE --> +<!ENTITY grave "`" ><!--GRAVE ACCENT --> +<!ENTITY macr "¯" ><!--MACRON --> +<!ENTITY ogon "˛" ><!--OGONEK --> +<!ENTITY ring "˚" ><!--RING ABOVE --> +<!ENTITY tilde "˜" ><!--SMALL TILDE --> +<!ENTITY uml "¨" ><!--DIAERESIS --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isogrk1.ent b/doc/editor_configs/serna/scons/dtd/ent/isogrk1.ent new file mode 100644 index 0000000..c1d7d81 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isogrk1.ent @@ -0,0 +1,90 @@ + +<!-- + File isogrk1.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isogrk1.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Greek Letters//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isogrk1.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isogrk1 PUBLIC + "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isogrk1.ent" + > + %isogrk1; + +--> + +<!ENTITY Agr "Α" ><!--GREEK CAPITAL LETTER ALPHA --> +<!ENTITY agr "α" ><!--GREEK SMALL LETTER ALPHA --> +<!ENTITY Bgr "Β" ><!--GREEK CAPITAL LETTER BETA --> +<!ENTITY bgr "β" ><!--GREEK SMALL LETTER BETA --> +<!ENTITY Dgr "Δ" ><!--GREEK CAPITAL LETTER DELTA --> +<!ENTITY dgr "δ" ><!--GREEK SMALL LETTER DELTA --> +<!ENTITY EEgr "Η" ><!--GREEK CAPITAL LETTER ETA --> +<!ENTITY eegr "η" ><!--GREEK SMALL LETTER ETA --> +<!ENTITY Egr "Ε" ><!--GREEK CAPITAL LETTER EPSILON --> +<!ENTITY egr "ε" ><!--GREEK SMALL LETTER EPSILON --> +<!ENTITY Ggr "Γ" ><!--GREEK CAPITAL LETTER GAMMA --> +<!ENTITY ggr "γ" ><!--GREEK SMALL LETTER GAMMA --> +<!ENTITY Igr "Ι" ><!--GREEK CAPITAL LETTER IOTA --> +<!ENTITY igr "ι" ><!--GREEK SMALL LETTER IOTA --> +<!ENTITY Kgr "Κ" ><!--GREEK CAPITAL LETTER KAPPA --> +<!ENTITY kgr "κ" ><!--GREEK SMALL LETTER KAPPA --> +<!ENTITY KHgr "Χ" ><!--GREEK CAPITAL LETTER CHI --> +<!ENTITY khgr "χ" ><!--GREEK SMALL LETTER CHI --> +<!ENTITY Lgr "Λ" ><!--GREEK CAPITAL LETTER LAMDA --> +<!ENTITY lgr "λ" ><!--GREEK SMALL LETTER LAMDA --> +<!ENTITY Mgr "Μ" ><!--GREEK CAPITAL LETTER MU --> +<!ENTITY mgr "μ" ><!--GREEK SMALL LETTER MU --> +<!ENTITY Ngr "Ν" ><!--GREEK CAPITAL LETTER NU --> +<!ENTITY ngr "ν" ><!--GREEK SMALL LETTER NU --> +<!ENTITY Ogr "Ο" ><!--GREEK CAPITAL LETTER OMICRON --> +<!ENTITY ogr "ο" ><!--GREEK SMALL LETTER OMICRON --> +<!ENTITY OHgr "Ω" ><!--GREEK CAPITAL LETTER OMEGA --> +<!ENTITY ohgr "ω" ><!--GREEK SMALL LETTER OMEGA --> +<!ENTITY Pgr "Π" ><!--GREEK CAPITAL LETTER PI --> +<!ENTITY pgr "π" ><!--GREEK SMALL LETTER PI --> +<!ENTITY PHgr "Φ" ><!--GREEK CAPITAL LETTER PHI --> +<!ENTITY phgr "φ" ><!--GREEK SMALL LETTER PHI --> +<!ENTITY PSgr "Ψ" ><!--GREEK CAPITAL LETTER PSI --> +<!ENTITY psgr "ψ" ><!--GREEK SMALL LETTER PSI --> +<!ENTITY Rgr "Ρ" ><!--GREEK CAPITAL LETTER RHO --> +<!ENTITY rgr "ρ" ><!--GREEK SMALL LETTER RHO --> +<!ENTITY sfgr "ς" ><!--GREEK SMALL LETTER FINAL SIGMA --> +<!ENTITY Sgr "Σ" ><!--GREEK CAPITAL LETTER SIGMA --> +<!ENTITY sgr "σ" ><!--GREEK SMALL LETTER SIGMA --> +<!ENTITY Tgr "Τ" ><!--GREEK CAPITAL LETTER TAU --> +<!ENTITY tgr "τ" ><!--GREEK SMALL LETTER TAU --> +<!ENTITY THgr "Θ" ><!--GREEK CAPITAL LETTER THETA --> +<!ENTITY thgr "θ" ><!--GREEK SMALL LETTER THETA --> +<!ENTITY Ugr "Υ" ><!--GREEK CAPITAL LETTER UPSILON --> +<!ENTITY ugr "υ" ><!--GREEK SMALL LETTER UPSILON --> +<!ENTITY Xgr "Ξ" ><!--GREEK CAPITAL LETTER XI --> +<!ENTITY xgr "ξ" ><!--GREEK SMALL LETTER XI --> +<!ENTITY Zgr "Ζ" ><!--GREEK CAPITAL LETTER ZETA --> +<!ENTITY zgr "ζ" ><!--GREEK SMALL LETTER ZETA --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isogrk2.ent b/doc/editor_configs/serna/scons/dtd/ent/isogrk2.ent new file mode 100644 index 0000000..1874082 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isogrk2.ent @@ -0,0 +1,61 @@ + +<!-- + File isogrk2.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isogrk2.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isogrk2.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isogrk2 PUBLIC + "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isogrk2.ent" + > + %isogrk2; + +--> + +<!ENTITY Aacgr "Ά" ><!--GREEK CAPITAL LETTER ALPHA WITH TONOS --> +<!ENTITY aacgr "ά" ><!--GREEK SMALL LETTER ALPHA WITH TONOS --> +<!ENTITY Eacgr "Έ" ><!--GREEK CAPITAL LETTER EPSILON WITH TONOS --> +<!ENTITY eacgr "έ" ><!--GREEK SMALL LETTER EPSILON WITH TONOS --> +<!ENTITY EEacgr "Ή" ><!--GREEK CAPITAL LETTER ETA WITH TONOS --> +<!ENTITY eeacgr "ή" ><!--GREEK SMALL LETTER ETA WITH TONOS --> +<!ENTITY Iacgr "Ί" ><!--GREEK CAPITAL LETTER IOTA WITH TONOS --> +<!ENTITY iacgr "ί" ><!--GREEK SMALL LETTER IOTA WITH TONOS --> +<!ENTITY idiagr "ΐ" ><!--GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS --> +<!ENTITY Idigr "Ϊ" ><!--GREEK CAPITAL LETTER IOTA WITH DIALYTIKA --> +<!ENTITY idigr "ϊ" ><!--GREEK SMALL LETTER IOTA WITH DIALYTIKA --> +<!ENTITY Oacgr "Ό" ><!--GREEK CAPITAL LETTER OMICRON WITH TONOS --> +<!ENTITY oacgr "ό" ><!--GREEK SMALL LETTER OMICRON WITH TONOS --> +<!ENTITY OHacgr "Ώ" ><!--GREEK CAPITAL LETTER OMEGA WITH TONOS --> +<!ENTITY ohacgr "ώ" ><!--GREEK SMALL LETTER OMEGA WITH TONOS --> +<!ENTITY Uacgr "Ύ" ><!--GREEK CAPITAL LETTER UPSILON WITH TONOS --> +<!ENTITY uacgr "ύ" ><!--GREEK SMALL LETTER UPSILON WITH TONOS --> +<!ENTITY udiagr "ΰ" ><!--GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS --> +<!ENTITY Udigr "Ϋ" ><!--GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA --> +<!ENTITY udigr "ϋ" ><!--GREEK SMALL LETTER UPSILON WITH DIALYTIKA --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isogrk3.ent b/doc/editor_configs/serna/scons/dtd/ent/isogrk3.ent new file mode 100644 index 0000000..7fdb12b --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isogrk3.ent @@ -0,0 +1,84 @@ + +<!-- + File isogrk3.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isogrk3.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Greek Symbols//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isogrk3.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isogrk3 PUBLIC + "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isogrk3.ent" + > + %isogrk3; + +--> + +<!ENTITY alpha "α" ><!--GREEK SMALL LETTER ALPHA --> +<!ENTITY beta "β" ><!--GREEK SMALL LETTER BETA --> +<!ENTITY chi "χ" ><!--GREEK SMALL LETTER CHI --> +<!ENTITY Delta "Δ" ><!--GREEK CAPITAL LETTER DELTA --> +<!ENTITY delta "δ" ><!--GREEK SMALL LETTER DELTA --> +<!ENTITY epsi "ϵ" ><!--GREEK LUNATE EPSILON SYMBOL --> +<!ENTITY epsis "ϵ" ><!--GREEK LUNATE EPSILON SYMBOL --> +<!ENTITY epsiv "ε" ><!--GREEK SMALL LETTER EPSILON --> +<!ENTITY eta "η" ><!--GREEK SMALL LETTER ETA --> +<!ENTITY Gamma "Γ" ><!--GREEK CAPITAL LETTER GAMMA --> +<!ENTITY gamma "γ" ><!--GREEK SMALL LETTER GAMMA --> +<!ENTITY gammad "ϝ" ><!--GREEK SMALL LETTER DIGAMMA --> +<!ENTITY iota "ι" ><!--GREEK SMALL LETTER IOTA --> +<!ENTITY kappa "κ" ><!--GREEK SMALL LETTER KAPPA --> +<!ENTITY kappav "ϰ" ><!--GREEK KAPPA SYMBOL --> +<!ENTITY Lambda "Λ" ><!--GREEK CAPITAL LETTER LAMDA --> +<!ENTITY lambda "λ" ><!--GREEK SMALL LETTER LAMDA --> +<!ENTITY mu "μ" ><!--GREEK SMALL LETTER MU --> +<!ENTITY nu "ν" ><!--GREEK SMALL LETTER NU --> +<!ENTITY Omega "Ω" ><!--GREEK CAPITAL LETTER OMEGA --> +<!ENTITY omega "ω" ><!--GREEK SMALL LETTER OMEGA --> +<!ENTITY Phi "Φ" ><!--GREEK CAPITAL LETTER PHI --> +<!ENTITY phis "ϕ" ><!--GREEK PHI SYMBOL --> +<!ENTITY phiv "φ" ><!--GREEK SMALL LETTER PHI --> +<!ENTITY Pi "Π" ><!--GREEK CAPITAL LETTER PI --> +<!ENTITY pi "π" ><!--GREEK SMALL LETTER PI --> +<!ENTITY piv "ϖ" ><!--GREEK PI SYMBOL --> +<!ENTITY Psi "Ψ" ><!--GREEK CAPITAL LETTER PSI --> +<!ENTITY psi "ψ" ><!--GREEK SMALL LETTER PSI --> +<!ENTITY rho "ρ" ><!--GREEK SMALL LETTER RHO --> +<!ENTITY rhov "ϱ" ><!--GREEK RHO SYMBOL --> +<!ENTITY Sigma "Σ" ><!--GREEK CAPITAL LETTER SIGMA --> +<!ENTITY sigma "σ" ><!--GREEK SMALL LETTER SIGMA --> +<!ENTITY sigmav "ς" ><!--GREEK SMALL LETTER FINAL SIGMA --> +<!ENTITY tau "τ" ><!--GREEK SMALL LETTER TAU --> +<!ENTITY Theta "Θ" ><!--GREEK CAPITAL LETTER THETA --> +<!ENTITY thetas "θ" ><!--GREEK SMALL LETTER THETA --> +<!ENTITY thetav "ϑ" ><!--GREEK THETA SYMBOL --> +<!ENTITY Upsi "ϒ" ><!--GREEK UPSILON WITH HOOK SYMBOL --> +<!ENTITY upsi "υ" ><!--GREEK SMALL LETTER UPSILON --> +<!ENTITY Xi "Ξ" ><!--GREEK CAPITAL LETTER XI --> +<!ENTITY xi "ξ" ><!--GREEK SMALL LETTER XI --> +<!ENTITY zeta "ζ" ><!--GREEK SMALL LETTER ZETA --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isogrk4.ent b/doc/editor_configs/serna/scons/dtd/ent/isogrk4.ent new file mode 100644 index 0000000..7ee90d9 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isogrk4.ent @@ -0,0 +1,85 @@ +<!-- ...................................................................... --> +<!-- ISO Alternative Greek Symbols Entities V0.3 .......................... --> +<!-- File iso-grk4.ent .................................................... --> + +<!-- Copyright (C) 2001, 2002 Organization for the Advancement of Structured + Information Standards (OASIS). + + $Id: iso-grk4.ent,v 1.2 2002/06/13 17:39:20 nwalsh Exp $ + + Permission to use, copy, modify and distribute this entity set + and its accompanying documentation for any purpose and without + fee is hereby granted in perpetuity, provided that the above + copyright notice and this paragraph appear in all copies. The + copyright holders make no representation about the suitability of + the entities for any purpose. It is provided "as is" without + expressed or implied warranty. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + + Derived, in part, from: + + * iso-grk4.gml + + Copyright (C) 1986 International Organization for Standardization + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + + * http://www.tug.org/applications/jadetex/unicode.xml + + * ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT + + Please use the following formal public identifier to identify it: + + ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML +--> + +<!ENTITY b.alpha "α"> <!-- --> +<!ENTITY b.beta "β"> <!-- GREEK SMALL LETTER BETA --> +<!ENTITY b.gamma "γ"> <!-- GREEK SMALL LETTER GAMMA --> +<!ENTITY b.Gamma "Γ"> <!-- GREEK CAPITAL LETTER GAMMA --> +<!ENTITY b.gammad "Ϝ"> <!-- GREEK LETTER DIGAMMA --> +<!ENTITY b.delta "δ"> <!-- GREEK SMALL LETTER DELTA --> +<!ENTITY b.Delta "Δ"> <!-- GREEK CAPITAL LETTER DELTA --> +<!ENTITY b.epsi "ε"> <!-- --> +<!ENTITY b.epsiv "ε"> <!-- --> +<!ENTITY b.epsis "ε"> <!-- --> +<!ENTITY b.zeta "ζ"> <!-- GREEK SMALL LETTER ZETA --> +<!ENTITY b.eta "η"> <!-- GREEK SMALL LETTER ETA --> +<!ENTITY b.thetas "θ"> <!-- --> +<!ENTITY b.Theta "Θ"> <!-- GREEK CAPITAL LETTER THETA --> +<!ENTITY b.thetav "ϑ"> <!-- --> +<!ENTITY b.iota "ι"> <!-- GREEK SMALL LETTER IOTA --> +<!ENTITY b.kappa "κ"> <!-- GREEK SMALL LETTER KAPPA --> +<!ENTITY b.kappav "ϰ"> <!-- GREEK KAPPA SYMBOL --> +<!ENTITY b.lambda "λ"> <!-- GREEK SMALL LETTER LAMDA --> +<!ENTITY b.Lambda "Λ"> <!-- GREEK CAPITAL LETTER LAMDA --> +<!ENTITY b.mu "μ"> <!-- GREEK SMALL LETTER MU --> +<!ENTITY b.nu "ν"> <!-- GREEK SMALL LETTER NU --> +<!ENTITY b.xi "ξ"> <!-- GREEK SMALL LETTER XI --> +<!ENTITY b.Xi "Ξ"> <!-- GREEK CAPITAL LETTER XI --> +<!ENTITY b.pi "π"> <!-- GREEK SMALL LETTER PI --> +<!ENTITY b.Pi "Π"> <!-- GREEK CAPITAL LETTER PI --> +<!ENTITY b.piv "ϖ"> <!-- GREEK PI SYMBOL --> +<!ENTITY b.rho "ρ"> <!-- GREEK SMALL LETTER RHO --> +<!ENTITY b.rhov "ϱ"> <!-- GREEK RHO SYMBOL --> +<!ENTITY b.sigma "σ"> <!-- GREEK SMALL LETTER SIGMA --> +<!ENTITY b.Sigma "Σ"> <!-- GREEK CAPITAL LETTER SIGMA --> +<!ENTITY b.sigmav "ς"> <!-- --> +<!ENTITY b.tau "τ"> <!-- GREEK SMALL LETTER TAU --> +<!ENTITY b.upsi "υ"> <!-- GREEK SMALL LETTER UPSILON --> +<!ENTITY b.Upsi "ϒ"> <!-- --> +<!ENTITY b.phis "φ"> <!-- GREEK SMALL LETTER PHI --> +<!ENTITY b.Phi "Φ"> <!-- GREEK CAPITAL LETTER PHI --> +<!ENTITY b.phiv "ϕ"> <!-- GREEK PHI SYMBOL --> +<!ENTITY b.chi "χ"> <!-- GREEK SMALL LETTER CHI --> +<!ENTITY b.psi "ψ"> <!-- GREEK SMALL LETTER PSI --> +<!ENTITY b.Psi "Ψ"> <!-- GREEK CAPITAL LETTER PSI --> +<!ENTITY b.omega "ω"> <!-- GREEK SMALL LETTER OMEGA --> +<!ENTITY b.Omega "Ω"> <!-- GREEK CAPITAL LETTER OMEGA --> + +<!-- End of ISO Alternative Greek Symbols Entities V0.3 ................... --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isolat1.ent b/doc/editor_configs/serna/scons/dtd/ent/isolat1.ent new file mode 100644 index 0000000..93508f0 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isolat1.ent @@ -0,0 +1,103 @@ + +<!-- + File isolat1.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isolat1.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Latin 1//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isolat1.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isolat1 PUBLIC + "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isolat1.ent" + > + %isolat1; + +--> + +<!ENTITY Aacute "Á" ><!--LATIN CAPITAL LETTER A WITH ACUTE --> +<!ENTITY aacute "á" ><!--LATIN SMALL LETTER A WITH ACUTE --> +<!ENTITY Acirc "Â" ><!--LATIN CAPITAL LETTER A WITH CIRCUMFLEX --> +<!ENTITY acirc "â" ><!--LATIN SMALL LETTER A WITH CIRCUMFLEX --> +<!ENTITY AElig "Æ" ><!--LATIN CAPITAL LETTER AE --> +<!ENTITY aelig "æ" ><!--LATIN SMALL LETTER AE --> +<!ENTITY Agrave "À" ><!--LATIN CAPITAL LETTER A WITH GRAVE --> +<!ENTITY agrave "à" ><!--LATIN SMALL LETTER A WITH GRAVE --> +<!ENTITY Aring "Å" ><!--LATIN CAPITAL LETTER A WITH RING ABOVE --> +<!ENTITY aring "å" ><!--LATIN SMALL LETTER A WITH RING ABOVE --> +<!ENTITY Atilde "Ã" ><!--LATIN CAPITAL LETTER A WITH TILDE --> +<!ENTITY atilde "ã" ><!--LATIN SMALL LETTER A WITH TILDE --> +<!ENTITY Auml "Ä" ><!--LATIN CAPITAL LETTER A WITH DIAERESIS --> +<!ENTITY auml "ä" ><!--LATIN SMALL LETTER A WITH DIAERESIS --> +<!ENTITY Ccedil "Ç" ><!--LATIN CAPITAL LETTER C WITH CEDILLA --> +<!ENTITY ccedil "ç" ><!--LATIN SMALL LETTER C WITH CEDILLA --> +<!ENTITY Eacute "É" ><!--LATIN CAPITAL LETTER E WITH ACUTE --> +<!ENTITY eacute "é" ><!--LATIN SMALL LETTER E WITH ACUTE --> +<!ENTITY Ecirc "Ê" ><!--LATIN CAPITAL LETTER E WITH CIRCUMFLEX --> +<!ENTITY ecirc "ê" ><!--LATIN SMALL LETTER E WITH CIRCUMFLEX --> +<!ENTITY Egrave "È" ><!--LATIN CAPITAL LETTER E WITH GRAVE --> +<!ENTITY egrave "è" ><!--LATIN SMALL LETTER E WITH GRAVE --> +<!ENTITY ETH "Ð" ><!--LATIN CAPITAL LETTER ETH --> +<!ENTITY eth "ð" ><!--LATIN SMALL LETTER ETH --> +<!ENTITY Euml "Ë" ><!--LATIN CAPITAL LETTER E WITH DIAERESIS --> +<!ENTITY euml "ë" ><!--LATIN SMALL LETTER E WITH DIAERESIS --> +<!ENTITY Iacute "Í" ><!--LATIN CAPITAL LETTER I WITH ACUTE --> +<!ENTITY iacute "í" ><!--LATIN SMALL LETTER I WITH ACUTE --> +<!ENTITY Icirc "Î" ><!--LATIN CAPITAL LETTER I WITH CIRCUMFLEX --> +<!ENTITY icirc "î" ><!--LATIN SMALL LETTER I WITH CIRCUMFLEX --> +<!ENTITY Igrave "Ì" ><!--LATIN CAPITAL LETTER I WITH GRAVE --> +<!ENTITY igrave "ì" ><!--LATIN SMALL LETTER I WITH GRAVE --> +<!ENTITY Iuml "Ï" ><!--LATIN CAPITAL LETTER I WITH DIAERESIS --> +<!ENTITY iuml "ï" ><!--LATIN SMALL LETTER I WITH DIAERESIS --> +<!ENTITY Ntilde "Ñ" ><!--LATIN CAPITAL LETTER N WITH TILDE --> +<!ENTITY ntilde "ñ" ><!--LATIN SMALL LETTER N WITH TILDE --> +<!ENTITY Oacute "Ó" ><!--LATIN CAPITAL LETTER O WITH ACUTE --> +<!ENTITY oacute "ó" ><!--LATIN SMALL LETTER O WITH ACUTE --> +<!ENTITY Ocirc "Ô" ><!--LATIN CAPITAL LETTER O WITH CIRCUMFLEX --> +<!ENTITY ocirc "ô" ><!--LATIN SMALL LETTER O WITH CIRCUMFLEX --> +<!ENTITY Ograve "Ò" ><!--LATIN CAPITAL LETTER O WITH GRAVE --> +<!ENTITY ograve "ò" ><!--LATIN SMALL LETTER O WITH GRAVE --> +<!ENTITY Oslash "Ø" ><!--LATIN CAPITAL LETTER O WITH STROKE --> +<!ENTITY oslash "ø" ><!--LATIN SMALL LETTER O WITH STROKE --> +<!ENTITY Otilde "Õ" ><!--LATIN CAPITAL LETTER O WITH TILDE --> +<!ENTITY otilde "õ" ><!--LATIN SMALL LETTER O WITH TILDE --> +<!ENTITY Ouml "Ö" ><!--LATIN CAPITAL LETTER O WITH DIAERESIS --> +<!ENTITY ouml "ö" ><!--LATIN SMALL LETTER O WITH DIAERESIS --> +<!ENTITY szlig "ß" ><!--LATIN SMALL LETTER SHARP S --> +<!ENTITY THORN "Þ" ><!--LATIN CAPITAL LETTER THORN --> +<!ENTITY thorn "þ" ><!--LATIN SMALL LETTER THORN --> +<!ENTITY Uacute "Ú" ><!--LATIN CAPITAL LETTER U WITH ACUTE --> +<!ENTITY uacute "ú" ><!--LATIN SMALL LETTER U WITH ACUTE --> +<!ENTITY Ucirc "Û" ><!--LATIN CAPITAL LETTER U WITH CIRCUMFLEX --> +<!ENTITY ucirc "û" ><!--LATIN SMALL LETTER U WITH CIRCUMFLEX --> +<!ENTITY Ugrave "Ù" ><!--LATIN CAPITAL LETTER U WITH GRAVE --> +<!ENTITY ugrave "ù" ><!--LATIN SMALL LETTER U WITH GRAVE --> +<!ENTITY Uuml "Ü" ><!--LATIN CAPITAL LETTER U WITH DIAERESIS --> +<!ENTITY uuml "ü" ><!--LATIN SMALL LETTER U WITH DIAERESIS --> +<!ENTITY Yacute "Ý" ><!--LATIN CAPITAL LETTER Y WITH ACUTE --> +<!ENTITY yacute "ý" ><!--LATIN SMALL LETTER Y WITH ACUTE --> +<!ENTITY yuml "ÿ" ><!--LATIN SMALL LETTER Y WITH DIAERESIS --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isolat2.ent b/doc/editor_configs/serna/scons/dtd/ent/isolat2.ent new file mode 100644 index 0000000..89d87cd --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isolat2.ent @@ -0,0 +1,162 @@ + +<!-- + File isolat2.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isolat2.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Added Latin 2//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isolat2.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isolat2 PUBLIC + "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isolat2.ent" + > + %isolat2; + +--> + +<!ENTITY Abreve "Ă" ><!--LATIN CAPITAL LETTER A WITH BREVE --> +<!ENTITY abreve "ă" ><!--LATIN SMALL LETTER A WITH BREVE --> +<!ENTITY Amacr "Ā" ><!--LATIN CAPITAL LETTER A WITH MACRON --> +<!ENTITY amacr "ā" ><!--LATIN SMALL LETTER A WITH MACRON --> +<!ENTITY Aogon "Ą" ><!--LATIN CAPITAL LETTER A WITH OGONEK --> +<!ENTITY aogon "ą" ><!--LATIN SMALL LETTER A WITH OGONEK --> +<!ENTITY Cacute "Ć" ><!--LATIN CAPITAL LETTER C WITH ACUTE --> +<!ENTITY cacute "ć" ><!--LATIN SMALL LETTER C WITH ACUTE --> +<!ENTITY Ccaron "Č" ><!--LATIN CAPITAL LETTER C WITH CARON --> +<!ENTITY ccaron "č" ><!--LATIN SMALL LETTER C WITH CARON --> +<!ENTITY Ccirc "Ĉ" ><!--LATIN CAPITAL LETTER C WITH CIRCUMFLEX --> +<!ENTITY ccirc "ĉ" ><!--LATIN SMALL LETTER C WITH CIRCUMFLEX --> +<!ENTITY Cdot "Ċ" ><!--LATIN CAPITAL LETTER C WITH DOT ABOVE --> +<!ENTITY cdot "ċ" ><!--LATIN SMALL LETTER C WITH DOT ABOVE --> +<!ENTITY Dcaron "Ď" ><!--LATIN CAPITAL LETTER D WITH CARON --> +<!ENTITY dcaron "ď" ><!--LATIN SMALL LETTER D WITH CARON --> +<!ENTITY Dstrok "Đ" ><!--LATIN CAPITAL LETTER D WITH STROKE --> +<!ENTITY dstrok "đ" ><!--LATIN SMALL LETTER D WITH STROKE --> +<!ENTITY Ecaron "Ě" ><!--LATIN CAPITAL LETTER E WITH CARON --> +<!ENTITY ecaron "ě" ><!--LATIN SMALL LETTER E WITH CARON --> +<!ENTITY Edot "Ė" ><!--LATIN CAPITAL LETTER E WITH DOT ABOVE --> +<!ENTITY edot "ė" ><!--LATIN SMALL LETTER E WITH DOT ABOVE --> +<!ENTITY Emacr "Ē" ><!--LATIN CAPITAL LETTER E WITH MACRON --> +<!ENTITY emacr "ē" ><!--LATIN SMALL LETTER E WITH MACRON --> +<!ENTITY ENG "Ŋ" ><!--LATIN CAPITAL LETTER ENG --> +<!ENTITY eng "ŋ" ><!--LATIN SMALL LETTER ENG --> +<!ENTITY Eogon "Ę" ><!--LATIN CAPITAL LETTER E WITH OGONEK --> +<!ENTITY eogon "ę" ><!--LATIN SMALL LETTER E WITH OGONEK --> +<!ENTITY gacute "ǵ" ><!--LATIN SMALL LETTER G WITH ACUTE --> +<!ENTITY Gbreve "Ğ" ><!--LATIN CAPITAL LETTER G WITH BREVE --> +<!ENTITY gbreve "ğ" ><!--LATIN SMALL LETTER G WITH BREVE --> +<!ENTITY Gcedil "Ģ" ><!--LATIN CAPITAL LETTER G WITH CEDILLA --> +<!ENTITY Gcirc "Ĝ" ><!--LATIN CAPITAL LETTER G WITH CIRCUMFLEX --> +<!ENTITY gcirc "ĝ" ><!--LATIN SMALL LETTER G WITH CIRCUMFLEX --> +<!ENTITY Gdot "Ġ" ><!--LATIN CAPITAL LETTER G WITH DOT ABOVE --> +<!ENTITY gdot "ġ" ><!--LATIN SMALL LETTER G WITH DOT ABOVE --> +<!ENTITY Hcirc "Ĥ" ><!--LATIN CAPITAL LETTER H WITH CIRCUMFLEX --> +<!ENTITY hcirc "ĥ" ><!--LATIN SMALL LETTER H WITH CIRCUMFLEX --> +<!ENTITY Hstrok "Ħ" ><!--LATIN CAPITAL LETTER H WITH STROKE --> +<!ENTITY hstrok "ħ" ><!--LATIN SMALL LETTER H WITH STROKE --> +<!ENTITY Idot "İ" ><!--LATIN CAPITAL LETTER I WITH DOT ABOVE --> +<!ENTITY IJlig "IJ" ><!--LATIN CAPITAL LIGATURE IJ --> +<!ENTITY ijlig "ij" ><!--LATIN SMALL LIGATURE IJ --> +<!ENTITY Imacr "Ī" ><!--LATIN CAPITAL LETTER I WITH MACRON --> +<!ENTITY imacr "ī" ><!--LATIN SMALL LETTER I WITH MACRON --> +<!ENTITY inodot "ı" ><!--LATIN SMALL LETTER DOTLESS I --> +<!ENTITY Iogon "Į" ><!--LATIN CAPITAL LETTER I WITH OGONEK --> +<!ENTITY iogon "į" ><!--LATIN SMALL LETTER I WITH OGONEK --> +<!ENTITY Itilde "Ĩ" ><!--LATIN CAPITAL LETTER I WITH TILDE --> +<!ENTITY itilde "ĩ" ><!--LATIN SMALL LETTER I WITH TILDE --> +<!ENTITY Jcirc "Ĵ" ><!--LATIN CAPITAL LETTER J WITH CIRCUMFLEX --> +<!ENTITY jcirc "ĵ" ><!--LATIN SMALL LETTER J WITH CIRCUMFLEX --> +<!ENTITY Kcedil "Ķ" ><!--LATIN CAPITAL LETTER K WITH CEDILLA --> +<!ENTITY kcedil "ķ" ><!--LATIN SMALL LETTER K WITH CEDILLA --> +<!ENTITY kgreen "ĸ" ><!--LATIN SMALL LETTER KRA --> +<!ENTITY Lacute "Ĺ" ><!--LATIN CAPITAL LETTER L WITH ACUTE --> +<!ENTITY lacute "ĺ" ><!--LATIN SMALL LETTER L WITH ACUTE --> +<!ENTITY Lcaron "Ľ" ><!--LATIN CAPITAL LETTER L WITH CARON --> +<!ENTITY lcaron "ľ" ><!--LATIN SMALL LETTER L WITH CARON --> +<!ENTITY Lcedil "Ļ" ><!--LATIN CAPITAL LETTER L WITH CEDILLA --> +<!ENTITY lcedil "ļ" ><!--LATIN SMALL LETTER L WITH CEDILLA --> +<!ENTITY Lmidot "Ŀ" ><!--LATIN CAPITAL LETTER L WITH MIDDLE DOT --> +<!ENTITY lmidot "ŀ" ><!--LATIN SMALL LETTER L WITH MIDDLE DOT --> +<!ENTITY Lstrok "Ł" ><!--LATIN CAPITAL LETTER L WITH STROKE --> +<!ENTITY lstrok "ł" ><!--LATIN SMALL LETTER L WITH STROKE --> +<!ENTITY Nacute "Ń" ><!--LATIN CAPITAL LETTER N WITH ACUTE --> +<!ENTITY nacute "ń" ><!--LATIN SMALL LETTER N WITH ACUTE --> +<!ENTITY napos "ʼn" ><!--LATIN SMALL LETTER N PRECEDED BY APOSTROPHE --> +<!ENTITY Ncaron "Ň" ><!--LATIN CAPITAL LETTER N WITH CARON --> +<!ENTITY ncaron "ň" ><!--LATIN SMALL LETTER N WITH CARON --> +<!ENTITY Ncedil "Ņ" ><!--LATIN CAPITAL LETTER N WITH CEDILLA --> +<!ENTITY ncedil "ņ" ><!--LATIN SMALL LETTER N WITH CEDILLA --> +<!ENTITY Odblac "Ő" ><!--LATIN CAPITAL LETTER O WITH DOUBLE ACUTE --> +<!ENTITY odblac "ő" ><!--LATIN SMALL LETTER O WITH DOUBLE ACUTE --> +<!ENTITY OElig "Œ" ><!--LATIN CAPITAL LIGATURE OE --> +<!ENTITY oelig "œ" ><!--LATIN SMALL LIGATURE OE --> +<!ENTITY Omacr "Ō" ><!--LATIN CAPITAL LETTER O WITH MACRON --> +<!ENTITY omacr "ō" ><!--LATIN SMALL LETTER O WITH MACRON --> +<!ENTITY Racute "Ŕ" ><!--LATIN CAPITAL LETTER R WITH ACUTE --> +<!ENTITY racute "ŕ" ><!--LATIN SMALL LETTER R WITH ACUTE --> +<!ENTITY Rcaron "Ř" ><!--LATIN CAPITAL LETTER R WITH CARON --> +<!ENTITY rcaron "ř" ><!--LATIN SMALL LETTER R WITH CARON --> +<!ENTITY Rcedil "Ŗ" ><!--LATIN CAPITAL LETTER R WITH CEDILLA --> +<!ENTITY rcedil "ŗ" ><!--LATIN SMALL LETTER R WITH CEDILLA --> +<!ENTITY Sacute "Ś" ><!--LATIN CAPITAL LETTER S WITH ACUTE --> +<!ENTITY sacute "ś" ><!--LATIN SMALL LETTER S WITH ACUTE --> +<!ENTITY Scaron "Š" ><!--LATIN CAPITAL LETTER S WITH CARON --> +<!ENTITY scaron "š" ><!--LATIN SMALL LETTER S WITH CARON --> +<!ENTITY Scedil "Ş" ><!--LATIN CAPITAL LETTER S WITH CEDILLA --> +<!ENTITY scedil "ş" ><!--LATIN SMALL LETTER S WITH CEDILLA --> +<!ENTITY Scirc "Ŝ" ><!--LATIN CAPITAL LETTER S WITH CIRCUMFLEX --> +<!ENTITY scirc "ŝ" ><!--LATIN SMALL LETTER S WITH CIRCUMFLEX --> +<!ENTITY Tcaron "Ť" ><!--LATIN CAPITAL LETTER T WITH CARON --> +<!ENTITY tcaron "ť" ><!--LATIN SMALL LETTER T WITH CARON --> +<!ENTITY Tcedil "Ţ" ><!--LATIN CAPITAL LETTER T WITH CEDILLA --> +<!ENTITY tcedil "ţ" ><!--LATIN SMALL LETTER T WITH CEDILLA --> +<!ENTITY Tstrok "Ŧ" ><!--LATIN CAPITAL LETTER T WITH STROKE --> +<!ENTITY tstrok "ŧ" ><!--LATIN SMALL LETTER T WITH STROKE --> +<!ENTITY Ubreve "Ŭ" ><!--LATIN CAPITAL LETTER U WITH BREVE --> +<!ENTITY ubreve "ŭ" ><!--LATIN SMALL LETTER U WITH BREVE --> +<!ENTITY Udblac "Ű" ><!--LATIN CAPITAL LETTER U WITH DOUBLE ACUTE --> +<!ENTITY udblac "ű" ><!--LATIN SMALL LETTER U WITH DOUBLE ACUTE --> +<!ENTITY Umacr "Ū" ><!--LATIN CAPITAL LETTER U WITH MACRON --> +<!ENTITY umacr "ū" ><!--LATIN SMALL LETTER U WITH MACRON --> +<!ENTITY Uogon "Ų" ><!--LATIN CAPITAL LETTER U WITH OGONEK --> +<!ENTITY uogon "ų" ><!--LATIN SMALL LETTER U WITH OGONEK --> +<!ENTITY Uring "Ů" ><!--LATIN CAPITAL LETTER U WITH RING ABOVE --> +<!ENTITY uring "ů" ><!--LATIN SMALL LETTER U WITH RING ABOVE --> +<!ENTITY Utilde "Ũ" ><!--LATIN CAPITAL LETTER U WITH TILDE --> +<!ENTITY utilde "ũ" ><!--LATIN SMALL LETTER U WITH TILDE --> +<!ENTITY Wcirc "Ŵ" ><!--LATIN CAPITAL LETTER W WITH CIRCUMFLEX --> +<!ENTITY wcirc "ŵ" ><!--LATIN SMALL LETTER W WITH CIRCUMFLEX --> +<!ENTITY Ycirc "Ŷ" ><!--LATIN CAPITAL LETTER Y WITH CIRCUMFLEX --> +<!ENTITY ycirc "ŷ" ><!--LATIN SMALL LETTER Y WITH CIRCUMFLEX --> +<!ENTITY Yuml "Ÿ" ><!--LATIN CAPITAL LETTER Y WITH DIAERESIS --> +<!ENTITY Zacute "Ź" ><!--LATIN CAPITAL LETTER Z WITH ACUTE --> +<!ENTITY zacute "ź" ><!--LATIN SMALL LETTER Z WITH ACUTE --> +<!ENTITY Zcaron "Ž" ><!--LATIN CAPITAL LETTER Z WITH CARON --> +<!ENTITY zcaron "ž" ><!--LATIN SMALL LETTER Z WITH CARON --> +<!ENTITY Zdot "Ż" ><!--LATIN CAPITAL LETTER Z WITH DOT ABOVE --> +<!ENTITY zdot "ż" ><!--LATIN SMALL LETTER Z WITH DOT ABOVE --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isonum.ent b/doc/editor_configs/serna/scons/dtd/ent/isonum.ent new file mode 100644 index 0000000..c1536af --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isonum.ent @@ -0,0 +1,117 @@ + +<!-- + File isonum.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isonum.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isonum.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isonum PUBLIC + "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isonum.ent" + > + %isonum; + +--> + +<!ENTITY amp "&#38;" ><!--AMPERSAND --> +<!ENTITY apos "'" ><!--APOSTROPHE --> +<!ENTITY ast "*" ><!--ASTERISK --> +<!ENTITY brvbar "¦" ><!--BROKEN BAR --> +<!ENTITY bsol "\" ><!--REVERSE SOLIDUS --> +<!ENTITY cent "¢" ><!--CENT SIGN --> +<!ENTITY colon ":" ><!--COLON --> +<!ENTITY comma "," ><!--COMMA --> +<!ENTITY commat "@" ><!--COMMERCIAL AT --> +<!ENTITY copy "©" ><!--COPYRIGHT SIGN --> +<!ENTITY curren "¤" ><!--CURRENCY SIGN --> +<!ENTITY darr "↓" ><!--DOWNWARDS ARROW --> +<!ENTITY deg "°" ><!--DEGREE SIGN --> +<!ENTITY divide "÷" ><!--DIVISION SIGN --> +<!ENTITY dollar "$" ><!--DOLLAR SIGN --> +<!ENTITY equals "=" ><!--EQUALS SIGN --> +<!ENTITY excl "!" ><!--EXCLAMATION MARK --> +<!ENTITY frac12 "½" ><!--VULGAR FRACTION ONE HALF --> +<!ENTITY frac14 "¼" ><!--VULGAR FRACTION ONE QUARTER --> +<!ENTITY frac18 "⅛" ><!--VULGAR FRACTION ONE EIGHTH --> +<!ENTITY frac34 "¾" ><!--VULGAR FRACTION THREE QUARTERS --> +<!ENTITY frac38 "⅜" ><!--VULGAR FRACTION THREE EIGHTHS --> +<!ENTITY frac58 "⅝" ><!--VULGAR FRACTION FIVE EIGHTHS --> +<!ENTITY frac78 "⅞" ><!--VULGAR FRACTION SEVEN EIGHTHS --> +<!ENTITY gt ">" ><!--GREATER-THAN SIGN --> +<!ENTITY half "½" ><!--VULGAR FRACTION ONE HALF --> +<!ENTITY horbar "―" ><!--HORIZONTAL BAR --> +<!ENTITY hyphen "‐" ><!--HYPHEN --> +<!ENTITY iexcl "¡" ><!--INVERTED EXCLAMATION MARK --> +<!ENTITY iquest "¿" ><!--INVERTED QUESTION MARK --> +<!ENTITY laquo "«" ><!--LEFT-POINTING DOUBLE ANGLE QUOTATION MARK --> +<!ENTITY larr "←" ><!--LEFTWARDS ARROW --> +<!ENTITY lcub "{" ><!--LEFT CURLY BRACKET --> +<!ENTITY ldquo "“" ><!--LEFT DOUBLE QUOTATION MARK --> +<!ENTITY lowbar "_" ><!--LOW LINE --> +<!ENTITY lpar "(" ><!--LEFT PARENTHESIS --> +<!ENTITY lsqb "[" ><!--LEFT SQUARE BRACKET --> +<!ENTITY lsquo "‘" ><!--LEFT SINGLE QUOTATION MARK --> +<!ENTITY lt "&#60;" ><!--LESS-THAN SIGN --> +<!ENTITY micro "µ" ><!--MICRO SIGN --> +<!ENTITY middot "·" ><!--MIDDLE DOT --> +<!ENTITY nbsp " " ><!--NO-BREAK SPACE --> +<!ENTITY not "¬" ><!--NOT SIGN --> +<!ENTITY num "#" ><!--NUMBER SIGN --> +<!ENTITY ohm "Ω" ><!--OHM SIGN --> +<!ENTITY ordf "ª" ><!--FEMININE ORDINAL INDICATOR --> +<!ENTITY ordm "º" ><!--MASCULINE ORDINAL INDICATOR --> +<!ENTITY para "¶" ><!--PILCROW SIGN --> +<!ENTITY percnt "%" ><!--PERCENT SIGN --> +<!ENTITY period "." ><!--FULL STOP --> +<!ENTITY plus "+" ><!--PLUS SIGN --> +<!ENTITY plusmn "±" ><!--PLUS-MINUS SIGN --> +<!ENTITY pound "£" ><!--POUND SIGN --> +<!ENTITY quest "?" ><!--QUESTION MARK --> +<!ENTITY quot """ ><!--QUOTATION MARK --> +<!ENTITY raquo "»" ><!--RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK --> +<!ENTITY rarr "→" ><!--RIGHTWARDS ARROW --> +<!ENTITY rcub "}" ><!--RIGHT CURLY BRACKET --> +<!ENTITY rdquo "”" ><!--RIGHT DOUBLE QUOTATION MARK --> +<!ENTITY reg "®" ><!--REGISTERED SIGN --> +<!ENTITY rpar ")" ><!--RIGHT PARENTHESIS --> +<!ENTITY rsqb "]" ><!--RIGHT SQUARE BRACKET --> +<!ENTITY rsquo "’" ><!--RIGHT SINGLE QUOTATION MARK --> +<!ENTITY sect "§" ><!--SECTION SIGN --> +<!ENTITY semi ";" ><!--SEMICOLON --> +<!ENTITY shy "­" ><!--SOFT HYPHEN --> +<!ENTITY sol "/" ><!--SOLIDUS --> +<!ENTITY sung "♪" ><!--EIGHTH NOTE --> +<!ENTITY sup1 "¹" ><!--SUPERSCRIPT ONE --> +<!ENTITY sup2 "²" ><!--SUPERSCRIPT TWO --> +<!ENTITY sup3 "³" ><!--SUPERSCRIPT THREE --> +<!ENTITY times "×" ><!--MULTIPLICATION SIGN --> +<!ENTITY trade "™" ><!--TRADE MARK SIGN --> +<!ENTITY uarr "↑" ><!--UPWARDS ARROW --> +<!ENTITY verbar "|" ><!--VERTICAL LINE --> +<!ENTITY yen "¥" ><!--YEN SIGN --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isopub.ent b/doc/editor_configs/serna/scons/dtd/ent/isopub.ent new file mode 100644 index 0000000..ec4fe7c --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isopub.ent @@ -0,0 +1,125 @@ + +<!-- + File isopub.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isopub.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES Publishing//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isopub.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isopub PUBLIC + "ISO 8879:1986//ENTITIES Publishing//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isopub.ent" + > + %isopub; + +--> + +<!ENTITY blank "␣" ><!--OPEN BOX --> +<!ENTITY blk12 "▒" ><!--MEDIUM SHADE --> +<!ENTITY blk14 "░" ><!--LIGHT SHADE --> +<!ENTITY blk34 "▓" ><!--DARK SHADE --> +<!ENTITY block "█" ><!--FULL BLOCK --> +<!ENTITY bull "•" ><!--BULLET --> +<!ENTITY caret "⁁" ><!--CARET INSERTION POINT --> +<!ENTITY check "✓" ><!--CHECK MARK --> +<!ENTITY cir "○" ><!--WHITE CIRCLE --> +<!ENTITY clubs "♣" ><!--BLACK CLUB SUIT --> +<!ENTITY copysr "℗" ><!--SOUND RECORDING COPYRIGHT --> +<!ENTITY cross "✗" ><!--BALLOT X --> +<!ENTITY Dagger "‡" ><!--DOUBLE DAGGER --> +<!ENTITY dagger "†" ><!--DAGGER --> +<!ENTITY dash "‐" ><!--HYPHEN --> +<!ENTITY diams "♦" ><!--BLACK DIAMOND SUIT --> +<!ENTITY dlcrop "⌍" ><!--BOTTOM LEFT CROP --> +<!ENTITY drcrop "⌌" ><!--BOTTOM RIGHT CROP --> +<!ENTITY dtri "▿" ><!--WHITE DOWN-POINTING SMALL TRIANGLE --> +<!ENTITY dtrif "▾" ><!--BLACK DOWN-POINTING SMALL TRIANGLE --> +<!ENTITY emsp " " ><!--EM SPACE --> +<!ENTITY emsp13 " " ><!--THREE-PER-EM SPACE --> +<!ENTITY emsp14 " " ><!--FOUR-PER-EM SPACE --> +<!ENTITY ensp " " ><!--EN SPACE --> +<!ENTITY female "♀" ><!--FEMALE SIGN --> +<!ENTITY ffilig "ffi" ><!--LATIN SMALL LIGATURE FFI --> +<!ENTITY fflig "ff" ><!--LATIN SMALL LIGATURE FF --> +<!ENTITY ffllig "ffl" ><!--LATIN SMALL LIGATURE FFL --> +<!ENTITY filig "fi" ><!--LATIN SMALL LIGATURE FI --> +<!ENTITY flat "♭" ><!--MUSIC FLAT SIGN --> +<!ENTITY fllig "fl" ><!--LATIN SMALL LIGATURE FL --> +<!ENTITY frac13 "⅓" ><!--VULGAR FRACTION ONE THIRD --> +<!ENTITY frac15 "⅕" ><!--VULGAR FRACTION ONE FIFTH --> +<!ENTITY frac16 "⅙" ><!--VULGAR FRACTION ONE SIXTH --> +<!ENTITY frac23 "⅔" ><!--VULGAR FRACTION TWO THIRDS --> +<!ENTITY frac25 "⅖" ><!--VULGAR FRACTION TWO FIFTHS --> +<!ENTITY frac35 "⅗" ><!--VULGAR FRACTION THREE FIFTHS --> +<!ENTITY frac45 "⅘" ><!--VULGAR FRACTION FOUR FIFTHS --> +<!ENTITY frac56 "⅚" ><!--VULGAR FRACTION FIVE SIXTHS --> +<!ENTITY hairsp " " ><!--HAIR SPACE --> +<!ENTITY hearts "♥" ><!--BLACK HEART SUIT --> +<!ENTITY hellip "…" ><!--HORIZONTAL ELLIPSIS --> +<!ENTITY hybull "⁃" ><!--HYPHEN BULLET --> +<!ENTITY incare "℅" ><!--CARE OF --> +<!ENTITY ldquor "„" ><!--DOUBLE LOW-9 QUOTATION MARK --> +<!ENTITY lhblk "▄" ><!--LOWER HALF BLOCK --> +<!ENTITY loz "◊" ><!--LOZENGE --> +<!ENTITY lozf "⧫" ><!--BLACK LOZENGE --> +<!ENTITY lsquor "‚" ><!--SINGLE LOW-9 QUOTATION MARK --> +<!ENTITY ltri "◃" ><!--WHITE LEFT-POINTING SMALL TRIANGLE --> +<!ENTITY ltrif "◂" ><!--BLACK LEFT-POINTING SMALL TRIANGLE --> +<!ENTITY male "♂" ><!--MALE SIGN --> +<!ENTITY malt "✠" ><!--MALTESE CROSS --> +<!ENTITY marker "▮" ><!--BLACK VERTICAL RECTANGLE --> +<!ENTITY mdash "—" ><!--EM DASH --> +<!ENTITY mldr "…" ><!--HORIZONTAL ELLIPSIS --> +<!ENTITY natur "♮" ><!--MUSIC NATURAL SIGN --> +<!ENTITY ndash "–" ><!--EN DASH --> +<!ENTITY nldr "‥" ><!--TWO DOT LEADER --> +<!ENTITY numsp " " ><!--FIGURE SPACE --> +<!ENTITY phone "☎" ><!--BLACK TELEPHONE --> +<!ENTITY puncsp " " ><!--PUNCTUATION SPACE --> +<!ENTITY rdquor "”" ><!--RIGHT DOUBLE QUOTATION MARK --> +<!ENTITY rect "▭" ><!--WHITE RECTANGLE --> +<!ENTITY rsquor "’" ><!--RIGHT SINGLE QUOTATION MARK --> +<!ENTITY rtri "▹" ><!--WHITE RIGHT-POINTING SMALL TRIANGLE --> +<!ENTITY rtrif "▸" ><!--BLACK RIGHT-POINTING SMALL TRIANGLE --> +<!ENTITY rx "℞" ><!--PRESCRIPTION TAKE --> +<!ENTITY sext "✶" ><!--SIX POINTED BLACK STAR --> +<!ENTITY sharp "♯" ><!--MUSIC SHARP SIGN --> +<!ENTITY spades "♠" ><!--BLACK SPADE SUIT --> +<!ENTITY squ "□" ><!--WHITE SQUARE --> +<!ENTITY squf "▪" ><!--BLACK SMALL SQUARE --> +<!ENTITY star "☆" ><!--WHITE STAR --> +<!ENTITY starf "★" ><!--BLACK STAR --> +<!ENTITY target "⌖" ><!--POSITION INDICATOR --> +<!ENTITY telrec "⌕" ><!--TELEPHONE RECORDER --> +<!ENTITY thinsp " " ><!--THIN SPACE --> +<!ENTITY uhblk "▀" ><!--UPPER HALF BLOCK --> +<!ENTITY ulcrop "⌏" ><!--TOP LEFT CROP --> +<!ENTITY urcrop "⌎" ><!--TOP RIGHT CROP --> +<!ENTITY utri "▵" ><!--WHITE UP-POINTING SMALL TRIANGLE --> +<!ENTITY utrif "▴" ><!--BLACK UP-POINTING SMALL TRIANGLE --> +<!ENTITY vellip "⋮" ><!--VERTICAL ELLIPSIS --> diff --git a/doc/editor_configs/serna/scons/dtd/ent/isotech.ent b/doc/editor_configs/serna/scons/dtd/ent/isotech.ent new file mode 100644 index 0000000..3493ded --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/ent/isotech.ent @@ -0,0 +1,103 @@ + +<!-- + File isotech.ent produced by the XSL script entities.xsl + from input data in unicode.xml. + + Please report any errors to David Carlisle + via the public W3C list www-math@w3.org. + + The numeric character values assigned to each entity + (should) match the Unicode assignments in Unicode 4.0. + + Entity names in this file are derived from files carrying the + following notice: + + (C) International Organization for Standardization 1986 + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +--> + + +<!-- + Version: $Id: isotech.ent,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Public identifier: ISO 8879:1986//ENTITIES General Technical//EN//XML + System identifier: http://www.w3.org/2003/entities/iso8879/isotech.ent + + The public identifier should always be used verbatim. + The system identifier may be changed to suit local requirements. + + Typical invocation: + + <!ENTITY % isotech PUBLIC + "ISO 8879:1986//ENTITIES General Technical//EN//XML" + "http://www.w3.org/2003/entities/iso8879/isotech.ent" + > + %isotech; + +--> + +<!ENTITY aleph "ℵ" ><!--ALEF SYMBOL --> +<!ENTITY and "∧" ><!--LOGICAL AND --> +<!ENTITY ang90 "∟" ><!--RIGHT ANGLE --> +<!ENTITY angsph "∢" ><!--SPHERICAL ANGLE --> +<!ENTITY angst "Å" ><!--ANGSTROM SIGN --> +<!ENTITY ap "≈" ><!--ALMOST EQUAL TO --> +<!ENTITY becaus "∵" ><!--BECAUSE --> +<!ENTITY bernou "ℬ" ><!--SCRIPT CAPITAL B --> +<!ENTITY bottom "⊥" ><!--UP TACK --> +<!ENTITY cap "∩" ><!--INTERSECTION --> +<!ENTITY compfn "∘" ><!--RING OPERATOR --> +<!ENTITY cong "≅" ><!--APPROXIMATELY EQUAL TO --> +<!ENTITY conint "∮" ><!--CONTOUR INTEGRAL --> +<!ENTITY cup "∪" ><!--UNION --> +<!ENTITY Dot "¨" ><!--DIAERESIS --> +<!ENTITY DotDot " ⃜" ><!--COMBINING FOUR DOTS ABOVE --> +<!ENTITY equiv "≡" ><!--IDENTICAL TO --> +<!ENTITY exist "∃" ><!--THERE EXISTS --> +<!ENTITY fnof "ƒ" ><!--LATIN SMALL LETTER F WITH HOOK --> +<!ENTITY forall "∀" ><!--FOR ALL --> +<!ENTITY ge "≥" ><!--GREATER-THAN OR EQUAL TO --> +<!ENTITY hamilt "ℋ" ><!--SCRIPT CAPITAL H --> +<!ENTITY iff "⇔" ><!--LEFT RIGHT DOUBLE ARROW --> +<!ENTITY infin "∞" ><!--INFINITY --> +<!ENTITY int "∫" ><!--INTEGRAL --> +<!ENTITY isin "∈" ><!--ELEMENT OF --> +<!ENTITY lagran "ℒ" ><!--SCRIPT CAPITAL L --> +<!ENTITY lang "〈" ><!--LEFT-POINTING ANGLE BRACKET --> +<!ENTITY lArr "⇐" ><!--LEFTWARDS DOUBLE ARROW --> +<!ENTITY le "≤" ><!--LESS-THAN OR EQUAL TO --> +<!ENTITY lowast "∗" ><!--ASTERISK OPERATOR --> +<!ENTITY minus "−" ><!--MINUS SIGN --> +<!ENTITY mnplus "∓" ><!--MINUS-OR-PLUS SIGN --> +<!ENTITY nabla "∇" ><!--NABLA --> +<!ENTITY ne "≠" ><!--NOT EQUAL TO --> +<!ENTITY ni "∋" ><!--CONTAINS AS MEMBER --> +<!ENTITY notin "∉" ><!--NOT AN ELEMENT OF --> +<!ENTITY or "∨" ><!--LOGICAL OR --> +<!ENTITY order "ℴ" ><!--SCRIPT SMALL O --> +<!ENTITY par "∥" ><!--PARALLEL TO --> +<!ENTITY part "∂" ><!--PARTIAL DIFFERENTIAL --> +<!ENTITY permil "‰" ><!--PER MILLE SIGN --> +<!ENTITY perp "⊥" ><!--UP TACK --> +<!ENTITY phmmat "ℳ" ><!--SCRIPT CAPITAL M --> +<!ENTITY Prime "″" ><!--DOUBLE PRIME --> +<!ENTITY prime "′" ><!--PRIME --> +<!ENTITY prop "∝" ><!--PROPORTIONAL TO --> +<!ENTITY radic "√" ><!--SQUARE ROOT --> +<!ENTITY rang "〉" ><!--RIGHT-POINTING ANGLE BRACKET --> +<!ENTITY rArr "⇒" ><!--RIGHTWARDS DOUBLE ARROW --> +<!ENTITY sim "∼" ><!--TILDE OPERATOR --> +<!ENTITY sime "≃" ><!--ASYMPTOTICALLY EQUAL TO --> +<!ENTITY square "□" ><!--WHITE SQUARE --> +<!ENTITY sub "⊂" ><!--SUBSET OF --> +<!ENTITY sube "⊆" ><!--SUBSET OF OR EQUAL TO --> +<!ENTITY sup "⊃" ><!--SUPERSET OF --> +<!ENTITY supe "⊇" ><!--SUPERSET OF OR EQUAL TO --> +<!ENTITY tdot " ⃛" ><!--COMBINING THREE DOTS ABOVE --> +<!ENTITY there4 "∴" ><!--THEREFORE --> +<!ENTITY tprime "‴" ><!--TRIPLE PRIME --> +<!ENTITY Verbar "‖" ><!--DOUBLE VERTICAL LINE --> +<!ENTITY wedgeq "≙" ><!--ESTIMATES --> diff --git a/doc/editor_configs/serna/scons/dtd/htmltblx.mod b/doc/editor_configs/serna/scons/dtd/htmltblx.mod new file mode 100644 index 0000000..811e955 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/htmltblx.mod @@ -0,0 +1,245 @@ +<!-- ...................................................................... --> +<!-- DocBook XML HTML Table Module V4.5 ................................... --> +<!-- File htmltblx.mod .................................................... --> + +<!-- Copyright 2003-2006 ArborText, Inc., Norman Walsh, Sun Microsystems, + Inc., and the Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: htmltblx.mod,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook XML DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook XML DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This module contains the definitions for elements that are + isomorphic to the HTML elements. One could argue we should + instead have based ourselves on the XHTML Table Module, but the + HTML one is more like what browsers are likely to accept today + and users are likely to use. + + This module has been developed for use with the DocBook V4.5 + "union table model" in which elements and attlists common to both + models are defined (as the union) in the CALS table module by + setting various parameter entities appropriately in this file. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % htmltbl PUBLIC + "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" + "htmltblx.mod"> + %htmltbl; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> + +<!--======================= XHTML Tables =======================================--> + +<!ENTITY % html.coreattrs + "%common.attrib; + class CDATA #IMPLIED + style CDATA #IMPLIED + title CDATA #IMPLIED" + > + +<!-- Does not contain lang or dir because they are in %common.attribs --> +<![%sgml.features;[ +<!ENTITY % i18n ""> +]]> +<!ENTITY % i18n + "xml:lang NMTOKEN #IMPLIED" + > + +<!ENTITY % events + "onclick CDATA #IMPLIED + ondblclick CDATA #IMPLIED + onmousedown CDATA #IMPLIED + onmouseup CDATA #IMPLIED + onmouseover CDATA #IMPLIED + onmousemove CDATA #IMPLIED + onmouseout CDATA #IMPLIED + onkeypress CDATA #IMPLIED + onkeydown CDATA #IMPLIED + onkeyup CDATA #IMPLIED" + > + +<!ENTITY % attrs "%html.coreattrs; %i18n; %events;"> + +<!ENTITY % cellhalign + "align (left|center|right|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff CDATA #IMPLIED" + > + +<!ENTITY % cellvalign + "valign (top|middle|bottom|baseline) #IMPLIED" + > + +<!--doc:A group of columns in an HTML table.--> +<!ELEMENT colgroup %ho; (col)*> +<!--doc:Specifications for a column in an HTML table.--> +<!ELEMENT col %ho; EMPTY> +<!--doc:A row in an HTML table.--> +<!ELEMENT tr %ho; (th|td)+> +<!--doc:A table header entry in an HTML table.--> +<!ELEMENT th %ho; (%para.char.mix; | %tabentry.mix; | table | informaltable)*> +<!--doc:A table ntry in an HTML table.--> +<!ELEMENT td %ho; (%para.char.mix; | %tabentry.mix; | table | informaltable)*> + +<!ATTLIST colgroup + %attrs; + span CDATA "1" + width CDATA #IMPLIED + %cellhalign; + %cellvalign; + > + +<!ATTLIST col + %attrs; + span CDATA "1" + width CDATA #IMPLIED + %cellhalign; + %cellvalign; + > + +<!ATTLIST tr + %attrs; + %cellhalign; + %cellvalign; + bgcolor CDATA #IMPLIED + > + +<!ATTLIST th + %attrs; + abbr CDATA #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope (row|col|rowgroup|colgroup) #IMPLIED + rowspan CDATA "1" + colspan CDATA "1" + %cellhalign; + %cellvalign; + nowrap (nowrap) #IMPLIED + bgcolor CDATA #IMPLIED + width CDATA #IMPLIED + height CDATA #IMPLIED + > + +<!ATTLIST td + %attrs; + abbr CDATA #IMPLIED + axis CDATA #IMPLIED + headers IDREFS #IMPLIED + scope (row|col|rowgroup|colgroup) #IMPLIED + rowspan CDATA "1" + colspan CDATA "1" + %cellhalign; + %cellvalign; + nowrap (nowrap) #IMPLIED + bgcolor CDATA #IMPLIED + width CDATA #IMPLIED + height CDATA #IMPLIED + > + +<!-- ====================================================== --> +<!-- Set up to read in the CALS model configured to + merge with the XHTML table model --> +<!-- ====================================================== --> + +<!ENTITY % tables.role.attrib "%role.attrib;"> + +<!-- Add label and role attributes to table and informaltable --> +<!ENTITY % bodyatt " + floatstyle CDATA #IMPLIED + rowheader (firstcol|norowheader) #IMPLIED + %label.attrib;" +> + +<!-- Add common attributes to Table, TGroup, TBody, THead, TFoot, Row, + EntryTbl, and Entry (and InformalTable element). --> + +<!ENTITY % secur " + %common.attrib; + class CDATA #IMPLIED + style CDATA #IMPLIED + title CDATA #IMPLIED + %i18n; + %events; + %tables.role.attrib;"> + +<!ENTITY % common.table.attribs + "%bodyatt; + %secur;"> + +<!-- Content model for Table (that also allows HTML tables) --> +<!ENTITY % tbl.table.mdl + "((blockinfo?, + (%formalobject.title.content;), + (%ndxterm.class;)*, + textobject*, + (graphic+|mediaobject+|tgroup+)) + |(caption, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+)))"> + +<!ENTITY % informal.tbl.table.mdl + "(textobject*, + (graphic+|mediaobject+|tgroup+)) + | ((col*|colgroup*), thead?, tfoot?, (tbody+|tr+))"> + +<!-- Attributes for Table (including HTML ones) --> + +<!-- N.B. rules = (none | groups | rows | cols | all) but it can't be spec'd --> +<!-- that way because 'all' already occurs in a different enumeration in --> +<!-- CALS tables (frame). --> + +<!ENTITY % tbl.table.att ' + tabstyle CDATA #IMPLIED + tocentry %yesorno.attvals; #IMPLIED + shortentry %yesorno.attvals; #IMPLIED + orient (port|land) #IMPLIED + pgwide %yesorno.attvals; #IMPLIED + summary CDATA #IMPLIED + width CDATA #IMPLIED + border CDATA #IMPLIED + rules CDATA #IMPLIED + cellspacing CDATA #IMPLIED + cellpadding CDATA #IMPLIED + align (left|center|right) #IMPLIED + bgcolor CDATA #IMPLIED +'> + +<!ENTITY % tbl.frame.attval "void|above|below|hsides|lhs|rhs|vsides|box|border| +top|bottom|topbot|all|sides|none"> + +<!-- Allow either objects or inlines; beware of REs between elements. --> +<!ENTITY % tbl.entry.mdl "%para.char.mix; | %tabentry.mix;"> + +<!-- thead, tfoot, and tbody are defined in both table models, + so we set up parameter entities to define union models for them + --> + +<!ENTITY % tbl.hdft.mdl "(tr+|(colspec*,row+))"> +<!ENTITY % tbl.tbody.mdl "(tr+|row+)"> +<!ENTITY % tbl.valign.attval "top|middle|bottom|baseline"> + +<!-- End of DocBook XML HTML Table Module V4.5 ............................ --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/scons.dtd b/doc/editor_configs/serna/scons/dtd/scons.dtd new file mode 100644 index 0000000..5680838 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/scons.dtd @@ -0,0 +1,170 @@ +<!-- ...................................................................... --> +<!-- DocBook SCons XML DTD V4.5 ................................................. --> +<!-- File docbookx.dtd .................................................... --> + +<!-- Copyright 1992-2006 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + See also http://docbook.org/specs/ + + $Id: docbookx.dtd,v 1.1 2009-03-30 14:59:35 sorin Exp $ + + Permission to use, copy, modify and distribute the DocBook SCons XML DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This is the driver file for V4.5 of the DocBook DTD. + Please use the following formal public identifier to identify it: + + "-//OASIS//DTD DocBook SCons XML V4.5//EN" + + For example, if your document's top-level element is Book, and + you are using DocBook directly, use the FPI in the DOCTYPE + declaration: + + <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook SCons XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" + [...]> + + Or, if you have a higher-level driver file that customizes DocBook, + use the FPI in the parameter entity declaration: + + <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook SCons XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> + %DocBookDTD; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> + +<!-- ...................................................................... --> +<!-- Enable SGML features ................................................. --> + +<!ENTITY % sgml.features "IGNORE"> +<![%sgml.features;[ +<!ENTITY % xml.features "IGNORE"> +]]> +<!ENTITY % xml.features "INCLUDE"> + +<![%sgml.features;[ +<![%xml.features;[ + +<!-- ERROR: Exactly one of xml.features and sgml.features must be turned on! --> +<!ENTITY % dbnotn SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbcent SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbpool SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbhier SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbgenent SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> + +]]> +]]> + +<![%sgml.features;[ +<!ENTITY % ho "- O"> +<!ENTITY % hh "- -"> +]]> + +<![%xml.features;[ +<!ENTITY % ho ""> +<!ENTITY % hh ""> +]]> + +<!-- ...................................................................... --> +<!-- Notation declarations ................................................ --> + +<!ENTITY % dbnotn.module "INCLUDE"> +<![%dbnotn.module;[ +<!ENTITY % dbnotn PUBLIC +"-//OASIS//ENTITIES DocBook Notations V4.5//EN" +"dbnotnx.mod"> +%dbnotn; +]]> + +<!-- ...................................................................... --> +<!-- ISO character entity sets ............................................ --> + +<!ENTITY % dbcent.module "INCLUDE"> +<![%dbcent.module;[ + +<!ENTITY % dbcent.euro "INCLUDE"> +<![%dbcent.euro;[ +<![%sgml.features;[ +<!ENTITY euro SDATA "[euro ]"><!-- euro sign --> +]]> +<![%xml.features;[ +<!ENTITY euro "€"><!-- euro sign, U+20AC NEW --> +]]> +]]> + +<!ENTITY % dbcent PUBLIC +"-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" +"dbcentx.mod"> +%dbcent; +]]> + +<!-- ...................................................................... --> +<!-- DTD modules .......................................................... --> + +<!-- Information pool .............. --> + +<!ENTITY % dbpool.module "INCLUDE"> +<![ %dbpool.module; [ +<!ENTITY % dbpool PUBLIC +"-//OASIS//ELEMENTS DocBook SCons Information Pool V4.5//EN" +"dbpoolx.mod"> +%dbpool; +]]> + +<!-- Redeclaration placeholder ..... --> + +<!ENTITY % intermod.redecl.module "IGNORE"> +<![%intermod.redecl.module;[ +<!-- Defining rdbmods here makes some buggy XML parsers happy. --> +<!ENTITY % rdbmods ""> +%rdbmods; +<!--end of intermod.redecl.module-->]]> + +<!-- Document hierarchy ............ --> + +<!ENTITY % dbhier.module "INCLUDE"> +<![ %dbhier.module; [ +<!ENTITY % dbhier PUBLIC +"-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" +"dbhierx.mod"> +%dbhier; +]]> + +<!-- ...................................................................... --> +<!-- Other general entities ............................................... --> + +<!ENTITY % dbgenent.module "INCLUDE"> +<![ %dbgenent.module; [ +<!ENTITY % dbgenent PUBLIC +"-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" +"dbgenent.mod"> +%dbgenent; +]]> + +<!-- End of DocBook SCons XML DTD V4.5 .......................................... --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/dtd/soextblx.dtd b/doc/editor_configs/serna/scons/dtd/soextblx.dtd new file mode 100644 index 0000000..4a92e11 --- /dev/null +++ b/doc/editor_configs/serna/scons/dtd/soextblx.dtd @@ -0,0 +1,321 @@ +<!-- XML EXCHANGE TABLE MODEL DECLARATION MODULE --> + +<!-- This set of declarations defines the XML version of the Exchange + Table Model as of the date shown in the Formal Public Identifier + (FPI) for this entity. + + This set of declarations may be referred to using a public external + entity declaration and reference as shown in the following three + lines: + + <!ENTITY % calstblx + PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"> + %calstblx; + + If various parameter entities used within this set of declarations + are to be given non-default values, the appropriate declarations + should be given before calling in this package (i.e., before the + "%calstblx;" reference). +--> + +<!-- The motivation for this XML version of the Exchange Table Model + is simply to create an XML version of the SGML Exchange Table + Model. By design, no effort has been made to "improve" the model. + + This XML version incorporates the logical bare minimum changes + necessary to make the Exchange Table Model a valid XML DTD. + + It has been modified slightly for use in the combined HTML/CALS models + supported by DocBook V4.3 and later. +--> + +<!-- The XML version of the Exchange Table Model differs from + the SGML version in the following ways: + + The following parameter entities have been removed: + + - tbl.table.excep, tbl.hdft.excep, tbl.row.excep, tbl.entry.excep + There are no exceptions in XML. The following normative statement + is made in lieu of exceptions: the exchange table model explicitly + forbids a table from occurring within another table. If the + content model of an entry includes a table element, then this + cannot be enforced by the DTD, but it is a deviation from the + exchange table model to include a table within a table. + + - tbl.hdft.name, tbl.hdft.mdl, tbl.hdft.excep, tbl.hdft.att + The motivation for these elements was to change the table + header/footer elements. Since XML does not allow element declarations + to contain name groups, and the exchange table model does not + allow a table to contain footers, the continued presence of these + attributes seems unnecessary. + + The following parameter entity has been added: + + - tbl.thead.att + This entity parameterizes the attributes on thead. It replaces + the tbl.hdft.att parameter entity. + + Other miscellaneous changes: + + - Tag ommission indicators have been removed + - Comments have been removed from declarations + - NUMBER attributes have been changed to NMTOKEN + - NUTOKEN attributes have been to changed to NMTOKEN + - Removed the grouping characters around the content model + parameter entry for the 'entry' element. This is necessary + so that an entry can contain #PCDATA and be defined as an + optional, repeatable OR group beginning with #PCDATA. +--> + +<!-- This entity includes a set of element and attribute declarations + that partially defines the Exchange table model. However, the model + is not well-defined without the accompanying natural language + description of the semantics (meanings) of these various elements, + attributes, and attribute values. The semantic writeup, also available + from SGML Open, should be used in conjunction with this entity. +--> + +<!-- In order to use the Exchange table model, various parameter entity + declarations are required. A brief description is as follows: + + ENTITY NAME WHERE USED WHAT IT IS + + %yesorno In ATTLIST of: An attribute declared value + almost all elements for a "boolean" attribute + + %paracon In content model of: The "text" (logical content) + <entry> of the model group for <entry> + + %titles In content model of: The "title" part of the model + table element group for the table element + + %tbl.table.name In declaration of: The name of the "table" + table element element + + %tbl.table-titles.mdl In content model of: The model group for the title + table elements part of the content model for + table element + + %tbl.table.mdl In content model of: The model group for the content + table elements model for table element, + often (and by default) defined + in terms of %tbl.table-titles.mdl + and tgroup + + %tbl.table.att In ATTLIST of: Additional attributes on the + table element table element + + %bodyatt In ATTLIST of: Additional attributes on the + table element table element (for backward + compatibility with the SGML + model) + + %tbl.tgroup.mdl In content model of: The model group for the content + <tgroup> model for <tgroup> + + %tbl.tgroup.att In ATTLIST of: Additional attributes on the + <tgroup> <tgroup> element + + %tbl.thead.att In ATTLIST of: Additional attributes on the + <thead> <thead> element + + %tbl.tbody.att In ATTLIST of: Additional attributes on the + <tbody> <tbody> element + + %tbl.colspec.att In ATTLIST of: Additional attributes on the + <colspec> <colspec> element + + %tbl.row.mdl In content model of: The model group for the content + <row> model for <row> + + %tbl.row.att In ATTLIST of: Additional attributes on the + <row> <row> element + + %tbl.entry.mdl In content model of: The model group for the content + <entry> model for <entry> + + %tbl.entry.att In ATTLIST of: Additional attributes on the + <entry> <entry> element + + This set of declarations will use the default definitions shown below + for any of these parameter entities that are not declared before this + set of declarations is referenced. +--> + +<!-- These definitions are not directly related to the table model, but are + used in the default CALS table model and may be defined elsewhere (and + prior to the inclusion of this table module) in the referencing DTD. --> + +<!ENTITY % yesorno 'NMTOKEN'> <!-- no if zero(s), yes if any other value --> +<!ENTITY % titles 'title?'> +<!ENTITY % pcd "#PCDATA"> +<!ENTITY % paracon '%pcd;'> <!-- default for use in entry content --> + +<!-- +The parameter entities as defined below change and simplify the CALS table +model as published (as part of the Example DTD) in MIL-HDBK-28001. The +resulting simplified DTD has support from the SGML Open vendors and is +therefore more interoperable among different systems. + +These following declarations provide the Exchange default definitions +for these entities. However, these entities can be redefined (by giving +the appropriate parameter entity declaration(s) prior to the reference +to this Table Model declaration set entity) to fit the needs of the +current application. + +Note, however, that changes may have significant effect on the ability to +interchange table information. These changes may manifest themselves +in useability, presentation, and possible structure information degradation. +--> + +<!ENTITY % tbl.table.name "table"> +<!ENTITY % tbl.table-titles.mdl "%titles;,"> +<!ENTITY % tbl.table-main.mdl "tgroup+"> +<!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;"> +<!ENTITY % tbl.table.att " + pgwide %yesorno; #IMPLIED "> +<!ENTITY % bodyatt ""> +<!ENTITY % tbl.tgroup.mdl "colspec*,thead?,tbody"> +<!ENTITY % tbl.tgroup.att ""> +<!ENTITY % tbl.thead.att ""> +<!ENTITY % tbl.tbody.att ""> +<!ENTITY % tbl.colspec.att ""> +<!ENTITY % tbl.row.mdl "entry+"> +<!ENTITY % tbl.row.att ""> +<!ENTITY % tbl.entry.mdl "(%paracon;)*"> +<!ENTITY % tbl.entry.att ""> + +<!ENTITY % tbl.frame.attval "top|bottom|topbot|all|sides|none"> +<!ENTITY % tbl.tbody.mdl "row+"> + +<!-- ===== Element and attribute declarations follow. ===== --> + +<!-- + Default declarations previously defined in this entity and + referenced below include: + ENTITY % tbl.table.name "table" + ENTITY % tbl.table-titles.mdl "%titles;," + ENTITY % tbl.table.mdl "%tbl.table-titles; tgroup+" + ENTITY % tbl.table.att " + pgwide %yesorno; #IMPLIED " +--> + +<!--doc:???--> +<!ELEMENT %tbl.table.name; (%tbl.table.mdl;)> + +<!ATTLIST %tbl.table.name; + frame (%tbl.frame.attval;) #IMPLIED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + %tbl.table.att; + %bodyatt; +> + +<!-- + Default declarations previously defined in this entity and + referenced below include: + ENTITY % tbl.tgroup.mdl "colspec*,thead?,tbody" + ENTITY % tbl.tgroup.att "" +--> + +<!--doc:A wrapper for the main content of a table, or part of a table.--> +<!ELEMENT tgroup (%tbl.tgroup.mdl;) > + +<!ATTLIST tgroup + cols NMTOKEN #REQUIRED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + %tbl.tgroup.att; +> + +<!-- + Default declarations previously defined in this entity and + referenced below include: + ENTITY % tbl.colspec.att "" +--> + +<!--doc:Specifications for a column in a table.--> +<!ELEMENT colspec EMPTY > + +<!ATTLIST colspec + colnum NMTOKEN #IMPLIED + colname NMTOKEN #IMPLIED + colwidth CDATA #IMPLIED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff NMTOKEN #IMPLIED + %tbl.colspec.att; +> + +<!-- + Default declarations previously defined in this entity and + referenced below include: + ENTITY % tbl.thead.att "" +--> + +<!--doc:A table header consisting of one or more rows.--> +<!ELEMENT thead (row+)> + +<!ATTLIST thead + valign (top|middle|bottom) #IMPLIED + %tbl.thead.att; +> + +<!-- + Default declarations previously defined in this entity and + referenced below include: + ENTITY % tbl.tbody.att "" +--> + +<!--doc:A wrapper for the rows of a table or informal table.--> +<!ELEMENT tbody (%tbl.tbody.mdl;)> + +<!ATTLIST tbody + valign (top|middle|bottom) #IMPLIED + %tbl.tbody.att; +> + +<!-- + Default declarations previously defined in this entity and + referenced below include: + ENTITY % tbl.row.mdl "entry+" + ENTITY % tbl.row.att "" +--> + +<!--doc:A row in a table.--> +<!ELEMENT row (%tbl.row.mdl;)> + +<!ATTLIST row + rowsep %yesorno; #IMPLIED + valign (top|middle|bottom) #IMPLIED + %tbl.row.att; +> + + +<!-- + Default declarations previously defined in this entity and + referenced below include: + ENTITY % paracon "#PCDATA" + ENTITY % tbl.entry.mdl "(%paracon;)*" + ENTITY % tbl.entry.att "" +--> + +<!--doc:A cell in a table.--> +<!ELEMENT entry (%tbl.entry.mdl;)*> + +<!ATTLIST entry + colname NMTOKEN #IMPLIED + namest NMTOKEN #IMPLIED + nameend NMTOKEN #IMPLIED + morerows NMTOKEN #IMPLIED + colsep %yesorno; #IMPLIED + rowsep %yesorno; #IMPLIED + align (left|right|center|justify|char) #IMPLIED + char CDATA #IMPLIED + charoff NMTOKEN #IMPLIED + valign (top|middle|bottom) #IMPLIED + %tbl.entry.att; +> diff --git a/doc/editor_configs/serna/scons/scons.csl b/doc/editor_configs/serna/scons/scons.csl new file mode 100644 index 0000000..da15f71 --- /dev/null +++ b/doc/editor_configs/serna/scons/scons.csl @@ -0,0 +1,199 @@ +<?xml version='1.0'?> +<csl:stylesheet xmlns:csl="http://www.syntext.com/Extensions/CSL-1.0"> + + <csl:profile icon="ContentMap_small" inscription="ContentMap"/> + <csl:profile name="toc" inscription="TOC"/> + + <csl:define name="any.title.template"> + <csl:template match="%elem" + font-style="italic" font-weight="bold"> + <csl:number level="multiple" + count="section|sect1|sect2|sect3| + sect4|sect5|simplesect" + from="chapter|article|book|part" + format="1."/> + <csl:number level="any" count="%elem" format="1. "/> + </csl:template> + </csl:define> + + <csl:use ref="any.title.template" elem="figure"/> + <csl:use ref="any.title.template" elem="table"/> + <csl:use ref="any.title.template" elem="equation"/> + <csl:use ref="any.title.template" elem="example"/> + + <csl:template match="synopfragment | paramdef"> + <csl:number format="1"/> + <csl:when-closed> + <csl:number format="1"/> + <csl:text> </csl:text> + <csl:collect-text/> + </csl:when-closed> + </csl:template> + + <!-- Ordered lists --> + <csl:define name="ordlist.template"> + <csl:template match="orderedlist/listitem[ + (count(ancestor-or-self::orderedlist) mod 5) = %depth]"> + <csl:number level="single" count="listitem" format="%fmt"/> + <csl:when-closed> + <csl:number level="single" count="listitem" format="%fmt"/> + <csl:text> </csl:text> + <csl:collect-text/> + </csl:when-closed> + </csl:template> + </csl:define> + <csl:use ref="ordlist.template" depth="0" fmt="I."/> + <csl:use ref="ordlist.template" depth="1" fmt="1."/> + <csl:use ref="ordlist.template" depth="2" fmt="a."/> + <csl:use ref="ordlist.template" depth="3" fmt="i."/> + <csl:use ref="ordlist.template" depth="4" fmt="A."/> + + <!-- Steps --> + <csl:template match="step[count(../step) = 1]"> + <csl:text>•</csl:text> + </csl:template> + + <csl:define name="step.template"> + <csl:template + match="step[(count(ancestor-or-self::step) mod 5) = %depth]"> + <csl:number count="step" format="%fmt"/> + <csl:when-closed> + <csl:number count="step" format="%fmt"/> + <csl:text> </csl:text> + <csl:collect-text/> + </csl:when-closed> + </csl:template> + </csl:define> + <csl:use ref="step.template" depth="0" fmt="I."/> + <csl:use ref="step.template" depth="1" fmt="1."/> + <csl:use ref="step.template" depth="2" fmt="a."/> + <csl:use ref="step.template" depth="3" fmt="i."/> + <csl:use ref="step.template" depth="4" fmt="A."/> + + <!-- Appendix Titles --> + <csl:template match="appendix//chapter | appendix//section | + appendix//sect1 | appendix//sect2 | + appendix//sect3 | appendix//sect4 | + appendix//sect5 | appendix//simplesect" + font-style="italic" font-weight="bold"> + <csl:number level="multiple" + count="chapter|section|sect1|sect2|sect3| + sect4|sect5|simplesect" + format="A."/> + <csl:when-closed> + <csl:number level="multiple" + count="chapter|section|sect1|sect2|sect3| + sect4|sect5|simplesect" + format="A."/> + <csl:text> </csl:text> + <csl:collect-text select="title"/> + </csl:when-closed> + </csl:template> + + <csl:template profiles="toc" + match="appendix//chapter | appendix//section | + appendix//sect1 | appendix//sect2 | + appendix//sect3 | appendix//sect4 | + appendix//sect5 | appendix//simplesect"> + <csl:number level="multiple" + count="chapter|section|sect1|sect2|sect3| + sect4|sect5|simplesect" + format="A."/> + <csl:text> </csl:text> + <csl:collect-text select="title|subtitle"/> + </csl:template> + + <!-- Chapter, Section, etc numbering --> + <csl:template match="section | sect1 | sect2 | + sect3 | sect4 | sect5 | simplesect" + font-style="italic" font-weight="bold"> + <csl:number level="multiple" + count="section|sect1|sect2|sect3| + sect4|sect5|simplesect" + format="1."/> + <csl:when-closed> + <csl:number level="multiple" + count="section|sect1|sect2|sect3| + sect4|sect5|simplesect" + format="1."/> + <csl:text> </csl:text> + <csl:collect-text select="title"/> + </csl:when-closed> + </csl:template> + + <csl:template match="chapter|preface" + font-style="italic" font-weight="bold"> + <csl:number level="any" + count="chapter|preface" format="1."/> + <csl:when-closed> + <csl:number level="any" + count="chapter|preface" format="1."/> + <csl:text> </csl:text> + <csl:collect-text select="title"/> + </csl:when-closed> + </csl:template> + + <!-- Chapter, Section, etc titles --> + <csl:template match="chapter/title | section/title | sect1/title | + sect2/title | sect3/title | sect4/title | + sect5/title | simplesect/title" + font-style="italic" font-weight="bold"> + <csl:collect-text/> + </csl:template> + + <!-- Tables --> + <csl:template match="colspec" font-style="italic"> + <csl:value-of select="concat(@colname, ' {', @colwidth, '}')"/> + </csl:template> + + <!-- Defaults --> + <csl:template match="*" mixed-only="true"> + <csl:collect-text/> + </csl:template> + + <csl:template match="*"> + <csl:when-closed> + <csl:collect-text/> + </csl:when-closed> + </csl:template> + + <csl:template match="processing-instruction()| + processing-instruction('se:choice')|comment()"/> + + <!-- TOC Profile --> + + <csl:template profiles="toc" match="figure|table|chapter|equation" + font-style="italic"> + <csl:number level="any" format="1. "/> + <csl:collect-text select="title"/> + </csl:template> + + <csl:template profiles="toc" match="section | sect1 | sect2 | + sect3 | sect4 | sect5 | simplesect"> + <csl:number level="multiple" + count="section|sect1|sect2|sect3| + sect4|sect5|simplesect" + format="1."/> + <csl:text> </csl:text> + <csl:collect-text select="title|subtitle"/> + </csl:template> + + + <csl:template profiles="toc" + match="artheader|appendix|article|bookinfo|bibliography| + bibliodiv|book|colophon|docinfo|dedication|equation| + glossary|index|objectinfo|partintro|part| + preface|procedure|reference|refentry|refsect1| + refsect2|refsect3|refsect1info|refsect2info| + refsect3info|set|setindex|setinfo|sect1info|sect2info| + sect3info|sect4info|sect5info|qandaset"> + <csl:collect-text select="title|subtitle"/> + </csl:template> + + <csl:template match="/*" profiles="toc"> + <csl:when-closed> + <csl:collect-text/> + </csl:when-closed> + </csl:template> + +</csl:stylesheet> diff --git a/doc/editor_configs/serna/scons/scons.sdt b/doc/editor_configs/serna/scons/scons.sdt new file mode 100644 index 0000000..4e35356 --- /dev/null +++ b/doc/editor_configs/serna/scons/scons.sdt @@ -0,0 +1,95 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE t:document-template PUBLIC "-//Syntext//DTD Syntext Document Template V2.0//EN" "doctemplate.dtd" []> +<t:document-template xmlns:t="http://www.syntext.com/Extensions/DocTemplate-2.0"> + <t:name>SCons Docbook</t:name> + <t:category>SCons Docbook V4.5-Based extension V1.0</t:category> + + <t:xml-stylesheet>$SERNA_TEMPLATE_DIR/docbook-xsl-serna/docbook.xsl</t:xml-stylesheet> + <t:xml-schema>$SERNA_TEMPLATE_DIR/xsd/scons.xsd</t:xml-schema> + <t:dtd-pubid>-//SCONS//DTD DocBook V4.5-Based extension V1.0//EN</t:dtd-pubid> + <t:dtd-sysid>http://www.scons.org/dtd/scons.dtd</t:dtd-sysid> + + <t:csl-stylesheet>$SERNA_TEMPLATE_DIR/scons.csl</t:csl-stylesheet> + + <t:xml-catalogs>$SERNA_TEMPLATE_DIR/catalog.xml</t:xml-catalogs> + + <t:folding-rules> + <t:elems-per-page>60</t:elems-per-page> + <t:fold-if-large>appendix article book chapter glossary index qandaset reference section refsect1 refsect2 refsect3 sect1 sect2 sect3 sect4 sect5 section set</t:fold-if-large> + <t:folding-list>appendix article bibliodiv bibliography bibliomisc biblioset book bookinfo chapter example figure glossary glossdiv index indexdiv qandadiv qandaset reference refsect1 refsect2 refsect3 sect1 sect2 sect3 sect4 sect5 section set table </t:folding-list> + </t:folding-rules> + + <t:category-pixmap>docbook_4_5_template</t:category-pixmap> + + <t:element-help>$SERNA_TEMPLATE_DIR/docbook-help/docbook.sehelp</t:element-help> + + <t:spellcheck> + <t:skip-elements> programlisting literal sgmltag keycombo filename methodname methodparam classname command computeroutput database email envar function keycode varname structname </t:skip-elements> + </t:spellcheck> + + <t:publish> + <t:name>htmlSingle</t:name> + <t:inscription>HTML (Single Chunk)</t:inscription> + <t:extension>htm</t:extension> + <t:script>runXslt</t:script> + <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet> + </t:publish> + <t:publish> + <t:name>htmlMulti</t:name> + <t:inscription>HTML (Multiple Chunks)</t:inscription> + <t:extension>htm</t:extension> + <t:script>runXslt</t:script> + <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet> + </t:publish> + + <t:publish> + <t:name>pdfFop</t:name> + <t:inscription>PDF (with FOP)</t:inscription> + <t:extension>pdf</t:extension> + <t:script>runFop</t:script> + <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet> + </t:publish> + <t:publish> + <t:name>pdfXep</t:name> + <t:inscription>PDF (with XEP)</t:inscription> + <t:extension>pdf</t:extension> + <t:script>runXep</t:script> + <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet> + </t:publish> + + <t:root-elements>appendix article book.class chapter part section set reference</t:root-elements> + + <t:load-plugins>TablePlugin</t:load-plugins> + + <t:template-showup-priority>11</t:template-showup-priority> + + <t:dtd-guess-string>//SCONS//DTD DocBook</t:dtd-guess-string> + + <t:document-skeleton> + <t:name>All</t:name> + </t:document-skeleton> + <t:document-skeleton> + <t:name>Article</t:name> + <t:content> + <article> + <title/> + </article> + </t:content> + </t:document-skeleton> + <t:document-skeleton> + <t:name>Chapter</t:name> + <t:content> + <chapter> + <title/> + </chapter> + </t:content> + </t:document-skeleton> + <t:document-skeleton> + <t:name>Book</t:name> + <t:content> + <book> + <title/> + </book> + </t:content> + </t:document-skeleton> +</t:document-template> diff --git a/doc/editor_configs/serna/scons/xsd/calstblx.xsd b/doc/editor_configs/serna/scons/xsd/calstblx.xsd new file mode 100644 index 0000000..6f899a3 --- /dev/null +++ b/doc/editor_configs/serna/scons/xsd/calstblx.xsd @@ -0,0 +1,390 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- ...................................................................... --> +<!-- SCons DocBook V4.5-Based extension V1.0 XML CALS Table Model V4.5 .... --> +<!-- File calstblx.xsd .................................................... --> + +<!-- Copyright (c) 2001-7,2010,2011,2012 The SCons Foundation + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + This DTD extension is based on the DocBook CALS Table Model V4.5 with: + + Copyright 1992-2002 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + This DTD is based on the CALS Table Model + PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" + + $Id: calstblx.dtd 6340 2006-10-03 13:23:24Z nwalsh $ + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + For the modified SCons extension files + + scons.xsd, dbpoolx.xsd, + + you can write to its developer mailing list. Check out + http://www.scons.org/ and http://www.scons.org/lists.php. + +--> +<!-- ...................................................................... --> +<!-- + This module contains the definitions for the CALS Table Model + converted to XML. It has been modified slightly for use in the + combined HTML/CALS models supported by DocBook V4.5. +--> +<!-- + These definitions are not directly related to the table model, but are + used in the default CALS table model and are usually defined elsewhere + (and prior to the inclusion of this table module) in a CALS DTD. +--> +<!-- + no if zero(s), + yes if any other digits value +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> + <xs:simpleType name="yesorno"> + <xs:restriction base="xs:string"/> + </xs:simpleType> + <xs:group name="titles"> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + </xs:sequence> + </xs:group> + <!-- default for use in entry content --> + <!-- + The parameter entities as defined below provide the CALS table model + as published (as part of the Example DTD) in MIL-HDBK-28001. + + These following declarations provide the CALS-compliant default definitions + for these entities. However, these entities can and should be redefined + (by giving the appropriate parameter entity declaration(s) prior to the + reference to this Table Model declaration set entity) to fit the needs + of the current application. + --> + <xs:group name="tbl.table-titles.mdl"> + <xs:sequence> + <xs:group ref="titles"/> + </xs:sequence> + </xs:group> + <xs:group name="tbl.table-main.mdl"> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="tgroup"/> + <xs:element maxOccurs="unbounded" ref="graphic"/> + </xs:choice> + </xs:group> + <xs:complexType name="tbl.tgroup.mdl"> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="colspec"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="spanspec"/> + <xs:element minOccurs="0" ref="thead"/> + <xs:element minOccurs="0" ref="tfoot"/> + <xs:element ref="tbody"/> + </xs:sequence> + </xs:complexType> + <xs:attributeGroup name="tbl.tgroup.att"> + <xs:attribute name="tgroupstyle"/> + </xs:attributeGroup> + <xs:complexType name="tbl.row.mdl"> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="entry"/> + <xs:element ref="entrytbl"/> + </xs:choice> + </xs:complexType> + <xs:complexType name="tbl.entrytbl.mdl"> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="colspec"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="spanspec"/> + <xs:element minOccurs="0" ref="thead"/> + <xs:element ref="tbody"/> + </xs:sequence> + </xs:complexType> + <!-- ===== Element and attribute declarations follow. ===== --> + <!-- doc:A formal table in a document. --> + <xs:element name="table" substitutionGroup="formal.class"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="tbl.table.mdl"> + <xs:attributeGroup ref="table.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="table.attlist"> + <xs:attribute name="frame" type="tbl.frame.attval"/> + <xs:attribute name="colsep" type="yesorno"/> + <xs:attribute name="rowsep" type="yesorno"/> + <xs:attributeGroup ref="tbl.table.att"/> + <xs:attributeGroup ref="bodyatt"/> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- doc:A wrapper for the main content of a table, or part of a table. --> + <xs:element name="tgroup"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="tbl.tgroup.mdl"> + <xs:attributeGroup ref="tgroup.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="tgroup.attlist"> + <xs:attribute name="cols" use="required"/> + <xs:attributeGroup ref="tbl.tgroup.att"/> + <xs:attribute name="colsep" type="yesorno"/> + <xs:attribute name="rowsep" type="yesorno"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + <xs:enumeration value="justify"/> + <xs:enumeration value="char"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="char"/> + <xs:attribute name="charoff"/> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- doc:Specifications for a column in a table. --> + <xs:element name="colspec"> + <xs:complexType> + <xs:attributeGroup ref="colspec.attlist"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="colspec.attlist"> + <xs:attribute name="colnum"/> + <xs:attribute name="colname"/> + <xs:attribute name="colwidth"/> + <xs:attribute name="colsep" type="yesorno"/> + <xs:attribute name="rowsep" type="yesorno"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + <xs:enumeration value="justify"/> + <xs:enumeration value="char"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="char"/> + <xs:attribute name="charoff"/> + </xs:attributeGroup> + <!-- doc:Formatting information for a spanned column in a table. --> + <xs:element name="spanspec"> + <xs:complexType> + <xs:attributeGroup ref="spanspec.attlist"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="spanspec.attlist"> + <xs:attribute name="namest" use="required"/> + <xs:attribute name="nameend" use="required"/> + <xs:attribute name="spanname" use="required"/> + <xs:attribute name="colsep" type="yesorno"/> + <xs:attribute name="rowsep" type="yesorno"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + <xs:enumeration value="justify"/> + <xs:enumeration value="char"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="char"/> + <xs:attribute name="charoff"/> + </xs:attributeGroup> + <!-- doc:A table header consisting of one or more rows. --> + <xs:element name="thead"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="tbl.hdft.mdl"> + <xs:attributeGroup ref="thead.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="thead.attlist"> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- doc:A table footer consisting of one or more rows. --> + <xs:element name="tfoot"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="tbl.hdft.mdl"> + <xs:attributeGroup ref="tfoot.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="tfoot.attlist"> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- doc:A wrapper for the rows of a table or informal table. --> + <xs:element name="tbody"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="tbl.tbody.mdl"> + <xs:attributeGroup ref="tbody.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="tbody.attlist"> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- doc:A row in a table. --> + <xs:element name="row"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="tbl.row.mdl"> + <xs:attributeGroup ref="row.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="row.attlist"> + <xs:attribute name="rowsep" type="yesorno"/> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- doc:A subtable appearing in place of an Entry in a table. --> + <xs:element name="entrytbl"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="tbl.entrytbl.mdl"> + <xs:attributeGroup ref="entrytbl.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="entrytbl.attlist"> + <xs:attribute name="cols" use="required"/> + <xs:attributeGroup ref="tbl.tgroup.att"/> + <xs:attribute name="colname"/> + <xs:attribute name="spanname"/> + <xs:attribute name="namest"/> + <xs:attribute name="nameend"/> + <xs:attribute name="colsep" type="yesorno"/> + <xs:attribute name="rowsep" type="yesorno"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + <xs:enumeration value="justify"/> + <xs:enumeration value="char"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="char"/> + <xs:attribute name="charoff"/> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- doc:A cell in a table. --> + <xs:element name="entry"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="tbl.entry.mdl"/> + <xs:attributeGroup ref="entry.attlist"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="entry.attlist"> + <xs:attribute name="colname"/> + <xs:attribute name="namest"/> + <xs:attribute name="nameend"/> + <xs:attribute name="spanname"/> + <xs:attribute name="morerows"/> + <xs:attribute name="colsep" type="yesorno"/> + <xs:attribute name="rowsep" type="yesorno"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + <xs:enumeration value="justify"/> + <xs:enumeration value="char"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="char"/> + <xs:attribute name="charoff"/> + <xs:attribute name="rotate" type="yesorno"/> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> +</xs:schema> +<!-- End of SCons DocBook V4.5-Based extension V1.0 XML CALS Table Model V4.5 ... --> +<!-- ............................................................................ --> diff --git a/doc/editor_configs/serna/scons/xsd/dbhierx.xsd b/doc/editor_configs/serna/scons/xsd/dbhierx.xsd new file mode 100644 index 0000000..af99df6 --- /dev/null +++ b/doc/editor_configs/serna/scons/xsd/dbhierx.xsd @@ -0,0 +1,2186 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- .............................................................................. --> +<!-- SCons DocBook V4.5-Based extension V1.0 XML document hierarchy module V4.5 ... --> +<!-- File dbhierx.xsd ............................................................. --> +<!-- Copyright (c) 2001-7,2010,2011,2012 The SCons Foundation + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + This DTD extension is based on the DocBook document hierarchy + module V4.5 with: + + Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: dbhierx.mod 6340 2006-10-03 13:23:24Z nwalsh $ + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + For the modified SCons extension files + + scons.xsd, dbpoolx.xsd, + + you can write to its developer mailing list. Check out + http://www.scons.org/ and http://www.scons.org/lists.php. + +--> +<!-- ...................................................................... --> +<!-- + This module contains the definitions for the overall document + hierarchies of DocBook documents. It covers computer documentation + manuals and manual fragments, as well as reference entries (such as + man pages) and technical journals or anthologies containing + articles. + + This module depends on the DocBook information pool module. All + elements and entities referenced but not defined here are assumed + to be defined in the information pool module. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbhier PUBLIC + "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" + "dbhierx.mod"> + %dbhier; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> +<!-- ...................................................................... --> +<!-- Entities for module inclusions ....................................... --> +<!-- ...................................................................... --> +<!-- Entities for element classes ......................................... --> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> + <xs:element name="appendix.class" abstract="true"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:element minOccurs="0" ref="appendixinfo"/> + <xs:group ref="bookcomponent.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:element minOccurs="0" ref="tocchap"/> + <xs:group ref="bookcomponent.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="appendix.attlist"/> + </xs:complexType> + </xs:element> + <xs:element name="article.class" abstract="true"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="div.title.content"/> + <xs:element minOccurs="0" ref="articleinfo"/> + <xs:element minOccurs="0" ref="tocchap"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="lot"/> + <xs:group ref="bookcomponent.content"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="nav.class"/> + <xs:element ref="appendix.class"/> + <xs:element ref="colophon"/> + <xs:element ref="ackno"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="article.attlist"/> + </xs:complexType> + </xs:element> + <xs:element name="book.class" abstract="true"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="div.title.content"/> + <xs:element minOccurs="0" ref="bookinfo"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="dedication"/> + <xs:element ref="toc"/> + <xs:element ref="lot"/> + <xs:element ref="glossary"/> + <xs:element ref="bibliography"/> + <xs:element ref="preface"/> + <xs:element ref="chapter.class"/> + <xs:element ref="reference"/> + <xs:element ref="part"/> + <xs:element ref="article.class"/> + <xs:element ref="appendix.class"/> + <xs:group ref="index.class"/> + <xs:element ref="colophon"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="book.attlist"/> + </xs:complexType> + </xs:element> + <xs:element name="chapter.class" abstract="true"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:element minOccurs="0" ref="chapterinfo"/> + <xs:group ref="bookcomponent.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:element minOccurs="0" ref="tocchap"/> + <xs:group ref="bookcomponent.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="chapter.attlist"/> + </xs:complexType> + </xs:element> + <xs:group name="index.class"> + <xs:choice> + <xs:element ref="index"/> + <xs:element ref="setindex"/> + </xs:choice> + </xs:group> + <xs:element name="refentry.class" abstract="true"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="ndxterm.class"/> + <xs:element minOccurs="0" ref="refentryinfo"/> + <xs:element minOccurs="0" ref="refmeta"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="remark"/> + <xs:element ref="link.char.class"/> + </xs:choice> + <xs:element maxOccurs="unbounded" ref="refnamediv"/> + <xs:element minOccurs="0" ref="refsynopsisdiv"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="refsect1"/> + <xs:element maxOccurs="unbounded" ref="refsection"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="refentry.attlist"/> + </xs:complexType> + </xs:element> + <xs:element name="section.class" abstract="true"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sectioninfo"/> + <xs:group ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refentry.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="section.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + <xs:element maxOccurs="unbounded" ref="section.class"/> + <xs:element maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="section.attlist"/> + </xs:complexType> + </xs:element> + <xs:group name="nav.class"> + <xs:choice> + <xs:element ref="toc"/> + <xs:element ref="lot"/> + <xs:element ref="index"/> + <xs:element ref="glossary"/> + <xs:element ref="bibliography"/> + </xs:choice> + </xs:group> + <!-- Redeclaration placeholder ............................................ --> + <!-- + For redeclaring entities that are declared after this point while + retaining their references to the entities that are declared before + this point + --> + <!-- ...................................................................... --> + <!-- Entities for element mixtures ........................................ --> + <xs:group name="divcomponent.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="compound.class"/> + <xs:group ref="genobj.class"/> + <xs:group ref="descobj.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="refcomponent.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="compound.class"/> + <xs:group ref="genobj.class"/> + <xs:group ref="descobj.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="indexdivcomponent.mix"> + <xs:choice> + <xs:element ref="itemizedlist"/> + <xs:element ref="orderedlist"/> + <xs:element ref="variablelist"/> + <xs:element ref="simplelist"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="anchor"/> + <xs:element ref="remark"/> + <xs:element ref="link.char.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="refname.char.mix"> + <xs:sequence> + <xs:element minOccurs="0" ref="tech.char.class"/> + </xs:sequence> + </xs:group> + <xs:group name="partcontent.mix"> + <xs:choice> + <xs:element ref="appendix.class"/> + <xs:element ref="chapter.class"/> + <xs:group ref="nav.class"/> + <xs:element ref="article.class"/> + <xs:element ref="preface"/> + <xs:element ref="refentry.class"/> + <xs:element ref="reference"/> + </xs:choice> + </xs:group> + <xs:group name="refinline.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="xref.char.class"/> + <xs:element ref="gen.char.class"/> + <xs:element ref="link.char.class"/> + <xs:element ref="tech.char.class"/> + <xs:group ref="base.char.class"/> + <xs:element ref="docinfo.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:group name="refclass.char.mix"> + <xs:sequence> + <xs:element minOccurs="0" ref="application"/> + </xs:sequence> + </xs:group> + <!-- Redeclaration placeholder 2 .......................................... --> + <!-- + For redeclaring entities that are declared after this point while + retaining their references to the entities that are declared before + this point + --> + <!-- ...................................................................... --> + <!-- Entities for content models .......................................... --> + <xs:group name="div.title.content"> + <xs:sequence> + <xs:element ref="title"/> + <xs:element minOccurs="0" ref="subtitle"/> + <xs:element minOccurs="0" ref="titleabbrev"/> + </xs:sequence> + </xs:group> + <xs:group name="bookcomponent.title.content"> + <xs:sequence> + <xs:element ref="title"/> + <xs:element minOccurs="0" ref="subtitle"/> + <xs:element minOccurs="0" ref="titleabbrev"/> + </xs:sequence> + </xs:group> + <xs:group name="sect.title.content"> + <xs:sequence> + <xs:element ref="title"/> + <xs:element minOccurs="0" ref="subtitle"/> + <xs:element minOccurs="0" ref="titleabbrev"/> + </xs:sequence> + </xs:group> + <xs:group name="refsect.title.content"> + <xs:sequence> + <xs:element ref="title"/> + <xs:element minOccurs="0" ref="subtitle"/> + <xs:element minOccurs="0" ref="titleabbrev"/> + </xs:sequence> + </xs:group> + <xs:group name="bookcomponent.content"> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="sect1"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refentry.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="simplesect"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="section.class"/> + </xs:choice> + </xs:sequence> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="sect1"/> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + <xs:element maxOccurs="unbounded" ref="simplesect"/> + <xs:element maxOccurs="unbounded" ref="section.class"/> + </xs:choice> + </xs:choice> + </xs:group> + <!-- ...................................................................... --> + <!-- Set and SetInfo ...................................................... --> + <xs:attributeGroup name="set.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A collection of books. --> + <xs:element name="set"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="div.title.content"/> + <xs:element minOccurs="0" ref="setinfo"/> + <xs:element minOccurs="0" ref="toc"/> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="set"/> + <xs:element ref="book.class"/> + </xs:choice> + <xs:element minOccurs="0" ref="setindex"/> + </xs:sequence> + <xs:attributeGroup ref="set.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of set.element --> + <!-- FPI: SGML formal public identifier --> + <xs:attributeGroup name="set.attlist"> + <xs:attribute name="fpi"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="set.role.attrib"/> + </xs:attributeGroup> + <!-- end of set.attlist --> + <!-- end of set.module --> + <xs:attributeGroup name="setinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Set. --> + <xs:element name="setinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="setinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of setinfo.element --> + <!-- + Contents: IDs of the ToC, Books, and SetIndex that comprise + the set, in the order of their appearance + --> + <xs:attributeGroup name="setinfo.attlist"> + <xs:attribute name="contents" type="xs:IDREFS"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="setinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of setinfo.attlist --> + <!-- end of setinfo.module --> + <!-- end of set.content.module --> + <!-- ...................................................................... --> + <!-- Book and BookInfo .................................................... --> + <xs:attributeGroup name="book.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A book. --> + <xs:element name="book" substitutionGroup="book.class"/> + <!-- end of book.element --> + <!-- FPI: SGML formal public identifier --> + <xs:attributeGroup name="book.attlist"> + <xs:attribute name="fpi"/> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="book.role.attrib"/> + </xs:attributeGroup> + <!-- end of book.attlist --> + <!-- end of book.module --> + <xs:attributeGroup name="bookinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Book. --> + <xs:element name="bookinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="bookinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bookinfo.element --> + <!-- + Contents: IDs of the ToC, LoTs, Prefaces, Parts, Chapters, + Appendixes, References, GLossary, Bibliography, and indexes + comprising the Book, in the order of their appearance + --> + <xs:attributeGroup name="bookinfo.attlist"> + <xs:attribute name="contents" type="xs:IDREFS"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bookinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of bookinfo.attlist --> + <!-- end of bookinfo.module --> + <!-- end of book.content.module --> + <!-- ...................................................................... --> + <!-- Dedication, ToC, and LoT ............................................. --> + <xs:attributeGroup name="dedication.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for the dedication section of a book. --> + <xs:element name="dedication"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="sect.title.content"/> + <xs:group maxOccurs="unbounded" ref="legalnotice.mix"/> + </xs:sequence> + <xs:attributeGroup ref="dedication.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of dedication.element --> + <xs:attributeGroup name="dedication.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="dedication.role.attrib"/> + </xs:attributeGroup> + <!-- end of dedication.attlist --> + <!-- end of dedication.module --> + <xs:attributeGroup name="colophon.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Text at the back of a book describing facts about its production. --> + <xs:element name="colophon"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="sect.title.content"/> + <xs:group maxOccurs="unbounded" ref="textobject.mix"/> + </xs:sequence> + <xs:attributeGroup ref="colophon.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of colophon.element --> + <xs:attributeGroup name="colophon.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="colophon.role.attrib"/> + </xs:attributeGroup> + <!-- end of colophon.attlist --> + <!-- end of colophon.module --> + <xs:attributeGroup name="toc.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A table of contents. --> + <xs:element name="toc"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:group minOccurs="0" ref="bookcomponent.title.content"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="tocfront"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="tocpart"/> + <xs:element ref="tocchap"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="tocback"/> + </xs:sequence> + <xs:attributeGroup ref="toc.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of toc.element --> + <xs:attributeGroup name="toc.attlist"> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="toc.role.attrib"/> + </xs:attributeGroup> + <!-- end of toc.attlist --> + <!-- end of toc.module --> + <xs:attributeGroup name="tocfront.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a table of contents for a front matter component. --> + <xs:element name="tocfront"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="tocfront.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tocfront.element --> + <!-- to element that this entry represents --> + <xs:attributeGroup name="tocfront.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="linkend.attrib"/> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="tocfront.role.attrib"/> + </xs:attributeGroup> + <!-- end of tocfront.attlist --> + <!-- end of tocfront.module --> + <xs:attributeGroup name="tocentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A component title in a table of contents. --> + <xs:element name="tocentry"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="tocentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tocentry.element --> + <!-- to element that this entry represents --> + <xs:attributeGroup name="tocentry.attlist"> + <xs:attributeGroup ref="linkend.attrib"/> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="tocentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of tocentry.attlist --> + <!-- end of tocentry.module --> + <xs:attributeGroup name="tocpart.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a table of contents for a part of a book. --> + <xs:element name="tocpart"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="tocentry"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="tocchap"/> + </xs:sequence> + <xs:attributeGroup ref="tocpart.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tocpart.element --> + <xs:attributeGroup name="tocpart.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="tocpart.role.attrib"/> + </xs:attributeGroup> + <!-- end of tocpart.attlist --> + <!-- end of tocpart.module --> + <xs:attributeGroup name="tocchap.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a table of contents for a component in the body of a document. --> + <xs:element name="tocchap"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="tocentry"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="toclevel1"/> + </xs:sequence> + <xs:attributeGroup ref="tocchap.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tocchap.element --> + <xs:attributeGroup name="tocchap.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="tocchap.role.attrib"/> + </xs:attributeGroup> + <!-- end of tocchap.attlist --> + <!-- end of tocchap.module --> + <xs:attributeGroup name="toclevel1.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A top-level entry within a table of contents entry for a chapter-like component. --> + <xs:element name="toclevel1"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="tocentry"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="toclevel2"/> + </xs:sequence> + <xs:attributeGroup ref="toclevel1.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of toclevel1.element --> + <xs:attributeGroup name="toclevel1.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="toclevel1.role.attrib"/> + </xs:attributeGroup> + <!-- end of toclevel1.attlist --> + <!-- end of toclevel1.module --> + <xs:attributeGroup name="toclevel2.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A second-level entry within a table of contents entry for a chapter-like component. --> + <xs:element name="toclevel2"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="tocentry"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="toclevel3"/> + </xs:sequence> + <xs:attributeGroup ref="toclevel2.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of toclevel2.element --> + <xs:attributeGroup name="toclevel2.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="toclevel2.role.attrib"/> + </xs:attributeGroup> + <!-- end of toclevel2.attlist --> + <!-- end of toclevel2.module --> + <xs:attributeGroup name="toclevel3.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A third-level entry within a table of contents entry for a chapter-like component. --> + <xs:element name="toclevel3"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="tocentry"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="toclevel4"/> + </xs:sequence> + <xs:attributeGroup ref="toclevel3.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of toclevel3.element --> + <xs:attributeGroup name="toclevel3.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="toclevel3.role.attrib"/> + </xs:attributeGroup> + <!-- end of toclevel3.attlist --> + <!-- end of toclevel3.module --> + <xs:attributeGroup name="toclevel4.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A fourth-level entry within a table of contents entry for a chapter-like component. --> + <xs:element name="toclevel4"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="tocentry"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="toclevel5"/> + </xs:sequence> + <xs:attributeGroup ref="toclevel4.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of toclevel4.element --> + <xs:attributeGroup name="toclevel4.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="toclevel4.role.attrib"/> + </xs:attributeGroup> + <!-- end of toclevel4.attlist --> + <!-- end of toclevel4.module --> + <xs:attributeGroup name="toclevel5.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A fifth-level entry within a table of contents entry for a chapter-like component. --> + <xs:element name="toclevel5"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="tocentry"/> + </xs:sequence> + <xs:attributeGroup ref="toclevel5.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of toclevel5.element --> + <xs:attributeGroup name="toclevel5.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="toclevel5.role.attrib"/> + </xs:attributeGroup> + <!-- end of toclevel5.attlist --> + <!-- end of toclevel5.module --> + <xs:attributeGroup name="tocback.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a table of contents for a back matter component. --> + <xs:element name="tocback"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="tocback.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tocback.element --> + <!-- to element that this entry represents --> + <xs:attributeGroup name="tocback.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="linkend.attrib"/> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="tocback.role.attrib"/> + </xs:attributeGroup> + <!-- end of tocback.attlist --> + <!-- end of tocback.module --> + <!-- end of toc.content.module --> + <xs:attributeGroup name="lot.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list of the titles of formal objects (as tables or figures) in a document. --> + <xs:element name="lot"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:group minOccurs="0" ref="bookcomponent.title.content"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="lotentry"/> + </xs:sequence> + <xs:attributeGroup ref="lot.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of lot.element --> + <xs:attributeGroup name="lot.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="lot.role.attrib"/> + </xs:attributeGroup> + <!-- end of lot.attlist --> + <!-- end of lot.module --> + <xs:attributeGroup name="lotentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a list of titles. --> + <xs:element name="lotentry"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="lotentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of lotentry.element --> + <!-- + SrcCredit: Information about the source of the entry, + as for a list of illustrations + --> + <!-- linkend: to element that this entry represents --> + <xs:attributeGroup name="lotentry.attlist"> + <xs:attributeGroup ref="linkend.attrib"/> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attribute name="srccredit"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="lotentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of lotentry.attlist --> + <!-- end of lotentry.module --> + <!-- end of lot.content.module --> + <!-- ...................................................................... --> + <!-- Appendix, Chapter, Part, Preface, Reference, PartIntro ............... --> + <xs:attributeGroup name="appendix.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An appendix in a Book or Article. --> + <xs:element name="appendix" substitutionGroup="appendix.class"/> + <!-- end of appendix.element --> + <xs:attributeGroup name="appendix.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="appendix.role.attrib"/> + </xs:attributeGroup> + <!-- end of appendix.attlist --> + <!-- end of appendix.module --> + <xs:attributeGroup name="chapter.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A chapter, as of a book. --> + <xs:element name="chapter" substitutionGroup="chapter.class"/> + <!-- end of chapter.element --> + <xs:attributeGroup name="chapter.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="chapter.role.attrib"/> + </xs:attributeGroup> + <!-- end of chapter.attlist --> + <!-- end of chapter.module --> + <!-- + Note that Part was to have its content model reduced in V4.5. This + change will not be made after all. + --> + <xs:attributeGroup name="part.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A division in a book. --> + <xs:element name="part"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:element minOccurs="0" ref="partinfo"/> + <xs:group ref="bookcomponent.title.content"/> + <xs:element minOccurs="0" ref="partintro"/> + <xs:group maxOccurs="unbounded" ref="partcontent.mix"/> + </xs:sequence> + <xs:attributeGroup ref="part.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of part.element --> + <xs:attributeGroup name="part.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="part.role.attrib"/> + </xs:attributeGroup> + <!-- end of part.attlist --> + <!-- ELEMENT PartIntro (defined below) --> + <!-- end of part.module --> + <xs:attributeGroup name="preface.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Introductory matter preceding the first chapter of a book. --> + <xs:element name="preface"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:element minOccurs="0" ref="prefaceinfo"/> + <xs:group ref="bookcomponent.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:element minOccurs="0" ref="tocchap"/> + <xs:group ref="bookcomponent.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="preface.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of preface.element --> + <xs:attributeGroup name="preface.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="preface.role.attrib"/> + </xs:attributeGroup> + <!-- end of preface.attlist --> + <!-- end of preface.module --> + <xs:attributeGroup name="reference.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A collection of reference entries. --> + <xs:element name="reference"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="beginpage"/> + <xs:element minOccurs="0" ref="referenceinfo"/> + <xs:group ref="bookcomponent.title.content"/> + <xs:element minOccurs="0" ref="partintro"/> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + </xs:sequence> + <xs:attributeGroup ref="reference.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of reference.element --> + <xs:attributeGroup name="reference.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="reference.role.attrib"/> + </xs:attributeGroup> + <!-- end of reference.attlist --> + <!-- ELEMENT PartIntro (defined below) --> + <!-- end of reference.module --> + <xs:attributeGroup name="partintro.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An introduction to the contents of a part. --> + <xs:element name="partintro"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="div.title.content"/> + <xs:group ref="bookcomponent.content"/> + </xs:sequence> + <xs:attributeGroup ref="partintro.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of partintro.element --> + <xs:attributeGroup name="partintro.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="partintro.role.attrib"/> + </xs:attributeGroup> + <!-- end of partintro.attlist --> + <!-- end of partintro.module --> + <!-- ...................................................................... --> + <!-- Other Info elements .................................................. --> + <xs:attributeGroup name="appendixinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for an Appendix. --> + <xs:element name="appendixinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="appendixinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of appendixinfo.element --> + <xs:attributeGroup name="appendixinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="appendixinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of appendixinfo.attlist --> + <!-- end of appendixinfo.module --> + <xs:attributeGroup name="bibliographyinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Bibliography. --> + <xs:element name="bibliographyinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="bibliographyinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliographyinfo.element --> + <xs:attributeGroup name="bibliographyinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliographyinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliographyinfo.attlist --> + <!-- end of bibliographyinfo.module --> + <xs:attributeGroup name="chapterinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Chapter. --> + <xs:element name="chapterinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="chapterinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of chapterinfo.element --> + <xs:attributeGroup name="chapterinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="chapterinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of chapterinfo.attlist --> + <!-- end of chapterinfo.module --> + <xs:attributeGroup name="glossaryinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Glossary. --> + <xs:element name="glossaryinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="glossaryinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glossaryinfo.element --> + <xs:attributeGroup name="glossaryinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glossaryinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of glossaryinfo.attlist --> + <!-- end of glossaryinfo.module --> + <xs:attributeGroup name="indexinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for an Index. --> + <xs:element name="indexinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="indexinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of indexinfo.element --> + <xs:attributeGroup name="indexinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="indexinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of indexinfo.attlist --> + <!-- end of indexinfo.module --> + <xs:attributeGroup name="setindexinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a SetIndex. --> + <xs:element name="setindexinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="setindexinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of setindexinfo.element --> + <xs:attributeGroup name="setindexinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="setindexinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of setindexinfo.attlist --> + <!-- end of setindexinfo.module --> + <xs:attributeGroup name="partinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Part. --> + <xs:element name="partinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="partinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of partinfo.element --> + <xs:attributeGroup name="partinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="partinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of partinfo.attlist --> + <!-- end of partinfo.module --> + <xs:attributeGroup name="prefaceinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Preface. --> + <xs:element name="prefaceinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="prefaceinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of prefaceinfo.element --> + <xs:attributeGroup name="prefaceinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="prefaceinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of prefaceinfo.attlist --> + <!-- end of prefaceinfo.module --> + <xs:attributeGroup name="refentryinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Refentry. --> + <xs:element name="refentryinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="refentryinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refentryinfo.element --> + <xs:attributeGroup name="refentryinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refentryinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of refentryinfo.attlist --> + <!-- end of refentryinfo.module --> + <xs:attributeGroup name="refsectioninfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a refsection. --> + <xs:element name="refsectioninfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="refsectioninfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsectioninfo.element --> + <xs:attributeGroup name="refsectioninfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsectioninfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsectioninfo.attlist --> + <!-- end of refsectioninfo.module --> + <xs:attributeGroup name="refsect1info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a RefSect1. --> + <xs:element name="refsect1info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="refsect1info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsect1info.element --> + <xs:attributeGroup name="refsect1info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsect1info.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsect1info.attlist --> + <!-- end of refsect1info.module --> + <xs:attributeGroup name="refsect2info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a RefSect2. --> + <xs:element name="refsect2info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="refsect2info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsect2info.element --> + <xs:attributeGroup name="refsect2info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsect2info.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsect2info.attlist --> + <!-- end of refsect2info.module --> + <xs:attributeGroup name="refsect3info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a RefSect3. --> + <xs:element name="refsect3info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="refsect3info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsect3info.element --> + <xs:attributeGroup name="refsect3info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsect3info.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsect3info.attlist --> + <!-- end of refsect3info.module --> + <xs:attributeGroup name="refsynopsisdivinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a RefSynopsisDiv. --> + <xs:element name="refsynopsisdivinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="refsynopsisdivinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsynopsisdivinfo.element --> + <xs:attributeGroup name="refsynopsisdivinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsynopsisdivinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsynopsisdivinfo.attlist --> + <!-- end of refsynopsisdivinfo.module --> + <xs:attributeGroup name="referenceinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Reference. --> + <xs:element name="referenceinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="referenceinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of referenceinfo.element --> + <xs:attributeGroup name="referenceinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="referenceinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of referenceinfo.attlist --> + <!-- end of referenceinfo.module --> + <xs:attributeGroup name="sect1info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Sect1. --> + <xs:element name="sect1info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="sect1info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect1info.element --> + <xs:attributeGroup name="sect1info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect1info.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect1info.attlist --> + <xs:attributeGroup name="sect2info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Sect2. --> + <xs:element name="sect2info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="sect2info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect2info.element --> + <xs:attributeGroup name="sect2info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect2info.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect2info.attlist --> + <xs:attributeGroup name="sect3info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Sect3. --> + <xs:element name="sect3info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="sect3info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect3info.element --> + <xs:attributeGroup name="sect3info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect3info.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect3info.attlist --> + <xs:attributeGroup name="sect4info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Sect4. --> + <xs:element name="sect4info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="sect4info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect4info.element --> + <xs:attributeGroup name="sect4info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect4info.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect4info.attlist --> + <xs:attributeGroup name="sect5info.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Sect5. --> + <xs:element name="sect5info"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="sect5info.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect5info.element --> + <xs:attributeGroup name="sect5info.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect5info.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect5info.attlist --> + <!-- ...................................................................... --> + <!-- Section (parallel to Sect*) ......................................... --> + <xs:attributeGroup name="section.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A recursive section. --> + <xs:element name="section" substitutionGroup="section.class"/> + <!-- end of section.element --> + <xs:attributeGroup name="section.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="section.role.attrib"/> + </xs:attributeGroup> + <!-- end of section.attlist --> + <!-- end of section.module --> + <xs:attributeGroup name="sectioninfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a recursive section. --> + <xs:element name="sectioninfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="sectioninfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sectioninfo.element --> + <xs:attributeGroup name="sectioninfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sectioninfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of sectioninfo.attlist --> + <!-- end of sectioninfo.module --> + <!-- end of section.content.module --> + <!-- ...................................................................... --> + <!-- Sect1, Sect2, Sect3, Sect4, Sect5 .................................... --> + <xs:attributeGroup name="sect1.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A top-level section of document. --> + <xs:element name="sect1"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sect1info"/> + <xs:group ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refentry.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="sect2"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + <xs:element maxOccurs="unbounded" ref="sect2"/> + <xs:element maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="sect1.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect1.element --> + <!-- + Renderas: Indicates the format in which the heading should + appear + --> + <xs:attributeGroup name="sect1.attlist"> + <xs:attribute name="renderas"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="sect2"/> + <xs:enumeration value="sect3"/> + <xs:enumeration value="sect4"/> + <xs:enumeration value="sect5"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect1.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect1.attlist --> + <!-- end of sect1.module --> + <xs:attributeGroup name="sect2.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subsection within a Sect1. --> + <xs:element name="sect2"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sect2info"/> + <xs:group ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refentry.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="sect3"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + <xs:element maxOccurs="unbounded" ref="sect3"/> + <xs:element maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="sect2.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect2.element --> + <!-- + Renderas: Indicates the format in which the heading should + appear + --> + <xs:attributeGroup name="sect2.attlist"> + <xs:attribute name="renderas"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="sect1"/> + <xs:enumeration value="sect3"/> + <xs:enumeration value="sect4"/> + <xs:enumeration value="sect5"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect2.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect2.attlist --> + <!-- end of sect2.module --> + <xs:attributeGroup name="sect3.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subsection within a Sect2. --> + <xs:element name="sect3"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sect3info"/> + <xs:group ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refentry.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="sect4"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + <xs:element maxOccurs="unbounded" ref="sect4"/> + <xs:element maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="sect3.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect3.element --> + <!-- + Renderas: Indicates the format in which the heading should + appear + --> + <xs:attributeGroup name="sect3.attlist"> + <xs:attribute name="renderas"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="sect1"/> + <xs:enumeration value="sect2"/> + <xs:enumeration value="sect4"/> + <xs:enumeration value="sect5"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect3.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect3.attlist --> + <!-- end of sect3.module --> + <xs:attributeGroup name="sect4.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subsection within a Sect3. --> + <xs:element name="sect4"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sect4info"/> + <xs:group ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refentry.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="sect5"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + <xs:element maxOccurs="unbounded" ref="sect5"/> + <xs:element maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="sect4.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect4.element --> + <!-- + Renderas: Indicates the format in which the heading should + appear + --> + <xs:attributeGroup name="sect4.attlist"> + <xs:attribute name="renderas"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="sect1"/> + <xs:enumeration value="sect2"/> + <xs:enumeration value="sect3"/> + <xs:enumeration value="sect5"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect4.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect4.attlist --> + <!-- end of sect4.module --> + <xs:attributeGroup name="sect5.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subsection within a Sect4. --> + <xs:element name="sect5"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sect5info"/> + <xs:group ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refentry.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refentry.class"/> + <xs:element maxOccurs="unbounded" ref="simplesect"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="nav.class"/> + </xs:sequence> + <xs:attributeGroup ref="sect5.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sect5.element --> + <!-- + Renderas: Indicates the format in which the heading should + appear + --> + <xs:attributeGroup name="sect5.attlist"> + <xs:attribute name="renderas"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="sect1"/> + <xs:enumeration value="sect2"/> + <xs:enumeration value="sect3"/> + <xs:enumeration value="sect4"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sect5.role.attrib"/> + </xs:attributeGroup> + <!-- end of sect5.attlist --> + <!-- end of sect5.module --> + <xs:attributeGroup name="simplesect.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A section of a document with no subdivisions. --> + <xs:element name="simplesect"> + <xs:complexType> + <xs:sequence> + <xs:group ref="sect.title.content"/> + <xs:group maxOccurs="unbounded" ref="divcomponent.mix"/> + </xs:sequence> + <xs:attributeGroup ref="simplesect.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of simplesect.element --> + <xs:attributeGroup name="simplesect.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="simplesect.role.attrib"/> + </xs:attributeGroup> + <!-- end of simplesect.attlist --> + <!-- end of simplesect.module --> + <!-- ...................................................................... --> + <!-- Bibliography ......................................................... --> + <xs:attributeGroup name="bibliography.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A bibliography. --> + <xs:element name="bibliography"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="bibliographyinfo"/> + <xs:group minOccurs="0" ref="bookcomponent.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="bibliodiv"/> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="biblioentry"/> + <xs:element ref="bibliomixed"/> + </xs:choice> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="bibliography.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliography.element --> + <xs:attributeGroup name="bibliography.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliography.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliography.attlist --> + <!-- end of bibliography.module --> + <xs:attributeGroup name="bibliodiv.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A section of a Bibliography. --> + <xs:element name="bibliodiv"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="biblioentry"/> + <xs:element ref="bibliomixed"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="bibliodiv.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliodiv.element --> + <xs:attributeGroup name="bibliodiv.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliodiv.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliodiv.attlist --> + <!-- end of bibliodiv.module --> + <!-- end of bibliography.content.module --> + <!-- ...................................................................... --> + <!-- Glossary ............................................................. --> + <xs:attributeGroup name="glossary.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A glossary. --> + <xs:element name="glossary"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="glossaryinfo"/> + <xs:group minOccurs="0" ref="bookcomponent.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="glossdiv"/> + <xs:element maxOccurs="unbounded" ref="glossentry"/> + </xs:choice> + <xs:element minOccurs="0" ref="bibliography"/> + </xs:sequence> + <xs:attributeGroup ref="glossary.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glossary.element --> + <xs:attributeGroup name="glossary.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glossary.role.attrib"/> + </xs:attributeGroup> + <!-- end of glossary.attlist --> + <!-- end of glossary.module --> + <xs:attributeGroup name="glossdiv.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A division in a Glossary. --> + <xs:element name="glossdiv"> + <xs:complexType> + <xs:sequence> + <xs:group ref="sect.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + <xs:element maxOccurs="unbounded" ref="glossentry"/> + </xs:sequence> + <xs:attributeGroup ref="glossdiv.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glossdiv.element --> + <xs:attributeGroup name="glossdiv.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glossdiv.role.attrib"/> + </xs:attributeGroup> + <!-- end of glossdiv.attlist --> + <!-- end of glossdiv.module --> + <!-- end of glossary.content.module --> + <!-- ...................................................................... --> + <!-- Index and SetIndex ................................................... --> + <xs:attributeGroup name="indexes.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An index. --> + <xs:element name="index"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="indexinfo"/> + <xs:group minOccurs="0" ref="bookcomponent.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="indexdiv"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="indexentry"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="index.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of index.element --> + <xs:attributeGroup name="index.attlist"> + <xs:attribute name="type"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="indexes.role.attrib"/> + </xs:attributeGroup> + <!-- end of index.attlist --> + <!-- doc:An index to a set of books. --> + <xs:element name="setindex"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="setindexinfo"/> + <xs:group minOccurs="0" ref="bookcomponent.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="indexdiv"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="indexentry"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="setindex.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of setindex.element --> + <xs:attributeGroup name="setindex.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="indexes.role.attrib"/> + </xs:attributeGroup> + <!-- end of setindex.attlist --> + <!-- end of indexes.module --> + <!-- + SegmentedList in this content is useful for marking up permuted + indices. + --> + <xs:attributeGroup name="indexdiv.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A division in an index. --> + <xs:element name="indexdiv"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="sect.title.content"/> + <xs:sequence> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="indexdivcomponent.mix"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="indexentry"/> + <xs:element ref="segmentedlist"/> + </xs:choice> + </xs:sequence> + </xs:sequence> + <xs:attributeGroup ref="indexdiv.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of indexdiv.element --> + <xs:attributeGroup name="indexdiv.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="indexdiv.role.attrib"/> + </xs:attributeGroup> + <!-- end of indexdiv.attlist --> + <!-- end of indexdiv.module --> + <!-- Index entries appear in the index, not the text. --> + <xs:attributeGroup name="indexentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in an index. --> + <xs:element name="indexentry"> + <xs:complexType> + <xs:sequence> + <xs:element ref="primaryie"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="seeie"/> + <xs:element ref="seealsoie"/> + </xs:choice> + <xs:sequence minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="secondaryie"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="seeie"/> + <xs:element ref="seealsoie"/> + <xs:element ref="tertiaryie"/> + </xs:choice> + </xs:sequence> + </xs:sequence> + <xs:attributeGroup ref="indexentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of indexentry.element --> + <xs:attributeGroup name="indexentry.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="indexentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of indexentry.attlist --> + <!-- end of indexentry.module --> + <xs:attributeGroup name="primsecterie.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A primary term in an index entry, not in the text. --> + <xs:element name="primaryie"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="primaryie.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of primaryie.element --> + <!-- to IndexTerms that these entries represent --> + <xs:attributeGroup name="primaryie.attlist"> + <xs:attributeGroup ref="linkends.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="primsecterie.role.attrib"/> + </xs:attributeGroup> + <!-- end of primaryie.attlist --> + <!-- doc:A secondary term in an index entry, rather than in the text. --> + <xs:element name="secondaryie"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="secondaryie.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of secondaryie.element --> + <!-- to IndexTerms that these entries represent --> + <xs:attributeGroup name="secondaryie.attlist"> + <xs:attributeGroup ref="linkends.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="primsecterie.role.attrib"/> + </xs:attributeGroup> + <!-- end of secondaryie.attlist --> + <!-- doc:A tertiary term in an index entry, rather than in the text. --> + <xs:element name="tertiaryie"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="tertiaryie.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tertiaryie.element --> + <!-- to IndexTerms that these entries represent --> + <xs:attributeGroup name="tertiaryie.attlist"> + <xs:attributeGroup ref="linkends.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="primsecterie.role.attrib"/> + </xs:attributeGroup> + <!-- end of tertiaryie.attlist --> + <!-- end of primsecterie.module --> + <xs:attributeGroup name="seeie.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A See entry in an index, rather than in the text. --> + <xs:element name="seeie"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="seeie.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of seeie.element --> + <!-- to IndexEntry to look up --> + <xs:attributeGroup name="seeie.attlist"> + <xs:attributeGroup ref="linkend.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="seeie.role.attrib"/> + </xs:attributeGroup> + <!-- end of seeie.attlist --> + <!-- end of seeie.module --> + <xs:attributeGroup name="seealsoie.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A See also entry in an index, rather than in the text. --> + <xs:element name="seealsoie"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="seealsoie.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of seealsoie.element --> + <!-- to related IndexEntries --> + <xs:attributeGroup name="seealsoie.attlist"> + <xs:attributeGroup ref="linkends.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="seealsoie.role.attrib"/> + </xs:attributeGroup> + <!-- end of seealsoie.attlist --> + <!-- end of seealsoie.module --> + <!-- end of index.content.module --> + <!-- ...................................................................... --> + <!-- RefEntry ............................................................. --> + <xs:attributeGroup name="refentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A reference page (originally a UNIX man-style reference page). --> + <xs:element name="refentry" substitutionGroup="refentry.class"/> + <!-- end of refentry.element --> + <xs:attributeGroup name="refentry.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of refentry.attlist --> + <!-- end of refentry.module --> + <xs:attributeGroup name="refmeta.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a reference entry. --> + <xs:element name="refmeta"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="ndxterm.class"/> + <xs:element ref="refentrytitle"/> + <xs:element minOccurs="0" ref="manvolnum"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refmiscinfo"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="ndxterm.class"/> + </xs:sequence> + <xs:attributeGroup ref="refmeta.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refmeta.element --> + <xs:attributeGroup name="refmeta.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refmeta.role.attrib"/> + </xs:attributeGroup> + <!-- end of refmeta.attlist --> + <!-- end of refmeta.module --> + <xs:attributeGroup name="refmiscinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a reference entry other than the title and volume number. --> + <xs:element name="refmiscinfo"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="refmiscinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refmiscinfo.element --> + <!-- Class: Freely assignable parameter; no default --> + <xs:attributeGroup name="refmiscinfo.attlist"> + <xs:attribute name="class"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refmiscinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of refmiscinfo.attlist --> + <!-- end of refmiscinfo.module --> + <xs:attributeGroup name="refnamediv.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name, purpose, and classification of a reference page. --> + <xs:element name="refnamediv"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="refdescriptor"/> + <xs:element maxOccurs="unbounded" ref="refname"/> + <xs:element ref="refpurpose"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refclass"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="remark"/> + <xs:element ref="link.char.class"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="refnamediv.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refnamediv.element --> + <xs:attributeGroup name="refnamediv.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refnamediv.role.attrib"/> + </xs:attributeGroup> + <!-- end of refnamediv.attlist --> + <!-- end of refnamediv.module --> + <xs:attributeGroup name="refdescriptor.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A description of the topic of a reference page. --> + <xs:element name="refdescriptor"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="refname.char.mix"/> + <xs:attributeGroup ref="refdescriptor.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refdescriptor.element --> + <xs:attributeGroup name="refdescriptor.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refdescriptor.role.attrib"/> + </xs:attributeGroup> + <!-- end of refdescriptor.attlist --> + <!-- end of refdescriptor.module --> + <xs:attributeGroup name="refname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of (one of) the subject(s) of a reference page. --> + <xs:element name="refname"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="refname.char.mix"/> + <xs:attributeGroup ref="refname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refname.element --> + <xs:attributeGroup name="refname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refname.role.attrib"/> + </xs:attributeGroup> + <!-- end of refname.attlist --> + <!-- end of refname.module --> + <xs:attributeGroup name="refpurpose.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A short (one sentence) synopsis of the topic of a reference page. --> + <xs:element name="refpurpose"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="refinline.char.mix"/> + <xs:attributeGroup ref="refpurpose.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refpurpose.element --> + <xs:attributeGroup name="refpurpose.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refpurpose.role.attrib"/> + </xs:attributeGroup> + <!-- end of refpurpose.attlist --> + <!-- end of refpurpose.module --> + <xs:attributeGroup name="refclass.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The scope or other indication of applicability of a reference entry. --> + <xs:element name="refclass"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="refclass.char.mix"/> + <xs:attributeGroup ref="refclass.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refclass.element --> + <xs:attributeGroup name="refclass.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refclass.role.attrib"/> + </xs:attributeGroup> + <!-- end of refclass.attlist --> + <!-- end of refclass.module --> + <xs:attributeGroup name="refsynopsisdiv.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A syntactic synopsis of the subject of the reference page. --> + <xs:element name="refsynopsisdiv"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="refsynopsisdivinfo"/> + <xs:group minOccurs="0" ref="refsect.title.content"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="refcomponent.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refsect2"/> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refsect2"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="refsynopsisdiv.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsynopsisdiv.element --> + <xs:attributeGroup name="refsynopsisdiv.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsynopsisdiv.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsynopsisdiv.attlist --> + <!-- end of refsynopsisdiv.module --> + <xs:attributeGroup name="refsection.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A recursive section in a refentry. --> + <xs:element name="refsection"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="refsectioninfo"/> + <xs:group ref="refsect.title.content"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="refcomponent.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refsection"/> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refsection"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="refsection.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsection.element --> + <xs:attributeGroup name="refsection.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsection.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsection.attlist --> + <!-- end of refsection.module --> + <xs:attributeGroup name="refsect1.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A major subsection of a reference entry. --> + <xs:element name="refsect1"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="refsect1info"/> + <xs:group ref="refsect.title.content"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="refcomponent.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refsect2"/> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refsect2"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="refsect1.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsect1.element --> + <xs:attributeGroup name="refsect1.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsect1.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsect1.attlist --> + <!-- end of refsect1.module --> + <xs:attributeGroup name="refsect2.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subsection of a RefSect1. --> + <xs:element name="refsect2"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="refsect2info"/> + <xs:group ref="refsect.title.content"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="refcomponent.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="refsect3"/> + </xs:sequence> + <xs:element maxOccurs="unbounded" ref="refsect3"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="refsect2.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsect2.element --> + <xs:attributeGroup name="refsect2.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsect2.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsect2.attlist --> + <!-- end of refsect2.module --> + <xs:attributeGroup name="refsect3.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subsection of a RefSect2. --> + <xs:element name="refsect3"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="refsect3info"/> + <xs:group ref="refsect.title.content"/> + <xs:group maxOccurs="unbounded" ref="refcomponent.mix"/> + </xs:sequence> + <xs:attributeGroup ref="refsect3.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refsect3.element --> + <xs:attributeGroup name="refsect3.attlist"> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refsect3.role.attrib"/> + </xs:attributeGroup> + <!-- end of refsect3.attlist --> + <!-- end of refsect3.module --> + <!-- end of refentry.content.module --> + <!-- ...................................................................... --> + <!-- Article .............................................................. --> + <!-- + An Article is a chapter-level, stand-alone document that is often, + but need not be, collected into a Book. + --> + <xs:attributeGroup name="article.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An article. --> + <xs:element name="article" substitutionGroup="article.class"/> + <!-- end of article.element --> + <!-- + Class: Indicates the type of a particular article; + all articles have the same structure and general purpose. + No default. + --> + <!-- ParentBook: ID of the enclosing Book --> + <xs:attributeGroup name="article.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="journalarticle"/> + <xs:enumeration value="productsheet"/> + <xs:enumeration value="whitepaper"/> + <xs:enumeration value="techreport"/> + <xs:enumeration value="specification"/> + <xs:enumeration value="faq"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="parentbook" type="xs:IDREF"/> + <xs:attributeGroup ref="status.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="article.role.attrib"/> + </xs:attributeGroup> +</xs:schema> +<!-- end of article.attlist --> +<!-- end of article.module --> +<!-- End of SCons DocBook V4.5-Based extension V1.0 XML document hierarchy module V4.5 --> +<!-- ................................................................................. --> diff --git a/doc/editor_configs/serna/scons/xsd/dbnotnx.xsd b/doc/editor_configs/serna/scons/xsd/dbnotnx.xsd new file mode 100644 index 0000000..36f690f --- /dev/null +++ b/doc/editor_configs/serna/scons/xsd/dbnotnx.xsd @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- ...................................................................... --> +<!-- SCons DocBook V4.5-Based extension V1.0 XML notations ................ --> +<!-- File dbnotnx.xsd ..................................................... --> +<!-- Copyright (c) 2001-7,2010,2011,2012 The SCons Foundation + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + This DTD extension is based on the DocBook notations module V4.5 with: + + Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: dbnotnx.mod 6340 2006-10-03 13:23:24Z nwalsh $ + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + For the modified SCons extension files + + scons.xsd, dbpoolx.xsd, + + you can write to its developer mailing list. Check out + http://www.scons.org/ and http://www.scons.org/lists.php. + +--> +<!-- ...................................................................... --> +<!-- + This module contains the notation declarations used by DocBook. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbnotn PUBLIC + "-//OASIS//ENTITIES DocBook Notations V4.5//EN" + "dbnotnx.mod"> + %dbnotn; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> + <xs:simpleType name="notation.class"> + <xs:restriction base="xs:token"> + <xs:enumeration value="BMP"/> + <xs:enumeration value="CGM-CHAR"/> + <xs:enumeration value="CGM-BINARY"/> + <xs:enumeration value="CGM-CLEAR"/> + <xs:enumeration value="DITROFF"/> + <xs:enumeration value="DVI"/> + <xs:enumeration value="EPS"/> + <xs:enumeration value="EQN"/> + <xs:enumeration value="FAX"/> + <xs:enumeration value="GIF"/> + <xs:enumeration value="GIF87a"/> + <xs:enumeration value="GIF89a"/> + <xs:enumeration value="JPG"/> + <xs:enumeration value="JPEG"/> + <xs:enumeration value="IGES"/> + <xs:enumeration value="PCX"/> + <xs:enumeration value="PIC"/> + <xs:enumeration value="PNG"/> + <xs:enumeration value="PS"/> + <xs:enumeration value="SGML"/> + <xs:enumeration value="TBL"/> + <xs:enumeration value="TEX"/> + <xs:enumeration value="TIFF"/> + <xs:enumeration value="WMF"/> + <xs:enumeration value="WPG"/> + <xs:enumeration value="SVG"/> + <xs:enumeration value="PDF"/> + <xs:enumeration value="SWF"/> + <xs:enumeration value="linespecific"/> + </xs:restriction> + </xs:simpleType> +</xs:schema> +<!-- WordPerfect Graphic format --> +<!-- End of SCons DocBook V4.5-Based extension V1.0 XML notations ......... --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/xsd/dbpoolx.xsd b/doc/editor_configs/serna/scons/xsd/dbpoolx.xsd new file mode 100644 index 0000000..0ce5cb7 --- /dev/null +++ b/doc/editor_configs/serna/scons/xsd/dbpoolx.xsd @@ -0,0 +1,8682 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- ...................................................................... --> +<!-- SCons DocBook V4.5-Based extension V1.0 XML information pool module .. --> +<!-- File dbpoolx.xsd ..................................................... --> +<!-- Copyright (c) 2001-7,2010,2011,2012 The SCons Foundation + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + This DTD extension is based on the Docbook XML information pool + module V4.5 with: + + Copyright 1992-2004 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: dbpoolx.mod 6340 2006-10-03 13:23:24Z nwalsh $ + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + For the modified SCons extension files + + scons.xsd, dbpoolx.xsd, + + you can write to its developer mailing list. Check out + http://www.scons.org/ and http://www.scons.org/lists.php. + +--> +<!-- ...................................................................... --> +<!-- + This module contains the definitions for the objects, inline + elements, and so on that are available to be used as the main + content of DocBook documents. Some elements are useful for general + publishing, and others are useful specifically for computer + documentation. + + This module has the following dependencies on other modules: + + o It assumes that a %notation.class; entity is defined by the + driver file or other high-level module. This entity is + referenced in the NOTATION attributes for the graphic-related and + ModeSpec elements. + + o It assumes that an appropriately parameterized table module is + available for use with the table-related elements. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % dbpool PUBLIC + "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" + "dbpoolx.mod"> + %dbpool; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> +<!-- ...................................................................... --> +<!-- Forms entities ....................................................... --> +<!-- These PEs provide the hook by which the forms module can be inserted --> +<!-- into the DTD. --> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:include schemaLocation="htmltblx.xsd"/> + <xs:include schemaLocation="calstblx.xsd"/> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> + <!-- ...................................................................... --> + <!-- General-purpose semantics entities ................................... --> + <xs:simpleType name="yesorno.attvals"> + <xs:restriction base="xs:string"/> + </xs:simpleType> + <!-- ...................................................................... --> + <!-- Entities for module inclusions ....................................... --> + <!-- ...................................................................... --> + <!-- Entities for element classes and mixtures ............................ --> + <!-- "Ubiquitous" classes: ndxterm.class and beginpage --> + <xs:element name="ndxterm.class" abstract="true"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="primary"/> + <xs:choice minOccurs="0"> + <xs:sequence> + <xs:element ref="secondary"/> + <xs:choice minOccurs="0"> + <xs:sequence> + <xs:element ref="tertiary"/> + <xs:choice minOccurs="0"> + <xs:element ref="see"/> + <xs:element maxOccurs="unbounded" ref="seealso"/> + </xs:choice> + </xs:sequence> + <xs:element ref="see"/> + <xs:element maxOccurs="unbounded" ref="seealso"/> + </xs:choice> + </xs:sequence> + <xs:element ref="see"/> + <xs:element maxOccurs="unbounded" ref="seealso"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="indexterm.attlist"/> + </xs:complexType> + </xs:element> + <!-- Object-level classes ................................................. --> + <xs:element name="list.class" abstract="true"/> + <xs:element name="admon.class" abstract="true"/> + <xs:element name="linespecific.class" abstract="true"/> + <xs:element name="method.synop.class" abstract="true" substitutionGroup="synop.class"/> + <xs:element name="synop.class" abstract="true"/> + <xs:element name="para.class" abstract="true"/> + <xs:element name="informal.class" abstract="true"/> + <xs:element name="formal.class" abstract="true"/> + <!-- The DocBook TC may produce an official EBNF module for DocBook. --> + <!-- This PE provides the hook by which it can be inserted into the DTD. --> + <xs:element name="compound.class" abstract="true"/> + <xs:group name="genobj.class"> + <xs:choice> + <xs:element ref="anchor"/> + <xs:element ref="bridgehead"/> + <xs:element ref="remark"/> + <xs:element ref="highlights"/> + </xs:choice> + </xs:group> + <xs:group name="descobj.class"> + <xs:choice> + <xs:element ref="abstract"/> + <xs:element ref="authorblurb"/> + <xs:element ref="epigraph"/> + </xs:choice> + </xs:group> + <!-- Character-level classes .............................................. --> + <xs:element name="xref.char.class" abstract="true"/> + <xs:element name="gen.char.class" abstract="true"/> + <xs:element name="link.char.class" abstract="true"/> + <!-- The DocBook TC may produce an official EBNF module for DocBook. --> + <!-- This PE provides the hook by which it can be inserted into the DTD. --> + <xs:element name="tech.char.class" abstract="true"/> + <xs:group name="base.char.class"> + <xs:sequence> + <xs:element ref="anchor"/> + </xs:sequence> + </xs:group> + <xs:element name="docinfo.char.class" abstract="true"/> + <xs:group name="other.char.class"> + <xs:choice> + <xs:element ref="remark"/> + <xs:element ref="subscript"/> + <xs:element ref="superscript"/> + </xs:choice> + </xs:group> + <xs:element name="inlineobj.char.class" abstract="true"/> + <!-- ...................................................................... --> + <!-- Entities for content models .......................................... --> + <xs:group name="formalobject.title.content"> + <xs:sequence> + <xs:element ref="title"/> + <xs:element minOccurs="0" ref="titleabbrev"/> + </xs:sequence> + </xs:group> + <!-- Redeclaration placeholder ............................................ --> + <!-- + For redeclaring entities that are declared after this point while + retaining their references to the entities that are declared before + this point + --> + <!-- Object-level mixtures ................................................ --> + <!-- + list admn line synp para infm form cmpd gen desc + Component mixture X X X X X X X X X X + Sidebar mixture X X X X X X X a X + Footnote mixture X X X X X + Example mixture X X X X X + Highlights mixture X X X + Paragraph mixture X X X X + Admonition mixture X X X X X X b c + Figure mixture X X X + Table entry mixture X X X X d + Glossary def mixture X X X X X e + Legal notice mixture X X X X f + + a. Just Procedure; not Sidebar itself or MsgSet. + b. No MsgSet. + c. No Highlights. + d. Just Graphic; no other informal objects. + e. No Anchor, BridgeHead, or Highlights. + f. Just BlockQuote; no other informal objects. + --> + <xs:group name="component.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="compound.class"/> + <xs:group ref="genobj.class"/> + <xs:group ref="descobj.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="sidebar.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="procedure"/> + <xs:group ref="genobj.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="qandaset.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="procedure"/> + <xs:group ref="genobj.class"/> + <xs:element ref="ndxterm.class"/> + </xs:choice> + </xs:group> + <xs:group name="revdescription.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="procedure"/> + <xs:group ref="genobj.class"/> + <xs:element ref="ndxterm.class"/> + </xs:choice> + </xs:group> + <xs:group name="footnote.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + </xs:choice> + </xs:group> + <xs:group name="example.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + <xs:element ref="procedure"/> + </xs:choice> + </xs:group> + <xs:group name="highlights.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="para.class"/> + <xs:element ref="ndxterm.class"/> + </xs:choice> + </xs:group> + <!-- + %formal.class; is explicitly excluded from many contexts in which + paragraphs are used + --> + <xs:group name="para.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="sconstruct"/> + <xs:element ref="scons_example"/> + <xs:element ref="scons_example_file"/> + <xs:element ref="scons_output"/> + <xs:element ref="sconsdoc"/> + </xs:choice> + </xs:group> + <xs:group name="summary.mix"> + <xs:choice> + <xs:element ref="example_commands"/> + </xs:choice> + </xs:group> + <xs:group name="tool.mix"> + <xs:choice> + <xs:element ref="summary"/> + <xs:element ref="sets"/> + <xs:element ref="uses"/> + </xs:choice> + </xs:group> + <xs:group name="scons_function.mix"> + <xs:choice> + <xs:element ref="arguments"/> + <xs:element ref="summary"/> + <xs:element ref="sets"/> + <xs:element ref="uses"/> + </xs:choice> + </xs:group> + <xs:group name="admon.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="procedure"/> + <xs:element ref="sidebar"/> + <xs:element ref="anchor"/> + <xs:element ref="bridgehead"/> + <xs:element ref="remark"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="figure.mix"> + <xs:choice> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="tabentry.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="para.class"/> + <xs:element ref="graphic"/> + <xs:element ref="mediaobject"/> + </xs:choice> + </xs:group> + <xs:group name="glossdef.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:element ref="formal.class"/> + <xs:element ref="remark"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="legalnotice.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="para.class"/> + <xs:element ref="blockquote"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <xs:group name="textobject.mix"> + <xs:choice> + <xs:element ref="list.class"/> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="para.class"/> + <xs:element ref="blockquote"/> + </xs:choice> + </xs:group> + <xs:element name="mediaobject.mix" abstract="true"/> + <xs:group name="listpreamble.mix"> + <xs:choice> + <xs:element ref="admon.class"/> + <xs:element ref="linespecific.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="para.class"/> + <xs:element ref="informal.class"/> + <xs:group ref="genobj.class"/> + <xs:group ref="descobj.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:group> + <!-- Character-level mixtures ............................................. --> + <!-- sgml.features --> + <!-- not [sgml.features[ --> + <!-- ]] not sgml.features --> + <!-- + #PCD xref word link cptr base dnfo othr inob (synop) + para.char.mix X X X X X X X X X + title.char.mix X X X X X X X X X + ndxterm.char.mix X X X X X X X X a + cptr.char.mix X X X X X a + smallcptr.char.mix X b a + word.char.mix X c X X X a + docinfo.char.mix X d X b X a + + a. Just InlineGraphic; no InlineEquation. + b. Just Replaceable; no other computer terms. + c. Just Emphasis and Trademark; no other word elements. + d. Just Acronym, Emphasis, and Trademark; no other word elements. + --> + <xs:group name="para.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="xref.char.class"/> + <xs:element ref="gen.char.class"/> + <xs:element ref="link.char.class"/> + <xs:element ref="tech.char.class"/> + <xs:group ref="base.char.class"/> + <xs:element ref="docinfo.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlineobj.char.class"/> + <xs:element ref="synop.class"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:group name="title.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="xref.char.class"/> + <xs:element ref="gen.char.class"/> + <xs:element ref="link.char.class"/> + <xs:element ref="tech.char.class"/> + <xs:group ref="base.char.class"/> + <xs:element ref="docinfo.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlineobj.char.class"/> + <xs:element ref="ndxterm.class"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:group name="ndxterm.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="xref.char.class"/> + <xs:element ref="gen.char.class"/> + <xs:element ref="link.char.class"/> + <xs:element ref="tech.char.class"/> + <xs:group ref="base.char.class"/> + <xs:element ref="docinfo.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:group name="cptr.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="link.char.class"/> + <xs:element ref="tech.char.class"/> + <xs:group ref="base.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:group name="smallcptr.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="replaceable"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:group name="word.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="acronym"/> + <xs:element ref="emphasis"/> + <xs:element ref="trademark"/> + <xs:element ref="link.char.class"/> + <xs:group ref="base.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:element ref="ndxterm.class"/> + <xs:element ref="beginpage"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:group name="docinfo.char.mix"> + <xs:sequence> + <xs:choice minOccurs="0"> + <xs:element ref="link.char.class"/> + <xs:element ref="emphasis"/> + <xs:element ref="trademark"/> + <xs:element ref="replaceable"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:element ref="ndxterm.class"/> + </xs:choice> + </xs:sequence> + </xs:group> + <!-- ENTITY % bibliocomponent.mix (see Bibliographic section, below) --> + <!-- ENTITY % person.ident.mix (see Bibliographic section, below) --> + <!-- ...................................................................... --> + <!-- Entities for attributes and attribute components ..................... --> + <!-- Effectivity attributes ............................................... --> + <!-- + Arch: Computer or chip architecture to which element applies; no + default + --> + <xs:attributeGroup name="arch.attrib"> + <xs:attribute name="arch"/> + </xs:attributeGroup> + <!-- Condition: General-purpose effectivity attribute --> + <xs:attributeGroup name="condition.attrib"> + <xs:attribute name="condition"/> + </xs:attributeGroup> + <!-- Conformance: Standards conformance characteristics --> + <xs:attributeGroup name="conformance.attrib"> + <xs:attribute name="conformance" type="xs:NMTOKENS"/> + </xs:attributeGroup> + <!-- OS: Operating system to which element applies; no default --> + <xs:attributeGroup name="os.attrib"> + <xs:attribute name="os"/> + </xs:attributeGroup> + <!-- Revision: Editorial revision to which element belongs; no default --> + <xs:attributeGroup name="revision.attrib"> + <xs:attribute name="revision"/> + </xs:attributeGroup> + <!-- Security: Security classification; no default --> + <xs:attributeGroup name="security.attrib"> + <xs:attribute name="security"/> + </xs:attributeGroup> + <!-- + UserLevel: Level of user experience to which element applies; no + default + --> + <xs:attributeGroup name="userlevel.attrib"> + <xs:attribute name="userlevel"/> + </xs:attributeGroup> + <!-- Vendor: Computer vendor to which element applies; no default --> + <xs:attributeGroup name="vendor.attrib"> + <xs:attribute name="vendor"/> + </xs:attributeGroup> + <!-- Wordsize: Computer word size (32 bit, 64 bit, etc.); no default --> + <xs:attributeGroup name="wordsize.attrib"> + <xs:attribute name="wordsize"/> + </xs:attributeGroup> + <xs:attributeGroup name="effectivity.attrib"> + <xs:attributeGroup ref="arch.attrib"/> + <xs:attributeGroup ref="condition.attrib"/> + <xs:attributeGroup ref="conformance.attrib"/> + <xs:attributeGroup ref="os.attrib"/> + <xs:attributeGroup ref="revision.attrib"/> + <xs:attributeGroup ref="security.attrib"/> + <xs:attributeGroup ref="userlevel.attrib"/> + <xs:attributeGroup ref="vendor.attrib"/> + <xs:attributeGroup ref="wordsize.attrib"/> + </xs:attributeGroup> + <!-- Common attributes .................................................... --> + <!-- Id: Unique identifier of element; no default --> + <xs:attributeGroup name="id.attrib"> + <xs:attribute name="id" type="xs:ID"/> + </xs:attributeGroup> + <!-- + Id: Unique identifier of element; a value must be supplied; no + default + --> + <xs:attributeGroup name="idreq.attrib"> + <xs:attribute name="id" use="required" type="xs:ID"/> + </xs:attributeGroup> + <!-- + Lang: Indicator of language in which element is written, for + translation, character set management, etc.; no default + --> + <xs:attributeGroup name="lang.attrib"> + <xs:attribute name="lang"/> + </xs:attributeGroup> + <!-- Remap: Previous role of element before conversion; no default --> + <xs:attributeGroup name="remap.attrib"> + <xs:attribute name="remap"/> + </xs:attributeGroup> + <!-- Role: New role of element in local environment; no default --> + <xs:attributeGroup name="role.attrib"> + <xs:attribute name="role"/> + </xs:attributeGroup> + <!-- + XRefLabel: Alternate labeling string for XRef text generation; + default is usually title or other appropriate label text already + contained in element + --> + <xs:attributeGroup name="xreflabel.attrib"> + <xs:attribute name="xreflabel"/> + </xs:attributeGroup> + <!-- + RevisionFlag: Revision status of element; default is that element + wasn't revised + --> + <xs:attributeGroup name="revisionflag.attrib"> + <xs:attribute name="revisionflag"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="changed"/> + <xs:enumeration value="added"/> + <xs:enumeration value="deleted"/> + <xs:enumeration value="off"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:attributeGroup> + <!-- dir: Bidirectional override --> + <xs:attributeGroup name="dir.attrib"> + <xs:attribute name="dir"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="ltr"/> + <xs:enumeration value="rtl"/> + <xs:enumeration value="lro"/> + <xs:enumeration value="rlo"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:attributeGroup> + <!-- xml:base: base URI --> + <xs:attributeGroup name="xml-base.attrib"> + <xs:attribute ref="xml:base"/> + </xs:attributeGroup> + <!-- Role is included explicitly on each element --> + <xs:attributeGroup name="common.attrib"> + <xs:attributeGroup ref="id.attrib"/> + <xs:attributeGroup ref="lang.attrib"/> + <xs:attributeGroup ref="remap.attrib"/> + <xs:attributeGroup ref="xreflabel.attrib"/> + <xs:attributeGroup ref="revisionflag.attrib"/> + <xs:attributeGroup ref="effectivity.attrib"/> + <xs:attributeGroup ref="dir.attrib"/> + <xs:attributeGroup ref="xml-base.attrib"/> + </xs:attributeGroup> + <!-- Role is included explicitly on each element --> + <xs:attributeGroup name="idreq.common.attrib"> + <xs:attributeGroup ref="idreq.attrib"/> + <xs:attributeGroup ref="lang.attrib"/> + <xs:attributeGroup ref="remap.attrib"/> + <xs:attributeGroup ref="xreflabel.attrib"/> + <xs:attributeGroup ref="revisionflag.attrib"/> + <xs:attributeGroup ref="effectivity.attrib"/> + <xs:attributeGroup ref="dir.attrib"/> + <xs:attributeGroup ref="xml-base.attrib"/> + </xs:attributeGroup> + <!-- Semi-common attributes and other attribute entities .................. --> + <!-- + EntityRef: Name of an external entity containing the content + of the graphic + --> + <!-- + FileRef: Filename, qualified by a pathname if desired, + designating the file containing the content of the graphic + --> + <!-- Format: Notation of the element content, if any --> + <!-- SrcCredit: Information about the source of the Graphic --> + <!-- Width: Same as CALS reprowid (desired width) --> + <!-- Depth: Same as CALS reprodep (desired depth) --> + <!-- + Align: Same as CALS hplace with 'none' removed; #IMPLIED means + application-specific + --> + <!-- Scale: Conflation of CALS hscale and vscale --> + <!-- Scalefit: Same as CALS scalefit --> + <xs:attributeGroup name="graphics.attrib"> + <xs:attribute name="entityref" type="xs:ENTITY"/> + <xs:attribute name="fileref"/> + <xs:attribute name="format" type="notation.class"/> + <xs:attribute name="srccredit"/> + <xs:attribute name="width"/> + <xs:attribute name="contentwidth"/> + <xs:attribute name="depth"/> + <xs:attribute name="contentdepth"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="scale"/> + <xs:attribute name="scalefit" type="yesorno.attvals"/> + </xs:attributeGroup> + <!-- + Action: Key combination type; default is unspecified if one + child element, Simul if there is more than one; if value is + Other, the OtherAction attribute must have a nonempty value + --> + <!-- OtherAction: User-defined key combination type --> + <xs:attributeGroup name="keyaction.attrib"> + <xs:attribute name="action"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="click"/> + <xs:enumeration value="double-click"/> + <xs:enumeration value="press"/> + <xs:enumeration value="seq"/> + <xs:enumeration value="simul"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otheraction"/> + </xs:attributeGroup> + <!-- + Label: Identifying number or string; default is usually the + appropriate number or string autogenerated by a formatter + --> + <xs:attributeGroup name="label.attrib"> + <xs:attribute name="label"/> + </xs:attributeGroup> + <!-- xml:space: whitespace treatment --> + <xs:attributeGroup name="xml-space.attrib"> + <xs:attribute ref="xml:space"/> + </xs:attributeGroup> + <!-- + Format: whether element is assumed to contain significant white + space + --> + <xs:attributeGroup name="linespecific.attrib"> + <xs:attribute name="format" default="linespecific"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="linespecific"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="xml-space.attrib"/> + <xs:attribute name="linenumbering"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="numbered"/> + <xs:enumeration value="unnumbered"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="continuation"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="continues"/> + <xs:enumeration value="restarts"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="startinglinenumber"/> + <xs:attribute name="language"/> + </xs:attributeGroup> + <!-- Linkend: link to related information; no default --> + <xs:attributeGroup name="linkend.attrib"> + <xs:attribute name="linkend" type="xs:IDREF"/> + </xs:attributeGroup> + <!-- Linkend: required link to related information --> + <xs:attributeGroup name="linkendreq.attrib"> + <xs:attribute name="linkend" use="required" type="xs:IDREF"/> + </xs:attributeGroup> + <!-- + Linkends: link to one or more sets of related information; no + default + --> + <xs:attributeGroup name="linkends.attrib"> + <xs:attribute name="linkends" type="xs:IDREFS"/> + </xs:attributeGroup> + <xs:attributeGroup name="mark.attrib"> + <xs:attribute name="mark"/> + </xs:attributeGroup> + <!-- MoreInfo: whether element's content has an associated RefEntry --> + <xs:attributeGroup name="moreinfo.attrib"> + <xs:attribute name="moreinfo" default="none"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="refentry"/> + <xs:enumeration value="none"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:attributeGroup> + <!-- Pagenum: number of page on which element appears; no default --> + <xs:attributeGroup name="pagenum.attrib"> + <xs:attribute name="pagenum"/> + </xs:attributeGroup> + <!-- + Status: Editorial or publication status of the element + it applies to, such as "in review" or "approved for distribution" + --> + <xs:attributeGroup name="status.attrib"> + <xs:attribute name="status"/> + </xs:attributeGroup> + <!-- + Width: width of the longest line in the element to which it + pertains, in number of characters + --> + <xs:attributeGroup name="width.attrib"> + <xs:attribute name="width"/> + </xs:attributeGroup> + <!-- ...................................................................... --> + <!-- Title elements ....................................................... --> + <xs:attributeGroup name="title.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The text of the title of a section of a document or of a formal block-level element. --> + <xs:element name="title"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="title.char.mix"/> + <xs:attributeGroup ref="title.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of title.element --> + <xs:attributeGroup name="title.attlist"> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="title.role.attrib"/> + </xs:attributeGroup> + <!-- end of title.attlist --> + <!-- end of title.module --> + <xs:attributeGroup name="titleabbrev.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The abbreviation of a Title. --> + <xs:element name="titleabbrev"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="title.char.mix"/> + <xs:attributeGroup ref="titleabbrev.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of titleabbrev.element --> + <xs:attributeGroup name="titleabbrev.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="titleabbrev.role.attrib"/> + </xs:attributeGroup> + <!-- end of titleabbrev.attlist --> + <!-- end of titleabbrev.module --> + <xs:attributeGroup name="subtitle.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The subtitle of a document. --> + <xs:element name="subtitle"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="title.char.mix"/> + <xs:attributeGroup ref="subtitle.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of subtitle.element --> + <xs:attributeGroup name="subtitle.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="subtitle.role.attrib"/> + </xs:attributeGroup> + <!-- end of subtitle.attlist --> + <!-- end of subtitle.module --> + <!-- ...................................................................... --> + <!-- Bibliographic entities and elements .................................. --> + <!-- + The bibliographic elements are typically used in the document + hierarchy. They do not appear in content models of information + pool elements. See also the document information elements, + below. + --> + <xs:group name="person.ident.mix"> + <xs:choice> + <xs:element ref="honorific"/> + <xs:element ref="firstname"/> + <xs:element ref="surname"/> + <xs:element ref="lineage"/> + <xs:element ref="othername"/> + <xs:element ref="affiliation"/> + <xs:element ref="authorblurb"/> + <xs:element ref="contrib"/> + </xs:choice> + </xs:group> + <xs:group name="bibliocomponent.mix"> + <xs:choice> + <xs:element ref="abbrev"/> + <xs:element ref="abstract"/> + <xs:element ref="address"/> + <xs:element ref="artpagenums"/> + <xs:element ref="author"/> + <xs:element ref="authorgroup"/> + <xs:element ref="authorinitials"/> + <xs:element ref="bibliomisc"/> + <xs:element ref="biblioset"/> + <xs:element ref="collab"/> + <xs:element ref="confgroup"/> + <xs:element ref="contractnum"/> + <xs:element ref="contractsponsor"/> + <xs:element ref="copyright"/> + <xs:element ref="corpauthor"/> + <xs:element ref="corpname"/> + <xs:element ref="corpcredit"/> + <xs:element ref="date"/> + <xs:element ref="edition"/> + <xs:element ref="editor"/> + <xs:element ref="invpartnumber"/> + <xs:element ref="isbn"/> + <xs:element ref="issn"/> + <xs:element ref="issuenum"/> + <xs:element ref="orgname"/> + <xs:element ref="biblioid"/> + <xs:element ref="citebiblioid"/> + <xs:element ref="bibliosource"/> + <xs:element ref="bibliorelation"/> + <xs:element ref="bibliocoverage"/> + <xs:element ref="othercredit"/> + <xs:element ref="pagenums"/> + <xs:element ref="printhistory"/> + <xs:element ref="productname"/> + <xs:element ref="productnumber"/> + <xs:element ref="pubdate"/> + <xs:element ref="publisher"/> + <xs:element ref="publishername"/> + <xs:element ref="pubsnumber"/> + <xs:element ref="releaseinfo"/> + <xs:element ref="revhistory"/> + <xs:element ref="seriesvolnums"/> + <xs:element ref="subtitle"/> + <xs:element ref="title"/> + <xs:element ref="titleabbrev"/> + <xs:element ref="volumenum"/> + <xs:element ref="citetitle"/> + <xs:element ref="personname"/> + <xs:group ref="person.ident.mix"/> + <xs:element ref="ndxterm.class"/> + </xs:choice> + </xs:group> + <!-- I don't think this is well placed, but it needs to be here because of --> + <!-- the reference to bibliocomponent.mix --> + <xs:group name="info.class"> + <xs:choice> + <xs:element ref="graphic"/> + <xs:element ref="mediaobject"/> + <xs:element ref="legalnotice"/> + <xs:element ref="modespec"/> + <xs:element ref="subjectset"/> + <xs:element ref="keywordset"/> + <xs:element ref="itermset"/> + <xs:group ref="bibliocomponent.mix"/> + </xs:choice> + </xs:group> + <!-- BiblioList ........................ --> + <xs:attributeGroup name="bibliolist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for a set of bibliography entries. --> + <xs:element name="bibliolist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="biblioentry"/> + <xs:element ref="bibliomixed"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="bibliolist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliolist.element --> + <xs:attributeGroup name="bibliolist.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliolist.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliolist.attlist --> + <!-- end of bibliolist.module --> + <xs:attributeGroup name="biblioentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a Bibliography. --> + <xs:element name="biblioentry"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="articleinfo"/> + <xs:group ref="bibliocomponent.mix"/> + </xs:choice> + <xs:attributeGroup ref="biblioentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of biblioentry.element --> + <xs:attributeGroup name="biblioentry.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="biblioentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of biblioentry.attlist --> + <!-- end of biblioentry.module --> + <xs:attributeGroup name="bibliomixed.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a Bibliography. --> + <xs:element name="bibliomixed"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="bibliocomponent.mix"/> + <xs:element ref="bibliomset"/> + </xs:choice> + <xs:attributeGroup ref="bibliomixed.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliomixed.element --> + <xs:attributeGroup name="bibliomixed.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliomixed.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliomixed.attlist --> + <!-- end of bibliomixed.module --> + <xs:attributeGroup name="articleinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for an Article. --> + <xs:element name="articleinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="articleinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of articleinfo.element --> + <xs:attributeGroup name="articleinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="articleinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of articleinfo.attlist --> + <!-- end of articleinfo.module --> + <xs:attributeGroup name="biblioset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A "raw" container for related bibliographic information. --> + <xs:element name="biblioset"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="bibliocomponent.mix"/> + <xs:attributeGroup ref="biblioset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of biblioset.element --> + <!-- Relation: Relationship of elements contained within BiblioSet --> + <xs:attributeGroup name="biblioset.attlist"> + <xs:attribute name="relation"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="biblioset.role.attrib"/> + </xs:attributeGroup> + <!-- end of biblioset.attlist --> + <!-- end of biblioset.module --> + <xs:attributeGroup name="bibliomset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A "cooked" container for related bibliographic information. --> + <xs:element name="bibliomset"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="bibliocomponent.mix"/> + <xs:element ref="bibliomset"/> + </xs:choice> + <xs:attributeGroup ref="bibliomset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliomset.element --> + <!-- Relation: Relationship of elements contained within BiblioMSet --> + <xs:attributeGroup name="bibliomset.attlist"> + <xs:attribute name="relation"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliomset.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliomset.attlist --> + <!-- end of bibliomset.module --> + <xs:attributeGroup name="bibliomisc.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Untyped bibliographic information. --> + <xs:element name="bibliomisc"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="bibliomisc.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliomisc.element --> + <xs:attributeGroup name="bibliomisc.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliomisc.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliomisc.attlist --> + <!-- end of bibliomisc.module --> + <!-- ...................................................................... --> + <!-- Subject, Keyword, and ITermSet elements .............................. --> + <xs:attributeGroup name="subjectset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A set of terms describing the subject matter of a document. --> + <xs:element name="subjectset"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="subject"/> + </xs:sequence> + <xs:attributeGroup ref="subjectset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of subjectset.element --> + <!-- Scheme: Controlled vocabulary employed in SubjectTerms --> + <xs:attributeGroup name="subjectset.attlist"> + <xs:attribute name="scheme" type="xs:NMTOKEN"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="subjectset.role.attrib"/> + </xs:attributeGroup> + <!-- end of subjectset.attlist --> + <!-- end of subjectset.module --> + <xs:attributeGroup name="subject.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:One of a group of terms describing the subject matter of a document. --> + <xs:element name="subject"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="subjectterm"/> + </xs:sequence> + <xs:attributeGroup ref="subject.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of subject.element --> + <!-- + Weight: Ranking of this group of SubjectTerms relative + to others, 0 is low, no highest value specified + --> + <xs:attributeGroup name="subject.attlist"> + <xs:attribute name="weight"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="subject.role.attrib"/> + </xs:attributeGroup> + <!-- end of subject.attlist --> + <!-- end of subject.module --> + <xs:attributeGroup name="subjectterm.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A term in a group of terms describing the subject matter of a document. --> + <xs:element name="subjectterm"> + <xs:complexType mixed="true"> + <xs:attributeGroup ref="subjectterm.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of subjectterm.element --> + <xs:attributeGroup name="subjectterm.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="subjectterm.role.attrib"/> + </xs:attributeGroup> + <!-- end of subjectterm.attlist --> + <!-- end of subjectterm.module --> + <!-- end of subjectset.content.module --> + <xs:attributeGroup name="keywordset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A set of keywords describing the content of a document. --> + <xs:element name="keywordset"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="keyword"/> + </xs:sequence> + <xs:attributeGroup ref="keywordset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of keywordset.element --> + <xs:attributeGroup name="keywordset.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="keywordset.role.attrib"/> + </xs:attributeGroup> + <!-- end of keywordset.attlist --> + <!-- end of keywordset.module --> + <xs:attributeGroup name="keyword.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:One of a set of keywords describing the content of a document. --> + <xs:element name="keyword"> + <xs:complexType mixed="true"> + <xs:attributeGroup ref="keyword.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of keyword.element --> + <xs:attributeGroup name="keyword.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="keyword.role.attrib"/> + </xs:attributeGroup> + <!-- end of keyword.attlist --> + <!-- end of keyword.module --> + <!-- end of keywordset.content.module --> + <xs:attributeGroup name="itermset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A set of index terms in the meta-information of a document. --> + <xs:element name="itermset"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="indexterm"/> + </xs:sequence> + <xs:attributeGroup ref="itermset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of itermset.element --> + <xs:attributeGroup name="itermset.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="itermset.role.attrib"/> + </xs:attributeGroup> + <!-- end of itermset.attlist --> + <!-- end of itermset.module --> + <!-- Bibliographic info for "blocks" --> + <xs:attributeGroup name="blockinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a block element. --> + <xs:element name="blockinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="blockinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of blockinfo.element --> + <xs:attributeGroup name="blockinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="blockinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of blockinfo.attlist --> + <!-- end of blockinfo.module --> + <!-- ...................................................................... --> + <!-- Compound (section-ish) elements ...................................... --> + <!-- Message set ...................... --> + <xs:attributeGroup name="msgset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A detailed set of messages, usually error messages. --> + <xs:element name="msgset" substitutionGroup="compound.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="msgentry"/> + <xs:element maxOccurs="unbounded" ref="simplemsgentry"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="msgset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgset.element --> + <xs:attributeGroup name="msgset.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgset.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgset.attlist --> + <!-- end of msgset.module --> + <xs:attributeGroup name="msgentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for an entry in a message set. --> + <xs:element name="msgentry"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="msg"/> + <xs:element minOccurs="0" ref="msginfo"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="msgexplan"/> + </xs:sequence> + <xs:attributeGroup ref="msgentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgentry.element --> + <xs:attributeGroup name="msgentry.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgentry.attlist --> + <!-- end of msgentry.module --> + <xs:attributeGroup name="simplemsgentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for a simpler entry in a message set. --> + <xs:element name="simplemsgentry"> + <xs:complexType> + <xs:sequence> + <xs:element ref="msgtext"/> + <xs:element maxOccurs="unbounded" ref="msgexplan"/> + </xs:sequence> + <xs:attributeGroup ref="simplemsgentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of simplemsgentry.element --> + <xs:attributeGroup name="simplemsgentry.attlist"> + <xs:attribute name="audience"/> + <xs:attribute name="level"/> + <xs:attribute name="origin"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="simplemsgentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of simplemsgentry.attlist --> + <!-- end of simplemsgentry.module --> + <xs:attributeGroup name="msg.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A message in a message set. --> + <xs:element name="msg"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:element ref="msgmain"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="msgsub"/> + <xs:element ref="msgrel"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="msg.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msg.element --> + <xs:attributeGroup name="msg.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msg.role.attrib"/> + </xs:attributeGroup> + <!-- end of msg.attlist --> + <!-- end of msg.module --> + <xs:attributeGroup name="msgmain.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The primary component of a message in a message set. --> + <xs:element name="msgmain"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:element ref="msgtext"/> + </xs:sequence> + <xs:attributeGroup ref="msgmain.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgmain.element --> + <xs:attributeGroup name="msgmain.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgmain.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgmain.attlist --> + <!-- end of msgmain.module --> + <xs:attributeGroup name="msgsub.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subcomponent of a message in a message set. --> + <xs:element name="msgsub"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:element ref="msgtext"/> + </xs:sequence> + <xs:attributeGroup ref="msgsub.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgsub.element --> + <xs:attributeGroup name="msgsub.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgsub.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgsub.attlist --> + <!-- end of msgsub.module --> + <xs:attributeGroup name="msgrel.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A related component of a message in a message set. --> + <xs:element name="msgrel"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:element ref="msgtext"/> + </xs:sequence> + <xs:attributeGroup ref="msgrel.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgrel.element --> + <xs:attributeGroup name="msgrel.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgrel.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgrel.attlist --> + <!-- end of msgrel.module --> + <!-- MsgText (defined in the Inlines section, below) --> + <xs:attributeGroup name="msginfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Information about a message in a message set. --> + <xs:element name="msginfo"> + <xs:complexType> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="msglevel"/> + <xs:element ref="msgorig"/> + <xs:element ref="msgaud"/> + </xs:choice> + <xs:attributeGroup ref="msginfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msginfo.element --> + <xs:attributeGroup name="msginfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msginfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of msginfo.attlist --> + <!-- end of msginfo.module --> + <xs:attributeGroup name="msglevel.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The level of importance or severity of a message in a message set. --> + <xs:element name="msglevel"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="msglevel.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msglevel.element --> + <xs:attributeGroup name="msglevel.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msglevel.role.attrib"/> + </xs:attributeGroup> + <!-- end of msglevel.attlist --> + <!-- end of msglevel.module --> + <xs:attributeGroup name="msgorig.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The origin of a message in a message set. --> + <xs:element name="msgorig"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="msgorig.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgorig.element --> + <xs:attributeGroup name="msgorig.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgorig.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgorig.attlist --> + <!-- end of msgorig.module --> + <xs:attributeGroup name="msgaud.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The audience to which a message in a message set is relevant. --> + <xs:element name="msgaud"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="msgaud.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgaud.element --> + <xs:attributeGroup name="msgaud.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgaud.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgaud.attlist --> + <!-- end of msgaud.module --> + <xs:attributeGroup name="msgexplan.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Explanatory material relating to a message in a message set. --> + <xs:element name="msgexplan"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + </xs:sequence> + <xs:attributeGroup ref="msgexplan.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgexplan.element --> + <xs:attributeGroup name="msgexplan.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgexplan.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgexplan.attlist --> + <!-- end of msgexplan.module --> + <!-- end of msgset.content.module --> + <xs:attributeGroup name="task.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A task to be completed. --> + <xs:element name="task" substitutionGroup="compound.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="ndxterm.class"/> + <xs:group ref="formalobject.title.content"/> + <xs:element minOccurs="0" ref="tasksummary"/> + <xs:element minOccurs="0" ref="taskprerequisites"/> + <xs:element ref="procedure"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="example"/> + <xs:element minOccurs="0" ref="taskrelated"/> + </xs:sequence> + <xs:attributeGroup ref="task.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of task.element --> + <xs:attributeGroup name="task.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="task.role.attrib"/> + </xs:attributeGroup> + <!-- end of task.attlist --> + <!-- end of task.module --> + <xs:attributeGroup name="tasksummary.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A summary of a task. --> + <xs:element name="tasksummary"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + </xs:sequence> + <xs:attributeGroup ref="tasksummary.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tasksummary.element --> + <xs:attributeGroup name="tasksummary.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="tasksummary.role.attrib"/> + </xs:attributeGroup> + <!-- end of tasksummary.attlist --> + <!-- end of tasksummary.module --> + <xs:attributeGroup name="taskprerequisites.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The prerequisites for a task. --> + <xs:element name="taskprerequisites"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + </xs:sequence> + <xs:attributeGroup ref="taskprerequisites.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of taskprerequisites.element --> + <xs:attributeGroup name="taskprerequisites.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="taskprerequisites.role.attrib"/> + </xs:attributeGroup> + <!-- end of taskprerequisites.attlist --> + <!-- end of taskprerequisites.module --> + <xs:attributeGroup name="taskrelated.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Information related to a task. --> + <xs:element name="taskrelated"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + </xs:sequence> + <xs:attributeGroup ref="taskrelated.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of taskrelated.element --> + <xs:attributeGroup name="taskrelated.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="taskrelated.role.attrib"/> + </xs:attributeGroup> + <!-- end of taskrelated.attlist --> + <!-- end of taskrelated.module --> + <!-- end of task.content.module --> + <!-- QandASet ........................ --> + <xs:attributeGroup name="qandaset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A question-and-answer set. --> + <xs:element name="qandaset" substitutionGroup="compound.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="qandaset.mix"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="qandadiv"/> + <xs:element maxOccurs="unbounded" ref="qandaentry"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="qandaset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of qandaset.element --> + <xs:attributeGroup name="qandaset.attlist"> + <xs:attribute name="defaultlabel"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="qanda"/> + <xs:enumeration value="number"/> + <xs:enumeration value="none"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="qandaset.role.attrib"/> + </xs:attributeGroup> + <!-- end of qandaset.attlist --> + <!-- end of qandaset.module --> + <xs:attributeGroup name="qandadiv.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A titled division in a QandASet. --> + <xs:element name="qandadiv"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="qandaset.mix"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="qandadiv"/> + <xs:element maxOccurs="unbounded" ref="qandaentry"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="qandadiv.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of qandadiv.element --> + <xs:attributeGroup name="qandadiv.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="qandadiv.role.attrib"/> + </xs:attributeGroup> + <!-- end of qandadiv.attlist --> + <!-- end of qandadiv.module --> + <xs:attributeGroup name="qandaentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A question/answer set within a QandASet. --> + <xs:element name="qandaentry"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:element minOccurs="0" ref="revhistory"/> + <xs:element ref="question"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="answer"/> + </xs:sequence> + <xs:attributeGroup ref="qandaentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of qandaentry.element --> + <xs:attributeGroup name="qandaentry.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="qandaentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of qandaentry.attlist --> + <!-- end of qandaentry.module --> + <xs:attributeGroup name="question.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A question in a QandASet. --> + <xs:element name="question"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="label"/> + <xs:group maxOccurs="unbounded" ref="qandaset.mix"/> + </xs:sequence> + <xs:attributeGroup ref="question.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of question.element --> + <xs:attributeGroup name="question.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="question.role.attrib"/> + </xs:attributeGroup> + <!-- end of question.attlist --> + <!-- end of question.module --> + <xs:attributeGroup name="answer.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An answer to a question posed in a QandASet. --> + <xs:element name="answer"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="label"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="qandaset.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="qandaentry"/> + </xs:sequence> + <xs:attributeGroup ref="answer.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of answer.element --> + <xs:attributeGroup name="answer.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="answer.role.attrib"/> + </xs:attributeGroup> + <!-- end of answer.attlist --> + <!-- end of answer.module --> + <xs:attributeGroup name="label.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A label on a Question or Answer. --> + <xs:element name="label"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="word.char.mix"/> + <xs:attributeGroup ref="label.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of label.element --> + <xs:attributeGroup name="label.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="label.role.attrib"/> + </xs:attributeGroup> + <!-- end of label.attlist --> + <!-- end of label.module --> + <!-- end of qandaset.content.module --> + <!-- Procedure ........................ --> + <xs:attributeGroup name="procedure.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list of operations to be performed in a well-defined sequence. --> + <xs:element name="procedure" substitutionGroup="compound.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + <xs:element maxOccurs="unbounded" ref="step"/> + </xs:sequence> + <xs:attributeGroup ref="procedure.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of procedure.element --> + <xs:attributeGroup name="procedure.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="procedure.role.attrib"/> + </xs:attributeGroup> + <!-- end of procedure.attlist --> + <!-- end of procedure.module --> + <xs:attributeGroup name="step.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A unit of action in a procedure. --> + <xs:element name="step"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:choice> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + <xs:sequence minOccurs="0"> + <xs:choice> + <xs:element ref="substeps"/> + <xs:element ref="stepalternatives"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + </xs:sequence> + </xs:sequence> + <xs:sequence> + <xs:choice> + <xs:element ref="substeps"/> + <xs:element ref="stepalternatives"/> + </xs:choice> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="component.mix"/> + </xs:sequence> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="step.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of step.element --> + <!-- Performance: Whether the Step must be performed --> + <!-- not #REQUIRED! --> + <xs:attributeGroup name="step.attlist"> + <xs:attribute name="performance" default="required"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="optional"/> + <xs:enumeration value="required"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="step.role.attrib"/> + </xs:attributeGroup> + <!-- end of step.attlist --> + <!-- end of step.module --> + <xs:attributeGroup name="substeps.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for steps that occur within steps in a procedure. --> + <xs:element name="substeps"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="step"/> + </xs:sequence> + <xs:attributeGroup ref="substeps.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of substeps.element --> + <!-- Performance: whether entire set of substeps must be performed --> + <!-- not #REQUIRED! --> + <xs:attributeGroup name="substeps.attlist"> + <xs:attribute name="performance" default="required"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="optional"/> + <xs:enumeration value="required"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="substeps.role.attrib"/> + </xs:attributeGroup> + <!-- end of substeps.attlist --> + <!-- end of substeps.module --> + <xs:attributeGroup name="stepalternatives.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Alternative steps in a procedure. --> + <xs:element name="stepalternatives"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="step"/> + </xs:sequence> + <xs:attributeGroup ref="stepalternatives.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of stepalternatives.element --> + <!-- Performance: Whether (one of) the alternatives must be performed --> + <!-- not #REQUIRED! --> + <xs:attributeGroup name="stepalternatives.attlist"> + <xs:attribute name="performance" default="required"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="optional"/> + <xs:enumeration value="required"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="stepalternatives.role.attrib"/> + </xs:attributeGroup> + <!-- end of stepalternatives.attlist --> + <!-- end of stepalternatives.module --> + <!-- end of procedure.content.module --> + <!-- Sidebar .......................... --> + <xs:attributeGroup name="sidebarinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for a Sidebar. --> + <xs:element name="sidebarinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="sidebarinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sidebarinfo.element --> + <xs:attributeGroup name="sidebarinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sidebarinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of sidebarinfo.attlist --> + <!-- end of sidebarinfo.module --> + <xs:attributeGroup name="sidebar.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A portion of a document that is isolated from the main narrative flow. --> + <xs:element name="sidebar" substitutionGroup="compound.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="sidebarinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group maxOccurs="unbounded" ref="sidebar.mix"/> + </xs:sequence> + <xs:attributeGroup ref="sidebar.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sidebar.element --> + <xs:attributeGroup name="sidebar.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sidebar.role.attrib"/> + </xs:attributeGroup> + <!-- end of sidebar.attlist --> + <!-- end of sidebar.module --> + <!-- end of sidebar.content.model --> + <!-- ...................................................................... --> + <!-- Paragraph-related elements ........................................... --> + <xs:attributeGroup name="abstract.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A summary. --> + <xs:element name="abstract"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:element maxOccurs="unbounded" ref="para.class"/> + </xs:sequence> + <xs:attributeGroup ref="abstract.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of abstract.element --> + <xs:attributeGroup name="abstract.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="abstract.role.attrib"/> + </xs:attributeGroup> + <!-- end of abstract.attlist --> + <!-- end of abstract.module --> + <xs:attributeGroup name="authorblurb.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A short description or note about an author. --> + <xs:element name="authorblurb"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:element maxOccurs="unbounded" ref="para.class"/> + </xs:sequence> + <xs:attributeGroup ref="authorblurb.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of authorblurb.element --> + <xs:attributeGroup name="authorblurb.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="authorblurb.role.attrib"/> + </xs:attributeGroup> + <!-- end of authorblurb.attlist --> + <!-- end of authorblurb.module --> + <xs:attributeGroup name="personblurb.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A short description or note about a person. --> + <xs:element name="personblurb"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:element maxOccurs="unbounded" ref="para.class"/> + </xs:sequence> + <xs:attributeGroup ref="personblurb.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of personblurb.element --> + <xs:attributeGroup name="personblurb.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="personblurb.role.attrib"/> + </xs:attributeGroup> + <!-- end of personblurb.attlist --> + <!-- end of personblurb.module --> + <xs:attributeGroup name="blockquote.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A quotation set off from the main text. --> + <xs:element name="blockquote" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:element minOccurs="0" ref="title"/> + <xs:element minOccurs="0" ref="attribution"/> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + </xs:sequence> + <xs:attributeGroup ref="blockquote.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of blockquote.element --> + <xs:attributeGroup name="blockquote.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="blockquote.role.attrib"/> + </xs:attributeGroup> + <!-- end of blockquote.attlist --> + <!-- end of blockquote.module --> + <xs:attributeGroup name="attribution.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The source of a block quote or epigraph. --> + <xs:element name="attribution"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="attribution.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of attribution.element --> + <xs:attributeGroup name="attribution.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="attribution.role.attrib"/> + </xs:attributeGroup> + <!-- end of attribution.attlist --> + <!-- end of attribution.module --> + <xs:attributeGroup name="bridgehead.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A free-floating heading. --> + <xs:element name="bridgehead"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="title.char.mix"/> + <xs:attributeGroup ref="bridgehead.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bridgehead.element --> + <!-- + Renderas: Indicates the format in which the BridgeHead + should appear + --> + <xs:attributeGroup name="bridgehead.attlist"> + <xs:attribute name="renderas"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="other"/> + <xs:enumeration value="sect1"/> + <xs:enumeration value="sect2"/> + <xs:enumeration value="sect3"/> + <xs:enumeration value="sect4"/> + <xs:enumeration value="sect5"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bridgehead.role.attrib"/> + </xs:attributeGroup> + <!-- end of bridgehead.attlist --> + <!-- end of bridgehead.module --> + <xs:attributeGroup name="remark.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A remark (or comment) intended for presentation in a draft manuscript. --> + <xs:element name="remark"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="remark.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of remark.element --> + <xs:attributeGroup name="remark.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="remark.role.attrib"/> + </xs:attributeGroup> + <!-- end of remark.attlist --> + <!-- end of remark.module --> + <xs:attributeGroup name="epigraph.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A short inscription at the beginning of a document or component. --> + <xs:element name="epigraph"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="attribution"/> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="para.class"/> + <xs:element ref="literallayout"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="epigraph.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of epigraph.element --> + <xs:attributeGroup name="epigraph.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="epigraph.role.attrib"/> + </xs:attributeGroup> + <!-- end of epigraph.attlist --> + <!-- Attribution (defined above) --> + <!-- end of epigraph.module --> + <xs:attributeGroup name="footnote.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A footnote. --> + <xs:element name="footnote" substitutionGroup="gen.char.class"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="footnote.mix"/> + <xs:attributeGroup ref="footnote.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of footnote.element --> + <xs:attributeGroup name="footnote.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="footnote.role.attrib"/> + </xs:attributeGroup> + <!-- end of footnote.attlist --> + <!-- end of footnote.module --> + <xs:attributeGroup name="highlights.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A summary of the main points of the discussed component. --> + <xs:element name="highlights"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="highlights.mix"/> + <xs:attributeGroup ref="highlights.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of highlights.element --> + <xs:attributeGroup name="highlights.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="highlights.role.attrib"/> + </xs:attributeGroup> + <!-- end of highlights.attlist --> + <!-- end of highlights.module --> + <xs:attributeGroup name="formalpara.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A paragraph with a title. --> + <xs:element name="formalpara" substitutionGroup="para.class"> + <xs:complexType> + <xs:sequence> + <xs:element ref="title"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="ndxterm.class"/> + <xs:element ref="para"/> + </xs:sequence> + <xs:attributeGroup ref="formalpara.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of formalpara.element --> + <xs:attributeGroup name="formalpara.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="formalpara.role.attrib"/> + </xs:attributeGroup> + <!-- end of formalpara.attlist --> + <!-- end of formalpara.module --> + <xs:attributeGroup name="para.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A paragraph. --> + <xs:element name="para" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:group ref="para.mix"/> + </xs:choice> + <xs:attributeGroup ref="para.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of para.element --> + <xs:attributeGroup name="para.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="para.role.attrib"/> + </xs:attributeGroup> + <!-- end of para.attlist --> + <!-- end of para.module --> + <xs:attributeGroup name="simpara.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A paragraph that contains only text and inline markup, no block elements. --> + <xs:element name="simpara" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="simpara.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of simpara.element --> + <xs:attributeGroup name="simpara.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="simpara.role.attrib"/> + </xs:attributeGroup> + <!-- end of simpara.attlist --> + <!-- end of simpara.module --> + <xs:attributeGroup name="sconstruct.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An SConstruct example file. --> + <xs:element name="sconstruct" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="lineannotation"/> + <xs:element ref="textobject"/> + </xs:choice> + <xs:attributeGroup ref="sconstruct.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sconstruct.element --> + <xs:attributeGroup name="sconstruct.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sconstruct.role.attrib"/> + </xs:attributeGroup> + <!-- end of sconstruct.attlist --> + <!-- end of sconstruct.module --> + <xs:attributeGroup name="scons_example.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An SCons example. --> + <xs:element name="scons_example" substitutionGroup="linespecific.class"> + <xs:complexType> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="file"/> + <xs:element ref="directory"/> + </xs:choice> + <xs:attributeGroup ref="scons_example.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of scons_example.element --> + <xs:attributeGroup name="scons_example.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="scons_example.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + <xs:attribute name="printme" type="xs:int" use="optional" /> + </xs:attributeGroup> + <!-- end of scons_example.attlist --> + <!-- end of scons_example.module --> + <xs:attributeGroup name="file.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An SCons example file. --> + <xs:element name="file" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="lineannotation"/> + <xs:element ref="textobject"/> + </xs:choice> + <xs:attributeGroup ref="file.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of file.element --> + <xs:attributeGroup name="file.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="file.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + <xs:attribute name="example" type="xs:string" use="optional" /> + <xs:attribute name="chmod" type="xs:string" use="optional" /> + <xs:attribute name="printme" type="xs:int" use="optional" /> + </xs:attributeGroup> + <!-- end of file.attlist --> + <!-- end of file.module --> + <xs:attributeGroup name="directory.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An SCons example directory. --> + <xs:element name="directory" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="lineannotation"/> + <xs:element ref="textobject"/> + </xs:choice> + <xs:attributeGroup ref="directory.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of directory.element --> + <xs:attributeGroup name="directory.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="directory.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + </xs:attributeGroup> + <!-- end of directory.attlist --> + <!-- end of directory.module --> + <xs:attributeGroup name="scons_example_file.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A SCons example file. --> + <xs:element name="scons_example_file" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="lineannotation"/> + <xs:element ref="textobject"/> + </xs:choice> + <xs:attributeGroup ref="scons_example_file.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of scons_example_file.element --> + <xs:attributeGroup name="scons_example_file.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="scons_example_file.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + <xs:attribute name="example" type="xs:string" use="required" /> + </xs:attributeGroup> + <!-- end of scons_example_file.attlist --> + <!-- end of scons_example_file.module --> + <xs:attributeGroup name="scons_output.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The output of a SCons command/example. --> + <xs:element name="scons_output" substitutionGroup="linespecific.class"> + <xs:complexType> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="scons_output_command"/> + </xs:choice> + <xs:attributeGroup ref="scons_output.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of scons_output.element --> + <xs:attributeGroup name="scons_output.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="scons_output.role.attrib"/> + <xs:attribute name="name" type="xs:string" /> + <xs:attribute name="tools" type="xs:string" /> + <xs:attribute name="example" type="xs:string" use="required" /> + <xs:attribute name="suffix" type="xs:string" use="required" /> + </xs:attributeGroup> + <!-- end of scons_output.attlist --> + <!-- end of scons_output.module --> + <xs:attributeGroup name="scons_output_command.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A SCons example file. --> + <xs:element name="scons_output_command" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="lineannotation"/> + <xs:element ref="textobject"/> + </xs:choice> + <xs:attributeGroup ref="scons_output_command.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of scons_output_command.element --> + <xs:attributeGroup name="scons_output_command.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="scons_output_command.role.attrib"/> + <xs:attribute name="edit" type="xs:string" use="optional" /> + <xs:attribute name="environment" type="xs:string" use="optional" /> + <xs:attribute name="output" type="xs:string" use="optional" /> + </xs:attributeGroup> + <!-- end of scons_output_command.attlist --> + <!-- end of scons_output_command.module --> + <xs:attributeGroup name="sconsdoc.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A sconsdoc. --> + <xs:element name="sconsdoc" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="tool"/> + <xs:element ref="builder"/> + <xs:element ref="scons_function"/> + <xs:element ref="cvar"/> + </xs:choice> + <xs:attributeGroup ref="sconsdoc.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sconsdoc.element --> + <xs:attributeGroup name="sconsdoc.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sconsdoc.role.attrib"/> + </xs:attributeGroup> + <!-- end of sconsdoc.attlist --> + <!-- end of sconsdoc.module --> + <xs:attributeGroup name="example_commands.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Text that a user sees or might see on a computer screen. --> + <xs:element name="example_commands" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="textobject"/> + <xs:element ref="lineannotation"/> + </xs:choice> + <xs:attributeGroup ref="example_commands.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of example_commands.element --> + <xs:attributeGroup name="example_commands.attlist"> + <xs:attributeGroup ref="width.attrib"/> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="example_commands.role.attrib"/> + </xs:attributeGroup> + <!-- end of example_commands.attlist --> + <!-- end of example_commands.module --> + <xs:attributeGroup name="summary.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A summary. --> + <xs:element name="summary" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="component.mix"/> + <xs:group ref="summary.mix"/> + </xs:choice> + <xs:attributeGroup ref="summary.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of summary.element --> + <xs:attributeGroup name="summary.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="summary.role.attrib"/> + </xs:attributeGroup> + <!-- end of summary.attlist --> + <!-- end of summary.module --> + + <xs:attributeGroup name="item.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A item. --> + <xs:element name="item"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="item.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of item.element --> + <xs:attributeGroup name="item.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="item.role.attrib"/> + </xs:attributeGroup> + <!-- end of item.attlist --> + <!-- end of item.module --> + <xs:attributeGroup name="sets.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list in which each entry is marked with a bullet or other dingbat. --> + <xs:element name="sets" substitutionGroup="list.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="listpreamble.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="item"/> + </xs:sequence> + <xs:attributeGroup ref="sets.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sets.element --> + <!-- + Spacing: Whether the vertical space in the list should be + compressed + --> + <!-- + Mark: Keyword, e.g., bullet, dash, checkbox, none; + list of keywords and defaults are implementation specific + --> + <xs:attributeGroup name="sets.attlist"> + <xs:attribute name="spacing"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="normal"/> + <xs:enumeration value="compact"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="mark.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sets.role.attrib"/> + </xs:attributeGroup> + <!-- end of sets.attlist --> + <!-- end of sets.module --> + <xs:attributeGroup name="uses.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list in which each entry is marked with a bullet or other dingbat. --> + <xs:element name="uses" substitutionGroup="list.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="listpreamble.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="item"/> + </xs:sequence> + <xs:attributeGroup ref="uses.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of uses.element --> + <!-- + Spacing: Whether the vertical space in the list should be + compressed + --> + <!-- + Mark: Keyword, e.g., bullet, dash, checkbox, none; + list of keywords and defaults are implementation specific + --> + <xs:attributeGroup name="uses.attlist"> + <xs:attribute name="spacing"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="normal"/> + <xs:enumeration value="compact"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="mark.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="uses.role.attrib"/> + </xs:attributeGroup> + <!-- end of uses.attlist --> + <!-- end of uses.module --> + <xs:attributeGroup name="tool.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A paragraph. --> + <xs:element name="tool" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.mix"/> + <xs:group ref="tool.mix"/> + </xs:choice> + <xs:attributeGroup ref="tool.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tool.element --> + <xs:attributeGroup name="tool.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="tool.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + </xs:attributeGroup> + <!-- end of tool.attlist --> + <!-- end of tool.module --> + <xs:attributeGroup name="builder.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A paragraph. --> + <xs:element name="builder" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.mix"/> + <xs:group ref="tool.mix"/> + </xs:choice> + <xs:attributeGroup ref="builder.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of builder.element --> + <xs:attributeGroup name="builder.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="builder.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + </xs:attributeGroup> + <!-- end of builder.attlist --> + <!-- end of builder.module --> + + <xs:attributeGroup name="cvar.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A paragraph. --> + <xs:element name="cvar" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.mix"/> + <xs:element ref="summary"/> + </xs:choice> + <xs:attributeGroup ref="cvar.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of cvar.element --> + <xs:attributeGroup name="cvar.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="cvar.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + </xs:attributeGroup> + <!-- end of cvar.attlist --> + <!-- end of cvar.module --> + <xs:attributeGroup name="arguments.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A general-purpose element for representing the syntax of commands or functions. --> + <xs:element name="arguments" substitutionGroup="synop.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="graphic"/> + <xs:element ref="mediaobject"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="textobject"/> + <xs:element ref="lineannotation"/> + </xs:choice> + <xs:attributeGroup ref="arguments.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of arguments.element --> + <xs:attributeGroup name="arguments.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="arguments.role.attrib"/> + <xs:attribute name="signature" type="xs:string" use="optional" /> + <xs:attribute name="both" type="xs:string" use="optional" /> + </xs:attributeGroup> + <!-- end of arguments.attlist --> + <!-- end of arguments.module --> + <xs:attributeGroup name="scons_function.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A paragraph. --> + <xs:element name="scons_function" substitutionGroup="para.class"> + <xs:complexType mixed="true"> + <xs:annotation> + <xs:documentation xml:lang="en"> + TODO + </xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:group ref="para.mix"/> + <xs:group ref="scons_function.mix"/> + </xs:choice> + <xs:attributeGroup ref="scons_function.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of scons_function.element --> + <xs:attributeGroup name="scons_function.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="scons_function.role.attrib"/> + <xs:attribute name="name" type="xs:string" use="required" /> + </xs:attributeGroup> + <!-- end of scons_function.attlist --> + <!-- end of scons_function.module --> + <xs:attributeGroup name="admon.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A note of caution. --> + <xs:element name="caution" substitutionGroup="admon.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:group maxOccurs="unbounded" ref="admon.mix"/> + </xs:sequence> + <xs:attributeGroup ref="caution.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of caution.element --> + <xs:attributeGroup name="caution.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="admon.role.attrib"/> + </xs:attributeGroup> + <!-- end of caution.attlist --> + <!-- doc:An admonition set off from the text. --> + <xs:element name="important" substitutionGroup="admon.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:group maxOccurs="unbounded" ref="admon.mix"/> + </xs:sequence> + <xs:attributeGroup ref="important.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of important.element --> + <xs:attributeGroup name="important.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="admon.role.attrib"/> + </xs:attributeGroup> + <!-- end of important.attlist --> + <!-- doc:A message set off from the text. --> + <xs:element name="note" substitutionGroup="admon.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:group maxOccurs="unbounded" ref="admon.mix"/> + </xs:sequence> + <xs:attributeGroup ref="note.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of note.element --> + <xs:attributeGroup name="note.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="admon.role.attrib"/> + </xs:attributeGroup> + <!-- end of note.attlist --> + <!-- doc:A suggestion to the user, set off from the text. --> + <xs:element name="tip" substitutionGroup="admon.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:group maxOccurs="unbounded" ref="admon.mix"/> + </xs:sequence> + <xs:attributeGroup ref="tip.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tip.element --> + <xs:attributeGroup name="tip.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="admon.role.attrib"/> + </xs:attributeGroup> + <!-- end of tip.attlist --> + <!-- doc:An admonition set off from the text. --> + <xs:element name="warning" substitutionGroup="admon.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="title"/> + <xs:group maxOccurs="unbounded" ref="admon.mix"/> + </xs:sequence> + <xs:attributeGroup ref="warning.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of warning.element --> + <xs:attributeGroup name="warning.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="admon.role.attrib"/> + </xs:attributeGroup> + <!-- end of warning.attlist --> + <!-- end of admon.module --> + <!-- ...................................................................... --> + <!-- Lists ................................................................ --> + <!-- GlossList ........................ --> + <xs:attributeGroup name="glosslist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for a set of GlossEntrys. --> + <xs:element name="glosslist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:element maxOccurs="unbounded" ref="glossentry"/> + </xs:sequence> + <xs:attributeGroup ref="glosslist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glosslist.element --> + <xs:attributeGroup name="glosslist.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glosslist.role.attrib"/> + </xs:attributeGroup> + <!-- end of glosslist.attlist --> + <!-- end of glosslist.module --> + <xs:attributeGroup name="glossentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry in a Glossary or GlossList. --> + <xs:element name="glossentry"> + <xs:complexType> + <xs:sequence> + <xs:element ref="glossterm"/> + <xs:element minOccurs="0" ref="acronym"/> + <xs:element minOccurs="0" ref="abbrev"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="ndxterm.class"/> + <xs:element minOccurs="0" ref="revhistory"/> + <xs:choice> + <xs:element ref="glosssee"/> + <xs:element maxOccurs="unbounded" ref="glossdef"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="glossentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glossentry.element --> + <!-- + SortAs: String by which the GlossEntry is to be sorted + (alphabetized) in lieu of its proper content + --> + <xs:attributeGroup name="glossentry.attlist"> + <xs:attribute name="sortas"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glossentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of glossentry.attlist --> + <!-- end of glossentry.module --> + <!-- GlossTerm (defined in the Inlines section, below) --> + <xs:attributeGroup name="glossdef.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A definition in a GlossEntry. --> + <xs:element name="glossdef"> + <xs:complexType> + <xs:sequence> + <xs:group maxOccurs="unbounded" ref="glossdef.mix"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="glossseealso"/> + </xs:sequence> + <xs:attributeGroup ref="glossdef.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glossdef.element --> + <!-- Subject: List of subjects; keywords for the definition --> + <xs:attributeGroup name="glossdef.attlist"> + <xs:attribute name="subject"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glossdef.role.attrib"/> + </xs:attributeGroup> + <!-- end of glossdef.attlist --> + <!-- end of glossdef.module --> + <xs:attributeGroup name="glosssee.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A cross-reference from one GlossEntry to another. --> + <xs:element name="glosssee"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="glosssee.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glosssee.element --> + <!-- + OtherTerm: Reference to the GlossEntry whose GlossTerm + should be displayed at the point of the GlossSee + --> + <xs:attributeGroup name="glosssee.attlist"> + <xs:attribute name="otherterm" type="xs:IDREF"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glosssee.role.attrib"/> + </xs:attributeGroup> + <!-- end of glosssee.attlist --> + <!-- end of glosssee.module --> + <xs:attributeGroup name="glossseealso.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A cross-reference from one GlossEntry to another. --> + <xs:element name="glossseealso"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="glossseealso.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glossseealso.element --> + <!-- + OtherTerm: Reference to the GlossEntry whose GlossTerm + should be displayed at the point of the GlossSeeAlso + --> + <xs:attributeGroup name="glossseealso.attlist"> + <xs:attribute name="otherterm" type="xs:IDREF"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glossseealso.role.attrib"/> + </xs:attributeGroup> + <!-- end of glossseealso.attlist --> + <!-- end of glossseealso.module --> + <!-- end of glossentry.content.module --> + <!-- ItemizedList and OrderedList ..... --> + <xs:attributeGroup name="itemizedlist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list in which each entry is marked with a bullet or other dingbat. --> + <xs:element name="itemizedlist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="listpreamble.mix"/> + <xs:element maxOccurs="unbounded" ref="listitem"/> + </xs:sequence> + <xs:attributeGroup ref="itemizedlist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of itemizedlist.element --> + <!-- + Spacing: Whether the vertical space in the list should be + compressed + --> + <!-- + Mark: Keyword, e.g., bullet, dash, checkbox, none; + list of keywords and defaults are implementation specific + --> + <xs:attributeGroup name="itemizedlist.attlist"> + <xs:attribute name="spacing"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="normal"/> + <xs:enumeration value="compact"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="mark.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="itemizedlist.role.attrib"/> + </xs:attributeGroup> + <!-- end of itemizedlist.attlist --> + <!-- end of itemizedlist.module --> + <xs:attributeGroup name="orderedlist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list in which each entry is marked with a sequentially incremented label. --> + <xs:element name="orderedlist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="listpreamble.mix"/> + <xs:element maxOccurs="unbounded" ref="listitem"/> + </xs:sequence> + <xs:attributeGroup ref="orderedlist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of orderedlist.element --> + <!-- + Numeration: Style of ListItem numbered; default is expected + to be Arabic + --> + <!-- + InheritNum: Specifies for a nested list that the numbering + of ListItems should include the number of the item + within which they are nested (e.g., 1a and 1b within 1, + rather than a and b) + --> + <!-- + Continuation: Where list numbering begins afresh (Restarts, + the default) or continues that of the immediately preceding + list (Continues) + --> + <!-- + Spacing: Whether the vertical space in the list should be + compressed + --> + <xs:attributeGroup name="orderedlist.attlist"> + <xs:attribute name="numeration"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="arabic"/> + <xs:enumeration value="upperalpha"/> + <xs:enumeration value="loweralpha"/> + <xs:enumeration value="upperroman"/> + <xs:enumeration value="lowerroman"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="inheritnum" default="ignore"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="inherit"/> + <xs:enumeration value="ignore"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="continuation" default="restarts"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="continues"/> + <xs:enumeration value="restarts"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="spacing"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="normal"/> + <xs:enumeration value="compact"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="orderedlist.role.attrib"/> + </xs:attributeGroup> + <!-- end of orderedlist.attlist --> + <!-- end of orderedlist.module --> + <xs:attributeGroup name="listitem.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for the elements of a list item. --> + <xs:element name="listitem"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + <xs:attributeGroup ref="listitem.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of listitem.element --> + <!-- + Override: Indicates the mark to be used for this ListItem + instead of the default mark or the mark specified by + the Mark attribute on the enclosing ItemizedList + --> + <xs:attributeGroup name="listitem.attlist"> + <xs:attribute name="override"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="listitem.role.attrib"/> + </xs:attributeGroup> + <!-- end of listitem.attlist --> + <!-- end of listitem.module --> + <!-- SegmentedList .................... --> + <xs:attributeGroup name="segmentedlist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A segmented list, a list of sets of elements. --> + <xs:element name="segmentedlist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:element maxOccurs="unbounded" ref="segtitle"/> + <xs:element maxOccurs="unbounded" ref="seglistitem"/> + </xs:sequence> + <xs:attributeGroup ref="segmentedlist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of segmentedlist.element --> + <xs:attributeGroup name="segmentedlist.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="segmentedlist.role.attrib"/> + </xs:attributeGroup> + <!-- end of segmentedlist.attlist --> + <!-- end of segmentedlist.module --> + <xs:attributeGroup name="segtitle.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The title of an element of a list item in a segmented list. --> + <xs:element name="segtitle"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="title.char.mix"/> + <xs:attributeGroup ref="segtitle.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of segtitle.element --> + <xs:attributeGroup name="segtitle.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="segtitle.role.attrib"/> + </xs:attributeGroup> + <!-- end of segtitle.attlist --> + <!-- end of segtitle.module --> + <xs:attributeGroup name="seglistitem.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list item in a segmented list. --> + <xs:element name="seglistitem"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="seg"/> + </xs:sequence> + <xs:attributeGroup ref="seglistitem.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of seglistitem.element --> + <xs:attributeGroup name="seglistitem.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="seglistitem.role.attrib"/> + </xs:attributeGroup> + <!-- end of seglistitem.attlist --> + <!-- end of seglistitem.module --> + <xs:attributeGroup name="seg.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An element of a list item in a segmented list. --> + <xs:element name="seg"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="seg.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of seg.element --> + <xs:attributeGroup name="seg.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="seg.role.attrib"/> + </xs:attributeGroup> + <!-- end of seg.attlist --> + <!-- end of seg.module --> + <!-- end of segmentedlist.content.module --> + <!-- SimpleList ....................... --> + <xs:attributeGroup name="simplelist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An undecorated list of single words or short phrases. --> + <xs:element name="simplelist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="member"/> + </xs:sequence> + <xs:attributeGroup ref="simplelist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of simplelist.element --> + <!-- Columns: The number of columns the array should contain --> + <!-- + Type: How the Members of the SimpleList should be + formatted: Inline (members separated with commas etc. + inline), Vert (top to bottom in n Columns), or Horiz (in + the direction of text flow) in n Columns. If Column + is 1 or implied, Type=Vert and Type=Horiz give the same + results. + --> + <xs:attributeGroup name="simplelist.attlist"> + <xs:attribute name="columns"/> + <xs:attribute name="type" default="vert"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="inline"/> + <xs:enumeration value="vert"/> + <xs:enumeration value="horiz"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="simplelist.role.attrib"/> + </xs:attributeGroup> + <!-- end of simplelist.attlist --> + <!-- end of simplelist.module --> + <xs:attributeGroup name="member.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An element of a simple list. --> + <xs:element name="member"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="member.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of member.element --> + <xs:attributeGroup name="member.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="member.role.attrib"/> + </xs:attributeGroup> + <!-- end of member.attlist --> + <!-- end of member.module --> + <!-- end of simplelist.content.module --> + <!-- VariableList ..................... --> + <xs:attributeGroup name="variablelist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list in which each entry is composed of a set of one or more terms and an associated description. --> + <xs:element name="variablelist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="listpreamble.mix"/> + <xs:element maxOccurs="unbounded" ref="varlistentry"/> + </xs:sequence> + <xs:attributeGroup ref="variablelist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of variablelist.element --> + <!-- + TermLength: Length beyond which the presentation engine + may consider the Term too long and select an alternate + presentation of the Term and, or, its associated ListItem. + --> + <xs:attributeGroup name="variablelist.attlist"> + <xs:attribute name="termlength"/> + <xs:attribute name="spacing"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="normal"/> + <xs:enumeration value="compact"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="variablelist.role.attrib"/> + </xs:attributeGroup> + <!-- end of variablelist.attlist --> + <!-- end of variablelist.module --> + <xs:attributeGroup name="varlistentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for a set of terms and the associated description in a variable list. --> + <xs:element name="varlistentry"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="term"/> + <xs:element ref="listitem"/> + </xs:sequence> + <xs:attributeGroup ref="varlistentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of varlistentry.element --> + <xs:attributeGroup name="varlistentry.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="varlistentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of varlistentry.attlist --> + <!-- end of varlistentry.module --> + <xs:attributeGroup name="term.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The word or phrase being defined or described in a variable list. --> + <xs:element name="term"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="term.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of term.element --> + <xs:attributeGroup name="term.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="term.role.attrib"/> + </xs:attributeGroup> + <!-- end of term.attlist --> + <!-- end of term.module --> + <!-- ListItem (defined above) --> + <!-- end of variablelist.content.module --> + <!-- CalloutList ...................... --> + <xs:attributeGroup name="calloutlist.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A list of Callouts. --> + <xs:element name="calloutlist" substitutionGroup="list.class"> + <xs:complexType> + <xs:sequence> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:element maxOccurs="unbounded" ref="callout"/> + </xs:sequence> + <xs:attributeGroup ref="calloutlist.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of calloutlist.element --> + <xs:attributeGroup name="calloutlist.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="calloutlist.role.attrib"/> + </xs:attributeGroup> + <!-- end of calloutlist.attlist --> + <!-- end of calloutlist.module --> + <xs:attributeGroup name="callout.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A “called out” description of a marked Area. --> + <xs:element name="callout"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + <xs:attributeGroup ref="callout.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of callout.element --> + <!-- + AreaRefs: IDs of one or more Areas or AreaSets described + by this Callout + --> + <xs:attributeGroup name="callout.attlist"> + <xs:attribute name="arearefs" use="required" type="xs:IDREFS"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="callout.role.attrib"/> + </xs:attributeGroup> + <!-- end of callout.attlist --> + <!-- end of callout.module --> + <!-- end of calloutlist.content.module --> + <!-- ...................................................................... --> + <!-- Objects .............................................................. --> + <!-- Examples etc. .................... --> + <xs:attributeGroup name="example.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A formal example, with a title. --> + <xs:element name="example" substitutionGroup="formal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group ref="formalobject.title.content"/> + <xs:group maxOccurs="unbounded" ref="example.mix"/> + </xs:sequence> + <xs:attributeGroup ref="example.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of example.element --> + <xs:attributeGroup name="example.attlist"> + <xs:attribute name="floatstyle"/> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="width.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="example.role.attrib"/> + </xs:attributeGroup> + <!-- end of example.attlist --> + <!-- end of example.module --> + <xs:attributeGroup name="informalexample.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A displayed example without a title. --> + <xs:element name="informalexample" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group maxOccurs="unbounded" ref="example.mix"/> + </xs:sequence> + <xs:attributeGroup ref="informalexample.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of informalexample.element --> + <xs:attributeGroup name="informalexample.attlist"> + <xs:attribute name="floatstyle"/> + <xs:attributeGroup ref="width.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="informalexample.role.attrib"/> + </xs:attributeGroup> + <!-- end of informalexample.attlist --> + <!-- end of informalexample.module --> + <xs:attributeGroup name="programlistingco.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A program listing with associated areas used in callouts. --> + <xs:element name="programlistingco" substitutionGroup="linespecific.class"> + <xs:complexType> + <xs:sequence> + <xs:element ref="areaspec"/> + <xs:element ref="programlisting"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="calloutlist"/> + </xs:sequence> + <xs:attributeGroup ref="programlistingco.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of programlistingco.element --> + <xs:attributeGroup name="programlistingco.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="programlistingco.role.attrib"/> + </xs:attributeGroup> + <!-- end of programlistingco.attlist --> + <!-- CalloutList (defined above in Lists) --> + <!-- end of informalexample.module --> + <xs:attributeGroup name="areaspec.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A collection of regions in a graphic or code example. --> + <xs:element name="areaspec"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="area"/> + <xs:element ref="areaset"/> + </xs:choice> + <xs:attributeGroup ref="areaspec.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of areaspec.element --> + <!-- + Units: global unit of measure in which coordinates in + this spec are expressed: + + - CALSPair "x1,y1 x2,y2": lower-left and upper-right + coordinates in a rectangle describing repro area in which + graphic is placed, where X and Y dimensions are each some + number 0..10000 (taken from CALS graphic attributes) + + - LineColumn "line column": line number and column number + at which to start callout text in "linespecific" content + + - LineRange "startline endline": whole lines from startline + to endline in "linespecific" content + + - LineColumnPair "line1 col1 line2 col2": starting and ending + points of area in "linespecific" content that starts at + first position and ends at second position (including the + beginnings of any intervening lines) + + - Other: directive to look at value of OtherUnits attribute + to get implementation-specific keyword + + The default is implementation-specific; usually dependent on + the parent element (GraphicCO gets CALSPair, ProgramListingCO + and ScreenCO get LineColumn) + --> + <!-- OtherUnits: User-defined units --> + <xs:attributeGroup name="areaspec.attlist"> + <xs:attribute name="units"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="calspair"/> + <xs:enumeration value="linecolumn"/> + <xs:enumeration value="linerange"/> + <xs:enumeration value="linecolumnpair"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otherunits" type="xs:NMTOKEN"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="areaspec.role.attrib"/> + </xs:attributeGroup> + <!-- end of areaspec.attlist --> + <!-- end of areaspec.module --> + <xs:attributeGroup name="area.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A region defined for a Callout in a graphic or code example. --> + <xs:element name="area"> + <xs:complexType> + <xs:attributeGroup ref="area.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of area.element --> + <!-- bug number/symbol override or initialization --> + <!-- to any related information --> + <!-- + Units: unit of measure in which coordinates in this + area are expressed; inherits from AreaSet and AreaSpec + --> + <!-- OtherUnits: User-defined units --> + <xs:attributeGroup name="area.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="linkends.attrib"/> + <xs:attribute name="units"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="calspair"/> + <xs:enumeration value="linecolumn"/> + <xs:enumeration value="linerange"/> + <xs:enumeration value="linecolumnpair"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otherunits" type="xs:NMTOKEN"/> + <xs:attribute name="coords" use="required"/> + <xs:attributeGroup ref="idreq.common.attrib"/> + <xs:attributeGroup ref="area.role.attrib"/> + </xs:attributeGroup> + <!-- end of area.attlist --> + <!-- end of area.module --> + <xs:attributeGroup name="areaset.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A set of related areas in a graphic or code example. --> + <xs:element name="areaset"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="area"/> + </xs:sequence> + <xs:attributeGroup ref="areaset.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of areaset.element --> + <!-- bug number/symbol override or initialization --> + <!-- + Units: unit of measure in which coordinates in this + area are expressed; inherits from AreaSpec + --> + <xs:attributeGroup name="areaset.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attribute name="units"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="calspair"/> + <xs:enumeration value="linecolumn"/> + <xs:enumeration value="linerange"/> + <xs:enumeration value="linecolumnpair"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otherunits" type="xs:NMTOKEN"/> + <xs:attribute name="coords" use="required"/> + <xs:attributeGroup ref="idreq.common.attrib"/> + <xs:attributeGroup ref="areaset.role.attrib"/> + </xs:attributeGroup> + <!-- end of areaset.attlist --> + <!-- end of areaset.module --> + <!-- end of areaspec.content.module --> + <xs:attributeGroup name="programlisting.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A literal listing of all or part of a program. --> + <xs:element name="programlisting" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="lineannotation"/> + <xs:element ref="textobject"/> + </xs:choice> + <xs:attributeGroup ref="programlisting.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of programlisting.element --> + <xs:attributeGroup name="programlisting.attlist"> + <xs:attributeGroup ref="width.attrib"/> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="programlisting.role.attrib"/> + </xs:attributeGroup> + <!-- end of programlisting.attlist --> + <!-- end of programlisting.module --> + <xs:attributeGroup name="literallayout.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A block of text in which line breaks and white space are to be reproduced faithfully. --> + <xs:element name="literallayout" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="textobject"/> + <xs:element ref="lineannotation"/> + </xs:choice> + <xs:attributeGroup ref="literallayout.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of literallayout.element --> + <xs:attributeGroup name="literallayout.attlist"> + <xs:attributeGroup ref="width.attrib"/> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attribute name="class" default="normal"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="monospaced"/> + <xs:enumeration value="normal"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="literallayout.role.attrib"/> + </xs:attributeGroup> + <!-- end of literallayout.attlist --> + <!-- LineAnnotation (defined in the Inlines section, below) --> + <!-- end of literallayout.module --> + <xs:attributeGroup name="screenco.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A screen with associated areas used in callouts. --> + <xs:element name="screenco" substitutionGroup="linespecific.class"> + <xs:complexType> + <xs:sequence> + <xs:element ref="areaspec"/> + <xs:element ref="screen"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="calloutlist"/> + </xs:sequence> + <xs:attributeGroup ref="screenco.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of screenco.element --> + <xs:attributeGroup name="screenco.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="screenco.role.attrib"/> + </xs:attributeGroup> + <!-- end of screenco.attlist --> + <!-- AreaSpec (defined above) --> + <!-- CalloutList (defined above in Lists) --> + <!-- end of screenco.module --> + <xs:attributeGroup name="screen.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Text that a user sees or might see on a computer screen. --> + <xs:element name="screen" substitutionGroup="linespecific.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="textobject"/> + <xs:element ref="lineannotation"/> + </xs:choice> + <xs:attributeGroup ref="screen.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of screen.element --> + <xs:attributeGroup name="screen.attlist"> + <xs:attributeGroup ref="width.attrib"/> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="screen.role.attrib"/> + </xs:attributeGroup> + <!-- end of screen.attlist --> + <!-- end of screen.module --> + <xs:attributeGroup name="screenshot.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A representation of what the user sees or might see on a computer screen. --> + <xs:element name="screenshot" substitutionGroup="linespecific.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="screeninfo"/> + <xs:choice> + <xs:element ref="graphic"/> + <xs:element ref="graphicco"/> + <xs:element ref="mediaobject"/> + <xs:element ref="mediaobjectco"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="screenshot.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of screenshot.element --> + <xs:attributeGroup name="screenshot.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="screenshot.role.attrib"/> + </xs:attributeGroup> + <!-- end of screenshot.attlist --> + <!-- end of screenshot.module --> + <xs:attributeGroup name="screeninfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Information about how a screen shot was produced. --> + <xs:element name="screeninfo"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="screeninfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of screeninfo.element --> + <xs:attributeGroup name="screeninfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="screeninfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of screeninfo.attlist --> + <!-- end of screeninfo.module --> + <!-- end of screenshot.content.module --> + <!-- Figures etc. ..................... --> + <xs:attributeGroup name="figure.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A formal figure, generally an illustration, with a title. --> + <xs:element name="figure" substitutionGroup="formal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group ref="formalobject.title.content"/> + <xs:choice maxOccurs="unbounded"> + <xs:group ref="figure.mix"/> + <xs:element ref="link.char.class"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="figure.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of figure.element --> + <!-- + Float: Whether the Figure is supposed to be rendered + where convenient (yes (1) value) or at the place it occurs + in the text (no (0) value, the default) + --> + <xs:attributeGroup name="figure.attlist"> + <xs:attribute name="float" default="0" type="yesorno.attvals"/> + <xs:attribute name="floatstyle"/> + <xs:attribute name="pgwide" type="yesorno.attvals"/> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="figure.role.attrib"/> + </xs:attributeGroup> + <!-- end of figure.attlist --> + <!-- end of figure.module --> + <xs:attributeGroup name="informalfigure.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A untitled figure. --> + <xs:element name="informalfigure" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:choice maxOccurs="unbounded"> + <xs:group ref="figure.mix"/> + <xs:element ref="link.char.class"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="informalfigure.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of informalfigure.element --> + <!-- + Float: Whether the Figure is supposed to be rendered + where convenient (yes (1) value) or at the place it occurs + in the text (no (0) value, the default) + --> + <xs:attributeGroup name="informalfigure.attlist"> + <xs:attribute name="float" default="0" type="yesorno.attvals"/> + <xs:attribute name="floatstyle"/> + <xs:attribute name="pgwide" type="yesorno.attvals"/> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="informalfigure.role.attrib"/> + </xs:attributeGroup> + <!-- end of informalfigure.attlist --> + <!-- end of informalfigure.module --> + <xs:attributeGroup name="graphicco.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A graphic that contains callout areas. --> + <xs:element name="graphicco" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element ref="areaspec"/> + <xs:element ref="graphic"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="calloutlist"/> + </xs:sequence> + <xs:attributeGroup ref="graphicco.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of graphicco.element --> + <xs:attributeGroup name="graphicco.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="graphicco.role.attrib"/> + </xs:attributeGroup> + <!-- end of graphicco.attlist --> + <!-- AreaSpec (defined above in Examples) --> + <!-- CalloutList (defined above in Lists) --> + <!-- end of graphicco.module --> + <!-- + Graphical data can be the content of Graphic, or you can reference + an external file either as an entity (Entitref) or a filename + (Fileref). + --> + <xs:attributeGroup name="graphic.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A displayed graphical object (not an inline). --> + <xs:element name="graphic" substitutionGroup="informal.class"> + <xs:complexType> + <xs:attributeGroup ref="graphic.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of graphic.element --> + <xs:attributeGroup name="graphic.attlist"> + <xs:attributeGroup ref="graphics.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="graphic.role.attrib"/> + </xs:attributeGroup> + <!-- end of graphic.attlist --> + <!-- end of graphic.module --> + <xs:attributeGroup name="inlinegraphic.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An object containing or pointing to graphical data that will be rendered inline. --> + <xs:element name="inlinegraphic" substitutionGroup="inlineobj.char.class"> + <xs:complexType> + <xs:attributeGroup ref="inlinegraphic.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of inlinegraphic.element --> + <xs:attributeGroup name="inlinegraphic.attlist"> + <xs:attributeGroup ref="graphics.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="inlinegraphic.role.attrib"/> + </xs:attributeGroup> + <!-- end of inlinegraphic.attlist --> + <!-- end of inlinegraphic.module --> + <xs:attributeGroup name="mediaobject.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A displayed media object (video, audio, image, etc.). --> + <xs:element name="mediaobject" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="objectinfo"/> + <xs:element maxOccurs="unbounded" ref="mediaobject.mix"/> + <xs:element minOccurs="0" ref="caption"/> + </xs:sequence> + <xs:attributeGroup ref="mediaobject.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of mediaobject.element --> + <xs:attributeGroup name="mediaobject.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="mediaobject.role.attrib"/> + </xs:attributeGroup> + <!-- end of mediaobject.attlist --> + <!-- end of mediaobject.module --> + <xs:attributeGroup name="inlinemediaobject.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An inline media object (video, audio, image, and so on). --> + <xs:element name="inlinemediaobject" substitutionGroup="inlineobj.char.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="objectinfo"/> + <xs:element maxOccurs="unbounded" ref="mediaobject.mix"/> + </xs:sequence> + <xs:attributeGroup ref="inlinemediaobject.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of inlinemediaobject.element --> + <xs:attributeGroup name="inlinemediaobject.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="inlinemediaobject.role.attrib"/> + </xs:attributeGroup> + <!-- end of inlinemediaobject.attlist --> + <!-- end of inlinemediaobject.module --> + <xs:attributeGroup name="videoobject.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for video data and its associated meta-information. --> + <xs:element name="videoobject" substitutionGroup="mediaobject.mix"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="objectinfo"/> + <xs:element ref="videodata"/> + </xs:sequence> + <xs:attributeGroup ref="videoobject.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of videoobject.element --> + <xs:attributeGroup name="videoobject.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="videoobject.role.attrib"/> + </xs:attributeGroup> + <!-- end of videoobject.attlist --> + <!-- end of videoobject.module --> + <xs:attributeGroup name="audioobject.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for audio data and its associated meta-information. --> + <xs:element name="audioobject" substitutionGroup="mediaobject.mix"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="objectinfo"/> + <xs:element ref="audiodata"/> + </xs:sequence> + <xs:attributeGroup ref="audioobject.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of audioobject.element --> + <xs:attributeGroup name="audioobject.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="audioobject.role.attrib"/> + </xs:attributeGroup> + <!-- end of audioobject.attlist --> + <!-- end of audioobject.module --> + <xs:attributeGroup name="imageobject.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for image data and its associated meta-information. --> + <xs:element name="imageobject" substitutionGroup="mediaobject.mix"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="objectinfo"/> + <xs:element ref="imagedata"/> + </xs:sequence> + <xs:attributeGroup ref="imageobject.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of imageobject.element --> + <xs:attributeGroup name="imageobject.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="imageobject.role.attrib"/> + </xs:attributeGroup> + <!-- end of imageobject.attlist --> + <!-- end of imageobject.module --> + <xs:attributeGroup name="textobject.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for a text description of an object and its associated meta-information. --> + <xs:element name="textobject" substitutionGroup="mediaobject.mix"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="objectinfo"/> + <xs:choice> + <xs:element ref="phrase"/> + <xs:element ref="textdata"/> + <xs:group maxOccurs="unbounded" ref="textobject.mix"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="textobject.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of textobject.element --> + <xs:attributeGroup name="textobject.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="textobject.role.attrib"/> + </xs:attributeGroup> + <!-- end of textobject.attlist --> + <!-- end of textobject.module --> + <xs:attributeGroup name="objectinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Meta-information for an object. --> + <xs:element name="objectinfo"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="info.class"/> + <xs:attributeGroup ref="objectinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of objectinfo.element --> + <xs:attributeGroup name="objectinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="objectinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of objectinfo.attlist --> + <!-- end of objectinfo.module --> + <!-- + EntityRef: Name of an external entity containing the content + of the object data + --> + <!-- + FileRef: Filename, qualified by a pathname if desired, + designating the file containing the content of the object data + --> + <!-- Format: Notation of the element content, if any --> + <!-- SrcCredit: Information about the source of the image --> + <xs:attributeGroup name="objectdata.attrib"> + <xs:attribute name="entityref" type="xs:ENTITY"/> + <xs:attribute name="fileref"/> + <xs:attribute name="format" type="notation.class"/> + <xs:attribute name="srccredit"/> + </xs:attributeGroup> + <xs:attributeGroup name="videodata.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Pointer to external video data. --> + <xs:element name="videodata"> + <xs:complexType> + <xs:attributeGroup ref="videodata.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of videodata.element --> + <!-- Width: Same as CALS reprowid (desired width) --> + <!-- Depth: Same as CALS reprodep (desired depth) --> + <!-- + Align: Same as CALS hplace with 'none' removed; #IMPLIED means + application-specific + --> + <!-- Scale: Conflation of CALS hscale and vscale --> + <!-- Scalefit: Same as CALS scalefit --> + <xs:attributeGroup name="videodata.attlist"> + <xs:attribute name="width"/> + <xs:attribute name="contentwidth"/> + <xs:attribute name="depth"/> + <xs:attribute name="contentdepth"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="scale"/> + <xs:attribute name="scalefit" type="yesorno.attvals"/> + <xs:attributeGroup ref="objectdata.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="videodata.role.attrib"/> + </xs:attributeGroup> + <!-- end of videodata.attlist --> + <!-- end of videodata.module --> + <xs:attributeGroup name="audiodata.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Pointer to external audio data. --> + <xs:element name="audiodata"> + <xs:complexType> + <xs:attributeGroup ref="audiodata.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of audiodata.element --> + <xs:attributeGroup name="audiodata.attlist"> + <xs:attributeGroup ref="objectdata.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="audiodata.role.attrib"/> + </xs:attributeGroup> + <!-- end of audiodata.attlist --> + <!-- end of audiodata.module --> + <xs:attributeGroup name="imagedata.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Pointer to external image data. --> + <xs:element name="imagedata"> + <xs:complexType> + <xs:attributeGroup ref="imagedata.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of imagedata.element --> + <!-- Width: Same as CALS reprowid (desired width) --> + <!-- Depth: Same as CALS reprodep (desired depth) --> + <!-- + Align: Same as CALS hplace with 'none' removed; #IMPLIED means + application-specific + --> + <!-- Scale: Conflation of CALS hscale and vscale --> + <!-- Scalefit: Same as CALS scalefit --> + <xs:attributeGroup name="imagedata.attlist"> + <xs:attribute name="width"/> + <xs:attribute name="contentwidth"/> + <xs:attribute name="depth"/> + <xs:attribute name="contentdepth"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="center"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="scale"/> + <xs:attribute name="scalefit" type="yesorno.attvals"/> + <xs:attributeGroup ref="objectdata.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="imagedata.role.attrib"/> + </xs:attributeGroup> + <!-- end of imagedata.attlist --> + <!-- end of imagedata.module --> + <xs:attributeGroup name="textdata.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Pointer to external text data. --> + <xs:element name="textdata"> + <xs:complexType> + <xs:attributeGroup ref="textdata.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of textdata.element --> + <xs:attributeGroup name="textdata.attlist"> + <xs:attribute name="encoding"/> + <xs:attributeGroup ref="objectdata.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="textdata.role.attrib"/> + </xs:attributeGroup> + <!-- end of textdata.attlist --> + <!-- end of textdata.module --> + <xs:attributeGroup name="mediaobjectco.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A media object that contains callouts. --> + <xs:element name="mediaobjectco" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="objectinfo"/> + <xs:element ref="imageobjectco"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="imageobjectco"/> + <xs:element ref="textobject"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="mediaobjectco.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of mediaobjectco.element --> + <xs:attributeGroup name="mediaobjectco.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="mediaobjectco.role.attrib"/> + </xs:attributeGroup> + <!-- end of mediaobjectco.attlist --> + <!-- end of mediaobjectco.module --> + <xs:attributeGroup name="imageobjectco.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for an image object with callouts. --> + <xs:element name="imageobjectco" substitutionGroup="mediaobject.mix"> + <xs:complexType> + <xs:sequence> + <xs:element ref="areaspec"/> + <xs:element ref="imageobject"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="calloutlist"/> + </xs:sequence> + <xs:attributeGroup ref="imageobjectco.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of imageobjectco.element --> + <xs:attributeGroup name="imageobjectco.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="imageobjectco.role.attrib"/> + </xs:attributeGroup> + <!-- end of imageobjectco.attlist --> + <!-- end of imageobjectco.module --> + <!-- end of mediaobject.content.module --> + <!-- Equations ........................ --> + <!-- This PE provides a mechanism for replacing equation content, --> + <!-- perhaps adding a new or different model (e.g., MathML) --> + <xs:group name="equation.content"> + <xs:sequence> + <xs:element minOccurs="0" ref="alt"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="graphic"/> + <xs:element maxOccurs="unbounded" ref="mediaobject"/> + <xs:element maxOccurs="unbounded" ref="mathphrase"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:complexType name="inlineequation.content"> + <xs:sequence> + <xs:element minOccurs="0" ref="alt"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="graphic"/> + <xs:element maxOccurs="unbounded" ref="inlinemediaobject"/> + <xs:element maxOccurs="unbounded" ref="mathphrase"/> + </xs:choice> + </xs:sequence> + </xs:complexType> + <xs:attributeGroup name="equation.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A displayed mathematical equation. --> + <xs:element name="equation" substitutionGroup="formal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group minOccurs="0" ref="formalobject.title.content"/> + <xs:choice> + <xs:element ref="informalequation"/> + <xs:group ref="equation.content"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="equation.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of equation.element --> + <xs:attributeGroup name="equation.attlist"> + <xs:attribute name="floatstyle"/> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="equation.role.attrib"/> + </xs:attributeGroup> + <!-- end of equation.attlist --> + <!-- end of equation.module --> + <xs:attributeGroup name="informalequation.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A displayed mathematical equation without a title. --> + <xs:element name="informalequation" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group ref="equation.content"/> + </xs:sequence> + <xs:attributeGroup ref="informalequation.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of informalequation.element --> + <xs:attributeGroup name="informalequation.attlist"> + <xs:attribute name="floatstyle"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="informalequation.role.attrib"/> + </xs:attributeGroup> + <!-- end of informalequation.attlist --> + <!-- end of informalequation.module --> + <xs:attributeGroup name="inlineequation.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A mathematical equation or expression occurring inline. --> + <xs:element name="inlineequation" substitutionGroup="inlineobj.char.class"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="inlineequation.content"> + <xs:attributeGroup ref="inlineequation.attlist"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <!-- end of inlineequation.element --> + <xs:attributeGroup name="inlineequation.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="inlineequation.role.attrib"/> + </xs:attributeGroup> + <!-- end of inlineequation.attlist --> + <!-- end of inlineequation.module --> + <xs:attributeGroup name="alt.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Text representation for a graphical element. --> + <xs:element name="alt"> + <xs:complexType mixed="true"> + <xs:attributeGroup ref="alt.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of alt.element --> + <xs:attributeGroup name="alt.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="alt.role.attrib"/> + </xs:attributeGroup> + <!-- end of alt.attlist --> + <!-- end of alt.module --> + <xs:attributeGroup name="mathphrase.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A mathematical phrase, an expression that can be represented with ordinary text and a small amount of markup. --> + <xs:element name="mathphrase"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="subscript"/> + <xs:element ref="superscript"/> + <xs:element ref="emphasis"/> + </xs:choice> + <xs:attributeGroup ref="mathphrase.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of mathphrase.element --> + <xs:attributeGroup name="mathphrase.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="mathphrase.role.attrib"/> + </xs:attributeGroup> + <!-- end of mathphrase.attlist --> + <!-- end of mathphrase.module --> + <!-- Tables ........................... --> + <!-- Choose a table model. CALS or OASIS XML Exchange --> + <!-- Do we allow the HTML table model as well? --> + <!-- ====================================================== --> + <!-- + xhtmltbl.mod defines HTML tables and sets parameter + entities so that, when the CALS table module is read, + we end up allowing any table to be CALS or HTML. + i.e. This include must come first! + --> + <!-- ====================================================== --> + <!-- end of allow.html.tables --> + <!-- Add label and role attributes to table and informaltable --> + <!-- + Add common attributes to Table, TGroup, TBody, THead, TFoot, Row, + EntryTbl, and Entry (and InformalTable element). + --> + <!-- Content model for Table. --> + <!-- Allow either objects or inlines; beware of REs between elements. --> + <!-- Reference CALS Table Model --> + <!-- end of table.module --> + <!-- + Note that InformalTable is dependent on some of the entity + declarations that customize Table. + --> + <!-- the following entity may have been declared by the XHTML table module --> + <!-- doc:A table without a title. --> + <xs:element name="informaltable" substitutionGroup="informal.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group ref="informal.tbl.table.mdl"/> + </xs:sequence> + <xs:attributeGroup ref="informaltable.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of informaltable.element --> + <!-- + Frame, Colsep, and Rowsep must be repeated because + they are not in entities in the table module. + --> + <!-- + includes TabStyle, ToCentry, ShortEntry, + Orient, PgWide + --> + <!-- includes Label --> + <!-- includes common attributes --> + <xs:attributeGroup name="informaltable.attlist"> + <xs:attribute name="frame" type="tbl.frame.attval"/> + <xs:attribute name="colsep" type="yesorno.attvals"/> + <xs:attribute name="rowsep" type="yesorno.attvals"/> + <xs:attributeGroup ref="common.table.attribs"/> + <xs:attributeGroup ref="tbl.table.att"/> + </xs:attributeGroup> + <!-- end of informaltable.attlist --> + <!-- end of informaltable.module --> + <xs:attributeGroup name="caption.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A caption. --> + <xs:element name="caption"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="textobject.mix"/> + <xs:attributeGroup ref="caption.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of caption.element --> + <!-- attrs comes from HTML tables ... --> + <!-- common.attrib, but without ID because ID is in attrs --> + <xs:attributeGroup name="caption.attlist.content"> + <xs:attributeGroup ref="caption.role.attrib"/> + <xs:attributeGroup ref="attrs"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="bottom"/> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:attributeGroup> + <xs:attributeGroup name="caption.attlist"> + <xs:attributeGroup ref="caption.attlist.content"/> + </xs:attributeGroup> + <!-- end of caption.attlist --> + <!-- end of caption.module --> + <!-- ...................................................................... --> + <!-- Synopses ............................................................. --> + <!-- Synopsis ......................... --> + <xs:attributeGroup name="synopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A general-purpose element for representing the syntax of commands or functions. --> + <xs:element name="synopsis" substitutionGroup="synop.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:element ref="graphic"/> + <xs:element ref="mediaobject"/> + <xs:element ref="co"/> + <xs:element ref="coref"/> + <xs:element ref="textobject"/> + <xs:element ref="lineannotation"/> + </xs:choice> + <xs:attributeGroup ref="synopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of synopsis.element --> + <xs:attributeGroup name="synopsis.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="synopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of synopsis.attlist --> + <!-- LineAnnotation (defined in the Inlines section, below) --> + <!-- end of synopsis.module --> + <!-- CmdSynopsis ...................... --> + <xs:attributeGroup name="cmdsynopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A syntax summary for a software command. --> + <xs:element name="cmdsynopsis" substitutionGroup="synop.class"> + <xs:complexType> + <xs:sequence> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="command"/> + <xs:element ref="arg"/> + <xs:element ref="group"/> + <xs:element ref="sbr"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="synopfragment"/> + </xs:sequence> + <xs:attributeGroup ref="cmdsynopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of cmdsynopsis.element --> + <!-- + Sepchar: Character that should separate command and all + top-level arguments; alternate value might be e.g., Δ + --> + <xs:attributeGroup name="cmdsynopsis.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attribute name="sepchar" default=" "/> + <xs:attribute name="cmdlength"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="cmdsynopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of cmdsynopsis.attlist --> + <!-- end of cmdsynopsis.module --> + <xs:attributeGroup name="arg.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An argument in a CmdSynopsis. --> + <xs:element name="arg"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="arg"/> + <xs:element ref="group"/> + <xs:element ref="option"/> + <xs:element ref="synopfragmentref"/> + <xs:element ref="replaceable"/> + <xs:element ref="sbr"/> + </xs:choice> + <xs:attributeGroup ref="arg.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of arg.element --> + <!-- + Choice: Whether Arg must be supplied: Opt (optional to + supply, e.g. [arg]; the default), Req (required to supply, + e.g. {arg}), or Plain (required to supply, e.g. arg) + --> + <!-- + Rep: whether Arg is repeatable: Norepeat (e.g. arg without + ellipsis; the default), or Repeat (e.g. arg...) + --> + <xs:attributeGroup name="arg.attlist"> + <xs:attribute name="choice" default="opt"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="opt"/> + <xs:enumeration value="req"/> + <xs:enumeration value="plain"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="rep" default="norepeat"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="norepeat"/> + <xs:enumeration value="repeat"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="arg.role.attrib"/> + </xs:attributeGroup> + <!-- end of arg.attlist --> + <!-- end of arg.module --> + <xs:attributeGroup name="group.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A group of elements in a CmdSynopsis. --> + <xs:element name="group"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="arg"/> + <xs:element ref="group"/> + <xs:element ref="option"/> + <xs:element ref="synopfragmentref"/> + <xs:element ref="replaceable"/> + <xs:element ref="sbr"/> + </xs:choice> + <xs:attributeGroup ref="group.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of group.element --> + <!-- + Choice: Whether Group must be supplied: Opt (optional to + supply, e.g. [g1|g2|g3]; the default), Req (required to + supply, e.g. {g1|g2|g3}), Plain (required to supply, + e.g. g1|g2|g3), OptMult (can supply zero or more, e.g. + [[g1|g2|g3]]), or ReqMult (must supply one or more, e.g. + {{g1|g2|g3}}) + --> + <!-- + Rep: whether Group is repeatable: Norepeat (e.g. group + without ellipsis; the default), or Repeat (e.g. group...) + --> + <xs:attributeGroup name="group.attlist"> + <xs:attribute name="choice" default="opt"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="opt"/> + <xs:enumeration value="req"/> + <xs:enumeration value="plain"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="rep" default="norepeat"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="norepeat"/> + <xs:enumeration value="repeat"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="group.role.attrib"/> + </xs:attributeGroup> + <!-- end of group.attlist --> + <!-- end of group.module --> + <!-- Synopsis break --> + <xs:attributeGroup name="sbr.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An explicit line break in a command synopsis. --> + <xs:element name="sbr"> + <xs:complexType> + <xs:attributeGroup ref="sbr.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sbr.element --> + <xs:attributeGroup name="sbr.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sbr.role.attrib"/> + </xs:attributeGroup> + <!-- end of sbr.attlist --> + <!-- end of sbr.module --> + <xs:attributeGroup name="synopfragmentref.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A reference to a fragment of a command synopsis. --> + <xs:element name="synopfragmentref"> + <xs:complexType mixed="true"> + <xs:attributeGroup ref="synopfragmentref.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of synopfragmentref.element --> + <!-- + to SynopFragment of complex synopsis + material for separate referencing + --> + <xs:attributeGroup name="synopfragmentref.attlist"> + <xs:attributeGroup ref="linkendreq.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="synopfragmentref.role.attrib"/> + </xs:attributeGroup> + <!-- end of synopfragmentref.attlist --> + <!-- end of synopfragmentref.module --> + <xs:attributeGroup name="synopfragment.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A portion of a CmdSynopsis broken out from the main body of the synopsis. --> + <xs:element name="synopfragment"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="arg"/> + <xs:element ref="group"/> + </xs:choice> + <xs:attributeGroup ref="synopfragment.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of synopfragment.element --> + <xs:attributeGroup name="synopfragment.attlist"> + <xs:attributeGroup ref="idreq.common.attrib"/> + <xs:attributeGroup ref="synopfragment.role.attrib"/> + </xs:attributeGroup> + <!-- end of synopfragment.attlist --> + <!-- end of synopfragment.module --> + <!-- Command (defined in the Inlines section, below) --> + <!-- Option (defined in the Inlines section, below) --> + <!-- Replaceable (defined in the Inlines section, below) --> + <!-- end of cmdsynopsis.content.module --> + <!-- FuncSynopsis ..................... --> + <xs:attributeGroup name="funcsynopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The syntax summary for a function definition. --> + <xs:element name="funcsynopsis" substitutionGroup="synop.class"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="funcsynopsisinfo"/> + <xs:element ref="funcprototype"/> + </xs:choice> + <xs:attributeGroup ref="funcsynopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of funcsynopsis.element --> + <xs:attributeGroup name="funcsynopsis.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="funcsynopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of funcsynopsis.attlist --> + <!-- end of funcsynopsis.module --> + <xs:attributeGroup name="funcsynopsisinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Information supplementing the FuncDefs of a FuncSynopsis. --> + <xs:element name="funcsynopsisinfo"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="cptr.char.mix"/> + <xs:element ref="textobject"/> + <xs:element ref="lineannotation"/> + </xs:choice> + <xs:attributeGroup ref="funcsynopsisinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of funcsynopsisinfo.element --> + <xs:attributeGroup name="funcsynopsisinfo.attlist"> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="funcsynopsisinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of funcsynopsisinfo.attlist --> + <!-- end of funcsynopsisinfo.module --> + <xs:attributeGroup name="funcprototype.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The prototype of a function. --> + <xs:element name="funcprototype"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + <xs:element ref="funcdef"/> + <xs:choice> + <xs:element ref="void"/> + <xs:element ref="varargs"/> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="paramdef"/> + <xs:element minOccurs="0" ref="varargs"/> + </xs:sequence> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + </xs:sequence> + <xs:attributeGroup ref="funcprototype.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of funcprototype.element --> + <xs:attributeGroup name="funcprototype.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="funcprototype.role.attrib"/> + </xs:attributeGroup> + <!-- end of funcprototype.attlist --> + <!-- end of funcprototype.module --> + <xs:attributeGroup name="funcdef.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A function (subroutine) name and its return type. --> + <xs:element name="funcdef"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="type"/> + <xs:element ref="replaceable"/> + <xs:element ref="function"/> + </xs:choice> + <xs:attributeGroup ref="funcdef.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of funcdef.element --> + <xs:attributeGroup name="funcdef.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="funcdef.role.attrib"/> + </xs:attributeGroup> + <!-- end of funcdef.attlist --> + <!-- end of funcdef.module --> + <xs:attributeGroup name="void.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An empty element in a function synopsis indicating that the function in question takes no arguments. --> + <xs:element name="void"> + <xs:complexType> + <xs:attributeGroup ref="void.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of void.element --> + <xs:attributeGroup name="void.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="void.role.attrib"/> + </xs:attributeGroup> + <!-- end of void.attlist --> + <!-- end of void.module --> + <xs:attributeGroup name="varargs.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An empty element in a function synopsis indicating a variable number of arguments. --> + <xs:element name="varargs"> + <xs:complexType> + <xs:attributeGroup ref="varargs.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of varargs.element --> + <xs:attributeGroup name="varargs.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="varargs.role.attrib"/> + </xs:attributeGroup> + <!-- end of varargs.attlist --> + <!-- end of varargs.module --> + <!-- + Processing assumes that only one Parameter will appear in a + ParamDef, and that FuncParams will be used at most once, for + providing information on the "inner parameters" for parameters that + are pointers to functions. + --> + <xs:attributeGroup name="paramdef.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Information about a function parameter in a programming language. --> + <xs:element name="paramdef"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="initializer"/> + <xs:element ref="type"/> + <xs:element ref="replaceable"/> + <xs:element ref="parameter"/> + <xs:element ref="funcparams"/> + </xs:choice> + <xs:attributeGroup ref="paramdef.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of paramdef.element --> + <xs:attributeGroup name="paramdef.attlist"> + <xs:attribute name="choice"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="opt"/> + <xs:enumeration value="req"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="paramdef.role.attrib"/> + </xs:attributeGroup> + <!-- end of paramdef.attlist --> + <!-- end of paramdef.module --> + <xs:attributeGroup name="funcparams.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Parameters for a function referenced through a function pointer in a synopsis. --> + <xs:element name="funcparams"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="funcparams.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of funcparams.element --> + <xs:attributeGroup name="funcparams.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="funcparams.role.attrib"/> + </xs:attributeGroup> + <!-- end of funcparams.attlist --> + <!-- end of funcparams.module --> + <!-- LineAnnotation (defined in the Inlines section, below) --> + <!-- Replaceable (defined in the Inlines section, below) --> + <!-- Function (defined in the Inlines section, below) --> + <!-- Parameter (defined in the Inlines section, below) --> + <!-- end of funcsynopsis.content.module --> + <!-- ClassSynopsis ..................... --> + <xs:attributeGroup name="classsynopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The syntax summary for a class definition. --> + <xs:element name="classsynopsis" substitutionGroup="synop.class"> + <xs:complexType> + <xs:sequence> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="ooclass"/> + <xs:element ref="oointerface"/> + <xs:element ref="ooexception"/> + </xs:choice> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="classsynopsisinfo"/> + <xs:element ref="fieldsynopsis"/> + <xs:element ref="method.synop.class"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="classsynopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of classsynopsis.element --> + <xs:attributeGroup name="classsynopsis.attlist"> + <xs:attribute name="language"/> + <xs:attribute name="class" default="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="class"/> + <xs:enumeration value="interface"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="classsynopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of classsynopsis.attlist --> + <!-- end of classsynopsis.module --> + <xs:attributeGroup name="classsynopsisinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Information supplementing the contents of a ClassSynopsis. --> + <xs:element name="classsynopsisinfo"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="cptr.char.mix"/> + <xs:element ref="textobject"/> + <xs:element ref="lineannotation"/> + </xs:choice> + <xs:attributeGroup ref="classsynopsisinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of classsynopsisinfo.element --> + <xs:attributeGroup name="classsynopsisinfo.attlist"> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="classsynopsisinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of classsynopsisinfo.attlist --> + <!-- end of classsynopsisinfo.module --> + <xs:attributeGroup name="ooclass.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A class in an object-oriented programming language. --> + <xs:element name="ooclass" substitutionGroup="tech.char.class"> + <xs:complexType> + <xs:sequence> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="modifier"/> + <xs:element ref="package"/> + </xs:choice> + <xs:element ref="classname"/> + </xs:sequence> + <xs:attributeGroup ref="ooclass.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of ooclass.element --> + <xs:attributeGroup name="ooclass.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="ooclass.role.attrib"/> + </xs:attributeGroup> + <!-- end of ooclass.attlist --> + <!-- end of ooclass.module --> + <xs:attributeGroup name="oointerface.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An interface in an object-oriented programming language. --> + <xs:element name="oointerface" substitutionGroup="tech.char.class"> + <xs:complexType> + <xs:sequence> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="modifier"/> + <xs:element ref="package"/> + </xs:choice> + <xs:element ref="interfacename"/> + </xs:sequence> + <xs:attributeGroup ref="oointerface.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of oointerface.element --> + <xs:attributeGroup name="oointerface.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="oointerface.role.attrib"/> + </xs:attributeGroup> + <!-- end of oointerface.attlist --> + <!-- end of oointerface.module --> + <xs:attributeGroup name="ooexception.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An exception in an object-oriented programming language. --> + <xs:element name="ooexception" substitutionGroup="tech.char.class"> + <xs:complexType> + <xs:sequence> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="modifier"/> + <xs:element ref="package"/> + </xs:choice> + <xs:element ref="exceptionname"/> + </xs:sequence> + <xs:attributeGroup ref="ooexception.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of ooexception.element --> + <xs:attributeGroup name="ooexception.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="ooexception.role.attrib"/> + </xs:attributeGroup> + <!-- end of ooexception.attlist --> + <!-- end of ooexception.module --> + <xs:attributeGroup name="modifier.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Modifiers in a synopsis. --> + <xs:element name="modifier"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="modifier.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of modifier.element --> + <xs:attributeGroup name="modifier.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="modifier.role.attrib"/> + </xs:attributeGroup> + <!-- end of modifier.attlist --> + <!-- end of modifier.module --> + <xs:attributeGroup name="interfacename.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of an interface. --> + <xs:element name="interfacename" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="interfacename.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of interfacename.element --> + <xs:attributeGroup name="interfacename.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="interfacename.role.attrib"/> + </xs:attributeGroup> + <!-- end of interfacename.attlist --> + <!-- end of interfacename.module --> + <xs:attributeGroup name="exceptionname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of an exception. --> + <xs:element name="exceptionname" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="exceptionname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of exceptionname.element --> + <xs:attributeGroup name="exceptionname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="exceptionname.role.attrib"/> + </xs:attributeGroup> + <!-- end of exceptionname.attlist --> + <!-- end of exceptionname.module --> + <xs:attributeGroup name="fieldsynopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a field in a class definition. --> + <xs:element name="fieldsynopsis" substitutionGroup="synop.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + <xs:element minOccurs="0" ref="type"/> + <xs:element ref="varname"/> + <xs:element minOccurs="0" ref="initializer"/> + </xs:sequence> + <xs:attributeGroup ref="fieldsynopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of fieldsynopsis.element --> + <xs:attributeGroup name="fieldsynopsis.attlist"> + <xs:attribute name="language"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="fieldsynopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of fieldsynopsis.attlist --> + <!-- end of fieldsynopsis.module --> + <xs:attributeGroup name="initializer.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The initializer for a FieldSynopsis. --> + <xs:element name="initializer"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="initializer.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of initializer.element --> + <xs:attributeGroup name="initializer.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="initializer.role.attrib"/> + </xs:attributeGroup> + <!-- end of initializer.attlist --> + <!-- end of initializer.module --> + <xs:attributeGroup name="constructorsynopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A syntax summary for a constructor. --> + <xs:element name="constructorsynopsis" substitutionGroup="method.synop.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + <xs:element minOccurs="0" ref="methodname"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="methodparam"/> + <xs:element minOccurs="0" ref="void"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="exceptionname"/> + </xs:sequence> + <xs:attributeGroup ref="constructorsynopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of constructorsynopsis.element --> + <xs:attributeGroup name="constructorsynopsis.attlist"> + <xs:attribute name="language"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="constructorsynopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of constructorsynopsis.attlist --> + <!-- end of constructorsynopsis.module --> + <xs:attributeGroup name="destructorsynopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A syntax summary for a destructor. --> + <xs:element name="destructorsynopsis" substitutionGroup="method.synop.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + <xs:element minOccurs="0" ref="methodname"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="methodparam"/> + <xs:element minOccurs="0" ref="void"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="exceptionname"/> + </xs:sequence> + <xs:attributeGroup ref="destructorsynopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of destructorsynopsis.element --> + <xs:attributeGroup name="destructorsynopsis.attlist"> + <xs:attribute name="language"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="destructorsynopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of destructorsynopsis.attlist --> + <!-- end of destructorsynopsis.module --> + <xs:attributeGroup name="methodsynopsis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A syntax summary for a method. --> + <xs:element name="methodsynopsis" substitutionGroup="method.synop.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + <xs:choice minOccurs="0"> + <xs:element ref="type"/> + <xs:element ref="void"/> + </xs:choice> + <xs:element ref="methodname"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="methodparam"/> + <xs:element minOccurs="0" ref="void"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="exceptionname"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + </xs:sequence> + <xs:attributeGroup ref="methodsynopsis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of methodsynopsis.element --> + <xs:attributeGroup name="methodsynopsis.attlist"> + <xs:attribute name="language"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="methodsynopsis.role.attrib"/> + </xs:attributeGroup> + <!-- end of methodsynopsis.attlist --> + <!-- end of methodsynopsis.module --> + <xs:attributeGroup name="methodname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a method. --> + <xs:element name="methodname" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="methodname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of methodname.element --> + <xs:attributeGroup name="methodname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="methodname.role.attrib"/> + </xs:attributeGroup> + <!-- end of methodname.attlist --> + <!-- end of methodname.module --> + <xs:attributeGroup name="methodparam.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Parameters to a method. --> + <xs:element name="methodparam"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + <xs:element minOccurs="0" ref="type"/> + <xs:choice> + <xs:sequence> + <xs:element ref="parameter"/> + <xs:element minOccurs="0" ref="initializer"/> + </xs:sequence> + <xs:element ref="funcparams"/> + </xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifier"/> + </xs:sequence> + <xs:attributeGroup ref="methodparam.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of methodparam.element --> + <xs:attributeGroup name="methodparam.attlist"> + <xs:attribute name="choice" default="req"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="opt"/> + <xs:enumeration value="req"/> + <xs:enumeration value="plain"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="rep" default="norepeat"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="norepeat"/> + <xs:enumeration value="repeat"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="methodparam.role.attrib"/> + </xs:attributeGroup> + <!-- end of methodparam.attlist --> + <!-- end of methodparam.module --> + <!-- end of classsynopsis.content.module --> + <!-- ...................................................................... --> + <!-- Document information entities and elements ........................... --> + <!-- + The document information elements include some elements that are + currently used only in the document hierarchy module. They are + defined here so that they will be available for use in customized + document hierarchies. + --> + <!-- .................................. --> + <!-- Ackno ............................ --> + <xs:attributeGroup name="ackno.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Acknowledgements in an Article. --> + <xs:element name="ackno"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="ackno.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of ackno.element --> + <xs:attributeGroup name="ackno.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="ackno.role.attrib"/> + </xs:attributeGroup> + <!-- end of ackno.attlist --> + <!-- end of ackno.module --> + <!-- Address .......................... --> + <xs:attributeGroup name="address.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A real-world address, generally a postal address. --> + <xs:element name="address" substitutionGroup="informal.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="personname"/> + <xs:group ref="person.ident.mix"/> + <xs:element ref="street"/> + <xs:element ref="pob"/> + <xs:element ref="postcode"/> + <xs:element ref="city"/> + <xs:element ref="state"/> + <xs:element ref="country"/> + <xs:element ref="phone"/> + <xs:element ref="fax"/> + <xs:element ref="email"/> + <xs:element ref="otheraddr"/> + </xs:choice> + <xs:attributeGroup ref="address.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of address.element --> + <xs:attributeGroup name="address.attlist"> + <xs:attributeGroup ref="linespecific.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="address.role.attrib"/> + </xs:attributeGroup> + <!-- end of address.attlist --> + <!-- end of address.module --> + <xs:attributeGroup name="street.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A street address in an address. --> + <xs:element name="street"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="street.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of street.element --> + <xs:attributeGroup name="street.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="street.role.attrib"/> + </xs:attributeGroup> + <!-- end of street.attlist --> + <!-- end of street.module --> + <xs:attributeGroup name="pob.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A post office box in an address. --> + <xs:element name="pob"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="pob.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of pob.element --> + <xs:attributeGroup name="pob.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="pob.role.attrib"/> + </xs:attributeGroup> + <!-- end of pob.attlist --> + <!-- end of pob.module --> + <xs:attributeGroup name="postcode.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A postal code in an address. --> + <xs:element name="postcode"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="postcode.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of postcode.element --> + <xs:attributeGroup name="postcode.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="postcode.role.attrib"/> + </xs:attributeGroup> + <!-- end of postcode.attlist --> + <!-- end of postcode.module --> + <xs:attributeGroup name="city.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a city in an address. --> + <xs:element name="city"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="city.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of city.element --> + <xs:attributeGroup name="city.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="city.role.attrib"/> + </xs:attributeGroup> + <!-- end of city.attlist --> + <!-- end of city.module --> + <xs:attributeGroup name="state.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A state or province in an address. --> + <xs:element name="state"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="state.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of state.element --> + <xs:attributeGroup name="state.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="state.role.attrib"/> + </xs:attributeGroup> + <!-- end of state.attlist --> + <!-- end of state.module --> + <xs:attributeGroup name="country.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a country. --> + <xs:element name="country"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="country.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of country.element --> + <xs:attributeGroup name="country.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="country.role.attrib"/> + </xs:attributeGroup> + <!-- end of country.attlist --> + <!-- end of country.module --> + <xs:attributeGroup name="phone.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A telephone number. --> + <xs:element name="phone"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="phone.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of phone.element --> + <xs:attributeGroup name="phone.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="phone.role.attrib"/> + </xs:attributeGroup> + <!-- end of phone.attlist --> + <!-- end of phone.module --> + <xs:attributeGroup name="fax.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A fax number. --> + <xs:element name="fax"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="fax.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of fax.element --> + <xs:attributeGroup name="fax.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="fax.role.attrib"/> + </xs:attributeGroup> + <!-- end of fax.attlist --> + <!-- end of fax.module --> + <!-- Email (defined in the Inlines section, below) --> + <xs:attributeGroup name="otheraddr.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Uncategorized information in address. --> + <xs:element name="otheraddr"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="otheraddr.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of otheraddr.element --> + <xs:attributeGroup name="otheraddr.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="otheraddr.role.attrib"/> + </xs:attributeGroup> + <!-- end of otheraddr.attlist --> + <!-- end of otheraddr.module --> + <!-- end of address.content.module --> + <!-- Affiliation ...................... --> + <xs:attributeGroup name="affiliation.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The institutional affiliation of an individual. --> + <xs:element name="affiliation"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="shortaffil"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="jobtitle"/> + <xs:element minOccurs="0" ref="orgname"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="orgdiv"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="address"/> + </xs:sequence> + <xs:attributeGroup ref="affiliation.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of affiliation.element --> + <xs:attributeGroup name="affiliation.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="affiliation.role.attrib"/> + </xs:attributeGroup> + <!-- end of affiliation.attlist --> + <!-- end of affiliation.module --> + <xs:attributeGroup name="shortaffil.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A brief description of an affiliation. --> + <xs:element name="shortaffil"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="shortaffil.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of shortaffil.element --> + <xs:attributeGroup name="shortaffil.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="shortaffil.role.attrib"/> + </xs:attributeGroup> + <!-- end of shortaffil.attlist --> + <!-- end of shortaffil.module --> + <xs:attributeGroup name="jobtitle.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The title of an individual in an organization. --> + <xs:element name="jobtitle"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="jobtitle.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of jobtitle.element --> + <xs:attributeGroup name="jobtitle.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="jobtitle.role.attrib"/> + </xs:attributeGroup> + <!-- end of jobtitle.attlist --> + <!-- end of jobtitle.module --> + <!-- OrgName (defined elsewhere in this section) --> + <xs:attributeGroup name="orgdiv.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A division of an organization. --> + <xs:element name="orgdiv"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="orgdiv.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of orgdiv.element --> + <xs:attributeGroup name="orgdiv.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="orgdiv.role.attrib"/> + </xs:attributeGroup> + <!-- end of orgdiv.attlist --> + <!-- end of orgdiv.module --> + <!-- Address (defined elsewhere in this section) --> + <!-- end of affiliation.content.module --> + <!-- ArtPageNums ...................... --> + <xs:attributeGroup name="artpagenums.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The page numbers of an article as published. --> + <xs:element name="artpagenums"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="artpagenums.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of artpagenums.element --> + <xs:attributeGroup name="artpagenums.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="artpagenums.role.attrib"/> + </xs:attributeGroup> + <!-- end of artpagenums.attlist --> + <!-- end of artpagenums.module --> + <!-- PersonName --> + <xs:attributeGroup name="personname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The personal name of an individual. --> + <xs:element name="personname" substitutionGroup="gen.char.class"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="honorific"/> + <xs:element ref="firstname"/> + <xs:element ref="surname"/> + <xs:element ref="lineage"/> + <xs:element ref="othername"/> + </xs:choice> + <xs:attributeGroup ref="personname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of personname.element --> + <xs:attributeGroup name="personname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="personname.role.attrib"/> + </xs:attributeGroup> + <!-- end of personname.attlist --> + <!-- end of personname.module --> + <!-- Author ........................... --> + <xs:attributeGroup name="author.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of an individual author. --> + <xs:element name="author" substitutionGroup="docinfo.char.class"> + <xs:complexType> + <xs:sequence> + <xs:choice> + <xs:element ref="personname"/> + <xs:group maxOccurs="unbounded" ref="person.ident.mix"/> + </xs:choice> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="personblurb"/> + <xs:element ref="email"/> + <xs:element ref="address"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="author.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of author.element --> + <xs:attributeGroup name="author.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="author.role.attrib"/> + </xs:attributeGroup> + <!-- end of author.attlist --> + <!-- (see "Personal identity elements" for %person.ident.mix;) --> + <!-- end of author.module --> + <!-- AuthorGroup ...................... --> + <xs:attributeGroup name="authorgroup.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Wrapper for author information when a document has multiple authors or collabarators. --> + <xs:element name="authorgroup"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="author"/> + <xs:element ref="editor"/> + <xs:element ref="collab"/> + <xs:element ref="corpauthor"/> + <xs:element ref="corpcredit"/> + <xs:element ref="othercredit"/> + </xs:choice> + <xs:attributeGroup ref="authorgroup.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of authorgroup.element --> + <xs:attributeGroup name="authorgroup.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="authorgroup.role.attrib"/> + </xs:attributeGroup> + <!-- end of authorgroup.attlist --> + <!-- end of authorgroup.module --> + <!-- Author (defined elsewhere in this section) --> + <!-- Editor (defined elsewhere in this section) --> + <xs:attributeGroup name="collab.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Identifies a collaborator. --> + <xs:element name="collab"> + <xs:complexType> + <xs:sequence> + <xs:element ref="collabname"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="affiliation"/> + </xs:sequence> + <xs:attributeGroup ref="collab.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of collab.element --> + <xs:attributeGroup name="collab.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="collab.role.attrib"/> + </xs:attributeGroup> + <!-- end of collab.attlist --> + <!-- end of collab.module --> + <xs:attributeGroup name="collabname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a collaborator. --> + <xs:element name="collabname"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="collabname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of collabname.element --> + <xs:attributeGroup name="collabname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="collabname.role.attrib"/> + </xs:attributeGroup> + <!-- end of collabname.attlist --> + <!-- end of collabname.module --> + <!-- Affiliation (defined elsewhere in this section) --> + <!-- end of collab.content.module --> + <!-- CorpAuthor (defined elsewhere in this section) --> + <!-- OtherCredit (defined elsewhere in this section) --> + <!-- end of authorgroup.content.module --> + <!-- AuthorInitials ................... --> + <xs:attributeGroup name="authorinitials.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The initials or other short identifier for an author. --> + <xs:element name="authorinitials" substitutionGroup="docinfo.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="authorinitials.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of authorinitials.element --> + <xs:attributeGroup name="authorinitials.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="authorinitials.role.attrib"/> + </xs:attributeGroup> + <!-- end of authorinitials.attlist --> + <!-- end of authorinitials.module --> + <!-- ConfGroup ........................ --> + <xs:attributeGroup name="confgroup.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for document meta-information about a conference. --> + <xs:element name="confgroup"> + <xs:complexType> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="confdates"/> + <xs:element ref="conftitle"/> + <xs:element ref="confnum"/> + <xs:element ref="address"/> + <xs:element ref="confsponsor"/> + </xs:choice> + <xs:attributeGroup ref="confgroup.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of confgroup.element --> + <xs:attributeGroup name="confgroup.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="confgroup.role.attrib"/> + </xs:attributeGroup> + <!-- end of confgroup.attlist --> + <!-- end of confgroup.module --> + <xs:attributeGroup name="confdates.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The dates of a conference for which a document was written. --> + <xs:element name="confdates"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="confdates.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of confdates.element --> + <xs:attributeGroup name="confdates.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="confdates.role.attrib"/> + </xs:attributeGroup> + <!-- end of confdates.attlist --> + <!-- end of confdates.module --> + <xs:attributeGroup name="conftitle.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The title of a conference for which a document was written. --> + <xs:element name="conftitle"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="conftitle.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of conftitle.element --> + <xs:attributeGroup name="conftitle.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="conftitle.role.attrib"/> + </xs:attributeGroup> + <!-- end of conftitle.attlist --> + <!-- end of conftitle.module --> + <xs:attributeGroup name="confnum.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An identifier, frequently numerical, associated with a conference for which a document was written. --> + <xs:element name="confnum"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="confnum.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of confnum.element --> + <xs:attributeGroup name="confnum.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="confnum.role.attrib"/> + </xs:attributeGroup> + <!-- end of confnum.attlist --> + <!-- end of confnum.module --> + <!-- Address (defined elsewhere in this section) --> + <xs:attributeGroup name="confsponsor.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The sponsor of a conference for which a document was written. --> + <xs:element name="confsponsor"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="confsponsor.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of confsponsor.element --> + <xs:attributeGroup name="confsponsor.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="confsponsor.role.attrib"/> + </xs:attributeGroup> + <!-- end of confsponsor.attlist --> + <!-- end of confsponsor.module --> + <!-- end of confgroup.content.module --> + <!-- ContractNum ...................... --> + <xs:attributeGroup name="contractnum.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The contract number of a document. --> + <xs:element name="contractnum"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="contractnum.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of contractnum.element --> + <xs:attributeGroup name="contractnum.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="contractnum.role.attrib"/> + </xs:attributeGroup> + <!-- end of contractnum.attlist --> + <!-- end of contractnum.module --> + <!-- ContractSponsor .................. --> + <xs:attributeGroup name="contractsponsor.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The sponsor of a contract. --> + <xs:element name="contractsponsor"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="contractsponsor.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of contractsponsor.element --> + <xs:attributeGroup name="contractsponsor.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="contractsponsor.role.attrib"/> + </xs:attributeGroup> + <!-- end of contractsponsor.attlist --> + <!-- end of contractsponsor.module --> + <!-- Copyright ........................ --> + <xs:attributeGroup name="copyright.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Copyright information about a document. --> + <xs:element name="copyright"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="year"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="holder"/> + </xs:sequence> + <xs:attributeGroup ref="copyright.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of copyright.element --> + <xs:attributeGroup name="copyright.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="copyright.role.attrib"/> + </xs:attributeGroup> + <!-- end of copyright.attlist --> + <!-- end of copyright.module --> + <xs:attributeGroup name="year.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The year of publication of a document. --> + <xs:element name="year"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="year.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of year.element --> + <xs:attributeGroup name="year.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="year.role.attrib"/> + </xs:attributeGroup> + <!-- end of year.attlist --> + <!-- end of year.module --> + <xs:attributeGroup name="holder.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of the individual or organization that holds a copyright. --> + <xs:element name="holder"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="holder.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of holder.element --> + <xs:attributeGroup name="holder.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="holder.role.attrib"/> + </xs:attributeGroup> + <!-- end of holder.attlist --> + <!-- end of holder.module --> + <!-- end of copyright.content.module --> + <!-- CorpAuthor ....................... --> + <xs:attributeGroup name="corpauthor.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A corporate author, as opposed to an individual. --> + <xs:element name="corpauthor" substitutionGroup="docinfo.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="corpauthor.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of corpauthor.element --> + <xs:attributeGroup name="corpauthor.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="corpauthor.role.attrib"/> + </xs:attributeGroup> + <!-- end of corpauthor.attlist --> + <!-- end of corpauthor.module --> + <!-- CorpCredit ...................... --> + <xs:attributeGroup name="corpcredit.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A corporation or organization credited in a document. --> + <xs:element name="corpcredit" substitutionGroup="docinfo.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="corpcredit.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of corpcredit.element --> + <xs:attributeGroup name="corpcredit.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="graphicdesigner"/> + <xs:enumeration value="productioneditor"/> + <xs:enumeration value="copyeditor"/> + <xs:enumeration value="technicaleditor"/> + <xs:enumeration value="translator"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="corpcredit.role.attrib"/> + </xs:attributeGroup> + <!-- end of corpcredit.attlist --> + <!-- end of corpcredit.module --> + <!-- CorpName ......................... --> + <!-- doc:The name of a corporation. --> + <xs:element name="corpname"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="corpname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of corpname.element --> + <xs:attributeGroup name="corpname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <xs:attributeGroup name="corpname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="corpname.role.attrib"/> + </xs:attributeGroup> + <!-- end of corpname.attlist --> + <!-- end of corpname.module --> + <!-- Date ............................. --> + <xs:attributeGroup name="date.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The date of publication or revision of a document. --> + <xs:element name="date"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="date.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of date.element --> + <xs:attributeGroup name="date.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="date.role.attrib"/> + </xs:attributeGroup> + <!-- end of date.attlist --> + <!-- end of date.module --> + <!-- Edition .......................... --> + <xs:attributeGroup name="edition.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name or number of an edition of a document. --> + <xs:element name="edition"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="edition.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of edition.element --> + <xs:attributeGroup name="edition.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="edition.role.attrib"/> + </xs:attributeGroup> + <!-- end of edition.attlist --> + <!-- end of edition.module --> + <!-- Editor ........................... --> + <xs:attributeGroup name="editor.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of the editor of a document. --> + <xs:element name="editor"> + <xs:complexType> + <xs:sequence> + <xs:choice> + <xs:element ref="personname"/> + <xs:group maxOccurs="unbounded" ref="person.ident.mix"/> + </xs:choice> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="personblurb"/> + <xs:element ref="email"/> + <xs:element ref="address"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="editor.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of editor.element --> + <xs:attributeGroup name="editor.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="editor.role.attrib"/> + </xs:attributeGroup> + <!-- end of editor.attlist --> + <!-- (see "Personal identity elements" for %person.ident.mix;) --> + <!-- end of editor.module --> + <!-- ISBN ............................. --> + <xs:attributeGroup name="isbn.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The International Standard Book Number of a document. --> + <xs:element name="isbn"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="isbn.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of isbn.element --> + <xs:attributeGroup name="isbn.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="isbn.role.attrib"/> + </xs:attributeGroup> + <!-- end of isbn.attlist --> + <!-- end of isbn.module --> + <!-- ISSN ............................. --> + <xs:attributeGroup name="issn.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The International Standard Serial Number of a periodical. --> + <xs:element name="issn"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="issn.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of issn.element --> + <xs:attributeGroup name="issn.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="issn.role.attrib"/> + </xs:attributeGroup> + <!-- end of issn.attlist --> + <!-- end of issn.module --> + <!-- BiblioId ................. --> + <xs:attributeGroup name="biblio.class.attrib"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="uri"/> + <xs:enumeration value="doi"/> + <xs:enumeration value="isbn"/> + <xs:enumeration value="isrn"/> + <xs:enumeration value="issn"/> + <xs:enumeration value="libraryofcongress"/> + <xs:enumeration value="pubnumber"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otherclass"/> + </xs:attributeGroup> + <xs:attributeGroup name="biblioid.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An identifier for a document. --> + <xs:element name="biblioid"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="biblioid.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of biblioid.element --> + <xs:attributeGroup name="biblioid.attlist"> + <xs:attributeGroup ref="biblio.class.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="biblioid.role.attrib"/> + </xs:attributeGroup> + <!-- end of biblioid.attlist --> + <!-- end of biblioid.module --> + <!-- CiteBiblioId ................. --> + <xs:attributeGroup name="citebiblioid.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A citation of a bibliographic identifier. --> + <xs:element name="citebiblioid" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="citebiblioid.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of citebiblioid.element --> + <xs:attributeGroup name="citebiblioid.attlist"> + <xs:attributeGroup ref="biblio.class.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="citebiblioid.role.attrib"/> + </xs:attributeGroup> + <!-- end of citebiblioid.attlist --> + <!-- end of citebiblioid.module --> + <!-- BiblioSource ................. --> + <xs:attributeGroup name="bibliosource.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The source of a document. --> + <xs:element name="bibliosource"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="bibliosource.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliosource.element --> + <xs:attributeGroup name="bibliosource.attlist"> + <xs:attributeGroup ref="biblio.class.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliosource.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliosource.attlist --> + <!-- end of bibliosource.module --> + <!-- BiblioRelation ................. --> + <xs:attributeGroup name="bibliorelation.type.attrib"> + <xs:attribute name="type"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="isversionof"/> + <xs:enumeration value="hasversion"/> + <xs:enumeration value="isreplacedby"/> + <xs:enumeration value="replaces"/> + <xs:enumeration value="isrequiredby"/> + <xs:enumeration value="requires"/> + <xs:enumeration value="ispartof"/> + <xs:enumeration value="haspart"/> + <xs:enumeration value="isreferencedby"/> + <xs:enumeration value="references"/> + <xs:enumeration value="isformatof"/> + <xs:enumeration value="hasformat"/> + <xs:enumeration value="othertype"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="othertype"/> + </xs:attributeGroup> + <xs:attributeGroup name="bibliorelation.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The relationship of a document to another. --> + <xs:element name="bibliorelation"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="bibliorelation.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliorelation.element --> + <xs:attributeGroup name="bibliorelation.attlist"> + <xs:attributeGroup ref="biblio.class.attrib"/> + <xs:attributeGroup ref="bibliorelation.type.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliorelation.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliorelation.attlist --> + <!-- end of bibliorelation.module --> + <!-- BiblioCoverage ................. --> + <xs:attributeGroup name="bibliocoverage.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The spatial or temporal coverage of a document. --> + <xs:element name="bibliocoverage"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="bibliocoverage.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of bibliocoverage.element --> + <xs:attributeGroup name="bibliocoverage.attlist"> + <xs:attribute name="spatial"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="dcmipoint"/> + <xs:enumeration value="iso3166"/> + <xs:enumeration value="dcmibox"/> + <xs:enumeration value="tgn"/> + <xs:enumeration value="otherspatial"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otherspatial"/> + <xs:attribute name="temporal"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="dcmiperiod"/> + <xs:enumeration value="w3c-dtf"/> + <xs:enumeration value="othertemporal"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="othertemporal"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="bibliocoverage.role.attrib"/> + </xs:attributeGroup> + <!-- end of bibliocoverage.attlist --> + <!-- end of bibliocoverage.module --> + <!-- InvPartNumber .................... --> + <xs:attributeGroup name="invpartnumber.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An inventory part number. --> + <xs:element name="invpartnumber"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="invpartnumber.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of invpartnumber.element --> + <xs:attributeGroup name="invpartnumber.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="invpartnumber.role.attrib"/> + </xs:attributeGroup> + <!-- end of invpartnumber.attlist --> + <!-- end of invpartnumber.module --> + <!-- IssueNum ......................... --> + <xs:attributeGroup name="issuenum.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The number of an issue of a journal. --> + <xs:element name="issuenum"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="issuenum.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of issuenum.element --> + <xs:attributeGroup name="issuenum.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="issuenum.role.attrib"/> + </xs:attributeGroup> + <!-- end of issuenum.attlist --> + <!-- end of issuenum.module --> + <!-- LegalNotice ...................... --> + <xs:attributeGroup name="legalnotice.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A statement of legal obligations or requirements. --> + <xs:element name="legalnotice"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:element minOccurs="0" ref="title"/> + <xs:group maxOccurs="unbounded" ref="legalnotice.mix"/> + </xs:sequence> + <xs:attributeGroup ref="legalnotice.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of legalnotice.element --> + <xs:attributeGroup name="legalnotice.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="legalnotice.role.attrib"/> + </xs:attributeGroup> + <!-- end of legalnotice.attlist --> + <!-- end of legalnotice.module --> + <!-- ModeSpec ......................... --> + <xs:attributeGroup name="modespec.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Application-specific information necessary for the completion of an OLink. --> + <xs:element name="modespec" substitutionGroup="docinfo.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="modespec.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of modespec.element --> + <!-- + Application: Type of action required for completion + of the links to which the ModeSpec is relevant (e.g., + retrieval query) + --> + <xs:attributeGroup name="modespec.attlist"> + <xs:attribute name="application" type="notation.class"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="modespec.role.attrib"/> + </xs:attributeGroup> + <!-- end of modespec.attlist --> + <!-- end of modespec.module --> + <!-- OrgName .......................... --> + <xs:attributeGroup name="orgname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of an organization other than a corporation. --> + <xs:element name="orgname" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="orgname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of orgname.element --> + <xs:attributeGroup name="orgname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="corporation"/> + <xs:enumeration value="nonprofit"/> + <xs:enumeration value="consortium"/> + <xs:enumeration value="informal"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otherclass"/> + <xs:attributeGroup ref="orgname.role.attrib"/> + </xs:attributeGroup> + <!-- end of orgname.attlist --> + <!-- end of orgname.module --> + <!-- OtherCredit ...................... --> + <xs:attributeGroup name="othercredit.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A person or entity, other than an author or editor, credited in a document. --> + <xs:element name="othercredit" substitutionGroup="docinfo.char.class"> + <xs:complexType> + <xs:sequence> + <xs:choice> + <xs:element ref="personname"/> + <xs:group maxOccurs="unbounded" ref="person.ident.mix"/> + </xs:choice> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="personblurb"/> + <xs:element ref="email"/> + <xs:element ref="address"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="othercredit.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of othercredit.element --> + <xs:attributeGroup name="othercredit.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="graphicdesigner"/> + <xs:enumeration value="productioneditor"/> + <xs:enumeration value="copyeditor"/> + <xs:enumeration value="technicaleditor"/> + <xs:enumeration value="translator"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="othercredit.role.attrib"/> + </xs:attributeGroup> + <!-- end of othercredit.attlist --> + <!-- (see "Personal identity elements" for %person.ident.mix;) --> + <!-- end of othercredit.module --> + <!-- PageNums ......................... --> + <xs:attributeGroup name="pagenums.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The numbers of the pages in a book, for use in a bibliographic entry. --> + <xs:element name="pagenums"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="pagenums.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of pagenums.element --> + <xs:attributeGroup name="pagenums.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="pagenums.role.attrib"/> + </xs:attributeGroup> + <!-- end of pagenums.attlist --> + <!-- end of pagenums.module --> + <!-- Personal identity elements ....... --> + <!-- + These elements are used only within Author, Editor, and + OtherCredit. + --> + <xs:attributeGroup name="contrib.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A summary of the contributions made to a document by a credited source. --> + <xs:element name="contrib"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="contrib.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of contrib.element --> + <xs:attributeGroup name="contrib.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="contrib.role.attrib"/> + </xs:attributeGroup> + <!-- end of contrib.attlist --> + <!-- end of contrib.module --> + <xs:attributeGroup name="firstname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The first name of a person. --> + <xs:element name="firstname"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="firstname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of firstname.element --> + <xs:attributeGroup name="firstname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="firstname.role.attrib"/> + </xs:attributeGroup> + <!-- end of firstname.attlist --> + <!-- end of firstname.module --> + <xs:attributeGroup name="honorific.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The title of a person. --> + <xs:element name="honorific"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="honorific.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of honorific.element --> + <xs:attributeGroup name="honorific.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="honorific.role.attrib"/> + </xs:attributeGroup> + <!-- end of honorific.attlist --> + <!-- end of honorific.module --> + <xs:attributeGroup name="lineage.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The portion of a person's name indicating a relationship to ancestors. --> + <xs:element name="lineage"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="lineage.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of lineage.element --> + <xs:attributeGroup name="lineage.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="lineage.role.attrib"/> + </xs:attributeGroup> + <!-- end of lineage.attlist --> + <!-- end of lineage.module --> + <xs:attributeGroup name="othername.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A component of a persons name that is not a first name, surname, or lineage. --> + <xs:element name="othername"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="othername.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of othername.element --> + <xs:attributeGroup name="othername.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="othername.role.attrib"/> + </xs:attributeGroup> + <!-- end of othername.attlist --> + <!-- end of othername.module --> + <xs:attributeGroup name="surname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A family name; in western cultures the last name. --> + <xs:element name="surname"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="surname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of surname.element --> + <xs:attributeGroup name="surname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="surname.role.attrib"/> + </xs:attributeGroup> + <!-- end of surname.attlist --> + <!-- end of surname.module --> + <!-- end of person.ident.module --> + <!-- PrintHistory ..................... --> + <xs:attributeGroup name="printhistory.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The printing history of a document. --> + <xs:element name="printhistory"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="para.class"/> + </xs:sequence> + <xs:attributeGroup ref="printhistory.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of printhistory.element --> + <xs:attributeGroup name="printhistory.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="printhistory.role.attrib"/> + </xs:attributeGroup> + <!-- end of printhistory.attlist --> + <!-- end of printhistory.module --> + <!-- ProductName ...................... --> + <xs:attributeGroup name="productname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The formal name of a product. --> + <xs:element name="productname" substitutionGroup="docinfo.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="productname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of productname.element --> + <!-- Class: More precisely identifies the item the element names --> + <xs:attributeGroup name="productname.attlist"> + <xs:attribute name="class" default="trade"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="service"/> + <xs:enumeration value="trade"/> + <xs:enumeration value="registered"/> + <xs:enumeration value="copyright"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="productname.role.attrib"/> + </xs:attributeGroup> + <!-- end of productname.attlist --> + <!-- end of productname.module --> + <!-- ProductNumber .................... --> + <xs:attributeGroup name="productnumber.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A number assigned to a product. --> + <xs:element name="productnumber" substitutionGroup="docinfo.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="productnumber.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of productnumber.element --> + <xs:attributeGroup name="productnumber.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="productnumber.role.attrib"/> + </xs:attributeGroup> + <!-- end of productnumber.attlist --> + <!-- end of productnumber.module --> + <!-- PubDate .......................... --> + <xs:attributeGroup name="pubdate.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The date of publication of a document. --> + <xs:element name="pubdate"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="pubdate.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of pubdate.element --> + <xs:attributeGroup name="pubdate.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="pubdate.role.attrib"/> + </xs:attributeGroup> + <!-- end of pubdate.attlist --> + <!-- end of pubdate.module --> + <!-- Publisher ........................ --> + <xs:attributeGroup name="publisher.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The publisher of a document. --> + <xs:element name="publisher"> + <xs:complexType> + <xs:sequence> + <xs:element ref="publishername"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="address"/> + </xs:sequence> + <xs:attributeGroup ref="publisher.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of publisher.element --> + <xs:attributeGroup name="publisher.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="publisher.role.attrib"/> + </xs:attributeGroup> + <!-- end of publisher.attlist --> + <!-- end of publisher.module --> + <xs:attributeGroup name="publishername.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of the publisher of a document. --> + <xs:element name="publishername"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="publishername.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of publishername.element --> + <xs:attributeGroup name="publishername.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="publishername.role.attrib"/> + </xs:attributeGroup> + <!-- end of publishername.attlist --> + <!-- end of publishername.module --> + <!-- Address (defined elsewhere in this section) --> + <!-- end of publisher.content.module --> + <!-- PubsNumber ....................... --> + <xs:attributeGroup name="pubsnumber.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A number assigned to a publication other than an ISBN or ISSN or inventory part number. --> + <xs:element name="pubsnumber"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="pubsnumber.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of pubsnumber.element --> + <xs:attributeGroup name="pubsnumber.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="pubsnumber.role.attrib"/> + </xs:attributeGroup> + <!-- end of pubsnumber.attlist --> + <!-- end of pubsnumber.module --> + <!-- ReleaseInfo ...................... --> + <xs:attributeGroup name="releaseinfo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Information about a particular release of a document. --> + <xs:element name="releaseinfo"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="releaseinfo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of releaseinfo.element --> + <xs:attributeGroup name="releaseinfo.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="releaseinfo.role.attrib"/> + </xs:attributeGroup> + <!-- end of releaseinfo.attlist --> + <!-- end of releaseinfo.module --> + <!-- RevHistory ....................... --> + <xs:attributeGroup name="revhistory.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A history of the revisions to a document. --> + <xs:element name="revhistory" substitutionGroup="docinfo.char.class"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="revision"/> + </xs:sequence> + <xs:attributeGroup ref="revhistory.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of revhistory.element --> + <xs:attributeGroup name="revhistory.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="revhistory.role.attrib"/> + </xs:attributeGroup> + <!-- end of revhistory.attlist --> + <!-- end of revhistory.module --> + <xs:attributeGroup name="revision.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An entry describing a single revision in the history of the revisions to a document. --> + <xs:element name="revision"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="revnumber"/> + <xs:element ref="date"/> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="author"/> + <xs:element ref="authorinitials"/> + </xs:choice> + <xs:choice minOccurs="0"> + <xs:element ref="revremark"/> + <xs:element ref="revdescription"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="revision.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of revision.element --> + <xs:attributeGroup name="revision.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="revision.role.attrib"/> + </xs:attributeGroup> + <!-- end of revision.attlist --> + <!-- end of revision.module --> + <xs:attributeGroup name="revnumber.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A document revision number. --> + <xs:element name="revnumber"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="revnumber.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of revnumber.element --> + <xs:attributeGroup name="revnumber.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="revnumber.role.attrib"/> + </xs:attributeGroup> + <!-- end of revnumber.attlist --> + <!-- end of revnumber.module --> + <!-- Date (defined elsewhere in this section) --> + <!-- AuthorInitials (defined elsewhere in this section) --> + <xs:attributeGroup name="revremark.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A description of a revision to a document. --> + <xs:element name="revremark"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="revremark.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of revremark.element --> + <xs:attributeGroup name="revremark.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="revremark.role.attrib"/> + </xs:attributeGroup> + <!-- end of revremark.attlist --> + <!-- end of revremark.module --> + <xs:attributeGroup name="revdescription.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A extended description of a revision to a document. --> + <xs:element name="revdescription"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="revdescription.mix"/> + <xs:attributeGroup ref="revdescription.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of revdescription.element --> + <xs:attributeGroup name="revdescription.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="revdescription.role.attrib"/> + </xs:attributeGroup> + <!-- end of revdescription.attlist --> + <!-- end of revdescription.module --> + <!-- end of revhistory.content.module --> + <!-- SeriesVolNums .................... --> + <xs:attributeGroup name="seriesvolnums.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Numbers of the volumes in a series of books. --> + <xs:element name="seriesvolnums"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="seriesvolnums.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of seriesvolnums.element --> + <xs:attributeGroup name="seriesvolnums.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="seriesvolnums.role.attrib"/> + </xs:attributeGroup> + <!-- end of seriesvolnums.attlist --> + <!-- end of seriesvolnums.module --> + <!-- VolumeNum ........................ --> + <xs:attributeGroup name="volumenum.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The volume number of a document in a set (as of books in a set or articles in a journal). --> + <xs:element name="volumenum"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="volumenum.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of volumenum.element --> + <xs:attributeGroup name="volumenum.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="volumenum.role.attrib"/> + </xs:attributeGroup> + <!-- end of volumenum.attlist --> + <!-- end of volumenum.module --> + <!-- .................................. --> + <!-- end of docinfo.content.module --> + <!-- ...................................................................... --> + <!-- Inline, link, and ubiquitous elements ................................ --> + <!-- Technical and computer terms ......................................... --> + <xs:attributeGroup name="accel.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A graphical user interface (GUI) keyboard shortcut. --> + <xs:element name="accel"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="accel.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of accel.element --> + <xs:attributeGroup name="accel.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="accel.role.attrib"/> + </xs:attributeGroup> + <!-- end of accel.attlist --> + <!-- end of accel.module --> + <xs:attributeGroup name="action.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A response to a user event. --> + <xs:element name="action" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="action.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of action.element --> + <xs:attributeGroup name="action.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="action.role.attrib"/> + </xs:attributeGroup> + <!-- end of action.attlist --> + <!-- end of action.module --> + <xs:attributeGroup name="application.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a software program. --> + <xs:element name="application" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="application.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of application.element --> + <xs:attributeGroup name="application.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="hardware"/> + <xs:enumeration value="software"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="application.role.attrib"/> + </xs:attributeGroup> + <!-- end of application.attlist --> + <!-- end of application.module --> + <xs:attributeGroup name="classname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a class, in the object-oriented programming sense. --> + <xs:element name="classname" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="classname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of classname.element --> + <xs:attributeGroup name="classname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="classname.role.attrib"/> + </xs:attributeGroup> + <!-- end of classname.attlist --> + <!-- end of classname.module --> + <xs:attributeGroup name="package.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A package. --> + <xs:element name="package" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="package.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of package.element --> + <xs:attributeGroup name="package.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="package.role.attrib"/> + </xs:attributeGroup> + <!-- end of package.attlist --> + <!-- end of package.module --> + <!-- + CO is a callout area of the LineColumn unit type (a single character + position); the position is directly indicated by the location of CO. + --> + <xs:attributeGroup name="co.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The location of a callout embedded in text. --> + <xs:element name="co"> + <xs:complexType> + <xs:attributeGroup ref="co.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of co.element --> + <!-- bug number/symbol override or initialization --> + <!-- to any related information --> + <xs:attributeGroup name="co.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="linkends.attrib"/> + <xs:attributeGroup ref="idreq.common.attrib"/> + <xs:attributeGroup ref="co.role.attrib"/> + </xs:attributeGroup> + <!-- end of co.attlist --> + <!-- end of co.module --> + <!-- COREF is a reference to a CO --> + <xs:attributeGroup name="coref.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A cross reference to a co. --> + <xs:element name="coref"> + <xs:complexType> + <xs:attributeGroup ref="coref.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of coref.element --> + <!-- bug number/symbol override or initialization --> + <!-- to any related information --> + <xs:attributeGroup name="coref.attlist"> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="linkendreq.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="coref.role.attrib"/> + </xs:attributeGroup> + <!-- end of coref.attlist --> + <!-- end of coref.module --> + <xs:attributeGroup name="command.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of an executable program or other software command. --> + <xs:element name="command" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="command.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of command.element --> + <xs:attributeGroup name="command.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="command.role.attrib"/> + </xs:attributeGroup> + <!-- end of command.attlist --> + <!-- end of command.module --> + <xs:attributeGroup name="computeroutput.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Data, generally text, displayed or presented by a computer. --> + <xs:element name="computeroutput" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="cptr.char.mix"/> + <xs:element ref="co"/> + </xs:choice> + <xs:attributeGroup ref="computeroutput.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of computeroutput.element --> + <xs:attributeGroup name="computeroutput.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="computeroutput.role.attrib"/> + </xs:attributeGroup> + <!-- end of computeroutput.attlist --> + <!-- end of computeroutput.module --> + <xs:attributeGroup name="database.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a database, or part of a database. --> + <xs:element name="database" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="database.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of database.element --> + <!-- Class: Type of database the element names; no default --> + <xs:attributeGroup name="database.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="name"/> + <xs:enumeration value="table"/> + <xs:enumeration value="field"/> + <xs:enumeration value="key1"/> + <xs:enumeration value="key2"/> + <xs:enumeration value="record"/> + <xs:enumeration value="index"/> + <xs:enumeration value="view"/> + <xs:enumeration value="primarykey"/> + <xs:enumeration value="secondarykey"/> + <xs:enumeration value="foreignkey"/> + <xs:enumeration value="altkey"/> + <xs:enumeration value="procedure"/> + <xs:enumeration value="datatype"/> + <xs:enumeration value="constraint"/> + <xs:enumeration value="rule"/> + <xs:enumeration value="user"/> + <xs:enumeration value="group"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="database.role.attrib"/> + </xs:attributeGroup> + <!-- end of database.attlist --> + <!-- end of database.module --> + <xs:attributeGroup name="email.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An email address. --> + <xs:element name="email" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="docinfo.char.mix"/> + <xs:attributeGroup ref="email.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of email.element --> + <xs:attributeGroup name="email.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="email.role.attrib"/> + </xs:attributeGroup> + <!-- end of email.attlist --> + <!-- end of email.module --> + <xs:attributeGroup name="envar.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A software environment variable. --> + <xs:element name="envar" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="envar.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of envar.element --> + <xs:attributeGroup name="envar.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="envar.role.attrib"/> + </xs:attributeGroup> + <!-- end of envar.attlist --> + <!-- end of envar.module --> + <xs:attributeGroup name="errorcode.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An error code. --> + <xs:element name="errorcode" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="errorcode.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of errorcode.element --> + <xs:attributeGroup name="errorcode.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="errorcode.role.attrib"/> + </xs:attributeGroup> + <!-- end of errorcode.attlist --> + <!-- end of errorcode.module --> + <xs:attributeGroup name="errorname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An error name. --> + <xs:element name="errorname" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="errorname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of errorname.element --> + <xs:attributeGroup name="errorname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="errorname.role.attrib"/> + </xs:attributeGroup> + <!-- end of errorname.attlist --> + <!-- end of errorname.module --> + <xs:attributeGroup name="errortext.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An error message.. --> + <xs:element name="errortext" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="errortext.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of errortext.element --> + <xs:attributeGroup name="errortext.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="errortext.role.attrib"/> + </xs:attributeGroup> + <!-- end of errortext.attlist --> + <!-- end of errortext.module --> + <xs:attributeGroup name="errortype.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The classification of an error message. --> + <xs:element name="errortype" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="errortype.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of errortype.element --> + <xs:attributeGroup name="errortype.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="errortype.role.attrib"/> + </xs:attributeGroup> + <!-- end of errortype.attlist --> + <!-- end of errortype.module --> + <xs:attributeGroup name="filename.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a file. --> + <xs:element name="filename" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="filename.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of filename.element --> + <!-- Class: Type of filename the element names; no default --> + <!-- + Path: Search path (possibly system-specific) in which + file can be found + --> + <xs:attributeGroup name="filename.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="headerfile"/> + <xs:enumeration value="partition"/> + <xs:enumeration value="devicefile"/> + <xs:enumeration value="libraryfile"/> + <xs:enumeration value="directory"/> + <xs:enumeration value="extension"/> + <xs:enumeration value="symlink"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="path"/> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="filename.role.attrib"/> + </xs:attributeGroup> + <!-- end of filename.attlist --> + <!-- end of filename.module --> + <xs:attributeGroup name="function.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a function or subroutine, as in a programming language. --> + <xs:element name="function" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="function.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of function.element --> + <xs:attributeGroup name="function.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="function.role.attrib"/> + </xs:attributeGroup> + <!-- end of function.attlist --> + <!-- end of function.module --> + <xs:attributeGroup name="guibutton.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The text on a button in a GUI. --> + <xs:element name="guibutton" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="accel"/> + <xs:element ref="superscript"/> + <xs:element ref="subscript"/> + </xs:choice> + <xs:attributeGroup ref="guibutton.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of guibutton.element --> + <xs:attributeGroup name="guibutton.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="guibutton.role.attrib"/> + </xs:attributeGroup> + <!-- end of guibutton.attlist --> + <!-- end of guibutton.module --> + <xs:attributeGroup name="guiicon.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Graphic and/or text appearing as a icon in a GUI. --> + <xs:element name="guiicon" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="accel"/> + <xs:element ref="superscript"/> + <xs:element ref="subscript"/> + </xs:choice> + <xs:attributeGroup ref="guiicon.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of guiicon.element --> + <xs:attributeGroup name="guiicon.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="guiicon.role.attrib"/> + </xs:attributeGroup> + <!-- end of guiicon.attlist --> + <!-- end of guiicon.module --> + <xs:attributeGroup name="guilabel.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The text of a label in a GUI. --> + <xs:element name="guilabel" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="accel"/> + <xs:element ref="superscript"/> + <xs:element ref="subscript"/> + </xs:choice> + <xs:attributeGroup ref="guilabel.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of guilabel.element --> + <xs:attributeGroup name="guilabel.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="guilabel.role.attrib"/> + </xs:attributeGroup> + <!-- end of guilabel.attlist --> + <!-- end of guilabel.module --> + <xs:attributeGroup name="guimenu.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a menu in a GUI. --> + <xs:element name="guimenu" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="accel"/> + <xs:element ref="superscript"/> + <xs:element ref="subscript"/> + </xs:choice> + <xs:attributeGroup ref="guimenu.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of guimenu.element --> + <xs:attributeGroup name="guimenu.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="guimenu.role.attrib"/> + </xs:attributeGroup> + <!-- end of guimenu.attlist --> + <!-- end of guimenu.module --> + <xs:attributeGroup name="guimenuitem.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a terminal menu item in a GUI. --> + <xs:element name="guimenuitem" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="accel"/> + <xs:element ref="superscript"/> + <xs:element ref="subscript"/> + </xs:choice> + <xs:attributeGroup ref="guimenuitem.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of guimenuitem.element --> + <xs:attributeGroup name="guimenuitem.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="guimenuitem.role.attrib"/> + </xs:attributeGroup> + <!-- end of guimenuitem.attlist --> + <!-- end of guimenuitem.module --> + <xs:attributeGroup name="guisubmenu.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a submenu in a GUI. --> + <xs:element name="guisubmenu" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="accel"/> + <xs:element ref="superscript"/> + <xs:element ref="subscript"/> + </xs:choice> + <xs:attributeGroup ref="guisubmenu.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of guisubmenu.element --> + <xs:attributeGroup name="guisubmenu.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="guisubmenu.role.attrib"/> + </xs:attributeGroup> + <!-- end of guisubmenu.attlist --> + <!-- end of guisubmenu.module --> + <xs:attributeGroup name="hardware.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A physical part of a computer system. --> + <xs:element name="hardware" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="hardware.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of hardware.element --> + <xs:attributeGroup name="hardware.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="hardware.role.attrib"/> + </xs:attributeGroup> + <!-- end of hardware.attlist --> + <!-- end of hardware.module --> + <xs:attributeGroup name="interface.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An element of a GUI. --> + <xs:element name="interface" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="accel"/> + </xs:choice> + <xs:attributeGroup ref="interface.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of interface.element --> + <!-- Class: Type of the Interface item; no default --> + <xs:attributeGroup name="interface.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="interface.role.attrib"/> + </xs:attributeGroup> + <!-- end of interface.attlist --> + <!-- end of interface.module --> + <xs:attributeGroup name="keycap.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The text printed on a key on a keyboard. --> + <xs:element name="keycap" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="keycap.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of keycap.element --> + <xs:attributeGroup name="keycap.attlist"> + <xs:attribute name="function"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="alt"/> + <xs:enumeration value="control"/> + <xs:enumeration value="shift"/> + <xs:enumeration value="meta"/> + <xs:enumeration value="escape"/> + <xs:enumeration value="enter"/> + <xs:enumeration value="tab"/> + <xs:enumeration value="backspace"/> + <xs:enumeration value="command"/> + <xs:enumeration value="option"/> + <xs:enumeration value="space"/> + <xs:enumeration value="delete"/> + <xs:enumeration value="insert"/> + <xs:enumeration value="up"/> + <xs:enumeration value="down"/> + <xs:enumeration value="left"/> + <xs:enumeration value="right"/> + <xs:enumeration value="home"/> + <xs:enumeration value="end"/> + <xs:enumeration value="pageup"/> + <xs:enumeration value="pagedown"/> + <xs:enumeration value="other"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="otherfunction"/> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="keycap.role.attrib"/> + </xs:attributeGroup> + <!-- end of keycap.attlist --> + <!-- end of keycap.module --> + <xs:attributeGroup name="keycode.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The internal, frequently numeric, identifier for a key on a keyboard. --> + <xs:element name="keycode" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="keycode.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of keycode.element --> + <xs:attributeGroup name="keycode.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="keycode.role.attrib"/> + </xs:attributeGroup> + <!-- end of keycode.attlist --> + <!-- end of keycode.module --> + <xs:attributeGroup name="keycombo.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A combination of input actions. --> + <xs:element name="keycombo" substitutionGroup="tech.char.class"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="keycap"/> + <xs:element ref="keycombo"/> + <xs:element ref="keysym"/> + <xs:element ref="mousebutton"/> + </xs:choice> + <xs:attributeGroup ref="keycombo.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of keycombo.element --> + <xs:attributeGroup name="keycombo.attlist"> + <xs:attributeGroup ref="keyaction.attrib"/> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="keycombo.role.attrib"/> + </xs:attributeGroup> + <!-- end of keycombo.attlist --> + <!-- end of keycombo.module --> + <xs:attributeGroup name="keysysm.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The symbolic name of a key on a keyboard. --> + <xs:element name="keysym" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="keysym.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of keysym.element --> + <xs:attributeGroup name="keysym.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="keysysm.role.attrib"/> + </xs:attributeGroup> + <!-- end of keysym.attlist --> + <!-- end of keysym.module --> + <xs:attributeGroup name="lineannotation.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A comment on a line in a verbatim listing. --> + <xs:element name="lineannotation"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="lineannotation.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of lineannotation.element --> + <xs:attributeGroup name="lineannotation.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="lineannotation.role.attrib"/> + </xs:attributeGroup> + <!-- end of lineannotation.attlist --> + <!-- end of lineannotation.module --> + <xs:attributeGroup name="literal.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Inline text that is some literal value. --> + <xs:element name="literal" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="literal.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of literal.element --> + <xs:attributeGroup name="literal.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="literal.role.attrib"/> + </xs:attributeGroup> + <!-- end of literal.attlist --> + <!-- end of literal.module --> + <xs:attributeGroup name="code.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An inline code fragment. --> + <xs:element name="code" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="code.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of code.element --> + <xs:attributeGroup name="code.attlist"> + <xs:attribute name="language"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="code.role.attrib"/> + </xs:attributeGroup> + <!-- end of code.attlist --> + <!-- end of code.module --> + <xs:attributeGroup name="constant.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A programming or system constant. --> + <xs:element name="constant" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="constant.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of constant.element --> + <xs:attributeGroup name="constant.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="limit"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="constant.role.attrib"/> + </xs:attributeGroup> + <!-- end of constant.attlist --> + <!-- end of constant.module --> + <xs:attributeGroup name="varname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a variable. --> + <xs:element name="varname" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="varname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of varname.element --> + <xs:attributeGroup name="varname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="varname.role.attrib"/> + </xs:attributeGroup> + <!-- end of varname.attlist --> + <!-- end of varname.module --> + <xs:attributeGroup name="markup.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A string of formatting markup in text that is to be represented literally. --> + <xs:element name="markup" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="markup.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of markup.element --> + <xs:attributeGroup name="markup.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="markup.role.attrib"/> + </xs:attributeGroup> + <!-- end of markup.attlist --> + <!-- end of markup.module --> + <xs:attributeGroup name="medialabel.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A name that identifies the physical medium on which some information resides. --> + <xs:element name="medialabel" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="medialabel.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of medialabel.element --> + <!-- Class: Type of medium named by the element; no default --> + <xs:attributeGroup name="medialabel.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="cartridge"/> + <xs:enumeration value="cdrom"/> + <xs:enumeration value="disk"/> + <xs:enumeration value="tape"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="medialabel.role.attrib"/> + </xs:attributeGroup> + <!-- end of medialabel.attlist --> + <!-- end of medialabel.module --> + <xs:attributeGroup name="menuchoice.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A selection or series of selections from a menu. --> + <xs:element name="menuchoice" substitutionGroup="tech.char.class"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="shortcut"/> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="guibutton"/> + <xs:element ref="guiicon"/> + <xs:element ref="guilabel"/> + <xs:element ref="guimenu"/> + <xs:element ref="guimenuitem"/> + <xs:element ref="guisubmenu"/> + <xs:element ref="interface"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="menuchoice.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of menuchoice.element --> + <xs:attributeGroup name="menuchoice.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="menuchoice.role.attrib"/> + </xs:attributeGroup> + <!-- end of menuchoice.attlist --> + <!-- end of menuchoice.module --> + <!-- See also KeyCombo --> + <xs:attributeGroup name="shortcut.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A key combination for an action that is also accessible through a menu. --> + <xs:element name="shortcut"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="keycap"/> + <xs:element ref="keycombo"/> + <xs:element ref="keysym"/> + <xs:element ref="mousebutton"/> + </xs:choice> + <xs:attributeGroup ref="shortcut.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of shortcut.element --> + <xs:attributeGroup name="shortcut.attlist"> + <xs:attributeGroup ref="keyaction.attrib"/> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="shortcut.role.attrib"/> + </xs:attributeGroup> + <!-- end of shortcut.attlist --> + <!-- end of shortcut.module --> + <!-- end of menuchoice.content.module --> + <xs:attributeGroup name="mousebutton.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The conventional name of a mouse button. --> + <xs:element name="mousebutton" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="mousebutton.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of mousebutton.element --> + <xs:attributeGroup name="mousebutton.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="mousebutton.role.attrib"/> + </xs:attributeGroup> + <!-- end of mousebutton.attlist --> + <!-- end of mousebutton.module --> + <xs:attributeGroup name="msgtext.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The actual text of a message component in a message set. --> + <xs:element name="msgtext"> + <xs:complexType> + <xs:group maxOccurs="unbounded" ref="component.mix"/> + <xs:attributeGroup ref="msgtext.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of msgtext.element --> + <xs:attributeGroup name="msgtext.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="msgtext.role.attrib"/> + </xs:attributeGroup> + <!-- end of msgtext.attlist --> + <!-- end of msgtext.module --> + <xs:attributeGroup name="option.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An option for a software command. --> + <xs:element name="option" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="option.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of option.element --> + <xs:attributeGroup name="option.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="option.role.attrib"/> + </xs:attributeGroup> + <!-- end of option.attlist --> + <!-- end of option.module --> + <xs:attributeGroup name="optional.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Optional information. --> + <xs:element name="optional" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="optional.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of optional.element --> + <xs:attributeGroup name="optional.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="optional.role.attrib"/> + </xs:attributeGroup> + <!-- end of optional.attlist --> + <!-- end of optional.module --> + <xs:attributeGroup name="parameter.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A value or a symbolic reference to a value. --> + <xs:element name="parameter" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="parameter.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of parameter.element --> + <!-- Class: Type of the Parameter; no default --> + <xs:attributeGroup name="parameter.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="command"/> + <xs:enumeration value="function"/> + <xs:enumeration value="option"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="parameter.role.attrib"/> + </xs:attributeGroup> + <!-- end of parameter.attlist --> + <!-- end of parameter.module --> + <xs:attributeGroup name="prompt.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A character or string indicating the start of an input field in a computer display. --> + <xs:element name="prompt" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="smallcptr.char.mix"/> + <xs:element ref="co"/> + </xs:choice> + <xs:attributeGroup ref="prompt.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of prompt.element --> + <xs:attributeGroup name="prompt.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="prompt.role.attrib"/> + </xs:attributeGroup> + <!-- end of prompt.attlist --> + <!-- end of prompt.module --> + <xs:attributeGroup name="property.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A unit of data associated with some part of a computer system. --> + <xs:element name="property" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="cptr.char.mix"/> + <xs:attributeGroup ref="property.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of property.element --> + <xs:attributeGroup name="property.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="property.role.attrib"/> + </xs:attributeGroup> + <!-- end of property.attlist --> + <!-- end of property.module --> + <xs:attributeGroup name="replaceable.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Content that may or must be replaced by the user. --> + <xs:element name="replaceable" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="link.char.class"/> + <xs:element ref="optional"/> + <xs:group ref="base.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:element ref="co"/> + </xs:choice> + <xs:attributeGroup ref="replaceable.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of replaceable.element --> + <!-- + Class: Type of information the element represents; no + default + --> + <xs:attributeGroup name="replaceable.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="command"/> + <xs:enumeration value="function"/> + <xs:enumeration value="option"/> + <xs:enumeration value="parameter"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="replaceable.role.attrib"/> + </xs:attributeGroup> + <!-- end of replaceable.attlist --> + <!-- end of replaceable.module --> + <xs:attributeGroup name="returnvalue.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The value returned by a function. --> + <xs:element name="returnvalue" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="returnvalue.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of returnvalue.element --> + <xs:attributeGroup name="returnvalue.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="returnvalue.role.attrib"/> + </xs:attributeGroup> + <!-- end of returnvalue.attlist --> + <!-- end of returnvalue.module --> + <xs:attributeGroup name="sgmltag.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A component of SGML markup. --> + <xs:element name="sgmltag" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="sgmltag.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of sgmltag.element --> + <!-- Class: Type of SGML construct the element names; no default --> + <xs:attributeGroup name="sgmltag.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="attribute"/> + <xs:enumeration value="attvalue"/> + <xs:enumeration value="element"/> + <xs:enumeration value="endtag"/> + <xs:enumeration value="emptytag"/> + <xs:enumeration value="genentity"/> + <xs:enumeration value="numcharref"/> + <xs:enumeration value="paramentity"/> + <xs:enumeration value="pi"/> + <xs:enumeration value="xmlpi"/> + <xs:enumeration value="starttag"/> + <xs:enumeration value="sgmlcomment"/> + <xs:enumeration value="prefix"/> + <xs:enumeration value="namespace"/> + <xs:enumeration value="localname"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="namespace"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="sgmltag.role.attrib"/> + </xs:attributeGroup> + <!-- end of sgmltag.attlist --> + <!-- end of sgmltag.module --> + <xs:attributeGroup name="structfield.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A field in a structure (in the programming language sense). --> + <xs:element name="structfield" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="structfield.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of structfield.element --> + <xs:attributeGroup name="structfield.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="structfield.role.attrib"/> + </xs:attributeGroup> + <!-- end of structfield.attlist --> + <!-- end of structfield.module --> + <xs:attributeGroup name="structname.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The name of a structure (in the programming language sense). --> + <xs:element name="structname" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="structname.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of structname.element --> + <xs:attributeGroup name="structname.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="structname.role.attrib"/> + </xs:attributeGroup> + <!-- end of structname.attlist --> + <!-- end of structname.module --> + <xs:attributeGroup name="symbol.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A name that is replaced by a value before processing. --> + <xs:element name="symbol" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="symbol.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of symbol.element --> + <!-- Class: Type of symbol; no default --> + <xs:attributeGroup name="symbol.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="limit"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="symbol.role.attrib"/> + </xs:attributeGroup> + <!-- end of symbol.attlist --> + <!-- end of symbol.module --> + <xs:attributeGroup name="systemitem.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A system-related item or term. --> + <xs:element name="systemitem" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="cptr.char.mix"/> + <xs:element ref="acronym"/> + <xs:element ref="co"/> + </xs:choice> + <xs:attributeGroup ref="systemitem.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of systemitem.element --> + <!-- Class: Type of system item the element names; no default --> + <xs:attributeGroup name="systemitem.attlist"> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="constant"/> + <xs:enumeration value="daemon"/> + <xs:enumeration value="domainname"/> + <xs:enumeration value="etheraddress"/> + <xs:enumeration value="event"/> + <xs:enumeration value="eventhandler"/> + <xs:enumeration value="filesystem"/> + <xs:enumeration value="fqdomainname"/> + <xs:enumeration value="groupname"/> + <xs:enumeration value="ipaddress"/> + <xs:enumeration value="library"/> + <xs:enumeration value="macro"/> + <xs:enumeration value="netmask"/> + <xs:enumeration value="newsgroup"/> + <xs:enumeration value="osname"/> + <xs:enumeration value="protocol"/> + <xs:enumeration value="resource"/> + <xs:enumeration value="systemname"/> + <xs:enumeration value="username"/> + <xs:enumeration value="process"/> + <xs:enumeration value="server"/> + <xs:enumeration value="service"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="systemitem.role.attrib"/> + </xs:attributeGroup> + <!-- end of systemitem.attlist --> + <!-- end of systemitem.module --> + <xs:attributeGroup name="uri.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A Uniform Resource Identifier. --> + <xs:element name="uri" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="uri.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of uri.element --> + <!-- Type: Type of URI; no default --> + <xs:attributeGroup name="uri.attlist"> + <xs:attribute name="type"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="uri.role.attrib"/> + </xs:attributeGroup> + <!-- end of uri.attlist --> + <!-- end of uri.module --> + <xs:attributeGroup name="token.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A unit of information. --> + <xs:element name="token" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="token.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of token.element --> + <xs:attributeGroup name="token.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="token.role.attrib"/> + </xs:attributeGroup> + <!-- end of token.attlist --> + <!-- end of token.module --> + <xs:attributeGroup name="type.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The classification of a value. --> + <xs:element name="type" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="smallcptr.char.mix"/> + <xs:attributeGroup ref="type.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of type.element --> + <xs:attributeGroup name="type.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="type.role.attrib"/> + </xs:attributeGroup> + <!-- end of type.attlist --> + <!-- end of type.module --> + <xs:attributeGroup name="userinput.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Data entered by the user. --> + <xs:element name="userinput" substitutionGroup="tech.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="cptr.char.mix"/> + <xs:element ref="co"/> + </xs:choice> + <xs:attributeGroup ref="userinput.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of userinput.element --> + <xs:attributeGroup name="userinput.attlist"> + <xs:attributeGroup ref="moreinfo.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="userinput.role.attrib"/> + </xs:attributeGroup> + <!-- end of userinput.attlist --> + <!-- end of userinput.module --> + <xs:attributeGroup name="termdef.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An inline definition of a term. --> + <xs:element name="termdef" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="termdef.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of termdef.element --> + <xs:attributeGroup name="termdef.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="termdef.role.attrib"/> + </xs:attributeGroup> + <!-- end of termdef.attlist --> + <!-- end of termdef.module --> + <!-- General words and phrases ............................................ --> + <xs:attributeGroup name="abbrev.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An abbreviation, especially one followed by a period. --> + <xs:element name="abbrev" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="word.char.mix"/> + <xs:attributeGroup ref="abbrev.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of abbrev.element --> + <xs:attributeGroup name="abbrev.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="abbrev.role.attrib"/> + </xs:attributeGroup> + <!-- end of abbrev.attlist --> + <!-- end of abbrev.module --> + <xs:attributeGroup name="acronym.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An often pronounceable word made from the initial (or selected) letters of a name or phrase. --> + <xs:element name="acronym" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="word.char.mix"/> + <xs:attributeGroup ref="acronym.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of acronym.element --> + <xs:attributeGroup name="acronym.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="acronym.role.attrib"/> + </xs:attributeGroup> + <!-- end of acronym.attlist --> + <!-- end of acronym.module --> + <xs:attributeGroup name="citation.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An inline bibliographic reference to another published work. --> + <xs:element name="citation" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="citation.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of citation.element --> + <xs:attributeGroup name="citation.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="citation.role.attrib"/> + </xs:attributeGroup> + <!-- end of citation.attlist --> + <!-- end of citation.module --> + <xs:attributeGroup name="citerefentry.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A citation to a reference page. --> + <xs:element name="citerefentry" substitutionGroup="gen.char.class"> + <xs:complexType> + <xs:sequence> + <xs:element ref="refentrytitle"/> + <xs:element minOccurs="0" ref="manvolnum"/> + </xs:sequence> + <xs:attributeGroup ref="citerefentry.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of citerefentry.element --> + <xs:attributeGroup name="citerefentry.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="citerefentry.role.attrib"/> + </xs:attributeGroup> + <!-- end of citerefentry.attlist --> + <!-- end of citerefentry.module --> + <xs:attributeGroup name="refentrytitle.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The title of a reference page. --> + <xs:element name="refentrytitle"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="refentrytitle.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of refentrytitle.element --> + <xs:attributeGroup name="refentrytitle.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="refentrytitle.role.attrib"/> + </xs:attributeGroup> + <!-- end of refentrytitle.attlist --> + <!-- end of refentrytitle.module --> + <xs:attributeGroup name="namvolnum.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A reference volume number. --> + <xs:element name="manvolnum"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="word.char.mix"/> + <xs:attributeGroup ref="manvolnum.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of manvolnum.element --> + <xs:attributeGroup name="manvolnum.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="namvolnum.role.attrib"/> + </xs:attributeGroup> + <!-- end of manvolnum.attlist --> + <!-- end of manvolnum.module --> + <xs:attributeGroup name="citetitle.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The title of a cited work. --> + <xs:element name="citetitle" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="citetitle.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of citetitle.element --> + <!-- Pubwork: Genre of published work cited; no default --> + <xs:attributeGroup name="citetitle.attlist"> + <xs:attribute name="pubwork"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="article"/> + <xs:enumeration value="book"/> + <xs:enumeration value="chapter"/> + <xs:enumeration value="part"/> + <xs:enumeration value="refentry"/> + <xs:enumeration value="section"/> + <xs:enumeration value="journal"/> + <xs:enumeration value="series"/> + <xs:enumeration value="set"/> + <xs:enumeration value="manuscript"/> + <xs:enumeration value="cdrom"/> + <xs:enumeration value="dvd"/> + <xs:enumeration value="wiki"/> + <xs:enumeration value="gopher"/> + <xs:enumeration value="bbs"/> + <xs:enumeration value="emailmessage"/> + <xs:enumeration value="webpage"/> + <xs:enumeration value="newsposting"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="citetitle.role.attrib"/> + </xs:attributeGroup> + <!-- end of citetitle.attlist --> + <!-- end of citetitle.module --> + <xs:attributeGroup name="emphasis.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Emphasized text. --> + <xs:element name="emphasis" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="emphasis.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of emphasis.element --> + <xs:attributeGroup name="emphasis.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="emphasis.role.attrib"/> + </xs:attributeGroup> + <!-- end of emphasis.attlist --> + <!-- end of emphasis.module --> + <xs:attributeGroup name="foreignphrase.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A word or phrase in a language other than the primary language of the document. --> + <xs:element name="foreignphrase" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="foreignphrase.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of foreignphrase.element --> + <xs:attributeGroup name="foreignphrase.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="foreignphrase.role.attrib"/> + </xs:attributeGroup> + <!-- end of foreignphrase.attlist --> + <!-- end of foreignphrase.module --> + <xs:attributeGroup name="glossterm.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A glossary term. --> + <xs:element name="glossterm" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="glossterm.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of glossterm.element --> + <!-- to GlossEntry if Glossterm used in text --> + <!-- + BaseForm: Provides the form of GlossTerm to be used + for indexing + --> + <xs:attributeGroup name="glossterm.attlist"> + <xs:attribute name="baseform"/> + <xs:attributeGroup ref="linkend.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="glossterm.role.attrib"/> + </xs:attributeGroup> + <!-- end of glossterm.attlist --> + <!-- end of glossterm.module --> + <xs:attributeGroup name="firstterm.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The first occurrence of a term. --> + <xs:element name="firstterm" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="firstterm.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of firstterm.element --> + <!-- to GlossEntry or other explanation --> + <xs:attributeGroup name="firstterm.attlist"> + <xs:attribute name="baseform"/> + <xs:attributeGroup ref="linkend.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="firstterm.role.attrib"/> + </xs:attributeGroup> + <!-- end of firstterm.attlist --> + <!-- end of firstterm.module --> + <xs:attributeGroup name="phrase.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A span of text. --> + <xs:element name="phrase" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="phrase.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of phrase.element --> + <xs:attributeGroup name="phrase.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="phrase.role.attrib"/> + </xs:attributeGroup> + <!-- end of phrase.attlist --> + <!-- end of phrase.module --> + <xs:attributeGroup name="quote.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:An inline quotation. --> + <xs:element name="quote" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="quote.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of quote.element --> + <xs:attributeGroup name="quote.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="quote.role.attrib"/> + </xs:attributeGroup> + <!-- end of quote.attlist --> + <!-- end of quote.module --> + <xs:attributeGroup name="ssscript.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A subscript (as in H{^2}O, the molecular formula for water). --> + <xs:element name="subscript"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="link.char.class"/> + <xs:element ref="emphasis"/> + <xs:element ref="replaceable"/> + <xs:element ref="symbol"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:group ref="base.char.class"/> + <xs:group ref="other.char.class"/> + </xs:choice> + <xs:attributeGroup ref="subscript.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of subscript.element --> + <xs:attributeGroup name="subscript.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="ssscript.role.attrib"/> + </xs:attributeGroup> + <!-- end of subscript.attlist --> + <!-- doc:A superscript (as in x^2, the mathematical notation for x multiplied by itself). --> + <xs:element name="superscript"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="link.char.class"/> + <xs:element ref="emphasis"/> + <xs:element ref="replaceable"/> + <xs:element ref="symbol"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:group ref="base.char.class"/> + <xs:group ref="other.char.class"/> + </xs:choice> + <xs:attributeGroup ref="superscript.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of superscript.element --> + <xs:attributeGroup name="superscript.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="ssscript.role.attrib"/> + </xs:attributeGroup> + <!-- end of superscript.attlist --> + <!-- end of ssscript.module --> + <xs:attributeGroup name="trademark.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A trademark. --> + <xs:element name="trademark" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="link.char.class"/> + <xs:element ref="tech.char.class"/> + <xs:group ref="base.char.class"/> + <xs:group ref="other.char.class"/> + <xs:element ref="inlinegraphic"/> + <xs:element ref="inlinemediaobject"/> + <xs:element ref="emphasis"/> + </xs:choice> + <xs:attributeGroup ref="trademark.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of trademark.element --> + <!-- Class: More precisely identifies the item the element names --> + <xs:attributeGroup name="trademark.attlist"> + <xs:attribute name="class" default="trade"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="service"/> + <xs:enumeration value="trade"/> + <xs:enumeration value="registered"/> + <xs:enumeration value="copyright"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="trademark.role.attrib"/> + </xs:attributeGroup> + <!-- end of trademark.attlist --> + <!-- end of trademark.module --> + <xs:attributeGroup name="wordasword.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A word meant specifically as a word and not representing anything else. --> + <xs:element name="wordasword" substitutionGroup="gen.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="word.char.mix"/> + <xs:attributeGroup ref="wordasword.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of wordasword.element --> + <xs:attributeGroup name="wordasword.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="wordasword.role.attrib"/> + </xs:attributeGroup> + <!-- end of wordasword.attlist --> + <!-- end of wordasword.module --> + <!-- Links and cross-references ........................................... --> + <xs:attributeGroup name="link.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A hypertext link. --> + <xs:element name="link" substitutionGroup="link.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="link.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of link.element --> + <!-- + Endterm: ID of element containing text that is to be + fetched from elsewhere in the document to appear as + the content of this element + --> + <!-- to linked-to object --> + <!-- Type: Freely assignable parameter --> + <xs:attributeGroup name="link.attlist"> + <xs:attribute name="endterm" type="xs:IDREF"/> + <xs:attribute name="xrefstyle"/> + <xs:attribute name="type"/> + <xs:attributeGroup ref="linkendreq.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="link.role.attrib"/> + </xs:attributeGroup> + <!-- end of link.attlist --> + <!-- end of link.module --> + <xs:attributeGroup name="olink.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A link that addresses its target indirectly, through an entity. --> + <xs:element name="olink" substitutionGroup="link.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="olink.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of olink.element --> + <!-- TargetDocEnt: Name of an entity to be the target of the link --> + <!-- + LinkMode: ID of a ModeSpec containing instructions for + operating on the entity named by TargetDocEnt + --> + <!-- LocalInfo: Information that may be passed to ModeSpec --> + <!-- Type: Freely assignable parameter --> + <xs:attributeGroup name="olink.attlist"> + <xs:attribute name="targetdocent" type="xs:ENTITY"/> + <xs:attribute name="linkmode" type="xs:IDREF"/> + <xs:attribute name="localinfo"/> + <xs:attribute name="type"/> + <xs:attribute name="targetdoc"/> + <xs:attribute name="targetptr"/> + <xs:attribute name="xrefstyle"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="olink.role.attrib"/> + </xs:attributeGroup> + <!-- end of olink.attlist --> + <!-- end of olink.module --> + <xs:attributeGroup name="ulink.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A link that addresses its target by means of a URL (Uniform Resource Locator). --> + <xs:element name="ulink" substitutionGroup="link.char.class"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="para.char.mix"/> + <xs:attributeGroup ref="ulink.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of ulink.element --> + <!-- URL: uniform resource locator; the target of the ULink --> + <!-- Type: Freely assignable parameter --> + <xs:attributeGroup name="ulink.attlist"> + <xs:attribute name="url" use="required"/> + <xs:attribute name="type"/> + <xs:attribute name="xrefstyle"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="ulink.role.attrib"/> + </xs:attributeGroup> + <!-- end of ulink.attlist --> + <!-- end of ulink.module --> + <xs:attributeGroup name="footnoteref.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A cross reference to a footnote (a footnote mark). --> + <xs:element name="footnoteref" substitutionGroup="xref.char.class"> + <xs:complexType> + <xs:attributeGroup ref="footnoteref.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of footnoteref.element --> + <!-- to footnote content supplied elsewhere --> + <xs:attributeGroup name="footnoteref.attlist"> + <xs:attributeGroup ref="linkendreq.attrib"/> + <xs:attributeGroup ref="label.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="footnoteref.role.attrib"/> + </xs:attributeGroup> + <!-- end of footnoteref.attlist --> + <!-- end of footnoteref.module --> + <xs:attributeGroup name="xref.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A cross reference to another part of the document. --> + <xs:element name="xref" substitutionGroup="xref.char.class"> + <xs:complexType> + <xs:attributeGroup ref="xref.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of xref.element --> + <!-- + Endterm: ID of element containing text that is to be + fetched from elsewhere in the document to appear as + the content of this element + --> + <!-- to linked-to object --> + <xs:attributeGroup name="xref.attlist"> + <xs:attribute name="endterm" type="xs:IDREF"/> + <xs:attribute name="xrefstyle"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="linkendreq.attrib"/> + <xs:attributeGroup ref="xref.role.attrib"/> + </xs:attributeGroup> + <!-- end of xref.attlist --> + <!-- end of xref.module --> + <xs:attributeGroup name="biblioref.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A cross reference to a bibliographic entry. --> + <xs:element name="biblioref" substitutionGroup="xref.char.class"> + <xs:complexType> + <xs:attributeGroup ref="biblioref.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of biblioref.element --> + <xs:attributeGroup name="biblioref.attlist"> + <xs:attribute name="endterm" type="xs:IDREF"/> + <xs:attribute name="xrefstyle"/> + <xs:attribute name="units"/> + <xs:attribute name="begin"/> + <xs:attribute name="end"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="linkendreq.attrib"/> + <xs:attributeGroup ref="biblioref.role.attrib"/> + </xs:attributeGroup> + <!-- end of biblioref.attlist --> + <!-- end of biblioref.module --> + <!-- Ubiquitous elements .................................................. --> + <xs:attributeGroup name="anchor.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A spot in the document. --> + <xs:element name="anchor"> + <xs:complexType> + <xs:attributeGroup ref="anchor.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of anchor.element --> + <!-- required --> + <!-- replaces Lang --> + <xs:attributeGroup name="anchor.attlist"> + <xs:attributeGroup ref="idreq.attrib"/> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attributeGroup ref="remap.attrib"/> + <xs:attributeGroup ref="xreflabel.attrib"/> + <xs:attributeGroup ref="revisionflag.attrib"/> + <xs:attributeGroup ref="effectivity.attrib"/> + <xs:attributeGroup ref="anchor.role.attrib"/> + </xs:attributeGroup> + <!-- end of anchor.attlist --> + <!-- end of anchor.module --> + <xs:attributeGroup name="beginpage.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The location of a page break in a print version of the document. --> + <xs:element name="beginpage"> + <xs:complexType> + <xs:attributeGroup ref="beginpage.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of beginpage.element --> + <!-- PageNum: Number of page that begins at this point --> + <xs:attributeGroup name="beginpage.attlist"> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="beginpage.role.attrib"/> + </xs:attributeGroup> + <!-- end of beginpage.attlist --> + <!-- end of beginpage.module --> + <!-- + IndexTerms appear in the text flow for generating or linking an + index. + --> + <xs:attributeGroup name="indexterm.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:A wrapper for terms to be indexed. --> + <xs:element name="indexterm" substitutionGroup="ndxterm.class"/> + <!-- end of indexterm.element --> + <!-- + Scope: Indicates which generated indices the IndexTerm + should appear in: Global (whole document set), Local (this + document only), or All (both) + --> + <!-- + Significance: Whether this IndexTerm is the most pertinent + of its series (Preferred) or not (Normal, the default) + --> + <!-- + Class: Indicates type of IndexTerm; default is Singular, + or EndOfRange if StartRef is supplied; StartOfRange value + must be supplied explicitly on starts of ranges + --> + <!-- + StartRef: ID of the IndexTerm that starts the indexing + range ended by this IndexTerm + --> + <!-- + Zone: IDs of the elements to which the IndexTerm applies, + and indicates that the IndexTerm applies to those entire + elements rather than the point at which the IndexTerm + occurs + --> + <xs:attributeGroup name="indexterm.attlist"> + <xs:attributeGroup ref="pagenum.attrib"/> + <xs:attribute name="scope"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="all"/> + <xs:enumeration value="global"/> + <xs:enumeration value="local"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="significance" default="normal"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="preferred"/> + <xs:enumeration value="normal"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="class"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="singular"/> + <xs:enumeration value="startofrange"/> + <xs:enumeration value="endofrange"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="startref" type="xs:IDREF"/> + <xs:attribute name="zone" type="xs:IDREFS"/> + <xs:attribute name="type"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="indexterm.role.attrib"/> + </xs:attributeGroup> + <!-- end of indexterm.attlist --> + <!-- end of indexterm.module --> + <xs:attributeGroup name="primsecter.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:The primary word or phrase under which an index term should be sorted. --> + <xs:element name="primary"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="primary.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of primary.element --> + <!-- + SortAs: Alternate sort string for index sorting, e.g., + "fourteen" for an element containing "14" + --> + <xs:attributeGroup name="primary.attlist"> + <xs:attribute name="sortas"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="primsecter.role.attrib"/> + </xs:attributeGroup> + <!-- end of primary.attlist --> + <!-- doc:A secondary word or phrase in an index term. --> + <xs:element name="secondary"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="secondary.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of secondary.element --> + <!-- + SortAs: Alternate sort string for index sorting, e.g., + "fourteen" for an element containing "14" + --> + <xs:attributeGroup name="secondary.attlist"> + <xs:attribute name="sortas"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="primsecter.role.attrib"/> + </xs:attributeGroup> + <!-- end of secondary.attlist --> + <!-- doc:A tertiary word or phrase in an index term. --> + <xs:element name="tertiary"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="tertiary.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of tertiary.element --> + <!-- + SortAs: Alternate sort string for index sorting, e.g., + "fourteen" for an element containing "14" + --> + <xs:attributeGroup name="tertiary.attlist"> + <xs:attribute name="sortas"/> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="primsecter.role.attrib"/> + </xs:attributeGroup> + <!-- end of tertiary.attlist --> + <!-- end of primsecter.module --> + <xs:attributeGroup name="seeseealso.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- doc:Part of an index term directing the reader instead to another entry in the index. --> + <xs:element name="see"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="see.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of see.element --> + <xs:attributeGroup name="see.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="seeseealso.role.attrib"/> + </xs:attributeGroup> + <!-- end of see.attlist --> + <!-- doc:Part of an index term directing the reader also to another entry in the index. --> + <xs:element name="seealso"> + <xs:complexType mixed="true"> + <xs:group minOccurs="0" maxOccurs="unbounded" ref="ndxterm.char.mix"/> + <xs:attributeGroup ref="seealso.attlist"/> + </xs:complexType> + </xs:element> + <!-- end of seealso.element --> + <xs:attributeGroup name="seealso.attlist"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attributeGroup ref="seeseealso.role.attrib"/> + </xs:attributeGroup> +</xs:schema> +<!-- end of seealso.attlist --> +<!-- end of seeseealso.module --> +<!-- end of indexterm.content.module --> +<!-- End of SCons DocBook V4.5-Based extension V1.0 XML information pool module ... --> +<!-- .............................................................................. --> diff --git a/doc/editor_configs/serna/scons/xsd/htmltblx.xsd b/doc/editor_configs/serna/scons/xsd/htmltblx.xsd new file mode 100644 index 0000000..9f82a02 --- /dev/null +++ b/doc/editor_configs/serna/scons/xsd/htmltblx.xsd @@ -0,0 +1,431 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- ...................................................................... --> +<!-- SCons DocBook V4.5-Based extension V1.0 XML HTML Table Module ........ --> +<!-- File htmltblx.xsd .................................................... --> +<!-- Copyright (c) 2001-7,2010,2011,2012 The SCons Foundation + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + This DTD extension is based on the DocBook XML HTML Table + Module V4.5 with: + + Copyright 2003-2006 ArborText, Inc., Norman Walsh, Sun Microsystems, + Inc., and the Organization for the Advancement of Structured Information + Standards (OASIS). + + $Id: htmltblx.mod 6340 2006-10-03 13:23:24Z nwalsh $ + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + For the modified SCons extension files + + scons.xsd, dbpoolx.xsd, + + you can write to its developer mailing list. Check out + http://www.scons.org/ and http://www.scons.org/lists.php. + +--> +<!-- ...................................................................... --> +<!-- + This module contains the definitions for elements that are + isomorphic to the HTML elements. One could argue we should + instead have based ourselves on the XHTML Table Module, but the + HTML one is more like what browsers are likely to accept today + and users are likely to use. + + This module has been developed for use with the DocBook V4.5 + "union table model" in which elements and attlists common to both + models are defined (as the union) in the CALS table module by + setting various parameter entities appropriately in this file. + + In DTD driver files referring to this module, please use an entity + declaration that uses the public identifier shown below: + + <!ENTITY % htmltbl PUBLIC + "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" + "htmltblx.mod"> + %htmltbl; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> +<!-- ======================= XHTML Tables ======================================= --> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> + <xs:attributeGroup name="html.coreattrs"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attribute name="class"/> + <xs:attribute name="style"/> + <xs:attribute name="title"/> + </xs:attributeGroup> + <!-- Does not contain lang or dir because they are in %common.attribs --> + <xs:attributeGroup name="i18n"> + <xs:attribute ref="xml:lang"/> + </xs:attributeGroup> + <xs:attributeGroup name="events"> + <xs:attribute name="onclick"/> + <xs:attribute name="ondblclick"/> + <xs:attribute name="onmousedown"/> + <xs:attribute name="onmouseup"/> + <xs:attribute name="onmouseover"/> + <xs:attribute name="onmousemove"/> + <xs:attribute name="onmouseout"/> + <xs:attribute name="onkeypress"/> + <xs:attribute name="onkeydown"/> + <xs:attribute name="onkeyup"/> + </xs:attributeGroup> + <xs:attributeGroup name="attrs"> + <xs:attributeGroup ref="html.coreattrs"/> + <xs:attributeGroup ref="i18n"/> + <xs:attributeGroup ref="events"/> + </xs:attributeGroup> + <xs:attributeGroup name="cellhalign"> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="center"/> + <xs:enumeration value="right"/> + <xs:enumeration value="justify"/> + <xs:enumeration value="char"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="char"/> + <xs:attribute name="charoff"/> + </xs:attributeGroup> + <xs:attributeGroup name="cellvalign"> + <xs:attribute name="valign"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="top"/> + <xs:enumeration value="middle"/> + <xs:enumeration value="bottom"/> + <xs:enumeration value="baseline"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:attributeGroup> + <!-- doc:A group of columns in an HTML table. --> + <xs:element name="colgroup"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="col"/> + </xs:sequence> + <xs:attributeGroup ref="colgroup.attlist"/> + </xs:complexType> + </xs:element> + <!-- doc:Specifications for a column in an HTML table. --> + <xs:element name="col"> + <xs:complexType> + <xs:attributeGroup ref="col.attlist"/> + </xs:complexType> + </xs:element> + <!-- doc:A row in an HTML table. --> + <xs:element name="tr"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="th"/> + <xs:element ref="td"/> + </xs:choice> + <xs:attributeGroup ref="tr.attlist"/> + </xs:complexType> + </xs:element> + <!-- doc:A table header entry in an HTML table. --> + <xs:element name="th"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:group ref="tabentry.mix"/> + <xs:element ref="table"/> + <xs:element ref="informaltable"/> + </xs:choice> + <xs:attributeGroup ref="th.attlist"/> + </xs:complexType> + </xs:element> + <!-- doc:A table ntry in an HTML table. --> + <xs:element name="td"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="para.char.mix"/> + <xs:group ref="tabentry.mix"/> + <xs:element ref="table"/> + <xs:element ref="informaltable"/> + </xs:choice> + <xs:attributeGroup ref="td.attlist"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="colgroup.attlist"> + <xs:attributeGroup ref="attrs"/> + <xs:attribute name="span" default="1"/> + <xs:attribute name="width"/> + <xs:attributeGroup ref="cellhalign"/> + <xs:attributeGroup ref="cellvalign"/> + </xs:attributeGroup> + <xs:attributeGroup name="col.attlist"> + <xs:attributeGroup ref="attrs"/> + <xs:attribute name="span" default="1"/> + <xs:attribute name="width"/> + <xs:attributeGroup ref="cellhalign"/> + <xs:attributeGroup ref="cellvalign"/> + </xs:attributeGroup> + <xs:attributeGroup name="tr.attlist"> + <xs:attributeGroup ref="attrs"/> + <xs:attributeGroup ref="cellhalign"/> + <xs:attributeGroup ref="cellvalign"/> + <xs:attribute name="bgcolor"/> + </xs:attributeGroup> + <xs:attributeGroup name="th.attlist"> + <xs:attributeGroup ref="attrs"/> + <xs:attribute name="abbr"/> + <xs:attribute name="axis"/> + <xs:attribute name="headers" type="xs:IDREFS"/> + <xs:attribute name="scope"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="row"/> + <xs:enumeration value="col"/> + <xs:enumeration value="rowgroup"/> + <xs:enumeration value="colgroup"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="rowspan" default="1"/> + <xs:attribute name="colspan" default="1"/> + <xs:attributeGroup ref="cellhalign"/> + <xs:attributeGroup ref="cellvalign"/> + <xs:attribute name="nowrap"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="nowrap"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="bgcolor"/> + <xs:attribute name="width"/> + <xs:attribute name="height"/> + </xs:attributeGroup> + <xs:attributeGroup name="td.attlist"> + <xs:attributeGroup ref="attrs"/> + <xs:attribute name="abbr"/> + <xs:attribute name="axis"/> + <xs:attribute name="headers" type="xs:IDREFS"/> + <xs:attribute name="scope"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="row"/> + <xs:enumeration value="col"/> + <xs:enumeration value="rowgroup"/> + <xs:enumeration value="colgroup"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="rowspan" default="1"/> + <xs:attribute name="colspan" default="1"/> + <xs:attributeGroup ref="cellhalign"/> + <xs:attributeGroup ref="cellvalign"/> + <xs:attribute name="nowrap"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="nowrap"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="bgcolor"/> + <xs:attribute name="width"/> + <xs:attribute name="height"/> + </xs:attributeGroup> + <!-- ====================================================== --> + <!-- + Set up to read in the CALS model configured to + merge with the XHTML table model + --> + <!-- ====================================================== --> + <xs:attributeGroup name="tables.role.attrib"> + <xs:attributeGroup ref="role.attrib"/> + </xs:attributeGroup> + <!-- Add label and role attributes to table and informaltable --> + <xs:attributeGroup name="bodyatt"> + <xs:attribute name="floatstyle"/> + <xs:attribute name="rowheader"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="firstcol"/> + <xs:enumeration value="norowheader"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attributeGroup ref="label.attrib"/> + </xs:attributeGroup> + <!-- + Add common attributes to Table, TGroup, TBody, THead, TFoot, Row, + EntryTbl, and Entry (and InformalTable element). + --> + <xs:attributeGroup name="secur"> + <xs:attributeGroup ref="common.attrib"/> + <xs:attribute name="class"/> + <xs:attribute name="style"/> + <xs:attribute name="title"/> + <xs:attributeGroup ref="i18n"/> + <xs:attributeGroup ref="events"/> + <xs:attributeGroup ref="tables.role.attrib"/> + </xs:attributeGroup> + <xs:attributeGroup name="common.table.attribs"> + <xs:attributeGroup ref="bodyatt"/> + <xs:attributeGroup ref="secur"/> + </xs:attributeGroup> + <!-- Content model for Table (that also allows HTML tables) --> + <xs:complexType name="tbl.table.mdl"> + <xs:choice> + <xs:sequence> + <xs:element minOccurs="0" ref="blockinfo"/> + <xs:group ref="formalobject.title.content"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="ndxterm.class"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="textobject"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="graphic"/> + <xs:element maxOccurs="unbounded" ref="mediaobject"/> + <xs:element maxOccurs="unbounded" ref="tgroup"/> + </xs:choice> + </xs:sequence> + <xs:sequence> + <xs:element ref="caption"/> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="col"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="colgroup"/> + </xs:choice> + <xs:element minOccurs="0" ref="thead"/> + <xs:element minOccurs="0" ref="tfoot"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="tbody"/> + <xs:element maxOccurs="unbounded" ref="tr"/> + </xs:choice> + </xs:sequence> + </xs:choice> + </xs:complexType> + <xs:group name="informal.tbl.table.mdl"> + <xs:choice> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="textobject"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="graphic"/> + <xs:element maxOccurs="unbounded" ref="mediaobject"/> + <xs:element maxOccurs="unbounded" ref="tgroup"/> + </xs:choice> + </xs:sequence> + <xs:sequence> + <xs:choice> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="col"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="colgroup"/> + </xs:choice> + <xs:element minOccurs="0" ref="thead"/> + <xs:element minOccurs="0" ref="tfoot"/> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="tbody"/> + <xs:element maxOccurs="unbounded" ref="tr"/> + </xs:choice> + </xs:sequence> + </xs:choice> + </xs:group> + <!-- Attributes for Table (including HTML ones) --> + <!-- N.B. rules = (none | groups | rows | cols | all) but it can't be spec'd --> + <!-- that way because 'all' already occurs in a different enumeration in --> + <!-- CALS tables (frame). --> + <xs:attributeGroup name="tbl.table.att"> + <xs:attribute name="tabstyle"/> + <xs:attribute name="tocentry" type="yesorno.attvals"/> + <xs:attribute name="shortentry" type="yesorno.attvals"/> + <xs:attribute name="orient"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="port"/> + <xs:enumeration value="land"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="pgwide" type="yesorno.attvals"/> + <xs:attribute name="summary"/> + <xs:attribute name="width"/> + <xs:attribute name="border"/> + <xs:attribute name="rules"/> + <xs:attribute name="cellspacing"/> + <xs:attribute name="cellpadding"/> + <xs:attribute name="align"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="left"/> + <xs:enumeration value="center"/> + <xs:enumeration value="right"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="bgcolor"/> + </xs:attributeGroup> + <xs:simpleType name="tbl.frame.attval"> + <xs:restriction base="xs:token"> + <xs:enumeration value="void"/> + <xs:enumeration value="above"/> + <xs:enumeration value="below"/> + <xs:enumeration value="hsides"/> + <xs:enumeration value="lhs"/> + <xs:enumeration value="rhs"/> + <xs:enumeration value="vsides"/> + <xs:enumeration value="box"/> + <xs:enumeration value="border"/> + <xs:enumeration value="top"/> + <xs:enumeration value="bottom"/> + <xs:enumeration value="topbot"/> + <xs:enumeration value="all"/> + <xs:enumeration value="sides"/> + <xs:enumeration value="none"/> + </xs:restriction> + </xs:simpleType> + <!-- Allow either objects or inlines; beware of REs between elements. --> + <xs:group name="tbl.entry.mdl"> + <xs:choice> + <xs:group ref="para.char.mix"/> + <xs:group ref="tabentry.mix"/> + </xs:choice> + </xs:group> + <!-- + thead, tfoot, and tbody are defined in both table models, + so we set up parameter entities to define union models for them + --> + <xs:complexType name="tbl.hdft.mdl"> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="tr"/> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="colspec"/> + <xs:element maxOccurs="unbounded" ref="row"/> + </xs:sequence> + </xs:choice> + </xs:complexType> + <xs:complexType name="tbl.tbody.mdl"> + <xs:choice> + <xs:element maxOccurs="unbounded" ref="tr"/> + <xs:element maxOccurs="unbounded" ref="row"/> + </xs:choice> + </xs:complexType> +</xs:schema> +<!-- End of SCons DocBook V4.5-Based extension V1.0 XML HTML Table Module . --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/xsd/scons.xsd b/doc/editor_configs/serna/scons/xsd/scons.xsd new file mode 100644 index 0000000..481c2d4 --- /dev/null +++ b/doc/editor_configs/serna/scons/xsd/scons.xsd @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- ...................................................................... --> +<!-- SCons DocBook V4.5-Based extension V1.0 .............................. --> +<!-- File scons.xsd ....................................................... --> +<!-- Copyright (c) 2001-7,2010,2011,2012 The SCons Foundation + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + This DTD extension is based on the DocBook V4.5 DTD with: + + Copyright 1992-2006 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + See also http://docbook.org/specs/ + + $Id: docbookx.dtd 6340 2006-10-03 13:23:24Z nwalsh $ + + + Please direct all questions, bug reports, or suggestions for + changes to the docbook@lists.oasis-open.org mailing list. For more + information, see http://www.oasis-open.org/docbook/. + For the modified SCons extension files + + scons.xsd, dbpoolx.xsd, + + you can write to its developer mailing list. Check out + http://www.scons.org/ and http://www.scons.org/lists.php. + +--> +<!-- ...................................................................... --> +<!-- + This is the driver file for V4.5 of the DocBook DTD. + Please use the following formal public identifier to identify it: + + "-//OASIS//DTD DocBook XML V4.5//EN" + + For example, if your document's top-level element is Book, and + you are using DocBook directly, use the FPI in the DOCTYPE + declaration: + + <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" + [...]> + + Or, if you have a higher-level driver file that customizes DocBook, + use the FPI in the parameter entity declaration: + + <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> + %DocBookDTD; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> +<!-- ...................................................................... --> +<!-- Enable SGML features ................................................. --> +<!-- ...................................................................... --> +<!-- Notation declarations ................................................ --> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.scons.org/dbxsd/v1.0" + elementFormDefault="qualified"> + <xs:include schemaLocation="dbnotnx.xsd"/> + <xs:include schemaLocation="dbpoolx.xsd"/> + <xs:include schemaLocation="dbhierx.xsd"/> + <!-- ...................................................................... --> + <!-- ISO character entity sets ............................................ --> + <!-- euro sign, U+20AC NEW --> + <!-- ...................................................................... --> + <!-- DTD modules .......................................................... --> + <!-- Information pool .............. --> + <!-- Redeclaration placeholder ..... --> + <!-- Document hierarchy ............ --> +</xs:schema> +<!-- ...................................................................... --> +<!-- Other general entities ............................................... --> +<!-- End of SCons DocBook V4.5-Based extension V1.0 ....................... --> +<!-- ...................................................................... --> diff --git a/doc/editor_configs/serna/scons/xsd/xml.xsd b/doc/editor_configs/serna/scons/xsd/xml.xsd new file mode 100644 index 0000000..600f399 --- /dev/null +++ b/doc/editor_configs/serna/scons/xsd/xml.xsd @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + targetNamespace="http://www.w3.org/XML/1998/namespace"> + <xs:import schemaLocation="scons.xsd"/> + <xs:attribute name="base"/> + <xs:attribute name="space"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="preserve"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="lang" type="xs:NMTOKEN"/> +</xs:schema> diff --git a/doc/editor_configs/xmlmind/addon/config/scons/common.incl b/doc/editor_configs/xmlmind/addon/config/scons/common.incl new file mode 100644 index 0000000..d03f74c --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/common.incl @@ -0,0 +1,654 @@ +<?xml version='1.0' encoding='ISO-8859-1'?> +<configuration + xmlns="http://www.xmlmind.com/xmleditor/schema/configuration" + xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"> + + <translation location="docbook_en.properties" /> + + <inclusionScheme name="XInclude"> + <class>com.xmlmind.xml.xinclude.XIncludeScheme</class> + </inclusionScheme> + + <cfg:preserveSpace xmlns="" + elements="address funcsynopsisinfo classsynopsisinfo + literallayout programlisting screen synopsis + sconstruct scons_example_file example_commands + scons_output_command file directory" /> + + <cfg:documentResources xmlns=""> + <cfg:resource path="//@fileref" /> + </cfg:documentResources> + + <!-- Fixes the cols attribute of tgroup and entrytbl if needed to --> + <validateHook> + <class>com.xmlmind.xmleditext.docbook.table.ValidateHookImpl</class> + </validateHook> + + <cfg:spellCheckOptions xmlns="" + useAutomaticSpellChecker="true" + languageAttribute="lang" + skippedElements="address programlisting screen synopsis code sgmltag + classsynopsisinfo modifier package classname + interfacename exceptionname varname methodname + funcsynopsisinfo modifier type function + initializer parameter funcparams + lhs rhs nonterminal" /> + + <!-- Menu ============================================================== --> + + <command name="docb.tableEdit"> + <class>com.xmlmind.xmleditext.docbook.DBTableEdit</class> + </command> + + <command name="docb.promote"> + <class>com.xmlmind.xmleditext.docbook.Promote</class> + </command> + <command name="docb.demote"> + <class>com.xmlmind.xmleditext.docbook.Demote</class> + </command> + + <command name="docb.toggleInformal"> + <macro undoable="true" + label="Convert informal<element> to/from <element>"> + <choice> + <sequence> + <command name="selectNode" + parameter="ancestorOrSelf[implicitElement] + informaltable informalfigure informalexample" /> + + <!-- DocBook 4.3 supports HTML tables and we will *not* attempt to + transform an HTML informaltable to a HTML table + with a caption. --> + + <test context="$selected" + expression="local-name() != 'informaltable' or ./tgroup" /> + + <command name="selectNode" parameter="children" /> + <command name="copy" /> + <command name="selectNode" parameter="parent" /> + <get context="$selected" + expression="substring-after(local-name(), 'informal')" /> + <command name="replace" parameter="%_" /> + <set variable="selectedNodes" context="$selected" + expression="./*[position() > 1]" /> + <command name="paste" parameter="to" /> + </sequence> + + <sequence> + <command name="selectNode" + parameter="ancestorOrSelf[implicitElement] table figure example" /> + <!-- Assumes that first child is a title and not a blockinfo. --> + <set variable="selectedNodes" context="$selected" + expression="./*[position() > 1]" /> + <command name="copy" /> + <command name="selectNode" parameter="parent" /> + <get context="$selected" + expression="concat('informal', local-name())" /> + <command name="replace" parameter="%_" /> + <command name="selectNode" parameter="children" /> + <command name="paste" parameter="to" /> + </sequence> + </choice> + </macro> + </command> + + <menu label="_DocBook"> + <menu label="C_olumn"> + <item label="_Insert Before" + icon="scons_icons/insertColumnBefore.png" + command="docb.tableEdit" parameter="insertColumnBefore"/> + <item label="I_nsert After" + icon="scons_icons/insertColumnAfter.png" + command="docb.tableEdit" parameter="insertColumnAfter"/> + <separator /> + <item label="_Cut" + icon="scons_icons/cut.png" + command="docb.tableEdit" parameter="cutColumn"/> + <item label="C_opy" + icon="scons_icons/copy.png" + command="docb.tableEdit" parameter="copyColumn"/> + <item label="_Paste Before" + icon="scons_icons/pasteBefore.png" + command="docb.tableEdit" parameter="pasteColumnBefore"/> + <item label="P_aste After" + icon="scons_icons/pasteAfter.png" + command="docb.tableEdit" parameter="pasteColumnAfter"/> + <item label="_Delete" + icon="scons_icons/deleteColumn.png" + command="docb.tableEdit" parameter="deleteColumn"/> + </menu> + <menu label="_Row"> + <item label="_Insert Before" + icon="scons_icons/insertRowBefore.png" + command="docb.tableEdit" parameter="insertRowBefore"/> + <item label="I_nsert After" + icon="scons_icons/insertRowAfter.png" + command="docb.tableEdit" parameter="insertRowAfter"/> + <separator /> + <item label="_Cut" + icon="scons_icons/cut.png" + command="docb.tableEdit" parameter="cutRow"/> + <item label="C_opy" + icon="scons_icons/copy.png" + command="docb.tableEdit" parameter="copyRow"/> + <item label="_Paste Before" + icon="scons_icons/pasteBefore.png" + command="docb.tableEdit" parameter="pasteRowBefore"/> + <item label="P_aste After" + icon="scons_icons/pasteAfter.png" + command="docb.tableEdit" parameter="pasteRowAfter"/> + <item label="_Delete" + icon="scons_icons/deleteRow.png" + command="docb.tableEdit" parameter="deleteRow"/> + </menu> + <menu label="C_ell"> + <item label="_Increment Column Span" + icon="scons_icons/incrementColumnSpan.png" + command="docb.tableEdit" parameter="incrColumnSpan"/> + <item label="_Decrement Column Span" + icon="scons_icons/decrementColumnSpan.png" + command="docb.tableEdit" parameter="decrColumnSpan"/> + <separator /> + <item label="I_ncrement Row Span" + icon="scons_icons/incrementRowSpan.png" + command="docb.tableEdit" parameter="incrRowSpan"/> + <item label="D_ecrement Row Span" + icon="scons_icons/decrementRowSpan.png" + command="docb.tableEdit" parameter="decrRowSpan"/> + </menu> + <separator /> + <item label="Convert in_formal<element> to/from <element>" + command="docb.toggleInformal"/> + <separator /> + <item label="_Go to Opposite Link End" + command="selectById" parameter="swapIdAndReference"/> + <item label="Go to _Next Link" + command="selectById" parameter="nextReference"/> + <item label="Go to _Previous Link" + command="selectById" parameter="previousReference"/> + <separator /> + <item label="Move _Up" + icon="scons_icons/up.png" + command="moveElement" parameter="up" /> + <item label="Move Do_wn" + icon="scons_icons/down.png" + command="moveElement" parameter="down" /> + </menu> + + <!-- Toolbar ============================================================ --> + + <command name="docb.convertWithAttribute"> + <macro repeatable="true" undoable="true" label="Convert"> + <sequence> + <choice> + <command name="selectNode" + parameter="self[implicitElement] %0" /> + <command name="convert" + parameter="[implicitElement] %0" /> + </choice> + <command name="putAttribute" parameter="%1 %2" /> + </sequence> + </macro> + </command> + + <!-- Easier to implement with "add" instead of "insertNode" but slower. --> + + <command name="docb.addListItem"> + <macro> + <sequence> + <command name="selectNode" + parameter="ancestor[implicitElement] itemizedlist orderedlist + variablelist calloutlist procedure substeps + simplelist segmentedlist" /> + <command name="selectNode" parameter="child" /> + <command name="insertNode" parameter="sameElement%0" /> + </sequence> + </macro> + </command> + + <!-- This macro is required for DocBook where a para can contains + lists, tables, etc. + Note that this is not the case of para in Simplified DocBook. --> + + <command name="docb.addAfter"> + <macro> + <choice> + <sequence> + <command name="selectNode" + parameter="ancestorOrSelf[implicitElement] para" /> + <command name="insert" parameter="after[implicitElement] %0" /> + </sequence> + <command name="add" parameter="after[implicitElement] %0" /> + </choice> + </macro> + </command> + + <!-- Bindings =========================================================== --> + + <binding> + <keyPressed code="F2" /> + <keyPressed code="UP" /> + <command name="moveElement" parameter="up" /> + </binding> + + <binding> + <keyPressed code="F2" /> + <keyPressed code="DOWN" /> + <command name="moveElement" parameter="down" /> + </binding> + + <!-- Inside a para or simpara (and only inside a para or simpara), + XXE attempts to behave like a word-processor. --> + + <binding> + <keyPressed code="ENTER" /> + <command name="docb.splitOrInsertNewLine" /> + </binding> + + <binding> + <keyPressed code="DELETE" /> + <command name="docb.joinOrDeleteChar" /> + </binding> + + <binding> + <keyPressed code="BACK_SPACE" /> + <command name="docb.joinOrDeleteChar" parameter="backwards" /> + </binding> + + <command name="docb.splitOrInsertNewLine"> + <macro> + <choice> + <command name="insertControlChar" parameter="\n" /> + + <sequence> + <command name="selectNode" + parameter="ancestorOrSelf[implicitElement] simpara para" /> + <command name="split" /> + </sequence> + </choice> + </macro> + </command> + + <command name="docb.joinOrDeleteChar"> + <macro> + <choice> + <sequence> + <test + expression="($dot/ancestor::para or $dot/ancestor::simpara) and + not($selected) and not($mark)" /> + <command name="deleteSelectionOrJoinOrDeleteChar" parameter="%0" /> + </sequence> + + <command name="deleteSelectionOrDeleteChar" parameter="%0" /> + </choice> + </macro> + </command> + + <!-- Easy way to add paragraphs and list items --> + + <binding> + <keyPressed code="ENTER" modifiers="mod" /> + <command name="docb.addSame" parameter="After" /> + </binding> + + <binding> + <keyPressed code="ENTER" modifiers="mod shift" /> + <command name="docb.addSame" parameter="Before" /> + </binding> + + <command name="docb.addSame"> + <macro> + <choice> + <sequence> + <command name="selectNode" + parameter="ancestorOrSelf[implicitElement] simpara para" /> + + <choice> + <sequence> + <match context="$selected" + pattern="listitem/*[position() = 1]| + callout/*[position() = 1]| + step/*[position() = 1]" /> + <command name="docb.addListItem" parameter="%0" /> + </sequence> + + <command name="insertNode" parameter="sameElement%0" /> + </choice> + </sequence> + + <command name="docb.addListItem" parameter="%0" /> + </choice> + </macro> + </command> + + <!-- Note that Shift-Enter is not bound. --> + + <!-- An easy way to paste paragraphs copied from another application. --> + + <command name="docb.pasteAfterAsParagraphs"> + <macro> + <sequence> + <command name="makeParagraphs" parameter="%0" /> + <command name="paste" parameter="after[implicitElement] %_" /> + </sequence> + </macro> + </command> + + <binding> + <keyPressed code="ESCAPE" /> + <charTyped char="w" /> + <command name="docb.pasteAfterAsParagraphs" parameter="para" /> + </binding> + + <!-- An easy way to specify the URL in ulink --> + + <binding> + <appEvent name="drop" /> + <command name="docb.fileDrop" parameter="'%{value}'" /> + </binding> + + <command name="docb.fileDrop"> + <macro> + <choice> + <sequence> + <match context="$clickedElement" pattern="ulink" /> + <set variable="selectedElement" expression="$clickedElement" /> + + <set variable="dropped" context="$selectedElement" + expression="relativize-uri(uri-or-file-name('%0'))" /> + <get expression="$dropped" /> + <command name="putAttribute" parameter="url '%_'" /> + + <get expression="$dropped" /> + <command name="status" parameter="url='%_'" /> + </sequence> + + <command name="XXE.open" parameter="%0" /> + </choice> + </macro> + </command> + + <!-- Element templates ================================================== --> + + <!-- Unlike graphic, mediaobject/imageobject is also supported by + simplified docbook. --> + + <elementTemplate name="image" selectable="override"> + <figure xmlns=""> + <title> + + + + + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/cals_table.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/cals_table.imp new file mode 100644 index 0000000..6e02a94 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/cals_table.imp @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2005-2009 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Styles for CALS tables (up to DocBook 4.2). + */ + +@import "table.imp"; + +/* + * "black" is the color used to draw a border around the table and its cells + * based on values of attributes such as frame, rowsep and colsep. + * + * "rgb(238,238,224)" (a very light gray) is the color used to draw + * a border around each cell whether the cell actually has borders or not. + * Remove this parameter if this ``cell footprint'' disturbs you. + * + * For more information about table support for DocBook, see + * XMLmind XML Editor - Configuration and Deployment. + */ +@extension "com.xmlmind.xmleditext.docbook.table.TableSupport black rgb(238,238,224)"; + diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp new file mode 100644 index 0000000..443f990 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp @@ -0,0 +1,135 @@ +/* + * Copyright (c) 2003-2007 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Styles for making sections and blocks with titles collapsible. + */ + +set, +book, +part, +reference, +chapter, +preface, +article, +sect1, +sect2, +sect3, +sect4, +section, +appendix, +figure, +example, +table { + collapsible: yes; + not-collapsible-head: 1; /* title or metainfo */ +} + +figure { + collapsed-content: url(icons/figure.png); + collapsed-content-align: center; +} + +example { + collapsed-content: url(icons/para.png); + collapsed-content-align: center; +} + +table { + collapsed-content: url(icons/table.png); + collapsed-content-align: center; +} + +set > title:first-child:before, +book > title:first-child:before, +reference > title:first-child:before, +preface > title:first-child:before, +article > title:first-child:before, +figure > title:before, +example > title:before, +table > title:before { + content: collapser() " "; +} + +part > title:first-child:before { + content: collapser() " Part " simple-counter(n-, upper-roman) ": "; +} + +chapter > title:first-child:before { + content: collapser() " Chapter " simple-counter(n-, decimal) ": "; +} + +sect1 > title:first-child:before { + content: collapser() " " simple-counter(n-) " "; +} + +sect2 > title:first-child:before { + content: collapser() " " simple-counter(nn-) " "; +} + +sect3 > title:first-child:before { + content: collapser() " " simple-counter(nnn-) " "; +} + +sect4 > title:first-child:before { + content: collapser() " " simple-counter(nnnn-) " "; +} + +section > title:first-child:before { + content: collapser() " " simple-counter(n-) " "; +} + +section section > title:first-child:before { + content: collapser() " " simple-counter(nn-) " "; +} + +section section section > title:first-child:before { + content: collapser() " " simple-counter(nnn-) " "; +} + +section section section section > title:first-child:before { + content: collapser() " " simple-counter(nnnn-) " "; +} + +section section section * section > title:first-child:before { + content: ""; +} + +appendix > title:first-child:before { + content: collapser() " Appendix " simple-counter(n-, upper-alpha) ": "; +} + +appendixinfo:first-child, +articleinfo:first-child, +bookinfo:first-child, +chapterinfo:first-child, +partinfo:first-child, +prefaceinfo:first-child, +referenceinfo:first-child, +sect1info:first-child, +sect2info:first-child, +sect3info:first-child, +sect4info:first-child, +sectioninfo:first-child, +setinfo:first-child { + margin-left: 20px; +} + +appendixinfo:first-child:before, +articleinfo:first-child:before, +bookinfo:first-child:before, +chapterinfo:first-child:before, +partinfo:first-child:before, +prefaceinfo:first-child:before, +referenceinfo:first-child:before, +sect1info:first-child:before, +sect2info:first-child:before, +sect3info:first-child:before, +sect4info:first-child:before, +sectioninfo:first-child:before, +setinfo:first-child:before { + content: collapser(); + display: marker; +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/docbook1.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/docbook1.imp new file mode 100644 index 0000000..27a7561 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/docbook1.imp @@ -0,0 +1,1157 @@ +/* + * Copyright (c) 2003-2010 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Styles for elements other than those found in Simplified DocBook. + */ + +/* ===================================== + Book structure +===================================== */ + +set { + display: block; +} + +set > title { + font-size: 2.5em; + margin: 0.25ex 0; + border-width: 4px; + border-style: solid; + border-color: transparent transparent #004080 transparent; +} + +book { + display: block; +} + +book > title { + font-size: 2.5em; + margin: 0.25ex 0; + border-width: 3px; + border-style: solid; + border-color: transparent transparent #004080 transparent; +} + +dedication, +colophon { + display: block; + /* content of dedication has a margin */ +} + +part, +reference { + display: block; +} + +part > title, +reference > title { + font-size: 2em; + margin: 0.5ex 0; + border-width: 2px; + border-style: solid; + border-color: transparent transparent #004080 transparent; +} + +part > title:before { + content: "Part " simple-counter(n-, upper-roman) ": "; +} + +partintro { + display: block; + /* content of partintro has a margin */ +} + +chapter, +preface { + display: block; +} + +chapter > title, +preface > title { + font-size: 2em; + margin: 0.5ex 0; + border-width: 1px; + border-style: solid; + border-color: transparent transparent #004080 transparent; +} + +chapter > title:before { + content: "Chapter " simple-counter(n-, decimal) ": "; +} + +/* ------------------------------------- + TOC +------------------------------------- */ + +toc { + display: block; + /* content of toc has a margin */ +} + +tocchap, +tocpart { + display: block; + margin: 1.33ex 0; +} + +tocfront, +tocback, +tocentry { + display: block; + /* no vertical margins to make it more compact */ +} + +toclevel1, +toclevel2, +toclevel3, +toclevel4, +toclevel5 { + display: block; + /* no vertical margins to make it more compact */ +} + +toclevel2, +toclevel3, +toclevel4, +toclevel5 { + margin-left: 4ex; +} + +/* ------------------------------------- + LOT +------------------------------------- */ + +lot { + display: block; + /* content of lot has a margin */ +} + +lotentry { + display: block; + /* no vertical margins to make it more compact */ +} + +/* ------------------------------------- + Glossary +------------------------------------- */ + +glossary, +glossdiv { + display: block; + /* content of glossary has a margin */ +} + +glosslist { + display: block; + margin-left: 2ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +glossentry { + display: block; + /* no vertical margins to make it more compact */ +} + +glossterm { + display: inline; + font-style: italic; +} + +glossentry > acronym, +glossentry > abbrev, +glossentry > indexterm, +glossentry > revhistory { + display: block; + margin-left: 4ex; + margin-top: 0; + margin-bottom: 1.33ex; +} + +glossdef, +glosssee { + display: block; + margin-left: 4ex; + margin-bottom: 1.33ex; +} + +glossdef > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +glossseealso { + display: block; + margin: 1.33ex 0; +} + +glosssee:before, +glossseealso:before { + display: inline; + font-size: small; + color: #004080; +} + +glosssee:before { + content: "See "; +} + +glossseealso:before { + content: "See also "; +} + +/* ------------------------------------- + Index +------------------------------------- */ + +index, +setindex, +indexdiv { + display: block; + /* content of index has a margin */ +} + +indexentry { + display: block; + /* no vertical margins to make it more compact */ +} + +primaryie, +secondaryie, +tertiaryie, +seeie, +seealsoie { + display: block; + /* no vertical margins to make it more compact */ +} + +secondaryie { + margin-left: 2ex; +} + +tertiaryie { + margin-left: 4ex; +} + +seeie, +seealsoie { + margin-left: 6ex; +} + +seeie:before, +seealsoie:before { + display: inline; + font-size: small; + color: #004080; +} + +seeie:before { + content: "See "; +} + +seealsoie:before { + content: "See also "; +} + +/* ===================================== + Paragraphs +===================================== */ + +ackno { + display: block; + margin: 1.33ex 0; +} + +address { + display: block; + white-space: pre; + margin: 1.33ex 0; +} + +street, +pob, +postcode, +city, +state, +country, +phone, +fax, +otheraddr { + display: inline; +} + +formalpara { + display: block; + /* content of formalpara has a margin */ +} + +/* ===================================== + Lists +===================================== */ + +procedure { + display: block; + margin-left: 2ex; /* all lists are slightly indented */ + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +stepalternatives, +substeps { + display: block; +} + +stepalternatives > *:first-child, +substeps > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +step { + display: block; + margin-left: 6ex; +} + +step > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +step:before { + display: marker; + content: simple-counter(n, decimal) "."; + font-weight: bold; + color: #004080; +} + +step step:before { + content: simple-counter(n, lower-alpha) "."; +} +step step step:before { + content: simple-counter(n, decimal) "."; +} +step step step step:before { + content: simple-counter(n, lower-alpha) "."; +} +step step step step step:before { + content: simple-counter(n, decimal) "."; +} + +segmentedlist { + display: block; + margin-left: 2ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +segmentedlist > title { + margin-top: 0; +} + +segtitle { + display: inline; + font-weight: bold; + color: #004080; +} + +seglistitem { + display: block; + margin: 1.33ex 0; +} + +seg { + display: inline; +} + +segtitle:before, +seg:before { + content: " "; +} + +segtitle:first-child:before, +title + segtitle:before, +seg:first-child:before { + content: ""; +} + +simplelist { /* also works for type=vert */ + display: block; + margin-left: 2ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +member { + display: block; +} + +simplelist[type=inline] > member, +simplelist[type=horiz] > member { + display: inline; +} + +simplelist[type=inline] > member:before { + content: ", "; + color: gray; +} + +simplelist[type=horiz] > member:before { + content: " "; +} + +simplelist[type=inline] > member:first-child:before, +simplelist[type=horiz] > member:first-child:before { + content: ""; +} + +/* ===================================== + Figures +===================================== */ + +graphic { + display: block; + margin: 1.33ex auto; +} + +inlinegraphic { + display: inline; +} + +/* + * Replaced content of graphic and inlinegraphic + * is defined in image.imp. + */ + +equation, +informalequation { + display: block; + margin: 1.33ex auto; +} + +equation > title { + font-style: italic; + font-weight: normal; + text-align: center; + margin: 0; /* content of equation generally already has a margin */ +} + +mathphrase, +alt { + display: block; + text-align: center; + margin: 1.33ex 0; +} + +mathphrase { + font-style: italic; +} + +alt { + font-size: small; + background-color: #EEEEFF; +} + +inlineequation { + display: inline; +} + +inlineequation > mathphrase, +inlineequation > alt, +inlineequation > graphic { /* inlineequation > graphic is a DTD bug */ + display: inline; +} + +screenshot { + display: block; + /* content of screenshot has a margin */ +} + +screeninfo { + display: block; + margin: 1.33ex 0; + font-size: small; + background-color: #EEEEFF; + text-align: center; +} + +/* ------------------------------------- + Callouts +------------------------------------- */ + +mediaobjectco { + display: block; + /* content of mediaobjectco has a margin */ +} + +graphicco, +imageobjectco, +programlistingco, +screenco { + display: block; + /* content of graphicco has a margin */ +} + +areaspec, +areaset, +area { + display: tree; +} + +co { + display: inline; + content: icon(left-half-disc) simple-counter(n) icon(right-half-disc); + color: #004080; +} + +coref { + display: inline; + content: icon(left-half-disc) attr(linkend) icon(right-half-disc); + color: #004080; +} + +calloutlist { + display: block; + margin-left: 2ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +callout { + display: block; + margin-left: 6ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +callout > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +calloutlist > callout:before { + display: marker; + content: icon(left-half-disc) simple-counter(n) icon(right-half-disc); + color: #004080; +} + +/* ===================================== + Divisions +===================================== */ + +highlights { + display: block; + margin-bottom: 1.33ex; + background-color: #F8E0F8; + border: thin solid #F880F8; + padding: 2px; +} + +highlights:before { + display: block; + content: element-label(); + font-weight: bold; + color: #E840E8; + margin-top: 1.33ex; +} + +/* ===================================== + Special sections +===================================== */ + +/* ------------------------------------- + Task +------------------------------------- */ + +task { + display: block; + /* content of task has a margin */ +} + +tasksummary, +taskprerequisites, +taskrelated, +task > procedure { + display: block; + margin-left: 2ex; + /* content of taskxxx has a margin */ + margin-top: 0; + margin-bottom: 0; +} + +/* ------------------------------------- + Question-and-answer set +------------------------------------- */ + +qandaset, +qandadiv { + display: block; + /* content of qandaset has a margin */ +} + +qandaentry { + display: block; + margin: 1.33ex 0; +} + +question, +answer { + display: block; + margin-left: 4ex; + /* content of question has a margin */ +} + +question > *:first-child, +answer > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +question:before, +answer:before { + display: marker; + color: #004080; + font-weight: bold; +} + +question:before { + content: "Q:"; +} + +answer:before { + content: "A:"; +} + +label { + display: block; + margin: 1.33ex 0; + color: #004080; + font-weight: bold; +} + +/* ------------------------------------- + Set of messages +------------------------------------- */ + +msgset { + display: block; + /* content of msgset has a margin */ +} + +msgentry, +simplemsgentry { + display: block; + margin: 1.33ex 0; + border: thin solid gray; + padding: 2px; +} + +msg, +msgmain, +msgsub, +msgrel, +msgtext, +msgexplan, +msginfo { + display: block; + margin-left: 10ex; + /* content of msg has a margin */ +} + +msg > *:first-child, +msgmain > *:first-child, +msgsub > *:first-child, +msgrel > *:first-child, +msgtext > *:first-child, +msgexplan > *:first-child, +msginfo > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +msg:before, +msgmain:before, +msgsub:before, +msgrel:before, +simplemsgentry > msgtext:before, +msgexplan:before, +msginfo:before { + display: marker; + content: element-label(); + font-size: small; + color: #004080; +} + +msglevel, +msgorig, +msgaud { + display: inline; +} + +msglevel:before, +msgorig:before, +msgaud:before { + content: icon(left-half-disc) element-local-name() " "; + font-size: small; + color: gray; +} + +msglevel:after, +msgorig:after, +msgaud:after { + content: icon(right-half-disc); + color: gray; +} + +/* ------------------------------------- + Bibliography + (complements docbook2.imp) +------------------------------------- */ + +bibliocoverage, +bibliorelation, +bibliosource { + display: inline; +} + +biblioid, +isbn, +issn, +pubsnumber { + display: inline; +} + +citebiblioid { + display: inline; +} + +biblioref { + content: attr(linkend) icon(right-link); + vertical-align: text-top; /* for the icon */ + color: navy; +} + +/* ------------------------------------- + Meta-information + (complements docbook2.imp) +------------------------------------- */ + +artpagenums, +pagenums, +seriesvolnums, +invpartnumber { + display: inline; +} + +itermset { + /* Could be block but inline is safer when used in strange places + and when used in meta-info, display is forced to be block. */ + display: inline; +} + +collab { + display: block; /* can contain affiliation */ + margin: 1.33ex 0; +} + +collabname { + display: inline; +} + +confgroup { + display: block; /* can contain address */ + margin: 1.33ex 0; +} + +confdates, +conftitle, +confnum, +confsponsor { + display: inline; +} + +confdates:after, +conftitle:after, +confnum:after, +confsponsor:after { + content: " "; +} + +contractnum, +contractsponsor { + display: inline; +} + +publisher { + display: block; /* can contain address */ + margin: 1.33ex 0; +} + +printhistory { + display: block; + /* content of printhistory has a margin */ +} + +/* ===================================== + Other elements +===================================== */ + +bridgehead { + display: block; + font-weight: bold; + color: #004080; + margin: 1.33ex 0; +} + +bridgehead[renderas=sect1] { + font-size: 1.5em; + margin: .83ex 0; +} + +bridgehead[renderas=sect2] { + font-size: 1.3em; + margin: 1ex 0; +} + +/* --------------------------------------------------------------------------- + Inlined elements other than those belonging to modules + + Note that default display is inline, so there is no need to specify it. +--------------------------------------------------------------------------- */ + +/* ------------------------------------- + Technical +------------------------------------- */ + +keycombo { + display: inline; +} + +keycombo > *:before { + content: icon(plus); + color: gray; +} + +keycombo[action] > *:before { + content: " "; +} + +keycombo[action=simul] > *:before { + content: icon(plus); +} + +keycombo > *:first-child:before { + content: ""; +} + +keycap, +keysym, +mousebutton { + font-weight: bold; +} + +keycode { + font-family: monospace; +} + +menuchoice { + display: inline; +} + +menuchoice > *:before { + content: icon(pop-right); + color: gray; +} + +menuchoice > *:first-child:before, +menuchoice > shortcut + *:before { + content: ""; +} + +shortcut { + display: inline; +} + +/* shortcut:before should be enough but this selector makes this rule more + specific than the above one */ + +menuchoice > shortcut:first-child:before { + content: "("; + color: gray; +} + +shortcut:after { + content: ") "; + color: gray; +} + +shortcut > *:before { + content: " "; +} + +shortcut > *:first-child:before { + content: ""; +} + +guimenu, +guisubmenu, +guimenuitem, +guibutton, +guilabel, +guiicon, +accel, +interface { + font-weight: bold; +} + +accel { + text-decoration: underline; +} + +action { + display: inline; +} + +application, +hardware, +database, +productnumber { + display: inline; +} + +medialabel { + font-weight: bold; +} + +package, +uri, +code, +constant, +envar, +markup, +prompt, +property, +sgmltag, +token, +type, +function, +parameter, +varname, +returnvalue, +errorcode, +errorname, +errortext, +errortype, +exceptionname, +classname, +methodname, +interfacename, +structfield, +structname, +symbol { + font-family: monospace; +} + +optional { + display: inline; +} +synopsis > optional:before { + content: "["; + color: gray; +} +synopsis > optional:after { + content: "]"; + color: gray; +} + +sgmltag:before, +sgmltag:after { + color: gray; +} + +sgmltag[class=attvalue]:before { + content: '"'; +} +sgmltag[class=attvalue]:after { + content: '"'; +} + +sgmltag[class=starttag]:before, +sgmltag[class=emptytag]:before { + content: "<"; +} +sgmltag[class=endtag]:before { + content: ""; +} +sgmltag[class=emptytag]:after { + content: "/>"; +} + +sgmltag[class=pi]:before, +sgmltag[class=xmlpi]:before { + content: ""; +} + +sgmltag[class=sgmlcomment]:before { + content: ""; +} + +sgmltag[class=paramentity]:before { + content: "%"; +} +sgmltag[class=genentity]:before { + content: "&"; +} +sgmltag[class=numcharref]:before { + content: "&#"; +} +sgmltag[class=paramentity]:after, +sgmltag[class=genentity]:after, +sgmltag[class=numcharref]:after { + content: ";"; +} + +/* ------------------------------------- + General +------------------------------------- */ + +remark { + font-style: italic; + color: #880000; +} + +firstterm, +foreignphrase { + font-style: italic; +} + +citation:before { + content: "["; + color: gray; +} + +citation:after { + content: "]"; + color: gray; +} + +wordasword { + font-family: sans-serif; + font-size: medium; + font-style: normal; + font-weight: normal; + color: black; +} + +olink { + color: navy; + text-decoration: underline; +} + +olink:after { + vertical-align: text-top; /* for the icon */ +} + +olink[targetdoc]:after { + content: icon(left-link) attr(targetdoc); +} + +olink[targetdoc][targetptr]:after { + content: icon(left-link) attr(targetdoc) ":" attr(targetptr); +} + +modespec { + display: inline; +} + +indexterm, +primary, +secondary, +tertiary, +see, +seealso { + display: inline; + font-size: small; +} + +indexterm:before { + content: icon(left-half-disc); + color: gray; +} + +indexterm:after { + content: icon(right-half-disc); + color: gray; +} + +indexterm[class=startofrange][id]:before { + content: icon(left-half-disc) attr(id) icon(half-disc-separator); +} + +indexterm[class=startofrange][xml|id]:before { + content: icon(left-half-disc) attr(xml|id) icon(half-disc-separator); +} + +indexterm[class=endofrange]:after { + content: icon(half-disc-separator) attr(startref) icon(right-half-disc); +} + +indexterm > *:before { + content: "; "; + color: gray; + font-weight: bold; +} + +indexterm > see:before { + content: " see "; +} + +indexterm > seealso:before { + content: " see also "; +} + +indexterm > *:first-child:before { + content: ""; +} + +termdef { + display: inline; +} + +termdef:before { + content: icon(right) element-local-name() " "; + color: gray; +} + +termdef:after { + content: icon(left); + color: gray; +} + +/* ------------------------------------- + Other +------------------------------------- */ + +beginpage { + display: inline; + content: url(icons/beginpage.png); +} + +sbr { + display: inline; + content: "\A"; + color: gray; +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/docbook2.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/docbook2.imp new file mode 100644 index 0000000..d558ca7 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/docbook2.imp @@ -0,0 +1,1292 @@ +/* + * Copyright (c) 2003-2010 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Styles for elements found in Simplified DocBook + * (and closely related elements even if not found in Simplified DocBook). + */ + +/* ===================================== + Article structure +===================================== */ + +sconsdoc, +article { + display: block; +} + +article > title { + font-size: 2em; + margin: 0.5ex 0; + border-width: 1px; + border-style: solid; + border-color: transparent transparent #004080 transparent; +} + +title, +subtitle, +titleabbrev { + display: block; + color: #004080; + margin: 1.33ex 0; +} + +title, +subtitle { + font-weight: bold; +} + +/* ------------------------------------- + Sections +------------------------------------- */ + +section, +sect1, +sect2, +sect3, +sect4, +sect5, +simplesect { + display: block; +} + +tool, +builder, +scons_function, +cvar { + display: block; +} + +sconsdoc > tool:before { + color: #004080; + font-size: 1.5em; + margin: .83ex 0; + display: block; + content: "Tool '" attr(name) "'"; +} + +sconsdoc > builder:before { + color: #004080; + font-size: 1.5em; + margin: .83ex 0; + display: block; + content: "Builder '" attr(name) "'"; +} + +sconsdoc > scons_function:before { + color: #004080; + font-size: 1.5em; + margin: .83ex 0; + display: block; + content: "Function '" attr(name) "'"; +} + +sconsdoc > cvar:before { + color: #004080; + font-size: 1.5em; + margin: .83ex 0; + display: block; + content: "CVar '" attr(name) "'"; +} + +cvar > summary:before, +scons_function > summary:before, +builder > summary:before, +tool > summary:before { + font-size: 1.3em; + font-weight: bold; + margin: .83ex 0; + display: block; + content: "Summary: "; +} + +scons_function > arguments:before { + font-size: 1.2em; + margin: .83ex 0; + display: block; + content: "Arguments"; +} + +section > title, +sect1 > title { + font-size: 1.5em; + margin: .83ex 0; +} + +section > title:before, +sect1 > title:before { + content: simple-counter(n-) " "; +} + +section section > title, +sect2 > title { + font-size: 1.3em; + margin: 1ex 0; +} + +section * section > title { + font-size: 1em; + margin: 1.33ex 0; +} + +section section > title:before, +sect2 > title:before { + content: simple-counter(nn-) " "; +} + +section section section > title:before, +sect3 > title:before { + content: simple-counter(nnn-) " "; +} + +section section section section > title:before, +sect4 > title:before { + content: simple-counter(nnnn-) " "; +} + +section section section * section > title:before { + content: ""; +} + +/* ------------------------------------- + Appendix +------------------------------------- */ + +appendix { + display: block; +} + +appendix > title { /* in a book or in a part */ + font-size: 2em; + margin: 0.5ex 0; + border-width: 1px; + border-style: solid; + border-color: transparent transparent #004080 transparent; +} + +article > appendix > title { + font-size: 1.5em; + margin: 0.83ex 0; + border-width: 0; + border-style: none; +} + +appendix > title:before { + content: "Appendix " simple-counter(n-, upper-alpha) ": "; +} + +/* ===================================== + Paragraphs +===================================== */ + +para, +simpara { + display: block; + margin: 1.33ex 0; +} + +/* ===================================== + Lists +===================================== */ + +/* ------------------------------------- + itemizedlist +------------------------------------- */ + +uses, +sets, +itemizedlist { + display: block; + margin-left: 2ex; /* all lists are slightly indented */ + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +listitem { + display: block; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +uses[spacing=compact] > listitem, +sets[spacing=compact] > listitem, +itemizedlist[spacing=compact] > listitem, +orderedlist[spacing=compact] > listitem { + margin-top: 0; + margin-bottom: 0; +} + +listitem > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +uses > listitem, +sets > listitem, +itemizedlist > listitem { + margin-left: 2.5ex; +} + +uses > listitem:before, +sets > listitem:before, +itemizedlist > listitem:before { + display: marker; + content: disc; + color: #004080; +} + +itemizedlist > listitem itemizedlist > listitem:before { + content: square; +} + +itemizedlist > listitem itemizedlist > listitem itemizedlist > +listitem:before { + content: icon(diamond); +} + +itemizedlist > listitem itemizedlist > listitem itemizedlist > +listitem itemizedlist > listitem:before { + content: circle; +} + +/* ------------------------------------- + orderedlist +------------------------------------- */ + +orderedlist { + display: block; + margin-left: 2ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; + counter-reset: item; +} + +orderedlist[continuation=continues] { + counter-reset: none; +} + +orderedlist > listitem { + margin-left: 6ex; + counter-increment: item; +} + +orderedlist > listitem:before { + display: marker; + content: counter(item, decimal) "."; + font-weight: bold; + color: #004080; +} + +orderedlist[numeration=loweralpha] > listitem:before { + content: counter(item, lower-alpha) "."; +} + +orderedlist[numeration=upperalpha] > listitem:before { + content: counter(item, upper-alpha) "."; +} + +orderedlist[numeration=lowerroman] > listitem:before { + content: counter(item, lower-roman) "."; +} + +orderedlist[numeration=upperroman] > listitem:before { + content: counter(item, upper-roman) "."; +} + +orderedlist[inheritnum=inherit] > listitem:before, +orderedlist[inheritnum=inherit][numeration=arabic] > listitem:before { + content: counters(item, ".", decimal) "."; +} + +orderedlist[inheritnum=inherit][numeration=loweralpha] > listitem:before { + content: counters(item, ".", lower-alpha) "."; +} + +orderedlist[inheritnum=inherit][numeration=upperalpha] > listitem:before { + content: counters(item, ".", upper-alpha) "."; +} + +orderedlist[inheritnum=inherit][numeration=lowerroman] > listitem:before { + content: counters(item, ".", lower-roman) "."; +} + +orderedlist[inheritnum=inherit][numeration=upperroman] > listitem:before { + content: counters(item, ".", upper-roman) "."; +} + +/* ------------------------------------- + variablelist +------------------------------------- */ + +variablelist { + display: block; + margin-left: 2ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +varlistentry { + display: block; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +variablelist[spacing=compact] > varlistentry { + margin-top: 0; + margin-bottom: 0; +} + +term { + display: block; + font-weight: bold; +} + +varlistentry > listitem { + margin-left: 4ex; + margin-top: 0; + margin-bottom: 0; +} + +/* ===================================== + Figures +===================================== */ + +programlisting, +screen, +scons_example, +scons_example_file, +example_commands, +sconstruct, +scons_output, +scons_output_command, +file, +directory, +literallayout, +synopsis { + display: block; + white-space: pre; + font-family: monospace; + margin: 1.33ex 0; +} + +example_commands, +programlisting { + background-color: #EEEEEE; + border: thin solid gray; + padding: 2px; +} + +scons_example, +sconstruct, +scons_output { + background-color: #94CAEE; + border: thin solid gray; + padding: 2px; +} + +file, +directory, +scons_example_file { + background-color: #EED27B; +} + +screen { + background-color: #EEEEFF; + border: thin solid #8888FF; + padding: 2px; +} + +figure, +informalfigure, +example, +informalexample { + display: block; + margin: 1.33ex auto; +} + +figure > title, +example > title { + font-style: italic; + font-weight: normal; + text-align: center; + margin: 0; /* content of figure generally already has a margin */ +} + +mediaobject { + display: table; + border-spacing: 2px; + margin: 1.33ex auto; +} + +inlinemediaobject { + display: inline-table; + border-spacing: 2px; +} + +caption { + display: table-caption; + color: #004080; + font-style: italic; + font-weight: normal; + text-align: center; + /* content of caption already has a margin */ +} + +audioobject, +videoobject, +imageobject, +textobject { + display: table-cell; /* this will create one row per cell */ + text-align: center; +} + +objectinfo { + text-align: left; +} + +mediaobject > objectinfo { + display: table-cell; +} + +audiodata { + display: inline; + content: url(icons/audio.png); +} + +videodata { + display: inline; + content: url(icons/video.png); +} + +/* + * imagedata is defined in image.imp. + */ + +textdata { + display: inline; + content: url(icons/text.png); +} + +/* ===================================== + Divisions +===================================== */ + +abstract { + display: block; + margin-left: 18ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +abstract > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +abstract:before { + display: marker; + content: element-label(); + font-weight: bold; + color: #004080; +} + +blockquote, +epigraph { + display: block; + margin: 1.33ex 10ex; +} + +blockquote > title { + font-style: italic; + font-weight: normal; + text-align: center; + margin: 0; /* content of blockquote already has a margin */ +} + +attribution { + display: block; + text-align: right; +} + +attribution:before { + content: " -- "; +} + +footnote { + display: block; + margin-left: 18ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; + margin-right: 10ex; + font-size: small; + padding: 2px; + background-color: #F0F0FF; +} + +footnote > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +footnote:before { + display: marker; + content: element-label(); + color: #004080; +} + +footnote[label]:before { + content: "[" attr(label) "]"; +} + +note, +caution, +important, +tip, +warning { + display: block; + margin-left: 18ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +note > *:first-child, +caution > *:first-child, +important > *:first-child, +tip > *:first-child, +warning > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +note:before, +caution:before, +important:before, +tip:before, +warning:before { + display: marker; + content: element-label(); + font-weight: bold; + color: #004080; +} + +sidebar { + display: block; + margin: 1.33ex 0; + border: thin solid #80F880; + background-color: #E0F8E0; + padding: 2px; +} + +sidebar > title { + margin: 0; /* content of sidebar already has a margin */ +} + +/* ===================================== + Special sections +===================================== */ + +/* ------------------------------------- + Bibliography + (complemented in docbook1.imp) +------------------------------------- */ + +bibliography, +bibliodiv, +bibliolist { + display: block; + /* content of bibliography has a margin */ +} + +bibliomixed, +bibliomset, +biblioentry, +biblioset { + display: block; + margin: 1.33ex 0; +} + +bibliomixed, +biblioentry { + border: thin solid gray; + padding: 2px; +} + +bibliomixed > title, +bibliomixed > subtitle, +bibliomixed > titleabbrev, +bibliomset > title, +bibliomset > subtitle, +bibliomset > titleabbrev, +biblioentry > title, +biblioentry > subtitle, +biblioentry > titleabbrev, +biblioset > title, +biblioset > subtitle, +biblioset > titleabbrev { + /* title of a bibliography entry, not ``caption'' of a formal block */ + font-weight: normal; + font-size: 1em; + color: black; +} + +bibliomixed > title, +bibliomixed > subtitle, +bibliomixed > titleabbrev, +bibliomset > title, +bibliomset > subtitle, +bibliomset > titleabbrev { + display: inline; +} + +bibliomixed > title, +bibliomixed > subtitle, +bibliomset > title, +bibliomset > subtitle { + font-style: italic; +} + +bibliomisc { + display: inline; +} + +/* ------------------------------------- + Meta-information + (complemented in docbook1.imp) +------------------------------------- */ + +appendixinfo, +articleinfo, +bibliographyinfo, +blockinfo, +bookinfo, +chapterinfo, +glossaryinfo, +indexinfo, +objectinfo, +partinfo, +prefaceinfo, +refentryinfo, +refmeta, +referenceinfo, +refsect1info, +refsect2info, +refsect3info, +refsectioninfo, +refsynopsisdivinfo, +sect1info, +sect2info, +sect3info, +sect4info, +sect5info, +sectioninfo, +setindexinfo, +setinfo, +sidebarinfo { + display: block; + margin: 1.33ex 0; + border: thin solid #C0F8F8; + background-color: #E0F8F8; + padding: 2px; +} + +authorgroup { + display: block; + /* content of authorgroup has a margin */ +} + +author, +editor, +othercredit { + display: block; /* can contain authorblurb, address */ + margin: 1.33ex 0; +} + +personname { + display: inline; +} + +honorific, +firstname, +surname, +lineage, +othername { + display: inline; +} + +honorific:after, +firstname:after, +surname:after, +lineage:after, +othername:after { + content: " "; +} + +contrib { + display: inline; +} + +authorblurb, +personblurb { + display: block; + /* content of authorblurb has a margin */ +} + +corpauthor, +corpname { + /* Could be block but inline is safer when used in strange places + and when used in meta-info, display is forced to be block. */ + display: inline; +} + +affiliation { + display: block; /* can contain address */ + margin: 1.33ex 0; +} + +shortaffil, +jobtitle, +orgname, +orgdiv { + display: inline; +} + +shortaffil:after, +affiliation > jobtitle:after, +affiliation > orgname:after, +orgdiv:after { + content: " "; +} + +copyright { + display: inline; +} + +year, +holder { + display: inline; +} + +year:after, +holder:after { + content: " "; +} + +date, +pubdate { + display: inline; +} + +edition { + display: inline; +} + +issuenum { + display: inline; +} + +keywordset, +subjectset { + display: inline; +} + +keyword, +subject, +subjectterm { + display: inline; +} + +keyword:after, +subjectterm:after { + content: " "; +} + +legalnotice { + display: block; + /* content of legalnotice has a margin */ +} + +publishername { + display: inline; +} + +releaseinfo { + display: inline; +} + +revhistory { + display: block; + margin: 1.33ex 0; +} + +revision { + display: block; + margin-left: 2.5ex; +} + +revision:before { + display: marker; + content: icon(right); + color: #004080; +} + +revision > author, +authorinitials { + display: inline; + font-weight: bold; +} + +revnumber, +revremark { + display: inline; +} + +revnumber:after, +revision > date:after, +revision > author:after, +revision > authorinitials:after { + content: " "; +} + +revdescription { + display: block; + /* content of revdescription has a margin */ +} + +volumenum { + display: inline; +} + +/* --------------------------------------------------------------------------- + Inlined elements other than those belonging to modules + + Note that default display is inline, so there is no need to specify it. +--------------------------------------------------------------------------- */ + +emphasis { + font-style: italic; +} +emphasis[role=bold] { + font-style: normal; + font-weight: bold; +} +emphasis[role=underline] { + font-style: normal; + text-decoration: underline; +} +emphasis[role=strikethrough] { + font-style: normal; + text-decoration: line-through; +} + +emphasis > emphasis { + font-style: normal; + font-weight: normal; + text-decoration: none; +} + +directory, +literal { + font-family: monospace; +} + +link, +ulink, +email { + color: navy; + text-decoration: underline; +} + +/* ------------------------------------- + Technical +------------------------------------- */ + +command, +computeroutput, +filename, +option, +systemitem, +userinput { + font-family: monospace; +} + +computeroutput, +userinput { + background-color: #EEEEEE; +} + +command, +option { + font-weight: bold; +} + +lineannotation { + font-style: italic; + font-size: medium; /* occurs in verbatim, fixed font, blocks */ +} + +replaceable { + font-style: italic; +} + +/* ------------------------------------- + General +------------------------------------- */ + +anchor { + content: icon(right-target); + color: gray; +} + +subscript, +superscript { + display: inline-block; + white-space: nowrap; + font-size: small; +} +subscript { + vertical-align: sub; +} +superscript { + vertical-align: super; +} + +abbrev, +acronym { + font-weight: bold; +} + +citetitle { + font-style: italic; +} + +footnoteref { + content: "[" attr(linkend) "]"; + font-size: small; + vertical-align: super; + color: navy; +} + +footnoteref[label] { + content: "[" attr(label) "]"; +} + +phrase[revisionflag=deleted] { + text-decoration: line-through; +} + +phrase[revisionflag=added] { + text-decoration: underline; +} + +quote:before { + content: open-quote; + font-weight: bold; + color: gray; +} + +quote:after { + content: close-quote; + font-weight: bold; + color: gray; +} + +trademark, +productname { + color: #004080; +} + +trademark:after, +productname:after { + font-size: small; + color: gray; +} + +trademark:after, /* also works for class=trade */ +productname[class=trade]:after { + content: "[tm]"; +} + +trademark[class=copyright]:after, +productname[class=copyright]:after { + content: "\A9"; + font-size: medium; +} + +trademark[class=registered]:after, +productname[class=registered]:after { + content: "\AE"; + font-size: medium; +} + +trademark[class=service]:after, +productname[class=service]:after { + content: "[sm]"; +} + +xref { + content: icon(left-link) + xpath("if(id(@linkend)/@xreflabel, id(@linkend)/@xreflabel, @linkend)"); + vertical-align: text-top; /* for the icon */ + color: navy; +} + +xref[endterm] { + content: icon(left-link) xpath("if(id(@endterm), id(@endterm), @endterm)"); +} + +/* --------------------------------------------------------------------------- + Overrides natural display of elements in special sections + (must be at the very end of the style sheet) +--------------------------------------------------------------------------- */ + +/* ------------------------------------- + Bibliography +------------------------------------- */ + +biblioentry > *, +biblioset > * { + display: block; + text-align: left; /* Reset paragraph styles */ + font: normal normal 1em sans-serif; + color: black; + margin-left: 18ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +biblioentry > *:first-child, +biblioset > *:first-child { /* nicer */ + margin-top: 0; + margin-bottom: 0; +} + +biblioentry > *:before, +biblioset > *:before { + display: marker; + content: element-label(); + font: normal normal small sans-serif; + color: #004080; +} + +biblioentry > *:after, +biblioset > *:after { + content: ""; +} + +biblioentry > biblioset, +biblioset > biblioset { + margin-left: 0; +} + +biblioentry > biblioset:before, +biblioset > biblioset:before { + content: ""; +} + +/* ------------------------------------- + Meta-information +------------------------------------- */ + +appendixinfo > *, +articleinfo > *, +bibliographyinfo > *, +blockinfo > *, +bookinfo > *, +chapterinfo > *, +glossaryinfo > *, +indexinfo > *, +objectinfo > *, +partinfo > *, +prefaceinfo > *, +refentryinfo > *, +refmeta > *, +referenceinfo > *, +refsect1info > *, +refsect2info > *, +refsect3info > *, +refsectioninfo > *, +refsynopsisdivinfo > *, +sect1info > *, +sect2info > *, +sect3info > *, +sect4info > *, +sect5info > *, +sectioninfo > *, +setindexinfo > *, +setinfo > *, +sidebarinfo > * { + display: block; + text-align: left; /* Reset paragraph styles */ + font: normal normal 1em sans-serif; + color: black; + margin-left: 18ex; + margin-right: 0; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +appendixinfo > *:first-child, +articleinfo > *:first-child, +bibliographyinfo > *:first-child, +blockinfo > *:first-child, +bookinfo > *:first-child, +chapterinfo > *:first-child, +glossaryinfo > *:first-child, +indexinfo > *:first-child, +objectinfo > *:first-child, +partinfo > *:first-child, +prefaceinfo > *:first-child, +refentryinfo > *:first-child, +refmeta > *:first-child, +referenceinfo > *:first-child, +refsect1info > *:first-child, +refsect2info > *:first-child, +refsect3info > *:first-child, +refsectioninfo > *:first-child, +refsynopsisdivinfo > *:first-child, +sect1info > *:first-child, +sect2info > *:first-child, +sect3info > *:first-child, +sect4info > *:first-child, +sect5info > *:first-child, +sectioninfo > *:first-child, +setindexinfo > *:first-child, +setinfo > *:first-child, +sidebarinfo > *:first-child { /* nicer */ + margin-top: 0; + margin-bottom: 0; +} + +appendixinfo > *:before, +articleinfo > *:before, +bibliographyinfo > *:before, +blockinfo > *:before, +bookinfo > *:before, +chapterinfo > *:before, +glossaryinfo > *:before, +indexinfo > *:before, +objectinfo > *:before, +partinfo > *:before, +prefaceinfo > *:before, +refentryinfo > *:before, +refmeta > *:before, +referenceinfo > *:before, +refsect1info > *:before, +refsect2info > *:before, +refsect3info > *:before, +refsectioninfo > *:before, +refsynopsisdivinfo > *:before, +sect1info > *:before, +sect2info > *:before, +sect3info > *:before, +sect4info > *:before, +sect5info > *:before, +sectioninfo > *:before, +setindexinfo > *:before, +setinfo > *:before, +sidebarinfo > *:before { + display: marker; + content: element-label(); + font: normal normal small sans-serif; + color: #004080; +} + +appendixinfo > *:after, +articleinfo > *:after, +bibliographyinfo > *:after, +blockinfo > *:after, +bookinfo > *:after, +chapterinfo > *:after, +glossaryinfo > *:after, +indexinfo > *:after, +objectinfo > *:after, +partinfo > *:after, +prefaceinfo > *:after, +refentryinfo > *:after, +refmeta > *:after, +referenceinfo > *:after, +refsect1info > *:after, +refsect2info > *:after, +refsect3info > *:after, +refsectioninfo > *:after, +refsynopsisdivinfo > *:after, +sect1info > *:after, +sect2info > *:after, +sect3info > *:after, +sect4info > *:after, +sect5info > *:after, +sectioninfo > *:after, +setindexinfo > *:after, +setinfo > *:after, +sidebarinfo > *:after { + content: ""; +} + +appendixinfo > title, +articleinfo > title, +bibliographyinfo > title, +blockinfo > title, +bookinfo > title, +chapterinfo > title, +glossaryinfo > title, +indexinfo > title, +objectinfo > title, +partinfo > title, +prefaceinfo > title, +refentryinfo > title, /* refmeta has no title */ +referenceinfo > title, +refsect1info > title, +refsect2info > title, +refsect3info > title, +refsectioninfo > title, +refsynopsisdivinfo > title, +sect1info > title, +sect2info > title, +sect3info > title, +sect4info > title, +sect5info > title, +sectioninfo > title, +setindexinfo > title, +setinfo > title, +sidebarinfo > title { + font-size: 1.3em; + font-weight: bold; + color: #004080; + margin-left: 0; + margin-right: 0; + margin-top: 0; + margin-bottom: 1ex; +} + +appendixinfo > title:before, +articleinfo > title:before, +bibliographyinfo > title:before, +blockinfo > title:before, +bookinfo > title:before, +chapterinfo > title:before, +glossaryinfo > title:before, +indexinfo > title:before, +objectinfo > title:before, +partinfo > title:before, +prefaceinfo > title:before, +refentryinfo > title:before, +referenceinfo > title:before, +refsect1info > title:before, +refsect2info > title:before, +refsect3info > title:before, +refsectioninfo > title:before, +refsynopsisdivinfo > title:before, +sect1info > title:before, +sect2info > title:before, +sect3info > title:before, +sect4info > title:before, +sect5info > title:before, +sectioninfo > title:before, +setindexinfo > title:before, +setinfo > title:before, +sidebarinfo > title:before { + content: ""; +} + diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/example1.css b/doc/editor_configs/xmlmind/addon/config/scons/css/example1.css new file mode 100644 index 0000000..857d561 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/example1.css @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2003-2008 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * A CSS style sheet for DocBook V4.5. + */ + +doc, +para { + display: block; +} +para { + margin: 1ex 0; +} +para[align] { + text-align: concatenate(attr(align)); +} + diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/html_cals_table.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/html_cals_table.imp new file mode 100644 index 0000000..dd62d3d --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/html_cals_table.imp @@ -0,0 +1,101 @@ +/* + * Copyright (c) 2005-2009 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Styles for both HTML and CALS tables (DocBook 4.3+). + */ + +@import "table.imp"; + +/* + * "black" is the color used to draw a border around the table and its cells + * based on values of attributes such as frame, rowsep and colsep. + * + * "rgb(238,238,224)" (a very light gray) is the color used to draw + * a border around each cell whether the cell actually has borders or not. + * Remove this parameter if this ``cell footprint'' disturbs you. + * + * For more information about table support for DocBook, see + * XMLmind XML Editor - Configuration and Deployment. + */ +@extension "com.xmlmind.xmleditext.docbook.TableSupport black rgb(238,238,224)"; + +/* + * Real DocBook tables (CALS) contain (graphic+|mediaobject+|tgroup+) + * not (tbody+|tr+). + */ + +table:contains-element(tr), +table:contains-element(tbody), +informaltable:contains-element(tr), +informaltable:contains-element(tbody) { + display: table; + border-style: solid; + border-width: 1; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +table:contains-element(tr) > caption, +table:contains-element(tbody) > caption, +informaltable:contains-element(tr) > caption, +informaltable:contains-element(tbody) > caption { + display: table-caption; + color: #004080; + font-style: italic; + font-weight: normal; + text-align: center; + margin: 2px 2ex 2px 2ex; +} + +colgroup { + display: table-column-group; + collapsed: yes; +} + +col { + display: table-column; + collapsed: yes; +} + +/* + * thead, tbody, tfoot, already properly styled in table.imp. + */ + +table:contains-element(tbody) > thead, +table:contains-element(tbody) > tfoot { + /* + * In CALS tables, header and footer rows are often presented + * in an alternate typographic style, such as boldface. + * There is no such processing expectation for HTML tables. + * Explicitly use th instead of td when boldface is needed. + */ + font-weight: normal; +} + +tr { + display: table-row; + background-color: inherit; /*e.g. from read-only tbody*/ +} + +td, +th { + display: table-cell; + background-color: inherit; /*e.g. from read-only row*/ + border-style: solid; + border-width: 1; + padding: 2; +} + +th { + font-weight: bold; +} + +@media print { + colgroup, + col { + display: none; + } +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/image.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/image.imp new file mode 100644 index 0000000..dd1d65f --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/image.imp @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2004-2009 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Display of images. + */ + +mediaobject imagedata { + display: block; /* without this, a viewport specified as % will not work */ + margin: 0 auto; +} + +inlinemediaobject imagedata { + display: inline; +} + +graphic, +inlinegraphic, +imagedata { + content: gadget("com.xmlmind.xmleditext.docbook.Graphic"); +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/print.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/print.imp new file mode 100644 index 0000000..d12a18b --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/print.imp @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2003-2005 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Customizes DocBook CSS style sheet for printing. + */ + +@media print { + * { + background-color: transparent; + line-height: 1.2; + } +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/refentry.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/refentry.imp new file mode 100644 index 0000000..80f1890 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/refentry.imp @@ -0,0 +1,524 @@ +/* + * Copyright (c) 2003 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Styles for refentry elements. + */ + +/* ===================================== + Refentry structure +===================================== */ + +refentry { + display: block; + border-width: 1px; + border-style: solid; + border-color: silver transparent silver transparent; + margin: 3ex 0; +} + +refnamediv, +refsynopsisdiv { + display: block; + margin: 1ex 0; +} + +refnamediv:before, +refsynopsisdiv:before { + display: block; + font-size: 1.3em; + font-weight: bold; + color: #004080; + margin: 1ex 0; +} + +refnamediv:before { + content: "Name"; +} + +refnamediv > *:before { + content: " "; +} + +refnamediv > *:first-child:before { + content: ""; +} + +refdescriptor, +refname, +refpurpose, +refclass { + display: inline; +} + +refpurpose:before, +refclass:before { + content: " -- "; + color: gray; +} + +refsynopsisdiv:before { + content: "Synopsis"; +} + +refsynopsisdiv:contains-element(title):before, +refsynopsisdiv:contains-element(info):before { + content: ""; +} + +refsynopsisdiv > title { + font-size: 1.3em; + margin-top: 0; + margin-bottom: 1ex; +} + +refsection, +refsect1, +refsect2, +refsect3 { + display: block; +} + +refsection > title, +refsect1 > title { + font-size: 1.3em; + margin: 1ex 0; +} + +refsection refsection > title { + font-size: 1em; + margin: 1.33ex 0; +} + +/* ===================================== + Synopsis environments +===================================== */ + +/* ------------------------------------- + cmdsynopsis +------------------------------------- */ + +cmdsynopsis { + display: block; + font-family: monospace; + margin: 1.33ex 0; +} + +synopfragment { + display: block; + font-family: monospace; + margin-left: 4ex; +} + +arg, +group { + display: inline; +} + +arg:before, +group:before { /* also works for choice=opt */ + content: " ["; + color: gray; +} + +group > arg:before, +group > group:before { + content: " | ["; +} + +arg:first-child:before, +group:first-child:before { + content: "["; +} + +arg:after, +group:after { + content: "]"; + color: gray; +} + +arg[rep=repeat]:after, +group[rep=repeat]:after { + content: "]..."; + color: gray; +} + +arg[choice=req]:before, +group[choice=req]:before { + content: " {"; +} + +group > arg[choice=req]:before, +group > group[choice=req]:before { + content: " | {"; +} + +arg[choice=req]:first-child:before, +group[choice=req]:first-child:before { + content: "{"; +} + +arg[choice=req]:after, +group[choice=req]:after { + content: "}"; +} + +arg[choice=req][rep=repeat]:after, +group[choice=req][rep=repeat]:after { + content: "}..."; +} + +arg[choice=plain]:before, +group[choice=plain]:before { + content: " "; +} + +group > arg[choice=plain]:before, +group > group[choice=plain]:before { + content: " | "; +} + +arg[choice=plain]:first-child:before, +group[choice=plain]:first-child:before { + content: ""; +} + +arg[choice=plain]:after, +group[choice=plain]:after { + content: ""; +} + +arg[choice=plain][rep=repeat]:after, +group[choice=plain][rep=repeat]:after { + content: "..."; +} + +synopfragmentref { + display: inline; + color: navy; + text-decoration: underline; +} + +synopfragmentref:after { + content: icon(left-link) attr(linkend); + vertical-align: text-top; /* for the icon */ +} + +/* ------------------------------------- + funcsynopsis +------------------------------------- */ + +funcsynopsis { + display: block; + font-family: monospace; + margin: 1.33ex 0; +} + +funcsynopsisinfo { + display: block; + white-space: pre; + margin: 1.33ex 0; +} + +funcprototype { + display: block; +} + +funcprototype > *:before { + content: " "; +} + +funcprototype > *:first-child:before { + content: ""; +} + +funcprototype:after { + content: ";"; + color: gray; +} + +funcdef { + display: inline; +} + +void { + display: inline; + content: "void"; + color: gray; +} + +funcprototype > void { + content: "(void)"; +} + +varargs { + display: inline; + content: "(...)"; + color: gray; +} + +paramdef + varargs { + content: ", ...)"; +} + +paramdef { + display: inline; +} + +paramdef > parameter { + font-style: italic; +} + +paramdef:before { + content: ", "; + color: gray; +} + +paramdef:first-of-type:before { + content: " ("; +} + +paramdef:last-of-type:after { + content: ")"; + color: gray; +} + +funcparams { + display: inline; +} + +paramdef > funcparams:before { + content: "("; + color: gray; +} + +paramdef > funcparams:after { + content: ")"; + color: gray; +} + +/* ------------------------------------- + classsynopsis +------------------------------------- */ + +classsynopsis { + display: block; + font-family: monospace; + margin-top: 1.33ex; +} + +ooclass + classsynopsisinfo:before, +oointerface + classsynopsisinfo:before, +ooexception + classsynopsisinfo:before, +ooclass + fieldsynopsis:before, +oointerface + fieldsynopsis:before, +ooexception + fieldsynopsis:before, +ooclass + constructorsynopsis:before, +oointerface + constructorsynopsis:before, +ooexception + constructorsynopsis:before, +ooclass + destructorsynopsis:before, +oointerface + destructorsynopsis:before, +ooexception + destructorsynopsis:before, +ooclass + methodsynopsis:before, +oointerface + methodsynopsis:before, +ooexception + methodsynopsis:before { + display: block; + content: "{"; + color: gray; +} + +classsynopsis:after { + display: block; + content: "}"; + color: gray; + margin-bottom: 1.33ex; +} + +classsynopsisinfo { + display: block; + white-space: pre; + margin-left: 4ex; + margin-top: 1.33ex; + margin-bottom: 1.33ex; +} + +ooclass, +oointerface, +ooexception { + display: inline; + font-family: monospace; +} + +classsynopsis > ooclass:after, +classsynopsis > oointerface:after, +classsynopsis > ooexception:after { + content: " "; +} + +ooclass > *:before, +oointerface > *:before, +ooexception > *:before { + content: " "; +} + +ooclass > classname:before { + content: " class "; + color: gray; +} +oointerface > interfacename:before { + content: " interface "; + color: gray; +} +ooexception > exceptionname:before { + content: " exception "; + color: gray; +} + +ooclass > *:first-child:before, +oointerface > *:first-child:before, +ooexception > *:first-child:before { + content: ""; +} + +ooclass > classname:first-child:before { + content: "class "; + color: gray; +} +oointerface > interfacename:first-child:before { + content: "interface "; + color: gray; +} +ooexception > exceptionname:first-child:before { + content: "exception "; + color: gray; +} + +fieldsynopsis, +constructorsynopsis, +destructorsynopsis, +methodsynopsis { + display: block; + font-family: monospace; + margin: 1.33ex 0; +} + +classsynopsis > fieldsynopsis, +classsynopsis > constructorsynopsis, +classsynopsis > destructorsynopsis, +classsynopsis > methodsynopsis { + margin-left: 4ex; + margin-top: 0; + margin-bottom: 0; +} + +fieldsynopsis:after, +constructorsynopsis:after, +destructorsynopsis:after, +methodsynopsis:after { + content: ";"; + color: gray; +} + +fieldsynopsis > *:before, +constructorsynopsis > *:before, +destructorsynopsis > *:before, +methodsynopsis > *:before { + content: " "; +} + +fieldsynopsis > *:first-child:before, +constructorsynopsis > *:first-child:before, +destructorsynopsis > *:first-child:before, +methodsynopsis > *:first-child:before { + content: ""; +} + +constructorsynopsis > exceptionname:before, +destructorsynopsis > exceptionname:before, +methodsynopsis > exceptionname:before { /*In practice, cannot be first child*/ + content: " throws "; + color: gray; +} + +methodname + void { + content: "(void)"; +} + +methodparam { + display: inline; + /* rep and choice attributes not visualized */ +} + +methodparam:before { + content: ", "; + color: gray; +} + +methodparam:first-of-type:before { + content: " ("; +} + +methodparam:last-of-type:after{ + content: ")"; + color: gray; +} + +methodparam > parameter { + font-style: italic; +} + +methodparam > *:before { + content: " "; +} + +methodparam > *:first-child:before { + content: ""; +} + +modifier { + display: inline; + font-family: monospace; +} + +initializer { + display: inline; + font-family: monospace; +} + +initializer:before { /* Cannot be first child */ + content: " = "; + color: gray; +} + +/* --------------------------------------------------------------------------- + Inlined elements other than those belonging to modules + + Note that default display is inline, so there is no need to specify it. +--------------------------------------------------------------------------- */ + +/* ------------------------------------- + General +------------------------------------- */ + +citerefentry { + display: inline; + font-style: italic; +} + +citerefentry > manvolnum:before { + content: "("; + color: gray; +} + +citerefentry > manvolnum:after { + content: ")"; + color: gray; +} + +refentrytitle, +manvolnum, +refmiscinfo { /* also found in refmeta */ + display: inline; +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/scons.css b/doc/editor_configs/xmlmind/addon/config/scons/css/scons.css new file mode 100644 index 0000000..1597226 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/scons.css @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2003-2008 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * A CSS style sheet for DocBook V4.5. + */ + +@import "docbook1.imp"; +@import "refentry.imp"; +@import "docbook2.imp"; +@import "html_cals_table.imp"; +@import "image.imp"; +@import "collapsible.imp"; +@import "print.imp"; + diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/structure.css b/doc/editor_configs/xmlmind/addon/config/scons/css/structure.css new file mode 100644 index 0000000..95f4610 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/structure.css @@ -0,0 +1,140 @@ +/* + * Copyright (c) 2005-2008 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Displays the structure (a little more than a TOC) of a DocBook document. + * Titles inside *info (e.g. sectioninfo) elements are not displayed. + */ + +*, +*:comment, +*:processing-instruction { + display: none; +} + +title { + display: block; +} + +title > * { + display: inline; +} + +set, +book, +part, +reference, +refentry, +preface, +chapter, +article, +appendix, +section, +sect1, +sect2, +sect3, +sect4, +sect5 { + display: block; + margin-left: 9ex; +} + +set:before, +book:before, +part:before, +reference:before, +refentry:before, +preface:before, +chapter:before, +article:before, +appendix:before, +section:before, +sect1:before, +sect2:before, +sect3:before, +sect4:before, +sect5:before { + display: marker; + marker-offset: fill; + content: element-name(); + font-size: small; + color: gray; +} + +part > title:before { + content: simple-counter(n-, upper-roman) " "; +} + +chapter > title:before { + content: simple-counter(n-, decimal) " "; +} + +appendix > title:before { + content: simple-counter(n-, upper-alpha) " "; +} + +refentry { + content: xpath("join(.//refname, ', ')"); + color: gray; +} + +section > title:before, +sect1 > title:before { + content: simple-counter(n-) " "; +} + +section section > title:before, +sect2 > title:before { + content: simple-counter(nn-) " "; +} + +section section section > title:before, +sect3 > title:before { + content: simple-counter(nnn-) " "; +} + +section section section section > title:before, +sect4 > title:before { + content: simple-counter(nnnn-) " "; +} + +section section section section section > title:before, +sect5 > title:before { + content: simple-counter(nnnnn-) " "; +} + +section section section section * section > title:before { + content: ""; +} + +setinfo, +setindex, +bookinfo, +dedication, +toc, +lot, +glossary, +bibliography, +index, +colophon, +partinfo, +partintro, +referenceinfo, +prefaceinfo, +chapterinfo, +tocchap, +articleinfo, +appendixinfo, +sectioninfo, +sect1info, +sect2info, +sect3info, +sect4info, +sect5info { + display: block; + content: element-name(); + font-size: small; + color: gray; +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/table.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/table.imp new file mode 100644 index 0000000..0b444bb --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/table.imp @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2005-2009 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Partial styles for DocBook tables. Requires an @extension. + * DO NOT IMPORT THIS FILE: INSTEAD @import cals_table.imp OR + * @import html_cals_table.imp. + */ + +table, +informaltable { + display: block; + margin: 1.33ex 0; +} + +table > title { + display: block; + font-style: italic; + font-weight: normal; + text-align: center; + /* keep margin because tgroup has no margin */ +} + +colspec, +spanspec { + display: table-column; + collapsed: yes; +} + +tgroup { + display: table; + border-style: solid; + border-width: 1; +} + +thead, +tfoot { + display: table-row-group; + font-weight: bold; +} + +thead { + background-color: #F0F0F0; +} + +tfoot { + background-color: #E0E0E0; +} + +tbody { + display: table-row-group; + background-color: inherit; /*e.g. from read-only tgroup*/ +} + +row { + display: table-row; + background-color: inherit; /*e.g. from read-only tbody*/ +} + +entry { + display: table-cell; + background-color: inherit; /*e.g. from read-only row*/ + border-style: solid; + border-width: 1; + padding: 2; +} + +entry > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +entrytbl { + display: subtable; + background-color: inherit; /*e.g. from read-only row*/ + border-style: solid; + border-width: 1; +} + +@media print { + colspec, + spanspec { + display: none; + } +} diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/visible_inclusions.css b/doc/editor_configs/xmlmind/addon/config/scons/css/visible_inclusions.css new file mode 100644 index 0000000..f66b094 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/visible_inclusions.css @@ -0,0 +1,9 @@ +/* + * Copyright (c) 2003-2004 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + */ + +@import "docbook.css"; +@import "../../common/css/visible_inclusions.imp"; \ No newline at end of file diff --git a/doc/editor_configs/xmlmind/addon/config/scons/htmlTable.incl b/doc/editor_configs/xmlmind/addon/config/scons/htmlTable.incl new file mode 100644 index 0000000..5ea16b8 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/htmlTable.incl @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+
diff --git a/doc/editor_configs/xmlmind/addon/config/scons/scons.css b/doc/editor_configs/xmlmind/addon/config/scons/scons.css new file mode 100644 index 0000000..8f52269 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/scons.css @@ -0,0 +1,11 @@ +doc, +para { + display: block; +} +para { + margin: 1ex 0; +} +para[align] { + text-align: concatenate(attr(align)); +} + diff --git a/doc/editor_configs/xmlmind/addon/config/scons/scons.xxe b/doc/editor_configs/xmlmind/addon/config/scons/scons.xxe new file mode 100644 index 0000000..8f835cc --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/scons.xxe @@ -0,0 +1,37 @@ + + + + + + + + + http://www.scons.org/dbxsd/v1.0 + + + + http://www.scons.org/dbxsd/v1.0/scons.xsd scons.xsd + +