ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setting columns in a text frame.
@ 2015-03-22 14:34 John Culleton
  2015-03-22 19:35 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: John Culleton @ 2015-03-22 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I am attempting to emulate a layout of a
customer's book that was set in InDesign.
I have columns inside a \textframe inside an
\intermezzo. I can't get the columns to break.
I get one long column and the seocnd column is
blank.
here is my code:
---------------------------------------
 \setupframed[framecorner=round, frameradius=1em,
background=screen, backgroundscreen=0.70,
backgroundcorner=round, backgroundradius=1em,
corner=round, radius=1em] \starttext
\placeintermezzo[center,none]{}
\starttext
\startframedtext[] [width=\hsize]
\centerline{\ss\tfb  Interest in Green, Organic,
and Local Foods Is Exploding}
\definecolumns[example][n=2]
\startcolumns[example] Organic foods, locally
sourced foods, and sustainable living or "green"
enterprises have become part of our mainstream
lifestyles. Organic foods are produced without
the use of conventional pesticides, artificial
fertilizers, human waste, or sewage sludge and
are processed without ionizing radiation or food
additives. There is a growing belief that eating
\column organic is better for our bodies and
better for the planet. Green food producers and
processors are becoming increasingly
environmentally friendly. More importantly, data
suggest that these markets have exceeded 60
percent in compound annual growth. This suggests
a significant demand that specialty food
entrepreneurs can meet. \stopcolumns
\stopframedtext \stoptext

Is this combination of features a bridge too far?

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: setting columns in a text frame.
  2015-03-22 14:34 setting columns in a text frame John Culleton
@ 2015-03-22 19:35 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2015-03-22 19:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 22.03.2015 um 15:34 schrieb John Culleton <john@wexfordpress.com>:
> 
> I am attempting to emulate a layout of a
> customer's book that was set in InDesign.
> I have columns inside a \textframe inside an
> \intermezzo. I can't get the columns to break.
> I get one long column and the seocnd column is
> blank.
> here is my code:
> ---------------------------------------
> \setupframed[framecorner=round, frameradius=1em,
> background=screen, backgroundscreen=0.70,
> backgroundcorner=round, backgroundradius=1em,
> corner=round, radius=1em] \starttext
> \placeintermezzo[center,none]{}
> \starttext
> \startframedtext[] [width=\hsize]
> \centerline{\ss\tfb  Interest in Green, Organic,
> and Local Foods Is Exploding}
> \definecolumns[example][n=2]
> \startcolumns[example] Organic foods, locally
> sourced foods, and sustainable living or "green"
> enterprises have become part of our mainstream
> lifestyles. Organic foods are produced without
> the use of conventional pesticides, artificial
> fertilizers, human waste, or sewage sludge and
> are processed without ionizing radiation or food
> additives. There is a growing belief that eating
> \column organic is better for our bodies and
> better for the planet. Green food producers and
> processors are becoming increasingly
> environmentally friendly. More importantly, data
> suggest that these markets have exceeded 60
> percent in compound annual growth. This suggests
> a significant demand that specialty food
> entrepreneurs can meet. \stopcolumns
> \stopframedtext \stoptext
> 
> Is this combination of features a bridge too far?

\starttext

\startframedtext[width=max]
	\startmixedcolumns[boxedcolumns]
	\input knuth
	\stopmixedcolumns
\stopframedtext

\stoptext

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-22 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22 14:34 setting columns in a text frame John Culleton
2015-03-22 19:35 ` Wolfgang Schuster

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).