Christopher Sawtell dixit:
>
> Probably ( I'm not certain but I had similar problems ) you have not got
> the configuration file for dvips set up correctly for a4 paper size.
> Installation is supposed to do this automatically but if, like me, you
> don't realise exactly what is going on during installation, it is only too
> easy to just take the American default ...
>
> On my system ( Debian, I don't know about others ) it's:-
>
> /usr/lib/texmf/dvips/config/config.ps
>
> ( Although it has a '.ps' extension it is _not_ a postscript file,
> open it with an ordinary text editor )
>
> Make sure these two lines are mentioned before any other papersize lines.
>
> @ A4size 210mm 297mm
> @+ %%PaperSize: A4
>
> You may find the lines, possibly commented out, further down the file.
> move them up so that they are the first paper-size lines.
> This makes the a4 paper-size the default.
The lines were there, uncommented, in /usr/lib/texmf/dvips/config/config.ps
and in /etc/texmf/dvips/config.ps
Also, I had this file, ~/.lyx/lyxrc.defaults:
# This file has been automatically generated by LyX' lib/configure
# script. It contains default settings that have been determined by
# examining your system. PLEASE DO NOT MODIFY ANYTHING HERE! If you
# want to customize LyX, make a copy of the file LYXDIR/lyxrc as
# ~/.lyx/lyxrc and edit this file instead. Any setting in lyxrc will
# override the values given here.
\latex_command "latex"
\ps_command "gs"
\view_ps_command "gv -swap"
\view_pspic_command "gv"
\ascii_roff_command "groff -t -Tlatin1 $$FName"
\chktex_command "none"
\fax_command "none"
\font_encoding "T1"
and also added a lyxrc file to that path. ~/.lyx/lyxrc contains this line:
\default_papersize "a4"
By the way, my system is Debian 2.0
I think I'll have a deeper look into it.
Regards,
Horacio.
--
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to
[EMAIL PROTECTED]
with the **Subject** unsubscribe.