Re: [ROOT] could you give me a typical example for html converting?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Sep 27 2002 - 14:35:55 MEST


Hi,

You must set the addresses of the source directories, destination, etc
by editing your .rootrc file (or $ROOTSYS/etc/system.rootrc

# THtml specific settings (for more see doc of THtml class)
Unix.*.Root.Html.SourceDir:  .:src:include
WinNT.*.Root.Html.SourceDir: .;src;include
#Root.Html.OutputDir:        htmldoc/
#Root.Html.Homepage:
#Root.Html.Header:
#Root.Html.Footer:
#Root.Html.Description:      //____________________
#Root.Html.Author:           // Author:
#Root.Html.LastUpdate:       // @(#)
#Root.Html.Copyright:        * Copyright

Now you are ready to run. Below is an example of a small script
that I use to generate the complete html set for Root itself

{
    gSystem.Load("$HOME/venus/libVenus");
    gSystem.Load("$HOME/pythia/libPythia");
    gSystem.Load("$HOME/pythia6/libPythia6");
    gSystem.Load("libProof");
    gSystem.Load("libHistPainter");
    gSystem.Load("libTreePlayer");
    gSystem.Load("libTreeViewer");
    gSystem.Load("libPhysics");
    gSystem.Load("libThread");
    gSystem.Load("libRFIO");
    gSystem.Load("libRGL");
    gSystem.Load("libX3d");
    gSystem.Load("libEG");
    gSystem->Load("libMC");
    gSystem.Load("libHbook");
    gSystem.Load("libEGPythia6");
    gSystem.Load("libEGVenus");
    gSystem.Load("libTable");
    gSystem.Load("libGeom");
    gSystem.Load("libGeomPainter");
    
    THtml html;
    html.MakeAll(kFALSE,"*");
}

For more information, please read:

http://root.cern.ch/root/HowtoHtml.html
http://root.cern.ch/root/htmldoc/THtml.html

Rene Brun


On Fri, 27 Sep 2002, Cheng Yunhua wrote:

> 
> hi,
>   I know how to convert a macro file(for example  distribution1.C) into a 
> html document,but I don't know how to use many other methods of THtml,such 
> as WriteHtmlHeader(),WriteHtmlFooter(),and I don't know how to document 
> a single class,a ROOT class or my personal class.
>   Could you give me a typical example?A macro is very good!
> -- 
> Best regards!
> Cheng Yunhua
> **************************************************************************
> * Name:      Cheng Yunhua Major: high energe experiment physics      ***
> *--------------------------------------------------------------------**
> * Department:Institute of particle physics,Huazhong Normal University***
> *--------------------------------------------------------------------****
> * Adress:    Institute of particle physics,CCNU,Wuhan,Hubei,PRC.     *****
> *--------------------------------------------------------------------******
> * ZIP code:  430079       Tel:  027-87673314(O)  027-87340256(D)     *****
> *--------------------------------------------------------------------****
> * E-mail:    chengyh@iopp.ccnu.edu.cn chengyunhua11@263.net          ***
> **************************************************************************
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:11 MET