From 52e905992c395638cf339bcd463c71b197fc03b9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 Apr 2016 22:50:13 +0000 Subject: import xdvik-22.87.03 git-svn-id: svn://tug.org/texlive/trunk@40253 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/xdvik/xdvi.1.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'Build/source/texk/xdvik/xdvi.1.in') 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 +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 .\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -- cgit v1.2.3