From: "Thomas A. Schmitz via ntg-context" <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
Subject: Xml - Lua - context
Date: Mon, 28 Mar 2022 15:40:46 +0200 [thread overview]
Message-ID: <87033765-8B2C-4B8C-8CFC-C898CC90269A@uni-bonn.de> (raw)
And here comes question 2, a very basic one: on A4 landscape pages, I want to place two images next to each other (like the spread pages of a book). What would be the preferred way of the really competent users to do this, again keeping in mind that I want to loop over page numbers in a pdf file and thus am coding in Lua. So far, I have tried or thought about:
1. Embedded xtable
This is what I’m using now, an xtable of two columns for every A4 page. It works, but I wonder if it’s a good method.
2. combinations
This appeared to be the most natural approach (because it’s what combinations are for), but I ran into expansion problems, added a few “function () end” in my code, but couldn’t make it compile. Combinations, combined with framed and externalfigure, are difficult to write in Lua - or am I too stupid to find the winning combination (sorry for the puns).
3. columns
Again, this would seen like a natural approach, having every A4 page set up as two columns, but maybe that’s overkill?
I’d be curious to know what you think!
All best
Thomas
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2022-03-28 13:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-28 13:40 Thomas A. Schmitz via ntg-context [this message]
2022-03-28 16:21 ` Adam Reviczky via ntg-context
2022-03-28 17:06 ` Thomas A. Schmitz via ntg-context
2022-03-28 19:08 ` \figuresymbol with underlying hyperlink? Steffen Wolfrum via ntg-context
2022-03-29 7:56 ` Henning Hraban Ramm via ntg-context
2022-03-29 8:48 ` Steffen Wolfrum via ntg-context
2022-03-29 10:59 ` Henning Hraban Ramm via ntg-context
2022-03-29 15:41 ` Steffen Wolfrum via ntg-context
2022-03-30 14:45 ` Hans Hagen via ntg-context
-- strict thread matches above, loose matches on Subject: below --
2022-03-28 13:32 Xml - lua - context Thomas A. Schmitz via ntg-context
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=87033765-8B2C-4B8C-8CFC-C898CC90269A@uni-bonn.de \
--to=ntg-context@ntg.nl \
--cc=thomas.schmitz@uni-bonn.de \
/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).