gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] Problem with % in latex placeholders?


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] Problem with % in latex placeholders?
Date: Fri, 19 Aug 2011 13:44:22 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Aug 18, 2011 at 10:45:43PM -0700, Jim Busser wrote:
> Date: Thu, 18 Aug 2011 22:45:43 -0700
> From: Jim Busser <address@hidden>
> To: Karsten Hilbert <address@hidden>
> Cc: address@hidden
> Subject: Re: [Gnumed-bugs] Problem with % in latex placeholders?
> X-Mailer: Apple Mail (2.1084)
> 
> On 2011-08-18, at 2:14 AM, Karsten Hilbert wrote:
> 
> > On Thu, Aug 18, 2011 at 12:49:27AM -0700, Jim Busser wrote:
> > 
> >> By escaping the % which was in the .tex template and so-converting this…
> > 
> > ...
> > 
> >> to this…
> > 
> > ...
> > 
> >> I was able to make latex happy,
> > 
> > This is all backwards. The real question is why GNUmed
> > apparently does not replace the placeholder as intended. If
> > that happened as intended LaTeX would never see the %.

Once I looked at the instance file I spotted the problem:

>>> $<current_meds::\%(brand)s \%(preparation)s & \%(strength)s & \%(schedule)s 
>>> & {\footnotesize \%(aim)s} \tabularnewline {\footnotesize (\%(substance)s)} 
>>> & \multicolumn{3}{l}{{\footnotesize \%(notes)s}} \vline \tabularnewline 
>>> \hline > $ 

There's a stray space between ">" and "$" hence the intended
placeholder does not conform to the required layout.

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]