From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] dot in pdf directly Date: Mon, 09 Nov 2009 18:13:48 -0700 Message-ID: References: <87fx8n72wn.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7fJ0-00057F-UO for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 20:13:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7fIw-00055A-6J for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 20:13:58 -0500 Received: from [199.232.76.173] (port=40121 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7fIv-000554-Rq for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 20:13:53 -0500 Received: from mail-pz0-f192.google.com ([209.85.222.192]:53107) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7fIv-0007jt-H5 for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 20:13:53 -0500 Received: by pzk30 with SMTP id 30so2645268pzk.24 for ; Mon, 09 Nov 2009 17:13:51 -0800 (PST) In-Reply-To: <87fx8n72wn.fsf@gmx.de> (Sebastian Rose's message of "Mon, 09 Nov 2009 23:24:08 +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: Sebastian Rose Cc: emacs-orgmode@gnu.org, andrea Crotti Sebastian Rose writes: > andrea Crotti writes: >> Still a couple of questions, I found something here >> in the newsgroup but nothing helped me... >> >> First, how many and where can I find all the possible >> >> #+begin_...? >> >> I mean why is >> #+begin_dot and not >> >> #+begin_src dot? >> >> I would like to insert my dot info and on exporting getting a pdf with >> embedded the generated eps, it would be great! >> >> I don't have very clear the grammar I can use in the #+begin_.. line, >> is there a clear explanation somewhere? > > > The difference is, > > #+begin_src mode-name > > just tells the exporter that the following block is a `mode-name' block, > where mode-name == the name of the emacs mode you'd use to edit a file > in that language. > > This handy if you want to edit the block's contents (C-c '). Eventually, > the source code inside the block will be highlighted on export to > XHTML. The mode is important then, too. Contents of blocks like this are > exported verbatim. > > > > > In contrast, blocks like > > #+begin_ditaa > > will never export verbatim. Instead, the contents are treated specially > or even send to an external program, that will create an image (e.g. - > in most cases), that will in turn replace the block in the exported > result. > > The exception to the above is that *if* you have org-babel loaded, then some begin_src blocks will become activated. The source blocks activated by org-babel are the contents of the variable `org-babel-interpreters'. They can be used to activate for example dot blocks, and will then have the result of possibly evaluating dot blocks on export in the same manner as org-exp-blocks. The two separate mechanisms are confusion, but for now are necessary to allow org-mode users to evaluate some simple block types (like dot) on export without having to load up all of org-babel. I hope the above isn't too confusing :) -- Eric > > Sebastian > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode