viresh-ratnakar / exolve

Online interactive crossword software in JavaScript
MIT License
71 stars 15 forks source link

Grid numbering issue for an Across clue having One word answer #53

Closed msayali closed 3 years ago

msayali commented 3 years ago

Version: Exolve v0.96 October 18 2020, User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36

Excellent creation and is very helpful, easy to put our crossword. But we have encountered here a special case as below - If the across word has clue having one word answer, this tool skips that number causing wrong numbering of grid. How to correct this scenario?

viresh-ratnakar commented 3 years ago

Sorry, I don't quite understand. Perhaps you can copy your puzzle specs here in the bug?

msayali commented 3 years ago

Thanks for you quick response. I have a 22 x 22 cross word in Devanagari. I have marked the position bold in the exolve-grid below where I expect the grid number to be 64 (for the 64 across) But, I see that it skips that position and wondering if it is because the answer is only 1 letter long? Due to this all the number after that are skewed and not where they are supposed to be. You can see that because of that the crossword end at 103 across on the grid where as I have till 105 across

<!DOCTYPE html>

Hindi
msayali commented 3 years ago

I did read through the instructions around possible issues for wordpress and wondering if you might have any suggestion for wordpress rendering.

viresh-ratnakar commented 3 years ago

1-letter words are generally not supported in crosswords, but I'll try to figure out a way for you. Am a bit swamped at the moment though, so may take a while for me to get to it.

Re: wordpress: if you pay them, I think you can set up JavaScript in your pages (but I haven't tried it). Consider creating a blogger page and linking to it.

Also, the test Hindi file that I have checked in uses pretty random text, I wrote it only for testing. You probably want to set the entries in "exolve-relabel" to some reasonable values.

msayali commented 3 years ago

Nice. That would be great. We decided meanwhile to take out the 1-letter words from the crossword and the rest is working like a charm. Also have been able to put it on wordpress by having css and js using custom snippets.

viresh-ratnakar commented 3 years ago

OK. BTW, if this Hindi crossword is accessible by anyone, I would love to get a link and take a look, thanks.

msayali commented 3 years ago

Here is a draft link where you can see it in action https://t2.mazamarathichabol.org/shabdkode/ WiIll need to scroll down tot view it as there is some issue with rendering in the current wordpress theme in terms of priority so loads after footer :)

viresh-ratnakar commented 3 years ago

Thanks for the link, looks great!

I think, "one-letter clues" are really going to complicate the code, so unfortunately I'll skip adding support for them.