Skip to content

allow block level content inside block citations #5

@rvdb

Description

@rvdb

I'm bumping against the current content model of <q> in the OpenEdition schema:

<content>
  <rng:zeroOrMore>
    <rng:choice>
      <rng:text/>
      <rng:ref name="hi"/>
      <rng:ref name="s"/>
      <rng:ref name="pb"/>
      <rng:ref name="lb"/>
      <rng:ref name="anchor"/>
      <rng:ref name="note"/>
      <rng:ref name="figure"/>
      <rng:ref name="ref"/>
      <rng:ref name="ptr"/>
      </rng:choice>
    </rng:zeroOrMore>
</content>

This is fine for simple in-line citations, although we've encountered an example quoting code (<code>), wich isn't allowed.

Yet, what about more complex block citations that could quote more complex structures, and hence include block level elements themselves, such as lists, tables, and figures? Currently, the schema doesn't allow <table>, <list>, <figure>, and <graphic> inside <q>. Yet the Lodel HTML conversion seems to have no problems at all converting any of the elements I've mentioned. (I have no idea about the Lodel PDF conversion, since we're producing and uploading the the PDF versions for our articles ourselves.)

Would it be possible to consider an expansion of the content model for <q>?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions