gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] placeholders in latex


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] placeholders in latex
Date: Thu, 29 Mar 2012 11:43:03 +0200

> On Sun, Jan 01, 2012 at 11:01:31PM +0000, Jim Busser wrote:

>>>>     form_name
>>>> 
>>>>     (maybe also form_version ?)
>> 
>> Can you think of a manageable way of getting, outputted to LaTex, the
>> name of the form associated with the template that was selected in
>> writing a letter?
> 
> It needed inventing "injectable" placeholder the values of
> which would be injected into the placeholder replacement
> data source at appropriate times (and removed again later).
> 
> The list of valid injectables is in gmMacro.py, as with
> other types of placeholders. The syntax is "name::::max length".
> 
> Instances of the cLatexForm class now inject
> "form_name_long", "form_name_short", and "form_version" into
> the placehoder data source just before placeholder
> substitution. This also required passing the cFormTemplate
> instance to the actual form instance from which it was
> created such that the instance knows its template (and can
> thus query it for the name/version information). Other
> cFormEngines can do so as well as needed.
> 
> Done in git head.

> Am I correct to believe that injectable placeholders are not in GNUmed  > 
> 1.1x but that they can be included in the next release?

Correct on both counts, yes.

Karsten

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a



reply via email to

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