Method: ReVIEW::LATEXBuilder#comment
- Defined in:
- lib/review/latexbuilder.rb
#comment(lines, comment = nil) ⇒ Object
1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/review/latexbuilder.rb', line 1017 def comment(lines, comment = nil) return true unless @book.config['draft'] lines ||= [] unless comment.blank? lines.unshift(escape(comment)) end str = lines.join('\par ') puts macro('pdfcomment', str) end |