From 3571c112dbb45b95caa7b864682e7b280cca5fdd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 16 Dec 2012 23:39:56 +0000 Subject: chscite (16dec12) git-svn-id: svn://tug.org/texlive/trunk@28552 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/bibtex/bst/chscite/chscite.bst | 41 +++++++++++++---- Master/texmf-dist/doc/latex/chscite/README | 11 ++--- Master/texmf-dist/doc/latex/chscite/chscite.pdf | Bin 194301 -> 190049 bytes Master/texmf-dist/source/latex/chscite/chscite.dtx | 49 +++++++++++++++++---- Master/texmf-dist/source/latex/chscite/chscite.ins | 12 ++--- Master/texmf-dist/tex/latex/chscite/chscite.sty | 17 ++++--- 6 files changed, 90 insertions(+), 40 deletions(-) diff --git a/Master/texmf-dist/bibtex/bst/chscite/chscite.bst b/Master/texmf-dist/bibtex/bst/chscite/chscite.bst index 9a8f33996fd..8fa18853eda 100644 --- a/Master/texmf-dist/bibtex/bst/chscite/chscite.bst +++ b/Master/texmf-dist/bibtex/bst/chscite/chscite.bst @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2012 by Simon Sigurdhsson +%% Copyright (C) 2012 by Simon Sigurdhsson %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -18,15 +18,13 @@ %% 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. %% %% -%% Copyright (C) 2012 by Simon Sigurdhsson +%% Copyright (C) 2012 by Simon Sigurdhsson %% %% 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 @@ %% 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. @@ -798,7 +794,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 diff --git a/Master/texmf-dist/doc/latex/chscite/README b/Master/texmf-dist/doc/latex/chscite/README index a4b90ddf499..443bf4a833b 100644 --- a/Master/texmf-dist/doc/latex/chscite/README +++ b/Master/texmf-dist/doc/latex/chscite/README @@ -1,6 +1,6 @@ %% chscite bibliographic style %% -%% Copyright (C) 2012 by Simon Sigurdhsson +%% Copyright (C) 2012 by Simon Sigurdhsson %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -10,17 +10,18 @@ %% 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. -This is version 2.999 of the chscite bibliographic style, based on the +This is version 2.9999 of the chscite bibliographic style, based on the harvard family of bibliographic styles. It includes the same fixes by Berwin A. Turlach (berwin@alphasun.anu.edu.au) as the harvard package. +If you would like to maintain this package, get in touch and I'll +transfer the Github repository to you. + The following files are enclosed. README - This file diff --git a/Master/texmf-dist/doc/latex/chscite/chscite.pdf b/Master/texmf-dist/doc/latex/chscite/chscite.pdf index 28a2836d942..e4a882a4023 100644 Binary files a/Master/texmf-dist/doc/latex/chscite/chscite.pdf and b/Master/texmf-dist/doc/latex/chscite/chscite.pdf differ 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 +%% Copyright (C) 2012 by Simon Sigurdhsson %% %% 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 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{chscite} %<*package> - [2012/05/13 v2.999 Chalmers bibliography style] + [2012/12/16 v2.9999 Chalmers bibliography style] % % %<*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 +%% Copyright (C) 2012 by Simon Sigurdhsson %% %% 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 +Copyright (C) 2012 by Simon Sigurdhsson 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. diff --git a/Master/texmf-dist/tex/latex/chscite/chscite.sty b/Master/texmf-dist/tex/latex/chscite/chscite.sty index 4dde3fd03b4..04b4c4fc8fe 100644 --- a/Master/texmf-dist/tex/latex/chscite/chscite.sty +++ b/Master/texmf-dist/tex/latex/chscite/chscite.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2012 by Simon Sigurdhsson +%% Copyright (C) 2012 by Simon Sigurdhsson %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -18,15 +18,13 @@ %% 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. %% %% -%% Copyright (C) 2012 by Simon Sigurdhsson +%% Copyright (C) 2012 by Simon Sigurdhsson %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -36,16 +34,14 @@ %% 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. %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{chscite} - [2012/05/13 v2.999 Chalmers bibliography style] + [2012/12/16 v2.9999 Chalmers bibliography style] \RequirePackage{ifthen} \@ifundefined{url}{\RequirePackage{url}}{} \newcommand{\chsurl}[1]{\url{#1}} @@ -214,6 +210,7 @@ \newcommand{\chsWth}{}% \newcommand{\chsWeditor}{}% \newcommand{\chsWelectronic}{}% +\newcommand{\chsWtechreport}{}% \DeclareOption{swedish}{% \renewcommand{\chsWand}{och}% \renewcommand{\chsWjanuary}{januari}% @@ -244,6 +241,7 @@ \renewcommand{\chsWth}{:e}% \renewcommand{\chsWeditor}{red.}% \renewcommand{\chsWelectronic}{Elektronisk}% +\renewcommand{\chsWtechreport}{Teknisk rapport}% } \DeclareOption{english}{% \renewcommand{\chsWand}{and}% @@ -275,6 +273,7 @@ \renewcommand{\chsWth}{th}% \renewcommand{\chsWeditor}{ed.}% \renewcommand{\chsWelectronic}{Electronic}% +\renewcommand{\chsWtechreport}{Technical report}% } \ExecuteOptions{english} \ProcessOptions* -- cgit v1.2.3