[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] Error with placeholder $<gender_mapper>$
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] Error with placeholder $<gender_mapper>$ |
Date: |
Sun, 14 Aug 2011 19:53:20 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Aug 13, 2011 at 12:45:02PM -0700, Jim Busser wrote:
> The following tex code
>
> re: $<lastname>$, $<title>$ $<firstname>$ ($<gender_mapper>$, born
> $<date_of_birth::%Y %B %d>$)\\
> $<adr_number::home>$ $<adr_street::home>$\\
> $<adr_location::home>$ $<adr_postcode::home>$
>
>
> results (in the PDF) in
>
> re: Kirk, Capt. James Tiberius (error with placeholder [< gendermapper
> >], born 1931 March 22)
> 3366 Chandler Rd
> Windsor N8W 4B3
Of course. That placeholder needs to be used as per
definition (which can possibly be improved upon):
# those [placeholders] must satisfy the pattern "$<name::args::optional
length>$" when used
...
u'gender_mapper', # "args" holds: <value for
male> // <value for female> // <value for other>
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346