ipuz-to-pdf/README.md

115 lines
4.3 KiB
Markdown
Raw Normal View History

2024-04-22 15:49:35 +02:00
# ipuz-to-pdf
2024-04-22 16:30:15 +02:00
Convert ipuz files into PDF so you can easily import into a print publication.
These scripts can be used for once off conversion as well as batch conversion by calling from another script.
This repo is available at two locations:
- https://git.zaks.web.za/thisiszeev/ipuz-to-pdf (MAIN REPO)
- https://github.com/thisiszeev/ipuz-to-pdf (MIRROR REPO)
2024-04-22 16:30:15 +02:00
## codeword-maker.sh
This script is for converting ipuz files for crosswords into PDF files as CodeWord puzzles.
A CodeWord puzzle is a word puzzle where instead of written clues, each letter is replaced with a number. The numbers are filled in across the puzzle in the top left of each corner. Three letters are given (at random) as the starting clues. You then try and solve the puzzles by using logic to work out what letters belong to what numbers.
2024-04-22 17:06:13 +02:00
### Usage
2024-04-22 16:30:15 +02:00
```
$ bash codeword-maker {filename}.ipuz
```
2024-04-22 17:06:13 +02:00
### Sample Files for Testing
2024-04-22 16:30:15 +02:00
- cwsample1.ipuz
- cwsample2.ipuz
- cwsample3.ipuz
2024-04-22 17:06:13 +02:00
### Output Files are as Follows
#### CodeWord.{filename}.legendbottom.pdf
2024-04-22 16:30:15 +02:00
This is an importable version of the puzzle legend for use when layout position is desired for the top or bottom of the puzzle.
2024-04-22 17:06:13 +02:00
#### CodeWord.{filename}.legendside.pdf
2024-04-22 16:30:15 +02:00
This is an importable version of the puzzle legend for use when layout position is desired for the side of the puzzle.
2024-04-22 17:06:13 +02:00
#### CodeWord.{filename}.puzzle.pdf
2024-04-22 16:30:15 +02:00
This is an importable version of the actual puzzle. The font has been converted to paths, so you do not need the font installed on the computer used for publishing the puzzle to print.
2024-04-22 17:06:13 +02:00
#### CodeWord.{filename}.solution.pdf
2024-04-22 16:30:15 +02:00
This is an importable version of the puzzle solution. The font has been converted to paths, so you do not need the font installed on the computer used for publishing the puzzle to print.
## crossword-maker.sh
This script is for converting ipuz files for crosswords into PDF files.
A CrossWord is a word puzzle, where you are given a blank grid and a set of clues divided into Across and Down. The top or left block for where the word(s) starts in the grid is numbered, and the clues are numbered accordingly. You try and solve the puzzle by using the clues to identifiy the possible word(s), taking into account the amount of squares available for the word(s) and any intersecting letters from other solved words.
2024-04-22 17:06:13 +02:00
### Usage
2024-04-22 16:30:15 +02:00
```
$ bash crossword-maker {filename}.ipuz
```
2024-04-22 17:06:13 +02:00
### Sample Files for Testing
- cwsample1.ipuz
- cwsample2.ipuz
- cwsample3.ipuz
2024-04-22 17:06:13 +02:00
### Output Files are as Follows
2024-04-22 16:30:15 +02:00
2024-04-22 17:06:13 +02:00
#### CrossWord.{filename}.clues.txt
2024-04-22 16:30:15 +02:00
This is a text file containing the clues for the puzzle.
2024-04-22 17:06:13 +02:00
#### CrossWord.{filename}.puzzle.pdf
2024-04-22 16:30:15 +02:00
This is an importable version of the actual puzzle. The font has been converted to paths, so you do not need the font installed on the computer used for publishing the puzzle to print.
2024-04-22 17:06:13 +02:00
#### CrossWord.{filename}.solution.pdf
2024-04-22 16:30:15 +02:00
This is an importable version of the puzzle solution. The font has been converted to paths, so you do not need the font installed on the computer used for publishing the puzzle to print.
## Coming soon: Sudoku, Mathdoku and Samurai Sudoku.
Hit me up on Reddit for any requested puzzles to add to future versions.
(u/thisiszeev)[https://reddit.com/u/thisiszeev]
2024-04-22 17:06:13 +02:00
# List of Software that can be Used to Create ipuz Files.
## Linux
- Crosswords : [https://gitlab.gnome.org/jrb/crosswords]
- kSudoku : [https://invent.kde.org/games/ksudoku]
> If you know of any other software that can create ipuz files, please let me know and I will add it here.
2024-04-22 16:30:15 +02:00
# Donations
Please consider making me small donation. Even though my scripts are open source and free to use, I still need to eat. And the occasional bottle of wine also goes down well.
- $5 buys me a cup of coffee
- $10 buys me a nice burger
- $20 buys me a bottle of wine
- Anything above that will be awesome as well.
2024-04-22 16:30:15 +02:00
For commercial users, you are free to use these scripts for your publications. But I urge you to please consider making a donation of $50. In return I will provide you direct email/WhatsApp support for a period of 12 months.
You can send me a donation via Paypal https://www.paypal.com/paypalme/thisiszeev
Drop me a message on Reddit if you do make a donation. u/thisiszeev
Support is only offered freely to those who donate $20 or more.
Your donation contributes to further development.
2024-04-22 17:06:13 +02:00
If you need a custom script, contact me on Reddit for pricing.