summaryrefslogtreecommitdiff
path: root/lib/sbin/ThornDocHTML
diff options
context:
space:
mode:
authorknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2014-03-14 15:29:32 +0000
committerknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2014-03-14 15:29:32 +0000
commitd842694cd77a0bb7218bf2d2fc65af59fea44a9a (patch)
treec56267527edfb797586a1c2f0e54fbb52178d83a /lib/sbin/ThornDocHTML
parentb98230f1a4357b144691197f0aff2f08642b2d4b (diff)
patch from Barry Wardell: include interface information in ThornDoc
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5096 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/ThornDocHTML')
-rwxr-xr-xlib/sbin/ThornDocHTML15
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/sbin/ThornDocHTML b/lib/sbin/ThornDocHTML
index 71c762ed..455605ce 100755
--- a/lib/sbin/ThornDocHTML
+++ b/lib/sbin/ThornDocHTML
@@ -28,7 +28,20 @@ for arr in `cd arrangements; echo *`; do
path=$abspath/arrangements/$arr/$th/doc
< $path/documentation.tex sed -e 's+\(\\includegraphics.*\){ *\(.*\) *}+\1{'"$path"'/\2}+g' |
sed -e 's+\(\\input *\)\(.*\)+\1'"$path"'/\2+g' |
- sed -e 's+\\usepackage{../../../../doc/latex/cactus}+\\usepackage{../../../../../doc/latex/cactus}+g' > documentation.tex
+ sed -e 's+\\usepackage{../../../../doc/latex/cactus}+\\usepackage{../../../../../doc/latex/cactus}+g' |
+ sed -e 's+\\begin{document}+\\newlength{\\tableWidth} \\newlength{\\maxVarWidth} \\newlength{\\paraWidth} \\newlength{\\descWidth} \\begin{document}+g' |
+ sed -e 's+\\end{document}++g' > documentation.tex
+
+ echo " Parsing ccl files..."
+ perl -s $abspath/lib/sbin/ParamLatex.pl -cctk_home=$abspath -directory=$abspath/arrangements -thorn=$arr/$th -outdir=$PWD > LOG_PARAMLATEX_MSGS 2>&1
+ perl -s $abspath/lib/sbin/InterLatex.pl -cctk_home=$abspath -directory=$abspath/arrangements -thorn=$arr/$th -outdir=$PWD > LOG_INTERLATEX_MSGS 2>&1
+ perl -s $abspath/lib/sbin/SchedLatex.pl -cctk_home=$abspath -directory=$abspath/arrangements -thorn=$arr/$th -outdir=$PWD > LOG_SCHEDLATEX_MSGS 2>&1
+
+ inter_file=`echo ${arr}_${th}_inter.tex | tr '[:upper:]' '[:lower:]'`
+ cat ${arr}_${th}_param.tex >> documentation.tex
+ cat $inter_file >> documentation.tex
+ cat ${arr}_${th}_schedule.tex >> documentation.tex
+ echo "\\end{document}" >> documentation.tex
$abspath/lib/sbin/ConvertFigures $path