forked from mirrors/org-mode
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. |
||
---|---|---|
.. | ||
ChangeLog | ||
ChangeLog.01 | ||
org-agenda.el | ||
org-archive.el | ||
org-attach.el | ||
org-bbdb.el | ||
org-bibtex.el | ||
org-clock.el | ||
org-colview-xemacs.el | ||
org-colview.el | ||
org-compat.el | ||
org-exp.el | ||
org-export-latex.el | ||
org-faces.el | ||
org-gnus.el | ||
org-id.el | ||
org-info.el | ||
org-irc.el | ||
org-jsinfo.el | ||
org-list.el | ||
org-mac-message.el | ||
org-macs.el | ||
org-mew.el | ||
org-mhe.el | ||
org-mouse.el | ||
org-plot.el | ||
org-publish.el | ||
org-remember.el | ||
org-rmail.el | ||
org-table.el | ||
org-timer.el | ||
org-vm.el | ||
org-w3m.el | ||
org-wl.el | ||
org.el |