框架的奇怪问题(ConTeXt 表)

框架的奇怪问题(ConTeXt 表)

导致在 ConTeXt 邮件列表上报告错误:[dev-context] 标题和文档中的 bTABLE 出现意外行为

使用此代码时,最后一页标题周围的框架出现问题。它具有与表格相同的框架设置。

这是我期望看到的屏幕截图:

好页面

这就是我所看到的:

不太好的页面

有人能给我一个解决这个问题的办法吗?

% TABLE SETUP
\setupTABLE[frame=on, framecolor=blue, rulethickness=4pt]
\setupTABLE[header][each][background=color, backgroundcolor=blue, color=white]
\setupTABLE[row][odd][background=color, backgroundcolor=gray]
\setupTABLE[row][even][background=color, backgroundcolor=lightgray]
\setupTABLE[row][last][bottomframe=on]
\setupTABLE[row][test][background=color, backgroundcolor=darkgray]
%
% HeaderStyle -------------------------------------------------------------
\startsetups[header]
    \setupTABLE[frame=on]
    \setupTABLE[c][each][width=0.2\textwidth, align=middle, offset=2mm ]
    \setupTABLE[c][4][width=0.6\textwidth]
    \setupTABLE[r][5][height=\headerheight]

    \bTABLE
        \bTR
          \bTD Rev  \eTD \bTD {\ssbfa \getvariable{document}{projectname}} \\ 
                              {\ssbfa \getvariable{document}{documenttitle}}\eTD \bTD some text\eTD        
        \eTR % End of row 1
    \eTABLE 

\stopsetups
\setupheadertexts[\setups{header}]  


\starttext
\startbuffer[table]
\bTABLE[split=repeat]
    \startTABLEhead
        \bTR \bTD No. \eTD \bTD[nc=2] Length         \eTD \eTR
        \bTR \bTD     \eTD \bTD{} [m] \eTD \bTD{} [inch] \eTD \eTR
    \stopTABLEhead
    \startTABLEbody
        \bTR[background=color, backgroundcolor=darkgray] \bTD[nc=3] This is a section where I can place this and that \eTD \eTR
        \dorecurse{100}
        {\bTR \bTD 1.  \eTD \bTD some dummy text.        \eTD \bTD some more dummy text \eTD \eTR}
     \stopTABLEbody
\eTABLE
\stopbuffer

\placetable[split, none]{}{\getbuffer[table]}
\stoptext

相关内容