<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I have successfully extracted USFM from Steve's InDesign files
for the Tandroy Bible and made a draft module (tdx2023eb) for it.
The master USFM is now in a Bibledit cloud instance for Steve to
be able to make any adjustments to, and from which I can keep the
eBible.org copies updated.</p>
<p>In case anyone is curious, InDesign to USFM is NOT
straightforward, but if the person creating the InDesign files is
consistent enough in the way he uses styles for the different
kinds of text (Canonical text, verse numbers, name of Diety, etc.)
and paragraphs (poetry, prose, headings, etc.), it can be done.
The general process is:</p>
<ol>
<li>Export InDesign tagged text from each InDesign file, verbose
tags, Unicode.<br>
</li>
<li>Convert the Unicode files (UTF-16) to UTF-8. I used UltraEdit
for this, but other ways are possible.</li>
<li>Examine the tagged text in context to determine what style
names correspond to which USFM tags.</li>
<li>Use a chain of regular expressions to convert the tags. (David
H. would probably use Text Pipe for this, but I used massregex.)<br>
</li>
<li>Edit the results to merge in more book name data (from a
translator-supplied table) for book headers.</li>
<li>Sanity check the results.</li>
<li>Ask someone who can read the translation to check the work.</li>
</ol>
<p>Note: this is a time-consuming process that is easy to make
mistakes in. Therefore once the conversion is done, it is best to
stick with USFM for the original. If InDesign files are needed
again, they can be produced easily enough with SIL Publishing
Assistant.<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<title>signature</title>
<p><font color="#000000">Aloha,<br>
<b><big><i>Michael Johnson</i></big></b></font><b><br>
<font color="#000070">
26 HIWALANI LOOP • MAKAWAO HI 96768-8747</font></b><font
color="#000070"> • USA<br>
<a href="https://mljohnson.org/">mljohnson.org</a> • <a
href="https://eBible.org">eBible.org</a> • <a
href="https://WorldEnglish.Bible">WorldEnglish.Bible</a> • <a
href="https://PNG.Bible">PNG.Bible</a><br>
Signal/Telegram/WhatsApp/Telephone: +1 808-333-6921<br>
Skype: kahunapule • Telegram/Twitter: @kahunapule • <a
href="https://www.facebook.com/kahunapule">Facebook:
fb.me/kahunapule</a></font></p>
</div>
</body>
</html>