- Download OSIS xmls from https://www.causamundi.de/shop/page?p=bible
- Download BibleMultiConverter Logos Edition (0.0.6 or higher) from https://github.com/schierlm/BibleMultiConverter/releases
- Stuff everything into one directory
- Run commands from
preprocess.cmd
, ignore warnings (or set-Dbiblemulticonverter.osis.warningcontext=true
) and send them to Thomas - Open resulting html files in Libreoffice 6.x or higher (import filter "LibreOffice Writer/Web") and export them unchanged (export filter "Word 2007-2019")
- Run commands from
postprocess.cmd
- Test resulting .docx files in Logos and send them to Thomas
-
-
Save schierlm/847586ea36c0ff7935314a79b51c814c to your computer and use it in GitHub Desktop.
Scripts for building Leonberger Bibel for Logos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>${name}<br/>Wort. Weg. Wahrheit.</h1> | |
<p>${description}.<br/> | |
${description@titlePage}<br/> | |
Stand: ${date}</p> | |
<p>${rights}<br/> | |
Diese Bibel steht unter einer <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.de"><font color="#6666ff">Creative Commons Namensnennung-NichtKommerziell-KeineBearbeitung 3.0 Unported Lizenz</font></a>.<br/> | |
Über diese Lizenz hinausgehende Erlaubnisse können Sie unter <a href="http://www.causamundi.de/"><font color="#6666ff">http://www.causamundi.de</font></a> erhalten.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set DESTJAR=BibleMultiConverter-LogosEdition.jar | |
java -Xmx1G -jar %DESTJAR% LogosNestedHyperlinkPostprocessor leo-na28.raw.logos.docx leo-na28.2018-0x-xx.logos.docx | |
java -Xmx1G -jar %DESTJAR% LogosNestedHyperlinkPostprocessor leo-rp18.raw.logos.docx leo-rp18.2018-0x-xx.logos.docx | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rd /s /q work | |
mkdir work | |
set DESTJAR=BibleMultiConverter-LogosEdition.jar | |
set OSISPROPERTIES=-Dbiblemulticonverter.keepwhitespace=false | |
java %OSISPROPERTIES% -jar %DESTJAR% OSIS leo-na28-osis.xml Diffable leo-na28.txt | |
type leonberger-footer.txt >>leo-na28.txt | |
java -jar %DESTJAR% Diffable leo-na28.txt LogosHTML leo-na28.raw.logos.html BibleELBER header-template.html -inline | |
java %OSISPROPERTIES% -jar %DESTJAR% OSIS leo-rp18-osis.xml Diffable leo-rp18.txt | |
type leonberger-footer.txt >>leo-rp18.txt | |
java -jar %DESTJAR% Diffable leo-rp18.txt LogosHTML leo-rp18.raw.logos.html BibleBYZ header-template.html -inline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment