# This TeXLive package uses libpaper(1). However, some older programs included # in TeXLive are not libpaper aware and thus need individual configuration. # The programs and the config file wrt. ${prefix}/share/texmf/dist/ are: dvips dvips/config/config.ps Just move the definition block of the papersize you want to be the default to the top of the defintion list, i.e. right below the "% emacs-page" line dvipdfmx dvipdfmx/dvipdfmx.cfg Search for 'papersize-spec' and replace a4 with the default you want. E.g.: gsed -i -e '/^p / s@a4@letter@' $cfg pdftex tex/generic/config/pdftexconfig.tex Finde the line '% paper size settings' and set the default pdfpagewidth and height to use in the 2 lines below. xdvi xdvi/XDvi Search for '*paper:' and replace a4 with the default you want. E.g. gsed -i -e '/^\*paper:/ s@a4@letter@' $cfg context tex/context/user/cont-sys.tex Search for papersize and replace corresponding values. psutils psutils/paper.cfg Similar to dvipdfmx. # You may also try texconfig(1) to adjust those settings a little bit easier.