Compare commits
333 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b54f95087 | ||
|
|
17c2e9fefe | ||
|
|
d2d8c1ffcf | ||
|
|
b9c638c280 | ||
|
|
8ac8f9fe6e | ||
|
|
ddb3144e66 | ||
|
|
ad5efc4b0f | ||
|
|
2de33b8150 | ||
|
|
e1fde88a60 | ||
|
|
123da9cca3 | ||
|
|
c20e7b5f2f | ||
|
|
74a3512038 | ||
|
|
ff04c4a131 | ||
|
|
00611e05c2 | ||
|
|
3e7e54a1bd | ||
|
|
aa35d1dc03 | ||
|
|
92afdc0ea6 | ||
|
|
f43920fc7c | ||
|
|
dde4bc7920 | ||
|
|
3d68e1fd00 | ||
|
|
8271f6b44a | ||
|
|
8a26965e14 | ||
|
|
3927889e66 | ||
|
|
5ecd7b8bef | ||
|
|
b0b795d13b | ||
|
|
182c2737cd | ||
|
|
5f93cabff5 | ||
|
|
a1f8cbe079 | ||
|
|
d7e870cba1 | ||
|
|
591b5ed382 | ||
|
|
fd141762f0 | ||
|
|
d59bbfa7d2 | ||
|
|
1d9f91cdd2 | ||
|
|
68f8e04ee8 | ||
|
|
c039e0d62c | ||
|
|
e6e3783ec6 | ||
|
|
5ae19e455d | ||
|
|
f475754a71 | ||
|
|
767f44f94d | ||
|
|
1411aca7b5 | ||
|
|
9ccdcaac24 | ||
|
|
d1223dcdb7 | ||
|
|
59448a4f2c | ||
|
|
5136880532 | ||
|
|
8654cf5507 | ||
|
|
6ca4dc8ffc | ||
|
|
a6f36ba679 | ||
|
|
176e37874e | ||
|
|
3208a04f7a | ||
|
|
0d579263cb | ||
|
|
c022b30110 | ||
|
|
7da4e4a29b | ||
|
|
8bc942a26f | ||
|
|
dff7550038 | ||
|
|
c4edcb8c24 | ||
|
|
4a44d88461 | ||
|
|
efc6bd11d9 | ||
|
|
51429e3155 | ||
|
|
b1a0fa4acf | ||
|
|
aeb2b6fe68 | ||
|
|
6679db98a8 | ||
|
|
5363324bbf | ||
|
|
dc9188dffc | ||
|
|
bd620ccd0d | ||
|
|
1947ae9f22 | ||
|
|
3fcf1b3864 | ||
|
|
d965dd6fd1 | ||
|
|
42dcd41e48 | ||
|
|
68fac7cfe8 | ||
|
|
a9f067e25a | ||
|
|
41b4b1015e | ||
|
|
9523365090 | ||
|
|
aa33fe42a8 | ||
|
|
78a9b93f22 | ||
|
|
a89339e472 | ||
|
|
f3307a8159 | ||
|
|
4bfa25dcb3 | ||
|
|
441a240c33 | ||
|
|
e767892dd5 | ||
|
|
8e0a7dea0f | ||
|
|
c4cc40f5e1 | ||
|
|
a5129199c7 | ||
|
|
c0e462944d | ||
|
|
63614841e8 | ||
|
|
bc4c09c546 | ||
|
|
0d1ab0e75a | ||
|
|
6e39029f91 | ||
|
|
d550966516 | ||
|
|
32d6b3d1ee | ||
|
|
7cb71a5a0a | ||
|
|
6b90a9bfa8 | ||
|
|
83d939bdc0 | ||
|
|
0e1ace78f4 | ||
|
|
6d4db60688 | ||
|
|
3aca01891d | ||
|
|
275ed87c3f | ||
|
|
b385270d7b | ||
|
|
fb412bc2cd | ||
|
|
585b1d2b74 | ||
|
|
c578bb45af | ||
|
|
b7f7876706 | ||
|
|
ee5ed17c20 | ||
|
|
a873794068 | ||
|
|
360b2d963d | ||
|
|
534c5ded3c | ||
|
|
bdaf90af03 | ||
|
|
1a67aac502 | ||
|
|
9f166278f4 | ||
|
|
c2222c9102 | ||
|
|
fc104680eb | ||
|
|
e40e3ff553 | ||
|
|
0b465fe290 | ||
|
|
d5396e311b | ||
|
|
384242af87 | ||
|
|
ec755bae8b | ||
|
|
0b1e06f0d5 | ||
|
|
bdfa050ee3 | ||
|
|
ec98e1c3c5 | ||
|
|
0d0b1b2051 | ||
|
|
2215c32e57 | ||
|
|
cf257443b0 | ||
|
|
62815621e4 | ||
|
|
7af5359e00 | ||
|
|
d1184fa1d0 | ||
|
|
5b146d7c07 | ||
|
|
926682d513 | ||
|
|
4c89d6c813 | ||
|
|
62926bb91d | ||
|
|
9ab649ebd4 | ||
|
|
ca1b633a9f | ||
|
|
f543caee00 | ||
|
|
409a92333e | ||
|
|
7a38d1ead3 | ||
|
|
33c53a14ab | ||
|
|
65615c64d2 | ||
|
|
166e59b922 | ||
|
|
8e357ed3b6 | ||
|
|
45074e3be3 | ||
|
|
ee1d8ca321 | ||
|
|
25531cc443 | ||
|
|
47a440147f | ||
|
|
8a91b9a074 | ||
|
|
d1ef83afca | ||
|
|
86dd526dde | ||
|
|
4d88256394 | ||
|
|
c49455e9ce | ||
|
|
a588da2c4a | ||
|
|
869c98d8b2 | ||
|
|
0374743cad | ||
|
|
4bc2f48738 | ||
|
|
69500837f2 | ||
|
|
0d0b9863c3 | ||
|
|
6bc6fdc87b | ||
|
|
53b9deff10 | ||
|
|
627f16e3a0 | ||
|
|
bf1a281c29 | ||
|
|
df4daa0e16 | ||
|
|
5cd34ba3a2 | ||
|
|
13b95cd0a1 | ||
|
|
876d042c37 | ||
|
|
81c0b7079f | ||
|
|
4a367dd7e0 | ||
|
|
8a0f9d4540 | ||
|
|
f6155ecf93 | ||
|
|
c077d34933 | ||
|
|
1ecc3ecf9d | ||
|
|
ced35e1694 | ||
|
|
840dc0a750 | ||
|
|
adc5a383c3 | ||
|
|
5ac12229f4 | ||
|
|
9565435526 | ||
|
|
e39562c85d | ||
|
|
c49556bd5d | ||
|
|
84ec2f2023 | ||
|
|
00ed63dcaa | ||
|
|
8dde8ce4e1 | ||
|
|
4e551e6d7e | ||
|
|
ea29ad8667 | ||
|
|
085e728c34 | ||
|
|
99318f39e3 | ||
|
|
c679a85e77 | ||
|
|
fc17fc224c | ||
|
|
7fe7e7a6ea | ||
|
|
ef591556fe | ||
|
|
c150aa4dea | ||
|
|
1df6777b0b | ||
|
|
8a109276df | ||
|
|
f07d041eb9 | ||
|
|
9bdec391f1 | ||
|
|
b9ead09dde | ||
|
|
dd009498dd | ||
|
|
17c745ee71 | ||
|
|
41aa0349a0 | ||
|
|
a6adeee40b | ||
|
|
a32cea8139 | ||
|
|
37bc5ef712 | ||
|
|
1a2f0856da | ||
|
|
3f707149e3 | ||
|
|
e9276e35ca | ||
|
|
3041a575f9 | ||
|
|
42dbda494a | ||
|
|
0e791e67ab | ||
|
|
ba55e0df4f | ||
|
|
d987b9b75b | ||
|
|
aa253c38dd | ||
|
|
ceb5376b21 | ||
|
|
b64c1c944b | ||
|
|
8bc79f9ef3 | ||
|
|
488372b070 | ||
|
|
120a06055f | ||
|
|
bbcafef8bf | ||
|
|
038535174b | ||
|
|
1bbe8fc688 | ||
|
|
ba8115c648 | ||
|
|
0030ef4459 | ||
|
|
20a8683894 | ||
|
|
3aa84c1743 | ||
|
|
7196e10b69 | ||
|
|
0c34df159f | ||
|
|
ddb09a1805 | ||
|
|
c58b850570 | ||
|
|
a55694176c | ||
|
|
6973d5a2c0 | ||
|
|
592e773920 | ||
|
|
be553aefb1 | ||
|
|
5694f80f41 | ||
|
|
36327e92d7 | ||
|
|
c70eb69ed6 | ||
|
|
8d9ff77799 | ||
|
|
029791e0b2 | ||
|
|
8d621b32dc | ||
|
|
dfad7b7888 | ||
|
|
56348a6d54 | ||
|
|
65e142a215 | ||
|
|
aa0a0b890e | ||
|
|
ab33730830 | ||
|
|
4c8828b91b | ||
|
|
2ba5156ee1 | ||
|
|
ae3a6ff919 | ||
|
|
4716e1ce5b | ||
|
|
89fcf6cb54 | ||
|
|
f220fd63e5 | ||
|
|
7cf1f7b7bb | ||
|
|
135ca133ea | ||
|
|
d126488891 | ||
|
|
51748afd41 | ||
|
|
e84135985e | ||
|
|
448902bb05 | ||
|
|
65df18171a | ||
|
|
e2bc58a469 | ||
|
|
fbe3c76ab7 | ||
|
|
368c6a457e | ||
|
|
c7dbe596b3 | ||
|
|
3da52a0826 | ||
|
|
ae11e390d1 | ||
|
|
45dd38ac2d | ||
|
|
7af18e2312 | ||
|
|
1b603f3a05 | ||
|
|
d06e4de7b0 | ||
|
|
e686666ea0 | ||
|
|
672848d06a | ||
|
|
627c785e24 | ||
|
|
758e224e6d | ||
|
|
f79606047e | ||
|
|
dd3de67a8c | ||
|
|
823426a4f1 | ||
|
|
fa97124186 | ||
|
|
885fefd060 | ||
|
|
efac73798f | ||
|
|
68e392811e | ||
|
|
343af41f78 | ||
|
|
f49a1853ad | ||
|
|
6bd8d9efd7 | ||
|
|
18ad80e018 | ||
|
|
34a0858473 | ||
|
|
4ba9d7439a | ||
|
|
6f0439bb6d | ||
|
|
b478b6f5d7 | ||
|
|
02af3d0081 | ||
|
|
40685f05cc | ||
|
|
e21701b97c | ||
|
|
ef8a6884fe | ||
|
|
ac7125d9b6 | ||
|
|
58ca9569a6 | ||
|
|
1da521b08a | ||
|
|
386ad5091d | ||
|
|
5f84cd974d | ||
|
|
d8ea450a46 | ||
|
|
3742f4fa08 | ||
|
|
11a7234900 | ||
|
|
50a3631b79 | ||
|
|
da2d7535e8 | ||
|
|
1351577c5a | ||
|
|
65eda08843 | ||
|
|
b82d4c0eca | ||
|
|
93fe46e4e7 | ||
|
|
5b308ea76f | ||
|
|
ab4a0c1224 | ||
|
|
786521ad4a | ||
|
|
d8102b7bc2 | ||
|
|
a26640355c | ||
|
|
057c8a1387 | ||
|
|
4fc81e983a | ||
|
|
258e9485de | ||
|
|
87ac18e6b2 | ||
|
|
e1e4ac75e4 | ||
|
|
c877116540 | ||
|
|
8e70773b15 | ||
|
|
f046b16c11 | ||
|
|
1ab7d2f2d7 | ||
|
|
a548c7e170 | ||
|
|
b556f4617f | ||
|
|
13163f2468 | ||
|
|
da5dcd4c1b | ||
|
|
d059afef07 | ||
|
|
bcade66e68 | ||
|
|
301a6db83e | ||
|
|
32da06776c | ||
|
|
169bf69f5e | ||
|
|
7ee48ff65c | ||
|
|
afb43ff34f | ||
|
|
b56d847cfa | ||
|
|
1503054994 | ||
|
|
03028889bd | ||
|
|
317293f0f2 | ||
|
|
3d7f411cf9 | ||
|
|
650cbc17db | ||
|
|
1d7770e590 | ||
|
|
bf038db31c | ||
|
|
4cdf88a632 | ||
|
|
2eaef82fdb | ||
|
|
00dc7b636c | ||
|
|
e6c809ab03 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
/target
|
/target
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
|
TODO.org
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ spec:
|
|||||||
value: []
|
value: []
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
|
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
|
||||||
- name: run-image-all
|
- name: run-image-tracing-compare
|
||||||
taskRef:
|
taskRef:
|
||||||
name: run-docker-image
|
name: run-docker-image
|
||||||
workspaces:
|
workspaces:
|
||||||
@@ -152,6 +152,46 @@ spec:
|
|||||||
value: ["--no-default-features", "--features", "tracing,compare"]
|
value: ["--no-default-features", "--features", "tracing,compare"]
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
|
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
|
||||||
|
- name: run-image-compare-foreign
|
||||||
|
taskRef:
|
||||||
|
name: run-docker-image
|
||||||
|
workspaces:
|
||||||
|
- name: source
|
||||||
|
workspace: git-source
|
||||||
|
- name: cargo-cache
|
||||||
|
workspace: cargo-cache
|
||||||
|
runAfter:
|
||||||
|
- run-image-tracing-compare
|
||||||
|
params:
|
||||||
|
- name: args
|
||||||
|
value:
|
||||||
|
[
|
||||||
|
"--no-default-features",
|
||||||
|
"--features",
|
||||||
|
"compare,foreign_document_test",
|
||||||
|
]
|
||||||
|
- name: docker-image
|
||||||
|
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
|
||||||
|
- name: run-image-all
|
||||||
|
taskRef:
|
||||||
|
name: run-docker-image
|
||||||
|
workspaces:
|
||||||
|
- name: source
|
||||||
|
workspace: git-source
|
||||||
|
- name: cargo-cache
|
||||||
|
workspace: cargo-cache
|
||||||
|
runAfter:
|
||||||
|
- run-image-compare-foreign
|
||||||
|
params:
|
||||||
|
- name: args
|
||||||
|
value:
|
||||||
|
[
|
||||||
|
"--no-default-features",
|
||||||
|
"--features",
|
||||||
|
"tracing,compare,foreign_document_test",
|
||||||
|
]
|
||||||
|
- name: docker-image
|
||||||
|
value: "$(params.image-name):$(tasks.fetch-repository.results.commit)"
|
||||||
finally:
|
finally:
|
||||||
- name: report-success
|
- name: report-success
|
||||||
when:
|
when:
|
||||||
|
|||||||
13
Cargo.toml
13
Cargo.toml
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "organic"
|
name = "organic"
|
||||||
version = "0.1.9"
|
version = "0.1.10"
|
||||||
authors = ["Tom Alexander <tom@fizz.buzz>"]
|
authors = ["Tom Alexander <tom@fizz.buzz>"]
|
||||||
description = "An org-mode parser."
|
description = "An org-mode parser."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
@@ -31,7 +31,14 @@ path = "src/lib.rs"
|
|||||||
path = "src/bin_compare.rs"
|
path = "src/bin_compare.rs"
|
||||||
required-features = ["compare"]
|
required-features = ["compare"]
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
# This bin exists for development purposes only. The real target of this crate is the library.
|
||||||
|
name = "foreign_document_test"
|
||||||
|
path = "src/bin_foreign_document_test.rs"
|
||||||
|
required-features = ["foreign_document_test"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
futures = { version = "0.3.28", optional = true }
|
||||||
nom = "7.1.1"
|
nom = "7.1.1"
|
||||||
opentelemetry = { version = "0.20.0", optional = true, default-features = false, features = ["trace", "rt-tokio"] }
|
opentelemetry = { version = "0.20.0", optional = true, default-features = false, features = ["trace", "rt-tokio"] }
|
||||||
opentelemetry-otlp = { version = "0.13.0", optional = true }
|
opentelemetry-otlp = { version = "0.13.0", optional = true }
|
||||||
@@ -40,13 +47,15 @@ tokio = { version = "1.30.0", optional = true, default-features = false, feature
|
|||||||
tracing = { version = "0.1.37", optional = true }
|
tracing = { version = "0.1.37", optional = true }
|
||||||
tracing-opentelemetry = { version = "0.20.0", optional = true }
|
tracing-opentelemetry = { version = "0.20.0", optional = true }
|
||||||
tracing-subscriber = { version = "0.3.17", optional = true, features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3.17", optional = true, features = ["env-filter"] }
|
||||||
|
walkdir = { version = "2.3.3", optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
walkdir = "2.3.3"
|
walkdir = "2.3.3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
compare = []
|
compare = ["tokio/process", "tokio/macros"]
|
||||||
|
foreign_document_test = ["compare", "dep:futures", "tokio/sync", "dep:walkdir", "tokio/process"]
|
||||||
tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tokio", "dep:tracing", "dep:tracing-opentelemetry", "dep:tracing-subscriber"]
|
tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tokio", "dep:tracing", "dep:tracing-opentelemetry", "dep:tracing-subscriber"]
|
||||||
|
|
||||||
# Optimized build for any sort of release.
|
# Optimized build for any sort of release.
|
||||||
|
|||||||
9
Makefile
9
Makefile
@@ -46,6 +46,15 @@ dockertest:
|
|||||||
> $(MAKE) -C docker/organic_test
|
> $(MAKE) -C docker/organic_test
|
||||||
> docker run --init --rm -i -t --read-only -v "$$(readlink -f ./):/source:ro" --mount type=tmpfs,destination=/tmp --mount source=cargo-cache,target=/usr/local/cargo/registry --mount source=rust-cache,target=/target --env CARGO_TARGET_DIR=/target -w /source organic-test --no-default-features --features compare --no-fail-fast --lib --test test_loader -- --test-threads $(TESTJOBS)
|
> docker run --init --rm -i -t --read-only -v "$$(readlink -f ./):/source:ro" --mount type=tmpfs,destination=/tmp --mount source=cargo-cache,target=/usr/local/cargo/registry --mount source=rust-cache,target=/target --env CARGO_TARGET_DIR=/target -w /source organic-test --no-default-features --features compare --no-fail-fast --lib --test test_loader -- --test-threads $(TESTJOBS)
|
||||||
|
|
||||||
|
.PHONY: buildtest
|
||||||
|
buildtest:
|
||||||
|
> cargo build --no-default-features
|
||||||
|
> cargo build --no-default-features --features compare
|
||||||
|
> cargo build --no-default-features --features tracing
|
||||||
|
> cargo build --no-default-features --features compare,tracing
|
||||||
|
> cargo build --no-default-features --features compare,foreign_document_test
|
||||||
|
> cargo build --no-default-features --features compare,tracing,foreign_document_test
|
||||||
|
|
||||||
.PHONY: foreign_document_test
|
.PHONY: foreign_document_test
|
||||||
foreign_document_test:
|
foreign_document_test:
|
||||||
> $(MAKE) -C docker/organic_test run_foreign_document_test
|
> $(MAKE) -C docker/organic_test run_foreign_document_test
|
||||||
|
|||||||
@@ -6,14 +6,13 @@ Organic is an emacs-less implementation of an [org-mode](https://orgmode.org/) p
|
|||||||
|
|
||||||
This project is still under HEAVY development. While the version remains v0.1.x the API will be changing often. Once we hit v0.2.x we will start following semver.
|
This project is still under HEAVY development. While the version remains v0.1.x the API will be changing often. Once we hit v0.2.x we will start following semver.
|
||||||
|
|
||||||
Currently, the parser is able to correctly identify the start/end bounds of all the org-mode objects and elements (except table.el tables, org-mode tables are supported) but many of the interior properties are not yet populated.
|
Currently, Organic parses most documents the same as the official org-mode parser. Most of the development right now is finding documents where the parsers differ and fixing those issues.
|
||||||
|
|
||||||
### Project Goals
|
### Project Goals
|
||||||
- We aim to provide perfect parity with the emacs org-mode parser. In that regard, any document that parses differently between Emacs and Organic is considered a bug.
|
- We aim to provide perfect parity with the emacs org-mode parser. In that regard, any document that parses differently between Emacs and Organic is considered a bug.
|
||||||
- The parser should be fast. We're not doing anything special, but since this is written in Rust and natively compiled we should be able to beat the existing parsers.
|
|
||||||
- The parser should have minimal dependencies. This should reduce effort w.r.t.: security audits, legal compliance, portability.
|
- The parser should have minimal dependencies. This should reduce effort w.r.t.: security audits, legal compliance, portability.
|
||||||
- The parser should be usable everywhere. In the interest of getting org-mode used in as many places as possible, this parser should be usable by everyone everywhere. This means:
|
- The parser should be usable everywhere. In the interest of getting org-mode used in as many places as possible, this parser should be usable by everyone everywhere. This means:
|
||||||
- It must have a permissive license for use in proprietary code bases.
|
- It must have a permissive license.
|
||||||
- We will investigate compiling to WASM. This is an important goal of the project and will definitely happen, but only after the parser has a more stable API.
|
- We will investigate compiling to WASM. This is an important goal of the project and will definitely happen, but only after the parser has a more stable API.
|
||||||
- We will investigate compiling to a C library for native linking to other code. This is more of a maybe-goal for the project.
|
- We will investigate compiling to a C library for native linking to other code. This is more of a maybe-goal for the project.
|
||||||
### Project Non-Goals
|
### Project Non-Goals
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ RUN make DESTDIR="/root/dist" install
|
|||||||
|
|
||||||
|
|
||||||
FROM build AS build-org-mode
|
FROM build AS build-org-mode
|
||||||
ARG ORG_VERSION=c703541ffcc14965e3567f928de1683a1c1e33f6
|
ARG ORG_VERSION=abf5156096c06ee5aa05795c3dc5a065f76ada97
|
||||||
COPY --from=build-emacs /root/dist/ /
|
COPY --from=build-emacs /root/dist/ /
|
||||||
RUN mkdir /root/dist
|
RUN mkdir /root/dist
|
||||||
# Savannah does not allow fetching specific revisions, so we're going to have to put unnecessary load on their server by cloning main and then checking out the revision we want.
|
# Savannah does not allow fetching specific revisions, so we're going to have to put unnecessary load on their server by cloning main and then checking out the revision we want.
|
||||||
@@ -102,6 +102,4 @@ COPY --from=foreign-document-gather /foreign_documents/doomemacs /foreign_docume
|
|||||||
COPY --from=foreign-document-gather /foreign_documents/worg /foreign_documents/worg
|
COPY --from=foreign-document-gather /foreign_documents/worg /foreign_documents/worg
|
||||||
COPY --from=build-org-mode /root/org-mode /foreign_documents/org-mode
|
COPY --from=build-org-mode /root/org-mode /foreign_documents/org-mode
|
||||||
COPY --from=build-emacs /root/emacs /foreign_documents/emacs
|
COPY --from=build-emacs /root/emacs /foreign_documents/emacs
|
||||||
COPY foreign_document_test_entrypoint.sh /entrypoint.sh
|
ENTRYPOINT ["cargo", "run", "--bin", "foreign_document_test", "--features", "compare,foreign_document_test", "--profile", "release-lto"]
|
||||||
RUN chmod +x /entrypoint.sh
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
|
||||||
|
|||||||
@@ -1,149 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
#
|
|
||||||
# Run the Organic compare script against a series of documents sourced from exterior places.
|
|
||||||
set -euo pipefail
|
|
||||||
IFS=$'\n\t'
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
|
|
||||||
REALPATH=$(command -v uu-realpath || command -v realpath)
|
|
||||||
|
|
||||||
function log {
|
|
||||||
(>&2 echo "${@}")
|
|
||||||
}
|
|
||||||
|
|
||||||
function die {
|
|
||||||
local status_code="$1"
|
|
||||||
shift
|
|
||||||
(>&2 echo "${@}")
|
|
||||||
exit "$status_code"
|
|
||||||
}
|
|
||||||
|
|
||||||
function main {
|
|
||||||
cargo build --no-default-features --features compare --profile release-lto
|
|
||||||
if [ "${CARGO_TARGET_DIR:-}" = "" ]; then
|
|
||||||
CARGO_TARGET_DIR=$(realpath target/)
|
|
||||||
fi
|
|
||||||
PARSE="${CARGO_TARGET_DIR}/release-lto/compare"
|
|
||||||
|
|
||||||
local all_status=0
|
|
||||||
set +e
|
|
||||||
|
|
||||||
(run_compare_function "org-mode" compare_all_org_document "/foreign_documents/org-mode")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "emacs" compare_all_org_document "/foreign_documents/emacs")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "worg" compare_all_org_document "/foreign_documents/worg")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "howard_abrams" compare_howard_abrams)
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "doomemacs" compare_all_org_document "/foreign_documents/doomemacs")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
|
|
||||||
set -e
|
|
||||||
if [ "$all_status" -ne 0 ]; then
|
|
||||||
red_text "Some tests failed."
|
|
||||||
else
|
|
||||||
green_text "All tests passed."
|
|
||||||
fi
|
|
||||||
return "$all_status"
|
|
||||||
}
|
|
||||||
|
|
||||||
function green_text {
|
|
||||||
(IFS=' '; printf '\x1b[38;2;0;255;0m%s\x1b[0m' "${*}")
|
|
||||||
}
|
|
||||||
|
|
||||||
function red_text {
|
|
||||||
(IFS=' '; printf '\x1b[38;2;255;0;0m%s\x1b[0m' "${*}")
|
|
||||||
}
|
|
||||||
|
|
||||||
function yellow_text {
|
|
||||||
(IFS=' '; printf '\x1b[38;2;255;255;0m%s\x1b[0m' "${*}")
|
|
||||||
}
|
|
||||||
|
|
||||||
function indent {
|
|
||||||
local depth="$1"
|
|
||||||
local scaled_depth=$((depth * 2))
|
|
||||||
shift 1
|
|
||||||
local prefix
|
|
||||||
prefix=$(printf -- "%${scaled_depth}s")
|
|
||||||
while read -r l; do
|
|
||||||
(IFS=' '; printf -- '%s%s\n' "$prefix" "$l")
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
function run_compare_function {
|
|
||||||
local name="$1"
|
|
||||||
local stdoutput
|
|
||||||
shift 1
|
|
||||||
set +e
|
|
||||||
stdoutput=$("${@}")
|
|
||||||
local status=$?
|
|
||||||
set -e
|
|
||||||
if [ "$status" -eq 0 ]; then
|
|
||||||
echo "$(green_text "GOOD") $name"
|
|
||||||
indent 1 <<<"$stdoutput"
|
|
||||||
else
|
|
||||||
echo "$(red_text "FAIL") $name"
|
|
||||||
indent 1 <<<"$stdoutput"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function compare_all_org_document {
|
|
||||||
local root_dir="$1"
|
|
||||||
local target_document
|
|
||||||
local all_status=0
|
|
||||||
while read target_document; do
|
|
||||||
local relative_path
|
|
||||||
relative_path=$($REALPATH --relative-to "$root_dir" "$target_document")
|
|
||||||
set +e
|
|
||||||
(run_compare "$relative_path" "$target_document")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
set -e
|
|
||||||
done<<<"$(find "$root_dir" -type f -iname '*.org' | sort)"
|
|
||||||
return "$all_status"
|
|
||||||
}
|
|
||||||
|
|
||||||
function run_compare {
|
|
||||||
local name="$1"
|
|
||||||
local target_document="$2"
|
|
||||||
set +e
|
|
||||||
($PARSE "$target_document" &> /dev/null)
|
|
||||||
local status=$?
|
|
||||||
set -e
|
|
||||||
if [ "$status" -eq 0 ]; then
|
|
||||||
echo "$(green_text "GOOD") $name"
|
|
||||||
else
|
|
||||||
echo "$(red_text "FAIL") $name"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function compare_howard_abrams {
|
|
||||||
local all_status=0
|
|
||||||
set +e
|
|
||||||
|
|
||||||
(run_compare_function "dot-files" compare_all_org_document "/foreign_documents/howardabrams/dot-files")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "hamacs" compare_all_org_document "/foreign_documents/howardabrams/hamacs")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "demo-it" compare_all_org_document "/foreign_documents/howardabrams/demo-it")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "magit-demo" compare_all_org_document "/foreign_documents/howardabrams/magit-demo")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "pdx-emacs-hackers" compare_all_org_document "/foreign_documents/howardabrams/pdx-emacs-hackers")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "flora-simulator" compare_all_org_document "/foreign_documents/howardabrams/flora-simulator")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "literate-devops-demo" compare_all_org_document "/foreign_documents/howardabrams/literate-devops-demo")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "clojure-yesql-xp" compare_all_org_document "/foreign_documents/howardabrams/clojure-yesql-xp")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
(run_compare_function "veep" compare_all_org_document "/foreign_documents/howardabrams/veep")
|
|
||||||
if [ "$?" -ne 0 ]; then all_status=1; fi
|
|
||||||
|
|
||||||
set -e
|
|
||||||
return "$all_status"
|
|
||||||
}
|
|
||||||
|
|
||||||
main "${@}"
|
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
(dolist (var org-entities)
|
(dolist (var (sort (seq-filter 'listp org-entities)
|
||||||
(when (listp var)
|
(lambda (x y) (> (length (nth 0 x)) (length (nth 0 y))))))
|
||||||
(message "\"%s\"," (nth 0 var))
|
(message "EntityDefinition {name: %s, latex_math_mode: %s, latex: %s, html: %s, ascii: %s, utf8: %s},"
|
||||||
)
|
(prin1-to-string (nth 0 var))
|
||||||
|
(if (nth 2 var) "true" "false")
|
||||||
|
(prin1-to-string (nth 1 var))
|
||||||
|
(prin1-to-string (nth 3 var))
|
||||||
|
(prin1-to-string (nth 4 var))
|
||||||
|
(prin1-to-string (nth 6 var))
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
17
org_mode_samples/affiliated_keyword/all_name.org
Normal file
17
org_mode_samples/affiliated_keyword/all_name.org
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#+name: foo
|
||||||
|
: bar
|
||||||
|
|
||||||
|
#+source: foo
|
||||||
|
: bar
|
||||||
|
|
||||||
|
#+tblname: foo
|
||||||
|
: bar
|
||||||
|
|
||||||
|
#+resname: foo
|
||||||
|
: bar
|
||||||
|
|
||||||
|
#+srcname: foo
|
||||||
|
: bar
|
||||||
|
|
||||||
|
#+label: foo
|
||||||
|
: bar
|
||||||
8
org_mode_samples/affiliated_keyword/case_insensitive.org
Normal file
8
org_mode_samples/affiliated_keyword/case_insensitive.org
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#+NAME: foo
|
||||||
|
bar
|
||||||
|
|
||||||
|
#+NaMe: baz
|
||||||
|
cat
|
||||||
|
|
||||||
|
#+name: lorem
|
||||||
|
ipsum
|
||||||
6
org_mode_samples/affiliated_keyword/multiple_name.org
Normal file
6
org_mode_samples/affiliated_keyword/multiple_name.org
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#+name: foo
|
||||||
|
#+source: bar
|
||||||
|
#+name: baz
|
||||||
|
#+tblname: lorem
|
||||||
|
#+label: ipsum
|
||||||
|
: dolar
|
||||||
8
org_mode_samples/affiliated_keyword/optional_value.org
Normal file
8
org_mode_samples/affiliated_keyword/optional_value.org
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#+CAPTION[foo]: *bar*
|
||||||
|
#+CAPTION[*lorem* ipsum]: dolar
|
||||||
|
1. baz
|
||||||
|
|
||||||
|
|
||||||
|
#+CAPTION[foo]: *bar*
|
||||||
|
#+CAPTION[*lorem* ipsum]: dolar
|
||||||
|
# Comments cannot have affiliated keywords so those become regular keywords.
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#+tblname: foo
|
||||||
|
: bar
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
* Headline
|
||||||
|
before
|
||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
:candle:
|
||||||
|
inside
|
||||||
|
|
||||||
|
the drawer
|
||||||
|
:end:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
:candle:
|
||||||
|
inside
|
||||||
|
|
||||||
|
the drawer
|
||||||
|
:end:
|
||||||
|
|
||||||
|
after
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+BEGIN: clocktable :scope file :maxlevel 2
|
||||||
|
#+CAPTION: Clock summary at [2023-08-25 Fri 05:34]
|
||||||
|
| Headline | Time |
|
||||||
|
|--------------+--------|
|
||||||
|
| *Total time* | *0:00* |
|
||||||
|
#+END:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+BEGIN: clocktable :scope file :maxlevel 2
|
||||||
|
#+CAPTION: Clock summary at [2023-08-25 Fri 05:34]
|
||||||
|
| Headline | Time |
|
||||||
|
|--------------+--------|
|
||||||
|
| *Total time* | *0:00* |
|
||||||
|
#+END:
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
[fn:1] A footnote.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
[fn:1] A footnote.
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_center
|
||||||
|
|
||||||
|
#+end_center
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_center
|
||||||
|
|
||||||
|
#+end_center
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
#+begin_center
|
||||||
|
|
||||||
|
#+end_center
|
||||||
|
|
||||||
|
#+begin_center
|
||||||
|
#+NAME: foo
|
||||||
|
|
||||||
|
#+end_center
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_quote
|
||||||
|
|
||||||
|
#+end_quote
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_quote
|
||||||
|
|
||||||
|
#+end_quote
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_defun
|
||||||
|
foo
|
||||||
|
|
||||||
|
{{{bar(baz)}}}
|
||||||
|
#+end_defun
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_defun
|
||||||
|
foo
|
||||||
|
|
||||||
|
{{{bar(baz)}}}
|
||||||
|
#+end_defun
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
1. bar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
1. BAR
|
||||||
3
org_mode_samples/greater_element/plain_list/checkbox.org
Normal file
3
org_mode_samples/greater_element/plain_list/checkbox.org
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
- [ ] Foo
|
||||||
|
- [-] Bar
|
||||||
|
- [X] Baz
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
1. foo
|
||||||
|
#+NAME: bar
|
||||||
|
2. baz
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# This test causes problems with regular links if we do not create a new ContextTree when calling into confine_context.
|
||||||
|
- foo [[info:bar][baz]] lorem
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
* baz
|
||||||
|
# lorem
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
* baz
|
||||||
|
# lorem
|
||||||
|
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
* baz
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
* baz
|
||||||
|
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
* baz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# lorem
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
:PROPERTIES:
|
||||||
|
:foo: bar
|
||||||
|
:foo+: baz
|
||||||
|
:cat: dog
|
||||||
|
:END:
|
||||||
|
|
||||||
|
# Even though these are inheriting the properties and overwriting and/or appending to them, this is not represented in the parser AST so Organic does not do any special handling of this.
|
||||||
|
|
||||||
|
* Overwrite
|
||||||
|
:PROPERTIES:
|
||||||
|
:foo: lorem
|
||||||
|
:bat: car
|
||||||
|
:END:
|
||||||
|
|
||||||
|
* Append
|
||||||
|
:PROPERTIES:
|
||||||
|
:foo+: ipsum
|
||||||
|
:cake: lie
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
* Overwrite
|
||||||
|
#+NAME: foo
|
||||||
|
:PROPERTIES:
|
||||||
|
:header-args: :var foo="lorem"
|
||||||
|
:END:
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Blank lines and comments can come before property drawers in the zeroth section
|
|
||||||
:PROPERTIES:
|
|
||||||
:FOO: bar
|
|
||||||
:END:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* Spaces turn property drawers into regular drawers
|
|
||||||
|
|
||||||
:PROPERTIES:
|
|
||||||
:FOO: bar
|
|
||||||
:END:
|
|
||||||
* Comments turn property drawers into regular drawers
|
|
||||||
# Comment
|
|
||||||
:PROPERTIES:
|
|
||||||
:FOO: bar
|
|
||||||
:END:
|
|
||||||
* Baseline
|
|
||||||
:PROPERTIES:
|
|
||||||
:FOO: bar
|
|
||||||
:END:
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# lorem
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# lorem
|
||||||
|
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# lorem
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
:PROPERTIES:
|
||||||
|
:FOO: bar
|
||||||
|
:END:
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Blank lines and comments can come before property drawers in the zeroth section
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:PROPERTIES:
|
|
||||||
:FOO: bar
|
|
||||||
:END:
|
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
| foo | bar |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
| foo | bar |
|
||||||
3
org_mode_samples/greater_element/table/row/name.org
Normal file
3
org_mode_samples/greater_element/table/row/name.org
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|foo|
|
||||||
|
#+NAME: bar
|
||||||
|
|baz |
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+call: foo(bar="baz")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+call: foo(bar="baz")
|
||||||
3
org_mode_samples/lesser_element/babel_call/empty.org
Normal file
3
org_mode_samples/lesser_element/babel_call/empty.org
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#+call:
|
||||||
|
|
||||||
|
#+call:
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+call: foo[inside](bar="baz")[outside]
|
||||||
|
|
||||||
|
#+call: foo[](bar="baz")[]
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#+call: foo[inside](bar="baz")[outside]
|
||||||
|
|
||||||
|
#+call: foo[[inside]](bar="baz")[outside]
|
||||||
|
|
||||||
|
#+call: foo[inside]((bar="baz"))[outside]
|
||||||
|
|
||||||
|
#+call: foo[inside](bar="baz")[[outside]]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
#+call: foo(bar="baz"
|
||||||
7
org_mode_samples/lesser_element/babel_call/simple.org
Normal file
7
org_mode_samples/lesser_element/babel_call/simple.org
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#+call: foo(bar="baz")
|
||||||
|
|
||||||
|
#+call: lorem ipsum
|
||||||
|
|
||||||
|
#+call: dolar cat(dog)
|
||||||
|
|
||||||
|
#+call: (bat)
|
||||||
3
org_mode_samples/lesser_element/babel_call/spaces.org
Normal file
3
org_mode_samples/lesser_element/babel_call/spaces.org
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#+call: foo [inside] (bar="baz") [outside]
|
||||||
|
|
||||||
|
#+call: foo (bar="baz") [outside]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
CLOCK: [2023-04-21 Fri 19:32]--[2023-04-21 Fri 19:35]
|
||||||
3
org_mode_samples/lesser_element/clock/name.org
Normal file
3
org_mode_samples/lesser_element/clock/name.org
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
CLOCK: [2023-04-21 Fri 19:32]--[2023-04-21 Fri 19:35] => 0:03
|
||||||
|
#+NAME: foo
|
||||||
|
CLOCK: [2023-04-21 Fri 19:43]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
CLOCK: [2023-04-21 Fri 19:43] => 0:03
|
||||||
2
org_mode_samples/lesser_element/clock/time_range.org
Normal file
2
org_mode_samples/lesser_element/clock/time_range.org
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
CLOCK: [1970-01-01 Thu 8:15-13:15otherrest +1w -1d] => 0:03
|
||||||
|
CLOCK: [1970-01-01 Thu 8:15-13:15otherrest +1w -1d]
|
||||||
2
org_mode_samples/lesser_element/comment/name.org
Normal file
2
org_mode_samples/lesser_element/comment/name.org
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#+NAME: foo
|
||||||
|
# Comments cannot have affiliated keywords.
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
%%(foo)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
%%(foo)
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
: bar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
: bar
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
-----
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
-----
|
||||||
@@ -1,8 +1,63 @@
|
|||||||
#+name: foo
|
#+NAME: a
|
||||||
#+caption: bar
|
#+caption: b *lorem* ipsum
|
||||||
#+caption: baz
|
#+results: c
|
||||||
[[file:lorem/ipsum.png]]
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+foo: bar
|
||||||
|
|
||||||
#+name: cat
|
|
||||||
#+caption: dog
|
|
||||||
[[file:lorem/ipsum.png]]
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+foo: bar
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# This test is to prove that the parser works with affiliated keywords that have both a shorter and longer version.
|
|
||||||
|
|
||||||
#+results:
|
|
||||||
#+result:
|
|
||||||
#+begin_latex
|
|
||||||
\foo
|
|
||||||
#+end_latex
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
#+call: foo(bar="baz")
|
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
\begin{foo}
|
||||||
|
bar
|
||||||
|
\end{foo}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
\begin{foo}
|
||||||
|
bar
|
||||||
|
\end{foo}
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_comment text
|
||||||
|
bar
|
||||||
|
#+end_comment
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_comment text
|
||||||
|
bar
|
||||||
|
#+end_comment
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#+begin_comment
|
||||||
|
,* foo
|
||||||
|
,,,** bar
|
||||||
|
,*** baz
|
||||||
|
lorem
|
||||||
|
, ipsum
|
||||||
|
,#+begin_src dolar
|
||||||
|
|
||||||
|
,#+end_src
|
||||||
|
#+end_comment
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#+begin_comment
|
||||||
|
This is a comment
|
||||||
|
,* with an escaped line.
|
||||||
|
#+end_comment
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+begin_comment -n 20
|
||||||
|
foo
|
||||||
|
#+end_comment
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_example text
|
||||||
|
bar
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_example text
|
||||||
|
bar
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#+begin_example
|
||||||
|
,* foo
|
||||||
|
,,,** bar
|
||||||
|
,*** baz
|
||||||
|
lorem
|
||||||
|
, ipsum
|
||||||
|
,#+begin_src dolar
|
||||||
|
|
||||||
|
,#+end_src
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#+begin_example python :exports results
|
||||||
|
print("foo")
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
#+begin_example python -n :exports results
|
||||||
|
print("foo")
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+begin_example elisp -n 5
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#+begin_example -n -10
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
#+begin_example +n -15
|
||||||
|
bar
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#+begin_example -n 0
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
#+begin_example +n 0
|
||||||
|
bar
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
#+begin_example -n 5
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
# Line numbering starts at 15 for the example below since it uses +n.
|
||||||
|
#+begin_example +n 10
|
||||||
|
bar
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+begin_example foo -k
|
||||||
|
bar
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+begin_example foo -n bar -k baz
|
||||||
|
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
#+begin_example text -i
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
#+begin_example text -n -i
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
#+begin_example text
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
|
|
||||||
|
#+begin_example text -n -r -k
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#+begin_example text
|
||||||
|
foo
|
||||||
|
bar (ref:here)
|
||||||
|
baz
|
||||||
|
#+end_example
|
||||||
|
Link to the reference: [[(here)]]
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#+begin_example
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
#+BEGIN_EXAMPLE elisp -n -r -l "((%s))"
|
||||||
|
foo
|
||||||
|
#+END_EXAMPLE
|
||||||
|
|
||||||
|
#+BEGIN_EXAMPLE elisp -k -n -r -l "((%s))"
|
||||||
|
foo
|
||||||
|
#+END_EXAMPLE
|
||||||
|
|
||||||
|
#+BEGIN_EXAMPLE elisp -k 8 -n -r -l "((%s))"
|
||||||
|
foo
|
||||||
|
#+END_EXAMPLE
|
||||||
|
|
||||||
|
#+BEGIN_EXAMPLE elisp -n -r -k -l "((%s))"
|
||||||
|
foo
|
||||||
|
#+END_EXAMPLE
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+begin_example +n 10
|
||||||
|
foo
|
||||||
|
#+end_example
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_export text
|
||||||
|
bar
|
||||||
|
#+end_export
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_export text
|
||||||
|
bar
|
||||||
|
#+end_export
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#+begin_export html
|
||||||
|
,* foo
|
||||||
|
,,,** bar
|
||||||
|
,*** baz
|
||||||
|
lorem
|
||||||
|
, ipsum
|
||||||
|
,#+begin_src dolar
|
||||||
|
|
||||||
|
,#+end_src
|
||||||
|
#+end_export
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+begin_export latex
|
||||||
|
This would be LaTeX code.
|
||||||
|
#+end_export
|
||||||
6
org_mode_samples/lesser_element/lesser_block/nested.org
Normal file
6
org_mode_samples/lesser_element/lesser_block/nested.org
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Verse blocks are the only lesser blocks that contain objects
|
||||||
|
#+begin_verse
|
||||||
|
#+begin_comment
|
||||||
|
This is a comment.
|
||||||
|
#+end_comment
|
||||||
|
#+end_verse
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_src text
|
||||||
|
bar
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_src text
|
||||||
|
bar
|
||||||
|
#+end_src
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#+begin_src python :exports results
|
||||||
|
print("foo")
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src python -n :exports results
|
||||||
|
print("foo")
|
||||||
|
#+end_src
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#+begin_src python :exports results
|
||||||
|
print("foo")
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src python -n :exports results
|
||||||
|
print("foo")
|
||||||
|
#+end_src
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+begin_src foo -n bar -k baz
|
||||||
|
|
||||||
|
#+end_src
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
#+begin_src text -i
|
||||||
|
foo
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src text -n -i
|
||||||
|
foo
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src text
|
||||||
|
foo
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src text -n -r -k
|
||||||
|
foo
|
||||||
|
#+end_src
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#+begin_src text
|
||||||
|
foo
|
||||||
|
bar (ref:here)
|
||||||
|
baz
|
||||||
|
#+end_src
|
||||||
|
Link to the reference: [[(here)]]
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
#+begin_verse text
|
||||||
|
bar
|
||||||
|
#+end_verse
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
#+begin_verse text
|
||||||
|
bar
|
||||||
|
#+end_verse
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#+NAME: a
|
||||||
|
#+caption: b *lorem* ipsum
|
||||||
|
#+results: c
|
||||||
|
#+headers: d
|
||||||
|
#+header: e
|
||||||
|
#+label: f
|
||||||
|
#+plot: g
|
||||||
|
#+resname: h
|
||||||
|
#+result: i
|
||||||
|
#+source: j
|
||||||
|
#+srcname: k
|
||||||
|
#+tblname: l
|
||||||
|
#+attr_latex: m
|
||||||
|
#+attr_html: n
|
||||||
|
#+NAME: aa
|
||||||
|
#+caption: bb *lorem* ipsum
|
||||||
|
#+results: cc
|
||||||
|
#+headers: dd
|
||||||
|
#+header: ee
|
||||||
|
#+label: ff
|
||||||
|
#+plot: gg
|
||||||
|
#+resname: hh
|
||||||
|
#+result: ii
|
||||||
|
#+source: jj
|
||||||
|
#+srcname: kk
|
||||||
|
#+tblname: ll
|
||||||
|
#+attr_latex: mm
|
||||||
|
#+attr_html: nn
|
||||||
|
bar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#+NAME: A
|
||||||
|
#+CAPTION: B *LOREM* IPSUM
|
||||||
|
#+RESULTS: C
|
||||||
|
#+HEADERS: D
|
||||||
|
#+HEADER: E
|
||||||
|
#+LABEL: F
|
||||||
|
#+PLOT: G
|
||||||
|
#+RESNAME: H
|
||||||
|
#+RESULT: I
|
||||||
|
#+SOURCE: J
|
||||||
|
#+SRCNAME: K
|
||||||
|
#+TBLNAME: L
|
||||||
|
#+ATTR_LATEX: M
|
||||||
|
#+ATTR_HTML: N
|
||||||
|
#+NAME: AA
|
||||||
|
#+CAPTION: BB *LOREM* IPSUM
|
||||||
|
#+RESULTS: CC
|
||||||
|
#+HEADERS: DD
|
||||||
|
#+HEADER: EE
|
||||||
|
#+LABEL: FF
|
||||||
|
#+PLOT: GG
|
||||||
|
#+RESNAME: HH
|
||||||
|
#+RESULT: II
|
||||||
|
#+SOURCE: JJ
|
||||||
|
#+SRCNAME: KK
|
||||||
|
#+TBLNAME: LL
|
||||||
|
#+ATTR_LATEX: MM
|
||||||
|
#+ATTR_HTML: NN
|
||||||
|
bar
|
||||||
2
org_mode_samples/object/angle_link/application.org
Normal file
2
org_mode_samples/object/angle_link/application.org
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<file+sys://foo>
|
||||||
|
<file+emacs://foo>
|
||||||
13
org_mode_samples/object/angle_link/code_ref_link.org
Normal file
13
org_mode_samples/object/angle_link/code_ref_link.org
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<(foo)>
|
||||||
|
|
||||||
|
<((bar))>
|
||||||
|
|
||||||
|
<((baz)>
|
||||||
|
|
||||||
|
<(lo
|
||||||
|
rem)>
|
||||||
|
|
||||||
|
# These become fuzzy
|
||||||
|
<(foo) >
|
||||||
|
< (foo)>
|
||||||
|
<(foo)::3>
|
||||||
6
org_mode_samples/object/angle_link/custom_id_link.org
Normal file
6
org_mode_samples/object/angle_link/custom_id_link.org
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<#foo>
|
||||||
|
|
||||||
|
<#fo
|
||||||
|
o>
|
||||||
|
|
||||||
|
<#foo::3>
|
||||||
1
org_mode_samples/object/angle_link/elisp.org
Normal file
1
org_mode_samples/object/angle_link/elisp.org
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<elisp:(local-set-key "\M-\x" 'foo-bar-baz)>
|
||||||
21
org_mode_samples/object/angle_link/file_link.org
Normal file
21
org_mode_samples/object/angle_link/file_link.org
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<./simple.org>
|
||||||
|
<../simple.org>
|
||||||
|
</simple.org>
|
||||||
|
<file:simple.org>
|
||||||
|
<file:sim ple.org>
|
||||||
|
|
||||||
|
<file:simp
|
||||||
|
le.org>
|
||||||
|
|
||||||
|
<file:simple.org::3>
|
||||||
|
<file:simple.org::foo>
|
||||||
|
<file:simple.org::#foo>
|
||||||
|
<file:simple.org::foo bar>
|
||||||
|
<file:simple.org::foo
|
||||||
|
bar>
|
||||||
|
<file:simple.org::foo
|
||||||
|
bar>
|
||||||
|
<file:simple.org::foo
|
||||||
|
bar>
|
||||||
|
<file:simple.org::foo::bar>
|
||||||
|
<file:simple.org::/foo/>
|
||||||
6
org_mode_samples/object/angle_link/fuzzy_link.org
Normal file
6
org_mode_samples/object/angle_link/fuzzy_link.org
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<elisp.org>
|
||||||
|
|
||||||
|
<eli
|
||||||
|
sp.org>
|
||||||
|
|
||||||
|
<elisp.org::3>
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user