emacs-orgmode
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: [O] Problem exporting code
From
:
Ken Williams
Subject
:
Re: [O] Problem exporting code
Date
:
Sun, 20 Jan 2013 23:52:33 -0600
On Sun, Jan 20, 2013 at 10:57 PM, Ken Williams
<
address@hidden
>
wrote:
I'm grasping at straws too, not knowing my way around the elisp code very well. =)
It looks like the function controlling this behavior is `org-export-format-source-code-or-example`, in org-exp.el:
(if (string-match "<pre\\([^>]*\\)>\n*" rtn)
(setq rtn
(concat
(if caption
(concat
"<div class=\"org-src-container\">"
(format
"<label class=\"org-src-name\">%s</label>"
caption))
"")
(replace-match
(format "<pre class=\"src src-%s\">\n" lang)
t t rtn)
(if caption "</div>" "")))))
So the <pre> tag gets inserted first, then later gets replaced by <pre class="src src-R"> ?
reply via email to
[
Prev in Thread
]
Current Thread
[Next in Thread]
Re: [O] Problem exporting code
,
(continued)
Re: [O] Problem exporting code
,
Bastien
,
2013/01/22
Re: [O] Problem exporting code
,
Ken Williams
,
2013/01/22
Re: [O] Problem exporting code
,
Bastien
,
2013/01/22
Re: [O] Problem exporting code
,
Achim Gratz
,
2013/01/22
Re: [O] Problem exporting code
,
Bastien
,
2013/01/22
Re: [O] Problem exporting code
,
Achim Gratz
,
2013/01/22
Re: [O] Problem exporting code
,
Thomas S. Dye
,
2013/01/22
Re: [O] Problem exporting code
,
Achim Gratz
,
2013/01/23
Re: [O] Problem exporting code
,
Eric S Fraga
,
2013/01/21
Re: [O] Problem exporting code
,
Ken Williams
,
2013/01/21
Re: [O] Problem exporting code
,
Ken Williams
<=
Prev by Date:
Re: [O] Problem exporting code
Next by Date:
Re: [O] colorg: Some news!
Previous by thread:
Re: [O] Problem exporting code
Next by thread:
[O] colorg: Some news!
Index(es):
Date
Thread