Talk:TEI xml

From ConTeXt wiki

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,

Thanks so much for this careful step-by-step introduction. I hope I violate no protocol by asking a tyro question here.

In running context against your example xml with your context 'stylesheet' tei-style.tex, I'm getting ! You can't use `\dimexpr' in restricted horizontal mode. errors for each of the section, subsection, and pb \defineinmargin commands

The contents of these marginal bits appear in the pdf output, but the distance argument (++0.3em etc.) appears there as well.

Rank beginner here, apologies if I've missed something obvious.

Jon

--Jjon 23:16, 17 November 2010 (UTC)

Jon, it is better to ask such questions on the mailing list. --Aditya 04:24, 19 November 2010 (UTC)
Aditya, agreed.