Make the docs consistent.

Also make sure that the right line endings are used.
master
dak180 2012-01-06 06:36:04 -05:00
parent 68ca38f537
commit b70deb8538
8 changed files with 320 additions and 320 deletions

View File

@ -1,314 +1,314 @@
/*
CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
Tested with XSL stylesheets 1.61.2, 1.67.2
*/
span.strong {
font-weight: bold;
}
body blockquote {
margin-top: .75em;
line-height: 1.5;
margin-bottom: .75em;
}
html body {
margin: 1em 5% 1em 5%;
line-height: 1.2;
}
body div {
margin: 0;
}
h1, h2, h3, h4, h5, h6
{
color: #527bbd;
font-family: tahoma, verdana, sans-serif;
}
div.toc p:first-child,
div.list-of-figures p:first-child,
div.list-of-tables p:first-child,
div.list-of-examples p:first-child,
div.example p.title,
div.sidebar p.title
{
font-weight: bold;
color: #527bbd;
font-family: tahoma, verdana, sans-serif;
margin-bottom: 0.2em;
}
body h1 {
margin: .0em 0 0 -4%;
line-height: 1.3;
border-bottom: 2px solid silver;
}
body h2 {
margin: 0.5em 0 0 -4%;
line-height: 1.3;
border-bottom: 2px solid silver;
}
body h3 {
margin: .8em 0 0 -3%;
line-height: 1.3;
}
body h4 {
margin: .8em 0 0 -3%;
line-height: 1.3;
}
body h5 {
margin: .8em 0 0 -2%;
line-height: 1.3;
}
body h6 {
margin: .8em 0 0 -1%;
line-height: 1.3;
}
body hr {
border: none; /* Broken on IE6 */
}
div.footnotes hr {
border: 1px solid silver;
}
div.navheader th, div.navheader td, div.navfooter td {
font-family: sans-serif;
font-size: 0.9em;
font-weight: bold;
color: #527bbd;
}
div.navheader img, div.navfooter img {
border-style: none;
}
div.navheader a, div.navfooter a {
font-weight: normal;
}
div.navfooter hr {
border: 1px solid silver;
}
body td {
line-height: 1.2
}
body th {
line-height: 1.2;
}
ol {
line-height: 1.2;
}
ul, body dir, body menu {
line-height: 1.2;
}
html {
margin: 0;
padding: 0;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
margin-left: 0
}
body pre {
margin: 0.5em 10% 0.5em 1em;
line-height: 1.0;
color: navy;
}
tt.literal, code.literal {
color: navy;
}
.programlisting, .screen {
border: 1px solid silver;
background: #f4f4f4;
margin: 0.5em 10% 0.5em 0;
padding: 0.5em 1em;
}
div.sidebar {
background: #ffffee;
margin: 1.0em 10% 0.5em 0;
padding: 0.5em 1em;
border: 1px solid silver;
}
div.sidebar * { padding: 0; }
div.sidebar div { margin: 0; }
div.sidebar p.title {
margin-top: 0.5em;
margin-bottom: 0.2em;
}
div.bibliomixed {
margin: 0.5em 5% 0.5em 1em;
}
div.glossary dt {
font-weight: bold;
}
div.glossary dd p {
margin-top: 0.2em;
}
dl {
margin: .8em 0;
line-height: 1.2;
}
dt {
margin-top: 0.5em;
}
dt span.term {
font-style: normal;
color: navy;
}
div.variablelist dd p {
margin-top: 0;
}
div.itemizedlist li, div.orderedlist li {
margin-left: -0.8em;
margin-top: 0.5em;
}
ul, ol {
list-style-position: outside;
}
div.sidebar ul, div.sidebar ol {
margin-left: 2.8em;
}
div.itemizedlist p.title,
div.orderedlist p.title,
div.variablelist p.title
{
margin-bottom: -0.8em;
}
div.revhistory table {
border-collapse: collapse;
border: none;
}
div.revhistory th {
border: none;
color: #527bbd;
font-family: tahoma, verdana, sans-serif;
}
div.revhistory td {
border: 1px solid silver;
}
/* Keep TOC and index lines close together. */
div.toc dl, div.toc dt,
div.list-of-figures dl, div.list-of-figures dt,
div.list-of-tables dl, div.list-of-tables dt,
div.indexdiv dl, div.indexdiv dt
{
line-height: normal;
margin-top: 0;
margin-bottom: 0;
}
/*
Table styling does not work because of overriding attributes in
generated HTML.
*/
div.table table,
div.informaltable table
{
margin-left: 0;
margin-right: 5%;
margin-bottom: 0.8em;
}
div.informaltable table
{
margin-top: 0.4em
}
div.table thead,
div.table tfoot,
div.table tbody,
div.informaltable thead,
div.informaltable tfoot,
div.informaltable tbody
{
/* No effect in IE6. */
border-top: 3px solid #527bbd;
border-bottom: 3px solid #527bbd;
}
div.table thead, div.table tfoot,
div.informaltable thead, div.informaltable tfoot
{
font-weight: bold;
}
div.mediaobject img {
margin-bottom: 0.8em;
}
div.figure p.title,
div.table p.title
{
margin-top: 1em;
margin-bottom: 0.4em;
}
div.calloutlist p
{
margin-top: 0em;
margin-bottom: 0.4em;
}
@media print {
div.navheader, div.navfooter { display: none; }
}
span.aqua { color: aqua; }
span.black { color: black; }
span.blue { color: blue; }
span.fuchsia { color: fuchsia; }
span.gray { color: gray; }
span.green { color: green; }
span.lime { color: lime; }
span.maroon { color: maroon; }
span.navy { color: navy; }
span.olive { color: olive; }
span.purple { color: purple; }
span.red { color: red; }
span.silver { color: silver; }
span.teal { color: teal; }
span.white { color: white; }
span.yellow { color: yellow; }
span.aqua-background { background: aqua; }
span.black-background { background: black; }
span.blue-background { background: blue; }
span.fuchsia-background { background: fuchsia; }
span.gray-background { background: gray; }
span.green-background { background: green; }
span.lime-background { background: lime; }
span.maroon-background { background: maroon; }
span.navy-background { background: navy; }
span.olive-background { background: olive; }
span.purple-background { background: purple; }
span.red-background { background: red; }
span.silver-background { background: silver; }
span.teal-background { background: teal; }
span.white-background { background: white; }
span.yellow-background { background: yellow; }
span.big { font-size: 2em; }
span.small { font-size: 0.6em; }
/*
CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
Tested with XSL stylesheets 1.61.2, 1.67.2
*/
span.strong {
font-weight: bold;
}
body blockquote {
margin-top: .75em;
line-height: 1.5;
margin-bottom: .75em;
}
html body {
margin: 1em 5% 1em 5%;
line-height: 1.2;
}
body div {
margin: 0;
}
h1, h2, h3, h4, h5, h6
{
color: #527bbd;
font-family: tahoma, verdana, sans-serif;
}
div.toc p:first-child,
div.list-of-figures p:first-child,
div.list-of-tables p:first-child,
div.list-of-examples p:first-child,
div.example p.title,
div.sidebar p.title
{
font-weight: bold;
color: #527bbd;
font-family: tahoma, verdana, sans-serif;
margin-bottom: 0.2em;
}
body h1 {
margin: .0em 0 0 -4%;
line-height: 1.3;
border-bottom: 2px solid silver;
}
body h2 {
margin: 0.5em 0 0 -4%;
line-height: 1.3;
border-bottom: 2px solid silver;
}
body h3 {
margin: .8em 0 0 -3%;
line-height: 1.3;
}
body h4 {
margin: .8em 0 0 -3%;
line-height: 1.3;
}
body h5 {
margin: .8em 0 0 -2%;
line-height: 1.3;
}
body h6 {
margin: .8em 0 0 -1%;
line-height: 1.3;
}
body hr {
border: none; /* Broken on IE6 */
}
div.footnotes hr {
border: 1px solid silver;
}
div.navheader th, div.navheader td, div.navfooter td {
font-family: sans-serif;
font-size: 0.9em;
font-weight: bold;
color: #527bbd;
}
div.navheader img, div.navfooter img {
border-style: none;
}
div.navheader a, div.navfooter a {
font-weight: normal;
}
div.navfooter hr {
border: 1px solid silver;
}
body td {
line-height: 1.2
}
body th {
line-height: 1.2;
}
ol {
line-height: 1.2;
}
ul, body dir, body menu {
line-height: 1.2;
}
html {
margin: 0;
padding: 0;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
margin-left: 0
}
body pre {
margin: 0.5em 10% 0.5em 1em;
line-height: 1.0;
color: navy;
}
tt.literal, code.literal {
color: navy;
}
.programlisting, .screen {
border: 1px solid silver;
background: #f4f4f4;
margin: 0.5em 10% 0.5em 0;
padding: 0.5em 1em;
}
div.sidebar {
background: #ffffee;
margin: 1.0em 10% 0.5em 0;
padding: 0.5em 1em;
border: 1px solid silver;
}
div.sidebar * { padding: 0; }
div.sidebar div { margin: 0; }
div.sidebar p.title {
margin-top: 0.5em;
margin-bottom: 0.2em;
}
div.bibliomixed {
margin: 0.5em 5% 0.5em 1em;
}
div.glossary dt {
font-weight: bold;
}
div.glossary dd p {
margin-top: 0.2em;
}
dl {
margin: .8em 0;
line-height: 1.2;
}
dt {
margin-top: 0.5em;
}
dt span.term {
font-style: normal;
color: navy;
}
div.variablelist dd p {
margin-top: 0;
}
div.itemizedlist li, div.orderedlist li {
margin-left: -0.8em;
margin-top: 0.5em;
}
ul, ol {
list-style-position: outside;
}
div.sidebar ul, div.sidebar ol {
margin-left: 2.8em;
}
div.itemizedlist p.title,
div.orderedlist p.title,
div.variablelist p.title
{
margin-bottom: -0.8em;
}
div.revhistory table {
border-collapse: collapse;
border: none;
}
div.revhistory th {
border: none;
color: #527bbd;
font-family: tahoma, verdana, sans-serif;
}
div.revhistory td {
border: 1px solid silver;
}
/* Keep TOC and index lines close together. */
div.toc dl, div.toc dt,
div.list-of-figures dl, div.list-of-figures dt,
div.list-of-tables dl, div.list-of-tables dt,
div.indexdiv dl, div.indexdiv dt
{
line-height: normal;
margin-top: 0;
margin-bottom: 0;
}
/*
Table styling does not work because of overriding attributes in
generated HTML.
*/
div.table table,
div.informaltable table
{
margin-left: 0;
margin-right: 5%;
margin-bottom: 0.8em;
}
div.informaltable table
{
margin-top: 0.4em
}
div.table thead,
div.table tfoot,
div.table tbody,
div.informaltable thead,
div.informaltable tfoot,
div.informaltable tbody
{
/* No effect in IE6. */
border-top: 3px solid #527bbd;
border-bottom: 3px solid #527bbd;
}
div.table thead, div.table tfoot,
div.informaltable thead, div.informaltable tfoot
{
font-weight: bold;
}
div.mediaobject img {
margin-bottom: 0.8em;
}
div.figure p.title,
div.table p.title
{
margin-top: 1em;
margin-bottom: 0.4em;
}
div.calloutlist p
{
margin-top: 0em;
margin-bottom: 0.4em;
}
@media print {
div.navheader, div.navfooter { display: none; }
}
span.aqua { color: aqua; }
span.black { color: black; }
span.blue { color: blue; }
span.fuchsia { color: fuchsia; }
span.gray { color: gray; }
span.green { color: green; }
span.lime { color: lime; }
span.maroon { color: maroon; }
span.navy { color: navy; }
span.olive { color: olive; }
span.purple { color: purple; }
span.red { color: red; }
span.silver { color: silver; }
span.teal { color: teal; }
span.white { color: white; }
span.yellow { color: yellow; }
span.aqua-background { background: aqua; }
span.black-background { background: black; }
span.blue-background { background: blue; }
span.fuchsia-background { background: fuchsia; }
span.gray-background { background: gray; }
span.green-background { background: green; }
span.lime-background { background: lime; }
span.maroon-background { background: maroon; }
span.navy-background { background: navy; }
span.olive-background { background: olive; }
span.purple-background { background: purple; }
span.red-background { background: red; }
span.silver-background { background: silver; }
span.teal-background { background: teal; }
span.white-background { background: white; }
span.yellow-background { background: yellow; }
span.big { font-size: 2em; }
span.small { font-size: 0.6em; }

View File

@ -113,13 +113,13 @@ ul, body dir, body menu {
}
html {
margin: 0;
margin: 0;
padding: 0;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
margin-left: 0
}
}
body pre {
margin: 0.5em 10% 0.5em 1em;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!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>warzone2100</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /></head><body><div xml:lang="en" class="refentry" title="warzone2100" lang="en"><a id="idp4447680"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>warzone2100 — 3D real time strategy game</p></div><div class="refsynopsisdiv" title="Synopsis"><a id="_synopsis"></a><h2>Synopsis</h2><p><span class="strong"><strong>warzone2100</strong></span> [<span class="emphasis"><em>OPTIONS</em></span>]</p></div><div class="refsect1" title="DESCIPTION"><a id="_desciption"></a><h2>DESCIPTION</h2><p>This manual page documents briefly the warzone2100 command.</p><p>Warzone 2100 is a 3D science fiction real time strategy game.</p></div><div class="refsect1" title="OPTIONS"><a id="_options"></a><h2>OPTIONS</h2><p>Note: In contrast to older versions option parameters need a <span class="emphasis"><em>=</em></span>, space doesnt
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>warzone2100</title><link rel="stylesheet" type="text/css" href="../docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /></head><body><div xml:lang="en" class="refentry" title="warzone2100" lang="en"><a id="idp848"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>warzone2100 — 3D real time strategy game</p></div><div class="refsynopsisdiv" title="Synopsis"><a id="_synopsis"></a><h2>Synopsis</h2><p><span class="strong"><strong>warzone2100</strong></span> [<span class="emphasis"><em>OPTIONS</em></span>]</p></div><div class="refsect1" title="DESCIPTION"><a id="_desciption"></a><h2>DESCIPTION</h2><p>This manual page documents briefly the warzone2100 command.</p><p>Warzone 2100 is a 3D science fiction real time strategy game.</p></div><div class="refsect1" title="OPTIONS"><a id="_options"></a><h2>OPTIONS</h2><p>Note: In contrast to older versions option parameters need a <span class="emphasis"><em>=</em></span>, space doesnt
work anymore.</p><div class="variablelist"><dl><dt><span class="term">
<span class="strong"><strong>--cheat</strong></span>
</span></dt><dd>

View File

@ -4137,7 +4137,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "export PATH=$PATH:/sw/bin:/opt/local/bin:/usr/local/bin\n\n# Config\nmWarzoneHelp=\"macosx/Resources/WarzoneHelp/Contents/Resources\"\nmWarzoneHelpLproj=\"${mWarzoneHelp}/en.lproj\"\n\ncd \"${SRCROOT}/..\"\n\n# asciidoc based docs\nif type -aP a2x; then\n\t# quickstartguide\n mkdir -p \"${mWarzoneHelpLproj}\"\n\ta2x -f chunked -D \"${mWarzoneHelpLproj}\" doc/quickstartguide.asciidoc\n\tcp -af ${mWarzoneHelpLproj}/quickstartguide.chunked/* ${mWarzoneHelpLproj}\n\trm -fr ${mWarzoneHelpLproj}/quickstartguide.chunked\n rm -fr ${mWarzoneHelp}/images\n mv ${mWarzoneHelpLproj}/*.css ${mWarzoneHelpLproj}/images ${mWarzoneHelp}\n sed -i '' -e 's%href=\"\\([a-z\\-]*\\).css%href=\"../\\1.css%g' ${mWarzoneHelpLproj}/*.html\n sed -i '' -e 's%src=\"images/%src=\"../images/%g' ${mWarzoneHelpLproj}/*.html\n\n\t# man page\n\ta2x -f xhtml -d manpage -D \"${mWarzoneHelpLproj}\" doc/warzone2100.6.asciidoc\nelse\n\techo \"error: no suitable a2x (asciidoc) in path\"\n\texit 1\nfi\n\n# LaTeX based docs\nif type -aP pdflatex; then\n\t# javascript doc\n\tgrep src/qtscript.cpp -e '//==' | sed 's://==::' > doc/globals.tex\n\tgrep src/qtscript.cpp -e '//__' | sed 's://__::' > doc/events.tex\n\tgrep src/qtscript.cpp -e '//--' | sed 's://--::' > doc/functions.tex\n\tgrep src/qtscriptfuncs.cpp -e '//--' | sed 's://--::' >> doc/functions.tex\n\tgrep src/qtscriptfuncs.cpp -e '//;;' | sed 's://;;::' > doc/objects.tex\n\tcd doc/\n\tpdflatex javascript.tex\n\tcd ..\n\tcp -af doc/javascript.pdf ${mWarzoneHelp}\nelse\n\techo \"error: no suitable pdflatex (tetex) in path\"\n\texit 1\nfi\n\nexit 0\n";
shellScript = "export PATH=$PATH:/sw/bin:/opt/local/bin:/usr/local/bin\n\n# Config\nmWarzoneHelp=\"macosx/Resources/WarzoneHelp/Contents/Resources\"\nmWarzoneHelpLproj=\"${mWarzoneHelp}/en.lproj\"\n\ncd \"${SRCROOT}/..\"\n\n# asciidoc based docs\nif type -aP a2x; then\n\t# quickstartguide\n mkdir -p \"${mWarzoneHelpLproj}\"\n\ta2x -f chunked -D \"${mWarzoneHelpLproj}\" doc/quickstartguide.asciidoc\n\tcp -af ${mWarzoneHelpLproj}/quickstartguide.chunked/* ${mWarzoneHelpLproj}\n\trm -fr ${mWarzoneHelpLproj}/quickstartguide.chunked\n\n\t# man page\n\ta2x -f xhtml -d manpage -D \"${mWarzoneHelpLproj}\" doc/warzone2100.6.asciidoc\n\t\n\t# Cleanup\n cp -af \"${mWarzoneHelpLproj}/docbook-xsl.css\" \"${mWarzoneHelpLproj}/images\" ${mWarzoneHelp}\n rm -fr \"${mWarzoneHelpLproj}/docbook-xsl.css\" \"${mWarzoneHelpLproj}/images\"\n sed -i '' -e 's:href=\"\\([a-z\\-]*\\).css:href=\"../\\1.css:g' ${mWarzoneHelpLproj}/*.html\n sed -i '' -e 's:src=\"images/:src=\"../images/:g' ${mWarzoneHelpLproj}/*.html\nelse\n\techo \"error: no suitable a2x (asciidoc) in path\"\n\texit 1\nfi\n\n# LaTeX based docs\nif type -aP pdflatex; then\n\t# javascript doc\n\tgrep src/qtscript.cpp -e '//==' | sed 's://==::' > doc/globals.tex\n\tgrep src/qtscript.cpp -e '//__' | sed 's://__::' > doc/events.tex\n\tgrep src/qtscript.cpp -e '//--' | sed 's://--::' > doc/functions.tex\n\tgrep src/qtscriptfuncs.cpp -e '//--' | sed 's://--::' >> doc/functions.tex\n\tgrep src/qtscriptfuncs.cpp -e '//;;' | sed 's://;;::' > doc/objects.tex\n\tcd doc/\n\tpdflatex javascript.tex\n\tcd ..\n\tcp -af doc/javascript.pdf ${mWarzoneHelpLproj}\nelse\n\techo \"error: no suitable pdflatex (tetex) in path\"\n\texit 1\nfi\n\nexit 0\n";
};
435AE76714B55AE000B01C85 /* Doc Index */ = {
isa = PBXShellScriptBuildPhase;