Hi,
now that I had a closer look at your mail I realized a) what you were trying
to do and b) why it doesn't work.
Unix.*.Root.Html.Author holds the tag that precedes the author name in a
file. Let's say that is set to "// Author:". Now THtml parses whatever comes
after that tag and generates a link from that. You had
Unix.*.Root.Html.Author set to "MartinSchulteWissermann", but then nothing
followed this author tag, that's why THtml didn't generate an author
statement for you. (If not you had "// MartinSchulteWissermann Martin
Schulte Wissermann", but I'd bet you didn't.)
So in your case Unix.*.Root.Html.Author should be set to "// Author:". Then
the author line should look like this:
// Author: Martin Schulte Wissermann
Now, either one has an xwho entry at CERN or one doesn't. Well, you don't.
That's the reason I'm currently adding a general <a href=...> option to the
author statement. In the near future you can have an author line like this:
// Author: Martin Schulte Wissermann
<mailto:schulte@pktw08.phy.tu-dresden.de>
or
// Author: Martin Schulte Wissermann
<http://pktw09.phy.tu-dresden.de/~schulte>
I'm working on it (and on Thomas Bretz's Doc++ compatible comment parsing, a
bug with namespace'd classes and with enums), but I won't be able to finish
it tonight. Tomorrow.
Cheers, Axel.
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of
> schulte@pktw08.phy.tu-dresden.de
> Sent: Wednesday, September 26, 2001 4:06 PM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] authors name using THtml
>
>
> hi all,
>
> i do not manage to get the author's name automaticaly generated
> using THtml.
>
> i do have in ~/.rootrc :
> Unix.*.Root.Html.Author: MartinSchulteWissermann
> Unix.*.Root.Html.HomePage:
> http://pktw09.phy.tu-dresden.de/~schulte
> Unix.*.Root.Html.Copyright: Copyright
> Unix.*.Root.Html.LastUpdate: date
> Unix.*.Root.Html.Description: TofROOT Project
> Unix.*.Root.Html.Root: http://root.cern.ch/root/html
>
> and it does not work with
> Root.Html.Author
> either.
>
> i convert with:
> THtml html;
> html.SetOutputDir("/home/.../RootClasses");
> html.SetSourceDir(".");
> html.MakeAll( kTRUE );
>
> generating html-code for a single class does not help.
>
> strange is, that LastUpdate and HomePage seem to work. ... hmmm
> any hint?
>
> martin s.w.
> ps: an example for the missing author is:
> http://pktw09.phy.tu-dresden.de/~schulte/html/TofRoot/TofHodo.html
> pps: rootv3.01.06 / suse6.4 / 2 intel pentiumIII / gcc 2.95.2
>
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET