GithubHelp home page GithubHelp logo

njyoon / njyoon.github.io Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 7.0 2.92 MB

These tools add some additional editing options to Crossword Nexus's PUZ to PDF Converter and PUZ TO NYT Converter.

License: MIT License

HTML 51.00% JavaScript 49.00%
puz crossword xw pdf nytimes nyt nytxw crosswords

njyoon.github.io's People

Contributors

boisvert42 avatar njyoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

njyoon.github.io's Issues

Old jsPDF version causes possible text encoding issue

Just reporting: I ran into an encoding issue with the NYT Submission Editor with non-Latin characters (definitely an edge case because the source data is from .puz, which is of course just Latin-1), and upgrading to the latest version of jsPDF (currently 2.5.1) fixed things and did not seem to break anything else.

In case you want to try and repro: in my fork I wrap the title of 21x puzzles in quotes, and I use and instead of straight quotes. Weirdly they render fine in the default font, but selecting any other font introduces some fun mojibake (þÿ).

Copyright text not displaying

Is there a trick to getting the copyright text to display, or is that not the purpose of that option (I can use the subhead or something instead)? I have the copyright option on and have added text, but nothing is visible.

Rebuses not supported

This is interesting, since the footer says "Original code from Crossword Nexus" yet the tool there does support rendering rebuses in the pdf, instead of just the first letter of them. Any chance of seeing support added?

Link URLs break forked repos

This may be a non-goal of this (excellent) project, but for documentation's sake: the use of URLs relative to the root directory for the CSS and JS files break any fork that is not serving from the root directory. By default with Github, a fork of this repo would live at USERNAME.github.io/njyoon.github.io, and those links will look for e.g. the javascript files at USERNAME.github.io/js/ instead of USERNAME.github.io/njyoon.github.io/js/.

The quick fix I found is removing the leading slash from the src attributes in index.html, nyt.html, and pdf.html. I don't know if there are other knock-on effects but that seemed to work for me.

Incidentally, I forked this to comment out the puz checksum check because some upstream bug produces a checksum mismatch in certain files with lots of circled squares, but I can't figure out exactly what the issue is. I'm going to try to track it down and report it upstream, but in the meantime, I think you could plausibly skip the checksum check or change the error it throws to a console warning.

ipuz support?

Just wanted to say that it would be wonderful to see support for ipuz, an open, free, extensible format for crossword puzzles!

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.