org-mode/lisp
Carsten Dominik c201da51b8 Fix source code example bug with plain list export to HTML
* lisp/org-exp.el (org-export-format-source-code-or-example): Mark examples
by a property. o
* lisp/org-html.el (org-export-html-close-lists-maybe): Check if raw
HTML stuff was actually made from an example

Daniel Mahler writes:

> 2. I would like to embed source blocks in numbered lists, without
> breaking the numbering ie:
>
>    1) get ready
>     #+BEGIN_SRC sh
>    get_ready
>     #+END_SRC
>    2) go
>     #+BEGIN_SRC sh
>    go
>     #+END_SRC
>
>    currently the src blocks cause the numbering to reset, so all
> items in a sequence like this are numbered 1

This patch fixes this issue - but I cannot say anymore why the code in
org-export-html-close-lists-maybe does in fact work.  The code looks
wrong, but it seems to work.  What looks wrong is that i does not
check for the true indentation in the case when the line is not
protected.  It must be that this case is covered by some other code
further down in the exporter.
2010-06-18 08:49:25 +02:00
..
ChangeLog Merge branch 'master' into taskjuggler-export 2010-06-08 15:22:04 +02:00
ChangeLog.01 Fix typo in documentation 2010-06-12 10:46:12 -07:00
org-agenda.el * lisp/org-agenda.el (org-agenda-get-deadlines): 2010-06-16 16:12:31 +02:00
org-archive.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-ascii.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-attach.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-bbdb.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-beamer.el Fix some customization issues in org-beamer.el patch by Jan Moringen 2010-05-30 22:17:29 +02:00
org-bibtex.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-clock.el Fix whitespace problems 2010-06-07 08:35:10 +02:00
org-colview-xemacs.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-colview.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-compat.el Make raising and lowering not mess up table alignment 2010-06-03 10:24:04 +02:00
org-crypt.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-ctags.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-datetree.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-docbook.el More flexibility for the XSLT command 2010-05-14 13:38:14 +02:00
org-docview.el Fix copyright years 2010-05-16 15:44:55 +02:00
org-entities.el Introduce a help function for entities 2010-06-03 18:17:08 +02:00
org-exp-blocks.el org-exp-blocks: cleanup trailing newline after block 2010-06-16 10:23:39 -07:00
org-exp.el Fix source code example bug with plain list export to HTML 2010-06-18 08:49:25 +02:00
org-faces.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-feed.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-footnote.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-freemind.el Emacs 22 support - use org-string-match-p 2010-06-04 21:01:29 +02:00
org-gnus.el org-gnus.el: Mention also Gmane in org-gnus-prefer-web-links 2010-05-28 15:46:37 -06:00
org-habit.el Add help-echo to habit graph 2010-05-13 07:45:26 +02:00
org-html.el Fix source code example bug with plain list export to HTML 2010-06-18 08:49:25 +02:00
org-icalendar.el Stop iCalendar export from failing with sexp dates 2010-06-04 13:13:54 +02:00
org-id.el PATCH: Fix minor XEmacs compatibility issue 2010-05-26 22:43:43 -06:00
org-indent.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-info.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-inlinetask.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-irc.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-jsinfo.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-latex.el Fix and improve list exporting to latex. 2010-06-16 21:26:49 +02:00
org-list.el Fix and improve list exporting to latex. 2010-06-16 21:26:49 +02:00
org-mac-message.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-macs.el Fix some issues in the entity and subscript code 2010-06-04 08:25:50 +02:00
org-mew.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-mhe.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-mobile.el Move a function to org.el 2010-05-31 18:57:01 +02:00
org-mouse.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-plot.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-protocol.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-publish.el possible Bug: non-interactive publishing (emacs 22.1) 2010-06-16 02:17:05 -04:00
org-remember.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-rmail.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-src.el Read-only src buffers 2010-06-05 14:31:35 +02:00
org-table.el Better recognizing of source code snippets 2010-06-06 12:51:27 +02:00
org-taskjuggler.el Avoid compiler warnings about reference to free variable `old-level' 2010-06-08 15:13:50 +02:00
org-timer.el * org-timer.el (org-timer-set-timer): Fix typo in the docstring. 2010-06-08 09:35:07 +02:00
org-vm.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-w3m.el org-w3m.el: Get text property directly, not using macro `w3m-anchor'. 2010-05-26 22:53:36 -06:00
org-wl.el Adjust indentation to meet coding style. 2010-05-12 10:02:43 +02:00
org-xoxo.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org.el org.el (org-display-inline-images): allow more characters for image filenames. 2010-06-16 16:27:17 +02:00