Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] lyx & texlive

Joseph

2008-04-29

Replies:

Author LoginPost Reply
On 04/29/08 09:43, alain.didierjean@(protected):
>
>I use lyx 1.5.4 with tetex on a Gentoo computer. It works fine;
>I'm thinking about switching to texlive, as tetex seems on a deadend. Has anyone
>done it yet ? Got any problem ? How does LyX work with it ?
>Please let me know,

The transition works OK; though the default paper settings are "A4" if you use letter here are my notes:

To fix paper size to "Letter" for system-wide setting as root:
# texconfig-sys paper letter

for user ~/home setting:
$ texconfig paper letter

Adjust this setting for Postscript (ps files):
/usr/share/texmf/tex/generic/config/pdftexconfig.tex (replacing pdftex.cfg file)
...
\pdfoutput=1
\pdfcompresslevel=9
\pdfdecimaldigits=3
\pdfpagewidth=8.5 true in
\pdfpageheight=11 true in
\pdfhorigin=1 true in
\pdfvorigin=1 true in
\pdfpkresolution=600
\endinput
...

and as well:
/etc/texmf/dvips/config/config.ps
This has to be on the top, before other letter formats (the first one is default)
...
@ letter 8.5in 11in
@+ ! %%DocumentPaperSizes: Letter
@+ %%BeginPaperSize: Letter
@+ /setpagedevice where
@+ { pop << /PageSize [612 792] >> setpagedevice }
@+ { /letter where { pop letter } if }
@+ ifelse
@+ %%EndPaperSize
...

--
#Joseph
GPG KeyID: ED0E1FB7
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.