[GRASS-user] d.mon cairo + pdf

When I try to generate a PDF, the only thing displayed is the last command. When I replace all “pdf” with “png”, it works and I see multiple layers. Am I doing something wrong or is this a bug? System is OS X with GRASS 7.2

rm fig/basins.pdf
d.mon start=cairo output=fig/basins.pdf
d.vect z0 color=gray

d.vect basins
d.vect boundary_marine color=red width=3

d.mon stop=cairo
open fig/basins.pdf

Thanks,

-k.

On Thu, Feb 16, 2017 at 9:32 PM, Ken Mankoff <mankoff@gmail.com> wrote:

When I try to generate a PDF, the only thing displayed is the last
command. When I replace all "pdf" with "png", it works and I see multiple
layers. Am I doing something wrong or is this a bug?

Unfortunately a bug, or I should perhaps say missing feature in this case.
#3033

https://trac.osgeo.org/grass/ticket/3033

The is suggested workaround and more discussion.