]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Include step number into header of files.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 Mar 2000 08:45:45 +0000 (08:45 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 Mar 2000 08:45:45 +0000 (08:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@2628 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-2.step-by-step/Makefile
deal.II/doc/tutorial/chapter-2.step-by-step/head.html

index 2efcb2b41f182d6d203e110d6ab430ede98575a8..0e72bcf87c8c1e0402f1ee0d1149cc6eae21945d 100644 (file)
@@ -14,7 +14,11 @@ all: $(example-htmls)
 
 $(example-htmls):
        @echo ================== Assembling $@
-       @cat head.html > $@
+       @cat head.html \
+         | perl -pi -e '$$step="$@";                     \
+                         $$step=~s/step-(\d+).html/$$1/g; \
+                         s/step xxx/step $$step/g;'       \
+         > $@
        @cat $(@:.html=.data/intro.html) >> $@
        @cat $D/examples/$(@:.html=)/$(@:.html=.cc) \
          | $(PERL) program2html \
index 3b8f6f3b3f1ac222e94dc6bd6c79f41a65d947d1..e9973c5adc529c6ea43ae46d9b260df1b262aca9 100644 (file)
@@ -16,7 +16,7 @@
 <!-- Page Body -->
 <body lang="en">
 
-<h2>Overview</h2>
+<h2>Overview of step xxx</h2>
 
 <ol>
   <li> <a href="#Intro"> Introduction </a>

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.