On Thu, 24 May 2001, Moritz Moeller-Herrmann wrote:
> Many of you will know the excellent kdvi dvi file viewer.
> If you don't grab a copy of KDE2.2alpha1 and have a look. Nice.
>
> Now I would LOVE to use this dvi viewer to preview my lyx files.
> A little false assumption in lyx makes ths impossible. lyx always appends a
> -paper us(or a4) option to the xdvi call, which causes kdvi to fail because
> it does not know this option.
>
> Is there any way to switch this off? If not, where in the source would I
> have to switch it off?
>
> Thank you. (Please cc: me, I am not subscribed to this list)
This is a known problem :
http://sourceforge.net/tracker/index.php?func=detail&aid=233429&group_id=15212&atid=365212
I don't know why KDE2 drops support for this option.
You can, however, change the option by adding :
\view_dvi_paper_option "-option"
to $HOME/.lyx/preferences
where "-option" is whatever KDE2 kdvi calls the paper option (I assume it has one -
can you check for us ?)
Unfortunately there is not yet support in the GUI for setting this value.
hope this helps
john
p.s. if you want to hack the source, look in lyxrc.C and work out to find
where the value is looked up.
p.p.s. perhaps you might consider filing a kdvi bug with bugs.kde.org too
--
"Take the ideas you find useful. Try not to get hung up on the labels."
- Jonathan S. Shapiro