From mboxrd@z Thu Jan 1 00:00:00 1970 From: Iannis Zannos Subject: Re: Two column output Date: Mon, 14 Oct 2013 08:29:17 +0300 Message-ID: References: <87siw4a7ox.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3d4b0d90ce104e8acbfc1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVaiW-0003VQ-Jf for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 01:29:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVaiU-0002YW-Nw for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 01:29:20 -0400 Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]:44008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVaiU-0002YR-CL for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 01:29:18 -0400 Received: by mail-ee0-f49.google.com with SMTP id d41so3041539eek.8 for ; Sun, 13 Oct 2013 22:29:17 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mehul Sanghvi Cc: Nick Dokos , ML Emacs-orgmode --001a11c3d4b0d90ce104e8acbfc1 Content-Type: text/plain; charset=ISO-8859-1 Hello Mehul, for HTML you would need to find/modify/write your own css template. I find the relatively recent Bootstrap package rather convenient for doing things like that because it defines a grid right away out of the box and gives you the means for defining columns and rectangular areas (boxes). http://getbootstrap.com. See http://getbootstrap.com/getting-started/#examples and http://getbootstrap.com/examples/jumbotron-narrow/ There is a package integrating orgmode export with bootstrap called o-blog. https://github.com/renard/o-blog. Here is an example of source code in a second column next to text: http://renard.github.io/o-blog/index.html (scroll down a little after the large heading "Quick Start Guide"). Iannis Zannos On Mon, Oct 14, 2013 at 6:01 AM, Mehul Sanghvi wrote: > On Sun, Oct 13, 2013 at 10:48 PM, Nick Dokos wrote: > >> Mehul Sanghvi writes: >> >> > How do I get two column output with org-mode ? I'm not looking for >> > tables but more like what you get in a newspaper article. Is that >> > possible to do with org-mode ? >> > >> > For the most part this is for publishing to HTML and PDF. >> > >> >> For LaTeX/PDF, this should suffice: >> >> #+LATEX_CLASS_OPTIONS: [twocolumn] >> >> For HTML, I have no idea. > > > > > One of the things I would like to do is be able to have two side-by-side > source code blocks so that I can do a comparison of the two. > > > -- > Mehul N. Sanghvi > email: mehul.sanghvi@gmail.com > --001a11c3d4b0d90ce104e8acbfc1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hello Mehul,=A0

<= div style>for HTML you would need to find/modify/write your own css templat= e. I find the relatively recent Bootstrap package rather convenient for doi= ng things like that because it defines a grid right away out of the box and= gives you the means for defining columns and rectangular areas (boxes).=A0= http://getbootstrap.com. See=A0http://getbootstr= ap.com/getting-started/#examples and=A0http://getbootstrap.com/examples/jumbotron-n= arrow/=A0

There is a package integrating orgmode expo= rt with bootstrap called o-blog.=A0https://github.com/renard/o-blog. Here is an example of source cod= e in a second column next to text:=A0
http://ren= ard.github.io/o-blog/index.html (scroll down a little after the large h= eading "Quick Start Guide").=A0

Iannis Zannos




On Mon, Oct 14, 2013 = at 6:01 AM, Mehul Sanghvi <mehul.sanghvi@gmail.com> wr= ote:
On Sun, Oct 13, 2013 at 10:48 PM, Nick Dokos <ndokos@gmail.com> wrote:
Mehul Sanghvi <mehul.sanghvi@gmail.com> writes:

> How do I get two column output with org-mode ? =A0I'm not looking = for
> tables but more like what you get in a newspaper article. =A0Is that > possible to do with org-mode ? =A0
>
> For the most part this is for publishing to HTML and PDF.
>

For LaTeX/PDF, this should suffice:

#+LATEX_CLASS_OPTIONS: [twocolumn]

For HTML, I have no idea.


One of the things I would like to do is be able to= have two side-by-side source code blocks so that I can do a comparison of = the two.=A0


--
Mehul N. Sa= nghvi
email: mehul.sanghvi@gmail.com

--001a11c3d4b0d90ce104e8acbfc1--