Closed heyLu closed 5 years ago
I forgot to say: thanks for writing this book. It looks really good! ✨
I think I know what the problem is here. I will fix it as soon as I can. Thank you!
Any news on this?
It looks like the sed command in the Makefile isn't working. I should be able to fix it, but I'm afraid it might be a little while before I get to it.
On Wed, Feb 28, 2018 at 2:49 PM, Andreas Linz notifications@github.com wrote:
Any news on this?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkDSP/issues/39#issuecomment-369360814, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy37Rgg6TiQOsLboiyfCSO1COh_w8CTks5tZa2ygaJpZM4R8vR1 .
Thank you for the update. You mean this one github.com/AllenDowney/ThinkDSP/blob/master/book/Makefile#L26 ?
That is what I meant, but now that I look at it, I think it is not the problem.
Rather, I think the problem is caused by the line I just replaced:
https://github.com/AllenDowney/ThinkDSP/commit/3807c69eef451af26012f1690cb14f2a6273638d
Would you try the new version and let me know how it goes?
On Wed, Feb 28, 2018 at 4:42 PM, Andreas Linz notifications@github.com wrote:
Thank you for the update. You mean this one github.com/AllenDowney/ ThinkDSP/blob/master/book/Makefile#L26 ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkDSP/issues/39#issuecomment-369393090, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy37V5wobxH5YxBbGCSWcDK-n5uEY_uks5tZchHgaJpZM4R8vR1 .
Yeah, for sure. I will try it and let you if it worked.
Works like a charm now, thank you very much for you work!
Glad I was able to help.
By the way, I am not super happy with hevea, because of hackery like this. I would be happy to find a better tool, if you have any suggestions.
For the curious reader, I used pandoc to generate an epub from the html output like this:
$ make -C book hevea && pushd book/html && pandoc thinkdsp.html -o ../../ThinkDSP.epub && popd
I wanted to build the HTML version of the book, to try and convert it into an EPUB version, but that failed with the following error (when running
make hevea
):As far as I can see, some command generates the
thinkdsp.image.tex
file, which starts as follows:The
\usepackage[width=5.5in,height=8.5in,
command (line 3) looks wrong to me.