emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Exporting #+lob
Date: Sun, 17 Oct 2010 09:34:37 -1000	[thread overview]
Message-ID: <68543EED-F3EF-49B1-9569-F753CAC44E1A@tsdye.com> (raw)
In-Reply-To: <87zkuc7k74.fsf@gmail.com>

Hi Eric,

I'm not sure it's a bug.  It works on Eric Fraga's installation.   
Perhaps I have something set up incorrectly.

The following approach works on my installation, so I haven't taken  
the time to chase down the problem I'm having with exporting # 
+begin_example ... #+end_example.

#+begin_src org :exports code
,#+lob: elispgantt(table=gantttesttable) :results output latex
#+end_src

Let me know if you want me to investigate further.

Thanks for your help,
Tom

On Oct 17, 2010, at 8:22 AM, Eric Schulte wrote:

> This looks like a bug, the export of lob lines needs to be better  
> about
> recognizing if it is inside of a protected environment.  Thanks for
> pointing this out.
>
> In the mean time the following syntax should work...
> : #+lob: elispgantt(table=gantttesttable) :results output latex
>
> Best -- Eric
>
> BTW: Do you still intend to add the elispgantt code to the library of
>     babel distributed with Org-mode?  If so I'm happy to handle the
>     commit if you send me the code or a patch.
>
> "Thomas S. Dye" <tsd@tsdye.com> writes:
>
>> Aloha all,
>>
>> This bit of an Org-mode buffer:
>>
>> #+begin_example
>> #+lob: elispgantt(table=gantttesttable) :results output latex
>> #+end_example
>>
>> is exported to LaTeX like this:
>>
>> \begin{lstlisting}
>> : elispgantt(table=gantttesttable)
>> \end{lstlisting}
>>
>> How can I get the header arguments (:results output latex) into the
>> LaTeX output?
>>
>> All the best,
>> Tom
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-10-17 19:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17  5:59 Exporting #+lob Thomas S. Dye
2010-10-17 18:22 ` Eric Schulte
2010-10-17 19:34   ` Thomas S. Dye [this message]
2010-10-17 19:45   ` Thomas S. Dye
2010-10-17 21:25     ` Eric Schulte
2010-10-17 22:17       ` Thomas S. Dye

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=68543EED-F3EF-49B1-9569-F753CAC44E1A@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /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).