require 'asciidoctor' require 'asciidoctor/extensions' module Asciidoctor::LaTeX # THIS CLASS IS NO LONGER USED # Prepend lines to a document class ClickStyleInsert < Asciidoctor::Extensions::Preprocessor def putline line @@line_array += [line, ""] end def process document, reader warn "Entering ClickStyleInsert".magenta @@line_array = [] return reader if reader.eof? putline '++++' putline '' putline '++++' reader.unshift_lines @@line_array reader end end end