/usr/share/texlive/texmf-dist/metapost/dviincl/fix_brks.mp is in texlive-metapost 2015.20160320-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | if unknown ifi: string ifi; ifi:="~vicar~.mpx"; fi
if unknown ofi: string ofi; ofi:="~vicar~.mpy"; fi
selected_page:=1;
write "if selected_page=1:" to ofi;
forever:
% re-declaration apparently cures problems with the string pool with
% large DVI files, such as TeXbook.DVI (Oostrum's DOS implementation
% swallows occasionally strings and issues "???" instead)
string l_; l_:=readfrom ifi;
exitif (l_=EOF);
if (l_="mpxbreak"):
l_:="elseif selected_page=" & decimal(incr(selected_page)) & ":";
fi
write l_ to ofi;
endfor
write "errmessage " &
ditto & "Non-existant page " & decimal(selected_page) & ditto & ";"
to ofi;
write "else:" to ofi;
write "errmessage " &
ditto & "Non-existant page " & ditto & " & decimal(selected_page);"
to ofi;
write "fi" to ofi;
write "endinput" to ofi;
end
|