File: multibib.hva

package info (click to toggle)
hevea 2.38-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,824 kB
  • sloc: ml: 19,525; sh: 505; makefile: 311; ansic: 132
file content (14 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\newcommand{\@readmultbib}[1]
{\@stopoutput\@stopimage%
\ifthenelse{\@fileexists{#1.aux} \and \not \boolean{fixpoint}}
  {\@try{\@readaux{#1}}{\hva@warn{Failure while reading #1.aux, multibib not available}}}
  {}%
\@restartoutput\@restartimage}
\newcommand{\newcites}[2]{%
\let{\csname cite#1\endcsname}\cite%
\let{\csname nocite#1\endcsname}\nocite%
\let{\csname bibliographystyle#1\endcsname}\bibliographystyle%
\def\csname refname#1\endcsname{#2}%
\def\csname bibliography#1\endcsname##1{{\def\refname{\csname refname#1\endcsname}\input{#1.bbl}}}%
\AtBeginDocument{\@readmultbib{#1}}%
}