diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-05 22:50:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-05 22:50:13 +0000 |
commit | 52e905992c395638cf339bcd463c71b197fc03b9 (patch) | |
tree | 88970c53454646c3953c29970ee9c81762b0f019 /Build/source/texk/xdvik/xdvi.1.in | |
parent | b56b320b5e2515160073fa1b469514002688fe11 (diff) |
import xdvik-22.87.03
git-svn-id: svn://tug.org/texlive/trunk@40253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/xdvi.1.in')
-rw-r--r-- | Build/source/texk/xdvik/xdvi.1.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/xdvi.1.in b/Build/source/texk/xdvik/xdvi.1.in index c46a8027cb7..aa3f05551cb 100644 --- a/Build/source/texk/xdvik/xdvi.1.in +++ b/Build/source/texk/xdvik/xdvi.1.in @@ -2673,6 +2673,33 @@ is then the corresponding shrink factor is the ratio .IR p / n , rounded to the nearest integer. +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.TP +.B user-exec() +This action takes one (required) argument. Runs an external program +specified by the argument, which is tokenized on whitespace. The +.B XDVI_FILE +environment variable is set to the absolute pathname of the DVI file, +so that the program can find the DVI. As an example, to establish the +key +.RB ` m ' +as a keybinding that regenerates the DVI file with `make', put the +following into your +.I ~/.Xdefaults +file: +.sp +xdvi.mainTranslations: #override\e +.br +<Key>m: user-exec(xdvi-remake)\en + +where `xdvi-remake' names a program in your +.B PATH +analogous to `cd $(dirname $XDVI_FILE) && make $(basename $XDVI_FILE)'. +(See also the section +.B SIGNALS +for a way to get +.B xdvi +to reload the DVI file once it has been regenerated.) .PP .\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |