# もうご覧になってらっしゃらないと思われますし、私自身は latexmk
# を使ったこともないので、自分でもでしゃばりだなとは思うのですが。
latexmk(version 4.79)のマニュアル(7 January 2023)を見てみま
すと、まず、Configuration/Initialization (rc) Files については:
------------------------------------------------------------
CONFIGURATION/INITIALIZATION (RC) FILES
Latexmk can be customized using initialization files, which are read at
startup in the following order:
1) The system RC file, if it exists. . . .
2) The user's RC file, if it exists. . . .
3) The RC file in the current working directory. This file can be
named either "latexmkrc" or ".latexmkrc", and the first of these to be
found is used, if any.
4) Any RC file(s) specified on the command line with the -r option.
------------------------------------------------------------
と説明されています。
また、$dvipdf の設定については、マニュアルと、latexmk.pl とを
見てみますと:
------------------------------------------------------------
LIST OF CONFIGURATION VARIABLES USABLE IN INITIALIZATION FILES
Default values are indicated in brackets.
$dvipdf ["dvipdf -dALLOWPSTRANSPARENCY %O %S %D"]
Command to convert .dvi to .pdf file. A common reconfiguration
is to use the dvipdfm command, which needs its arguments in a
different order:
$dvipdf = "dvipdfm %O -o %D %S";
------------------------------------------------------------
latexmk.pl
## Command to convert dvi file to pdf file directly.
# Use option -dALLOWPSTRANSPARENCY so that it works with documents
# using pstricks etc:
$dvipdf = 'dvipdf -dALLOWPSTRANSPARENCY %O %S %D';
# N.B. Standard dvipdf runs dvips and gs with their silent switch, so for
# standard dvipdf $dvipdf_silent_switch is unneeded, but innocuous.
# But dvipdfmx can be used instead, and it has a silent switch (-q).
# So implementing $dvipdf_silent_switch is useful.
------------------------------------------------------------
となっています。
(デフォルトは:
dvipdf -dALLOWPSTRANSPARENCY %O %S %D
となっているとのことですが、dvipdfm を使用する場合には:
dvipdfm %O -o %D %S
という順番に変更してください、と説明されています)
"Standard dvipdf runs dvips and gs with their silent switch"
ということなので "-dALLOWPSTRANSPARENCY" は gs 用のオプショ
ンみたいですが、%D、%O、%S については、それぞれ:
------------------------------------------------------------
FORMAT OF COMMAND SPECIFICATIONS
%D destination file (e.g., the name of the postscript file when
converting a dvi file to postscript).
%O options
%S source file (e.g., the name of the dvi file when converting a
.dvi file to ps).
------------------------------------------------------------
という意味とのことです。