phillord pushed a commit to branch externals/pabbrev
in repository elpa.
commit 597b8ff2decc576e2154b6b565754c5ea6816b9d
Author: Phillip Lord <[email protected]>
Date: Thu Oct 25 11:58:49 2012 +0100
Added support $$ pass through, which works with an unconfigured asciidoc.
---
greycite.el | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/greycite.el b/greycite.el
index 410db4e..01a5996 100644
--- a/greycite.el
+++ b/greycite.el
@@ -65,6 +65,7 @@
(defvar greycite-adoc-kblog-cite-format
'(
(?\C-m . "kurl:")
+ (?4 . "$$[cite]http:")
(?h . "http:")
(?j . "http:[]"))
)
@@ -110,6 +111,8 @@
(lambda(url)
(substring url 7))
)))
+ ((string= format "$$[cite]http:")
+ (concat "$$[cite]" (reftex-get-bib-field "url" entry) "[/cite]$$"))
((string= format "http:")
(reftex-get-bib-field "url" entry))
((string= format "http:[]")
@@ -214,10 +217,6 @@
(concat
"http://greycite.knowledgeblog.org/resolve/"
doi)))
- (goto-char (point-min))
- (delete-region
- (point-min)
- (search-forward "\n\n"))
(buffer-string)))