901b3b2d60
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.
20 lines
548 B
Plaintext
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
|
|
|