From b47fa88dfee69fd7d8ce65f6e5d05f569bf6fba1 Mon Sep 17 00:00:00 2001 From: Kenshi Muto Date: Wed, 2 Dec 2020 12:33:47 +0900 Subject: [PATCH] call after_makeindex hook just after running mendex --- lib/review/pdfmaker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/review/pdfmaker.rb b/lib/review/pdfmaker.rb index fcf2a2aa7..8b2081bd1 100644 --- a/lib/review/pdfmaker.rb +++ b/lib/review/pdfmaker.rb @@ -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')