gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] notification: active text expansion change


From: Karsten Hilbert
Subject: [Gnumed-devel] notification: active text expansion change
Date: Tue, 2 Apr 2013 14:32:47 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

I had to change the handling of active text expansions.

Until now, text expansions allowed insertion of

        $<a hint for display>$

in order to make GNUmed prompt for input while displaying
the given hint. However, text expansions can now also be
used inside forms (say, to insert commonly used boilerplate
LaTeX code) which is even more useful if it contains
document placeholders, such as patient name or DOB.

Since placeholder are ALSO deliminated by $<>$ GNUmed would
think them to be requests for input into the text expansion
being inserted into a form/document and would ask the user
to provide such input using the placeholder definition as a
hint.

That is clearly not desirable. Acorrdingly the text entry
hint format is now

        $[a hint for display]$

(note the [] rather than <>)

This disambiguates both types of formatting.

Now, why this heads up - how does this concern users ?

GNUmed-supplied text expansions have been adjusted for the
next release. However, if you defined active/dynamic text
expansions of your own you need to go edit them to use []
instead of <> for them to keep prompting you as intended.
This can NOT safely be automated for application at the next
database upgrade.

Yes, the "hint for display" itself CAN contain another
single or pair of [] as needed.

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]