swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 383 forks source link

EPUB build rule is broken #632

Closed rgaiacs closed 9 years ago

rgaiacs commented 9 years ago

Some changes at pandoc (1.13) brokes our rules to build EPUB.

rgaiacs commented 9 years ago

@gvwilson said me that the building rules also don't work with pandoc 1.11.1. This means that any one that want to try it for now need to have pandoc 1.12.X.

rgaiacs commented 9 years ago

The EPUB build rule is broken due jgm/pandoc#1465.

@gvwilson Why we need

    <div class="container">
      <div class="row-fluid">
        <div class="span10 offset1">

at _layouts/book.html? If I remove this lines (and the ones where this tags are close) the EPUB build rule is fixed.

gvwilson commented 9 years ago

Without the "span10 offset1", the text goes right to the edge of the display. With those, it uses 10/12 of the width of the display, with 1/12 width as margin on both sides, which looks a lot better.