Sumpfork
1b96a9ceb8
Throw out yaml as the python yaml library is badly documented and out of date; use JSON everywhere instead
2015-11-03 13:21:41 -08:00
Sumpfork
28921e9d2c
pep8
2015-11-02 14:59:00 -08:00
Wendel Voigt
ea9e25dd5b
Fix for Issue #20 - Unsleeved horizontal A4 sheets overlap with expansion name
...
Fixed two things:
1. font.face.descent was a negative number. To get the full font
height, the absolute value of it needed to be added.
2. Was printing the footer to the middle of the space left between the
bottom of the cards and the margin. For small spaces this gives up 1/2
the room. So instead, printing the footer at the very bottom of the
margin.
2015-10-23 14:42:46 -05:00
Sumpfork
628760e584
make new choices into list constants for web app
2015-10-19 15:52:25 -07:00
Sumpfork
02c5be2555
some pep8 fixes, simplify if check lines, fix/add some help messages, unify line endings to be unix
2015-10-19 15:33:41 -07:00
Wendel Voigt
8c4c1395a2
Cleanup and Added starting alternating tabs on the left or the right.
...
Added the option to start the alternating tabs with a left tab, or a
right tab.
Clean up of help text. Fixed one case where overlapping options did not
make sense.
2015-10-17 09:25:08 -05:00
Wendel Voigt
996fa90681
Consolidation of options
...
Consolidated options on tab location and tab text alignment. Options
that were generally mutually exclusive to each other were combined.
Replaced --center_name and --edge_align_name with single
--tab_name_align that takes the parameters left, right, center, centre,
edge (default=left)
Replaced --samesidelables and --fulltab with --tab_side that takes the
parameters left, right, alternate, full (default=alternate)
2015-10-16 22:06:21 -05:00
Wendel Voigt
088ffc0819
Enhancements - fulltab, center_name, back_offset_height
...
Added 3 enhancements:
--fulltab to make the tab the full width of the divider
--center_name to center the card name on the tab
--back_offset_height to add points in the vertical direction on the back
page
2015-10-16 10:53:34 -05:00
Adam Chappell
ac1159998b
Issue 13 - Updated costs with * and +
...
Fixed costs to add * and + where necessary. Modified regex to allow a
cost to end in a * or a +. Adventures cards missing from yaml version so
you'll need to keep the costs for those cards in mind when adding them.
2015-07-26 20:54:35 -05:00
Jonathan Gordon
473b35e667
Add card groups to easily exclude upgrades and prizes, etc
2015-06-22 21:45:46 +10:00
Jonathan Gordon
55825b0069
Add --no-page-footer, --exclude-prizes, --no-card-backs options
...
--no-page-footer stops the set name being printed at the bottom of
the page (which doesnt fit on horizontal mode)
--exclude-prixes stops the prizes getting their own tabs
--no-card-backs stops it printing the back page (make sure your printer
is set to single-sided printing)
2015-06-22 20:46:34 +10:00
Aaron Jensen
009c4b7890
Adding --use-text-set-icon for using text labels for set identification instead of image icons.
2015-06-04 21:16:31 -07:00
Aaron Jensen
7e7818c986
Adding --no-card-rules option for ommitting card rules from tab body.
2015-06-04 19:58:26 -07:00
Aaron Jensen
bc06c33a17
Adding no_tab_artwork option to exclude background art from tabs.
2015-06-04 19:48:27 -07:00
Pekka Mikkola
bce83554f4
Add possibility to cherry pick card tabs using a file.
2015-05-05 11:26:12 +03:00
Pekka Mikkola
782edb061d
Add image for event
2015-05-04 23:39:33 +03:00
Pekka Mikkola
db174a4cde
Add banner image for Caravan Guard
2015-05-04 23:19:40 +03:00
Pekka Mikkola
a964908ff7
Add new separate banners for each shelter
2015-05-04 22:41:40 +03:00
Pekka Mikkola
88c819b26a
Add images for reserve banners
2015-05-04 22:38:23 +03:00
Pekka Mikkola
fe7412038c
Add single tab for prizes
2015-05-04 20:16:39 +03:00
Sumpfork
535dedf9ee
do not exclude Events divider when excluding individual events
2015-04-27 14:31:16 -07:00
Sumpfork
719a0c5904
add extra dividers when selecting specific expansions
2015-04-27 13:30:25 -07:00
Sumpfork
9a5dac3a55
pep8
2015-04-27 13:20:47 -07:00
Sumpfork
a7cc600ef7
add collection tab for Advenatures events
2015-04-27 13:17:13 -07:00
Robert R. Enderlein
c339cddac5
Added Events for Adventure (and a flag to disable them).
2015-04-27 00:46:53 +02:00
Robert R. Enderlein
c60009987e
Fixed spaces -> tabs in card database.
...
The script now correctly parses the cards for the Adventures set.
2015-04-27 00:05:03 +02:00
Robert R. Enderlein
db079630c2
Added icon for Adventures set.
2015-04-26 23:55:30 +02:00
Sumpfork
6a755d5835
clean up english descriptions; add new Adventures card types
2015-04-24 15:31:46 -07:00
Sumpfork
ef701a3e61
real fix for expansion selection option
2014-12-10 11:26:15 -08:00
Sumpfork
763e317e4a
fix expansion selection option
2014-12-10 11:04:32 -08:00
Sumpfork
61ae0b0f09
fix non-English name lookup when specifying expansions
2014-12-08 10:11:28 -08:00
sumpfork@mailmight.com
516ad84489
optional support for blank dividers with extra text. Some minor fixes and pep8.
2014-12-01 15:23:40 -08:00
Sumpfork
2f9e9ed646
More cleanups and proper decoding for Italian - mostly working
2014-11-25 13:04:10 -08:00
Sumpfork
c51b35ddcf
language mapping for terms; start cleaning up italian files
2014-11-20 14:26:27 -08:00
Sumpfork
25a9405095
start integrating multilingual versions; italian not working yet
2014-11-19 12:56:35 -08:00
Sumpfork
e049f90d7b
add Prince set image
2014-07-03 17:32:29 -07:00
sumpfork@mailmight.com
9b53c58a15
add method to generate png sample of first page
2014-02-09 15:44:48 -08:00
sumpfork
0347a9fe0d
don't draw duplicate labels when generating only labels
2014-01-31 10:41:59 -08:00
sumpfork
b7baf57eb1
fix how border space is used to calculate how many tabs will fit. Fixes Avery label printing, bug #1268060
2014-01-31 10:26:54 -08:00
sumpfork@mailmight.com
2fce9d6b10
quick version that forces alternating tabs unless sameside is specified
2014-01-08 13:23:17 -08:00
sumpfork@mailmight.com
f474549962
add option to centre expansion divider tabs, and turn it off by default (cropmarks for this option still need work)
2014-01-01 13:23:20 -08:00
sumpfork@mailmight.com
73544ed3c8
merge from Paul's branch again
2014-01-01 13:18:02 -08:00
sumpfork@mailmight.com
f32b40a15b
merge some of the incoming changes, resolve conflicts
2013-12-31 12:42:00 -08:00
Paul Molodowitch
105581602a
standardize my new options to use underscores, not dashes
2013-12-29 09:17:11 -08:00
Paul Molodowitch
1fc85dc1a2
add base_cards_with_expansion option
2013-12-29 09:11:22 -08:00
Paul Molodowitch
4d1fee18ac
print valid choices for cost/set-icon in help
2013-12-29 08:56:26 -08:00
Paul Molodowitch
90c863a409
allow float for back_offset option
2013-12-29 08:52:54 -08:00
Paul Molodowitch
7d63c0584b
justify descriptions to make it all purty
2013-12-23 14:44:14 -08:00
Paul Molodowitch
eac2727407
fix for fitting some long card descriptions into textbox (ie, Guilds - Herald)
2013-12-23 14:40:43 -08:00
Paul Molodowitch
18fb56673e
add option to hide / move set icon
2013-12-23 14:39:39 -08:00