ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: hajtmar@gyza.cz, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Setuparranging[XY] and arrangement of labels
Date: Sun, 04 Jul 2010 09:17:28 +0200	[thread overview]
Message-ID: <4C303588.2010204@googlemail.com> (raw)
In-Reply-To: <4C2FFD58.90909@gyza.cz>

Am 04.07.10 05:17, schrieb Jaroslav Hajtmar:
> Hello all,
>
> I have a reason to print labels to page in "vertical mode". This 
> means, that labels are place to page underneath first and then abreast 
> (ie top to bottom first and then subsequently left to rigth).
>
> According to the example of the way they are now labels numbered :
>
> 1 2 3
> 4 5 6
> 7 8 9
> 10 11 12
> 13 14 15
>
> but I want to be numbered:
>
> 1 6 11
> 2 7 12
> 3 8 13
> 4 9 14
> 5 10 15
>
> Exist any simple way in \setuparranging [XY] mode (not in columns 
> mode) for this?
> If it will not somehow just does not matter. Otherwise I'll do sort of 
> data that I print to the labels (but otherwise I find it quite helpful 
> as I could keep my original gear mechanism).

This isn't possible with the XY arrangement but when you use two documents,
one with the labels and another one where you arrange them.


Document 1:

\definepapersize[label][width=30mm,height=20mm]
\setuppapersize [label][label]

\starttext
...
\stoptext


Document 2:

\definemeasure[topspace] [\dimexpr(210mm-31mm*5)/2\relax]
\definemeasure[backspace][\dimexpr(297mm-20mm*10)/2\relax]

\setuplayout[page][topspace=\measure{topspace},backspace=\measure{backspace}] 

\setuplayout[page]
\starttext
\combinepages[Document 1][nx=5,ny=10,distance=1mm,alternative=vertical]
\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
___________________________________________________________________________________


  reply	other threads:[~2010-07-04  7:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-04  3:17 Jaroslav Hajtmar
2010-07-04  7:17 ` Wolfgang Schuster [this message]
2010-07-04  8:11   ` Jaroslav Hajtmar

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=4C303588.2010204@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=hajtmar@gyza.cz \
    --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).