Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


thor book:build pdf doesn't work #49

lomereiter opened this Issue · 4 comments

2 participants


The '#' symbol gets unescaped in the produced .tex file thus causing an error: 'You can't use `macro parameter character #' in horizontal mode.'


I'm open to new ideas on how to build the PDF format of the book.. got any ideas?


Urr... I found the source of this error. Maruku uses 1.8 syntax where '?#' returns 35 whereas in 1.9 it returns '#'. Thus the 'each_byte' cycle in 'maruku/output/to_latex_strings.rb' doesn't work as expected.
So the only thing I can suggest is to do something like 'if RUBY_VERSION >= '1.9' then!(&:ord);!(&:ord); end'


I started work on the build process: sinatra-book/rebuild


New build process merged into master, please check it

@zzak zzak closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.