Difference between revisions of "Talk:TEI xml"
Line 15: | Line 15: | ||
Thomas | Thomas | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | Thomas, | ||
+ | |||
+ | I hope I violate no protocol by asking a tyro question here. | ||
+ | |||
+ | Your tutorial looks like just what I need, but I'm trying to typeset our tei.xml file on a Mac using TeXshop, and in that environment, it's not immediately clear to me how I can inform ConTeXt that it is to use the file tei-style.tex when typesetting a tei.xml input file. | ||
+ | |||
+ | I'm unable, as yet, to run context at the command line using this new TeXlive-2010 distro, but TeXshop seems to be able to do it. However, when I input your example xml in the editor (minus the <xmlcode><rdg wit="#c2">arrgl</rdg></xmlcode> elements which seem to make it choke) and run context over it, it typesets the plain text with the xml tags included, because it doesn't know about the tei-style.tex file you so carefully composed. I've saved tei-style.tex to ~/Library/texmf/tei-style.tex, but TeXshop and context remain unaware of it. | ||
+ | |||
+ | Thanks for any clues you might have to offer, | ||
+ | |||
+ | Jon | ||
+ | |||
+ | --[[User:Jjon|Jjon]] 23:16, 17 November 2010 (UTC) |
Revision as of 23:18, 17 November 2010
Hi Thomas,
Something is amiss in your large xml block. You have:
<div xml:id="VS1" n="I" type="book"> <div xml:id="VS1" n="1" type="chapter">
but that is two identical xml:id fields, which can't be right .... Taco
Taco,
thanks, you are right of course! I was missing one level of the structure. Am working on it, but on the train, so not logged in.
Thomas
Thomas,
I hope I violate no protocol by asking a tyro question here.
Your tutorial looks like just what I need, but I'm trying to typeset our tei.xml file on a Mac using TeXshop, and in that environment, it's not immediately clear to me how I can inform ConTeXt that it is to use the file tei-style.tex when typesetting a tei.xml input file.
I'm unable, as yet, to run context at the command line using this new TeXlive-2010 distro, but TeXshop seems to be able to do it. However, when I input your example xml in the editor (minus the
<rdg wit="#c2">arrgl</rdg>
elements which seem to make it choke) and run context over it, it typesets the plain text with the xml tags included, because it doesn't know about the tei-style.tex file you so carefully composed. I've saved tei-style.tex to ~/Library/texmf/tei-style.tex, but TeXshop and context remain unaware of it.
Thanks for any clues you might have to offer,
Jon
--Jjon 23:16, 17 November 2010 (UTC)