Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use code name in genrated pdf (feature request) #281

Open
flothoni opened this issue Jan 21, 2023 · 1 comment
Open

Use code name in genrated pdf (feature request) #281

flothoni opened this issue Jan 21, 2023 · 1 comment

Comments

@flothoni
Copy link

I try to simulate a card game with tttools. I want to use a table name instead of code number in generated pdf when I use oid-table.

I saw that their is somthing near for replay/stop code in xxx.codes.yml, but can we set more code in this file or xxx.yaml ?
It is not clear for me.

Thanks

(great tool by the way)

@nomeata
Copy link
Member

nomeata commented Jan 22, 2023

You can simply always use names instead of numbers in the scripts: table, and then these names will show up in oid-table. See https://tttool.readthedocs.io/de/latest/yaml-referenz.html#code-namen if you can read German, or maybe https://bitbucket.org/nomeata/tiptoi-taschenrechner/src/master/taschenrechner.yaml is enlightening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants