emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Org and LaTeX tables
Date: Wed, 20 Jan 2010 14:45:32 +0100	[thread overview]
Message-ID: <87aaw8c2kj.fsf@mundaneum.com> (raw)
In-Reply-To: AC0DC5AA-B980-4DE5-AB00-795A689150A5@gmail.com

Hi Carsten and Eric,

Carsten Dominik wrote:
> On Jan 6, 2010, at 12:10 PM, Sébastien Vauban wrote:
>> Carsten Dominik wrote:
>>> On Jan 6, 2010, at 11:29 AM, Sébastien Vauban wrote:
>>>>
>>>> In the PDF output, I need to have tables somehow highlighted. For example:
>>>>
>>>> #+LaTeX: \begin{shaded}
>>>> |   Code |    1st |    2nd |
>>>> |--------+--------+--------|
>>>> | 361-94 | 830.00 | 830.00 |
>>>> | 364-91 |   0.00 | 347.00 |
>>>> #+LaTeX: \end{shaded}
>>>>
>>>> Is there any other working alternative to get the power of Org tables and
>>>> LaTeX code surrounding them?
>>>
>>> Here is a dirty trick that might work. Environments are only detected if
>>> they are the first thing in a new line:
>>>
>>> #+LaTeX: {}\begin{shaded}
>>> |   Code |    1st |    2nd |
>>> |--------+--------+--------|
>>> | 361-94 | 830.00 | 830.00 |
>>> | 364-91 |   0.00 | 347.00 |
>>> #+LaTeX: \end{shaded}
>>
>> That DOES work. Thanks a lot.
>>
>> Now, regarding "long term" (whatever it means), can I count on that feature
>> to still be supported in the future?
>>
>> Or would/should such a feature be implemented in a different manner? Am I
>> the only one having that need? Can others give a feedback on this?
>
> I think Chris Gray's special blocks were actually not a bad idea for this
> kind of problem.

Sure, they're a really nice and intuitive way to do.


> What is the source of the incompatibility with babel?

I vaguely remember something went wrong with verbatim stuff. But I honestly
have had no problems with org-special-blocks [¹] + org-babel for the last
couple of days, since I re-enable it. So, was my problem transient?  Was it
something else?  I can't tell exactly anymore.

So, I now have both enabled by default in my .emacs, and they love each other
right now.

Best regards,
  Seb

[¹] but the problems described in my previous post ("Error when exporting to
    LaTeX")... Partly, but not only it seems, the lack of way to pass
    parameters along with the environment.

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      parent reply	other threads:[~2010-01-20 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 10:29 Org and LaTeX tables Sébastien Vauban
2010-01-06 10:43 ` Carsten Dominik
2010-01-06 11:10   ` Sébastien Vauban
2010-01-06 13:27     ` Carsten Dominik
2010-01-06 15:42       ` Eric Schulte
2010-01-20 13:45       ` Sébastien Vauban [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=87aaw8c2kj.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).