gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] recursive placeholder substitution in form templates


From: Karsten Hilbert
Subject: [Gnumed-devel] recursive placeholder substitution in form templates
Date: Thu, 11 Oct 2012 16:51:38 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

GNUmed will now (GIT HEAD / 1.3) substitute placeholders
within form templates (LaTeX / XeLaTeX ones, that is)
recursively up to three times.

That means one can define a keyword based text snippet (say
"current-patient-demographics") containing form template
placeholders (say $<lastnames>$) and use that snippet with
the $<text_snippet::....>$ placeholder and have GNUmed first
insert the text snippet and then recurse *into* the snippet
and replace placeholders contained within.

For sanity's sake this will only do 3 recursive runs.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]