From 5e879cb86ce44ec78fc0e318ad7b1932d4378e56 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 1 Aug 2007 16:38:50 +0000 Subject: [PATCH] Rework the publication page git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3931 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- doc/publis.doc | 38 ++++++++++++++++++--- tools/doxygen/doxygen_postprocesser.pl | 47 ++++++++++++++++++++++++-- 2 files changed, 78 insertions(+), 7 deletions(-) diff --git a/doc/publis.doc b/doc/publis.doc index 2f34d02ad3..ede9b1d9d1 100644 --- a/doc/publis.doc +++ b/doc/publis.doc @@ -1,6 +1,5 @@ -/*! \page publis Publications +/*! \page publis Reference publications about SimGrid -\section pub_reference Reference publication about SimGrid When citing SimGrid, the prefered reference paper is Scheduling Distributed Applications: the SimGrid Simulation Framework, even if it's @@ -48,7 +47,36 @@ want to cite GRAS, please use this publication instead: Parallel and Distributed Computing and Systems (PDCS 2006)\n http://www.loria.fr/~quinson/articles/gras-iasted06.pdf -\section pub_simulation Other publications about the SimGrid framework +\section publis_others Other publications + +A lot of other papers where published about SimGrid. The list is +splited in 3 pages (also accessible from the navbar on top of this page): + - \ref publis_core\n + This section contains papers describing some sub-parts of SimGrid, + or references superseeded by the one given above. + - \ref publis_extern\n + SimGrid is used by an ever growing scientific community. This + section lists all the papers resulting of works in which the core + SimGrid team were not involved. + - \ref publis_intra\n + This section lists the paper co-signed by at least one of the core + team member, and using SimGrid as a tool (and not studying SimGrid + itself). + +\section publis_count Amount of published papers using SimGrid results + + + + + + + + + + +
Yearexternalinternal
200731
200683
20052-
200452
200332
2002-1
2001-1
2000-1
+ +\page publis_core Other publications about the SimGrid framework \li Speed and Accuracy of Network Simulation in the SimGrid Framework\n by K. Fujiwara, H. Casanova\n @@ -146,7 +174,7 @@ want to cite GRAS, please use this publication instead: functionalities.\n http://grail.sdsc.edu/papers/simgrid_ccgrid01.ps.gz -\section pub_ext Papers that use SimGrid-generated results (not counting our owns) +\page publis_extern Papers that use SimGrid-generated results (not counting our owns) This list is a selection of articles. We list only papers written by people external to the development group, but we also use our tool ourselves (see @@ -253,7 +281,7 @@ next section). by E. Caron, F. Desprez, F. Petit, V. Villain\n in the 17th International Parallel and Distributed Processing Symposium -- IPDPS'03, Nice - France, April 2003. -\section pub_self Our own papers that use SimGrid-generated results +\page publis_intra Our own papers that use SimGrid-generated results This list is a selection of the articles we have written that used results generated by SimGrid. diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index 54e9662009..aecd1559c9 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -3,7 +3,10 @@ use strict; # Add here the pages of the documentation generated by a @page doxygen macro -my @extra_files = qw(html/index.html html/faq.html html/history.html html/publis.html html/pages.html html/modules.html html/contrib.html index.php html/GRAS_tut.html); +my @extra_files = qw(html/index.html html/faq.html html/history.html + html/publis.html html/publis_core.html html/publis_extern.html html/publis_intra.html + html/pages.html html/modules.html html/contrib.html index.php + html/GRAS_tut.html); # GRAS tutorial map {push @extra_files, "html/GRAS_tut_$_.html"} qw (intro @@ -147,6 +150,45 @@ close OUT; close IN; rename("html/modules.new.html","html/modules.html") unless $debug{'rename'}; +# the publication pages deserves some special handling too +my %pub_tabs = ("publis.html" =>"Reference publications", + "publis_core.html" =>"Other publication about SimGrid", + "publis_extern.html"=>"External papers using SimGrid", + "publis_intra.html"=>"Internal papers using SimGrid"); +# force ordering +my @pub_titles = ("publis.html", "publis_core.html", "publis_extern.html", "publis_intra.html"); +sub handle_pub{ + my $oldname = shift; + my $newname = $oldname; + $newname =~ s/\.html$/.new.html/; + +# print "Handle_pub($oldname -> $newname)\n"; + + open IN,"html/$oldname" || die "Cannot open $oldname"; + open OUT,">html/$newname" || die "Cannot open $newname"; + my $line; + while ($line = ) { + last if $line =~ /

/; + print OUT $line; + } + + print OUT "
\n
\n"; + print OUT $line; + while ($line = ) { + print OUT $line; + } + close OUT; + close IN; + rename("html/$newname","html/$oldname") unless $debug{'rename'}; +} +map {handle_pub($_)} @pub_titles; + + # Operate the recursion sub handle_page { my $current=shift; @@ -223,6 +265,7 @@ handle_page($top,-2);# skip roots (we have 2 roots) in level counting ### Post-processsing common to all pages ### map {push @allfiles,$_} @extra_files; +print "All files: ".(join(", ",@allfiles))."\n" if $debug{'parse'}; foreach my $file (@allfiles) { $file =~ s/.html/.handlepage.html/ if $debug{'rename'}; # Take right name if debugging @@ -244,7 +287,7 @@ foreach my $file (@allfiles) { next; } if (m,
  • Data\ Structures
  • ,) { - print TO ' Publications'."\n"; + print TO ' Publications'."\n"; print TO ' History'."\n"; next; } -- 2.20.1