Changes

Jump to navigation Jump to search
115 bytes added ,  16:57, 7 June 2020
m
no edit summary
This page focus on '''Basics of page design and layout'''. You can also be interested in:
* '''[http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf Layout and page design manual chapter]''' to go into more detail
* '''[[Presentations]]''' and associated features, widgets, multimedia
* '''[[Layers]]''' (absolute positioning etc.)
 
* '''[[Working on Grid]]''' (working with fixed distances)
* [[Columns]]
 
* [[Floating_Objects|Floating objects]]
* [[Hiding Content]]
For more details and actual state see mailing list and [http://wiki.contextgarden.net/User_talk:Zenlima Bug Layoutchange inside page while duplexmode].
</div>
 
= Advanced features =
 
* Layout set up can be strongly greatly facilitated thanks to [[Visual Debugging#Layout]].
 
* To allow Acrobat Reader users (among others?) to make layers visible/invisible at will, add the following command at the start of your file:
<texcode>
\showlayoutcomponents
</texcode>
 
* If you have a certain run of text that you want to keep together, you can test for the number of lines available on the current page with {{cmd|testpage|[''n'']}}, where ''n'' is the number of lines required. If there are not ''n'' lines available, a page break will be inserted at the location of the {{cmd|testpage}} command.
 
* If you need absolute positioning of objects (text, pictures) on the page, but ad-hoc rather than systematic, the [[Layers]] mechanism is more suitable.
 
* For layout from a [[Formatting Objects|XML/FO]] perspective, with some descriptive pictures, see At [http://getfo.sourceforge.net/context_xml/index.html Paul Tremblay's] [[XML]] ConTeXt site.
= Table of Parameters =
</texcode>
(From {{src|page-lay.mkiv}}.)
 
 
= Further reading =
 
* '''[[Presentations]]''': specifics requirements, specific pages (widgets, multimedia, ...)
* '''[[Visual Debugging#Layout|Visual Debugging]]''': can greatly facilitate the set up of your layout. To allow Acrobat Reader users (among others?) to make layers visible/invisible at will, add the following command at the start of your file {{cmd|showlayoutcomponents}}.
* After the layout, we can usually focus on the following subjects:
** '''[[Floating Objects]]'''
** '''[[Columns]]'''
** '''[[Layers]]''' (absolute positioning, background, foreground etc.)
** '''[[Working on Grid]]''' (working with fixed distances)
** '''[[Hiding Content]]'''
 
 
* If you have a certain run of text that you want to keep together, you can test for the number of lines available on the current page with {{cmd|testpage|[''n'']}}, where ''n'' is the number of lines required. If there are not ''n'' lines available, a page break will be inserted at the location of the {{cmd|testpage}} command.
* If you need absolute positioning of objects (text, pictures) on the page, but ad-hoc rather than systematic, the [[Layers]] mechanism is more suitable.
* For layout from a [[Formatting Objects|XML/FO]] perspective, with some descriptive pictures, see At [http://getfo.sourceforge.net/context_xml/index.html Paul Tremblay's] [[XML]] ConTeXt site.
* '''[http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf Layout and page design manual chapter]''' to go into more detail
 
 
 
{{Getting started navbox}}
[[Category:ConTeXt-Issues]]

Navigation menu