Method: ReVIEW::LATEXBuilder#handle_metric
- Defined in:
- lib/review/latexbuilder.rb
#handle_metric(str) ⇒ Object
567 568 569 570 571 572 573 |
# File 'lib/review/latexbuilder.rb', line 567 def handle_metric(str) if @book.config['pdfmaker']['image_scale2width'] && str =~ /\Ascale=([\d.]+)\Z/ return "width=#{$1}\\maxwidth" end str end |