]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Dec 1999 11:14:33 +0000 (11:14 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Dec 1999 11:14:33 +0000 (11:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@1984 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-2.step-by-step/.cvsignore [new file with mode: 0644]
deal.II/doc/tutorial/chapter-2.step-by-step/Makefile [new file with mode: 0644]
deal.II/doc/tutorial/chapter-2.step-by-step/navbar.html
deal.II/doc/tutorial/chapter-2.step-by-step/process-files [new file with mode: 0644]
deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.foot [new file with mode: 0644]
deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.foot~ [new file with mode: 0644]
deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.header [new file with mode: 0644]

diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/.cvsignore b/deal.II/doc/tutorial/chapter-2.step-by-step/.cvsignore
new file mode 100644 (file)
index 0000000..927c00d
--- /dev/null
@@ -0,0 +1 @@
+step-?.html
\ No newline at end of file
diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile b/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile
new file mode 100644 (file)
index 0000000..75386dd
--- /dev/null
@@ -0,0 +1,9 @@
+step-1.html \
+step-2.html:
+       cat step-by-step.header > $@
+       cat ../../../deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc) \
+         | perl process-files \
+         >> $@
+       cat step-by-step.foot >> $@
+
+.PHONY: step-1.html step-2.html
index 8036962aa975e8ae1439a776c05ea8e15cffe161..0248a13e90b70345f6899107ee0ce4f132d9b06d 100644 (file)
     <ol>
       <li>
        <p>
-         <a href="toc.html" target="body">Step 1</a>
+         <a href="toc.html" target="body">Step-by-Step overview</a>
+       </p>
+      </li>
+      <li>
+       <p>
+         <a href="step-1.html" target="body">Step 1</a>
+       </p>
+      </li>
+      <li>
+       <p>
+         <a href="step-2.html" target="body">Step 2</a>
        </p>
       </li>
     </ol>
diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/process-files b/deal.II/doc/tutorial/chapter-2.step-by-step/process-files
new file mode 100644 (file)
index 0000000..80d32a0
--- /dev/null
@@ -0,0 +1,35 @@
+# have two states, in which the program can be:
+# comment-mode and program-mode
+$comment_mode = 0;
+$program_mode = 1;
+$state =  $comment_mode;
+while (<>) {
+    # ignore cvs tag
+    next if m!/\*\s*\$Id:!;
+
+    # substitute special characters
+    s/</&lt;/g;
+    s/>/&gt;/g;
+
+    if (($state == $program_mode) && m!^\s*//!)
+    {     
+       $state = $comment_mode;
+       print "</code></pre>\n";
+    }
+    elsif (($state == $comment_mode) && !m!^\s*//!)
+    {     
+       $state = $program_mode;
+       print "<pre><code>\n";
+    }
+    
+    if ($state == $comment_mode) 
+    {
+       m!\s*//\s*(.*)!;
+       print $1, "\n";
+       print "<p>" if  $1 =~ m!^\s*$!;
+    }
+    else
+    {
+       print "        $_";
+    }
+}
diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.foot b/deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.foot
new file mode 100644 (file)
index 0000000..6e5ffd8
--- /dev/null
@@ -0,0 +1,12 @@
+<!-- Page Foot -->
+<hr>
+<table class="navbar">      
+<tr>
+  <td>
+    <a href="../index.html" target="_top">Back to the tutorial index</a>
+  </td>
+</tr>
+</table>
+<hr>
+</body>
+</html>
diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.foot~ b/deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.foot~
new file mode 100644 (file)
index 0000000..13c7eae
--- /dev/null
@@ -0,0 +1,14 @@
+<!-- Page Foot -->
+<hr>
+<table class="navbar">      
+<tr>
+  <td>
+    <a href="../index.html" target="_top">Back to the tutorial index</a>
+  </td>
+</tr>
+</table>
+<hr>
+<address>
+<a href="mailto:deal@iwr.uni-heidelberg.de">The deal.II group</a></address>
+</body>
+</html>
diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.header b/deal.II/doc/tutorial/chapter-2.step-by-step/step-by-step.header
new file mode 100644 (file)
index 0000000..0899a36
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
+   "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html>
+<head>
+<!-- deal.II tutorial template
+     Wolfgang Bangerth <deal@iwr.uni-heidelberg.de> 1999 
+-->
+
+<title>Step-by-Step</title>
+    <link href="../screen.css" rel="StyleSheet" title="deal.II Tutorial" media="screen">
+    <link href="../print.css" rel="StyleSheet" title="deal.II Tutorial" media="print">
+    <link href="../audio.css" rel="StyleSheet" title="deal.II Tutorial" media="aural">
+    <meta name="author" content="Jan Schrage <schrage@gaia.iwr.uni-heidelberg.de>">
+    <meta name="keywords" content="deal.II,deal.II tutorial,deal II">
+</head>
+
+<!-- Page Body -->
+<body lang="en">

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.