From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: columns and \definemakeup
Date: Tue, 29 Apr 2008 13:40:59 +0200 [thread overview]
Message-ID: <115224fb0804290440r4de3ace9s4c5b5f2fee372e59@mail.gmail.com> (raw)
In-Reply-To: <115224fb0804290432u47e4665alf7a5b21d9116c7a2@mail.gmail.com>
On Tue, Apr 29, 2008 at 1:32 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> On Tue, Apr 29, 2008 at 12:54 PM, Suno Ano <suno.ano@googlemail.com> wrote:
> > Hi Folks!
> >
> > I am in the curse of setting up the environment plus a project structure
> > for a book. My problem is with a few pages like for example colofon
> > where I used
> >
> > ,----[ content from comp_colophon.tex ]
> > | \startcomponent comp_colophon
> > | \product prod_back_matter
> > | \project proj_a_book
> > |
> > | \startstandardmakeup[doublesided=no, page=right]
> > |
> > | \startalignment[flushleft]
> > | \ssd Colophon\par
> > | \blank[1mm]
> > | \ssa \title\par
> > | \stopalignment
> > |
> > | \hairline
> > |
> > | \stopstandardmakeup
> > |
> > | % -------
> > |
> > | \startstandardmakeup[doublesided=no, page=left]
> > | \stopstandardmakeup
> > |
> > |
> > | \stopcomponent
> > `----
> >
> > Now I want the text to be in columns -- two that is ... However, I tried
> > with
> >
> > ,----
> > | \startcolumns[n=2]
> > | <my text goes here>
> > | \stopcolumns
> > `----
> >
> > and
> >
> > ,----
> > | \definecolumnset[example][n=2]
> > |
> > | \starttext
> > | \startcolumnset[example]
> > | \dorecurse{15}{\fakewords{100}{200}\par}
> > | \stopcolumnset
> > | \stoptext
> > `----
> >
> > but I just get one column in both cases. Can anyone tell me how I would
> > for example use \definemakeup in order to get exactly what
> > \startstandardmakeup and \stopstandardmakeup provides me with PLUS the
> > text gets typeset into two columns? Maybe if it is not possible with
> > \definemakeup what else could I do? Tia!
>
> Try this:
>
> \starttext
> \startstandardmakeup
> \startsimplecolumns
> \dorecurse{3}{\input knuth\par}
> \stopsimplecolumns
> \stopstandardmakeup
> \stoptext
Alternative solution:
\definelayout
[titlepage]
[header=0pt,
footer=0pt,
backspace=4cm,
width=12cm]
\definestartstop
[titlepage]
[before={\setuplayout[titlepage]},
after={\page[right]\setuplayout[reset]}]
\starttext
\starttitlepage
\startcolumns
\dorecurse{3}{\input knuth\par}
\stopcolumns
\stoptitlepage
\input knuth
\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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-04-29 11:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-29 10:54 Suno Ano
2008-04-29 11:32 ` Wolfgang Schuster
2008-04-29 11:40 ` Wolfgang Schuster [this message]
2008-04-29 17:22 ` Suno Ano
2008-04-30 6:07 ` Wolfgang Schuster
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=115224fb0804290440r4de3ace9s4c5b5f2fee372e59@mail.gmail.com \
--to=schuster.wolfgang@googlemail.com \
--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).