emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: beamer code and auctex
Date: Wed, 23 Mar 2011 08:46:56 +0000	[thread overview]
Message-ID: <87wrjqp6og.fsf@ucl.ac.uk> (raw)
In-Reply-To: <F4428B02-F8D2-438C-A4F1-AE25EB7E435C@gmail.com> (Andrea Crotti's message of "Tue, 22 Mar 2011 14:08:50 +0100")

Andrea Crotti <andrea.crotti.0@gmail.com> 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)

      reply	other threads:[~2011-03-23  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 13:08 beamer code and auctex Andrea Crotti
2011-03-23  8:46 ` Eric S Fraga [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrjqp6og.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=andrea.crotti.0@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).