From: "Eric Schulte" <schulte.eric@gmail.com>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode@gnu.org, andrea Crotti <andrea.crotti.0@gmail.com>
Subject: Re: [babel] dot in pdf directly
Date: Mon, 09 Nov 2009 18:13:48 -0700 [thread overview]
Message-ID: <m2ocnbnpv7.fsf@gmail.com> (raw)
In-Reply-To: <87fx8n72wn.fsf@gmx.de> (Sebastian Rose's message of "Mon, 09 Nov 2009 23:24:08 +0100")
Sebastian Rose <sebastian_rose@gmx.de> writes:
> andrea Crotti <andrea.crotti.0@gmail.com> 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
next prev parent reply other threads:[~2009-11-10 1:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 21:16 [babel] dot in pdf directly andrea Crotti
2009-11-09 22:24 ` Sebastian Rose
2009-11-10 1:13 ` Eric Schulte [this message]
2009-11-10 6:20 ` andrea Crotti
2009-11-10 14:40 ` Sebastian Rose
2009-11-10 15:41 ` Eric Schulte
2009-11-10 17:13 ` andrea Crotti
2009-11-10 19:10 ` Eric Schulte
2009-11-12 18:35 ` andrea Crotti
2009-11-12 18:43 ` Julien Barnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ocnbnpv7.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=andrea.crotti.0@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sebastian_rose@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.