To add this Menu to MS Word,
eSword.zip 182.14K 216 downloads
1) Download ‘eSword.zip’
2) Unzip it. It contains the file eSword.dot
3) Paste eSword.dot in C:\Users\YourName\AppData\Roaming\Microsoft\Templates
4) In Word 2003
On the Main Menu Bar, go to Tools>Templates and Add-ins...>click on Add, then select ‘eSword.dot’ and click OK. You will now have a new menu 'Edit e-Sword'
OR
5) In Word 2007
On the Main Menu ribbon, go to Developer>Document Template>click on Add, then select ‘eSword.dot’ and click OK. You will now have a new menu 'Add-ins'. Click on it and you will see 'Edit e-Sword'. If you right-click it, you can add it to the Quick Access Toolbar (QAT).
THIS FILE (eSword.dot) CONTAINS THE FOLLOWING MACROS:
Josh’s Macros (www.biblesupport.com)
TheWord to e-Sword Macro:
“TheWord uses RTF hyperlink verse references. e-Sword uses a "tooltip" verse reference system. When you see "Matthew 3:1" in e-Sword or TheWord, there's different text behind that reference.
In TheWord, the behind the scenes link is something like this (there's a variety of styles TheWord uses): {\field{\*\fldinst HYPERLINK "tw://bible.*?id=40.3.1|_AUTODETECT_|"}{\fldrslt \plain \f2\ul\fs20\cf2 Matt. 3:1}}.
e-Sword's "Tooltip" Reference looks something like this: \cf1\ul Mat_3:1\cf0\ulnone
You should not leave TheWord hyperlink references in your e-Sword file. For one reason, Tooltip will sometimes crash when trying to parse TheWord verse references. Another reason is that the text may look fine now, but if the e-Sword developer switches to a real Hyperlink reference system, then suddenly TheWord's references may start appearing in your e-Sword resource.
To convert TheWord verse references to e-Sword tooltip, use this macro.”
Footnotes to Inline notes:
“Sometimes, someone will give me a Microsoft Word document or RTF document with footnotes. I see these style footnotes in Word documents, RTF documents, etc. It must be a standard footnoting system used by word processors. The footnotes are at the bottom of each page. The footnote text isn't selectable when you copy and paste parts of the document. And it's generally a huge hassle to deal with footnotes because you have to figure out where you're going to put them in a module. And they don't copy very easily. And it's troublesome keeping them with the text they belong to.
This Word macro converts the footnotes into in-line citations. That way, the footnote text is salvaged. And because they are in-line, you don't have to worry with linking them. The citation format is [Note: ...]. The note color is dark blue, by default--but you can change that.”
David Cox’s Macros (http://www.davidcox....ord_macros.html)
Clean Text:
For cleaning up OCR text
Observations:
1.) It does not yet catch lines ending with apostraphes, nor certain puncuation marks.
2.) It doesn't always break and reunite the lines correctly. Most notably, if in the original text, a linefeed ends with a period before it, but that is not the end of the paragraph, it will make a paragraph break there anyway.
3.) You need to test the macro on the type of OCR text you have. Some just don't work right. Others it will make tens of thousands of search and replaces and save you a bunch of time. You just have to try and see. DO NOT USE IT ON FOREIGN LANGUAGE TEXTS, like Spanish. Done that, messed it up.
4.) Do this first after you download the text. I generally like to separate the text into chapters and work on each chapter independently. A 1000 page OCR text will take maybe 5 minutes to run the macro completely. But considering how long it would take you by hand... the wait is worth it.
Roman 2 Arabic:
Converts Roman numerals to Arabic numerals.
Comments:
This will not work on everything. I perhaps have some errors here and there. It obvious will make non-Bible verse references without picking up that it is not a Bible reference, for example, Philo book viii, 45. Cannot figure out how to fix that. Have to live with it. Also it doesn't pick up wierd puncuation around the references either.
Updated as of October 2011
Versify:
This is my largest macro with about 800 search and replaces. Still not working perfectly yet though. It will seek to find all the verses in the text and make them into an e-Sword format. Note that this macro includes
(1) Convert all Bible references to their standard e-Sword format. Note that this macro will not make the correct RTF formatting because that is in a separate macro below.
(2) Convert Arabic numeral references, e.g. John ix. 12.
(3) It also will interpret the series of references in a single book to separate them correctly, e.g. John 1:2, 12; 3:4. to Joh_1:2; Joh_1:12; Joh_3:4.
RTF Prep Conversion:
This makes the Document ready for simple RTF import.
RTF Italics One:
Encloses the line with rtf italics {\i……\i0}
Remove cf11:
This is to reverse the RTF formatting (to undo RTF Prep Conversion) if that is sometime necessary.
Refs Green:
This is simple code to make the verse references green underlined for the Microsoft Word Doc. This won't show up in an e-Sword module per say, but it helps to format the text in Word so that you can see the verse references. I say it won't work in e-Sword modules, but if you are making a TOP module, it will work for cut and paste into that module, and it will also work if you save your Microsoft Word document in RTF format and import it into the TOP module.
The next 4 macros are helpers to help me find Bible references in a text and check them for correct format or not. Once the text has been versified, run these below. There are two ways of checking, make all the non-Bible reference text invisible, or make all the Bible references invisible. Both have their counter macros to restore the text to normal (visible). I normally work with books that runs hundreds or thousands of pages long. So these macros are very useful to do what I want done. They are "helpers" to quickly allow me to spot exceptions the versify macro didn't convert correctly.
Invisble Refs:
This makes all the correctly formatted verse references invisible. This helps in scanning for verse references that didn't get converted. To restore to all visible run the macro below, Visible Refs.
Visible Refs:
This returns the invisible refs back to normal black text. (Note: this is the same as selecting the entire document, and setting the text color to automatic.)
Invisible Refs:
This is the companion to the above macro, except it will make invisible all the non-verse reference text. To restore to all visible run the macro below, Visible Words.
Visible Words:
This returns the invisible text back to normal black text. (Note: this is the same as selecting the entire document, and setting the text color to automatic.) Note that this macro will remove any coloring of text in the document.
Paul Beverley’s Macros (www.archivepub.co.uk/macros.html)
FRedit is by far the biggest timesaver for me. Unfortunately it uses a concept that is new to most editors: scripted find and replace. It sounds complicated, but it isn’t, and if this book prompts you to use only one macro, let it be FRedit. Trust me, you won’t regret it. Within this book I have only provided a brief introduction to the concept because FRedit has its own instructions and a library of scripts for you to use for a vast range of different jobs. (http://www.archivepub.co.uk/FRedit)
DocAlyse and TextAlyse are invaluable in helping me to prepare my style sheet for a job. I make (hopefully) intelligent decisions about punctuation and spelling etc, based partly on what is the predominant form in the book. Because I do this before I start reading, it saves me a lot of time in the long run.
SpellAlyse is a spelling system where the macro analyses the (mis)spellings within the document, while I go off and make a cup of tea. When I come back, those ‘spelling errors’ that are in fact just proper nouns are highlighted in light grey while the real spelling errors are in bright green so that I can see them clearly. Foreign words are highlighted in a different colour (if I so choose), and the computer has produced a list of pairs of proper nouns that look as if they might possibly be variant spellings of one another.
IStoIZ and IZtoIS changes and/or highlights all the words in a file that need switching to whichever convention your client wants. It can also be made to change and/or highlight whichever a number of variant spellings, for example: burned/burnt, spelled/spelt, judgement/judgment (you decide which words you want to use this for).
For more details on how to use Paul Beverley’s macros download ‘TheBook.zip’
TheBook.zip 531.41K 62 downloads
Edited by dyan, 03 December 2011 - 03:49 PM.