User Tools

Site Tools


xmlmindworkflow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
xmlmindworkflow [2019/04/08 12:54]
kthoden created
xmlmindworkflow [2019/11/05 14:42] (current)
sszenti
Line 1: Line 1:
-====== ​How do I get a PDF version? ​======+====== ​XMLmind workflow ​====== 
 + 
 +The XXE (XMLmind XML Editor) is designed not to break XML documents. If a well-formed XML document is loaded, it is not possible to create ill-formed XML. In addition to that, a schema is loaded that checks if the structure and values of the XML are coherent (or //valid// in XML terms). The schema also controls which tags can be inserted at a specific position in a document. This is a great help while editing XML files for EOA. 
 + 
 +For example, a bibliographical reference is created by a ''​ref''​ element inside a ''​bibl''​ element. The ''​ref''​ element requires as attributes 
 +   
 +* the cited work in form of a short citekey (e.g. ''​Needham:​1954'',​ prefixed with ''#''​) 
 + 
 +* the way the citation should be rendered (as author and year or simply the year) 
 + 
 +All this information is stored in the schema, and by inserting a new ''​bibl''​ element, a boilerplate of this structure is inserted: 
 + 
 +{{:​support:​xmlmindbiblref-autoinsertion.png?​nolink&​200|}} 
 + 
 +Moreover, the since in the context of a bibliographical reference the ''​type''​ attribute of ''​ref''​ can be nothing else but ''​authoryear''​ or ''​year'',​ only these two values are offered when specifing the value: 
 + 
 +{{:​support:​xmlmind_biblref-attribute.png?​nolink&​400|}} 
  
-- 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''​ 
xmlmindworkflow.1554720874.txt.gz · Last modified: 2019/04/08 12:54 by kthoden