Method: ReVIEW::LATEXBuilder#inline_sectitle

Defined in:
lib/review/latexbuilder.rb

#inline_sectitle(id) ⇒ Object



1305
1306
1307
1308
1309
1310
1311
1312
1313
# File 'lib/review/latexbuilder.rb', line 1305

def inline_sectitle(id)
  if @book.config['chapterlink']
    chap, id2 = extract_chapter_id(id)
    anchor = chap.headline_index.number(id2).tr('.', '-')
    macro('reviewsecref', super(id), sec_label(anchor))
  else
    super(id)
  end
end