# HG changeset patch # User Chris Cannam # Date 1302187548 -3600 # Node ID 0bc92382a86b3ab71d4cfb8751849f7d37e61dd4 # Parent dad587ecb8d04cb80f7af0dbb0d4e63656e5a837 Some layout and link fixes diff -r dad587ecb8d0 -r 0bc92382a86b extra/soundsoftware/matlab-docs.conf --- a/extra/soundsoftware/matlab-docs.conf Wed Apr 06 17:49:54 2011 +0100 +++ b/extra/soundsoftware/matlab-docs.conf Thu Apr 07 15:45:48 2011 +0100 @@ -67,7 +67,7 @@ #------------------------------------------------------------------------ # texttitleframelayout: text of title for frame layout file (whole docu) #------------------------------------------------------------------------ -set texttitleframelayout = Documentation of Matlab Functions of PROJEKTNAME +set texttitleframelayout = MATLAB Function Documentation #------------------------------------------------------------------------ # texttitle/headerindexalldirs: text of title and header for directory index @@ -85,7 +85,7 @@ # texttitle/headerfiles: text of title and header for files # name of file will be added at the end #------------------------------------------------------------------------ -set texttitlefiles = PROJEKTNAME: Function +set texttitlefiles = Function set textheaderfiles = Documentation of #------------------------------------------------------------------------ @@ -105,8 +105,8 @@ # textjumpindexlocal: text displayed for jump to index of files in actual # directory (local) #------------------------------------------------------------------------ -set textjumpindexglobal = Global Index (all files) -set textjumpindexlocal = Local Index (files in subdir) +set textjumpindexglobal = Index of all files: +set textjumpindexlocal = this subdirectory only: #------------------------------------------------------------------------ # includesource: include source of m-files in documentation [YES|no] @@ -160,7 +160,7 @@ # codeheader: HTML-code added to tags, use for centering header text # or changing the colour/size/font of the header text #------------------------------------------------------------------------ -set codeheader = align="center" +set codeheader = # End of parameter file diff -r dad587ecb8d0 -r 0bc92382a86b extra/soundsoftware/matlab-docs.pl --- a/extra/soundsoftware/matlab-docs.pl Wed Apr 06 17:49:54 2011 +0100 +++ b/extra/soundsoftware/matlab-docs.pl Thu Apr 07 15:45:48 2011 +0100 @@ -75,7 +75,7 @@ $VERSION = '1.23'; ($PROGRAM = $0) =~ s@.*/@@; $PROGRAM = "\U$PROGRAM\E"; -$debug = 2; +$debug = 4; #------------------------------------------------------------------------ # Define platform specific things @@ -701,7 +701,7 @@ } else { print IFILE "

$var{'textheaderindexalldirs'}

\n"; } - print IFILE "

\n"; + print IFILE "

\n"; if ($var{'frames'} eq 'yes') { if ($irun == 0) { print IFILE "short\n"; } @@ -878,7 +878,7 @@ } elsif ($LocalShortLong eq 'long') { # begin create long index print IFILE "\n"; - print IFILE "\n"; + print IFILE "\n"; for('a'..'z') { # print " $_: @{$_}\n"; @@ -1010,26 +1010,30 @@ local(*WRITEFILE, $LocalPath2Index, $PathContents, $LocalGlobalLocal) = @_; # include links to short/long - local/global index and C|contents.m - print WRITEFILE "\n

"; - print WRITEFILE "$var{'textjumpindexglobal'} ("; + print WRITEFILE "\n

"; + print WRITEFILE "$var{'textjumpindexglobal'} "; if ($var{'frames'} eq 'yes') { print WRITEFILE "short | "; - print WRITEFILE "long)\n"; + print WRITEFILE "long\n"; } else { print WRITEFILE "short | "; - print WRITEFILE "long)\n"; + print WRITEFILE "long\n"; } if ($LocalGlobalLocal eq 'local') { if ($var{'usecontentsm'} eq 'yes') { print WRITEFILE " | Local contents\n"; } - # if ($var{'producetree'} eq 'yes') { - print WRITEFILE " | $var{'textjumpindexlocal'} ("; + if ($var{'frames'} eq 'yes') { + print WRITEFILE " | $var{'textjumpindexlocal'} "; print WRITEFILE "short | "; - print WRITEFILE "long)\n"; - # } + print WRITEFILE "long\n"; + } else { + print WRITEFILE " | $var{'textjumpindexlocal'} "; + print WRITEFILE "short | "; + print WRITEFILE "long\n"; + } } print WRITEFILE "

\n\n"; print WRITEFILE "$var{'codehr'}\n";
NameDescription
NameDescription