Skip to content
Snippets Groups Projects
Commit 268a2aa9 authored by Michael Jastram's avatar Michael Jastram
Browse files

Initial import of Rodin Handbook Project.

git-svn-id: svn://svn.code.sf.net/p/rodin-b-sharp/svn/trunk/Handbook@11749 1434b563-b632-4741-aa49-43a3a8374d2e
parent 0bbba644
No related branches found
No related tags found
No related merge requests found
Showing
with 198 additions and 0 deletions
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.rodinp.handbook.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
OVERVIEW
========
This project holds the Rodin Handbook and the scripts to publish it.
This feature has two purposes:
1. A container for the content and scripts for the Rodin Handbook
2. A feature that includes the documentation into Eclipse.
HOW TO BUILD
============
1. Install Plastex on your system (http://plastex.sourceforge.net/)
2. Run the build.xml ant file
The resulting HTML and Eclipse Plugin with Eclipse help will be in the build folder.
CONTACT
=======
Michael Jastram (michael@jastram.de)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html tal:define="links self/links" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="generator" content="plasTeX" />
<meta http-equiv="content-type"
tal:attributes="content string:text/html;; charset=${config/files/output-encoding}" />
<title tal:condition="python:path('self/level') &gt; -10" tal:content="stripped string:${links/document/title}: ${self/title}">Morbi metus pede, imperdiet vitae</title>
<title tal:condition="python:path('self/level') &lt;= -10" tal:content="stripped self/title">Morbi metus pede, imperdiet vitae</title>
<link tal:condition="links/next" rel="next" tal:attributes="href links/next/url; title links/next/title/textContent" />
<link tal:condition="links/prev" rel="prev" tal:attributes="href links/prev/url; title links/prev/title/textContent" />
<link tal:condition="links/up" rel="up" tal:attributes="href links/up/url; title links/up/title/textContent" />
<link rel="stylesheet" href="styles/styles.css" />
</head>
<body>
<div tal:content="self">File contents</div>
<div tal:condition="self/tableofcontents" tal:attributes="class string:contents ${self/nodeName}-contents"><!--<strong>Subsections</strong>-->
<ul>
<li tal:repeat="section self/tableofcontents"><a href="." tal:attributes="href section/url" tal:content="section/fullTocEntry">Aliquam est. Aliquam fringilla pede</a>
<ul tal:condition="section/tableofcontents">
<li tal:repeat="subsection section/tableofcontents"><a href="." tal:attributes="href subsection/url" tal:content="subsection/fullTocEntry"></a>
<ul tal:condition="subsection/tableofcontents">
<li tal:repeat="subsubsection subsection/tableofcontents"><a href="." tal:attributes="href subsubsection/url" tal:content="subsubsection/fullTocEntry"></a>
<ul tal:condition="subsubsection/tableofcontents">
<li tal:repeat="paragraph subsubsection/tableofcontents"><a href="." tal:attributes="href paragraph/url" tal:content="paragraph/fullTocEntry"></a>
<ul tal:condition="paragraph/tableofcontents">
<li tal:repeat="subparagraph paragraph/tableofcontents"><a href="." tal:attributes="href subparagraph/url" tal:content="subparagraph/fullTocEntry"></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li tal:replace="nothing"><a href=".">Maecenas id purus</a></li>
<li tal:replace="nothing"><a href=".">Duis et eros</a></li>
<li tal:replace="nothing"><a href=".">Duis est</a></li>
</ul>
</div>
<div id="footnotes" tal:condition="self/footnotes">
<p><b>Footnotes</b></p>
<ol>
<li tal:repeat="footnote self/footnotes" tal:content="footnote" tal:attributes="id footnote/id">footnote text</li>
</ol>
</div>
<script language="javascript" src="icons/imgadjust.js" type="text/javascript"></script>
</body>
</html>
org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/blank.gif

47 B

function addEvent(elm, evType, fn, useCapture) {
if (elm.addEventListener) {
elm.addEventListener(evType, fn, useCapture);
return true;
}
else if (elm.attachEvent) {
var r = elm.attachEvent('on' + evType, fn);
EventCache.add(elm, evType, fn);
return r;
}
else {
elm['on' + evType] = fn;
}
}
function getEventSrc(e) {
if (!e) e = window.event;
if (e.originalTarget)
return e.originalTarget;
else if (e.srcElement)
return e.srcElement;
}
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload =
function() {
oldonload();
func();
}
}
}
var EventCache = function(){
var listEvents = [];
return {
listEvents : listEvents,
add : function(node, sEventName, fHandler, bCapture){
listEvents.push(arguments);
},
flush : function(){
var i, item;
for(i = listEvents.length - 1; i >= 0; i = i - 1){
item = listEvents[i];
if(item[0].removeEventListener){
item[0].removeEventListener(item[1], item[2], item[3]);
};
/* From this point on we need the event names to be prefixed with 'on" */
if(item[1].substring(0, 2) != "on"){
item[1] = "on" + item[1];
};
if(item[0].detachEvent){
item[0].detachEvent(item[1], item[2]);
};
item[0][item[1]] = null;
};
}
};
}();
addEvent(window,'unload',EventCache.flush, false);
\ No newline at end of file
org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-bottom.gif

359 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-down.gif

344 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-first.gif

580 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-home.gif

604 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-jump.gif

327 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-last.gif

580 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-next.gif

335 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-previous.gif

336 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-top.gif

360 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/go-up.gif

336 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/gohome.gif

604 B

//
// This code fixes up the images so that MSIE doesn't truncate images
// within tables. It also adjusts the line height so that it's prettier.
//
var images = document.getElementsByTagName('img')
var adjusted = new Array();
for ( var i = 0; i < images.length; i++ )
{
image = images[i];
if ( parseInt(image.style.marginBottom) < -8 )
{
if ( !image.height )
continue;
// Make sure that images in IE in tables don't get truncated
ieimgfix = document.createElement('img');
ieimgfix.src = 'iicons/blank.gif';
ieimgfix.style.height = image.style.height;
ieimgfix.style.width = '0px';
// Adjust line height to be prettier
adjust = document.createElement('span');
adjust.style.lineHeight = (parseInt(image.style.height) - 8) + 'px';
adjust.style.visibility = 'hidden';
adjust.nodeValue = '&8205;';
// Store away the nodes for use later
adjusted[image.parentNode] = new Array(image.parentNode, image,
ieimgfix, adjust);
}
}
// Insert the adjuster nodes
for ( var n in adjusted )
{
adjusted[n][0].insertBefore(adjusted[n][2], adjusted[n][1]);
adjusted[n][0].insertBefore(adjusted[n][3], adjusted[n][1]);
}
org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/index.gif

221 B

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/loading.gif

2.31 KiB

org.rodinp.handbook.feature/XHTML/Themes/rodin-theme-eclipse/icons/missing.gif

627 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment