emanate an empty bibliography page, if there are no \cite

commands. prevents dead links
This commit is contained in:
Andreas Meyer 2006-03-19 21:44:38 +00:00
parent 6b8afe6a70
commit e9a9ca7ae9
1 changed files with 11 additions and 1 deletions

View File

@ -195,8 +195,18 @@
\lciIfFileExists{#GXC1#GXC2.auxtmp}{\lciInclude{#GXC1#GXC2.auxtmp}}{}}
% Args: main-path, main-rootname: reads *.bbl file if it exists
% if it does not exist, at least prepare a dummy bib page
% to prevent dead links
\newcommand{\lciReadBbl}[2]{%
\lciIfFileExists{#GXC1#GXC2.bbl}{\lciInclude{#GXC1#GXC2.bbl}}{}}
\lciIfFileExists{#GXC1#GXC2.bbl}%
{\lciInclude{#GXC1#GXC2.bbl}}%
{\lciOpenTmpFile{\lciBibFilename}%
\lciBibFileHeader%
The empty bibliography.
\lciBibFileFooter%
\lciCloseFile%
}%
}
% ___________________________________________________________________________