wstg icon indicating copy to clipboard operation
wstg copied to clipboard

EPUB version

Open zanardigit opened this issue 3 years ago • 14 comments

Hello and thank you for this excellent and extremely useful resource!

Is there any plan / WIP about an EPUB version of the guide? Or is there anyone who would be interested in wokring on it?

zanardigit avatar Mar 20 '21 12:03 zanardigit

There isn’t currently any plan for an epub version, however we could investigate if there’s a simple way to convert the PDF.

kingthorin avatar Mar 20 '21 12:03 kingthorin

I already did a test about PDF to EPUB conversion, but PDF is a very difficult format to convert from and the quality of the result is very low. I'm now testing with pandoc from MD sources, and it looks like we're getting somewhere. Attached you can find a no-image EPUB version which took only a few minutes to create.

I will spend a little more time on it to see if I can include images as well and then share the process. Thank you!

wstg.zip

zanardigit avatar Mar 20 '21 12:03 zanardigit

That's an interesting proposal. So before we make this into a PDF, we do some magic to transform the headers and the figures into parseable entities, so that we can reference them across the document and have the links activate like you'd be doing on the web interface. So clicking on "Chapter 4.1.5" would take you there, and not just be a reference to where they can find it.

As we've seen, the engines that transform MD to PDF/EPUB don't provide that.

Our logic is in the .github directory with several separate scripts that take care of making things happen.

cc: @rejahrehim

ThunderSon avatar Mar 20 '21 16:03 ThunderSon

I think this would be a welcome addition @zanardigit if we can find a smooth automated way to generate it.

victoriadrake avatar Mar 30 '21 10:03 victoriadrake

Cannot make any promise, but I'll keep this on the radar and see what I can do. I guess I will ask on Slack if I need additional informations.

zanardigit avatar Mar 31 '21 11:03 zanardigit

This could come in handy: https://news.ycombinator.com/item?id=26898591

victoriadrake avatar Apr 22 '21 09:04 victoriadrake

@ThunderSon I can take this. Let me try and come up with a plan

rejahrehim avatar Apr 22 '21 13:04 rejahrehim

@rejahrehim I believe @zanardigit is already working on it, per the earlier comments.

kingthorin avatar Apr 22 '21 13:04 kingthorin

@kingthorin @ThunderSon @rejahrehim I haven't done anything yet so if anyone is willing and ready to go, they're welcome. Not much spare time in these period unfortunately.

zanardigit avatar Apr 22 '21 13:04 zanardigit

@zanardigit no problem, thanks for letting us know.

kingthorin avatar Apr 22 '21 13:04 kingthorin

Please comment if you are still working on this issue, as it has been inactive for 30 days. To give everyone a chance to contribute, we are releasing it to new contributors.

github-actions[bot] avatar Jun 15 '21 00:06 github-actions[bot]

Can I work on this. The task is to convert PDF to EPUB right?

saigoud25 avatar Sep 19 '21 19:09 saigoud25

Well it doesn’t have to be from the PDF, though that might be easiest.

kingthorin avatar Sep 19 '21 20:09 kingthorin

Please comment if you are still working on this issue, as it has been inactive for 90 days. To give everyone a chance to contribute, we are releasing it to new contributors.

github-actions[bot] avatar Jan 15 '22 00:01 github-actions[bot]