From: Peter Rolf <indiego@gmx.net>
Subject: Re: Changing page orientation - Landscape/Portrait
Date: Tue, 11 Apr 2006 12:18:38 +0200 [thread overview]
Message-ID: <443B827E.6020606@gmx.net> (raw)
In-Reply-To: <1144706734.9038.3.camel@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1913 bytes --]
Miguel Queiros wrote:
> Hello Peter,
>
>> \start ... \stop mark the boundaries of the local (layout) setup, which
>> is defined between \startlocal ... \stoplocal. This way you don't need
>> to redefine your old layout after a local (one page) style change.
>> ConTeXt returns to the prior layout automatically.
>>
>> So deleting them is no good idea (results in extra work for you) :)
>
> Yes, I noticed that... :)
>
>> If you can make a minimal example of your buffer problems...
>
> Ok, I'v attached the example. It seems that If I use
> \start \startlocal and \stop and \stoplocal I get some errors...
>
Hi Miguel. I have attached a working example (sorry for the crippled
output; seems, my emacs is not configured right for utf).
Greets, Peter
> Thanks for your help!
> Miguel Queirós
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> \starttext
>
> P�gina 1.
>
> \startbuffer[teste]
> \starttable[|c|c|c|]
> \HL[2]
> \NC test \NC test \NC test \NC \FR
> \NC test \NC test \NC test \NC \MR
> \NC test \NC test \NC test \NC \LR
> \stoptable
> \stopbuffer
>
> \page
> P�gina 2.
>
> % It works if you place a comment \start \startlocal and \stoplocal and \stop
> % It wont work without the "%"
>
> % \start
> % \startlocal
> \placetable{Just an example}{\externalfigure[teste.tmp]}
This is what I call 'creative usage' of a feature :)
Better use \getbuffer for this.
>
> \setuppapersize[A4,landscape][A4,landscape]
> % \stoplocal
> % \stop
>
> \page
> \setuppapersize[A4][A4]
> P�gina 3.
>
> \page
> P�gina 4.
>
> \stoptext
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
[-- Attachment #2: test.tex --]
[-- Type: text/plain, Size: 702 bytes --]
% interface=en output=pdftex
% Time-stamp: <Dienstag, 11 April 2006 12:14:18; test.tex>
%
\starttext
P�gina 1.
\startbuffer[teste]
\starttable[|c|c|c|]
\HL[2]
\NC test \NC test \NC test \NC \FR
\NC test \NC test \NC test \NC \MR
\NC test \NC test \NC test \NC \LR
\stoptable
\stopbuffer
\page
P�gina 2.
\start
\startlocal % only setup, no content!
\setuppapersize[A4,landscape][A4,landscape]
\stoplocal
% here comes the content
\placetable{Just an expample}{\getbuffer[teste]}
\page % !! place it after stop and look what happens
\stop
P�gina 3.
\page
P�gina 4.
\stoptext
%%% Local Variables:
%%% mode: context
%%% TeX-master: ""
%%% End:
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2006-04-11 10:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-09 11:30 Miguel Queiros
2006-04-09 12:43 ` Peter Rolf
2006-04-10 12:21 ` Miguel Queiros
2006-04-10 12:53 ` Peter Rolf
2006-04-10 22:05 ` Miguel Queiros
2006-04-11 10:18 ` Peter Rolf [this message]
2006-04-11 12:57 ` Hans Hagen
2006-04-13 0:55 ` Miguel Queiros
2006-04-13 8:49 ` Hans Hagen
2006-04-13 11:36 ` Peter Rolf
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=443B827E.6020606@gmx.net \
--to=indiego@gmx.net \
--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).