@HongDa
It looks like the latest publication (2025-01-28) still has similar issue.
I also noticed that editions-main file size is 612MB instead of 150MB displayed on the web. I’m not sure where the majority of the bloat came from, but there seems to be duplicates here and there.
Haha, it is true that the Spring Festival is quite tiring.
There are usually six files in the paperback directory, three of which are dated and the other three are not. This was done to facilitate downloading without having to update the front end every time a new version was updated.
The old versions under hardcover are not automatically deleted. I need to check the reasons.
SN’s bookmarks problem is still being processed and has not been completely resolved yet.
Let me know if there’s anything that I can assist without messing with the production system. I used to write code for living, albeit, I was a mediocre one.
Line 286 contains code for the “sn” bookmark.
The generated tex file and the related directory structure seem to have no errors for the time being, but the final generated pdf bookmark has problems.
Oh, I was referring to redundancy in the editions tarball.
Nevertheless, I’ll look into it this weekend. Thank you for the pointer. Can’t promise I am able to resolve this. I’ll let you know if I can/cannot resolve the issue.
Regarding the redundancy issue, it may be related to a Github action. I have closed it and will check if it works when the publication is generated on Monday.
As it turns out, this mediocre ex-software engineer better stays out of coding.
I looked at the code and tried to go through the instructions in README file to see how to generate the files. I assume that setting up and then running make run should start the building the process. It seems that the instructions for Docker build itself cannot be completed without fixing missing steps in the Dockerfile and that running make run itself will fail because API_KEY is needed. It’s not as straightforward as I thought. I am guessing that API key is needed to pull suttas from suttacentral server because I can’t see the relevant tex files for the suttas within the repo.