org-mode/lisp
Carsten Dominik 88a78204c3 Coderefs: Implement line numbering and code references
This patch covers the much of the new line numbering and code line
referencing.

We introduce a new function with the longish name
`org-export-replace-src-segments-and-examples'.  It is an extension of
the earlier `org-export-replace-src-segments'.  It now also covers
EXAMPLE blocks, not only source code blocks.  This was necessary to
allow line numbering also in EXAMPLE blocks.

Both clock types now accept a string with options which will be given
in the BEGIN line.  Options currently recognized are -n, +n, and -r.

A bit unsatisfactory about this patch may be that LaTeX-specific code
is now defined in org-exp.el, maybe eventually we want to think of a
way to move this code back to org-export-latex.el.  Really, all it
does is adding line numbers and wrapping them into a verbatim
environment.

Besides adding line numbers in a backend specific way, this patch also
adds code to search or special cookies in source code, like "((1))" or
"((name))".  These are labels that can be addressed by links as
references to specific line in source code.
2008-12-26 23:23:31 +01:00
..
ChangeLog Remember: Safer way to access new buffer. 2008-12-23 07:16:10 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-archive.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-attach.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-bbdb.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-bibtex.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-clock.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-colview-xemacs.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-colview.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-compat.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-exp.el Coderefs: Implement line numbering and code references 2008-12-26 23:23:31 +01:00
org-export-latex.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-faces.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-gnus.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-id.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-info.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-irc.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-jsinfo.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-list.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-mac-message.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-macs.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-mew.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-mhe.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-mouse.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-plot.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-publish.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-remember.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-rmail.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-table.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-timer.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-vm.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-w3m.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org-wl.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
org.el Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00