<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Robert and Michal,
<div class=""><br class="">
<blockquote type="cite" class="">On Jan 31, 2018, at 8:29 AM, Michal Hoftich <<a href="mailto:michal.h21@gmail.com" class="">michal.h21@gmail.com</a>> wrote:<br class="">
<br class="">
Hi Bob,<br class="">
<br class="">
On Tue, Jan 30, 2018 at 6:57 PM, Hueckstedt, Robert A. (rah2k)<br class="">
<<a href="mailto:rah2k@virginia.edu" class="">rah2k@virginia.edu</a>> wrote:<br class="">
<blockquote type="cite" class="">With a publisher’s permission I used xelatex to provide them copy, not<br class="">
camera-ready copy, for a long book that has Sanskrit in Devanagari  and an<br class="">
English translation. Of course, the files I provided the publisher are pdfs.<br class="">
Now, the publisher wants them in doc. When they try to cut and paste from<br class="">
the pdf to doc, none of the conjunct consonants are recognized in the doc<br class="">
file. I used the velthuis-sanskrit mapping, and I am wondering if using the<br class="">
RomDev mapping would make a difference. I somehow doubt it. Suggestions?<br class="">
</blockquote>
<br class="">
You can try to compile your TeX file to HTML using tex4ht. The HTML<br class="">
code can be then pasted to Word. Basic command to compile XeTeX file<br class="">
to HTML is<br class="">
<br class="">
  make4ht -ux filename.tex<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">This might work, but first I’d try using Acrobat Pro to save the PDF</div>
<div class="">directly into a Word document.</div>
<div class=""><br class="">
</div>
<div class="">This *can* work really well, especially when the PDF is enriched with</div>
<div class="">some tagging and the correct ToUnicode CMap resources for the fonts.</div>
<div class="">Try it and see if the result is reasonable.</div>
<div class=""><br class="">
</div>
<div class="">Alternatively, you can Export to HTML from Acrobat Pro; though I’d</div>
<div class="">expect that if the .doc export is no good, then the HTML export would</div>
<div class="">suffer from similar issues.</div>
<div class=""><br class="">
</div>
<div class="">It may even be that Adobe Reader can do these exports now,</div>
<div class="">as it is the same code-base.</div>
<br class="">
<blockquote type="cite" class=""><br class="">
Development version of make4ht can compile also to the ODT format,<br class="">
which can be opened directly in Word:<br class="">
<br class="">
  make4ht -ux -f odt filename.tex<br class="">
<br class="">
It is possible that you will need some additional configurations for<br class="">
the correct compilation. It depends on used packages or custom macros<br class="">
in the document.<br class="">
<br class="">
Best regards,<br class="">
Michal<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Hope this helps.</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Ross</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">PS. if you don’t have access to Acrobat Pro to try this,</div>
<div class="">can you send me a few pages. I’ll then try it for you.</div>
<div class="">If the result is good, that may be sufficient reason for you </div>
<div class="">to consider investing in a license. </div>
<br class="">
<div class=""><br class="">
Dr Ross Moore<br class="">
Mathematics Dept | 12 Wally’s Walk, 734<br class="">
Macquarie University, NSW 2109, Australia<br class="">
T: +61 2 9850 8955  |  F: +61 2 9850 8114<br class="">
M:+61 407 288 255  |  E: <a href="mailto:ross.moore@mq.edu.au" class="">ross.moore@mq.edu.au</a><br class="">
<br class="">
http://www.maths.mq.edu.au<br class="">
<br class="">
<span style="font-size: 12px; line-height: normal;"><a href="http://mq.edu.au/" target="_blank" style="font-size: 12px; line-height: normal;" class=""><span><br class="Apple-interchange-newline">
<span><img height="58" width="260" apple-inline="yes" id="97AA87C6-2850-4DFF-BE2A-E4BB1AF56D01" apple-width="yes" apple-height="yes" src="cid:image001.png@01D030BE.D37A46F0" class=""></span></span></a></span><br class="">
<br class="">
<br class="">
CRICOS Provider Number 00002J. Think before you print. <br class="">
Please consider the environment before printing this email.<br class="">
<br class="">
This message is intended for the addressee named and may <br class="">
contain confidential information. If you are not the intended <br class="">
recipient, please delete it and notify the sender. Views expressed <br class="">
in this message are those of the individual sender, and are not <br class="">
necessarily the views of Macquarie University.<br class="">
</div>
<br class="">
</div>
</body>
</html>