This page describes the internals of Bibledit. That is, it gives technical specifications and information about how Bibledit works internally.
The directory where Bibledit stores all temporary working data is in directory
.bibledit_temp
in your home directory, e.g. in
/home/joe/.bibledit_temp
The stylesheets, as templates, are xml files. Same for imported and exported stylesheets, except that they are zipped.
Internally stylesheets are stored in a database. This makes reading them faster. The databases are stored in <data directory>/stylesheets.
Data, that means, the USFM files, are internally stored as flat files, one file per chapter. This gives faster access to the data. The files are stored in <data directory>/projects/<project name>, along with other files related to this project.
When Bibledit shuts down, it stores any undone git tasks in the temporal directory in file gitjobs.xml. Next time Bibledit starts, it will load these tasks, and execute them.
The Outpost allows Bibledit to interact with Windows related stuff.
The Outpost does not have any visible functionality of its own.
For communication to take place, Windows Outpost needs to use the same emulator as the other Windows programs you use on Linux. This means that if you install BibleWorks using Wine, then Windows Outpost must also be installed on Wine. And if you use CrossOver Office, then you need to use CrossOver Office for both, and both need to be installed in the same bottle.
Bibledit connects to the interface on the Outpost, and communicates through that channel. This TCP/IP interface listens on port 51515.
For diagnostics or control you can connect to it. In a terminal type
telnet localhost 51515
The following commands are recognized.
BibleWorksReferenceGet. This returns the reference that BibleWorks now displays. BibleWorksReferenceSet Mat 1:1. This causes BibleWorks to scroll to Matthew 1:1. SantaFeFocusReferenceGet. This returns the reference that is displayed by programs that work with the SantaFeFocus system, such as Paratext. SantaFeFocusReferenceSet MAT 1:1. This lets programs, that work with the SantaFeFocus system, display Matthew 1:1. SantaFeFocusWordSet Saviour. This lets programs like Toolbox, that work with the SantaFeFocus system, jump to the word "Saviour". Version. This gives the version number. Hide. This hides Bibledit Windows Outpost. Show. This shows Bibledit Windows Outpost. Quit. This disconnects from Bibledit Windows Outpost. Exit. This exist Bibledit Windows Outpost. Open http://domain.org. This opens a html or pdf file. Works on Windows only.
But all this information is not really needed in normal cases, because Bibledit takes care of all that.