From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Raimund Kohl-Fuechsle Newsgroups: gmane.emacs.help Subject: Re: reading tex files Date: Tue, 04 Apr 2006 23:17:19 +0200 Message-ID: <20060404211720.445D32039C@esmeralda.nabuli> References: <20060426052301.88040.qmail@web54601.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1146035493 9067 80.91.229.2 (26 Apr 2006 07:11:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 07:11:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 26 09:11:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYeBN-0005Zh-U5 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 09:11:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYeBN-00083q-8t for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 03:11:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYeBB-00083l-Qs for help-gnu-emacs@gnu.org; Wed, 26 Apr 2006 03:11:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYeB9-00083Y-8j for help-gnu-emacs@gnu.org; Wed, 26 Apr 2006 03:11:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYeB9-00083V-3l for help-gnu-emacs@gnu.org; Wed, 26 Apr 2006 03:11:15 -0400 Original-Received: from [212.227.126.187] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYeDm-0000Fv-6m for help-gnu-emacs@gnu.org; Wed, 26 Apr 2006 03:13:58 -0400 Original-Received: from [84.171.128.32] (helo=esmeralda.nabuli) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1FYeB63oTS-0005d0; Wed, 26 Apr 2006 09:11:13 +0200 Original-Received: by esmeralda.nabuli (Postfix, from userid 1000) id 445D32039C; Tue, 4 Apr 2006 23:17:20 +0200 (CEST) Original-Received: from esmeralda.nabuli (localhost [127.0.0.1]) by esmeralda.nabuli (Postfix) with ESMTP id 05E4F20399; Tue, 4 Apr 2006 23:17:19 +0200 (CEST) Original-To: "Fred J." In-reply-to: <20060426052301.88040.qmail@web54601.mail.yahoo.com> Comments: In-reply-to "Fred J." message dated "Tue, 25 Apr 2006 22:23:01 -0700." X-Mailer: MH-E 7.82; nmh 1.1; GNU Emacs 21.4.1 X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1f319457b87b086c07c81ac42a02b276 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34665 Archived-At: > --0-1133892600-1146028981=:87824 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > > > Raimund Kohl-Fuechsle wrote: Gary Wessle > wrote: > > Do you mean "reading" as an equivalent to opening the file or do you > mean it as "displaying the content without those commands and stuff"? > The first case asks you to simply open the file and to ... read. Yepp. > The latter case asks for "texing" the *.tex file. To do this there > exist several ways ... so what is what you want to do? > > ray > > that latter, that is to be able to read without all the code \f \b > things, like a lormal doc. you seem to not be familiar with TeX/LaTeX ... well ... ok, first you need to have the tetex packages installed. On Debian you need the following packages (use: apt-get install ...) tetex-base (Basic library files of teTeX) tetex-extra (Additional library files of teTeX) (should you want to "dive" deeper into LaTeX you are going to need also: tetex-doc - The documentation component of the Debian teTeX packages) Now, given you are in dired within emacs (that looks like: -rw-r--r-- 1 raimund raimund 8549 2006-03-06 15:19 dvd-v1.tex) you then (in this example) place the cursor on "dvd-v1.tex" and use shell command "!" (you simply use the exclamation mark). The shell-command opens the minibuffer on the bottom of your screen and asks for a command. Here you type "latex" ... looks like: Shell command: latex ^^^^^ that's all. Now emacs runs LaTeX on the file. After it's done with it, still being in dired-mode, you type in the small "g" letter. Now you will see that emacs added some files. With my example it would look like: -rw-r--r-- 1 raimund raimund 1110 2006-04-04 22:45 dvd-v1.aux -rw-r--r-- 1 raimund raimund 18276 2006-04-04 22:45 dvd-v1.dvi -rw-r--r-- 1 raimund raimund 10572 2006-04-04 22:45 dvd-v1.log -rw-r--r-- 1 raimund raimund 427 2006-04-04 22:45 dvd-v1.out -rw-r--r-- 1 raimund raimund 8549 2006-03-06 15:19 dvd-v1.tex This being so you now place the curser on the file dvd-v1.dvi. Again you use the shell command with the command "xdvi" ... this will look like Shell command: xdvi and -voila- emacs opens the xdvi-viewer. Here you can see the whole document as it was meant to be seen - without all the LaTeX commands. There are other ways to do this. Since you seem to not be familiar with TeX/LaTex I thought this beginners instruction would suffice. Happy TeXing :-) ray