Comments (4)
Hello,
No need to apologize at all, the versification support in BibleMultiConverter is not the best and I also first had to think for a while how to get your text file easiest into a supported versification format. (It is not a .bmcv file, so probably best name it .txt not to get confused).
The format I'd use is CCEL, as it is the most similar to your text file and is the only supported format which will automatically fill the bible with "identity mappings" for all verses that exist in both versifications and do not have a mapping defined. However, it is XML, and verse references (including book names) follow OSIS conventions, so you will need to edit your file slightly that it looks like this:
<refMap from="Afr20" to="KJV">
<map from="Exod.5.24" to="Exod.6.1" />
<map from="Exod.6.1" to="Exod.6.2" />
<map from="Exod.6.2" to="Exod.6.3" />
[...]
</refMap>
I would then convert the USFM Bible to Diffable format, as this is an intermediary format which can be parsed quickly and does not lose any information (at least in your case where the destination format is not a Paratext format):
java -jar BibleMultiConverter.jar USFM c:\Afr20\Raw Diffable Afr20.bbl
Then, create a verse list from that bible and store into db1.bmcv file, to then export as CCEL into Afr20.ccel.xml:
java -jar BibleMultiConverter.jar Versification db1.bmcv import Bible Diffable Afr20.bbl Afr20 VERSES
java -jar BibleMultiConverter.jar Versification db1.bmcv export CCEL afr20.ccel.xml Afr20
Now open afr20.ccel.xml in a text editor, and before the final line </refSys>
add your RefMap. db1.bmcv is no longer needed.
Create the final afr20.bmcv file by first importing the KJV versification (built into BibleMultiConverter) and then importing the Afr20 versification and mapping from the CCEL file.
java -jar BibleMultiConverter.jar Versification afr20.bmcv import KJV
java -jar BibleMultiConverter.jar Versification afr20.bmcv import CCEL afr20.ccel.xml
You can now list the contents of your bmcv file and verify if your versification indeed covers all the verses in your input versification:
java -jar BibleMultiConverter.jar Versification afr20.bmcv list
Next I'd have a look at the options of VersificationMappedDiffable format and decide which suit you best:
java -jar BibleMultiConverter.jar help VersificationMappedDiffable
A possible way to proceed now would be:
java -jar BibleMultiConverter.jar Diffable Afr20.bbl VersificationMappedDiffable Afr.KJV.bbl afr20.bmcv Afr20/KJV ShowNumbers
java -jar BibleMultiConverter.jar Diffable Afr20.KJV.bbl TheWord Afr20.ont
Hope this helps. If anything is unclear, feel free to ask.
(May I ask if your versification .txt file has some particular source and more files of that format exist? In that case, it might make sense to add an importer of that format to BibleMultiConverter so that you just need to import both versifications into the db file (so the program knows which verses exist that need to be unmapped) and then import that text file into the db file, skipping the ccel export and re-import.)
from biblemulticonverter.
from biblemulticonverter.
from biblemulticonverter.
Your command line is missing at least an output file name.
See also java -jar BibleMultiConverter.jar help Accordance
and https://github.com/schierlm/BibleMultiConverter#accordance-export for some more Accordance export options. For example, you can convert footnotes to italic or colored text in parentheses (you won't get real footnotes), or convert footnote marks to superscript numbers and put the actual footnote text at the end of the verse..
from biblemulticonverter.
Related Issues (20)
- USFM `\fig` properties written out as plain text HOT 5
- single line OSIS file output HOT 5
- Getting exception errors HOT 4
- Bible name not found HOT 4
- Issue using "-inline" to convert Bible with more than one verse per line HOT 2
- Trouble converting USFM with Strong's numbers to LogosHTML HOT 2
- Help with command line HOT 2
- USFM word level attributes not recognized when there are nested USFM tags HOT 2
- Markdown output format HOT 4
- theWord import: <WT*> tags not implemented HOT 4
- Importing interlinear information from MySword bibles HOT 4
- Export from Accordance 13.3.2 failing on macOS HOT 3
- Bibleworks to theword HOT 1
- MyBible (SQLite3) to ZefaniaXML error HOT 2
- EquipdEpub: mimetype should be stored uncompressed HOT 3
- CCEL's ThML xml? HOT 1
- Import Beblia xml bibles HOT 1
- Support OliveTree csv format HOT 2
- Support Olivetree format HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biblemulticonverter.