Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow <g> in <zone>/<line> #1838

Closed
GVogeler opened this issue Nov 18, 2018 · 4 comments
Closed

allow <g> in <zone>/<line> #1838

GVogeler opened this issue Nov 18, 2018 · 4 comments
Assignees

Comments

@GVogeler
Copy link

In a TEI-L discussion in 2014 there was agreement that the a glyph <g> can be part of a sourceDoc-transcription and @lb42 even volunteered to add this to the model ( http://tei-l.970651.n3.nabble.com/zone-g-tp4025940p4025942.html ). I cannot see that this has happend yet (http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-g.html). Maybe it has just slipped attention?

@lb42
Copy link
Member

lb42 commented Nov 18, 2018

I didn't do it because I was waiting for you to submit it as a bug report! But now you have.

@lb42
Copy link
Member

lb42 commented Nov 18, 2018

I think the right way to fix this would be to change the content model of zone and line so that they refer to macro.xtext rather than to text i.e. change <textnode> to <macroRef key="macro.xtext"/>. Other ways are not hard to identify. Possibly there are other places currently using <textNode> which would benefit from the same change.

@sydb
Copy link
Member

sydb commented Nov 18, 2018

Yes, <textNode> should probably be <macroRef key="macro.xtext"/>.

@martinascholger
Copy link
Member

I just want to mention that <g> is already allowed in <line>, with <classRef key="model.gLike">. This has to be considered when changing <textNode/> to <macroRef key="macro.xtext" />.

See current content model of <line>:

<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">
  <textNode/>
  <classRef key="model.global"/>
  <classRef key="model.gLike"/>
  <classRef key="model.linePart"/>
 </alternate>
</content>

@raffazizzi raffazizzi self-assigned this Sep 14, 2019
raffazizzi added a commit that referenced this issue Sep 14, 2019
…ore referring model.gLike and textNode directly for both line and zone
@martinascholger martinascholger added this to the Guidelines 3.7.0 milestone Feb 3, 2020
hcayless pushed a commit that referenced this issue Aug 11, 2022
…ore referring model.gLike and textNode directly for both line and zone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants