From: wolf Date: Mon, 20 Dec 1999 13:48:14 +0000 (+0000) Subject: Better output. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab7e92726816cb1669b778918e583392049fb8f5;p=dealii-svn.git Better output. git-svn-id: https://svn.dealii.org/trunk@2086 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile b/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile index 3f21b53864..05ed596c2a 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile @@ -19,8 +19,11 @@ $(example-htmls): | $(PERL) program2html \ >> $@ @cat $(@:.html=.results) >> $@ - @cat ../../../deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc) \ + @cat $D/deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc) \ | $(PERL) program2plain \ + | $(PERL) -e '$$path="$D/deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc)"; \ + $$path =~ s!/! /!g; \ + while (<>) { s!PROGRAMPATH!$$path!g; print; };' \ >> $@ @cat step-by-step.foot >> $@ diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain b/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain index 88c91c31df..b55c9f922b 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain @@ -5,7 +5,10 @@ while ( m!/\*\s*\$Id$!) { } print "\n"; -print "

The plain program

"; +print "

The plain program

\n"; + +print "(The program can be found at PROGRAMPATH.)\n

\n"; + print "

";
 
 
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
index 77c4be3807..1bad32b760 100644
--- 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
@@ -25,3 +25,4 @@
   
  • Results
  • The plain program +