diff options
Diffstat (limited to 'scripts/context/ruby/base/mp.rb')
-rw-r--r-- | scripts/context/ruby/base/mp.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/context/ruby/base/mp.rb b/scripts/context/ruby/base/mp.rb index d26882456..b30be1110 100644 --- a/scripts/context/ruby/base/mp.rb +++ b/scripts/context/ruby/base/mp.rb @@ -12,6 +12,7 @@ module MPTools @@definitions, @@start, @@stop, @@before, @@after = Hash.new, Hash.new, Hash.new, Hash.new, Hash.new + @@definitions['plain'] = <<EOT \\gdef\\mpxshipout{\\shipout\\hbox\\bgroup \\setbox0=\\hbox\\bgroup} @@ -34,6 +35,8 @@ EOT @@definitions['context'] = <<EOT \\ifx\\startMPXpage\\undefined + \\ifx\\loadallfontmapfiles\\undefined \\let\\loadallfontmapfiles\\relax \\fi + \\gdef\\startMPXpage {\\shipout\\hbox \\bgroup @@ -56,6 +59,7 @@ EOT \\egroup \\ht0=0pt \\dp0=0pt + \\loadallfontmapfiles \\box0 \\egroup} |