Changeset 242 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Feb 2, 2015, 4:32:52 PM (10 years ago)
Author:
lfita
Message:

Adding every 3 graphs \clearpage at the right place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/lmdz_check.bash

    r241 r242  
    456456\\documentclass{article}
    457457\\usepackage{graphicx}
     458\usepackage[colorlinks=true,urlcolor=blue]{hyperref}
    458459
    459460\\textwidth=18cm
     
    622623\\end{center}
    623624\\end{figure}
    624 \\clearpage
    625 EOF
     625EOF
     626          modivar=`expr ${ivar} % 3`
     627          if test ${modivar} -eq 0; then
     628            echo "\\clearpage" >> ${otex}
     629          fi
    626630          ivar=`expr ${ivar} + 1`
    627631        done
     
    673677\\end{center}
    674678\\end{figure}
    675 EOF
    676           modivar=`expr ${ivar} % 3`
    677           if test ${modivar} -eq 0; then
    678             echo "\\clearpage" >> ${otex}
    679           fi
     679\\clearpage
     680EOF
    680681
    681682          ivar=`expr ${ivar} + 1`
     
    692693  otexn=`echo ${filetexn} | tr '.' ' ' | awk '{print $1}'`
    693694  cd ${ofold}
     695  pdflatex ${otexn}
     696  pdflatex ${otexn}
    694697  pdflatex ${otexn}
    695698  pdflatex ${otexn}
Note: See TracChangeset for help on using the changeset viewer.