📚New article on my blog: "Decentralizing the book publishing of translations".
https://www.davidrevoy.com/article796/decentralizing-the-book-publishing-of-translations
@davidrevoy Great decision! Will dig into the repo and do a test run for german.
@davidrevoy Sure. I will try to dockerize it. That will ease things for me and others.
@davidrevoy @valvin Yes. It creates a virtual ubuntu 20.04 in a container, downloads and installs all dependencies runs the download.sh and then destroys the container. At least that is the goal.
@valvin @davidrevoy Running UI software that has a CLI in docker is mostly working. You can even stream out a graphical interface out of docker. In my setup docker mounts the working directory inside the container, and does this as the user inside the container, which mostly is UID 1000 and should work for most single user Linux installs.
@valvin @davidrevoy Yes. That is true. Scribus still needs to be installed and used on the host system outside of docker.
@davidrevoy @valvin I bow in front of your bash skills. I would never ever get something as complex done in bash. I would run away with python or node.js instead. 😅
@davidrevoy download.sh now runs fine using my docker setup, without the need to install any dependencies (besides docker) on the host machine. I've done a small adjustment to download.sh by replacing the hardcoded lang using the environment variable LANG.
@davidrevoy Now I will try to do the other steps as described in your README to hopefully get a german version of the books. Fingers crossed.
@der_On Finger crossed too! The weak part of the process is probably my PDF post processing exporter. It require all PDF exported from Scribus in the export folder; and then produce many files. But sometime the script has hiccups (not sure if bash script error, or Ghostscript crashing). I surprised myself to run it twice last time to get the file output. Don't hesistate to ask any question. We also have live chat (top page link here: https://www.peppercarrot.com/en/static4/contribute )
@davidrevoy Getting closer. Conversion now worked and cmyk TIFF files got generated. I guess now I will need to translate some text within the scribus files.
@davidrevoy Well, seems like the font in the speach bubbles is wrong and a lot of text is overflowing it. Back to the download again.
@der_On Nice for the Tiff generation! Ha true, fonts; this repo needs to be installed in the font folder: https://framagit.org/peppercarrot/fonts to get all of them. Getting closer! thank you for sharing your progress
@davidrevoy I started work on dockerizing it here: https://codeberg.org/der_On/peppercarrot-book-publishing/src/branch/dockerize