[GRASS-dev] module synopsis: was Re: [GRASSGUI] wxgrass gui status

Markus Neteler neteler at itc.it
Wed May 16 08:36:39 EDT 2007


On Tue, May 15, 2007 at 08:45:38PM +1200, Hamish wrote:
> Markus Neteler wrote:
...
> > > module_synopsis.txt reworked in LyX -> PDF
> > >   http://grass.ibiblio.org/gdp/grassmanuals/grass63_module_list.pdf
> > >   (in CVS) web/gdp/grassmanuals/ 
> > 
> > Should I make this a cronjob?
> 
> (module_synopsis.sh requires grass to be running)

Nothing easier than that!

GRASS_BATCH_JOB=$HOME/grass63/tools/module_synopsis.sh
export GRASS_BATCH_JOB
grass63 $HOME/grassdata/spearfish60/user1
 Cleaning up temporary files.....
 Starting GRASS ...
 Executing '/home/neteler/grass63/tools/module_synopsis.sh' ...
 GRASS GUI should be text
 Welcome to GRASS 6.3.cvs (2007)
 GRASS homepage:                          http://grass.itc.it/
 This version running thru:               Bash Shell (/home/neteler/grass63/tools/module_synopsis.sh)
 Help is available with the command:      g.manual -i
 See the licence terms with:              g.version -c
 Start the graphical user interface with: gis.m
 When ready to quit enter:                exit
 Generating module synopsis ...
 Closing monitors.....
 Cleaning up temporary files.....
 done
 Goodbye from GRASS GIS
 Batch job '/home/neteler/grass63/tools/module_synopsis.sh' (defined in GRASS_BATCH_JOB variable) was executed.

unset GRASS_BATCH_JOB

# DONE.
 
> I would really like to parse module_synopsis.txt into a LaTeX template
> and generate the nice PDF automatically. I don't know if anybody is
> interested in module_synopsis.txt on its own.

OK. I didn't look at it until now and agree. 

Markus




More information about the grass-dev mailing list