1 |
On 04/29/08 09:43, alain.didierjean@××××.fr wrote: |
2 |
> |
3 |
>I use lyx 1.5.4 with tetex on a Gentoo computer. It works fine; |
4 |
>I'm thinking about switching to texlive, as tetex seems on a deadend. Has anyone |
5 |
>done it yet ? Got any problem ? How does LyX work with it ? |
6 |
>Please let me know, |
7 |
|
8 |
The transition works OK; though the default paper settings are "A4" if you use letter here are my notes: |
9 |
|
10 |
To fix paper size to "Letter" for system-wide setting as root: |
11 |
# texconfig-sys paper letter |
12 |
|
13 |
for user ~/home setting: |
14 |
$ texconfig paper letter |
15 |
|
16 |
Adjust this setting for Postscript (ps files): |
17 |
/usr/share/texmf/tex/generic/config/pdftexconfig.tex (replacing pdftex.cfg file) |
18 |
... |
19 |
\pdfoutput=1 |
20 |
\pdfcompresslevel=9 |
21 |
\pdfdecimaldigits=3 |
22 |
\pdfpagewidth=8.5 true in |
23 |
\pdfpageheight=11 true in |
24 |
\pdfhorigin=1 true in |
25 |
\pdfvorigin=1 true in |
26 |
\pdfpkresolution=600 |
27 |
\endinput |
28 |
... |
29 |
|
30 |
and as well: |
31 |
/etc/texmf/dvips/config/config.ps |
32 |
This has to be on the top, before other letter formats (the first one is default) |
33 |
... |
34 |
@ letter 8.5in 11in |
35 |
@+ ! %%DocumentPaperSizes: Letter |
36 |
@+ %%BeginPaperSize: Letter |
37 |
@+ /setpagedevice where |
38 |
@+ { pop << /PageSize [612 792] >> setpagedevice } |
39 |
@+ { /letter where { pop letter } if } |
40 |
@+ ifelse |
41 |
@+ %%EndPaperSize |
42 |
... |
43 |
|
44 |
-- |
45 |
#Joseph |
46 |
GPG KeyID: ED0E1FB7 |
47 |
-- |
48 |
gentoo-user@l.g.o mailing list |