You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,29 @@ Proxy Printer
4
4
Generates reasonably good-looking HTML proxies for a card game from an ODS spreadsheet. Useful for making card game prototypes. Comes with some basic CSS; you can add your own style rules to make the proxies prettier or better suited to your game. Does some heuristic text resizing so that text of different lengths is more likely to fit without being too small.
(You might need to use `sudo` or a VirtualEnv depending on your system setup.)
17
+
12
18
13
19
Usage
14
20
------
15
21
16
-
./proxyprinter.py cards.ods > output_file.html
22
+
proxyprinter example-cards.ods > output_file.html
17
23
18
-
Do `./proxyprinter.py --help` for usage statement with all commandline options.
24
+
Do `proxyprinter --help` for usage statement with all commandline options.
19
25
20
26
21
27
Input Format
22
28
-------------
23
-
OpenDocument Spreadsheet (ODF) file. Example: [cards.ods](cards.ods). Each "Sheet" in the document is one type of card in your game. The name of the sheet is the card type. The first row in the sheet lists the titles for each field. Each subsequent row is a card.
29
+
OpenDocument Spreadsheet (ODF) file. Example: [example-cards.ods](example-cards.ods). Each "Sheet" in the document is one type of card in your game. The name of the sheet is the card type. The first row in the sheet lists the titles for each field. Each subsequent row is a card.
24
30
25
31
The following field names are special in some way:
26
32
@@ -29,6 +35,7 @@ The following field names are special in some way:
29
35
-**Text**: Gets put in a single text_area alongside Flavor Text.
30
36
-**Flavor Text**: Gets put in a single text_area alongside Text.
31
37
-**Version**: Listed in the footer. Use this with the `-v` switch to only print recently-updated cards.
38
+
-**Copies:** If present and a non-negative integer, prints that many copies of the card as part of the overall print sheet. (Otherwise, the print sheet contains 1 copy of this card.)
0 commit comments