at the moment I'm working on a personal project where I want to use several grids and I thought it would be nice trying xcoffins to realise this. I can define a coffin for the text body, define poles for the grid and join ONE additional coffin wherever I want to. But when joining a second coffin, I always get the error "pole does not exist". It doesn't matter if I use the normal join or the starred version, or if I use [\BodyGrid-PoleColC, ...], only redefining the poles works. As this is quite exhausting (I could easier use offsets) I would like to ask if I misunderstood the implementation of poles and should use a different approach.
\documentclass[a4paper,twoside,10pt]{scrbook}%
\setlength{\parindent}{0mm}%
\pagestyle{empty}%
\usepackage[width=176mm,height=250mm,left=19mm,top=19mm]{geometry}%
\usepackage{xcolor,xcoffins}%
\begin{document}%
\NewCoffin \BodyGrid%
\SetVerticalCoffin \BodyGrid {176mm} {\color{green!10!white}\rule{176mm}{236mm}}%
\SetVerticalPole \BodyGrid {PoleColA} {0mm}%
\SetVerticalPole \BodyGrid {PoleColB} {30mm}%
\SetVerticalPole \BodyGrid {PoleColC} {60mm}%
\SetVerticalPole \BodyGrid {PoleColD} {90mm}%
\SetVerticalPole \BodyGrid {PoleColE} {120mm}%
\SetVerticalPole \BodyGrid {PoleColF} {150mm}%
\SetHorizontalPole \BodyGrid {PoleRowA} {236mm}%
\SetHorizontalPole \BodyGrid {PoleRowB} {206mm}%
\SetHorizontalPole \BodyGrid {PoleRowC} {176mm}%
\SetHorizontalPole \BodyGrid {PoleRowD} {146mm}%
\SetHorizontalPole \BodyGrid {PoleRowE} {116mm}%
\SetHorizontalPole \BodyGrid {PoleRowF} {86mm}%
\SetHorizontalPole \BodyGrid {PoleRowG} {56mm}%
\SetHorizontalPole \BodyGrid {PoleRowH} {26mm}%
\NewCoffin \CoffinFC%
\SetVerticalCoffin \CoffinFC {26mm} {\rule{26mm}{26mm}}%
\JoinCoffins \BodyGrid [PoleColF,PoleRowC] \CoffinFC [l,t]%
\SetVerticalPole \BodyGrid {PoleColA} {0mm}%
\SetVerticalPole \BodyGrid {PoleColB} {30mm}%
\SetVerticalPole \BodyGrid {PoleColC} {60mm}%
\SetVerticalPole \BodyGrid {PoleColD} {90mm}%
\SetVerticalPole \BodyGrid {PoleColE} {120mm}%
\SetVerticalPole \BodyGrid {PoleColF} {150mm}%
\SetHorizontalPole \BodyGrid {PoleRowA} {236mm}%
\SetHorizontalPole \BodyGrid {PoleRowB} {206mm}%
\SetHorizontalPole \BodyGrid {PoleRowC} {176mm}%
\SetHorizontalPole \BodyGrid {PoleRowD} {146mm}%
\SetHorizontalPole \BodyGrid {PoleRowE} {116mm}%
\SetHorizontalPole \BodyGrid {PoleRowF} {86mm}%
\SetHorizontalPole \BodyGrid {PoleRowG} {56mm}%
\SetHorizontalPole \BodyGrid {PoleRowH} {26mm}%
\NewCoffin \CoffinCG%
\SetVerticalCoffin \CoffinCG {26mm} {\rule{26mm}{26mm}}%
\JoinCoffins \BodyGrid [PoleColC,PoleRowG] \CoffinCG [l,t] %
\TypesetCoffin \BodyGrid%
\end{document}%
stackengine. – Steven B. Segletes Mar 10 '20 at 13:28