Is this the issue you have come across?<br><ul><li><a href="http://cikitsa.blogspot.com/2010/09/xelatex-velthuis-encoding-and-palatal.html">http://cikitsa.blogspot.com/2010/09/xelatex-velthuis-encoding-and-palatal.html</a></li>

</ul>Or is it something simpler?  Perhaps you can just delete the line in the sed file that produces the unwanted conversion?  Sed files are dead easy to understand and to write.  They're just glorified search-and-replace statements.<br>

<br>Wait a minute.  Reading your note more carefully, I think the sed script is giving you English text with unwanted "\ñ" strings here and there. Is that right?  If so, you could just add a last line to the sed script to right that wrong ("s/\\ñ/ñ/g").<br>

<br>Yes, you are right about TEC/map files.  I think you should use the existing velthuis map files and replace the Devanagari character codes for output with Latin, just as you say.  Once you get to understand the conjunct consonants coding, it can be stripped out.  Etc.  I don't know where the documentation for TEC files is, but probably on the SIL website.<br>

<br>The TEC mechanism is also a glorified search-and-replace system, but with more intelligence about context-sensitive processing of strings.<br><br>Best,<br>Dominik<font size="1"><a href="https://www.dropbox.com/referrals/NTIzNzI2MTY5" target="_blank"></a></font><br>

<br><div class="gmail_quote">On 3 February 2011 18:58, Neal Delmonico <span dir="ltr"><<a href="mailto:ndelmonico@sbcglobal.net">ndelmonico@sbcglobal.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Thanks Dominik,<br>
<br>
I tried the sed file and it works wonderfully, in fact a little too well.  My files tend to be mixed Sanskrit and translation in which I use the standard LaTeX diacritic codes.  "\~n" gets picked up by the sed file and converted and then XeLaTeX chokes on it.  Is there a way around this?  I can, of course, search and replace those unwanted conversions, but it is a little less convenient.<br>


<br>
What is involved in writing a XeTeX TEC file?  I've looked at the map files.  Is it mostly a matter of substituting the Unicode codes with other Unicode codes to produce Romanized output instead of Devanagari?  Is it possible for a semi-computer literate person like myself to do that?  Where would I start?<br>


<br>
Thanks again for your help.<br>
<br>
Best<br>
<br>
Neal<div class="im"><br>
<br>
On Thu, 03 Feb 2011 06:05:51 -0600, Dominik Wujastyk <<a href="mailto:wujastyk@gmail.com" target="_blank">wujastyk@gmail.com</a>> wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
I tend to do this just with a sed script, for the file as a whole (sed file<br>
attached, originally from Richard Mahoney, but edited by me).  It wouldn't<br>
be that hard to write a xetex TEC file to do this, but I'm not aware of<br>
anyone actually having done it yet.  It would be nice to have, I agree.<br>
Dominik<br></div>
<<a href="https://www.dropbox.com/referrals/NTIzNzI2MTY5" target="_blank">https://www.dropbox.com/referrals/NTIzNzI2MTY5</a>><div class="im"><br>
<br>
<br>
On 2 February 2011 23:34, Neal Delmonico <<a href="mailto:ndelmonico@sbcglobal.net" target="_blank">ndelmonico@sbcglobal.net</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi All,<br>
<br>
Is there any easy way to get from Velthuis Devanagari encoding to Roman<br>
transliteration?  I have lots of documents in Velthuis that I would like to<br>
switch to Roman transliteration sometimes without having to type them in<br>
again.  If there is a way to just substitute some LaTex codes, that would be<br>
tremendous.<br>
<br>
Thanks,<br>
<br>
Neal<br>
<br>
--<br>
Using Opera's revolutionary email client: <a href="http://www.opera.com/mail/" target="_blank">http://www.opera.com/mail/</a><br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
 <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br>
</blockquote></div></blockquote><div><div></div><div class="h5">
<br>
<br>
-- <br>
Using Opera's revolutionary email client: <a href="http://www.opera.com/mail/" target="_blank">http://www.opera.com/mail/</a><br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
 <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br>