emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Lynbech <christian@defun.dk>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: LP weaving: org mode vs noweb
Date: Tue, 10 Apr 2018 16:39:07 +0200	[thread overview]
Message-ID: <m2604zqg6s.fsf@defun.dk> (raw)

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

I am wondering if anybody has looked into making org mode weaving (eg.
pdf export) of literate style prorgrams to look more like the output
from the noweb literate programming tool?

I have attached two small examples of each style (org-code.pdf shows
what you get from org export, nw-code.pdf how the same snippet could
look with noweb).

Obviously there are many ways to tweak the output in each case, my
main interest is getting the label on each chunk. In the org mode
export, the `configuration' chunk may have a name but it is not printed
alongside the chunk itself as noweb does it. I have seen examples where
this information is added explicitly in the org file but I find that a
rather cumbersome way of getting something that noweb provides for free.

Is there an easy way to get something like this in org mode?

Christian Lynbech       | christian #\@ defun #\. dk
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

[-- Attachment #2: org-code.pdf --]
[-- Type: application/pdf, Size: 68987 bytes --]

[-- Attachment #3: nw-code.pdf --]
[-- Type: application/pdf, Size: 65485 bytes --]

             reply	other threads:[~2018-04-10 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10 14:39 Christian Lynbech [this message]
2018-04-10 19:12 ` LP weaving: org mode vs noweb Diego Zamboni

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:

  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=m2604zqg6s.fsf@defun.dk \
    --to=christian@defun.dk \
    --cc=emacs-orgmode@gnu.org \


* 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


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).