From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205 Description of problem: (1) /usr/share/texmf/xdvi/XDvi is a config file, and should be treated as such by RPM. (2) In that file is a listing for resource "XDvi*wwwBrowser: netscape". If netscape is deprectated, this should probably be changed to mozilla. (3) Of course, we US chauvinists would prefer the XDvi*paper resource to be us instead of a4. Version-Release number of selected component (if applicable): tetex-xdvi-1.0.7-38.2 How reproducible: Always Steps to Reproduce: 1. Modify settings in /usr/share/texmf/xdvi/XDvi 2. Upgrade tetex-xdvi RPM. 3. Actual Results: Modified XDvi file is overwritten by RPM install. Expected Results: Either modified file should have been saved as XDvi.rpmsave or new file should have been installed as XDvi.rpmnew. Additional info:
Thanks for bringing this to our attention. XDvi _ought_ to already be marked %config. I'll check it out. For the other things: - Yes, mozilla should be used instead of netscape. - The paper size can be set to US letter using 'texconfig xdvi us'.
Thanks. I just noticed that /usr/share/texmf/dvips/config/config.ps appears to have the same problem. Perhaps other files in that directory as well?
Should be fixed in tetex-1.0.7-40.
IMO, the browser resource (in XDvi) ought to be changed htmlview, instead of any one (hardcoded) browser.
Regarding 'us' vs 'a4' papersize, you may also want to set dvips's default: texconfig dvips paper letterSize as well as modify pdftex's default, modifying /usr/share/texmf/pdftex/config/pdftex.cfg to have: page_width 8.5truein page_height 11truein You can use perl to do this for you: perl -pi -e 's@^page_width .*@page_width 8.5truein@' /.../pdftex.cfg perl -pi -e 's@^page_height .*@page_height 11truein@' /.../pdftex.cfg I'm not sure if you have to regerate any format files or the like after making this change...
> (3) Of course, we US chauvinists would prefer the XDvi*paper resource > to be us instead of a4. Lucky you, you only have one papersize to change, the US chauvinists have already taken control of all the other print tools. (now can we agree that ignoring LC_PAPER for a build-time value is a bug instead of fighting for papersize defaults?)
Oh, I won't argue that this papersize default business is mess... that's for sure. For posterity, I've narrowed-down setting paper defaults to 4 quick-n-dirty 'texconfig' commands (though I'm sure I've probably missed something) texconfig xdvi us texconfig dvips paper letterSize texconfig dvipdf paper letter texconfig pdftex paper letterSize
typo: replace texconfig dvipdf ... with texconfig dvipdfm paper letter