From: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Tesselating the sheet with a image
Date: Tue, 21 May 2013 07:38:24 +0200 [thread overview]
Message-ID: <519B0850.6050703@mmnetz.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]
Hi there,
for a card game I have this macro:
\defineoverlay[eslami][{\externalfigure[somepicture.pdf]}]
\def\esl[#1][#2][#3]{%
\startframed[frame=on,width=4.75cm,offset=overlay,align=middle,background=eslami]%
\offinterlineskip
\framed[width=4.75cm,frame=off,height=2cm]{\blank[-3mm]#1}\\
\framed[width=4.75cm,frame=off,height=3cm]{#2}\\
\framed[width=4.75cm,frame=off,height=2.4cm]{#3}
\stopframed}
\starttext
\esl[blub][blub][blub]
\stoptext
which produces cards with some text (see attachment).
Now, I only want to write in the editor the commands
\esl[blub1][blub1][blub1]
\esl[blub2][blub2[blub2]
\esl[blub3][blub3][blub3]
etc.
and these images / overlays should be placed automatically vertically
and horizontically over the sheets, like a tesselation (and after that
they will be printed and cutted).
The order of setting the cards is not important. If one page is full,
then they should be placed automatically on the next page - but
perfectly the same way, on the same locations, like on all other pages.
That is important for cutting, each card should have two sides, so they
have to match in location.
Is there a way to do this?
Thank you.
Huseyin
PS.: Before this mail I accidentally sent a mail with a slightly
different code and a too big attachment, which awaited moderation, so it
can be ignored.
[-- Attachment #2: eslami_kartenntg.pdf --]
[-- Type: application/pdf, Size: 11277 bytes --]
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2013-05-21 5:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 5:38 "H. Özoguz" [this message]
2013-05-22 20:15 ` Wolfgang Schuster
2013-05-22 6:03 "H. Özoguz"
2013-05-22 6:36 ` luigi scarso
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=519B0850.6050703@mmnetz.de \
--to=h.oezoguz@mmnetz.de \
--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).