From: wolf Date: Mon, 4 Apr 2005 19:46:44 +0000 (+0000) Subject: Cross-link between example programs. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f98d5987647e50c8fb878f09874be161075ae737;p=dealii-svn.git Cross-link between example programs. git-svn-id: https://svn.dealii.org/trunk@10351 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/news/changes.html b/deal.II/doc/news/changes.html index f8b50394a9..bd11613407 100644 --- a/deal.II/doc/news/changes.html +++ b/deal.II/doc/news/changes.html @@ -101,6 +101,14 @@ inconvenience this causes.

General

    +
  1. + New: If there are references to other example programs in any of the + step-XX programs, then they will now show up as crosslinks in the HTML + version for simpler navigation of the tutorial. +
    + (WB, 2005/04/04) +

    +
  2. New: The configuration script can now enable special optimizations for x86-like processors if called with the --with-cpu=... option. diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html index 0e89f4c7f7..afbe25a77c 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html @@ -61,6 +61,9 @@ do { $_ = "\n" . $_; } + # then replace references to other example programs automatically: + s!(step-\d+)!\1!g; + # finally print this line print $_, "\n";