Skip to content

Commit

Permalink
Merge pull request #1605 from kmuto/fix-aftermakeindex
Browse files Browse the repository at this point in the history
call after_makeindex hook just after running mendex
  • Loading branch information
kmuto authored Dec 2, 2020
2 parents d89c68a + 4e2a192 commit b150443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/review/pdfmaker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ def build_pdf
call_hook('hook_beforemakeindex')
if @config['pdfmaker']['makeindex'] && File.size?("#{@mastertex}.idx")
system_or_raise(*[makeindex_command, makeindex_options, @mastertex].flatten.compact)
call_hook('hook_aftermakeindex')
system_or_raise(*[texcommand, texoptions, "#{@mastertex}.tex"].flatten.compact)
end
call_hook('hook_aftermakeindex')

system_or_raise(*[texcommand, texoptions, "#{@mastertex}.tex"].flatten.compact)
call_hook('hook_aftertexcompile')
Expand Down

0 comments on commit b150443

Please sign in to comment.