On Mon, 8 Aug 2022, Cottrell, Allin wrote:
On Mon, Aug 8, 2022 at 5:22 AM Riccardo (Jack) Lucchetti
<p002264(a)staff.univpm.it> wrote:
>
> On Mon, 8 Aug 2022, Marcin Błażejowski wrote:
>
>> it seems to be a missing citation in 'gretl-lpsolve.tex': "Package
natbib
>> Warning: Citation `kantorovich60' on page 5 undefined on input l
>> ine 297" (current git).
>
> This was the effect of an incompatibility between the doc package and
> natbib. Since the former seemed to be unused in the document, I removed it
> form the git version and things should now be ok. (The funny thing is, the
> same package is used in gretl-mpi.tex too, but seems to do no harm. Go
> figure)
Thanks, Jack. Weird. Also strange: on my texlive system there's no
conflict between doc.sty and natbib, the citation in question works
fine.
I was going to say, I have no idea why the "doc" package is loaded by
any gretl-related latex file -- since it appears to be all about
documentation of TeX code itself -- but then I found a reason why it's
included by pkgbook.tex: it defines \BibTeX, which is wanted there.
Elsewhere it shouldn't be needed.
Well, if that's the only reason to keep the doc.sty file in, we might as
well add the definiton of \BibTeX to gretl.sty. It's just
\def\BibTeX{{\rmfamily B\kern-.05em%
\textsc{i\kern-.025em b}\kern-.08em%
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------