[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] beamer code and auctex
From: |
Eric S Fraga |
Subject: |
Re: [O] beamer code and auctex |
Date: |
Wed, 23 Mar 2011 08:46:56 +0000 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Andrea Crotti <address@hidden> 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)