gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] template help


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] template help
Date: Wed, 23 Feb 2011 14:04:59 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Feb 14, 2011 at 03:24:33AM -0800, Dr Vaibhav Banait wrote:

> Dear developers
> I am attempting to write a simple template. It is not working. Please help
>
> \documentclass[usenglish, a4, 11pts]{article}
> \title{Demo_opd_encounter_details}
> \begin{document}
> \maketitle
> $<firstname>$$<lastname>$\\
> $<date_of_birth>$\\
> $<gender_mapper>$\\
> $<adr_location>$\\
> \section*{Rx}
> $<current_meds_table>$
> \section{Clinical Details}
> $<soap::ap>$
> \end{document} 

I have modified your template to become valid LaTeX:


\documentclass[usenglish, a4, 11pts]{article}
\title{Demo OPD Encounter Details}
\author{Demo author}
\begin{document}
\maketitle
$<firstname>$ $<lastname>$\\
$<date_of_birth::%Y-%m-%d>$\\
$<gender_mapper::male//female//other::5>$\\
$<adr_location::home>$\\
\section*{Rx}
$<current_meds_table::latex>$
\section{Clinical Details}
\begin{itemize}
$<progress_notes::ap//  {\item %s} \\ >$
\end{itemize}
\end{document}


This works for me.

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]