mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
The "paper" option is now handled (i.e. ignored) be the kviewshell
svn path=/trunk/kdegraphics/kdvi/; revision=123468
This commit is contained in:
parent
e6705dc9f0
commit
4c729d5278
16
kdvi
16
kdvi
|
@ -1,16 +1,2 @@
|
|||
#!/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
|
||||
kviewshell dvi "$@"
|
||||
|
|
Loading…
Reference in a new issue