`communication.tex`: use pdflatex instead of latex->dvips->ps2pdf
This issue was originally about a failing make doc
but has turned into an issue about replacing the latex->dvips->ps2pdf workflow with pdflatex.
Original description below:
make doc
fails due to hardcoded but missing BitstreamVeraSans-Roman font in distarray.eps
distarray.eps
is combined with communication.dvi
to form communication.ps
using dvips
. This is then in turn passed to ps2pdf14
to create a PDF -- but that fails (see attached compilation.log).
A simpler way to reproduce the problem is to run gs
on distarray.eps
:
joe@paranoia:~/Projekte/dune-simd/build_paranoia_gcc_4.9_debug/dune-common/doc/comm/figures$ gs distarray.eps <&-
GPL Ghostscript 9.06 (2012-08-08)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
**** Warning: Some of the BoundingBox for the EPS file will be clipped.
Use -dEPSCrop or -dEPSFitPage to avoid clipping.
Can't find (or can't open) font file /usr/share/ghostscript/9.06/Resource/Font/BitstreamVeraSans-Roman.
Can't find (or can't open) font file BitstreamVeraSans-Roman.
Querying operating system for font files...
Error: /typecheck in /findfont
Operand stack:
(BitstreamVeraSans-Roman-ISOLatin1) BitstreamVeraSans-Roman
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop --nostringval-- 1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1868 4 3 %oparray_pop
Dictionary stack:
--dict:1165/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
Current allocation mode is local
Current file position is 3202
GPL Ghostscript 9.06: Unrecoverable error, exit code 1
joe@paranoia:~/Projekte/dune-simd/build_paranoia_gcc_4.9_debug/dune-common/doc/comm/figures$
There is a package ttf-bitstream-vera
in Debian jessie, this problem happens with and without that package installed. No other package obviously related to the Bitstream Vera font family seems to exist in Debian.
This problem is not (directly) related to Debian#732440, I have ghostscript
version 9.06~dfsg-2+deb8u4
installed which includes the fix for that problem.
@markus.blatt I'm assigning to you since you originally checked that file in in dune-istl@69aa058e, so if anyone has the sources for that file then you.