diff options
author | Karl Berry <karl@freefriends.org> | 2019-06-23 21:31:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-06-23 21:31:16 +0000 |
commit | 3ba7e320afa4df036ea0ffc16909910af8f3c6a7 (patch) | |
tree | 6200c5cd62ed95a82c85eaa76f86ca95a075040d /Master/texmf-dist/doc/latex | |
parent | 0d626fef69361eb0ff9bc0bf8aecff696be3f7da (diff) |
hu-berlin-bundle (23jun19)
git-svn-id: svn://tug.org/texlive/trunk@51439 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
13 files changed, 606 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/README.md b/Master/texmf-dist/doc/latex/hu-berlin-bundle/README.md new file mode 100644 index 00000000000..298586e8072 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/README.md @@ -0,0 +1,111 @@ +hu-berlin-bundle +================ + +This package provides files according to the corporate design +for the Humboldt-Universität zu Berlin. +It is _no_ official package of the university itself and +not officially approved by it. + +You find more information in the official [corporate design guideline](https://www.hu-berlin.de/de/hu-intern/design/basiselemente/leitfaden-corporate-design-hu.pdf) +and on the website <https://www.hu-berlin.de/de/hu-intern/design>. + +## Documents and Documentations for hu-berlin bundle + +This bundle provides following files: + + * `hu-berlin-bundle.dtx` which is the core file designed with literate programming + * `hu-berlin-bundle.pdf` is documentation of the bundle. + * `README.md` + * `makefile` + +All other files can and will be generated from the `.dtx` file (see below). + +Furthermore there is the folder `img` which contains the necessary image files. + +This work has the LPPL maintenance status _maintained_. +The current maintainer of this work is [Lukas C. Bossert](https://github.com/lukascbossert). + +You find this bundle versioned and available on [Zenodo](https://doi.org/10.5281/zenodo.3251728) + + +With this (unofficial) bundle you have several documents which are designed according to the corporate design of the Humboldt-Universität zu Berlin. + +Following documents or documentclasses are available: + +* letter (`hu-berlin-letter.cls`); via `.tex` and `.md` + +## Installation of the bundle +`hu-berlin` is part of the distributions [MiKTeX](http://www.miktex.org) +and [TeXLive](http://www.tug.org/texlive) -- thus, you +can easily install it using the respective package manager. +If you would like to +install `hu-berlin-bundle` into your local folder manually, do the following: +Go to your terminal, browse to the folder of this bundle and run + +``` +make install +``` + +If you are using macOS you might be asked for your user account password for the installation. + +Further options of this makefile are: + +* `clean`: deletes all unnecessary files +* `cleanbundle`: deletes all files except `.dtx`, `.md`. You will get the plain version of this bundle. +This might be helpful if you send the bundle to someone else. +* `ctan`: this will create a zip file which can be used to send to CTAN. +* `files`: will only create the files from the `.dtx`-scratch. +* `uninstall`: will erase the locally installed files. + +This bundle is constantly updated. For hints, errors or suggestions use the GitHub repository [https://github.com/LukasCBossert/hu-berlin-bundle](https://github.com/LukasCBossert/hu-berlin-bundle). + +## Changelog + +All notable changes to this project will be documented in the [README.md](https://github.com/LukasCBossert/hu-berlin-bundle/blob/master/README.md). +This project **does not** adhere to [Semantic Versioning](http://semver.org/). +The markdown syntax is inspired by the conventions proposed by [keepachangelog.com](http://keepachangelog.com/). + +### v1.0.2 (2019-06-22) + Renaming files for CTAN compatability. + +### v1.0.1 (2019-06-21) + Internal changes for publishing. Still one documentclass for a letter. + +### v1.0.0 (2019-06-21) + First release with a documentclass for letter. + +## Copyright +Various parts of this bundle have different copyrights. +If not otherwise stated the copyright is [The LaTeX project public license (LPPL), version 1.3c](https://www.latex-project.org/lppl/lppl-1-3c/) + +### Boilerplate / markdown-template +The template for the markdown conversion, +forked from the pandoc-templates and [JensErat pandoc-scrlttr2](https://github.com/JensErat/pandoc-scrlttr2) is dual-licensed, +under both the GPL (v2 or higher, same as pandoc) and the BSD 3-clause license (included below). + +---- + +Copyright (c) 2014, John MacFarlane\\ +Copyright (c) 2014, Jens Erat\\ +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of John MacFarlane nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/_markdown_hu-berlin-bundle/db25e2d0d63bb13c61fd6ffbbb2be887.md.tex b/Master/texmf-dist/doc/latex/hu-berlin-bundle/_markdown_hu-berlin-bundle/db25e2d0d63bb13c61fd6ffbbb2be887.md.tex new file mode 100644 index 00000000000..3d7abd18455 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/_markdown_hu-berlin-bundle/db25e2d0d63bb13c61fd6ffbbb2be887.md.tex @@ -0,0 +1,42 @@ +%</driver> % /* % ██████ ███████ █████ ██████ ███ ███ ███████ % ▄ ██ ▄██ ██ ██ ██ ██ ██ ██ ████ ████ ██ % ████ ██████ █████ ███████ ██ ██ ██ ████ ██ █████ % ▀ ██ ▀██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ % ██ ██ ███████ ██ ██ ██████ ██ ██ ███████ % \markdownRendererEmphasis{/ %<}readme,main>\markdownRendererInterblockSeparator +{}With this (unofficial) bundle you have several documents which are designed according to the corporate design of the Humboldt-Universität zu Berlin.\markdownRendererInterblockSeparator +{}Following documents or documentclasses are available:\markdownRendererInterblockSeparator +{}\markdownRendererUlBegin +\markdownRendererUlItem letter (\markdownRendererCodeSpan{hu-berlin-letter.cls}); via \markdownRendererCodeSpan{.tex} and \markdownRendererCodeSpan{.md}\markdownRendererUlItemEnd +\markdownRendererUlEnd \markdownRendererInterblockSeparator +{}\markdownRendererHeadingTwo{Installation of the bundle}\markdownRendererInterblockSeparator +{}\markdownRendererCodeSpan{hu-berlin} is part of the distributions \markdownRendererLink{MiKTeX}{http://www.miktex.org}{http://www.miktex.org}{} and \markdownRendererLink{TeXLive}{http://www.tug.org/texlive}{http://www.tug.org/texlive}{} -- thus, you can easily install it using the respective package manager. If you would like to install \markdownRendererCodeSpan{hu-berlin-bundle} into your local folder manually, do the following: Go to your terminal, browse to the folder of this bundle and run\markdownRendererInterblockSeparator +{}\markdownRendererCodeSpan{ +make install +}\markdownRendererInterblockSeparator +{}If you are using macOS you might be asked for your user account password for the installation.\markdownRendererInterblockSeparator +{}Further options of this makefile are:\markdownRendererInterblockSeparator +{}\markdownRendererUlBegin +\markdownRendererUlItem \markdownRendererCodeSpan{clean}: deletes all unnecessary files\markdownRendererUlItemEnd +\markdownRendererUlItem \markdownRendererCodeSpan{cleanbundle}: deletes all files except \markdownRendererCodeSpan{.dtx}, \markdownRendererCodeSpan{.md}. You will get the plain version of this bundle. This might be helpful if you send the bundle to someone else.\markdownRendererUlItemEnd +\markdownRendererUlItem \markdownRendererCodeSpan{ctan}: this will create a zip file which can be used to send to CTAN.\markdownRendererUlItemEnd +\markdownRendererUlItem \markdownRendererCodeSpan{files}: will only create the files from the \markdownRendererCodeSpan{.dtx}-scratch.\markdownRendererUlItemEnd +\markdownRendererUlItem \markdownRendererCodeSpan{uninstall}: will erase the locally installed files.\markdownRendererUlItemEnd +\markdownRendererUlEnd \markdownRendererInterblockSeparator +{}This bundle is constantly updated. For hints, errors or suggestions use the GitHub repository \markdownRendererLink{https://github.com/LukasCBossert/hu-berlin-bundle}{https://github.com/LukasCBossert/hu-berlin-bundle}{https://github.com/LukasCBossert/hu-berlin-bundle}{}.\markdownRendererInterblockSeparator +{}\markdownRendererHeadingTwo{Changelog}\markdownRendererInterblockSeparator +{}All notable changes to this project will be documented in the \markdownRendererLink{README.md}{https://github.com/LukasCBossert/hu-berlin-bundle/blob/master/README.md}{https://github.com/LukasCBossert/hu-berlin-bundle/blob/master/README.md}{}. This project \markdownRendererStrongEmphasis{does not} adhere to \markdownRendererLink{Semantic Versioning}{http://semver.org/}{http://semver.org/}{}. The markdown syntax is inspired by the conventions proposed by \markdownRendererLink{keepachangelog.com}{http://keepachangelog.com/}{http://keepachangelog.com/}{}.\markdownRendererInterblockSeparator +{}\markdownRendererHeadingThree{v1.0.2 (2019-06-22)}\markdownRendererInterblockSeparator +{}Renaming files for CTAN compatability.\markdownRendererInterblockSeparator +{}\markdownRendererHeadingThree{v1.0.1 (2019-06-21)}\markdownRendererInterblockSeparator +{}Internal changes for publishing. Still one documentclass for a letter.\markdownRendererInterblockSeparator +{}\markdownRendererHeadingThree{v1.0.0 (2019-06-21)}\markdownRendererInterblockSeparator +{}First release with a documentclass for letter.\markdownRendererInterblockSeparator +{}\markdownRendererHeadingTwo{Copyright}\markdownRendererInterblockSeparator +{}Various parts of this bundle have different copyrights. If not otherwise stated the copyright is \markdownRendererLink{The LaTeX project public license (LPPL), version 1.3c}{https://www.latex-project.org/lppl/lppl-1-3c/}{https://www.latex-project.org/lppl/lppl-1-3c/}{}\markdownRendererInterblockSeparator +{}\markdownRendererHeadingThree{Boilerplate / markdown-template}\markdownRendererInterblockSeparator +{}The template for the markdown conversion, forked from the pandoc-templates and \markdownRendererLink{JensErat pandoc-scrlttr2}{https://github.com/JensErat/pandoc-scrlttr2}{https://github.com/JensErat/pandoc-scrlttr2}{} is dual-licensed, under both the GPL (v2 or higher, same as pandoc) and the BSD 3-clause license (included below).\markdownRendererInterblockSeparator +{}\markdownRendererHorizontalRule{}\markdownRendererInterblockSeparator +{}Copyright (c) 2014, John MacFarlane\ Copyright (c) 2014, Jens Erat\ All rights reserved.\markdownRendererInterblockSeparator +{}Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\markdownRendererInterblockSeparator +{}\markdownRendererUlBegin +\markdownRendererUlItem Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\markdownRendererUlItemEnd +\markdownRendererUlItem Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\markdownRendererUlItemEnd +\markdownRendererUlItem Neither the name of John MacFarlane nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.\markdownRendererUlItemEnd +\markdownRendererUlEnd \markdownRendererInterblockSeparator +{}THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. %</readme,main> % /* % ██ ██████ ███████ █████ ██████ ███ ███ ███████ % ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██ % ██ ██████ █████ ███████ ██ ██ ██ ████ ██ █████ % ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ % ██ ██ ██ ███████ ██ ██ ██████ ██ ██ ███████ % \markdownRendererEmphasis{/ %<}driver>\relax
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle-bibliography.bib b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle-bibliography.bib new file mode 100644 index 00000000000..bc476221b23 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle-bibliography.bib @@ -0,0 +1,22 @@ +%% +%% Encoding: UTF-8 +%% +@InCollection{Hoare1973, + author = {Charles Antony Richard Hoare}, + title = {Hints on programming language design}, + editor = {C. Bunyan}, + booktitle = {Computer Systems Reliability}, + series = {State of the Art Report}, + number = {20}, + pages = {193--216}, + date = {1973}, + url={http://flint.cs.yale.edu/cs428/doc/HintsPL.pdf}, + urldate={2018-09-06}, + comment = {\blockcquote[195]{Hoare1973}{Documentation must be regarded as an integral part of the process of design and coding. + A good programming language will encourage and assist the programmer to write clear, + self-documenting code, + and even perhaps to develop + and display a pleasant style + of writing.}} +} + diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.markdown.in b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.markdown.in new file mode 100644 index 00000000000..eca7436273e --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.markdown.in @@ -0,0 +1,108 @@ +%</driver> +% /* +% ██████ ███████ █████ ██████ ███ ███ ███████ +% ▄ ██ ▄██ ██ ██ ██ ██ ██ ██ ████ ████ ██ +% ████ ██████ █████ ███████ ██ ██ ██ ████ ██ █████ +% ▀ ██ ▀██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ +% ██ ██ ███████ ██ ██ ██████ ██ ██ ███████ +% */ +%<*readme,main> + +With this (unofficial) bundle you have several documents which are designed according to the corporate design of the Humboldt-Universität zu Berlin. + + +Following documents or documentclasses are available: + +* letter (`hu-berlin-letter.cls`); via `.tex` and `.md` + + + +## Installation of the bundle +`hu-berlin` is part of the distributions [MiKTeX](http://www.miktex.org) +and [TeXLive](http://www.tug.org/texlive) -- thus, you +can easily install it using the respective package manager. +If you would like to +install `hu-berlin-bundle` into your local folder manually, do the following: +Go to your terminal, browse to the folder of this bundle and run + +``` +make install +``` + + +If you are using macOS you might be asked for your user account password for the installation. + + +Further options of this makefile are: + +* `clean`: deletes all unnecessary files +* `cleanbundle`: deletes all files except `.dtx`, `.md`. You will get the plain version of this bundle. +This might be helpful if you send the bundle to someone else. +* `ctan`: this will create a zip file which can be used to send to CTAN. +* `files`: will only create the files from the `.dtx`-scratch. +* `uninstall`: will erase the locally installed files. + + +This bundle is constantly updated. For hints, errors or suggestions use the GitHub repository [https://github.com/LukasCBossert/hu-berlin-bundle](https://github.com/LukasCBossert/hu-berlin-bundle). + +## Changelog + +All notable changes to this project will be documented in the [README.md](https://github.com/LukasCBossert/hu-berlin-bundle/blob/master/README.md). +This project **does not** adhere to [Semantic Versioning](http://semver.org/). +The markdown syntax is inspired by the conventions proposed by [keepachangelog.com](http://keepachangelog.com/). + +### v1.0.2 (2019-06-22) + Renaming files for CTAN compatability. + + +### v1.0.1 (2019-06-21) + Internal changes for publishing. Still one documentclass for a letter. + +### v1.0.0 (2019-06-21) + First release with a documentclass for letter. + +## Copyright +Various parts of this bundle have different copyrights. +If not otherwise stated the copyright is [The LaTeX project public license (LPPL), version 1.3c](https://www.latex-project.org/lppl/lppl-1-3c/) + + +### Boilerplate / markdown-template +The template for the markdown conversion, +forked from the pandoc-templates and [JensErat pandoc-scrlttr2](https://github.com/JensErat/pandoc-scrlttr2) is dual-licensed, +under both the GPL (v2 or higher, same as pandoc) and the BSD 3-clause license (included below). + +---- + +Copyright (c) 2014, John MacFarlane\\ +Copyright (c) 2014, Jens Erat\\ +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of John MacFarlane nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +%</readme,main> +% /* +% ██ ██████ ███████ █████ ██████ ███ ███ ███████ +% ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██ +% ██ ██████ █████ ███████ ██ ██ ██ ████ ██ █████ +% ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ +% ██ ██ ██ ███████ ██ ██ ██████ ██ ██ ███████ +% */ +%<*driver> diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pdf b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pdf Binary files differnew file mode 100644 index 00000000000..e4f36cadb60 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pdf diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pkglist b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pkglist new file mode 100644 index 00000000000..111eed8de14 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pkglist @@ -0,0 +1,8 @@ +scrlttr2 +graphicx +marvosym +scrlayer-scrpage +geometry +fontspec +hyperxmp +hyperref diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-template.latex b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-template.latex new file mode 100644 index 00000000000..6d00463b5dc --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-template.latex @@ -0,0 +1,81 @@ +%% +%% This is file `hu-berlin-letter-template.latex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hu-berlin-bundle.dtx (with options: `template,letter-md') +%% ---------------------------------------------------------------- +%% hu-berlin-bundle +%% Author: Lukas C. Bossert +%% E-mail: lukas@texografie.de +%% License: Released under the LaTeX Project Public License v1.3c or later +%% See: http://www.latex-project.org/lppl.txt +%% Various parts my have a different licence, +%% please consider and respect them carefully. +%% ---------------------------------------------------------------- +%% +\documentclass{hu-berlin-letter} +\newkomavar{opening} +\newkomavar{closing} +\setkomavar{opening}{Sehr geehrte Damen und Herren} +\setkomavar{closing}{Mit freundlichen Grüßen} +$for(letteroption)$ +\LoadLetterOption{$letteroption$} +$endfor$ +$if(sender)$\LoadLetterOption{$sender$}$endif$ +$if(addresseeimage)$\setkomavar{addresseeimage}{$addresseeimage$}$endif$ +$if(backaddress)$\setkomavar{backaddress}{$backaddress$}\KOMAoptions{backaddress=true}$endif$ +$if(fromalign)$\KOMAoptions{fromalign=$fromalign$}$endif$ +$if(customer)$\setkomavar{customer}{$customer$}$endif$ +$if(date)$\setkomavar{date}{$date$}$endif$ +$if(fromaddress)$\setkomavar{fromaddress}{$fromaddress$}$endif$ +$if(frombank)$\setkomavar{frombank}{$frombank$}$endif$ +$if(fromemail)$\setkomavar{fromemail}{$fromemail$}\KOMAoptions{fromemail=true}$endif$ +$if(fromfax)$\setkomavar{fromfax}{$fromfax$}\KOMAoptions{fromfax=true}$endif$ +$if(fromlogo)$\setkomavar{fromlogo}{$fromlogo$}\KOMAoptions{fromlogo=true}$endif$ +$if(frommobilephone)$\setkomavar{frommobilephone}{$frommobilephone$}\KOMAoptions{frommobilephone=true}$endif$ +$if(fromname)$\setkomavar{fromname}{$fromname$}$endif$ +$if(fromphone)$\setkomavar{fromphone}{$fromphone$}\KOMAoptions{fromphone=true}$endif$ +$if(fromurl)$\setkomavar{fromurl}{$fromurl$}\KOMAoptions{fromurl=true}$endif$ +$if(fromzipcode)$\setkomavar{fromzipcode}{$fromzipcode$}$endif$ +$if(invoice)$\setkomavar{invoice}{$invoice$}$endif$ +$if(location)$\setkomavar{location}{$location$}$endif$ +$if(myref)$\setkomavar{myref}{$myref$}$endif$ +$if(myrefname)$\setkomavar*{myref}{$myrefname$}$endif$ +$if(place)$\setkomavar{place}{$place$}$endif$ +$if(PPcode)$\setkomavar{PPcode}{$PPcode$}$endif$ +$if(signature)$\setkomavar{signature}{$signature$}$endif$ +$if(specialmail)$\setkomavar{specialmail}{$specialmail$}$endif$ +$if(subject)$\setkomavar{subject}{$subject$}$endif$ +$if(title)$\setkomavar{title}{$title$}$endif$ +$if(yourmail)$\setkomavar{yourmail}{$yourmail$}$endif$ +$if(yourref)$\setkomavar{yourref}{$yourref$}$endif$ +$if(opening)$\setkomavar{opening}{$opening$}$endif$ +$if(closing)$\setkomavar{closing}{$closing$}$endif$ +$if(firstfoot)$\setkomavar{firstfoot}{$firstfoot$}$endif$ +$if(addressee)$ +$else$ +\KOMAoptions{addrfield=false} +$endif$ +\begin{document} +\begin{letter}{% +$for(addressee)$ +$addressee$$sep$\\ +$endfor$ +} +$for(include-before)$ +$include-before$ +$endfor$ +\opening{\usekomavar{opening}} +$body$ +\closing{\usekomavar{closing}} +$if(ps)$\ps{$ps$}$endif$ +$if(encl)$\encl{$encl$}$endif$ +$for(include-after)$$include-after$$endfor$ +\end{letter} +\end{document} +%% +%% Copyright (C) 2019 +%% +%% End of file `hu-berlin-letter-template.latex'. diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.lco b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.lco new file mode 100644 index 00000000000..4e2c2ee30f0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.lco @@ -0,0 +1,51 @@ +%% +%% This is file `hu-berlin-letter.lco', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hu-berlin-bundle.dtx (with options: `example,lco') +%% ---------------------------------------------------------------- +%% hu-berlin-bundle +%% Author: Lukas C. Bossert +%% E-mail: lukas@texografie.de +%% License: Released under the LaTeX Project Public License v1.3c or later +%% See: http://www.latex-project.org/lppl.txt +%% Various parts my have a different licence, +%% please consider and respect them carefully. +%% ---------------------------------------------------------------- +%% +\ProvidesFile{hu-berlin-letter.lco} +\setkomavar{fromname} +[Wissenschaftlicher Mitarbeiter] +{Dr. Max Mustermann} +\setkomavar{fromemail}{max.mustermann@hu-berlin.de} +\setkomavar{fromphone}{1234} +\setkomavar{fromfax}{5678} +\setkomavar{fromurl}{www.hu-berlin.de} +\setkomavar{backaddress}{HU Berlin\\ +Unter den Linden 6\\ +D-10099 Berlin} +\setkomavar{faculty}{% +Philosophische Fakultät +} +\setkomavar{institute}{% + \mbox{Institut für Briefvorlagen} +} +\setkomavar{institute.additional}{Here you can add more text.} +\setkomavar{institute.head}[Dekanin]{Prof. Dr. Maike Musterfrau} +\setkomavar{institute.head.mail}{maike.musterfrau@hu-berlin.de} +\setkomavar{local}{% + Mohrenstraße 40/41\\ + Zimmer X\\ + D-10117 Berlin} +\setkomavar{connections}{U Bahnhof Hausvogteiplatz (U2)} +\setkomavar{accessibility}{Hausvogteiplatz} +\setkomavar{signature}{% + \usekomavar{institute.head} -- + \usekomavar{fromname} +} +%% +%% Copyright (C) 2019 +%% +%% End of file `hu-berlin-letter.lco'. diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.md b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.md new file mode 100644 index 00000000000..e3839341838 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.md @@ -0,0 +1,10 @@ +--- +documentclass: hu-berlin-letter +sender: hu-berlin-letter +subject: Short description +addressee: +- Alexander von Humboldt +- Unter den Linden 6 +- 10099 Berlin +--- +Thank you very much for your letter. diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.tex b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.tex new file mode 100644 index 00000000000..152adfc2dee --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter.tex @@ -0,0 +1,52 @@ +%% +%% This is file `hu-berlin-letter.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hu-berlin-bundle.dtx (with options: `example,letter') +%% ---------------------------------------------------------------- +%% hu-berlin-bundle +%% Author: Lukas C. Bossert +%% E-mail: lukas@texografie.de +%% License: Released under the LaTeX Project Public License v1.3c or later +%% See: http://www.latex-project.org/lppl.txt +%% Various parts my have a different licence, +%% please consider and respect them carefully. +%% ---------------------------------------------------------------- +%% +\documentclass{hu-berlin-letter} +\LoadLetterOption{hu-berlin-letter} +\setkomavar{myref}{} +\setkomavar{yourref}{} +\setkomavar{yourmail}{} +\setkomavar{customer}{} +\setkomavar{invoice}{} +\setkomavar{subject}{Betreff} +\usepackage{blindtext} +\begin{document} +\begin{letter}{% + Erika Musterfrau\\ + Musterweg 43\\ + 56789 Musterhausen% +} +\opening{Sehr geehrte Frau Musterfrau,} +\blindtext[2] +\clearpage +\blindtext +\closing{Mit freundlichen Grüßen} +\ps PS: \dots +\encl{% + Anlage 1\\ + Anlage 2% +} +\cc{% + Verteiler 1\\ + Verteiler 2% +} +\end{letter} +\end{document} +%% +%% Copyright (C) 2019 +%% +%% End of file `hu-berlin-letter.tex'. diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/hu-berlin-logo.jpg b/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/hu-berlin-logo.jpg Binary files differnew file mode 100644 index 00000000000..e669ea61ed2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/hu-berlin-logo.jpg diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/texografie.png b/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/texografie.png Binary files differnew file mode 100644 index 00000000000..d79462cc236 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/texografie.png diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/makefile b/Master/texmf-dist/doc/latex/hu-berlin-bundle/makefile new file mode 100644 index 00000000000..9b1f7675bb0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hu-berlin-bundle/makefile @@ -0,0 +1,121 @@ +PROJECT:=hu-berlin-bundle +SHELL = bash +MAKE = make +CTANBIB = $(PROJECT)-ctan.bib +PKG = $(shell cat $(PROJECT).pkglist) +CTAN = ctanbib $$pkg >> $(CTANBIB) && echo "... $$pkg" +# install +LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL) +# zip +PWD = $(shell pwd) +TEMP := $(shell mktemp -d -t tmp.XXXXXXXXXX) +TDIR = $(TEMP)/$(PROJECT) +VERS = $(shell /bin/date "+%Y-%m-%d---%H-%M-%S") +DATE = $(shell /bin/date "+%Y-%m-%d") +# Colors +RED = \033[0;31m +CYAN = \033[0;36m +NC = \033[0m +echoPROJECT = @echo -e "$(CYAN) <$(PROJECT)>$(RED)" + + + +.PHONY: test + +all: doc + + + +examples: files + $(MAKE) letter + $(MAKE) md2pdf-letter + +md2pdf-letter: files + pandoc --pdf-engine=lualatex --template hu-berlin-letter-template.latex -o hu-berlin-letter-markdown.pdf hu-berlin-letter.md + +letter: files + latexmk -lualatex -interaction=nonstopmode hu-berlin-letter.tex + +# How to get information from CTAN +CTAN: $(PROJECT).pkglist + @for pkg in $(PKG);\ + do \ + $(CTAN); \ + done + +# before we retrieve infos from CTAN +# we clean and sort the list with packages +getCTAN: $(PROJECT).pkglist + $(echoPROJECT) "$(RED)Retrieving$(NC) information from CTAN." + $(echoPROJECT) "Fetching information from CTAN about package...$(NC)" + @-rm $(CTANBIB) + $(shell sort -u $(PROJECT).pkglist > $(TEMP)/pkg1.lst) + mv $(TEMP)/pkg1.lst $(PROJECT).pkglist + $(MAKE) CTAN + +$(PROJECT).pkglist: + lualatex $(PROJECT).dtx + +files: $(PROJECT).ins + latex $(PROJECT).ins + $(echoPROJECT) "* source files created * $(NC)" + +$(PROJECT).ins: + latex $(PROJECT).dtx + +doc: files + $(MAKE) $(PROJECT).pdf + # $(MAKE) install + $(MAKE) examples + latexmk -lualatex -f --shell-escape $(PROJECT).dtx + $(echoPROJECT) "* $(PROJECT).pdf created * $(NC)" + @exit 0 + +$(PROJECT).pdf: getCTAN files + $(echoPROJECT) "* creating $(PROJECT).pdf * $(NC)" + latexmk -lualatex -f --shell-escape $(PROJECT).dtx + open $(PROJECT).pdf + $(echoPROJECT) "* $(PROJECT).pdf created * $(NC)" + +# clean all temporary files +clean: + rm -f $(PROJECT).{sectionbibs.aux,fls,pkglist,thm,bibexample,biographies.aux,xdv,aux,mw,bbl,bcf,blg,doc,fdb_latexmk,fls,glo,gls,hd,idx,ilg,ind,listing,log,nav,out,run.xml,snm,synctex.gz,toc,vrb} + rm -f $(PROJECT).markdown.{in,lua,out} + rm -f *.{log,aux,latexmk} + rm -rf _markdown_* + $(echoPROJECT) "* cleaned temp files * $(NC)" + +ctan: $(PROJECT).dtx + $(echoPROJECT) "* start zipping files * $(NC)" + @-mkdir archive + @rm -f archive/$(PROJECT)-$(DATE)*.zip + @mkdir $(TDIR) + @cp $(PROJECT).{dtx,pdf} README.md makefile $(TDIR) + @cp -R img $(TDIR) + @cd $(TEMP); \ + zip -Drq $(PWD)/archive/$(PROJECT)-$(VERS).zip $(PROJECT) + $(echoPROJECT) "* files zipped * $(NC)" + + +# clean all files +cleanbundle: clean + rm -f *.{{b,c,d,l}bx,ins,pdf,zip,bib,sty,cls} + rm -f hu-berlin-letter*.{tex,md,lco,latex} + $(echoPROJECT) "* cleaned all files * $(NC)" + + +install: uninstall + @mkdir -p $(LOCAL)/{tex,source,doc}/latex/$(PROJECT) + @cp $(PROJECT).{dtx,ins} $(LOCAL)/source/latex/$(PROJECT) + @cp hu-berlin-*.cls $(LOCAL)/tex/latex/$(PROJECT) + @cp img/* $(LOCAL)/tex/latex/$(PROJECT) + @cp $(PROJECT).pdf $(LOCAL)/doc/latex/$(PROJECT) + mktexlsr + @cp hu-berlin-*-template.* ~/.pandoc/templates/ + $(echoPROJECT) "* all files installed * $(NC)" + + +uninstall: + @rm -rf $(LOCAL)/{tex,source,doc}/latex/$(PROJECT) + @rm -rf $(LOCAL)/{tex/latex,bibtex/bib}/$(PROJECT) + $(echoPROJECT) "* all files uninstalled * $(NC)" |