Add files via upload

This commit is contained in:
2025-04-29 16:03:26 +02:00
committed by GitHub
parent 8054b3625b
commit 1ab2b6ba57
11 changed files with 6031 additions and 0 deletions
+1859
View File
File diff suppressed because it is too large Load Diff
+60
View File
@@ -0,0 +1,60 @@
\pagenumbering{gobble}
$if(has-frontmatter)$
\frontmatter
$endif$
$if(title)$
$if(beamer)$
%\frame{\titlepage}
$else$
%\maketitle
$endif$
$if(abstract)$
\begin{abstract}
$abstract$
\end{abstract}
$endif$
$endif$
\begin{titlepage}
\begin{center}
\begin{figure}
\centering
\includegraphics[width=2.0cm]{$logo$}
\end{figure}
\setcounter{figure}{0}
Naturwissenschaftlich-technologisches,\\
Sprachliches und\\
Wirtschaftswissenschaftliches Gymnasium\\[2ex]
\hrule
\vspace{1cm}
{\Large\bfseries Seminararbeit 2025/26}\par
\vspace{1cm}
Rahmenthema des Wissenschaftspropädeutischen Seminars:\\[1ex]
{\bfseries $rahmenthema$\\[3ex]}
Leitfach: $leitfach$\\[3ex]
%\vspace{1cm}
{\bfseries Thema der Arbeit:\\[1ex]}
%\vspace{0.5cm}
{\large\bfseries $title$\\}\vfill
%\vspace{2cm}
\end{center}
Verfasser/in: {\bfseries $author$} \hfill
Kursleiter/in: $kursleiter$\\
\vspace{1cm}\\
Abgabetermin: $date$\\[2ex]
\renewcommand{\arraystretch}{2}
\begin{tabular}{|c|c|}
\hline
{\bfseries Bewertung} & Punkte \\
\hline
schriftliche Arbeit & \\
\hline
Abschlusspräsentation & \\
\hline
\end{tabular}\\ \vfill
\begin{tabular}{cp{2em}c}
\hspace{4cm} && \hspace{8cm} \\ \cline{1-1}\cline{3-3}
\textit{\small Datum} && \textit{\small Unterschrift des Kursleiters}
\end{tabular}
\end{titlepage}
\newpage
+45
View File
@@ -0,0 +1,45 @@
@inproceedings{abdullahlajamPerformanceEvaluationIPFS2021,
title = {Performance {{Evaluation}} of {{IPFS}} in {{Private Networks}}},
booktitle = {2021 4th {{International Conference}} on {{Data Storage}} and {{Data Engineering}}},
author = {Abdullah Lajam, Omar and Ahmed Helmy, Tarek},
date = {2021-07-08},
series = {{{DSDE}} '21},
pages = {77--84},
publisher = {{Association for Computing Machinery}},
location = {{New York, NY, USA}},
doi = {10.1145/3456146.3456159},
url = {https://dl.acm.org/doi/10.1145/3456146.3456159},
urldate = {2023-08-09},
abstract = {Inter-Planetary File System (IPFS) is a peer-to-peer distributed file system that has gained a wide interest recently. The IPFS network is public and its content can be accessed by any user in the Internet. IPFS can also be used as a file sharing system in an isolated private network. However, it has notable writing and reading performance drawbacks. The aim of this study is to evaluate the performance of IPFS writing and reading operations in private networks and to understand what factors affect it. In our performance evaluation approach, the File Transfer Protocol (FTP) is selected as the baseline measurement, a virtual network of three nodes (machines) is established, and nine random files with different sizes are transmitted among the network members, using both IPFS and FTP, while the latency and CPU time, as performance metrics, are recorded and analyzed. The analysis shows that IPFS writing and reading performance is much worser than FTP, the reading operations latency is getting worser as the file size increases, IPFS writing and reading performance bottleneck is in the local I/O disk operations, which increase as the number of the file data blocks increases (i.e. the file size increases), and the reading performance of IPFS degrades as the data become more popular in the network. The performance evaluation illustrates that using IPFS in private networks is not as good as using the client-server alternatives, and IPFS needs more improvements to compete with the existing client-server file sharing technologies.},
isbn = {978-1-4503-8930-3},
file = {/Users/ericdubey/Zotero/storage/V2SAU8K9/Abdullah Lajam and Ahmed Helmy - 2021 - Performance Evaluation of IPFS in Private Networks.pdf}
}
@inproceedings{alniamyAttributebasedAccessControl2020,
title = {Attribute-Based {{Access Control}} of {{Data Sharing Based}} on {{Hyperledger Blockchain}}},
booktitle = {Proceedings of the 2020 {{The}} 2nd {{International Conference}} on {{Blockchain Technology}}},
author = {Alniamy, Afnan and Taylor, Bradley D.},
date = {2020-03-12},
pages = {135--139},
publisher = {{ACM}},
location = {{Hilo HI USA}},
doi = {10.1145/3390566.3391688},
url = {https://dl.acm.org/doi/10.1145/3390566.3391688},
urldate = {2023-08-10},
eventtitle = {{{ICBCT}}'20: 2020 {{The}} 2nd {{International Conference}} on {{Blockchain Technology}}},
isbn = {978-1-4503-7767-6},
langid = {english},
file = {/Users/ericdubey/Zotero/storage/DLIXL55F/Alniamy and Taylor - 2020 - Attribute-based Access Control of Data Sharing Bas.pdf}
}
@book{gauthierReligionModernityGlobalisation2019,
title = {Religion, {{Modernity}}, {{Globalisation}}: {{Nation-State}} to {{Market}}},
author = {Gauthier, François},
date = {2019-09-30},
publisher = {{Routledge}},
isbn = {978-1-00-072597-1},
langid = {english},
pagetotal = {389},
keywords = {Business \& Economics / Economics / Theory,Religion / Comparative Religion,{Religion / Religion, Politics \& State},Social Science / Sociology of Religion},
file = {/Users/ericdubey/Zotero/storage/EYX6Y39G/Gauthier - 2019 - Religion, Modernity, Globalisation Nation-State.epub}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

+361
View File
@@ -0,0 +1,361 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="de-DE">
<info>
<title>DIN 1505-2 (alphanumeric, Deutsch) - standard superseded by ISO-690</title>
<id>http://www.zotero.org/styles/din-1505-2-alphanumeric</id>
<link href="http://www.zotero.org/styles/din-1505-2-alphanumeric" rel="self"/>
<link href="http://www.angst-vor-dem-leeren-blatt.de/docs/download/zitierrichtlinie_din_1505.pdf" rel="documentation"/>
<link href="http://www.bui.haw-hamburg.de/fileadmin/redaktion/diplom/Lorenzen__litverz.pdf" rel="documentation"/>
<link href="http://de.wikipedia.org/wiki/DIN_1505-2" rel="documentation"/>
<link href="http://forums.zotero.org/discussion/5239/1/first-letter-of-author-as-citation/" rel="documentation"/>
<author>
<name>Sven Rothe</name>
<email>mmoole@googlemail.com</email>
</author>
<contributor>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</contributor>
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<category citation-format="label"/>
<category field="generic-base"/>
<summary>Style following DIN 1505-2, using the alphanumeric citation keys, for other media types on additional standards
Hinweise zur Benutzung:
* Zitieren von Gesetzen:
- hier müssen manuell §, Abs und S. zur Seitenangabe beim Zitieren eingetragen werden
- im Kurzbeleg wird der Kurztitel verwendet, dafür keine Autoren eintragen!
- als Jahresangabe wird 'Datum des Inkrafttretens' herangezogen, Verwenden nur bei Verweis auf nicht z.Z. gültige Gesetze, z.B. (idF. v. 12.12.1972)
* Zitieren von Normen und Standards - nicht vollständig nach DIN 1505
- Nutzen Sie den Typ 'Bericht' - als Abhilfe, da es keinen Typ 'Standard' gibt.
- als Autor die Kurzbezeichnung inkl. Nummer und Jahr eingeben (z.B. VDI 2222-1997), Vorname leer, Jahr leer
- als Titel den ausführlichen Titel bei Bedarf (z.B. VDI Richtlinie 2222 Blatt 1 - Konstruktionsmethodik - Methodisches Entwickeln von Lösungsprinzipien)</summary>
<!-- This is just a beginning to try to have a DIN 1505 citation style,
Feel free to send me any comments, suggestions etc...
todo:
* basic media types (book, journal article, etc..)
* more media types (according DINxxx) audio video etc...
* fine tuning
* correcting errors
known bugs, help appreciated
* Abbreviations (Mitarb.) & (Hrsg. der Reihe) are missing (contributor, seriesEditor labels)
* "contributor" is not valid as a name variable , nevertheless it works but doesnt validate!
* author etc. first names should not be abbreviated
* reviewed author seems to be not available as variable (newspaper article)
* thesis type does notoffer a PLACE or FACULTY as variable!
how to show the place if it is not included in the University title!?!?
* thesis type: publisher (university), genre (type) dont seem to get through!?
-->
<!-- useful things:
non breaking space: &#160;
narrow no break space: uni202F / &#8239; - but this is not supported widely!
em dash: &#8212;
space: &#032;
tab: &#009;
-->
<updated>2021-02-11T04:03:08+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="de">
<terms>
<term name="anonymous" form="short">o.&#160;A.</term>
<term name="no date" form="short">o.&#160;J.</term>
<term name="collection-editor" form="short">Hrsg.</term>
<term name="retrieved">abgerufen am</term>
<term name="composer" form="short">Komp.</term>
<term name="composer" form="long">Komponist</term>
</terms>
</locale>
<macro name="author">
<names variable="author" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="author-container">
<names variable="container-author" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="editor">
<names variable="editor" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="editor-collection">
<names variable="collection-editor" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="composer">
<names variable="composer" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="long" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<!-- <macro name="contributor">
<names variable=" " delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; "
delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>-->
<macro name="translator">
<names variable="translator" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="recipient">
<names variable="recipient" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<!--<label form="long" prefix=" (" suffix=")"/>-->
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="access">
<group>
<text term="retrieved" suffix=" "/>
<date variable="accessed">
<date-part name="year" form="long" suffix="-"/>
<date-part name="month" form="numeric-leading-zeros" suffix="-"/>
<date-part name="day" form="numeric-leading-zeros"/>
</date>
<!--<date variable="accessed" form="numeric" date-parts="year-month-day"/> // dd.mm.yyy -->
</group>
</macro>
<macro name="title">
<choose>
<if type="bill legislation" match="any">
<group delimiter=" &#8212; ">
<text variable="title-short" font-style="normal"/>
<text variable="title"/>
</group>
</if>
<else-if type="book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="genre">
<choose>
<if type="report thesis manuscript map" match="any">
<group>
<text variable="genre"/>
<!--<text term="number" form="short" suffix=" "/>-->
<text variable="number" prefix=" Nr. "/>
</group>
</if>
</choose>
</macro>
<macro name="volumes">
<group delimiter=" ">
<text term="volume" form="short" plural="false"/>
<number variable="volume" form="numeric"/>
<number variable="number-of-volumes" form="numeric" prefix="v. "/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="numeric" suffix=". "/>
<text term="edition" form="short" plural="false"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="chapter paper-conference article-journal" match="any">
<label variable="page" form="short" suffix="&#160;"/>
<text variable="page"/>
</if>
</choose>
</macro>
<macro name="dimensions">
<group>
<text variable="dimensions"/>
</group>
</macro>
<macro name="medium">
<group>
<text variable="medium"/>
</group>
</macro>
<macro name="scale">
<group>
<text term="scale"/>
<text prefix=" " variable="scale"/>
</group>
</macro>
<macro name="recipient-show">
<choose>
<if type="personal_communication">
<choose>
<if variable="genre">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="letter" text-case="capitalize-first"/>
</else>
</choose>
</if>
</choose>
<text macro="recipient" prefix=", "/>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year">
<sort>
<key variable="citation-label"/>
</sort>
<layout prefix="[" suffix="]" delimiter="; ">
<group delimiter=", ">
<text variable="citation-label"/>
<group>
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography et-al-min="9" et-al-use-first="8" second-field-align="flush">
<sort>
<key variable="citation-label"/>
</sort>
<layout>
<text variable="citation-label" prefix="[" suffix="] "/>
<group delimiter=" ; " suffix=":">
<text macro="author"/>
<choose>
<if type="bill book graphic legal_case legislation manuscript map motion_picture report song thesis webpage" match="any">
<!-- except type="chapter article " etc.... -->
<text macro="editor"/>
<text macro="editor-collection"/>
<text macro="composer"/>
</if>
</choose>
<!-- <text macro="contributor"/> -->
<text macro="translator"/>
</group>
<choose>
<!-- Tabelle 1 aus litverz.ps -->
<if type="bill book broadcast graphic legal_case legislation manuscript map motion_picture report song" match="any">
<text prefix=" " macro="title"/>
<text prefix=", " variable="collection-title" font-style="italic"/>
<!--Reihe-->
<text prefix=" (" macro="genre" suffix=")"/>
<text prefix=". " macro="volumes"/>
<text prefix=". " macro="edition"/>
<text prefix=". " macro="medium"/>
<text prefix=". " macro="dimensions"/>
<text prefix=". " variable="publisher-place"/>
<text prefix="&#160;: " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<!-- " (1. Gesamttitel mit Zählung)"
" (2. Gesamttitel mit Zählung)" -->
<text prefix=" &#8211;&#160;" macro="scale"/>
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
</if>
<!-- Tabelle 3 aus litverz.ps -->
<else-if type="chapter paper-conference" match="any">
<text prefix=" " macro="title" suffix="."/>
<text prefix=". " term="in" text-case="capitalize-all" suffix=": "/>
<!-- verfahre nach Tabelle 1... -->
<group delimiter=" ; " suffix=": ">
<text macro="author-container"/>
<text macro="editor"/>
<text macro="editor-collection"/>
</group>
<text variable="container-title" font-style="italic"/>
<text prefix=", " variable="collection-title" font-style="italic"/>
<!-- Reihe -->
<text prefix=". " macro="volumes"/>
<!-- <text prefix=" : " variable="title of volumes"/> what is this? -->
<text prefix=". " macro="edition"/>
<text prefix=". " variable="publisher-place"/>
<text prefix="&#160;: " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<!-- " (1. Gesamttitel mit Zählung)"
" (2. Gesamttitel mit Zählung)" -->
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
<text prefix=", " macro="pages"/>
</else-if>
<!-- Tabelle 5 aus litverz.ps - Hochschulschriften
(Diplomarbeiten, Dissertationen, Master-A., unverö. Studienarbeiten -->
<else-if type="thesis" match="any">
<text prefix=" " macro="title" font-style="italic"/>
<text prefix=". " macro="edition"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=", " variable="publisher" form="long"/>
<!-- <text prefix=", " variable="faculty"/> -->
<text prefix=", " macro="genre"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<text prefix=". &#8212;&#160;" variable="note"/>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<text prefix=" " macro="title" suffix=". " font-style="italic"/>
<text prefix="URL " variable="URL"/>
<text prefix=". - " macro="access"/>
<text prefix=". &#8212;&#160;" variable="container-title"/>
<text prefix=". &#8212;&#160;" variable="note"/>
</else-if>
<!-- Tabelle 2 aus litverz.ps UND -->
<!-- Tabelle 4 aus litverz.ps - Schriften von Tagungen, Konferenzen, Symposien, ...-->
<else-if type="article article-journal article-magazine article-newspaper" match="any">
<text prefix=" " variable="title"/>
<!-- " : Zusatz zum Sachtitel"
". Angabe des Teils"
" (Gesamttitelangabe)" -->
<group>
<text prefix=". " term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor" suffix=" "/>
<text variable="container-title" font-style="italic"/>
<text prefix=", " variable="collection-title" font-style="italic" suffix="."/>
<!--", unterreihe der zeitschrift/zeitung" -->
</group>
<text prefix=" " macro="volumes"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=", " variable="publisher" form="long"/>
<date prefix=" (" suffix=")" variable="issued" form="numeric" date-parts="year"/>
<text prefix=", Nr.&#160;" variable="issue"/>
<text prefix=", " macro="pages"/>
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
</else-if>
<!-- keiner der oben genannten fälle -->
<else>
<group suffix=".">
<text prefix=" " macro="title"/>
<text prefix=", " macro="editor"/>
<text prefix=". " macro="recipient-show"/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=", ">
<text variable="volume" font-style="italic"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text prefix=", " macro="pages"/>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
+359
View File
@@ -0,0 +1,359 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="de-DE">
<info>
<title>DIN 1505-2 (numeric, Deutsch) - standard superseded by ISO-690</title>
<id>http://www.zotero.org/styles/din-1505-2-numeric</id>
<link href="http://www.zotero.org/styles/din-1505-2-numeric" rel="self"/>
<link href="http://www.bui.haw-hamburg.de/fileadmin/redaktion/diplom/Lorenzen__litverz.pdf" rel="documentation"/>
<link href="http://bibliothek.fh-potsdam.de/fileadmin/fhp_bib/dokumente/Schulungen/wissenschaftliches_Arbeiten/Zitieren_Lorenzen.pdf" rel="documentation"/>
<link href="http://www.uni-muenster.de/imperia/md/content/fachbereich_physik/didaktik_physik/materialien/materialschlichting/zitierregeln.pdf" rel="documentation"/>
<link href="http://forums.zotero.org/discussion/1857" rel="documentation"/>
<author>
<name>Sven Rothe</name>
<email>mmoole@googlemail.com</email>
</author>
<contributor>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</contributor>
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>Style following DIN 1505-2, for other media types on additional standards
Hinweise zur Benutzung:
* Zitieren von Gesetzen:
- hier müssen manuell §, Abs und S. zur Seitenangabe beim Zitieren eingetragen werden
- im Kurzbeleg wird der Kurztitel verwendet, dafür keine Autoren eintragen!
- als Jahresangabe wird 'Datum des Inkrafttretens' herangezogen, Verwenden nur bei Verweis auf nicht z.Z. gültige Gesetze, z.B. (idF. v. 12.12.1972)
* Zitieren von Normen und Standards - nicht vollständig nach DIN 1505
- Nutzen Sie den Typ 'Bericht' - als Abhilfe, da es keinen Typ 'Standard' gibt.
- als Autor die Kurzbezeichnung inkl. Nummer und Jahr eingeben (z.B. VDI 2222-1997), Vorname leer, Jahr leer
- als Titel den ausführlichen Titel bei Bedarf (z.B. VDI Richtlinie 2222 Blatt 1 - Konstruktionsmethodik - Methodisches Entwickeln von Lösungsprinzipien)</summary>
<!-- This is the same as the original DIN 1505 citation style as far as concerning the bibliography,
but in numeric style for citation,
Feel free to send me any comments, suggestions etc...
-->
<!-- useful things:
non breaking space: &#160;
narrow no break space: uni202F / &#8239; - but this is not supported widely!
em dash: &#8212;
space: &#032;
tab: &#009;
-->
<updated>2021-02-11T04:03:08+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="de">
<terms>
<term name="anonymous" form="short">o.&#160;A.</term>
<term name="no date" form="short">o.&#160;J.</term>
<term name="collection-editor" form="short">Hrsg.</term>
<term name="retrieved">abgerufen am</term>
<term name="composer" form="short">Komp.</term>
<term name="composer" form="long">Komponist</term>
</terms>
</locale>
<macro name="author">
<names variable="author" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="author-container">
<names variable="container-author" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="editor">
<names variable="editor" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="editor-collection">
<names variable="collection-editor" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="composer">
<names variable="composer" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="long" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="translator">
<names variable="translator" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="recipient">
<names variable="recipient" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<!--<label form="long" prefix=" (" suffix=")"/>-->
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<macro name="access">
<group>
<text term="retrieved" suffix=" "/>
<date variable="accessed">
<date-part name="year" form="long" suffix="-"/>
<date-part name="month" form="numeric-leading-zeros" suffix="-"/>
<date-part name="day" form="numeric-leading-zeros"/>
</date>
<!--<date variable="accessed" form="numeric" date-parts="year-month-day"/> // dd.mm.yyy -->
</group>
</macro>
<macro name="title">
<choose>
<if type="bill legislation" match="any">
<group delimiter=" &#8212; ">
<text variable="title-short" font-style="normal"/>
<text variable="title"/>
</group>
</if>
<else-if type="book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="genre">
<choose>
<if type="report thesis manuscript map" match="any">
<group>
<text variable="genre"/>
<!--<text term="number" form="short" suffix=" "/>-->
<text variable="number" prefix=" Nr. "/>
</group>
</if>
</choose>
</macro>
<macro name="volumes">
<group delimiter=" ">
<text term="volume" form="short" plural="false"/>
<number variable="volume" form="numeric"/>
<number variable="number-of-volumes" form="numeric" prefix="v. "/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="numeric" suffix=". "/>
<text term="edition" form="short" plural="false"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="chapter paper-conference article-journal" match="any">
<label variable="page" form="short" suffix="&#160;"/>
<text variable="page"/>
</if>
</choose>
</macro>
<macro name="dimensions">
<group>
<text variable="dimensions"/>
</group>
</macro>
<macro name="medium">
<group>
<text variable="medium"/>
</group>
</macro>
<macro name="scale">
<group>
<text term="scale"/>
<text prefix=" " variable="scale"/>
</group>
</macro>
<macro name="recipient-show">
<choose>
<if type="personal_communication">
<choose>
<if variable="genre">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="letter" text-case="capitalize-first"/>
</else>
</choose>
</if>
</choose>
<text macro="recipient" prefix=", "/>
</macro>
<!-- This citytion style only differs from its original DIN 1505 style in the in-text citation which begins here -->
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter="], [">
<text variable="citation-number"/>
</layout>
</citation>
<!-- End of in-text citation -->
<bibliography hanging-indent="true" et-al-min="9" et-al-use-first="8" entry-spacing="0" second-field-align="flush">
<layout>
<!-- Citation Number -->
<text variable="citation-number" prefix="[" suffix="]"/>
<!-- continuing with original bibliography -->
<group delimiter=" ; " suffix=":">
<text macro="author"/>
<choose>
<if type="bill book graphic legal_case legislation manuscript map motion_picture report song thesis webpage" match="any">
<!-- except type="chapter article " etc.... -->
<text macro="editor"/>
<text macro="editor-collection"/>
<text macro="composer"/>
</if>
</choose>
<!-- <text macro="contributor"/> -->
<text macro="translator"/>
</group>
<choose>
<!-- Tabelle 1 aus litverz.ps -->
<if type="bill book broadcast graphic legal_case legislation manuscript map motion_picture report song" match="any">
<text prefix=" " macro="title"/>
<text prefix=", " variable="collection-title" font-style="italic"/>
<!--Reihe-->
<text prefix=" (" macro="genre" suffix=")"/>
<text prefix=". " macro="volumes"/>
<text prefix=". " macro="edition"/>
<text prefix=". " macro="medium"/>
<text prefix=". " macro="dimensions"/>
<text prefix=". " variable="publisher-place"/>
<text prefix="&#160;: " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<!-- " (1. Gesamttitel mit Zählung)"
" (2. Gesamttitel mit Zählung)" -->
<text prefix=" &#8211;&#160;" macro="scale"/>
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
</if>
<!-- Tabelle 3 aus litverz.ps -->
<else-if type="chapter paper-conference" match="any">
<text prefix=" " macro="title" suffix="."/>
<text prefix=". " term="in" text-case="capitalize-all" suffix=": "/>
<!-- verfahre nach Tabelle 1... -->
<group delimiter=" ; " suffix=": ">
<text macro="author-container"/>
<text macro="editor"/>
<text macro="editor-collection"/>
</group>
<text variable="container-title" font-style="italic"/>
<text prefix=", " variable="collection-title" font-style="italic"/>
<!-- Reihe -->
<text prefix=". " macro="volumes"/>
<!-- <text prefix=" : " variable="title of volumes"/> what is this? -->
<text prefix=". " macro="edition"/>
<text prefix=". " variable="publisher-place"/>
<text prefix="&#160;: " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<!-- " (1. Gesamttitel mit Zählung)"
" (2. Gesamttitel mit Zählung)" -->
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
<text prefix=", " macro="pages"/>
</else-if>
<!-- Tabelle 5 aus litverz.ps - Hochschulschriften
(Diplomarbeiten, Dissertationen, Master-A., unverö. Studienarbeiten -->
<else-if type="thesis" match="any">
<text prefix=" " macro="title" font-style="italic"/>
<text prefix=". " macro="edition"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=", " variable="publisher" form="long"/>
<!-- <text prefix=", " variable="faculty"/> -->
<text prefix=", " macro="genre"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<text prefix=". &#8212;&#160;" variable="note"/>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<text prefix=" " macro="title" suffix=". " font-style="italic"/>
<text prefix="URL " variable="URL"/>
<text prefix=". - " macro="access"/>
<text prefix=". &#8212;&#160;" variable="container-title"/>
<text prefix=". &#8212;&#160;" variable="note"/>
</else-if>
<!-- Tabelle 2 aus litverz.ps UND -->
<!-- Tabelle 4 aus litverz.ps - Schriften von Tagungen, Konferenzen, Symposien, ...-->
<else-if type="article article-journal article-magazine article-newspaper" match="any">
<text prefix=" " variable="title"/>
<!-- " : Zusatz zum Sachtitel"
". Angabe des Teils"
" (Gesamttitelangabe)" -->
<group>
<text prefix=". " term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor" suffix=" "/>
<text variable="container-title" font-style="italic"/>
<text prefix=", " variable="collection-title" font-style="italic" suffix="."/>
<!--", unterreihe der zeitschrift/zeitung" -->
</group>
<text prefix=" " macro="volumes"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=", " variable="publisher" form="long"/>
<date prefix=" (" suffix=")" variable="issued" form="numeric" date-parts="year"/>
<text prefix=", Nr.&#160;" variable="issue"/>
<text prefix=", " macro="pages"/>
<text prefix=". &#8212;&#160;" variable="note"/>
<text prefix=" &#8212;&#160;ISBN&#160;" variable="ISBN"/>
</else-if>
<!-- Schutzrechte -->
<else-if type="patent" match="any">
<group delimiter=" " prefix=" Schutzrecht " suffix=",">
<text variable="authority"/>
<text variable="number"/>
</group>
<text prefix=" " macro="title" font-style="italic" suffix=","/>
<group delimiter=", " prefix=" " suffix=".">
<group delimiter=" ">
<!--Needs Localization-->
<text value="eingereicht"/>
<date variable="submitted" form="numeric"/>
</group>
<group delimiter=" ">
<choose>
<if variable="issued submitted" match="all">
<text term="and"/>
</if>
</choose>
<!--Needs Localization-->
<text value="veröffentlicht"/>
<date variable="issued" form="numeric"/>
</group>
</group>
</else-if>
<!-- keiner der oben genannten fälle -->
<else>
<group suffix=".">
<text prefix=" " macro="title"/>
<text prefix=", " macro="editor"/>
<text prefix=". " macro="recipient-show"/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=", ">
<text variable="volume" font-style="italic"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text prefix=", " macro="pages"/>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
File diff suppressed because one or more lines are too long
+931
View File
@@ -0,0 +1,931 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language
[
<!ENTITY digitPart "[0-9](?:_?[0-9])*">
<!ENTITY beforeDigit "(?&lt;![\.\w[:^ascii:]])">
<!ENTITY beforePointFloat "(?&lt;![\w[:^ascii:]])">
<!-- Python 2 style. Syntax:
1. start character '%'
2. [optional] Mapping key, e.g. '(foo)'
3. [optional] Conversion flags, one of '#0- +'
4. [optional] Minimum width, integer or '*'
5. [optional] Precision, '.' followed by integer or '*'
6. [optional] Length modifier, one of 'hlL'
7. conversion type, one of 'crsdiouxXeEfFgG%'
[Special cases: %prog and %default - see http://docs.python.org/library/optparse.html]
-->
<!ENTITY strsubstitution_py2 "&#37;(?:(?:\([a-zA-Z0-9_]+\))?[#0\- +]?(?:[1-9][0-9]*|\*)?(?:\.(?:[1-9][0-9]*|\*))?[hlL]?[crsdiouxXeEfFgG&#37;]|prog|default)">
<!-- http://docs.python.org/3/library/string.html#format-string-syntax:
replacement_field ::= "{" [field_name] ["!" conversion] [":" format_spec] "}"
field_name ::= arg_name ("." attribute_name | "[" element_index "]")*
arg_name ::= [identifier | integer]
attribute_name ::= identifier
element_index ::= integer | index_string
index_string ::= <any source character except "]"> +
conversion ::= "r" | "s" | "a"
format_spec ::= [[fill]align][sign][z][#][0][width][_,][.precision][type]
fill ::= <any character>
align ::= "<" | ">" | "=" | "^"
sign ::= "+" | "-" | " "
width ::= integer
precision ::= integer
type ::= "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"
-->
<!ENTITY format_spec "(?:![rsa])?(?::(?:[^}]?[&lt;&gt;=^])?[ +-]?z?#?0?[0-9]*[_,]?(?:\.[0-9]+)?[bcdeEfFgGnosxX&#37;]?)?">
<!ENTITY strsubstitution_py3 "\{(?:(?:[a-zA-Z0-9_]+|[0-9]+)(?:\.[a-zA-Z0-9_]+|\[[^ \]]+\])*)?&format_spec;?\}">
<!ENTITY rawString "(?:ru|u?r|)(?:'(?:[^']++|\\')*+'|&quot;(?:[^&quot;]++|\\&quot;)*+&quot;)">
<!ENTITY formatString "(?:r?f|fr?)(?:'(?:[^'{]++|\\'|\{\{|\{[^}]++\})*+'|&quot;(?:[^&quot;]++|\\&quot;|\{\{|\{[^}]*+\})*+&quot;)">
<!ENTITY string "&rawString;|&formatString;">
]>
<!-- Python syntax highlightning v0.9 by Per Wigren -->
<!-- Python syntax highlighting v1.9 by Michael Bueker (improved keyword differentiation) -->
<!-- Python syntax highlighting v1.97 by Paul Giannaros -->
<!-- Python syntax highlighting v1.99 by Primoz Anzur -->
<!-- Python syntax highlighting v2.01 by Paul Giannaros:
* full format character support
* unicode string modifier supported -->
<!-- v2.02 remove RegExpr for nums and make indent consistent -->
<!-- v2.03 highlight decorators, remove operator regex, don't highlight parens as operators -->
<!-- v2.04 make alerts visible even if they are directly after ''' or # without a space -->
<!-- v2.06 decorator names can (and often do) contain periods -->
<!-- v2.07 add support for %prog and co, see bug 142832 -->
<!-- v2.08 add missing overloaders, new Python 3 statements, builtins, and keywords -->
<!-- v2.29 recognize escape sequenzes correctly -->
<language name="Python" alternativeNames="Py" version="28" style="python" indenter="python" kateversion="5.0" section="Scripts" extensions="*.py;*.pyw;*.pyi;SConstruct;SConscript;*.FCMacro" mimetype="application/x-python;text/x-python;text/x-python3" casesensitive="1" author="Michael Bueker" license="">
<highlighting>
<list name="import">
<item>import</item>
<item>from</item>
<item>as</item>
</list>
<list name="defs">
<item>class</item>
<item>def</item>
<item>del</item>
<item>global</item>
<item>lambda</item>
<item>nonlocal</item>
</list>
<list name="operators">
<item>and</item>
<item>in</item>
<item>is</item>
<item>not</item>
<item>or</item>
</list>
<list name="flow">
<item>assert</item>
<item>break</item>
<item>continue</item>
<item>elif</item>
<item>else</item>
<item>except</item>
<item>finally</item>
<item>for</item>
<item>if</item>
<item>pass</item>
<item>raise</item>
<item>return</item>
<item>try</item>
<item>while</item>
<item>with</item>
<item>async</item>
<item>await</item>
</list>
<list name="flow_yield">
<item>yield</item>
<!--
"yield from" added here as a keyword for autocompletion. The actual handling
is in context="yield" so that we won't need to add space as a weakDeliminator.
-->
<item>yield from</item>
</list>
<list name="patternmatching">
<item>match</item>
<item>case</item>
</list>
<list name="builtinfuncs">
<!-- https://docs.python.org/3.11/library/functions.html#built-in-funcs -->
<item>__import__</item>
<item>abs</item>
<item>aiter</item>
<item>all</item>
<item>anext</item>
<item>any</item>
<item>apply</item>
<item>ascii</item>
<item>basestring</item>
<item>bin</item>
<item>breakpoint</item>
<item>bool</item>
<item>buffer</item>
<item>bytearray</item>
<item>bytes</item>
<item>callable</item>
<item>chr</item>
<item>classmethod</item>
<item>cmp</item>
<item>coerce</item>
<item>compile</item>
<item>complex</item>
<item>delattr</item>
<item>dict</item>
<item>dir</item>
<item>divmod</item>
<item>enumerate</item>
<item>eval</item>
<item>exec</item>
<item>execfile</item>
<item>file</item>
<item>filter</item>
<item>float</item>
<item>format</item>
<item>frozenset</item>
<item>getattr</item>
<item>globals</item>
<item>hasattr</item>
<item>hash</item>
<item>help</item>
<item>hex</item>
<item>id</item>
<item>input</item>
<item>int</item>
<item>intern</item>
<item>isinstance</item>
<item>issubclass</item>
<item>iter</item>
<item>len</item>
<item>list</item>
<item>locals</item>
<item>long</item>
<item>map</item>
<item>max</item>
<item>memoryview</item>
<item>min</item>
<item>next</item>
<item>object</item>
<item>oct</item>
<item>open</item>
<item>ord</item>
<item>pow</item>
<item>print</item>
<item>property</item>
<item>range</item>
<item>raw_input</item>
<item>reduce</item>
<item>reload</item>
<item>repr</item>
<item>reversed</item>
<item>round</item>
<item>set</item>
<item>setattr</item>
<item>slice</item>
<item>sorted</item>
<item>staticmethod</item>
<item>str</item>
<item>sum</item>
<item>super</item>
<item>tuple</item>
<item>type</item>
<item>unichr</item>
<item>unicode</item>
<item>vars</item>
<item>xrange</item>
<item>zip</item>
</list>
<list name="specialvars">
<item>None</item>
<item>self</item>
<item>True</item>
<item>False</item>
<item>NotImplemented</item>
<item>Ellipsis</item>
<item>__debug__</item>
<item>__file__</item>
<item>__name__</item>
<item>__qualname__</item>
</list>
<list name="bindings">
<item>SIGNAL</item>
<item>SLOT</item>
<item>connect</item>
</list>
<list name="overloaders">
<!-- https://docs.python.org/3.10/reference/datamodel.html#special-method-names -->
<item>__new__</item>
<item>__init__</item>
<item>__del__</item>
<item>__repr__</item>
<item>__str__</item>
<item>__lt__</item>
<item>__le__</item>
<item>__eq__</item>
<item>__ne__</item>
<item>__gt__</item>
<item>__ge__</item>
<item>__cmp__</item>
<item>__rcmp__</item>
<item>__hash__</item>
<item>__bool__</item>
<item>__nonzero__</item>
<item>__unicode__</item>
<item>__getattr__</item>
<item>__setattr__</item>
<item>__delattr__</item>
<item>__getattribute__</item>
<item>__get__</item>
<item>__set__</item>
<item>__delete__</item>
<item>__call__</item>
<item>__len__</item>
<item>__length_hint__</item>
<item>__getitem__</item>
<item>__setitem__</item>
<item>__delitem__</item>
<item>__missing__</item>
<item>__iter__</item>
<item>__reversed__</item>
<item>__contains__</item>
<item>__getslice__</item>
<item>__setslice__</item>
<item>__delslice__</item>
<item>__add__</item>
<item>__sub__</item>
<item>__mul__</item>
<item>__matmul__</item>
<item>__floordiv__</item>
<item>__mod__</item>
<item>__divmod__</item>
<item>__pow__</item>
<item>__lshift__</item>
<item>__rshift__</item>
<item>__and__</item>
<item>__xor__</item>
<item>__or__</item>
<item>__div__</item>
<item>__truediv__</item>
<item>__radd__</item>
<item>__rsub__</item>
<item>__rmul__</item>
<item>__rmatmul__</item>
<item>__rdiv__</item>
<item>__rtruediv__</item>
<item>__rfloordiv__</item>
<item>__rmod__</item>
<item>__rdivmod__</item>
<item>__rpow__</item>
<item>__rlshift__</item>
<item>__rrshift__</item>
<item>__rand__</item>
<item>__rxor__</item>
<item>__ror__</item>
<item>__iadd__</item>
<item>__isub__</item>
<item>__imul__</item>
<item>__imatmul__</item>
<item>__idiv__</item>
<item>__itruediv__</item>
<item>__ifloordiv__</item>
<item>__imod__</item>
<item>__ipow__</item>
<item>__ilshift__</item>
<item>__irshift__</item>
<item>__iand__</item>
<item>__ixor__</item>
<item>__ior__</item>
<item>__neg__</item>
<item>__pos__</item>
<item>__abs__</item>
<item>__invert__</item>
<item>__complex__</item>
<item>__int__</item>
<item>__long__</item>
<item>__float__</item>
<item>__oct__</item>
<item>__hex__</item>
<item>__index__</item>
<item>__round__</item>
<item>__trunc__</item>
<item>__floor__</item>
<item>__ceil__</item>
<item>__coerce__</item>
<item>__enter__</item>
<item>__exit__</item>
<item>__match_args__</item>
<item>__buffer__</item>
<item>__release_buffer__</item>
<item>__bytes__</item>
<item>__format__</item>
<item>__next__</item>
<item>__dir__</item>
<item>__await__</item>
<item>__aiter__</item>
<item>__anext__</item>
<item>__aenter__</item>
<item>__aexit__</item>
<item>__slots__</item>
<item>__init_subclass__</item>
<item>__set_name__</item>
<item>__prepare__</item>
<item>__instancecheck__</item>
<item>__subclasscheck__</item>
<item>__class_getitem__</item>
</list>
<list name="exceptions">
<!--
Exceptions list resources used:
- http://docs.python.org/2.7/library/exceptions.html#exception-hierarchy
- http://docs.python.org/3.10/library/exceptions.html#exception-hierarchy
-->
<item>ArithmeticError</item>
<item>AssertionError</item>
<item>AttributeError</item>
<item>BaseException</item>
<item>BlockingIOError</item>
<item>BrokenPipeError</item>
<item>BufferError</item>
<item>BytesWarning</item>
<item>ChildProcessError</item>
<item>ConnectionAbortedError</item>
<item>ConnectionError</item>
<item>ConnectionRefusedError</item>
<item>ConnectionResetError</item>
<item>DeprecationWarning</item>
<item>EnvironmentError</item>
<item>EOFError</item>
<item>EncodingWarning</item>
<item>Exception</item>
<item>FileExistsError</item>
<item>FileNotFoundError</item>
<item>FloatingPointError</item>
<item>FutureWarning</item>
<item>GeneratorExit</item>
<item>ImportError</item>
<item>ImportWarning</item>
<item>IndentationError</item>
<item>IndexError</item>
<item>InterruptedError</item>
<item>IOError</item>
<item>IsADirectoryError</item>
<item>KeyboardInterrupt</item>
<item>KeyError</item>
<item>LookupError</item>
<item>MemoryError</item>
<item>ModuleNotFoundError</item>
<item>NameError</item>
<item>NotADirectoryError</item>
<item>NotImplementedError</item>
<item>OSError</item>
<item>OverflowError</item>
<item>PendingDeprecationWarning</item>
<item>PermissionError</item>
<item>ProcessLookupError</item>
<item>RecursionError</item>
<item>ReferenceError</item>
<item>ResourceWarning</item>
<item>RuntimeError</item>
<item>RuntimeWarning</item>
<item>StandardError</item>
<item>StopAsyncIteration</item>
<item>StopIteration</item>
<item>SyntaxError</item>
<item>SyntaxWarning</item>
<item>SystemError</item>
<item>SystemExit</item>
<item>TabError</item>
<item>TimeoutError</item>
<item>TypeError</item>
<item>UnboundLocalError</item>
<item>UnicodeDecodeError</item>
<item>UnicodeEncodeError</item>
<item>UnicodeError</item>
<item>UnicodeTranslateError</item>
<item>UnicodeWarning</item>
<item>UserWarning</item>
<item>ValueError</item>
<item>Warning</item>
<item>WindowsError</item>
<item>ZeroDivisionError</item>
</list>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces attribute="Normal Text"/>
<DetectChar attribute="Normal Text" char="(" context="Tuple" beginRegion="Tuple"/>
<DetectChar attribute="Normal Text" char="[" context="List" beginRegion="List"/>
<DetectChar attribute="Normal Text" char="{" context="Dictionary" beginRegion="Dictionary"/>
<DetectChar attribute="Comment" char="#" context="Hash comment"/>
<keyword attribute="Special Variable" String="specialvars" context="#stay"/>
<keyword attribute="Flow Control Keyword" String="flow" context="#stay"/>
<keyword attribute="Operator Keyword" String="operators" context="#stay"/>
<keyword attribute="Builtin Function" String="builtinfuncs" context="#stay"/>
<keyword attribute="Definition Keyword" String="defs" context="#stay"/>
<keyword attribute="Flow Control Keyword" String="flow_yield" context="yield"/>
<keyword attribute="Flow Control Keyword" String="patternmatching" context="Pattern Matching" lookAhead="1" firstNonSpace="1"/>
<keyword attribute="Import" String="import" context="#stay"/>
<keyword attribute="Exceptions" String="exceptions" context="#stay"/>
<keyword attribute="Overloaders" String="overloaders" context="#stay"/>
<keyword attribute="Extensions" String="bindings" context="#stay"/>
<IncludeRules context="Number" />
<IncludeRules context="CommentVariants" />
<IncludeRules context="StringVariants" />
<DetectIdentifier attribute="Normal Text"/>
<RegExpr attribute="Decorator" String="@[_a-zA-Z[:^ascii:]][\._a-zA-Z0-9[:^ascii:]]*" firstNonSpace="true"/>
<Detect2Chars attribute="Operator" char=":" char1="=" context="#stay"/>
<AnyChar attribute="Operator" String="+*/%|=;&lt;&gt;!^&amp;~-@" context="#stay"/>
<LineContinue attribute="Operator" context="MultiLineExpr"/>
<Int attribute="Error"/>
</context>
<context name="MultiLineExpr" attribute="Normal Text" lineEndContext="#pop" fallthrough="1" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text"/>
<IncludeRules context="StringVariants" />
</context>
<!-- https://docs.python.org/2/reference/lexical_analysis.html#integer-and-long-integer-literals -->
<!-- https://docs.python.org/3/reference/lexical_analysis.html#integer-literals -->
<context name="Number" attribute="Normal Text" lineEndContext="#pop">
<!-- fast path -->
<RegExpr String="&beforeDigit;[0-9]|&beforePointFloat;\.[0-9]" context="AssumeNumber" lookAhead="1"/>
</context>
<context name="AssumeNumber" attribute="Normal Text" lineEndContext="#pop">
<!-- Complex: 1j ; 1.1j ; 1.j ; .1j ; 1e3j ; 1.1e3j ; 1.e3j ; .1e3j -->
<RegExpr attribute="Complex" String="(?:&digitPart;(?:\.(?:&digitPart;)?)?|&beforePointFloat;\.&digitPart;)(?:[eE][\+\-]?&digitPart;)?[jJ]" context="CheckSuffixError"/>
<!-- Hexadecimal: 0xA1, Binary: 0b01, Octal: 0o71 -->
<RegExpr attribute="Hex" String="0[xX](?:_?[0-9a-fA-F])+" context="CheckSuffixError"/>
<RegExpr attribute="Binary" String="0[bB](?:_?[01])+" context="CheckSuffixError"/>
<RegExpr attribute="Octal" String="0[oO](?:_?[0-7])+" context="CheckSuffixError"/>
<!-- Float: 1.1 ; 1. ; .1 ; 1e3 ; 1.1e3 ; 1.e3 ; .1e3 -->
<RegExpr attribute="Float" String="(?:&digitPart;(?:\.(?:&digitPart;)?)?|\.&digitPart;)[eE][\+\-]?&digitPart;|&digitPart;\.(?:&digitPart;)?|\.&digitPart;" context="CheckSuffixError"/>
<!-- Decimal: 123 ; 000 -->
<!-- l and L are python2 suffixes -->
<RegExpr attribute="Int" String="(?:[1-9](?:_?\d)*|0(?:_?0)*)[lL]?" context="CheckSuffixError"/>
</context>
<context name="CheckSuffixError" attribute="Normal Text" lineEndContext="#pop#pop" fallthrough="1" fallthroughContext="#pop#pop">
<RegExpr attribute="Error" String="[\w\d]+" context="#pop#pop"/>
</context>
<context name="yield" attribute="Flow Control Keyword" lineEndContext="#pop" fallthrough="1" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay"/>
<WordDetect attribute="Flow Control Keyword" context="#pop" String="from"/>
</context>
<context name="Pattern Matching" attribute="Flow Control Keyword" lineEndContext="#pop">
<!--
Python 3.10: https://docs.python.org/3.10/reference/compound_stmts.html#the-match-statement
( 'match' | 'case' ) expression ':'
exclude:
( 'match' | 'case' ) ( 'if' | 'for' | '.' | ':' | '=' | ',' | ']' | ')' ) ...
-->
<RegExpr attribute="Flow Control Keyword" String="\w++(?=\s+(?!(?:if|for)\b)[\w'&quot;~]|\s*+(?![.:=\]),]|(?:if|for)\b)((?:&string;|[^#;(){}]|\(\)|\((?1)\)|\{\}|\{(\s*+(?:(?:&string;|[a-zA-Z0-9.]++)\s*+:\s*+(?:&string;|[^#;(){},]|\(\)|\((?1)\)|\{\}|\{(?2)\})++,?)*+)\})+?):)|" context="#pop"/>
<DetectIdentifier attribute="Normal Text" context="#pop"/>
</context>
<context name="#CheckForString" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<DetectSpaces/>
<LineContinue attribute="Normal Text" context="#pop!CheckForStringNext"/>
</context>
<context name="CheckForStringNext" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<DetectSpaces/>
<LineContinue attribute="Normal Text" context="#stay"/>
<IncludeRules context="StringVariants"/>
</context>
<!-- https://docs.python.org/2/reference/lexical_analysis.html#string-literals -->
<!-- https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals -->
<context name="StringVariants" attribute="Normal Text" lineEndContext="#stay">
<!-- fast path -->
<RegExpr String="(?:u|r|b|f|ur|fr|rf|br|rb)?['&quot;]" insensitive="true" context="AssumeStringVariants" lookAhead="1"/>
</context>
<context name="AssumeStringVariants" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="String" String="u?'''" insensitive="true" context="#pop!Triple A-string" beginRegion="Triple A-region"/>
<RegExpr attribute="String" String="u?&quot;&quot;&quot;" insensitive="true" context="#pop!Triple Q-string" beginRegion="Triple Q-region"/>
<RegExpr attribute="String" String="u?'" insensitive="true" context="#pop!Single A-string"/>
<RegExpr attribute="String" String="u?&quot;" insensitive="true" context="#pop!Single Q-string"/>
<StringDetect attribute="F-String" String="f'''" insensitive="true" context="#pop!Triple A-F-String" beginRegion="Triple A-region"/>
<StringDetect attribute="F-String" String="f&quot;&quot;&quot;" insensitive="true" context="#pop!Triple Q-F-String" beginRegion="Triple Q-region"/>
<StringDetect attribute="F-String" String="f'" insensitive="true" context="#pop!Single A-F-String"/>
<StringDetect attribute="F-String" String="f&quot;" insensitive="true" context="#pop!Single Q-F-String"/>
<RegExpr attribute="Raw String" String="u?r'''" insensitive="true" context="#pop!Raw Triple A-string" beginRegion="Triple A-region"/>
<RegExpr attribute="Raw String" String="u?r&quot;&quot;&quot;" insensitive="true" context="#pop!Raw Triple Q-string" beginRegion="Triple Q-region"/>
<RegExpr attribute="Raw String" String="u?r'" insensitive="true" context="#pop!Raw A-string"/>
<RegExpr attribute="Raw String" String="u?r&quot;" insensitive="true" context="#pop!Raw Q-string"/>
<RegExpr attribute="Raw F-String" String="(?:fr|rf)'''" insensitive="true" context="#pop!Raw Triple A-F-String" beginRegion="Triple A-region"/>
<RegExpr attribute="Raw F-String" String="(?:fr|rf)&quot;&quot;&quot;" insensitive="true" context="#pop!Raw Triple Q-F-String" beginRegion="Triple Q-region"/>
<RegExpr attribute="Raw F-String" String="(?:fr|rf)'" insensitive="true" context="#pop!Raw A-F-String"/>
<RegExpr attribute="Raw F-String" String="(?:fr|rf)&quot;" insensitive="true" context="#pop!Raw Q-F-String"/>
<StringDetect attribute="B-String" String="b'''" insensitive="true" context="#pop!Triple A-B-String" beginRegion="Triple A-region"/>
<StringDetect attribute="B-String" String="b&quot;&quot;&quot;" insensitive="true" context="#pop!Triple Q-B-String" beginRegion="Triple Q-region"/>
<StringDetect attribute="B-String" String="b'" insensitive="true" context="#pop!Single A-B-String"/>
<StringDetect attribute="B-String" String="b&quot;" insensitive="true" context="#pop!Single Q-B-String"/>
<RegExpr attribute="Raw B-String" String="(?:br|rb)'''" insensitive="true" context="#pop!Raw Triple A-B-String" beginRegion="Triple A-region"/>
<RegExpr attribute="Raw B-String" String="(?:br|rb)&quot;&quot;&quot;" insensitive="true" context="#pop!Raw Triple Q-B-String" beginRegion="Triple Q-region"/>
<RegExpr attribute="Raw B-String" String="(?:br|rb)'" insensitive="true" context="#pop!Raw A-B-String"/>
<RegExpr attribute="Raw B-String" String="(?:br|rb)&quot;" insensitive="true" context="#pop!Raw Q-B-String"/>
</context>
<!-- https://docs.python.org/2/reference/lexical_analysis.html#string-literals -->
<!-- https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals -->
<context name="CommentVariants" attribute="Normal Text" lineEndContext="#stay">
<!-- fast path -->
<RegExpr String="(?:u|r|ur)?['&quot;]" insensitive="true" firstNonSpace="true" context="AssumeCommentVariants" lookAhead="1"/>
</context>
<context name="AssumeCommentVariants" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Comment" String="(?:u?r?)'''" insensitive="true" context="#pop!Triple A-comment" beginRegion="Triple A-region"/>
<RegExpr attribute="Comment" String="(?:u?r?)&quot;&quot;&quot;" insensitive="true" context="#pop!Triple Q-comment" beginRegion="Triple Q-region"/>
<RegExpr attribute="Comment" String="(?:u?r?)'" insensitive="true" context="#pop!Single A-comment"/>
<RegExpr attribute="Comment" String="(?:u?r?)&quot;" insensitive="true" context="#pop!Single Q-comment"/>
</context>
<context name="Dictionary" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<DetectChar attribute="Normal Text" char="}" context="#pop" endRegion="Dictionary"/>
<IncludeRules context="StringVariants" />
<IncludeRules context="Normal" />
</context>
<context name="List" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<DetectChar attribute="Normal Text" char="]" context="#pop" endRegion="List"/>
<IncludeRules context="StringVariants" />
<IncludeRules context="Normal" />
</context>
<context name="Tuple" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<DetectChar attribute="Normal Text" char=")" context="#pop" endRegion="Tuple"/>
<IncludeRules context="StringVariants" />
<IncludeRules context="Normal" />
</context>
<context name="UnfinishedStringError" attribute="Error" lineEndContext="#stay" noIndentationBasedFolding="true">
<!-- A single string/comment reached the end of the line without a \ line escape -->
<!-- We set the following line (or part of it) to the "Error" attribute so that this error is easier to spot -->
<RegExpr attribute="Error" String="^(\s{4,}|[^[\]()&quot;']{4,}([&quot;'].*)?)" context="#pop" column="0"/>
</context>
<!-- Comments -->
<context name="Hash comment" attribute="Comment" lineEndContext="#pop">
<DetectSpaces />
<IncludeRules context="##Comments" />
<DetectIdentifier/>
</context>
<context name="Triple A-comment" attribute="Comment" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<StringDetect attribute="Comment" String="'''" context="#pop" endRegion="Triple A-region"/>
<IncludeRules context="##Comments" />
<DetectIdentifier/>
<IncludeRules context="stringescape"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Triple Q-comment" attribute="Comment" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces/>
<StringDetect attribute="Comment" String="&quot;&quot;&quot;" context="#pop" endRegion="Triple Q-region"/>
<IncludeRules context="##Comments" />
<DetectIdentifier/>
<IncludeRules context="stringescape"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Single A-comment" attribute="Comment" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces/>
<DetectChar attribute="Comment" char="'" context="#pop"/>
<IncludeRules context="##Comments" />
<DetectIdentifier/>
<IncludeRules context="stringescape"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Single Q-comment" attribute="Comment" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces/>
<DetectChar attribute="Comment" char="&quot;" context="#pop"/>
<IncludeRules context="##Comments" />
<DetectIdentifier/>
<IncludeRules context="stringescape"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<!-- Strings -->
<!-- format characters -->
<context name="stringformat" attribute="String Substitution" lineEndContext="#stay">
<RegExpr attribute="String Substitution" String="&strsubstitution_py2;|&strsubstitution_py3;" context="#stay"/>
<Detect2Chars attribute="String Substitution" char="{" char1="{" context="#stay" />
<Detect2Chars attribute="String Substitution" char="}" char1="}" context="#stay" />
</context>
<!-- escape characters -->
<context name="stringescape" attribute="String Char" lineEndContext="#stay">
<!-- As this highlighting style is for both, Python 2 and 3,
we do not know if a normal string is “unicode” or not. So we
-->
<RegExpr attribute="String Char" String="\\[\\'&quot;abfnrtv]|\\[0-7]{1,3}|\\x[0-9A-Fa-f]{2}|\\u[0-9A-Fa-f]{4}|\\U[0-9A-Fa-f]{8}|\\N\{[a-zA-Z0-9\- ]+\}" context="#stay"/>
</context>
<!-- escape characters -->
<context name="bytesescape" attribute="String Char" lineEndContext="#stay">
<!-- As this highlighting style is for both, Python 2 and 3,
we do not know if a normal string is “unicode” or not. So we
-->
<RegExpr attribute="String Char" String="\\[\\'&quot;abfnrtv]|\\[0-7]{1,3}|\\x[0-9A-Fa-f]{2}" context="#stay"/>
</context>
<!-- f-literals -->
<context name="stringinterpolation" attribute="F-String" lineEndContext="#stay">
<Detect2Chars attribute="String Char" char="{" char1="{" context="#stay"/>
<DetectChar attribute="String Substitution" char="{" context="String Interpolation"/>
<Detect2Chars attribute="String Char" char="}" char1="}" context="#stay"/>
<DetectChar attribute="Error" char="}" context="#stay"/>
</context>
<context name="String Interpolation" attribute="String Substitution" lineEndContext="#stay">
<DetectChar attribute="Error" char="\" context="#pop"/>
<RegExpr attribute="String Substitution" String="&format_spec;\}" context="#pop"/>
<IncludeRules context="Normal"/> <!-- TODO: create expression context instead -->
</context>
<!--
It follows a Binary tree of string kinds (not even touching byte literals).
The levels are:
1. triple- vs. single-quoted
2. apostrophe vs. quotation mark
3. static vs. interpolated (f-literal)
4. escaped vs. raw
Adding byte literals wouldn’t make the current 2⁴ into 2⁵ contexts, as there are no byte f-literals
-->
<!-- Triple-quoted A-strings -->
<context name="Triple A-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="String"/>
<DetectIdentifier attribute="String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="String" String="'''" context="#pop!#CheckForString" endRegion="Triple A-region"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw Triple A-string" attribute="Raw String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="Raw String"/>
<DetectIdentifier attribute="Raw String"/>
<Detect2Chars attribute="Raw String" char="\" char1="'"/>
<Detect2Chars attribute="Raw String" char="\" char1="\"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="Raw String" String="'''" context="#pop!#CheckForString" endRegion="Triple A-region"/>
</context>
<context name="Triple A-F-String" attribute="F-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="F-String"/>
<DetectIdentifier attribute="F-String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringinterpolation"/>
<StringDetect attribute="F-String" String="'''" context="#pop!#CheckForString" endRegion="Triple A-region"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw Triple A-F-String" attribute="Raw F-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="Raw F-String"/>
<DetectIdentifier attribute="Raw F-String"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="'"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="\"/>
<IncludeRules context="stringinterpolation"/>
<StringDetect attribute="Raw F-String" String="'''" context="#pop!#CheckForString" endRegion="Triple A-region"/>
</context>
<context name="Triple A-B-String" attribute="B-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<RegExpr attribute="B-String" String="([\x20-\x26\x28-\x5B\x5D-\x7E]++|\\(?=[^\\'&quot;abfnrtvx0-7])|\\x(?![0-9a-fA-F]{2})|'(?!''))++"/>
<IncludeRules context="bytesescape"/>
<StringDetect attribute="B-String" String="'''" context="#pop!#CheckForString" endRegion="Triple A-region"/>
<LineContinue attribute="String Char" context="#stay"/>
<RegExpr attribute="Error" String="."/>
</context>
<context name="Raw Triple A-B-String" attribute="Raw B-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<RegExpr attribute="Raw B-String" String="([\x20-\x26\x28-\x5B\x5D-\x7E]++|\\.?|'(?!''))++"/>
<StringDetect attribute="Raw B-String" String="'''" context="#pop!#CheckForString" endRegion="Triple A-region"/>
<RegExpr attribute="Error" String="."/>
</context>
<!-- Triple-quoted Q-strings -->
<context name="Triple Q-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="String"/>
<DetectIdentifier attribute="String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="String" String="&quot;&quot;&quot;" context="#pop!#CheckForString" endRegion="Triple Q-region"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw Triple Q-string" attribute="Raw String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="Raw String"/>
<DetectIdentifier attribute="Raw String"/>
<Detect2Chars attribute="Raw String" char="\" char1="&quot;"/>
<Detect2Chars attribute="Raw String" char="\" char1="\"/>
<IncludeRules context="stringformat"/>
<StringDetect attribute="Raw String" String="&quot;&quot;&quot;" context="#pop!#CheckForString" endRegion="Triple Q-region"/>
</context>
<context name="Triple Q-F-String" attribute="F-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="F-String"/>
<DetectIdentifier attribute="F-String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringinterpolation"/>
<StringDetect attribute="F-String" String="&quot;&quot;&quot;" context="#pop!#CheckForString" endRegion="Triple Q-region"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw Triple Q-F-String" attribute="Raw F-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<DetectSpaces attribute="Raw F-String"/>
<DetectIdentifier attribute="Raw F-String"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="&quot;"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="\"/>
<IncludeRules context="stringinterpolation"/>
<StringDetect attribute="Raw F-String" String="&quot;&quot;&quot;" context="#pop!#CheckForString" endRegion="Triple Q-region"/>
</context>
<context name="Triple Q-B-String" attribute="B-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<RegExpr attribute="B-String" String="([\x20\x21\x23-\x5B\x5D-\x7E]++|\\(?=[^\\'&quot;abfnrtvx0-7])|\\x(?![0-9a-fA-F]{2})|&quot;(?!&quot;&quot;))++"/>
<IncludeRules context="bytesescape"/>
<StringDetect attribute="B-String" String="&quot;&quot;&quot;" context="#pop!#CheckForString" endRegion="Triple Q-region"/>
<LineContinue attribute="String Char" context="#stay"/>
<RegExpr attribute="Error" String="."/>
</context>
<context name="Raw Triple Q-B-String" attribute="Raw B-String" lineEndContext="#stay" noIndentationBasedFolding="true">
<RegExpr attribute="Raw B-String" String="([\x20\x21\x23-\x5B\x5D-\x7E]++|\\.?|&quot;(?!&quot;&quot;))++"/>
<StringDetect attribute="Raw B-String" String="&quot;&quot;&quot;" context="#pop!#CheckForString" endRegion="Triple Q-region"/>
<RegExpr attribute="Error" String="."/>
</context>
<!-- Single-quoted A-strings -->
<context name="Single A-string" attribute="String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="String"/>
<DetectIdentifier attribute="String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="String" char="'" context="#pop!#CheckForString"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw A-string" attribute="Raw String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="Raw String"/>
<DetectIdentifier attribute="Raw String"/>
<Detect2Chars attribute="Raw String" char="\" char1="'"/>
<Detect2Chars attribute="Raw String" char="\" char1="\"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="Raw String" char="'" context="#pop!#CheckForString"/>
<LineContinue attribute="Raw String" context="#stay"/>
</context>
<context name="Single A-F-String" attribute="F-String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="F-String"/>
<DetectIdentifier attribute="F-String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringinterpolation"/>
<DetectChar attribute="F-String" char="'" context="#pop!#CheckForString"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw A-F-String" attribute="Raw F-String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="Raw F-String"/>
<DetectIdentifier attribute="Raw F-String"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="'"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="\"/>
<IncludeRules context="stringinterpolation"/>
<DetectChar attribute="Raw F-String" char="'" context="#pop!#CheckForString"/>
<LineContinue attribute="Raw F-String" context="#stay"/>
</context>
<context name="Single A-B-String" attribute="B-String" lineEndContext="#pop!UnfinishedStringError">
<RegExpr attribute="B-String" String="([\x20-\x26\x28-\x5B\x5D-\x7E]++|\\(?=[^\\'&quot;abfnrtvx0-7])|\\x(?![0-9a-fA-F]{2}))++"/>
<IncludeRules context="bytesescape"/>
<DetectChar attribute="B-String" char="'" context="#pop!#CheckForString"/>
<LineContinue attribute="String Char" context="#stay"/>
<RegExpr attribute="Error" String="."/>
</context>
<context name="Raw A-B-String" attribute="Raw B-String" lineEndContext="#pop!UnfinishedStringError">
<RegExpr attribute="Raw B-String" String="([\x20-\x26\x28-\x5B\x5D-\x7E]++|\\.)++"/>
<DetectChar attribute="Raw B-String" char="'" context="#pop!#CheckForString"/>
<LineContinue attribute="Raw B-String" context="#stay"/>
<RegExpr attribute="Error" String="."/>
</context>
<!-- Single-quoted Q-strings -->
<context name="Single Q-string" attribute="String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="String"/>
<DetectIdentifier attribute="String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="String" char="&quot;" context="#pop!#CheckForString"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw Q-string" attribute="Raw String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="Raw String"/>
<DetectIdentifier attribute="Raw String"/>
<Detect2Chars attribute="Raw String" char="\" char1="&quot;"/>
<Detect2Chars attribute="Raw String" char="\" char1="\"/>
<IncludeRules context="stringformat"/>
<DetectChar attribute="Raw String" char="&quot;" context="#pop!#CheckForString"/>
<LineContinue attribute="Raw String" context="#stay"/>
</context>
<context name="Single Q-F-String" attribute="F-String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="F-String"/>
<DetectIdentifier attribute="F-String"/>
<IncludeRules context="stringescape"/>
<IncludeRules context="stringinterpolation"/>
<DetectChar attribute="F-String" char="&quot;" context="#pop!#CheckForString"/>
<LineContinue attribute="String Char" context="#stay"/>
</context>
<context name="Raw Q-F-String" attribute="Raw F-String" lineEndContext="#pop!UnfinishedStringError">
<DetectSpaces attribute="Raw F-String"/>
<DetectIdentifier attribute="Raw F-String"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="&quot;"/>
<Detect2Chars attribute="Raw F-String" char="\" char1="\"/>
<IncludeRules context="stringinterpolation"/>
<DetectChar attribute="Raw F-String" char="&quot;" context="#pop!#CheckForString"/>
<LineContinue attribute="Raw F-String" context="#stay"/>
</context>
<context name="Single Q-B-String" attribute="B-String" lineEndContext="#pop!UnfinishedStringError">
<RegExpr attribute="B-String" String="([\x20\x21\x23-\x5B\x5D-\x7E]++|\\(?=[^\\'&quot;abfnrtvx0-7])|\\x(?![0-9a-fA-F]{2}))++"/>
<IncludeRules context="bytesescape"/>
<DetectChar attribute="B-String" char="&quot;" context="#pop!#CheckForString"/>
<LineContinue attribute="String Char" context="#stay"/>
<RegExpr attribute="Error" String="."/>
</context>
<context name="Raw Q-B-String" attribute="Raw B-String" lineEndContext="#pop!UnfinishedStringError">
<RegExpr attribute="Raw B-String" String="([\x20\x21\x23-\x5B\x5D-\x7E]++|\\.)++"/>
<DetectChar attribute="Raw B-String" char="&quot;" context="#pop!#CheckForString"/>
<Detect2Chars attribute="Raw B-String" char="\" char1="\"/>
<LineContinue attribute="Raw B-String" context="#stay"/>
<RegExpr attribute="Error" String="."/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Definition Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Operator" defStyleNum="dsOperator" spellChecking="false"/>
<itemData name="Operator Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
<itemData name="Flow Control Keyword" defStyleNum="dsControlFlow" spellChecking="false"/>
<itemData name="Builtin Function" defStyleNum="dsBuiltIn" spellChecking="false"/>
<itemData name="Special Variable" defStyleNum="dsVariable" spellChecking="false"/>
<itemData name="Extensions" defStyleNum="dsExtension" spellChecking="false"/>
<itemData name="Exceptions" defStyleNum="dsPreprocessor" spellChecking="false"/>
<itemData name="Overloaders" defStyleNum="dsFunction" spellChecking="false"/>
<itemData name="Import" defStyleNum="dsImport" spellChecking="false"/>
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Int" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Binary" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Complex" defStyleNum="dsOthers" spellChecking="false"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Raw String" defStyleNum="dsVerbatimString"/>
<itemData name="F-String" defStyleNum="dsSpecialString"/>
<itemData name="Raw F-String" defStyleNum="dsVerbatimString"/>
<itemData name="B-String" defStyleNum="dsString" spellChecking="false"/>
<itemData name="Raw B-String" defStyleNum="dsVerbatimString" spellChecking="false"/>
<itemData name="String Char" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="String Substitution" defStyleNum="dsSpecialChar" spellChecking="false"/>
<itemData name="Decorator" defStyleNum="dsAttribute" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError"/>
</itemDatas>
</highlighting>
<general>
<folding indentationsensitive="1" />
<emptyLines>
<emptyLine regexpr="(?:\s+|\s*#.*)"/>
</emptyLines>
<comments>
<comment name="singleLine" start="#" position="afterwhitespace"/>
</comments>
<keywords casesensitive="1" additionalDeliminator="#'"/>
</general>
</language>
<!-- kate: space-indent off; indent-width 2; -->
+174
View File
@@ -0,0 +1,174 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language>
<!-- Kate 2.5 (KDE 3.5) highlighting module for R
based on an earlier version by E.L. Willighagen. Code folding code by Ben Goodrich
version 2.0: (c) 2006 Thomas Friedrichsmeier, Arne Henningsen, and the RKWard Team
license: GPL v2
Kate : http://kate.kde.org/
R : http://www.r-project.org/
RKWard : http://rkward.kde.org/
-->
<language version="14" kateversion="5.0" name="R Script" section="Scientific" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPLv2">
<highlighting>
<list name="controls">
<item>for</item>
<item>in</item>
<item>next</item>
<item>break</item>
<item>while</item>
<item>repeat</item>
<item>if</item>
<item>else</item>
<item>switch</item>
<item>function</item>
</list>
<list name="words">
<item>TRUE</item>
<item>FALSE</item>
<item>NULL</item>
<item>NA</item>
<item>NA_integer_</item>
<item>NA_real_</item>
<item>NA_complex_</item>
<item>NA_character_</item>
<item>Inf</item>
<item>NaN</item>
</list>
<contexts>
<!-- This context is really only good for detecting unexpected closing braces '}'. Since opening braces go to ctx0 (and nesting in there), this context is only active on the base level -->
<context attribute="Normal Text" lineEndContext="#stay" name="level0">
<IncludeRules context="CommonRules"/>
<AnyChar attribute="Error" context="#stay" String="})"/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="ctx0">
<IncludeRules context="CommonRules"/>
<DetectChar attribute="Symbol" context="#pop" char="}" endRegion="Brace1" />
<DetectChar attribute="Error" context="#stay" char=")"/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="parenthesis">
<LineContinue attribute="Operator" context="#stay"/>
<DetectChar attribute="Symbol" context="#pop" char=")"/>
<RegExpr attribute="Identifier" context="#stay" String="[a-zA-Z_\.][0-9a-zA-Z_\.]*[\s]*[:]?=(?=[^=]|$)"/>
<IncludeRules context="CommonRules"/>
<DetectChar attribute="Error" context="#stay" char="}" />
</context>
<context attribute="String" lineEndContext="#stay" name="string">
<DetectChar attribute="String" context="#pop" char="&quot;"/>
<HlCStringChar attribute="String Char" context="#stay"/>
</context>
<context attribute="String" lineEndContext="#stay" name="string2">
<DetectChar attribute="String" context="#pop" char="'"/>
<HlCStringChar attribute="String Char" context="#stay"/>
</context>
<context attribute="Identifier" lineEndContext="#stay" name="backquotedsymbol">
<DetectChar attribute="String" context="#pop" char="`"/>
<HlCStringChar attribute="String Char" context="#stay"/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="operator_rhs" fallthrough="true" fallthroughContext="#pop">
<!-- While there is nothing of interest, stay in the context -->
<DetectSpaces />
<IncludeRules context="FindComments"/>
<!-- Operators other than +, -, and ! directly after another operator are an error. -->
<Detect2Chars attribute="Error" context="#stay" char="!" char1="="/>
<AnyChar attribute="Error" context="#stay" String="*/&lt;&gt;=|&amp;:^@$~"/>
</context>
<context attribute="Numeric Suffix" lineEndContext="#pop" name="NumericSuffix" fallthrough="true" fallthroughContext="#pop">
<AnyChar attribute="Numeric Suffix" context="#pop" String="Li"/>
</context>
<context attribute="Normal Text" lineEndContext="#stay" name="FindComments">
<Detect2Chars attribute="Headline" context="Headline" char="#" char1="#"/>
<DetectChar attribute="Comment" context="Comment" char="#"/>
</context>
<context attribute="Headline" lineEndContext="#pop" name="Headline">
<DetectSpaces />
<IncludeRules context="##Comments" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<DetectSpaces />
<IncludeRules context="##Comments" />
</context>
<!-- This context is not really used, but contains the common rules -->
<context name="CommonRules" lineEndContext="#stay" attribute="Normal Text" >
<DetectSpaces />
<IncludeRules context="FindComments"/>
<DetectChar attribute="String" context="string" char="&quot;"/>
<DetectChar attribute="String" context="string2" char="'"/>
<DetectChar attribute="String" context="backquotedsymbol" char="`"/>
<keyword attribute="Control Structure" context="#stay" String="controls"/>
<keyword attribute="Reserved Words" context="#stay" String="words"/>
<Float attribute="Float" context="#stay"/>
<Int attribute="Int" context="NumericSuffix"/>
<RegExpr attribute="Keyword" context="#stay" String="[a-zA-Z_]+[a-zA-Z_\.0-9]*(?=[\s]*[(])|\.[a-zA-Z_\.]+[a-zA-Z_\.0-9]*(?=[\s]*[(])"/>
<DetectChar attribute="Symbol" context="parenthesis" char="("/>
<!-- For (assignment) operators, enter a new context operator_rhs to check what follows (generally, that should not be another op) -->
<StringDetect attribute="Assign" context="operator_rhs" String="&lt;&lt;-"/>
<Detect2Chars attribute="Assign" context="operator_rhs" char="&lt;" char1="-"/>
<StringDetect attribute="Assign" context="operator_rhs" String="-&gt;&gt;"/>
<Detect2Chars attribute="Assign" context="operator_rhs" char="-" char1="&gt;"/>
<RegExpr attribute="Assign" context="operator_rhs" String="=(?!(=|&gt;))"/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="*" char1="*"/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="&lt;" char1="="/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="&gt;" char1="="/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="=" char1="="/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="=" char1="&gt;"/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="!" char1="="/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="|" char1="&gt;"/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="|" char1="|"/>
<Detect2Chars attribute="Operator" context="operator_rhs" char="&amp;" char1="&amp;"/>
<StringDetect attribute="Operator" context="operator_rhs" String=":::"/>
<Detect2Chars attribute="Operator" context="operator_rhs" char=":" char1=":"/>
<Detect2Chars attribute="Operator" context="operator_rhs" char=":" char1="="/>
<AnyChar attribute="Operator" context="operator_rhs" String="+-*/&lt;&gt;=!|&amp;:^@$~"/>
<RangeDetect attribute="Operator" context="operator_rhs" char="%" char1="%"/>
<DetectChar attribute="Symbol" context="ctx0" char="{" beginRegion="Brace1" />
<!-- This is needed only to assist variable based indentation -->
<AnyChar attribute="Symbol" context="#stay" String="[]" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Keyword" defStyleNum="dsFunction" spellChecking="false"/>
<itemData name="Identifier" defStyleNum="dsAttribute" spellChecking="false"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Headline" defStyleNum="dsDocumentation" bold="1"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Assign" defStyleNum="dsOthers" bold="1" italic="0" spellChecking="false"/>
<itemData name="Control Structure" defStyleNum="dsControlFlow" spellChecking="false"/>
<itemData name="Reserved Words" defStyleNum="dsConstant" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
<itemData name="Operator" defStyleNum="dsSpecialChar" spellChecking="false"/>
<itemData name="String Char" defStyleNum="dsSpecialChar" spellChecking="false"/>
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Int" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Numeric Suffix" defStyleNum="dsDataType" spellChecking="false"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#"/>
</comments>
<keywords casesensitive="true" weakDeliminator="." additionalDeliminator="$"/>
</general>
</language>
<!-- kate: replace-tabs off; -->
+29
View File
@@ -0,0 +1,29 @@
$if(toc)$
$if(toc-title)$
\renewcommand*\contentsname{$toc-title$}
$endif$
$if(beamer)$
\begin{frame}[allowframebreaks]
$if(toc-title)$
\frametitle{$toc-title$}
$endif$
\tableofcontents[hideallsubsections]
\end{frame}
$else$
{
$if(colorlinks)$
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
$endif$
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
}
$endif$
$endif$
$if(lof)$
\listoffigures
$endif$
$if(lot)$
\listoftables
$endif$
\newpage
\pagenumbering{arabic}
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB