Gather the files necessary for this project. To do this, clone my repo by typing the following in your terminal:
git clone https://github.com/newtfire/voynichTEI.git
This is a list of things I used in order to complete this project.
NOTE: This step is only if you plan to use the entire ZL3b-n.txt document and not just the herbal section. If you are only using the herbal section, feel free to skip this, as the herbal.txt file already did this for you!
Make sure that you can run python in your terminal.
In your terminal, go into your python folder:
cd python
Run the replaceAscii.py file by typing the following:
python replaceAscii.py
You should now have ZL3b-n_updated.txt inside the transliterationFiles directory.
Next we send the transliteration file through an Invisible XML grammar called translit.ixml.
To do this, in your terminal, go out of your python directory and back into the voynichTEI directory:
cd ..
Then, use Markup-Blitz to create an XML file:
blitz ixml/translit.ixml transliterationFiles/ZL3b-n_updated.txt > xml/outputXML.xml
If you just want the herbal section instead, type the following:
blitz ixml/translitHerbal.ixml transliterationFiles/herbal.txt > xml/outputXMLherbal.xml
You should now have outputXML.xml or outputXMLherbal in the xml directory.
Now we need to send the output XML file through an XSLT file. You will need OxygenXML to do this.
In Oxygen, open your output file and ixmlOut-to-TEI.xsl document in the xslt directory.
Switch to the XSLT Debugger Perspective, which is located at the top right of the screen:
In the top left corner, put outputXML.xml or outputXMLherbal.xml in the XML input, and ixmlOut-to-TEI.xsl in the XSL input like so:
When you are ready, put the filepath to where you would like your output file saved. In voynichTEI, this would be inside the tei directory:
Press the run button:
Now you have it as a proper TEI file!