Method: ConverterBase#process_author_comment
- Defined in:
- lib/converterbase.rb
#process_author_comment(line) ⇒ Object
695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 |
# File 'lib/converterbase.rb', line 695 def (line) if @setting. if if (line) outputs(AUTHOR_COMMENT_CHUKI[][:close]) if == :introduction @request_skip_output_line = true line.clear = nil elsif == :postscript = nil # [#改ページ](前書きの開始位置)を検出したため、 # 改めて前書きの検出をする (line) end end else if (line) # outputs を使うと改ページより前に注記が入ってしまうため、 # delay_outputs を使って出力を line 出力の後に遅らせる delay_outputs(AUTHOR_COMMENT_CHUKI[][:open]) if == :postscript @request_skip_output_line = true line.clear end end end end end |