sethforbtc on Nostr: This is getting ridiculous. I got Pandoc so that I could compile the github files ...
This is getting ridiculous.
I got Pandoc so that I could compile the github files into an ePub. But the source files were in asciidoc format, so I went to install AsciiDoctor. That required Ruby, which I installed.
(I also took a side trail and looked into using the AsciiDoctor extension with Visual Studio. In the desktop version, the extension search wouldn't find AsciiDoctor, so I switched to the browser-based version, then discovered the browser-based version of AsciiDoctor doesn't support exporting files to PDF or HTML. I switched back to desktop, somehow was able to find and install the extension, but then couldn't find the menu options to export any files.)
I finally got Pandoc and AsciiDoctor working in the command line, but when I tried to merge all the asciidoc files together, I got a variety of errors. First I moved some config files around so my command could find them, but the other issues involve hierarchal structure problems in the source files. Wut?
When I was searching for a free version of this book and saw the GitHub repository, I thought "Yes! I should be able to get this into an ePub in a couple of clicks." But no. It's been way more complicated than that, and I still haven't succeeded.
I don't have time to work through this anymore. Why is this so difficult?!?! Should I just bail?
#notaprogrammer
#asknostr
I got Pandoc so that I could compile the github files into an ePub. But the source files were in asciidoc format, so I went to install AsciiDoctor. That required Ruby, which I installed.
(I also took a side trail and looked into using the AsciiDoctor extension with Visual Studio. In the desktop version, the extension search wouldn't find AsciiDoctor, so I switched to the browser-based version, then discovered the browser-based version of AsciiDoctor doesn't support exporting files to PDF or HTML. I switched back to desktop, somehow was able to find and install the extension, but then couldn't find the menu options to export any files.)
I finally got Pandoc and AsciiDoctor working in the command line, but when I tried to merge all the asciidoc files together, I got a variety of errors. First I moved some config files around so my command could find them, but the other issues involve hierarchal structure problems in the source files. Wut?
When I was searching for a free version of this book and saw the GitHub repository, I thought "Yes! I should be able to get this into an ePub in a couple of clicks." But no. It's been way more complicated than that, and I still haven't succeeded.
I don't have time to work through this anymore. Why is this so difficult?!?! Should I just bail?
#notaprogrammer
#asknostr
quoting note1x8m…n9ad#AskNostr
This Andreas Antonopoulos ebook about the Lightning Network is available for free in a GitHub repository:
https://github.com/lnbook/lnbook
However, I cannot figure out how to take the repository and compile it into an ePub file. Dropping it into Calibre doesn't work, and I can't find instructions online.
This MUST be a simple task, yet I'm frustrated in my attempts to get an answer.
Help me, Nostr plebs; you're my only hope.