I seem to have a problem with the export of plots to PDF when using the FrameTicks option.
Using the example from the documentation:
fticks2[min_, max_] :=
Table[If[EvenQ[i], {i, i, {.1, 0}, Red}, {i, i, {.05, 0}, Blue}],{i,
Ceiling[min], Floor[max], 1}]
pltest = Graphics[Circle[{0, 0}, 2],
Frame -> True,
FrameTicks -> fticks2];
Leads to the (expected) display on the screen:
However, exporting the graphics as a PDF file via
Export["test.pdf", pltest, "PDF"];
fails on Mac OS X 10.12.6 (MMA 11.2.0.0) as it produces just the circle - no frame, no ticks, no tags:
Answers to similar versions of this question suggested setting
FrameTicks-> True
However, this doesn't work in this case, as setting FrameTicks to True overrides the fticks2 function.
The only workaround that I have found so far is to use the Rasterize-function, but this is a it clumsy.
Any ideas for a better fix?