mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
Only output the -paper option if the dvi viewer is xdvi, thereby fixing
bug #233429. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2575 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f921515196
commit
c82e7795c3
@ -1,3 +1,8 @@
|
||||
2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* converter.C (Formats::view): only output the -paper option
|
||||
if the dvi viewer is xdvi, thereby fixing bug #233429.
|
||||
|
||||
2001-08-23 Herbert Voss <voss@perce>
|
||||
|
||||
* BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
|
||||
|
@ -177,7 +177,9 @@ bool Formats::view(Buffer const * buffer, string const & filename,
|
||||
string command = format->viewer();
|
||||
|
||||
if (format_name == "dvi" &&
|
||||
prefixIs(frontStrip(command), "xdvi") &&
|
||||
!lyxrc.view_dvi_paper_option.empty()) {
|
||||
|
||||
command += " " + lyxrc.view_dvi_paper_option;
|
||||
string paper_size = converters.papersize(buffer);
|
||||
if (paper_size == "letter")
|
||||
|
Loading…
Reference in New Issue
Block a user