sailao has asked for the wisdom of the Perl Monks concerning the following question:

Do you have any ideas to convert HTMl to Latex using Perl

Replies are listed 'Best First'.
Re: html to latex converter in Perl
by lhoward (Vicar) on Jul 17, 2000 at 18:10 UTC
    Start with HTML::Parser. Write your parsing rules to output the latex code you would like to correspond to HTML. If you're lazy (I know I am) I'd use an HTML to LaTeX converter that someone else had already written html2latex.
      Hi L.Howard, I am a Masters student studying a MSC in Computer Science. My programming skills are not my strong point. Can you help me with the data abstraction involved with a HTML2LaTex converter in Perl. Also the pseudo-code for the HTML2LaTex converter. I hope this request will not be an inconvenience to you, but any kind of help will be greatly recieved. King regards, Sailao
RE: html to latex converter in Perl
by ferrency (Deacon) on Jul 17, 2000 at 18:18 UTC
    I'm not sure about the LaTeX generation side, but you could start with the HTML::Parser module, described in the latest issue of The Perl Journal, to parse through the html document's structure.