svggvs/skel/Cardfile
John Bintz 901b3b2d60 Add landscape card support.
Setting c.orientation to :landscape will rotate your exported Inkscape
output images 270 degrees, so that you can upload them to The Game
Crafter and create PnP PDFs and they're oriented correctly.
2014-06-23 21:45:57 -04:00

20 lines
548 B
Plaintext

@session.configure do |c|
# manipulate the data after reading from the spreadsheet
# c.post_read_data = proc { |data|
# data[:replacements]['Superpower Text'] << '!!'
# }
# only sheets with this in the title will be read for card data
# c.card_sheet_identifier = "Card Data"
# prepend this PDF to the outputted PDF (useful for game rules)
# c.prepend_pdf = "rules.pdf"
# the cards are landscape, so rotate them counterclockwise
# after rendering in Inkscape
# c.orientation = :landscape
c.data_source = "data.ods"
end