This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
metopesinstallationmac [2019/03/28 11:48] kthoden created |
metopesinstallationmac [2019/06/21 13:32] kthoden |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Download and installation ====== | ====== Download and installation ====== | ||
- download XMLmind editor http://xmlmind.com/archive/xmleditor/7.6.0/xxe-perso-7_6_0.dmg (MacOS), http://xmlmind.com/archive/xmleditor/7.6.0/xxe-perso-7_6_0-setup.exe (Windows) | - download XMLmind editor http://xmlmind.com/archive/xmleditor/7.6.0/xxe-perso-7_6_0.dmg (MacOS), http://xmlmind.com/archive/xmleditor/7.6.0/xxe-perso-7_6_0-setup.exe (Windows) | ||
- | - install the program, launch it and close it again. Important: if the program asks you to update to a new version, do not update! | + | - install the program, launch it and close it again. Important: if the program asks you to update to a new version, do not update and untick the box at the bottom of the dialogue window |
+ | - connect to xserve01 and copy the folder called ''pdn_tools'' from ''OA Publications LD/Technical Stuff/Technical Data'' into ''$USERDIR/Library/Application\ Support/XMLmind/XMLEditor7/addon''. | ||
- clone the repository https://github.molgen.mpg.de/EditionOpenAccess/eoa-xmlmind.git using Github Desktop | - clone the repository https://github.molgen.mpg.de/EditionOpenAccess/eoa-xmlmind.git using Github Desktop | ||
- | - create an Alias of ''eoa-xmlmind'' and move it to ''$USERDIR/Library/Application\ Support/XMLmind/XMLEditor7/addon'' | + | - in a Terminal, navigate to ''$USERDIR/Library/Application\ Support/XMLmind/XMLEditor7/addon'': ''cd ~/Library/Application\ Support/XMLmind/XMLEditor7/addon'' |
- | - rename ''eoa-xmlmind Alias'' to ''metopes_tei'' | + | - create a symbolic link called ''metopes_tei'' from the cloned repository to this folder: ''ln -s $GITHUB_FOLDER/eoa-xmlmind metopes_tei''. NB creating an Alias **does not** work, it does not have the same functionality as a symbolic link. |
- | - connect to xserve01 and copy ''OA Publications LD/Technical Stuff/Technical Data/pdn_tools'' into ''$USERDIR/Library/Application\ Support/XMLmind/XMLEditor7/addon'' | + | - re-open XMLmind and open the XML file you want to work on. The middle pane should show you a formatted version of the book. {{ :support:xmlmind-view.png?direct&600 |}} |
- | - re-open XMLmind and open the XML file you want to work on. The middle pane should show you a formatted version of the book. | + | - Now you can start using the program. |
- | - Now you can make changes. | + | |
- | ====== How do I get a PDF version? ====== | ||
- | |||
- | - clone the repository https://github.molgen.mpg.de/EditionOpenAccess/EOASkripts.git | ||
- | - in the Terminal, issue a command: | ||
- | java -jar /Applications/XMLmind.app/Contents/Resources/xxe/bin/saxon9.jar -s:$PATH_TO_XML_FILE -xsl:$PATH_TO_EOASkripts/tei2eoatex.xsl -o:studies11.tex parts=0 | ||
- | - this will generate the LaTeX files | ||
- | - use your favourite LaTeX editor and issue the familiar commands ''XeLaTeX'', ''biber'', ''XeLaTeX'', ''XeLaTeX'' | ||