From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Flynn Newsgroups: gmane.emacs.help Subject: Re: What is the best html to latex program on the market or the internet ? Date: Tue, 23 Oct 2007 23:27:29 +0100 Organization: Usenet Labs Bozon Detector Facility Message-ID: <5o7aq4Flh5f9U2@mid.individual.net> References: <1193090235.827063.9090@v29g2000prd.googlegroups.com> Reply-To: remove.nosp@m.from.address NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193240608 3298 80.91.229.12 (24 Oct 2007 15:43:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 15:43:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 24 17:43:29 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IkiO3-0002n3-O1 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Oct 2007 17:43:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkiNv-0007Ft-CV for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Oct 2007 11:43:07 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: comp.text.tex, alt.html, comp.lang.scheme, comp.lang.c, gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net mZBTJvGCMuEKm1ySKrYBkgN3wfxmMzu55I+gqE6actQtxNn5aI Cancel-Lock: sha1:9sK0XwnD7SFHOPFL9uVQdDsLmmw= User-Agent: Thunderbird 2.0.0.6 (X11/20071008) In-Reply-To: <1193090235.827063.9090@v29g2000prd.googlegroups.com> Original-Xref: shelby.stanford.edu comp.text.tex:360640 comp.lang.scheme:74512 comp.lang.c:828388 gnu.emacs.help:153253 X-Mailman-Approved-At: Wed, 24 Oct 2007 11:42:14 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48767 Archived-At: vasan999@hotmail.com wrote: > Basically, it should do all that any of the tools below and in > addition, You've already asked this, and been given the answer, but in case you didn't see it... XSLT. Run your HTML through Tidy to produce XHTML. Then write an XSLT script to transform it to LaTeX. This gives you 100% control and ensures robustness. However, handling all the stupid things HTML authors do may make it long-winded if you want to cope with them all. On the other hand, if you are dealing with a reasonably consistent subset, it's probably the most reliable method. ///Peter