Git Product home page Git Product logo

costoffreedom-book's People

Contributors

christopheradams avatar clemsos avatar hellekin avatar mlinksva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

costoffreedom-book's Issues

Images removed from book

@clemsos you deleted all the images with dc74ac4 ... the chaper tocs had them, and the collective-memory free bassel chapter consisted of only an image. Was this intentional?

Get generated EPUB to pass epubcheck

To get an EPUB accepted at most online retailers, it has to pass a validation step. You can test an EPUB locally using epubcheck.

Unfortunately gitbook does not always generate error-free EPUB files, mostly due to the markdown parser not writing valid XHTML in some edge cases (e.g., footnotes, heading id's).

Assuming you've installed gitbook-cli, and cloned this book in your home directory, and downloaded epubcheck:

cd costoffreedom-book
gitbook epub . ~/costoffreedom.epub

cd ~/epubcheck-4.0.1
java -jar epubcheck.jar -out ~/epubcheck.xml ~/costoffreedom.epub

Here's the output:

costoffreedom-epubcheck.xml.txt

pdf.css

The rendered pdf https://www.gitbook.com/download/pdf/book/costoffreedom/costoffreedom-book has two behaviors I'd like to get rid of:

  • In the table of contents, displays (filename.html) next to each entry. I guess this could be useful for debugging purposes but doesn't help readers.
  • Chapter titles are shown twice, probably once as specified in chapter markdown title, once as specified in SUMMARY.md

Both of these behaviors are probably specified in pdf.css -- if I rename it, they both go away. But I can't figure out what in pdf.css specifies those behaviors. pdf.css seems to be very complicated, I suspect ought be blanked except for some minimum styles we explicitly want. @clemsos it looks like you created the pdf.css. I'm probably missing some obvious things. Thoughts?

double or triple printing of contributor bios

Contributors are listed with bios

  • bottom of each chapter
  • at end in contributor list
  • gratuitously again, one page for each contributor

At least the 3rd ought go.

I suggest the bio could appear just once, either in the first or second, probably second. Name(s) only for chapters.

Get a clean PDF using Latex

Following #6 and the few options offered by gitbook regarding styling, it is way better to use Latex to generate a clean version for print.

This can be done already by using the make pdf command. It will first convert .md files to .tex following the order, then use the .cls Latex class and main file .tex in /tex folder to compile.

latexmk and pandoc are required

Disappearing text with Safari?

Report from a friend:

One operational note: there is something funky with Gitbook. Your rant loads just fine, but if I move the mouse around, all the text disappears. This is repeatable with latest Safari on the lasted Mac OS X.

need a Makefile command to release PDF

Basically need to

  • build pdf
  • bump a version number
  • upload to different locations

Currently the pdf is located in costoffreedom/costoffreedom.cc and costoffreedom/costoffreedom-book

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.