[NTG-context] Changing page orientation - Landscape/Portrait

Peter Rolf indiego at gmx.net
Tue Apr 11 12:18:38 CEST 2006


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 at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.tex
Url: http://www.ntg.nl/pipermail/ntg-context/attachments/20060411/43de7dfa/attachment.asc 


More information about the ntg-context mailing list