do_latex

来自「CCSM Research Tools: Community Atmospher」· 代码 · 共 46 行

TXT
46
字号
#!/bin/csh -f##===============================================================================# do_latex#===============================================================================# Build document with bibliography if available. ## Usage: do_latex <comp> <document type>##        <comp> is the name of the component, library, or module used as the#               basis for document filenames (e.g., coupler)##        <document type> is one of the following:#               req  - requirements document#               arch - architecture document#               des  - detailed design document        #               ref  - reference manual#               usr  - user's guide#               phys - algorithmic or physical description## C. DeLuca                                                       March 15, 2000#===============================================================================if ($#argv != 2) then  echo "Usage: do_latex <component> <document type>  exitelse  if (-r $1.bib) then    cp $1.bib $1_$2doc.bib    latex $1_$2doc.tex    latex $1_$2doc.tex    bibtex $1_$2doc    latex $1_$2doc.tex    rm -f $1_$2doc.bib  else     latex $1_$2doc.tex    latex $1_$2doc.tex  endifendif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?