diff options
Diffstat (limited to 'help/wp-conv/textopc.html')
-rw-r--r-- | help/wp-conv/textopc.html | 430 |
1 files changed, 430 insertions, 0 deletions
diff --git a/help/wp-conv/textopc.html b/help/wp-conv/textopc.html new file mode 100644 index 0000000000..64741077d3 --- /dev/null +++ b/help/wp-conv/textopc.html @@ -0,0 +1,430 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html lang="en-us"><head><title>Converters from LaTeX to PC Textprocessors - Overview</title> + +<meta name="author" content="Wilfried Hennings"> +<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> +</head> +<body> +<p>Up to the <a href="http://tug.org">TUG homepage +(external link)</a><br> +Up to <a href="index.html">Converters between LaTeX and +PC Textprocessors homepage</a></p> +<h1>Converters from LaTeX to PC Textprocessors - Overview</h1> +<p><strong>Switch conversion direction: <a href="pctotex.html">From PC to LaTeX</a></strong></p> +<p>Author: Wilfried Hennings (texconvfaq "at" gmx.de), this page +last updated on June 30, 2011<br> +The url of this page is <a href="http://tug.org/utilities/texconv/textopc.html"> +http://tug.org/utilities/texconv/textopc.html</a> </p> +<p>I maintain these pages because I need converters between LaTeX +and PC Textprocessors for my work and I want to share the information +with others who need it. Because I maintain them in my spare time (uh, +what is spare time?), I +can not answer individual questions.</p> +<p><strong>This list is as good or as bad as its support, +and it needs YOUR support to update and supplement this list.</strong> +Please supplement if you know more and/or better ones. There are some +more converters on the CTAN sites, but the following seem to be most +promising for conversion to and from the current versions of +wordprocessors. </p> +<p>Neither correctness nor completeness is guaranteed. <br> +All opinions mentioned (if any) are my own. Please +send corrections, enhancements and supplements (auch in deutscher +Sprache) to the following address: <br> +texconvfaq "at" gmx.de</p> +<p>Note that this FAQ list contains information about converters +<strong>ONLY</strong> between LaTeX and PC word processors. +Converters to and from <strong>other formats may have own FAQ +lists</strong> +- e.g. see the link for converters to and from HTML.</p> +<hr> +<p>For the impatient, here is a <a href="tx2pctbl.html">table +with overview of features</a> of the most recent converters.</p> +<hr> +<h2>General Remarks</h2> +<p>Before looking for a converter, stop and think about a +principal question: </p> +<h3>What do you want to be converted in which way?</h3> +<p>Do you want to convert the <strong>document structure</strong>, +i.e. a heading should remain a heading, a list should remain a list +etc., no matter how it will look like in the target format?<br> +Or do you want to convert the <strong>appearance</strong>, +i.e. how it looks like, no matter how it is represented in the target +format?<br> +Or do you want a mixture of both?<br> +For using SGML as an intermediate format, you would have to specify the +translation rules yourself (as far as I understood). This makes sense, +and explains why different people have very different opinions about +which converter best fits their needs: They simply have different +demands and expectations on what should be converted and how. <br> +So, not only practically there is no converter which is good for +everyone and every purpose, but this is even principally impossible +because there are no well-defined requirements which a converter should +meet. </p> +<p>An additional problem is that TeX/LaTeX can be extended by an +unlimited number of macros. Unless the converter contains a full-scale +TeX system, it can at best support the publicly available macro +commands, not the ones privately written by individual users. +Practically you can expect that it supports the standard LaTeX commands +and perhaps a few more widely used packages. The only converter which +uses a full-scale TeX system is TeX4ht. </p> +<p>So keep this in mind when looking through the following list +of converters, try yourself and decide what you need.</p> +<h3>There are several ways to convert. </h3> +<p>To illustrate these, let me restrict it to the Microsoft Word +case:</p> +<ul> +<li>directly type or paste LaTeX code into Word <br> +<br> +</li> +<li>use a Word import filter <br> +<br> +</li> +<li>use a Word macro: load LaTeX file as plain text, then +search for LaTeX markup and replace the markup by formatting, special +characters and equations. <br> +<br> +</li> +<li>use an external converter: </li> +</ul> +<ol> +<li>LaTeX -> RTF, then use Word's +own RTF import,</li> +<li>LaTeX -> HTML, then use Word's internet assistant or +built-in html converter,</li> +<li>maybe other external format(s).</li> +</ol> +<p>The converters being most complete and currently maintained / +supported are: </p> +<p><a href="#tex2word">TeX2Word</a> - a +shareware LaTeX import filter for MS Word</p> +<p><a href="#GrindEQ">GrindEQ</a> - a +shareware LaTeX import filter for MS Word</p> +<p><a href="#latex2rtf">latex2rtf</a> - a free +standalone LaTeX -> RTF +converter for PC, Macintosh and Unix, </p> +<p><a href="#TeX4ht">TeX4ht</a> - a free LaTeX +to html or XML converter for PC and Unix produces html which is good +for loading into Word. TeX4ht relies on other software, it needs at +least a full TeX system.</p> +<p>There are also converters to Powerpoint and to FrameMaker (see +further below).</p> +<hr> +<h2>Directly type or paste LaTeX code into Word</h2> +All of these only allow typing or pasting LaTeX coded <span style="font-style: italic;">equations</span> in Word, +not LaTeX coded text elements.<br> +<p><b>"Aurora"</b> +(formerly named Ribbit) can now convert a LaTeX coded equation (which +must be placed on the Windows clipboard) to Word. The converter is +still experimental and as such has a number of limitations, some of +which will be addressed in future releases. The converter’s +output will generally need some manual touching up to achieve the level +of fidelity +on a par with the original document.<br> +The other functionality of Aurora, which was the only functionality of +its predecessor "Ribbit", is letting you enter LaTeX equations in word +processors such as MS Word or in Powerpoint. One can enter the equation +in LaTeX markup, and the formatted equation is inserted as an object.<br> +See <a href="http://elevatorlady.ca/">homepage (external +link)</a> +(Shareware)<br> +Aurora needs a working LaTeX installation. If there is no, it will +install a micro version of MiKTeX. +</p> +<p><b>"LaTeX in Word"</b>: +See <a href="http://latexinword.sourceforge.net/">homepage +(external link)</a> +(Freeware, GPL). <br> +It allows to enter LaTeX equations in word +processors such as MS Word in LaTeX markup, and the +formatted equation is inserted in the Wordprocessor as a png +bitmap. It needs a server which performs the conversion. Server +installation files are available from the <a href="http://sourceforge.net/project/showfiles.php?group_id=186573">download +page (external link)</a>.</p> +<p><a href="http://www.mathtype.com/"><b>MathType</b> +(external link)</a> allows typing and pasting equations in LaTeX +markup and also direct conversion of an equation in LaTeX markup which +is part of the Word document text.</p> +<p><b>OpenOffice</b> +allows typing equations in LaTeX-like markup. </p> +<hr> +<h2>Use a Word import filter</h2> +<p><a name="tex2word"></a><b>TeX2Word:</b> +Shareware, 99$ (45$ academic). <br> +Current version: 3.0, Feb 2011.<br> +Support for more document styles and packages will be available with +future versions. You can also supply support for document styles, +packages and user defined macros by yourself (needs TeX programming +knowledge).<br> +Needs:<br> +* MS Windows 2000, XP or later, <br> +* MS Word 97 or later, <br> +* with Word 97 to 2003, also <a href="http://www.mathtype.com/">MathType +(external +link)</a> 4 +or later is needed (full version of the Equation Editor which comes +with MS Word).<br> +See <a href="http://www.tex2word.com/">homepage +(external link)</a></p> +<p><a name="GrindEQ"></a><b>GrindEQ +LaTeX-to-Word:</b> Shareware, 99EUR (49EUR academic).<br> +converts LaTeX, AMS-LaTeX, Plain TeX, or AMS-TeX documents to Microsoft +Word format.<br> +You can choose the following formats for TeX/LaTeX equations: Microsoft +Equation 2007, Microsoft Equation 3.x, or MathType. <br> +Works with Microsoft Word 97/2000/XP/2003/2007 and Microsoft Windows +98/Me/NT/2000/XP/2003/x64/Vista.<br> +Evaluation version is restricted to 10 launches.<br> +See <a href="http://www.grindeq.com/">homepage +(external link)</a></p> +<hr> +<h2>Convert to RTF</h2> +<h3>Free:</h3> +<p><a name="latex2rtf"></a><b>latex2rtf</b>: +LaTeX-to-RTF-converter. See the <a href="latex2rtf.html">more +detailed page</a>. </p> +<hr> +<h2>Convert to WordPerfect format</h2> +<h3>Commercial:</h3> +<p><a name="TexPort"></a><b>TexPort</b> +converts your TeX +and LaTeX files to WordPerfect or Microsoft Word documents.<br> +See <a href="texport.html">more detailed page</a> +<br> +See <a href="http://www.ktalk.com/texport.html">home +page +(external link)</a></p> +<hr> +<h2>Use a Word macro</h2> +<h3>Free:</h3> +<p><b>tex2doc</b> by <a href="http://members.a1.net/t.link/">Thomas Link +(external link)</a>: +LaTeX to WinWord 6 and WinWord 7(95) converter, written as Word macros. +Also attempts to convert tables! Not compatible with Word 2000 and up, +no further development.<br> +<a href="http://members.a1.net/t.link/tex2doc.html">homepage +(external link)</a>, +</p> +<p><b>ltx2word</b>, +by myself: LaTeX to WinWord 6, WinWord 7(95) and WinWord 97 converter, +written as Word macros. No tables. Not compatible with Word 2000 and +up, no further development.<br> +See <a href="ltx2word.html">more detailed page</a>.</p> +<hr> +<h2>Use a Word add-in</h2> +<p>The following are no full converters but only allow +typing or pasting LaTeX code into Word:</p> +<p><b>"Aurora"</b> +(formerly named Ribbit) can now convert LaTeX code (which must be +placed on the Windows clipboard) to Word. The converter is still +experimental and as such has a number of limitations, some of which +will be addressed in future releases. The converter’s output +will +generally need some manual touching up to achieve the level of fidelity +on par with the original document.<br> +The other functionality of Aurora, which was the only functionality of +its predecessor "Ribbit", is letting you enter LaTeX equations in word +processors such as MS Word or in Powerpoint. One can enter the equation +in LaTeX markup, and the formatted equation is inserted as an object.<br> +See <a href="http://elevatorlady.ca/">homepage (external +link)</a> +(Shareware)<br> +Aurora needs a working LaTeX installation. If there is no, it will +install a micro version of MiKTeX. +</p> +<p><b>"LaTeX in Word"</b>: It allows to enter +equations in word processors such as MS Word in LaTeX markup, and the +formatted equation is inserted in the Wordprocessor as a png +bitmap. It needs a server which performs the conversion. <br> +See <a href="http://latexinword.sourceforge.net/">homepage +(external link)</a> (Freeware, GPL)<br> +Server installation files are available from the <a href="http://sourceforge.net/project/showfiles.php?group_id=186573">download +page (external link)</a>.</p> +<h2>Use a PowerPoint add-in</h2> +<p><b>TexPoint</b> enables the easy use of Latex +symbols and formulas in +Powerpoint presentations. See <a href="http://texpoint.necula.org/">homepage +(external link)</a>. +(Shareware) +<br> +Latest version requires PowerPoint2000, does not work with earlier +versions of PowerPoint.</p> +<p><b>Aurora</b> (formerly named Ribbit) now also +supports PowerPoint. +See <a href="http://elevatorlady.ca/">homepage (external +link)</a> +(Shareware)</p> +<hr> +<h2>HTML as intermediate format</h2> +<h3>LaTeX to HTML</h3> +<p>cost free unless otherwise stated</p> +<p>Because HTML is a structured format, the conversion between +HTML and LaTeX is rather straightforward. However there remain the +limitations of HTML compared to LaTeX, i.e. there are many elements in +LaTeX which can not (yet?) be represented in HTML. Converters from +LaTeX to HTML are:</p> +<p><a name="TeX4ht"></a><strong>Recommended</strong> +if you have TeX installed or don't mind to install it: <a href="http://tug.org/applications/tex4ht/mn.html"> +<b>TeX4ht</b> (external link)</a> +is a highly configurable TeX-based converter to hypertext. It comes +with a built-in default setting for plain TeX, LaTeX and TeXinfo, and +it generates html with accompanying css stylesheet, xhtml, or xml. The +converter needs a full TeX installation, but this gives the advantage +that TeX's full support for macros and styles is available (with only +few exceptions).<br> +Equations are converted to either bitmaps or MathML. There are some +different MathML flavors around which can be chosen by an option. +(Following description is partially copied from the TeX4ht web site.)<br> +The special command <br> +<tt>oolatex</tt> <br> +is available for producing xml compatible with OpenOffice, LibreOffice +(and probably also StarOffice). The output of the command <tt>oolatex +<filename></tt> is a zipped file with same name and +a ".odt" extension (containing the document in xml format which does +not suffer the limitations of html). For this to work, TeX4ht needs a +zip program which is not included in the TeX4ht distribution but e.g. +in the MikTeX distribution. +A zip program can be downloaded from e.g. <a href="http://www.info-zip.org/">http://www.info-zip.org/ +(external link)</a>.<br> +The resulting .odt file can directly be opened in OpenOffice or +LibreOffice, converted equations are editable in OpenOffice's or +LibreOffice's own equation editor. OpenOffice and LibreOffice +can save the document in MS Word 97/2000/XP (.doc) format, but +some equations may not be converted correctly to Word. It is also +possible to save as Microsoft Word 2007 XML (.docx), but this breaks +the equations (at least in LibreOffice 3.3.2).<br> +A command of the form <br> +<tt>htlatex filename "html,word" "symbol/!"</tt><br> +asks for HTML output tuned toward Microsoft Word. Such a format, +however, relies on bitmaps for mathematical formulas.<br> +Conversion to bitmaps additionally needs Ghostscript and ImageMagic or +netpbm. <br> +For more information see +<a href="http://tug.org/applications/tex4ht/mn.html">http://tug.org/applications/tex4ht/mn.html +(external link)</a>. +</p> +<p><a href="http://hutchinson.belmont.ma.us/tth/"><b>TTH</b> +(external link)</a>: +LaTeX-to-HTML converter which translates LaTeX into HTML 4.0 markup. +Formulae are also translated into standard html markup. (Free for +non-commercial applications.) <br> +A sister of tth, <a href="http://hutchinson.belmont.ma.us/tth/mml/">TtM +(external link)</a>, +converts formulae to MathML (Linux version for free, Windows version +must be paid).</p> +<p><a href="http://www.ctan.org/tex-archive/support/ltoh"><b>ltoh</b> +(external +link)</a>: +LaTeX-to-HTML converter which is highly customizable, i.e. you can +define how the LaTeX macros which are used in your document are to be +translated. Requires that the input file conforms to LaTeX2e (see +documentation). It was last updated 1979, and it seems +that the homepage is no longer available, so look on +CTAN in .../support/ltoh/ .</p> +<p><a href="http://para.inria.fr/%7Emaranget/hevea/"><b>HEVEA</b> +(external link)</a>: +LaTeX-to-HTML converter which translates LaTeX into HTML4.0 markup. +Formulae are also translated into standard html markup (not yet using +MathML).</p> +<p><a href="http://hyperlatex.sourceforge.net/"><b>Hyperlatex</b> +(external link)</a> +allows the use of a subset of LaTeX to produce documents in HTML .</p> +<p>Some converters are available from +<a href="http://www.tex.ac.uk/tex-archive/CTAN.sites">CTAN +(external link)</a> +("Comprehensive TeX Archive Network"), e.g. in +.../support/latex2html. <br> +(The ... stands for a host specific base directory, which often is +either "/pub/tex" or "/tex-archive") </p> +<h3>HTML to Wordprocessor</h3> +<p>Word 8 (97) and up contain the html converter by default (but +its installation may have to be explicitly chosen during the Word setup +in user-defined mode). <br> +For Word 6 and 7 (95) for Windows and Mac there are free HTML +converters available from Microsoft: <br> +Download... <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/WORDIA.EXE">IA +for Word 6 (external link)</a> / <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/WDIA204Z.EXE">IA +for Word 7 (95) (external link)</a> / <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/MACIA20Z.HQX">IA +for Word for Mac (external link)</a><br> +</p> +<p>WordPerfect 7 and up have an integrated InternetPublisher. <br> +For WordPerfect 6.1 for Windows, the InternetPublisher is available +separately: +<br> +Download... +<a href="ftp://ftp.corel.com/pub/WordPerfect/wpwin/61/internetpublisher.exe">InternetPublisher +for WPWin 6.1 (external link)</a> </p> +<p>OpenOffice can also import html, but much better is using +tex4ht for lossless conversion to native OpenOffice format.</p> +<hr> +<h2>Other intermediate formats</h2> +<p>There are ways to use <b>SGML</b> as intermediate +format, and others have used it successfully. Having had a quick look +at it, I found it rather complicated, especially it seems that you have +to define the translation rules yourself. So I did not put more effort +in trying to use it. If anyone can give me a ready-to-use cookbook +solution, I will include it here.</p> +<p>An upcoming format is <b>XML</b>, a subset of +which can be exported and imported by Microsoft Office 2000 and up, +OpenOffice uses it as its native format, and the browser programmers +are working on implementing XML. It actually is an instance of SGML. As +it is more powerful than HTML, +conversion from LaTeX to XML would lose much less information than +conversion from LaTeX to HTML. There are good chances that it could be +used as a general exchange format in the future. <a href="#TeX4ht">TeX4ht</a> +already has scripts for converting to XML (TEI or DOCBOOK). MS Word +2000 and earlier can not import XML, for these target systems convert +to html+css using the xwtex and xwlatex scripts. MS Word 2003 can +export and import XML, but I haven't yet tested whether it can import +the TEI or DOCBOOK files produced by TeX4ht. <br> +The most successful path is using <a href="textopc.html#TeX4ht">TeX4ht</a> +to convert to the OpenOffice format (.sxw, which actually is a zip +compressed archive containing the document and vector graphics as XML +and the bitmap graphics as bitmap files) and open this in OpenOffice. +One could stop there, as OpenOffice is publicly available, or go on and +save from OpenOffice as a "MS Word 97/2000/XP" +file.</p> +<p>Most astonishing, one could also use <b>PDF</b> +as intermediate format. +Generating PDF from LaTeX is straightforward if you have a full TeX +implementation installed. If you have the full commercial version of +Adobe Acrobat 7, you can open the pdf and "save as" e.g. rtf (saving +"as Word doc" actually generates an rtf file, too), xml, or plain +text. Or you can use other commercial software to convert PDF to Word, +just do a www search for "pdf to word" to get several hits. In this +path of conversion however the document strucure and probably some +formatting will be lost. </p> +<p>Finally, you can use OCR software to convert any printed +document to word or plain text. To avoid the inaccuracy introduced by +printing to paper and scanning, you can convert the TeX output to ps or +pdf, convert this to a bitmap (using ghostscript), and feed this bitmap +into the ocr software.</p> +<hr> +<h2>Convert to FrameMaker</h2> +<p><b>la2mml</b>: converts LaTeX to FrameMaker +format. Maybe outdated, latest version was created +Nov. 1995. <br> +See <a href="la2mml.html">more detailed page</a>.<br> +<a href="http://vasc.ri.cmu.edu/old_help/Document/Latex2fm/latex2fm.html">homepage +(external link)</a> +</p> +<p><b>FrameMaker Utilities</b>: Contains converters +for both directions +(LaTeX <-> FrameMaker) as well as templates which make +conversion from Framemaker to LaTeX more easy<br> +<a href="http://www.cs.stir.ac.uk/%7Ekjt/software/framemaker/"> +homepage (external link)</a> +</p> +<hr> +<p>This HTML page is part of the texconv pages.<br> +Copyright © 1998 … 2011 Wilfried Hennings<br> +You may copy and redistribute it under the following conditions:</p> +<ul> +<li>it must remain intact and the contents unchanged; if you'd +like to have something changed, contact me (texconvfaq "at" gmx.de). +Reformatting (e.g. from HTML to some other presentation +format) is granted as long as the contents are unchanged. </li> +<li>you may NOT ask money for it except a reasonable cost for +media and distribution</li> +</ul> +<p>Please also note the <a href="index.html#disclaimer">disclaimer</a>.</p> +</body></html> |