commit a96fdffe394a754b94c5ae9a335b330650d159c8 Author: Matias Capeletto Date: Mon Jun 25 18:35:23 2007 +0000 Improving boost docs project repository [SVN r7144] diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..3e84d7c7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,96 @@ +* text=auto !eol svneol=native#text/plain +*.gitattributes text svneol=native#text/plain + +# Scriptish formats +*.bat text svneol=native#text/plain +*.bsh text svneol=native#text/x-beanshell +*.cgi text svneol=native#text/plain +*.cmd text svneol=native#text/plain +*.js text svneol=native#text/javascript +*.php text svneol=native#text/x-php +*.pl text svneol=native#text/x-perl +*.pm text svneol=native#text/x-perl +*.py text svneol=native#text/x-python +*.sh eol=lf svneol=LF#text/x-sh +configure eol=lf svneol=LF#text/x-sh + +# Image formats +*.bmp binary svneol=unset#image/bmp +*.gif binary svneol=unset#image/gif +*.ico binary svneol=unset#image/ico +*.jpeg binary svneol=unset#image/jpeg +*.jpg binary svneol=unset#image/jpeg +*.png binary svneol=unset#image/png +*.tif binary svneol=unset#image/tiff +*.tiff binary svneol=unset#image/tiff +*.svg text svneol=native#image/svg%2Bxml + +# Data formats +*.pdf binary svneol=unset#application/pdf +*.avi binary svneol=unset#video/avi +*.doc binary svneol=unset#application/msword +*.dsp text svneol=crlf#text/plain +*.dsw text svneol=crlf#text/plain +*.eps binary svneol=unset#application/postscript +*.gz binary svneol=unset#application/gzip +*.mov binary svneol=unset#video/quicktime +*.mp3 binary svneol=unset#audio/mpeg +*.ppt binary svneol=unset#application/vnd.ms-powerpoint +*.ps binary svneol=unset#application/postscript +*.psd binary svneol=unset#application/photoshop +*.rdf binary svneol=unset#text/rdf +*.rss text svneol=unset#text/xml +*.rtf binary svneol=unset#text/rtf +*.sln text svneol=native#text/plain +*.swf binary svneol=unset#application/x-shockwave-flash +*.tgz binary svneol=unset#application/gzip +*.vcproj text svneol=native#text/xml +*.vcxproj text svneol=native#text/xml +*.vsprops text svneol=native#text/xml +*.wav binary svneol=unset#audio/wav +*.xls binary svneol=unset#application/vnd.ms-excel +*.zip binary svneol=unset#application/zip + +# Text formats +.htaccess text svneol=native#text/plain +*.bbk text svneol=native#text/xml +*.cmake text svneol=native#text/plain +*.css text svneol=native#text/css +*.dtd text svneol=native#text/xml +*.htm text svneol=native#text/html +*.html text svneol=native#text/html +*.ini text svneol=native#text/plain +*.log text svneol=native#text/plain +*.mak text svneol=native#text/plain +*.qbk text svneol=native#text/plain +*.rst text svneol=native#text/plain +*.sql text svneol=native#text/x-sql +*.txt text svneol=native#text/plain +*.xhtml text svneol=native#text/xhtml%2Bxml +*.xml text svneol=native#text/xml +*.xsd text svneol=native#text/xml +*.xsl text svneol=native#text/xml +*.xslt text svneol=native#text/xml +*.xul text svneol=native#text/xul +*.yml text svneol=native#text/plain +boost-no-inspect text svneol=native#text/plain +CHANGES text svneol=native#text/plain +COPYING text svneol=native#text/plain +INSTALL text svneol=native#text/plain +Jamfile text svneol=native#text/plain +Jamroot text svneol=native#text/plain +Jamfile.v2 text svneol=native#text/plain +Jamrules text svneol=native#text/plain +Makefile* text svneol=native#text/plain +README text svneol=native#text/plain +TODO text svneol=native#text/plain + +# Code formats +*.c text svneol=native#text/plain +*.cpp text svneol=native#text/plain +*.h text svneol=native#text/plain +*.hpp text svneol=native#text/plain +*.ipp text svneol=native#text/plain +*.tpp text svneol=native#text/plain +*.jam text svneol=native#text/plain +*.java text svneol=native#text/plain diff --git a/doc/chapters.xml b/doc/chapters.xml new file mode 100644 index 00000000..4fd60227 --- /dev/null +++ b/doc/chapters.xml @@ -0,0 +1,166 @@ + + + + + + + + + +<link tag="Text processing" href="index.html" > +<!--=======================================================================--> + <link tag="lexical_cast" href="conversion/lexical_cast.htm" /> + <link tag="format" href="format/index.html" /> + <link tag="iostreams" href="iostreams/doc/index.html" /> + <link tag="regex" href="regex/index.html" /> + <link tag="spirit" href="spirit/index.html" /> + <link tag="string_algo" href="algorithm/string/index.html" /> + <link tag="tokenizer" href="tokenizer/index.html" /> + <link tag="wave" href="wave/index.html" /> + <link tag="xpressive" href="xpressive/index.html" /> + +</link> + + +<link tag="Data structures" href="index.html" > +<!--=======================================================================--> + <link tag="any" href="any/index.html" /> + <link tag="array" href="array/index.html" /> + <link tag="bimap" href="http://tinyhref.com/22sja5" /> + <link tag="compressed_pair" href="utility/compressed_pair.htm" /> + <link tag="dynamic_bitset" href="dynamic_bitset/dynamic_bitset.html" /> + <link tag="graph" href="graph/doc/table_of_contents.html" /> + <link tag="multi_array" href="multi_array/doc/index.html" /> + <link tag="multi_index" href="multi_index/doc/index.html" /> + <link tag="optional" href="libs/optional/doc/optional.html" /> + <link tag="ptr_container" href="ptr_container/index.html" /> + <link tag="property_map" href="property_map/property_map.html" /> + <link tag="tribool" href="doc/html/tribool.html" /> + <link tag="tuple" href="tuple/doc/tuple_users_guide.html" /> + <link tag="variant" href="variant/index.html" /> + +</link> + + +<link tag="Algorithms" href="index.html" > +<!--=======================================================================--> + <link tag="foreach" href="foreach/index.html" /> + <link tag="minmax" href="algorithm/minmax/index.html" /> + <link tag="range" href="range/index.html" /> + +</link> + + +<link tag="Functional" href="index.html" > +<!--=======================================================================--> + <link tag="bind" href="bind/bind.html" /> + <link tag="function" href="function/index.html" /> + <link tag="functional" href="functional/index.htm" /> + <link tag="hash" href="functional/hash/index.html" /> + <link tag="lambda" href="lambda/index.html" /> + <link tag="bind" href="bind/ref.html" /> + <link tag="signals" href="signals/index.html" /> + <link tag="result_of" href="utility/utility.htm#result_of" /> + +</link> + + +<link tag="Generic Programming" href="index.html" > +<!--=======================================================================--> + <link tag="call_traits" href="utility/call_traits.htm" /> + <link tag="concept_check" href="concept_check/concept_check.htm" /> + <link tag="enable_if" href="utility/enable_if.html" /> + <link tag="in_place_factory" href="utility/in_place_factories.html" /> + <link tag="iterators" href="iterator/doc/index.html" /> + <link tag="operators" href="utility/operators.htm" /> + <link tag="typeof" href="typeof/index.html" /> + +</link> + + +<link tag="Metaprogramming" href="index.html" > +<!--=======================================================================--> + <link tag="mpl" href="mpl/doc/index.html" /> + <link tag="static_assert" href="static_assert/static_assert.htm" /> + <link tag="type_traits" href="type_traits/index.html" /> + +</link> + + +<link tag="Concurrent" href="index.html" > +<!--=======================================================================--> + <link tag="thread" href="thread/doc/index.html" /> + +</link> + + +<link tag="Math and numerics" href="index.html" > +<!--=======================================================================--> + <link tag="math" href="math/doc/index.html" /> + <link tag="conversion" href="numeric/conversion/index.html" /> + <link tag="integer" href="integer/index.html" /> + <link tag="interval" href="numeric/interval/doc/interval.htm" /> + <link tag="random" href="random/index.html" /> + <link tag="rational" href="rational/index.html" /> + <link tag="ublas" href="numeric/ublas/doc/index.htm" /> + +</link> + + +<link tag="Input Output" href="index.html" > +<!--=======================================================================--> + <link tag="io state savers" href="io/doc/ios_state.html" /> + <link tag="program_options" href="../doc/html/program_options.html" /> + <link tag="serialization" href="serialization/doc/index.html" /> + +</link> + + +<link tag="Memory" href="index.html" > +<!--=======================================================================--> + <link tag="pool" href="pool/doc/index.html" /> + <link tag="smart_ptr" href="smart_ptr/index.html" /> + <link tag="utility" href="utility/utility.htm" /> + +</link> + + +<link tag="Miscellaneous" href="index.html" > +<!--=======================================================================--> + <link tag="assign" href="assign/index.html" /> + <link tag="base from member" href="utility/base_from_member.html" /> + <link tag="crc" href="crc/index.html" /> + <link tag="date_time" href="date_time/doc/index.html" /> + <link tag="filesystem" href="filesystem/doc/index.htm" /> + <link tag="parameter" href="parameter/doc/html/index.html" /> + <link tag="preprocesor" href="preprocessor/doc/index.html" /> + <link tag="python" href="python/doc/index.html" /> + <link tag="timer" href="timer/index.html" /> + <link tag="tr1" href="tr1/index.html" /> + <link tag="statechart" href="statechart/doc/index.html" /> + <link tag="value_initialized" href="utility/value_init.htm" /> + +</link> + + +<link tag="Compiler workarounds" href="index.html" > +<!--=======================================================================--> + <link tag="compatibility" href="compatibility/index.html" /> + <link tag="config" href="config/config.htm" /> + +</link> + + + +</nestedLinks> + diff --git a/doc/doc_test/doc/--stringparam b/doc/doc_test/doc/--stringparam new file mode 100644 index 00000000..e69de29b diff --git a/doc/doc_test/doc/HTML4_symbols.qbk b/doc/doc_test/doc/HTML4_symbols.qbk new file mode 100644 index 00000000..2af7241f --- /dev/null +++ b/doc/doc_test/doc/HTML4_symbols.qbk @@ -0,0 +1,253 @@ +[/ File Latin1_symbols.qbk +Copyright 2006-2007 Paul A. Bristow. +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt). +] + + +[/ Symbols and Greek letters (about 120) from HTML4 ] +[/ File HTML4_symbols.qbk] +[/ See http://www.htmlhelp.com/reference/html40/entities/symbols.html] +[/ All (except 2 angle brackets) show OK on Firefox 2.0] + +[/ Also some miscellaneous math charaters added to this list - see the end.] + +[/ To use, enclose the template name in square brackets.] + +[template fnof[]'''ƒ'''] [/ � Latin small f with hook = function = florin] +[template Alpha[]'''Α'''] [/ ? Greek capital letter alpha] +[template Beta[]'''Β'''] [/ ? Greek capital letter beta] +[template Gamma[]'''Γ'''] [/ G Greek capital letter gamma] +[template Delta[]'''Δ'''] [/ ? Greek capital letter delta] +[template Epsilon[]'''Ε'''] [/ ? Greek capital letter epsilon] +[template Zeta[]'''Ζ'''] [/ ? Greek capital letter zeta] +[template Eta[]'''Η'''] [/ ? Greek capital letter eta] +[template Theta[]'''Θ'''] [/ T Greek capital letter theta] +[template Iota[]'''Ι'''] [/ ? Greek capital letter iota] +[template Kappa[]'''Κ'''] [/ ? Greek capital letter kappa] +[template Lambda[]'''Λ'''] [/ ? Greek capital letter lambda] +[template Mu[]'''Μ'''] [/ ? Greek capital letter mu] +[template Nu[]'''Ν'''] [/ ? Greek capital letter nu] +[template Xi[]'''Ξ'''] [/ ? Greek capital letter xi] +[template Omicron[]'''Ο'''] [/ ? Greek capital letter omicron] +[template Pi[]'''Π'''] [/ ? Greek capital letter pi] +[template Rho[]'''Ρ'''] [/ ? Greek capital letter rho] +[template Sigma[]'''Σ'''] [/ S Greek capital letter sigma] +[template Tau[]'''Τ'''] [/ ? Greek capital letter tau] +[template Upsilon[]'''Υ'''] [/ ? Greek capital letter upsilon] +[template Phi[]'''Φ'''] [/ F Greek capital letter phi] +[template Chi[]'''Χ'''] [/ ? Greek capital letter chi] +[template Psi[]'''Ψ'''] [/ ? Greek capital letter psi] +[template Omega[]'''Ω'''] [/ O Greek capital letter omega] +[template alpha[]'''α'''] [/ a Greek small letter alpha] +[template beta[]'''β'''] [/ � Greek small letter beta] +[template gamma[]'''γ'''] [/ ? Greek small letter gamma] +[template delta[]'''δ'''] [/ d Greek small letter delta] +[template epsilon[]'''ε'''] [/ e Greek small letter epsilon] +[template zeta[]'''ζ'''] [/ ? Greek small letter zeta] +[template eta[]'''η'''] [/ ? Greek small letter eta] +[template theta[]'''θ'''] [/ ? Greek small letter theta] +[template iota[]'''ι'''] [/ ? Greek small letter iota] +[template kappa[]'''κ'''] [/ ? Greek small letter kappa] +[template lambda[]'''λ'''] [/ ? Greek small letter lambda] +[template mu[]'''μ'''] [/ � Greek small letter mu] +[template nu[]'''ν'''] [/ ? Greek small letter nu] +[template xi[]'''ξ'''] [/ ? Greek small letter xi] +[template omicron[]'''ο'''] [/ ? Greek small letter omicron] +[template pi[]'''π'''] [/ p Greek small letter pi] +[template rho[]'''ρ'''] [/ ? Greek small letter rho] +[template sigmaf[]'''ς'''] [/ ? Greek small letter final sigma] +[template sigma[]'''σ'''] [/ s Greek small letter sigma] +[template tau[]'''τ'''] [/ t Greek small letter tau] +[template upsilon[]'''υ'''] [/ ? Greek small letter upsilon] +[template phi[]'''φ'''] [/ f Greek small letter phi] +[template chi[]'''χ'''] [/ ? Greek small letter chi] +[template psi[]'''ψ'''] [/ ? Greek small letter psi] +[template omega[]'''ω'''] [/ ? Greek small letter omega] +[template thetasym[]'''ϑ'''] [/ ? Greek small letter theta symbol] +[template upsih[]'''ϒ'''] [/ ? Greek upsilon with hook symbol] +[template piv[]'''ϖ'''] [/ ? Greek pi symbol] +[template bull[]'''•'''] [/ � bullet = black small circle] +[template hellip[]'''…'''] [/ � horizontal ellipsis = three dot leader] +[template prime[]'''′'''] [/ ' prime = minutes = feet] +[template Prime[]'''″'''] [/ ? double prime = seconds = inches] +[template oline[]'''‾'''] [/ ? overline = spacing overscore] +[template frasl[]'''⁄'''] [/ / fraction slash] +[template weierp[]'''℘'''] [/ P script capital P = power set = Weierstrass p] +[template image[]'''ℑ'''] [/ I blackletter capital I = imaginary part] +[template real[]'''ℜ'''] [/ R blackletter capital R = real part symbol] +[template trade[]'''™'''] [/ � trade mark sign] +[template alefsym[]'''ℵ'''] [/ ? alef symbol = first transfinite cardinal] +[template larr[]'''←'''] [/ ? leftwards arrow] +[template uarr[]'''↑'''] [/ ? upwards arrow] +[template rarr[]'''→'''] [/ ? rightwards arrow] +[template darr[]'''↓'''] [/ ? downwards arrow] +[template harr[]'''↔'''] [/ ? left right arrow] +[template crarr[]'''↵'''] [/ ? downwards arrow with corner leftwards = CR] +[template lArr[]'''⇐'''] [/ ? leftwards double arrow] +[template uArr[]'''⇑'''] [/ ? upwards double arrow] +[template rArr[]'''⇒'''] [/ ? rightwards double arrow] +[template dArr[]'''⇓'''] [/ ? downwards double arrow] +[template hArr[]'''⇔'''] [/ ? left right double arrow] +[template forall[]'''∀'''] [/ ? for all] +[template part[]'''∂'''] [/ ? partial differential] +[template exist[]'''∃'''] [/ ? there exists] +[template empty[]'''∅'''] [/ � empty set = null set = diameter] +[template nabla[]'''∇'''] [/ ? nabla = backward difference] +[template isin[]'''∈'''] [/ ? element of] +[template notin[]'''∉'''] [/ ? not an element of] +[template ni[]'''∋'''] [/ ? contains as member] +[template prod[]'''∏'''] [/ ? n-ary product = product sign] +[template sum[]'''∑'''] [/ ? n-ary sumation] +[template minus[]'''−'''] [/ - minus sign] +[template lowast[]'''∗'''] [/ * asterisk operator] +[template radic[]'''√'''] [/ v square root = radical sign] +[template prop[]'''∝'''] [/ ? proportional to] +[template infin[]'''∞'''] [/ 8 infinity] +[template ang[]'''∠'''] [/ ? angle] +[template and[]'''∧'''] [/ ? logical and = wedge] +[template or[]'''∨'''] [/ ? logical or = vee] +[template cap[]'''∩'''] [/ n intersection = cap] +[template cup[]'''∪'''] [/ ? union = cup] +[template int[]'''∫'''] [/ ? integral] +[template there4[]'''∴'''] [/ ? therefore] +[template sim[]'''∼'''] [/ ~ tilde operator = varies with = similar to] +[template cong[]'''≅'''] [/ ? approximately equal to] +[template asymp[]'''≈'''] [/ � almost equal to = asymptotic to] +[template ne[]'''≠'''] [/ ? not equal to] +[template equiv[]'''≡'''] [/ = identical to] +[template le[]'''≤'''] [/ = less-than or equal to] +[template ge[]'''≥'''] [/ = greater-than or equal to] +[template subset[]'''⊂'''] [/ ? subset of] +[template superset[]'''⊃'''] [/ ? superset of] +[template nsubset[]'''⊄'''] [/ ? not a subset of] +[template sube[]'''⊆'''] [/ ? subset of or equal to] +[template supe[]'''⊇'''] [/ ? superset of or equal to] +[template oplus[]'''⊕'''] [/ ? circled plus = direct sum] +[template otimes[]'''⊗'''] [/ ? circled times = vector product] +[template perp[]'''⊥'''] [/ ? up tack = orthogonal to = perpendicular] +[template sdot[]'''⋅'''] [/ � dot operator] +[template lceil[]'''⌈'''] [/ ? left ceiling = APL upstile] +[template rceil[]'''⌉'''] [/ ? right ceiling] +[template lfloor[]'''⌊'''] [/ ? left floor = APL downstile] +[template rfloor[]'''⌋'''] [/ ? right floor] +[template lang[]'''〈'''] [/ < left-pointing angle bracket = bra (Firefox shows ?)] +[template rang[]'''〉'''] [/ > right-pointing angle bracket = ket (Firefox shows ?)] +[template loz[]'''◊'''] [/ ? lozenge] +[template spades[]'''♠'''] [/ ? black spade suit] +[template clubs[]'''♣'''] [/ ? black club suit = shamrock] +[template hearts[]'''♥'''] [/ ? black heart suit = valentine] +[template diams[]'''♦'''] [/ ? black diamond suit] + +[/ Other symbols, not in the HTML4 list:] +[template space[]''' '''] +[template plusminus[]'''±'''] [/ ? plus or minus sign] + + +[/ Symbols and accented letters from Latin-1] +[/ File Latin1_symbols.qbk] +[/ http://www.htmlhelp.com/reference/html40/entities/latin1.html ] +[/ based on table Copyright </copyright.html> 1998-2006 Liam Quinn.] +[/ Glyphs <http://www.unicode.org/charts/> of the characters ] +[/ are available at the Unicode Consortium <http://www.unicode.org/>. ] + +[template nbsp[]''' '''] [/ no-break space = non-breaking space] +[template iexcl[]'''¡'''] [/ inverted exclamation mark ] +[template cent[]'''¢'''] [/ cent sign ] +[template pound[]'''£'''] [/ pound sign ] +[template curren[]'''¤'''] [/ currency sign ] +[template yen[]'''¥'''] [/ yen sign = yuan sign ] +[template brvbar[]'''¦'''] [/ broken vertical bar ] +[template sectsign[]'''§'''] [/ section sign ] +[template uml[]'''¨'''] [/ diaeresis ] +[template copy[]'''©'''] [/ copyright ] +[template ordf[]'''ª'''] [/ feminine ordinal indicator ] +[template laquo[]'''«'''] [/ left-pointing double angle quotation mark = left pointing guillemet ] +[template not[]'''¬'''] [/ not sign ] +[template shy[]'''­'''] [/ soft hyphen = discretionary hyphen ] +[template reg[]'''®'''] [/ registered sign = registered trade mark sign ] +[template macron[]'''¯'''] [/ macron = spacing macron = overline = APL overbar ] +[template deg[]'''°'''] [/ degree sign ] +[template plusmn[]'''±'''] [/ plus-minus sign = plus-or-minus sign ] +[template sup2[]'''²'''] [/ superscript two = superscript digit two = squared ] +[template cubed[]'''³'''] [/ superscript three = superscript digit three = cubed ] +[template acute[]'''´'''] [/ acute accent = spacing acute ] +[template micro[]'''µ'''] [/ micro sign ] +[template para[]'''¶'''] [/ pilcrow sign = paragraph sign ] +[template middot[]'''·'''] [/ middle dot = Georgian comma = Greek middle dot ] +[template cedil[]'''¸'''] [/ cedilla = spacing cedilla ] +[template sup1[]'''¹'''] [/ superscript one = superscript digit one ] +[template ordm[]'''º'''] [/ masculine ordinal indicator ] +[template raquo[]'''»'''] [/ right-pointing double angle quotation mark = right pointing guillemet ] +[template frac14[]'''¼'''] [/ vulgar fraction one quarter = fraction one quarter ] +[template frac12[]'''½'''] [/ vulgar fraction one half = fraction one half ] +[template frac34[]'''¾'''] [/vulgar fraction three quarters = fraction three quarters ] +[template iquest[]'''¿'''] [/ inverted question mark = turned question mark ] +[template Agrave[]'''À'''] [/ Latin capital letter A with grave = Latin capital letter A grave ] +[template Aacute[]'''Á'''] [/ Latin capital letter A with acute = Latin capital letter A acute ] +[template Acirc[]'''Â'''] [/ Latin capital letter A with circumflex ] +[template Atilde[]'''Ã'''] [/Latin capital letter A with tilde ] +[template Auml[]'''Ä'''] [/ Latin capital letter A with diaeresis ] +[template Aring[]'''Å'''] [/ Latin capital letter A with ring above = Latin capital letter A ring ] +[template AElig[]'''Æ'''] [/ Latin capital letter AE = Latin capital ligature AE ] +[template Ccedil[]'''Ç'''] [/ Latin capital letter C with cedilla ] +[template Egrave[]'''È'''] [/ Latin capital letter E with grave ] +[template Eacute[]'''É'''] [/ Latin capital letter E with acute ] +[template Ecirc[]'''Ê'''] [/ Latin capital letter E with circumflex ] +[template Euml[]'''Ë'''] [/ Latin capital letter E with diaeresis ] +[template Igrave[]'''Ì'''] [/ Latin capital letter I with grave ] +[template Iacute[]'''Í'''] [/ Latin capital letter I with acute ] +[template Icirc[]'''Î'''] [/ Latin capital letter I with circumflex ] +[template Iuml[]'''Ï'''] [/ Latin capital letter I with diaeresis ] +[template ETH[]'''Ð'''] [/ Latin capital letter ETH ] +[template Ntilde[]'''Ñ'''] [/ Latin capital letter N with tilde ] +[template Ograve[]'''Ò'''] [/ Latin capital letter O with grave] +[template Oacute[]'''Ó'''] [/ Latin capital letter O with acute ] +[template Ocirc[]'''Ô'''] [/ Latin capital letter O with circumflex ] +[template Otilde[]'''Õ'''] [/ Latin capital letter O with tilde ] +[template Ouml[]'''Ö'''] [/ Latin capital letter O with diaeresis ] +[template times[]'''×'''] [/ multiplication sign ] +[template Oslash[]'''Ø'''] [/ Latin capital letter O with stroke = Latin capital letter O slash ] +[template Ugrave[]'''Ù'''] [/ Latin capital letter U with grave ] +[template Uacute[]'''Ú'''] [/ Latin capital letter U with acute ] +[template Ucirc[]'''Û'''] [/ Latin capital letter U with circumflex ] +[template Uuml[]'''Ü'''] [/ Latin capital letter U with diaeresis ] +[template Yacute[]'''Ý'''] [/ Latin capital letter Y with acute ] +[template THORN[]'''Þ'''] [/ Latin capital letter THORN ] +[template szlig[]'''ß'''] [/ Latin small letter sharp s = ess-zed ] +[template agrave[]'''à'''] [/ Latin small letter a with grave = Latin small letter a grave ] +[template aacute[]'''á'''] [/ Latin small letter a with acute ] +[template acirc[]'''â'''] [/ Latin small letter a with circumflex ] +[template atilde[]'''ã'''] [/ Latin small letter a with tilde ] +[template auml[]'''ä'''] [/ Latin small letter a with diaeresis ] +[template aring[]'''å'''] [/ Latin small letter a with ring above = Latin small letter a ring ] +[template aelig[]'''æ'''] [/ Latin small letter ae = Latin small ligature ae ] +[template ccedil[]'''ç'''] [/ Latin small letter c with cedilla ] +[template egrave[]'''è'''] [/ Latin small letter e with grave ] +[template eacute[]'''é'''] [/ Latin small letter e with acute ] +[template ecirc[]'''ê'''] [/ Latin small letter e with circumflex ] +[template euml[]'''ë'''] [/ Latin small letter e with diaeresis ] +[template igrave[]'''ì'''] [/ Latin small letter i with grave ] +[template iacute[]'''í'''] [/ Latin small letter i with acute ] +[template icirc[]'''î'''] [/ Latin small letter i with circumflex ] +[template iuml[]'''ï'''] [/ Latin small letter i with diaeresis ] +[template eth[]'''ð'''] [/ Latin small letter eth ] +[template ntilde[]'''ñ'''] [/ Latin small letter n with tilde ] +[template ograve[]'''ò'''] [/Latin small letter o with grave ] +[template oacute[]'''ó'''] [/ Latin small letter o with acute ] +[template ocirc[]'''ô'''] [/ Latin small letter o with circumflex ] +[template otilde[]'''õ'''] [/ Latin small letter o with tilde ] +[template ouml[]'''ö'''] [/ Latin small letter o with diaeresis ] +[template divide[]'''÷'''] [/ division sign ] +[template oslash[]'''ø'''] [/ Latin small letter o with stroke = Latin small letter o slash ] +[template ugrave[]'''ù'''] [/ Latin small letter u with grave ] +[template uacute[]'''ú'''] [/ Latin small letter u with acute ] +[template ucirc[]'''û'''] [/ Latin small letter u with circumflex ] +[template uuml[]'''ü'''] [/ Latin small letter u with diaeresis ] +[template yacute[]'''ý'''] [/ Latin small letter y with acute ] +[template thorn[]'''þ'''] [/ Latin small letter thorn ] +[template yuml[]'''ÿ'''] [/ Latin small letter y with diaeresis ] + + + diff --git a/doc/doc_test/doc/Jamfile.v2 b/doc/doc_test/doc/Jamfile.v2 new file mode 100644 index 00000000..693d78e5 --- /dev/null +++ b/doc/doc_test/doc/Jamfile.v2 @@ -0,0 +1,66 @@ + +# Copyright John Maddock 2005. Use, modification, and distribution are +# subject to the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +using quickbook ; + +xml test : test.qbk ; +boostbook standalone + : + test + : + # HTML options first: + #====================================================================== + + # Include a logo in the first page + <xsl:param>chapter.logo.img="'images/doctest.png'" + + # Include "Quicbook source" alternate stlysheet + <xsl:param>quickbook.source.style.show="'true'" + + # How far down we chunk nested sections, basically all of them: + <xsl:param>chunk.section.depth=1 + # Don't put the first section on the same page as the TOC: + <xsl:param>chunk.first.sections=1 + # How far down sections get TOC's + <xsl:param>toc.section.depth=10 + # Max depth in each TOC: + <xsl:param>toc.max.depth=4 + # How far down we go with TOC's + <xsl:param>generate.section.toc.level=10 + + + # PDF Options: + #====================================================================== + + # TOC Generation: this is needed for FOP-0.9 and later: + # <xsl:param>fop1.extensions=1 + <xsl:param>xep.extensions=1 + # TOC generation: this is needed for FOP 0.2, but must not be set to + # zero for FOP-0.9! + <xsl:param>fop.extensions=0 + # No indent on body text: + <xsl:param>body.start.indent=0pt + # Margin size: + <xsl:param>page.margin.inner=0.5in + # Margin size: + <xsl:param>page.margin.outer=0.5in + # Yes, we want graphics for admonishments: + <xsl:param>admon.graphics=1 + # Set this one for PDF generation *only*: + # default pnd graphics are awful in PDF form, + # better use SVG's instead: + #<xsl:param>admon.graphics.extension=".svg" + ; + + + + + + + + + + + diff --git a/doc/doc_test/doc/html/HTML.manifest b/doc/doc_test/doc/html/HTML.manifest new file mode 100644 index 00000000..50127a0e --- /dev/null +++ b/doc/doc_test/doc/html/HTML.manifest @@ -0,0 +1,8 @@ +index.html +document_to_test_formatting/introduction.html +document_to_test_formatting/code_blocks.html +document_to_test_formatting/basic_formatting.html +document_to_test_formatting/blurbs.html +document_to_test_formatting/lists_and_tables.html +document_to_test_formatting/images.html +document_to_test_formatting/test.html diff --git a/doc/doc_test/doc/html/document_to_test_formatting/basic_formatting.html b/doc/doc_test/doc/html/document_to_test_formatting/basic_formatting.html new file mode 100644 index 00000000..ba1bd688 --- /dev/null +++ b/doc/doc_test/doc/html/document_to_test_formatting/basic_formatting.html @@ -0,0 +1,411 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Basic Formatting + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+ + Basic Formatting +

+
+
+
+
+
+
+
+
+
+
+
+ + Font + Styles + +
+
+ + Replaceable + Text + +
+
+ + Quotations + +
+
+ + Inline + Code + +
+
+ + Links + +
+
+ + Footnotes + +
+
+ + Blockquote + +
+
+ + Headings + +
+
+
+
+
+
+
+
+
+
+
+
+

+ + Font + Styles +

+
+
+
+

+ Here we go with some inline formatting: italic, bold, underline, + teletype, strikethrough, + we can combine styles as well: bold italic, + teletype with underline. +

+
+
+
+
+
+

+ + Replaceable + Text +

+
+
+
+

+ Text that is intended to be user-replaceable is + + rendered like this + + . +

+
+
+
+
+
+

+ + Quotations +

+
+
+
+

+ Here we go: “A question that sometimes drives me hazy: am I or are + the others crazy?”--Einstein +

+

+ Note the proper left and right quote marks. Also, while you can simply use + ordinary quote marks like "quoted", our quotation, above, will + generate correct DocBook quotations (e.g. <quote>quoted</quote>). +

+

+ Like all phrase elements, quotations may be nested. Example: +

+

+ “Here's the rule for bargains: ‘Do other men, for they would + do you.’ That's the true business precept.” +

+
+
+
+
+
+

+ + Inline + Code +

+
+
+
+

+ This text has inlined code int main() { return 0; } + in it. The code should be syntax highlighted. +

+
+
+
+
+
+

+ + Links +

+
+
+
+

+ Try this: this is boost's + website.... it should be visible as a link. +

+
+
+
+
+
+

+ + Footnotes +

+
+
+
+

+ Here's one + [1] + . +

+

+ And here's another + [2] + . +

+
+
+
+
+
+

+ + Blockquote +

+
+
+
+

+ Lets indent the next paragraph: +

+
+
+

+

+

+ Here we go!!! +

+

+

+
+
+
+
+
+
+
+

+ + Headings +

+
+
+
+

+ Now try rendering some heading styles: +

+ +

+ Heading + 1 +

+ +

+ Heading + 2 +

+ +

+ Heading + 3 +

+ +
+ Heading + 4 +
+ +
+ Heading + 5 +
+ +

+ Heading + 6 +

+
+
+
+

[1] + A sample footnote +

+
+
+

[2] + Another sample footnote +

+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/document_to_test_formatting/blurbs.html b/doc/doc_test/doc/html/document_to_test_formatting/blurbs.html new file mode 100644 index 00000000..789dbfd3 --- /dev/null +++ b/doc/doc_test/doc/html/document_to_test_formatting/blurbs.html @@ -0,0 +1,440 @@ + + + + + Blurbs + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+ + Blurbs +

+
+
+
+
+
+
+
+
+
+
+
+ + Preformatted + text + +
+
+ + Admonishments + +
+
+ + Blurbs + +
+
+
+
+
+
+
+
+
+
+
+ +
+
+

+ Here's some sample program output: +

+
+
+
+
+
+
+
+ +
+
F test for equal standard deviations
+____________________________________
+
+Sample 1:
+Number of Observations                                 =  240
+Sample Standard Deviation                              =  65.549
+
+Sample 2:
+Number of Observations                                 =  240
+Sample Standard Deviation                              =  61.854
+
+Test Statistic                                         =  1.123
+
+CDF of test statistic:                                 =  8.148e-001
+Upper Critical Value at alpha:                         =  1.238e+000
+Upper Critical Value at alpha/2:                       =  1.289e+000
+Lower Critical Value at alpha:                         =  8.080e-001
+Lower Critical Value at alpha/2:                       =  7.756e-001
+
+Results for Alternative Hypothesis and alpha           =  0.0500
+
+Alternative Hypothesis                                    Conclusion
+Standard deviations are unequal (two sided test)          REJECTED
+Standard deviation 1 is less than standard deviation 2    REJECTED
+Standard deviation 1 is greater than standard deviation 2 REJECTED
+
+
+
+
+
+
+
+
+
+
+
+
+

+ + Admonishments +

+
+
+
+

+ There are four admonishments supported by Docbook XML: +

+
+
+
+
+
+
+
+
+
+
+
+
+
Note
+
+

+

+

+ This is a note +

+

+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Tip
+
+

+

+

+ This is a tip +

+

+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Important
+
+

+

+

+ This is important +

+

+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Caution
+
+

+

+

+ This is a caution +

+

+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Warning
+
+

+

+

+ This is a warning +

+

+

+

+ They can contain more than one paragraph. +

+

+

+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ + Blurbs +

+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/document_to_test_formatting/code_blocks.html b/doc/doc_test/doc/html/document_to_test_formatting/code_blocks.html new file mode 100644 index 00000000..c2f7457f --- /dev/null +++ b/doc/doc_test/doc/html/document_to_test_formatting/code_blocks.html @@ -0,0 +1,670 @@ + + + + + Code Blocks + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+ + Code Blocks +

+
+
+
+
+
+
+
+
+
+
+
+ + Embedded + code + +
+
+ + Imported + code and callouts + +
+
+ + Larger + example + +
+
+
+
+
+
+
+
+
+
+
+
+

+ + Embedded + code +

+
+
+
+

+ These should be syntax highlighted: +

+
+
+
+
+
+
+
+ +
+
+#include <iostream>
+
+int main()
+{
+    // Sample code
+    std::cout << "Hello, World\n";
+    return 0;
+}
+
+
+
+
+
+
+
+
+
+
+ +
+

+ Here's some code with left-placed callouts: +

+

+

+

+ +

+
+
+
+
+
+
+
+ +
+
+class x
+{
+public:
+
+    [1>x() : n(0)
+    {
+    }
+
+    [2>~x()
+    {
+    }
+
+    [3>int get() const
+    {
+        return n; 
+    }
+
+    [4>void set(int n_)
+    {
+        n = n_;
+    }
+};
+
+
+
+
+
+
+
+

+

+

+

+

+

+
+
+
[1>
+
+

Constructor

+
+
[2>
+
+

Destructor

+
+
[3>
+
+

Get the n + member variable

+
+
[4>
+
+

Set the n + member variable

+
+
+
+

+

+

+

+

+ And again with callouts placed exactly where we put them: +

+

+

+

+ +

+
+
+
+
+
+
+
+ +
+
+std::string foo_bar() [1>
+{
+    return "foo-bar"; [2>
+}
+
+
+
+
+
+
+
+

+

+

+

+

+

+
+
+
[1>
+
+

The Mythical FooBar. See Foobar + for details

+
+
[2>
+
+

return 'em, foo-bar man!

+
+
+
+

+

+

+

+
+
+
+
+
+

+ + Larger + example +

+
+
+
+

+ Now let's include a larger example, this may span several pages and should + not be chopped off half way through... some FO processors get this wrong! +

+
+
+
+
+
+
+
+ +
+
+namespace boost{
+
+template <class BidirectionalIterator>
+class sub_match;
+
+typedef sub_match<const char*>                    csub_match;
+typedef sub_match<const wchar_t*>                 wcsub_match;
+typedef sub_match<std::string::const_iterator>    ssub_match;
+typedef sub_match<std::wstring::const_iterator>   wssub_match;
+
+template <class BidirectionalIterator>
+class sub_match : public std::pair<BidirectionalIterator, BidirectionalIterator>
+{
+public:
+   typedef typename iterator_traits<BidirectionalIterator>::value_type value_type;
+   typedef typename iterator_traits<BidirectionalIterator>::difference_type   difference_type;
+   typedef          BidirectionalIterator                                    iterator;
+
+   bool  matched;
+
+   difference_type length()const;
+   operator basic_string<value_type>()const;
+   basic_string<value_type> str()const;
+
+   int compare(const sub_match& s)const;
+   int compare(const basic_string<value_type>& s)const;
+   int compare(const value_type* s)const;
+#ifdef BOOST_REGEX_MATCH_EXTRA
+   typedef implementation-private capture_sequence_type;
+   const capture_sequence_type& captures()const;
+#endif
+};
+//
+// comparisons to another sub_match:
+//
+template <class BidirectionalIterator>
+bool operator == (const sub_match<BidirectionalIterator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator>
+bool operator != (const sub_match<BidirectionalIterator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator>
+bool operator < (const sub_match<BidirectionalIterator>& lhs,
+               const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator>
+bool operator <= (const sub_match<BidirectionalIterator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator>
+bool operator >= (const sub_match<BidirectionalIterator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator>
+bool operator > (const sub_match<BidirectionalIterator>& lhs,
+               const sub_match<BidirectionalIterator>& rhs);
+
+
+//
+// comparisons to a basic_string:
+//
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator == (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
+                                          traits, 
+                                          Allocator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator != (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
+                                          traits, 
+                                          Allocator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator < (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
+                                          traits, 
+                                          Allocator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator > (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
+                                          traits, 
+                                          Allocator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator >= (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
+                                          traits, 
+                                          Allocator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator <= (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
+                                          traits, 
+                                          Allocator>& lhs,
+                  const sub_match<BidirectionalIterator>& rhs);
+
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator == (const sub_match<BidirectionalIterator>& lhs,
+                  const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, 
+                                          traits, 
+                                          Allocator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator != (const sub_match<BidirectionalIterator>& lhs,
+                  const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, 
+                                          traits, 
+                                          Allocator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator < (const sub_match<BidirectionalIterator>& lhs,
+               const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, 
+                                       traits, 
+                                       Allocator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator > (const sub_match<BidirectionalIterator>& lhs,
+               const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, 
+                                       traits, 
+                                       Allocator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator >= (const sub_match<BidirectionalIterator>& lhs,
+                  const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, 
+                                       traits, 
+                                       Allocator>& rhs);
+template <class BidirectionalIterator, class traits, class Allocator> 
+bool operator <= (const sub_match<BidirectionalIterator>& lhs,
+                  const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, 
+                                          traits, 
+                                          Allocator>& rhs);
+
+//
+// comparisons to a pointer to a character array:
+//
+template <class BidirectionalIterator> 
+bool operator == (typename iterator_traits<BidirectionalIterator>::value_type const* lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator != (typename iterator_traits<BidirectionalIterator>::value_type const* lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator < (typename iterator_traits<BidirectionalIterator>::value_type const* lhs,
+               const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator > (typename iterator_traits<BidirectionalIterator>::value_type const* lhs,
+               const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator >= (typename iterator_traits<BidirectionalIterator>::value_type const* lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator <= (typename iterator_traits<BidirectionalIterator>::value_type const* lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+
+template <class BidirectionalIterator> 
+bool operator == (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const* rhs); 
+template <class BidirectionalIterator> 
+bool operator != (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const* rhs); 
+template <class BidirectionalIterator> 
+bool operator < ]##(const sub_match<BidirectionalIterator>& lhs,
+               typename iterator_traits<BidirectionalIterator>::value_type const* rhs); 
+template <class BidirectionalIterator> 
+bool operator > (const sub_match<BidirectionalIterator>& lhs,
+               typename iterator_traits<BidirectionalIterator>::value_type const* rhs); 
+template <class BidirectionalIterator> 
+bool operator >= (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const* rhs); 
+template <class BidirectionalIterator> 
+bool operator <= (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const* rhs); 
+
+//
+// comparisons to a single character:
+//
+template <class BidirectionalIterator> 
+bool operator == (typename iterator_traits<BidirectionalIterator>::value_type const& lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator != (typename iterator_traits<BidirectionalIterator>::value_type const& lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator < (typename iterator_traits<BidirectionalIterator>::value_type const& lhs,
+               const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator > (typename iterator_traits<BidirectionalIterator>::value_type const& lhs,
+               const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator >= (typename iterator_traits<BidirectionalIterator>::value_type const& lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+template <class BidirectionalIterator> 
+bool operator <= (typename iterator_traits<BidirectionalIterator>::value_type const& lhs,
+                  const sub_match<BidirectionalIterator>& rhs); 
+
+template <class BidirectionalIterator> 
+bool operator == (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const& rhs); 
+template <class BidirectionalIterator> 
+bool operator != (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const& rhs); 
+template <class BidirectionalIterator> 
+bool operator < (const sub_match<BidirectionalIterator>& lhs,
+               typename iterator_traits<BidirectionalIterator>::value_type const& rhs); 
+template <class BidirectionalIterator> 
+bool operator > (const sub_match<BidirectionalIterator>& lhs,
+               typename iterator_traits<BidirectionalIterator>::value_type const& rhs); 
+template <class BidirectionalIterator> 
+bool operator >= (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const& rhs); 
+template <class BidirectionalIterator> 
+bool operator <= (const sub_match<BidirectionalIterator>& lhs,
+                  typename iterator_traits<BidirectionalIterator>::value_type const& rhs); 
+// 
+// addition operators: 
+//
+template <class BidirectionalIterator, class traits, class Allocator> 
+std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type, traits, Allocator> 
+   operator + (const std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type,
+                                       traits, 
+                                       Allocator>& s, 
+               const sub_match<BidirectionalIterator>& m); 
+template <class BidirectionalIterator, class traits, class Allocator> 
+std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type, traits, Allocator>
+   operator + (const sub_match<BidirectionalIterator>& m,
+               const std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type, 
+                                       traits, 
+                                       Allocator>& s); 
+template <class BidirectionalIterator> 
+std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> 
+   operator + (typename iterator_traits<BidirectionalIterator>::value_type const* s,
+               const sub_match<BidirectionalIterator>& m); 
+template <class BidirectionalIterator> 
+std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> 
+   operator + (const sub_match<BidirectionalIterator>& m,
+               typename iterator_traits<BidirectionalIterator>::value_type const * s);
+template <class BidirectionalIterator> 
+std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> 
+   operator + (typename iterator_traits<BidirectionalIterator>::value_type const& s,
+               const sub_match<BidirectionalIterator>& m); 
+template <class BidirectionalIterator> 
+std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> 
+   operator + (const sub_match<BidirectionalIterator>& m,
+               typename iterator_traits<BidirectionalIterator>::value_type const& s); 
+template <class BidirectionalIterator> 
+std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> 
+   operator + (const sub_match<BidirectionalIterator>& m1,
+               const sub_match<BidirectionalIterator>& m2);
+
+//
+// stream inserter:
+//
+template <class charT, class traits, class BidirectionalIterator>
+basic_ostream<charT, traits>&
+   operator << (basic_ostream<charT, traits>& os,
+               const sub_match<BidirectionalIterator>& m);
+
+} // namespace boost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/document_to_test_formatting/images.html b/doc/doc_test/doc/html/document_to_test_formatting/images.html new file mode 100644 index 00000000..1f4666ee --- /dev/null +++ b/doc/doc_test/doc/html/document_to_test_formatting/images.html @@ -0,0 +1,165 @@ + + + + + Images + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+ + Images +

+
+
+
+

+ These are tricky enough that they warrent their own section. +

+

+ Let's start with a PNG file that's set to 120dpi, it should render at a sensible + size in both html and PDF forms. It should print OK too! +

+

+ digamma3 +

+

+ Now try again with a sample SVG image: +

+

+ +

+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/document_to_test_formatting/introduction.html b/doc/doc_test/doc/html/document_to_test_formatting/introduction.html new file mode 100644 index 00000000..1c73f2e2 --- /dev/null +++ b/doc/doc_test/doc/html/document_to_test_formatting/introduction.html @@ -0,0 +1,190 @@ + + + + + Introduction + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+ + Introduction +

+
+
+
+

+ This document is purely a test case to test out HTML and PDF generation and + style. +

+

+ This is some body text. +

+
+
+
+
+
+
+
+ +
+
+int main()
+{
+    double d = 2.345;
+    return d;
+}
+
+
+
+
+
+
+
+

+ We can count in Greek too: α, β, γ. +

+

+ Try some superscrips and subscripts: x2, xi3, α2, βα, ⌊x⌋, ⌊α⌋, ⌈a⌉. +

+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/document_to_test_formatting/lists_and_tables.html b/doc/doc_test/doc/html/document_to_test_formatting/lists_and_tables.html new file mode 100644 index 00000000..6df0b78d --- /dev/null +++ b/doc/doc_test/doc/html/document_to_test_formatting/lists_and_tables.html @@ -0,0 +1,591 @@ + + + + + Lists and Tables + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+ + Lists and + Tables +

+
+
+
+
+
+
+
+
+
+
+
+ + Lists + +
+
+ + Variable + Lists + +
+
+ + Tables + +
+
+
+
+
+
+
+
+
+
+
+
+

+ + Lists +

+
+
+
+

+ A numbered list: +

+
+
    +
  1. + One +
  2. +
  3. + Two +
  4. +
  5. + Three +
    1. + Three.a +
    2. + Three.b +
    3. + Three.c +
  6. +
  7. + Four +
    1. + Four.a +
      1. + Four.a.i +
      2. + Four.a.ii +
  8. +
  9. + Five +
  10. +
+
+

+ An unordered list: +

+
+
    +
  • + First +
  • +
  • + Second +
  • +
  • + Third +
  • +
+
+

+ A mixture of the two: +

+
+
    +
  1. + 1 +
    • + 1.a +
      1. + 1.a.1 +
      2. + 1.a.2 +
    • + 1.b +
  2. +
  3. + 2 +
    • + 2.a +
    • + 2.b +
      1. + 2.b.1 +
      2. + 2.b.2 +
        • + 2.b.2.a +
        • + 2.b.2.b +
  4. +
+
+
+
+
+
+
+

+ + Variable + Lists +

+
+
+
+
+

+ A Variable List +

+
+
+ term 1 +
+
+ The definition of term 1 +
+
+ term 2 +
+
+ The definition of term 2 +
+
+ term 3 +
+
+ The definition of term 3 +
+
+
+
+
+
+
+
+

+ + Tables +

+
+
+
+

+ Here's a big table with code and other tricky things: +

+
+ +

+ Table 1. Notes on the Implementation of the Beta Distribution +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Function +

+
+

+ Implementation Notes +

+
+

+ pdf +

+
+

+ f(x;α,β) = xα - 1 (1 - x)β -1 / B(α, β) +

+

+ Implemented using ibeta_derivative(a, b, x). +

+
+

+ cdf +

+
+

+ Using the incomplete beta function ibeta(a, b, x) +

+
+

+ cdf complement +

+
+

+ ibetac(a, b, x) +

+
+

+ quantile +

+
+

+ Using the inverse incomplete beta function ibeta_inv(a, b, p) +

+
+

+ quantile from the complement +

+
+

+ ibetac_inv(a, b, q) +

+
+

+ mean +

+
+

+ a/(a+b) +

+
+

+ variance +

+
+

+ a * + b / + (a+b)^2 * (a + b + 1) +

+
+

+ mode +

+
+

+ (a-1) + / (a + b + 2) +

+
+

+ skewness +

+
+

+ 2 (b-a) sqrt(a+b+1)/(a+b+2) * + sqrt(a * b) +

+
+

+ kurtosis excess +

+
+

+ beta_dist_kurtosis +

+
+

+ kurtosis +

+
+

+ kurtosis + + 3 +

+
+

+ parameter estimation +

+
+

+

+
+

+ alpha +

+

+ from mean and variance +

+
+

+ mean * + (( (mean * + (1 + - mean)) / variance)- + 1) +

+
+

+ beta +

+

+ from mean and variance +

+
+

+ (1 + - mean) * (((mean + * (1 - mean)) + /variance)-1) +

+
+

+ The member functions estimate_alpha + and estimate_beta +

+

+ from cdf and probability x and either + alpha or beta +

+
+

+ Implemented in terms of the inverse incomplete beta functions ibeta_inva, + and ibeta_invb respectively. +

+
+

+ estimate_alpha +

+
+

+ ibeta_inva(beta, x, probability) +

+
+

+ estimate_beta +

+
+

+ ibeta_invb(alpha, + x, + probability) +

+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/document_to_test_formatting/test.html b/doc/doc_test/doc/html/document_to_test_formatting/test.html new file mode 100644 index 00000000..cf529301 --- /dev/null +++ b/doc/doc_test/doc/html/document_to_test_formatting/test.html @@ -0,0 +1,202 @@ + + + + + test HTML4 symbols + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+

+ ƒ, Α, Β, Γ, Δ, Ε, Ζ, Η, Θ, Ι, Κ, Λ, Μ, Ν, Ξ, Ο, Π, Ρ, Σ, Τ, Υ, Φ, Χ, Ψ, Ω, α, β, γ, δ, ε, ζ, η, θ, ι, κ, λ, μ, + ν, ξ, ο, π, ρ, ς, σ, τ, υ, φ, χ, ψ, ω, ϑ, ϒ, ϖ, •, …, ′, ″, ‾, ⁄, ℘, ℑ, ℜ, ™, ℵ, ←, ↑, →, ↓, ↔, ↵, ⇐, ⇑, ⇒, ⇓, + ⇔, ∀, ∂, ∃, ∅, ∇, ∈, ∉, ∋, ∏, ∑, −, ∗, √, ∝, ∞, ∠, ∧, ∨, ∩, ∪, ∫, ∴, ∼, ≅, ≈, ≠, ≡, ≤, ≥, ⊂, ⊃, ⊄, ⊆, ⊇, ⊕, ⊗, + ⊥, ⋅, ⌈, ⌉, ⌊, ⌋, 〈, 〉, ◊, ♠, ♣, ♥, ♦ +

+
+
+
+
+ +
+
+

+  , ¡, ¢, £, ¤, ¥, ¦, §, ¨, ©, ª, «, ¬, ­, ®, ¯, °, ±, ², ³, ´, µ, ¶, ·, ¸, ¹, º, », ¼, ½, ¾, ¿, À, Á, Â, Ã, Ä, + Å, Æ, Ç, È, É, Ê, Ë, Ì, Í, Î, Ï, Ð, Ñ, Ò, Ó, Ô, Õ, Ö, ×, Ø, Ù, Ú, Û, Ü, Ý, Þ, ß, à, á, â, ã, ä, å, æ, ç, è, é, + ê, ë, ì, í, î, ï, ð, ñ, ò, ó, ô, õ, ö, ÷, ø, ù, ú, û, ü, ý, þ, ÿ, +

+
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/images/beta_dist_kurtosis.png b/doc/doc_test/doc/html/images/beta_dist_kurtosis.png new file mode 100644 index 00000000..1be258bf Binary files /dev/null and b/doc/doc_test/doc/html/images/beta_dist_kurtosis.png differ diff --git a/doc/doc_test/doc/html/images/digamma3.png b/doc/doc_test/doc/html/images/digamma3.png new file mode 100644 index 00000000..bf4b81f6 Binary files /dev/null and b/doc/doc_test/doc/html/images/digamma3.png differ diff --git a/doc/doc_test/doc/html/images/doctest.png b/doc/doc_test/doc/html/images/doctest.png new file mode 100755 index 00000000..6d58193b Binary files /dev/null and b/doc/doc_test/doc/html/images/doctest.png differ diff --git a/doc/doc_test/doc/html/images/open_clipart_library_logo.svg b/doc/doc_test/doc/html/images/open_clipart_library_logo.svg new file mode 100644 index 00000000..9a4521f3 --- /dev/null +++ b/doc/doc_test/doc/html/images/open_clipart_library_logo.svg @@ -0,0 +1,143 @@ + + + + + + + + image/svg+xml + + Open Clip Art Logo + 10-01-2004 + + + Andreas Nilsson + + + + + + Jon Phillips, Tobias Jakobs + + + This is one version of the official Open Clip Art Library logo. + logo, open clip art library logo, logotype + + + + + + + + + + + + + + + + + + + diff --git a/doc/doc_test/doc/html/index.html b/doc/doc_test/doc/html/index.html new file mode 100644 index 00000000..ea4d45f4 --- /dev/null +++ b/doc/doc_test/doc/html/index.html @@ -0,0 +1,325 @@ + + + + + Document To Test Formatting + + + + + + + +
+
+
+ + +
+ +
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+

Document To Test Formatting

+
+
+
+
+

John Maddock

+
+
+

Joel de Guzman

+
+
+

Eric Niebler

+
+
+

Matias Capeletto

+
+
+
+
+ +
+
+
+ +

+ Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +

+
+
+
+
+
+
+
+
+
+
+
+

+ Table of Contents +

+
+
+ + Introduction + +
+
+ + Code Blocks + +
+
+
+
+ + Embedded + code + +
+
+ + Imported + code and callouts + +
+
+ + Larger + example + +
+
+
+
+ + Basic Formatting + +
+
+
+
+ + Font + Styles + +
+
+ + Replaceable + Text + +
+
+ + Quotations + +
+
+ + Inline + Code + +
+
+ + Links + +
+
+ + Footnotes + +
+
+ + Blockquote + +
+
+ + Headings + +
+
+
+
+ + Blurbs + +
+
+
+
+ + Preformatted + text + +
+
+ + Admonishments + +
+
+ + Blurbs + +
+
+
+
+ + Lists and + Tables + +
+
+
+
+ + Lists + +
+
+ + Variable + Lists + +
+
+ + Tables + +
+
+
+
+ + Images + +
+
+ + test HTML4 symbols + +
+
+
+
+ + test + Greek and Math symbols + +
+
+ + test + Latin1 symbols + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ + + diff --git a/doc/doc_test/doc/html/sections.xml b/doc/doc_test/doc/html/sections.xml new file mode 100644 index 00000000..244f85cf --- /dev/null +++ b/doc/doc_test/doc/html/sections.xml @@ -0,0 +1,63 @@ + + + + + + + + + +<link tag="Introduction" href="document_to_test_formatting/introduction.html" /> + +<link tag="Code Blocks" href="document_to_test_formatting/code_blocks.html" > + +<link tag="Embedded code" href="document_to_test_formatting/code_blocks.html#document_to_test_formatting.code_blocks.embedded_code" /> +<link tag="Imported code and callouts" href="document_to_test_formatting/code_blocks.html#document_to_test_formatting.code_blocks.imported_code_and_callouts" /> +<link tag="Larger example" href="document_to_test_formatting/code_blocks.html#document_to_test_formatting.code_blocks.larger_example" /> + +</link> + +<link tag="Basic Formatting" href="document_to_test_formatting/basic_formatting.html"> + +<link tag="Font Styles" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.font_styles" /> +<link tag="Replaceable Text" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.replaceable_text" /> +<link tag="Quotations" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.quotations" /> +<link tag="Inline Code" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.inline_code" /> +<link tag="Links" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.links" /> +<link tag="Footnotes" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.footnotes" /> +<link tag="Blockquote" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.blockquote" /> +<link tag="Headings" href="document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.headings" /> + +</link> + +<link tag="Blurbs" href="document_to_test_formatting/blurbs.html"> + +<link tag="Preformatted text" href="document_to_test_formatting/blurbs.html#document_to_test_formatting.blurbs.preformatted_text" /> +<link tag="Admonishments" href="document_to_test_formatting/blurbs.html#document_to_test_formatting.blurbs.admonishments" /> +<link tag="Blurbs" href="document_to_test_formatting/blurbs.html#document_to_test_formatting.blurbs.blurbs" /> + +</link> + +<link tag="Lists and Tables" href="document_to_test_formatting/lists_and_tables.html"> + +<link tag="Lists" href="document_to_test_formatting/lists_and_tables.html#document_to_test_formatting.lists_and_tables.lists" /> +<link tag="Variable Lists" href="document_to_test_formatting/lists_and_tables.html#document_to_test_formatting.lists_and_tables.variable_lists" /> +<link tag="Tables" href="document_to_test_formatting/lists_and_tables.html#document_to_test_formatting.lists_and_tables.tables" /> + +</link> + +<link tag="Images" href="document_to_test_formatting/images.html" /> + +<link tag="test HTML4 symbols" href="document_to_test_formatting/test.html" /> + +</nestedLinks> diff --git a/doc/doc_test/doc/project-root.jam b/doc/doc_test/doc/project-root.jam new file mode 100644 index 00000000..8519828e --- /dev/null +++ b/doc/doc_test/doc/project-root.jam @@ -0,0 +1,60 @@ +# +# Copyright (c) 2006 João Abecasis +# +# Distributed under the Boost Software License, Version 1.0. (See +# accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) +# + +## +## IMPORTANT NOTE: This file MUST NOT be copied over a boost installation +## + +path-constant top : . ; + +import modules ; +import path ; + +local boost-root = [ modules.peek : BOOST_ROOT ] ; +local math-header-include = $(top)/../.. ; + +if ! $(boost-root) +{ + local boost-search-dirs = [ modules.peek : BOOST_BUILD_PATH ] ; + + for local dir in $(boost-search-dirs) + { + if [ path.glob $(dir)/../../../ : boost/version.hpp ] + { + boost-root += $(dir)/../../../ ; + } + } + + if $(boost-root) + { + boost-root = [ path.make $(boost-root[1]) ] ; + } + else + { + ECHO "Warning: couldn't find BOOST_ROOT in" $(boost-root) ; + } +} + +use-project /boost/regex : $(boost-root)/libs/regex/build ; +use-project /boost/unit_test : $(boost-root)/libs/test/build ; + +project math-toolkit + : requirements + <include>$(boost-root) + <include>$(math-header-include) + : # build everything in ./bin.v2 + build-dir bin.v2 + ; + + + + + + + + diff --git a/doc/doc_test/doc/stub.cpp b/doc/doc_test/doc/stub.cpp new file mode 100644 index 00000000..48e76d08 --- /dev/null +++ b/doc/doc_test/doc/stub.cpp @@ -0,0 +1,69 @@ +/*============================================================================= + Copyright (c) 2006 Joel de Guzman + http://spirit.sourceforge.net/ + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +=============================================================================*/ +#include <string> + +//[ bar +//` This is the [*/bar/] function +std::string bar() +{ + // return 'em, bar man! + return "bar"; +} +//] + +//[ foo +/*` This is the [*['foo]] function. */ +std::string foo() +{ + // return 'em, foo man! + return "foo"; +} +//] + +//[ foo_bar +std::string foo_bar() /*< The /Mythical/ FooBar. + See [@http://en.wikipedia.org/wiki/Foobar Foobar for details] >*/ +{ + return "foo-bar"; /*< return 'em, foo-bar man! >*/ +} +//] + +//[ class_ +class x +{ +public: + + /*<< Constructor >>*/ + x() : n(0) + { + } + + /*<< Destructor >>*/ + ~x() + { + } + + /*<< Get the `n` member variable >>*/ + int get() const + { + return n; /*<- this will be ignored by quickbook ->*/ + } + + /*<< Set the `n` member variable >>*/ + void set(int n_) + { + n = n_; + } +//<- this will be ignored by quickbook +private: + + int n; +//-> +}; +//] diff --git a/doc/doc_test/doc/test.qbk b/doc/doc_test/doc/test.qbk new file mode 100644 index 00000000..5a89df28 --- /dev/null +++ b/doc/doc_test/doc/test.qbk @@ -0,0 +1,591 @@ +[article Document To Test Formatting + [quickbook 1.4] + [copyright 2007 John Maddock, Joel de Guzman, Eric Niebler and Matias Capeletto] + [purpose Test Formatting Document] + [license + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + [@http://www.boost.org/LICENSE_1_0.txt]) + ] + [authors [Maddock, John], [de Guzman, Joel], [Niebler, Eric], [Capeletto, Matias] ] + [category math] + [/last-revision $Date: 2007-05-07 10:21:52 +0100 (Mon, 07 May 2007) $] +] + +[include HTML4_symbols.qbk] + +[/ Some composite templates] +[template super[x]'''<superscript>'''[x]'''</superscript>'''] +[template sub[x]'''<subscript>'''[x]'''</subscript>'''] +[template floor[x]'''⌊'''[x]'''⌋'''] +[template floorlr[x][lfloor][x][rfloor]] +[template ceil[x] '''⌈'''[x]'''⌉'''] + +[section Introduction] + +This document is purely a test case to test out HTML and PDF generation and style. + +This is some body text. + + int main() + { + double d = 2.345; + return d; + } + +We can count in Greek too: [alpha], [beta], [gamma]. + +Try some superscrips and subscripts: x[super 2], x[sub i][super 3], [alpha][super 2], +[beta][super [alpha]], [floor x], [floor [alpha]], [ceil a]. + +[endsect] + +[section Code Blocks] + +[section Embedded code] + +These should be syntax highlighted: + + #include <iostream> + + int main() + { + // Sample code + std::cout << "Hello, World\n"; + return 0; + } + +[endsect] + +[section Imported code and callouts] + +[import stub.cpp] + +Here's some code with left-placed callouts: + +[class_] + +And again with callouts placed exactly where we put them: + +[foo_bar] + +[endsect] + +[section Larger example] + +Now let's include a larger example, this may span several pages +and should not be chopped off half way through... some FO processors +get this wrong! + + namespace boost{ + + template <class BidirectionalIterator> + class sub_match; + + typedef sub_match<const char*> csub_match; + typedef sub_match<const wchar_t*> wcsub_match; + typedef sub_match<std::string::const_iterator> ssub_match; + typedef sub_match<std::wstring::const_iterator> wssub_match; + + template <class BidirectionalIterator> + class sub_match : public std::pair<BidirectionalIterator, BidirectionalIterator> + { + public: + typedef typename iterator_traits<BidirectionalIterator>::value_type value_type; + typedef typename iterator_traits<BidirectionalIterator>::difference_type difference_type; + typedef BidirectionalIterator iterator; + + bool matched; + + difference_type length()const; + operator basic_string<value_type>()const; + basic_string<value_type> str()const; + + int compare(const sub_match& s)const; + int compare(const basic_string<value_type>& s)const; + int compare(const value_type* s)const; + #ifdef BOOST_REGEX_MATCH_EXTRA + typedef implementation-private capture_sequence_type; + const capture_sequence_type& captures()const; + #endif + }; + // + // comparisons to another sub_match: + // + template <class BidirectionalIterator> + bool operator == (const sub_match<BidirectionalIterator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator != (const sub_match<BidirectionalIterator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator < (const sub_match<BidirectionalIterator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator <= (const sub_match<BidirectionalIterator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator >= (const sub_match<BidirectionalIterator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator > (const sub_match<BidirectionalIterator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + + + // + // comparisons to a basic_string: + // + template <class BidirectionalIterator, class traits, class Allocator> + bool operator == (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator != (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator < (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator > (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator >= (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator <= (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& lhs, + const sub_match<BidirectionalIterator>& rhs); + + template <class BidirectionalIterator, class traits, class Allocator> + bool operator == (const sub_match<BidirectionalIterator>& lhs, + const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator != (const sub_match<BidirectionalIterator>& lhs, + const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator < (const sub_match<BidirectionalIterator>& lhs, + const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator > (const sub_match<BidirectionalIterator>& lhs, + const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator >= (const sub_match<BidirectionalIterator>& lhs, + const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& rhs); + template <class BidirectionalIterator, class traits, class Allocator> + bool operator <= (const sub_match<BidirectionalIterator>& lhs, + const std::basic_string<iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& rhs); + + // + // comparisons to a pointer to a character array: + // + template <class BidirectionalIterator> + bool operator == (typename iterator_traits<BidirectionalIterator>::value_type const* lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator != (typename iterator_traits<BidirectionalIterator>::value_type const* lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator < (typename iterator_traits<BidirectionalIterator>::value_type const* lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator > (typename iterator_traits<BidirectionalIterator>::value_type const* lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator >= (typename iterator_traits<BidirectionalIterator>::value_type const* lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator <= (typename iterator_traits<BidirectionalIterator>::value_type const* lhs, + const sub_match<BidirectionalIterator>& rhs); + + template <class BidirectionalIterator> + bool operator == (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const* rhs); + template <class BidirectionalIterator> + bool operator != (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const* rhs); + template <class BidirectionalIterator> + bool operator < ]``(const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const* rhs); + template <class BidirectionalIterator> + bool operator > (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const* rhs); + template <class BidirectionalIterator> + bool operator >= (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const* rhs); + template <class BidirectionalIterator> + bool operator <= (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const* rhs); + + // + // comparisons to a single character: + // + template <class BidirectionalIterator> + bool operator == (typename iterator_traits<BidirectionalIterator>::value_type const& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator != (typename iterator_traits<BidirectionalIterator>::value_type const& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator < (typename iterator_traits<BidirectionalIterator>::value_type const& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator > (typename iterator_traits<BidirectionalIterator>::value_type const& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator >= (typename iterator_traits<BidirectionalIterator>::value_type const& lhs, + const sub_match<BidirectionalIterator>& rhs); + template <class BidirectionalIterator> + bool operator <= (typename iterator_traits<BidirectionalIterator>::value_type const& lhs, + const sub_match<BidirectionalIterator>& rhs); + + template <class BidirectionalIterator> + bool operator == (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const& rhs); + template <class BidirectionalIterator> + bool operator != (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const& rhs); + template <class BidirectionalIterator> + bool operator < (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const& rhs); + template <class BidirectionalIterator> + bool operator > (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const& rhs); + template <class BidirectionalIterator> + bool operator >= (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const& rhs); + template <class BidirectionalIterator> + bool operator <= (const sub_match<BidirectionalIterator>& lhs, + typename iterator_traits<BidirectionalIterator>::value_type const& rhs); + // + // addition operators: + // + template <class BidirectionalIterator, class traits, class Allocator> + std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type, traits, Allocator> + operator + (const std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& s, + const sub_match<BidirectionalIterator>& m); + template <class BidirectionalIterator, class traits, class Allocator> + std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type, traits, Allocator> + operator + (const sub_match<BidirectionalIterator>& m, + const std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type, + traits, + Allocator>& s); + template <class BidirectionalIterator> + std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> + operator + (typename iterator_traits<BidirectionalIterator>::value_type const* s, + const sub_match<BidirectionalIterator>& m); + template <class BidirectionalIterator> + std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> + operator + (const sub_match<BidirectionalIterator>& m, + typename iterator_traits<BidirectionalIterator>::value_type const * s); + template <class BidirectionalIterator> + std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> + operator + (typename iterator_traits<BidirectionalIterator>::value_type const& s, + const sub_match<BidirectionalIterator>& m); + template <class BidirectionalIterator> + std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> + operator + (const sub_match<BidirectionalIterator>& m, + typename iterator_traits<BidirectionalIterator>::value_type const& s); + template <class BidirectionalIterator> + std::basic_string<typename iterator_traits<BidirectionalIterator>::value_type> + operator + (const sub_match<BidirectionalIterator>& m1, + const sub_match<BidirectionalIterator>& m2); + + // + // stream inserter: + // + template <class charT, class traits, class BidirectionalIterator> + basic_ostream<charT, traits>& + operator << (basic_ostream<charT, traits>& os, + const sub_match<BidirectionalIterator>& m); + + } // namespace boost + +[endsect] + +[endsect] + +[section Basic Formatting] + +[section Font Styles] + +Here we go with some inline formatting: +['italic], [*bold], [_underline], [^teletype], [-strikethrough], +we can combine styles as well: ['[*bold italic]], [_[^teletype with underline]]. + +[endsect] + +[section Replaceable Text] + +Text that is intended to be user-replaceable is [~rendered like this]. + +[endsect] + +[section Quotations] + +Here we go: ["A question that sometimes drives me hazy: am I or are the others crazy?]--Einstein + +Note the proper left and right quote marks. Also, while you can simply use ordinary quote marks like "quoted", our quotation, above, will generate correct DocBook quotations (e.g. <quote>quoted</quote>). + +Like all phrase elements, quotations may be nested. Example: + +["Here's the rule for bargains: ["Do other men, for they would do you.] That's +the true business precept.] + +[endsect] + +[section Inline Code] + +This text has inlined code `int main() { return 0; }` in it. +The code should be syntax highlighted. + +[endsect] + +[section Links] + +Try this: [@http://www.boost.org this is [*boost's] website....] it should +be visible as a link. + +[endsect] + +[section Footnotes] + +Here's one [footnote A sample footnote]. + +And here's another [footnote Another sample footnote]. + +[endsect] + +[section Blockquote] + +Lets indent the next paragraph: + +[:Here we go!!!] + +[endsect] + +[section Headings] + +Now try rendering some heading styles: + +[h1 Heading 1] + +[h2 Heading 2] + +[h3 Heading 3] + +[h4 Heading 4] + +[h5 Heading 5] + +[h6 Heading 6] + +[endsect] + +[endsect] + +[section Blurbs] + +[section Preformatted text] + +Here's some sample program output: + +[pre +'''F test for equal standard deviations +____________________________________ + +Sample 1: +Number of Observations = 240 +Sample Standard Deviation = 65.549 + +Sample 2: +Number of Observations = 240 +Sample Standard Deviation = 61.854 + +Test Statistic = 1.123 + +CDF of test statistic: = 8.148e-001 +Upper Critical Value at alpha: = 1.238e+000 +Upper Critical Value at alpha/2: = 1.289e+000 +Lower Critical Value at alpha: = 8.080e-001 +Lower Critical Value at alpha/2: = 7.756e-001 + +Results for Alternative Hypothesis and alpha = 0.0500 + +Alternative Hypothesis Conclusion +Standard deviations are unequal (two sided test) REJECTED +Standard deviation 1 is less than standard deviation 2 REJECTED +Standard deviation 1 is greater than standard deviation 2 REJECTED''' +] + +[endsect] + +[section Admonishments] + +There are four admonishments supported by Docbook XML: + +[note This is a note] + +[tip This is a tip] + +[important This is important] + +[caution This is a caution] + +[warning This is a warning + +They can contain more than one paragraph. +] + +[endsect] + +[section Blurbs] + +[blurb [*An eye catching advertisement or note...] + +These should be rendered in a manner similar to admonishments. + +They can contain more than one paragraph. +] + +[endsect] + +[endsect] + +[section Lists and Tables] + +[section Lists] + +A numbered list: + +# One +# Two +# Three + # Three.a + # Three.b + # Three.c +# Four + # Four.a + # Four.a.i + # Four.a.ii +# Five + +An unordered list: + +* First +* Second +* Third + +A mixture of the two: + +# 1 + * 1.a + # 1.a.1 + # 1.a.2 + * 1.b +# 2 + * 2.a + * 2.b + # 2.b.1 + # 2.b.2 + * 2.b.2.a + * 2.b.2.b + + +[endsect] + +[section Variable Lists] + +[variablelist A Variable List + [[term 1] [The definition of term 1]] + [[term 2] [The definition of term 2]] + [[term 3] [The definition of term 3]] +] + +[endsect] + +[section Tables] + +Here's a big table with code and other tricky things: + +[table Notes on the Implementation of the Beta Distribution +[[Function][Implementation Notes]] +[[pdf] + [f(x;[alpha],[beta]) = x[super[alpha] - 1] (1 - x)[super[beta] -1] / B([alpha], [beta]) + + Implemented using ibeta_derivative(a, b, x).]] + +[[cdf][Using the incomplete beta function ibeta(a, b, x)]] +[[cdf complement][ibetac(a, b, x)]] +[[quantile][Using the inverse incomplete beta function ibeta_inv(a, b, p)]] +[[quantile from the complement][ibetac_inv(a, b, q)]] +[[mean][`a/(a+b)`]] +[[variance][`a * b / (a+b)^2 * (a + b + 1)`]] +[[mode][`(a-1) / (a + b + 2)`]] +[[skewness][`2 (b-a) sqrt(a+b+1)/(a+b+2) * sqrt(a * b)`]] +[[kurtosis excess][ [$../beta_dist_kurtosis.png] ]] +[[kurtosis][`kurtosis + 3`]] +[[parameter estimation][ ]] +[[alpha + + from mean and variance][`mean * (( (mean * (1 - mean)) / variance)- 1)`]] +[[beta + + from mean and variance][`(1 - mean) * (((mean * (1 - mean)) /variance)-1)`]] +[[The member functions `estimate_alpha` and `estimate_beta` + + from cdf and probability x + + and *either* `alpha` or `beta`] + [Implemented in terms of the inverse incomplete beta functions + +ibeta_inva, and ibeta_invb respectively.]] +[[`estimate_alpha`][`ibeta_inva(beta, x, probability)`]] +[[`estimate_beta`][`ibeta_invb(alpha, x, probability)`]] +] + +[endsect] + +[endsect] + +[section Images] + +These are tricky enough that they warrent their own section. + +Let's start with a PNG file that's set to 120dpi, it should render at +a sensible size in both html and PDF forms. It should print OK too! + +[$images/digamma3.png] + +Now try again with a sample SVG image: + +[$images/open_clipart_library_logo.svg] + + +[endsect] + +[include test_HTML4_symbols.qbk] + diff --git a/doc/doc_test/doc/test_HTML4_symbols.qbk b/doc/doc_test/doc/test_HTML4_symbols.qbk new file mode 100644 index 00000000..9dc271ee --- /dev/null +++ b/doc/doc_test/doc/test_HTML4_symbols.qbk @@ -0,0 +1,253 @@ +[section:test test HTML4 symbols] +[/ Examples of using all the Greek and Math symbols defined in HTML4_symbols.qbk] +[/ See http://www.htmlhelp.com/reference/html40/entities/symbols.html] + +[/ Also some miscellaneous math charaters added to this list - see the end.] + +[/ To use, enclose the template name in square brackets.] + +[section test Greek and Math symbols] + +[fnof], +[Alpha], +[Beta], +[Gamma], +[Delta], +[Epsilon], +[Zeta], +[Eta], +[Theta], +[Iota], +[Kappa], +[Lambda], +[Mu], +[Nu], +[Xi], +[Omicron], +[Pi], +[Rho], +[Sigma], +[Tau], +[Upsilon], +[Phi], +[Chi], +[Psi], +[Omega], +[alpha], +[beta], +[gamma], +[delta], +[epsilon], +[zeta], +[eta], +[theta], +[iota], +[kappa], +[lambda], +[mu], +[nu], +[xi], +[omicron], +[pi], +[rho], +[sigmaf], +[sigma], +[tau], +[upsilon], +[phi], +[chi], +[psi], +[omega], +[thetasym], +[upsih], +[piv], +[bull], +[hellip], +[prime], +[Prime], +[oline], +[frasl], +[weierp], +[image], +[real], +[trade], +[alefsym], +[larr], +[uarr], +[rarr], +[darr], +[harr], +[crarr], +[lArr], +[uArr], +[rArr], +[dArr], +[hArr], +[forall], +[part], +[exist], +[empty], +[nabla], +[isin], +[notin], +[ni], +[prod], +[sum], +[minus], +[lowast], +[radic], +[prop], +[infin], +[ang], +[and], +[or], +[cap], +[cup], +[int], +[there4], +[sim], +[cong], +[asymp], +[ne], +[equiv], +[le], +[ge], +[subset], +[superset], +[nsubset], +[sube], +[supe], +[oplus], +[otimes], +[perp], +[sdot], +[lceil], +[rceil], +[lfloor], +[rfloor], +[lang], +[rang], +[loz], +[spades], +[clubs], +[hearts], +[diams] + +[endsect] + +[section test Latin1 symbols] +[/ Examples of using all the symbols defined in Latin1_symbols.qbk] +[/ http://www.htmlhelp.com/reference/html40/entities/latin1.html ] + +[/ To use, enclose the template name in square brackets.] + +[nbsp], +[iexcl], +[cent], +[pound], +[curren], +[yen], +[brvbar], +[sectsign], +[uml], +[copy], +[ordf], +[laquo], +[not], +[shy], +[reg], +[macron], +[deg], +[plusmn], +[sup2], +[cubed], +[acute], +[micro], +[para], +[middot], +[cedil], +[sup1], +[ordm], +[raquo], +[frac14], +[frac12], +[frac34], +[iquest], +[Agrave], +[Aacute], +[Acirc], +[Atilde], +[Auml], +[Aring], +[AElig], +[Ccedil], +[Egrave], +[Eacute], +[Ecirc], +[Euml], +[Igrave], +[Iacute], +[Icirc], +[Iuml], +[ETH], +[Ntilde], +[Ograve], +[Oacute], +[Ocirc], +[Otilde], +[Ouml], +[times], +[Oslash], +[Ugrave], +[Uacute], +[Ucirc], +[Uuml], +[Yacute], +[THORN], +[szlig], +[agrave], +[aacute], +[acirc], +[atilde], +[auml], +[aring], +[aelig], +[ccedil], +[egrave], +[eacute], +[ecirc], +[euml], +[igrave], +[iacute], +[icirc], +[iuml], +[eth], +[ntilde], +[ograve], +[oacute], +[ocirc], +[otilde], +[ouml], +[divide], +[oslash], +[ugrave], +[uacute], +[ucirc], +[uuml], +[yacute], +[thorn], +[yuml], + +[endsect] + + +[endsect] + +[/ testsymbols.qbk + Copyright 2006 John Maddock and Paul A. Bristow. + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt). +] + + diff --git a/doc/javascript/common.js b/doc/javascript/common.js new file mode 100644 index 00000000..cc819c6a --- /dev/null +++ b/doc/javascript/common.js @@ -0,0 +1,35 @@ +/*=========================================================================== + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +===========================================================================*/ + +/* Common Functions and configuration */ + +(function() { + +// Add the base url if it is relative + +function format_url(sUrl,sBaseUrl) +{ + return ( sUrl.substring(0,7) == 'http://' ) ? sUrl : ( sBaseUrl + sUrl ); +} + +// Add '/' to the end if necesary + +function format_base_url(sBaseUrl) +{ + return ( sBaseUrl!='' && sBaseUrl.charAt(sBaseUrl.length-1)!='/' ) ? + ( sBaseUrl + '/' ) : sBaseUrl; +} + +// Public Interface + +boostscript.common.format_url = format_url; +boostscript.common.format_base_url = format_base_url; + +boostscript.common.loaded = true; + +})(); diff --git a/doc/javascript/cookies.js b/doc/javascript/cookies.js new file mode 100644 index 00000000..8772e6f8 --- /dev/null +++ b/doc/javascript/cookies.js @@ -0,0 +1,53 @@ +/*=========================================================================== + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +===========================================================================*/ + + +(function() { + +/* Based on http://www.quirksmode.org/js/cookies.html */ + +function create_cookie( sName, sValue, nDays ) +{ + var sExpires; + if( nDays ) + { + var dDate = new Date(); + dDate.setTime( dDate.getTime() + ( nDays * 24*60*60*1000 ) ); + sExpires = "; expires=" + dDate.toGMTString(); + } + else + { + sExpires = ""; + } + document.cookie = sName + "=" + sValue + sExpires + "; path=/"; +} + +function read_cookie(sName) +{ + var sNameEq = sName + "="; + var aCookies = document.cookie.split(';'); + for(var i=0, len = aCookies.length ; i < len ; i++ ) + { + var oCookie = aCookies[i].replace(/^\s+/g, ""); + if( oCookie.indexOf(sNameEq) == 0 ) + { + return oCookie.substring( sNameEq.length, oCookie.length ); + } + } + return null; +} + +// Public Interface + +boostscript.cookies.create = create_cookie; +boostscript.cookies.read = read_cookie; + +boostscript.cookies.loaded = true; + +})(); + diff --git a/doc/javascript/load_file.js b/doc/javascript/load_file.js new file mode 100755 index 00000000..2f740ac2 --- /dev/null +++ b/doc/javascript/load_file.js @@ -0,0 +1,88 @@ +/*=========================================================================== + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +===========================================================================*/ + +(function() { + +// File Cache + +var file_cache = new Array(); + +// Load an xml file, and pass it to the callback function when it is ready + +function load_xml(sUrl, oCallback, bCached ) +{ + if( bCached ) + { + var oXml = file_cache[sUrl]; + if( oXml ) + { + oCallback(oXml); + return; + } + } + function add_to_cache( oXml ) + { + if( bCached ) + { + file_cache[sUrl] = oXml; + } + } + + + if (document.implementation && document.implementation.createDocument) + { + oXml = document.implementation.createDocument("", "", null); + oXml.onload = function() { + add_to_cache(oXml); + oCallback(oXml); + }; + oXml.load(sUrl); + + } + else if (window.ActiveXObject) + { + oXml = new ActiveXObject("Microsoft.XMLDOM"); + oXml.onreadystatechange = function () + { + if (oXml.readyState == 4) + { + add_to_cache(oXml); + oCallback(oXml); + } + }; + oXml.load(sUrl); + } + else if( window.XMLHttpRequest ) + { + var XMLHttpRequestObject = new XMLHttpRequest(); + XMLHttpRequestObject.open("GET", sUrl); + XMLHttpRequestObject.onreadystatechange = function() + { + if (XMLHttpRequestObject.readyState == 4) + { + var oXml = XMLHttpRequestObject.responseXML; + add_to_cache(oXml); + oCallback(oXml); + delete XMLHttpRequestObject; + } + } + XMLHttpRequestObject.send(null); + } + else + { + // unsupported browser + } +} + +// Public Interface + +boostscript.load_file.load_xml = load_xml; + +boostscript.load_file.loaded = true; + +})(); diff --git a/doc/javascript/main.js b/doc/javascript/main.js new file mode 100644 index 00000000..04f9fa57 --- /dev/null +++ b/doc/javascript/main.js @@ -0,0 +1,147 @@ +/*=========================================================================== + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +===========================================================================*/ + +var boostscript; + +(function() { + +function Namespace(oLibrary,nId,sFilePath,aInclude) +{ + this.id = nId; this.path = sFilePath; + this.used = false; this.loaded = false; + + this.include = aInclude ? aInclude : new Array(); + oLibrary.namespace[nId] = this; +} + +function boostscript_library() +{ + this.namespace = new Array(); + var id = 0; + +/************************************************************************/ +/* Modify this section to add new components to the library */ +/* Do not forget to add an 'add_component' call in the listing */ +/* below including the file dependencies */ +/* */ +/* */ + + this.common = new Namespace(this,id++, + 'common.js' + ); + + this.load_file = new Namespace(this,id++, + 'load_file.js' + ); + + this.cookies = new Namespace(this,id++, + 'cookies.js' + ); + + this.nested_links = new Namespace(this,id++, + 'nested_links.js', + new Array( // Requires + this.common, + this.load_file + ) + ); + + this.style_switcher = new Namespace(this,id++, + 'style_switcher.js', + new Array( // Requires + this.common, + this.cookies, + this.load_file + ) + ); + +/* */ +/* */ +/************************************************************************/ + +} + +function include_components( aUsedComponents, sUserBaseUrl ) +{ + insert_needed_includes( boostscript.namespace, aUsedComponents, + format_base_url(sUserBaseUrl) ); +} + +function insert_needed_includes( aComponents, aUsedComponents, sBaseUrl ) +{ + for(var i = 0, len = aUsedComponents.length; i < len; i++) + { + find_needed_includes( aUsedComponents[i] ); + } + dom_insertion_included_scripts( sBaseUrl ); +} + +function find_needed_includes( oComp ) +{ + if( oComp.used ) return; + oComp.used = true; + var aInclude = oComp.include; + for(var i = 0, len = aInclude.length; i < len; i++ ) + { + find_needed_includes( aInclude[i] ); + } +} + +function dom_insertion_included_scripts( sBaseUrl ) +{ + var namespace = boostscript.namespace; + var oHead = document.getElementsByTagName("head")[0]; + for(var i = 0, len = namespace.length; i < len ; i++ ) + { + if( namespace[i].used ) + { + var newScript = document.createElement('script'); + newScript.type = 'text/javascript'; + newScript.src = format_url( namespace[i].path, sBaseUrl ); + oHead.appendChild( newScript ); + } + } +} + +function format_base_url(sBaseUrl) +{ + return ( sBaseUrl != '' && sBaseUrl.charAt(sBaseUrl.length-1)!='/' ) ? + ( sBaseUrl + '/' ) : sBaseUrl; +} + +function format_url(sUrl,sBaseUrl) +{ + return ( sUrl.substring(0,7) == 'http://' ) ? sUrl : ( sBaseUrl + sUrl ); +} + +function async_call( oNamespace, oFunc ) +{ + if( ! oNamespace.loaded ) + { + setTimeout( function() { async_call( oNamespace, oFunc ); }, 200 ); + } + else + { + oFunc(); + } +} + +boostscript = new boostscript_library(); +boostscript.init = include_components; +boostscript.async_call = async_call; +boostscript.call = function(n,f,p1,p2,p3,p4,p5) +{ + async_call( n, + function() + { + n[f](p1,p2,p3,p4,p5); + } + ); +}; + +})(); diff --git a/doc/javascript/nested_links.js b/doc/javascript/nested_links.js new file mode 100755 index 00000000..88166d91 --- /dev/null +++ b/doc/javascript/nested_links.js @@ -0,0 +1,153 @@ +/*=========================================================================== + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +===========================================================================*/ + +/*********************** NestedLinks API ********************************** + +In your html body use it like: +---------------------------------------------------------------------------- +<!-- Include the grouped links java script api + Remember to change this line with the path of your nested_links.js --> + +<script type="text/javascript" src="nested_links.js"></script> + +<!-- Add a form with an "id" attribute --> + +<form id="boost_libs_list"> + + <!-- Call the NestedLinks "select box" with the following parameters + (1) id of the element where the select box will be inserted + (2) NestedLinks xml definition url + (3) user base url [optional] + (4) selected item [optional] --> + + <script type="text/javascript"> + + nested_links_select_box('boost_libs_list', + 'boost_libs_grouped_links.xml'); + + </script> + +</form> +--------------------------------------------------------------------------- + +Read the html docs for more information. + +**************************************************************************/ + +/* Requires: common.js */ +/* Requires: load_file.js */ + +(function() { + +// Options for drop down list + +function construct_select_option(oXmlElement,sClass, + sBaseUrl,sDefaultUrl,sSelected) +{ + var sTag = oXmlElement.getAttribute('tag' ); + var sUrl = oXmlElement.getAttribute('href'); + return '<option ' + + ((sSelected == sTag) ? 'selected ' : '') + + 'class="' + sClass + '"' + ' value="' + + ( sUrl ? boostscript.common.format_url(sUrl,sBaseUrl) : sDefaultUrl ) + + '" >' + sTag + '</option>\n'; +} + +// Populate a select block from an xml and insert the result in sId div + +function select_box(sId,sXmlUrl,sUserBaseUrl,sSelected) +{ + boostscript.load_file.load_xml(sXmlUrl, function(oEntireXml) { + + var oXml = oEntireXml.getElementsByTagName('nestedLinks')[0]; + + // manage parameters + + var sBaseUrl = sUserBaseUrl ? boostscript.common.format_base_url( sUserBaseUrl ) : './'; + + var oBaseUrlNode = oXml.getElementsByTagName('base')[0]; + if( oBaseUrlNode ) + { + sBaseUrl += boost_format_base_url( oBaseUrlNode.getAttribute('href') ); + } + + var sDefaultUrl = sBaseUrl + 'index'; + var oTitle = oXml.getElementsByTagName('title')[0]; + if( sSelected == null && oTitle != null ) + { + sSelected = oTitle.getAttribute('tag'); + var sUrl = oTitle.getAttribute('href'); + if( sUrl ) + { + sDefaultUrl = sUrl; + } + } + + // Construct the select box + + var sSelectHtml = + '<select id="'+sId+'_internal"' + + ' class="nested-links"' + + ' size="1"' + + ' OnChange="' + + 'boostscript.nested_links.internal_go_to_url' + + '(\'' + sId + '_internal\')">\n' ; + + + sSelectHtml += construct_select_option( + oTitle, 'nested-links-title', sBaseUrl, sDefaultUrl, sSelected + ); + + var aGroups = oXml.childNodes; + for(var ig = 0, glen = aGroups.length; ig < glen; ig++) + { + var oGroup = aGroups[ig]; + if( oGroup.nodeName == 'link' ) + { + sSelectHtml += construct_select_option( + oGroup, + 'nested-links-first', sBaseUrl, sDefaultUrl, sSelected + ); + + var aItems = oGroup.childNodes; + for(var ii = 0, ilen = aItems.length; ii < ilen; ii++) + { + var oItem = aItems[ii]; + if( oItem.nodeName == 'link' ) + { + sSelectHtml += construct_select_option( + oItem, + 'nested-links-second', sBaseUrl, sDefaultUrl, sSelected + ); + } + } + } + } + + document.getElementById(sId).innerHTML = sSelectHtml + '</select>\n'; + + } ); +} + +// Action function used when the user selects an option from the drop down list + +function go_to_url(sId) +{ + var oe = document.getElementById(sId); + parent.self.location = oe.options[oe.selectedIndex].value; +} + +// Public Interface + +boostscript.nested_links.internal_go_to_url = go_to_url; +boostscript.nested_links.select_box = select_box; + +boostscript.nested_links.loaded = true; + +})(); + diff --git a/doc/javascript/nested_links/css/grouped_links.css b/doc/javascript/nested_links/css/grouped_links.css new file mode 100755 index 00000000..8678818a --- /dev/null +++ b/doc/javascript/nested_links/css/grouped_links.css @@ -0,0 +1,53 @@ +/*============================================================================= + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +=============================================================================*/ + + +/****************************************************************************** + Grouped Links +******************************************************************************/ + + select.grouped_links + { + background-color: #BEDEBA; + font-weight: bold; + font-size: 12px; + color: #006D00; + border: 1px solid #DCDCDC; + border-bottom: 1px solid #9D9D9D; + border-right: 1px solid #9D9D9D; + padding-bottom: 1px; + padding-right: 1px; + } + + option.grouped_links_title + { + background-color: #BEDEBA; + font-weight: bold; + font-size: 12px; + color: #006D00; + } + + option.grouped_links_group + { + background-color: #008000; + font-weight: bold; + font-size: 12px; + color: white; + } + + option.grouped_links_item + { + background-color: #FAFFFB; + padding: 0px 0px 0px 12px; + color: #006D00; + font-weight: normal; + } + + +/*****************************************************************************/ + diff --git a/doc/javascript/nested_links/doc/jamfile.v2 b/doc/javascript/nested_links/doc/jamfile.v2 new file mode 100755 index 00000000..7bf924ce --- /dev/null +++ b/doc/javascript/nested_links/doc/jamfile.v2 @@ -0,0 +1,26 @@ +# Boost.GroupedLinks +# +# Copyright (c) 2007 Matias Capeletto +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + + +import quickbook ; + +xml grouped_links + : + grouped_links.qbk + ; + +boostbook standalone + : + grouped_links + : + <xsl:param>toc.max.depth=2 + <xsl:param>toc.section.depth=0 + <xsl:param>chunk.section.depth=0 + ; + + diff --git a/doc/javascript/nested_links/doc/nested_links.qbk b/doc/javascript/nested_links/doc/nested_links.qbk new file mode 100755 index 00000000..5277a719 --- /dev/null +++ b/doc/javascript/nested_links/doc/nested_links.qbk @@ -0,0 +1,229 @@ +[library Boost.GroupedLinks + [quickbook 1.4] + [authors [Capeletto, Matias]] + [copyright 2007 Matias Capeletto] + [category javascript] + [id grouped_links] + [dirname grouped_links] + [purpose + Construct a grouped links select box from a XML definition file + ] + [source-mode c++] + [license +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +[@http://www.boost.org/LICENSE_1_0.txt]) + ] +] + +[/ QuickBook Document version 1.4 ] + +[def __GROUPED_LINKS_IMAGE__ [$images/grouped_links.png]] + +[section Introduction] + +GroupedLinks is a simple javascript API for building links select boxes. + +Features + +* Released under Boost Software License. +* Cross-browser. +* Items are populated from a simple XML definition file. +* css based look & feel. +* Support for relative URLs. +* Integration with Boostbook. +* Only standard javascript used. + +__GROUPED_LINKS_IMAGE__ + +[endsect] + +[section Tutorial] + + +[section GroupedLinks XML definition] + +A GroupedLinks select box is populated from a ['GroupedLinks XML definition] +file. This is an important feature, because it means that the items are not +harcoded in the HTML saving us space using global definitions and allowing +us to change the definition with out touching the HTML files. + +['GroupedLinks XML definition] start with a tag named `groupedLinks`. +There are only three elements: + +[table Elements +[[Name][Purpose]] +[[`title`][ +Add a title to the GroupedLinks select box. This is useful when +you do not want to select any of the internals items. The select +box will show the title instead. +]] +[[`group`][ +Starts a group list. +]] +[[`item`][ +Links items. They must reside inside a group list. +]] +] + +All the elements have two attributes: + +* [*tag: ] Name of the element, it will be showed in the HTML. +* [*url: ] URL of the link. It can be relative or absolute. (It is optional) + +A ['GroupedLinks XML definition] will look like: + +`` +<?xml version="1.0" encoding="UTF-8" ?> + +<groupedLinks version="1.0"> + +<title tag="Title" url="group_1.html"/> + +<group tag="Group 1" url="group_1.html"> + + <item tag="Item A" url="group_1/item_A.html"/> + <item tag="Item B" url="group_1/item_A.html"/> + <item tag="Item C" url="http://www.item_C.com"/> + +</group> + +<group tag="Group 2" url="group_2.html"> + + <item tag="Item A" url="group_2/item_A.html"/> + <item tag="Item B" url="group_2/item_A.html"/> + +</group> + +<group tag="Group 3" url="group_3.html"/> + +</groupedLinks> +`` + + +[endsect] + +[section Including a GroupedLinks select box in your HTML] + +To include a ['GroupedLinks select box] in the body of your HTML you have +to create a form with an unique id and call the javascript function +`grouped_links_select_box` inside of it. + +[table grouped_links_select_box function +[[][Parameter Name][Purpose]] +[[1][GroupedLinks XML URL][ +['GroupedLinks XML definition] URL. +]] +[[2][Form id][ +id of the form where you want to place the ['GroupedLinks select box]. +]] +[[3][Base URL][ +A base URL that will be concatenated to all the relatives URLs. +]] +[[5][Selected item][ +The item that is selected by default. This parameter is optional, if +you call the function with only three parameters the tag of the title +element is used if there is one in the ['GroupedLinks XML definition]. +]] +] + +It is simple enough to be understood from an example: + +`` +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Boost.GroupedLinks Example + + + + + + + + + + + +
+ + + + + +
+`` + +[note +Remember to change the `src` of the javascript include line to point +to the URL of `grouped_links.js` in your system. Try to work with +relatives paths so the HTML can be easily moved. +] + +[endsect] + +[section Boostbook integration] + +Add the following lines to your jamfile.v2 + + grouped.links.chapters.show="'true'" + grouped.links.sections.show="'true'" + grouped.links.sections.xml="'sections.XML'" # your XML sections + +GroupedLinks select boxes for boost libraries and internal sections can be +requested to boostbook using the following options: + +[table Boostbook GroupedLinks Parameters +[[Name][Purpose]] +[[`show`][Include select box]] +[[`xml`][Path to the XML definition]] +[[`url`][Base URL to use with relative paths]] +] + +You can configure all the parameters used by boostbook: + + grouped.links.js="'grouped_links.js'" + + grouped.links.chapters.show="'true'" + grouped.links.chapters.xml="'boost_libs_grouped_links.XML'" + grouped.links.chapters.url="''" + + grouped.links.sections.show="'true'" + grouped.links.sections.xml="'sections_grouped_links.XML'" + grouped.links.sections.url="''" + +[endsect] + +[endsect] + +[section Examples] + +In the folder `example` you can find two examples using GropedLinks API. + +[variablelist +[[simple][ +How to put a GropedLinks select box in your HTML body. +]] +[[boostbook][ +How to integrate GroupedLinks with boostbook and quickbook docs. +]] +] + +[endsect] + +[section Acknowledgments] + +Thanks Martin Capeletto (my brother) for teaching me the basics of javascript. + +Thanks to the ones that participates in constructing the new boost docs +look & feel. Special thanks to John Maddock for his support during this period. + +[endsect] + + diff --git a/doc/javascript/nested_links/doc/xhtml/HTML.manifest b/doc/javascript/nested_links/doc/xhtml/HTML.manifest new file mode 100644 index 00000000..dcaf7169 --- /dev/null +++ b/doc/javascript/nested_links/doc/xhtml/HTML.manifest @@ -0,0 +1 @@ +index.html diff --git a/doc/javascript/nested_links/doc/xhtml/images/grouped_links.png b/doc/javascript/nested_links/doc/xhtml/images/grouped_links.png new file mode 100644 index 00000000..08cc5922 Binary files /dev/null and b/doc/javascript/nested_links/doc/xhtml/images/grouped_links.png differ diff --git a/doc/javascript/nested_links/doc/xhtml/index.html b/doc/javascript/nested_links/doc/xhtml/index.html new file mode 100644 index 00000000..e9cd1227 --- /dev/null +++ b/doc/javascript/nested_links/doc/xhtml/index.html @@ -0,0 +1,670 @@ + + + + + + Chapter 1. Boost.GroupedLinks + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+

Chapter 1. Boost.GroupedLinks

+
+
+
+

Matias Capeletto

+
+
+
+ +
+
+
+ +

+ Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +

+
+
+
+
+
+

+ Table of Contents +

+
+
+ + Introduction + +
+
+ + Tutorial + +
+
+ + Examples + +
+
+ + Acknowledgments + +
+
+
+
+
+
+
+

+ + Introduction +

+
+
+
+

+ GroupedLinks is a simple javascript API for building links select boxes. +

+

+ Features +

+
+
    +
  • + Released under Boost Software License. +
  • +
  • + Cross-browser. +
  • +
  • + Items are populated from a simple XML definition file. +
  • +
  • + css based look & feel. +
  • +
  • + Support for relative URLs. +
  • +
  • + Integration with Boostbook. +
  • +
  • + Only standard javascript used. +
  • +
+
+

+ grouped_links +

+
+
+
+
+
+

+ + Tutorial +

+
+
+
+ +
+
+ +
+

+ A GroupedLinks select box is populated from a GroupedLinks XML + definition file. This is an important feature, because it means + that the items are not harcoded in the HTML saving us space using global + definitions and allowing us to change the definition with out touching the + HTML files. +

+

+ GroupedLinks XML definition start with a tag named + groupedLinks. There are only + three elements: +

+
+ +

+ Table 1.1. Elements +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Name +

+
+

+ Purpose +

+
+

+ title +

+
+

+ Add a title to the GroupedLinks select box. This is useful when you + do not want to select any of the internals items. The select box will + show the title instead. +

+
+

+ group +

+
+

+ Starts a group list. +

+
+

+ item +

+
+

+ Links items. They must reside inside a group list. +

+
+
+
+
+

+ All the elements have two attributes: +

+
+
    +
  • tag: Name of the element, it will be + showed in the HTML. +
  • +
  • url: URL of the link. It can be relative + or absolute. (It is optional) +
  • +
+
+

+ A GroupedLinks XML definition will look like: +

+

+ +

+
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<groupedLinks version="1.0">
+
+<title tag="Title"      url="group_1.html"/>
+
+<group tag="Group 1"    url="group_1.html">
+
+    <item tag="Item A"  url="group_1/item_A.html"/>
+    <item tag="Item B"  url="group_1/item_A.html"/>
+    <item tag="Item C"  url="http://www.item_C.com"/>
+
+</group>
+
+<group tag="Group 2"    url="group_2.html">
+
+    <item tag="Item A"  url="group_2/item_A.html"/>
+    <item tag="Item B"  url="group_2/item_A.html"/>
+
+</group>
+
+<group tag="Group 3"    url="group_3.html"/>
+
+</groupedLinks>
+
+

+

+
+
+ +

+ To include a GroupedLinks select box in the body of + your HTML you have to create a form with an unique id and call the javascript + function grouped_links_select_box + inside of it. +

+
+ +

+ Table 1.2. grouped_links_select_box function +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+

+
+

+ Parameter Name +

+
+

+ Purpose +

+
+

+ 1 +

+
+

+ GroupedLinks XML URL +

+
+

+ GroupedLinks XML definition URL. +

+
+

+ 2 +

+
+

+ Form id +

+
+

+ id of the form where you want to place the GroupedLinks select + box. +

+
+

+ 3 +

+
+

+ Base URL +

+
+

+ A base URL that will be concatenated to all the relatives URLs. +

+
+

+ 5 +

+
+

+ Selected item +

+
+

+ The item that is selected by default. This parameter is optional, if + you call the function with only three parameters the tag of the title + element is used if there is one in the GroupedLinks XML definition. +

+
+
+
+
+

+ It is simple enough to be understood from an example: +

+

+ +

+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Boost.GroupedLinks Example</title>
+<link rel="stylesheet" href="../../css/grouped_links.css" type="text/css">
+</head>
+
+<body>
+
+<!-- /* Include the grouped links java script api */ -->
+
+<script type="text/javascript" src="../../js/grouped_links.js"></script>
+
+<!-- /* Add a form with an "id" attribute */ -->
+
+<form id="boost_libs_list">
+
+    <!--/*  Call the GroupedLinks "select box" */-->
+
+    <script type="text/javascript">
+
+        grouped_links_select_box('boost_libs.xml',
+                                 'boost_libs_list',
+                                 '../../',
+                                 'Boost Libraries');
+
+    </script>
+
+</form>
+
+

+

+
+
+ [Note] +
+
+
Note
+
+

+

+

+ Remember to change the src + of the javascript include line to point to the URL of grouped_links.js + in your system. Try to work with relatives paths so the HTML can be easily + moved. +

+

+

+
+
+
+
+
+
+
+ +
+
+

+ Add the following lines to your jamfile.v2 +

+
+<xsl:param>grouped.links.chapters.show="'true'"
+<xsl:param>grouped.links.sections.show="'true'"
+<xsl:param>grouped.links.sections.xml="'sections.XML'" # your XML sections
+
+

+ GroupedLinks select boxes for boost libraries and internal sections can be + requested to boostbook using the following options: +

+
+ +

+ Table 1.3. Boostbook GroupedLinks Parameters +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Name +

+
+

+ Purpose +

+
+

+ show +

+
+

+ Include select box +

+
+

+ xml +

+
+

+ Path to the XML definition +

+
+

+ url +

+
+

+ Base URL to use with relative paths +

+
+
+
+
+

+ You can configure all the parameters used by boostbook: +

+
+<xsl:param>grouped.links.js="'grouped_links.js'"
+
+<xsl:param>grouped.links.chapters.show="'true'"
+<xsl:param>grouped.links.chapters.xml="'boost_libs_grouped_links.XML'"
+<xsl:param>grouped.links.chapters.url="''"
+
+<xsl:param>grouped.links.sections.show="'true'"
+<xsl:param>grouped.links.sections.xml="'sections_grouped_links.XML'"
+<xsl:param>grouped.links.sections.url="''"
+
+
+
+
+
+
+
+

+ + Examples +

+
+
+
+

+ In the folder example you can + find two examples using GropedLinks API. +

+
+

+ +

+
+
+ simple +
+
+ How to put a GropedLinks select box in your HTML body. +
+
+ boostbook +
+
+ How to integrate GroupedLinks with boostbook and quickbook docs. +
+
+
+
+
+
+
+
+

+ + Acknowledgments +

+
+
+
+

+ Thanks Martin Capeletto (my brother) for teaching me the basics of javascript. +

+

+ Thanks to the ones that participates in constructing the new boost docs look + & feel. Special thanks to John Maddock for his support during this period. +

+
+
+
+
+
+
+
+ + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/example.qbk b/doc/javascript/nested_links/example/boostbook_integration/example.qbk new file mode 100755 index 00000000..b2e164f9 --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/example.qbk @@ -0,0 +1,76 @@ +[library Boost.GroupedLinks example + [quickbook 1.4] + [authors [Capeletto, Matias]] + [copyright 2007 Matias Capeletto] + [category example] + [id boostbook_integration] + [dirname boostbook_integration] + [purpose + Boost.GroupedLinks Boostbook Integration example + ] + [source-mode c++] + [license +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +[@http://www.boost.org/LICENSE_1_0.txt]) + ] +] + +[/ QuickBook Document version 1.4 ] + + +[section Preface] +Preface section +[endsect] + +[section First] +First section + +[section Sub A] +First section - subsection A + + +[endsect] + +[section Sub B] +First section - subsection B + + +[endsect] + +[section Sub C] +First section - subsection C + + +[endsect] + +[endsect] + +[section Second] +Second section + +[section Sub A] +Second section - subsection A + + +[endsect] + +[section Sub B] +Second section - subsection B + + +[endsect] + +[endsect] + +[section Final] +Final section + + +[endsect] + + + + + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/jamfile.v2 b/doc/javascript/nested_links/example/boostbook_integration/jamfile.v2 new file mode 100755 index 00000000..1310262f --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/jamfile.v2 @@ -0,0 +1,31 @@ +# Boost.GroupedLinks +# +# Copyright (c) 2007 Matias Capeletto +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + + +# Quickbook +# ----------------------------------------------------------------------------- + +import quickbook ; + +xml example + : + example.qbk + ; + +boostbook standalone + : + example + : + # Show the sections select box, the chapters select box is showed by default + grouped.links.sections.show="'true'" + + toc.max.depth=2 + toc.section.depth=4 + chunk.section.depth=3 + ; + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/HTML.manifest b/doc/javascript/nested_links/example/boostbook_integration/xhtml/HTML.manifest new file mode 100644 index 00000000..1a456c1f --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/HTML.manifest @@ -0,0 +1,7 @@ +index.html +boostbook_integration/first.html +boostbook_integration/first/sub_b.html +boostbook_integration/first/sub_c.html +boostbook_integration/second.html +boostbook_integration/second/sub_b.html +boostbook_integration/final.html diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/final.html b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/final.html new file mode 100644 index 00000000..4720aebb --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/final.html @@ -0,0 +1,116 @@ + + + + + + Final + + + + + + + + +
+
+
+ + +
+ +
+ +
+
+
+
+
+
+
+

+ + Final +

+
+
+
+

+ Final section +

+
+
+
+
+
+ + + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first.html b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first.html new file mode 100644 index 00000000..7fb4b031 --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first.html @@ -0,0 +1,167 @@ + + + + + + First + + + + + + + + + +
+
+
+ + +
+ +
+ +
+
+
+
+
+
+
+

+ + First +

+
+
+
+
+
+
+
+
+
+
+
+ + Sub A + +
+
+ + Sub B + +
+
+ + Sub C + +
+
+
+
+
+
+
+
+

+ First section +

+
+
+
+
+

+ + Sub A +

+
+
+
+

+ First section - subsection A +

+
+
+
+
+
+
+ + + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first/sub_b.html b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first/sub_b.html new file mode 100644 index 00000000..6ffc4ba8 --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first/sub_b.html @@ -0,0 +1,123 @@ + + + + + + Sub B + + + + + + + + + +
+
+
+ + +
+ +
+ +
+
+
+
+
+
+
+

+ + Sub B +

+
+
+
+

+ First section - subsection B +

+
+
+
+
+
+ + + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first/sub_c.html b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first/sub_c.html new file mode 100644 index 00000000..e3b433aa --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/first/sub_c.html @@ -0,0 +1,123 @@ + + + + + + Sub C + + + + + + + + + +
+
+
+ + +
+ +
+ +
+
+
+
+
+
+
+

+ + Sub C +

+
+
+
+

+ First section - subsection C +

+
+
+
+
+
+ + + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/second.html b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/second.html new file mode 100644 index 00000000..1406b161 --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/second.html @@ -0,0 +1,162 @@ + + + + + + Second + + + + + + + + + +
+
+
+ + +
+ +
+ +
+
+
+
+
+
+
+

+ + Second +

+
+
+
+
+
+
+
+
+
+
+
+ + Sub A + +
+
+ + Sub B + +
+
+
+
+
+
+
+
+

+ Second section +

+
+
+
+
+

+ + Sub A +

+
+
+
+

+ Second section - subsection A +

+
+
+
+
+
+
+ + + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/second/sub_b.html b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/second/sub_b.html new file mode 100644 index 00000000..b7bc2625 --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/boostbook_integration/second/sub_b.html @@ -0,0 +1,123 @@ + + + + + + Sub B + + + + + + + + + +
+
+
+ + +
+ +
+ +
+
+
+
+
+
+
+

+ + Sub B +

+
+
+
+

+ Second section - subsection B +

+
+
+
+
+
+ + + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/build_grouped_links.cpp b/doc/javascript/nested_links/example/boostbook_integration/xhtml/build_grouped_links.cpp new file mode 100644 index 00000000..4e0a0f97 --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/build_grouped_links.cpp @@ -0,0 +1,63 @@ +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +using namespace boost::property_tree; +using namespace boost; +using namespace std; + + +optional find_toc( ptree& html ) +{ + ptree& pbody = html.get_child("html.body"); + for( ptree::iterator i = pbody.begin(), ie = pbody.end(); + i != ie ; ++i ) + { + std::cout << i->second.get("","") << std::endl; + if( i->second.get("","") == "body" ) + { + ptree& pc = i->second.get_child("div.div.div"); + for( ptree::iterator ic = pc.begin(), iec = pc.end(); + ic != iec ; ++ic ) + { + if( i->second.get("","") == "toc" ) + { + return i->second.get_child("dl"); + } + } + } + } + return none; +} + +int main() +{ + ptree html; + + std::string in_name = "index.html"; +/* + ifstream inhtml( in_name.c_str(), ios_base::in ); + if( !inhtml ) + { + std::cout << std::endl << "dow!" << std::endl; + } +*/ + read_xml(in_name,html); + + optional toc = find_toc(html); + if( toc ) + { + std::cout << std::endl << "great!" << std::endl; + } + + + return 0; +} + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/index.html b/doc/javascript/nested_links/example/boostbook_integration/xhtml/index.html new file mode 100644 index 00000000..0eaae509 --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/index.html @@ -0,0 +1,198 @@ + + + + + + Chapter 1. Boost.GroupedLinks example + + + + + + + +
+
+
+ + +
+ +
+
+ + Next + +
+
+
+
+
+
+
+
+

Chapter 1. Boost.GroupedLinks example

+
+
+
+

Matias Capeletto

+
+
+
+ +
+
+
+ +

+ Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +

+
+
+
+
+
+
+
+
+
+
+

+ Table of Contents +

+
+
+ + Preface + +
+
+ + First + +
+
+
+
+ + Sub A + +
+
+ + Sub B + +
+
+ + Sub C + +
+
+
+
+ + Second + +
+
+
+
+ + Sub A + +
+
+ + Sub B + +
+
+
+
+ + Final + +
+
+
+
+
+
+
+
+
+
+
+
+

+ + Preface +

+
+
+
+

+ Preface section +

+
+
+
+
+
+
+
+ + Next + +
+ + + diff --git a/doc/javascript/nested_links/example/boostbook_integration/xhtml/sections.xml b/doc/javascript/nested_links/example/boostbook_integration/xhtml/sections.xml new file mode 100644 index 00000000..ee31e03e --- /dev/null +++ b/doc/javascript/nested_links/example/boostbook_integration/xhtml/sections.xml @@ -0,0 +1,35 @@ + + + + + + + + + +<group tag="Preface" url="index.html"/> + +<group tag="First" url="boostbook_integration/first.html"> + <item tag="Sub A" url="boostbook_integration/first.html"/> + <item tag="Sub B" url="boostbook_integration/first/sub_b.html"/> + <item tag="Sub C" url="boostbook_integration/first/sub_c.html"/> +</group> + +<group tag="Second" url="boostbook_integration/second.html"> + <item tag="Sub A" url="boostbook_integration/second.html"/> + <item tag="Sub B" url="boostbook_integration/second/sub_b.html"/> +</group> + +<group tag="Final" url="boostbook_integration/final.html"/> + +</groupedLinks> diff --git a/doc/javascript/nested_links/example/simple/boost_libs.xml b/doc/javascript/nested_links/example/simple/boost_libs.xml new file mode 100644 index 00000000..fdf17f76 --- /dev/null +++ b/doc/javascript/nested_links/example/simple/boost_libs.xml @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!--========================================================================= + + Grouped links for Boost Libraries documentation + + Copyright (c) 2007 Matias Capeletto + + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + +===========================================================================--> + + +<groupedLinks version="1.0"> + +<title tag="Boost Libraries" url="index.html" /> + +<group tag="Text processing" url="index.html" > +<!--=======================================================================--> + <item tag="lexical_cast" url="conversion/lexical_cast.htm" /> + <item tag="format" url="format/index.html" /> + <item tag="iostreams" url="iostreams/doc/index.html" /> + <item tag="regex" url="regex/index.html" /> + <item tag="spirit" url="spirit/index.html" /> + <item tag="string_algo" url="algorithm/string/index.html" /> + <item tag="tokenizer" url="tokenizer/index.html" /> + <item tag="wave" url="wave/index.html" /> + <item tag="xpressive" url="xpressive/index.html" /> + +</group> + + +<group tag="Data structures" url="index.html" > +<!--=======================================================================--> + <item tag="any" url="any/index.html" /> + <item tag="array" url="array/index.html" /> + <item tag="bimap" url="http://tinyurl.com/22sja5" /> + <item tag="compressed_pair" url="utility/compressed_pair.htm" /> + <item tag="dynamic_bitset" url="dynamic_bitset/dynamic_bitset.html" /> + <item tag="graph" url="graph/doc/table_of_contents.html" /> + <item tag="multi_array" url="multi_array/doc/index.html" /> + <item tag="multi_index" url="multi_index/doc/index.html" /> + <item tag="optional" url="libs/optional/doc/optional.html" /> + <item tag="ptr_container" url="ptr_container/index.html" /> + <item tag="property_map" url="property_map/property_map.html" /> + <item tag="tribool" url="doc/html/tribool.html" /> + <item tag="tuple" url="tuple/doc/tuple_users_guide.html" /> + <item tag="variant" url="variant/index.html" /> + +</group> + + +<group tag="Algorithms" url="index.html" > +<!--=======================================================================--> + <item tag="foreach" url="foreach/index.html" /> + <item tag="minmax" url="algorithm/minmax/index.html" /> + <item tag="range" url="range/index.html" /> + +</group> + + +<group tag="Functional" url="index.html" > +<!--=======================================================================--> + <item tag="bind" url="bind/bind.html" /> + <item tag="function" url="function/index.html" /> + <item tag="functional" url="functional/index.htm" /> + <item tag="hash" url="functional/hash/index.html" /> + <item tag="lambda" url="lambda/index.html" /> + <item tag="bind" url="bind/ref.html" /> + <item tag="signals" url="signals/index.html" /> + <item tag="result_of" url="utility/utility.htm#result_of" /> + +</group> + + +<group tag="Generic Programming" url="index.html" > +<!--=======================================================================--> + <item tag="call_traits" url="utility/call_traits.htm" /> + <item tag="concept_check" url="concept_check/concept_check.htm" /> + <item tag="enable_if" url="utility/enable_if.html" /> + <item tag="in_place_factory" url="utility/in_place_factories.html" /> + <item tag="iterators" url="iterator/doc/index.html" /> + <item tag="operators" url="utility/operators.htm" /> + <item tag="typeof" url="typeof/index.html" /> + +</group> + + +<group tag="Metaprogramming" url="index.html" > +<!--=======================================================================--> + <item tag="mpl" url="mpl/doc/index.html" /> + <item tag="static_assert" url="static_assert/static_assert.htm" /> + <item tag="type_traits" url="type_traits/index.html" /> + +</group> + + +<group tag="Concurrent" url="index.html" > +<!--=======================================================================--> + <item tag="thread" url="thread/doc/index.html" /> + +</group> + + +<group tag="Math and numerics" url="index.html" > +<!--=======================================================================--> + <item tag="math" url="math/doc/index.html" /> + <item tag="conversion" url="numeric/conversion/index.html" /> + <item tag="integer" url="integer/index.html" /> + <item tag="interval" url="numeric/interval/doc/interval.htm" /> + <item tag="random" url="random/index.html" /> + <item tag="rational" url="rational/index.html" /> + <item tag="ublas" url="numeric/ublas/doc/index.htm" /> + +</group> + + +<group tag="Input Output" url="index.html" > +<!--=======================================================================--> + <item tag="io state savers" url="io/doc/ios_state.html" /> + <item tag="program_options" url="../doc/html/program_options.html" /> + <item tag="serialization" url="serialization/doc/index.html" /> + +</group> + + +<group tag="Memory" url="index.html" > +<!--=======================================================================--> + <item tag="pool" url="pool/doc/index.html" /> + <item tag="smart_ptr" url="smart_ptr/index.html" /> + <item tag="utility" url="utility/utility.htm" /> + +</group> + + +<group tag="Miscellaneous" url="index.html" > +<!--=======================================================================--> + <item tag="assign" url="assign/index.html" /> + <item tag="base from member" url="utility/base_from_member.html" /> + <item tag="crc" url="crc/index.html" /> + <item tag="date_time" url="date_time/doc/index.html" /> + <item tag="filesystem" url="filesystem/doc/index.htm" /> + <item tag="parameter" url="parameter/doc/html/index.html" /> + <item tag="preprocesor" url="preprocessor/doc/index.html" /> + <item tag="python" url="python/doc/index.html" /> + <item tag="timer" url="timer/index.html" /> + <item tag="tr1" url="tr1/index.html" /> + <item tag="statechart" url="statechart/doc/index.html" /> + <item tag="value_initialized" url="utility/value_init.htm" /> + +</group> + + +<group tag="Compiler workarounds" url="index.html" > +<!--=======================================================================--> + <item tag="compatibility" url="compatibility/index.html" /> + <item tag="config" url="config/config.htm" /> + +</group> + + + +</groupedLinks> + diff --git a/doc/javascript/nested_links/example/simple/simple.html b/doc/javascript/nested_links/example/simple/simple.html new file mode 100644 index 00000000..7c4c8f05 --- /dev/null +++ b/doc/javascript/nested_links/example/simple/simple.html @@ -0,0 +1,46 @@ +<!--=========================================================================== + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +============================================================================--> + +<html> + +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Boost.GroupedLinks Example + + + + + + + + + + + +
+ + + + + +
+ + + + + diff --git a/doc/javascript/nested_links/index.html b/doc/javascript/nested_links/index.html new file mode 100755 index 00000000..b6ce29ba --- /dev/null +++ b/doc/javascript/nested_links/index.html @@ -0,0 +1,10 @@ + + + + + + + Automatic redirection failed, click this + link + + diff --git a/doc/javascript/style_switcher.js b/doc/javascript/style_switcher.js new file mode 100644 index 00000000..5b5e745d --- /dev/null +++ b/doc/javascript/style_switcher.js @@ -0,0 +1 @@ +/*=========================================================================== Copyright (c) 2007 Matias Capeletto Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ===========================================================================*/ /* Requires: common.js */ /* Requires: cookies.js */ /* Requires: load_file.js */ (function() { /* Based on http://alistapart.com/stories/alternate/ */ function set_active_stylesheet(sSelected) { var aLinks = document.getElementsByTagName('link'); for(var i = 0, len = aLinks.length; i < len; i++) { var oLink = aLinks[i]; var sTitle = oLink.getAttribute('title'); if( oLink.getAttribute('rel').indexOf('style') != -1 && sTitle ) { oLink.disabled = true; if ( sTitle == sSelected ) { oLink.disabled = false; } } } } function get_active_stylesheet() { var aLinks = document.getElementsByTagName('link'); for(var i = 0; i < aLinks.length; i++) { var oLink = aLinks[i]; var sTitle = oLink.getAttribute('title'); if( oLink.getAttribute('rel').indexOf('style') != -1 && sTitle && ! oLink.disabled ) { return sTitle; } } return null; } function get_preferred_stylesheet() { var aLinks = document.getElementsByTagName('link'); for(var i = 0; i < aLinks.length; i++) { var oLink = aLinks[i]; var sTitle = oLink.getAttribute('title'); var oRel = oLink.getAttribute('rel'); if( oRel.indexOf('style') != -1 && oRel.indexOf('alt' ) == -1 && sTitle ) { return sTitle; } } return null; } function include_alternate_stylesheets(sXmlUrl,sUserBaseUrl) { boostscript.load_file.load_xml(sXmlUrl, function(oXml) { var sBaseUrl = sUserBaseUrl ? boostscript.common.format_base_url( sUserBaseUrl ) : './'; var oBaseUrlNode = oXml.getElementsByTagName('base')[0]; if( oBaseUrlNode != null ) { sBaseUrl += boostscript.common.format_base_url( oBaseUrlNode.getAttribute('href') ); } var oHead = document.getElementsByTagName("head")[0]; var aStyles = oXml.getElementsByTagName('style'); for( var i = 0, len = aStyles.length; i < len ; i++ ) { var oStyle = aStyles[i]; var sPref = oStyle.getAttribute('preferred'); var bPreferred = sPref ? sPref == 'true' : false; var cssNode = document.createElement('link'); cssNode.type = 'text/css'; cssNode.rel = ( (!bPreferred) ? 'alternate ' : '' ) + 'stylesheet'; cssNode.href = boostscript.common.format_url( oStyle.getAttribute('href'),sBaseUrl ); cssNode.title = oStyle.getAttribute('title') oHead.appendChild(cssNode); } }, true ); } function insert_style_selector(sId,sXmlUrl) { boostscript.load_file.load_xml(sXmlUrl, function(oXml) { var sStyleSwitcherBox = '
' ; var aStyles = oXml.getElementsByTagName('style'); for( var i = 0, len = aStyles.length; i < len ; i++ ) { var sTitle = aStyles[i].getAttribute('title'); sStyleSwitcherBox += '' + '
' + '
' + '
' ; } document.getElementById(sId).innerHTML = sStyleSwitcherBox + '
'; }, true ); } function load_user_stylesheet(e) { var sCookie = boostscript.cookies.read('style'); set_active_stylesheet( sCookie ? sCookie : get_preferred_stylesheet() ); } function save_user_stylesheet(e) { boostscript.cookies.create( 'style', get_active_stylesheet(), 365 ); } window.onload = load_user_stylesheet; window.onunload = save_user_stylesheet; // Public Interface boostscript.style_switcher.include_alternate_stylesheets = include_alternate_stylesheets; boostscript.style_switcher.insert_style_selector = insert_style_selector; boostscript.style_switcher.set_active_stylesheet = set_active_stylesheet; boostscript.style_switcher.load_user_stylesheet = load_user_stylesheet; boostscript.style_switcher.loaded = true; })(); \ No newline at end of file diff --git a/doc/javascript/style_switcher/doc/TODO b/doc/javascript/style_switcher/doc/TODO new file mode 100644 index 00000000..8d1c8b69 --- /dev/null +++ b/doc/javascript/style_switcher/doc/TODO @@ -0,0 +1 @@ + diff --git a/doc/style/html/blurbs.css b/doc/style/html/blurbs.css new file mode 100755 index 00000000..a8b18c8e --- /dev/null +++ b/doc/style/html/blurbs.css @@ -0,0 +1,113 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Table +-----------------------------------------------------------------------------*/ + + + + + .note, + .tip, + .important, + .caution, + .warning, + .sidebar + { + font-size: 10pt; + line-height: 1.2; + display: block; + margin: 1pc 4% 0pc 4%; + } + + .sidebar .box-inner-wrapper + { + padding-left: 28px; + } + + .sidebar .box-inner-wrapper img + { + padding: 1pt; + } + + .admonition-body + { + padding-left: 50px; + } + + .admonition-graphic + { + float: left; + display: inline; + padding-top: 5px; + } + + .admonition-title + { + font-weight: bold; + } + + .admonition-content + { + + } + + .admonition-icon + { + border: none; + } + + .note-icon { background: url(images/admonitions/note.png) + no-repeat center; + height: 30px; width: 30px; } + + .warning-icon { background: url(images/admonitions/warning.png) + no-repeat center; + height: 30px; width: 30px; } + + .caution-icon { background: url(images/admonitions/caution.png) + no-repeat center; + height: 30px; width: 30px; } + + .tip-icon { background: url(images/admonitions/tip.png) + no-repeat center; + height: 30px; width: 30px; } + + .important-icon { background: url(images/admonitions/important.png) + no-repeat center; + height: 30px; width: 30px; } + + + /* --- IE6 patch using the star hack --- */ + + * html body .note-icon { background: url(images/admonitions/solid/note.png) + no-repeat center; } + + * html body .warning-icon { background: url(images/admonitions/solid/warning.png) + no-repeat center; } + + * html body .caution-icon { background: url(images/admonitions/solid/caution.png) + no-repeat center; } + + * html body .tip-icon { background: url(images/admonitions/solid/tip.png) + no-repeat center; } + + * html body .important-icon { background: url(images/admonitions/solid/important.png) + no-repeat center; } + diff --git a/doc/style/html/box_wrapper.css b/doc/style/html/box_wrapper.css new file mode 100755 index 00000000..99ef40ec --- /dev/null +++ b/doc/style/html/box_wrapper.css @@ -0,0 +1,153 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Box Wrapper +-----------------------------------------------------------------------------*/ + + + .box-outer-wrapper + { + border: 2px solid #EAEEEB; + border-bottom: none; + border-top: none; + background-color: white; + /* options: + (white) white; + (green) #FAFFFB; + */ + } + + .box-outer-wrapper:hover + { + background-color: #FAFFFB; + /* options: + (green ) #FAFFFB; + (orange) #FEFFF5; + (blue ) #FBFBFF; + */ + } + + .box-top-left + { + float: left; + margin-left: -2px; + min-height: 18px; + min-width: 18px; + background: url(images/box_wrapper/top-left.png) no-repeat top left; + } + + .box-top-right + { + margin-right: -2px; + min-height: 18px; + min-width: 18px; + background: url(images/box_wrapper/top-right.png) no-repeat top right; + float: right; + } + + .box-top + { + min-height: 18px; + background: url(images/box_wrapper/top.png) repeat-x top; + } + + .box-inner-wrapper + { + padding-left: 18px; + } + + .box-bottom-left + { + margin-left: -2px; + min-height: 28px; + min-width: 18px; + background: url(images/box_wrapper/bottom-left.png) no-repeat bottom left; + float: left; + } + .box-bottom-right + { + margin-right: -2px; + min-height: 28px; + min-width: 18px; + background: url(images/box_wrapper/bottom-right.png) no-repeat bottom right; + float: right; + } + + .box-bottom + { + min-height: 28px; + background: url(images/box_wrapper/bottom.png) repeat-x bottom; + } + + + /* --- IE6 patch using the star hack --- (Thanks to Daniel James) */ + + + * html body .box-top-left + { + background: url(images/box_wrapper/solid/top-left.png) no-repeat top left; + display: inline; + height: 18px; + width: 18px; + } + + * html body .box-top-right + { + background: url(images/box_wrapper/solid/top-right.png) no-repeat top right; + display: inline; + height: 18px; + width: 18px; + } + + * html body .box-top + { + background: url(images/box_wrapper/solid/top.png) repeat-x top; + height: 18px;/* + margin-left: -2px; + margin-right: -2px; + padding-left: -2px; + padding-right: -2px;*/ + } + + * html body .box-bottom-left + { + background: url(images/box_wrapper/solid/bottom-left.png) no-repeat bottom left; + display: inline; + height: 28px; + width: 18px; + margin-right: -3px; + } + + * html body .box-bottom-right + { + background: url(images/box_wrapper/solid/bottom-right.png) no-repeat bottom right; + display: inline; + height: 28px; + width: 18px; + margin-left: -3px; + } + + * html .box-bottom + { + background: url(images/box_wrapper/solid/bottom.png) repeat-x bottom; + height: 28px; + } + + \ No newline at end of file diff --git a/doc/style/html/callouts.css b/doc/style/html/callouts.css new file mode 100755 index 00000000..5607cfa2 --- /dev/null +++ b/doc/style/html/callouts.css @@ -0,0 +1,53 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + + +/*---------------------------------------------------------------------------- + Callouts +-----------------------------------------------------------------------------*/ + + + .calloutlist + { + padding-left: 75px; + padding-bottom: 10px; + } + + .line_callout_bug img + { + float: left; + position:relative; + left: -18px; + top: -12px; + clear: left; + margin-left:-22px; + border: none; + } + + .callout_bug a img + { + border: none; + } + + .calloutlist dl dt a img + { + float: left; + border: none; + } + diff --git a/doc/style/html/conversion/boostbook_to_quickbook.css b/doc/style/html/conversion/boostbook_to_quickbook.css new file mode 100644 index 00000000..9da3d934 --- /dev/null +++ b/doc/style/html/conversion/boostbook_to_quickbook.css @@ -0,0 +1,607 @@ +/*============================================================================= + + Html To Quickbook stylesheets + + Copyright (c) 2006 Rene Rivera + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + +=============================================================================*/ + +/* Import common quickbook structures +-----------------------------------------------------------------------------*/ + +@import url(quickbook_common.css); +@import url(../syntax/kd.css); + +/* Include again some boostbook stylesheet settings to allow site navigation +-----------------------------------------------------------------------------*/ + +/* Header */ + +/* Spirit navigation bar */ + +.spirit-nav a::before, .spirit-nav a::after +{ + content: ""; +} + +/* footer */ + +#footer a::before, #footer a::after +{ + content: ""; +} + + +/* Remove boostbook style +-----------------------------------------------------------------------------*/ + +/* General */ + +#body +{ + border: none; + margin: 20px; + padding: 0em; + text-indent: 0em; + color: black; + font-size: 10pt; + font-weight: normal; + font-style: normal; + text-decoration: none; + font-family: monospace; + background: white; + background-color: white; +} + +p +{ + text-align: left; + font-size: 10pt; + line-height: 1.15; +} + +/* headings */ + +.titlepage +{ + line-height: 1.15; +} + +.titlepage .title +{ + margin-bottom: 0px; +} + +.titlepage .copyright +{ + margin-top: 0px; +} + +.titlepage_logo +{ + display: none; +} + +.titlepage_separator +{ + margin-bottom: 0px; +} + +.section +{ + margin-bottom: 0px; +} +/* +h1, h2, h3, h4, h5, h6, +.title, h1 .title, h2 .title, h3 .title, h4 .title, h5 .title, h6 .title, +.section h1, .section h2, .section h3, .section h4, .section h5, .section h6, +.refentrytitle, +h1 tt .computeroutput, h2 tt .computeroutput, h3 tt .computeroutput, +h4 tt .computeroutput, h5 tt .computeroutput, h6 tt .computeroutput +*/ + +#body p, +#body .title, +#body .section > h1, +#body .section > h2, +#body .section > h3, +#body .section > h4, +#body .section > h5, +#body .section > h6, +#body .section +{ + line-height: 1.5; + text-align: left; + margin: 0px; + padding: 0px; + font-weight: normal; + font: 100%; + font-size: 10pt; + color: black; + border: none; + text-decoration: none; + font-family: monospace; +} + +#body .section .title +{ + padding-bottom: 20px; +} + +#body .section::after +{ + line-height: 60px; +} + +/* Box wrapper */ + +.box-outer-wrapper +{ + border: none; + margin: 0px; + padding: 0px; +} + +.box-outer-wrapper:hover +{ + background-color: white; + margin: 0px; + padding: 0px; +} + +.box-top-left, +.box-top-right, +.box-top, +.box-bottom-left, +.box-bottom-right, +.box-bottom +{ + display: none; +} + +.box-inner-wrapper +{ + margin: 0px; + padding: 0px; +} + +/* Remove toc */ + +.toc +{ + display: none; +} + +/* Remove footnotes */ + +.footnotes +{ + display: none; +} + +/* Tables */ + +.table-title, .table p .title +{ + margin: 0px; + padding: 0px; +} + +.table table, +.informaltable table +{ + width: 100%; + margin: 0px; + padding: 0px; +} + +.table table tr th, +.informaltable table tr th, +.table table tr th p, +.informaltable table tr th p, +.table table tr td, +.informaltable table tr td, +.table table tr td p, +.informaltable table tr td p +{ + margin: 0px; + padding: 0px; + background-color: white; + border: none; + font-size: 10pt; + text-align: left; + line-height: 1.15; + display: inline; +} + +.table table:hover tr th, +.informaltable table:hover tr th +{ + background-color: white; +} + +.table table:hover tr td, +.informaltable table:hover tr td +{ + background-color: white; +} + + +/* code */ + +#body .programlisting, #body .screen, #body .synopsis +{ + margin: 0px; + padding: 0px; +} + +/* Remove the style selectors */ + +.style-switcher-box +{ + display: none; +} + +/* Remove numbers from lists */ + +.ol_1, .ol_a, .ol_i, .ol_A, .ol_I { list-style-type: none; } + +li, +ul, +ol +{ + padding: 0px; + margin: 0px; +} + +li ul, +li ol +{ + padding-left: 35px; +} + + +/* Overwritte some boostbook style +-----------------------------------------------------------------------------*/ + +#body a::before { content: "[@" attr(href) " "; color: #5555FF; } +#body a::after { content: "]"; color: #5555FF; } +#body a +{ + color: black; +} + +#body blockquote::before, #body blockquote::after { content: ""; } + +div .blockquote::before { content: "[:"; color: #5555FF; } +div .blockquote::after { content: "]"; color: #5555FF; } + +/* Add more quickbook related style +-------------------------------------------------------------------------------*/ + +/* Sections */ + +.section .titlepage .title::before +{ + content: "[section "; + color: #5555FF; + font-weight: normal; +} + +.section .titlepage .title::after +{ + content: "]"; + color: #5555FF; + font-weight: normal; +} + +.section .titlepage .title a +{ + font-weight: bold; +} + +.section::after +{ + content: "[endsect]"; + color: #5555FF; +} + +.section a::before, .section a::after +{ + content: ""; +} + +/* Headings */ + + +#body .section > h1::before, +#body .section > h2::before, +#body .section > h3::before, +#body .section > h4::before, +#body .section > h5::before, +#body .section > h6::before +{ + content: "[heading "; + color: #5555FF; + font-weight: normal; +} + +#body .section > h1::after, +#body .section > h2::after, +#body .section > h3::after, +#body .section > h4::after, +#body .section > h5::after, +#body .section > h6::after +{ + content: "]"; + color: #5555FF; + font-weight: normal; +} + +#body .section > h1, +#body .section > h2, +#body .section > h3, +#body .section > h4, +#body .section > h5, +#body .section > h6 +{ + font-weight: bold; + color: #5555FF; +} + + +#body .section > h1 a::before, +#body .section > h2 a::before, +#body .section > h3 a::before, +#body .section > h4 a::before, +#body .section > h5 a::before, +#body .section > h6 a::before, +#body .section > h1 a::after, +#body .section > h2 a::after, +#body .section > h3 a::after, +#body .section > h4 a::after, +#body .section > h5 a::after, +#body .section > h6 a::after, +#body .section > a::before, +#body .section > a::before, +#body .section > a::before, +#body .section > a::before, +#body .section > a::before, +#body .section > a::before, +#body .section > a::after, +#body .section > a::after, +#body .section > a::after, +#body .section > a::after, +#body .section > a::after, +#body .section > a::after, +#body .section .titlepage .title a::before, +#body .section .titlepage .title a::after +{ + content: ""; +} + + +/* Tables */ + +.table table tr th, +.informaltable table tr th, +.table table tr th p, +.informaltable table tr th p +{ + background-color: #E6E6E6; +} + +table::before { content: ""; } + +.table .title::before { content: "[table "; color: #5555FF; font-style: normal; } +#body .table .title b::before { content: ""; } +#body .table .title b::after { content: ""; } + +#body .table > a { display: none; } + +/* Code */ + + +.computeroutput::before, +.computeroutput::after { content: "`"; color: #5555FF; font-style: normal; } + +.programlisting .box-inner-wrapper::before, +.programlisting pre::after { content: "``"; color: #5555FF; font-style: normal; } + +.programlisting pre::before { content: ""; } + +.synopsis .box-inner-wrapper, +.programlisting .box-inner-wrapper, +.screen .box-inner-wrapper +{ + margin: 0px; + padding: 0px; +} + +.line_callout_bug, +.callout_bug, +.calloutlist { display: none; } + + +/* Blurbs */ + + +.note, +.tip, +.important, +.caution, +.warning, +.sidebar +{ + font-size: 10pt; + line-height: 1.15; + margin: 0px; + padding: 0px; +} + +.sidebar .box-inner-wrapper, +.sidebar .box-inner-wrapper img, +.admonition-body +{ + padding: 0px; +} + +.admonition-graphic +{ + display: none; +} + +.admonition-title +{ + font-weight: normal; + color: #5555FF; +} + +.admonition-title::before +{ + content: "["; +} + +.admonition-body::after +{ + content: "]"; + color: #5555FF; +} + +.sidebar .box-inner-wrapper::before +{ + content: "[blurb "; + color: #5555FF; +} + +.sidebar .box-inner-wrapper::after +{ + content: "] "; + color: #5555FF; +} + +/* First page of the docs */ + + +#body .article a::before, #body .article a::after, +#body .book a::before, #body .book a::after, +#body .chapter a::before, #body .chapter a::after +{ + content: ""; +} + +.article .title::before, +.book .title::before, +.chapter .title::before +{ + content: "[article "; +} + +#body .article .title, +#body .book .title, +#body .chapter .title +{ + font-weight: bold; +} + +.article::after, +.book::after, +.chapter::after +{ + content: "]"; +} + +.article .titlepage::after, +.book .titlepage::after, +.chapter .titlepage::after +{ + padding-left: 35px; + content: "[purpose Unknown] [category Unknown] [quickbook 1.4]" +} + +.authorgroup::before +{ + content: "[authors "; +} + +.authorgroup::after +{ + content: "]"; +} + +.authorgroup div .author::before +{ + content: "["; +} + +.authorgroup div .author::after +{ + content: "]"; +} + +.authorgroup div .author +{ + font-weight: normal; + line-height: 1.5; + padding: 0px; + margin: 0px; +} + +.copyright::before +{ + content: "[copyright "; +} + +.copyright::after +{ + content: "]"; +} + +div div.legalnotice p::before +{ + content: "[license "; +} + +div div.legalnotice p::after +{ + content: "]"; +} + +.copyright, +div div.legalnotice p +{ + color: black; + font-size: 10pt; + font-style: normal; + font-weight: normal; +} + +#body .copyright, +#body div div.legalnotice p, +.authorgroup +{ + padding-left: 35px; +} + +.article .title::before, .article::after, +.authorgroup::before, .authorgroup::after, +.authorgroup div .author::before, .authorgroup div .author::after, +.copyright::before, .copyright::after, +div div.legalnotice p::before, div div.legalnotice p::after, +.article .titlepage::after +{ + color: #5555FF; + font-style: normal; + font-weight: normal; +} + +.titlepage_separator +{ + display: none; +} + diff --git a/doc/style/html/conversion/html_to_quickbook.css b/doc/style/html/conversion/html_to_quickbook.css new file mode 100644 index 00000000..0bcb244e --- /dev/null +++ b/doc/style/html/conversion/html_to_quickbook.css @@ -0,0 +1,185 @@ +/*============================================================================= + + Html To Quickbook stylesheets + + Copyright (c) 2006 Rene Rivera + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + +=============================================================================*/ + +@import url(html_to_quickbook_general.css); +@import url(quickbook_common.css); + +/* General +-----------------------------------------------------------------------------*/ + +body, body * +{ + border: none; + margin: 0em; + padding: 0em; + text-indent: 0em; + color: black; + font-size: 10pt; + font-weight: normal; + font-style: normal; + text-decoration: none; + font-family: monospace; + background: white; + background-color: white; +} + +body::before +{ + content: "[section Top]"; + color: #5555FF; +} + +body::after +{ + content: "[endsect]"; + color: #5555FF; +} + +h1 img, h2 img, h3 img, h4 img, h5 img, h6 img +{ + display: none; +} + +/* Variable List +-----------------------------------------------------------------------------*/ + +dl::before { content: "[variablelist "; color: #5555FF; } +dl::after { content: "]"; color: #5555FF; } +dt::before { content: " [["; color: #5555FF; } +dt::after { content: "]]"; color: #5555FF; } +dd::before { content: "["; color: #5555FF; } +dd::after { content: "]"; color: #5555FF; } + +/* Preformatted output and code +-----------------------------------------------------------------------------*/ + +pre::before { content: "[pre \A"; color: #5555FF; } +pre::after { content: "\A]"; color: #5555FF; } +code::before { content: "[^"; color: #5555FF; } +code::after { content: "]"; color: #5555FF; } + +/* Text style +-----------------------------------------------------------------------------*/ + +i::before { content: "['"; color: #5555FF; font-style: normal; } +i { font-style: italic; } +i::after { content: "]"; color: #5555FF; font-style: normal; } + +b::before { content: "[*"; color: #5555FF; font-weight: normal; } +b { font-weight: bold; } +b::after { content: "]"; color: #5555FF; font-weight: normal; } + +u::before { content: "[_"; color: #5555FF; text-decoration: none; } +u { text-decoration: underline; } +u::after { content: "]"; color: #5555FF; text-decoration: none; } + +tt::before { content: "[^"; color: #5555FF; } +tt::after { content: "]"; color: #5555FF; } + +q::before { content: "[\""; color: #5555FF; font-style: normal; } +q { font-style: italic; } +q::after { content: "\"]"; color: #5555FF; font-style: normal; } + +/* Lists +-----------------------------------------------------------------------------*/ + +blockquote > li::before { content: "* "; color: #5555FF; } +ol > li::before { content: "# "; color: #5555FF; } +ul > li::before { content: "* "; color: #5555FF; } +ul > li { list-style: none; } + +/* Blockquote +-----------------------------------------------------------------------------*/ + +blockquote::before { content: "[:"; color: #5555FF; } +blockquote::after { content: "]"; color: #5555FF; } + +/* Tables +-----------------------------------------------------------------------------*/ + +table { display: block; } +tr { display: block; } +td { display: inline; } +th { display: inline; } + +table::before { content: "[table"; color: #5555FF; } +table::after { content: "]"; color: #5555FF; } + +tr::before { content: "["; color: #5555FF; } +tr::after { content: "]"; color: #5555FF; } +td::before { content: "["; color: #5555FF; } +td::after { content: "]"; color: #5555FF; } +th::before { content: "["; color: #5555FF; } +th::after { content: "]"; color: #5555FF; } + +/* Forms +-----------------------------------------------------------------------------*/ + +form { display: none; } + +/* Links +-----------------------------------------------------------------------------*/ + +a::before { content: "[@" attr(href) " "; color: #5555FF; } +a::after { content: "]"; color: #5555FF; } + +/* Sections and Headings +-----------------------------------------------------------------------------*/ + +h1, h2, h3, h4, h5, h6, p, pre, dl, ul, blockquote { + margin-top: 1em; +} + +h1::before, h2::before, h3::before, h4::before, h5::before, h6::before +{ + content: "[endsect] [/br][/br] [section "; + color: #5555FF; +} + +h1::after, h2::after, h3::after, h4::after, h5::after, h6::after +{ + content: "]"; + color: #5555FF; +} + +h1 a::before, h2 a::before, h3 a::before, h4 a::before, h5 a::before, h6 a::before, +h1 a::after, h2 a::after, h3 a::after, h4 a::after, h5 a::after, h6 a::after +{ + content: ""; +} + +/* Images +-----------------------------------------------------------------------------*/ + +/* TODO +img::before +{ + content: "[$" attr(src); + color: #5555FF; +} + +img::after +{ + content: "]"; + color: #5555FF; +} + + +*/ + +img +{ + max-height: 100px; + max-width: 100px; + overflow: hidden; +} diff --git a/doc/style/html/conversion/html_to_quickbook_general.css b/doc/style/html/conversion/html_to_quickbook_general.css new file mode 100644 index 00000000..b333fb3e --- /dev/null +++ b/doc/style/html/conversion/html_to_quickbook_general.css @@ -0,0 +1,52 @@ +/*============================================================================= + + Html To Quickbook stylesheets + + Copyright (c) 2006 Rene Rivera + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + +=============================================================================*/ + + +@import url(quickbook_common.css) + +/* General +-----------------------------------------------------------------------------*/ + +body, body * +{ + border: none; + margin: 0em; + padding: 0em; + text-indent: 0em; + color: black; + font-size: 10pt; + font-weight: normal; + font-style: normal; + text-decoration: none; + font-family: monospace; + background: white; + background-color: white; +} + +body::before +{ + content: "[section Top]"; + color: #5555FF; +} + +body::after +{ + content: "[endsect]"; + color: #5555FF; +} + +h1 img, h2 img, h3 img, h4 img, h5 img, h6 img +{ + display: none; +} + diff --git a/doc/style/html/conversion/quickbook_common.css b/doc/style/html/conversion/quickbook_common.css new file mode 100644 index 00000000..3f42eb63 --- /dev/null +++ b/doc/style/html/conversion/quickbook_common.css @@ -0,0 +1,152 @@ +/*============================================================================= + + Html To Quickbook stylesheets + + Copyright (c) 2006 Rene Rivera + Copyright (c) 2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + +=============================================================================*/ + +/* General +-----------------------------------------------------------------------------*/ + + +/* Variable List +-----------------------------------------------------------------------------*/ + +dl::before { content: "[variablelist "; color: #5555FF; font-weight:normal; } +dl::after { content: "]"; color: #5555FF; font-weight:normal; } +dt::before { content: " [["; color: #5555FF; font-weight:normal; } +dt { font-weight:bold; } +dt::after { content: "]"; color: #5555FF; font-weight:normal; } +dd::before { content: "["; color: #5555FF; font-weight:normal; } +dd::after { content: "]]"; color: #5555FF; font-weight:normal; } + +/* Preformatted output and code +-----------------------------------------------------------------------------*/ + +pre::before { content: "[pre \A"; color: #5555FF; } +pre::after { content: "\A]"; color: #5555FF; } +code::before { content: "[^"; color: #5555FF; } +code::after { content: "]"; color: #5555FF; } + +/* Text style +-----------------------------------------------------------------------------*/ + +i::before, .emphasis::before { content: "['"; } +i, .emphasis { font-style: italic; } +i::after, .emphasis::after { content: "]"; } + +b::before, .bold::before { content: "[*"; } +b, .bold { font-weight: bold; } +b::after, .bold::after { content: "]"; } + +u::before, .underline::before { content: "[_"; } +u, .underline { text-decoration: underline; } +u::after, .underline::after { content: "]"; } + +tt::before, .literal::before { content: "[^"; } +tt, .literal { font-style: normal; } +tt::after, .literal::after { content: "]"; } + +q::before, .quote::before { content: "[\""; } +q::after, .quote::after { content: "\]"; } + +.strikethrough::before { content: "[-"; } +.strikethrough { text-decoration: strikethrough; } +.strikethrough::after { content: "]"; } + +.replaceable code::before { content: "[~"; } +.replaceable code { font-style: italic; } +.replaceable code::after { content: "]"; } + +i::before, i::after, .emphasis::before, .emphasis::after, +b::before, b::after, .bold::before, .bold::after, +u::before, u::after, .underline::before, .underline::after, +tt::before, tt::after, .literal::before, .literal::after, +q::before, q::after, .quote::before,.quote::after, +.strikethrough::before, .strikethrough::after, +.replaceable code::before, .replaceable code::after +{ + font-style: normal; + font-weight: normal; + text-decoration: none; + color: #5555FF; +} + + + + + +/* Lists +-----------------------------------------------------------------------------*/ + +blockquote > li::before { content: "* "; color: #5555FF; } +ol > li::before { content: "# "; color: #5555FF; } +ul > li::before { content: "* "; color: #5555FF; } +ul > li { list-style: none; } + +/* Blockquote +-----------------------------------------------------------------------------*/ + +blockquote::before { content: "[:"; color: #5555FF; } +blockquote::after { content: "]"; color: #5555FF; } + +/* Tables +-----------------------------------------------------------------------------*/ + +table { display: block; } +tr { display: block; } +td { display: inline; } +th { display: inline; } + +table::before { content: "[table"; color: #5555FF; } +table::after { content: "]"; color: #5555FF; } + +tr::before { content: "["; color: #5555FF; font-weight: normal; } +tr::after { content: "]"; color: #5555FF; font-weight: normal; } +td::before { content: "["; color: #5555FF; font-weight: normal; } +td::after { content: "]"; color: #5555FF; font-weight: normal; } +th::before { content: "["; color: #5555FF; font-weight: normal; + background-color: white; } +th { font-weight: bold; background-color: #E6E6E6; } +th::after { content: "]"; color: #5555FF; font-weight: normal; + background-color: white; } + +/* Links +-----------------------------------------------------------------------------*/ + +a::before { content: "[@" attr(href) " "; color: #5555FF; } +a::after { content: "]"; color: #5555FF; } + +/* Sections and Headings +-----------------------------------------------------------------------------*/ + + + +/* Images +-----------------------------------------------------------------------------*/ + +img::before +{ + content: "[$" attr(src); + color: #5555FF; +} + +img::after +{ + content: "]"; + color: #5555FF; +} + +img +{ + max-height: 300px; + max-width: 500px; + overflow: hidden; +} + diff --git a/doc/style/html/footer.css b/doc/style/html/footer.css new file mode 100755 index 00000000..01d307d0 --- /dev/null +++ b/doc/style/html/footer.css @@ -0,0 +1,69 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Footer +-----------------------------------------------------------------------------*/ + + + #footer { + color: #666666; + margin: 1.5em; + padding: 0em; + clear: both; + background: #FFFFFF url(images/footer/background.png) repeat-x top left; + border: none; + } + + #footer-left { + float: left; + padding: 0.65em; + min-height: 100px; + background: url(images/footer/background-left.png) no-repeat top left; + } + + #footer-right { + float: right; + padding: 0.65em; + min-height: 100px; + background: url(images/footer/background-right.png) no-repeat top right; + } + + #footer p { + margin: 0em; + padding: 0em; + font-size: 75%; + text-align: left; + } + + #footer #banners p { + float: left; + margin: 0em 0em 0em 1em; + } + + #footer #banners a { + display: block; + } + + #footer #banner-sourceforge { + /*background: url(http://sourceforge.net/sflogo.php?group_id=7586&type=1) no-repeat fixed 0px 5em;*/ + } + + + diff --git a/doc/style/html/general.css b/doc/style/html/general.css new file mode 100755 index 00000000..9554545f --- /dev/null +++ b/doc/style/html/general.css @@ -0,0 +1,109 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + General +-----------------------------------------------------------------------------*/ + + + .clear + { + clear : both; + width : 100%; + height : 1px; + overflow : hidden; + } + + body + { + font-family: sans-serif; + min-width : 43em; + margin: 0; + } + + #body + { + clear : both; + border : none; + width : 100%; + background : #ffffff; + } + + #content + { + margin: 1em; + clear : both; + border : none; + } + + p + { + text-align: left; + font-size: 10pt; + line-height: 1.15; + } + + + a + { + text-decoration: none; + border: none; + color: #0C7445; + } + + a:hover { text-decoration: underline; } + a:visited { color: #663974; } + + + span.title { font-style: italic; } + span.underline { text-decoration: underline; } + span.strikethrough { text-decoration: line-through; } + span.highlight { color: #00A000; } + div div.legalnotice p { text-align: left; color: #666666; } + .copyright { font-size: small; color: #666666; } + + + .titlepage + { + line-height: 0.6; + } + + .titlepage .title + { + margin-bottom: 30px; + } + + .titlepage .copyright + { + margin-top: 30px; + } + + .titlepage_logo + { + text-align: center; + } + + .titlepage_separator + { + margin-bottom: 30px; + } + + .section + { + margin-bottom: 20px; + } diff --git a/doc/style/html/header.css b/doc/style/html/header.css new file mode 100755 index 00000000..677fdcdc --- /dev/null +++ b/doc/style/html/header.css @@ -0,0 +1,90 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Page Header +-----------------------------------------------------------------------------*/ + + + @import url(nested_links.css); + + body + { + background: #ffffff url(images/header/background-more.png) repeat-x top left; + color: black; + } + + #heading + { + height: 100px; + background: url(images/header/background.png) no-repeat top left; + border-bottom: solid 1px; + } + + .heading-logo + { + text-align: left; + border: none; + } + + div.search-box + { + text-align: right; + padding-bottom: 10px; + padding-right: 10px; + height: 40px; + color: white; + font-weight: bold; + background : transparent; + } + + input.search-box + { + background-color: #BEDEBA; + font-weight: bold; + font-size: 12px; + color: #006D00; + border: 1px solid #DCDCDC; + border-bottom: 1px solid #9D9D9D; + border-right: 1px solid #9D9D9D; + padding-bottom: 3px; + padding-left: 3px; + } + + .heading-navigation-box + { + text-align: right; + padding-top: 10px; + padding-right: 10px; + height: 40px; + background : transparent; + } + + .search-box-label::before + { + content: "Search Boost"; + } + + /* --- IE6 patch using the star hack --- (Thanks to Daniel James) */ + + + * html body #heading + { + border-bottom: none; + } diff --git a/doc/style/html/headings.css b/doc/style/html/headings.css new file mode 100755 index 00000000..c80c8ca6 --- /dev/null +++ b/doc/style/html/headings.css @@ -0,0 +1,93 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Headings +-----------------------------------------------------------------------------*/ + + h1, h2, h3, h4, h5, h6 + { + text-align: left; + margin: 1em 0em 0.5em 0em; + font-weight: bold; + } + + h1 { font: 140% } + h2 { font: bold 140% } + h3 { font: bold 130% } + h4 { font: bold 120% } + h5 { font: italic 110% } + h6 { font: italic 100% } + + /* Top page titles */ + title, + h1.title, + h2.title, + h3.title, + h4.title, + h5.title, + h6.title, + .refentrytitle + { + font-weight: bold; + margin-bottom: 1pc; + } + + h1.title { font-size: 140% } + h2.title { font-size: 140% } + h3.title { font-size: 130% } + h4.title { font-size: 120% } + h5.title { font-size: 110% } + h6.title { font-size: 100% } + + .section h1 + { + margin: 0em 0em 0.5em 0em; + font-size: 140%; + } + + .section h2 { font-size: 140% } + .section h3 { font-size: 130% } + .section h4 { font-size: 120% } + .section h5 { font-size: 110% } + .section h6 { font-size: 100% } + + /* Code on titles */ + h1 tt.computeroutput { font-size: 140% } + h2 tt.computeroutput { font-size: 140% } + h3 tt.computeroutput { font-size: 130% } + h4 tt.computeroutput { font-size: 120% } + h5 tt.computeroutput { font-size: 110% } + h6 tt.computeroutput { font-size: 100% } + + + h3.author + { + font-size: 100% + } + + h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, + h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, + h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited + { + text-decoration: none; /* no underline */ + color: #000000; + border: none; + } + diff --git a/doc/style/html/images/admonitions/caution.png b/doc/style/html/images/admonitions/caution.png new file mode 100755 index 00000000..3c3b859c Binary files /dev/null and b/doc/style/html/images/admonitions/caution.png differ diff --git a/doc/style/html/images/admonitions/important.png b/doc/style/html/images/admonitions/important.png new file mode 100755 index 00000000..cbba1900 Binary files /dev/null and b/doc/style/html/images/admonitions/important.png differ diff --git a/doc/style/html/images/admonitions/note.png b/doc/style/html/images/admonitions/note.png new file mode 100755 index 00000000..c39ba8b1 Binary files /dev/null and b/doc/style/html/images/admonitions/note.png differ diff --git a/doc/style/html/images/admonitions/solid/caution.png b/doc/style/html/images/admonitions/solid/caution.png new file mode 100755 index 00000000..c73b0aa3 Binary files /dev/null and b/doc/style/html/images/admonitions/solid/caution.png differ diff --git a/doc/style/html/images/admonitions/solid/important.png b/doc/style/html/images/admonitions/solid/important.png new file mode 100755 index 00000000..fc0c9ceb Binary files /dev/null and b/doc/style/html/images/admonitions/solid/important.png differ diff --git a/doc/style/html/images/admonitions/solid/note.png b/doc/style/html/images/admonitions/solid/note.png new file mode 100755 index 00000000..2c67184c Binary files /dev/null and b/doc/style/html/images/admonitions/solid/note.png differ diff --git a/doc/style/html/images/admonitions/solid/tip.png b/doc/style/html/images/admonitions/solid/tip.png new file mode 100755 index 00000000..66892d21 Binary files /dev/null and b/doc/style/html/images/admonitions/solid/tip.png differ diff --git a/doc/style/html/images/admonitions/solid/warning.png b/doc/style/html/images/admonitions/solid/warning.png new file mode 100755 index 00000000..e059a2da Binary files /dev/null and b/doc/style/html/images/admonitions/solid/warning.png differ diff --git a/doc/style/html/images/admonitions/tip.png b/doc/style/html/images/admonitions/tip.png new file mode 100755 index 00000000..6c9d4c15 Binary files /dev/null and b/doc/style/html/images/admonitions/tip.png differ diff --git a/doc/style/html/images/admonitions/warning.png b/doc/style/html/images/admonitions/warning.png new file mode 100755 index 00000000..f294456c Binary files /dev/null and b/doc/style/html/images/admonitions/warning.png differ diff --git a/doc/style/html/images/box_wrapper/bottom-left.png b/doc/style/html/images/box_wrapper/bottom-left.png new file mode 100755 index 00000000..954152a8 Binary files /dev/null and b/doc/style/html/images/box_wrapper/bottom-left.png differ diff --git a/doc/style/html/images/box_wrapper/bottom-right.png b/doc/style/html/images/box_wrapper/bottom-right.png new file mode 100755 index 00000000..4decca29 Binary files /dev/null and b/doc/style/html/images/box_wrapper/bottom-right.png differ diff --git a/doc/style/html/images/box_wrapper/bottom.png b/doc/style/html/images/box_wrapper/bottom.png new file mode 100755 index 00000000..63787d30 Binary files /dev/null and b/doc/style/html/images/box_wrapper/bottom.png differ diff --git a/doc/style/html/images/box_wrapper/solid/bottom-left.png b/doc/style/html/images/box_wrapper/solid/bottom-left.png new file mode 100755 index 00000000..2fc1dd8a Binary files /dev/null and b/doc/style/html/images/box_wrapper/solid/bottom-left.png differ diff --git a/doc/style/html/images/box_wrapper/solid/bottom-right.png b/doc/style/html/images/box_wrapper/solid/bottom-right.png new file mode 100755 index 00000000..6ea9a8e0 Binary files /dev/null and b/doc/style/html/images/box_wrapper/solid/bottom-right.png differ diff --git a/doc/style/html/images/box_wrapper/solid/bottom.png b/doc/style/html/images/box_wrapper/solid/bottom.png new file mode 100755 index 00000000..ad2e4124 Binary files /dev/null and b/doc/style/html/images/box_wrapper/solid/bottom.png differ diff --git a/doc/style/html/images/box_wrapper/solid/top-left.png b/doc/style/html/images/box_wrapper/solid/top-left.png new file mode 100755 index 00000000..39284c05 Binary files /dev/null and b/doc/style/html/images/box_wrapper/solid/top-left.png differ diff --git a/doc/style/html/images/box_wrapper/solid/top-right.png b/doc/style/html/images/box_wrapper/solid/top-right.png new file mode 100755 index 00000000..b7453d4b Binary files /dev/null and b/doc/style/html/images/box_wrapper/solid/top-right.png differ diff --git a/doc/style/html/images/box_wrapper/solid/top.png b/doc/style/html/images/box_wrapper/solid/top.png new file mode 100755 index 00000000..d0b19448 Binary files /dev/null and b/doc/style/html/images/box_wrapper/solid/top.png differ diff --git a/doc/style/html/images/box_wrapper/top-left.png b/doc/style/html/images/box_wrapper/top-left.png new file mode 100755 index 00000000..d399d8cf Binary files /dev/null and b/doc/style/html/images/box_wrapper/top-left.png differ diff --git a/doc/style/html/images/box_wrapper/top-right.png b/doc/style/html/images/box_wrapper/top-right.png new file mode 100755 index 00000000..da87255a Binary files /dev/null and b/doc/style/html/images/box_wrapper/top-right.png differ diff --git a/doc/style/html/images/box_wrapper/top.png b/doc/style/html/images/box_wrapper/top.png new file mode 100755 index 00000000..4c6a235f Binary files /dev/null and b/doc/style/html/images/box_wrapper/top.png differ diff --git a/doc/style/html/images/callouts/1.png b/doc/style/html/images/callouts/1.png new file mode 100644 index 00000000..6003ad3a Binary files /dev/null and b/doc/style/html/images/callouts/1.png differ diff --git a/doc/style/html/images/callouts/10.png b/doc/style/html/images/callouts/10.png new file mode 100644 index 00000000..0426f516 Binary files /dev/null and b/doc/style/html/images/callouts/10.png differ diff --git a/doc/style/html/images/callouts/11.png b/doc/style/html/images/callouts/11.png new file mode 100644 index 00000000..821afc4f Binary files /dev/null and b/doc/style/html/images/callouts/11.png differ diff --git a/doc/style/html/images/callouts/12.png b/doc/style/html/images/callouts/12.png new file mode 100644 index 00000000..7cec7272 Binary files /dev/null and b/doc/style/html/images/callouts/12.png differ diff --git a/doc/style/html/images/callouts/13.png b/doc/style/html/images/callouts/13.png new file mode 100644 index 00000000..5b41e02a Binary files /dev/null and b/doc/style/html/images/callouts/13.png differ diff --git a/doc/style/html/images/callouts/14.png b/doc/style/html/images/callouts/14.png new file mode 100644 index 00000000..de5bdbd3 Binary files /dev/null and b/doc/style/html/images/callouts/14.png differ diff --git a/doc/style/html/images/callouts/15.png b/doc/style/html/images/callouts/15.png new file mode 100644 index 00000000..3fd6ac38 Binary files /dev/null and b/doc/style/html/images/callouts/15.png differ diff --git a/doc/style/html/images/callouts/2.png b/doc/style/html/images/callouts/2.png new file mode 100644 index 00000000..f7c15788 Binary files /dev/null and b/doc/style/html/images/callouts/2.png differ diff --git a/doc/style/html/images/callouts/3.png b/doc/style/html/images/callouts/3.png new file mode 100644 index 00000000..3ff0a939 Binary files /dev/null and b/doc/style/html/images/callouts/3.png differ diff --git a/doc/style/html/images/callouts/4.png b/doc/style/html/images/callouts/4.png new file mode 100644 index 00000000..6aa29fc0 Binary files /dev/null and b/doc/style/html/images/callouts/4.png differ diff --git a/doc/style/html/images/callouts/5.png b/doc/style/html/images/callouts/5.png new file mode 100644 index 00000000..36e78586 Binary files /dev/null and b/doc/style/html/images/callouts/5.png differ diff --git a/doc/style/html/images/callouts/6.png b/doc/style/html/images/callouts/6.png new file mode 100644 index 00000000..c943676b Binary files /dev/null and b/doc/style/html/images/callouts/6.png differ diff --git a/doc/style/html/images/callouts/7.png b/doc/style/html/images/callouts/7.png new file mode 100644 index 00000000..20940de3 Binary files /dev/null and b/doc/style/html/images/callouts/7.png differ diff --git a/doc/style/html/images/callouts/8.png b/doc/style/html/images/callouts/8.png new file mode 100644 index 00000000..d8e34d4a Binary files /dev/null and b/doc/style/html/images/callouts/8.png differ diff --git a/doc/style/html/images/callouts/9.png b/doc/style/html/images/callouts/9.png new file mode 100644 index 00000000..abe63607 Binary files /dev/null and b/doc/style/html/images/callouts/9.png differ diff --git a/doc/style/html/images/footer/background-left.png b/doc/style/html/images/footer/background-left.png new file mode 100755 index 00000000..92fb6aac Binary files /dev/null and b/doc/style/html/images/footer/background-left.png differ diff --git a/doc/style/html/images/footer/background-right.png b/doc/style/html/images/footer/background-right.png new file mode 100755 index 00000000..e31044a8 Binary files /dev/null and b/doc/style/html/images/footer/background-right.png differ diff --git a/doc/style/html/images/footer/background.png b/doc/style/html/images/footer/background.png new file mode 100755 index 00000000..9d0d7852 Binary files /dev/null and b/doc/style/html/images/footer/background.png differ diff --git a/doc/style/html/images/header/background-more.png b/doc/style/html/images/header/background-more.png new file mode 100755 index 00000000..3588b91b Binary files /dev/null and b/doc/style/html/images/header/background-more.png differ diff --git a/doc/style/html/images/header/background.png b/doc/style/html/images/header/background.png new file mode 100755 index 00000000..0dabd14f Binary files /dev/null and b/doc/style/html/images/header/background.png differ diff --git a/doc/style/html/images/navigation/home.png b/doc/style/html/images/navigation/home.png new file mode 100755 index 00000000..f2047b8f Binary files /dev/null and b/doc/style/html/images/navigation/home.png differ diff --git a/doc/style/html/images/navigation/next.png b/doc/style/html/images/navigation/next.png new file mode 100755 index 00000000..f3a1221d Binary files /dev/null and b/doc/style/html/images/navigation/next.png differ diff --git a/doc/style/html/images/navigation/prev.png b/doc/style/html/images/navigation/prev.png new file mode 100755 index 00000000..f7f03615 Binary files /dev/null and b/doc/style/html/images/navigation/prev.png differ diff --git a/doc/style/html/images/navigation/up.png b/doc/style/html/images/navigation/up.png new file mode 100755 index 00000000..ef434074 Binary files /dev/null and b/doc/style/html/images/navigation/up.png differ diff --git a/doc/style/html/images/syntax/bc.png b/doc/style/html/images/syntax/bc.png new file mode 100755 index 00000000..e60374d9 Binary files /dev/null and b/doc/style/html/images/syntax/bc.png differ diff --git a/doc/style/html/images/syntax/cw.png b/doc/style/html/images/syntax/cw.png new file mode 100755 index 00000000..6a10620c Binary files /dev/null and b/doc/style/html/images/syntax/cw.png differ diff --git a/doc/style/html/images/syntax/em.png b/doc/style/html/images/syntax/em.png new file mode 100755 index 00000000..d9af3c4c Binary files /dev/null and b/doc/style/html/images/syntax/em.png differ diff --git a/doc/style/html/images/syntax/kd.png b/doc/style/html/images/syntax/kd.png new file mode 100755 index 00000000..b902c782 Binary files /dev/null and b/doc/style/html/images/syntax/kd.png differ diff --git a/doc/style/html/images/syntax/sc.png b/doc/style/html/images/syntax/sc.png new file mode 100755 index 00000000..658bf221 Binary files /dev/null and b/doc/style/html/images/syntax/sc.png differ diff --git a/doc/style/html/images/syntax/solid/bc.png b/doc/style/html/images/syntax/solid/bc.png new file mode 100755 index 00000000..e1ee1a39 Binary files /dev/null and b/doc/style/html/images/syntax/solid/bc.png differ diff --git a/doc/style/html/images/syntax/solid/cw.png b/doc/style/html/images/syntax/solid/cw.png new file mode 100755 index 00000000..0d7b9c60 Binary files /dev/null and b/doc/style/html/images/syntax/solid/cw.png differ diff --git a/doc/style/html/images/syntax/solid/em.png b/doc/style/html/images/syntax/solid/em.png new file mode 100755 index 00000000..cf7860bf Binary files /dev/null and b/doc/style/html/images/syntax/solid/em.png differ diff --git a/doc/style/html/images/syntax/solid/kd.png b/doc/style/html/images/syntax/solid/kd.png new file mode 100755 index 00000000..357fa402 Binary files /dev/null and b/doc/style/html/images/syntax/solid/kd.png differ diff --git a/doc/style/html/images/syntax/solid/sc.png b/doc/style/html/images/syntax/solid/sc.png new file mode 100755 index 00000000..d56e2b57 Binary files /dev/null and b/doc/style/html/images/syntax/solid/sc.png differ diff --git a/doc/style/html/images/syntax/solid/vs.png b/doc/style/html/images/syntax/solid/vs.png new file mode 100755 index 00000000..64025a02 Binary files /dev/null and b/doc/style/html/images/syntax/solid/vs.png differ diff --git a/doc/style/html/images/syntax/vs.png b/doc/style/html/images/syntax/vs.png new file mode 100755 index 00000000..afdb5680 Binary files /dev/null and b/doc/style/html/images/syntax/vs.png differ diff --git a/doc/style/html/lists.css b/doc/style/html/lists.css new file mode 100755 index 00000000..55056bb4 --- /dev/null +++ b/doc/style/html/lists.css @@ -0,0 +1,85 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Lists +-----------------------------------------------------------------------------*/ + + + li + { + font-size: 10pt; + line-height: 1.3; + } + + /* Unordered lists */ + ul + { + text-align: left; + } + + /* Ordered lists */ + ol + { + text-align: left; + } + + .ol_1 { list-style-type: decimal; } + .ol_a { list-style-type: lower-alpha; } + .ol_i { list-style-type: lower-roman; } + .ol_A { list-style-type: upper-alpha; } + .ol_I { list-style-type: upper-roman; } + + /* Make the terms in definition lists bold */ + .variablelist dl dt, + .term + { + font-weight: bold; + font-size: 10pt; + } + + .variablelist table tbody tr td + { + text-align: left; + vertical-align: top; + padding: 0em 2em 0em 0em; + font-size: 10pt; + margin: 0em 0em 0.5em 0em; + line-height: 1; + } + + /* Make the terms in definition lists bold */ + .variablelist dl dt + { + margin-bottom: 0.2em; + } + + .variablelist dl dd + { + margin: 0em 0em 0.5em 2em; + font-size: 10pt; + } + + .variablelist table tbody tr td p + .variablelist dl dd p + { + margin: 0em 0em 0.5em 0em; + line-height: 1; + } + + diff --git a/doc/style/html/main.css b/doc/style/html/main.css new file mode 100755 index 00000000..92c9e51a --- /dev/null +++ b/doc/style/html/main.css @@ -0,0 +1,73 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + @import url(general.css); + + @import url(header.css); + + @import url(footer.css); + + @import url(spirit_nav.css); + + @import url(headings.css); + + @import url(box_wrapper.css); + + @import url(toc.css); + + @import url(table.css); + + @import url(lists.css); + + @import url(blurbs.css); + + @import url(programlisting.css); + + @import url(callouts.css); + + @import url(syntax/vs.css); + +/*---------------------------------------------------------------------------- + Overwrite some style elements for print + (this may be moved inside each individual css) +-----------------------------------------------------------------------------*/ + + @media print + { + /* Links */ + a + { + color: black; + } + + a:visited + { + color: black; + } + + .spirit-nav + { + display: none; + } + + /* Misc */ + span.highlight + { + font-weight: bold; + } + } diff --git a/doc/style/html/nested_links.css b/doc/style/html/nested_links.css new file mode 100755 index 00000000..e012a8de --- /dev/null +++ b/doc/style/html/nested_links.css @@ -0,0 +1,66 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Grouped Links +-----------------------------------------------------------------------------*/ + + + div.nested-links-select-box + { + display: inline; + } + + select.nested-links + { + background-color: #BEDEBA; + font-weight: bold; + font-size: 12px; + color: #006D00; + border: 1px solid #DCDCDC; + border-bottom: 1px solid #9D9D9D; + border-right: 1px solid #9D9D9D; + padding-bottom: 1px; + padding-right: 1px; + } + + option.nested-links-title + { + background-color: #BEDEBA; + font-weight: bold; + font-size: 12px; + color: #006D00; + } + + option.nested-links-first + { + background-color: #008000; + font-weight: bold; + font-size: 12px; + color: white; + } + + option.nested-links-second + { + background-color: #FAFFFB; + padding: 0px 0px 0px 12px; + color: #006D00; + font-weight: normal; + } + diff --git a/doc/style/html/programlisting.css b/doc/style/html/programlisting.css new file mode 100755 index 00000000..98f2ac07 --- /dev/null +++ b/doc/style/html/programlisting.css @@ -0,0 +1,149 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Program Listing +-----------------------------------------------------------------------------*/ + + + p tt.computeroutput + { + font-size: 10pt; + } + + .synopsis + { + font-size: 10pt; + margin: 1pc 4% 0pc 4%; + } + + .programlisting, + .screen + { + font-size: 10pt; + display: block; + margin: 1pc 4% 0pc 4%; + } + + .synopsis .box-inner-wrapper, + .programlisting .box-inner-wrapper, + .screen .box-inner-wrapper + { + padding-left: 30px; + } + + + .style-switcher-box + { + margin-top: -20px; + padding-right: 10px; + float: right; + overflow: hidden; + height: 30px; + } + + .ss-options + { + padding-top: 40px; + } + + .ss-options:hover + { + padding-top: 0px; + } + + .ss-option-vs + { + float: left; + background: url(images/syntax/vs.png) no-repeat center; + height: 30px; width: 30px; + } + + .ss-option-kd + { + float: left; + background: url(images/syntax/kd.png) no-repeat center; + height: 30px; width: 30px; + } + + .ss-option-sc + { + float: left; + background: url(images/syntax/sc.png) no-repeat center; + height: 30px; width: 30px; + } + + .ss-option-cw + { + float: left; + background: url(images/syntax/cw.png) no-repeat center; + height: 30px; width: 30px; + } + + .ss-option-bc + { + float: left; + background: url(images/syntax/bc.png) no-repeat center; + height: 30px; width: 30px; + } + + .ss-option-em + { + float: left; + background: url(images/syntax/em.png) no-repeat center; + height: 30px; width: 30px; + } + + * html body .ss-options + { + padding-top: 0px; + } + + * html body .ss-option-vs + { + background: url(images/syntax/solid/vs.png) no-repeat center; + } + + * html body .ss-option-kd + { + background: url(images/syntax/solid/kd.png) no-repeat center; + } + + * html body .ss-option-sc + { + background: url(images/syntax/solid/sc.png) no-repeat center; + } + + * html body .ss-option-cw + { + background: url(images/syntax/solid/cw.png) no-repeat center; + } + + * html body .ss-option-em + { + background: url(images/syntax/solid/em.png) no-repeat center; + } + + * html body .ss-option-bc + { + background: url(images/syntax/solid/bc.png) no-repeat center; + } + + + diff --git a/doc/style/html/spirit_nav.css b/doc/style/html/spirit_nav.css new file mode 100755 index 00000000..3e1c09b9 --- /dev/null +++ b/doc/style/html/spirit_nav.css @@ -0,0 +1,63 @@ +/*============================================================================= + + Boostbook Green Style + + Copyright (c) 2006-2007 Matias Capeletto + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) + + Acknowledgments: + This css is based on ideas from stylesheets from Joel De Guzman and + Rene Rivera. + + +=============================================================================*/ + + + +/*---------------------------------------------------------------------------- + Spirit Navigation +-----------------------------------------------------------------------------*/ + + + .spirit-nav + { + margin: 16px; + float: right; + } + + .spirit-nav-icon + { + float: left; + margin-bottom: 10px; + } + + .prev-icon + { + background: url(images/navigation/prev.png) + no-repeat center; + height: 30px; width: 30px; + } + + .next-icon + { + background: url(images/navigation/next.png) + no-repeat center; + height: 30px; width: 30px; + } + + .up-icon + { + background: url(images/navigation/up.png) + no-repeat center; + height: 30px; width: 30px; + } + + .home-icon + { + background: url(images/navigation/home.png) + no-repeat center; + height: 30px; width: 30px; + } diff --git a/doc/style/html/syntax.xml b/doc/style/html/syntax.xml new file mode 100644 index 00000000..d07635a7 --- /dev/null +++ b/doc/style/html/syntax.xml @@ -0,0 +1,13 @@ + + + + + +