|
From: Hans - D. <dul...@eg...> - 2000-07-21 15:19:03
|
On Fri, 21 Jul 2000, Christophe Prud'homme wrote:
> Date: Fri, 21 Jul 2000 09:09:03 -0500 (EST)
> From: Christophe Prud'homme <pru...@MI...>
> Reply-To: cor...@li...
> To: cor...@li...
> Subject: Re: [Corelinux-develop] RCS keywords.
>
> Hans> The example in corelinux.perl is not sufficient for correcting the above problem. I need
> Hans> make rcs.perl read the "parameter" of the \RCS commands found in the .tex documents.
> the documentation is so poor for latex2html
> when it comes to write a style file :(
>
> Hans> Do you have some idea on how to do this?
> yes :)
>
> sub do_cmd_param {
> local($_) = @_;
> local($param1);
> local($param2);
>
> # parse the arguments
> s/$next_pair_pr_rx//o;
> $param1=&translate_commands($2);
> s/$next_pair_pr_rx//o;
> $param2=&translate_commands($2);
> $index = $index + 1;
>
> join('',"RCS: param1= $param1 param2: $param2", $_ );
> #TODO: to handle several forms in the same HTML doc, the input name
> has top be unique
> # e.g.: "elasticity_param_$index"
> };
>
Thanks Christophe. I tried this method but it does not work. The \RCS
command has to be written as
\RCS $.......$
not as
\RCS{$.......$}
What I want to get is the '$' delimited string after the control sequence
\RCS. I don't understand how latex2html passed actual parameters to "sub
do_cmd_xxxx { }"
>
> BTW I corrected the bug in copyright for HTML !!!!
> update you corelinux.perl
>
>
> _______________________________________________
> Corelinux-develop mailing list
> Cor...@li...
> http://lists.sourceforge.net/mailman/listinfo/corelinux-develop
>
--
Hans Dulimarta, Ph.D. dulimart@[egr.msu.edu, computer.org]
Visiting Research Associate http://www.egr.msu.edu/%7edulimart
Ph: (517)432-7589 Fax2Email: (760)281-7691
Elec. & Comp. Engg., Michigan State University, East Lansing, MI 48824
|