GithubHelp home page GithubHelp logo

tabbycat_break_slides's Introduction

Tabbycat break generator

Version 0.2.1

This tool is used to create break slides starting from csv files as exported from Tabbycat. It has to outputs:

  1. PDF slides generated with LuaLatex.
  2. RevealJS slides, in html format, generated with Quarto.

It is necessary to have at least one of these tools installed in order to the program to produce a final output. An example of the PDF output can be found in the test folder of the repository, and a RevealJS example is available here.

Warning: the tool has only been tested on Linux and might not work without adaptation for other OS types.

Note that the pdf generation has a limited compatibility with non-latin character, and that any change in the font is likely to further reduce that compatibility, while the RevealJS one has a very large coverage.

Instructions

The code can be executed from the command line, passing as an argument the name of the folder where tournament files have been downloaded:

python break_generator.py "My tournament"

in which case the local folder ./My tournament will be used. Alternatively a full path to the folder can be specified:

python break_generator.py "/home/name/Documents/My tournament"

and the tournament's name can be provided as a second argument, e.g.

python break_generator.py "/home/name/Documents/My tournament" "Somewhere IV 2023"

The generation of slides is done by providing a single argument to the main function, with the following constraints:

  • The background used must be named "background.png".
  • The file with breaking judges must be named "judges.csv".
  • Other csv files in the folder will be used for the break categories, with the file names taken as the break titles. For instance, "Novice break.csv" will generate slides identified as the novice break.

Future changes (if time allows)

  • Order of the break categories
  • Compatibility with Windows
  • Pass with_safety as a command-line argument

tabbycat_break_slides's People

Contributors

regisgourdel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.