<div dir="ltr"><div class="gmail_default" style="font-family:garamond,serif;font-size:large">I replied privately to Fr Cyrille's question how to make jedit macros work by mistake. <br><br>Here's the "howto" in case anyone later seeks to use this "script". <br><br>$sudo apt install jedit <br><br>Then run jedit at least once. <br><br>$jedit<br><br>Then put this file in .jedit/Macros<br><br>$cp AV_Fix_Roman_to_Decimal.bsh ~/.jedit/Macros/AV_Fix_Roman_to_Decimal.bsh<br><br>Then load your text into jedit, and select on the menu "Macros" ---> AV_Fix_Roman_to_Decimal<br><br>This specific script looks for lower case roman numerals that terminate with a dot and a space. This prevents the most false positives, but leaves roman numerals that have OCR issues (roman numbers that terminate with commas or nothing, and those that don't have a trailing space.) However, I found this got me to 98% done, and had nothing I had to change back, where more aggressive finds tended to over convert and I had to revert items from roman numbers back to letters inside parts of words. <br><br>But it will at least give you something to start from for your use case. <br><br>Jedit that comes with Ubuntu (I'm still on 18) is very slow with large files. The developers claim to have fixed it with jedit 5.6, but I haven't seen success at speeding up when I tried preview builds of 5.6 (yet).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 20, 2020 at 11:44 AM Fr Cyrille <<a href="mailto:fr.cyrille@tiberiade.be">fr.cyrille@tiberiade.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<br>
<br>
<div>Le 20/09/2020 à 15:53, Michael H a
écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:garamond,serif;font-size:large">I do for
jedit. <br>
<br>
<a href="https://github.com/Avante-Vangard/Evangard/blob/master/Jedit/Macros/Evangard/AV_Fix_Roman_to_Decimal.bsh" target="_blank">https://github.com/Avante-Vangard/Evangard/blob/master/Jedit/Macros/Evangard/AV_Fix_Roman_to_Decimal.bsh</a><br>
<br>
It's for circa 1900 scripture references where lower case
roman pretty much uniformly represents chapter numbers. <br>
</div>
</div>
</blockquote>
Wow! This is interesting! But can you explain how to use? I'm Ubuntu
user.<br>
<blockquote type="cite"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Sep 20, 2020 at 8:44
AM Fr Cyrille <<a href="mailto:fr.cyrille@tiberiade.be" target="_blank">fr.cyrille@tiberiade.be</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
Do you know or have any script to convert roman numbers in a
text to<br>
arab numbers?<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
<br>
</div>
</blockquote></div>