2023-10-05
https://www.deutschestextarchiv.de/book/show/nn_allgemeine21_1929
Siehe auch: Dateien im Ordner “/examples”.
@book{burnard_2014_what,
title = {What Is the {{Text Encoding Initiative}}?},
author = {Burnard, Lou},
year = {2014},
publisher = {{OpenEdition Press}},
address = {{Marseille}},
url = {http://books.openedition.org/oep/426},
abstract = {This simple and straightforward book explains the XML technology used by the TEI in language accessible to the non-technical reader and provides a guided tour of the many parts of the TEI universe.},
isbn = {978-2-8218-3460-6},
}
Pixelbild mit nur 2x2 Pixeln (hier auf 200x200 vergrößert)

Das Bild mit Python PIL reduziert auf RGB-Array:
[[[247 247 248]
[171 104 255]]
[[247 247 248]
[171 104 255]]]
Siehe auch: Quarto, https://quarto.org
## Beispiel für Markdown
Pixelbild mit nur 2x2 Pixeln (hier auf 200x200 vergrößert)
{height="200"}
Das Bild mit Python PIL reduziert auf RGB-Array:
[[[247 247 248]
[171 104 255]]
[[247 247 248]
[171 104 255]]]
:::{.nonincremental}
- 256 Werte pro Farbe (2^8) => 8 Bits pro Farbe (8 Stellen in Binärcode);
- 3x8=24 => Farbtiefe von 24 Bits / Pixel
- Eine vollständige PNG-Datei ist komplexer: Metadaten + Kompression
:::

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>Trier Center for Digital Humanities</name>
<description>Location of the Trier Center for Digital Humanities.</description>
<Point>
<coordinates>6.6506,49.7596,0</coordinates>
</Point>
</Placemark>
</kml>
<?xml version="1.0" encoding="UTF-8"?>
<gml:FeatureCollection xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/base/gml.xsd">
<gml:featureMember>
<gml:Feature gml:id="location1">
<gml:name>Trier Center for Digital Humanities (TCDH)</gml:name>
<gml:description>Location of the TCDH.</gml:description>
<gml:pointProperty>
<gml:Point gml:id="point1">
<gml:pos>49.7596 6.6506</gml:pos>
</gml:Point>
</gml:pointProperty>
</gml:Feature>
</gml:featureMember>
</gml:FeatureCollection>
<link rel="stylesheet" href="stylesheet.css">media oder @import

hi) vs. Block-Elementeheader) und Textstruktur (bspw. h1) gedachtheight und widthpadding (innen), border (Linie mit border-width) und margin (außen)<head> vs. <bold>)<http://llod.jerteh.rs/ELTEC/por/NIF/POR0001_JulDin_Morgadinha.xml#char=1554,1563> a nif:OffsetBasedString,
nif:RFC5147String,
nif:Word ;
nif:anchorOf "inquietas"^^xsd:string ;
nif:beginIndex "1554"^^xsd:nonNegativeInteger ;
nif:endIndex "1563"^^xsd:nonNegativeInteger ;
nif:lemma "inquieto"^^xsd:string ;
nif:nextWord <http://llod.jerteh.rs/ELTEC/por/NIF/POR0001_JulDin_Morgadinha.xml#char=1564,1571> ;
nif:posTag "ADJ"^^xsd:string ;
nif:previousWord <http://llod.jerteh.rs/ELTEC/por/NIF/POR0001_JulDin_Morgadinha.xml#char=1551,1553> ;
nif:referenceContext eltec:POR0001_JulDin_Morgadinha.xml ;
nif:sentence <http://llod.jerteh.rs/ELTEC/por/NIF/POR0001_JulDin_Morgadinha.xml#char=1419,1617> .
<tei:head>Frage: Wann könnte es sinnvoll sein, Relax NG statt XML Schema zu verwenden? Welche Nachteile hat Relax NG?
<xsl:template> mit den Attributen match und select ist ein Grundbaustein von XSLT (eXtensible Styleshee Language Transformations)def find_things(bibdata):
# Absoluter Pfad
xpath = "/rdf:RDF/rdf:Description/bib:authors/rdf:Seq/rdf:li/foaf:Person/foaf:surname/text()"
# Absoluter Pfad
xpath = "/rdf:RDF/bib:Book/bib:editors/rdf:Seq/rdf:li/foaf:Person/foaf:surname/text()"
# Relativer Pfad
xpath = "//foaf:Person/foaf:surname/text()"
results = bibdata.xpath(xpath, namespaces=namespaces)
print(results)
print(len(results))
find_things(bibdata)
::position())SimplifiedSAP.xml)mystyle.xsl)java -jar saxon-he-11.4.jar -xsl:mystyle.xsl -s:SimplifiedSAP.xml -o:output.csvoutput.csv)<xsl:for-each select="">: Loop über alle bestimmten Elemente<xsl:sort select="">: Sortierung nach einem bestimmten Kriterium (Umstrukturierung!)<xsl:if test="">: If-Bedingung (siehe XSLT als Programmiersprache)<xsl:value-of select="">: Wähle den Element-Inhalt<xsl:text>: Füge plain text / String ein


Beispiel: https://programminghistorian.org/en/lessons/transforming-xml-with-xsl
<xsl:call-template name="generateBarChart"/>: Um das Ergebnis eines Templates in den HTML-Kontext einzubauen<xsl:for-each select="">: Um über alle Treffer für ein Element zu iterieren<xsl:variable name="" select="."/>: Variable anlegen, die dann nach und nach befüllt / modifiziert werden kann (Variable!)cityName, cityCount und barHeight werden angelegt, befüllt / berechnet und genutzt<xsl:for-each select="//city[not(. = preceding::city)]">.) gesehen, wird eine neue Stadt nur angelegt, wenn sie keiner (not) der preceding-siblings “city” (preceding::city) entspricht


<p> oder <l> Element enthalten sein? Kann der Text auch direkt in einem <div> enthalten sein? Problem: Paragrafen sind aus einem OCR-Text nicht immer automatisch extrahierbar.<p> oder <l> enthalten, kann aber auch in <ab> enthalten sein<p> und <l> müssen immer in einem <div> oder <ab>enthalten sein<teiHeader> können eine Menge Informationen auch ohne <p> kodiert werden<superEntry>, <entry>, <hom> und <sense>Quelle: jTEI
<entry xml:id="Eingang" xml:lang="de">
<form type="lemma"><orth>Eingang</orth></form>
<gramGrp><gram type="gen">m.</gram></gramGrp>
<etym>
<cit type="etymon" xml:lang="gmh">
<lang expand="Mittelhochdeutsch" norm="gmh">mhd.</lang>
<form><orth>īnganc</orth></form>
</cit>
<cit type="cognate" xml:lang="nl">
<lang expand="Neuniederländisch" norm="nl">nnl.</lang>
<form><orth>ingang</orth></form>
</cit>
<cit type="cognate" xml:lang="da">
<lang expand="Dänisch" norm="da">dän.</lang>
<form><orth>indgang</orth></form>
</cit>
<cit type="cognate" xml:lang="sv">
<lang expand="Schwedisch" norm="sv">schwed.</lang>
<form><orth>ingång</orth></form>
</cit>
<lbl>Lehnübersetzung des</lbl>
<cit type="etymon" xml:lang="la">
<lang expand="Latein" norm="la">lat.</lang>
<form><orth>introitus</orth></form>
</cit>
<note>Aus dem ‘Hineingehen’ als Handlung ist
die ‘Stelle, an der man ins Haus, in den Saal geht’
geworden, neuerdings auch die ‘Gesamtheit der
eingegangenen Geschäftssachen, Mannschaften’
usw. Vgl. <xr type="related"> <ref type="entry">Zugang</ref>.
<ref type="bibl">(Kluge, 1975) p. 159</ref></xr></note>
</etym>
</entry>Quelle: MEC-TEI 2023
To what extent can we achieve consistent encoding within a given community of practice by following the TEI Guidelines? The topic is of particular importance for lexical data if we think of the potential wealth of content we could gain from pooling together the information available in the variety of highly structured, historical and contemporary lexical resources. The encoding possibilities offered by the Dictionaries Chapter in the Guidelines are too numerous and too flexible to guarantee sufficient interoperability and a coherent model for searching, visualising or enriching multiple lexical resources. – https://dariah-eric.github.io/lexicalresources/pages/TEILex0/TEILex0.html

import pygal as pg
import seaborn as sns
import pandas as pd
import numpy as np
from pygal.style import DarkColorizedStyle
def create_plot():
titanic = sns.load_dataset("titanic")
data = pd.pivot_table(
titanic,
values="survived",
index="sex",
columns="class")
plot = pg.Bar(
legend_at_bottom=True,
legend_at_bottom_columns=2,
style=DarkColorizedStyle,
range=(0, 100))
plot.title = "Titanic data: Survival rate by sex and class"
plot.x_labels = data.columns
plot.add(
"Male",
[np.round((item*100),1) for item in list(data.loc["male",:])])
plot.add(
"Female",
[np.round((item*100),1) for item in list(data.loc["female",:])])
plot.render_to_file("titanic.svg")
create_plot()<?xml version='1.0' encoding='utf-8'?>
<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="chart-afa7062c-9e4a-4de3-a692-f3e73596098e" class="pygal-chart" viewBox="0 0 800 600">
<!--Generated with pygal 3.0.4 (etree) ©Kozea 2012-2016 on 2024-01-15--><!--http://pygal.org--><!--http://github.com/Kozea/pygal-->
<defs>
<style type="text/css"> #chart-afa7062c-9e4a-4de3-a692-f3e73596098e {
-webkit-user-select: none;
-webkit-font-smoothing: antialiased;
font-family: FreeSans, Consolas, "Liberation Mono", Menlo, Courier, monospace
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .title {
font-family: FreeSans, Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 16px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .legends .legend text {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 14px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis text {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 10px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis text.major {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 10px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .text-overlay text.value {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 16px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .text-overlay text.label {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 10px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 14px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e text.no_data {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 64px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e {
background-color: #2c2230
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e path,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e rect,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e circle {
-webkit-transition: 250ms ease-in;
-moz-transition: 250ms ease-in;
transition: 250ms ease-in
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .graph >
.background {
fill: #2c2230
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .plot >
.background {
fill: #3f3145
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .graph {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e text.no_data {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .title {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .legends .legend text {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .legends .legend:hover text {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis .line {
stroke: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis .guide.line {
stroke: rgba(255, 255, 255, 0.5)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis .major.line {
stroke: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis text.major {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.y .guides:hover .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .line-graph .axis.x .guides:hover .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .stackedline-graph .axis.x .guides:hover .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .xy-graph .axis.x .guides:hover .guide.line {
stroke: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis .guides:hover text {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .reactive {
fill-opacity: .2;
stroke-opacity: .8;
stroke-width: 1
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .ci {
stroke: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .reactive.active,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .active .reactive {
fill-opacity: .7;
stroke-opacity: .9;
stroke-width: 4
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .ci .reactive.active {
stroke-width: 1.5
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .series text {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip rect {
fill: #3f3145;
stroke: rgba(255, 255, 255, 0.9);
-webkit-transition: opacity 250ms ease-in;
-moz-transition: opacity 250ms ease-in;
transition: opacity 250ms ease-in
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip .label {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip .label {
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip .legend {
font-size: 0.8em;
fill: rgba(255, 255, 255, 0.5)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip .x_label {
font-size: 0.6em;
fill: rgba(255, 255, 255, 0.9)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip .xlink {
font-size: 0.5em;
text-decoration: underline
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip .value {
font-size: 1.5em
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .bound {
font-size: 0.5em
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .max-value {
font-size: 0.75em;
fill: rgba(255, 255, 255, 0.5)
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .map-element {
fill: #3f3145;
stroke: rgba(255, 255, 255, 0.5) !important
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .map-element .reactive {
fill-opacity: inherit;
stroke-opacity: inherit
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .color-0,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .color-0 a:visited {
stroke: #c900fe;
fill: #c900fe
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .color-1,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .color-1 a:visited {
stroke: #01b8fe;
fill: #01b8fe
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .text-overlay .color-0 text {
fill: black
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .text-overlay .color-1 text {
fill: black
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e text.no_data {
text-anchor: middle
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .guide.line {
fill: none
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .centered {
text-anchor: middle
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .title {
text-anchor: middle
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .legends .legend text {
fill-opacity: 1
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.x text {
text-anchor: middle
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.x:not(.web) text[transform] {
text-anchor: start
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.x:not(.web) text[transform].backwards {
text-anchor: end
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.y text {
text-anchor: end
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.y text[transform].backwards {
text-anchor: start
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.y2 text {
text-anchor: start
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.y2 text[transform].backwards {
text-anchor: end
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis .guide.line {
stroke-dasharray: 4, 4;
stroke: black
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis .major.guide.line {
stroke-dasharray: 6, 6;
stroke: black
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .horizontal .axis.y .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .horizontal .axis.y2 .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .vertical .axis.x .guide.line {
opacity: 0
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .horizontal .axis.always_show .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .vertical .axis.always_show .guide.line {
opacity: 1 !important
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.y .guides:hover .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.y2 .guides:hover .guide.line,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis.x .guides:hover .guide.line {
opacity: 1
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .axis .guides:hover text {
opacity: 1
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .nofill {
fill: none
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .subtle-fill {
fill-opacity: .2
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .dot {
stroke-width: 1px;
fill-opacity: 1;
stroke-opacity: 1
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .dot.active {
stroke-width: 5px
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .dot.negative {
fill: transparent
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e text,
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e tspan {
stroke: none !important
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .series text.active {
opacity: 1
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip rect {
fill-opacity: .95;
stroke-width: .5
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .tooltip text {
fill-opacity: 1
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .showable {
visibility: hidden
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .showable.shown {
visibility: visible
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .gauge-background {
fill: rgba(229, 229, 229, 1);
stroke: none
}
#chart-afa7062c-9e4a-4de3-a692-f3e73596098e .bg-lines {
stroke: #2c2230;
stroke-width: 2px
}
</style>
<script type="text/javascript">
window.pygal = window.pygal || {};
window.pygal.config = window.pygal.config || {};
window.pygal.config['afa7062c-9e4a-4de3-a692-f3e73596098e'] = {
"allow_interruptions": false,
"box_mode": "extremes",
"classes": ["pygal-chart"],
"css": [
"file://style.css", "file://graph.css"
],
"defs": [],
"disable_xml_declaration": false,
"dots_size": 2.5,
"dynamic_print_values": false,
"explicit_size": false,
"fill": false,
"force_uri_protocol": "https",
"formatter": null,
"half_pie": false,
"height": 600,
"include_x_axis": false,
"inner_radius": 0,
"interpolate": null,
"interpolation_parameters": {},
"interpolation_precision": 250,
"inverse_y_axis": false,
"js": ["//kozea.github.io/pygal.js/2.0.x/pygal-tooltips.min.js"],
"legend_at_bottom": true,
"legend_at_bottom_columns": 2,
"legend_box_size": 12,
"logarithmic": false,
"margin": 20,
"margin_bottom": null,
"margin_left": null,
"margin_right": null,
"margin_top": null,
"max_scale": 16,
"min_scale": 4,
"missing_value_fill_truncation": "x",
"no_data_text": "No data",
"no_prefix": false,
"order_min": null,
"pretty_print": false,
"print_labels": false,
"print_values": false,
"print_values_position": "center",
"print_zeroes": true,
"range": [
0, 100
],
"rounded_bars": null,
"secondary_range": null,
"show_dots": true,
"show_legend": true,
"show_minor_x_labels": true,
"show_minor_y_labels": true,
"show_only_major_dots": false,
"show_x_guides": false,
"show_x_labels": true,
"show_y_guides": true,
"show_y_labels": true,
"spacing": 10,
"stack_from_top": false,
"strict": false,
"stroke": true,
"stroke_style": null,
"style": {
"background": "#2c2230",
"ci_colors": [],
"colors": [
"#c900fe",
"#01b8fe",
"#59f500",
"#ff00e4",
"#f9fa00",
"#780098",
"#0181b2",
"#348f00",
"#b200a0",
"#feff61"
],
"dot_opacity": "1",
"font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"foreground": "rgba(255, 255, 255, 0.9)",
"foreground_strong": "rgba(255, 255, 255, 0.9)",
"foreground_subtle": "rgba(255, 255 , 255, 0.5)",
"guide_stroke_color": "black",
"guide_stroke_dasharray": "4,4",
"label_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"label_font_size": 10,
"legend_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"legend_font_size": 14,
"major_guide_stroke_color": "black",
"major_guide_stroke_dasharray": "6,6",
"major_label_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"major_label_font_size": 10,
"no_data_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"no_data_font_size": 64,
"opacity": ".2",
"opacity_hover": ".7",
"plot_background": "#3f3145",
"stroke_opacity": ".8",
"stroke_opacity_hover": ".9",
"stroke_width": "1",
"stroke_width_hover": "4",
"title_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"title_font_size": 16,
"tooltip_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"tooltip_font_size": 14,
"transition": "250ms ease-in",
"value_background": "rgba(229, 229, 229, 1)",
"value_colors": [],
"value_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"value_font_size": 16,
"value_label_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
"value_label_font_size": 10
},
"title": "Titanic data: Survival rate by sex and class",
"tooltip_border_radius": 0,
"tooltip_fancy_mode": true,
"truncate_label": null,
"truncate_legend": null,
"width": 800,
"x_label_rotation": 0,
"x_labels": [
"First", "Second", "Third"
],
"x_labels_major": null,
"x_labels_major_count": null,
"x_labels_major_every": null,
"x_title": null,
"xrange": null,
"y_label_rotation": 0,
"y_labels": null,
"y_labels_major": null,
"y_labels_major_count": null,
"y_labels_major_every": null,
"y_title": null,
"zero": 0,
"legends": ["Male", "Female"]
}
</script><script type="text/javascript" xlink:href="https://kozea.github.io/pygal.js/2.0.x/pygal-tooltips.min.js"/></defs>
<title>Titanic data: Survival rate by sex and class</title>
<g class="graph bar-graph vertical"><rect x="0" y="0" width="800" height="600" class="background"/><g transform="translate(48, 46)" class="plot"><rect x="0" y="0" width="732.0" height="490.0" class="background"/><g class="axis y always_show">
<g class="guides"><path d="M0.000000 480.576923 h732.000000" class="axis major line"/><text x="-5" y="484.0769230769231" class="major">0</text>
<title>0</title>
</g>
<g class="guides"><path d="M0.000000 433.461538 h732.000000" class="guide line"/><text x="-5" y="436.96153846153845" class="">10</text>
<title>10</title>
</g>
<g class="guides"><path d="M0.000000 386.346154 h732.000000" class="guide line"/><text x="-5" y="389.8461538461538" class="">20</text>
<title>20</title>
</g>
<g class="guides"><path d="M0.000000 339.230769 h732.000000" class="guide line"/><text x="-5" y="342.7307692307692" class="">30</text>
<title>30</title>
</g>
<g class="guides"><path d="M0.000000 292.115385 h732.000000" class="guide line"/><text x="-5" y="295.61538461538464" class="">40</text>
<title>40</title>
</g>
<g class="guides"><path d="M0.000000 245.000000 h732.000000" class="major guide line"/><text x="-5" y="248.5" class="major">50</text>
<title>50</title>
</g>
<g class="guides"><path d="M0.000000 197.884615 h732.000000" class="guide line"/><text x="-5" y="201.38461538461536" class="">60</text>
<title>60</title>
</g>
<g class="guides"><path d="M0.000000 150.769231 h732.000000" class="guide line"/><text x="-5" y="154.26923076923077" class="">70</text>
<title>70</title>
</g>
<g class="guides"><path d="M0.000000 103.653846 h732.000000" class="guide line"/><text x="-5" y="107.15384615384613" class="">80</text>
<title>80</title>
</g>
<g class="guides"><path d="M0.000000 56.538462 h732.000000" class="guide line"/><text x="-5" y="60.03846153846155" class="">90</text>
<title>90</title>
</g>
<g class="guides"><path d="M0.000000 9.423077 h732.000000" class="major guide line"/><text x="-5" y="12.923076923076906" class="major">100</text>
<title>100</title>
</g>
</g>
<g class="axis x"><path d="M0.000000 0.000000 v490.000000" class="line"/><g class="guides"><path d="M131.384615 0.000000 v490.000000" class="guide line"/><text x="131.38461538461536" y="505.0" class="">First</text>
</g>
<g class="guides"><path d="M366.000000 0.000000 v490.000000" class="guide line"/><text x="366.0" y="505.0" class="">Second</text>
</g>
<g class="guides"><path d="M600.615385 0.000000 v490.000000" class="guide line"/><text x="600.6153846153845" y="505.0" class="">Third</text>
</g>
</g>
<g class="series serie-0 color-0">
<g class="bars">
<g class="bar"><rect x="34.347692307692306" y="306.7211538461538" rx="0" ry="0" width="90.84307692307692" height="173.85576923076928" class="rect reactive tooltip-trigger"/><desc class="value">36.9</desc>
<desc class="x centered">79.76923076923077</desc>
<desc class="y centered">393.64903846153845</desc>
<desc class="x_label">First</desc>
</g>
<g class="bar"><rect x="268.9630769230769" y="406.6057692307692" rx="0" ry="0" width="90.84307692307692" height="73.97115384615387" class="rect reactive tooltip-trigger"/><desc class="value">15.7</desc>
<desc class="x centered">314.38461538461536</desc>
<desc class="y centered">443.5913461538462</desc>
<desc class="x_label">Second</desc>
</g>
<g class="bar"><rect x="503.5784615384615" y="416.9711538461538" rx="0" ry="0" width="90.84307692307692" height="63.60576923076928" class="rect reactive tooltip-trigger"/><desc class="value">13.5</desc>
<desc class="x centered">549.0</desc>
<desc class="y centered">448.77403846153845</desc>
<desc class="x_label">Third</desc>
</g>
</g>
</g>
<g class="series serie-1 color-1">
<g class="bars">
<g class="bar"><rect x="137.57846153846154" y="24.5" rx="0" ry="0" width="90.84307692307692" height="456.0769230769231" class="rect reactive tooltip-trigger"/><desc class="value">96.8</desc>
<desc class="x centered">183.0</desc>
<desc class="y centered">252.53846153846155</desc>
<desc class="x_label">First</desc>
</g>
<g class="bar"><rect x="372.19384615384615" y="46.644230769230774" rx="0" ry="0" width="90.84307692307692" height="433.9326923076923" class="rect reactive tooltip-trigger"/><desc class="value">92.1</desc>
<desc class="x centered">417.61538461538464</desc>
<desc class="y centered">263.6105769230769</desc>
<desc class="x_label">Second</desc>
</g>
<g class="bar"><rect x="606.8092307692307" y="245.0" rx="0" ry="0" width="90.84307692307692" height="235.5769230769231" class="rect reactive tooltip-trigger"/><desc class="value">50</desc>
<desc class="x centered">652.2307692307692</desc>
<desc class="y centered">362.78846153846155</desc>
<desc class="x_label">Third</desc>
</g>
</g>
</g>
</g>
<g class="titles">
<text x="400.0" y="26" class="title plot_title">Titanic data: Survival rate by sex and class</text>
</g>
<g transform="translate(48, 46)" class="plot overlay"><g class="series serie-0 color-0"/><g class="series serie-1 color-1"/></g>
<g transform="translate(48, 46)" class="plot text-overlay"><g class="series serie-0 color-0"/><g class="series serie-1 color-1"/></g>
<g transform="translate(48, 46)" class="plot tooltip-overlay">
<g transform="translate(0 0)" style="opacity: 0" class="tooltip"><rect rx="0" ry="0" width="0" height="0" class="tooltip-box"/><g class="text"/></g>
</g>
<g transform="translate(58, 566)" class="legends">
<g id="activate-serie-0" class="legend reactive activate-serie"><rect x="0.0" y="1.0" width="12" height="12" class="color-0 reactive"/><text x="17.0" y="11.2">Male</text>
</g>
<g id="activate-serie-1" class="legend reactive activate-serie"><rect x="366.0" y="1.0" width="12" height="12" class="color-1 reactive"/><text x="383.0" y="11.2">Female</text>
</g>
</g>
</g>
</svg>quarto render; pandoc: pandoc meintext.md -o meintext.pdfErstellen Sie eine markdown-Datei, die folgende Kriterien berücksichtigt:
Hinsichtlich des Inhalts der Datei können Sie das Rezeptbeispiel zu Beginn des Semesters wieder aufgreifen, einen Programmiercode aus dem Internet dokumentieren bzw. kommentieren, einen Abschnitt/ein Kapitel einer Hausarbeit in Markdown schreiben oder ein anderes, für Sie interessantes Thema frei wählen.
Hinweis: In VS Code lässt sich mit der Extension „Markdown Preview Enhanced“ über über den Shortcut strg+shift+v ein Preview-Fenster öffnen.
{key : value}value besteht wieder aus einem key-value-Paarvalue: String, Zahl, bool’scher Wert, Liste, Objekt, “null”{
"first_name": "John",
"last_name": "Smith",
"is_alive": true,
"age": 27,
"address": {
"street_address": "21 2nd Street",
"city": "New York",
"state": "NY",
"postal_code": "10021-3100"
},
"phone_numbers": [
{
"type": "home",
"number": "212 555-1234"
},
{
"type": "office",
"number": "646 555-4567"
}
],
"children": [
"Catherine",
"Thomas",
"Trevor"
],
"spouse": null
}