Changeset 1347 for trunk/doc


Ignore:
Timestamp:
04/26/07 14:27:25 (18 years ago)
Author:
mar637
Message:

move to use latex builder; doc updates for 2.2

Location:
trunk/doc
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/SConscript

    r1259 r1347  
    44Import( "env")
    55myenv = env.Copy()
    6 # Maybe someday I can use env.DVI() to execute a re-run....
     6
    77if myenv["makedoc"].lower() == 'pdf':
    8     dvif = myenv.File("#/userguide.dvi")
    9     tmps = [ "userguide.aux", "userguide.log", "userguide.idx",  "userguide.dvi"]
    10     myenv.Command(dvif,"userguide.tex",
    11                 ["$LATEX $SOURCE", "$LATEX $SOURCE"])
    12     pdfit = myenv.PDF("#/userguide.pdf", "#/userguide.dvi")
    13     myenv.Install("#/doc", pdfit)
    14     for f in tmps:
    15         myenv.AddPostAction(pdfit, Delete(f))
    16     myenv.AddPostAction(pdfit, Move("doc/userguide.pdf", str(pdfit[0])))
     8    dvif = myenv.File("userguide.tex")
     9    pdf = env.PDF(dvif)
    1710elif myenv["makedoc"].lower() == 'html':
    1811    if os.path.exists("/usr/bin/latex2html"):
    1912        myenv.Command("userguide","userguide.tex",
    2013                      "/usr/bin/latex2html -local_icons $TARGET" )
    21 #Return()
  • trunk/doc/userguide.tex

    r1344 r1347  
    649649have a trailing ``\_R'' in the source name for data from Parkes and
    650650Mopra, and a trailing ``e'' or ``w'' for data from Tidbinbilla.
    651 This functions has two \cmd{mode}s. \cmd{paired} (the deafault), which assumes matching
    652 adjacent pairs of source/reference scans and \cmd{time}, which finds the closest
    653 reference scan in time.
     651This functions has two \cmd{mode}s. \cmd{paired} (the deafault), which assumes
     652matching adjacent pairs of source/reference scans and \cmd{time}, which finds
     653the closest reference scan in time.
    654654
    655655\begin{verbatim}
     
    875875
    876876Gain-elevation curves for some telescopes and frequencies are known to
    877 ASAP (currently only for Tidbinbilla at 20~GHz).  In these cases
    878 making gain-corrections is simple.  If the gain curve for your data is
    879 not known, the user can supply either a gain polynomial or text file
     877ASAP (currently only for Tidbinbilla at 20~GHz and Parkes at K-band).
     878In these cases making gain-corrections is simple.  If the gain curve for your
     879data is not known, the user can supply either a gain polynomial or text file
    880880tabulating gain factors at a range of elevations (see \cmd{help
    881881scantable.gain\_el}).
     
    19271927limitations. The data is position switched, observing first an
    19281928reference to the west, then the source twice and finally reference to
    1929 the east.
     1929the east. Important to note, that \cmd{auto\_quotient} should be executed
     1930using the \cmd{mode} `time'.
    19301931
    19311932\begin{verbatim}
     
    19361937
    19371938# Make the quotient spectra
    1938 q = d.auto_quotient()
     1939q = d.auto_quotient(mode='time')
    19391940print q
    19401941
Note: See TracChangeset for help on using the changeset viewer.