⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tex2doc.html

📁 HERE IS A EXAMPLE OF DOC TO PDF
💻 HTML
字号:
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="DC.Identifier" content="http://webplanet.lion.cc/jupiter/320094/software/Tex2doc.html">
<meta name="Author" content="Thomas Link">
<title>tex2doc</title>
<link rel="stylesheet" href="../tmldoc.css" type="text/css">
</head>
<!--INC:"www01b main-body-tag.inc"--><body text="#000000" bgcolor="#FFFFFF" link="#800000" alink="#FF0000" vlink="#008000"><!--/INC:"www01b main-body-tag.inc"-->
<h1><!--<IMG SRC="logo_word.GIF" HEIGHT=70 WIDTH=72>--> tex2doc</h1>

<p>Copyright (C) 1999
<!--INC:"email 0010.inc"--><a href="mailto:t.link@gmx.at"><!--/INC:"email 0010.inc"-->Thomas Link</a>. This
program is free software; you can redistribute it and/or modify it under the
terms of the
<a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>.</p>

<p>tex2doc is a template for MS Word, containing two macros: tmlTeX2Doc and
tmlBrowseDocVars. The macro <code>tmlTeX2Doc</code> is intended to help converting
LaTeX-documents to Word. It has been tested with Word 7 (U.S. English) for
Win95, and with Word 6 (German) for Mac. I don't know if it works with Word
8, 9 etc. - there might be some problems.</p>

<p>This program is anything but robust and it is highly optimized for my
personal needs. Use at your own risk. Don't forget to make backups before
running this macro.</p>

<p>The macro modifies the document opened in the top window, which is
supposed to be a LaTeX input file. The macro does not create or save any new
files. Solely, if you ask tex2doc to run BibTeX, the macro creates the needed
aux-file.
During the translation process it creates some new documents that should
be closed automatically at the end of the translation. So, if everything
goes well, you should not see any of these temporary documents.</p>

<p>The macro creates some document specific text styles, if they are not already
defined: abbildung (graphics/picture), abstract, enumerate, zitat (quotation).
Captions are created according to the value of the variable <code>xlanguage$</code>.
At this time, English and German captions are supported -- see <a href="newlang.html">
here for how to adapt tmlTeX2Doc for a different language</a>.
Basically, the macro can deal with the following commands (some commands are supported
better than others):
</p>

<ul>
<li>Commands: chapter, section, subsection, subsubsection, paragraph,
subparagraph, emph, ldots, cite, input, include, includeonly,
tableofcontents, listoftables, listoffigures, ref, thebibliography,
multicolumn, labels and references, footnotes, newcommand, renewcommand</li>

<li>Environments: quote, quotation, abstract, tabular, pictures, lists,
table, figure</li>

<li>No maths, no packages</li>
</ul>

<p>Pictures are usually included using <code>\includegraphics{filename}</code>.
You can easily add your own commands, whereby it is possible to use commands that
define a caption and a label - search the source code for "\epsabb" for an
example. The filename suffixes, which are appended to the filename, are
defined in <code>xpicformats$</code>. Adapt this variable according to the
graphic filters installed on your computer.</p>

<p>The cite-command is optimised for <a href=
"ftp://ftp.dante.de/pub/tex/biblio/bibtex/contrib/apacite/">apacite.sty</a>.
For performance reasons, a list of supported cite commands can be defined
by setting the variable <code>xcitecmds$</code>. This feature possibly doesn't
work with other bib-styles -- if you use
LaTeX' standard styles, redefine the value of <code>xcitemode$</code> at the
beginning of the source code. <code>tex2doc</code> makes use of the bbl-file,
not the aux-file -- as LaTeX does. The aux-file is only used to tell BibTeX which
citations are to be created.</p>

<p>In any case, take a look at the source code. Change the variables at the
beginning of the file to modify some aspects of tex2doc's behaviour.
Adapt the macro to your needs.</p>


<h2>Installation</h2>

<p>Open the template <tt>tex2doc.dot</tt>. This template contains the macro.
In order to make the macro accessible, (1) either copy the macro to your
standard template (<tt>normal.dot</tt> or <tt>Normal</tt>), using the organizer
(<em>Tools/Macro/Organizer</em>), (2) or add the file
<tt>tex2doc.dot</tt> to the list of standard templates, which can be set
by selecting <em>File/Templates</em> from the menu.
In case you don't know what I'm talking about -- templates?, macros?, menu?,
<tt>normal.dot</tt>? --, please consult MS Word's documentation.</p>


<h2>Usage</h2>

<p>How do I use the macro? First, open your LaTeX document or, even better, open
a copy of your file. Secondly, select <em>Tools/Macro</em> from the menu
and look for "tmlTex2Doc". Press "Start", "Execute", "Run", or whatever this button
is called.</p>

<p>When running <tt>tmlTeX2Doc</tt>, a user dialog gives you the following
possibilities:
</p>

<ul>
<li>Standard</li>

<li>Cancel</li>

<li>Selection: transform selected commands</li>

<li>Single File: ref, label, include, newcommand are ignored</li>

<li>Combine: combine files previously processed using "Single File";
"filename.doc" is preferred to "filename.tex"</li>

<li>BibTeX: compile an aux-file and run BibTeX. Rerun <tt>tmlTeX2Doc</tt>
to insert citations. On Windows the file is saved as *.txt and renamed
to *.bbl afterwards, which is necessary with some program versions but doesn't
always work. The variable <code>xbibtex$</code> contains the name of your
bibtex-application. On a Mac use the application's signature.</li>
</ul>

<p>After using tmlTeX2Doc, consider selecting "SaveAs..." from the
file-menu.</p>

<h2>Download</h2>

<p>8.4.1999: <a href="tex2doc.zip">tex2doc.zip</a> (25KB)

<br>
<!--INC:"sig mod, email (plain).inc"--><p class="sig"><br>
--<br>
(c) <!--INC:"jahr.inc"-->2001<!--/INC:"jahr.inc"-->
&nbsp;<!--INC:"email 0010.inc"-->
<a href="mailto:t.link@gmx.at"><!--/INC:"email 0010.inc"-->
Thomas Link</a>
(last updated <!--DATE-->06.02.2001<!--/DATE-->)</p><!--/INC:"sig mod, email (plain).inc"-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -