lib/Tools/document
changeset 62589 b5783412bfed
parent 52748 8e398d9bedf3
child 67173 e746db6db903
equal deleted inserted replaced
62588:cd266473b81b 62589:b5783412bfed
   126 
   126 
   127   if [ -f build ]; then
   127   if [ -f build ]; then
   128     ./build "$OUTFORMAT" "$NAME"
   128     ./build "$OUTFORMAT" "$NAME"
   129     RC="$?"
   129     RC="$?"
   130   else
   130   else
   131     "$ISABELLE_TOOL" latex -o sty "$ROOT_NAME.tex" && \
   131     isabelle latex -o sty "$ROOT_NAME.tex" && \
   132     "$ISABELLE_TOOL" latex -o "$OUTFORMAT" "$ROOT_NAME.tex" && \
   132     isabelle latex -o "$OUTFORMAT" "$ROOT_NAME.tex" && \
   133     { [ ! -f "$ROOT_NAME.bib" ] || "$ISABELLE_TOOL" latex -o bbl "$ROOT_NAME.tex"; } && \
   133     { [ ! -f "$ROOT_NAME.bib" ] || isabelle latex -o bbl "$ROOT_NAME.tex"; } && \
   134     { [ ! -f "$ROOT_NAME.idx" ] || "$ISABELLE_TOOL" latex -o idx "$ROOT_NAME.tex"; } && \
   134     { [ ! -f "$ROOT_NAME.idx" ] || isabelle latex -o idx "$ROOT_NAME.tex"; } && \
   135     "$ISABELLE_TOOL" latex -o "$OUTFORMAT" "$ROOT_NAME.tex" && \
   135     isabelle latex -o "$OUTFORMAT" "$ROOT_NAME.tex" && \
   136     "$ISABELLE_TOOL" latex -o "$OUTFORMAT" "$ROOT_NAME.tex"
   136     isabelle latex -o "$OUTFORMAT" "$ROOT_NAME.tex"
   137     RC="$?"
   137     RC="$?"
   138   fi
   138   fi
   139 
   139 
   140   if [ "$RC" -eq 0 -a -f "$ROOT_NAME.$OUTFORMAT" ]; then
   140   if [ "$RC" -eq 0 -a -f "$ROOT_NAME.$OUTFORMAT" ]; then
   141     cp -f "$ROOT_NAME.$OUTFORMAT" "../$NAME.$OUTFORMAT"
   141     cp -f "$ROOT_NAME.$OUTFORMAT" "../$NAME.$OUTFORMAT"