Charles Turner writes:
> Problem: I have two code blocks (#+BEGIN_SRC .. #+END) and I want to
> display them side by side on the page, perhaps within an org table.
>
> Is this possible? It doesn't seem to be. I think it would be nice to
> shove collapsed blocks into org table cells and have them
If I look at the figures in the link provided, I am reminded of table.el
tables.
Put your different src blocks in table.el tables, this way even if you
don't get fontification of src blocks atleast you will have a
side-by-side output with both html and latex backends.
Charles Turner writes:
>
On 27/12/11 21:12, Christian Moe wrote:
will do it in HTML. Full example follows below. I'll leave LaTeX to
those in the know...
Thanks. This was the "best" solution for me. I quote because the
abstraction boundary between "how it's rendered" and "what I want to be
rendered" is getting fuligi
Hi Nick,
Nick Dokos wrote:
> Here's one (rather less elegant than Christian's CSS magic) way
> that preserves the HTML behavior:
>
> #+author: Christian Moe
> #+title: Side by side code blocks
> #+style: pre.src {display: table-cell;}
>
> How to say hello in two languages:
>
> #+LaTeX: \begin{mini
> Use list-tables which is a Experimental-cum-ODT-only feature. See the
> attachment.
Additional note: List tables are also a feature of the XHTML backend.
(add-to-list 'load-path "~/src/org-mode/contrib/lisp")
M-x load-library RET org-xhtml RET
M-x org-export-as-xhtml-and-open RET
See the atta
Nick Dokos writes:
> Christian Moe wrote:
>
>> On 12/27/11 9:37 PM, Eric Schulte wrote:
>> > Charles Turner writes:
>> >
>> >> Problem: I have two code blocks (#+BEGIN_SRC .. #+END) and I want to
>> >> display them side by side on the page, perhaps within an org table.
>> (...)
>> > Note that w
Hi,
just want to point out, there is orgs beamer support which can easily place
blocks side by side.
Worg has a tutorial about this.
Torsten
On Dec 28, 2011 8:30 AM, "Nick Dokos" wrote:
> Christian Moe wrote:
>
> > On 12/27/11 9:37 PM, Eric Schulte wrote:
> > > Charles Turner writes:
> > >
> >
Christian Moe wrote:
> On 12/27/11 9:37 PM, Eric Schulte wrote:
> > Charles Turner writes:
> >
> >> Problem: I have two code blocks (#+BEGIN_SRC .. #+END) and I want to
> >> display them side by side on the page, perhaps within an org table.
> (...)
> > Note that what you describe is likely poss
Oh, right, it gets a bit more complicated if you want better control
of the tabulated blocks, i.e. border separation and spacing between
the table cells. Then you first need to wrap them in a . You
could do that with literal HTML, or (my preference) with
org-special-blocks. Use CSS to display t
Christian Moe writes:
> On 12/27/11 9:37 PM, Eric Schulte wrote:
>> Charles Turner writes:
>>
>>> Problem: I have two code blocks (#+BEGIN_SRC .. #+END) and I want to
>>> display them side by side on the page, perhaps within an org table.
> (...)
>> Note that what you describe is likely possible
On 12/27/11 9:37 PM, Eric Schulte wrote:
Charles Turner writes:
Problem: I have two code blocks (#+BEGIN_SRC .. #+END) and I want to
display them side by side on the page, perhaps within an org table.
(...)
Note that what you describe is likely possible using the existing
exporter and writin
Charles Turner writes:
> Problem: I have two code blocks (#+BEGIN_SRC .. #+END) and I want to
> display them side by side on the page, perhaps within an org table.
>
> Is this possible? It doesn't seem to be. I think it would be nice to
> shove collapsed blocks into org table cells and have them
Problem: I have two code blocks (#+BEGIN_SRC .. #+END) and I want to
display them side by side on the page, perhaps within an org table.
Is this possible? It doesn't seem to be. I think it would be nice to
shove collapsed blocks into org table cells and have them rendered in
the usual fashion
13 matches
Mail list logo