forked from boostorg/predef
Fix some doc typos as reported by Michel Morin.
This commit is contained in:
@ -1,13 +1,17 @@
|
|||||||
/*=============================================================================
|
|
||||||
Copyright (c) 2004 Joel de Guzman
|
|
||||||
http://spirit.sourceforge.net/
|
|
||||||
|
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompany-
|
/*=============================================================================
|
||||||
ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Copyright (c) 2004 Joel de Guzman
|
||||||
|
http://spirit.sourceforge.net/
|
||||||
|
|
||||||
|
Copyright 2013 Niall Douglas additions for colors and alignment.
|
||||||
|
Copyright 2013 Paul A. Bristow additions for more colors and alignments.
|
||||||
|
|
||||||
|
Distributed under the Boost Software License, Version 1.0. (See accompany-
|
||||||
|
ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Body defaults
|
Body defaults
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
body
|
body
|
||||||
@ -17,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Paragraphs
|
Paragraphs
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
p
|
p
|
||||||
@ -28,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Program listings
|
Program listings
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
/* Code on paragraphs */
|
/* Code on paragraphs */
|
||||||
@ -58,11 +62,11 @@
|
|||||||
td .screen
|
td .screen
|
||||||
{
|
{
|
||||||
margin: 0pc 0pc 0pc 0pc;
|
margin: 0pc 0pc 0pc 0pc;
|
||||||
padding: 0pc 0pc 0pc 0pc;
|
padding: 0pc 0pc 0pc 0pc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Headings
|
Headings
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
@ -122,7 +126,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Author
|
Author
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
h3.author
|
h3.author
|
||||||
@ -131,7 +135,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Lists
|
Lists
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
li
|
li
|
||||||
@ -153,7 +157,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Links
|
Links
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
a
|
a
|
||||||
@ -167,7 +171,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Spirit style navigation
|
Spirit style navigation
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
.spirit-nav
|
.spirit-nav
|
||||||
@ -187,7 +191,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Copyright footer
|
Copyright footer
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
.copyright-footer
|
.copyright-footer
|
||||||
{
|
{
|
||||||
@ -202,7 +206,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Table of contents
|
Table of contents
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
div.toc
|
div.toc
|
||||||
@ -227,7 +231,7 @@
|
|||||||
.toc dl dl { margin: 0; }
|
.toc dl dl { margin: 0; }
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Tables
|
Tables
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
.table-title,
|
.table-title,
|
||||||
@ -286,7 +290,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Blurbs
|
Blurbs
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
div.note,
|
div.note,
|
||||||
@ -309,7 +313,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Variable Lists
|
Variable Lists
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
div.variablelist
|
div.variablelist
|
||||||
@ -354,7 +358,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Misc
|
Misc
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
/* Title of books and articles in bibliographies */
|
/* Title of books and articles in bibliographies */
|
||||||
@ -380,7 +384,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Colors
|
Colors
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
@media screen
|
@media screen
|
||||||
@ -391,16 +395,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Syntax Highlighting */
|
/* Syntax Highlighting */
|
||||||
.keyword { color: #0000AA; }
|
.keyword { color: #0000AA; }
|
||||||
.identifier { color: #000000; }
|
.identifier { color: #000000; }
|
||||||
.special { color: #707070; }
|
.special { color: #707070; }
|
||||||
.preprocessor { color: #402080; }
|
.preprocessor { color: #402080; }
|
||||||
.char { color: teal; }
|
.char { color: teal; }
|
||||||
.comment { color: #800000; }
|
.comment { color: #800000; }
|
||||||
.string { color: teal; }
|
.string { color: teal; }
|
||||||
.number { color: teal; }
|
.number { color: teal; }
|
||||||
.white_bkd { background-color: #FFFFFF; }
|
.white_bkd { background-color: #FFFFFF; }
|
||||||
.dk_grey_bkd { background-color: #999999; }
|
.dk_grey_bkd { background-color: #999999; }
|
||||||
|
|
||||||
/* Links */
|
/* Links */
|
||||||
a, a .keyword, a .identifier, a .special, a .preprocessor
|
a, a .keyword, a .identifier, a .special, a .preprocessor
|
||||||
@ -572,7 +576,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Images
|
Images
|
||||||
=============================================================================*/
|
=============================================================================*/
|
||||||
|
|
||||||
span.inlinemediaobject img
|
span.inlinemediaobject img
|
||||||
@ -581,16 +585,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*==============================================================================
|
/*==============================================================================
|
||||||
Super and Subscript: style so that line spacing isn't effected, see
|
Super and Subscript: style so that line spacing isn't effected, see
|
||||||
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
|
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
sup,
|
sup,
|
||||||
sub {
|
sub {
|
||||||
height: 0;
|
height: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -598,19 +602,19 @@ sub {
|
|||||||
|
|
||||||
* html sup,
|
* html sup,
|
||||||
* html sub {
|
* html sub {
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
sup {
|
sup {
|
||||||
bottom: 1ex;
|
bottom: 1ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub {
|
sub {
|
||||||
top: .5ex;
|
top: .5ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*==============================================================================
|
/*==============================================================================
|
||||||
Indexes: pretty much the same as the TOC.
|
Indexes: pretty much the same as the TOC.
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
.index
|
.index
|
||||||
@ -644,3 +648,53 @@ sub {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*==============================================================================
|
||||||
|
Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
|
||||||
|
Added from Niall Douglas for role color and alignment.
|
||||||
|
http://article.gmane.org/gmane.comp.lib.boost.devel/243318
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
|
||||||
|
span.aligncenter
|
||||||
|
{
|
||||||
|
display: inline-block; width: 100%; text-align: center;
|
||||||
|
}
|
||||||
|
span.alignright
|
||||||
|
{
|
||||||
|
display: inline-block; width: 100%; text-align: right;
|
||||||
|
}
|
||||||
|
/* alignleft is the default. */
|
||||||
|
span.alignleft
|
||||||
|
{
|
||||||
|
display: inline-block; width: 100%; text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* alignjustify stretches the word spacing so that each line has equal width
|
||||||
|
within a chosen fraction of page width (here arbitrarily 20%).
|
||||||
|
*Not* useful inside table items as the column width remains the total string width.
|
||||||
|
Nor very useful, except to temporarily restrict the width.
|
||||||
|
*/
|
||||||
|
span.alignjustify
|
||||||
|
{
|
||||||
|
display: inline-block; width: 20%; text-align: justify;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text colors.
|
||||||
|
Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
|
||||||
|
Quickbook Usage: [role red Some red text]
|
||||||
|
|
||||||
|
*/
|
||||||
|
span.red { inline-block; color: red; }
|
||||||
|
span.green { color: green; }
|
||||||
|
span.lime { color: #00FF00; }
|
||||||
|
span.blue { color: blue; }
|
||||||
|
span.navy { color: navy; }
|
||||||
|
span.yellow { color: yellow; }
|
||||||
|
span.magenta { color: magenta; }
|
||||||
|
span.indigo { color: #4B0082; }
|
||||||
|
span.cyan { color: cyan; }
|
||||||
|
span.purple { color: purple; }
|
||||||
|
span.gold { color: gold; }
|
||||||
|
span.silver { color: silver; } /* lighter gray */
|
||||||
|
span.gray { color: #808080; } /* light gray */
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: July 28, 2013 at 17:05:40 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: October 15, 2013 at 04:40:06 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
<a name="predef.acknoledgements"></a><a class="link" href="acknoledgements.html" title="Acknoledgements">Acknoledgements</a>
|
<a name="predef.acknoledgements"></a><a class="link" href="acknoledgements.html" title="Acknoledgements">Acknoledgements</a>
|
||||||
</h2></div></div></div>
|
</h2></div></div></div>
|
||||||
<p>
|
<p>
|
||||||
The comprehensiveness of this library would not be possible without the existance
|
The comprehensiveness of this library would not be possible without the existence
|
||||||
of the indispensible resource that is the <a href="http://sourceforge.net/p/predef/" target="_top">Pre-defined
|
of the indispensable resource that is the <a href="http://sourceforge.net/p/predef/" target="_top">Pre-defined
|
||||||
C/C++ Compiler Macros</a> Project. It was, and continues to be, the primary
|
C/C++ Compiler Macros</a> Project. It was, and continues to be, the primary
|
||||||
source of the definitions that make up this library. Thanks to Bjorn Reese
|
source of the definitions that make up this library. Thanks to Bjorn Reese
|
||||||
and all the volunteers that make that resource possible.
|
and all the volunteers that make that resource possible.
|
||||||
|
@ -177,9 +177,9 @@ Documentation about what is detected.
|
|||||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">predef</span><span class="special">/</span><span class="identifier">make</span><span class="special">.</span><span class="identifier">h</span><span class="special">></span>
|
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">predef</span><span class="special">/</span><span class="identifier">make</span><span class="special">.</span><span class="identifier">h</span><span class="special">></span>
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
One will get a set of utlity macros to decompose common version macros as defined
|
One will get a set of utility macros to decompose common version macros as
|
||||||
by compilers. For example the EDG compiler uses a simple 3-digit version macro
|
defined by compilers. For example the EDG compiler uses a simple 3-digit version
|
||||||
(M,N,P). It can be decomesed and defined as:
|
macro (M,N,P). It can be decomposed and defined as:
|
||||||
</p>
|
</p>
|
||||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_CCOMP_EDG</span> <span class="identifier">BOOST_PREDEF_MAKE_N_N_N</span><span class="special">(</span><span class="identifier">__EDG_VERSION__</span><span class="special">)</span>
|
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_CCOMP_EDG</span> <span class="identifier">BOOST_PREDEF_MAKE_N_N_N</span><span class="special">(</span><span class="identifier">__EDG_VERSION__</span><span class="special">)</span>
|
||||||
</pre>
|
</pre>
|
||||||
|
@ -398,9 +398,9 @@ By including:
|
|||||||
#include <boost/predef/make.h>
|
#include <boost/predef/make.h>
|
||||||
``
|
``
|
||||||
|
|
||||||
One will get a set of utlity macros to decompose common version
|
One will get a set of utility macros to decompose common version
|
||||||
macros as defined by compilers. For example the EDG compiler
|
macros as defined by compilers. For example the EDG compiler
|
||||||
uses a simple 3-digit version macro (M,N,P). It can be decomesed
|
uses a simple 3-digit version macro (M,N,P). It can be decomposed
|
||||||
and defined as:
|
and defined as:
|
||||||
|
|
||||||
``
|
``
|
||||||
@ -457,7 +457,7 @@ and "Y", "M", "D" for dates.
|
|||||||
[section Acknoledgements]
|
[section Acknoledgements]
|
||||||
|
|
||||||
The comprehensiveness of this library would not be
|
The comprehensiveness of this library would not be
|
||||||
possible without the existance of the indispensible
|
possible without the existence of the indispensable
|
||||||
resource that is the
|
resource that is the
|
||||||
[@http://sourceforge.net/p/predef/ Pre-defined C/C++ Compiler Macros]
|
[@http://sourceforge.net/p/predef/ Pre-defined C/C++ Compiler Macros]
|
||||||
Project. It was, and continues to be, the primary source
|
Project. It was, and continues to be, the primary source
|
||||||
|
Reference in New Issue
Block a user