* [bug] `Org-list-end-marker' displayed in exported documents
@ 2011-11-24 11:44 Sebastien Vauban
0 siblings, 0 replies; only message in thread
From: Sebastien Vauban @ 2011-11-24 11:44 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
#+TITLE: ECM for Org-list-end-marker
#+DATE: 2011-11-24
#+PROPERTY: eval yes
* Overview
When exporting the following test case to either HTML or PDF, we get
=ORG-LIST-END-MARKER= displayed instead of the list of code blocks.
Maybe this is still not the correct way to publish a list of code blocks, but
what we get seems as well wrong to me.
* Test case
** How many blocks?
There are:
#+begin_src emacs-lisp :exports results
(org-babel-lob-ingest (buffer-file-name))
#+end_src
#+results:
: 1
blocks.
** Which blocks?
The following code is certainly not sufficient, but would aim at providing
some index to named code blocks (linkable, if possible).
#+begin_src emacs-lisp :results list
(mapcar #'list (reverse (org-babel-src-block-names)))
#+end_src
#+results:
- (#("defvar-now" 0 10 (fontified t org-category "mc-lob" face org-meta-line font-lock-fontified t)))
** Example of block
Define date variable =now=:
#+name: defvar-now
#+begin_src sql
DECLARE @now smalldatetime
-- implementation is not important in this context!
#+end_src
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-24 11:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 11:44 [bug] `Org-list-end-marker' displayed in exported documents Sebastien Vauban
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).