I believe that the definitions for portrait and landscape orientation
for Tabloid/Ledger paper are flipped.

In the following MWE using Hans' clue to using \scaling directive, I am
having to specify landscape in order for the page to be set in portrait.
This observation is confirmed when I retrieve the document properties
using evince under Bodhi Linux and under Ubuntu 12.04 (<ALT><ENTER>
brings up the document properties).  With this MWE, the properties under
both systems is shown as "Tabloid, Portrait (11.00 x 17.00 inches)"

Have I got this right?

MWE:

\setuppapersize[tabloid,landscape][tabloid,landscape]
\setuplayout[
        backspace=0.5in,
        width=10in,
        topspace=1.0in,
        header=0in, 
        footer=0in,
        height=16.5in]
\setuppagenumbering[location=,state=stop]

\usemodule[simplefonts]
\setmainfont[schola]
\setupbodyfont[rm,16pt]
\setupinterlinespace[line=2.8ex]

\starttext
%\showlayout[in,pt]

\setupMPinstance
        [metafun]
        [extensions=yes,
        initializations=yes]

\startuseMPgraphic{Example}
u:=1cm;

pickup pencircle scaled 1pt;

draw (5u,0u) {dir 90}..(0u,5u) {dir 180};
draw (0u,5u) .. (-1.5u,10.5u) {dir 90} .. (0u,16u);
draw (0u,16u) {dir 0} .. (5u,21u) {dir 90};
draw (5u,21u) -- (39u,21u);
draw (39u,21u) {dir 270} .. (42u,18u) {dir 0};
draw (42u,18u) .. (43.5u,10.5u) {dir 270} .. (42u,3u);
draw (42u,3u) {dir 180} .. (39u,0u) {dir 270};
draw (39u,0u) -- (35u,0u);
draw (35u,0u) .. (22u,3u) {dir 180} .. (9u,0u);
draw (9u,0u) -- (5u,0u);
label(btex A POOL etex, (22u,10.5u));

\stopuseMPgraphic
\startalignment[middle]
\definedfont[Serif at 16pt]\setupinterlinespace
{\tfb\sc An Example Plumbing Schematic}
\blank[big]
{\tfb \tt [DRAFT---To Be Verified]}
\blank[2*big]
\stopalignment
\scale[width=10in]{\useMPgraphic{Example}}
\stoptext

-- 
----
Pavneet Arora           m: 647.406.6843
Waroc Informatik        t: 416.937.9276
___________________________________________________________________________________
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 via email to