ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \setuplayout and splitted rotated tables
Date: Mon, 29 Aug 2011 09:31:20 +0200	[thread overview]
Message-ID: <4E5B4048.9000609@gyza.cz> (raw)

Hello everybody.
I managed to set ConTeXt to properly split a rotated table.
Now I have a big problem with the correct placement of page number in 
footer. If I set different layout and numbering in footer is OK then the 
table is badly divided. Is there some choices for layout settings so 
that the page numbering to work correctly in footer while the table 
rotated to properly divided? I tried many setups with diferent 
parameters of layouts but without succes.

I'm beginning to feel that perhaps will not even possible do that.
Must I  turn off page numbering in footers, and manually put the data at 
the corresponding position on the page by using layers? Or exist any way 
to do it using \setuplayout?

Thanx Jaroslav Hajtmar

Here is my example:



% http://source.contextgarden.net/page-lay.mkiv
%\showframe

\definepapersize[paperportrait][A4]
\definepapersize[paperlandscape][A4,landscape]
\definelayout[portrait][width=fit, topspace=5mm, header=1cm, 
footer=1.5cm, height=fit]
\definelayout[rotatedportrait][location=middle,width=fit, height=fit, 
topspace=3.5cm]


\setuppapersize[paperportrait]
\setuplayout[portrait]


\setupfootertexts[ŠVP Gymnázia Zábřeh][section][ŠVP Gymnázia 
Zábřeh][section]
\setupfooter[style=\ssxx]
\setuppagenumbering[state=start,location=footer, left=---\ , right=\ ---]



    \setupTABLE[split=yes]
    \setupTABLE[row][first][background=color,backgroundcolor=gray]
    \setupTABLE[column][1][width=1cm]
    \setupTABLE[column][2][width=2cm]
    \setupTABLE[column][3][width=3cm]
    \setupTABLE[column][4][width=4cm]
    \setupTABLE[column][5][width=5cm]
    \setupTABLE[column][6][width=6cm]
    \setupTABLE[column][7][width=5cm]




   \starttext

   \setuplayout[portrait]
   \input tufte
   \page

   \setuplayout[rotatedportrait]

   \placetable[90,split][tab:example]{Example of a rotated table}
   {
   \bTABLE
   \dorecurse{65}{\bTR\dorecurse{7}{\bTD x\eTD}\eTR}
   \eTABLE
   }

   \stoptext



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


                 reply	other threads:[~2011-08-29  7:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E5B4048.9000609@gyza.cz \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).