per-document figure and cache paths for knit