473,804 Members | 3,200 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the best html to latex program on the market or the internet ?

Basically, it should do all that any of the tools below and in
addition,

1/
human readable output that maintains the text lines of the source, ie
does not scramble the text lines or insert newlines unnecessarily or
removes them. inserts minimal latex elements.

2/
maintains cross-links, ie convert <href to \ref and <name= to \label

but if the set of htmls is incomplete proceed with the assumption that
the reference is there, ie dont delete the links or try to modify them
or their addresses. One of the tool I tested is too smart in this
respect and actually ruins the result.

3/
proper conversion of images, tables, etc. No math mode involved in
html.
4/
Even an emacs lisp function could be written by a guru that can do the
job.

5/
Is there any commercial wysiwig tool ?
LaTeX etc

* html2latex is a program based on the NCSA html parser. Contact:
Na************* **@vuw.ac.nz.
* Another html2latex can combine several HTML files into a single
LaTeX file, converting links between the files to references. External
URL's can be converted into footnotes or into a bibliography sorted on
URL. Contact: F.*******@cs.ut wente.nl (Frans J. Faase)
* Another html2latex implemented on Linux by yacc+lex+C. Also
available from the TSX-11 Linux FTP site as nc-html2latex-0.97.tar.gz.
Contact: na*****@naochan .com (Naoya Tozuka)
* htmlatex.pl is a perl script to do the conversion (may be moving
soon). Contact: n9******@cc.wwu .edu (Jake Kesinger)
* There is also a sed script to convert HTML into LaTeX.

Oct 22 '07 #1
5 2040
I like PlasTeX.SF.Net
Basically, it should do all that any of the tools below and in
addition,

Oct 23 '07 #2
va******@hotmai l.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
Oct 23 '07 #3
On Oct 23, 3:27 pm, Peter Flynn <peter.n...@m.s ilmaril.iewrote :
vasan...@hotmai l.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
forgot to cc to myself.
Janusz

Oct 24 '07 #4
tsy
On Oct 24, 5:27 am, Peter Flynn <peter.n...@m.s ilmaril.iewrote :
vasan...@hotmai l.com wrote:
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.
Is XSLT way easier than using a decent scripting language with a SAX
library?

Oct 24 '07 #5
On Wed, 24 Oct 2007 08:21:29 -0700, tsy wrote:
On Oct 24, 5:27 am, Peter Flynn <peter.n...@m.s ilmaril.iewrote :
>vasan...@hotma il.com wrote:
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.
Is XSLT way easier than using a decent scripting language with a SAX
library?
Yes. XSLT *is* a decent scripting (well, transformation-to-other-formats)
language.

///Peter
Oct 26 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2012
by: John Ramsden | last post by:
I maintain various specs and FAQs in manually edited HTML documents, and I'd very much like some simple way of automatic section numbering as in 2.1, 2.1.1, 2.1.2, 2.2 etc, with table of contents generation plugged into the start of the document so that each section can be accessed via a link (and also maybe automatic footnote numbering). It doesn't seem too much to ask, and I could probably whump up a script myself in a couple of days....
9
7075
by: rhmd | last post by:
I need to create image files (eg bmp or jpeg) of xy scatter graphs (i.e., graphs in which markers denote individual points; the markers need to be small polygons of various sizes, shapes, colors, shadings, etc. and there are thousands on them on each graph). Have been using MS Excel, but its limitations are unbelievable (only whole number sizes, no way around a 56 color palette, only low quality jpeg files so that when I publish the...
125
14867
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
14
2277
by: Salad | last post by:
On the computer side of the businees there is me, the developer. Another person's role is that of the idea man...the person that knows the business and requirements and issues for the business. Together we put together an application we both think is of value. The app is written. Of course, the app is not finished. I suppose I could work on this app for the rest of my days adding new features and enhancing and adjusting as new...
53
4875
by: MajorSetback | last post by:
I am starting up a home business and will be setting up a web site to market the software that I will be developing in C++. I was wondering if I should buy something like Dreamweaver or Frontpage or try to develop the web pages directly using HTML and a text editor. I have not had experience building web pages but have had several years experience in programming in C and C++ and in using LaTeX for document preparation. Any advice...
133
6955
by: Alan Silver | last post by:
Hello, Just wondered what range of browsers, versions and OSs people are using to test pages. Also, since I don't have access to a Mac, will I have problems not being able to test on any Mac browsers, or is there some other way of checking? TIA --
28
3011
by: john_sips_tea | last post by:
Just tried Ruby over the past two days. I won't bore you with the reasons I didn't like it, however one thing really struck me about it that I think we (the Python community) can learn from. Ruby has ... an issue with docs. That is to say, there are almost none. Well, actually, there are some. For example, the "PickAxe" book (google it), and "Why's" Poignant Guide. But there's a disturbing lack of *built-in* docs for Ruby. Now, the...
15
19877
by: Yogi | last post by:
Hi there, I have a quick question. In my html document, I want to make a new paragraph whenever I have a blank line in the html source. Using <p> and </pevery time is kind of cumbersome (I want to do it the LaTeX way). Is it possible at all? Thanks for your time, Yogi
5
2456
by: smittie31 | last post by:
I am having a problem with a border around me html page. The border does not flow thru the whole html page, it cuts off halfway. --> See http://keithborom.com/marlon-sanders CSS STYLESHEET /* CSS for Marlon Sanders site */ html, body {
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9160
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6854
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.