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
#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.
Published at
2023-08-03 21:20:21Event JSON
{
"id": "75d9fea1dca9c7867c90381778933c2cccc2988420d71ee3c7f42395d66d355e",
"pubkey": "fec1f0c9faa7a528657ebae885548e5090dda04d2089c19fb81565bc25ee63f5",
"created_at": 1691097621,
"kind": 1,
"tags": [
[
"q",
"31f6edfd4c78910b002d37273fd5a70fee2e20f28fc22c7323f5ff2d19b6c1b0"
],
[
"t",
"notaprogrammer"
],
[
"t",
"asknostr"
]
],
"content": "This is getting ridiculous.\n\nI 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.\n\n(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.)\n\nI 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?\n\nWhen 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.\n\nI don't have time to work through this anymore. Why is this so difficult?!?! Should I just bail?\n\n#notaprogrammer\n#asknostr nostr:note1x8mwml2v0zgskqpdxunnl4d8plhzug8j3lpzcuer7hlj6xdkcxcq2zn9ad",
"sig": "558be8a73cb0cd5dcb47beecb1e8e14ebb29dc12993823ab624285c2058c6db21ab0ab5801e871837f8e6e12bb423406cc4bc888d414d55813babd1c3ce61ed1"
}