rubysherpas / r4ia

A place to file issues for Rails 4 in Action
2 stars 0 forks source link

asciidoctor generator errors #14

Open i5okie opened 9 years ago

i5okie commented 9 years ago

When openeing epub it opens, but shows error on page 2: “This page contains the following errors: error on line 13105 at column 23: Opening and ending tag mismatch: code line 0 and p Below is a rendering of the page up to the first error.”

Excerpt From: Asciidoctor. “Untitled.” iBooks.

In console: (also shows these same issues when generating PDF) Creating epub book asciidoctor: WARNING: ch02/ch02.ad: line 41: section title out of sequence: expected level 2, got level 4 asciidoctor: WARNING: ch03/ch03.ad: line 193: section title out of sequence: expected level 3, got level 4 asciidoctor: WARNING: ch03/ch03.ad: line 227: section title out of sequence: expected level 3, got level 4 asciidoctor: WARNING: ch04/ch04.ad: line 1075: section title out of sequence: expected level 3, got level 4 asciidoctor: WARNING: ch04/ch04.ad: line 1144: section title out of sequence: expected level 3, got level 4 asciidoctor: WARNING: ch04/ch04.ad: line 1306: section title out of sequence: expected level 3, got level 4 asciidoctor: WARNING: ch04/ch04.ad: line 1355: section title out of sequence: expected level 3, got level 4 asciidoctor: WARNING: ch04/ch04.ad: line 1588: section title out of sequence: expected level 3, got level 4 asciidoctor: WARNING: ch04/ch04.ad: line 1779: section title out of sequence: expected level 3, got level 4 Wrote EPUB3 to /Users/Ivan/GitHub/rails_4_in_action/build/epub/book-highlights.epub epub book created in /Users/Ivan/GitHub/rails_4_in_action/build/epub/book.epub

sevenseacat commented 9 years ago

The warnings about section titles are safe to ignore - the epub issue needs to be addressed though.