texlive[47407] Master: citeref (9apr18)

commits+karl at tug.org commits+karl at tug.org
Mon Apr 9 23:16:36 CEST 2018


Revision: 47407
          http://tug.org/svn/texlive?view=revision&revision=47407
Author:   karl
Date:     2018-04-09 23:16:36 +0200 (Mon, 09 Apr 2018)
Log Message:
-----------
citeref (9apr18)

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

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/citeref/
    trunk/Master/texmf-dist/doc/latex/citeref/README.pdf
    trunk/Master/texmf-dist/doc/latex/citeref/README.txt
    trunk/Master/texmf-dist/tex/latex/citeref/
    trunk/Master/texmf-dist/tex/latex/citeref/citeref.sty
    trunk/Master/tlpkg/tlpsrc/citeref.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/citeref/README.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/citeref/README.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/citeref/README.pdf	2018-04-09 21:14:42 UTC (rev 47406)
+++ trunk/Master/texmf-dist/doc/latex/citeref/README.pdf	2018-04-09 21:16:36 UTC (rev 47407)

Property changes on: trunk/Master/texmf-dist/doc/latex/citeref/README.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/citeref/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/citeref/README.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/citeref/README.txt	2018-04-09 21:16:36 UTC (rev 47407)
@@ -0,0 +1,48 @@
+ File:   README.txt
+ Author: Bj"orn Briel (bjoern.briel at gmail.com)
+ Date:   2018-04-07
+ 
+This README describes citeref.sty
+
+LICENSE: BSD (https://ctan.org/license/bsd4)
+
+CREDITS
+ Partially based on CITESIDX.STY by Frank Buchholz
+ Contributions by Florian Werner Sauer
+ 
+
+Main purpose:
+ 	Add reference-page-list to bibliography-items.
+
+Features:
+	- This is done WITHOUT using the index-facility.
+ 	- Full transparency - no special \cite-replacement
+ 	- Works with or without BibTeX
+ 	- No extra LaTeX runs needed, neither external programs
+ 	- Customizeable look of the back-references
+
+Caveats:
+ 	- Does probably NOT work with other \cite-related style-options
+ 	  which redefine the (internal) \@citex macro
+	- Citation tags may no longer contain a '=' char due to expansion
+	  issues.
+
+Usage:
+ 	\usepackage{citeref}
+ 	No Options declared
+
+ 	Change Style of printed page references by redefining the macro
+ 	'\bibitempages#1'. The parameter is a comma-separated list of 
+	page references. The default macro puts it into brackets [...].
+
+ 	Print comments in the bibliography: Use the macro
+	\bibintro{Blah...} before \thebibliography
+
+Revision History:
+	1999-01-05	Initial release
+	1999-27-05	Got sometimes wrong page numbers;
+	                Removed \immediate from \write of \citepageref-Macro
+	                in redefinition of \@citex to fix this
+	2018-04-07	Added licensing information
+
+


Property changes on: trunk/Master/texmf-dist/doc/latex/citeref/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/citeref/citeref.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/citeref/citeref.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/citeref/citeref.sty	2018-04-09 21:16:36 UTC (rev 47407)
@@ -0,0 +1,120 @@
+% File:   citeref.sty
+% Author: Bj"orn Briel, Uni Oldenburg
+% Date:   27.05.1999
+% 
+% (Partially based on CITESIDX.STY by Frank Buchholz)
+% (Contributions by Florian Werner Sauer)
+% (Modifications by Bjoern Briel)
+%
+% Main purpose:
+% 	Add reference-page-list to bibliography-items.
+%
+% Features:
+%	- This is done WITHOUT using the index-facility.
+% 	- Full transparency - no special \cite-replacement
+% 	- Works with or without BibTeX
+% 	- No extra LaTeX runs needed, neither external programs
+% 	- Customizeable look of the back-references
+%
+% Caveats:
+% 	- Does probably NOT work with other \cite-related style-options
+% 	  which redefine the (internal) \@citex macro
+%	- Citation tags may no longer contain a '=' char due to expansion
+%	  issues.
+%
+% Usage:
+% 	\usepackage{citeref}
+% 	No Options declared
+%
+% 	Change Style of printed page references by redefining the macro
+% 	'\bibitempages#1'. The parameter is a comma-separated list of 
+% 	page references. The default macro puts it into brackets [...].
+%
+% 	Print comments in the bibliography: Use the macro
+%	\bibintro{Blah...} before \thebibliography
+%
+% Revision History:
+%	1999/01/05	Initial release
+%	1999/27/05	Got sometimes wrong page numbers;
+%	                Removed \immediate from \write of \citepageref-Macro
+%	                in redefinition of \@citex to fix this
+%	2018/04/07	LICENSE: BSD (https://ctan.org/license/bsd4)
+%
+\def\fileversion{v1.1}
+\def\filedate{1999/27/05}
+
+% comment out the next two lines if using latex 2.09
+\NeedsTeXFormat{LaTeX2e}[1996/12/01]
+\ProvidesPackage{citeref}[\filedate]
+
+\typeout{Package citeref \fileversion\space <\filedate> (Bjoern Briel)}
+
+\def\@cprwrite#1={\write\@auxout{\string\citepageref{#1}{\thepage}}}
+
+% REDEFINITION OF \@citex[#1]#2 TO FACILITATE REFERENCE BACKPOINTERS
+% see LATEX.LTX
+\def\@citex[#1]#2{%
+  \let\@citea\@empty
+  \@cite{\@for\@citeb:=#2\do
+    {\@citea\def\@citea{,\penalty\@m\ }%
+     \edef\@citeb{\expandafter\@firstofone\@citeb}%
+% begin change
+     \if at filesw%
+       \immediate\write\@auxout{\string\citation{\@citeb}}%
+       \expandafter\@cprwrite\@citeb=%
+     \fi%
+% end change
+     \@ifundefined{b@\@citeb}{\mbox{\reset at font\bfseries ?}%
+       \G at refundefinedtrue
+       \@fcwarning{Citation `\@citeb' on page \thepage \space undefined}}%
+       {\hbox{\csname b@\@citeb\endcsname}}}}{#1}}
+
+
+% Seiten der Zitatstellen aus dem aux-File einlesen
+\def\@namexdef#1{\expandafter\xdef\csname #1\endcsname}
+\def\citepageref#1#2{%
+	\xdef\cpr at testa{\@nameuse{cpr at last@#1}}%letzte Zitatstelle
+	\xdef\cpr at testb{#2}% Seite dieser Zitatstelle
+	\ifx\cpr at testa\cpr at testb%
+		\relax% Konsekutive identische Seitenangaben weglassen
+	\else%
+		\@namexdef{cpr at last@#1}{#2}%
+		\@ifundefined{cpr@#1}%
+			{\@namexdef{cpr@#1}{#2}}%
+			{\@namexdef{cpr@#1}{\@nameuse{cpr@#1}, #2}}%
+	\fi
+	}
+
+
+% WARNING MESSAGE
+\def\@fcwarning#1{\typeout{CiteRef Warning: #1.}}
+
+% bibitem umdefinieren, damit Zitatstellen angefuegt werden:
+\def\bibitem{\@ifnextchar[{\@@lbibitem}{\@@bibitem}}%
+
+% used by \bibitem
+\def\@@lbibitem[#1]#2#3\par{\@lbibitem[#1]{#2}#3\bibitempages{\@citerefpages{#2}}}
+\def\@@bibitem#1#2\par{\@bibitem{#1}#2\bibitempages{\@citerefpages{#1}}}
+
+% used by \@@lbibitem, \@@bibitem
+% liefert die Liste der Seitenreferenzen
+\def\@citerefpages#1{\@ifundefined{cpr@#1}%
+                   {{\bf -}\@fcwarning{Never cited from `\@nameuse{#1}'}}%
+                   {\@nameuse{cpr@#1}}%
+}
+% used by \@@lbibitem, \@@bibitem
+\def\bibitempages#1{\newblock [#1]}
+
+% used by \bibitempages#1 
+% see ARTICLE.STY, REPORT.STY, BOOK.STY
+%\def\newblock{\hskip .11em plus .33em minus -.07em}%
+
+% put some text in front of the bibliography
+\def\bibintro#1{%
+  \let\@origthebib=\thebibliography
+  \let\@origlist=\list
+  \def\thebibliography{\def\list{#1\par\bigskip\@origlist}\@origthebib}%
+}
+
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/latex/citeref/citeref.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-04-09 21:14:42 UTC (rev 47406)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-04-09 21:16:36 UTC (rev 47407)
@@ -149,7 +149,7 @@
     chkfloat chletter chngcntr chronology
     chronosys chscite churchslavonic
     cinzel circ circuitikz
-    cite citeall cje cjhebrew cjk cjk-gs-integrate cjk-ko cjkpunct
+    cite citeall citeref cje cjhebrew cjk cjk-gs-integrate cjk-ko cjkpunct
     classics classpack classicthesis
     cleanthesis clearsans clefval cleveref clipboard
     clock cloze clrscode clrscode3e cm-lgc cm-mf-extra-bold cm-super cm-unicode

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2018-04-09 21:14:42 UTC (rev 47406)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2018-04-09 21:16:36 UTC (rev 47407)
@@ -241,7 +241,6 @@
  'circuit-macros', "die 'skipping, needs m4'",
  'circuitikz',  "&MAKEcopy",
  'cirth',       "die 'skipping, nosell license'",
- 'citeref',     "die 'skipping, noinfo license, lots of authors'",
  'cjk',         "&MAKEcjk",
  'cjw',                 "die 'skipping, nosell license'",
  'clarendo',            "die 'skipping, nonfree font'",

Added: trunk/Master/tlpkg/tlpsrc/citeref.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc	2018-04-09 21:14:42 UTC (rev 47406)
+++ trunk/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc	2018-04-09 21:16:36 UTC (rev 47407)
@@ -82,6 +82,7 @@
 depend chembst
 depend chscite
 depend citeall
+depend citeref
 depend collref
 depend compactbib
 depend crossrefware



More information about the tex-live-commits mailing list