From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Rudd, Kevin" <kevin@lps.umd.edu>
Subject: Re: problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")
Date: Tue, 8 Sep 2020 22:31:38 +0200 [thread overview]
Message-ID: <688f211c-58a6-e014-d95c-a1a840d9cafd@gmail.com> (raw)
In-Reply-To: <9CED6A26-735B-4122-A3E9-34F67589B3D1@lps.umd.edu>
[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]
Rudd, Kevin schrieb am 08.09.2020 um 19:50:
> I have a number of slides using \...framedtext blocks to break the
> slides into panes within a TABLE environment (TMI: not in MWE; merely
> my justification for writing the wrapper macros). When the TABLE
> macros are invoked explicitly it all works fine and produces a
> suitable single-cell table with "quux blech baz bar foo" framed; when
> embedded in macros (whether defined by \def, \unexpanded\def, \define)
> then it fails with the error "The file ended when scanning an
> argument. => fatal error: return code: 256. A previous question on the
> topic seemed to indicate that TABLE was suitable, so I figure that
> something subtle is wrong as I've invoked the embedded TABLE macros.
> Any suggestions?
While most natural tables command can be embedded within other command
the cells have to see the end command.
I guess this shouldn't be a problem for your case because something
simpler can be used to create your desired layout but you have to
provide more information:
1. Are there blocks side by side or do you stack them only vertically?
2. Do you need a frame around each block?
3. Are (small) gaps between the blocks allowed?
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1716 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-09-08 20:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 17:50 Rudd, Kevin
2020-09-08 20:31 ` Wolfgang Schuster [this message]
2020-09-08 22:30 ` Rudd, Kevin
2020-09-09 5:57 ` Wolfgang Schuster
2020-09-09 13:02 ` Rudd, Kevin
2020-09-09 15:32 ` Rudd, Kevin
2020-09-10 13:17 ` 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=688f211c-58a6-e014-d95c-a1a840d9cafd@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=kevin@lps.umd.edu \
--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).