diff options
author | Karl Berry <karl@freefriends.org> | 2020-10-30 20:59:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-10-30 20:59:23 +0000 |
commit | 6707278f708bc88457ed9e2e78099bad718f1d22 (patch) | |
tree | 88235941f414984c009611680928609dd6542311 /Master/texmf-dist/doc/latex | |
parent | 3953dd17963265ee59517872e804c01d96a593e9 (diff) |
hu-berlin-bundle (30oct20)
git-svn-id: svn://tug.org/texlive/trunk@56808 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/README.md | 133 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle-bibliography.bib | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pdf | bin | 368306 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-lualatex.tex | 52 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-markdown.md | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example.lco | 51 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-template.latex | 81 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/img/hu-berlin-logo.pdf | bin | 37045 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/img/texografie-logo.pdf | bin | 14903 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hu-berlin-bundle/makefile | 134 |
10 files changed, 0 insertions, 483 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 deleted file mode 100644 index e831b0693ca..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/README.md +++ /dev/null @@ -1,133 +0,0 @@ -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.ins` which is the installation file for all necessary files generated automatically - * `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` -* base package (`hu-berlin-base.sty`) - -## 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.7 (2020/10/29) -* (letter) fixed missing `\removereffields` -* (letter) added missing suffix for hu-logo (`.pdf`) - -### v1.0.6 (2020-10-22) -* (letter) changed address separator -* (letter) fixed empty minipage when no metadata given -* (letter) changed default backaddress - -### v1.0.5 (2020-04-28) -* (general) Changed logo format to `.pdf` -* (letter) Changed `\ifkomavarempty` to `\ifkomavarempty`, fixes - [github-issue nr. 1](https://github.com/LukasCBossert/hu-berlin-bundle/issues/1) - -### v1.0.4 (2019-12-19) -* Added `hu-berlin-base.sty` as a package which contains all relevant code for documents and documentclasses of the bundle. - -### v1.0.3 (2019-06-26) - * Changed the main font for compatibility with UNIX-systems (TeX Gyre Heros instead of Verdana). - -### 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/hu-berlin-bundle-bibliography.bib b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle-bibliography.bib deleted file mode 100644 index bc476221b23..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle-bibliography.bib +++ /dev/null @@ -1,22 +0,0 @@ -%% -%% 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.pdf b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pdf Binary files differdeleted file mode 100644 index 2eee4c088aa..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-bundle.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-lualatex.tex b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-lualatex.tex deleted file mode 100644 index 5f5ae13d07d..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-lualatex.tex +++ /dev/null @@ -1,52 +0,0 @@ -%% -%% This is file `hu-berlin-letter-example-lualatex.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-example} -\setkomavar{myref}{} -\setkomavar{yourref}{} -\setkomavar{yourmail}{} -\setkomavar{customer}{} -\setkomavar{invoice}{} -\setkomavar{subject}{Betreff} -\usepackage{blindtext} -\begin{document} -\begin{letter}{% - Erika Musterfrau\par - Musterweg 43\par - 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-2020 -%% -%% End of file `hu-berlin-letter-example-lualatex.tex'. diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-markdown.md b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-markdown.md deleted file mode 100644 index 22e5f8f6aeb..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example-markdown.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -documentclass: hu-berlin-letter -sender: hu-berlin-letter-example -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-example.lco b/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example.lco deleted file mode 100644 index 7de725eb8de..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-example.lco +++ /dev/null @@ -1,51 +0,0 @@ -%% -%% This is file `hu-berlin-letter-example.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-example.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-2020 -%% -%% End of file `hu-berlin-letter-example.lco'. 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 deleted file mode 100644 index 83b0d212425..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/hu-berlin-letter-template.latex +++ /dev/null @@ -1,81 +0,0 @@ -%% -%% 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-2020 -%% -%% End of file `hu-berlin-letter-template.latex'. diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/hu-berlin-logo.pdf b/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/hu-berlin-logo.pdf Binary files differdeleted file mode 100644 index 2549d79a0ce..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/hu-berlin-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/texografie-logo.pdf b/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/texografie-logo.pdf Binary files differdeleted file mode 100644 index 5609d8aee5d..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/img/texografie-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/hu-berlin-bundle/makefile b/Master/texmf-dist/doc/latex/hu-berlin-bundle/makefile deleted file mode 100644 index 85956df80de..00000000000 --- a/Master/texmf-dist/doc/latex/hu-berlin-bundle/makefile +++ /dev/null @@ -1,134 +0,0 @@ -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-example-markdown.pdf hu-berlin-letter-example-markdown.md - -letter: files - latexmk -lualatex -gg -interaction=nonstopmode hu-berlin-letter-example-lualatex.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 - lualatex $(PROJECT).ins - $(echoPROJECT) "* source files created * $(NC)" - -$(PROJECT).ins: - lualatex $(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 - $(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) - -@rm -f img/.DS_Store - @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)" - -# This will check whether there is the folder -# .pandoc in the main directory -pandoc-files: -ifneq ("$(wildcard ~/.pandoc/templates/)","") - $(echoPROJECT) "* pandoc/templates/ exists. * $(NC)" -else - $(echoPROJECT) "* pandoc/templates/ missing, creating it. * $(NC)" - mkdir ~/.pandoc - mkdir ~/.pandoc/templates -endif - cp hu-berlin-*-template.* ~/.pandoc/templates/ - - - -install: uninstall files - @mkdir -p $(LOCAL)/{tex,source,doc}/latex/$(PROJECT) - @cp $(PROJECT).{dtx,ins} $(LOCAL)/source/latex/$(PROJECT) - @cp hu-berlin-*.{cls,sty} $(LOCAL)/tex/latex/$(PROJECT) - @cp img/* $(LOCAL)/tex/latex/$(PROJECT) - @cp $(PROJECT).pdf $(LOCAL)/doc/latex/$(PROJECT) - mktexlsr - $(MAKE) pandoc-files - $(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)" |