summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-05 21:38:52 +0000
committerKarl Berry <karl@freefriends.org>2016-07-05 21:38:52 +0000
commit5cf6f77f3a4d03a7ffcb78f2fef5f5172905534a (patch)
treeaee54a5e8bb59a00b88cb314914c11613bb17e8f
parent305de0f136d4c197b9c250acbcaafa80d86ecaf2 (diff)
biblatex-ijsra (4-5jul16)
git-svn-id: svn://tug.org/texlive/trunk@41634 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-ijsra/README.md37
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.pdfbin0 -> 50846 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.tex157
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.bbx85
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.cbx14
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/biblatex-ijsra.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc1
8 files changed, 295 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-ijsra/README.md b/Master/texmf-dist/doc/latex/biblatex-ijsra/README.md
new file mode 100644
index 00000000000..72395d69096
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-ijsra/README.md
@@ -0,0 +1,37 @@
+bibLaTeX-__ijsra__
+=======
+
+_2016/07/04 v0.1_
+
+Copyright (c) 2016 Lukas C. Bossert
+
+Email: [lukas@digitales-altertum.de](mailto:lukas@digitales-altertum.de)
+
+This citation-style covers the citation and bibliography rules of
+the journal __[International Journal of Student Research in Archaeology](http://www.ijsra.org) (IJSRA)__.
+
+---
+
+This style contains:
+
+documentation:
+
+- ijsra.tex
+- ijsra.pdf
+
+mandatory:
+
+* ijsra.bbx
+* ijsra.cbx
+
+
+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).
+
diff --git a/Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.pdf b/Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.pdf
new file mode 100644
index 00000000000..06c9002c819
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.tex b/Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.tex
new file mode 100644
index 00000000000..abe6cb56908
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-ijsra/biblatex-ijsra.tex
@@ -0,0 +1,157 @@
+% ijsra --%
+%
+% Copyright (c) 2016 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.
+%
+%!TEX program = xelatex
+\documentclass[a4paper,
+10pt,
+english
+]{ltxdoc}
+\input{ijsra-preamble.tex}
+\begin{document}
+\title{\texttt{ijsra} -- \\\texttt{bib\LaTeX}-style of the journal \emph{International Journal of Student Research in Archaeology}\footnote{The development of the code is done at \url{https://github.com/LukasCBossert/biblatex-ijsra}.}}
+\author{Lukas C. Bossert\thanks{\href{mailto:lukas@digitales-altertum.de}{lukas@digitales-altertum.de}}}
+\date{Version: 0.1 (2016-07-04)}
+ \maketitle
+\begin{abstract}
+Bibliographical style called \emph{ijsra} which is done for the journal \href{http://www.ijsra.org}{\emph{International Journal of Student Research in Archaeology}} (IJSRA).
+ \end{abstract}
+
+\section{Usage}
+ \DescribeMacro{ijsra} The name of the bib\LaTeX-style is |ijsra| has to be activated in the preamble.
+
+\begin{lstlisting}
+\usepackage[style=ijsra,%
+ *@\meta{further options}@*]{biblatex}
+\bibliography*@\marg{|bib|-file.|bib|}@*
+\end{lstlisting}
+
+
+At the end of your document you can write the command |\printbibliography| to print
+the bibliography.
+Further information are found below (\cref{bibliographie}).
+
+\section{Overview}\label{overview}
+
+\DescribeMacro{\cite}%
+As always citing is done with \cs{cite}:
+\begin{lstlisting}
+\cite*@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}%@*
+\end{lstlisting}
+
+\meta{prenote} sets a short preliminary note (e.\,g. \enquote{e.\,g.}) and \meta{postnote} is usually used for page numbers.
+If only one optional argument is used then it is \oarg{postnote}.
+\begin{lstlisting}
+\cite*@\oarg{postnote}\marg{bibtex-key}%@*
+\end{lstlisting}
+The \meta{bibtex-key} corresponds to the key from the bibliography file.
+
+\DescribeMacro{\cites}
+If one wants to cite several authors or works a very convenient way is the following using the \cs{cites}-command:
+\begin{lstlisting}
+\cites(pre-prenote)(post-postnote)*@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}@*%
+ *@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}@*%
+ *@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}\ldots@*
+\end{lstlisting}
+
+\DescribeMacro{\parencite}
+Sometimes a citation has to be put in parentheses.
+Therefore we implemented the command \cs{parencite}:
+\begin{lstlisting}
+\parencite*@\oarg{postnote}\marg{bibtex-key}%@*
+\end{lstlisting}
+This cite command takes care of the correct corresponding parentheses and brackets.
+Especially in |@Inreference| citations the parentheses are changing to (square) brackets.
+
+
+\DescribeMacro{\parencites}
+Of course there is also the possibility to cite several authors/works in parentheses.
+This is done with \cs{parencites}:
+\begin{lstlisting}
+\parencites(pre-prenote)(post-postnote)*@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}@*%
+ *@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}@*%
+ *@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}\ldots@*
+\end{lstlisting}
+
+\DescribeMacro{\textcite}
+Beside the listed \cs{cite} commands above there is a third way of citing:
+\cs{textcite} is useful if the author should be mentioned in the text and
+the remaining components such as year and page will immediately follow in parentheses.
+\begin{lstlisting}
+\textcite*@\oarg{postnote}\marg{bibtex-key}%@*
+\end{lstlisting}
+
+\DescribeMacro{\textcites}
+And again there is also a \cs{textcites} in case of several authors:
+ \begin{lstlisting}
+\textcites(pre-prenote)(post-postnote)*@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}@*%
+ *@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}@*%
+ *@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}\ldots@*
+\end{lstlisting}
+
+\DescribeMacro{\citeauthor}\DescribeMacro{\citetitle}\label{citeauthor}%
+Furthermore and additionally to the ›normal‹ \cs{cite}-commands one can also cite only the author or the work title in the text and in the footnotes.
+\begin{lstlisting}
+\citeauthor*@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}%@*
+\end{lstlisting}
+ and for the works
+\begin{lstlisting}
+\citetitle*@\oarg{prenote}\oarg{postnote}\marg{bibtex-key}%@*
+\end{lstlisting}
+
+
+ \section{Bibliography}\label{bibliographie}
+ \DescribeMacro{\printbibliography}
+But first we define the heading of the whole bibliography:
+\begin{lstlisting}
+\printbibheading[%
+ heading=bibliography,%
+ %heading=bibnumbered,% if you want it numbered
+ title={Bibliography}] %heading for bibliography
+\end{lstlisting}
+You can give any title you would like to give (|title = |\marg{any title}).
+
+Finally the bibliography:
+\begin{lstlisting}
+\printbibliography[%
+ heading=subbibliography,
+ %heading=subbibnumbered,% if you want it numbered
+ title={Secondary literature}]
+\end{lstlisting}
+
+%\nocite{*}
+%\begin{bsp}
+%\renewcommand\bibfont{\normalfont\footnotesize}
+%\printbibheading[%
+% heading=bibliography,%
+% title={Bibliography}] %heading for bibliography
+%\printbibliography[%
+% notkeyword=ancient,%
+% notkeyword=corpus,%
+% heading=subbibliography,
+% title={Secondary literature}]
+%\end{bsp}
+%
+%\begin{lstlisting}
+%
+%@Book{Amedick1991,
+% author = {Amedick, Rita},
+% title = {Die Sarkophage mit Darstellungen aus dem Menschenleben},
+% subtitle = {Vita Privata},
+% publisher = {Berlin},
+% year = {1991},
+% maintitle = {Die antiken Sarkophagreliefs},
+% volume = {1.4},
+%}
+%
+%
+%\end{lstlisting}
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.bbx b/Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.bbx
new file mode 100644
index 00000000000..e2b9250d603
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.bbx
@@ -0,0 +1,85 @@
+% ijsra -- %
+% Copyright (c) 2016 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{ijsra.bbx}%
+ [2016/07/04 v0.1 ijsra]
+\RequireBibliographyStyle{authoryear}
+
+\ExecuteBibliographyOptions{%
+ isbn=false,
+}
+
+\renewcommand{\labelnamepunct}{\addcolon\space}
+\renewcommand*{\bibpagespunct}{\addcolon\space}
+\renewcommand*{\nameyeardelim}{\addcomma\addspace}
+\renewcommand*{\postnotedelim}{\addcolon}
+\DeclareFieldFormat{postnote}{#1}
+\DeclareFieldFormat{pages}{#1}
+\DeclareNameAlias{sortname}{last-first}
+\DeclareNameAlias{default}{last-first}
+\DeclareNameAlias{editor}{sortname}
+
+\DeclareFieldFormat{multipostnote}{#1}
+\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{citetitle}{#1\isdot}
+\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1\isdot}
+
+
+\usepackage{xpatch}
+\xpatchbibmacro{date+extrayear}{%
+ \printtext[parens]%
+}{%
+ \setunit{\space}%
+ \printtext%
+}{}{}
+
+\renewbibmacro*{in:}{
+\ifentrytype{incollection}{%
+\setunit{\addcomma\addspace }\printtext{\bibstring{in}\addspace}%
+ \ifnameundef{editor}
+ {}
+ {\printnames{editor}%
+ \addspace
+ \mkbibparens{\usebibmacro{editorstrg}}
+ \setunit{\addcomma\addspace}%
+ }%
+ \usebibmacro{maintitle+booktitle}
+ \clearfield{maintitle}
+ \clearfield{booktitle}
+ \clearfield{volume}
+ \clearfield{part}
+ \clearname{editor}
+ }
+ {%
+ \ifentrytype{inproceedings}{%
+\setunit{\addcomma\addspace }\printtext{\bibstring{in}\addspace}%
+ \ifnameundef{editor}
+ {}
+ {\printnames{editor}%
+ \addspace
+ \mkbibparens{\usebibmacro{editorstrg}}
+ \setunit{\addcomma\addspace}%
+ }%
+ \usebibmacro{maintitle+booktitle}
+ \clearfield{maintitle}
+ \clearfield{booktitle}
+ \clearfield{volume}
+ \clearfield{part}
+ \clearname{editor}
+ }{%
+ \ifentrytype{article}{}{\setunit{\addcomma\addspace }\printtext{\bibstring{in}\addspace}}}}}%
+
+\renewbibmacro*{volume+number+eid}{%
+ \printfield{volume}%
+ \printfield{number}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}}
+\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.cbx b/Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.cbx
new file mode 100644
index 00000000000..21d729bfd5a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-ijsra/ijsra.cbx
@@ -0,0 +1,14 @@
+% ijsra -- %
+% Copyright (c) 2016 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{ijsra.cbx}%
+ [2016/07/04 v0.1 ijsra]
+\RequireCitationStyle{authoryear}
+\endinput
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 31210bdc296..ccf8a94e12c 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -87,7 +87,7 @@ my @TLP_working = qw(
biblatex-bookinarticle biblatex-bookinother biblatex-bwl
biblatex-caspervector biblatex-chem biblatex-chicago
biblatex-dw biblatex-fiwi biblatex-gost biblatex-historian
- biblatex-ieee biblatex-iso690 biblatex-juradiss
+ biblatex-ieee biblatex-ijsra biblatex-iso690 biblatex-juradiss
biblatex-luh-ipw biblatex-manuscripts-philology
biblatex-mla biblatex-morenames biblatex-multiple-dm biblatex-musuos
biblatex-nature biblatex-nejm biblatex-nottsclassic
diff --git a/Master/tlpkg/tlpsrc/biblatex-ijsra.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-ijsra.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/biblatex-ijsra.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
index da91da7f4ff..9b439d53a7a 100644
--- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
@@ -33,6 +33,7 @@ depend biblatex-fiwi
depend biblatex-gost
depend biblatex-historian
depend biblatex-ieee
+depend biblatex-ijsra
depend biblatex-iso690
depend biblatex-juradiss
depend biblatex-luh-ipw