[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic ed64dff0c7 031/333: Support for asciidoc->latex
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic ed64dff0c7 031/333: Support for asciidoc->latex transformation |
Date: |
Tue, 27 Feb 2024 12:59:57 -0500 (EST) |
branch: externals/lentic
commit ed64dff0c77011021f55a9644f52ea3d5a425326
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Support for asciidoc->latex transformation
Tests also added.
---
dev/linked-buffer-dot-emacs.el | 5 ++++-
dev/linked-buffer-test.el | 11 +++++++++++
test/asciidoc-clj-out.clj | 6 ++++++
test/asciidoc-clj.txt | 6 ++++++
4 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/dev/linked-buffer-dot-emacs.el b/dev/linked-buffer-dot-emacs.el
index 7c7b8da90b..ca3560547b 100644
--- a/dev/linked-buffer-dot-emacs.el
+++ b/dev/linked-buffer-dot-emacs.el
@@ -10,9 +10,12 @@
(package-initialize)
(defun ensure-elpa (package)
- (when (not (package-installed-p package))
+ (when
+ (not (package-installed-p package))
(package-install package)))
(ensure-elpa 'dash)
+;; this is a pain because it causes elpa loading of m-buffer
+;; locally
(ensure-elpa 'm-buffer)
(ensure-elpa 'f)
diff --git a/dev/linked-buffer-test.el b/dev/linked-buffer-test.el
index 61067569c7..2feff71d20 100644
--- a/dev/linked-buffer-test.el
+++ b/dev/linked-buffer-test.el
@@ -1,4 +1,6 @@
(require 'linked-buffer)
+(require 'linked-buffer-latex-code)
+(require 'linked-buffer-asciidoc)
(require 'f)
@@ -39,3 +41,12 @@
(linked-buffer-batch-clone-with-config
(linked-buffer-test-file "block-comment.clj")
'linked-buffer-clojure-latex-init))))
+
+(ert-deftest linked-buffer-asciidoc-clojure ()
+ (should
+ (equal
+ (f-read
+ (linked-buffer-test-file "asciidoc-clj-out.clj"))
+ (linked-buffer-batch-clone-with-config
+ (linked-buffer-test-file "asciidoc-clj.txt")
+ 'linked-buffer-asciidoc-clojure-init))))
diff --git a/test/asciidoc-clj-out.clj b/test/asciidoc-clj-out.clj
new file mode 100644
index 0000000000..629a8548f3
--- /dev/null
+++ b/test/asciidoc-clj-out.clj
@@ -0,0 +1,6 @@
+;; Open Test in asciidoc
+
+;; [source,clojure]
+;; ----
+(comment "source")
+;; ----
diff --git a/test/asciidoc-clj.txt b/test/asciidoc-clj.txt
new file mode 100644
index 0000000000..1d1406682a
--- /dev/null
+++ b/test/asciidoc-clj.txt
@@ -0,0 +1,6 @@
+Open Test in asciidoc
+
+[source,clojure]
+----
+(comment "source")
+----
- [elpa] externals/lentic 126e2570d1 018/333: Checkdoc run on linked-buffer., (continued)
- [elpa] externals/lentic 126e2570d1 018/333: Checkdoc run on linked-buffer., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic c09443853e 016/333: Moved test to examples., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d6ec7f8265 001/333: Initial Checkin, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 26cde813da 006/333: m-buffer has moved to keyword args., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 19a85aadf8 007/333: Reworked form to circumvent byte-compiler warning., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 580c5b315d 011/333: Clone point now operates on buffers with no visible windows also., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9697d9d4de 003/333: Initial commit., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 7bc58a4813 014/333: Delayed linkage added. Typo in v0.2 fixed., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9ff8e5a75a 024/333: Bug added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9f337f08f2 027/333: Initial commit: sort dependencies during test., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ed64dff0c7 031/333: Support for asciidoc->latex transformation,
ELPA Syncer <=
- [elpa] externals/lentic 73fe35fa77 023/333: Refactoring to remove code duplication., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d72b413ac8 037/333: Moved file name, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ec206bf673 060/333: Update in preparation for 0.5 release., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 29688f7ec6 089/333: Logging alterations., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b0c705c488 093/333: Removed :numeric option., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8ee4c01fe5 086/333: Fixed some errant blocks., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b2e4d953f1 053/333: Support for Org to Elisp transformation., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e9369029fe 055/333: Having this in git is a pain!, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic c88b7ccbe2 057/333: Update to add emacs temp files., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8b7966fd4e 066/333: Test files added for org-orgel, ELPA Syncer, 2024/02/27