[Top][All Lists]

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

Re: [Gnumed-devel] placeholders in latex

From: Jim Busser
Subject: Re: [Gnumed-devel] placeholders in latex
Date: Tue, 16 Aug 2011 00:23:06 -0700

On 2011-08-08, at 11:21 AM, Karsten Hilbert wrote:

>> known_variant_placeholders = [
>>      u'soap',
>>      u'progress_notes',                      # "args" holds: 
>> categories//template
>>                                                              #       
>> categories: string with 'soap '; ' ' == None == admin
>>                                                              #       
>> template:       u'something %s something'               (do not include // 
>> in template !)

As used in Rogerio's referral template, the following

        $<progress_notes::p//   {\item %s} \\ >$

WIll produce a nicely formatted bulleted item (screenshot 1) but only if a 
single row of narrative is selected.

If you select two rows of narrative to be included, the resulting Latex 
document / PDF  gets very strange-looking (screenshots 2 and 3).

By comparison, the following was able to work even when multiple items were 

        $<problems::\item[%(problem)s] %(diagnostic_certainty_description)s>$

presumably a problem with %s but using instead


was of no benefit…

-- Jim

PNG image

PNG image

PNG image

reply via email to

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