ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] Invoice Example
@ 2014-01-02 15:07 hwitloc
  2014-01-03 11:20 ` Henning Hraban Ramm
  2014-01-13  7:49 ` Henning Hraban Ramm
  0 siblings, 2 replies; 4+ messages in thread
From: hwitloc @ 2014-01-02 15:07 UTC (permalink / raw)
  To: ntg-context


I copied the three files required for the invoice example on the wiki garden.

  invoice.tex,  invoicefunctions.tex, adn invoicesetup.tex

 $ context  invoice.tex

The above compiles without error, but the resulting pdf doesn't give me what I would expect.  There is a 

" Regression in latest release of iT E X  "

In the main body of the document, which I don't think should be there.

My setup: mtx-context     | current version: 2013.09.03 16:23

Is the source out of date with the context version I am using or am I missing something?

Thanks


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [***SPAM***] Invoice Example
  2014-01-02 15:07 [***SPAM***] Invoice Example hwitloc
@ 2014-01-03 11:20 ` Henning Hraban Ramm
  2014-01-13  7:49 ` Henning Hraban Ramm
  1 sibling, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2014-01-03 11:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2014-01-02 um 21:07 schrieb hwitloc@gmail.com:

> I copied the three files required for the invoice example on the wiki garden.
> 
>  invoice.tex,  invoicefunctions.tex, adn invoicesetup.tex
> 
> $ context  invoice.tex
> 
> The above compiles without error, but the resulting pdf doesn't give me what I would expect.  There is a 
> 
> " Regression in latest release of iT E X  "
> 
> In the main body of the document, which I don't think should be there.
> 
> My setup: mtx-context     | current version: 2013.09.03 16:23
> 
> Is the source out of date with the context version I am using or am I missing something?


I’m responsible for that sample, but am sick and can’t concentrate at the moment. I’ll try to come back to you.




Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invoice Example
  2014-01-02 15:07 [***SPAM***] Invoice Example hwitloc
  2014-01-03 11:20 ` Henning Hraban Ramm
@ 2014-01-13  7:49 ` Henning Hraban Ramm
  2014-01-14  0:13   ` john Culleton
  1 sibling, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2014-01-13  7:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2014-01-02 um 21:07 schrieb hwitloc@gmail.com:

> 
> I copied the three files required for the invoice example on the wiki garden.
> 
>  invoice.tex,  invoicefunctions.tex, adn invoicesetup.tex
> 
> $ context  invoice.tex
> 
> The above compiles without error, but the resulting pdf doesn't give me what I would expect.  There is a 
> 
> " Regression in latest release of iT E X  "
> 
> In the main body of the document, which I don't think should be there.
> 
> My setup: mtx-context     | current version: 2013.09.03 16:23
> 
> Is the source out of date with the context version I am using or am I missing something?

Hi anonymous,

I finally came to checking that code - it was still written for an old version of Wolfgang’s letter module.
Now it’s updated to work with the latest. Feel free to fix remaining errors yourself.
http://wiki.contextgarden.net/Invoice

To adapt it for your own purposes you’ll need to learn to use the letter module (or bug Wolfgang to help you ;-)


Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invoice Example
  2014-01-13  7:49 ` Henning Hraban Ramm
@ 2014-01-14  0:13   ` john Culleton
  0 siblings, 0 replies; 4+ messages in thread
From: john Culleton @ 2014-01-14  0:13 UTC (permalink / raw)
  To: ntg-context

On Mon, 13 Jan 2014 13:49:39 +0600
Henning Hraban Ramm <texml@fiee.net> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-14  0:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-02 15:07 [***SPAM***] Invoice Example hwitloc
2014-01-03 11:20 ` Henning Hraban Ramm
2014-01-13  7:49 ` Henning Hraban Ramm
2014-01-14  0:13   ` john Culleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).