|
| 1 | +# Supported TEI Tags |
| 2 | + |
| 3 | +This document lists all TEI tags supported by the istex-view viewer. |
| 4 | + |
| 5 | +## Sections |
| 6 | + |
| 7 | +- **Body**: Main document body |
| 8 | +- **Footnotes**: Footnotes sidebar section |
| 9 | +- **Bibref**: Bibliographic references sidebar section |
| 10 | +- **Authors**: Authors sidebar section |
| 11 | +- **Source**: Source sidebar section |
| 12 | +- **\***: Supported in all applicable sections |
| 13 | + |
| 14 | +## All Supported Tags |
| 15 | + |
| 16 | +| Tag | Description | Sections | Component | |
| 17 | +| --- | ----------- | -------- | --------- | |
| 18 | +| `addName` | Additional name | Authors, Bibref | [PersNamePart.tsx](../packages/react-tei/src/SidePanel/authors/PersNamePart.tsx) | |
| 19 | +| `affiliation` | Author affiliation | Authors | Nothing | |
| 20 | +| `author` | Author element | Bibref | NoOp | |
| 21 | +| `bibl` | Bibliographic reference | Body, Bibref | [Bibl.tsx](../packages/react-tei/src/SidePanel/bibliographicReferences/Bibl.tsx) | |
| 22 | +| `biblScope` | Bibliographic scope (volume, pages, etc.) | Body, Bibref | NoOp | |
| 23 | +| `biblStruct` | Structured bibliographic reference | Bibref | [BiblStruct.tsx](../packages/react-tei/src/SidePanel/bibliographicReferences/BiblStruct.tsx) | |
| 24 | +| `body` | Document body container | Body | NoOp | |
| 25 | +| `date` | Date element | Body, Footnotes, Bibref | [DateTag.tsx](../packages/react-tei/src/tags/DateTag.tsx) | |
| 26 | +| `div` | Division/section | Body | [Div.tsx](../packages/react-tei/src/tags/Div.tsx) | |
| 27 | +| `email` | Email address | Authors | Nothing | |
| 28 | +| `emph` | Emphasized text | Body, Footnotes, Bibref | [Emph.tsx](../packages/react-tei/src/tags/Emph.tsx) | |
| 29 | +| `figure` | Figure with graphics or tables | Body | [Figure.tsx](../packages/react-tei/src/tags/Figure.tsx) | |
| 30 | +| `floatingText` | Floating text element | Body | [FloatingText.tsx](../packages/react-tei/src/tags/floatingText/FloatingText.tsx) | |
| 31 | +| `forename` | First name | Authors, Bibref | [PersNamePart.tsx](../packages/react-tei/src/SidePanel/authors/PersNamePart.tsx) | |
| 32 | +| `formula` | Mathematical formula with notation or rendering | Body, Footnotes, Bibref | [Formula.tsx](../packages/react-tei/src/tags/Formula.tsx) | |
| 33 | +| `genName` | Generational name (Jr., Sr., etc.) | Authors, Bibref | [PersNamePart.tsx](../packages/react-tei/src/SidePanel/authors/PersNamePart.tsx) | |
| 34 | +| `graphic` | Graphic element (used in formulas) | Body, Footnotes, Bibref | [Graphic.tsx](../packages/react-tei/src/tags/Graphic.tsx) | |
| 35 | +| `head` | Heading element | Body | [Head.tsx](../packages/react-tei/src/tags/Head.tsx) | |
| 36 | +| `hi` | Highlighted text (various renditions) | Body, Footnotes, Bibref | [Hi.tsx](../packages/react-tei/src/tags/Hi.tsx) | |
| 37 | +| `highlight` | Enrichment highlight | Body | [Highlight.tsx](../packages/react-tei/src/tags/Highlight.tsx) | |
| 38 | +| `highlightedText` | Text highlighted by enrichment | Body | NoOp | |
| 39 | +| `idno` | Identifier number | Source | [SourceIdno.tsx](../packages/react-tei/src/SidePanel/source/SourceIdno.tsx) | |
| 40 | +| `l` | Line (in verse) | Footnotes | [L.tsx](../packages/react-tei/src/tags/L.tsx) | |
| 41 | +| `lg` | Line group (verse stanza) | Footnotes | [Lg.tsx](../packages/react-tei/src/tags/Lg.tsx) | |
| 42 | +| `list` | List element (ordered/unordered) | Body | [List.tsx](../packages/react-tei/src/tags/list/List.tsx) | |
| 43 | +| `math` | MathML root element | Body, Footnotes, Bibref | [MathMLTag.tsx](../packages/react-tei/src/tags/formula/mathml/MathMLTag.tsx) | |
| 44 | +| MathML tags | All MathML tags (203 total) | Body, Footnotes, Bibref | [MathMLTag.tsx](../packages/react-tei/src/tags/formula/mathml/MathMLTag.tsx) | |
| 45 | +| `name` | Generic name element | Authors, Bibref | [Name.tsx](../packages/react-tei/src/SidePanel/authors/Name.tsx) | |
| 46 | +| `nameLink` | Name linking particle (de, von, etc.) | Authors, Bibref | [PersNamePart.tsx](../packages/react-tei/src/SidePanel/authors/PersNamePart.tsx) | |
| 47 | +| `note` | Note/footnote element | Footnotes, Bibref | [Note.tsx](../packages/react-tei/src/SidePanel/footNotes/Note.tsx) | |
| 48 | +| `orgName` | Organization name | Authors, Bibref | [PersNamePart.tsx](../packages/react-tei/src/SidePanel/authors/PersNamePart.tsx) | |
| 49 | +| `p` | Paragraph | Body, Footnotes | [P.tsx](../packages/react-tei/src/tags/P.tsx) | |
| 50 | +| `persName` | Personal name | Authors, Bibref | [PersName.tsx](../packages/react-tei/src/SidePanel/authors/PersName.tsx) | |
| 51 | +| `pubPlace` | Publication place | Bibref | NoOp | |
| 52 | +| `publisher` | Publisher | Bibref | NoOp | |
| 53 | +| `quote` | Quoted text block | Body, Footnotes, Bibref | [Quote.tsx](../packages/react-tei/src/tags/Quote.tsx) | |
| 54 | +| `ref` | Reference (footnote, bibliographic, URL, table) | Body, Footnotes, Bibref | [Ref.tsx](../packages/react-tei/src/tags/Ref.tsx) | |
| 55 | +| `roleName` | Role name | Authors, Bibref | [PersNamePart.tsx](../packages/react-tei/src/SidePanel/authors/PersNamePart.tsx) | |
| 56 | +| `s` | Sentence | Body | NoOp | |
| 57 | +| `sc` | Small capitals | Body | NoOp | |
| 58 | +| `series` | Series information | Bibref | NoOp | |
| 59 | +| `surname` | Last name | Authors, Bibref | [PersNamePart.tsx](../packages/react-tei/src/SidePanel/authors/PersNamePart.tsx) | |
| 60 | +| `table` | Table element | Body | [Table.tsx](../packages/react-tei/src/tags/Table.tsx) | |
| 61 | +| `title` | Title element | Body, Bibref | [Title.tsx](../packages/react-tei/src/tags/Title.tsx) | |
| 62 | + |
| 63 | +See [mathMLTagNames.ts](../packages/react-tei/src/tags/formula/mathml/mathMLTagNames.ts) for the complete list of 203 supported MathML tags. |
| 64 | + |
| 65 | +## Reference Types |
| 66 | + |
| 67 | +The `ref` tag supports multiple reference types via the `@type` attribute: |
| 68 | + |
| 69 | +- `bibr`: Bibliographic reference |
| 70 | +- `fn`: Footnote reference |
| 71 | +- `url`/`uri`: URL/URI reference |
| 72 | +- `fig`/`figure`: Figure reference |
| 73 | +- `table`: Table reference |
| 74 | +- `table-fn`: Table footnote reference |
| 75 | + |
| 76 | +## Notes |
| 77 | + |
| 78 | +- `NoOp` components render their children without additional styling or behavior |
| 79 | +- `Nothing` components render nothing (children are hidden) |
| 80 | +- Math tags (formula, graphic, and all MathML tags) are available in all contexts |
0 commit comments