<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tim:<br>
<br>
Thanks for the suggestion.&nbsp; I am now thinking of using pdf, since I am
not breaking any laws by using it, so it sure would be nice to have a
library of pdf functions.<br>
<br>
It has been a while since I have used Lisp.&nbsp; I must admit, it would not
have been the first thing I would have thought of.<br>
<br>
-Dan<br>
<br>
Tim Lavoie wrote:<br>
<blockquote cite="mid87zm7zg4sp.fsf@theasylum.dyndns.org" type="cite">
  <pre wrap="">Dan Martin <a class="moz-txt-link-rfc2396E" href="mailto:ummar143@cc.umanitoba.ca">&lt;ummar143@cc.umanitoba.ca&gt;</a> writes:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I need to take a list of medications, display it on a screen which
will allow a user to edit the list, and print it in a number of
different forms (list for the patient, a hospital progress note,
prescription pads).  The printed forms have lines, etc, and could have
geometric figures such as a logo.  The input will likely be in XML.

The display could be done with XHTML.  The printed forms could be done
using LaTeX commands, but I imagine it would be painful to program.  I
could learn postscript.  I assume Acrobat's pdf is proprietary and
cannot be used.  I have heard of an XML based page layout language,
and such a solution would lend itself to an XSLT transformation.

Does anyone have suggestions?
    </pre>
  </blockquote>
  <pre wrap=""><!---->

Hi Dan,

It might be good to ask if this has to integrate with existing
software at all, as there might be constraints there.

There are probably quite a few choices, but a couple of Common Lisp
libraries would fit very nicely. The first is cl-typesetting, which as
the name indicates, is for program-based typesetting of documents and
reports. Its companion, cl-pdf, generates PDF output directly.

 Links:

  <a class="moz-txt-link-freetext" href="http://www.fractalconcept.com/asp/cl-typesetting">http://www.fractalconcept.com/asp/cl-typesetting</a>
  <a class="moz-txt-link-freetext" href="http://www.fractalconcept.com/asp/cl-pdf">http://www.fractalconcept.com/asp/cl-pdf</a>
  <a class="moz-txt-link-freetext" href="http://www.fractalconcept.com/ex.pdf">http://www.fractalconcept.com/ex.pdf</a>  (Example PDF)

The same author has also created a very nice mod-lisp package to
interface with Apache, should a web interface be desired.

Lisp might be odd to some, but if you're already thinking of XML,
you're really most of the way there.

  Cheers,
  Tim


  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
  -Dan

Dr. Dan Martin, MD, CCFP, BSc, BCSc (Hon)

GP Hospital Practitioner
Computer Science grad student
<a class="moz-txt-link-abbreviated" href="mailto:ummar143@cc.umanitoba.ca">ummar143@cc.umanitoba.ca</a>
(204) 831-1746
answering machine always on
</pre>
</body>
</html>