On Sun, Feb 17, 2013 at 4:25 AM, Alexandre Roberts <span dir="ltr"><<a href="mailto:alexandre.roberts@gmail.com" target="_blank">alexandre.roberts@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Dear tex4ht list members,<div><br></div><div>I am about to begin drafting the first chapter of my dissertation in Byzantine and Middle Eastern history. This is the moment when I will commit to the format I will use for writing my entire dissertation. I want it to be XeLaTeX/BibLaTeX, but unless I can come up with a simple workflow for converting the content of my documents to Word format -- the only format that publishers in my field accept -- I will have to give this up and turn to Word/Endnote or Mellel/Bookends for the next three years.</div>

</div></blockquote><div><br>As far as I understand, TeX4ht won't support fontspec or XeLaTeX technologies of using system fonts that do not have *.tfm's. In effect, by adopting TeX4ht, one is likely to loose the features brought in by XeTeX. However, here is another approach.<br>

<ol><li>We translate all the Unicode character representations in the document to Unicode code points in 7bit ascii which is very much palatable to TeX4ht. A simple perl script, <a href="http://etf2ent.pl">etf2ent.pl</a> in the attached archive does the job.</li>

<li>We run TeX4ht on the output of step 1.</li><li>Open the *html in a browser, I believe, we get what you wanted. See the attached screen shot as it appeared in Firefox in my Linux box.<br></li></ol>Here is what I did with your specimen document.<br>

<ol><li>commented out lines that related to fontspec package from your sources named as alex.tex. <br></li><li>added four lines of macro code to digest the converted TeX sources</li><li>ran the command: perl <a href="http://utf2ent.pl">utf2ent.pl</a> alex.tex > alex-ent.tex <br>

</li><li>ran the command: htlatex alex-ent "xhtml,charset=utf-8,fn-in" -utf8  (fn-in option is to keep the footnotes in the same document). I have used a local bib file, mn.bib as I didn't have your bib database. biber was also run in the meantime to process the bibliography database.<br>

</li><li>open the output, alex-ent.html in a browser. I got it as you see in the attached alex.png.</li></ol><p>Hope this might help you.<br></p>Best regards<br></div></div><br>-- <br>Radhakrishnan<br><a href="https://maps.google.com/maps?q=River%20Valley,%20Thiruvananthapuram%20Neyyardam%20Road,%20Kerala,%20India&vector=1" target="_blank">River Valley</a><br>

<br>