From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ulrich Dirr" Newsgroups: gmane.emacs.help Subject: Re: File variables in tex-site.el Date: Sat, 3 May 2003 09:04:35 +0200 Organization: 1&1 Internet AG Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1051945526 25952 80.91.224.249 (3 May 2003 07:05:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 3 May 2003 07:05:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat May 03 09:05:25 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Br5J-0006kS-00 for ; Sat, 03 May 2003 09:05:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Br5E-0001Ow-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 03 May 2003 03:05:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!213.253.16.105.MISMATCH!mephistopheles.news.clara.net!news.clara.net!feed.news.nacamar.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: p50802862.dip0.t-ipconnect.de Original-X-Trace: online.de 1051945476 24526 80.128.40.98 (3 May 2003 07:04:36 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Sat, 3 May 2003 07:04:36 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-Xref: shelby.stanford.edu gnu.emacs.help:112710 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9205 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9205 Piet van Oostrum wrote: >>>>>> "Ulrich Dirr" (UD) wrote: > >> Piet van Oostrum wrote: >>> Actually the View command itself determines what kind of file was >>> produced and can be parameterized to do the proper thing to open the >>> file. > >> Could you please give me some concrete hints ('... can be >> parameterized')? > > (defcustom TeX-output-view-style > '(("^dvi$" ("^a5$" "^landscape$") "xdvi \"%d\" -paper a5r -s 4") > ("^dvi$" "^a5$" "xdvi \"%d\" -paper a5") > ("^dvi$" ("^landscape$" "^pstricks$\\|^psfrag$") > "dvips -t landscape -f \"%d\" | gv") > ("^dvi$" "^landscape$" "xdvi \"%d\" -paper a4r -s 4") > ("^dvi$" "^pstricks$\\|^psfrag$" "dvips -f \"%d\" | gv") > ("^dvi$" "." "xdvi \"%d\"") > ("^pdf$" "^landscape$" "xpdf -papertype a4r \"%o\"") > ("^pdf$" "." "xpdf \"%o\"") > ("^html?$" "." "netscape \"%o\"")) > "List of output file extensions and view options. > > So this tells that if you generated a .dvi file it views with xdvi, > but if you generated a .pdf file, it views with xpdf. And then as you > can see it is also parameterized with options and packages. > > If you use LaTeX PDF rather than LaTeX it knows that the output file > was .pdf rather than .dvi. > > Please note that this is still not fixed in stone, i.e. we might come > up with a more flexible and easier to use system if someone has a > bright idea. For example the options and packages now easily lead to a > combinatorial explosion. So an easier system to build up the commands > from parts might be preferable. Ah, ok I understand. One final stupid question. When I look at tex.el it always seems that parenthesis aren't balanced (like above I would add a third closing parenthesis). Best regards, Ulrich Dirr