On 02 Mar 2000 18:51:22 CST, the world broke into rejoicing as
Rob Browning <[EMAIL PROTECTED]>  said:
> Christopher Browne <[EMAIL PROTECTED]> writes:
> 
> > This would be naturally implemented as a further "reporting"
> > extension.
> 
> Is there a LaTeX package out there yet that'll do checks?  Has anyone
> seen one?  If so, then it'd be easy to spit out the right LaTeX code
> as a stopgap.

CTAN doesn't show off any options, and I've never actually seen one.

It's not hard to do; the problem is in picking which check forms to
try to support.

Project plan:

a) 8 hours:  Come up with a user interface that allows check selection.

b) 4 hours:  Generate a report that produces the desired output, in

abstract form:
\documentclass{cheque}
\begin{document}
\date{April 1, 2000}
\number{2401}
\payee{Mean Old Land Lord}
\amountnum{\$550.00}
\amountwords{Five Hundred Fifty -- 00}
\comment{May Rent - Prepaid}
\end{document}

c) 8 hours of fiddling: Generate the document class to turn the
above into a check, dropping things into \vbox{}es and such.

d) Systems integration: 16hrs.

e) Decide that the above approach sucks, as it requires Yet Another
Tool in the flow.

Take a sample cheque, produced using Times Roman or Helvetica (so
that there's no embedded fonts), and look at the Postscript.

And thereby generate:
(define (makecheque datestring num payee amtnum amtwrds comment)
  (let ((HEADER "%!PS-Adobe plus more stuff")
        (CHUNK2 "more postscript fragments")
        (CHUNK3 "more postscript fragments")
        (CHUNK4 "more postscript fragments")
        (CHUNK5 "more postscript fragments")
        (CHUNK6 "more postscript fragments")
        (FOOTER "and the last postscript fragment..."))
    (string-append HEADER datestring CHUNK2 num CHUNK3 payee CHUNK4
                   amtnum CHUNK5 amtwrds CHUNK6 comment FOOTER)))
--
"I develop for  Linux for a living, I used to  develop for DOS.  Going
from DOS to Linux is like trading a glider for an F117."
-- <[EMAIL PROTECTED]> Lawrence Foard
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/lsf.html>

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to