From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: beamer code and auctex Date: Wed, 23 Mar 2011 08:46:56 +0000 Message-ID: <87wrjqp6og.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=54528 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2KqR-0004cO-K8 for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 05:59:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2KqP-0007St-U3 for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 05:59:15 -0400 Received: from vscani-d2.ucl.ac.uk ([144.82.108.133]:42882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2KqP-0007Sh-Pk for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 05:59:13 -0400 In-Reply-To: (Andrea Crotti's message of "Tue, 22 Mar 2011 14:08:50 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrea Crotti Cc: emacs-orgmode@gnu.org Andrea Crotti writes: > I'm trying to put some nicely colored code in my org-beamer > presentation. > > On one machine I have minted but it's not found and the other is not > installed, but I guess that's a latex problem. > With lstlisting it kind of work but the font is way too big and not very > nice, but I'll try again maybe to see if I can get it better... > > The problem is that I use auctex for latex files, and the first time it > asks a value for the tex-master file. > > Isn't it possible to disable this and why does it asks since I'm using > pdflatex directly, right? > > Thanks, > Andrea You can customise auctex to do what you want. From [[info:auctex#Multifile]], ,---- | When you, for example, ask AUCTeX to run a command on the master | file, it has no way of knowing the name of the master file. By default, | it will assume that the current file is the master file. If you insert | the following in your `.emacs' file AUCTeX will use a more advanced | algorithm. | | (setq-default TeX-master nil) ; Query for master file. `---- Set this variable to t to indicate that all files are "masters" by default, I believe. Even though you are using pdflatex directly, you are prompted because the tex file is being loaded in the process of creating that pdf. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.97.g078c0)