emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Src blocks laid out side-by-side


From: Steve Downey
Subject: Re: Src blocks laid out side-by-side
Date: Sat, 8 Feb 2020 14:02:45 -0500

Only needs to be in the exported document, and doesn't necessarily need to render that way within org. However, I'd like to avoid having to choose the export form with custom markup in the org document. I often have documents, or parts of docs, that are exported to both HTML and latex.  

The equivalent that I'm doing in markdown are custom fenced blocks that pandoc post-processes. 

I suppose I could write some markup that on export gets processed to the appropriate html or latex. 

On Sat, Feb 8, 2020, 05:13 Fraga, Eric <address@hidden> wrote:
On Friday,  7 Feb 2020 at 17:59, Steve Downey wrote:
> I have a need to lay out source blocks side by side, in order to present
> before and after changes to the source. If I could embed a block in a
> table, that would do it.

Do you need this layout in org file itself or only in an exported
document from the org file?

For the latter, you can use inline directives to achieve this.  E.g. if
you were exporting to PDF via LaTeX, you could start/end minipages
around each src block.

--
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.2-233-gc2bc48

reply via email to

[Prev in Thread] Current Thread [Next in Thread]