From 78989ebb445af2c6462ae2bf05ffd588d76610e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 26 Jul 2014 16:31:27 +0200 Subject: Imported Upstream version 2.3.2 --- doc/SConscript | 343 +- doc/design/SConstruct | 2 +- doc/design/acks.xml | 4 +- doc/design/bground.xml | 4 +- doc/design/chtml.xsl | 3 +- doc/design/copyright.xml | 4 +- doc/design/engine.xml | 4 +- doc/design/goals.xml | 4 +- doc/design/html.xsl | 3 +- doc/design/install.xml | 4 +- doc/design/intro.xml | 4 +- doc/design/issues.xml | 4 +- doc/design/main.xml | 4 +- doc/design/native.xml | 4 +- doc/design/overview.xml | 4 +- doc/design/pdf.xsl | 3 +- doc/design/scons.css | 4 +- doc/design/scons_title.xsl | 2 +- doc/design/summary.xml | 4 +- doc/developer/SConstruct | 2 +- doc/developer/architecture.xml | 4 +- doc/developer/branches.xml | 4 +- doc/developer/copyright.xml | 4 +- doc/developer/cycle.xml | 4 +- doc/developer/main.xml | 4 +- doc/developer/packaging.xml | 4 +- doc/developer/preface.xml | 4 +- doc/developer/sourcetree.xml | 4 +- doc/developer/testing.xml | 4 +- .../xmlmind/addon/config/scons/scons2.xml | 7 - .../addon/config/scons/scons_icons/addListItem.png | Bin 0 -> 542 bytes .../addon/config/scons/scons_icons/back.png | Bin 0 -> 793 bytes .../addon/config/scons/scons_icons/boldText.png | Bin 0 -> 570 bytes .../addon/config/scons/scons_icons/copy.png | Bin 0 -> 651 bytes .../xmlmind/addon/config/scons/scons_icons/cut.png | Bin 0 -> 636 bytes .../scons/scons_icons/decrementColumnSpan.png | Bin 0 -> 448 bytes .../config/scons/scons_icons/decrementRowSpan.png | Bin 0 -> 454 bytes .../config/scons/scons_icons/definitionList.png | Bin 0 -> 411 bytes .../addon/config/scons/scons_icons/delete.png | Bin 0 -> 792 bytes .../config/scons/scons_icons/deleteColumn.png | Bin 0 -> 663 bytes .../addon/config/scons/scons_icons/deleteRow.png | Bin 0 -> 671 bytes .../config/scons/scons_icons/documentation.png | Bin 0 -> 748 bytes .../addon/config/scons/scons_icons/down.png | Bin 0 -> 614 bytes .../config/scons/scons_icons/editDocument.png | Bin 0 -> 717 bytes .../config/scons/scons_icons/emphasisText.png | Bin 0 -> 569 bytes .../config/scons/scons_icons/emphasisText_menu.png | Bin 0 -> 592 bytes .../addon/config/scons/scons_icons/figure.png | Bin 0 -> 686 bytes .../addon/config/scons/scons_icons/figure_menu.png | Bin 0 -> 630 bytes .../addon/config/scons/scons_icons/forward.png | Bin 0 -> 799 bytes .../addon/config/scons/scons_icons/heading.png | Bin 0 -> 380 bytes .../config/scons/scons_icons/heading_menu.png | Bin 0 -> 431 bytes .../addon/config/scons/scons_icons/hyperText.png | Bin 0 -> 562 bytes .../config/scons/scons_icons/hyperText_menu.png | Bin 0 -> 585 bytes .../scons/scons_icons/incrementColumnSpan.png | Bin 0 -> 485 bytes .../config/scons/scons_icons/incrementRowSpan.png | Bin 0 -> 491 bytes .../config/scons/scons_icons/insertColumnAfter.png | Bin 0 -> 528 bytes .../scons/scons_icons/insertColumnBefore.png | Bin 0 -> 531 bytes .../config/scons/scons_icons/insertRowAfter.png | Bin 0 -> 514 bytes .../config/scons/scons_icons/insertRowBefore.png | Bin 0 -> 548 bytes .../addon/config/scons/scons_icons/italicText.png | Bin 0 -> 554 bytes .../config/scons/scons_icons/itemizedList.png | Bin 0 -> 415 bytes .../addon/config/scons/scons_icons/left.png | Bin 0 -> 570 bytes .../addon/config/scons/scons_icons/link.png | Bin 0 -> 720 bytes .../addon/config/scons/scons_icons/link_menu.png | Bin 0 -> 706 bytes .../addon/config/scons/scons_icons/navigate.png | Bin 0 -> 618 bytes .../addon/config/scons/scons_icons/normalText.png | Bin 0 -> 553 bytes .../addon/config/scons/scons_icons/onlineHelp.png | Bin 0 -> 861 bytes .../addon/config/scons/scons_icons/orderedList.png | Bin 0 -> 451 bytes .../addon/config/scons/scons_icons/paragraph.png | Bin 0 -> 374 bytes .../addon/config/scons/scons_icons/paste.png | Bin 0 -> 699 bytes .../addon/config/scons/scons_icons/pasteAfter.png | Bin 0 -> 710 bytes .../addon/config/scons/scons_icons/pasteBefore.png | Bin 0 -> 721 bytes .../addon/config/scons/scons_icons/plainText.png | Bin 0 -> 554 bytes .../addon/config/scons/scons_icons/right.png | Bin 0 -> 589 bytes .../addon/config/scons/scons_icons/section.png | Bin 0 -> 379 bytes .../config/scons/scons_icons/section_menu.png | Bin 0 -> 353 bytes .../addon/config/scons/scons_icons/table.png | Bin 0 -> 440 bytes .../addon/config/scons/scons_icons/table_menu.png | Bin 0 -> 423 bytes .../config/scons/scons_icons/typewriterText.png | Bin 0 -> 438 bytes .../xmlmind/addon/config/scons/scons_icons/up.png | Bin 0 -> 627 bytes .../config/scons/scons_icons/viewDocument.png | Bin 0 -> 677 bytes .../config/scons/scons_templates/appendix.xml | 2 +- .../addon/config/scons/scons_templates/article.xml | 2 +- .../addon/config/scons/scons_templates/book.xml | 2 +- .../addon/config/scons/scons_templates/chapter.xml | 2 +- .../config/scons/scons_templates/glossary.xml | 2 +- .../addon/config/scons/scons_templates/part.xml | 2 +- .../config/scons/scons_templates/refentry.xml | 2 +- .../config/scons/scons_templates/sconsdoc.xml | 2 +- .../addon/config/scons/scons_templates/section.xml | 2 +- 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 - .../xmlmind5/addon/config/scons/common.incl | 647 ++ .../xmlmind5/addon/config/scons/css/cals_table.imp | 24 + .../addon/config/scons/css/collapsible.imp | 135 + .../xmlmind5/addon/config/scons/css/docbook1.imp | 1157 +++ .../xmlmind5/addon/config/scons/css/docbook2.imp | 1292 +++ .../xmlmind5/addon/config/scons/css/example1.css | 20 + .../addon/config/scons/css/html_cals_table.imp | 101 + .../xmlmind5/addon/config/scons/css/image.imp | 23 + .../xmlmind5/addon/config/scons/css/print.imp | 15 + .../xmlmind5/addon/config/scons/css/refentry.imp | 524 ++ .../xmlmind5/addon/config/scons/css/scons.css | 17 + .../xmlmind5/addon/config/scons/css/structure.css | 140 + .../xmlmind5/addon/config/scons/css/table.imp | 87 + .../addon/config/scons/css/visible_inclusions.css | 9 + .../xmlmind5/addon/config/scons/htmlTable.incl | 195 + .../xmlmind5/addon/config/scons/scons.css | 11 + .../xmlmind5/addon/config/scons/scons.xxe | 37 + .../xmlmind5/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 + .../addon/config/scons/scons_xsd/scons.xsd | 99 + .../xmlmind5/addon/config/scons/scons_xsd/xml.xsd | 15 + .../xmlmind5/addon/config/scons/toolBar.incl | 189 + .../xmlmind5/addon/config/scons/xslMenu.incl | 688 ++ doc/generated/builders.gen | 27 +- doc/generated/examples/EnumVariable_map_1.xml | 2 +- doc/generated/examples/addmethod_ex1_1.xml | 2 +- doc/generated/examples/addmethod_ex2_1.xml | 2 +- doc/generated/examples/addmethod_ex2_2.xml | 2 +- doc/generated/examples/alias_ex1_1.xml | 2 +- doc/generated/examples/alias_ex2_1.xml | 2 +- doc/generated/examples/buildersbuiltin_ex1_1.xml | 2 +- doc/generated/examples/buildersbuiltin_ex2_1.xml | 2 +- doc/generated/examples/buildersbuiltin_ex3_1.xml | 2 +- doc/generated/examples/buildersbuiltin_ex4_1.xml | 2 +- doc/generated/examples/buildersbuiltin_libs_1.xml | 2 +- doc/generated/examples/buildersbuiltin_libs_2.xml | 2 +- doc/generated/examples/builderscommands_ex1_1.xml | 2 +- doc/generated/examples/builderscommands_ex2_1.xml | 2 +- .../examples/builderswriting_MY_EMITTER_1.xml | 2 +- doc/generated/examples/builderswriting_ex1_1.xml | 2 +- doc/generated/examples/builderswriting_ex2_1.xml | 2 +- doc/generated/examples/builderswriting_ex3_1.xml | 2 +- doc/generated/examples/builderswriting_ex4_1.xml | 2 +- doc/generated/examples/builderswriting_ex5_1.xml | 2 +- doc/generated/examples/builderswriting_ex6_1.xml | 2 +- doc/generated/examples/builderswriting_ex7_1.xml | 2 +- doc/generated/examples/caching_ex-random_1.xml | 6 +- doc/generated/examples/caching_ex1_1.xml | 2 +- doc/generated/examples/caching_ex1_2.xml | 2 +- doc/generated/examples/caching_ex1_4.xml | 2 +- doc/generated/examples/caching_ex1_5.xml | 2 +- doc/generated/examples/commandline_ARGLIST_1.xml | 2 +- doc/generated/examples/commandline_ARGUMENTS_1.xml | 2 +- doc/generated/examples/commandline_AddOption_1.xml | 2 +- doc/generated/examples/commandline_AddOption_2.xml | 2 +- .../examples/commandline_BUILD_TARGETS_1_1.xml | 2 +- .../examples/commandline_BoolVariable_1.xml | 2 +- .../examples/commandline_BoolVariable_2.xml | 2 +- .../examples/commandline_BoolVariable_3.xml | 2 +- .../examples/commandline_BoolVariable_4.xml | 2 +- .../examples/commandline_BoolVariable_5.xml | 2 +- .../commandline_COMMAND_LINE_TARGETS_1.xml | 2 +- .../examples/commandline_DEFAULT_TARGETS_1_1.xml | 2 +- .../examples/commandline_DEFAULT_TARGETS_2_1.xml | 2 +- doc/generated/examples/commandline_Default1_1.xml | 2 +- doc/generated/examples/commandline_Default1_2.xml | 2 +- doc/generated/examples/commandline_Default2_1.xml | 2 +- doc/generated/examples/commandline_Default3_1.xml | 2 +- doc/generated/examples/commandline_Default4_1.xml | 3 +- .../examples/commandline_EnumVariable_1.xml | 2 +- .../examples/commandline_EnumVariable_2.xml | 2 +- .../examples/commandline_EnumVariable_3.xml | 2 +- .../examples/commandline_EnumVariable_ic1_1.xml | 2 +- .../examples/commandline_EnumVariable_ic2_1.xml | 2 +- .../examples/commandline_ListVariable_1.xml | 2 +- .../examples/commandline_ListVariable_2.xml | 2 +- .../examples/commandline_ListVariable_3.xml | 2 +- .../examples/commandline_PackageVariable_1.xml | 2 +- .../examples/commandline_PathVariable_1.xml | 2 +- .../examples/commandline_PathVariable_2.xml | 2 +- .../examples/commandline_SCONSFLAGS_1.xml | 2 +- doc/generated/examples/commandline_SetOption_1.xml | 2 +- doc/generated/examples/commandline_SetOption_2.xml | 2 +- doc/generated/examples/commandline_SetOption_3.xml | 2 +- .../examples/commandline_UnknownVariables_1.xml | 2 +- .../examples/commandline_Variables1_1.xml | 2 +- .../examples/commandline_Variables_Help_1.xml | 2 +- .../commandline_Variables_custom_py_1_1.xml | 2 +- .../commandline_Variables_custom_py_2_1.xml | 2 +- doc/generated/examples/depends_AlwaysBuild_1.xml | 2 +- doc/generated/examples/depends_AlwaysBuild_2.xml | 2 +- doc/generated/examples/depends_Requires_1.xml | 2 +- doc/generated/examples/depends_ex1_1.xml | 2 +- doc/generated/examples/depends_ex1_2.xml | 2 +- doc/generated/examples/depends_ex1_3.xml | 2 +- doc/generated/examples/depends_ex1_4.xml | 2 +- doc/generated/examples/depends_ex1_5.xml | 2 +- doc/generated/examples/depends_ex1_6.xml | 2 +- doc/generated/examples/depends_ex1_7.xml | 2 +- doc/generated/examples/depends_ex1_8.xml | 2 +- doc/generated/examples/depends_ex5_1.xml | 2 +- doc/generated/examples/depends_ex5_2.xml | 2 +- .../examples/depends_ignore_explicit_1.xml | 2 +- doc/generated/examples/depends_include_1.xml | 2 +- doc/generated/examples/depends_macroinc_1.xml | 2 +- doc/generated/examples/depends_match_1.xml | 2 +- doc/generated/examples/depends_mixing_1.xml | 2 +- doc/generated/examples/depends_newer_1.xml | 2 +- doc/generated/examples/depends_no-Requires_1.xml | 2 +- doc/generated/examples/depends_parsedep_1.xml | 2 +- .../examples/environments_Append-nonexistent_1.xml | 2 +- .../environments_Prepend-nonexistent_1.xml | 2 +- .../environments_Replace-nonexistent_1.xml | 2 +- doc/generated/examples/environments_Replace1_1.xml | 2 +- doc/generated/examples/environments_Replace2_1.xml | 2 +- doc/generated/examples/environments_ex1_1.xml | 2 +- doc/generated/examples/environments_ex2_1.xml | 2 +- doc/generated/examples/environments_ex3_1.xml | 2 +- doc/generated/examples/environments_ex4_1.xml | 2 +- doc/generated/examples/environments_ex5_1.xml | 2 +- doc/generated/examples/environments_ex6_1.xml | 2 +- doc/generated/examples/environments_ex6b_1.xml | 2 +- doc/generated/examples/environments_ex6b_2.xml | 2 +- doc/generated/examples/environments_ex8_1.xml | 2 +- doc/generated/examples/environments_ex9_1.xml | 2 +- doc/generated/examples/environments_missing1_1.xml | 2 +- doc/generated/examples/environments_missing2_1.xml | 2 +- doc/generated/examples/environments_missing3_1.xml | 2 +- doc/generated/examples/factories_Chmod_1.xml | 2 +- doc/generated/examples/factories_Copy1_1.xml | 2 +- doc/generated/examples/factories_Copy2_1.xml | 2 +- doc/generated/examples/factories_Copy3_1.xml | 2 +- doc/generated/examples/factories_Delete1_1.xml | 2 +- doc/generated/examples/factories_Delete2_1.xml | 2 +- doc/generated/examples/factories_Execute_1.xml | 2 +- doc/generated/examples/factories_Mkdir_1.xml | 2 +- doc/generated/examples/factories_Move_1.xml | 2 +- doc/generated/examples/factories_Touch_1.xml | 2 +- doc/generated/examples/fileremoval_clean-ex1_1.xml | 2 +- .../examples/fileremoval_noclean-ex1_1.xml | 2 +- .../examples/fileremoval_precious-ex1_1.xml | 2 +- doc/generated/examples/hierarchy_Return_1.xml | 2 +- doc/generated/examples/hierarchy_ex1_1.xml | 2 +- doc/generated/examples/hierarchy_ex2_1.xml | 2 +- doc/generated/examples/hierarchy_ex3_1.xml | 2 +- doc/generated/examples/install_ex1_1.xml | 2 +- doc/generated/examples/install_ex2_1.xml | 2 +- doc/generated/examples/install_ex3_1.xml | 2 +- doc/generated/examples/install_ex4_1.xml | 2 +- doc/generated/examples/install_ex5_1.xml | 2 +- doc/generated/examples/java_JAVACLASSDIR_1.xml | 2 +- doc/generated/examples/java_RMIC_1.xml | 2 +- doc/generated/examples/java_jar1_1.xml | 2 +- doc/generated/examples/java_jar2_1.xml | 2 +- doc/generated/examples/java_java-classes_1.xml | 2 +- doc/generated/examples/java_java-classes_2.xml | 2 +- doc/generated/examples/java_java_1.xml | 2 +- doc/generated/examples/java_javah_1.xml | 2 +- doc/generated/examples/java_javah_file_1.xml | 2 +- doc/generated/examples/lesssimple_ex2_1.xml | 2 +- doc/generated/examples/lesssimple_ex3_1.xml | 2 +- doc/generated/examples/lesssimple_ex3_2.xml | 2 +- doc/generated/examples/lesssimple_ex4_1.xml | 2 +- doc/generated/examples/lesssimple_ex5_1.xml | 2 +- doc/generated/examples/lesssimple_target_1.xml | 2 +- doc/generated/examples/lesssimple_target_2.xml | 2 +- .../examples/libraries_SharedLibrary_1.xml | 2 +- .../examples/libraries_SharedLibrary_2.xml | 2 +- doc/generated/examples/libraries_ex1_1.xml | 2 +- doc/generated/examples/libraries_ex1_2.xml | 2 +- doc/generated/examples/libraries_ex2_1.xml | 2 +- doc/generated/examples/libraries_ex2_2.xml | 2 +- doc/generated/examples/libraries_ex3_1.xml | 2 +- doc/generated/examples/libraries_ex3_2.xml | 2 +- doc/generated/examples/libraries_objects_1.xml | 2 +- .../examples/mergeflags_MergeFlags1_1.xml | 2 +- .../examples/mergeflags_MergeFlags2_1.xml | 2 +- .../examples/mergeflags_MergeFlags3_1.xml | 2 +- doc/generated/examples/misc_Exit_1.xml | 2 +- doc/generated/examples/misc_FindFile1a_1.xml | 2 +- doc/generated/examples/misc_FindFile1b_1.xml | 2 +- doc/generated/examples/misc_FindFile1d_1.xml | 2 +- doc/generated/examples/misc_FindFile2_1.xml | 2 +- doc/generated/examples/misc_FindFile2_2.xml | 2 +- doc/generated/examples/misc_FindFile3_1.xml | 2 +- doc/generated/examples/misc_Flatten1_1.xml | 2 +- doc/generated/examples/misc_Flatten2_1.xml | 2 +- doc/generated/examples/nodes_GetBuildPath_1.xml | 2 +- doc/generated/examples/nodes_ex1_1.xml | 2 +- doc/generated/examples/nodes_ex1_2.xml | 2 +- doc/generated/examples/nodes_exists_1.xml | 2 +- doc/generated/examples/nodes_print_1.xml | 2 +- doc/generated/examples/nodes_print_2.xml | 2 +- .../examples/output_Progress-TARGET_1.xml | 2 +- doc/generated/examples/output_ex1_1.xml | 2 +- doc/generated/examples/output_ex2_1.xml | 2 +- doc/generated/examples/output_ex2_2.xml | 2 +- doc/generated/examples/output_gbf2_1.xml | 2 +- doc/generated/examples/parseflags_ex1_1.xml | 2 +- doc/generated/examples/parseflags_ex1_2.xml | 2 +- doc/generated/examples/parseflags_ex2_1.xml | 2 +- doc/generated/examples/parseflags_ex3_1.xml | 2 +- doc/generated/examples/parseflags_ex4_1.xml | 2 +- doc/generated/examples/repositories_CPPPATH3_1.xml | 2 +- doc/generated/examples/repositories_CPPPATH_1.xml | 2 +- doc/generated/examples/repositories_ex1_1.xml | 2 +- doc/generated/examples/repositories_ex2_1.xml | 2 +- doc/generated/examples/repositories_ex3_1.xml | 2 +- doc/generated/examples/repositories_ex4_1.xml | 2 +- doc/generated/examples/repositories_quote1_1.xml | 2 +- doc/generated/examples/separate_builddir_1.xml | 2 +- .../examples/separate_builddir_sconscript_1.xml | 2 +- doc/generated/examples/separate_duplicate0_1.xml | 2 +- doc/generated/examples/separate_ex1_1.xml | 2 +- .../separate_glob_builddir_sconscript_1.xml | 2 +- doc/generated/examples/sideeffect_parallel_1.xml | 2 +- doc/generated/examples/sideeffect_shared_1.xml | 2 +- doc/generated/examples/sideeffect_simple_1.xml | 2 +- doc/generated/examples/simple_Object_1.xml | 2 +- doc/generated/examples/simple_Object_2.xml | 2 +- doc/generated/examples/simple_clean_1.xml | 2 +- doc/generated/examples/simple_clean_2.xml | 2 +- doc/generated/examples/simple_declarative_1.xml | 2 +- doc/generated/examples/simple_ex1_1.xml | 2 +- doc/generated/examples/simple_ex1_2.xml | 2 +- doc/generated/examples/simple_ex1_3.xml | 2 +- doc/generated/examples/simple_ex1_4.xml | 2 +- doc/generated/examples/simple_java_1.xml | 2 +- doc/generated/examples/sourcecode_bitkeeper_1.xml | 2 +- doc/generated/examples/sourcecode_cvs_1.xml | 2 +- doc/generated/examples/sourcecode_rcs_1.xml | 2 +- doc/generated/examples/sourcecode_sccs_1.xml | 2 +- doc/generated/examples/tasks_ex1_1.xml | 2 +- doc/generated/examples/troubleshoot_Dump_1.xml | 5 +- doc/generated/examples/troubleshoot_Dump_2.xml | 6 +- doc/generated/examples/troubleshoot_Dump_ENV_1.xml | 2 +- doc/generated/examples/troubleshoot_Dump_ENV_2.xml | 2 +- doc/generated/examples/troubleshoot_explain1_1.xml | 2 +- doc/generated/examples/troubleshoot_explain1_2.xml | 2 +- doc/generated/examples/troubleshoot_explain1_3.xml | 4 +- doc/generated/examples/troubleshoot_explain2_1.xml | 2 +- doc/generated/examples/troubleshoot_explain3_1.xml | 2 +- doc/generated/examples/troubleshoot_findlibs_1.xml | 2 +- .../examples/troubleshoot_stacktrace_1.xml | 2 +- .../examples/troubleshoot_stacktrace_2.xml | 8 +- .../examples/troubleshoot_taskmastertrace_1.xml | 2 +- doc/generated/examples/troubleshoot_tree1_1.xml | 2 +- doc/generated/examples/troubleshoot_tree1_2.xml | 2 +- doc/generated/examples/troubleshoot_tree1_3.xml | 2 +- doc/generated/examples/troubleshoot_tree1_4.xml | 2 +- doc/generated/examples/troubleshoot_tree1_5.xml | 2 +- doc/generated/examples/troubleshoot_tree1_6.xml | 2 +- doc/generated/examples/troubleshoot_tree2_1.xml | 2 +- doc/generated/examples/troubleshoot_tree2_2.xml | 2 +- doc/generated/examples/variants_ex_1.xml | 2 +- doc/generated/examples/variants_ex_2.xml | 2 +- doc/generated/functions.gen | 2 +- doc/generated/tools.gen | 35 +- doc/generated/tools.mod | 8 +- doc/generated/variables.gen | 385 +- doc/generated/variables.mod | 80 + doc/man/SConstruct | 2 +- doc/man/epub.xsl | 2 +- doc/man/html.xsl | 3 +- doc/man/pdf.xsl | 3 +- doc/man/scons-time.xml | 57 +- doc/man/scons.css | 4 +- doc/man/scons.xml | 74 +- doc/man/scons_title.xsl | 2 +- doc/man/sconsign.xml | 56 +- doc/python10/SConstruct | 2 +- doc/python10/abstract.xml | 4 +- doc/python10/acks.xml | 4 +- doc/python10/copyright.xml | 4 +- doc/python10/design.xml | 4 +- doc/python10/future.xml | 4 +- doc/python10/install.xml | 4 +- doc/python10/intro.xml | 4 +- doc/python10/main.xml | 12 +- doc/python10/process.xml | 4 +- doc/python10/summary.xml | 4 +- doc/reference/Alias.xml | 4 +- doc/reference/CFile.xml | 4 +- doc/reference/CXXFile.xml | 4 +- doc/reference/Command.xml | 4 +- doc/reference/Install.xml | 4 +- doc/reference/InstallAs.xml | 4 +- doc/reference/Library.xml | 4 +- doc/reference/Object.xml | 4 +- doc/reference/PCH.xml | 4 +- doc/reference/PDF.xml | 4 +- doc/reference/PostScript.xml | 4 +- doc/reference/Program.xml | 4 +- doc/reference/RES.xml | 4 +- doc/reference/SConstruct | 2 +- doc/reference/SharedLibrary.xml | 4 +- doc/reference/SharedObject.xml | 4 +- doc/reference/StaticLibrary.xml | 4 +- doc/reference/StaticObject.xml | 4 +- doc/reference/chtml.xsl | 3 +- doc/reference/copyright.xml | 4 +- doc/reference/errors.xml | 4 +- doc/reference/html.xsl | 3 +- doc/reference/main.xml | 4 +- doc/reference/pdf.xsl | 3 +- doc/reference/preface.xml | 4 +- doc/reference/scons.css | 4 +- doc/reference/scons_title.xsl | 2 +- doc/scons.mod | 6 +- doc/user/README | 2 +- doc/user/SConstruct | 2 +- doc/user/actions.xml | 4 +- doc/user/add-method.xml | 4 +- doc/user/alias.xml | 4 +- doc/user/ant.xml | 4 +- doc/user/build-install.xml | 4 +- doc/user/builders-built-in.xml | 4 +- doc/user/builders-commands.xml | 4 +- doc/user/builders-writing.xml | 4 +- doc/user/builders.xml | 4 +- doc/user/caching.xml | 4 +- doc/user/chtml.xsl | 3 +- doc/user/command-line.xml | 4 +- doc/user/copyright.xml | 4 +- doc/user/depends.xml | 4 +- doc/user/environments.xml | 4 +- doc/user/epub.xsl | 2 +- doc/user/errors.xml | 4 +- doc/user/example.xml | 4 +- doc/user/factories.xml | 4 +- doc/user/file-removal.xml | 4 +- doc/user/functions.xml | 4 +- doc/user/gettext.xml | 4 +- doc/user/hierarchy.xml | 4 +- doc/user/html.xsl | 3 +- doc/user/install.xml | 4 +- doc/user/java.xml | 4 +- doc/user/less-simple.xml | 4 +- doc/user/libraries.xml | 4 +- doc/user/main.xml | 16 +- doc/user/make.xml | 4 +- doc/user/mergeflags.xml | 4 +- doc/user/misc.xml | 4 +- doc/user/nodes.xml | 4 +- doc/user/output.xml | 4 +- doc/user/parseconfig.xml | 4 +- doc/user/parseflags.xml | 4 +- doc/user/pdf.xsl | 3 +- doc/user/preface.xml | 4 +- doc/user/python.xml | 4 +- doc/user/repositories.xml | 4 +- doc/user/run.xml | 4 +- doc/user/scanners.xml | 4 +- doc/user/sconf.xml | 4 +- doc/user/scons.css | 4 +- doc/user/scons_title.xsl | 2 +- doc/user/separate.xml | 4 +- doc/user/sideeffect.xml | 4 +- doc/user/simple.xml | 4 +- doc/user/sourcecode.xml | 4 +- doc/user/tasks.xml | 4 +- doc/user/tools.xml | 4 +- doc/user/troubleshoot.xml | 4 +- doc/user/variables.xml | 4 +- doc/user/variants.xml | 4 +- 472 files changed, 18690 insertions(+), 862 deletions(-) delete mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons2.xml create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/addListItem.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/back.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/boldText.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/copy.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/cut.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/decrementColumnSpan.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/decrementRowSpan.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/definitionList.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/delete.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/deleteColumn.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/deleteRow.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/documentation.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/down.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/editDocument.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/emphasisText.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/emphasisText_menu.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/figure.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/figure_menu.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/forward.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/heading.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/heading_menu.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/hyperText.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/hyperText_menu.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/incrementColumnSpan.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/incrementRowSpan.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/insertColumnAfter.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/insertColumnBefore.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/insertRowAfter.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/insertRowBefore.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/italicText.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/itemizedList.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/left.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/link.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/link_menu.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/navigate.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/normalText.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/onlineHelp.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/orderedList.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/paragraph.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/paste.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/pasteAfter.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/pasteBefore.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/plainText.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/right.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/section.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/section_menu.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/table.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/table_menu.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/typewriterText.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/up.png create mode 100644 doc/editor_configs/xmlmind/addon/config/scons/scons_icons/viewDocument.png delete mode 100644 doc/editor_configs/xmlmind/custom/dummy.txt delete mode 100644 doc/editor_configs/xmlmind/preferences.properties delete mode 100644 doc/editor_configs/xmlmind/ser/dummy.txt delete mode 100644 doc/editor_configs/xmlmind/spell/dummy.txt create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/common.incl create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/cals_table.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/collapsible.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/docbook1.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/docbook2.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/example1.css create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/html_cals_table.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/image.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/print.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/refentry.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/scons.css create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/structure.css create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/css/visible_inclusions.css create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/htmlTable.incl create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons.css create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons.xxe create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_catalog.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/appendix.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/article.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/book.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/chapter.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/glossary.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/part.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/refentry.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/sconsdoc.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_templates/section.xml create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_xsd/calstblx.xsd create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_xsd/dbhierx.xsd create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_xsd/dbnotnx.xsd create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_xsd/dbpoolx.xsd create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_xsd/htmltblx.xsd create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_xsd/scons.xsd create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/scons_xsd/xml.xsd create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/toolBar.incl create mode 100644 doc/editor_configs/xmlmind5/addon/config/scons/xslMenu.incl (limited to 'doc') diff --git a/doc/SConscript b/doc/SConscript index 6b9d726..9c24aaa 100644 --- a/doc/SConscript +++ b/doc/SConscript @@ -3,7 +3,7 @@ # # -# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +# Copyright (c) 2001 - 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,6 +42,7 @@ fop = whereis('fop') xep = whereis('xep') epydoc_cli = whereis('epydoc') gs = whereis('gs') +lynx = whereis('lynx') # # @@ -96,6 +97,9 @@ if not fop and not xep: if skip_doc: print "doc: ...skipping building User Guide." else: + if not lynx: + print "doc: Warning, lynx is not installed...created release packages won't be complete!" + # # Always create a version.xml file containing the version information # for this run. Ignore it for dependency purposes so we don't @@ -104,7 +108,65 @@ else: date, ver, rev = env.Dictionary('DATE', 'VERSION', 'REVISION') version_xml = File(os.path.join(build, "version.xml")) writeVersionXml(str(version_xml), date, ver, rev) - + + import shutil + import SCons.Builder + import SCons.Util + # + # Builder for copying files to an Install dir, based + # on their extension (better: glob matching pattern)... + # + def _glob_install_action(target, source, env): + if not SCons.Util.is_List(target): + target = [target] + if not SCons.Util.is_List(source): + source = [source] + for t, s in zip(target, source): + shutil.copy(str(s), str(t)) + def _glob_install_emitter(target, source, env): + if not SCons.Util.is_List(target): + target = [target] + if not SCons.Util.is_List(source): + source = [source] + + res = [] + res_src = [] + tdir = env.Dir(target[0]) + for g in glob.glob(str(source[0])): + head, tail = os.path.split(g) + res.append(os.path.join(str(tdir), tail)) + res_src.append(g) + return res, res_src + _glob_install_builder = SCons.Builder.Builder(action=_glob_install_action, + emitter=_glob_install_emitter) + env['BUILDERS']['GlobInstall'] = _glob_install_builder + + # + # Builder for copying ChunkedHTML files to an Install dir... + # + def _chunked_install_action(target, source, env): + if not SCons.Util.is_List(target): + target = [target] + if not SCons.Util.is_List(source): + source = [source] + tdir, tail = os.path.split(str(target[0])) + spattern = os.path.join(os.path.split(str(source[0]))[0], '*.html') + for g in glob.glob(spattern): + shutil.copy(g, tdir) + + def _chunked_install_emitter(target, source, env): + if not SCons.Util.is_List(target): + target = [target] + if not SCons.Util.is_List(source): + source = [source] + + tdir = env.Dir(target[0]) + head, tail = os.path.split(str(source[0])) + return os.path.join(str(tdir), tail), source + _chunked_install_builder = SCons.Builder.Builder(action=_chunked_install_action, + emitter=_chunked_install_emitter) + env['BUILDERS']['ChunkedInstall'] = _chunked_install_builder + if not env.GetOption('clean'): # # Ensure that all XML files are valid against our XSD, and @@ -124,84 +186,94 @@ 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)) + # List of prerequisite files in the build/doc folder + buildsuite = [] + + def copy_dbfiles(env, toolpath, paths, fpattern, use_builddir=True): + """ Helper function, copies a bunch of files matching + the given fpattern to a target directory. + """ + global buildsuite + if not SCons.Util.is_List(toolpath): + toolpath = [toolpath] + if not SCons.Util.is_List(paths): + paths = [paths] + if not SCons.Util.is_List(fpattern): + fpattern = [fpattern] + + if use_builddir: + target_dir = env.Dir(os.path.join(build_dir, *(toolpath+paths))) + buildsuite.extend(env.GlobInstall(target_dir, + os.path.join('..', *(toolpath+paths+fpattern)))) + else: + target_dir = env.Dir(os.path.join(*(toolpath+paths))) + buildsuite.extend(env.GlobInstall(target_dir, + os.path.join(*(paths + fpattern)))) + + # + # Copy generated files (.gen/.mod/.xml) to the build folder + # + copy_dbfiles(env, build, 'generated', '*.gen', False) + copy_dbfiles(env, build, 'generated', '*.mod', False) + copy_dbfiles(env, build, ['generated','examples'], '*', False) - # - # 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'])))) + # + # Copy XSLT files (.xslt) to the build folder + # + copy_dbfiles(env, build, 'xslt', '*.*', False) + # + # Copy DocBook stylesheets and Tool to the build folder + # + dbtoolpath = ['src', 'engine', 'SCons', 'Tool', 'docbook'] + copy_dbfiles(env, dbtoolpath, [], '__init__.py') + copy_dbfiles(env, dbtoolpath, 'utils', 'xmldepend.xsl') + dbpath = dbtoolpath + ['docbook-xsl-1.76.1'] + copy_dbfiles(env, dbpath, [], 'VERSION') + copy_dbfiles(env, dbpath, ['common'], '*.*') + copy_dbfiles(env, dbpath, ['lib'], '*.*') + copy_dbfiles(env, dbpath, ['html'], '*.*') + copy_dbfiles(env, dbpath, ['fo'], '*.*') + copy_dbfiles(env, dbpath, ['manpages'], '*.*') + copy_dbfiles(env, dbpath, ['epub'], '*.xsl') + copy_dbfiles(env, dbpath, ['xhtml-1_1'], '*.*') # - # Each document will live in its own subdirectory. List them here - # 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. + # Copy additional Tools (gs, zip) # - docs = {'design' : ['chtml','pdf'], - #'python10' : ['chtml','html','pdf'], - 'reference' : ['chtml','html','pdf'], - #'developer' : ['chtml','html','pdf'], - 'user' : ['chtml','html','pdf','epub'], - 'man' : ['man','epub'] + toolpath = ['src', 'engine', 'SCons', 'Tool'] + copy_dbfiles(env, toolpath, [], 'gs.py') + copy_dbfiles(env, toolpath, [], 'zip.py') + + # + # Each document will live in its own subdirectory "build/doc/xxx". + # List them here by their subfolder names. Note, how the specifiers + # for each subdir (=DOCTARGETS) 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. + # In addition to the list of target formats (DOCTARGETS), we also + # store some dependency information in this dict. The DOCDEPENDS + # list contains all files from each local "MANIFEST", after + # installing/copying them to the build directory. It basically + # links the original sources to the respective build folder, + # such that a simple 'python bootstrap.py' rebuilds the + # documentation when a file, like 'doc/user/depends.xml' + # for example, changes. + # Finally, in DOCNODES we store the created PDF and HTML files, + # such that we can then install them in the proper places for + # getting picked up by the archiving/packaging stages. + DOCTARGETS = 0 + DOCDEPENDS = 1 + DOCNODES = 2 + docs = {'design' : (['chunked','pdf'], [], []), + #'python10' : (['chunked','html','pdf'], [], []), + 'reference' : (['chunked','html','pdf'], [], []), + #'developer' : (['chunked','html','pdf'], [], []), + 'user' : (['chunked','html','pdf','epub','text'], [], []), + 'man' : (['man','epub','text'], [], []) } + # The names of the target files for the MAN pages man_page_list = ['scons.1','scons-time.1','sconsign.1'] @@ -216,15 +288,13 @@ else: continue base, ext = os.path.splitext(s) if ext in ['.fig', '.jpg']: - env.Execute(Copy(build, s)) + buildsuite.extend(env.Command(os.path.join(build, s), + s, + Copy("$TARGET", "$SOURCE"))) else: - revaction([env.File(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, - # and PDF formats. - # for doc in docs: # @@ -232,8 +302,10 @@ else: # 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'))) + if not os.path.exists(os.path.join(build, doc)): + env.Execute(Mkdir(os.path.join(build, doc))) + if not os.path.exists(os.path.join(build, doc, 'titlepage')): + env.Execute(Mkdir(os.path.join(build, doc, 'titlepage'))) manifest = File(os.path.join(doc, 'MANIFEST')).rstr() src_files = bootstrap.parseManifestLines(doc, open(manifest).readlines()) for s in src_files: @@ -242,22 +314,56 @@ else: doc_s = os.path.join(doc, s) build_s = os.path.join(build, doc, s) base, ext = os.path.splitext(doc_s) + head, tail = os.path.split(s) + if head: + target_dir = os.path.join(build, doc, head) + else: + target_dir = os.path.join(build, doc) if ext in ['.fig', '.jpg', '.svg']: - env.Execute(Copy(build_s, doc_s)) + docs[doc][DOCDEPENDS].extend(env.Command(build_s, doc_s, + Copy("$TARGET", "$SOURCE"))) else: - revaction([env.File(build_s)], - [env.File(doc_s)], env) + btarget = env.File(build_s) + docs[doc][DOCDEPENDS].append(btarget) + revaction([btarget], [env.File(doc_s)], env) + + + # + # For each document, build the document itself in HTML, + # and PDF formats. + # + for doc in docs: # - # 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. + # Call SCons in each local doc folder # 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) + scdir = os.path.join(build, doc) + sctargets = [] + if 'html' in docs[doc][DOCTARGETS]: + sctargets.append(env.File(os.path.join(scdir, 'index.html'))) + if 'chunked' in docs[doc][DOCTARGETS]: + sctargets.append(env.File(os.path.join(scdir, 'scons-%s' % doc, 'index.html'))) + if 'pdf' in docs[doc][DOCTARGETS]: + sctargets.append(env.File(os.path.join(scdir, 'scons-%s.pdf' % doc))) + if 'epub' in docs[doc][DOCTARGETS]: + sctargets.append(env.File(os.path.join(scdir, 'scons-%s.epub' % doc))) + + if 'man' in docs[doc][DOCTARGETS]: + for m in man_page_list: + sctargets.append(os.path.join(scdir, m)) + man, _1 = os.path.splitext(m) + + sctargets.append(os.path.join(scdir, 'scons-%s.pdf' % man)) + sctargets.append(os.path.join(scdir, 'scons-%s.html' % man)) + + docs[doc][DOCNODES].extend(env.Command(sctargets, buildsuite + docs[doc][DOCDEPENDS], + "cd %s && $PYTHON ${SCONS_PY.abspath}%s" % (scdir, cleanopt))) + + install_css = False + for doc in docs: # Collect the output files for this subfolder htmldir = os.path.join(build, 'HTML', 'scons-%s' % doc) @@ -265,37 +371,61 @@ else: html = os.path.join(build, 'HTML', 'scons-%s.html' % doc) pdf = os.path.join(build, 'PDF', 'scons-%s.pdf' % doc) 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]) + text = os.path.join(build, 'TEXT', 'scons-%s.txt' % doc) + if 'chunked' in docs[doc][DOCTARGETS]: + installed_chtml = env.ChunkedInstall(env.Dir(htmldir), + os.path.join(build, doc,'scons-%s' % doc, 'index.html')) + installed_chtml_css = env.Install(env.Dir(htmldir), + os.path.join(build, doc, 'scons.css')) + env.Depends(installed_chtml, docs[doc][DOCNODES]) + env.Depends(installed_chtml_css, docs[doc][DOCNODES]) + + tar_deps.extend([htmlindex, installed_chtml_css]) tar_list.extend([htmldir]) Local(htmlindex) env.Ignore(htmlindex, version_xml) - if 'html' in docs[doc]: - env.InstallAs(html, os.path.join(build, doc,'index.html')) + if 'html' in docs[doc][DOCTARGETS]: + env.InstallAs(env.File(html), env.File(os.path.join(build, doc,'index.html'))) tar_deps.extend([html]) tar_list.extend([html]) Local(html) env.Ignore(html, version_xml) + install_css = True - if 'pdf' in docs[doc]: - env.InstallAs(pdf, os.path.join(build, doc,'scons-%s.pdf' % doc)) + if 'pdf' in docs[doc][DOCTARGETS]: + env.InstallAs(env.File(pdf), env.File(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 'epub' in docs[doc] and gs: - env.InstallAs(epub, os.path.join(build, doc,'scons-%s.epub' % doc)) + if 'epub' in docs[doc][DOCTARGETS] and gs: + env.InstallAs(env.File(epub), env.File(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]: + if ('text' in docs[doc][DOCTARGETS] and lynx and + (('html' in docs[doc][DOCTARGETS]) or (doc == 'man'))): + texthtml = os.path.join(build, doc,'index.html') + if doc == 'man': + # Special handling for single MAN file + texthtml = os.path.join(build, doc, 'scons-scons.html') + + env.Command(text, env.File(texthtml), "lynx -dump ${SOURCE.abspath} > $TARGET") + Local(text) + + env.Ignore(text, version_xml) + + tar_deps.append(text) + tar_list.append(text) + + + if 'man' in docs[doc][DOCTARGETS]: # # Man page(s) # @@ -305,13 +435,22 @@ else: 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)) + env.InstallAs(env.File(pdf), env.File(os.path.join(build, 'man','scons-%s.pdf' % man))) + env.InstallAs(env.File(html), env.File(os.path.join(build, 'man','scons-%s.html' % man))) tar_deps.extend([pdf, html]) tar_list.extend([pdf, html]) + # Install CSS file, common to all single HTMLs + if install_css: + css_file = os.path.join(build, 'HTML', 'scons.css') + env.InstallAs(env.File(css_file), + env.File(os.path.join(build, 'user','scons.css'))) + tar_deps.extend([css_file]) + tar_list.extend([css_file]) + Local(css_file) + if not epydoc_cli: try: import epydoc diff --git a/doc/design/SConstruct b/doc/design/SConstruct index 1cafcb1..5cee70e 100644 --- a/doc/design/SConstruct +++ b/doc/design/SConstruct @@ -3,7 +3,7 @@ # # -# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation +# Copyright (c) 2001 - 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/doc/design/acks.xml b/doc/design/acks.xml index 94a249f..76aa968 100644 --- a/doc/design/acks.xml +++ b/doc/design/acks.xml @@ -7,12 +7,12 @@ + xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd"> Acknowledgements + + com.xmlmind.xmleditext.docbook.table.ValidateHookImpl + + + + + + + + com.xmlmind.xmleditext.docbook.DBTableEdit + + + + com.xmlmind.xmleditext.docbook.Promote + + + com.xmlmind.xmleditext.docbook.Demote + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/editor_configs/xmlmind5/addon/config/scons/css/cals_table.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/cals_table.imp new file mode 100644 index 0000000..6e02a94 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/collapsible.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/collapsible.imp new file mode 100644 index 0000000..443f990 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/docbook1.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/docbook1.imp new file mode 100644 index 0000000..27a7561 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/docbook2.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/docbook2.imp new file mode 100644 index 0000000..d558ca7 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/example1.css b/doc/editor_configs/xmlmind5/addon/config/scons/css/example1.css new file mode 100644 index 0000000..857d561 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/html_cals_table.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/html_cals_table.imp new file mode 100644 index 0000000..dd62d3d --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/image.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/image.imp new file mode 100644 index 0000000..dd1d65f --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/print.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/print.imp new file mode 100644 index 0000000..d12a18b --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/refentry.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/refentry.imp new file mode 100644 index 0000000..80f1890 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/scons.css b/doc/editor_configs/xmlmind5/addon/config/scons/css/scons.css new file mode 100644 index 0000000..1597226 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/structure.css b/doc/editor_configs/xmlmind5/addon/config/scons/css/structure.css new file mode 100644 index 0000000..95f4610 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/table.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp new file mode 100644 index 0000000..0b444bb --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/css/visible_inclusions.css b/doc/editor_configs/xmlmind5/addon/config/scons/css/visible_inclusions.css new file mode 100644 index 0000000..f66b094 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/htmlTable.incl b/doc/editor_configs/xmlmind5/addon/config/scons/htmlTable.incl new file mode 100644 index 0000000..5ea16b8 --- /dev/null +++ b/doc/editor_configs/xmlmind5/addon/config/scons/htmlTable.incl @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+
diff --git a/doc/editor_configs/xmlmind5/addon/config/scons/scons.css b/doc/editor_configs/xmlmind5/addon/config/scons/scons.css new file mode 100644 index 0000000..8f52269 --- /dev/null +++ b/doc/editor_configs/xmlmind5/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/xmlmind5/addon/config/scons/scons.xxe b/doc/editor_configs/xmlmind5/addon/config/scons/scons.xxe new file mode 100644 index 0000000..8f835cc --- /dev/null +++ b/doc/editor_configs/xmlmind5/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 + +