Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LaTeX to Microsoft Word Conversion on Mac

6,223 views
Skip to first unread message

Sebastian

unread,
Aug 26, 2011, 6:57:27 AM8/26/11
to
Hi,

my stupid professor wants to edit my thesis in Word. So now I have to produce some Word document from either my tex or pdf file. It would be OK if some of the formating gets screwed up, as long as the main body of the text (and the citations crated with bilatex) can be seen and edited in Word.

How do I do that? I am a bloody beginner with LaTeX, so please be detailed when you explain it to me.
I have seen this has been asked many times, but I have only found the question, not the answer here and on the web.

thanks,
Sebastian

Lars Madsen

unread,
Aug 26, 2011, 7:11:25 AM8/26/11
to

well, is your professor co-author on your thesis? If not he should not
be editing any of your files, because then your work is no longer an
original work of your writing.

Have you considered using Adobe Acrobat to enable general commenting in
a PDF version, and then ask the professor to add comments to the thesis
via Adobe Reader?

--

/daleif (remove RTFSIGNATURE from email address)

Memoir and mh bundle maintainer
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.minimalbeispiel.de/mini-en.html

Benoit RIVET

unread,
Aug 26, 2011, 8:50:34 AM8/26/11
to
Sebastian <273...@googlemail.com> wrote:

> Hi,
>
> my professor wants to edit my thesis in Word. So now I have to


> produce some Word document from either my tex or pdf file. It would be OK
> if some of the formating gets screwed up, as long as the main body of the
> text (and the citations crated with bilatex) can be seen and edited in
> Word.
>
> How do I do that? I am a bloody beginner with LaTeX, so please be detailed
> when you explain it to me.

Step 1 : compile with htlatex
1.a using the htlatex engine -if enabled- in TexShop,
1.b or opening the Terminal and :

cd ~/appropriate/directory
htlatex file.tex

where you need to indicate the appropriate path instead of
~/appropriate/directory and the appropriate filename instead of
file.tex.

Step 2 : open the html file with LibreOffice, Word or your favorite
office program. Check the doc, save as .doc.

Step 3 : mail it to your thesis advisor.

Rasmus

unread,
Aug 26, 2011, 9:05:34 AM8/26/11
to
Sebastian <273...@googlemail.com> writes:

> How do I do that? I am a bloody beginner with LaTeX, so please be
> detailed when you explain it to me.
> I have seen this has been asked many times, but I have only found the
> question, not the answer here and on the web.

You could use Orgmode. It exports to tex and odt. I believe Words
support odt these days.

Alternatively, many other high(er) level languages exist.

If you must use tex files I would suggest tex4ht and specifically
oolatex—if it still works.

–Rasmus

--
Sent from my Emacs

Denis Bitouzé

unread,
Aug 26, 2011, 9:07:01 AM8/26/11
to
Le vendredi 26/08/11 à 03h57,
Sebastian <273...@googlemail.com> a écrit :

> So now I have to produce some Word document from either my tex or pdf
> file.

You could have a look at pdftoword: http://www.pdftoword.com/
--
Denis

DaveG

unread,
Aug 26, 2011, 10:12:19 AM8/26/11
to

HI,
I agree only let him edit if he is co-author.

try get him to use PDf commenting...

Otherwise push it into LyX and let him try that. It is similar to
Word's normal view.
(then he needs to install LyX and a laTeX system but V2 is a great
improvement. I have moved to it now and do not use Word).
If he really is collaborating there are now co-operative Latex editing
sites.
which might work better if there are a lot of changes.

Personally I have wasted so much time reformatting after bad edits
from co-authors and reviewers I force them to make comments on PDF.
It saves me hours.


David J Garbutt
Principal Consultant
BIOP AG , Centralbahnstrasse 7 , Basel

http://linkedin.com/DavidGarbutt
http://daveg.tiddlyspot.com/
My Reading: http://www.google.ch/reader/shared/07452829093617958582
skype: davgar51

---
Life Science Forum Basel June 23rd 2011 http://www.lifescienceforumbasel.org/


Robert Heller

unread,
Aug 26, 2011, 10:18:34 AM8/26/11
to
At Fri, 26 Aug 2011 03:57:27 -0700 (PDT) Sebastian <273...@googlemail.com> wrote:

>
> Hi,
>
> my stupid professor wants to edit my thesis in Word. So now I have to produ=
> ce some Word document from either my tex or pdf file. It would be OK if som=
> e of the formating gets screwed up, as long as the main body of the text (a=


> nd the citations crated with bilatex) can be seen and edited in Word.
>

> How do I do that? I am a bloody beginner with LaTeX, so please be detailed =


> when you explain it to me.

> I have seen this has been asked many times, but I have only found the quest=


> ion, not the answer here and on the web.

If all your professor wants to do is edit the *text*, he can actually
edit the .tex files themselves -- they are *plain text* files, and
mess-word can actually edit plain text files (although Notepad might be
a better choice)-- I had a proof reader do just exactly that with the
LaTeX files for a book I self-published -- that worked out quite well.

Note: there is no really good, clean, transparent way to convert *TeX
files to MS-Word and back. It is like converting a screw to a nail,
pounding it into a piece of wood and having it convert (magically?)
back into a screw. One can grind the threads off a screw to produce
something like a nail (but a really bad nail -- screws are made from a
harder metal than nails), but there is no way put the threads back on.
*TeX files and word-processing files are such radically different sorts
of things.

All of the suggestions mentioned are one-way trips and almost all result
in a degraded result. To maintain a high quality result, you will end
up having to *manually* update the original LaTeX files. You might be
better off giving you prof a *hard copy* printout and buying him a red
pen... Primitive, but ultimately the least painful.

>
> thanks,
> Sebastian
>

--
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments



David Lentini

unread,
Aug 26, 2011, 1:33:14 PM8/26/11
to
I agree there is no transparent solution. The most robust answer I've
found is the TEX2WORD add-in for Word from Chikrii Software:

http://www.chikrii.com/products/tex2word/tex-to-word/

There is also a revise WORD2TEX add-in too.

Peter Flynn

unread,
Aug 26, 2011, 5:52:49 PM8/26/11
to
On 26/08/11 11:57, Sebastian wrote:
> Hi,
>
> my stupid professor wants to edit my thesis in Word.

He must be extremely stupid if he wants to edit it. In some places this
will disqualify you from getting the degree.

I suspect "edit" means "comment on, electronically". This should be done
in PDF, and your prof will need a full copy of Adobe Acrobat, which
should be available from campus IT or whoever deals with providing
licensed software to Faculty.

But most people don't know this, or their department can't afford it, so
doing the commenting in Word is common, if deplorable. My supervisor,
fortunately, insists on paper :-)

> So now I have to
> produce some Word document from either my tex or pdf file. It would
> be OK if some of the formating gets screwed up, as long as the main
> body of the text (and the citations crated with bilatex) can be seen
> and edited in Word.

Install TeX4ht from http://www.tug.org/applications/tex4ht/mn.html
This will convert standard LaTeX into a number of different formats,
including OpenOffice and XHTML, which are the two you should test.

The OpenOffice (.odt) output can be opened in OpenOffice and saved as a
Word .doc or .docx file.

The XHTML file can be edited with a validating XHTML editor and some
carefully-crafted CSS embedded. You then rename the file to end with
.doc instead of .html, and Word will open it and can save it as a native
.docx file :-)

Both methods work, but it depends on the complexity of your document as
to which one produces the better output. It will screw up if you have
homebrew hacks and bodges in your document. For best results, stick
strictly to the basic features and don't try to do too much formatting
(comment out any packages which aren't necessary for the conversion).

> How do I do that? I am a bloody beginner with LaTeX, so please be
> detailed when you explain it to me. I have seen this has been asked
> many times, but I have only found the question, not the answer here
> and on the web.

I have answered this one many times, but I can't remember where. Using
Google to search for things like this is not meaningful. There may be
more answers on tex.stackexchange.com

///Peter

fred

unread,
Aug 27, 2011, 3:44:08 AM8/27/11
to

Does LaTeX2RTF work on a mac? Or can you use a PC to do the actual
conversion with it? I use it a lot, to push out a Word readable version
of my work to unenlightened colleagues. If you are happy to only go one
way (convert your LaTeX to Word) and incorporate his (suggested) changes
back into your LaTeX files by hand, I suggest you just use LaTeX2RTF.

If you have a copy of Word, then you can open the RTF file you create,
do a "Select All" and then press F9 and all the references should all
then be correctly numbered. Then you can save it as a doc file and the
prof won't be any the wiser. Be aware that you will have to keep your
LaTeX pretty simple and standard, no fancy packages etc.

--

Philipp Stephani

unread,
Aug 27, 2011, 5:00:48 AM8/27/11
to
Peter Flynn <pe...@silmaril.ie> writes:

> I suspect "edit" means "comment on, electronically". This should be done in
> PDF, and your prof will need a full copy of Adobe Acrobat

No, the viewer app included in OS X can add comments to PDF files as well.

--
Change “LookInSig” to “tcalveu” to answer by mail.

Marc Olschok

unread,
Aug 27, 2011, 11:35:53 AM8/27/11
to
Sebastian <273...@googlemail.com> wrote:
> Hi,
>
> my stupid professor wants to edit my thesis in Word. So now I have to
> produce some Word document from either my tex or pdf file.

In addition to the answers already given, you might also consider changing
the professor.

--
Marc

Joris Pinkse

unread,
Aug 27, 2011, 2:12:07 PM8/27/11
to

all you need to do is to let him read your post... ;-)

Dan

unread,
Aug 27, 2011, 5:45:16 PM8/27/11
to
On Aug 26, 6:11 am, Lars Madsen <dal...@RTFMSIGNATUREimf.au.dk> wrote:
> Sebastian wrote, On 2011-08-26 12:57:
>
> > Hi,
>
> > my stupid professor wants to edit my thesis in Word. So now I have to
> > produce some Word document from either my tex or pdf file. It would
> > be OK if some of the formating gets screwed up, as long as the main
> > body of the text (and the citations crated with bilatex) can be seen
> > and edited in Word.
>
> > How do I do that? I am a bloody beginner with LaTeX, so please be
> > detailed when you explain it to me. I have seen this has been asked
> > many times, but I have only found the question, not the answer here
> > and on the web.
>
> > thanks, Sebastian
>
> well, is your professor co-author on your thesis? If not he should not
> be editing any of your files, because then your work is no longer an
> original work of your writing.

Though one should avoid changing the content, there can be
good reasons to edit the files.

I edited my student's files: I corrected his LaTeX, fixed bad
page breaks, and changed some inadvisable font choices.

Nobody can possibly consider me a coauther. I was at most
a proofreader or typesetter.

Of course, if he had been so fooloish as to write in anything
other than LaTeX I would have let him make the chnges and
not even have asked to see the sources. But as it was, we
saved a lot of time this way and made deadlines we might
not otherwise have made.


Dan

David Kastrup

unread,
Aug 27, 2011, 6:01:41 PM8/27/11
to
Dan <luec...@uark.edu> writes:

"We"? A thesis is supposed to be the student's work.

--
David Kastrup
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>

Joris Pinkse

unread,
Aug 27, 2011, 6:08:53 PM8/27/11
to

Making deadlines is a joint effort.


David Kastrup

unread,
Aug 27, 2011, 6:16:30 PM8/27/11
to
Joris Pinkse <pin...@gmail.com> writes:

It would be utterly unthinkable here that a professor would be editing a
student's thesis files in order for the student to meet a deadline.

In fact, the student has to hand in an affidavit that he created his
thesis "eigenhändig", with his own hands, and did not use any but the
cited references as help.

Joris

unread,
Aug 28, 2011, 3:30:56 AM8/28/11
to
On Aug 28, 12:16 am, David Kastrup <d...@gnu.org> wrote:
> Joris Pinkse <pin...@gmail.com> writes:
> > On 08/27/2011 06:01 PM, David Kastrup wrote:
> >> Dan<lueck...@uark.edu>  writes:

That's not what I meant. Advisors have to give advice in a timely
manet and keep an eye on the clock in terms of extra things they want
done.

Peter Flynn

unread,
Aug 28, 2011, 6:42:24 AM8/28/11
to

There may be some confusion over the terms and roles here. Our students
have to include a similar statement in their theses, but the academic to
whom the student reports has a duty to supervise the student's work, to
ensure it meets the standards for an advanced degree. A student is
expected to ask this person for advice, and they are expected to give
it. Leaving a student to work unmonitored; or not being available to
advise on direction, would be completely unacceptable behaviour by the
department.

But actually editing a student's thesis, deadline or not, would be
equally unacceptable.

///Peter

Dan

unread,
Aug 28, 2011, 6:15:38 PM8/28/11
to
On Aug 27, 5:01 pm, David Kastrup <d...@gnu.org> wrote:

The thesis is supposed to be the students work, but not all
the deadlines are.

The thesis _is_ his work. The deadlines were mine as well
as his, and these were interdependent. _We_ both made our
respective deadlines.

What is the f__king big deal about editing for format (_not_
content)?
When I wrote my thesis it was in pencil on lined paper. The math
department actually gave me funds to hire a typist to do to my
thesis the equivalent of what I did to his: get it into the format
required.

And someone said US universities are picky. At least we don't
require our students to _type_ their own thesis. They just have
to _write_ it.


Dan

Dan

unread,
Aug 28, 2011, 6:20:09 PM8/28/11
to
On Aug 27, 5:16 pm, David Kastrup <d...@gnu.org> wrote:
> Joris Pinkse <pin...@gmail.com> writes:
> > On 08/27/2011 06:01 PM, David Kastrup wrote:
> >> Dan<lueck...@uark.edu>  writes:

>
> >>> On Aug 26, 6:11 am, Lars Madsen<dal...@RTFMSIGNATUREimf.au.dk>  wrote:
>
> >>>> well, is your professor co-author on your thesis? If not he should
> >>>> not be editing any of your files, because then your work is no longer
> >>>> an original work of your writing.
>
> >>> Though one should avoid changing the content, there can be
> >>> good reasons to edit the files.
>
> >>> I edited my student's files:  I corrected his LaTeX, fixed bad
> >>> page breaks, and changed some inadvisable font choices.
>
> >>> Nobody can possibly consider me a coauther. I was at most
> >>> a proofreader or typesetter.
>
> >>> Of course, if he had been so fooloish as to write in anything
> >>> other than LaTeX I would have let him make the chnges and
> >>> not even have asked to see the sources. But as it was, we
> >>> saved a lot of time this way and made deadlines we might
> >>> not otherwise have made.
>
> >> "We"?  A thesis is supposed to be the student's work.
>
> > Making deadlines is a joint effort.
>
> It would be utterly unthinkable here that a professor would be editing a
> student's thesis files in order for the student to meet a deadline.
>
> In fact, the student has to hand in an affidavit that he created his
> thesis "eigenhändig", with his own hands, and did not use any but the
> cited references as help.

And back before computers were they not allowed to employ a typist?


Dan

Charles P. Schaum

unread,
Aug 28, 2011, 6:31:49 PM8/28/11
to
On Fri, 26 Aug 2011 03:57:27 -0700, Sebastian wrote:

Been there, done that. I copy/pasted the PDF output page by page. BTW,
that works well enough in Windows; not so much on a Mac. It took a week
to snap the Word thing into shape. In the end I got the degree.

But in at least some parts of the US, your advisor and your dean own your
butt and they can hose your academic career pretty fast.

If I had posted negatively about my advisor and readers on the Internet,
and if I had been caught, I could imagine that my degree would have been
sunk like the Titanic.

Charles

--
Remove nospam to reply

Lars Madsen

unread,
Aug 29, 2011, 3:44:18 AM8/29/11
to
Dan wrote, On 2011-08-27 23:45:
> On Aug 26, 6:11 am, Lars Madsen <dal...@RTFMSIGNATUREimf.au.dk> wrote:
>> Sebastian wrote, On 2011-08-26 12:57:
>>
>>> Hi,
>>> my stupid professor wants to edit my thesis in Word. So now I have to
>>> produce some Word document from either my tex or pdf file. It would
>>> be OK if some of the formating gets screwed up, as long as the main
>>> body of the text (and the citations crated with bilatex) can be seen
>>> and edited in Word.
>>> How do I do that? I am a bloody beginner with LaTeX, so please be
>>> detailed when you explain it to me. I have seen this has been asked
>>> many times, but I have only found the question, not the answer here
>>> and on the web.
>>> thanks, Sebastian
>> well, is your professor co-author on your thesis? If not he should not
>> be editing any of your files, because then your work is no longer an
>> original work of your writing.
>
> Though one should avoid changing the content, there can be
> good reasons to edit the files.
>
> I edited my student's files: I corrected his LaTeX, fixed bad
> page breaks, and changed some inadvisable font choices.
>

I do the same thing, mostly with the student sitting next to me.

> Nobody can possibly consider me a coauther. I was at most
> a proofreader or typesetter.
>

Right

> Of course, if he had been so fooloish as to write in anything
> other than LaTeX I would have let him make the chnges and
> not even have asked to see the sources. But as it was, we
> saved a lot of time this way and made deadlines we might
> not otherwise have made.
>
>
> Dan

Lars Madsen

unread,
Aug 29, 2011, 3:47:10 AM8/29/11
to
Philipp Stephani wrote, On 2011-08-27 11:00:
> Peter Flynn <pe...@silmaril.ie> writes:
>
>> I suspect "edit" means "comment on, electronically". This should be done in
>> PDF, and your prof will need a full copy of Adobe Acrobat
>
> No, the viewer app included in OS X can add comments to PDF files as well.
>

which also may have a tendency to f### up fonts when working with PDF
files done in LaTeX (I've seen that a couple of times)

Robert Heller

unread,
Aug 29, 2011, 8:18:00 AM8/29/11
to
At Mon, 29 Aug 2011 09:47:10 +0200 Lars Madsen <dal...@RTFMSIGNATUREimf.au.dk> wrote:

>
> Philipp Stephani wrote, On 2011-08-27 11:00:
> > Peter Flynn <pe...@silmaril.ie> writes:
> >
> >> I suspect "edit" means "comment on, electronically". This should be done in
> >> PDF, and your prof will need a full copy of Adobe Acrobat
> >
> > No, the viewer app included in OS X can add comments to PDF files as well.
> >
>
> which also may have a tendency to f### up fonts when working with PDF
> files done in LaTeX (I've seen that a couple of times)
>

Does this really matter much? Since the student will be regenerating
the PDF from the *corrected* LaTeX sources, given the annotations by
the prof.

Lars Madsen

unread,
Aug 29, 2011, 8:24:50 AM8/29/11
to
Robert Heller wrote, On 2011-08-29 14:18:
> At Mon, 29 Aug 2011 09:47:10 +0200 Lars Madsen <dal...@RTFMSIGNATUREimf.au.dk> wrote:
>
>> Philipp Stephani wrote, On 2011-08-27 11:00:
>>> Peter Flynn <pe...@silmaril.ie> writes:
>>>
>>>> I suspect "edit" means "comment on, electronically". This should be done in
>>>> PDF, and your prof will need a full copy of Adobe Acrobat
>>> No, the viewer app included in OS X can add comments to PDF files as well.
>>>
>> which also may have a tendency to f### up fonts when working with PDF
>> files done in LaTeX (I've seen that a couple of times)
>>
>
> Does this really matter much? Since the student will be regenerating
> the PDF from the *corrected* LaTeX sources, given the annotations by
> the prof.
>
>

In our case, the PDF was then printed, and all the fonts printed wrong.
Looked fine on screen, but print might come out as courier. Or in one
case, all text was fine, but the horizontal lines in fractions or sqrts
was missing (this was the exercise set for a written exam)

After that we asked all our secretaries not to save PDF files from
within the preview app on their macs. Now we do not have that problem.

David Griffith

unread,
Aug 29, 2011, 11:13:52 PM8/29/11
to
Robert Heller <hel...@deepsoft.com> wrote:
> At Mon, 29 Aug 2011 09:47:10 +0200 Lars Madsen <dal...@RTFMSIGNATUREimf.au.dk> wrote:

>>
>> Philipp Stephani wrote, On 2011-08-27 11:00:
>> > Peter Flynn <pe...@silmaril.ie> writes:
>> >
>> >> I suspect "edit" means "comment on, electronically". This should be done in
>> >> PDF, and your prof will need a full copy of Adobe Acrobat
>> >
>> > No, the viewer app included in OS X can add comments to PDF files as well.
>> >
>>
>> which also may have a tendency to f### up fonts when working with PDF
>> files done in LaTeX (I've seen that a couple of times)

> Does this really matter much? Since the student will be regenerating
> the PDF from the *corrected* LaTeX sources, given the annotations by
> the prof.

Hear hear! How is this significantly different from putting edit marks
on a hardcopy?


--
David Griffith
davidmy...@acm.org <--- Put my last name where it belongs

0 new messages