Angus Leeming a écrit :
It appears that there's a LyXRC variable "print_landscape_flag" which
defaults to
print_landscape_flag = "-t landscape";
That's true but if you call:
dvips -t letter -t landscape InFile.dvi -o OutFile.ps
Then dvips says:
% dvips -t letter -t landscape test.dvi -o test.ps
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
(www.radicaleye.com)
' TeX output 2005.09.05:1456' -> test.ps
dvips: both landscape and papersize specified: ignoring landscape
dvips: warning: -t selected paper may be too small
[...]
So I would like to remove the '-t letter' since adding the '-t
landscape' option isn't helpful for me.
Just using 'dvips Infile.dvi -o OutFile.ps' would work in my case (then
I obtain a landscape presentation).
You can reset it to something else from the Outputs->Printer pane (Qt
frontend) of the Edit->Preferences dialog. (See the "Landscape:" field.)
I noticed that the '-t' in '-t letter' is also specified in
'Edit>Preferences>Outputs>Printer' ("Paper type:"). Removing it doesn't
solve the problem since the 'letter' part of the option is still present
in the dvips command call.
string const Converters::dvips_options(Buffer const * buffer)
{
string result;
...
if (buffer->params.orientation == BufferParams::ORIENTATION_LANDSCAPE
&& buffer->params.papersize2 != BufferParams::VM_PAPER_CUSTOM)
result += ' ' + lyxrc.print_landscape_flag;
return result;
}
--
Mael Hilléreau