separating layout from content: section blocks?
To whom it may concern, I have a large document with several distinct pieces. Each piece has different layout requirements. I can setup the layout before each piece, but I would prefer to separate the layout from content. Currently what is the best way to do this? I have tried defining section blocks and then specifying the layout for the section blocks between \startsectionblockenvironment [mySectionBlock] and \stopsectionblockenvironment commands. I have also tried the project, product, component, environment structure from the manuals. I have not had success with either method. I would be very interested to know the approach taken by more experienced users. Thank you for your help. Sincerely, Andrew Crouse
Hi Andrew, Humble, what I do is using the project structure and load layout files at the moment I need the new layout-features. - Indeed I separate the layout, the setups from the content. Loading such files can best be done with \environment respectivefile. Kind regards Willi Andrew D. Crouse wrote:
To whom it may concern,
I have a large document with several distinct pieces. Each piece has different layout requirements. I can setup the layout before each piece, but I would prefer to separate the layout from content. Currently what is the best way to do this?
I have tried defining section blocks and then specifying the layout for the section blocks between \startsectionblockenvironment [mySectionBlock] and \stopsectionblockenvironment commands. I have also tried the project, product, component, environment structure from the manuals. I have not had success with either method.
I would be very interested to know the approach taken by more experienced users.
Thank you for your help.
Sincerely,
Andrew Crouse _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On 5/1/06, Andrew D. Crouse wrote:
To whom it may concern,
I have a large document with several distinct pieces. Each piece has different layout requirements. I can setup the layout before each piece, but I would prefer to separate the layout from content. Currently what is the best way to do this?
I guess that you can use \startsetups[somename] ... whatever setups you need ... \stopsetups and then recall them by \setups[somename] I first saw the example of usage here, but didn't try them out by myself yet: http://source.contextgarden.net/tex/context/base/s-mag-01.tex http://www.pragma-ade.com/general/magazines/mag-0000.pdf Mojca
participants (3)
-
Andrew D. Crouse
-
Mojca Miklavec
-
Willi Egger