[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: [babel] dot in pdf directly
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Re: [babel] dot in pdf directly |
Date: |
Tue, 10 Nov 2009 12:10:54 -0700 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin) |
andrea Crotti <address@hidden> writes:
> Eric Schulte <schulte.eric <at> gmail.com> writes:
>
>> Note that the solution I'm about to propose relies on the use of
>> org-babel and #+begin_src dot blocks rather than #+begin_dot blocks.
>>
>> When in these situations I will often set the block so that neither the
>> code or the resulting image is exported, and so that the results of
>> block evaluation are silent.
>>
>> #+begin_src dot :file file.pdf :cmdline -Tpdf :exports none :results silent
>> ...
>> #+end_src
>>
>> Then I manually add file links to the image throughout my document.
>>
>> [[file:file.pdf]]
>>
>> Whenever I change the contents of the block I manually re-evaluate the
>> block with C-c C-c and the image to which all of the links point is
>> updated.
>>
>> Best -- Eric
>>
>
> Ok that's really perfect!
> The only "problem" is that it keeps exporting the code even without
> the :exports none, maybe I need some newlines?
>
> **** s2
> #+BEGIN_SRC dot :file s2.pdf :cmdline -Tpdf :exports none :results silent
> digraph s1 {
> t1;
> t2;
> }
> #+END_SRC
>
> [[file:s2.pdf]]
>
Hi Andrea,
there was a bug related to capitalization in org-exp-blocks, I've fixed
this bug in the head of the org-mode git repo. Please grab the latest
org-mode and see if you problem persists.
Best -- Eric
- [Orgmode] [babel] dot in pdf directly, andrea Crotti, 2009/11/09
- Re: [Orgmode] [babel] dot in pdf directly, Sebastian Rose, 2009/11/09
- Re: [Orgmode] [babel] dot in pdf directly, Eric Schulte, 2009/11/09
- [Orgmode] Re: [babel] dot in pdf directly, andrea Crotti, 2009/11/10
- Re: [Orgmode] Re: [babel] dot in pdf directly, Sebastian Rose, 2009/11/10
- Re: [Orgmode] Re: [babel] dot in pdf directly, Eric Schulte, 2009/11/10
- [Orgmode] Re: [babel] dot in pdf directly, andrea Crotti, 2009/11/10
- Re: [Orgmode] Re: [babel] dot in pdf directly,
Eric Schulte <=
- [Orgmode] Re: [babel] dot in pdf directly, andrea Crotti, 2009/11/12
- [Orgmode] Re: [babel] dot in pdf directly, Julien Barnier, 2009/11/12