Method: ReVIEW::LATEXBuilder#inline_uchar

Defined in:
lib/review/latexbuilder.rb

#inline_uchar(str) ⇒ Object



1364
1365
1366
1367
1368
1369
1370
1371
1372
# File 'lib/review/latexbuilder.rb', line 1364

def inline_uchar(str)
  if @texcompiler && @texcompiler.start_with?('platex')
    # with otf package
    macro('UTF', escape(str))
  else
    # passthrough
    [str.to_i(16)].pack('U')
  end
end