Code Monkey home page Code Monkey logo

Comments (5)

canismarko avatar canismarko commented on June 12, 2024 1

I made the pdflatex dependency optional in 0648a08. If the command is present, the spellbook is made, otherwise it's skipped. Not perfect but makes it a little bit friendlier in the short-term until I can remove the external dependencies.

from dungeon-sheets.

canismarko avatar canismarko commented on June 12, 2024 1

I partly solved the dependency on pdftk in 3368a43. It now uses the pdfrw package as a fallback if pdftk is no available. There are some limitations, though, as outlined in the README:

  • Produces v1.3 PDF files
  • Not able to flatten PDF forms
  • Will produce separate character-sheets, spell-lists and spell-books.

I'll leave this issue open for now since it would be nice to get rid of pdftk entirely someday.

from dungeon-sheets.

canismarko avatar canismarko commented on June 12, 2024

Yeah I agree. The biggest obstacle was that the WotC template for character sheets makes use of fillable fields in the PDF; I couldn't find a python library that supported this feature. If anyone knows of anything, the https://github.com/canismarko/dungeon-sheets/blob/master/dungeonsheets/make_sheets.py#L275 function could be modified without too much trouble.

As far as making the spellbook goes, that was mostly because it was it was fast to implement it in LaTeX.

from dungeon-sheets.

athos-ribeiro avatar athos-ribeiro commented on June 12, 2024

Wow!

Thanks for the changes :) I will test and provide feedback asap.

from dungeon-sheets.

canismarko avatar canismarko commented on June 12, 2024

Since there's been no comments in over a year, I'm assuming the fix is acceptable.

from dungeon-sheets.

Related Issues (20)

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.