Skip to content
/ Genenga Public
forked from mkouhei/Genenga

Generate Nengajo(Japanese new year card) pdf, from address list.

License

Notifications You must be signed in to change notification settings

max747/Genenga

 
 

Repository files navigation

======================================================
Genenga is generator PDF of Nengajo from address list.
======================================================

Requirement
-----------

Debian Packages
^^^^^^^^^^^^^^^

* mendexk
* texlive-binaries
* libc-bin
* python2.7
* fonts-vlgothic
* fonts-aoyagi-kouzan-t
* fonts-umeplus
* make
* ptex-bin
* python-pystache (but yet current ITP)

format of address.csv
---------------------

address list is CSV. It is syntax is below::

   flag,PersonLastName,PersonFirstName1,PersonFirstName2,address,address2,PostalCode1,PostalCode2,PostalCode3,PostalCode4,PostalCode5,PostalCode6,PostalCode7


Example
^^^^^^^
::

   1,子猫,にゃんこ,ねこちゃん,東京都中央区ねこまた町0ー0,,0,0,0,0,0,0,0
   1,猫山,にゃんごろ,,東京都太田区ねこむら町0ー0,キャットマンション101,0,0,0,0,0,0,0
   1,猫村,にゃん太,にゃんこ,東京都新宿区ねこ町0ー0,,0,0,0,0,0,0,0
   0,猫太,ねこのすけ,,東京都三鷹市こねこ町0ー0,,0,0,0,0,0,0,0
   1,猫野,ねこ太,ねこ助,神奈川県横浜市こねこ町0ー0,,0,0,0,0,0,0,0


Flag of address first field
^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. target this year.
#. next year target but not sent this year.
#. sent the before last.
#. remove.

Usage
-----

#. Update address.csv
#. convert photo, extractbb photoimage
#. edit nenga-yoko.tex
#. make, generate nenga-yoko.pdf, print this pdf
#. generate atena.pdf, print this::

   $ genenga -t path/to/yourtemplate.mustache address.csv


About

Generate Nengajo(Japanese new year card) pdf, from address list.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 80.9%
  • TeX 19.1%