Thanx Wolfgang for your advice, it is very interesting for me, and even though I do not use it now, I'm sure I will someday come in handy..

Jaroslav




Dne 4.7.2010 9:17, Wolfgang Schuster napsal(a):
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 via email to