Commit 11d890ee authored by claes's avatar claes

*** empty log message ***

parent 68a86607
body {
background: #FFFFFF;
font-family: luxi sans,sans-serif;
}
h1, h2, h3, h4, h5 {
color: #800000;
font-family: sans-serif;
}
span.term {
font-weight: bold;
}
div.sidebar {
background: #F0F0F0;
border: 1px solid gray;
padding: 5px;
margin: 20px;
}
.caution, .warning {
border: 1px solid #f00;
}
.caution {
font-size: 1.2em;
}
/*
a {
text-decoration: none;
border-bottom: 1px dotted #000;
} */
a:hover {
background-color: #777;
color: #fff;
}
.screen {
font-family: monospace;
font-size: 1em;
display: block;
padding: 10px;
border: 1px solid #bbb;
background-color: #eee;
color: #000;
overflow: auto;
border-radius: 2.5px;
-moz-border-radius: 2.5px;
margin: 0.5em 2em;
}
.programlisting {
font-family: monospace;
font-size: 1em;
display: block;
padding: 10px;
border: 1px solid #bbb;
background-color: #eee;
color: #000;
overflow: auto;
border-radius: 2.5px;
-moz-border-radius: 2.5px;
margin: 0.5em 2em;
}
pre.programlisting {
/*background: #F0F0F0;*/
border: 1px solid gray;
padding: 2px;
font-size: 10pt;
white-space: pre;
}
.pwrenv {font-variant: small-caps;}
.pwrclass {font-weight: bold;}
.pwrattr {font-style: italic;}
.classname {
/* font-family: luxi sans,sans-serif; */
font-weight: bold;}
.property {font-style: italic;}
/* Generously donated from KDE.. :) */
/*
KDE-wide default CSS for HTML documentation (all media types).
Copyright (C) 2000 Frederik Fouvry
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301 USA
Send comments, suggestions, etc. to Frederik Fouvry
<fouvry@sfs.nphil.uni-tuebingen.de>. */
/*
Important note: these setting may be overridden by localised CSS. Do not
add here any localization-sensitive style declarations.
Any updates should be validated, e.g. http://jigsaw.w3.org/css-validator/ */
/* Note: "should be inherit" means that in a proper browser inherit should work.
Somehow Netscape manages to interpret "inherit" as bright green.
Yuck. */
/*
body {
background: white none;
color: black;
font-family: sans-serif;
padding: 0;
margin: 0;
}
*/
.legalnotice, .copyright {
padding: 0;
margin: 0;
}
.abstract {
font-weight: bolder;
padding-right: 1em;
}
.toc, .list-of-tables {
padding-left: 1em;
}
.sect1, .chapter, .synopsis, .appendix, .preface, .article, .refsect1, .index, .glossary, .section {
padding: 1em;
}
.toc .chapter {
padding: 0em 0em 0em 1em;
}
.author {
color: rgb(82,80,82);
font-weight: bolder;
padding: 0;
margin: 0;
}
.othercredit {
line-height: 1em;
}
.chapter .sect1, .chapter .titlepage, .sect1 .titlepage, .article .titlepage {
padding: 0em;
}
.titlepage {
padding-left: 1em;
padding-right: 1em;
}
/* Links in Navigation */
.navLeft a:link, .navCenter a:link, .navRight a:link, .header a:link, .header a:visited, .bottom-nav a:link, .bottom-nav a:visited {
color: #41597A;
font-weight: bold;
}
/* Nice link colors for the main text */
:link {
color: #41597A;
}
:visited {
color: #597ba8;
}
.navLeft {
position: absolute;
left: 20px;
}
.navRight {
position: absolute;
right: 20px;
}
.navCenter {
text-align: center;
align: center;
}
.bannerBottomLeft {
position: absolute; left: 0px;
}
.bannerBottomRight {
position: absolute; right: 0px;
}
.header {
background: #3E91EB none;
border-bottom: 1px solid #206dcd;
border-top: 1px solid white;
color: white;
font-size: small;
height: 1.7em;
line-height: 1em;
margin: 0px;
padding-bottom: 0px;
padding-left: 1em;
padding-right: 0px;
padding-top: 0px;
vertical-align: middle;
}
.bottom-nav {
background-color: #3E91EB;
border-bottom: 1px solid #206dcd;
border-top: 1px solid white;
color: white;
font-size: small;
height: 1.7em;
line-height: 1em;
margin: 0px;
padding-bottom: 0px;
padding-left: 1em;
padding-right: 0px;
padding-top: 10px;
vertical-align: middle;
}
/*
#logo {
background: url('kde_logo_bg.png') transparent repeat;
}
*/
/* A little bit of padding makes the tables for keybindings etc much easier to read */
table {
padding: 5px;
}
dl {
margin-top: 0em;
margin-bottom: 0.5em;
}
dt {
margin-top: 1em;
}
div.toc dt {
margin-top: 0px;
}
div.screenshot {
margin-bottom: 1em;
margin-top: 1em;
}
div.informalexample {
border-style: dotted;
padding: 10px;
}
/* But no padding for navigation elements */
.toplogo, .navbackground {
padding: 0px;
}
table.programlisting
table.screen {
border-style: none;
background-color: rgb(224,224,224);
table-layout: auto; /* 100%? */
color: rgb(0,0,0); /* should be inherit */
}
/* Same as previous block, but more general (previous is HTML only)
Not all browsers understand this yet.
TABLE[class~=programlisting]
TABLE[class~=screen] { border-style: none;
background-color: rgb(224,224,224);
table-layout: auto;
color: inherit;
}
*/
p {
// text-align: justify;
// text-indent: 2em;
}
/* More specific settings */
/* Temporary patch: browsers break on bad HTML */
/* P, H1, H2, H3, H4, H5, TD, TH { font-family: Helvetica, Arial, sans-serif;
} */
/*
p, h1, h2, h3, h4, h5, h6, td, th {
font-family: sans-serif;
}
*/
/* Visual cues for GUI elements etc in the text */
.guimenu, .guimenuitem, .guisubmenu {
background-color: rgb(250,250,250);
color: rgb(0,0,0); /* should be inherit */
}
.guilabel, .interface, .guibutton {
background-color: rgb(250,250,250);
color: rgb(0,0,0); /* should be inherit */
}
.shortcut {
background-color: rgb(250,250,250);
color: rgb(0,0,0); /* should be inherit */
}
.shortcut .keycap {
background-color: rgb(250,250,250);
color: rgb(0,0,0); /* should be inherit */
}
.question {
font-weight: bolder;
}
.accel {
background-color: rgb(250,250,250);
color: rgb(0,0,0);
text-decoration: underline;
}
.option, .command {
background-color: transparent; //rgb(255,255,255);
color: rgb(0,96,160);
font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
color: #363636; //rgb(82,80,82);
background-color: transparent;
}
.arg, .parameter, .replaceable {
background-color: transparent; //rgb(255,255,255);
color: rgb(0,128,64);
font-style: italic;
}
/*
.screen, .programlisting {
background-color: rgb(250,250,250);
color: rgb(0,0,0); /* should be inherit */
border-style: dotted;
border-color: rgb(0,0,0);
border-width: thin;
padding: 5px;
}
*/
/* This one is set in inches because the admonitions are set in inches
and they're more difficult to change. We can live with it in here,
for the meantime, it gives consistent margins */
.example {
margin-left: 0.5in;
margin-right: 0.5in;
}
div.mediaobject {
/* float: right; */
/* might make it much nicer. although someone has to
understand the rules ;-) You also don't want it to be
surrounded by text it doesn't refer to ... But that
may be among others a question of writing style. */
/*text-align: center; /* a bit of a hack: it should
position _images_ */
}
.caption {
margin: 0em 2em 3em 2em;
text-align: center;
}
.inlinemediaobject {
vertical-align: baseline;
padding-right: 1em;
padding-left: 1em;
}
/* An idea that could be nice: a search engine looking for specific
classes could display them in some conspicuous color. All that is
needed is an on the fly generated style element/style sheet. */
/* Only used in the hand-made HTML license texts */
body.license {
background-color: rgb(255,255,255);
text-align: justify;
color: rgb(0,0,0);
}
pre.license {
background-color: rgb(255,255,255);
font-family: monospace;
color: rgb(0,0,0);
}
<!-- This entity declaration file sets up entities for Proview environments -->
<!ENTITY Proview "<application>Proview</application>">
<!ENTITY pwrprojlist "<application role='pwrenv'>ProjectList</application>">
<!ENTITY pwrvollist "<application role='pwrenv'>VolumeList</application>">
<!ENTITY pwrdirectory "<application role='pwrenv'>Directory</application>">
<!ENTITY pwrvolume "<application role='pwrenv'>Volume</application>">
<!ENTITY pwrxtt "<application role='pwrenv'>Xtt</application>">
<!ENTITY pwrsite "http://www.proview.se">
This diff is collapsed.
This diff is collapsed.
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- Import basic html stylesheet -->
<xsl:import href="/usr/local/share/xml/docbook/stylesheet/snapshot/html/chunk.xsl"/>
<!-- Include common-customization stylesheet -->
<xsl:include href="pwrxsl-common.xsl" />
<xsl:include href="pwrxsl-html-common.xsl" />
<!--<xsl:param name="base.dir" select="'chunkoutput/'"></xsl:param>--> <!-- Define chunk output directory -->
<!--
<xsl:param name="chunk.fast" select="1"></xsl:param>
-->
<xsl:param name="use.id.as.filename" select="1"/>
<xsl:param name="chunk.section.depth" select="1"></xsl:param>
<xsl:param name="chunk.first.sections" select="1"></xsl:param>
<xsl:param name="suppress.navigation" select="0"></xsl:param>
<xsl:param name="suppress.header.navigation" select="0"></xsl:param>
<xsl:param name="suppress.footer.navigation" select="0"></xsl:param>
<xsl:param name="header.rule" select="1"></xsl:param>
<xsl:param name="footer.rule" select="1"></xsl:param>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- Paths, graphics, extensions etc -->
<xsl:param name="use.extensions" select="'1'"></xsl:param>
<!-- Formatting options -->
<xsl:param name="emphasis.propagates.style" select="1"></xsl:param>
<xsl:param name="phrase.propagates.style" select="1"></xsl:param>
<xsl:param name="para.propagates.style" select="1"></xsl:param>
<xsl:param name="chapter.autolabel" select="1"></xsl:param> <!-- "1" could also be A, I, i, a for alphanumeric, roman etc.. -->
<xsl:param name="generate.section.toc.level" select="1"></xsl:param>
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="section.label.includes.component.label" select="1"/>
<xsl:param name="section.autolabel.max.depth" select="2"></xsl:param>
<xsl:param name="menuchoice.menu.separator"></xsl:param>
<xsl:param name="menuchoice.separator" select="'+'"></xsl:param>
<!-- tweak to change classname from monospace to regular. This overrides the template in inline.xsl, where inline.monoseq is called instead. -->
<xsl:template match="classname">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<!-- Import basic fo stylesheet-->
<xsl:import href="/usr/local/share/xml/docbook/stylesheet/snapshot/fo/docbook.xsl"/>
<!-- Import customized titlepage stylesheet-->
<xsl:include href="pwrtitlepages.xsl"/>
<!-- Include common-customization stylesheet -->
<xsl:include href="pwrxsl-common.xsl" />
<!-- Set fo specific parameters -->
<xsl:param name="paper.type" select="'A4'"/>
<xsl:param name="preferred.mediaobject.role" select="'fo'"/>
<xsl:param name="fop1.extensions" select="1"/>
<xsl:param name="double.sided" select="0"></xsl:param>
<xsl:param name="draft.mode" select="'maybe'"></xsl:param>
<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"></xsl:param>
<!-- Section title font sizes -->
<xsl:attribute-set name="section.title.level1.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.6"/>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="section.title.level2.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.3"/>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="section.title.level3.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.2"/>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="section.title.level4.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.1"/>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
<!-- Graphics-related -->
<xsl:template match="*" mode="admon.graphic.width">
<xsl:text>24pt</xsl:text>
</xsl:template>
<xsl:param name="img.src.path">../src/</xsl:param>
<xsl:param name="callout.graphics" select="1"></xsl:param>
<xsl:param name="callout.graphics.path">../src/</xsl:param>
<xsl:param name="callout.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.graphics.path">../src/</xsl:param>
<xsl:param name="admon.graphics.extension" select="'.png'"/>
<!-- fo formatting. For html output, this is done in the css-->
<xsl:template match="application[@role = 'pwrenv']">
<fo:inline font-family="sans-serif">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>
<xsl:template match="classname">
<fo:inline font-weight="bold">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>
<xsl:template match="property">
<fo:inline font-style="italic">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>
<!-- slightly tweaked version of menuchoice template, see change comment below -->
<xsl:template name="process.menuchoice">
<xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) -->
<xsl:param name="count" select="1"/>
<xsl:variable name="mm.separator">
<xsl:choose>
<xsl:when test="($fop.extensions != 0 or $fop1.extensions != 0) and
contains($menuchoice.menu.separator, '&#x2192;')"> <!-- or fop1 added here -->
<fo:inline font-family="Symbol">
<xsl:copy-of select="$menuchoice.menu.separator"/>
</fo:inline>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$menuchoice.menu.separator"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:choose>
<xsl:when test="$count>count($nodelist)"></xsl:when>
<xsl:when test="$count=1">
<xsl:apply-templates select="$nodelist[$count=position()]"/>
<xsl:call-template name="process.menuchoice">
<xsl:with-param name="nodelist" select="$nodelist"/>
<xsl:with-param name="count" select="$count+1"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="node" select="$nodelist[$count=position()]"/>
<xsl:choose>
<xsl:when test="name($node)='guimenuitem'
or name($node)='guisubmenu'">
<xsl:copy-of select="$mm.separator"/>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$menuchoice.separator"/>
</xsl:otherwise>
</xsl:choose>
<xsl:apply-templates select="$node"/>
<xsl:call-template name="process.menuchoice">
<xsl:with-param name="nodelist" select="$nodelist"/>
<xsl:with-param name="count" select="$count+1"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- Set html-common parameters -->
<xsl:param name="img.src.path">../</xsl:param>
<xsl:param name="callout.graphics" select="1"></xsl:param>
<xsl:param name="callout.graphics.path">../</xsl:param>
<xsl:param name="callout.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.graphics.path">../</xsl:param>
<xsl:param name="admon.graphics.extension" select="'.png'"/>
<xsl:param name="navig.graphics" select="1"></xsl:param>
<xsl:param name="navig.graphics.extension" select="'.gif'"/>
<xsl:param name="navig.graphics.path">../</xsl:param>
<xsl:param name="html.stylesheet" select="'pwrdoc.css'"/> <!-- Define css for html files -->
<xsl:param name="keep.relative.image.uris" select="0"/>
<xsl:param name="preferred.mediaobject.role" select="'html'"/>
<xsl:template match="*" mode="admon.graphic.width">
<xsl:text>32pt</xsl:text>
</xsl:template>
<!-- tweak to allow css pickup of pwrenv span class -->
<xsl:template match="application">
<xsl:choose>
<xsl:when test="@role='pwrenv'">
<span>
<xsl:attribute name="class">
<xsl:text>pwrenv</xsl:text>
</xsl:attribute>
<xsl:apply-templates/>
</span>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="inline.charseq"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- Import basic html stylesheet -->
<xsl:import href="/usr/local/share/xml/docbook/stylesheet/snapshot/html/docbook.xsl"/>
<!-- Include common-customization stylesheet -->
<xsl:include href="pwrxsl-common.xsl" />
<xsl:include href="pwrxsl-html-common.xsl" />
</xsl:stylesheet>
\ No newline at end of file
<?xml version="1.0"?>
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
<uri resource="dbpwr_utdata.xml" typeId="DocBook"/>
<uri resource="dbpwr_exempel.xml" typeId="DocBook"/>
<uri resource="dbpwr_omdocbook.xml" typeId="DocBook"/>
<uri resource="dbpwr_intro.xml" typeId="DocBook"/>
<uri resource="dbpwr_omdokumentet.xml" typeId="DocBook"/>
<uri resource="dbpwr.xml" uri="/usr/local/share/emacs/21.4/site-lisp/nxml-mode-20041004/schema/docbookxi.rnc"/>
</locatingRules>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment