% D R F T C O N O . S T Y % % version 1.2 (Oct 1996) % % Print the tags instead of the numbers for \fcite. %............................................ % % A T T E N T I O N! % % This file is a modification of % % D R F T C I T E . S T Y % % version 3.5 (Jan 1995) % % Print the tags instead of the numbers for \cite. % See also CITE.STY and OVERCITE.STY. % % Copyright (C) 1989,1991-1995 by Donald Arseneau % These macros may be freely transmitted, reproduced, or modified % provided that this notice is left intact. % ........................ % % Handle formatting hooks: % \ffciteform,\ffciteleft,\ffciteright,\ffcitemid,\ffcitepunct % % Set defaults: \special{src: 29 DRFTCONO.STY} %Inserted by TeXtelmExtel % [ on the left. \@ifundefined{ffciteleft}{\let\ffciteleft=[}{} \special{src: 34 DRFTCONO.STY} %Inserted by TeXtelmExtel % ] on the right: \@ifundefined{ffciteright}{\let\ffciteright=]}{} \special{src: 39 DRFTCONO.STY} %Inserted by TeXtelmExtel % , (comma space) before note \@ifundefined{ffcitemid}{\def\ffcitemid{,\penalty\@lowpenalty\ }}{} \special{src: 44 DRFTCONO.STY} %Inserted by TeXtelmExtel % , (comma space) between entries \@ifundefined{ffcitepunct}{ % Default: To put space after the comma. [nospace] eliminates the space \def\ffcitepunct{,\penalty\@lowpenalty\ }% }{} \special{src: 52 DRFTCONO.STY} %Inserted by TeXtelmExtel % Each citation tag left as-is: \@ifundefined{ffciteform}{\def\ffciteform{}}{} \special{src: 57 DRFTCONO.STY} %Inserted by TeXtelmExtel % Do not repeat warnings. [verbose] reverses \let\oc@verbo\relax \special{src: 62 DRFTCONO.STY} %Inserted by TeXtelmExtel % \ffciten gives the citation tag in the text and writes the aux file entry. % Use \ffciten to give citation name without the other formatting; e.g., % "See also ref.~\ffciten{junk}" gives "See also ref. junk". % \edef\ffciten{\noexpand\protect \expandafter\noexpand\csname ffciten \endcsname} \special{src: 70 DRFTCONO.STY} %Inserted by TeXtelmExtel \@namedef{ffciten }#1{% \edef\@tempa{\@ignspaftercomma,#1, \@end, }% ignore spaces in parameter list. \edef\@tempa{\expandafter\@ignendcommas\@tempa\@end}% \if@filesw \immediate\write \@auxout {\string\citation {\@tempa}}\fi \def\@ffcitea{}% \@for \@ffciteb:=\@tempa\do {\@ffcitea \@ifundefined {b@\@ffciteb\@extra@b@ffciteb}% {{\bf \@ffciteverb{\@ffciteb}?}%% issue warning only for first mis-use: \@dftc@ifund {DCN@\@ffciteb\@extra@b@ffciteb}{% delete to warn always \@warning {Citation `\@ffciteb' on page \thepage\space undefined}% }{}% delete to warn always }% else, defined {\@dftc@hbox{\@ffciteverb{\@ffciteb}}}% \let\@ffcitea\ffcitepunct\@advanceffcitecount }} \special{src: 88 DRFTCONO.STY} %Inserted by TeXtelmExtel % for ignoring spaces in the input: \def\@ignspaftercomma#1, {\ifx\@end#1\@empty\else #1,\expandafter\@ignspaftercomma\fi} \def\@ignendcommas,#1,\@end{#1} \special{src: 95 DRFTCONO.STY} %Inserted by TeXtelmExtel % Make \ffcite robust. % \edef\ffcite{\noexpand\protect\expandafter\noexpand\csname ffcite \endcsname} \special{src: 101 DRFTCONO.STY} %Inserted by TeXtelmExtel \@namedef{ffcite }{\@ifnextchar [{\@tempswatrue\@ffcitex}{\@tempswafalse\@ffcitex[]}} \special{src: 105 DRFTCONO.STY} %Inserted by TeXtelmExtel % Make \@ffcitex refer to \ffciten: % (Put a single space before the output) % \def\@ffcitex[#1]#2{\@ffcite{\ffciten{#2}}{#1}}% \special{src: 112 DRFTCONO.STY} %Inserted by TeXtelmExtel % Replacement for \@ffcite which defines the formatting normally done % around the citation list. Adjust the spacing before the citation: % if no space or if there is extra space due to some punctuation, then % change to one inter-word space. The way to change this is by changing % \ffciteleft, \ffcitemid, and \ffciteright; but in extreme cases it might be % necessary to redefine the whole macro. % \special{src: 122 DRFTCONO.STY} %Inserted by TeXtelmExtel %\def\@ffcite#1#2{\leavevmode % \@tempskipa\lastskip \edef\@tempa{\the\@tempskipa}\unskip % \ifx\@tempa\@zero@skip \spacefactor1001 \fi % if no space before, set flag % \ifnum\spacefactor>\@m \ \else \hskip\@tempskipa \fi % \ffciteleft{#1\if@tempswa \ffcitemid #2\fi}\ffciteright % \spacefactor\@m % punctuation in note doesn't affect outside %} \edef\@zero@skip{\the\z@skip} % % Give the citation tag as the label (even if another label is specified) % \def\@lffbibitem[#1]#2{\global\@Highffcite\z@ \item[\@ffbiblabel{\@ifundefined{DCN@#2\@extra@b@ffciteb}{\@warning {Reference `#2' on page \thepage\space was never ffcited}}{}% \DC@llap{$^{\@nameuse{DCN@#2\@extra@b@ffciteb}}$\ \ }%%o \@ffciteverb{#2}}\hfil]\if@filesw{\def\protect##1{\string ##1\space}% \immediate\write\@auxout{\string\ffbibcite{#2}{#1}}}\fi\ignorespaces} \special{src: 142 DRFTCONO.STY} %Inserted by TeXtelmExtel \def\@ffbibitem#1{\refstepcounter{\@listctr}\@lffbibitem[\the\value{\@listctr}]{#1}} \special{src: 146 DRFTCONO.STY} %Inserted by TeXtelmExtel % make the special characters in the citation tag printable % \def\@ffciteverb#1{% {\ffciteform{% to get characters <>_|{}: \ffciteform->\tt \expandafter \expandafter \expandafter \@gobblethree % do \csname, \string, \expandafter \string\csname b@#1\endcsname}% % \@gobble, in that order. }}% \special{src: 156 DRFTCONO.STY} %Inserted by TeXtelmExtel \def\@gobblethree#1#2#3{} \special{src: 160 DRFTCONO.STY} %Inserted by TeXtelmExtel % \@extra@b@ffciteb is a hook for other style files to further specify % citations; for example, to number by chapter. % In case no fancy ffbib package (chapterffbib) defines it: \special{src: 166 DRFTCONO.STY} %Inserted by TeXtelmExtel \@ifundefined{@extra@b@ffciteb}{\def\@extra@b@ffciteb{}}{} \special{src: 170 DRFTCONO.STY} %Inserted by TeXtelmExtel %------------------------------------ % Handle optional variations: \special{src: 175 DRFTCONO.STY} %Inserted by TeXtelmExtel \def\noffcitecount{% \def\@advanceffcitecount{\global\@namedef{DCN@\@ffciteb\@extra@b@ffciteb}{}}% \let\DC@llap\@gobble} \noffcitecount % in case what follows gets removed \special{src: 182 DRFTCONO.STY} %Inserted by TeXtelmExtel \newcount\@Highffcite \global\@Highffcite\z@ \let\@dftc@ifund\@ifundefined \let\@dftc@hbox\hbox \special{src: 188 DRFTCONO.STY} %Inserted by TeXtelmExtel \@ifundefined{DeclareOption}{}% { \DeclareOption{noffcitecount}{\endinput} \toks@={\def\@dftc@ifund#1#2#3{#2}} \DeclareOption{verbose}{\the\toks@} \DeclareOption{tt}{\def\ffciteform{\tt}} \DeclareOption{nospace}{\def\ffcitepunct{,\penalty\z@}} \DeclareOption{space}{\def\ffcitepunct{,\ }} \DeclareOption{breakffcites}{\let\@dftc@hbox\relax} \ProvidesPackage{drftcono}[1995/01/23 \space v 3.5] \ProcessOptions } \special{src: 201 DRFTCONO.STY} %Inserted by TeXtelmExtel % The rest deals only with counting, and can be removed if counting is never % desired. \special{src: 206 DRFTCONO.STY} %Inserted by TeXtelmExtel \let\DC@llap=\llap % % count the citations as they appear in the text % \def\@advanceffcitecount{\@ifundefined {DCN@\@ffciteb\@extra@b@ffciteb}% {\global\advance\@Highffcite\@ne \expandafter\xdef\csname DCN@\@ffciteb\@extra@b@ffciteb\endcsname{\the\@Highffcite}}% {}} % % The remainder handles (counting over) input files skipped by \includeonly. % It adds code to LaTeX's \include to re-read the .aux file checking the % \citation commands. % % For included files that are skipped (not listed by \includeonly) % input the .aux file ignoring all commands but \citation, which % does \@advanceffcitecount (keeps count of the citations). This adds % a requirement for other style files that add commands to the .aux % file: the commands must be safe to execute an extra time. % \let\@dftc@include\include \def\include#1{\relax \ifx\DC@llap\llap \begingroup % do counting only if wanted \@ifundefined{cp@#1}{}% don't do if .aux file not there! {\toks@\expandafter\expandafter\expandafter{\csname cp@#1\endcsname}% \expandafter\xdef\csname cp@#1\endcsname{\the\toks@ \noexpand\@dftc@auxffcite{#1}}}% \endgroup\fi \@dftc@include{#1}} % \def\@dftc@auxffcite#1{\begingroup % disable everything but \citation \let\ffbibcite\@gobbletwo \let\newlabel\@gobbletwo \let\@writefile\@gobbletwo \let\ffbibdata\@gobble \let\ffbibstyle\@gobble % already \@gobble normally \def\citation##1{\@for\@ffciteb:=##1\do {\@advanceffcitecount}}% \makeatletter\@input{#1.aux}\endgroup } \endinput \special{src: 244 DRFTCONO.STY} %Inserted by TeXtelmExtel % FROM % D R F T C I T E . S T Y % % version 3.5 (Jan 1995) % % This package makes LaTeX use the identifying label instead of the number % for citations, as if the ffbibliography had entries like \ffbibitem[name]{name} % but LaTeX writes the proper citation number to the aux file for later runs. % Spaces before the \ffcite command are ignored, and an ordinary interword % space is used. This package is particularly useful for draft (draught) % versions of documents. % % % Drftffcite keeps track of which references were ffcited, and issues warnings % for ffbibliography items that were never ffcited in the text. % % This package also keeps track of the order of first-citations in the text % for easy sorting. To omit this counting... % LaTeX 2.09: declare \noffcitecount before the first \ffcite; or, for % a more permanent removal, comment-out the lines ending with %%o % below, and omit everything following the line that begins with %%o. % LaTeX2e: specify \usepackage[noffcitecount]{drftffcite}, or perform the % editing described above. % % The characters <>|_{}\ are not present in the cm roman fonts, so if you use % them in identifiers, they will have to be typeset in typewriter style. % To do this,... % LaTeX 2.09: insert \renewcommand\ffciteform{\tt} in your preamble % LaTeX2e: specify \usepackage[tt]{drftffcite} % % `Citation...undefined' warnings are only given once per undefined % citation name. In the text, missing numbers are represented with a % bold `name?'. To restore multiple warnings... % LaTex 2.09: edit this file, removing the lines with the comments: % "delete to warn always" % LaTeX2e: specify \usepackage[verbose]{drftffcite} % % Other options for \usepackage are: % [space] - Separate printed names with comma-space (Default). % [nospace] - Print just a comma (not comma-space) after each name. % [breakffcites] - Allow each printed name to be broken (hyphenated). % % There are several commands that you may redefine (using \renewcommand) % to change the formatting of citation lists: % % command function default % ---------- ----------------------- ---------------------------- % \ffciteform reformats every entry nothing % \ffcitepunct printed between numbers comma + space % \ffciteleft left delimiter of list [ % \ffciteright right delimeter of list ] % \ffcitemid printed before note comma + space % % % Send problem reports to sschulz@chemie.uni-hamburg.de % \special{src: 303 DRFTCONO.STY} %Inserted by TeXtelmExtel