ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* To \getbuffer or to \input: which one is it better?
@ 2018-02-10 15:10 Otared Kavian
       [not found] ` <9d5cc80b-f851-6b00-53d7-300963e1e55a@wxs.nl>
  0 siblings, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2018-02-10 15:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

In a project using the \setvariables command of ConTeXt, a file containing more than 200 instances of a structure resembling (but with much more fields…)

	\setvariables[talk]
		[speaker={Dr Some Speaker},
		title={Some title},
		room={Some Room},
		]

is input several times, in order to extract from these variables one or more informations to be typeset, for different types of documents. However I don’t know whether this is a wise solution, or is it better to define once and for all a buffer and then use the \getbuffer command for each of the different uses in my global document.

For now, unfortunately, I cannot come up with a minimal example because the question I am asking is about a real situation where nothing is minimal. That is why I am asking a general abstract question to understand the general philosophy underlining the buffer commands versus the \input command.

Thanks in advance for any hint: OK


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-13  8:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-10 15:10 To \getbuffer or to \input: which one is it better? Otared Kavian
     [not found] ` <9d5cc80b-f851-6b00-53d7-300963e1e55a@wxs.nl>
     [not found]   ` <A462E411-1306-4E12-88B7-54A1AABC27F7@gmail.com>
2018-02-11 11:51     ` Hans Hagen
2018-02-11 13:17       ` Aditya Mahajan
2018-02-11 16:52         ` Hans Hagen
2018-02-13  8:09         ` Otared Kavian

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).