Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Leads to a bug report on the ConTeXt mailing list: [dev-context] bTABLE in header and document give unexpected behavior

When using this code I get a problem with the frame around the header on the last page. It gets the same frame setting as the table.

This is a screenshot of what I would expect to see:

Good Page

And this is what I am seeing:

not so good page

Can someone give me a solution to solve this?

% 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
share|improve this question

closed as too localized by Marco Daniel, percusse, Kurt, Speravir, Werner Mar 2 '13 at 22:49

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Appears to be a bug. Please post a bug report on the ConTeXt mailing list. –  Aditya Jun 9 '12 at 11:35
    
...which is dev-context@ntg.nl, sign up here. (That's for bug reports; for the mailing list with usage discussion, you want ntg-context@ntg.nl site.) –  Esteis Jun 9 '12 at 13:24
1  
Okay thanks I'll make an effort –  user14644 Jun 10 '12 at 10:21
    
The bug report is here: ntg.nl/pipermail/dev-context/2012/002835.html –  Marco Daniel Mar 2 '13 at 22:26
add comment

Browse other questions tagged or ask your own question.