diff options
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/chscite/chscite.dtx | 49 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/chscite/chscite.ins | 12 |
2 files changed, 44 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/chscite/chscite.dtx b/Master/texmf-dist/source/latex/chscite/chscite.dtx index 02c4e9db8fc..d2b24c0821e 100644 --- a/Master/texmf-dist/source/latex/chscite/chscite.dtx +++ b/Master/texmf-dist/source/latex/chscite/chscite.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment %% -%% Copyright (C) 2012 by Simon Sigurdhsson <ssimon@student.chalmers.se> +%% Copyright (C) 2012 by Simon Sigurdhsson <sigurdhsson@gmail.com> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -10,9 +10,7 @@ %% 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 Simon Sigurdhsson. +%% This work has the LPPL maintenance status `unmaintained'. %% %% This work consists of the files chscite.dtx and chscite.ins %% and the derived filebase chscite.sty. @@ -26,12 +24,12 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{chscite} %<*package> - [2012/05/13 v2.999 Chalmers bibliography style] + [2012/12/16 v2.9999 Chalmers bibliography style] %</package> % %<*driver> \documentclass{ltxdoc} -\usepackage{chscite}[2012/05/13] +\usepackage{chscite}[2012/12/16] \AtBeginDocument{% \OnlyDescription% % \CodelineIndex% @@ -82,7 +80,7 @@ % \title{The \textsf{chscite} package\thanks{This document % corresponds to \textsf{chscite}~\fileversion~(converges to 3, a % completely arbitrary number), dated \filedate.}} -% \author{Simon Sigurdhsson \\ \texttt{ssimon@student.chalmers.se}} +% \author{Simon Sigurdhsson \\ \texttt{sigurdhsson@gmail.com}\footnote{This package is currently unmaintained. If you'd like to maintain it, please get in touch and I'll transfer the Github repository to you.}} % % \maketitle % \tableofcontents @@ -565,6 +563,7 @@ % \begin{macro}{\chsWeditor} % \changes{v2.0e}{2011/06/23}{Fixed editor translation} % \begin{macro}{\chsWelectronic} +% \begin{macro}{\chsWtechreport} % Various translatable terms % \begin{macrocode} \newcommand{\chsWand}{}% @@ -596,6 +595,7 @@ \newcommand{\chsWth}{}% \newcommand{\chsWeditor}{}% \newcommand{\chsWelectronic}{}% +\newcommand{\chsWtechreport}{}% % \end{macrocode} % \end{macro} % \end{macro} @@ -626,6 +626,7 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} % % Set up swedish translations if |swedish| option is given. % \changes{v2.0b}{2011/06/12}{Fixed a critical bug in |swedish| option} @@ -660,6 +661,7 @@ \renewcommand{\chsWth}{:e}% \renewcommand{\chsWeditor}{red.}% \renewcommand{\chsWelectronic}{Elektronisk}% +\renewcommand{\chsWtechreport}{Teknisk rapport}% } % \end{macrocode} % @@ -695,6 +697,7 @@ \renewcommand{\chsWth}{th}% \renewcommand{\chsWeditor}{ed.}% \renewcommand{\chsWelectronic}{Electronic}% +\renewcommand{\chsWtechreport}{Technical report}% } % \end{macrocode} % @@ -715,6 +718,7 @@ % \changes{v2.0c}{2011/06/22}{Cleaned up \texttt{.bst} file} % \changes{v2.0d}{2011/06/23}{Improved handling of editions} % \changes{v2.999}{2012/05/13}{Added \texttt{@patent} and \texttt{@misc} entries} +% \changes{v2.9999}{2012/12/05}{Added \texttt{@techreport} style} % % \iffalse %<*bibstyle> @@ -1476,7 +1480,34 @@ FUNCTION {misc} } FUNCTION {techreport} -{ cite$ ": @techreport cite style not implemented!" * warning$ } +{ output.bibitem + make.list.label "(" tie.or.space.connect list.year * ")" * + author "author" item.check + title missing$ + { cite$ " has no title!" * warning$ } + { title emphasize tie.or.space.connect add.period$ } + if$ + URL missing$ + 'skip$ + { "[\chsWelectronic]" tie.or.space.connect } + if$ + institution missing$ + { cite$ " has no institution!" * warning$ } + { address missing$ + { cite$ " has institution with no address!" * warning$ } + { address ":" * tie.or.space.connect } + if$ + institution tie.or.space.connect add.period$ + number missing$ + { cite$ " has institution with no number!" * warning$ } + { "(\chsWtechreport{}:" number tie.or.space.connect ")" * tie.or.space.connect } + if$ + } + if$ + add.period$ + write$ + fin.entry +} FUNCTION {patent} { output.bibitem @@ -1803,4 +1834,4 @@ EXECUTE {end.bib} % \fi % % \Finale -\endinput
\ No newline at end of file +\endinput diff --git a/Master/texmf-dist/source/latex/chscite/chscite.ins b/Master/texmf-dist/source/latex/chscite/chscite.ins index 37174539431..d7106b5aa63 100644 --- a/Master/texmf-dist/source/latex/chscite/chscite.ins +++ b/Master/texmf-dist/source/latex/chscite/chscite.ins @@ -1,5 +1,5 @@ %% -%% Copyright (C) 2012 by Simon Sigurdhsson <ssimon@student.chalmers.se> +%% Copyright (C) 2012 by Simon Sigurdhsson <sigurdhsson@gmail.com> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -9,9 +9,7 @@ %% 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 Simon Sigurdhsson. +%% This work has the LPPL maintenance status `unmaintained'. %% %% This work consists of the files chscite.dtx and chscite.ins %% and the derived filebase chscite.sty. @@ -26,7 +24,7 @@ This is a generated file. -Copyright (C) 2012 by Simon Sigurdhsson <ssimon@student.chalmers.se> +Copyright (C) 2012 by Simon Sigurdhsson <sigurdhsson@gmail.com> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -36,9 +34,7 @@ The latest version of this license is in 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 Simon Sigurdhsson. +This work has the LPPL maintenance status `unmaintained'. This work consists of the files chscite.dtx and chscite.ins and the derived filebase chscite.sty. |