[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: html2latex || gnuhtml2latex

Ciao Dot Deb,
e un cordiale saluto a tutti i partecipanti alla lista ....

On Sat, Apr 29, 2006 at 02:09:51PM +0200, Dot Deb wrote:
> 	Avrei bisogno di convertire html in latex.
> 	Ricordo due pacchetti:
> 	- html2latex
> 	- gnuhtml2latex

Si, forse quello piu' noto ed usato e' html2latex
> 	Mi sembra di ricordare che "html2latex" non era free e quindi
> 	qualcuno ha sviluppato "gnuhtml2latex".

Pur essendo datato ti allego il copyright di html2latex:

This package was debianized by Michael Meskes meskes@debian.org on
Fri, 9 May 1997 09:35:18 +0200.

This is the Debian Linux prepackaged version of html2latex.

This package was put together by Michael Meskes
<meskes@debian.org> from sources obtained from

For changes made for debian see /usr/doc/html2latex/debian.changelog.

 * html2latex
 * Copyright (c) 1993 by Nathan Torkington.  Educational and commercial
 * use permitted.  Adaptation of this code by permission of Nathan
 * Torkington only.

Michael Meskes <meskes@debian.org> Fri Aug 23 15:28:20 MET DST 1996

> 	Mi semba anche che "html2latex" non sia presente in
> 	debian/unstable.

Credo proprio che si trovi nelle release precedenti alla Woody (prova
sugli archivi debian su Potato o Slink dovresti trovare il pacchetto
html2latex_0.9c-6.i386.deb o qualcosa di simile ....
> 	Curiosando in rete ho trovato il sito (sourceforge) del primo,
> 	che pero` mi pare assolutamente "GNU" e non ho trovato nessuna
> 	info utile sul secondo.

Ti aggiungo altre info di html2latex, dato che non era fornito di man

   html2latex -- convert HTML markup to LaTeX markup
   html2latex [opt ...] [file ...]
   For each file argument, html2latex converts the text as HTML markup to
   LaTeX markup. If no files are specified, a usage message is given.
   Input will be taken from standard input for files named -. Output will
   to a similarly named file with a .tex extension (html2latex recognises
   .html extensions).
   Options modify the action of html2latex. The options are:
          Number sections.
          Place page breaks after the title page (if present) and the
          table of contents (if present).
          Generate a table of contents.
          Create no files -- LaTeX is output to stdout.
   -t Title
          Generate a title page, with the title ``Title''.
   -a Author
          Generate a title page, with the author ``Author''.
   -h Header
          Place the text ``Header'' after \begin{document}.
   -f Footer
          Place the text ``Footer'' before \end{document}.
   -o Options
          Specify the options to \documentstyle.
   An example of use is

html2latex -n - < file.html | less

   This converts file.html to LaTeX and pages through the output. The
   sections (corresponding to heading tags in the HTML source) will be
   Another example is:

html2latex -t 'Introduction to HTML' -a gnat -p -c -o
'[bookman]{article}' html-intro

   This takes input from the file html-intro, writing to html-intro.tex,
   and adds a title page (with title Introduction to HTML and author
   gnat) and table of contents with page-breaks after both. The sections
   of the document are not numbered. The LaTeX source includes the line
   Current the only HTML tags supported are: TITLE, H1, H2, H3, H4, H5,
   DFN, CITE, LISTING. The only recognised SGML escapes are &.amp, &.lt,
   &.gt. ADDRESS tags are handled badly.
   The COMPACT attribute to a DL tag is not recognised. MENU and DIR
   styles are not handled well. TITLE text are ignored.
   Currently PRE tags are not handled at all.
   The entire file is read into memory. For long HTML documents on
   machines with little memory, this may cause problems.
   Nathan Torkington adapted the HTML parser from NCSA's Xmosaic package
   (file://ncsa.uiuc.edu/Web/xmosaic) and wrote the conversion code. The
   HTML parser code is subject to the NCSA restrictions. The conversion
   code is subject to the VUW restrictions. Enquiries should be sent via
   e-mail to Nathan.Torkington@vuw.ac.nz.


Ecco questo e' tutto, .... per il momento ... :-)

Spero proprio che ti sia utile ...

Au Revoir
Hugh Hartmann

 ... Unix, Windows NT ed MS-DOS 
     (anche conosciuti come il Bello, il Brutto ed il Cattivo).   
     -- Matt Welsh


Reply to: