emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Iannis Zannos <zannos@gmail.com>
To: Mehul Sanghvi <mehul.sanghvi@gmail.com>
Cc: Nick Dokos <ndokos@gmail.com>, ML Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Two column output
Date: Mon, 14 Oct 2013 08:29:17 +0300	[thread overview]
Message-ID: <CAEC5JkLAC5TQq_tVOgttspPjTKdN3_s818FVASxWr6cddQHwyw@mail.gmail.com> (raw)
In-Reply-To: <CAPo9-A9oOFkSghX9NnevnWQF5V9sD=XbHxOvuO2BEfmQ8A5hJQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]

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 <mehul.sanghvi@gmail.com>wrote:

> 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 ?  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
>

[-- Attachment #2: Type: text/html, Size: 3027 bytes --]

  reply	other threads:[~2013-10-14  5:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14  2:15 Two column output Mehul Sanghvi
2013-10-14  2:48 ` Nick Dokos
2013-10-14  3:01   ` Mehul Sanghvi
2013-10-14  5:29     ` Iannis Zannos [this message]
2013-10-14 14:00       ` Mehul Sanghvi
2013-10-14 13:32     ` Eric Schulte
2013-10-14 14:12       ` Mehul Sanghvi

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=CAEC5JkLAC5TQq_tVOgttspPjTKdN3_s818FVASxWr6cddQHwyw@mail.gmail.com \
    --to=zannos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mehul.sanghvi@gmail.com \
    --cc=ndokos@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).