convert html to xhtml

svn path=/trunk/gtk-sharp/; revision=9007
This commit is contained in:
Johannes Roith 2002-11-16 13:03:27 +00:00
parent 79f298f823
commit 55f3471f6d
6 changed files with 386 additions and 193 deletions

View file

@ -1,42 +1,59 @@
<html> <!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> <head>
<title>Emacs</title> <title>Emacs</title>
<link rel="stylesheet" type="text/css" href="../style.css" />
</head> </head>
<body> <body>
<link rel="stylesheet" type="text/css" href="../style.css" />
<h1>Emacs</h1> <h1>Emacs</h1>
<a id="introduction"><h2>Introduction</h2></a> <h2><a id="introduction">Introduction</a></h2>
Emacs is a general purpose editor ie. not an IDE specificaly designed for .net and c#.
<br>It is my experience that Emacs along with Glade and the Mono tools makes a powerfull and productive development environment. Emacs is a general purpose editor ie. not an IDE specificaly
<p>Strengths about emacs: designed for .net and c#. <br />
It is my experience that Emacs along with Glade and the Mono
tools makes a powerfull and productive development environment.
<p>Strengths about emacs:</p>
<ul> <ul>
<li>Has support for almost every programming language you can mention <li>Has support for almost every programming language you can
<li>Is portable and thus available at all major computing platforms. mention</li>
<li>Easily extendable.
<li>Its free software. <li>Is portable and thus available at all major computing
platforms.</li>
<li>Easily extendable.</li>
<li>Its free software.</li>
</ul> </ul>
For more information about emacs refer to <a href="http://www.gnu.org/software/emacs/emacs.html">this</a> For more information about emacs refer to <a
href="http://www.gnu.org/software/emacs/emacs.html">this</a>
<h2><a id="modes">Modes</a></h2>
<a id="modes"><h2>Modes</h2></a> By default there is no c# mode available in emacs (21.2). Luckily
By default there is no c# mode available in emacs (21.2). there is some third party modes available here:
Luckily there is some third party modes available here:
<ul> <ul>
<li><a href="http://davh.dk/script/">davh.dk</a> <li><a href="http://davh.dk/script/">davh.dk</a></li>
<li><a href="http://www.cybercom.net/~zbrad/DotNet/Emacs/">www.cybercom.net</a>
<li><a
href="http://www.cybercom.net/~zbrad/DotNet/Emacs/">www.cybercom.net</a></li>
</ul> </ul>
<a id="qae"><h2>Questions and exercises</h2></a> <h2><a id="qae">Questions and exercises</a></h2>
<ol> <ol>
<li>Write HelloWorld.cs with emacs. <li>Write HelloWorld.cs with emacs.</li>
<li>Note which special features each c# mode has and compare them.
<li>Note which special features each c# mode has and compare
them.</li>
</ol> </ol>
<a id="credits"><h2>Credits</h2></a> <h2><a id="credits">Credits</a></h2>
Author: <a href="mailto:mwh at sysrq.dk">Martin Willemoes Hansen</a>
Author: <a href="mailto:mwh%20at%20sysrq.dk">Martin Willemoes
Hansen</a>
</body> </body>
</html> </html>

View file

@ -1,89 +1,133 @@
<html> <!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> <head>
<title>The Gnome.NET Tutorial</title> <title>The Gnome.NET Tutorial</title>
</head> </head>
<body> <body>
<center> <center>
<h1>The Gnome.NET Tutorial First Edition</h1> <h1>The Gnome.NET Tutorial First Edition</h1>
<h2>A Much Needed Room For Breath</h2> <h2>A Much Needed Room For Breath</h2>
<img src=frontpage.png> <img src="frontpage.png" />
<p><a href="writers.html">Contributors, Ideas etc</a></p>
<p><a href="writers.html">Contributors, Ideas etc</a>
<h3>Contents</h3> <h3>Contents</h3>
<table> <table>
<tr><td></td><td><b><a href="preface.html">Preface</a></b></td></tr> <tr>
<tr><td>Chapter 1</td><td><b>Mono</b></td></tr> <td></td>
<tr><td></td><td> <td><b><a href="preface.html">Preface</a></b></td>
<a href="mono.html#about">About the Mono Technology</a><br> </tr>
<a href="mono.html#mylife">How Will Mono Technology Change My Life?</a><br>
<a href="mono.html#hello">HelloWorld</a><br>
<a href="mono.html#html">Architecture</a><br>
<a href="mono.html#tools">Tools</a><br>
<a href="mono.html#kernel">Linux kernel support for binaries</a><br>
<a href="mono.html#qae">Questions and exercises</a><br>
<a href="mono.html#credits">Credits</a>
</td></tr>
<tr><td>Chapter 2</td><td><b>IDEs</b></td></tr> <tr>
<tr><td></td><td> <td>Chapter 1</td>
<a href="ide/emacs.html">Emacs</a><br> <td><b>Mono</b></td>
Eclipse<br> </tr>
#develop
</td></tr>
<tr><td>Chapter 3</td><td><b>C# bindings</b></td></tr> <tr>
<tr><td></td><td> <td></td>
Introduction<br> <td><a href="mono.html#about">About the Mono Technology</a><br />
Gtk#<br> <a href="mono.html#mylife">How Will Mono Technology Change My
Gdk#<br> Life?</a><br />
Glib#<br> <a href="mono.html#hello">HelloWorld</a><br />
Atk#<br> <a href="mono.html#html">Architecture</a><br />
Pango#<br> <a href="mono.html#tools">Tools</a><br />
Gnome#<br> <a href="mono.html#kernel">Linux kernel support for
<a href="bindings/glade/glade.html">Glade#</a><br> binaries</a><br />
GConf#<br> <a href="mono.html#qae">Questions and exercises</a><br />
Gda#<br> <a href="mono.html#credits">Credits</a></td>
Gnome-db#<br> </tr>
GStreamer#<br>
Questions and exercises
</td></tr>
<tr><td>Chapter 4</td><td><b>Testing & UI Design</b></td></tr>
<tr><td></td><td>
NUnit<br>
GNOME Human Interface Guidelines
</td></tr>
<tr><td>Chapter 5</td><td><b>Cases</b></td></tr> <tr>
<tr><td></td><td> <td>Chapter 2</td>
Same Gnome<br> <td><b>IDEs</b></td>
E-mail client<br> </tr>
Web browser<br>
Text editor
</td></tr>
<tr><td>Appendix A</td><td><b>Ressources</b></td></tr> <tr>
<tr><td></td><td> <td></td>
<a href="ressources.html#api">API References</a><br> <td><a href="ide/emacs.html">Emacs</a><br />
<a href="ressources.html#code">Code samples</a><br> Eclipse<br />
<a href="ressources.html#apps">Applications</a><br> #develop</td>
<a href="ressources.html#tutorials">Tutorials</a><br> </tr>
<a href="ressources.html#presentations">Presentations</a><br>
<a href="ressources.html#whitepapers">Whitepapers</a><br>
<a href="ressources.html#website">Websites</a><br>
<a href="ressources.html#irc">IRC</a><br>
<a href="ressources.html#books">Books</a>
</td></tr>
<tr><td>Appendix B</td><td><b>Credits</b></td></tr> <tr>
<tr><td></td><td> <td>Chapter 3</td>
Authors<br> <td><b>C# bindings</b></td>
</td></tr> </tr>
<tr>
<td></td>
<td>Introduction<br />
Gtk#<br />
Gdk#<br />
Glib#<br />
Atk#<br />
Pango#<br />
Gnome#<br />
<a href="bindings/glade/glade.html">Glade#</a><br />
GConf#<br />
Gda#<br />
Gnome-db#<br />
GStreamer#<br />
Questions and exercises</td>
</tr>
<tr>
<td>Chapter 4</td>
<td><b>Testing &amp; UI Design</b></td>
</tr>
<tr>
<td></td>
<td>NUnit<br />
GNOME Human Interface Guidelines</td>
</tr>
<tr>
<td>Chapter 5</td>
<td><b>Cases</b></td>
</tr>
<tr>
<td></td>
<td>Same Gnome<br />
E-mail client<br />
Web browser<br />
Text editor</td>
</tr>
<tr>
<td>Appendix A</td>
<td><b>Ressources</b></td>
</tr>
<tr>
<td></td>
<td><a href="ressources.html#api">API References</a><br />
<a href="ressources.html#code">Code samples</a><br />
<a href="ressources.html#apps">Applications</a><br />
<a href="ressources.html#tutorials">Tutorials</a><br />
<a href="ressources.html#presentations">Presentations</a><br />
<a href="ressources.html#whitepapers">Whitepapers</a><br />
<a href="ressources.html#website">Websites</a><br />
<a href="ressources.html#irc">IRC</a><br />
<a href="ressources.html#books">Books</a></td>
</tr>
<tr>
<td>Appendix B</td>
<td><b>Credits</b></td>
</tr>
<tr>
<td></td>
<td>Authors<br />
</td>
</tr>
</table> </table>
</center>
</body> </body>
</html> </html>
</center>

View file

@ -1,15 +1,25 @@
<html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<body> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1>Mono</h1> <h1>Mono</h1>
<a id="about"><h2>About the Mono Technology</h2></a><br> <h2><a id="about">About the Mono Technology</a></h2>
<a id="mylife"><h2>How Will Mono Technology Change My Life?</h2></a><br>
<a id="hello"<h2>HelloWorld</h2></a><br>
This is a must in every book or tutorial, a "Hello, World!" program, so here it is:
<br />
<h2><a id="mylife">How Will Mono Technology Change My
Life?</a></h2>
<br />
<h2><a id="hello">HelloWorld</a></h2>
<br />
This is a must in every book or tutorial, a "Hello, World!"
program, so here it is:
<pre class="code"> <pre class="code">
using System; using System;
@ -20,38 +30,55 @@ class Hello {
} }
</pre> </pre>
<kbd>mcs Hello.cs -o hello.exe<br> <kbd>mcs Hello.cs -o hello.exe<br />
mono hello.exe or mono hello.exe or mint hello.exe</kbd>
mint hello.exe <h2><a id="arch">Architecture</a></h2>
</kbd>
<br />
<h2><a id="tools">Tools</a></h2>
<a id="arch"><h2>Architecture</h2></a><br>
<a id="tools"><h2>Tools</h2></a>
<h3>MonoDoc</h3> <h3>MonoDoc</h3>
<h3>Mono Compiler Suite (mcs)</h3> <h3>Mono Compiler Suite (mcs)</h3>
<h3>Mono Interpreter (mint)</h3> <h3>Mono Interpreter (mint)</h3>
<h3>Mono Content dumper and disassembler (monodis)</h3> <h3>Mono Content dumper and disassembler (monodis)</h3>
<h3>Mono debugger</h3> <h3>Mono debugger</h3>
<a id="kernel"><h2>Linux kernel support for binaries</h2></a> <h2><a id="kernel">Linux kernel support for binaries</a></h2>
You can make your mono .exe files executable by following these steps:
You can make your mono .exe files executable by following these
steps:
<ol> <ol>
<li>Enabling binfmt in your kernel. <li>Enabling binfmt in your kernel.</li>
<li>Adding the line below to your fstab:<br>
<pre class="code">binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc none</pre> <li>Adding the line below to your fstab:<br />
<li>On boot run the cmd below:<br>
<pre class="code">echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register</pre> <pre class="code">
<li>chmod +x foobar.exe binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc none
</pre>
</li>
<li>On boot run the cmd below:<br />
<pre class="code">
echo ':CLR:M::MZ::/usr/bin/mono:' &gt; /proc/sys/fs/binfmt_misc/register
</pre>
</li>
<li>chmod +x foobar.exe</li>
</ol> </ol>
Another way to accomplish the above is to wrap the <br> Another way to accomplish the above is to wrap the <br />
mono .exe file it in a shell script, like this: mono .exe file it in a shell script, like this:
<pre class="code"> <pre class="code">
#!/bin/sh #!/bin/sh
/usr/bin/mono /usr/bin/mcs.exe "$@" /usr/bin/mono /usr/bin/mcs.exe "$@"
</pre> </pre>
<a id="qae"><h2>Questions and exercises</h2></a> <h2><a id="qae">Questions and exercises</a></h2>
</body> </body>
</html> </html>

View file

@ -1,23 +1,84 @@
<html> <!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> <head>
<title>Preface</title> <title></title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head> </head>
<body> <body>
<h1>Mono</h1>
<h2>Preface</h2> <h2><a id="about">About the Mono Technology</a></h2>
This tutorial is born out of a vision of a first place to go for High Level <br />
Gnome desktop programming. <h2><a id="mylife">How Will Mono Technology Change My
<br>The idea is to give application programmers an overview of the platform, Life?</a></h2>
<br>information about available development tools and sample code.
<h3>Who should read this tutorial?</h3> <br />
Programmers experienced with c#, who whish to get to understand and<br> <h2><a id="hello">HelloWorld</a></h2>
develop desktop applications for the Gnome.NET platform.
<h3>How to read this tutorial</h3> <br />
You can read from the beginning to the end or you can This is a must in every book or tutorial, a "Hello, World!"
skip around from topic to topic, no problemo. program, so here it is:
<pre class="code">
using System;
class Hello {
static void Main() {
Console.WriteLine ("Hello, World!");
}
}
</pre>
<kbd>mcs Hello.cs -o hello.exe<br />
mono hello.exe or mint hello.exe</kbd>
<h2><a id="arch">Architecture</a></h2>
<br />
<h2><a id="tools">Tools</a></h2>
<h3>MonoDoc</h3>
<h3>Mono Compiler Suite (mcs)</h3>
<h3>Mono Interpreter (mint)</h3>
<h3>Mono Content dumper and disassembler (monodis)</h3>
<h3>Mono debugger</h3>
<h2><a id="kernel">Linux kernel support for binaries</a></h2>
You can make your mono .exe files executable by following these
steps:
<ol>
<li>Enabling binfmt in your kernel.</li>
<li>Adding the line below to your fstab:<br />
<pre class="code">
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc none
</pre>
</li>
<li>On boot run the cmd below:<br />
<pre class="code">
echo ':CLR:M::MZ::/usr/bin/mono:' &gt; /proc/sys/fs/binfmt_misc/register
</pre>
</li>
<li>chmod +x foobar.exe</li>
</ol>
Another way to accomplish the above is to wrap the <br />
mono .exe file it in a shell script, like this:
<pre class="code">
#!/bin/sh
/usr/bin/mono /usr/bin/mcs.exe "$@"
</pre>
<h2><a id="qae">Questions and exercises</a></h2>
</body> </body>
</html> </html>

View file

@ -1,49 +1,71 @@
<html> <!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> <head>
<title>Ressources</title> <title>Ressources</title>
</head> </head>
<body> <body>
<h1>Ressources</h1> <h1>Ressources</h1>
<a id="api"><h2>API References</h2></a> <h2><a id="api">API References</a></h2>
<ul> <ul>
<li><a href="http://primates.ximian.com/~tvgm/gtk-sharp-docs/">gtk# API</a> <li><a
<li><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/cpref_start.asp">MS Base Class API</a> href="http://primates.ximian.com/~tvgm/gtk-sharp-docs/">gtk#
API</a></li>
<li><a
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/cpref_start.asp">
MS Base Class API</a></li>
</ul> </ul>
<a id="code"><h2>Code samples</h2></a> <h2><a id="code">Code samples</a></h2>
<ul> <ul>
<li><a href="http://primates.ximian.com/~duncan/Mono/">Sample gtk# applications</a> <li><a href="http://primates.ximian.com/~duncan/Mono/">Sample
gtk# applications</a></li>
</ul> </ul>
<a id="apps"><h2>Applications</h2></a> <h2><a id="apps">Applications</a></h2>
<ul> <ul>
<li><a href="http://atoker.com/phonic/">Phonic</a> <li><a href="http://atoker.com/phonic/">Phonic</a></li>
<li><a href="http://mwh.sysrq.dk/programs/programs.phtml">Jumpnbump frontend</a>
<li><a
href="http://mwh.sysrq.dk/programs/programs.phtml">Jumpnbump
frontend</a></li>
</ul> </ul>
<a id="tuturials"><h2>Tutorials</h2></a> <h2><a id="tuturials">Tutorials</a></h2>
<ul> <ul>
<li><a href="http://toxic.magnesium.net/~hestilow/gconfsharp/intro.html">Using GConf#</a> <li><a
href="http://toxic.magnesium.net/~hestilow/gconfsharp/intro.html">
Using GConf#</a></li>
</ul> </ul>
<a id="websites"><h2>Websites</h2></a> <h2><a id="websites">Websites</a></h2>
<ul> <ul>
<li><a href="http://www.go-mono.org">www.go-mono.org</a> <li><a href="http://www.go-mono.org">www.go-mono.org</a></li>
<li><a href="http://www.atoker.com/mono">Mono for Debian</a>
<li><a href="http://www.atoker.com/mono">Mono for Debian</a></li>
</ul> </ul>
<a id="irc"><h2>IRC</h2></a> <h2><a id="irc">IRC</a></h2>
<ul> <ul>
<li><a href="irc://irc.freenode.org/mono">irc.freenode.org #mono</a> <li><a href="irc://irc.freenode.org/mono">irc.freenode.org
#mono</a></li>
</ul> </ul>
<a id="books"<h2>Books</h2></a> <h2><a id="books">Books</a></h2>
<ul>
<li>A Programmer's Introduction to C# by Eric Gunnerson
<li>Advanced .NET Remoting: Ingo Rammer
</ul>
<ul>
<li>A Programmer's Introduction to C# by Eric Gunnerson</li>
<li>Advanced .NET Remoting: Ingo Rammer</li>
</ul>
</body> </body>
</html> </html>

View file

@ -1,51 +1,73 @@
<html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>Writers section</title> <title>Writers section</title>
</head> </head>
<body> <body>
<h1>Writers section</h1> <h1>Writers section</h1>
<h2>Contributors</h2> <h2>Contributors</h2>
<ul> <ul>
<li><a href="mailto:mwh at sysrq.dk">Martin Willemoes Hansen</a> <li><a href="mailto:mwh%20at%20sysrq.dk">Martin Willemoes
<br>Maintainer Hansen</a><br />
<br>Main focus: Work on the framework of the tutorial. Maintainer<br />
<li><a href="mailto:johannes at jroith.de">Johannes Roith</a> Main focus: Work on the framework of the tutorial.</li>
<br>Main focus: Work on the Glade# part.
<li><a href="mailto:pbaena at uol.com.ar">Pablo Baena</a> <li><a href="mailto:johannes%20at%20jroith.de">Johannes
<br>Main focus: Threads stuff, Eclipse/mono/gtk#/glade#/glib# sections. Roith</a><br />
<br>Is working on a front-end for Mencoder, which could be used as a sample. Main focus: Work on the Glade# part.</li>
<li><a href="mailto:nluyan@163.net">Luyan</a>
<br>Chinese translation. <li><a href="mailto:pbaena%20at%20uol.com.ar">Pablo
Baena</a><br />
Main focus: Threads stuff, Eclipse/mono/gtk#/glade#/glib#
sections.<br />
Is working on a front-end for Mencoder, which could be used as a
sample.</li>
<li><a href="mailto:nluyan@163.net">Luyan</a><br />
Chinese translation.</li>
</ul> </ul>
<h2>Ideas</h2> <h2>Ideas</h2>
<ol> <ol>
<li>Some of the things you need (samples); can be re-used from the /sample <li>Some of the things you need (samples); can be re-used from
directory in the gtk-sharp module. At least that is a start! :) the /sample directory in the gtk-sharp module. At least that is a
<br>Richard Torkar start! :)<br />
<li>My suggestion is to make a small application that would show Richard Torkar</li>
programmers how to build a full application, pick a target application
(for example you could pick the `same-gnome' game) and build it from <li>My suggestion is to make a small application that would show
zero: programmers how to build a full application, pick a target
<ul> application (for example you could pick the `same-gnome' game)
<li>Creating your UI using glade. and build it from zero:
<li>Connecting the Glade code to C# <ul>
<li>Making the program go. <li>Creating your UI using glade.</li>
<li>Using the Canvas/Drawing.
<li>Creating a configuration dialog box with Glade. <li>Connecting the Glade code to C#</li>
<li>Loading configuration settings from GConf.
<li>Storing scores on a database. <li>Making the program go.</li>
<li>Internationalization.
<li>Adding an About Box and a logo <li>Using the Canvas/Drawing.</li>
<li>Making the executable self-contained
<li>Creating a custom widget. <li>Creating a configuration dialog box with Glade.</li>
</ul>
Miguel de Icaza <li>Loading configuration settings from GConf.</li>
<li>Storing scores on a database.</li>
<li>Internationalization.</li>
<li>Adding an About Box and a logo</li>
<li>Making the executable self-contained</li>
<li>Creating a custom widget.</li>
</ul>
Miguel de Icaza</li>
</ol> </ol>
</body> </body>
</html> </html>