Ceci est une ancienne révision du document !


Other conversions to and from (La)TeX

To LaTeX, from...

troff

Tr2latex assists in the translation of a troff document into LaTeX 2.09 format. It recognises most -ms and -man macros, plus most eqn and some tbl preprocessor commands. Anything fancier needs to be done by hand. Two style files are provided. There is also a man page (which converts very well to LaTeX…). Tr2latex is an enhanced version of the earlier troff-to-latex (which is no longer available).

WordPerfect

wp2latex is actively maintained, and is available either for Windows or for Unix systems: http://www.penguin.cz/%7Efojtik/wp2latex/wp2latex.htm

Latest version: 3.96 (2021-04-27).

RTF

rtf2latex2e, by Ujwal Sathyam and Scott Prahl: https://sourceforge.net/projects/rtf2latex2e/

It will only convert RTF as saved from Word 2010 and earlier. RTF saved from the newer versions of Word contains tags which cause rtf2latex2e to segfault. Development of it seems to have stalled.

LibreOffice/OpenOffice

Writer2LaTeX: http://writer2latex.sourceforge.net/

Requires: OpenOffice or LibreOffice, and Java.

Latest versions: stable 1.6.1 (2018-10-19), snapshot 1.9.3 alpha (2018-10-19)

Microsoft Word (doc/docx)

Latest version: 1.6 (2021-01-25).
Requires: Java 1.7 up to 1.14.

PDF

Acrobat Reader (version 5.0 and later) or PDF Exchange Editor will output rather feeble files that Word can read.

Microsoft Excel

Excel2Latex converts an Excel file into a LaTeX tabular environment; it comes as a xla file which defines some Excel macros to produce output in a new format. https://github.com/krlmlr/Excel2LaTeX

Latest version: 3.5.0 (2017-07-15).

Also online conversion: http://excel2latex.com/.

runoff

Runoff is probably obsolete.

Peter Vanroose's rnototex conversion program is written in VMS Pascal. The sources are distributed with a VAX executable.

refer/tib

There are a few programs for converting bibliographic data between BibTeX and refer/tib formats. The collection includes a shell script converter from BibTeX to refer format as well. The collection is not maintained.

From LaTeX to...

LibreOffice or Microsoft Word

The current preferred free-software method is a two-stage process:

  1. convert LaTeX to OpenOffice format, using the tex4ht command oolatex;
  2. open the result in LibreOffice or OpenOffice and “save as” a MS-Word document.
Note that LibreOffice itself is not on CTAN; see https://www.libreoffice.org/, though most Linux systems offer it as a ready-to-install bundle.

tex4ht can also generate OpenOffice ODT format, which may be used as an intermediate to producing Microsoft Word format files.

Microsoft Word (other routes)

RTF

latex2rtf: http://latex2rtf.sourceforge.net/.

Converts only a limited subset of LaTeX markup; development stalled.

FrameMaker

FrameMaker provides “import filters” to aid translation from alien formats (presumably including TeX) to FrameMaker 's own. Also see http://webhome.cs.uvic.ca/~nigelh/fm2latex.html (latest update 2015) and http://www.cs.stir.ac.uk/~kjt/software/framemaker/#la_mml (latest update 2019).

SGML

A group at Ohio State University (USA) is working on a common document format based on SGML, with the ambition that any format could be translated to or from this one.


Sources:

5_fichiers/conversions/autres_outils_de_conversion_de_fichiers_latex.1620325286.txt.gz · Dernière modification : 2021/05/06 18:21 de jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0