texlive[47839] Master: biblatex-socialscienceshuberlin (25may18)

commits+karl at tug.org commits+karl at tug.org
Sat May 26 00:33:03 CEST 2018


Revision: 47839
          http://tug.org/svn/texlive?view=revision&revision=47839
Author:   karl
Date:     2018-05-26 00:33:02 +0200 (Sat, 26 May 2018)
Log Message:
-----------
biblatex-socialscienceshuberlin (25may18)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/
    trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/README.md
    trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin-examples.bib
    trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.tex
    trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/
    trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/german-socialscienceshuberlin.lbx
    trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.cbx
    trunk/Master/tlpkg/tlpsrc/biblatex-socialscienceshuberlin.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/README.md	2018-05-25 22:33:02 UTC (rev 47839)
@@ -0,0 +1,55 @@
+biblatex-socialscienceshuberlin    
+======= 
+
+bibLaTeX-style for the social sciences at the Humboldt-Universität zu Berlin
+---
+_2018/05/24 v0.0.1_
+
+
+
+Copyright (c) 2018 Lukas C. Bossert
+
+* Email: [lukas at digitales-altertum.de](mailto:lukas at digitales-altertum.de)
+
+
+This style contains:
+
+documentation:
+
+- socialscienceshuberlin.pdf
+- socialscienceshuberlin.tex
+
+
+mandatory:
+
+* socialscienceshuberlin.cbx
+* socialscienceshuberlin.bbx
+* german-socialscienceshuberlin.lbx
+
+optional:
+
+* socialscienceshuberlin-examples.bib
+
+# Changelog
+
+All notable changes to this project will be documented in this file.
+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/).
+
+## v0.0.1 (2018-05-23) 
+
+* initial commit
+
+
+______________________
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in [http://www.latex-project.org/lppl.txt](http://www.latex-project.org/lppl.txt) and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+---
+This work has the LPPL maintenance status _maintained_.
+The current maintainer of this work is [Lukas C. Bossert](https://github.com/LukasCBossert).
+


Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin-examples.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin-examples.bib	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin-examples.bib	2018-05-25 22:33:02 UTC (rev 47839)
@@ -0,0 +1,31 @@
+ @InCollection{DelPercio2014,
+  author    = {Del Percio, Alfonso and Reisigl, Martin},
+  title     = {Angewandte Diskursforschung},
+  booktitle = {Diskursforschung - Ein interdisziplinäres Handbuch},
+  publisher = {transcript Verlag},
+  isbn      = {9783839427224},
+  date      = {2014},
+  location  = {Bielefeld},
+}
+
+ at InCollection{Angermuller2014c,
+  author    = {Angermuller, Johannes and Macgilchrist, Felicitas},
+  title     = {Einleitung: Konzepte und Kontroversen der Diskurstheorie},
+  booktitle = {Diskursforschung: ein interdisziplinäres Handbuch},
+  editor = {Hans Wurst and Mickey Mouse},
+  publisher = {transcript Verlag},
+  pages     = {17--20},
+  date      = {2014},
+  origdate  = {1999},
+  location  = {Bielefeld},
+}
+
+ at Book{Motakef2015,
+  title     = {Prekarisierung},
+  publisher = {transcript Verlag},
+  author    = {Motakef, Mona},
+  isbn      = {978-3-8376-2566-0},
+  date      = {2015},
+  location  = {Bielefeld},
+  url       = {http://www.transcript-verlag.de/978-3-8376-2566-0/prekarisierung},
+}


Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin-examples.bib
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.pdf	2018-05-25 22:32:19 UTC (rev 47838)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.pdf	2018-05-25 22:33:02 UTC (rev 47839)

Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.tex	2018-05-25 22:33:02 UTC (rev 47839)
@@ -0,0 +1,482 @@
+% biblatex-socialsciences|huberlin --%
+% Copyright (c) 2018 and
+% maintained by Lukas C. Bossert
+%  
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+
+%%%%% Disclaimer %%%%%%%%%%%%%%%%%%%%%
+% The code of this documentation     %
+% has been taken form 'biblatex-ext' %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ 
+\documentclass[DIV=11]{scrartcl}
+\usepackage{ifxetex,ifluatex}
+\newif\iffontspec
+\ifxetex
+  \fontspectrue
+\else\ifluatex
+  \fontspectrue
+\else 
+  \fontspecfalse
+\fi\fi
+\iffontspec
+  \usepackage{fontspec}
+\else
+  \usepackage[T1]{fontenc}
+  \usepackage[utf8]{inputenc} 
+\fi
+\usepackage[british]{babel}
+\usepackage{csquotes}
+
+
+\usepackage[useregional]{datetime2}
+\iffontspec  
+\setmainfont[ 
+%  Scale       = 0.95,
+%  Numbers  = {OldStyle},
+  Numbers={Proportional},
+%	BoldItalicFont = Gentium Book Basic Bold Italic,
+ 	Ligatures   = TeX,
+  BoldFont={Gentium Basic Bold},
+%	BoldFont    = GenBasB,
+%  BoldFont={Gentium Basic Bold},
+]{Gentium Plus}
+\setsansfont[
+  Ligatures     = TeX,
+  BoldFont      = Dosis-SemiBold,
+  ItalicFont    = Dosis-Regular,
+  ItalicFeatures={FakeSlant=0.25}
+]{Dosis-Light}
+\else
+\usepackage{lmodern} 
+\usepackage[mono=false]{libertine}
+\usepackage[libertine]{newtxmath}
+  \usepackage[scaled=0.78]{beramono}
+\fi
+\usepackage{microtype}
+\usepackage{hyphenat}
+\usepackage{bm}
+\usepackage{booktabs}
+\usepackage{multicol}
+\usepackage{upquote}
+\usepackage[svgnames]{xcolor}
+\usepackage[listings, breakable, skins]{tcolorbox}%
+\usetikzlibrary{arrows.meta}
+\usepackage[style=socialscienceshuberlin, backend=biber]{biblatex}
+\addbibresource{socialscienceshuberlin-examples.bib}
+
+\usepackage[ 
+  headsepline, 
+  footsepline,
+  automark, 
+  draft=false,
+]{scrlayer-scrpage} 
+\pagestyle{scrheadings}
+\clearscrheadfoot
+\rohead{\texttt{bib}\LaTeX-style \texttt{socialsciences|huberlin \socialscienceshuberlinversion}}%
+\lohead{\copyright\ by Lukas C. Bossert}
+\rofoot{\normalfont\footnotesize  \textbf{\sffamily \thepage}}
+\lofoot{\normalfont\footnotesize  \href{http://digitales-altertum.de}{digitales-altertum|de}}
+\setkomafont{pageheadfoot}{\normalfont\footnotesize}
+\setkomafont{footnotereference}{\normalfont\addfontfeature{Numbers=Lining}\selectfont}
+\addtokomafont{footnotenumber}{\footnotesize\normalfont}
+\deffootnote%
+  %[\normalparindent]%<width of mark>
+  {0.075cm}%<indent of footnote text>
+  {\normalparindent}%<paragraph indent in the footnote text>
+  {\makebox[\normalparindent][r]%
+  {\thefootnotemark\hspace*{4pt}}}%<definition of mark>
+\newlength{\normalparindent}
+\AtBeginDocument{\setlength{\normalparindent}{\parindent}}
+ \setfootnoterule{0pt}% Kein Fußnotenstrich
+ %\setfootnoterule[<height>]{<length>}
+
+\makeatletter
+\iffontspec
+\def\textvisiblespace{%
+  \raisebox{-2.2pt}{%
+    \mbox{\kern.04em\vrule \@height.5ex \@width.12ex}%
+    \vbox{\hrule \@width.2em \@height.12ex}%
+    \hbox{\vrule \@height.5ex \@width.12ex}%
+    \kern.04em}}
+\fi
+\makeatother
+
+
+\usepackage{ltxdockit}
+\usepackage{btxdockit}
+\usepackage{cleveref}
+\hypersetup{%
+  colorlinks=true,
+  allcolors=spot,
+  bookmarksopen=true,
+  bookmarksnumbered=false,
+  plainpages=false}
+
+\definecolor{highlight1}{RGB}{240, 0, 0}
+\definecolor{highlight2}{RGB}{0,153, 153}
+\definecolor{spot}{rgb}{0,0.2,0.6}
+
+\lstdefinestyle{extblxstylegeneral}{%
+  aboveskip    = {0\p@ \@plus 6\p@},
+  belowskip    = {0\p@ \@plus 6\p@},
+  tabsize      = 2,
+  breaklines   = true,
+  breakatwhitespace = true,
+  keepspaces   = true,
+  escapeinside = {(*@}{@*)},
+  moredelim    = {[is][\ttfamily\bfseries\color{highlight1}]{|}{|}},
+  moredelim    = {[is][\ttfamily\bfseries\color{highlight1}]{|1}{1|}},
+  moredelim    = {[is][\ttfamily\bfseries\color{highlight2}]{|2}{2|}},
+}
+
+\lstdefinelanguage{extBibTeX}{%
+  morekeywords=[1]{%
+    @article, at artwork, at audio, at bibnote, at book, at bookinbook, at booklet,%
+    @collection, at commentary, at customa, at customb, at customc, at customd,%
+    @custome, at customf, at inbook, at incollection, at inproceedings,%
+    @inreference, at image, at jurisdiction, at legal, at legislation, at letter,%
+    @manual, at misc, at movie, at music, at mvcollection, at mvreference,%
+    @mvproceedings, at mvbook, at online, at patent, at performance, at periodical,%
+    @proceedings, at reference, at report, at review, at set, at software, at standard,%
+    @suppbook, at suppcollection, at suppperiodical, at thesis, at unpublished, at video%
+   },
+   morekeywords=[2]{author,title,date,owner,timestamp,journaltitle,%
+   location,publisher,booktitle,subtitle,booksubtitle,pages,series,%
+   shortseries,serieseditor,number,volume,year,date,pubstatus,editor,%
+   shorthand,shortauthor,keywords,options,groups,shorteditor,translator,%
+   origlanguage,origtitle,edition,origdate,doi},
+   keywordstyle=[1]{\bfseries\spotcolor},
+   keywordstyle=[2]{\spotcolor},
+   sensitive=true,
+}
+
+\lstdefinestyle{extblxstylelatex}{%
+  language  = {[LaTeX]TeX},
+  style     = {extblxstylegeneral},
+}
+
+\lstdefinestyle{extblxstylebibtex}{%
+  language  = {extBibTeX},
+  style     = {extblxstylegeneral},
+}
+
+
+\newcommand*{\highlight}[2][1]{\textcolor{highlight#1}{#2}}
+\newcommand*{\highlightbf}[2][1]{\textcolor{highlight#1}{\textbf{#2}}}
+\DeclareFieldFormat{highlight1}{\textcolor{highlight1}{#1}}
+\DeclareFieldFormat{highlight2}{\textcolor{highlight2}{#1}}
+
+\newtcolorbox{bibexample}[1][]{enhanced,
+                               colframe=spot!75!black, colback=spot!5!white,
+                               breakable,
+                               #1}
+\newtcblisting{biblatexcode}{enhanced,
+                             colframe=black!75!white, colback=black!5!white,
+                             listing only,
+                             frame hidden,
+                             breakable,
+                             listing style=extblxstylelatex}
+\newtcblisting{bibtexfile}{enhanced,
+                           colframe=black!75!white, colback=black!5!white,
+                           listing only,
+                           frame hidden,
+                           breakable,
+                           listing style = extblxstylebibtex}
+\newcommand\edtobibexample[2][]{
+\begin{bibexample}[#1]
+  \begin{refsection}
+  #2\par
+  \hrulefill
+  \printbibliography[heading=none]
+  \end{refsection}
+\end{bibexample}
+}
+
+
+\newtcbinputlisting\inputexamplebibfile[2][]{%
+  listing file={#2},
+  enhanced,
+  colframe=black!75!white, 
+  colback=black!5!white,
+  listing only,
+  frame hidden,
+  breakable,
+  %listing style = extblxstylebibtex,
+  #1}
+
+
+
+
+\makeatletter
+\AtUsedriver*{%
+  \let\newblock\relax
+  \let\abx at macro@bibindex\@empty
+  \let\abx at macro@pageref\@empty}
+
+
+% this is taken from ltxdockit.cls, which is not loaded
+\newrobustcmd*{\fnurl}[1][]{\hyper at normalise\ltd at fnurl{#1}}
+\def\ltd at fnurl#1#2{\footnote{#1\hyper at linkurl{\Hurl{#2}}{#2}}}
+
+\newrobustcmd*{\email}{\hyper at normalise\ltd at email}
+\def\ltd at email#1{\href{mailto:#1}{#1}}
+
+% title
+\providecommand*{\titlepage}{}
+\providecommand*{\titlefont}{}
+\renewrobustcmd*{\titlepage}[1]{\setkeys{ltd at ttp}{#1}}
+\renewcommand*{\titlefont}{
+  \bfseries
+  \sffamily
+  }
+\define at key{ltd at ttp}{title}{\def\ltd at title@title{#1}}
+\define at key{ltd at ttp}{subtitle}{\def\ltd at title@subtitle{#1}}
+\define at key{ltd at ttp}{url}{\def\ltd at title@url{#1}}
+\define at key{ltd at ttp}{author}{\def\ltd at title@author{#1}}
+\define at key{ltd at ttp}{link}{\def\ltd at title@link{#1}}
+\define at key{ltd at ttp}{revision}{\def\ltd at title@revision{#1}}
+\define at key{ltd at ttp}{date}{\def\ltd at title@date{#1}}
+
+\providecommand*{\printtitlepage}{}
+\renewrobustcmd*{\printtitlepage}{%
+  \begingroup
+  \centering\titlefont
+  \begingroup\LARGE
+    \ifundef\ltd at title@url
+      {\ltd at title@title}
+      {\href{\ltd at title@url}{\ltd at title@title}}%
+    \par
+  \endgroup
+  \vspace{0.25\baselineskip}
+  \begingroup\large
+    \ltd at title@subtitle\par
+  \endgroup
+  \vspace{0.25\baselineskip}
+  \begin{multicols}{2}
+  \raggedleft
+    \ltd at title@author\par
+    \expandafter\email\expandafter{\ltd at title@link}\par
+  \raggedright
+    Version \ltd at title@revision\par\ltd at title@date
+  \end{multicols}
+  \endgroup}
+
+\BeforeStartingTOC[toc]{\begin{multicols}{2}}
+\AfterStartingTOC[toc]{\end{multicols}}
+
+\newrobustcmd*{\tex}{\TeX}
+\newrobustcmd*{\etex}{\mbox{e-TeX}}
+\newrobustcmd*{\pdftex}{pdf\-\tex}
+\newrobustcmd*{\xetex}{Xe\-\tex}
+\newrobustcmd*{\luatex}{Lua\-\tex}
+\newrobustcmd*{\latex}{\LaTeX}%{La\kern-0.07em TeX}
+\newrobustcmd*{\pdflatex}{pdf\-\latex}
+\newrobustcmd*{\xelatex}{Xe\-\latex}
+\newrobustcmd*{\lualatex}{Lua\-\latex}
+\newrobustcmd*{\miktex}{Mik\-\tex}
+\newrobustcmd*{\texlive}{\tex~live}
+\newrobustcmd*{\bibtex}{Bib\kern-0.07em TeX}
+\newrobustcmd*{\lppl}{\latex{} Project Public License}
+\newrobustcmd*{\pdf}{\acr{PDF}}
+\newrobustcmd*{\utf}{\mbox{\acr{UTF}-8}}
+
+\pdfstringdefDisableCommands{%
+  \def\tex{TeX}%
+  \def\etex{e-TeX}%
+  \def\xetex{XeTeX}%
+  \def\latex{LaTeX}%
+  \def\xelatex{XeLaTeX}%
+  \def\bibtex{BibTeX}%
+  \def\lppl{LaTeX Project Public License}%
+  \def\pdf{PDF}%
+  \def\utf{UTF-8}%
+}
+
+\let\accentcolour\spotcolor
+
+\addtokomafont{section}{\accentcolour}
+\addtokomafont{subsection}{\accentcolour}
+\addtokomafont{subsubsection}{\accentcolour}
+
+\renewcommand*{\verbatimfont}{\ttfamily}
+\renewcommand*{\displayverbfont}{\ttfamily}
+\renewcommand*{\marglistfont}{\accentcolour\sffamily\small}
+\renewcommand*{\margnotefont}{\sffamily\small}
+\renewcommand*{\optionlistfont}{\accentcolour\sffamily\displayverbfont}
+\renewcommand*{\ltxsyntaxfont}{\ttfamily}
+\renewcommand*{\ltxsyntaxlabelfont}{\accentcolour\displayverbfont}
+\renewcommand*{\changelogfont}{\normalfont}
+\renewcommand*{\changeloglabelfont}{\accentcolour\sffamily\bfseries}
+\newcommand*{\stylelistfont}{\accentcolour\sffamily\small}
+
+\newenvironment*{stylelist}
+  {\list{}{%
+     \setlength{\labelwidth}{\marglistwidth}%
+     \setlength{\labelsep}{\marglistsep}%
+     \setlength{\leftmargin}{0pt}%
+     \renewcommand*{\makelabel}[1]{\hss\stylelistfont##1}}%
+   \def\styleitem##1{%
+     \item[{##1}]%
+     \ltd at pdfbookmark{##1}{##1}}}
+  {\endlist}
+
+\newenvironment*{keymarglistbook}
+  {\marglist
+   \setlength{\itemsep}{0pt}%
+   \raggedright
+   \let\@@item\item
+   \def\item[##1]{%
+     \@@item[{##1}]%
+     \ltd at pdfbookmark{##1}{##1}}}
+  {\endmarglist}
+
+% modified for correct measurements
+\def\ltd at option@i#1#2#3#4[#5]{%
+  \item[#2]%
+  \ltd at pdfbookmark{#1}{#1}%
+  \begingroup\raggedright
+  \ltd at textverb{=}%
+  \settowidth\@tempdimb{\ltd at textverb{=}}%
+  \settowidth\@tempdimc{\optionlistfont#2}%
+  \ifdim\@tempdimc>\marglistwidth
+    \@tempdimc=\dimexpr\@tempdimc-\marglistwidth\relax
+  \else
+    \@tempdimc=0pt
+  \fi
+  \@tempdima=\dimexpr\linewidth-\@tempdimb-\@tempdimc\relax
+  \ifblank{#4}
+    {}
+    {\settowidth\@tempdimb{default: #4}%
+     \@tempdima=\dimexpr\@tempdima-\@tempdimb-2em\relax}%
+  \parbox[t]{\@tempdima}{\raggedright #3}%
+  \ifblank{#4}
+    {}
+    {\hfill default:~#4}%
+  \ifblank{#5}
+    {}
+    {\marginpar{\margnotefont #5}}%
+  \par\endgroup
+  \nobreak\vspace{\itemsep}}
+
+%\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
+\newcommand*{\biblatexversion}{\extblx at requiredbiblatexversion}
+\newcommand*{\biblatexdate}{\extblx at requiredbiblatexdate}
+
+\AtEndPreamble{%
+  \deflength{\marglistwidth}{(\oddsidemargin+2cm)*85/100}}
+\makeatother
+
+% By Stefan Kottwitz, see https://tex.stackexchange.com/a/799/35864
+\newcommand*\justify{%
+  \fontdimen2\font=0.4em% interword space
+  \fontdimen3\font=0.2em% interword stretch
+  \fontdimen4\font=0.1em% interword shrink
+  \fontdimen7\font=0.1em% extra space
+  \hyphenchar\font=`\-% allowing hyphenation
+}
+
+% no \mbox here, we may have to break things
+\renewrobustcmd*{\sty}[1]{{\verbatimfont\justify #1}}
+\renewrobustcmd*{\bibfield}[1]{\sty{#1}}
+\renewrobustcmd*{\opt}[1]{\sty{#1}}
+\newrobustcmd*{\bibmacro}[1]{\sty{#1}}
+\renewrobustcmd*{\bibtype}[1]{\sty{@#1}}
+\renewrobustcmd*{\cmd}[1]{\sty{\textbackslash #1}}
+
+
+\newcommand*{\gitbaseurl}{https://github.com/LukasCBossert/biblatex-socialsciences-huberlin}
+\newcommand*{\biber}{Biber}
+\newcommand*{\gitissuelink}[1]{%
+  \href{\gitbaseurl/issues/#1}{issue \##1 on github}}
+
+\titlepage{%
+  title    = {The \sty{biblatex-socialscienceshuberlin} style},
+  subtitle = {Style used for social sciences at Humbold-Universität zu Berlin},
+  url      = {\gitbaseurl},
+  author   = {Lukas C. Bossert},
+  link     = {lukas at digitales-altertum.de},%
+  revision = {\socialscienceshuberlinversion},
+  date     = {{\socialscienceshuberlindate}},
+}
+
+\hypersetup{%
+  pdftitle    = {The biblatex-'socialsciences|huberlin' style},
+  pdfsubject  = {\sty{biblatex}-style 'socialsciences|huberlin'},
+  pdfauthor   = {Lukas C. Bossert},
+  pdfkeywords = {latex, biblatex, bibtex, bibliography, references, citation},
+}
+
+\hyphenation{%
+  star-red
+  un-star-red
+  bib-lio-gra-phy
+  white-space
+  bib-open-paren
+  bib-close-paren
+  bib-open-bracket
+  bib-close-bracket
+  main-title-after-title
+}
+
+\begin{document}
+
+\printtitlepage
+\tableofcontents
+
+\section{Introduction}\label{sec:int}
+\subsection{About}
+The \sty{biblatex-socialscienceshuberlin} style provides the citation and bibliography styles used at the Department of Social Sciences at Humboldt-Universität zu Berlin.
+
+This style is built upon \sty{biblatex-ext}\fnurl{https://ctan.org/pkg/biblatex-ext} and uses \sty{ext-authoryear} for  citations and for the bibliography.
+Several customisations have been done so far.
+
+\subsection{Installation}\label{sec:install}
+This style is available on \mkbibacro{CTAN}.%
+\fnurl{https://ctan.org/pkg/biblatex-socialscienceshuberlin}
+The current release is also available in \miktex{} and \texlive{} 2018 or
+newer.
+If at all possible you should install this style via your \tex{} distribution
+(using \miktex{} Console\fnurl{https://miktex.org/howto/miktex-console} or
+\sty{tlmgr} for \texlive\fnurl{https://www.tug.org/texlive/pkginstall.html}).
+If you must install this package manually, get the files from \mkbibacro{CTAN}
+and install the \sty{.bbx}, \sty{.cbx}  files preferably to
+\path{tex/latex/editiontopoi} of your local or home \TeX{} tree, the other
+files (\path{README.md}, \path{editiontopoi.tex},
+\path{editiontopoi.pdf} and \path{editiontopoi-examples.bib}) go to
+\path{doc/latex/editiontopoi}, you may have to refresh your file name database
+afterwards, so \tex{} can find the files.
+
+\subsection{License}\label{sec:license}
+Permission is granted to copy, distribute and\slash or modify this software
+under the terms of the \lppl, version 1.3c%
+\fnurl{https://www.latex-project.org/lppl/lppl-1-3c.txt}
+or (at your option) any later version%
+\fnurl{https://www.latex-project.org/lppl.txt}.
+This style is maintained by Lukas C. Bossert (\textcopyright 2018).
+
+
+\section{How to use it}
+For a general introduction to \sty{biblatex} see its documentation available on \mkbibacro{CTAN}\fnurl{http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf},
+or have a look at the short \sty{biblatex}-tutorial by Paul Stanley\fnurl{https://github.com/PaulStanley/biblatex-tutorial/releases/download/0.2/biblatex-tutorial.pdf}. 
+
+% There is one option so far: You can chose whether the author’s/editor’s names are colored and you can also define the color.
+
+Note that the author’s/editor’s names are colored so far.
+This will be an option in further releases.
+
+
+\section{Bibliography examples}
+\nocite{*} 
+\begin{bibexample}[breakable]
+\printbibliography
+\end{bibexample}
+
+\end{document}
+\endinput


Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/german-socialscienceshuberlin.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/german-socialscienceshuberlin.lbx	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/german-socialscienceshuberlin.lbx	2018-05-25 22:33:02 UTC (rev 47839)
@@ -0,0 +1,20 @@
+% socialscience-huberlin --%
+% Copyright (c) 2018 Lukas C. Bossert 
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+\ProvidesFile{german-socialscience-huberlin.lbx}%
+  [\sshu at lbxid]
+\InheritBibliographyExtras{ngerman}
+
+\DeclareBibliographyStrings{%
+  inherit          = {ngerman},
+ editor = {{Hg\adddot}{Hg\adddot}},
+ editors = {{Hg\adddot}{Hg\adddot}},
+ }
+\endinput
\ No newline at end of file

Added: trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.bbx	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.bbx	2018-05-25 22:33:02 UTC (rev 47839)
@@ -0,0 +1,123 @@
+% socialsciences|huberlin --%
+% Copyright (c) 2018 Lukas C. Bossert 
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+\def\sshu at date{2018/05/24}
+\def\sshu at version{0.0.1}
+\def\sshu at bbxid{\sshu at date\space v\sshu at version\space biblatex-socialsciences|huberlin bibliography style (LCB)}
+\def\sshu at cbxid{\sshu at date\space v\sshu at version\space biblatex-socialsciences|huberlin citation style (LCB)}
+\def\sshu at lbxid{\sshu at date\space v\sshu at version\space biblatex-socialsciences|huberlin localization (LCB)}
+
+\ProvidesFile{socialscienceshuberlin.bbx}[\sshu at bbxid]
+\RequireBibliographyStyle{ext-authoryear}
+
+\AtBeginDocument{%
+  \urlstyle{same}%
+  \typeout{* * * socialsciences|huberlin * * *}
+}
+\def\socialscienceshuberlinversion{\sshu at version}
+\def\socialscienceshuberlindate{\sshu at date}
+
+\ExecuteBibliographyOptions{%
+  innamebeforetitle=true,
+  autocite=inline,
+  isbn=false,
+}
+%-----------------------
+\newtoggle{bbx:colornames}
+
+\DeclareBibliographyOption{colornames}[true]{%
+ \csuse{toggle#1}{bbx:colornames}}
+
+\DeclareFieldFormat{pages}{#1}
+\DeclareFieldFormat{postnote}{\mknormrange{#1}}
+\DeclareFieldFormat{multipostnote}{\mknormrange{#1}}
+\DeclareFieldFormat{biblabeldate}{#1} 
+\DeclareFieldFormat{origdate}{\mkbibbrackets{#1}}
+\DeclareFieldFormat{editortype}{\mkbibparens{#1}} 
+\DeclareDelimFormat{editortypedelim}{\addspace} 
+\DeclareDelimFormat[bib,biblist]{innametitledelim}{\addcomma\space}
+\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
+\DeclareFieldFormat*{title}{#1}
+\DeclareFieldFormat[book]{title}{\mkbibemph{#1}}
+
+\RequirePackage{xcolor}
+\definecolor{sshuberlincolor}{cmyk}{1, .50, .10, .01} %default
+
+
+\renewcommand*{\labelnamepunct}{\addcolon\space}
+\renewcommand*{\volnumdelim}{\space}
+\renewcommand{\postnotedelim}{\addcolon\space}
+
+
+\DeclareRedundantLanguages{german}{german,ngerman,austrian,naustrian}
+\DeclareRedundantLanguages{english,american}{english,american,british,%
+ canadian,australian,newzealand,USenglish,UKenglish}
+\DeclareLanguageMapping{german}{german-socialscienceshuberlin}
+
+
+% get origdates after date
+\renewbibmacro*{date+extradate}{%
+  \iffieldundef{labelyear}
+    {}
+    {\printtext[\blx at delimcontext labeldate]{%
+       \iflabeldateisdate
+         {\printdateextra}
+         {\printlabeldateextra}}
+     \iffieldequalstr{labeldatesource}{orig}
+       {}
+       {\printorigdate}}}
+
+% https://tex.stackexchange.com/a/364192/98739
+\DeclareNameFormat{color-family-given}{%
+  \ifgiveninits
+    {\usebibmacro{name:color:family-given}
+      {\namepartfamily}
+      {\namepartgiveni}
+      {\namepartprefix}
+      {\namepartsuffix}}
+    {\usebibmacro{name:color:family-given}
+      {\namepartfamily}
+      {\namepartgiven}
+      {\namepartprefix}
+      {\namepartsuffix}}%
+  \usebibmacro{name:andothers}}
+
+\newbibmacro*{name:color:family-given}[4]{%
+  \ifuseprefix
+    {\usebibmacro{name:delim}{#3#1}%
+     \usebibmacro{name:hook}{#3#1}%
+     \textcolor{red}{%
+       \ifdefvoid{#3}{}{%
+         \ifcapital
+           {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
+           {\mkbibnameprefix{#3}\isdot}%
+         \ifprefchar{}{\bibnamedelimc}}%
+       \mkbibnamefamily{#1}\isdot 
+       \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%
+       \ifdefvoid{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamegiven{#2}\isdot}}}
+    {\usebibmacro{name:delim}{#1}%
+     \usebibmacro{name:hook}{#1}%
+     \textcolor{sshuberlincolor}{%
+       \mkbibnamefamily{#1}\isdot
+       \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%
+       \ifboolexpe{%
+         test {\ifdefvoid{#2}}
+         and
+         test {\ifdefvoid{#3}}}
+         {}
+         {\revsdnamepunct}%  
+       \ifdefvoid{#2}{}{\bibnamedelimd\mkbibnamegiven{#2}\isdot}%
+       \ifdefvoid{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}}}}
+
+ % {\DeclareNameAlias{sortname}{color-family-given}} %not working with parens
+\DeclareNameAlias{sortname}{color-family-given}
+  
+
+\endinput
\ No newline at end of file

Added: trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.cbx	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-socialscienceshuberlin/socialscienceshuberlin.cbx	2018-05-25 22:33:02 UTC (rev 47839)
@@ -0,0 +1,19 @@
+% socialsciences|huberlin --%
+% Copyright (c) 2018 Lukas C. Bossert 
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+
+\ProvidesFile{socialscienceshuberlin.cbx}[\sshu at cbxid]
+%-----------------------
+\RequireCitationStyle{ext-authoryear}
+
+
+
+\endinput
+%% End of file `socialsciencehuberlin.cbx'.
\ No newline at end of file

Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-05-25 22:32:19 UTC (rev 47838)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-05-25 22:33:02 UTC (rev 47839)
@@ -105,6 +105,7 @@
     biblatex-opcit-booktitle biblatex-oxref
     biblatex-philosophy biblatex-phys biblatex-publist
     biblatex-realauthor biblatex-sbl biblatex-science biblatex-shortfields
+    biblatex-socialscienceshuberlin
     biblatex-source-division biblatex-subseries biblatex-swiss-legal
     biblatex-trad biblatex-true-citepages-omit
     bibleref bibleref-french bibleref-german bibleref-lds bibleref-mouth

Added: trunk/Master/tlpkg/tlpsrc/biblatex-socialscienceshuberlin.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc	2018-05-25 22:32:19 UTC (rev 47838)
+++ trunk/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc	2018-05-25 22:33:02 UTC (rev 47839)
@@ -62,6 +62,7 @@
 depend biblatex-sbl
 depend biblatex-science
 depend biblatex-shortfields
+depend biblatex-socialscienceshuberlin
 depend biblatex-source-division
 depend biblatex-subseries
 depend biblatex-swiss-legal



More information about the tex-live-commits mailing list