Menu

entity

Help
2009-02-19
2012-12-07
  • Ilaria Bonincontro

    I'm encoding a doc against TEI P5. Is it possible to define and use more entities than those available in the entities menu. I need it to insert special charactes.
    thank you
    Ilaria

     
    • gnschmidt

      gnschmidt - 2009-02-19

      Hi Ilaria

      This shouldn't be a problem. On Windows, you could add the entities to <C:\Program Files\XML Copy Editor\dtd\tei\p5\tei_all.dtd>. You could copy them across from the p4 DTD, for example.

      On Linux, check /etc/xml/catalog to find the DTD and add the entities there.

      (P5 tends to ship as a schema rather than a DTD, but there are sure to be some DTDs you could use.)

      If this doesn't help, please give me a shout.
      Gerald

       
      • Ilaria Bonincontro

        Hi
        thank for your answer. I tried to insert in tei-all.dtd the following declaration

        <!ENTITY sup-a SYSTEM "sup-a">

        (it is just a test)

        but it seems, that it doesn't work. I can't validate the doc if I insert in a paragraph &sup-a;
        I

        Ilaria

         

Log in to post a comment.