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

Element idno gives undue space in HTML #637

Open
Dominique-M opened this issue Oct 22, 2023 · 1 comment
Open

Element idno gives undue space in HTML #637

Dominique-M opened this issue Oct 22, 2023 · 1 comment
Assignees

Comments

@Dominique-M
Copy link

Dominique-M commented Oct 22, 2023

In TEI XML https://d-meeus.be/biblio/biblio.xml, line 64596[*], see (<idno type="ISBN">. This gives in HTML (https://d-meeus.be/biblio/Reiter1975.html) an undue space between parenthesis and number.
[*] Search 0853453721, then next line, if I did publish more in the meanwhile.

@ebeshero
Copy link
Member

ebeshero commented Oct 22, 2023

Hi @Dominique-M! I just saw your ticket. Can you tell us a little more about how you're processing your XML file? Are you running a transformation in oxgarage? (This may help us figure out where to look for the processing issue.)

Looking at your example (thanks for pointing out the line), I wanted to see where the text nodes are. I notice this structure on entries with a set of parentheses around <idno>, where there is text in between the elements, and the parenthesis is a text node child of <bibl type="book">. Is that generally the situation we're looking at? I think we want to check the processing of <bibl> and of <idno> to see where we might be generating an extra space.

Here are a couple of examples from the XML (including the one you provided):

<bibl type="book">
          <author role="editor">
            <ref target="#RaynaReiter">
              Rayna Reiter
            </ref>
          </author> (ed.),

          <title>
            <seg type="standardindexing" subtype="feminism">
              <index><term>anthropology</term></index> <index><term>feminist anthropology</term></index>
              <index><term>féminisme</term></index> <index><term>feminism</term></index>
              <index><term>Women Question</term></index>
              <index><term>question des femmes</term></index> <index><term>femme, question des —</term></index>
            </seg><!--
            <xi:include href="indx-anthrofem.xml">indexation standard, anthropologie féministe</xi:include>

            -->

            <index><term>Toward an Anthropology of Women (Rayna Reiter)</term></index>

            <title type="main">Toward an Anthropology of Women</title>
          </title>,

          <ref target="#MonthlyReviewPress">
            Monthly Review Press, New York
          </ref>,
          1975,
          416 pages,
          <index><term>0853453721</term></index> <index><term>9780853453727</term></index>
          ISBN : <idno type="ISBN">0-85345-372-1</idno> (<idno type="ISBN">978-0-85345-372-7</idno>).
        </bibl>

I think you will see the same extra space when you try to process this one, too?

<bibl type="book">
          <author>
            <ref target="#LouisAlthusser">
              Louis Althusser
            </ref>
          </author>,

          <title>
            <index><term>Positions (Louis Althusser)</term></index>

            <title type="main">Positions (1964-1975)</title>
          </title>,

          <ref target="#publisher">
            Éditions sociales, Paris
          </ref>,
          1976,
          number pages,
          <index><term>9782209051960</term></index> <index><term>2209051967</term></index>
          ISBN : <idno type="ISBN">978-2-209-05196-0</idno> (<idno type="ISBN">2-209-05196-7</idno>).
        </bibl>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants