From 6ac3dbed4b71022bd6bb0cc25e8fc3df81198498 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 1 May 2024 03:00:54 +0000 Subject: CTAN sync 202405010300 --- macros/latex/contrib/nmbib/Makefile | 6 +- macros/latex/contrib/nmbib/README | 2 + macros/latex/contrib/nmbib/nmbib-sample.pdf | Bin 0 -> 101693 bytes macros/latex/contrib/nmbib/nmbib-sample.tex | 68 ++++++++++++++ macros/latex/contrib/nmbib/nmbib.dtx | 4 +- macros/latex/contrib/nmbib/nmbib.pdf | Bin 347244 -> 368243 bytes macros/latex/contrib/nmbib/nmbibtex.1 | 135 +++++++--------------------- macros/latex/contrib/nmbib/nmsample.pdf | Bin 96763 -> 0 bytes macros/latex/contrib/nmbib/nmsample.tex | 68 -------------- 9 files changed, 108 insertions(+), 175 deletions(-) create mode 100644 macros/latex/contrib/nmbib/nmbib-sample.pdf create mode 100644 macros/latex/contrib/nmbib/nmbib-sample.tex delete mode 100644 macros/latex/contrib/nmbib/nmsample.pdf delete mode 100644 macros/latex/contrib/nmbib/nmsample.tex (limited to 'macros/latex/contrib/nmbib') diff --git a/macros/latex/contrib/nmbib/Makefile b/macros/latex/contrib/nmbib/Makefile index 4b59427e24..4f4135521a 100644 --- a/macros/latex/contrib/nmbib/Makefile +++ b/macros/latex/contrib/nmbib/Makefile @@ -7,7 +7,7 @@ # PACKAGE=nmbib -SAMPLES = nmsample.tex +SAMPLES = nmbib-sample.tex PERLSCRIPTS = nmbibtex.pl @@ -62,9 +62,9 @@ distclean: veryclean # Archive for the distribution. Includes typeset documentation # archive: all clean - tar -czvf $(PACKAGE).tgz -C .. --exclude '*~' --exclude '*.tgz' --exclude CVS $(PACKAGE) + COPYFILE_DISABLE=1 tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS --exclude '.git*' $(PACKAGE); mv ../$(PACKAGE).tgz . zip: all clean ${MAKE} $(PACKAGE).sty $(RM) *.log - zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*' \ No newline at end of file + zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*' diff --git a/macros/latex/contrib/nmbib/README b/macros/latex/contrib/nmbib/README index 833fa7992e..00a3fe6b5d 100644 --- a/macros/latex/contrib/nmbib/README +++ b/macros/latex/contrib/nmbib/README @@ -9,4 +9,6 @@ provides other improvments. Changes: + v1.05. nmsample is renamed to nmbib-sample to avoid TeXLive name clash + v1.04 An embarrassing typo corrected. \ No newline at end of file diff --git a/macros/latex/contrib/nmbib/nmbib-sample.pdf b/macros/latex/contrib/nmbib/nmbib-sample.pdf new file mode 100644 index 0000000000..cb3c42b895 Binary files /dev/null and b/macros/latex/contrib/nmbib/nmbib-sample.pdf differ diff --git a/macros/latex/contrib/nmbib/nmbib-sample.tex b/macros/latex/contrib/nmbib/nmbib-sample.tex new file mode 100644 index 0000000000..56ff2a807a --- /dev/null +++ b/macros/latex/contrib/nmbib/nmbib-sample.tex @@ -0,0 +1,68 @@ +\documentclass{article} +\usepackage{nmbib} +\usepackage[colorlinks]{hyperref} +\multibibliographystyle{timeline}{chronoplainnm} +\multibibliographystyle{sequence}{unsrtnm} +\multibibliographystyle{authors}{plainnm} +\multibibliography{type,nmbib} +\usepackage{booktabs} +\usepackage[tableposition=top]{caption} +\begin{document} + +The package \textsl{nmbib} allows several kinds of citations: +author-year parenthetical \verb|\citep|: +\citep{Daly:Customizing_Bibliographic_Style_Files}, author-year +textual \verb|\citet|: \citet{kopka03}, authors only +\verb|\citeauthor|: \citeauthor{Daly:Natbib}, year only +\verb|\citeyear|: \citeyear{Mori:Managing_bibliographies}, numerical +\verb|\citenum|: \citenum{Patashnik:bibtexing}, \verb|\citealn|: +\citealn{Multibibliography}. The \verb|\citeall| command produces the +full citation: \citeall{Markey:Tame_the_BeaST}, close to the one +produced by the \textsl{multibibliography} package +\citep{Multibibliography, Multibibliography13}. + +Full citation command \verb|\citeall|: \citeall{Multibibliography, + Multibibliography13}. The starred form: \verb|\citeall*|: +\citeall*{Multibibliography, Multibibliography13} + + + +We can create links with a user-level universal command +\verb|\nmbibLink|: \nmbibLink{Daly:Natbib}{authors}{Daly's package in + the alphabetic list}, \nmbibLink{kopka03}{sequence}{Kopka and Daly's + book in the sequential list}. + +\begin{table} + \centering + \caption{Examples of citation commands} + \label{tab:examples} + \begin{tabular}{ll} + \toprule + Command & Result\\ + \midrule + \verb|\citet{Daly:Natbib}| & \citet{Daly:Natbib}\\ + \verb|\citep{Daly:Natbib}| & \citep{Daly:Natbib}\\ + \verb|\cite{Daly:Natbib}| & \cite{Daly:Natbib}\\ + \verb|\citealt{Daly:Natbib}| & \citealt{Daly:Natbib}\\ + \verb|\citealp{Daly:Natbib}| & \citealp{Daly:Natbib}\\ + \verb|\citetext{Daly:Natbib}| & \citetext{Daly:Natbib}\\ + \verb|\citenum{Daly:Natbib}| & \citenum{Daly:Natbib}\\ + \verb|\citealn{Daly:Natbib}| & \citealn{Daly:Natbib}\\ + \verb|\citeauthor{Daly:Natbib}| & \citeauthor{Daly:Natbib}\\ + \verb|\citeyear{Daly:Natbib}| & \citeyear{Daly:Natbib}\\ + \verb|\citefullauthor{Daly:Natbib}| & + \citefullauthor{Daly:Natbib}\\ + \verb|\citeall{Daly:Natbib}| & \citeall{Daly:Natbib}\\ + \bottomrule + \end{tabular} +\end{table} + +\nmbibYearSuffixOff +\clearpage +\printbibliography{timeline} +\clearpage +\printbibliography{sequence} +\clearpage +\printbibliography{authors} + +\end{document} diff --git a/macros/latex/contrib/nmbib/nmbib.dtx b/macros/latex/contrib/nmbib/nmbib.dtx index 24647ae06f..f84fc00877 100644 --- a/macros/latex/contrib/nmbib/nmbib.dtx +++ b/macros/latex/contrib/nmbib/nmbib.dtx @@ -1,7 +1,7 @@ % \iffalse % $Id: nmbib.dtx,v 1.21 2015/07/27 20:22:45 boris Exp $ % -%% Copyright 2015, Michael Cohen +%% Copyright 2015-2024, Michael Cohen %% and Boris Veytsman %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -59,7 +59,7 @@ % \changes{v1.00}{2014/01/23}{Preliminary release} % \changes{v1.03}{2015/07/25}{Added day field in the chrono bst} % -% \title{New Multibibliography Package\thanks{\copyright 2015 Michael +% \title{New Multibibliography Package\thanks{\copyright 2015--2024 Michael % Cohen and Boris Veytsman}} % \author{Boris Veytsman\thanks{borisv@lk.net} % \and Michael Cohen\thanks{mcohen@u-aizu.ac.jp}} diff --git a/macros/latex/contrib/nmbib/nmbib.pdf b/macros/latex/contrib/nmbib/nmbib.pdf index ba4aeed009..2258288207 100644 Binary files a/macros/latex/contrib/nmbib/nmbib.pdf and b/macros/latex/contrib/nmbib/nmbib.pdf differ diff --git a/macros/latex/contrib/nmbib/nmbibtex.1 b/macros/latex/contrib/nmbib/nmbibtex.1 index bb7bb38f4b..d96236dde8 100644 --- a/macros/latex/contrib/nmbib/nmbibtex.1 +++ b/macros/latex/contrib/nmbib/nmbibtex.1 @@ -1,4 +1,5 @@ -.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) +.\" -*- mode: troff; coding: utf-8 -*- +.\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== @@ -15,141 +16,71 @@ .ft R .fi .. -.\" Set up some character translations and predefined strings. \*(-- will -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. \*(C+ will -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, -.\" nothing in troff, for use with C<>. -.tr \(*W- -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ -. ds -- \(*W- -. ds PI pi -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -. ds L" "" -. ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ -. ds -- \|\(em\| -. ds PI \(*p -. ds L" `` -. ds R" '' +. ds C` +. ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" -.\" If the F register is turned on, we'll generate index entries on stderr for +.\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. -.ie \nF \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX .. -. nr % 0 -. rr F -.\} -.el \{\ -. de IX +.nr rF 0 +.if \n(.g .if rF .nr rF 1 +.if (\n(rF:(\n(.g==0)) \{\ +. if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" .. +. if !\nF==2 \{\ +. nr % 0 +. nr F 2 +. \} +. \} .\} -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C +.rr rF .\" ======================================================================== .\" .IX Title "NMBIBTEX 1" -.TH NMBIBTEX 1 "2015-04-25" "perl v5.10.1" "User Contributed Perl Documentation" +.TH NMBIBTEX 1 2015-04-26 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh -.SH "NAME" +.SH NAME nmbibtex \- a program to compile bibliographies for the package nmbib -.SH "SYNOPSIS" +.SH SYNOPSIS .IX Header "SYNOPSIS" -nmbibtex \fI\s-1OPTIONS\s0\fR \fI\s-1FILE\s0\fR -.SH "DESCRIPTION" +nmbibtex \fIOPTIONS\fR \fIFILE\fR +.SH DESCRIPTION .IX Header "DESCRIPTION" -nmbibtex calls \fIbibtex\fR\|(1) for all aux files produced by the package +nmbibtex calls \fBbibtex\fR\|(1) for all aux files produced by the package nmbib -.SH "OPTIONS" +.SH OPTIONS .IX Header "OPTIONS" -.IP "\fB\-h\fR" 4 +.IP \fB\-h\fR 4 .IX Item "-h" Print the help information and exit .IP "\fB\-min\-crossrefs\fR \fInumber\fR" 4 .IX Item "-min-crossrefs number" -Send the option \f(CW\*(C`\-min\-crossref=NUMBER\*(C'\fR to \fIbibtex\fR\|(1) -.IP "\fB\-terse\fR" 4 +Send the option \f(CW\*(C`\-min\-crossref=NUMBER\*(C'\fR to \fBbibtex\fR\|(1) +.IP \fB\-terse\fR 4 .IX Item "-terse" -Send the option \f(CW\*(C`\-terse\*(C'\fR to \fIbibtex\fR\|(1) -.IP "\fB\-v\fR" 4 +Send the option \f(CW\*(C`\-terse\*(C'\fR to \fBbibtex\fR\|(1) +.IP \fB\-v\fR 4 .IX Item "-v" Print the copyright information and exit .SH "AUTHORS AND LICENSE" diff --git a/macros/latex/contrib/nmbib/nmsample.pdf b/macros/latex/contrib/nmbib/nmsample.pdf deleted file mode 100644 index bfcf4824b5..0000000000 Binary files a/macros/latex/contrib/nmbib/nmsample.pdf and /dev/null differ diff --git a/macros/latex/contrib/nmbib/nmsample.tex b/macros/latex/contrib/nmbib/nmsample.tex deleted file mode 100644 index 56ff2a807a..0000000000 --- a/macros/latex/contrib/nmbib/nmsample.tex +++ /dev/null @@ -1,68 +0,0 @@ -\documentclass{article} -\usepackage{nmbib} -\usepackage[colorlinks]{hyperref} -\multibibliographystyle{timeline}{chronoplainnm} -\multibibliographystyle{sequence}{unsrtnm} -\multibibliographystyle{authors}{plainnm} -\multibibliography{type,nmbib} -\usepackage{booktabs} -\usepackage[tableposition=top]{caption} -\begin{document} - -The package \textsl{nmbib} allows several kinds of citations: -author-year parenthetical \verb|\citep|: -\citep{Daly:Customizing_Bibliographic_Style_Files}, author-year -textual \verb|\citet|: \citet{kopka03}, authors only -\verb|\citeauthor|: \citeauthor{Daly:Natbib}, year only -\verb|\citeyear|: \citeyear{Mori:Managing_bibliographies}, numerical -\verb|\citenum|: \citenum{Patashnik:bibtexing}, \verb|\citealn|: -\citealn{Multibibliography}. The \verb|\citeall| command produces the -full citation: \citeall{Markey:Tame_the_BeaST}, close to the one -produced by the \textsl{multibibliography} package -\citep{Multibibliography, Multibibliography13}. - -Full citation command \verb|\citeall|: \citeall{Multibibliography, - Multibibliography13}. The starred form: \verb|\citeall*|: -\citeall*{Multibibliography, Multibibliography13} - - - -We can create links with a user-level universal command -\verb|\nmbibLink|: \nmbibLink{Daly:Natbib}{authors}{Daly's package in - the alphabetic list}, \nmbibLink{kopka03}{sequence}{Kopka and Daly's - book in the sequential list}. - -\begin{table} - \centering - \caption{Examples of citation commands} - \label{tab:examples} - \begin{tabular}{ll} - \toprule - Command & Result\\ - \midrule - \verb|\citet{Daly:Natbib}| & \citet{Daly:Natbib}\\ - \verb|\citep{Daly:Natbib}| & \citep{Daly:Natbib}\\ - \verb|\cite{Daly:Natbib}| & \cite{Daly:Natbib}\\ - \verb|\citealt{Daly:Natbib}| & \citealt{Daly:Natbib}\\ - \verb|\citealp{Daly:Natbib}| & \citealp{Daly:Natbib}\\ - \verb|\citetext{Daly:Natbib}| & \citetext{Daly:Natbib}\\ - \verb|\citenum{Daly:Natbib}| & \citenum{Daly:Natbib}\\ - \verb|\citealn{Daly:Natbib}| & \citealn{Daly:Natbib}\\ - \verb|\citeauthor{Daly:Natbib}| & \citeauthor{Daly:Natbib}\\ - \verb|\citeyear{Daly:Natbib}| & \citeyear{Daly:Natbib}\\ - \verb|\citefullauthor{Daly:Natbib}| & - \citefullauthor{Daly:Natbib}\\ - \verb|\citeall{Daly:Natbib}| & \citeall{Daly:Natbib}\\ - \bottomrule - \end{tabular} -\end{table} - -\nmbibYearSuffixOff -\clearpage -\printbibliography{timeline} -\clearpage -\printbibliography{sequence} -\clearpage -\printbibliography{authors} - -\end{document} -- cgit v1.2.3