runemadsen / Magic-Book-Project

DEPRECATED: We are reviving the Magic Book project as a node package: https://github.com/magicbookproject/magicbook
http://itp.nyu.edu
620 stars 62 forks source link

create_html_chapters error, missing an asciidoc gem commit? #138

Closed shiffman closed 11 years ago

shiffman commented 11 years ago

I'm getting an error trying to render the split chapters in HTML. Anyone else seeing this?

Magic-Book-Project/gems/asciidoc/lib/asciidoc/ascii_document.rb in render raise "Bad Render Format Specified"

I think I'm missing a commit. The code is only:

   def render(format, args = {})
      case format
      when :html
        render_html(args)
      when :pdf
        render_pdf(args)
      else
        raise "Bad Render Format Specified"
      end
    end

There should be a:

when :html_chapters

Yes?

runemadsen commented 11 years ago

Woooops. Sorry, I didn't push those commits. Try a pull and a submodule update again. Sorry about that.

On Thu, Aug 2, 2012 at 10:30 PM, Daniel Shiffman < reply@reply.github.com

wrote:

I'm getting an error trying to render the split chapters in HTML. Anyone else seeing this?

Magic-Book-Project/gems/asciidoc/lib/asciidoc/ascii_document.rb in render raise "Bad Render Format Specified"

I think I'm missing a commit. The code is only:

def render(format, args = {}) case format when :html render_html(args) when :pdf render_pdf(args) else raise "Bad Render Format Specified" end end

There should be a:

when :html_chapters

Yes?


Reply to this email directly or view it on GitHub: https://github.com/runemadsen/Magic-Book-Project/issues/138

shiffman commented 11 years ago

all set now