mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-14 03:42:34 +00:00
7bb7b6dd4f
-kviewshell dvi "$params" +kviewshell dvi $params svn path=/trunk/kdegraphics/kdvi/; revision=95202
17 lines
377 B
Bash
Executable file
17 lines
377 B
Bash
Executable file
#!/bin/sh
|
|
# Strips -paper option which kviewshell currently does not understand;
|
|
# that way it can be used from LyX: Just edit ~/.lyx/lyxrc and change
|
|
# \view_dvi_command "xdvi"
|
|
# to
|
|
# \view_dvi_command "kdvi"
|
|
|
|
params=""
|
|
while test $# -gt 0; do
|
|
case "$1" in
|
|
-paper) shift;; # strip -paper option
|
|
*) params="$params $1";;
|
|
esac
|
|
shift
|
|
done
|
|
kviewshell dvi $params
|