From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85924 Path: news.gmane.org!not-for-mail From: john Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Invoice Example Date: Mon, 13 Jan 2014 19:13:48 -0500 Organization: WexfordPress Message-ID: <20140113191348.6e902b95@localb.wexfordpress.net> References: <20140102000729.3876@binki> <963C6B1D-6DE7-4A98-8F18-56C629E6987F@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389658613 11470 80.91.229.3 (14 Jan 2014 00:16:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 00:16:53 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 14 01:17:02 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W2rgi-00083I-UU for gctc-ntg-context-518@m.gmane.org; Tue, 14 Jan 2014 01:17:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 046DB101E9; Tue, 14 Jan 2014 01:17:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UGkd2NQ4DYOm; Tue, 14 Jan 2014 01:16:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E9B4D101E2; Tue, 14 Jan 2014 01:16:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C945E101E2 for ; Tue, 14 Jan 2014 01:16:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iQ+G26laYqQ2 for ; Tue, 14 Jan 2014 01:16:54 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 5B067101DE for ; Tue, 14 Jan 2014 01:16:54 +0100 (CET) Original-Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:44:76:96:27:227]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0E0GnPY010724 for ; Tue, 14 Jan 2014 01:16:51 +0100 Original-Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta12.emeryville.ca.mail.comcast.net with comcast id DSC81n0021Y3wxo01cGpzR; Tue, 14 Jan 2014 00:16:49 +0000 Original-Received: from localb.wexfordpress.net ([68.50.233.152]) by omta15.emeryville.ca.mail.comcast.net with comcast id DcGn1n00c3HwwZ88bcGoJQ; Tue, 14 Jan 2014 00:16:49 +0000 In-Reply-To: <963C6B1D-6DE7-4A98-8F18-56C629E6987F@fiee.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.10; x86_64-unknown-linux-gnu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1389658609; bh=JIChLP3CFldyl39CPUx4VZSypWcSOcU2w1aW7TRX/do=; h=Received:Received:Date:From:To:Subject:Message-ID:Mime-Version: Content-Type; b=IBZjaaaRYli/CpIVSJFkU5+e7GvBaBT2scieRUI1tzumoPVkEDUg/lsjyhMD2sE7J t+FC5HXj7SFofHYh6qZhrt4Yo+przl3kKy6DaLfNTsUhHe6vL8LavD378c63ziLWzP iVDwumsefjOTLtjgYTYRcf/Oc7L5YPnM0QYnrOVHJL1nOTVmtZU61p83h9QltkyYNf Iv+lx+KVV7Wh0g//a53jPfoRqpHjtxyahLay77axgobkwiRnvZ92busXGGy+Pw+96Y vSQwa18Adiyd5mjzdBMJ7t4sBVuPRtd6dDV5DoMOE6Qy+yFFjtumzBHFxgBtHtuaTl 2A/7SFzMpWfxw== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:558:fe2d:44:76:96:27:227; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LdAgOCg - cbd007b8913b - 20140114 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85924 Archived-At: On Mon, 13 Jan 2014 13:49:39 +0600 Henning Hraban Ramm wrote: > > Am 2014-01-02 um 21:07 schrieb > hwitloc@gmail.com: > ______________________________________________________ There are horses for courses. I write invoices using plain pdftex. Not much code required, I just change the data fields for each new iteration. I also use the antique TeXsis tables for structure. Here is an example: ------------------------------------------ \input TXSruled.tex \def\today{\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September \or October\or November\or December\fi \space\number\day, \number\year} \nopagenumbers \parindent=0pt \parskip=0pt \font\bigss=cmss17 at 25pt \centerline{\bigss INVOICE} \noncenteredtables \vskip .25in \hrule height 1.5pt \bigskip \line{\hfill Date: \today} \vskip .25in \line{\ruledtable VENDOR \cr John Culleton \hfill\crnorule 2401 Haight Avenue\hfill\crnorule Eldersburg, MD 21784 \hfill\endruledtable \hfill \ruledtable CUSTOMER\cr Independent Contract Services\hfill\crnorule Landmark Community Newspapers\hfill\crnorule Carroll County Times\hfill\crnorule P.O. Box 346\hfill\crnorule Westminster, MD 21158\hfill\endruledtable } \centeredtables \bigskip \ruledtable Item\dbl Desc|Date |Amount \cr 1 \dbl \para{Column}| Dec 10 2013|\$40.00* \cr 2 \dbl \para{Column}| Dec 24 2013|\$40.00 \cr \dbl \multispan2 \hfil TOTAL: | \$80.00\endruledtable \def\uline#1{\vrule height 0pt depth .75pt width #1 in} \centerline{\bf DIRECT DEPOSIT HAS BEEN REQUESTED} {\baselineskip=25pt \vskip 30pt Signed:\uline{2} \vskip 30pt Approved:\uline{2} \hfill Approved Date:\uline{1.5}\break} %%Begin addressing code for reverse side. \vfil\eject\null \vskip -.5in \moveleft .75truein \vbox{{\bf John Culleton}\par 2401 Haight Ave\par Eldersburg MD 21784\par } \vskip 30pt \moveright 3truein \vbox{\obeylines Independent Contract Services Landmark Community Newspapers Carroll County Times P.O. Box 346 Westminster, MD 21158 }\vfill \bye ---------------------------------- I print the first page, flip the paper, print the address info, and fold the paper into threes. Glue the edge, affix a stamp and mail. Run the above code and look at the results. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" available at http://www.booklocker.com/books/4055.html ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________