Changeset 9402


Ignore:
Timestamp:
Jan 13, 2015, 5:29:57 PM (10 years ago)
Author:
steve
Message:

Added code to input verbatim files with underscores

Location:
trunk/anuga_user_manual/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_user_manual/source/anuga_user_manual.tex

    r9274 r9402  
    2626\documentclass{manual}
    2727
     28%\usepackage{verbatim}
     29
     30
     31\newcommand{\verbatiminputB}[1]{%
     32\verbatiminput{#1}\endgroup}
     33
     34\def\verbatiminputunderscore{\begingroup
     35\catcode`\_=12
     36\verbatiminputB}
    2837
    2938\usepackage{graphicx}
     
    8796\setcounter{tocdepth}{3}
    8897\setcounter{secnumdepth}{3}
     98
     99
    89100
    90101%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
    13531364Here is the code for \file{runParallelCairns.py}:
    13541365
    1355 \verbatiminput{../../demos/cairns/runParallelCairns.py}
     1366\verbatiminputunderscore{../../anuga_core/demos/cairns/runParallelCairns.py}
     1367
    13561368
    13571369\subsection{Structure of the Code}
     
    14351447Here is the code for \file{runCheckpoint.py}:
    14361448
    1437 \verbatiminput{../../demos/checkpointing/runCheckpoint.py}
     1449\verbatiminput{../../anuga_core/demos/checkpointing/runCheckpoint.py}
    14381450
    14391451\subsection{Structure of the Code}
  • trunk/anuga_user_manual/source/update_anuga_user_manual.py

    r9269 r9402  
    114114system('svn update') # Restore version file
    115115
    116 system('mv *.pdf ../')
     116system('cp *.pdf ../')
     117system('mv *.pdf ../anuga_core/user_manual')
    117118
    118119print 'Cleanup aux tex files'
Note: See TracChangeset for help on using the changeset viewer.