From 10651e519c1dd74f8141befa7542eb60795953c4 Mon Sep 17 00:00:00 2001 From: Klaus Thoden Date: Mon, 6 Aug 2018 17:46:05 +0200 Subject: [PATCH] Major update to schema and example file --- exampleTEI.rnc | 557 +++++++++++++++++++++++++++++++ exampleTEI.xml | 879 ++++++++++++++++++++----------------------------- tei.css | 168 +++++----- 3 files changed, 993 insertions(+), 611 deletions(-) create mode 100644 exampleTEI.rnc diff --git a/exampleTEI.rnc b/exampleTEI.rnc new file mode 100644 index 0000000..4b1879a --- /dev/null +++ b/exampleTEI.rnc @@ -0,0 +1,557 @@ +default namespace = "http://www.tei-c.org/ns/1.0" + +# cloned from https://github.molgen.mpg.de/sgfroerer/eoa-django/blob/add_chapter_frontpages/eoa/publications/management/commands/res/eoa_tei_schema.rnc + +# things still unclear +# hi@rendition, systems say, it's unvalid (but ok in Schliemann) +# multiple values for attribute (in formula) +# part or facsimilepart not working + +start = + element TEI { + element teiHeader { + element fileDesc { + element titleStmt { + title, + author-or-volumeeditor, + editors, + element respStmt { + attribute xml:id { xsd:NCName }, + element resp { "chapter author" | "volume author" }, + element persName { + attribute ref { xsd:anyURI }, + element surname { text }, + element forename { text } + } + }+ + }, + element extent { + element measure { + attribute commodity { "pages" }, + attribute quantity { xsd:integer } + }, + element measure { + attribute type { "price" }, + attribute unit { "EUR" }, + attribute quantity { xsd:decimal } + }? + }, + element publicationStmt { + element publisher { + attribute n { "EOA" | "Press" }, + text }+, + element idno { + attribute type { "ISBN"|"doi"|"shoplink" }, + text + }*, + element date { + attribute when { xsd:date }, + xsd:date + }?, + element distributor { + attribute ref { xsd:anyURI }, + xsd:NCName + }?, + element availability { + element licence { + attribute ref { xsd:anyURI }, + text + } + }? + }, + element seriesStmt { + element title { ("Sources"|"Studies"|"Proceedings"|"Textbooks") }, + element idno { + attribute type { "number" }, xsd:integer}, + element respStmt { + element resp { + text }, + element name { + attribute type { "serieseditors" }, + text + } + } + }, + element sourceDesc { + p+, + element bibl { text }, + element ab { + attribute type { "bibliography" }, + element ref { + attribute target { xsd:anyURI }, + attribute type { "anthology" | "monograph" } + } + } + } + }, + element profileDesc { + element abstract { + attribute n { "BriefDescription" }, + p+ }, + element abstract { + attribute n { "DetailedDescription" }, + p+ }, + element abstract { + attribute n { "additional" }, + p+ }?, + + element textClass { + element keywords { + element list { + element item { text }+ + } + } + }, + + element langUsage { + element language { + attribute ident { "de" | "en" | "fr" | "it" } + } + } + }, + element encodingDesc { + element projectDesc { + element ab { + attribute type { "eoainfo" | ("mprlinformation" | "eosinformation" ) | "scientificboard" | "eoadevteam" }, + text + }+ + }, + + element appInfo { + element application { + attribute xml:id { xsd:NCName }, + attribute ident { xsd:NCName }, + attribute version { text }, + element label { text } + }* + }, + + element tagsDecl { + element rendition { + attribute xml:id { xsd:NCName }, + attribute scheme { "css" }, + text}*, + element theoremCat { + element ref { text }, + text} + + # + # theo2 theo1 + # Theorie + # + # text-decoration: line-through; + # letter-spacing:0.3em + # font-variant:small-caps + + + } + }, + + element revisionDesc { + element change { + attribute when { xsd:date }, + attribute who { text }, + text + } + } + }, + element text { + element front { frontmatter }, + element body { part }, + element back { backmatter }? + } + } + +################################### +# basic document structure +################################### + +title = + element title { + attribute level { "m" }, + attribute type { "main" }, + text + }, + element title { + attribute level { "m" }, + attribute type { "sub" }, + text + } + +author-or-volumeeditor = + element author { + attribute key { xsd:NCName }, + attribute n { xsd:integer}, + attribute ref { xsd:anyURI }, + text + }+ | + element editor { + attribute role { "volumeeditor" }, + attribute key { xsd:NCName }, + attribute n { xsd:integer}, + attribute ref { xsd:anyURI }, + text + }+ + +editors = + element editor { + attribute role { "submitter"|"editorialcoordinator"|"copyeditor"|"translator"|"publicationmanager"|"publicationassistant" }, + text + }+ + +frontmatter = + element figure { + attribute type { "cover" }, + graphic, + head? + }, + element div { + attribute type { "dedication" }, + ab+ + } + +backmatter = + element div { + attribute type { "chapter" }, + attribute rend { "nonumber" }?, + attribute xml:id { xsd:NCName }, + head + }+ + +p_as_pointer = + element p { + attribute copyOf { text } + } + +part = + ( + element div { + attribute type { "facsimilepart" }, + head, + element figure { + attribute xml:id { text }, + attribute corresp { text }?, + element graphic { + attribute url { xsd:anyURI }, + head + } + }+ + }) + + |( element div { + attribute type { "part" }, + attribute n { xsd:integer }, + attribute xml:id { xsd:NCName }, + head, + chapter* }+ + ) + + + +chapter = + element div { + attribute type { "chapter" }, + attribute rend { "nonumber" }?, + attribute resp { text }?, + attribute n { xsd:integer }?, + attribute xml:id { xsd:NCName }, + head-ex-abbr, + (eoaelement|section)*, + # TODO: make this non optional: + chapter_bibfile_ref? + } + +section = + element div { + attribute type { "section" }, + attribute rend { "nonumber" }?, + attribute n { xsd:integer }, + attribute xml:id { xsd:NCName }, + head, + (eoaelement|subsection)* + } + +subsection = + element div { + attribute type { "subsection" }, + attribute rend { "nonumber" }?, + attribute n { xsd:integer }, + attribute xml:id { xsd:NCName }, + head, + (eoaelement|subsubsection)* + } + +subsubsection = + element div { + attribute type { "subsubsection" }, + attribute rend { "nonumber" }?, + attribute n { xsd:integer }, + attribute xml:id { xsd:NCName }, + head, + eoaelement* + } + +head = element head { (text | markup | inline_formula | index)+ } +head-ex-abbr = element head { ( + element choice { + element expan { + (text | markup | inline_formula | index)+ }, + element abbr { + (text | markup | inline_formula | index)+ } + } +) | + (text | markup | inline_formula | index)+ +} + + + +################################### +# referencable eoa elements: +################################### + +spanmarkup = + (text + | inline_formula + | graphic + | foreign + | hi + | index + | ref + | bibref + | note)* + + +eoaelement = + p + | figure + | formula + | \list + | table + | theorem + | bilingual + +theorem = + element div { + attribute type { "theorem" }, + attribute rend { "nonumber" }?, + attribute n { xsd:integer }, + attribute subtype { xsd:NCName }, + attribute xml:id { xsd:NCName }, + text + } + +\list = + element list { + attribute type { xsd:NCName }, + (element item { spanmarkup } + | element label { xsd:NCName })+ + } + +table = + element table { + # attribute n { xsd:integer }, + attribute xml:id { xsd:NCName }, + attribute rows { xsd:integer }, + attribute cols { xsd:integer }, + head?, + element row { + attribute role { "label" }, + element cell { + attribute role { "label" }, + (text | markup | index)* + }+ + }?, + element row { + attribute role { "data" }, + element cell { + attribute role { "data" }, + (text | markup | index)* + }+ + }* + } + +ab = + element ab { + text + } + +p = + element p { + attribute n { xsd:NMTOKEN }?, + attribute xml:id { xsd:NCName }?, + attribute rend { "quote" }?, + (text + # | emph + | inline_formula + | graphic + | hi + | index + | foreign + | ref + | bibref + | note)* + } + +figure = + element figure { + attribute n { xsd:integer }?, + attribute rend { "nonumber" | "landscape" }?, + attribute type { xsd:NCName }?, + attribute xml:id { xsd:NCName }?, + graphic, + head? + } + +formula = + element formula { + attribute xml:id { text }?, + attribute rend { list { ("block", "nonumber", "array") }}?, + attribute notation { "tex" }?, + attribute n { xsd:integer }?, + text + } + +################################### +# non referencable stuff: +################################### +bilingual = + element div { + attribute type { "bilingual" }, + element div { + attribute corresp { text }, + attribute type { "original" }, + attribute xml:lang { xsd:string {pattern = "[a-z]{2}" }}, + attribute xml:id { text }, + head, + p+ + }, + element div { + attribute corresp { text }, + attribute type { "translation" }, + attribute xml:lang { xsd:string {pattern = "[a-z]{2}" }}, + attribute xml:id { text }, + head, + p+ + } + } + +facsimilepart = + element div { + attribute type { "facsimilepart" }, + head, + element figure { + attribute xml:id { text }, + attribute corresp { text }?, + element graphic { + attribute url { xsd:anyURI }, + head + } + }+ + } + + +foreign = + element foreign { + attribute xml:lang { xsd:string {pattern = "[a-z]{2}" } }, + spanmarkup + # (text + # # | emph + # | inline_formula + # | graphic + # | hi + # | index + # | ref + # | bibref + # | note)* + } + +graphic = + element graphic { + attribute url { xsd:anyURI }, + ( attribute height { text } | + attribute scale { xsd:integer } )? + } + +bibref = + element bibl { + element ref { + attribute type { "inline"}?, + attribute target { xsd:anyURI }, + text + }, + element citedRange { + text | + ( attribute from { xsd:integer }, + attribute to { xsd:integer }?) + }? + } + +note = + element note { + attribute n { xsd:integer }?, + attribute xml:id { xsd:NCName }, + attribute place { xsd:NCName }, + p+ + } + +markup = + # emph +hi + +hi = + element hi { + ( attribute rend { xsd:NCName } | + attribute rendition { xsd:NCName } ), + text + } + +# emph = element emph { (text | inline_formula | hi | index)+ } + +ref = + element ref { + attribute type { "url" | "number" | "page" }, + attribute target { xsd:anyURI }, + text + } + +index = + element index { + (attribute indexName { "Location" | "Person" })?, + element term { + attribute sortKey { xsd:NCName }?, + spanmarkup + } + # , text + , + # optional sub index-entries: + (element index { + element term { spanmarkup } + #, text + })* + } + +inline_formula = + element formula { + attribute rend { "inline" }, + attribute notation { "tex" }, + text + } + +chapter_bibfile_ref = + element div { + attribute type { "bibliography" }, + attribute n { xsd:integer }, + attribute xml:id { xsd:NCName }, + element ptr { + attribute target { xsd:NCName } + } + } + +fullbibref = + element div { + attribute type { "bibliography" }, + attribute n { xsd:integer }, + element ptr { + attribute target { xsd:NCName } + } + } diff --git a/exampleTEI.xml b/exampleTEI.xml index c4349a2..1fa9e3e 100644 --- a/exampleTEI.xml +++ b/exampleTEI.xml @@ -1,47 +1,76 @@ - + - Studies Der ewige Testband Experimentell - Klaus Thoden + Klaus Thoden Noch Jemand + NN Lindy Divarci NN Myself + + chapter author + + Klaus + Thoden + + + + chapter author + + A. N. + Other + + - - + + - Edition Open Access - pro-business.com - 2016-08-04 + Edition Open Access + Max Planck Research Library for the History and Development of Knowledge 978-3-945561-XXX http://www.book-on-demand.de/shop/14971 DOI - + 2016-08-04 + pro-business.com - -

Distributed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany License.

+ + Distributed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany License.
+ + Studies + 125 + + Series Editors + Ian T. Baldwin, Gerd Graßhoff, Jürgen Renn, Dagmar Schäfer, Robert Schlögl, Bernard F. Schutz + +

Born digital.

+ contains suggested citation + + +
- +

Klein anfangen

- +

Groß enden.

@@ -56,20 +85,86 @@ - Deutsch +
+ + The Edition Open Access (EOA) platform was + founded to bring together publication initiatives seeking to + disseminate the results of scholarly work in a format that + combines traditional publications with the digital medium. It + currently hosts the open-access publications of the “Max + Planck Research Library for the History and Development of + Knowledge” (MPRL) and “Edition Open Sources” (EOS). EOA is + open to host other open access initiatives similar in + conception and spirit, in accordance with the Berlin + Declaration on Open Access to Knowledge in the sciences and + humanities, which was launched by the Max Planck Society in + 2003. + By combining the advantages of traditional + publications and the digital medium, the platform offers a new + way of publishing research and of studying historical topics + or current issues in relation to primary materials that are + otherwise not easily available. The volumes are available both + as printed books and as online open access publications. They + are directed at scholars and students of various disciplines, + and at a broader public interested in how science shapes our + world. + The Max Planck Research Library for + the History and Development of Knowledge comprises the + subseries, Studies, Proceedings and Textbooks. They present + original scientific work submitted under the scholarly + responsibility of members of the Scientific Board and their + academic peers. The initiative is currently supported by + research departments of three Max Planck Institutes: the MPI + for the History of Science, the Fritz Haber Institute of the + MPG and the MPI for Gravitational Physics (Albert Einstein + Institute). The publications of the Studies series are + dedicated to key subjects in the history and development of + knowledge, bringing together perspectives from different + fields and combining source-based empirical research with + theoretically guided approaches. The Proceedings series + presents the results of scientific meetings on current issues + and supports, at the same time, further cooperation on these + issues by offering an electronic platform with further + resources and the possibility for comments and interactions. + + Markus Antonietti, Antonio Becchi, + Fabio Bevilacqua, William G. Boltz, Jens Braarvik, Horst + Bredekamp, Jed Z. Buchwald, Olivier Darrigol, Thomas Duve, + Mike Edmunds, Fynn Ole Engler, Robert K. Englund, Mordechai + Feingold, Rivka Feldhay, Gideon Freudenthal, Paolo Galluzzi, + Kostas Gavroglu, Mark Geller, Domenico Giulini, Günther Görz, + Gerd Graßhoff, James Hough, Manfred Laubichler, Glenn Most, + Klaus Müllen, Pier Daniele Napolitani, Alessandro Nova, + Hermann Parzinger, Dan Potts, Sabine Schmidtke, Circe Silva da + Silva, Ana Simões, Dieter Stein, Richard Stephenson, Mark + Stitt, Noel M. Swerdlow, Liba Taub, Martin Vingron, Scott + Walter, Norton Wise, Gerhard Wolf, Rüdiger Wolfrum, Gereon + Wolters, Zhang Baichun. + + Lindy Divarci, Bendix Düker, Samuel + Gfrörer, Klaus Thoden, Dirk Wintergrün. + + + + + + + text-decoration: line-through; + letter-spacing:0.3em + font-variant:small-caps theo2 theo1 Theorie - text-decoration: line-through; - letter-spacing:0.3em - font-variant:small-caps + + Added revisionDesc +
@@ -77,73 +172,24 @@ Chemical Laboratory. This idealized laboratory with metallurgical furnaces is from - William Lewis, Commercium Philosophico-Technicum (London, 1756). - Courtesy of Smith Image Collection, Van Pelt Dietrich Library, University of - Pennsylvania. + William Lewis, Commercium Philosophico-Technicum (London, 1756). + Courtesy of Smith Image Collection, Van Pelt Dietrich Library, University of + Pennsylvania. +
+ A dedication +
-
- Max Planck Research Library for the History and Development of Knowledge -
- Series Editors -

Ian T. Baldwin, Gerd Graßhoff, Jürgen Renn, Dagmar Schäfer, Robert Schlögl, Bernard F. - Schutz

-
-
- Edition Open Access Development Team -

Lindy Divarci, Bendix Düker, Samuel Gfrörer, Klaus Thoden, Dirk Wintergrün.

-
-
-

The Edition Open Access (EOA) platform was founded to bring together publication - initiatives seeking to disseminate the results of scholarly work in a format that - combines traditional publications with the digital medium. It currently hosts the - open-access publications of the “Max Planck Research Library for the History and - Development of Knowledge” (MPRL) and “Edition Open Sources” (EOS). EOA is open to host - other open access initiatives similar in conception and spirit, in accordance with the - Berlin Declaration on Open Access to Knowledge in the sciences and humanities, which was - launched by the Max Planck Society in 2003.

-

By combining the advantages of traditional publications and the digital medium, the - platform offers a new way of publishing research and of studying historical topics or - current issues in relation to primary materials that are otherwise not easily available. - The volumes are available both as printed books and as online open access publications. - They are directed at scholars and students of various disciplines, and at a broader - public interested in how science shapes our world.

-
-
+ + + + -
- Max Planck Research Library for the History and Development of Knowledge -

The Max Planck Research Library for the History and Development of Knowledge comprises - the subseries, Studies, Proceedings and Textbooks. They present original scientific work - submitted under the scholarly responsibility of members of the Scientific Board and their - academic peers. The initiative is currently supported by research departments of three Max - Planck Institutes: the MPI for the History of Science, the Fritz Haber Institute of the - MPG and the MPI for Gravitational Physics (Albert Einstein Institute). The publications of - the Studies series are dedicated to key subjects in the history and development of - knowledge, bringing together perspectives from different fields and combining source-based - empirical research with theoretically guided approaches. The Proceedings series presents - the results of scientific meetings on current issues and supports, at the same time, - further cooperation on these issues by offering an electronic platform with further - resources and the possibility for comments and interactions.

-
- Scientific Board -

Markus Antonietti, Antonio Becchi, Fabio Bevilacqua, William G. Boltz, Jens Braarvik, - Horst Bredekamp, Jed Z. Buchwald, Olivier Darrigol, Thomas Duve, Mike Edmunds, Fynn Ole - Engler, Robert K. Englund, Mordechai Feingold, Rivka Feldhay, Gideon Freudenthal, Paolo - Galluzzi, Kostas Gavroglu, Mark Geller, Domenico Giulini, Günther Görz, Gerd Graßhoff, - James Hough, Manfred Laubichler, Glenn Most, Klaus Müllen, Pier Daniele Napolitani, - Alessandro Nova, Hermann Parzinger, Dan Potts, Sabine Schmidtke, Circe Silva da Silva, Ana - Simões, Dieter Stein, Richard Stephenson, Mark Stitt, Noel M. Swerdlow, Liba Taub, Martin - Vingron, Scott Walter, Norton Wise, Gerhard Wolf, Rüdiger Wolfrum, Gereon Wolters, Zhang - Baichun.

-
-
-
-

A dedication

-
+ +
@@ -157,22 +203,22 @@
This is the first section

This the first section of a text. It is preceded by two hierarchical units, namely - Part and Chapter. As you can see above, the chapter command has two arguments, the - first one being the running head which is displayed in the header of each page, the - second being the text that is printed on the page where the chapter begins.

+ Part and Chapter. As you can see above, the chapter command has two arguments, the + first one being the running head which is displayed in the header of each page, the + second being the text that is printed on the page where the chapter begins.

We offer two additional units below the section: the subsection and the - subsubsection. See below how they are displayed!

+ subsubsection. See below how they are displayed!

This is a subsection

Here we are at an even lower hierarchical level. This can be quite useful. Be aware - that this level is not being displayed in the table of contents. Now, there is still - one level below that: the subsubsection.

+ that this level is not being displayed in the table of contents. Now, there is still + one level below that: the subsubsection.

A subsubsection

A subsubsection will never be numbered and like its predecessor, it will not show - up in the table of contents.

+ up in the table of contents.

@@ -181,186 +227,191 @@
Unnumbered document structure

Chapter, section and subsection can also be used without numbers. Do you see the slight - changes in the layout? Also, the counter is not incremented. What should we use this - for?

+ changes in the layout? Also, the counter is not incremented. What should we use this + for?

How can we see if the next two are section or subsection? They have the same height. - What shall we do??

+ What shall we do??

Section without numbers

This the first section of a text. It is preceded by two hierarchical units, namely - Part and Chapter. As you can see above, the chapter command has two arguments, the - first one being the running head which is displayed in the header of each page. - Structure your text wisely.

+ Part and Chapter. As you can see above, the chapter command has two arguments, the + first one being the running head which is displayed in the header of each page. + Structure your text wisely.

Now, a running head only makes sense if your chapter spreads across several - pages.

+ pages. +

Subsection without number

Here we are at an even lower hierarchical level. This can be quite useful. Be aware - that this level is not being displayed in the table of contents.

+ that this level is not being displayed in the table of contents.

-
+
Markup

The EOA flavour of Latex offers quite a few commands that help you markup words in your - text. And also, if you want to include words in different writing systems, they have to - be preceded by commands so that the system can switch to the correct font. The whole - scope is gathered in the next, rather experimental section.

+ text. And also, if you want to include words in different writing systems, they have to + be preceded by commands so that the system can switch to the correct font. The whole + scope is gathered in the next, rather experimental section.

Non-Latin alphabets

This section showcases text written in writing systems other than Latin. It includes - Russian, Chinese, Hebrew and Greek.

+ Russian, Chinese, Hebrew and Greek.

Russian

First, Russian: В начале двадцатого века был одним из - идеологов богостроительства, в 1909 году помогал участникам этого течения - содержать фракционную школу на острове Капри для рабочих, которую В. И. Ленин - называл "литераторским центром богостроительства".

+ идеологов богостроительства, в 1909 году помогал участникам этого течения + содержать фракционную школу на острове Капри для рабочих, которую В. И. Ленин + называл "литераторским центром богостроительства".

Chinese

Next, Chinese: 法兰克人接受了高卢罗马文化, - 改操罗曼语族语言(但在罗马人分布较少的高卢北部人多操日耳曼语族语言)。 克洛维定巴黎为首都,建立了新的王朝,史称墨洛温王朝,但是这个王朝在克 - 洛维死后陷入分裂,克洛维的四个儿子按照法兰克人的习惯,将法兰克国家一 分为四,分别是巴黎、奥尔良、苏瓦松和兰斯。

+ 改操罗曼语族语言(但在罗马人分布较少的高卢北部人多操日耳曼语族语言)。 克洛维定巴黎为首都,建立了新的王朝,史称墨洛温王朝,但是这个王朝在克 + 洛维死后陷入分裂,克洛维的四个儿子按照法兰克人的习惯,将法兰克国家一 分为四,分别是巴黎、奥尔良、苏瓦松和兰斯。

Hebrew

Then, Hebrew:ארגינעל האט די סעקרעטאריאט שטאב געדארפט צו זיין - א פאראייניגטע גרופע פון אומפארטייאישע שליחים פון יעדע לאנד וועלכע האבן נאר די - אינטערעסן פון זייערע אייגענע לענדער אבער עס האט זיך קיינמאל נישט געהעריג - אויסגעארבעט און נאר דער סעקרעטאר גענעראל איז אזוי באטראכט געווארן

+ א פאראייניגטע גרופע פון אומפארטייאישע שליחים פון יעדע לאנד וועלכע האבן נאר די + אינטערעסן פון זייערע אייגענע לענדער אבער עס האט זיך קיינמאל נישט געהעריג + אויסגעארבעט און נאר דער סעקרעטאר גענעראל איז אזוי באטראכט געווארן

Greek -

And finally Greek: Ο φλοιός κυμαίνεται μεταξύ 5 και 70 km σε - βάθος. Τα λεπτά τμήματα του φλοιού είναι κάτω από τους ωκεανούς (ωκεάνιος φλοιός) - και αποτελούνται από πυκνά πετρώματα μαγνησίου, σιδήρου και πυριτίου. Τα παχύτερα - τμήματα του φλοιού είναι τα ηπειρωτικά τα οποία είναι λιγότερο πυκνά από τα - ωκεάνια και αποτελούνται από πετρώματα πλούσια σε νάτριο, αλουμίνιο και - πυρίτιο.

+

And finally Greek: Ο φλοιός + κυμαίνεται μεταξύ 5 και 70 km σε βάθος. Τα λεπτά τμήματα + του φλοιού είναι κάτω από τους ωκεανούς (ωκεάνιος φλοιός) + και αποτελούνται από πυκνά πετρώματα μαγνησίου, σιδήρου + και πυριτίου. Τα παχύτερα τμήματα του φλοιού είναι τα + ηπειρωτικά τα οποία είναι λιγότερο πυκνά από τα ωκεάνια + και αποτελούνται από πετρώματα πλούσια σε νάτριο, + αλουμίνιο και πυρίτιο.

If in doubt -

You can add complicated characters as images, for example, an apple: . Or a penguin:

+

You can add complicated characters as images, for example, an apple: . Or a penguin:

Text markup

This is a regular paragraph. Words can appear in italics, – these - are examples of this – and some characters are superscript or subscript. A high pitched voice called and a deep resonating - bass answered. What is the - Math font good for? Be careful and use EOAbold only sparingly.

+ are examples of this – and some characters are superscript or subscript. A high pitched voice called and a deep resonating + bass answered. What is the + Math font good for? Be careful and use EOAbold only sparingly.

To read single Arabic words, as in Grammaticall Paradigms, we must know the sound of - the letters […] ‘b t θ - כ ח L m n w h y. place of the accent [\dots] never in ultima, therefore in penultima in - all disyllables as onsur, never higher than the antepenult, and there always in - polysyllables as nasara, nasarta unlwaaw [y]e penult be made long by quiescent by אוי - as tansoranias tansoriיna tansoraיna. Weiter im Text

Add., - f.1r.

+ the letters […] ‘b t θ + כ ח L m n w h y. place of the accent [\dots] never in ultima, therefore in penultima in + all disyllables as onsur, never higher than the antepenult, and there always in + polysyllables as nasara, nasarta unlwaaw [y]e penult be made long by quiescent by אוי + as tansoranias tansoriיna tansoraיna. Weiter im Text

Add., + f.1r.

Another paragraph showcasing some additional text marking features. - Text can be struck - through. And we can space out some words. But small caps I know pretty well. Last, but not least, here is - the way to enter web addresses: EOA! + Text can be struck + through. And we can space out some words. But small caps I know pretty well. Last, but not least, here is + the way to enter web addresses: EOA!

A short check on how hyperref works: what? - - + >what? + +

Other types of text blocks

If you want to include a longer quote in a text, there is of course a command for - that. And inside that we also introduce you to how you can insert footnotes.Piaget 1985.

+ that. And inside that we also introduce you to how you can insert footnotes.Piaget 1985.

Do you like the lorem ipsum text? I don't.

. However, there should be a longer piece of text in this example lateron.

+ % Testing out the footnote feature of Oklahoma\EOAfnalph{Satisfaction}. This will of course produce an error, because we + % already have the other stuff.\EOAfnarabic{Let's see what happens.} + % This is exciting! + -->
Three constructs for lists -

This is a numbered list containing three items - This is the first entry.This is the second entry.This is the third entry -

+

This is a numbered list containing three items

+ + This is the first entry. + This is the second entry. + This is the third entry +

In contrast to that, here is a list that is not numbered, but also contains the - same items!

-

- - This is the first entry. - This is the second entry. - This is the third entry - -

-

Thirdly, if you want to give some definitions you can use EOAdescription: - A typesetting systemThis is you! -

+ same items!

+ + This is the first entry. + This is the second entry. + This is the third entry + +

Thirdly, if you want to give some definitions you can use EOAdescription:

+ + A typesetting system + This is you! +
Smaller spacings -

Small spacings are also there: U\,S\;A\EOAindexlocation{USofA}.

+

Small spacings are also there: U\,S\;AUSofA.

Some technical matters

Some letters cannot be typed directly when writing in LaTeX. For example the tilde: - \EOAtilde. We have to use a command for that. Also, of course, as you have already - seen, you cannot write the percent sign as it is, because this is used for commentig. - Use \% instead. And for a backslash? \\? No. That's a newline. \textbackslash!

+ \EOAtilde. We have to use a command for that. Also, of course, as you have already + seen, you cannot write the percent sign as it is, because this is used for commentig. + Use \% instead. And for a backslash? \\? No. That's a newline. \textbackslash!

References and indices

Elements can be assigned labels so that we can later refer to them: sections, images

There is a nice image on page .

, - tables

There is a table on page

. A lot of things can be cross-referenced.

+ tables

There is a table on page

. A lot of things can be cross-referenced.

By the way, JoyceJames Joyce is a darn good author. Read some of his stuff. It may be useful for indexing - some of your key terms in the text so that we can later link to catalogues that tells - the reader more about the things. Joyce died in ZurichZürich. You cannot read anything about him in -neither Walkowski's work of or !

+ some of your key terms in the text so that we can later link to catalogues that tells + the reader more about the things. Joyce died in ZurichZürich. You cannot read anything about him in + neither Walkowski's work of or !

+ Charles (son of the second duke of Devonshire), + (Fig.~\EOAref{sec2:image1}, + \EOApageref{sec2:image1})!duty of service}. -->

Now, here's a funny problem concerning the index. Consider one Lord Charles - Cavendish, Lord Charles (son of the second duke of Devonshire), (Fig. - , ) - - - duty of service - - We actually have references in there. Can we do this? This is the reference - outside the index: (Fig. - , )

-

This paragraph illustrates various references (see section ). It - includes a reference to the image (see image ), two entries - for the index (Science Science and Confucius 孔夫子), one reference to a facsimile (see facsimile on page ) and one reference to a section. The last one is at the - beginning. And of course: references to the bibliography: - + Cavendish, Lord Charles (son of the second duke of Devonshire), (Fig. + , ) + + + duty of service + + We actually have references in there. Can we do this? This is the reference + outside the index: (Fig. + , )

+

This paragraph illustrates various references (see section ). It + includes a reference to the image (see image ), two entries + for the index (Science Science and Confucius 孔夫子), one reference to a facsimile (see facsimile on page ) and one reference to a section. The last one is at the + beginning. And of course: references to the bibliography: + - . - We can also cite manually with Plat. tim. - . -

+ . + We can also cite manually with Plat. tim. + . +

@@ -374,32 +425,32 @@ neither Walkowski's work of Floats -->

Floating environments are bigger constructs like figures - and tables (). If you want to, you can leave + and tables (). If you want to, you can leave the placing of them to the typesetting system, in order to avoid bigger stretches of white space (cf. ) .

+ target="#Hsu_1993"/>
) .

Tables

The following lines of code produce a table consisting of 4 columns and 3 rows. Is - the table right so?

+ the table right so?

This is a table - Heading 1 - Heading 2 - Heading 3 - Heading 4 + Heading 1 + Heading 2 + Heading 3 + Heading 4 Here @@ -424,34 +475,34 @@ neither Walkowski's work of Figures

Yet another section. We have an image here. The command takes five parameters: - filename, caption, label, width and position

+ filename, caption, label, width and position

+ resembles a bird looking at you. Doesn't it? And do you + think it looks angry?}{sec2:image1}{66}{H} -->
An image with a caption. It resembles a bird looking at you. Doesn't it? And do - you think it looks angry? + you think it looks angry?
- + Ostafrikanische Arbeiter an einem der großen Knochengräben, die während der - paläontologischen Expedition des Berliner Naturkundemuseums in die damalige Kolonie - Deutsch-Ostafrika zwischen 1909 und 1913 angelegt wurden. (Koloriertes - Glasdiapositiv, Museum für Naturkunde Berlin, Historische Bild- u. - Schriftgutsammlungen, Bestand: Pal. Mus., Signatur: B V/177) + paläontologischen Expedition des Berliner Naturkundemuseums in die damalige Kolonie + Deutsch-Ostafrika zwischen 1909 und 1913 angelegt wurden. (Koloriertes + Glasdiapositiv, Museum für Naturkunde Berlin, Historische Bild- u. + Schriftgutsammlungen, Bestand: Pal. Mus., Signatur: B V/177)

The fat-free version of this is EOAfigurenonumber which does without a caption and a - label. We are using the same source image here, but by specifying the size of the - image, it will scale down accordingly.

+ label. We are using the same source image here, but by specifying the size of the + image, it will scale down accordingly.

The last image command – EOAlsfigure – takes three parameters the figure covers the - whole page

+ whole page

That's a caption for the lovely landscape image @@ -464,360 +515,129 @@ neither Walkowski's work of Hier eine Instanz des Theorems

Let's have some mathematics examples here. Latex is very good in typesetting formulæ, - so let's go for it! We already had this example, but here is another inline equation - 9 + 3 - \sqrt{9} = 3. Well, our root symbol - expands the line spacing a bit, so maybe we should not use it inline. Here is another - equation: 2^2 = 4.

+ so let's go for it! We already had this example, but here is another inline equation + 9 + 3 + \sqrt{9} = 3. Well, our root symbol + expands the line spacing a bit, so maybe we should not use it inline. Here is another + equation: 2^2 = 4.

Instead, an equation outside of a paragraph.

-

- 6 + 6 = 12 - -

+ 6 + 6 = 12 + -

- g_{\mu \nu} - = 7 -

+ g_{\mu \nu} + = 7

And if it does not need to be numbered. They also don't take labels (why?).

-

- 6 + 6 = 12 -

+ 6 + 6 = 12

When you have some equations that belong somehow together.

-

- 6 + 6 = 12\\ 12 + 12 = 24\\ 24 + 24 = 48\\ -

+ 6 + 6 = 12\\ 12 + 12 = 24\\ 24 + 24 = 48\\

An array of equations. All of them numbered individually.

-

- 1 + 1 = 2\\ 2 + 2 = - 4\\ 4 + 4 = 8 -

+ 1 + 1 = 2\\ 2 + 2 = + 4\\ 4 + 4 = 8 + \begin{EOAequationarray}{LabelOfArray} + 1 + 1 = 2\\ + 2 + 2 = 4\\ + 4 + 4 = 8 + \end{EOAequationarray}-->

Again, an array of equations without numbers. They don't get labels, either.

-

- 1 + - 1 = 2\\ 2 + 2 = 4\\ 4 + 4 = 8 -

+ 1 + + 1 = 2\\ 2 + 2 = 4\\ 4 + 4 = 8

Let's insert an empty page here.

+ Transcription and translation - - +
+
+ Libro Primo, 6v +

Delirant isti romani!

+
+
+ First Book, 6v +

Die spinnen, die Römer!

+
+
-

Starting all over. We can also cite newspapers: -

+

Starting all over. We can also cite newspapers: +

- +A complement to the empty page is … +\EOAnewpage +The new page command. This starts a new page, but obviously without a +blank page in between.--> +
+
+ References +
- - - -
- References - -
- - - - - +
+ Facsimiles +
+ + Facsimile of page 3 +
+
+ + Facsimile of page 4 +
- - + @@ -825,6 +645,19 @@ u (unpublished) the title applies to any unpublished material (including theses -
+ +
+ Index + +
+
+ Person index + +
+
+ Location index + +
+
diff --git a/tei.css b/tei.css index ebb4edb..1b0a925 100644 --- a/tei.css +++ b/tei.css @@ -1,5 +1,5 @@ /* ============================================================ - CSS2 specification for TEI Lite P4 (XML Version) + CSS2 specification for TEI Lite P4 (XML Version) Textgrid Version -//TEI//DTD TEI Lite XML ver. 1.3//EN @@ -13,18 +13,18 @@ ============================================================ */ TEI\.2 { - + font-family: serif; font-size: 12pt; margin-top: 5pt; margin-left: 5pt; display: block; - + } TEI { - + font-family: sans-serif; font-size: 18pt; margin-top: 5pt; @@ -33,13 +33,13 @@ TEI { } teiCorpus { - + font-family: serif; font-size: 12pt; margin-top: 5pt; margin-left: 5pt; display: block; - + } @@ -77,7 +77,7 @@ author { display: inline; } - + back { display: block; border: thin black solid; @@ -92,7 +92,7 @@ bibl { display: inline; } - + argument > bibl, body > bibl, cit > bibl, div > bibl, div0 > bibl, div1 > bibl, div2 > bibl, div3 > bibl, div4 > bibl, div5 > bibl, div6 > bibl, div7 > bibl, epigraph > bibl, listBibl > bibl > bibl, taxonomy > bibl { display: block; margin-bottom: 0.5em; @@ -102,7 +102,7 @@ biblFull { display: inline; } - + argument > biblFull, body > biblFull, cit > biblFull, div > biblFull, div0 > biblFull, div1 > biblFull, div2 > biblFull, div3 > biblFull, div4 > biblFull, div5 > biblFull, div6 > biblFull, div7 > biblFull, epigraph > biblFull, listBibl > biblFull > biblFull, taxonomy > biblFull { display: block; margin-bottom: 0.5em; @@ -112,18 +112,18 @@ biblScope { display: inline; } - + imprint > biblScope { display: block; } - + body { font-family: serif; font-size: 100%; margin-top: 5pt; margin-left: 5pt; - display: block; + display: block; } byline { @@ -155,7 +155,7 @@ cit { display: inline; } - + argument > cit, body > cit, div > cit, div0 > cit, div1 > cit, div2 > cit, div3 > cit, div4 > cit, div5 > cit, div6 > cit, div7 > cit, epigraph > cit { display: block; margin-bottom: 0.5em; @@ -194,7 +194,7 @@ date { display: inline; } - + change > date, publicationStmt > date { display: block; font-weight: bold; @@ -218,7 +218,7 @@ distributor { body > div { display: block; margin-bottom: 1em; - counter-increment: div1; + counter-increment: div; } body > div > div { @@ -290,32 +290,32 @@ docAuthor { margin-bottom: 0.5em; } - + byline docAuthor { display: inline; } - + titlePage docAuthor { font-size: 150%; } - + titlePage docTitle { font-size: 200%; } - + edition { display: block; margin-bottom: 0.5em; } - + bibl edition { display: inline; } - + editionStmt { display: block; margin-bottom: 1em; @@ -326,12 +326,12 @@ editor { margin-bottom: 0.5em; } - + bibl editor { display: inline; } - + editorialDecl { display: block; margin-bottom: 1em; @@ -349,7 +349,7 @@ eg { background-color: #FFCC99; } - + argument > eg, body > eg, div > eg, div0 > eg, div1 > eg, div2 > eg, div3 > eg, div4 > eg, div5 > eg, div6 > eg, div7 > eg, epigraph > eg { display: block; margin-bottom: 1em; @@ -366,24 +366,24 @@ epigraph { text-align: center; } - + extent { display: block; margin-bottom: 1em; } - + bibl extent { display: inline; } - + figure { display: block; margin-bottom: 1em; } figure:after { - content: attr(figDesc); + content: attr(figDesc); } foreign { @@ -415,7 +415,7 @@ gap { display: block; } - + gap:after { content: "[...]"; font-style: italic; @@ -427,17 +427,17 @@ gi { color: blue; } - + gi:before { content: "<"; } - + gi:after { content: ">"; } - + gloss { display: inline; } @@ -452,8 +452,6 @@ body > div > head { font-size: 120%; padding-top: 14pt; padding-bottom: 10pt; - color: red; - background-color: yellow; font-weight: bold; margin-bottom: 0.5em; margin-top: 1em; @@ -464,8 +462,6 @@ body > div > div > head { font-size: 100%; padding-top: 14pt; padding-bottom: 10pt; - color: red; - background-color: yellow; font-weight: bold; margin-bottom: 0.5em; margin-top: 1em; @@ -476,8 +472,6 @@ body > div > div > div > head { font-size: 100%; padding-top: 14pt; padding-bottom: 10pt; - color: red; - background-color: yellow; font-weight: bold; margin-bottom: 0.5em; margin-top: 1em; @@ -485,27 +479,27 @@ body > div > div > div > head { div1 > head:before { content: counter(div1) ". "; - color: red; + color: black; } div2 > head:before { content: counter(div1) "." counter(div2) ". "; - color: red; + color: black; } div3 > head:before { content: counter(div1) "." counter(div2) "." counter(div3) ". "; - color: red; + color: black; } body > div > head:before { content: counter(div1) ". "; - color: red; + color: black; } body > div > div > head:before { content: counter(div1) " " counter(div2) ". "; - color: red; + color: black; } hi { @@ -513,7 +507,7 @@ hi { font-weight: bolder; } - + hi[rend="italic"] { display: inline; font-style: italic; @@ -525,7 +519,7 @@ hi[rend="bold"] { } hi[rend="spaced"] { - font-stretch: wider; + font-stretch: wider; } @@ -540,12 +534,12 @@ idno { margin-bottom: 1em; } - + bibl idno { display: inline; } - + imprint { display: inline; } @@ -567,13 +561,13 @@ item { margin-left: 12pt; } - + item:before { display: marker; content: attr(n); } - + change item { display: block; margin-bottom: 0.5em; @@ -601,7 +595,7 @@ label { font-weight: bold; } - + argument > label, body > label, div > label, div0 > label, div1 > label, div2 > label, div3 > label, div4 > label, div5 > label, div6 > label, div7 > label, epigraph > label { display: block; font-weight: bold; @@ -620,7 +614,7 @@ lb.after { color: gray; } - + lb:before { content: "\A"; @@ -640,12 +634,12 @@ list { margin-top: 1em; } - + list[rend="runon"] { display: inline; } - + list[type="bulleted"] { list-style-type: disc; list-style-position: outside; @@ -656,19 +650,19 @@ list[type="ordered"] { list-style-position: outside; } - + list[type="ordered"] { list-style-type: decimal; list-style-position: outside; } - + list[type="numbered"] { list-style-type: decimal; list-style-position: outside; } - + listBibl { display: block; margin-bottom: 0.5em; @@ -709,17 +703,17 @@ note[n]:before { vertical-align: super; } - + note[place="left"] { float: left; } - + note[place="right"] { float: right; } - + note[place="inline"], note[place="unspecified"] { display: inline; } @@ -749,9 +743,9 @@ p { } - - + + principal { display: block; margin-bottom: 0.5em; @@ -770,7 +764,7 @@ publisher { display: inline; } - + imprint > publisher, publicationStmt > publisher { display: block; margin-bottom: 0.5em; @@ -780,7 +774,7 @@ pubPlace { display: inline; } - + imprint > pubPlace, publicationStmt > pubPlace { display: block; margin-bottom: 0.5em; @@ -795,7 +789,7 @@ q { margin-bottom: 0em; } - + q[rend="display"], argument > q, body > q, cit > q, div > q, div0 > q, div1 > q, div2 > q, div3 > q, div4 > q, div5 > q, div6 > q, div7 > q, epigraph > q { display: block; margin-bottom: 0.5em; @@ -804,19 +798,19 @@ q[rend="display"], argument > q, body > q, cit > q, div > q, div0 > q, div1 > q, quotes: none; } - + q:before { /*content: open-quote;*/ content: "–"; color: blue; } -/* +/* q:after { content: close-quote; } */ - + ref { display: inline; color: blue; @@ -846,12 +840,12 @@ respStmt { display: block; } - + bibl respStmt { display: inline; } - + row { display: table-row; } @@ -903,7 +897,7 @@ sic { sic:after { content: "[sic]"; - color: #bbb; + color: #bbb; vertical-align: super; font-size: 80%; } @@ -927,9 +921,9 @@ reg { display: inline; color: gray; } -reg:after { +reg:after { content: "[reg]"; - color: #bbb; + color: #bbb; vertical-align: super; font-size: 80%; } @@ -945,17 +939,17 @@ soCalled { quotes: "'" "'"; } - + soCalled:before { content: open-quote; } - + soCalled:after { content: close-quote; } - + sp { display: block; margin-bottom: 0.5em; @@ -1018,7 +1012,7 @@ title { display: inline; } - + seriesStmt > title, titleStmt > title { display: block; font-size: 150%; @@ -1071,7 +1065,7 @@ xref { text-decoration: underline; } - + xref:hover { background-color: blue; color: white; @@ -1079,7 +1073,7 @@ xref:hover { /* header-related material */ - + teiHeader { display: block; color: gray; @@ -1147,18 +1141,18 @@ projectDesc { } - + docDate { display: block; margin-bottom: 0.5em; } - + docImprint docDate { display: inline; } - + docEdition { display: block; margin-bottom: 0.5em; @@ -1176,7 +1170,7 @@ docTitle { } -/* addition specific to the edition "Der junge Goethe" +/* addition specific to the edition "Der junge Goethe" added by Fotis Jannidis 19.11.2001 */ p [rend="ProsaMitErsteinzug"] { /* FIXME Delete */ @@ -1190,7 +1184,7 @@ p[rend="BinnenTrennZeichen"] { div1 head { display: block; font-family: serif; - font-size: 16pt; + font-size: 16pt; margin-top: 5pt; text-align: center; } @@ -1198,7 +1192,7 @@ div1 head { div2 head { display: block; font-family: serif; - font-size: 14pt; + font-size: 14pt; margin-top: 25pt; font-weight: bold; text-align: center; @@ -1207,7 +1201,7 @@ div2 head { div3 head { display: block; font-family: serif; - font-size: 14pt; + font-size: 14pt; font-weight: bold; margin-top: 18pt; text-align: left; @@ -1216,7 +1210,7 @@ div3 head { div4 head { display: block; font-family: serif; - font-size: 12pt; + font-size: 12pt; font-weight: bold; margin-top: 14pt; text-align: left; @@ -1250,5 +1244,3 @@ text { fileDesc { display: block; } - -