Symbol (non meaning-bearing)

2024-03-20

g (character or glyph) represents a non-standard character or glyph.

Where a symbol is non meaning-bearing, it should be represented using the element g, with the following attribute:

A Unicode character representing the symbol may also appear inside the g if desired.

The ref attribute in g can be used in various ways.

The following encoding

<g ref="#crux"/>

exepcts that a charDecl is present in the document. This will look like the following.

<charDecl>
 <glyph xml:id="crux">
  <mapping type="standard"></mapping>
  <mapping type="simplified">(crux)</mapping>
  <mapping type="g-london-diplomatic"></mapping>
 </glyph>
</charDecl>

You may add this to your files, or include it as appropriate. A list is available with the example stylesheets (with variable solutions according to the parameters settings), which is used as a default where charDecl is not explicitly added in the XML file.

You may wish to point to this list of glyphs in a separate file, in which case you can use in ref of g a path to this resource.

<g ref="/path/to/your/chardecl.xml#crux"/>

If you use prefixes, defined in prefixDef, you may use a shorthand. Assuming you have defined this prefix to be glyph, you may use

<prefixDef ident="glyph"
 matchPattern="([a-zA-Z0-9]+)"
 replacementPattern="/path/to/your/chardecl.xml#$1"/>

...

<g ref="glyph:crux"/>

The full path or prefixed method allows also to define different sources for your charDecl, so that you may only have to add the one which are missing, unless you want to contribute them directly to the default charDecl in the stylesheet repository.

Panciera 1991 19: ((crux))

Dohnicht 4: ⊂crux⊃

Sosin 2011: /

SEG: dr.

The projects providing the following examples used type when this was the suggested way of encoding.

<g type="crux"/>

Transformation using the EpiDoc Reference stylesheets:

  • Default (Panciera) style: ((crux))
  • Dohnicht style: ⊂crux⊃
(IRT: 203)
<g type="slanting-stroke"/>

Transformation using the EpiDoc Reference stylesheets:

  • Default (Panciera) style: ((slanting-stroke))
  • Duke Databank style: /
(DDbDP: p.worp..48#4)
<g type="scroll"/>

Transformation using the EpiDoc Reference stylesheets:

  • Default (Panciera) style: ((scroll))
  • London style: scroll
(InsAph: 1.121)
xml:id
apostrophe
diastole
barless-A
center-brace-closing
center-brace-opening
century
check
check-mark
chi-rho
chirho
crux
crosses
cross
dash
dipunct
denarius
dot
double-vertical-bar
drachma
filled-circle
filler
hourglass
interpunct
latin-interpunct
leaf
linear-B-je
long-vertical-bar
lower-brace-closing
lower-brace-opening
middot
mid-punctus
low-punctus
high-punctus
milliaria
monogram
palm
palmula
parens-middle-closing
parens-middle-opening
parens-lower-closing
parens-lower-opening
parens-upper-closing
parens-upper-opening
rho-cross
sestercius
sestertius
slanting-stroke
star
stauros
staurogram
stop
swastika
tachygraphic_marks
taurho
tripunct
upper-brace-closing
upper-brace-opening
year
diple
diple-obelismene
diple-periestigmene
asteriskos
parens-punctuation-closing
parens-punctuation-openinig
downwards-ancora
upwards-ancora
antisigma
antisigma-periestigmene
hypodiastole
swungdash
tetrapunct
chi-periestigmenon
dotted-obelos
obelos
x
xs

See also:

Other pages describing <g>:

Other pages describing <glyph>:

    Other pages describing <mapping>:

      Other pages describing <prefixDef>:

        Responsibility for this section

        1. Charlotte Tupman, author
        2. Pietro Maria Liuzzo, Added g/@ref as per FR 81

        EpiDoc version: 9.6

        Date: 2024-03-20