From a1fd368351d0956b6f0a617fb044dc663744eb62 Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:22:29 +0200 Subject: [PATCH 01/20] There can be chapters before a part --- schema/resource/eoa-tei-strict.rnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index a38f63b..649ce8a 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -15,7 +15,7 @@ start = element text { attribute xml:id { "text" }?, element front { frontmatter }, - element body { part* | chapter* }, + element body { (chapter?, part*) | chapter* }, element back { backmatter }? } } From 94ad06469503cc1caf064aaa01f1deb124c06307 Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:22:43 +0200 Subject: [PATCH 02/20] Language attribute for proper name formatting --- schema/resource/eoa-tei-strict.rnc | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 649ce8a..6fb633b 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -170,6 +170,7 @@ tei_header = person = element persName { + attribute xml:lang { xsd:NCName }?, attribute ref { xsd:anyURI }?, element surname { text }, element forename { text }, From 9065b14d58cc9f07ff1800d7520cee6d224d20a6 Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:23:25 +0200 Subject: [PATCH 03/20] Nonumber divs can have ids, as well --- schema/resource/eoa-tei-strict.rnc | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 6fb633b..cc8efa7 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -262,12 +262,12 @@ chapter = attribute type { "chapter" }, # should non-numbered elements be allowed to carry an id? # either: - # attribute n { xsd:integer | "nonumber" }, - # attribute xml:id { xsd:NCName }, + attribute n { xsd:integer | "nonumber" }, + attribute xml:id { xsd:NCName }, # or: - (( attribute xml:id { xsd:NCName }, - attribute n { xsd:integer }?)| - attribute n { "nonumber" } ), + # (( attribute xml:id { xsd:NCName }, + # attribute n { xsd:integer }?)| + # attribute n { "nonumber" } ), attribute resp { text }?, head-ex-abbr, element epigraph { p+ }?, @@ -281,11 +281,11 @@ chapter = section = element div { attribute type { "section" }, - (( attribute xml:id { xsd:NCName }, - attribute n { xsd:integer }?)| - attribute n { "nonumber" } ), - # attribute n { xsd:integer | "nonumber" }, - # attribute xml:id { xsd:NCName }, + # (( attribute xml:id { xsd:NCName }, + # attribute n { xsd:integer }?)| + # attribute n { "nonumber" } ), + attribute n { xsd:integer | "nonumber" }, + attribute xml:id { xsd:NCName }, head, ( eoaelement | subsection | sourcesfeatures)* } @@ -293,11 +293,11 @@ section = subsection = element div { attribute type { "subsection" }, - (( attribute xml:id { xsd:NCName }, - attribute n { xsd:integer }?)| - attribute n { "nonumber" } ), - # attribute n { xsd:integer | "nonumber" }, - # attribute xml:id { xsd:NCName }, + # (( attribute xml:id { xsd:NCName }, + # attribute n { xsd:integer }?)| + # attribute n { "nonumber" } ), + attribute n { xsd:integer | "nonumber" }, + attribute xml:id { xsd:NCName }, head, (eoaelement|subsubsection)* } @@ -305,11 +305,11 @@ subsection = subsubsection = element div { attribute type { "subsubsection" }, - (( attribute xml:id { xsd:NCName }, - attribute n { xsd:integer }?)| - attribute n { "nonumber" } ), - # attribute n { xsd:integer | "nonumber" }, - # attribute xml:id { xsd:NCName }, + # (( attribute xml:id { xsd:NCName }, + # attribute n { xsd:integer }?)| + # attribute n { "nonumber" } ), + attribute n { xsd:integer | "nonumber" }, + attribute xml:id { xsd:NCName }, head, eoaelement* } From cbe1054a95dd3607cbf7bd74c601b645ddaf01d0 Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:23:55 +0200 Subject: [PATCH 04/20] Foreign text in heads --- schema/resource/eoa-tei-strict.rnc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index cc8efa7..57e472a 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -318,17 +318,17 @@ head = element head { (text | markup | inline_formula | index | indexanchor | re floathead = element head { - (text | bibref | markup | inline_formula | index | indexanchor | ref )+ } + (text | bibref | markup | foreign | inline_formula | index | indexanchor | ref )+ } head-ex-abbr = element head { ( element choice { element expan { - (text | markup | inline_formula | index | indexanchor | ref )+ }, + (text | markup | foreign | inline_formula | index | indexanchor | ref )+ }, element abbr { - (text | markup | inline_formula | index | indexanchor | ref )+ } + (text | markup | foreign | inline_formula | index | indexanchor | ref )+ } } ) | - (text | markup | inline_formula | index | indexanchor )+ + (text | markup | foreign | inline_formula | index | indexanchor )+ } ################################### From 19d9b01f27fd27cb1eaae63cc46d15932cad12fd Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:24:23 +0200 Subject: [PATCH 05/20] Text nodes in bibliographic references --- schema/resource/eoa-tei-strict.rnc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 57e472a..9546fd9 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -541,14 +541,14 @@ bibref = element bibl { element ref { attribute type { "year" | "authoryear"}, - attribute target { xsd:anyURI }, - text + attribute target { xsd:anyURI } + # text }, element citedRange { - text | ( attribute from { xsd:string {pattern = "(\p{L}|\p{N}|\p{P}|\p{S}|-|–)+\.?" }}, - attribute to { xsd:string {pattern = "(\p{L}|\p{N}|\p{P}|\p{S})+" }}?) + attribute to { xsd:string {pattern = "(\p{L}|\p{N}|\p{P}|\p{S})+" }}?) | + ( text | markup | foreign )+ # ( attribute from { xsd:integer | "viii" }, # attribute to { xsd:integer }?) }? From d5863ab7c3a66ef7b75a2a004d61176cedab9dc5 Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:25:12 +0200 Subject: [PATCH 06/20] Heads are optional --- schema/resource/eoa-tei-strict.rnc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 9546fd9..204bb0c 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -680,7 +680,7 @@ bilingual = attribute type { "original" }, attribute xml:lang { xsd:string {pattern = "[a-z]{2}" }}, attribute xml:id { text }, - head, + head?, p+ }, element div { @@ -688,7 +688,7 @@ bilingual = attribute type { "translation" }, attribute xml:lang { xsd:string {pattern = "[a-z]{2}" }}, attribute xml:id { text }, - head, + head?, p+ } } From 8540d810eef98492fc81ff988e35146215551ce3 Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:25:31 +0200 Subject: [PATCH 07/20] Hyperimage --- schema/resource/eoa-tei-strict.rnc | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 204bb0c..6a37064 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -590,14 +590,30 @@ theorem = text } +## References that are either a URL or references to numbered sections +## or floats or pages (although being discouraged). @type values +## containing 'hi' are used for the hyperimage system ref = element ref { attribute target { xsd:anyURI }, ( (attribute type { "url" }, element date { - attribute when { xsd:date }}?, text?) + attribute when { xsd:date }}?, text? + ) + | + (attribute type {"text-hi" | "number-hionly" | "number-hi" }, + attribute select { xsd:NCName }?) + | + (attribute type { "hionlycollage" }, + ( + element ref { + attribute target { xsd:anyURI }, + attribute type { "number" | "number-hionly" | "number-hi" } + } | + text)+ + ) | - attribute type { "number" | "page" | "number-hi" } + attribute type { "number" | "page" } ), text } From dbea5af7593dfde743ef975d162d82cdc1c0de59 Mon Sep 17 00:00:00 2001 From: kthoden Date: Sun, 8 Sep 2019 15:33:03 +0200 Subject: [PATCH 08/20] Optional argument is already used for something --- examples/eoatex/texfiles/09_facsimiles.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/eoatex/texfiles/09_facsimiles.tex b/examples/eoatex/texfiles/09_facsimiles.tex index 48e1b0f..0641d3c 100644 --- a/examples/eoatex/texfiles/09_facsimiles.tex +++ b/examples/eoatex/texfiles/09_facsimiles.tex @@ -1,4 +1,4 @@ \EOAfacsimile{facsim/001.jpg}{facsim001}{Facsimile of page 001} \EOAfacsimile{facsim/002.jpg}{facsim002}{Facsimile of page 002} \EOAfacsimile{facsim/003.jpg}{facsim003}{Facsimile of page 003} -\EOAfacsimile[pb004]{facsim/004.jpg}{facsim004}{Last facsimile page extended} \ No newline at end of file +% \EOAfacsimile[pb004]{facsim/004.jpg}{facsim004}{Last facsimile page extended} \ No newline at end of file From e469388de57771c403dc311ebb55b1ce5909ed83 Mon Sep 17 00:00:00 2001 From: kthoden Date: Mon, 9 Sep 2019 14:31:14 +0200 Subject: [PATCH 09/20] Use greadlink on MacOS --- scripts/rnc_analysis_to_odd.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/rnc_analysis_to_odd.sh b/scripts/rnc_analysis_to_odd.sh index 2345654..3f26522 100755 --- a/scripts/rnc_analysis_to_odd.sh +++ b/scripts/rnc_analysis_to_odd.sh @@ -100,7 +100,18 @@ echo "input_dir: $input_dir" input_filename=$(cat $input_dir/info.cfg | grep 'SOURCE' | cut -d' ' -f2) -input_dir_absolute=$(readlink -f "$input_dir") +if [ $(uname) == "Darwin" ] ; then + if which 'greadlink'; then + input_dir_absolute=$(greadlink -f "$input_dir") + else + echo "readlink not found (also 'greadlink' is not available)." + echo "On mac, please install 'coreutils', e.g. using homebrew" + exit 1 + fi +else + input_dir_absolute=$(readlink -f "$input_dir") +fi + debug_modules_options="debug_modules=${debug_modules[@]}" From c065699135f618cd8d03eb8c9218579eef373738 Mon Sep 17 00:00:00 2001 From: kthoden Date: Tue, 10 Sep 2019 12:12:55 +0200 Subject: [PATCH 10/20] Language attribute for chapters --- schema/resource/eoa-tei-strict.rnc | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 6a37064..2b3a62b 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -268,6 +268,7 @@ chapter = # (( attribute xml:id { xsd:NCName }, # attribute n { xsd:integer }?)| # attribute n { "nonumber" } ), + attribute xml:lang { xsd:string {pattern = "[a-z]{2}" } }, attribute resp { text }?, head-ex-abbr, element epigraph { p+ }?, From 3ae5b360e9f271510ad25d57acd15ca5899c7dc8 Mon Sep 17 00:00:00 2001 From: kthoden Date: Tue, 10 Sep 2019 12:13:12 +0200 Subject: [PATCH 11/20] More features for bilingual --- schema/resource/eoa-tei-strict.rnc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 2b3a62b..8427af8 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -698,7 +698,7 @@ bilingual = attribute xml:lang { xsd:string {pattern = "[a-z]{2}" }}, attribute xml:id { text }, head?, - p+ + eoaelement* }, element div { attribute corresp { text }, @@ -706,7 +706,7 @@ bilingual = attribute xml:lang { xsd:string {pattern = "[a-z]{2}" }}, attribute xml:id { text }, head?, - p+ + eoaelement* } } From 85f73f3a1954f807cabccae52a8aeee1a03fd8d2 Mon Sep 17 00:00:00 2001 From: kthoden Date: Tue, 10 Sep 2019 12:23:37 +0200 Subject: [PATCH 12/20] Chapter language is optional --- schema/resource/eoa-tei-strict.rnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 8427af8..2766bd0 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -268,7 +268,7 @@ chapter = # (( attribute xml:id { xsd:NCName }, # attribute n { xsd:integer }?)| # attribute n { "nonumber" } ), - attribute xml:lang { xsd:string {pattern = "[a-z]{2}" } }, + attribute xml:lang { xsd:string {pattern = "[a-z]{2}" } }?, attribute resp { text }?, head-ex-abbr, element epigraph { p+ }?, From 359f8e7f70d36bbf3f20ef5c11c833b308871c5c Mon Sep 17 00:00:00 2001 From: kthoden Date: Wed, 30 Oct 2019 14:30:21 +0100 Subject: [PATCH 13/20] Theoreminstance --- schema/resource/eoa-tei-strict.rnc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 2766bd0..7c72e93 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -357,6 +357,7 @@ eoaelement = | \list | table | theorem + | theoreminstance | bilingual | lg | quote @@ -587,8 +588,15 @@ hi = theorem = element ab { attribute type { "theoremdeclaration" }, - attribute xml:id { xsd:NCName }, - text + attribute xml:id { xsd:NCName }, + text + } + +theoreminstance = + element ab { + attribute type { "theoreminstance" }, + attribute corresp { xsd:anyURI}, + spanmarkup } ## References that are either a URL or references to numbered sections From b9aa5543a11dd795e111d7efe3e3b2b917e7a9ae Mon Sep 17 00:00:00 2001 From: kthoden Date: Wed, 6 Nov 2019 12:58:29 +0100 Subject: [PATCH 14/20] More explicit pattern for bibliographical references --- schema/resource/eoa-tei-strict.rnc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 7c72e93..bde3522 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -543,7 +543,8 @@ bibref = element bibl { element ref { attribute type { "year" | "authoryear"}, - attribute target { xsd:anyURI } + attribute target { xsd:string {pattern = "#[A-Za-z0-9\-_:\.]+" }} + # attribute target { xsd:anyURI } # text }, element citedRange { From 3ddd70f2616a08b95868c923bb9ba4e608c59e8a Mon Sep 17 00:00:00 2001 From: kthoden Date: Wed, 6 Nov 2019 12:59:11 +0100 Subject: [PATCH 15/20] Indexchapter --- schema/resource/eoa-tei-strict.rnc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index bde3522..a25ce02 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -15,7 +15,7 @@ start = element text { attribute xml:id { "text" }?, element front { frontmatter }, - element body { (chapter?, part*) | chapter* }, + element body { (chapter?, part*) | chapter* | indexchapter* }, element back { backmatter }? } } @@ -254,7 +254,7 @@ part = attribute n { xsd:integer }, attribute xml:id { xsd:NCName }, head, - ( chapter | sourcesfeatures)* + ( chapter | sourcesfeatures | indexchapter )* } chapter = @@ -650,6 +650,15 @@ indexanchor = attribute xml:id { xsd:NCName } } +indexchapter = + element div { + attribute type { "indexchapter"}, + attribute xml:id { xsd:NCName }, + attribute n { "nonumber" }, + head, + p + } + inline_formula = element formula { attribute rend { "inline" }, From b6e20ca9a17d789c804032820792daaf74bf43ce Mon Sep 17 00:00:00 2001 From: kthoden Date: Thu, 14 Nov 2019 11:45:41 +0100 Subject: [PATCH 16/20] More rules for citekeys --- schema/resource/eoa-tei-strict.rnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index a25ce02..6e533ab 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -543,7 +543,7 @@ bibref = element bibl { element ref { attribute type { "year" | "authoryear"}, - attribute target { xsd:string {pattern = "#[A-Za-z0-9\-_:\.]+" }} + attribute target { xsd:string {pattern = "#[A-Za-z0-9\-_:\./]+" }} # attribute target { xsd:anyURI } # text }, From e14e7f558ea9ebe2edf6ce8369157b69bd082d0e Mon Sep 17 00:00:00 2001 From: kthoden Date: Thu, 14 Nov 2019 11:46:00 +0100 Subject: [PATCH 17/20] Bilingual chapters --- schema/resource/eoa-tei-strict.rnc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 6e533ab..4d89ded 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -701,12 +701,28 @@ facsimile_image = sourcesfeatures = ( + bilingualchapter | bilingual | facsimilepages | sidebyside | letter ) +bilingualchapter = + element div { + attribute type { "chapteroriginal"|"chaptertranslation" }, + attribute n { xsd:integer | "nonumber" }, + attribute corresp { xsd:anyURI }, + attribute xml:id { xsd:NCName }, + attribute xml:lang { xsd:string {pattern = "[a-z]{2}" } }?, + attribute resp { text }?, + head-ex-abbr, + element epigraph { p+ }?, + ( eoaelement | section | sourcesfeatures)*, + # TODO: make this non optional: + chapter_bibfile_ref? + } + bilingual = element div { attribute type { "bilingual" }, From 4da49a2c7f464ed8f81cd35cb1c40b6de91d1cbd Mon Sep 17 00:00:00 2001 From: kthoden Date: Mon, 18 Nov 2019 15:50:00 +0100 Subject: [PATCH 18/20] New fonts --- examples/eoatex/preambel/pre_eoa.tex | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/eoatex/preambel/pre_eoa.tex b/examples/eoatex/preambel/pre_eoa.tex index dfb4ca5..e6f83b2 100755 --- a/examples/eoatex/preambel/pre_eoa.tex +++ b/examples/eoatex/preambel/pre_eoa.tex @@ -61,8 +61,8 @@ \newfontfamily\zhfont{DFKai-SB} \newfontfamily\zhpunctfont{DFKai-SB} \else -\newfontfamily\zhfont{BiauKai} -\newfontfamily\zhpunctfont{BiauKai} +\newfontfamily\zhfont{Noto Serif CJK SC} +\newfontfamily\zhpunctfont{Noto Serif CJK SC} \fi % The package zhspacing makes typesetting chinese much better @@ -82,21 +82,21 @@ \newfontfamily\textchinese{DFKai-SB} \newfontfamily\chinesefont{DFKai-SB} \else -\newfontfamily\textchinese{BiauKai} -\newfontfamily\chinesefont{BiauKai} +\newfontfamily\textchinese{Noto Serif CJK SC} +\newfontfamily\chinesefont{Noto Serif CJK SC} \fi -\newfontfamily\germanfont{Times New Roman} -\newfontfamily\englishfont{Times New Roman} -\newfontfamily\greekfont{Times New Roman} -\newfontfamily\russianfont{Times New Roman} -\newfontfamily\hebrewfont{Times New Roman} +\newfontfamily\germanfont{TeX Gyre Termes} +\newfontfamily\englishfont{TeX Gyre Termes} +\newfontfamily\greekfont{TeX Gyre Termes} +\newfontfamily\russianfont{TeX Gyre Termes} +\newfontfamily\hebrewfont{TeX Gyre Termes} \newfontfamily\EOAmfont{XITS Math} % Those fonts are being used in Berlin only, no need for Windows \ifwindows \else \newfontfamily\Arial{ArialMT} -\newfontfamily\Courier{Courier} -\newfontfamily\Helvetica{Helvetica} +\newfontfamily\Courier{TeX Gyre Cursor} +\newfontfamily\Helvetica{TeX Gyre Heros} \newfontfamily\Verdana{Verdana} \fi From 11f8b08fb22793e2360e0280778e7ac1c6390437 Mon Sep 17 00:00:00 2001 From: kthoden Date: Mon, 18 Nov 2019 15:50:09 +0100 Subject: [PATCH 19/20] Abstract environment --- examples/eoatex/preambel/pre_eoa.tex | 2 ++ examples/eoatex/preambel/pre_xml.tex | 1 + 2 files changed, 3 insertions(+) diff --git a/examples/eoatex/preambel/pre_eoa.tex b/examples/eoatex/preambel/pre_eoa.tex index e6f83b2..3addb61 100755 --- a/examples/eoatex/preambel/pre_eoa.tex +++ b/examples/eoatex/preambel/pre_eoa.tex @@ -601,6 +601,8 @@ {\end{compactenum}\medskip } +% abstract +\newenvironment{EOAabstract}{\begin{quote}\small}{\end{quote}} % \newenvironment{EOAlist}{\medskip\begin{compactenum}}{\end{compactenum}\medskip} % Environment for undordered list \newenvironment{EOAitems}{\medskip\begin{compactitem}}{\end{compactitem}\medskip} diff --git a/examples/eoatex/preambel/pre_xml.tex b/examples/eoatex/preambel/pre_xml.tex index 3397e16..bd0cc0b 100644 --- a/examples/eoatex/preambel/pre_xml.tex +++ b/examples/eoatex/preambel/pre_xml.tex @@ -72,6 +72,7 @@ \newenvironment{EOAquote}{\begin{quote}}{\end{quote}} \newenvironment{EOAitems}{\begin{itemize}}{\end{itemize}} \newenvironment{EOAlist}{\begin{enumerate}}{\end{enumerate}} +\newenvironment{EOAabstract}{\begin{quote}}{\end{quote}} % additional attribute for counters not starting at 1 % \newenvironment{EOAlist}[1][]{% From 05c1b829180020d690a33318a0b9aed4b0ee9de1 Mon Sep 17 00:00:00 2001 From: kthoden Date: Mon, 18 Nov 2019 15:51:17 +0100 Subject: [PATCH 20/20] List of shorthands --- examples/eoatex/preambel/pre_eoa.tex | 5 +++++ examples/eoatex/preambel/pre_xml.tex | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/eoatex/preambel/pre_eoa.tex b/examples/eoatex/preambel/pre_eoa.tex index 3addb61..12da1d4 100755 --- a/examples/eoatex/preambel/pre_eoa.tex +++ b/examples/eoatex/preambel/pre_eoa.tex @@ -722,6 +722,11 @@ \newcommand{\EOAprintbibliography}[1][]{ \ifthenelse{\equal{#1}{}}{\printbibliography[heading=none]}{\printbibliography[heading=none,keyword=#1]}% } +% Command for list of shorthands +\newcommand{\EOAprintshorthands}{ + \printbiblist[heading=none]{shorthand} +} + % Command for .bib-Database \newcommand{\EOAbibliographydatabase}[1]{ \bibliography{#1} diff --git a/examples/eoatex/preambel/pre_xml.tex b/examples/eoatex/preambel/pre_xml.tex index bd0cc0b..010401d 100644 --- a/examples/eoatex/preambel/pre_xml.tex +++ b/examples/eoatex/preambel/pre_xml.tex @@ -166,7 +166,7 @@ \end{xmlelement}} \newcommand*{\EOAprintbibliography}[1][]{\begin{xmlelement}{EOAprintbibliography}\end{xmlelement}{\AddAttToLast{keyword}{#1}}} % \newcommand*{\EOAprintbibliography}{\begin{xmlelement}{EOAprintbibliography}\end{xmlelement}} - +\newcommand*{\EOAprintshorthands}{\begin{xmlelement}{EOAprintshorthands}\end{xmlelement}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Querverweise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%