summaryrefslogtreecommitdiff
path: root/biblio/tib/inputs/cmp.ttx
diff options
context:
space:
mode:
Diffstat (limited to 'biblio/tib/inputs/cmp.ttx')
-rw-r--r--biblio/tib/inputs/cmp.ttx146
1 files changed, 146 insertions, 0 deletions
diff --git a/biblio/tib/inputs/cmp.ttx b/biblio/tib/inputs/cmp.ttx
new file mode 100644
index 0000000000..d2c9ee5dda
--- /dev/null
+++ b/biblio/tib/inputs/cmp.ttx
@@ -0,0 +1,146 @@
+%flag. author: title. journal volume pages (date), gov't no., other (article)
+%flag. author: title. series. city: publisher date, gov't no., other (book)
+
+\Refstd\Citebrackets\Smallcapsaand%set general formats for reference list and citations
+\def\Titlefont{\Reffont}\def\Tomefont{\Reffont}\def\Volfont{\bf}%redefine some fonts
+\def\Flagstyle#1{\hangindent\parindent\indent\hbox to0pt{\hss{\Flagfont#1}.\kern.5em}}%flag style
+\def\Aand{, }\def\Aandd{, }\def\Eand{, }\def\Eandd{, }\def\aand{, }\def\aandd{, }\def\eand{, }\def\eandd{, }%redefine author, editor, etc. separators
+
+\def\journalarticleformat{\Reffont\let\uchyph=1\parindent=1.25pc\def\Comma{}%
+ \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
+ \par\vfil\penalty-200\vfilneg%\filbreak
+ \if\Ftest\present\Flagstyle\Fstr\fi%
+ \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip: }\fi%
+ \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{\ }\fi%
+ \if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip\ }\fi%
+ \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{\ }\fi%
+ \if\Vtest\present\Comma\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
+ \if\Ptest\present\Comma\bgroup\Pstr\egroup\def\Comma{\ }\fi%
+ \if\Dtest\present\hskip.16667em(\bgroup\Dstr\egroup)\def\Comma{, }\fi%
+ \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{\ }\fi%
+ \if\jtest\present\if\ttest\present\Comma\else. \fi\bgroup\Tomefont\jstr\/\egroup\def\Comma{\ }\fi%
+ \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
+ \if\ptest\present\Comma\bgroup\pstr\egroup\def\Comma{\ }\fi%
+ \if\dtest\present\hskip.16667em(\bgroup\dstr\egroup)\def\Comma{, }\fi%
+
+ \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
+ \if\Otest\present\Comma\bgroup\Ostr\egroup\fi.%
+ \vskip3ptplus1ptminus1pt}%\smallskip
+
+\def\conferencereportformat{\Reffont\let\uchyph=1\parindent=1.25pc\def\Comma{}%
+ \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
+ \par\vfil\penalty-200\vfilneg%\filbreak
+ \if\Ftest\present\Flagstyle\Fstr\fi%
+ \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip: }\fi%
+ \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{. }\fi%
+ \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{: }\fi%
+ \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\egroup\def\Comma{\ }\fi%
+
+ \if\Dtest\present(\bgroup\Dstr\egroup)\def\Comma{, }\fi%
+ \if\Otest\present\Comma\bgroup\Ostr\egroup\fi.%
+ \vskip3ptplus1ptminus1pt}%\smallskip
+
+\def\bookarticleformat{\Reffont\let\uchyph=1\parindent=1.25pc\def\Comma{}%
+ \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
+ \par\vfil\penalty-200\vfilneg%\filbreak
+ \if\Ftest\present\Flagstyle\Fstr\fi%
+ \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip: }\fi%
+ \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{. }\fi%
+ \if\etest\present\ (\bgroup\estr\egroup)\def\Comma{\unskip. }\fi%
+ \if\Btest\present\Comma\bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip. }\fi%
+ \if\otest\present\ \bgroup\ostr\egroup\def\Comma{. }\fi%
+ \if\Etest\present, \bgroup\Estr\egroup\ifnum\Ecnt>1(eds.)\else (ed.)\fi\def\Comma{. }\fi%
+ \if\Ptest\present, \bgroup{\if\Pcnt\present pp.~\else p.~\fi}\Pstr\egroup\def\Comma{. }\fi%
+ \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
+ \if\Vtest\present\Comma\ Vol. \bgroup\Vstr\egroup\def\Comma{, }\fi%
+ \if\Ntest\present\Comma\ No. \bgroup\Nstr\egroup\def\Comma{, }\fi%
+ \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{: }\fi%
+ \if\Itest\present\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
+ \if\Dtest\present\ \bgroup\Dstr\egroup\def\Comma{, }\fi%
+ \if\ttest\present. \bgroup\Titlefont\Tstr\egroup\def\Comma{. }\fi%
+ \if\btest\present\Comma\bgroup\Tomefont\bstr\egroup\def\Comma{. }\fi%
+ \if\atest\present, \bgroup\astr\egroup\unskip, \if\acnt\present (eds.)\else (ed.)\fi\def\Comma{. }\fi%
+ \if\ptest\present, {\if\pcnt\present pp.~\else p.~\fi}\pstr\def\Comma{. }\fi%
+ \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
+ \if\vtest\present\Comma\ Vol. \bgroup\vstr\egroup\def\Comma{, }\fi%
+ \if\ntest\present\Comma\ No. \bgroup\nstr\egroup\def\Comma{, }\fi%
+ \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{: }\fi%
+ \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
+ \if\dtest\present\ \bgroup\dstr\egroup\def\Comma{, }\fi%
+ \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
+ \if\Otest\present\Comma\bgroup\Ostr\egroup\fi.%
+ \vskip3ptplus1ptminus1pt}%\smallskip
+
+\def\bookformat{\Reffont\let\uchyph=1\parindent=1.25pc\def\Comma{}%
+ \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
+ \par\vfil\penalty-200\vfilneg%\filbreak
+ \if\Ftest\present\Flagstyle\Fstr\fi%
+ \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip: }%
+ \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{: }%
+ \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{: }\fi\fi\fi%
+ \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\/\egroup\def\Comma{\unskip. }%
+ \else\if\Btest\present\Comma\bgroup\Titlefont\Bstr\/\egroup\def\Comma{\unskip. }\fi\fi%
+ \if\otest\present\ \bgroup\ostr\egroup\def\Comma{. }\fi%
+ \if\etest\present\ (\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
+ \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
+ \if\Vtest\present\Comma\ Vol. \bgroup\Vstr\egroup\def\Comma{, }\fi%
+ \if\Ntest\present\Comma\ No. \bgroup\Nstr\egroup\def\Comma{, }\fi%
+ \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{: }\fi%
+ \if\Atest\present\if\Itest\present
+ \Comma\bgroup\Istr\egroup\def\Comma{\unskip\ }\fi%
+ \else\if\Etest\present\if\Itest\present
+ \Comma\bgroup\Istr\egroup\def\Comma{\unskip\ }\fi\fi\fi%
+ \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
+ \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{, }%
+ \else\if\btest\present. \bgroup\Titlefont\bstr\egroup\def\Comma{, }\fi\fi%
+ \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
+ \if\vtest\present\Comma\bgroup\vstr\egroup\def\Comma{, }\fi%
+ \if\ntest\present\Comma\bgroup\nstr\egroup\def\Comma{, }\fi%
+ \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
+ \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
+ \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
+ \if\Gtest\present\Comma Gov't ordering no. \bgroup\Gstr\egroup\def\Comma{, }\fi%
+ \if\Otest\present\Comma\bgroup\Ostr\egroup\fi.%
+ \vskip3ptplus1ptminus1pt}%\smallskip
+
+\def\technicalreportformat{\Reffont\let\uchyph=1\parindent=1.25pc\def\Comma{}%
+ \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
+ \par\vfil\penalty-200\vfilneg%\filbreak
+ \if\Ftest\present\Flagstyle\Fstr\fi%
+ \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip: }%
+ \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\def\Comma{\unskip: }%
+ \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{: }\fi\fi\fi%
+ \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
+ \if\Atest\present\if\Itest\present
+ \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
+ \else\if\Etest\present\if\Itest\present
+ \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
+ \if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
+ \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
+ \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
+ \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{. }\fi%
+ \if\rtest\present\bgroup\rstr\egroup\def\Comma{. }\fi%
+ \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{: }\fi%
+ \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{\ }\fi%
+ \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
+ \if\Gtest\present\Comma Gov't ordering no. \bgroup\Gstr\egroup\def\Comma{, }\fi%
+ \if\Otest\present\Comma\bgroup\Ostr\egroup\fi.%
+ \vskip3ptplus1ptminus1pt}%\smallskip
+
+\def\otherformat{\Reffont\let\uchyph=1\parindent=1.25pc\def\Comma{}%
+ \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
+ \par\vfil\penalty-200\vfilneg%\filbreak
+ \if\Ftest\present\Flagstyle\Fstr\fi%
+ \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip: }%
+ \else\if\Etest\present\def\Eand{\Aand}\def\Eandd{\Aandd}\bgroup\Authfont\Estr\egroup\def\Comma{\unskip: }%
+ \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{: }\fi\fi\fi%
+ \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{. }\fi%
+ \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{: }\fi%
+ \if\Atest\present\if\Itest\present
+ \Comma\bgroup\Istr\egroup\def\Comma{\ }\fi%
+ \else\if\Etest\present\if\Itest\present
+ \Comma\bgroup\Istr\egroup\def\Comma{\ }\fi\fi\fi%
+ \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
+ \if\Gtest\present\Comma Gov't ordering no. \bgroup\Gstr\egroup\def\Comma{, }\fi%
+ \if\Otest\present\Comma\bgroup\Ostr\egroup\fi.%
+ \vskip3ptplus1ptminus1pt}%\smallskip