Generate Nengajo(Japanese new year card) pdf from address list.
Project description
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
HISTORY
0.3 (2013-12-23)
Change template layout
Change “–template-path” option to be requrired
Fix a bug: always used a default template instead of a loaded template
Thanks to Kojima Takanori <takanori.kojima@gmail.com> for patch.
0.2 (2012-09-21)
suport pystache 0.5.x
Refacotroing
0.1 (2011-12-01)
First release
TODO
Test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.