emacs-orgmode
[Top][All Lists]
Advanced

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

[O] LP weaving: org mode vs noweb


From: Christian Lynbech
Subject: [O] LP weaving: org mode vs noweb
Date: Tue, 10 Apr 2018 16:39:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin)

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.
                                        - address@hidden (Michael A. Petonic)


Attachment: org-code.pdf
Description: Adobe PDF document

Attachment: nw-code.pdf
Description: Adobe PDF document


reply via email to

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