[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#825894: bibtool: FTBFS: Makefile:47: recipe for target 'bibtool.pdf' failed



Hi Jerome,


> bibtool fails to build from source in unstable/amd64:
...
>   cd doc; make -w DIR_SEP=/
>   make[2]: Entering directory '/home/lamby/temp/cdt.20160531090755.Gs1MtCqNbV.bibtool/bibtool-2.63+ds/doc'
>   ./make_version.pl ../version.c > config.tex
>   pdflatex -no-shell-escape -interaction=batchmode -draftmode bibtool.tex
>   This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex)
>   entering extended mode
>   Makefile:47: recipe for target 'bibtool.pdf' failed

Running that without -interactionmode and -draftmode I get:
! Class scrbook Error: undefined old font command `\rm'.

See the scrbook class documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.131 \maketitle

The reason is that  in bibtool-doc.sty there is
	\DeclareRobustCommand\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em\TeX}}

I am not sure whether this is a change in srbook or latex or whatever, but
the \rm and the \sc needs to be chanced.

Rudimentary tests show that adding
	\renewcommand{\rm}{\rmfamily}
	\renewcommand{\sf}{\sffamily}
	\renewcommand{\tt}{\ttfamily}
	\renewcommand{\bf}{\bfseries}
	\renewcommand{\sc}{\scshape}
to bibtool-doc.sty near the top helps and makes it compile!

All the best

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13    fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13


Reply to: