On 3/2/2011, at 7:31pm, Luke wrote: > Is there any way to implement conditional logic in templates, beyond > variable set/unset if statements? > > In particular, for cases where the duedate and invdate are the same in a > tex invoice, I would like to print "UPON RECEIPT", instead of the > actual due date. > > Is there any convenient way to do this?
The LaTeX package "ifthen" might well be able to do this. I use it for some conditional logic in my template (see previous posting of full details / explanation) and it's a bit unintuitive and weird, but more powerful than you might at first expect. Stroller. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Ledger-smb-users mailing list Ledger-smb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ledger-smb-users