alexdej / puzpy

Python library for reading and writing across lite crossword puzzle .puz files.
MIT License
115 stars 32 forks source link

Convert Across Lile text format to PUZ format. Feature request? #38

Open mixographer opened 2 months ago

mixographer commented 2 months ago

I'd like to be able to convert text files in the Across Lite text format into .puz files. I'm not sure if that is currently possible with puzpy. The text format is documented here: https://www.litsoft.com/across/docs/AcrossTextFormat.pdf

and the text file looks like:

5-7-2024.txt

Maybe this is simple with the current tool. Thanks.

alexdej commented 1 month ago

There's an open PR for this actually https://github.com/alexdej/puzpy/pull/15 . you might try checking it out and see if it works for your case. One limitation is I don't think it supports saving as text. I have a quibble about how the PR adds this functionality which is why I haven't merged it yet. Hoping to get some time to address it.

mixographer commented 3 weeks ago

Thanks! I'll take a look. I just want to convert the text format to puz or jpz without having to open Across Lite before I do the puzzle in @thisisparker 's cursewords.