| ofs | hex dump | ascii |
|---|
| 0000 | 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 32 31 32 2e 33 31 30 2f 00 00 00 00 00 00 00 00 00 00 00 | ox-hugo-20250212.310/........... |
| 0020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0060 | 00 00 00 00 30 30 30 30 37 35 35 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 | ....0000755.0000000.0000000.0000 |
| 0080 | 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 32 33 30 30 00 20 35 00 00 00 | 0000000.00000000000.012300..5... |
| 00a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 00c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 00e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0100 | 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar...root................... |
| 0120 | 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........root................... |
| 0140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 01a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 01c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 01e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0200 | 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 32 31 32 2e 33 31 30 2f 6f 72 67 2d 68 75 67 6f 2d 61 75 | ox-hugo-20250212.310/org-hugo-au |
| 0220 | 74 6f 2d 65 78 70 6f 72 74 2d 6d 6f 64 65 2e 65 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | to-export-mode.el............... |
| 0240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0260 | 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 | ....0000644.0000000.0000000.0000 |
| 0280 | 30 30 30 32 36 35 31 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 37 35 36 34 00 20 30 00 00 00 | 0002651.00000000000.017564..0... |
| 02a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 02c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 02e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0300 | 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar...root................... |
| 0320 | 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........root................... |
| 0340 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 03a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 03c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 03e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0400 | 3b 3b 3b 20 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 65 78 70 6f 72 74 2d 6d 6f 64 65 2e 65 6c | ;;;.org-hugo-auto-export-mode.el |
| 0420 | 20 2d 2d 2d 20 4d 69 6e 6f 72 20 6d 6f 64 65 20 66 6f 72 20 61 75 74 6f 2d 65 78 70 6f 72 74 69 | .---.Minor.mode.for.auto-exporti |
| 0440 | 6e 67 20 75 73 69 6e 67 20 6f 78 2d 68 75 67 6f 20 2d 2a 2d 20 6c 65 78 69 63 61 6c 2d 62 69 6e | ng.using.ox-hugo.-*-.lexical-bin |
| 0460 | 64 69 6e 67 3a 20 74 20 2d 2a 2d 0a 0a 3b 3b 20 41 75 74 68 6f 72 73 3a 20 4b 61 75 73 68 61 6c | ding:.t.-*-..;;.Authors:.Kaushal |
| 0480 | 20 4d 6f 64 69 20 3c 6b 61 75 73 68 61 6c 2e 6d 6f 64 40 67 6d 61 69 6c 2e 63 6f 6d 3e 2c 20 45 | .Modi.<kaushal.mod@gmail.com>,.E |
| 04a0 | 76 67 65 6e 69 20 4b 6f 6c 65 76 20 3c 65 76 67 65 6e 79 73 77 40 67 6d 61 69 6c 2e 63 6f 6d 3e | vgeni.Kolev.<evgenysw@gmail.com> |
| 04c0 | 0a 3b 3b 20 55 52 4c 3a 20 68 74 74 70 73 3a 2f 2f 6f 78 2d 68 75 67 6f 2e 73 63 72 69 70 74 65 | .;;.URL:.https://ox-hugo.scripte |
| 04e0 | 72 2e 63 6f 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e 74 61 72 79 3a 0a 3b 3b 0a 3b 3b 20 54 68 69 73 | r.co..;;;.Commentary:.;;.;;.This |
| 0500 | 20 69 73 20 61 20 6d 69 6e 6f 72 20 6d 6f 64 65 20 66 6f 72 20 65 6e 61 62 6c 69 6e 67 20 61 75 | .is.a.minor.mode.for.enabling.au |
| 0520 | 74 6f 2d 65 78 70 6f 72 74 69 6e 67 20 6f 66 20 4f 72 67 20 66 69 6c 65 73 20 76 69 61 0a 3b 3b | to-exporting.of.Org.files.via.;; |
| 0540 | 20 6f 78 2d 68 75 67 6f 2e 0a 3b 3b 0a 3b 3b 20 2a 49 74 20 69 73 20 4e 4f 54 20 61 20 73 74 61 | .ox-hugo..;;.;;.*It.is.NOT.a.sta |
| 0560 | 6e 64 2d 61 6c 6f 6e 65 20 70 61 63 6b 61 67 65 2e 2a 0a 0a 3b 3b 3b 20 55 73 61 67 65 3a 0a 3b | nd-alone.package.*..;;;.Usage:.; |
| 0580 | 3b 0a 3b 3b 20 54 6f 20 65 6e 61 62 6c 65 20 74 68 69 73 20 6d 69 6e 6f 72 20 6d 6f 64 65 20 66 | ;.;;.To.enable.this.minor.mode.f |
| 05a0 | 6f 72 20 61 20 22 63 6f 6e 74 65 6e 74 2d 6f 72 67 22 20 64 69 72 65 63 74 6f 72 79 2c 20 61 64 | or.a."content-org".directory,.ad |
| 05c0 | 64 20 62 65 6c 6f 77 0a 3b 3b 20 74 6f 20 74 68 65 20 2e 64 69 72 2d 6c 6f 63 61 6c 73 2e 65 6c | d.below.;;.to.the..dir-locals.el |
| 05e0 | 3a 0a 3b 3b 0a 3b 3b 20 20 20 28 28 22 63 6f 6e 74 65 6e 74 2d 6f 72 67 2f 22 0a 3b 3b 20 20 20 | :.;;.;;...(("content-org/".;;... |
| 0600 | 20 20 2e 20 28 28 6f 72 67 2d 6d 6f 64 65 20 2e 20 28 28 65 76 61 6c 20 2e 20 28 6f 72 67 2d 68 | ....((org-mode...((eval...(org-h |
| 0620 | 75 67 6f 2d 61 75 74 6f 2d 65 78 70 6f 72 74 2d 6d 6f 64 65 29 29 29 29 29 29 29 0a 0a 3b 3b 3b | ugo-auto-export-mode)))))))..;;; |
| 0640 | 20 43 6f 64 65 3a 0a 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f 6e 20 6f 72 67 2d 68 75 | .Code:..(declare-function.org-hu |
| 0660 | 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 20 22 6f 78 2d 68 75 67 6f 22 29 0a 0a | go-export-wim-to-md."ox-hugo").. |
| 0680 | 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 | (defun.org-hugo-export-wim-to-md |
| 06a0 | 2d 61 66 74 65 72 2d 73 61 76 65 20 28 29 0a 20 20 22 46 75 6e 63 74 69 6f 6e 20 66 6f 72 20 60 | -after-save.()..."Function.for.` |
| 06c0 | 61 66 74 65 72 2d 73 61 76 65 2d 68 6f 6f 6b 27 20 74 6f 20 72 75 6e 20 60 6f 72 67 2d 68 75 67 | after-save-hook'.to.run.`org-hug |
| 06e0 | 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 2e 0a 0a 54 68 65 20 65 78 70 6f 72 74 | o-export-wim-to-md'...The.export |
| 0700 | 69 6e 67 20 68 61 70 70 65 6e 73 20 6f 6e 6c 79 20 77 68 65 6e 20 4f 72 67 20 43 61 70 74 75 72 | ing.happens.only.when.Org.Captur |
| 0720 | 65 20 69 73 20 6e 6f 74 20 69 6e 20 70 72 6f 67 72 65 73 73 2e 22 0a 20 20 28 75 6e 6c 65 73 73 | e.is.not.in.progress."...(unless |
| 0740 | 20 28 65 71 20 72 65 61 6c 2d 74 68 69 73 2d 63 6f 6d 6d 61 6e 64 20 27 6f 72 67 2d 63 61 70 74 | .(eq.real-this-command.'org-capt |
| 0760 | 75 72 65 2d 66 69 6e 61 6c 69 7a 65 29 0a 20 20 20 20 28 73 61 76 65 2d 65 78 63 75 72 73 69 6f | ure-finalize).....(save-excursio |
| 0780 | 6e 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d | n.......(org-hugo-export-wim-to- |
| 07a0 | 6d 64 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 69 6e 65 2d 6d | md))))..;;;###autoload.(define-m |
| 07c0 | 69 6e 6f 72 2d 6d 6f 64 65 20 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 65 78 70 6f 72 74 2d 6d | inor-mode.org-hugo-auto-export-m |
| 07e0 | 6f 64 65 0a 20 20 22 54 6f 67 67 6c 65 20 61 75 74 6f 20 65 78 70 6f 72 74 69 6e 67 20 74 68 65 | ode..."Toggle.auto.exporting.the |
| 0800 | 20 4f 72 67 20 66 69 6c 65 20 75 73 69 6e 67 20 60 6f 78 2d 68 75 67 6f 27 2e 22 0a 20 20 3a 67 | .Org.file.using.`ox-hugo'."...:g |
| 0820 | 6c 6f 62 61 6c 20 6e 69 6c 0a 20 20 3a 6c 69 67 68 74 65 72 20 22 22 0a 20 20 28 69 66 20 6f 72 | lobal.nil...:lighter.""...(if.or |
| 0840 | 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 65 78 70 6f 72 74 2d 6d 6f 64 65 0a 20 20 20 20 20 20 3b 3b | g-hugo-auto-export-mode.......;; |
| 0860 | 20 57 68 65 6e 20 74 68 65 20 6d 6f 64 65 20 69 73 20 65 6e 61 62 6c 65 64 0a 20 20 20 20 20 20 | .When.the.mode.is.enabled....... |
| 0880 | 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 28 61 64 64 2d 68 6f 6f 6b 20 27 61 66 74 65 72 2d | (progn.........(add-hook.'after- |
| 08a0 | 73 61 76 65 2d 68 6f 6f 6b 20 23 27 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d | save-hook.#'org-hugo-export-wim- |
| 08c0 | 74 6f 2d 6d 64 2d 61 66 74 65 72 2d 73 61 76 65 20 3a 61 70 70 65 6e 64 20 3a 6c 6f 63 61 6c 29 | to-md-after-save.:append.:local) |
| 08e0 | 29 0a 20 20 20 20 3b 3b 20 57 68 65 6e 20 74 68 65 20 6d 6f 64 65 20 69 73 20 64 69 73 61 62 6c | ).....;;.When.the.mode.is.disabl |
| 0900 | 65 64 0a 20 20 20 20 28 72 65 6d 6f 76 65 2d 68 6f 6f 6b 20 27 61 66 74 65 72 2d 73 61 76 65 2d | ed.....(remove-hook.'after-save- |
| 0920 | 68 6f 6f 6b 20 23 27 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 | hook.#'org-hugo-export-wim-to-md |
| 0940 | 2d 61 66 74 65 72 2d 73 61 76 65 20 3a 6c 6f 63 61 6c 29 29 29 0a 0a 0a 28 70 72 6f 76 69 64 65 | -after-save.:local)))...(provide |
| 0960 | 20 27 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 65 78 70 6f 72 74 2d 6d 6f 64 65 29 0a 0a 3b 3b | .'org-hugo-auto-export-mode)..;; |
| 0980 | 3b 20 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 65 78 70 6f 72 74 2d 6d 6f 64 65 2e 65 6c 20 65 | ;.org-hugo-auto-export-mode.el.e |
| 09a0 | 6e 64 73 20 68 65 72 65 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | nds.here........................ |
| 09c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 09e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0a00 | 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 32 31 32 2e 33 31 30 2f 6f 78 2d 62 6c 61 63 6b 66 72 69 | ox-hugo-20250212.310/ox-blackfri |
| 0a20 | 64 61 79 2e 65 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | day.el.......................... |
| 0a40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0a60 | 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 | ....0000644.0000000.0000000.0000 |
| 0a80 | 30 32 32 30 32 30 37 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 35 35 32 34 00 20 30 00 00 00 | 0220207.00000000000.015524..0... |
| 0aa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0ac0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0ae0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0b00 | 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar...root................... |
| 0b20 | 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........root................... |
| 0b40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0b60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0b80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0ba0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0bc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0be0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0c00 | 3b 3b 3b 20 6f 78 2d 62 6c 61 63 6b 66 72 69 64 61 79 2e 65 6c 20 2d 2d 2d 20 42 6c 61 63 6b 66 | ;;;.ox-blackfriday.el.---.Blackf |
| 0c20 | 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 42 61 63 6b 2d 45 6e 64 20 66 6f 72 20 4f 72 67 20 | riday.Markdown.Back-End.for.Org. |
| 0c40 | 45 78 70 6f 72 74 20 45 6e 67 69 6e 65 20 20 2d 2a 2d 20 6c 65 78 69 63 61 6c 2d 62 69 6e 64 69 | Export.Engine..-*-.lexical-bindi |
| 0c60 | 6e 67 3a 20 74 20 2d 2a 2d 0a 0a 3b 3b 20 41 75 74 68 6f 72 73 3a 20 4d 61 74 74 20 50 72 69 63 | ng:.t.-*-..;;.Authors:.Matt.Pric |
| 0c80 | 65 20 3c 6d 6f 70 74 6f 70 39 39 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 3b 3b 20 20 20 20 20 20 20 | e.<moptop99@gmail.com>.;;....... |
| 0ca0 | 20 20 20 4b 61 75 73 68 61 6c 20 4d 6f 64 69 20 3c 6b 61 75 73 68 61 6c 2e 6d 6f 64 69 40 67 6d | ...Kaushal.Modi.<kaushal.modi@gm |
| 0cc0 | 61 69 6c 2e 63 6f 6d 3e 0a 3b 3b 20 55 52 4c 3a 20 68 74 74 70 73 3a 2f 2f 6f 78 2d 68 75 67 6f | ail.com>.;;.URL:.https://ox-hugo |
| 0ce0 | 2e 73 63 72 69 70 74 65 72 2e 63 6f 0a 3b 3b 20 50 61 63 6b 61 67 65 2d 52 65 71 75 69 72 65 73 | .scripter.co.;;.Package-Requires |
| 0d00 | 3a 20 28 28 65 6d 61 63 73 20 22 32 34 2e 35 22 29 29 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e 74 61 | :.((emacs."24.5"))..;;;.Commenta |
| 0d20 | 72 79 3a 0a 0a 3b 3b 20 54 68 69 73 20 6c 69 62 72 61 72 79 20 69 6d 70 6c 65 6d 65 6e 74 73 20 | ry:..;;.This.library.implements. |
| 0d40 | 61 20 4d 61 72 6b 64 6f 77 6e 20 62 61 63 6b 2d 65 6e 64 20 28 42 6c 61 63 6b 66 72 69 64 61 79 | a.Markdown.back-end.(Blackfriday |
| 0d60 | 20 66 6c 61 76 6f 72 0a 3b 3b 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 | .flavor.;;.(https://github.com/r |
| 0d80 | 75 73 73 72 6f 73 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 29 29 20 66 6f 72 20 4f 72 67 20 65 78 | ussross/blackfriday)).for.Org.ex |
| 0da0 | 70 6f 72 74 65 72 2c 20 62 61 73 65 64 0a 3b 3b 20 6f 6e 20 74 68 65 20 6f 78 2d 6d 64 20 65 78 | porter,.based.;;.on.the.ox-md.ex |
| 0dc0 | 70 6f 72 74 65 72 2e 0a 0a 3b 3b 20 49 74 20 73 74 61 72 74 65 64 20 6f 66 66 20 61 73 20 61 20 | porter...;;.It.started.off.as.a. |
| 0de0 | 63 6c 6f 6e 65 20 6f 66 20 4c 61 72 73 20 54 76 65 69 74 6f 27 73 20 47 69 74 48 75 62 20 46 6c | clone.of.Lars.Tveito's.GitHub.Fl |
| 0e00 | 61 76 6f 72 65 64 20 4d 61 72 6b 64 6f 77 6e 0a 3b 3b 20 65 78 70 6f 72 74 65 72 20 28 68 74 74 | avored.Markdown.;;.exporter.(htt |
| 0e20 | 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6c 61 72 73 74 76 65 69 2f 6f 78 2d 67 66 6d 29 | ps://github.com/larstvei/ox-gfm) |
| 0e40 | 2e 0a 0a 3b 3b 3b 20 43 6f 64 65 3a 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 72 67 29 0a 28 72 65 | ...;;;.Code:..(require.'org).(re |
| 0e60 | 71 75 69 72 65 20 27 6f 78 2d 6d 64 29 0a 28 72 65 71 75 69 72 65 20 27 6f 78 2d 70 75 62 6c 69 | quire.'ox-md).(require.'ox-publi |
| 0e80 | 73 68 29 0a 28 72 65 71 75 69 72 65 20 27 74 61 62 6c 65 29 20 20 20 20 20 20 20 20 20 3b 54 6f | sh).(require.'table).........;To |
| 0ea0 | 20 73 75 70 70 6f 72 74 20 74 61 62 6c 65 73 20 77 72 69 74 74 65 6e 20 69 6e 20 74 61 62 6c 65 | .support.tables.written.in.table |
| 0ec0 | 2e 65 6c 20 66 6f 72 6d 61 74 0a 0a 28 72 65 71 75 69 72 65 20 27 73 75 62 72 2d 78 29 20 20 20 | .el.format..(require.'subr-x)... |
| 0ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 6f 72 20 60 73 74 72 69 6e 67 | ....................;For.`string |
| 0f00 | 2d 72 65 6d 6f 76 65 2d 73 75 66 66 69 78 27 0a 0a 0c 0a 3b 3b 3b 20 56 61 72 69 61 62 6c 65 73 | -remove-suffix'....;;;.Variables |
| 0f20 | 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d | ..(defvar.org-blackfriday-width- |
| 0f40 | 63 6f 6f 6b 69 65 73 20 6e 69 6c 29 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 72 | cookies.nil).(defvar.org-blackfr |
| 0f60 | 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 2d 74 61 62 6c 65 20 6e 69 6c 29 0a 0a 28 | iday-width-cookies-table.nil)..( |
| 0f80 | 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 6c | defconst.org-blackfriday-table-l |
| 0fa0 | 65 66 74 2d 62 6f 72 64 65 72 20 22 22 29 0a 28 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d 62 6c 61 | eft-border."").(defconst.org-bla |
| 0fc0 | 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 72 69 67 68 74 2d 62 6f 72 64 65 72 20 22 20 22 29 | ckfriday-table-right-border.".") |
| 0fe0 | 0a 28 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 | .(defconst.org-blackfriday-table |
| 1000 | 2d 73 65 70 61 72 61 74 6f 72 20 22 7c 20 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d | -separator."|.")..(defconst.org- |
| 1020 | 62 6c 61 63 6b 66 72 69 64 61 79 2d 68 74 6d 6c 35 2d 69 6e 6c 69 6e 65 2d 65 6c 65 6d 65 6e 74 | blackfriday-html5-inline-element |
| 1040 | 73 0a 20 20 27 28 3b 3b 20 22 61 22 20 3b 55 73 65 20 4f 72 67 20 5b 5b 6c 69 6e 6b 5d 5d 20 73 | s...'(;;."a".;Use.Org.[[link]].s |
| 1060 | 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 61 62 62 72 22 20 22 61 75 64 69 6f 22 | yntax.instead....."abbr"."audio" |
| 1080 | 0a 20 20 20 20 3b 3b 20 22 62 22 20 3b 55 73 65 20 4f 72 67 20 2a 62 6f 6c 64 2a 20 73 79 6e 74 | .....;;."b".;Use.Org.*bold*.synt |
| 10a0 | 61 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 62 64 69 22 20 22 62 64 6f 22 0a 20 20 20 20 3b | ax.instead....."bdi"."bdo".....; |
| 10c0 | 3b 20 22 62 72 22 20 3b 55 73 65 20 22 5c 5c 22 20 6f 72 20 22 23 2b 6f 70 74 69 6f 6e 73 3a 20 | ;."br".;Use."\\".or."#+options:. |
| 10e0 | 5c 6e 3a 74 22 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 62 75 74 74 6f 6e 22 0a 20 20 20 20 22 | \n:t".instead....."button"....." |
| 1100 | 63 61 6e 76 61 73 22 20 22 63 69 74 65 22 0a 20 20 20 20 3b 3b 20 22 63 6f 64 65 22 20 3b 55 73 | canvas"."cite".....;;."code".;Us |
| 1120 | 65 20 4f 72 67 20 3d 63 6f 64 65 3d 20 6f 72 20 7e 63 6f 64 65 7e 20 69 6e 73 74 65 61 64 0a 20 | e.Org.=code=.or.~code~.instead.. |
| 1140 | 20 20 20 22 64 61 74 61 22 20 22 64 61 74 61 6c 69 73 74 22 20 22 64 65 6c 22 20 22 64 66 6e 22 | ..."data"."datalist"."del"."dfn" |
| 1160 | 0a 20 20 20 20 3b 3b 20 22 65 6d 22 20 3b 55 73 65 20 4f 72 67 20 2f 69 74 61 6c 69 63 73 2f 20 | .....;;."em".;Use.Org./italics/. |
| 1180 | 73 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 65 6d 62 65 64 22 0a 20 20 20 20 3b | syntax.instead....."embed".....; |
| 11a0 | 3b 20 22 69 22 20 3b 55 73 65 20 4f 72 67 20 2f 69 74 61 6c 69 63 73 2f 20 73 79 6e 74 61 78 20 | ;."i".;Use.Org./italics/.syntax. |
| 11c0 | 69 6e 73 74 65 61 64 0a 20 20 20 20 22 69 66 72 61 6d 65 22 0a 20 20 20 20 3b 3b 20 22 69 6d 67 | instead....."iframe".....;;."img |
| 11e0 | 22 20 3b 55 73 65 20 4f 72 67 20 69 6d 61 67 65 20 69 6e 73 65 72 74 69 6f 6e 20 73 79 6e 74 61 | ".;Use.Org.image.insertion.synta |
| 1200 | 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 69 6e 70 75 74 22 20 22 69 6e 73 22 0a 20 20 20 20 | x.instead....."input"."ins"..... |
| 1220 | 22 6b 62 64 22 0a 20 20 20 20 22 6c 61 62 65 6c 22 0a 20 20 20 20 22 6d 61 70 22 20 22 6d 61 72 | "kbd"....."label"....."map"."mar |
| 1240 | 6b 22 20 22 6d 65 74 65 72 22 0a 20 20 20 20 22 6e 6f 73 63 72 69 70 74 22 0a 20 20 20 20 22 6f | k"."meter"....."noscript"....."o |
| 1260 | 62 6a 65 63 74 22 20 22 6f 75 74 70 75 74 22 0a 20 20 20 20 22 70 69 63 74 75 72 65 22 20 22 70 | bject"."output"....."picture"."p |
| 1280 | 72 6f 67 72 65 73 73 22 0a 20 20 20 20 22 71 22 0a 20 20 20 20 22 72 75 62 79 22 0a 20 20 20 20 | rogress"....."q"....."ruby"..... |
| 12a0 | 22 73 22 20 22 73 61 6d 70 22 20 22 73 63 72 69 70 74 22 20 22 73 65 6c 65 63 74 22 20 22 73 6c | "s"."samp"."script"."select"."sl |
| 12c0 | 6f 74 22 20 22 73 6d 61 6c 6c 22 20 22 73 70 61 6e 22 0a 20 20 20 20 3b 3b 20 22 73 74 72 6f 6e | ot"."small"."span".....;;."stron |
| 12e0 | 67 22 20 3b 55 73 65 20 4f 72 67 20 2a 62 6f 6c 64 2a 20 73 79 6e 74 61 78 20 69 6e 73 74 65 61 | g".;Use.Org.*bold*.syntax.instea |
| 1300 | 64 0a 20 20 20 20 3b 3b 20 22 73 75 62 22 20 3b 55 73 65 20 4f 72 67 20 61 62 63 5f 7b 73 75 62 | d.....;;."sub".;Use.Org.abc_{sub |
| 1320 | 73 63 72 69 70 74 7d 20 73 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 3b 3b 20 22 73 | script}.syntax.instead.....;;."s |
| 1340 | 75 70 22 20 3b 55 73 65 20 4f 72 67 20 61 62 63 5e 7b 73 75 70 65 72 73 63 72 69 70 74 7d 20 73 | up".;Use.Org.abc^{superscript}.s |
| 1360 | 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 73 76 67 22 0a 20 20 20 20 22 74 65 6d | yntax.instead....."svg"....."tem |
| 1380 | 70 6c 61 74 65 22 20 22 74 65 78 74 61 72 65 61 22 20 22 74 69 6d 65 22 0a 20 20 20 20 22 75 22 | plate"."textarea"."time"....."u" |
| 13a0 | 0a 20 20 20 20 22 76 61 72 22 20 22 76 69 64 65 6f 22 29 0a 20 20 22 48 54 4d 4c 20 35 20 69 6e | ....."var"."video")..."HTML.5.in |
| 13c0 | 6c 69 6e 65 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 68 74 74 70 73 3a 2f 2f 64 65 76 65 6c 6f 70 65 | line.elements...https://develope |
| 13e0 | 72 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6e 2d 55 53 2f 64 6f 63 73 2f 57 65 62 2f 48 54 4d | r.mozilla.org/en-US/docs/Web/HTM |
| 1400 | 4c 2f 49 6e 6c 69 6e 65 5f 65 6c 65 6d 65 6e 74 73 23 6c 69 73 74 5f 6f 66 5f 69 6e 6c 69 6e 65 | L/Inline_elements#list_of_inline |
| 1420 | 5f 65 6c 65 6d 65 6e 74 73 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 | _elements.")..(defvar.org-blackf |
| 1440 | 72 69 64 61 79 2d 2d 68 72 75 6c 65 2d 69 6e 73 65 72 74 65 64 20 6e 69 6c 0a 20 20 22 53 74 61 | riday--hrule-inserted.nil..."Sta |
| 1460 | 74 65 20 76 61 72 69 61 62 6c 65 20 74 6f 20 74 72 61 63 6b 20 69 66 20 74 68 65 20 68 6f 72 69 | te.variable.to.track.if.the.hori |
| 1480 | 7a 6f 6e 74 61 6c 20 72 75 6c 65 20 77 61 73 20 69 6e 73 65 72 74 65 64 2e 0a 54 68 69 73 20 63 | zontal.rule.was.inserted..This.c |
| 14a0 | 68 65 63 6b 20 69 73 20 73 70 65 63 69 66 69 63 61 6c 6c 79 20 74 72 61 63 6b 20 69 66 20 74 68 | heck.is.specifically.track.if.th |
| 14c0 | 61 74 20 68 6f 72 69 7a 6f 6e 74 61 6c 20 72 75 6c 65 20 77 61 73 0a 69 6e 73 65 72 74 65 64 20 | at.horizontal.rule.was.inserted. |
| 14e0 | 61 66 74 65 72 20 74 68 65 20 66 69 72 73 74 20 72 6f 77 20 6f 66 20 74 68 65 20 74 61 62 6c 65 | after.the.first.row.of.the.table |
| 1500 | 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f | .")..(defvar.org-blackfriday--co |
| 1520 | 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 64 65 66 61 75 6c 74 20 33 | de-block-num-backticks-default.3 |
| 1540 | 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 73 74 6f 72 65 20 74 68 65 20 64 65 66 61 75 6c | ..."Variable.to.store.the.defaul |
| 1560 | 74 20 6e 75 6d 62 65 72 20 6f 66 20 62 61 63 6b 74 69 63 6b 73 20 66 6f 72 20 63 6f 64 65 20 62 | t.number.of.backticks.for.code.b |
| 1580 | 6c 6f 63 6b 2e 0a 0a 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 | lock...Note.that.this.variable.i |
| 15a0 | 73 20 2a 6f 6e 6c 79 2a 20 66 6f 72 20 69 6e 74 65 72 6e 61 6c 20 75 73 65 2e 22 29 0a 0a 28 64 | s.*only*.for.internal.use.")..(d |
| 15c0 | 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 | efvar.org-blackfriday--code-bloc |
| 15e0 | 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d | k-num-backticks.org-blackfriday- |
| 1600 | 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 64 65 66 61 75 6c | -code-block-num-backticks-defaul |
| 1620 | 74 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 73 74 6f 72 65 20 74 68 65 20 6e 75 6d 62 65 | t..."Variable.to.store.the.numbe |
| 1640 | 72 20 6f 66 20 62 61 63 6b 74 69 63 6b 73 20 66 6f 72 20 63 6f 64 65 20 62 6c 6f 63 6b 2e 0a 42 | r.of.backticks.for.code.block..B |
| 1660 | 79 20 64 65 66 61 75 6c 74 2c 20 69 74 20 73 74 61 79 73 20 61 74 20 33 2e 20 20 54 68 69 73 20 | y.default,.it.stays.at.3...This. |
| 1680 | 6e 75 6d 62 65 72 20 69 73 20 69 6e 63 72 65 6d 65 6e 74 65 64 20 66 6f 72 20 66 65 77 0a 63 6f | number.is.incremented.for.few.co |
| 16a0 | 72 6e 65 72 20 63 61 73 65 73 2e 0a 0a 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 20 76 61 72 69 | rner.cases...Note.that.this.vari |
| 16c0 | 61 62 6c 65 20 69 73 20 2a 6f 6e 6c 79 2a 20 66 6f 72 20 69 6e 74 65 72 6e 61 6c 20 75 73 65 2e | able.is.*only*.for.internal.use. |
| 16e0 | 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6f 72 67 | ")..(defvar.org-blackfriday--org |
| 1700 | 2d 65 6c 65 6d 65 6e 74 2d 73 74 72 69 6e 67 20 27 28 28 73 72 63 2d 62 6c 6f 63 6b 20 2e 20 22 | -element-string.'((src-block..." |
| 1720 | 43 6f 64 65 20 53 6e 69 70 70 65 74 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Code.Snippet").................. |
| 1740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 | .............................(ta |
| 1760 | 62 6c 65 20 2e 20 22 54 61 62 6c 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ble..."Table").................. |
| 1780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 | .............................(fi |
| 17a0 | 67 75 72 65 20 2e 20 22 46 69 67 75 72 65 22 29 29 20 3b 4e 6f 74 65 20 74 68 61 74 20 60 66 69 | gure..."Figure")).;Note.that.`fi |
| 17c0 | 67 75 72 65 27 20 69 73 20 6e 6f 74 20 61 6e 20 61 63 74 75 61 6c 20 4f 72 67 20 65 6c 65 6d 65 | gure'.is.not.an.actual.Org.eleme |
| 17e0 | 6e 74 0a 20 20 22 41 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 20 75 73 65 64 20 74 6f 20 72 | nt..."Alist.of.strings.used.to.r |
| 1800 | 65 70 72 65 73 65 6e 74 20 76 61 72 69 6f 75 73 20 4f 72 67 20 65 6c 65 6d 65 6e 74 73 2e 22 29 | epresent.various.Org.elements.") |
| 1820 | 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6c 74 78 69 6d | ..(defvar.org-blackfriday--ltxim |
| 1840 | 67 2d 64 69 72 65 63 74 6f 72 79 20 22 6c 74 78 69 6d 67 2f 22 0a 20 20 22 53 75 62 20 64 69 72 | g-directory."ltximg/"..."Sub.dir |
| 1860 | 65 63 74 6f 72 79 20 63 72 65 61 74 65 64 20 69 6e 73 69 64 65 20 74 68 65 20 73 69 74 65 27 73 | ectory.created.inside.the.site's |
| 1880 | 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 4c 61 54 65 58 20 69 6d 61 67 | .static.directory.for.LaTeX.imag |
| 18a0 | 65 73 2e 0a 0a 54 68 69 73 20 73 75 62 20 64 69 72 65 63 74 6f 72 79 20 69 73 20 63 72 65 61 74 | es...This.sub.directory.is.creat |
| 18c0 | 65 64 20 77 68 65 6e 20 61 6e 20 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e 20 6c 69 6b 65 0a 60 74 | ed.when.an.export.option.like.`t |
| 18e0 | 65 78 3a 64 76 69 73 76 67 6d 27 20 69 73 20 75 73 65 64 2e 22 29 0a 0a 0c 0a 3b 3b 3b 20 55 73 | ex:dvisvgm'.is.used.")....;;;.Us |
| 1900 | 65 72 2d 43 6f 6e 66 69 67 75 72 61 62 6c 65 20 56 61 72 69 61 62 6c 65 73 0a 0a 28 64 65 66 67 | er-Configurable.Variables..(defg |
| 1920 | 72 6f 75 70 20 6f 72 67 2d 65 78 70 6f 72 74 2d 62 6c 61 63 6b 66 72 69 64 61 79 20 6e 69 6c 0a | roup.org-export-blackfriday.nil. |
| 1940 | 20 20 22 4f 70 74 69 6f 6e 73 20 66 6f 72 20 65 78 70 6f 72 74 69 6e 67 20 4f 72 67 20 6d 6f 64 | .."Options.for.exporting.Org.mod |
| 1960 | 65 20 66 69 6c 65 73 20 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 2e | e.files.to.Blackfriday.Markdown. |
| 1980 | 22 0a 20 20 3a 74 61 67 20 22 4f 72 67 20 45 78 70 6f 72 74 20 42 6c 61 63 6b 66 72 69 64 61 79 | "...:tag."Org.Export.Blackfriday |
| 19a0 | 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 29 0a 0a 28 64 65 66 63 75 73 | "...:group.'org-export)..(defcus |
| 19c0 | 74 6f 6d 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 79 6e 74 61 78 2d 68 69 67 68 6c | tom.org-blackfriday-syntax-highl |
| 19e0 | 69 67 68 74 69 6e 67 2d 6c 61 6e 67 73 0a 20 20 27 28 28 22 69 70 79 74 68 6f 6e 22 20 2e 20 22 | ighting-langs...'(("ipython"..." |
| 1a00 | 70 79 74 68 6f 6e 22 29 0a 20 20 20 20 28 22 6a 75 70 79 74 65 72 2d 70 79 74 68 6f 6e 22 20 2e | python").....("jupyter-python".. |
| 1a20 | 20 22 70 79 74 68 6f 6e 22 29 0a 20 20 20 20 28 22 63 6f 6e 66 2d 74 6f 6d 6c 22 20 2e 20 22 74 | ."python").....("conf-toml"..."t |
| 1a40 | 6f 6d 6c 22 29 0a 20 20 20 20 28 22 63 6f 6e 66 2d 73 70 61 63 65 22 20 2e 20 22 63 66 67 22 29 | oml").....("conf-space"..."cfg") |
| 1a60 | 0a 20 20 20 20 28 22 63 6f 6e 66 22 20 2e 20 22 63 66 67 22 29 29 0a 20 20 22 41 6c 69 73 74 20 | .....("conf"..."cfg"))..."Alist. |
| 1a80 | 6d 61 70 70 69 6e 67 20 73 72 63 20 62 6c 6f 63 6b 20 6c 61 6e 67 75 61 67 65 73 20 74 6f 20 74 | mapping.src.block.languages.to.t |
| 1aa0 | 68 65 69 72 20 73 79 6e 74 61 78 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 6c 61 6e 67 75 61 67 | heir.syntax.highlighting.languag |
| 1ac0 | 65 73 2e 0a 0a 54 68 65 20 6b 65 79 20 69 73 20 74 68 65 20 73 72 63 20 62 6c 6f 63 6b 20 6c 61 | es...The.key.is.the.src.block.la |
| 1ae0 | 6e 67 75 61 67 65 20 6e 61 6d 65 2e 20 20 54 68 65 20 76 61 6c 75 65 20 69 73 20 74 68 65 0a 6c | nguage.name...The.value.is.the.l |
| 1b00 | 61 6e 67 75 61 67 65 20 6e 61 6d 65 20 74 6f 20 62 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 65 | anguage.name.to.be.used.in.the.e |
| 1b20 | 78 70 6f 72 74 65 64 20 4d 61 72 6b 64 6f 77 6e 2e 20 20 54 68 65 20 76 61 6c 75 65 0a 6c 61 6e | xported.Markdown...The.value.lan |
| 1b40 | 67 75 61 67 65 20 6e 61 6d 65 20 77 6f 75 6c 64 20 62 65 20 6f 6e 65 20 74 68 61 74 20 48 75 67 | guage.name.would.be.one.that.Hug |
| 1b60 | 6f 27 73 20 43 68 72 6f 6d 61 20 73 79 6e 74 61 78 20 68 69 67 68 6c 69 67 68 74 65 72 0a 77 6f | o's.Chroma.syntax.highlighter.wo |
| 1b80 | 75 6c 64 20 75 6e 64 65 72 73 74 61 6e 64 2e 0a 0a 46 6f 72 20 6d 6f 73 74 20 73 72 63 20 6c 61 | uld.understand...For.most.src.la |
| 1ba0 | 6e 67 75 61 67 65 73 2c 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 77 69 6c 6c 20 6e 6f 74 20 | nguages,.this.variable.will.not. |
| 1bc0 | 6e 65 65 64 20 74 6f 20 62 65 0a 63 75 73 74 6f 6d 69 7a 65 64 2e 20 20 42 75 74 20 74 68 65 72 | need.to.be.customized...But.ther |
| 1be0 | 65 20 61 72 65 20 73 6f 6d 65 20 73 72 63 20 62 6c 6f 63 6b 20 5c 22 6c 61 6e 67 75 61 67 65 73 | e.are.some.src.block.\"languages |
| 1c00 | 5c 22 20 6c 69 6b 65 0a 60 69 70 79 74 68 6f 6e 27 20 61 6e 64 20 60 6a 75 70 79 74 65 72 2d 70 | \".like.`ipython'.and.`jupyter-p |
| 1c20 | 79 74 68 6f 6e 27 20 66 6f 72 20 77 68 69 63 68 2c 20 74 68 65 20 65 78 70 6f 72 74 65 64 20 6c | ython'.for.which,.the.exported.l |
| 1c40 | 61 6e 67 75 61 67 65 0a 74 61 67 20 6e 65 65 64 73 20 74 6f 20 62 65 20 60 70 79 74 68 6f 6e 27 | anguage.tag.needs.to.be.`python' |
| 1c60 | 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 62 6c 61 63 6b 66 72 69 | ."...:group.'org-export-blackfri |
| 1c80 | 64 61 79 0a 20 20 3a 74 79 70 65 20 27 28 72 65 70 65 61 74 0a 20 20 20 20 20 20 20 20 20 20 28 | day...:type.'(repeat...........( |
| 1ca0 | 63 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 20 22 53 72 63 20 42 6c 6f | cons............(string."Src.Blo |
| 1cc0 | 63 6b 20 6c 61 6e 67 75 61 67 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 | ck.language")............(string |
| 1ce0 | 20 22 53 79 6e 74 61 78 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 6c 61 6e 67 75 61 67 65 22 29 | ."Syntax.highlighting.language") |
| 1d00 | 29 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 44 65 66 69 6e 65 20 42 61 63 6b 2d 45 6e 64 0a 0a 28 6f 72 | ))).....;;;.Define.Back-End..(or |
| 1d20 | 67 2d 65 78 70 6f 72 74 2d 64 65 66 69 6e 65 2d 64 65 72 69 76 65 64 2d 62 61 63 6b 65 6e 64 20 | g-export-define-derived-backend. |
| 1d40 | 27 62 6c 61 63 6b 66 72 69 64 61 79 20 27 6d 64 0a 20 20 3a 66 69 6c 74 65 72 73 2d 61 6c 69 73 | 'blackfriday.'md...:filters-alis |
| 1d60 | 74 20 27 28 28 3a 66 69 6c 74 65 72 2d 70 61 72 73 65 2d 74 72 65 65 20 2e 20 6f 72 67 2d 62 6c | t.'((:filter-parse-tree...org-bl |
| 1d80 | 61 63 6b 66 72 69 64 61 79 2d 73 65 70 61 72 61 74 65 2d 65 6c 65 6d 65 6e 74 73 29 29 0a 20 20 | ackfriday-separate-elements))... |
| 1da0 | 3b 3b 20 44 6f 20 6e 6f 74 20 63 6c 75 74 74 65 72 20 74 68 65 20 2a 4f 72 67 20 45 78 70 6f 72 | ;;.Do.not.clutter.the.*Org.Expor |
| 1dc0 | 74 65 72 20 44 69 73 70 61 74 63 68 2a 20 6d 65 6e 75 2e 0a 20 20 3b 3b 20 3a 6d 65 6e 75 2d 65 | ter.Dispatch*.menu....;;.:menu-e |
| 1de0 | 6e 74 72 79 0a 20 20 3b 3b 20 27 28 3f 62 20 22 45 78 70 6f 72 74 20 74 6f 20 42 6c 61 63 6b 66 | ntry...;;.'(?b."Export.to.Blackf |
| 1e00 | 72 69 64 61 79 20 46 6c 61 76 6f 72 65 64 20 4d 61 72 6b 64 6f 77 6e 22 0a 20 20 3b 3b 20 20 20 | riday.Flavored.Markdown"...;;... |
| 1e20 | 20 20 20 28 28 3f 42 20 22 54 6f 20 74 65 6d 70 6f 72 61 72 79 20 62 75 66 66 65 72 22 0a 20 20 | ...((?B."To.temporary.buffer"... |
| 1e40 | 3b 3b 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 73 20 76 20 62 29 20 28 | ;;...........(lambda.(a.s.v.b).( |
| 1e60 | 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 61 72 6b 64 6f | org-blackfriday-export-as-markdo |
| 1e80 | 77 6e 20 61 20 73 20 76 29 29 29 0a 20 20 3b 3b 20 20 20 20 20 20 20 28 3f 62 20 22 54 6f 20 66 | wn.a.s.v)))...;;.......(?b."To.f |
| 1ea0 | 69 6c 65 22 20 28 6c 61 6d 62 64 61 20 28 61 20 73 20 76 20 62 29 20 28 6f 72 67 2d 62 6c 61 63 | ile".(lambda.(a.s.v.b).(org-blac |
| 1ec0 | 6b 66 72 69 64 61 79 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 61 72 6b 64 6f 77 6e 20 61 20 73 20 76 | kfriday-export-to-markdown.a.s.v |
| 1ee0 | 29 29 29 0a 20 20 3b 3b 20 20 20 20 20 20 20 28 3f 6f 20 22 54 6f 20 66 69 6c 65 20 61 6e 64 20 | )))...;;.......(?o."To.file.and. |
| 1f00 | 6f 70 65 6e 22 0a 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 | open"...;;...........(lambda.(a. |
| 1f20 | 73 20 76 20 62 29 0a 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 61 20 28 6f | s.v.b)...;;.............(if.a.(o |
| 1f40 | 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 61 72 6b 64 6f 77 | rg-blackfriday-export-to-markdow |
| 1f60 | 6e 20 74 20 73 20 76 29 0a 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | n.t.s.v)...;;...............(org |
| 1f80 | 2d 6f 70 65 6e 2d 66 69 6c 65 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 70 6f | -open-file.(org-blackfriday-expo |
| 1fa0 | 72 74 2d 74 6f 2d 6d 61 72 6b 64 6f 77 6e 20 6e 69 6c 20 73 20 76 29 29 29 29 29 29 29 0a 20 20 | rt-to-markdown.nil.s.v)))))))... |
| 1fc0 | 3a 74 72 61 6e 73 6c 61 74 65 2d 61 6c 69 73 74 20 27 28 28 63 65 6e 74 65 72 2d 62 6c 6f 63 6b | :translate-alist.'((center-block |
| 1fe0 | 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 63 65 6e 74 65 72 2d 62 6c 6f 63 6b 29 | ...org-blackfriday-center-block) |
| 2000 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 78 61 6d 70 6c 65 2d 62 | ......................(example-b |
| 2020 | 6c 6f 63 6b 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 61 6d 70 6c 65 2d 62 | lock...org-blackfriday-example-b |
| 2040 | 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 78 65 | lock)......................(fixe |
| 2060 | 64 2d 77 69 64 74 68 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 69 78 65 64 2d | d-width...org-blackfriday-fixed- |
| 2080 | 77 69 64 74 68 29 20 3b 4f 72 67 20 42 61 62 65 6c 20 52 65 73 75 6c 74 73 0a 20 20 20 20 20 20 | width).;Org.Babel.Results....... |
| 20a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e | ...............(footnote-referen |
| 20c0 | 63 65 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 6f 6f 74 6e 6f 74 65 2d 72 65 | ce...org-blackfriday-footnote-re |
| 20e0 | 66 65 72 65 6e 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 | ference)......................(i |
| 2100 | 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d | nner-template...org-blackfriday- |
| 2120 | 69 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | inner-template)................. |
| 2140 | 20 20 20 20 20 28 69 74 61 6c 69 63 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 | .....(italic...org-blackfriday-i |
| 2160 | 74 61 6c 69 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 74 65 | talic)......................(ite |
| 2180 | 6d 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 74 65 6d 29 0a 20 20 20 20 20 20 | m...org-blackfriday-item)....... |
| 21a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e | ...............(latex-environmen |
| 21c0 | 74 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 6c 61 74 65 78 2d 65 6e 76 69 72 6f | t...org-blackfriday-latex-enviro |
| 21e0 | 6e 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 74 | nment)......................(lat |
| 2200 | 65 78 2d 66 72 61 67 6d 65 6e 74 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 6c 61 | ex-fragment...org-blackfriday-la |
| 2220 | 74 65 78 2d 66 72 61 67 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tex-fragment)................... |
| 2240 | 20 20 20 28 6c 69 6e 65 2d 62 72 65 61 6b 20 2e 20 6f 72 67 2d 68 74 6d 6c 2d 6c 69 6e 65 2d 62 | ...(line-break...org-html-line-b |
| 2260 | 72 65 61 6b 29 20 3b 22 5c 5c 22 20 61 74 20 45 4f 4c 20 66 6f 72 63 65 73 20 61 20 6c 69 6e 65 | reak).;"\\".at.EOL.forces.a.line |
| 2280 | 20 62 72 65 61 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 61 | .break......................(pla |
| 22a0 | 69 6e 2d 6c 69 73 74 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 6c 61 69 6e 2d | in-list...org-blackfriday-plain- |
| 22c0 | 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 61 69 | list)......................(plai |
| 22e0 | 6e 2d 74 65 78 74 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 6c 61 69 6e 2d 74 | n-text...org-blackfriday-plain-t |
| 2300 | 65 78 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 71 75 6f 74 65 | ext)......................(quote |
| 2320 | 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 71 75 6f 74 65 2d 62 | -block...org-blackfriday-quote-b |
| 2340 | 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 61 64 69 | lock)......................(radi |
| 2360 | 6f 2d 74 61 72 67 65 74 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 72 61 64 69 6f | o-target...org-blackfriday-radio |
| 2380 | 2d 74 61 72 67 65 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 | -target)......................(s |
| 23a0 | 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 | pecial-block...org-blackfriday-s |
| 23c0 | 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pecial-block)................... |
| 23e0 | 20 20 20 28 73 72 63 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d | ...(src-block...org-blackfriday- |
| 2400 | 73 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | src-block)...................... |
| 2420 | 28 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 | (strike-through...org-blackfrida |
| 2440 | 79 2d 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y-strike-through)............... |
| 2460 | 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 63 65 6c 6c 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 | .......(table-cell...org-blackfr |
| 2480 | 69 64 61 79 2d 74 61 62 6c 65 2d 63 65 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | iday-table-cell)................ |
| 24a0 | 20 20 20 20 20 20 28 74 61 62 6c 65 2d 72 6f 77 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 | ......(table-row...org-blackfrid |
| 24c0 | 61 79 2d 74 61 62 6c 65 2d 72 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ay-table-row)................... |
| 24e0 | 20 20 20 28 74 61 62 6c 65 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c | ...(table...org-blackfriday-tabl |
| 2500 | 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 72 67 65 74 20 | e)......................(target. |
| 2520 | 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 72 67 65 74 29 0a 20 20 20 20 20 20 | ..org-blackfriday-target)....... |
| 2540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 65 72 73 65 2d 62 6c 6f 63 6b 20 2e 20 6f 72 | ...............(verse-block...or |
| 2560 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 76 65 72 73 65 2d 62 6c 6f 63 6b 29 29 29 0a 0a 0c 0a | g-blackfriday-verse-block))).... |
| 2580 | 3b 3b 3b 20 4d 69 73 63 65 6c 6c 61 6e 65 6f 75 73 20 48 65 6c 70 65 72 20 46 75 6e 63 74 69 6f | ;;;.Miscellaneous.Helper.Functio |
| 25a0 | 6e 73 0a 0a 3b 3b 3b 3b 20 43 68 65 63 6b 20 69 66 20 61 20 62 6f 6f 6c 65 61 6e 20 70 6c 69 73 | ns..;;;;.Check.if.a.boolean.plis |
| 25c0 | 74 20 76 61 6c 75 65 20 69 73 20 6e 6f 6e 2d 6e 69 6c 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c | t.value.is.non-nil.(defun.org-bl |
| 25e0 | 61 63 6b 66 72 69 64 61 79 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 28 69 6e 66 | ackfriday--plist-get-true-p.(inf |
| 2600 | 6f 20 6b 65 79 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 4b 45 59 20 | o.key)..."Return.non-nil.if.KEY. |
| 2620 | 69 6e 20 49 4e 46 4f 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 | in.INFO.is.non-nil..Return.nil.i |
| 2640 | 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 4b 45 59 20 69 6e 20 49 4e 46 4f 20 69 73 20 6e 69 | f.the.value.of.KEY.in.INFO.is.ni |
| 2660 | 6c 2c 20 5c 22 6e 69 6c 5c 22 20 6f 72 20 5c 22 5c 22 2e 0a 0a 54 68 69 73 20 69 73 20 61 20 73 | l,.\"nil\".or.\"\"...This.is.a.s |
| 2680 | 70 65 63 69 61 6c 20 76 65 72 73 69 6f 6e 20 6f 66 20 60 70 6c 69 73 74 2d 67 65 74 27 20 75 73 | pecial.version.of.`plist-get'.us |
| 26a0 | 65 64 20 6f 6e 6c 79 20 66 6f 72 20 6b 65 79 73 20 74 68 61 74 0a 61 72 65 20 65 78 70 65 63 74 | ed.only.for.keys.that.are.expect |
| 26c0 | 65 64 20 74 6f 20 68 6f 6c 64 20 61 20 62 6f 6f 6c 65 61 6e 20 76 61 6c 75 65 2e 0a 0a 49 4e 46 | ed.to.hold.a.boolean.value...INF |
| 26e0 | 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 | O.is.a.plist.used.as.a.communica |
| 2700 | 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 20 28 28 76 61 6c 75 65 20 28 70 | tion.channel."...(let.((value.(p |
| 2720 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 6b 65 79 29 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 | list-get.info.key))).....(cond.. |
| 2740 | 20 20 20 20 28 28 6f 72 20 28 65 71 75 61 6c 20 74 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 | ....((or.(equal.t.value)........ |
| 2760 | 20 20 20 28 65 71 75 61 6c 20 6e 69 6c 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 76 61 6c 75 | ...(equal.nil.value)).......valu |
| 2780 | 65 29 0a 20 20 20 20 20 28 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 76 61 6c 75 65 29 0a 20 20 | e)......((and.(stringp.value)... |
| 27a0 | 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 76 61 6c 75 65 20 22 6e 69 6c 22 29 29 0a | .........(string=.value."nil")). |
| 27c0 | 20 20 20 20 20 20 6e 69 6c 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 3b 3b 20 22 22 20 2d | ......nil)......(t.......;;."".- |
| 27e0 | 3e 20 6e 69 6c 0a 20 20 20 20 20 20 3b 3b 20 22 74 22 20 2d 3e 20 22 74 22 0a 20 20 20 20 20 20 | >.nil.......;;."t".->."t"....... |
| 2800 | 3b 3b 20 22 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 22 20 2d 3e 20 22 61 6e 79 74 68 69 6e 67 20 | ;;."anything.else".->."anything. |
| 2820 | 65 6c 73 65 22 0a 20 20 20 20 20 20 3b 3b 20 31 32 33 20 2d 3e 20 6e 69 6c 0a 20 20 20 20 20 20 | else".......;;.123.->.nil....... |
| 2840 | 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 76 61 6c 75 65 29 29 29 29 29 0a 0a 3b 3b 3b | (org-string-nw-p.value)))))..;;; |
| 2860 | 3b 20 54 61 62 6c 65 20 6f 66 20 63 6f 6e 74 65 6e 74 73 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 | ;.Table.of.contents.(defun.org-b |
| 2880 | 6c 61 63 6b 66 72 69 64 61 79 2d 66 6f 72 6d 61 74 2d 74 6f 63 20 28 68 65 61 64 69 6e 67 20 69 | lackfriday-format-toc.(heading.i |
| 28a0 | 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 61 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 61 | nfo)..."Return.an.appropriate.ta |
| 28c0 | 62 6c 65 20 6f 66 20 63 6f 6e 74 65 6e 74 73 20 65 6e 74 72 79 20 66 6f 72 20 48 45 41 44 49 4e | ble.of.contents.entry.for.HEADIN |
| 28e0 | 47 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f | G...INFO.is.a.plist.used.as.a.co |
| 2900 | 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 | mmunication.channel."...(let*.(( |
| 2920 | 74 69 74 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 6f 72 67 2d 65 78 70 6f | title.(org-export-data.(org-expo |
| 2940 | 72 74 2d 67 65 74 2d 61 6c 74 2d 74 69 74 6c 65 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 20 69 | rt-get-alt-title.heading.info).i |
| 2960 | 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 65 76 65 6c 20 28 31 2d 20 28 6f 72 67 2d 65 | nfo))..........(level.(1-.(org-e |
| 2980 | 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6c 65 76 65 6c 20 68 65 61 64 69 6e 67 29 29 | lement-property.:level.heading)) |
| 29a0 | 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 64 65 6e 74 20 28 63 6f 6e 63 61 74 20 28 6d 61 6b 65 | )..........(indent.(concat.(make |
| 29c0 | 2d 73 74 72 69 6e 67 20 28 2a 20 6c 65 76 65 6c 20 32 29 20 3f 20 29 29 29 0a 20 20 20 20 20 20 | -string.(*.level.2).?.)))....... |
| 29e0 | 20 20 20 28 61 6e 63 68 6f 72 20 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 | ...(anchor.(or.(org-element-prop |
| 2a00 | 65 72 74 79 20 3a 43 55 53 54 4f 4d 5f 49 44 20 68 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 | erty.:CUSTOM_ID.heading)........ |
| 2a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 | ..............(org-export-get-re |
| 2a40 | 66 65 72 65 6e 63 65 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 28 63 6f | ference.heading.info)))).....(co |
| 2a60 | 6e 63 61 74 20 69 6e 64 65 6e 74 20 22 2d 20 5b 22 20 74 69 74 6c 65 20 22 5d 22 20 22 28 23 22 | ncat.indent."-.[".title."]"."(#" |
| 2a80 | 20 61 6e 63 68 6f 72 20 22 29 22 29 29 29 0a 0a 3b 3b 3b 3b 20 45 78 74 72 61 20 64 69 76 20 68 | .anchor.")")))..;;;;.Extra.div.h |
| 2aa0 | 61 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 65 78 74 72 | ack.(defun.org-blackfriday--extr |
| 2ac0 | 61 2d 64 69 76 2d 68 61 63 6b 20 28 69 6e 66 6f 20 26 6f 70 74 69 6f 6e 61 6c 20 74 61 67 29 0a | a-div-hack.(info.&optional.tag). |
| 2ae0 | 20 20 22 52 65 74 75 72 6e 20 73 74 72 69 6e 67 20 66 6f 72 20 74 68 65 20 5c 22 65 78 74 72 61 | .."Return.string.for.the.\"extra |
| 2b00 | 20 64 69 76 20 68 61 63 6b 5c 22 2e 0a 0a 54 68 65 20 65 6d 70 74 79 20 48 54 4d 4c 20 65 6c 65 | .div.hack\"...The.empty.HTML.ele |
| 2b20 | 6d 65 6e 74 20 74 61 67 73 20 6c 69 6b 65 20 5c 22 3c 64 69 76 3e 3c 2f 64 69 76 3e 5c 22 20 69 | ment.tags.like.\"<div></div>\".i |
| 2b40 | 73 20 61 20 68 61 63 6b 20 74 6f 20 67 65 74 0a 61 72 6f 75 6e 64 20 61 20 42 6c 61 63 6b 66 72 | s.a.hack.to.get.around.a.Blackfr |
| 2b60 | 69 64 61 79 20 6c 69 6d 69 74 61 74 69 6f 6e 2e 0a 0a 53 65 65 20 68 74 74 70 73 3a 2f 2f 67 69 | iday.limitation...See.https://gi |
| 2b80 | 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 69 73 73 | thub.com/kaushalmodi/ox-hugo/iss |
| 2ba0 | 75 65 73 2f 39 33 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 | ues/93...INFO.is.a.plist.used.as |
| 2bc0 | 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 49 66 20 54 41 | .a.communication.channel...If.TA |
| 2be0 | 47 20 69 73 20 6e 6f 74 20 73 70 65 63 69 66 69 65 64 2c 20 69 74 20 64 65 66 61 75 6c 74 73 20 | G.is.not.specified,.it.defaults. |
| 2c00 | 74 6f 20 5c 22 64 69 76 5c 22 2e 22 0a 20 20 28 6c 65 74 20 28 28 74 61 67 20 28 6f 72 20 74 61 | to.\"div\"."...(let.((tag.(or.ta |
| 2c20 | 67 20 22 64 69 76 22 29 29 29 0a 20 20 20 20 28 69 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 | g."div"))).....(if.(org-blackfri |
| 2c40 | 64 61 79 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f | day--plist-get-true-p.info.:hugo |
| 2c60 | 2d 67 6f 6c 64 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 22 22 0a 20 20 20 20 20 20 28 66 6f 72 | -goldmark)........."".......(for |
| 2c80 | 6d 61 74 20 22 5c 6e 20 20 3c 25 73 3e 3c 2f 25 73 3e 22 20 74 61 67 20 74 61 67 29 29 29 29 0a | mat."\n..<%s></%s>".tag.tag)))). |
| 2ca0 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 | .(defun.org-blackfriday--get-ref |
| 2cc0 | 2d 70 72 65 66 69 78 20 28 73 79 6d 62 6f 6c 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 70 | -prefix.(symbol)..."Return.the.p |
| 2ce0 | 72 65 66 69 78 20 73 74 72 69 6e 67 20 66 6f 72 20 53 59 4d 42 4f 4c 20 77 68 69 63 68 20 63 61 | refix.string.for.SYMBOL.which.ca |
| 2d00 | 6e 20 62 65 20 61 6e 20 4f 72 67 20 65 6c 65 6d 65 6e 74 20 74 79 70 65 2e 0a 0a 52 65 74 75 72 | n.be.an.Org.element.type...Retur |
| 2d20 | 6e 73 20 6e 69 6c 20 69 66 20 74 68 65 20 53 59 4d 42 4f 4c 27 73 20 70 72 65 66 69 78 20 73 74 | ns.nil.if.the.SYMBOL's.prefix.st |
| 2d40 | 72 69 6e 67 20 69 73 6e 27 74 20 64 65 66 69 6e 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 | ring.isn't.defined."...(let.((pr |
| 2d60 | 65 66 69 78 2d 61 6c 69 73 74 20 27 28 28 66 69 67 75 72 65 20 2e 20 22 66 69 67 75 72 65 2d 2d | efix-alist.'((figure..."figure-- |
| 2d80 | 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 61 64 69 | ").........................(radi |
| 2da0 | 6f 20 2e 20 22 6f 72 67 2d 72 61 64 69 6f 2d 2d 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | o..."org-radio--").............. |
| 2dc0 | 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 62 6c 6f 63 6b 20 2e 20 22 63 6f 64 65 2d 73 6e | ...........(src-block..."code-sn |
| 2de0 | 69 70 70 65 74 2d 2d 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ippet--")....................... |
| 2e00 | 20 20 28 74 61 62 6c 65 20 2e 20 22 74 61 62 6c 65 2d 2d 22 29 0a 20 20 20 20 20 20 20 20 20 20 | ..(table..."table--")........... |
| 2e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 72 67 65 74 20 2e 20 22 6f 72 67 2d 74 61 72 | ..............(target..."org-tar |
| 2e40 | 67 65 74 2d 2d 22 29 29 29 29 0a 20 20 20 20 28 63 64 72 20 28 61 73 73 6f 63 20 73 79 6d 62 6f | get--")))).....(cdr.(assoc.symbo |
| 2e60 | 6c 20 70 72 65 66 69 78 2d 61 6c 69 73 74 29 29 29 29 0a 0a 3b 3b 3b 3b 20 46 6f 6f 74 6e 6f 74 | l.prefix-alist))))..;;;;.Footnot |
| 2e80 | 65 20 73 65 63 74 69 6f 6e 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 | e.section.(defun.org-blackfriday |
| 2ea0 | 2d 66 6f 6f 74 6e 6f 74 65 2d 73 65 63 74 69 6f 6e 20 28 69 6e 66 6f 20 26 6f 70 74 69 6f 6e 61 | -footnote-section.(info.&optiona |
| 2ec0 | 6c 20 69 73 2d 63 6a 6b 29 0a 20 20 22 46 6f 72 6d 61 74 20 74 68 65 20 66 6f 6f 74 6e 6f 74 65 | l.is-cjk)..."Format.the.footnote |
| 2ee0 | 20 73 65 63 74 69 6f 6e 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 | .section...INFO.is.a.plist.used. |
| 2f00 | 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 49 53 2d | as.a.communication.channel...IS- |
| 2f20 | 43 4a 4b 20 73 68 6f 75 6c 64 20 62 65 20 73 65 74 20 74 6f 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 | CJK.should.be.set.to.non-nil.if. |
| 2f40 | 74 68 65 20 6c 61 6e 67 75 61 67 65 20 69 73 20 43 68 69 6e 65 73 65 2c 0a 4a 61 70 61 6e 65 73 | the.language.is.Chinese,.Japanes |
| 2f60 | 65 20 6f 72 20 4b 6f 72 65 61 6e 2e 22 0a 20 20 28 6c 65 74 20 28 28 66 6e 2d 61 6c 69 73 74 20 | e.or.Korean."...(let.((fn-alist. |
| 2f80 | 28 6f 72 67 2d 65 78 70 6f 72 74 2d 63 6f 6c 6c 65 63 74 2d 66 6f 6f 74 6e 6f 74 65 2d 64 65 66 | (org-export-collect-footnote-def |
| 2fa0 | 69 6e 69 74 69 6f 6e 73 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 46 72 69 20 4a | initions.info)).........;;.Fri.J |
| 2fc0 | 75 6c 20 32 31 20 31 34 3a 33 33 3a 32 35 20 45 44 54 20 32 30 31 37 20 2d 20 6b 6d 6f 64 69 0a | ul.21.14:33:25.EDT.2017.-.kmodi. |
| 2fe0 | 20 20 20 20 20 20 20 20 3b 3b 20 54 4f 44 4f 3a 20 4e 65 65 64 20 74 6f 20 6c 65 61 72 6e 20 75 | ........;;.TODO:.Need.to.learn.u |
| 3000 | 73 69 6e 67 20 63 6c 2d 6c 6f 6f 70 0a 20 20 20 20 20 20 20 20 3b 3b 20 42 65 6c 6f 77 20 66 6f | sing.cl-loop.........;;.Below.fo |
| 3020 | 72 6d 20 66 72 6f 6d 20 6f 78 2d 6d 64 20 64 69 64 20 6e 6f 74 20 77 6f 72 6b 2e 0a 20 20 20 20 | rm.from.ox-md.did.not.work...... |
| 3040 | 20 20 20 20 3b 3b 20 28 66 6e 2d 61 6c 69 73 74 2d 73 74 72 69 70 70 65 64 0a 20 20 20 20 20 20 | ....;;.(fn-alist-stripped....... |
| 3060 | 20 20 3b 3b 20 20 28 63 6c 2d 6c 6f 6f 70 20 66 6f 72 20 28 6e 20 72 61 77 29 20 69 6e 20 66 6e | ..;;..(cl-loop.for.(n.raw).in.fn |
| 3080 | 2d 61 6c 69 73 74 20 63 6f 6c 6c 65 63 74 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 | -alist.collect.........;;....... |
| 30a0 | 20 20 20 20 28 63 6f 6e 73 20 6e 20 28 6f 72 67 2d 74 72 69 6d 20 28 6f 72 67 2d 65 78 70 6f 72 | ....(cons.n.(org-trim.(org-expor |
| 30c0 | 74 2d 64 61 74 61 20 72 61 77 20 69 6e 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 66 6e 2d | t-data.raw.info))))).........fn- |
| 30e0 | 61 6c 69 73 74 2d 73 74 72 69 70 70 65 64 29 0a 20 20 20 20 28 6c 65 74 20 28 28 6e 20 31 29 0a | alist-stripped).....(let.((n.1). |
| 3100 | 20 20 20 20 20 20 20 20 20 20 64 65 66 29 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 66 6e | ..........def).......(dolist.(fn |
| 3120 | 20 66 6e 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | .fn-alist).........;;.(message." |
| 3140 | 66 6e 3a 20 25 53 22 20 66 6e 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | fn:.%S".fn).........;;.(message. |
| 3160 | 22 66 6e 3a 20 25 73 22 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 66 6e 20 69 6e 66 | "fn:.%s".(org-export-data.fn.inf |
| 3180 | 6f 29 29 20 3b 54 68 69 73 20 67 69 76 65 73 20 65 72 72 6f 72 0a 20 20 20 20 20 20 20 20 3b 3b | o)).;This.gives.error.........;; |
| 31a0 | 20 28 6d 65 73 73 61 67 65 20 22 66 6e 20 6e 74 68 20 32 20 63 61 72 3a 20 25 73 22 20 28 6f 72 | .(message."fn.nth.2.car:.%s".(or |
| 31c0 | 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 6e 74 68 20 32 20 66 6e 29 20 69 6e 66 6f 29 29 0a | g-export-data.(nth.2.fn).info)). |
| 31e0 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 66 20 28 6f 72 67 2d 74 72 69 6d 20 28 6f 72 67 | ........(setq.def.(org-trim.(org |
| 3200 | 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 6e 74 68 20 32 20 66 6e 29 20 69 6e 66 6f 29 29 29 0a | -export-data.(nth.2.fn).info))). |
| 3220 | 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 70 6c | ........(if.(org-blackfriday--pl |
| 3240 | 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 | ist-get-true-p.info.:hugo-goldma |
| 3260 | 72 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 20 20 20 20 20 20 20 20 20 20 | rk).............(progn.......... |
| 3280 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 47 6f 6c 64 6d 61 72 6b 0a 20 20 20 20 20 20 20 20 20 20 | ............;Goldmark........... |
| 32a0 | 20 20 20 20 3b 3b 20 47 6f 6c 64 6d 61 72 6b 27 73 20 22 50 48 50 20 4d 61 72 6b 64 6f 77 6e 20 | ....;;.Goldmark's."PHP.Markdown. |
| 32c0 | 45 78 74 72 61 3a 20 46 6f 6f 74 6e 6f 74 65 73 22 20 65 78 74 65 6e 73 69 6f 6e 0a 20 20 20 20 | Extra:.Footnotes".extension..... |
| 32e0 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 70 70 6f 72 74 73 20 6d 75 6c 74 69 2d 6c 69 6e 65 | ..........;;.supports.multi-line |
| 3300 | 20 66 6f 6f 74 6e 6f 74 65 73 20 2d 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 | .footnotes.--...............;;.h |
| 3320 | 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 79 75 69 6e 2f 67 6f 6c 64 6d 61 72 6b 2f | ttps://github.com/yuin/goldmark/ |
| 3340 | 23 66 6f 6f 74 6e 6f 74 65 73 2d 65 78 74 65 6e 73 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 | #footnotes-extension............ |
| 3360 | 20 20 20 20 3b 3b 20 32 6e 64 20 61 6e 64 20 66 75 72 74 68 65 72 20 6c 69 6e 65 73 20 69 6e 20 | ....;;.2nd.and.further.lines.in. |
| 3380 | 61 20 6d 75 6c 74 69 2d 6c 69 6e 65 20 66 6f 6f 74 6e 6f 74 65 20 6e 65 65 64 20 74 6f 0a 20 20 | a.multi-line.footnote.need.to... |
| 33a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 65 20 69 6e 64 65 6e 74 65 64 20 62 79 20 34 20 | ............;;.be.indented.by.4. |
| 33c0 | 73 70 61 63 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 66 20 | spaces................(setq.def. |
| 33e0 | 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 6e 22 20 22 | (replace-regexp-in-string."\n"." |
| 3400 | 5c 6e 20 20 20 20 22 20 64 65 66 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 20 | \n....".def)))...........(progn. |
| 3420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 42 6c 61 63 6b 66 72 69 | .......................;Blackfri |
| 3440 | 64 61 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 75 70 70 6f 72 74 20 6d 75 6c 74 69 | day.............;;.Support.multi |
| 3460 | 2d 6c 69 6e 65 20 66 6f 6f 74 6e 6f 74 65 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 62 79 20 66 6f | -line.footnote.definitions.by.fo |
| 3480 | 6c 64 69 6e 67 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 6f 6f 74 6e 6f 74 | lding.all.............;;.footnot |
| 34a0 | 65 20 64 65 66 69 6e 69 74 69 6f 6e 20 6c 69 6e 65 73 20 69 6e 74 6f 20 61 20 73 69 6e 67 6c 65 | e.definition.lines.into.a.single |
| 34c0 | 20 6c 69 6e 65 20 61 73 20 42 6c 61 63 6b 66 72 69 64 61 79 0a 20 20 20 20 20 20 20 20 20 20 20 | .line.as.Blackfriday............ |
| 34e0 | 20 3b 3b 20 64 6f 65 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 20 74 68 61 74 2e 0a 20 20 20 20 20 | .;;.does.not.support.that....... |
| 3500 | 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 66 20 28 69 66 20 69 73 2d 63 6a 6b 0a 20 20 20 20 | .......(setq.def.(if.is-cjk..... |
| 3520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 | ......................(replace-r |
| 3540 | 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | egexp-in-string................. |
| 3560 | 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 20 22 20 22 20 3b 49 66 20 74 68 65 20 66 6f 6f 74 | ..........."\n".".".;If.the.foot |
| 3580 | 6e 6f 74 65 20 73 74 69 6c 6c 20 68 61 73 20 6e 65 77 6c 69 6e 65 73 2c 20 72 65 70 6c 61 63 65 | note.still.has.newlines,.replace |
| 35a0 | 20 74 68 65 6d 20 77 69 74 68 20 73 70 61 63 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .them.with.spaces............... |
| 35c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d | .............(replace-regexp-in- |
| 35e0 | 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | string.......................... |
| 3600 | 20 20 20 3b 3b 20 44 6f 20 6e 6f 74 20 69 6e 73 65 72 74 20 73 70 61 63 65 73 20 77 68 65 6e 20 | ...;;.Do.not.insert.spaces.when. |
| 3620 | 6a 6f 69 6e 69 6e 67 20 6e 65 77 6c 69 6e 65 73 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 | joining.newlines.for............ |
| 3640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 4a 4b 20 6c 61 6e 67 75 61 67 65 | .................;;.CJK.language |
| 3660 | 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | s.............................." |
| 3680 | 5c 5c 28 5b 5b 3a 6d 75 6c 74 69 62 79 74 65 3a 5d 5d 5c 5c 29 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d | \\([[:multibyte:]]\\)[[:blank:]] |
| 36a0 | 2a 5c 6e 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 5c 28 5b 5b 3a 6d 75 6c 74 69 62 79 74 65 3a 5d | *\n[[:blank:]]*\\([[:multibyte:] |
| 36c0 | 5d 5c 5c 29 22 20 22 5c 5c 31 5c 5c 32 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ]\\)"."\\1\\2".................. |
| 36e0 | 20 20 20 20 20 20 20 20 20 20 20 64 65 66 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........def))................ |
| 3700 | 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 | .........(replace-regexp-in-stri |
| 3720 | 6e 67 20 22 5c 6e 22 20 22 20 22 20 64 65 66 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ng."\n".".".def))).............. |
| 3740 | 3b 3b 20 52 65 70 6c 61 63 65 20 6d 75 6c 74 69 70 6c 65 20 63 6f 6e 73 65 63 75 74 69 76 65 20 | ;;.Replace.multiple.consecutive. |
| 3760 | 73 70 61 63 65 73 20 77 69 74 68 20 61 20 73 69 6e 67 6c 65 20 73 70 61 63 65 2e 0a 20 20 20 20 | spaces.with.a.single.space...... |
| 3780 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 66 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 | ........(setq.def.(replace-regex |
| 37a0 | 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2b 22 20 22 20 22 20 64 | p-in-string."[[:blank:]]+".".".d |
| 37c0 | 65 66 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 63 6f 6e 73 20 6e 20 64 65 66 | ef)))).........(push.(cons.n.def |
| 37e0 | 29 20 66 6e 2d 61 6c 69 73 74 2d 73 74 72 69 70 70 65 64 29 0a 20 20 20 20 20 20 20 20 28 73 65 | ).fn-alist-stripped).........(se |
| 3800 | 74 71 20 6e 20 28 31 2b 20 6e 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 66 6e 2d 61 6c 69 73 | tq.n.(1+.n)))).....(when.fn-alis |
| 3820 | 74 2d 73 74 72 69 70 70 65 64 0a 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 28 6c 61 6d | t-stripped.......(mapconcat.(lam |
| 3840 | 62 64 61 20 28 66 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 | bda.(fn)....................;;.( |
| 3860 | 6d 65 73 73 61 67 65 20 22 64 62 67 3a 20 66 6e 3a 20 25 30 64 20 2d 2d 20 25 73 22 20 28 63 61 | message."dbg:.fn:.%0d.--.%s".(ca |
| 3880 | 72 20 66 6e 29 20 28 63 64 72 20 66 6e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.fn).(cdr.fn))................. |
| 38a0 | 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 5e 66 6e 3a 25 64 5d 3a 20 25 73 22 0a 20 20 20 20 20 20 | ...(format."[^fn:%d]:.%s"....... |
| 38c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 20 66 6e 29 20 20 20 | .....................(car.fn)... |
| 38e0 | 20 20 3b 66 6f 6f 74 6e 6f 74 65 20 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..;footnote.number.............. |
| 3900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 64 72 20 66 6e 29 29 29 20 20 20 3b 66 6f 6f 74 | ..............(cdr.fn)))...;foot |
| 3920 | 6e 6f 74 65 20 64 65 66 69 6e 69 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | note.definition................. |
| 3940 | 20 28 6e 72 65 76 65 72 73 65 20 66 6e 2d 61 6c 69 73 74 2d 73 74 72 69 70 70 65 64 29 0a 20 20 | .(nreverse.fn-alist-stripped)... |
| 3960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 29 29 0a 0a 3b 3b 3b 3b 20 54 61 | ..............."\n"))))..;;;;.Ta |
| 3980 | 62 6c 65 2d 43 6f 6d 6d 6f 6e 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 | ble-Common.(defun.org-blackfrida |
| 39a0 | 79 2d 74 61 62 6c 65 2d 63 6f 6c 2d 77 69 64 74 68 20 28 74 61 62 6c 65 20 63 6f 6c 75 6d 6e 20 | y-table-col-width.(table.column. |
| 39c0 | 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 77 69 64 74 68 20 6f 66 20 54 41 42 4c 45 20 61 | info)..."Return.width.of.TABLE.a |
| 39e0 | 74 20 67 69 76 65 6e 20 43 4f 4c 55 4d 4e 20 75 73 69 6e 67 20 49 4e 46 4f 2e 0a 0a 49 4e 46 4f | t.given.COLUMN.using.INFO...INFO |
| 3a00 | 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f | .is.a.plist.used.as.communicatio |
| 3a20 | 6e 20 63 68 61 6e 6e 65 6c 2e 20 20 57 69 64 74 68 20 6f 66 20 61 20 63 6f 6c 75 6d 6e 0a 69 73 | n.channel...Width.of.a.column.is |
| 3a40 | 20 64 65 74 65 72 6d 69 6e 65 64 20 65 69 74 68 65 72 20 62 79 20 69 6e 71 75 69 72 69 6e 67 20 | .determined.either.by.inquiring. |
| 3a60 | 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 27 0a | `org-blackfriday-width-cookies'. |
| 3a80 | 69 6e 20 74 68 65 20 63 6f 6c 75 6d 6e 2c 20 6f 72 20 62 79 20 74 68 65 20 6d 61 78 69 6d 75 6d | in.the.column,.or.by.the.maximum |
| 3aa0 | 20 63 65 6c 6c 20 77 69 74 68 20 69 6e 20 74 68 65 20 63 6f 6c 75 6d 6e 2e 22 0a 20 20 28 6c 65 | .cell.with.in.the.column."...(le |
| 3ac0 | 74 20 28 28 63 6f 6f 6b 69 65 20 28 77 68 65 6e 20 28 68 61 73 68 2d 74 61 62 6c 65 2d 70 20 6f | t.((cookie.(when.(hash-table-p.o |
| 3ae0 | 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 29 0a 20 20 | rg-blackfriday-width-cookies)... |
| 3b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 65 74 68 61 73 68 20 63 6f 6c 75 6d 6e 20 | ................(gethash.column. |
| 3b20 | 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 29 29 29 | org-blackfriday-width-cookies))) |
| 3b40 | 29 0a 20 20 20 20 28 69 66 20 28 61 6e 64 20 28 65 71 20 74 61 62 6c 65 20 6f 72 67 2d 62 6c 61 | ).....(if.(and.(eq.table.org-bla |
| 3b60 | 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 2d 74 61 62 6c 65 29 0a 20 20 | ckfriday-width-cookies-table)... |
| 3b80 | 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 65 71 20 6e 69 6c 20 63 6f 6f 6b 69 65 29 29 | ...........(not.(eq.nil.cookie)) |
| 3ba0 | 29 0a 20 20 20 20 20 20 20 20 63 6f 6f 6b 69 65 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 | ).........cookie.......(unless.( |
| 3bc0 | 61 6e 64 20 28 65 71 20 74 61 62 6c 65 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 | and.(eq.table.org-blackfriday-wi |
| 3be0 | 64 74 68 2d 63 6f 6f 6b 69 65 73 2d 74 61 62 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | dth-cookies-table).............. |
| 3c00 | 20 20 20 20 20 20 28 68 61 73 68 2d 74 61 62 6c 65 2d 70 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 | ......(hash-table-p.org-blackfri |
| 3c20 | 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 | day-width-cookies)).........(set |
| 3c40 | 71 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 20 | q.org-blackfriday-width-cookies. |
| 3c60 | 28 6d 61 6b 65 2d 68 61 73 68 2d 74 61 62 6c 65 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 | (make-hash-table)).........(setq |
| 3c80 | 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 2d 74 | .org-blackfriday-width-cookies-t |
| 3ca0 | 61 62 6c 65 20 74 61 62 6c 65 29 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 61 78 2d 77 69 | able.table)).......(let.((max-wi |
| 3cc0 | 64 74 68 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 70 65 63 69 61 6c 70 20 28 6f 72 | dth.0).............(specialp.(or |
| 3ce0 | 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 2d 68 61 73 2d 73 70 65 63 69 61 6c 2d 63 6f 6c 75 6d | g-export-table-has-special-colum |
| 3d00 | 6e 2d 70 20 74 61 62 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e | n-p.table))).........(org-elemen |
| 3d20 | 74 2d 6d 61 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 0a 20 20 20 20 20 20 20 20 | t-map.............table......... |
| 3d40 | 20 20 20 20 27 74 61 62 6c 65 2d 72 6f 77 0a 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 | ....'table-row...........(lambda |
| 3d60 | 20 28 72 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 61 78 2d 77 69 64 | .(row).............(setq.max-wid |
| 3d80 | 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 78 20 28 6c 65 6e 67 74 | th...................(max.(lengt |
| 3da0 | 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 | h.........................(org-e |
| 3dc0 | 78 70 6f 72 74 2d 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xport-data...................... |
| 3de0 | 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 20 | ....(org-element-contents....... |
| 3e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6c 74 20 28 69 66 20 73 70 65 | ....................(elt.(if.spe |
| 3e20 | 63 69 61 6c 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cialp........................... |
| 3e40 | 20 20 20 20 20 20 20 20 20 28 63 61 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 | .........(car.(org-element-conte |
| 3e60 | 6e 74 73 20 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nts.row))....................... |
| 3e80 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 | ...........(org-element-contents |
| 3ea0 | 20 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .row)).......................... |
| 3ec0 | 20 20 20 20 20 20 63 6f 6c 75 6d 6e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......column)).................. |
| 3ee0 | 20 20 20 20 20 20 20 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........info)).................. |
| 3f00 | 20 20 20 20 20 20 6d 61 78 2d 77 69 64 74 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 69 6e 66 | ......max-width)))...........inf |
| 3f20 | 6f 29 0a 20 20 20 20 20 20 20 20 28 70 75 74 68 61 73 68 20 63 6f 6c 75 6d 6e 20 6d 61 78 2d 77 | o).........(puthash.column.max-w |
| 3f40 | 69 64 74 68 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 | idth.org-blackfriday-width-cooki |
| 3f60 | 65 73 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 50 6c 61 69 6e 20 4c 69 73 74 20 48 65 6c 70 65 72 0a | es)))))..;;;;.Plain.List.Helper. |
| 3f80 | 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 65 78 70 6f 72 74 2d 6f | (defun.org-blackfriday--export-o |
| 3fa0 | 72 64 65 72 65 64 2d 6c 69 73 74 2d 61 73 2d 68 74 6d 6c 2d 70 20 28 70 6c 61 69 6e 2d 6c 69 73 | rdered-list-as-html-p.(plain-lis |
| 3fc0 | 74 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 74 68 65 20 50 4c 41 49 | t)..."Return.non-nil.if.the.PLAI |
| 3fe0 | 4e 2d 4c 49 53 54 20 6e 65 65 64 73 20 74 6f 20 62 65 20 65 78 70 6f 72 74 65 64 20 61 73 20 48 | N-LIST.needs.to.be.exported.as.H |
| 4000 | 54 4d 4c 2e 0a 0a 54 68 65 20 50 4c 41 49 4e 2d 4c 49 53 54 20 69 73 20 65 78 70 6f 72 74 65 64 | TML...The.PLAIN-LIST.is.exported |
| 4020 | 20 61 73 20 48 54 4d 4c 20 69 66 20 74 68 65 20 6c 69 73 74 20 69 73 20 61 6e 20 6f 72 64 65 72 | .as.HTML.if.the.list.is.an.order |
| 4040 | 65 64 20 6c 69 73 74 0a 61 6e 64 20 61 20 63 75 73 74 6f 6d 20 63 6f 75 6e 74 65 72 20 69 73 20 | ed.list.and.a.custom.counter.is. |
| 4060 | 75 73 65 64 20 6f 6e 20 73 65 63 6f 6e 64 20 6f 72 20 6c 61 74 65 72 20 69 74 65 6d 20 69 6e 20 | used.on.second.or.later.item.in. |
| 4080 | 74 68 65 20 6c 69 73 74 2e 0a 0a 52 65 74 75 72 6e 73 20 6e 69 6c 20 6f 74 68 65 72 77 69 73 65 | the.list...Returns.nil.otherwise |
| 40a0 | 2e 22 0a 20 20 28 6c 65 74 20 28 28 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 | ."...(let.((type.(org-element-pr |
| 40c0 | 6f 70 65 72 74 79 20 3a 74 79 70 65 20 70 6c 61 69 6e 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 | operty.:type.plain-list))....... |
| 40e0 | 20 20 68 61 73 2d 63 75 73 74 6f 6d 2d 63 6f 75 6e 74 65 72 29 0a 20 20 20 20 28 77 68 65 6e 20 | ..has-custom-counter).....(when. |
| 4100 | 28 65 71 20 27 6f 72 64 65 72 65 64 20 74 79 70 65 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 | (eq.'ordered.type).......(let.(( |
| 4120 | 6c 69 73 74 2d 63 6f 6e 74 65 6e 74 73 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 | list-contents.(org-element-conte |
| 4140 | 6e 74 73 20 70 6c 61 69 6e 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 74 | nts.plain-list)).............(it |
| 4160 | 65 6d 2d 6e 75 6d 20 31 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 68 61 73 2d 63 75 73 | em-num.1)).........(setq.has-cus |
| 4180 | 74 6f 6d 2d 63 6f 75 6e 74 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 74 63 68 | tom-counter...............(catch |
| 41a0 | 20 27 62 72 65 61 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 | .'break.................(dolist. |
| 41c0 | 28 65 6c 20 6c 69 73 74 2d 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | (el.list-contents).............. |
| 41e0 | 20 20 20 20 20 28 77 68 65 6e 20 28 65 71 20 27 69 74 65 6d 20 28 63 61 72 20 65 6c 29 29 0a 20 | .....(when.(eq.'item.(car.el)).. |
| 4200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 69 74 65 6d 2d | ...................(let*.((item- |
| 4220 | 70 6c 69 73 74 20 28 63 61 72 20 28 63 64 72 20 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | plist.(car.(cdr.el)))........... |
| 4240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 75 6e 74 65 72 20 28 70 6c 69 73 74 | .................(counter.(plist |
| 4260 | 2d 67 65 74 20 69 74 65 6d 2d 70 6c 69 73 74 20 3a 63 6f 75 6e 74 65 72 29 29 29 0a 20 20 20 20 | -get.item-plist.:counter)))..... |
| 4280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 | ..................;;.(message."d |
| 42a0 | 62 67 3a 20 69 74 65 6d 20 6e 75 6d 3a 20 25 64 20 63 6f 75 6e 74 65 72 3a 20 25 53 22 20 69 74 | bg:.item.num:.%d.counter:.%S".it |
| 42c0 | 65 6d 2d 6e 75 6d 20 63 6f 75 6e 74 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | em-num.counter)................. |
| 42e0 | 20 20 20 20 20 20 3b 3b 20 4d 61 6b 65 20 73 70 65 63 69 61 6c 20 70 72 6f 76 69 73 69 6f 6e 20 | ......;;.Make.special.provision. |
| 4300 | 66 6f 72 20 74 68 65 20 63 75 73 74 6f 6d 20 63 6f 75 6e 74 65 72 0a 20 20 20 20 20 20 20 20 20 | for.the.custom.counter.......... |
| 4320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 6f 74 61 74 69 6f 6e 20 5b 40 4e 5d 20 6f 6e | .............;;.notation.[@N].on |
| 4340 | 6c 79 20 69 66 20 69 74 27 73 20 70 72 65 73 65 6e 74 20 6f 6e 20 73 65 63 6f 6e 64 0a 20 20 20 | ly.if.it's.present.on.second.... |
| 4360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 72 20 6c 61 74 65 72 20 69 | ...................;;.or.later.i |
| 4380 | 74 65 6d 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 | tems........................(whe |
| 43a0 | 6e 20 28 61 6e 64 20 28 3e 20 69 74 65 6d 2d 6e 75 6d 20 31 29 0a 20 20 20 20 20 20 20 20 20 20 | n.(and.(>.item-num.1)........... |
| 43c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 75 6e 74 65 72 29 0a | .......................counter). |
| 43e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 72 6f 77 20 27 | ........................(throw.' |
| 4400 | 62 72 65 61 6b 20 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 | break.t))))...................(c |
| 4420 | 6c 2d 69 6e 63 66 20 69 74 65 6d 2d 6e 75 6d 29 29 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 | l-incf.item-num)))))).....;;.(me |
| 4440 | 73 73 61 67 65 20 22 64 62 67 3a 20 68 61 73 20 63 75 73 74 6f 6d 20 63 6f 75 6e 74 65 72 3a 20 | ssage."dbg:.has.custom.counter:. |
| 4460 | 25 53 22 20 68 61 73 2d 63 75 73 74 6f 6d 2d 63 6f 75 6e 74 65 72 29 0a 20 20 20 20 68 61 73 2d | %S".has-custom-counter).....has- |
| 4480 | 63 75 73 74 6f 6d 2d 63 6f 75 6e 74 65 72 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 20 43 65 6c | custom-counter))..;;;;.Table.Cel |
| 44a0 | 6c 20 41 6c 69 67 6e 6d 65 6e 74 0a 3b 3b 20 42 65 6c 6f 77 20 66 75 6e 63 74 69 6f 6e 20 69 73 | l.Alignment.;;.Below.function.is |
| 44c0 | 20 68 65 61 76 69 6c 79 20 61 64 61 70 74 65 64 20 66 72 6f 6d 0a 3b 3b 20 60 6f 72 67 2d 65 78 | .heavily.adapted.from.;;.`org-ex |
| 44e0 | 70 6f 72 74 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 27 20 66 72 6f 6d 20 | port-table-cell-alignment'.from. |
| 4500 | 6f 78 2e 65 6c 2e 20 20 54 68 65 20 6d 61 69 6e 20 64 69 66 66 65 72 65 6e 63 65 0a 3b 3b 20 69 | ox.el...The.main.difference.;;.i |
| 4520 | 73 20 74 68 61 74 20 74 68 65 20 62 65 6c 6f 77 20 76 61 72 69 61 74 69 6f 6e 20 63 61 6e 20 72 | s.that.the.below.variation.can.r |
| 4540 | 65 74 75 72 6e 20 61 20 60 64 65 66 61 75 6c 74 27 20 76 61 6c 75 65 20 74 6f 6f 2e 0a 28 64 65 | eturn.a.`default'.value.too..(de |
| 4560 | 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d 61 | fun.org-blackfriday-table-cell-a |
| 4580 | 6c 69 67 6e 6d 65 6e 74 20 28 74 61 62 6c 65 2d 63 65 6c 6c 20 69 6e 66 6f 29 0a 20 20 22 52 65 | lignment.(table-cell.info)..."Re |
| 45a0 | 74 75 72 6e 20 54 41 42 4c 45 2d 43 45 4c 4c 20 63 6f 6e 74 65 6e 74 73 20 61 6c 69 67 6e 6d 65 | turn.TABLE-CELL.contents.alignme |
| 45c0 | 6e 74 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 74 68 65 | nt...INFO.is.a.plist.used.as.the |
| 45e0 | 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 52 65 74 75 72 6e 20 | .communication.channel...Return. |
| 4600 | 61 6c 69 67 6e 6d 65 6e 74 20 61 73 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 20 6c 61 | alignment.as.specified.by.the.la |
| 4620 | 73 74 20 61 6c 69 67 6e 6d 65 6e 74 20 63 6f 6f 6b 69 65 20 69 6e 20 74 68 65 0a 73 61 6d 65 20 | st.alignment.cookie.in.the.same. |
| 4640 | 63 6f 6c 75 6d 6e 20 61 73 20 54 41 42 4c 45 2d 43 45 4c 4c 2e 20 20 49 66 20 6e 6f 20 73 75 63 | column.as.TABLE-CELL...If.no.suc |
| 4660 | 68 20 63 6f 6f 6b 69 65 20 69 73 20 66 6f 75 6e 64 2c 20 72 65 74 75 72 6e 0a 60 64 65 66 61 75 | h.cookie.is.found,.return.`defau |
| 4680 | 6c 74 27 2e 20 20 50 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 20 61 72 65 20 60 64 65 66 61 75 | lt'...Possible.values.are.`defau |
| 46a0 | 6c 74 27 2c 20 60 6c 65 66 74 27 2c 20 60 72 69 67 68 74 27 20 61 6e 64 0a 60 63 65 6e 74 65 72 | lt',.`left',.`right'.and.`center |
| 46c0 | 27 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 72 6f 77 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 | '."...(let*.((row.(org-export-ge |
| 46e0 | 74 2d 70 61 72 65 6e 74 20 74 61 62 6c 65 2d 63 65 6c 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 | t-parent.table-cell))..........( |
| 4700 | 74 61 62 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 72 6f 77 | table.(org-export-get-parent.row |
| 4720 | 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 65 6c 6c 73 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d | ))..........(cells.(org-element- |
| 4740 | 63 6f 6e 74 65 6e 74 73 20 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6c 75 6d 6e 73 | contents.row))..........(columns |
| 4760 | 20 28 6c 65 6e 67 74 68 20 63 65 6c 6c 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6c 75 6d | .(length.cells))..........(colum |
| 4780 | 6e 20 28 2d 20 63 6f 6c 75 6d 6e 73 20 28 6c 65 6e 67 74 68 20 28 6d 65 6d 71 20 74 61 62 6c 65 | n.(-.columns.(length.(memq.table |
| 47a0 | 2d 63 65 6c 6c 20 63 65 6c 6c 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 61 63 68 65 20 | -cell.cells))))..........(cache. |
| 47c0 | 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 74 61 62 6c 65 2d 63 65 6c 6c 2d | (or.(plist-get.info.:table-cell- |
| 47e0 | 61 6c 69 67 6e 6d 65 6e 74 2d 63 61 63 68 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | alignment-cache)................ |
| 4800 | 20 20 20 20 20 28 6c 65 74 20 28 28 74 61 62 6c 65 20 28 6d 61 6b 65 2d 68 61 73 68 2d 74 61 62 | .....(let.((table.(make-hash-tab |
| 4820 | 6c 65 20 3a 74 65 73 74 20 23 27 65 71 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | le.:test.#'eq)))................ |
| 4840 | 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 74 61 62 6c 65 2d 63 65 | .......(plist-put.info.:table-ce |
| 4860 | 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 2d 63 61 63 68 65 20 74 61 62 6c 65 29 0a 20 20 20 20 20 20 | ll-alignment-cache.table)....... |
| 4880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 29 29 29 0a 20 20 20 20 20 20 20 | ................table)))........ |
| 48a0 | 20 20 28 61 6c 69 67 6e 2d 76 65 63 74 6f 72 20 28 6f 72 20 28 67 65 74 68 61 73 68 20 74 61 62 | ..(align-vector.(or.(gethash.tab |
| 48c0 | 6c 65 20 63 61 63 68 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | le.cache)....................... |
| 48e0 | 20 20 20 20 20 28 70 75 74 68 61 73 68 20 74 61 62 6c 65 20 28 6d 61 6b 65 2d 76 65 63 74 6f 72 | .....(puthash.table.(make-vector |
| 4900 | 20 63 6f 6c 75 6d 6e 73 20 6e 69 6c 29 20 63 61 63 68 65 29 29 29 29 0a 20 20 20 20 28 6f 72 20 | .columns.nil).cache)))).....(or. |
| 4920 | 28 61 72 65 66 20 61 6c 69 67 6e 2d 76 65 63 74 6f 72 20 63 6f 6c 75 6d 6e 29 0a 20 20 20 20 20 | (aref.align-vector.column)...... |
| 4940 | 20 20 20 28 6c 65 74 20 28 63 6f 6f 6b 69 65 2d 61 6c 69 67 6e 29 0a 20 20 20 20 20 20 20 20 20 | ...(let.(cookie-align).......... |
| 4960 | 20 28 64 6f 6c 69 73 74 20 28 72 6f 77 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 | .(dolist.(row.(org-element-conte |
| 4980 | 6e 74 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 72 6f 77 29 29 | nts.(org-export-get-parent.row)) |
| 49a0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ).............(cond............. |
| 49c0 | 20 3b 3b 20 49 6e 20 61 20 73 70 65 63 69 61 6c 20 72 6f 77 2c 20 74 72 79 20 74 6f 20 66 69 6e | .;;.In.a.special.row,.try.to.fin |
| 49e0 | 64 20 61 6e 20 61 6c 69 67 6e 6d 65 6e 74 20 63 6f 6f 6b 69 65 20 61 74 0a 20 20 20 20 20 20 20 | d.an.alignment.cookie.at........ |
| 4a00 | 20 20 20 20 20 20 3b 3b 20 43 4f 4c 55 4d 4e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 | ......;;.COLUMN...............(( |
| 4a20 | 6f 72 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 2d 72 6f 77 2d 69 73 2d 73 70 65 63 69 61 6c 2d | org-export-table-row-is-special- |
| 4a40 | 70 20 72 6f 77 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 | p.row.info)...............(let.( |
| 4a60 | 28 76 61 6c 75 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 0a 20 20 20 | (value.(org-element-contents.... |
| 4a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6c 74 20 28 6f | .........................(elt.(o |
| 4aa0 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 72 6f 77 29 20 63 6f 6c 75 6d 6e 29 | rg-element-contents.row).column) |
| 4ac0 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 69 6e 63 65 20 56 41 4c | ))).................;;.Since.VAL |
| 4ae0 | 55 45 20 69 73 20 61 20 73 65 63 6f 6e 64 61 72 79 20 73 74 72 69 6e 67 2c 20 74 68 65 20 66 6f | UE.is.a.secondary.string,.the.fo |
| 4b00 | 6c 6c 6f 77 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 68 65 63 6b | llowing.................;;.check |
| 4b20 | 73 20 61 76 6f 69 64 20 75 73 65 6c 65 73 73 20 65 78 70 61 6e 73 69 6f 6e 20 74 68 72 6f 75 67 | s.avoid.useless.expansion.throug |
| 4b40 | 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 65 78 70 6f 72 74 | h.................;;.`org-export |
| 4b60 | 2d 64 61 74 61 27 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 | -data'..................(when.(a |
| 4b80 | 6e 64 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nd.value........................ |
| 4ba0 | 20 20 20 20 28 6e 6f 74 20 28 63 64 72 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ....(not.(cdr.value))........... |
| 4bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 70 20 28 63 61 72 20 76 | .................(stringp.(car.v |
| 4be0 | 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | alue)).......................... |
| 4c00 | 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 60 3c 5c 5c 28 5b 6c 72 63 5d 5c 5c 29 | ..(string-match."\\`<\\([lrc]\\) |
| 4c20 | 3f 5c 5c 28 5b 30 2d 39 5d 2b 5c 5c 29 3f 3e 5c 5c 27 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ?\\([0-9]+\\)?>\\'"............. |
| 4c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 | .............................(ca |
| 4c60 | 72 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.value))....................... |
| 4c80 | 20 20 20 20 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 31 20 28 63 61 72 20 76 61 6c 75 65 29 | .....(match-string.1.(car.value) |
| 4ca0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 6f 6b 69 | ))...................(setq.cooki |
| 4cc0 | 65 2d 61 6c 69 67 6e 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 31 20 28 63 61 72 20 76 61 6c | e-align.(match-string.1.(car.val |
| 4ce0 | 75 65 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 67 6e 6f 72 65 20 | ue))))))..............;;.Ignore. |
| 4d00 | 74 61 62 6c 65 20 72 75 6c 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 20 28 | table.rules...............((eq.( |
| 4d20 | 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 72 6f 77 29 20 | org-element-property.:type.row). |
| 4d40 | 27 72 75 6c 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 74 75 72 6e 20 76 61 | 'rule))))...........;;.Return.va |
| 4d60 | 6c 75 65 2e 20 20 41 6c 69 67 6e 6d 65 6e 74 20 73 70 65 63 69 66 69 65 64 20 62 79 20 63 6f 6f | lue...Alignment.specified.by.coo |
| 4d80 | 6b 69 65 73 20 68 61 73 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 65 63 65 64 65 6e 63 65 | kies.has...........;;.precedence |
| 4da0 | 20 6f 76 65 72 20 61 6c 69 67 6e 6d 65 6e 74 20 64 65 64 75 63 65 64 20 66 72 6f 6d 20 63 65 6c | .over.alignment.deduced.from.cel |
| 4dc0 | 6c 27 73 20 63 6f 6e 74 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 20 20 20 28 61 73 65 74 20 61 6c | l's.contents............(aset.al |
| 4de0 | 69 67 6e 2d 76 65 63 74 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d | ign-vector.................colum |
| 4e00 | 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 20 28 28 65 71 75 61 6c 20 | n.................(cond.((equal. |
| 4e20 | 63 6f 6f 6b 69 65 2d 61 6c 69 67 6e 20 22 6c 22 29 20 27 6c 65 66 74 29 0a 20 20 20 20 20 20 20 | cookie-align."l").'left)........ |
| 4e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 63 6f 6f 6b 69 65 2d 61 6c | ...............((equal.cookie-al |
| 4e60 | 69 67 6e 20 22 72 22 29 20 27 72 69 67 68 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ign."r").'right)................ |
| 4e80 | 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 63 6f 6f 6b 69 65 2d 61 6c 69 67 6e 20 22 63 22 29 | .......((equal.cookie-align."c") |
| 4ea0 | 20 27 63 65 6e 74 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .'center)....................... |
| 4ec0 | 28 74 20 27 64 65 66 61 75 6c 74 29 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 45 73 63 61 70 65 20 | (t.'default)))))))..;;;;.Escape. |
| 4ee0 | 63 65 72 74 61 69 6e 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 73 69 64 65 20 65 71 75 61 74 69 | certain.characters.inside.equati |
| 4f00 | 6f 6e 73 20 28 42 6c 61 63 6b 66 72 69 64 61 79 20 62 75 67 20 77 6f 72 6b 61 72 6f 75 6e 64 29 | ons.(Blackfriday.bug.workaround) |
| 4f20 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 73 63 61 70 65 2d 63 | .(defun.org-blackfriday-escape-c |
| 4f40 | 68 61 72 73 2d 69 6e 2d 65 71 75 61 74 69 6f 6e 20 28 73 74 72 29 0a 20 20 22 45 73 63 61 70 65 | hars-in-equation.(str)..."Escape |
| 4f60 | 20 66 65 77 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 53 54 52 20 73 6f 20 74 68 61 74 20 42 | .few.characters.in.STR.so.that.B |
| 4f80 | 6c 61 63 6b 66 72 69 64 61 79 20 64 6f 65 73 6e 27 74 20 70 61 72 73 65 20 74 68 65 6d 2e 0a 0a | lackfriday.doesn't.parse.them... |
| 4fa0 | 44 6f 20 6e 6f 74 20 69 6e 74 65 72 70 72 65 74 20 75 6e 64 65 72 73 63 6f 72 65 73 2c 20 61 73 | Do.not.interpret.underscores,.as |
| 4fc0 | 74 65 72 69 73 6b 73 20 61 6e 64 20 62 61 63 6b 71 75 6f 74 65 73 20 69 6e 20 65 71 75 61 74 69 | terisks.and.backquotes.in.equati |
| 4fe0 | 6f 6e 73 20 61 73 0a 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 74 69 6e 67 0a 63 68 61 72 61 | ons.as.Markdown.formatting.chara |
| 5000 | 63 74 65 72 73 20 28 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 | cters.(https://gohugo.io/content |
| 5020 | 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 66 6f 72 6d 61 74 73 23 73 6f 6c 75 74 69 6f 6e 29 3a 0a 0a | -management/formats#solution):.. |
| 5040 | 20 20 5c 22 5f 5c 22 20 2d 3e 20 5c 22 5c 5c 3d 5c 5c 5f 5c 22 0a 20 20 5c 22 2a 5c 22 20 2d 3e | ..\"_\".->.\"\\=\\_\"...\"*\".-> |
| 5060 | 20 5c 22 5c 5c 3d 5c 5c 2a 5c 22 0a 20 20 5c 22 60 5c 22 20 2d 3e 20 5c 22 5c 5c 3d 5c 5c 60 5c | .\"\\=\\*\"...\"`\".->.\"\\=\\`\ |
| 5080 | 22 0a 0a 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d 6f 64 | "..https://github.com/kaushalmod |
| 50a0 | 69 2f 6f 78 2d 68 75 67 6f 2f 69 73 73 75 65 73 2f 31 30 34 0a 0a 42 6c 61 63 6b 66 72 69 64 61 | i/ox-hugo/issues/104..Blackfrida |
| 50c0 | 79 20 63 6f 6e 76 65 72 74 73 20 5c 22 28 72 29 5c 22 20 74 6f 20 52 65 67 69 73 74 65 72 65 64 | y.converts.\"(r)\".to.Registered |
| 50e0 | 20 54 72 61 64 65 6d 61 72 6b 20 73 79 6d 62 6f 6c 2c 0a 5c 22 28 63 29 5c 22 20 74 6f 20 43 6f | .Trademark.symbol,.\"(c)\".to.Co |
| 5100 | 70 79 72 69 67 68 74 20 73 79 6d 62 6f 6c 2c 20 61 6e 64 20 5c 22 28 74 6d 29 5c 22 20 74 6f 20 | pyright.symbol,.and.\"(tm)\".to. |
| 5120 | 54 72 61 64 65 6d 61 72 6b 20 73 79 6d 62 6f 6c 20 69 66 0a 74 68 65 20 53 6d 61 72 74 79 50 61 | Trademark.symbol.if.the.SmartyPa |
| 5140 | 6e 74 73 20 65 78 74 65 6e 73 69 6f 6e 20 69 73 20 65 6e 61 62 6c 65 64 20 28 61 6e 64 20 74 68 | nts.extension.is.enabled.(and.th |
| 5160 | 65 72 65 20 69 73 20 6e 6f 20 77 61 79 20 74 6f 0a 64 69 73 61 62 6c 65 20 6a 75 73 74 20 74 68 | ere.is.no.way.to.disable.just.th |
| 5180 | 69 73 29 2e 20 20 53 6f 20 69 6e 73 65 72 74 20 61 6e 20 65 78 74 72 61 20 73 70 61 63 65 20 61 | is)...So.insert.an.extra.space.a |
| 51a0 | 66 74 65 72 20 74 68 65 20 6f 70 65 6e 69 6e 67 0a 70 61 72 65 6e 74 68 65 73 65 73 20 69 6e 20 | fter.the.opening.parentheses.in. |
| 51c0 | 74 68 6f 73 65 20 73 74 72 69 6e 67 73 20 74 6f 20 74 72 69 63 6b 20 42 6c 61 63 6b 66 72 69 64 | those.strings.to.trick.Blackfrid |
| 51e0 | 61 79 2f 73 6d 61 72 74 50 61 72 65 6e 73 0a 66 72 6f 6d 20 61 63 74 69 76 61 74 69 6e 67 20 69 | ay/smartParens.from.activating.i |
| 5200 | 6e 73 69 64 65 20 65 71 75 61 74 69 6f 6e 73 2e 20 20 54 68 61 74 20 65 78 74 72 61 20 73 70 61 | nside.equations...That.extra.spa |
| 5220 | 63 65 20 61 6e 79 77 61 79 73 0a 64 6f 65 73 6e 27 74 20 6d 61 74 74 65 72 20 69 6e 20 65 71 75 | ce.anyways.doesn't.matter.in.equ |
| 5240 | 61 74 69 6f 6e 73 2e 0a 0a 20 20 5c 22 28 63 29 5c 22 20 2d 3e 20 5c 22 28 20 63 29 5c 22 0a 20 | ations.....\"(c)\".->.\"(.c)\".. |
| 5260 | 20 5c 22 28 72 29 5c 22 20 2d 3e 20 5c 22 28 20 72 29 5c 22 0a 20 20 5c 22 28 74 6d 29 5c 22 20 | .\"(r)\".->.\"(.r)\"...\"(tm)\". |
| 5280 | 2d 3e 20 5c 22 28 20 74 6d 29 5c 22 0a 0a 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f | ->.\"(.tm)\"..https://gohugo.io/ |
| 52a0 | 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 66 6f 72 6d 61 74 73 23 73 6f 6c 75 74 | content-management/formats#solut |
| 52c0 | 69 6f 6e 0a 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d 6f | ion.https://github.com/kaushalmo |
| 52e0 | 64 69 2f 6f 78 2d 68 75 67 6f 2f 69 73 73 75 65 73 2f 31 33 38 0a 0a 4e 65 65 64 20 74 6f 20 65 | di/ox-hugo/issues/138..Need.to.e |
| 5300 | 73 63 61 70 65 20 74 68 65 20 62 61 63 6b 73 6c 61 73 68 20 62 65 66 6f 72 65 20 61 6e 79 20 41 | scape.the.backslash.before.any.A |
| 5320 | 53 43 49 49 20 70 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 72 61 63 74 65 72 3a 0a 0a 20 20 21 | SCII.punctuation.character:....! |
| 5340 | 5c 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 5b 5c 5c 5d 5e 5f 60 7b 7c 7d | \"#$%&'()*+,-./:;<=>?@[\\]^_`{|} |
| 5360 | 7e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 3a 0a 0a 20 20 5c 22 5c 5c 28 5c 22 20 2d 3e 20 5c 22 | ~..For.example:....\"\\(\".->.\" |
| 5380 | 5c 5c 5c 5c 28 5c 22 0a 20 20 5c 22 5c 5c 29 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 29 5c 22 0a 20 | \\\\(\"...\"\\)\".->.\"\\\\)\".. |
| 53a0 | 20 5c 22 5c 5c 5c 5c 3d 5b 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 5c 5c 3d 5b 5c 22 0a 20 20 5c 22 | .\"\\\\=[\".->.\"\\\\\\=[\"...\" |
| 53c0 | 5c 5c 5c 5c 3d 5d 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 5c 5c 3d 5d 5c 22 0a 20 20 5c 22 5c 5c 5c | \\\\=]\".->.\"\\\\\\=]\"...\"\\\ |
| 53e0 | 5c 3d 7b 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 5c 5c 3d 7b 5c 22 0a 20 20 5c 22 5c 5c 5c 5c 3d 7d | \={\".->.\"\\\\\\={\"...\"\\\\=} |
| 5400 | 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 5c 5c 3d 7d 5c 22 0a 20 20 5c 22 5c 5c 7c 5c 22 20 2d 3e 20 | \".->.\"\\\\\\=}\"...\"\\|\".->. |
| 5420 | 5c 22 5c 5c 5c 5c 7c 5c 22 0a 0a 20 20 5c 22 5d 28 5c 22 20 2d 3e 20 5c 22 5c 5c 5d 5c 5c 28 5c | \"\\\\|\"....\"](\".->.\"\\]\\(\ |
| 5440 | 22 0a 0a 41 6c 73 6f 20 65 73 63 61 70 65 20 74 68 65 20 62 61 63 6b 73 6c 61 73 68 20 61 74 20 | "..Also.escape.the.backslash.at. |
| 5460 | 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 6c 69 6e 65 2c 20 6f 74 68 65 72 77 69 73 65 0a 69 | the.end.of.the.line,.otherwise.i |
| 5480 | 74 20 77 69 6c 6c 20 62 65 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 61 20 68 61 72 64 20 | t.will.be.interpreted.as.a.hard. |
| 54a0 | 6c 69 6e 65 20 62 72 65 61 6b 2e 22 0a 20 20 28 6c 65 74 2a 20 28 0a 20 20 20 20 20 20 20 20 20 | line.break."...(let*.(.......... |
| 54c0 | 3b 3b 20 45 73 63 61 70 65 20 74 68 65 20 62 61 63 6b 73 6c 61 73 68 20 62 65 66 6f 72 65 20 70 | ;;.Escape.the.backslash.before.p |
| 54e0 | 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 72 61 63 74 65 72 73 2c 20 65 2e 67 2e 2c 0a 20 20 20 | unctuation.characters,.e.g.,.... |
| 5500 | 20 20 20 20 20 20 3b 3b 20 5c 28 20 2d 3e 20 5c 5c 28 2c 20 5c 29 20 2d 3e 20 5c 5c 29 2c 20 5c | ......;;.\(.->.\\(,.\).->.\\),.\ |
| 5520 | 5b 20 2d 3e 20 5c 5c 5b 2c 20 5c 5d 20 2d 3e 20 5c 5c 5d 2c 20 5c 7b 20 2d 3e 20 5c 5c 7b 2c 20 | [.->.\\[,.\].->.\\],.\{.->.\\{,. |
| 5540 | 5c 7d 20 2d 3e 20 5c 5c 7d 2c 20 5c 7c 20 2d 3e 20 5c 5c 7c 0a 20 20 20 20 20 20 20 20 20 28 65 | \}.->.\\},.\|.->.\\|..........(e |
| 5560 | 73 63 61 70 65 64 2d 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 | scaped-str.(replace-regexp-in-st |
| 5580 | 72 69 6e 67 20 22 5c 5c 28 5c 5c 5c 5c 5b 5d 5b 28 29 7b 7d 21 5c 22 23 24 25 26 27 2a 2b 2c 2e | ring."\\(\\\\[][(){}!\"#$%&'*+,. |
| 55a0 | 2f 3a 3b 3c 3d 3e 3f 40 5c 5c 5e 5f 60 7c 7e 2d 5d 5c 5c 29 22 20 22 5c 5c 5c 5c 5c 5c 31 22 20 | /:;<=>?@\\^_`|~-]\\)"."\\\\\\1". |
| 55c0 | 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 5f 20 2d 3e 20 5c 5f 2c 20 2a 20 2d 3e 20 | str))..........;;._.->.\_,.*.->. |
| 55e0 | 5c 2a 2c 20 60 20 2d 3e 20 5c 60 0a 20 20 20 20 20 20 20 20 20 28 65 73 63 61 70 65 64 2d 73 74 | \*,.`.->.\`..........(escaped-st |
| 5600 | 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5f 2a | r.(replace-regexp-in-string."[_* |
| 5620 | 60 5d 22 20 22 5c 5c 5c 5c 5c 5c 26 22 20 65 73 63 61 70 65 64 2d 73 74 72 29 29 0a 20 20 20 20 | `]"."\\\\\\&".escaped-str))..... |
| 5640 | 20 20 20 20 20 3b 3b 20 28 63 29 20 2d 3e 20 28 20 63 29 2c 20 28 72 29 20 2d 3e 20 28 20 72 29 | .....;;.(c).->.(.c),.(r).->.(.r) |
| 5660 | 2c 20 28 74 6d 29 20 2d 3e 20 28 20 74 6d 29 0a 20 20 20 20 20 20 20 20 20 28 65 73 63 61 70 65 | ,.(tm).->.(.tm)..........(escape |
| 5680 | 64 2d 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 | d-str.(replace-regexp-in-string. |
| 56a0 | 22 28 5c 5c 28 63 5c 5c 7c 72 5c 5c 7c 74 6d 5c 5c 29 29 22 20 22 28 20 5c 5c 31 29 22 20 65 73 | "(\\(c\\|r\\|tm\\))"."(.\\1)".es |
| 56c0 | 63 61 70 65 64 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 5d 28 20 2d 3e 20 5c 5d | caped-str))..........;;.](.->.\] |
| 56e0 | 5c 28 0a 20 20 20 20 20 20 20 20 20 28 65 73 63 61 70 65 64 2d 73 74 72 20 28 72 65 70 6c 61 63 | \(..........(escaped-str.(replac |
| 5700 | 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5d 28 22 20 22 5c 5c 5c 5c 5d 5c 5c | e-regexp-in-string."]("."\\\\]\\ |
| 5720 | 5c 5c 28 22 20 65 73 63 61 70 65 64 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 | \\(".escaped-str))..........;;.R |
| 5740 | 65 70 6c 61 63 65 20 22 5c 22 20 61 74 20 45 4f 4c 20 77 69 74 68 20 22 5c 5c 22 0a 20 20 20 20 | eplace."\".at.EOL.with."\\"..... |
| 5760 | 20 20 20 20 20 28 65 73 63 61 70 65 64 2d 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 | .....(escaped-str.(replace-regex |
| 5780 | 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 5c 5c 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 24 22 20 | p-in-string."\\\\[[:blank:]]*$". |
| 57a0 | 22 5c 5c 5c 5c 5c 5c 5c 5c 22 20 65 73 63 61 70 65 64 2d 73 74 72 29 29 29 0a 20 20 20 20 65 73 | "\\\\\\\\".escaped-str))).....es |
| 57c0 | 63 61 70 65 64 2d 73 74 72 29 29 0a 0a 3b 3b 3b 3b 20 52 65 73 65 74 20 6f 72 67 2d 62 6c 61 63 | caped-str))..;;;;.Reset.org-blac |
| 57e0 | 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b | kfriday--code-block-num-backtick |
| 5800 | 73 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 72 65 73 65 74 2d | s.(defun.org-blackfriday--reset- |
| 5820 | 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d | org-blackfriday--code-block-num- |
| 5840 | 62 61 63 6b 74 69 63 6b 73 20 28 5f 62 61 63 6b 65 6e 64 29 0a 20 20 22 52 65 73 65 74 20 60 6f | backticks.(_backend)..."Reset.`o |
| 5860 | 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 | rg-blackfriday--code-block-num-b |
| 5880 | 61 63 6b 74 69 63 6b 73 27 20 74 6f 20 69 74 73 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 2e 22 | ackticks'.to.its.default.value." |
| 58a0 | 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 | ...(setq.org-blackfriday--code-b |
| 58c0 | 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 | lock-num-backticks.org-blackfrid |
| 58e0 | 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 64 65 66 | ay--code-block-num-backticks-def |
| 5900 | 61 75 6c 74 29 29 0a 28 61 64 64 2d 68 6f 6f 6b 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 62 65 66 | ault)).(add-hook.'org-export-bef |
| 5920 | 6f 72 65 2d 70 72 6f 63 65 73 73 69 6e 67 2d 68 6f 6f 6b 20 23 27 6f 72 67 2d 62 6c 61 63 6b 66 | ore-processing-hook.#'org-blackf |
| 5940 | 72 69 64 61 79 2d 2d 72 65 73 65 74 2d 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f | riday--reset-org-blackfriday--co |
| 5960 | 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 29 0a 0a 3b 3b 3b 3b 20 4d 61 | de-block-num-backticks)..;;;;.Ma |
| 5980 | 6b 65 20 43 53 53 20 70 72 6f 70 65 72 74 79 20 73 74 72 69 6e 67 0a 28 64 65 66 75 6e 20 6f 72 | ke.CSS.property.string.(defun.or |
| 59a0 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6d 61 6b 65 2d 63 73 73 2d 70 72 6f 70 65 72 74 79 | g-blackfriday--make-css-property |
| 59c0 | 2d 73 74 72 69 6e 67 20 28 70 72 6f 70 73 29 0a 20 20 22 52 65 74 75 72 6e 20 61 20 6c 69 73 74 | -string.(props)..."Return.a.list |
| 59e0 | 20 6f 66 20 43 53 53 20 70 72 6f 70 65 72 74 69 65 73 2c 20 61 73 20 61 20 73 74 72 69 6e 67 2e | .of.CSS.properties,.as.a.string. |
| 5a00 | 0a 50 52 4f 50 53 20 69 73 20 61 20 70 6c 69 73 74 20 77 68 65 72 65 20 76 61 6c 75 65 73 20 61 | .PROPS.is.a.plist.where.values.a |
| 5a20 | 72 65 20 65 69 74 68 65 72 20 73 74 72 69 6e 67 73 20 6f 72 20 6e 69 6c 2e 20 20 41 20 70 72 6f | re.either.strings.or.nil...A.pro |
| 5a40 | 70 0a 77 69 74 68 20 61 20 6e 69 6c 20 76 61 6c 75 65 20 77 69 6c 6c 20 62 65 20 6f 6d 69 74 74 | p.with.a.nil.value.will.be.omitt |
| 5a60 | 65 64 20 66 72 6f 6d 20 74 68 65 20 72 65 73 75 6c 74 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 | ed.from.the.result...This.functi |
| 5a80 | 6f 6e 20 69 73 20 61 64 61 70 74 65 64 20 66 72 6f 6d 20 60 6f 72 67 2d 68 74 6d 6c 2d 2d 6d 61 | on.is.adapted.from.`org-html--ma |
| 5aa0 | 6b 65 2d 61 74 74 72 69 62 75 74 65 2d 73 74 72 69 6e 67 27 2e 22 0a 20 20 28 6c 65 74 20 28 72 | ke-attribute-string'."...(let.(r |
| 5ac0 | 65 74 29 0a 20 20 20 20 28 64 6f 6c 69 73 74 20 28 69 74 65 6d 20 70 72 6f 70 73 20 28 6d 61 70 | et).....(dolist.(item.props.(map |
| 5ae0 | 63 6f 6e 63 61 74 20 23 27 69 64 65 6e 74 69 74 79 20 28 6e 72 65 76 65 72 73 65 20 72 65 74 29 | concat.#'identity.(nreverse.ret) |
| 5b00 | 20 22 20 22 29 29 0a 20 20 20 20 20 20 28 63 6f 6e 64 20 28 28 6e 75 6c 6c 20 69 74 65 6d 29 0a | .".")).......(cond.((null.item). |
| 5b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 70 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 | .............(pop.ret))......... |
| 5b40 | 20 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ....((symbolp.item)............. |
| 5b60 | 20 28 70 75 73 68 20 28 73 75 62 73 74 72 69 6e 67 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 69 | .(push.(substring.(symbol-name.i |
| 5b80 | 74 65 6d 29 20 31 29 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 | tem).1).ret)).............(t.... |
| 5ba0 | 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6b 65 79 20 28 63 61 72 20 72 65 74 29 29 0a | ..........(let.((key.(car.ret)). |
| 5bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 61 6c 75 65 20 28 72 65 70 6c 61 | ...................(value.(repla |
| 5be0 | 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ce-regexp-in-string............. |
| 5c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 22 22 20 22 26 71 75 6f 74 3b 22 20 28 6f 72 | ..............."\"".""".(or |
| 5c20 | 67 2d 68 74 6d 6c 2d 65 6e 63 6f 64 65 2d 70 6c 61 69 6e 2d 74 65 78 74 20 69 74 65 6d 29 29 29 | g-html-encode-plain-text.item))) |
| 5c40 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 63 61 72 20 72 65 74 20 28 66 6f | )................(setcar.ret.(fo |
| 5c60 | 72 6d 61 74 20 22 25 73 3a 20 25 73 3b 20 22 20 6b 65 79 20 76 61 6c 75 65 29 29 29 29 29 29 29 | rmat."%s:.%s;.".key.value))))))) |
| 5c80 | 29 0a 0a 3b 3b 3b 3b 20 47 65 74 20 43 53 53 20 73 74 72 69 6e 67 0a 28 64 65 66 75 6e 20 6f 72 | )..;;;;.Get.CSS.string.(defun.or |
| 5ca0 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 73 74 79 6c 65 2d 73 74 72 20 28 65 6c | g-blackfriday--get-style-str.(el |
| 5cc0 | 65 6d 29 0a 20 20 22 47 65 74 20 48 54 4d 4c 20 73 74 79 6c 65 20 74 61 67 20 73 74 72 69 6e 67 | em)..."Get.HTML.style.tag.string |
| 5ce0 | 20 66 6f 72 20 45 4c 45 4d 2e 0a 0a 49 66 20 23 2b 61 74 74 72 5f 68 74 6d 6c 20 69 73 20 75 73 | .for.ELEM...If.#+attr_html.is.us |
| 5d00 | 65 64 20 74 6f 20 73 70 65 63 69 66 79 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 63 6c 61 73 73 65 | ed.to.specify.one.or.more.classe |
| 5d20 | 73 20 66 6f 72 20 45 4c 45 4d 0a 61 6e 64 20 69 66 20 23 2b 61 74 74 72 5f 63 73 73 20 69 73 20 | s.for.ELEM.and.if.#+attr_css.is. |
| 5d40 | 61 6c 73 6f 20 75 73 65 64 2c 20 74 68 65 6e 20 61 6e 20 69 6e 6c 69 6e 65 20 73 74 79 6c 65 20 | also.used,.then.an.inline.style. |
| 5d60 | 73 74 72 69 6e 67 20 69 73 0a 72 65 74 75 72 6e 65 64 20 73 75 63 68 20 74 68 61 74 20 69 74 20 | string.is.returned.such.that.it. |
| 5d80 | 61 70 70 6c 69 65 73 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 43 53 53 20 74 6f 20 74 68 65 | applies.the.specified.CSS.to.the |
| 5da0 | 20 66 69 72 73 74 20 6f 66 0a 74 68 6f 73 65 20 73 70 65 63 69 66 69 65 64 20 63 6c 61 73 73 65 | .first.of.those.specified.classe |
| 5dc0 | 73 2e 0a 0a 52 65 74 75 72 6e 73 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 69 66 20 65 | s...Returns.an.empty.string.if.e |
| 5de0 | 69 74 68 65 72 20 23 2b 61 74 74 72 5f 68 74 6d 6c 20 6f 72 20 23 2b 61 74 74 72 5f 63 73 73 20 | ither.#+attr_html.or.#+attr_css. |
| 5e00 | 61 72 65 0a 6e 6f 74 20 75 73 65 64 2c 20 6f 72 20 69 66 20 61 20 63 6c 61 73 73 20 6e 61 6d 65 | are.not.used,.or.if.a.class.name |
| 5e20 | 20 69 73 20 6e 6f 74 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 23 2b 61 74 74 72 5f 68 74 6d 6c | .is.not.specified.in.#+attr_html |
| 5e40 | 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 68 74 6d 6c 2d 61 74 74 72 20 28 6f 72 67 2d 65 78 70 6f | ."...(let*.((html-attr.(org-expo |
| 5e60 | 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 65 6c 65 | rt-read-attribute.:attr_html.ele |
| 5e80 | 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6c 61 73 73 20 28 70 6c 69 73 74 2d 67 65 74 20 68 | m))..........(class.(plist-get.h |
| 5ea0 | 74 6d 6c 2d 61 74 74 72 20 3a 63 6c 61 73 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 66 69 72 73 | tml-attr.:class))..........(firs |
| 5ec0 | 74 2d 63 6c 61 73 73 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 70 20 63 6c 61 73 73 29 0a 20 20 | t-class.(when.(stringp.class)... |
| 5ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 20 28 73 70 6c 69 | ......................(car.(spli |
| 5f00 | 74 2d 73 74 72 69 6e 67 20 63 6c 61 73 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 74 79 | t-string.class))))..........(sty |
| 5f20 | 6c 65 2d 73 74 72 20 22 22 29 29 0a 20 20 20 20 28 77 68 65 6e 20 66 69 72 73 74 2d 63 6c 61 73 | le-str."")).....(when.first-clas |
| 5f40 | 73 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 63 73 73 2d 70 72 6f 70 73 20 28 6f 72 67 2d 65 | s.......(let*.((css-props.(org-e |
| 5f60 | 78 70 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 63 73 73 20 65 | xport-read-attribute.:attr_css.e |
| 5f80 | 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 73 73 2d 70 72 6f 70 73 2d 73 74 | lem))..............(css-props-st |
| 5fa0 | 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6d 61 6b 65 2d 63 73 73 2d 70 72 6f | r.(org-blackfriday--make-css-pro |
| 5fc0 | 70 65 72 74 79 2d 73 74 72 69 6e 67 20 63 73 73 2d 70 72 6f 70 73 29 29 29 0a 20 20 20 20 20 20 | perty-string.css-props)))....... |
| 5fe0 | 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 73 73 2d 70 72 6f | ..(when.(org-string-nw-p.css-pro |
| 6000 | 70 73 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 74 79 6c 65 2d 73 74 | ps-str)...........(setq.style-st |
| 6020 | 72 20 28 66 6f 72 6d 61 74 20 22 3c 73 74 79 6c 65 3e 2e 25 73 20 7b 20 25 73 20 7d 3c 2f 73 74 | r.(format."<style>.%s.{.%s.}</st |
| 6040 | 79 6c 65 3e 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | yle>\n\n"....................... |
| 6060 | 20 20 20 20 20 20 20 20 20 20 20 20 66 69 72 73 74 2d 63 6c 61 73 73 20 63 73 73 2d 70 72 6f 70 | ............first-class.css-prop |
| 6080 | 73 2d 73 74 72 29 29 29 29 29 0a 20 20 20 20 73 74 79 6c 65 2d 73 74 72 29 29 0a 0a 3b 3b 3b 3b | s-str))))).....style-str))..;;;; |
| 60a0 | 20 57 72 61 70 20 77 69 74 68 20 48 54 4d 4c 20 61 74 74 72 69 62 75 74 65 73 0a 28 64 65 66 75 | .Wrap.with.HTML.attributes.(defu |
| 60c0 | 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 | n.org-blackfriday--div-wrap-mayb |
| 60e0 | 65 20 28 65 6c 65 6d 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 57 72 61 70 20 74 | e.(elem.contents.info)..."Wrap.t |
| 6100 | 68 65 20 43 4f 4e 54 45 4e 54 53 20 77 69 74 68 20 48 54 4d 4c 20 64 69 76 20 74 61 67 73 2e 0a | he.CONTENTS.with.HTML.div.tags.. |
| 6120 | 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 | .INFO.is.a.plist.used.as.a.commu |
| 6140 | 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 54 68 65 20 64 69 76 20 77 72 61 70 70 | nication.channel...The.div.wrapp |
| 6160 | 69 6e 67 20 69 73 20 64 6f 6e 65 20 6f 6e 6c 79 20 69 66 20 48 54 4d 4c 20 61 74 74 72 69 62 75 | ing.is.done.only.if.HTML.attribu |
| 6180 | 74 65 73 20 61 72 65 20 73 65 74 20 66 6f 72 20 74 68 65 0a 45 4c 45 4d 20 4f 72 67 20 65 6c 65 | tes.are.set.for.the.ELEM.Org.ele |
| 61a0 | 6d 65 6e 74 20 75 73 69 6e 67 20 23 2b 61 74 74 72 5f 68 74 6d 6c 2e 0a 0a 49 66 20 23 2b 61 74 | ment.using.#+attr_html...If.#+at |
| 61c0 | 74 72 5f 63 73 73 20 69 73 20 61 6c 73 6f 20 75 73 65 64 2c 20 61 6e 64 20 69 66 20 6f 6e 65 20 | tr_css.is.also.used,.and.if.one. |
| 61e0 | 6f 72 20 6d 6f 72 65 20 63 6c 61 73 73 65 73 20 61 72 65 0a 73 70 65 63 69 66 69 65 64 20 69 6e | or.more.classes.are.specified.in |
| 6200 | 20 23 2b 61 74 74 72 5f 68 74 6d 6c 2c 20 74 68 65 6e 20 61 6e 20 69 6e 6c 69 6e 65 20 73 74 79 | .#+attr_html,.then.an.inline.sty |
| 6220 | 6c 65 20 69 73 20 61 6c 73 6f 20 69 6e 73 65 72 74 65 64 0a 74 68 61 74 20 61 70 70 6c 69 65 73 | le.is.also.inserted.that.applies |
| 6240 | 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 43 53 53 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 | .the.specified.CSS.to.the.first. |
| 6260 | 6f 66 20 74 68 6f 73 65 20 73 70 65 63 69 66 69 65 64 0a 63 6c 61 73 73 65 73 2e 0a 0a 49 66 20 | of.those.specified.classes...If. |
| 6280 | 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2c 20 61 6e 64 20 23 2b 61 74 74 72 5f 63 73 73 20 | CONTENTS.is.nil,.and.#+attr_css. |
| 62a0 | 69 73 20 75 73 65 64 2c 20 72 65 74 75 72 6e 20 6f 6e 6c 79 20 74 68 65 20 48 54 4d 4c 0a 73 74 | is.used,.return.only.the.HTML.st |
| 62c0 | 79 6c 65 20 74 61 67 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 65 6c 65 6d 2d 74 79 70 65 20 28 6f | yle.tag."...(let*.((elem-type.(o |
| 62e0 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 | rg-element-type.elem)).......... |
| 6300 | 28 68 74 6d 6c 2d 61 74 74 72 20 28 6c 65 74 20 28 28 61 74 74 72 31 20 28 6f 72 67 2d 65 78 70 | (html-attr.(let.((attr1.(org-exp |
| 6320 | 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 65 6c | ort-read-attribute.:attr_html.el |
| 6340 | 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 | em))).......................(whe |
| 6360 | 6e 20 28 65 71 75 61 6c 20 65 6c 65 6d 2d 74 79 70 65 20 27 70 61 72 61 67 72 61 70 68 29 0a 20 | n.(equal.elem-type.'paragraph).. |
| 6380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 | .......................;;.Remove |
| 63a0 | 20 22 74 61 72 67 65 74 22 20 61 6e 64 20 22 72 65 6c 22 20 61 74 74 72 69 62 75 74 65 73 20 66 | ."target".and."rel".attributes.f |
| 63c0 | 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rom.the......................... |
| 63e0 | 3b 3b 20 6c 69 73 74 20 6f 66 20 61 20 70 61 72 61 67 72 61 70 68 27 73 20 48 54 4d 4c 20 61 74 | ;;.list.of.a.paragraph's.HTML.at |
| 6400 | 74 72 69 62 75 74 65 73 20 61 73 20 74 68 65 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tributes.as.they................ |
| 6420 | 20 20 20 20 20 20 20 20 20 3b 3b 20 77 6f 75 6c 64 20 62 65 20 6d 65 61 6e 74 20 66 6f 72 20 6c | .........;;.would.be.meant.for.l |
| 6440 | 69 6e 6b 73 20 69 6e 73 69 64 65 20 74 68 65 20 70 61 72 61 67 72 61 70 68 0a 20 20 20 20 20 20 | inks.inside.the.paragraph....... |
| 6460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 6f 66 20 | ..................;;.instead.of. |
| 6480 | 74 68 65 20 70 61 72 61 67 72 61 70 68 20 69 74 73 65 6c 66 2e 0a 20 20 20 20 20 20 20 20 20 20 | the.paragraph.itself............ |
| 64a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 31 20 3a | ..............(plist-put.attr1.: |
| 64c0 | 74 61 72 67 65 74 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | target.nil)..................... |
| 64e0 | 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 31 20 3a 72 65 6c 20 6e 69 6c 29 0a 20 | ....(plist-put.attr1.:rel.nil).. |
| 6500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 | .......................;;.Remove |
| 6520 | 20 6f 74 68 65 72 20 61 74 74 72 69 62 75 74 65 73 20 66 72 6f 6d 20 74 68 65 20 6c 69 73 74 20 | .other.attributes.from.the.list. |
| 6540 | 6f 66 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | of.a.........................;;. |
| 6560 | 70 61 72 61 67 72 61 70 68 27 73 20 48 54 4d 4c 20 61 74 74 72 69 62 75 74 65 73 20 77 68 69 63 | paragraph's.HTML.attributes.whic |
| 6580 | 68 20 77 6f 75 6c 64 20 62 65 20 6d 65 61 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | h.would.be.meant................ |
| 65a0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 66 6f 72 20 74 68 65 20 69 6e 6c 69 6e 65 20 69 6d 61 67 65 | .........;;.for.the.inline.image |
| 65c0 | 73 20 69 6e 73 69 64 65 20 74 68 61 74 20 70 61 72 61 67 72 61 70 68 2e 0a 20 20 20 20 20 20 20 | s.inside.that.paragraph......... |
| 65e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 | .................(plist-put.attr |
| 6600 | 31 20 3a 73 72 63 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 1.:src.nil)..................... |
| 6620 | 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 31 20 3a 61 6c 74 20 6e 69 6c 29 0a 20 | ....(plist-put.attr1.:alt.nil).. |
| 6640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 | .......................(plist-pu |
| 6660 | 74 20 61 74 74 72 31 20 3a 68 65 69 67 68 74 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 | t.attr1.:height.nil)............ |
| 6680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 31 20 3a 77 | .............(plist-put.attr1.:w |
| 66a0 | 69 64 74 68 20 6e 69 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | idth.nil))...................... |
| 66c0 | 20 61 74 74 72 31 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 2d 61 74 74 72 2d 73 74 72 | .attr1))..........(html-attr-str |
| 66e0 | 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 | .(org-blackfriday--make-attribut |
| 6700 | 65 2d 73 74 72 69 6e 67 20 68 74 6d 6c 2d 61 74 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 | e-string.html-attr))..........(r |
| 6720 | 65 74 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 | et.contents)).....(when.(org-str |
| 6740 | 69 6e 67 2d 6e 77 2d 70 20 68 74 6d 6c 2d 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 28 73 | ing-nw-p.html-attr-str).......(s |
| 6760 | 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 | etq.ret.(concat.(org-blackfriday |
| 6780 | 2d 2d 67 65 74 2d 73 74 79 6c 65 2d 73 74 72 20 65 6c 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 | --get-style-str.elem)........... |
| 67a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 | ..............(if.contents...... |
| 67c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 | .......................(format." |
| 67e0 | 3c 64 69 76 20 25 73 3e 25 73 5c 6e 5c 6e 25 73 5c 6e 3c 2f 64 69 76 3e 22 0a 20 20 20 20 20 20 | <div.%s>%s\n\n%s\n</div>"....... |
| 6800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 74 | ..............................ht |
| 6820 | 6d 6c 2d 61 74 74 72 2d 73 74 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 65 78 | ml-attr-str.(org-blackfriday--ex |
| 6840 | 74 72 61 2d 64 69 76 2d 68 61 63 6b 20 69 6e 66 6f 29 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 | tra-div-hack.info).contents))... |
| 6860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 29 0a 20 20 20 20 | ......................"")))..... |
| 6880 | 72 65 74 29 29 0a 0a 3b 3b 3b 3b 20 53 61 6e 69 74 69 7a 65 20 55 52 4c 0a 28 64 65 66 75 6e 20 | ret))..;;;;.Sanitize.URL.(defun. |
| 68a0 | 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 75 72 6c 2d 73 61 6e 69 74 69 7a 65 2d 6d 61 | org-blackfriday--url-sanitize-ma |
| 68c0 | 79 62 65 20 28 69 6e 66 6f 20 75 72 6c 29 0a 20 20 22 53 61 6e 69 74 69 7a 65 20 74 68 65 20 55 | ybe.(info.url)..."Sanitize.the.U |
| 68e0 | 52 4c 20 62 79 20 72 65 70 6c 61 63 65 20 63 65 72 74 61 69 6e 20 63 68 61 72 61 63 74 65 72 73 | RL.by.replace.certain.characters |
| 6900 | 20 77 69 74 68 20 74 68 65 69 72 20 68 65 78 20 65 6e 63 6f 64 69 6e 67 2e 0a 0a 49 4e 46 4f 20 | .with.their.hex.encoding...INFO. |
| 6920 | 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 | is.a.plist.used.as.a.communicati |
| 6940 | 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 52 65 70 6c 61 63 65 73 20 5c 22 5f 5c 22 20 77 69 74 68 | on.channel...Replaces.\"_\".with |
| 6960 | 20 5c 22 25 35 46 5c 22 20 6f 6e 6c 79 20 69 66 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 20 | .\"%5F\".only.if.:hugo-goldmark. |
| 6980 | 69 73 20 6e 69 6c 2e 0a 0a 57 6f 72 6b 61 72 6f 75 6e 64 20 66 6f 72 20 42 6c 61 63 6b 66 72 69 | is.nil...Workaround.for.Blackfri |
| 69a0 | 64 61 79 20 62 75 67 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 75 73 73 72 | day.bug.https://github.com/russr |
| 69c0 | 6f 73 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 2f 69 73 73 75 65 73 2f 32 37 38 2e 22 0a 20 20 28 | oss/blackfriday/issues/278."...( |
| 69e0 | 69 66 20 28 6e 6f 74 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 70 6c 69 73 74 2d | if.(not.(org-blackfriday--plist- |
| 6a00 | 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 29 | get-true-p.info.:hugo-goldmark)) |
| 6a20 | 0a 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 | .......(replace-regexp-in-string |
| 6a40 | 20 22 5f 22 20 22 25 35 46 22 20 75 72 6c 29 0a 20 20 20 20 75 72 6c 29 29 0a 0a 3b 3b 3b 3b 20 | ."_"."%5F".url).....url))..;;;;. |
| 6a60 | 42 6c 61 63 6b 66 72 69 64 61 79 20 49 73 73 75 65 20 32 33 39 20 57 6f 72 6b 61 72 6f 75 6e 64 | Blackfriday.Issue.239.Workaround |
| 6a80 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 69 73 73 75 65 2d 32 | .(defun.org-blackfriday--issue-2 |
| 6aa0 | 33 39 2d 77 6f 72 6b 61 72 6f 75 6e 64 20 28 63 6f 64 65 20 70 61 72 65 6e 74 2d 74 79 70 65 29 | 39-workaround.(code.parent-type) |
| 6ac0 | 0a 20 20 22 50 72 65 66 69 78 20 4d 61 72 6b 64 6f 77 6e 20 6c 69 73 74 20 63 68 61 72 61 63 74 | ..."Prefix.Markdown.list.charact |
| 6ae0 | 65 72 73 20 77 69 74 68 20 7a 65 72 6f 20 77 69 64 74 68 20 73 70 61 63 65 2e 0a 0a 43 4f 44 45 | ers.with.zero.width.space...CODE |
| 6b00 | 20 69 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 6f 66 20 74 68 65 20 73 6f 75 72 63 65 20 6f 72 | .is.the.content.of.the.source.or |
| 6b20 | 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 2e 20 20 50 41 52 45 4e 54 2d 54 59 50 45 0a 69 73 20 | .example.block...PARENT-TYPE.is. |
| 6b40 | 74 68 65 20 74 79 70 65 20 6f 66 20 74 68 65 20 4f 72 67 20 65 6c 65 6d 65 6e 74 20 77 72 61 70 | the.type.of.the.Org.element.wrap |
| 6b60 | 70 69 6e 67 20 74 68 61 74 20 73 6f 75 72 63 65 20 6f 72 20 65 78 61 6d 70 6c 65 0a 62 6c 6f 63 | ping.that.source.or.example.bloc |
| 6b80 | 6b 2e 0a 0a 48 61 63 6b 20 74 6f 20 61 76 65 72 74 20 74 68 65 20 42 6c 61 63 6b 66 72 69 64 61 | k...Hack.to.avert.the.Blackfrida |
| 6ba0 | 79 20 62 75 67 3a 0a 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 75 73 73 72 6f | y.bug:.https://github.com/russro |
| 6bc0 | 73 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 2f 69 73 73 75 65 73 2f 32 33 39 2e 20 20 52 65 6d 6f | ss/blackfriday/issues/239...Remo |
| 6be0 | 76 65 20 74 68 69 73 0a 68 61 63 6b 20 6f 6e 63 65 20 74 68 61 74 20 69 73 73 75 65 20 69 73 20 | ve.this.hack.once.that.issue.is. |
| 6c00 | 72 65 73 6f 6c 76 65 64 2e 0a 0a 50 72 65 66 69 78 20 74 68 65 20 41 53 54 45 52 49 53 4b 20 28 | resolved...Prefix.the.ASTERISK.( |
| 6c20 | 30 78 32 61 29 2c 20 50 4c 55 53 20 53 49 47 4e 20 28 30 78 32 62 29 20 61 6e 64 20 48 59 50 48 | 0x2a),.PLUS.SIGN.(0x2b).and.HYPH |
| 6c40 | 45 4e 2d 4d 49 4e 55 53 0a 5c 28 30 78 32 64 29 20 63 68 61 72 61 63 74 65 72 73 20 77 69 74 68 | EN-MINUS.\(0x2d).characters.with |
| 6c60 | 20 5a 45 52 4f 20 57 49 44 54 48 20 53 50 41 43 45 20 28 30 78 32 30 30 62 29 2c 20 69 66 20 74 | .ZERO.WIDTH.SPACE.(0x200b),.if.t |
| 6c80 | 68 65 79 0a 61 70 70 65 61 72 20 61 74 20 42 4f 4c 20 28 66 6f 6c 6c 6f 77 69 6e 67 20 6f 70 74 | hey.appear.at.BOL.(following.opt |
| 6ca0 | 69 6f 6e 61 6c 20 73 70 61 63 65 73 29 2e 0a 0a 44 65 74 61 69 6c 73 3a 20 68 74 74 70 73 3a 2f | ional.spaces)...Details:.https:/ |
| 6cc0 | 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f | /github.com/kaushalmodi/ox-hugo/ |
| 6ce0 | 69 73 73 75 65 73 2f 35 37 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 | issues/57."...;;.(message."[ox-b |
| 6d00 | 66 20 62 66 69 73 73 75 65 20 32 33 39 20 44 42 47 5d 20 70 61 72 65 6e 74 20 74 79 70 65 3a 20 | f.bfissue.239.DBG].parent.type:. |
| 6d20 | 25 53 22 20 70 61 72 65 6e 74 2d 74 79 70 65 29 0a 20 20 28 69 66 20 28 65 71 75 61 6c 20 27 69 | %S".parent-type)...(if.(equal.'i |
| 6d40 | 74 65 6d 20 70 61 72 65 6e 74 2d 74 79 70 65 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 | tem.parent-type).......(setq.cod |
| 6d60 | 65 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5e 5c 5c | e.(replace-regexp-in-string."^\\ |
| 6d80 | 73 2d 2a 5b 2d 2b 2a 5d 20 22 20 22 e2 80 8b 5c 5c 26 22 20 63 6f 64 65 29 29 0a 20 20 20 20 3b | s-*[-+*]."."...\\&".code)).....; |
| 6da0 | 3b 20 54 68 65 72 65 27 73 20 61 20 5a 45 52 4f 20 57 49 44 54 48 20 53 50 41 43 45 20 63 68 61 | ;.There's.a.ZERO.WIDTH.SPACE.cha |
| 6dc0 | 72 20 28 30 78 32 30 30 62 29 20 68 65 72 65 20 20 20 20 20 5e 5e 2c 0a 20 20 20 20 3b 3b 20 20 | r.(0x200b).here.....^^,.....;;.. |
| 6de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 66 74 65 72 | ..........................(after |
| 6e00 | 20 c2 ab 22 c2 bb 2c 20 62 75 74 20 62 65 66 6f 72 65 20 c2 ab 5c 5c 26 22 c2 bb 20 61 62 6f 76 | ..."..,.but.before...\\&"...abov |
| 6e20 | 65 29 0a 20 20 20 20 3b 3b 20 49 74 27 73 20 6e 6f 74 20 76 69 73 69 62 6c 65 20 28 62 65 63 61 | e).....;;.It's.not.visible.(beca |
| 6e40 | 75 73 65 20 7a 65 72 6f 20 77 69 64 74 68 29 2c 20 62 75 74 20 69 74 27 73 20 74 68 65 72 65 2e | use.zero.width),.but.it's.there. |
| 6e60 | 0a 20 20 20 20 63 6f 64 65 29 29 0a 0a 3b 3b 3b 3b 20 47 65 74 20 52 65 66 65 72 65 6e 63 65 0a | .....code))..;;;;.Get.Reference. |
| 6e80 | 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 65 | (defun.org-blackfriday--get-refe |
| 6ea0 | 72 65 6e 63 65 20 28 65 6c 65 6d 29 0a 20 20 22 52 65 74 75 72 6e 20 61 20 72 65 66 65 72 65 6e | rence.(elem)..."Return.a.referen |
| 6ec0 | 63 65 20 66 6f 72 20 45 4c 45 4d 20 75 73 69 6e 67 20 69 74 73 20 5c 22 23 2b 6e 61 6d 65 5c 22 | ce.for.ELEM.using.its.\"#+name\" |
| 6ee0 | 20 69 66 20 61 76 61 69 6c 61 62 6c 65 2e 0a 0a 49 66 20 74 68 65 20 45 4c 45 4d 20 68 61 73 20 | .if.available...If.the.ELEM.has. |
| 6f00 | 69 74 73 20 60 6e 61 6d 65 27 20 64 65 66 69 6e 65 64 2c 20 74 68 65 20 61 6e 63 68 6f 72 20 69 | its.`name'.defined,.the.anchor.i |
| 6f20 | 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 69 74 3a 0a 0a 2d 20 49 66 20 74 68 65 20 60 6e 61 | s.derived.from.it:..-.If.the.`na |
| 6f40 | 6d 65 27 20 62 65 67 69 6e 73 20 77 69 74 68 20 5c 22 63 6f 64 65 5f 5f 5c 22 2c 20 5c 22 74 61 | me'.begins.with.\"code__\",.\"ta |
| 6f60 | 62 5f 5f 5c 22 2c 20 5c 22 74 61 62 6c 65 5f 5f 5c 22 2c 0a 20 20 5c 22 69 6d 67 5f 5f 5c 22 2c | b__\",.\"table__\",...\"img__\", |
| 6f80 | 20 5c 22 66 69 67 5f 5f 5c 22 20 6f 72 20 5c 22 66 69 67 75 72 65 5f 5f 5c 22 2c 20 74 68 61 74 | .\"fig__\".or.\"figure__\",.that |
| 6fa0 | 20 70 72 65 66 69 78 20 69 73 20 72 65 6d 6f 76 65 64 20 61 73 0a 20 20 74 68 69 73 20 66 75 6e | .prefix.is.removed.as...this.fun |
| 6fc0 | 63 74 69 6f 6e 20 61 64 64 73 20 69 74 73 20 6f 77 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 70 | ction.adds.its.own.appropriate.p |
| 6fe0 | 72 65 66 69 78 2e 0a 2d 20 55 6e 64 65 72 73 63 6f 72 65 73 20 61 6e 64 20 66 6f 72 77 61 72 64 | refix..-.Underscores.and.forward |
| 7000 | 20 73 6c 61 73 68 65 73 20 69 6e 20 74 68 65 20 60 6e 61 6d 65 27 20 67 65 74 20 72 65 70 6c 61 | .slashes.in.the.`name'.get.repla |
| 7020 | 63 65 64 20 77 69 74 68 0a 20 20 68 79 70 68 65 6e 73 2e 0a 0a 54 68 69 73 20 63 6f 6e 64 69 74 | ced.with...hyphens...This.condit |
| 7040 | 69 6f 6e 65 64 20 60 6e 61 6d 65 27 20 69 73 20 74 68 65 6e 20 61 70 70 65 6e 64 65 64 20 74 6f | ioned.`name'.is.then.appended.to |
| 7060 | 20 74 68 65 0a 63 6f 64 65 2f 74 61 62 6c 65 2f 66 69 67 75 72 65 2d 61 70 70 72 6f 70 72 69 61 | .the.code/table/figure-appropria |
| 7080 | 74 65 20 70 72 65 66 69 78 2c 20 61 6e 64 20 72 65 74 75 72 6e 65 64 2e 0a 0a 45 6c 73 65 2c 20 | te.prefix,.and.returned...Else,. |
| 70a0 | 72 65 74 75 72 6e 20 6e 69 6c 2e 0a 0a 54 68 65 20 72 65 74 75 72 6e 20 76 61 6c 75 65 2c 20 69 | return.nil...The.return.value,.i |
| 70c0 | 66 20 6e 6f 6e 2d 6e 69 6c 2c 20 69 73 20 61 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 | f.non-nil,.is.a.string."...(let. |
| 70e0 | 28 28 6e 61 6d 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6e 61 | ((name.(org-element-property.:na |
| 7100 | 6d 65 20 65 6c 65 6d 29 29 29 20 3b 56 61 6c 75 65 20 6f 66 20 23 2b 6e 61 6d 65 0a 20 20 20 20 | me.elem))).;Value.of.#+name..... |
| 7120 | 3b 3b 20 52 65 66 65 72 65 6e 63 65 20 63 61 6e 6e 6f 74 20 62 65 20 63 72 65 61 74 65 64 20 69 | ;;.Reference.cannot.be.created.i |
| 7140 | 66 20 23 2b 6e 61 6d 65 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 2e 0a 20 20 20 20 3b 3b 20 | f.#+name.does.not.exist......;;. |
| 7160 | 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 20 72 65 66 20 44 42 47 5d 20 6e 61 6d 65 3a 20 | (message."[ox-bf.ref.DBG].name:. |
| 7180 | 25 53 22 20 6e 61 6d 65 29 0a 20 20 20 20 28 77 68 65 6e 20 6e 61 6d 65 0a 20 20 20 20 20 20 28 | %S".name).....(when.name.......( |
| 71a0 | 6c 65 74 2a 20 28 28 65 6c 65 6d 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 | let*.((elem-type.(org-element-ty |
| 71c0 | 70 65 20 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 65 66 69 78 20 28 | pe.elem))..............(prefix.( |
| 71e0 | 6f 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 | or.(org-blackfriday--get-ref-pre |
| 7200 | 66 69 78 20 65 6c 65 6d 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | fix.elem-type).................. |
| 7220 | 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 6f 72 67 2d 25 73 2d 2d 22 20 28 73 79 6d 62 | ........(format."org-%s--".(symb |
| 7240 | 6f 6c 2d 6e 61 6d 65 20 65 6c 65 6d 2d 74 79 70 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ol-name.elem-type))))........... |
| 7260 | 20 20 20 28 6e 61 6d 65 31 20 28 6c 65 74 2a 20 28 28 74 6d 70 20 6e 61 6d 65 29 0a 20 20 20 20 | ...(name1.(let*.((tmp.name)..... |
| 7280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 | .......................;;.Remove |
| 72a0 | 20 63 6f 6d 6d 6f 6e 6c 79 20 75 73 65 64 20 63 6f 64 65 2f 74 61 62 6c 65 2f 66 69 67 75 72 65 | .commonly.used.code/table/figure |
| 72c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 | ............................;;.p |
| 72e0 | 72 65 66 69 78 65 73 20 69 6e 20 74 68 65 20 23 2b 6e 61 6d 65 20 69 74 73 65 6c 66 2e 0a 20 20 | refixes.in.the.#+name.itself.... |
| 7300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 6d 70 20 28 72 | .........................(tmp.(r |
| 7320 | 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 5c 5c 28 63 | eplace-regexp-in-string."\\`\\(c |
| 7340 | 6f 64 65 5c 5c 7c 74 61 62 5c 5c 7c 74 61 62 6c 65 5c 5c 7c 69 6d 67 5c 5c 7c 66 69 67 5c 5c 7c | ode\\|tab\\|table\\|img\\|fig\\| |
| 7360 | 66 69 67 75 72 65 5c 5c 7c 5c 5c 29 5f 5f 22 20 22 22 20 74 6d 70 29 29 0a 20 20 20 20 20 20 20 | figure\\|\\)__"."".tmp))........ |
| 7380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 72 65 66 65 72 20 74 6f | ....................;;.Prefer.to |
| 73a0 | 20 75 73 65 20 68 79 70 68 65 6e 73 20 69 6e 73 74 65 61 64 20 6f 66 0a 20 20 20 20 20 20 20 20 | .use.hyphens.instead.of......... |
| 73c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 75 6e 64 65 72 73 63 6f 72 65 | ...................;;.underscore |
| 73e0 | 73 20 69 6e 20 61 6e 63 68 6f 72 73 2e 20 20 41 6c 73 6f 20 72 65 70 6c 61 63 65 20 2f 0a 20 20 | s.in.anchors...Also.replace./... |
| 7400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 68 61 72 | .........................;;.char |
| 7420 | 73 20 77 69 74 68 20 68 79 70 68 65 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.with.hyphens.................. |
| 7440 | 20 20 20 20 20 20 20 20 20 20 20 28 74 6d 70 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d | ...........(tmp.(replace-regexp- |
| 7460 | 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5f 2f 5d 22 20 22 2d 22 20 74 6d 70 29 29 29 0a 20 20 20 20 | in-string."[_/]"."-".tmp)))..... |
| 7480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6d 70 29 29 29 0a 20 20 20 20 20 20 20 | ..................tmp)))........ |
| 74a0 | 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 22 20 70 72 65 66 69 78 20 6e 61 6d 65 31 29 29 29 29 | .(format."%s%s".prefix.name1)))) |
| 74c0 | 29 0a 0a 3b 3b 3b 3b 20 54 72 61 6e 73 6c 61 74 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 | )..;;;;.Translate.(defun.org-bla |
| 74e0 | 63 6b 66 72 69 64 61 79 2d 2d 74 72 61 6e 73 6c 61 74 65 20 28 74 79 70 65 20 69 6e 66 6f 20 26 | ckfriday--translate.(type.info.& |
| 7500 | 6f 70 74 69 6f 6e 61 6c 20 73 74 72 29 0a 20 20 22 52 65 74 75 72 6e 20 74 72 61 6e 73 6c 61 74 | optional.str)..."Return.translat |
| 7520 | 65 64 20 73 74 72 69 6e 67 20 66 6f 72 20 65 6c 65 6d 65 6e 74 20 54 59 50 45 20 74 6f 20 74 68 | ed.string.for.element.TYPE.to.th |
| 7540 | 65 20 6c 61 6e 67 20 73 65 74 20 62 79 20 5c 22 23 2b 6c 61 6e 67 75 61 67 65 5c 22 2e 0a 0a 54 | e.lang.set.by.\"#+language\"...T |
| 7560 | 59 50 45 20 69 73 20 74 68 65 20 4f 72 67 20 65 6c 65 6d 65 6e 74 20 74 79 70 65 2e 0a 0a 49 4e | YPE.is.the.Org.element.type...IN |
| 7580 | 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c | FO.is.a.plist.holding.contextual |
| 75a0 | 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 49 66 20 54 59 50 45 20 69 73 20 60 73 72 63 2d 62 | .information...If.TYPE.is.`src-b |
| 75c0 | 6c 6f 63 6b 27 20 61 6e 64 20 69 66 20 5c 22 4c 69 73 74 69 6e 67 5c 22 20 74 72 61 6e 73 6c 61 | lock'.and.if.\"Listing\".transla |
| 75e0 | 74 65 73 20 74 6f 0a 5c 22 4c 69 73 74 69 6e 67 5c 22 2c 20 74 72 61 6e 73 6c 61 74 65 20 74 68 | tes.to.\"Listing\",.translate.th |
| 7600 | 65 20 73 74 72 69 6e 67 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 60 73 72 63 2d 62 6c | e.string.associated.with.`src-bl |
| 7620 | 6f 63 6b 27 0a 66 72 6f 6d 20 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6f 72 67 2d | ock'.from.`org-blackfriday--org- |
| 7640 | 65 6c 65 6d 65 6e 74 2d 73 74 72 69 6e 67 27 2e 0a 0a 45 6c 73 65 20 69 66 20 54 59 50 45 20 6b | element-string'...Else.if.TYPE.k |
| 7660 | 65 79 20 65 78 69 73 74 73 20 69 6e 20 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6f | ey.exists.in.`org-blackfriday--o |
| 7680 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 73 74 72 69 6e 67 27 2c 0a 72 65 74 75 72 6e 20 74 68 65 20 74 | rg-element-string',.return.the.t |
| 76a0 | 72 61 6e 73 6c 61 74 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 6f 66 20 74 68 65 20 73 74 72 69 | ranslated.version.of.of.the.stri |
| 76c0 | 6e 67 20 61 73 73 6f 63 69 61 74 65 64 20 69 6e 20 74 68 61 74 0a 61 6c 69 73 74 2e 0a 0a 45 6c | ng.associated.in.that.alist...El |
| 76e0 | 73 65 20 69 66 20 54 59 50 45 20 6b 65 79 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 20 69 6e | se.if.TYPE.key.does.not.exist.in |
| 7700 | 0a 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 73 | .`org-blackfriday--org-element-s |
| 7720 | 74 72 69 6e 67 27 2c 20 6f 72 20 69 66 20 54 59 50 45 20 69 73 20 6e 69 6c 2c 20 62 75 74 20 53 | tring',.or.if.TYPE.is.nil,.but.S |
| 7740 | 54 52 0a 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 65 74 75 72 6e 20 74 68 65 20 74 72 61 6e 73 6c | TR.is.non-nil,.return.the.transl |
| 7760 | 61 74 69 6f 6e 20 6f 66 20 53 54 52 20 64 69 72 65 63 74 6c 79 2e 0a 0a 45 6c 73 65 20 72 65 74 | ation.of.STR.directly...Else.ret |
| 7780 | 75 72 6e 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 28 28 65 | urn.an.empty.string."...(let.((e |
| 77a0 | 6c 65 6d 2d 73 74 72 20 28 63 64 72 20 28 61 73 73 6f 63 20 74 79 70 65 20 6f 72 67 2d 62 6c 61 | lem-str.(cdr.(assoc.type.org-bla |
| 77c0 | 63 6b 66 72 69 64 61 79 2d 2d 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 73 74 72 69 6e 67 29 29 29 29 | ckfriday--org-element-string)))) |
| 77e0 | 0a 20 20 20 20 28 69 66 20 65 6c 65 6d 2d 73 74 72 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a | .....(if.elem-str.........(cond. |
| 7800 | 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 27 73 72 63 2d 62 6c 6f 63 6b 20 74 79 70 65 | .........((equal.'src-block.type |
| 7820 | 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 69 73 74 69 6e 67 2d 74 72 20 28 6f | )...........(let.((listing-tr.(o |
| 7840 | 72 67 2d 68 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 74 65 20 22 4c 69 73 74 69 6e 67 22 20 69 6e 66 | rg-html--translate."Listing".inf |
| 7860 | 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 22 4c | o))).............(if.(string=."L |
| 7880 | 69 73 74 69 6e 67 22 20 6c 69 73 74 69 6e 67 2d 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | isting".listing-tr)............. |
| 78a0 | 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 74 65 20 65 6c 65 6d 2d 73 74 | ....(org-html--translate.elem-st |
| 78c0 | 72 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 73 74 69 6e 67 2d 74 72 | r.info)...............listing-tr |
| 78e0 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 | )))..........(t...........(org-h |
| 7900 | 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 74 65 20 65 6c 65 6d 2d 73 74 72 20 69 6e 66 6f 29 29 29 0a | tml--translate.elem-str.info))). |
| 7920 | 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 70 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 | ......(if.(stringp.str)......... |
| 7940 | 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 74 65 20 73 74 72 20 69 6e 66 6f 29 | ..(org-html--translate.str.info) |
| 7960 | 0a 20 20 20 20 20 20 20 20 22 22 29 29 29 29 0a 0a 3b 3b 3b 3b 20 43 6f 6e 76 65 72 74 20 73 74 | .........""))))..;;;;.Convert.st |
| 7980 | 72 69 6e 67 20 74 6f 20 61 20 76 61 6c 69 64 20 61 6e 63 68 6f 72 20 6e 61 6d 65 0a 28 64 65 66 | ring.to.a.valid.anchor.name.(def |
| 79a0 | 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 76 61 6c 69 64 2d 68 74 6d 6c 2d 61 | un.org-blackfriday--valid-html-a |
| 79c0 | 6e 63 68 6f 72 2d 6e 61 6d 65 20 28 73 74 72 29 0a 20 20 22 54 75 72 6e 20 53 54 52 20 69 6e 74 | nchor-name.(str)..."Turn.STR.int |
| 79e0 | 6f 20 61 20 76 61 6c 69 64 20 48 54 4d 4c 20 61 6e 63 68 6f 72 20 6e 61 6d 65 2e 0a 0a 52 65 70 | o.a.valid.HTML.anchor.name...Rep |
| 7a00 | 6c 61 63 65 73 20 69 6e 76 61 6c 69 64 20 63 68 61 72 61 63 74 65 72 73 20 77 69 74 68 20 5c 22 | laces.invalid.characters.with.\" |
| 7a20 | 2d 5c 22 2e 20 20 54 68 65 20 72 65 74 75 72 6e 65 64 20 61 6e 63 68 6f 72 20 6e 61 6d 65 0a 77 | -\"...The.returned.anchor.name.w |
| 7a40 | 69 6c 6c 20 61 6c 73 6f 20 6e 65 76 65 72 20 62 65 67 69 6e 20 6f 72 20 65 6e 64 20 77 69 74 68 | ill.also.never.begin.or.end.with |
| 7a60 | 20 5c 22 2d 5c 22 2e 0a 22 0a 20 20 28 6f 72 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 73 74 | .\"-\".."...(or.(and.(stringp.st |
| 7a80 | 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 74 72 69 6d 0a 20 20 20 20 20 | r)............(string-trim...... |
| 7aa0 | 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 | .......(replace-regexp-in-string |
| 7ac0 | 20 22 5b 5e 61 2d 7a 41 2d 5a 30 2d 39 5f 2d 2e 5d 22 20 22 2d 22 20 73 74 72 29 0a 20 20 20 20 | ."[^a-zA-Z0-9_-.]"."-".str)..... |
| 7ae0 | 20 20 20 20 20 20 20 20 22 2d 22 29 29 0a 20 20 20 20 20 20 22 22 29 29 0a 0a 3b 3b 20 52 65 74 | ........"-")).......""))..;;.Ret |
| 7b00 | 75 72 6e 20 48 54 4d 4c 20 73 70 61 6e 20 74 61 67 73 20 66 6f 72 20 6c 69 6e 6b 20 74 61 72 67 | urn.HTML.span.tags.for.link.targ |
| 7b20 | 65 74 73 2e 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6c 69 6e | ets..(defun.org-blackfriday--lin |
| 7b40 | 6b 2d 74 61 72 67 65 74 20 28 61 74 74 72 20 26 6f 70 74 69 6f 6e 61 6c 20 64 65 73 63 29 0a 20 | k-target.(attr.&optional.desc).. |
| 7b60 | 20 22 46 6f 72 6d 61 74 20 61 20 6c 69 6e 6b 20 74 61 72 67 65 74 20 69 6e 20 48 54 4d 4c 2e 0a | ."Format.a.link.target.in.HTML.. |
| 7b80 | 0a 41 54 54 52 20 69 73 20 61 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 | .ATTR.is.a.string.representing.t |
| 7ba0 | 68 65 20 61 74 74 72 69 62 75 74 65 73 20 6f 66 20 74 68 65 20 74 61 72 67 65 74 20 48 54 4d 4c | he.attributes.of.the.target.HTML |
| 7bc0 | 20 74 61 67 2e 0a 44 45 53 43 20 69 73 20 65 69 74 68 65 72 20 6e 69 6c 20 6f 72 20 74 68 65 20 | .tag..DESC.is.either.nil.or.the. |
| 7be0 | 64 65 73 63 72 69 70 74 69 6f 6e 20 73 74 72 69 6e 67 20 6f 66 20 74 68 65 20 74 61 72 67 65 74 | description.string.of.the.target |
| 7c00 | 2e 22 0a 20 20 28 66 6f 72 6d 61 74 20 22 3c 73 70 61 6e 25 73 3e 25 73 3c 2f 73 70 61 6e 3e 22 | ."...(format."<span%s>%s</span>" |
| 7c20 | 20 28 6f 72 20 61 74 74 72 20 22 22 29 20 28 6f 72 20 64 65 73 63 20 22 22 29 29 29 0a 0a 28 64 | .(or.attr."").(or.desc."")))..(d |
| 7c40 | 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 | efun.org-blackfriday--make-attri |
| 7c60 | 62 75 74 65 2d 73 74 72 69 6e 67 20 28 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 22 52 65 74 75 | bute-string.(attributes)..."Retu |
| 7c80 | 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 61 74 74 72 69 62 75 74 65 73 2c 20 61 73 20 61 20 73 74 | rn.a.list.of.attributes,.as.a.st |
| 7ca0 | 72 69 6e 67 2e 0a 41 54 54 52 49 42 55 54 45 53 20 69 73 20 61 20 70 6c 69 73 74 20 77 68 65 72 | ring..ATTRIBUTES.is.a.plist.wher |
| 7cc0 | 65 20 76 61 6c 75 65 73 20 61 72 65 20 65 69 74 68 65 72 20 73 74 72 69 6e 67 73 20 6f 72 20 6e | e.values.are.either.strings.or.n |
| 7ce0 | 69 6c 2e 0a 0a 41 6e 20 61 74 74 72 69 62 75 74 65 20 77 69 74 68 20 61 20 6e 69 6c 20 76 61 6c | il...An.attribute.with.a.nil.val |
| 7d00 | 75 65 20 77 69 6c 6c 20 62 65 20 6f 6d 69 74 74 65 64 20 66 72 6f 6d 20 74 68 65 20 72 65 73 75 | ue.will.be.omitted.from.the.resu |
| 7d20 | 6c 74 2e 0a 0a 41 6e 20 61 74 74 72 69 62 75 74 65 20 77 69 74 68 20 61 20 5c 22 74 5c 22 20 76 | lt...An.attribute.with.a.\"t\".v |
| 7d40 | 61 6c 75 65 20 77 69 6c 6c 20 62 65 20 61 64 64 65 64 20 61 73 20 61 20 6b 65 79 2d 6f 6e 6c 79 | alue.will.be.added.as.a.key-only |
| 7d60 | 20 6f 72 0a 62 6f 6f 6c 65 61 6e 20 61 74 74 72 69 62 75 74 65 2e 0a 0a 54 68 69 73 20 66 75 6e | .or.boolean.attribute...This.fun |
| 7d80 | 63 74 69 6f 6e 20 69 73 20 6d 6f 73 74 6c 79 20 61 20 63 6f 70 79 20 6f 66 0a 60 6f 72 67 2d 68 | ction.is.mostly.a.copy.of.`org-h |
| 7da0 | 74 6d 6c 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 65 2d 73 74 72 69 6e 67 27 2c 20 65 78 63 | tml--make-attribute-string',.exc |
| 7dc0 | 65 70 74 20 74 68 61 74 20 69 74 20 70 61 72 73 65 73 20 60 3a 66 6f 6f 0a 5c 22 74 5c 22 27 20 | ept.that.it.parses.`:foo.\"t\"'. |
| 7de0 | 61 73 20 73 65 74 74 69 6e 67 20 61 20 62 6f 6f 6c 65 61 6e 20 5c 22 66 6f 6f 5c 22 20 61 74 74 | as.setting.a.boolean.\"foo\".att |
| 7e00 | 72 69 62 75 74 65 2e 22 0a 20 20 28 6c 65 74 20 28 6f 75 74 70 75 74 29 0a 20 20 20 20 28 64 6f | ribute."...(let.(output).....(do |
| 7e20 | 6c 69 73 74 20 28 69 74 65 6d 20 61 74 74 72 69 62 75 74 65 73 20 28 6d 61 70 63 6f 6e 63 61 74 | list.(item.attributes.(mapconcat |
| 7e40 | 20 27 69 64 65 6e 74 69 74 79 20 28 6e 72 65 76 65 72 73 65 20 6f 75 74 70 75 74 29 20 22 20 22 | .'identity.(nreverse.output)."." |
| 7e60 | 29 29 0a 20 20 20 20 20 20 28 63 6f 6e 64 20 28 28 6e 75 6c 6c 20 69 74 65 6d 29 0a 20 20 20 20 | )).......(cond.((null.item)..... |
| 7e80 | 20 20 20 20 20 20 20 20 20 28 70 6f 70 20 6f 75 74 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 20 | .........(pop.output)).......... |
| 7ea0 | 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...((symbolp.item).............. |
| 7ec0 | 28 70 75 73 68 20 28 73 75 62 73 74 72 69 6e 67 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 69 74 | (push.(substring.(symbol-name.it |
| 7ee0 | 65 6d 29 20 31 29 20 6f 75 74 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e | em).1).output)).............((an |
| 7f00 | 64 20 28 73 74 72 69 6e 67 70 20 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.(stringp.item)................ |
| 7f20 | 20 20 20 28 73 74 72 69 6e 67 3d 20 69 74 65 6d 20 22 74 22 29 29 20 3b 45 78 61 6d 70 6c 65 3a | ...(string=.item."t")).;Example: |
| 7f40 | 20 28 3a 63 6f 6e 74 72 6f 6c 20 22 74 22 29 20 2d 3e 20 22 63 6f 6e 74 72 6f 6c 22 0a 20 20 20 | .(:control."t").->."control".... |
| 7f60 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 20 6e 6f 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 | ..........;;.Do.nothing......... |
| 7f80 | 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 | .....).............(t........... |
| 7fa0 | 20 20 20 28 6c 65 74 20 28 28 6b 65 79 20 28 63 61 72 20 6f 75 74 70 75 74 29 29 0a 20 20 20 20 | ...(let.((key.(car.output))..... |
| 7fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 61 6c 75 65 20 28 72 65 70 6c 61 63 65 2d 72 | ...............(value.(replace-r |
| 7fe0 | 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | egexp-in-string................. |
| 8000 | 20 20 20 20 20 20 20 20 20 20 20 22 5c 22 22 20 22 26 71 75 6f 74 3b 22 20 28 6f 72 67 2d 68 74 | ..........."\"".""".(org-ht |
| 8020 | 6d 6c 2d 65 6e 63 6f 64 65 2d 70 6c 61 69 6e 2d 74 65 78 74 20 69 74 65 6d 29 29 29 29 0a 20 20 | ml-encode-plain-text.item))))... |
| 8040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 63 61 72 20 6f 75 74 70 75 74 20 28 66 6f 72 | .............(setcar.output.(for |
| 8060 | 6d 61 74 20 22 25 73 3d 5c 22 25 73 5c 22 22 20 6b 65 79 20 76 61 6c 75 65 29 29 29 29 29 29 29 | mat."%s=\"%s\"".key.value))))))) |
| 8080 | 29 0a 0a 3b 3b 3b 3b 20 43 6f 6e 76 65 72 74 20 4f 72 67 20 73 74 72 69 6e 67 20 74 6f 20 48 54 | )..;;;;.Convert.Org.string.to.HT |
| 80a0 | 4d 4c 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6f 72 67 2d 63 | ML.(defun.org-blackfriday--org-c |
| 80c0 | 6f 6e 74 65 6e 74 73 2d 74 6f 2d 68 74 6d 6c 20 28 65 6c 29 0a 20 20 22 43 6f 6e 76 65 72 74 20 | ontents-to-html.(el)..."Convert. |
| 80e0 | 4f 72 67 20 63 6f 6e 74 65 6e 74 73 20 69 6e 20 45 4c 20 65 6c 65 6d 65 6e 74 20 74 6f 20 48 54 | Org.contents.in.EL.element.to.HT |
| 8100 | 4d 4c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6f 72 67 2d 73 74 72 20 28 6f 72 67 2d 65 6c 65 6d | ML."...(let*.((org-str.(org-elem |
| 8120 | 65 6e 74 2d 69 6e 74 65 72 70 72 65 74 2d 64 61 74 61 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d | ent-interpret-data.(org-element- |
| 8140 | 63 6f 6e 74 65 6e 74 73 20 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 2d 73 74 | contents.el)))..........(html-st |
| 8160 | 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 73 74 72 69 6e 67 2d 61 73 20 6f 72 67 2d 73 74 72 20 | r.(org-export-string-as.org-str. |
| 8180 | 27 68 74 6d 6c 20 3a 62 6f 64 79 2d 6f 6e 6c 79 29 29 29 0a 20 20 20 20 68 74 6d 6c 2d 73 74 72 | 'html.:body-only))).....html-str |
| 81a0 | 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 46 69 6c 74 65 72 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 20 | )).....;;;.Filter.Functions..;;. |
| 81c0 | 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 61 64 61 70 74 65 64 20 66 72 6f 6d 20 60 6f | This.function.is.adapted.from.`o |
| 81e0 | 72 67 2d 6d 64 2d 73 65 70 61 72 61 74 65 2d 65 6c 65 6d 65 6e 74 73 27 2e 0a 28 64 65 66 75 6e | rg-md-separate-elements'..(defun |
| 8200 | 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 65 70 61 72 61 74 65 2d 65 6c 65 6d 65 6e | .org-blackfriday-separate-elemen |
| 8220 | 74 73 20 28 74 72 65 65 20 5f 62 61 63 6b 65 6e 64 20 69 6e 66 6f 29 0a 20 20 22 46 69 78 20 62 | ts.(tree._backend.info)..."Fix.b |
| 8240 | 6c 61 6e 6b 20 6c 69 6e 65 73 20 62 65 74 77 65 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 54 52 | lank.lines.between.elements...TR |
| 8260 | 45 45 20 69 73 20 74 68 65 20 70 61 72 73 65 20 74 72 65 65 20 62 65 69 6e 67 20 65 78 70 6f 72 | EE.is.the.parse.tree.being.expor |
| 8280 | 74 65 64 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 | ted...INFO.is.a.plist.used.as.a. |
| 82a0 | 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 45 6e 66 6f 72 63 65 20 | communication.channel...Enforce. |
| 82c0 | 61 20 62 6c 61 6e 6b 20 6c 69 6e 65 20 62 65 74 77 65 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 20 20 | a.blank.line.between.elements... |
| 82e0 | 54 68 65 72 65 20 61 72 65 20 33 20 65 78 63 65 70 74 69 6f 6e 73 0a 74 6f 20 74 68 69 73 20 72 | There.are.3.exceptions.to.this.r |
| 8300 | 75 6c 65 3a 0a 0a 20 20 31 2e 20 50 72 65 73 65 72 76 65 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 20 | ule:....1..Preserve.blank.lines. |
| 8320 | 62 65 74 77 65 65 6e 20 73 69 62 6c 69 6e 67 20 69 74 65 6d 73 20 69 6e 20 61 20 70 6c 61 69 6e | between.sibling.items.in.a.plain |
| 8340 | 20 6c 69 73 74 2c 0a 0a 20 20 32 2e 20 49 6e 20 61 6e 20 69 74 65 6d 2c 20 72 65 6d 6f 76 65 20 | .list,....2..In.an.item,.remove. |
| 8360 | 61 6e 79 20 62 6c 61 6e 6b 20 6c 69 6e 65 20 62 65 66 6f 72 65 20 74 68 65 20 76 65 72 79 20 66 | any.blank.line.before.the.very.f |
| 8380 | 69 72 73 74 0a 20 20 20 20 20 70 61 72 61 67 72 61 70 68 20 61 6e 64 20 74 68 65 20 6e 65 78 74 | irst......paragraph.and.the.next |
| 83a0 | 20 73 75 62 2d 6c 69 73 74 20 77 68 65 6e 20 74 68 65 20 6c 61 74 74 65 72 20 65 6e 64 73 20 74 | .sub-list.when.the.latter.ends.t |
| 83c0 | 68 65 0a 20 20 20 20 20 63 75 72 72 65 6e 74 20 69 74 65 6d 2e 0a 0a 20 20 33 2e 20 49 6e 20 61 | he......current.item.....3..In.a |
| 83e0 | 6e 20 69 74 65 6d 2c 20 69 66 20 61 20 70 61 72 61 67 72 61 70 68 20 69 73 20 69 6d 6d 65 64 69 | n.item,.if.a.paragraph.is.immedi |
| 8400 | 61 74 65 6c 79 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 6e 20 73 72 63 0a 20 20 20 20 20 6f 72 | ately.followed.by.an.src......or |
| 8420 | 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 2c 20 64 6f 6e 27 74 20 61 64 64 20 61 20 62 6c 61 6e | .example.block,.don't.add.a.blan |
| 8440 | 6b 20 6c 69 6e 65 20 61 66 74 65 72 20 74 68 65 20 70 61 72 61 67 72 61 70 68 2e 0a 0a 20 20 34 | k.line.after.the.paragraph.....4 |
| 8460 | 2e 20 49 6e 20 61 6e 20 69 74 65 6d 2c 20 69 66 20 61 6e 20 73 72 63 20 6f 72 20 65 78 61 6d 70 | ..In.an.item,.if.an.src.or.examp |
| 8480 | 6c 65 20 62 6c 6f 63 6b 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 61 20 63 61 70 74 69 6f 6e 0a | le.block.doesn't.have.a.caption. |
| 84a0 | 20 20 20 20 20 61 6e 64 20 69 73 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 66 6f 6c 6c 6f 77 65 64 | .....and.is.immediately.followed |
| 84c0 | 20 62 79 20 61 20 70 61 72 61 67 72 61 70 68 2c 20 64 6f 6e 27 74 20 61 64 64 20 61 20 62 6c 61 | .by.a.paragraph,.don't.add.a.bla |
| 84e0 | 6e 6b 0a 20 20 20 20 20 6c 69 6e 65 20 61 66 74 65 72 20 74 68 61 74 20 73 72 63 20 6f 72 20 65 | nk......line.after.that.src.or.e |
| 8500 | 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 2e 22 0a 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 | xample.block."...(org-element-ma |
| 8520 | 70 20 74 72 65 65 20 28 72 65 6d 71 20 27 69 74 65 6d 20 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 | p.tree.(remq.'item.org-element-a |
| 8540 | 6c 6c 2d 65 6c 65 6d 65 6e 74 73 29 20 3b 45 78 63 65 70 74 69 6f 6e 20 31 20 69 6e 20 74 68 65 | ll-elements).;Exception.1.in.the |
| 8560 | 20 64 6f 63 2d 73 74 72 69 6e 67 0a 20 20 20 20 28 6c 61 6d 62 64 61 20 28 65 6c 29 0a 20 20 20 | .doc-string.....(lambda.(el).... |
| 8580 | 20 20 20 28 6c 65 74 20 28 28 70 6f 73 74 2d 62 6c 61 6e 6b 20 28 63 6f 6e 64 0a 20 20 20 20 20 | ...(let.((post-blank.(cond...... |
| 85a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 78 63 65 70 74 69 6f 6e | ....................;;.Exception |
| 85c0 | 20 32 20 69 6e 20 74 68 65 20 64 6f 63 2d 73 74 72 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 | .2.in.the.doc-string............ |
| 85e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 20 28 6f 72 67 2d 65 6c | ...............((and.(eq.(org-el |
| 8600 | 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 29 20 27 70 61 72 61 67 72 61 70 68 29 0a 20 20 20 20 20 | ement-type.el).'paragraph)...... |
| 8620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 20 28 6f | ..........................(eq.(o |
| 8640 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f | rg-element-type.(org-element-pro |
| 8660 | 70 65 72 74 79 20 3a 70 61 72 65 6e 74 20 65 6c 29 29 20 27 69 74 65 6d 29 0a 20 20 20 20 20 20 | perty.:parent.el)).'item)....... |
| 8680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 | .........................(org-ex |
| 86a0 | 70 6f 72 74 2d 66 69 72 73 74 2d 73 69 62 6c 69 6e 67 2d 70 20 65 6c 20 69 6e 66 6f 29 0a 20 20 | port-first-sibling-p.el.info)... |
| 86c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 | .............................(le |
| 86e0 | 74 20 28 28 6e 65 78 74 2d 65 6c 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 65 78 74 | t.((next-el.(org-export-get-next |
| 8700 | 2d 65 6c 65 6d 65 6e 74 20 65 6c 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | -element.el.info)))............. |
| 8720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 65 71 20 28 6f | .....................(and.(eq.(o |
| 8740 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 6e 65 78 74 2d 65 6c 29 20 27 70 6c 61 69 6e 2d | rg-element-type.next-el).'plain- |
| 8760 | 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | list)........................... |
| 8780 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 | ............(not.(org-export-get |
| 87a0 | 2d 6e 65 78 74 2d 65 6c 65 6d 65 6e 74 20 6e 65 78 74 2d 65 6c 20 69 6e 66 6f 29 29 29 29 29 0a | -next-element.next-el.info))))). |
| 87c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 29 0a 20 20 20 | ..........................0).... |
| 87e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 78 63 65 70 74 69 | ......................;;.Excepti |
| 8800 | 6f 6e 20 33 20 69 6e 20 74 68 65 20 64 6f 63 2d 73 74 72 69 6e 67 20 28 70 61 72 61 67 72 61 70 | on.3.in.the.doc-string.(paragrap |
| 8820 | 68 20 2d 3e 20 73 72 63 2d 62 6c 6f 63 6b 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | h.->.src-block)................. |
| 8840 | 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 | ..........((and.(eq.(org-element |
| 8860 | 2d 74 79 70 65 20 65 6c 29 20 27 70 61 72 61 67 72 61 70 68 29 0a 20 20 20 20 20 20 20 20 20 20 | -type.el).'paragraph)........... |
| 8880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 20 28 6f 72 67 2d 65 6c | .....................(eq.(org-el |
| 88a0 | 65 6d 65 6e 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 | ement-type.(org-element-property |
| 88c0 | 20 3a 70 61 72 65 6e 74 20 65 6c 29 29 20 27 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .:parent.el)).'item)............ |
| 88e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6e 65 78 74 2d | ....................(let.((next- |
| 8900 | 65 6c 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 65 78 74 2d 65 6c 65 6d 65 6e 74 20 | el.(org-export-get-next-element. |
| 8920 | 65 6c 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | el.info)))...................... |
| 8940 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 | ............(memq.(org-element-t |
| 8960 | 79 70 65 20 6e 65 78 74 2d 65 6c 29 20 27 28 73 72 63 2d 62 6c 6f 63 6b 20 65 78 61 6d 70 6c 65 | ype.next-el).'(src-block.example |
| 8980 | 2d 62 6c 6f 63 6b 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -block))))...................... |
| 89a0 | 20 20 20 20 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....0)......................... |
| 89c0 | 20 3b 3b 20 45 78 63 65 70 74 69 6f 6e 20 34 20 69 6e 20 74 68 65 20 64 6f 63 2d 73 74 72 69 6e | .;;.Exception.4.in.the.doc-strin |
| 89e0 | 67 20 28 63 61 70 74 69 6f 6e 2d 6c 65 73 73 20 73 72 63 2d 62 6c 6f 63 6b 20 2d 3e 20 70 61 72 | g.(caption-less.src-block.->.par |
| 8a00 | 61 67 72 61 70 68 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | agraph)......................... |
| 8a20 | 20 20 3b 3b 20 49 66 20 61 6e 20 73 72 63 20 6f 72 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 20 | ..;;.If.an.src.or.example.block. |
| 8a40 | 68 61 73 20 61 20 63 61 70 74 69 6f 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | has.a.caption,.................. |
| 8a60 | 20 20 20 20 20 20 20 20 3b 3b 20 74 68 61 74 20 63 61 70 74 69 6f 6e 20 77 69 6c 6c 20 62 65 20 | ........;;.that.caption.will.be. |
| 8a80 | 77 72 61 70 70 65 64 20 69 6e 20 61 6e 20 48 54 4d 4c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | wrapped.in.an.HTML.............. |
| 8aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 69 76 20 62 6c 6f 63 6b 2e 20 49 6e 20 74 68 61 | ............;;.div.block..In.tha |
| 8ac0 | 74 20 63 61 73 65 2c 20 77 65 20 2a 64 6f 2a 20 6e 65 65 64 20 74 6f 0a 20 20 20 20 20 20 20 20 | t.case,.we.*do*.need.to......... |
| 8ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 65 61 76 65 20 61 20 62 6c 61 6e | .................;;.leave.a.blan |
| 8b00 | 6b 20 6c 69 6e 65 20 61 66 74 65 72 20 74 68 65 20 64 69 76 20 62 6c 6f 63 6b 20 28 43 6f 6d 6d | k.line.after.the.div.block.(Comm |
| 8b20 | 6f 6e 4d 61 72 6b 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onMark)......................... |
| 8b40 | 20 20 28 28 61 6e 64 20 28 6d 65 6d 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 | ..((and.(memq.(org-element-type. |
| 8b60 | 65 6c 29 20 27 28 73 72 63 2d 62 6c 6f 63 6b 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 29 0a | el).'(src-block.example-block)). |
| 8b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 8ba0 | 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e | eq.(org-element-type.(org-elemen |
| 8bc0 | 74 2d 70 72 6f 70 65 72 74 79 20 3a 70 61 72 65 6e 74 20 65 6c 29 29 20 27 69 74 65 6d 29 0a 20 | t-property.:parent.el)).'item).. |
| 8be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e | ..............................(n |
| 8c00 | 75 6c 6c 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 63 61 70 74 69 | ull.(org-element-property.:capti |
| 8c20 | 6f 6e 20 65 6c 29 29 20 3b 3c 2d 2d 20 22 6e 6f 20 63 61 70 74 69 6f 6e 22 20 63 68 65 63 6b 0a | on.el)).;<--."no.caption".check. |
| 8c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 8c60 | 6c 65 74 20 28 28 6e 65 78 74 2d 65 6c 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 65 | let.((next-el.(org-export-get-ne |
| 8c80 | 78 74 2d 65 6c 65 6d 65 6e 74 20 65 6c 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | xt-element.el.info)))........... |
| 8ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 71 20 28 6f 72 | .......................(memq.(or |
| 8cc0 | 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 6e 65 78 74 2d 65 6c 29 20 27 28 70 61 72 61 67 72 | g-element-type.next-el).'(paragr |
| 8ce0 | 61 70 68 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aph))))......................... |
| 8d00 | 20 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 | ..0)..........................(t |
| 8d20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 31 29 29 29 29 | ...........................1)))) |
| 8d40 | 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 | .........(org-element-put-proper |
| 8d60 | 74 79 20 65 6c 20 3a 70 6f 73 74 2d 62 6c 61 6e 6b 20 70 6f 73 74 2d 62 6c 61 6e 6b 29 0a 20 20 | ty.el.:post-blank.post-blank)... |
| 8d80 | 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 62 6c 61 63 6b 66 72 69 | ......;;.(message."[org-blackfri |
| 8da0 | 64 61 79 2d 73 65 70 61 72 61 74 65 2d 65 6c 65 6d 65 6e 74 73 20 44 42 47 5d 20 25 53 20 70 6f | day-separate-elements.DBG].%S.po |
| 8dc0 | 73 74 2d 62 6c 61 6e 6b 3a 20 25 64 22 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 | st-blank:.%d".........;;........ |
| 8de0 | 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 29 0a 20 20 20 20 20 20 20 20 | ..(org-element-type.el)......... |
| 8e00 | 3b 3b 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 | ;;..........(org-element-propert |
| 8e20 | 79 20 3a 70 6f 73 74 2d 62 6c 61 6e 6b 20 65 6c 29 29 0a 20 20 20 20 20 20 20 20 29 29 29 0a 20 | y.:post-blank.el)).........))).. |
| 8e40 | 20 3b 3b 20 52 65 74 75 72 6e 20 75 70 64 61 74 65 64 20 74 72 65 65 2e 0a 20 20 74 72 65 65 29 | .;;.Return.updated.tree....tree) |
| 8e60 | 0a 0a 0a 0c 0a 3b 3b 3b 20 54 72 61 6e 73 63 6f 64 65 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b | .....;;;.Transcode.Functions..;; |
| 8e80 | 3b 3b 20 43 65 6e 74 65 72 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b | ;;.Center.Block.(defun.org-black |
| 8ea0 | 66 72 69 64 61 79 2d 63 65 6e 74 65 72 2d 62 6c 6f 63 6b 20 28 5f 63 65 6e 74 65 72 2d 62 6c 6f | friday-center-block.(_center-blo |
| 8ec0 | 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 43 65 6e 74 65 72 2d 61 6c 69 67 | ck.contents.info)..."Center-alig |
| 8ee0 | 6e 20 74 68 65 20 74 65 78 74 20 69 6e 20 43 4f 4e 54 45 4e 54 53 20 75 73 69 6e 67 20 43 53 53 | n.the.text.in.CONTENTS.using.CSS |
| 8f00 | 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d | ...INFO.is.a.plist.used.as.a.com |
| 8f20 | 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 63 | munication.channel."...(let*.((c |
| 8f40 | 6c 61 73 73 20 22 6f 72 67 2d 63 65 6e 74 65 72 22 29 0a 20 20 20 20 20 20 20 20 20 28 73 74 79 | lass."org-center")..........(sty |
| 8f60 | 6c 65 20 28 66 6f 72 6d 61 74 20 22 2e 25 73 20 7b 20 6d 61 72 67 69 6e 2d 6c 65 66 74 3a 20 61 | le.(format.".%s.{.margin-left:.a |
| 8f80 | 75 74 6f 3b 20 6d 61 72 67 69 6e 2d 72 69 67 68 74 3a 20 61 75 74 6f 3b 20 74 65 78 74 2d 61 6c | uto;.margin-right:.auto;.text-al |
| 8fa0 | 69 67 6e 3a 20 63 65 6e 74 65 72 3b 20 7d 22 20 63 6c 61 73 73 29 29 29 0a 20 20 20 20 28 66 6f | ign:.center;.}".class))).....(fo |
| 8fc0 | 72 6d 61 74 20 22 3c 73 74 79 6c 65 3e 25 73 3c 2f 73 74 79 6c 65 3e 5c 6e 5c 6e 3c 64 69 76 20 | rmat."<style>%s</style>\n\n<div. |
| 8fe0 | 63 6c 61 73 73 3d 5c 22 25 73 5c 22 3e 25 73 5c 6e 5c 6e 25 73 5c 6e 3c 2f 64 69 76 3e 22 0a 20 | class=\"%s\">%s\n\n%s\n</div>".. |
| 9000 | 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 20 63 6c 61 73 73 20 28 6f 72 67 2d 62 6c 61 63 | ...........style.class.(org-blac |
| 9020 | 6b 66 72 69 64 61 79 2d 2d 65 78 74 72 61 2d 64 69 76 2d 68 61 63 6b 20 69 6e 66 6f 29 20 63 6f | kfriday--extra-div-hack.info).co |
| 9040 | 6e 74 65 6e 74 73 29 29 29 0a 0a 3b 3b 3b 3b 20 45 78 61 6d 70 6c 65 20 42 6c 6f 63 6b 0a 28 64 | ntents)))..;;;;.Example.Block.(d |
| 9060 | 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f | efun.org-blackfriday-example-blo |
| 9080 | 63 6b 20 28 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f | ck.(example-block._contents.info |
| 90a0 | 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 6e 20 45 58 41 4d 50 4c 45 2d 42 4c 4f 43 4b 20 | )..."Transcode.an.EXAMPLE-BLOCK. |
| 90c0 | 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 | element.into.Blackfriday.Markdow |
| 90e0 | 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e 20 20 49 4e 46 4f | n.format..CONTENTS.is.nil...INFO |
| 9100 | 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 0a 69 | .is.a.plist.holding.contextual.i |
| 9120 | 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 72 65 6e 74 2d 65 6c | nformation."...(let*.((parent-el |
| 9140 | 65 6d 65 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 65 78 61 | ement.(org-export-get-parent.exa |
| 9160 | 6d 70 6c 65 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 74 79 | mple-block))..........(parent-ty |
| 9180 | 70 65 20 28 63 61 72 20 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 20 | pe.(car.parent-element))........ |
| 91a0 | 20 20 28 62 61 63 6b 74 69 63 6b 73 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 6f 72 67 2d 62 6c | ..(backticks.(make-string.org-bl |
| 91c0 | 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 | ackfriday--code-block-num-backti |
| 91e0 | 63 6b 73 20 3f 60 29 29 0a 20 20 20 20 20 20 20 20 20 28 65 78 61 6d 70 6c 65 20 28 6f 72 20 28 | cks.?`))..........(example.(or.( |
| 9200 | 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 29 20 3b 69 66 20 73 65 74 | plist-get.info.:md-code).;if.set |
| 9220 | 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 27 0a 20 20 20 | .in.`org-hugo-example-block'.... |
| 9240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 66 | ...................(org-export-f |
| 9260 | 6f 72 6d 61 74 2d 63 6f 64 65 2d 64 65 66 61 75 6c 74 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b | ormat-code-default.example-block |
| 9280 | 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 64 65 2d 61 74 74 72 20 28 69 66 | .info)))..........(code-attr.(if |
| 92a0 | 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 2d 61 74 74 72 29 20 | .(plist-get.info.:md-code-attr). |
| 92c0 | 3b 69 66 20 73 65 74 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f | ;if.set.in.`org-hugo-example-blo |
| 92e0 | 63 6b 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 | ck'.........................(for |
| 9300 | 6d 61 74 20 22 20 7b 20 25 73 20 7d 22 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6d | mat.".{.%s.}".(plist-get.info.:m |
| 9320 | 64 2d 63 6f 64 65 2d 61 74 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d-code-attr))................... |
| 9340 | 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 72 65 74 29 0a 20 20 20 20 3b 3b 20 28 6d | ....""))..........ret).....;;.(m |
| 9360 | 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 44 42 47 | essage."[ox-bf.example-block.DBG |
| 9380 | 5d 20 70 61 72 65 6e 74 20 74 79 70 65 3a 20 25 53 22 20 70 61 72 65 6e 74 2d 74 79 70 65 29 0a | ].parent.type:.%S".parent-type). |
| 93a0 | 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d | ....(setq.ret.(org-blackfriday-- |
| 93c0 | 69 73 73 75 65 2d 32 33 39 2d 77 6f 72 6b 61 72 6f 75 6e 64 20 65 78 61 6d 70 6c 65 20 70 61 72 | issue-239-workaround.example.par |
| 93e0 | 65 6e 74 2d 74 79 70 65 29 29 0a 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 66 6f 72 6d 61 74 | ent-type)).....(setq.ret.(format |
| 9400 | 20 22 25 73 74 65 78 74 25 73 5c 6e 25 73 25 73 22 20 62 61 63 6b 74 69 63 6b 73 20 63 6f 64 65 | ."%stext%s\n%s%s".backticks.code |
| 9420 | 2d 61 74 74 72 20 72 65 74 20 62 61 63 6b 74 69 63 6b 73 29 29 0a 20 20 20 20 28 73 65 74 71 20 | -attr.ret.backticks)).....(setq. |
| 9440 | 72 65 74 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d | ret.(org-blackfriday--div-wrap-m |
| 9460 | 61 79 62 65 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 72 65 74 20 69 6e 66 6f 29 29 0a 20 20 | aybe.example-block.ret.info))... |
| 9480 | 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 27 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 70 61 72 65 | ..(when.(equal.'quote-block.pare |
| 94a0 | 6e 74 2d 74 79 70 65 29 0a 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 | nt-type).......;;.If.the.current |
| 94c0 | 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 20 69 73 20 69 6e 73 69 64 65 20 61 20 71 75 6f 74 65 | .example.block.is.inside.a.quote |
| 94e0 | 20 62 6c 6f 63 6b 2c 20 66 75 74 75 72 65 0a 20 20 20 20 20 20 3b 3b 20 65 78 61 6d 70 6c 65 2f | .block,.future.......;;.example/ |
| 9500 | 63 6f 64 65 20 62 6c 6f 63 6b 73 20 28 65 73 70 65 63 69 61 6c 6c 79 20 74 68 65 20 6f 6e 65 73 | code.blocks.(especially.the.ones |
| 9520 | 20 6f 75 74 73 69 64 65 20 74 68 69 73 20 71 75 6f 74 65 0a 20 20 20 20 20 20 3b 3b 20 62 6c 6f | .outside.this.quote.......;;.blo |
| 9540 | 63 6b 29 20 77 69 6c 6c 20 72 65 71 75 69 72 65 20 68 69 67 68 65 72 20 6e 75 6d 62 65 72 20 6f | ck).will.require.higher.number.o |
| 9560 | 66 20 62 61 63 6b 74 69 63 6b 73 2e 20 20 57 6f 72 6b 61 72 6f 75 6e 64 0a 20 20 20 20 20 20 3b | f.backticks...Workaround.......; |
| 9580 | 3b 20 66 6f 72 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 75 73 73 72 6f 73 | ;.for.https://github.com/russros |
| 95a0 | 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 2f 69 73 73 75 65 73 2f 34 30 37 2e 0a 20 20 20 20 20 20 | s/blackfriday/issues/407........ |
| 95c0 | 28 73 65 74 71 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 | (setq.org-blackfriday--code-bloc |
| 95e0 | 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 31 2b 20 | k-num-backticks.............(1+. |
| 9600 | 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d | org-blackfriday--code-block-num- |
| 9620 | 62 61 63 6b 74 69 63 6b 73 29 29 29 0a 20 20 20 20 3b 3b 20 52 65 73 65 74 20 74 68 65 20 74 65 | backticks))).....;;.Reset.the.te |
| 9640 | 6d 70 20 69 6e 66 6f 20 69 6e 20 74 68 65 20 60 69 6e 66 6f 27 20 70 6c 69 73 74 2e 0a 20 20 20 | mp.info.in.the.`info'.plist..... |
| 9660 | 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 20 6e 69 6c 29 0a 20 | .(plist-put.info.:md-code.nil).. |
| 9680 | 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 2d 61 74 74 72 | ...(plist-put.info.:md-code-attr |
| 96a0 | 20 6e 69 6c 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 3b 3b 3b 3b 20 46 69 78 65 64 20 57 69 64 74 | .nil).....ret))..;;;;.Fixed.Widt |
| 96c0 | 68 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 69 78 65 64 2d 77 | h.(defun.org-blackfriday-fixed-w |
| 96e0 | 69 64 74 68 20 28 66 69 78 65 64 2d 77 69 64 74 68 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f | idth.(fixed-width._contents.info |
| 9700 | 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 46 49 58 45 44 2d 57 49 44 54 48 20 65 6c 65 | )..."Transcode.a.FIXED-WIDTH.ele |
| 9720 | 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 | ment.into.Blackfriday.Markdown.f |
| 9740 | 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e 20 20 49 4e 46 4f 20 69 73 | ormat..CONTENTS.is.nil...INFO.is |
| 9760 | 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 0a 69 6e 66 6f | .a.plist.holding.contextual.info |
| 9780 | 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 72 65 6e 74 2d 65 6c 65 6d 65 | rmation."...(let*.((parent-eleme |
| 97a0 | 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 66 69 78 65 64 2d | nt.(org-export-get-parent.fixed- |
| 97c0 | 77 69 64 74 68 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 74 79 70 65 20 28 63 | width))..........(parent-type.(c |
| 97e0 | 61 72 20 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 61 | ar.parent-element))..........(ba |
| 9800 | 63 6b 74 69 63 6b 73 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 6f 72 67 2d 62 6c 61 63 6b 66 72 | ckticks.(make-string.org-blackfr |
| 9820 | 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 3f | iday--code-block-num-backticks.? |
| 9840 | 60 29 29 29 0a 20 20 20 20 28 70 72 6f 67 31 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 | `))).....(prog1.........(org-bla |
| 9860 | 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 0a 20 20 20 20 20 20 20 | ckfriday--div-wrap-maybe........ |
| 9880 | 20 20 66 69 78 65 64 2d 77 69 64 74 68 0a 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 | ..fixed-width..........(format." |
| 98a0 | 25 73 74 65 78 74 5c 6e 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 | %stext\n%s%s"..................b |
| 98c0 | 61 63 6b 74 69 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 | ackticks..................(let.( |
| 98e0 | 28 6f 72 67 2d 73 72 63 2d 70 72 65 73 65 72 76 65 2d 69 6e 64 65 6e 74 61 74 69 6f 6e 20 74 29 | (org-src-preserve-indentation.t) |
| 9900 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 72 65 73 65 72 76 65 | )....................;;.Preserve |
| 9920 | 20 6c 65 61 64 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 20 69 6e 20 74 68 65 20 4f 72 67 20 42 | .leading.whitespace.in.the.Org.B |
| 9940 | 61 62 65 6c 20 52 65 73 75 6c 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | abel.Results.................... |
| 9960 | 3b 3b 20 62 6c 6f 63 6b 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | ;;.blocks.....................(o |
| 9980 | 72 67 2d 65 78 70 6f 72 74 2d 66 6f 72 6d 61 74 2d 63 6f 64 65 2d 64 65 66 61 75 6c 74 20 66 69 | rg-export-format-code-default.fi |
| 99a0 | 78 65 64 2d 77 69 64 74 68 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xed-width.info))................ |
| 99c0 | 20 20 62 61 63 6b 74 69 63 6b 73 29 0a 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 0a 20 20 20 20 | ..backticks)..........info)..... |
| 99e0 | 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 27 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 70 61 72 65 | ..(when.(equal.'quote-block.pare |
| 9a00 | 6e 74 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 63 75 72 72 65 | nt-type).........;;.If.the.curre |
| 9a20 | 6e 74 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 20 69 73 20 69 6e 73 69 64 65 20 61 20 71 75 6f | nt.example.block.is.inside.a.quo |
| 9a40 | 74 65 20 62 6c 6f 63 6b 2c 0a 20 20 20 20 20 20 20 20 3b 3b 20 66 75 74 75 72 65 20 65 78 61 6d | te.block,.........;;.future.exam |
| 9a60 | 70 6c 65 2f 63 6f 64 65 20 62 6c 6f 63 6b 73 20 28 65 73 70 65 63 69 61 6c 6c 79 20 74 68 65 20 | ple/code.blocks.(especially.the. |
| 9a80 | 6f 6e 65 73 20 6f 75 74 73 69 64 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 74 68 69 73 20 71 75 6f | ones.outside.........;;.this.quo |
| 9aa0 | 74 65 20 62 6c 6f 63 6b 29 20 77 69 6c 6c 20 72 65 71 75 69 72 65 20 68 69 67 68 65 72 20 6e 75 | te.block).will.require.higher.nu |
| 9ac0 | 6d 62 65 72 20 6f 66 20 62 61 63 6b 74 69 63 6b 73 2e 0a 20 20 20 20 20 20 20 20 3b 3b 20 57 6f | mber.of.backticks..........;;.Wo |
| 9ae0 | 72 6b 61 72 6f 75 6e 64 20 66 6f 72 0a 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f | rkaround.for.........;;.https:// |
| 9b00 | 67 69 74 68 75 62 2e 63 6f 6d 2f 72 75 73 73 72 6f 73 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 2f | github.com/russross/blackfriday/ |
| 9b20 | 69 73 73 75 65 73 2f 34 30 37 2e 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 62 6c | issues/407..........(setq.org-bl |
| 9b40 | 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 | ackfriday--code-block-num-backti |
| 9b60 | 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 31 2b 20 6f 72 67 2d 62 6c 61 63 6b 66 | cks...............(1+.org-blackf |
| 9b80 | 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 29 | riday--code-block-num-backticks) |
| 9ba0 | 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 46 6f 6f 74 6e 6f 74 65 20 52 65 66 65 72 65 6e 63 65 0a 28 | )))))..;;;;.Footnote.Reference.( |
| 9bc0 | 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 6f 6f 74 6e 6f 74 65 2d 72 | defun.org-blackfriday-footnote-r |
| 9be0 | 65 66 65 72 65 6e 63 65 20 28 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 20 5f 63 6f | eference.(footnote-reference._co |
| 9c00 | 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 46 4f 4f 54 | ntents.info)..."Transcode.a.FOOT |
| 9c20 | 4e 4f 54 45 2d 52 45 46 45 52 45 4e 43 45 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 | NOTE-REFERENCE.element.into.Blac |
| 9c40 | 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 | kfriday.Markdown.format..CONTENT |
| 9c60 | 53 20 69 73 20 6e 69 6c 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 | S.is.nil...INFO.is.a.plist.holdi |
| 9c80 | 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 3b 3b | ng.contextual.information."...;; |
| 9ca0 | 20 28 6d 65 73 73 61 67 65 20 22 66 6f 6f 74 72 65 66 3a 20 25 73 22 20 66 6f 6f 74 6e 6f 74 65 | .(message."footref:.%s".footnote |
| 9cc0 | 2d 72 65 66 65 72 65 6e 63 65 29 0a 20 20 28 63 6f 6e 63 61 74 0a 20 20 20 3b 3b 20 49 6e 73 65 | -reference)...(concat....;;.Inse |
| 9ce0 | 72 74 20 73 65 70 61 72 61 74 6f 72 20 62 65 74 77 65 65 6e 20 74 77 6f 20 66 6f 6f 74 6e 6f 74 | rt.separator.between.two.footnot |
| 9d00 | 65 73 20 69 6e 20 61 20 72 6f 77 2e 0a 20 20 20 28 6c 65 74 20 28 28 70 72 65 76 20 28 6f 72 67 | es.in.a.row.....(let.((prev.(org |
| 9d20 | 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 72 65 76 69 6f 75 73 2d 65 6c 65 6d 65 6e 74 20 66 6f 6f | -export-get-previous-element.foo |
| 9d40 | 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 28 61 6e | tnote-reference.info)))......(an |
| 9d60 | 64 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 70 72 65 76 29 20 27 66 | d.(eq.(org-element-type.prev).'f |
| 9d80 | 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 28 70 6c | ootnote-reference)...........(pl |
| 9da0 | 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 66 6f 6f 74 6e 6f 74 65 2d 73 65 70 61 | ist-get.info.:html-footnote-sepa |
| 9dc0 | 72 61 74 6f 72 29 29 29 0a 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 5e 66 6e 3a 25 64 5d 22 20 28 | rator)))....(format."[^fn:%d]".( |
| 9de0 | 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 66 6f 6f 74 6e 6f 74 65 2d 6e 75 6d 62 65 72 20 66 | org-export-get-footnote-number.f |
| 9e00 | 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 20 69 6e 66 6f 29 29 29 29 0a 0a 3b 3b 3b 3b | ootnote-reference.info))))..;;;; |
| 9e20 | 20 49 6e 6e 65 72 20 54 65 6d 70 6c 61 74 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b | .Inner.Template.(defun.org-black |
| 9e40 | 66 72 69 64 61 79 2d 69 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 20 28 63 6f 6e 74 65 6e 74 73 20 | friday-inner-template.(contents. |
| 9e60 | 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 62 6f 64 79 20 6f 66 20 64 6f 63 75 6d 65 6e 74 | info)..."Return.body.of.document |
| 9e80 | 20 61 66 74 65 72 20 63 6f 6e 76 65 72 74 69 6e 67 20 69 74 20 74 6f 20 4d 61 72 6b 64 6f 77 6e | .after.converting.it.to.Markdown |
| 9ea0 | 20 73 79 6e 74 61 78 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 74 68 65 20 74 72 61 6e 73 63 6f | .syntax..CONTENTS.is.the.transco |
| 9ec0 | 64 65 64 20 63 6f 6e 74 65 6e 74 73 20 73 74 72 69 6e 67 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 | ded.contents.string...INFO.is.a. |
| 9ee0 | 70 6c 69 73 74 0a 68 6f 6c 64 69 6e 67 20 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e 73 2e 22 0a 20 | plist.holding.export.options.".. |
| 9f00 | 20 28 6c 65 74 2a 20 28 28 64 65 70 74 68 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a | .(let*.((depth.(plist-get.info.: |
| 9f20 | 77 69 74 68 2d 74 6f 63 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 65 61 64 69 6e 67 73 20 28 61 | with-toc))..........(headings.(a |
| 9f40 | 6e 64 20 64 65 70 74 68 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 63 6f 6c 6c 65 63 74 2d 68 65 61 | nd.depth.(org-export-collect-hea |
| 9f60 | 64 6c 69 6e 65 73 20 69 6e 66 6f 20 64 65 70 74 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 | dlines.info.depth)))..........(t |
| 9f80 | 6f 63 2d 74 61 69 6c 20 28 69 66 20 68 65 61 64 69 6e 67 73 20 22 5c 6e 5c 6e 22 20 22 22 29 29 | oc-tail.(if.headings."\n\n"."")) |
| 9fa0 | 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 73 74 72 69 6e 67 20 22 22 29 29 0a 0a 20 20 20 20 | ..........(toc-string.""))...... |
| 9fc0 | 28 77 68 65 6e 20 68 65 61 64 69 6e 67 73 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 68 65 | (when.headings.......(dolist.(he |
| 9fe0 | 61 64 69 6e 67 20 68 65 61 64 69 6e 67 73 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 6f | ading.headings).........(setq.to |
| a000 | 63 2d 73 74 72 69 6e 67 20 28 63 6f 6e 63 61 74 20 74 6f 63 2d 73 74 72 69 6e 67 0a 20 20 20 20 | c-string.(concat.toc-string..... |
| a020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | .............................(or |
| a040 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 6f 72 6d 61 74 2d 74 6f 63 20 68 65 61 64 69 6e 67 | g-blackfriday-format-toc.heading |
| a060 | 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .info).......................... |
| a080 | 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 29 29 0a 20 20 20 20 28 63 6f 6e 63 61 74 20 74 6f 63 | ........"\n")))).....(concat.toc |
| a0a0 | 2d 73 74 72 69 6e 67 20 74 6f 63 2d 74 61 69 6c 20 63 6f 6e 74 65 6e 74 73 20 22 5c 6e 22 0a 20 | -string.toc-tail.contents."\n".. |
| a0c0 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 6f 6f 74 | ...........(org-blackfriday-foot |
| a0e0 | 6e 6f 74 65 2d 73 65 63 74 69 6f 6e 20 69 6e 66 6f 29 29 29 29 0a 0a 3b 3b 3b 3b 20 49 74 61 6c | note-section.info))))..;;;;.Ital |
| a100 | 69 63 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 74 61 6c 69 63 | ic.(defun.org-blackfriday-italic |
| a120 | 20 28 5f 69 74 61 6c 69 63 20 63 6f 6e 74 65 6e 74 73 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 | .(_italic.contents._info)..."Tra |
| a140 | 6e 73 63 6f 64 65 20 49 54 41 4c 49 43 20 6f 62 6a 65 63 74 20 69 6e 74 6f 20 4d 61 72 6b 64 6f | nscode.ITALIC.object.into.Markdo |
| a160 | 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 74 68 65 20 74 65 78 74 20 | wn.format..CONTENTS.is.the.text. |
| a180 | 77 69 74 68 69 6e 20 69 74 61 6c 69 63 20 6d 61 72 6b 75 70 2e 20 20 49 4e 46 4f 20 69 73 20 61 | within.italic.markup...INFO.is.a |
| a1a0 | 20 70 6c 69 73 74 20 75 73 65 64 0a 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 | .plist.used.as.a.communication.c |
| a1c0 | 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 66 6f 72 6d 61 74 20 22 2a 25 73 2a 22 20 63 6f 6e | hannel."...;;.(format."*%s*".con |
| a1e0 | 74 65 6e 74 73 29 0a 20 20 3b 3b 20 57 68 69 6c 65 20 61 62 6f 76 65 20 61 6c 73 6f 20 77 6f 72 | tents)...;;.While.above.also.wor |
| a200 | 6b 73 20 69 6e 20 61 6c 6d 6f 73 74 20 61 6c 6c 20 63 61 73 65 73 2c 20 69 74 20 66 61 69 6c 73 | ks.in.almost.all.cases,.it.fails |
| a220 | 20 69 6e 20 63 61 73 65 73 0a 20 20 3b 3b 20 6c 69 6b 65 20 22 2a 54 68 69 73 20 69 73 20 69 6e | .in.cases...;;.like."*This.is.in |
| a240 | 20 69 74 61 6c 69 63 2c 20 2a 2a 61 6e 64 20 74 68 69 73 20 69 73 20 69 6e 20 62 6f 6c 64 2d 69 | .italic,.**and.this.is.in.bold-i |
| a260 | 74 61 6c 69 63 73 2a 2a 2c 20 61 6e 64 0a 20 20 3b 3b 20 62 61 63 6b 20 74 6f 20 6a 75 73 74 20 | talics**,.and...;;.back.to.just. |
| a280 | 69 74 61 6c 69 63 2e 2a 22 2e 0a 20 20 3b 3b 20 41 73 20 60 6f 72 67 2d 6d 64 2d 62 6f 6c 64 27 | italic.*"....;;.As.`org-md-bold' |
| a2a0 | 20 75 73 65 73 20 2a 2a 20 74 6f 20 6d 61 72 6b 20 62 6f 6c 64 20 74 65 78 74 2c 20 73 77 69 74 | .uses.**.to.mark.bold.text,.swit |
| a2c0 | 63 68 69 6e 67 20 74 6f 20 75 73 69 6e 67 0a 20 20 3b 3b 20 75 6e 64 65 72 73 63 6f 72 65 73 20 | ching.to.using...;;.underscores. |
| a2e0 | 6f 6e 6c 79 20 66 6f 72 20 69 74 61 6c 69 63 73 2e 0a 20 20 28 66 6f 72 6d 61 74 20 22 5f 25 73 | only.for.italics....(format."_%s |
| a300 | 5f 22 20 63 6f 6e 74 65 6e 74 73 29 29 0a 0a 3b 3b 3b 3b 20 49 74 65 6d 20 28 6c 69 73 74 20 69 | _".contents))..;;;;.Item.(list.i |
| a320 | 74 65 6d 29 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 74 65 6d | tem).(defun.org-blackfriday-item |
| a340 | 20 28 69 74 65 6d 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f | .(item.contents.info)..."Transco |
| a360 | 64 65 20 61 6e 20 49 54 45 4d 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 | de.an.ITEM.element.into.Blackfri |
| a380 | 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 68 6f | day.Markdown.format..CONTENTS.ho |
| a3a0 | 6c 64 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 69 74 65 6d 2e 20 20 49 | lds.the.contents.of.the.item...I |
| a3c0 | 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 0a 63 6f 6e 74 65 78 74 75 61 | NFO.is.a.plist.holding.contextua |
| a3e0 | 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 53 70 65 63 69 61 6c 20 6e 6f 74 65 20 61 62 6f | l.information...Special.note.abo |
| a400 | 75 74 20 64 65 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 73 3a 0a 0a 42 6c 61 63 6b 66 72 69 64 | ut.descriptive.lists:..Blackfrid |
| a420 | 61 79 20 73 74 79 6c 65 20 64 65 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 20 73 79 6e 74 61 78 | ay.style.descriptive.list.syntax |
| a440 | 20 69 73 20 75 73 65 64 20 69 66 20 74 68 61 74 20 6c 69 73 74 20 69 73 0a 6e 6f 74 20 6e 65 73 | .is.used.if.that.list.is.not.nes |
| a460 | 74 65 64 20 69 6e 20 61 6e 6f 74 68 65 72 20 6c 69 73 74 2e 0a 0a 20 20 20 20 54 65 72 6d 31 0a | ted.in.another.list.......Term1. |
| a480 | 20 20 20 20 3a 20 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 65 72 6d 20 31 0a 0a 49 66 20 | ....:.Description.of.term.1..If. |
| a4a0 | 74 68 61 74 20 6c 69 73 74 20 69 73 20 6e 65 73 74 65 64 2c 20 60 6f 78 2d 6d 64 27 20 73 74 79 | that.list.is.nested,.`ox-md'.sty |
| a4c0 | 6c 65 20 64 65 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 20 69 73 0a 65 78 70 6f 72 74 65 64 20 | le.descriptive.list.is.exported. |
| a4e0 | 69 6e 73 74 65 61 64 3a 0a 0a 20 20 20 20 2d 20 20 20 2a 2a 54 65 72 6d 31 3a 2a 2a 20 44 65 73 | instead:......-...**Term1:**.Des |
| a500 | 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 65 72 6d 20 31 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 61 | cription.of.term.1."...(let.((pa |
| a520 | 72 65 6e 74 2d 6c 69 73 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 | rent-list.(org-export-get-parent |
| a540 | 20 69 74 65 6d 29 29 29 0a 20 20 20 20 3b 3b 20 49 66 20 74 68 69 73 20 69 74 65 6d 20 69 73 20 | .item))).....;;.If.this.item.is. |
| a560 | 69 6e 20 61 6e 20 6f 72 64 65 72 65 64 20 6c 69 73 74 20 61 6e 64 20 69 66 20 74 68 69 73 20 6f | in.an.ordered.list.and.if.this.o |
| a580 | 72 20 61 6e 79 20 6f 74 68 65 72 0a 20 20 20 20 3b 3b 20 69 74 65 6d 20 69 6e 20 74 68 69 73 20 | r.any.other.....;;.item.in.this. |
| a5a0 | 6c 69 73 74 20 69 73 20 75 73 69 6e 67 20 61 20 63 75 73 74 6f 6d 20 63 6f 75 6e 74 65 72 2c 20 | list.is.using.a.custom.counter,. |
| a5c0 | 65 78 70 6f 72 74 20 74 68 69 73 20 6c 69 73 74 0a 20 20 20 20 3b 3b 20 69 74 65 6d 20 69 6e 20 | export.this.list.....;;.item.in. |
| a5e0 | 48 54 4d 4c 2e 0a 20 20 20 20 28 69 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d | HTML......(if.(org-blackfriday-- |
| a600 | 65 78 70 6f 72 74 2d 6f 72 64 65 72 65 64 2d 6c 69 73 74 2d 61 73 2d 68 74 6d 6c 2d 70 20 70 61 | export-ordered-list-as-html-p.pa |
| a620 | 72 65 6e 74 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 66 6f 72 | rent-list).........(org-html-for |
| a640 | 6d 61 74 2d 6c 69 73 74 2d 69 74 65 6d 20 63 6f 6e 74 65 6e 74 73 20 27 6f 72 64 65 72 65 64 20 | mat-list-item.contents.'ordered. |
| a660 | 6e 69 6c 20 69 6e 66 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nil.info........................ |
| a680 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 | ............(org-element-propert |
| a6a0 | 79 20 3a 63 6f 75 6e 74 65 72 20 69 74 65 6d 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 | y.:counter.item)).......(let*.(( |
| a6c0 | 70 61 72 65 6e 74 2d 6c 69 73 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 | parent-list.(org-export-get-pare |
| a6e0 | 6e 74 20 69 74 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 6c | nt.item))..............(parent-l |
| a700 | 69 73 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a | ist-type.(org-element-property.: |
| a720 | 74 79 70 65 20 70 61 72 65 6e 74 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | type.parent-list)).............. |
| a740 | 28 64 65 73 63 2d 6c 69 73 74 3f 20 28 65 71 20 70 61 72 65 6e 74 2d 6c 69 73 74 2d 74 79 70 65 | (desc-list?.(eq.parent-list-type |
| a760 | 20 27 64 65 73 63 72 69 70 74 69 76 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 72 | .'descriptive))..............(gr |
| a780 | 61 6e 64 70 61 72 65 6e 74 20 28 77 68 65 6e 20 64 65 73 63 2d 6c 69 73 74 3f 0a 20 20 20 20 20 | andparent.(when.desc-list?...... |
| a7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f | .......................(org-expo |
| a7c0 | 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 70 61 72 65 6e 74 2d 6c 69 73 74 29 29 29 0a 20 20 20 | rt-get-parent.parent-list))).... |
| a7e0 | 20 20 20 20 20 20 20 20 20 20 28 67 72 61 6e 64 70 61 72 65 6e 74 2d 74 79 70 65 20 28 77 68 65 | ..........(grandparent-type.(whe |
| a800 | 6e 20 64 65 73 63 2d 6c 69 73 74 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n.desc-list?.................... |
| a820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 | ..............(org-element-type. |
| a840 | 67 72 61 6e 64 70 61 72 65 6e 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 73 | grandparent)))..............(lis |
| a860 | 74 2d 69 73 2d 6e 65 73 74 65 64 20 28 65 71 20 27 69 74 65 6d 20 67 72 61 6e 64 70 61 72 65 6e | t-is-nested.(eq.'item.grandparen |
| a880 | 74 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 78 70 6f 72 74 20 | t-type))..............;;.Export. |
| a8a0 | 74 68 65 20 64 65 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 20 69 74 65 6d 73 20 6c 69 6b 65 20 | the.descriptive.list.items.like. |
| a8c0 | 74 68 61 74 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 78 2d 6d 64 2e 65 6c | that.in..............;;.ox-md.el |
| a8e0 | 20 69 66 20 74 68 69 73 20 64 65 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 20 69 73 20 6e 65 73 | .if.this.descriptive.list.is.nes |
| a900 | 74 65 64 20 69 6e 20 73 6f 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 74 68 65 | ted.in.some..............;;.othe |
| a920 | 72 20 6c 69 73 74 2c 20 62 65 63 61 75 73 65 20 74 68 65 20 42 6c 61 63 6b 66 72 69 64 61 79 20 | r.list,.because.the.Blackfriday. |
| a940 | 73 74 79 6c 65 20 64 65 73 63 72 69 70 74 69 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | style.descriptive..............; |
| a960 | 3b 20 6c 69 73 74 20 73 79 6e 74 61 78 20 73 65 65 6d 73 20 74 6f 20 77 6f 72 6b 20 6f 6e 6c 79 | ;.list.syntax.seems.to.work.only |
| a980 | 20 61 74 20 74 6f 70 20 6c 65 76 65 6c 20 28 69 2e 65 2e 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 | .at.top.level.(i.e..not......... |
| a9a0 | 20 20 20 20 20 3b 3b 20 77 68 65 6e 20 74 68 61 74 20 6c 69 73 74 20 69 73 20 6e 65 73 74 65 64 | .....;;.when.that.list.is.nested |
| a9c0 | 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 78 2d 6d 64 2d 73 74 79 6c 65 2d 64 65 73 | )...............(ox-md-style-des |
| a9e0 | 63 2d 6c 69 73 74 20 28 61 6e 64 20 64 65 73 63 2d 6c 69 73 74 3f 20 6c 69 73 74 2d 69 73 2d 6e | c-list.(and.desc-list?.list-is-n |
| aa00 | 65 73 74 65 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 66 2d 73 74 79 6c 65 2d 64 | ested))..............(bf-style-d |
| aa20 | 65 73 63 2d 6c 69 73 74 20 28 61 6e 64 20 64 65 73 63 2d 6c 69 73 74 3f 20 28 6e 6f 74 20 6c 69 | esc-list.(and.desc-list?.(not.li |
| aa40 | 73 74 2d 69 73 2d 6e 65 73 74 65 64 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 | st-is-nested)))..............(st |
| aa60 | 72 75 63 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 73 74 72 75 | ruct.(org-element-property.:stru |
| aa80 | 63 74 75 72 65 20 69 74 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 74 65 6d 2d | cture.item))..............(item- |
| aaa0 | 6e 75 6d 20 28 63 61 72 20 28 6c 61 73 74 20 28 6f 72 67 2d 6c 69 73 74 2d 67 65 74 2d 69 74 65 | num.(car.(last.(org-list-get-ite |
| aac0 | 6d 2d 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m-number........................ |
| aae0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 | ............(org-element-propert |
| ab00 | 79 20 3a 62 65 67 69 6e 20 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y.:begin.item).................. |
| ab20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 0a 20 20 20 20 20 20 20 | ..................struct........ |
| ab40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | ............................(org |
| ab60 | 2d 6c 69 73 74 2d 70 72 65 76 73 2d 61 6c 69 73 74 20 73 74 72 75 63 74 29 0a 20 20 20 20 20 20 | -list-prevs-alist.struct)....... |
| ab80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | .............................(or |
| aba0 | 67 2d 6c 69 73 74 2d 70 61 72 65 6e 74 73 2d 61 6c 69 73 74 20 73 74 72 75 63 74 29 29 29 29 29 | g-list-parents-alist.struct))))) |
| abc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 75 6c 6c 65 74 20 28 63 6f 6e 64 0a 20 20 20 20 | ..............(bullet.(cond..... |
| abe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6f 72 20 28 65 71 20 70 61 72 65 6e | ..................((or.(eq.paren |
| ac00 | 74 2d 6c 69 73 74 2d 74 79 70 65 20 27 75 6e 6f 72 64 65 72 65 64 29 0a 20 20 20 20 20 20 20 20 | t-list-type.'unordered)......... |
| ac20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 78 2d 6d 64 2d 73 74 79 6c 65 2d 64 | ...................ox-md-style-d |
| ac40 | 65 73 63 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | esc-list)....................... |
| ac60 | 20 22 2d 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 | ."-").......................((eq |
| ac80 | 20 70 61 72 65 6e 74 2d 6c 69 73 74 2d 74 79 70 65 20 27 6f 72 64 65 72 65 64 29 0a 20 20 20 20 | .parent-list-type.'ordered)..... |
| aca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 64 2e 20 | ...................(format."%d.. |
| acc0 | 22 20 69 74 65 6d 2d 6e 75 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".item-num)).................... |
| ace0 | 20 20 20 28 74 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 4e 6f 6e 2d 6e 65 73 74 65 64 20 64 65 | ...(t.............;Non-nested.de |
| ad00 | 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 20 69 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | scriptive.list.item............. |
| ad20 | 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 3e 20 69 74 65 6d 2d 6e 75 6d 20 31 29 0a | ...........(when.(>.item-num.1). |
| ad40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 29 | ........................."\n"))) |
| ad60 | 29 20 3b 4e 65 77 6c 69 6e 65 20 62 65 74 77 65 65 6e 20 65 61 63 68 20 64 65 73 63 72 69 70 74 | ).;Newline.between.each.descript |
| ad80 | 69 76 65 20 6c 69 73 74 20 69 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 64 64 | ive.list.item..............(padd |
| ada0 | 69 6e 67 20 28 77 68 65 6e 20 28 61 6e 64 20 28 6e 6f 74 20 62 66 2d 73 74 79 6c 65 2d 64 65 73 | ing.(when.(and.(not.bf-style-des |
| adc0 | 63 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | c-list)......................... |
| ade0 | 20 20 20 20 20 20 20 20 20 28 3c 3d 20 28 6c 65 6e 67 74 68 20 62 75 6c 6c 65 74 29 20 33 29 29 | .........(<=.(length.bullet).3)) |
| ae00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 6b 65 2d 73 | .........................(make-s |
| ae20 | 74 72 69 6e 67 20 28 2d 20 34 20 28 6c 65 6e 67 74 68 20 62 75 6c 6c 65 74 29 29 20 3f 20 29 29 | tring.(-.4.(length.bullet)).?.)) |
| ae40 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 67 20 28 77 68 65 6e 20 64 65 73 63 2d 6c | )..............(tag.(when.desc-l |
| ae60 | 69 73 74 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 | ist?.....................(let*.( |
| ae80 | 28 74 61 67 31 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 61 67 | (tag1.(org-element-property.:tag |
| aea0 | 20 69 74 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .item))......................... |
| aec0 | 20 20 20 28 74 61 67 31 2d 73 74 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 74 61 | ...(tag1-str.(org-export-data.ta |
| aee0 | 67 31 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g1.info)))...................... |
| af00 | 20 28 77 68 65 6e 20 74 61 67 31 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(when.tag1..................... |
| af20 | 20 20 20 20 28 69 66 20 6f 78 2d 6d 64 2d 73 74 79 6c 65 2d 64 65 73 63 2d 6c 69 73 74 0a 20 20 | ....(if.ox-md-style-desc-list... |
| af40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 | ..........................(forma |
| af60 | 74 20 22 2a 2a 25 73 3a 2a 2a 20 22 20 74 61 67 31 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 | t."**%s:**.".tag1-str).......... |
| af80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 5c 6e 3a 20 | .................(format."%s\n:. |
| afa0 | 22 20 74 61 67 31 2d 73 74 72 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 | ".tag1-str))))))).........(conca |
| afc0 | 74 20 62 75 6c 6c 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 64 64 69 6e 67 | t.bullet.................padding |
| afe0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 63 61 73 65 20 28 6f 72 67 2d 65 6c 65 | .................(pcase.(org-ele |
| b000 | 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 63 68 65 63 6b 62 6f 78 20 69 74 65 6d 29 0a 20 20 | ment-property.:checkbox.item)... |
| b020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 60 6f 6e 20 22 5b 58 5d 20 22 29 0a 20 20 20 | ................(`on."[X].").... |
| b040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 60 74 72 61 6e 73 20 22 5b 2d 5d 20 22 29 0a 20 | ...............(`trans."[-].").. |
| b060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 60 6f 66 66 20 22 5b 20 5d 20 22 29 29 0a | .................(`off."[.].")). |
| b080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ................tag............. |
| b0a0 | 20 20 20 20 28 61 6e 64 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....(and.contents............... |
| b0c0 | 20 20 20 20 20 20 20 28 6f 72 67 2d 74 72 69 6d 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 | .......(org-trim.(replace-regexp |
| b0e0 | 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5e 22 20 22 20 20 20 20 22 20 63 6f 6e 74 65 6e 74 73 29 29 | -in-string."^"."....".contents)) |
| b100 | 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 4c 61 74 65 78 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 0a 28 | ))))))..;;;;.Latex.Environment.( |
| b120 | 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 75 70 64 61 74 65 2d 6c 74 | defun.org-blackfriday--update-lt |
| b140 | 78 69 6d 67 2d 70 61 74 68 20 28 68 74 6d 6c 2d 73 74 72 29 0a 20 20 22 55 70 64 61 74 65 20 74 | ximg-path.(html-str)..."Update.t |
| b160 | 68 65 20 70 61 74 68 20 69 6e 20 48 54 4d 4c 2d 53 54 52 20 74 6f 20 6c 61 74 65 78 20 65 78 70 | he.path.in.HTML-STR.to.latex.exp |
| b180 | 6f 72 74 65 64 20 69 6d 61 67 65 73 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 46 6f 72 20 65 78 61 | orted.images.directory...For.exa |
| b1a0 | 6d 70 6c 65 2c 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 63 6f 6e 76 65 72 74 73 0a 0a 20 20 | mple,.this.function.converts.... |
| b1c0 | 3c 69 6d 67 20 73 72 63 3d 5c 22 66 6f 6f 2f 62 61 72 2f 78 79 7a 2e 73 76 67 5c 22 20 2e 2e 0a | <img.src=\"foo/bar/xyz.svg\".... |
| b1e0 | 0a 74 6f 0a 0a 20 20 3c 69 6d 67 20 73 72 63 3d 5c 22 2f 6c 74 78 69 6d 67 2f 78 79 7a 2e 73 76 | .to....<img.src=\"/ltximg/xyz.sv |
| b200 | 67 5c 22 20 2e 2e 0a 0a 77 68 65 72 65 20 5c 22 6c 74 78 69 6d 67 2f 5c 22 20 69 73 20 74 68 65 | g\".....where.\"ltximg/\".is.the |
| b220 | 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 6f 66 0a 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 | .default.value.of.`org-blackfrid |
| b240 | 61 79 2d 2d 6c 74 78 69 6d 67 2d 64 69 72 65 63 74 6f 72 79 27 2e 0a 0a 52 65 74 75 72 6e 20 74 | ay--ltximg-directory'...Return.t |
| b260 | 68 65 20 75 70 64 61 74 65 64 20 48 54 4d 4c 20 73 74 72 69 6e 67 2e 22 0a 20 20 3b 3b 20 28 6d | he.updated.HTML.string."...;;.(m |
| b280 | 65 73 73 61 67 65 20 22 64 62 67 20 68 74 6d 6c 2d 73 74 72 3a 20 25 53 22 20 68 74 6d 6c 2d 73 | essage."dbg.html-str:.%S".html-s |
| b2a0 | 74 72 29 0a 20 20 28 69 66 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 68 74 6d 6c 2d 73 74 72 | tr)...(if.(and.(stringp.html-str |
| b2c0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 28 5c | )............(string-match."\\(\ |
| b2e0 | 5c 28 3f 3a 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 3f 3c 69 6d 67 20 73 72 63 3d 5c 22 5c 5c 29 5c 5c 28 | \(?:.\\|\n\\)*?<img.src=\"\\)\\( |
| b300 | 5b 5e 5c 22 5d 2b 5c 5c 29 5c 5c 28 5c 22 5c 5c 28 3f 3a 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 5c 5c 29 | [^\"]+\\)\\(\"\\(?:.\\|\n\\)*\\) |
| b320 | 22 20 68 74 6d 6c 2d 73 74 72 29 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 75 70 64 61 74 65 | ".html-str)).......(let.((update |
| b340 | 64 2d 69 6d 67 2d 70 61 74 68 20 28 66 6f 72 6d 61 74 20 22 2f 25 73 25 73 22 0a 20 20 20 20 20 | d-img-path.(format."/%s%s"...... |
| b360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| b380 | 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6c 74 78 69 6d 67 2d 64 69 72 65 63 74 6f | .org-blackfriday--ltximg-directo |
| b3a0 | 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ry.............................. |
| b3c0 | 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 | .........(file-name-nondirectory |
| b3e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| b400 | 20 20 20 20 20 20 20 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 | ........(match-string-no-propert |
| b420 | 69 65 73 20 32 20 68 74 6d 6c 2d 73 74 72 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 | ies.2.html-str))))).........;;.( |
| b440 | 6d 65 73 73 61 67 65 20 22 64 62 67 20 75 70 64 61 74 65 64 2d 69 6d 67 2d 70 61 74 68 3a 20 25 | message."dbg.updated-img-path:.% |
| b460 | 53 22 20 75 70 64 61 74 65 64 2d 69 6d 67 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 | S".updated-img-path).........;;. |
| b480 | 28 6d 65 73 73 61 67 65 20 22 64 62 67 20 6d 61 74 63 68 20 31 3a 20 25 53 22 20 28 6d 61 74 63 | (message."dbg.match.1:.%S".(matc |
| b4a0 | 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 68 74 6d 6c 2d 73 74 | h-string-no-properties.1.html-st |
| b4c0 | 72 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 20 6d 61 74 | r)).........;;.(message."dbg.mat |
| b4e0 | 63 68 20 33 3a 20 25 53 22 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 | ch.3:.%S".(match-string-no-prope |
| b500 | 72 74 69 65 73 20 33 20 68 74 6d 6c 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d | rties.3.html-str)).........(form |
| b520 | 61 74 20 22 25 73 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 74 | at."%s%s%s".................(mat |
| b540 | 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 68 74 6d 6c 2d 73 | ch-string-no-properties.1.html-s |
| b560 | 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 70 64 61 74 65 64 2d 69 6d 67 2d | tr).................updated-img- |
| b580 | 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 74 63 68 2d 73 74 72 69 | path.................(match-stri |
| b5a0 | 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 33 20 68 74 6d 6c 2d 73 74 72 29 29 29 0a 20 | ng-no-properties.3.html-str))).. |
| b5c0 | 20 20 20 68 74 6d 6c 2d 73 74 72 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 | ...html-str))..(defun.org-blackf |
| b5e0 | 72 69 64 61 79 2d 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 28 6c 61 74 65 78 2d 65 | riday-latex-environment.(latex-e |
| b600 | 6e 76 69 72 6f 6e 6d 65 6e 74 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 | nvironment._contents.info)..."Tr |
| b620 | 61 6e 73 63 6f 64 65 20 61 20 4c 41 54 45 58 2d 45 4e 56 49 52 4f 4e 4d 45 4e 54 20 6f 62 6a 65 | anscode.a.LATEX-ENVIRONMENT.obje |
| b640 | 63 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 | ct.into.Blackfriday.Markdown.for |
| b660 | 6d 61 74 2e 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 20 63 6f 6e | mat..INFO.is.a.plist.holding.con |
| b680 | 74 65 78 74 75 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 | textual.information."...(let.((p |
| b6a0 | 72 6f 63 65 73 73 69 6e 67 2d 74 79 70 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a | rocessing-type.(plist-get.info.: |
| b6c0 | 77 69 74 68 2d 6c 61 74 65 78 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | with-latex))).....;;.(message."[ |
| b6e0 | 6f 78 2d 62 66 2d 70 72 6f 63 65 73 73 69 6e 67 2d 74 79 70 65 20 44 42 47 5d 20 70 72 6f 63 65 | ox-bf-processing-type.DBG].proce |
| b700 | 73 73 69 6e 67 2d 74 79 70 65 3a 20 25 73 22 20 70 72 6f 63 65 73 73 69 6e 67 2d 74 79 70 65 29 | ssing-type:.%s".processing-type) |
| b720 | 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 6d 65 6d 71 20 70 72 6f 63 65 73 73 69 6e | .....(cond......((memq.processin |
| b740 | 67 2d 74 79 70 65 20 27 28 74 20 6d 61 74 68 6a 61 78 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2a | g-type.'(t.mathjax)).......(let* |
| b760 | 20 28 28 6c 61 74 65 78 2d 65 6e 76 20 28 6f 72 67 2d 72 65 6d 6f 76 65 2d 69 6e 64 65 6e 74 61 | .((latex-env.(org-remove-indenta |
| b780 | 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | tion..........................(o |
| b7a0 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 6c 61 74 65 78 | rg-element-property.:value.latex |
| b7c0 | 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6e | -environment)))..............(en |
| b7e0 | 76 20 28 6f 72 67 2d 68 74 6d 6c 2d 66 6f 72 6d 61 74 2d 6c 61 74 65 78 20 6c 61 74 65 78 2d 65 | v.(org-html-format-latex.latex-e |
| b800 | 6e 76 20 27 6d 61 74 68 6a 61 78 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | nv.'mathjax.info)).............. |
| b820 | 28 65 6e 76 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 73 63 61 70 65 2d 63 68 61 | (env.(org-blackfriday-escape-cha |
| b840 | 72 73 2d 69 6e 2d 65 71 75 61 74 69 6f 6e 20 65 6e 76 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b | rs-in-equation.env))).........;; |
| b860 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 6c 61 74 65 78 2d 65 6e 76 20 44 42 47 5d | .(message."[ox-bf-latex-env.DBG] |
| b880 | 20 6c 61 74 65 78 2d 65 6e 76 3a 20 25 73 22 20 6c 61 74 65 78 2d 65 6e 76 29 0a 20 20 20 20 20 | .latex-env:.%s".latex-env)...... |
| b8a0 | 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 6c 61 74 65 78 2d 65 6e 76 | ...;;.(message."[ox-bf-latex-env |
| b8c0 | 20 44 42 47 5d 20 65 6e 76 3a 20 25 73 22 20 65 6e 76 29 0a 20 20 20 20 20 20 20 20 65 6e 76 29 | .DBG].env:.%s".env).........env) |
| b8e0 | 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 | )......(t.......(org-blackfriday |
| b900 | 2d 2d 75 70 64 61 74 65 2d 6c 74 78 69 6d 67 2d 70 61 74 68 0a 20 20 20 20 20 20 20 28 6f 72 67 | --update-ltximg-path........(org |
| b920 | 2d 68 74 6d 6c 2d 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 6c 61 74 65 78 2d 65 6e | -html-latex-environment.latex-en |
| b940 | 76 69 72 6f 6e 6d 65 6e 74 20 6e 69 6c 20 69 6e 66 6f 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 4c | vironment.nil.info))))))..;;;;.L |
| b960 | 61 74 65 78 20 46 72 61 67 6d 65 6e 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 | atex.Fragment.(defun.org-blackfr |
| b980 | 69 64 61 79 2d 6c 61 74 65 78 2d 66 72 61 67 6d 65 6e 74 20 28 6c 61 74 65 78 2d 66 72 61 67 6d | iday-latex-fragment.(latex-fragm |
| b9a0 | 65 6e 74 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 | ent._contents.info)..."Transcode |
| b9c0 | 20 61 20 4c 41 54 45 58 2d 46 52 41 47 4d 45 4e 54 20 6f 62 6a 65 63 74 20 69 6e 74 6f 20 42 6c | .a.LATEX-FRAGMENT.object.into.Bl |
| b9e0 | 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 49 4e 46 4f 20 | ackfriday.Markdown.format..INFO. |
| ba00 | 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 20 69 6e | is.a.plist.holding.contextual.in |
| ba20 | 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 6f 63 65 73 73 69 6e 67 2d | formation."...(let.((processing- |
| ba40 | 74 79 70 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 6c 61 74 65 78 | type.(plist-get.info.:with-latex |
| ba60 | 29 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 6d 65 6d 71 20 70 72 6f 63 65 73 | ))).....(cond......((memq.proces |
| ba80 | 73 69 6e 67 2d 74 79 70 65 20 27 28 74 20 6d 61 74 68 6a 61 78 29 29 0a 20 20 20 20 20 20 28 6c | sing-type.'(t.mathjax)).......(l |
| baa0 | 65 74 2a 20 28 28 6c 61 74 65 78 2d 66 72 61 67 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 | et*.((latex-frag.(org-element-pr |
| bac0 | 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 6c 61 74 65 78 2d 66 72 61 67 6d 65 6e 74 29 29 0a 20 | operty.:value.latex-fragment)).. |
| bae0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 66 72 61 67 20 28 6f 72 67 2d 68 74 6d 6c 2d 66 6f 72 6d | ............(frag.(org-html-form |
| bb00 | 61 74 2d 6c 61 74 65 78 20 6c 61 74 65 78 2d 66 72 61 67 20 27 6d 61 74 68 6a 61 78 20 69 6e 66 | at-latex.latex-frag.'mathjax.inf |
| bb20 | 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 72 61 67 20 28 6f 72 67 2d 62 6c 61 63 | o))..............(frag.(org-blac |
| bb40 | 6b 66 72 69 64 61 79 2d 65 73 63 61 70 65 2d 63 68 61 72 73 2d 69 6e 2d 65 71 75 61 74 69 6f 6e | kfriday-escape-chars-in-equation |
| bb60 | 20 66 72 61 67 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f | .frag))).........;;.(message."[o |
| bb80 | 78 2d 62 66 2d 6c 61 74 65 78 2d 66 72 61 67 20 44 42 47 5d 20 66 72 61 67 3a 20 25 73 22 20 66 | x-bf-latex-frag.DBG].frag:.%s".f |
| bba0 | 72 61 67 29 0a 20 20 20 20 20 20 20 20 66 72 61 67 29 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 | rag).........frag))......(t..... |
| bbc0 | 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 75 70 64 61 74 65 2d 6c 74 78 69 6d | ..(org-blackfriday--update-ltxim |
| bbe0 | 67 2d 70 61 74 68 0a 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 6c 61 74 65 78 2d 66 72 | g-path........(org-html-latex-fr |
| bc00 | 61 67 6d 65 6e 74 20 6c 61 74 65 78 2d 66 72 61 67 6d 65 6e 74 20 6e 69 6c 20 69 6e 66 6f 29 29 | agment.latex-fragment.nil.info)) |
| bc20 | 29 29 29 29 0a 0a 3b 3b 3b 3b 20 50 6c 61 69 6e 20 4c 69 73 74 0a 28 64 65 66 75 6e 20 6f 72 67 | ))))..;;;;.Plain.List.(defun.org |
| bc40 | 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 6c 61 69 6e 2d 6c 69 73 74 20 28 70 6c 61 69 6e 2d 6c | -blackfriday-plain-list.(plain-l |
| bc60 | 69 73 74 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 | ist.contents.info)..."Transcode. |
| bc80 | 50 4c 41 49 4e 2d 4c 49 53 54 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 | PLAIN-LIST.element.into.Blackfri |
| bca0 | 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 | day.Markdown.format..CONTENTS.is |
| bcc0 | 20 74 68 65 20 70 6c 61 69 6e 2d 6c 69 73 74 20 63 6f 6e 74 65 6e 74 73 2e 20 20 49 4e 46 4f 20 | .the.plain-list.contents...INFO. |
| bce0 | 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 0a 63 6f 6d 6d 75 6e 69 63 61 74 69 | is.a.plist.used.as.a.communicati |
| bd00 | 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 20 28 72 65 74 29 0a 20 20 20 20 28 69 | on.channel."...(let.(ret).....(i |
| bd20 | 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 65 78 70 6f 72 74 2d 6f 72 64 65 72 | f.(org-blackfriday--export-order |
| bd40 | 65 64 2d 6c 69 73 74 2d 61 73 2d 68 74 6d 6c 2d 70 20 70 6c 61 69 6e 2d 6c 69 73 74 29 0a 20 20 | ed-list-as-html-p.plain-list)... |
| bd60 | 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 | ......(setq.ret.(concat......... |
| bd80 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 | ...........(org-blackfriday--div |
| bda0 | 2d 77 72 61 70 2d 6d 61 79 62 65 20 70 6c 61 69 6e 2d 6c 69 73 74 20 6e 69 6c 20 69 6e 66 6f 29 | -wrap-maybe.plain-list.nil.info) |
| bdc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 70 6c | ....................(org-html-pl |
| bde0 | 61 69 6e 2d 6c 69 73 74 20 70 6c 61 69 6e 2d 6c 69 73 74 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 | ain-list.plain-list.contents.inf |
| be00 | 6f 29 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6e 65 78 74 20 28 6f 72 67 2d 65 78 70 | o))).......(let*.((next.(org-exp |
| be20 | 6f 72 74 2d 67 65 74 2d 6e 65 78 74 2d 65 6c 65 6d 65 6e 74 20 70 6c 61 69 6e 2d 6c 69 73 74 20 | ort-get-next-element.plain-list. |
| be40 | 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 65 78 74 2d 74 79 70 65 20 28 | info))..............(next-type.( |
| be60 | 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 6e 65 78 74 29 29 29 0a 20 20 20 20 20 20 20 | org-element-type.next)))........ |
| be80 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 63 6f 6e 74 65 6e 74 3a 20 60 25 73 27 2c 20 6e 65 78 | .;;.(message."content:.`%s',.nex |
| bea0 | 74 20 74 79 70 65 3a 20 25 73 22 20 63 6f 6e 74 65 6e 74 73 20 6e 65 78 74 2d 74 79 70 65 29 0a | t.type:.%s".contents.next-type). |
| bec0 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 | ........(setq.ret.(org-blackfrid |
| bee0 | 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 20 70 6c 61 69 6e 2d 6c 69 73 74 20 63 6f | ay--div-wrap-maybe.plain-list.co |
| bf00 | 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d | ntents.info)).........(when.(mem |
| bf20 | 62 65 72 20 6e 65 78 74 2d 74 79 70 65 20 27 28 70 6c 61 69 6e 2d 6c 69 73 74 0a 20 20 20 20 20 | ber.next-type.'(plain-list...... |
| bf40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 | .............................src |
| bf60 | 2d 62 6c 6f 63 6b 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 29 20 3b 68 74 74 70 73 3a 2f 2f | -block.example-block)).;https:// |
| bf80 | 67 69 74 68 75 62 2e 63 6f 6d 2f 72 75 73 73 72 6f 73 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 2f | github.com/russross/blackfriday/ |
| bfa0 | 69 73 73 75 65 73 2f 35 35 36 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 | issues/556...........(setq.ret.( |
| bfc0 | 63 6f 6e 63 61 74 20 72 65 74 20 22 5c 6e 3c 21 2d 2d 6c 69 73 74 65 6e 64 2d 2d 3e 22 29 29 29 | concat.ret."\n<!--listend-->"))) |
| bfe0 | 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 3b 3b 3b 3b 20 50 6c 61 69 6e 20 54 65 78 74 0a 28 64 | )).....ret))..;;;;.Plain.Text.(d |
| c000 | 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 6c 61 69 6e 2d 74 65 78 74 20 | efun.org-blackfriday-plain-text. |
| c020 | 28 74 65 78 74 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 54 45 58 54 20 65 6c | (text.info)..."Transcode.TEXT.el |
| c040 | 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 | ement.into.Blackfriday.Markdown. |
| c060 | 66 6f 72 6d 61 74 2e 0a 54 45 58 54 20 69 73 20 74 68 65 20 73 74 72 69 6e 67 20 74 6f 20 74 72 | format..TEXT.is.the.string.to.tr |
| c080 | 61 6e 73 63 6f 64 65 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 | anscode...INFO.is.a.plist.used.a |
| c0a0 | 73 20 61 0a 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 54 45 58 54 | s.a.communication.channel...TEXT |
| c0c0 | 20 77 6f 75 6c 64 20 63 6f 6e 74 61 69 6e 20 74 68 65 20 74 65 78 74 20 66 72 6f 6d 20 6f 6e 65 | .would.contain.the.text.from.one |
| c0e0 | 20 70 61 72 61 67 72 61 70 68 20 69 2e 65 2e 20 74 68 65 20 63 6f 6e 74 65 6e 74 0a 73 65 70 61 | .paragraph.i.e..the.content.sepa |
| c100 | 72 61 74 65 64 20 62 79 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 2e 0a 0a 54 68 69 73 20 66 75 6e 63 | rated.by.blank.lines...This.func |
| c120 | 74 69 6f 6e 20 69 73 20 61 6c 6d 6f 73 74 20 73 61 6d 65 20 61 73 20 60 6f 72 67 2d 6d 64 2d 70 | tion.is.almost.same.as.`org-md-p |
| c140 | 6c 61 69 6e 2d 74 65 78 74 27 20 65 78 63 65 70 74 20 69 74 0a 66 69 72 73 74 20 65 73 63 61 70 | lain-text'.except.it.first.escap |
| c160 | 65 73 20 61 6e 79 20 65 78 69 73 74 69 6e 67 20 5c 22 5c 5c 5c 22 2c 20 61 6e 64 20 74 68 65 6e | es.any.existing.\"\\\",.and.then |
| c180 | 20 65 73 63 61 70 65 73 20 6f 74 68 65 72 20 73 74 72 69 6e 67 0a 6d 61 74 63 68 65 73 20 77 69 | .escapes.other.string.matches.wi |
| c1a0 | 74 68 20 5c 22 5c 5c 5c 22 20 61 73 20 6e 65 65 64 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 6f | th.\"\\\".as.needed."...(let.((o |
| c1c0 | 72 69 67 2d 74 65 78 74 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 54 68 65 20 62 65 6c 6f 77 | rig-text.text)).....;;.The.below |
| c1e0 | 20 73 65 72 69 65 73 20 6f 66 20 72 65 70 6c 61 63 65 6d 65 6e 74 73 20 69 6e 20 60 74 65 78 74 | .series.of.replacements.in.`text |
| c200 | 27 20 69 73 20 6f 72 64 65 72 0a 20 20 20 20 3b 3b 20 73 65 6e 73 69 74 69 76 65 2e 0a 20 20 20 | '.is.order.....;;.sensitive..... |
| c220 | 20 3b 3b 20 50 72 6f 74 65 63 74 20 60 2c 20 2a 20 61 6e 64 20 5c 0a 20 20 20 20 28 73 65 74 71 | .;;.Protect.`,.*.and.\.....(setq |
| c240 | 20 74 65 78 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 | .text.(replace-regexp-in-string. |
| c260 | 22 5b 60 2a 5c 5c 5d 22 20 22 5c 5c 5c 5c 5c 5c 26 22 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b | "[`*\\]"."\\\\\\&".text)).....;; |
| c280 | 20 50 72 6f 74 65 63 74 20 5f 20 6f 6e 6c 79 20 69 66 20 69 74 20 69 73 20 70 72 65 63 65 64 65 | .Protect._.only.if.it.is.precede |
| c2a0 | 64 20 6f 72 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 77 6f 72 64 20 62 6f 75 6e 64 61 72 79 | d.or.followed.by.a.word.boundary |
| c2c0 | 0a 20 20 20 20 3b 3b 20 28 22 5c 62 22 20 64 6f 65 73 6e 27 74 20 77 6f 72 6b 20 62 65 63 61 75 | .....;;.("\b".doesn't.work.becau |
| c2e0 | 73 65 20 5f 20 69 74 73 65 6c 66 20 69 73 20 63 6f 6e 73 69 64 65 72 65 64 20 74 6f 20 62 65 20 | se._.itself.is.considered.to.be. |
| c300 | 61 20 77 6f 72 64 0a 20 20 20 20 3b 3b 20 62 6f 75 6e 64 61 72 79 29 2e 0a 20 20 20 20 3b 3b 20 | a.word.....;;.boundary)......;;. |
| c320 | 22 66 6f 6f 5f 20 62 61 72 22 20 2d 3e 20 22 66 6f 6f 5c 5f 20 62 61 72 22 0a 20 20 20 20 28 73 | "foo_.bar".->."foo\_.bar".....(s |
| c340 | 65 74 71 20 74 65 78 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 | etq.text.(replace-regexp-in-stri |
| c360 | 6e 67 20 22 5c 5c 28 5b 5b 3a 67 72 61 70 68 3a 5d 5d 5c 5c 29 5c 5c 28 5b 5f 5d 5c 5c 29 5c 5c | ng."\\([[:graph:]]\\)\\([_]\\)\\ |
| c380 | 28 5b 5b 3a 73 70 61 63 65 3a 5d 2e 21 3f 5d 5c 5c 7c 5c 5c 27 5c 5c 29 22 20 22 5c 5c 31 5c 5c | ([[:space:].!?]\\|\\'\\)"."\\1\\ |
| c3a0 | 5c 5c 5c 5c 32 5c 5c 33 22 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 22 66 6f 6f 20 5f 62 61 | \\\\2\\3".text)).....;;."foo._ba |
| c3c0 | 72 22 20 2d 3e 20 22 66 6f 6f 20 5c 5f 62 61 72 22 0a 20 20 20 20 28 73 65 74 71 20 74 65 78 74 | r".->."foo.\_bar".....(setq.text |
| c3e0 | 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5b | .(replace-regexp-in-string."\\([ |
| c400 | 5b 3a 73 70 61 63 65 3a 5d 5d 5c 5c 7c 5c 5c 60 5c 5c 29 5c 5c 28 5b 5f 5d 5c 5c 29 5c 5c 28 5b | [:space:]]\\|\\`\\)\\([_]\\)\\([ |
| c420 | 5b 3a 67 72 61 70 68 3a 5d 5d 5c 5c 29 22 20 22 5c 5c 31 5c 5c 5c 5c 5c 5c 32 5c 5c 33 22 20 74 | [:graph:]]\\)"."\\1\\\\\\2\\3".t |
| c440 | 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 50 72 6f 74 65 63 74 20 74 68 65 20 63 68 61 72 61 63 74 | ext)).....;;.Protect.the.charact |
| c460 | 65 72 73 20 69 6e 20 60 6f 72 67 2d 68 74 6d 6c 2d 70 72 6f 74 65 63 74 2d 63 68 61 72 2d 61 6c | ers.in.`org-html-protect-char-al |
| c480 | 69 73 74 27 20 28 60 3c 27 2c 0a 20 20 20 20 3b 3b 20 60 3e 27 2c 20 60 26 27 29 2e 0a 20 20 20 | ist'.(`<',.....;;.`>',.`&')..... |
| c4a0 | 20 28 73 65 74 71 20 74 65 78 74 20 28 6f 72 67 2d 68 74 6d 6c 2d 65 6e 63 6f 64 65 2d 70 6c 61 | .(setq.text.(org-html-encode-pla |
| c4c0 | 69 6e 2d 74 65 78 74 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 50 72 6f 74 65 63 74 20 62 72 | in-text.text)).....;;.Protect.br |
| c4e0 | 61 63 65 73 20 77 68 65 6e 20 76 65 72 62 61 74 69 6d 20 73 68 6f 72 74 63 6f 64 65 20 6d 65 6e | aces.when.verbatim.shortcode.men |
| c500 | 74 69 6f 6e 73 20 61 72 65 20 64 65 74 65 63 74 65 64 2e 0a 20 20 20 20 28 73 65 74 71 20 74 65 | tions.are.detected......(setq.te |
| c520 | 78 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 7b 7b | xt.(replace-regexp-in-string."{{ |
| c540 | 25 22 20 22 7b 26 6c 62 72 61 63 65 3b 25 22 20 74 65 78 74 29 29 0a 20 20 20 20 28 73 65 74 71 | %"."{{%".text)).....(setq |
| c560 | 20 74 65 78 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 | .text.(replace-regexp-in-string. |
| c580 | 22 25 7d 7d 22 20 22 25 26 72 62 72 61 63 65 3b 7d 22 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b | "%}}"."%}}".text)).....;; |
| c5a0 | 20 50 72 6f 74 65 63 74 20 61 6d 62 69 67 75 6f 75 73 20 23 2e 20 20 54 68 69 73 20 77 69 6c 6c | .Protect.ambiguous.#...This.will |
| c5c0 | 20 70 72 6f 74 65 63 74 20 23 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 | .protect.#.at.the.beginning.of.a |
| c5e0 | 0a 20 20 20 20 3b 3b 20 6c 69 6e 65 2c 20 62 75 74 20 6e 6f 74 20 61 74 20 74 68 65 20 62 65 67 | .....;;.line,.but.not.at.the.beg |
| c600 | 69 6e 6e 69 6e 67 20 6f 66 20 61 20 70 61 72 61 67 72 61 70 68 2e 20 20 53 65 65 0a 20 20 20 20 | inning.of.a.paragraph...See..... |
| c620 | 3b 3b 20 60 6f 72 67 2d 6d 64 2d 70 61 72 61 67 72 61 70 68 27 2e 0a 20 20 20 20 28 73 65 74 71 | ;;.`org-md-paragraph'......(setq |
| c640 | 20 74 65 78 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 | .text.(replace-regexp-in-string. |
| c660 | 22 5c 6e 23 22 20 22 5c 6e 5c 5c 5c 5c 23 22 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 50 72 | "\n#"."\n\\\\#".text)).....;;.Pr |
| c680 | 6f 74 65 63 74 20 61 6d 62 69 67 75 6f 75 73 20 60 21 27 0a 20 20 20 20 28 73 65 74 71 20 74 65 | otect.ambiguous.`!'.....(setq.te |
| c6a0 | 78 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c | xt.(replace-regexp-in-string."\\ |
| c6c0 | 28 21 5c 5c 29 5c 5c 5b 22 20 22 5c 5c 5c 5c 21 22 20 74 65 78 74 20 6e 69 6c 20 6e 69 6c 20 31 | (!\\)\\["."\\\\!".text.nil.nil.1 |
| c6e0 | 29 29 0a 20 20 20 20 3b 3b 20 43 6f 6e 76 65 72 74 20 74 6f 20 73 6d 61 72 74 20 71 75 6f 74 65 | )).....;;.Convert.to.smart.quote |
| c700 | 73 2c 20 69 66 20 72 65 71 75 69 72 65 64 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 70 6c 69 73 74 | s,.if.required......(when.(plist |
| c720 | 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 73 6d 61 72 74 2d 71 75 6f 74 65 73 29 0a 20 20 | -get.info.:with-smart-quotes)... |
| c740 | 20 20 20 20 28 73 65 74 71 20 74 65 78 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 61 63 74 69 76 | ....(setq.text.(org-export-activ |
| c760 | 61 74 65 2d 73 6d 61 72 74 2d 71 75 6f 74 65 73 20 74 65 78 74 20 3a 68 74 6d 6c 20 69 6e 66 6f | ate-smart-quotes.text.:html.info |
| c780 | 20 6f 72 69 67 2d 74 65 78 74 29 29 29 0a 20 20 20 20 3b 3b 20 48 61 6e 64 6c 65 20 73 70 65 63 | .orig-text))).....;;.Handle.spec |
| c7a0 | 69 61 6c 20 73 74 72 69 6e 67 73 2c 20 69 66 20 72 65 71 75 69 72 65 64 2e 0a 20 20 20 20 28 77 | ial.strings,.if.required......(w |
| c7c0 | 68 65 6e 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 73 70 65 63 69 61 | hen.(plist-get.info.:with-specia |
| c7e0 | 6c 2d 73 74 72 69 6e 67 73 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 74 65 78 74 20 28 6f 72 67 | l-strings).......(setq.text.(org |
| c800 | 2d 68 74 6d 6c 2d 63 6f 6e 76 65 72 74 2d 73 70 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 20 74 65 | -html-convert-special-strings.te |
| c820 | 78 74 29 29 29 0a 20 20 20 20 3b 3b 20 48 61 6e 64 6c 65 20 62 72 65 61 6b 20 70 72 65 73 65 72 | xt))).....;;.Handle.break.preser |
| c840 | 76 61 74 69 6f 6e 2c 20 69 66 20 72 65 71 75 69 72 65 64 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 | vation,.if.required......(when.( |
| c860 | 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 70 72 65 73 65 72 76 65 2d 62 72 65 61 6b 73 29 | plist-get.info.:preserve-breaks) |
| c880 | 0a 20 20 20 20 20 20 28 73 65 74 71 20 74 65 78 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 | .......(setq.text.(replace-regex |
| c8a0 | 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 20 5c 74 5d 2a 5c 6e 22 20 22 20 3c 62 72 2f 3e 5c 6e | p-in-string."[.\t]*\n".".<br/>\n |
| c8c0 | 22 20 74 65 78 74 29 29 29 0a 20 20 20 20 3b 3b 20 52 65 74 75 72 6e 20 76 61 6c 75 65 2e 0a 20 | ".text))).....;;.Return.value... |
| c8e0 | 20 20 20 74 65 78 74 29 29 0a 0a 3b 3b 3b 3b 20 51 75 6f 74 65 20 42 6c 6f 63 6b 0a 28 64 65 66 | ...text))..;;;;.Quote.Block.(def |
| c900 | 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 28 | un.org-blackfriday-quote-block.( |
| c920 | 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 | quote-block.contents.info)..."Tr |
| c940 | 61 6e 73 63 6f 64 65 20 51 55 4f 54 45 2d 42 4c 4f 43 4b 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f | anscode.QUOTE-BLOCK.element.into |
| c960 | 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f | .Blackfriday.Markdown.format..CO |
| c980 | 4e 54 45 4e 54 53 20 69 73 20 74 68 65 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e | NTENTS.is.the.quote-block.conten |
| c9a0 | 74 73 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 0a 63 | ts...INFO.is.a.plist.used.as.a.c |
| c9c0 | 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 | ommunication.channel."...(let*.( |
| c9e0 | 28 6e 65 78 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 65 78 74 2d 65 6c 65 6d 65 | (next.(org-export-get-next-eleme |
| ca00 | 6e 74 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 | nt.quote-block.info))..........( |
| ca20 | 6e 65 78 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 6e 65 78 74 | next-type.(org-element-type.next |
| ca40 | 29 29 0a 20 20 20 20 20 20 20 20 20 28 6e 65 78 74 2d 69 73 2d 71 75 6f 74 65 20 28 65 71 20 27 | ))..........(next-is-quote.(eq.' |
| ca60 | 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 6e 65 78 74 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 | quote-block.next-type))......... |
| ca80 | 20 28 63 6f 6e 74 65 6e 74 73 20 28 6f 72 67 2d 6d 64 2d 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 71 | .(contents.(org-md-quote-block.q |
| caa0 | 75 6f 74 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 | uote-block.contents.info))...... |
| cac0 | 20 20 20 20 72 65 74 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 | ....ret).....;;.(message."[ox-bf |
| cae0 | 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 44 42 47 5d 22 29 0a 20 20 20 20 28 73 65 74 71 20 72 65 | .quote-block.DBG]").....(setq.re |
| cb00 | 74 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 | t.(org-blackfriday--div-wrap-may |
| cb20 | 62 65 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 20 | be.quote-block.contents.info)).. |
| cb40 | 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 20 72 65 74 0a 20 20 20 20 20 20 20 | ...(setq.ret.(concat.ret........ |
| cb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 77 6f 20 63 6f 6e 73 65 63 75 74 69 76 | ...............;;.Two.consecutiv |
| cb80 | 65 20 62 6c 6f 63 6b 71 75 6f 74 65 73 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 20 63 61 6e 20 62 65 | e.blockquotes.in.Markdown.can.be |
| cba0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 70 61 72 61 | .......................;;.separa |
| cbc0 | 74 65 64 20 62 79 20 61 20 63 6f 6d 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ted.by.a.comment................ |
| cbe0 | 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6e 65 78 74 2d 69 73 2d 71 75 6f 74 65 0a 20 20 20 20 | ........(when.next-is-quote..... |
| cc00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 5c 6e 3c 21 2d 2d 71 75 6f | ...................."\n\n<!--quo |
| cc20 | 74 65 65 6e 64 2d 2d 3e 22 29 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 3b 3b 3b 3b 20 52 61 64 | teend-->"))).....ret))..;;;;.Rad |
| cc40 | 69 6f 20 54 61 72 67 65 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 | io.Target.(defun.org-blackfriday |
| cc60 | 2d 72 61 64 69 6f 2d 74 61 72 67 65 74 20 28 72 61 64 69 6f 2d 74 61 72 67 65 74 20 74 65 78 74 | -radio-target.(radio-target.text |
| cc80 | 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 52 41 44 49 4f 2d 54 41 52 | ._info)..."Transcode.a.RADIO-TAR |
| cca0 | 47 45 54 20 6f 62 6a 65 63 74 20 66 72 6f 6d 20 4f 72 67 20 74 6f 20 48 54 4d 4c 2e 0a 0a 54 45 | GET.object.from.Org.to.HTML...TE |
| ccc0 | 58 54 20 69 73 20 6e 69 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 72 65 66 69 78 20 28 6f 72 | XT.is.nil."...(let*.((prefix.(or |
| cce0 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 20 27 72 | g-blackfriday--get-ref-prefix.'r |
| cd00 | 61 64 69 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 66 20 28 66 6f 72 6d 61 74 20 22 25 73 | adio))..........(ref.(format."%s |
| cd20 | 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 69 78 | %s".......................prefix |
| cd40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 | .......................(org-blac |
| cd60 | 6b 66 72 69 64 61 79 2d 2d 76 61 6c 69 64 2d 68 74 6d 6c 2d 61 6e 63 68 6f 72 2d 6e 61 6d 65 0a | kfriday--valid-html-anchor-name. |
| cd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d | .......................(org-elem |
| cda0 | 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 72 61 64 69 6f 2d 74 61 72 67 65 74 | ent-property.:value.radio-target |
| cdc0 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 74 74 72 20 28 66 6f 72 6d 61 74 20 22 20 63 6c | ))))..........(attr.(format.".cl |
| cde0 | 61 73 73 3d 5c 22 25 73 5c 22 20 69 64 3d 5c 22 25 73 5c 22 22 0a 20 20 20 20 20 20 20 20 20 20 | ass=\"%s\".id=\"%s\""........... |
| ce00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 72 65 6d 6f 76 65 2d 73 75 66 66 | .............(string-remove-suff |
| ce20 | 69 78 20 22 2d 2d 22 20 70 72 65 66 69 78 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ix."--".prefix)................. |
| ce40 | 20 20 20 20 20 20 20 72 65 66 29 29 29 0a 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 | .......ref))).....(org-blackfrid |
| ce60 | 61 79 2d 2d 6c 69 6e 6b 2d 74 61 72 67 65 74 20 61 74 74 72 20 74 65 78 74 29 29 29 0a 0a 3b 3b | ay--link-target.attr.text)))..;; |
| ce80 | 3b 3b 20 53 70 65 63 69 61 6c 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 | ;;.Special.Block.(defun.org-blac |
| cea0 | 6b 66 72 69 64 61 79 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 28 73 70 65 63 69 61 6c 2d 62 | kfriday-special-block.(special-b |
| cec0 | 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 | lock.contents.info)..."Transcode |
| cee0 | 20 61 20 53 50 45 43 49 41 4c 2d 42 4c 4f 43 4b 20 65 6c 65 6d 65 6e 74 20 66 72 6f 6d 20 4f 72 | .a.SPECIAL-BLOCK.element.from.Or |
| cf00 | 67 20 74 6f 20 48 54 4d 4c 2e 0a 43 4f 4e 54 45 4e 54 53 20 68 6f 6c 64 73 20 74 68 65 20 63 6f | g.to.HTML..CONTENTS.holds.the.co |
| cf20 | 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 62 6c 6f 63 6b 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 | ntents.of.the.block...INFO.is.a. |
| cf40 | 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 | plist.used.as.a.communication.ch |
| cf60 | 61 6e 6e 65 6c 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 61 64 61 70 74 65 64 | annel...This.function.is.adapted |
| cf80 | 20 66 72 6f 6d 20 60 6f 72 67 2d 68 74 6d 6c 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 27 2e 22 | .from.`org-html-special-block'." |
| cfa0 | 0a 20 20 28 6c 65 74 2a 20 28 28 62 6c 6f 63 6b 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 | ...(let*.((block-type.(org-eleme |
| cfc0 | 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 | nt-property.:type.special-block) |
| cfe0 | 29 0a 20 20 20 20 20 20 20 20 20 28 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 6c 69 73 74 20 28 6f 72 | )..........(block-type-plist.(or |
| d000 | 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 2d 70 6c 69 73 74 20 73 | g-element-property.:type-plist.s |
| d020 | 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 35 2d 69 | pecial-block))..........(html5-i |
| d040 | 6e 6c 69 6e 65 2d 66 61 6e 63 79 20 28 6d 65 6d 62 65 72 20 62 6c 6f 63 6b 2d 74 79 70 65 20 6f | nline-fancy.(member.block-type.o |
| d060 | 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 68 74 6d 6c 35 2d 69 6e 6c 69 6e 65 2d 65 6c 65 6d | rg-blackfriday-html5-inline-elem |
| d080 | 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 35 2d 62 6c 6f 63 6b 2d 66 61 6e | ents))..........(html5-block-fan |
| d0a0 | 63 79 20 28 6d 65 6d 62 65 72 20 62 6c 6f 63 6b 2d 74 79 70 65 20 6f 72 67 2d 68 74 6d 6c 2d 68 | cy.(member.block-type.org-html-h |
| d0c0 | 74 6d 6c 35 2d 65 6c 65 6d 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 35 2d | tml5-elements))..........(html5- |
| d0e0 | 66 61 6e 63 79 20 28 6f 72 20 68 74 6d 6c 35 2d 69 6e 6c 69 6e 65 2d 66 61 6e 63 79 20 68 74 6d | fancy.(or.html5-inline-fancy.htm |
| d100 | 6c 35 2d 62 6c 6f 63 6b 2d 66 61 6e 63 79 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 74 74 72 69 | l5-block-fancy))..........(attri |
| d120 | 62 75 74 65 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 | butes.(org-export-read-attribute |
| d140 | 20 3a 61 74 74 72 5f 68 74 6d 6c 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 | .:attr_html.special-block))..... |
| d160 | 20 20 20 20 20 28 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 | .....(trim-pre-tag.(or.(plist-ge |
| d180 | 74 20 69 6e 66 6f 20 3a 74 72 69 6d 2d 70 72 65 2d 74 61 67 29 20 22 22 29 29 0a 20 20 20 20 20 | t.info.:trim-pre-tag).""))...... |
| d1a0 | 20 20 20 20 28 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 | ....(trim-post-tag.(or.(plist-ge |
| d1c0 | 74 20 69 6e 66 6f 20 3a 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 29 20 22 22 29 29 29 0a 20 20 20 | t.info.:trim-post-tag).""))).... |
| d1e0 | 20 28 75 6e 6c 65 73 73 20 68 74 6d 6c 35 2d 66 61 6e 63 79 0a 20 20 20 20 20 20 28 6c 65 74 20 | .(unless.html5-fancy.......(let. |
| d200 | 28 28 63 6c 61 73 73 20 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 69 62 75 74 65 73 20 3a 63 | ((class.(plist-get.attributes.:c |
| d220 | 6c 61 73 73 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 61 74 74 72 69 62 75 74 65 73 | lass))).........(setq.attributes |
| d240 | 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 69 62 75 74 65 73 20 3a 63 6c 61 73 73 0a 20 20 | .(plist-put.attributes.:class... |
| d260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| d280 | 20 20 28 69 66 20 63 6c 61 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(if.class..................... |
| d2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 63 6c 61 73 | ....................(concat.clas |
| d2c0 | 73 20 22 20 22 20 62 6c 6f 63 6b 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.".".block-type)............... |
| d2e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 2d 74 79 | ........................block-ty |
| d300 | 70 65 29 29 29 29 29 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 63 6f 6e 74 65 6e 74 73 20 28 6f 72 | pe))))).....(let*.((contents.(or |
| d320 | 20 28 6f 72 67 2d 74 72 69 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(org-trim...................... |
| d340 | 20 20 20 20 20 28 69 66 20 28 70 6c 69 73 74 2d 67 65 74 20 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 | .....(if.(plist-get.block-type-p |
| d360 | 6c 69 73 74 20 3a 72 61 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | list.:raw)...................... |
| d380 | 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 6c 69 73 74 73 2e 67 6e 75 2e 6f 72 | .........;;.https://lists.gnu.or |
| d3a0 | 67 2f 72 2f 65 6d 61 63 73 2d 6f 72 67 6d 6f 64 65 2f 32 30 32 32 2d 30 31 2f 6d 73 67 30 30 31 | g/r/emacs-orgmode/2022-01/msg001 |
| d3c0 | 33 32 2e 68 74 6d 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 32.html......................... |
| d3e0 | 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 69 6e 74 65 72 70 72 65 74 2d 64 61 74 | ......(org-element-interpret-dat |
| d400 | 61 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 73 70 65 63 69 61 6c 2d | a.(org-element-contents.special- |
| d420 | 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | block))......................... |
| d440 | 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....contents)).................. |
| d460 | 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 23 2b | ........""))............;;.If.#+ |
| d480 | 6e 61 6d 65 20 69 73 20 73 70 65 63 69 66 69 65 64 2c 20 75 73 65 20 74 68 61 74 20 66 6f 72 20 | name.is.specified,.use.that.for. |
| d4a0 | 74 68 65 20 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 | the.HTML.element............;;." |
| d4c0 | 69 64 22 20 61 74 74 72 69 62 75 74 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 28 6e 61 6d 65 20 | id".attribute.............(name. |
| d4e0 | 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6e 61 6d 65 20 73 70 65 63 | (org-element-property.:name.spec |
| d500 | 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 61 74 74 72 2d 73 74 72 | ial-block))............(attr-str |
| d520 | 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 | .(org-blackfriday--make-attribut |
| d540 | 65 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | e-string.......................( |
| d560 | 69 66 20 28 6f 72 20 28 6e 6f 74 20 6e 61 6d 65 29 20 28 70 6c 69 73 74 2d 6d 65 6d 62 65 72 20 | if.(or.(not.name).(plist-member. |
| d580 | 61 74 74 72 69 62 75 74 65 73 20 3a 69 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | attributes.:id))................ |
| d5a0 | 20 20 20 20 20 20 20 20 20 20 20 61 74 74 72 69 62 75 74 65 73 0a 20 20 20 20 20 20 20 20 20 20 | ...........attributes........... |
| d5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 69 62 75 | ..............(plist-put.attribu |
| d5e0 | 74 65 73 20 3a 69 64 20 6e 61 6d 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 61 74 74 | tes.:id.name))))............(att |
| d600 | 72 2d 73 74 72 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 61 74 74 72 2d | r-str.(if.(org-string-nw-p.attr- |
| d620 | 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 | str)..........................(c |
| d640 | 6f 6e 63 61 74 20 22 20 22 20 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | oncat.".".attr-str)............. |
| d660 | 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 29 0a 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 | ...........""))).......(cond.... |
| d680 | 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 62 6c 6f 63 6b 2d 74 79 70 65 20 22 64 65 74 61 69 6c | ....((string=.block-type."detail |
| d6a0 | 73 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 52 65 63 6f 67 6e 69 7a 65 20 4f 72 67 20 53 70 65 | s").........;;.Recognize.Org.Spe |
| d6c0 | 63 69 61 6c 20 62 6c 6f 63 6b 73 20 6c 69 6b 65 3a 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 23 | cial.blocks.like:.........;;...# |
| d6e0 | 2b 62 65 67 69 6e 5f 64 65 74 61 69 6c 73 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 62 65 | +begin_details.........;;...#+be |
| d700 | 67 69 6e 5f 73 75 6d 6d 61 72 79 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 54 68 69 73 20 69 73 | gin_summary.........;;...This.is |
| d720 | 20 73 75 6d 6d 61 72 79 2e 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 65 6e 64 5f 73 75 6d | .summary..........;;...#+end_sum |
| d740 | 6d 61 72 79 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 48 65 72 65 20 61 72 65 20 74 68 65 20 64 | mary.........;;...Here.are.the.d |
| d760 | 65 74 61 69 6c 73 2e 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 65 6e 64 5f 64 65 74 61 69 | etails..........;;...#+end_detai |
| d780 | 6c 73 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 64 69 76 2d 6f 70 65 6e 20 22 3c 64 69 76 | ls.........(let.((div-open."<div |
| d7a0 | 20 63 6c 61 73 73 3d 5c 22 64 65 74 61 69 6c 73 5c 22 3e 22 29 29 0a 20 20 20 20 20 20 20 20 20 | .class=\"details\">")).......... |
| d7c0 | 20 28 73 65 74 71 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(setq.contents................. |
| d7e0 | 28 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 57 72 61 70 | (concat..................;;.Wrap |
| d800 | 20 74 68 65 20 22 64 65 74 61 69 6c 73 22 20 70 6f 72 74 69 6f 6e 20 69 6e 20 74 68 65 20 3c 64 | .the."details".portion.in.the.<d |
| d820 | 65 74 61 69 6c 73 3e 20 74 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | etails>.tag..................;;. |
| d840 | 77 69 74 68 20 27 3c 64 69 76 20 63 6c 61 73 73 3d 22 64 65 74 61 69 6c 73 22 3e 20 2e 2e 20 3c | with.'<div.class="details">....< |
| d860 | 2f 64 69 76 3e 27 2e 20 20 57 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | /div>'...With..................; |
| d880 | 3b 20 74 68 61 74 2c 20 43 53 53 20 72 75 6c 65 73 20 63 61 6e 20 62 65 20 73 65 74 20 73 70 65 | ;.that,.CSS.rules.can.be.set.spe |
| d8a0 | 63 69 66 69 63 20 74 6f 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | cific.to.that..................; |
| d8c0 | 3b 20 64 65 74 61 69 6c 73 20 70 6f 72 74 69 6f 6e 20 75 73 69 6e 67 20 22 64 65 74 61 69 6c 73 | ;.details.portion.using."details |
| d8e0 | 20 2e 64 65 74 61 69 6c 73 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 | ..details"...................(if |
| d900 | 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 28 3f 31 3a 3c 73 75 6d 6d 61 72 79 3e 5c | .(string-match."\\(?1:<summary>\ |
| d920 | 5c 28 3f 3a 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 3c 2f 73 75 6d 6d 61 72 79 3e 5c 5c 29 22 20 63 6f 6e | \(?:.\\|\n\\)*</summary>\\)".con |
| d940 | 74 65 6e 74 73 29 20 3b 49 66 20 73 75 6d 6d 61 72 79 20 65 78 69 73 74 73 0a 20 20 20 20 20 20 | tents).;If.summary.exists....... |
| d960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 28 66 | ...............(replace-match.(f |
| d980 | 6f 72 6d 61 74 20 22 5c 5c 31 5c 6e 25 73 22 20 64 69 76 2d 6f 70 65 6e 29 20 6e 69 6c 20 6e 69 | ormat."\\1\n%s".div-open).nil.ni |
| d9a0 | 6c 20 63 6f 6e 74 65 6e 74 73 20 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l.contents.1)................... |
| d9c0 | 20 28 63 6f 6e 63 61 74 20 64 69 76 2d 6f 70 65 6e 20 22 5c 6e 5c 6e 22 20 63 6f 6e 74 65 6e 74 | .(concat.div-open."\n\n".content |
| d9e0 | 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4e 65 77 6c 69 6e 65 20 | s))..................;;.Newline. |
| da00 | 69 73 20 69 6e 73 65 72 74 65 64 20 62 65 66 6f 72 65 20 74 68 65 20 63 6c 6f 73 69 6e 67 20 3c | is.inserted.before.the.closing.< |
| da20 | 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 61 67 20 66 6f | /div>..................;;.tag.fo |
| da40 | 72 20 74 68 65 20 72 65 61 73 6f 6e 20 65 78 70 6c 61 69 6e 65 64 20 62 65 6c 6f 77 20 75 73 69 | r.the.reason.explained.below.usi |
| da60 | 6e 67 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 6d 61 63 73 | ng.the..................;;.emacs |
| da80 | 2d 6c 69 73 70 20 4d 61 72 6b 64 6f 77 6e 20 63 6f 64 65 20 62 6c 6f 63 6b 2e 0a 20 20 20 20 20 | -lisp.Markdown.code.block....... |
| daa0 | 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 3c 2f 64 69 76 3e 22 29 29 29 0a 20 20 20 20 20 20 | ............"\n</div>")))....... |
| dac0 | 20 20 3b 3b 20 49 6e 73 65 72 74 20 74 68 65 20 22 6f 70 65 6e 22 20 61 74 74 72 69 62 75 74 65 | ..;;.Insert.the."open".attribute |
| dae0 | 20 6f 6e 6c 79 20 69 66 20 75 73 65 72 20 68 61 73 20 22 3a 6f 70 65 6e 20 74 22 20 69 6e 0a 20 | .only.if.user.has.":open.t".in.. |
| db00 | 20 20 20 20 20 20 20 3b 3b 20 22 23 2b 61 74 74 72 5f 68 74 6d 6c 22 2e 0a 20 20 20 20 20 20 20 | .......;;."#+attr_html"......... |
| db20 | 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 61 74 74 72 2d 73 74 72 | .(when.(org-string-nw-p.attr-str |
| db40 | 29 0a 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 | )...........(when.(string-match. |
| db60 | 22 5c 5c 28 3f 31 3a 6f 70 65 6e 5c 5c 28 3f 32 3a 3d 5c 22 5c 5c 28 3f 33 3a 74 5c 5c 29 5c 22 | "\\(?1:open\\(?2:=\"\\(?3:t\\)\" |
| db80 | 5c 5c 29 5c 5c 29 22 20 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 | \\)\\)".attr-str).............(i |
| dba0 | 66 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 33 20 61 74 74 72 2d 73 74 72 29 20 3b 69 66 20 | f.(match-string.3.attr-str).;if. |
| dbc0 | 61 74 74 72 2d 73 74 72 20 63 6f 6e 74 61 69 6e 73 20 60 6f 70 65 6e 3d 22 74 22 27 0a 20 20 20 | attr-str.contains.`open="t"'.... |
| dbe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 61 74 74 72 2d 73 74 72 20 28 72 65 70 | .............(setq.attr-str.(rep |
| dc00 | 6c 61 63 65 2d 6d 61 74 63 68 20 22 22 20 6e 69 6c 20 6e 69 6c 20 61 74 74 72 2d 73 74 72 20 32 | lace-match."".nil.nil.attr-str.2 |
| dc20 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 61 74 74 72 2d 73 74 72 20 | ))...............(setq.attr-str. |
| dc40 | 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 22 22 20 6e 69 6c 20 6e 69 6c 20 61 74 74 72 2d 73 | (replace-match."".nil.nil.attr-s |
| dc60 | 74 72 20 31 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 73 65 72 74 20 61 20 6e 65 | tr.1))))).........;;.Insert.a.ne |
| dc80 | 77 6c 69 6e 65 20 62 65 66 6f 72 65 20 61 6e 64 20 61 66 74 65 72 20 74 68 65 20 60 63 6f 6e 74 | wline.before.and.after.the.`cont |
| dca0 | 65 6e 74 73 27 20 74 6f 20 68 61 6e 64 6c 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 74 68 65 20 63 | ents'.to.handle.........;;.the.c |
| dcc0 | 61 73 65 73 20 77 68 65 72 65 20 74 68 61 74 20 63 6f 75 6c 64 20 62 65 67 69 6e 20 6f 72 20 65 | ases.where.that.could.begin.or.e |
| dce0 | 6e 64 20 77 69 74 68 20 61 20 4d 61 72 6b 64 6f 77 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 62 6c | nd.with.a.Markdown.........;;.bl |
| dd00 | 6f 63 6b 73 20 6c 69 6b 65 3a 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 60 60 60 65 6d 61 63 73 | ocks.like:.........;;...```emacs |
| dd20 | 2d 6c 69 73 70 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 28 6d 65 73 73 61 67 65 20 22 66 6f 6f | -lisp.........;;...(message."foo |
| dd40 | 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 60 60 60 0a 20 20 20 20 20 20 20 20 3b 3b 20 41 | ").........;;...```.........;;.A |
| dd60 | 6e 20 65 78 61 6d 70 6c 65 20 73 63 65 6e 61 72 69 6f 20 77 6f 75 6c 64 20 62 65 20 77 68 65 72 | n.example.scenario.would.be.wher |
| dd80 | 65 20 73 75 63 68 20 63 6f 6e 74 65 6e 74 20 63 6f 75 6c 64 20 62 65 0a 20 20 20 20 20 20 20 20 | e.such.content.could.be......... |
| dda0 | 3b 3b 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 65 20 22 69 6e 6c 69 6e 65 22 20 3c 64 65 74 61 | ;;.present.in.the."inline".<deta |
| ddc0 | 69 6c 73 3e 20 6f 72 20 3c 73 75 6d 6d 61 72 79 3e 20 53 70 65 63 69 61 6c 0a 20 20 20 20 20 20 | ils>.or.<summary>.Special....... |
| dde0 | 20 20 3b 3b 20 42 6c 6f 63 6b 73 2e 0a 20 20 20 20 20 20 20 20 3b 3b 20 57 69 74 68 6f 75 74 20 | ..;;.Blocks..........;;.Without. |
| de00 | 74 68 6f 73 65 20 6e 65 77 6c 69 6e 65 73 2c 20 74 68 65 20 4d 61 72 6b 64 6f 77 6e 20 63 6f 6e | those.newlines,.the.Markdown.con |
| de20 | 76 65 72 74 65 64 20 63 6f 6e 74 65 6e 74 20 77 69 6c 6c 0a 20 20 20 20 20 20 20 20 3b 3b 20 6c | verted.content.will.........;;.l |
| de40 | 6f 6f 6b 20 6c 69 6b 65 20 62 65 6c 6f 77 2c 20 61 6e 64 20 42 6c 61 63 6b 66 72 69 64 61 79 20 | ook.like.below,.and.Blackfriday. |
| de60 | 77 6f 6e 27 74 20 70 61 72 73 65 20 69 74 20 63 6f 72 72 65 63 74 6c 79 2e 0a 20 20 20 20 20 20 | won't.parse.it.correctly........ |
| de80 | 20 20 3b 3b 20 20 20 3c 64 65 74 61 69 6c 73 3e 60 60 60 65 6d 61 63 73 2d 6c 69 73 70 0a 20 20 | ..;;...<details>```emacs-lisp... |
| dea0 | 20 20 20 20 20 20 3b 3b 20 20 20 28 6d 65 73 73 61 67 65 20 22 66 6f 6f 22 29 0a 20 20 20 20 20 | ......;;...(message."foo")...... |
| dec0 | 20 20 20 3b 3b 20 20 20 60 60 60 3c 2f 64 65 74 61 69 6c 73 3e 0a 20 20 20 20 20 20 20 20 28 66 | ...;;...```</details>.........(f |
| dee0 | 6f 72 6d 61 74 20 22 3c 25 73 25 73 3e 5c 6e 25 73 5c 6e 3c 2f 25 73 3e 22 0a 20 20 20 20 20 20 | ormat."<%s%s>\n%s\n</%s>"....... |
| df00 | 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 2d 74 79 70 65 20 61 74 74 72 2d 73 74 72 20 63 6f | ..........block-type.attr-str.co |
| df20 | 6e 74 65 6e 74 73 20 62 6c 6f 63 6b 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 28 28 73 74 72 | ntents.block-type))........((str |
| df40 | 69 6e 67 3d 20 62 6c 6f 63 6b 2d 74 79 70 65 20 22 73 75 6d 6d 61 72 79 22 29 0a 20 20 20 20 20 | ing=.block-type."summary")...... |
| df60 | 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 25 73 25 73 3e 25 73 3c 2f 25 73 3e 22 0a 20 20 20 20 20 | ...(format."<%s%s>%s</%s>"...... |
| df80 | 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 2d 74 79 70 65 20 61 74 74 72 2d 73 74 72 0a 20 | ...........block-type.attr-str.. |
| dfa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 74 72 69 6d 0a 20 20 20 20 20 20 20 | ...............(org-trim........ |
| dfc0 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 22 3c 70 3e 22 20 61 6e 64 20 22 3c | ..........;;.Remove."<p>".and."< |
| dfe0 | 2f 70 3e 22 20 74 61 67 73 3b 20 48 75 67 6f 20 77 69 6c 6c 20 61 75 74 6f 2d 77 72 61 70 0a 20 | /p>".tags;.Hugo.will.auto-wrap.. |
| e000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 65 77 6c 69 6e 65 2d 73 65 70 61 72 | ................;;.newline-separ |
| e020 | 61 74 65 64 20 62 6c 6f 63 6b 73 20 77 69 74 68 20 70 20 74 61 67 73 2e 0a 20 20 20 20 20 20 20 | ated.blocks.with.p.tags......... |
| e040 | 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 | ..........(replace-regexp-in-str |
| e060 | 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 5c 6e 2b 22 20 22 5c | ing..................."\n\n+"."\ |
| e080 | 6e 5c 6e 22 20 20 20 20 20 20 20 20 3b 52 65 6d 6f 76 65 20 65 78 74 72 61 20 6e 65 77 6c 69 6e | n\n"........;Remove.extra.newlin |
| e0a0 | 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 | es...................(replace-re |
| e0c0 | 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gexp-in-string.................. |
| e0e0 | 20 20 22 3c 2f 3f 70 3e 22 20 22 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .."</?p>"."".................... |
| e100 | 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6f 72 67 2d 63 6f 6e 74 65 6e 74 73 2d 74 | (org-blackfriday--org-contents-t |
| e120 | 6f 2d 68 74 6d 6c 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 29 29 0a 20 20 20 20 20 20 20 | o-html.special-block))))........ |
| e140 | 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 28 68 74 | .........block-type))........(ht |
| e160 | 6d 6c 35 2d 69 6e 6c 69 6e 65 2d 66 61 6e 63 79 20 3b 49 6e 6c 69 6e 65 20 48 54 4d 4c 20 65 6c | ml5-inline-fancy.;Inline.HTML.el |
| e180 | 65 6d 65 6e 74 73 20 6c 69 6b 65 20 60 6d 61 72 6b 27 2c 20 60 63 69 74 65 27 2e 0a 20 20 20 20 | ements.like.`mark',.`cite'...... |
| e1a0 | 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 3c 25 73 25 73 3e 25 73 3c 2f 25 73 3e 25 73 22 0a | ....(format."%s<%s%s>%s</%s>%s". |
| e1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 62 6c 6f | ................trim-pre-tag.blo |
| e1e0 | 63 6b 2d 74 79 70 65 20 61 74 74 72 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ck-type.attr-str................ |
| e200 | 20 63 6f 6e 74 65 6e 74 73 20 62 6c 6f 63 6b 2d 74 79 70 65 20 74 72 69 6d 2d 70 6f 73 74 2d 74 | .contents.block-type.trim-post-t |
| e220 | 61 67 29 29 0a 20 20 20 20 20 20 20 28 68 74 6d 6c 35 2d 62 6c 6f 63 6b 2d 66 61 6e 63 79 0a 20 | ag))........(html5-block-fancy.. |
| e240 | 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 3c 25 73 25 73 3e 25 73 5c 6e 5c 6e 25 73 | .......(format."%s<%s%s>%s\n\n%s |
| e260 | 5c 6e 5c 6e 3c 2f 25 73 3e 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 69 | \n\n</%s>%s".................tri |
| e280 | 6d 2d 70 72 65 2d 74 61 67 20 62 6c 6f 63 6b 2d 74 79 70 65 20 61 74 74 72 2d 73 74 72 0a 20 20 | m-pre-tag.block-type.attr-str... |
| e2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d | ..............(org-blackfriday-- |
| e2c0 | 65 78 74 72 61 2d 64 69 76 2d 68 61 63 6b 20 69 6e 66 6f 20 62 6c 6f 63 6b 2d 74 79 70 65 29 0a | extra-div-hack.info.block-type). |
| e2e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 20 62 6c 6f 63 6b 2d 74 | ................contents.block-t |
| e300 | 79 70 65 20 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 29 29 0a 20 20 20 20 20 20 20 28 74 0a 20 20 | ype.trim-post-tag))........(t... |
| e320 | 20 20 20 20 20 20 28 69 66 20 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 74 | ......(if.(or.(org-string-nw-p.t |
| e340 | 72 69 6d 2d 70 72 65 2d 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | rim-pre-tag).................(or |
| e360 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 29 29 0a 20 20 | g-string-nw-p.trim-post-tag))... |
| e380 | 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 20 3b 55 73 65 20 3c 73 70 61 6e 3e 20 74 61 67 | ..........(progn.;Use.<span>.tag |
| e3a0 | 20 69 66 20 61 6e 79 20 6f 66 20 74 68 65 20 74 72 69 6d 6d 69 6e 67 20 6f 70 74 69 6f 6e 73 20 | .if.any.of.the.trimming.options. |
| e3c0 | 69 73 20 65 6e 61 62 6c 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 | is.enabled................(forma |
| e3e0 | 74 20 22 25 73 3c 73 70 61 6e 25 73 3e 25 73 3c 2f 73 70 61 6e 3e 25 73 22 0a 20 20 20 20 20 20 | t."%s<span%s>%s</span>%s"....... |
| e400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 61 74 74 | ................trim-pre-tag.att |
| e420 | 72 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 | r-str.......................cont |
| e440 | 65 6e 74 73 20 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ents.trim-post-tag)............. |
| e460 | 20 20 29 0a 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 20 20 20 20 20 20 20 20 20 20 20 20 | ..)...........(progn............ |
| e480 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 55 73 65 20 3c 64 69 76 3e 20 74 61 67 20 6f 74 68 65 72 | ............;Use.<div>.tag.other |
| e4a0 | 77 69 73 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 3c 64 69 | wise..............(format."%s<di |
| e4c0 | 76 25 73 3e 25 73 5c 6e 5c 6e 25 73 5c 6e 5c 6e 3c 2f 64 69 76 3e 25 73 22 0a 20 20 20 20 20 20 | v%s>%s\n\n%s\n\n</div>%s"....... |
| e4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 61 74 74 72 2d | ..............trim-pre-tag.attr- |
| e500 | 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 | str.....................(org-bla |
| e520 | 63 6b 66 72 69 64 61 79 2d 2d 65 78 74 72 61 2d 64 69 76 2d 68 61 63 6b 20 69 6e 66 6f 29 0a 20 | ckfriday--extra-div-hack.info).. |
| e540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 20 74 72 69 6d | ...................contents.trim |
| e560 | 2d 70 6f 73 74 2d 74 61 67 29 29 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 53 72 63 20 42 6c 6f 63 | -post-tag))))))))..;;;;.Src.Bloc |
| e580 | 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 72 63 2d 62 6c 6f | k.(defun.org-blackfriday-src-blo |
| e5a0 | 63 6b 20 28 73 72 63 2d 62 6c 6f 63 6b 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 | ck.(src-block._contents.info)... |
| e5c0 | 22 54 72 61 6e 73 63 6f 64 65 20 53 52 43 2d 42 4c 4f 43 4b 20 65 6c 65 6d 65 6e 74 20 69 6e 74 | "Transcode.SRC-BLOCK.element.int |
| e5e0 | 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 0a | o.Blackfriday.Markdown.format... |
| e600 | 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e | INFO.is.a.plist.used.as.a.commun |
| e620 | 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6c 61 6e 67 | ication.channel."...(let*.((lang |
| e640 | 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6c 61 6e 67 75 61 67 65 | .(org-element-property.:language |
| e660 | 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 61 6e 67 20 28 6f 72 20 | .src-block))..........(lang.(or. |
| e680 | 28 63 64 72 20 28 61 73 73 6f 63 20 6c 61 6e 67 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 | (cdr.(assoc.lang.org-blackfriday |
| e6a0 | 2d 73 79 6e 74 61 78 2d 68 69 67 68 6c 69 67 68 74 69 6e 67 2d 6c 61 6e 67 73 29 29 20 6c 61 6e | -syntax-highlighting-langs)).lan |
| e6c0 | 67 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 64 65 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 | g))..........(code.(or.(plist-ge |
| e6e0 | 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 29 20 3b 69 66 20 73 65 74 20 69 6e 20 60 6f 72 67 | t.info.:md-code).;if.set.in.`org |
| e700 | 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -hugo-src-block'................ |
| e720 | 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 66 6f 72 6d 61 74 2d 63 6f 64 65 2d 64 65 66 61 | ....(org-export-format-code-defa |
| e740 | 75 6c 74 20 73 72 63 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 | ult.src-block.info)))..........( |
| e760 | 63 6f 64 65 2d 61 74 74 72 20 28 69 66 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6d | code-attr.(if.(plist-get.info.:m |
| e780 | 64 2d 63 6f 64 65 2d 61 74 74 72 29 20 3b 69 66 20 73 65 74 20 69 6e 20 60 6f 72 67 2d 68 75 67 | d-code-attr).;if.set.in.`org-hug |
| e7a0 | 6f 2d 73 72 63 2d 62 6c 6f 63 6b 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o-src-block'.................... |
| e7c0 | 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 20 7b 20 25 73 20 7d 22 20 28 70 6c 69 73 74 2d 67 65 | .....(format.".{.%s.}".(plist-ge |
| e7e0 | 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 2d 61 74 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 | t.info.:md-code-attr)).......... |
| e800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 65 | .............""))..........(pare |
| e820 | 6e 74 2d 65 6c 65 6d 65 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e | nt-element.(org-export-get-paren |
| e840 | 74 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 74 | t.src-block))..........(parent-t |
| e860 | 79 70 65 20 28 63 61 72 20 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 | ype.(car.parent-element))....... |
| e880 | 20 20 20 28 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 69 6e 2d 63 6f 64 65 20 28 77 68 65 6e 20 | ...(num-backticks-in-code.(when. |
| e8a0 | 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5e 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 5c 28 60 | (string-match."^[[:blank:]]*\\(` |
| e8c0 | 5c 5c 7b 33 2c 5c 5c 7d 5c 5c 29 22 20 63 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | \\{3,\\}\\)".code).............. |
| e8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 6e 67 74 68 20 28 6d 61 | .....................(length.(ma |
| e900 | 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 63 6f 64 65 29 | tch-string-no-properties.1.code) |
| e920 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 62 61 63 6b 74 69 63 6b 73 29 0a 20 20 20 20 3b 3b 20 49 | )))..........backticks).....;;.I |
| e940 | 6e 20 6f 72 64 65 72 20 74 6f 20 73 68 6f 77 20 74 68 65 20 63 6f 64 65 2d 66 65 6e 63 65 20 62 | n.order.to.show.the.code-fence.b |
| e960 | 61 63 6b 74 69 63 6b 73 20 69 6e 20 61 20 63 6f 64 65 2d 66 65 6e 63 65 64 20 63 6f 64 65 0a 20 | ackticks.in.a.code-fenced.code.. |
| e980 | 20 20 20 3b 3b 20 62 6c 6f 63 6b 2c 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 68 61 76 65 20 74 68 | ...;;.block,.you.need.to.have.th |
| e9a0 | 65 20 77 72 61 70 70 69 6e 67 20 63 6f 64 65 20 66 65 6e 63 65 20 74 6f 20 68 61 76 65 20 61 74 | e.wrapping.code.fence.to.have.at |
| e9c0 | 0a 20 20 20 20 3b 3b 20 6c 65 61 73 74 20 31 20 6d 6f 72 65 20 62 61 63 6b 74 69 63 6b 20 69 6e | .....;;.least.1.more.backtick.in |
| e9e0 | 20 74 68 65 20 66 65 6e 63 65 20 63 6f 6d 70 61 72 65 64 20 74 6f 20 74 68 6f 73 65 20 69 6e 20 | .the.fence.compared.to.those.in. |
| ea00 | 74 68 65 0a 20 20 20 20 3b 3b 20 62 65 69 6e 67 2d 77 72 61 70 70 65 64 20 63 6f 64 65 20 66 65 | the.....;;.being-wrapped.code.fe |
| ea20 | 6e 63 65 2e 20 54 68 69 73 20 65 78 61 6d 70 6c 65 20 77 69 6c 6c 20 65 78 70 6c 61 69 6e 20 62 | nce..This.example.will.explain.b |
| ea40 | 65 74 74 65 72 3a 0a 20 20 20 20 3b 3b 0a 20 20 20 20 3b 3b 20 20 20 60 60 60 60 6d 64 0a 20 20 | etter:.....;;.....;;...````md... |
| ea60 | 20 20 3b 3b 20 20 20 60 60 60 65 6d 61 63 73 2d 6c 69 73 70 0a 20 20 20 20 3b 3b 20 20 20 28 6d | ..;;...```emacs-lisp.....;;...(m |
| ea80 | 65 73 73 61 67 65 20 22 48 65 6c 6c 6f 22 29 0a 20 20 20 20 3b 3b 20 20 20 60 60 60 0a 20 20 20 | essage."Hello").....;;...```.... |
| eaa0 | 20 3b 3b 20 20 20 60 60 60 60 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 6e 75 6d 62 65 | .;;...````.....(when.(and.(numbe |
| eac0 | 72 70 20 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 69 6e 2d 63 6f 64 65 29 0a 20 20 20 20 20 20 | rp.num-backticks-in-code)....... |
| eae0 | 20 20 20 20 20 20 20 20 20 28 3c 3d 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f | .........(<=.org-blackfriday--co |
| eb00 | 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 6e 75 6d 2d 62 61 63 6b 74 | de-block-num-backticks.num-backt |
| eb20 | 69 63 6b 73 2d 69 6e 2d 63 6f 64 65 29 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 62 | icks-in-code)).......(setq.org-b |
| eb40 | 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 | lackfriday--code-block-num-backt |
| eb60 | 69 63 6b 73 20 28 31 2b 20 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 69 6e 2d 63 6f 64 65 29 29 | icks.(1+.num-backticks-in-code)) |
| eb80 | 29 0a 20 20 20 20 28 73 65 74 71 20 62 61 63 6b 74 69 63 6b 73 20 28 6d 61 6b 65 2d 73 74 72 69 | ).....(setq.backticks.(make-stri |
| eba0 | 6e 67 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e | ng.org-blackfriday--code-block-n |
| ebc0 | 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 3f 60 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | um-backticks.?`)).....;;.(messag |
| ebe0 | 65 20 22 5b 6f 78 2d 62 66 20 73 72 63 2d 62 6c 6f 63 6b 20 44 42 47 5d 20 63 6f 64 65 3a 20 25 | e."[ox-bf.src-block.DBG].code:.% |
| ec00 | 73 22 20 63 6f 64 65 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 | s".code).....;;.(message."[ox-bf |
| ec20 | 20 73 72 63 2d 62 6c 6f 63 6b 20 44 42 47 5d 20 70 61 72 65 6e 74 20 74 79 70 65 3a 20 25 53 22 | .src-block.DBG].parent.type:.%S" |
| ec40 | 20 70 61 72 65 6e 74 2d 74 79 70 65 29 0a 20 20 20 20 28 73 65 74 71 20 63 6f 64 65 20 28 6f 72 | .parent-type).....(setq.code.(or |
| ec60 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 69 73 73 75 65 2d 32 33 39 2d 77 6f 72 6b 61 72 6f | g-blackfriday--issue-239-workaro |
| ec80 | 75 6e 64 20 63 6f 64 65 20 70 61 72 65 6e 74 2d 74 79 70 65 29 29 0a 20 20 20 20 28 70 72 6f 67 | und.code.parent-type)).....(prog |
| eca0 | 31 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 5c 6e 25 73 25 73 22 | 1.........(format."%s%s%s\n%s%s" |
| ecc0 | 20 62 61 63 6b 74 69 63 6b 73 20 6c 61 6e 67 20 63 6f 64 65 2d 61 74 74 72 20 63 6f 64 65 20 62 | .backticks.lang.code-attr.code.b |
| ece0 | 61 63 6b 74 69 63 6b 73 29 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 27 71 75 | ackticks).......(when.(equal.'qu |
| ed00 | 6f 74 65 2d 62 6c 6f 63 6b 20 70 61 72 65 6e 74 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 3b | ote-block.parent-type).........; |
| ed20 | 3b 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 6f 64 65 20 62 6c 6f 63 6b 20 69 73 20 69 | ;.If.the.current.code.block.is.i |
| ed40 | 6e 73 69 64 65 20 61 20 71 75 6f 74 65 20 62 6c 6f 63 6b 2c 20 66 75 74 75 72 65 0a 20 20 20 20 | nside.a.quote.block,.future..... |
| ed60 | 20 20 20 20 3b 3b 20 65 78 61 6d 70 6c 65 2f 63 6f 64 65 20 62 6c 6f 63 6b 73 20 28 65 73 70 65 | ....;;.example/code.blocks.(espe |
| ed80 | 63 69 61 6c 6c 79 20 74 68 65 20 6f 6e 65 73 20 6f 75 74 73 69 64 65 20 74 68 69 73 20 71 75 6f | cially.the.ones.outside.this.quo |
| eda0 | 74 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 62 6c 6f 63 6b 29 20 77 69 6c 6c 20 72 65 71 75 69 72 | te.........;;.block).will.requir |
| edc0 | 65 20 68 69 67 68 65 72 20 6e 75 6d 62 65 72 20 6f 66 20 62 61 63 6b 74 69 63 6b 73 2e 20 20 57 | e.higher.number.of.backticks...W |
| ede0 | 6f 72 6b 61 72 6f 75 6e 64 0a 20 20 20 20 20 20 20 20 3b 3b 20 66 6f 72 20 68 74 74 70 73 3a 2f | orkaround.........;;.for.https:/ |
| ee00 | 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 75 73 73 72 6f 73 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 | /github.com/russross/blackfriday |
| ee20 | 2f 69 73 73 75 65 73 2f 34 30 37 2e 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 62 | /issues/407..........(setq.org-b |
| ee40 | 6c 61 63 6b 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 | lackfriday--code-block-num-backt |
| ee60 | 69 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 31 2b 20 6f 72 67 2d 62 6c 61 63 6b | icks...............(1+.org-black |
| ee80 | 66 72 69 64 61 79 2d 2d 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 | friday--code-block-num-backticks |
| eea0 | 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 52 65 73 65 74 20 74 68 65 20 74 65 6d 70 20 69 6e 66 6f | ))).......;;.Reset.the.temp.info |
| eec0 | 20 69 6e 20 74 68 65 20 60 69 6e 66 6f 27 20 70 6c 69 73 74 2e 0a 20 20 20 20 20 20 28 70 6c 69 | .in.the.`info'.plist........(pli |
| eee0 | 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 20 6e 69 6c 29 0a 20 20 20 20 20 20 | st-put.info.:md-code.nil)....... |
| ef00 | 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 2d 61 74 74 72 20 6e 69 | (plist-put.info.:md-code-attr.ni |
| ef20 | 6c 29 29 29 29 0a 0a 3b 3b 3b 3b 20 53 74 72 69 6b 65 2d 54 68 72 6f 75 67 68 0a 28 64 65 66 75 | l))))..;;;;.Strike-Through.(defu |
| ef40 | 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 | n.org-blackfriday-strike-through |
| ef60 | 20 28 5f 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 20 63 6f 6e 74 65 6e 74 73 20 5f 69 6e 66 6f | .(_strike-through.contents._info |
| ef80 | 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 20 74 65 | )..."Transcode.strike-through.te |
| efa0 | 78 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 | xt.into.Blackfriday.Markdown.for |
| efc0 | 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 74 65 78 74 20 | mat..CONTENTS.contains.the.text. |
| efe0 | 77 69 74 68 20 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 20 6d 61 72 6b 75 70 2e 22 0a 20 20 28 | with.strike-through.markup."...( |
| f000 | 66 6f 72 6d 61 74 20 22 7e 7e 25 73 7e 7e 22 20 63 6f 6e 74 65 6e 74 73 29 29 0a 0a 3b 3b 3b 3b | format."~~%s~~".contents))..;;;; |
| f020 | 20 54 61 62 6c 65 2d 43 65 6c 6c 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 | .Table-Cell.(defun.org-blackfrid |
| f040 | 61 79 2d 74 61 62 6c 65 2d 63 65 6c 6c 20 28 74 61 62 6c 65 2d 63 65 6c 6c 20 63 6f 6e 74 65 6e | ay-table-cell.(table-cell.conten |
| f060 | 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 54 41 42 4c 45 2d 43 45 4c 4c | ts.info)..."Transcode.TABLE-CELL |
| f080 | 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f | .element.into.Blackfriday.Markdo |
| f0a0 | 77 6e 20 66 6f 72 6d 61 74 2e 0a 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 63 6f 6e 74 65 6e 74 20 | wn.format...CONTENTS.is.content. |
| f0c0 | 6f 66 20 74 68 65 20 63 65 6c 6c 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 | of.the.cell...INFO.is.a.plist.us |
| f0e0 | 65 64 20 61 73 20 61 0a 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a | ed.as.a.communication.channel.". |
| f100 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 63 65 6c 6c | ..;;.(message."[ox-bf-table-cell |
| f120 | 20 44 42 47 5d 22 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 | .DBG]")...;;.(message."[ox-bf-ta |
| f140 | 62 6c 65 2d 63 65 6c 6c 20 44 42 47 5d 20 49 6e 20 63 6f 6e 74 65 6e 74 73 3a 20 25 73 22 20 63 | ble-cell.DBG].In.contents:.%s".c |
| f160 | 6f 6e 74 65 6e 74 73 29 0a 20 20 28 6c 65 74 2a 20 28 28 74 61 62 6c 65 20 28 6f 72 67 2d 65 78 | ontents)...(let*.((table.(org-ex |
| f180 | 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 2d 74 61 62 6c 65 20 74 61 62 6c 65 2d 63 65 6c 6c | port-get-parent-table.table-cell |
| f1a0 | 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6c 75 6d 6e 20 28 63 64 72 20 28 6f 72 67 2d 65 78 | ))..........(column.(cdr.(org-ex |
| f1c0 | 70 6f 72 74 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d 61 64 64 72 65 73 73 20 74 61 62 6c 65 2d 63 65 | port-table-cell-address.table-ce |
| f1e0 | 6c 6c 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 77 69 64 74 68 20 28 6f 72 67 2d | ll.info)))..........(width.(org- |
| f200 | 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 63 6f 6c 2d 77 69 64 74 68 20 74 61 62 6c | blackfriday-table-col-width.tabl |
| f220 | 65 20 63 6f 6c 75 6d 6e 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 65 66 74 2d 62 | e.column.info))..........(left-b |
| f240 | 6f 72 64 65 72 20 28 69 66 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 2d 63 65 6c 6c | order.(if.(org-export-table-cell |
| f260 | 2d 73 74 61 72 74 73 2d 63 6f 6c 67 72 6f 75 70 2d 70 20 74 61 62 6c 65 2d 63 65 6c 6c 20 69 6e | -starts-colgroup-p.table-cell.in |
| f280 | 66 6f 29 20 22 7c 20 22 20 22 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 69 67 68 74 2d 62 | fo)."|."."."))..........(right-b |
| f2a0 | 6f 72 64 65 72 20 22 20 7c 22 29 0a 20 20 20 20 20 20 20 20 20 28 64 61 74 61 20 28 6f 72 20 63 | order.".|")..........(data.(or.c |
| f2c0 | 6f 6e 74 65 6e 74 73 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 65 6c 6c 20 28 63 6f 6e | ontents.""))..........(cell.(con |
| f2e0 | 63 61 74 20 6c 65 66 74 2d 62 6f 72 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cat.left-border................. |
| f300 | 20 20 20 20 20 20 20 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......data..................... |
| f320 | 20 20 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 6d 61 78 20 30 20 28 2d 20 77 69 64 74 68 20 | ...(make-string.(max.0.(-.width. |
| f340 | 28 73 74 72 69 6e 67 2d 77 69 64 74 68 20 64 61 74 61 29 29 29 20 3f 5c 73 29 0a 20 20 20 20 20 | (string-width.data))).?\s)...... |
| f360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 2d 62 6f 72 64 65 72 29 29 | ..................right-border)) |
| f380 | 0a 20 20 20 20 20 20 20 20 20 28 63 65 6c 6c 2d 77 69 64 74 68 20 28 6c 65 6e 67 74 68 20 63 65 | ..........(cell-width.(length.ce |
| f3a0 | 6c 6c 29 29 29 0a 20 20 20 20 3b 3b 20 4a 75 73 74 20 63 61 6c 6c 69 6e 67 20 60 6f 72 67 2d 62 | ll))).....;;.Just.calling.`org-b |
| f3c0 | 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 27 | lackfriday-table-cell-alignment' |
| f3e0 | 20 77 69 6c 6c 20 73 61 76 65 0a 20 20 20 20 3b 3b 20 74 68 65 20 61 6c 69 67 6e 6d 65 6e 74 20 | .will.save.....;;.the.alignment. |
| f400 | 69 6e 66 6f 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 65 6c 6c 2f 63 6f 6c 75 6d 6e | info.for.the.current.cell/column |
| f420 | 20 74 6f 20 74 68 65 20 49 4e 46 4f 0a 20 20 20 20 3b 3b 20 63 68 61 6e 6e 65 6c 2e 2e 20 6d 61 | .to.the.INFO.....;;.channel...ma |
| f440 | 67 69 63 21 0a 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d | gic!.....(org-blackfriday-table- |
| f460 | 63 65 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 20 74 61 62 6c 65 2d 63 65 6c 6c 20 69 6e 66 6f 29 0a | cell-alignment.table-cell.info). |
| f480 | 20 20 20 20 3b 3b 20 45 61 63 68 20 63 65 6c 6c 20 6e 65 65 64 73 20 74 6f 20 62 65 20 61 74 20 | ....;;.Each.cell.needs.to.be.at. |
| f4a0 | 6c 65 61 73 74 20 33 20 63 68 61 72 61 63 74 65 72 73 20 77 69 64 65 20 28 34 20 63 68 61 72 73 | least.3.characters.wide.(4.chars |
| f4c0 | 2c 0a 20 20 20 20 3b 3b 20 69 6e 63 6c 75 64 69 6e 67 20 74 68 65 20 74 61 62 6c 65 20 62 6f 72 | ,.....;;.including.the.table.bor |
| f4e0 | 64 65 72 20 63 68 61 72 20 22 7c 22 29 2c 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 20 3b 3b 20 | der.char."|"),.otherwise.....;;. |
| f500 | 48 75 67 6f 2f 42 6c 61 63 6b 66 72 69 64 61 79 20 64 6f 65 73 20 6e 6f 74 20 72 65 6e 64 65 72 | Hugo/Blackfriday.does.not.render |
| f520 | 20 74 68 61 74 20 61 73 20 61 20 74 61 62 6c 65 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 3c 20 63 | .that.as.a.table......(when.(<.c |
| f540 | 65 6c 6c 2d 77 69 64 74 68 20 34 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 63 65 6c 6c 20 28 63 | ell-width.4).......(setq.cell.(c |
| f560 | 6f 6e 63 61 74 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2d 20 34 20 63 65 6c 6c 2d 77 69 64 | oncat.(make-string.(-.4.cell-wid |
| f580 | 74 68 29 20 3f 20 29 20 63 65 6c 6c 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | th).?.).cell))).....;;.(message. |
| f5a0 | 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 63 65 6c 6c 20 44 42 47 5d 20 43 65 6c 6c 3a 5c 6e 25 | "[ox-bf-table-cell.DBG].Cell:\n% |
| f5c0 | 73 22 20 63 65 6c 6c 29 0a 20 20 20 20 63 65 6c 6c 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 2d | s".cell).....cell))..;;;;.Table- |
| f5e0 | 52 6f 77 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 | Row.(defun.org-blackfriday-table |
| f600 | 2d 72 6f 77 20 28 74 61 62 6c 65 2d 72 6f 77 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 | -row.(table-row.contents.info).. |
| f620 | 20 22 54 72 61 6e 73 63 6f 64 65 20 54 41 42 4c 45 2d 52 4f 57 20 65 6c 65 6d 65 6e 74 20 69 6e | ."Transcode.TABLE-ROW.element.in |
| f640 | 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a | to.Blackfriday.Markdown.format.. |
| f660 | 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 63 65 6c 6c 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 54 41 | .CONTENTS.is.cell.contents.of.TA |
| f680 | 42 4c 45 2d 52 4f 57 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 | BLE-ROW...INFO.is.a.plist.used.a |
| f6a0 | 73 20 61 0a 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b | s.a.communication.channel."...;; |
| f6c0 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d | .(message."[ox-bf-table-row.DBG] |
| f6e0 | 22 29 0a 20 20 28 6c 65 74 2a 20 28 28 74 61 62 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 | ")...(let*.((table.(org-export-g |
| f700 | 65 74 2d 70 61 72 65 6e 74 2d 74 61 62 6c 65 20 74 61 62 6c 65 2d 72 6f 77 29 29 0a 20 20 20 20 | et-parent-table.table-row))..... |
| f720 | 20 20 20 20 20 28 72 6f 77 2d 6e 75 6d 20 28 63 6c 2d 70 6f 73 69 74 69 6f 6e 20 20 20 20 20 20 | .....(row-num.(cl-position...... |
| f740 | 20 20 20 20 3b 42 65 67 69 6e 73 20 77 69 74 68 20 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....;Begins.with.0.............. |
| f760 | 20 20 20 20 20 20 74 61 62 6c 65 2d 72 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......table-row................. |
| f780 | 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 20 74 61 62 6c 65 20 27 74 61 62 6c 65 | ...(org-element-map.table.'table |
| f7a0 | 2d 72 6f 77 20 23 27 69 64 65 6e 74 69 74 79 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 | -row.#'identity.info)))......... |
| f7c0 | 20 28 72 6f 77 20 63 6f 6e 74 65 6e 74 73 29 29 20 3b 49 66 20 43 4f 4e 54 45 4e 54 53 20 69 73 | .(row.contents)).;If.CONTENTS.is |
| f7e0 | 20 60 6e 69 6c 27 2c 20 72 6f 77 20 68 61 73 20 74 6f 20 62 65 20 72 65 74 75 72 6e 65 64 20 61 | .`nil',.row.has.to.be.returned.a |
| f800 | 73 20 60 6e 69 6c 27 20 74 6f 6f 0a 20 20 20 20 3b 3b 20 52 65 73 65 74 20 74 68 65 20 73 74 61 | s.`nil'.too.....;;.Reset.the.sta |
| f820 | 74 65 20 76 61 72 69 61 62 6c 65 20 77 68 65 6e 20 74 68 65 20 66 69 72 73 74 20 72 6f 77 20 6f | te.variable.when.the.first.row.o |
| f840 | 66 20 74 68 65 20 74 61 62 6c 65 20 69 73 0a 20 20 20 20 3b 3b 20 72 65 63 65 69 76 65 64 2e 0a | f.the.table.is.....;;.received.. |
| f860 | 20 20 20 20 28 77 68 65 6e 20 28 65 71 20 30 20 72 6f 77 2d 6e 75 6d 29 0a 20 20 20 20 20 20 28 | ....(when.(eq.0.row-num).......( |
| f880 | 73 65 74 71 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 68 72 75 6c 65 2d 69 6e 73 65 | setq.org-blackfriday--hrule-inse |
| f8a0 | 72 74 65 64 20 6e 69 6c 29 29 0a 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 | rted.nil))......;;.(message."[ox |
| f8c0 | 2d 62 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 52 6f 77 20 23 20 25 30 64 20 49 6e 20 | -bf-table-row.DBG].Row.#.%0d.In. |
| f8e0 | 63 6f 6e 74 65 6e 74 73 3a 20 25 73 2c 5c 6e 74 61 62 6c 65 2d 72 6f 77 3a 20 25 53 22 20 72 6f | contents:.%s,\ntable-row:.%S".ro |
| f900 | 77 2d 6e 75 6d 20 63 6f 6e 74 65 6e 74 73 20 74 61 62 6c 65 2d 72 6f 77 29 0a 20 20 20 20 28 77 | w-num.contents.table-row).....(w |
| f920 | 68 65 6e 20 28 61 6e 64 20 72 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 20 | hen.(and.row................(eq. |
| f940 | 27 72 75 6c 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 | 'rule.(org-element-property.:typ |
| f960 | 65 20 74 61 62 6c 65 2d 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | e.table-row))................;;. |
| f980 | 49 6e 20 42 6c 61 63 6b 66 72 69 64 61 79 2c 20 72 75 6c 65 20 69 73 20 76 61 6c 69 64 20 6f 6e | In.Blackfriday,.rule.is.valid.on |
| f9a0 | 6c 79 20 61 74 20 73 65 63 6f 6e 64 20 72 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ly.at.second.row................ |
| f9c0 | 20 28 65 71 20 31 20 72 6f 77 2d 6e 75 6d 29 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 6f | .(eq.1.row-num)).......(let.((co |
| f9e0 | 6c 73 20 28 63 64 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 2d 64 69 6d 65 6e 73 | ls.(cdr.(org-export-table-dimens |
| fa00 | 69 6f 6e 73 20 74 61 62 6c 65 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 | ions.table.info)))).........(set |
| fa20 | 71 20 72 6f 77 20 28 63 6f 6e 63 61 74 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 | q.row.(concat.org-blackfriday-ta |
| fa40 | 62 6c 65 2d 6c 65 66 74 2d 62 6f 72 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ble-left-border................. |
| fa60 | 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 | ..........(mapconcat............ |
| fa80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 63 6f 6c 29 0a 20 20 | ................(lambda.(col)... |
| faa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 | ...........................(let. |
| fac0 | 28 28 6d 61 78 2d 77 69 64 74 68 20 28 6d 61 78 20 33 20 28 2b 20 31 20 28 6f 72 67 2d 62 6c 61 | ((max-width.(max.3.(+.1.(org-bla |
| fae0 | 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 63 6f 6c 2d 77 69 64 74 68 20 74 61 62 6c 65 20 63 | ckfriday-table-col-width.table.c |
| fb00 | 6f 6c 20 69 6e 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ol.info))))).................... |
| fb20 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 6d 61 78 2d 77 69 64 | ............(make-string.max-wid |
| fb40 | 74 68 20 3f 2d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | th.?-)))........................ |
| fb60 | 20 20 20 20 28 6e 75 6d 62 65 72 2d 73 65 71 75 65 6e 63 65 20 30 20 28 2d 20 63 6f 6c 73 20 31 | ....(number-sequence.0.(-.cols.1 |
| fb80 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 | ))............................or |
| fba0 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 73 65 70 61 72 61 74 6f 72 29 0a 20 | g-blackfriday-table-separator).. |
| fbc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 62 6c 61 | .........................org-bla |
| fbe0 | 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 72 69 67 68 74 2d 62 6f 72 64 65 72 29 29 29 29 0a | ckfriday-table-right-border)))). |
| fc00 | 0a 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 66 69 72 73 74 20 74 61 62 6c 65 20 72 6f 77 20 69 | .....;;.If.the.first.table.row.i |
| fc20 | 73 20 22 61 62 63 20 7c 20 64 65 66 22 2c 20 69 74 20 6e 65 65 64 73 20 74 6f 20 68 61 76 65 20 | s."abc.|.def",.it.needs.to.have. |
| fc40 | 61 20 72 75 6c 65 0a 20 20 20 20 3b 3b 20 75 6e 64 65 72 20 69 74 20 66 6f 72 20 42 6c 61 63 6b | a.rule.....;;.under.it.for.Black |
| fc60 | 66 72 69 64 61 79 20 74 6f 20 64 65 74 65 63 74 20 74 68 65 20 77 68 6f 6c 65 20 6f 62 6a 65 63 | friday.to.detect.the.whole.objec |
| fc80 | 74 20 61 73 20 61 20 74 61 62 6c 65 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 73 74 | t.as.a.table......(when.(and.(st |
| fca0 | 72 69 6e 67 70 20 72 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 | ringp.row)................(null. |
| fcc0 | 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 68 72 75 6c 65 2d 69 6e 73 65 72 74 65 64 29 | org-blackfriday--hrule-inserted) |
| fce0 | 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c | ).......;;.(message."[ox-bf-tabl |
| fd00 | 65 2d 72 6f 77 20 44 42 47 5d 20 72 6f 77 3a 20 25 73 22 20 72 6f 77 29 0a 20 20 20 20 20 20 28 | e-row.DBG].row:.%s".row).......( |
| fd20 | 6c 65 74 20 28 28 72 75 6c 65 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 | let.((rule.(replace-regexp-in-st |
| fd40 | 72 69 6e 67 20 22 5b 5e 7c 5d 22 20 22 2d 22 20 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ring."[^|]"."-".row))........... |
| fd60 | 20 20 28 70 6f 73 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 65 77 2d 72 75 6c 65 20 | ..(pos.0).............(new-rule. |
| fd80 | 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 29 0a 20 20 20 20 20 20 20 | "").............matches)........ |
| fda0 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 | .;;.(message."[ox-bf-table-row.D |
| fdc0 | 42 47 5d 20 72 75 6c 65 3a 20 25 73 22 20 72 75 6c 65 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 68 | BG].rule:.%s".rule).........;;.h |
| fde0 | 74 74 70 73 3a 2f 2f 65 6d 61 63 73 2e 73 74 61 63 6b 65 78 63 68 61 6e 67 65 2e 63 6f 6d 2f 61 | ttps://emacs.stackexchange.com/a |
| fe00 | 2f 37 31 35 30 2f 31 31 35 0a 20 20 20 20 20 20 20 20 28 77 68 69 6c 65 20 28 73 74 72 69 6e 67 | /7150/115.........(while.(string |
| fe20 | 2d 6d 61 74 63 68 20 22 7c 2d 2b 22 20 72 75 6c 65 20 70 6f 73 29 0a 20 20 20 20 20 20 20 20 20 | -match."|-+".rule.pos).......... |
| fe40 | 20 28 70 75 73 68 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 30 20 72 75 6c 65 29 20 6d 61 74 | .(push.(match-string.0.rule).mat |
| fe60 | 63 68 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 70 6f 73 20 28 6d 61 74 63 68 | ches)...........(setq.pos.(match |
| fe80 | 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 61 74 63 68 65 73 20 | -end.0))).........(setq.matches. |
| fea0 | 28 6e 72 65 76 65 72 73 65 20 6d 61 74 63 68 65 73 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 47 | (nreverse.matches)).........;;.G |
| fec0 | 65 74 20 74 68 65 20 61 6c 69 67 6e 2d 76 65 63 74 6f 72 20 74 68 61 74 20 77 61 73 20 73 61 76 | et.the.align-vector.that.was.sav |
| fee0 | 65 64 20 69 6e 20 74 68 65 20 49 4e 46 4f 20 63 68 61 6e 6e 65 6c 20 69 6e 0a 20 20 20 20 20 20 | ed.in.the.INFO.channel.in....... |
| ff00 | 20 20 3b 3b 20 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 63 65 6c 6c | ..;;.`org-blackfriday-table-cell |
| ff20 | 2d 61 6c 69 67 6e 6d 65 6e 74 27 2e 0a 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 61 6c 69 | -alignment'..........(let*.((ali |
| ff40 | 67 6e 6d 65 6e 74 2d 63 61 63 68 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 74 61 | gnment-cache.(plist-get.info.:ta |
| ff60 | 62 6c 65 2d 63 65 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 2d 63 61 63 68 65 29 29 0a 20 20 20 20 20 | ble-cell-alignment-cache))...... |
| ff80 | 20 20 20 20 20 20 20 20 20 20 28 61 6c 69 67 6e 2d 76 65 63 74 6f 72 20 28 67 65 74 68 61 73 68 | ..........(align-vector.(gethash |
| ffa0 | 20 74 61 62 6c 65 20 61 6c 69 67 6e 6d 65 6e 74 2d 63 61 63 68 65 29 29 0a 20 20 20 20 20 20 20 | .table.alignment-cache))........ |
| ffc0 | 20 20 20 20 20 20 20 20 28 63 6f 6c 20 30 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d | ........(col.0))...........;;.(m |
| ffe0 | 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 61 6c | essage."[ox-bf-table-row.DBG].al |
| 10000 | 69 67 6e 2d 76 65 63 74 6f 72 3a 20 25 53 22 20 61 6c 69 67 6e 2d 76 65 63 74 6f 72 29 0a 20 20 | ign-vector:.%S".align-vector)... |
| 10020 | 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 6d 61 74 63 68 20 6d 61 74 63 68 65 73 29 0a | ........(dolist.(match.matches). |
| 10040 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 61 6c 69 67 6e 20 28 61 72 65 66 20 61 | ............(let.((align.(aref.a |
| 10060 | 6c 69 67 6e 2d 76 65 63 74 6f 72 20 63 6f 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | lign-vector.col))).............. |
| 10080 | 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 61 6c 69 67 6e 20 27 28 6c 65 66 74 20 63 65 6e 74 | .(when.(member.align.'(left.cent |
| 100a0 | 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 61 74 63 68 | er)).................(setq.match |
| 100c0 | 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 7c | .(replace-regexp-in-string."\\`| |
| 100e0 | 2d 22 20 22 7c 3a 22 20 6d 61 74 63 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | -"."|:".match)))...............( |
| 10100 | 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 61 6c 69 67 6e 20 27 28 72 69 67 68 74 20 63 65 6e 74 65 | when.(member.align.'(right.cente |
| 10120 | 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 61 74 63 68 20 | r)).................(setq.match. |
| 10140 | 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 2d 5c 5c 27 22 | (replace-regexp-in-string."-\\'" |
| 10160 | 20 22 3a 22 20 6d 61 74 63 68 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 | .":".match)))).............(setq |
| 10180 | 20 6e 65 77 2d 72 75 6c 65 20 28 63 6f 6e 63 61 74 20 6e 65 77 2d 72 75 6c 65 20 6d 61 74 63 68 | .new-rule.(concat.new-rule.match |
| 101a0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 6c 20 28 31 2b 20 63 6f 6c | )).............(setq.col.(1+.col |
| 101c0 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6e 65 77 2d 72 75 6c 65 20 28 63 6f 6e | )))).........(setq.new-rule.(con |
| 101e0 | 63 61 74 20 6e 65 77 2d 72 75 6c 65 20 22 7c 22 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d | cat.new-rule."|")).........;;.(m |
| 10200 | 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 6e 65 | essage."[ox-bf-table-row.DBG].ne |
| 10220 | 77 2d 72 75 6c 65 3a 20 25 73 22 20 6e 65 77 2d 72 75 6c 65 29 0a 20 20 20 20 20 20 20 20 28 73 | w-rule:.%s".new-rule).........(s |
| 10240 | 65 74 71 20 72 6f 77 20 28 63 6f 6e 63 61 74 20 72 6f 77 20 22 5c 6e 22 20 6e 65 77 2d 72 75 6c | etq.row.(concat.row."\n".new-rul |
| 10260 | 65 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 | e)).........(setq.org-blackfrida |
| 10280 | 79 2d 2d 68 72 75 6c 65 2d 69 6e 73 65 72 74 65 64 20 74 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d | y--hrule-inserted.t))).....;;.(m |
| 102a0 | 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 52 6f | essage."[ox-bf-table-row.DBG].Ro |
| 102c0 | 77 3a 5c 6e 25 73 22 20 72 6f 77 29 0a 20 20 20 20 72 6f 77 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 | w:\n%s".row).....row))..;;;;.Tab |
| 102e0 | 6c 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 20 | le.(defun.org-blackfriday-table. |
| 10300 | 28 74 61 62 6c 65 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f | (table.contents.info)..."Transco |
| 10320 | 64 65 20 54 41 42 4c 45 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 | de.TABLE.element.into.Blackfrida |
| 10340 | 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 | y.Markdown.format...CONTENTS.is. |
| 10360 | 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 74 61 62 6c 65 2e 20 20 49 4e 46 4f 20 69 73 20 | contents.of.the.table...INFO.is. |
| 10380 | 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 0a 63 6f 6e 74 65 78 74 75 61 6c 20 69 6e 66 6f 72 | a.plist.holding.contextual.infor |
| 103a0 | 6d 61 74 69 6f 6e 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 | mation."...;;.(message."[ox-bf-t |
| 103c0 | 61 62 6c 65 20 44 42 47 5d 20 49 6e 20 63 6f 6e 74 65 6e 74 73 3a 20 25 73 22 20 63 6f 6e 74 65 | able.DBG].In.contents:.%s".conte |
| 103e0 | 6e 74 73 29 0a 20 20 28 69 66 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 | nts)...(if.(eq.(org-element-prop |
| 10400 | 65 72 74 79 20 3a 74 79 70 65 20 74 61 62 6c 65 29 20 27 74 61 62 6c 65 2e 65 6c 29 0a 20 20 20 | erty.:type.table).'table.el).... |
| 10420 | 20 20 20 3b 3b 20 22 74 61 62 6c 65 2e 65 6c 22 20 74 61 62 6c 65 2e 20 20 43 6f 6e 76 65 72 74 | ...;;."table.el".table...Convert |
| 10440 | 20 69 74 20 75 73 69 6e 67 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 6f 6f 6c 73 2e 0a 20 20 20 | .it.using.appropriate.tools..... |
| 10460 | 20 20 20 28 6c 65 74 20 28 28 74 62 6c 20 28 6f 72 67 2d 68 74 6d 6c 2d 74 61 62 6c 65 2d 2d 74 | ...(let.((tbl.(org-html-table--t |
| 10480 | 61 62 6c 65 2e 65 6c 2d 74 61 62 6c 65 20 74 61 62 6c 65 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 | able.el-table.table.info)))..... |
| 104a0 | 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 | ....(replace-regexp-in-string... |
| 104c0 | 20 20 20 20 20 20 20 22 5c 5c 28 3c 21 2d 2d 20 54 68 69 73 20 48 54 4d 4c 20 74 61 62 6c 65 20 | ......."\\(<!--.This.HTML.table. |
| 104e0 | 74 65 6d 70 6c 61 74 65 20 69 73 20 67 65 6e 65 72 61 74 65 64 20 62 79 20 65 6d 61 63 73 5c 5c | template.is.generated.by.emacs\\ |
| 10500 | 29 20 2e 2a 5c 5c 28 20 2d 2d 3e 5c 6e 5c 5c 29 22 20 22 5c 5c 31 2f 74 61 62 6c 65 2e 65 6c 5c | )..*\\(.-->\n\\)"."\\1/table.el\ |
| 10520 | 5c 32 22 20 74 62 6c 29 29 0a 20 20 20 20 3b 3b 20 53 74 61 6e 64 61 72 64 20 74 61 62 6c 65 2e | \2".tbl)).....;;.Standard.table. |
| 10540 | 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 72 6f 77 73 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d | .....(let*.((rows.(org-element-m |
| 10560 | 61 70 20 74 61 62 6c 65 20 27 74 61 62 6c 65 2d 72 6f 77 20 27 69 64 65 6e 74 69 74 79 20 69 6e | ap.table.'table-row.'identity.in |
| 10580 | 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 2d 68 65 61 64 65 72 20 28 3d 20 28 6c | fo))............(no-header.(=.(l |
| 105a0 | 65 6e 67 74 68 20 72 6f 77 73 29 20 31 29 29 20 3b 4e 6f 20 68 65 61 64 65 72 20 69 66 20 74 61 | ength.rows).1)).;No.header.if.ta |
| 105c0 | 62 6c 65 20 68 61 73 20 6a 75 73 74 20 31 20 72 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 | ble.has.just.1.row............(t |
| 105e0 | 61 62 6c 65 2d 72 65 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 | able-ref.(org-blackfriday--get-r |
| 10600 | 65 66 65 72 65 6e 63 65 20 74 61 62 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 | eference.table))............(tab |
| 10620 | 6c 65 2d 61 6e 63 68 6f 72 20 28 69 66 20 74 61 62 6c 65 2d 72 65 66 0a 20 20 20 20 20 20 20 20 | le-anchor.(if.table-ref......... |
| 10640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 | .....................(format."<a |
| 10660 | 20 69 64 3d 5c 22 25 73 5c 22 3e 3c 2f 61 3e 5c 6e 22 20 74 61 62 6c 65 2d 72 65 66 29 0a 20 20 | .id=\"%s\"></a>\n".table-ref)... |
| 10680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 | .........................""))... |
| 106a0 | 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 | .........(caption.(org-export-ge |
| 106c0 | 74 2d 63 61 70 74 69 6f 6e 20 74 61 62 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 74 61 62 | t-caption.table))............tab |
| 106e0 | 6c 65 2d 6e 75 6d 0a 20 20 20 20 20 20 20 20 20 20 20 28 62 6c 61 6e 6b 2d 6c 69 6e 65 2d 62 65 | le-num............(blank-line-be |
| 10700 | 66 6f 72 65 2d 74 61 62 6c 65 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 | fore-table."")............(capti |
| 10720 | 6f 6e 2d 68 74 6d 6c 20 28 69 66 20 28 6e 6f 74 20 63 61 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 | on-html.(if.(not.caption)....... |
| 10740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 0a 20 20 20 20 20 20 | .......................""....... |
| 10760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 61 70 74 | .....................(let.((capt |
| 10780 | 69 6f 6e 2d 70 72 65 66 69 78 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 74 72 61 | ion-prefix.(org-blackfriday--tra |
| 107a0 | 6e 73 6c 61 74 65 20 27 74 61 62 6c 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | nslate.'table.info))............ |
| 107c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 2d 73 | ......................(caption-s |
| 107e0 | 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tr.............................. |
| 10800 | 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 63 6f 6e 76 65 72 74 2d 73 70 65 63 69 61 6c 2d 73 | .....(org-html-convert-special-s |
| 10820 | 74 72 69 6e 67 73 20 3b 49 6e 74 65 72 70 72 65 74 20 65 6d 2d 64 61 73 68 2c 20 65 6e 2d 64 61 | trings.;Interpret.em-dash,.en-da |
| 10840 | 73 68 2c 20 65 74 63 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sh,.etc......................... |
| 10860 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 | ............(org-export-data-wit |
| 10880 | 68 2d 62 61 63 6b 65 6e 64 20 63 61 70 74 69 6f 6e 20 27 68 74 6d 6c 20 69 6e 66 6f 29 29 29 29 | h-backend.caption.'html.info)))) |
| 108a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 | ..............................(s |
| 108c0 | 65 74 71 20 74 61 62 6c 65 2d 6e 75 6d 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6f 72 | etq.table-num.(org-export-get-or |
| 108e0 | 64 69 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dinal........................... |
| 10900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 20 69 6e 66 6f 0a 20 | ....................table.info.. |
| 10920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 20 23 27 6f 72 67 2d 68 74 6d 6c 2d 2d 68 61 73 | .............nil.#'org-html--has |
| 10960 | 2d 63 61 70 74 69 6f 6e 2d 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -caption-p)).................... |
| 10980 | 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 28 63 6f 6e 63 61 74 20 22 3c 64 69 76 20 | ..........(format.(concat."<div. |
| 109a0 | 63 6c 61 73 73 3d 5c 22 74 61 62 6c 65 2d 63 61 70 74 69 6f 6e 5c 22 3e 5c 6e 22 0a 20 20 20 20 | class=\"table-caption\">\n"..... |
| 109c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 109e0 | 20 20 20 20 20 20 20 20 20 22 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 74 61 62 6c 65 2d | ........."..<span.class=\"table- |
| 10a00 | 6e 75 6d 62 65 72 5c 22 3e 25 73 3a 3c 2f 73 70 61 6e 3e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 | number\">%s:</span>\n".......... |
| 10a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10a40 | 20 20 20 20 22 20 20 25 73 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...."..%s\n".................... |
| 10a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 2f 64 69 76 | .........................."</div |
| 10a80 | 3e 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | >\n")........................... |
| 10aa0 | 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 74 61 62 6c 65 2d 72 65 66 20 3b 48 79 70 65 72 6c | ...........(if.table-ref.;Hyperl |
| 10ac0 | 69 6e 6b 20 74 68 65 20 74 61 62 6c 65 20 70 72 65 66 69 78 20 2b 20 6e 75 6d 62 65 72 0a 20 20 | ink.the.table.prefix.+.number... |
| 10ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10b00 | 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 68 72 65 66 3d 5c 22 23 25 73 5c 22 3e | .......(format."<a.href=\"#%s\"> |
| 10b20 | 25 73 20 25 73 3c 2f 61 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | %s.%s</a>"...................... |
| 10b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c | ............................tabl |
| 10b60 | 65 2d 72 65 66 20 63 61 70 74 69 6f 6e 2d 70 72 65 66 69 78 20 74 61 62 6c 65 2d 6e 75 6d 29 0a | e-ref.caption-prefix.table-num). |
| 10b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10ba0 | 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 | .......(format."%s.%s".......... |
| 10bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10be0 | 20 20 20 20 20 20 63 61 70 74 69 6f 6e 2d 70 72 65 66 69 78 20 74 61 62 6c 65 2d 6e 75 6d 29 29 | ......caption-prefix.table-num)) |
| 10c00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10c20 | 20 20 20 20 20 20 63 61 70 74 69 6f 6e 2d 73 74 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ......caption-str))))........... |
| 10c40 | 20 28 61 74 74 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 | .(attr.(org-export-read-attribut |
| 10c60 | 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 74 61 62 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | e.:attr_html.table))............ |
| 10c80 | 3b 3b 20 41 74 20 74 68 65 20 6d 6f 6d 65 6e 74 20 6f 6e 6c 79 20 74 68 65 20 60 63 6c 61 73 73 | ;;.At.the.moment.only.the.`class |
| 10ca0 | 27 20 61 74 74 72 69 62 75 74 65 20 69 73 20 73 75 70 70 6f 72 74 65 64 20 69 6e 0a 20 20 20 20 | '.attribute.is.supported.in..... |
| 10cc0 | 20 20 20 20 20 20 20 3b 3b 20 23 2b 61 74 74 72 5f 68 74 6d 6c 20 61 62 6f 76 65 20 74 61 62 6c | .......;;.#+attr_html.above.tabl |
| 10ce0 | 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 63 6c 61 73 73 2d 75 73 65 72 | es.............(table-class-user |
| 10d00 | 20 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 63 6c 61 73 73 29 29 0a 20 20 20 20 20 20 | .(plist-get.attr.:class))....... |
| 10d20 | 20 20 20 20 20 28 74 61 62 6c 65 2d 63 6c 61 73 73 2d 61 75 74 6f 20 28 63 6f 6e 63 61 74 20 22 | .....(table-class-auto.(concat." |
| 10d40 | 74 61 62 6c 65 2d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | table-"......................... |
| 10d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 74 61 62 6c 65 2d 6e 75 6d 0a 20 20 20 20 20 | .............(if.table-num...... |
| 10d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10da0 | 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 64 22 20 74 61 62 6c 65 2d 6e 75 6d 29 0a 20 20 20 20 | ....(format."%d".table-num)..... |
| 10dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 10de0 | 20 20 20 22 6e 6f 63 61 70 74 69 6f 6e 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 | ..."nocaption")))............(ta |
| 10e00 | 62 6c 65 2d 63 6c 61 73 73 20 28 6f 72 20 74 61 62 6c 65 2d 63 6c 61 73 73 2d 75 73 65 72 0a 20 | ble-class.(or.table-class-user.. |
| 10e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 | ...........................table |
| 10e40 | 2d 63 6c 61 73 73 2d 61 75 74 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 75 | -class-auto))............;;.If.u |
| 10e60 | 73 65 72 20 68 61 73 20 73 70 65 63 69 66 69 65 64 20 6d 75 6c 74 69 70 6c 65 20 63 6c 61 73 73 | ser.has.specified.multiple.class |
| 10e80 | 65 73 20 66 6f 72 20 74 68 65 20 74 61 62 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 | es.for.the.table............;;.( |
| 10ea0 | 73 70 61 63 65 2d 73 65 70 61 72 61 74 65 64 29 2c 20 75 73 65 20 6f 6e 6c 79 20 74 68 65 20 66 | space-separated),.use.only.the.f |
| 10ec0 | 69 72 73 74 20 63 6c 61 73 73 20 69 6e 20 74 68 61 74 20 6c 69 73 74 0a 20 20 20 20 20 20 20 20 | irst.class.in.that.list......... |
| 10ee0 | 20 20 20 3b 3b 20 74 6f 20 73 70 65 63 69 66 79 69 6e 67 20 74 68 65 20 73 74 79 6c 69 6e 67 20 | ...;;.to.specifying.the.styling. |
| 10f00 | 69 6e 20 74 68 65 20 3c 73 74 79 6c 65 3e 20 74 61 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 28 | in.the.<style>.tag.............( |
| 10f20 | 74 61 62 6c 65 2d 63 6c 61 73 73 2d 74 68 69 73 20 28 63 61 72 20 28 73 70 6c 69 74 2d 73 74 72 | table-class-this.(car.(split-str |
| 10f40 | 69 6e 67 20 74 61 62 6c 65 2d 63 6c 61 73 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b | ing.table-class)))............;; |
| 10f60 | 20 68 74 74 70 73 3a 2f 2f 77 77 77 2e 77 33 73 63 68 6f 6f 6c 73 2e 63 6f 6d 2f 63 73 73 2f 63 | .https://www.w3schools.com/css/c |
| 10f80 | 73 73 5f 74 61 62 6c 65 2e 61 73 70 0a 20 20 20 20 20 20 20 20 20 20 20 28 63 73 73 2d 70 72 6f | ss_table.asp............(css-pro |
| 10fa0 | 70 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 | ps.(org-export-read-attribute.:a |
| 10fc0 | 74 74 72 5f 63 73 73 20 74 61 62 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 63 73 73 2d | ttr_css.table))............(css- |
| 10fe0 | 70 72 6f 70 73 2d 73 74 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6d 61 6b 65 | props-str.(org-blackfriday--make |
| 11000 | 2d 63 73 73 2d 70 72 6f 70 65 72 74 79 2d 73 74 72 69 6e 67 20 63 73 73 2d 70 72 6f 70 73 29 29 | -css-property-string.css-props)) |
| 11020 | 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 70 72 65 20 22 22 29 0a 20 20 20 20 20 | ............(table-pre."")...... |
| 11040 | 20 20 20 20 20 20 28 74 61 62 6c 65 2d 70 6f 73 74 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 | ......(table-post."")........... |
| 11060 | 20 28 74 62 6c 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 | .(tbl.(replace-regexp-in-string. |
| 11080 | 22 5c 6e 5c 6e 22 20 22 5c 6e 22 20 63 6f 6e 74 65 6e 74 73 29 29 29 0a 0a 20 20 20 20 20 20 28 | "\n\n"."\n".contents)))........( |
| 110a0 | 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 73 73 2d 70 72 6f 70 73 2d | when.(org-string-nw-p.css-props- |
| 110c0 | 73 74 72 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 62 6c 65 2d 70 72 65 20 28 66 6f | str).........(setq.table-pre.(fo |
| 110e0 | 72 6d 61 74 20 22 3c 73 74 79 6c 65 3e 2e 25 73 20 74 61 62 6c 65 20 7b 20 25 73 20 7d 3c 2f 73 | rmat."<style>.%s.table.{.%s.}</s |
| 11100 | 74 79 6c 65 3e 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tyle>\n\n"...................... |
| 11120 | 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 2d 63 6c 61 73 73 2d 74 68 69 73 20 63 73 73 2d | ...........table-class-this.css- |
| 11140 | 70 72 6f 70 73 2d 73 74 72 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 45 78 70 6f 72 74 20 75 73 65 | props-str))).......;;.Export.use |
| 11160 | 72 2d 73 70 65 63 69 66 69 65 64 20 74 61 62 6c 65 20 63 6c 61 73 73 20 65 78 70 6c 69 63 69 74 | r-specified.table.class.explicit |
| 11180 | 6c 79 2e 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d | ly........(when.(or.(org-string- |
| 111a0 | 6e 77 2d 70 20 74 61 62 6c 65 2d 63 6c 61 73 73 2d 75 73 65 72 29 0a 20 20 20 20 20 20 20 20 20 | nw-p.table-class-user).......... |
| 111c0 | 20 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 73 73 2d 70 72 6f 70 | .......(org-string-nw-p.css-prop |
| 111e0 | 73 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 62 6c 65 2d 70 72 65 20 | s-str)).........(setq.table-pre. |
| 11200 | 28 63 6f 6e 63 61 74 20 74 61 62 6c 65 2d 70 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (concat.table-pre............... |
| 11220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 64 69 76 20 | ..................(format."<div. |
| 11240 | 63 6c 61 73 73 3d 5c 22 6f 78 2d 68 75 67 6f 2d 74 61 62 6c 65 20 25 73 5c 22 3e 25 73 5c 6e 22 | class=\"ox-hugo-table.%s\">%s\n" |
| 11260 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 11280 | 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 2d 63 6c 61 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 | .........table-class............ |
| 112a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | .............................(or |
| 112c0 | 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 65 78 74 72 61 2d 64 69 76 2d 68 61 63 6b 20 69 6e | g-blackfriday--extra-div-hack.in |
| 112e0 | 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d | fo))))).......(when.(org-string- |
| 11300 | 6e 77 2d 70 20 74 61 62 6c 65 2d 70 72 65 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 | nw-p.table-pre).........(setq.ta |
| 11320 | 62 6c 65 2d 70 6f 73 74 20 28 63 6f 6e 63 61 74 20 22 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 | ble-post.(concat."\n"........... |
| 11340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 2f 64 69 76 3e 5c 6e | ......................."</div>\n |
| 11360 | 22 29 29 29 0a 0a 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 74 61 62 6c 65 20 68 61 73 20 | ")))........;;.If.the.table.has. |
| 11380 | 6f 6e 6c 79 20 31 20 72 6f 77 2c 20 64 6f 20 2a 6e 6f 74 2a 20 6d 61 6b 65 20 69 74 20 61 20 68 | only.1.row,.do.*not*.make.it.a.h |
| 113a0 | 65 61 64 65 72 20 72 6f 77 2e 2e 0a 20 20 20 20 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 63 72 65 | eader.row.........;;.instead.cre |
| 113c0 | 61 74 65 20 61 6e 20 65 6d 70 74 79 20 68 65 61 64 65 72 20 72 6f 77 2e 0a 20 20 20 20 20 20 3b | ate.an.empty.header.row........; |
| 113e0 | 3b 20 46 6f 72 20 31 2d 72 6f 77 2c 20 74 62 6c 20 77 6f 75 6c 64 20 6c 6f 6f 6b 20 6c 69 6b 65 | ;.For.1-row,.tbl.would.look.like |
| 11400 | 20 74 68 69 73 20 61 74 20 74 68 69 73 20 70 6f 69 6e 74 3a 0a 20 20 20 20 20 20 3b 3b 0a 20 20 | .this.at.this.point:.......;;... |
| 11420 | 20 20 20 20 3b 3b 20 20 20 7c 20 61 20 7c 20 62 20 7c 0a 20 20 20 20 20 20 3b 3b 20 20 20 7c 2d | ....;;...|.a.|.b.|.......;;...|- |
| 11440 | 2d 2d 7c 2d 2d 2d 7c 0a 20 20 20 20 20 20 3b 3b 0a 20 20 20 20 20 20 3b 3b 20 42 65 6c 6f 77 20 | --|---|.......;;.......;;.Below. |
| 11460 | 77 69 6c 6c 20 63 6f 6e 76 65 72 74 20 74 68 61 74 20 74 6f 3a 0a 20 20 20 20 20 20 3b 3b 0a 20 | will.convert.that.to:.......;;.. |
| 11480 | 20 20 20 20 20 3b 3b 20 20 20 7c 20 20 20 7c 20 20 20 7c 0a 20 20 20 20 20 20 3b 3b 20 20 20 7c | .....;;...|...|...|.......;;...| |
| 114a0 | 2d 2d 2d 7c 2d 2d 2d 7c 0a 20 20 20 20 20 20 3b 3b 20 20 20 7c 20 61 20 7c 20 62 20 7c 0a 20 20 | ---|---|.......;;...|.a.|.b.|... |
| 114c0 | 20 20 20 20 28 77 68 65 6e 20 6e 6f 2d 68 65 61 64 65 72 0a 20 20 20 20 20 20 20 20 28 73 74 72 | ....(when.no-header.........(str |
| 114e0 | 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 60 5c 5c 28 2e 2a 5c 5c 29 5c 6e 5c 5c 28 2e 2a 5c 5c 29 | ing-match."\\`\\(.*\\)\n\\(.*\\) |
| 11500 | 5c 6e 5c 5c 27 22 20 74 62 6c 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 6f 77 2d | \n\\'".tbl).........(let*.((row- |
| 11520 | 31 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 | 1.(match-string-no-properties.1. |
| 11540 | 74 62 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 68 72 75 6c 65 20 28 6d 61 74 | tbl))................(hrule.(mat |
| 11560 | 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 32 20 74 62 6c 29 29 0a | ch-string-no-properties.2.tbl)). |
| 11580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 75 6d 6d 79 2d 68 65 61 64 65 72 20 28 72 65 | ...............(dummy-header.(re |
| 115a0 | 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 2d 3a 5d 22 20 22 20 | place-regexp-in-string."[-:]".". |
| 115c0 | 22 20 68 72 75 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 62 6c 20 28 | ".hrule)))...........(setq.tbl.( |
| 115e0 | 63 6f 6e 63 61 74 20 64 75 6d 6d 79 2d 68 65 61 64 65 72 20 22 5c 6e 22 20 68 72 75 6c 65 20 22 | concat.dummy-header."\n".hrule." |
| 11600 | 5c 6e 22 20 72 6f 77 2d 31 29 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | \n".row-1)))).......;;.(message. |
| 11620 | 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 20 44 42 47 5d 20 54 62 6c 3a 5c 6e 25 73 22 20 74 62 6c | "[ox-bf-table.DBG].Tbl:\n%s".tbl |
| 11640 | 29 0a 0a 20 20 20 20 20 20 3b 3b 20 41 20 62 6c 61 6e 6b 20 6c 69 6e 65 20 69 73 20 6e 65 65 64 | )........;;.A.blank.line.is.need |
| 11660 | 65 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 74 68 65 20 4d 61 72 6b 64 6f 77 6e 20 74 61 62 6c | ed.to.separate.the.Markdown.tabl |
| 11680 | 65 20 61 6e 64 0a 20 20 20 20 20 20 3b 3b 20 74 68 65 20 74 61 62 6c 65 20 61 6e 63 68 6f 72 2f | e.and.......;;.the.table.anchor/ |
| 116a0 | 63 61 70 74 69 6f 6e 20 48 54 4d 4c 2e 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 73 74 72 | caption.HTML........(unless.(str |
| 116c0 | 69 6e 67 3d 20 28 63 6f 6e 63 61 74 20 74 61 62 6c 65 2d 70 72 65 20 74 61 62 6c 65 2d 61 6e 63 | ing=.(concat.table-pre.table-anc |
| 116e0 | 68 6f 72 20 63 61 70 74 69 6f 6e 2d 68 74 6d 6c 29 20 22 22 29 0a 20 20 20 20 20 20 20 20 28 73 | hor.caption-html)."").........(s |
| 11700 | 65 74 71 20 62 6c 61 6e 6b 2d 6c 69 6e 65 2d 62 65 66 6f 72 65 2d 74 61 62 6c 65 20 22 5c 6e 22 | etq.blank-line-before-table."\n" |
| 11720 | 29 29 0a 0a 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 74 61 62 6c 65 2d 70 72 65 20 74 61 62 6c | ))........(concat.table-pre.tabl |
| 11740 | 65 2d 61 6e 63 68 6f 72 20 63 61 70 74 69 6f 6e 2d 68 74 6d 6c 0a 20 20 20 20 20 20 20 20 20 20 | e-anchor.caption-html........... |
| 11760 | 20 20 20 20 62 6c 61 6e 6b 2d 6c 69 6e 65 2d 62 65 66 6f 72 65 2d 74 61 62 6c 65 20 74 62 6c 20 | ....blank-line-before-table.tbl. |
| 11780 | 74 61 62 6c 65 2d 70 6f 73 74 29 29 29 29 0a 0a 3b 3b 3b 3b 20 54 61 72 67 65 74 0a 28 64 65 66 | table-post))))..;;;;.Target.(def |
| 117a0 | 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 74 61 72 67 65 74 2d 61 | un.org-blackfriday--get-target-a |
| 117c0 | 6e 63 68 6f 72 20 28 74 61 72 67 65 74 29 0a 20 20 22 47 65 74 20 48 54 4d 4c 20 61 6e 63 68 6f | nchor.(target)..."Get.HTML.ancho |
| 117e0 | 72 20 66 6f 72 20 54 41 52 47 45 54 20 65 6c 65 6d 65 6e 74 2e 0a 0a 42 79 20 64 65 66 61 75 6c | r.for.TARGET.element...By.defaul |
| 11800 | 74 2c 20 74 68 65 20 72 65 74 75 72 6e 65 64 20 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 20 69 73 | t,.the.returned.anchor.string.is |
| 11820 | 20 74 68 65 20 48 54 4d 4c 20 73 61 6e 69 74 69 7a 65 64 0a 74 61 72 67 65 74 20 6e 61 6d 65 20 | .the.HTML.sanitized.target.name. |
| 11840 | 28 60 3a 76 61 6c 75 65 27 20 70 72 6f 70 65 72 74 79 20 6f 66 20 54 41 52 47 45 54 20 65 6c 65 | (`:value'.property.of.TARGET.ele |
| 11860 | 6d 65 6e 74 29 20 77 69 74 68 20 61 20 70 72 65 66 69 78 0a 72 65 74 75 72 6e 65 64 20 62 79 20 | ment).with.a.prefix.returned.by. |
| 11880 | 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 | `org-blackfriday--get-ref-prefix |
| 118a0 | 27 2e 0a 0a 49 66 20 74 68 65 20 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 20 62 65 67 69 6e 73 20 | '...If.the.anchor.string.begins. |
| 118c0 | 77 69 74 68 20 5c 22 2e 5c 22 2c 20 74 68 65 20 72 65 74 75 72 6e 65 64 20 61 6e 63 68 6f 72 0a | with.\".\",.the.returned.anchor. |
| 118e0 | 73 74 72 69 6e 67 20 69 73 20 6a 75 73 74 20 74 68 65 20 48 54 4d 4c 20 73 61 6e 69 74 69 7a 65 | string.is.just.the.HTML.sanitize |
| 11900 | 64 20 74 61 72 67 65 74 20 6e 61 6d 65 20 77 69 74 68 6f 75 74 20 74 68 61 74 20 5c 22 2e 5c 22 | d.target.name.without.that.\".\" |
| 11920 | 2e 0a 0a 20 20 54 41 52 47 45 54 20 4e 41 4d 45 20 20 20 20 41 4e 43 48 4f 52 0a 0a 20 20 20 61 | .....TARGET.NAME....ANCHOR.....a |
| 11940 | 62 63 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 74 61 72 67 65 74 2d 2d 61 62 63 0a 20 20 | bc............org-target--abc... |
| 11960 | 20 61 62 63 20 64 65 66 20 20 20 20 20 20 20 20 6f 72 67 2d 74 61 72 67 65 74 2d 2d 61 62 63 2d | .abc.def........org-target--abc- |
| 11980 | 64 65 66 0a 20 20 20 2e 61 62 63 20 20 20 20 20 20 20 20 20 20 20 61 62 63 22 0a 20 20 28 6c 65 | def.....abc...........abc"...(le |
| 119a0 | 74 20 28 28 74 61 72 67 65 74 2d 6e 61 6d 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f | t.((target-name.(org-element-pro |
| 119c0 | 70 65 72 74 79 20 3a 76 61 6c 75 65 20 74 61 72 67 65 74 29 29 0a 20 20 20 20 20 20 20 20 28 76 | perty.:value.target)).........(v |
| 119e0 | 65 72 62 61 74 69 6d 2d 74 61 72 67 65 74 2d 70 72 65 66 69 78 20 22 2e 22 29 20 3b 54 68 69 73 | erbatim-target-prefix.".").;This |
| 11a00 | 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6e 6f 6e 2d 61 6c 70 68 61 2d 6e 75 6d 65 72 69 63 2c 20 | .needs.to.be.non-alpha-numeric,. |
| 11a20 | 61 6e 64 20 6e 6f 74 20 61 6e 20 4f 72 67 2d 72 65 63 6f 67 6e 69 7a 65 64 20 6c 69 6e 6b 20 70 | and.not.an.Org-recognized.link.p |
| 11a40 | 72 65 66 69 78 20 6c 69 6b 65 20 22 23 22 0a 20 20 20 20 20 20 20 20 28 70 72 65 66 69 78 20 22 | refix.like."#".........(prefix." |
| 11a60 | 22 29 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 | ")).....(unless.(string-prefix-p |
| 11a80 | 20 76 65 72 62 61 74 69 6d 2d 74 61 72 67 65 74 2d 70 72 65 66 69 78 20 74 61 72 67 65 74 2d 6e | .verbatim-target-prefix.target-n |
| 11aa0 | 61 6d 65 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 70 72 65 66 69 78 20 28 6f 72 67 2d 62 6c 61 | ame).......(setq.prefix.(org-bla |
| 11ac0 | 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 20 27 74 61 72 67 65 74 | ckfriday--get-ref-prefix.'target |
| 11ae0 | 29 29 29 0a 20 20 20 20 3b 3b 20 42 65 6c 6f 77 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 61 | ))).....;;.Below.function.will.a |
| 11b00 | 75 74 6f 2d 72 65 6d 6f 76 65 20 74 68 65 20 60 76 65 72 62 61 74 69 6d 2d 74 61 72 67 65 74 2d | uto-remove.the.`verbatim-target- |
| 11b20 | 70 72 65 66 69 78 27 20 69 66 0a 20 20 20 20 3b 3b 20 70 72 65 73 65 6e 74 2e 0a 20 20 20 20 28 | prefix'.if.....;;.present......( |
| 11b40 | 73 65 74 71 20 74 61 72 67 65 74 2d 6e 61 6d 65 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 | setq.target-name.(org-blackfrida |
| 11b60 | 79 2d 2d 76 61 6c 69 64 2d 68 74 6d 6c 2d 61 6e 63 68 6f 72 2d 6e 61 6d 65 20 74 61 72 67 65 74 | y--valid-html-anchor-name.target |
| 11b80 | 2d 6e 61 6d 65 29 29 0a 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 22 20 70 72 65 66 69 | -name)).....(format."%s%s".prefi |
| 11ba0 | 78 20 74 61 72 67 65 74 2d 6e 61 6d 65 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 | x.target-name)))..(defun.org-bla |
| 11bc0 | 63 6b 66 72 69 64 61 79 2d 74 61 72 67 65 74 20 28 74 61 72 67 65 74 20 5f 63 6f 6e 74 65 6e 74 | ckfriday-target.(target._content |
| 11be0 | 73 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 54 41 52 47 45 54 20 6f | s._info)..."Transcode.a.TARGET.o |
| 11c00 | 62 6a 65 63 74 20 66 72 6f 6d 20 4f 72 67 20 74 6f 20 48 54 4d 4c 2e 0a 43 4f 4e 54 45 4e 54 53 | bject.from.Org.to.HTML..CONTENTS |
| 11c20 | 20 69 73 20 6e 69 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 63 6c 61 73 73 20 28 73 74 72 69 6e | .is.nil."...(let*.((class.(strin |
| 11c40 | 67 2d 72 65 6d 6f 76 65 2d 73 75 66 66 69 78 20 22 2d 2d 22 0a 20 20 20 20 20 20 20 20 20 20 20 | g-remove-suffix."--"............ |
| 11c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d | ...........................(org- |
| 11c80 | 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 20 27 74 61 72 | blackfriday--get-ref-prefix.'tar |
| 11ca0 | 67 65 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 6e 63 68 6f 72 20 28 6f 72 67 2d 62 6c 61 | get)))..........(anchor.(org-bla |
| 11cc0 | 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 74 61 72 67 65 74 2d 61 6e 63 68 6f 72 20 74 61 72 67 | ckfriday--get-target-anchor.targ |
| 11ce0 | 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 74 74 72 20 28 66 6f 72 6d 61 74 20 22 20 63 6c | et))..........(attr.(format.".cl |
| 11d00 | 61 73 73 3d 5c 22 25 73 5c 22 20 69 64 3d 5c 22 25 73 5c 22 22 20 63 6c 61 73 73 20 61 6e 63 68 | ass=\"%s\".id=\"%s\"".class.anch |
| 11d20 | 6f 72 29 29 29 0a 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6c 69 6e 6b | or))).....(org-blackfriday--link |
| 11d40 | 2d 74 61 72 67 65 74 20 61 74 74 72 29 29 29 0a 0a 3b 3b 3b 3b 20 56 65 72 73 65 20 42 6c 6f 63 | -target.attr)))..;;;;.Verse.Bloc |
| 11d60 | 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 76 65 72 73 65 2d 62 | k.(defun.org-blackfriday-verse-b |
| 11d80 | 6c 6f 63 6b 20 28 5f 76 65 72 73 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f | lock.(_verse-block.contents.info |
| 11da0 | 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 56 45 52 53 45 2d 42 4c 4f 43 4b 20 65 6c 65 | )..."Transcode.a.VERSE-BLOCK.ele |
| 11dc0 | 6d 65 6e 74 20 66 72 6f 6d 20 4f 72 67 20 74 6f 20 70 61 72 74 69 61 6c 20 48 54 4d 4c 2e 0a 43 | ment.from.Org.to.partial.HTML..C |
| 11de0 | 4f 4e 54 45 4e 54 53 20 69 73 20 76 65 72 73 65 20 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 2e | ONTENTS.is.verse.block.contents. |
| 11e00 | 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 0a 63 6f 6e 74 65 78 | ..INFO.is.a.plist.holding.contex |
| 11e20 | 74 75 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 72 65 74 | tual.information."...(let*.((ret |
| 11e40 | 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 4f 72 67 20 72 65 6d 6f 76 | .contents)..........;;.Org.remov |
| 11e60 | 65 73 20 61 6c 6c 20 74 68 65 20 6c 65 61 64 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 20 6f 6e | es.all.the.leading.whitespace.on |
| 11e80 | 6c 79 20 66 72 6f 6d 20 74 68 65 20 66 69 72 73 74 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 | ly.from.the.first..........;;.li |
| 11ea0 | 6e 65 2e 20 20 53 6f 20 74 68 65 20 74 72 69 63 6b 20 69 73 20 74 6f 20 75 73 65 20 74 68 65 20 | ne...So.the.trick.is.to.use.the. |
| 11ec0 | 22 3e 22 20 63 68 61 72 61 63 74 65 72 20 62 65 66 6f 72 65 20 61 6e 79 0a 20 20 20 20 20 20 20 | ">".character.before.any........ |
| 11ee0 | 20 20 3b 3b 20 69 6e 74 65 6e 64 65 64 20 69 6e 64 65 6e 74 61 74 69 6f 6e 20 6f 6e 20 74 68 65 | ..;;.intended.indentation.on.the |
| 11f00 | 20 66 69 72 73 74 20 6e 6f 6e 2d 62 6c 61 6e 6b 20 6c 69 6e 65 2e 0a 20 20 20 20 20 20 20 20 20 | .first.non-blank.line........... |
| 11f20 | 28 72 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 | (ret.(replace-regexp-in-string." |
| 11f40 | 5c 5c 60 5c 5c 28 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5c 6e 5c 72 5d 2a 3f 5c 5c 29 5b 5b 3a 62 6c 61 | \\`\\([[:blank:]\n\r]*?\\)[[:bla |
| 11f60 | 6e 6b 3a 5d 5d 2a 26 67 74 3b 22 20 22 5c 5c 31 22 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 | nk:]]*>"."\\1".ret))......... |
| 11f80 | 20 28 62 72 20 28 6f 72 67 2d 68 74 6d 6c 2d 63 6c 6f 73 65 2d 74 61 67 20 22 62 72 22 20 6e 69 | .(br.(org-html-close-tag."br".ni |
| 11fa0 | 6c 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 20 28 66 6f 72 6d 61 74 20 22 5c | l.info))..........(re.(format."\ |
| 11fc0 | 5c 28 3f 3a 25 73 5c 5c 29 3f 5b 20 5c 74 5d 2a 5c 6e 22 20 28 72 65 67 65 78 70 2d 71 75 6f 74 | \(?:%s\\)?[.\t]*\n".(regexp-quot |
| 11fe0 | 65 20 62 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 65 61 63 68 | e.br)))..........;;.Replace.each |
| 12000 | 20 6e 65 77 6c 69 6e 65 20 63 68 61 72 61 63 74 65 72 20 77 69 74 68 20 6c 69 6e 65 20 62 72 65 | .newline.character.with.line.bre |
| 12020 | 61 6b 2e 20 20 41 6c 73 6f 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 72 65 6d 6f 76 65 20 61 6e 79 | ak...Also..........;;.remove.any |
| 12040 | 20 74 72 61 69 6c 69 6e 67 20 22 62 72 22 20 63 6c 6f 73 65 2d 74 61 67 20 73 6f 20 61 73 20 74 | .trailing."br".close-tag.so.as.t |
| 12060 | 6f 20 61 76 6f 69 64 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 64 75 70 6c 69 63 61 74 65 73 2e 0a | o.avoid..........;;.duplicates.. |
| 12080 | 20 20 20 20 20 20 20 20 20 28 72 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e | .........(ret.(replace-regexp-in |
| 120a0 | 2d 73 74 72 69 6e 67 20 72 65 20 28 63 6f 6e 63 61 74 20 62 72 20 22 5c 6e 22 29 20 72 65 74 29 | -string.re.(concat.br."\n").ret) |
| 120c0 | 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 6c 65 61 64 69 6e 67 20 77 68 | )..........;;.Replace.leading.wh |
| 120e0 | 69 74 65 20 73 70 61 63 65 73 20 77 69 74 68 20 6e 6f 6e 2d 62 72 65 61 6b 69 6e 67 20 73 70 61 | ite.spaces.with.non-breaking.spa |
| 12100 | 63 65 73 2e 0a 20 20 20 20 20 20 20 20 20 28 72 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 | ces...........(ret.(replace-rege |
| 12120 | 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5e 5b 5b | xp-in-string................"^[[ |
| 12140 | 3a 62 6c 61 6e 6b 3a 5d 5d 2b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 | :blank:]]+"................(lamb |
| 12160 | 64 61 20 28 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d | da.(m)..................(org-htm |
| 12180 | 6c 2d 2d 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 6c 65 6e 67 74 68 20 6d 29 20 22 26 6e 62 73 70 | l--make-string.(length.m)."  |
| 121a0 | 3b 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 29 29 0a 20 20 20 20 20 20 | ;"))................ret))....... |
| 121c0 | 20 20 20 28 72 65 74 20 28 66 6f 72 6d 61 74 20 22 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 76 65 | ...(ret.(format."<div.class=\"ve |
| 121e0 | 72 73 65 5c 22 3e 5c 6e 5c 6e 25 73 5c 6e 3c 2f 64 69 76 3e 22 20 72 65 74 29 29 29 0a 20 20 20 | rse\">\n\n%s\n</div>".ret))).... |
| 12200 | 20 72 65 74 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 49 6e 74 65 72 61 63 74 69 76 65 20 66 75 6e 63 74 | .ret)).....;;;.Interactive.funct |
| 12220 | 69 6f 6e 73 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d | ions..;;;###autoload.(defun.org- |
| 12240 | 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 61 72 6b 64 6f 77 6e 20 28 | blackfriday-export-as-markdown.( |
| 12260 | 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 | &optional.async.subtreep.visible |
| 12280 | 2d 6f 6e 6c 79 29 0a 20 20 22 45 78 70 6f 72 74 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 20 | -only)..."Export.current.buffer. |
| 122a0 | 74 6f 20 61 20 47 69 74 68 75 62 20 46 6c 61 76 6f 72 65 64 20 4d 61 72 6b 64 6f 77 6e 20 62 75 | to.a.Github.Flavored.Markdown.bu |
| 122c0 | 66 66 65 72 2e 0a 0a 49 66 20 6e 61 72 72 6f 77 69 6e 67 20 69 73 20 61 63 74 69 76 65 20 69 6e | ffer...If.narrowing.is.active.in |
| 122e0 | 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 2c 20 6f 6e 6c 79 20 65 78 70 6f 72 74 | .the.current.buffer,.only.export |
| 12300 | 20 69 74 73 0a 6e 61 72 72 6f 77 65 64 20 70 61 72 74 2e 0a 0a 49 66 20 61 20 72 65 67 69 6f 6e | .its.narrowed.part...If.a.region |
| 12320 | 20 69 73 20 61 63 74 69 76 65 2c 20 65 78 70 6f 72 74 20 74 68 61 74 20 72 65 67 69 6f 6e 2e 0a | .is.active,.export.that.region.. |
| 12340 | 0a 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 | .A.non-nil.optional.argument.ASY |
| 12360 | 4e 43 20 6d 65 61 6e 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 | NC.means.the.process.should.happ |
| 12380 | 65 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e | en.asynchronously...The.resultin |
| 123a0 | 67 20 62 75 66 66 65 72 20 73 68 6f 75 6c 64 20 62 65 20 61 63 63 65 73 73 69 62 6c 65 0a 74 68 | g.buffer.should.be.accessible.th |
| 123c0 | 72 6f 75 67 68 20 74 68 65 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 | rough.the.`org-export-stack'.int |
| 123e0 | 65 72 66 61 63 65 2e 0a 0a 57 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 | erface...When.optional.argument. |
| 12400 | 53 55 42 54 52 45 45 50 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 65 78 70 6f 72 74 20 74 68 65 20 | SUBTREEP.is.non-nil,.export.the. |
| 12420 | 73 75 62 2d 74 72 65 65 0a 61 74 20 70 6f 69 6e 74 2c 20 65 78 74 72 61 63 74 69 6e 67 20 69 6e | sub-tree.at.point,.extracting.in |
| 12440 | 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 68 65 61 64 69 6e 67 20 70 72 6f 70 65 | formation.from.the.heading.prope |
| 12460 | 72 74 69 65 73 0a 66 69 72 73 74 2e 0a 0a 57 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 | rties.first...When.optional.argu |
| 12480 | 6d 65 6e 74 20 56 49 53 49 42 4c 45 2d 4f 4e 4c 59 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f | ment.VISIBLE-ONLY.is.non-nil,.do |
| 124a0 | 6e 27 74 20 65 78 70 6f 72 74 0a 63 6f 6e 74 65 6e 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c | n't.export.contents.of.hidden.el |
| 124c0 | 65 6d 65 6e 74 73 2e 0a 0a 45 78 70 6f 72 74 20 69 73 20 64 6f 6e 65 20 69 6e 20 61 20 62 75 66 | ements...Export.is.done.in.a.buf |
| 124e0 | 66 65 72 20 6e 61 6d 65 64 20 5c 22 2a 4f 72 67 20 42 4c 41 43 4b 46 52 49 44 41 59 20 45 78 70 | fer.named.\"*Org.BLACKFRIDAY.Exp |
| 12500 | 6f 72 74 2a 5c 22 2c 20 77 68 69 63 68 20 77 69 6c 6c 0a 62 65 20 64 69 73 70 6c 61 79 65 64 20 | ort*\",.which.will.be.displayed. |
| 12520 | 77 68 65 6e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 73 68 6f 77 2d 74 65 6d 70 6f 72 61 72 79 2d | when.`org-export-show-temporary- |
| 12540 | 65 78 70 6f 72 74 2d 62 75 66 66 65 72 27 20 69 73 0a 6e 6f 6e 2d 6e 69 6c 2e 22 0a 20 20 28 69 | export-buffer'.is.non-nil."...(i |
| 12560 | 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 6f 2d 62 75 66 | nteractive)...(org-export-to-buf |
| 12580 | 66 65 72 20 27 62 6c 61 63 6b 66 72 69 64 61 79 20 22 2a 4f 72 67 20 42 4c 41 43 4b 46 52 49 44 | fer.'blackfriday."*Org.BLACKFRID |
| 125a0 | 41 59 20 45 78 70 6f 72 74 2a 22 0a 20 20 20 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 70 20 76 | AY.Export*".....async.subtreep.v |
| 125c0 | 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 6e 69 6c 20 6e 69 6c 20 28 6c 61 6d 62 64 61 20 28 29 20 28 | isible-only.nil.nil.(lambda.().( |
| 125e0 | 74 65 78 74 2d 6d 6f 64 65 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 | text-mode))))..;;;###autoload.(d |
| 12600 | 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 63 6f 6e 76 65 72 74 2d 72 65 67 | efun.org-blackfriday-convert-reg |
| 12620 | 69 6f 6e 2d 74 6f 2d 6d 64 20 28 29 0a 20 20 22 43 6f 6e 76 65 72 74 20 74 65 78 74 20 69 6e 20 | ion-to-md.()..."Convert.text.in. |
| 12640 | 74 68 65 20 63 75 72 72 65 6e 74 20 72 65 67 69 6f 6e 20 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 | the.current.region.to.Blackfrida |
| 12660 | 79 20 4d 61 72 6b 64 6f 77 6e 2e 0a 54 68 65 20 74 65 78 74 20 69 73 20 61 73 73 75 6d 65 64 20 | y.Markdown..The.text.is.assumed. |
| 12680 | 74 6f 20 62 65 20 69 6e 20 4f 72 67 20 6d 6f 64 65 20 66 6f 72 6d 61 74 2e 0a 0a 54 68 69 73 20 | to.be.in.Org.mode.format...This. |
| 126a0 | 63 61 6e 20 62 65 20 75 73 65 64 20 69 6e 20 61 6e 79 20 62 75 66 66 65 72 2e 20 20 46 6f 72 20 | can.be.used.in.any.buffer...For. |
| 126c0 | 65 78 61 6d 70 6c 65 2c 20 79 6f 75 20 63 61 6e 20 77 72 69 74 65 20 61 6e 0a 69 74 65 6d 69 7a | example,.you.can.write.an.itemiz |
| 126e0 | 65 64 20 6c 69 73 74 20 69 6e 20 4f 72 67 20 6d 6f 64 65 20 73 79 6e 74 61 78 20 69 6e 20 61 20 | ed.list.in.Org.mode.syntax.in.a. |
| 12700 | 4d 61 72 6b 64 6f 77 6e 20 62 75 66 66 65 72 20 61 6e 64 20 75 73 65 0a 74 68 69 73 20 63 6f 6d | Markdown.buffer.and.use.this.com |
| 12720 | 6d 61 6e 64 20 74 6f 20 63 6f 6e 76 65 72 74 20 69 74 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 | mand.to.convert.it."...(interact |
| 12740 | 69 76 65 29 0a 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 70 6c 61 63 65 2d 72 65 67 69 6f | ive)...(org-export-replace-regio |
| 12760 | 6e 2d 62 79 20 27 62 6c 61 63 6b 66 72 69 64 61 79 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c | n-by.'blackfriday))..;;;###autol |
| 12780 | 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 70 6f 72 | oad.(defun.org-blackfriday-expor |
| 127a0 | 74 2d 74 6f 2d 6d 61 72 6b 64 6f 77 6e 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e 63 20 73 | t-to-markdown.(&optional.async.s |
| 127c0 | 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 22 45 78 70 6f 72 74 20 | ubtreep.visible-only)..."Export. |
| 127e0 | 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 20 74 6f 20 61 20 47 69 74 68 75 62 20 46 6c 61 76 6f | current.buffer.to.a.Github.Flavo |
| 12800 | 72 65 64 20 4d 61 72 6b 64 6f 77 6e 20 66 69 6c 65 2e 0a 0a 49 66 20 6e 61 72 72 6f 77 69 6e 67 | red.Markdown.file...If.narrowing |
| 12820 | 20 69 73 20 61 63 74 69 76 65 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 | .is.active.in.the.current.buffer |
| 12840 | 2c 20 6f 6e 6c 79 20 65 78 70 6f 72 74 20 69 74 73 0a 6e 61 72 72 6f 77 65 64 20 70 61 72 74 2e | ,.only.export.its.narrowed.part. |
| 12860 | 0a 0a 49 66 20 61 20 72 65 67 69 6f 6e 20 69 73 20 61 63 74 69 76 65 2c 20 65 78 70 6f 72 74 20 | ..If.a.region.is.active,.export. |
| 12880 | 74 68 61 74 20 72 65 67 69 6f 6e 2e 0a 0a 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f 6e 61 6c | that.region...A.non-nil.optional |
| 128a0 | 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 6d 65 61 6e 73 20 74 68 65 20 70 72 6f 63 65 73 | .argument.ASYNC.means.the.proces |
| 128c0 | 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 2e 20 | s.should.happen.asynchronously.. |
| 128e0 | 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 66 69 6c 65 20 73 68 6f 75 6c 64 20 62 65 20 61 63 | .The.resulting.file.should.be.ac |
| 12900 | 63 65 73 73 69 62 6c 65 20 74 68 72 6f 75 67 68 0a 74 68 65 20 60 6f 72 67 2d 65 78 70 6f 72 74 | cessible.through.the.`org-export |
| 12920 | 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 65 2e 0a 0a 57 68 65 6e 20 6f 70 74 69 6f 6e 61 | -stack'.interface...When.optiona |
| 12940 | 6c 20 61 72 67 75 6d 65 6e 74 20 53 55 42 54 52 45 45 50 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 | l.argument.SUBTREEP.is.non-nil,. |
| 12960 | 65 78 70 6f 72 74 20 74 68 65 20 73 75 62 2d 74 72 65 65 0a 61 74 20 70 6f 69 6e 74 2c 20 65 78 | export.the.sub-tree.at.point,.ex |
| 12980 | 74 72 61 63 74 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 68 65 | tracting.information.from.the.he |
| 129a0 | 61 64 69 6e 67 20 70 72 6f 70 65 72 74 69 65 73 0a 66 69 72 73 74 2e 0a 0a 57 68 65 6e 20 6f 70 | ading.properties.first...When.op |
| 129c0 | 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 4c 45 2d 4f 4e 4c 59 20 69 73 20 | tional.argument.VISIBLE-ONLY.is. |
| 129e0 | 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 0a 63 6f 6e 74 65 6e 74 73 20 6f | non-nil,.don't.export.contents.o |
| 12a00 | 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 52 65 74 75 72 6e 20 6f 75 74 70 75 | f.hidden.elements...Return.outpu |
| 12a20 | 74 20 66 69 6c 65 27 73 20 6e 61 6d 65 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a | t.file's.name."...(interactive). |
| 12a40 | 20 20 28 6c 65 74 20 28 28 6f 75 74 66 69 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 6f 75 74 | ..(let.((outfile.(org-export-out |
| 12a60 | 70 75 74 2d 66 69 6c 65 2d 6e 61 6d 65 20 22 2e 6d 64 22 20 73 75 62 74 72 65 65 70 29 29 29 0a | put-file-name.".md".subtreep))). |
| 12a80 | 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 6f 2d 66 69 6c 65 20 27 62 6c 61 63 6b 66 72 | ....(org-export-to-file.'blackfr |
| 12aa0 | 69 64 61 79 20 6f 75 74 66 69 6c 65 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 70 20 76 69 73 69 | iday.outfile.async.subtreep.visi |
| 12ac0 | 62 6c 65 2d 6f 6e 6c 79 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 | ble-only)))..;;;###autoload.(def |
| 12ae0 | 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 75 62 6c 69 73 68 2d 74 6f 2d 62 6c | un.org-blackfriday-publish-to-bl |
| 12b00 | 61 63 6b 66 72 69 64 61 79 20 28 70 6c 69 73 74 20 66 69 6c 65 6e 61 6d 65 20 70 75 62 2d 64 69 | ackfriday.(plist.filename.pub-di |
| 12b20 | 72 29 0a 20 20 22 50 75 62 6c 69 73 68 20 61 6e 20 4f 72 67 20 66 69 6c 65 20 74 6f 20 42 6c 61 | r)..."Publish.an.Org.file.to.Bla |
| 12b40 | 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 69 6c 65 2e 0a 0a 50 4c 49 53 54 20 69 | ckfriday.Markdown.file...PLIST.i |
| 12b60 | 73 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 6c 69 73 74 20 66 6f 72 20 74 68 65 20 67 69 76 65 | s.the.property.list.for.the.give |
| 12b80 | 6e 20 70 72 6f 6a 65 63 74 2e 20 20 46 49 4c 45 4e 41 4d 45 20 69 73 0a 74 68 65 20 66 69 6c 65 | n.project...FILENAME.is.the.file |
| 12ba0 | 6e 61 6d 65 20 6f 66 20 74 68 65 20 4f 72 67 20 66 69 6c 65 20 74 6f 20 62 65 20 70 75 62 6c 69 | name.of.the.Org.file.to.be.publi |
| 12bc0 | 73 68 65 64 2e 20 20 50 55 42 2d 44 49 52 20 69 73 20 74 68 65 0a 70 75 62 6c 69 73 68 69 6e 67 | shed...PUB-DIR.is.the.publishing |
| 12be0 | 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 52 65 74 75 72 6e 20 6f 75 74 70 75 74 20 66 69 6c 65 20 | .directory...Return.output.file. |
| 12c00 | 6e 61 6d 65 2e 22 0a 20 20 28 6f 72 67 2d 70 75 62 6c 69 73 68 2d 6f 72 67 2d 74 6f 20 27 62 6c | name."...(org-publish-org-to.'bl |
| 12c20 | 61 63 6b 66 72 69 64 61 79 20 66 69 6c 65 6e 61 6d 65 20 22 2e 6d 64 22 20 70 6c 69 73 74 20 70 | ackfriday.filename.".md".plist.p |
| 12c40 | 75 62 2d 64 69 72 29 29 0a 0a 0a 28 70 72 6f 76 69 64 65 20 27 6f 78 2d 62 6c 61 63 6b 66 72 69 | ub-dir))...(provide.'ox-blackfri |
| 12c60 | 64 61 79 29 0a 0a 0a 3b 3b 3b 20 6f 78 2d 62 6c 61 63 6b 66 72 69 64 61 79 2e 65 6c 20 65 6e 64 | day)...;;;.ox-blackfriday.el.end |
| 12c80 | 73 20 68 65 72 65 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | s.here.......................... |
| 12ca0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12cc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12ce0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12d00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12d20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12d40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12d60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12d80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12da0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12dc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12de0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12e00 | 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 32 31 32 2e 33 31 30 2f 6f 78 2d 68 75 67 6f 2d 64 65 70 | ox-hugo-20250212.310/ox-hugo-dep |
| 12e20 | 72 65 63 61 74 65 64 2e 65 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | recated.el...................... |
| 12e40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12e60 | 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 | ....0000644.0000000.0000000.0000 |
| 12e80 | 30 30 35 31 33 30 34 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 36 33 31 31 00 20 30 00 00 00 | 0051304.00000000000.016311..0... |
| 12ea0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12ec0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12ee0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12f00 | 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar...root................... |
| 12f20 | 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........root................... |
| 12f40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12f60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12f80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12fa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12fc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 12fe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 13000 | 3b 3b 3b 20 6f 78 2d 68 75 67 6f 2d 64 65 70 72 65 63 61 74 65 64 2e 65 6c 20 2d 2d 2d 20 44 65 | ;;;.ox-hugo-deprecated.el.---.De |
| 13020 | 70 72 65 63 61 74 65 64 20 73 74 75 66 66 20 66 72 6f 6d 20 6f 78 2d 68 75 67 6f 20 2d 2a 2d 20 | precated.stuff.from.ox-hugo.-*-. |
| 13040 | 6c 65 78 69 63 61 6c 2d 62 69 6e 64 69 6e 67 3a 20 74 20 2d 2a 2d 0a 0a 3b 3b 20 41 75 74 68 6f | lexical-binding:.t.-*-..;;.Autho |
| 13060 | 72 73 3a 20 4b 61 75 73 68 61 6c 20 4d 6f 64 69 20 3c 6b 61 75 73 68 61 6c 2e 6d 6f 64 69 40 67 | rs:.Kaushal.Modi.<kaushal.modi@g |
| 13080 | 6d 61 69 6c 2e 63 6f 6d 3e 0a 3b 3b 20 55 52 4c 3a 20 68 74 74 70 73 3a 2f 2f 6f 78 2d 68 75 67 | mail.com>.;;.URL:.https://ox-hug |
| 130a0 | 6f 2e 73 63 72 69 70 74 65 72 2e 63 6f 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e 74 61 72 79 3a 0a 0a | o.scripter.co..;;;.Commentary:.. |
| 130c0 | 3b 3b 20 54 68 69 73 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 20 76 61 72 69 61 62 6c 65 73 20 | ;;.This.file.contains.variables. |
| 130e0 | 61 6e 64 20 66 75 6e 63 74 69 6f 6e 73 20 64 65 70 72 65 63 61 74 65 64 20 66 72 6f 6d 20 6f 78 | and.functions.deprecated.from.ox |
| 13100 | 2d 68 75 67 6f 2e 0a 3b 3b 20 44 6f 20 6e 6f 74 20 64 65 70 65 6e 64 20 6f 6e 20 74 68 69 73 20 | -hugo..;;.Do.not.depend.on.this. |
| 13120 | 66 69 6c 65 20 61 73 20 69 74 20 6d 61 79 20 64 69 73 61 70 70 65 61 72 20 61 6e 79 20 64 61 79 | file.as.it.may.disappear.any.day |
| 13140 | 2e 0a 0a 0c 0a 3b 3b 3b 20 4f 62 73 6f 6c 65 74 69 6f 6e 73 0a 0a 3b 3b 20 42 6c 61 63 6b 66 72 | .....;;;.Obsoletions..;;.Blackfr |
| 13160 | 69 64 61 79 20 73 75 70 70 6f 72 74 20 69 73 20 62 65 69 6e 67 20 72 65 6d 6f 76 65 64 20 66 72 | iday.support.is.being.removed.fr |
| 13180 | 6f 6d 20 60 6f 78 2d 68 75 67 6f 27 20 61 73 20 48 75 67 6f 20 68 61 73 0a 3b 3b 20 64 65 70 72 | om.`ox-hugo'.as.Hugo.has.;;.depr |
| 131a0 | 65 63 61 74 65 64 20 69 74 73 20 73 75 70 70 6f 72 74 20 66 6f 72 20 61 20 77 68 69 6c 65 2e 0a | ecated.its.support.for.a.while.. |
| 131c0 | 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d 6f 64 | ;;.https://github.com/kaushalmod |
| 131e0 | 69 2f 6f 78 2d 68 75 67 6f 2f 64 69 73 63 75 73 73 69 6f 6e 73 2f 34 38 35 0a 0a 3b 3b 3b 20 43 | i/ox-hugo/discussions/485..;;;.C |
| 13200 | 6f 64 65 3a 0a 0a 3b 3b 20 53 69 6c 65 6e 63 65 20 62 79 74 65 2d 63 6f 6d 70 69 6c 65 72 0a 28 | ode:..;;.Silence.byte-compiler.( |
| 13220 | 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 61 74 65 2d 74 69 6d 65 2d 72 65 67 65 78 | defvar.org-hugo--date-time-regex |
| 13240 | 70 29 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f | p).(defvar.org-hugo--subtree-coo |
| 13260 | 72 64 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f 6e 20 6f 72 67 2d 73 74 72 69 6e 67 | rd).(declare-function.org-string |
| 13280 | 2d 6e 77 2d 70 20 22 6f 72 67 2d 6d 61 63 73 22 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 | -nw-p."org-macs").(declare-funct |
| 132a0 | 69 6f 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 20 22 6f 78 2d 68 75 | ion.org-hugo--calc-weight."ox-hu |
| 132c0 | 67 6f 22 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f 6e 20 6f 72 67 2d 68 75 67 6f 2d | go").(declare-function.org-hugo- |
| 132e0 | 73 6c 75 67 20 22 6f 78 2d 68 75 67 6f 22 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f | slug."ox-hugo").(declare-functio |
| 13300 | 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 6c 75 65 2d 62 | n.org-hugo--front-matter-value-b |
| 13320 | 6f 6f 6c 65 61 6e 69 7a 65 20 22 6f 78 2d 68 75 67 6f 22 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 | ooleanize."ox-hugo").(declare-fu |
| 13340 | 6e 63 74 69 6f 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 65 6c 69 6d 2d 73 74 72 2d 74 6f 2d 6c 69 | nction.org-hugo--delim-str-to-li |
| 13360 | 73 74 20 22 6f 78 2d 68 75 67 6f 22 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f 6e 20 | st."ox-hugo").(declare-function. |
| 13380 | 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e | org-hugo--parse-property-argumen |
| 133a0 | 74 73 20 22 6f 78 2d 68 75 67 6f 22 29 0a 3b 3b 0a 0a 28 6d 61 6b 65 2d 6f 62 73 6f 6c 65 74 65 | ts."ox-hugo").;;..(make-obsolete |
| 133c0 | 2d 76 61 72 69 61 62 6c 65 20 27 6f 72 67 2d 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d | -variable.'org-hugo-blackfriday- |
| 133e0 | 6f 70 74 69 6f 6e 73 20 6e 69 6c 20 22 48 75 67 6f 20 68 61 73 20 73 77 69 74 63 68 65 64 20 74 | options.nil."Hugo.has.switched.t |
| 13400 | 6f 20 75 73 65 20 47 6f 6c 64 6d 61 72 6b 20 61 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 4d 61 | o.use.Goldmark.as.the.default.Ma |
| 13420 | 72 6b 64 6f 77 6e 20 70 61 72 73 65 72 20 73 69 6e 63 65 20 76 30 2e 36 30 2e 22 20 22 4a 61 6e | rkdown.parser.since.v0.60."."Jan |
| 13440 | 20 31 35 2c 20 32 30 32 32 22 29 0a 28 6d 61 6b 65 2d 6f 62 73 6f 6c 65 74 65 2d 76 61 72 69 61 | .15,.2022").(make-obsolete-varia |
| 13460 | 62 6c 65 20 27 6f 72 67 2d 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 74 65 6e 73 | ble.'org-hugo-blackfriday-extens |
| 13480 | 69 6f 6e 73 20 6e 69 6c 20 22 48 75 67 6f 20 68 61 73 20 73 77 69 74 63 68 65 64 20 74 6f 20 75 | ions.nil."Hugo.has.switched.to.u |
| 134a0 | 73 65 20 47 6f 6c 64 6d 61 72 6b 20 61 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 4d 61 72 6b 64 | se.Goldmark.as.the.default.Markd |
| 134c0 | 6f 77 6e 20 70 61 72 73 65 72 20 73 69 6e 63 65 20 76 30 2e 36 30 2e 22 20 22 4a 61 6e 20 31 35 | own.parser.since.v0.60."."Jan.15 |
| 134e0 | 2c 20 32 30 32 32 22 29 0a 0a 0c 0a 3b 3b 3b 20 56 61 72 69 61 62 6c 65 73 0a 0a 28 64 65 66 76 | ,.2022")....;;;.Variables..(defv |
| 13500 | 61 72 20 6f 72 67 2d 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 6f 70 74 69 6f 6e 73 0a | ar.org-hugo-blackfriday-options. |
| 13520 | 20 20 27 28 22 74 61 73 6b 4c 69 73 74 73 22 0a 20 20 20 20 22 73 6d 61 72 74 79 70 61 6e 74 73 | ..'("taskLists"....."smartypants |
| 13540 | 22 0a 20 20 20 20 22 73 6d 61 72 74 79 70 61 6e 74 73 51 75 6f 74 65 73 4e 42 53 50 22 0a 20 20 | "....."smartypantsQuotesNBSP"... |
| 13560 | 20 20 22 61 6e 67 6c 65 64 51 75 6f 74 65 73 22 0a 20 20 20 20 22 66 72 61 63 74 69 6f 6e 73 22 | .."angledQuotes"....."fractions" |
| 13580 | 0a 20 20 20 20 22 73 6d 61 72 74 44 61 73 68 65 73 22 0a 20 20 20 20 22 6c 61 74 65 78 44 61 73 | ....."smartDashes"....."latexDas |
| 135a0 | 68 65 73 22 0a 20 20 20 20 22 68 72 65 66 54 61 72 67 65 74 42 6c 61 6e 6b 22 0a 20 20 20 20 22 | hes"....."hrefTargetBlank"....." |
| 135c0 | 70 6c 61 69 6e 49 44 41 6e 63 68 6f 72 73 22 0a 20 20 20 20 22 65 78 74 65 6e 73 69 6f 6e 73 22 | plainIDAnchors"....."extensions" |
| 135e0 | 0a 20 20 20 20 22 65 78 74 65 6e 73 69 6f 6e 73 6d 61 73 6b 22 29 0a 20 20 22 44 65 70 72 65 63 | ....."extensionsmask")..."Deprec |
| 13600 | 61 74 65 64 20 42 6c 61 63 6b 66 72 69 64 61 79 20 70 61 72 73 65 72 20 6f 70 74 69 6f 6e 20 6e | ated.Blackfriday.parser.option.n |
| 13620 | 61 6d 65 73 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 62 6c 61 63 6b 66 | ames.")..(defvar.org-hugo-blackf |
| 13640 | 72 69 64 61 79 2d 65 78 74 65 6e 73 69 6f 6e 73 0a 20 20 27 28 22 6e 6f 49 6e 74 72 61 45 6d 70 | riday-extensions...'("noIntraEmp |
| 13660 | 68 61 73 69 73 22 0a 20 20 20 20 22 74 61 62 6c 65 73 22 0a 20 20 20 20 22 66 65 6e 63 65 64 43 | hasis"....."tables"....."fencedC |
| 13680 | 6f 64 65 22 0a 20 20 20 20 22 61 75 74 6f 6c 69 6e 6b 22 0a 20 20 20 20 22 73 74 72 69 6b 65 74 | ode"....."autolink"....."striket |
| 136a0 | 68 72 6f 75 67 68 22 0a 20 20 20 20 22 6c 61 78 48 74 6d 6c 42 6c 6f 63 6b 73 22 0a 20 20 20 20 | hrough"....."laxHtmlBlocks"..... |
| 136c0 | 22 73 70 61 63 65 48 65 61 64 65 72 73 22 0a 20 20 20 20 22 68 61 72 64 4c 69 6e 65 42 72 65 61 | "spaceHeaders"....."hardLineBrea |
| 136e0 | 6b 22 0a 20 20 20 20 22 74 61 62 53 69 7a 65 45 69 67 68 74 22 0a 20 20 20 20 22 66 6f 6f 74 6e | k"....."tabSizeEight"....."footn |
| 13700 | 6f 74 65 73 22 0a 20 20 20 20 22 6e 6f 45 6d 70 74 79 4c 69 6e 65 42 65 66 6f 72 65 42 6c 6f 63 | otes"....."noEmptyLineBeforeBloc |
| 13720 | 6b 22 0a 20 20 20 20 22 68 65 61 64 65 72 49 64 73 22 0a 20 20 20 20 22 74 69 74 6c 65 62 6c 6f | k"....."headerIds"....."titleblo |
| 13740 | 63 6b 22 0a 20 20 20 20 22 61 75 74 6f 48 65 61 64 65 72 49 64 73 22 0a 20 20 20 20 22 62 61 63 | ck"....."autoHeaderIds"....."bac |
| 13760 | 6b 73 6c 61 73 68 4c 69 6e 65 42 72 65 61 6b 22 0a 20 20 20 20 22 64 65 66 69 6e 69 74 69 6f 6e | kslashLineBreak"....."definition |
| 13780 | 4c 69 73 74 73 22 0a 20 20 20 20 22 6a 6f 69 6e 4c 69 6e 65 73 22 29 0a 20 20 22 44 65 70 72 65 | Lists"....."joinLines")..."Depre |
| 137a0 | 63 61 74 65 64 20 42 6c 61 63 6b 66 72 69 64 61 79 20 65 78 74 65 6e 73 69 6f 6e 20 6e 61 6d 65 | cated.Blackfriday.extension.name |
| 137c0 | 73 2e 22 29 0a 0a 0a 0c 0a 3b 3b 3b 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 28 64 65 66 75 6e 20 6f | s.").....;;;.Functions..(defun.o |
| 137e0 | 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 72 6f 70 2d | rg-hugo--parse-blackfriday-prop- |
| 13800 | 74 6f 2d 61 6c 69 73 74 20 28 73 74 72 29 0a 20 20 22 52 65 74 75 72 6e 20 61 6e 20 61 6c 69 73 | to-alist.(str)..."Return.an.alis |
| 13820 | 74 20 6f 66 20 76 61 6c 69 64 20 48 75 67 6f 20 62 6c 61 63 6b 66 72 69 64 61 79 20 70 72 6f 70 | t.of.valid.Hugo.blackfriday.prop |
| 13840 | 65 72 74 69 65 73 20 63 6f 6e 76 65 72 74 65 64 20 66 72 6f 6d 20 53 54 52 2e 0a 0a 46 6f 72 20 | erties.converted.from.STR...For. |
| 13860 | 65 78 61 6d 70 6c 65 2c 20 69 6e 70 75 74 20 53 54 52 3a 0a 0a 20 20 5c 22 3a 66 72 61 63 74 69 | example,.input.STR:....\":fracti |
| 13880 | 6f 6e 73 20 3a 73 6d 61 72 74 64 61 73 68 65 73 20 6e 69 6c 20 3a 61 6e 67 6c 65 64 71 75 6f 74 | ons.:smartdashes.nil.:angledquot |
| 138a0 | 65 73 20 74 5c 22 0a 0a 77 6f 75 6c 64 20 63 6f 6e 76 65 72 74 20 74 6f 3a 0a 0a 20 20 28 28 66 | es.t\"..would.convert.to:....((f |
| 138c0 | 72 61 63 74 69 6f 6e 73 20 2e 20 5c 22 66 61 6c 73 65 5c 22 29 20 28 73 6d 61 72 74 44 61 73 68 | ractions...\"false\").(smartDash |
| 138e0 | 65 73 20 2e 20 5c 22 66 61 6c 73 65 5c 22 29 20 28 61 6e 67 6c 65 64 51 75 6f 74 65 73 20 2e 20 | es...\"false\").(angledQuotes... |
| 13900 | 5c 22 74 72 75 65 5c 22 29 29 0a 0a 54 68 65 20 5c 22 74 72 75 65 5c 22 20 61 6e 64 20 5c 22 66 | \"true\"))..The.\"true\".and.\"f |
| 13920 | 61 6c 73 65 5c 22 20 73 74 72 69 6e 67 73 20 69 6e 20 74 68 65 20 72 65 74 75 72 6e 20 76 61 6c | alse\".strings.in.the.return.val |
| 13940 | 75 65 20 61 72 65 20 64 75 65 20 74 6f 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 66 72 6f 6e 74 2d 6d | ue.are.due.to.`org-hugo--front-m |
| 13960 | 61 74 74 65 72 2d 76 61 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 27 2e 22 0a 20 20 28 6c 65 74 | atter-value-booleanize'."...(let |
| 13980 | 20 28 28 62 6c 61 63 6b 66 72 69 64 61 79 2d 61 6c 69 73 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d | .((blackfriday-alist.(org-hugo-- |
| 139a0 | 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 73 74 72 29 29 0a 20 | parse-property-arguments.str)).. |
| 139c0 | 20 20 20 20 20 20 20 76 61 6c 69 64 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 61 6c 69 73 74 29 0a | .......valid-blackfriday-alist). |
| 139e0 | 20 20 20 20 28 64 6f 6c 69 73 74 20 28 72 65 66 2d 70 72 6f 70 20 6f 72 67 2d 68 75 67 6f 2d 62 | ....(dolist.(ref-prop.org-hugo-b |
| 13a00 | 6c 61 63 6b 66 72 69 64 61 79 2d 6f 70 74 69 6f 6e 73 29 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 | lackfriday-options).......(dolis |
| 13a20 | 74 20 28 75 73 65 72 2d 70 72 6f 70 20 62 6c 61 63 6b 66 72 69 64 61 79 2d 61 6c 69 73 74 29 0a | t.(user-prop.blackfriday-alist). |
| 13a40 | 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 3d 20 28 64 6f 77 6e 63 61 73 65 | ........(when.(string=.(downcase |
| 13a60 | 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 28 63 61 72 20 75 73 65 72 2d 70 72 6f 70 29 29 29 0a | .(symbol-name.(car.user-prop))). |
| 13a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 77 6e 63 61 73 65 | .......................(downcase |
| 13aa0 | 20 72 65 66 2d 70 72 6f 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6b 65 | .ref-prop))...........(let*.((ke |
| 13ac0 | 79 20 28 69 6e 74 65 72 6e 20 72 65 66 2d 70 72 6f 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | y.(intern.ref-prop))............ |
| 13ae0 | 20 20 20 20 20 20 28 76 61 6c 75 65 20 28 63 64 72 20 75 73 65 72 2d 70 72 6f 70 29 29 0a 20 20 | ......(value.(cdr.user-prop))... |
| 13b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 61 6c 75 65 20 28 69 66 20 28 6f 72 20 28 65 | ...............(value.(if.(or.(e |
| 13b20 | 71 75 61 6c 20 6b 65 79 20 27 65 78 74 65 6e 73 69 6f 6e 73 29 0a 20 20 20 20 20 20 20 20 20 20 | qual.key.'extensions)........... |
| 13b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 6b 65 79 | ......................(equal.key |
| 13b60 | 20 27 65 78 74 65 6e 73 69 6f 6e 73 6d 61 73 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .'extensionsmask)).............. |
| 13b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 65 6c 69 6d 2d | ...............(org-hugo--delim- |
| 13ba0 | 73 74 72 2d 74 6f 2d 6c 69 73 74 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | str-to-list.value).............. |
| 13bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 72 6f 6e 74 2d 6d 61 | .............(org-hugo--front-ma |
| 13be0 | 74 74 65 72 2d 76 61 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 76 61 6c 75 65 29 29 29 29 0a | tter-value-booleanize.value)))). |
| 13c00 | 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 63 6f 6e 73 20 6b 65 79 20 76 61 6c 75 | ............(push.(cons.key.valu |
| 13c20 | 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 69 64 2d 62 6c 61 63 6b | e)...................valid-black |
| 13c40 | 66 72 69 64 61 79 2d 61 6c 69 73 74 29 29 29 29 29 0a 20 20 20 20 76 61 6c 69 64 2d 62 6c 61 63 | friday-alist))))).....valid-blac |
| 13c60 | 6b 66 72 69 64 61 79 2d 61 6c 69 73 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f | kfriday-alist))..(defun.org-hugo |
| 13c80 | 2d 2d 72 65 74 75 72 6e 2d 76 61 6c 69 64 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 74 65 6e | --return-valid-blackfriday-exten |
| 13ca0 | 73 69 6f 6e 20 28 65 78 74 29 0a 20 20 22 52 65 74 75 72 6e 20 76 61 6c 69 64 20 63 61 73 65 2d | sion.(ext)..."Return.valid.case- |
| 13cc0 | 73 65 6e 73 69 74 69 76 65 20 73 74 72 69 6e 67 20 66 6f 72 20 42 6c 61 63 6b 66 72 69 64 61 79 | sensitive.string.for.Blackfriday |
| 13ce0 | 20 65 78 74 65 6e 73 69 6f 6e 20 45 58 54 2e 0a 0a 45 78 61 6d 70 6c 65 3a 20 49 66 20 45 58 54 | .extension.EXT...Example:.If.EXT |
| 13d00 | 20 69 73 20 5c 22 68 61 72 64 6c 69 6e 65 62 72 65 61 6b 5c 22 2c 0a 5c 22 5c 22 68 61 72 64 4c | .is.\"hardlinebreak\",.\"\"hardL |
| 13d20 | 69 6e 65 42 72 65 61 6b 5c 22 5c 22 20 28 71 75 6f 74 65 64 20 73 74 72 69 6e 67 29 20 69 73 20 | ineBreak\"\".(quoted.string).is. |
| 13d40 | 72 65 74 75 72 6e 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 72 65 74 29 0a 20 20 20 20 28 64 6f 6c | returned."...(let.(ret).....(dol |
| 13d60 | 69 73 74 20 28 72 65 66 2d 65 78 74 20 6f 72 67 2d 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 | ist.(ref-ext.org-hugo-blackfrida |
| 13d80 | 79 2d 65 78 74 65 6e 73 69 6f 6e 73 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | y-extensions).......;;.(message. |
| 13da0 | 22 6f 78 2d 68 75 67 6f 20 62 66 20 76 61 6c 69 64 20 65 78 74 20 44 42 47 3a 20 65 78 74 3d 25 | "ox-hugo.bf.valid.ext.DBG:.ext=% |
| 13dc0 | 73 20 72 65 66 2d 65 78 74 3d 25 73 22 20 65 78 74 20 72 65 66 2d 65 78 74 29 0a 20 20 20 20 20 | s.ref-ext=%s".ext.ref-ext)...... |
| 13de0 | 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 3d 20 28 64 6f 77 6e 63 61 73 65 20 65 78 74 29 20 28 | .(when.(string=.(downcase.ext).( |
| 13e00 | 64 6f 77 6e 63 61 73 65 20 72 65 66 2d 65 78 74 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 | downcase.ref-ext)).........(setq |
| 13e20 | 20 72 65 74 20 72 65 66 2d 65 78 74 29 29 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 72 65 74 0a | .ret.ref-ext))).....(unless.ret. |
| 13e40 | 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 49 6e 76 61 6c 69 64 20 42 6c 61 63 6b | ......(user-error."Invalid.Black |
| 13e60 | 66 72 69 64 61 79 20 65 78 74 65 6e 73 69 6f 6e 20 6e 61 6d 65 20 25 53 2c 20 73 65 65 20 60 6f | friday.extension.name.%S,.see.`o |
| 13e80 | 72 67 2d 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 74 65 6e 73 69 6f 6e 73 27 22 | rg-hugo-blackfriday-extensions'" |
| 13ea0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 74 29 29 0a 20 20 20 20 28 6f 72 | ...................ext)).....(or |
| 13ec0 | 67 2d 68 75 67 6f 2d 2d 79 61 6d 6c 2d 71 75 6f 74 65 2d 73 74 72 69 6e 67 20 72 65 74 29 29 29 | g-hugo--yaml-quote-string.ret))) |
| 13ee0 | 0a 0a 3b 3b 3b 20 59 41 4d 4c 20 53 75 70 70 6f 72 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 | ..;;;.YAML.Support.(defun.org-hu |
| 13f00 | 67 6f 2d 2d 79 61 6d 6c 2d 71 75 6f 74 65 2d 73 74 72 69 6e 67 20 28 76 61 6c 20 26 6f 70 74 69 | go--yaml-quote-string.(val.&opti |
| 13f20 | 6f 6e 61 6c 20 70 72 65 66 65 72 2d 6e 6f 2d 71 75 6f 74 65 73 29 0a 20 20 22 57 72 61 70 20 56 | onal.prefer-no-quotes)..."Wrap.V |
| 13f40 | 41 4c 20 77 69 74 68 20 71 75 6f 74 65 73 20 61 73 20 61 70 70 72 6f 70 72 69 61 74 65 2e 0a 0a | AL.with.quotes.as.appropriate... |
| 13f60 | 56 41 4c 20 63 61 6e 20 62 65 20 61 20 73 74 72 69 6e 67 2c 20 73 79 6d 62 6f 6c 2c 20 6e 75 6d | VAL.can.be.a.string,.symbol,.num |
| 13f80 | 62 65 72 20 6f 72 20 6e 69 6c 2e 0a 0a 56 41 4c 20 69 73 20 72 65 74 75 72 6e 65 64 20 61 73 2d | ber.or.nil...VAL.is.returned.as- |
| 13fa0 | 69 74 2d 69 73 20 75 6e 64 65 72 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 61 73 65 73 3a | it-is.under.the.following.cases: |
| 13fc0 | 0a 2d 20 49 74 20 69 73 20 61 20 6e 75 6d 62 65 72 2e 0a 2d 20 49 74 20 69 73 20 61 20 73 74 72 | .-.It.is.a.number..-.It.is.a.str |
| 13fe0 | 69 6e 67 20 61 6e 64 20 69 73 20 61 6c 72 65 61 64 79 20 77 72 61 70 70 65 64 20 77 69 74 68 20 | ing.and.is.already.wrapped.with. |
| 14000 | 64 6f 75 62 6c 65 20 71 75 6f 74 65 73 2e 0a 2d 20 49 74 20 69 73 20 61 20 73 74 72 69 6e 67 20 | double.quotes..-.It.is.a.string. |
| 14020 | 61 6e 64 20 69 74 27 73 20 76 61 6c 75 65 20 69 73 20 5c 22 74 72 75 65 5c 22 20 6f 72 20 5c 22 | and.it's.value.is.\"true\".or.\" |
| 14040 | 66 61 6c 73 65 5c 22 2e 0a 2d 20 49 74 20 69 73 20 61 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 | false\"..-.It.is.a.string.repres |
| 14060 | 65 6e 74 69 6e 67 20 61 20 64 61 74 65 2e 0a 2d 20 49 74 20 69 73 20 61 20 73 74 72 69 6e 67 20 | enting.a.date..-.It.is.a.string. |
| 14080 | 72 65 70 72 65 73 65 6e 74 69 6e 67 20 61 6e 20 69 6e 74 65 67 65 72 20 6f 72 20 66 6c 6f 61 74 | representing.an.integer.or.float |
| 140a0 | 2e 0a 0a 49 66 20 56 41 4c 20 69 73 20 6e 69 6c 20 6f 72 20 61 6e 20 65 6d 70 74 79 20 73 74 72 | ...If.VAL.is.nil.or.an.empty.str |
| 140c0 | 69 6e 67 2c 20 61 20 71 75 6f 74 65 64 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 5c 22 5c 22 20 | ing,.a.quoted.empty.string.\"\". |
| 140e0 | 69 73 0a 72 65 74 75 72 6e 65 64 2e 0a 0a 49 66 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 | is.returned...If.optional.argume |
| 14100 | 6e 74 20 50 52 45 46 45 52 2d 4e 4f 2d 51 55 4f 54 45 53 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 | nt.PREFER-NO-QUOTES.is.non-nil,. |
| 14120 | 72 65 74 75 72 6e 20 74 68 65 20 56 41 4c 0a 61 73 2d 69 74 2d 69 73 20 69 66 20 69 74 27 73 20 | return.the.VAL.as-it-is.if.it's. |
| 14140 | 61 20 73 74 72 69 6e 67 20 77 69 74 68 20 6a 75 73 74 20 61 6c 70 68 61 6e 75 6d 65 72 69 63 20 | a.string.with.just.alphanumeric. |
| 14160 | 63 68 61 72 61 63 74 65 72 73 2e 22 0a 20 20 28 63 6f 6e 64 0a 20 20 20 28 28 6e 75 6c 6c 20 76 | characters."...(cond....((null.v |
| 14180 | 61 6c 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 6e 69 | al)..........................;ni |
| 141a0 | 6c 0a 20 20 20 20 76 61 6c 29 0a 20 20 20 28 28 6e 75 6d 62 65 72 70 20 76 61 6c 29 0a 20 20 20 | l.....val)....((numberp.val).... |
| 141c0 | 20 76 61 6c 29 0a 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 76 61 6c 29 0a 20 20 20 20 28 66 6f 72 | .val)....((symbolp.val).....(for |
| 141e0 | 6d 61 74 20 22 5c 22 25 73 5c 22 22 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 76 61 6c 29 29 29 | mat."\"%s\"".(symbol-name.val))) |
| 14200 | 0a 20 20 20 28 28 73 74 72 69 6e 67 70 20 76 61 6c 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 | ....((stringp.val).....(cond.... |
| 14220 | 20 20 28 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 76 61 6c 29 20 20 20 20 20 20 20 20 | ..((org-string-nw-p.val)........ |
| 14240 | 20 20 20 20 3b 49 66 20 60 76 61 6c 27 20 69 73 20 61 20 6e 6f 6e 2d 65 6d 70 74 79 20 73 74 72 | ....;If.`val'.is.a.non-empty.str |
| 14260 | 69 6e 67 0a 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 28 28 6f 72 20 28 61 6e 64 | ing.......(cond........((or.(and |
| 14280 | 20 28 73 74 72 69 6e 67 3d 20 28 73 75 62 73 74 72 69 6e 67 20 76 61 6c 20 30 20 31 29 20 22 5c | .(string=.(substring.val.0.1)."\ |
| 142a0 | 22 22 29 20 3b 46 69 72 73 74 20 63 68 61 72 20 69 73 20 6c 69 74 65 72 61 6c 6c 79 20 61 20 22 | "").;First.char.is.literally.a." |
| 142c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 28 73 75 62 73 | ..................(string=.(subs |
| 142e0 | 74 72 69 6e 67 20 76 61 6c 20 2d 31 29 20 22 5c 22 22 29 29 20 3b 4c 61 73 74 20 63 68 61 72 20 | tring.val.-1)."\"")).;Last.char. |
| 14300 | 69 73 20 6c 69 74 65 72 61 6c 6c 79 20 61 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e | is.literally.a.".............(an |
| 14320 | 64 20 70 72 65 66 65 72 2d 6e 6f 2d 71 75 6f 74 65 73 20 3b 49 66 20 71 75 6f 74 65 73 20 61 72 | d.prefer-no-quotes.;If.quotes.ar |
| 14340 | 65 20 6e 6f 74 20 70 72 65 66 65 72 72 65 64 20 61 6e 64 20 60 76 61 6c 27 20 69 73 20 6f 6e 6c | e.not.preferred.and.`val'.is.onl |
| 14360 | 79 20 61 6c 70 68 61 2d 6e 75 6d 65 72 69 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y.alpha-numeric................. |
| 14380 | 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 5b 61 2d 7a 41 2d 5a 30 2d 39 5d | .(string-match-p."\\`[a-zA-Z0-9] |
| 143a0 | 2b 5c 5c 27 22 20 76 61 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 72 20 69 66 | +\\'".val)).............;;.or.if |
| 143c0 | 20 69 74 20 61 6e 20 69 6e 74 65 67 65 72 20 74 68 61 74 20 63 61 6e 20 62 65 20 73 74 6f 72 65 | .it.an.integer.that.can.be.store |
| 143e0 | 64 20 69 6e 20 74 68 65 20 73 79 73 74 65 6d 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b | d.in.the.system.as.............; |
| 14400 | 3b 20 61 20 66 69 78 6e 75 6d 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 60 76 61 | ;.a.fixnum...For.example,.if.`va |
| 14420 | 6c 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 31 30 30 34 30 32 31 36 35 30 | l'.is.............;;."1004021650 |
| 14440 | 37 36 38 32 35 32 39 32 38 30 22 20 74 68 61 74 20 6e 65 65 64 73 20 6d 6f 72 65 20 74 68 61 6e | 7682529280".that.needs.more.than |
| 14460 | 20 36 34 20 62 69 74 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 65 20 73 74 | .64.bits.to.............;;.be.st |
| 14480 | 6f 72 65 64 20 61 73 20 61 20 73 69 67 6e 65 64 20 69 6e 74 65 67 65 72 2c 20 69 74 20 77 69 6c | ored.as.a.signed.integer,.it.wil |
| 144a0 | 6c 20 62 65 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b | l.be.automatically.............; |
| 144c0 | 3b 20 73 74 6f 72 65 64 20 61 73 20 61 20 66 6c 6f 61 74 2e 20 20 53 6f 20 28 69 6e 74 65 67 65 | ;.stored.as.a.float...So.(intege |
| 144e0 | 72 70 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 | rp.(string-to-number............ |
| 14500 | 20 3b 3b 20 76 61 6c 29 29 20 77 69 6c 6c 20 72 65 74 75 72 6e 20 6e 69 6c 20 5b 6f 72 20 60 66 | .;;.val)).will.return.nil.[or.`f |
| 14520 | 69 78 6e 75 6d 70 27 20 69 6e 73 74 65 61 64 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b | ixnump'.instead.of.............; |
| 14540 | 3b 20 60 69 6e 74 65 67 65 72 70 27 20 69 6e 20 45 6d 61 63 73 20 32 37 20 6f 72 20 6e 65 77 65 | ;.`integerp'.in.Emacs.27.or.newe |
| 14560 | 72 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 | r].............;;.https://github |
| 14580 | 2e 63 6f 6d 2f 74 6f 6d 6c 2d 6c 61 6e 67 2f 74 6f 6d 6c 23 69 6e 74 65 67 65 72 20 49 6e 74 65 | .com/toml-lang/toml#integer.Inte |
| 145a0 | 67 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 78 61 6d 70 6c 65 73 3a 20 37 2c 20 | ger.............;;.examples:.7,. |
| 145c0 | 2b 37 2c 20 2d 37 2c 20 37 5f 30 30 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 | +7,.-7,.7_000.............(and.( |
| 145e0 | 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 5b 2b 2d 5d 3f 5b 5b 3a 64 69 67 69 74 | string-match-p."\\`[+-]?[[:digit |
| 14600 | 3a 5d 5f 5d 2b 5c 5c 27 22 20 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :]_]+\\'".val).................. |
| 14620 | 28 69 66 20 28 66 75 6e 63 74 69 6f 6e 70 20 23 27 66 69 78 6e 75 6d 70 29 20 3b 60 66 69 78 6e | (if.(functionp.#'fixnump).;`fixn |
| 14640 | 75 6d 70 27 20 61 6e 64 20 60 62 69 67 6e 75 6d 70 27 20 67 65 74 20 69 6e 74 72 6f 64 75 63 65 | ump'.and.`bignump'.get.introduce |
| 14660 | 64 20 69 6e 20 45 6d 61 63 73 20 32 37 2e 78 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.in.Emacs.27.x................. |
| 14680 | 20 20 20 20 20 28 66 69 78 6e 75 6d 70 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 | .....(fixnump.(string-to-number. |
| 146a0 | 76 61 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 74 65 67 65 | val))....................(intege |
| 146c0 | 72 70 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 76 61 6c 29 29 29 29 20 3b 4f 6e | rp.(string-to-number.val)))).;On |
| 146e0 | 20 6f 6c 64 65 72 20 45 6d 61 63 73 65 6e 2c 20 60 69 6e 74 65 67 65 72 70 27 20 62 65 68 61 76 | .older.Emacsen,.`integerp'.behav |
| 14700 | 65 64 20 74 68 65 20 73 61 6d 65 20 61 73 20 74 68 65 20 6e 65 77 20 60 66 69 78 6e 75 6d 70 27 | ed.the.same.as.the.new.`fixnump' |
| 14720 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 74 72 75 65 22 20 76 61 6c | .............(string=."true".val |
| 14740 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 66 61 6c 73 65 22 20 76 | ).............(string=."false".v |
| 14760 | 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 72 20 69 66 20 69 74 20 69 73 20 61 | al).............;;.or.if.it.is.a |
| 14780 | 20 64 61 74 65 20 28 64 61 74 65 2c 20 70 75 62 6c 69 73 68 44 61 74 65 2c 20 65 78 70 69 72 79 | .date.(date,.publishDate,.expiry |
| 147a0 | 44 61 74 65 2c 20 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 | Date,.lastmod).............(stri |
| 147c0 | 6e 67 2d 6d 61 74 63 68 2d 70 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 61 74 65 2d 74 69 6d 65 2d 72 | ng-match-p.org-hugo--date-time-r |
| 147e0 | 65 67 65 78 70 20 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 72 20 69 66 20 | egexp.val).............;;.or.if. |
| 14800 | 69 74 20 69 73 20 61 20 66 6c 6f 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 | it.is.a.float.............;;.htt |
| 14820 | 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 74 6f 6d 6c 2d 6c 61 6e 67 2f 74 6f 6d 6c 23 66 | ps://github.com/toml-lang/toml#f |
| 14840 | 6c 6f 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 46 6c 6f 61 74 20 65 78 61 6d 70 6c | loat.............;;.Float.exampl |
| 14860 | 65 73 20 28 64 65 63 69 6d 61 6c 73 29 3a 20 37 2e 38 2c 20 2b 37 2e 38 2c 20 2d 37 2e 38 0a 20 | es.(decimals):.7.8,.+7.8,.-7.8.. |
| 14880 | 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 5b | ...........(string-match-p."\\`[ |
| 148a0 | 2b 2d 5d 3f 5b 5b 3a 64 69 67 69 74 3a 5d 5f 5d 2b 5c 5c 2e 5b 5b 3a 64 69 67 69 74 3a 5d 5f 5d | +-]?[[:digit:]_]+\\.[[:digit:]_] |
| 148c0 | 2b 5c 5c 27 22 20 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 46 6c 6f 61 74 20 | +\\'".val).............;;.Float. |
| 148e0 | 65 78 61 6d 70 6c 65 73 20 28 65 78 70 6f 6e 65 6e 74 69 61 6c 73 29 3a 20 37 65 2d 38 2c 20 2d | examples.(exponentials):.7e-8,.- |
| 14900 | 37 45 2b 38 2c 20 31 2e 37 65 2d 30 35 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e | 7E+8,.1.7e-05.............(strin |
| 14920 | 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 5b 2b 2d 5d 3f 5b 5b 3a 64 69 67 69 74 3a 5d 5f 5d 2b | g-match-p."\\`[+-]?[[:digit:]_]+ |
| 14940 | 5c 5c 28 5c 5c 2e 5b 5b 3a 64 69 67 69 74 3a 5d 5f 5d 2b 5c 5c 29 2a 5b 65 45 5d 5b 2b 2d 5d 3f | \\(\\.[[:digit:]_]+\\)*[eE][+-]? |
| 14960 | 5b 5b 3a 64 69 67 69 74 3a 5d 5f 5d 2b 5c 5c 27 22 20 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 | [[:digit:]_]+\\'".val).......... |
| 14980 | 20 20 20 3b 3b 20 53 70 65 63 69 61 6c 20 66 6c 6f 61 74 20 76 61 6c 75 65 73 20 28 69 6e 66 69 | ...;;.Special.float.values.(infi |
| 149a0 | 6e 69 74 79 2f 4e 61 4e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4c 6f 6f 6b 73 20 6c | nity/NaN).............;;.Looks.l |
| 149c0 | 69 6b 65 20 48 75 67 6f 20 69 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 69 6e 67 20 74 68 65 73 65 | ike.Hugo.is.not.supporting.these |
| 149e0 | 2e 2e 20 54 75 65 20 4d 61 72 20 32 30 20 31 38 3a 30 35 3a 34 30 20 45 44 54 20 32 30 31 38 20 | ...Tue.Mar.20.18:05:40.EDT.2018. |
| 14a00 | 2d 20 6b 6d 6f 64 69 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6c 65 74 20 28 28 63 61 | -.kmodi.............;;.(let.((ca |
| 14a20 | 73 65 2d 66 6f 6c 64 2d 73 65 61 72 63 68 20 6e 69 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | se-fold-search.nil))............ |
| 14a40 | 20 3b 3b 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 5b 2b 2d 5d 3f 5c | .;;...(string-match-p."\\`[+-]?\ |
| 14a60 | 5c 28 69 6e 66 5c 5c 7c 6e 61 6e 5c 5c 29 5c 5c 27 22 20 76 61 6c 29 29 0a 20 20 20 20 20 20 20 | \(inf\\|nan\\)\\'".val))........ |
| 14a80 | 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 76 61 6c 29 0a 20 20 20 20 20 20 20 28 28 73 74 72 | .....).........val)........((str |
| 14aa0 | 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 6e 22 20 76 61 6c 29 20 20 20 20 20 20 20 3b 4d 75 6c | ing-match-p."\n".val).......;Mul |
| 14ac0 | 74 69 2d 6c 69 6e 65 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 20 69 6e | ti-line.string.........;;.The.in |
| 14ae0 | 64 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 6d 75 6c 74 69 2d 6c 69 6e 65 20 73 74 72 69 | dentation.of.the.multi-line.stri |
| 14b00 | 6e 67 20 69 73 20 6e 65 65 64 65 64 20 6f 6e 6c 79 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 | ng.is.needed.only.for.the....... |
| 14b20 | 20 20 3b 3b 20 59 41 4d 4c 20 66 6f 72 6d 61 74 2e 20 20 42 75 74 20 74 68 65 20 73 61 6d 65 20 | ..;;.YAML.format...But.the.same. |
| 14b40 | 69 73 20 64 6f 6e 65 20 66 6f 72 20 54 4f 4d 4c 20 74 6f 6f 20 6a 75 73 74 20 66 6f 72 20 62 65 | is.done.for.TOML.too.just.for.be |
| 14b60 | 74 74 65 72 0a 20 20 20 20 20 20 20 20 3b 3b 20 70 72 65 73 65 6e 74 61 74 69 6f 6e 2e 0a 20 20 | tter.........;;.presentation.... |
| 14b80 | 20 20 20 20 20 20 28 73 65 74 71 20 76 61 6c 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d | ......(setq.val.(replace-regexp- |
| 14ba0 | 69 6e 2d 73 74 72 69 6e 67 20 22 5e 22 20 22 20 20 22 20 76 61 6c 29 29 0a 0a 20 20 20 20 20 20 | in-string."^"."..".val))........ |
| 14bc0 | 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 79 61 6d 6c 2d 6d 75 6c 74 69 6c 69 6e 65 2e 69 6e 66 6f | ..;;.https://yaml-multiline.info |
| 14be0 | 2f 0a 20 20 20 20 20 20 20 20 3b 3b 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 7c 20 20 20 | /.........;;.........;;.....|... |
| 14c00 | 20 20 20 20 20 20 20 20 20 20 7c 66 6f 6f 20 3a 20 3e 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 | ..........|foo.:.>.........;;... |
| 14c20 | 20 20 7c 61 62 63 20 20 20 20 20 20 20 20 20 20 7c 20 20 61 62 63 0a 20 20 20 20 20 20 20 20 3b | ..|abc..........|..abc.........; |
| 14c40 | 3b 20 20 20 20 20 7c 20 20 20 20 20 20 20 3e 3e 3e 20 20 20 7c 0a 20 20 20 20 20 20 20 20 3b 3b | ;.....|.......>>>...|.........;; |
| 14c60 | 20 20 20 20 20 7c 64 65 66 20 20 20 20 20 20 20 20 20 20 7c 0a 20 20 20 20 20 20 20 20 3b 3b 20 | .....|def..........|.........;;. |
| 14c80 | 20 20 20 20 7c 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 20 20 64 65 66 0a 20 20 20 20 20 20 20 | ....|.............|..def........ |
| 14ca0 | 20 3b 3b 0a 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 20 4f 72 67 2c 20 61 20 73 69 6e 67 6c 65 20 | .;;.........;;.In.Org,.a.single. |
| 14cc0 | 62 6c 61 6e 6b 20 6c 69 6e 65 20 69 73 20 75 73 65 64 20 74 6f 20 73 74 61 72 74 20 61 20 6e 65 | blank.line.is.used.to.start.a.ne |
| 14ce0 | 77 0a 20 20 20 20 20 20 20 20 3b 3b 20 70 61 72 61 67 72 61 70 68 2e 20 49 6e 20 74 68 65 20 59 | w.........;;.paragraph..In.the.Y |
| 14d00 | 41 4d 4c 20 6d 75 6c 74 69 2d 6c 69 6e 65 20 73 74 72 69 6e 67 2c 20 74 68 61 74 20 6e 65 65 64 | AML.multi-line.string,.that.need |
| 14d20 | 73 20 74 6f 0a 20 20 20 20 20 20 20 20 3b 3b 20 62 65 20 32 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 | s.to.........;;.be.2.blank.lines |
| 14d40 | 2e 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 76 61 6c 20 28 72 65 70 6c 61 63 65 2d 72 65 67 | ..........(setq.val.(replace-reg |
| 14d60 | 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 6e 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 6e 22 | exp-in-string."\n[[:blank:]]*\n" |
| 14d80 | 20 22 5c 6e 5c 6e 5c 6e 22 20 76 61 6c 29 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 | ."\n\n\n".val)).........(format. |
| 14da0 | 22 3e 5c 6e 25 73 22 20 76 61 6c 29 29 0a 20 20 20 20 20 20 20 28 74 20 20 20 20 20 20 20 20 20 | ">\n%s".val))........(t......... |
| 14dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 53 | ..............................;S |
| 14de0 | 69 6e 67 6c 65 2d 6c 69 6e 65 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 3b 3b 20 42 65 6c | ingle-line.string.........;;.Bel |
| 14e00 | 6f 77 20 32 20 72 65 70 6c 61 63 65 6d 65 6e 74 73 20 61 72 65 20 6f 72 64 65 72 2d 64 65 70 65 | ow.2.replacements.are.order-depe |
| 14e20 | 6e 64 65 6e 74 2e 2e 20 66 69 72 73 74 20 65 73 63 61 70 65 20 74 68 65 0a 20 20 20 20 20 20 20 | ndent...first.escape.the........ |
| 14e40 | 20 3b 3b 20 62 61 63 6b 73 6c 61 73 68 65 73 2c 20 74 68 65 6e 20 65 73 63 61 70 65 20 74 68 65 | .;;.backslashes,.then.escape.the |
| 14e60 | 20 71 75 6f 74 65 73 20 77 69 74 68 20 62 61 63 6b 73 6c 61 73 68 65 73 2e 0a 0a 20 20 20 20 20 | .quotes.with.backslashes........ |
| 14e80 | 20 20 20 3b 3b 20 45 73 63 61 70 65 20 74 68 65 20 62 61 63 6b 73 6c 61 73 68 65 73 20 28 66 6f | ...;;.Escape.the.backslashes.(fo |
| 14ea0 | 72 20 62 6f 74 68 20 54 4f 4d 4c 20 61 6e 64 20 59 41 4d 4c 29 2e 0a 20 20 20 20 20 20 20 20 28 | r.both.TOML.and.YAML)..........( |
| 14ec0 | 73 65 74 71 20 76 61 6c 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 | setq.val.(replace-regexp-in-stri |
| 14ee0 | 6e 67 20 22 5c 5c 5c 5c 22 20 22 5c 5c 5c 5c 5c 5c 5c 5c 22 20 76 61 6c 29 29 0a 20 20 20 20 20 | ng."\\\\"."\\\\\\\\".val))...... |
| 14f00 | 20 20 20 3b 3b 20 45 73 63 61 70 65 20 74 68 65 20 64 6f 75 62 6c 65 2d 71 75 6f 74 65 73 2e 0a | ...;;.Escape.the.double-quotes.. |
| 14f20 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 76 61 6c 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 | ........(setq.val.(replace-regex |
| 14f40 | 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 22 22 20 22 5c 5c 5c 5c 5c 22 22 20 20 76 61 6c 29 29 | p-in-string."\""."\\\\\""..val)) |
| 14f60 | 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 22 22 20 76 61 6c 20 22 5c 22 22 29 29 | .........(concat."\"".val."\"")) |
| 14f80 | 29 29 0a 20 20 20 20 20 28 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ))......(t...................... |
| 14fa0 | 20 20 20 20 20 20 20 20 20 20 20 3b 49 66 20 60 76 61 6c 27 20 69 73 20 61 6e 79 20 65 6d 70 74 | ...........;If.`val'.is.any.empt |
| 14fc0 | 79 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 22 5c 22 5c 22 22 29 29 29 0a 20 20 20 28 74 20 20 | y.string......."\"\"")))....(t.. |
| 14fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 52 65 74 75 72 | ..........................;Retur |
| 15000 | 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 69 66 20 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 0a | n.empty.string.if.anything.else. |
| 15020 | 20 20 20 20 22 5c 22 5c 22 22 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d | ...."\"\"")))..(defun.org-hugo-- |
| 15040 | 67 65 74 2d 79 61 6d 6c 2d 6c 69 73 74 2d 73 74 72 69 6e 67 20 28 6b 65 79 20 6c 69 73 74 29 0a | get-yaml-list-string.(key.list). |
| 15060 | 20 20 22 52 65 74 75 72 6e 20 4b 45 59 27 73 20 4c 49 53 54 20 76 61 6c 75 65 20 61 73 20 61 20 | .."Return.KEY's.LIST.value.as.a. |
| 15080 | 59 41 4d 4c 20 6c 69 73 74 2c 20 72 65 70 72 65 73 65 6e 74 65 64 20 61 73 20 61 20 73 74 72 69 | YAML.list,.represented.as.a.stri |
| 150a0 | 6e 67 2e 0a 0a 4b 45 59 20 69 73 20 61 20 73 74 72 69 6e 67 20 61 6e 64 20 4c 49 53 54 20 69 73 | ng...KEY.is.a.string.and.LIST.is |
| 150c0 | 20 61 20 6c 69 73 74 20 77 68 65 72 65 20 61 6e 20 65 6c 65 6d 65 6e 74 20 63 61 6e 20 62 65 20 | .a.list.where.an.element.can.be. |
| 150e0 | 61 0a 73 79 6d 62 6f 6c 2c 20 6e 75 6d 62 65 72 20 6f 72 20 61 20 6e 6f 6e 2d 65 6d 70 74 79 20 | a.symbol,.number.or.a.non-empty. |
| 15100 | 73 74 72 69 6e 67 2e 20 20 45 78 61 6d 70 6c 65 73 3a 0a 0a 20 20 5c 28 5c 22 61 62 63 5c 22 20 | string...Examples:....\(\"abc\". |
| 15120 | 5c 22 64 65 66 5c 22 29 20 20 20 2d 3e 20 5c 22 5b 5c 5c 5c 22 61 62 63 5c 5c 5c 22 2c 20 5c 5c | \"def\")...->.\"[\\\"abc\\\",.\\ |
| 15140 | 5c 22 64 65 66 5c 5c 5c 22 5d 5c 22 2e 22 0a 20 20 28 63 6f 6e 63 61 74 20 22 5b 22 0a 20 20 20 | \"def\\\"]\"."...(concat."[".... |
| 15160 | 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 69 64 65 6e 74 69 74 79 0a 20 20 20 | .......(mapconcat.#'identity.... |
| 15180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 61 72 20 28 6c 61 6d 62 64 | ..................(mapcar.(lambd |
| 151a0 | 61 20 28 76 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | a.(v)........................... |
| 151c0 | 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 79 61 6d 6c 2d 71 75 6f 74 65 2d 73 74 72 69 6e | .....(org-hugo--yaml-quote-strin |
| 151e0 | 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g............................... |
| 15200 | 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(cond......................... |
| 15220 | 20 20 20 20 20 20 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 76 29 0a 20 20 20 20 20 20 20 20 20 20 | .........((symbolp.v)........... |
| 15240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 79 6d 62 6f 6c 2d | ........................(symbol- |
| 15260 | 6e 61 6d 65 20 76 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | name.v))........................ |
| 15280 | 20 20 20 20 20 20 20 20 20 20 28 28 6e 75 6d 62 65 72 70 20 76 29 0a 20 20 20 20 20 20 20 20 20 | ..........((numberp.v).......... |
| 152a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6d 62 65 72 | .........................(number |
| 152c0 | 2d 74 6f 2d 73 74 72 69 6e 67 20 76 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -to-string.v)).................. |
| 152e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d | ................((org-string-nw- |
| 15300 | 70 20 76 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | p.v)............................ |
| 15320 | 20 20 20 20 20 20 20 76 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......v)....................... |
| 15340 | 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........(t................... |
| 15360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 49 6e 76 | ................(user-error."Inv |
| 15380 | 61 6c 69 64 20 65 6c 65 6d 65 6e 74 20 25 53 20 69 6e 20 60 25 73 27 20 76 61 6c 75 65 20 25 53 | alid.element.%S.in.`%s'.value.%S |
| 153a0 | 22 20 76 20 6b 65 79 20 6c 69 73 74 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".v.key.list)))))............... |
| 153c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ...............list)............ |
| 153e0 | 20 20 20 20 20 20 20 20 20 20 22 2c 20 22 29 0a 20 20 20 20 20 20 20 20 20 20 22 5d 22 29 29 0a | ..........",.")..........."]")). |
| 15400 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 6e 2d 79 61 6d 6c 2d 66 72 6f 6e 74 | .(defun.org-hugo--gen-yaml-front |
| 15420 | 2d 6d 61 74 74 65 72 20 28 64 61 74 61 29 0a 20 20 22 47 65 6e 65 72 61 74 65 20 48 75 67 6f 20 | -matter.(data)..."Generate.Hugo. |
| 15440 | 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 6e 20 59 41 4d 4c 20 66 6f 72 6d 61 74 2c 20 61 6e 64 | front-matter.in.YAML.format,.and |
| 15460 | 20 72 65 74 75 72 6e 20 74 68 61 74 20 73 74 72 69 6e 67 2e 0a 0a 44 41 54 41 20 69 73 20 61 6e | .return.that.string...DATA.is.an |
| 15480 | 20 61 6c 69 73 74 20 6f 66 20 74 68 65 20 66 6f 72 6d 20 5c 28 28 4b 45 59 31 20 2e 20 56 41 4c | .alist.of.the.form.\((KEY1...VAL |
| 154a0 | 31 29 20 28 4b 45 59 32 20 2e 20 56 41 4c 32 29 20 2e 2e 20 5c 29 2c 0a 77 68 65 72 65 20 4b 45 | 1).(KEY2...VAL2)....\),.where.KE |
| 154c0 | 59 20 69 73 20 61 20 73 79 6d 62 6f 6c 20 61 6e 64 20 56 41 4c 20 69 73 20 61 20 73 74 72 69 6e | Y.is.a.symbol.and.VAL.is.a.strin |
| 154e0 | 67 2e 22 0a 20 20 28 6c 65 74 20 28 28 73 65 70 20 22 2d 2d 2d 5c 6e 22 29 0a 20 20 20 20 20 20 | g."...(let.((sep."---\n")....... |
| 15500 | 20 20 28 73 69 67 6e 20 22 3a 22 29 0a 20 20 20 20 20 20 20 20 28 66 72 6f 6e 74 2d 6d 61 74 74 | ..(sign.":").........(front-matt |
| 15520 | 65 72 20 22 22 29 0a 20 20 20 20 20 20 20 20 28 69 6e 64 65 6e 74 20 28 6d 61 6b 65 2d 73 74 72 | er."").........(indent.(make-str |
| 15540 | 69 6e 67 20 32 20 3f 20 29 29 0a 20 20 20 20 20 20 20 20 28 6e 65 73 74 65 64 2d 73 74 72 69 6e | ing.2.?.)).........(nested-strin |
| 15560 | 67 20 22 22 29 0a 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 73 74 72 69 6e 67 20 22 22 29 0a 20 | g."").........(menu-string."").. |
| 15580 | 20 20 20 20 20 20 20 28 72 65 73 2d 73 74 72 69 6e 67 20 22 22 29 29 0a 20 20 20 20 28 64 6f 6c | .......(res-string."")).....(dol |
| 155a0 | 69 73 74 20 28 70 61 69 72 20 64 61 74 61 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6b 65 79 | ist.(pair.data).......(let.((key |
| 155c0 | 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 28 63 61 72 20 70 61 69 72 29 29 29 0a 20 20 20 20 20 | .(symbol-name.(car.pair)))...... |
| 155e0 | 20 20 20 20 20 20 20 28 76 61 6c 75 65 20 28 63 64 72 20 70 61 69 72 29 29 29 0a 20 20 20 20 20 | .......(value.(cdr.pair)))...... |
| 15600 | 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 68 75 67 6f 20 66 6d 20 6b 65 79 20 76 61 6c | ...;;.(message."[hugo.fm.key.val |
| 15620 | 75 65 20 44 42 47 5d 20 25 53 20 25 53 22 20 6b 65 79 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 | ue.DBG].%S.%S".key.value)....... |
| 15640 | 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 20 28 6e 75 6c 6c 20 76 61 6c 75 65 29 20 3b 53 6b 69 70 | ..(unless.(or.(null.value).;Skip |
| 15660 | 20 77 72 69 74 69 6e 67 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 76 61 72 69 61 62 6c 65 73 20 | .writing.front-matter.variables. |
| 15680 | 77 68 6f 73 65 20 76 61 6c 75 65 20 69 73 20 6e 69 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | whose.value.is.nil.............. |
| 156a0 | 20 20 20 20 20 20 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 76 61 6c 75 65 29 20 3b 6f 72 20 | .......(and.(stringp.value).;or. |
| 156c0 | 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | an.empty.string................. |
| 156e0 | 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 22 20 76 61 6c 75 65 29 29 29 0a 20 | ..........(string=."".value))).. |
| 15700 | 20 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 20 54 4f 4d 4c 2f 59 41 4d 4c 2c 20 74 68 65 20 76 61 | .........;;.In.TOML/YAML,.the.va |
| 15720 | 6c 75 65 20 70 6f 72 74 69 6f 6e 20 6e 65 65 64 73 20 74 6f 20 62 65 20 77 72 61 70 70 65 64 20 | lue.portion.needs.to.be.wrapped. |
| 15740 | 69 6e 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 6f 75 62 6c 65 20 71 75 6f 74 65 73 2e 0a 20 | in...........;;.double.quotes... |
| 15760 | 20 20 20 20 20 20 20 20 20 3b 3b 20 54 4f 4d 4c 20 65 78 61 6d 70 6c 65 3a 0a 20 20 20 20 20 20 | .........;;.TOML.example:....... |
| 15780 | 20 20 20 20 3b 3b 20 20 20 20 20 74 69 74 6c 65 20 3d 20 22 4d 79 20 50 6f 73 74 22 0a 20 20 20 | ....;;.....title.=."My.Post".... |
| 157a0 | 20 20 20 20 20 20 20 3b 3b 20 59 41 4d 4c 20 65 78 61 6d 70 6c 65 3a 0a 20 20 20 20 20 20 20 20 | .......;;.YAML.example:......... |
| 157c0 | 20 20 3b 3b 20 20 20 20 20 74 69 74 6c 65 3a 20 22 4d 79 20 50 6f 73 74 22 0a 20 20 20 20 20 20 | ..;;.....title:."My.Post"....... |
| 157e0 | 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 6b | ....(cond............((string=.k |
| 15800 | 65 79 20 22 6d 65 6e 75 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 | ey."menu").............(unless.( |
| 15820 | 6c 69 73 74 70 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 72 | listp.value)...............(user |
| 15840 | 2d 65 72 72 6f 72 20 28 63 6f 6e 63 61 74 20 22 54 68 65 20 60 6d 65 6e 75 27 20 66 72 6f 6e 74 | -error.(concat."The.`menu'.front |
| 15860 | 2d 6d 61 74 74 65 72 20 64 69 64 20 6e 6f 74 20 67 65 74 20 74 68 65 20 65 78 70 65 63 74 65 64 | -matter.did.not.get.the.expected |
| 15880 | 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .".............................. |
| 158a0 | 20 20 20 20 20 22 6c 69 73 74 20 76 61 6c 75 65 3b 20 70 72 6f 62 61 62 6c 79 20 62 65 63 61 75 | ....."list.value;.probably.becau |
| 158c0 | 73 65 20 48 55 47 4f 5f 4d 45 4e 55 20 77 61 73 20 6e 6f 74 20 22 0a 20 20 20 20 20 20 20 20 20 | se.HUGO_MENU.was.not.".......... |
| 158e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 75 73 65 64 20 74 | ........................."used.t |
| 15900 | 6f 20 73 65 74 20 69 74 73 20 76 61 6c 75 65 2e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | o.set.its.value.\n"............. |
| 15920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 55 73 61 67 65 20 65 78 61 | ......................"Usage.exa |
| 15940 | 6d 70 6c 65 73 3a 20 5c 22 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 4d 45 4e 55 3a 20 3a 6d 65 6e | mples:.\":EXPORT_HUGO_MENU:.:men |
| 15960 | 75 20 6d 61 69 6e 5c 22 20 6f 72 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | u.main\".or."................... |
| 15980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 22 23 2b 68 75 67 6f 5f 6d 65 6e 75 3a 20 | ................"\"#+hugo_menu:. |
| 159a0 | 3a 6d 65 6e 75 20 6d 61 69 6e 5c 22 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | :menu.main\""))).............;;. |
| 159c0 | 4d 65 6e 75 20 6e 61 6d 65 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6e 6f 6e 2d 6e 69 6c 20 74 6f | Menu.name.needs.to.be.non-nil.to |
| 159e0 | 20 69 6e 73 65 72 74 20 6d 65 6e 75 20 69 6e 66 6f 20 69 6e 20 66 72 6f 6e 74 2d 6d 61 74 74 65 | .insert.menu.info.in.front-matte |
| 15a00 | 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 73 73 6f 63 20 27 6d 65 6e | r..............(when.(assoc.'men |
| 15a20 | 75 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6d | u.value)...............(let*.((m |
| 15a40 | 65 6e 75 2d 61 6c 69 73 74 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | enu-alist.value)................ |
| 15a60 | 20 20 20 20 20 20 3b 3b 20 4d 65 6e 75 20 65 6e 74 72 79 20 73 74 72 69 6e 67 20 6d 69 67 68 74 | ......;;.Menu.entry.string.might |
| 15a80 | 20 6e 65 65 64 20 74 6f 20 62 65 20 71 75 6f 74 65 64 20 69 66 0a 20 20 20 20 20 20 20 20 20 20 | .need.to.be.quoted.if........... |
| 15aa0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 74 20 63 6f 6e 74 61 69 6e 73 20 73 70 61 63 65 73 | ...........;;.it.contains.spaces |
| 15ac0 | 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,.for.example................... |
| 15ae0 | 20 20 20 20 28 6d 65 6e 75 2d 65 6e 74 72 79 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 79 61 6d 6c 2d | ....(menu-entry.(org-hugo--yaml- |
| 15b00 | 71 75 6f 74 65 2d 73 74 72 69 6e 67 20 28 63 64 72 20 28 61 73 73 6f 63 20 27 6d 65 6e 75 20 6d | quote-string.(cdr.(assoc.'menu.m |
| 15b20 | 65 6e 75 2d 61 6c 69 73 74 29 29 20 3a 70 72 65 66 65 72 2d 6e 6f 2d 71 75 6f 74 65 73 29 29 0a | enu-alist)).:prefer-no-quotes)). |
| 15b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 65 6e 74 72 79 | .....................(menu-entry |
| 15b60 | 2d 73 74 72 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d | -str."")......................(m |
| 15b80 | 65 6e 75 2d 76 61 6c 75 65 2d 73 74 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | enu-value-str."")).............. |
| 15ba0 | 20 20 20 3b 3b 20 41 75 74 6f 2d 73 65 74 20 6d 65 6e 75 20 69 64 65 6e 74 69 66 69 65 72 20 69 | ...;;.Auto-set.menu.identifier.i |
| 15bc0 | 66 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 73 65 74 20 62 79 20 75 73 65 72 2e 0a 20 20 20 20 20 | f.not.already.set.by.user....... |
| 15be0 | 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 61 73 73 6f 63 20 27 69 64 65 6e 74 | ...........(unless.(assoc.'ident |
| 15c00 | 69 66 69 65 72 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ifier.menu-alist)............... |
| 15c20 | 20 20 20 20 28 6c 65 74 20 28 28 74 69 74 6c 65 20 28 63 64 72 20 28 61 73 73 6f 63 20 27 74 69 | ....(let.((title.(cdr.(assoc.'ti |
| 15c40 | 74 6c 65 20 64 61 74 61 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tle.data)))).................... |
| 15c60 | 20 28 70 75 73 68 20 60 28 69 64 65 6e 74 69 66 69 65 72 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f | .(push.`(identifier...,(org-hugo |
| 15c80 | 2d 73 6c 75 67 20 74 69 74 6c 65 29 29 20 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 0a 0a 20 20 20 | -slug.title)).menu-alist)))..... |
| 15ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 75 74 6f 2d 73 65 74 20 6d 65 6e 75 20 77 65 | .............;;.Auto-set.menu.we |
| 15cc0 | 69 67 68 74 20 69 66 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 73 65 74 20 62 79 20 75 73 65 72 2e | ight.if.not.already.set.by.user. |
| 15ce0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 61 73 73 6f 63 20 | .................(unless.(assoc. |
| 15d00 | 27 77 65 69 67 68 74 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | 'weight.menu-alist)............. |
| 15d20 | 20 20 20 20 20 20 28 77 68 65 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f | ......(when.org-hugo--subtree-co |
| 15d40 | 6f 72 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 60 28 | ord.....................(push.`( |
| 15d60 | 77 65 69 67 68 74 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 | weight...,(org-hugo--calc-weight |
| 15d80 | 29 29 20 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).menu-alist)))................ |
| 15da0 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6d 65 6e 75 20 61 6c 69 73 74 20 44 42 47 5d 20 | ..;;.(message."[menu.alist.DBG]. |
| 15dc0 | 3d 20 25 53 22 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | =.%S".menu-alist)............... |
| 15de0 | 20 20 28 77 68 65 6e 20 6d 65 6e 75 2d 65 6e 74 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(when.menu-entry.............. |
| 15e00 | 20 20 20 20 20 28 73 65 74 71 20 6d 65 6e 75 2d 65 6e 74 72 79 2d 73 74 72 20 28 70 72 6f 67 31 | .....(setq.menu-entry-str.(prog1 |
| 15e20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 15e40 | 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 6d 65 6e 75 25 73 5c 6e 25 73 25 | ............(format."menu%s\n%s% |
| 15e60 | 73 25 73 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s%s\n".......................... |
| 15e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 6e 20 69 | ..........................sign.i |
| 15ea0 | 6e 64 65 6e 74 20 6d 65 6e 75 2d 65 6e 74 72 79 20 73 69 67 6e 29 0a 20 20 20 20 20 20 20 20 20 | ndent.menu-entry.sign).......... |
| 15ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 15ee0 | 28 73 65 74 71 20 69 6e 64 65 6e 74 20 28 63 6f 6e 63 61 74 20 69 6e 64 65 6e 74 20 69 6e 64 65 | (setq.indent.(concat.indent.inde |
| 15f00 | 6e 74 29 29 29 29 20 3b 44 6f 75 62 6c 65 20 74 68 65 20 69 6e 64 65 6e 74 20 66 6f 72 20 6e 65 | nt)))).;Double.the.indent.for.ne |
| 15f20 | 78 74 20 75 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 | xt.use...................(dolist |
| 15f40 | 20 28 6d 65 6e 75 2d 70 61 69 72 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 | .(menu-pair.menu-alist)......... |
| 15f60 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 65 6e 75 2d 6b 65 79 20 28 73 79 6d | ............(let.((menu-key.(sym |
| 15f80 | 62 6f 6c 2d 6e 61 6d 65 20 28 63 61 72 20 6d 65 6e 75 2d 70 61 69 72 29 29 29 0a 20 20 20 20 20 | bol-name.(car.menu-pair)))...... |
| 15fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 76 61 6c 75 65 | .....................(menu-value |
| 15fc0 | 20 28 63 64 72 20 6d 65 6e 75 2d 70 61 69 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(cdr.menu-pair))).............. |
| 15fe0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6d 65 6e 75 20 44 42 47 3a 20 | .........;;.(message."menu.DBG:. |
| 16000 | 25 53 20 25 53 20 25 53 22 20 6d 65 6e 75 2d 65 6e 74 72 79 20 6d 65 6e 75 2d 6b 65 79 20 6d 65 | %S.%S.%S".menu-entry.menu-key.me |
| 16020 | 6e 75 2d 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nu-value)....................... |
| 16040 | 28 75 6e 6c 65 73 73 20 28 73 74 72 69 6e 67 3d 20 22 6d 65 6e 75 22 20 6d 65 6e 75 2d 6b 65 79 | (unless.(string=."menu".menu-key |
| 16060 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 | ).........................(when. |
| 16080 | 6d 65 6e 75 2d 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | menu-value...................... |
| 160a0 | 20 20 20 20 20 3b 3b 20 43 61 6e 6e 6f 74 20 73 6b 69 70 20 71 75 6f 74 65 20 77 72 61 70 70 69 | .....;;.Cannot.skip.quote.wrappi |
| 160c0 | 6e 67 20 66 6f 72 20 76 61 6c 75 65 73 20 6f 66 20 6b 65 79 73 20 69 6e 73 69 64 65 20 6d 65 6e | ng.for.values.of.keys.inside.men |
| 160e0 | 75 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | u............................;;. |
| 16100 | 41 74 74 65 6d 70 74 69 6e 67 20 74 6f 20 64 6f 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Attempting.to.do:............... |
| 16120 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 5b 6d 65 6e 75 2e 66 6f 6f 5d 0a 20 20 20 20 | ............;;...[menu.foo]..... |
| 16140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 70 61 72 | ......................;;.....par |
| 16160 | 65 6e 74 20 3d 20 6d 61 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent.=.main...................... |
| 16180 | 20 20 20 20 20 3b 3b 20 20 20 20 20 23 20 70 61 72 65 6e 74 20 3d 20 22 6d 61 69 6e 22 20 23 20 | .....;;.....#.parent.=."main".#. |
| 161a0 | 42 75 74 20 74 68 69 73 20 77 6f 72 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | But.this.works.................. |
| 161c0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 67 69 76 65 73 20 74 68 69 73 20 65 72 72 6f 72 3a 0a 20 20 | .........;;.gives.this.error:... |
| 161e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 52 52 4f 52 | ........................;;.ERROR |
| 16200 | 20 32 30 31 37 2f 30 37 2f 32 31 20 31 30 3a 35 36 3a 30 37 20 66 61 69 6c 65 64 20 74 6f 20 70 | .2017/07/21.10:56:07.failed.to.p |
| 16220 | 61 72 73 65 20 70 61 67 65 20 6d 65 74 61 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | arse.page.metadata.............. |
| 16240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 6f 72 20 22 73 69 6e 67 6c 65 73 2f 70 6f 73 | .............;;.for."singles/pos |
| 16260 | 74 2d 64 72 61 66 74 2e 6d 64 22 3a 20 4e 65 61 72 20 6c 69 6e 65 20 31 30 20 28 6c 61 73 74 20 | t-draft.md":.Near.line.10.(last. |
| 16280 | 6b 65 79 20 70 61 72 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | key.parsed...................... |
| 162a0 | 20 20 20 20 20 3b 3b 20 27 6d 65 6e 75 2e 66 6f 6f 2e 70 61 72 65 6e 74 27 29 3a 20 65 78 70 65 | .....;;.'menu.foo.parent'):.expe |
| 162c0 | 63 74 65 64 20 76 61 6c 75 65 20 62 75 74 20 66 6f 75 6e 64 20 22 6d 61 69 6e 22 20 69 6e 73 74 | cted.value.but.found."main".inst |
| 162e0 | 65 61 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ead............................( |
| 16300 | 73 65 74 71 20 6d 65 6e 75 2d 76 61 6c 75 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 79 61 6d 6c 2d | setq.menu-value.(org-hugo--yaml- |
| 16320 | 71 75 6f 74 65 2d 73 74 72 69 6e 67 20 6d 65 6e 75 2d 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 | quote-string.menu-value))....... |
| 16340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 65 6e 75 2d 76 | ....................(setq.menu-v |
| 16360 | 61 6c 75 65 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | alue-str........................ |
| 16380 | 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6d 65 6e 75 2d 76 61 6c 75 65 2d 73 74 72 0a | .........(concat.menu-value-str. |
| 163a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 163c0 | 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 20 25 73 5c 6e 22 0a 20 20 | ........(format."%s%s%s.%s\n"... |
| 163e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 16400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 6e 74 20 6d 65 6e 75 2d 6b 65 79 20 73 69 | ..............indent.menu-key.si |
| 16420 | 67 6e 20 6d 65 6e 75 2d 76 61 6c 75 65 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | gn.menu-value)))))))............ |
| 16440 | 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 65 6e 75 2d 73 74 72 69 6e 67 20 28 63 6f 6e 63 61 74 | .......(setq.menu-string.(concat |
| 16460 | 20 6d 65 6e 75 2d 65 6e 74 72 79 2d 73 74 72 20 6d 65 6e 75 2d 76 61 6c 75 65 2d 73 74 72 29 29 | .menu-entry-str.menu-value-str)) |
| 16480 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 6b 65 79 20 22 72 | ))))............((string=.key."r |
| 164a0 | 65 73 6f 75 72 63 65 73 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 | esources").............(unless.( |
| 164c0 | 6c 69 73 74 70 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 72 | listp.value)...............(user |
| 164e0 | 2d 65 72 72 6f 72 20 28 63 6f 6e 63 61 74 20 22 54 68 65 20 60 72 65 73 6f 75 72 63 65 73 27 20 | -error.(concat."The.`resources'. |
| 16500 | 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 64 69 64 20 6e 6f 74 20 67 65 74 20 74 68 65 20 65 78 70 | front-matter.did.not.get.the.exp |
| 16520 | 65 63 74 65 64 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ected."......................... |
| 16540 | 20 20 20 20 20 20 20 20 20 20 22 6c 69 73 74 20 76 61 6c 75 65 3b 20 70 72 6f 62 61 62 6c 79 20 | .........."list.value;.probably. |
| 16560 | 62 65 63 61 75 73 65 20 48 55 47 4f 5f 52 45 53 4f 55 52 43 45 53 20 77 61 73 20 6e 6f 74 20 22 | because.HUGO_RESOURCES.was.not." |
| 16580 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 165a0 | 20 20 20 22 75 73 65 64 20 74 6f 20 73 65 74 20 69 74 73 20 76 61 6c 75 65 2e 5c 6e 22 0a 20 20 | ..."used.to.set.its.value.\n"... |
| 165c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 165e0 | 22 55 73 61 67 65 20 65 78 61 6d 70 6c 65 73 3a 20 5c 22 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f | "Usage.examples:.\":EXPORT_HUGO_ |
| 16600 | 52 45 53 4f 55 52 43 45 53 3a 20 3a 73 72 63 20 5c 22 6d 79 2d 69 6d 61 67 65 2e 70 6e 67 5c 22 | RESOURCES:.:src.\"my-image.png\" |
| 16620 | 20 3a 74 69 74 6c 65 20 5c 22 4d 79 20 49 6d 61 67 65 5c 22 20 22 0a 20 20 20 20 20 20 20 20 20 | .:title.\"My.Image\".".......... |
| 16640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6f 72 20 5c 22 23 | ........................."or.\"# |
| 16660 | 2b 68 75 67 6f 5f 72 65 73 6f 75 72 63 65 73 3a 20 3a 73 72 63 20 5c 22 6d 79 2d 69 6d 61 67 65 | +hugo_resources:.:src.\"my-image |
| 16680 | 2e 70 6e 67 5c 22 20 3a 74 69 74 6c 65 20 5c 22 4d 79 20 49 6d 61 67 65 5c 22 22 29 29 29 0a 20 | .png\".:title.\"My.Image\""))).. |
| 166a0 | 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 | ...........(when.value.......... |
| 166c0 | 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 72 65 73 2d 61 6c 69 73 74 20 76 61 6c 75 65 29 0a 20 | .....(dolist.(res-alist.value).. |
| 166e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 72 65 73 2d 65 6e 74 72 79 2d | ...............(let.((res-entry- |
| 16700 | 73 74 72 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 | str."").......................(r |
| 16720 | 65 73 2d 76 61 6c 75 65 2d 73 74 72 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | es-value-str."")................ |
| 16740 | 20 20 20 20 20 20 20 72 65 73 2d 73 72 63 2d 70 72 65 73 65 6e 74 0a 20 20 20 20 20 20 20 20 20 | .......res-src-present.......... |
| 16760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 2d 70 61 72 61 6d 2d 73 74 72 29 0a 20 20 20 20 | .............res-param-str)..... |
| 16780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 73 2d 65 6e 74 72 79 2d 73 74 | ..............(setq.res-entry-st |
| 167a0 | 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 46 6f 72 | r.........................;;.For |
| 167c0 | 20 59 41 4d 4c 2c 20 74 68 69 73 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .YAML,.this.string.............. |
| 167e0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 65 65 64 73 20 74 6f 20 62 65 20 69 6e 73 65 72 74 | ...........;;.needs.to.be.insert |
| 16800 | 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 6e | ed.........................;;.on |
| 16820 | 6c 79 20 6f 6e 63 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ly.once......................... |
| 16840 | 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 72 65 73 2d 73 74 72 69 6e 67 | .(if.(org-string-nw-p.res-string |
| 16860 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 | )............................."" |
| 16880 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d | ...........................(form |
| 168a0 | 61 74 20 22 72 65 73 6f 75 72 63 65 73 25 73 5c 6e 22 20 73 69 67 6e 29 29 29 0a 20 20 20 20 20 | at."resources%s\n".sign)))...... |
| 168c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 72 65 73 2d 70 61 69 72 20 72 | .............(dolist.(res-pair.r |
| 168e0 | 65 73 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | es-alist).....................;; |
| 16900 | 20 28 6d 65 73 73 61 67 65 20 22 5b 72 65 73 6f 75 72 63 65 73 20 44 42 47 5d 20 72 65 73 2d 70 | .(message."[resources.DBG].res-p |
| 16920 | 61 69 72 3a 20 25 53 22 20 72 65 73 2d 70 61 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | air:.%S".res-pair).............. |
| 16940 | 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 65 73 2d 6b 65 79 20 28 73 79 6d 62 6f 6c 2d 6e | .......(let*.((res-key.(symbol-n |
| 16960 | 61 6d 65 20 28 63 61 72 20 72 65 73 2d 70 61 69 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ame.(car.res-pair)))............ |
| 16980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 73 2d 76 61 6c 75 65 20 28 63 64 72 20 | ................(res-value.(cdr. |
| 169a0 | 72 65 73 2d 70 61 69 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | res-pair)))..................... |
| 169c0 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 72 65 73 6f 75 72 63 65 73 20 44 42 47 5d 3a 20 | ..;;.(message."[resources.DBG]:. |
| 169e0 | 25 53 20 25 53 22 20 72 65 73 2d 6b 65 79 20 72 65 73 2d 76 61 6c 75 65 29 0a 20 20 20 20 20 20 | %S.%S".res-key.res-value)....... |
| 16a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 20 28 28 73 74 72 69 6e 67 3d 20 | ................(cond.((string=. |
| 16a20 | 72 65 73 2d 6b 65 79 20 22 70 61 72 61 6d 73 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | res-key."params")............... |
| 16a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 69 6e 64 65 6e 74 20 28 6d 61 6b | ...............(setq.indent.(mak |
| 16a60 | 65 2d 73 74 72 69 6e 67 20 34 20 3f 20 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e-string.4.?.))................. |
| 16a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 73 2d 70 61 72 61 6d 2d 73 74 72 | .............(setq.res-param-str |
| 16aa0 | 20 28 66 6f 72 6d 61 74 20 22 20 20 25 73 25 73 5c 6e 22 20 72 65 73 2d 6b 65 79 20 73 69 67 6e | .(format."..%s%s\n".res-key.sign |
| 16ac0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............................. |
| 16ae0 | 28 64 6f 6c 69 73 74 20 28 70 61 72 61 6d 2d 70 61 69 72 20 72 65 73 2d 76 61 6c 75 65 29 20 3b | (dolist.(param-pair.res-value).; |
| 16b00 | 72 65 73 2d 76 61 6c 75 65 20 77 6f 75 6c 64 20 62 65 20 61 6e 20 61 6c 69 73 74 20 6f 66 20 70 | res-value.would.be.an.alist.of.p |
| 16b20 | 61 72 61 6d 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | arams........................... |
| 16b40 | 20 20 20 20 20 28 6c 65 74 20 28 28 70 61 72 61 6d 2d 6b 65 79 20 28 73 79 6d 62 6f 6c 2d 6e 61 | .....(let.((param-key.(symbol-na |
| 16b60 | 6d 65 20 28 63 61 72 20 70 61 72 61 6d 2d 70 61 69 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | me.(car.param-pair)))........... |
| 16b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 72 61 | ...........................(para |
| 16ba0 | 6d 2d 76 61 6c 75 65 20 28 63 64 72 20 70 61 72 61 6d 2d 70 61 69 72 29 29 0a 20 20 20 20 20 20 | m-value.(cdr.param-pair))....... |
| 16bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | ...............................p |
| 16be0 | 61 72 61 6d 2d 76 61 6c 75 65 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aram-value-str)................. |
| 16c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 72 | .................;;.(message."[r |
| 16c20 | 65 73 6f 75 72 63 65 73 20 44 42 47 5d 20 70 61 72 61 6d 2d 6b 65 79 3a 20 25 53 22 20 70 61 72 | esources.DBG].param-key:.%S".par |
| 16c40 | 61 6d 2d 6b 65 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | am-key)......................... |
| 16c60 | 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 72 65 73 6f 75 72 63 65 73 | .........;;.(message."[resources |
| 16c80 | 20 44 42 47 5d 20 70 61 72 61 6d 2d 76 61 6c 75 65 3a 20 25 53 22 20 70 61 72 61 6d 2d 76 61 6c | .DBG].param-value:.%S".param-val |
| 16ca0 | 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ue)............................. |
| 16cc0 | 20 20 20 20 20 28 73 65 74 71 20 70 61 72 61 6d 2d 76 61 6c 75 65 2d 73 74 72 20 28 69 66 20 28 | .....(setq.param-value-str.(if.( |
| 16ce0 | 6c 69 73 74 70 20 70 61 72 61 6d 2d 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | listp.param-value).............. |
| 16d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 16d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 79 61 6d | ..............(org-hugo--get-yam |
| 16d40 | 6c 2d 6c 69 73 74 2d 73 74 72 69 6e 67 20 70 61 72 61 6d 2d 6b 65 79 20 70 61 72 61 6d 2d 76 61 | l-list-string.param-key.param-va |
| 16d60 | 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lue)............................ |
| 16d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | ..............................(o |
| 16da0 | 72 67 2d 68 75 67 6f 2d 2d 79 61 6d 6c 2d 71 75 6f 74 65 2d 73 74 72 69 6e 67 20 70 61 72 61 6d | rg-hugo--yaml-quote-string.param |
| 16dc0 | 2d 76 61 6c 75 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -value)))....................... |
| 16de0 | 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 73 2d 70 61 72 61 6d 2d 73 74 72 0a 20 | ...........(setq.res-param-str.. |
| 16e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 16e20 | 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 72 65 73 2d 70 61 72 61 6d 2d 73 74 72 0a 20 20 20 20 | ......(concat.res-param-str..... |
| 16e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 16e60 | 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 20 25 73 5c 6e 22 | ...........(format."%s%s%s.%s\n" |
| 16e80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 16ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 6e 74 20 70 | ........................indent.p |
| 16ec0 | 61 72 61 6d 2d 6b 65 79 20 73 69 67 6e 20 70 61 72 61 6d 2d 76 61 6c 75 65 2d 73 74 72 29 29 29 | aram-key.sign.param-value-str))) |
| 16ee0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............................. |
| 16f00 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 72 65 73 6f 75 72 63 65 73 20 70 61 72 61 6d 73 20 44 | ;;.(message."[resources.params.D |
| 16f20 | 42 47 5d 20 25 73 22 20 72 65 73 2d 70 61 72 61 6d 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 | BG].%s".res-param-str).......... |
| 16f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 20 20 | ....................)........... |
| 16f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 | ..................(t............ |
| 16f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 3d | ..................(when.(string= |
| 16fa0 | 20 72 65 73 2d 6b 65 79 20 22 73 72 63 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .res-key."src")................. |
| 16fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 73 2d 73 72 63 2d 70 72 65 | ...............(setq.res-src-pre |
| 16fe0 | 73 65 6e 74 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sent.t))........................ |
| 17000 | 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 72 65 73 2d 6b 65 79 20 22 73 72 63 22 | ......(if.(string=.res-key."src" |
| 17020 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )............................... |
| 17040 | 20 20 20 28 73 65 74 71 20 69 6e 64 65 6e 74 20 22 2d 20 22 29 0a 20 20 20 20 20 20 20 20 20 20 | ...(setq.indent."-.")........... |
| 17060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 69 6e 64 65 6e | .....................(setq.inden |
| 17080 | 74 20 22 20 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.".."))........................ |
| 170a0 | 20 20 20 20 20 20 28 73 65 74 71 20 72 65 73 2d 76 61 6c 75 65 20 28 6f 72 67 2d 68 75 67 6f 2d | ......(setq.res-value.(org-hugo- |
| 170c0 | 2d 79 61 6d 6c 2d 71 75 6f 74 65 2d 73 74 72 69 6e 67 20 72 65 73 2d 76 61 6c 75 65 29 29 0a 20 | -yaml-quote-string.res-value)).. |
| 170e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 | ............................(set |
| 17100 | 71 20 72 65 73 2d 76 61 6c 75 65 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | q.res-value-str................. |
| 17120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 72 65 73 2d 76 | ...................(concat.res-v |
| 17140 | 61 6c 75 65 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | alue-str........................ |
| 17160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 | ....................(format."%s% |
| 17180 | 73 25 73 20 25 73 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s%s.%s\n"....................... |
| 171a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 | .............................ind |
| 171c0 | 65 6e 74 20 72 65 73 2d 6b 65 79 20 73 69 67 6e 20 72 65 73 2d 76 61 6c 75 65 29 29 29 29 29 29 | ent.res-key.sign.res-value)))))) |
| 171e0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 72 65 73 2d | )...................(unless.res- |
| 17200 | 73 72 63 2d 70 72 65 73 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | src-present..................... |
| 17220 | 28 75 73 65 72 2d 65 72 72 6f 72 20 22 60 73 72 63 27 20 6d 75 73 74 20 62 65 20 73 65 74 20 66 | (user-error."`src'.must.be.set.f |
| 17240 | 6f 72 20 74 68 65 20 60 72 65 73 6f 75 72 63 65 73 27 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 | or.the.`resources'"))........... |
| 17260 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 73 2d 73 74 72 69 6e 67 20 28 63 6f 6e 63 61 74 | ........(setq.res-string.(concat |
| 17280 | 20 72 65 73 2d 73 74 72 69 6e 67 20 72 65 73 2d 65 6e 74 72 79 2d 73 74 72 20 72 65 73 2d 76 61 | .res-string.res-entry-str.res-va |
| 172a0 | 6c 75 65 2d 73 74 72 20 72 65 73 2d 70 61 72 61 6d 2d 73 74 72 29 29 29 29 29 29 0a 20 20 20 20 | lue-str.res-param-str))))))..... |
| 172c0 | 20 20 20 20 20 20 20 28 3b 3b 20 46 72 6f 6e 74 2d 6d 61 74 74 65 72 20 77 69 74 68 20 6e 65 73 | .......(;;.Front-matter.with.nes |
| 172e0 | 74 65 64 20 6d 61 70 20 76 61 6c 75 65 73 3a 20 62 6c 61 63 6b 66 72 69 64 61 79 2c 20 63 75 73 | ted.map.values:.blackfriday,.cus |
| 17300 | 74 6f 6d 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | tom.front-matter..............;; |
| 17320 | 20 4f 6e 6c 79 20 31 20 6c 65 76 65 6c 20 6f 66 20 6e 65 73 74 69 6e 67 20 69 73 20 73 75 70 70 | .Only.1.level.of.nesting.is.supp |
| 17340 | 6f 72 74 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 6c 69 73 74 70 20 76 | orted..............(and.(listp.v |
| 17360 | 61 6c 75 65 29 20 3b 45 78 61 6d 70 6c 65 20 76 61 6c 75 65 3a 20 27 28 28 6c 65 67 73 20 2e 20 | alue).;Example.value:.'((legs... |
| 17380 | 34 29 20 28 22 65 79 65 73 22 20 2e 20 32 29 20 28 66 72 69 65 6e 64 73 20 2e 20 28 70 6f 6f 20 | 4).("eyes"...2).(friends...(poo. |
| 173a0 | 62 6f 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 20 30 20 28 63 | boo)))..................(eq.0.(c |
| 173c0 | 6c 2d 63 6f 75 6e 74 2d 69 66 20 28 6c 61 6d 62 64 61 20 28 65 6c 29 20 3b 43 68 65 63 6b 20 69 | l-count-if.(lambda.(el).;Check.i |
| 173e0 | 66 20 76 61 6c 75 65 20 69 73 20 61 20 6c 69 73 74 20 6f 66 20 6c 69 73 74 73 20 28 6f 72 20 63 | f.value.is.a.list.of.lists.(or.c |
| 17400 | 6f 6e 73 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onses).......................... |
| 17420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 6c 69 73 74 70 20 65 6c 29 29 29 0a 20 | .............(not.(listp.el))).. |
| 17440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 17460 | 20 20 20 76 61 6c 75 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6e | ...value))).............(let.((n |
| 17480 | 65 73 74 65 64 2d 70 61 72 65 6e 74 2d 6b 65 79 20 6b 65 79 29 0a 20 20 20 20 20 20 20 20 20 20 | ested-parent-key.key)........... |
| 174a0 | 20 20 20 20 20 20 20 20 28 6e 65 73 74 65 64 2d 61 6c 69 73 74 20 76 61 6c 75 65 29 0a 20 20 20 | ........(nested-alist.value).... |
| 174c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 65 73 74 65 64 2d 70 61 72 65 6e 74 2d 6b 65 | ...............(nested-parent-ke |
| 174e0 | 79 2d 73 74 72 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 65 73 | y-str."")...................(nes |
| 17500 | 74 65 64 2d 6b 65 79 76 61 6c 2d 73 74 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ted-keyval-str.""))............. |
| 17520 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6e 65 73 74 65 64 20 65 6e 74 72 79 20 44 42 47 | ..;;.(message."[nested.entry.DBG |
| 17540 | 5d 20 3d 20 25 73 22 20 6e 65 73 74 65 64 2d 70 61 72 65 6e 74 2d 6b 65 79 29 0a 20 20 20 20 20 | ].=.%s".nested-parent-key)...... |
| 17560 | 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6e 65 73 74 65 64 20 61 6c | .........;;.(message."[nested.al |
| 17580 | 69 73 74 20 44 42 47 5d 20 3d 20 25 53 22 20 6e 65 73 74 65 64 2d 61 6c 69 73 74 29 0a 20 20 20 | ist.DBG].=.%S".nested-alist).... |
| 175a0 | 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6e 65 73 74 65 64 2d 70 61 72 65 6e 74 2d 6b | ...........(setq.nested-parent-k |
| 175c0 | 65 79 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 5c 6e 22 20 6e 65 73 74 65 64 2d 70 | ey-str.(format."%s%s\n".nested-p |
| 175e0 | 61 72 65 6e 74 2d 6b 65 79 20 73 69 67 6e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | arent-key.sign))...............( |
| 17600 | 64 6f 6c 69 73 74 20 28 6e 65 73 74 65 64 2d 70 61 69 72 20 6e 65 73 74 65 64 2d 61 6c 69 73 74 | dolist.(nested-pair.nested-alist |
| 17620 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 63 6f 6e 73 70 | ).................(unless.(consp |
| 17640 | 20 6e 65 73 74 65 64 2d 70 61 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .nested-pair)................... |
| 17660 | 28 75 73 65 72 2d 65 72 72 6f 72 20 22 4f 78 2d 68 75 67 6f 3a 20 43 75 73 74 6f 6d 20 66 72 6f | (user-error."Ox-hugo:.Custom.fro |
| 17680 | 6e 74 2d 6d 61 74 74 65 72 20 76 61 6c 75 65 73 20 77 69 74 68 20 6e 65 73 74 65 64 20 6d 61 70 | nt-matter.values.with.nested.map |
| 176a0 | 73 20 6e 65 65 64 20 74 6f 20 62 65 20 61 6e 20 61 6c 69 73 74 20 6f 66 20 63 6f 6e 73 65 73 22 | s.need.to.be.an.alist.of.conses" |
| 176c0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | )).................;;.(message." |
| 176e0 | 5b 6e 65 73 74 65 64 20 70 61 69 72 20 44 42 47 5d 20 3d 20 25 53 22 20 6e 65 73 74 65 64 2d 70 | [nested.pair.DBG].=.%S".nested-p |
| 17700 | 61 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6e 65 73 | air).................(let*.((nes |
| 17720 | 74 65 64 2d 6b 65 79 20 28 63 61 72 20 6e 65 73 74 65 64 2d 70 61 69 72 29 29 0a 20 20 20 20 20 | ted-key.(car.nested-pair))...... |
| 17740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 65 73 74 65 64 2d 6b 65 79 20 28 63 | ..................(nested-key.(c |
| 17760 | 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ond............................. |
| 17780 | 20 20 20 20 20 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 6e 65 73 74 65 64 2d 6b 65 79 29 0a 20 20 | ........((symbolp.nested-key)... |
| 177a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 177c0 | 20 20 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 6e 65 73 74 65 64 2d 6b 65 79 29 29 0a 20 20 20 | ...(symbol-name.nested-key)).... |
| 177e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 17800 | 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(t............................. |
| 17820 | 20 20 20 20 20 20 20 20 20 6e 65 73 74 65 64 2d 6b 65 79 29 29 29 0a 20 20 20 20 20 20 20 20 20 | .........nested-key))).......... |
| 17840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 65 73 74 65 64 2d 76 61 6c 75 65 20 28 63 64 72 | ..............(nested-value.(cdr |
| 17860 | 20 6e 65 73 74 65 64 2d 70 61 69 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .nested-pair)).................. |
| 17880 | 20 20 20 20 20 20 28 6e 65 73 74 65 64 2d 76 61 6c 75 65 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 | ......(nested-value.(cond....... |
| 178a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 178c0 | 28 28 61 6e 64 20 6e 65 73 74 65 64 2d 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ((and.nested-value.............. |
| 178e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 17900 | 6c 69 73 74 70 20 6e 65 73 74 65 64 2d 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | listp.nested-value))............ |
| 17920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 | ............................(if. |
| 17940 | 28 61 6e 64 20 28 73 74 72 69 6e 67 3d 20 6e 65 73 74 65 64 2d 70 61 72 65 6e 74 2d 6b 65 79 20 | (and.(string=.nested-parent-key. |
| 17960 | 22 62 6c 61 63 6b 66 72 69 64 61 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "blackfriday").................. |
| 17980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 179a0 | 6f 72 20 28 73 74 72 69 6e 67 3d 20 6e 65 73 74 65 64 2d 6b 65 79 20 22 65 78 74 65 6e 73 69 6f | or.(string=.nested-key."extensio |
| 179c0 | 6e 73 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ns")............................ |
| 179e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 | .........................(string |
| 17a00 | 3d 20 6e 65 73 74 65 64 2d 6b 65 79 20 22 65 78 74 65 6e 73 69 6f 6e 73 6d 61 73 6b 22 29 29 29 | =.nested-key."extensionsmask"))) |
| 17a20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 17a40 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 79 61 6d 6c 2d | ............(org-hugo--get-yaml- |
| 17a60 | 6c 69 73 74 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | list-string..................... |
| 17a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 73 74 65 64 2d 6b | ........................nested-k |
| 17aa0 | 65 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ey.............................. |
| 17ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 61 72 20 23 27 6f 72 67 2d 68 75 67 | ...............(mapcar.#'org-hug |
| 17ae0 | 6f 2d 2d 72 65 74 75 72 6e 2d 76 61 6c 69 64 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 74 65 | o--return-valid-blackfriday-exte |
| 17b00 | 6e 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nsion........................... |
| 17b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 73 74 65 64 | ..........................nested |
| 17b40 | 2d 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -value))........................ |
| 17b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 | ..................(org-hugo--get |
| 17b80 | 2d 79 61 6d 6c 2d 6c 69 73 74 2d 73 74 72 69 6e 67 20 6e 65 73 74 65 64 2d 6b 65 79 20 6e 65 73 | -yaml-list-string.nested-key.nes |
| 17ba0 | 74 65 64 2d 76 61 6c 75 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ted-value))).................... |
| 17bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6e 75 6c 6c 20 6e 65 73 74 65 64 | ...................((null.nested |
| 17be0 | 2d 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -value)......................... |
| 17c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 66 61 6c 73 65 22 29 0a 20 20 20 20 20 20 20 20 | ..............."false")......... |
| 17c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 | ..............................(( |
| 17c40 | 65 71 75 61 6c 20 6e 65 73 74 65 64 2d 76 61 6c 75 65 20 27 74 29 0a 20 20 20 20 20 20 20 20 20 | equal.nested-value.'t).......... |
| 17c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 74 | .............................."t |
| 17c80 | 72 75 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rue")........................... |
| 17ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ............(t.................. |
| 17cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d | ......................(org-hugo- |
| 17ce0 | 2d 79 61 6d 6c 2d 71 75 6f 74 65 2d 73 74 72 69 6e 67 20 6e 65 73 74 65 64 2d 76 61 6c 75 65 29 | -yaml-quote-string.nested-value) |
| 17d00 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 | ))))...................;;.(messa |
| 17d20 | 67 65 20 22 6e 65 73 74 65 64 20 44 42 47 3a 20 25 53 20 4b 45 59 20 25 53 2d 3e 25 53 20 56 41 | ge."nested.DBG:.%S.KEY.%S->%S.VA |
| 17d40 | 4c 55 45 20 25 53 2d 3e 25 53 22 20 6e 65 73 74 65 64 2d 70 61 72 65 6e 74 2d 6b 65 79 0a 20 20 | LUE.%S->%S".nested-parent-key... |
| 17d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 28 63 61 72 | ................;;..........(car |
| 17d80 | 20 6e 65 73 74 65 64 2d 70 61 69 72 29 20 6e 65 73 74 65 64 2d 6b 65 79 0a 20 20 20 20 20 20 20 | .nested-pair).nested-key........ |
| 17da0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 28 63 64 72 20 6e 65 73 74 | ...........;;..........(cdr.nest |
| 17dc0 | 65 64 2d 70 61 69 72 29 20 6e 65 73 74 65 64 2d 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 | ed-pair).nested-value).......... |
| 17de0 | 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6e 65 73 74 65 64 2d 76 61 6c 75 65 0a 20 20 20 20 | .........(when.nested-value..... |
| 17e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6e 65 73 74 65 64 2d 6b 65 79 | ................(setq.nested-key |
| 17e20 | 76 61 6c 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | val-str......................... |
| 17e40 | 20 20 28 63 6f 6e 63 61 74 20 6e 65 73 74 65 64 2d 6b 65 79 76 61 6c 2d 73 74 72 0a 20 20 20 20 | ..(concat.nested-keyval-str..... |
| 17e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 | ..............................(f |
| 17e80 | 6f 72 6d 61 74 20 22 25 73 25 73 25 73 20 25 73 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ormat."%s%s%s.%s\n"............. |
| 17ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e | ..............................in |
| 17ec0 | 64 65 6e 74 20 6e 65 73 74 65 64 2d 6b 65 79 20 73 69 67 6e 20 6e 65 73 74 65 64 2d 76 61 6c 75 | dent.nested-key.sign.nested-valu |
| 17ee0 | 65 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 | e))))))...............(when.(org |
| 17f00 | 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 6e 65 73 74 65 64 2d 6b 65 79 76 61 6c 2d 73 74 72 29 0a | -string-nw-p.nested-keyval-str). |
| 17f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6e 65 73 74 65 64 2d 73 74 72 | ................(setq.nested-str |
| 17f40 | 69 6e 67 20 28 63 6f 6e 63 61 74 20 6e 65 73 74 65 64 2d 73 74 72 69 6e 67 20 6e 65 73 74 65 64 | ing.(concat.nested-string.nested |
| 17f60 | 2d 70 61 72 65 6e 74 2d 6b 65 79 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -parent-key-str................. |
| 17f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 73 74 | ............................nest |
| 17fa0 | 65 64 2d 6b 65 79 76 61 6c 2d 73 74 72 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 | ed-keyval-str)))))............(t |
| 17fc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 0a | .............(setq.front-matter. |
| 17fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 66 72 6f 6e 74 2d | ..................(concat.front- |
| 18000 | 6d 61 74 74 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | matter.......................... |
| 18020 | 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 20 25 73 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 | .(format."%s%s.%s\n"............ |
| 18040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 0a 20 20 20 20 20 | .......................key...... |
| 18060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 | .............................sig |
| 18080 | 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n............................... |
| 180a0 | 20 20 20 20 28 63 6f 6e 64 20 28 3b 3b 20 54 61 67 73 2c 20 63 61 74 65 67 6f 72 69 65 73 2c 20 | ....(cond.(;;.Tags,.categories,. |
| 180c0 | 6b 65 79 77 6f 72 64 73 2c 20 61 6c 69 61 73 65 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | keywords,.aliases,.............. |
| 180e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 | ............................;;.c |
| 18100 | 75 73 74 6f 6d 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 77 68 69 63 68 20 61 72 65 20 6c 69 73 | ustom.front-matter.which.are.lis |
| 18120 | 74 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ts.............................. |
| 18140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 73 74 70 20 76 61 6c 75 65 29 0a 20 20 20 20 20 | .............(listp.value)...... |
| 18160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 18180 | 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 79 61 6d 6c 2d 6c 69 73 74 2d 73 74 72 | ....(org-hugo--get-yaml-list-str |
| 181a0 | 69 6e 67 20 6b 65 79 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing.key.value))................. |
| 181c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 | ........................(t...... |
| 181e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 18200 | 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 79 61 6d 6c 2d 71 75 6f 74 65 2d 73 74 72 69 6e 67 | ....(org-hugo--yaml-quote-string |
| 18220 | 20 76 61 6c 75 65 20 6e 69 6c 29 29 29 29 29 29 29 29 29 29 29 0a 20 20 20 20 28 63 6f 6e 63 61 | .value.nil))))))))))).....(conca |
| 18240 | 74 20 73 65 70 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 6e 65 73 74 65 64 2d 73 74 72 69 6e 67 | t.sep.front-matter.nested-string |
| 18260 | 20 6d 65 6e 75 2d 73 74 72 69 6e 67 20 72 65 73 2d 73 74 72 69 6e 67 20 73 65 70 29 29 29 0a 0a | .menu-string.res-string.sep))).. |
| 18280 | 0a 28 70 72 6f 76 69 64 65 20 27 6f 78 2d 68 75 67 6f 2d 64 65 70 72 65 63 61 74 65 64 29 0a 0a | .(provide.'ox-hugo-deprecated).. |
| 182a0 | 3b 3b 3b 20 6f 78 2d 68 75 67 6f 2d 64 65 70 72 65 63 61 74 65 64 2e 65 6c 20 65 6e 64 73 20 68 | ;;;.ox-hugo-deprecated.el.ends.h |
| 182c0 | 65 72 65 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ere............................. |
| 182e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18300 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18340 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 183a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 183c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 183e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18400 | 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 32 31 32 2e 33 31 30 2f 6f 78 2d 68 75 67 6f 2d 70 61 6e | ox-hugo-20250212.310/ox-hugo-pan |
| 18420 | 64 6f 63 2d 63 69 74 65 2e 65 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | doc-cite.el..................... |
| 18440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18460 | 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 | ....0000644.0000000.0000000.0000 |
| 18480 | 30 30 34 34 32 34 34 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 36 34 30 34 00 20 30 00 00 00 | 0044244.00000000000.016404..0... |
| 184a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 184c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 184e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18500 | 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar...root................... |
| 18520 | 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........root................... |
| 18540 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 185a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 185c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 185e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 18600 | 3b 3b 3b 20 6f 78 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2e 65 6c 20 2d 2d 2d 20 50 | ;;;.ox-hugo-pandoc-cite.el.---.P |
| 18620 | 61 6e 64 6f 63 20 43 69 74 61 74 69 6f 6e 73 20 73 75 70 70 6f 72 74 20 66 6f 72 20 6f 78 2d 68 | andoc.Citations.support.for.ox-h |
| 18640 | 75 67 6f 20 2d 2a 2d 20 6c 65 78 69 63 61 6c 2d 62 69 6e 64 69 6e 67 3a 20 74 20 2d 2a 2d 0a 0a | ugo.-*-.lexical-binding:.t.-*-.. |
| 18660 | 3b 3b 20 41 75 74 68 6f 72 73 3a 20 4b 61 75 73 68 61 6c 20 4d 6f 64 69 20 3c 6b 61 75 73 68 61 | ;;.Authors:.Kaushal.Modi.<kausha |
| 18680 | 6c 2e 6d 6f 64 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 3b 3b 20 55 52 4c 3a 20 68 74 74 70 73 3a 2f | l.mod@gmail.com>.;;.URL:.https:/ |
| 186a0 | 2f 6f 78 2d 68 75 67 6f 2e 73 63 72 69 70 74 65 72 2e 63 6f 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e | /ox-hugo.scripter.co..;;;.Commen |
| 186c0 | 74 61 72 79 3a 0a 0a 3b 3b 20 2a 54 68 69 73 20 69 73 20 4e 4f 54 20 61 20 73 74 61 6e 64 2d 61 | tary:..;;.*This.is.NOT.a.stand-a |
| 186e0 | 6c 6f 6e 65 20 70 61 63 6b 61 67 65 2e 2a 0a 3b 3b 0a 3b 3b 20 49 74 20 69 73 20 75 73 65 64 20 | lone.package.*.;;.;;.It.is.used. |
| 18700 | 62 79 20 6f 78 2d 68 75 67 6f 20 74 6f 20 61 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 70 61 | by.ox-hugo.to.add.support.for.pa |
| 18720 | 72 73 69 6e 67 20 50 61 6e 64 6f 63 20 43 69 74 61 74 69 6f 6e 73 2e 0a 0a 3b 3b 3b 20 43 6f 64 | rsing.Pandoc.Citations...;;;.Cod |
| 18740 | 65 3a 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 72 67 29 0a 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e | e:..(require.'org)..(declare-fun |
| 18760 | 63 74 69 6f 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 | ction.org-hugo--plist-get-true-p |
| 18780 | 20 22 6f 78 2d 68 75 67 6f 22 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f 6e 20 6f 72 | ."ox-hugo").(declare-function.or |
| 187a0 | 67 2d 68 75 67 6f 2d 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 6c 75 65 2d 62 6f 6f 6c 65 | g-hugo--front-matter-value-boole |
| 187c0 | 61 6e 69 7a 65 20 22 6f 78 2d 68 75 67 6f 22 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 | anize."ox-hugo")..(defcustom.org |
| 187e0 | 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 72 65 66 65 72 65 6e 63 65 73 2d 68 65 61 | -hugo-pandoc-cite-references-hea |
| 18800 | 64 69 6e 67 20 22 52 65 66 65 72 65 6e 63 65 73 20 7b 23 72 65 66 65 72 65 6e 63 65 73 7d 22 0a | ding."References.{#references}". |
| 18820 | 20 20 22 4d 61 72 6b 64 6f 77 6e 20 74 69 74 6c 65 20 66 6f 72 20 50 61 6e 64 6f 63 20 69 6e 73 | .."Markdown.title.for.Pandoc.ins |
| 18840 | 65 72 74 65 64 20 72 65 66 65 72 65 6e 63 65 73 20 73 65 63 74 69 6f 6e 2e 22 0a 20 20 3a 67 72 | erted.references.section."...:gr |
| 18860 | 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 73 74 | oup.'org-export-hugo...:type.'st |
| 18880 | 72 69 6e 67 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c | ring)..(defvar.org-hugo--fm-yaml |
| 188a0 | 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 53 69 6c 65 6e 63 65 20 62 79 74 65 2d 63 6f 6d | )..............;Silence.byte-com |
| 188c0 | 70 69 6c 65 72 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 | piler..(defvar.org-hugo-pandoc-c |
| 188e0 | 69 74 65 2d 70 61 6e 64 6f 63 2d 61 72 67 73 2d 6c 69 73 74 0a 20 20 60 28 22 2d 66 22 20 22 6d | ite-pandoc-args-list...`("-f"."m |
| 18900 | 61 72 6b 64 6f 77 6e 22 0a 20 20 20 20 22 2d 74 22 20 2c 28 63 6f 6e 63 61 74 20 22 6d 61 72 6b | arkdown"....."-t".,(concat."mark |
| 18920 | 64 6f 77 6e 2d 63 69 74 61 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | down-citations"................. |
| 18940 | 20 20 22 2d 73 69 6d 70 6c 65 5f 74 61 62 6c 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .."-simple_tables".............. |
| 18960 | 20 20 20 20 20 22 2b 70 69 70 65 5f 74 61 62 6c 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ....."+pipe_tables"............. |
| 18980 | 20 20 20 20 20 20 22 2d 72 61 77 5f 61 74 74 72 69 62 75 74 65 22 0a 20 20 20 20 20 20 20 20 20 | ......"-raw_attribute".......... |
| 189a0 | 20 20 20 20 20 20 20 20 20 22 2d 66 65 6e 63 65 64 5f 64 69 76 73 22 0a 20 20 20 20 20 20 20 20 | ........."-fenced_divs"......... |
| 189c0 | 20 20 20 20 20 20 20 20 20 20 22 2d 66 65 6e 63 65 64 5f 63 6f 64 65 5f 61 74 74 72 69 62 75 74 | .........."-fenced_code_attribut |
| 189e0 | 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2d 62 72 61 63 6b 65 74 65 | es"..................."-brackete |
| 18a00 | 64 5f 73 70 61 6e 73 22 29 0a 20 20 20 20 22 2d 2d 6d 61 72 6b 64 6f 77 6e 2d 68 65 61 64 69 6e | d_spans")....."--markdown-headin |
| 18a20 | 67 73 3d 61 74 78 22 0a 20 20 20 20 22 2d 2d 69 64 2d 70 72 65 66 69 78 3d 66 6e 3a 22 0a 20 20 | gs=atx"....."--id-prefix=fn:"... |
| 18a40 | 20 20 22 2d 2d 63 69 74 65 70 72 6f 63 22 29 0a 20 20 22 50 61 6e 64 6f 63 20 61 72 67 75 6d 65 | .."--citeproc")..."Pandoc.argume |
| 18a60 | 6e 74 73 20 75 73 65 64 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 | nts.used.in.`org-hugo-pandoc-cit |
| 18a80 | 65 2d 2d 72 75 6e 2d 70 61 6e 64 6f 63 27 2e 0a 0a 2d 66 20 6d 61 72 6b 64 6f 77 6e 20 3a 20 43 | e--run-pandoc'...-f.markdown.:.C |
| 18aa0 | 6f 6e 76 65 72 74 20 2a 66 72 6f 6d 2a 20 4d 61 72 6b 64 6f 77 6e 0a 0a 2d 74 20 6d 61 72 6b 64 | onvert.*from*.Markdown..-t.markd |
| 18ac0 | 6f 77 6e 20 3a 20 43 6f 6e 76 65 72 74 20 2a 74 6f 2a 20 4d 61 72 6b 64 6f 77 6e 0a 20 20 2d 63 | own.:.Convert.*to*.Markdown...-c |
| 18ae0 | 69 74 61 74 69 6f 6e 73 20 3a 20 52 65 6d 6f 76 65 20 74 68 65 20 5c 22 63 69 74 61 74 69 6f 6e | itations.:.Remove.the.\"citation |
| 18b00 | 73 5c 22 20 65 78 74 65 6e 73 69 6f 6e 2e 20 20 54 68 69 73 20 77 69 6c 6c 20 63 61 75 73 65 0a | s\".extension...This.will.cause. |
| 18b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 69 74 61 74 69 6f 6e 73 20 74 6f 20 62 65 20 65 | ...............citations.to.be.e |
| 18b40 | 78 70 61 6e 64 65 64 20 69 6e 73 74 65 61 64 20 6f 66 20 62 65 69 6e 67 20 69 6e 63 6c 75 64 65 | xpanded.instead.of.being.include |
| 18b60 | 64 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 72 6b 64 6f 77 6e 20 63 69 74 | d.as................markdown.cit |
| 18b80 | 61 74 69 6f 6e 73 2e 0a 0a 20 20 2d 73 69 6d 70 6c 65 5f 74 61 62 6c 65 73 20 3a 20 52 65 6d 6f | ations.....-simple_tables.:.Remo |
| 18ba0 | 76 65 20 74 68 65 20 5c 22 73 69 6d 70 6c 65 5f 74 61 62 6c 65 73 5c 22 20 73 74 79 6c 65 2e 0a | ve.the.\"simple_tables\".style.. |
| 18bc0 | 0a 20 20 2b 70 69 70 65 5f 74 61 62 6c 65 73 20 3a 20 41 64 64 20 74 68 65 20 5c 22 70 69 70 65 | ...+pipe_tables.:.Add.the.\"pipe |
| 18be0 | 5f 74 61 62 6c 65 73 5c 22 20 73 74 79 6c 65 20 69 6e 73 74 65 64 20 74 68 61 74 20 42 6c 61 63 | _tables\".style.insted.that.Blac |
| 18c00 | 6b 66 72 69 64 61 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 64 65 72 73 74 | kfriday..................underst |
| 18c20 | 61 6e 64 73 2e 0a 0a 20 20 2d 66 65 6e 63 65 64 5f 64 69 76 73 20 3a 20 44 6f 20 6e 6f 74 20 72 | ands.....-fenced_divs.:.Do.not.r |
| 18c40 | 65 70 6c 61 63 65 20 48 54 4d 4c 20 3c 64 69 76 3e 20 74 61 67 73 20 77 69 74 68 20 50 61 6e 64 | eplace.HTML.<div>.tags.with.Pand |
| 18c60 | 6f 63 20 66 65 6e 63 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 76 73 20 | oc.fenced..................divs. |
| 18c80 | 5c 22 3a 3a 3a 5c 22 2e 0a 0a 20 20 2d 66 65 6e 63 65 64 5f 63 6f 64 65 5f 61 74 74 72 69 62 75 | \":::\".....-fenced_code_attribu |
| 18ca0 | 74 65 73 20 3a 20 43 72 65 61 74 65 20 66 65 6e 63 65 64 20 63 6f 64 65 20 62 6c 6f 63 6b 73 20 | tes.:.Create.fenced.code.blocks. |
| 18cc0 | 6c 69 6b 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 60 60 60 20 6c 61 6e 67 | like..................\"```.lang |
| 18ce0 | 20 2e 2e 20 60 60 60 5c 22 20 69 6e 73 74 65 61 64 20 6f 66 20 5c 22 60 60 60 20 7b 2e 6c 61 6e | ....```\".instead.of.\"```.{.lan |
| 18d00 | 67 7d 20 2e 2e 20 60 60 60 5c 22 2e 0a 0a 20 20 2d 62 72 61 63 6b 65 74 65 64 5f 73 70 61 6e 73 | g}....```\".....-bracketed_spans |
| 18d20 | 20 3a 20 44 6f 20 6e 6f 74 20 72 65 70 6c 61 63 65 20 48 54 4d 4c 20 3c 73 70 61 6e 3e 20 74 61 | .:.Do.not.replace.HTML.<span>.ta |
| 18d40 | 67 73 20 77 69 74 68 20 50 61 6e 64 6f 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gs.with.Pandoc.................. |
| 18d60 | 62 72 61 63 6b 65 74 65 64 20 63 6c 61 73 73 20 6e 6f 74 61 74 69 6f 6e 20 5c 22 7b 2e 73 6f 6d | bracketed.class.notation.\"{.som |
| 18d80 | 65 2d 63 6c 61 73 73 7d 5c 22 2e 0a 0a 2d 2d 61 74 78 2d 68 65 61 64 65 72 73 20 3a 20 55 73 65 | e-class}\"...--atx-headers.:.Use |
| 18da0 | 20 5c 22 23 20 66 6f 6f 5c 22 20 73 74 79 6c 65 20 68 65 61 64 69 6e 67 20 66 6f 72 20 6f 75 74 | .\"#.foo\".style.heading.for.out |
| 18dc0 | 70 75 74 20 6d 61 72 6b 64 6f 77 6e 2e 0a 0a 2d 2d 69 64 2d 70 72 65 66 69 78 3d 66 6e 3a 20 3a | put.markdown...--id-prefix=fn:.: |
| 18de0 | 20 43 72 65 61 74 65 20 66 6f 6f 74 6e 6f 74 65 20 49 44 27 73 20 6c 69 6b 65 20 5c 22 5b 5e 66 | .Create.footnote.ID's.like.\"[^f |
| 18e00 | 6e 3a 31 5d 5c 22 20 69 6e 73 74 65 61 64 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n:1]\".instead.of............... |
| 18e20 | 20 20 20 20 5c 22 5b 5e 31 5d 5c 22 20 74 6f 20 62 65 20 63 6f 6e 73 69 73 74 65 6e 74 20 77 69 | ....\"[^1]\".to.be.consistent.wi |
| 18e40 | 74 68 20 64 65 66 61 75 6c 74 20 6f 78 2d 68 75 67 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | th.default.ox-hugo.............. |
| 18e60 | 20 20 20 20 20 65 78 70 6f 72 74 65 64 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 6f 74 6e 6f 74 65 20 | .....exported.Markdown.footnote. |
| 18e80 | 73 74 79 6c 65 2e 0a 0a 54 68 65 73 65 20 61 72 67 75 6d 65 6e 74 73 20 61 72 65 20 61 64 64 65 | style...These.arguments.are.adde |
| 18ea0 | 64 20 74 6f 20 74 68 65 20 60 70 61 6e 64 6f 63 27 20 63 61 6c 6c 20 69 6e 20 61 64 64 69 74 69 | d.to.the.`pandoc'.call.in.additi |
| 18ec0 | 6f 6e 20 74 6f 20 74 68 65 0a 5c 22 2d 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 5c 22 2c 20 6f 75 | on.to.the.\"--bibliography\",.ou |
| 18ee0 | 74 70 75 74 20 66 69 6c 65 20 28 5c 22 2d 6f 5c 22 29 20 61 6e 64 20 69 6e 70 75 74 20 66 69 6c | tput.file.(\"-o\").and.input.fil |
| 18f00 | 65 0a 61 72 67 75 6d 65 6e 74 73 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f | e.arguments.")..(defvar.org-hugo |
| 18f20 | 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 70 61 6e 64 6f 63 2d 6d 65 74 61 2d 64 61 74 61 0a 20 20 | -pandoc-cite-pandoc-meta-data... |
| 18f40 | 27 28 22 6e 6f 63 69 74 65 22 20 22 63 73 6c 22 20 22 6c 69 6e 6b 2d 63 69 74 61 74 69 6f 6e 73 | '("nocite"."csl"."link-citations |
| 18f60 | 22 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 6d 65 74 61 2d 64 61 74 61 20 66 69 65 6c 64 73 20 73 | ")..."List.of.meta-data.fields.s |
| 18f80 | 70 65 63 69 66 69 63 20 74 6f 20 50 61 6e 64 6f 63 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 | pecific.to.Pandoc.")..(defvar.or |
| 18fa0 | 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 75 6e 2d 70 61 6e 64 6f 63 2d 62 | g-hugo-pandoc-cite--run-pandoc-b |
| 18fc0 | 75 66 66 65 72 20 22 2a 50 61 6e 64 6f 63 20 43 69 74 61 74 69 6f 6e 73 2a 22 0a 20 20 22 42 75 | uffer."*Pandoc.Citations*"..."Bu |
| 18fe0 | 66 66 65 72 20 74 6f 20 63 6f 6e 74 61 69 6e 20 74 68 65 20 60 70 61 6e 64 6f 63 27 20 72 75 6e | ffer.to.contain.the.`pandoc'.run |
| 19000 | 20 6f 75 74 70 75 74 20 61 6e 64 20 65 72 72 6f 72 73 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f | .output.and.errors.")..(defvar.o |
| 19020 | 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 66 65 72 65 6e 63 65 73 2d | rg-hugo-pandoc-cite--references- |
| 19040 | 68 65 61 64 65 72 2d 72 65 67 65 78 70 0a 20 20 22 5e 3c 64 69 76 20 69 64 3d 5c 22 72 65 66 73 | header-regexp..."^<div.id=\"refs |
| 19060 | 5c 22 20 63 6c 61 73 73 3d 5c 22 72 65 66 65 72 65 6e 63 65 73 5b 5e 3e 5d 2b 3e 22 0a 20 20 22 | \".class=\"references[^>]+>"..." |
| 19080 | 52 65 67 65 78 70 20 74 6f 20 6d 61 74 63 68 20 74 68 65 20 50 61 6e 64 6f 63 2d 69 6e 73 65 72 | Regexp.to.match.the.Pandoc-inser |
| 190a0 | 74 65 64 20 72 65 66 65 72 65 6e 63 65 73 20 68 65 61 64 65 72 20 73 74 72 69 6e 67 2e 0a 0a 54 | ted.references.header.string...T |
| 190c0 | 68 69 73 20 73 74 72 69 6e 67 20 69 73 20 70 72 65 73 65 6e 74 20 6f 6e 6c 79 20 69 66 20 50 61 | his.string.is.present.only.if.Pa |
| 190e0 | 6e 64 6f 63 20 68 61 73 20 72 65 73 6f 6c 76 65 64 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 0a 72 65 | ndoc.has.resolved.one.or.more.re |
| 19100 | 66 65 72 65 6e 63 65 73 2e 0a 0a 50 61 6e 64 6f 63 20 32 2e 31 31 2e 34 2e 22 29 0a 0a 28 64 65 | ferences...Pandoc.2.11.4.")..(de |
| 19120 | 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 66 65 72 | fvar.org-hugo-pandoc-cite--refer |
| 19140 | 65 6e 63 65 2d 65 6e 74 72 79 2d 72 65 67 65 78 70 0a 20 20 22 5e 3c 64 69 76 20 69 64 3d 5c 22 | ence-entry-regexp..."^<div.id=\" |
| 19160 | 72 65 66 2d 5b 5e 5c 22 5d 2b 5c 22 20 2e 2a 63 73 6c 2d 65 6e 74 72 79 5b 5e 3e 5d 2b 3e 22 0a | ref-[^\"]+\"..*csl-entry[^>]+>". |
| 19180 | 20 20 22 52 65 67 65 78 70 20 74 6f 20 6d 61 74 63 68 20 74 68 65 20 50 61 6e 64 6f 63 2d 69 6e | .."Regexp.to.match.the.Pandoc-in |
| 191a0 | 73 65 72 74 65 64 20 72 65 66 65 72 65 6e 63 65 20 65 6e 74 72 79 20 73 74 72 69 6e 67 73 2e 0a | serted.reference.entry.strings.. |
| 191c0 | 0a 50 61 6e 64 6f 63 20 32 2e 31 31 2e 34 2e 22 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 | .Pandoc.2.11.4.")..(defun.org-hu |
| 191e0 | 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 73 74 6f 72 65 2d 66 6d 2d 69 6e 2d 6f 72 | go-pandoc-cite--restore-fm-in-or |
| 19200 | 69 67 2d 6f 75 74 66 69 6c 65 20 28 6f 72 69 67 2d 6f 75 74 66 69 6c 65 20 66 6d 20 26 6f 70 74 | ig-outfile.(orig-outfile.fm.&opt |
| 19220 | 69 6f 6e 61 6c 20 6f 72 69 67 2d 66 75 6c 6c 2d 63 6f 6e 74 65 6e 74 73 29 0a 20 20 22 52 65 73 | ional.orig-full-contents)..."Res |
| 19240 | 74 6f 72 65 20 74 68 65 20 69 6e 74 65 6e 64 65 64 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 66 | tore.the.intended.front-matter.f |
| 19260 | 6f 72 6d 61 74 20 69 6e 20 4f 52 49 47 2d 4f 55 54 46 49 4c 45 2e 0a 0a 4f 52 49 47 2d 4f 55 54 | ormat.in.ORIG-OUTFILE...ORIG-OUT |
| 19280 | 46 49 4c 45 20 69 73 20 74 68 65 20 4f 72 67 20 65 78 70 6f 72 74 65 64 20 66 69 6c 65 20 6e 61 | FILE.is.the.Org.exported.file.na |
| 192a0 | 6d 65 2e 0a 0a 46 4d 20 69 73 20 74 68 65 20 69 6e 74 65 6e 64 65 64 20 66 72 6f 6e 74 2d 6d 61 | me...FM.is.the.intended.front-ma |
| 192c0 | 74 74 65 72 20 66 6f 72 6d 61 74 2e 0a 0a 4f 52 49 47 2d 46 55 4c 4c 2d 43 4f 4e 54 45 4e 54 53 | tter.format...ORIG-FULL-CONTENTS |
| 192e0 | 20 69 73 20 61 20 73 74 72 69 6e 67 20 6f 66 20 4f 52 49 47 2d 4f 55 54 46 49 4c 45 20 63 6f 6e | .is.a.string.of.ORIG-OUTFILE.con |
| 19300 | 74 65 6e 74 73 2e 20 20 49 66 20 74 68 69 73 0a 69 73 20 6e 69 6c 20 69 74 20 69 73 20 63 72 65 | tents...If.this.is.nil.it.is.cre |
| 19320 | 61 74 65 64 20 69 6e 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 2e 0a 0a 49 66 20 46 4d 20 69 73 | ated.in.this.function...If.FM.is |
| 19340 | 20 61 6c 72 65 61 64 79 20 69 6e 20 59 41 4d 4c 20 66 6f 72 6d 61 74 2c 20 74 68 69 73 20 66 75 | .already.in.YAML.format,.this.fu |
| 19360 | 6e 63 74 69 6f 6e 20 64 6f 65 73 6e 27 74 20 64 6f 0a 61 6e 79 74 68 69 6e 67 2e 20 20 4f 74 68 | nction.doesn't.do.anything...Oth |
| 19380 | 65 72 77 69 73 65 2c 20 74 68 65 20 59 41 4d 4c 20 66 6f 72 6d 61 74 20 66 72 6f 6e 74 2d 6d 61 | erwise,.the.YAML.format.front-ma |
| 193a0 | 74 74 65 72 20 69 6e 0a 4f 52 49 47 2d 4f 55 54 46 49 4c 45 20 69 73 20 72 65 70 6c 61 63 65 64 | tter.in.ORIG-OUTFILE.is.replaced |
| 193c0 | 20 77 69 74 68 20 54 4f 4d 4c 20 66 6f 72 6d 61 74 2e 22 0a 20 20 28 75 6e 6c 65 73 73 20 28 73 | .with.TOML.format."...(unless.(s |
| 193e0 | 74 72 69 6e 67 3d 20 66 6d 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 29 0a 20 20 20 | tring=.fm.org-hugo--fm-yaml).... |
| 19400 | 20 28 75 6e 6c 65 73 73 20 6f 72 69 67 2d 66 75 6c 6c 2d 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 | .(unless.orig-full-contents..... |
| 19420 | 20 20 28 73 65 74 71 20 6f 72 69 67 2d 66 75 6c 6c 2d 63 6f 6e 74 65 6e 74 73 20 28 77 69 74 68 | ..(setq.orig-full-contents.(with |
| 19440 | 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -temp-buffer.................... |
| 19460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 2d 66 69 6c 65 2d 63 6f 6e 74 65 | ..............(insert-file-conte |
| 19480 | 6e 74 73 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nts.orig-outfile)............... |
| 194a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 75 66 66 65 72 2d 73 75 62 73 74 | ...................(buffer-subst |
| 194c0 | 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ring-no-properties.............. |
| 194e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 | .....................(point-min) |
| 19500 | 20 28 70 6f 69 6e 74 2d 6d 61 78 29 29 29 29 29 0a 20 20 20 20 28 73 65 74 71 20 66 6d 20 28 6f | .(point-max))))).....(setq.fm.(o |
| 19520 | 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 6d 6f 76 65 2d 70 61 6e 64 | rg-hugo-pandoc-cite--remove-pand |
| 19540 | 6f 63 2d 6d 65 74 61 2d 64 61 74 61 20 66 6d 29 29 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 6f 72 | oc-meta-data.fm)).....(let*.((or |
| 19560 | 69 67 2d 63 6f 6e 74 65 6e 74 73 2d 6f 6e 6c 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 | ig-contents-only.............(re |
| 19580 | 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 | place-regexp-in-string.......... |
| 195a0 | 20 20 20 20 3b 3b 20 54 68 65 20 60 6f 72 69 67 2d 63 6f 6e 74 65 6e 74 73 2d 6f 6e 6c 79 27 20 | ....;;.The.`orig-contents-only'. |
| 195c0 | 77 69 6c 6c 20 61 6c 77 61 79 73 20 62 65 20 69 6e 20 59 41 4d 4c 2e 0a 20 20 20 20 20 20 20 20 | will.always.be.in.YAML.......... |
| 195e0 | 20 20 20 20 20 3b 3b 20 44 65 6c 65 74 65 20 74 68 61 74 20 66 69 72 73 74 2e 0a 20 20 20 20 20 | .....;;.Delete.that.first....... |
| 19600 | 20 20 20 20 20 20 20 20 22 5c 5c 60 2d 2d 2d 5c 6e 5c 5c 28 2e 5c 5c 7c 5c 6e 5c 5c 29 2b 5c 6e | ........"\\`---\n\\(.\\|\n\\)+\n |
| 19620 | 2d 2d 2d 5c 6e 22 20 22 22 20 6f 72 69 67 2d 66 75 6c 6c 2d 63 6f 6e 74 65 6e 74 73 29 29 0a 20 | ---\n"."".orig-full-contents)).. |
| 19640 | 20 20 20 20 20 20 20 20 20 20 28 74 6f 6d 6c 2d 66 6d 2d 70 6c 75 73 2d 6f 72 69 67 2d 63 6f 6e | ..........(toml-fm-plus-orig-con |
| 19660 | 74 65 6e 74 73 20 28 63 6f 6e 63 61 74 20 66 6d 20 6f 72 69 67 2d 63 6f 6e 74 65 6e 74 73 2d 6f | tents.(concat.fm.orig-contents-o |
| 19680 | 6e 6c 79 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 | nly))).......;;.(message."[ox-hu |
| 196a0 | 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 5d 20 6f 72 69 67 2d 63 6f 6e 74 65 6e 74 73 2d 6f 6e | go-pandoc-cite].orig-contents-on |
| 196c0 | 6c 79 3a 20 25 53 22 20 6f 72 69 67 2d 63 6f 6e 74 65 6e 74 73 2d 6f 6e 6c 79 29 0a 20 20 20 20 | ly:.%S".orig-contents-only)..... |
| 196e0 | 20 20 28 77 72 69 74 65 2d 72 65 67 69 6f 6e 20 74 6f 6d 6c 2d 66 6d 2d 70 6c 75 73 2d 6f 72 69 | ..(write-region.toml-fm-plus-ori |
| 19700 | 67 2d 63 6f 6e 74 65 6e 74 73 20 6e 69 6c 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 29 29 29 29 0a | g-contents.nil.orig-outfile)))). |
| 19720 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 75 | .(defun.org-hugo-pandoc-cite--ru |
| 19740 | 6e 2d 70 61 6e 64 6f 63 20 28 6f 72 69 67 2d 6f 75 74 66 69 6c 65 20 62 69 62 2d 6c 69 73 74 29 | n-pandoc.(orig-outfile.bib-list) |
| 19760 | 0a 20 20 22 52 75 6e 20 74 68 65 20 60 70 61 6e 64 6f 63 27 20 70 72 6f 63 65 73 73 20 61 6e 64 | ..."Run.the.`pandoc'.process.and |
| 19780 | 20 72 65 74 75 72 6e 20 74 68 65 20 67 65 6e 65 72 61 74 65 64 20 66 69 6c 65 20 6e 61 6d 65 2e | .return.the.generated.file.name. |
| 197a0 | 0a 0a 4f 52 49 47 2d 4f 55 54 46 49 4c 45 20 69 73 20 74 68 65 20 4f 72 67 20 65 78 70 6f 72 74 | ..ORIG-OUTFILE.is.the.Org.export |
| 197c0 | 65 64 20 66 69 6c 65 20 6e 61 6d 65 2e 0a 0a 42 49 42 2d 4c 49 53 54 20 69 73 20 61 20 6c 69 73 | ed.file.name...BIB-LIST.is.a.lis |
| 197e0 | 74 20 6f 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 62 69 62 6c 69 6f 67 72 61 70 68 79 20 66 69 | t.of.one.or.more.bibliography.fi |
| 19800 | 6c 65 73 2e 22 0a 20 20 3b 3b 20 46 69 72 73 74 20 6b 69 6c 6c 20 74 68 65 20 50 61 6e 64 6f 63 | les."...;;.First.kill.the.Pandoc |
| 19820 | 20 72 75 6e 20 62 75 66 66 65 72 20 69 66 20 61 6c 72 65 61 64 79 20 65 78 69 73 74 73 20 28 66 | .run.buffer.if.already.exists.(f |
| 19840 | 72 6f 6d 20 61 0a 20 20 3b 3b 20 70 72 65 76 69 6f 75 73 20 72 75 6e 29 2e 0a 20 20 28 77 68 65 | rom.a...;;.previous.run)....(whe |
| 19860 | 6e 20 28 67 65 74 2d 62 75 66 66 65 72 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 | n.(get-buffer.org-hugo-pandoc-ci |
| 19880 | 74 65 2d 2d 72 75 6e 2d 70 61 6e 64 6f 63 2d 62 75 66 66 65 72 29 0a 20 20 20 20 28 6b 69 6c 6c | te--run-pandoc-buffer).....(kill |
| 198a0 | 2d 62 75 66 66 65 72 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 75 | -buffer.org-hugo-pandoc-cite--ru |
| 198c0 | 6e 2d 70 61 6e 64 6f 63 2d 62 75 66 66 65 72 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 6e 64 | n-pandoc-buffer))...(let*.((pand |
| 198e0 | 6f 63 2d 6f 75 74 66 69 6c 65 20 28 6d 61 6b 65 2d 74 65 6d 70 2d 66 69 6c 65 20 3b 4f 52 49 47 | oc-outfile.(make-temp-file.;ORIG |
| 19900 | 5f 46 49 4c 45 5f 42 41 53 45 4e 41 4d 45 2e 52 41 4e 44 4f 4d 2e 6d 64 0a 20 20 20 20 20 20 20 | _FILE_BASENAME.RANDOM.md........ |
| 19920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 66 69 6c 65 | ...................(concat.(file |
| 19940 | 2d 6e 61 6d 65 2d 62 61 73 65 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 29 20 22 2e 22 29 0a 20 20 | -name-base.orig-outfile).".")... |
| 19960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 20 22 2e 6d 64 | ........................nil.".md |
| 19980 | 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 69 62 2d 61 72 67 73 20 28 6d 61 70 63 61 72 20 28 | "))..........(bib-args.(mapcar.( |
| 199a0 | 6c 61 6d 62 64 61 20 28 62 69 62 2d 66 69 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lambda.(bib-file)............... |
| 199c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 2d 2d 62 69 62 6c 69 6f | ...............(concat."--biblio |
| 199e0 | 67 72 61 70 68 79 3d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | graphy="........................ |
| 19a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 69 62 2d 66 69 6c 65 29 29 0a 20 20 20 20 20 20 20 | ..............bib-file))........ |
| 19a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 69 62 2d 6c 69 73 74 29 29 0a 20 | ....................bib-list)).. |
| 19a40 | 20 20 20 20 20 20 20 20 28 70 61 6e 64 6f 63 2d 61 72 67 2d 6c 69 73 74 20 28 61 70 70 65 6e 64 | ........(pandoc-arg-list.(append |
| 19a60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d | ............................org- |
| 19a80 | 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 70 61 6e 64 6f 63 2d 61 72 67 73 2d 6c 69 73 | hugo-pandoc-cite-pandoc-args-lis |
| 19aa0 | 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 69 62 | t............................bib |
| 19ac0 | 2d 61 72 67 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -args........................... |
| 19ae0 | 20 60 28 22 2d 6f 22 20 2c 70 61 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 20 2c 6f 72 69 67 2d 6f 75 | .`("-o".,pandoc-outfile.,orig-ou |
| 19b00 | 74 66 69 6c 65 29 29 29 20 3b 2d 6f 20 3c 4f 55 54 50 55 54 20 46 49 4c 45 3e 20 3c 49 4e 50 55 | tfile))).;-o.<OUTPUT.FILE>.<INPU |
| 19b20 | 54 20 46 49 4c 45 3e 0a 20 20 20 20 20 20 20 20 20 28 70 61 6e 64 6f 63 2d 61 72 67 2d 6c 69 73 | T.FILE>..........(pandoc-arg-lis |
| 19b40 | 74 2d 73 74 72 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 69 64 65 6e 74 69 74 79 20 70 61 6e 64 | t-str.(mapconcat.#'identity.pand |
| 19b60 | 6f 63 2d 61 72 67 2d 6c 69 73 74 20 22 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 65 78 69 74 2d | oc-arg-list."."))..........exit- |
| 19b80 | 63 6f 64 65 29 0a 20 20 20 20 28 6d 65 73 73 61 67 65 20 28 63 6f 6e 63 61 74 20 22 5b 6f 78 2d | code).....(message.(concat."[ox- |
| 19ba0 | 68 75 67 6f 5d 20 50 6f 73 74 2d 70 72 6f 63 65 73 73 69 6e 67 20 63 69 74 61 74 69 6f 6e 73 20 | hugo].Post-processing.citations. |
| 19bc0 | 75 73 69 6e 67 20 50 61 6e 64 6f 63 20 63 6f 6d 6d 61 6e 64 3a 5c 6e 22 0a 20 20 20 20 20 20 20 | using.Pandoc.command:\n"........ |
| 19be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 20 70 61 6e 64 6f 63 20 22 20 70 61 6e 64 6f 63 | .............."..pandoc.".pandoc |
| 19c00 | 2d 61 72 67 2d 6c 69 73 74 2d 73 74 72 29 29 0a 0a 20 20 20 20 28 73 65 74 71 20 65 78 69 74 2d | -arg-list-str))......(setq.exit- |
| 19c20 | 63 6f 64 65 20 28 61 70 70 6c 79 20 27 63 61 6c 6c 2d 70 72 6f 63 65 73 73 0a 20 20 20 20 20 20 | code.(apply.'call-process....... |
| 19c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 70 70 65 6e 64 0a 20 20 20 | .....................(append.... |
| 19c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 60 28 22 70 61 6e 64 | .........................`("pand |
| 19c80 | 6f 63 22 20 6e 69 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oc".nil......................... |
| 19ca0 | 20 20 20 20 20 20 2c 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 75 6e | ......,org-hugo-pandoc-cite--run |
| 19cc0 | 2d 70 61 6e 64 6f 63 2d 62 75 66 66 65 72 20 3a 64 69 73 70 6c 61 79 29 0a 20 20 20 20 20 20 20 | -pandoc-buffer.:display)........ |
| 19ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 6e 64 6f 63 2d 61 72 67 2d | .....................pandoc-arg- |
| 19d00 | 6c 69 73 74 29 29 29 0a 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 3d 20 30 20 65 78 69 74 2d 63 | list)))......(unless.(=.0.exit-c |
| 19d20 | 6f 64 65 29 0a 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 28 66 6f 72 6d 61 74 20 22 | ode).......(user-error.(format." |
| 19d40 | 5b 6f 78 2d 68 75 67 6f 5d 20 50 61 6e 64 6f 63 20 65 78 65 63 75 74 69 6f 6e 20 66 61 69 6c 65 | [ox-hugo].Pandoc.execution.faile |
| 19d60 | 64 2e 20 53 65 65 20 74 68 65 20 25 53 20 62 75 66 66 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 | d..See.the.%S.buffer"........... |
| 19d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d | ................org-hugo-pandoc- |
| 19da0 | 63 69 74 65 2d 2d 72 75 6e 2d 70 61 6e 64 6f 63 2d 62 75 66 66 65 72 29 29 29 0a 20 20 20 20 70 | cite--run-pandoc-buffer))).....p |
| 19dc0 | 61 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f | andoc-outfile))..(defun.org-hugo |
| 19de0 | 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 6d 6f 76 65 2d 70 61 6e 64 6f 63 2d 6d 65 74 61 | -pandoc-cite--remove-pandoc-meta |
| 19e00 | 2d 64 61 74 61 20 28 66 6d 29 0a 20 20 22 52 65 6d 6f 76 65 20 50 61 6e 64 6f 63 20 6d 65 74 61 | -data.(fm)..."Remove.Pandoc.meta |
| 19e20 | 2d 64 61 74 61 20 66 72 6f 6d 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 73 74 72 69 6e 67 20 46 | -data.from.front-matter.string.F |
| 19e40 | 4d 20 61 6e 64 20 72 65 74 75 72 6e 20 69 74 2e 0a 0a 54 68 65 20 6c 69 73 74 20 6f 66 20 50 61 | M.and.return.it...The.list.of.Pa |
| 19e60 | 6e 64 6f 63 20 73 70 65 63 69 66 69 63 20 6d 65 74 61 2d 64 61 74 61 20 69 73 20 64 65 66 69 6e | ndoc.specific.meta-data.is.defin |
| 19e80 | 65 64 20 69 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 70 61 6e 64 | ed.in.`org-hugo-pandoc-cite-pand |
| 19ea0 | 6f 63 2d 6d 65 74 61 2d 64 61 74 61 27 2e 22 0a 20 20 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 | oc-meta-data'."...(with-temp-buf |
| 19ec0 | 66 65 72 0a 20 20 20 20 28 69 6e 73 65 72 74 20 66 6d 29 0a 20 20 20 20 28 67 6f 74 6f 2d 63 68 | fer.....(insert.fm).....(goto-ch |
| 19ee0 | 61 72 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 29 0a 20 20 20 20 28 6c 65 74 20 28 28 72 65 67 65 78 | ar.(point-min)).....(let.((regex |
| 19f00 | 70 20 28 66 6f 72 6d 61 74 20 22 5e 25 73 5c 5c 28 3a 5c 5c 7c 20 3d 5c 5c 29 20 22 0a 20 20 20 | p.(format."^%s\\(:\\|.=\\).".... |
| 19f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 67 65 78 70 2d 6f | .......................(regexp-o |
| 19f40 | 70 74 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 70 61 6e 64 6f 63 2d 6d | pt.org-hugo-pandoc-cite-pandoc-m |
| 19f60 | 65 74 61 2d 64 61 74 61 20 27 77 6f 72 64 73 29 29 29 29 0a 20 20 20 20 20 20 28 64 65 6c 65 74 | eta-data.'words)))).......(delet |
| 19f80 | 65 2d 6d 61 74 63 68 69 6e 67 2d 6c 69 6e 65 73 20 72 65 67 65 78 70 29 29 0a 20 20 20 20 28 62 | e-matching-lines.regexp)).....(b |
| 19fa0 | 75 66 66 65 72 2d 73 75 62 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 28 70 | uffer-substring-no-properties.(p |
| 19fc0 | 6f 69 6e 74 2d 6d 69 6e 29 20 28 70 6f 69 6e 74 2d 6d 61 78 29 29 29 29 0a 0a 28 64 65 66 75 6e | oint-min).(point-max))))..(defun |
| 19fe0 | 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 66 69 78 2d 70 61 6e 64 6f | .org-hugo-pandoc-cite--fix-pando |
| 1a000 | 63 2d 6f 75 74 70 75 74 20 28 63 6f 6e 74 65 6e 74 20 6c 6f 66 66 73 65 74 20 69 6e 66 6f 29 0a | c-output.(content.loffset.info). |
| 1a020 | 20 20 22 46 69 78 20 74 68 65 20 50 61 6e 64 6f 63 20 6f 75 74 70 75 74 20 43 4f 4e 54 45 4e 54 | .."Fix.the.Pandoc.output.CONTENT |
| 1a040 | 20 61 6e 64 20 72 65 74 75 72 6e 20 69 74 2e 0a 0a 4c 4f 46 46 53 45 54 20 69 73 20 74 68 65 20 | .and.return.it...LOFFSET.is.the. |
| 1a060 | 68 65 61 64 69 6e 67 20 6c 65 76 65 6c 20 6f 66 66 73 65 74 2e 0a 0a 52 65 71 75 69 72 65 64 20 | heading.level.offset...Required. |
| 1a080 | 66 69 78 65 73 3a 0a 0a 2d 20 50 72 65 70 65 6e 64 20 50 61 6e 64 6f 63 20 69 6e 73 65 72 74 65 | fixes:..-.Prepend.Pandoc.inserte |
| 1a0a0 | 64 20 5c 22 72 65 66 65 72 65 6e 63 65 73 5c 22 20 63 6c 61 73 73 20 64 69 76 20 77 69 74 68 0a | d.\"references\".class.div.with. |
| 1a0c0 | 20 20 60 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 72 65 66 65 72 65 6e 63 | ..`org-hugo-pandoc-cite-referenc |
| 1a0e0 | 65 73 2d 68 65 61 64 69 6e 67 27 2e 0a 0a 2d 20 57 68 65 6e 20 6e 6f 74 20 75 73 69 6e 67 20 47 | es-heading'...-.When.not.using.G |
| 1a100 | 6f 6c 64 6d 61 72 6b 20 28 48 75 67 6f 20 76 30 2e 36 30 2e 30 2b 29 2c 20 61 64 64 20 74 68 65 | oldmark.(Hugo.v0.60.0+),.add.the |
| 1a120 | 20 42 6c 61 63 6b 66 72 69 64 61 79 0a 20 20 72 65 71 75 69 72 65 64 20 5c 22 3c 64 69 76 3e 3c | .Blackfriday...required.\"<div>< |
| 1a140 | 2f 64 69 76 3e 5c 22 20 68 61 63 6b 20 74 6f 20 50 61 6e 64 6f 63 20 64 69 76 73 20 77 69 74 68 | /div>\".hack.to.Pandoc.divs.with |
| 1a160 | 20 5c 22 72 65 66 5c 22 20 69 64 27 73 2e 0a 0a 2d 20 55 6e 65 73 63 61 70 65 20 74 68 65 20 48 | .\"ref\".id's...-.Unescape.the.H |
| 1a180 | 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 73 3a 20 5c 22 7b 7b 5c 5c 5c 5c 3d 3c 20 73 68 6f 72 74 | ugo.shortcodes:.\"{{\\\\=<.short |
| 1a1a0 | 63 6f 64 65 20 5c 5c 5c 5c 3d 3e 7d 7d 5c 22 20 2d 3e 0a 20 20 5c 22 7b 7b 3c 20 73 68 6f 72 74 | code.\\\\=>}}\".->...\"{{<.short |
| 1a1c0 | 63 6f 64 65 20 3e 7d 7d 5c 22 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 | code.>}}\"..INFO.is.a.plist.used |
| 1a1e0 | 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 | .as.a.communication.channel."... |
| 1a200 | 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a 20 20 20 20 28 69 6e 73 65 72 74 20 63 6f | (with-temp-buffer.....(insert.co |
| 1a220 | 6e 74 65 6e 74 29 0a 20 20 20 20 28 6c 65 74 20 28 28 63 61 73 65 2d 66 6f 6c 64 2d 73 65 61 72 | ntent).....(let.((case-fold-sear |
| 1a240 | 63 68 20 6e 69 6c 29 29 0a 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 6e 74 | ch.nil)).......(goto-char.(point |
| 1a260 | 2d 6d 69 6e 29 29 0a 0a 20 20 20 20 20 20 3b 3b 20 50 72 65 70 65 6e 64 20 74 68 65 20 50 61 6e | -min))........;;.Prepend.the.Pan |
| 1a280 | 64 6f 63 20 69 6e 73 65 72 74 65 64 20 22 72 65 66 65 72 65 6e 63 65 73 22 20 63 6c 61 73 73 20 | doc.inserted."references".class. |
| 1a2a0 | 64 69 76 20 77 69 74 68 0a 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 | div.with.......;;.`org-hugo-pand |
| 1a2c0 | 6f 63 2d 63 69 74 65 2d 72 65 66 65 72 65 6e 63 65 73 2d 68 65 61 64 69 6e 67 27 20 68 65 61 64 | oc-cite-references-heading'.head |
| 1a2e0 | 69 6e 67 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 2e 0a 20 20 20 20 20 20 28 73 61 76 65 2d 65 78 63 | ing.in.Markdown........(save-exc |
| 1a300 | 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 72 65 20 73 68 6f 75 6c 64 20 62 | ursion.........;;.There.should.b |
| 1a320 | 65 20 61 74 20 6d 61 78 20 6f 6e 6c 79 20 6f 6e 65 20 72 65 70 6c 61 63 65 6d 65 6e 74 20 6e 65 | e.at.max.only.one.replacement.ne |
| 1a340 | 65 64 65 64 20 66 6f 72 0a 20 20 20 20 20 20 20 20 3b 3b 20 74 68 69 73 2e 0a 20 20 20 20 20 20 | eded.for.........;;.this........ |
| 1a360 | 20 20 28 77 68 65 6e 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 20 6f 72 67 2d 68 | ..(when.(re-search-forward.org-h |
| 1a380 | 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 66 65 72 65 6e 63 65 73 2d 68 65 61 64 | ugo-pandoc-cite--references-head |
| 1a3a0 | 65 72 2d 72 65 67 65 78 70 20 6e 69 6c 20 3a 6e 6f 65 72 72 6f 72 29 0a 20 20 20 20 20 20 20 20 | er-regexp.nil.:noerror)......... |
| 1a3c0 | 20 20 28 6c 65 74 20 28 28 72 65 66 65 72 65 6e 63 65 73 2d 68 65 61 64 69 6e 67 20 22 22 29 29 | ..(let.((references-heading."")) |
| 1a3e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e | .............(when.(org-string-n |
| 1a400 | 77 2d 70 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 72 65 66 65 72 65 6e | w-p.org-hugo-pandoc-cite-referen |
| 1a420 | 63 65 73 2d 68 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 | ces-heading)...............(let. |
| 1a440 | 28 28 6c 65 76 65 6c 2d 6d 61 72 6b 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2b 20 6c 6f 66 | ((level-mark.(make-string.(+.lof |
| 1a460 | 66 73 65 74 20 31 29 20 3f 23 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 | fset.1).?#))).................(s |
| 1a480 | 65 74 71 20 72 65 66 65 72 65 6e 63 65 73 2d 68 65 61 64 69 6e 67 20 28 63 6f 6e 63 61 74 20 6c | etq.references-heading.(concat.l |
| 1a4a0 | 65 76 65 6c 2d 6d 61 72 6b 20 22 20 22 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 | evel-mark.".".org-hugo-pandoc-ci |
| 1a4c0 | 74 65 2d 72 65 66 65 72 65 6e 63 65 73 2d 68 65 61 64 69 6e 67 29 29 29 29 0a 20 20 20 20 20 20 | te-references-heading))))....... |
| 1a4e0 | 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 28 63 6f 6e 63 61 74 20 72 65 66 | ......(replace-match.(concat.ref |
| 1a500 | 65 72 65 6e 63 65 73 2d 68 65 61 64 69 6e 67 20 22 5c 6e 5c 6e 5c 5c 26 22 0a 20 20 20 20 20 20 | erences-heading."\n\n\\&"....... |
| 1a520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e | .............................(un |
| 1a540 | 6c 65 73 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 | less.(org-hugo--plist-get-true-p |
| 1a560 | 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 20 20 | .info.:hugo-goldmark)........... |
| 1a580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 20 20 | ..........................."\n.. |
| 1a5a0 | 3c 64 69 76 3e 3c 2f 64 69 76 3e 5c 6e 22 29 29 29 29 29 29 20 3b 53 65 65 20 66 6f 6f 74 6e 6f | <div></div>\n")))))).;See.footno |
| 1a5c0 | 74 65 20 31 0a 0a 20 20 20 20 20 20 3b 3b 20 41 64 64 20 74 68 65 20 42 6c 61 63 6b 66 72 69 64 | te.1........;;.Add.the.Blackfrid |
| 1a5e0 | 61 79 20 72 65 71 75 69 72 65 64 20 68 61 63 6b 20 74 6f 20 50 61 6e 64 6f 63 20 72 65 66 20 64 | ay.required.hack.to.Pandoc.ref.d |
| 1a600 | 69 76 73 2e 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c | ivs........(unless.(org-hugo--pl |
| 1a620 | 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 | ist-get-true-p.info.:hugo-goldma |
| 1a640 | 72 6b 29 0a 20 20 20 20 20 20 20 20 28 73 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 | rk).........(save-excursion..... |
| 1a660 | 20 20 20 20 20 20 28 77 68 69 6c 65 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 20 | ......(while.(re-search-forward. |
| 1a680 | 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 66 65 72 65 6e 63 65 2d | org-hugo-pandoc-cite--reference- |
| 1a6a0 | 65 6e 74 72 79 2d 72 65 67 65 78 70 20 6e 69 6c 20 3a 6e 6f 65 72 72 6f 72 29 0a 20 20 20 20 20 | entry-regexp.nil.:noerror)...... |
| 1a6c0 | 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 22 5c 5c 26 5c 6e 20 20 3c 64 | .......(replace-match."\\&\n..<d |
| 1a6e0 | 69 76 3e 3c 2f 64 69 76 3e 22 29 29 29 29 20 3b 53 65 65 20 66 6f 6f 74 6e 6f 74 65 20 31 0a 0a | iv></div>")))).;See.footnote.1.. |
| 1a700 | 20 20 20 20 20 20 3b 3b 20 46 69 78 20 48 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 73 2e 0a 20 20 | ......;;.Fix.Hugo.shortcodes.... |
| 1a720 | 20 20 20 20 28 73 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 28 6c 65 74 | ....(save-excursion.........(let |
| 1a740 | 20 28 28 72 65 67 65 78 70 20 28 63 6f 6e 63 61 74 20 22 7b 7b 5c 5c 5c 5c 3c 22 0a 20 20 20 20 | .((regexp.(concat."{{\\\\<"..... |
| 1a760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 5c 5c | .........................."\\(\\ |
| 1a780 | 73 2d 5c 5c 7c 5c 6e 5c 5c 29 2b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s-\\|\n\\)+".................... |
| 1a7a0 | 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 3f 31 3a 5b 5b 3a 61 73 63 69 69 3a 5d 5b 3a 6e 6f | ..........."\\(?1:[[:ascii:][:no |
| 1a7c0 | 6e 61 73 63 69 69 3a 5d 5d 2b 3f 5c 5c 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nascii:]]+?\\)"................. |
| 1a7e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 5c 5c 73 2d 5c 5c 7c 5c 6e 5c 5c 29 2b 22 | .............."\\(\\s-\\|\n\\)+" |
| 1a800 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | ..............................." |
| 1a820 | 5c 5c 5c 5c 3e 7d 7d 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 77 68 69 6c 65 20 28 72 65 | \\\\>}}")))...........(while.(re |
| 1a840 | 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 20 72 65 67 65 78 70 20 6e 69 6c 20 3a 6e 6f 65 72 | -search-forward.regexp.nil.:noer |
| 1a860 | 72 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 73 63 2d 62 6f 64 79 | ror).............(let*.((sc-body |
| 1a880 | 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 29 29 | .(match-string-no-properties.1)) |
| 1a8a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 2d 62 6f 64 79 2d 6e 6f 2d | ....................(sc-body-no- |
| 1a8c0 | 6e 65 77 6c 69 6e 65 73 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 | newlines.(replace-regexp-in-stri |
| 1a8e0 | 6e 67 20 22 5c 6e 22 20 22 20 22 20 73 63 2d 62 6f 64 79 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ng."\n".".".sc-body))........... |
| 1a900 | 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 61 6c 6c 20 62 61 63 6b 73 6c 61 73 68 | .........;;.Remove.all.backslash |
| 1a920 | 65 73 20 65 78 63 65 70 74 20 66 6f 72 20 74 68 65 20 6f 6e 65 0a 20 20 20 20 20 20 20 20 20 20 | es.except.for.the.one........... |
| 1a940 | 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 65 63 65 64 69 6e 67 20 64 6f 75 62 6c 65 2d 71 75 6f | .........;;.preceding.double-quo |
| 1a960 | 74 65 73 2c 20 6c 69 6b 65 20 69 6e 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tes,.like.in:................... |
| 1a980 | 20 3b 3b 20 20 20 7b 7b 3c 20 66 69 67 75 72 65 20 73 72 63 3d 22 6e 65 73 74 65 64 2d 62 6f 78 | .;;...{{<.figure.src="nested-box |
| 1a9a0 | 65 73 2e 73 76 67 22 20 63 61 70 74 69 6f 6e 3d 22 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 66 | es.svg".caption="<span.class=\"f |
| 1a9c0 | 69 67 75 72 65 2d 6e 75 6d 62 65 72 5c 22 3e 46 69 67 75 72 65 20 31 3a 20 3c 2f 73 70 61 6e 3e | igure-number\">Figure.1:.</span> |
| 1a9e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 50 6c 61 6e 74 55 4d | ....................;;...PlantUM |
| 1aa00 | 4c 20 67 65 6e 65 72 61 74 65 64 20 66 69 67 75 72 65 20 73 68 6f 77 69 6e 67 20 6e 65 73 74 65 | L.generated.figure.showing.neste |
| 1aa20 | 64 20 62 6f 78 65 73 22 20 3e 7d 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.boxes".>}}.................... |
| 1aa40 | 28 73 63 2d 62 6f 64 79 2d 6e 6f 2d 62 61 63 6b 6c 61 73 68 20 28 72 65 70 6c 61 63 65 2d 72 65 | (sc-body-no-backlash.(replace-re |
| 1aa60 | 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gexp-in-string.................. |
| 1aa80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 22 5c 22 22 20 22 | ........................"\"\""." |
| 1aaa0 | 5c 5c 5c 5c 5c 5c 5c 5c 5c 22 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | \\\\\\\\\""..................... |
| 1aac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 | .....................(replace-re |
| 1aae0 | 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gexp-in-string.................. |
| 1ab00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 78 20 22 5c 5c | .........................(rx."\\ |
| 1ab20 | 22 20 28 67 72 6f 75 70 20 61 6e 79 74 68 69 6e 67 29 29 20 22 5c 5c 31 22 20 73 63 2d 62 6f 64 | ".(group.anything))."\\1".sc-bod |
| 1ab40 | 79 2d 6e 6f 2d 6e 65 77 6c 69 6e 65 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y-no-newlines))))............... |
| 1ab60 | 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 28 66 6f 72 6d 61 74 20 22 7b 7b 3c 20 25 73 20 3e | (replace-match.(format."{{<.%s.> |
| 1ab80 | 7d 7d 22 20 73 63 2d 62 6f 64 79 2d 6e 6f 2d 62 61 63 6b 6c 61 73 68 29 20 3a 66 69 78 65 64 63 | }}".sc-body-no-backlash).:fixedc |
| 1aba0 | 61 73 65 29 29 29 29 29 0a 0a 20 20 20 20 20 20 3b 3b 20 46 69 78 20 73 71 75 61 72 65 20 62 72 | ase)))))........;;.Fix.square.br |
| 1abc0 | 61 63 6b 65 74 2e 20 5c 5b 20 61 62 63 20 5c 5d 20 2d 3e 20 5b 20 61 62 63 20 5d 0a 20 20 20 20 | acket..\[.abc.\].->.[.abc.]..... |
| 1abe0 | 20 20 28 73 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 | ..(save-excursion.........(let.( |
| 1ac00 | 28 72 65 67 65 78 70 20 28 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (regexp.(concat................. |
| 1ac20 | 20 20 20 20 20 20 20 22 5c 5c 5c 5c 5c 5c 5b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......."\\\\\\["................ |
| 1ac40 | 20 20 20 20 20 20 20 20 22 5c 5c 28 2e 2b 5c 5c 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........"\\(.+\\)".............. |
| 1ac60 | 20 20 20 20 20 20 20 20 20 20 22 5c 5c 5c 5c 5c 5c 5d 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 | .........."\\\\\\]"))).......... |
| 1ac80 | 20 28 77 68 69 6c 65 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 20 72 65 67 65 78 | .(while.(re-search-forward.regex |
| 1aca0 | 70 20 6e 69 6c 20 3a 6e 6f 65 72 72 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 | p.nil.:noerror).............(let |
| 1acc0 | 2a 20 28 28 73 63 2d 62 6f 64 79 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f | *.((sc-body.(match-string-no-pro |
| 1ace0 | 70 65 72 74 69 65 73 20 31 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d | perties.1)))...............;;.(m |
| 1ad00 | 65 73 73 61 67 65 20 22 73 71 75 61 72 65 20 62 72 61 63 6b 65 74 20 5b 25 73 5d 22 20 73 63 2d | essage."square.bracket.[%s]".sc- |
| 1ad20 | 62 6f 64 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 6d 61 74 | body)...............(replace-mat |
| 1ad40 | 63 68 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 22 20 73 63 2d 62 6f 64 79 29 20 3a 66 69 78 65 | ch.(format."[%s]".sc-body).:fixe |
| 1ad60 | 64 63 61 73 65 29 29 29 29 29 0a 0a 20 20 20 20 20 20 28 62 75 66 66 65 72 2d 73 75 62 73 74 72 | dcase)))))........(buffer-substr |
| 1ad80 | 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 28 70 | ing-no-properties.(point-min).(p |
| 1ada0 | 6f 69 6e 74 2d 6d 61 78 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 70 | oint-max)))))..(defun.org-hugo-p |
| 1adc0 | 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 70 61 72 73 65 2d 63 69 74 61 74 69 6f 6e 73 20 28 69 6e 66 | andoc-cite--parse-citations.(inf |
| 1ade0 | 6f 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 29 0a 20 20 22 50 61 72 73 65 20 50 61 6e 64 6f 63 20 | o.orig-outfile)..."Parse.Pandoc. |
| 1ae00 | 43 69 74 61 74 69 6f 6e 73 20 69 6e 20 4f 52 49 47 2d 4f 55 54 46 49 4c 45 20 61 6e 64 20 75 70 | Citations.in.ORIG-OUTFILE.and.up |
| 1ae20 | 64 61 74 65 20 74 68 61 74 20 66 69 6c 65 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 | date.that.file...INFO.is.a.plist |
| 1ae40 | 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c | .used.as.a.communication.channel |
| 1ae60 | 2e 0a 0a 4f 52 49 47 2d 4f 55 54 46 49 4c 45 20 69 73 20 74 68 65 20 4f 72 67 20 65 78 70 6f 72 | ...ORIG-OUTFILE.is.the.Org.expor |
| 1ae80 | 74 65 64 20 66 69 6c 65 20 6e 61 6d 65 2e 22 0a 20 20 28 6c 65 74 20 28 28 62 69 62 2d 6c 69 73 | ted.file.name."...(let.((bib-lis |
| 1aea0 | 74 20 28 6c 65 74 20 28 28 62 69 62 2d 72 61 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.(let.((bib-raw................ |
| 1aec0 | 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 0a 20 20 20 20 20 | ..........(org-string-nw-p...... |
| 1aee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6f 72 67 2d 65 6e | .....................(or.(org-en |
| 1af00 | 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 42 49 42 4c 49 4f 47 52 41 50 48 59 | try-get.nil."EXPORT_BIBLIOGRAPHY |
| 1af20 | 22 20 3a 69 6e 68 65 72 69 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".:inherit)..................... |
| 1af40 | 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 22 20 28 70 6c 69 73 74 2d 67 65 | ..........(format."%s".(plist-ge |
| 1af60 | 74 20 69 6e 66 6f 20 3a 62 69 62 6c 69 6f 67 72 61 70 68 79 29 29 29 29 29 29 0a 20 20 20 20 20 | t.info.:bibliography))))))...... |
| 1af80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 62 69 62 2d 72 61 77 0a 20 20 20 | ...............(when.bib-raw.... |
| 1afa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4d 75 6c 74 69 70 6c 65 20 62 | ...................;;.Multiple.b |
| 1afc0 | 69 62 6c 69 6f 67 72 61 70 68 69 65 73 20 63 61 6e 20 62 65 20 63 6f 6d 6d 61 20 6f 72 0a 20 20 | ibliographies.can.be.comma.or... |
| 1afe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 65 77 6c 69 6e 65 20 73 | ....................;;.newline.s |
| 1b000 | 65 70 61 72 61 74 65 64 2e 20 54 68 65 20 6e 65 77 6c 69 6e 65 20 73 65 70 61 72 61 74 65 64 0a | eparated..The.newline.separated. |
| 1b020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 69 62 6c 69 6f 67 | ......................;;.bibliog |
| 1b040 | 72 61 70 68 69 65 73 20 77 6f 72 6b 20 6f 6e 6c 79 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 | raphies.work.only.for.the....... |
| 1b060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 23 2b 62 69 62 6c 69 6f 67 72 61 70 68 | ................;;.#+bibliograph |
| 1b080 | 79 20 6b 65 79 77 6f 72 64 3b 20 65 78 61 6d 70 6c 65 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | y.keyword;.example:............. |
| 1b0a0 | 20 20 20 20 20 20 20 20 20 20 3b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........;;.................... |
| 1b0c0 | 20 20 20 3b 3b 20 20 20 23 2b 62 69 62 6c 69 6f 67 72 61 70 68 79 3a 20 62 69 62 6c 69 6f 67 72 | ...;;...#+bibliography:.bibliogr |
| 1b0e0 | 61 70 68 69 65 73 2d 31 2e 62 69 62 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aphies-1.bib.................... |
| 1b100 | 20 20 20 3b 3b 20 20 20 23 2b 62 69 62 6c 69 6f 67 72 61 70 68 79 3a 20 62 69 62 6c 69 6f 67 72 | ...;;...#+bibliography:.bibliogr |
| 1b120 | 61 70 68 69 65 73 2d 32 2e 62 69 62 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aphies-2.bib.................... |
| 1b140 | 20 20 20 3b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 | ...;;.......................;;.I |
| 1b160 | 66 20 75 73 69 6e 67 20 74 68 65 20 73 75 62 74 72 65 65 20 70 72 6f 70 65 72 74 69 65 73 20 74 | f.using.the.subtree.properties.t |
| 1b180 | 68 65 79 20 6e 65 65 64 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hey.need.to..................... |
| 1b1a0 | 20 20 3b 3b 20 62 65 20 63 6f 6d 6d 61 2d 73 65 70 61 72 61 74 65 64 20 28 6e 6f 77 20 64 6f 6e | ..;;.be.comma-separated.(now.don |
| 1b1c0 | 27 74 20 75 73 65 20 63 6f 6d 6d 61 73 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 't.use.commas.in................ |
| 1b1e0 | 20 20 20 20 20 20 20 3b 3b 20 74 68 6f 73 65 20 66 69 6c 65 20 6e 61 6d 65 73 2c 20 79 6f 75 20 | .......;;.those.file.names,.you. |
| 1b200 | 77 69 6c 6c 20 73 75 66 66 65 72 29 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | will.suffer):................... |
| 1b220 | 20 20 20 20 3b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | ....;;.......................;;. |
| 1b240 | 20 20 3a 45 58 50 4f 52 54 5f 42 49 42 4c 49 4f 47 52 41 50 48 59 3a 20 62 69 62 6c 69 6f 67 72 | ..:EXPORT_BIBLIOGRAPHY:.bibliogr |
| 1b260 | 61 70 68 69 65 73 2d 31 2e 62 69 62 2c 20 62 69 62 6c 69 6f 67 72 61 70 68 69 65 73 2d 32 2e 62 | aphies-1.bib,.bibliographies-2.b |
| 1b280 | 69 62 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 | ib.......................(let.(( |
| 1b2a0 | 62 69 62 2d 6c 69 73 74 2d 31 20 28 6f 72 67 2d 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 62 69 62 | bib-list-1.(org-split-string.bib |
| 1b2c0 | 2d 72 61 77 20 22 5b 2c 5c 6e 5d 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -raw."[,\n]")))................. |
| 1b2e0 | 20 20 20 20 20 20 20 20 3b 3b 20 2d 20 44 6f 6e 27 74 20 61 6c 6c 6f 77 20 73 70 61 63 65 73 20 | ........;;.-.Don't.allow.spaces. |
| 1b300 | 61 72 6f 75 6e 64 20 62 69 62 20 6e 61 6d 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | around.bib.names................ |
| 1b320 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 2d 20 52 65 6d 6f 76 65 20 64 75 70 6c 69 63 61 74 65 20 | ..........;;.-.Remove.duplicate. |
| 1b340 | 62 69 62 6c 69 6f 67 72 61 70 68 69 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bibliographies.................. |
| 1b360 | 20 20 20 20 20 20 20 20 28 64 65 6c 65 74 65 2d 64 75 70 73 0a 20 20 20 20 20 20 20 20 20 20 20 | ........(delete-dups............ |
| 1b380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 61 72 20 28 6c 61 6d 62 64 61 20 28 62 | ..............(mapcar.(lambda.(b |
| 1b3a0 | 69 62 2d 66 69 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ib-file)........................ |
| 1b3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 6e 61 6d 65 20 28 6f 72 67 2d 74 72 | ............(let.((fname.(org-tr |
| 1b3e0 | 69 6d 20 62 69 62 2d 66 69 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | im.bib-file))).................. |
| 1b400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 66 69 6c | ....................(unless.(fil |
| 1b420 | 65 2d 65 78 69 73 74 73 2d 70 20 66 6e 61 6d 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e-exists-p.fname)............... |
| 1b440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 72 2d 65 | .........................(user-e |
| 1b460 | 72 72 6f 72 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 42 69 62 6c 69 6f 67 72 61 70 68 79 20 66 69 6c | rror."[ox-hugo].Bibliography.fil |
| 1b480 | 65 20 25 53 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 | e.%S.does.not.exist"............ |
| 1b4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1b4c0 | 20 20 20 20 20 20 20 20 66 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........fname))................. |
| 1b4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6e 61 6d 65 29 29 0a 20 20 20 | .....................fname)).... |
| 1b500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 69 | ..............................bi |
| 1b520 | 62 2d 6c 69 73 74 2d 31 29 29 29 29 29 29 29 0a 20 20 20 20 28 69 66 20 62 69 62 2d 6c 69 73 74 | b-list-1))))))).....(if.bib-list |
| 1b540 | 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 6d 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e | .........(let.((fm.(plist-get.in |
| 1b560 | 66 6f 20 3a 66 72 6f 6e 74 2d 6d 61 74 74 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | fo.:front-matter)).............. |
| 1b580 | 20 28 6c 6f 66 66 73 65 74 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 0a 20 20 20 20 | .(loffset.(string-to-number..... |
| 1b5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6f 72 67 2d 65 6e 74 | ....................(or.(org-ent |
| 1b5c0 | 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 4f 5f 4c 45 56 45 4c 5f 4f 46 | ry-get.nil."EXPORT_HUGO_LEVEL_OF |
| 1b5e0 | 46 53 45 54 22 20 3a 69 6e 68 65 72 69 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | FSET".:inherit)................. |
| 1b600 | 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 | ............(plist-get.info.:hug |
| 1b620 | 6f 2d 6c 65 76 65 6c 2d 6f 66 66 73 65 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | o-level-offset)))).............. |
| 1b640 | 20 28 70 61 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 20 28 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f | .(pandoc-outfile.(org-hugo-pando |
| 1b660 | 63 2d 63 69 74 65 2d 2d 72 75 6e 2d 70 61 6e 64 6f 63 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 20 | c-cite--run-pandoc.orig-outfile. |
| 1b680 | 62 69 62 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | bib-list)))...........;;.(messag |
| 1b6a0 | 65 20 22 5b 6f 78 2d 68 75 67 6f 20 70 61 72 73 65 20 63 69 74 61 74 69 6f 6e 73 5d 20 66 6d 20 | e."[ox-hugo.parse.citations].fm. |
| 1b6c0 | 3a 3a 20 25 53 22 20 66 6d 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 | ::.%S".fm)...........;;.(message |
| 1b6e0 | 20 22 5b 6f 78 2d 68 75 67 6f 20 70 61 72 73 65 20 63 69 74 61 74 69 6f 6e 73 5d 20 6c 6f 66 66 | ."[ox-hugo.parse.citations].loff |
| 1b700 | 73 65 74 20 3a 3a 20 25 53 22 20 6c 6f 66 66 73 65 74 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b | set.::.%S".loffset)...........;; |
| 1b720 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 70 61 72 73 65 20 63 69 74 61 74 69 | .(message."[ox-hugo.parse.citati |
| 1b740 | 6f 6e 73 5d 20 70 61 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 20 3a 3a 20 25 53 22 20 70 61 6e 64 6f | ons].pandoc-outfile.::.%S".pando |
| 1b760 | 63 2d 6f 75 74 66 69 6c 65 29 0a 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 61 | c-outfile)............(let*.((pa |
| 1b780 | 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 2d 63 6f 6e 74 65 6e 74 73 20 28 77 69 74 68 2d 74 65 6d 70 | ndoc-outfile-contents.(with-temp |
| 1b7a0 | 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -buffer......................... |
| 1b7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 2d 66 69 6c 65 | ....................(insert-file |
| 1b7e0 | 2d 63 6f 6e 74 65 6e 74 73 20 70 61 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 29 0a 20 20 20 20 20 20 | -contents.pandoc-outfile)....... |
| 1b800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1b820 | 20 20 20 20 20 20 28 62 75 66 66 65 72 2d 73 75 62 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 | ......(buffer-substring-no-prope |
| 1b840 | 72 74 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rties........................... |
| 1b860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 28 | ...................(point-min).( |
| 1b880 | 70 6f 69 6e 74 2d 6d 61 78 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | point-max))))..................( |
| 1b8a0 | 63 6f 6e 74 65 6e 74 2d 68 61 73 2d 72 65 66 65 72 65 6e 63 65 73 20 28 73 74 72 69 6e 67 2d 6d | content-has-references.(string-m |
| 1b8c0 | 61 74 63 68 2d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | atch-p.......................... |
| 1b8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 | .................org-hugo-pandoc |
| 1b900 | 2d 63 69 74 65 2d 2d 72 65 66 65 72 65 6e 63 65 73 2d 68 65 61 64 65 72 2d 72 65 67 65 78 70 0a | -cite--references-header-regexp. |
| 1b920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1b940 | 20 20 20 20 20 20 20 20 20 20 70 61 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 2d 63 6f 6e 74 65 6e 74 | ..........pandoc-outfile-content |
| 1b960 | 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 72 65 70 65 6e 64 20 74 68 65 20 | s))).............;;.Prepend.the. |
| 1b980 | 6f 72 69 67 69 6e 61 6c 20 6f 78 2d 68 75 67 6f 20 67 65 6e 65 72 61 74 65 64 20 66 72 6f 6e 74 | original.ox-hugo.generated.front |
| 1b9a0 | 2d 6d 61 74 74 65 72 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 61 6e 64 6f 63 | -matter.to.............;;.Pandoc |
| 1b9c0 | 20 6f 75 74 70 75 74 2c 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 50 61 6e 64 6f 63 20 6f 75 74 70 | .output,.only.if.the.Pandoc.outp |
| 1b9e0 | 75 74 20 63 6f 6e 74 61 69 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 72 65 66 65 72 | ut.contains.............;;.refer |
| 1ba00 | 65 6e 63 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 63 6f 6e 74 65 6e 74 2d 68 | ences..............(if.content-h |
| 1ba20 | 61 73 2d 72 65 66 65 72 65 6e 63 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c | as-references.................(l |
| 1ba40 | 65 74 2a 20 28 28 63 6f 6e 74 65 6e 74 73 2d 66 69 78 65 64 20 28 6f 72 67 2d 68 75 67 6f 2d 70 | et*.((contents-fixed.(org-hugo-p |
| 1ba60 | 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 66 69 78 2d 70 61 6e 64 6f 63 2d 6f 75 74 70 75 74 0a 20 20 | andoc-cite--fix-pandoc-output... |
| 1ba80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1baa0 | 20 20 20 20 20 20 70 61 6e 64 6f 63 2d 6f 75 74 66 69 6c 65 2d 63 6f 6e 74 65 6e 74 73 20 6c 6f | ......pandoc-outfile-contents.lo |
| 1bac0 | 66 66 73 65 74 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ffset.info)).................... |
| 1bae0 | 20 20 20 20 28 66 6d 20 28 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 | ....(fm.(org-hugo-pandoc-cite--r |
| 1bb00 | 65 6d 6f 76 65 2d 70 61 6e 64 6f 63 2d 6d 65 74 61 2d 64 61 74 61 20 66 6d 29 29 0a 20 20 20 20 | emove-pandoc-meta-data.fm))..... |
| 1bb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6d 2d 70 6c 75 73 2d 63 6f 6e 74 | ...................(fm-plus-cont |
| 1bb40 | 65 6e 74 20 28 63 6f 6e 63 61 74 20 66 6d 20 22 5c 6e 22 20 63 6f 6e 74 65 6e 74 73 2d 66 69 78 | ent.(concat.fm."\n".contents-fix |
| 1bb60 | 65 64 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 72 69 74 65 2d 72 | ed)))...................(write-r |
| 1bb80 | 65 67 69 6f 6e 20 66 6d 2d 70 6c 75 73 2d 63 6f 6e 74 65 6e 74 20 6e 69 6c 20 6f 72 69 67 2d 6f | egion.fm-plus-content.nil.orig-o |
| 1bba0 | 75 74 66 69 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f | utfile))...............(org-hugo |
| 1bbc0 | 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 73 74 6f 72 65 2d 66 6d 2d 69 6e 2d 6f 72 69 67 | -pandoc-cite--restore-fm-in-orig |
| 1bbe0 | 2d 6f 75 74 66 69 6c 65 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 20 66 6d 29 0a 20 20 20 20 20 20 | -outfile.orig-outfile.fm)....... |
| 1bc00 | 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 28 63 6f 6e 63 61 74 20 22 5b 6f 78 2d 68 75 | ........(message.(concat."[ox-hu |
| 1bc20 | 67 6f 5d 20 55 73 69 6e 67 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 4f 78 2d 68 75 67 6f 20 6f | go].Using.the.original.Ox-hugo.o |
| 1bc40 | 75 74 70 75 74 20 69 6e 73 74 65 61 64 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | utput.instead."................. |
| 1bc60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6f 66 20 50 61 6e 64 6f 63 20 6f 75 74 70 75 74 | ..............."of.Pandoc.output |
| 1bc80 | 20 61 73 20 69 74 20 63 6f 6e 74 61 69 6e 65 64 20 6e 6f 20 52 65 66 65 72 65 6e 63 65 73 22 29 | .as.it.contained.no.References") |
| 1bca0 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 64 65 6c 65 74 65 2d 66 69 6c 65 20 70 61 6e 64 6f | )))...........(delete-file.pando |
| 1bcc0 | 63 2d 6f 75 74 66 69 6c 65 29 0a 0a 20 20 20 20 20 20 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 | c-outfile)............(with-curr |
| 1bce0 | 65 6e 74 2d 62 75 66 66 65 72 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d | ent-buffer.org-hugo-pandoc-cite- |
| 1bd00 | 2d 72 75 6e 2d 70 61 6e 64 6f 63 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 | -run-pandoc-buffer.............( |
| 1bd20 | 69 66 20 28 3e 20 28 70 6f 69 6e 74 2d 6d 61 78 29 20 31 29 20 20 20 20 20 20 20 20 20 20 20 20 | if.(>.(point-max).1)............ |
| 1bd40 | 20 3b 62 75 66 66 65 72 20 69 73 20 6e 6f 74 20 65 6d 70 74 79 0a 20 20 20 20 20 20 20 20 20 20 | .;buffer.is.not.empty........... |
| 1bd60 | 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......(message.................. |
| 1bd80 | 28 66 6f 72 6d 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 | (format...................(conca |
| 1bda0 | 74 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 53 65 65 20 74 68 65 20 25 53 20 62 75 66 66 65 72 20 66 | t."[ox-hugo].See.the.%S.buffer.f |
| 1bdc0 | 6f 72 20 70 6f 73 73 69 62 6c 65 20 50 61 6e 64 6f 63 20 77 61 72 6e 69 6e 67 73 2e 5c 6e 22 0a | or.possible.Pandoc.warnings.\n". |
| 1bde0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 20 20 20 20 | .........................."..... |
| 1be00 | 20 20 20 20 20 52 65 76 69 65 77 20 74 68 65 20 65 78 70 6f 72 74 65 64 20 4d 61 72 6b 64 6f 77 | .....Review.the.exported.Markdow |
| 1be20 | 6e 20 66 69 6c 65 20 66 6f 72 20 70 6f 73 73 69 62 6c 65 20 6d 69 73 73 69 6e 67 20 63 69 74 61 | n.file.for.possible.missing.cita |
| 1be40 | 74 69 6f 6e 73 2e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 | tions.")...................org-h |
| 1be60 | 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 75 6e 2d 70 61 6e 64 6f 63 2d 62 75 66 66 | ugo-pandoc-cite--run-pandoc-buff |
| 1be80 | 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4b 69 6c 6c 20 74 68 65 20 50 | er))...............;;.Kill.the.P |
| 1bea0 | 61 6e 64 6f 63 20 72 75 6e 20 62 75 66 66 65 72 20 69 66 20 69 74 20 69 73 20 65 6d 70 74 79 2e | andoc.run.buffer.if.it.is.empty. |
| 1bec0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6b 69 6c 6c 2d 62 75 66 66 65 72 20 6f 72 67 2d | ...............(kill-buffer.org- |
| 1bee0 | 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 75 6e 2d 70 61 6e 64 6f 63 2d 62 75 66 | hugo-pandoc-cite--run-pandoc-buf |
| 1bf00 | 66 65 72 29 29 29 29 0a 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f | fer)))).......(message."[ox-hugo |
| 1bf20 | 5d 20 4e 6f 20 62 69 62 6c 69 6f 67 72 61 70 68 79 20 66 69 6c 65 20 77 61 73 20 73 70 65 63 69 | ].No.bibliography.file.was.speci |
| 1bf40 | 66 69 65 64 22 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f | fied"))))..(defun.org-hugo-pando |
| 1bf60 | 63 2d 63 69 74 65 2d 2d 70 61 72 73 65 2d 63 69 74 61 74 69 6f 6e 73 2d 6d 61 79 62 65 20 28 69 | c-cite--parse-citations-maybe.(i |
| 1bf80 | 6e 66 6f 29 0a 20 20 22 43 68 65 63 6b 20 69 66 20 50 61 6e 64 6f 63 20 6e 65 65 64 73 20 74 6f | nfo)..."Check.if.Pandoc.needs.to |
| 1bfa0 | 20 62 65 20 72 75 6e 20 74 6f 20 70 61 72 73 65 20 63 69 74 61 74 69 6f 6e 73 3b 20 61 6e 64 20 | .be.run.to.parse.citations;.and. |
| 1bfc0 | 72 75 6e 20 69 74 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 | run.it...INFO.is.a.plist.used.as |
| 1bfe0 | 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b 20 | .a.communication.channel."...;;. |
| 1c000 | 28 6d 65 73 73 61 67 65 20 22 70 61 6e 64 6f 63 20 63 69 74 61 74 69 6f 6e 73 20 6b 65 79 77 6f | (message."pandoc.citations.keywo |
| 1c020 | 72 64 3a 20 25 53 22 0a 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d | rd:.%S"...;;..........(org-hugo- |
| 1c040 | 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 70 61 6e | -plist-get-true-p.info.:hugo-pan |
| 1c060 | 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 29 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 70 | doc-citations))...;;.(message."p |
| 1c080 | 61 6e 64 6f 63 20 63 69 74 61 74 69 6f 6e 73 20 70 72 6f 70 3a 20 25 53 22 0a 20 20 3b 3b 20 20 | andoc.citations.prop:.%S"...;;.. |
| 1c0a0 | 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 50 4f | ........(org-entry-get.nil."EXPO |
| 1c0c0 | 52 54 5f 48 55 47 4f 5f 50 41 4e 44 4f 43 5f 43 49 54 41 54 49 4f 4e 53 22 20 3a 69 6e 68 65 72 | RT_HUGO_PANDOC_CITATIONS".:inher |
| 1c0e0 | 69 74 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 6f 72 69 67 2d 6f 75 74 66 69 6c 65 20 28 70 6c 69 | it))...(let*.((orig-outfile.(pli |
| 1c100 | 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6f 75 74 66 69 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 | st-get.info.:outfile)).......... |
| 1c120 | 28 66 6d 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 66 72 6f 6e 74 2d 6d 61 74 74 65 | (fm.(plist-get.info.:front-matte |
| 1c140 | 72 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 61 73 2d 6e 6f 63 69 74 65 20 28 73 74 72 69 6e 67 | r))..........(has-nocite.(string |
| 1c160 | 2d 6d 61 74 63 68 2d 70 20 22 5e 6e 6f 63 69 74 65 5c 5c 28 3a 5c 5c 7c 20 3d 5c 5c 29 20 22 20 | -match-p."^nocite\\(:\\|.=\\).". |
| 1c180 | 66 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 72 69 67 2d 6f 75 74 66 69 6c 65 2d 63 6f 6e 74 | fm))..........(orig-outfile-cont |
| 1c1a0 | 65 6e 74 73 20 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 20 | ents.(with-temp-buffer.......... |
| 1c1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 | .........................(insert |
| 1c1e0 | 2d 66 69 6c 65 2d 63 6f 6e 74 65 6e 74 73 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 29 0a 20 20 20 | -file-contents.orig-outfile).... |
| 1c200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 1c220 | 62 75 66 66 65 72 2d 73 75 62 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 0a 20 | buffer-substring-no-properties.. |
| 1c240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1c260 | 20 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 28 70 6f 69 6e 74 2d 6d 61 78 29 29 29 29 0a 20 20 20 | ..(point-min).(point-max)))).... |
| 1c280 | 20 20 20 20 20 20 3b 3b 20 68 74 74 70 3a 2f 2f 70 61 6e 64 6f 63 2e 6f 72 67 2f 4d 41 4e 55 41 | ......;;.http://pandoc.org/MANUA |
| 1c2a0 | 4c 2e 68 74 6d 6c 23 63 69 74 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 45 61 63 | L.html#citations..........;;.Eac |
| 1c2c0 | 68 20 63 69 74 61 74 69 6f 6e 20 6d 75 73 74 20 68 61 76 65 20 61 20 6b 65 79 2c 20 63 6f 6d 70 | h.citation.must.have.a.key,.comp |
| 1c2e0 | 6f 73 65 64 20 6f 66 20 60 40 27 20 2b 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 63 69 | osed.of.`@'.+.the..........;;.ci |
| 1c300 | 74 61 74 69 6f 6e 20 69 64 65 6e 74 69 66 69 65 72 20 66 72 6f 6d 20 74 68 65 20 64 61 74 61 62 | tation.identifier.from.the.datab |
| 1c320 | 61 73 65 2c 20 61 6e 64 20 6d 61 79 20 6f 70 74 69 6f 6e 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 | ase,.and.may.optionally......... |
| 1c340 | 20 3b 3b 20 68 61 76 65 20 61 20 70 72 65 66 69 78 2c 20 61 20 6c 6f 63 61 74 6f 72 2c 20 61 6e | .;;.have.a.prefix,.a.locator,.an |
| 1c360 | 64 20 61 20 73 75 66 66 69 78 2e 20 54 68 65 20 63 69 74 61 74 69 6f 6e 20 6b 65 79 0a 20 20 20 | d.a.suffix..The.citation.key.... |
| 1c380 | 20 20 20 20 20 20 3b 3b 20 6d 75 73 74 20 62 65 67 69 6e 20 77 69 74 68 20 61 20 6c 65 74 74 65 | ......;;.must.begin.with.a.lette |
| 1c3a0 | 72 2c 20 64 69 67 69 74 2c 20 6f 72 20 5f 2c 20 61 6e 64 20 6d 61 79 20 63 6f 6e 74 61 69 6e 0a | r,.digit,.or._,.and.may.contain. |
| 1c3c0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6c 70 68 61 6e 75 6d 65 72 69 63 73 2c 20 5f 2c 20 61 6e | .........;;.alphanumerics,._,.an |
| 1c3e0 | 64 20 69 6e 74 65 72 6e 61 6c 20 70 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 72 61 63 74 65 72 | d.internal.punctuation.character |
| 1c400 | 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 28 3a 2e 23 24 25 26 2d 2b 3f 3c 3e 7e 2f 29 2e 0a 20 | s..........;;.(:.#$%&-+?<>~/)... |
| 1c420 | 20 20 20 20 20 20 20 20 3b 3b 20 41 20 6d 69 6e 75 73 20 73 69 67 6e 20 28 2d 29 20 62 65 66 6f | ........;;.A.minus.sign.(-).befo |
| 1c440 | 72 65 20 74 68 65 20 40 20 77 69 6c 6c 20 73 75 70 70 72 65 73 73 20 6d 65 6e 74 69 6f 6e 20 6f | re.the.@.will.suppress.mention.o |
| 1c460 | 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 61 75 74 68 6f 72 20 69 6e 20 74 68 65 20 | f.the..........;;.author.in.the. |
| 1c480 | 63 69 74 61 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 28 76 61 6c 69 64 2d 63 69 74 61 74 69 | citation...........(valid-citati |
| 1c4a0 | 6f 6e 2d 6b 65 79 2d 63 68 61 72 2d 72 65 67 65 78 70 20 22 61 2d 7a 41 2d 5a 30 2d 39 5f 3a 2e | on-key-char-regexp."a-zA-Z0-9_:. |
| 1c4c0 | 23 24 25 26 2b 3f 3c 3e 7e 2f 2d 22 29 0a 20 20 20 20 20 20 20 20 20 28 63 69 74 61 74 69 6f 6e | #$%&+?<>~/-")..........(citation |
| 1c4e0 | 2d 6b 65 79 2d 72 65 67 65 78 70 20 28 63 6f 6e 63 61 74 20 22 5b 5e 22 20 76 61 6c 69 64 2d 63 | -key-regexp.(concat."[^".valid-c |
| 1c500 | 69 74 61 74 69 6f 6e 2d 6b 65 79 2d 63 68 61 72 2d 72 65 67 65 78 70 20 22 5d 22 0a 20 20 20 20 | itation-key-char-regexp."]"..... |
| 1c520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1c540 | 20 20 22 5c 5c 28 2d 3f 40 5b 61 2d 7a 41 2d 5a 30 2d 39 5f 5d 22 0a 20 20 20 20 20 20 20 20 20 | .."\\(-?@[a-zA-Z0-9_]".......... |
| 1c560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5b 22 | ............................."[" |
| 1c580 | 20 76 61 6c 69 64 2d 63 69 74 61 74 69 6f 6e 2d 6b 65 79 2d 63 68 61 72 2d 72 65 67 65 78 70 20 | .valid-citation-key-char-regexp. |
| 1c5a0 | 22 5d 2b 5c 5c 29 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 61 73 2d 40 20 28 73 74 72 69 6e | "]+\\)"))..........(has-@.(strin |
| 1c5c0 | 67 2d 6d 61 74 63 68 2d 70 20 63 69 74 61 74 69 6f 6e 2d 6b 65 79 2d 72 65 67 65 78 70 20 6f 72 | g-match-p.citation-key-regexp.or |
| 1c5e0 | 69 67 2d 6f 75 74 66 69 6c 65 2d 63 6f 6e 74 65 6e 74 73 29 29 29 0a 20 20 20 20 3b 3b 20 45 69 | ig-outfile-contents))).....;;.Ei |
| 1c600 | 74 68 65 72 20 74 68 65 20 6e 6f 63 69 74 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 73 68 6f | ther.the.nocite.front-matter.sho |
| 1c620 | 75 6c 64 20 62 65 20 74 68 65 72 65 2c 20 6f 72 20 74 68 65 0a 20 20 20 20 3b 3b 20 63 69 74 61 | uld.be.there,.or.the.....;;.cita |
| 1c640 | 74 69 6f 6e 20 6b 65 79 73 20 73 68 6f 75 6c 64 20 62 65 20 70 72 65 73 65 6e 74 20 69 6e 20 74 | tion.keys.should.be.present.in.t |
| 1c660 | 68 65 20 60 6f 72 69 67 2d 6f 75 74 66 69 6c 65 27 2e 0a 20 20 20 20 28 69 66 20 28 6f 72 20 68 | he.`orig-outfile'......(if.(or.h |
| 1c680 | 61 73 2d 6e 6f 63 69 74 65 20 68 61 73 2d 40 29 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a | as-nocite.has-@).........(progn. |
| 1c6a0 | 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 65 78 65 63 75 74 61 62 6c 65 2d 66 69 | ..........(unless.(executable-fi |
| 1c6c0 | 6e 64 20 22 70 61 6e 64 6f 63 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 72 2d 65 | nd."pandoc").............(user-e |
| 1c6e0 | 72 72 6f 72 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 70 61 6e 64 6f 63 20 65 78 65 63 75 74 61 62 6c | rror."[ox-hugo].pandoc.executabl |
| 1c700 | 65 20 6e 6f 74 20 66 6f 75 6e 64 20 69 6e 20 50 41 54 48 22 29 29 0a 20 20 20 20 20 20 20 20 20 | e.not.found.in.PATH")).......... |
| 1c720 | 20 28 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 70 61 72 73 65 2d 63 69 | .(org-hugo-pandoc-cite--parse-ci |
| 1c740 | 74 61 74 69 6f 6e 73 20 69 6e 66 6f 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 29 29 0a 20 20 20 20 | tations.info.orig-outfile))..... |
| 1c760 | 20 20 28 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 72 65 73 74 6f 72 65 | ..(org-hugo-pandoc-cite--restore |
| 1c780 | 2d 66 6d 2d 69 6e 2d 6f 72 69 67 2d 6f 75 74 66 69 6c 65 0a 20 20 20 20 20 20 20 6f 72 69 67 2d | -fm-in-orig-outfile........orig- |
| 1c7a0 | 6f 75 74 66 69 6c 65 20 66 6d 20 6f 72 69 67 2d 6f 75 74 66 69 6c 65 2d 63 6f 6e 74 65 6e 74 73 | outfile.fm.orig-outfile-contents |
| 1c7c0 | 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 | ))))..(defun.org-hugo-pandoc-cit |
| 1c7e0 | 65 2d 2d 6d 65 74 61 2d 64 61 74 61 2d 67 65 6e 65 72 61 74 6f 72 20 28 64 61 74 61 29 0a 20 20 | e--meta-data-generator.(data)... |
| 1c800 | 22 52 65 74 75 72 6e 20 59 41 4d 4c 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 74 6f 20 70 61 73 | "Return.YAML.front-matter.to.pas |
| 1c820 | 73 20 63 69 74 61 74 69 6f 6e 20 6d 65 74 61 2d 64 61 74 61 20 74 6f 20 50 61 6e 64 6f 63 2e 0a | s.citation.meta-data.to.Pandoc.. |
| 1c840 | 0a 44 41 54 41 20 69 73 20 74 68 65 20 61 6c 69 73 74 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 6c | .DATA.is.the.alist.containing.al |
| 1c860 | 6c 20 74 68 65 20 70 6f 73 74 20 6d 65 74 61 2d 64 61 74 61 20 66 6f 72 0a 66 72 6f 6e 74 2d 6d | l.the.post.meta-data.for.front-m |
| 1c880 | 61 74 74 65 72 20 67 65 6e 65 72 61 74 69 6f 6e 2e 0a 0a 50 61 6e 64 6f 63 20 61 63 63 65 70 74 | atter.generation...Pandoc.accept |
| 1c8a0 | 73 20 60 63 73 6c 27 2c 20 60 6e 6f 63 69 74 65 27 20 61 6e 64 20 60 6c 69 6e 6b 2d 63 69 74 61 | s.`csl',.`nocite'.and.`link-cita |
| 1c8c0 | 74 69 6f 6e 73 27 20 76 61 72 69 61 62 6c 65 73 20 76 69 61 0a 61 20 59 41 4d 4c 20 66 72 6f 6e | tions'.variables.via.a.YAML.fron |
| 1c8e0 | 74 2d 6d 61 74 74 65 72 2e 0a 0a 52 65 66 65 72 65 6e 63 65 73 3a 0a 2d 20 68 74 74 70 73 3a 2f | t-matter...References:.-.https:/ |
| 1c900 | 2f 70 61 6e 64 6f 63 2e 6f 72 67 2f 4d 41 4e 55 41 4c 2e 68 74 6d 6c 23 63 69 74 61 74 69 6f 6e | /pandoc.org/MANUAL.html#citation |
| 1c920 | 2d 72 65 6e 64 65 72 69 6e 67 0a 2d 20 68 74 74 70 73 3a 2f 2f 70 61 6e 64 6f 63 2e 6f 72 67 2f | -rendering.-.https://pandoc.org/ |
| 1c940 | 4d 41 4e 55 41 4c 2e 68 74 6d 6c 23 69 6e 63 6c 75 64 69 6e 67 2d 75 6e 63 69 74 65 64 2d 69 74 | MANUAL.html#including-uncited-it |
| 1c960 | 65 6d 73 2d 69 6e 2d 74 68 65 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 0a 2d 20 68 74 74 70 73 3a | ems-in-the-bibliography.-.https: |
| 1c980 | 2f 2f 70 61 6e 64 6f 63 2e 6f 72 67 2f 4d 41 4e 55 41 4c 2e 68 74 6d 6c 23 6f 74 68 65 72 2d 72 | //pandoc.org/MANUAL.html#other-r |
| 1c9a0 | 65 6c 65 76 61 6e 74 2d 6d 65 74 61 64 61 74 61 2d 66 69 65 6c 64 73 22 0a 20 20 28 6c 65 74 2a | elevant-metadata-fields"...(let* |
| 1c9c0 | 20 28 28 79 61 6d 6c 20 28 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 2d 63 69 74 61 74 | .((yaml.())..........(link-citat |
| 1c9e0 | 69 6f 6e 73 20 28 63 64 72 20 28 61 73 73 6f 63 20 27 6c 69 6e 6b 2d 63 69 74 61 74 69 6f 6e 73 | ions.(cdr.(assoc.'link-citations |
| 1ca00 | 20 64 61 74 61 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 2d 63 69 74 61 74 69 6f 6e | .data)))..........(link-citation |
| 1ca20 | 73 20 28 69 66 20 28 73 79 6d 62 6f 6c 70 20 6c 69 6e 6b 2d 63 69 74 61 74 69 6f 6e 73 29 0a 20 | s.(if.(symbolp.link-citations).. |
| 1ca40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 79 6d | ............................(sym |
| 1ca60 | 62 6f 6c 2d 6e 61 6d 65 20 6c 69 6e 6b 2d 63 69 74 61 74 69 6f 6e 73 29 0a 20 20 20 20 20 20 20 | bol-name.link-citations)........ |
| 1ca80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 6b 2d 63 69 74 61 74 69 6f | ....................link-citatio |
| 1caa0 | 6e 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 73 6c 20 28 63 64 72 20 28 61 73 73 6f 63 20 27 | ns))..........(csl.(cdr.(assoc.' |
| 1cac0 | 63 73 6c 20 64 61 74 61 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6e 6f 63 69 74 65 20 28 63 64 | csl.data)))..........(nocite.(cd |
| 1cae0 | 72 20 28 61 73 73 6f 63 20 27 6e 6f 63 69 74 65 20 64 61 74 61 29 29 29 29 0a 20 20 20 20 28 70 | r.(assoc.'nocite.data)))).....(p |
| 1cb00 | 75 73 68 20 22 2d 2d 2d 22 20 79 61 6d 6c 29 0a 20 20 20 20 28 77 68 65 6e 20 6c 69 6e 6b 2d 63 | ush."---".yaml).....(when.link-c |
| 1cb20 | 69 74 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 28 70 75 73 68 20 28 66 6f 72 6d 61 74 20 22 6c 69 | itations.......(push.(format."li |
| 1cb40 | 6e 6b 2d 63 69 74 61 74 69 6f 6e 73 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nk-citations:.%s"............... |
| 1cb60 | 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 | ......(org-hugo--front-matter-va |
| 1cb80 | 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 6c 69 6e 6b 2d 63 69 74 61 74 69 6f 6e 73 29 29 0a | lue-booleanize.link-citations)). |
| 1cba0 | 20 20 20 20 20 20 20 20 20 20 20 20 79 61 6d 6c 29 29 0a 20 20 20 20 28 77 68 65 6e 20 63 73 6c | ............yaml)).....(when.csl |
| 1cbc0 | 0a 20 20 20 20 20 20 28 70 75 73 68 20 28 66 6f 72 6d 61 74 20 22 63 73 6c 3a 20 25 53 22 20 63 | .......(push.(format."csl:.%S".c |
| 1cbe0 | 73 6c 29 20 79 61 6d 6c 29 29 0a 20 20 20 20 28 77 68 65 6e 20 6e 6f 63 69 74 65 0a 20 20 20 20 | sl).yaml)).....(when.nocite..... |
| 1cc00 | 20 20 28 70 75 73 68 20 28 66 6f 72 6d 61 74 20 22 6e 6f 63 69 74 65 3a 20 5b 25 73 5d 22 0a 20 | ..(push.(format."nocite:.[%s]".. |
| 1cc20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 6a 6f 69 6e 0a | ...................(string-join. |
| 1cc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 61 72 20 28 6c 61 | .....................(mapcar.(la |
| 1cc60 | 6d 62 64 61 20 28 65 6c 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mbda.(elem)..................... |
| 1cc80 | 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 53 22 20 28 73 79 6d 62 6f 6c 2d | ...........(format."%S".(symbol- |
| 1cca0 | 6e 61 6d 65 20 65 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | name.elem))).................... |
| 1ccc0 | 20 20 20 20 20 20 20 20 20 20 6e 6f 63 69 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........nocite)............... |
| 1cce0 | 20 20 20 20 20 20 20 22 2c 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 79 61 6d 6c 29 29 | .......",.")).............yaml)) |
| 1cd00 | 0a 20 20 20 20 28 70 75 73 68 20 22 2d 2d 2d 5c 6e 22 20 79 61 6d 6c 29 0a 20 20 20 20 3b 3b 20 | .....(push."---\n".yaml).....;;. |
| 1cd20 | 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d | (message."[org-hugo-pandoc-cite- |
| 1cd40 | 2d 6d 65 74 61 2d 64 61 74 61 2d 67 65 6e 65 72 61 74 6f 72 20 44 42 47 5d 20 79 61 6d 6c 3a 20 | -meta-data-generator.DBG].yaml:. |
| 1cd60 | 25 53 22 20 79 61 6d 6c 29 0a 20 20 20 20 28 73 74 72 69 6e 67 2d 6a 6f 69 6e 20 28 6e 72 65 76 | %S".yaml).....(string-join.(nrev |
| 1cd80 | 65 72 73 65 20 79 61 6d 6c 29 20 22 5c 6e 22 29 29 29 0a 0a 0a 28 70 72 6f 76 69 64 65 20 27 6f | erse.yaml)."\n")))...(provide.'o |
| 1cda0 | 78 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 29 0a 0a 0a 0c 0a 3b 3b 3b 20 46 6f 6f 74 | x-hugo-pandoc-cite).....;;;.Foot |
| 1cdc0 | 6e 6f 74 65 73 0a 0a 3b 3b 3b 3b 20 46 6f 6f 74 6e 6f 74 65 20 31 0a 3b 3b 20 54 68 65 20 65 6d | notes..;;;;.Footnote.1.;;.The.em |
| 1cde0 | 70 74 79 20 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 20 74 61 67 73 20 6c 69 6b 65 20 22 3c 64 69 76 | pty.HTML.element.tags.like."<div |
| 1ce00 | 3e 3c 2f 64 69 76 3e 22 20 69 73 20 61 20 68 61 63 6b 20 74 6f 20 67 65 74 0a 3b 3b 20 61 72 6f | ></div>".is.a.hack.to.get.;;.aro |
| 1ce20 | 75 6e 64 20 61 20 42 6c 61 63 6b 66 72 69 64 61 79 20 6c 69 6d 69 74 61 74 69 6f 6e 2e 20 20 44 | und.a.Blackfriday.limitation...D |
| 1ce40 | 65 74 61 69 6c 73 3a 0a 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 | etails:.;;.https://github.com/ka |
| 1ce60 | 75 73 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 69 73 73 75 65 73 2f 39 33 2e 0a 0a 0a 3b | ushalmodi/ox-hugo/issues/93....; |
| 1ce80 | 3b 3b 20 6f 78 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2e 65 6c 20 65 6e 64 73 20 68 | ;;.ox-hugo-pandoc-cite.el.ends.h |
| 1cea0 | 65 72 65 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ere............................. |
| 1cec0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cee0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cf00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cf20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cf40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cf60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cf80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cfa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cfc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1cfe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d000 | 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 32 31 32 2e 33 31 30 2f 6f 78 2d 68 75 67 6f 2d 70 6b 67 | ox-hugo-20250212.310/ox-hugo-pkg |
| 1d020 | 2e 65 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .el............................. |
| 1d040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d060 | 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 | ....0000644.0000000.0000000.0000 |
| 1d080 | 30 30 30 31 30 36 37 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 34 37 37 33 00 20 30 00 00 00 | 0001067.00000000000.014773..0... |
| 1d0a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d0c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d0e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d100 | 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar...root................... |
| 1d120 | 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........root................... |
| 1d140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d1a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d1c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d1e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d200 | 3b 3b 20 2d 2a 2d 20 6e 6f 2d 62 79 74 65 2d 63 6f 6d 70 69 6c 65 3a 20 74 3b 20 6c 65 78 69 63 | ;;.-*-.no-byte-compile:.t;.lexic |
| 1d220 | 61 6c 2d 62 69 6e 64 69 6e 67 3a 20 6e 69 6c 20 2d 2a 2d 0a 28 64 65 66 69 6e 65 2d 70 61 63 6b | al-binding:.nil.-*-.(define-pack |
| 1d240 | 61 67 65 20 22 6f 78 2d 68 75 67 6f 22 20 22 32 30 32 35 30 32 31 32 2e 33 31 30 22 0a 20 20 22 | age."ox-hugo"."20250212.310"..." |
| 1d260 | 48 75 67 6f 20 4d 61 72 6b 64 6f 77 6e 20 42 61 63 6b 2d 45 6e 64 20 66 6f 72 20 4f 72 67 20 45 | Hugo.Markdown.Back-End.for.Org.E |
| 1d280 | 78 70 6f 72 74 20 45 6e 67 69 6e 65 2e 22 0a 20 20 27 28 28 65 6d 61 63 73 20 20 22 32 36 2e 33 | xport.Engine."...'((emacs.."26.3 |
| 1d2a0 | 22 29 0a 20 20 20 20 28 74 6f 6d 65 6c 72 20 22 30 2e 34 2e 33 22 29 29 0a 20 20 3a 75 72 6c 20 | ").....(tomelr."0.4.3"))...:url. |
| 1d2c0 | 22 68 74 74 70 73 3a 2f 2f 6f 78 2d 68 75 67 6f 2e 73 63 72 69 70 74 65 72 2e 63 6f 22 0a 20 20 | "https://ox-hugo.scripter.co"... |
| 1d2e0 | 3a 63 6f 6d 6d 69 74 20 22 61 37 36 34 31 66 63 38 31 30 63 35 65 31 35 31 34 32 61 33 63 65 64 | :commit."a7641fc810c5e15142a3ced |
| 1d300 | 65 33 61 34 33 39 61 33 31 38 39 39 32 39 62 66 35 22 0a 20 20 3a 72 65 76 64 65 73 63 20 22 61 | e3a439a3189929bf5"...:revdesc."a |
| 1d320 | 37 36 34 31 66 63 38 31 30 63 35 22 0a 20 20 3a 6b 65 79 77 6f 72 64 73 20 27 28 22 6f 72 67 22 | 7641fc810c5"...:keywords.'("org" |
| 1d340 | 20 22 6d 61 72 6b 64 6f 77 6e 22 20 22 64 6f 63 73 22 29 0a 20 20 3a 61 75 74 68 6f 72 73 20 27 | ."markdown"."docs")...:authors.' |
| 1d360 | 28 28 22 4b 61 75 73 68 61 6c 20 4d 6f 64 69 22 20 2e 20 22 6b 61 75 73 68 61 6c 2e 6d 6f 64 69 | (("Kaushal.Modi"..."kaushal.modi |
| 1d380 | 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 22 4d 61 74 74 | @gmail.com")..............("Matt |
| 1d3a0 | 20 50 72 69 63 65 22 20 2e 20 22 6d 6f 70 74 6f 70 39 39 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 29 | .Price"..."moptop99@gmail.com")) |
| 1d3c0 | 0a 20 20 3a 6d 61 69 6e 74 61 69 6e 65 72 73 20 27 28 28 22 4b 61 75 73 68 61 6c 20 4d 6f 64 69 | ...:maintainers.'(("Kaushal.Modi |
| 1d3e0 | 22 20 2e 20 22 6b 61 75 73 68 61 6c 2e 6d 6f 64 69 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 0a 20 20 | "..."kaushal.modi@gmail.com")... |
| 1d400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 22 4d 61 74 74 20 50 72 69 63 65 22 20 2e 20 22 | ...............("Matt.Price"..." |
| 1d420 | 6d 6f 70 74 6f 70 39 39 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 29 29 0a 00 00 00 00 00 00 00 00 00 | moptop99@gmail.com"))).......... |
| 1d440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d460 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d480 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d4a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d4c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d4e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d500 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d540 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d5a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d5c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d5e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d600 | 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 32 31 32 2e 33 31 30 2f 6f 78 2d 68 75 67 6f 2e 65 6c 00 | ox-hugo-20250212.310/ox-hugo.el. |
| 1d620 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d660 | 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 | ....0000644.0000000.0000000.0000 |
| 1d680 | 30 37 34 35 36 34 37 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 34 32 33 37 00 20 30 00 00 00 | 0745647.00000000000.014237..0... |
| 1d6a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d6c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d6e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d700 | 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar...root................... |
| 1d720 | 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........root................... |
| 1d740 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d7a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d7c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d7e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1d800 | 3b 3b 3b 20 6f 78 2d 68 75 67 6f 2e 65 6c 20 2d 2d 2d 20 48 75 67 6f 20 4d 61 72 6b 64 6f 77 6e | ;;;.ox-hugo.el.---.Hugo.Markdown |
| 1d820 | 20 42 61 63 6b 2d 45 6e 64 20 66 6f 72 20 4f 72 67 20 45 78 70 6f 72 74 20 45 6e 67 69 6e 65 20 | .Back-End.for.Org.Export.Engine. |
| 1d840 | 20 2d 2a 2d 20 6c 65 78 69 63 61 6c 2d 62 69 6e 64 69 6e 67 3a 20 74 20 2d 2a 2d 0a 0a 3b 3b 20 | .-*-.lexical-binding:.t.-*-..;;. |
| 1d860 | 41 75 74 68 6f 72 3a 20 4b 61 75 73 68 61 6c 20 4d 6f 64 69 20 3c 6b 61 75 73 68 61 6c 2e 6d 6f | Author:.Kaushal.Modi.<kaushal.mo |
| 1d880 | 64 69 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 3b 3b 20 20 20 20 20 20 20 20 20 4d 61 74 74 20 50 72 | di@gmail.com>.;;.........Matt.Pr |
| 1d8a0 | 69 63 65 20 3c 6d 6f 70 74 6f 70 39 39 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 3b 3b 20 50 61 63 6b | ice.<moptop99@gmail.com>.;;.Pack |
| 1d8c0 | 61 67 65 2d 56 65 72 73 69 6f 6e 3a 20 32 30 32 35 30 32 31 32 2e 33 31 30 0a 3b 3b 20 50 61 63 | age-Version:.20250212.310.;;.Pac |
| 1d8e0 | 6b 61 67 65 2d 52 65 76 69 73 69 6f 6e 3a 20 61 37 36 34 31 66 63 38 31 30 63 35 0a 3b 3b 20 50 | kage-Revision:.a7641fc810c5.;;.P |
| 1d900 | 61 63 6b 61 67 65 2d 52 65 71 75 69 72 65 73 3a 20 28 28 65 6d 61 63 73 20 22 32 36 2e 33 22 29 | ackage-Requires:.((emacs."26.3") |
| 1d920 | 20 28 74 6f 6d 65 6c 72 20 22 30 2e 34 2e 33 22 29 29 0a 3b 3b 20 4b 65 79 77 6f 72 64 73 3a 20 | .(tomelr."0.4.3")).;;.Keywords:. |
| 1d940 | 4f 72 67 2c 20 6d 61 72 6b 64 6f 77 6e 2c 20 64 6f 63 73 0a 3b 3b 20 55 52 4c 3a 20 68 74 74 70 | Org,.markdown,.docs.;;.URL:.http |
| 1d960 | 73 3a 2f 2f 6f 78 2d 68 75 67 6f 2e 73 63 72 69 70 74 65 72 2e 63 6f 0a 0a 3b 3b 20 54 68 69 73 | s://ox-hugo.scripter.co..;;.This |
| 1d980 | 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 70 61 72 74 20 6f 66 20 47 4e 55 20 45 6d 61 63 73 2e 0a | .file.is.not.part.of.GNU.Emacs.. |
| 1d9a0 | 0a 3b 3b 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 66 72 65 65 20 73 6f 66 74 77 61 72 | .;;.This.program.is.free.softwar |
| 1d9c0 | 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 20 61 6e 64 2f 6f | e;.you.can.redistribute.it.and/o |
| 1d9e0 | 72 20 6d 6f 64 69 66 79 0a 3b 3b 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f | r.modify.;;.it.under.the.terms.o |
| 1da00 | 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 | f.the.GNU.General.Public.License |
| 1da20 | 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62 79 0a 3b 3b 20 74 68 65 20 46 72 65 65 20 53 6f 66 | .as.published.by.;;.the.Free.Sof |
| 1da40 | 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 65 69 74 68 65 72 20 76 65 72 73 69 6f 6e | tware.Foundation,.either.version |
| 1da60 | 20 33 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 0a 3b 3b 20 28 61 74 20 79 6f 75 | .3.of.the.License,.or.;;.(at.you |
| 1da80 | 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 2e 0a 0a 3b 3b | r.option).any.later.version...;; |
| 1daa0 | 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 69 6e 20 | .This.program.is.distributed.in. |
| 1dac0 | 74 68 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65 20 75 73 65 66 75 6c 2c | the.hope.that.it.will.be.useful, |
| 1dae0 | 0a 3b 3b 20 62 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52 41 4e 54 59 3b 20 77 69 | .;;.but.WITHOUT.ANY.WARRANTY;.wi |
| 1db00 | 74 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 20 | thout.even.the.implied.warranty. |
| 1db20 | 6f 66 0a 3b 3b 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 | of.;;.MERCHANTABILITY.or.FITNESS |
| 1db40 | 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 | .FOR.A.PARTICULAR.PURPOSE...See. |
| 1db60 | 74 68 65 0a 3b 3b 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 | the.;;.GNU.General.Public.Licens |
| 1db80 | 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 2e 0a 0a 3b 3b 20 59 6f 75 20 73 68 6f 75 | e.for.more.details...;;.You.shou |
| 1dba0 | 6c 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 | ld.have.received.a.copy.of.the.G |
| 1dbc0 | 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 0a 3b 3b 20 61 6c 6f | NU.General.Public.License.;;.alo |
| 1dbe0 | 6e 67 20 77 69 74 68 20 74 68 69 73 20 70 72 6f 67 72 61 6d 2e 20 20 49 66 20 6e 6f 74 2c 20 73 | ng.with.this.program...If.not,.s |
| 1dc00 | 65 65 20 3c 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69 63 65 6e 73 65 73 | ee.<https://www.gnu.org/licenses |
| 1dc20 | 2f 3e 2e 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e 74 61 72 79 3a 0a 0a 3b 3b 20 6f 78 2d 68 75 67 6f | />...;;;.Commentary:..;;.ox-hugo |
| 1dc40 | 20 69 6d 70 6c 65 6d 65 6e 74 73 20 61 20 4d 61 72 6b 64 6f 77 6e 20 62 61 63 6b 2d 65 6e 64 20 | .implements.a.Markdown.back-end. |
| 1dc60 | 66 6f 72 20 4f 72 67 20 65 78 70 6f 72 74 65 72 2e 20 20 54 68 65 0a 3b 3b 20 65 78 70 6f 72 74 | for.Org.exporter...The.;;.export |
| 1dc80 | 65 64 20 4d 61 72 6b 64 6f 77 6e 20 69 73 20 63 6f 6d 70 61 74 69 62 6c 65 20 77 69 74 68 20 74 | ed.Markdown.is.compatible.with.t |
| 1dca0 | 68 65 20 48 75 67 6f 20 73 74 61 74 69 63 20 73 69 74 65 20 67 65 6e 65 72 61 74 6f 72 0a 3b 3b | he.Hugo.static.site.generator.;; |
| 1dcc0 | 20 28 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f 29 2e 20 20 54 68 69 73 20 65 78 70 | .(https://gohugo.io/)...This.exp |
| 1dce0 | 6f 72 74 65 72 20 61 6c 73 6f 20 67 65 6e 65 72 61 74 65 73 20 74 68 65 20 70 6f 73 74 0a 3b 3b | orter.also.generates.the.post.;; |
| 1dd00 | 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 6e 20 54 4f 4d 4c 20 6f 72 20 59 41 4d 4c 2e 0a 0a | .front-matter.in.TOML.or.YAML... |
| 1dd20 | 3b 3b 20 54 6f 20 73 74 61 72 74 20 75 73 69 6e 67 20 74 68 69 73 20 65 78 70 6f 72 74 65 72 2c | ;;.To.start.using.this.exporter, |
| 1dd40 | 20 61 64 64 20 74 68 65 20 62 65 6c 6f 77 20 74 6f 20 79 6f 75 72 20 45 6d 61 63 73 20 63 6f 6e | .add.the.below.to.your.Emacs.con |
| 1dd60 | 66 69 67 3a 0a 3b 3b 0a 3b 3b 20 20 20 28 77 69 74 68 2d 65 76 61 6c 2d 61 66 74 65 72 2d 6c 6f | fig:.;;.;;...(with-eval-after-lo |
| 1dd80 | 61 64 20 27 6f 78 0a 3b 3b 20 20 20 20 20 28 72 65 71 75 69 72 65 20 27 6f 78 2d 68 75 67 6f 29 | ad.'ox.;;.....(require.'ox-hugo) |
| 1dda0 | 29 0a 3b 3b 0a 3b 3b 20 57 69 74 68 20 74 68 65 20 61 62 6f 76 65 20 65 76 61 6c 75 61 74 65 64 | ).;;.;;.With.the.above.evaluated |
| 1ddc0 | 2c 20 74 68 65 20 6f 78 2d 68 75 67 6f 20 65 78 70 6f 72 74 65 72 20 6f 70 74 69 6f 6e 73 20 77 | ,.the.ox-hugo.exporter.options.w |
| 1dde0 | 69 6c 6c 20 62 65 0a 3b 3b 20 61 76 61 69 6c 61 62 6c 65 20 69 6e 20 74 68 65 20 4f 72 67 20 45 | ill.be.;;.available.in.the.Org.E |
| 1de00 | 78 70 6f 72 74 20 44 69 73 70 61 74 63 68 65 72 2e 20 20 54 68 65 20 6f 78 2d 68 75 67 6f 20 65 | xport.Dispatcher...The.ox-hugo.e |
| 1de20 | 78 70 6f 72 74 0a 3b 3b 20 63 6f 6d 6d 61 6e 64 73 20 68 61 76 65 20 62 69 6e 64 69 6e 67 73 20 | xport.;;.commands.have.bindings. |
| 1de40 | 62 65 67 69 6e 6e 69 6e 67 20 77 69 74 68 20 22 48 22 20 28 66 6f 72 20 48 75 67 6f 29 2e 0a 3b | beginning.with."H".(for.Hugo)..; |
| 1de60 | 3b 0a 3b 3b 20 23 20 42 6c 6f 67 67 69 6e 67 20 46 6c 6f 77 73 0a 3b 3b 0a 3b 3b 20 31 2e 20 6f | ;.;;.#.Blogging.Flows.;;.;;.1..o |
| 1de80 | 6e 65 2d 70 6f 73 74 2d 70 65 72 2d 73 75 62 74 72 65 65 20 66 6c 6f 77 20 3a 3a 20 41 20 73 69 | ne-post-per-subtree.flow.::.A.si |
| 1dea0 | 6e 67 6c 65 20 4f 72 67 20 66 69 6c 65 20 63 61 6e 20 68 61 76 65 20 6d 75 6c 74 69 70 6c 65 0a | ngle.Org.file.can.have.multiple. |
| 1dec0 | 3b 3b 20 20 20 20 20 20 4f 72 67 20 73 75 62 74 72 65 65 73 20 77 68 69 63 68 20 65 78 70 6f 72 | ;;......Org.subtrees.which.expor |
| 1dee0 | 74 20 74 6f 20 69 6e 64 69 76 69 64 75 61 6c 20 48 75 67 6f 20 70 6f 73 74 73 2e 20 20 45 61 63 | t.to.individual.Hugo.posts...Eac |
| 1df00 | 68 20 6f 66 0a 3b 3b 20 20 20 20 20 20 74 68 6f 73 65 20 73 75 62 74 72 65 65 73 20 74 68 61 74 | h.of.;;......those.subtrees.that |
| 1df20 | 20 68 61 73 20 74 68 65 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 | .has.the.EXPORT_FILE_NAME.proper |
| 1df40 | 74 79 20 73 65 74 20 69 73 0a 3b 3b 20 20 20 20 20 20 63 61 6c 6c 65 64 20 61 20 27 76 61 6c 69 | ty.set.is.;;......called.a.'vali |
| 1df60 | 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 27 20 69 6e 20 74 68 69 73 20 70 61 63 | d.Hugo.post.subtree'.in.this.pac |
| 1df80 | 6b 61 67 65 20 61 6e 64 20 69 74 73 0a 3b 3b 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 61 74 69 | kage.and.its.;;......documentati |
| 1dfa0 | 6f 6e 2e 0a 3b 3b 0a 3b 3b 20 32 2e 20 6f 6e 65 2d 70 6f 73 74 2d 70 65 72 2d 66 69 6c 65 20 66 | on..;;.;;.2..one-post-per-file.f |
| 1dfc0 | 6c 6f 77 20 3a 3a 20 41 20 73 69 6e 67 6c 65 20 4f 72 67 20 66 69 6c 65 20 65 78 70 6f 72 74 73 | low.::.A.single.Org.file.exports |
| 1dfe0 | 20 74 6f 20 6f 6e 6c 79 0a 3b 3b 20 20 20 20 20 20 2a 6f 6e 65 2a 20 48 75 67 6f 20 70 6f 73 74 | .to.only.;;......*one*.Hugo.post |
| 1e000 | 2e 20 20 41 6e 20 4f 72 67 20 66 69 6c 65 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 65 78 | ...An.Org.file.intended.to.be.ex |
| 1e020 | 70 6f 72 74 65 64 20 62 79 20 74 68 69 73 0a 3b 3b 20 20 20 20 20 20 66 6c 6f 77 20 6d 75 73 74 | ported.by.this.;;......flow.must |
| 1e040 | 20 6e 6f 74 20 68 61 76 65 20 61 6e 79 20 27 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 | .not.have.any.'valid.Hugo.post.s |
| 1e060 | 75 62 74 72 65 65 73 27 2c 20 61 6e 64 20 69 6e 73 74 65 61 64 0a 3b 3b 20 20 20 20 20 20 6d 75 | ubtrees',.and.instead.;;......mu |
| 1e080 | 73 74 20 68 61 76 65 20 74 68 65 20 23 2b 74 69 74 6c 65 20 70 72 6f 70 65 72 74 79 20 73 65 74 | st.have.the.#+title.property.set |
| 1e0a0 | 2e 0a 3b 3b 0a 3b 3b 20 23 20 43 6f 6d 6d 6f 6e 6c 79 20 75 73 65 64 20 65 78 70 6f 72 74 20 63 | ..;;.;;.#.Commonly.used.export.c |
| 1e0c0 | 6f 6d 6d 61 6e 64 73 0a 3b 3b 0a 3b 3b 20 23 23 20 46 6f 72 20 62 6f 74 68 20 6f 6e 65 2d 70 6f | ommands.;;.;;.##.For.both.one-po |
| 1e0e0 | 73 74 2d 70 65 72 2d 73 75 62 74 72 65 65 20 61 6e 64 20 6f 6e 65 2d 70 6f 73 74 2d 70 65 72 2d | st-per-subtree.and.one-post-per- |
| 1e100 | 66 69 6c 65 20 66 6c 6f 77 73 0a 3b 3b 0a 3b 3b 20 20 20 20 2d 20 43 2d 63 20 43 2d 65 20 48 20 | file.flows.;;.;;....-.C-c.C-e.H. |
| 1e120 | 48 20 20 2d 3e 20 45 78 70 6f 72 74 20 22 57 68 61 74 20 49 20 4d 65 61 6e 22 2e 0a 3b 3b 20 20 | H..->.Export."What.I.Mean"..;;.. |
| 1e140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 49 66 20 70 6f 69 6e 74 20 69 | ....................-.If.point.i |
| 1e160 | 73 20 69 6e 20 61 20 27 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 27 | s.in.a.'valid.Hugo.post.subtree' |
| 1e180 | 2c 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 6f | ,.;;........................expo |
| 1e1a0 | 72 74 20 74 68 61 74 20 73 75 62 74 72 65 65 20 74 6f 20 61 20 48 75 67 6f 20 70 6f 73 74 20 69 | rt.that.subtree.to.a.Hugo.post.i |
| 1e1c0 | 6e 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 72 6b | n.;;........................Mark |
| 1e1e0 | 64 6f 77 6e 2e 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 | down..;;......................-. |
| 1e200 | 49 66 20 74 68 65 20 66 69 6c 65 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 65 78 | If.the.file.is.intended.to.be.ex |
| 1e220 | 70 6f 72 74 65 64 20 61 73 20 61 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ported.as.a.;;.................. |
| 1e240 | 20 20 20 20 20 20 77 68 6f 6c 65 20 28 69 2e 65 2e 20 68 61 73 20 74 68 65 20 23 2b 74 69 74 6c | ......whole.(i.e..has.the.#+titl |
| 1e260 | 65 20 6b 65 79 77 6f 72 64 29 2c 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.keyword),.;;.................. |
| 1e280 | 20 20 20 20 20 20 65 78 70 6f 72 74 20 74 68 65 20 77 68 6f 6c 65 20 4f 72 67 20 66 69 6c 65 20 | ......export.the.whole.Org.file. |
| 1e2a0 | 74 6f 20 61 20 48 75 67 6f 20 70 6f 73 74 20 69 6e 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 | to.a.Hugo.post.in.;;............ |
| 1e2c0 | 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 72 6b 64 6f 77 6e 2e 0a 3b 3b 0a 3b 3b 20 20 20 20 2d | ............Markdown..;;.;;....- |
| 1e2e0 | 20 43 2d 63 20 43 2d 65 20 48 20 41 20 20 2d 3e 20 45 78 70 6f 72 74 20 2a 61 6c 6c 2a 20 22 57 | .C-c.C-e.H.A..->.Export.*all*."W |
| 1e300 | 68 61 74 20 49 20 4d 65 61 6e 22 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hat.I.Mean".;;.................. |
| 1e320 | 20 20 20 20 2d 20 49 66 20 74 68 65 20 4f 72 67 20 66 69 6c 65 20 68 61 73 20 6f 6e 65 20 6f 72 | ....-.If.the.Org.file.has.one.or |
| 1e340 | 20 6d 6f 72 65 20 27 76 61 6c 69 64 20 48 75 67 6f 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 | .more.'valid.Hugo.;;............ |
| 1e360 | 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 74 20 73 75 62 74 72 65 65 73 27 2c 20 65 78 70 6f | ............post.subtrees',.expo |
| 1e380 | 72 74 20 74 68 65 6d 20 74 6f 20 48 75 67 6f 20 70 6f 73 74 73 20 69 6e 0a 3b 3b 20 20 20 20 20 | rt.them.to.Hugo.posts.in.;;..... |
| 1e3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 72 6b 64 6f 77 6e 2e 0a 3b 3b 20 | ...................Markdown..;;. |
| 1e3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 49 66 20 74 68 65 20 66 69 | .....................-.If.the.fi |
| 1e3e0 | 6c 65 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 65 78 70 6f 72 74 65 64 20 61 73 | le.is.intended.to.be.exported.as |
| 1e400 | 20 61 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 6f | .a.;;........................who |
| 1e420 | 6c 65 20 28 69 2e 65 2e 20 6e 6f 20 27 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 | le.(i.e..no.'valid.Hugo.post.sub |
| 1e440 | 74 72 65 65 73 27 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | trees'.;;....................... |
| 1e460 | 20 61 74 20 61 6c 6c 2c 20 61 6e 64 20 68 61 73 20 74 68 65 20 23 2b 74 69 74 6c 65 20 6b 65 79 | .at.all,.and.has.the.#+title.key |
| 1e480 | 77 6f 72 64 29 2c 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | word),.;;....................... |
| 1e4a0 | 20 65 78 70 6f 72 74 20 74 68 65 20 77 68 6f 6c 65 20 4f 72 67 20 66 69 6c 65 20 74 6f 20 61 20 | .export.the.whole.Org.file.to.a. |
| 1e4c0 | 48 75 67 6f 20 70 6f 73 74 20 69 6e 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Hugo.post.in.;;................. |
| 1e4e0 | 20 20 20 20 20 20 20 4d 61 72 6b 64 6f 77 6e 2e 0a 3b 3b 0a 3b 3b 20 23 23 20 46 6f 72 20 6f 6e | .......Markdown..;;.;;.##.For.on |
| 1e500 | 6c 79 20 74 68 65 20 6f 6e 65 2d 70 6f 73 74 2d 70 65 72 2d 66 69 6c 65 20 66 6c 6f 77 0a 3b 3b | ly.the.one-post-per-file.flow.;; |
| 1e520 | 0a 3b 3b 20 20 20 20 2d 20 43 2d 63 20 43 2d 65 20 48 20 68 20 20 2d 3e 20 45 78 70 6f 72 74 20 | .;;....-.C-c.C-e.H.h..->.Export. |
| 1e540 | 74 68 65 20 4f 72 67 20 66 69 6c 65 20 74 6f 20 61 20 48 75 67 6f 20 70 6f 73 74 20 69 6e 20 4d | the.Org.file.to.a.Hugo.post.in.M |
| 1e560 | 61 72 6b 64 6f 77 6e 2e 0a 0a 3b 3b 20 44 6f 20 4d 2d 78 20 63 75 73 74 6f 6d 69 7a 65 2d 67 72 | arkdown...;;.Do.M-x.customize-gr |
| 1e580 | 6f 75 70 2c 20 61 6e 64 20 73 65 6c 65 63 74 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f | oup,.and.select.`org-export-hugo |
| 1e5a0 | 27 20 74 6f 20 73 65 65 20 74 68 65 0a 3b 3b 20 61 76 61 69 6c 61 62 6c 65 20 63 75 73 74 6f 6d | '.to.see.the.;;.available.custom |
| 1e5c0 | 69 7a 61 74 69 6f 6e 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 69 73 20 70 61 63 6b 61 67 65 | ization.options.for.this.package |
| 1e5e0 | 2e 0a 0a 3b 3b 20 53 65 65 20 74 68 69 73 20 70 61 63 6b 61 67 65 27 73 20 77 65 62 73 69 74 65 | ...;;.See.this.package's.website |
| 1e600 | 20 66 6f 72 20 6d 6f 72 65 20 69 6e 73 74 72 75 63 74 69 6f 6e 73 20 61 6e 64 20 65 78 61 6d 70 | .for.more.instructions.and.examp |
| 1e620 | 6c 65 73 3a 0a 3b 3b 0a 3b 3b 20 20 20 68 74 74 70 73 3a 2f 2f 6f 78 2d 68 75 67 6f 2e 73 63 72 | les:.;;.;;...https://ox-hugo.scr |
| 1e640 | 69 70 74 65 72 2e 63 6f 0a 0a 3b 3b 3b 20 43 6f 64 65 3a 0a 0a 28 72 65 71 75 69 72 65 20 27 74 | ipter.co..;;;.Code:..(require.'t |
| 1e660 | 6f 6d 65 6c 72 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 6f | omelr).......................;Fo |
| 1e680 | 72 20 60 74 6f 6d 65 6c 72 2d 65 6e 63 6f 64 65 27 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 78 2d | r.`tomelr-encode'..(require.'ox- |
| 1e6a0 | 62 6c 61 63 6b 66 72 69 64 61 79 29 0a 0a 28 72 65 71 75 69 72 65 20 27 66 66 61 70 29 20 20 20 | blackfriday)..(require.'ffap)... |
| 1e6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 6f 72 20 60 66 66 61 70 | ......................;For.`ffap |
| 1e6e0 | 2d 75 72 6c 2d 72 65 67 65 78 70 27 0a 28 72 65 71 75 69 72 65 20 27 6f 62 2d 63 6f 72 65 29 20 | -url-regexp'.(require.'ob-core). |
| 1e700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 6f 72 20 60 6f 72 67 2d 62 | .....................;For.`org-b |
| 1e720 | 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d 65 6e 74 73 27 0a 3b 3b 20 | abel-parse-header-arguments'.;;. |
| 1e740 | 60 6f 72 67 2d 72 65 66 69 6c 65 2e 65 6c 27 20 69 73 20 6e 65 77 20 69 6e 20 4f 72 67 20 39 2e | `org-refile.el'.is.new.in.Org.9. |
| 1e760 | 34 0a 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 2e 73 61 76 61 6e 6e 61 68 2e 67 6e 75 2e 6f 72 | 4.;;.https://git.savannah.gnu.or |
| 1e780 | 67 2f 63 67 69 74 2f 65 6d 61 63 73 2f 6f 72 67 2d 6d 6f 64 65 2e 67 69 74 2f 63 6f 6d 6d 69 74 | g/cgit/emacs/org-mode.git/commit |
| 1e7a0 | 2f 3f 69 64 3d 66 36 33 36 63 66 39 31 62 36 63 62 65 33 32 32 65 63 61 35 36 65 32 33 32 38 33 | /?id=f636cf91b6cbe322eca56e23283 |
| 1e7c0 | 66 34 36 31 34 35 34 38 63 39 64 36 35 0a 28 72 65 71 75 69 72 65 20 27 6f 72 67 2d 72 65 66 69 | f4614548c9d65.(require.'org-refi |
| 1e7e0 | 6c 65 20 6e 69 6c 20 3a 6e 6f 65 72 72 6f 72 29 20 20 20 20 20 20 3b 46 6f 72 20 60 6f 72 67 2d | le.nil.:noerror)......;For.`org- |
| 1e800 | 67 65 74 2d 6f 75 74 6c 69 6e 65 2d 70 61 74 68 27 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 72 67 | get-outline-path'..(require.'org |
| 1e820 | 29 0a 28 72 65 71 75 69 72 65 20 27 6f 72 67 2d 69 64 29 20 20 20 20 20 20 20 20 20 20 20 20 20 | ).(require.'org-id)............. |
| 1e840 | 20 20 20 20 20 20 20 20 20 20 3b 46 6f 72 20 60 6f 72 67 2d 69 64 2d 66 69 6e 64 27 0a 0a 3b 3b | ..........;For.`org-id-find'..;; |
| 1e860 | 20 46 6f 72 20 60 6f 72 67 2d 69 6e 66 6f 2d 65 6d 61 63 73 2d 64 6f 63 75 6d 65 6e 74 73 27 2c | .For.`org-info-emacs-documents', |
| 1e880 | 20 60 6f 72 67 2d 69 6e 66 6f 2d 6f 74 68 65 72 2d 64 6f 63 75 6d 65 6e 74 73 27 0a 3b 3b 20 6f | .`org-info-other-documents'.;;.o |
| 1e8a0 | 72 67 2d 69 6e 66 6f 2e 65 6c 20 67 6f 74 20 72 65 6e 61 6d 65 64 20 74 6f 20 6f 6c 2d 69 6e 66 | rg-info.el.got.renamed.to.ol-inf |
| 1e8c0 | 6f 2e 65 6c 20 69 6e 20 4f 72 67 20 76 65 72 73 69 6f 6e 20 39 2e 33 2e 20 20 52 65 6d 6f 76 65 | o.el.in.Org.version.9.3...Remove |
| 1e8e0 | 0a 3b 3b 20 62 65 6c 6f 77 20 69 66 20 63 6f 6e 64 69 74 69 6f 6e 20 61 66 74 65 72 20 74 68 65 | .;;.below.if.condition.after.the |
| 1e900 | 20 6d 69 6e 69 6d 75 6d 20 65 6d 61 63 73 20 64 65 70 65 6e 64 65 6e 63 79 20 69 73 20 72 61 69 | .minimum.emacs.dependency.is.rai |
| 1e920 | 73 65 64 20 74 6f 0a 3b 3b 20 65 6d 61 63 73 20 32 37 2e 78 2e 20 54 68 65 20 4f 72 67 20 76 65 | sed.to.;;.emacs.27.x..The.Org.ve |
| 1e940 | 72 73 69 6f 6e 20 73 68 69 70 70 65 64 20 77 69 74 68 20 45 6d 61 63 73 20 32 36 2e 33 20 69 73 | rsion.shipped.with.Emacs.26.3.is |
| 1e960 | 20 39 2e 31 2e 39 2e 0a 28 69 66 20 28 76 65 72 73 69 6f 6e 3c 20 28 6f 72 67 2d 76 65 72 73 69 | .9.1.9..(if.(version<.(org-versi |
| 1e980 | 6f 6e 29 20 22 39 2e 33 22 29 0a 20 20 20 20 28 72 65 71 75 69 72 65 20 27 6f 72 67 2d 69 6e 66 | on)."9.3").....(require.'org-inf |
| 1e9a0 | 6f 29 0a 20 20 28 72 65 71 75 69 72 65 20 27 6f 6c 2d 69 6e 66 6f 29 29 0a 0a 28 64 65 63 6c 61 | o)...(require.'ol-info))..(decla |
| 1e9c0 | 72 65 2d 66 75 6e 63 74 69 6f 6e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 | re-function.org-hugo-pandoc-cite |
| 1e9e0 | 2d 2d 70 61 72 73 65 2d 63 69 74 61 74 69 6f 6e 73 2d 6d 61 79 62 65 20 22 6f 78 2d 68 75 67 6f | --parse-citations-maybe."ox-hugo |
| 1ea00 | 2d 70 61 6e 64 6f 63 2d 63 69 74 65 22 29 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f 6e | -pandoc-cite").(declare-function |
| 1ea20 | 20 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 6d 65 74 61 2d 64 61 74 61 | .org-hugo-pandoc-cite--meta-data |
| 1ea40 | 2d 67 65 6e 65 72 61 74 6f 72 20 22 6f 78 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 22 | -generator."ox-hugo-pandoc-cite" |
| 1ea60 | 29 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 78 2d 68 75 67 6f 2d 64 65 70 72 65 63 61 74 65 64 29 | )..(require.'ox-hugo-deprecated) |
| 1ea80 | 0a 0a 0a 28 64 65 66 76 61 72 20 66 66 61 70 2d 75 72 6c 2d 72 65 67 65 78 70 29 20 20 20 20 20 | ...(defvar.ffap-url-regexp)..... |
| 1eaa0 | 20 20 20 20 20 20 20 20 20 20 20 3b 53 69 6c 65 6e 63 65 20 62 79 74 65 2d 63 6f 6d 70 69 6c 65 | ...........;Silence.byte-compile |
| 1eac0 | 72 0a 0a 0a 3b 3b 20 55 73 69 6e 67 20 74 68 65 20 63 6f 72 72 65 63 74 20 66 75 6e 63 74 69 6f | r...;;.Using.the.correct.functio |
| 1eae0 | 6e 20 66 6f 72 20 67 65 74 74 69 6e 67 20 69 6e 68 65 72 69 74 65 64 20 4f 72 67 20 74 61 67 73 | n.for.getting.inherited.Org.tags |
| 1eb00 | 2e 0a 3b 3b 20 53 74 61 72 74 69 6e 67 20 4f 72 67 20 39 2e 32 2c 20 60 6f 72 67 2d 67 65 74 2d | ..;;.Starting.Org.9.2,.`org-get- |
| 1eb20 | 74 61 67 73 27 20 72 65 74 75 72 6e 73 20 61 6c 6c 20 74 68 65 20 69 6e 68 65 72 69 74 65 64 20 | tags'.returns.all.the.inherited. |
| 1eb40 | 74 61 67 73 0a 3b 3b 20 69 6e 73 74 65 61 64 20 6f 66 20 72 65 74 75 72 6e 69 6e 67 20 6f 6e 6c | tags.;;.instead.of.returning.onl |
| 1eb60 | 79 20 74 68 65 20 6c 6f 63 61 6c 20 74 61 67 73 20 69 2e 65 2e 20 6f 6e 6c 79 20 74 68 65 20 63 | y.the.local.tags.i.e..only.the.c |
| 1eb80 | 75 72 72 65 6e 74 0a 3b 3b 20 68 65 61 64 69 6e 67 20 74 61 67 73 2e 0a 3b 3b 20 68 74 74 70 73 | urrent.;;.heading.tags..;;.https |
| 1eba0 | 3a 2f 2f 67 69 74 2e 73 61 76 61 6e 6e 61 68 2e 67 6e 75 2e 6f 72 67 2f 63 67 69 74 2f 65 6d 61 | ://git.savannah.gnu.org/cgit/ema |
| 1ebc0 | 63 73 2f 6f 72 67 2d 6d 6f 64 65 2e 67 69 74 2f 63 6f 6d 6d 69 74 2f 3f 69 64 3d 66 62 65 35 36 | cs/org-mode.git/commit/?id=fbe56 |
| 1ebe0 | 66 38 39 66 37 35 61 38 39 37 39 65 30 62 61 34 38 30 30 31 61 38 32 32 35 31 38 64 66 32 63 36 | f89f75a8979e0ba48001a822518df2c6 |
| 1ec00 | 36 66 65 0a 0a 3b 3b 20 46 6f 72 20 4f 72 67 20 3c 3d 20 39 2e 31 2c 20 60 6f 72 67 2d 67 65 74 | 6fe..;;.For.Org.<=.9.1,.`org-get |
| 1ec20 | 2d 74 61 67 73 27 20 72 65 74 75 72 6e 65 64 20 61 20 6c 69 73 74 20 6f 66 20 74 61 67 73 20 2a | -tags'.returned.a.list.of.tags.* |
| 1ec40 | 6f 6e 6c 79 2a 20 61 74 0a 3b 3b 20 74 68 65 20 63 75 72 72 65 6e 74 20 68 65 61 64 69 6e 67 2c | only*.at.;;.the.current.heading, |
| 1ec60 | 20 77 68 69 6c 65 20 60 6f 72 67 2d 67 65 74 2d 74 61 67 73 2d 61 74 27 20 72 65 74 75 72 6e 65 | .while.`org-get-tags-at'.returne |
| 1ec80 | 64 20 69 6e 68 65 72 69 74 65 64 0a 3b 3b 20 74 61 67 73 20 74 6f 6f 2e 0a 28 77 69 74 68 2d 6e | d.inherited.;;.tags.too..(with-n |
| 1eca0 | 6f 2d 77 61 72 6e 69 6e 67 73 0a 20 20 28 69 66 20 28 66 62 6f 75 6e 64 70 20 23 27 6f 72 67 2d | o-warnings...(if.(fboundp.#'org- |
| 1ecc0 | 2d 67 65 74 2d 6c 6f 63 61 6c 2d 74 61 67 73 29 20 20 20 3b 49 66 20 75 73 69 6e 67 20 4f 72 67 | -get-local-tags)...;If.using.Org |
| 1ece0 | 20 39 2e 32 2b 0a 20 20 20 20 20 20 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 68 75 67 6f 2d | .9.2+.......(defalias.'org-hugo- |
| 1ed00 | 2d 67 65 74 2d 74 61 67 73 20 27 6f 72 67 2d 67 65 74 2d 74 61 67 73 29 0a 20 20 20 20 28 64 65 | -get-tags.'org-get-tags).....(de |
| 1ed20 | 66 61 6c 69 61 73 20 27 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 74 61 67 73 20 27 6f 72 67 2d | falias.'org-hugo--get-tags.'org- |
| 1ed40 | 67 65 74 2d 74 61 67 73 2d 61 74 29 29 29 0a 0a 3b 3b 20 60 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d | get-tags-at)))..;;.`org-back-to- |
| 1ed60 | 68 65 61 64 69 6e 67 2d 6f 72 2d 70 6f 69 6e 74 2d 6d 69 6e 27 20 77 61 73 20 69 6e 74 72 6f 64 | heading-or-point-min'.was.introd |
| 1ed80 | 75 63 65 64 20 69 6e 20 4f 72 67 20 39 2e 35 20 69 6e 0a 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 | uced.in.Org.9.5.in.;;.https://gi |
| 1eda0 | 74 2e 73 61 76 61 6e 6e 61 68 2e 67 6e 75 2e 6f 72 67 2f 63 67 69 74 2f 65 6d 61 63 73 2f 6f 72 | t.savannah.gnu.org/cgit/emacs/or |
| 1edc0 | 67 2d 6d 6f 64 65 2e 67 69 74 2f 63 6f 6d 6d 69 74 2f 3f 69 64 3d 31 62 64 66 66 39 66 37 33 64 | g-mode.git/commit/?id=1bdff9f73d |
| 1ede0 | 63 31 65 37 66 66 36 32 35 61 39 30 65 33 65 36 31 33 35 30 62 64 65 61 39 39 66 32 39 63 2e 0a | c1e7ff625a90e3e61350bdea99f29c.. |
| 1ee00 | 3b 3b 20 49 66 20 61 20 75 73 65 72 20 69 73 20 75 73 69 6e 67 20 61 20 73 6c 69 67 68 74 6c 79 | ;;.If.a.user.is.using.a.slightly |
| 1ee20 | 20 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 4f 72 67 20 28 6c 69 6b 65 20 39 2e 33 29 | .older.version.of.Org.(like.9.3) |
| 1ee40 | 2c 0a 3b 3b 20 64 65 66 69 6e 65 20 69 74 2e 0a 28 75 6e 6c 65 73 73 20 28 66 62 6f 75 6e 64 70 | ,.;;.define.it..(unless.(fboundp |
| 1ee60 | 20 23 27 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d 68 65 61 64 69 6e 67 2d 6f 72 2d 70 6f 69 6e 74 2d | .#'org-back-to-heading-or-point- |
| 1ee80 | 6d 69 6e 29 0a 20 20 28 64 65 66 75 6e 20 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d 68 65 61 64 69 6e | min)...(defun.org-back-to-headin |
| 1eea0 | 67 2d 6f 72 2d 70 6f 69 6e 74 2d 6d 69 6e 20 28 26 6f 70 74 69 6f 6e 61 6c 20 69 6e 76 69 73 69 | g-or-point-min.(&optional.invisi |
| 1eec0 | 62 6c 65 2d 6f 6b 29 0a 20 20 20 20 22 47 6f 20 62 61 63 6b 20 74 6f 20 68 65 61 64 69 6e 67 20 | ble-ok)....."Go.back.to.heading. |
| 1eee0 | 6f 72 20 66 69 72 73 74 20 70 6f 69 6e 74 20 69 6e 20 62 75 66 66 65 72 2e 0a 49 66 20 70 6f 69 | or.first.point.in.buffer..If.poi |
| 1ef00 | 6e 74 20 69 73 20 62 65 66 6f 72 65 20 66 69 72 73 74 20 68 65 61 64 69 6e 67 20 67 6f 20 74 6f | nt.is.before.first.heading.go.to |
| 1ef20 | 20 66 69 72 73 74 20 70 6f 69 6e 74 20 69 6e 20 62 75 66 66 65 72 0a 69 6e 73 74 65 61 64 20 6f | .first.point.in.buffer.instead.o |
| 1ef40 | 66 20 62 61 63 6b 20 74 6f 20 68 65 61 64 69 6e 67 2e 22 0a 20 20 20 20 28 69 66 20 28 6f 72 67 | f.back.to.heading.".....(if.(org |
| 1ef60 | 2d 62 65 66 6f 72 65 2d 66 69 72 73 74 2d 68 65 61 64 69 6e 67 2d 70 29 0a 20 20 20 20 20 20 20 | -before-first-heading-p)........ |
| 1ef80 | 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 29 0a 20 20 20 20 20 20 28 | .(goto-char.(point-min)).......( |
| 1efa0 | 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d 68 65 61 64 69 6e 67 20 69 6e 76 69 73 69 62 6c 65 2d 6f 6b | org-back-to-heading.invisible-ok |
| 1efc0 | 29 29 29 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d | ))))..(defvar.org-hugo--subtree- |
| 1efe0 | 63 6f 6f 72 64 20 6e 69 6c 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 73 74 6f 72 65 20 74 | coord.nil..."Variable.to.store.t |
| 1f000 | 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 69 64 20 48 75 67 6f 20 73 75 62 74 72 65 65 20 63 6f | he.current.valid.Hugo.subtree.co |
| 1f020 | 6f 72 64 69 6e 61 74 65 73 2e 0a 49 74 20 68 6f 6c 64 73 20 74 68 65 20 76 61 6c 75 65 20 72 65 | ordinates..It.holds.the.value.re |
| 1f040 | 74 75 72 6e 65 64 20 62 79 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 6f 73 74 2d 73 75 | turned.by.`org-hugo--get-post-su |
| 1f060 | 62 74 72 65 65 2d 63 6f 6f 72 64 69 6e 61 74 65 73 27 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f | btree-coordinates'.")..(defvar.o |
| 1f080 | 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 75 6e 74 20 30 0a 20 20 22 56 61 72 69 | rg-hugo--subtree-count.0..."Vari |
| 1f0a0 | 61 62 6c 65 20 74 6f 20 63 6f 75 6e 74 20 6f 66 20 6e 75 6d 62 65 72 20 6f 66 20 73 75 62 74 72 | able.to.count.of.number.of.subtr |
| 1f0c0 | 65 65 73 20 67 65 74 74 69 6e 67 20 65 78 70 6f 72 74 65 64 2e 0a 54 68 69 73 20 76 61 72 69 61 | ees.getting.exported..This.varia |
| 1f0e0 | 62 6c 65 20 69 73 20 75 73 65 64 20 77 68 65 6e 20 65 78 70 6f 72 74 69 6e 67 20 61 6c 6c 20 73 | ble.is.used.when.exporting.all.s |
| 1f100 | 75 62 74 72 65 65 73 20 69 6e 20 61 20 66 69 6c 65 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 | ubtrees.in.a.file.")..(defvar.or |
| 1f120 | 67 2d 68 75 67 6f 2d 2d 66 6d 20 6e 69 6c 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 73 74 | g-hugo--fm.nil..."Variable.to.st |
| 1f140 | 6f 72 65 20 74 68 65 20 63 75 72 72 65 6e 74 20 48 75 67 6f 20 70 6f 73 74 27 73 20 66 72 6f 6e | ore.the.current.Hugo.post's.fron |
| 1f160 | 74 2d 6d 61 74 74 65 72 20 73 74 72 69 6e 67 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 | t-matter.string...This.variable. |
| 1f180 | 69 73 20 75 73 65 64 20 74 6f 20 63 61 63 68 65 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 6f 78 | is.used.to.cache.the.original.ox |
| 1f1a0 | 2d 68 75 67 6f 20 67 65 6e 65 72 61 74 65 64 0a 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 74 68 61 | -hugo.generated.front-matter.tha |
| 1f1c0 | 74 27 73 20 75 73 65 64 20 61 66 74 65 72 20 50 61 6e 64 6f 63 20 43 69 74 61 74 69 6f 6e 20 70 | t's.used.after.Pandoc.Citation.p |
| 1f1e0 | 61 72 73 69 6e 67 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d | arsing.")..(defvar.org-hugo--fm- |
| 1f200 | 79 61 6d 6c 20 6e 69 6c 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 73 74 6f 72 65 20 74 68 | yaml.nil..."Variable.to.store.th |
| 1f220 | 65 20 63 75 72 72 65 6e 74 20 48 75 67 6f 20 70 6f 73 74 27 73 20 66 72 6f 6e 74 2d 6d 61 74 74 | e.current.Hugo.post's.front-matt |
| 1f240 | 65 72 20 73 74 72 69 6e 67 20 69 6e 20 59 41 4d 4c 20 66 6f 72 6d 61 74 2e 0a 0a 50 61 6e 64 6f | er.string.in.YAML.format...Pando |
| 1f260 | 63 20 75 6e 64 65 72 73 74 61 6e 64 73 20 6d 65 74 61 2d 64 61 74 61 20 6f 6e 6c 79 20 69 6e 20 | c.understands.meta-data.only.in. |
| 1f280 | 59 41 4d 4c 20 66 6f 72 6d 61 74 2e 20 20 53 6f 20 77 68 65 6e 20 50 61 6e 64 6f 63 0a 43 69 74 | YAML.format...So.when.Pandoc.Cit |
| 1f2a0 | 61 74 69 6f 6e 73 20 61 72 65 20 65 6e 61 62 6c 65 64 2c 20 50 61 6e 64 6f 63 20 69 73 20 68 61 | ations.are.enabled,.Pandoc.is.ha |
| 1f2c0 | 6e 64 65 64 20 6f 76 65 72 20 74 68 65 20 66 69 6c 65 20 77 69 74 68 20 74 68 69 73 0a 59 41 4d | nded.over.the.file.with.this.YAM |
| 1f2e0 | 4c 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 | L.front-matter.")..(defvar.org-h |
| 1f300 | 75 67 6f 2d 2d 69 6e 74 65 72 6e 61 6c 2d 6c 69 73 74 2d 73 65 70 61 72 61 74 6f 72 20 22 5c 6e | ugo--internal-list-separator."\n |
| 1f320 | 22 0a 20 20 22 53 74 72 69 6e 67 20 75 73 65 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 65 6c 65 | "..."String.used.to.separate.ele |
| 1f340 | 6d 65 6e 74 73 20 69 6e 20 6c 69 73 74 20 76 61 72 69 61 62 6c 65 73 2e 0a 0a 45 78 61 6d 70 6c | ments.in.list.variables...Exampl |
| 1f360 | 65 73 20 61 72 65 20 69 6e 74 65 72 6e 61 6c 20 76 61 72 69 61 62 6c 65 73 20 68 6f 6c 64 69 6e | es.are.internal.variables.holdin |
| 1f380 | 67 20 48 75 67 6f 20 74 61 67 73 2c 20 63 61 74 65 67 6f 72 69 65 73 20 61 6e 64 0a 6b 65 79 77 | g.Hugo.tags,.categories.and.keyw |
| 1f3a0 | 6f 72 64 73 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 66 6f 72 20 69 6e 74 65 | ords...This.variable.is.for.inte |
| 1f3c0 | 72 6e 61 6c 20 75 73 65 20 6f 6e 6c 79 2c 20 61 6e 64 20 6d 75 73 74 20 6e 6f 74 20 62 65 0a 6d | rnal.use.only,.and.must.not.be.m |
| 1f3e0 | 6f 64 69 66 69 65 64 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 61 | odified.")..(defvar.org-hugo--da |
| 1f400 | 74 65 2d 74 69 6d 65 2d 72 65 67 65 78 70 20 28 63 6f 6e 63 61 74 20 22 5c 5c 60 5b 5b 3a 64 69 | te-time-regexp.(concat."\\`[[:di |
| 1f420 | 67 69 74 3a 5d 5d 5c 5c 7b 34 5c 5c 7d 2d 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d | git:]]\\{4\\}-[[:digit:]]\\{2\\} |
| 1f440 | 2d 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 22 0a 20 20 20 20 20 20 20 20 20 20 20 | -[[:digit:]]\\{2\\}"............ |
| 1f460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1f480 | 22 5c 5c 28 3f 3a 54 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 3a 5b 5b 3a 64 69 67 | "\\(?:T[[:digit:]]\\{2\\}:[[:dig |
| 1f4a0 | 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 3a 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 22 | it:]]\\{2\\}:[[:digit:]]\\{2\\}" |
| 1f4c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 1f4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 3f 3a 5a 5c 5c 7c 5b 2b 2d 5d 5b 5b 3a 64 69 67 | ............"\\(?:Z\\|[+-][[:dig |
| 1f500 | 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 3a 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 5c | it:]]\\{2\\}:[[:digit:]]\\{2\\}\ |
| 1f520 | 5c 29 2a 5c 5c 29 2a 5c 5c 27 22 29 0a 20 20 22 52 65 67 65 78 70 20 74 6f 20 6d 61 74 63 68 20 | \)*\\)*\\'")..."Regexp.to.match. |
| 1f540 | 74 68 65 20 48 75 67 6f 20 74 69 6d 65 20 73 74 61 6d 70 20 73 74 72 69 6e 67 73 2e 0a 0a 52 65 | the.Hugo.time.stamp.strings...Re |
| 1f560 | 66 65 72 65 6e 63 65 3a 20 68 74 74 70 73 3a 2f 2f 74 6f 6f 6c 73 2e 69 65 74 66 2e 6f 72 67 2f | ference:.https://tools.ietf.org/ |
| 1f580 | 68 74 6d 6c 2f 72 66 63 33 33 33 39 23 73 65 63 74 69 6f 6e 2d 35 2e 38 0a 0a 45 78 61 6d 70 6c | html/rfc3339#section-5.8..Exampl |
| 1f5a0 | 65 73 3a 0a 20 20 32 30 31 37 2d 30 37 2d 33 31 0a 20 20 32 30 31 37 2d 30 37 2d 33 31 54 31 37 | es:...2017-07-31...2017-07-31T17 |
| 1f5c0 | 3a 30 35 3a 33 38 0a 20 20 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 5a 0a 20 20 | :05:38...2017-07-31T17:05:38Z... |
| 1f5e0 | 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2b 30 34 3a 30 30 0a 20 20 32 30 31 37 | 2017-07-31T17:05:38+04:00...2017 |
| 1f600 | 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2d 30 34 3a 30 30 2e 22 29 0a 0a 28 64 65 66 76 61 | -07-31T17:05:38-04:00.")..(defva |
| 1f620 | 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d 2d 70 72 65 2d 6d 61 72 6b 65 72 20 22 3c 21 2d | r.org-hugo--trim-pre-marker."<!- |
| 1f640 | 2d 20 74 72 69 6d 2d 70 72 65 20 2d 2d 3e 22 0a 20 20 22 53 70 65 63 69 61 6c 20 73 74 72 69 6e | -.trim-pre.-->"..."Special.strin |
| 1f660 | 67 20 74 6f 20 6d 61 72 6b 20 77 68 65 72 65 20 77 68 69 74 65 73 70 61 63 65 20 73 68 6f 75 6c | g.to.mark.where.whitespace.shoul |
| 1f680 | 64 20 62 65 20 74 72 69 6d 6d 65 64 20 62 65 66 6f 72 65 20 61 6e 20 65 6c 65 6d 65 6e 74 2e 22 | d.be.trimmed.before.an.element." |
| 1f6a0 | 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d 2d 70 6f 73 74 2d 6d | )..(defvar.org-hugo--trim-post-m |
| 1f6c0 | 61 72 6b 65 72 20 22 3c 21 2d 2d 20 74 72 69 6d 2d 70 6f 73 74 20 2d 2d 3e 22 0a 20 20 22 53 70 | arker."<!--.trim-post.-->"..."Sp |
| 1f6e0 | 65 63 69 61 6c 20 73 74 72 69 6e 67 20 74 6f 20 6d 61 72 6b 20 77 68 65 72 65 20 77 68 69 74 65 | ecial.string.to.mark.where.white |
| 1f700 | 73 70 61 63 65 20 73 68 6f 75 6c 64 20 62 65 20 74 72 69 6d 6d 65 64 20 61 66 74 65 72 20 61 6e | space.should.be.trimmed.after.an |
| 1f720 | 20 65 6c 65 6d 65 6e 74 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f | .element.")..(defvar.org-hugo--o |
| 1f740 | 70 65 6e 65 64 2d 62 75 66 66 65 72 73 20 27 28 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 62 75 66 | pened-buffers.'()..."List.of.buf |
| 1f760 | 66 65 72 73 20 6f 70 65 6e 65 64 20 64 75 72 69 6e 67 20 61 6e 20 65 78 70 6f 72 74 2c 20 77 68 | fers.opened.during.an.export,.wh |
| 1f780 | 69 63 68 20 77 69 6c 6c 20 62 65 20 61 75 74 6f 2d 63 6c 6f 73 65 64 20 61 74 20 74 68 65 20 65 | ich.will.be.auto-closed.at.the.e |
| 1f7a0 | 6e 64 2e 0a 0a 41 6e 20 65 78 70 6f 72 74 20 6f 70 65 72 61 74 69 6f 6e 20 6d 69 67 68 74 20 6e | nd...An.export.operation.might.n |
| 1f7c0 | 65 65 64 20 74 6f 20 6f 70 65 6e 20 66 69 6c 65 73 20 66 6f 72 20 72 65 73 6f 6c 76 69 6e 67 20 | eed.to.open.files.for.resolving. |
| 1f7e0 | 6c 69 6e 6b 73 0a 70 6f 69 6e 74 69 6e 67 20 74 6f 20 6f 74 68 65 72 20 4f 72 67 20 66 69 6c 65 | links.pointing.to.other.Org.file |
| 1f800 | 73 20 6f 72 20 74 65 6d 70 6f 72 61 72 79 20 62 75 66 66 65 72 73 20 66 6f 72 0a 70 72 65 2d 70 | s.or.temporary.buffers.for.pre-p |
| 1f820 | 72 6f 63 65 73 73 69 6e 67 20 61 6e 20 4f 72 67 20 66 69 6c 65 2e 20 20 45 61 63 68 20 62 75 66 | rocessing.an.Org.file...Each.buf |
| 1f840 | 66 65 72 20 6f 70 65 6e 65 64 20 64 75 72 69 6e 67 20 61 6e 20 4f 78 2d 48 75 67 6f 0a 65 78 70 | fer.opened.during.an.Ox-Hugo.exp |
| 1f860 | 6f 72 74 20 67 65 74 73 20 61 64 64 65 64 20 74 6f 20 74 68 69 73 20 6c 69 73 74 2c 20 61 6e 64 | ort.gets.added.to.this.list,.and |
| 1f880 | 20 74 68 65 79 20 61 6c 6c 20 61 72 65 20 61 75 74 6f 2d 63 6c 6f 73 65 64 20 61 74 0a 74 68 65 | .they.all.are.auto-closed.at.the |
| 1f8a0 | 20 65 6e 64 20 6f 66 20 74 68 65 20 65 78 70 6f 72 74 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d | .end.of.the.export.in.`org-hugo- |
| 1f8c0 | 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 27 2e 22 29 0a | -after-all-exports-function'."). |
| 1f8e0 | 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 69 73 61 62 6c 65 2d 61 66 74 65 72 | .(defvar.org-hugo--disable-after |
| 1f900 | 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 68 6f 6f 6b 20 6e 69 6c 0a 20 20 22 49 66 20 73 65 74 2c | -all-exports-hook.nil..."If.set, |
| 1f920 | 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 | .`org-hugo--after-all-exports-fu |
| 1f940 | 6e 63 74 69 6f 6e 27 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 6e 6f 74 20 63 61 6c 6c 65 64 2e 0a | nction'.function.is.not.called.. |
| 1f960 | 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 73 65 74 20 69 6e 74 65 72 6e 61 6c 6c 79 | .This.variable.is.set.internally |
| 1f980 | 20 62 79 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 0a | .by.`org-hugo-export-wim-to-md'. |
| 1f9a0 | 77 68 65 6e 20 69 74 73 20 41 4c 4c 2d 53 55 42 54 52 45 45 53 20 61 72 67 20 69 73 20 73 65 74 | when.its.ALL-SUBTREES.arg.is.set |
| 1f9c0 | 20 74 6f 20 61 20 6e 6f 6e 2d 6e 69 6c 20 76 61 6c 75 65 2e 0a 0a 53 65 74 74 69 6e 67 20 74 68 | .to.a.non-nil.value...Setting.th |
| 1f9e0 | 69 73 20 74 6f 20 6e 6f 6e 2d 6e 69 6c 20 77 69 6c 6c 20 6c 65 61 64 20 74 6f 20 73 6c 6f 77 20 | is.to.non-nil.will.lead.to.slow. |
| 1fa00 | 6f 72 20 69 6e 63 6f 72 72 65 63 74 0a 65 78 70 6f 72 74 73 2e 20 20 54 68 69 73 20 76 61 72 69 | or.incorrect.exports...This.vari |
| 1fa20 | 61 62 6c 65 20 69 73 20 66 6f 72 20 69 6e 74 65 72 6e 61 6c 20 75 73 65 20 6f 6e 6c 79 2c 20 61 | able.is.for.internal.use.only,.a |
| 1fa40 | 6e 64 20 6d 75 73 74 20 6e 6f 74 20 62 65 0a 6d 6f 64 69 66 69 65 64 2e 22 29 0a 0a 28 64 65 66 | nd.must.not.be.modified.")..(def |
| 1fa60 | 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 61 6c 6c 2d 73 75 62 74 72 65 65 73 2d 65 78 70 6f 72 | var.org-hugo--all-subtrees-expor |
| 1fa80 | 74 2d 2d 66 75 6e 63 74 69 6f 6e 73 2d 74 6f 2d 73 69 6c 65 6e 63 65 0a 20 20 27 28 6f 72 67 2d | t--functions-to-silence...'(org- |
| 1faa0 | 62 61 62 65 6c 2d 65 78 70 2d 73 72 63 2d 62 6c 6f 63 6b 20 3b 44 6f 6e 27 74 20 70 72 69 6e 74 | babel-exp-src-block.;Don't.print |
| 1fac0 | 20 22 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 20 70 72 6f 63 65 73 73 20 2e 2e 22 20 6d 65 73 73 | ."org-babel-exp.process...".mess |
| 1fae0 | 61 67 65 73 0a 20 20 20 20 77 72 69 74 65 2d 72 65 67 69 6f 6e 20 20 20 20 20 20 20 20 20 20 20 | ages.....write-region........... |
| 1fb00 | 20 3b 44 6f 6e 27 74 20 70 72 69 6e 74 20 22 57 72 6f 74 65 20 2e 2e 22 20 6d 65 73 73 61 67 65 | .;Don't.print."Wrote...".message |
| 1fb20 | 73 0a 20 20 20 20 74 61 62 6c 65 2d 67 65 6e 65 72 61 74 65 2d 73 6f 75 72 63 65 20 20 20 3b 44 | s.....table-generate-source...;D |
| 1fb40 | 6f 6e 27 74 20 70 72 69 6e 74 20 22 47 65 6e 65 72 61 74 69 6e 67 20 73 6f 75 72 63 65 2e 2e 2e | on't.print."Generating.source... |
| 1fb60 | 22 20 6d 65 73 73 61 67 65 73 0a 20 20 20 20 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 66 75 6e 63 | ".messages.....)..."List.of.func |
| 1fb80 | 74 69 6f 6e 73 20 74 6f 20 73 69 6c 65 6e 63 65 20 69 6e 20 45 63 68 6f 20 61 6e 64 20 4d 65 73 | tions.to.silence.in.Echo.and.Mes |
| 1fba0 | 73 61 67 65 73 20 62 75 66 66 65 72 73 2e 0a 0a 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 | sages.buffers...These.functions. |
| 1fbc0 | 61 72 65 20 73 69 6c 65 6e 63 65 64 20 6f 6e 6c 79 20 77 68 65 6e 20 41 4c 4c 2d 53 55 42 54 52 | are.silenced.only.when.ALL-SUBTR |
| 1fbe0 | 45 45 53 20 65 78 70 6f 72 74 20 69 73 20 64 6f 6e 65 2e 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 | EES.export.is.done.")..(defconst |
| 1fc00 | 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 2d 62 75 66 66 65 72 20 74 0a 20 | .org-hugo--preprocess-buffer.t.. |
| 1fc20 | 20 22 45 6e 61 62 6c 65 20 70 72 65 2d 70 72 6f 63 65 73 73 69 6e 67 20 6f 66 20 74 68 65 20 63 | ."Enable.pre-processing.of.the.c |
| 1fc40 | 75 72 72 65 6e 74 20 4f 72 67 20 62 75 66 66 65 72 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c | urrent.Org.buffer...This.variabl |
| 1fc60 | 65 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6e 6f 6e 2d 6e 69 6c 20 66 6f 72 20 74 68 65 20 73 75 | e.needs.to.be.non-nil.for.the.su |
| 1fc80 | 70 70 6f 72 74 20 6f 66 0a 63 72 6f 73 73 2d 73 75 62 74 72 65 65 20 4f 72 67 20 69 6e 74 65 72 | pport.of.cross-subtree.Org.inter |
| 1fca0 | 6e 61 6c 20 6c 69 6e 6b 73 20 77 68 65 6e 20 75 73 69 6e 67 20 74 68 65 20 73 75 62 74 72 65 65 | nal.links.when.using.the.subtree |
| 1fcc0 | 2d 62 61 73 65 64 0a 65 78 70 6f 72 74 20 66 6c 6f 77 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f | -based.export.flow.")..(defvar.o |
| 1fce0 | 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 20 6e 69 6c | rg-hugo--preprocessed-buffer.nil |
| 1fd00 | 0a 20 20 22 4e 61 6d 65 20 6f 66 20 74 68 65 20 70 72 65 2d 70 72 6f 63 65 73 73 65 64 20 62 75 | ..."Name.of.the.pre-processed.bu |
| 1fd20 | 66 66 65 72 2e 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 | ffer.")..(defconst.org-hugo--pre |
| 1fd40 | 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 | processed-buffer-dummy-file-suff |
| 1fd60 | 69 78 20 22 2e 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2e 6f 72 67 22 0a 20 20 22 44 75 6d 6d 79 | ix.".pre-processed.org"..."Dummy |
| 1fd80 | 20 73 75 66 66 69 78 20 28 69 6e 63 6c 75 64 69 6e 67 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f | .suffix.(including.file.extensio |
| 1fda0 | 6e 29 20 66 6f 72 20 70 72 65 2d 70 72 6f 63 65 73 73 65 64 20 62 75 66 66 65 72 73 2e 0a 0a 44 | n).for.pre-processed.buffers...D |
| 1fdc0 | 75 6d 6d 79 20 4f 72 67 20 66 69 6c 65 20 70 61 74 68 73 20 61 72 65 20 63 72 65 61 74 65 64 20 | ummy.Org.file.paths.are.created. |
| 1fde0 | 69 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2d | in.`org-hugo--get-pre-processed- |
| 1fe00 | 62 75 66 66 65 72 27 20 62 79 20 61 70 70 65 6e 64 69 6e 67 20 74 68 69 73 20 76 61 72 69 61 62 | buffer'.by.appending.this.variab |
| 1fe20 | 6c 65 0a 74 6f 20 74 68 65 20 6c 69 6e 6b 20 74 61 72 67 65 74 73 20 6f 75 74 20 6f 66 20 74 68 | le.to.the.link.targets.out.of.th |
| 1fe40 | 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 20 73 63 6f 70 65 2e 22 29 0a 0a 0c 0a 3b 3b | e.current.subtree.scope.")....;; |
| 1fe60 | 3b 20 4f 62 73 6f 6c 65 74 69 6f 6e 73 0a 0a 28 64 65 66 69 6e 65 2d 6f 62 73 6f 6c 65 74 65 2d | ;.Obsoletions..(define-obsolete- |
| 1fe80 | 76 61 72 69 61 62 6c 65 2d 61 6c 69 61 73 20 27 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 | variable-alias.'org-hugo-default |
| 1fea0 | 2d 73 65 63 74 69 6f 6e 2d 64 69 72 65 63 74 6f 72 79 20 27 6f 72 67 2d 68 75 67 6f 2d 73 65 63 | -section-directory.'org-hugo-sec |
| 1fec0 | 74 69 6f 6e 20 22 4f 63 74 20 33 31 2c 20 32 30 31 38 22 29 0a 28 64 65 66 69 6e 65 2d 6f 62 73 | tion."Oct.31,.2018").(define-obs |
| 1fee0 | 6f 6c 65 74 65 2d 66 75 6e 63 74 69 6f 6e 2d 61 6c 69 61 73 20 27 6f 72 67 2d 68 75 67 6f 2d 68 | olete-function-alias.'org-hugo-h |
| 1ff00 | 65 61 64 6c 69 6e 65 20 27 6f 72 67 2d 68 75 67 6f 2d 68 65 61 64 69 6e 67 20 22 4a 61 6e 20 33 | eadline.'org-hugo-heading."Jan.3 |
| 1ff20 | 2c 20 32 30 32 32 22 29 0a 0a 0a 0c 0a 3b 3b 3b 20 55 73 65 72 2d 43 6f 6e 66 69 67 75 72 61 62 | ,.2022").....;;;.User-Configurab |
| 1ff40 | 6c 65 20 56 61 72 69 61 62 6c 65 73 0a 0a 28 64 65 66 67 72 6f 75 70 20 6f 72 67 2d 65 78 70 6f | le.Variables..(defgroup.org-expo |
| 1ff60 | 72 74 2d 68 75 67 6f 20 6e 69 6c 0a 20 20 22 4f 70 74 69 6f 6e 73 20 66 6f 72 20 65 78 70 6f 72 | rt-hugo.nil..."Options.for.expor |
| 1ff80 | 74 69 6e 67 20 4f 72 67 20 6d 6f 64 65 20 66 69 6c 65 73 20 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 | ting.Org.mode.files.to.Hugo-comp |
| 1ffa0 | 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 2e 22 0a 20 20 3a 74 61 67 20 22 4f 72 67 20 45 78 | atible.Markdown."...:tag."Org.Ex |
| 1ffc0 | 70 6f 72 74 20 48 75 67 6f 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 0a | port.Hugo"...:group.'org-export. |
| 1ffe0 | 20 20 3a 76 65 72 73 69 6f 6e 20 22 32 35 2e 32 22 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f | ..:version."25.2")..(defcustom.o |
| 20000 | 72 67 2d 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 20 6e 69 6c 0a 20 20 22 42 61 73 65 20 64 69 72 | rg-hugo-base-dir.nil..."Base.dir |
| 20020 | 65 63 74 6f 72 79 20 66 6f 72 20 48 75 67 6f 2e 0a 0a 53 65 74 20 65 69 74 68 65 72 20 74 68 69 | ectory.for.Hugo...Set.either.thi |
| 20040 | 73 20 76 61 6c 75 65 2c 20 6f 72 20 74 68 65 20 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 20 67 6c | s.value,.or.the.HUGO_BASE_DIR.gl |
| 20060 | 6f 62 61 6c 20 70 72 6f 70 65 72 74 79 20 66 6f 72 0a 65 78 70 6f 72 74 2e 22 0a 20 20 3a 67 72 | obal.property.for.export."...:gr |
| 20080 | 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 64 69 | oup.'org-export-hugo...:type.'di |
| 200a0 | 72 65 63 74 6f 72 79 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 | rectory).;;;###autoload.(put.'or |
| 200c0 | 67 2d 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 | g-hugo-base-dir.'safe-local-vari |
| 200e0 | 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 | able.'stringp)..(defcustom.org-h |
| 20100 | 75 67 6f 2d 63 6f 6e 74 65 6e 74 2d 66 6f 6c 64 65 72 20 22 63 6f 6e 74 65 6e 74 22 0a 20 20 22 | ugo-content-folder."content"..." |
| 20120 | 43 6f 6e 74 65 6e 74 20 66 6f 6c 64 65 72 20 66 6f 72 20 48 75 67 6f 2e 0a 0a 53 65 74 20 65 69 | Content.folder.for.Hugo...Set.ei |
| 20140 | 74 68 65 72 20 74 68 69 73 20 76 61 6c 75 65 2c 20 6f 72 20 74 68 65 20 48 55 47 4f 5f 42 41 53 | ther.this.value,.or.the.HUGO_BAS |
| 20160 | 45 5f 43 4f 4e 54 45 4e 54 5f 46 4f 4c 44 45 52 20 67 6c 6f 62 61 6c 20 70 72 6f 70 65 72 74 79 | E_CONTENT_FOLDER.global.property |
| 20180 | 20 66 6f 72 0a 65 78 70 6f 72 74 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f | .for.export."...:group.'org-expo |
| 201a0 | 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 | rt-hugo...:type.'string).;;;###a |
| 201c0 | 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 65 6e 74 2d 66 | utoload.(put.'org-hugo-content-f |
| 201e0 | 6f 6c 64 65 72 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 | older.'safe-local-variable.'stri |
| 20200 | 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 | ngp)..(defcustom.org-hugo-goldma |
| 20220 | 72 6b 20 74 0a 20 20 22 45 6e 61 62 6c 65 20 47 6f 6c 64 6d 61 72 6b 20 6f 72 20 43 6f 6d 6d 6f | rk.t..."Enable.Goldmark.or.Commo |
| 20240 | 6e 6d 61 72 6b 20 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 20 65 78 70 6f 72 74 | nmark.compatible.Markdown.export |
| 20260 | 2e 0a 0a 57 68 65 6e 20 6e 69 6c 2c 20 74 68 65 20 68 61 63 6b 73 20 6e 65 63 65 73 73 61 72 79 | ...When.nil,.the.hacks.necessary |
| 20280 | 20 66 6f 72 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 0a 70 72 6f 63 65 73 | .for.Blackfriday.Markdown.proces |
| 202a0 | 73 69 6e 67 20 61 72 65 20 65 6e 61 62 6c 65 64 2e 0a 0a 49 66 20 75 73 69 6e 67 20 48 75 67 6f | sing.are.enabled...If.using.Hugo |
| 202c0 | 20 76 30 2e 36 30 2e 30 20 28 72 65 6c 65 61 73 65 64 20 4e 6f 76 20 32 30 31 39 29 2c 20 6b 65 | .v0.60.0.(released.Nov.2019),.ke |
| 202e0 | 65 70 20 74 68 65 20 64 65 66 61 75 6c 74 0a 76 61 6c 75 65 2e 0a 0a 68 74 74 70 73 3a 2f 2f 67 | ep.the.default.value...https://g |
| 20300 | 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 64 69 | ithub.com/kaushalmodi/ox-hugo/di |
| 20320 | 73 63 75 73 73 69 6f 6e 73 2f 34 38 35 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 | scussions/485."...:group.'org-ex |
| 20340 | 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b 3b 23 | port-hugo...:type.'boolean).;;;# |
| 20360 | 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 | ##autoload.(put.'org-hugo-goldma |
| 20380 | 72 6b 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e | rk.'safe-local-variable.'boolean |
| 203a0 | 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 68 65 61 64 6c 69 6e 65 | p)..(defcustom.org-hugo-headline |
| 203c0 | 2d 61 6e 63 68 6f 72 20 74 0a 20 20 22 45 6e 61 62 6c 65 20 61 6e 63 68 6f 72 20 66 6f 72 20 68 | -anchor.t..."Enable.anchor.for.h |
| 203e0 | 65 61 64 6c 69 6e 65 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 | eadline"...:group.'org-export-hu |
| 20400 | 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c | go...:type.'boolean).;;;###autol |
| 20420 | 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 68 65 61 64 6c 69 6e 65 2d 61 6e 63 68 | oad.(put.'org-hugo-headline-anch |
| 20440 | 6f 72 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e | or.'safe-local-variable.'boolean |
| 20460 | 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 20 | p)..(defcustom.org-hugo-section. |
| 20480 | 22 70 6f 73 74 73 22 0a 20 20 22 44 65 66 61 75 6c 74 20 73 65 63 74 69 6f 6e 20 66 6f 72 20 48 | "posts"..."Default.section.for.H |
| 204a0 | 75 67 6f 20 70 6f 73 74 73 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 74 68 65 | ugo.posts...This.variable.is.the |
| 204c0 | 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 75 6e 64 65 72 20 74 68 65 | .name.of.the.directory.under.the |
| 204e0 | 20 5c 22 63 6f 6e 74 65 6e 74 2f 5c 22 0a 64 69 72 65 63 74 6f 72 79 20 77 68 65 72 65 20 61 6c | .\"content/\".directory.where.al |
| 20500 | 6c 20 48 75 67 6f 20 70 6f 73 74 73 20 73 68 6f 75 6c 64 20 67 6f 20 62 79 20 64 65 66 61 75 6c | l.Hugo.posts.should.go.by.defaul |
| 20520 | 74 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 | t."...:group.'org-export-hugo... |
| 20540 | 3a 74 79 70 65 20 27 64 69 72 65 63 74 6f 72 79 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 | :type.'directory).;;;###autoload |
| 20560 | 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 20 27 73 61 66 65 2d 6c 6f | .(put.'org-hugo-section.'safe-lo |
| 20580 | 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 | cal-variable.'stringp)..(defcust |
| 205a0 | 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 20 | om.org-hugo-front-matter-format. |
| 205c0 | 22 74 6f 6d 6c 22 0a 20 20 22 46 72 6f 6e 74 2d 6d 61 74 74 65 72 20 66 6f 72 6d 61 74 2e 0a 54 | "toml"..."Front-matter.format..T |
| 205e0 | 68 69 73 20 76 61 72 69 61 62 6c 65 20 63 61 6e 20 62 65 20 73 65 74 20 74 6f 20 65 69 74 68 65 | his.variable.can.be.set.to.eithe |
| 20600 | 72 20 5c 22 74 6f 6d 6c 5c 22 20 6f 72 20 5c 22 79 61 6d 6c 5c 22 2e 22 0a 20 20 3a 67 72 6f 75 | r.\"toml\".or.\"yaml\"."...:grou |
| 20620 | 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 63 68 6f | p.'org-export-hugo...:type.'(cho |
| 20640 | 69 63 65 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 54 4f 4d 4c 22 | ice...........(const.:tag."TOML" |
| 20660 | 20 22 74 6f 6d 6c 22 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 | ."toml")...........(const.:tag." |
| 20680 | 59 41 4d 4c 22 20 22 79 61 6d 6c 22 29 29 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 | YAML"."yaml"))).;;;###autoload.( |
| 206a0 | 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 | put.'org-hugo-front-matter-forma |
| 206c0 | 74 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 | t.'safe-local-variable.'stringp) |
| 206e0 | 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 66 6f 6f 74 65 72 20 22 22 0a | ..(defcustom.org-hugo-footer."". |
| 20700 | 20 20 22 53 74 72 69 6e 67 20 74 6f 20 62 65 20 61 70 70 65 6e 64 65 64 20 61 74 20 74 68 65 20 | .."String.to.be.appended.at.the. |
| 20720 | 65 6e 64 20 6f 66 20 65 61 63 68 20 48 75 67 6f 20 70 6f 73 74 2e 0a 0a 54 68 65 20 73 74 72 69 | end.of.each.Hugo.post...The.stri |
| 20740 | 6e 67 20 6e 65 65 64 73 20 74 6f 20 62 65 20 69 6e 20 61 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 | ng.needs.to.be.in.a.Hugo-compati |
| 20760 | 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 20 6f 72 20 48 54 4d 4c 2e 22 0a 20 20 | ble.Markdown.format.or.HTML."... |
| 20780 | 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 | :group.'org-export-hugo...:type. |
| 207a0 | 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 | 'string).;;;###autoload.(put.'or |
| 207c0 | 67 2d 68 75 67 6f 2d 66 6f 6f 74 65 72 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 | g-hugo-footer.'safe-local-variab |
| 207e0 | 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 | le.'stringp)..(defcustom.org-hug |
| 20800 | 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 74 0a 20 20 22 57 68 65 6e 20 6e 6f 6e | o-preserve-filling.t..."When.non |
| 20820 | 2d 6e 69 6c 2c 20 74 65 78 74 20 66 69 6c 6c 69 6e 67 20 64 6f 6e 65 20 69 6e 20 4f 72 67 20 77 | -nil,.text.filling.done.in.Org.w |
| 20840 | 69 6c 6c 20 62 65 20 72 65 74 61 69 6e 65 64 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 2e 22 0a 20 20 | ill.be.retained.in.Markdown."... |
| 20860 | 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 | :group.'org-export-hugo...:type. |
| 20880 | 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f | 'boolean).;;;###autoload.(put.'o |
| 208a0 | 72 67 2d 68 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 27 73 61 66 65 2d 6c | rg-hugo-preserve-filling.'safe-l |
| 208c0 | 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 | ocal-variable.'booleanp)..(defcu |
| 208e0 | 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 2d 77 73 | stom.org-hugo-delete-trailing-ws |
| 20900 | 20 74 0a 20 20 22 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 65 6c 65 74 65 20 74 72 61 69 6c | .t..."When.non-nil,.delete.trail |
| 20920 | 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 20 6f 75 74 70 75 | ing.whitespace.in.Markdown.outpu |
| 20940 | 74 2e 0a 54 72 61 69 6c 69 6e 67 20 65 6d 70 74 79 20 6c 69 6e 65 73 20 61 74 20 74 68 65 20 65 | t..Trailing.empty.lines.at.the.e |
| 20960 | 6e 64 20 6f 66 20 74 68 65 20 4d 61 72 6b 64 6f 77 6e 20 6f 75 74 70 75 74 20 61 72 65 20 61 6c | nd.of.the.Markdown.output.are.al |
| 20980 | 73 6f 20 64 65 6c 65 74 65 64 2e 0a 0a 4f 6e 65 20 6d 69 67 68 74 20 77 61 6e 74 20 74 6f 20 73 | so.deleted...One.might.want.to.s |
| 209a0 | 65 74 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 74 6f 20 6e 69 6c 20 69 66 20 74 68 65 79 20 | et.this.variable.to.nil.if.they. |
| 209c0 | 77 61 6e 74 20 74 6f 0a 70 72 65 73 65 72 76 65 20 74 68 65 20 74 72 61 69 6c 69 6e 67 20 77 68 | want.to.preserve.the.trailing.wh |
| 209e0 | 69 74 65 73 70 61 63 65 73 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 20 74 68 65 20 70 75 | itespaces.in.Markdown.for.the.pu |
| 20a00 | 72 70 6f 73 65 20 6f 66 0a 66 6f 72 63 69 6e 67 20 6c 69 6e 65 2d 62 72 65 61 6b 73 2e 0a 0a 54 | rpose.of.forcing.line-breaks...T |
| 20a20 | 68 65 20 74 72 61 69 6c 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 20 64 65 6c 65 74 69 6e 67 20 | he.trailing.whitespace.deleting. |
| 20a40 | 69 73 20 73 6b 69 70 70 65 64 20 69 66 0a 60 6f 72 67 2d 65 78 70 6f 72 74 2d 70 72 65 73 65 72 | is.skipped.if.`org-export-preser |
| 20a60 | 76 65 2d 62 72 65 61 6b 73 27 20 69 73 20 73 65 74 20 74 6f 20 6e 6f 6e 2d 6e 69 6c 3b 20 65 69 | ve-breaks'.is.set.to.non-nil;.ei |
| 20a80 | 74 68 65 72 20 76 69 61 20 74 68 61 74 0a 76 61 72 69 61 62 6c 65 20 6f 72 20 76 69 61 20 74 68 | ther.via.that.variable.or.via.th |
| 20aa0 | 65 20 4f 50 54 49 4f 4e 53 20 6b 65 79 77 6f 72 64 20 5c 22 5c 5c 6e 3a 74 5c 22 20 28 53 65 65 | e.OPTIONS.keyword.\"\\n:t\".(See |
| 20ac0 | 20 28 6f 72 67 29 20 45 78 70 6f 72 74 0a 73 65 74 74 69 6e 67 73 29 2e 0a 0a 5c 28 49 6e 20 62 | .(org).Export.settings)...\(In.b |
| 20ae0 | 65 6c 6f 77 20 4d 61 72 6b 64 6f 77 6e 2c 20 75 6e 64 65 72 73 63 6f 72 65 73 20 61 72 65 20 75 | elow.Markdown,.underscores.are.u |
| 20b00 | 73 65 64 20 74 6f 20 72 65 70 72 65 73 65 6e 74 20 73 70 61 63 65 73 2e 29 0a 0a 20 20 20 20 61 | sed.to.represent.spaces.)......a |
| 20b20 | 62 63 5f 5f 0a 20 20 20 20 64 65 66 5f 5f 0a 0a 54 68 6f 73 65 20 74 72 61 69 6c 69 6e 67 20 77 | bc__.....def__..Those.trailing.w |
| 20b40 | 68 69 74 65 73 70 61 63 65 73 20 72 65 6e 64 65 72 20 74 6f 20 5c 22 3c 62 72 20 2f 3e 5c 22 20 | hitespaces.render.to.\"<br./>\". |
| 20b60 | 74 61 67 73 20 69 6e 20 74 68 65 20 48 75 67 6f 0a 67 65 6e 65 72 61 74 65 64 20 48 54 4d 4c 2e | tags.in.the.Hugo.generated.HTML. |
| 20b80 | 20 20 42 75 74 20 74 68 65 20 73 61 6d 65 20 72 65 73 75 6c 74 20 63 61 6e 20 61 6c 73 6f 20 62 | ..But.the.same.result.can.also.b |
| 20ba0 | 65 20 61 63 68 69 76 65 64 20 62 79 20 75 73 69 6e 67 20 74 68 65 0a 4f 72 67 20 56 65 72 73 65 | e.achived.by.using.the.Org.Verse |
| 20bc0 | 20 62 6c 6f 63 6b 20 6f 72 20 42 6c 61 63 6b 66 72 69 64 61 79 20 68 61 72 64 4c 69 6e 65 42 72 | .block.or.Blackfriday.hardLineBr |
| 20be0 | 65 61 6b 20 65 78 74 65 6e 73 69 6f 6e 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 | eak.extension."...:group.'org-ex |
| 20c00 | 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b 3b 23 | port-hugo...:type.'boolean).;;;# |
| 20c20 | 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 64 65 6c 65 74 65 | ##autoload.(put.'org-hugo-delete |
| 20c40 | 2d 74 72 61 69 6c 69 6e 67 2d 77 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c | -trailing-ws.'safe-local-variabl |
| 20c60 | 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 | e.'booleanp)..(defcustom.org-hug |
| 20c80 | 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 20 6e 69 6c 0a 20 20 22 57 68 65 6e 20 6e | o-use-code-for-kbd.nil..."When.n |
| 20ca0 | 6f 6e 2d 6e 69 6c 2c 20 7e 74 65 78 74 7e 20 77 69 6c 6c 20 74 72 61 6e 73 6c 61 74 65 20 74 6f | on-nil,.~text~.will.translate.to |
| 20cc0 | 20 3c 6b 62 64 3e 74 65 78 74 3c 2f 6b 62 64 3e 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 | .<kbd>text</kbd>."...:group.'org |
| 20ce0 | 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b | -export-hugo...:type.'boolean).; |
| 20d00 | 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 75 73 65 | ;;###autoload.(put.'org-hugo-use |
| 20d20 | 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 | -code-for-kbd.'safe-local-variab |
| 20d40 | 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 | le.'booleanp)..(defcustom.org-hu |
| 20d60 | 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 20 74 0a 20 20 22 57 68 65 | go-allow-spaces-in-tags.t..."Whe |
| 20d80 | 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 65 70 6c 61 63 65 20 64 6f 75 62 6c 65 20 75 6e 64 65 72 73 | n.non-nil,.replace.double.unders |
| 20da0 | 63 6f 72 65 73 20 69 6e 20 4f 72 67 20 74 61 67 73 20 77 69 74 68 20 73 70 61 63 65 73 2e 0a 0a | cores.in.Org.tags.with.spaces... |
| 20dc0 | 53 65 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e | See.`org-hugo--tag-processing-fn |
| 20de0 | 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 73 70 61 63 65 73 2d 6d 61 79 62 65 27 20 66 6f 72 0a | -replace-with-spaces-maybe'.for. |
| 20e00 | 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 | more.information...This.variable |
| 20e20 | 20 61 66 66 65 63 74 73 20 74 68 65 20 48 75 67 6f 20 74 61 67 73 20 61 6e 64 20 63 61 74 65 67 | .affects.the.Hugo.tags.and.categ |
| 20e40 | 6f 72 69 65 73 20 28 73 65 74 20 76 69 61 20 4f 72 67 0a 74 61 67 73 20 75 73 69 6e 67 20 74 68 | ories.(set.via.Org.tags.using.th |
| 20e60 | 65 20 5c 22 40 5c 22 20 70 72 65 66 69 78 29 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d | e.\"@\".prefix)."...:group.'org- |
| 20e80 | 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b | export-hugo...:type.'boolean).;; |
| 20ea0 | 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f | ;###autoload.(put.'org-hugo-allo |
| 20ec0 | 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 | w-spaces-in-tags.'safe-local-var |
| 20ee0 | 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 | iable.'booleanp)..(defcustom.org |
| 20f00 | 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 20 74 0a 20 20 | -hugo-prefer-hyphen-in-tags.t... |
| 20f20 | 22 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 65 70 6c 61 63 65 20 73 69 6e 67 6c 65 20 75 6e | "When.non-nil,.replace.single.un |
| 20f40 | 64 65 72 73 63 6f 72 65 73 20 69 6e 20 4f 72 67 20 74 61 67 73 20 77 69 74 68 20 68 79 70 68 65 | derscores.in.Org.tags.with.hyphe |
| 20f60 | 6e 73 2e 0a 0a 53 65 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 | ns...See.`org-hugo--tag-processi |
| 20f80 | 6e 67 2d 66 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 68 79 70 68 65 6e 73 2d 6d 61 79 62 65 | ng-fn-replace-with-hyphens-maybe |
| 20fa0 | 27 20 66 6f 72 0a 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 54 68 69 73 20 76 61 | '.for.more.information...This.va |
| 20fc0 | 72 69 61 62 6c 65 20 61 66 66 65 63 74 73 20 74 68 65 20 48 75 67 6f 20 74 61 67 73 20 61 6e 64 | riable.affects.the.Hugo.tags.and |
| 20fe0 | 20 63 61 74 65 67 6f 72 69 65 73 20 28 73 65 74 20 76 69 61 20 4f 72 67 0a 74 61 67 73 20 75 73 | .categories.(set.via.Org.tags.us |
| 21000 | 69 6e 67 20 74 68 65 20 5c 22 40 5c 22 20 70 72 65 66 69 78 29 2e 22 0a 20 20 3a 67 72 6f 75 70 | ing.the.\"@\".prefix)."...:group |
| 21020 | 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 | .'org-export-hugo...:type.'boole |
| 21040 | 61 6e 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 | an).;;;###autoload.(put.'org-hug |
| 21060 | 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 20 27 73 61 66 65 2d 6c 6f | o-prefer-hyphen-in-tags.'safe-lo |
| 21080 | 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 | cal-variable.'booleanp)..(defcus |
| 210a0 | 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 | tom.org-hugo-tag-processing-func |
| 210c0 | 74 69 6f 6e 73 20 27 28 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 | tions.'(org-hugo--tag-processing |
| 210e0 | 2d 66 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 73 70 61 63 65 73 2d 6d 61 79 62 65 0a 20 20 | -fn-replace-with-spaces-maybe... |
| 21100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 21120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 | .............org-hugo--tag-proce |
| 21140 | 73 73 69 6e 67 2d 66 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 68 79 70 68 65 6e 73 2d 6d 61 | ssing-fn-replace-with-hyphens-ma |
| 21160 | 79 62 65 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 66 75 6e 63 74 69 6f 6e 73 20 74 68 61 74 20 61 | ybe)..."List.of.functions.that.a |
| 21180 | 72 65 20 63 61 6c 6c 65 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 70 72 6f 63 65 73 73 20 74 68 | re.called.in.order.to.process.th |
| 211a0 | 65 20 4f 72 67 20 74 61 67 73 2e 0a 45 61 63 68 20 66 75 6e 63 74 69 6f 6e 20 68 61 73 20 74 6f | e.Org.tags..Each.function.has.to |
| 211c0 | 20 61 63 63 65 70 74 20 74 77 6f 20 61 72 67 75 6d 65 6e 74 73 3a 0a 0a 41 72 67 20 31 3a 20 54 | .accept.two.arguments:..Arg.1:.T |
| 211e0 | 41 47 2d 4c 49 53 54 20 77 68 69 63 68 20 69 73 20 61 20 6c 69 73 74 20 6f 66 20 4f 72 67 20 74 | AG-LIST.which.is.a.list.of.Org.t |
| 21200 | 61 67 73 20 6f 66 20 74 68 65 20 74 79 70 65 0a 20 20 20 20 20 20 20 5c 28 5c 22 54 41 47 31 5c | ags.of.the.type........\(\"TAG1\ |
| 21220 | 22 20 5c 22 54 41 47 32 5c 22 20 2e 2e 29 2e 0a 41 72 67 20 32 3a 20 49 4e 46 4f 20 77 68 69 63 | ".\"TAG2\"...)..Arg.2:.INFO.whic |
| 21240 | 68 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 20 | h.is.a.plist.holding.contextual. |
| 21260 | 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 45 61 63 68 20 66 75 6e 63 74 69 6f 6e 20 73 68 6f 75 | information...Each.function.shou |
| 21280 | 6c 64 20 74 68 65 6e 20 72 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 | ld.then.return.a.list.of.strings |
| 212a0 | 2c 20 77 68 69 63 68 20 77 6f 75 6c 64 0a 62 65 20 70 72 6f 63 65 73 73 65 64 20 66 6f 72 6d 20 | ,.which.would.be.processed.form. |
| 212c0 | 6f 66 20 54 41 47 2d 4c 49 53 54 2e 0a 0a 41 6c 6c 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 | of.TAG-LIST...All.the.functions. |
| 212e0 | 61 72 65 20 63 61 6c 6c 65 64 20 69 6e 20 6f 72 64 65 72 2c 20 61 6e 64 20 74 68 65 20 6f 75 74 | are.called.in.order,.and.the.out |
| 21300 | 70 75 74 20 6f 66 20 6f 6e 65 0a 66 75 6e 63 74 69 6f 6e 20 69 73 20 66 65 64 20 61 73 20 74 68 | put.of.one.function.is.fed.as.th |
| 21320 | 65 20 54 41 47 2d 4c 49 53 54 20 69 6e 70 75 74 20 6f 66 20 74 68 65 20 6e 65 78 74 20 63 61 6c | e.TAG-LIST.input.of.the.next.cal |
| 21340 | 6c 65 64 0a 66 75 6e 63 74 69 6f 6e 2e 0a 0a 54 68 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 | led.function...The.`org-hugo--ta |
| 21360 | 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 73 70 61 | g-processing-fn-replace-with-spa |
| 21380 | 63 65 73 2d 6d 61 79 62 65 27 0a 66 75 6e 63 74 69 6f 6e 20 73 6b 69 70 73 20 61 6e 79 20 70 72 | ces-maybe'.function.skips.any.pr |
| 213a0 | 6f 63 65 73 73 69 6e 67 20 61 6e 64 20 72 65 74 75 72 6e 73 20 69 74 73 20 69 6e 70 75 74 20 54 | ocessing.and.returns.its.input.T |
| 213c0 | 41 47 2d 4c 49 53 54 20 61 73 0a 69 74 20 69 73 20 69 66 20 60 6f 72 67 2d 68 75 67 6f 2d 61 6c | AG-LIST.as.it.is.if.`org-hugo-al |
| 213e0 | 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 27 20 69 73 20 6e 69 6c 2e 0a 0a 54 68 65 | low-spaces-in-tags'.is.nil...The |
| 21400 | 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d 72 65 | .`org-hugo--tag-processing-fn-re |
| 21420 | 70 6c 61 63 65 2d 77 69 74 68 2d 68 79 70 68 65 6e 73 2d 6d 61 79 62 65 27 0a 66 75 6e 63 74 69 | place-with-hyphens-maybe'.functi |
| 21440 | 6f 6e 20 73 6b 69 70 73 20 61 6e 79 20 70 72 6f 63 65 73 73 69 6e 67 20 61 6e 64 20 72 65 74 75 | on.skips.any.processing.and.retu |
| 21460 | 72 6e 73 20 69 74 73 20 69 6e 70 75 74 20 54 41 47 2d 4c 49 53 54 20 61 73 0a 69 74 20 69 73 20 | rns.its.input.TAG-LIST.as.it.is. |
| 21480 | 69 66 20 60 6f 72 67 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 | if.`org-hugo-prefer-hyphen-in-ta |
| 214a0 | 67 73 27 20 69 73 20 6e 69 6c 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 | gs'.is.nil."...:group.'org-expor |
| 214c0 | 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 72 65 70 65 61 74 20 28 66 75 6e 63 74 69 6f | t-hugo...:type.'(repeat.(functio |
| 214e0 | 6e 29 29 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 73 | n)))..(defcustom.org-hugo-auto-s |
| 21500 | 65 74 2d 6c 61 73 74 6d 6f 64 20 6e 69 6c 0a 20 20 22 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 | et-lastmod.nil..."When.non-nil,. |
| 21520 | 73 65 74 20 74 68 65 20 6c 61 73 74 6d 6f 64 20 66 69 65 6c 64 20 69 6e 20 66 72 6f 6e 74 2d 6d | set.the.lastmod.field.in.front-m |
| 21540 | 61 74 74 65 72 20 74 6f 20 63 75 72 72 65 6e 74 20 74 69 6d 65 2e 22 0a 20 20 3a 67 72 6f 75 70 | atter.to.current.time."...:group |
| 21560 | 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 | .'org-export-hugo...:type.'boole |
| 21580 | 61 6e 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 | an).;;;###autoload.(put.'org-hug |
| 215a0 | 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 | o-auto-set-lastmod.'safe-local-v |
| 215c0 | 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f | ariable.'booleanp)..(defcustom.o |
| 215e0 | 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 20 | rg-hugo-suppress-lastmod-period. |
| 21600 | 30 2e 30 0a 20 20 22 53 75 70 70 72 65 73 73 69 6e 67 20 70 65 72 69 6f 64 20 28 69 6e 20 73 65 | 0.0..."Suppressing.period.(in.se |
| 21620 | 63 6f 6e 64 73 29 20 66 6f 72 20 61 64 64 69 6e 67 20 74 68 65 20 6c 61 73 74 6d 6f 64 20 66 72 | conds).for.adding.the.lastmod.fr |
| 21640 | 6f 6e 74 2d 6d 61 74 74 65 72 2e 0a 0a 54 68 65 20 73 75 70 70 72 65 73 73 69 6e 67 20 70 65 72 | ont-matter...The.suppressing.per |
| 21660 | 69 6f 64 20 69 73 20 63 61 6c 63 75 6c 61 74 65 64 20 61 73 20 61 20 64 65 6c 74 61 20 62 65 74 | iod.is.calculated.as.a.delta.bet |
| 21680 | 77 65 65 6e 20 74 68 65 0a 5c 22 64 61 74 65 5c 22 20 61 6e 64 20 61 75 74 6f 2d 63 61 6c 63 75 | ween.the.\"date\".and.auto-calcu |
| 216a0 | 6c 61 74 65 64 20 5c 22 6c 61 73 74 6d 6f 64 5c 22 20 76 61 6c 75 65 73 2e 20 20 54 68 69 73 20 | lated.\"lastmod\".values...This. |
| 216c0 | 76 61 6c 75 65 20 63 61 6e 0a 62 65 20 30 2e 30 20 6f 72 20 61 20 70 6f 73 69 74 69 76 65 20 66 | value.can.be.0.0.or.a.positive.f |
| 216e0 | 6c 6f 61 74 2e 0a 0a 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 69 73 20 30 2e 30 20 | loat...The.default.value.is.0.0. |
| 21700 | 28 73 65 63 6f 6e 64 73 29 2c 20 77 68 69 63 68 20 6d 65 61 6e 73 20 74 68 61 74 20 74 68 65 20 | (seconds),.which.means.that.the. |
| 21720 | 6c 61 73 74 6d 6f 64 0a 70 61 72 61 6d 65 74 65 72 20 77 69 6c 6c 20 62 65 20 61 64 64 65 64 20 | lastmod.parameter.will.be.added. |
| 21740 | 74 6f 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 65 76 65 6e 20 69 66 20 74 68 65 20 70 6f 73 74 | to.front-matter.even.if.the.post |
| 21760 | 20 69 73 0a 6d 6f 64 69 66 69 65 64 20 77 69 74 68 69 6e 20 6a 75 73 74 20 30 2e 31 20 73 65 63 | .is.modified.within.just.0.1.sec |
| 21780 | 6f 6e 64 73 20 61 66 74 65 72 20 74 68 65 20 69 6e 69 74 69 61 6c 20 63 72 65 61 74 69 6f 6e 20 | onds.after.the.initial.creation. |
| 217a0 | 6f 66 0a 69 74 20 28 77 68 65 6e 20 74 68 65 20 5c 22 64 61 74 65 5c 22 20 69 73 20 73 65 74 29 | of.it.(when.the.\"date\".is.set) |
| 217c0 | 2e 0a 0a 49 66 20 74 68 65 20 76 61 6c 75 65 20 69 73 20 38 36 34 30 30 2e 30 2c 20 74 68 65 20 | ...If.the.value.is.86400.0,.the. |
| 217e0 | 6c 61 73 74 6d 6f 64 20 70 61 72 61 6d 65 74 65 72 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 64 | lastmod.parameter.will.not.be.ad |
| 21800 | 64 65 64 0a 74 6f 20 74 68 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 77 69 74 68 69 6e 20 32 | ded.to.the.front-matter.within.2 |
| 21820 | 34 20 68 6f 75 72 73 20 66 72 6f 6d 20 74 68 65 20 69 6e 69 74 69 61 6c 20 65 78 70 6f 72 74 69 | 4.hours.from.the.initial.exporti |
| 21840 | 6e 67 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 65 66 66 65 63 74 69 76 65 20 | ng...This.variable.is.effective. |
| 21860 | 6f 6e 6c 79 20 69 66 20 61 75 74 6f 2d 73 65 74 74 69 6e 67 20 6f 66 20 74 68 65 0a 5c 22 6c 61 | only.if.auto-setting.of.the.\"la |
| 21880 | 73 74 6d 6f 64 5c 22 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 65 6e 61 62 6c 65 64 20 69 2e 65 | stmod\".parameter.is.enabled.i.e |
| 218a0 | 2e 20 69 66 0a 60 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 27 | ..if.`org-hugo-auto-set-lastmod' |
| 218c0 | 20 6f 72 20 60 45 58 50 4f 52 54 5f 48 55 47 4f 5f 41 55 54 4f 5f 53 45 54 5f 4c 41 53 54 4d 4f | .or.`EXPORT_HUGO_AUTO_SET_LASTMO |
| 218e0 | 44 27 20 69 73 0a 6e 6f 6e 2d 6e 69 6c 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 | D'.is.non-nil."...:group.'org-ex |
| 21900 | 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 66 6c 6f 61 74 29 0a 3b 3b 3b 23 23 23 | port-hugo...:type.'float).;;;### |
| 21920 | 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 | autoload.(put.'org-hugo-suppress |
| 21940 | 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 | -lastmod-period.'safe-local-vari |
| 21960 | 61 62 6c 65 20 27 66 6c 6f 61 74 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 | able.'floatp)..(defcustom.org-hu |
| 21980 | 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 74 6f 63 20 6e 69 6c 0a 20 20 22 57 68 65 6e 20 6e | go-export-with-toc.nil..."When.n |
| 219a0 | 6f 6e 2d 6e 69 6c 2c 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 20 54 4f 43 20 77 69 6c 6c | on-nil,.Markdown.format.TOC.will |
| 219c0 | 20 62 65 20 69 6e 73 65 72 74 65 64 2e 0a 0a 54 68 65 20 54 4f 43 20 63 6f 6e 74 61 69 6e 73 20 | .be.inserted...The.TOC.contains. |
| 219e0 | 68 65 61 64 69 6e 67 73 20 77 69 74 68 20 6c 65 76 65 6c 73 20 75 70 0a 74 6f 60 6f 72 67 2d 65 | headings.with.levels.up.to`org-e |
| 21a00 | 78 70 6f 72 74 2d 68 65 61 64 6c 69 6e 65 2d 6c 65 76 65 6c 73 27 2e 20 20 57 68 65 6e 20 61 6e | xport-headline-levels'...When.an |
| 21a20 | 20 69 6e 74 65 67 65 72 2c 20 69 6e 63 6c 75 64 65 20 6c 65 76 65 6c 73 0a 75 70 20 74 6f 20 4e | .integer,.include.levels.up.to.N |
| 21a40 | 20 69 6e 20 74 68 65 20 74 6f 63 2c 20 74 68 69 73 20 6d 61 79 20 74 68 65 6e 20 62 65 20 64 69 | .in.the.toc,.this.may.then.be.di |
| 21a60 | 66 66 65 72 65 6e 74 20 66 72 6f 6d 0a 60 6f 72 67 2d 65 78 70 6f 72 74 2d 68 65 61 64 6c 69 6e | fferent.from.`org-export-headlin |
| 21a80 | 65 2d 6c 65 76 65 6c 73 27 2c 20 62 75 74 20 69 74 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 6c | e-levels',.but.it.will.not.be.al |
| 21aa0 | 6c 6f 77 65 64 20 74 6f 20 62 65 0a 6c 61 72 67 65 72 20 74 68 61 6e 20 74 68 65 20 6e 75 6d 62 | lowed.to.be.larger.than.the.numb |
| 21ac0 | 65 72 20 6f 66 20 68 65 61 64 69 6e 67 20 6c 65 76 65 6c 73 2e 20 20 57 68 65 6e 20 6e 69 6c 2c | er.of.heading.levels...When.nil, |
| 21ae0 | 20 6e 6f 20 74 61 62 6c 65 20 6f 66 0a 63 6f 6e 74 65 6e 74 73 20 69 73 20 6d 61 64 65 2e 0a 0a | .no.table.of.contents.is.made... |
| 21b00 | 54 68 69 73 20 6f 70 74 69 6f 6e 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 65 74 20 77 69 74 68 | This.option.can.also.be.set.with |
| 21b20 | 20 74 68 65 20 4f 50 54 49 4f 4e 53 20 6b 65 79 77 6f 72 64 2c 0a 65 2e 67 2e 20 5c 22 74 6f 63 | .the.OPTIONS.keyword,.e.g..\"toc |
| 21b40 | 3a 6e 69 6c 5c 22 2c 20 5c 22 74 6f 63 3a 74 5c 22 20 6f 72 20 5c 22 74 6f 63 3a 33 5c 22 2e 22 | :nil\",.\"toc:t\".or.\"toc:3\"." |
| 21b60 | 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 | ...:group.'org-export-hugo...:ty |
| 21b80 | 70 65 20 27 28 63 68 6f 69 63 65 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 | pe.'(choice...........(const.:ta |
| 21ba0 | 67 20 22 4e 6f 20 54 61 62 6c 65 20 6f 66 20 43 6f 6e 74 65 6e 74 73 22 20 6e 69 6c 29 0a 20 20 | g."No.Table.of.Contents".nil)... |
| 21bc0 | 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 46 75 6c 6c 20 54 61 62 6c 65 20 | ........(const.:tag."Full.Table. |
| 21be0 | 6f 66 20 43 6f 6e 74 65 6e 74 73 22 20 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 74 65 67 | of.Contents".t)...........(integ |
| 21c00 | 65 72 20 3a 74 61 67 20 22 54 4f 43 20 74 6f 20 6c 65 76 65 6c 22 29 29 29 0a 3b 3b 3b 23 23 23 | er.:tag."TOC.to.level"))).;;;### |
| 21c20 | 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 | autoload.(put.'org-hugo-export-w |
| 21c40 | 69 74 68 2d 74 6f 63 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 28 6c 61 | ith-toc.'safe-local-variable.(la |
| 21c60 | 6d 62 64 61 20 28 78 29 20 28 6f 72 20 28 62 6f 6f 6c 65 61 6e 70 20 78 29 20 28 69 6e 74 65 67 | mbda.(x).(or.(booleanp.x).(integ |
| 21c80 | 65 72 70 20 78 29 29 29 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 65 | erp.x))))..(defcustom.org-hugo-e |
| 21ca0 | 78 70 6f 72 74 2d 77 69 74 68 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 20 6e 69 6c 0a 20 | xport-with-section-numbers.nil.. |
| 21cc0 | 20 22 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 6f 72 20 61 64 64 69 6e 67 20 73 65 63 74 69 | ."Configuration.for.adding.secti |
| 21ce0 | 6f 6e 20 6e 75 6d 62 65 72 73 20 74 6f 20 68 65 61 64 69 6e 67 73 2e 0a 0a 57 68 65 6e 20 73 65 | on.numbers.to.headings...When.se |
| 21d00 | 74 20 74 6f 20 60 6f 6e 6c 79 74 6f 63 27 2c 20 6e 6f 6e 65 20 6f 66 20 74 68 65 20 68 65 61 64 | t.to.`onlytoc',.none.of.the.head |
| 21d20 | 69 6e 67 73 20 77 69 6c 6c 20 62 65 20 6e 75 6d 62 65 72 65 64 20 69 6e 0a 74 68 65 20 65 78 70 | ings.will.be.numbered.in.the.exp |
| 21d40 | 6f 72 74 65 64 20 70 6f 73 74 20 62 6f 64 79 2c 20 62 75 74 20 54 4f 43 20 67 65 6e 65 72 61 74 | orted.post.body,.but.TOC.generat |
| 21d60 | 69 6f 6e 20 77 69 6c 6c 20 75 73 65 20 74 68 65 20 73 65 63 74 69 6f 6e 0a 6e 75 6d 62 65 72 73 | ion.will.use.the.section.numbers |
| 21d80 | 2e 0a 0a 57 68 65 6e 20 73 65 74 20 74 6f 20 61 6e 20 69 6e 74 65 67 65 72 20 4e 2c 20 6e 75 6d | ...When.set.to.an.integer.N,.num |
| 21da0 | 62 65 72 69 6e 67 20 77 69 6c 6c 20 6f 6e 6c 79 20 68 61 70 70 65 6e 20 66 6f 72 0a 68 65 61 64 | bering.will.only.happen.for.head |
| 21dc0 | 69 6e 67 73 20 77 68 6f 73 65 20 72 65 6c 61 74 69 76 65 20 6c 65 76 65 6c 20 69 73 20 68 69 67 | ings.whose.relative.level.is.hig |
| 21de0 | 68 65 72 20 6f 72 20 65 71 75 61 6c 20 74 6f 20 4e 2e 0a 0a 57 68 65 6e 20 73 65 74 20 74 6f 20 | her.or.equal.to.N...When.set.to. |
| 21e00 | 61 6e 79 20 6f 74 68 65 72 20 6e 6f 6e 2d 6e 69 6c 20 76 61 6c 75 65 2c 20 6e 75 6d 62 65 72 69 | any.other.non-nil.value,.numberi |
| 21e20 | 6e 67 20 77 69 6c 6c 20 68 61 70 70 65 6e 20 66 6f 72 0a 61 6c 6c 20 74 68 65 20 68 65 61 64 69 | ng.will.happen.for.all.the.headi |
| 21e40 | 6e 67 73 2e 0a 0a 54 68 69 73 20 6f 70 74 69 6f 6e 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 65 | ngs...This.option.can.also.be.se |
| 21e60 | 74 20 77 69 74 68 20 74 68 65 20 4f 50 54 49 4f 4e 53 20 6b 65 79 77 6f 72 64 2c 0a 65 2e 67 2e | t.with.the.OPTIONS.keyword,.e.g. |
| 21e80 | 20 5c 22 6e 75 6d 3a 6f 6e 6c 79 74 6f 63 5c 22 2c 20 5c 22 6e 75 6d 3a 6e 69 6c 5c 22 2c 20 5c | .\"num:onlytoc\",.\"num:nil\",.\ |
| 21ea0 | 22 6e 75 6d 3a 74 5c 22 20 6f 72 20 5c 22 6e 75 6d 3a 33 5c 22 2e 22 0a 20 20 3a 67 72 6f 75 70 | "num:t\".or.\"num:3\"."...:group |
| 21ec0 | 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 63 68 6f 69 | .'org-export-hugo...:type.'(choi |
| 21ee0 | 63 65 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 44 6f 6e 27 74 20 | ce...........(const.:tag."Don't. |
| 21f00 | 6e 75 6d 62 65 72 20 6f 6e 6c 79 20 69 6e 20 62 6f 64 79 22 20 6f 6e 6c 79 74 6f 63 29 0a 20 20 | number.only.in.body".onlytoc)... |
| 21f20 | 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 44 6f 6e 27 74 20 6e 75 6d 62 65 | ........(const.:tag."Don't.numbe |
| 21f40 | 72 20 61 6e 79 20 68 65 61 64 69 6e 67 22 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 | r.any.heading".nil)...........(c |
| 21f60 | 6f 6e 73 74 20 3a 74 61 67 20 22 4e 75 6d 62 65 72 20 61 6c 6c 20 68 65 61 64 69 6e 67 73 22 20 | onst.:tag."Number.all.headings". |
| 21f80 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 74 65 67 65 72 20 3a 74 61 67 20 22 4e 75 6d 62 | t)...........(integer.:tag."Numb |
| 21fa0 | 65 72 20 74 6f 20 6c 65 76 65 6c 22 29 29 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 | er.to.level"))).;;;###autoload.( |
| 21fc0 | 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 73 65 63 74 69 6f | put.'org-hugo-export-with-sectio |
| 21fe0 | 6e 2d 6e 75 6d 62 65 72 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 28 | n-numbers.'safe-local-variable.( |
| 22000 | 6c 61 6d 62 64 61 20 28 78 29 20 28 6f 72 20 28 62 6f 6f 6c 65 61 6e 70 20 78 29 20 28 65 71 75 | lambda.(x).(or.(booleanp.x).(equ |
| 22020 | 61 6c 20 27 6f 6e 6c 79 74 6f 63 20 78 29 20 28 69 6e 74 65 67 65 72 70 20 78 29 29 29 29 0a 0a | al.'onlytoc.x).(integerp.x)))).. |
| 22040 | 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 | (defcustom.org-hugo-default-stat |
| 22060 | 69 63 2d 73 75 62 64 69 72 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 20 22 6f | ic-subdirectory-for-externals."o |
| 22080 | 78 2d 68 75 67 6f 22 0a 20 20 22 44 65 66 61 75 6c 74 20 73 75 62 2d 64 69 72 65 63 74 6f 72 79 | x-hugo"..."Default.sub-directory |
| 220a0 | 20 69 6e 20 48 75 67 6f 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 65 78 | .in.Hugo.static.directory.for.ex |
| 220c0 | 74 65 72 6e 61 6c 20 66 69 6c 65 73 2e 0a 49 66 20 74 68 65 20 73 6f 75 72 63 65 20 70 61 74 68 | ternal.files..If.the.source.path |
| 220e0 | 20 66 6f 72 20 65 78 74 65 72 6e 61 6c 20 66 69 6c 65 73 20 64 6f 65 73 20 6e 6f 74 20 63 6f 6e | .for.external.files.does.not.con |
| 22100 | 74 61 69 6e 0a 5c 22 73 74 61 74 69 63 5c 22 2c 20 60 6f 78 2d 68 75 67 6f 60 20 63 61 6e 6e 6f | tain.\"static\",.`ox-hugo`.canno |
| 22120 | 74 20 6b 6e 6f 77 20 77 68 61 74 20 64 69 72 65 63 74 6f 72 79 20 73 74 72 75 63 74 75 72 65 20 | t.know.what.directory.structure. |
| 22140 | 74 6f 0a 63 72 65 61 74 65 20 69 6e 73 69 64 65 20 74 68 65 20 48 75 67 6f 20 73 74 61 74 69 63 | to.create.inside.the.Hugo.static |
| 22160 | 20 64 69 72 65 63 74 6f 72 79 2e 20 20 53 6f 20 61 6c 6c 20 73 75 63 68 20 66 69 6c 65 73 20 61 | .directory...So.all.such.files.a |
| 22180 | 72 65 0a 63 6f 70 69 65 64 20 74 6f 20 74 68 69 73 20 73 75 62 2d 64 69 72 65 63 74 6f 72 79 20 | re.copied.to.this.sub-directory. |
| 221a0 | 69 6e 73 69 64 65 20 74 68 65 20 48 75 67 6f 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 79 | inside.the.Hugo.static.directory |
| 221c0 | 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a | ."...:group.'org-export-hugo...: |
| 221e0 | 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 | type.'string).;;;###autoload.(pu |
| 22200 | 74 20 27 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 75 62 64 69 | t.'org-hugo-default-static-subdi |
| 22220 | 72 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 20 27 73 61 66 65 2d 6c 6f 63 61 | rectory-for-externals.'safe-loca |
| 22240 | 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d | l-variable.'stringp)..(defcustom |
| 22260 | 20 6f 72 67 2d 68 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d 66 69 6c 65 2d 65 78 74 65 6e 73 69 6f | .org-hugo-external-file-extensio |
| 22280 | 6e 73 2d 61 6c 6c 6f 77 65 64 2d 66 6f 72 2d 63 6f 70 79 69 6e 67 0a 20 20 27 28 22 6a 70 67 22 | ns-allowed-for-copying...'("jpg" |
| 222a0 | 20 22 6a 70 65 67 22 20 22 74 69 66 66 22 20 22 70 6e 67 22 20 22 73 76 67 22 20 22 67 69 66 22 | ."jpeg"."tiff"."png"."svg"."gif" |
| 222c0 | 20 22 62 6d 70 22 0a 20 20 20 20 22 6d 70 34 22 0a 20 20 20 20 22 70 64 66 22 20 22 6f 64 74 22 | ."bmp"....."mp4"....."pdf"."odt" |
| 222e0 | 0a 20 20 20 20 22 64 6f 63 22 20 22 70 70 74 22 20 22 78 6c 73 22 0a 20 20 20 20 22 64 6f 63 78 | ....."doc"."ppt"."xls"....."docx |
| 22300 | 22 20 22 70 70 74 78 22 20 22 78 6c 73 78 22 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 65 78 74 65 | "."pptx"."xlsx")..."List.of.exte |
| 22320 | 72 6e 61 6c 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 20 61 6c 6c 6f 77 65 64 20 66 6f 72 | rnal.file.extensions.allowed.for |
| 22340 | 20 63 6f 70 79 69 6e 67 20 74 6f 20 48 75 67 6f 20 73 74 61 74 69 63 20 64 69 72 2e 0a 49 66 20 | .copying.to.Hugo.static.dir..If. |
| 22360 | 61 6e 20 4f 72 67 20 6c 69 6e 6b 20 72 65 66 65 72 65 6e 63 65 73 20 61 20 66 69 6c 65 20 77 69 | an.Org.link.references.a.file.wi |
| 22380 | 74 68 20 6f 6e 65 20 6f 66 20 74 68 65 73 65 20 65 78 74 65 6e 73 69 6f 6e 73 2c 0a 61 6e 64 20 | th.one.of.these.extensions,.and. |
| 223a0 | 69 66 20 74 68 61 74 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 69 6e 20 74 68 65 20 48 75 67 6f 20 | if.that.file.is.not.in.the.Hugo. |
| 223c0 | 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 79 2c 20 74 68 61 74 20 66 69 6c 65 0a 69 73 20 63 | static.directory,.that.file.is.c |
| 223e0 | 6f 70 69 65 64 20 6f 76 65 72 20 74 6f 20 74 68 65 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f | opied.over.to.the.static.directo |
| 22400 | 72 79 2e 0a 0a 54 68 65 20 61 75 74 6f 2d 63 6f 70 79 69 6e 67 20 62 65 68 61 76 69 6f 72 20 69 | ry...The.auto-copying.behavior.i |
| 22420 | 73 20 64 69 73 61 62 6c 65 64 20 69 66 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 73 | s.disabled.if.this.variable.is.s |
| 22440 | 65 74 20 74 6f 0a 6e 69 6c 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 | et.to.nil."...:group.'org-export |
| 22460 | 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 72 65 70 65 61 74 20 73 74 72 69 6e 67 29 29 0a | -hugo...:type.'(repeat.string)). |
| 22480 | 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 63 72 65 61 | .(defcustom.org-hugo-export-crea |
| 224a0 | 74 6f 72 2d 73 74 72 69 6e 67 0a 20 20 28 66 6f 72 6d 61 74 20 22 45 6d 61 63 73 20 25 73 20 28 | tor-string...(format."Emacs.%s.( |
| 224c0 | 4f 72 67 20 6d 6f 64 65 25 73 20 2b 20 6f 78 2d 68 75 67 6f 29 22 0a 20 20 20 20 20 20 20 20 20 | Org.mode%s.+.ox-hugo)".......... |
| 224e0 | 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 66 62 | .emacs-version...........(if.(fb |
| 22500 | 6f 75 6e 64 70 20 27 6f 72 67 2d 76 65 72 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | oundp.'org-version)............. |
| 22520 | 20 20 28 63 6f 6e 63 61 74 20 22 20 22 20 28 6f 72 67 2d 76 65 72 73 69 6f 6e 29 29 0a 20 20 20 | ..(concat.".".(org-version)).... |
| 22540 | 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 22 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f | .........""))..."Information.abo |
| 22560 | 75 74 20 74 68 65 20 63 72 65 61 74 6f 72 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 2e 0a | ut.the.creator.of.the.document.. |
| 22580 | 54 68 69 73 20 6f 70 74 69 6f 6e 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 65 74 20 6f 6e 20 77 | This.option.can.also.be.set.on.w |
| 225a0 | 69 74 68 20 74 68 65 20 43 52 45 41 54 4f 52 20 6b 65 79 77 6f 72 64 2e 22 0a 20 20 3a 67 72 6f | ith.the.CREATOR.keyword."...:gro |
| 225c0 | 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 73 74 | up.'org-export-hugo...:type.'(st |
| 225e0 | 72 69 6e 67 20 3a 74 61 67 20 22 43 72 65 61 74 6f 72 20 73 74 72 69 6e 67 22 29 29 0a 3b 3b 3b | ring.:tag."Creator.string")).;;; |
| 22600 | 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 | ###autoload.(put.'org-hugo-expor |
| 22620 | 74 2d 63 72 65 61 74 6f 72 2d 73 74 72 69 6e 67 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 | t-creator-string.'safe-local-var |
| 22640 | 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d | iable.'stringp)..(defcustom.org- |
| 22660 | 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 20 22 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 22 | hugo-date-format."%Y-%m-%dT%T%z" |
| 22680 | 0a 20 20 22 44 61 74 65 20 66 6f 72 6d 61 74 20 75 73 65 64 20 66 6f 72 20 65 78 70 6f 72 74 69 | ..."Date.format.used.for.exporti |
| 226a0 | 6e 67 20 64 61 74 65 20 69 6e 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 0a 0a 46 72 6f 6e 74 2d | ng.date.in.front-matter...Front- |
| 226c0 | 6d 61 74 74 65 72 20 64 61 74 65 20 70 61 72 61 6d 65 74 65 72 73 3a 20 60 64 61 74 65 27 2c 20 | matter.date.parameters:.`date',. |
| 226e0 | 60 70 75 62 6c 69 73 68 44 61 74 65 27 2c 0a 60 65 78 70 69 72 79 44 61 74 65 27 2c 20 60 6c 61 | `publishDate',.`expiryDate',.`la |
| 22700 | 73 74 6d 6f 64 27 2e 0a 0a 4e 6f 74 65 20 74 68 61 74 20 74 68 65 20 64 61 74 65 20 66 6f 72 6d | stmod'...Note.that.the.date.form |
| 22720 | 61 74 20 6d 75 73 74 20 6d 61 74 63 68 20 74 68 65 20 64 61 74 65 20 73 70 65 63 69 66 69 63 61 | at.must.match.the.date.specifica |
| 22740 | 74 69 6f 6e 20 66 72 6f 6d 0a 52 46 43 33 33 33 39 2e 20 20 53 65 65 20 60 6f 72 67 2d 68 75 67 | tion.from.RFC3339...See.`org-hug |
| 22760 | 6f 2d 2d 64 61 74 65 2d 74 69 6d 65 2d 72 65 67 65 78 70 27 20 66 6f 72 20 72 65 66 65 72 65 6e | o--date-time-regexp'.for.referen |
| 22780 | 63 65 20 61 6e 64 0a 65 78 61 6d 70 6c 65 73 20 6f 66 20 63 6f 6d 70 61 74 69 62 6c 65 20 64 61 | ce.and.examples.of.compatible.da |
| 227a0 | 74 65 20 73 74 72 69 6e 67 73 2e 0a 0a 45 78 61 6d 70 6c 65 73 20 6f 66 20 52 46 43 33 33 33 39 | te.strings...Examples.of.RFC3339 |
| 227c0 | 2d 63 6f 6d 70 61 74 69 62 6c 65 20 76 61 6c 75 65 73 20 66 6f 72 20 74 68 69 73 20 76 61 72 69 | -compatible.values.for.this.vari |
| 227e0 | 61 62 6c 65 3a 0a 0a 20 20 2d 20 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 20 28 64 65 66 61 75 6c | able:....-.%Y-%m-%dT%T%z.(defaul |
| 22800 | 74 29 20 2d 3e 20 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2d 30 34 3a 30 30 0a | t).->.2017-07-31T17:05:38-04:00. |
| 22820 | 20 20 2d 20 25 59 2d 25 6d 2d 25 64 54 25 54 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 3e 20 32 | ..-.%Y-%m-%dT%T.............->.2 |
| 22840 | 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 0a 20 20 2d 20 25 59 2d 25 6d 2d 25 64 20 | 017-07-31T17:05:38...-.%Y-%m-%d. |
| 22860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 3e 20 32 30 31 37 2d 30 37 2d 33 31 0a 0a 4e 6f | ...............->.2017-07-31..No |
| 22880 | 74 65 20 74 68 61 74 20 5c 22 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 5c 22 20 61 63 74 75 61 6c | te.that.\"%Y-%m-%dT%T%z\".actual |
| 228a0 | 6c 79 20 70 72 6f 64 75 63 65 73 20 61 20 64 61 74 65 20 73 74 72 69 6e 67 20 6c 69 6b 65 0a 5c | ly.produces.a.date.string.like.\ |
| 228c0 | 22 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2d 30 34 30 30 5c 22 3b 20 6e 6f 74 | "2017-07-31T17:05:38-0400\";.not |
| 228e0 | 69 63 65 20 74 68 65 20 6d 69 73 73 69 6e 67 20 63 6f 6c 6f 6e 20 69 6e 20 74 68 65 0a 74 69 6d | ice.the.missing.colon.in.the.tim |
| 22900 | 65 2d 7a 6f 6e 65 20 70 6f 72 74 69 6f 6e 2e 0a 0a 41 20 63 6f 6c 6f 6e 20 69 73 20 6e 65 65 64 | e-zone.portion...A.colon.is.need |
| 22920 | 65 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 74 68 65 20 68 6f 75 72 73 20 61 6e 64 20 6d 69 6e | ed.to.separate.the.hours.and.min |
| 22940 | 75 74 65 73 20 69 6e 20 74 68 65 0a 74 69 6d 65 2d 7a 6f 6e 65 20 61 73 20 70 65 72 20 52 46 43 | utes.in.the.time-zone.as.per.RFC |
| 22960 | 33 33 33 39 2e 20 20 54 68 69 73 20 67 65 74 73 20 66 69 78 65 64 20 69 6e 20 74 68 65 0a 60 6f | 3339...This.gets.fixed.in.the.`o |
| 22980 | 72 67 2d 68 75 67 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 65 27 20 66 75 6e 63 74 69 6f 6e 2c 20 | rg-hugo--format-date'.function,. |
| 229a0 | 73 6f 20 74 68 61 74 20 5c 22 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 5c 22 20 6e 6f 77 0a 72 65 | so.that.\"%Y-%m-%dT%T%z\".now.re |
| 229c0 | 73 75 6c 74 73 20 69 6e 20 61 20 64 61 74 65 20 73 74 72 69 6e 67 20 6c 69 6b 65 20 5c 22 32 30 | sults.in.a.date.string.like.\"20 |
| 229e0 | 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2d 30 34 3a 30 30 5c 22 2e 0a 0a 53 65 65 20 | 17-07-31T17:05:38-04:00\"...See. |
| 22a00 | 60 66 6f 72 6d 61 74 2d 74 69 6d 65 2d 73 74 72 69 6e 67 27 20 74 6f 20 6c 65 61 72 6e 20 61 62 | `format-time-string'.to.learn.ab |
| 22a20 | 6f 75 74 20 74 68 65 20 64 61 74 65 20 66 6f 72 6d 61 74 20 73 74 72 69 6e 67 0a 65 78 70 72 65 | out.the.date.format.string.expre |
| 22a40 | 73 73 69 6f 6e 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 | ssion."...:group.'org-export-hug |
| 22a60 | 6f 0a 20 20 3a 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 | o...:type.'string).;;;###autoloa |
| 22a80 | 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 20 27 73 61 | d.(put.'org-hugo-date-format.'sa |
| 22aa0 | 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 | fe-local-variable.'stringp)..(de |
| 22ac0 | 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 | fcustom.org-hugo-paired-shortcod |
| 22ae0 | 65 73 20 22 22 0a 20 20 22 53 70 61 63 65 2d 73 65 70 61 72 61 74 65 64 20 73 74 72 69 6e 67 20 | es.""..."Space-separated.string. |
| 22b00 | 6f 66 20 70 61 69 72 65 64 20 73 68 6f 72 74 63 6f 64 65 20 73 74 72 69 6e 67 73 2e 0a 0a 53 68 | of.paired.shortcode.strings...Sh |
| 22b20 | 6f 72 74 63 6f 64 65 20 73 74 72 69 6e 67 20 63 6f 6e 76 65 6e 74 69 6f 6e 3a 0a 0a 20 20 2d 20 | ortcode.string.convention:....-. |
| 22b40 | 42 65 67 69 6e 20 74 68 65 20 73 74 72 69 6e 67 20 77 69 74 68 20 5c 22 25 5c 22 20 66 6f 72 20 | Begin.the.string.with.\"%\".for. |
| 22b60 | 73 68 6f 72 74 63 6f 64 65 73 20 77 68 6f 73 65 20 63 6f 6e 74 65 6e 74 20 63 61 6e 0a 20 20 20 | shortcodes.whose.content.can.... |
| 22b80 | 20 63 6f 6e 74 61 69 6e 20 4d 61 72 6b 64 6f 77 6e 2c 20 61 6e 64 20 74 68 75 73 20 6e 65 65 64 | .contain.Markdown,.and.thus.need |
| 22ba0 | 73 20 74 6f 20 62 65 20 70 61 73 73 65 64 20 74 68 72 6f 75 67 68 20 74 68 65 0a 20 20 20 20 48 | s.to.be.passed.through.the.....H |
| 22bc0 | 75 67 6f 20 4d 61 72 6b 64 6f 77 6e 20 70 72 6f 63 65 73 73 6f 72 2e 20 20 54 68 65 20 63 6f 6e | ugo.Markdown.processor...The.con |
| 22be0 | 74 65 6e 74 20 63 61 6e 20 61 6c 73 6f 20 63 6f 6e 74 61 69 6e 20 48 54 4d 4c 2e 0a 0a 20 20 20 | tent.can.also.contain.HTML...... |
| 22c00 | 20 45 78 61 6d 70 6c 65 20 6f 66 20 61 20 70 61 69 72 65 64 20 6d 61 72 6b 64 6f 77 6e 20 73 68 | .Example.of.a.paired.markdown.sh |
| 22c20 | 6f 72 74 63 6f 64 65 3a 0a 0a 20 20 20 20 20 20 7b 7b 25 20 6d 64 73 68 6f 72 74 63 6f 64 65 20 | ortcode:........{{%.mdshortcode. |
| 22c40 | 25 7d 7d 43 6f 6e 74 65 6e 74 20 2a 2a 62 6f 6c 64 2a 2a 20 3c 69 3e 69 74 61 6c 69 63 73 3c 2f | %}}Content.**bold**.<i>italics</ |
| 22c60 | 69 3e 7b 7b 25 20 2f 6d 64 73 68 6f 72 74 63 6f 64 65 20 25 7d 7d 0a 0a 20 20 2d 20 41 62 73 65 | i>{{%./mdshortcode.%}}....-.Abse |
| 22c80 | 6e 63 65 20 6f 66 20 74 68 65 20 5c 22 25 5c 22 20 70 72 65 66 69 78 20 77 6f 75 6c 64 20 69 6d | nce.of.the.\"%\".prefix.would.im |
| 22ca0 | 70 6c 79 20 74 68 61 74 20 74 68 65 20 73 68 6f 72 74 63 6f 64 65 27 73 0a 20 20 20 20 63 6f 6e | ply.that.the.shortcode's.....con |
| 22cc0 | 74 65 6e 74 20 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 74 68 65 | tent.should.not.be.passed.to.the |
| 22ce0 | 20 4d 61 72 6b 64 6f 77 6e 20 70 61 72 73 65 72 2e 20 20 54 68 65 0a 20 20 20 20 63 6f 6e 74 65 | .Markdown.parser...The.....conte |
| 22d00 | 6e 74 20 63 61 6e 20 63 6f 6e 74 61 69 6e 20 48 54 4d 4c 20 74 68 6f 75 67 68 2e 0a 0a 20 20 20 | nt.can.contain.HTML.though...... |
| 22d20 | 20 45 78 61 6d 70 6c 65 20 6f 66 20 61 20 70 61 69 72 65 64 20 6e 6f 6e 2d 6d 61 72 6b 64 6f 77 | .Example.of.a.paired.non-markdow |
| 22d40 | 6e 20 28 64 65 66 61 75 6c 74 29 20 73 68 6f 72 74 63 6f 64 65 3a 0a 0a 20 20 20 20 20 20 7b 7b | n.(default).shortcode:........{{ |
| 22d60 | 3c 20 6d 79 73 68 6f 72 74 63 6f 64 65 20 3e 7d 7d 43 6f 6e 74 65 6e 74 20 3c 62 3e 62 6f 6c 64 | <.myshortcode.>}}Content.<b>bold |
| 22d80 | 3c 2f 62 3e 20 3c 69 3e 69 74 61 6c 69 63 73 3c 2f 69 3e 7b 7b 3c 20 2f 6d 79 73 68 6f 72 74 63 | </b>.<i>italics</i>{{<./myshortc |
| 22da0 | 6f 64 65 20 3e 7d 7d 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 20 74 68 65 73 65 20 73 68 6f 72 74 | ode.>}}..For.example.these.short |
| 22dc0 | 63 6f 64 65 20 73 74 72 69 6e 67 73 3a 0a 0a 20 20 2d 20 25 6d 64 73 68 6f 72 74 63 6f 64 65 20 | code.strings:....-.%mdshortcode. |
| 22de0 | 3a 20 50 61 69 72 65 64 20 6d 61 72 6b 64 6f 77 6e 20 73 68 6f 72 74 63 6f 64 65 0a 20 20 2d 20 | :.Paired.markdown.shortcode...-. |
| 22e00 | 6d 79 73 68 6f 72 74 63 6f 64 65 20 20 3a 20 50 61 69 72 65 64 20 64 65 66 61 75 6c 74 20 73 68 | myshortcode..:.Paired.default.sh |
| 22e20 | 6f 72 74 63 6f 64 65 0a 0a 77 6f 75 6c 64 20 62 65 20 63 6f 6c 6c 65 63 74 69 76 65 6c 79 20 61 | ortcode..would.be.collectively.a |
| 22e40 | 64 64 65 64 20 74 6f 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 61 73 3a 0a 0a 20 20 20 5c 22 | dded.to.this.variable.as:.....\" |
| 22e60 | 25 6d 64 73 68 6f 72 74 63 6f 64 65 20 6d 79 73 68 6f 72 74 63 6f 64 65 5c 22 0a 0a 48 75 67 6f | %mdshortcode.myshortcode\"..Hugo |
| 22e80 | 20 73 68 6f 72 74 63 6f 64 65 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 3a 0a 68 74 74 70 73 | .shortcodes.documentation:.https |
| 22ea0 | 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f | ://gohugo.io/content-management/ |
| 22ec0 | 73 68 6f 72 74 63 6f 64 65 73 2f 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f | shortcodes/."...:group.'org-expo |
| 22ee0 | 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 | rt-hugo...:type.'string).;;;###a |
| 22f00 | 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 | utoload.(put.'org-hugo-paired-sh |
| 22f20 | 6f 72 74 63 6f 64 65 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 | ortcodes.'safe-local-variable.'s |
| 22f40 | 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e | tringp)..(defcustom.org-hugo-lin |
| 22f60 | 6b 2d 64 65 73 63 2d 69 6e 73 65 72 74 2d 74 79 70 65 20 6e 69 6c 0a 20 20 22 49 6e 73 65 72 74 | k-desc-insert-type.nil..."Insert |
| 22f80 | 20 74 68 65 20 65 6c 65 6d 65 6e 74 20 74 79 70 65 20 69 6e 20 6c 69 6e 6b 20 64 65 73 63 72 69 | .the.element.type.in.link.descri |
| 22fa0 | 70 74 69 6f 6e 73 20 66 6f 72 20 6e 75 6d 62 65 72 65 64 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 53 | ptions.for.numbered.elements...S |
| 22fc0 | 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 74 79 70 65 20 69 73 20 69 | tring.representing.the.type.is.i |
| 22fe0 | 6e 73 65 72 74 65 64 20 66 6f 72 20 74 68 65 73 65 20 4f 72 67 20 65 6c 65 6d 65 6e 74 73 0a 69 | nserted.for.these.Org.elements.i |
| 23000 | 66 20 74 68 65 79 20 61 72 65 20 6e 75 6d 62 65 72 65 64 20 28 69 2e 65 2e 20 62 6f 74 68 20 5c | f.they.are.numbered.(i.e..both.\ |
| 23020 | 22 23 2b 6e 61 6d 65 5c 22 20 61 6e 64 20 5c 22 23 2b 63 61 70 74 69 6f 6e 5c 22 20 61 72 65 0a | "#+name\".and.\"#+caption\".are. |
| 23040 | 73 70 65 63 69 66 69 65 64 20 66 6f 72 20 74 68 65 6d 29 3a 0a 0a 2d 20 73 72 63 2d 62 6c 6f 63 | specified.for.them):..-.src-bloc |
| 23060 | 6b 20 3a 20 5c 22 43 6f 64 65 20 53 6e 69 70 70 65 74 5c 22 0a 2d 20 74 61 62 6c 65 3a 20 5c 22 | k.:.\"Code.Snippet\".-.table:.\" |
| 23080 | 54 61 62 6c 65 5c 22 0a 2d 20 66 69 67 75 72 65 3a 20 5c 22 46 69 67 75 72 65 5c 22 2e 22 0a 20 | Table\".-.figure:.\"Figure\".".. |
| 230a0 | 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 | .:group.'org-export-hugo...:type |
| 230c0 | 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 | .'boolean).;;;###autoload.(put.' |
| 230e0 | 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 2d 64 65 73 63 2d 69 6e 73 65 72 74 2d 74 79 70 65 20 27 | org-hugo-link-desc-insert-type.' |
| 23100 | 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a | safe-local-variable.'booleanp).. |
| 23120 | 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 61 69 6e 65 72 2d 65 6c | (defcustom.org-hugo-container-el |
| 23140 | 65 6d 65 6e 74 20 22 22 0a 20 20 22 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 20 74 6f 20 75 73 65 20 | ement.""..."HTML.element.to.use. |
| 23160 | 66 6f 72 20 77 72 61 70 70 69 6e 67 20 74 6f 70 20 6c 65 76 65 6c 20 73 65 63 74 69 6f 6e 73 2e | for.wrapping.top.level.sections. |
| 23180 | 0a 43 61 6e 20 62 65 20 73 65 74 20 77 69 74 68 20 74 68 65 20 69 6e 2d 62 75 66 66 65 72 20 48 | .Can.be.set.with.the.in-buffer.H |
| 231a0 | 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 20 70 72 6f 70 65 72 74 79 2e 0a 0a 57 68 65 6e 20 73 65 | TML_CONTAINER.property...When.se |
| 231c0 | 74 20 74 6f 20 5c 22 5c 22 2c 20 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 20 73 65 63 74 69 6f 6e | t.to.\"\",.the.top.level.section |
| 231e0 | 73 20 61 72 65 20 6e 6f 74 20 77 72 61 70 70 65 64 20 69 6e 20 61 6e 79 0a 48 54 4d 4c 20 65 6c | s.are.not.wrapped.in.any.HTML.el |
| 23200 | 65 6d 65 6e 74 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 | ement."...:group.'org-export-hug |
| 23220 | 6f 0a 20 20 3a 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 | o...:type.'string).;;;###autoloa |
| 23240 | 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 61 69 6e 65 72 2d 65 6c 65 6d 65 | d.(put.'org-hugo-container-eleme |
| 23260 | 6e 74 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 | nt.'safe-local-variable.'stringp |
| 23280 | 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 73 70 65 63 69 61 6c 2d 62 | )..(defcustom.org-hugo-special-b |
| 232a0 | 6c 6f 63 6b 2d 74 79 70 65 2d 70 72 6f 70 65 72 74 69 65 73 20 27 28 28 22 61 75 64 69 6f 22 20 | lock-type-properties.'(("audio". |
| 232c0 | 2e 20 28 3a 72 61 77 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(:raw.t))..................... |
| 232e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 23300 | 28 22 6b 61 74 65 78 22 20 2e 20 28 3a 72 61 77 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ("katex"...(:raw.t))............ |
| 23320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 23340 | 20 20 20 20 20 20 20 20 20 28 22 6d 61 72 6b 22 20 2e 20 28 3a 74 72 69 6d 2d 70 72 65 20 74 20 | .........("mark"...(:trim-pre.t. |
| 23360 | 3a 74 72 69 6d 2d 70 6f 73 74 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :trim-post.t)).................. |
| 23380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 233a0 | 20 20 20 28 22 74 69 6b 7a 6a 61 78 22 20 2e 20 28 3a 72 61 77 20 74 29 29 0a 20 20 20 20 20 20 | ...("tikzjax"...(:raw.t))....... |
| 233c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 233e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 22 76 69 64 65 6f 22 20 2e 20 28 3a 72 61 77 20 74 | ..............("video"...(:raw.t |
| 23400 | 29 29 29 0a 20 20 22 41 6c 69 73 74 20 66 6f 72 20 73 74 6f 72 69 6e 67 20 64 65 66 61 75 6c 74 | )))..."Alist.for.storing.default |
| 23420 | 20 70 72 6f 70 65 72 74 69 65 73 20 66 6f 72 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 20 74 79 | .properties.for.special.block.ty |
| 23440 | 70 65 73 2e 0a 0a 45 61 63 68 20 65 6c 65 6d 65 6e 74 20 6f 66 20 74 68 65 20 61 6c 69 73 74 20 | pes...Each.element.of.the.alist. |
| 23460 | 69 73 20 6f 66 20 74 68 65 20 66 6f 72 6d 20 28 54 59 50 45 20 2e 20 50 4c 49 53 54 29 20 77 68 | is.of.the.form.(TYPE...PLIST).wh |
| 23480 | 65 72 65 0a 54 59 50 45 20 69 73 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 | ere.TYPE.is.a.string.holding.the |
| 234a0 | 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 27 73 20 74 79 70 65 20 61 6e 64 20 50 4c 49 53 54 20 | .special.block's.type.and.PLIST. |
| 234c0 | 69 73 20 61 0a 70 72 6f 70 65 72 74 79 20 6c 69 73 74 20 66 6f 72 20 74 68 61 74 20 54 59 50 45 | is.a.property.list.for.that.TYPE |
| 234e0 | 2e 0a 0a 54 68 65 20 54 59 50 45 20 73 74 72 69 6e 67 20 63 6f 75 6c 64 20 62 65 20 61 6e 79 20 | ...The.TYPE.string.could.be.any. |
| 23500 | 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 20 74 79 70 65 20 6c 69 6b 65 20 61 6e 20 48 54 4d 4c 0a | special.block.type.like.an.HTML. |
| 23520 | 69 6e 6c 69 6e 65 20 6f 72 20 62 6c 6f 63 6b 20 74 61 67 2c 20 6f 72 20 6e 61 6d 65 20 6f 66 20 | inline.or.block.tag,.or.name.of. |
| 23540 | 61 20 48 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 2c 20 6f 72 20 61 6e 79 20 72 61 6e 64 6f 6d 0a | a.Hugo.shortcode,.or.any.random. |
| 23560 | 73 74 72 69 6e 67 2e 0a 0a 50 72 6f 70 65 72 74 69 65 73 20 72 65 63 6f 67 6e 69 7a 65 64 20 69 | string...Properties.recognized.i |
| 23580 | 6e 20 74 68 65 20 50 4c 49 53 54 3a 0a 0a 2d 20 3a 72 61 77 20 3a 3a 20 57 68 65 6e 20 73 65 74 | n.the.PLIST:..-.:raw.::.When.set |
| 235a0 | 20 74 6f 20 74 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 73 70 65 63 69 | .to.t,.the.contents.of.the.speci |
| 235c0 | 61 6c 20 62 6c 6f 63 6b 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 65 78 70 6f 72 74 65 64 20 72 | al.block.as...........exported.r |
| 235e0 | 61 77 20 69 2e 65 2e 20 61 73 20 74 79 70 65 64 20 69 6e 20 74 68 65 20 4f 72 67 20 62 75 66 66 | aw.i.e..as.typed.in.the.Org.buff |
| 23600 | 65 72 2e 0a 0a 2d 20 3a 74 72 69 6d 2d 70 72 65 20 3a 3a 20 57 68 65 6e 20 73 65 74 20 74 6f 20 | er...-.:trim-pre.::.When.set.to. |
| 23620 | 74 2c 20 74 68 65 20 77 68 69 74 65 73 70 61 63 65 20 62 65 66 6f 72 65 20 74 68 65 20 73 70 65 | t,.the.whitespace.before.the.spe |
| 23640 | 63 69 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 20 69 73 20 72 65 6d | cial................block.is.rem |
| 23660 | 6f 76 65 64 2e 0a 0a 2d 20 3a 74 72 69 6d 2d 70 72 65 20 3a 3a 20 57 68 65 6e 20 73 65 74 20 74 | oved...-.:trim-pre.::.When.set.t |
| 23680 | 6f 20 74 2c 20 74 68 65 20 77 68 69 74 65 73 70 61 63 65 20 61 66 74 65 72 20 74 68 65 20 73 70 | o.t,.the.whitespace.after.the.sp |
| 236a0 | 65 63 69 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 20 69 73 20 72 65 | ecial................block.is.re |
| 236c0 | 6d 6f 76 65 64 2e 0a 0a 46 6f 72 20 74 68 65 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 20 74 79 | moved...For.the.special.block.ty |
| 236e0 | 70 65 73 20 6e 6f 74 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 69 73 20 76 61 72 69 61 62 | pes.not.specified.in.this.variab |
| 23700 | 6c 65 2c 20 74 68 65 0a 64 65 66 61 75 6c 74 20 62 65 68 61 76 69 6f 72 20 69 73 20 73 61 6d 65 | le,.the.default.behavior.is.same |
| 23720 | 20 61 73 20 69 66 20 28 3a 72 61 77 20 6e 69 6c 20 3a 74 72 69 6d 2d 70 72 65 20 6e 69 6c 20 3a | .as.if.(:raw.nil.:trim-pre.nil.: |
| 23740 | 74 72 69 6d 2d 70 6f 73 74 0a 6e 69 6c 29 20 70 6c 69 73 74 20 77 65 72 65 20 61 73 73 6f 63 69 | trim-post.nil).plist.were.associ |
| 23760 | 61 74 65 64 20 77 69 74 68 20 74 68 65 6d 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 | ated.with.them."...:group.'org-e |
| 23780 | 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 61 6c 69 73 74 20 3a 6b 65 79 2d | xport-hugo...:type.'(alist.:key- |
| 237a0 | 74 79 70 65 20 73 74 72 69 6e 67 20 3a 76 61 6c 75 65 2d 74 79 70 65 20 28 70 6c 69 73 74 20 3a | type.string.:value-type.(plist.: |
| 237c0 | 6b 65 79 2d 74 79 70 65 20 73 79 6d 62 6f 6c 20 3a 76 61 6c 75 65 2d 74 79 70 65 20 62 6f 6f 6c | key-type.symbol.:value-type.bool |
| 237e0 | 65 61 6e 29 29 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 61 6e 63 68 | ean)))..(defcustom.org-hugo-anch |
| 23800 | 6f 72 2d 66 75 6e 63 74 69 6f 6e 73 20 27 28 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 70 61 67 65 | or-functions.'(org-hugo-get-page |
| 23820 | 2d 6f 72 2d 62 75 6e 64 6c 65 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -or-bundle-name................. |
| 23840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d | .......................org-hugo- |
| 23860 | 67 65 74 2d 63 75 73 74 6f 6d 2d 69 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | get-custom-id................... |
| 23880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 67 65 | .....................org-hugo-ge |
| 238a0 | 74 2d 68 65 61 64 69 6e 67 2d 73 6c 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t-heading-slug.................. |
| 238c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 67 | ......................org-hugo-g |
| 238e0 | 65 74 2d 6d 64 35 29 0a 20 20 22 41 20 6c 69 73 74 20 6f 66 20 66 75 6e 63 74 69 6f 6e 73 20 66 | et-md5)..."A.list.of.functions.f |
| 23900 | 6f 72 20 64 65 72 69 76 69 6e 67 20 74 68 65 20 61 6e 63 68 6f 72 20 6f 66 20 63 75 72 72 65 6e | or.deriving.the.anchor.of.curren |
| 23920 | 74 20 4f 72 67 20 68 65 61 64 69 6e 67 2e 0a 0a 54 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 77 69 | t.Org.heading...The.functions.wi |
| 23940 | 6c 6c 20 62 65 20 72 75 6e 20 69 6e 20 74 68 65 20 6f 72 64 65 72 20 61 64 64 65 64 20 74 6f 20 | ll.be.run.in.the.order.added.to. |
| 23960 | 74 68 69 73 20 76 61 72 69 61 62 6c 65 0a 75 6e 74 69 6c 20 74 68 65 20 66 69 72 73 74 20 6f 6e | this.variable.until.the.first.on |
| 23980 | 65 20 72 65 74 75 72 6e 73 20 61 20 6e 6f 6e 2d 6e 69 6c 20 76 61 6c 75 65 2e 20 20 53 6f 20 74 | e.returns.a.non-nil.value...So.t |
| 239a0 | 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 69 6e 0a 74 68 69 73 20 6c 69 73 74 20 61 72 65 20 6f 72 | he.functions.in.this.list.are.or |
| 239c0 | 64 65 72 2d 73 65 6e 73 69 74 69 76 65 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 | der-sensitive...For.example,.if. |
| 239e0 | 60 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 70 61 67 65 2d 6f 72 2d 62 75 6e 64 6c 65 2d 6e 61 6d | `org-hugo-get-page-or-bundle-nam |
| 23a00 | 65 27 20 69 73 20 74 68 65 20 66 69 72 73 74 0a 65 6c 65 6d 65 6e 74 20 69 6e 20 74 68 69 73 20 | e'.is.the.first.element.in.this. |
| 23a20 | 6c 69 73 74 2c 20 74 68 65 20 68 65 61 64 69 6e 67 27 73 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c | list,.the.heading's.`:EXPORT_FIL |
| 23a40 | 45 5f 4e 41 4d 45 27 20 70 72 6f 70 65 72 74 79 0a 77 69 6c 6c 20 68 61 76 65 20 74 68 65 20 68 | E_NAME'.property.will.have.the.h |
| 23a60 | 69 67 68 65 73 74 20 70 72 65 63 65 64 65 6e 63 65 20 69 6e 20 64 65 74 65 72 6d 69 6e 69 6e 67 | ighest.precedence.in.determining |
| 23a80 | 20 74 68 65 20 68 65 61 64 69 6e 67 27 73 0a 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 2e 0a 0a 54 | .the.heading's.anchor.string...T |
| 23aa0 | 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 75 73 65 64 20 69 6e 20 74 68 65 20 60 6f 72 67 | his.variable.is.used.in.the.`org |
| 23ac0 | 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 27 20 69 6e 74 65 72 6e 61 6c 0a 66 75 6e 63 | -hugo--get-anchor'.internal.func |
| 23ae0 | 74 69 6f 6e 2e 0a 0a 46 75 6e 63 74 69 6f 6e 73 20 61 64 64 65 64 20 74 6f 20 74 68 69 73 20 6c | tion...Functions.added.to.this.l |
| 23b00 | 69 73 74 20 73 68 6f 75 6c 64 20 68 61 76 65 20 32 20 61 72 67 75 6d 65 6e 74 73 20 28 77 68 69 | ist.should.have.2.arguments.(whi |
| 23b20 | 63 68 20 63 6f 75 6c 64 0a 65 76 65 6e 20 62 65 20 64 65 63 6c 61 72 65 64 20 61 73 20 6f 70 74 | ch.could.even.be.declared.as.opt |
| 23b40 | 69 6f 6e 61 6c 29 3a 0a 0a 31 2e 20 45 4c 45 4d 45 4e 54 20 3a 20 4f 72 67 20 65 6c 65 6d 65 6e | ional):..1..ELEMENT.:.Org.elemen |
| 23b60 | 74 0a 32 2e 20 49 4e 46 4f 20 20 20 20 3a 20 47 65 6e 65 72 61 6c 20 70 6c 69 73 74 20 75 73 65 | t.2..INFO....:.General.plist.use |
| 23b80 | 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 0a 0a 53 6f | d.as.a.communication.channel..So |
| 23ba0 | 6d 65 20 6f 66 20 74 68 65 20 69 6e 62 75 69 6c 74 20 66 75 6e 63 74 69 6f 6e 73 20 74 68 61 74 | me.of.the.inbuilt.functions.that |
| 23bc0 | 20 63 61 6e 20 62 65 20 61 64 64 65 64 20 74 6f 20 74 68 69 73 20 6c 69 73 74 3a 0a 2d 20 60 6f | .can.be.added.to.this.list:.-.`o |
| 23be0 | 72 67 2d 68 75 67 6f 2d 67 65 74 2d 70 61 67 65 2d 6f 72 2d 62 75 6e 64 6c 65 2d 6e 61 6d 65 27 | rg-hugo-get-page-or-bundle-name' |
| 23c00 | 0a 2d 20 60 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 63 75 73 74 6f 6d 2d 69 64 27 0a 2d 20 60 6f | .-.`org-hugo-get-custom-id'.-.`o |
| 23c20 | 72 67 2d 68 75 67 6f 2d 67 65 74 2d 68 65 61 64 69 6e 67 2d 73 6c 75 67 27 0a 2d 20 60 6f 72 67 | rg-hugo-get-heading-slug'.-.`org |
| 23c40 | 2d 68 75 67 6f 2d 67 65 74 2d 6d 64 35 27 0a 2d 20 60 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 69 | -hugo-get-md5'.-.`org-hugo-get-i |
| 23c60 | 64 27 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 | d'"...:group.'org-export-hugo... |
| 23c80 | 3a 74 79 70 65 20 27 28 72 65 70 65 61 74 20 66 75 6e 63 74 69 6f 6e 29 29 0a 0a 28 64 65 66 63 | :type.'(repeat.function))..(defc |
| 23ca0 | 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 63 69 74 61 74 69 6f 6e 73 2d 70 6c 69 73 74 20 27 | ustom.org-hugo-citations-plist.' |
| 23cc0 | 28 3a 62 69 62 6c 69 6f 67 72 61 70 68 79 2d 73 65 63 74 69 6f 6e 2d 68 65 61 64 69 6e 67 20 22 | (:bibliography-section-heading." |
| 23ce0 | 52 65 66 65 72 65 6e 63 65 73 22 29 0a 20 20 22 50 72 6f 70 65 72 74 79 20 6c 69 73 74 20 66 6f | References")..."Property.list.fo |
| 23d00 | 72 20 73 74 6f 72 69 6e 67 20 64 65 66 61 75 6c 74 20 70 72 6f 70 65 72 74 69 65 73 20 66 6f 72 | r.storing.default.properties.for |
| 23d20 | 20 63 69 74 61 74 69 6f 6e 20 65 78 70 6f 72 74 73 2e 0a 0a 50 72 6f 70 65 72 74 69 65 73 20 72 | .citation.exports...Properties.r |
| 23d40 | 65 63 6f 67 6e 69 7a 65 64 20 69 6e 20 74 68 65 20 50 4c 49 53 54 3a 0a 0a 2d 20 3a 62 69 62 6c | ecognized.in.the.PLIST:..-.:bibl |
| 23d60 | 69 6f 67 72 61 70 68 79 2d 73 65 63 74 69 6f 6e 2d 68 65 61 64 69 6e 67 20 3a 3a 20 48 65 61 64 | iography-section-heading.::.Head |
| 23d80 | 69 6e 67 20 74 6f 20 69 6e 73 65 72 74 20 62 65 66 6f 72 65 20 74 68 65 20 62 69 62 6c 69 6f 67 | ing.to.insert.before.the.bibliog |
| 23da0 | 72 61 70 68 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | raphy........................... |
| 23dc0 | 20 20 20 20 20 20 20 20 20 73 65 63 74 69 6f 6e 2e 0a 0a 41 75 74 6f 2d 64 65 74 65 63 74 69 6f | .........section...Auto-detectio |
| 23de0 | 6e 20 6f 66 20 62 69 62 6c 69 6f 67 72 61 70 68 79 20 73 65 63 74 69 6f 6e 20 72 65 71 75 69 72 | n.of.bibliography.section.requir |
| 23e00 | 65 73 20 69 6e 73 74 61 6c 6c 69 6e 67 20 74 68 65 0a 60 63 69 74 61 74 69 6f 6e 73 27 20 70 61 | es.installing.the.`citations'.pa |
| 23e20 | 63 6b 61 67 65 20 66 72 6f 6d 20 4d 65 6c 70 61 20 61 6e 64 20 61 64 64 69 6e 67 20 60 23 2b 63 | ckage.from.Melpa.and.adding.`#+c |
| 23e40 | 69 74 65 5f 65 78 70 6f 72 74 3a 20 63 73 6c 27 20 61 74 0a 74 68 65 20 74 6f 70 20 6f 66 20 74 | ite_export:.csl'.at.the.top.of.t |
| 23e60 | 68 65 20 4f 72 67 20 66 69 6c 65 2e 0a 0a 49 66 20 60 3a 62 69 62 6c 69 6f 67 72 61 70 68 79 2d | he.Org.file...If.`:bibliography- |
| 23e80 | 73 65 63 74 69 6f 6e 2d 68 65 61 64 69 6e 67 27 20 73 65 74 20 74 6f 20 61 6e 20 65 6d 70 74 79 | section-heading'.set.to.an.empty |
| 23ea0 | 20 73 74 72 69 6e 67 2c 0a 62 69 62 6c 69 6f 67 72 61 70 68 79 20 68 65 61 64 69 6e 67 20 61 75 | .string,.bibliography.heading.au |
| 23ec0 | 74 6f 2d 69 6e 6a 65 63 74 69 6f 6e 20 69 73 20 6e 6f 74 20 64 6f 6e 65 2e 22 0a 20 20 3a 67 72 | to-injection.is.not.done."...:gr |
| 23ee0 | 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 70 | oup.'org-export-hugo...:type.'(p |
| 23f00 | 6c 69 73 74 20 3a 6b 65 79 2d 74 79 70 65 20 73 79 6d 62 6f 6c 20 3a 76 61 6c 75 65 2d 74 79 70 | list.:key-type.symbol.:value-typ |
| 23f20 | 65 20 73 74 72 69 6e 67 29 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d | e.string))..(defcustom.org-hugo- |
| 23f40 | 69 6e 66 6f 2d 67 6e 75 2d 73 6f 66 74 77 61 72 65 20 27 28 22 33 64 6c 64 66 22 20 22 38 73 79 | info-gnu-software.'("3dldf"."8sy |
| 23f60 | 6e 63 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nc"............................. |
| 23f80 | 20 20 20 20 20 20 20 20 20 20 20 20 22 61 32 70 73 22 20 22 61 63 63 74 22 20 22 61 63 6d 22 20 | ............"a2ps"."acct"."acm". |
| 23fa0 | 22 61 64 6e 73 22 20 22 61 6c 69 76 65 22 20 22 61 6e 75 62 69 73 22 20 22 61 70 6c 22 0a 20 20 | "adns"."alive"."anubis"."apl"... |
| 23fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 23fe0 | 20 20 20 20 20 20 22 61 72 63 68 69 6d 65 64 65 73 22 20 22 61 72 69 73 22 20 22 61 72 74 61 6e | ......"archimedes"."aris"."artan |
| 24000 | 69 73 22 20 22 61 73 70 65 6c 6c 22 20 22 61 75 63 74 65 78 22 20 22 61 75 74 6f 63 6f 6e 66 22 | is"."aspell"."auctex"."autoconf" |
| 24020 | 20 22 61 75 74 6f 63 6f 6e 66 2d 61 72 63 68 69 76 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ."autoconf-archive"............. |
| 24040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 61 75 74 | ............................"aut |
| 24060 | 6f 67 65 6e 22 20 22 61 75 74 6f 6d 61 6b 65 22 20 22 61 76 6c 22 0a 20 20 20 20 20 20 20 20 20 | ogen"."automake"."avl".......... |
| 24080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | ..............................." |
| 240a0 | 62 61 6c 6c 61 6e 64 70 61 64 64 6c 65 22 20 22 62 61 72 63 6f 64 65 22 20 22 62 61 73 68 22 20 | ballandpaddle"."barcode"."bash". |
| 240c0 | 22 62 61 79 6f 6e 6e 65 22 20 22 62 61 7a 61 61 72 22 20 22 62 63 22 20 22 62 65 68 69 73 74 75 | "bayonne"."bazaar"."bc"."behistu |
| 240e0 | 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n".............................. |
| 24100 | 20 20 20 20 20 20 20 20 20 20 20 22 62 66 64 22 20 22 62 69 6e 75 74 69 6c 73 22 20 22 62 69 73 | ..........."bfd"."binutils"."bis |
| 24120 | 6f 6e 22 20 22 62 6f 6f 6c 22 20 22 62 70 65 6c 32 6f 77 66 6e 22 0a 20 20 20 20 20 20 20 20 20 | on"."bool"."bpel2owfn".......... |
| 24140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | ..............................." |
| 24160 | 63 2d 67 72 61 70 68 22 20 22 63 63 61 75 64 69 6f 22 20 22 63 63 64 32 63 75 65 22 20 22 63 63 | c-graph"."ccaudio"."ccd2cue"."cc |
| 24180 | 69 64 65 22 20 22 63 63 72 74 70 22 20 22 63 63 73 63 72 69 70 74 22 20 22 63 66 6c 6f 77 22 0a | ide"."ccrtp"."ccscript"."cflow". |
| 241a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 241c0 | 20 20 20 20 20 20 20 20 22 63 67 69 63 63 22 20 22 63 68 65 73 73 22 20 22 63 69 6d 22 20 22 63 | ........"cgicc"."chess"."cim"."c |
| 241e0 | 6c 61 73 73 70 61 74 68 22 20 22 63 6c 61 73 73 70 61 74 68 78 22 20 22 63 6c 69 73 70 22 20 22 | lasspath"."classpathx"."clisp"." |
| 24200 | 63 6f 6d 62 69 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | combine"........................ |
| 24220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 6f 6d 6d 6f 6e 63 70 70 22 20 22 63 6f | ................."commoncpp"."co |
| 24240 | 6d 70 6c 65 78 69 74 79 22 20 22 63 6f 6e 66 69 67 22 20 22 63 6f 6e 73 65 6e 73 75 73 22 20 22 | mplexity"."config"."consensus"." |
| 24260 | 63 6f 72 65 75 74 69 6c 73 22 20 22 63 70 69 6f 22 20 22 63 70 70 69 22 0a 20 20 20 20 20 20 20 | coreutils"."cpio"."cppi"........ |
| 24280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 242a0 | 20 22 63 73 73 63 22 20 22 63 75 72 73 79 6e 74 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."cssc"."cursynth".............. |
| 242c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 64 61 70 22 | ..........................."dap" |
| 242e0 | 20 22 64 61 74 61 6d 61 73 68 22 20 22 64 63 22 20 22 64 64 64 22 20 22 64 64 72 65 73 63 75 65 | ."datamash"."dc"."ddd"."ddrescue |
| 24300 | 22 20 22 64 65 6a 61 67 6e 75 22 20 22 64 65 6e 65 6d 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 | "."dejagnu"."denemo"............ |
| 24320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 64 69 | ............................."di |
| 24340 | 61 22 20 22 64 69 63 6f 22 20 22 64 69 63 74 69 6f 6e 22 20 22 64 69 66 66 75 74 69 6c 73 22 20 | a"."dico"."diction"."diffutils". |
| 24360 | 22 64 69 72 65 76 65 6e 74 22 20 22 64 6a 67 70 70 22 20 22 64 6f 6d 69 6e 69 6f 6e 22 0a 20 20 | "direvent"."djgpp"."dominion"... |
| 24380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 243a0 | 20 20 20 20 20 20 22 64 72 2d 67 65 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......"dr-geo".................. |
| 243c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 65 61 73 65 6a 73 22 20 | ......................."easejs". |
| 243e0 | 22 65 64 22 20 22 65 64 6d 61 22 20 22 65 6c 65 63 74 72 69 63 22 20 22 65 6d 61 63 73 22 20 22 | "ed"."edma"."electric"."emacs"." |
| 24400 | 65 6d 61 63 73 2d 6d 75 73 65 22 20 22 65 6d 6d 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | emacs-muse"."emms".............. |
| 24420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 65 6e 73 63 | ..........................."ensc |
| 24440 | 72 69 70 74 22 20 22 65 70 73 69 6c 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ript"."epsilon"................. |
| 24460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 66 64 69 73 6b 22 20 | ........................"fdisk". |
| 24480 | 22 66 65 72 72 65 74 22 20 22 66 69 6e 64 75 74 69 6c 73 22 20 22 66 69 73 69 63 61 6c 61 62 22 | "ferret"."findutils"."fisicalab" |
| 244a0 | 20 22 66 6f 6c 69 6f 74 22 20 22 66 6f 6e 74 6f 70 69 61 22 20 22 66 6f 6e 74 75 74 69 6c 73 22 | ."foliot"."fontopia"."fontutils" |
| 244c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 244e0 | 20 20 20 20 20 20 20 20 20 22 66 72 65 65 64 69 6e 6b 22 20 22 66 72 65 65 66 6f 6e 74 22 20 22 | ........."freedink"."freefont"." |
| 24500 | 66 72 65 65 69 70 6d 69 22 20 22 66 72 65 65 74 61 6c 6b 22 20 22 66 72 69 62 69 64 69 22 0a 20 | freeipmi"."freetalk"."fribidi".. |
| 24520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24540 | 20 20 20 20 20 20 20 22 67 2d 67 6f 6c 66 22 20 22 67 61 6d 61 22 20 22 67 61 72 70 64 22 20 22 | ......."g-golf"."gama"."garpd"." |
| 24560 | 67 61 77 6b 22 20 22 67 63 61 6c 22 20 22 67 63 63 22 20 22 67 63 69 64 65 22 0a 20 20 20 20 20 | gawk"."gcal"."gcc"."gcide"...... |
| 24580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 245a0 | 20 20 20 22 67 63 6c 22 20 22 67 63 6f 6d 70 72 69 73 22 20 22 67 64 62 22 20 22 67 64 62 6d 22 | ..."gcl"."gcompris"."gdb"."gdbm" |
| 245c0 | 20 22 67 65 6e 67 65 6e 22 20 22 67 65 6e 67 65 74 6f 70 74 22 20 22 67 65 74 74 65 78 74 22 0a | ."gengen"."gengetopt"."gettext". |
| 245e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24600 | 20 20 20 20 20 20 20 20 22 67 66 6f 72 74 68 22 20 22 67 67 72 61 64 65 62 6f 6f 6b 22 20 22 67 | ........"gforth"."ggradebook"."g |
| 24620 | 68 6f 73 74 73 63 72 69 70 74 22 20 22 67 69 66 74 22 20 22 67 69 6d 70 22 20 22 67 6c 65 61 6e | hostscript"."gift"."gimp"."glean |
| 24640 | 22 20 22 67 6c 6f 62 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "."global"...................... |
| 24660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6c 70 6b 22 20 22 67 6c 75 65 22 | ..................."glpk"."glue" |
| 24680 | 20 22 67 6d 65 64 69 61 73 65 72 76 65 72 22 20 22 67 6d 70 22 20 22 67 6e 61 73 68 22 20 22 67 | ."gmediaserver"."gmp"."gnash"."g |
| 246a0 | 6e 61 74 22 20 22 67 6e 61 74 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nat"."gnats".................... |
| 246c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 61 74 73 77 65 62 22 20 | ....................."gnatsweb". |
| 246e0 | 22 67 6e 6f 77 73 79 73 22 20 22 67 6e 75 2d 63 2d 6d 61 6e 75 61 6c 22 20 22 67 6e 75 2d 63 72 | "gnowsys"."gnu-c-manual"."gnu-cr |
| 24700 | 79 70 74 6f 22 20 22 67 6e 75 2d 70 77 2d 6d 67 72 22 20 22 67 6e 75 61 65 22 20 22 67 6e 75 61 | ypto"."gnu-pw-mgr"."gnuae"."gnua |
| 24720 | 73 74 72 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | stro"........................... |
| 24740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 75 62 61 74 63 68 22 20 22 67 6e 75 62 67 22 | .............."gnubatch"."gnubg" |
| 24760 | 20 22 67 6e 75 62 69 66 66 22 20 22 67 6e 75 62 69 6b 22 20 22 67 6e 75 63 61 70 22 20 22 67 6e | ."gnubiff"."gnubik"."gnucap"."gn |
| 24780 | 75 63 61 73 68 22 20 22 67 6e 75 63 6f 62 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ucash"."gnucobol"............... |
| 247a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 75 63 6f | .........................."gnuco |
| 247c0 | 6d 6d 22 20 22 67 6e 75 64 6f 73 22 20 22 67 6e 75 66 6d 22 20 22 67 6e 75 67 6f 22 20 22 67 6e | mm"."gnudos"."gnufm"."gnugo"."gn |
| 247e0 | 75 69 74 22 20 22 67 6e 75 6a 64 6f 63 22 20 22 67 6e 75 6a 75 6d 70 22 0a 20 20 20 20 20 20 20 | uit"."gnujdoc"."gnujump"........ |
| 24800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24820 | 20 22 67 6e 75 6b 61 72 74 22 20 22 67 6e 75 6c 69 62 22 20 22 67 6e 75 6d 61 63 68 22 20 22 67 | ."gnukart"."gnulib"."gnumach"."g |
| 24840 | 6e 75 6d 65 64 22 20 22 67 6e 75 6d 65 72 69 63 22 20 22 67 6e 75 6d 70 33 64 22 20 22 67 6e 75 | numed"."gnumeric"."gnump3d"."gnu |
| 24860 | 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n".............................. |
| 24880 | 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 75 6e 65 74 22 20 22 67 6e 75 70 67 22 20 22 67 6e 75 | ..........."gnunet"."gnupg"."gnu |
| 248a0 | 70 6f 64 22 20 22 67 6e 75 70 72 6f 6c 6f 67 6a 61 76 61 22 20 22 67 6e 75 72 61 64 69 6f 22 20 | pod"."gnuprologjava"."gnuradio". |
| 248c0 | 22 67 6e 75 72 6f 62 6f 74 73 22 20 22 67 6e 75 73 63 68 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 | "gnurobots"."gnuschool"......... |
| 248e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24900 | 22 67 6e 75 73 68 6f 67 69 22 20 22 67 6e 75 73 6f 75 6e 64 22 20 22 67 6e 75 73 70 65 65 63 68 | "gnushogi"."gnusound"."gnuspeech |
| 24920 | 22 20 22 67 6e 75 73 70 6f 6f 6c 22 20 22 67 6e 75 73 74 61 6e 64 61 72 64 73 22 20 22 67 6e 75 | "."gnuspool"."gnustandards"."gnu |
| 24940 | 73 74 65 70 22 20 22 67 6e 75 74 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | step"."gnutls".................. |
| 24960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 75 74 72 69 74 69 | ......................."gnutriti |
| 24980 | 6f 6e 22 20 22 67 6e 75 7a 69 6c 6c 61 22 20 22 67 6f 70 74 69 63 61 6c 22 20 22 67 6f 72 6d 22 | on"."gnuzilla"."goptical"."gorm" |
| 249a0 | 20 22 67 70 61 69 6e 74 22 20 22 67 70 65 72 66 22 20 22 67 70 72 6f 6c 6f 67 22 0a 20 20 20 20 | ."gpaint"."gperf"."gprolog"..... |
| 249c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 249e0 | 20 20 20 20 22 67 72 61 62 63 6f 6d 69 63 73 22 20 22 67 72 65 67 22 20 22 67 72 65 70 22 20 22 | ...."grabcomics"."greg"."grep"." |
| 24a00 | 67 72 65 74 6c 22 20 22 67 72 6f 66 66 22 20 22 67 72 75 62 22 20 22 67 73 61 73 6c 22 0a 20 20 | gretl"."groff"."grub"."gsasl"... |
| 24a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24a40 | 20 20 20 20 20 20 22 67 73 65 67 72 61 66 69 78 22 20 22 67 73 6c 22 20 22 67 73 6c 69 70 22 20 | ......"gsegrafix"."gsl"."gslip". |
| 24a60 | 22 67 73 72 63 22 20 22 67 73 73 22 20 22 67 74 69 63 6b 22 20 22 67 74 79 70 69 73 74 22 0a 20 | "gsrc"."gss"."gtick"."gtypist".. |
| 24a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24aa0 | 20 20 20 20 20 20 20 22 67 75 69 6c 65 22 20 22 67 75 69 6c 65 2d 63 76 22 20 22 67 75 69 6c 65 | ......."guile"."guile-cv"."guile |
| 24ac0 | 2d 64 62 69 22 20 22 67 75 69 6c 65 2d 67 6e 6f 6d 65 22 20 22 67 75 69 6c 65 2d 6e 63 75 72 73 | -dbi"."guile-gnome"."guile-ncurs |
| 24ae0 | 65 73 22 20 22 67 75 69 6c 65 2d 6f 70 65 6e 67 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | es"."guile-opengl".............. |
| 24b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 75 69 6c | ..........................."guil |
| 24b20 | 65 2d 72 70 63 22 20 22 67 75 69 6c 65 2d 73 64 6c 22 20 22 67 75 69 78 22 20 22 67 75 72 67 6c | e-rpc"."guile-sdl"."guix"."gurgl |
| 24b40 | 65 22 20 22 67 76 22 20 22 67 76 70 65 22 20 22 67 77 6c 22 20 22 67 78 6d 65 73 73 61 67 65 22 | e"."gv"."gvpe"."gwl"."gxmessage" |
| 24b60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24b80 | 20 20 20 20 20 20 20 20 20 22 67 7a 69 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........."gzip"................. |
| 24ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 61 6c 69 66 61 78 | ........................"halifax |
| 24bc0 | 22 20 22 68 65 61 6c 74 68 22 20 22 68 65 6c 6c 6f 22 20 22 68 65 6c 70 32 6d 61 6e 22 20 22 68 | "."health"."hello"."help2man"."h |
| 24be0 | 70 32 78 78 22 20 22 68 74 6d 6c 2d 69 6e 66 6f 22 20 22 68 74 74 70 74 75 6e 6e 65 6c 22 0a 20 | p2xx"."html-info"."httptunnel".. |
| 24c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24c20 | 20 20 20 20 20 20 20 22 68 75 72 64 22 20 22 68 79 70 65 72 62 6f 6c 65 22 0a 20 20 20 20 20 20 | ......."hurd"."hyperbole"....... |
| 24c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 24c60 | 20 20 22 69 63 65 63 61 74 22 20 22 69 64 75 74 69 6c 73 22 20 22 69 67 6e 75 69 74 22 20 22 69 | .."icecat"."idutils"."ignuit"."i |
| 24c80 | 6e 64 65 6e 74 22 20 22 69 6e 65 74 75 74 69 6c 73 22 20 22 69 6e 6b 6c 69 6e 67 72 65 61 64 65 | ndent"."inetutils"."inklingreade |
| 24ca0 | 72 22 20 22 69 6e 74 6c 66 6f 6e 74 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r"."intlfonts".................. |
| 24cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6a 61 63 61 6c 22 20 22 | ......................."jacal"." |
| 24ce0 | 6a 61 6d 69 22 20 22 6a 61 76 61 2d 67 65 74 6f 70 74 22 20 22 6a 65 6c 22 20 22 6a 69 74 74 65 | jami"."java-getopt"."jel"."jitte |
| 24d00 | 72 22 20 22 6a 74 77 22 20 22 6a 77 68 6f 69 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r"."jtw"."jwhois"............... |
| 24d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6b 61 77 61 22 | .........................."kawa" |
| 24d40 | 20 22 6b 6f 70 69 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."kopi"......................... |
| 24d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 65 67 22 20 22 6c 65 73 73 22 20 22 6c 69 | ................"leg"."less"."li |
| 24d80 | 62 63 22 20 22 6c 69 62 63 64 69 6f 22 20 22 6c 69 62 64 62 68 22 20 22 6c 69 62 65 72 74 79 2d | bc"."libcdio"."libdbh"."liberty- |
| 24da0 | 65 69 66 66 65 6c 22 20 22 6c 69 62 65 78 74 72 61 63 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 | eiffel"."libextractor".......... |
| 24dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | ..............................." |
| 24de0 | 6c 69 62 66 66 63 61 6c 6c 22 20 22 6c 69 62 67 63 72 79 70 74 22 20 22 6c 69 62 69 63 6f 6e 76 | libffcall"."libgcrypt"."libiconv |
| 24e00 | 22 20 22 6c 69 62 69 64 6e 22 20 22 6c 69 62 6a 69 74 22 20 22 6c 69 62 6d 61 74 68 65 76 61 6c | "."libidn"."libjit"."libmatheval |
| 24e20 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "............................... |
| 24e40 | 20 20 20 20 20 20 20 20 20 20 22 6c 69 62 6d 69 63 72 6f 68 74 74 70 64 22 20 22 6c 69 62 72 65 | .........."libmicrohttpd"."libre |
| 24e60 | 64 77 67 22 20 22 6c 69 62 72 65 6a 73 22 20 22 6c 69 62 73 69 67 73 65 67 76 22 20 22 6c 69 62 | dwg"."librejs"."libsigsegv"."lib |
| 24e80 | 74 61 73 6e 31 22 20 22 6c 69 62 74 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tasn1"."libtool"................ |
| 24ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 69 62 75 6e 69 | ........................."libuni |
| 24ec0 | 73 74 72 69 6e 67 22 20 22 6c 69 62 78 6d 69 22 20 22 6c 69 67 68 74 6e 69 6e 67 22 20 22 6c 69 | string"."libxmi"."lightning"."li |
| 24ee0 | 6c 79 70 6f 6e 64 22 20 22 6c 69 6d 73 22 20 22 6c 69 6e 75 78 2d 6c 69 62 72 65 22 20 22 6c 69 | lypond"."lims"."linux-libre"."li |
| 24f00 | 71 75 69 64 77 61 72 36 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | quidwar6"....................... |
| 24f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 69 73 70 69 6e 74 72 6f 22 20 22 6c | .................."lispintro"."l |
| 24f40 | 72 7a 73 7a 22 20 22 6c 73 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rzsz"."lsh"..................... |
| 24f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6d 34 22 20 22 6d 61 63 63 68 61 | ...................."m4"."maccha |
| 24f80 | 6e 67 65 72 22 20 22 6d 61 69 6c 6d 61 6e 22 20 22 6d 61 69 6c 75 74 69 6c 73 22 20 22 6d 61 6b | nger"."mailman"."mailutils"."mak |
| 24fa0 | 65 22 20 22 6d 61 72 73 74 22 20 22 6d 61 76 65 72 69 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | e"."marst"."maverik"............ |
| 24fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6d 63 | ............................."mc |
| 24fe0 | 22 20 22 6d 63 72 6f 6e 22 20 22 6d 63 73 69 6d 22 20 22 6d 64 6b 22 20 22 6d 65 64 69 61 67 6f | "."mcron"."mcsim"."mdk"."mediago |
| 25000 | 62 6c 69 6e 22 20 22 6d 65 6c 74 69 6e 67 22 20 22 6d 65 6d 70 6f 6f 6c 22 0a 20 20 20 20 20 20 | blin"."melting"."mempool"....... |
| 25020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 25040 | 20 20 22 6d 65 73 22 20 22 6d 65 74 61 65 78 63 68 61 6e 67 65 22 20 22 6d 65 74 61 68 74 6d 6c | .."mes"."metaexchange"."metahtml |
| 25060 | 22 20 22 6d 65 74 61 6c 6f 67 69 63 2d 69 6e 66 65 72 65 6e 63 65 22 20 22 6d 69 66 6c 75 7a 22 | "."metalogic-inference"."mifluz" |
| 25080 | 20 22 6d 69 67 22 20 22 6d 69 73 63 66 69 6c 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."mig"."miscfiles".............. |
| 250a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6d 69 74 2d | ..........................."mit- |
| 250c0 | 73 63 68 65 6d 65 22 20 22 6d 6f 65 22 20 22 6d 6f 74 74 69 22 20 22 6d 70 63 22 20 22 6d 70 66 | scheme"."moe"."motti"."mpc"."mpf |
| 250e0 | 72 22 20 22 6d 70 72 69 61 22 20 22 6d 74 6f 6f 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | r"."mpria"."mtools"............. |
| 25100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6e 61 6e | ............................"nan |
| 25120 | 61 22 20 22 6e 61 6e 6f 22 20 22 6e 61 6e 6f 2d 61 72 63 68 69 6d 65 64 65 73 22 20 22 6e 63 75 | a"."nano"."nano-archimedes"."ncu |
| 25140 | 72 73 65 73 22 20 22 6e 65 74 74 6c 65 22 20 22 6e 65 74 77 6f 72 6b 22 0a 20 20 20 20 20 20 20 | rses"."nettle"."network"........ |
| 25160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 25180 | 20 22 6f 63 72 61 64 22 20 22 6f 63 74 61 76 65 22 20 22 6f 6c 65 6f 22 20 22 6f 6f 2d 62 72 6f | ."ocrad"."octave"."oleo"."oo-bro |
| 251a0 | 77 73 65 72 22 20 22 6f 72 67 61 64 6f 63 22 20 22 6f 73 69 70 22 0a 20 20 20 20 20 20 20 20 20 | wser"."orgadoc"."osip".......... |
| 251c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | ..............................." |
| 251e0 | 70 61 6e 6f 72 61 6d 61 22 20 22 70 61 72 61 6c 6c 65 6c 22 20 22 70 61 72 74 65 64 22 20 22 70 | panorama"."parallel"."parted"."p |
| 25200 | 61 73 63 61 6c 22 20 22 70 61 74 63 68 22 20 22 70 61 78 75 74 69 6c 73 22 20 22 70 63 62 22 0a | ascal"."patch"."paxutils"."pcb". |
| 25220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 25240 | 20 20 20 20 20 20 20 20 22 70 65 6d 22 20 22 70 65 78 65 63 22 20 22 70 69 65 73 22 20 22 70 69 | ........"pem"."pexec"."pies"."pi |
| 25260 | 70 6f 22 20 22 70 6c 6f 74 75 74 69 6c 73 22 20 22 70 6f 6b 65 22 20 22 70 6f 6c 79 78 6d 61 73 | po"."plotutils"."poke"."polyxmas |
| 25280 | 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s".............................. |
| 252a0 | 20 20 20 20 20 20 20 20 20 20 20 22 70 6f 77 65 72 67 75 72 75 22 20 22 70 72 6f 78 79 6b 6e 69 | ..........."powerguru"."proxykni |
| 252c0 | 66 65 22 20 22 70 73 70 70 22 20 22 70 73 79 63 68 6f 73 79 6e 74 68 22 20 22 70 74 68 22 20 22 | fe"."pspp"."psychosynth"."pth"." |
| 252e0 | 70 79 74 68 6f 6e 77 65 62 6b 69 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pythonwebkit"................... |
| 25300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 71 65 78 6f 22 20 22 71 75 | ......................"qexo"."qu |
| 25320 | 69 63 6b 74 68 72 65 61 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ickthreads"..................... |
| 25340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 72 22 20 22 72 61 64 69 75 73 22 | ...................."r"."radius" |
| 25360 | 20 22 72 63 73 22 20 22 72 65 61 64 6c 69 6e 65 22 20 22 72 65 63 75 74 69 6c 73 22 20 22 72 65 | ."rcs"."readline"."recutils"."re |
| 25380 | 66 74 65 78 22 20 22 72 65 6d 6f 74 65 63 6f 6e 74 72 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 | ftex"."remotecontrol"........... |
| 253a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 72 | .............................."r |
| 253c0 | 6f 74 74 6c 6f 67 22 20 22 72 70 67 65 22 20 22 72 75 73 68 22 0a 20 20 20 20 20 20 20 20 20 20 | ottlog"."rpge"."rush"........... |
| 253e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 73 | .............................."s |
| 25400 | 61 74 68 65 72 22 20 22 73 63 6d 22 20 22 73 63 72 65 65 6e 22 20 22 73 65 64 22 20 22 73 65 72 | ather"."scm"."screen"."sed"."ser |
| 25420 | 76 65 65 7a 22 20 22 73 68 61 72 75 74 69 6c 73 22 20 22 73 68 65 70 68 65 72 64 22 0a 20 20 20 | veez"."sharutils"."shepherd".... |
| 25440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 25460 | 20 20 20 20 20 22 73 68 69 73 68 69 22 20 22 73 68 6d 6d 22 20 22 73 68 74 6f 6f 6c 22 20 22 73 | ....."shishi"."shmm"."shtool"."s |
| 25480 | 69 70 77 69 74 63 68 22 20 22 73 6c 69 62 22 20 22 73 6d 61 6c 6c 74 61 6c 6b 22 20 22 73 6f 63 | ipwitch"."slib"."smalltalk"."soc |
| 254a0 | 69 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ial"............................ |
| 254c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 73 6f 6c 66 65 67 65 22 20 22 73 70 61 63 65 63 68 61 | ............."solfege"."spacecha |
| 254e0 | 72 74 22 20 22 73 70 65 6c 6c 22 20 22 73 71 6c 74 75 74 6f 72 22 20 22 73 72 63 2d 68 69 67 68 | rt"."spell"."sqltutor"."src-high |
| 25500 | 6c 69 74 65 22 20 22 73 73 77 22 20 22 73 74 61 6c 6b 65 72 66 73 22 0a 20 20 20 20 20 20 20 20 | lite"."ssw"."stalkerfs"......... |
| 25520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 25540 | 22 73 74 6f 77 22 20 22 73 74 75 6d 70 22 20 22 73 75 70 65 72 6f 70 74 22 20 22 73 77 62 69 73 | "stow"."stump"."superopt"."swbis |
| 25560 | 22 20 22 73 79 73 75 74 69 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "."sysutils".................... |
| 25580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 74 61 6c 65 72 22 20 22 74 61 | ....................."taler"."ta |
| 255a0 | 6c 6b 66 69 6c 74 65 72 73 22 20 22 74 61 72 22 20 22 74 65 72 6d 63 61 70 22 20 22 74 65 72 6d | lkfilters"."tar"."termcap"."term |
| 255c0 | 75 74 69 6c 73 22 20 22 74 65 73 65 71 22 20 22 74 65 78 69 6d 70 61 74 69 65 6e 74 22 0a 20 20 | utils"."teseq"."teximpatient"... |
| 255e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 25600 | 20 20 20 20 20 20 22 74 65 78 69 6e 66 6f 22 20 22 74 65 78 6d 61 63 73 22 20 22 74 69 6d 65 22 | ......"texinfo"."texmacs"."time" |
| 25620 | 20 22 74 72 61 6d 70 22 20 22 74 72 61 6e 73 2d 63 6f 6f 72 64 22 20 22 74 72 75 65 70 72 69 6e | ."tramp"."trans-coord"."trueprin |
| 25640 | 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t".............................. |
| 25660 | 20 20 20 20 20 20 20 20 20 20 20 22 75 6e 69 66 6f 6e 74 22 20 22 75 6e 69 74 73 22 20 22 75 6e | ..........."unifont"."units"."un |
| 25680 | 72 74 66 22 20 22 75 73 65 72 76 22 20 22 75 75 63 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | rtf"."userv"."uucp"............. |
| 256a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 76 63 2d | ............................"vc- |
| 256c0 | 64 77 69 6d 22 20 22 76 63 64 69 6d 61 67 65 72 22 20 22 76 65 72 61 22 20 22 76 6d 67 65 6e 22 | dwim"."vcdimager"."vera"."vmgen" |
| 256e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 25700 | 20 20 20 20 20 20 20 20 20 22 77 62 22 20 22 77 64 69 66 66 22 20 22 77 65 62 73 6f 63 6b 65 74 | ........."wb"."wdiff"."websocket |
| 25720 | 34 6a 22 20 22 77 65 62 73 74 75 6d 70 22 20 22 77 67 65 74 22 20 22 77 68 69 63 68 22 20 22 77 | 4j"."webstump"."wget"."which"."w |
| 25740 | 6f 6d 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | omb"............................ |
| 25760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 78 61 6f 73 22 20 22 78 62 6f 61 72 64 22 20 22 78 6c | ............."xaos"."xboard"."xl |
| 25780 | 6f 67 6d 61 73 74 65 72 22 20 22 78 6d 6c 61 74 22 20 22 78 6e 65 65 22 20 22 78 6f 72 72 69 73 | ogmaster"."xmlat"."xnee"."xorris |
| 257a0 | 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o".............................. |
| 257c0 | 20 20 20 20 20 20 20 20 20 20 20 22 7a 69 6c 65 22 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 47 4e | ..........."zile")..."List.of.GN |
| 257e0 | 55 20 73 6f 66 74 77 61 72 65 20 66 6f 72 20 49 6e 66 6f 20 6d 61 6e 75 61 6c 20 6c 69 6e 6b 73 | U.software.for.Info.manual.links |
| 25800 | 2e 0a 54 68 65 20 73 6f 66 74 77 61 72 65 20 6c 69 73 74 20 69 73 20 74 61 6b 65 6e 20 66 72 6f | ..The.software.list.is.taken.fro |
| 25820 | 6d 20 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 73 6f 66 74 77 61 72 65 2f 2e | m.https://www.gnu.org/software/. |
| 25840 | 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 | "...:group.'org-export-hugo...:t |
| 25860 | 79 70 65 20 27 28 72 65 70 65 61 74 20 73 74 72 69 6e 67 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 44 65 | ype.'(repeat.string)).....;;;.De |
| 25880 | 66 69 6e 65 20 42 61 63 6b 2d 45 6e 64 0a 0a 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 65 66 69 6e | fine.Back-End..(org-export-defin |
| 258a0 | 65 2d 64 65 72 69 76 65 64 2d 62 61 63 6b 65 6e 64 20 27 68 75 67 6f 20 27 62 6c 61 63 6b 66 72 | e-derived-backend.'hugo.'blackfr |
| 258c0 | 69 64 61 79 20 3b 68 75 67 6f 20 3c 20 62 6c 61 63 6b 66 72 69 64 61 79 20 3c 20 6d 64 20 3c 20 | iday.;hugo.<.blackfriday.<.md.<. |
| 258e0 | 68 74 6d 6c 0a 20 20 3a 6d 65 6e 75 2d 65 6e 74 72 79 0a 20 20 27 28 3f 48 20 22 45 78 70 6f 72 | html...:menu-entry...'(?H."Expor |
| 25900 | 74 20 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 22 0a 20 | t.to.Hugo-compatible.Markdown".. |
| 25920 | 20 20 20 20 20 20 28 28 3f 48 20 22 53 75 62 74 72 65 65 20 6f 72 20 46 69 6c 65 20 74 6f 20 4d | ......((?H."Subtree.or.File.to.M |
| 25940 | 64 20 66 69 6c 65 20 20 20 20 20 20 20 20 20 20 20 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | d.file............"............. |
| 25960 | 28 6c 61 6d 62 64 61 20 28 61 20 5f 73 20 76 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | (lambda.(a._s.v._b)............. |
| 25980 | 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 20 6e 69 6c | ..(org-hugo-export-wim-to-md.nil |
| 259a0 | 20 61 20 76 29 29 29 0a 20 20 20 20 20 20 20 20 28 3f 68 20 22 46 69 6c 65 20 74 6f 20 4d 64 20 | .a.v))).........(?h."File.to.Md. |
| 259c0 | 66 69 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 73 20 76 | file".............(lambda.(a.s.v |
| 259e0 | 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 | ._b)...............(org-hugo-exp |
| 25a00 | 6f 72 74 2d 74 6f 2d 6d 64 20 61 20 73 20 76 29 29 29 0a 20 20 20 20 20 20 20 20 28 3f 4f 20 22 | ort-to-md.a.s.v))).........(?O." |
| 25a20 | 53 75 62 74 72 65 65 20 6f 72 20 46 69 6c 65 20 74 6f 20 4d 64 20 66 69 6c 65 20 61 6e 64 20 6f | Subtree.or.File.to.Md.file.and.o |
| 25a40 | 70 65 6e 20 20 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 5f | pen...".............(lambda.(a._ |
| 25a60 | 73 20 76 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 61 0a 20 20 20 20 | s.v._b)...............(if.a..... |
| 25a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 | ..............(org-hugo-export-w |
| 25aa0 | 69 6d 2d 74 6f 2d 6d 64 20 6e 69 6c 20 3a 61 73 79 6e 63 20 76 29 0a 20 20 20 20 20 20 20 20 20 | im-to-md.nil.:async.v).......... |
| 25ac0 | 20 20 20 20 20 20 20 28 6f 72 67 2d 6f 70 65 6e 2d 66 69 6c 65 20 28 6f 72 67 2d 68 75 67 6f 2d | .......(org-open-file.(org-hugo- |
| 25ae0 | 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 20 6e 69 6c 20 6e 69 6c 20 76 29 29 29 29 29 0a | export-wim-to-md.nil.nil.v))))). |
| 25b00 | 20 20 20 20 20 20 20 20 28 3f 6f 20 22 46 69 6c 65 20 74 6f 20 4d 64 20 66 69 6c 65 20 61 6e 64 | ........(?o."File.to.Md.file.and |
| 25b20 | 20 6f 70 65 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 73 20 | .open".............(lambda.(a.s. |
| 25b40 | 76 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 61 0a 20 20 20 20 20 20 | v._b)...............(if.a....... |
| 25b60 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d | ............(org-hugo-export-to- |
| 25b80 | 6d 64 20 3a 61 73 79 6e 63 20 73 20 76 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | md.:async.s.v).................( |
| 25ba0 | 6f 72 67 2d 6f 70 65 6e 2d 66 69 6c 65 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 | org-open-file.(org-hugo-export-t |
| 25bc0 | 6f 2d 6d 64 20 6e 69 6c 20 73 20 76 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 3f 41 20 22 41 | o-md.nil.s.v))))).........(?A."A |
| 25be0 | 6c 6c 20 73 75 62 74 72 65 65 73 20 28 6f 72 20 46 69 6c 65 29 20 74 6f 20 4d 64 20 66 69 6c 65 | ll.subtrees.(or.File).to.Md.file |
| 25c00 | 28 73 29 20 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 5f 73 | (s)..".............(lambda.(a._s |
| 25c20 | 20 76 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 | .v._b)...............(org-hugo-e |
| 25c40 | 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 20 3a 61 6c 6c 2d 73 75 62 74 72 65 65 73 20 61 20 | xport-wim-to-md.:all-subtrees.a. |
| 25c60 | 76 29 29 29 0a 20 20 20 20 20 20 20 20 28 3f 74 20 22 46 69 6c 65 20 74 6f 20 61 20 74 65 6d 70 | v))).........(?t."File.to.a.temp |
| 25c80 | 6f 72 61 72 79 20 4d 64 20 62 75 66 66 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 | orary.Md.buffer".............(la |
| 25ca0 | 6d 62 64 61 20 28 61 20 73 20 76 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | mbda.(a.s.v._b)...............(o |
| 25cc0 | 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 20 61 20 73 20 76 29 29 29 29 29 0a | rg-hugo-export-as-md.a.s.v))))). |
| 25ce0 | 3b 3b 3b 3b 20 74 72 61 6e 73 6c 61 74 65 2d 61 6c 69 73 74 0a 20 20 3a 74 72 61 6e 73 6c 61 74 | ;;;;.translate-alist...:translat |
| 25d00 | 65 2d 61 6c 69 73 74 20 27 28 28 63 6f 64 65 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 6b 62 64 2d 74 | e-alist.'((code...org-hugo-kbd-t |
| 25d20 | 61 67 73 2d 6d 61 79 62 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ags-maybe)...................... |
| 25d40 | 28 64 72 61 77 65 72 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 64 72 61 77 65 72 29 0a 20 20 20 20 20 | (drawer...org-hugo-drawer)...... |
| 25d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 2e | ................(example-block.. |
| 25d80 | 20 6f 72 67 2d 68 75 67 6f 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 | .org-hugo-example-block)........ |
| 25da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 78 70 6f 72 74 2d 62 6c 6f 63 6b 20 2e 20 6f 72 | ..............(export-block...or |
| 25dc0 | 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 | g-hugo-export-block)............ |
| 25de0 | 20 20 20 20 20 20 20 20 20 20 28 65 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 20 2e 20 6f 72 67 2d | ..........(export-snippet...org- |
| 25e00 | 68 75 67 6f 2d 65 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 | hugo-export-snippet)............ |
| 25e20 | 20 20 20 20 20 20 20 20 20 20 28 68 65 61 64 6c 69 6e 65 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 68 | ..........(headline...org-hugo-h |
| 25e40 | 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e | eading)......................(in |
| 25e60 | 6e 65 72 2d 74 65 6d 70 6c 61 74 65 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 6e 65 72 2d 74 65 | ner-template...org-hugo-inner-te |
| 25e80 | 6d 70 6c 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e | mplate)......................(in |
| 25ea0 | 6c 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 6c 69 6e 65 | line-src-block...org-hugo-inline |
| 25ec0 | 2d 73 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -src-block)..................... |
| 25ee0 | 20 28 6b 65 79 77 6f 72 64 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 6b 65 79 77 6f 72 64 29 0a 20 20 | .(keyword...org-hugo-keyword)... |
| 25f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 20 2e 20 6f 72 67 2d 68 | ...................(link...org-h |
| 25f20 | 75 67 6f 2d 6c 69 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ugo-link)......................( |
| 25f40 | 70 61 72 61 67 72 61 70 68 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 29 0a | paragraph...org-hugo-paragraph). |
| 25f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 62 6c 6f 63 6b 20 | .....................(src-block. |
| 25f80 | 2e 20 6f 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 | ..org-hugo-src-block)........... |
| 25fa0 | 20 20 20 20 20 20 20 20 20 20 20 28 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d | ...........(special-block...org- |
| 25fc0 | 68 75 67 6f 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 3a 66 69 6c 74 65 72 73 2d | hugo-special-block))...:filters- |
| 25fe0 | 61 6c 69 73 74 20 27 28 28 3a 66 69 6c 74 65 72 2d 62 6f 64 79 20 2e 20 6f 72 67 2d 68 75 67 6f | alist.'((:filter-body...org-hugo |
| 26000 | 2d 62 6f 64 79 2d 66 69 6c 74 65 72 29 29 0a 3b 3b 3b 3b 20 6f 70 74 69 6f 6e 73 2d 61 6c 69 73 | -body-filter)).;;;;.options-alis |
| 26020 | 74 0a 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4b 45 59 20 20 20 20 20 20 20 | t...;;................KEY....... |
| 26040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4b 45 59 57 4f 52 44 20 20 20 20 20 20 20 20 20 | ................KEYWORD......... |
| 26060 | 20 20 20 20 20 20 20 20 20 20 20 4f 50 54 49 4f 4e 20 20 44 45 46 41 55 4c 54 20 20 20 20 20 20 | ...........OPTION..DEFAULT...... |
| 26080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 42 45 48 41 56 49 4f 52 0a 20 20 3a 6f 70 74 69 6f | ...............BEHAVIOR...:optio |
| 260a0 | 6e 73 2d 61 6c 69 73 74 20 27 28 3b 3b 20 56 61 72 69 61 62 6c 65 73 20 6e 6f 74 20 73 65 74 74 | ns-alist.'(;;.Variables.not.sett |
| 260c0 | 69 6e 67 20 74 68 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 64 69 72 65 63 74 6c 79 0a 20 20 | ing.the.front-matter.directly... |
| 260e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 77 69 74 68 2d 74 6f 63 20 6e 69 6c 20 | .................(:with-toc.nil. |
| 26100 | 22 74 6f 63 22 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 74 6f 63 29 0a | "toc".org-hugo-export-with-toc). |
| 26120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 73 65 63 74 69 6f 6e 2d 6e 75 6d | ...................(:section-num |
| 26140 | 62 65 72 73 20 6e 69 6c 20 22 6e 75 6d 22 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 | bers.nil."num".org-hugo-export-w |
| 26160 | 69 74 68 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ith-section-numbers)............ |
| 26180 | 20 20 20 20 20 20 20 20 28 3a 61 75 74 68 6f 72 20 22 41 55 54 48 4f 52 22 20 6e 69 6c 20 75 73 | ........(:author."AUTHOR".nil.us |
| 261a0 | 65 72 2d 66 75 6c 6c 2d 6e 61 6d 65 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 | er-full-name.newline)........... |
| 261c0 | 20 20 20 20 20 20 20 20 20 28 3a 63 72 65 61 74 6f 72 20 22 43 52 45 41 54 4f 52 22 20 6e 69 6c | .........(:creator."CREATOR".nil |
| 261e0 | 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 63 72 65 61 74 6f 72 2d 73 74 72 69 6e 67 29 | .org-hugo-export-creator-string) |
| 26200 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 77 69 74 68 2d 73 6d 61 72 74 | ....................(:with-smart |
| 26220 | 2d 71 75 6f 74 65 73 20 6e 69 6c 20 22 27 22 20 6e 69 6c 29 20 3b 48 75 67 6f 2f 47 6f 6c 64 6d | -quotes.nil."'".nil).;Hugo/Goldm |
| 26240 | 61 72 6b 20 64 6f 65 73 20 6d 6f 72 65 20 63 6f 72 72 65 63 74 20 63 6f 6e 76 65 72 73 69 6f 6e | ark.does.more.correct.conversion |
| 26260 | 20 74 6f 20 73 6d 61 72 74 20 71 75 6f 74 65 73 2c 20 65 73 70 65 63 69 61 6c 6c 79 20 66 6f 72 | .to.smart.quotes,.especially.for |
| 26280 | 20 73 69 6e 67 6c 65 20 71 75 6f 74 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .single.quotes.................. |
| 262a0 | 20 20 20 28 3a 77 69 74 68 2d 73 70 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 20 6e 69 6c 20 22 2d | ...(:with-special-strings.nil."- |
| 262c0 | 22 20 6e 69 6c 29 20 3b 48 75 67 6f 2f 47 6f 6c 64 6d 61 72 6b 20 64 6f 65 73 20 74 68 65 20 61 | ".nil).;Hugo/Goldmark.does.the.a |
| 262e0 | 75 74 6f 2d 63 6f 6e 76 65 72 73 69 6f 6e 20 6f 66 20 22 2d 2d 22 20 2d 3e 20 22 e2 80 93 22 2c | uto-conversion.of."--".->."...", |
| 26300 | 20 22 2d 2d 2d 22 20 2d 3e 20 22 e2 80 94 22 20 61 6e 64 20 22 2e 2e 2e 22 20 2d 3e 20 22 e2 80 | ."---".->."...".and."...".->.".. |
| 26320 | a6 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 77 69 74 68 2d 73 75 62 | ."....................(:with-sub |
| 26340 | 2d 73 75 70 65 72 73 63 72 69 70 74 20 6e 69 6c 20 22 5e 22 20 27 7b 7d 29 20 3b 52 65 71 75 69 | -superscript.nil."^".'{}).;Requi |
| 26360 | 72 65 20 63 75 72 6c 79 20 62 72 61 63 65 73 20 74 6f 20 62 65 20 77 72 61 70 70 65 64 20 61 72 | re.curly.braces.to.be.wrapped.ar |
| 26380 | 6f 75 6e 64 20 74 65 78 74 20 74 6f 20 73 75 62 2f 73 75 70 65 72 2d 73 63 72 69 70 74 65 64 0a | ound.text.to.sub/super-scripted. |
| 263a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 77 69 74 68 2d 6c | ...................(:hugo-with-l |
| 263c0 | 6f 63 61 6c 65 20 22 48 55 47 4f 5f 57 49 54 48 5f 4c 4f 43 41 4c 45 22 20 6e 69 6c 20 6e 69 6c | ocale."HUGO_WITH_LOCALE".nil.nil |
| 263e0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 66 72 6f 6e | )....................(:hugo-fron |
| 26400 | 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 20 22 48 55 47 4f 5f 46 52 4f 4e 54 5f 4d 41 54 54 | t-matter-format."HUGO_FRONT_MATT |
| 26420 | 45 52 5f 46 4f 52 4d 41 54 22 20 6e 69 6c 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e | ER_FORMAT".nil.....org-hugo-fron |
| 26440 | 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t-matter-format)................ |
| 26460 | 20 20 20 20 28 3a 68 75 67 6f 2d 6c 65 76 65 6c 2d 6f 66 66 73 65 74 20 22 48 55 47 4f 5f 4c 45 | ....(:hugo-level-offset."HUGO_LE |
| 26480 | 56 45 4c 5f 4f 46 46 53 45 54 22 20 6e 69 6c 20 22 31 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 | VEL_OFFSET".nil."1")............ |
| 264a0 | 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 | ........(:hugo-preserve-filling. |
| 264c0 | 22 48 55 47 4f 5f 50 52 45 53 45 52 56 45 5f 46 49 4c 4c 49 4e 47 22 20 6e 69 6c 20 6f 72 67 2d | "HUGO_PRESERVE_FILLING".nil.org- |
| 264e0 | 68 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 29 20 3b 50 72 65 73 65 72 76 65 | hugo-preserve-filling).;Preserve |
| 26500 | 20 62 72 65 61 6b 73 20 73 6f 20 74 68 61 74 20 74 65 78 74 20 66 69 6c 6c 69 6e 67 20 69 6e 20 | .breaks.so.that.text.filling.in. |
| 26520 | 4d 61 72 6b 64 6f 77 6e 20 6d 61 74 63 68 65 73 20 74 68 61 74 20 6f 66 20 4f 72 67 0a 20 20 20 | Markdown.matches.that.of.Org.... |
| 26540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 | ................(:hugo-delete-tr |
| 26560 | 61 69 6c 69 6e 67 2d 77 73 20 22 48 55 47 4f 5f 44 45 4c 45 54 45 5f 54 52 41 49 4c 49 4e 47 5f | ailing-ws."HUGO_DELETE_TRAILING_ |
| 26580 | 57 53 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 | WS".nil.org-hugo-delete-trailing |
| 265a0 | 2d 77 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 73 | -ws)....................(:hugo-s |
| 265c0 | 65 63 74 69 6f 6e 20 22 48 55 47 4f 5f 53 45 43 54 49 4f 4e 22 20 6e 69 6c 20 6f 72 67 2d 68 75 | ection."HUGO_SECTION".nil.org-hu |
| 265e0 | 67 6f 2d 73 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | go-section)....................( |
| 26600 | 3a 68 75 67 6f 2d 62 75 6e 64 6c 65 20 22 48 55 47 4f 5f 42 55 4e 44 4c 45 22 20 6e 69 6c 20 6e | :hugo-bundle."HUGO_BUNDLE".nil.n |
| 26620 | 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 62 61 | il)....................(:hugo-ba |
| 26640 | 73 65 2d 64 69 72 20 22 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 22 20 6e 69 6c 20 6f 72 67 2d 68 | se-dir."HUGO_BASE_DIR".nil.org-h |
| 26660 | 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ugo-base-dir)................... |
| 26680 | 20 28 3a 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 20 22 48 55 47 4f 5f 42 41 53 45 5f 43 4f 4e 54 | .(:hugo-base-dir."HUGO_BASE_CONT |
| 266a0 | 45 4e 54 5f 46 4f 4c 44 45 52 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 65 6e 74 | ENT_FOLDER".nil.org-hugo-content |
| 266c0 | 2d 66 6f 6c 64 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 | -folder)....................(:hu |
| 266e0 | 67 6f 2d 67 6f 6c 64 6d 61 72 6b 20 22 48 55 47 4f 5f 47 4f 4c 44 4d 41 52 4b 22 20 6e 69 6c 20 | go-goldmark."HUGO_GOLDMARK".nil. |
| 26700 | 6f 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | org-hugo-goldmark).............. |
| 26720 | 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 63 6f 64 65 2d 66 65 6e 63 65 20 22 48 55 47 4f 5f 43 4f | ......(:hugo-code-fence."HUGO_CO |
| 26740 | 44 45 5f 46 45 4e 43 45 22 20 6e 69 6c 20 74 29 20 3b 50 72 65 66 65 72 20 74 6f 20 67 65 6e 65 | DE_FENCE".nil.t).;Prefer.to.gene |
| 26760 | 72 61 74 65 20 74 72 69 70 6c 65 2d 62 61 63 6b 71 75 6f 74 65 64 20 4d 61 72 6b 64 6f 77 6e 20 | rate.triple-backquoted.Markdown. |
| 26780 | 63 6f 64 65 20 62 6c 6f 63 6b 73 20 62 79 20 64 65 66 61 75 6c 74 2e 0a 20 20 20 20 20 20 20 20 | code.blocks.by.default.......... |
| 267a0 | 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b | ...........(:hugo-use-code-for-k |
| 267c0 | 62 64 20 22 48 55 47 4f 5f 55 53 45 5f 43 4f 44 45 5f 46 4f 52 5f 4b 42 44 22 20 6e 69 6c 20 6f | bd."HUGO_USE_CODE_FOR_KBD".nil.o |
| 267e0 | 72 67 2d 68 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 29 0a 20 20 20 20 20 20 | rg-hugo-use-code-for-kbd)....... |
| 26800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 | .............(:hugo-prefer-hyphe |
| 26820 | 6e 2d 69 6e 2d 74 61 67 73 20 22 48 55 47 4f 5f 50 52 45 46 45 52 5f 48 59 50 48 45 4e 5f 49 4e | n-in-tags."HUGO_PREFER_HYPHEN_IN |
| 26840 | 5f 54 41 47 53 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 | _TAGS".nil.org-hugo-prefer-hyphe |
| 26860 | 6e 2d 69 6e 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a | n-in-tags)....................(: |
| 26880 | 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 20 22 48 55 47 4f 5f | hugo-allow-spaces-in-tags."HUGO_ |
| 268a0 | 41 4c 4c 4f 57 5f 53 50 41 43 45 53 5f 49 4e 5f 54 41 47 53 22 20 6e 69 6c 20 6f 72 67 2d 68 75 | ALLOW_SPACES_IN_TAGS".nil.org-hu |
| 268c0 | 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 | go-allow-spaces-in-tags)........ |
| 268e0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 | ............(:hugo-auto-set-last |
| 26900 | 6d 6f 64 20 22 48 55 47 4f 5f 41 55 54 4f 5f 53 45 54 5f 4c 41 53 54 4d 4f 44 22 20 6e 69 6c 20 | mod."HUGO_AUTO_SET_LASTMOD".nil. |
| 26920 | 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 | org-hugo-auto-set-lastmod)...... |
| 26940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 63 75 73 74 6f 6d 2d 66 72 6f 6e | ..............(:hugo-custom-fron |
| 26960 | 74 2d 6d 61 74 74 65 72 20 22 48 55 47 4f 5f 43 55 53 54 4f 4d 5f 46 52 4f 4e 54 5f 4d 41 54 54 | t-matter."HUGO_CUSTOM_FRONT_MATT |
| 26980 | 45 52 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ER".nil.nil.space).............. |
| 269a0 | 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 20 22 48 55 47 4f 5f 42 | ......(:hugo-blackfriday."HUGO_B |
| 269c0 | 4c 41 43 4b 46 52 49 44 41 59 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 20 3b 44 65 70 72 | LACKFRIDAY".nil.nil.space).;Depr |
| 269e0 | 65 63 61 74 65 64 2e 20 53 65 65 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b | ecated..See.https://github.com/k |
| 26a00 | 61 75 73 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 64 69 73 63 75 73 73 69 6f 6e 73 2f 34 | aushalmodi/ox-hugo/discussions/4 |
| 26a20 | 38 35 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 66 72 | 85.....................(:hugo-fr |
| 26a40 | 6f 6e 74 2d 6d 61 74 74 65 72 2d 6b 65 79 2d 72 65 70 6c 61 63 65 20 22 48 55 47 4f 5f 46 52 4f | ont-matter-key-replace."HUGO_FRO |
| 26a60 | 4e 54 5f 4d 41 54 54 45 52 5f 4b 45 59 5f 52 45 50 4c 41 43 45 22 20 6e 69 6c 20 6e 69 6c 20 73 | NT_MATTER_KEY_REPLACE".nil.nil.s |
| 26a80 | 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d | pace)....................(:hugo- |
| 26aa0 | 64 61 74 65 2d 66 6f 72 6d 61 74 20 22 48 55 47 4f 5f 44 41 54 45 5f 46 4f 52 4d 41 54 22 20 6e | date-format."HUGO_DATE_FORMAT".n |
| 26ac0 | 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 | il.org-hugo-date-format)........ |
| 26ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 | ............(:hugo-paired-shortc |
| 26b00 | 6f 64 65 73 20 22 48 55 47 4f 5f 50 41 49 52 45 44 5f 53 48 4f 52 54 43 4f 44 45 53 22 20 6e 69 | odes."HUGO_PAIRED_SHORTCODES".ni |
| 26b20 | 6c 20 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 20 73 70 61 | l.org-hugo-paired-shortcodes.spa |
| 26b40 | 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 61 | ce)....................(:hugo-pa |
| 26b60 | 6e 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 20 22 48 55 47 4f 5f 50 41 4e 44 4f 43 5f 43 49 54 41 | ndoc-citations."HUGO_PANDOC_CITA |
| 26b80 | 54 49 4f 4e 53 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | TIONS".nil.nil)................. |
| 26ba0 | 20 20 20 28 3a 62 69 62 6c 69 6f 67 72 61 70 68 79 20 22 42 49 42 4c 49 4f 47 52 41 50 48 59 22 | ...(:bibliography."BIBLIOGRAPHY" |
| 26bc0 | 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 20 3b 55 73 65 64 20 69 6e 20 6f 78 2d 68 75 | .nil.nil.newline).;Used.in.ox-hu |
| 26be0 | 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | go-pandoc-cite.................. |
| 26c00 | 20 20 28 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 20 22 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e | ..(:html-container."HTML_CONTAIN |
| 26c20 | 45 52 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 61 69 6e 65 72 2d 65 6c 65 6d 65 | ER".nil.org-hugo-container-eleme |
| 26c40 | 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 74 6d 6c 2d 63 6f | nt)....................(:html-co |
| 26c60 | 6e 74 61 69 6e 65 72 2d 63 6c 61 73 73 20 22 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 5f 43 4c | ntainer-class."HTML_CONTAINER_CL |
| 26c80 | 41 53 53 22 20 6e 69 6c 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ASS".nil."").................... |
| 26ca0 | 28 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 2d 6e 65 73 74 65 64 20 22 48 54 4d 4c 5f 43 4f | (:html-container-nested."HTML_CO |
| 26cc0 | 4e 54 41 49 4e 45 52 5f 4e 45 53 54 45 44 22 20 6e 69 6c 20 6e 69 6c 29 0a 0a 20 20 20 20 20 20 | NTAINER_NESTED".nil.nil)........ |
| 26ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 46 72 6f 6e 74 2d 6d 61 74 74 65 72 20 76 61 72 | .............;;.Front-matter.var |
| 26d00 | 69 61 62 6c 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 | iables....................;;.htt |
| 26d20 | 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e | ps://gohugo.io/content-managemen |
| 26d40 | 74 2f 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2f 23 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 72 | t/front-matter/#front-matter-var |
| 26d60 | 69 61 62 6c 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6c 69 | iables....................;;.ali |
| 26d80 | 61 73 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 61 | ases....................(:hugo-a |
| 26da0 | 6c 69 61 73 65 73 20 22 48 55 47 4f 5f 41 4c 49 41 53 45 53 22 20 6e 69 6c 20 6e 69 6c 20 73 70 | liases."HUGO_ALIASES".nil.nil.sp |
| 26dc0 | 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 75 64 69 6f | ace)....................;;.audio |
| 26de0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 61 75 64 69 6f | ....................(:hugo-audio |
| 26e00 | 20 22 48 55 47 4f 5f 41 55 44 49 4f 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 | ."HUGO_AUDIO".nil.nil).......... |
| 26e20 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........;;.date............... |
| 26e40 | 20 20 20 20 20 3b 3b 20 22 64 61 74 65 22 20 69 73 20 70 61 72 73 65 64 20 66 72 6f 6d 20 74 68 | .....;;."date".is.parsed.from.th |
| 26e60 | 65 20 4f 72 67 20 23 2b 64 61 74 65 20 6f 72 20 73 75 62 74 72 65 65 20 70 72 6f 70 65 72 74 79 | e.Org.#+date.or.subtree.property |
| 26e80 | 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f 44 41 54 45 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .EXPORT_HUGO_DATE............... |
| 26ea0 | 20 20 20 20 20 28 3a 64 61 74 65 20 22 44 41 54 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 | .....(:date."DATE".nil.nil)..... |
| 26ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 73 63 72 69 70 74 69 6f 6e 0a 20 20 | ...............;;.description... |
| 26ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 64 65 73 63 72 69 70 74 69 6f 6e 20 22 | .................(:description." |
| 26f00 | 44 45 53 43 52 49 50 54 49 4f 4e 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 | DESCRIPTION".nil.nil)........... |
| 26f20 | 20 20 20 20 20 20 20 20 20 3b 3b 20 64 72 61 66 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........;;.draft............... |
| 26f40 | 20 20 20 20 20 3b 3b 20 22 64 72 61 66 74 22 20 76 61 6c 75 65 20 69 6e 74 65 72 70 72 65 74 65 | .....;;."draft".value.interprete |
| 26f60 | 64 20 62 79 20 74 68 65 20 54 4f 44 4f 20 73 74 61 74 65 20 6f 66 20 61 0a 20 20 20 20 20 20 20 | d.by.the.TODO.state.of.a........ |
| 26f80 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 6f 73 74 20 61 73 20 4f 72 67 20 73 75 62 74 72 | ............;;.post.as.Org.subtr |
| 26fa0 | 65 65 20 67 65 74 73 20 68 69 67 68 65 72 20 70 72 65 63 65 64 65 6e 63 65 2e 0a 20 20 20 20 20 | ee.gets.higher.precedence....... |
| 26fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 64 72 61 66 74 20 22 48 55 47 4f | ..............(:hugo-draft."HUGO |
| 26fe0 | 5f 44 52 41 46 54 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _DRAFT".nil.nil)................ |
| 27000 | 20 20 20 20 3b 3b 20 65 78 70 69 72 79 44 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....;;.expiryDate............... |
| 27020 | 20 20 20 20 20 28 3a 68 75 67 6f 2d 65 78 70 69 72 79 64 61 74 65 20 22 48 55 47 4f 5f 45 58 50 | .....(:hugo-expirydate."HUGO_EXP |
| 27040 | 49 52 59 44 41 54 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | IRYDATE".nil.nil)............... |
| 27060 | 20 20 20 20 20 3b 3b 20 68 65 61 64 6c 65 73 73 20 28 6f 6e 6c 79 20 66 6f 72 20 50 61 67 65 20 | .....;;.headless.(only.for.Page. |
| 27080 | 42 75 6e 64 6c 65 73 20 2d 20 48 75 67 6f 20 76 30 2e 33 35 2b 29 0a 20 20 20 20 20 20 20 20 20 | Bundles.-.Hugo.v0.35+).......... |
| 270a0 | 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 68 65 61 64 6c 65 73 73 20 22 48 55 47 4f 5f | ..........(:hugo-headless."HUGO_ |
| 270c0 | 48 45 41 44 4c 45 53 53 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | HEADLESS".nil.nil).............. |
| 270e0 | 20 20 20 20 20 20 3b 3b 20 69 6d 61 67 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......;;.images................. |
| 27100 | 20 20 20 28 3a 68 75 67 6f 2d 69 6d 61 67 65 73 20 22 48 55 47 4f 5f 49 4d 41 47 45 53 22 20 6e | ...(:hugo-images."HUGO_IMAGES".n |
| 27120 | 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | il.nil.newline)................. |
| 27140 | 20 20 20 3b 3b 20 69 73 43 4a 4b 4c 61 6e 67 75 61 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...;;.isCJKLanguage............. |
| 27160 | 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 69 73 63 6a 6b 6c 61 6e 67 75 61 67 65 20 22 48 55 47 | .......(:hugo-iscjklanguage."HUG |
| 27180 | 4f 5f 49 53 43 4a 4b 4c 41 4e 47 55 41 47 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 | O_ISCJKLANGUAGE".nil.nil)....... |
| 271a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6b 65 79 77 6f 72 64 73 0a 20 20 20 20 20 20 20 | .............;;.keywords........ |
| 271c0 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 6b 65 79 77 6f 72 64 73 22 20 69 73 20 70 61 72 | ............;;."keywords".is.par |
| 271e0 | 73 65 64 20 66 72 6f 6d 20 74 68 65 20 4f 72 67 20 23 2b 6b 65 79 77 6f 72 64 73 20 6f 72 0a 20 | sed.from.the.Org.#+keywords.or.. |
| 27200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 62 74 72 65 65 20 70 72 6f | ..................;;.subtree.pro |
| 27220 | 70 65 72 74 79 20 45 58 50 4f 52 54 5f 4b 45 59 57 4f 52 44 53 2e 0a 20 20 20 20 20 20 20 20 20 | perty.EXPORT_KEYWORDS........... |
| 27240 | 20 20 20 20 20 20 20 20 20 20 28 3a 6b 65 79 77 6f 72 64 73 20 22 4b 45 59 57 4f 52 44 53 22 20 | ..........(:keywords."KEYWORDS". |
| 27260 | 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nil.nil.newline)................ |
| 27280 | 20 20 20 20 3b 3b 20 6c 61 79 6f 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....;;.layout................... |
| 272a0 | 20 28 3a 68 75 67 6f 2d 6c 61 79 6f 75 74 20 22 48 55 47 4f 5f 4c 41 59 4f 55 54 22 20 6e 69 6c | .(:hugo-layout."HUGO_LAYOUT".nil |
| 272c0 | 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 61 73 74 | .nil)....................;;.last |
| 272e0 | 6d 6f 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 6c 61 | mod....................(:hugo-la |
| 27300 | 73 74 6d 6f 64 20 22 48 55 47 4f 5f 4c 41 53 54 4d 4f 44 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 | stmod."HUGO_LASTMOD".nil.nil)... |
| 27320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6e 6b 54 69 74 6c 65 0a 20 20 | .................;;.linkTitle... |
| 27340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 6c 69 6e 6b 74 69 74 6c | .................(:hugo-linktitl |
| 27360 | 65 20 22 48 55 47 4f 5f 4c 49 4e 4b 54 49 54 4c 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 | e."HUGO_LINKTITLE".nil.nil)..... |
| 27380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 6f 63 61 6c 65 20 28 75 73 65 64 20 69 | ...............;;.locale.(used.i |
| 273a0 | 6e 20 48 75 67 6f 20 69 6e 74 65 72 6e 61 6c 20 74 65 6d 70 6c 61 74 65 73 29 0a 20 20 20 20 20 | n.Hugo.internal.templates)...... |
| 273c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 6c 6f 63 61 6c 65 20 22 48 55 47 | ..............(:hugo-locale."HUG |
| 273e0 | 4f 5f 4c 4f 43 41 4c 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | O_LOCALE".nil.nil).............. |
| 27400 | 20 20 20 20 20 20 3b 3b 20 6d 61 72 6b 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......;;.markup................. |
| 27420 | 20 20 20 28 3a 68 75 67 6f 2d 6d 61 72 6b 75 70 20 22 48 55 47 4f 5f 4d 41 52 4b 55 50 22 20 6e | ...(:hugo-markup."HUGO_MARKUP".n |
| 27440 | 69 6c 20 6e 69 6c 29 20 3b 64 65 66 61 75 6c 74 20 69 73 20 22 6d 64 22 0a 20 20 20 20 20 20 20 | il.nil).;default.is."md"........ |
| 27460 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6d 65 6e 75 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ............;;.menu............. |
| 27480 | 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 6d 65 6e 75 20 22 48 55 47 4f 5f 4d 45 4e 55 22 20 6e | .......(:hugo-menu."HUGO_MENU".n |
| 274a0 | 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | il.nil.space)................... |
| 274c0 | 20 28 3a 68 75 67 6f 2d 6d 65 6e 75 2d 6f 76 65 72 72 69 64 65 20 22 48 55 47 4f 5f 4d 45 4e 55 | .(:hugo-menu-override."HUGO_MENU |
| 274e0 | 5f 4f 56 45 52 52 49 44 45 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 | _OVERRIDE".nil.nil.space)....... |
| 27500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 75 74 70 75 74 73 0a 20 20 20 20 20 20 20 20 | .............;;.outputs......... |
| 27520 | 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 6f 75 74 70 75 74 73 20 22 48 55 47 4f 5f | ...........(:hugo-outputs."HUGO_ |
| 27540 | 4f 55 54 50 55 54 53 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 | OUTPUTS".nil.nil.space)......... |
| 27560 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 75 62 6c 69 73 68 44 61 74 65 0a 20 20 20 20 20 20 | ...........;;.publishDate....... |
| 27580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 75 62 6c 69 73 68 64 61 74 65 20 | .............(:hugo-publishdate. |
| 275a0 | 22 48 55 47 4f 5f 50 55 42 4c 49 53 48 44 41 54 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 | "HUGO_PUBLISHDATE".nil.nil)..... |
| 275c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 72 69 65 73 0a 20 20 20 20 20 20 20 | ...............;;.series........ |
| 275e0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 73 65 72 69 65 73 20 22 48 55 47 4f 5f | ............(:hugo-series."HUGO_ |
| 27600 | 53 45 52 49 45 53 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 | SERIES".nil.nil.newline)........ |
| 27620 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 6c 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ............;;.slug............. |
| 27640 | 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 73 6c 75 67 20 22 48 55 47 4f 5f 53 4c 55 47 22 20 6e | .......(:hugo-slug."HUGO_SLUG".n |
| 27660 | 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 61 | il.nil)....................;;.ta |
| 27680 | 78 6f 6d 6f 6e 6f 6d 69 65 73 20 2d 20 74 61 67 73 2c 20 63 61 74 65 67 6f 72 69 65 73 0a 20 20 | xomonomies.-.tags,.categories... |
| 276a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 74 61 67 73 20 22 48 55 | .................(:hugo-tags."HU |
| 276c0 | 47 4f 5f 54 41 47 53 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 | GO_TAGS".nil.nil.newline)....... |
| 276e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 23 2b 68 75 67 6f 5f 74 61 67 73 20 61 72 65 20 | .............;;.#+hugo_tags.are. |
| 27700 | 75 73 65 64 20 74 6f 20 73 65 74 20 74 68 65 20 70 6f 73 74 20 74 61 67 73 20 69 6e 20 4f 72 67 | used.to.set.the.post.tags.in.Org |
| 27720 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 69 6c 65 73 20 77 72 69 | ....................;;.files.wri |
| 27740 | 74 74 65 6e 20 66 6f 72 20 66 69 6c 65 2d 62 61 73 65 64 20 65 78 70 6f 72 74 73 2e 20 20 42 75 | tten.for.file-based.exports...Bu |
| 27760 | 74 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 62 74 | t.for....................;;.subt |
| 27780 | 72 65 65 2d 62 61 73 65 64 20 65 78 70 6f 72 74 73 2c 20 74 68 65 20 45 58 50 4f 52 54 5f 48 55 | ree-based.exports,.the.EXPORT_HU |
| 277a0 | 47 4f 5f 54 41 47 53 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 | GO_TAGS....................;;.pr |
| 277c0 | 6f 70 65 72 74 79 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f 20 6f 76 65 72 72 69 64 65 20 69 | operty.can.be.used.to.override.i |
| 277e0 | 6e 68 65 72 69 74 65 64 20 74 61 67 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nherited.tags................... |
| 27800 | 20 3b 3b 20 61 6e 64 20 4f 72 67 2d 73 74 79 6c 65 20 74 61 67 73 2e 0a 20 20 20 20 20 20 20 20 | .;;.and.Org-style.tags.......... |
| 27820 | 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 63 61 74 65 67 6f 72 69 65 73 20 22 48 55 | ...........(:hugo-categories."HU |
| 27840 | 47 4f 5f 43 41 54 45 47 4f 52 49 45 53 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a | GO_CATEGORIES".nil.nil.newline). |
| 27860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 23 2b 68 75 67 6f 5f 63 61 74 | ...................;;.#+hugo_cat |
| 27880 | 65 67 6f 72 69 65 73 20 61 72 65 20 75 73 65 64 20 74 6f 20 73 65 74 20 74 68 65 20 70 6f 73 74 | egories.are.used.to.set.the.post |
| 278a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 61 74 65 67 6f 72 69 65 | ....................;;.categorie |
| 278c0 | 73 20 69 6e 20 4f 72 67 20 66 69 6c 65 73 20 77 72 69 74 74 65 6e 20 66 6f 72 20 66 69 6c 65 2d | s.in.Org.files.written.for.file- |
| 278e0 | 62 61 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 78 70 6f | based....................;;.expo |
| 27900 | 72 74 73 2e 20 20 42 75 74 20 66 6f 72 20 73 75 62 74 72 65 65 2d 62 61 73 65 64 20 65 78 70 6f | rts...But.for.subtree-based.expo |
| 27920 | 72 74 73 2c 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 | rts,.the....................;;.E |
| 27940 | 58 50 4f 52 54 5f 48 55 47 4f 5f 43 41 54 45 47 4f 52 49 45 53 20 70 72 6f 70 65 72 74 79 20 63 | XPORT_HUGO_CATEGORIES.property.c |
| 27960 | 61 6e 20 62 65 20 75 73 65 64 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | an.be.used.to................... |
| 27980 | 20 3b 3b 20 6f 76 65 72 72 69 64 65 20 69 6e 68 65 72 69 74 65 64 20 63 61 74 65 67 6f 72 69 65 | .;;.override.inherited.categorie |
| 279a0 | 73 20 61 6e 64 20 4f 72 67 2d 73 74 79 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.and.Org-style................. |
| 279c0 | 20 20 20 3b 3b 20 63 61 74 65 67 6f 72 69 65 73 20 28 4f 72 67 2d 73 74 79 6c 65 20 74 61 67 73 | ...;;.categories.(Org-style.tags |
| 279e0 | 20 77 69 74 68 20 22 40 22 20 70 72 65 66 69 78 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .with."@".prefix)............... |
| 27a00 | 20 20 20 20 20 20 3b 3b 20 72 65 73 6f 75 72 63 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......;;.resources.............. |
| 27a20 | 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 72 65 73 6f 75 72 63 65 73 20 22 48 55 47 4f 5f 52 45 53 | ......(:hugo-resources."HUGO_RES |
| 27a40 | 4f 55 52 43 45 53 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 | OURCES".nil.nil.space).......... |
| 27a60 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........;;.title.............. |
| 27a80 | 20 20 20 20 20 20 3b 3b 20 22 74 69 74 6c 65 22 20 69 73 20 70 61 72 73 65 64 20 66 72 6f 6d 20 | ......;;."title".is.parsed.from. |
| 27aa0 | 74 68 65 20 4f 72 67 20 23 2b 74 69 74 6c 65 20 6f 72 20 74 68 65 20 73 75 62 74 72 65 65 20 68 | the.Org.#+title.or.the.subtree.h |
| 27ac0 | 65 61 64 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 79 | eading.....................;;.ty |
| 27ae0 | 70 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 74 79 70 | pe....................(:hugo-typ |
| 27b00 | 65 20 22 48 55 47 4f 5f 54 59 50 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 | e."HUGO_TYPE".nil.nil).......... |
| 27b20 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 75 72 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........;;.url................ |
| 27b40 | 20 20 20 20 28 3a 68 75 67 6f 2d 75 72 6c 20 22 48 55 47 4f 5f 55 52 4c 22 20 6e 69 6c 20 6e 69 | ....(:hugo-url."HUGO_URL".nil.ni |
| 27b60 | 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 76 69 64 65 6f 73 0a | l)....................;;.videos. |
| 27b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 76 69 64 65 6f 73 | ...................(:hugo-videos |
| 27ba0 | 20 22 48 55 47 4f 5f 56 49 44 45 4f 53 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a | ."HUGO_VIDEOS".nil.nil.newline). |
| 27bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 77 65 69 67 68 74 0a 20 20 20 | ...................;;.weight.... |
| 27be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 77 65 69 67 68 74 20 22 48 | ................(:hugo-weight."H |
| 27c00 | 55 47 4f 5f 57 45 49 47 48 54 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 29 29 0a 0a 0a 0c | UGO_WEIGHT".nil.nil.space))).... |
| 27c20 | 0a 3b 3b 3b 20 4d 69 73 63 65 6c 6c 61 6e 65 6f 75 73 20 48 65 6c 70 65 72 20 46 75 6e 63 74 69 | .;;;.Miscellaneous.Helper.Functi |
| 27c40 | 6f 6e 73 0a 0a 3b 3b 3b 3b 20 43 68 65 63 6b 20 69 66 20 61 20 76 61 6c 75 65 20 69 73 20 6e 6f | ons..;;;;.Check.if.a.value.is.no |
| 27c60 | 6e 2d 6e 69 6c 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 74 | n-nil.(defun.org-hugo--value-get |
| 27c80 | 2d 74 72 75 65 2d 70 20 28 76 61 6c 75 65 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 | -true-p.(value)..."Return.non-ni |
| 27ca0 | 6c 20 69 66 20 56 41 4c 55 45 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 52 65 74 75 72 6e 20 6e 69 | l.if.VALUE.is.non-nil..Return.ni |
| 27cc0 | 6c 20 69 66 20 56 41 4c 55 45 20 69 73 20 6e 69 6c 2c 20 5c 22 6e 69 6c 5c 22 20 6f 72 20 5c 22 | l.if.VALUE.is.nil,.\"nil\".or.\" |
| 27ce0 | 5c 22 2e 22 0a 20 20 28 63 6f 6e 64 0a 20 20 20 28 28 6f 72 20 28 65 71 75 61 6c 20 74 20 76 61 | \"."...(cond....((or.(equal.t.va |
| 27d00 | 6c 75 65 29 0a 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 6e 69 6c 20 76 61 6c 75 65 29 29 0a | lue).........(equal.nil.value)). |
| 27d20 | 20 20 20 20 76 61 6c 75 65 29 0a 20 20 20 28 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 76 61 6c | ....value)....((and.(stringp.val |
| 27d40 | 75 65 29 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 76 61 6c 75 65 20 22 6e 69 6c | ue)..........(string=.value."nil |
| 27d60 | 22 29 29 0a 20 20 20 20 6e 69 6c 29 0a 20 20 20 28 74 0a 20 20 20 20 3b 3b 20 22 22 20 2d 3e 20 | ")).....nil)....(t.....;;."".->. |
| 27d80 | 6e 69 6c 0a 20 20 20 20 3b 3b 20 22 74 22 20 2d 3e 20 22 74 22 0a 20 20 20 20 3b 3b 20 22 61 6e | nil.....;;."t".->."t".....;;."an |
| 27da0 | 79 74 68 69 6e 67 20 65 6c 73 65 22 20 2d 3e 20 22 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 22 0a | ything.else".->."anything.else". |
| 27dc0 | 20 20 20 20 3b 3b 20 31 32 33 20 2d 3e 20 6e 69 6c 0a 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e | ....;;.123.->.nil.....(org-strin |
| 27de0 | 67 2d 6e 77 2d 70 20 76 61 6c 75 65 29 29 29 29 0a 0a 3b 3b 3b 3b 20 43 68 65 63 6b 20 69 66 20 | g-nw-p.value))))..;;;;.Check.if. |
| 27e00 | 61 20 62 6f 6f 6c 65 61 6e 20 70 6c 69 73 74 20 76 61 6c 75 65 20 69 73 20 6e 6f 6e 2d 6e 69 6c | a.boolean.plist.value.is.non-nil |
| 27e20 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 | .(defun.org-hugo--plist-get-true |
| 27e40 | 2d 70 20 28 69 6e 66 6f 20 6b 65 79 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 | -p.(info.key)..."Return.non-nil. |
| 27e60 | 69 66 20 4b 45 59 20 69 6e 20 49 4e 46 4f 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 52 65 74 75 72 | if.KEY.in.INFO.is.non-nil..Retur |
| 27e80 | 6e 20 6e 69 6c 20 69 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 4b 45 59 20 69 6e 20 49 4e 46 | n.nil.if.the.value.of.KEY.in.INF |
| 27ea0 | 4f 20 69 73 20 6e 69 6c 2c 20 5c 22 6e 69 6c 5c 22 20 6f 72 20 5c 22 5c 22 2e 0a 0a 54 68 69 73 | O.is.nil,.\"nil\".or.\"\"...This |
| 27ec0 | 20 69 73 20 61 20 73 70 65 63 69 61 6c 20 76 65 72 73 69 6f 6e 20 6f 66 20 60 70 6c 69 73 74 2d | .is.a.special.version.of.`plist- |
| 27ee0 | 67 65 74 27 20 75 73 65 64 20 6f 6e 6c 79 20 66 6f 72 20 6b 65 79 73 20 74 68 61 74 0a 61 72 65 | get'.used.only.for.keys.that.are |
| 27f00 | 20 65 78 70 65 63 74 65 64 20 74 6f 20 68 6f 6c 64 20 61 20 62 6f 6f 6c 65 61 6e 20 76 61 6c 75 | .expected.to.hold.a.boolean.valu |
| 27f20 | 65 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f | e...INFO.is.a.plist.used.as.a.co |
| 27f40 | 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 20 28 28 76 | mmunication.channel."...(let.((v |
| 27f60 | 61 6c 75 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 6b 65 79 29 29 29 0a 20 20 20 20 | alue.(plist-get.info.key)))..... |
| 27f80 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 3a 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 | ;;.(message."dbg:.org-hugo--plis |
| 27fa0 | 74 2d 67 65 74 2d 74 72 75 65 2d 70 3a 3a 20 6b 65 79 3a 25 53 20 76 61 6c 75 65 3a 25 53 22 20 | t-get-true-p::.key:%S.value:%S". |
| 27fc0 | 6b 65 79 20 76 61 6c 75 65 29 0a 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d | key.value).....(org-hugo--value- |
| 27fe0 | 67 65 74 2d 74 72 75 65 2d 70 20 76 61 6c 75 65 29 29 29 0a 0a 3b 3b 3b 3b 20 57 6f 72 6b 61 72 | get-true-p.value)))..;;;;.Workar |
| 28000 | 6f 75 6e 64 20 74 6f 20 72 65 74 61 69 6e 20 63 75 73 74 6f 6d 20 70 61 72 61 6d 65 74 65 72 73 | ound.to.retain.custom.parameters |
| 28020 | 20 69 6e 20 73 72 63 2d 62 6c 6f 63 6b 20 68 65 61 64 65 72 73 20 70 6f 73 74 20 60 6f 72 67 2d | .in.src-block.headers.post.`org- |
| 28040 | 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 27 0a 3b 3b 20 68 74 74 70 3a 2f 2f 6c 69 73 74 73 2e | babel-exp-code'.;;.http://lists. |
| 28060 | 67 6e 75 2e 6f 72 67 2f 61 72 63 68 69 76 65 2f 68 74 6d 6c 2f 65 6d 61 63 73 2d 6f 72 67 6d 6f | gnu.org/archive/html/emacs-orgmo |
| 28080 | 64 65 2f 32 30 31 37 2d 31 30 2f 6d 73 67 30 30 33 30 30 2e 68 74 6d 6c 0a 28 64 65 66 75 6e 20 | de/2017-10/msg00300.html.(defun. |
| 280a0 | 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 20 28 6f 72 | org-hugo--org-babel-exp-code.(or |
| 280c0 | 69 67 2d 66 75 6e 20 26 72 65 73 74 20 61 72 67 73 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 | ig-fun.&rest.args)..."Return.the |
| 280e0 | 20 6f 72 69 67 69 6e 61 6c 20 63 6f 64 65 20 62 6c 6f 63 6b 20 66 6f 72 6d 61 74 74 65 64 20 66 | .original.code.block.formatted.f |
| 28100 | 6f 72 20 65 78 70 6f 72 74 2e 0a 4f 52 49 47 2d 46 55 4e 20 69 73 20 74 68 65 20 6f 72 69 67 69 | or.export..ORIG-FUN.is.the.origi |
| 28120 | 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 20 60 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 | nal.function.`org-babel-exp-code |
| 28140 | 27 20 74 68 61 74 20 74 68 69 73 0a 66 75 6e 63 74 69 6f 6e 20 69 73 20 64 65 73 69 67 6e 65 64 | '.that.this.function.is.designed |
| 28160 | 20 74 6f 20 61 64 76 69 63 65 20 75 73 69 6e 67 20 60 3a 61 72 6f 75 6e 64 27 2e 20 20 41 52 47 | .to.advice.using.`:around'...ARG |
| 28180 | 53 20 61 72 65 20 74 68 65 0a 61 72 67 75 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 4f 52 49 47 2d | S.are.the.arguments.of.the.ORIG- |
| 281a0 | 46 55 4e 2e 0a 0a 54 68 69 73 20 61 64 76 69 63 65 20 72 65 74 61 69 6e 73 20 74 68 65 20 60 3a | FUN...This.advice.retains.the.`: |
| 281c0 | 68 6c 5f 6c 69 6e 65 73 27 2c 20 60 6c 69 6e 65 6e 6f 73 27 20 61 6e 64 0a 60 3a 66 72 6f 6e 74 | hl_lines',.`linenos'.and.`:front |
| 281e0 | 5f 6d 61 74 74 65 72 5f 65 78 74 72 61 27 20 70 61 72 61 6d 65 74 65 72 73 2c 20 69 66 20 61 64 | _matter_extra'.parameters,.if.ad |
| 28200 | 64 65 64 20 74 6f 20 61 6e 79 20 73 6f 75 72 63 65 20 62 6c 6f 63 6b 2e 0a 54 68 69 73 20 70 61 | ded.to.any.source.block..This.pa |
| 28220 | 72 61 6d 65 74 65 72 20 69 73 20 75 73 65 64 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 73 72 63 | rameter.is.used.in.`org-hugo-src |
| 28240 | 2d 62 6c 6f 63 6b 27 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 72 61 6d 2d 6b 65 79 73 2d 74 | -block'."...(let*.((param-keys-t |
| 28260 | 6f 2d 62 65 2d 72 65 74 61 69 6e 65 64 20 27 28 3a 68 6c 5f 6c 69 6e 65 73 20 3a 6c 69 6e 65 6e | o-be-retained.'(:hl_lines.:linen |
| 28280 | 6f 73 20 3a 66 72 6f 6e 74 5f 6d 61 74 74 65 72 5f 65 78 74 72 61 29 29 0a 20 20 20 20 20 20 20 | os.:front_matter_extra))........ |
| 282a0 | 20 20 28 69 6e 66 6f 20 28 63 61 72 20 61 72 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 | ..(info.(car.args))..........(pa |
| 282c0 | 72 61 6d 65 74 65 72 73 20 28 6e 74 68 20 32 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 | rameters.(nth.2.info)).......... |
| 282e0 | 28 6f 78 2d 68 75 67 6f 2d 70 61 72 61 6d 73 2d 73 74 72 20 28 6c 65 74 20 28 28 73 74 72 20 22 | (ox-hugo-params-str.(let.((str." |
| 28300 | 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "))............................. |
| 28320 | 20 20 20 28 64 6f 6c 69 73 74 20 28 70 61 72 61 6d 20 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 | ...(dolist.(param.parameters)... |
| 28340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 28360 | 64 6f 6c 69 73 74 20 28 72 65 74 61 69 6e 2d 6b 65 79 20 70 61 72 61 6d 2d 6b 65 79 73 2d 74 6f | dolist.(retain-key.param-keys-to |
| 28380 | 2d 62 65 2d 72 65 74 61 69 6e 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -be-retained)................... |
| 283a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 72 65 | .................(when.(equal.re |
| 283c0 | 74 61 69 6e 2d 6b 65 79 20 28 63 61 72 20 70 61 72 61 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 | tain-key.(car.param))........... |
| 283e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 | ...........................(let. |
| 28400 | 28 28 76 61 6c 20 28 63 64 72 20 70 61 72 61 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ((val.(cdr.param)))............. |
| 28420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 | ...........................(setq |
| 28440 | 20 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .str............................ |
| 28460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 73 74 72 20 22 20 | ..................(concat.str.". |
| 28480 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "............................... |
| 284a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 79 6d 62 6f 6c 2d 6e | .......................(symbol-n |
| 284c0 | 61 6d 65 20 72 65 74 61 69 6e 2d 6b 65 79 29 20 22 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ame.retain-key)."."............. |
| 284e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 28500 | 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........(cond.................. |
| 28520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 28540 | 20 20 20 20 20 28 28 73 74 72 69 6e 67 70 20 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .....((stringp.val)............. |
| 28560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 28580 | 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........val)................. |
| 285a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 285c0 | 20 20 20 20 20 20 28 28 6e 75 6d 62 65 72 70 20 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ......((numberp.val)............ |
| 285e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 28600 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 76 61 | ............(number-to-string.va |
| 28620 | 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l))............................. |
| 28640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 | ..........................(t.... |
| 28660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 28680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 | ....................(user-error. |
| 286a0 | 22 49 6e 76 61 6c 69 64 20 76 61 6c 75 65 20 25 53 20 61 73 73 69 67 6e 65 64 20 74 6f 20 25 53 | "Invalid.value.%S.assigned.to.%S |
| 286c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "............................... |
| 286e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 28700 | 20 20 20 20 20 76 61 6c 20 72 65 74 61 69 6e 2d 6b 65 79 29 29 29 29 29 29 29 29 29 0a 20 20 20 | .....val.retain-key))))))))).... |
| 28720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | ............................(org |
| 28740 | 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 74 72 69 6d 20 73 74 72 29 29 29 29 0a 20 | -string-nw-p.(org-trim.str)))).. |
| 28760 | 20 20 20 20 20 20 20 20 72 65 74 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f | ........ret).....;;.(message."[o |
| 28780 | 78 2d 68 75 67 6f 20 6f 62 2d 65 78 70 5d 20 69 6e 66 6f 3a 20 25 53 22 20 69 6e 66 6f 29 0a 20 | x-hugo.ob-exp].info:.%S".info).. |
| 287a0 | 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 6f 62 2d 65 78 70 5d | ...;;.(message."[ox-hugo.ob-exp] |
| 287c0 | 20 70 61 72 61 6d 65 74 65 72 73 3a 20 25 53 22 20 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 20 | .parameters:.%S".parameters).... |
| 287e0 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 6f 62 2d 65 78 70 5d 20 6f | .;;.(message."[ox-hugo.ob-exp].o |
| 28800 | 78 2d 68 75 67 6f 2d 70 61 72 61 6d 73 2d 73 74 72 3a 20 25 53 22 20 6f 78 2d 68 75 67 6f 2d 70 | x-hugo-params-str:.%S".ox-hugo-p |
| 28820 | 61 72 61 6d 73 2d 73 74 72 29 0a 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 61 70 70 6c 79 20 | arams-str).....(setq.ret.(apply. |
| 28840 | 6f 72 69 67 2d 66 75 6e 20 61 72 67 73 29 29 0a 20 20 20 20 28 77 68 65 6e 20 6f 78 2d 68 75 67 | orig-fun.args)).....(when.ox-hug |
| 28860 | 6f 2d 70 61 72 61 6d 73 2d 73 74 72 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 61 73 65 2d 66 | o-params-str.......(let.((case-f |
| 28880 | 6f 6c 64 2d 73 65 61 72 63 68 20 74 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 | old-search.t)).........(setq.ret |
| 288a0 | 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 23 | .(replace-regexp-in-string."\\`# |
| 288c0 | 5c 5c 2b 62 65 67 69 6e 5f 73 72 63 20 2e 2a 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | \\+begin_src..*"................ |
| 288e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f | .............................(fo |
| 28900 | 72 6d 61 74 20 22 5c 5c 26 20 25 73 22 20 6f 78 2d 68 75 67 6f 2d 70 61 72 61 6d 73 2d 73 74 72 | rmat."\\&.%s".ox-hugo-params-str |
| 28920 | 29 20 72 65 74 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 | ).ret)))).....;;.(message."[ox-h |
| 28940 | 75 67 6f 20 6f 62 2d 65 78 70 5d 20 72 65 74 3a 20 25 53 22 20 72 65 74 29 0a 20 20 20 20 72 65 | ugo.ob-exp].ret:.%S".ret).....re |
| 28960 | 74 29 29 0a 0a 0a 3b 3b 3b 3b 20 57 6f 72 6b 61 72 6f 75 6e 64 20 74 6f 20 66 69 78 20 74 68 65 | t))...;;;;.Workaround.to.fix.the |
| 28980 | 20 72 65 67 72 65 73 73 69 6f 6e 20 69 6e 20 74 68 65 20 62 65 68 61 76 69 6f 72 20 6f 66 20 60 | .regression.in.the.behavior.of.` |
| 289a0 | 6f 72 67 2d 62 61 62 65 6c 2d 2d 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 27 2e 0a 3b 3b | org-babel--string-to-number'..;; |
| 289c0 | 20 68 74 74 70 73 3a 2f 2f 6c 69 73 74 73 2e 67 6e 75 2e 6f 72 67 2f 72 2f 65 6d 61 63 73 2d 6f | .https://lists.gnu.org/r/emacs-o |
| 289e0 | 72 67 6d 6f 64 65 2f 32 30 32 30 2d 30 32 2f 6d 73 67 30 30 39 33 31 2e 68 74 6d 6c 0a 28 64 65 | rgmode/2020-02/msg00931.html.(de |
| 28a00 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 62 61 62 65 6c 2d 2d 73 74 72 69 6e 67 2d | fun.org-hugo--org-babel--string- |
| 28a20 | 74 6f 2d 6e 75 6d 62 65 72 20 28 73 74 72 69 6e 67 29 0a 20 20 22 49 66 20 53 54 52 49 4e 47 20 | to-number.(string)..."If.STRING. |
| 28a40 | 72 65 70 72 65 73 65 6e 74 73 20 61 20 6e 75 6d 62 65 72 20 72 65 74 75 72 6e 20 69 74 73 20 76 | represents.a.number.return.its.v |
| 28a60 | 61 6c 75 65 2e 0a 4f 74 68 65 72 77 69 73 65 20 72 65 74 75 72 6e 20 6e 69 6c 2e 0a 0a 54 68 69 | alue..Otherwise.return.nil...Thi |
| 28a80 | 73 20 66 75 6e 63 74 69 6f 6e 20 72 65 73 74 6f 72 65 73 20 74 68 65 20 62 65 68 61 76 69 6f 72 | s.function.restores.the.behavior |
| 28aa0 | 20 6f 66 0a 60 6f 72 67 2d 62 61 62 65 6c 2d 2d 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 | .of.`org-babel--string-to-number |
| 28ac0 | 27 20 74 6f 20 74 68 61 74 20 6f 66 20 62 65 66 6f 72 65 0a 68 74 74 70 73 3a 2f 2f 67 69 74 2e | '.to.that.of.before.https://git. |
| 28ae0 | 73 61 76 61 6e 6e 61 68 2e 67 6e 75 2e 6f 72 67 2f 63 67 69 74 2f 65 6d 61 63 73 2f 6f 72 67 2d | savannah.gnu.org/cgit/emacs/org- |
| 28b00 | 6d 6f 64 65 2e 67 69 74 2f 63 6f 6d 6d 69 74 2f 3f 69 64 3d 36 62 32 61 37 63 62 32 30 62 33 35 | mode.git/commit/?id=6b2a7cb20b35 |
| 28b20 | 37 65 37 33 30 64 65 31 35 31 35 32 32 66 65 34 32 30 34 63 39 36 36 31 35 66 39 38 2e 22 0a 20 | 7e730de151522fe4204c96615f98.".. |
| 28b40 | 20 28 61 6e 64 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 2d 3f 5c 5c 28 5b | .(and.(string-match-p."\\`-?\\([ |
| 28b60 | 30 2d 39 5d 5c 5c 7c 5c 5c 28 5b 31 2d 39 5d 5c 5c 7c 5b 30 2d 39 5d 2a 5c 5c 2e 5c 5c 29 5b 30 | 0-9]\\|\\([1-9]\\|[0-9]*\\.\\)[0 |
| 28b80 | 2d 39 5d 2a 5c 5c 29 5c 5c 27 22 20 73 74 72 69 6e 67 29 0a 20 20 20 20 20 20 20 28 73 74 72 69 | -9]*\\)\\'".string)........(stri |
| 28ba0 | 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 73 74 72 69 6e 67 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f | ng-to-number.string)))..(defun.o |
| 28bc0 | 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 69 6e 66 6f 2d 65 78 70 6f 72 74 20 28 70 61 74 68 20 64 | rg-hugo--org-info-export.(path.d |
| 28be0 | 65 73 63 20 66 6f 72 6d 61 74 29 0a 20 20 22 41 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 65 | esc.format)..."Add.support.for.e |
| 28c00 | 78 70 6f 72 74 69 6e 67 20 5b 5b 69 6e 66 6f 3a 2e 2e 5d 5d 20 6c 69 6e 6b 73 20 66 6f 72 20 60 | xporting.[[info:..]].links.for.` |
| 28c20 | 68 75 67 6f 27 20 66 6f 72 6d 61 74 2e 0a 0a 53 65 65 20 60 6f 72 67 2d 6c 69 6e 6b 2d 70 61 72 | hugo'.format...See.`org-link-par |
| 28c40 | 61 6d 65 74 65 72 73 27 20 66 6f 72 20 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 50 41 54 48 2c | ameters'.for.details.about.PATH, |
| 28c60 | 20 44 45 53 43 20 61 6e 64 20 46 4f 52 4d 41 54 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 72 | .DESC.and.FORMAT."...(let*.((par |
| 28c80 | 74 73 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 70 61 74 68 20 22 23 5c 5c 7c 3a 3a 22 29 29 | ts.(split-string.path."#\\|::")) |
| 28ca0 | 0a 20 20 20 20 20 20 20 20 20 28 6d 61 6e 75 61 6c 20 28 63 61 72 20 70 61 72 74 73 29 29 0a 20 | ..........(manual.(car.parts)).. |
| 28cc0 | 20 20 20 20 20 20 20 20 28 6e 6f 64 65 20 28 6f 72 20 28 6e 74 68 20 31 20 70 61 72 74 73 29 20 | ........(node.(or.(nth.1.parts). |
| 28ce0 | 22 54 6f 70 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 20 28 66 6f 72 6d 61 74 20 | "Top"))..........(title.(format. |
| 28d00 | 22 45 6d 61 63 73 20 4c 69 73 70 3a 20 28 69 6e 66 6f 20 5c 5c 5c 22 28 25 73 29 20 25 73 5c 5c | "Emacs.Lisp:.(info.\\\"(%s).%s\\ |
| 28d20 | 5c 22 29 22 20 6d 61 6e 75 61 6c 20 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 65 73 | \")".manual.node))..........(des |
| 28d40 | 63 20 28 6f 72 20 64 65 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 | c.(or.desc....................(i |
| 28d60 | 66 20 28 73 74 72 69 6e 67 3d 20 6e 6f 64 65 20 22 54 6f 70 22 29 0a 20 20 20 20 20 20 20 20 20 | f.(string=.node."Top").......... |
| 28d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 49 6e 66 6f 22 20 | ..............(format."%s.Info". |
| 28da0 | 28 63 61 70 69 74 61 6c 69 7a 65 20 6d 61 6e 75 61 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | (capitalize.manual))............ |
| 28dc0 | 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 49 6e 66 6f 3a 20 25 73 22 20 | ..........(format."%s.Info:.%s". |
| 28de0 | 28 63 61 70 69 74 61 6c 69 7a 65 20 6d 61 6e 75 61 6c 29 20 6e 6f 64 65 29 29 29 29 0a 20 20 20 | (capitalize.manual).node)))).... |
| 28e00 | 20 20 20 20 20 20 3b 3b 20 60 6c 69 6e 6b 27 20 62 65 6c 6f 77 20 69 73 20 6d 6f 73 74 6c 79 20 | ......;;.`link'.below.is.mostly. |
| 28e20 | 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 63 6f 64 65 20 69 6e 0a 20 20 20 20 20 20 20 | derived.from.the.code.in........ |
| 28e40 | 20 20 3b 3b 20 60 6f 72 67 2d 69 6e 66 6f 2d 6d 61 70 2d 68 74 6d 6c 2d 75 72 6c 27 2e 0a 20 20 | ..;;.`org-info-map-html-url'.... |
| 28e60 | 20 20 20 20 20 20 20 28 6c 69 6e 6b 20 28 63 6f 6e 64 20 28 28 6d 65 6d 62 65 72 20 6d 61 6e 75 | .......(link.(cond.((member.manu |
| 28e80 | 61 6c 20 6f 72 67 2d 69 6e 66 6f 2d 65 6d 61 63 73 2d 64 6f 63 75 6d 65 6e 74 73 29 0a 20 20 20 | al.org-info-emacs-documents).... |
| 28ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 61 6e 75 61 6c | ...................(let.((manual |
| 28ec0 | 2d 75 72 6c 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 28 64 6f 77 6e 63 61 73 65 20 6d 61 6e 75 | -url.(if.(string=.(downcase.manu |
| 28ee0 | 61 6c 29 20 22 6f 72 67 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | al)."org")...................... |
| 28f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 73 3a 2f 2f | ......................."https:// |
| 28f20 | 6f 72 67 6d 6f 64 65 2e 6f 72 67 2f 6d 61 6e 75 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | orgmode.org/manual"............. |
| 28f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 | ..............................(f |
| 28f60 | 6f 72 6d 61 74 20 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 73 6f 66 74 77 | ormat."https://www.gnu.org/softw |
| 28f80 | 61 72 65 2f 65 6d 61 63 73 2f 6d 61 6e 75 61 6c 2f 68 74 6d 6c 5f 6e 6f 64 65 2f 25 73 22 20 6d | are/emacs/manual/html_node/%s".m |
| 28fa0 | 61 6e 75 61 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | anual)))........................ |
| 28fc0 | 20 20 20 20 20 28 6e 6f 64 65 2d 75 72 6c 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 6e 6f 64 65 | .....(node-url.(if.(string=.node |
| 28fe0 | 20 22 54 6f 70 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."Top")......................... |
| 29000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 69 6e 64 65 78 2e 68 74 6d 6c 22 0a 20 | .................."index.html".. |
| 29020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 29040 | 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 69 6e 66 6f 2d 2d 65 78 70 61 6e 64 | .......(concat.(org-info--expand |
| 29060 | 2d 6e 6f 64 65 2d 6e 61 6d 65 20 6e 6f 64 65 29 20 22 2e 68 74 6d 6c 22 29 29 29 29 0a 20 20 20 | -node-name.node).".html")))).... |
| 29080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 | .....................(format."%s |
| 290a0 | 2f 25 73 22 20 6d 61 6e 75 61 6c 2d 75 72 6c 20 6e 6f 64 65 2d 75 72 6c 29 29 29 0a 20 20 20 20 | /%s".manual-url.node-url)))..... |
| 290c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6d 65 6d 62 65 72 20 6d 61 6e 75 61 6c | .................((member.manual |
| 290e0 | 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 66 6f 2d 67 6e 75 2d 73 6f 66 74 77 61 72 65 29 0a 20 20 20 | .org-hugo-info-gnu-software).... |
| 29100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 61 6e 75 61 6c | ...................(let.((manual |
| 29120 | 2d 75 72 6c 20 28 66 6f 72 6d 61 74 20 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 | -url.(format."https://www.gnu.or |
| 29140 | 67 2f 73 6f 66 74 77 61 72 65 2f 25 73 2f 6d 61 6e 75 61 6c 2f 68 74 6d 6c 5f 6e 6f 64 65 22 20 | g/software/%s/manual/html_node". |
| 29160 | 6d 61 6e 75 61 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | manual))........................ |
| 29180 | 20 20 20 20 20 28 6e 6f 64 65 2d 75 72 6c 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 6e 6f 64 65 | .....(node-url.(if.(string=.node |
| 291a0 | 20 22 54 6f 70 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."Top")......................... |
| 291c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 69 6e 64 65 78 2e 68 74 6d 6c 22 0a 20 | .................."index.html".. |
| 291e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 29200 | 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 69 6e 66 6f 2d 2d 65 78 70 61 6e 64 | .......(concat.(org-info--expand |
| 29220 | 2d 6e 6f 64 65 2d 6e 61 6d 65 20 6e 6f 64 65 29 20 22 2e 68 74 6d 6c 22 29 29 29 29 0a 20 20 20 | -node-name.node).".html")))).... |
| 29240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 | .....................(format."%s |
| 29260 | 2f 25 73 22 20 6d 61 6e 75 61 6c 2d 75 72 6c 20 6e 6f 64 65 2d 75 72 6c 29 29 29 0a 20 20 20 20 | /%s".manual-url.node-url)))..... |
| 29280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 63 64 72 20 28 61 73 73 6f 63 20 6d 61 | .................((cdr.(assoc.ma |
| 292a0 | 6e 75 61 6c 20 6f 72 67 2d 69 6e 66 6f 2d 6f 74 68 65 72 2d 64 6f 63 75 6d 65 6e 74 73 29 29 29 | nual.org-info-other-documents))) |
| 292c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 | ......................(t........ |
| 292e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6d 61 6e 75 61 6c 20 22 2e | ...............(concat.manual.". |
| 29300 | 68 74 6d 6c 22 29 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 66 6f 72 | html"))))).....(when.(member.for |
| 29320 | 6d 61 74 20 27 28 6d 64 20 68 75 67 6f 29 29 0a 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b | mat.'(md.hugo)).......(format."[ |
| 29340 | 25 73 5d 28 25 73 20 5c 22 25 73 5c 22 29 22 20 64 65 73 63 20 6c 69 6e 6b 20 74 69 74 6c 65 29 | %s](%s.\"%s\")".desc.link.title) |
| 29360 | 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 63 69 74 65 2d 65 | )))..(defun.org-hugo--org-cite-e |
| 29380 | 78 70 6f 72 74 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 20 28 6f 72 69 67 2d 66 75 6e 20 26 72 65 | xport-bibliography.(orig-fun.&re |
| 293a0 | 73 74 20 61 72 67 73 29 0a 20 20 22 49 6e 73 65 72 74 20 61 20 68 65 61 64 69 6e 67 20 62 65 66 | st.args)..."Insert.a.heading.bef |
| 293c0 | 6f 72 65 20 74 68 65 20 65 78 70 6f 72 74 65 64 20 62 69 62 6c 69 6f 67 72 61 70 68 79 2e 0a 0a | ore.the.exported.bibliography... |
| 293e0 | 4f 52 49 47 2d 46 55 4e 20 69 73 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 66 75 6e 63 74 69 6f | ORIG-FUN.is.the.original.functio |
| 29400 | 6e 20 60 6f 72 67 2d 63 69 74 65 2d 65 78 70 6f 72 74 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 27 | n.`org-cite-export-bibliography' |
| 29420 | 0a 74 68 61 74 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 64 65 73 69 67 6e 65 64 20 | .that.this.function.is.designed. |
| 29440 | 74 6f 20 61 64 76 69 63 65 20 75 73 69 6e 67 20 60 3a 61 72 6f 75 6e 64 27 2e 20 20 41 52 47 53 | to.advice.using.`:around'...ARGS |
| 29460 | 0a 61 72 65 20 74 68 65 20 61 72 67 75 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 4f 52 49 47 2d 46 | .are.the.arguments.of.the.ORIG-F |
| 29480 | 55 4e 2e 22 0a 20 20 28 6c 65 74 20 28 28 62 69 62 20 28 61 70 70 6c 79 20 6f 72 69 67 2d 66 75 | UN."...(let.((bib.(apply.orig-fu |
| 294a0 | 6e 20 61 72 67 73 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d | n.args))).....(when.(org-string- |
| 294c0 | 6e 77 2d 70 20 62 69 62 29 0a 20 20 20 20 20 20 3b 3b 20 41 75 74 6f 2d 69 6e 6a 65 63 74 20 42 | nw-p.bib).......;;.Auto-inject.B |
| 294e0 | 69 62 6c 69 6f 67 72 61 70 68 79 20 68 65 61 64 69 6e 67 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 | ibliography.heading........(let. |
| 29500 | 28 28 69 6e 66 6f 20 28 6e 74 68 20 32 20 61 72 67 73 29 29 20 3b 28 6f 72 67 2d 63 69 74 65 2d | ((info.(nth.2.args)).;(org-cite- |
| 29520 | 65 78 70 6f 72 74 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 20 4b 45 59 57 4f 52 44 20 5f 20 49 4e | export-bibliography.KEYWORD._.IN |
| 29540 | 46 4f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 62 69 62 2d 68 65 61 64 69 6e 67 20 28 6f 72 | FO).............(bib-heading.(or |
| 29560 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 70 6c 69 73 74 2d 67 65 74 20 6f 72 67 2d 68 75 67 | g-string-nw-p.(plist-get.org-hug |
| 29580 | 6f 2d 63 69 74 61 74 69 6f 6e 73 2d 70 6c 69 73 74 20 3a 62 69 62 6c 69 6f 67 72 61 70 68 79 2d | o-citations-plist.:bibliography- |
| 295a0 | 73 65 63 74 69 6f 6e 2d 68 65 61 64 69 6e 67 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 | section-heading)))).........(whe |
| 295c0 | 6e 20 62 69 62 2d 68 65 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 | n.bib-heading...........(let*.(( |
| 295e0 | 62 69 62 2d 68 65 61 64 69 6e 67 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 74 72 | bib-heading.(org-blackfriday--tr |
| 29600 | 61 6e 73 6c 61 74 65 20 6e 69 6c 20 69 6e 66 6f 20 62 69 62 2d 68 65 61 64 69 6e 67 29 29 0a 20 | anslate.nil.info.bib-heading)).. |
| 29620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 6f 66 66 73 65 74 20 28 73 74 72 69 6e 67 | ................(loffset.(string |
| 29640 | 2d 74 6f 2d 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -to-number...................... |
| 29660 | 20 20 20 20 20 20 28 6f 72 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 | ......(or.(org-entry-get.nil."EX |
| 29680 | 50 4f 52 54 5f 48 55 47 4f 5f 4c 45 56 45 4c 5f 4f 46 46 53 45 54 22 20 3a 69 6e 68 65 72 69 74 | PORT_HUGO_LEVEL_OFFSET".:inherit |
| 296a0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )............................... |
| 296c0 | 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6c 65 76 65 6c 2d 6f 66 66 | .(plist-get.info.:hugo-level-off |
| 296e0 | 73 65 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 76 65 6c 2d | set))))..................(level- |
| 29700 | 6d 61 72 6b 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2b 20 6c 6f 66 66 73 65 74 20 31 29 20 | mark.(make-string.(+.loffset.1). |
| 29720 | 3f 23 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 25 73 | ?#))).............(format."%s.%s |
| 29740 | 5c 6e 5c 6e 25 73 22 20 6c 65 76 65 6c 2d 6d 61 72 6b 20 62 69 62 2d 68 65 61 64 69 6e 67 20 62 | \n\n%s".level-mark.bib-heading.b |
| 29760 | 69 62 29 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 62 65 66 6f | ib)))))))..(defun.org-hugo--befo |
| 29780 | 72 65 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 28 73 75 62 74 72 65 65 70 29 0a 20 20 | re-export-function.(subtreep)... |
| 297a0 | 22 46 75 6e 63 74 69 6f 6e 20 74 6f 20 62 65 20 72 75 6e 20 62 65 66 6f 72 65 20 61 6e 20 6f 78 | "Function.to.be.run.before.an.ox |
| 297c0 | 2d 68 75 67 6f 20 65 78 70 6f 72 74 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 | -hugo.export...This.function.is. |
| 297e0 | 63 61 6c 6c 65 64 20 69 6e 20 74 68 65 20 76 65 72 79 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 0a | called.in.the.very.beginning.of. |
| 29800 | 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 27 20 61 6e 64 20 60 6f 72 67 | `org-hugo-export-to-md'.and.`org |
| 29820 | 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 27 2e 0a 0a 53 55 42 54 52 45 45 50 20 69 | -hugo-export-as-md'...SUBTREEP.i |
| 29840 | 73 20 6e 6f 6e 2d 6e 69 6c 20 66 6f 72 20 73 75 62 74 72 65 65 2d 62 61 73 65 64 20 65 78 70 6f | s.non-nil.for.subtree-based.expo |
| 29860 | 72 74 73 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 75 73 65 64 20 74 6f 20 61 | rts...This.function.is.used.to.a |
| 29880 | 64 76 69 73 65 20 66 65 77 20 66 75 6e 63 74 69 6f 6e 73 2e 20 20 54 68 6f 73 65 20 61 64 76 69 | dvise.few.functions...Those.advi |
| 298a0 | 63 65 73 20 61 72 65 0a 65 66 66 65 63 74 69 76 65 20 6f 6e 6c 79 20 77 68 69 6c 65 20 61 6e 20 | ces.are.effective.only.while.an. |
| 298c0 | 6f 78 2d 68 75 67 6f 20 65 78 70 6f 72 74 20 69 73 20 69 6e 20 70 72 6f 67 72 65 73 73 20 62 65 | ox-hugo.export.is.in.progress.be |
| 298e0 | 63 61 75 73 65 0a 74 68 65 79 20 67 65 74 20 72 65 6d 6f 76 65 64 20 6c 61 74 65 72 20 69 6e 20 | cause.they.get.removed.later.in. |
| 29900 | 60 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 31 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 | `org-hugo--after-1-export-functi |
| 29920 | 6f 6e 27 2e 0a 0a 54 68 69 73 20 69 73 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 66 75 6e 63 74 69 | on'...This.is.an.internal.functi |
| 29940 | 6f 6e 2e 22 0a 20 20 28 75 6e 6c 65 73 73 20 73 75 62 74 72 65 65 70 0a 20 20 20 20 3b 3b 20 52 | on."...(unless.subtreep.....;;.R |
| 29960 | 65 73 65 74 20 74 68 65 20 76 61 72 69 61 62 6c 65 73 20 74 68 61 74 20 61 72 65 20 75 73 65 64 | eset.the.variables.that.are.used |
| 29980 | 20 6f 6e 6c 79 20 66 6f 72 20 73 75 62 74 72 65 65 20 65 78 70 6f 72 74 73 2e 0a 20 20 20 20 28 | .only.for.subtree.exports......( |
| 299a0 | 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 20 6e 69 6c | setq.org-hugo--subtree-coord.nil |
| 299c0 | 29 29 0a 20 20 28 61 64 76 69 63 65 2d 61 64 64 20 27 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d | ))...(advice-add.'org-babel-exp- |
| 299e0 | 63 6f 64 65 20 3a 61 72 6f 75 6e 64 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 62 61 62 | code.:around.#'org-hugo--org-bab |
| 29a00 | 65 6c 2d 65 78 70 2d 63 6f 64 65 29 0a 20 20 28 61 64 76 69 63 65 2d 61 64 64 20 27 6f 72 67 2d | el-exp-code)...(advice-add.'org- |
| 29a20 | 62 61 62 65 6c 2d 2d 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 3a 6f 76 65 72 72 69 64 | babel--string-to-number.:overrid |
| 29a40 | 65 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 62 61 62 65 6c 2d 2d 73 74 72 69 6e 67 2d | e.#'org-hugo--org-babel--string- |
| 29a60 | 74 6f 2d 6e 75 6d 62 65 72 29 0a 20 20 28 61 64 76 69 63 65 2d 61 64 64 20 27 6f 72 67 2d 69 6e | to-number)...(advice-add.'org-in |
| 29a80 | 66 6f 2d 65 78 70 6f 72 74 20 3a 6f 76 65 72 72 69 64 65 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d | fo-export.:override.#'org-hugo-- |
| 29aa0 | 6f 72 67 2d 69 6e 66 6f 2d 65 78 70 6f 72 74 29 0a 20 20 28 61 64 76 69 63 65 2d 61 64 64 20 27 | org-info-export)...(advice-add.' |
| 29ac0 | 6f 72 67 2d 63 69 74 65 2d 65 78 70 6f 72 74 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 20 3a 61 72 | org-cite-export-bibliography.:ar |
| 29ae0 | 6f 75 6e 64 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 63 69 74 65 2d 65 78 70 6f 72 74 | ound.#'org-hugo--org-cite-export |
| 29b00 | 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f | -bibliography))..(defun.org-hugo |
| 29b20 | 2d 2d 61 66 74 65 72 2d 31 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 28 69 6e 66 6f 20 | --after-1-export-function.(info. |
| 29b40 | 6f 75 74 66 69 6c 65 29 0a 20 20 22 46 75 6e 63 74 69 6f 6e 20 74 6f 20 62 65 20 72 75 6e 20 61 | outfile)..."Function.to.be.run.a |
| 29b60 | 66 74 65 72 20 65 78 70 6f 72 74 69 6e 67 20 6f 6e 65 20 70 6f 73 74 2e 0a 0a 54 68 65 20 70 6f | fter.exporting.one.post...The.po |
| 29b80 | 73 74 20 63 6f 75 6c 64 20 62 65 20 65 78 70 6f 72 74 65 64 20 75 73 69 6e 67 20 74 68 65 20 73 | st.could.be.exported.using.the.s |
| 29ba0 | 75 62 74 72 65 65 2d 62 61 73 65 64 20 6f 72 20 66 69 6c 65 2d 62 61 73 65 64 0a 6d 65 74 68 6f | ubtree-based.or.file-based.metho |
| 29bc0 | 64 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 63 61 6c 6c 65 64 20 69 6e 20 74 | d...This.function.is.called.in.t |
| 29be0 | 68 65 20 65 6e 64 20 6f 66 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 | he.end.of.`org-hugo-export-to-md |
| 29c00 | 27 2c 0a 61 6e 64 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 27 2e 0a | ',.and.`org-hugo-export-as-md'.. |
| 29c20 | 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 | .INFO.is.a.plist.used.as.a.commu |
| 29c40 | 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 4f 55 54 46 49 4c 45 20 69 73 20 74 68 | nication.channel...OUTFILE.is.th |
| 29c60 | 65 20 4f 72 67 20 65 78 70 6f 72 74 65 64 20 66 69 6c 65 20 6e 61 6d 65 2e 0a 0a 54 68 69 73 20 | e.Org.exported.file.name...This. |
| 29c80 | 69 73 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 2e 22 0a 20 20 28 61 64 76 | is.an.internal.function."...(adv |
| 29ca0 | 69 63 65 2d 72 65 6d 6f 76 65 20 27 6f 72 67 2d 63 69 74 65 2d 65 78 70 6f 72 74 2d 62 69 62 6c | ice-remove.'org-cite-export-bibl |
| 29cc0 | 69 6f 67 72 61 70 68 79 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 63 69 74 65 2d 65 78 | iography.#'org-hugo--org-cite-ex |
| 29ce0 | 70 6f 72 74 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 29 0a 20 20 28 61 64 76 69 63 65 2d 72 65 6d | port-bibliography)...(advice-rem |
| 29d00 | 6f 76 65 20 27 6f 72 67 2d 69 6e 66 6f 2d 65 78 70 6f 72 74 20 23 27 6f 72 67 2d 68 75 67 6f 2d | ove.'org-info-export.#'org-hugo- |
| 29d20 | 2d 6f 72 67 2d 69 6e 66 6f 2d 65 78 70 6f 72 74 29 0a 20 20 28 61 64 76 69 63 65 2d 72 65 6d 6f | -org-info-export)...(advice-remo |
| 29d40 | 76 65 20 27 6f 72 67 2d 62 61 62 65 6c 2d 2d 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 | ve.'org-babel--string-to-number. |
| 29d60 | 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 62 61 62 65 6c 2d 2d 73 74 72 69 6e 67 2d 74 6f | #'org-hugo--org-babel--string-to |
| 29d80 | 2d 6e 75 6d 62 65 72 29 0a 20 20 28 61 64 76 69 63 65 2d 72 65 6d 6f 76 65 20 27 6f 72 67 2d 62 | -number)...(advice-remove.'org-b |
| 29da0 | 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 62 61 | abel-exp-code.#'org-hugo--org-ba |
| 29dc0 | 62 65 6c 2d 65 78 70 2d 63 6f 64 65 29 0a 20 20 28 77 68 65 6e 20 28 61 6e 64 20 6f 75 74 66 69 | bel-exp-code)...(when.(and.outfi |
| 29de0 | 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 6e 64 6f | le..............(org-hugo--pando |
| 29e00 | 63 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 70 20 69 6e 66 6f 29 29 0a 20 20 20 | c-citations-enabled-p.info)).... |
| 29e20 | 20 28 72 65 71 75 69 72 65 20 27 6f 78 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 29 0a | .(require.'ox-hugo-pandoc-cite). |
| 29e40 | 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6f 75 74 66 69 6c 65 20 6f 75 74 | ....(plist-put.info.:outfile.out |
| 29e60 | 66 69 6c 65 29 0a 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 66 72 6f 6e 74 | file).....(plist-put.info.:front |
| 29e80 | 2d 6d 61 74 74 65 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 29 0a 20 20 20 20 28 6f 72 67 2d 68 | -matter.org-hugo--fm).....(org-h |
| 29ea0 | 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 70 61 72 73 65 2d 63 69 74 61 74 69 6f 6e 73 | ugo-pandoc-cite--parse-citations |
| 29ec0 | 2d 6d 61 79 62 65 20 69 6e 66 6f 29 29 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d | -maybe.info))...(setq.org-hugo-- |
| 29ee0 | 66 6d 20 6e 69 6c 29 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d | fm.nil)...(setq.org-hugo--fm-yam |
| 29f00 | 6c 20 6e 69 6c 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 6c 65 61 6e 75 | l.nil))..(defun.org-hugo--cleanu |
| 29f20 | 70 20 28 29 0a 20 20 22 46 75 6e 63 74 69 6f 6e 20 74 6f 20 6b 69 6c 6c 20 4f 78 2d 48 75 67 6f | p.()..."Function.to.kill.Ox-Hugo |
| 29f40 | 20 6f 70 65 6e 65 64 20 62 75 66 66 65 72 73 20 61 6e 64 20 72 65 73 65 74 20 69 6e 74 65 72 6e | .opened.buffers.and.reset.intern |
| 29f60 | 61 6c 20 76 61 72 69 61 62 6c 65 73 2e 0a 0a 54 68 69 73 20 69 73 20 61 6e 20 69 6e 74 65 72 6e | al.variables...This.is.an.intern |
| 29f80 | 61 6c 20 66 75 6e 63 74 69 6f 6e 2e 22 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d | al.function."...(setq.org-hugo-- |
| 29fa0 | 73 75 62 74 72 65 65 2d 63 6f 75 6e 74 20 30 29 20 3b 52 65 73 65 74 20 74 68 65 20 73 75 62 74 | subtree-count.0).;Reset.the.subt |
| 29fc0 | 72 65 65 20 63 6f 75 6e 74 0a 0a 20 20 3b 3b 20 4b 69 6c 6c 20 61 6c 6c 20 74 68 65 20 62 75 66 | ree.count....;;.Kill.all.the.buf |
| 29fe0 | 66 65 72 73 20 6f 70 65 6e 65 64 20 62 79 20 64 75 72 69 6e 67 20 61 6e 20 65 78 70 6f 72 74 2e | fers.opened.by.during.an.export. |
| 2a000 | 0a 20 20 28 64 6f 6c 69 73 74 20 28 62 75 66 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 70 65 6e 65 64 | ...(dolist.(buf.org-hugo--opened |
| 2a020 | 2d 62 75 66 66 65 72 73 29 0a 20 20 20 20 28 6b 69 6c 6c 2d 62 75 66 66 65 72 20 62 75 66 29 29 | -buffers).....(kill-buffer.buf)) |
| 2a040 | 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 70 65 6e 65 64 2d 62 75 66 66 65 72 | ...(setq.org-hugo--opened-buffer |
| 2a060 | 73 20 6e 69 6c 29 0a 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f | s.nil)....(setq.org-hugo--prepro |
| 2a080 | 63 65 73 73 65 64 2d 62 75 66 66 65 72 20 6e 69 6c 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d | cessed-buffer.nil))..(defun.org- |
| 2a0a0 | 68 75 67 6f 2d 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e | hugo--after-all-exports-function |
| 2a0c0 | 20 28 29 0a 20 20 22 46 75 6e 63 74 69 6f 6e 20 74 6f 20 62 65 20 72 75 6e 20 61 66 74 65 72 20 | .()..."Function.to.be.run.after. |
| 2a0e0 | 4f 78 2d 48 75 67 6f 20 65 78 70 6f 72 74 73 20 61 6c 6c 20 74 68 65 20 70 6f 73 74 73 2e 0a 0a | Ox-Hugo.exports.all.the.posts... |
| 2a100 | 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 63 61 6c 6c 65 64 20 69 6e 20 74 68 65 20 65 | This.function.is.called.in.the.e |
| 2a120 | 6e 64 20 6f 66 0a 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 | nd.of.`org-hugo-export-wim-to-md |
| 2a140 | 27 2c 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 27 20 61 6e 64 0a 60 | ',.`org-hugo-export-to-md'.and.` |
| 2a160 | 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 27 20 28 69 66 20 69 74 73 20 41 | org-hugo-export-as-md'.(if.its.A |
| 2a180 | 4c 4c 2d 53 55 42 54 52 45 45 53 20 61 72 67 20 69 73 20 6e 6f 6e 2d 6e 69 6c 29 2e 0a 0a 54 68 | LL-SUBTREES.arg.is.non-nil)...Th |
| 2a1a0 | 69 73 20 69 73 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 2e 22 0a 20 20 28 | is.is.an.internal.function."...( |
| 2a1c0 | 6f 72 67 2d 68 75 67 6f 2d 2d 63 6c 65 61 6e 75 70 29 0a 20 20 28 64 6f 6c 69 73 74 20 28 66 6e | org-hugo--cleanup)...(dolist.(fn |
| 2a1e0 | 20 6f 72 67 2d 68 75 67 6f 2d 2d 61 6c 6c 2d 73 75 62 74 72 65 65 73 2d 65 78 70 6f 72 74 2d 2d | .org-hugo--all-subtrees-export-- |
| 2a200 | 66 75 6e 63 74 69 6f 6e 73 2d 74 6f 2d 73 69 6c 65 6e 63 65 29 0a 20 20 20 20 28 61 64 76 69 63 | functions-to-silence).....(advic |
| 2a220 | 65 2d 72 65 6d 6f 76 65 20 66 6e 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 61 64 76 69 63 65 2d 73 | e-remove.fn.#'org-hugo--advice-s |
| 2a240 | 69 6c 65 6e 63 65 2d 6d 65 73 73 61 67 65 73 29 29 29 0a 0a 3b 3b 3b 3b 20 48 54 4d 4c 69 7a 65 | ilence-messages)))..;;;;.HTMLize |
| 2a260 | 64 20 73 65 63 74 69 6f 6e 20 6e 75 6d 62 65 72 20 66 6f 72 20 68 65 61 64 69 6e 67 0a 28 64 65 | d.section.number.for.heading.(de |
| 2a280 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 68 65 61 64 69 6e 67 2d 6e 75 6d 62 65 72 | fun.org-hugo--get-heading-number |
| 2a2a0 | 20 28 68 65 61 64 69 6e 67 20 69 6e 66 6f 20 26 6f 70 74 69 6f 6e 61 6c 20 74 6f 63 29 0a 20 20 | .(heading.info.&optional.toc)... |
| 2a2c0 | 22 52 65 74 75 72 6e 20 68 74 6d 6c 69 7a 65 64 20 73 65 63 74 69 6f 6e 20 6e 75 6d 62 65 72 20 | "Return.htmlized.section.number. |
| 2a2e0 | 66 6f 72 20 74 68 65 20 48 45 41 44 49 4e 47 2e 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 | for.the.HEADING..INFO.is.a.plist |
| 2a300 | 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c | .used.as.a.communication.channel |
| 2a320 | 2e 0a 0a 57 68 65 6e 20 74 68 65 20 5c 22 6e 75 6d 5c 22 20 65 78 70 6f 72 74 20 6f 70 74 69 6f | ...When.the.\"num\".export.optio |
| 2a340 | 6e 20 69 73 20 60 6f 6e 6c 79 74 6f 63 27 2c 20 68 65 61 64 69 6e 67 20 6e 75 6d 62 65 72 20 69 | n.is.`onlytoc',.heading.number.i |
| 2a360 | 73 0a 72 65 74 75 72 6e 65 64 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 6f 70 74 69 6f 6e 61 6c 20 | s.returned.only.if.the.optional. |
| 2a380 | 61 72 67 75 6d 65 6e 74 20 54 4f 43 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 0a 52 65 74 75 72 6e | argument.TOC.is.non-nil...Return |
| 2a3a0 | 20 6e 69 6c 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 68 65 61 64 69 6e 67 20 6e 75 6d 62 | .nil.if.there.is.no.heading.numb |
| 2a3c0 | 65 72 2c 20 6f 72 20 69 66 20 69 74 20 68 61 73 20 62 65 65 6e 0a 64 69 73 61 62 6c 65 64 2e 22 | er,.or.if.it.has.been.disabled." |
| 2a3e0 | 0a 20 20 28 6c 65 74 20 28 28 6f 6e 6c 79 74 6f 63 20 28 65 71 75 61 6c 20 27 6f 6e 6c 79 74 6f | ...(let.((onlytoc.(equal.'onlyto |
| 2a400 | 63 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 | c.(plist-get.info.:section-numbe |
| 2a420 | 72 73 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 69 66 20 74 6f 63 0a 20 20 | rs)))).....(when.(and.(if.toc... |
| 2a440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .................t.............. |
| 2a460 | 20 20 20 20 28 6e 6f 74 20 6f 6e 6c 79 74 6f 63 29 29 20 3b 49 66 20 60 74 6f 63 27 20 69 73 20 | ....(not.onlytoc)).;If.`toc'.is. |
| 2a480 | 6e 69 6c 2c 20 62 75 74 20 60 6f 6e 6c 79 74 6f 63 27 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 | nil,.but.`onlytoc'.is.non-nil,.r |
| 2a4a0 | 65 74 75 72 6e 20 6e 69 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 | eturn.nil................(org-ex |
| 2a4c0 | 70 6f 72 74 2d 6e 75 6d 62 65 72 65 64 2d 68 65 61 64 6c 69 6e 65 2d 70 20 68 65 61 64 69 6e 67 | port-numbered-headline-p.heading |
| 2a4e0 | 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6e 75 6d 62 65 72 2d 73 74 72 20 | .info)).......(let.((number-str. |
| 2a500 | 28 6d 61 70 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (mapconcat...................... |
| 2a520 | 20 20 20 20 27 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 | ....'number-to-string........... |
| 2a540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 68 | ...............(org-export-get-h |
| 2a560 | 65 61 64 6c 69 6e 65 2d 6e 75 6d 62 65 72 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 20 22 2e 22 | eadline-number.heading.info)."." |
| 2a580 | 29 29 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 73 70 61 6e 20 63 6c 61 73 73 | ))).........(format."<span.class |
| 2a5a0 | 3d 5c 22 73 65 63 74 69 6f 6e 2d 6e 75 6d 5c 22 3e 25 73 3c 2f 73 70 61 6e 3e 20 22 20 6e 75 6d | =\"section-num\">%s</span>.".num |
| 2a5c0 | 62 65 72 2d 73 74 72 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 42 75 69 6c 64 20 54 4f 43 0a 28 64 65 | ber-str)))))..;;;;.Build.TOC.(de |
| 2a5e0 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 69 6c 64 2d 74 6f 63 20 28 69 6e 66 6f 20 26 6f | fun.org-hugo--build-toc.(info.&o |
| 2a600 | 70 74 69 6f 6e 61 6c 20 6e 20 73 63 6f 70 65 20 6c 6f 63 61 6c 29 0a 20 20 22 52 65 74 75 72 6e | ptional.n.scope.local)..."Return |
| 2a620 | 20 74 61 62 6c 65 20 6f 66 20 63 6f 6e 74 65 6e 74 73 20 61 73 20 61 20 73 74 72 69 6e 67 2e 0a | .table.of.contents.as.a.string.. |
| 2a640 | 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 | .INFO.is.a.plist.used.as.a.commu |
| 2a660 | 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 67 75 | nication.channel...Optional.argu |
| 2a680 | 6d 65 6e 74 20 4e 2c 20 77 68 65 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 69 73 20 61 20 70 6f 73 69 74 | ment.N,.when.non-nil,.is.a.posit |
| 2a6a0 | 69 76 65 20 69 6e 74 65 67 65 72 0a 73 70 65 63 69 66 79 69 6e 67 20 74 68 65 20 64 65 70 74 68 | ive.integer.specifying.the.depth |
| 2a6c0 | 20 6f 66 20 74 68 65 20 74 61 62 6c 65 2e 0a 0a 57 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 | .of.the.table...When.optional.ar |
| 2a6e0 | 67 75 6d 65 6e 74 20 53 43 4f 50 45 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 62 75 69 6c 64 20 61 | gument.SCOPE.is.non-nil,.build.a |
| 2a700 | 20 74 61 62 6c 65 20 6f 66 0a 63 6f 6e 74 65 6e 74 73 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 | .table.of.contents.according.to. |
| 2a720 | 74 68 65 20 73 70 65 63 69 66 69 65 64 20 65 6c 65 6d 65 6e 74 2e 0a 0a 57 68 65 6e 20 6f 70 74 | the.specified.element...When.opt |
| 2a740 | 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 4c 4f 43 41 4c 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c | ional.argument.LOCAL.is.non-nil, |
| 2a760 | 20 62 75 69 6c 64 20 61 20 74 61 62 6c 65 20 6f 66 0a 63 6f 6e 74 65 6e 74 73 20 61 63 63 6f 72 | .build.a.table.of.contents.accor |
| 2a780 | 64 69 6e 67 20 74 6f 20 74 68 65 20 63 75 72 72 65 6e 74 20 68 65 61 64 69 6e 67 2e 22 0a 20 20 | ding.to.the.current.heading."... |
| 2a7a0 | 28 6c 65 74 2a 20 28 28 74 6f 63 2d 68 65 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 28 75 | (let*.((toc-heading...........(u |
| 2a7c0 | 6e 6c 65 73 73 20 6c 6f 63 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 | nless.local.............(format. |
| 2a7e0 | 22 5c 6e 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 68 65 61 64 69 6e 67 5c 22 3e 25 73 3c 2f 64 69 | "\n<div.class=\"heading\">%s</di |
| 2a800 | 76 3e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 | v>\n".....................(org-h |
| 2a820 | 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 74 65 20 22 54 61 62 6c 65 20 6f 66 20 43 6f 6e 74 65 6e 74 | tml--translate."Table.of.Content |
| 2a840 | 73 22 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 75 72 72 65 6e 74 2d 6c 65 | s".info))))..........(current-le |
| 2a860 | 76 65 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 69 74 65 6d 73 0a 20 20 20 | vel.nil)..........(toc-items.... |
| 2a880 | 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 | .......(mapconcat............(la |
| 2a8a0 | 6d 62 64 61 20 28 68 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 | mbda.(heading)..............(let |
| 2a8c0 | 2a 20 28 28 6c 65 76 65 6c 2d 72 61 77 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 | *.((level-raw.(org-export-get-re |
| 2a8e0 | 6c 61 74 69 76 65 2d 6c 65 76 65 6c 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 | lative-level.heading.info))..... |
| 2a900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 76 65 6c 20 28 69 66 20 73 63 6f 70 65 | ................(level.(if.scope |
| 2a920 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2a940 | 28 6c 65 74 2a 20 28 28 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 2d 69 6e 6e 65 72 0a 20 20 20 20 | (let*.((current-level-inner..... |
| 2a960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2a980 | 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...(progn....................... |
| 2a9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 63 75 72 72 65 | ...................(unless.curre |
| 2a9c0 | 6e 74 2d 6c 65 76 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nt-level........................ |
| 2a9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 75 72 72 65 6e | ....................(setq.curren |
| 2aa00 | 74 2d 6c 65 76 65 6c 20 6c 65 76 65 6c 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | t-level.level-raw))............. |
| 2aa20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 | .............................cur |
| 2aa40 | 72 65 6e 74 2d 6c 65 76 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rent-level)).................... |
| 2aa60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 6c 61 74 69 76 65 2d 6c 65 76 | ...................(relative-lev |
| 2aa80 | 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | el.............................. |
| 2aaa0 | 20 20 20 20 20 20 20 20 20 20 28 31 2b 20 28 2d 20 6c 65 76 65 6c 2d 72 61 77 20 63 75 72 72 65 | ..........(1+.(-.level-raw.curre |
| 2aac0 | 6e 74 2d 6c 65 76 65 6c 2d 69 6e 6e 65 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | nt-level-inner)))).............. |
| 2aae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | ....................;;.(message. |
| 2ab00 | 28 63 6f 6e 63 61 74 20 22 5b 6f 78 2d 68 75 67 6f 20 62 75 69 6c 64 2d 74 6f 63 20 44 42 47 5d | (concat."[ox-hugo.build-toc.DBG] |
| 2ab20 | 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .".............................. |
| 2ab40 | 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 75 72 72 65 6e 74 | ....;;.................."current |
| 2ab60 | 2d 6c 65 76 65 6c 2d 69 6e 6e 65 72 3a 25 64 20 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 6c 3a 25 | -level-inner:%d.relative-level:% |
| 2ab80 | 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d")............................. |
| 2aba0 | 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 2d 69 | .....;;..........current-level-i |
| 2abc0 | 6e 6e 65 72 20 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 | nner.relative-level)............ |
| 2abe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 6c 61 74 69 76 65 2d 6c | ......................relative-l |
| 2ac00 | 65 76 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | evel)........................... |
| 2ac20 | 20 20 20 6c 65 76 65 6c 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...level-raw)).................. |
| 2ac40 | 20 20 20 28 69 6e 64 65 6e 74 61 74 69 6f 6e 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2a 20 | ...(indentation.(make-string.(*. |
| 2ac60 | 34 20 28 31 2d 20 6c 65 76 65 6c 29 29 20 3f 5c 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | 4.(1-.level)).?\s))............. |
| 2ac80 | 20 20 20 20 20 20 20 20 28 74 6f 64 6f 20 28 61 6e 64 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c | ........(todo.(and.(org-hugo--pl |
| 2aca0 | 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 6f 64 6f 2d 6b | ist-get-true-p.info.:with-todo-k |
| 2acc0 | 65 79 77 6f 72 64 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eywords)........................ |
| 2ace0 | 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 | ........(org-element-property.:t |
| 2ad00 | 6f 64 6f 2d 6b 65 79 77 6f 72 64 20 68 65 61 64 69 6e 67 29 29 29 0a 20 20 20 20 20 20 20 20 20 | odo-keyword.heading))).......... |
| 2ad20 | 20 20 20 20 20 20 20 20 20 20 20 28 74 6f 64 6f 2d 73 74 72 20 28 69 66 20 74 6f 64 6f 0a 20 20 | ...........(todo-str.(if.todo... |
| 2ad40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ad60 | 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 74 6f 64 6f 20 74 6f 64 6f 20 69 6e 66 | (concat.(org-hugo--todo.todo.inf |
| 2ad80 | 6f 29 20 22 20 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o).".")......................... |
| 2ada0 | 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........"")).................... |
| 2adc0 | 20 28 68 65 61 64 69 6e 67 2d 6e 75 6d 2d 6c 69 73 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 | .(heading-num-list.(org-export-g |
| 2ade0 | 65 74 2d 68 65 61 64 6c 69 6e 65 2d 6e 75 6d 62 65 72 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 | et-headline-number.heading.info) |
| 2ae00 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6d 62 65 72 20 28 69 | ).....................(number.(i |
| 2ae20 | 66 20 68 65 61 64 69 6e 67 2d 6e 75 6d 2d 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | f.heading-num-list.............. |
| 2ae40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | ...................;;.(message." |
| 2ae60 | 5b 6f 78 2d 68 75 67 6f 20 54 4f 43 20 44 42 47 5d 20 68 65 61 64 69 6e 67 2d 6e 75 6d 2d 6c 69 | [ox-hugo.TOC.DBG].heading-num-li |
| 2ae80 | 73 74 3a 20 25 53 22 20 68 65 61 64 69 6e 67 2d 6e 75 6d 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 | st:.%S".heading-num-list)....... |
| 2aea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 | ..........................(org-h |
| 2aec0 | 75 67 6f 2d 2d 67 65 74 2d 68 65 61 64 69 6e 67 2d 6e 75 6d 62 65 72 20 68 65 61 64 69 6e 67 20 | ugo--get-heading-number.heading. |
| 2aee0 | 69 6e 66 6f 20 3a 74 6f 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | info.:toc)...................... |
| 2af00 | 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........""))................... |
| 2af20 | 20 20 28 74 6f 63 2d 65 6e 74 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(toc-entry.................... |
| 2af40 | 20 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 25 73 5d 28 23 25 73 29 22 0a 20 20 20 20 20 20 20 20 | ..(format."[%s%s](#%s)"......... |
| 2af60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 64 6f 2d 73 74 72 0a 20 20 | .....................todo-str... |
| 2af80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d | ...........................(org- |
| 2afa0 | 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 6b 65 6e 64 0a 20 20 20 20 20 20 20 | export-data-with-backend........ |
| 2afc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f | .......................(org-expo |
| 2afe0 | 72 74 2d 67 65 74 2d 61 6c 74 2d 74 69 74 6c 65 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 0a 20 | rt-get-alt-title.heading.info).. |
| 2b000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | .............................(or |
| 2b020 | 67 2d 65 78 70 6f 72 74 2d 74 6f 63 2d 65 6e 74 72 79 2d 62 61 63 6b 65 6e 64 20 27 68 75 67 6f | g-export-toc-entry-backend.'hugo |
| 2b040 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )............................... |
| 2b060 | 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | info)........................... |
| 2b080 | 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 20 68 65 61 64 69 6e 67 | ...(org-hugo--get-anchor.heading |
| 2b0a0 | 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 | .info))).....................(ta |
| 2b0c0 | 67 73 20 28 61 6e 64 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 61 | gs.(and.(plist-get.info.:with-ta |
| 2b0e0 | 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gs)............................. |
| 2b100 | 20 20 20 28 6e 6f 74 20 28 65 71 20 27 6e 6f 74 2d 69 6e 2d 74 6f 63 20 28 70 6c 69 73 74 2d 67 | ...(not.(eq.'not-in-toc.(plist-g |
| 2b120 | 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 61 67 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | et.info.:with-tags)))........... |
| 2b140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 61 67 73 | .....................(let.((tags |
| 2b160 | 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 74 61 67 73 20 68 65 61 64 69 6e 67 20 69 6e | .(org-export-get-tags.heading.in |
| 2b180 | 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | fo)))........................... |
| 2b1a0 | 20 20 20 20 20 20 20 28 61 6e 64 20 74 61 67 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......(and.tags................ |
| 2b1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 | .......................(format." |
| 2b1e0 | 3a 25 73 3a 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :%s:"........................... |
| 2b200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 | ....................(mapconcat.# |
| 2b220 | 27 69 64 65 6e 74 69 74 79 20 74 61 67 73 20 22 3a 22 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 | 'identity.tags.":")))))))....... |
| 2b240 | 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 62 | .........;;.(message."[ox-hugo.b |
| 2b260 | 75 69 6c 64 2d 74 6f 63 20 44 42 47 5d 20 6c 65 76 65 6c 3a 25 64 2c 20 6e 75 6d 62 65 72 3a 25 | uild-toc.DBG].level:%d,.number:% |
| 2b280 | 73 22 20 6c 65 76 65 6c 20 6e 75 6d 62 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s".level.number)................ |
| 2b2a0 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 62 75 69 6c 64 2d 74 6f 63 20 | ;;.(message."[ox-hugo.build-toc. |
| 2b2c0 | 44 42 47 5d 20 69 6e 64 65 6e 74 61 74 69 6f 6e 3a 20 25 53 22 20 69 6e 64 65 6e 74 61 74 69 6f | DBG].indentation:.%S".indentatio |
| 2b2e0 | 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | n)................;;.(message."[ |
| 2b300 | 6f 78 2d 68 75 67 6f 20 62 75 69 6c 64 2d 74 6f 63 20 44 42 47 5d 20 74 6f 64 6f 3a 20 25 73 20 | ox-hugo.build-toc.DBG].todo:.%s. |
| 2b320 | 7c 20 25 73 22 20 74 6f 64 6f 20 74 6f 64 6f 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 | |.%s".todo.todo-str)............ |
| 2b340 | 20 20 20 20 28 63 6f 6e 63 61 74 20 69 6e 64 65 6e 74 61 74 69 6f 6e 20 22 2d 20 22 20 6e 75 6d | ....(concat.indentation."-.".num |
| 2b360 | 62 65 72 20 74 6f 63 2d 65 6e 74 72 79 20 74 61 67 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ber.toc-entry.tags)))........... |
| 2b380 | 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 63 6f 6c 6c 65 63 74 2d 68 65 61 64 6c 69 6e 65 73 20 69 | .(org-export-collect-headlines.i |
| 2b3a0 | 6e 66 6f 20 6e 20 73 63 6f 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 20 20 | nfo.n.scope)............"\n")).. |
| 2b3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 4e 65 77 6c 69 6e 65 20 62 65 | .....................;Newline.be |
| 2b3e0 | 74 77 65 65 6e 20 54 4f 43 20 69 74 65 6d 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f | tween.TOC.items..........;;.Remo |
| 2b400 | 76 65 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 20 66 72 6f 6d 20 69 6e 2d 62 65 74 77 65 65 6e 20 54 | ve.blank.lines.from.in-between.T |
| 2b420 | 4f 43 20 69 74 65 6d 73 2c 20 77 68 69 63 68 20 63 61 6e 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 | OC.items,.which.can..........;;. |
| 2b440 | 67 65 74 20 69 6e 74 72 6f 64 75 63 65 64 20 77 68 65 6e 20 75 73 69 6e 67 20 74 68 65 20 22 55 | get.introduced.when.using.the."U |
| 2b460 | 4e 4e 55 4d 42 45 52 45 44 3a 20 74 22 20 68 65 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 3b | NNUMBERED:.t".heading..........; |
| 2b480 | 3b 20 70 72 6f 70 65 72 74 79 2e 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 69 74 65 6d 73 20 | ;.property...........(toc-items. |
| 2b4a0 | 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (org-string-nw-p................ |
| 2b4c0 | 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 | ......(replace-regexp-in-string. |
| 2b4e0 | 22 5c 6e 5c 5c 7b 32 2c 5c 5c 7d 22 20 22 5c 6e 22 20 74 6f 63 2d 69 74 65 6d 73 29 29 29 29 0a | "\n\\{2,\\}"."\n".toc-items)))). |
| 2b500 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 62 75 69 6c 64 2d | ....;;.(message."[ox-hugo.build- |
| 2b520 | 74 6f 63 20 44 42 47 5d 20 74 6f 63 2d 69 74 65 6d 73 3a 25 73 22 20 74 6f 63 2d 69 74 65 6d 73 | toc.DBG].toc-items:%s".toc-items |
| 2b540 | 29 0a 20 20 20 20 28 77 68 65 6e 20 74 6f 63 2d 69 74 65 6d 73 0a 20 20 20 20 20 20 28 6c 65 74 | ).....(when.toc-items.......(let |
| 2b560 | 20 28 28 74 6f 63 2d 63 6c 61 73 73 65 73 20 27 28 22 74 6f 63 22 20 22 6f 78 2d 68 75 67 6f 2d | .((toc-classes.'("toc"."ox-hugo- |
| 2b580 | 74 6f 63 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 60 68 61 73 2d 73 65 63 74 69 | toc")).............;;.`has-secti |
| 2b5a0 | 6f 6e 2d 6e 75 6d 62 65 72 73 27 20 69 73 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 73 65 63 74 69 6f | on-numbers'.is.non-nil.if.sectio |
| 2b5c0 | 6e 20 6e 75 6d 62 65 72 73 20 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 65 | n.numbers.are.............;;.pre |
| 2b5e0 | 73 65 6e 74 20 66 6f 72 20 65 76 65 6e 20 6f 6e 65 20 68 65 61 64 69 6e 67 2e 0a 20 20 20 20 20 | sent.for.even.one.heading....... |
| 2b600 | 20 20 20 20 20 20 20 28 68 61 73 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 20 28 73 74 72 | .......(has-section-numbers.(str |
| 2b620 | 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5e 5c 5c 73 2d 2a 5c 5c 2d 5c 5c 73 2d 3c 73 70 61 6e 20 | ing-match-p."^\\s-*\\-\\s-<span. |
| 2b640 | 63 6c 61 73 73 3d 5c 22 73 65 63 74 69 6f 6e 5c 5c 2d 6e 75 6d 5c 22 22 20 74 6f 63 2d 69 74 65 | class=\"section\\-num\"".toc-ite |
| 2b660 | 6d 73 29 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 68 61 73 2d 73 65 63 74 69 6f 6e 2d | ms))).........(when.has-section- |
| 2b680 | 6e 75 6d 62 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 22 68 61 73 2d 73 65 63 | numbers...........(push."has-sec |
| 2b6a0 | 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 22 20 74 6f 63 2d 63 6c 61 73 73 65 73 29 29 0a 20 20 20 20 | tion-numbers".toc-classes))..... |
| 2b6c0 | 20 20 20 20 28 77 68 65 6e 20 6c 6f 63 61 6c 0a 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 | ....(when.local...........(push. |
| 2b6e0 | 22 6c 6f 63 61 6c 22 20 74 6f 63 2d 63 6c 61 73 73 65 73 29 29 0a 20 20 20 20 20 20 20 20 28 63 | "local".toc-classes)).........(c |
| 2b700 | 6f 6e 63 61 74 20 28 66 6f 72 6d 61 74 20 22 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 25 73 5c 22 | oncat.(format."<div.class=\"%s\" |
| 2b720 | 3e 5c 6e 22 20 28 73 74 72 69 6e 67 2d 6a 6f 69 6e 20 28 72 65 76 65 72 73 65 20 74 6f 63 2d 63 | >\n".(string-join.(reverse.toc-c |
| 2b740 | 6c 61 73 73 65 73 29 20 22 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 | lasses).".")).................(u |
| 2b760 | 6e 6c 65 73 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d | nless.(org-hugo--plist-get-true- |
| 2b780 | 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 20 | p.info.:hugo-goldmark).......... |
| 2b7a0 | 20 20 20 20 20 20 20 20 20 22 3c 64 69 76 3e 3c 2f 64 69 76 3e 5c 6e 22 29 20 3b 54 68 69 73 20 | ........."<div></div>\n").;This. |
| 2b7c0 | 69 73 20 61 20 6e 61 73 74 79 20 77 6f 72 6b 61 72 6f 75 6e 64 20 74 69 6c 6c 20 48 75 67 6f 2f | is.a.nasty.workaround.till.Hugo/ |
| 2b7e0 | 42 6c 61 63 6b 66 72 69 64 61 79 20 73 75 70 70 6f 72 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Blackfriday.support............. |
| 2b800 | 20 20 20 20 74 6f 63 2d 68 65 61 64 69 6e 67 20 20 20 20 3b 77 72 61 70 70 69 6e 67 20 4d 61 72 | ....toc-heading....;wrapping.Mar |
| 2b820 | 6b 64 6f 77 6e 20 69 6e 20 48 54 4d 4c 20 64 69 76 27 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | kdown.in.HTML.div's............. |
| 2b840 | 20 20 20 20 20 22 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 63 2d 69 74 | ....."\n".................toc-it |
| 2b860 | 65 6d 73 20 3b 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d | ems.;https://github.com/kaushalm |
| 2b880 | 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 69 73 73 75 65 73 2f 39 33 0a 20 20 20 20 20 20 20 20 20 20 | odi/ox-hugo/issues/93........... |
| 2b8a0 | 20 20 20 20 20 20 22 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 2f | ......"\n\n"................."</ |
| 2b8c0 | 64 69 76 3e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 70 65 63 69 | div>\n".................;;.Speci |
| 2b8e0 | 61 6c 20 63 6f 6d 6d 65 6e 74 20 74 68 61 74 20 63 61 6e 20 62 65 20 75 73 65 20 74 6f 20 66 69 | al.comment.that.can.be.use.to.fi |
| 2b900 | 6c 74 65 72 20 6f 75 74 20 74 68 65 20 54 4f 43 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lter.out.the.TOC................ |
| 2b920 | 20 3b 3b 20 66 72 6f 6d 20 2e 53 75 6d 6d 61 72 79 20 69 6e 20 48 75 67 6f 20 74 65 6d 70 6c 61 | .;;.from..Summary.in.Hugo.templa |
| 2b940 | 74 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 0a 20 20 20 20 20 20 20 20 | tes..................;;......... |
| 2b960 | 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 7b 7b 20 24 73 75 6d 6d 61 72 79 5f 73 70 6c 69 74 | ........;;.....{{.$summary_split |
| 2b980 | 73 20 3a 3d 20 73 70 6c 69 74 20 2e 53 75 6d 6d 61 72 79 20 22 3c 21 2d 2d 65 6e 64 74 6f 63 2d | s.:=.split..Summary."<!--endtoc- |
| 2b9a0 | 2d 3e 22 20 7d 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 7b 7b | ->".}}.................;;.....{{ |
| 2b9c0 | 20 69 66 20 65 71 20 28 6c 65 6e 20 24 73 75 6d 6d 61 72 79 5f 73 70 6c 69 74 73 29 20 32 20 7d | .if.eq.(len.$summary_splits).2.} |
| 2b9e0 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 3c 21 2d | }.................;;.........<!- |
| 2ba00 | 2d 20 49 66 20 74 68 61 74 20 65 6e 64 74 6f 63 20 73 70 65 63 69 61 6c 20 63 6f 6d 6d 65 6e 74 | -.If.that.endtoc.special.comment |
| 2ba20 | 20 69 73 20 70 72 65 73 65 6e 74 2c 20 6f 75 74 70 75 74 20 6f 6e 6c 79 20 74 68 65 20 70 61 72 | .is.present,.output.only.the.par |
| 2ba40 | 74 20 61 66 74 65 72 20 74 68 61 74 20 63 6f 6d 6d 65 6e 74 20 61 73 20 53 75 6d 6d 61 72 79 2e | t.after.that.comment.as.Summary. |
| 2ba60 | 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 | .-->.................;;......... |
| 2ba80 | 7b 7b 20 69 6e 64 65 78 20 24 73 75 6d 6d 61 72 79 5f 73 70 6c 69 74 73 20 31 20 7c 20 73 61 66 | {{.index.$summary_splits.1.|.saf |
| 2baa0 | 65 48 54 4d 4c 20 7d 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 | eHTML.}}.................;;..... |
| 2bac0 | 7b 7b 20 65 6c 73 65 20 7d 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 | {{.else.}}.................;;... |
| 2bae0 | 20 20 20 20 20 20 3c 21 2d 2d 20 50 72 69 6e 74 20 74 68 65 20 77 68 6f 6c 65 20 53 75 6d 6d 61 | ......<!--.Print.the.whole.Summa |
| 2bb00 | 72 79 20 69 66 20 65 6e 64 74 6f 63 20 73 70 65 63 69 61 6c 20 63 6f 6d 6d 65 6e 74 20 69 73 20 | ry.if.endtoc.special.comment.is. |
| 2bb20 | 6e 6f 74 20 66 6f 75 6e 64 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | not.found..-->.................; |
| 2bb40 | 3b 20 20 20 20 20 20 20 20 20 7b 7b 20 2e 53 75 6d 6d 61 72 79 20 7d 7d 0a 20 20 20 20 20 20 20 | ;.........{{..Summary.}}........ |
| 2bb60 | 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 7b 7b 20 65 6e 64 20 7d 7d 0a 20 20 20 20 20 20 | .........;;.....{{.end.}}....... |
| 2bb80 | 20 20 20 20 20 20 20 20 20 20 22 3c 21 2d 2d 65 6e 64 74 6f 63 2d 2d 3e 5c 6e 22 29 29 29 29 29 | .........."<!--endtoc-->\n"))))) |
| 2bba0 | 0a 0a 3b 3b 3b 3b 20 45 73 63 61 70 65 20 48 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 0a 28 64 65 | ..;;;;.Escape.Hugo.shortcode.(de |
| 2bbc0 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 65 73 63 61 70 65 2d 68 75 67 6f 2d 73 68 6f 72 74 63 | fun.org-hugo--escape-hugo-shortc |
| 2bbe0 | 6f 64 65 20 28 63 6f 64 65 20 6c 61 6e 67 29 0a 20 20 22 45 73 63 61 70 65 20 48 75 67 6f 20 73 | ode.(code.lang)..."Escape.Hugo.s |
| 2bc00 | 68 6f 72 74 63 6f 64 65 73 20 69 66 20 70 72 65 73 65 6e 74 20 69 6e 20 43 4f 44 45 20 73 74 72 | hortcodes.if.present.in.CODE.str |
| 2bc20 | 69 6e 67 2e 0a 0a 54 68 65 20 65 73 63 61 70 69 6e 67 20 69 73 20 65 6e 61 62 6c 65 64 20 6f 6e | ing...The.escaping.is.enabled.on |
| 2bc40 | 6c 79 20 69 66 20 4c 41 4e 47 20 69 73 20 5c 22 6d 64 5c 22 2c 20 5c 22 6f 72 67 5c 22 2c 0a 5c | ly.if.LANG.is.\"md\",.\"org\",.\ |
| 2bc60 | 22 67 6f 2d 68 74 6d 6c 2d 74 65 6d 70 6c 61 74 65 5c 22 20 6f 72 20 5c 22 65 6d 61 63 73 2d 6c | "go-html-template\".or.\"emacs-l |
| 2bc80 | 69 73 70 5c 22 2e 0a 0a 20 2d 20 53 68 6f 72 74 63 6f 64 65 20 77 69 74 68 20 4d 61 72 6b 64 6f | isp\"....-.Shortcode.with.Markdo |
| 2bca0 | 77 6e 20 20 20 20 3a 20 7b 7b 25 20 66 6f 6f 20 25 7d 7d 20 2d 3e 20 7b 7b 25 2f 2a 20 66 6f 6f | wn....:.{{%.foo.%}}.->.{{%/*.foo |
| 2bcc0 | 20 2a 2f 25 7d 7d 0a 0a 20 2d 20 53 68 6f 72 74 63 6f 64 65 20 77 69 74 68 6f 75 74 20 4d 61 72 | .*/%}}...-.Shortcode.without.Mar |
| 2bce0 | 6b 64 6f 77 6e 20 3a 20 7b 7b 3c 20 66 6f 6f 20 3e 7d 7d 20 2d 3e 20 7b 7b 3c 2f 2a 20 66 6f 6f | kdown.:.{{<.foo.>}}.->.{{</*.foo |
| 2bd00 | 20 2a 2f 3e 7d 7d 0a 0a 52 65 74 75 72 6e 20 74 68 65 20 65 73 63 61 70 65 64 2f 75 6e 65 73 63 | .*/>}}..Return.the.escaped/unesc |
| 2bd20 | 61 70 65 64 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 69 66 20 28 6d 65 6d 62 65 72 20 6c 61 6e 67 | aped.string."...(if.(member.lang |
| 2bd40 | 20 27 28 22 6d 64 22 20 22 6f 72 67 22 20 22 67 6f 2d 68 74 6d 6c 2d 74 65 6d 70 6c 61 74 65 22 | .'("md"."org"."go-html-template" |
| 2bd60 | 20 22 65 6d 61 63 73 2d 6c 69 73 70 22 29 29 0a 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 | ."emacs-lisp")).......(replace-r |
| 2bd80 | 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 22 5c 5c 28 7b 7b 3c 5c 5c | egexp-in-string........"\\({{<\\ |
| 2bda0 | 29 5c 5c 28 5b 5e 7d 5d 5b 5e 7d 5d 2a 5c 5c 29 5c 5c 28 3e 7d 7d 5c 5c 29 22 20 22 5c 5c 31 2f | )\\([^}][^}]*\\)\\(>}}\\)"."\\1/ |
| 2bdc0 | 2a 5c 5c 32 2a 2f 5c 5c 33 22 0a 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 | *\\2*/\\3"........(replace-regex |
| 2bde0 | 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 22 5c 5c 28 7b 7b 25 5c 5c 29 5c 5c | p-in-string........."\\({{%\\)\\ |
| 2be00 | 28 5b 5e 7d 5d 5b 5e 7d 5d 2a 5c 5c 29 5c 5c 28 25 7d 7d 5c 5c 29 22 20 22 5c 5c 31 2f 2a 5c 5c | ([^}][^}]*\\)\\(%}}\\)"."\\1/*\\ |
| 2be20 | 32 2a 2f 5c 5c 33 22 20 63 6f 64 65 29 29 0a 20 20 20 20 63 6f 64 65 29 29 0a 0a 3b 3b 3b 3b 20 | 2*/\\3".code)).....code))..;;;;. |
| 2be40 | 48 75 67 6f 20 56 65 72 73 69 6f 6e 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 68 75 | Hugo.Version.(defun.org-hugo--hu |
| 2be60 | 67 6f 2d 76 65 72 73 69 6f 6e 20 28 29 0a 20 20 22 52 65 74 75 72 6e 20 68 75 67 6f 20 76 65 72 | go-version.()..."Return.hugo.ver |
| 2be80 | 73 69 6f 6e 2e 0a 0a 49 66 20 68 75 67 6f 20 69 73 20 66 6f 75 6e 64 20 69 6e 20 50 41 54 48 2c | sion...If.hugo.is.found.in.PATH, |
| 2bea0 | 20 72 65 74 75 72 6e 20 28 4c 4f 4e 47 20 2e 20 53 48 4f 52 54 29 2e 0a 0a 4c 4f 4e 47 20 69 73 | .return.(LONG...SHORT)...LONG.is |
| 2bec0 | 20 74 68 65 20 65 78 61 63 74 20 73 74 72 69 6e 67 20 72 65 74 75 72 6e 65 64 20 62 79 20 5c 22 | .the.exact.string.returned.by.\" |
| 2bee0 | 68 75 67 6f 20 76 65 72 73 69 6f 6e 5c 22 2e 0a 0a 53 48 4f 52 54 20 69 73 20 74 68 65 20 73 68 | hugo.version\"...SHORT.is.the.sh |
| 2bf00 | 6f 72 74 20 76 65 72 73 69 6f 6e 20 6f 66 20 61 62 6f 76 65 2e 0a 45 78 61 6d 70 6c 65 73 3a 20 | ort.version.of.above..Examples:. |
| 2bf20 | 5c 22 30 2e 33 31 2e 31 5c 22 2c 20 5c 22 30 2e 33 31 2e 39 39 5c 22 20 28 66 6f 72 20 5c 22 30 | \"0.31.1\",.\"0.31.99\".(for.\"0 |
| 2bf40 | 2e 33 32 2d 44 45 56 5c 22 20 76 65 72 73 69 6f 6e 29 2e 0a 0a 49 66 20 68 75 67 6f 20 69 73 20 | .32-DEV\".version)...If.hugo.is. |
| 2bf60 | 6e 6f 74 20 66 6f 75 6e 64 2c 20 72 65 74 75 72 6e 20 6e 69 6c 2e 22 0a 20 20 28 77 68 65 6e 20 | not.found,.return.nil."...(when. |
| 2bf80 | 28 65 78 65 63 75 74 61 62 6c 65 2d 66 69 6e 64 20 22 68 75 67 6f 22 29 0a 20 20 20 20 28 6c 65 | (executable-find."hugo").....(le |
| 2bfa0 | 74 2a 20 28 28 6c 6f 6e 67 2d 76 65 72 20 28 6f 72 67 2d 74 72 69 6d 20 28 73 68 65 6c 6c 2d 63 | t*.((long-ver.(org-trim.(shell-c |
| 2bfc0 | 6f 6d 6d 61 6e 64 2d 74 6f 2d 73 74 72 69 6e 67 20 22 68 75 67 6f 20 76 65 72 73 69 6f 6e 22 29 | ommand-to-string."hugo.version") |
| 2bfe0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 68 6f 72 74 2d 76 65 72 20 28 72 65 70 6c 61 63 | ))............(short-ver.(replac |
| 2c000 | 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 2e 2a 20 76 5c 5c 28 5b 5e 20 5d 2b | e-regexp-in-string.".*.v\\([^.]+ |
| 2c020 | 5c 5c 29 20 2e 2a 22 20 22 5c 5c 31 22 20 6c 6f 6e 67 2d 76 65 72 29 29 29 0a 20 20 20 20 20 20 | \\)..*"."\\1".long-ver)))....... |
| 2c040 | 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 2d 44 45 56 2d 2e 2a 22 20 73 68 | (when.(string-match."-DEV-.*".sh |
| 2c060 | 6f 72 74 2d 76 65 72 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 22 2d 44 45 | ort-ver).........;;.Replace."-DE |
| 2c080 | 56 2d 2a 22 20 69 6e 20 76 65 72 73 69 6f 6e 20 73 74 72 69 6e 67 20 77 69 74 68 20 22 2d 42 45 | V-*".in.version.string.with."-BE |
| 2c0a0 | 54 41 22 20 62 65 63 61 75 73 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 60 76 65 72 73 69 6f 6e 2d | TA".because.........;;.`version- |
| 2c0c0 | 74 6f 2d 6c 69 73 74 27 20 64 6f 65 73 20 6e 6f 74 20 75 6e 64 65 72 73 74 61 6e 64 20 22 2d 44 | to-list'.does.not.understand."-D |
| 2c0e0 | 45 56 22 2e 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 68 6f 72 74 2d 76 65 72 20 28 72 65 | EV"..........(setq.short-ver.(re |
| 2c100 | 70 6c 61 63 65 2d 6d 61 74 63 68 20 22 2d 42 45 54 41 22 20 6e 69 6c 20 6e 69 6c 20 73 68 6f 72 | place-match."-BETA".nil.nil.shor |
| 2c120 | 74 2d 76 65 72 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 42 65 6c 6f 77 2c 20 63 6f 6e 76 65 72 | t-ver)).........;;.Below,.conver |
| 2c140 | 74 20 22 30 2e 33 32 2d 44 45 56 22 20 2d 3e 20 22 30 2e 33 31 2e 39 39 22 20 28 65 78 61 6d 70 | t."0.32-DEV".->."0.31.99".(examp |
| 2c160 | 6c 65 29 20 73 6f 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 3b 3b 20 76 65 72 73 69 6f 6e 20 73 | le).so.that.........;;.version.s |
| 2c180 | 74 72 69 6e 67 73 20 63 61 6e 20 62 65 20 63 6f 6d 70 61 72 65 64 20 77 69 74 68 20 66 75 6e 63 | trings.can.be.compared.with.func |
| 2c1a0 | 74 69 6f 6e 73 20 6c 69 6b 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 60 76 65 72 73 69 6f 6e 3c 27 | tions.like.........;;.`version<' |
| 2c1c0 | 2e 0a 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 | ..........(let*.((short-ver-list |
| 2c1e0 | 20 28 76 65 72 73 69 6f 6e 2d 74 6f 2d 6c 69 73 74 20 73 68 6f 72 74 2d 76 65 72 29 29 0a 20 20 | .(version-to-list.short-ver))... |
| 2c200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 6a 6f 72 2d 76 65 72 20 28 6e 74 68 20 30 20 73 | .............(major-ver.(nth.0.s |
| 2c220 | 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | hort-ver-list))................( |
| 2c240 | 6d 69 6e 6f 72 2d 76 65 72 20 28 6e 74 68 20 31 20 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 29 | minor-ver.(nth.1.short-ver-list) |
| 2c260 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 69 63 72 6f 2d 76 65 72 20 28 6e 74 68 | )................(micro-ver.(nth |
| 2c280 | 20 32 20 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b | .2.short-ver-list)))...........; |
| 2c2a0 | 3b 20 6d 69 63 72 6f 2d 76 65 72 20 77 69 6c 6c 20 62 65 20 2d 32 20 66 6f 72 20 22 2d 62 65 74 | ;.micro-ver.will.be.-2.for."-bet |
| 2c2c0 | 61 22 20 28 44 45 56 29 20 76 65 72 73 69 6f 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 | a".(DEV).versions............(se |
| 2c2e0 | 74 71 20 6d 69 63 72 6f 2d 76 65 72 20 39 39 29 20 20 3b 41 73 73 75 6d 69 6e 67 20 74 68 61 74 | tq.micro-ver.99)..;Assuming.that |
| 2c300 | 20 74 68 65 20 72 65 61 6c 20 6d 69 63 72 6f 2d 76 65 72 20 77 69 6c 6c 20 6e 65 76 65 72 20 62 | .the.real.micro-ver.will.never.b |
| 2c320 | 65 63 6f 6d 65 20 39 39 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 3d 20 30 20 6d 69 6e 6f | ecome.99...........(if.(=.0.mino |
| 2c340 | 72 2d 76 65 72 29 20 20 3b 45 78 61 6d 70 6c 65 3a 20 22 31 2e 30 2d 44 45 56 22 20 2d 3e 20 28 | r-ver)..;Example:."1.0-DEV".->.( |
| 2c360 | 31 20 30 20 39 39 29 20 2d 3e 20 28 30 20 39 39 20 39 39 29 0a 20 20 20 20 20 20 20 20 20 20 20 | 1.0.99).->.(0.99.99)............ |
| 2c380 | 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 | ...(progn.................(setq. |
| 2c3a0 | 6d 69 6e 6f 72 2d 76 65 72 20 39 39 29 20 3b 41 73 73 75 6d 69 6e 67 20 74 68 61 74 20 74 68 65 | minor-ver.99).;Assuming.that.the |
| 2c3c0 | 20 6d 61 78 20 6d 69 6e 6f 72 20 76 65 72 73 69 6f 6e 20 69 73 20 39 39 0a 20 20 20 20 20 20 20 | .max.minor.version.is.99........ |
| 2c3e0 | 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 61 6a 6f 72 2d 76 65 72 20 28 31 2d 20 6d 61 6a | .........(setq.major-ver.(1-.maj |
| 2c400 | 6f 72 2d 76 65 72 29 29 29 20 3b 41 73 73 75 6d 69 6e 67 20 74 68 61 74 20 6d 61 6a 6f 72 2d 76 | or-ver))).;Assuming.that.major-v |
| 2c420 | 65 72 20 69 73 20 6e 6f 74 20 30 20 74 6f 20 62 65 67 69 6e 20 77 69 74 68 0a 20 20 20 20 20 20 | er.is.not.0.to.begin.with....... |
| 2c440 | 20 20 20 20 20 20 28 73 65 74 71 20 6d 69 6e 6f 72 2d 76 65 72 20 28 31 2d 20 6d 69 6e 6f 72 2d | ......(setq.minor-ver.(1-.minor- |
| 2c460 | 76 65 72 29 29 29 20 3b 45 78 61 6d 70 6c 65 3a 20 22 30 2e 33 32 2d 44 45 56 22 20 2d 3e 20 28 | ver))).;Example:."0.32-DEV".->.( |
| 2c480 | 30 20 33 32 20 39 39 29 20 2d 3e 20 28 30 20 33 31 20 39 39 29 0a 20 20 20 20 20 20 20 20 20 20 | 0.32.99).->.(0.31.99)........... |
| 2c4a0 | 28 73 65 74 71 20 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 20 28 6c 69 73 74 20 6d 61 6a 6f 72 | (setq.short-ver-list.(list.major |
| 2c4c0 | 2d 76 65 72 20 6d 69 6e 6f 72 2d 76 65 72 20 6d 69 63 72 6f 2d 76 65 72 29 29 0a 20 20 20 20 20 | -ver.minor-ver.micro-ver))...... |
| 2c4e0 | 20 20 20 20 20 28 73 65 74 71 20 73 68 6f 72 74 2d 76 65 72 20 28 6d 61 70 63 6f 6e 63 61 74 20 | .....(setq.short-ver.(mapconcat. |
| 2c500 | 23 27 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 | #'number-to-string.short-ver-lis |
| 2c520 | 74 20 22 2e 22 29 29 29 29 0a 20 20 20 20 20 20 28 63 6f 6e 73 20 6c 6f 6e 67 2d 76 65 72 20 73 | t.".")))).......(cons.long-ver.s |
| 2c540 | 68 6f 72 74 2d 76 65 72 29 29 29 29 0a 0a 3b 3b 3b 3b 20 52 65 73 6f 75 72 63 65 73 20 41 6c 69 | hort-ver))))..;;;;.Resources.Ali |
| 2c560 | 73 74 20 4d 65 72 67 69 6e 67 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d | st.Merging.(defun.org-hugo--get- |
| 2c580 | 72 65 73 6f 75 72 63 65 73 2d 61 6c 69 73 74 20 28 72 65 73 6f 75 72 63 65 73 29 0a 20 20 22 47 | resources-alist.(resources)..."G |
| 2c5a0 | 65 6e 65 72 61 74 65 20 61 20 6d 65 72 67 65 64 20 52 45 53 4f 55 52 43 45 53 20 61 6c 69 73 74 | enerate.a.merged.RESOURCES.alist |
| 2c5c0 | 2e 0a 0a 41 6c 6c 20 70 61 72 61 6d 65 74 65 72 73 20 66 6f 72 20 74 68 65 20 73 61 6d 65 20 5c | ...All.parameters.for.the.same.\ |
| 2c5e0 | 22 73 72 63 5c 22 20 61 72 65 20 6d 65 72 67 65 64 20 74 6f 67 65 74 68 65 72 20 69 6e 20 74 68 | "src\".are.merged.together.in.th |
| 2c600 | 65 0a 73 61 6d 65 20 4c 69 73 70 20 66 6f 72 6d 2e 20 20 50 61 72 61 6d 65 74 65 72 73 20 74 68 | e.same.Lisp.form...Parameters.th |
| 2c620 | 61 74 20 61 72 65 20 6e 6f 6e 65 20 6f 66 20 5c 22 73 72 63 5c 22 2c 20 5c 22 74 69 74 6c 65 5c | at.are.none.of.\"src\",.\"title\ |
| 2c640 | 22 0a 6f 72 20 5c 22 6e 61 6d 65 5c 22 20 61 72 65 20 70 61 63 6b 65 64 20 69 6e 74 6f 20 61 6e | ".or.\"name\".are.packed.into.an |
| 2c660 | 20 61 6c 69 73 74 20 77 69 74 68 20 60 63 61 72 27 20 61 73 20 5c 22 70 61 72 61 6d 73 5c 22 2e | .alist.with.`car'.as.\"params\". |
| 2c680 | 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 72 65 73 6f 75 72 63 65 73 20 49 4e 20 44 | "...;;.(message."[resources.IN.D |
| 2c6a0 | 42 47 5d 3a 20 25 53 22 20 72 65 73 6f 75 72 63 65 73 29 0a 20 20 28 77 68 65 6e 20 72 65 73 6f | BG]:.%S".resources)...(when.reso |
| 2c6c0 | 75 72 63 65 73 0a 20 20 20 20 28 6c 65 74 20 28 73 72 63 31 20 61 6c 6c 2d 73 72 63 20 73 72 63 | urces.....(let.(src1.all-src.src |
| 2c6e0 | 2d 63 6f 6e 73 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 29 0a 20 20 20 20 20 20 | -cons.src-already-exists)....... |
| 2c700 | 28 64 6f 6c 69 73 74 20 28 72 65 73 20 72 65 73 6f 75 72 63 65 73 29 0a 20 20 20 20 20 20 20 20 | (dolist.(res.resources)......... |
| 2c720 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 72 65 73 3a 20 25 53 22 20 72 65 73 29 0a 20 20 20 20 20 | ;;.(message."res:.%S".res)...... |
| 2c740 | 20 20 20 28 6c 65 74 20 28 28 6b 65 79 20 28 63 61 72 20 72 65 73 29 29 29 0a 20 20 20 20 20 20 | ...(let.((key.(car.res)))....... |
| 2c760 | 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 6b 65 79 | ....(cond............((equal.key |
| 2c780 | 20 27 73 72 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6e 75 6c 6c | .'src).............(unless.(null |
| 2c7a0 | 20 73 72 63 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 31 20 | .src1)...............(setq.src1. |
| 2c7c0 | 28 6e 72 65 76 65 72 73 65 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | (nreverse.src1))...............( |
| 2c7e0 | 69 66 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 | if.src-already-exists........... |
| 2c800 | 20 20 20 20 20 20 20 20 28 73 65 74 63 64 72 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 | ........(setcdr.src-already-exis |
| 2c820 | 74 73 20 28 63 64 72 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ts.(cdr.src1)).................( |
| 2c840 | 70 75 73 68 20 73 72 63 31 20 61 6c 6c 2d 73 72 63 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | push.src1.all-src)))............ |
| 2c860 | 20 28 73 65 74 71 20 73 72 63 2d 63 6f 6e 73 20 72 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .(setq.src-cons.res)............ |
| 2c880 | 20 28 73 65 74 71 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 20 28 61 73 73 6f 63 | .(setq.src-already-exists.(assoc |
| 2c8a0 | 20 73 72 63 2d 63 6f 6e 73 20 61 6c 6c 2d 73 72 63 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .src-cons.all-src))............. |
| 2c8c0 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 25 53 20 65 78 69 73 74 73 3f 20 25 53 22 20 28 63 64 72 | ;;.(message."%S.exists?.%S".(cdr |
| 2c8e0 | 20 73 72 63 2d 63 6f 6e 73 29 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 29 0a 20 | .src-cons).src-already-exists).. |
| 2c900 | 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 31 20 28 6f 72 20 28 6e 72 65 76 65 | ...........(setq.src1.(or.(nreve |
| 2c920 | 72 73 65 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 29 20 28 6c 69 73 74 20 72 65 | rse.src-already-exists).(list.re |
| 2c940 | 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 73 72 | s))).............;;.(message."sr |
| 2c960 | 63 31 20 74 65 6d 70 3a 20 25 53 22 20 73 72 63 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 29 | c1.temp:.%S".src1).............) |
| 2c980 | 0a 20 20 20 20 20 20 20 20 20 20 20 28 28 6d 65 6d 62 65 72 20 6b 65 79 20 27 28 74 69 74 6c 65 | ............((member.key.'(title |
| 2c9a0 | 20 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 72 65 73 20 73 72 | .name)).............(push.res.sr |
| 2c9c0 | 63 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | c1))............(t.............. |
| 2c9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 52 65 73 6f 75 72 63 65 20 50 61 72 61 6d 73 0a | ...............;Resource.Params. |
| 2ca00 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 61 72 61 6d 73 2d 63 6f 6e 73 20 | ............(let*.((params-cons. |
| 2ca20 | 28 61 73 73 6f 63 20 27 70 61 72 61 6d 73 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 | (assoc.'params.src1))........... |
| 2ca40 | 20 20 20 20 20 20 20 20 20 28 70 61 72 61 6d 73 20 28 63 64 72 20 70 61 72 61 6d 73 2d 63 6f 6e | .........(params.(cdr.params-con |
| 2ca60 | 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 70 61 72 61 6d 73 0a 20 20 | s)))...............(if.params... |
| 2ca80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 | ................(progn.......... |
| 2caa0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 70 61 72 61 6d 73 20 31 | ...........;;.(message."params.1 |
| 2cac0 | 3a 20 25 53 22 20 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :.%S".params)................... |
| 2cae0 | 20 20 28 70 75 73 68 20 72 65 73 20 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..(push.res.params)............. |
| 2cb00 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 70 61 72 61 6d 73 20 28 6e 72 65 76 65 72 73 65 20 70 | ........(setq.params.(nreverse.p |
| 2cb20 | 61 72 61 6d 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 | arams)).....................;;.( |
| 2cb40 | 6d 65 73 73 61 67 65 20 22 70 61 72 61 6d 73 20 32 3a 20 25 53 22 20 70 61 72 61 6d 73 29 0a 20 | message."params.2:.%S".params).. |
| 2cb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 63 64 72 20 70 61 72 61 6d | ...................(setcdr.param |
| 2cb80 | 73 2d 63 6f 6e 73 20 70 61 72 61 6d 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s-cons.params))................. |
| 2cba0 | 28 73 65 74 71 20 70 61 72 61 6d 73 20 28 6c 69 73 74 20 72 65 73 29 29 0a 20 20 20 20 20 20 20 | (setq.params.(list.res))........ |
| 2cbc0 | 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 60 28 70 61 72 61 6d 73 20 2e 20 2c 70 61 72 61 6d | .........(push.`(params...,param |
| 2cbe0 | 73 29 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 | s).src1))...............;;.(mess |
| 2cc00 | 61 67 65 20 22 73 72 63 31 20 74 65 6d 70 20 32 3a 20 25 53 22 20 73 72 63 31 29 0a 20 20 20 20 | age."src1.temp.2:.%S".src1)..... |
| 2cc20 | 20 20 20 20 20 20 20 20 20 20 28 73 65 74 63 64 72 20 28 61 73 73 6f 63 20 27 70 61 72 61 6d 73 | ..........(setcdr.(assoc.'params |
| 2cc40 | 20 73 72 63 31 29 20 70 61 72 61 6d 73 29 29 29 29 29 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 | .src1).params)))))).......(setq. |
| 2cc60 | 73 72 63 31 20 28 6e 72 65 76 65 72 73 65 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 | src1.(nreverse.src1)).......;;.( |
| 2cc80 | 6d 65 73 73 61 67 65 20 22 73 72 63 31 3a 20 25 53 22 20 73 72 63 31 29 0a 20 20 20 20 20 20 28 | message."src1:.%S".src1).......( |
| 2cca0 | 69 66 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 | if.src-already-exists........... |
| 2ccc0 | 28 73 65 74 63 64 72 20 73 72 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 20 28 63 64 72 20 | (setcdr.src-already-exists.(cdr. |
| 2cce0 | 73 72 63 31 29 29 0a 20 20 20 20 20 20 20 20 28 70 75 73 68 20 73 72 63 31 20 61 6c 6c 2d 73 72 | src1)).........(push.src1.all-sr |
| 2cd00 | 63 29 29 0a 20 20 20 20 20 20 3b 3b 20 52 65 74 61 69 6e 20 74 68 65 20 6f 72 64 65 72 20 6f 66 | c)).......;;.Retain.the.order.of |
| 2cd20 | 20 73 72 63 0a 20 20 20 20 20 20 28 73 65 74 71 20 61 6c 6c 2d 73 72 63 20 28 6e 72 65 76 65 72 | .src.......(setq.all-src.(nrever |
| 2cd40 | 73 65 20 61 6c 6c 2d 73 72 63 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | se.all-src)).......;;.(message." |
| 2cd60 | 61 6c 6c 2d 73 72 63 3a 20 25 53 22 20 61 6c 6c 2d 73 72 63 29 0a 20 20 20 20 20 20 61 6c 6c 2d | all-src:.%S".all-src).......all- |
| 2cd80 | 73 72 63 29 29 29 0a 0a 3b 3b 3b 3b 20 50 75 62 6c 69 63 61 74 69 6f 6e 20 44 69 72 65 63 74 6f | src)))..;;;;.Publication.Directo |
| 2cda0 | 72 79 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 75 62 2d 64 69 72 20 | ry.(defun.org-hugo--get-pub-dir. |
| 2cdc0 | 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 70 6f 73 74 20 70 75 62 6c 69 63 | (info)..."Return.the.post.public |
| 2cde0 | 61 74 69 6f 6e 20 64 69 72 65 63 74 6f 72 79 20 70 61 74 68 2e 0a 0a 54 68 65 20 70 75 62 6c 69 | ation.directory.path...The.publi |
| 2ce00 | 63 61 74 69 6f 6e 20 64 69 72 65 63 74 6f 72 79 20 69 73 20 63 72 65 61 74 65 64 20 69 66 20 69 | cation.directory.is.created.if.i |
| 2ce20 | 74 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 | t.does.not.exist...INFO.is.a.pli |
| 2ce40 | 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e | st.used.as.a.communication.chann |
| 2ce60 | 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 62 61 73 65 2d 64 69 72 20 28 69 66 20 28 70 6c 69 | el."...(let*.((base-dir.(if.(pli |
| 2ce80 | 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 0a 20 20 20 20 | st-get.info.:hugo-base-dir)..... |
| 2cea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 | ...................(file-name-as |
| 2cec0 | 2d 64 69 72 65 63 74 6f 72 79 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f | -directory.(plist-get.info.:hugo |
| 2cee0 | 2d 62 61 73 65 2d 64 69 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -base-dir))..................... |
| 2cf00 | 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 49 74 20 69 73 20 6d 61 6e 64 61 74 6f 72 79 20 74 6f | .(user-error."It.is.mandatory.to |
| 2cf20 | 20 73 65 74 20 74 68 65 20 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 20 70 72 6f 70 65 72 74 79 20 | .set.the.HUGO_BASE_DIR.property. |
| 2cf40 | 6f 72 20 74 68 65 20 60 6f 72 67 2d 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 27 20 6c 6f 63 61 6c | or.the.`org-hugo-base-dir'.local |
| 2cf60 | 20 76 61 72 69 61 62 6c 65 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 2d | .variable")))..........(content- |
| 2cf80 | 64 69 72 20 28 63 6f 6e 63 61 74 20 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 65 6e 74 2d 66 6f 6c | dir.(concat.org-hugo-content-fol |
| 2cfa0 | 64 65 72 20 22 2f 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 63 74 69 6f 6e 2d 70 61 74 68 | der."/"))..........(section-path |
| 2cfc0 | 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 73 65 63 74 69 6f 6e 2d 70 61 74 68 20 69 6e 66 | .(org-hugo--get-section-path.inf |
| 2cfe0 | 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 75 6e 64 6c 65 2d 64 69 72 20 28 6c 65 74 20 28 28 | o))..........(bundle-dir.(let.(( |
| 2d000 | 62 75 6e 64 6c 65 2d 70 61 74 68 20 28 6f 72 20 3b 48 75 67 6f 20 62 75 6e 64 6c 65 20 73 65 74 | bundle-path.(or.;Hugo.bundle.set |
| 2d020 | 20 69 6e 20 74 68 65 20 70 6f 73 74 20 73 75 62 74 72 65 65 20 67 65 74 73 20 68 69 67 68 65 72 | .in.the.post.subtree.gets.higher |
| 2d040 | 20 70 72 65 63 65 64 65 6e 63 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .precedence..................... |
| 2d060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d | .....................(org-hugo-- |
| 2d080 | 65 6e 74 72 79 2d 67 65 74 2d 63 6f 6e 63 61 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 | entry-get-concat.nil."EXPORT_HUG |
| 2d0a0 | 4f 5f 42 55 4e 44 4c 45 22 20 22 2f 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | O_BUNDLE"."/").................. |
| 2d0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 | ........................(plist-g |
| 2d0e0 | 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 75 6e 64 6c 65 29 29 29 29 20 3b 54 68 69 73 20 69 | et.info.:hugo-bundle)))).;This.i |
| 2d100 | 73 20 6d 61 69 6e 6c 79 20 74 6f 20 73 75 70 70 6f 72 74 20 70 65 72 2d 66 69 6c 65 20 66 6c 6f | s.mainly.to.support.per-file.flo |
| 2d120 | 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 62 75 6e | w........................(if.bun |
| 2d140 | 64 6c 65 2d 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dle-path........................ |
| 2d160 | 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 62 75 6e 64 | ....(file-name-as-directory.bund |
| 2d180 | 6c 65 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | le-path)........................ |
| 2d1a0 | 20 20 22 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 75 62 2d 64 69 72 20 28 6c 65 74 20 28 | .."")))..........(pub-dir.(let.( |
| 2d1c0 | 28 64 69 72 20 28 63 6f 6e 63 61 74 20 62 61 73 65 2d 64 69 72 20 63 6f 6e 74 65 6e 74 2d 64 69 | (dir.(concat.base-dir.content-di |
| 2d1e0 | 72 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 20 62 75 6e 64 6c 65 2d 64 69 72 29 29 29 0a 20 20 20 | r.section-path.bundle-dir))).... |
| 2d200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 6b 65 2d 64 69 72 65 63 74 6f 72 79 | .................(make-directory |
| 2d220 | 20 64 69 72 20 3a 70 61 72 65 6e 74 73 29 20 3b 43 72 65 61 74 65 20 74 68 65 20 64 69 72 65 63 | .dir.:parents).;Create.the.direc |
| 2d240 | 74 6f 72 79 20 69 66 20 69 74 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 0a 20 20 20 20 20 20 | tory.if.it.does.not.exist....... |
| 2d260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 72 29 29 29 0a 20 20 20 20 28 66 69 6c 65 2d 74 | ..............dir))).....(file-t |
| 2d280 | 72 75 65 6e 61 6d 65 20 70 75 62 2d 64 69 72 29 29 29 0a 0a 3b 3b 3b 3b 20 47 65 74 20 74 68 65 | ruename.pub-dir)))..;;;;.Get.the |
| 2d2a0 | 20 70 75 62 6c 69 73 68 20 64 61 74 65 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 6f | .publish.date.for.the.current.po |
| 2d2c0 | 73 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 64 61 74 65 20 28 69 6e | st.(defun.org-hugo--get-date.(in |
| 2d2e0 | 66 6f 20 66 6d 74 29 0a 20 20 22 52 65 74 75 72 6e 20 63 75 72 72 65 6e 74 20 70 6f 73 74 27 73 | fo.fmt)..."Return.current.post's |
| 2d300 | 20 70 75 62 6c 69 73 68 20 64 61 74 65 20 61 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 54 68 65 20 | .publish.date.as.a.string...The. |
| 2d320 | 64 61 74 65 20 69 73 20 64 65 72 69 76 65 64 20 77 69 74 68 20 74 68 69 73 20 70 72 65 63 65 64 | date.is.derived.with.this.preced |
| 2d340 | 65 6e 63 65 3a 0a 0a 31 2e 20 60 3a 6c 6f 67 62 6f 6f 6b 2d 64 61 74 65 27 20 70 72 6f 70 65 72 | ence:..1..`:logbook-date'.proper |
| 2d360 | 74 79 20 66 72 6f 6d 20 49 4e 46 4f 0a 0a 32 2e 20 60 43 4c 4f 53 45 44 27 20 74 69 6d 65 20 73 | ty.from.INFO..2..`CLOSED'.time.s |
| 2d380 | 74 61 6d 70 20 69 66 20 74 68 65 20 70 6f 69 6e 74 20 69 73 20 69 6e 20 61 6e 20 4f 72 67 20 73 | tamp.if.the.point.is.in.an.Org.s |
| 2d3a0 | 75 62 74 72 65 65 20 77 69 74 68 20 74 68 65 0a 20 20 20 60 43 4c 4f 53 45 44 27 20 70 72 6f 70 | ubtree.with.the....`CLOSED'.prop |
| 2d3c0 | 65 72 74 79 20 73 65 74 20 28 75 73 75 61 6c 6c 79 20 67 65 6e 65 72 61 74 65 64 20 61 75 74 6f | erty.set.(usually.generated.auto |
| 2d3e0 | 6d 61 74 69 63 61 6c 6c 79 20 77 68 65 6e 0a 20 20 20 73 77 69 74 63 68 69 6e 67 20 61 20 68 65 | matically.when....switching.a.he |
| 2d400 | 61 64 69 6e 67 27 73 20 54 4f 44 4f 20 73 74 61 74 65 20 74 6f 20 5c 22 44 4f 4e 45 5c 22 29 0a | ading's.TODO.state.to.\"DONE\"). |
| 2d420 | 0a 33 2e 20 60 45 58 50 4f 52 54 5f 44 41 54 45 27 20 70 72 6f 70 65 72 74 79 20 69 6e 20 63 75 | .3..`EXPORT_DATE'.property.in.cu |
| 2d440 | 72 72 65 6e 74 20 70 6f 73 74 20 73 75 62 74 72 65 65 0a 0a 34 2e 20 44 61 74 65 20 69 66 20 73 | rrent.post.subtree..4..Date.if.s |
| 2d460 | 65 74 20 69 6e 20 74 68 65 20 4f 72 67 20 66 69 6c 65 27 73 20 5c 22 23 2b 64 61 74 65 5c 22 20 | et.in.the.Org.file's.\"#+date\". |
| 2d480 | 6b 65 79 77 6f 72 64 2e 20 54 68 69 73 20 64 61 74 65 20 69 73 0a 20 20 20 66 6f 72 6d 61 74 74 | keyword..This.date.is....formatt |
| 2d4a0 | 65 64 20 75 73 69 6e 67 20 74 68 65 20 74 69 6d 65 20 66 6f 72 6d 61 74 20 73 74 72 69 6e 67 20 | ed.using.the.time.format.string. |
| 2d4c0 | 46 4d 54 2e 0a 0a 49 66 20 6e 6f 6e 65 20 6f 66 20 74 68 65 20 61 62 6f 76 65 20 61 70 70 6c 79 | FMT...If.none.of.the.above.apply |
| 2d4e0 | 2c 20 72 65 74 75 72 6e 20 6e 69 6c 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 | ,.return.nil...INFO.is.a.plist.u |
| 2d500 | 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 | sed.as.a.communication.channel." |
| 2d520 | 0a 20 20 28 6f 72 0a 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f | ...(or....(plist-get.info.:logbo |
| 2d540 | 6f 6b 2d 64 61 74 65 29 0a 20 20 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e | ok-date)....(org-entry-get.(poin |
| 2d560 | 74 29 20 22 43 4c 4f 53 45 44 22 29 0a 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 | t)."CLOSED")....(org-string-nw-p |
| 2d580 | 0a 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 70 6c 69 73 74 2d 67 65 74 | .....(org-export-data.(plist-get |
| 2d5a0 | 20 69 6e 66 6f 20 3a 64 61 74 65 29 20 69 6e 66 6f 29 29 20 3b 60 6f 72 67 2d 65 78 70 6f 72 74 | .info.:date).info)).;`org-export |
| 2d5c0 | 2d 64 61 74 61 27 20 72 65 71 75 69 72 65 64 0a 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e | -data'.required....(org-string-n |
| 2d5e0 | 77 2d 70 0a 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 64 61 74 65 20 69 6e 66 | w-p.....(org-export-get-date.inf |
| 2d600 | 6f 20 66 6d 74 29 29 29 29 0a 0a 3b 3b 3b 3b 20 46 6f 72 6d 61 74 20 44 61 74 65 73 0a 28 64 65 | o.fmt))))..;;;;.Format.Dates.(de |
| 2d620 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 64 61 74 65 2d 74 69 6d 65 2d 74 6f 2d 72 | fun.org-hugo--org-date-time-to-r |
| 2d640 | 66 63 33 33 33 39 20 28 64 61 74 65 2d 74 69 6d 65 20 69 6e 66 6f 29 0a 20 20 22 43 6f 6e 76 65 | fc3339.(date-time.info)..."Conve |
| 2d660 | 72 74 20 44 41 54 45 2d 54 49 4d 45 20 74 6f 20 52 46 43 20 33 33 33 39 20 66 6f 72 6d 61 74 2e | rt.DATE-TIME.to.RFC.3339.format. |
| 2d680 | 0a 0a 44 41 54 45 2d 54 49 4d 45 20 63 61 6e 20 62 65 20 65 69 74 68 65 72 20 45 6d 61 63 73 20 | ..DATE-TIME.can.be.either.Emacs. |
| 2d6a0 | 66 6f 72 6d 61 74 20 74 69 6d 65 20 6c 69 73 74 20 28 65 78 61 6d 70 6c 65 3a 20 72 65 74 75 72 | format.time.list.(example:.retur |
| 2d6c0 | 6e 0a 76 61 6c 75 65 20 6f 66 20 60 63 75 72 72 65 6e 74 2d 74 69 6d 65 27 29 2c 20 6f 72 20 61 | n.value.of.`current-time'),.or.a |
| 2d6e0 | 6e 20 4f 72 67 20 64 61 74 65 2f 74 69 6d 65 20 73 74 72 69 6e 67 2e 0a 0a 49 4e 46 4f 20 69 73 | n.Org.date/time.string...INFO.is |
| 2d700 | 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e | .a.plist.used.as.a.communication |
| 2d720 | 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 64 61 74 65 2d 74 69 6d 65 20 28 | .channel."...(let*.((date-time.( |
| 2d740 | 69 66 20 28 73 74 72 69 6e 67 70 20 64 61 74 65 2d 74 69 6d 65 29 0a 20 20 20 20 20 20 20 20 20 | if.(stringp.date-time).......... |
| 2d760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 70 70 6c 79 20 23 27 65 6e 63 6f 64 65 2d 74 | ...............(apply.#'encode-t |
| 2d780 | 69 6d 65 20 28 6f 72 67 2d 70 61 72 73 65 2d 74 69 6d 65 2d 73 74 72 69 6e 67 20 64 61 74 65 2d | ime.(org-parse-time-string.date- |
| 2d7a0 | 74 69 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 | time)).......................dat |
| 2d7c0 | 65 2d 74 69 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 61 74 65 2d 6e 6f 63 6f 6c 6f 6e 20 | e-time))..........(date-nocolon. |
| 2d7e0 | 28 66 6f 72 6d 61 74 2d 74 69 6d 65 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 | (format-time-string............. |
| 2d800 | 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 | ............(plist-get.info.:hug |
| 2d820 | 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o-date-format).................. |
| 2d840 | 20 20 20 20 20 20 20 64 61 74 65 2d 74 69 6d 65 29 29 29 0a 20 20 20 20 3b 3b 20 48 75 67 6f 20 | .......date-time))).....;;.Hugo. |
| 2d860 | 65 78 70 65 63 74 73 20 74 68 65 20 64 61 74 65 20 73 74 61 6d 70 20 69 6e 20 74 68 69 73 20 66 | expects.the.date.stamp.in.this.f |
| 2d880 | 6f 72 6d 61 74 20 28 52 46 43 33 33 33 39 20 2d 2d 20 53 65 65 0a 20 20 20 20 3b 3b 20 60 6f 72 | ormat.(RFC3339.--.See.....;;.`or |
| 2d8a0 | 67 2d 68 75 67 6f 2d 2d 64 61 74 65 2d 74 69 6d 65 2d 72 65 67 65 78 70 27 2e 29 20 69 2e 65 2e | g-hugo--date-time-regexp'.).i.e. |
| 2d8c0 | 20 69 66 20 74 68 65 20 64 61 74 65 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 0a 20 20 20 20 3b 3b | .if.the.date.contains.the.....;; |
| 2d8e0 | 20 74 69 6d 65 2d 7a 6f 6e 65 2c 20 61 20 63 6f 6c 6f 6e 20 69 73 20 72 65 71 75 69 72 65 64 20 | .time-zone,.a.colon.is.required. |
| 2d900 | 74 6f 20 73 65 70 61 72 61 74 65 20 74 68 65 20 68 6f 75 72 73 20 61 6e 64 0a 20 20 20 20 3b 3b | to.separate.the.hours.and.....;; |
| 2d920 | 20 6d 69 6e 75 74 65 73 20 69 6e 20 74 68 65 20 74 69 6d 65 2d 7a 6f 6e 65 20 73 65 63 74 69 6f | .minutes.in.the.time-zone.sectio |
| 2d940 | 6e 2e 20 20 32 30 31 37 2d 30 37 2d 30 36 54 31 34 3a 35 39 3a 34 35 2d 30 34 3a 30 30 0a 0a 20 | n...2017-07-06T14:59:45-04:00... |
| 2d960 | 20 20 20 3b 3b 20 42 75 74 20 62 79 20 64 65 66 61 75 6c 74 20 74 68 65 20 22 25 7a 22 20 70 6c | ...;;.But.by.default.the."%z".pl |
| 2d980 | 61 63 65 68 6f 6c 64 65 72 20 66 6f 72 20 74 69 6d 65 2d 7a 6f 6e 65 20 28 73 65 65 0a 20 20 20 | aceholder.for.time-zone.(see.... |
| 2d9a0 | 20 3b 3b 20 60 66 6f 72 6d 61 74 2d 74 69 6d 65 2d 73 74 72 69 6e 67 27 29 20 70 72 6f 64 75 63 | .;;.`format-time-string').produc |
| 2d9c0 | 65 73 20 74 68 65 20 7a 6f 6e 65 20 74 69 6d 65 2d 73 74 72 69 6e 67 20 61 73 20 22 2d 30 34 30 | es.the.zone.time-string.as."-040 |
| 2d9e0 | 30 22 0a 20 20 20 20 3b 3b 20 28 4e 6f 74 65 20 74 68 65 20 6d 69 73 73 69 6e 67 20 63 6f 6c 6f | 0".....;;.(Note.the.missing.colo |
| 2da00 | 6e 29 2e 20 20 42 65 6c 6f 77 20 73 69 6d 70 6c 79 20 61 64 64 73 20 61 20 63 6f 6c 6f 6e 20 62 | n)...Below.simply.adds.a.colon.b |
| 2da20 | 65 74 77 65 65 6e 0a 20 20 20 20 3b 3b 20 22 30 34 22 20 61 6e 64 20 22 30 30 22 20 69 6e 20 74 | etween.....;;."04".and."00".in.t |
| 2da40 | 68 61 74 20 65 78 61 6d 70 6c 65 2e 0a 20 20 20 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 64 | hat.example......(and.(stringp.d |
| 2da60 | 61 74 65 2d 6e 6f 63 6f 6c 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 | ate-nocolon)..........(replace-r |
| 2da80 | 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 5b 30 | egexp-in-string..........."\\([0 |
| 2daa0 | 2d 39 5d 5c 5c 7b 32 5c 5c 7d 5c 5c 29 5c 5c 28 5b 30 2d 39 5d 5c 5c 7b 32 5c 5c 7d 5c 5c 29 5c | -9]\\{2\\}\\)\\([0-9]\\{2\\}\\)\ |
| 2dac0 | 5c 27 22 20 22 5c 5c 31 3a 5c 5c 32 22 0a 20 20 20 20 20 20 20 20 20 20 64 61 74 65 2d 6e 6f 63 | \'"."\\1:\\2"...........date-noc |
| 2dae0 | 6f 6c 6f 6e 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6f 72 6d 61 | olon))))..(defun.org-hugo--forma |
| 2db00 | 74 2d 64 61 74 65 20 28 64 61 74 65 2d 6b 65 79 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e | t-date.(date-key.info)..."Return |
| 2db20 | 20 61 20 64 61 74 65 20 73 74 72 69 6e 67 20 66 6f 72 6d 61 74 74 65 64 20 69 6e 20 48 75 67 6f | .a.date.string.formatted.in.Hugo |
| 2db40 | 2d 63 6f 6d 70 61 74 69 62 6c 65 20 66 6f 72 6d 61 74 2e 0a 0a 44 41 54 45 2d 4b 45 59 20 69 73 | -compatible.format...DATE-KEY.is |
| 2db60 | 20 74 68 65 20 6b 65 79 20 69 6e 20 49 4e 46 4f 20 66 72 6f 6d 20 77 68 69 63 68 20 74 68 65 20 | .the.key.in.INFO.from.which.the. |
| 2db80 | 64 61 74 65 20 69 73 20 74 6f 20 62 65 0a 72 65 74 72 69 65 76 65 64 2e 20 20 49 4e 46 4f 20 69 | date.is.to.be.retrieved...INFO.i |
| 2dba0 | 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f | s.a.plist.used.as.a.communicatio |
| 2dbc0 | 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 50 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 20 6f 66 20 44 | n.channel...Possible.values.of.D |
| 2dbe0 | 41 54 45 2d 4b 45 59 20 61 72 65 20 60 3a 64 61 74 65 27 2c 20 60 3a 68 75 67 6f 2d 6c 61 73 74 | ATE-KEY.are.`:date',.`:hugo-last |
| 2dc00 | 6d 6f 64 27 2c 0a 60 3a 68 75 67 6f 2d 70 75 62 6c 69 73 68 64 61 74 65 27 2c 20 61 6e 64 20 60 | mod',.`:hugo-publishdate',.and.` |
| 2dc20 | 3a 68 75 67 6f 2d 65 78 70 69 72 79 64 61 74 65 27 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 | :hugo-expirydate'...Return.nil.i |
| 2dc40 | 66 20 74 68 65 20 72 65 74 72 69 65 76 65 64 20 64 61 74 65 20 66 72 6f 6d 20 49 4e 46 4f 20 69 | f.the.retrieved.date.from.INFO.i |
| 2dc60 | 73 20 6e 69 6c 20 6f 72 20 69 66 20 74 68 65 20 64 61 74 65 0a 63 61 6e 6e 6f 74 20 62 65 20 66 | s.nil.or.if.the.date.cannot.be.f |
| 2dc80 | 6f 72 6d 61 74 74 65 64 20 69 6e 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 66 6f 72 6d | ormatted.in.Hugo-compatible.form |
| 2dca0 | 61 74 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 64 61 74 65 2d 66 6d 74 20 28 70 6c 69 73 74 2d 67 | at."...(let*.((date-fmt.(plist-g |
| 2dcc0 | 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 29 29 0a 20 20 20 20 | et.info.:hugo-date-format))..... |
| 2dce0 | 20 20 20 20 20 28 64 61 74 65 2d 72 61 77 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 | .....(date-raw.(cond............ |
| 2dd00 | 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 64 61 74 65 2d 6b 65 79 20 3a 64 61 74 65 29 | .........((equal.date-key.:date) |
| 2dd20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | ......................;;.(messag |
| 2dd40 | 65 20 22 5b 6f 78 2d 68 75 67 6f 20 64 61 74 65 20 44 42 47 5d 20 31 20 25 73 22 20 28 70 6c 69 | e."[ox-hugo.date.DBG].1.%s".(pli |
| 2dd60 | 73 74 2d 67 65 74 20 69 6e 66 6f 20 64 61 74 65 2d 6b 65 79 29 29 0a 20 20 20 20 20 20 20 20 20 | st-get.info.date-key)).......... |
| 2dd80 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 | ............;;.(message."[ox-hug |
| 2dda0 | 6f 20 64 61 74 65 20 44 42 47 5d 20 32 20 25 73 22 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 | o.date.DBG].2.%s".(org-export-da |
| 2ddc0 | 74 61 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 64 61 74 65 2d 6b 65 79 29 20 69 6e 66 | ta.(plist-get.info.date-key).inf |
| 2dde0 | 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 | o))......................(org-hu |
| 2de00 | 67 6f 2d 2d 67 65 74 2d 64 61 74 65 20 69 6e 66 6f 20 64 61 74 65 2d 66 6d 74 29 29 0a 20 20 20 | go--get-date.info.date-fmt)).... |
| 2de20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 64 61 74 65 2d 6b 65 | .................((equal.date-ke |
| 2de40 | 79 20 3a 68 75 67 6f 2d 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y.:hugo-lastmod)................ |
| 2de60 | 20 20 20 20 20 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f | ......(or.(plist-get.info.:logbo |
| 2de80 | 6f 6b 2d 6c 61 73 74 6d 6f 64 29 20 3b 6c 61 73 74 6d 6f 64 20 64 65 72 69 76 65 64 20 66 72 6f | ok-lastmod).;lastmod.derived.fro |
| 2dea0 | 6d 20 4c 4f 47 42 4f 4f 4b 20 67 65 74 73 20 68 69 67 68 65 72 20 70 72 65 63 65 64 65 6e 63 65 | m.LOGBOOK.gets.higher.precedence |
| 2dec0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 | ..........................(org-s |
| 2dee0 | 74 72 69 6e 67 2d 6e 77 2d 70 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 64 61 74 65 2d | tring-nw-p.(plist-get.info.date- |
| 2df00 | 6b 65 79 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e | key)))).....................((an |
| 2df20 | 64 20 28 65 71 75 61 6c 20 64 61 74 65 2d 6b 65 79 20 3a 68 75 67 6f 2d 70 75 62 6c 69 73 68 64 | d.(equal.date-key.:hugo-publishd |
| 2df40 | 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ate)...........................( |
| 2df60 | 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 53 43 48 45 44 55 4c 45 44 | org-entry-get.(point)."SCHEDULED |
| 2df80 | 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 47 65 74 20 | "))......................;;.Get. |
| 2dfa0 | 74 68 65 20 64 61 74 65 20 66 72 6f 6d 20 74 68 65 20 22 53 43 48 45 44 55 4c 45 44 22 20 70 72 | the.date.from.the."SCHEDULED".pr |
| 2dfc0 | 6f 70 65 72 74 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | operty.......................(or |
| 2dfe0 | 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 53 43 48 45 44 55 4c 45 44 22 29 | g-entry-get.(point)."SCHEDULED") |
| 2e000 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 20 20 20 20 20 20 20 20 | ).....................(t........ |
| 2e020 | 20 20 20 20 3b 3a 68 75 67 6f 2d 70 75 62 6c 69 73 68 64 61 74 65 2c 20 3a 68 75 67 6f 2d 65 78 | ....;:hugo-publishdate,.:hugo-ex |
| 2e040 | 70 69 72 79 64 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | pirydate......................(o |
| 2e060 | 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 64 | rg-string-nw-p.(plist-get.info.d |
| 2e080 | 61 74 65 2d 6b 65 79 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 74 2d 72 66 63 33 33 33 | ate-key)))))..........(dt-rfc333 |
| 2e0a0 | 39 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | 9.(cond.......................;; |
| 2e0c0 | 20 49 66 20 74 68 65 20 64 61 74 65 20 73 65 74 20 66 6f 72 20 74 68 65 20 44 41 54 45 2d 4b 45 | .If.the.date.set.for.the.DATE-KE |
| 2e0e0 | 59 20 70 61 72 61 6d 65 74 65 72 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Y.parameter.is.................. |
| 2e100 | 20 20 20 20 20 3b 3b 20 61 6c 72 65 61 64 79 20 69 6e 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 | .....;;.already.in.Hugo-compatib |
| 2e120 | 6c 65 20 66 6f 72 6d 61 74 2c 20 75 73 65 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | le.format,.use.it............... |
| 2e140 | 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 64 61 74 65 2d 72 61 77 | .........((and.(stringp.date-raw |
| 2e160 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 | ).............................(s |
| 2e180 | 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 61 74 65 2d 74 69 6d | tring-match-p.org-hugo--date-tim |
| 2e1a0 | 65 2d 72 65 67 65 78 70 20 64 61 74 65 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e-regexp.date-raw))............. |
| 2e1c0 | 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 2d 72 61 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ...........date-raw)............ |
| 2e1e0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 6c 73 65 20 69 66 20 69 74 27 73 20 61 6e 79 20 6f | ...........;;.Else.if.it's.any.o |
| 2e200 | 74 68 65 72 20 73 74 72 69 6e 67 20 28 6c 69 6b 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ther.string.(like............... |
| 2e220 | 20 20 20 20 20 20 20 20 3b 3b 20 22 3c 32 30 31 38 2d 30 31 2d 32 33 20 54 75 65 3e 22 29 2c 20 | ........;;."<2018-01-23.Tue>"),. |
| 2e240 | 74 72 79 20 74 6f 20 70 61 72 73 65 20 74 68 61 74 20 64 61 74 65 2e 0a 20 20 20 20 20 20 20 20 | try.to.parse.that.date.......... |
| 2e260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 70 20 64 61 74 65 2d 72 61 77 | ..............((stringp.date-raw |
| 2e280 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 69 74 | )........................(condit |
| 2e2a0 | 69 6f 6e 2d 63 61 73 65 20 65 72 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ion-case.err.................... |
| 2e2c0 | 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 64 61 74 65 2d 74 69 6d 65 | ........(org-hugo--org-date-time |
| 2e2e0 | 2d 74 6f 2d 72 66 63 33 33 33 39 20 64 61 74 65 2d 72 61 77 20 69 6e 66 6f 29 0a 20 20 20 20 20 | -to-rfc3339.date-raw.info)...... |
| 2e300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 72 72 6f 72 0a 20 20 20 20 20 | ....................(error...... |
| 2e320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 65 74 20 64 74 2d 72 | .....................;;.Set.dt-r |
| 2e340 | 66 63 33 33 33 39 20 74 6f 20 6e 69 6c 20 69 66 20 65 72 72 6f 72 20 68 61 70 70 65 6e 73 2e 0a | fc3339.to.nil.if.error.happens.. |
| 2e360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 6e 20 | ..........................;;.An. |
| 2e380 | 65 78 61 6d 70 6c 65 3a 20 49 66 20 23 2b 64 61 74 65 20 69 73 20 73 65 74 20 74 6f 20 32 30 31 | example:.If.#+date.is.set.to.201 |
| 2e3a0 | 32 2d 32 30 31 37 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 2-2017.......................... |
| 2e3c0 | 20 3b 3b 20 74 6f 20 73 65 74 20 74 68 65 20 63 6f 70 79 72 69 67 68 74 20 79 65 61 72 73 2c 20 | .;;.to.set.the.copyright.years,. |
| 2e3e0 | 6a 75 73 74 20 73 65 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | just.set.the.................... |
| 2e400 | 20 20 20 20 20 20 20 3b 3b 20 64 61 74 65 20 74 6f 20 6e 69 6c 20 69 6e 73 74 65 61 64 20 6f 66 | .......;;.date.to.nil.instead.of |
| 2e420 | 20 74 68 72 6f 77 69 6e 67 20 61 6e 20 65 72 72 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .throwing.an.error.............. |
| 2e440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6b 65 3a 20 6f 72 67 2d 70 61 72 73 65 2d | .............;;.like:.org-parse- |
| 2e460 | 74 69 6d 65 2d 73 74 72 69 6e 67 3a 20 4e 6f 74 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | time-string:.Not.a.............. |
| 2e480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 74 61 6e 64 61 72 64 20 4f 72 67 20 74 69 6d | .............;;.standard.Org.tim |
| 2e4a0 | 65 20 73 74 72 69 6e 67 3a 20 32 30 31 32 2d 32 30 31 37 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e.string:.2012-2017............. |
| 2e4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 0a 20 20 20 20 20 20 20 20 20 | ..............(message.......... |
| 2e4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 6f 78 2d 68 | ..................(format."[ox-h |
| 2e500 | 75 67 6f 5d 20 44 61 74 65 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 73 65 74 20 69 6e 20 74 68 65 | ugo].Date.will.not.be.set.in.the |
| 2e520 | 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .front-matter:.%s".............. |
| 2e540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 74 68 20 31 20 65 72 72 | ......................(nth.1.err |
| 2e560 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 | )))...........................ni |
| 2e580 | 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 6c | l))).......................;;.El |
| 2e5a0 | 73 65 20 28 69 66 20 6e 69 6c 29 20 61 6e 64 20 75 73 65 72 20 77 61 6e 74 20 74 6f 20 61 75 74 | se.(if.nil).and.user.want.to.aut |
| 2e5c0 | 6f 2d 73 65 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o-set.the....................... |
| 2e5e0 | 3b 3b 20 6c 61 73 74 6d 6f 64 20 66 69 65 6c 64 2e 20 49 66 20 74 68 65 20 6c 61 73 74 6d 6f 64 | ;;.lastmod.field..If.the.lastmod |
| 2e600 | 20 76 61 6c 75 65 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .value.is....................... |
| 2e620 | 3b 3b 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 4c 4f 47 42 4f 4f 4b 2c 20 64 69 73 61 62 6c 65 | ;;.derived.from.LOGBOOK,.disable |
| 2e640 | 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 75 | .the.......................;;.au |
| 2e660 | 74 6f 2d 73 65 74 74 69 6e 67 20 6f 66 20 6c 61 73 74 6d 6f 64 2e 0a 20 20 20 20 20 20 20 20 20 | to-setting.of.lastmod........... |
| 2e680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 75 61 6c 20 64 61 74 65 2d 6b | .............((and.(equal.date-k |
| 2e6a0 | 65 79 20 3a 68 75 67 6f 2d 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ey.:hugo-lastmod)............... |
| 2e6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 28 70 6c 69 73 74 2d 67 65 74 20 69 | ..............(null.(plist-get.i |
| 2e6e0 | 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 2d 6c 61 73 74 6d 6f 64 29 29 0a 20 20 20 20 20 20 20 20 20 | nfo.:logbook-lastmod)).......... |
| 2e700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c | ...................(org-hugo--pl |
| 2e720 | 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 61 75 74 6f 2d 73 | ist-get-true-p.info.:hugo-auto-s |
| 2e740 | 65 74 2d 6c 61 73 74 6d 6f 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | et-lastmod)).................... |
| 2e760 | 20 20 20 20 28 6c 65 74 2a 20 28 28 63 75 72 72 2d 74 69 6d 65 20 28 6f 72 67 2d 63 75 72 72 65 | ....(let*.((curr-time.(org-curre |
| 2e780 | 6e 74 2d 74 69 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nt-time))....................... |
| 2e7a0 | 20 20 20 20 20 20 20 20 28 6c 61 73 74 6d 6f 64 2d 73 74 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d | ........(lastmod-str.(org-hugo-- |
| 2e7c0 | 6f 72 67 2d 64 61 74 65 2d 74 69 6d 65 2d 74 6f 2d 72 66 63 33 33 33 39 20 63 75 72 72 2d 74 69 | org-date-time-to-rfc3339.curr-ti |
| 2e7e0 | 6d 65 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | me.info)))...................... |
| 2e800 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 75 70 70 72 65 | ....;;.(message."[ox-hugo.suppre |
| 2e820 | 73 73 2d 6c 61 73 74 6d 6f 64 5d 20 63 75 72 72 65 6e 74 2d 74 69 6d 65 20 3d 20 25 53 20 28 64 | ss-lastmod].current-time.=.%S.(d |
| 2e840 | 65 63 6f 64 65 64 20 3d 20 25 53 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ecoded.=.%S)"................... |
| 2e860 | 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 63 75 72 72 2d 74 69 6d 65 20 28 64 65 | .......;;..........curr-time.(de |
| 2e880 | 63 6f 64 65 2d 74 69 6d 65 20 63 75 72 72 2d 74 69 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 | code-time.curr-time))........... |
| 2e8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d | ...............;;.(message."[ox- |
| 2e8c0 | 68 75 67 6f 20 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 5d 20 6c 61 73 74 6d 6f 64 2d 73 | hugo.suppress-lastmod].lastmod-s |
| 2e8e0 | 74 72 20 3d 20 25 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tr.=.%S"........................ |
| 2e900 | 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 6c 61 73 74 6d 6f 64 2d 73 74 72 20 29 0a 20 20 20 20 | ..;;..........lastmod-str.)..... |
| 2e920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 3d 20 30 2e 30 20 | .....................(if.(=.0.0. |
| 2e940 | 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 | org-hugo-suppress-lastmod-period |
| 2e960 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | )..............................( |
| 2e980 | 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | progn........................... |
| 2e9a0 | 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 75 70 70 72 | .....;;.(message."[ox-hugo.suppr |
| 2e9c0 | 65 73 73 2d 6c 61 73 74 6d 6f 64 5d 20 6e 6f 74 20 73 75 70 70 72 65 73 73 65 64 22 29 0a 20 20 | ess-lastmod].not.suppressed")... |
| 2e9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 73 | .............................las |
| 2ea00 | 74 6d 6f 64 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tmod-str)....................... |
| 2ea20 | 20 20 20 20 20 28 6c 65 74 20 28 28 64 61 74 65 2d 73 74 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 | .....(let.((date-str.(org-string |
| 2ea40 | 2d 6e 77 2d 70 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 64 61 74 65 20 69 6e 66 6f 20 64 | -nw-p.(org-hugo--get-date.info.d |
| 2ea60 | 61 74 65 2d 66 6d 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ate-fmt))))..................... |
| 2ea80 | 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 | .........;;.(message."[ox-hugo.s |
| 2eaa0 | 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 5d 20 64 61 74 65 2d 73 74 72 20 3d 20 25 53 22 0a | uppress-lastmod].date-str.=.%S". |
| 2eac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | .............................;;. |
| 2eae0 | 20 20 20 20 20 20 20 20 20 64 61 74 65 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........date-str).............. |
| 2eb00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 64 61 74 65 2d 73 74 72 0a 20 | ................(when.date-str.. |
| 2eb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c | ..............................(l |
| 2eb40 | 65 74 2a 20 28 28 64 61 74 65 2d 74 69 6d 65 20 28 61 70 70 6c 79 20 23 27 65 6e 63 6f 64 65 2d | et*.((date-time.(apply.#'encode- |
| 2eb60 | 74 69 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | time............................ |
| 2eb80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 | .............................(ma |
| 2eba0 | 70 63 61 72 20 28 6c 61 6d 62 64 61 20 28 65 6c 29 20 28 6f 72 20 65 6c 20 30 29 29 0a 20 20 20 | pcar.(lambda.(el).(or.el.0)).... |
| 2ebc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ebe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 | .............................(pa |
| 2ec00 | 72 73 65 2d 74 69 6d 65 2d 73 74 72 69 6e 67 20 64 61 74 65 2d 73 74 72 29 29 29 29 0a 20 20 20 | rse-time-string.date-str)))).... |
| 2ec20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ec40 | 20 20 20 3b 3b 20 49 74 27 73 20 73 61 66 65 20 74 6f 20 61 73 73 75 6d 65 20 74 68 61 74 0a 20 | ...;;.It's.safe.to.assume.that.. |
| 2ec60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ec80 | 20 20 20 20 20 3b 3b 20 60 63 75 72 72 65 6e 74 2d 74 69 6d 65 27 20 77 69 6c 6c 20 61 6c 77 61 | .....;;.`current-time'.will.alwa |
| 2eca0 | 79 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ys.............................. |
| 2ecc0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 62 65 20 3e 3d 20 74 68 65 20 70 6f 73 74 20 64 61 74 65 2e | .........;;.be.>=.the.post.date. |
| 2ece0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ed00 | 20 20 20 20 20 20 20 28 64 65 6c 74 61 20 28 66 6c 6f 61 74 2d 74 69 6d 65 0a 20 20 20 20 20 20 | .......(delta.(float-time....... |
| 2ed20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ed40 | 20 20 20 20 20 20 20 20 28 74 69 6d 65 2d 73 75 62 74 72 61 63 74 20 63 75 72 72 2d 74 69 6d 65 | ........(time-subtract.curr-time |
| 2ed60 | 20 64 61 74 65 2d 74 69 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .date-time)))................... |
| 2ed80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 75 70 70 72 65 73 73 2d 70 65 | ....................(suppress-pe |
| 2eda0 | 72 69 6f 64 20 28 69 66 20 28 3c 20 30 2e 30 20 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 | riod.(if.(<.0.0.org-hugo-suppres |
| 2edc0 | 73 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s-lastmod-period)............... |
| 2ede0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ee00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c | .............org-hugo-suppress-l |
| 2ee20 | 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | astmod-period................... |
| 2ee40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2ee60 | 20 20 20 20 20 20 20 28 2d 20 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 | .......(-.org-hugo-suppress-last |
| 2ee80 | 6d 6f 64 2d 70 65 72 69 6f 64 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mod-period)))).................. |
| 2eea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 | ................;;.(message."[ox |
| 2eec0 | 2d 68 75 67 6f 20 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 5d 20 64 61 74 65 2d 74 69 6d | -hugo.suppress-lastmod].date-tim |
| 2eee0 | 65 20 3d 20 25 53 20 28 64 65 63 6f 64 65 64 20 3d 20 25 53 29 22 0a 20 20 20 20 20 20 20 20 20 | e.=.%S.(decoded.=.%S)".......... |
| 2ef00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 | ........................;;...... |
| 2ef20 | 20 20 20 20 64 61 74 65 2d 74 69 6d 65 20 28 64 65 63 6f 64 65 2d 74 69 6d 65 20 64 61 74 65 2d | ....date-time.(decode-time.date- |
| 2ef40 | 74 69 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | time)).......................... |
| 2ef60 | 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 75 | ........;;.(message."[ox-hugo.su |
| 2ef80 | 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 5d 20 64 65 6c 74 61 20 3d 20 25 53 22 20 64 65 6c 74 | ppress-lastmod].delta.=.%S".delt |
| 2efa0 | 61 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | a).............................. |
| 2efc0 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 75 70 70 72 65 | ....;;.(message."[ox-hugo.suppre |
| 2efe0 | 73 73 2d 6c 61 73 74 6d 6f 64 5d 20 73 75 70 70 72 65 73 73 2d 70 65 72 69 6f 64 20 3d 20 25 53 | ss-lastmod].suppress-period.=.%S |
| 2f000 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "............................... |
| 2f020 | 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 73 75 70 70 72 65 73 73 2d 70 65 72 69 6f 64 29 0a | ...;;..........suppress-period). |
| 2f040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2f060 | 20 28 77 68 65 6e 20 28 3e 3d 20 64 65 6c 74 61 20 73 75 70 70 72 65 73 73 2d 70 65 72 69 6f 64 | .(when.(>=.delta.suppress-period |
| 2f080 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )............................... |
| 2f0a0 | 20 20 20 20 20 6c 61 73 74 6d 6f 64 2d 73 74 72 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 | .....lastmod-str)))))))......... |
| 2f0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 6c 73 65 2e 2e 20 64 6f 20 6e 6f 74 68 69 | ..............;;.Else...do.nothi |
| 2f0e0 | 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 | ng........................(t.... |
| 2f100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 29 29 29 29 0a 20 20 20 20 | ....................nil))))..... |
| 2f120 | 64 74 2d 72 66 63 33 33 33 39 29 29 0a 0a 3b 3b 3b 3b 20 52 65 70 6c 61 63 65 20 46 72 6f 6e 74 | dt-rfc3339))..;;;;.Replace.Front |
| 2f140 | 2d 6d 61 74 74 65 72 20 4b 65 79 73 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 72 65 | -matter.Keys.(defun.org-hugo--re |
| 2f160 | 70 6c 61 63 65 2d 6b 65 79 73 2d 6d 61 79 62 65 20 28 64 61 74 61 20 69 6e 66 6f 29 0a 20 20 22 | place-keys-maybe.(data.info)..." |
| 2f180 | 52 65 74 75 72 6e 20 44 41 54 41 20 77 69 74 68 20 69 74 73 20 6b 65 79 73 20 72 65 70 6c 61 63 | Return.DATA.with.its.keys.replac |
| 2f1a0 | 65 64 2c 20 6d 61 79 62 65 2e 0a 0a 54 68 65 20 6b 65 79 73 20 69 6e 20 44 41 54 41 20 61 72 65 | ed,.maybe...The.keys.in.DATA.are |
| 2f1c0 | 20 72 65 70 6c 61 63 65 64 20 69 66 20 48 55 47 4f 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 52 5f 4b | .replaced.if.HUGO_FRONT_MATTER_K |
| 2f1e0 | 45 59 5f 52 45 50 4c 41 43 45 20 69 73 0a 73 65 74 20 61 70 70 72 6f 70 72 69 61 74 65 6c 79 2e | EY_REPLACE.is.set.appropriately. |
| 2f200 | 0a 0a 54 68 65 20 72 65 70 6c 61 63 65 6d 65 6e 74 20 73 79 6e 74 61 78 20 69 73 3a 0a 0a 20 20 | ..The.replacement.syntax.is:.... |
| 2f220 | 20 20 23 2b 68 75 67 6f 5f 66 72 6f 6e 74 5f 6d 61 74 74 65 72 5f 6b 65 79 5f 72 65 70 6c 61 63 | ..#+hugo_front_matter_key_replac |
| 2f240 | 65 3a 20 6f 6c 64 6b 65 79 3e 6e 65 77 6b 65 79 0a 0a 49 66 20 6e 65 77 6b 65 79 20 69 73 20 61 | e:.oldkey>newkey..If.newkey.is.a |
| 2f260 | 20 73 70 65 63 69 61 6c 20 73 74 72 69 6e 67 20 5c 22 6e 69 6c 5c 22 2c 20 6f 6c 64 6b 65 79 20 | .special.string.\"nil\",.oldkey. |
| 2f280 | 77 69 6c 6c 20 62 65 20 72 65 6d 6f 76 65 64 0a 66 72 6f 6d 20 74 68 65 20 66 72 6f 6e 74 2d 6d | will.be.removed.from.the.front-m |
| 2f2a0 | 61 74 74 65 72 2e 0a 0a 59 6f 75 20 63 61 6e 20 61 6c 73 6f 20 64 6f 20 6d 75 6c 74 69 70 6c 65 | atter...You.can.also.do.multiple |
| 2f2c0 | 20 6b 65 79 20 72 65 70 6c 61 63 65 6d 65 6e 74 73 3a 0a 0a 20 20 20 20 23 2b 68 75 67 6f 5f 66 | .key.replacements:......#+hugo_f |
| 2f2e0 | 72 6f 6e 74 5f 6d 61 74 74 65 72 5f 6b 65 79 5f 72 65 70 6c 61 63 65 3a 20 6f 6c 64 6b 65 79 31 | ront_matter_key_replace:.oldkey1 |
| 2f300 | 3e 6e 65 77 6b 65 79 31 20 6f 6c 64 6b 65 79 32 3e 6e 65 77 6b 65 79 32 0a 0a 41 62 6f 76 65 20 | >newkey1.oldkey2>newkey2..Above. |
| 2f320 | 65 78 61 6d 70 6c 65 73 20 61 72 65 20 75 73 69 6e 67 20 74 68 65 20 6b 65 79 77 6f 72 64 0a 48 | examples.are.using.the.keyword.H |
| 2f340 | 55 47 4f 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 52 5f 4b 45 59 5f 52 45 50 4c 41 43 45 2c 20 62 75 | UGO_FRONT_MATTER_KEY_REPLACE,.bu |
| 2f360 | 74 20 74 68 65 20 73 61 6d 65 20 61 6c 73 6f 20 61 70 70 6c 69 65 73 20 77 68 65 6e 0a 75 73 69 | t.the.same.also.applies.when.usi |
| 2f380 | 6e 67 20 69 74 73 20 73 75 62 74 72 65 65 20 70 72 6f 70 65 72 74 79 20 66 6f 72 6d 0a 3a 45 58 | ng.its.subtree.property.form.:EX |
| 2f3a0 | 50 4f 52 54 5f 48 55 47 4f 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 52 5f 4b 45 59 5f 52 45 50 4c 41 | PORT_HUGO_FRONT_MATTER_KEY_REPLA |
| 2f3c0 | 43 45 3a 2e 0a 0a 4e 6f 74 65 20 74 68 61 74 3a 0a 0a 31 2e 20 54 68 65 72 65 20 61 72 65 20 6e | CE:...Note.that:..1..There.are.n |
| 2f3e0 | 6f 20 73 70 61 63 65 73 20 61 72 6f 75 6e 64 20 74 68 65 20 73 70 65 63 69 61 6c 20 63 68 61 72 | o.spaces.around.the.special.char |
| 2f400 | 61 63 74 65 72 20 5c 22 3e 5c 22 2e 0a 32 2e 20 53 70 61 63 65 73 20 61 72 65 20 75 73 65 64 20 | acter.\">\"..2..Spaces.are.used. |
| 2f420 | 74 6f 20 6f 6e 6c 79 20 73 65 70 61 72 61 74 65 20 6d 75 6c 74 69 70 6c 65 20 72 65 70 6c 61 63 | to.only.separate.multiple.replac |
| 2f440 | 65 6d 65 6e 74 73 20 61 72 65 20 73 68 6f 77 6e 20 69 6e 0a 20 20 20 74 68 65 20 73 65 63 6f 6e | ements.are.shown.in....the.secon |
| 2f460 | 64 20 65 78 61 6d 70 6c 65 20 61 62 6f 76 65 2e 0a 33 2e 20 54 68 65 20 72 65 70 6c 61 63 65 6d | d.example.above..3..The.replacem |
| 2f480 | 65 6e 74 73 20 61 72 65 20 6c 69 74 65 72 61 6c 2e 2e 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 | ents.are.literal...there.are.no. |
| 2f4a0 | 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 73 0a 20 20 20 69 6e 76 6f 6c 76 65 64 2e | regular.expressions....involved. |
| 2f4c0 | 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d | ..INFO.is.a.plist.used.as.a.comm |
| 2f4e0 | 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 72 65 | unication.channel."...(let*.((re |
| 2f500 | 70 6c 2d 73 74 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 66 72 6f | pl-str.(plist-get.info.:hugo-fro |
| 2f520 | 6e 74 2d 6d 61 74 74 65 72 2d 6b 65 79 2d 72 65 70 6c 61 63 65 29 29 0a 20 20 20 20 20 20 20 20 | nt-matter-key-replace))......... |
| 2f540 | 20 28 72 65 70 6c 2d 73 74 72 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d | .(repl-str.(when.(org-string-nw- |
| 2f560 | 70 20 72 65 70 6c 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | p.repl-str)..................... |
| 2f580 | 20 28 6f 72 67 2d 74 72 69 6d 20 72 65 70 6c 2d 73 74 72 29 29 29 29 0a 20 20 20 20 28 77 68 65 | .(org-trim.repl-str)))).....(whe |
| 2f5a0 | 6e 20 72 65 70 6c 2d 73 74 72 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f | n.repl-str.......;;.(message."[o |
| 2f5c0 | 78 2d 68 75 67 6f 20 72 65 70 6c 61 63 65 2d 6b 65 79 20 73 74 72 20 44 42 47 5d 20 25 53 22 20 | x-hugo.replace-key.str.DBG].%S". |
| 2f5e0 | 72 65 70 6c 2d 73 74 72 29 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 65 70 6c 2d 6c 69 73 | repl-str).......(let*.((repl-lis |
| 2f600 | 74 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 72 65 70 6c 2d 73 74 72 29 29 20 3b 60 72 65 70 | t.(split-string.repl-str)).;`rep |
| 2f620 | 6c 2d 73 74 72 27 20 69 73 20 73 70 61 63 65 2d 73 65 70 61 72 61 74 65 64 0a 20 20 20 20 20 20 | l-str'.is.space-separated....... |
| 2f640 | 20 20 20 20 20 20 20 28 72 65 70 6c 2d 61 6c 69 73 74 20 28 6c 65 74 20 28 61 6c 69 73 74 29 0a | .......(repl-alist.(let.(alist). |
| 2f660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 | ...........................(doli |
| 2f680 | 73 74 20 28 72 65 70 6c 20 72 65 70 6c 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | st.(repl.repl-list)............. |
| 2f6a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 73 74 72 | .................(when.(and.(str |
| 2f6c0 | 69 6e 67 70 20 72 65 70 6c 29 20 3b 60 72 65 70 6c 27 20 77 6f 75 6c 64 20 6c 6f 6f 6b 20 6c 69 | ingp.repl).;`repl'.would.look.li |
| 2f6e0 | 6b 65 20 22 6f 6c 64 6b 65 79 3e 6e 65 77 6b 65 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ke."oldkey>newkey".............. |
| 2f700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 | ...........................(stri |
| 2f720 | 6e 67 2d 6d 61 74 63 68 2d 70 20 22 3e 22 20 72 65 70 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ng-match-p.">".repl))........... |
| 2f740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 61 69 | .....................(let*.((pai |
| 2f760 | 72 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 72 65 70 6c 20 22 3e 22 29 29 0a 20 20 20 20 20 | r.(split-string.repl.">"))...... |
| 2f780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2f7a0 | 20 28 6b 65 79 2d 6f 72 69 67 2d 73 74 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 | .(key-orig-str.(org-string-nw-p. |
| 2f7c0 | 28 6e 74 68 20 30 20 70 61 69 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (nth.0.pair))).................. |
| 2f7e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6b 65 79 2d 72 65 70 6c 2d 73 | .....................(key-repl-s |
| 2f800 | 74 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6e 74 68 20 31 20 70 61 69 72 29 | tr.(org-string-nw-p.(nth.1.pair) |
| 2f820 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............................. |
| 2f840 | 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 2d 70 61 69 72 20 28 77 68 65 6e 20 28 61 6e 64 20 6b | .........(repl-pair.(when.(and.k |
| 2f860 | 65 79 2d 6f 72 69 67 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ey-orig-str..................... |
| 2f880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2f8a0 | 20 20 20 20 20 20 20 20 6b 65 79 2d 72 65 70 6c 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 | ........key-repl-str)........... |
| 2f8c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 2f8e0 | 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 28 69 6e 74 65 72 6e 20 6b 65 79 2d 6f 72 69 67 2d | .........(cons.(intern.key-orig- |
| 2f900 | 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | str)............................ |
| 2f920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 | ..............................(i |
| 2f940 | 6e 74 65 72 6e 20 6b 65 79 2d 72 65 70 6c 2d 73 74 72 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 | ntern.key-repl-str)))))......... |
| 2f960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 72 | .........................(when.r |
| 2f980 | 65 70 6c 2d 70 61 69 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | epl-pair........................ |
| 2f9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 | ............;;.(message."[ox-hug |
| 2f9c0 | 6f 20 70 61 69 72 20 44 42 47 5d 20 25 53 22 20 70 61 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 | o.pair.DBG].%S".pair)........... |
| 2f9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | .........................;;.(mes |
| 2fa00 | 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 72 65 70 6c 2d 70 61 69 72 20 44 42 47 5d 20 25 53 | sage."[ox-hugo.repl-pair.DBG].%S |
| 2fa20 | 22 20 72 65 70 6c 2d 70 61 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".repl-pair).................... |
| 2fa40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 | ................;;.(message."[ox |
| 2fa60 | 2d 68 75 67 6f 20 72 65 70 6c 2d 70 61 69 72 20 63 61 72 20 44 42 47 5d 20 25 53 22 20 28 63 61 | -hugo.repl-pair.car.DBG].%S".(ca |
| 2fa80 | 72 20 72 65 70 6c 2d 70 61 69 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.repl-pair))................... |
| 2faa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f | .................;;.(message."[o |
| 2fac0 | 78 2d 68 75 67 6f 20 72 65 70 6c 2d 70 61 69 72 20 63 64 72 20 44 42 47 5d 20 25 53 22 20 28 63 | x-hugo.repl-pair.cdr.DBG].%S".(c |
| 2fae0 | 64 72 20 72 65 70 6c 2d 70 61 69 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dr.repl-pair)).................. |
| 2fb00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 72 65 70 6c 2d 70 61 69 | ..................(push.repl-pai |
| 2fb20 | 72 20 61 6c 69 73 74 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.alist))))).................... |
| 2fb40 | 20 20 20 20 20 20 20 20 61 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | ........alist))).........;;.(mes |
| 2fb60 | 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 72 65 70 6c 61 63 65 2d 6b 65 79 20 6c 69 73 74 20 | sage."[ox-hugo.replace-key.list. |
| 2fb80 | 44 42 47 5d 20 25 53 22 20 72 65 70 6c 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 | DBG].%S".repl-list).........;;.( |
| 2fba0 | 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 72 65 70 6c 61 63 65 2d 6b 65 79 20 61 6c | message."[ox-hugo.replace-key.al |
| 2fbc0 | 69 73 74 20 44 42 47 5d 20 25 53 22 20 72 65 70 6c 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 | ist.DBG].%S".repl-alist)........ |
| 2fbe0 | 20 28 64 6f 6c 69 73 74 20 28 72 65 70 6c 20 72 65 70 6c 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 | .(dolist.(repl.repl-alist)...... |
| 2fc00 | 20 20 20 20 20 28 6c 65 74 20 28 28 6b 65 79 2d 6f 72 69 67 20 28 63 61 72 20 72 65 70 6c 29 29 | .....(let.((key-orig.(car.repl)) |
| 2fc20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6b 65 79 2d 72 65 70 6c 20 28 63 64 72 20 | .................(key-repl.(cdr. |
| 2fc40 | 72 65 70 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 6f 75 6e 64 | repl))).............(let.((found |
| 2fc60 | 2d 6b 65 79 2d 63 65 6c 6c 20 28 61 73 73 6f 63 20 6b 65 79 2d 6f 72 69 67 20 64 61 74 61 29 29 | -key-cell.(assoc.key-orig.data)) |
| 2fc80 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 66 6f 75 6e 64 2d 6b 65 79 2d | )...............(when.found-key- |
| 2fca0 | 63 65 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 | cell.................;;.(message |
| 2fcc0 | 20 22 5b 6f 78 2d 68 75 67 6f 20 72 65 70 6c 61 63 65 2d 6b 65 79 20 66 6f 75 6e 64 2d 6b 65 79 | ."[ox-hugo.replace-key.found-key |
| 2fce0 | 2d 63 65 6c 6c 20 44 42 47 5d 20 25 53 22 20 66 6f 75 6e 64 2d 6b 65 79 2d 63 65 6c 6c 29 0a 20 | -cell.DBG].%S".found-key-cell).. |
| 2fd00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d | ...............;;.(message."[ox- |
| 2fd20 | 68 75 67 6f 20 72 65 70 6c 61 63 65 2d 6b 65 79 20 6b 65 79 2d 6f 72 69 67 20 44 42 47 5d 20 25 | hugo.replace-key.key-orig.DBG].% |
| 2fd40 | 53 22 20 6b 65 79 2d 6f 72 69 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | S".key-orig).................;;. |
| 2fd60 | 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 72 65 70 6c 61 63 65 2d 6b 65 79 20 6b | (message."[ox-hugo.replace-key.k |
| 2fd80 | 65 79 2d 72 65 70 6c 20 44 42 47 5d 20 25 53 22 20 6b 65 79 2d 72 65 70 6c 29 0a 20 20 20 20 20 | ey-repl.DBG].%S".key-repl)...... |
| 2fda0 | 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 22 6e 69 6c 22 20 6b 65 | ...........(if.(string=."nil".ke |
| 2fdc0 | 79 2d 72 65 70 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 | y-repl).....................;;.S |
| 2fde0 | 65 74 74 69 6e 67 20 76 61 6c 75 65 20 6f 66 20 61 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 6b | etting.value.of.a.front-matter.k |
| 2fe00 | 65 79 20 74 6f 20 6e 69 6c 20 77 69 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ey.to.nil.will.................. |
| 2fe20 | 20 20 20 3b 3b 20 63 61 75 73 65 20 74 68 61 74 20 6b 65 79 20 74 6f 20 62 65 20 72 65 6d 6f 76 | ...;;.cause.that.key.to.be.remov |
| 2fe40 | 65 64 20 64 75 72 69 6e 67 20 65 78 70 6f 72 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ed.during.export................ |
| 2fe60 | 20 20 20 20 20 20 3b 3b 20 53 65 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 6e 2d 66 72 6f 6e | ......;;.See.`org-hugo--gen-fron |
| 2fe80 | 74 2d 6d 61 74 74 65 72 27 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | t-matter'......................( |
| 2fea0 | 73 65 74 66 20 28 63 64 72 20 66 6f 75 6e 64 2d 6b 65 79 2d 63 65 6c 6c 29 20 6e 69 6c 29 0a 20 | setf.(cdr.found-key-cell).nil).. |
| 2fec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 65 6d 61 63 | .................;;.https://emac |
| 2fee0 | 73 2e 73 74 61 63 6b 65 78 63 68 61 6e 67 65 2e 63 6f 6d 2f 61 2f 33 33 39 38 2f 31 31 35 0a 20 | s.stackexchange.com/a/3398/115.. |
| 2ff00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 66 20 28 63 61 72 20 66 6f 75 6e | .................(setf.(car.foun |
| 2ff20 | 64 2d 6b 65 79 2d 63 65 6c 6c 29 20 6b 65 79 2d 72 65 70 6c 29 29 29 29 29 29 29 29 0a 20 20 20 | d-key-cell).key-repl)))))))).... |
| 2ff40 | 20 64 61 74 61 29 29 0a 0a 3b 3b 3b 3b 20 54 4f 44 4f 20 6b 65 79 77 6f 72 64 73 0a 28 64 65 66 | .data))..;;;;.TODO.keywords.(def |
| 2ff60 | 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 6f 64 6f 20 28 74 6f 64 6f 20 69 6e 66 6f 29 0a 20 20 | un.org-hugo--todo.(todo.info)... |
| 2ff80 | 22 46 6f 72 6d 61 74 20 54 4f 44 4f 20 6b 65 79 77 6f 72 64 73 20 69 6e 74 6f 20 48 54 4d 4c 2e | "Format.TODO.keywords.into.HTML. |
| 2ffa0 | 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 61 6c 6d 6f 73 74 20 6c 69 6b 65 20 60 | ..This.function.is.almost.like.` |
| 2ffc0 | 6f 72 67 2d 68 74 6d 6c 2d 2d 74 6f 64 6f 27 20 65 78 63 65 70 74 20 74 68 61 74 3a 0a 2d 20 41 | org-html--todo'.except.that:.-.A |
| 2ffe0 | 6e 20 5c 22 6f 72 67 2d 74 6f 64 6f 5c 22 20 63 6c 61 73 73 20 69 73 20 61 6c 77 61 79 73 20 61 | n.\"org-todo\".class.is.always.a |
| 30000 | 64 64 65 64 20 74 6f 20 74 68 65 20 73 70 61 6e 20 65 6c 65 6d 65 6e 74 2e 0a 2d 20 60 6f 72 67 | dded.to.the.span.element..-.`org |
| 30020 | 2d 68 75 67 6f 2d 2d 72 65 70 6c 61 63 65 2d 75 6e 64 65 72 73 63 6f 72 65 73 2d 77 69 74 68 2d | -hugo--replace-underscores-with- |
| 30040 | 73 70 61 63 65 73 27 20 69 73 20 75 73 65 64 20 74 6f 20 72 65 70 6c 61 63 65 0a 20 20 64 6f 75 | spaces'.is.used.to.replace...dou |
| 30060 | 62 6c 65 2d 75 6e 64 65 72 73 63 6f 72 65 73 20 69 6e 20 54 4f 44 4f 20 77 69 74 68 20 73 70 61 | ble-underscores.in.TODO.with.spa |
| 30080 | 63 65 73 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 | ces...INFO.is.a.plist.used.as.a. |
| 300a0 | 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 77 68 65 6e 20 | communication.channel."...(when. |
| 300c0 | 74 6f 64 6f 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 44 42 47 20 74 6f 64 6f 5d | todo.....;;.(message."[DBG.todo] |
| 300e0 | 20 74 6f 64 6f 3a 20 25 53 22 20 74 6f 64 6f 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 | .todo:.%S".todo).....;;.(message |
| 30100 | 20 22 5b 44 42 47 20 74 6f 64 6f 5d 20 6f 72 67 2d 64 6f 6e 65 2d 6b 65 79 77 6f 72 64 73 3a 20 | ."[DBG.todo].org-done-keywords:. |
| 30120 | 25 53 22 20 6f 72 67 2d 64 6f 6e 65 2d 6b 65 79 77 6f 72 64 73 29 0a 20 20 20 20 3b 3b 20 28 6d | %S".org-done-keywords).....;;.(m |
| 30140 | 65 73 73 61 67 65 20 22 5b 44 42 47 20 74 6f 64 6f 5d 20 69 73 20 61 20 64 6f 6e 65 20 6b 65 79 | essage."[DBG.todo].is.a.done.key |
| 30160 | 77 6f 72 64 3f 20 25 53 22 20 28 6d 65 6d 62 65 72 20 74 6f 64 6f 20 6f 72 67 2d 64 6f 6e 65 2d | word?.%S".(member.todo.org-done- |
| 30180 | 6b 65 79 77 6f 72 64 73 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 44 42 47 | keywords)).....;;.(message."[DBG |
| 301a0 | 20 74 6f 64 6f 5d 20 68 74 6d 6c 2d 74 6f 64 6f 2d 6b 77 64 2d 63 6c 61 73 73 2d 70 72 65 66 69 | .todo].html-todo-kwd-class-prefi |
| 301c0 | 78 3a 20 25 53 22 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 74 6f 64 | x:.%S".(plist-get.info.:html-tod |
| 301e0 | 6f 2d 6b 77 64 2d 63 6c 61 73 73 2d 70 72 65 66 69 78 29 29 0a 20 20 20 20 28 66 6f 72 6d 61 74 | o-kwd-class-prefix)).....(format |
| 30200 | 20 22 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 6f 72 67 2d 74 6f 64 6f 20 25 73 20 25 73 25 73 | ."<span.class=\"org-todo.%s.%s%s |
| 30220 | 5c 22 3e 25 73 3c 2f 73 70 61 6e 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6d | \">%s</span>".............(if.(m |
| 30240 | 65 6d 62 65 72 20 74 6f 64 6f 20 6f 72 67 2d 64 6f 6e 65 2d 6b 65 79 77 6f 72 64 73 29 20 22 64 | ember.todo.org-done-keywords)."d |
| 30260 | 6f 6e 65 22 20 22 74 6f 64 6f 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6f 72 | one"."todo").............(or.(or |
| 30280 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 | g-string-nw-p.(plist-get.info.:h |
| 302a0 | 74 6d 6c 2d 74 6f 64 6f 2d 6b 77 64 2d 63 6c 61 73 73 2d 70 72 65 66 69 78 29 29 20 22 22 29 0a | tml-todo-kwd-class-prefix)).""). |
| 302c0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 66 69 78 2d 63 6c 61 73 73 2d | ............(org-html-fix-class- |
| 302e0 | 6e 61 6d 65 20 74 6f 64 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f | name.todo).............(org-hugo |
| 30300 | 2d 2d 72 65 70 6c 61 63 65 2d 75 6e 64 65 72 73 63 6f 72 65 73 2d 77 69 74 68 2d 73 70 61 63 65 | --replace-underscores-with-space |
| 30320 | 73 20 74 6f 64 6f 29 29 29 29 0a 0a 3b 3b 3b 3b 20 50 61 72 73 65 20 64 72 61 66 74 20 73 74 61 | s.todo))))..;;;;.Parse.draft.sta |
| 30340 | 74 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 64 72 61 66 74 2d | te.(defun.org-hugo--parse-draft- |
| 30360 | 73 74 61 74 65 20 28 69 6e 66 6f 29 0a 20 20 22 50 61 72 73 65 20 74 68 65 20 64 72 61 66 74 20 | state.(info)..."Parse.the.draft. |
| 30380 | 73 74 61 74 65 20 6f 66 20 74 68 65 20 70 6f 73 74 20 68 65 61 64 69 6e 67 20 61 74 20 70 6f 69 | state.of.the.post.heading.at.poi |
| 303a0 | 6e 74 2e 0a 0a 52 65 74 75 72 6e 20 61 20 5c 22 74 72 75 65 5c 22 20 6f 72 20 5c 22 66 61 6c 73 | nt...Return.a.\"true\".or.\"fals |
| 303c0 | 65 5c 22 20 73 74 72 69 6e 67 2e 0a 0a 46 6f 72 20 70 65 72 2d 73 75 62 74 72 65 65 20 65 78 70 | e\".string...For.per-subtree.exp |
| 303e0 | 6f 72 74 20 66 6c 6f 77 2c 20 74 68 65 20 64 72 61 66 74 20 73 74 61 74 65 20 70 61 72 73 65 64 | ort.flow,.the.draft.state.parsed |
| 30400 | 20 66 72 6f 6d 20 74 68 65 20 4f 72 67 0a 54 4f 44 4f 20 73 74 61 74 65 20 68 61 73 20 61 20 68 | .from.the.Org.TODO.state.has.a.h |
| 30420 | 69 67 68 65 72 20 70 72 65 63 65 64 65 6e 63 65 20 74 68 61 6e 20 74 68 65 20 76 61 6c 75 65 20 | igher.precedence.than.the.value. |
| 30440 | 6f 66 20 48 55 47 4f 5f 44 52 41 46 54 0a 6b 65 79 77 6f 72 64 2f 70 72 6f 70 65 72 74 79 2e 0a | of.HUGO_DRAFT.keyword/property.. |
| 30460 | 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 | .INFO.is.a.plist.used.as.a.commu |
| 30480 | 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 74 6f 64 | nication.channel."...(let*.((tod |
| 304a0 | 6f 2d 6b 65 79 77 6f 72 64 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 | o-keyword.(org-entry-get.(point) |
| 304c0 | 20 22 54 4f 44 4f 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 72 61 66 74 20 28 63 6f 6e 64 0a | ."TODO"))..........(draft.(cond. |
| 304e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 70 20 74 6f 64 6f 2d | .................((stringp.todo- |
| 30500 | 6b 65 79 77 6f 72 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 | keyword)...................(if.( |
| 30520 | 6d 65 6d 62 65 72 20 74 6f 64 6f 2d 6b 65 79 77 6f 72 64 20 6f 72 67 2d 64 6f 6e 65 2d 6b 65 79 | member.todo-keyword.org-done-key |
| 30540 | 77 6f 72 64 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c | words).......................nil |
| 30560 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 | .....................(progn..... |
| 30580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 3d | ..................(when.(string= |
| 305a0 | 20 22 44 52 41 46 54 22 20 74 6f 64 6f 2d 6b 65 79 77 6f 72 64 29 0a 20 20 20 20 20 20 20 20 20 | ."DRAFT".todo-keyword).......... |
| 305c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 69 74 6c 65 20 28 6f 72 67 | ...............(let.((title.(org |
| 305e0 | 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 49 54 45 4d 22 29 29 29 20 3b 50 6f | -entry-get.(point)."ITEM"))).;Po |
| 30600 | 73 74 20 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st.title........................ |
| 30620 | 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 60 25 73 27 20 70 6f 73 74 | ...(message."[ox-hugo].`%s'.post |
| 30640 | 20 69 73 20 6d 61 72 6b 65 64 20 61 73 20 61 20 44 52 41 46 54 22 20 74 69 74 6c 65 29 29 29 0a | .is.marked.as.a.DRAFT".title))). |
| 30660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 29 29 29 0a 20 20 20 20 20 | ......................t)))...... |
| 30680 | 20 20 20 20 20 20 20 20 20 20 20 20 28 3b 3b 20 49 66 20 74 68 65 20 48 55 47 4f 5f 44 52 41 46 | ............(;;.If.the.HUGO_DRAF |
| 306a0 | 54 20 6b 65 79 77 6f 72 64 2f 70 72 6f 70 65 72 74 79 20 2a 69 73 2a 20 73 65 74 2c 20 62 75 74 | T.keyword/property.*is*.set,.but |
| 306c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 6f 74 20 74 6f 20 6e 69 6c | ...................;;.not.to.nil |
| 306e0 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 69 | ....................(plist-get.i |
| 30700 | 6e 66 6f 20 3a 68 75 67 6f 2d 64 72 61 66 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nfo.:hugo-draft)................ |
| 30720 | 20 20 20 28 6c 65 74 2a 20 28 28 64 72 61 66 74 2d 31 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 72 | ...(let*.((draft-1.(org-hugo--fr |
| 30740 | 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 28 70 6c 69 | ont-matter-value-booleanize.(pli |
| 30760 | 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 64 72 61 66 74 29 29 29 0a 20 20 20 20 20 | st-get.info.:hugo-draft)))...... |
| 30780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 73 2d 64 72 61 66 74 20 28 69 | ....................(is-draft.(i |
| 307a0 | 66 20 28 73 74 72 69 6e 67 3d 20 22 74 72 75 65 22 20 64 72 61 66 74 2d 31 29 20 74 20 6e 69 6c | f.(string=."true".draft-1).t.nil |
| 307c0 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 69 73 | ))).....................(when.is |
| 307e0 | 2d 64 72 61 66 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 | -draft.......................(le |
| 30800 | 74 2a 20 28 28 65 6e 74 72 79 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 74 2d 70 6f 69 6e 74 | t*.((entry.(org-element-at-point |
| 30820 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............................. |
| 30840 | 28 69 73 2d 73 75 62 74 72 65 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 | (is-subtree.(org-element-propert |
| 30860 | 79 20 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 65 6e 74 72 79 29 29 0a 20 20 20 20 | y.:EXPORT_FILE_NAME.entry))..... |
| 30880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 20 | .........................(title. |
| 308a0 | 28 69 66 20 69 73 2d 73 75 62 74 72 65 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (if.is-subtree.................. |
| 308c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6e 74 72 | .......................(org-entr |
| 308e0 | 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 49 54 45 4d 22 29 0a 20 20 20 20 20 20 20 20 20 20 | y-get.(point)."ITEM")........... |
| 30900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 | ............................(or. |
| 30920 | 28 63 61 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 74 69 74 6c 65 29 29 20 22 3c | (car.(plist-get.info.:title))."< |
| 30940 | 45 4d 50 54 59 20 54 49 54 4c 45 3e 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | EMPTY.TITLE>"))))............... |
| 30960 | 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 60 25 | ..........(message."[ox-hugo].`% |
| 30980 | 73 27 20 70 6f 73 74 20 69 73 20 6d 61 72 6b 65 64 20 61 73 20 61 20 44 52 41 46 54 22 20 74 69 | s'.post.is.marked.as.a.DRAFT".ti |
| 309a0 | 74 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 2d 64 72 | tle))).....................is-dr |
| 309c0 | 61 66 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 20 3b 4e 65 69 74 68 | aft))..................(t.;Neith |
| 309e0 | 65 72 20 6f 66 20 4f 72 67 20 54 4f 44 4f 20 73 74 61 74 65 20 61 6e 64 20 48 55 47 4f 5f 44 52 | er.of.Org.TODO.state.and.HUGO_DR |
| 30a00 | 41 46 54 20 6b 65 79 77 6f 72 64 2f 70 72 6f 70 65 72 74 79 20 61 72 65 20 73 65 74 0a 20 20 20 | AFT.keyword/property.are.set.... |
| 30a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 | ...............nil)))..........( |
| 30a40 | 64 72 61 66 74 2d 62 6f 6f 6c 2d 73 74 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 72 6f 6e 74 2d | draft-bool-str.(org-hugo--front- |
| 30a60 | 6d 61 74 74 65 72 2d 76 61 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 28 73 79 6d 62 6f 6c 2d | matter-value-booleanize.(symbol- |
| 30a80 | 6e 61 6d 65 20 64 72 61 66 74 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | name.draft)))).....;;.(message." |
| 30aa0 | 64 62 67 3a 20 64 72 61 66 74 2d 73 74 61 74 65 3a 20 74 6f 64 6f 20 6b 65 79 77 6f 72 64 3d 25 | dbg:.draft-state:.todo.keyword=% |
| 30ac0 | 53 20 48 55 47 4f 5f 44 52 41 46 54 3d 25 53 20 64 72 61 66 74 3d 25 53 22 0a 20 20 20 20 3b 3b | S.HUGO_DRAFT=%S.draft=%S".....;; |
| 30ae0 | 20 20 20 20 20 20 20 20 20 20 74 6f 64 6f 2d 6b 65 79 77 6f 72 64 20 28 70 6c 69 73 74 2d 67 65 | ..........todo-keyword.(plist-ge |
| 30b00 | 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 64 72 61 66 74 29 20 64 72 61 66 74 2d 62 6f 6f 6c 2d 73 | t.info.:hugo-draft).draft-bool-s |
| 30b20 | 74 72 29 0a 20 20 20 20 64 72 61 66 74 2d 62 6f 6f 6c 2d 73 74 72 29 29 0a 0a 3b 3b 3b 3b 20 43 | tr).....draft-bool-str))..;;;;.C |
| 30b40 | 68 65 63 6b 20 69 66 20 50 61 6e 64 6f 63 20 43 69 74 61 74 69 6f 6e 73 20 70 61 72 73 69 6e 67 | heck.if.Pandoc.Citations.parsing |
| 30b60 | 20 69 73 20 6e 65 65 64 65 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 6e 64 | .is.needed.(defun.org-hugo--pand |
| 30b80 | 6f 63 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 70 20 28 69 6e 66 6f 29 0a 20 20 | oc-citations-enabled-p.(info)... |
| 30ba0 | 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 50 61 6e 64 6f 63 20 43 69 74 61 74 69 | "Return.non-nil.if.Pandoc.Citati |
| 30bc0 | 6f 6e 20 70 61 72 73 69 6e 67 20 69 73 20 65 6e 61 62 6c 65 64 2e 0a 0a 49 4e 46 4f 20 69 73 20 | on.parsing.is.enabled...INFO.is. |
| 30be0 | 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 | a.plist.used.as.a.communication. |
| 30c00 | 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 6e 64 6f 63 2d 63 69 74 61 74 | channel."...(let*.((pandoc-citat |
| 30c20 | 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 2d 70 72 6f 70 2d 76 61 6c 0a 20 20 20 20 20 20 20 20 20 | ions-enabled--prop-val.......... |
| 30c40 | 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 4f | .(org-entry-get.nil."EXPORT_HUGO |
| 30c60 | 5f 50 41 4e 44 4f 43 5f 43 49 54 41 54 49 4f 4e 53 22 20 3a 69 6e 68 65 72 69 74 20 3a 6c 69 74 | _PANDOC_CITATIONS".:inherit.:lit |
| 30c80 | 65 72 61 6c 2d 6e 69 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 6e 64 6f 63 2d 63 69 74 61 | eral-nil))..........(pandoc-cita |
| 30ca0 | 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 2d 70 6c 69 73 74 2d 76 61 6c 0a 20 20 20 20 20 20 20 | tions-enabled--plist-val........ |
| 30cc0 | 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 | ...(org-hugo--plist-get-true-p.i |
| 30ce0 | 6e 66 6f 20 3a 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 29 29 0a 20 20 20 | nfo.:hugo-pandoc-citations)).... |
| 30d00 | 20 20 20 20 20 20 28 70 61 6e 64 6f 63 2d 65 6e 61 62 6c 65 64 20 28 6f 72 20 70 61 6e 64 6f 63 | ......(pandoc-enabled.(or.pandoc |
| 30d20 | 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 2d 70 72 6f 70 2d 76 61 6c 0a 20 20 20 | -citations-enabled--prop-val.... |
| 30d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 6e 64 6f 63 | ..........................pandoc |
| 30d60 | 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 2d 70 6c 69 73 74 2d 76 61 6c 29 29 0a | -citations-enabled--plist-val)). |
| 30d80 | 20 20 20 20 20 20 20 20 20 28 70 61 6e 64 6f 63 2d 65 6e 61 62 6c 65 64 2d 62 6f 6f 6c 20 28 6f | .........(pandoc-enabled-bool.(o |
| 30da0 | 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 74 2d 74 72 75 65 2d 70 20 70 61 6e 64 6f 63 | rg-hugo--value-get-true-p.pandoc |
| 30dc0 | 2d 65 6e 61 62 6c 65 64 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 | -enabled))).....;;.(message."[ox |
| 30de0 | 2d 68 75 67 6f 20 44 42 47 20 70 61 6e 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c | -hugo.DBG.pandoc-citations-enabl |
| 30e00 | 65 64 2d 2d 70 72 6f 70 2d 76 61 6c 5d 20 25 53 22 20 70 61 6e 64 6f 63 2d 63 69 74 61 74 69 6f | ed--prop-val].%S".pandoc-citatio |
| 30e20 | 6e 73 2d 65 6e 61 62 6c 65 64 2d 2d 70 72 6f 70 2d 76 61 6c 29 0a 20 20 20 20 3b 3b 20 28 6d 65 | ns-enabled--prop-val).....;;.(me |
| 30e40 | 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 70 61 6e 64 6f 63 2d 63 69 74 61 74 | ssage."[ox-hugo.DBG.pandoc-citat |
| 30e60 | 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 2d 70 6c 69 73 74 2d 76 61 6c 5d 20 25 53 22 20 70 61 6e | ions-enabled--plist-val].%S".pan |
| 30e80 | 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 2d 70 6c 69 73 74 2d 76 61 6c | doc-citations-enabled--plist-val |
| 30ea0 | 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 | ).....;;.(message."[ox-hugo.DBG. |
| 30ec0 | 70 61 6e 64 6f 63 2d 65 6e 61 62 6c 65 64 2d 62 6f 6f 6c 5d 20 25 53 22 20 70 61 6e 64 6f 63 2d | pandoc-enabled-bool].%S".pandoc- |
| 30ee0 | 65 6e 61 62 6c 65 64 2d 62 6f 6f 6c 29 0a 20 20 20 20 70 61 6e 64 6f 63 2d 65 6e 61 62 6c 65 64 | enabled-bool).....pandoc-enabled |
| 30f00 | 2d 62 6f 6f 6c 29 29 0a 0a 3b 3b 3b 3b 20 47 65 74 20 61 20 70 72 6f 70 65 72 74 79 20 76 61 6c | -bool))..;;;;.Get.a.property.val |
| 30f20 | 75 65 20 61 6e 64 20 63 6f 6e 63 61 74 20 69 74 20 77 69 74 68 20 69 74 73 20 70 61 72 65 6e 74 | ue.and.concat.it.with.its.parent |
| 30f40 | 20 76 61 6c 75 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 65 6e 74 72 79 2d 67 65 | .value.(defun.org-hugo--entry-ge |
| 30f60 | 74 2d 63 6f 6e 63 61 74 20 28 70 6f 6d 20 70 72 6f 70 65 72 74 79 20 26 6f 70 74 69 6f 6e 61 6c | t-concat.(pom.property.&optional |
| 30f80 | 20 73 65 70 29 0a 20 20 22 43 6f 6e 63 61 74 65 6e 61 74 65 20 61 6e 20 4f 72 67 20 50 72 6f 70 | .sep)..."Concatenate.an.Org.Prop |
| 30fa0 | 65 72 74 79 20 76 61 6c 75 65 20 77 69 74 68 20 69 74 73 20 69 6e 68 65 72 69 74 65 64 20 76 61 | erty.value.with.its.inherited.va |
| 30fc0 | 6c 75 65 2e 0a 0a 47 65 74 20 76 61 6c 75 65 20 6f 66 20 50 52 4f 50 45 52 54 59 20 66 6f 72 20 | lue...Get.value.of.PROPERTY.for. |
| 30fe0 | 65 6e 74 72 79 20 6f 72 20 63 6f 6e 74 65 6e 74 20 61 74 20 70 6f 69 6e 74 2d 6f 72 2d 6d 61 72 | entry.or.content.at.point-or-mar |
| 31000 | 6b 65 72 0a 50 4f 4d 2e 20 20 49 66 20 61 20 70 61 72 65 6e 74 20 73 75 62 74 72 65 65 20 68 61 | ker.POM...If.a.parent.subtree.ha |
| 31020 | 73 20 74 68 65 20 73 61 6d 65 20 50 52 4f 50 45 52 54 59 20 73 65 74 2c 20 61 70 70 65 6e 64 20 | s.the.same.PROPERTY.set,.append. |
| 31040 | 74 68 65 0a 63 75 72 72 65 6e 74 20 70 72 6f 70 65 72 74 79 20 76 61 6c 75 65 20 74 6f 20 74 68 | the.current.property.value.to.th |
| 31060 | 61 74 2c 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 68 65 20 6f 70 74 69 6f 6e 61 6c 20 53 45 50 2e 0a | at,.following.the.optional.SEP.. |
| 31080 | 0a 53 45 50 20 69 73 20 74 68 65 20 63 6f 6e 63 61 74 65 6e 61 74 69 6f 6e 20 73 65 70 61 72 61 | .SEP.is.the.concatenation.separa |
| 310a0 | 74 6f 72 20 73 74 72 69 6e 67 2e 20 20 49 66 20 69 74 20 69 73 20 6e 69 6c 2c 20 69 74 0a 64 65 | tor.string...If.it.is.nil,.it.de |
| 310c0 | 66 61 75 6c 74 73 20 74 6f 20 5c 22 5c 22 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 | faults.to.\"\"...This.function.i |
| 310e0 | 6e 74 65 72 6e 61 6c 6c 79 20 63 61 6c 6c 73 20 60 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 27 20 | nternally.calls.`org-entry-get'. |
| 31100 | 77 69 74 68 20 69 74 73 20 49 4e 48 45 52 49 54 0a 61 72 67 75 6d 65 6e 74 20 73 65 74 20 74 6f | with.its.INHERIT.argument.set.to |
| 31120 | 20 6e 6f 6e 2d 6e 69 6c 20 61 6e 64 20 74 68 65 20 4c 49 54 45 52 41 4c 2d 4e 49 4c 20 61 72 67 | .non-nil.and.the.LITERAL-NIL.arg |
| 31140 | 75 6d 65 6e 74 20 73 65 74 20 74 6f 20 6e 69 6c 2e 0a 0a 49 66 20 74 68 65 20 70 72 6f 70 65 72 | ument.set.to.nil...If.the.proper |
| 31160 | 74 79 20 69 73 20 70 72 65 73 65 6e 74 20 62 75 74 20 65 6d 70 74 79 2c 20 74 68 65 20 72 65 74 | ty.is.present.but.empty,.the.ret |
| 31180 | 75 72 6e 20 76 61 6c 75 65 20 69 73 20 74 68 65 0a 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 20 20 | urn.value.is.the.empty.string... |
| 311a0 | 49 66 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 6f 74 20 70 72 65 73 65 6e 74 20 61 | If.the.property.is.not.present.a |
| 311c0 | 74 20 61 6c 6c 2c 20 6e 69 6c 20 69 73 0a 72 65 74 75 72 6e 65 64 2e 20 20 49 6e 20 61 6e 79 20 | t.all,.nil.is.returned...In.any. |
| 311e0 | 6f 74 68 65 72 20 63 61 73 65 2c 20 72 65 74 75 72 6e 20 74 68 65 20 76 61 6c 75 65 20 61 73 20 | other.case,.return.the.value.as. |
| 31200 | 61 20 73 74 72 69 6e 67 2e 0a 53 65 61 72 63 68 20 69 73 20 63 61 73 65 2d 69 6e 73 65 6e 73 69 | a.string..Search.is.case-insensi |
| 31220 | 74 69 76 65 2e 22 0a 20 20 28 6c 65 74 20 28 28 73 65 70 20 28 6f 72 20 73 65 70 20 22 22 29 29 | tive."...(let.((sep.(or.sep."")) |
| 31240 | 0a 20 20 20 20 20 20 20 20 28 76 61 6c 75 65 2d 6e 6f 2d 63 6f 6e 63 61 74 20 28 6f 72 67 2d 65 | .........(value-no-concat.(org-e |
| 31260 | 6e 74 72 79 2d 67 65 74 20 70 6f 6d 20 70 72 6f 70 65 72 74 79 20 3a 69 6e 68 65 72 69 74 29 29 | ntry-get.pom.property.:inherit)) |
| 31280 | 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 65 63 74 | ).....;;.(message."[ox-hugo.sect |
| 312a0 | 69 6f 6e 20 63 6f 6e 63 61 74 20 44 42 47 5d 20 76 61 6c 75 65 2d 6e 6f 2d 63 6f 6e 63 61 74 3a | ion.concat.DBG].value-no-concat: |
| 312c0 | 20 25 53 22 20 76 61 6c 75 65 2d 6e 6f 2d 63 6f 6e 63 61 74 29 0a 20 20 20 20 28 69 66 20 76 61 | .%S".value-no-concat).....(if.va |
| 312e0 | 6c 75 65 2d 6e 6f 2d 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 3b 3b 20 47 65 74 20 74 68 65 | lue-no-concat.........;;.Get.the |
| 31300 | 20 76 61 6c 75 65 20 6f 66 20 50 52 4f 50 45 52 54 59 20 66 72 6f 6d 20 74 68 65 20 70 61 72 65 | .value.of.PROPERTY.from.the.pare |
| 31320 | 6e 74 20 72 65 6c 61 74 69 76 65 20 74 6f 0a 20 20 20 20 20 20 20 20 3b 3b 20 63 75 72 72 65 6e | nt.relative.to.........;;.curren |
| 31340 | 74 20 70 6f 69 6e 74 2e 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 76 61 6c 75 65 2d 68 65 | t.point..........(let.((value-he |
| 31360 | 72 65 2d 6e 6f 2d 69 6e 68 65 72 69 74 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 70 6f 6d | re-no-inherit.(org-entry-get.pom |
| 31380 | 20 70 72 6f 70 65 72 74 79 20 6e 69 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 | .property.nil))...............(v |
| 313a0 | 61 6c 75 65 2d 70 61 72 65 6e 74 20 28 6f 72 67 2d 77 69 74 68 2d 77 69 64 65 2d 62 75 66 66 65 | alue-parent.(org-with-wide-buffe |
| 313c0 | 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | r..............................( |
| 313e0 | 77 68 65 6e 20 28 6f 72 67 2d 75 70 2d 68 65 61 64 69 6e 67 2d 73 61 66 65 29 0a 20 20 20 20 20 | when.(org-up-heading-safe)...... |
| 31400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 | ..........................(org-h |
| 31420 | 75 67 6f 2d 2d 65 6e 74 72 79 2d 67 65 74 2d 63 6f 6e 63 61 74 20 6e 69 6c 20 70 72 6f 70 65 72 | ugo--entry-get-concat.nil.proper |
| 31440 | 74 79 20 73 65 70 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | ty.sep)))))...........;;.(messag |
| 31460 | 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 65 63 74 69 6f 6e 20 63 6f 6e 63 61 74 20 44 42 47 5d 20 | e."[ox-hugo.section.concat.DBG]. |
| 31480 | 76 61 6c 75 65 2d 68 65 72 65 2d 6e 6f 2d 69 6e 68 65 72 69 74 3a 20 25 53 22 20 76 61 6c 75 65 | value-here-no-inherit:.%S".value |
| 314a0 | 2d 68 65 72 65 2d 6e 6f 2d 69 6e 68 65 72 69 74 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 | -here-no-inherit)...........;;.( |
| 314c0 | 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 65 63 74 69 6f 6e 20 63 6f 6e 63 61 74 | message."[ox-hugo.section.concat |
| 314e0 | 20 44 42 47 5d 20 76 61 6c 75 65 2d 70 61 72 65 6e 74 3a 20 25 53 22 20 76 61 6c 75 65 2d 70 61 | .DBG].value-parent:.%S".value-pa |
| 31500 | 72 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 76 61 6c 75 65 2d 68 65 72 65 2d 6e | rent)...........(if.value-here-n |
| 31520 | 6f 2d 69 6e 68 65 72 69 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 | o-inherit...............(format. |
| 31540 | 22 25 73 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | "%s%s%s".......................( |
| 31560 | 6f 72 20 76 61 6c 75 65 2d 70 61 72 65 6e 74 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | or.value-parent."")............. |
| 31580 | 20 20 20 20 20 20 20 20 20 20 28 69 66 20 76 61 6c 75 65 2d 70 61 72 65 6e 74 0a 20 20 20 20 20 | ..........(if.value-parent...... |
| 315a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 61 6e 64 20 28 6f | .....................(if.(and.(o |
| 315c0 | 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 73 65 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | rg-string-nw-p.sep)............. |
| 315e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 73 | .......................(string-s |
| 31600 | 75 66 66 69 78 2d 70 20 73 65 70 20 76 61 6c 75 65 2d 70 61 72 65 6e 74 29 29 0a 20 20 20 20 20 | uffix-p.sep.value-parent))...... |
| 31620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 20 3b 44 6f 6e | ........................."".;Don |
| 31640 | 27 74 20 61 64 64 20 74 68 65 20 60 73 65 70 27 20 69 66 20 60 76 61 6c 75 65 2d 70 61 72 65 6e | 't.add.the.`sep'.if.`value-paren |
| 31660 | 74 27 20 61 6c 72 65 61 64 79 20 65 6e 64 73 20 77 69 74 68 20 74 68 61 74 20 60 73 65 70 27 0a | t'.already.ends.with.that.`sep'. |
| 31680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 70 29 | ............................sep) |
| 316a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 0a 20 20 20 | ........................."").... |
| 316c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 2d 6e 6f 2d 63 6f 6e 63 | ...................value-no-conc |
| 316e0 | 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 55 73 65 20 74 68 65 20 76 61 6c 75 65 | at).............;;.Use.the.value |
| 31700 | 20 66 72 6f 6d 20 70 61 72 65 6e 74 20 64 69 72 65 63 74 6c 79 20 69 66 20 74 68 65 20 70 72 6f | .from.parent.directly.if.the.pro |
| 31720 | 70 65 72 74 79 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 74 20 | perty.is.not.............;;.set. |
| 31740 | 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 2e 0a 20 20 20 20 20 20 20 20 | in.the.current.subtree.......... |
| 31760 | 20 20 20 20 76 61 6c 75 65 2d 70 61 72 65 6e 74 29 29 0a 20 20 20 20 20 20 6e 69 6c 29 29 29 0a | ....value-parent)).......nil))). |
| 31780 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 73 65 63 74 69 6f 6e 2d 70 61 | .(defun.org-hugo--get-section-pa |
| 317a0 | 74 68 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 48 75 67 6f 20 73 65 63 | th.(info)..."Return.the.Hugo.sec |
| 317c0 | 74 69 6f 6e 20 70 61 74 68 2e 0a 54 68 69 73 20 69 73 20 74 68 65 20 70 61 74 68 20 72 65 6c 61 | tion.path..This.is.the.path.rela |
| 317e0 | 74 69 76 65 20 74 6f 20 74 68 65 20 48 75 67 6f 20 5c 22 63 6f 6e 74 65 6e 74 5c 22 20 64 69 72 | tive.to.the.Hugo.\"content\".dir |
| 31800 | 65 63 74 6f 72 79 2e 0a 0a 49 66 20 74 68 65 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 | ectory...If.the.EXPORT_HUGO_SECT |
| 31820 | 49 4f 4e 5f 46 52 41 47 20 6b 65 79 77 6f 72 64 20 69 73 20 73 65 74 20 69 6e 20 74 68 65 20 63 | ION_FRAG.keyword.is.set.in.the.c |
| 31840 | 75 72 72 65 6e 74 20 6f 72 20 61 0a 70 61 72 65 6e 74 20 73 75 62 74 72 65 65 2c 20 72 65 74 75 | urrent.or.a.parent.subtree,.retu |
| 31860 | 72 6e 20 74 68 65 20 63 6f 6e 63 61 74 65 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 5c 22 48 55 | rn.the.concatenation.of.the.\"HU |
| 31880 | 47 4f 5f 53 45 43 54 49 4f 4e 5c 22 0a 61 6e 64 20 74 68 65 20 63 6f 6e 63 61 74 65 6e 61 74 65 | GO_SECTION\".and.the.concatenate |
| 318a0 | 64 20 5c 22 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5f 46 52 41 47 5c 22 20 76 | d.\"EXPORT_HUGO_SECTION_FRAG\".v |
| 318c0 | 61 6c 75 65 73 20 61 73 20 61 20 70 61 74 68 2e 0a 0a 45 6c 73 65 2c 20 72 65 74 75 72 6e 20 74 | alues.as.a.path...Else,.return.t |
| 318e0 | 68 65 20 5c 22 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5c 22 20 70 61 74 68 2e 0a 0a 54 68 65 20 66 | he.\"HUGO_SECTION\".path...The.f |
| 31900 | 75 6e 63 74 69 6f 6e 20 61 6c 77 61 79 73 20 72 65 74 75 72 6e 73 20 61 20 73 74 72 69 6e 67 2e | unction.always.returns.a.string. |
| 31920 | 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d | ..INFO.is.a.plist.used.as.a.comm |
| 31940 | 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 68 75 | unication.channel."...(let*.((hu |
| 31960 | 67 6f 2d 73 65 63 74 69 6f 6e 2d 70 72 6f 70 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e | go-section-prop.(org-entry-get.n |
| 31980 | 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 22 20 3a 69 6e 68 65 72 69 | il."EXPORT_HUGO_SECTION".:inheri |
| 319a0 | 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 75 67 6f 2d 73 65 63 74 69 6f 6e 2d 6b 77 64 20 28 | t))..........(hugo-section-kwd.( |
| 319c0 | 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 65 63 74 69 6f 6e 29 29 0a 20 | plist-get.info.:hugo-section)).. |
| 319e0 | 20 20 20 20 20 20 20 20 28 68 75 67 6f 2d 73 65 63 74 69 6f 6e 2d 66 72 61 67 2d 70 72 6f 70 20 | ........(hugo-section-frag-prop. |
| 31a00 | 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 4f 5f | (org-entry-get.nil."EXPORT_HUGO_ |
| 31a20 | 53 45 43 54 49 4f 4e 5f 46 52 41 47 22 20 3a 69 6e 68 65 72 69 74 29 29 0a 20 20 20 20 20 20 20 | SECTION_FRAG".:inherit))........ |
| 31a40 | 20 20 28 73 65 63 74 69 6f 6e 2d 70 61 74 68 2d 31 20 28 6f 72 20 68 75 67 6f 2d 73 65 63 74 69 | ..(section-path-1.(or.hugo-secti |
| 31a60 | 6f 6e 2d 70 72 6f 70 20 3b 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 20 67 65 74 | on-prop.;EXPORT_HUGO_SECTION.get |
| 31a80 | 73 20 68 69 67 68 65 72 20 70 72 65 63 65 64 65 6e 63 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 | s.higher.precedence............. |
| 31aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 75 67 6f 2d 73 65 63 74 69 6f 6e 2d 6b 77 | .................hugo-section-kw |
| 31ac0 | 64 29 29 20 3b 54 68 69 73 20 69 73 20 6d 61 69 6e 6c 79 20 74 6f 20 73 75 70 70 6f 72 74 20 70 | d)).;This.is.mainly.to.support.p |
| 31ae0 | 65 72 2d 66 69 6c 65 20 66 6c 6f 77 0a 20 20 20 20 20 20 20 20 20 73 65 63 74 69 6f 6e 2d 70 61 | er-file.flow..........section-pa |
| 31b00 | 74 68 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 65 | th).....;;.(message."[ox-hugo.se |
| 31b20 | 63 74 69 6f 6e 2d 70 61 74 68 20 44 42 47 5d 20 68 75 67 6f 2d 73 65 63 74 69 6f 6e 2d 70 72 6f | ction-path.DBG].hugo-section-pro |
| 31b40 | 70 3a 20 25 53 22 20 68 75 67 6f 2d 73 65 63 74 69 6f 6e 2d 70 72 6f 70 29 0a 20 20 20 20 3b 3b | p:.%S".hugo-section-prop).....;; |
| 31b60 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 | .(message."[ox-hugo.section-path |
| 31b80 | 20 44 42 47 5d 20 68 75 67 6f 2d 73 65 63 74 69 6f 6e 2d 6b 77 64 3a 20 25 53 22 20 68 75 67 6f | .DBG].hugo-section-kwd:.%S".hugo |
| 31ba0 | 2d 73 65 63 74 69 6f 6e 2d 6b 77 64 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | -section-kwd).....;;.(message."[ |
| 31bc0 | 6f 78 2d 68 75 67 6f 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 20 44 42 47 5d 20 68 75 67 6f 2d 73 | ox-hugo.section-path.DBG].hugo-s |
| 31be0 | 65 63 74 69 6f 6e 2d 66 72 61 67 2d 70 72 6f 70 3a 20 25 53 22 20 68 75 67 6f 2d 73 65 63 74 69 | ection-frag-prop:.%S".hugo-secti |
| 31c00 | 6f 6e 2d 66 72 61 67 2d 70 72 6f 70 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | on-frag-prop).....;;.(message."[ |
| 31c20 | 6f 78 2d 68 75 67 6f 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 20 44 42 47 5d 20 73 65 63 74 69 6f | ox-hugo.section-path.DBG].sectio |
| 31c40 | 6e 20 70 61 74 68 2d 31 3a 20 25 53 22 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 2d 31 29 0a 20 20 | n.path-1:.%S".section-path-1)... |
| 31c60 | 20 20 28 75 6e 6c 65 73 73 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 2d 31 0a 20 20 20 20 20 20 28 | ..(unless.section-path-1.......( |
| 31c80 | 75 73 65 72 2d 65 72 72 6f 72 20 22 49 74 20 69 73 20 6d 61 6e 64 61 74 6f 72 79 20 74 6f 20 73 | user-error."It.is.mandatory.to.s |
| 31ca0 | 65 74 20 74 68 65 20 48 55 47 4f 5f 53 45 43 54 49 4f 4e 20 70 72 6f 70 65 72 74 79 22 29 29 0a | et.the.HUGO_SECTION.property")). |
| 31cc0 | 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 68 75 67 6f 2d | ....(when.(org-string-nw-p.hugo- |
| 31ce0 | 73 65 63 74 69 6f 6e 2d 66 72 61 67 2d 70 72 6f 70 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 73 | section-frag-prop).......(setq.s |
| 31d00 | 65 63 74 69 6f 6e 2d 70 61 74 68 2d 31 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 | ection-path-1.............(conca |
| 31d20 | 74 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 73 65 63 74 69 6f | t.(file-name-as-directory.sectio |
| 31d40 | 6e 2d 70 61 74 68 2d 31 29 20 3b 41 64 64 20 74 72 61 69 6c 69 6e 67 20 73 6c 61 73 68 20 69 66 | n-path-1).;Add.trailing.slash.if |
| 31d60 | 20 61 62 73 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | .absent.....................(org |
| 31d80 | 2d 68 75 67 6f 2d 2d 65 6e 74 72 79 2d 67 65 74 2d 63 6f 6e 63 61 74 20 6e 69 6c 20 22 45 58 50 | -hugo--entry-get-concat.nil."EXP |
| 31da0 | 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5f 46 52 41 47 22 20 22 2f 22 29 29 29 29 0a 20 | ORT_HUGO_SECTION_FRAG"."/")))).. |
| 31dc0 | 20 20 20 28 73 65 74 71 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 20 28 66 69 6c 65 2d 6e 61 6d 65 | ...(setq.section-path.(file-name |
| 31de0 | 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 2d 31 29 29 0a 20 | -as-directory.section-path-1)).. |
| 31e00 | 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 65 63 74 69 6f 6e | ...;;.(message."[ox-hugo.section |
| 31e20 | 2d 70 61 74 68 20 44 42 47 5d 20 73 65 63 74 69 6f 6e 20 70 61 74 68 3a 20 25 53 22 20 73 65 63 | -path.DBG].section.path:.%S".sec |
| 31e40 | 74 69 6f 6e 2d 70 61 74 68 29 0a 20 20 20 20 73 65 63 74 69 6f 6e 2d 70 61 74 68 29 29 0a 0a 3b | tion-path).....section-path))..; |
| 31e60 | 3b 3b 3b 20 47 65 74 20 4c 61 6e 67 75 61 67 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f | ;;;.Get.Language.(defun.org-hugo |
| 31e80 | 2d 2d 67 65 74 2d 6c 61 6e 67 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 | --get-lang.(info)..."Return.the. |
| 31ea0 | 6c 61 6e 67 75 61 67 65 20 75 73 65 64 20 66 6f 72 20 74 68 65 20 63 6f 6e 74 65 6e 74 2e 0a 0a | language.used.for.the.content... |
| 31ec0 | 54 68 65 20 72 65 74 75 72 6e 65 64 20 76 61 6c 75 65 20 69 73 20 61 20 73 74 72 69 6e 67 20 74 | The.returned.value.is.a.string.t |
| 31ee0 | 68 61 74 20 63 61 6e 20 63 6f 6e 73 69 73 74 20 6f 66 20 6f 6e 6c 79 20 45 6e 67 6c 69 73 68 0a | hat.can.consist.of.only.English. |
| 31f00 | 61 6c 70 68 61 62 65 74 73 20 61 6e 64 20 61 6e 20 75 6e 64 65 72 73 63 6f 72 65 2e 0a 0a 54 68 | alphabets.and.an.underscore...Th |
| 31f20 | 65 20 66 69 72 73 74 20 32 20 63 68 61 72 61 63 74 65 72 73 20 6f 66 20 74 68 69 73 20 73 74 72 | e.first.2.characters.of.this.str |
| 31f40 | 69 6e 67 20 69 73 20 61 20 6c 61 6e 67 75 61 67 65 20 63 6f 64 65 73 20 61 73 20 70 65 72 0a 49 | ing.is.a.language.codes.as.per.I |
| 31f60 | 53 4f 20 36 33 39 2d 31 20 73 74 61 6e 64 61 72 64 2e 20 20 53 65 65 0a 68 74 74 70 73 3a 2f 2f | SO.639-1.standard...See.https:// |
| 31f80 | 65 6e 2e 77 69 6b 69 70 65 64 69 61 2e 6f 72 67 2f 77 69 6b 69 2f 4c 69 73 74 5f 6f 66 5f 49 53 | en.wikipedia.org/wiki/List_of_IS |
| 31fa0 | 4f 5f 36 33 39 2d 31 5f 63 6f 64 65 73 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 | O_639-1_codes...INFO.is.a.plist. |
| 31fc0 | 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e | used.as.a.communication.channel. |
| 31fe0 | 22 0a 20 20 28 6c 65 74 20 28 28 6c 61 6e 67 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 | "...(let.((lang.(plist-get.info. |
| 32000 | 3a 6c 61 6e 67 2d 69 73 6f 2d 63 6f 64 65 29 29 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 6c 61 | :lang-iso-code))).....(unless.la |
| 32020 | 6e 67 0a 20 20 20 20 20 20 28 73 65 74 71 20 6c 61 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ng.......(setq.lang............. |
| 32040 | 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6c 6f 63 61 6c 65 | (or.(plist-get.info.:hugo-locale |
| 32060 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 77 77 77 | ).................;;.https://www |
| 32080 | 2e 67 6e 75 2e 6f 72 67 2f 73 6f 66 74 77 61 72 65 2f 67 65 74 74 65 78 74 2f 6d 61 6e 75 61 6c | .gnu.org/software/gettext/manual |
| 320a0 | 2f 68 74 6d 6c 5f 6e 6f 64 65 2f 4c 6f 63 61 6c 65 2d 45 6e 76 69 72 6f 6e 6d 65 6e 74 2d 56 61 | /html_node/Locale-Environment-Va |
| 320c0 | 72 69 61 62 6c 65 73 2e 68 74 6d 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 65 | riables.html.................(ge |
| 320e0 | 74 65 6e 76 20 22 4c 41 4e 47 55 41 47 45 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tenv."LANGUAGE")................ |
| 32100 | 20 28 67 65 74 65 6e 76 20 22 4c 43 5f 41 4c 4c 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(getenv."LC_ALL").............. |
| 32120 | 20 20 20 28 67 65 74 65 6e 76 20 22 4c 41 4e 47 22 29 29 29 0a 20 20 20 20 20 20 28 77 68 65 6e | ...(getenv."LANG"))).......(when |
| 32140 | 20 28 73 74 72 69 6e 67 70 20 6c 61 6e 67 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 61 | .(stringp.lang).........(setq.la |
| 32160 | 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 | ng...............(replace-regexp |
| 32180 | 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 5c 5c 28 5b 61 2d 7a 5d 2b 5f 5b 41 2d 5a 5d 2b 5c | -in-string."\\`\\([a-z]+_[A-Z]+\ |
| 321a0 | 5c 29 2e 2a 5c 5c 27 22 20 22 5c 5c 31 22 20 6c 61 6e 67 29 29 29 0a 20 20 20 20 20 20 28 73 65 | \).*\\'"."\\1".lang))).......(se |
| 321c0 | 74 71 20 6c 61 6e 67 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 6c 61 6e 67 29 29 0a | tq.lang.(org-string-nw-p.lang)). |
| 321e0 | 20 20 20 20 20 20 28 77 68 65 6e 20 6c 61 6e 67 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | ......(when.lang.........;;.(mes |
| 32200 | 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 6c 61 6e 67 20 44 42 47 5d 20 6c | sage."[org-hugo--get-lang.DBG].l |
| 32220 | 61 6e 67 75 61 67 65 3a 20 25 73 22 20 6c 61 6e 67 29 0a 20 20 20 20 20 20 20 20 28 70 6c 69 73 | anguage:.%s".lang).........(plis |
| 32240 | 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6c 61 6e 67 2d 69 73 6f 2d 63 6f 64 65 20 6c 61 6e 67 29 29 | t-put.info.:lang-iso-code.lang)) |
| 32260 | 29 0a 20 20 20 20 6c 61 6e 67 29 29 0a 0a 3b 3b 3b 3b 20 43 68 65 63 6b 20 69 66 20 6c 61 6e 67 | ).....lang))..;;;;.Check.if.lang |
| 32280 | 20 69 73 20 43 4a 28 4b 29 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6c 61 6e 67 2d | .is.CJ(K).(defun.org-hugo--lang- |
| 322a0 | 63 6a 6b 2d 70 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 | cjk-p.(info)..."Return.non-nil.i |
| 322c0 | 73 20 74 68 65 20 6c 61 6e 67 75 61 67 65 20 69 73 20 43 68 69 6e 65 73 65 20 6f 72 20 4a 61 70 | s.the.language.is.Chinese.or.Jap |
| 322e0 | 61 6e 65 73 65 2e 0a 0a 5c 28 43 68 65 63 6b 20 66 6f 72 20 4b 6f 72 65 61 6e 20 6c 61 6e 67 75 | anese...\(Check.for.Korean.langu |
| 32300 | 61 67 65 20 68 61 73 20 6e 6f 74 20 62 65 65 6e 20 61 64 64 65 64 20 61 73 20 6e 6f 20 60 6f 78 | age.has.not.been.added.as.no.`ox |
| 32320 | 2d 68 75 67 6f 27 0a 75 73 65 72 20 68 61 73 20 72 65 71 75 65 73 74 65 64 20 66 6f 72 20 69 74 | -hugo'.user.has.requested.for.it |
| 32340 | 2e 29 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f | .)..INFO.is.a.plist.used.as.a.co |
| 32360 | 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 | mmunication.channel."...(let*.(( |
| 32380 | 6c 61 6e 67 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 6c 61 6e 67 20 69 6e 66 6f 29 29 0a | lang.(org-hugo--get-lang.info)). |
| 323a0 | 20 20 20 20 20 20 20 20 20 28 6c 61 6e 67 2d 32 63 68 61 72 73 20 28 77 68 65 6e 20 28 61 6e 64 | .........(lang-2chars.(when.(and |
| 323c0 | 20 28 73 74 72 69 6e 67 70 20 6c 61 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(stringp.lang)................. |
| 323e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3e 3d 20 28 6c 65 6e 67 74 68 20 6c 61 6e | .................(>=.(length.lan |
| 32400 | 67 29 20 32 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | g).2)).........................( |
| 32420 | 73 75 62 73 74 72 69 6e 67 20 6c 61 6e 67 20 30 20 32 29 29 29 29 0a 20 20 20 20 28 61 6e 64 20 | substring.lang.0.2)))).....(and. |
| 32440 | 6c 61 6e 67 2d 32 63 68 61 72 73 0a 20 20 20 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 6c 61 6e | lang-2chars..........(member.lan |
| 32460 | 67 2d 32 63 68 61 72 73 20 27 28 22 7a 68 22 20 20 20 20 20 20 3b 22 7a 68 22 2c 20 22 7a 68 5f | g-2chars.'("zh"......;"zh",."zh_ |
| 32480 | 43 48 22 2c 20 2e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | CH",............................ |
| 324a0 | 20 20 20 20 20 20 20 22 6a 61 22 29 29 29 29 29 20 3b 22 6a 61 22 2c 20 2e 2e 0a 0a 3b 3b 3b 3b | ......."ja"))))).;"ja",.....;;;; |
| 324c0 | 20 46 6f 72 6d 61 74 20 74 61 67 73 20 69 6e 74 6f 20 48 54 4d 4c 0a 28 64 65 66 75 6e 20 6f 72 | .Format.tags.into.HTML.(defun.or |
| 324e0 | 67 2d 68 75 67 6f 2d 2d 74 61 67 73 20 28 74 61 67 73 20 69 6e 66 6f 29 0a 20 20 22 46 6f 72 6d | g-hugo--tags.(tags.info)..."Form |
| 32500 | 61 74 20 54 41 47 53 20 69 6e 74 6f 20 48 54 4d 4c 2e 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 | at.TAGS.into.HTML..INFO.is.a.pli |
| 32520 | 73 74 20 63 6f 6e 74 61 69 6e 69 6e 67 20 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e 73 2e 0a 0a 54 | st.containing.export.options...T |
| 32540 | 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 61 6c 6d 6f 73 74 20 69 64 65 6e 74 69 63 61 6c | his.function.is.almost.identical |
| 32560 | 20 74 6f 20 60 6f 72 67 2d 68 74 6d 6c 2d 2d 74 61 67 73 27 20 66 72 6f 6d 0a 60 6f 78 2d 68 74 | .to.`org-html--tags'.from.`ox-ht |
| 32580 | 6d 6c 27 20 65 78 63 65 70 74 20 74 68 61 74 20 74 68 65 20 74 61 67 20 73 65 70 61 72 61 74 6f | ml'.except.that.the.tag.separato |
| 325a0 | 72 20 69 73 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 77 68 65 6e 20 74 | r.is.an.empty.string."...(when.t |
| 325c0 | 61 67 73 0a 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 74 | ags.....(format."<span.class=\"t |
| 325e0 | 61 67 5c 22 3e 25 73 3c 2f 73 70 61 6e 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 | ag\">%s</span>".............(map |
| 32600 | 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 74 61 67 | concat..............(lambda.(tag |
| 32620 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 73 70 61 6e 20 | )................(format."<span. |
| 32640 | 63 6c 61 73 73 3d 5c 22 25 73 5c 22 3e 25 73 3c 2f 73 70 61 6e 3e 22 0a 20 20 20 20 20 20 20 20 | class=\"%s\">%s</span>"......... |
| 32660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 70 6c 69 73 74 2d 67 65 | ...............(concat.(plist-ge |
| 32680 | 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 74 61 67 2d 63 6c 61 73 73 2d 70 72 65 66 69 78 29 0a 20 | t.info.:html-tag-class-prefix).. |
| 326a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | ..............................(o |
| 326c0 | 72 67 2d 68 74 6d 6c 2d 66 69 78 2d 63 6c 61 73 73 2d 6e 61 6d 65 20 74 61 67 29 29 0a 20 20 20 | rg-html-fix-class-name.tag)).... |
| 326e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 67 29 29 0a 20 20 20 20 20 20 | ....................tag))....... |
| 32700 | 20 20 20 20 20 20 20 74 61 67 73 20 22 22 29 29 29 29 0a 0a 3b 3b 3b 3b 20 43 68 65 63 6b 20 69 | .......tags.""))))..;;;;.Check.i |
| 32720 | 66 20 74 68 65 20 62 75 66 66 65 72 20 68 61 73 20 61 6e 79 20 76 61 6c 69 64 20 70 6f 73 74 20 | f.the.buffer.has.any.valid.post. |
| 32740 | 73 75 62 74 72 65 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 66 66 65 72 2d | subtree.(defun.org-hugo--buffer- |
| 32760 | 68 61 73 2d 76 61 6c 69 64 2d 70 6f 73 74 2d 73 75 62 74 72 65 65 2d 70 20 28 29 0a 20 20 22 52 | has-valid-post-subtree-p.()..."R |
| 32780 | 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 4f 72 67 | eturn.non-nil.if.the.current.Org |
| 327a0 | 20 62 75 66 66 65 72 20 68 61 73 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 76 61 6c 69 64 20 70 | .buffer.has.at.least.one.valid.p |
| 327c0 | 6f 73 74 20 73 75 62 74 72 65 65 2e 0a 0a 41 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 | ost.subtree...A.valid.Hugo.post. |
| 327e0 | 73 75 62 74 72 65 65 20 68 61 73 20 74 68 65 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 | subtree.has.the.`:EXPORT_FILE_NA |
| 32800 | 4d 45 3a 27 20 70 72 6f 70 65 72 74 79 0a 73 65 74 20 74 6f 20 61 20 6e 6f 6e 2d 65 6d 70 74 79 | ME:'.property.set.to.a.non-empty |
| 32820 | 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 6f 72 67 2d 77 69 74 68 2d 77 69 64 65 2d 62 75 66 66 65 | .string."...(org-with-wide-buffe |
| 32840 | 72 0a 20 20 20 28 63 61 74 63 68 20 27 66 6f 75 6e 64 0a 20 20 20 20 20 28 6f 72 67 2d 6d 61 70 | r....(catch.'found......(org-map |
| 32860 | 2d 65 6e 74 72 69 65 73 0a 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 29 20 28 74 68 72 6f 77 | -entries.......(lambda.().(throw |
| 32880 | 20 27 66 6f 75 6e 64 20 74 29 29 20 3b 52 65 74 75 72 6e 20 71 75 69 63 6b 6c 79 20 6f 6e 20 66 | .'found.t)).;Return.quickly.on.f |
| 328a0 | 69 6e 64 69 6e 67 20 74 68 65 20 66 69 72 73 74 20 6d 61 74 63 68 0a 20 20 20 20 20 20 22 45 58 | inding.the.first.match......."EX |
| 328c0 | 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 3c 3e 5c 22 5c 22 22 29 29 29 29 0a 0a 3b 3b 3b 3b 20 | PORT_FILE_NAME<>\"\""))))..;;;;. |
| 328e0 | 41 64 76 69 63 65 20 66 6f 72 20 73 69 6c 65 6e 63 69 6e 67 20 6d 65 73 73 61 67 65 73 0a 28 64 | Advice.for.silencing.messages.(d |
| 32900 | 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 61 64 76 69 63 65 2d 73 69 6c 65 6e 63 65 2d 6d 65 | efun.org-hugo--advice-silence-me |
| 32920 | 73 73 61 67 65 73 20 28 6f 72 69 67 2d 66 75 6e 20 26 72 65 73 74 20 61 72 67 73 29 0a 20 20 22 | ssages.(orig-fun.&rest.args)..." |
| 32940 | 41 64 76 69 63 65 20 66 75 6e 63 74 69 6f 6e 20 74 68 61 74 20 73 69 6c 65 6e 63 65 73 20 61 6c | Advice.function.that.silences.al |
| 32960 | 6c 20 6d 65 73 73 61 67 65 73 20 69 6e 20 4f 52 49 47 2d 46 55 4e 2e 0a 41 52 47 53 20 61 72 65 | l.messages.in.ORIG-FUN..ARGS.are |
| 32980 | 20 74 68 65 20 4f 52 49 47 2d 46 55 4e 20 66 75 6e 63 74 69 6f 6e 27 73 20 61 72 67 75 6d 65 6e | .the.ORIG-FUN.function's.argumen |
| 329a0 | 74 73 2e 22 0a 20 20 28 6c 65 74 20 28 28 69 6e 68 69 62 69 74 2d 6d 65 73 73 61 67 65 20 74 29 | ts."...(let.((inhibit-message.t) |
| 329c0 | 20 20 20 20 20 20 3b 44 6f 6e 27 74 20 73 68 6f 77 20 74 68 65 20 6d 65 73 73 61 67 65 73 20 69 | ......;Don't.show.the.messages.i |
| 329e0 | 6e 20 45 63 68 6f 20 61 72 65 61 0a 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 2d 6c 6f 67 | n.Echo.area.........(message-log |
| 32a00 | 2d 6d 61 78 20 6e 69 6c 29 29 20 20 20 3b 44 6f 6e 27 74 20 73 68 6f 77 20 74 68 65 20 6d 65 73 | -max.nil))...;Don't.show.the.mes |
| 32a20 | 73 61 67 65 73 20 69 6e 20 74 68 65 20 2a 4d 65 73 73 61 67 65 73 2a 20 62 75 66 66 65 72 0a 20 | sages.in.the.*Messages*.buffer.. |
| 32a40 | 20 20 20 28 61 70 70 6c 79 20 6f 72 69 67 2d 66 75 6e 20 61 72 67 73 29 29 29 0a 0a 3b 3b 3b 3b | ...(apply.orig-fun.args)))..;;;; |
| 32a60 | 20 50 6c 61 69 6e 69 66 79 20 28 6d 69 6d 69 63 6b 20 74 68 65 20 48 75 67 6f 20 70 6c 61 69 6e | .Plainify.(mimick.the.Hugo.plain |
| 32a80 | 69 66 79 20 66 75 6e 63 74 69 6f 6e 29 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 | ify.function).(defun.org-hugo--p |
| 32aa0 | 6c 61 69 6e 69 66 79 2d 73 74 72 69 6e 67 20 28 73 74 72 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 | lainify-string.(str.info)..."Ret |
| 32ac0 | 75 72 6e 20 53 54 52 20 73 74 72 69 6e 67 20 77 69 74 68 6f 75 74 20 61 6e 79 20 6d 61 72 6b 75 | urn.STR.string.without.any.marku |
| 32ae0 | 70 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f | p...INFO.is.a.plist.used.as.a.co |
| 32b00 | 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 49 66 20 53 54 52 20 69 73 20 | mmunication.channel...If.STR.is. |
| 32b20 | 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 6f 72 20 6e 69 6c 2c 20 72 65 74 75 72 6e 20 6e | an.empty.string.or.nil,.return.n |
| 32b40 | 69 6c 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 61 69 6d 73 20 74 6f 20 6d 69 6d 69 63 | il...This.function.aims.to.mimic |
| 32b60 | 6b 20 74 68 65 20 48 75 67 6f 20 60 70 6c 61 69 6e 69 66 79 27 20 66 75 6e 63 74 69 6f 6e 3a 0a | k.the.Hugo.`plainify'.function:. |
| 32b80 | 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f 66 75 6e 63 74 69 6f 6e 73 2f 70 6c 61 69 | https://gohugo.io/functions/plai |
| 32ba0 | 6e 69 66 79 2f 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 53 54 52 20 69 73 0a 5c | nify/...For.example,.if.STR.is.\ |
| 32bc0 | 22 73 74 72 69 6e 67 20 2a 77 69 74 68 2a 20 73 6f 6d 65 20 2f 6d 61 72 6b 75 70 2f 5c 22 2c 20 | "string.*with*.some./markup/\",. |
| 32be0 | 74 68 65 20 72 65 74 75 72 6e 65 64 20 73 74 72 69 6e 67 20 69 73 20 5c 22 73 74 72 69 6e 67 0a | the.returned.string.is.\"string. |
| 32c00 | 77 69 74 68 20 73 6f 6d 65 20 6d 61 72 6b 75 70 5c 22 2e 22 0a 20 20 28 6f 72 67 2d 73 74 72 69 | with.some.markup\"."...(org-stri |
| 32c20 | 6e 67 2d 6e 77 2d 70 0a 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 | ng-nw-p....(replace-regexp-in-st |
| 32c40 | 72 69 6e 67 0a 20 20 20 20 22 3c 2f 3f 5b 5e 3e 5d 2b 3e 22 20 22 22 0a 20 20 20 20 28 6f 72 67 | ring....."</?[^>]+>"."".....(org |
| 32c60 | 2d 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 6b 65 6e 64 20 73 74 72 20 27 68 | -export-data-with-backend.str.'h |
| 32c80 | 74 6d 6c 20 69 6e 66 6f 29 29 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 54 72 61 6e 73 63 6f 64 65 20 46 | tml.info)))).....;;;.Transcode.F |
| 32ca0 | 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 3b 3b 20 43 6f 64 65 20 28 3c 6b 64 62 3e 20 74 61 67 73 29 | unctions..;;;;.Code.(<kdb>.tags) |
| 32cc0 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 6b 62 64 2d 74 61 67 73 2d 6d 61 79 62 65 20 | .(defun.org-hugo-kbd-tags-maybe. |
| 32ce0 | 28 76 65 72 62 61 74 69 6d 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 57 72 61 | (verbatim._contents.info)..."Wra |
| 32d00 | 70 20 74 65 78 74 20 69 6e 20 56 45 52 42 41 54 49 4d 20 6f 62 6a 65 63 74 20 77 69 74 68 20 48 | p.text.in.VERBATIM.object.with.H |
| 32d20 | 54 4d 4c 20 6b 62 64 20 74 61 67 73 2e 0a 54 68 65 20 6b 64 62 20 77 72 61 70 70 69 6e 67 20 69 | TML.kbd.tags..The.kdb.wrapping.i |
| 32d40 | 73 20 64 6f 6e 65 20 69 66 20 60 6f 72 67 2d 68 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 | s.done.if.`org-hugo-use-code-for |
| 32d60 | 2d 6b 62 64 27 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e | -kbd'.is.non-nil...CONTENTS.is.n |
| 32d80 | 69 6c 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 | il...INFO.is.a.plist.used.as.a.c |
| 32da0 | 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 0a 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 69 66 20 28 6f 72 | ommunication.channel."...(if.(or |
| 32dc0 | 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 | g-hugo--plist-get-true-p.info.:h |
| 32de0 | 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 29 0a 20 20 20 20 20 20 28 66 6f 72 | ugo-use-code-for-kbd).......(for |
| 32e00 | 6d 61 74 20 22 3c 6b 62 64 3e 25 73 3c 2f 6b 62 64 3e 22 20 28 6f 72 67 2d 68 74 6d 6c 2d 65 6e | mat."<kbd>%s</kbd>".(org-html-en |
| 32e20 | 63 6f 64 65 2d 70 6c 61 69 6e 2d 74 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | code-plain-text................. |
| 32e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 | ...............(org-element-prop |
| 32e60 | 65 72 74 79 20 3a 76 61 6c 75 65 20 76 65 72 62 61 74 69 6d 29 29 29 0a 20 20 20 20 28 6f 72 67 | erty.:value.verbatim))).....(org |
| 32e80 | 2d 6d 64 2d 76 65 72 62 61 74 69 6d 20 76 65 72 62 61 74 69 6d 20 6e 69 6c 20 6e 69 6c 29 29 29 | -md-verbatim.verbatim.nil.nil))) |
| 32ea0 | 0a 0a 3b 3b 3b 3b 20 44 72 61 77 65 72 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 | ..;;;;.Drawer.(defun.org-hugo--p |
| 32ec0 | 61 72 73 65 2d 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 20 28 70 61 72 61 20 70 61 72 65 6e 74 2d | arse-logbook-entry.(para.parent- |
| 32ee0 | 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 69 6e 66 6f 29 0a 20 20 22 50 61 72 73 65 20 61 20 4c | heading-title.info)..."Parse.a.L |
| 32f00 | 4f 47 42 4f 4f 4b 20 60 70 61 72 61 67 72 61 70 68 27 20 65 6c 65 6d 65 6e 74 20 50 41 52 41 20 | OGBOOK.`paragraph'.element.PARA. |
| 32f20 | 61 6e 64 20 73 61 76 65 20 64 61 74 61 20 74 6f 20 49 4e 46 4f 2e 0a 0a 49 66 20 74 68 65 20 4c | and.save.data.to.INFO...If.the.L |
| 32f40 | 4f 47 42 4f 4f 4b 20 64 72 61 77 65 72 20 69 73 20 75 6e 64 65 72 20 61 20 73 75 62 2d 68 65 61 | OGBOOK.drawer.is.under.a.sub-hea |
| 32f60 | 64 69 6e 67 2c 0a 50 41 52 45 4e 54 2d 48 45 41 44 49 4e 47 2d 54 49 54 4c 45 20 77 69 6c 6c 20 | ding,.PARENT-HEADING-TITLE.will. |
| 32f80 | 62 65 20 74 68 61 74 20 68 65 61 64 69 6e 67 27 73 20 5c 22 70 6c 61 69 6e 69 66 69 65 64 5c 22 | be.that.heading's.\"plainified\" |
| 32fa0 | 20 74 69 74 6c 65 0a 73 74 72 69 6e 67 2e 20 20 49 66 20 4c 4f 47 42 4f 4f 4b 20 64 72 61 77 65 | .title.string...If.LOGBOOK.drawe |
| 32fc0 | 72 20 69 73 20 61 74 20 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 2c 20 74 68 69 73 20 61 72 67 75 | r.is.at.the.top.level,.this.argu |
| 32fe0 | 6d 65 6e 74 0a 77 69 6c 6c 20 62 65 20 6e 69 6c 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 | ment.will.be.nil...INFO.is.a.pli |
| 33000 | 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e | st.used.as.a.communication.chann |
| 33020 | 65 6c 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 75 70 64 61 74 65 73 20 74 68 65 73 65 | el...This.function.updates.these |
| 33040 | 20 70 72 6f 70 65 72 74 69 65 73 20 69 6e 20 49 4e 46 4f 3a 20 60 3a 6c 6f 67 62 6f 6f 6b 2d 64 | .properties.in.INFO:.`:logbook-d |
| 33060 | 61 74 65 27 2c 0a 60 3a 6c 6f 67 62 6f 6f 6b 2d 6c 61 73 74 6d 6f 64 27 2c 20 60 3a 6c 6f 67 62 | ate',.`:logbook-lastmod',.`:logb |
| 33080 | 6f 6f 6b 27 2e 22 0a 20 20 3b 3b 20 28 70 70 20 70 61 72 61 29 0a 20 20 28 6c 65 74 2a 20 28 28 | ook'."...;;.(pp.para)...(let*.(( |
| 330a0 | 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 20 28 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 61 | logbook-entry.())..........(para |
| 330c0 | 2d 72 61 77 2d 73 74 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 70 61 72 61 20 69 | -raw-str.(org-export-data.para.i |
| 330e0 | 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 50 61 72 73 65 20 74 68 65 20 6c 6f 67 62 | nfo))..........;;.Parse.the.logb |
| 33100 | 6f 6f 6b 20 65 6e 74 72 79 27 73 20 74 69 6d 65 73 74 61 6d 70 2e 0a 20 20 20 20 20 20 20 20 20 | ook.entry's.timestamp........... |
| 33120 | 28 74 69 6d 65 73 74 61 6d 70 0a 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e | (timestamp...........(org-elemen |
| 33140 | 74 2d 6d 61 70 20 70 61 72 61 20 27 74 69 6d 65 73 74 61 6d 70 0a 20 20 20 20 20 20 20 20 20 20 | t-map.para.'timestamp........... |
| 33160 | 20 20 28 6c 61 6d 62 64 61 20 28 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | ..(lambda.(ts)...............;;. |
| 33180 | 28 70 70 20 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 74 73 | (pp.ts)...............(let*.((ts |
| 331a0 | 2d 72 61 77 2d 73 74 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a | -raw-str.(org-element-property.: |
| 331c0 | 72 61 77 2d 76 61 6c 75 65 20 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | raw-value.ts)).................. |
| 331e0 | 20 20 20 20 28 74 73 2d 73 74 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 64 61 74 65 2d | ....(ts-str.(org-hugo--org-date- |
| 33200 | 74 69 6d 65 2d 74 6f 2d 72 66 63 33 33 33 39 20 74 73 2d 72 61 77 2d 73 74 72 20 69 6e 66 6f 29 | time-to-rfc3339.ts-raw-str.info) |
| 33220 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | )).................;;.(message." |
| 33240 | 5b 6f 78 2d 68 75 67 6f 20 6c 6f 67 62 6f 6f 6b 20 44 42 47 5d 20 74 73 3a 20 25 73 2c 20 74 73 | [ox-hugo.logbook.DBG].ts:.%s,.ts |
| 33260 | 20 66 6d 74 64 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 | .fmtd:.%s".................;;... |
| 33280 | 20 20 20 20 20 20 20 74 73 2d 72 61 77 2d 73 74 72 20 74 73 2d 73 74 72 29 0a 20 20 20 20 20 20 | .......ts-raw-str.ts-str)....... |
| 332a0 | 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 60 28 74 69 6d 65 73 74 61 6d 70 20 2e 20 2c 74 | ..........(push.`(timestamp...,t |
| 332c0 | 73 2d 73 74 72 29 20 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 29 0a 20 20 20 20 20 20 20 20 20 20 | s-str).logbook-entry)........... |
| 332e0 | 20 20 20 20 20 20 74 73 2d 73 74 72 29 29 20 3b 6c 61 6d 62 64 61 20 72 65 74 75 72 6e 20 66 6f | ......ts-str)).;lambda.return.fo |
| 33300 | 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 20 70 61 72 61 20 27 74 69 6d 65 73 74 61 | r.(org-element-map.para.'timesta |
| 33320 | 6d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 20 3a 66 69 72 73 74 2d 6d 61 74 63 68 29 | mp.............nil.:first-match) |
| 33340 | 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5c 6e 5b 6f 78 2d 68 75 67 6f 20 6c | )).....;;.(message."\n[ox-hugo.l |
| 33360 | 6f 67 62 6f 6f 6b 20 44 42 47 5d 20 70 61 72 61 67 72 61 70 68 20 72 61 77 20 73 74 72 20 3a 20 | ogbook.DBG].paragraph.raw.str.:. |
| 33380 | 25 73 22 20 70 61 72 61 2d 72 61 77 2d 73 74 72 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | %s".para-raw-str).....;;.(messag |
| 333a0 | 65 20 22 5b 6f 78 2d 68 75 67 6f 20 6c 6f 67 62 6f 6f 6b 20 44 42 47 5d 20 74 69 6d 65 73 74 61 | e."[ox-hugo.logbook.DBG].timesta |
| 333c0 | 6d 70 20 3a 20 25 73 22 20 74 69 6d 65 73 74 61 6d 70 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 | mp.:.%s".timestamp).....(unless. |
| 333e0 | 74 69 6d 65 73 74 61 6d 70 0a 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 4e 6f 20 | timestamp.......(user-error."No. |
| 33400 | 74 69 6d 65 20 73 74 61 6d 70 20 69 73 20 72 65 63 6f 72 64 65 64 20 69 6e 20 74 68 65 20 4c 4f | time.stamp.is.recorded.in.the.LO |
| 33420 | 47 42 4f 4f 4b 20 64 72 61 77 65 72 20 65 6e 74 72 79 22 29 29 0a 0a 20 20 20 20 28 63 6c 2d 6c | GBOOK.drawer.entry"))......(cl-l |
| 33440 | 61 62 65 6c 73 20 28 28 67 65 74 2d 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 61 6e 64 2d 74 72 69 | abels.((get-match-string-and-tri |
| 33460 | 6d 2d 71 75 6f 74 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6d 20 73 | m-quotes..................(num.s |
| 33480 | 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 | tr)..................(org-string |
| 334a0 | 2d 6e 77 2d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 | -nw-p...................(replace |
| 334c0 | 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -regexp-in-string............... |
| 334e0 | 20 20 20 20 20 3b 3b 20 48 61 6e 64 6c 65 20 63 6f 72 6e 65 72 20 63 61 73 65 3a 20 49 66 20 61 | .....;;.Handle.corner.case:.If.a |
| 33500 | 20 54 4f 44 4f 20 73 74 61 74 65 20 68 61 73 20 22 5f 5f 22 20 69 6e 20 74 68 65 6d 2c 20 74 68 | .TODO.state.has."__".in.them,.th |
| 33520 | 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 75 6e 64 65 72 73 63 6f | e....................;;.undersco |
| 33540 | 72 65 20 77 69 6c 6c 20 62 65 20 65 73 63 61 70 65 64 2e 20 52 65 6d 6f 76 65 20 74 68 61 74 20 | re.will.be.escaped..Remove.that. |
| 33560 | 22 5c 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 5c 5c 22 20 22 | "\"....................."\\\\"." |
| 33580 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 61 76 65 2d 6d 61 74 63 68 | "....................(save-match |
| 335a0 | 2d 64 61 74 61 20 3b 52 65 71 75 69 72 65 64 20 62 65 63 61 75 73 65 20 60 73 74 72 69 6e 67 2d | -data.;Required.because.`string- |
| 335c0 | 74 72 69 6d 27 20 63 68 61 6e 67 65 73 20 6d 61 74 63 68 20 64 61 74 61 0a 20 20 20 20 20 20 20 | trim'.changes.match.data........ |
| 335e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 74 72 69 6d 0a 20 20 20 20 20 | ..............(string-trim...... |
| 33600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6d 61 74 63 68 2d 73 74 72 69 | .................(or.(match-stri |
| 33620 | 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 6e 75 6d 20 73 74 72 29 20 22 22 29 0a 20 20 | ng-no-properties.num.str)."")... |
| 33640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 22 22 20 22 5c 22 22 29 29 29 | ...................."\""."\""))) |
| 33660 | 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 61 72 73 65 20 28 61 73 | ))..................;;.Parse.(as |
| 33680 | 73 71 20 27 73 74 61 74 65 20 6f 72 67 2d 6c 6f 67 2d 6e 6f 74 65 2d 68 65 61 64 69 6e 67 73 29 | sq.'state.org-log-note-headings) |
| 336a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 72 73 65 2d 73 74 61 74 65 2d 63 68 | .................(parse-state-ch |
| 336c0 | 61 6e 67 65 2d 6d 61 79 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 29 0a 20 | ange-maybe..................().. |
| 336e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 73 74 61 74 65 2d 63 68 61 | ................(let.((state-cha |
| 33700 | 6e 67 65 2d 72 65 20 22 5e 53 74 61 74 65 5c 5c 73 2d 2b 5c 5c 28 3f 31 3a 5c 22 2e 2b 3f 5c 22 | nge-re."^State\\s-+\\(?1:\".+?\" |
| 33720 | 5c 5c 29 2a 5c 5c 73 2d 2b 66 72 6f 6d 5c 5c 73 2d 2b 5c 5c 28 3f 32 3a 5c 22 2e 2b 3f 5c 22 5c | \\)*\\s-+from\\s-+\\(?2:\".+?\"\ |
| 33740 | 5c 29 2a 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 | \)*"))....................(when. |
| 33760 | 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 73 74 61 74 65 2d 63 68 61 6e 67 65 2d 72 65 20 70 61 | (string-match.state-change-re.pa |
| 33780 | 72 61 2d 72 61 77 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ra-raw-str)..................... |
| 337a0 | 20 28 6c 65 74 20 28 28 74 6f 2d 73 74 61 74 65 20 28 67 65 74 2d 6d 61 74 63 68 2d 73 74 72 69 | .(let.((to-state.(get-match-stri |
| 337c0 | 6e 67 2d 61 6e 64 2d 74 72 69 6d 2d 71 75 6f 74 65 73 20 31 20 70 61 72 61 2d 72 61 77 2d 73 74 | ng-and-trim-quotes.1.para-raw-st |
| 337e0 | 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | r))............................; |
| 33800 | 3b 20 28 66 72 6f 6d 2d 73 74 61 74 65 20 28 67 65 74 2d 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d | ;.(from-state.(get-match-string- |
| 33820 | 61 6e 64 2d 74 72 69 6d 2d 71 75 6f 74 65 73 20 32 20 70 61 72 61 2d 72 61 77 2d 73 74 72 29 29 | and-trim-quotes.2.para-raw-str)) |
| 33840 | 20 3b 46 6f 72 20 64 65 62 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .;For.debug..................... |
| 33860 | 20 20 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......)........................ |
| 33880 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 6c 6f 67 62 6f 6f 6b 20 44 42 | ;;.(message."[ox-hugo.logbook.DB |
| 338a0 | 47 5d 20 73 74 61 74 65 20 63 68 61 6e 67 65 20 3a 20 66 72 6f 6d 20 25 73 20 74 6f 20 25 73 20 | G].state.change.:.from.%s.to.%s. |
| 338c0 | 40 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | @.%s"........................;;. |
| 338e0 | 20 20 20 20 20 20 20 20 20 66 72 6f 6d 2d 73 74 61 74 65 20 74 6f 2d 73 74 61 74 65 20 74 69 6d | .........from-state.to-state.tim |
| 33900 | 65 73 74 61 6d 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | estamp)........................( |
| 33920 | 77 68 65 6e 20 74 6f 2d 73 74 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | when.to-state................... |
| 33940 | 20 20 20 20 20 20 20 28 70 75 73 68 20 60 28 74 6f 5f 73 74 61 74 65 20 2e 20 2c 74 6f 2d 73 74 | .......(push.`(to_state...,to-st |
| 33960 | 61 74 65 29 20 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ate).logbook-entry)............. |
| 33980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 | .............;;.(message."[ox-hu |
| 339a0 | 67 6f 20 6c 6f 67 62 6f 6f 6b 20 44 42 47 5d 20 6f 72 67 2d 64 6f 6e 65 2d 6b 65 79 77 6f 72 64 | go.logbook.DBG].org-done-keyword |
| 339c0 | 73 3a 20 25 53 22 20 6f 72 67 2d 64 6f 6e 65 2d 6b 65 79 77 6f 72 64 73 29 0a 20 20 20 20 20 20 | s:.%S".org-done-keywords)....... |
| 339e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 6e | ...................(when.(and.(n |
| 33a00 | 75 6c 6c 20 70 61 72 65 6e 74 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 29 20 3b 50 61 72 73 65 | ull.parent-heading-title).;Parse |
| 33a20 | 20 64 61 74 65 73 20 66 72 6f 6d 20 6f 6e 6c 79 20 74 68 65 20 74 6f 70 6c 65 76 65 6c 20 4c 4f | .dates.from.only.the.toplevel.LO |
| 33a40 | 47 42 4f 4f 4b 20 64 72 61 77 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | GBOOK.drawer.................... |
| 33a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 74 6f 2d 73 74 61 | ..................(member.to-sta |
| 33a80 | 74 65 20 6f 72 67 2d 64 6f 6e 65 2d 6b 65 79 77 6f 72 64 73 29 29 0a 20 20 20 20 20 20 20 20 20 | te.org-done-keywords)).......... |
| 33aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 20 66 69 72 73 74 20 70 | ..................;;.The.first.p |
| 33ac0 | 61 72 73 65 64 20 54 4f 44 4f 20 73 74 61 74 65 20 63 68 61 6e 67 65 20 65 6e 74 72 79 20 77 69 | arsed.TODO.state.change.entry.wi |
| 33ae0 | 6c 6c 20 62 65 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ll.be.the....................... |
| 33b00 | 20 20 20 20 20 3b 3b 20 6c 61 74 65 73 74 20 6f 6e 65 2c 20 61 6e 64 20 60 3a 6c 6f 67 62 6f 6f | .....;;.latest.one,.and.`:logboo |
| 33b20 | 6b 2d 64 61 74 65 27 20 77 6f 75 6c 64 20 61 6c 72 65 61 64 79 20 68 61 76 65 0a 20 20 20 20 20 | k-date'.would.already.have...... |
| 33b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 65 65 6e 20 73 65 | ......................;;.been.se |
| 33b60 | 74 20 74 6f 20 74 68 61 74 2e 20 20 53 6f 20 69 66 20 60 3a 6c 6f 67 62 6f 6f 6b 2d 6c 61 73 74 | t.to.that...So.if.`:logbook-last |
| 33b80 | 6d 6f 64 27 20 69 73 20 6e 6f 74 20 73 65 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mod'.is.not.set,................ |
| 33ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 74 20 74 68 61 74 20 74 68 61 74 20 74 6f 20 | ............;;.set.that.that.to. |
| 33bc0 | 74 68 65 20 76 61 6c 75 65 20 6f 66 20 60 3a 6c 6f 67 62 6f 6f 6b 2d 64 61 74 65 27 2e 0a 20 20 | the.value.of.`:logbook-date'.... |
| 33be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 2a 54 68 69 | .........................;;.*Thi |
| 33c00 | 73 20 61 6c 77 61 79 73 20 77 6f 72 6b 73 20 62 65 63 61 75 73 65 20 74 68 65 20 6e 65 77 65 73 | s.always.works.because.the.newes |
| 33c20 | 74 20 73 74 61 74 65 20 63 68 61 6e 67 65 20 6f 72 20 6e 6f 74 65 0a 20 20 20 20 20 20 20 20 20 | t.state.change.or.note.......... |
| 33c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 6e 74 72 79 20 69 73 20 61 6c | ..................;;.entry.is.al |
| 33c60 | 77 61 79 73 20 70 75 74 20 74 6f 20 74 68 65 20 74 6f 70 20 6f 66 20 74 68 65 20 4c 4f 47 42 4f | ways.put.to.the.top.of.the.LOGBO |
| 33c80 | 4f 4b 2e 2a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | OK.*............................ |
| 33ca0 | 28 75 6e 6c 65 73 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b | (unless.(plist-get.info.:logbook |
| 33cc0 | 2d 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -lastmod)....................... |
| 33ce0 | 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f | .......(when.(plist-get.info.:lo |
| 33d00 | 67 62 6f 6f 6b 2d 64 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gbook-date)..................... |
| 33d20 | 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 | ...........(plist-put.info.:logb |
| 33d40 | 6f 6f 6b 2d 6c 61 73 74 6d 6f 64 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 | ook-lastmod.(plist-get.info.:log |
| 33d60 | 62 6f 6f 6b 2d 64 61 74 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | book-date))))................... |
| 33d80 | 20 20 20 20 20 20 20 20 20 3b 3b 20 60 3a 6c 6f 67 62 6f 6f 6b 2d 64 61 74 65 27 20 77 69 6c 6c | .........;;.`:logbook-date'.will |
| 33da0 | 20 6b 65 65 70 20 6f 6e 20 67 65 74 74 69 6e 67 20 75 70 64 61 74 69 6e 67 20 75 6e 74 69 6c 20 | .keep.on.getting.updating.until. |
| 33dc0 | 74 68 65 20 6c 61 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | the.last........................ |
| 33de0 | 20 20 20 20 3b 3b 20 70 61 72 73 65 64 20 28 66 69 72 73 74 20 65 6e 74 65 72 65 64 29 20 22 73 | ....;;.parsed.(first.entered)."s |
| 33e00 | 74 61 74 65 20 63 68 61 6e 67 65 64 20 74 6f 20 44 4f 4e 45 22 20 65 6e 74 72 79 2e 0a 20 20 20 | tate.changed.to.DONE".entry..... |
| 33e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 | ........................(plist-p |
| 33e40 | 75 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 2d 64 61 74 65 20 74 69 6d 65 73 74 61 6d 70 29 | ut.info.:logbook-date.timestamp) |
| 33e60 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 77 68 | ))........................;;.(wh |
| 33e80 | 65 6e 20 66 72 6f 6d 2d 73 74 61 74 65 20 3b 46 6f 72 20 64 65 62 75 67 0a 20 20 20 20 20 20 20 | en.from-state.;For.debug........ |
| 33ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 28 70 75 73 68 20 60 28 66 72 6f | ................;;...(push.`(fro |
| 33ec0 | 6d 5f 73 74 61 74 65 20 2e 20 2c 66 72 6f 6d 2d 73 74 61 74 65 29 20 6c 6f 67 62 6f 6f 6b 2d 65 | m_state...,from-state).logbook-e |
| 33ee0 | 6e 74 72 79 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 0a | ntry))........................). |
| 33f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 29 29 29 0a 0a 20 20 20 20 20 | .....................t)))....... |
| 33f20 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 61 72 73 65 20 28 61 73 73 71 20 27 6e 6f 74 65 20 | ...........;;.Parse.(assq.'note. |
| 33f40 | 6f 72 67 2d 6c 6f 67 2d 6e 6f 74 65 2d 68 65 61 64 69 6e 67 73 29 0a 20 20 20 20 20 20 20 20 20 | org-log-note-headings).......... |
| 33f60 | 20 20 20 20 20 20 20 28 70 61 72 73 65 2d 6e 6f 74 65 2d 6d 61 79 62 65 0a 20 20 20 20 20 20 20 | .......(parse-note-maybe........ |
| 33f80 | 20 20 20 20 20 20 20 20 20 20 28 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c | ..........()..................(l |
| 33fa0 | 65 74 20 28 28 6e 6f 74 65 2d 72 65 20 22 5e 4e 6f 74 65 20 74 61 6b 65 6e 20 6f 6e 20 2e 2a 3f | et.((note-re."^Note.taken.on..*? |
| 33fc0 | 5c 6e 5c 5c 28 3f 31 3a 5c 5c 28 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 5c 5c 29 22 29 29 0a 20 20 20 20 | \n\\(?1:\\(.\\|\n\\)*\\)"))..... |
| 33fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 | ...............(when.(string-mat |
| 34000 | 63 68 20 6e 6f 74 65 2d 72 65 20 70 61 72 61 2d 72 61 77 2d 73 74 72 29 0a 20 20 20 20 20 20 20 | ch.note-re.para-raw-str)........ |
| 34020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 6f 67 62 6f 6f 6b 2d 6e 6f 74 | ..............(let.((logbook-not |
| 34040 | 65 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 29 29 0a 20 20 | es.(plist-get.info.:logbook))... |
| 34060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 65 20 28 | .........................(note.( |
| 34080 | 73 74 72 69 6e 67 2d 74 72 69 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | string-trim..................... |
| 340a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 | ..............(match-string-no-p |
| 340c0 | 72 6f 70 65 72 74 69 65 73 20 31 20 70 61 72 61 2d 72 61 77 2d 73 74 72 29 29 29 29 0a 20 20 20 | roperties.1.para-raw-str)))).... |
| 340e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | ....................;;.(message. |
| 34100 | 22 5b 6f 78 2d 68 75 67 6f 20 6c 6f 67 62 6f 6f 6b 20 44 42 47 5d 20 6e 6f 74 65 20 3a 20 25 73 | "[ox-hugo.logbook.DBG].note.:.%s |
| 34120 | 20 40 20 25 73 22 20 6e 6f 74 65 20 74 69 6d 65 73 74 61 6d 70 29 0a 20 20 20 20 20 20 20 20 20 | .@.%s".note.timestamp).......... |
| 34140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 60 28 6e 6f 74 65 20 2e 20 2c 6e 6f | ..............(push.`(note...,no |
| 34160 | 74 65 29 20 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | te).logbook-entry).............. |
| 34180 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 55 70 64 61 74 65 20 74 68 65 20 60 6c 61 73 74 6d 6f 64 | ..........;;.Update.the.`lastmod |
| 341a0 | 27 20 66 69 65 6c 64 20 75 73 69 6e 67 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | '.field.using.the............... |
| 341c0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 6f 74 65 27 73 20 74 69 6d 65 73 74 61 6d 70 2e 0a 20 20 | .........;;.note's.timestamp.... |
| 341e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 2a 54 68 69 73 20 61 6c | .....................;;.*This.al |
| 34200 | 77 61 79 73 20 77 6f 72 6b 73 20 62 65 63 61 75 73 65 20 74 68 65 20 6e 65 77 65 73 74 20 73 74 | ways.works.because.the.newest.st |
| 34220 | 61 74 65 20 63 68 61 6e 67 65 20 6f 72 20 6e 6f 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ate.change.or.note.............. |
| 34240 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 6e 74 72 79 20 69 73 20 61 6c 77 61 79 73 20 70 75 74 | ..........;;.entry.is.always.put |
| 34260 | 20 74 6f 20 74 68 65 20 74 6f 70 20 6f 66 20 74 68 65 20 4c 4f 47 42 4f 4f 4b 2e 2a 0a 20 20 20 | .to.the.top.of.the.LOGBOOK.*.... |
| 34280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 70 61 72 65 | ....................(unless.pare |
| 342a0 | 6e 74 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 3b 50 61 72 73 65 20 64 61 74 65 73 20 66 72 | nt-heading-title.;Parse.dates.fr |
| 342c0 | 6f 6d 20 6f 6e 6c 79 20 74 68 65 20 74 6f 70 6c 65 76 65 6c 20 4c 4f 47 42 4f 4f 4b 20 64 72 61 | om.only.the.toplevel.LOGBOOK.dra |
| 342e0 | 77 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 | wer...........................(u |
| 34300 | 6e 6c 65 73 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 2d 6c | nless.(plist-get.info.:logbook-l |
| 34320 | 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | astmod)......................... |
| 34340 | 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 2d 6c 61 73 74 | ...(plist-put.info.:logbook-last |
| 34360 | 6d 6f 64 20 74 69 6d 65 73 74 61 6d 70 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mod.timestamp)))................ |
| 34380 | 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 6f 6e 74 65 78 74 2d 6b 65 79 20 28 6f 72 20 | .........(let.((context-key.(or. |
| 343a0 | 70 61 72 65 6e 74 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 22 5f 74 6f 70 6c 65 76 65 6c 22 | parent-heading-title."_toplevel" |
| 343c0 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e | )))..........................(un |
| 343e0 | 6c 65 73 73 20 28 61 73 73 6f 63 20 63 6f 6e 74 65 78 74 2d 6b 65 79 20 6c 6f 67 62 6f 6f 6b 2d | less.(assoc.context-key.logbook- |
| 34400 | 6e 6f 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | notes).......................... |
| 34420 | 20 20 28 70 75 73 68 20 28 63 6f 6e 73 20 63 6f 6e 74 65 78 74 2d 6b 65 79 20 28 6c 69 73 74 20 | ..(push.(cons.context-key.(list. |
| 34440 | 28 63 6f 6e 73 20 27 6e 6f 74 65 73 20 28 6c 69 73 74 29 29 29 29 20 6c 6f 67 62 6f 6f 6b 2d 6e | (cons.'notes.(list)))).logbook-n |
| 34460 | 6f 74 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | otes)).......................... |
| 34480 | 28 73 65 74 63 64 72 20 28 61 73 73 6f 63 20 27 6e 6f 74 65 73 20 28 61 73 73 6f 63 20 63 6f 6e | (setcdr.(assoc.'notes.(assoc.con |
| 344a0 | 74 65 78 74 2d 6b 65 79 20 6c 6f 67 62 6f 6f 6b 2d 6e 6f 74 65 73 29 29 0a 20 20 20 20 20 20 20 | text-key.logbook-notes))........ |
| 344c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 70 70 65 6e | ..........................(appen |
| 344e0 | 64 20 28 63 64 72 20 28 61 73 73 6f 63 20 27 6e 6f 74 65 73 20 28 61 73 73 6f 63 20 63 6f 6e 74 | d.(cdr.(assoc.'notes.(assoc.cont |
| 34500 | 65 78 74 2d 6b 65 79 20 6c 6f 67 62 6f 6f 6b 2d 6e 6f 74 65 73 29 29 29 0a 20 20 20 20 20 20 20 | ext-key.logbook-notes)))........ |
| 34520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 34540 | 20 20 28 6c 69 73 74 20 28 6e 72 65 76 65 72 73 65 20 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 29 | ..(list.(nreverse.logbook-entry) |
| 34560 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 | ))))........................(pli |
| 34580 | 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 20 6c 6f 67 62 6f 6f 6b 2d 6e 6f 74 | st-put.info.:logbook.logbook-not |
| 345a0 | 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 29 29 29 29 0a | es))......................t)))). |
| 345c0 | 0a 20 20 20 20 20 20 28 73 61 76 65 2d 6d 61 74 63 68 2d 64 61 74 61 0a 20 20 20 20 20 20 20 20 | .......(save-match-data......... |
| 345e0 | 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 28 28 70 61 72 73 65 2d 73 74 61 74 65 2d 63 68 61 | (cond..........((parse-state-cha |
| 34600 | 6e 67 65 2d 6d 61 79 62 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 28 70 61 72 73 65 2d 6e 6f 74 | nge-maybe))..........((parse-not |
| 34620 | 65 2d 6d 61 79 62 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 | e-maybe))..........(t........... |
| 34640 | 28 75 73 65 72 2d 65 72 72 6f 72 20 22 4c 4f 47 42 4f 4f 4b 20 64 72 61 77 65 72 20 65 6e 74 72 | (user-error."LOGBOOK.drawer.entr |
| 34660 | 79 20 69 73 20 6e 65 69 74 68 65 72 20 61 20 73 74 61 74 65 20 63 68 61 6e 67 65 2c 20 6e 6f 72 | y.is.neither.a.state.change,.nor |
| 34680 | 20 61 20 6e 6f 74 65 22 29 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | .a.note")))).......;;.(message." |
| 346a0 | 5b 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 20 44 | [org-hugo--parse-logbook-entry.D |
| 346c0 | 42 47 5d 20 6c 6f 67 62 6f 6f 6b 20 64 65 72 69 76 65 64 20 60 64 61 74 65 27 20 3a 20 25 53 22 | BG].logbook.derived.`date'.:.%S" |
| 346e0 | 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 2d 64 61 74 65 29 29 | .(plist-get.info.:logbook-date)) |
| 34700 | 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 70 | .......;;.(message."[org-hugo--p |
| 34720 | 61 72 73 65 2d 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 20 44 42 47 5d 20 6c 6f 67 62 6f 6f 6b 20 | arse-logbook-entry.DBG].logbook. |
| 34740 | 64 65 72 69 76 65 64 20 60 6c 61 73 74 6d 6f 64 27 20 3a 20 25 53 22 20 28 70 6c 69 73 74 2d 67 | derived.`lastmod'.:.%S".(plist-g |
| 34760 | 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 2d 6c 61 73 74 6d 6f 64 29 29 0a 20 20 20 20 20 | et.info.:logbook-lastmod))...... |
| 34780 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 6c | .;;.(message."[org-hugo--parse-l |
| 347a0 | 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 20 44 42 47 5d 20 6c 6f 67 62 6f 6f 6b 20 65 6e 74 72 79 20 | ogbook-entry.DBG].logbook.entry. |
| 347c0 | 3a 20 25 53 22 20 6c 6f 67 62 6f 6f 6b 2d 65 6e 74 72 79 29 0a 20 20 20 20 20 20 6e 69 6c 29 29 | :.%S".logbook-entry).......nil)) |
| 347e0 | 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 64 72 61 77 65 72 20 28 64 72 61 77 65 | )..(defun.org-hugo-drawer.(drawe |
| 34800 | 72 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 | r.contents.info)..."Transcode.a. |
| 34820 | 44 52 41 57 45 52 20 65 6c 65 6d 65 6e 74 20 66 72 6f 6d 20 4f 72 67 20 74 6f 20 61 70 70 72 6f | DRAWER.element.from.Org.to.appro |
| 34840 | 70 72 69 61 74 65 20 48 75 67 6f 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 0a 43 4f 4e 54 45 4e | priate.Hugo.front-matter..CONTEN |
| 34860 | 54 53 20 68 6f 6c 64 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 62 6c 6f | TS.holds.the.contents.of.the.blo |
| 34880 | 63 6b 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 0a 68 6f 6c 64 69 6e 67 20 63 6f 6e | ck...INFO.is.a.plist.holding.con |
| 348a0 | 74 65 78 74 75 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 | textual.information."...(let*.(( |
| 348c0 | 64 72 61 77 65 72 2d 6e 61 6d 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 | drawer-name.(org-element-propert |
| 348e0 | 79 20 3a 64 72 61 77 65 72 2d 6e 61 6d 65 20 64 72 61 77 65 72 29 29 0a 20 20 20 20 20 20 20 20 | y.:drawer-name.drawer))......... |
| 34900 | 20 28 70 61 72 65 6e 74 2d 68 65 61 64 69 6e 67 20 28 63 61 74 63 68 20 27 66 6f 75 6e 64 0a 20 | .(parent-heading.(catch.'found.. |
| 34920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 | ..........................(let.( |
| 34940 | 28 65 6c 20 64 72 61 77 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (el.drawer)).................... |
| 34960 | 20 20 20 20 20 20 20 20 20 20 28 77 68 69 6c 65 20 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........(while.t.............. |
| 34980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 70 2d 65 6c 20 28 6f | ..................(let.((p-el.(o |
| 349a0 | 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 65 6c 29 29 29 0a 20 20 20 20 20 | rg-export-get-parent.el)))...... |
| 349c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 | ............................(whe |
| 349e0 | 6e 20 28 6f 72 20 28 6e 75 6c 6c 20 70 2d 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n.(or.(null.p-el)............... |
| 34a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 | .............................(eq |
| 34a20 | 75 61 6c 20 27 68 65 61 64 6c 69 6e 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 | ual.'headline.(org-element-type. |
| 34a40 | 70 2d 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | p-el)))......................... |
| 34a60 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 74 75 72 6e 20 77 68 65 6e 20 74 68 65 72 65 27 | ...........;;.Return.when.there' |
| 34a80 | 73 20 6e 6f 20 70 61 72 65 6e 74 20 65 6c 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 | s.no.parent.element............. |
| 34aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 72 20 69 66 20 | .......................;;.or.if. |
| 34ac0 | 74 68 65 20 70 61 72 65 6e 74 20 65 6c 65 6d 65 6e 74 20 69 73 20 61 20 60 68 65 61 64 6c 69 6e | the.parent.element.is.a.`headlin |
| 34ae0 | 65 27 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e'.............................. |
| 34b00 | 20 20 20 20 20 20 20 28 74 68 72 6f 77 20 27 66 6f 75 6e 64 20 70 2d 65 6c 29 29 0a 20 20 20 20 | .......(throw.'found.p-el))..... |
| 34b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 | .............................(se |
| 34b40 | 74 71 20 65 6c 20 70 2d 65 6c 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e | tq.el.p-el))))))..........(paren |
| 34b60 | 74 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 61 69 6e | t-heading-title.(org-hugo--plain |
| 34b80 | 69 66 79 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ify-string...................... |
| 34ba0 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 | ...........(org-element-property |
| 34bc0 | 20 3a 74 69 74 6c 65 20 70 61 72 65 6e 74 2d 68 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 | .:title.parent-heading)......... |
| 34be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 29 29 0a | ........................info))). |
| 34c00 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 64 72 61 77 65 | ....;;.(message."[org-hugo-drawe |
| 34c20 | 72 20 44 42 47 5d 20 70 61 72 65 6e 74 2d 68 65 61 64 69 6e 67 20 3a 20 25 53 22 20 70 61 72 65 | r.DBG].parent-heading.:.%S".pare |
| 34c40 | 6e 74 2d 68 65 61 64 69 6e 67 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 | nt-heading).....;;.(message."[or |
| 34c60 | 67 2d 68 75 67 6f 2d 64 72 61 77 65 72 20 44 42 47 5d 20 70 61 72 65 6e 74 2d 68 65 61 64 69 6e | g-hugo-drawer.DBG].parent-headin |
| 34c80 | 67 2d 74 69 74 6c 65 20 3a 20 25 53 22 20 70 61 72 65 6e 74 2d 68 65 61 64 69 6e 67 2d 74 69 74 | g-title.:.%S".parent-heading-tit |
| 34ca0 | 6c 65 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 3b 3b 20 3a 4c 4f 47 42 4f 4f 4b 3a | le)).....(cond......;;.:LOGBOOK: |
| 34cc0 | 20 44 72 61 77 65 72 0a 20 20 20 20 20 28 28 65 71 75 61 6c 20 64 72 61 77 65 72 2d 6e 61 6d 65 | .Drawer......((equal.drawer-name |
| 34ce0 | 20 28 6f 72 67 2d 6c 6f 67 2d 69 6e 74 6f 2d 64 72 61 77 65 72 29 29 0a 20 20 20 20 20 20 3b 3b | .(org-log-into-drawer)).......;; |
| 34d00 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 64 72 61 77 65 72 20 44 42 47 5d | .(message."[org-hugo-drawer.DBG] |
| 34d20 | 20 65 6c 65 6d 20 74 79 70 65 3a 20 25 73 22 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 | .elem.type:.%s".(org-element-typ |
| 34d40 | 65 20 64 72 61 77 65 72 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 64 72 61 77 65 72 0a 20 20 20 20 | e.drawer)).......;;.(drawer..... |
| 34d60 | 20 20 3b 3b 20 20 20 2e 2e 0a 20 20 20 20 20 20 3b 3b 20 20 20 28 70 6c 61 69 6e 2d 6c 69 73 74 | ..;;............;;...(plain-list |
| 34d80 | 0a 20 20 20 20 20 20 3b 3b 20 20 20 20 20 28 69 74 65 6d 0a 20 20 20 20 20 20 3b 3b 20 20 20 20 | .......;;.....(item.......;;.... |
| 34da0 | 20 20 20 28 70 61 72 61 67 72 61 70 68 0a 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 3c | ...(paragraph.......;;.........< |
| 34dc0 | 53 74 61 74 65 20 63 68 61 6e 67 65 20 74 65 78 74 20 6f 72 20 4e 6f 74 65 3e 0a 20 20 20 20 20 | State.change.text.or.Note>...... |
| 34de0 | 20 3b 3b 20 20 20 20 20 20 20 20 20 28 74 69 6d 65 73 74 61 6d 70 20 3c 74 69 6d 65 73 74 61 6d | .;;.........(timestamp.<timestam |
| 34e00 | 70 3e 20 29 29 29 29 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 20 | p>.))))).......(org-element-map. |
| 34e20 | 64 72 61 77 65 72 20 27 70 6c 61 69 6e 2d 6c 69 73 74 0a 20 20 20 20 20 20 20 20 28 6c 61 6d 62 | drawer.'plain-list.........(lamb |
| 34e40 | 64 61 20 28 6c 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d | da.(lst)...........(org-element- |
| 34e60 | 6d 61 70 20 6c 73 74 20 27 69 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 | map.lst.'item.............(lambd |
| 34e80 | 61 20 28 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d | a.(item)...............(org-elem |
| 34ea0 | 65 6e 74 2d 6d 61 70 20 69 74 65 6d 20 27 70 61 72 61 67 72 61 70 68 0a 20 20 20 20 20 20 20 20 | ent-map.item.'paragraph......... |
| 34ec0 | 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 70 61 72 61 29 0a 20 20 20 20 20 20 20 20 20 | ........(lambda.(para).......... |
| 34ee0 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 6c 6f 67 62 6f 6f | .........(org-hugo--parse-logboo |
| 34f00 | 6b 2d 65 6e 74 72 79 20 70 61 72 61 20 70 61 72 65 6e 74 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c | k-entry.para.parent-heading-titl |
| 34f20 | 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 20 3a 66 69 | e.info)).................nil.:fi |
| 34f40 | 72 73 74 2d 6d 61 74 63 68 29 29 20 3b 45 61 63 68 20 27 69 74 65 6d 20 65 6c 65 6d 65 6e 74 20 | rst-match)).;Each.'item.element. |
| 34f60 | 77 69 6c 6c 20 68 61 76 65 20 6f 6e 6c 79 20 6f 6e 65 20 27 70 61 72 61 67 72 61 70 68 20 65 6c | will.have.only.one.'paragraph.el |
| 34f80 | 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 29 29 20 3b 42 75 74 20 61 20 27 70 6c 61 | ement.............)).;But.a.'pla |
| 34fa0 | 69 6e 2d 6c 69 73 74 20 65 6c 65 6d 65 6e 74 20 63 61 6e 20 68 61 76 65 20 6d 75 6c 74 69 70 6c | in-list.element.can.have.multipl |
| 34fc0 | 65 20 27 69 74 65 6d 20 65 6c 65 6d 65 6e 74 73 2c 20 73 6f 20 6c 6f 6f 70 20 74 68 72 6f 75 67 | e.'item.elements,.so.loop.throug |
| 34fe0 | 68 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 6e 69 6c 20 3a 66 69 72 73 74 2d 6d 61 74 63 68 29 20 | h.all.........nil.:first-match). |
| 35000 | 3b 54 68 65 20 27 6c 6f 67 62 6f 6f 6b 20 65 6c 65 6d 65 6e 74 20 77 69 6c 6c 20 68 61 76 65 20 | ;The.'logbook.element.will.have. |
| 35020 | 6f 6e 6c 79 20 6f 6e 65 20 27 70 6c 61 69 6e 2d 6c 69 73 74 20 65 6c 65 6d 65 6e 74 0a 20 20 20 | only.one.'plain-list.element.... |
| 35040 | 20 20 20 3b 3b 20 4e 6f 74 68 69 6e 67 20 66 72 6f 6d 20 74 68 65 20 4c 4f 47 42 4f 4f 4b 20 67 | ...;;.Nothing.from.the.LOGBOOK.g |
| 35060 | 65 74 73 20 65 78 70 6f 72 74 65 64 20 74 6f 20 74 68 65 20 4d 61 72 6b 64 6f 77 6e 20 62 6f 64 | ets.exported.to.the.Markdown.bod |
| 35080 | 79 0a 20 20 20 20 20 20 22 22 29 0a 20 20 20 20 20 3b 3b 20 4f 74 68 65 72 20 4f 72 67 20 44 72 | y......."")......;;.Other.Org.Dr |
| 350a0 | 61 77 65 72 73 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 64 72 | awers......(t.......(org-html-dr |
| 350c0 | 61 77 65 72 20 64 72 61 77 65 72 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 29 29 29 0a 0a | awer.drawer.contents.info))))).. |
| 350e0 | 3b 3b 3b 3b 20 45 78 61 6d 70 6c 65 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 | ;;;;.Example.Block.(defun.org-hu |
| 35100 | 67 6f 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 28 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 | go-example-block.(example-block. |
| 35120 | 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 6e 20 | _contents.info)..."Transcode.an. |
| 35140 | 45 58 41 4d 50 4c 45 2d 42 4c 4f 43 4b 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 4d 61 72 6b 64 | EXAMPLE-BLOCK.element.into.Markd |
| 35160 | 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e 20 20 49 | own.format...CONTENTS.is.nil...I |
| 35180 | 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 | NFO.is.a.plist.holding.contextua |
| 351a0 | 6c 0a 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 73 77 69 74 63 68 | l.information."...(let*.((switch |
| 351c0 | 65 73 2d 73 74 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 73 77 | es-str.(org-element-property.:sw |
| 351e0 | 69 74 63 68 65 73 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 | itches.example-block)).......... |
| 35200 | 3b 3b 20 42 65 6c 6f 77 20 69 73 20 61 20 68 61 63 6b 20 66 6f 72 20 61 6c 6c 6f 77 69 6e 67 20 | ;;.Below.is.a.hack.for.allowing. |
| 35220 | 22 3a 6c 69 6e 65 6e 6f 73 20 3c 76 61 6c 75 65 3e 22 20 70 61 72 61 6d 65 74 65 72 0a 20 20 20 | ":linenos.<value>".parameter.... |
| 35240 | 20 20 20 20 20 20 3b 3b 20 69 6e 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 20 68 65 61 64 65 72 | ......;;.in.example.block.header |
| 35260 | 2c 20 62 65 63 61 75 73 65 20 74 68 65 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 4f 72 67 0a | ,.because.the.example-block.Org. |
| 35280 | 20 20 20 20 20 20 20 20 20 3b 3b 20 65 6c 65 6d 65 6e 74 20 70 61 72 73 65 73 20 6f 6e 6c 79 20 | .........;;.element.parses.only. |
| 352a0 | 22 2d 73 77 69 74 63 68 65 73 22 2c 20 6e 6f 74 20 22 3a 70 61 72 61 6d 65 74 65 72 73 22 2e 0a | "-switches",.not.":parameters".. |
| 352c0 | 20 20 20 20 20 20 20 20 20 28 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 28 61 6e 64 20 28 6f 72 | .........(linenos-style.(and.(or |
| 352e0 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 73 77 69 74 63 68 65 73 2d 73 74 72 29 0a 20 20 20 20 | g-string-nw-p.switches-str)..... |
| 35300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 | .........................(string |
| 35320 | 2d 6d 61 74 63 68 20 22 3a 6c 69 6e 65 6e 6f 73 5c 5c 73 2d 2b 5c 5c 28 5b 5e 20 5d 2b 5c 5c 29 | -match.":linenos\\s-+\\([^.]+\\) |
| 35340 | 5c 5c 62 22 20 73 77 69 74 63 68 65 73 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | \\b".switches-str).............. |
| 35360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f | ................(match-string-no |
| 35380 | 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 73 77 69 74 63 68 65 73 2d 73 74 72 29 29 29 29 0a 20 | -properties.1.switches-str)))).. |
| 353a0 | 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 20 65 78 61 | ...(org-element-put-property.exa |
| 353c0 | 6d 70 6c 65 2d 62 6c 6f 63 6b 20 3a 6c 61 6e 67 75 61 67 65 20 22 74 65 78 74 22 29 0a 20 20 20 | mple-block.:language."text").... |
| 353e0 | 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 20 65 78 61 6d 70 | .(org-element-put-property.examp |
| 35400 | 6c 65 2d 62 6c 6f 63 6b 20 3a 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 6c 69 6e 65 6e 6f 73 2d | le-block.:linenos-style.linenos- |
| 35420 | 73 74 79 6c 65 29 0a 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 20 65 | style).....(org-hugo-src-block.e |
| 35440 | 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 6e 69 6c 20 69 6e 66 6f 29 29 29 0a 0a 3b 3b 3b 3b 20 45 | xample-block.nil.info)))..;;;;.E |
| 35460 | 78 70 6f 72 74 20 53 6e 69 70 70 65 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 | xport.Snippet.(defun.org-hugo-ex |
| 35480 | 70 6f 72 74 2d 73 6e 69 70 70 65 74 20 28 65 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 20 5f 63 6f | port-snippet.(export-snippet._co |
| 354a0 | 6e 74 65 6e 74 73 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 45 58 50 | ntents._info)..."Transcode.a.EXP |
| 354c0 | 4f 52 54 2d 53 4e 49 50 50 45 54 20 6f 62 6a 65 63 74 20 66 72 6f 6d 20 4f 72 67 20 74 6f 20 48 | ORT-SNIPPET.object.from.Org.to.H |
| 354e0 | 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 2e 0a 43 4f 4e 54 45 4e 54 | ugo-compatible.Markdown..CONTENT |
| 35500 | 53 20 69 73 20 6e 69 6c 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f 6c 64 69 | S.is.nil...INFO.is.a.plist.holdi |
| 35520 | 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 45 78 61 6d | ng.contextual.information...Exam |
| 35540 | 70 6c 65 3a 0a 0a 20 20 5c 22 40 40 68 75 67 6f 3a 66 6f 6f 40 40 5c 22 0a 0a 65 78 70 6f 72 74 | ple:....\"@@hugo:foo@@\"..export |
| 35560 | 73 20 76 65 72 62 61 74 69 6d 20 74 6f 20 5c 22 66 6f 6f 5c 22 20 6f 6e 6c 79 20 77 68 65 6e 20 | s.verbatim.to.\"foo\".only.when. |
| 35580 | 65 78 70 6f 72 74 65 64 20 75 73 69 6e 67 20 60 68 75 67 6f 27 0a 62 61 63 6b 65 6e 64 2e 0a 0a | exported.using.`hugo'.backend... |
| 355a0 | 45 78 70 6f 72 74 20 73 6e 69 70 70 65 74 73 20 77 69 74 68 20 62 61 63 6b 65 6e 64 20 74 61 67 | Export.snippets.with.backend.tag |
| 355c0 | 73 20 5c 22 6d 61 72 6b 64 6f 77 6e 3a 5c 22 20 61 6e 64 20 5c 22 6d 64 3a 5c 22 20 61 72 65 0a | s.\"markdown:\".and.\"md:\".are. |
| 355e0 | 61 6c 73 6f 20 68 61 6e 64 6c 65 64 2e 20 20 45 78 70 6f 72 74 69 6e 67 20 6f 66 20 65 78 70 6f | also.handled...Exporting.of.expo |
| 35600 | 72 74 20 73 6e 69 70 70 65 74 73 20 77 69 74 68 20 62 61 63 6b 65 6e 64 20 74 61 67 0a 5c 22 68 | rt.snippets.with.backend.tag.\"h |
| 35620 | 74 6d 6c 3a 5c 22 20 75 73 65 73 20 74 68 65 20 48 54 4d 4c 20 65 78 70 6f 72 74 65 72 2e 22 0a | tml:\".uses.the.HTML.exporter.". |
| 35640 | 20 20 28 63 6f 6e 64 0a 20 20 20 28 28 6d 65 6d 62 65 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d | ..(cond....((member.(org-export- |
| 35660 | 73 6e 69 70 70 65 74 2d 62 61 63 6b 65 6e 64 20 65 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 29 20 | snippet-backend.export-snippet). |
| 35680 | 27 28 68 75 67 6f 20 6d 61 72 6b 64 6f 77 6e 20 6d 64 29 29 0a 20 20 20 20 3b 3b 20 6f 78 2d 6d | '(hugo.markdown.md)).....;;.ox-m |
| 356a0 | 64 2e 65 6c 20 64 6f 65 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 20 65 78 70 6f 72 74 20 73 6e 69 | d.el.does.not.support.export.sni |
| 356c0 | 70 70 65 74 73 2c 20 73 6f 20 6c 65 74 27 73 20 68 61 6e 64 6c 65 0a 20 20 20 20 3b 3b 20 4d 61 | ppets,.so.let's.handle.....;;.Ma |
| 356e0 | 72 6b 64 6f 77 6e 20 65 78 70 6f 72 74 20 73 6e 69 70 70 65 74 73 20 68 65 72 65 20 61 73 20 77 | rkdown.export.snippets.here.as.w |
| 35700 | 65 6c 6c 2e 0a 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a | ell......(org-element-property.: |
| 35720 | 76 61 6c 75 65 20 65 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 29 29 0a 20 20 20 3b 3b 20 41 6c 73 | value.export-snippet))....;;.Als |
| 35740 | 6f 20 69 6e 63 6c 75 64 65 20 48 54 4d 4c 20 65 78 70 6f 72 74 20 73 6e 69 70 70 65 74 73 2e 0a | o.include.HTML.export.snippets.. |
| 35760 | 20 20 20 28 74 0a 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 62 61 63 6b 65 | ...(t.....(org-export-with-backe |
| 35780 | 6e 64 20 27 68 74 6d 6c 20 65 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 20 6e 69 6c 20 6e 69 6c 29 | nd.'html.export-snippet.nil.nil) |
| 357a0 | 29 29 29 0a 0a 3b 3b 3b 3b 20 45 78 70 6f 72 74 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 | )))..;;;;.Export.Block.(defun.or |
| 357c0 | 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 62 6c 6f 63 6b 20 28 65 78 70 6f 72 74 2d 62 6c 6f 63 | g-hugo-export-block.(export-bloc |
| 357e0 | 6b 20 5f 63 6f 6e 74 65 6e 74 73 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 | k._contents._info)..."Transcode. |
| 35800 | 61 20 45 58 50 4f 52 54 2d 42 4c 4f 43 4b 20 65 6c 65 6d 65 6e 74 20 66 72 6f 6d 20 4f 72 67 20 | a.EXPORT-BLOCK.element.from.Org. |
| 35820 | 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 2e 0a 43 4f 4e | to.Hugo-compatible.Markdown..CON |
| 35840 | 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 | TENTS.is.nil...INFO.is.a.plist.h |
| 35860 | 6f 6c 64 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a | olding.contextual.information... |
| 35880 | 45 78 61 6d 70 6c 65 3a 0a 0a 20 20 23 2b 62 65 67 69 6e 5f 65 78 70 6f 72 74 20 68 75 67 6f 0a | Example:....#+begin_export.hugo. |
| 358a0 | 20 20 66 6f 6f 0a 20 20 23 2b 65 6e 64 5f 65 78 70 6f 72 74 0a 0a 65 78 70 6f 72 74 73 20 76 65 | ..foo...#+end_export..exports.ve |
| 358c0 | 72 62 61 74 69 6d 20 74 6f 20 5c 22 66 6f 6f 5c 22 20 6f 6e 6c 79 20 77 68 65 6e 20 65 78 70 6f | rbatim.to.\"foo\".only.when.expo |
| 358e0 | 72 74 65 64 20 75 73 69 6e 67 20 60 68 75 67 6f 27 0a 62 61 63 6b 65 6e 64 2e 0a 0a 49 66 20 74 | rted.using.`hugo'.backend...If.t |
| 35900 | 68 65 20 62 61 63 6b 65 6e 64 20 74 61 67 20 69 73 20 5c 22 6d 61 72 6b 64 6f 77 6e 5c 22 2f 5c | he.backend.tag.is.\"markdown\"/\ |
| 35920 | 22 6d 64 5c 22 20 6f 72 20 5c 22 68 74 6d 6c 5c 22 2c 20 65 78 70 6f 72 74 69 6e 67 0a 6f 66 20 | "md\".or.\"html\",.exporting.of. |
| 35940 | 74 68 6f 73 65 20 62 6c 6f 63 6b 73 20 66 61 6c 6c 73 20 62 61 63 6b 20 74 6f 20 74 68 65 20 72 | those.blocks.falls.back.to.the.r |
| 35960 | 65 73 70 65 63 74 69 76 65 20 65 78 70 6f 72 74 65 72 73 2e 22 0a 20 20 28 63 6f 6e 64 0a 20 20 | espective.exporters."...(cond... |
| 35980 | 20 28 28 73 74 72 69 6e 67 3d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 | .((string=.(org-element-property |
| 359a0 | 20 3a 74 79 70 65 20 65 78 70 6f 72 74 2d 62 6c 6f 63 6b 29 20 22 48 55 47 4f 22 29 0a 20 20 20 | .:type.export-block)."HUGO").... |
| 359c0 | 20 28 6f 72 67 2d 72 65 6d 6f 76 65 2d 69 6e 64 65 6e 74 61 74 69 6f 6e 20 28 6f 72 67 2d 65 6c | .(org-remove-indentation.(org-el |
| 359e0 | 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 65 78 70 6f 72 74 2d 62 6c 6f | ement-property.:value.export-blo |
| 35a00 | 63 6b 29 29 29 0a 20 20 20 3b 3b 20 41 6c 73 6f 20 69 6e 63 6c 75 64 65 20 4d 61 72 6b 64 6f 77 | ck)))....;;.Also.include.Markdow |
| 35a20 | 6e 20 61 6e 64 20 48 54 4d 4c 20 65 78 70 6f 72 74 20 62 6c 6f 63 6b 73 2e 0a 20 20 20 3b 3b 20 | n.and.HTML.export.blocks.....;;. |
| 35a40 | 6f 78 2d 6d 64 20 68 61 6e 64 6c 65 73 20 48 54 4d 4c 20 65 78 70 6f 72 74 20 62 6c 6f 63 6b 73 | ox-md.handles.HTML.export.blocks |
| 35a60 | 20 74 6f 6f 2e 0a 20 20 20 28 74 0a 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 77 69 74 68 | .too.....(t.....(org-export-with |
| 35a80 | 2d 62 61 63 6b 65 6e 64 20 27 6d 64 20 65 78 70 6f 72 74 2d 62 6c 6f 63 6b 20 6e 69 6c 20 6e 69 | -backend.'md.export-block.nil.ni |
| 35aa0 | 6c 29 29 29 29 0a 0a 3b 3b 3b 3b 20 48 65 61 64 69 6e 67 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 | l))))..;;;;.Heading.(defun.org-h |
| 35ac0 | 75 67 6f 2d 68 65 61 64 69 6e 67 20 28 68 65 61 64 69 6e 67 20 63 6f 6e 74 65 6e 74 73 20 69 6e | ugo-heading.(heading.contents.in |
| 35ae0 | 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 48 45 41 44 49 4e 47 20 65 6c 65 6d 65 6e 74 | fo)..."Transcode.HEADING.element |
| 35b00 | 20 69 6e 74 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 | .into.Markdown.format..CONTENTS. |
| 35b20 | 69 73 20 74 68 65 20 68 65 61 64 69 6e 67 20 63 6f 6e 74 65 6e 74 73 2e 20 20 49 4e 46 4f 20 69 | is.the.heading.contents...INFO.i |
| 35b40 | 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 0a 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f | s.a.plist.used.as.a.communicatio |
| 35b60 | 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 67 2d 65 6c 65 6d 65 | n.channel."...(unless.(org-eleme |
| 35b80 | 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 66 6f 6f 74 6e 6f 74 65 2d 73 65 63 74 69 6f 6e 2d 70 20 | nt-property.:footnote-section-p. |
| 35ba0 | 68 65 61 64 69 6e 67 29 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 6e 75 6d 62 65 72 73 20 28 6f 72 | heading).....(let*.((numbers.(or |
| 35bc0 | 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 68 65 61 64 69 6e 67 2d 6e 75 6d 62 65 72 20 68 65 61 64 69 | g-hugo--get-heading-number.headi |
| 35be0 | 6e 67 20 69 6e 66 6f 20 6e 69 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 6f 66 66 73 65 | ng.info.nil))............(loffse |
| 35c00 | 74 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 | t.(string-to-number.(plist-get.i |
| 35c20 | 6e 66 6f 20 3a 68 75 67 6f 2d 6c 65 76 65 6c 2d 6f 66 66 73 65 74 29 29 29 20 3b 22 22 20 2d 3e | nfo.:hugo-level-offset))).;"".-> |
| 35c40 | 20 30 2c 20 22 30 22 20 2d 3e 20 30 2c 20 22 31 22 20 2d 3e 20 31 2c 20 2e 2e 0a 20 20 20 20 20 | .0,."0".->.0,."1".->.1,......... |
| 35c60 | 20 20 20 20 20 20 28 6c 65 76 65 6c 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 6c | ......(level.(org-export-get-rel |
| 35c80 | 61 74 69 76 65 2d 6c 65 76 65 6c 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 | ative-level.heading.info))...... |
| 35ca0 | 20 20 20 20 20 20 28 6c 65 76 65 6c 2d 65 66 66 65 63 74 69 76 65 20 28 2b 20 6c 6f 66 66 73 65 | ......(level-effective.(+.loffse |
| 35cc0 | 74 20 6c 65 76 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 20 28 6f 72 67 | t.level))............(title.(org |
| 35ce0 | 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 | -export-data.(org-element-proper |
| 35d00 | 74 79 20 3a 74 69 74 6c 65 20 68 65 61 64 69 6e 67 29 20 69 6e 66 6f 29 29 20 3b 60 6f 72 67 2d | ty.:title.heading).info)).;`org- |
| 35d20 | 65 78 70 6f 72 74 2d 64 61 74 61 27 20 72 65 71 75 69 72 65 64 0a 20 20 20 20 20 20 20 20 20 20 | export-data'.required........... |
| 35d40 | 20 28 74 6f 64 6f 20 28 61 6e 64 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 | .(todo.(and.(org-hugo--plist-get |
| 35d60 | 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 6f 64 6f 2d 6b 65 79 77 6f 72 64 73 | -true-p.info.:with-todo-keywords |
| 35d80 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 | ).......................(org-ele |
| 35da0 | 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 6f 64 6f 2d 6b 65 79 77 6f 72 64 20 68 65 61 64 | ment-property.:todo-keyword.head |
| 35dc0 | 69 6e 67 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 6f 64 6f 2d 66 6d 74 64 20 28 77 68 | ing)))............(todo-fmtd.(wh |
| 35de0 | 65 6e 20 74 6f 64 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | en.todo......................... |
| 35e00 | 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 74 6f 64 6f 20 74 6f 64 6f 20 69 6e 66 | (concat.(org-hugo--todo.todo.inf |
| 35e20 | 6f 29 20 22 20 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 67 73 2d 66 6d 74 64 20 | o).".")))............(tags-fmtd. |
| 35e40 | 28 61 6e 64 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 | (and.(org-hugo--plist-get-true-p |
| 35e60 | 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .info.:with-tags)............... |
| 35e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 74 61 67 73 2d 6c 69 73 74 20 28 | .............(let*.((tags-list.( |
| 35ea0 | 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 74 61 67 73 20 68 65 61 64 69 6e 67 20 69 6e 66 6f | org-export-get-tags.heading.info |
| 35ec0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............................. |
| 35ee0 | 20 20 20 20 20 28 74 61 67 73 2d 6c 69 73 74 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f 72 67 2d | .....(tags-list.(dolist.(fn.org- |
| 35f00 | 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 20 74 61 | hugo-tag-processing-functions.ta |
| 35f20 | 67 73 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gs-list)........................ |
| 35f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 | ........................(setq.ta |
| 35f60 | 67 73 2d 6c 69 73 74 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 74 61 67 73 2d 6c 69 73 74 20 69 6e | gs-list.(funcall.fn.tags-list.in |
| 35f80 | 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | fo)))).......................... |
| 35fa0 | 20 20 20 20 20 20 20 20 20 28 74 61 67 73 2d 68 74 6d 6c 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 74 | .........(tags-html.(org-hugo--t |
| 35fc0 | 61 67 73 20 74 61 67 73 2d 6c 69 73 74 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ags.tags-list.info)))........... |
| 35fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 | ...................(when.(org-st |
| 36000 | 72 69 6e 67 2d 6e 77 2d 70 20 74 61 67 73 2d 68 74 6d 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ring-nw-p.tags-html)............ |
| 36020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 20 22 20 | ....................(concat.".". |
| 36040 | 74 61 67 73 2d 68 74 6d 6c 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 70 72 69 6f 72 | tags-html)))))............(prior |
| 36060 | 69 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 6f 72 67 2d 68 75 67 6f 2d 2d | ity.............(and.(org-hugo-- |
| 36080 | 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 77 69 74 68 2d 70 72 69 6f | plist-get-true-p.info.:with-prio |
| 360a0 | 72 69 74 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 68 | rity)..................(let.((ch |
| 360c0 | 61 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 70 72 69 6f 72 69 | ar.(org-element-property.:priori |
| 360e0 | 74 79 20 68 65 61 64 69 6e 67 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ty.heading)))................... |
| 36100 | 20 28 61 6e 64 20 63 68 61 72 20 28 66 6f 72 6d 61 74 20 22 5b 23 25 63 5d 20 22 20 63 68 61 72 | .(and.char.(format."[#%c].".char |
| 36120 | 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 79 6c 65 20 28 70 6c 69 73 74 2d 67 | )))))............(style.(plist-g |
| 36140 | 65 74 20 69 6e 66 6f 20 3a 6d 64 2d 68 65 61 64 6c 69 6e 65 2d 73 74 79 6c 65 29 29 29 0a 20 20 | et.info.:md-headline-style)))... |
| 36160 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 68 65 61 64 69 6e | ....;;.(message."[ox-hugo-headin |
| 36180 | 67 20 44 42 47 5d 20 6e 75 6d 3a 20 25 73 22 20 6e 75 6d 62 65 72 73 29 0a 20 20 20 20 20 20 3b | g.DBG].num:.%s".numbers).......; |
| 361a0 | 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 68 65 61 64 69 6e 67 20 44 42 47 | ;.(message."[ox-hugo-heading.DBG |
| 361c0 | 5d 20 77 69 74 68 2d 74 61 67 73 3a 20 25 53 22 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 | ].with-tags:.%S".(org-hugo--plis |
| 361e0 | 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 61 67 73 29 29 0a 20 | t-get-true-p.info.:with-tags)).. |
| 36200 | 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 68 65 61 64 69 | .....;;.(message."[ox-hugo-headi |
| 36220 | 6e 67 20 44 42 47 5d 20 74 61 67 73 3a 20 25 53 22 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 | ng.DBG].tags:.%S".(org-export-ge |
| 36240 | 74 2d 74 61 67 73 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 28 63 6f 6e | t-tags.heading.info)).......(con |
| 36260 | 64 0a 20 20 20 20 20 20 20 3b 3b 20 43 61 6e 6e 6f 74 20 63 72 65 61 74 65 20 61 20 68 65 61 64 | d........;;.Cannot.create.a.head |
| 36280 | 69 6e 67 2e 20 20 46 61 6c 6c 2d 62 61 63 6b 20 74 6f 20 61 20 6c 69 73 74 2e 0a 20 20 20 20 20 | ing...Fall-back.to.a.list....... |
| 362a0 | 20 20 28 28 6f 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 6c 6f 77 2d 6c 65 76 65 6c 2d 70 20 68 | ..((or.(org-export-low-level-p.h |
| 362c0 | 65 61 64 69 6e 67 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 6d | eading.info).............(not.(m |
| 362e0 | 65 6d 71 20 73 74 79 6c 65 20 27 28 61 74 78 20 73 65 74 65 78 74 29 29 29 0a 20 20 20 20 20 20 | emq.style.'(atx.setext)))....... |
| 36300 | 20 20 20 20 20 20 28 61 6e 64 20 28 65 71 20 73 74 79 6c 65 20 27 61 74 78 29 20 28 3e 20 6c 65 | ......(and.(eq.style.'atx).(>.le |
| 36320 | 76 65 6c 2d 65 66 66 65 63 74 69 76 65 20 36 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 61 | vel-effective.6)).............(a |
| 36340 | 6e 64 20 28 65 71 20 73 74 79 6c 65 20 27 73 65 74 65 78 74 29 20 28 3e 20 6c 65 76 65 6c 2d 65 | nd.(eq.style.'setext).(>.level-e |
| 36360 | 66 66 65 63 74 69 76 65 20 32 29 29 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 62 75 6c | ffective.2))).........(let.((bul |
| 36380 | 6c 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6e 6f 74 20 28 6f 72 67 | let................(if.(not.(org |
| 363a0 | 2d 65 78 70 6f 72 74 2d 6e 75 6d 62 65 72 65 64 2d 68 65 61 64 6c 69 6e 65 2d 70 20 68 65 61 64 | -export-numbered-headline-p.head |
| 363c0 | 69 6e 67 20 69 6e 66 6f 29 29 20 22 2d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing.info))."-".................. |
| 363e0 | 28 63 6f 6e 63 61 74 20 28 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 | (concat.(number-to-string....... |
| 36400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 20 28 6c 61 73 74 20 28 | ....................(car.(last.( |
| 36420 | 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 68 65 61 64 6c 69 6e 65 2d 6e 75 6d 62 65 72 0a 20 | org-export-get-headline-number.. |
| 36440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 36460 | 20 20 20 20 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | .....heading.info))))........... |
| 36480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2e 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ...............".")))........... |
| 364a0 | 20 20 20 20 28 68 65 61 64 69 6e 67 20 28 63 6f 6e 63 61 74 20 74 6f 64 6f 2d 66 6d 74 64 20 22 | ....(heading.(concat.todo-fmtd." |
| 364c0 | 20 22 20 70 72 69 6f 72 69 74 79 20 74 69 74 6c 65 29 29 29 20 3b 48 65 61 64 69 6e 67 20 74 65 | .".priority.title))).;Heading.te |
| 364e0 | 78 74 20 77 69 74 68 6f 75 74 20 74 61 67 73 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 | xt.without.tags...........(conca |
| 36500 | 74 20 22 3c 21 2d 2d 6c 69 73 74 2d 73 65 70 61 72 61 74 6f 72 2d 2d 3e 5c 6e 5c 6e 22 0a 20 20 | t."<!--list-separator-->\n\n"... |
| 36520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 62 6f 76 65 20 69 73 20 6e 65 65 64 | ................;;.Above.is.need |
| 36540 | 65 64 20 6a 75 73 74 20 69 6e 20 63 61 73 65 20 74 68 65 20 62 6f 64 79 20 6f 66 20 74 68 65 0a | ed.just.in.case.the.body.of.the. |
| 36560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 63 74 69 6f 6e 20 61 62 6f | ..................;;.section.abo |
| 36580 | 76 65 20 69 73 20 65 6e 64 69 6e 67 20 77 69 74 68 20 61 20 70 6c 61 69 6e 20 6c 69 73 74 2e 20 | ve.is.ending.with.a.plain.list.. |
| 365a0 | 54 68 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 48 54 4d 4c 20 63 | That...................;;.HTML.c |
| 365c0 | 6f 6d 6d 65 6e 74 20 77 69 6c 6c 20 66 6f 72 63 65 2d 65 6e 64 20 74 68 65 20 3c 75 6c 3e 20 6f | omment.will.force-end.the.<ul>.o |
| 365e0 | 72 20 3c 6f 6c 3e 20 74 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | r.<ol>.tag...................;;. |
| 36600 | 6f 66 20 74 68 61 74 20 70 72 65 63 65 64 69 6e 67 20 6c 69 73 74 2e 0a 20 20 20 20 20 20 20 20 | of.that.preceding.list.......... |
| 36620 | 20 20 20 20 20 20 20 20 20 20 62 75 6c 6c 65 74 20 22 20 22 20 68 65 61 64 69 6e 67 20 74 61 67 | ..........bullet.".".heading.tag |
| 36640 | 73 2d 66 6d 74 64 20 22 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s-fmtd."\n\n"................... |
| 36660 | 28 61 6e 64 20 63 6f 6e 74 65 6e 74 73 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e | (and.contents.(replace-regexp-in |
| 36680 | 2d 73 74 72 69 6e 67 20 22 5e 22 20 22 20 20 20 20 22 20 63 6f 6e 74 65 6e 74 73 29 29 29 29 29 | -string."^"."....".contents))))) |
| 366a0 | 0a 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 61 6e 63 68 6f | ........(t.........(let*.((ancho |
| 366c0 | 72 20 28 77 68 65 6e 20 6f 72 67 2d 68 75 67 6f 2d 68 65 61 64 6c 69 6e 65 2d 61 6e 63 68 6f 72 | r.(when.org-hugo-headline-anchor |
| 366e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 | ..........................(forma |
| 36700 | 74 20 22 7b 23 25 73 7d 22 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 20 | t."{#%s}".(org-hugo--get-anchor. |
| 36720 | 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 29 29 20 3b 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f | heading.info)))).;https://gohugo |
| 36740 | 2e 69 6f 2f 65 78 74 72 61 73 2f 63 72 6f 73 73 72 65 66 65 72 65 6e 63 65 73 2f 0a 20 20 20 20 | .io/extras/crossreferences/..... |
| 36760 | 20 20 20 20 20 20 20 20 20 20 20 28 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 28 6f 72 67 2d 68 | ...........(heading-title.(org-h |
| 36780 | 75 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 73 74 79 6c 65 20 6c 65 76 65 6c 20 6c | ugo--heading-title.style.level.l |
| 367a0 | 6f 66 66 73 65 74 20 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | offset.title.................... |
| 367c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 367e0 | 20 20 20 20 74 6f 64 6f 2d 66 6d 74 64 20 74 61 67 73 2d 66 6d 74 64 20 61 6e 63 68 6f 72 20 6e | ....todo-fmtd.tags-fmtd.anchor.n |
| 36800 | 75 6d 62 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 72 61 70 2d 65 6c | umbers))................(wrap-el |
| 36820 | 65 6d 65 6e 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 6e 74 61 69 6e 65 72 20 68 65 61 64 69 | ement.(org-hugo--container.headi |
| 36840 | 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e | ng.info))................(conten |
| 36860 | 74 2d 73 74 72 20 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 6f 6e 74 65 | t-str.(or.(org-string-nw-p.conte |
| 36880 | 6e 74 73 29 20 22 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 77 72 61 70 2d 65 6c | nts)."")))...........(if.wrap-el |
| 368a0 | 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 63 6f 6e 74 | ement...............(let*.((cont |
| 368c0 | 61 69 6e 65 72 2d 63 6c 61 73 73 20 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f | ainer-class.(or.(org-element-pro |
| 368e0 | 70 65 72 74 79 20 3a 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 5f 43 4c 41 53 53 20 68 65 61 64 | perty.:HTML_CONTAINER_CLASS.head |
| 36900 | 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing)............................ |
| 36920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 | ...............(org-element-prop |
| 36940 | 65 72 74 79 20 3a 45 58 50 4f 52 54 5f 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 5f 43 4c 41 53 | erty.:EXPORT_HTML_CONTAINER_CLAS |
| 36960 | 53 20 68 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | S.heading)...................... |
| 36980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 | .....................(plist-get. |
| 369a0 | 69 6e 66 6f 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 2d 63 6c 61 73 73 29 29 29 0a 20 20 | info.:html-container-class)))... |
| 369c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 61 69 6e 65 72 2d 63 6c | ...................(container-cl |
| 369e0 | 61 73 73 2d 73 74 72 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 6f 6e | ass-str.(if.(org-string-nw-p.con |
| 36a00 | 74 61 69 6e 65 72 2d 63 6c 61 73 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tainer-class)................... |
| 36a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e | ............................(con |
| 36a40 | 63 61 74 20 22 20 22 20 63 6f 6e 74 61 69 6e 65 72 2d 63 6c 61 73 73 29 0a 20 20 20 20 20 20 20 | cat.".".container-class)........ |
| 36a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 36a80 | 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 2d 63 6c 61 73 73 29 29 29 0a 20 20 20 20 20 20 20 20 | .....container-class)))......... |
| 36aa0 | 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 28 63 6f 6e 63 61 74 20 22 3c 25 73 20 63 6c 61 | ........(format.(concat."<%s.cla |
| 36ac0 | 73 73 3d 5c 22 6f 75 74 6c 69 6e 65 2d 25 64 25 73 5c 22 3e 5c 6e 22 0a 20 20 20 20 20 20 20 20 | ss=\"outline-%d%s\">\n"......... |
| 36ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 25 73 25 73 5c 6e 22 | ........................"%s%s\n" |
| 36b00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 36b20 | 20 22 3c 2f 25 73 3e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."</%s>")....................... |
| 36b40 | 20 20 77 72 61 70 2d 65 6c 65 6d 65 6e 74 20 6c 65 76 65 6c 20 63 6f 6e 74 61 69 6e 65 72 2d 63 | ..wrap-element.level.container-c |
| 36b60 | 6c 61 73 73 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lass-str........................ |
| 36b80 | 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 63 6f 6e 74 65 6e 74 2d 73 74 72 0a 20 20 20 20 20 | .heading-title.content-str...... |
| 36ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 72 61 70 2d 65 6c 65 6d 65 6e 74 29 | ...................wrap-element) |
| 36bc0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 22 20 68 65 61 | ).............(format."%s%s".hea |
| 36be0 | 64 69 6e 67 2d 74 69 74 6c 65 20 63 6f 6e 74 65 6e 74 2d 73 74 72 29 29 29 29 29 29 29 29 0a 0a | ding-title.content-str)))))))).. |
| 36c00 | 3b 3b 3b 3b 3b 20 48 65 61 64 69 6e 67 20 48 65 6c 70 65 72 73 0a 28 64 65 66 75 6e 20 6f 72 67 | ;;;;;.Heading.Helpers.(defun.org |
| 36c20 | 2d 68 75 67 6f 2d 2d 63 6f 6e 74 61 69 6e 65 72 20 28 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 0a | -hugo--container.(heading.info). |
| 36c40 | 20 20 22 47 65 74 20 74 68 65 20 48 54 4d 4c 20 63 6f 6e 74 61 69 6e 65 72 20 65 6c 65 6d 65 6e | .."Get.the.HTML.container.elemen |
| 36c60 | 74 20 66 6f 72 20 48 45 41 44 49 4e 47 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 | t.for.HEADING...INFO.is.a.plist. |
| 36c80 | 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e | used.as.a.communication.channel. |
| 36ca0 | 0a 0a 49 66 20 61 20 68 65 61 64 69 6e 67 20 68 61 73 20 60 3a 48 54 4d 4c 5f 43 4f 4e 54 41 49 | ..If.a.heading.has.`:HTML_CONTAI |
| 36cc0 | 4e 45 52 3a 27 20 6f 72 20 60 3a 45 58 50 4f 52 54 5f 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 | NER:'.or.`:EXPORT_HTML_CONTAINER |
| 36ce0 | 3a 27 0a 70 72 6f 70 65 72 74 79 2c 20 74 68 61 74 20 69 73 20 75 73 65 64 20 66 6f 72 20 74 68 | :'.property,.that.is.used.for.th |
| 36d00 | 65 20 63 6f 6e 74 61 69 6e 65 72 20 65 6c 65 6d 65 6e 74 2e 0a 0a 45 6c 73 65 20 69 66 20 74 68 | e.container.element...Else.if.th |
| 36d20 | 65 20 60 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 27 20 70 72 6f 70 65 72 74 79 20 69 73 20 | e.`:html-container'.property.is. |
| 36d40 | 61 20 6e 6f 6e 2d 65 6d 70 74 79 20 73 74 72 69 6e 67 3a 0a 20 20 2d 20 46 6f 72 20 74 68 65 20 | a.non-empty.string:...-.For.the. |
| 36d60 | 74 6f 70 20 6c 65 76 65 6c 20 68 65 61 64 69 6e 67 73 2c 20 77 72 61 70 70 69 6e 67 20 69 73 20 | top.level.headings,.wrapping.is. |
| 36d80 | 64 6f 6e 65 20 75 73 69 6e 67 20 74 68 61 74 20 70 72 6f 70 65 72 74 79 2e 0a 20 20 2d 20 46 6f | done.using.that.property....-.Fo |
| 36da0 | 72 20 73 65 63 6f 6e 64 20 61 6e 64 20 6c 6f 77 65 72 20 6c 65 76 65 6c 20 68 65 61 64 69 6e 67 | r.second.and.lower.level.heading |
| 36dc0 | 73 2c 20 77 72 61 70 70 69 6e 67 20 69 73 20 64 6f 6e 65 20 75 73 69 6e 67 0a 20 20 20 20 74 68 | s,.wrapping.is.done.using.....th |
| 36de0 | 65 20 48 54 4d 4c 20 3c 64 69 76 3e 20 74 61 67 73 2e 0a 0a 45 6c 73 65 2c 20 6e 6f 20 48 54 4d | e.HTML.<div>.tags...Else,.no.HTM |
| 36e00 | 4c 20 65 6c 65 6d 65 6e 74 20 69 73 20 77 72 61 70 70 65 64 20 61 72 6f 75 6e 64 20 74 68 65 20 | L.element.is.wrapped.around.the. |
| 36e20 | 48 45 41 44 49 4e 47 2e 22 0a 20 20 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f | HEADING."...(or.(org-element-pro |
| 36e40 | 70 65 72 74 79 20 3a 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 20 68 65 61 64 69 6e 67 29 20 3b | perty.:HTML_CONTAINER.heading).; |
| 36e60 | 70 72 6f 70 65 72 74 79 20 6f 66 20 74 68 65 20 69 6d 6d 65 64 69 61 74 65 20 68 65 61 64 69 6e | property.of.the.immediate.headin |
| 36e80 | 67 0a 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 45 | g.......(org-element-property.:E |
| 36ea0 | 58 50 4f 52 54 5f 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 20 68 65 61 64 69 6e 67 29 20 3b 70 | XPORT_HTML_CONTAINER.heading).;p |
| 36ec0 | 72 6f 70 65 72 74 79 20 6f 66 20 74 68 65 20 69 6d 6d 65 64 69 61 74 65 20 68 65 61 64 69 6e 67 | roperty.of.the.immediate.heading |
| 36ee0 | 0a 20 20 20 20 20 20 28 61 6e 64 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 70 6c | .......(and.(org-string-nw-p.(pl |
| 36f00 | 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 29 29 20 3b | ist-get.info.:html-container)).; |
| 36f20 | 69 6e 68 65 72 69 74 65 64 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 3a 20 70 72 6f 70 65 | inherited.:html-container:.prope |
| 36f40 | 72 74 79 20 69 66 20 61 6e 79 0a 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 20 28 70 | rty.if.any............(if.(or.(p |
| 36f60 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 2d 6e 65 | list-get.info.:html-container-ne |
| 36f80 | 73 74 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3d 20 31 20 28 6f | sted)....................(=.1.(o |
| 36fa0 | 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 6c 20 68 65 61 | rg-export-get-relative-level.hea |
| 36fc0 | 64 69 6e 67 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 | ding.info)))................(pli |
| 36fe0 | 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 29 0a 20 20 20 | st-get.info.:html-container).... |
| 37000 | 20 20 20 20 20 20 20 20 20 20 22 64 69 76 22 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c | .........."div"))))..;;;###autol |
| 37020 | 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 73 6c 75 67 20 28 73 74 72 20 26 6f | oad.(defun.org-hugo-slug.(str.&o |
| 37040 | 70 74 69 6f 6e 61 6c 20 61 6c 6c 6f 77 2d 64 6f 75 62 6c 65 2d 68 79 70 68 65 6e 73 29 0a 20 20 | ptional.allow-double-hyphens)... |
| 37060 | 22 43 6f 6e 76 65 72 74 20 73 74 72 69 6e 67 20 53 54 52 20 74 6f 20 61 20 60 73 6c 75 67 27 20 | "Convert.string.STR.to.a.`slug'. |
| 37080 | 61 6e 64 20 72 65 74 75 72 6e 20 74 68 61 74 20 73 74 72 69 6e 67 2e 0a 0a 41 20 60 73 6c 75 67 | and.return.that.string...A.`slug |
| 370a0 | 27 20 69 73 20 74 68 65 20 70 61 72 74 20 6f 66 20 61 20 55 52 4c 20 77 68 69 63 68 20 69 64 65 | '.is.the.part.of.a.URL.which.ide |
| 370c0 | 6e 74 69 66 69 65 73 20 61 20 70 61 72 74 69 63 75 6c 61 72 20 70 61 67 65 0a 6f 6e 20 61 20 77 | ntifies.a.particular.page.on.a.w |
| 370e0 | 65 62 73 69 74 65 20 69 6e 20 61 6e 20 65 61 73 79 20 74 6f 20 72 65 61 64 20 66 6f 72 6d 2e 0a | ebsite.in.an.easy.to.read.form.. |
| 37100 | 0a 45 78 61 6d 70 6c 65 3a 20 49 66 20 53 54 52 20 69 73 20 5c 22 4d 79 20 46 69 72 73 74 20 50 | .Example:.If.STR.is.\"My.First.P |
| 37120 | 6f 73 74 5c 22 2c 20 69 74 20 77 69 6c 6c 20 62 65 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 61 | ost\",.it.will.be.converted.to.a |
| 37140 | 0a 73 6c 75 67 20 5c 22 6d 79 2d 66 69 72 73 74 2d 70 6f 73 74 5c 22 2c 20 77 68 69 63 68 20 63 | .slug.\"my-first-post\",.which.c |
| 37160 | 61 6e 20 62 65 63 6f 6d 65 20 70 61 72 74 20 6f 66 20 61 6e 20 65 61 73 79 20 74 6f 20 72 65 61 | an.become.part.of.an.easy.to.rea |
| 37180 | 64 0a 55 52 4c 20 6c 69 6b 65 20 5c 22 68 74 74 70 73 3a 2f 2f 65 78 61 6d 70 6c 65 2e 63 6f 6d | d.URL.like.\"https://example.com |
| 371a0 | 2f 70 6f 73 74 73 2f 6d 79 2d 66 69 72 73 74 2d 70 6f 73 74 2f 5c 22 2e 0a 0a 49 6e 20 67 65 6e | /posts/my-first-post/\"...In.gen |
| 371c0 | 65 72 61 6c 2c 20 53 54 52 20 69 73 20 61 20 73 74 72 69 6e 67 2e 20 20 42 75 74 20 69 74 20 63 | eral,.STR.is.a.string...But.it.c |
| 371e0 | 61 6e 20 61 6c 73 6f 20 62 65 20 61 20 73 74 72 69 6e 67 20 77 69 74 68 0a 4d 61 72 6b 64 6f 77 | an.also.be.a.string.with.Markdow |
| 37200 | 6e 20 6d 61 72 6b 75 70 20 62 65 63 61 75 73 65 20 53 54 52 20 69 73 20 6f 66 74 65 6e 20 61 20 | n.markup.because.STR.is.often.a. |
| 37220 | 70 6f 73 74 27 73 20 73 75 62 2d 68 65 61 64 69 6e 67 20 28 77 68 69 63 68 0a 63 61 6e 20 63 6f | post's.sub-heading.(which.can.co |
| 37240 | 6e 74 61 69 6e 20 62 6f 6c 64 2c 20 69 74 61 6c 69 63 73 2c 20 6c 69 6e 6b 2c 20 65 74 63 20 6d | ntain.bold,.italics,.link,.etc.m |
| 37260 | 61 72 6b 75 70 29 2e 0a 0a 54 68 65 20 60 73 6c 75 67 27 20 67 65 6e 65 72 61 74 65 64 20 66 72 | arkup)...The.`slug'.generated.fr |
| 37280 | 6f 6d 20 74 68 61 74 20 53 54 52 20 66 6f 6c 6c 6f 77 73 20 74 68 65 73 65 20 72 75 6c 65 73 3a | om.that.STR.follows.these.rules: |
| 372a0 | 0a 0a 2d 20 43 6f 6e 74 61 69 6e 20 6f 6e 6c 79 20 6c 6f 77 65 72 20 63 61 73 65 20 61 6c 70 68 | ..-.Contain.only.lower.case.alph |
| 372c0 | 61 62 65 74 2c 20 6e 75 6d 62 65 72 20 61 6e 64 20 68 79 70 68 65 6e 20 63 68 61 72 61 63 74 65 | abet,.number.and.hyphen.characte |
| 372e0 | 72 73 0a 20 20 28 5b 5b 3a 61 6c 6e 75 6d 3a 5d 2d 5d 29 2e 0a 2d 20 4e 6f 74 20 68 61 76 65 20 | rs...([[:alnum:]-])..-.Not.have. |
| 37300 | 2a 61 6e 79 2a 20 48 54 4d 4c 20 74 61 67 20 6c 69 6b 65 20 5c 22 3c 63 6f 64 65 3e 2e 2e 3c 2f | *any*.HTML.tag.like.\"<code>..</ |
| 37320 | 63 6f 64 65 3e 5c 22 2c 0a 20 20 5c 22 3c 73 70 61 6e 20 63 6c 61 73 73 3d 2e 2e 3e 2e 2e 3c 2f | code>\",...\"<span.class=..>..</ |
| 37340 | 73 70 61 6e 3e 5c 22 2c 20 65 74 63 2e 0a 2d 20 4e 6f 74 20 63 6f 6e 74 61 69 6e 20 61 6e 79 20 | span>\",.etc..-.Not.contain.any. |
| 37360 | 55 52 4c 73 20 28 69 66 20 53 54 52 20 68 61 70 70 65 6e 73 20 74 6f 20 62 65 20 61 20 4d 61 72 | URLs.(if.STR.happens.to.be.a.Mar |
| 37380 | 6b 64 6f 77 6e 20 6c 69 6e 6b 29 2e 0a 2d 20 52 65 70 6c 61 63 65 20 5c 22 2e 5c 22 20 69 6e 20 | kdown.link)..-.Replace.\".\".in. |
| 373a0 | 53 54 52 20 77 69 74 68 20 5c 22 64 6f 74 5c 22 2c 20 5c 22 26 5c 22 20 77 69 74 68 20 5c 22 61 | STR.with.\"dot\",.\"&\".with.\"a |
| 373c0 | 6e 64 5c 22 2c 0a 20 20 5c 22 2b 5c 22 20 77 69 74 68 20 5c 22 70 6c 75 73 5c 22 2e 0a 2d 20 52 | nd\",...\"+\".with.\"plus\"..-.R |
| 373e0 | 65 70 6c 61 63 65 20 70 61 72 65 6e 74 68 65 73 65 73 20 77 69 74 68 20 64 6f 75 62 6c 65 2d 68 | eplace.parentheses.with.double-h |
| 37400 | 79 70 68 65 6e 73 2e 20 20 53 6f 20 5c 22 66 6f 6f 20 28 62 61 72 29 20 62 61 7a 5c 22 0a 20 20 | yphens...So.\"foo.(bar).baz\"... |
| 37420 | 62 65 63 6f 6d 65 73 20 5c 22 66 6f 6f 2d 2d 62 61 72 2d 2d 62 61 7a 5c 22 2e 0a 2d 20 52 65 70 | becomes.\"foo--bar--baz\"..-.Rep |
| 37440 | 6c 61 63 65 20 6e 6f 6e 20 5b 5b 3a 61 6c 6e 75 6d 3a 5d 2d 5d 20 63 68 61 72 73 20 77 69 74 68 | lace.non.[[:alnum:]-].chars.with |
| 37460 | 20 73 70 61 63 65 73 2c 20 61 6e 64 20 74 68 65 6e 20 6f 6e 65 20 6f 72 0a 20 20 6d 6f 72 65 20 | .spaces,.and.then.one.or...more. |
| 37480 | 63 6f 6e 73 65 63 75 74 69 76 65 20 73 70 61 63 65 73 20 77 69 74 68 20 61 20 73 69 6e 67 6c 65 | consecutive.spaces.with.a.single |
| 374a0 | 20 68 79 70 68 65 6e 2e 0a 2d 20 49 66 20 41 4c 4c 4f 57 2d 44 4f 55 42 4c 45 2d 48 59 50 48 45 | .hyphen..-.If.ALLOW-DOUBLE-HYPHE |
| 374c0 | 4e 53 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 61 74 20 6d 6f 73 74 20 74 77 6f 20 63 6f 6e 73 65 | NS.is.non-nil,.at.most.two.conse |
| 374e0 | 63 75 74 69 76 65 0a 20 20 68 79 70 68 65 6e 73 20 61 72 65 20 61 6c 6c 6f 77 65 64 20 69 6e 20 | cutive...hyphens.are.allowed.in. |
| 37500 | 74 68 65 20 72 65 74 75 72 6e 65 64 20 73 74 72 69 6e 67 2c 20 6f 74 68 65 72 77 69 73 65 20 63 | the.returned.string,.otherwise.c |
| 37520 | 6f 6e 73 65 63 75 74 69 76 65 0a 20 20 68 79 70 68 65 6e 73 20 61 72 65 20 6e 6f 74 20 72 65 74 | onsecutive...hyphens.are.not.ret |
| 37540 | 75 72 6e 65 64 2e 0a 2d 20 4e 6f 20 68 79 70 68 65 6e 73 20 61 6c 6c 6f 77 65 64 20 61 74 20 74 | urned..-.No.hyphens.allowed.at.t |
| 37560 | 68 65 20 6c 65 61 64 69 6e 67 20 6f 72 20 74 72 61 69 6c 69 6e 67 20 65 6e 64 20 6f 66 20 74 68 | he.leading.or.trailing.end.of.th |
| 37580 | 65 20 73 6c 75 67 2e 22 0a 20 20 28 6c 65 74 2a 20 28 3b 3b 20 41 6c 6c 20 6c 6f 77 65 72 2d 63 | e.slug."...(let*.(;;.All.lower-c |
| 375a0 | 61 73 65 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 64 6f 77 6e 63 61 73 65 20 73 74 72 29 | ase..........(str.(downcase.str) |
| 375c0 | 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 22 3c 46 4f 4f 3e 2e 2e 3c 2f 46 | )..........;;.Remove."<FOO>..</F |
| 375e0 | 4f 4f 3e 22 20 48 54 4d 4c 20 74 61 67 73 20 69 66 20 70 72 65 73 65 6e 74 2e 0a 20 20 20 20 20 | OO>".HTML.tags.if.present....... |
| 37600 | 20 20 20 20 28 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 | ....(str.(replace-regexp-in-stri |
| 37620 | 6e 67 20 22 3c 5c 5c 28 3f 31 3a 5b 61 2d 7a 5d 2b 5c 5c 29 5b 5e 3e 5d 2a 3e 2e 2a 3c 2f 5c 5c | ng."<\\(?1:[a-z]+\\)[^>]*>.*</\\ |
| 37640 | 31 3e 22 20 22 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 | 1>"."".str))..........;;.Remove. |
| 37660 | 55 52 4c 73 20 69 66 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 65 20 73 74 72 69 6e 67 2e 20 20 | URLs.if.present.in.the.string... |
| 37680 | 54 68 65 20 22 29 22 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 62 65 6c 6f 77 | The.")".in.the..........;;.below |
| 376a0 | 20 72 65 67 65 78 70 20 69 73 20 74 68 65 20 63 6c 6f 73 69 6e 67 20 70 61 72 65 6e 74 68 65 73 | .regexp.is.the.closing.parenthes |
| 376c0 | 69 73 20 6f 66 20 61 20 4d 61 72 6b 64 6f 77 6e 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6e | is.of.a.Markdown..........;;.lin |
| 376e0 | 6b 3a 20 5b 44 65 73 63 5d 28 4c 69 6e 6b 29 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 | k:.[Desc](Link)...........(str.( |
| 37700 | 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 28 63 6f 6e 63 61 74 | replace-regexp-in-string.(concat |
| 37720 | 20 22 5c 5c 5d 28 22 20 66 66 61 70 2d 75 72 6c 2d 72 65 67 65 78 70 20 22 5b 5e 29 5d 2b 29 22 | ."\\](".ffap-url-regexp."[^)]+)" |
| 37740 | 29 20 22 5d 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 | )."]".str))..........;;.Replace. |
| 37760 | 22 26 22 20 77 69 74 68 20 22 20 61 6e 64 20 22 2c 20 22 2e 22 20 77 69 74 68 20 22 20 64 6f 74 | "&".with.".and.",.".".with.".dot |
| 37780 | 20 22 2c 20 22 2b 22 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 22 20 70 6c 75 73 20 | .",."+".with..........;;.".plus. |
| 377a0 | 22 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 | "...........(str.(replace-regexp |
| 377c0 | 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 26 22 20 22 20 | -in-string................"&".". |
| 377e0 | 61 6e 64 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 | and."................(replace-re |
| 37800 | 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | gexp-in-string................." |
| 37820 | 5c 5c 2e 22 20 22 20 64 6f 74 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 | \\.".".dot.".................(re |
| 37840 | 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 | place-regexp-in-string.......... |
| 37860 | 20 20 20 20 20 20 20 20 22 5c 5c 2b 22 20 22 20 70 6c 75 73 20 22 20 73 74 72 29 29 29 29 0a 20 | ........"\\+".".plus.".str)))).. |
| 37880 | 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 61 6c 6c 20 63 68 61 72 61 63 74 65 72 | ........;;.Replace.all.character |
| 378a0 | 73 20 65 78 63 65 70 74 20 61 6c 70 68 61 62 65 74 73 2c 20 6e 75 6d 62 65 72 73 20 61 6e 64 0a | s.except.alphabets,.numbers.and. |
| 378c0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 70 61 72 65 6e 74 68 65 73 65 73 20 77 69 74 68 20 73 70 61 | .........;;.parentheses.with.spa |
| 378e0 | 63 65 73 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 | ces...........(str.(replace-rege |
| 37900 | 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5e 5b 3a 61 6c 6e 75 6d 3a 5d 28 29 5d 22 20 22 20 | xp-in-string."[^[:alnum:]()]".". |
| 37920 | 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 4f 6e 20 65 6d 61 63 73 20 32 34 2e | ".str))..........;;.On.emacs.24. |
| 37940 | 35 2c 20 6d 75 6c 74 69 62 79 74 65 20 70 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 72 61 63 74 | 5,.multibyte.punctuation.charact |
| 37960 | 65 72 73 20 6c 69 6b 65 20 22 ef bc 9a 22 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 61 72 65 20 63 | ers.like."..."..........;;.are.c |
| 37980 | 6f 6e 73 69 64 65 72 65 64 20 61 73 20 61 6c 70 68 61 6e 75 6d 65 72 69 63 20 63 68 61 72 61 63 | onsidered.as.alphanumeric.charac |
| 379a0 | 74 65 72 73 21 20 42 65 6c 6f 77 20 65 76 61 6c 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 3b 3b | ters!.Below.evals.to..........;; |
| 379c0 | 20 6e 6f 6e 2d 6e 69 6c 20 6f 6e 20 65 6d 61 63 73 20 32 34 2e 35 3a 0a 20 20 20 20 20 20 20 20 | .non-nil.on.emacs.24.5:......... |
| 379e0 | 20 3b 3b 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5b 5b 3a 61 6c 6e 75 6d 3a | .;;...(string-match-p."[[:alnum: |
| 37a00 | 5d 5d 2b 22 20 22 ef bc 9a 22 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 53 6f 20 72 65 70 6c 61 | ]]+"."...")..........;;.So.repla |
| 37a20 | 63 65 20 74 68 65 6d 20 77 69 74 68 20 73 70 61 63 65 20 6d 61 6e 75 61 6c 6c 79 2e 2e 0a 20 20 | ce.them.with.space.manually..... |
| 37a40 | 20 20 20 20 20 20 20 28 73 74 72 20 28 69 66 20 28 76 65 72 73 69 6f 6e 3c 20 65 6d 61 63 73 2d | .......(str.(if.(version<.emacs- |
| 37a60 | 76 65 72 73 69 6f 6e 20 22 32 35 2e 30 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | version."25.0")................. |
| 37a80 | 20 20 28 6c 65 74 20 28 28 6d 75 6c 74 69 62 79 74 65 2d 70 75 6e 63 74 75 61 74 69 6f 6e 73 2d | ..(let.((multibyte-punctuations- |
| 37aa0 | 73 74 72 20 22 ef bc 9a 22 29 29 20 3b 53 74 72 69 6e 67 20 6f 66 20 6d 75 6c 74 69 62 79 74 65 | str."...")).;String.of.multibyte |
| 37ac0 | 20 70 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .punctuation.chars.............. |
| 37ae0 | 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 | .......(replace-regexp-in-string |
| 37b00 | 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 22 20 6d 75 6c 74 69 62 79 74 65 2d 70 75 6e 63 74 75 | .(format."[%s]".multibyte-punctu |
| 37b20 | 61 74 69 6f 6e 73 2d 73 74 72 29 20 22 20 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ations-str).".".str))........... |
| 37b40 | 20 20 20 20 20 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 6c | ......str))..........;;.Remove.l |
| 37b60 | 65 61 64 69 6e 67 20 61 6e 64 20 74 72 61 69 6c 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 2e 0a | eading.and.trailing.whitespace.. |
| 37b80 | 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e | .........(str.(replace-regexp-in |
| 37ba0 | 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5e 5b 5b 3a 73 70 61 63 65 3a 5d 5d 2a 5c 5c 7c 5b 5b 3a 73 | -string."\\(^[[:space:]]*\\|[[:s |
| 37bc0 | 70 61 63 65 3a 5d 5d 2a 24 5c 5c 29 22 20 22 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 | pace:]]*$\\)"."".str)).......... |
| 37be0 | 3b 3b 20 52 65 70 6c 61 63 65 20 32 20 6f 72 20 6d 6f 72 65 20 73 70 61 63 65 73 20 77 69 74 68 | ;;.Replace.2.or.more.spaces.with |
| 37c00 | 20 61 20 73 69 6e 67 6c 65 20 73 70 61 63 65 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 | .a.single.space...........(str.( |
| 37c20 | 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5b 3a 73 70 61 | replace-regexp-in-string."[[:spa |
| 37c40 | 63 65 3a 5d 5d 5c 5c 7b 32 2c 5c 5c 7d 22 20 22 20 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 | ce:]]\\{2,\\}".".".str))........ |
| 37c60 | 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 70 61 72 65 6e 74 68 65 73 65 73 20 77 69 74 68 20 64 6f | ..;;.Replace.parentheses.with.do |
| 37c80 | 75 62 6c 65 2d 68 79 70 68 65 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 72 65 70 | uble-hyphens...........(str.(rep |
| 37ca0 | 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 73 2d 2a 28 5b 5b 3a | lace-regexp-in-string."\\s-*([[: |
| 37cc0 | 73 70 61 63 65 3a 5d 5d 2a 5c 5c 28 5b 5e 29 5d 2b 3f 5c 5c 29 5b 5b 3a 73 70 61 63 65 3a 5d 5d | space:]]*\\([^)]+?\\)[[:space:]] |
| 37ce0 | 2a 29 5c 5c 73 2d 2a 22 20 22 20 2d 5c 5c 31 2d 20 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 | *)\\s-*".".-\\1-.".str))........ |
| 37d00 | 20 20 3b 3b 20 52 65 6d 6f 76 65 20 61 6e 79 20 72 65 6d 61 69 6e 69 6e 67 20 70 61 72 65 6e 74 | ..;;.Remove.any.remaining.parent |
| 37d20 | 68 65 73 65 73 20 63 68 61 72 61 63 74 65 72 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 | heses.character...........(str.( |
| 37d40 | 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 28 29 5d 22 20 | replace-regexp-in-string."[()]". |
| 37d60 | 22 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 73 70 61 | "".str))..........;;.Replace.spa |
| 37d80 | 63 65 73 20 77 69 74 68 20 68 79 70 68 65 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 | ces.with.hyphens...........(str. |
| 37da0 | 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 20 22 20 22 2d | (replace-regexp-in-string."."."- |
| 37dc0 | 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 6c 65 61 64 69 | ".str))..........;;.Remove.leadi |
| 37de0 | 6e 67 20 61 6e 64 20 74 72 61 69 6c 69 6e 67 20 68 79 70 68 65 6e 73 2e 0a 20 20 20 20 20 20 20 | ng.and.trailing.hyphens......... |
| 37e00 | 20 20 28 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 | ..(str.(replace-regexp-in-string |
| 37e20 | 20 22 5c 5c 28 5e 5b 2d 5d 2a 5c 5c 7c 5b 2d 5d 2a 24 5c 5c 29 22 20 22 22 20 73 74 72 29 29 29 | ."\\(^[-]*\\|[-]*$\\)"."".str))) |
| 37e40 | 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 61 6c 6c 6f 77 2d 64 6f 75 62 6c 65 2d 68 79 70 68 65 6e | .....(unless.allow-double-hyphen |
| 37e60 | 73 0a 20 20 20 20 20 20 28 73 65 74 71 20 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 | s.......(setq.str.(replace-regex |
| 37e80 | 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 2d 2d 22 20 22 2d 22 20 73 74 72 29 29 29 0a 20 20 20 20 | p-in-string."--"."-".str)))..... |
| 37ea0 | 73 74 72 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 70 61 67 65 2d | str))..(defun.org-hugo-get-page- |
| 37ec0 | 6f 72 2d 62 75 6e 64 6c 65 2d 6e 61 6d 65 20 28 65 6c 65 6d 65 6e 74 20 69 6e 66 6f 29 0a 20 20 | or-bundle-name.(element.info)... |
| 37ee0 | 22 52 65 74 75 72 6e 20 45 4c 45 4d 45 4e 54 27 73 20 73 6c 75 67 20 62 61 73 65 64 20 6f 6e 20 | "Return.ELEMENT's.slug.based.on. |
| 37f00 | 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 61 6e 64 20 60 3a 45 58 50 4f 52 54 | `:EXPORT_FILE_NAME'.and.`:EXPORT |
| 37f20 | 5f 48 55 47 4f 5f 42 55 4e 44 4c 45 27 2e 0a 0a 49 66 20 74 68 65 20 5c 22 73 6c 75 67 5c 22 20 | _HUGO_BUNDLE'...If.the.\"slug\". |
| 37f40 | 6f 66 20 74 68 65 20 65 6c 65 6d 65 6e 74 20 69 73 20 5c 22 73 65 63 74 69 6f 6e 2f 70 6f 73 74 | of.the.element.is.\"section/post |
| 37f60 | 5c 22 2c 20 72 65 74 75 72 6e 0a 5c 22 70 6f 73 74 5c 22 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c | \",.return.\"post\"...Return.nil |
| 37f80 | 20 69 66 20 45 4c 45 4d 45 4e 54 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 74 68 65 20 45 58 50 | .if.ELEMENT.doesn't.have.the.EXP |
| 37fa0 | 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 79 0a 73 65 74 2e 0a 0a 49 4e 46 | ORT_FILE_NAME.property.set...INF |
| 37fc0 | 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 | O.is.a.plist.used.as.a.communica |
| 37fe0 | 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 20 28 28 73 6c 75 67 20 28 6f 72 | tion.channel."...(let.((slug.(or |
| 38000 | 67 2d 68 75 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 65 6c 65 6d 65 6e 74 | g-hugo--heading-get-slug.element |
| 38020 | 20 69 6e 66 6f 20 6e 69 6c 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 | .info.nil))).....(when.(org-stri |
| 38040 | 6e 67 2d 6e 77 2d 70 20 73 6c 75 67 29 0a 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 62 | ng-nw-p.slug).......(file-name-b |
| 38060 | 61 73 65 20 73 6c 75 67 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 67 65 | ase.slug))))..(defun.org-hugo-ge |
| 38080 | 74 2d 63 75 73 74 6f 6d 2d 69 64 20 28 65 6c 65 6d 65 6e 74 20 26 6f 70 74 69 6f 6e 61 6c 20 5f | t-custom-id.(element.&optional._ |
| 380a0 | 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 45 4c 45 4d 45 4e 54 27 73 20 60 3a 43 55 53 54 | info)..."Return.ELEMENT's.`:CUST |
| 380c0 | 4f 4d 5f 49 44 27 20 70 72 6f 70 65 72 74 79 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 | OM_ID'.property...Return.nil.if. |
| 380e0 | 45 4c 45 4d 45 4e 54 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 74 68 65 20 43 55 53 54 4f 4d 5f | ELEMENT.doesn't.have.the.CUSTOM_ |
| 38100 | 49 44 20 70 72 6f 70 65 72 74 79 20 73 65 74 2e 22 0a 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d | ID.property.set."...(org-string- |
| 38120 | 6e 77 2d 70 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 43 55 53 54 | nw-p.(org-element-property.:CUST |
| 38140 | 4f 4d 5f 49 44 20 65 6c 65 6d 65 6e 74 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 | OM_ID.element)))..(defun.org-hug |
| 38160 | 6f 2d 67 65 74 2d 69 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 65 6c 65 6d 65 6e 74 20 5f 69 6e 66 | o-get-id.(&optional.element._inf |
| 38180 | 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 60 3a 49 44 27 20 | o)..."Return.the.value.of.`:ID'. |
| 381a0 | 70 72 6f 70 65 72 74 79 20 66 6f 72 20 45 4c 45 4d 45 4e 54 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 | property.for.ELEMENT...Return.ni |
| 381c0 | 6c 20 69 66 20 69 64 20 69 73 20 6e 6f 74 20 66 6f 75 6e 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 | l.if.id.is.not.found."...(let.(( |
| 381e0 | 65 6c 65 6d 65 6e 74 2d 62 65 67 69 6e 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 | element-begin.(org-element-prope |
| 38200 | 72 74 79 20 3a 62 65 67 69 6e 20 65 6c 65 6d 65 6e 74 29 29 29 0a 20 20 20 20 28 73 61 76 65 2d | rty.:begin.element))).....(save- |
| 38220 | 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 65 6c 65 6d 65 | excursion.......(goto-char.eleme |
| 38240 | 6e 74 2d 62 65 67 69 6e 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 69 64 2d 67 65 74 29 29 29 29 0a | nt-begin).......(org-id-get)))). |
| 38260 | 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 68 65 61 64 69 6e 67 2d 73 6c 75 | .(defun.org-hugo-get-heading-slu |
| 38280 | 67 20 28 65 6c 65 6d 65 6e 74 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 73 | g.(element.info)..."Return.the.s |
| 382a0 | 6c 75 67 20 73 74 72 69 6e 67 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 61 6e 20 4f 72 67 20 68 | lug.string.derived.from.an.Org.h |
| 382c0 | 65 61 64 69 6e 67 20 45 4c 45 4d 45 4e 54 2e 0a 0a 54 68 65 20 73 6c 75 67 20 73 74 72 69 6e 67 | eading.ELEMENT...The.slug.string |
| 382e0 | 20 69 73 20 70 61 72 73 65 64 20 66 72 6f 6d 20 74 68 65 20 45 4c 45 4d 45 4e 54 27 73 20 60 3a | .is.parsed.from.the.ELEMENT's.`: |
| 38300 | 74 69 74 6c 65 27 20 70 72 6f 70 65 72 74 79 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 | title'.property...INFO.is.a.plis |
| 38320 | 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 | t.used.as.a.communication.channe |
| 38340 | 6c 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 45 4c 45 4d 45 4e 54 27 73 20 60 3a 74 69 | l...Return.nil.if.ELEMENT's.`:ti |
| 38360 | 74 6c 65 27 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 69 6c 20 6f 72 20 61 6e 20 65 6d 70 74 79 | tle'.property.is.nil.or.an.empty |
| 38380 | 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 28 28 74 69 74 6c 65 20 28 6f 72 67 2d 65 78 | .string."...(let.((title.(org-ex |
| 383a0 | 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 6b 65 6e 64 0a 20 20 20 20 20 20 20 20 20 | port-data-with-backend.......... |
| 383c0 | 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 69 | .......(org-element-property.:ti |
| 383e0 | 74 6c 65 20 65 6c 65 6d 65 6e 74 29 20 27 6d 64 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 28 6f 72 | tle.element).'md.info))).....(or |
| 38400 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 68 75 67 6f 2d 73 6c 75 67 20 74 69 74 | g-string-nw-p.(org-hugo-slug.tit |
| 38420 | 6c 65 20 3a 61 6c 6c 6f 77 2d 64 6f 75 62 6c 65 2d 68 79 70 68 65 6e 73 29 29 29 29 0a 0a 28 64 | le.:allow-double-hyphens))))..(d |
| 38440 | 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 6d 64 35 20 28 65 6c 65 6d 65 6e 74 20 69 | efun.org-hugo-get-md5.(element.i |
| 38460 | 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 6d 64 35 20 73 75 6d 20 64 65 72 69 76 65 64 20 73 | nfo)..."Return.md5.sum.derived.s |
| 38480 | 74 72 69 6e 67 20 75 73 69 6e 67 20 45 4c 45 4d 45 4e 54 27 73 20 74 69 74 6c 65 20 70 72 6f 70 | tring.using.ELEMENT's.title.prop |
| 384a0 | 65 72 74 79 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 | erty...INFO.is.a.plist.used.as.a |
| 384c0 | 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 54 68 69 73 20 66 75 | .communication.channel...This.fu |
| 384e0 | 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 6e 65 76 65 72 20 72 65 74 75 72 6e 20 6e 69 6c 2e 22 0a 20 | nction.will.never.return.nil.".. |
| 38500 | 20 28 6c 65 74 20 28 28 68 61 73 68 2d 6c 65 6e 20 36 29 0a 20 20 20 20 20 20 20 20 28 74 69 74 | .(let.((hash-len.6).........(tit |
| 38520 | 6c 65 20 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 65 78 70 | le.(or.(org-string-nw-p.(org-exp |
| 38540 | 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 6b 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 | ort-data-with-backend........... |
| 38560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d | ...........................(org- |
| 38580 | 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 69 74 6c 65 20 65 6c 65 6d 65 6e 74 29 | element-property.:title.element) |
| 385a0 | 20 27 6d 64 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | .'md.info))...................." |
| 385c0 | 22 29 29 29 0a 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 20 28 6d 64 35 20 74 69 74 6c 65 29 20 | "))).....(substring.(md5.title). |
| 385e0 | 30 20 68 61 73 68 2d 6c 65 6e 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d | 0.hash-len)))..(defun.org-hugo-- |
| 38600 | 67 65 74 2d 65 6c 65 6d 2d 77 69 74 68 2d 70 72 6f 70 20 28 70 72 6f 70 20 26 6f 70 74 69 6f 6e | get-elem-with-prop.(prop.&option |
| 38620 | 61 6c 20 70 6f 6d 20 5f 69 6e 66 6f 29 0a 20 20 22 46 69 6e 64 20 74 68 65 20 66 69 72 73 74 20 | al.pom._info)..."Find.the.first. |
| 38640 | 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 50 52 4f 50 20 70 72 6f 70 65 72 74 79 20 69 6e 20 74 68 | element.with.PROP.property.in.th |
| 38660 | 65 20 63 75 72 72 65 6e 74 20 74 72 65 65 2e 0a 0a 50 52 4f 50 20 69 73 20 61 20 70 72 6f 70 65 | e.current.tree...PROP.is.a.prope |
| 38680 | 72 74 79 20 73 79 6d 62 6f 6c 20 77 69 74 68 20 61 20 3a 20 70 72 65 66 69 78 2c 20 65 78 61 6d | rty.symbol.with.a.:.prefix,.exam |
| 386a0 | 70 6c 65 3a 0a 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 2e 0a 0a 4f 70 74 69 6f | ple:.`:EXPORT_FILE_NAME'...Optio |
| 386c0 | 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 50 4f 4d 20 69 73 20 74 68 65 20 70 6f 73 69 74 69 6f 6e | nal.argument.POM.is.the.position |
| 386e0 | 20 6f 72 20 6d 61 72 6b 65 72 20 66 72 6f 6d 20 77 68 69 63 68 20 74 68 65 0a 75 70 77 61 72 64 | .or.marker.from.which.the.upward |
| 38700 | 20 73 65 61 72 63 68 20 66 6f 72 20 50 52 4f 50 20 73 68 6f 75 6c 64 20 62 65 67 69 6e 2e 0a 0a | .search.for.PROP.should.begin... |
| 38720 | 52 65 74 75 72 6e 20 61 20 63 6f 6e 73 20 6f 66 20 74 79 70 65 20 28 45 4c 45 4d 20 2e 20 50 56 | Return.a.cons.of.type.(ELEM...PV |
| 38740 | 41 4c 29 20 77 68 65 72 65 20 45 4c 45 4d 20 69 73 20 74 68 65 20 65 6c 65 6d 65 6e 74 0a 63 6f | AL).where.ELEM.is.the.element.co |
| 38760 | 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 50 52 4f 50 20 61 6e 64 20 50 | ntaining.the.property.PROP.and.P |
| 38780 | 56 41 4c 20 69 73 20 74 68 65 20 70 72 6f 70 65 72 74 79 27 73 20 76 61 6c 75 65 2e 0a 0a 52 65 | VAL.is.the.property's.value...Re |
| 387a0 | 74 75 72 6e 20 6e 69 6c 20 69 66 20 74 68 65 20 50 52 4f 50 20 69 73 20 6e 6f 74 20 66 6f 75 6e | turn.nil.if.the.PROP.is.not.foun |
| 387c0 | 64 20 6f 72 20 69 66 20 74 68 65 20 50 56 41 4c 20 69 73 20 6e 69 6c 2e 0a 0a 54 68 69 73 20 66 | d.or.if.the.PVAL.is.nil...This.f |
| 387e0 | 75 6e 63 74 69 6f 6e 20 69 73 20 63 72 65 61 74 65 64 20 61 73 20 61 20 77 6f 72 6b 61 72 6f 75 | unction.is.created.as.a.workarou |
| 38800 | 6e 64 20 66 6f 72 20 4f 72 67 20 39 2e 35 20 61 6e 64 20 6f 6c 64 65 72 0a 76 65 72 73 69 6f 6e | nd.for.Org.9.5.and.older.version |
| 38820 | 73 20 66 6f 72 20 74 68 65 20 69 73 73 75 65 20 74 68 61 74 20 60 6f 72 67 2d 65 6c 65 6d 65 6e | s.for.the.issue.that.`org-elemen |
| 38840 | 74 2d 61 74 2d 70 6f 69 6e 74 27 20 64 6f 65 73 20 6e 6f 74 0a 72 65 74 75 72 6e 20 61 6e 20 65 | t-at-point'.does.not.return.an.e |
| 38860 | 6c 65 6d 65 6e 74 20 77 69 74 68 20 61 6c 6c 20 74 68 65 20 69 6e 68 65 72 69 74 65 64 20 70 72 | lement.with.all.the.inherited.pr |
| 38880 | 6f 70 65 72 74 69 65 73 2e 20 20 54 68 61 74 20 69 73 73 75 65 0a 69 73 20 66 69 78 65 64 20 69 | operties...That.issue.is.fixed.i |
| 388a0 | 6e 20 4f 72 67 20 6d 61 69 6e 20 62 72 61 6e 63 68 20 61 74 20 6c 65 61 73 74 20 61 73 20 6f 66 | n.Org.main.branch.at.least.as.of |
| 388c0 | 20 32 30 32 32 2d 30 33 2d 31 37 2e 22 0a 20 20 28 6f 72 67 2d 77 69 74 68 2d 77 69 64 65 2d 62 | .2022-03-17."...(org-with-wide-b |
| 388e0 | 75 66 66 65 72 0a 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 28 66 6f 72 6d 61 74 20 22 5b 73 | uffer....;;.(message.(format."[s |
| 38900 | 65 61 72 63 68 20 70 72 6f 70 20 44 42 47 5d 20 70 6f 69 6e 74 20 31 20 3a 20 25 53 22 20 28 70 | earch.prop.DBG].point.1.:.%S".(p |
| 38920 | 6f 69 6e 74 29 29 29 0a 20 20 20 28 77 68 65 6e 20 70 6f 6d 0a 20 20 20 20 20 28 67 6f 74 6f 2d | oint)))....(when.pom......(goto- |
| 38940 | 63 68 61 72 20 70 6f 6d 29 29 0a 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 28 66 6f 72 6d 61 | char.pom))....;;.(message.(forma |
| 38960 | 74 20 22 5b 73 65 61 72 63 68 20 70 72 6f 70 20 44 42 47 5d 20 70 6f 69 6e 74 20 32 20 3a 20 25 | t."[search.prop.DBG].point.2.:.% |
| 38980 | 53 22 20 28 70 6f 69 6e 74 29 29 29 0a 20 20 20 28 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d 68 65 61 | S".(point)))....(org-back-to-hea |
| 389a0 | 64 69 6e 67 2d 6f 72 2d 70 6f 69 6e 74 2d 6d 69 6e 20 3a 69 6e 76 69 73 69 62 6c 65 2d 6f 6b 29 | ding-or-point-min.:invisible-ok) |
| 389c0 | 0a 20 20 20 28 6c 65 74 20 28 28 65 6c 65 6d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 74 2d | ....(let.((elem.(org-element-at- |
| 389e0 | 70 6f 69 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 65 76 65 6c 20 74 29 0a 20 20 20 20 20 | point))..........(level.t)...... |
| 38a00 | 20 20 20 20 70 76 61 6c 29 0a 20 20 20 20 20 28 63 61 74 63 68 20 3a 66 6f 75 6e 64 0a 20 20 20 | ....pval)......(catch.:found.... |
| 38a20 | 20 20 20 20 28 77 68 69 6c 65 20 65 6c 65 6d 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | ....(while.elem..........;;.(mes |
| 38a40 | 73 61 67 65 20 28 66 6f 72 6d 61 74 20 22 5b 73 65 61 72 63 68 20 70 72 6f 70 20 44 42 47 5d 20 | sage.(format."[search.prop.DBG]. |
| 38a60 | 70 72 6f 70 20 25 53 2c 20 65 6c 65 6d 20 3a 20 25 53 22 20 70 72 6f 70 20 65 6c 65 6d 29 29 0a | prop.%S,.elem.:.%S".prop.elem)). |
| 38a80 | 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 70 76 61 6c 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 | .........(setq.pval.(org-element |
| 38aa0 | 2d 70 72 6f 70 65 72 74 79 20 70 72 6f 70 20 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 3b | -property.prop.elem))..........; |
| 38ac0 | 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 20 70 72 6f 70 20 44 42 47 5d 20 6c 65 | ;.(message."[search.prop.DBG].le |
| 38ae0 | 76 65 6c 20 25 53 2c 20 70 76 61 6c 20 25 53 22 20 6c 65 76 65 6c 20 70 76 61 6c 29 0a 20 20 20 | vel.%S,.pval.%S".level.pval).... |
| 38b00 | 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 20 70 76 61 6c 20 28 6e 75 6c 6c 20 6c 65 76 65 6c | ......(when.(or.pval.(null.level |
| 38b20 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6e 75 6c 6c 20 70 76 61 6c 29 0a 20 20 | ))............(if.(null.pval)... |
| 38b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 72 65 27 73 20 70 72 6f 62 61 62 6c 79 | .............;;.There's.probably |
| 38b60 | 20 6e 6f 20 76 61 6c 75 65 20 74 6f 20 64 69 73 74 69 6e 67 75 69 73 68 0a 20 20 20 20 20 20 20 | .no.value.to.distinguish........ |
| 38b80 | 20 20 20 20 20 20 20 20 3b 3b 20 62 65 74 77 65 65 6e 20 74 68 65 20 63 61 73 65 20 77 68 65 72 | ........;;.between.the.case.wher |
| 38ba0 | 65 20 61 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e.a.property.is.not............. |
| 38bc0 | 20 20 20 3b 3b 20 66 6f 75 6e 64 2c 20 6f 72 20 74 68 65 20 63 61 73 65 20 77 68 65 72 65 20 74 | ...;;.found,.or.the.case.where.t |
| 38be0 | 68 65 20 70 72 6f 70 65 72 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 76 61 | he.property................;;.va |
| 38c00 | 6c 75 65 20 69 73 20 6e 69 6c 2e 20 52 65 76 69 73 69 74 20 74 68 69 73 20 69 66 20 74 68 61 74 | lue.is.nil..Revisit.this.if.that |
| 38c20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 68 61 6e 67 65 73 2e 0a 20 20 20 20 | ................;;.changes...... |
| 38c40 | 20 20 20 20 20 20 20 20 20 20 20 28 74 68 72 6f 77 20 3a 66 6f 75 6e 64 20 6e 69 6c 29 0a 20 20 | ...........(throw.:found.nil)... |
| 38c60 | 20 20 20 20 20 20 20 20 20 20 20 28 74 68 72 6f 77 20 3a 66 6f 75 6e 64 20 28 63 6f 6e 73 20 65 | ...........(throw.:found.(cons.e |
| 38c80 | 6c 65 6d 20 70 76 61 6c 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 65 76 65 | lem.pval))))..........(setq.leve |
| 38ca0 | 6c 20 28 6f 72 67 2d 75 70 2d 68 65 61 64 69 6e 67 2d 73 61 66 65 29 29 0a 20 20 20 20 20 20 20 | l.(org-up-heading-safe))........ |
| 38cc0 | 20 20 28 73 65 74 71 20 65 6c 65 6d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 74 2d 70 6f 69 | ..(setq.elem.(org-element-at-poi |
| 38ce0 | 6e 74 29 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 64 | nt)))))))..(defun.org-hugo--head |
| 38d00 | 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 28 68 65 61 64 69 6e 67 20 69 6e 66 6f 20 26 6f 70 74 69 | ing-get-slug.(heading.info.&opti |
| 38d20 | 6f 6e 61 6c 20 69 6e 68 65 72 69 74 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 6e 61 6d 65 29 0a 20 | onal.inherit-export-file-name).. |
| 38d40 | 20 22 52 65 74 75 72 6e 20 74 68 65 20 73 6c 75 67 20 73 74 72 69 6e 67 20 64 65 72 69 76 65 64 | ."Return.the.slug.string.derived |
| 38d60 | 20 66 72 6f 6d 20 61 6e 20 4f 72 67 20 48 45 41 44 49 4e 47 20 65 6c 65 6d 65 6e 74 2e 0a 0a 31 | .from.an.Org.HEADING.element...1 |
| 38d80 | 2e 20 49 66 20 48 45 41 44 49 4e 47 20 68 61 73 20 6f 6e 6c 79 20 60 3a 45 58 50 4f 52 54 5f 46 | ..If.HEADING.has.only.`:EXPORT_F |
| 38da0 | 49 4c 45 5f 4e 41 4d 45 27 20 61 6e 64 20 69 74 27 73 20 6e 6f 74 20 61 20 48 75 67 6f 0a 20 20 | ILE_NAME'.and.it's.not.a.Hugo... |
| 38dc0 | 20 70 61 67 65 20 62 75 6e 64 6c 65 2c 20 75 73 65 20 74 68 61 74 20 70 72 6f 70 65 72 74 79 20 | .page.bundle,.use.that.property. |
| 38de0 | 61 73 20 73 6c 75 67 2e 0a 0a 32 2e 20 49 66 20 48 45 41 44 49 4e 47 20 68 61 73 20 61 20 60 3a | as.slug...2..If.HEADING.has.a.`: |
| 38e00 | 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 70 72 6f 70 65 72 74 79 2c 20 61 6e 64 20 | EXPORT_FILE_NAME'.property,.and. |
| 38e20 | 69 74 73 20 76 61 6c 75 65 0a 20 20 20 69 73 20 65 69 74 68 65 72 20 5c 22 69 6e 64 65 78 5c 22 | its.value....is.either.\"index\" |
| 38e40 | 20 6f 72 20 5c 22 5f 69 6e 64 65 78 5c 22 2c 20 75 73 65 20 60 3a 45 58 50 4f 52 54 5f 48 55 47 | .or.\"_index\",.use.`:EXPORT_HUG |
| 38e60 | 4f 5f 42 55 4e 44 4c 45 27 0a 20 20 20 74 6f 20 64 65 72 69 76 65 20 74 68 65 20 73 6c 75 67 2e | O_BUNDLE'....to.derive.the.slug. |
| 38e80 | 20 20 5c 22 69 6e 64 65 78 5c 22 20 73 75 62 74 72 65 65 20 69 73 20 61 20 4c 65 61 66 20 42 75 | ..\"index\".subtree.is.a.Leaf.Bu |
| 38ea0 | 6e 64 6c 65 2c 20 61 6e 64 0a 20 20 20 5c 22 5f 69 6e 64 65 78 5c 22 20 73 75 62 74 72 65 65 20 | ndle,.and....\"_index\".subtree. |
| 38ec0 | 69 73 20 61 20 42 72 61 6e 63 68 20 42 75 6e 64 6c 65 2e 0a 0a 33 2e 20 49 66 20 48 45 41 44 49 | is.a.Branch.Bundle...3..If.HEADI |
| 38ee0 | 4e 47 20 68 61 73 20 61 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 70 72 6f | NG.has.a.`:EXPORT_FILE_NAME'.pro |
| 38f00 | 70 65 72 74 79 2c 20 61 6e 64 20 69 74 73 20 76 61 6c 75 65 0a 20 20 20 69 73 20 6e 65 69 74 68 | perty,.and.its.value....is.neith |
| 38f20 | 65 72 20 5c 22 69 6e 64 65 78 5c 22 20 6e 6f 72 20 5c 22 5f 69 6e 64 65 78 5c 22 2c 20 75 73 65 | er.\"index\".nor.\"_index\",.use |
| 38f40 | 20 74 68 61 74 20 74 6f 20 64 65 72 69 76 65 20 74 68 65 0a 20 20 20 73 6c 75 67 2e 0a 0a 49 66 | .that.to.derive.the....slug...If |
| 38f60 | 20 49 4e 48 45 52 49 54 2d 45 58 50 4f 52 54 2d 46 49 4c 45 2d 4e 41 4d 45 20 69 73 20 6e 6f 6e | .INHERIT-EXPORT-FILE-NAME.is.non |
| 38f80 | 2d 6e 69 6c 2c 20 61 6c 6c 6f 77 20 69 6e 68 65 72 69 74 69 6e 67 20 74 68 65 0a 60 3a 45 58 50 | -nil,.allow.inheriting.the.`:EXP |
| 38fa0 | 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 70 72 6f 70 65 72 74 79 20 66 72 6f 6d 20 61 20 70 | ORT_FILE_NAME'.property.from.a.p |
| 38fc0 | 61 72 65 6e 74 20 73 75 62 74 72 65 65 2e 0a 0a 54 68 65 20 60 3a 45 58 50 4f 52 54 5f 48 55 47 | arent.subtree...The.`:EXPORT_HUG |
| 38fe0 | 4f 5f 53 45 43 54 49 4f 4e 27 20 70 72 6f 70 65 72 74 79 20 6f 72 20 60 23 2b 68 75 67 6f 5f 73 | O_SECTION'.property.or.`#+hugo_s |
| 39000 | 65 63 74 69 6f 6e 27 20 6b 65 79 77 6f 72 64 0a 76 61 6c 75 65 20 69 73 20 70 72 65 70 65 6e 64 | ection'.keyword.value.is.prepend |
| 39020 | 65 64 20 74 6f 20 61 6c 6c 20 6f 66 20 74 68 65 20 61 62 6f 76 65 20 6f 70 74 69 6f 6e 73 2e 0a | ed.to.all.of.the.above.options.. |
| 39040 | 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 | .INFO.is.a.plist.used.as.a.commu |
| 39060 | 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 | nication.channel...Return.nil.if |
| 39080 | 20 6e 6f 6e 65 20 6f 66 20 74 68 65 20 61 62 6f 76 65 20 61 72 65 20 74 72 75 65 2e 22 0a 20 20 | .none.of.the.above.are.true."... |
| 390a0 | 28 6f 72 67 2d 77 69 74 68 2d 77 69 64 65 2d 62 75 66 66 65 72 0a 20 20 20 28 6c 65 74 20 28 28 | (org-with-wide-buffer....(let.(( |
| 390c0 | 68 65 61 64 69 6e 67 2d 62 65 67 69 6e 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 | heading-begin.(org-element-prope |
| 390e0 | 72 74 79 20 3a 62 65 67 69 6e 20 68 65 61 64 69 6e 67 29 29 29 0a 20 20 20 20 20 28 77 68 65 6e | rty.:begin.heading)))......(when |
| 39100 | 20 68 65 61 64 69 6e 67 2d 62 65 67 69 6e 0a 20 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 | .heading-begin........(goto-char |
| 39120 | 20 68 65 61 64 69 6e 67 2d 62 65 67 69 6e 29 29 29 0a 20 20 20 28 6c 65 74 20 28 28 66 69 6c 65 | .heading-begin)))....(let.((file |
| 39140 | 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 | .(org-string-nw-p.(org-export-ge |
| 39160 | 74 2d 6e 6f 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d | t-node-property.:EXPORT_FILE_NAM |
| 39180 | 45 20 68 65 61 64 69 6e 67 20 69 6e 68 65 72 69 74 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 6e 61 | E.heading.inherit-export-file-na |
| 391a0 | 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 20 73 6c 75 67 29 0a 20 20 20 20 | me)))..........bundle.slug)..... |
| 391c0 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 64 69 6e 67 | .;;.(message."[org-hugo--heading |
| 391e0 | 2d 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 3a | -get-slug.DBG].EXPORT_FILE_NAME: |
| 39200 | 20 25 53 22 20 66 69 6c 65 29 0a 20 20 20 20 20 28 77 68 65 6e 20 66 69 6c 65 0a 20 20 20 20 20 | .%S".file)......(when.file...... |
| 39220 | 20 20 28 73 65 74 71 20 62 75 6e 64 6c 65 20 28 6c 65 74 2a 20 28 28 65 6c 65 6d 2d 70 76 61 6c | ..(setq.bundle.(let*.((elem-pval |
| 39240 | 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 65 6c 65 6d 2d 77 69 74 68 2d 70 72 6f 70 20 3a | .(org-hugo--get-elem-with-prop.: |
| 39260 | 45 58 50 4f 52 54 5f 48 55 47 4f 5f 42 55 4e 44 4c 45 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | EXPORT_HUGO_BUNDLE))............ |
| 39280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 76 61 6c 20 28 77 68 65 6e 20 65 6c 65 6d | ................(pval.(when.elem |
| 392a0 | 2d 70 76 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -pval........................... |
| 392c0 | 20 20 20 20 20 20 20 20 20 28 63 64 72 20 65 6c 65 6d 2d 70 76 61 6c 29 29 29 29 0a 20 20 20 20 | .........(cdr.elem-pval))))..... |
| 392e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 76 61 6c 29 29 0a 0a 20 20 20 20 20 20 | ..................pval))........ |
| 39300 | 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 3b 3b 20 4c 65 61 66 20 6f 72 20 62 72 61 6e 63 68 | .(cond.........;;.Leaf.or.branch |
| 39320 | 20 62 75 6e 64 6c 65 20 6c 61 6e 64 69 6e 67 20 70 61 67 65 2e 0a 20 20 20 20 20 20 20 20 28 28 | .bundle.landing.page..........(( |
| 39340 | 61 6e 64 20 62 75 6e 64 6c 65 20 66 69 6c 65 20 28 6d 65 6d 62 65 72 20 66 69 6c 65 20 27 28 22 | and.bundle.file.(member.file.'(" |
| 39360 | 69 6e 64 65 78 22 20 3b 4c 65 61 66 20 62 75 6e 64 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 | index".;Leaf.bundle............. |
| 39380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5f 69 | ............................."_i |
| 393a0 | 6e 64 65 78 22 20 3b 42 72 61 6e 63 68 20 62 75 6e 64 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 | ndex".;Branch.bundle............ |
| 393c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 29 | ..............................)) |
| 393e0 | 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 6c 75 67 20 62 75 6e 64 6c 65 29 0a 20 20 | )..........(setq.slug.bundle)... |
| 39400 | 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 68 | .......;;.(message."[org-hugo--h |
| 39420 | 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 62 75 6e 64 6c 65 20 73 6c 75 67 | eading-get-slug.DBG].bundle.slug |
| 39440 | 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 20 20 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 3b | :.%S".slug)..........).........; |
| 39460 | 3b 20 49 74 27 73 20 61 20 48 75 67 6f 20 70 61 67 65 20 62 75 6e 64 6c 65 2c 20 62 75 74 20 74 | ;.It's.a.Hugo.page.bundle,.but.t |
| 39480 | 68 65 20 66 69 6c 65 20 69 73 20 6e 65 69 74 68 65 72 20 69 6e 64 65 78 20 6e 6f 72 0a 20 20 20 | he.file.is.neither.index.nor.... |
| 394a0 | 20 20 20 20 20 3b 3b 20 5f 69 6e 64 65 78 2e 20 53 6f 20 6c 69 6b 65 6c 79 20 61 20 70 61 67 65 | .....;;._index..So.likely.a.page |
| 394c0 | 20 69 6e 20 61 20 62 72 61 6e 63 68 20 62 75 6e 64 6c 65 2e 0a 20 20 20 20 20 20 20 20 28 28 61 | .in.a.branch.bundle..........((a |
| 394e0 | 6e 64 20 62 75 6e 64 6c 65 20 66 69 6c 65 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 | nd.bundle.file)..........(setq.s |
| 39500 | 6c 75 67 20 28 63 6f 6e 63 61 74 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 | lug.(concat.(file-name-as-direct |
| 39520 | 6f 72 79 20 62 75 6e 64 6c 65 29 20 66 69 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 28 | ory.bundle).file))..........;;.( |
| 39540 | 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 67 65 74 2d | message."[org-hugo--heading-get- |
| 39560 | 73 6c 75 67 20 44 42 47 5d 20 62 72 61 6e 63 68 20 62 75 6e 64 6c 65 20 66 69 6c 65 20 73 6c 75 | slug.DBG].branch.bundle.file.slu |
| 39580 | 67 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 20 20 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 | g:.%S".slug)..........)......... |
| 395a0 | 3b 3b 20 4e 6f 74 20 61 20 48 75 67 6f 20 70 61 67 65 20 62 75 6e 64 6c 65 2e 0a 20 20 20 20 20 | ;;.Not.a.Hugo.page.bundle....... |
| 395c0 | 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 6c 75 67 20 66 69 6c 65 29 29 | ...(t..........(setq.slug.file)) |
| 395e0 | 29 0a 0a 20 20 20 20 20 20 20 3b 3b 20 50 72 65 66 69 78 20 77 69 74 68 20 73 65 63 74 69 6f 6e | ).........;;.Prefix.with.section |
| 39600 | 20 61 6e 64 20 66 72 61 67 6d 65 6e 74 65 64 20 73 65 63 74 69 6f 6e 73 20 69 66 20 61 6e 79 2e | .and.fragmented.sections.if.any. |
| 39620 | 0a 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 70 68 65 61 64 69 6e 67 20 68 65 61 64 69 6e 67 29 | ........(let.((pheading.heading) |
| 39640 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 63 74 69 6f 6e 20 66 72 61 67 6d 65 6e 74 20 66 | ..............section.fragment.f |
| 39660 | 72 61 67 6d 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 65 63 74 69 6f 6e | ragments)..........(setq.section |
| 39680 | 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(org-string-nw-p............... |
| 396a0 | 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 6f | ..........(or.(org-export-get-no |
| 396c0 | 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e | de-property.:EXPORT_HUGO_SECTION |
| 396e0 | 20 68 65 61 64 69 6e 67 20 3a 69 6e 68 65 72 69 74 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .heading.:inherited)............ |
| 39700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f | .................(plist-get.info |
| 39720 | 20 3a 68 75 67 6f 2d 73 65 63 74 69 6f 6e 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 | .:hugo-section))))...........;;. |
| 39740 | 49 74 65 72 61 74 65 20 6f 76 65 72 20 61 6c 6c 20 70 61 72 65 6e 74 73 20 6f 66 20 68 65 61 64 | Iterate.over.all.parents.of.head |
| 39760 | 69 6e 67 2c 20 61 6e 64 20 63 6f 6c 6c 65 63 74 20 73 65 63 74 69 6f 6e 0a 20 20 20 20 20 20 20 | ing,.and.collect.section........ |
| 39780 | 20 20 3b 3b 20 70 61 74 68 20 66 72 61 67 6d 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 20 20 28 77 | ..;;.path.fragments...........(w |
| 397a0 | 68 69 6c 65 20 28 61 6e 64 20 70 68 65 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | hile.(and.pheading.............. |
| 397c0 | 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 6f 64 | ........(not.(org-export-get-nod |
| 397e0 | 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 20 | e-property.:EXPORT_HUGO_SECTION. |
| 39800 | 70 68 65 61 64 69 6e 67 20 6e 69 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 64 | pheading.nil)))............;;.Ad |
| 39820 | 64 20 74 68 65 20 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5f 46 52 41 47 20 | d.the.:EXPORT_HUGO_SECTION_FRAG. |
| 39840 | 76 61 6c 75 65 20 74 6f 20 74 68 65 20 66 72 61 67 6d 65 6e 74 20 6c 69 73 74 2e 0a 20 20 20 20 | value.to.the.fragment.list...... |
| 39860 | 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 65 74 71 20 66 72 61 67 6d 65 6e 74 20 28 6f 72 67 | .......(when.(setq.fragment.(org |
| 39880 | 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 6f 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 | -export-get-node-property.:EXPOR |
| 398a0 | 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5f 46 52 41 47 20 70 68 65 61 64 69 6e 67 20 6e 69 6c | T_HUGO_SECTION_FRAG.pheading.nil |
| 398c0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 66 72 61 67 6d 65 6e 74 20 66 | ))..............(push.fragment.f |
| 398e0 | 72 61 67 6d 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 70 68 65 61 | ragments))............(setq.phea |
| 39900 | 64 69 6e 67 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 70 61 72 65 | ding.(org-element-property.:pare |
| 39920 | 6e 74 20 70 68 65 61 64 69 6e 67 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 73 | nt.pheading)))...........(when.s |
| 39940 | 65 63 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 6c 75 67 20 28 63 6f | ection............(setq.slug.(co |
| 39960 | 6e 63 61 74 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 73 65 63 | ncat.(file-name-as-directory.sec |
| 39980 | 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tion)........................... |
| 399a0 | 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 | ....(mapconcat.#'file-name-as-di |
| 399c0 | 72 65 63 74 6f 72 79 20 66 72 61 67 6d 65 6e 74 73 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 | rectory.fragments."")........... |
| 399e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6c 75 67 29 29 29 0a 20 20 20 20 | ....................slug)))..... |
| 39a00 | 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 | .....;;.(message."[org-hugo--hea |
| 39a20 | 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 73 65 63 74 69 6f 6e 3a 20 25 53 22 20 | ding-get-slug.DBG].section:.%S". |
| 39a40 | 73 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | section)..........;;.(message."[ |
| 39a60 | 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 | org-hugo--heading-get-slug.DBG]. |
| 39a80 | 73 65 63 74 69 6f 6e 20 2b 20 73 6c 75 67 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 20 20 20 20 | section.+.slug:.%S".slug)....... |
| 39aa0 | 20 20 20 29 29 0a 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 | ...))......;;.(message."[org-hug |
| 39ac0 | 6f 2d 2d 68 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 46 49 4e 41 4c 20 73 | o--heading-get-slug.DBG].FINAL.s |
| 39ae0 | 6c 75 67 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 20 20 20 73 6c 75 67 29 29 29 0a 0a 28 64 65 | lug:.%S".slug)......slug)))..(de |
| 39b00 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 28 65 6c 65 6d 65 6e 74 | fun.org-hugo--get-anchor(element |
| 39b20 | 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 20 66 | .info)..."Return.anchor.string.f |
| 39b40 | 6f 72 20 4f 72 67 20 68 65 61 64 69 6e 67 20 45 4c 45 4d 45 4e 54 2e 0a 0a 54 68 65 20 61 6e 63 | or.Org.heading.ELEMENT...The.anc |
| 39b60 | 68 6f 72 20 69 73 20 64 65 72 69 76 65 64 20 75 73 69 6e 67 20 74 68 65 20 66 69 72 73 74 20 66 | hor.is.derived.using.the.first.f |
| 39b80 | 75 6e 63 74 69 6f 6e 20 74 68 61 74 20 72 65 74 75 72 6e 73 20 61 0a 6e 6f 6e 2d 6e 69 6c 20 76 | unction.that.returns.a.non-nil.v |
| 39ba0 | 61 6c 75 65 20 28 61 20 73 74 72 69 6e 67 29 20 66 72 6f 6d 20 74 68 65 20 6c 69 73 74 0a 60 6f | alue.(a.string).from.the.list.`o |
| 39bc0 | 72 67 2d 68 75 67 6f 2d 61 6e 63 68 6f 72 2d 66 75 6e 63 74 69 6f 6e 73 27 2e 0a 0a 49 4e 46 4f | rg-hugo-anchor-functions'...INFO |
| 39be0 | 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 | .is.a.plist.used.as.a.communicat |
| 39c00 | 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 52 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 20 73 74 | ion.channel...Return.an.empty.st |
| 39c20 | 72 69 6e 67 20 69 66 20 61 6c 6c 20 66 75 6e 63 74 69 6f 6e 73 20 69 6e 0a 60 6f 72 67 2d 68 75 | ring.if.all.functions.in.`org-hu |
| 39c40 | 67 6f 2d 61 6e 63 68 6f 72 2d 66 75 6e 63 74 69 6f 6e 73 27 20 72 65 74 75 72 6e 20 6e 69 6c 2e | go-anchor-functions'.return.nil. |
| 39c60 | 22 0a 20 20 28 6f 72 20 28 73 65 71 2d 73 6f 6d 65 0a 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 | "...(or.(seq-some........(lambda |
| 39c80 | 20 28 66 6e 29 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 65 6c 65 6d 65 6e 74 20 69 6e 66 6f 29 29 | .(fn).(funcall.fn.element.info)) |
| 39ca0 | 0a 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 61 6e 63 68 6f 72 2d 66 75 6e 63 74 69 6f 6e | ........org-hugo-anchor-function |
| 39cc0 | 73 29 0a 20 20 20 20 20 20 22 22 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d | s).......""))..(defun.org-hugo-- |
| 39ce0 | 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 28 73 74 79 6c 65 20 6c 65 76 65 6c 20 6c 6f 66 66 73 | heading-title.(style.level.loffs |
| 39d00 | 65 74 20 74 69 74 6c 65 20 26 6f 70 74 69 6f 6e 61 6c 20 74 6f 64 6f 20 74 61 67 73 20 61 6e 63 | et.title.&optional.todo.tags.anc |
| 39d20 | 68 6f 72 20 6e 75 6d 62 65 72 73 29 0a 20 20 22 47 65 6e 65 72 61 74 65 20 61 20 68 65 61 64 69 | hor.numbers)..."Generate.a.headi |
| 39d40 | 6e 67 20 74 69 74 6c 65 20 69 6e 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 4d 61 72 6b 64 6f | ng.title.in.the.preferred.Markdo |
| 39d60 | 77 6e 20 68 65 61 64 69 6e 67 20 73 74 79 6c 65 2e 0a 0a 53 54 59 4c 45 20 69 73 20 74 68 65 20 | wn.heading.style...STYLE.is.the. |
| 39d80 | 70 72 65 66 65 72 72 65 64 20 73 74 79 6c 65 20 28 60 61 74 78 27 20 6f 72 20 60 73 65 74 65 78 | preferred.style.(`atx'.or.`setex |
| 39da0 | 74 27 29 2e 0a 4c 45 56 45 4c 20 69 73 20 74 68 65 20 68 65 61 64 65 72 20 6c 65 76 65 6c 2e 0a | t')..LEVEL.is.the.header.level.. |
| 39dc0 | 4c 4f 46 46 53 45 54 20 69 73 20 74 68 65 20 6f 66 66 73 65 74 20 28 61 20 6e 6f 6e 2d 6e 65 67 | LOFFSET.is.the.offset.(a.non-neg |
| 39de0 | 61 74 69 76 65 20 6e 75 6d 62 65 72 29 20 74 68 61 74 20 69 73 20 61 64 64 65 64 20 74 6f 20 74 | ative.number).that.is.added.to.t |
| 39e00 | 68 65 0a 4d 61 72 6b 64 6f 77 6e 20 68 65 61 64 69 6e 67 20 6c 65 76 65 6c 20 66 6f 72 20 60 61 | he.Markdown.heading.level.for.`a |
| 39e20 | 74 78 27 20 73 74 79 6c 65 2e 0a 54 49 54 4c 45 20 69 73 20 74 68 65 20 68 65 61 64 69 6e 67 20 | tx'.style..TITLE.is.the.heading. |
| 39e40 | 74 69 74 6c 65 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 54 4f 44 4f 20 69 | title...Optional.argument.TODO.i |
| 39e60 | 73 20 74 68 65 20 4f 72 67 20 54 4f 44 4f 20 73 74 72 69 6e 67 2e 0a 0a 4f 70 74 69 6f 6e 61 6c | s.the.Org.TODO.string...Optional |
| 39e80 | 20 61 72 67 75 6d 65 6e 74 20 54 41 47 53 20 69 73 20 61 20 73 74 72 69 6e 67 20 63 6f 6e 74 61 | .argument.TAGS.is.a.string.conta |
| 39ea0 | 69 6e 69 6e 67 20 74 68 65 20 63 75 72 72 65 6e 74 0a 68 65 61 64 69 6e 67 27 73 20 74 61 67 73 | ining.the.current.heading's.tags |
| 39ec0 | 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 4e 43 48 4f 52 20 69 73 20 74 | ...Optional.argument.ANCHOR.is.t |
| 39ee0 | 68 65 20 48 75 67 6f 20 61 6e 63 68 6f 72 20 74 61 67 20 66 6f 72 20 74 68 65 20 73 65 63 74 69 | he.Hugo.anchor.tag.for.the.secti |
| 39f00 | 6f 6e 20 61 73 20 61 0a 73 74 72 69 6e 67 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 | on.as.a.string...Optional.argume |
| 39f20 | 6e 74 20 4e 55 4d 42 45 52 53 2c 20 69 66 20 6e 6f 6e 2d 6e 69 6c 2c 20 69 73 20 61 6e 20 68 74 | nt.NUMBERS,.if.non-nil,.is.an.ht |
| 39f40 | 6d 6c 69 7a 65 64 20 73 74 72 69 6e 67 0a 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 54 49 54 | mlized.string.containing.the.TIT |
| 39f60 | 4c 45 27 73 20 6e 75 6d 62 65 72 2e 22 0a 20 20 28 6c 65 74 20 28 28 68 65 61 64 69 6e 67 20 28 | LE's.number."...(let.((heading.( |
| 39f80 | 63 6f 6e 63 61 74 20 74 6f 64 6f 20 6e 75 6d 62 65 72 73 20 74 69 74 6c 65 20 74 61 67 73 20 22 | concat.todo.numbers.title.tags." |
| 39fa0 | 20 22 20 61 6e 63 68 6f 72 20 22 5c 6e 22 29 29 29 0a 20 20 20 20 3b 3b 20 55 73 65 20 22 53 65 | .".anchor."\n"))).....;;.Use."Se |
| 39fc0 | 74 65 78 74 22 20 73 74 79 6c 65 0a 20 20 20 20 28 69 66 20 28 61 6e 64 20 28 65 71 20 73 74 79 | text".style.....(if.(and.(eq.sty |
| 39fe0 | 6c 65 20 27 73 65 74 65 78 74 29 20 28 3c 20 6c 65 76 65 6c 20 33 29 29 0a 20 20 20 20 20 20 20 | le.'setext).(<.level.3))........ |
| 3a000 | 20 28 6c 65 74 2a 20 28 28 75 6e 64 65 72 6c 69 6e 65 2d 63 68 61 72 20 28 69 66 20 28 3d 20 6c | .(let*.((underline-char.(if.(=.l |
| 3a020 | 65 76 65 6c 20 31 29 20 3f 3d 20 3f 2d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | evel.1).?=.?-))................( |
| 3a040 | 75 6e 64 65 72 6c 69 6e 65 20 28 63 6f 6e 63 61 74 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 | underline.(concat.(make-string.( |
| 3a060 | 6c 65 6e 67 74 68 20 68 65 61 64 69 6e 67 29 20 75 6e 64 65 72 6c 69 6e 65 2d 63 68 61 72 29 0a | length.heading).underline-char). |
| 3a080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3a0a0 | 20 20 22 5c 6e 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 6e 22 | .."\n")))...........(concat."\n" |
| 3a0c0 | 20 68 65 61 64 69 6e 67 20 75 6e 64 65 72 6c 69 6e 65 20 22 5c 6e 22 29 29 0a 20 20 20 20 20 20 | .heading.underline."\n"))....... |
| 3a0e0 | 3b 3b 20 55 73 65 20 22 41 74 78 22 20 73 74 79 6c 65 0a 20 20 20 20 20 20 3b 3b 20 41 6c 77 61 | ;;.Use."Atx".style.......;;.Alwa |
| 3a100 | 79 73 20 74 72 61 6e 73 6c 61 74 65 20 6c 65 76 65 6c 20 4e 20 4f 72 67 20 68 65 61 64 69 6e 67 | ys.translate.level.N.Org.heading |
| 3a120 | 20 74 6f 20 6c 65 76 65 6c 20 4e 2b 31 20 4d 61 72 6b 64 6f 77 6e 0a 20 20 20 20 20 20 3b 3b 20 | .to.level.N+1.Markdown.......;;. |
| 3a140 | 68 65 61 64 69 6e 67 20 62 65 63 61 75 73 65 20 4d 61 72 6b 64 6f 77 6e 20 6c 65 76 65 6c 20 31 | heading.because.Markdown.level.1 |
| 3a160 | 20 68 65 61 64 69 6e 67 20 61 6e 64 20 48 54 4d 4c 20 74 69 74 6c 65 20 62 6f 74 68 0a 20 20 20 | .heading.and.HTML.title.both.... |
| 3a180 | 20 20 20 3b 3b 20 67 65 74 20 74 68 65 20 48 54 4d 4c 20 3c 68 31 3e 20 74 61 67 2c 20 61 6e 64 | ...;;.get.the.HTML.<h1>.tag,.and |
| 3a1a0 | 20 77 65 20 64 6f 20 6e 6f 74 20 77 61 6e 74 20 74 68 65 20 74 6f 70 2d 6d 6f 73 74 20 68 65 61 | .we.do.not.want.the.top-most.hea |
| 3a1c0 | 64 69 6e 67 0a 20 20 20 20 20 20 3b 3b 20 6f 66 20 61 20 70 6f 73 74 20 74 6f 20 6c 6f 6f 6b 20 | ding.......;;.of.a.post.to.look. |
| 3a1e0 | 74 68 65 20 65 78 61 63 74 20 73 61 6d 65 20 61 73 20 74 68 65 20 70 6f 73 74 27 73 20 74 69 74 | the.exact.same.as.the.post's.tit |
| 3a200 | 6c 65 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 65 76 65 6c 2d 6d 61 72 6b 20 28 6d 61 6b | le........(let.((level-mark.(mak |
| 3a220 | 65 2d 73 74 72 69 6e 67 20 28 2b 20 6c 6f 66 66 73 65 74 20 6c 65 76 65 6c 29 20 3f 23 29 29 29 | e-string.(+.loffset.level).?#))) |
| 3a240 | 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 6e 22 20 6c 65 76 65 6c 2d 6d 61 72 6b | .........(concat."\n".level-mark |
| 3a260 | 20 22 20 22 20 68 65 61 64 69 6e 67 20 22 5c 6e 22 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 49 6e 6e | .".".heading."\n")))))..;;;;.Inn |
| 3a280 | 65 72 20 54 65 6d 70 6c 61 74 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 6e 65 | er.Template.(defun.org-hugo-inne |
| 3a2a0 | 72 2d 74 65 6d 70 6c 61 74 65 20 28 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 52 65 | r-template.(contents.info)..."Re |
| 3a2c0 | 74 75 72 6e 20 62 6f 64 79 20 6f 66 20 64 6f 63 75 6d 65 6e 74 20 61 66 74 65 72 20 63 6f 6e 76 | turn.body.of.document.after.conv |
| 3a2e0 | 65 72 74 69 6e 67 20 69 74 20 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 | erting.it.to.Hugo-compatible.Mar |
| 3a300 | 6b 64 6f 77 6e 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 74 68 65 20 74 72 61 6e 73 63 6f 64 65 | kdown..CONTENTS.is.the.transcode |
| 3a320 | 64 20 63 6f 6e 74 65 6e 74 73 20 73 74 72 69 6e 67 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c | d.contents.string...INFO.is.a.pl |
| 3a340 | 69 73 74 0a 68 6f 6c 64 69 6e 67 20 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e 73 2e 22 0a 20 20 28 | ist.holding.export.options."...( |
| 3a360 | 6c 65 74 2a 20 28 28 74 6f 63 2d 6c 65 76 65 6c 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f | let*.((toc-level.(plist-get.info |
| 3a380 | 20 3a 77 69 74 68 2d 74 6f 63 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 6c 65 76 65 6c | .:with-toc))..........(toc-level |
| 3a3a0 | 20 28 69 66 20 28 61 6e 64 20 74 6f 63 2d 6c 65 76 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .(if.(and.toc-level............. |
| 3a3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 77 68 6f 6c 65 6e 75 6d 70 | .................(not.(wholenump |
| 3a3e0 | 20 74 6f 63 2d 6c 65 76 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .toc-level)))................... |
| 3a400 | 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 65 61 64 6c 69 6e 65 2d | ......(plist-get.info.:headline- |
| 3a420 | 6c 65 76 65 6c 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f | levels).......................to |
| 3a440 | 63 2d 6c 65 76 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 20 28 69 66 20 28 61 6e 64 | c-level))..........(toc.(if.(and |
| 3a460 | 20 74 6f 63 2d 6c 65 76 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .toc-level...................... |
| 3a480 | 20 20 28 77 68 6f 6c 65 6e 75 6d 70 20 74 6f 63 2d 6c 65 76 65 6c 29 0a 20 20 20 20 20 20 20 20 | ..(wholenump.toc-level)......... |
| 3a4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3e 20 74 6f 63 2d 6c 65 76 65 6c 20 30 29 29 20 | ...............(>.toc-level.0)). |
| 3a4c0 | 3b 54 4f 43 20 77 69 6c 6c 20 62 65 20 65 78 70 6f 72 74 65 64 20 6f 6e 6c 79 20 69 66 20 74 6f | ;TOC.will.be.exported.only.if.to |
| 3a4e0 | 63 2d 6c 65 76 65 6c 20 69 73 20 70 6f 73 69 74 69 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 | c-level.is.positive............. |
| 3a500 | 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 69 6c 64 2d 74 | ......(concat.(org-hugo--build-t |
| 3a520 | 6f 63 20 69 6e 66 6f 20 74 6f 63 2d 6c 65 76 65 6c 29 20 22 5c 6e 22 29 0a 20 20 20 20 20 20 20 | oc.info.toc-level)."\n")........ |
| 3a540 | 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 48 61 6e 64 6c 69 | .........""))..........;;.Handli |
| 3a560 | 6e 67 20 74 68 65 20 63 61 73 65 20 6f 66 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 73 20 69 6e | ng.the.case.of.special.blocks.in |
| 3a580 | 73 69 64 65 20 6d 61 72 6b 64 6f 77 6e 20 71 75 6f 74 65 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 | side.markdown.quote..........;;. |
| 3a5a0 | 62 6c 6f 63 6b 73 2e 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 73 20 28 72 65 70 6c | blocks...........(contents.(repl |
| 3a5c0 | 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 | ace-regexp-in-string............ |
| 3a5e0 | 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 5c 28 5c 6e 5c 5c 73 2d 2a 3e 20 5c 5c | .........(concat."\\(\n\\s-*>.\\ |
| 3a600 | 29 2a 22 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d | )*".(regexp-quote.org-hugo--trim |
| 3a620 | 2d 70 72 65 2d 6d 61 72 6b 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -pre-marker))................... |
| 3a640 | 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 5e 5e 5e 5e 5e 5e 5e 5e 20 4d 61 72 6b 64 6f 77 6e 20 | ..;;..........^^^^^^^^.Markdown. |
| 3a660 | 71 75 6f 74 65 20 62 6c 6f 63 6b 73 20 68 61 76 65 20 6c 69 6e 65 73 20 62 65 67 69 6e 6e 69 6e | quote.blocks.have.lines.beginnin |
| 3a680 | 67 20 77 69 74 68 20 22 3e 20 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g.with.">."..................... |
| 3a6a0 | 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d 2d 70 72 65 2d 6d 61 72 6b 65 72 20 3b 4b 65 65 70 | .org-hugo--trim-pre-marker.;Keep |
| 3a6c0 | 20 74 68 65 20 74 72 69 6d 20 6d 61 72 6b 65 72 3b 20 69 74 20 77 69 6c 6c 20 62 65 20 72 65 6d | .the.trim.marker;.it.will.be.rem |
| 3a6e0 | 6f 76 65 64 20 6e 65 78 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | oved.next......................c |
| 3a700 | 6f 6e 74 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 73 20 28 72 65 | ontents))..........(contents.(re |
| 3a720 | 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 | place-regexp-in-string.......... |
| 3a740 | 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 5c 28 5b 5b 3a 73 70 61 63 65 3a | ...........(concat."\\([[:space: |
| 3a760 | 5d 5d 5c 5c 7c 5c 6e 5c 5c 29 2a 22 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 6f 72 67 2d 68 | ]]\\|\n\\)*".(regexp-quote.org-h |
| 3a780 | 75 67 6f 2d 2d 74 72 69 6d 2d 70 72 65 2d 6d 61 72 6b 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 | ugo--trim-pre-marker)).......... |
| 3a7a0 | 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........."\n"................. |
| 3a7c0 | 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 | ....contents))..........(content |
| 3a7e0 | 73 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 3b 54 72 69 | s.(replace-regexp-in-string.;Tri |
| 3a800 | 6d 20 73 74 75 66 66 20 61 66 74 65 72 20 73 65 6c 65 63 74 65 64 20 65 78 70 6f 72 74 65 64 20 | m.stuff.after.selected.exported. |
| 3a820 | 65 6c 65 6d 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f | elements.....................(co |
| 3a840 | 6e 63 61 74 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 | ncat.(regexp-quote.org-hugo--tri |
| 3a860 | 6d 2d 70 6f 73 74 2d 6d 61 72 6b 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m-post-marker).................. |
| 3a880 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 75 6c 6c 20 75 70 20 74 68 65 20 63 6f 6e 74 65 6e | ...........;;.Pull.up.the.conten |
| 3a8a0 | 74 73 20 66 72 6f 6d 20 74 68 65 20 6e 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ts.from.the.next................ |
| 3a8c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6e 65 2c 20 75 6e 6c 65 73 73 20 74 68 65 | .............;;.line,.unless.the |
| 3a8e0 | 20 6e 65 78 74 20 6c 69 6e 65 20 69 73 20 61 20 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 | .next.line.is.a.list............ |
| 3a900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 74 65 6d 20 28 2d 29 2c 20 61 20 | .................;;.item.(-),.a. |
| 3a920 | 68 65 61 64 69 6e 67 20 28 23 29 20 6f 72 20 61 20 63 6f 64 65 20 62 6c 6f 63 6b 0a 20 20 20 20 | heading.(#).or.a.code.block..... |
| 3a940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 60 29 2e 0a | ........................;;.(`).. |
| 3a960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 | ............................"\\( |
| 3a980 | 5b 5b 3a 73 70 61 63 65 3a 5d 3e 5d 5c 5c 7c 5c 6e 5c 5c 29 2b 5c 5c 28 5b 5e 2d 23 60 5d 5c 5c | [[:space:]>]\\|\n\\)+\\([^-#`]\\ |
| 3a9a0 | 29 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 5c 5c 32 22 20 63 | )").....................".\\2".c |
| 3a9c0 | 6f 6e 74 65 6e 74 73 29 29 29 0a 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 | ontents)))......;;.(message."[or |
| 3a9e0 | 67 2d 68 75 67 6f 2d 69 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 20 44 42 47 5d 20 74 6f 63 2d 6c | g-hugo-inner-template.DBG].toc-l |
| 3aa00 | 65 76 65 6c 3a 20 25 73 22 20 74 6f 63 2d 6c 65 76 65 6c 29 0a 20 20 20 20 28 73 74 72 69 6e 67 | evel:.%s".toc-level).....(string |
| 3aa20 | 2d 74 72 69 6d 2d 6c 65 66 74 20 3b 52 65 6d 6f 76 65 20 61 6e 79 20 65 78 74 72 61 20 62 6c 61 | -trim-left.;Remove.any.extra.bla |
| 3aa40 | 6e 6b 20 6c 69 6e 65 73 20 62 65 74 77 65 65 6e 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 61 6e | nk.lines.between.front-matter.an |
| 3aa60 | 64 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 23 63 6f 6e 73 69 73 74 65 6e 63 79 0a 20 20 20 20 20 | d.the.content.#consistency...... |
| 3aa80 | 28 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 74 6f 63 0a 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 | (concat.......toc.......contents |
| 3aaa0 | 0a 20 20 20 20 20 20 3b 3b 20 4d 61 6b 65 20 73 75 72 65 20 43 4f 4e 54 45 4e 54 53 20 69 73 20 | .......;;.Make.sure.CONTENTS.is. |
| 3aac0 | 73 65 70 61 72 61 74 65 64 20 66 72 6f 6d 20 74 61 62 6c 65 20 6f 66 20 63 6f 6e 74 65 6e 74 73 | separated.from.table.of.contents |
| 3aae0 | 0a 20 20 20 20 20 20 3b 3b 20 61 6e 64 20 66 6f 6f 74 6e 6f 74 65 73 20 77 69 74 68 20 61 74 20 | .......;;.and.footnotes.with.at. |
| 3ab00 | 6c 65 61 73 74 20 61 20 62 6c 61 6e 6b 20 6c 69 6e 65 2e 0a 20 20 20 20 20 20 22 5c 6e 22 0a 20 | least.a.blank.line........"\n".. |
| 3ab20 | 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 6f 6f 74 6e 6f 74 65 2d 73 | .....(org-blackfriday-footnote-s |
| 3ab40 | 65 63 74 69 6f 6e 20 69 6e 66 6f 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6c 61 6e 67 2d 63 6a 6b 2d | ection.info.(org-hugo--lang-cjk- |
| 3ab60 | 70 20 69 6e 66 6f 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 49 6e 6c 69 6e 65 20 53 72 63 20 42 6c | p.info))))))..;;;;.Inline.Src.Bl |
| 3ab80 | 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 | ock.(defun.org-hugo-inline-src-b |
| 3aba0 | 6c 6f 63 6b 20 28 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 20 5f 63 6f 6e 74 65 6e 74 73 | lock.(inline-src-block._contents |
| 3abc0 | 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 49 4e 4c 49 4e 45 2d 53 52 43 2d | ._info)..."Transcode.INLINE-SRC- |
| 3abe0 | 42 4c 4f 43 4b 20 6f 62 6a 65 63 74 20 69 6e 74 6f 20 48 54 4d 4c 2e 0a 0a 45 73 63 61 70 65 20 | BLOCK.object.into.HTML...Escape. |
| 3ac00 | 48 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 73 20 69 66 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 | Hugo.shortcodes.if.present.in.th |
| 3ac20 | 69 73 20 65 6c 65 6d 65 6e 74 27 73 20 76 61 6c 75 65 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6c | is.element's.value."...(let*.((l |
| 3ac40 | 61 6e 67 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6c 61 6e 67 75 | ang.(org-element-property.:langu |
| 3ac60 | 61 67 65 20 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 | age.inline-src-block)).......... |
| 3ac80 | 28 63 6f 64 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 73 63 61 70 65 2d 68 75 67 6f 2d 73 68 6f | (code.(org-hugo--escape-hugo-sho |
| 3aca0 | 72 74 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d | rtcode.................(org-elem |
| 3acc0 | 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 | ent-property.:value.inline-src-b |
| 3ace0 | 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 6e 67 29 29 29 0a 20 20 | lock).................lang)))... |
| 3ad00 | 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 20 69 6e 6c 69 | ..(org-element-put-property.inli |
| 3ad20 | 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 20 3a 76 61 6c 75 65 20 63 6f 64 65 29 0a 20 20 20 20 28 66 | ne-src-block.:value.code).....(f |
| 3ad40 | 6f 72 6d 61 74 20 22 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 69 6e 6c 69 6e 65 2d 73 72 63 20 | ormat."<span.class=\"inline-src. |
| 3ad60 | 6c 61 6e 67 75 61 67 65 2d 25 73 5c 22 20 64 61 74 61 2d 6c 61 6e 67 3d 5c 22 25 73 5c 22 3e 25 | language-%s\".data-lang=\"%s\">% |
| 3ad80 | 73 3c 2f 73 70 61 6e 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 6e 67 20 6c 61 6e 67 0a | s</span>".............lang.lang. |
| 3ada0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6d 64 2d 76 65 72 62 61 74 69 6d 20 69 6e 6c | ............(org-md-verbatim.inl |
| 3adc0 | 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 20 6e 69 6c 20 6e 69 6c 29 29 29 29 0a 0a 3b 3b 3b 3b 20 | ine-src-block.nil.nil))))..;;;;. |
| 3ade0 | 4b 65 79 77 6f 72 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 6b 65 79 77 6f 72 64 20 | Keyword.(defun.org-hugo-keyword. |
| 3ae00 | 28 6b 65 79 77 6f 72 64 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 | (keyword.contents.info)..."Trans |
| 3ae20 | 63 6f 64 65 20 61 20 4b 45 59 57 4f 52 44 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 48 75 67 6f | code.a.KEYWORD.element.into.Hugo |
| 3ae40 | 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e | -compatible.Markdown.format..CON |
| 3ae60 | 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 | TENTS.is.nil...INFO.is.a.plist.u |
| 3ae80 | 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 0a 63 68 61 6e 6e 65 6c 2e 22 | sed.as.a.communication.channel." |
| 3aea0 | 0a 20 20 28 6c 65 74 20 28 28 6b 77 64 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 | ...(let.((kwd.(org-element-prope |
| 3aec0 | 72 74 79 20 3a 6b 65 79 20 6b 65 79 77 6f 72 64 29 29 0a 20 20 20 20 20 20 20 20 28 76 61 6c 75 | rty.:key.keyword)).........(valu |
| 3aee0 | 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 6b | e.(org-element-property.:value.k |
| 3af00 | 65 79 77 6f 72 64 29 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 61 6e 64 20 28 | eyword))).....(cond......((and.( |
| 3af20 | 65 71 75 61 6c 20 22 48 55 47 4f 22 20 6b 77 64 29 29 0a 20 20 20 20 20 20 28 69 66 20 28 61 6e | equal."HUGO".kwd)).......(if.(an |
| 3af40 | 64 20 28 73 74 72 69 6e 67 70 20 76 61 6c 75 65 29 20 20 20 20 20 20 20 20 20 20 3b 48 75 67 6f | d.(stringp.value)..........;Hugo |
| 3af60 | 20 73 75 6d 6d 61 72 79 20 73 70 6c 69 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .summary.splitting.............. |
| 3af80 | 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 5c 5c 73 2d 2a 6d 6f 72 65 5c | ..(string-match-p."\\`\\s-*more\ |
| 3afa0 | 5c 73 2d 2a 5c 5c 27 22 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 | \s-*\\'".value))...........(prog |
| 3afc0 | 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e | n.............;;.https://gohugo. |
| 3afe0 | 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 73 75 6d 6d 61 72 69 65 73 23 | io/content-management/summaries# |
| 3b000 | 75 73 65 72 2d 64 65 66 69 6e 65 64 2d 6d 61 6e 75 61 6c 2d 73 75 6d 6d 61 72 79 2d 73 70 6c 69 | user-defined-manual-summary-spli |
| 3b020 | 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 21 2d 2d 6d 6f 72 65 2d 2d 3e 22 29 | tting............."<!--more-->") |
| 3b040 | 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 29 | .........(progn...........value) |
| 3b060 | 29 29 0a 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 75 61 6c 20 22 54 4f 43 22 20 6b 77 64 29 0a | ))......((and.(equal."TOC".kwd). |
| 3b080 | 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 3c 68 | ...........(string-match-p."\\<h |
| 3b0a0 | 65 61 64 6c 69 6e 65 73 5c 5c 3e 22 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2a | eadlines\\>".value)).......(let* |
| 3b0c0 | 20 28 28 64 65 70 74 68 20 28 61 6e 64 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 3c | .((depth.(and.(string-match."\\< |
| 3b0e0 | 5b 30 2d 39 5d 2b 5c 5c 3e 22 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | [0-9]+\\>".value)............... |
| 3b100 | 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 28 6d 61 | ...........(string-to-number.(ma |
| 3b120 | 74 63 68 2d 73 74 72 69 6e 67 20 30 20 76 61 6c 75 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 | tch-string.0.value)))).......... |
| 3b140 | 20 20 20 20 28 6c 6f 63 61 6c 3f 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 3c | ....(local?.(string-match-p."\\< |
| 3b160 | 6c 6f 63 61 6c 5c 5c 3e 22 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | local\\>".value))..............( |
| 3b180 | 73 63 6f 70 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 72 6f 6d 20 | scope.....................;From. |
| 3b1a0 | 60 6f 72 67 2d 6d 64 2d 6b 65 79 77 6f 72 64 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | `org-md-keyword'...............( |
| 3b1c0 | 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 2d 6d 61 74 | cond................((string-mat |
| 3b1e0 | 63 68 20 22 3a 74 61 72 67 65 74 20 2b 5c 5c 28 5c 22 2e 2b 3f 5c 22 5c 5c 7c 5c 5c 53 2d 2b 5c | ch.":target.+\\(\".+?\"\\|\\S-+\ |
| 3b200 | 5c 29 22 20 76 61 6c 75 65 29 20 3b 6c 69 6e 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | \)".value).;link................ |
| 3b220 | 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 2d 6c 69 6e 6b 0a 20 20 20 20 20 20 | .(org-export-resolve-link....... |
| 3b240 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 70 2d 71 75 6f 74 65 73 20 28 6d 61 | ...........(org-strip-quotes.(ma |
| 3b260 | 74 63 68 2d 73 74 72 69 6e 67 20 31 20 76 61 6c 75 65 29 29 20 69 6e 66 6f 29 29 0a 20 20 20 20 | tch-string.1.value)).info))..... |
| 3b280 | 20 20 20 20 20 20 20 20 20 20 20 28 6c 6f 63 61 6c 3f 20 6b 65 79 77 6f 72 64 29 29 29 29 0a 20 | ...........(local?.keyword)))).. |
| 3b2a0 | 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 64 65 70 74 68 0a 20 20 20 20 20 20 20 20 | .......(when.(and.depth......... |
| 3b2c0 | 20 20 20 20 20 20 20 20 20 20 20 28 3e 20 64 65 70 74 68 20 30 29 29 0a 20 20 20 20 20 20 20 20 | ...........(>.depth.0))......... |
| 3b2e0 | 20 20 28 6c 65 74 20 28 28 74 6f 63 2d 73 74 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 69 6c | ..(let.((toc-str.(org-hugo--buil |
| 3b300 | 64 2d 74 6f 63 20 69 6e 66 6f 20 64 65 70 74 68 20 73 63 6f 70 65 20 6c 6f 63 61 6c 3f 29 29 29 | d-toc.info.depth.scope.local?))) |
| 3b320 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 74 6f 63 2d 73 74 72 0a 20 20 20 20 20 | .............(when.toc-str...... |
| 3b340 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 72 65 6d 6f 76 65 2d 69 6e 64 65 6e 74 61 74 69 6f 6e | .........(org-remove-indentation |
| 3b360 | 20 74 6f 63 2d 73 74 72 29 29 29 29 29 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 6f 72 | .toc-str))))))......(t.......(or |
| 3b380 | 67 2d 6d 64 2d 6b 65 79 77 6f 72 64 20 6b 65 79 77 6f 72 64 20 63 6f 6e 74 65 6e 74 73 20 69 6e | g-md-keyword.keyword.contents.in |
| 3b3a0 | 66 6f 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 4c 69 6e 6b 73 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 | fo)))))..;;;;.Links.(defun.org-h |
| 3b3c0 | 75 67 6f 2d 2d 67 65 74 2d 63 6f 64 65 72 65 66 2d 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 28 | ugo--get-coderef-anchor-prefix.( |
| 3b3e0 | 65 6c 29 0a 20 20 22 47 65 74 20 61 6e 63 68 6f 72 20 70 72 65 66 69 78 20 73 74 72 69 6e 67 20 | el)..."Get.anchor.prefix.string. |
| 3b400 | 66 6f 72 20 63 6f 64 65 20 72 65 66 73 20 69 6e 20 65 6c 65 6d 65 6e 74 20 45 4c 2e 0a 0a 52 65 | for.code.refs.in.element.EL...Re |
| 3b420 | 74 75 72 6e 20 61 20 63 6f 6e 73 20 28 43 4f 44 45 2d 52 45 46 53 20 2e 20 41 4e 43 48 4f 52 2d | turn.a.cons.(CODE-REFS...ANCHOR- |
| 3b440 | 50 52 45 46 49 58 29 20 77 68 65 72 65 0a 0a 2d 20 43 4f 44 45 2d 52 45 46 53 20 69 73 20 61 6e | PREFIX).where..-.CODE-REFS.is.an |
| 3b460 | 20 61 6c 69 73 74 20 6f 66 20 74 68 65 20 74 79 70 65 20 28 4c 49 4e 45 4e 55 4d 20 2e 20 4c 41 | .alist.of.the.type.(LINENUM...LA |
| 3b480 | 42 45 4c 29 20 77 68 65 72 65 0a 0a 20 20 4c 49 4e 45 4e 55 4d 20 69 73 20 74 68 65 20 6c 69 6e | BEL).where....LINENUM.is.the.lin |
| 3b4a0 | 65 20 6e 75 6d 62 65 72 20 77 68 65 72 65 20 74 68 65 20 63 6f 64 65 20 72 65 66 65 72 65 6e 63 | e.number.where.the.code.referenc |
| 3b4c0 | 65 64 20 6c 61 62 65 6c 65 64 0a 20 20 4c 41 42 45 4c 20 77 61 73 20 66 6f 75 6e 64 2e 20 20 4c | ed.labeled...LABEL.was.found...L |
| 3b4e0 | 41 42 45 4c 20 69 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 2d 20 41 4e 43 48 4f 52 2d 50 52 45 46 | ABEL.is.a.string...-.ANCHOR-PREF |
| 3b500 | 49 58 20 69 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 45 | IX.is.a.string...Return.nil.if.E |
| 3b520 | 4c 20 68 61 73 20 6e 6f 20 63 6f 64 65 20 72 65 66 65 72 65 6e 63 65 73 2e 22 0a 20 20 28 6c 65 | L.has.no.code.references."...(le |
| 3b540 | 74 20 28 28 70 72 65 66 69 78 20 22 6f 72 67 2d 63 6f 64 65 72 65 66 22 29 0a 20 20 20 20 20 20 | t.((prefix."org-coderef")....... |
| 3b560 | 20 20 28 68 61 73 68 2d 6c 65 6e 20 36 29 0a 20 20 20 20 20 20 20 20 28 63 6f 64 65 2d 72 65 66 | ..(hash-len.6).........(code-ref |
| 3b580 | 73 20 28 63 64 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 75 6e 72 61 76 65 6c 2d 63 6f 64 65 20 | s.(cdr.(org-export-unravel-code. |
| 3b5a0 | 65 6c 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 63 6f 64 65 2d 72 65 66 73 0a 20 20 20 20 20 | el)))).....(when.code-refs...... |
| 3b5c0 | 20 28 6c 65 74 2a 20 28 28 75 6e 69 71 75 65 2d 69 64 20 28 73 75 62 73 74 72 69 6e 67 0a 20 20 | .(let*.((unique-id.(substring... |
| 3b5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 64 35 20 28 66 6f 72 | .......................(md5.(for |
| 3b600 | 6d 61 74 20 22 25 73 22 20 63 6f 64 65 2d 72 65 66 73 29 29 20 30 20 68 61 73 68 2d 6c 65 6e 29 | mat."%s".code-refs)).0.hash-len) |
| 3b620 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 28 66 | )..............(anchor-prefix.(f |
| 3b640 | 6f 72 6d 61 74 20 22 25 73 2d 2d 25 73 22 20 70 72 65 66 69 78 20 75 6e 69 71 75 65 2d 69 64 29 | ormat."%s--%s".prefix.unique-id) |
| 3b660 | 29 29 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 63 6f 64 65 2d 72 65 66 73 20 61 6e 63 68 6f | )).........(cons.code-refs.ancho |
| 3b680 | 72 2d 70 72 65 66 69 78 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 6c | r-prefix)))))..(defun.org-hugo-l |
| 3b6a0 | 69 6e 6b 2d 2d 72 65 73 6f 6c 76 65 2d 63 6f 64 65 72 65 66 20 28 72 65 66 20 69 6e 66 6f 29 0a | ink--resolve-coderef.(ref.info). |
| 3b6c0 | 20 20 22 52 65 73 6f 6c 76 65 20 61 20 63 6f 64 65 20 72 65 66 65 72 65 6e 63 65 20 52 45 46 2e | .."Resolve.a.code.reference.REF. |
| 3b6e0 | 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 68 65 61 76 69 6c 79 20 64 65 72 69 76 | ..This.function.is.heavily.deriv |
| 3b700 | 65 64 20 66 72 6f 6d 0a 60 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 2d 63 6f 64 65 | ed.from.`org-export-resolve-code |
| 3b720 | 72 65 66 27 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 | ref'...INFO.is.a.plist.used.as.a |
| 3b740 | 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 52 65 74 75 72 6e 20 | .communication.channel...Return. |
| 3b760 | 61 20 70 6c 69 73 74 20 77 69 74 68 20 74 68 65 73 65 20 65 6c 65 6d 65 6e 74 73 3a 0a 0a 2d 20 | a.plist.with.these.elements:..-. |
| 3b780 | 60 3a 6c 69 6e 65 2d 6e 75 6d 27 20 3a 3a 20 52 45 46 20 61 73 73 6f 63 69 61 74 65 64 20 6c 69 | `:line-num'.::.REF.associated.li |
| 3b7a0 | 6e 65 20 6e 75 6d 62 65 72 0a 0a 2d 20 60 3a 72 65 66 27 20 3a 3a 20 52 45 46 20 61 73 73 6f 63 | ne.number..-.`:ref'.::.REF.assoc |
| 3b7c0 | 69 61 74 65 64 20 6c 69 6e 65 20 6e 75 6d 62 65 72 20 69 6e 20 73 6f 75 72 63 65 20 63 6f 64 65 | iated.line.number.in.source.code |
| 3b7e0 | 20 28 69 66 20 74 68 65 20 4f 72 67 0a 20 20 65 6c 65 6d 65 6e 74 27 73 20 60 3a 75 73 65 2d 6c | .(if.the.Org...element's.`:use-l |
| 3b800 | 61 62 65 6c 73 27 20 70 72 6f 70 65 72 74 79 20 69 73 20 75 6e 73 65 74 2e 20 20 54 68 69 73 20 | abels'.property.is.unset...This. |
| 3b820 | 68 61 70 70 65 6e 73 20 77 68 65 6e 0a 20 20 74 68 65 20 60 2d 72 27 20 73 77 69 74 63 68 20 69 | happens.when...the.`-r'.switch.i |
| 3b840 | 73 20 75 73 65 64 29 20 2c 20 6f 72 20 52 45 46 20 69 74 73 65 6c 66 2e 0a 0a 2d 20 60 3a 61 6e | s.used).,.or.REF.itself...-.`:an |
| 3b860 | 63 68 6f 72 2d 70 72 65 66 69 78 27 20 3a 3a 20 53 74 72 69 6e 67 20 70 72 65 66 69 78 20 66 6f | chor-prefix'.::.String.prefix.fo |
| 3b880 | 72 20 52 45 46 27 73 20 61 6e 63 68 6f 72 2e 0a 0a 54 68 72 6f 77 20 61 6e 20 65 72 72 6f 72 20 | r.REF's.anchor...Throw.an.error. |
| 3b8a0 | 69 66 20 6e 6f 20 62 6c 6f 63 6b 20 63 6f 6e 74 61 69 6e 73 20 52 45 46 2e 22 0a 20 20 28 6f 72 | if.no.block.contains.REF."...(or |
| 3b8c0 | 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 | .(org-element-map.(plist-get.inf |
| 3b8e0 | 6f 20 3a 70 61 72 73 65 2d 74 72 65 65 29 20 27 28 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 73 | o.:parse-tree).'(example-block.s |
| 3b900 | 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 65 6c 29 0a 20 | rc-block).........(lambda.(el).. |
| 3b920 | 20 20 20 20 20 20 20 20 20 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a 20 20 20 20 20 | .........(with-temp-buffer...... |
| 3b940 | 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 6f 72 67 2d 74 72 69 6d 20 28 6f 72 67 2d 65 6c | .......(insert.(org-trim.(org-el |
| 3b960 | 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 65 6c 29 29 29 0a 20 20 20 20 | ement-property.:value.el)))..... |
| 3b980 | 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 65 66 2d 69 6e 66 6f 20 28 29 29 0a 20 20 20 | ........(let*.((ref-info.()).... |
| 3b9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 62 65 6c 2d 66 6d 74 20 28 6f 72 20 28 | ................(label-fmt.(or.( |
| 3b9c0 | 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6c 61 62 65 6c 2d 66 6d 74 20 | org-element-property.:label-fmt. |
| 3b9e0 | 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | el)............................. |
| 3ba00 | 20 20 20 20 20 20 6f 72 67 2d 63 6f 64 65 72 65 66 2d 6c 61 62 65 6c 2d 66 6f 72 6d 61 74 29 29 | ......org-coderef-label-format)) |
| 3ba20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 66 2d 72 65 20 28 6f 72 67 | ....................(ref-re.(org |
| 3ba40 | 2d 73 72 63 2d 63 6f 64 65 72 65 66 2d 72 65 67 65 78 70 20 6c 61 62 65 6c 2d 66 6d 74 20 72 65 | -src-coderef-regexp.label-fmt.re |
| 3ba60 | 66 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 6c 65 6d 65 6e 74 20 63 6f | f)))...............;;.Element.co |
| 3ba80 | 6e 74 61 69 6e 69 6e 67 20 52 45 46 20 69 73 20 66 6f 75 6e 64 2e 20 20 52 65 73 6f 6c 76 65 20 | ntaining.REF.is.found...Resolve. |
| 3baa0 | 69 74 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 69 74 68 65 72 20 61 20 | it.to...............;;.either.a. |
| 3bac0 | 6c 61 62 65 6c 20 6f 72 20 61 20 6c 69 6e 65 20 6e 75 6d 62 65 72 2c 20 61 73 20 6e 65 65 64 65 | label.or.a.line.number,.as.neede |
| 3bae0 | 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 72 65 2d 73 65 61 72 63 | d................(when.(re-searc |
| 3bb00 | 68 2d 62 61 63 6b 77 61 72 64 20 72 65 66 2d 72 65 20 6e 69 6c 20 3a 6e 6f 65 72 72 6f 72 29 0a | h-backward.ref-re.nil.:noerror). |
| 3bb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6c 69 6e 65 2d 6e 75 6d | ................(let*.((line-num |
| 3bb40 | 20 28 2b 20 28 6f 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6c 6f 63 20 65 6c 20 69 | .(+.(or.(org-export-get-loc.el.i |
| 3bb60 | 6e 66 6f 29 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nfo).0)......................... |
| 3bb80 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 65 2d 6e 75 6d 62 65 72 2d 61 74 2d 70 6f 73 29 | ............(line-number-at-pos) |
| 3bba0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 66 2d 73 | ))........................(ref-s |
| 3bbc0 | 74 72 20 28 66 6f 72 6d 61 74 20 22 25 73 22 20 28 69 66 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 | tr.(format."%s".(if.(org-element |
| 3bbe0 | 2d 70 72 6f 70 65 72 74 79 20 3a 75 73 65 2d 6c 61 62 65 6c 73 20 65 6c 29 0a 20 20 20 20 20 20 | -property.:use-labels.el)....... |
| 3bc00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3bc20 | 20 20 20 20 20 20 20 20 20 20 20 72 65 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........ref.................. |
| 3bc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 | ..............................li |
| 3bc60 | 6e 65 2d 6e 75 6d 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 | ne-num))))...................(se |
| 3bc80 | 74 71 20 72 65 66 2d 69 6e 66 6f 20 28 70 6c 69 73 74 2d 70 75 74 20 72 65 66 2d 69 6e 66 6f 20 | tq.ref-info.(plist-put.ref-info. |
| 3bca0 | 3a 6c 69 6e 65 2d 6e 75 6d 20 6c 69 6e 65 2d 6e 75 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | :line-num.line-num))............ |
| 3bcc0 | 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 66 2d 69 6e 66 6f 20 28 70 6c 69 73 74 2d 70 75 74 | .......(setq.ref-info.(plist-put |
| 3bce0 | 20 72 65 66 2d 69 6e 66 6f 20 3a 72 65 66 20 72 65 66 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 | .ref-info.:ref.ref-str))........ |
| 3bd00 | 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 | ...........(let.((anchor-prefix. |
| 3bd20 | 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 61 6e 63 68 6f | (or.(org-element-property.:ancho |
| 3bd40 | 72 2d 70 72 65 66 69 78 20 65 6c 29 20 3b 73 65 74 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 73 | r-prefix.el).;set.in.`org-hugo-s |
| 3bd60 | 72 63 2d 62 6c 6f 63 6b 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rc-block'....................... |
| 3bd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 64 72 20 28 6f 72 67 2d 68 | .....................(cdr.(org-h |
| 3bda0 | 75 67 6f 2d 2d 67 65 74 2d 63 6f 64 65 72 65 66 2d 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 65 | ugo--get-coderef-anchor-prefix.e |
| 3bdc0 | 6c 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 | l))))).....................(setq |
| 3bde0 | 20 72 65 66 2d 69 6e 66 6f 20 28 70 6c 69 73 74 2d 70 75 74 20 72 65 66 2d 69 6e 66 6f 20 3a 61 | .ref-info.(plist-put.ref-info.:a |
| 3be00 | 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 29 29 29 29 0a 20 | nchor-prefix.anchor-prefix)))).. |
| 3be20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 2d 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 | ...............ref-info))))..... |
| 3be40 | 20 20 20 20 69 6e 66 6f 20 27 66 69 72 73 74 2d 6d 61 74 63 68 29 0a 20 20 20 20 20 20 28 73 69 | ....info.'first-match).......(si |
| 3be60 | 67 6e 61 6c 20 27 6f 72 67 2d 6c 69 6e 6b 2d 62 72 6f 6b 65 6e 20 28 6c 69 73 74 20 72 65 66 29 | gnal.'org-link-broken.(list.ref) |
| 3be80 | 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 6d 6f 64 65 2d 6c | )))..(defun.org-hugo--org-mode-l |
| 3bea0 | 69 67 68 74 20 28 29 0a 20 20 22 45 6e 61 62 6c 65 20 73 65 74 20 63 75 72 72 65 6e 74 20 62 75 | ight.()..."Enable.set.current.bu |
| 3bec0 | 66 66 65 72 27 73 20 60 6d 61 6a 6f 72 2d 6d 6f 64 65 27 20 74 6f 20 60 6f 72 67 2d 6d 6f 64 65 | ffer's.`major-mode'.to.`org-mode |
| 3bee0 | 27 20 71 75 69 63 6b 6c 79 2e 0a 0a 49 74 20 69 73 20 6e 65 63 65 73 73 61 72 79 20 66 6f 72 20 | '.quickly...It.is.necessary.for. |
| 3bf00 | 74 68 65 20 60 6d 61 6a 6f 72 2d 6d 6f 64 65 27 20 74 6f 20 62 65 20 60 6f 72 67 2d 6d 6f 64 65 | the.`major-mode'.to.be.`org-mode |
| 3bf20 | 27 20 66 6f 72 20 6d 61 6e 79 0a 66 75 6e 63 74 69 6f 6e 73 20 6c 69 6b 65 20 60 6f 72 67 2d 6c | '.for.many.functions.like.`org-l |
| 3bf40 | 69 6e 6b 2d 73 65 61 72 63 68 27 2e 22 0a 20 20 28 75 6e 6c 65 73 73 20 28 64 65 72 69 76 65 64 | ink-search'."...(unless.(derived |
| 3bf60 | 2d 6d 6f 64 65 2d 70 20 27 6f 72 67 2d 6d 6f 64 65 29 0a 20 20 20 20 28 6c 65 74 20 28 28 69 6e | -mode-p.'org-mode).....(let.((in |
| 3bf80 | 68 69 62 69 74 2d 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2d 68 6f 6f 6b 73 20 74 29 0a 20 20 20 20 | hibit-modification-hooks.t)..... |
| 3bfa0 | 20 20 20 20 20 20 28 6f 72 67 2d 6d 6f 64 65 2d 68 6f 6f 6b 20 6e 69 6c 29 20 20 20 3b 44 6f 6e | ......(org-mode-hook.nil)...;Don |
| 3bfc0 | 27 74 20 72 75 6e 20 61 6e 79 20 4f 72 67 20 6d 6f 64 65 20 68 6f 6f 6b 20 66 75 6e 63 74 69 6f | 't.run.any.Org.mode.hook.functio |
| 3bfe0 | 6e 73 0a 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 69 6e 68 69 62 69 74 2d 73 74 61 72 74 75 | ns...........(org-inhibit-startu |
| 3c000 | 70 20 74 29 29 20 3b 44 6f 6e 27 74 20 72 75 6e 20 61 6e 79 20 4f 72 67 20 62 75 66 66 65 72 20 | p.t)).;Don't.run.any.Org.buffer. |
| 3c020 | 73 74 61 72 74 75 70 20 66 75 6e 63 74 69 6f 6e 73 0a 20 20 20 20 20 20 28 6f 72 67 2d 6d 6f 64 | startup.functions.......(org-mod |
| 3c040 | 65 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 | e))))..(defun.org-hugo--get-anch |
| 3c060 | 6f 72 2d 61 74 2d 70 6f 69 6e 74 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 61 6e 63 | or-at-point.(info)..."Return.anc |
| 3c080 | 68 6f 72 20 73 74 72 69 6e 67 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 | hor.string.based.on.the.current. |
| 3c0a0 | 70 6f 69 6e 74 2e 0a 0a 49 66 20 70 6f 69 6e 74 20 69 73 20 69 6e 20 61 20 60 68 65 61 64 6c 69 | point...If.point.is.in.a.`headli |
| 3c0c0 | 6e 65 27 20 65 6c 65 6d 65 6e 74 2c 20 64 65 72 69 76 65 20 74 68 65 20 61 6e 63 68 6f 72 20 75 | ne'.element,.derive.the.anchor.u |
| 3c0e0 | 73 69 6e 67 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 27 2e 0a 0a 4f 74 | sing.`org-hugo--get-anchor'...Ot |
| 3c100 | 68 65 72 77 69 73 65 2c 20 69 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 6f 69 6e 74 20 68 61 | herwise,.if.the.current.point.ha |
| 3c120 | 73 20 61 6e 20 4f 72 67 20 74 61 72 67 65 74 2c 20 67 65 74 20 74 68 65 20 74 61 72 67 65 74 0a | s.an.Org.target,.get.the.target. |
| 3c140 | 61 6e 63 68 6f 72 2e 0a 0a 49 66 20 63 75 72 72 65 6e 74 20 65 6c 65 6d 65 6e 74 20 68 61 73 20 | anchor...If.current.element.has. |
| 3c160 | 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 70 72 6f 70 65 72 74 79 2c 20 72 65 | `:EXPORT_FILE_NAME'.property,.re |
| 3c180 | 74 75 72 6e 20 74 68 65 0a 61 6e 63 68 6f 72 20 61 73 2d 69 73 2c 20 6f 74 68 65 72 77 69 73 65 | turn.the.anchor.as-is,.otherwise |
| 3c1a0 | 20 70 72 65 66 69 78 20 74 68 65 20 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 20 77 69 74 68 20 5c | .prefix.the.anchor.string.with.\ |
| 3c1c0 | 22 23 5c 22 2e 0a 0a 52 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 69 66 | "#\"...Return.an.empty.string.if |
| 3c1e0 | 20 61 6e 20 61 6e 63 68 6f 72 20 63 61 6e 6e 6f 74 20 62 65 20 64 65 72 69 76 65 64 2e 0a 0a 49 | .an.anchor.cannot.be.derived...I |
| 3c200 | 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 | NFO.is.a.plist.used.as.a.communi |
| 3c220 | 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 20 28 28 65 6c 65 6d 20 28 | cation.channel."...(let.((elem.( |
| 3c240 | 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 74 2d 70 6f 69 6e 74 29 29 0a 20 20 20 20 20 20 20 20 28 | org-element-at-point)).........( |
| 3c260 | 61 6e 63 68 6f 72 20 22 22 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 65 71 75 | anchor."")).....(cond......((equ |
| 3c280 | 61 6c 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 65 6d 29 20 27 68 65 61 64 | al.(org-element-type.elem).'head |
| 3c2a0 | 6c 69 6e 65 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 61 6e 63 68 6f 72 20 28 6f 72 67 2d 68 75 | line).......(setq.anchor.(org-hu |
| 3c2c0 | 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 20 65 6c 65 6d 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 | go--get-anchor.elem.info)))..... |
| 3c2e0 | 20 28 74 0a 20 20 20 20 20 20 3b 3b 20 49 66 20 63 75 72 72 65 6e 74 20 70 6f 69 6e 74 20 68 61 | .(t.......;;.If.current.point.ha |
| 3c300 | 73 20 61 6e 20 4f 72 67 20 54 61 72 67 65 74 2c 20 67 65 74 20 74 68 65 20 74 61 72 67 65 74 20 | s.an.Org.Target,.get.the.target. |
| 3c320 | 61 6e 63 68 6f 72 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 61 72 67 65 74 2d 65 6c 65 6d | anchor........(let.((target-elem |
| 3c340 | 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 61 72 67 65 74 2d 70 61 72 73 65 72 29 29 29 0a 20 | .(org-element-target-parser))).. |
| 3c360 | 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 | .......(when.(equal.(org-element |
| 3c380 | 2d 74 79 70 65 20 74 61 72 67 65 74 2d 65 6c 65 6d 29 20 27 74 61 72 67 65 74 29 0a 20 20 20 20 | -type.target-elem).'target)..... |
| 3c3a0 | 20 20 20 20 20 20 28 73 65 74 71 20 61 6e 63 68 6f 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 | ......(setq.anchor.(org-blackfri |
| 3c3c0 | 64 61 79 2d 2d 67 65 74 2d 74 61 72 67 65 74 2d 61 6e 63 68 6f 72 20 74 61 72 67 65 74 2d 65 6c | day--get-target-anchor.target-el |
| 3c3e0 | 65 6d 29 29 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e | em)))))).....(when.(org-string-n |
| 3c400 | 77 2d 70 20 61 6e 63 68 6f 72 29 0a 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 65 6c 65 6d | w-p.anchor).......;;.If.the.elem |
| 3c420 | 65 6e 74 20 68 61 73 20 74 68 65 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 | ent.has.the.`:EXPORT_FILE_NAME'. |
| 3c440 | 69 74 27 73 20 6e 6f 74 20 61 0a 20 20 20 20 20 20 3b 3b 20 73 75 62 2d 68 65 61 64 69 6e 67 2c | it's.not.a.......;;.sub-heading, |
| 3c460 | 20 62 75 74 20 74 68 65 20 73 75 62 74 72 65 65 27 73 20 6d 61 69 6e 20 68 65 61 64 69 6e 67 2e | .but.the.subtree's.main.heading. |
| 3c480 | 20 20 44 6f 6e 27 74 20 70 72 65 66 69 78 0a 20 20 20 20 20 20 3b 3b 20 74 68 65 20 22 23 22 20 | ..Don't.prefix.......;;.the."#". |
| 3c4a0 | 69 6e 20 74 68 61 74 20 63 61 73 65 2e 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 67 | in.that.case........(unless.(org |
| 3c4c0 | 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 6f 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 | -export-get-node-property.:EXPOR |
| 3c4e0 | 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 65 6c 65 6d 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 28 73 | T_FILE_NAME.elem.nil).........(s |
| 3c500 | 65 74 71 20 61 6e 63 68 6f 72 20 28 66 6f 72 6d 61 74 20 22 23 25 73 22 20 61 6e 63 68 6f 72 29 | etq.anchor.(format."#%s".anchor) |
| 3c520 | 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 20 61 6e 64 | ))).....;;.(message."[search.and |
| 3c540 | 20 67 65 74 20 61 6e 63 68 6f 72 20 44 42 47 5d 20 61 6e 63 68 6f 72 3a 20 25 53 22 20 61 6e 63 | .get.anchor.DBG].anchor:.%S".anc |
| 3c560 | 68 6f 72 29 0a 20 20 20 20 61 6e 63 68 6f 72 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 | hor).....anchor))..(defun.org-hu |
| 3c580 | 67 6f 2d 2d 73 65 61 72 63 68 2d 61 6e 64 2d 67 65 74 2d 61 6e 63 68 6f 72 20 28 6f 72 67 2d 66 | go--search-and-get-anchor.(org-f |
| 3c5a0 | 69 6c 65 20 73 65 61 72 63 68 2d 73 74 72 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 48 | ile.search-str.info)..."Return.H |
| 3c5c0 | 54 4d 4c 20 61 6e 63 68 6f 72 20 66 6f 72 20 74 68 65 20 70 6f 69 6e 74 20 77 68 65 72 65 20 53 | TML.anchor.for.the.point.where.S |
| 3c5e0 | 45 41 52 43 48 2d 53 54 52 20 69 73 20 66 6f 75 6e 64 20 69 6e 20 4f 52 47 2d 46 49 4c 45 2e 0a | EARCH-STR.is.found.in.ORG-FILE.. |
| 3c600 | 0a 4f 52 47 2d 46 49 4c 45 20 69 73 20 74 68 65 20 66 69 6c 65 20 70 61 74 68 20 69 6e 20 77 68 | .ORG-FILE.is.the.file.path.in.wh |
| 3c620 | 69 63 68 20 74 68 65 20 53 45 41 52 43 48 2d 53 54 52 20 69 73 20 74 6f 20 62 65 20 73 65 61 72 | ich.the.SEARCH-STR.is.to.be.sear |
| 3c640 | 63 68 65 64 2e 0a 0a 53 45 41 52 43 48 2d 53 54 52 20 6e 65 65 64 73 20 74 6f 20 62 65 20 61 20 | ched...SEARCH-STR.needs.to.be.a. |
| 3c660 | 6e 6f 6e 2d 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 20 20 45 78 61 6d 70 6c 65 20 76 61 6c 75 65 | non-empty.string...Example.value |
| 3c680 | 73 3a 20 5c 22 2a 0a 53 6f 6d 65 20 68 65 61 64 69 6e 67 5c 22 2c 20 5c 22 23 73 6f 6d 65 5f 63 | s:.\"*.Some.heading\",.\"#some_c |
| 3c6a0 | 75 73 74 6f 6d 5f 69 64 5c 22 2e 0a 0a 49 66 20 74 68 65 20 73 65 61 72 63 68 20 66 61 69 6c 73 | ustom_id\"...If.the.search.fails |
| 3c6c0 | 2c 20 72 65 74 75 72 6e 20 5c 22 5c 22 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 | ,.return.\"\"...INFO.is.a.plist. |
| 3c6e0 | 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e | used.as.a.communication.channel. |
| 3c700 | 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 20 61 6e 64 20 67 65 74 | "...;;.(message."[search.and.get |
| 3c720 | 20 61 6e 63 68 6f 72 20 44 42 47 5d 20 6f 72 67 2d 66 69 6c 65 3a 20 25 53 22 20 6f 72 67 2d 66 | .anchor.DBG].org-file:.%S".org-f |
| 3c740 | 69 6c 65 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 20 61 6e 64 20 | ile)...;;.(message."[search.and. |
| 3c760 | 67 65 74 20 61 6e 63 68 6f 72 20 44 42 47 5d 20 73 65 61 72 63 68 2d 73 74 72 3a 20 25 53 22 20 | get.anchor.DBG].search-str:.%S". |
| 3c780 | 73 65 61 72 63 68 2d 73 74 72 29 0a 20 20 28 6c 65 74 20 28 28 62 75 66 66 65 72 20 28 67 65 74 | search-str)...(let.((buffer.(get |
| 3c7a0 | 2d 66 69 6c 65 2d 62 75 66 66 65 72 20 6f 72 67 2d 66 69 6c 65 29 29 29 20 3b 6e 69 6c 20 69 66 | -file-buffer.org-file))).;nil.if |
| 3c7c0 | 20 60 6f 72 67 2d 66 69 6c 65 27 20 62 75 66 66 65 72 20 69 73 20 6e 6f 74 20 61 6c 72 65 61 64 | .`org-file'.buffer.is.not.alread |
| 3c7e0 | 79 20 6f 70 65 6e 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 66 69 6c 65 2d 65 78 69 73 74 73 2d | y.open.....(unless.(file-exists- |
| 3c800 | 70 20 6f 72 67 2d 66 69 6c 65 29 0a 20 20 20 20 20 20 28 65 72 72 6f 72 20 22 5b 6f 72 67 2d 68 | p.org-file).......(error."[org-h |
| 3c820 | 75 67 6f 2d 2d 73 65 61 72 63 68 2d 61 6e 64 2d 67 65 74 2d 61 6e 63 68 6f 72 5d 20 55 6e 61 62 | ugo--search-and-get-anchor].Unab |
| 3c840 | 6c 65 20 74 6f 20 6f 70 65 6e 20 4f 72 67 20 66 69 6c 65 20 60 25 73 27 22 20 6f 72 67 2d 66 69 | le.to.open.Org.file.`%s'".org-fi |
| 3c860 | 6c 65 29 29 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 28 66 | le)).....(with-current-buffer.(f |
| 3c880 | 69 6e 64 2d 66 69 6c 65 2d 6e 6f 73 65 6c 65 63 74 20 6f 72 67 2d 66 69 6c 65 29 0a 20 20 20 20 | ind-file-noselect.org-file)..... |
| 3c8a0 | 20 20 28 75 6e 6c 65 73 73 20 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 28 61 64 64 2d 74 6f | ..(unless.buffer.........(add-to |
| 3c8c0 | 2d 6c 69 73 74 20 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 70 65 6e 65 64 2d 62 75 66 66 65 72 73 20 | -list.'org-hugo--opened-buffers. |
| 3c8e0 | 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 | (current-buffer))).......;;.`org |
| 3c900 | 2d 6d 6f 64 65 27 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6c 6f 61 64 65 64 20 66 6f 72 20 60 6f | -mode'.needs.to.be.loaded.for.`o |
| 3c920 | 72 67 2d 6c 69 6e 6b 2d 73 65 61 72 63 68 27 20 74 6f 20 77 6f 72 6b 0a 20 20 20 20 20 20 3b 3b | rg-link-search'.to.work.......;; |
| 3c940 | 20 63 6f 72 72 65 63 74 6c 79 2e 20 4f 74 68 65 72 77 69 73 65 20 60 6f 72 67 2d 6c 69 6e 6b 2d | .correctly..Otherwise.`org-link- |
| 3c960 | 73 65 61 72 63 68 27 20 72 65 74 75 72 6e 73 20 73 74 61 72 74 69 6e 67 0a 20 20 20 20 20 20 3b | search'.returns.starting.......; |
| 3c980 | 3b 20 70 6f 69 6e 74 73 20 66 6f 72 20 69 6e 63 6f 72 72 65 63 74 20 73 75 62 74 72 65 65 73 2e | ;.points.for.incorrect.subtrees. |
| 3c9a0 | 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 6d 6f 64 65 2d 6c 69 67 68 74 | .......(org-hugo--org-mode-light |
| 3c9c0 | 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e 6d | ).......(org-export-get-environm |
| 3c9e0 | 65 6e 74 29 20 3b 45 76 61 6c 20 23 2b 62 69 6e 64 20 6b 65 79 77 6f 72 64 73 2c 20 65 74 63 2e | ent).;Eval.#+bind.keywords,.etc. |
| 3ca00 | 0a 20 20 20 20 20 20 28 6f 72 67 2d 6c 69 6e 6b 2d 73 65 61 72 63 68 20 73 65 61 72 63 68 2d 73 | .......(org-link-search.search-s |
| 3ca20 | 74 72 29 20 3b 54 68 69 73 20 69 73 20 65 78 74 72 61 63 74 65 64 20 66 72 6f 6d 20 74 68 65 20 | tr).;This.is.extracted.from.the. |
| 3ca40 | 60 6f 72 67 2d 6f 70 65 6e 2d 66 69 6c 65 27 20 66 75 6e 63 74 69 6f 6e 2e 0a 20 20 20 20 20 20 | `org-open-file'.function........ |
| 3ca60 | 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 2d 61 74 2d 70 6f 69 6e 74 20 69 | (org-hugo--get-anchor-at-point.i |
| 3ca80 | 6e 66 6f 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 28 6c | nfo))))..(defun.org-hugo-link.(l |
| 3caa0 | 69 6e 6b 20 64 65 73 63 20 69 6e 66 6f 29 0a 20 20 22 43 6f 6e 76 65 72 74 20 4c 49 4e 4b 20 74 | ink.desc.info)..."Convert.LINK.t |
| 3cac0 | 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 0a 44 45 53 43 20 69 73 20 74 68 65 20 | o.Markdown.format...DESC.is.the. |
| 3cae0 | 6c 69 6e 6b 27 73 20 64 65 73 63 72 69 70 74 69 6f 6e 2e 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c | link's.description..INFO.is.a.pl |
| 3cb00 | 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e | ist.used.as.a.communication.chan |
| 3cb20 | 6e 65 6c 2e 0a 0a 55 6e 6c 69 6b 65 20 60 6f 72 67 2d 6d 64 2d 6c 69 6e 6b 27 2c 20 74 68 69 73 | nel...Unlike.`org-md-link',.this |
| 3cb40 | 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 61 6c 73 6f 20 63 6f 70 79 20 6c 6f 63 61 6c 20 69 | .function.will.also.copy.local.i |
| 3cb60 | 6d 61 67 65 73 0a 61 6e 64 20 72 65 77 72 69 74 65 20 6c 69 6e 6b 20 70 61 74 68 73 20 74 6f 20 | mages.and.rewrite.link.paths.to. |
| 3cb80 | 6d 61 6b 65 20 62 6c 6f 67 67 69 6e 67 20 6d 6f 72 65 20 73 65 61 6d 6c 65 73 73 2e 22 0a 20 20 | make.blogging.more.seamless."... |
| 3cba0 | 28 6c 65 74 2a 20 28 28 72 61 77 2d 6c 69 6e 6b 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 | (let*.((raw-link.(org-element-pr |
| 3cbc0 | 6f 70 65 72 74 79 20 3a 72 61 77 2d 6c 69 6e 6b 20 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 | operty.:raw-link.link))......... |
| 3cbe0 | 20 28 72 61 77 2d 70 61 74 68 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 | .(raw-path.(org-element-property |
| 3cc00 | 20 3a 70 61 74 68 20 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 79 70 65 20 28 6f 72 | .:path.link))..........(type.(or |
| 3cc20 | 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 6c 69 6e 6b 29 29 0a | g-element-property.:type.link)). |
| 3cc40 | 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 2d 69 73 2d 75 72 6c 20 28 6d 65 6d 62 65 72 20 74 79 | .........(link-is-url.(member.ty |
| 3cc60 | 70 65 20 27 28 22 68 74 74 70 22 20 22 68 74 74 70 73 22 20 22 66 74 70 22 20 22 6d 61 69 6c 74 | pe.'("http"."https"."ftp"."mailt |
| 3cc80 | 6f 22 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 | o")))).....;;.(message."[org-hug |
| 3cca0 | 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 72 61 77 2d 70 61 74 68 20 31 3a 20 25 73 22 20 72 61 77 2d | o-link.DBG].raw-path.1:.%s".raw- |
| 3ccc0 | 70 61 74 68 29 0a 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 72 | path)......(when.(and.(stringp.r |
| 3cce0 | 61 77 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 6b 2d 69 73 2d | aw-path)................link-is- |
| 3cd00 | 75 72 6c 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 61 77 2d 70 61 74 68 20 28 6f 72 67 2d 62 | url).......(setq.raw-path.(org-b |
| 3cd20 | 6c 61 63 6b 66 72 69 64 61 79 2d 2d 75 72 6c 2d 73 61 6e 69 74 69 7a 65 2d 6d 61 79 62 65 0a 20 | lackfriday--url-sanitize-maybe.. |
| 3cd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 20 28 75 72 6c 2d 65 | .....................info.(url-e |
| 3cd60 | 6e 63 6f 64 65 2d 75 72 6c 20 72 61 77 2d 70 61 74 68 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d | ncode-url.raw-path)))).....;;.(m |
| 3cd80 | 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 72 61 77 2d | essage."[org-hugo-link.DBG].raw- |
| 3cda0 | 6c 69 6e 6b 3a 20 25 73 22 20 72 61 77 2d 6c 69 6e 6b 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 | link:.%s".raw-link).....;;.(mess |
| 3cdc0 | 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 72 61 77 2d 70 61 74 | age."[org-hugo-link.DBG].raw-pat |
| 3cde0 | 68 20 32 3a 20 25 73 22 20 72 61 77 2d 70 61 74 68 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 | h.2:.%s".raw-path).....;;.(messa |
| 3ce00 | 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 3a 20 25 53 | ge."[org-hugo-link.DBG].link:.%S |
| 3ce20 | 22 20 6c 69 6e 6b 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 | ".link).....;;.(message."[org-hu |
| 3ce40 | 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 20 74 79 70 65 3a 20 25 73 22 20 74 79 70 65 | go-link.DBG].link.type:.%s".type |
| 3ce60 | 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 3b 3b 20 4c 69 6e 6b 20 74 79 70 65 20 69 73 | ).....(cond......;;.Link.type.is |
| 3ce80 | 20 68 61 6e 64 6c 65 64 20 62 79 20 61 20 73 70 65 63 69 61 6c 20 66 75 6e 63 74 69 6f 6e 2e 0a | .handled.by.a.special.function.. |
| 3cea0 | 20 20 20 20 20 28 28 6f 72 67 2d 65 78 70 6f 72 74 2d 63 75 73 74 6f 6d 2d 70 72 6f 74 6f 63 6f | .....((org-export-custom-protoco |
| 3cec0 | 6c 2d 6d 61 79 62 65 20 6c 69 6e 6b 20 64 65 73 63 20 27 6d 64 20 69 6e 66 6f 29 29 0a 20 20 20 | l-maybe.link.desc.'md.info)).... |
| 3cee0 | 20 20 28 28 6d 65 6d 62 65 72 20 74 79 70 65 20 27 28 22 63 75 73 74 6f 6d 2d 69 64 22 20 22 69 | ..((member.type.'("custom-id"."i |
| 3cf00 | 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 66 75 7a 7a 79 22 29 | d"......................"fuzzy") |
| 3cf20 | 29 20 3b 3c 3c 74 61 72 67 65 74 3e 3e 2c 20 23 2b 6e 61 6d 65 2c 20 68 65 61 64 69 6e 67 20 6c | ).;<<target>>,.#+name,.heading.l |
| 3cf40 | 69 6e 6b 73 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 64 65 73 74 69 6e 61 74 69 6f 6e 20 28 69 | inks.......(let.((destination.(i |
| 3cf60 | 66 20 28 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 66 75 7a 7a 79 22 29 0a 20 20 20 20 20 20 20 | f.(string=.type."fuzzy")........ |
| 3cf80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 | ......................(org-expor |
| 3cfa0 | 74 2d 72 65 73 6f 6c 76 65 2d 66 75 7a 7a 79 2d 6c 69 6e 6b 20 6c 69 6e 6b 20 69 6e 66 6f 29 0a | t-resolve-fuzzy-link.link.info). |
| 3cfc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d | ...........................(org- |
| 3cfe0 | 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 2d 69 64 2d 6c 69 6e 6b 20 6c 69 6e 6b 20 69 6e 66 6f | export-resolve-id-link.link.info |
| 3d000 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 | )))).........;;.(message."[org-h |
| 3d020 | 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 20 74 79 70 65 3a 20 25 73 22 20 74 79 70 | ugo-link.DBG].link.type:.%s".typ |
| 3d040 | 65 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 | e).........;;.(message."[org-hug |
| 3d060 | 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 64 65 73 74 69 6e 61 74 69 6f 6e 3a 20 25 73 22 20 64 65 73 | o-link.DBG].destination:.%s".des |
| 3d080 | 74 69 6e 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | tination).........;;.(message."[ |
| 3d0a0 | 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 3a 20 25 53 22 20 6c 69 6e | org-hugo-link.DBG].link:.%S".lin |
| 3d0c0 | 6b 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 | k).........;;.(message."[org-hug |
| 3d0e0 | 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 65 6c 65 | o-link.DBG].link.destination.ele |
| 3d100 | 6d 20 74 79 70 65 3a 20 25 53 22 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 64 65 | m.type:.%S".(org-element-type.de |
| 3d120 | 73 74 69 6e 61 74 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 28 70 63 61 73 65 20 28 6f 72 67 2d | stination)).........(pcase.(org- |
| 3d140 | 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 | element-type.destination)....... |
| 3d160 | 20 20 20 20 3b 3b 20 45 78 74 65 72 6e 61 6c 20 66 69 6c 65 2e 0a 20 20 20 20 20 20 20 20 20 20 | ....;;.External.file............ |
| 3d180 | 28 60 70 6c 61 69 6e 2d 74 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 70 | (`plain-text............(let.((p |
| 3d1a0 | 61 74 68 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ath.(progn...................... |
| 3d1c0 | 20 20 20 20 3b 3b 20 54 72 65 61 74 20 6c 69 6e 6b 73 20 74 6f 20 60 66 69 6c 65 2e 6f 72 67 27 | ....;;.Treat.links.to.`file.org' |
| 3d1e0 | 20 61 73 20 6c 69 6e 6b 73 20 74 6f 20 60 66 69 6c 65 2e 6d 64 27 2e 0a 20 20 20 20 20 20 20 20 | .as.links.to.`file.md'.......... |
| 3d200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 22 2e | .................(if.(string=.". |
| 3d220 | 6f 72 67 22 20 28 64 6f 77 6e 63 61 73 65 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 65 78 74 65 6e 73 | org".(downcase.(file-name-extens |
| 3d240 | 69 6f 6e 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 22 2e 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 | ion.destination."."))).......... |
| 3d260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 66 69 6c | ....................(concat.(fil |
| 3d280 | 65 2d 6e 61 6d 65 2d 73 61 6e 73 2d 65 78 74 65 6e 73 69 6f 6e 20 64 65 73 74 69 6e 61 74 69 6f | e-name-sans-extension.destinatio |
| 3d2a0 | 6e 29 20 22 2e 6d 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n).".md")....................... |
| 3d2c0 | 20 20 20 20 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .....destination))))............ |
| 3d2e0 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 | ..;;.(message."[org-hugo-link.DB |
| 3d300 | 47 5d 20 70 6c 61 69 6e 2d 74 65 78 74 20 70 61 74 68 3a 20 25 73 22 20 70 61 74 68 29 0a 20 20 | G].plain-text.path:.%s".path)... |
| 3d320 | 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 67 2d 69 64 2d 66 69 6e 64 2d 69 64 2d 66 | ...........(if.(org-id-find-id-f |
| 3d340 | 69 6c 65 20 72 61 77 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ile.raw-path)..................( |
| 3d360 | 6c 65 74 2a 20 28 28 61 6e 63 68 6f 72 20 28 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 2d 2d 68 65 | let*.((anchor.(org-hugo-link--he |
| 3d380 | 61 64 69 6e 67 2d 61 6e 63 68 6f 72 2d 6d 61 79 62 65 20 6c 69 6e 6b 20 69 6e 66 6f 29 29 0a 20 | ading-anchor-maybe.link.info)).. |
| 3d3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 66 20 28 69 66 20 | .......................(ref.(if. |
| 3d3c0 | 28 61 6e 64 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 61 6e 63 68 6f 72 29 0a 20 20 | (and.(org-string-nw-p.anchor)... |
| 3d3e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3d400 | 20 20 20 20 28 6e 6f 74 20 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 20 22 23 22 20 61 6e | ....(not.(string-prefix-p."#".an |
| 3d420 | 63 68 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | chor)))......................... |
| 3d440 | 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 22 61 6e 63 68 6f 72 22 20 64 6f 65 73 | .........;;.If.the."anchor".does |
| 3d460 | 6e 27 74 20 62 65 67 69 6e 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n't.begin.with.................. |
| 3d480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 23 22 2c 20 69 74 27 73 20 61 20 64 | ................;;."#",.it's.a.d |
| 3d4a0 | 69 72 65 63 74 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 | irect.reference.to.a............ |
| 3d4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 6f 73 74 20 73 75 | ......................;;.post.su |
| 3d4e0 | 62 74 72 65 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | btree........................... |
| 3d500 | 20 20 20 20 20 20 20 20 61 6e 63 68 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........anchor.................. |
| 3d520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 70 61 74 68 20 61 6e 63 68 6f | ..............(concat.path.ancho |
| 3d540 | 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | r))))....................;;.(mes |
| 3d560 | 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 70 6c 61 69 6e 2d | sage."[org-hugo-link.DBG].plain- |
| 3d580 | 74 65 78 74 20 6f 72 67 2d 69 64 20 61 6e 63 68 6f 72 3a 20 25 53 22 20 61 6e 63 68 6f 72 29 0a | text.org-id.anchor:.%S".anchor). |
| 3d5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d | ...................(format."[%s] |
| 3d5c0 | 28 7b 7b 3c 20 72 65 6c 72 65 66 20 5c 22 25 73 5c 22 20 3e 7d 7d 29 22 20 28 6f 72 20 64 65 73 | ({{<.relref.\"%s\".>}})".(or.des |
| 3d5e0 | 63 20 70 61 74 68 29 20 72 65 66 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 | c.path).ref))................(if |
| 3d600 | 20 64 65 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 | .desc....................(format |
| 3d620 | 20 22 5b 25 73 5d 28 25 73 29 22 20 64 65 73 63 20 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 | ."[%s](%s)".desc.path).......... |
| 3d640 | 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 25 73 3e 22 20 70 61 74 68 29 29 29 29 29 | ........(format."<%s>".path))))) |
| 3d660 | 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4c 69 6e 6b 73 20 6f 66 20 74 79 70 65 20 5b 5b 2a 20 | ...........;;.Links.of.type.[[*. |
| 3d680 | 53 6f 6d 65 20 68 65 61 64 69 6e 67 5d 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 28 60 68 65 61 64 | Some.heading]]............(`head |
| 3d6a0 | 6c 69 6e 65 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 69 74 6c 65 20 28 6f 72 | line............(let.((title.(or |
| 3d6c0 | 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 | g-export-data.(org-element-prope |
| 3d6e0 | 72 74 79 20 3a 74 69 74 6c 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 20 69 6e 66 6f 29 29 29 0a | rty.:title.destination).info))). |
| 3d700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 | .............(format............ |
| 3d720 | 20 20 20 22 5b 25 73 5d 28 23 25 73 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | ..."[%s](#%s)"...............;;. |
| 3d740 | 44 65 73 63 72 69 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 20 | Description...............(cond. |
| 3d760 | 28 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 64 65 73 63 29 29 0a 20 20 20 20 20 20 20 | ((org-string-nw-p.desc))........ |
| 3d780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6f 72 67 2d 65 78 70 6f 72 74 2d 6e 75 6d 62 65 72 | .............((org-export-number |
| 3d7a0 | 65 64 2d 68 65 61 64 6c 69 6e 65 2d 70 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 29 0a | ed-headline-p.destination.info). |
| 3d7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 | .....................(mapconcat. |
| 3d7e0 | 23 27 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | #'number-to-string.............. |
| 3d800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 | ...................(org-export-g |
| 3d820 | 65 74 2d 68 65 61 64 6c 69 6e 65 2d 6e 75 6d 62 65 72 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 | et-headline-number.destination.i |
| 3d840 | 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nfo)............................ |
| 3d860 | 20 20 20 20 20 22 2e 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | .....".")).....................( |
| 3d880 | 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 29 29 0a 20 | t......................title)).. |
| 3d8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 66 65 72 65 6e 63 65 0a 20 20 20 20 20 20 | .............;;.Reference....... |
| 3d8c0 | 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 20 64 65 | ........(org-hugo--get-anchor.de |
| 3d8e0 | 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | stination.info))))...........;;. |
| 3d900 | 4c 69 6e 6b 73 20 74 6f 20 6f 74 68 65 72 20 4f 72 67 20 65 6c 65 6d 65 6e 74 73 20 6c 69 6b 65 | Links.to.other.Org.elements.like |
| 3d920 | 20 73 6f 75 72 63 65 20 62 6c 6f 63 6b 73 2c 20 74 61 62 6c 65 73 2c 0a 20 20 20 20 20 20 20 20 | .source.blocks,.tables,......... |
| 3d940 | 20 20 3b 3b 20 70 61 72 61 67 72 61 70 68 73 2c 20 73 74 61 6e 64 61 6c 6f 6e 65 20 66 69 67 75 | ..;;.paragraphs,.standalone.figu |
| 3d960 | 72 65 73 2c 20 3c 3c 74 61 72 67 65 74 3e 3e 20 6c 69 6e 6b 73 2c 20 65 74 63 2e 0a 20 20 20 20 | res,.<<target>>.links,.etc...... |
| 3d980 | 20 20 20 20 20 20 28 5f 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 64 65 73 63 72 | ......(_............(let.((descr |
| 3d9a0 | 69 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6f 72 | iption...................(or.(or |
| 3d9c0 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 64 65 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | g-string-nw-p.desc)............. |
| 3d9e0 | 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6e 75 6d 62 65 72 20 28 6f 72 67 2d 65 78 70 | ..........(let.((number.(org-exp |
| 3da00 | 6f 72 74 2d 67 65 74 2d 6f 72 64 69 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ort-get-ordinal................. |
| 3da20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 73 74 69 6e 61 74 69 6f 6e | .....................destination |
| 3da40 | 20 69 6e 66 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .info........................... |
| 3da60 | 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 20 23 27 6f 72 67 2d 68 74 6d 6c 2d 2d 68 61 73 2d 63 | ...........nil.#'org-html--has-c |
| 3da80 | 61 70 74 69 6f 6e 2d 70 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aption-p)))..................... |
| 3daa0 | 20 20 20 20 28 77 68 65 6e 20 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....(when.number................ |
| 3dac0 | 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6e 75 6d 2d 73 74 72 20 28 69 66 20 28 61 | ...........(let.((num-str.(if.(a |
| 3dae0 | 74 6f 6d 20 6e 75 6d 62 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tom.number)..................... |
| 3db00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6d 62 65 72 | .........................(number |
| 3db20 | 2d 74 6f 2d 73 74 72 69 6e 67 20 6e 75 6d 62 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | -to-string.number).............. |
| 3db40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d | ..............................(m |
| 3db60 | 61 70 63 6f 6e 63 61 74 20 23 27 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 6e 75 6d 62 | apconcat.#'number-to-string.numb |
| 3db80 | 65 72 20 22 2e 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er."."))))...................... |
| 3dba0 | 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 | .......;;.(message."[org-hugo-li |
| 3dbc0 | 6e 6b 20 44 42 47 5d 20 6e 75 6d 2d 73 74 72 3a 20 25 73 22 20 6e 75 6d 2d 73 74 72 29 0a 20 20 | nk.DBG].num-str:.%s".num-str)... |
| 3dbe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 6f 72 | ..........................(if.or |
| 3dc00 | 67 2d 68 75 67 6f 2d 6c 69 6e 6b 2d 64 65 73 63 2d 69 6e 73 65 72 74 2d 74 79 70 65 0a 20 20 20 | g-hugo-link-desc-insert-type.... |
| 3dc20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 | .............................(le |
| 3dc40 | 74 2a 20 28 28 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 64 65 73 74 | t*.((type.(org-element-type.dest |
| 3dc60 | 69 6e 61 74 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ination))....................... |
| 3dc80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4f 72 67 20 64 6f 65 73 6e 27 74 20 | .................;;.Org.doesn't. |
| 3dca0 | 68 61 76 65 20 61 20 73 70 65 63 69 66 69 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | have.a.specific................. |
| 3dcc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 6c 65 6d 65 6e | .......................;;.elemen |
| 3dce0 | 74 20 66 6f 72 20 66 69 67 75 72 65 73 2e 20 53 6f 20 69 66 0a 20 20 20 20 20 20 20 20 20 20 20 | t.for.figures..So.if............ |
| 3dd00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 | ............................;;.t |
| 3dd20 | 68 65 20 65 6c 65 6d 65 6e 74 20 69 73 20 60 70 61 72 61 67 72 61 70 68 27 2c 0a 20 20 20 20 20 | he.element.is.`paragraph',...... |
| 3dd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3dd60 | 20 20 3b 3b 20 61 6e 64 20 61 73 20 74 68 69 73 20 65 6c 65 6d 65 6e 74 20 68 61 73 20 61 6e 0a | ..;;.and.as.this.element.has.an. |
| 3dd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3dda0 | 20 20 20 20 20 20 20 3b 3b 20 6f 72 64 69 6e 61 6c 2c 20 77 65 20 77 69 6c 6c 20 61 73 73 75 6d | .......;;.ordinal,.we.will.assum |
| 3ddc0 | 65 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.that.......................... |
| 3dde0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 6f 20 62 65 20 61 20 66 69 67 75 72 65 2e | ..............;;.to.be.a.figure. |
| 3de00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3de20 | 20 20 20 20 20 20 20 20 28 74 79 70 65 20 28 69 66 20 28 65 71 75 61 6c 20 27 70 61 72 61 67 72 | ........(type.(if.(equal.'paragr |
| 3de40 | 61 70 68 20 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aph.type)....................... |
| 3de60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 66 69 67 75 | ...........................'figu |
| 3de80 | 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | re.............................. |
| 3dea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 | ..................type))........ |
| 3dec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3dee0 | 28 74 79 70 65 2d 73 74 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 74 72 61 6e | (type-str.(org-blackfriday--tran |
| 3df00 | 73 6c 61 74 65 20 74 79 70 65 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | slate.type.info))).............. |
| 3df20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 | .....................(format."%s |
| 3df40 | 20 25 73 22 20 74 79 70 65 2d 73 74 72 20 6e 75 6d 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 | .%s".type-str.num-str))......... |
| 3df60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6d 2d 73 74 72 29 29 29 | ......................num-str))) |
| 3df80 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | ))))..............;;.(message."[ |
| 3dfa0 | 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 20 64 65 73 63 72 69 70 74 | org-hugo-link.DBG].link.descript |
| 3dfc0 | 69 6f 6e 3a 20 25 73 22 20 64 65 73 63 72 69 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 | ion:.%s".description)........... |
| 3dfe0 | 20 20 20 28 77 68 65 6e 20 64 65 73 63 72 69 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 | ...(when.description............ |
| 3e000 | 20 20 20 20 28 6c 65 74 20 28 28 64 65 73 74 2d 6c 69 6e 6b 20 28 63 6f 6e 64 0a 20 20 20 20 20 | ....(let.((dest-link.(cond...... |
| 3e020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 | ............................;;.R |
| 3e040 | 65 66 20 74 6f 20 61 20 73 6f 75 72 63 65 20 62 6c 6f 63 6b 20 6f 72 20 74 61 62 6c 65 2e 0a 20 | ef.to.a.source.block.or.table... |
| 3e060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3e080 | 28 28 6d 65 6d 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 64 65 73 74 69 6e 61 | ((memq.(org-element-type.destina |
| 3e0a0 | 74 69 6f 6e 29 20 27 28 73 72 63 2d 62 6c 6f 63 6b 20 74 61 62 6c 65 29 29 0a 20 20 20 20 20 20 | tion).'(src-block.table))....... |
| 3e0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | ............................(org |
| 3e0e0 | 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 64 65 73 74 | -blackfriday--get-reference.dest |
| 3e100 | 69 6e 61 74 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ination))....................... |
| 3e120 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 66 20 74 6f 20 61 20 73 74 61 6e 64 61 6c 6f 6e | ...........;;.Ref.to.a.standalon |
| 3e140 | 65 20 66 69 67 75 72 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.figure........................ |
| 3e160 | 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 6f 72 67 2d 68 74 6d 6c 2d 73 74 61 6e 64 | ...........((and.(org-html-stand |
| 3e180 | 61 6c 6f 6e 65 2d 69 6d 61 67 65 2d 70 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 29 0a | alone-image-p.destination.info). |
| 3e1a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3e1c0 | 20 20 20 20 20 20 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 64 65 73 | .......(eq.(org-element-type.des |
| 3e1e0 | 74 69 6e 61 74 69 6f 6e 29 20 27 70 61 72 61 67 72 61 70 68 29 29 0a 20 20 20 20 20 20 20 20 20 | tination).'paragraph)).......... |
| 3e200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 | .........................(let.(( |
| 3e220 | 66 69 67 75 72 65 2d 72 65 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 | figure-ref.(org-blackfriday--get |
| 3e240 | 2d 72 65 66 65 72 65 6e 63 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 29 29 0a 20 20 20 20 20 20 | -reference.destination)))....... |
| 3e260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 | ..............................(i |
| 3e280 | 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 66 69 67 75 72 65 2d 72 65 66 29 0a 20 | f.(org-string-nw-p.figure-ref).. |
| 3e2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3e2c0 | 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 | .......(replace-regexp-in-string |
| 3e2e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3e300 | 20 20 20 20 20 20 20 20 20 20 22 5c 5c 60 6f 72 67 2d 70 61 72 61 67 72 61 70 68 2d 2d 22 0a 20 | .........."\\`org-paragraph--".. |
| 3e320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3e340 | 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 | ........(org-blackfriday--get-re |
| 3e360 | 66 2d 70 72 65 66 69 78 20 27 66 69 67 75 72 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | f-prefix.'figure)............... |
| 3e380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 67 75 72 | ...........................figur |
| 3e3a0 | 65 2d 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e-ref).......................... |
| 3e3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 66 | .............(org-export-get-ref |
| 3e3e0 | 65 72 65 6e 63 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 | erence.destination.info))))..... |
| 3e400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | .............................;;. |
| 3e420 | 52 65 66 20 74 6f 20 61 20 3c 3c 74 61 72 67 65 74 3e 3e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | Ref.to.a.<<target>>............. |
| 3e440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 20 28 6f 72 67 2d | ......................((eq.(org- |
| 3e460 | 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 20 27 74 61 72 67 65 | element-type.destination).'targe |
| 3e480 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t).............................. |
| 3e4a0 | 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 74 61 72 67 65 | .....(org-blackfriday--get-targe |
| 3e4c0 | 74 2d 61 6e 63 68 6f 72 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 | t-anchor.destination)).......... |
| 3e4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 66 20 74 | ........................;;.Ref.t |
| 3e500 | 6f 20 61 6c 6c 20 6f 74 68 65 72 20 6c 69 6e 6b 20 64 65 73 74 69 6e 61 74 69 6f 6e 73 2e 0a 20 | o.all.other.link.destinations... |
| 3e520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3e540 | 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (t.............................. |
| 3e560 | 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 64 | .....(org-export-get-reference.d |
| 3e580 | 65 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | estination.info)))))............ |
| 3e5a0 | 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 28 23 25 73 29 22 20 64 65 73 63 72 69 | ......(format."[%s](#%s)".descri |
| 3e5c0 | 70 74 69 6f 6e 20 64 65 73 74 2d 6c 69 6e 6b 29 29 29 29 29 29 29 29 0a 20 20 20 20 20 28 28 6f | ption.dest-link))))))))......((o |
| 3e5e0 | 72 67 2d 65 78 70 6f 72 74 2d 69 6e 6c 69 6e 65 2d 69 6d 61 67 65 2d 70 20 6c 69 6e 6b 20 6f 72 | rg-export-inline-image-p.link.or |
| 3e600 | 67 2d 68 74 6d 6c 2d 69 6e 6c 69 6e 65 2d 69 6d 61 67 65 2d 72 75 6c 65 73 29 0a 20 20 20 20 20 | g-html-inline-image-rules)...... |
| 3e620 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 | .;;.(message."[org-hugo-link.DBG |
| 3e640 | 5d 20 70 72 6f 63 65 73 73 69 6e 67 20 61 6e 20 69 6d 61 67 65 3a 20 25 73 22 20 64 65 73 63 29 | ].processing.an.image:.%s".desc) |
| 3e660 | 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 61 72 65 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 | .......(let*.((parent.(org-expor |
| 3e680 | 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | t-get-parent.link))............. |
| 3e6a0 | 20 28 70 61 72 65 6e 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 | .(parent-type.(org-element-type. |
| 3e6c0 | 70 61 72 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 69 73 | parent))..............;;.If.this |
| 3e6e0 | 20 69 73 20 61 20 68 79 70 65 72 2d 6c 69 6e 6b 65 64 20 69 6d 61 67 65 2c 20 69 74 27 73 20 70 | .is.a.hyper-linked.image,.it's.p |
| 3e700 | 61 72 65 6e 74 20 74 79 70 65 20 77 69 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | arent.type.will..............;;. |
| 3e720 | 62 65 20 61 20 6c 69 6e 6b 20 74 6f 6f 2e 20 47 65 74 20 74 68 65 20 70 61 72 65 6e 74 20 6f 66 | be.a.link.too..Get.the.parent.of |
| 3e740 | 20 2a 74 68 61 74 2a 20 6c 69 6e 6b 20 69 6e 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 | .*that*.link.in.that............ |
| 3e760 | 20 20 3b 3b 20 63 61 73 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 72 61 6e 64 2d 70 | ..;;.case...............(grand-p |
| 3e780 | 61 72 65 6e 74 20 28 77 68 65 6e 20 28 65 71 20 70 61 72 65 6e 74 2d 74 79 70 65 20 27 6c 69 6e | arent.(when.(eq.parent-type.'lin |
| 3e7a0 | 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k).............................. |
| 3e7c0 | 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 70 61 72 65 6e 74 29 29 29 | (org-export-get-parent.parent))) |
| 3e7e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 66 75 6c 2d 70 61 72 65 6e 74 20 28 69 66 | ..............(useful-parent.(if |
| 3e800 | 20 67 72 61 6e 64 2d 70 61 72 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .grand-parent................... |
| 3e820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 72 61 6e 64 2d 70 61 72 65 6e 74 0a 20 20 20 20 20 | ..............grand-parent...... |
| 3e840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 29 | .........................parent) |
| 3e860 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 74 74 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 | )..............(attr.(org-export |
| 3e880 | 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 75 73 65 66 75 | -read-attribute.:attr_html.usefu |
| 3e8a0 | 6c 2d 70 61 72 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e | l-parent))..............(caption |
| 3e8c0 | 20 28 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 | .(or........................;;.C |
| 3e8e0 | 61 70 74 69 6f 6e 20 73 65 74 20 75 73 69 6e 67 20 23 2b 63 61 70 74 69 6f 6e 20 74 61 6b 65 73 | aption.set.using.#+caption.takes |
| 3e900 | 20 68 69 67 68 65 72 20 70 72 65 63 65 64 65 6e 63 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .higher.precedence.............. |
| 3e920 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 0a 20 20 20 20 | ...........(org-string-nw-p..... |
| 3e940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d | ....................(org-export- |
| 3e960 | 64 61 74 61 20 20 3b 4c 6f 6f 6b 20 66 6f 72 20 63 61 70 74 69 6f 6e 20 73 65 74 20 75 73 69 6e | data..;Look.for.caption.set.usin |
| 3e980 | 67 20 23 2b 63 61 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g.#+caption..................... |
| 3e9a0 | 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 63 61 70 74 69 6f 6e 20 28 6f 72 | .....(org-export-get-caption.(or |
| 3e9c0 | 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e 74 20 6c 69 6e 6b | g-export-get-parent-element.link |
| 3e9e0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f | ))..........................info |
| 3ea00 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 | ))........................(plist |
| 3ea20 | 2d 67 65 74 20 61 74 74 72 20 3a 63 61 70 74 69 6f 6e 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | -get.attr.:caption)))........... |
| 3ea40 | 20 20 20 28 63 61 70 74 69 6f 6e 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 | ...(caption.(when.(org-string-nw |
| 3ea60 | 2d 70 20 63 61 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -p.caption)..................... |
| 3ea80 | 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 | ....(format."%s%s%s%s".......... |
| 3eaa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 73 70 61 6e 20 63 6c | ......................."<span.cl |
| 3eac0 | 61 73 73 3d 5c 22 66 69 67 75 72 65 2d 6e 75 6d 62 65 72 5c 22 3e 22 0a 20 20 20 20 20 20 20 20 | ass=\"figure-number\">"......... |
| 3eae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 | ........................(format. |
| 3eb00 | 28 6f 72 67 2d 68 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 | (org-html--translate............ |
| 3eb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 | ..............................(c |
| 3eb40 | 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oncat........................... |
| 3eb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 64 72 20 28 61 73 73 6f 63 20 27 66 69 67 | ................(cdr.(assoc.'fig |
| 3eb80 | 75 72 65 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6f 72 67 2d 65 6c 65 6d 65 6e 74 | ure.org-blackfriday--org-element |
| 3eba0 | 2d 73 74 72 69 6e 67 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -string))....................... |
| 3ebc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 25 64 3a 22 29 0a 20 20 20 20 | ....................".%d:")..... |
| 3ebe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3ec00 | 20 20 20 20 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....info)...................... |
| 3ec20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 | ...................(org-export-g |
| 3ec40 | 65 74 2d 6f 72 64 69 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | et-ordinal...................... |
| 3ec60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 65 66 75 6c 2d 70 61 72 65 6e | ....................useful-paren |
| 3ec80 | 74 20 69 6e 66 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.info.......................... |
| 3eca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 20 23 27 6f 72 67 2d 68 74 6d 6c 2d 2d | ................nil.#'org-html-- |
| 3ecc0 | 68 61 73 2d 63 61 70 74 69 6f 6e 2d 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | has-caption-p))................. |
| 3ece0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 3c 2f 73 70 61 6e 3e 22 0a 20 20 20 20 20 | ................".</span>"...... |
| 3ed00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 70 74 69 | ...........................capti |
| 3ed20 | 6f 6e 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 78 74 65 6e 73 69 6f 6e 20 28 66 | on)))..............(extension.(f |
| 3ed40 | 69 6c 65 2d 6e 61 6d 65 2d 65 78 74 65 6e 73 69 6f 6e 20 72 61 77 2d 70 61 74 68 29 29 0a 20 20 | ile-name-extension.raw-path))... |
| 3ed60 | 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 6c 69 6e 65 64 2d 73 76 67 20 28 61 6e 64 20 28 73 74 | ...........(inlined-svg.(and.(st |
| 3ed80 | 72 69 6e 67 70 20 65 78 74 65 6e 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ringp.extension)................ |
| 3eda0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 73 76 67 22 20 28 | ................(string=."svg".( |
| 3edc0 | 64 6f 77 6e 63 61 73 65 20 65 78 74 65 6e 73 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | downcase.extension))............ |
| 3ede0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 61 | ....................(plist-get.a |
| 3ee00 | 74 74 72 20 3a 69 6e 6c 69 6e 65 64 29 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | ttr.:inlined)))).........;;.(mes |
| 3ee20 | 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 49 6e 6c 69 6e 65 | sage."[org-hugo-link.DBG].Inline |
| 3ee40 | 20 69 6d 61 67 65 3a 20 25 73 2c 20 65 78 74 65 6e 73 69 6f 6e 3a 20 25 73 22 20 72 61 77 2d 70 | .image:.%s,.extension:.%s".raw-p |
| 3ee60 | 61 74 68 20 65 78 74 65 6e 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 | ath.extension).........;;.(messa |
| 3ee80 | 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 69 6e 6c 69 6e 65 64 20 | ge."[org-hugo-link.DBG].inlined. |
| 3eea0 | 73 76 67 3f 20 25 53 22 20 69 6e 6c 69 6e 65 64 2d 73 76 67 29 0a 20 20 20 20 20 20 20 20 3b 3b | svg?.%S".inlined-svg).........;; |
| 3eec0 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 63 | .(message."[org-hugo-link.DBG].c |
| 3eee0 | 61 70 74 69 6f 6e 3a 20 25 73 22 20 63 61 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 28 69 66 | aption:.%s".caption).........(if |
| 3ef00 | 20 69 6e 6c 69 6e 65 64 2d 73 76 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 | .inlined-svg.............(let*.( |
| 3ef20 | 28 73 76 67 2d 63 6f 6e 74 65 6e 74 73 20 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a | (svg-contents.(with-temp-buffer. |
| 3ef40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3ef60 | 20 20 20 28 69 6e 73 65 72 74 2d 66 69 6c 65 2d 63 6f 6e 74 65 6e 74 73 20 72 61 77 2d 70 61 74 | ...(insert-file-contents.raw-pat |
| 3ef80 | 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | h).............................. |
| 3efa0 | 20 20 20 20 20 20 28 66 69 6c 6c 2d 72 65 67 69 6f 6e 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 28 | ......(fill-region.(point-min).( |
| 3efc0 | 70 6f 69 6e 74 2d 6d 61 78 29 29 20 3b 4d 61 6b 65 20 68 75 67 65 20 6f 6e 65 2d 6c 69 6e 65 72 | point-max)).;Make.huge.one-liner |
| 3efe0 | 20 53 56 47 73 20 73 61 6e 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .SVGs.sane...................... |
| 3f000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 75 66 66 65 72 2d 73 75 62 73 74 72 69 6e 67 2d | ..............(buffer-substring- |
| 3f020 | 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 28 70 6f 69 6e 74 | no-properties.(point-min).(point |
| 3f040 | 2d 6d 61 78 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 76 67 | -max))))....................(svg |
| 3f060 | 2d 63 6f 6e 74 65 6e 74 73 2d 73 61 6e 69 74 69 7a 65 64 20 28 72 65 70 6c 61 63 65 2d 72 65 67 | -contents-sanitized.(replace-reg |
| 3f080 | 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | exp-in-string................... |
| 3f0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d | ..........................;;.Rem |
| 3f0c0 | 6f 76 65 20 74 68 65 20 48 54 4d 4c 20 63 6f 6d 6d 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 20 20 | ove.the.HTML.comments........... |
| 3f0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3f100 | 20 20 20 22 3c 21 2d 2d 5c 5c 28 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 3f 2d 2d 3e 22 20 22 22 0a 20 20 | ..."<!--\\(.\\|\n\\)*?-->".""... |
| 3f120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3f140 | 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 | ..........(replace-regexp-in-str |
| 3f160 | 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing............................. |
| 3f180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 74 68 65 20 78 | .................;;.Remove.the.x |
| 3f1a0 | 6d 6c 20 64 6f 63 75 6d 65 6e 74 20 74 61 67 20 61 73 20 74 68 61 74 20 63 61 6e 6e 6f 74 20 62 | ml.document.tag.as.that.cannot.b |
| 3f1c0 | 65 20 69 6e 6c 69 6e 65 64 20 69 6e 2d 62 65 74 77 65 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 | e.inlined.in-between............ |
| 3f1e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3f200 | 20 20 3b 3b 20 61 20 4d 61 72 6b 64 6f 77 6e 20 28 6f 72 20 65 76 65 6e 20 61 6e 20 48 54 4d 4c | ..;;.a.Markdown.(or.even.an.HTML |
| 3f220 | 29 20 66 69 6c 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ).file.......................... |
| 3f240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 5c 5c 3f 78 6d 6c 20 76 65 | ....................."<\\?xml.ve |
| 3f260 | 72 73 69 6f 6e 3d 5c 22 31 5c 5c 2e 30 5c 22 20 65 6e 63 6f 64 69 6e 67 3d 5c 22 55 54 46 2d 38 | rsion=\"1\\.0\".encoding=\"UTF-8 |
| 3f280 | 5c 22 20 73 74 61 6e 64 61 6c 6f 6e 65 3d 5c 22 6e 6f 5c 22 5c 5c 3f 3e 22 20 22 22 0a 20 20 20 | \".standalone=\"no\"\\?>"."".... |
| 3f2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3f2c0 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 21 44 4f 43 54 59 50 45 20 74 61 67 | ..........;;.Remove.!DOCTYPE.tag |
| 3f2e0 | 20 66 72 6f 6d 20 74 68 65 20 69 6e 6c 69 6e 65 64 20 53 56 47 2e 0a 20 20 20 20 20 20 20 20 20 | .from.the.inlined.SVG........... |
| 3f300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3f320 | 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 | ....(replace-regexp-in-string... |
| 3f340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3f360 | 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 21 44 4f 43 54 59 50 45 20 73 76 67 5b 5e 3e 5d 2b 3e | ............"<!DOCTYPE.svg[^>]+> |
| 3f380 | 22 20 22 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".""............................ |
| 3f3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 76 67 2d 63 6f 6e 74 65 6e 74 73 29 | ...................svg-contents) |
| 3f3c0 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 76 67 2d 68 74 6d 6c | )))....................(svg-html |
| 3f3e0 | 20 28 69 66 20 63 61 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(if.caption.................... |
| 3f400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 66 69 67 75 72 65 3e 5c | ..............(format."<figure>\ |
| 3f420 | 6e 25 73 5c 6e 3c 66 69 67 63 61 70 74 69 6f 6e 3e 5c 6e 5c 6e 20 20 25 73 5c 6e 3c 2f 66 69 67 | n%s\n<figcaption>\n\n..%s\n</fig |
| 3f440 | 63 61 70 74 69 6f 6e 3e 5c 6e 3c 2f 66 69 67 75 72 65 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 | caption>\n</figure>"............ |
| 3f460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 76 | ..............................sv |
| 3f480 | 67 2d 63 6f 6e 74 65 6e 74 73 2d 73 61 6e 69 74 69 7a 65 64 20 63 61 70 74 69 6f 6e 29 0a 20 20 | g-contents-sanitized.caption)... |
| 3f4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 76 67 | .............................svg |
| 3f4c0 | 2d 63 6f 6e 74 65 6e 74 73 2d 73 61 6e 69 74 69 7a 65 64 29 29 29 0a 20 20 20 20 20 20 20 20 20 | -contents-sanitized))).......... |
| 3f4e0 | 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b | .....;;.(message."[org-hugo-link |
| 3f500 | 20 44 42 47 5d 20 73 76 67 20 63 6f 6e 74 65 6e 74 73 3a 20 25 73 22 20 73 76 67 2d 63 6f 6e 74 | .DBG].svg.contents:.%s".svg-cont |
| 3f520 | 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | ents)...............;;.(message. |
| 3f540 | 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 73 76 67 20 63 6f 6e 74 65 6e 74 | "[org-hugo-link.DBG].svg.content |
| 3f560 | 73 20 73 61 6e 69 74 69 7a 65 64 3a 20 25 73 22 20 73 76 67 2d 63 6f 6e 74 65 6e 74 73 2d 73 61 | s.sanitized:.%s".svg-contents-sa |
| 3f580 | 6e 69 74 69 7a 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 76 67 2d 68 74 6d 6c 29 | nitized)...............svg-html) |
| 3f5a0 | 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 61 74 68 20 28 6f 72 67 2d 68 75 67 | ...........(let*.((path.(org-hug |
| 3f5c0 | 6f 2d 2d 61 74 74 61 63 68 6d 65 6e 74 2d 72 65 77 72 69 74 65 2d 6d 61 79 62 65 20 72 61 77 2d | o--attachment-rewrite-maybe.raw- |
| 3f5e0 | 70 61 74 68 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e | path.info))..................(in |
| 3f600 | 6c 69 6e 65 2d 69 6d 61 67 65 20 28 6e 6f 74 20 28 6f 72 67 2d 68 74 6d 6c 2d 73 74 61 6e 64 61 | line-image.(not.(org-html-standa |
| 3f620 | 6c 6f 6e 65 2d 69 6d 61 67 65 2d 70 20 75 73 65 66 75 6c 2d 70 61 72 65 6e 74 20 69 6e 66 6f 29 | lone-image-p.useful-parent.info) |
| 3f640 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 6f 75 72 63 65 20 28 69 66 20 | ))..................(source.(if. |
| 3f660 | 6c 69 6e 6b 2d 69 73 2d 75 72 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | link-is-url..................... |
| 3f680 | 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 74 79 70 65 20 22 3a 22 20 70 61 74 68 29 0a | .........(concat.type.":".path). |
| 3f6a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 74 68 29 | ...........................path) |
| 3f6c0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6d 2d 61 74 74 72 20 28 2f 20 | )..................(num-attr.(/. |
| 3f6e0 | 28 6c 65 6e 67 74 68 20 61 74 74 72 29 20 32 29 29 20 3b 28 3a 61 6c 74 20 66 6f 6f 29 20 2d 3e | (length.attr).2)).;(:alt.foo).-> |
| 3f700 | 20 6e 75 6d 2d 61 74 74 72 20 3d 20 31 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | .num-attr.=.1..................( |
| 3f720 | 61 6c 74 2d 74 65 78 74 20 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 61 6c 74 29 29 29 | alt-text.(plist-get.attr.:alt))) |
| 3f740 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 | .............;;.(message."[org-h |
| 3f760 | 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 70 61 74 68 3a 20 25 73 22 20 70 61 74 68 29 0a 20 20 | ugo-link.DBG].path:.%s".path)... |
| 3f780 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f | ..........;;.(message."[org-hugo |
| 3f7a0 | 2d 6c 69 6e 6b 20 44 42 47 5d 20 69 6e 6c 69 6e 65 20 69 6d 61 67 65 3f 20 25 73 22 20 69 6e 6c | -link.DBG].inline.image?.%s".inl |
| 3f7c0 | 69 6e 65 2d 69 6d 61 67 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 | ine-image).............;;.(messa |
| 3f7e0 | 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 61 74 74 72 3a 20 25 73 | ge."[org-hugo-link.DBG].attr:.%s |
| 3f800 | 20 6e 75 6d 20 6f 66 20 61 74 74 72 3a 20 25 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | .num.of.attr:.%d".............;; |
| 3f820 | 20 20 20 20 20 20 20 20 20 20 61 74 74 72 20 28 6c 65 6e 67 74 68 20 61 74 74 72 29 29 0a 20 20 | ..........attr.(length.attr))... |
| 3f840 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f | ..........;;.(message."[org-hugo |
| 3f860 | 2d 6c 69 6e 6b 20 44 42 47 5d 20 70 61 72 65 6e 74 2d 74 79 70 65 3a 20 25 73 22 20 70 61 72 65 | -link.DBG].parent-type:.%s".pare |
| 3f880 | 6e 74 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 | nt-type).............;;.(message |
| 3f8a0 | 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 75 73 65 66 75 6c 2d 70 61 72 | ."[org-hugo-link.DBG].useful-par |
| 3f8c0 | 65 6e 74 2d 74 79 70 65 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 | ent-type:.%s".............;;.... |
| 3f8e0 | 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 75 73 65 66 75 6c 2d 70 | ......(org-element-type.useful-p |
| 3f900 | 61 72 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 | arent)).............(cond....... |
| 3f920 | 20 20 20 20 20 20 20 28 3b 3b 20 55 73 65 20 74 68 65 20 4d 61 72 6b 64 6f 77 6e 20 69 6d 61 67 | .......(;;.Use.the.Markdown.imag |
| 3f940 | 65 20 73 79 6e 74 61 78 20 69 66 20 74 68 65 20 69 6d 61 67 65 20 69 73 20 69 6e 6c 69 6e 65 20 | e.syntax.if.the.image.is.inline. |
| 3f960 | 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 65 72 65 20 61 72 65 20 6e | and...............;;.there.are.n |
| 3f980 | 6f 20 48 54 4d 4c 20 61 74 74 72 69 62 75 74 65 73 20 66 6f 72 20 74 68 65 20 69 6d 61 67 65 2c | o.HTML.attributes.for.the.image, |
| 3f9a0 | 20 6f 72 20 6a 75 73 74 20 6f 6e 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 74 | .or.just.one...............;;.at |
| 3f9c0 | 74 72 69 62 75 74 65 2c 20 74 68 65 20 60 61 6c 74 2d 74 65 78 74 27 2e 0a 20 20 20 20 20 20 20 | tribute,.the.`alt-text'......... |
| 3f9e0 | 20 20 20 20 20 20 20 28 61 6e 64 20 69 6e 6c 69 6e 65 2d 69 6d 61 67 65 0a 20 20 20 20 20 20 20 | .......(and.inline-image........ |
| 3fa00 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 3d 20 30 20 6e 75 6d 2d 61 74 74 72 29 0a 20 | ............(or.(=.0.num-attr).. |
| 3fa20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 61 6c 74 2d 74 | ......................(and.alt-t |
| 3fa40 | 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ext............................. |
| 3fa60 | 28 3d 20 31 20 6e 75 6d 2d 61 74 74 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (=.1.num-attr))))............... |
| 3fa80 | 28 6c 65 74 20 28 28 61 6c 74 2d 74 65 78 74 20 28 69 66 20 61 6c 74 2d 74 65 78 74 0a 20 20 20 | (let.((alt-text.(if.alt-text.... |
| 3faa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | ...............................a |
| 3fac0 | 6c 74 2d 74 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lt-text......................... |
| 3fae0 | 20 20 20 20 20 20 20 20 22 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 | ........""))).................(f |
| 3fb00 | 6f 72 6d 61 74 20 22 21 5b 25 73 5d 28 25 73 29 22 20 61 6c 74 2d 74 65 78 74 20 73 6f 75 72 63 | ormat."".alt-text.sourc |
| 3fb20 | 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3b 3b 20 45 6c 73 65 20 69 66 20 74 68 | e)))..............(;;.Else.if.th |
| 3fb40 | 65 20 69 6d 61 67 65 20 69 73 20 69 6e 6c 69 6e 65 20 28 77 69 74 68 20 6e 6f 6e 2d 61 6c 74 2d | e.image.is.inline.(with.non-alt- |
| 3fb60 | 74 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 74 74 72 69 62 75 74 65 73 | text...............;;.attributes |
| 3fb80 | 29 2c 20 75 73 65 20 48 54 4d 4c 20 3c 69 6d 67 3e 20 74 61 67 20 73 79 6e 74 61 78 2e 0a 20 20 | ),.use.HTML.<img>.tag.syntax.... |
| 3fba0 | 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 6c 69 6e 65 2d 69 6d 61 67 65 0a 20 20 20 20 20 20 20 | ............inline-image........ |
| 3fbc0 | 20 20 20 20 20 20 20 3b 3b 20 54 68 65 20 22 74 61 72 67 65 74 22 20 61 6e 64 20 22 72 65 6c 22 | .......;;.The."target".and."rel" |
| 3fbe0 | 20 61 74 74 72 69 62 75 74 65 73 20 77 6f 75 6c 64 20 62 65 20 6d 65 61 6e 74 20 66 6f 72 20 3c | .attributes.would.be.meant.for.< |
| 3fc00 | 61 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 61 67 73 2e 20 53 6f 20 64 6f 20 | a>...............;;.tags..So.do. |
| 3fc20 | 6e 6f 74 20 70 61 73 73 20 74 68 65 6d 20 74 6f 20 74 68 65 20 3c 69 6d 67 3e 20 74 61 67 2e 0a | not.pass.them.to.the.<img>.tag.. |
| 3fc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 20 3a 74 | ..............(plist-put.attr.:t |
| 3fc60 | 61 72 67 65 74 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d | arget.nil)...............(plist- |
| 3fc80 | 70 75 74 20 61 74 74 72 20 3a 72 65 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | put.attr.:rel.nil).............. |
| 3fca0 | 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 66 6f 72 6d 61 74 2d 69 6d 61 67 65 20 73 6f 75 72 63 65 20 | .(org-html--format-image.source. |
| 3fcc0 | 61 74 74 72 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 20 3b 45 6c 73 | attr.info))..............(t.;Els |
| 3fce0 | 65 20 75 73 65 20 74 68 65 20 48 75 67 6f 20 60 66 69 67 75 72 65 27 20 73 68 6f 72 74 63 6f 64 | e.use.the.Hugo.`figure'.shortcod |
| 3fd00 | 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 48 75 67 6f 20 60 66 69 67 75 72 65 | e................;;.Hugo.`figure |
| 3fd20 | 27 20 73 68 6f 72 74 63 6f 64 65 20 6e 61 6d 65 64 20 70 61 72 61 6d 65 74 65 72 73 2e 0a 20 20 | '.shortcode.named.parameters.... |
| 3fd40 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f | ............;;.https://gohugo.io |
| 3fd60 | 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 73 68 6f 72 74 63 6f 64 65 73 2f 23 | /content-management/shortcodes/# |
| 3fd80 | 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 69 67 75 | figure...............(let.((figu |
| 3fda0 | 72 65 2d 70 61 72 61 6d 73 20 60 28 28 73 72 63 20 2e 20 2c 73 6f 75 72 63 65 29 0a 20 20 20 20 | re-params.`((src...,source)..... |
| 3fdc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3fde0 | 20 28 61 6c 74 20 2e 20 2c 61 6c 74 2d 74 65 78 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(alt...,alt-text).............. |
| 3fe00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e | ........................(caption |
| 3fe20 | 20 2e 20 2c 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 61 70 74 69 | ...,(when.(org-string-nw-p.capti |
| 3fe40 | 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | on)............................. |
| 3fe60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d | .......................(replace- |
| 3fe80 | 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 22 22 20 22 5c 5c 5c 5c 5c 5c 26 22 20 | regexp-in-string."\""."\\\\\\&". |
| 3fea0 | 63 61 70 74 69 6f 6e 29 29 29 20 3b 45 73 63 61 70 65 20 74 68 65 20 64 6f 75 62 6c 65 2d 71 75 | caption))).;Escape.the.double-qu |
| 3fec0 | 6f 74 65 73 2c 20 69 66 20 61 6e 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | otes,.if.any.................... |
| 3fee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 20 2e 20 2c 28 70 6c 69 | ...................(link...,(pli |
| 3ff00 | 73 74 2d 67 65 74 20 61 74 74 72 20 3a 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | st-get.attr.:link))............. |
| 3ff20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 20 | .........................(title. |
| 3ff40 | 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 74 69 74 6c 65 29 29 0a 20 20 20 20 | ..,(plist-get.attr.:title))..... |
| 3ff60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 3ff80 | 20 28 63 6c 61 73 73 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 63 6c 61 73 | .(class...,(plist-get.attr.:clas |
| 3ffa0 | 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s))............................. |
| 3ffc0 | 20 20 20 20 20 20 20 20 20 28 61 74 74 72 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 | .........(attr...,(plist-get.att |
| 3ffe0 | 72 20 3a 61 74 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.:attr))....................... |
| 40000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 74 74 72 6c 69 6e 6b 20 2e 20 2c 28 70 6c 69 | ...............(attrlink...,(pli |
| 40020 | 73 74 2d 67 65 74 20 61 74 74 72 20 3a 61 74 74 72 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 | st-get.attr.:attrlink))......... |
| 40040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 | .............................(wi |
| 40060 | 64 74 68 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 77 69 64 74 68 29 29 0a | dth...,(plist-get.attr.:width)). |
| 40080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 400a0 | 20 20 20 20 20 28 68 65 69 67 68 74 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 | .....(height...,(plist-get.attr. |
| 400c0 | 3a 68 65 69 67 68 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :height))....................... |
| 400e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 57 68 69 6c 65 20 74 68 65 20 60 74 61 72 | ...............;;.While.the.`tar |
| 40100 | 67 65 74 27 20 61 6e 64 20 60 72 65 6c 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | get'.and.`rel'.................. |
| 40120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 74 74 72 69 62 75 74 65 | ....................;;.attribute |
| 40140 | 73 20 61 72 65 20 6e 6f 74 20 73 75 70 70 6f 72 74 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 20 | s.are.not.supported.by.......... |
| 40160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 | ............................;;.t |
| 40180 | 68 65 20 69 6e 62 75 69 6c 74 20 48 75 67 6f 20 60 66 69 67 75 72 65 27 0a 20 20 20 20 20 20 20 | he.inbuilt.Hugo.`figure'........ |
| 401a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | ..............................;; |
| 401c0 | 20 73 68 6f 72 74 63 6f 64 65 2c 20 74 68 65 79 20 63 61 6e 20 62 65 20 75 73 65 64 20 61 73 0a | .shortcode,.they.can.be.used.as. |
| 401e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 40200 | 20 20 20 20 20 3b 3b 20 69 6e 74 65 6e 64 65 64 20 69 66 20 61 20 75 73 65 72 20 68 61 73 20 61 | .....;;.intended.if.a.user.has.a |
| 40220 | 20 63 75 73 74 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .custom......................... |
| 40240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 60 66 69 67 75 72 65 27 20 73 68 6f 72 74 63 6f | .............;;.`figure'.shortco |
| 40260 | 64 65 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | de.with.the..................... |
| 40280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 70 70 6f 72 74 20 61 64 64 65 | .................;;.support.adde |
| 402a0 | 64 20 66 6f 72 20 74 68 6f 73 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.for.those..................... |
| 402c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 72 67 65 74 20 2e 20 2c 28 70 6c | ..................(target...,(pl |
| 402e0 | 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 74 61 72 67 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 | ist-get.attr.:target)).......... |
| 40300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 6c | ............................(rel |
| 40320 | 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 72 65 6c 29 29 29 29 0a 20 20 20 | ...,(plist-get.attr.:rel)))).... |
| 40340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 67 75 72 65 2d 70 61 72 61 6d 2d 73 | .................(figure-param-s |
| 40360 | 74 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 | tr."")).................(dolist. |
| 40380 | 28 70 61 72 61 6d 20 66 69 67 75 72 65 2d 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 | (param.figure-params)........... |
| 403a0 | 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6e 61 6d 65 20 28 63 61 72 20 70 61 72 61 6d 29 29 | ........(let.((name.(car.param)) |
| 403c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 61 6c 20 28 63 | .........................(val.(c |
| 403e0 | 64 72 20 70 61 72 61 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dr.param)))..................... |
| 40400 | 28 77 68 65 6e 20 76 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (when.val....................... |
| 40420 | 28 73 65 74 71 20 66 69 67 75 72 65 2d 70 61 72 61 6d 2d 73 74 72 20 28 63 6f 6e 63 61 74 20 66 | (setq.figure-param-str.(concat.f |
| 40440 | 69 67 75 72 65 2d 70 61 72 61 6d 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | igure-param-str................. |
| 40460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 40480 | 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 3d 5c 22 25 73 5c 22 20 22 0a 20 20 20 20 20 20 | .....(format."%s=\"%s\"."....... |
| 404a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 404c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 20 76 61 6c 29 | .......................name.val) |
| 404e0 | 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | ))))).................;;.(messag |
| 40500 | 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 66 69 67 75 72 65 20 70 61 | e."[org-hugo-link.DBG].figure.pa |
| 40520 | 72 61 6d 73 3a 20 25 73 22 20 66 69 67 75 72 65 2d 70 61 72 61 6d 2d 73 74 72 29 0a 20 20 20 20 | rams:.%s".figure-param-str)..... |
| 40540 | 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 7b 7b 3c 20 66 69 67 75 72 65 20 | ............(format."{{<.figure. |
| 40560 | 25 73 20 3e 7d 7d 22 20 28 6f 72 67 2d 74 72 69 6d 20 66 69 67 75 72 65 2d 70 61 72 61 6d 2d 73 | %s.>}}".(org-trim.figure-param-s |
| 40580 | 74 72 29 29 29 29 29 29 29 29 29 0a 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 74 79 70 65 20 | tr)))))))))......((string=.type. |
| 405a0 | 22 63 6f 64 65 72 65 66 22 29 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 65 66 2d 6c 61 62 | "coderef").......(let*.((ref-lab |
| 405c0 | 65 6c 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 70 61 74 68 20 6c | el.(org-element-property.:path.l |
| 405e0 | 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 66 2d 69 6e 66 6f 20 28 6f 72 | ink))..............(ref-info.(or |
| 40600 | 67 2d 68 75 67 6f 2d 6c 69 6e 6b 2d 2d 72 65 73 6f 6c 76 65 2d 63 6f 64 65 72 65 66 20 72 65 66 | g-hugo-link--resolve-coderef.ref |
| 40620 | 2d 6c 61 62 65 6c 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 73 63 | -label.info))..............(desc |
| 40640 | 20 28 66 6f 72 6d 61 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 63 6f 64 65 72 65 66 | .(format.(org-export-get-coderef |
| 40660 | 2d 66 6f 72 6d 61 74 20 72 65 66 2d 6c 61 62 65 6c 20 64 65 73 63 29 0a 20 20 20 20 20 20 20 20 | -format.ref-label.desc)......... |
| 40680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 72 65 | ...................(plist-get.re |
| 406a0 | 66 2d 69 6e 66 6f 20 3a 72 65 66 29 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 | f-info.:ref)))).........;;.(mess |
| 406c0 | 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 63 6f 64 65 72 65 66 | age."[org-hugo-link.DBG].coderef |
| 406e0 | 20 72 65 66 20 6c 61 62 65 6c 3a 20 25 73 22 20 72 65 66 2d 6c 61 62 65 6c 29 0a 20 20 20 20 20 | .ref.label:.%s".ref-label)...... |
| 40700 | 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 | ...;;.(message."[org-hugo-link.D |
| 40720 | 42 47 5d 20 63 6f 64 65 72 65 66 20 72 65 66 20 73 74 72 3a 20 25 73 22 20 28 70 6c 69 73 74 2d | BG].coderef.ref.str:.%s".(plist- |
| 40740 | 67 65 74 20 72 65 66 2d 69 6e 66 6f 20 3a 72 65 66 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 | get.ref-info.:ref)).........;;.( |
| 40760 | 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 63 6f 64 | message."[org-hugo-link.DBG].cod |
| 40780 | 65 72 65 66 20 61 6e 63 68 6f 72 20 70 72 65 66 69 78 3a 20 25 73 22 20 28 70 6c 69 73 74 2d 67 | eref.anchor.prefix:.%s".(plist-g |
| 407a0 | 65 74 20 72 65 66 2d 69 6e 66 6f 20 3a 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 29 29 0a 20 20 20 | et.ref-info.:anchor-prefix)).... |
| 407c0 | 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b | .....;;.(message."[org-hugo-link |
| 407e0 | 20 44 42 47 5d 20 63 6f 64 65 72 65 66 20 6c 69 6e 65 20 6e 75 6d 3a 20 25 73 22 20 28 70 6c 69 | .DBG].coderef.line.num:.%s".(pli |
| 40800 | 73 74 2d 67 65 74 20 72 65 66 2d 69 6e 66 6f 20 3a 6c 69 6e 65 2d 6e 75 6d 29 29 0a 20 20 20 20 | st-get.ref-info.:line-num))..... |
| 40820 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 | ....;;.(message."[org-hugo-link. |
| 40840 | 44 42 47 5d 20 63 6f 64 65 72 65 66 20 64 65 73 63 3a 20 25 73 22 20 64 65 73 63 29 0a 20 20 20 | DBG].coderef.desc:.%s".desc).... |
| 40860 | 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 28 23 25 73 2d 25 73 29 22 0a 20 20 20 20 | .....(format."[%s](#%s-%s)"..... |
| 40880 | 20 20 20 20 20 20 20 20 20 20 20 20 64 65 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ............desc................ |
| 408a0 | 20 28 70 6c 69 73 74 2d 67 65 74 20 72 65 66 2d 69 6e 66 6f 20 3a 61 6e 63 68 6f 72 2d 70 72 65 | .(plist-get.ref-info.:anchor-pre |
| 408c0 | 66 69 78 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 | fix).................(plist-get. |
| 408e0 | 72 65 66 2d 69 6e 66 6f 20 3a 6c 69 6e 65 2d 6e 75 6d 29 29 29 29 0a 20 20 20 20 20 28 28 73 74 | ref-info.:line-num))))......((st |
| 40900 | 72 69 6e 67 3d 20 74 79 70 65 20 22 72 61 64 69 6f 22 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 | ring=.type."radio").......(let.( |
| 40920 | 28 64 65 73 74 69 6e 61 74 69 6f 6e 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 | (destination.(org-export-resolve |
| 40940 | 2d 72 61 64 69 6f 2d 6c 69 6e 6b 20 6c 69 6e 6b 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 | -radio-link.link.info)))........ |
| 40960 | 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 28 23 25 73 25 73 29 22 0a 20 20 20 20 20 20 20 20 20 | .(format."[%s](#%s%s)".......... |
| 40980 | 20 20 20 20 20 20 20 64 65 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | .......desc.................(org |
| 409a0 | 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 20 27 72 61 | -blackfriday--get-ref-prefix.'ra |
| 409c0 | 64 69 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 | dio).................(org-blackf |
| 409e0 | 72 69 64 61 79 2d 2d 76 61 6c 69 64 2d 68 74 6d 6c 2d 61 6e 63 68 6f 72 2d 6e 61 6d 65 0a 20 20 | riday--valid-html-anchor-name... |
| 40a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 | ...............(org-element-prop |
| 40a20 | 65 72 74 79 20 3a 76 61 6c 75 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 29 29 29 29 0a 20 20 20 | erty.:value.destination))))).... |
| 40a40 | 20 20 28 74 20 3b 5b 5b 66 69 6c 65 3a 66 6f 6f 2e 70 6e 67 5d 5d 2c 20 5b 5b 66 69 6c 65 3a 66 | ..(t.;[[file:foo.png]],.[[file:f |
| 40a60 | 6f 6f 2e 6f 72 67 3a 3a 2a 20 48 65 61 64 69 6e 67 5d 5d 2c 20 5b 5b 66 69 6c 65 3a 66 6f 6f 2e | oo.org::*.Heading]],.[[file:foo. |
| 40a80 | 6f 72 67 3a 3a 23 63 75 73 74 6f 6d 2d 69 64 5d 5d 2c 20 6c 69 6e 6b 20 74 79 70 65 3a 20 66 69 | org::#custom-id]],.link.type:.fi |
| 40aa0 | 6c 65 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 20 | le.......(let*.((link-param-str. |
| 40ac0 | 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 74 68 20 28 63 6f 6e 64 0a 20 20 20 | "")..............(path.(cond.... |
| 40ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 2d 69 73 2d 75 72 6c 0a 20 20 | .................(link-is-url... |
| 40b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 61 6b 65 6e 20 66 72 6f 6d | ...................;;.Taken.from |
| 40b20 | 20 6f 78 2d 68 74 6d 6c 2e 65 6c 20 2d 2d 20 45 78 74 72 61 63 74 20 61 74 74 72 69 62 75 74 65 | .ox-html.el.--.Extract.attribute |
| 40b40 | 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 72 6f 6d 20 70 | s......................;;.from.p |
| 40b60 | 61 72 65 6e 74 27 73 20 70 61 72 61 67 72 61 70 68 2e 20 20 48 41 43 4b 3a 20 4f 6e 6c 79 20 64 | arent's.paragraph...HACK:.Only.d |
| 40b80 | 6f 20 74 68 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 | o.this......................;;.f |
| 40ba0 | 6f 72 20 74 68 65 20 66 69 72 73 74 20 6c 69 6e 6b 20 69 6e 20 70 61 72 65 6e 74 20 28 69 6e 6e | or.the.first.link.in.parent.(inn |
| 40bc0 | 65 72 20 69 6d 61 67 65 20 6c 69 6e 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er.image.link................... |
| 40be0 | 20 20 20 3b 3b 20 66 6f 72 20 69 6e 6c 69 6e 65 20 69 6d 61 67 65 73 29 2e 20 20 54 68 69 73 20 | ...;;.for.inline.images)...This. |
| 40c00 | 69 73 20 6e 65 65 64 65 64 20 61 73 20 6c 6f 6e 67 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 20 | is.needed.as.long.as............ |
| 40c20 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 74 74 72 69 62 75 74 65 73 20 63 61 6e 6e 6f 74 20 62 | ..........;;.attributes.cannot.b |
| 40c40 | 65 20 73 65 74 20 6f 6e 20 61 20 70 65 72 20 6c 69 6e 6b 20 62 61 73 69 73 2e 0a 20 20 20 20 20 | e.set.on.a.per.link.basis....... |
| 40c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 61 74 74 72 0a 20 20 20 | ................(let*.((attr.... |
| 40c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 | ..........................(let.( |
| 40ca0 | 28 70 61 72 65 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 2d 65 | (parent.(org-export-get-parent-e |
| 40cc0 | 6c 65 6d 65 6e 74 20 6c 69 6e 6b 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lement.link))).................. |
| 40ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d | ..............(and.(eq.(org-elem |
| 40d00 | 65 6e 74 2d 6d 61 70 20 70 61 72 65 6e 74 20 27 6c 69 6e 6b 20 23 27 69 64 65 6e 74 69 74 79 20 | ent-map.parent.'link.#'identity. |
| 40d20 | 69 6e 66 6f 20 3a 66 69 72 73 74 2d 6d 61 74 63 68 29 20 6c 69 6e 6b 29 0a 20 20 20 20 20 20 20 | info.:first-match).link)........ |
| 40d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | .............................(or |
| 40d60 | 67 2d 65 78 70 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 68 74 | g-export-read-attribute.:attr_ht |
| 40d80 | 6d 6c 20 70 61 72 65 6e 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ml.parent))))................... |
| 40da0 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 77 77 77 2e 77 33 73 63 68 6f 6f | ..........;;.https://www.w3schoo |
| 40dc0 | 6c 73 2e 63 6f 6d 2f 74 61 67 73 2f 74 61 67 5f 6c 69 6e 6b 2e 61 73 70 0a 20 20 20 20 20 20 20 | ls.com/tags/tag_link.asp........ |
| 40de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 2d 70 61 72 61 6d | .....................(link-param |
| 40e00 | 73 20 60 28 28 74 69 74 6c 65 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 74 | s.`((title...,(plist-get.attr.:t |
| 40e20 | 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | itle)).......................... |
| 40e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 79 6c 65 20 2e 20 2c 28 70 6c 69 | ..................(style...,(pli |
| 40e60 | 73 74 2d 67 65 74 20 61 74 74 72 20 3a 73 74 79 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | st-get.attr.:style))............ |
| 40e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 40ea0 | 28 72 65 66 65 72 72 65 72 70 6f 6c 69 63 79 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 | (referrerpolicy...,(plist-get.at |
| 40ec0 | 74 72 20 3a 72 65 66 65 72 72 65 72 70 6f 6c 69 63 79 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | tr.:referrerpolicy))............ |
| 40ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 40f00 | 28 6d 65 64 69 61 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 6d 65 64 69 61 | (media...,(plist-get.attr.:media |
| 40f20 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............................. |
| 40f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 72 67 65 74 20 2e 20 2c 28 70 6c 69 73 74 2d | ..............(target...,(plist- |
| 40f60 | 67 65 74 20 61 74 74 72 20 3a 74 61 72 67 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | get.attr.:target)).............. |
| 40f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 | ..............................(r |
| 40fa0 | 65 6c 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 72 65 6c 29 29 0a 20 20 20 | el...,(plist-get.attr.:rel)).... |
| 40fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 40fe0 | 20 20 20 20 20 20 20 20 28 73 69 7a 65 73 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 | ........(sizes...,(plist-get.att |
| 41000 | 72 20 3a 73 69 7a 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.:sizes))...................... |
| 41020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 79 70 65 20 2e 20 2c 28 | ......................(type...,( |
| 41040 | 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 20 3a 74 79 70 65 29 29 29 29 29 0a 20 20 20 20 20 20 | plist-get.attr.:type)))))....... |
| 41060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 70 61 72 61 6d 20 | .................(dolist.(param. |
| 41080 | 6c 69 6e 6b 2d 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | link-params).................... |
| 410a0 | 20 20 20 20 20 20 28 6c 65 74 20 28 28 6e 61 6d 65 20 28 63 61 72 20 70 61 72 61 6d 29 29 0a 20 | ......(let.((name.(car.param)).. |
| 410c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 | ..............................(v |
| 410e0 | 61 6c 20 28 63 64 72 20 70 61 72 61 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | al.(cdr.param)))................ |
| 41100 | 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 76 61 6c 0a 20 20 20 20 20 20 20 20 20 20 | ............(when.val........... |
| 41120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 69 6e 6b 2d 70 61 | ...................(setq.link-pa |
| 41140 | 72 61 6d 2d 73 74 72 20 28 63 6f 6e 63 61 74 20 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 0a 20 | ram-str.(concat.link-param-str.. |
| 41160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 41180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 | .........................(format |
| 411a0 | 20 22 25 73 3d 5c 22 25 73 5c 22 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."%s=\"%s\"."................... |
| 411c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 411e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 20 76 61 6c 29 29 29 29 29 29 0a 20 | ................name.val)))))).. |
| 41200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | ......................;;.(messag |
| 41220 | 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 20 70 61 72 61 | e."[org-hugo-link.DBG].link.para |
| 41240 | 6d 73 3a 20 25 73 22 20 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 | ms:.%s".link-param-str)......... |
| 41260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...............)................ |
| 41280 | 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 74 79 70 65 20 22 3a 22 20 72 61 77 2d 70 61 74 68 29 | ......(concat.type.":".raw-path) |
| 412a0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3b 3b 20 52 65 6d 6f 76 65 | ).....................(;;.Remove |
| 412c0 | 20 74 68 65 20 22 66 69 6c 65 3a 2f 2f 22 20 70 72 65 66 69 78 2e 0a 20 20 20 20 20 20 20 20 20 | .the."file://".prefix........... |
| 412e0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 66 69 6c 65 22 | ............(string=.type."file" |
| 41300 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 | )......................;;.(messa |
| 41320 | 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 72 61 77 2d 70 61 74 68 | ge."[org-hugo-link.DBG].raw-path |
| 41340 | 3a 20 25 73 22 20 72 61 77 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :.%s".raw-path)................. |
| 41360 | 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 61 74 68 31 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 | .....(let*.((path1.(replace-rege |
| 41380 | 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 66 69 6c 65 3a 2f 2f 22 20 22 22 20 72 61 77 | xp-in-string."\\`file://"."".raw |
| 413a0 | 2d 70 61 74 68 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -path))......................... |
| 413c0 | 20 20 20 20 28 70 61 74 68 2d 6c 63 20 28 64 6f 77 6e 63 61 73 65 20 70 61 74 68 31 29 29 29 0a | ....(path-lc.(downcase.path1))). |
| 413e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 | .......................(cond.... |
| 41400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3b 3b 20 66 6f 6f 2e 6f 72 67 | .....................(;;.foo.org |
| 41420 | 2c 20 66 6f 6f 2e 6f 72 67 3a 3a 2a 20 48 65 61 64 69 6e 67 2c 20 66 6f 6f 2e 6f 72 67 3a 3a 23 | ,.foo.org::*.Heading,.foo.org::# |
| 41440 | 63 75 73 74 6f 6d 5f 69 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | custom_id....................... |
| 41460 | 20 20 20 28 73 74 72 69 6e 67 3d 20 22 2e 6f 72 67 22 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 65 78 | ...(string=.".org".(file-name-ex |
| 41480 | 74 65 6e 73 69 6f 6e 20 70 61 74 68 2d 6c 63 20 22 2e 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 | tension.path-lc."."))........... |
| 414a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 72 65 66 20 22 22 29 0a 20 20 | ...............(let.((ref."")... |
| 414c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e | .............................(an |
| 414e0 | 63 68 6f 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | chor.""))....................... |
| 41500 | 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 2d 73 75 66 66 69 78 2d 70 20 6f 72 67 2d 68 75 | .....(if.(string-suffix-p.org-hu |
| 41520 | 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 | go--preprocessed-buffer-dummy-fi |
| 41540 | 6c 65 2d 73 75 66 66 69 78 20 70 61 74 68 2d 6c 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | le-suffix.path-lc).............. |
| 41560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 | ..................(progn........ |
| 41580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 | ..........................(setq. |
| 415a0 | 72 65 66 20 28 73 74 72 69 6e 67 2d 72 65 6d 6f 76 65 2d 73 75 66 66 69 78 0a 20 20 20 20 20 20 | ref.(string-remove-suffix....... |
| 415c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 415e0 | 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 64 2d 62 75 66 | ......org-hugo--preprocessed-buf |
| 41600 | 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 0a 20 20 20 20 20 20 20 20 20 20 | fer-dummy-file-suffix........... |
| 41620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 41640 | 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 20 70 61 74 68 31 29 | ..(file-name-nondirectory.path1) |
| 41660 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............................. |
| 41680 | 20 20 20 20 3b 3b 20 44 75 6d 6d 79 20 4f 72 67 20 66 69 6c 65 20 70 61 74 68 73 20 63 72 65 61 | ....;;.Dummy.Org.file.paths.crea |
| 416a0 | 74 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ted.in.......................... |
| 416c0 | 20 20 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 72 65 2d 70 72 | ........;;.`org-hugo--get-pre-pr |
| 416e0 | 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ocessed-buffer'................. |
| 41700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 46 6f 72 20 64 75 6d 6d 79 20 4f 72 | .................;;.For.dummy.Or |
| 41720 | 67 20 66 69 6c 65 20 70 61 74 68 73 2c 20 77 65 20 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 | g.file.paths,.we.are............ |
| 41740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6d 69 74 69 6e | ......................;;.limitin |
| 41760 | 67 20 74 6f 20 6f 6e 6c 79 20 22 23 22 20 73 74 79 6c 65 20 73 65 61 72 63 68 0a 20 20 20 20 20 | g.to.only."#".style.search...... |
| 41780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 | ............................;;.s |
| 417a0 | 74 72 69 6e 67 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | trings.......................... |
| 417c0 | 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 2e 2a | .........(when.(string-match.".* |
| 417e0 | 5c 5c 2e 6f 72 67 3a 3a 5c 5c 28 23 2e 2a 5c 5c 29 22 20 72 61 77 2d 6c 69 6e 6b 29 0a 20 20 20 | \\.org::\\(#.*\\)".raw-link).... |
| 41800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 41820 | 28 73 65 74 71 20 61 6e 63 68 6f 72 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 | (setq.anchor.(match-string-no-pr |
| 41840 | 6f 70 65 72 74 69 65 73 20 31 20 72 61 77 2d 6c 69 6e 6b 29 29 29 29 0a 20 20 20 20 20 20 20 20 | operties.1.raw-link))))......... |
| 41860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 67 75 6c 61 72 20 | .....................;;.Regular. |
| 41880 | 4f 72 67 20 66 69 6c 65 20 70 61 74 68 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Org.file.paths.................. |
| 418a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 66 20 28 66 69 6c 65 2d 6e 61 6d | .............(setq.ref.(file-nam |
| 418c0 | 65 2d 73 61 6e 73 2d 65 78 74 65 6e 73 69 6f 6e 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 6e 6f 6e 64 | e-sans-extension.(file-name-nond |
| 418e0 | 69 72 65 63 74 6f 72 79 20 70 61 74 68 31 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | irectory.path1)))............... |
| 41900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 69 6e 6b 2d 73 65 61 72 63 | ...............(let.((link-searc |
| 41920 | 68 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | h-str........................... |
| 41940 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 72 61 77 2d 6c 69 6e 6b 20 69 73 20 22 2e 2f 66 | ..........;;.If.raw-link.is."./f |
| 41960 | 6f 6f 2e 6f 72 67 3a 3a 23 62 61 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oo.org::#bar",.................. |
| 41980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 74 20 60 6c 69 6e 6b 2d | ...................;;.set.`link- |
| 419a0 | 73 65 61 72 63 68 2d 73 74 72 27 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | search-str'.to.................. |
| 419c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 23 62 61 72 22 2e 0a 20 20 | ...................;;."#bar".... |
| 419e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 41a00 | 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 2e 2a 5c 5c 2e 6f 72 67 3a | ..(when.(string-match.".*\\.org: |
| 41a20 | 3a 5c 5c 28 2e 2a 5c 5c 29 22 20 72 61 77 2d 6c 69 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 | :\\(.*\\)".raw-link)............ |
| 41a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 74 63 | ...........................(matc |
| 41a60 | 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 72 61 77 2d 6c 69 6e | h-string-no-properties.1.raw-lin |
| 41a80 | 6b 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k))))........................... |
| 41aa0 | 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b | .....;;.(message."[org-hugo-link |
| 41ac0 | 20 44 42 47 5d 20 6c 69 6e 6b 2d 73 65 61 72 63 68 2d 73 74 72 3a 20 25 73 22 20 6c 69 6e 6b 2d | .DBG].link-search-str:.%s".link- |
| 41ae0 | 73 65 61 72 63 68 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | search-str)..................... |
| 41b00 | 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6c 69 6e 6b 2d 73 65 61 72 63 68 2d 73 74 72 | ...........(when.link-search-str |
| 41b20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 41b40 | 20 20 28 73 65 74 71 20 61 6e 63 68 6f 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 73 65 61 72 63 68 | ..(setq.anchor.(org-hugo--search |
| 41b60 | 2d 61 6e 64 2d 67 65 74 2d 61 6e 63 68 6f 72 20 72 61 77 2d 70 61 74 68 20 6c 69 6e 6b 2d 73 65 | -and-get-anchor.raw-path.link-se |
| 41b80 | 61 72 63 68 2d 73 74 72 20 69 6e 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | arch-str.info))))).............. |
| 41ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d | ..............;;.(message."[org- |
| 41bc0 | 68 75 67 6f 2d 6c 69 6e 6b 20 66 69 6c 65 2e 6f 72 67 3a 3a 2a 48 65 61 64 69 6e 67 20 44 42 47 | hugo-link.file.org::*Heading.DBG |
| 41be0 | 5d 20 72 65 66 20 20 20 20 3d 20 25 73 22 20 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ].ref....=.%s".ref)............. |
| 41c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 | ...............;;.(message."[org |
| 41c20 | 2d 68 75 67 6f 2d 6c 69 6e 6b 20 66 69 6c 65 2e 6f 72 67 3a 3a 2a 48 65 61 64 69 6e 67 20 44 42 | -hugo-link.file.org::*Heading.DB |
| 41c40 | 47 5d 20 61 6e 63 68 6f 72 20 3d 20 25 73 22 20 61 6e 63 68 6f 72 29 0a 20 20 20 20 20 20 20 20 | G].anchor.=.%s".anchor)......... |
| 41c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 | ...................(cond........ |
| 41c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4c 69 6e 6b 20 74 6f 20 | .....................;;.Link.to. |
| 41ca0 | 61 20 70 6f 73 74 20 73 75 62 74 72 65 65 2e 20 20 49 6e 20 74 68 69 73 20 63 61 73 65 2c 0a 20 | a.post.subtree...In.this.case,.. |
| 41cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 | ...........................;;.th |
| 41ce0 | 65 20 22 61 6e 63 68 6f 72 22 20 69 73 20 61 63 74 75 61 6c 6c 79 20 74 68 65 20 70 6f 73 74 27 | e."anchor".is.actually.the.post' |
| 41d00 | 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | s.............................;; |
| 41d20 | 20 73 6c 75 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .slug........................... |
| 41d40 | 20 20 20 28 28 61 6e 64 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 61 6e 63 68 6f 72 | ...((and.(org-string-nw-p.anchor |
| 41d60 | 29 20 28 6e 6f 74 20 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 20 22 23 22 20 61 6e 63 68 | ).(not.(string-prefix-p."#".anch |
| 41d80 | 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | or)))........................... |
| 41da0 | 20 20 20 28 66 6f 72 6d 61 74 20 22 7b 7b 3c 20 72 65 6c 72 65 66 20 5c 22 25 73 5c 22 20 3e 7d | ...(format."{{<.relref.\"%s\".>} |
| 41dc0 | 7d 22 20 61 6e 63 68 6f 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | }".anchor))..................... |
| 41de0 | 20 20 20 20 20 20 20 20 3b 3b 20 4c 69 6e 6b 20 74 6f 20 61 20 6e 6f 6e 2d 70 6f 73 74 20 73 75 | ........;;.Link.to.a.non-post.su |
| 41e00 | 62 74 72 65 65 2c 20 6c 69 6b 65 20 61 20 73 75 62 68 65 61 64 69 6e 67 20 69 6e 20 61 20 70 6f | btree,.like.a.subheading.in.a.po |
| 41e20 | 73 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st.............................. |
| 41e40 | 28 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 72 65 66 29 20 28 6f 72 67 2d | ((or.(org-string-nw-p.ref).(org- |
| 41e60 | 73 74 72 69 6e 67 2d 6e 77 2d 70 20 61 6e 63 68 6f 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | string-nw-p.anchor))............ |
| 41e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 7b 7b 3c 20 72 | ..................(format."{{<.r |
| 41ea0 | 65 6c 72 65 66 20 5c 22 25 73 25 73 5c 22 20 3e 7d 7d 22 20 72 65 66 20 61 6e 63 68 6f 72 29 29 | elref.\"%s%s\".>}}".ref.anchor)) |
| 41ec0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a | .............................(t. |
| 41ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 | ............................."") |
| 41f00 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 20 3b | ))).........................(t.; |
| 41f20 | 3b 20 61 74 74 61 63 68 6d 65 6e 74 73 20 6c 69 6b 65 20 66 6f 6f 2e 70 6e 67 0a 20 20 20 20 20 | ;.attachments.like.foo.png...... |
| 41f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 | ....................(org-hugo--a |
| 41f60 | 74 74 61 63 68 6d 65 6e 74 2d 72 65 77 72 69 74 65 2d 6d 61 79 62 65 20 70 61 74 68 31 20 69 6e | ttachment-rewrite-maybe.path1.in |
| 41f80 | 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 | fo))))).....................(t.. |
| 41fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 61 77 2d 70 61 74 68 29 29 29 0a | ....................raw-path))). |
| 41fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 20 28 6f 72 | .............(link-param-str.(or |
| 41fe0 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 74 72 69 6d 20 6c 69 6e 6b 2d 70 61 72 | g-string-nw-p.(org-trim.link-par |
| 42000 | 61 6d 2d 73 74 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | am-str)))).........;;.(message." |
| 42020 | 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 64 65 73 63 3d 25 73 20 70 61 74 68 | [org-hugo-link.DBG].desc=%s.path |
| 42040 | 3d 25 73 22 20 64 65 73 63 20 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 | =%s".desc.path).........;;.(mess |
| 42060 | 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 2d 70 61 | age."[org-hugo-link.DBG].link-pa |
| 42080 | 72 61 6d 2d 73 74 72 3d 25 73 22 20 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 29 0a 20 20 20 20 | ram-str=%s".link-param-str)..... |
| 420a0 | 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 4c 69 6e 6b 20 64 65 73 63 72 | ....(cond..........;;.Link.descr |
| 420c0 | 69 70 74 69 6f 6e 20 69 73 20 61 20 60 66 69 67 75 72 65 27 20 73 68 6f 72 74 63 6f 64 65 20 62 | iption.is.a.`figure'.shortcode.b |
| 420e0 | 75 74 20 64 6f 65 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6c 72 65 61 64 79 20 | ut.does.not..........;;.already. |
| 42100 | 68 61 76 65 20 74 68 65 20 60 6c 69 6e 6b 27 20 70 61 72 61 6d 65 74 65 72 20 73 65 74 2e 0a 20 | have.the.`link'.parameter.set... |
| 42120 | 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 64 65 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........((and.desc.............. |
| 42140 | 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 7b 7b 3c 5c 5c 73 2d 2a 66 69 | ..(string-match-p."\\`{{<\\s-*fi |
| 42160 | 67 75 72 65 5c 5c 73 2d 2b 22 20 64 65 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gure\\s-+".desc)................ |
| 42180 | 28 6e 6f 74 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 7b 7b 3c 5c 5c 73 2d | (not.(string-match-p."\\`{{<\\s- |
| 421a0 | 2a 66 69 67 75 72 65 5c 5c 73 2d 2b 2e 2a 6c 69 6e 6b 3d 22 20 64 65 73 63 29 29 29 0a 20 20 20 | *figure\\s-+.*link=".desc))).... |
| 421c0 | 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 | .......(replace-regexp-in-string |
| 421e0 | 20 22 5c 5c 73 2d 2a 3e 7d 7d 5c 5c 27 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."\\s-*>}}\\'".................. |
| 42200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 20 6c 69 6e | ...................(format.".lin |
| 42220 | 6b 3d 5c 22 25 73 5c 22 5c 5c 26 22 20 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | k=\"%s\"\\&".path).............. |
| 42240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 73 63 29 29 0a 20 20 | .......................desc))... |
| 42260 | 20 20 20 20 20 20 20 3b 3b 20 42 6f 74 68 20 6c 69 6e 6b 20 64 65 73 63 72 69 70 74 69 6f 6e 20 | .......;;.Both.link.description. |
| 42280 | 61 6e 64 20 6c 69 6e 6b 20 61 74 74 72 69 62 75 74 65 73 20 61 72 65 20 70 72 65 73 65 6e 74 2e | and.link.attributes.are.present. |
| 422a0 | 0a 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 64 65 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 | ..........((and.desc............ |
| 422c0 | 20 20 20 20 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 66 | ....link-param-str)...........(f |
| 422e0 | 6f 72 6d 61 74 20 22 3c 61 20 68 72 65 66 3d 5c 22 25 73 5c 22 20 25 73 3e 25 73 3c 2f 61 3e 22 | ormat."<a.href=\"%s\".%s>%s</a>" |
| 42300 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 65 6e 63 | ...................(org-html-enc |
| 42320 | 6f 64 65 2d 70 6c 61 69 6e 2d 74 65 78 74 20 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ode-plain-text.path)............ |
| 42340 | 20 20 20 20 20 20 20 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 | .......link-param-str........... |
| 42360 | 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6c 69 6e 6b 2d 75 6e 65 73 63 61 70 65 20 64 65 73 63 29 | ........(org-link-unescape.desc) |
| 42380 | 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 4f 6e 6c 79 20 6c 69 6e 6b 20 64 65 73 63 72 69 70 | ))..........;;.Only.link.descrip |
| 423a0 | 74 69 6f 6e 2c 20 62 75 74 20 6e 6f 20 6c 69 6e 6b 20 61 74 74 72 69 62 75 74 65 73 2e 0a 20 20 | tion,.but.no.link.attributes.... |
| 423c0 | 20 20 20 20 20 20 20 28 64 65 73 63 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 | .......(desc...........(let*.((p |
| 423e0 | 61 74 68 2d 68 61 73 2d 73 70 61 63 65 20 28 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ath-has-space.(and.............. |
| 42400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 73 74 72 69 6e | .....................(not.(strin |
| 42420 | 67 2d 70 72 65 66 69 78 2d 70 20 22 7b 7b 3c 20 72 65 6c 72 65 66 20 22 20 70 61 74 68 29 29 0a | g-prefix-p."{{<.relref.".path)). |
| 42440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 42460 | 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 73 2d 22 20 70 61 74 68 29 29 29 | ..(string-match-p."\\s-".path))) |
| 42480 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 74 68 20 28 69 66 20 70 61 74 68 | ..................(path.(if.path |
| 424a0 | 2d 68 61 73 2d 73 70 61 63 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -has-space...................... |
| 424c0 | 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 | ......;;.https://github.com/kaus |
| 424e0 | 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 69 73 73 75 65 73 2f 33 37 36 0a 20 20 20 20 20 | halmodi/ox-hugo/issues/376...... |
| 42500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f | ......................;;.https:/ |
| 42520 | 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 67 6f 68 75 67 6f 69 6f 2f 68 75 67 6f 2f 69 73 73 75 65 73 | /github.com/gohugoio/hugo/issues |
| 42540 | 2f 36 37 34 32 23 69 73 73 75 65 63 6f 6d 6d 65 6e 74 2d 35 37 33 39 32 34 37 30 36 0a 20 20 20 | /6742#issuecomment-573924706.... |
| 42560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 | ........................(format. |
| 42580 | 22 3c 25 73 3e 22 20 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "<%s>".path).................... |
| 425a0 | 20 20 20 20 20 20 70 61 74 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 | ......path))).............(forma |
| 425c0 | 74 20 22 5b 25 73 5d 28 25 73 29 22 20 64 65 73 63 20 70 61 74 68 29 29 29 0a 20 20 20 20 20 20 | t."[%s](%s)".desc.path)))....... |
| 425e0 | 20 20 20 3b 3b 20 4f 6e 6c 79 20 6c 69 6e 6b 20 61 74 74 72 69 62 75 74 65 73 2c 20 62 75 74 20 | ...;;.Only.link.attributes,.but. |
| 42600 | 6e 6f 20 6c 69 6e 6b 20 64 65 73 63 72 69 70 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 28 6c | no.link.description...........(l |
| 42620 | 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 70 | ink-param-str...........(let.((p |
| 42640 | 61 74 68 20 28 6f 72 67 2d 68 74 6d 6c 2d 65 6e 63 6f 64 65 2d 70 6c 61 69 6e 2d 74 65 78 74 20 | ath.(org-html-encode-plain-text. |
| 42660 | 70 61 74 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 | path))).............(format."<a. |
| 42680 | 68 72 65 66 3d 5c 22 25 73 5c 22 20 25 73 3e 25 73 3c 2f 61 3e 22 0a 20 20 20 20 20 20 20 20 20 | href=\"%s\".%s>%s</a>".......... |
| 426a0 | 20 20 20 20 20 20 20 20 20 20 20 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........path................. |
| 426c0 | 20 20 20 20 6c 69 6e 6b 2d 70 61 72 61 6d 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....link-param-str.............. |
| 426e0 | 20 20 20 20 20 20 20 3b 3b 20 42 65 6c 6f 77 20 74 72 69 63 6b 20 69 73 20 74 6f 20 70 72 65 76 | .......;;.Below.trick.is.to.prev |
| 42700 | 65 6e 74 20 48 75 67 6f 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent.Hugo.from................... |
| 42720 | 20 20 3b 3b 20 61 75 74 6f 2d 68 79 70 65 72 6c 69 6e 6b 69 6e 67 20 74 68 65 20 6c 69 6e 6b 20 | ..;;.auto-hyperlinking.the.link. |
| 42740 | 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 | in.the.....................;;.de |
| 42760 | 73 63 72 69 70 74 69 6f 6e 2e 20 49 64 65 61 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 20 | scription..Idea.from............ |
| 42780 | 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 73 74 61 63 6b 6f 76 65 72 66 6c 6f | .........;;.https://stackoverflo |
| 427a0 | 77 2e 63 6f 6d 2f 71 2f 32 35 37 30 36 30 31 32 2f 31 32 31 39 36 33 34 2e 0a 20 20 20 20 20 20 | w.com/q/25706012/1219634........ |
| 427c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e | ..............(replace-regexp-in |
| 427e0 | 2d 73 74 72 69 6e 67 20 22 3a 22 20 22 26 63 6f 6c 6f 6e 3b 22 20 28 6f 72 67 2d 6c 69 6e 6b 2d | -string.":".":".(org-link- |
| 42800 | 75 6e 65 73 63 61 70 65 20 70 61 74 68 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 4e | unescape.path)))))..........;;.N |
| 42820 | 65 69 74 68 65 72 20 6c 69 6e 6b 20 64 65 73 63 72 69 70 74 69 6f 6e 2c 20 6e 6f 72 20 6c 69 6e | either.link.description,.nor.lin |
| 42840 | 6b 20 61 74 74 72 69 62 75 74 65 73 2e 0a 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 2d | k.attributes...........((string- |
| 42860 | 70 72 65 66 69 78 2d 70 20 22 7b 7b 3c 20 72 65 6c 72 65 66 20 22 20 70 61 74 68 29 0a 20 20 20 | prefix-p."{{<.relref.".path).... |
| 42880 | 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 28 25 73 29 22 20 70 61 74 68 20 70 | .......(format."[%s](%s)".path.p |
| 428a0 | 61 74 68 29 29 0a 20 20 20 20 20 20 20 20 20 28 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 | ath))..........((org-string-nw-p |
| 428c0 | 20 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 25 73 3e 22 20 | .path)...........(format."<%s>". |
| 428e0 | 70 61 74 68 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 22 22 29 | path))..........(t..........."") |
| 42900 | 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 2d 2d 68 65 | ))))))..(defun.org-hugo-link--he |
| 42920 | 61 64 69 6e 67 2d 61 6e 63 68 6f 72 2d 6d 61 79 62 65 20 28 6c 69 6e 6b 20 69 6e 66 6f 29 0a 20 | ading-anchor-maybe.(link.info).. |
| 42940 | 20 22 52 65 74 75 72 6e 20 61 6e 63 68 6f 72 20 6f 66 20 74 68 65 20 68 65 61 64 69 6e 67 20 70 | ."Return.anchor.of.the.heading.p |
| 42960 | 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 4c 49 4e 4b 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c | ointed.to.by.LINK...INFO.is.a.pl |
| 42980 | 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e | ist.used.as.a.communication.chan |
| 429a0 | 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 20 6c 69 6e 6b 20 69 64 | nel."...;;.(message."dbg.link.id |
| 429c0 | 3a 20 25 53 22 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 70 61 74 | :.%S".(org-element-property.:pat |
| 429e0 | 68 20 6c 69 6e 6b 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 69 64 2d 6c 6f 63 20 28 6f 72 67 2d 69 | h.link))...(let*.((id-loc.(org-i |
| 42a00 | 64 2d 66 69 6e 64 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 70 61 | d-find.(org-element-property.:pa |
| 42a20 | 74 68 20 6c 69 6e 6b 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 64 2d 66 69 6c 65 20 28 63 61 | th.link)))..........(id-file.(ca |
| 42a40 | 72 20 69 64 2d 6c 6f 63 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 64 2d 70 6f 73 20 28 63 64 72 | r.id-loc))..........(id-pos.(cdr |
| 42a60 | 20 69 64 2d 6c 6f 63 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 64 2d 62 75 66 66 65 72 20 28 67 | .id-loc))..........(id-buffer.(g |
| 42a80 | 65 74 2d 66 69 6c 65 2d 62 75 66 66 65 72 20 69 64 2d 66 69 6c 65 29 29 29 20 3b 6e 69 6c 20 69 | et-file-buffer.id-file))).;nil.i |
| 42aa0 | 66 20 60 69 64 2d 66 69 6c 65 27 20 62 75 66 66 65 72 20 69 73 20 6e 6f 74 20 61 6c 72 65 61 64 | f.`id-file'.buffer.is.not.alread |
| 42ac0 | 79 20 6f 70 65 6e 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 | y.open.....;;.(message."[org-hug |
| 42ae0 | 6f 2d 6c 69 6e 6b 2d 2d 68 65 61 64 69 6e 67 2d 61 6e 63 68 6f 72 2d 6d 61 79 62 65 20 44 42 47 | o-link--heading-anchor-maybe.DBG |
| 42b00 | 5d 20 69 64 2d 6c 6f 63 3a 20 25 53 22 20 69 64 2d 6c 6f 63 29 0a 20 20 20 20 28 77 69 74 68 2d | ].id-loc:.%S".id-loc).....(with- |
| 42b20 | 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 28 6f 72 20 69 64 2d 62 75 66 66 65 72 20 28 66 69 | current-buffer.(or.id-buffer.(fi |
| 42b40 | 6e 64 2d 66 69 6c 65 2d 6e 6f 73 65 6c 65 63 74 20 69 64 2d 66 69 6c 65 20 3a 6e 6f 77 61 72 6e | nd-file-noselect.id-file.:nowarn |
| 42b60 | 29 29 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 69 64 2d 62 75 66 66 65 72 0a 20 20 20 20 20 | )).......(unless.id-buffer...... |
| 42b80 | 20 20 20 28 61 64 64 2d 74 6f 2d 6c 69 73 74 20 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 70 65 6e 65 | ...(add-to-list.'org-hugo--opene |
| 42ba0 | 64 2d 62 75 66 66 65 72 73 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 0a 20 20 20 | d-buffers.(current-buffer))).... |
| 42bc0 | 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 29 20 | ...(org-export-get-environment). |
| 42be0 | 20 20 20 20 20 20 20 3b 45 76 61 6c 20 23 2b 62 69 6e 64 20 6b 65 79 77 6f 72 64 73 2c 20 65 74 | .......;Eval.#+bind.keywords,.et |
| 42c00 | 63 2e 0a 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 69 64 2d 70 6f 73 29 0a 20 20 20 20 | c........(goto-char.id-pos)..... |
| 42c20 | 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 2d 61 74 2d 70 6f 69 6e 74 | ..(org-hugo--get-anchor-at-point |
| 42c40 | 20 69 6e 66 6f 29 29 29 29 0a 0a 3b 3b 3b 3b 3b 20 48 65 6c 70 65 72 73 0a 28 64 65 66 75 6e 20 | .info))))..;;;;;.Helpers.(defun. |
| 42c60 | 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 70 79 2d 72 65 73 6f 75 72 63 65 73 2d 6d 61 79 62 65 20 28 | org-hugo--copy-resources-maybe.( |
| 42c80 | 69 6e 66 6f 29 0a 20 20 22 43 6f 70 79 20 72 65 73 6f 75 72 63 65 73 20 74 6f 20 74 68 65 20 62 | info)..."Copy.resources.to.the.b |
| 42ca0 | 75 6e 64 6c 65 20 64 69 72 65 63 74 6f 72 79 20 69 66 20 6e 65 65 64 65 64 2e 0a 0a 49 4e 46 4f | undle.directory.if.needed...INFO |
| 42cc0 | 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 | .is.a.plist.used.as.a.communicat |
| 42ce0 | 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 65 78 70 6f 72 74 61 62 | ion.channel."...(let*.((exportab |
| 42d00 | 6c 65 73 20 6f 72 67 2d 68 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d 66 69 6c 65 2d 65 78 74 65 6e | les.org-hugo-external-file-exten |
| 42d20 | 73 69 6f 6e 73 2d 61 6c 6c 6f 77 65 64 2d 66 6f 72 2d 63 6f 70 79 69 6e 67 29 0a 20 20 20 20 20 | sions-allowed-for-copying)...... |
| 42d40 | 20 20 20 20 28 62 75 6e 64 6c 65 2d 64 69 72 20 28 61 6e 64 20 28 70 6c 69 73 74 2d 67 65 74 20 | ....(bundle-dir.(and.(plist-get. |
| 42d60 | 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 75 6e 64 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | info.:hugo-bundle).............. |
| 42d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 75 62 2d | .............(org-hugo--get-pub- |
| 42da0 | 64 69 72 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 6f 75 72 63 65 73 20 | dir.info)))..........(resources. |
| 42dc0 | 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 | (org-hugo--parse-property-argume |
| 42de0 | 6e 74 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 72 65 73 6f 75 72 | nts.(plist-get.info.:hugo-resour |
| 42e00 | 63 65 73 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 62 75 6e 64 6c 65 2d 64 69 | ces)))).....(when.(and.bundle-di |
| 42e20 | 72 20 72 65 73 6f 75 72 63 65 73 29 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 72 65 73 6f | r.resources).......(dolist.(reso |
| 42e40 | 75 72 63 65 20 72 65 73 6f 75 72 63 65 73 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6b | urce.resources).........(let.((k |
| 42e60 | 65 79 20 28 63 61 72 20 72 65 73 6f 75 72 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 77 | ey.(car.resource)))...........(w |
| 42e80 | 68 65 6e 20 28 65 71 75 61 6c 20 6b 65 79 20 27 73 72 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 | hen.(equal.key.'src)............ |
| 42ea0 | 20 28 6c 65 74 2a 20 28 28 76 61 6c 20 28 63 64 72 20 72 65 73 6f 75 72 63 65 29 29 0a 20 20 20 | .(let*.((val.(cdr.resource)).... |
| 42ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 6f 75 72 63 65 73 20 28 66 69 6c 65 2d 65 | ................(sources.(file-e |
| 42ee0 | 78 70 61 6e 64 2d 77 69 6c 64 63 61 72 64 73 20 76 61 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 | xpand-wildcards.val))).......... |
| 42f00 | 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 73 6f 75 72 63 65 20 73 6f 75 72 63 65 73 29 0a 20 20 | .....(dolist.(source.sources)... |
| 42f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 73 72 63 2d 70 61 74 68 20 28 66 | ..............(let.((src-path.(f |
| 42f40 | 69 6c 65 2d 74 72 75 65 6e 61 6d 65 20 73 6f 75 72 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 | ile-truename.source))).......... |
| 42f60 | 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 66 69 6c 65 2d 65 78 69 73 74 73 | .........(when.(and.(file-exists |
| 42f80 | 2d 70 20 73 72 63 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -p.src-path).................... |
| 42fa0 | 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 65 78 74 | ..........(member.(file-name-ext |
| 42fc0 | 65 6e 73 69 6f 6e 20 73 72 63 2d 70 61 74 68 29 20 65 78 70 6f 72 74 61 62 6c 65 73 29 29 0a 20 | ension.src-path).exportables)).. |
| 42fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 64 65 73 74 2d | ...................(let*.((dest- |
| 43000 | 70 61 74 68 20 28 63 6f 6e 63 61 74 20 62 75 6e 64 6c 65 2d 64 69 72 20 73 6f 75 72 63 65 29 29 | path.(concat.bundle-dir.source)) |
| 43020 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 73 | ............................(des |
| 43040 | 74 2d 70 61 74 68 2d 64 69 72 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 64 69 72 65 63 74 6f 72 79 20 | t-path-dir.(file-name-directory. |
| 43060 | 64 65 73 74 2d 70 61 74 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dest-path))).................... |
| 43080 | 20 20 20 28 75 6e 6c 65 73 73 20 28 66 69 6c 65 2d 65 78 69 73 74 73 2d 70 20 64 65 73 74 2d 70 | ...(unless.(file-exists-p.dest-p |
| 430a0 | 61 74 68 2d 64 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ath-dir)........................ |
| 430c0 | 20 28 6d 6b 64 69 72 20 64 65 73 74 2d 70 61 74 68 2d 64 69 72 20 3a 70 61 72 65 6e 74 73 29 29 | .(mkdir.dest-path-dir.:parents)) |
| 430e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 66 69 | .......................(when.(fi |
| 43100 | 6c 65 2d 6e 65 77 65 72 2d 74 68 61 6e 2d 66 69 6c 65 2d 70 20 73 72 63 2d 70 61 74 68 20 64 65 | le-newer-than-file-p.src-path.de |
| 43120 | 73 74 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st-path)........................ |
| 43140 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 43 6f 70 69 65 64 20 72 65 73 6f | .(message."[ox-hugo].Copied.reso |
| 43160 | 75 72 63 65 20 25 53 20 74 6f 20 25 53 22 20 73 72 63 2d 70 61 74 68 20 64 65 73 74 2d 70 61 74 | urce.%S.to.%S".src-path.dest-pat |
| 43180 | 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 70 79 | h).........................(copy |
| 431a0 | 2d 66 69 6c 65 20 73 72 63 2d 70 61 74 68 20 64 65 73 74 2d 70 61 74 68 20 3a 6f 6b 2d 69 66 2d | -file.src-path.dest-path.:ok-if- |
| 431c0 | 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 29 29 29 29 29 29 29 29 29 29 29 29 29 0a 0a 28 64 65 | already-exists)))))))))))))..(de |
| 431e0 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 70 79 2d 6c 74 78 69 6d 67 2d 6d 61 79 62 65 20 | fun.org-hugo--copy-ltximg-maybe. |
| 43200 | 28 69 6e 66 6f 29 0a 20 20 22 43 6f 70 79 20 60 6f 72 67 2d 70 72 65 76 69 65 77 2d 6c 61 74 65 | (info)..."Copy.`org-preview-late |
| 43220 | 78 2d 69 6d 61 67 65 2d 64 69 72 65 63 74 6f 72 79 27 20 63 6f 6e 74 65 6e 74 73 20 69 6e 74 6f | x-image-directory'.contents.into |
| 43240 | 20 73 69 74 65 27 73 20 6c 74 78 69 6d 67 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 49 4e 46 4f 20 | .site's.ltximg.directory...INFO. |
| 43260 | 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 | is.a.plist.used.as.a.communicati |
| 43280 | 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 77 68 65 6e 20 28 66 69 6c 65 2d 65 78 69 73 74 | on.channel."...(when.(file-exist |
| 432a0 | 73 2d 70 20 6f 72 67 2d 70 72 65 76 69 65 77 2d 6c 61 74 65 78 2d 69 6d 61 67 65 2d 64 69 72 65 | s-p.org-preview-latex-image-dire |
| 432c0 | 63 74 6f 72 79 29 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 | ctory).....(let*.((hugo-base-dir |
| 432e0 | 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 28 70 6c 69 73 74 2d | .(file-name-as-directory.(plist- |
| 43300 | 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 29 29 0a 20 20 20 20 20 | get.info.:hugo-base-dir)))...... |
| 43320 | 20 20 20 20 20 20 28 73 74 61 74 69 63 2d 6c 74 78 69 6d 67 2d 64 69 72 20 28 66 69 6c 65 2d 74 | ......(static-ltximg-dir.(file-t |
| 43340 | 72 75 65 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ruename......................... |
| 43360 | 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 0a 20 | .......(file-name-as-directory.. |
| 43380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 433a0 | 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | expand-file-name................ |
| 433c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 | ..................org-blackfrida |
| 433e0 | 79 2d 2d 6c 74 78 69 6d 67 2d 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 | y--ltximg-directory............. |
| 43400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 78 70 61 6e 64 2d 66 69 6c | .....................(expand-fil |
| 43420 | 65 2d 6e 61 6d 65 20 22 73 74 61 74 69 63 22 20 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 29 29 | e-name."static".hugo-base-dir))) |
| 43440 | 29 29 29 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 66 69 6c 65 2d 6e 65 77 65 72 2d 74 68 61 6e | ))).......(when.(file-newer-than |
| 43460 | 2d 66 69 6c 65 2d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 70 72 65 76 69 65 77 | -file-p..............org-preview |
| 43480 | 2d 6c 61 74 65 78 2d 69 6d 61 67 65 2d 64 69 72 65 63 74 6f 72 79 20 73 74 61 74 69 63 2d 6c 74 | -latex-image-directory.static-lt |
| 434a0 | 78 69 6d 67 2d 64 69 72 29 0a 20 20 20 20 20 20 20 20 28 63 6f 70 79 2d 64 69 72 65 63 74 6f 72 | ximg-dir).........(copy-director |
| 434c0 | 79 20 6f 72 67 2d 70 72 65 76 69 65 77 2d 6c 61 74 65 78 2d 69 6d 61 67 65 2d 64 69 72 65 63 74 | y.org-preview-latex-image-direct |
| 434e0 | 6f 72 79 20 73 74 61 74 69 63 2d 6c 74 78 69 6d 67 2d 64 69 72 0a 20 20 20 20 20 20 20 20 20 20 | ory.static-ltximg-dir........... |
| 43500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 20 3a 70 61 72 65 6e 74 73 20 3a 63 6f 70 79 | ..............nil.:parents.:copy |
| 43520 | 2d 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 | -contents).........(message."[ox |
| 43540 | 2d 68 75 67 6f 5d 20 43 6f 70 69 65 64 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 25 53 20 69 6e 74 | -hugo].Copied.contents.of.%S.int |
| 43560 | 6f 20 25 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 70 72 65 76 69 | o.%S"..................org-previ |
| 43580 | 65 77 2d 6c 61 74 65 78 2d 69 6d 61 67 65 2d 64 69 72 65 63 74 6f 72 79 20 73 74 61 74 69 63 2d | ew-latex-image-directory.static- |
| 435a0 | 6c 74 78 69 6d 67 2d 64 69 72 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f | ltximg-dir)))))..(defun.org-hugo |
| 435c0 | 2d 2d 61 74 74 61 63 68 6d 65 6e 74 2d 72 65 77 72 69 74 65 2d 6d 61 79 62 65 20 28 70 61 74 68 | --attachment-rewrite-maybe.(path |
| 435e0 | 20 69 6e 66 6f 29 0a 20 20 22 43 6f 70 79 20 6c 6f 63 61 6c 20 69 6d 61 67 65 73 20 61 6e 64 20 | .info)..."Copy.local.images.and. |
| 43600 | 70 64 66 73 20 74 6f 20 74 68 65 20 73 74 61 74 69 63 2f 62 75 6e 64 6c 65 20 64 69 72 65 63 74 | pdfs.to.the.static/bundle.direct |
| 43620 | 6f 72 79 20 69 66 20 6e 65 65 64 65 64 2e 0a 41 6c 73 6f 20 75 70 64 61 74 65 20 74 68 65 20 6c | ory.if.needed..Also.update.the.l |
| 43640 | 69 6e 6b 20 70 61 74 68 73 20 74 6f 20 6d 61 74 63 68 20 74 68 6f 73 65 2e 0a 0a 50 41 54 48 20 | ink.paths.to.match.those...PATH. |
| 43660 | 69 73 20 74 68 65 20 70 61 74 68 20 74 6f 20 74 68 65 20 69 6d 61 67 65 20 6f 72 20 61 6e 79 20 | is.the.path.to.the.image.or.any. |
| 43680 | 6f 74 68 65 72 20 61 74 74 61 63 68 6d 65 6e 74 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 | other.attachment...INFO.is.a.pli |
| 436a0 | 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e | st.used.as.a.communication.chann |
| 436c0 | 65 6c 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 61 74 74 | el."...;;.(message."[ox-hugo.att |
| 436e0 | 61 63 68 6d 65 6e 74 20 44 42 47 5d 20 54 68 65 20 48 75 67 6f 20 73 65 63 74 69 6f 6e 20 69 73 | achment.DBG].The.Hugo.section.is |
| 43700 | 3a 20 25 73 22 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 65 63 74 | :.%s".(plist-get.info.:hugo-sect |
| 43720 | 69 6f 6e 29 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 61 74 | ion))...;;.(message."[ox-hugo.at |
| 43740 | 74 61 63 68 6d 65 6e 74 20 44 42 47 5d 20 54 68 65 20 48 75 67 6f 20 62 61 73 65 20 64 69 72 20 | tachment.DBG].The.Hugo.base.dir. |
| 43760 | 69 73 3a 20 25 73 22 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 61 | is:.%s".(plist-get.info.:hugo-ba |
| 43780 | 73 65 2d 64 69 72 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 70 75 62 2d 64 69 72 20 28 6f 72 67 2d | se-dir))...(let*.((pub-dir.(org- |
| 437a0 | 68 75 67 6f 2d 2d 67 65 74 2d 70 75 62 2d 64 69 72 20 69 6e 66 6f 29 29 20 3b 54 68 69 73 20 6e | hugo--get-pub-dir.info)).;This.n |
| 437c0 | 65 65 64 73 20 74 6f 20 68 61 70 70 65 6e 20 66 69 72 73 74 20 73 6f 20 74 68 61 74 20 74 68 65 | eeds.to.happen.first.so.that.the |
| 437e0 | 20 63 68 65 63 6b 20 66 6f 72 20 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 20 68 61 70 70 65 6e 73 | .check.for.HUGO_BASE_DIR.happens |
| 43800 | 2e 0a 20 20 20 20 20 20 20 20 20 28 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 20 28 66 69 6c 65 2d | ...........(hugo-base-dir.(file- |
| 43820 | 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 | name-as-directory.(plist-get.inf |
| 43840 | 6f 20 3a 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 | o.:hugo-base-dir)))..........(pa |
| 43860 | 74 68 2d 75 6e 68 65 78 69 66 69 65 64 20 28 75 72 6c 2d 75 6e 68 65 78 2d 73 74 72 69 6e 67 20 | th-unhexified.(url-unhex-string. |
| 43880 | 70 61 74 68 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 74 68 2d 74 72 75 65 20 28 66 69 6c 65 | path))..........(path-true.(file |
| 438a0 | 2d 74 72 75 65 6e 61 6d 65 20 70 61 74 68 2d 75 6e 68 65 78 69 66 69 65 64 29 29 0a 20 20 20 20 | -truename.path-unhexified))..... |
| 438c0 | 20 20 20 20 20 28 65 78 70 6f 72 74 61 62 6c 65 73 20 6f 72 67 2d 68 75 67 6f 2d 65 78 74 65 72 | .....(exportables.org-hugo-exter |
| 438e0 | 6e 61 6c 2d 66 69 6c 65 2d 65 78 74 65 6e 73 69 6f 6e 73 2d 61 6c 6c 6f 77 65 64 2d 66 6f 72 2d | nal-file-extensions-allowed-for- |
| 43900 | 63 6f 70 79 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 28 62 75 6e 64 6c 65 2d 64 69 72 20 28 61 | copying)..........(bundle-dir.(a |
| 43920 | 6e 64 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 75 6e 64 6c 65 29 | nd.(plist-get.info.:hugo-bundle) |
| 43940 | 20 70 75 62 2d 64 69 72 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 75 6e 64 6c 65 2d 6e 61 6d 65 | .pub-dir))..........(bundle-name |
| 43960 | 20 28 77 68 65 6e 20 62 75 6e 64 6c 65 2d 64 69 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(when.bundle-dir............... |
| 43980 | 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 63 6f 6e 74 65 6e 74 2d 64 69 72 20 28 66 | ..........(let*.((content-dir.(f |
| 439a0 | 69 6c 65 2d 74 72 75 65 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ile-truename.................... |
| 439c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d | ..........................(file- |
| 439e0 | 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | name-as-directory............... |
| 43a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 43a20 | 28 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 20 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 65 | (expand-file-name.org-hugo-conte |
| 43a40 | 6e 74 2d 66 6f 6c 64 65 72 20 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 29 29 29 0a 20 20 20 20 | nt-folder.hugo-base-dir))))..... |
| 43a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 73 2d 68 | ...........................(is-h |
| 43a80 | 6f 6d 65 2d 62 72 61 6e 63 68 2d 62 75 6e 64 6c 65 20 28 73 74 72 69 6e 67 3d 20 62 75 6e 64 6c | ome-branch-bundle.(string=.bundl |
| 43aa0 | 65 2d 64 69 72 20 63 6f 6e 74 65 6e 74 2d 64 69 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | e-dir.content-dir)))............ |
| 43ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 | ...............(cond............ |
| 43ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 73 2d 68 6f 6d 65 2d 62 72 61 6e 63 68 2d | ................(is-home-branch- |
| 43b00 | 62 75 6e 64 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bundle.......................... |
| 43b20 | 20 20 20 22 5f 68 6f 6d 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..."_home")..................... |
| 43b40 | 20 20 20 20 20 20 20 28 74 20 3b 60 62 75 6e 64 6c 65 2d 64 69 72 27 3d 22 2f 66 6f 6f 2f 62 61 | .......(t.;`bundle-dir'="/foo/ba |
| 43b60 | 72 2f 22 20 2d 3e 20 60 62 75 6e 64 6c 65 2d 6e 61 6d 65 27 3d 22 62 61 72 22 0a 20 20 20 20 20 | r/".->.`bundle-name'="bar"...... |
| 43b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d | .......................(file-nam |
| 43ba0 | 65 2d 62 61 73 65 20 28 64 69 72 65 63 74 6f 72 79 2d 66 69 6c 65 2d 6e 61 6d 65 20 62 75 6e 64 | e-base.(directory-file-name.bund |
| 43bc0 | 6c 65 2d 64 69 72 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 74 61 74 69 63 2d 64 | le-dir)))))))..........(static-d |
| 43be0 | 69 72 20 28 66 69 6c 65 2d 74 72 75 65 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ir.(file-truename............... |
| 43c00 | 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 0a | ........(file-name-as-directory. |
| 43c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 78 70 61 6e 64 2d 66 | .......................(expand-f |
| 43c40 | 69 6c 65 2d 6e 61 6d 65 20 22 73 74 61 74 69 63 22 20 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 | ile-name."static".hugo-base-dir) |
| 43c60 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 65 73 74 2d 64 69 72 20 28 6f 72 20 62 75 6e 64 6c | )))..........(dest-dir.(or.bundl |
| 43c80 | 65 2d 64 69 72 20 73 74 61 74 69 63 2d 64 69 72 29 29 0a 20 20 20 20 20 20 20 20 20 72 65 74 29 | e-dir.static-dir))..........ret) |
| 43ca0 | 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 66 69 6c 65 2d 64 69 72 65 63 74 6f 72 79 2d 70 20 73 | .....(unless.(file-directory-p.s |
| 43cc0 | 74 61 74 69 63 2d 64 69 72 29 0a 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 50 6c | tatic-dir).......(user-error."Pl |
| 43ce0 | 65 61 73 65 20 63 72 65 61 74 65 20 74 68 65 20 25 73 20 64 69 72 65 63 74 6f 72 79 22 20 73 74 | ease.create.the.%s.directory".st |
| 43d00 | 61 74 69 63 2d 64 69 72 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d | atic-dir)).....;;.(message."[ox- |
| 43d20 | 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 49 6d 61 67 65 20 65 78 | hugo.DBG.attch.rewrite].Image.ex |
| 43d40 | 70 6f 72 74 20 64 69 72 20 69 73 3a 20 25 73 22 20 73 74 61 74 69 63 2d 64 69 72 29 0a 20 20 20 | port.dir.is:.%s".static-dir).... |
| 43d60 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 | .;;.(message."[ox-hugo.DBG.attch |
| 43d80 | 20 72 65 77 72 69 74 65 5d 20 70 61 74 68 3a 20 25 73 22 20 70 61 74 68 29 0a 20 20 20 20 3b 3b | .rewrite].path:.%s".path).....;; |
| 43da0 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 | .(message."[ox-hugo.DBG.attch.re |
| 43dc0 | 77 72 69 74 65 5d 20 70 61 74 68 2d 74 72 75 65 3a 20 25 73 22 20 70 61 74 68 2d 74 72 75 65 29 | write].path-true:.%s".path-true) |
| 43de0 | 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 | .....;;.(message."[ox-hugo.DBG.a |
| 43e00 | 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 62 75 6e 64 6c 65 2d 64 69 72 3a 20 25 73 22 20 62 75 | ttch.rewrite].bundle-dir:.%s".bu |
| 43e20 | 6e 64 6c 65 2d 64 69 72 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 | ndle-dir).....;;.(message."[ox-h |
| 43e40 | 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 62 75 6e 64 6c 65 2d 6e 61 | ugo.DBG.attch.rewrite].bundle-na |
| 43e60 | 6d 65 3a 20 25 73 22 20 62 75 6e 64 6c 65 2d 6e 61 6d 65 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 | me:.%s".bundle-name).....;;.(mes |
| 43e80 | 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 | sage."[ox-hugo.DBG.attch.rewrite |
| 43ea0 | 5d 20 64 65 66 61 75 6c 74 2d 64 69 72 3a 20 25 73 22 20 64 65 66 61 75 6c 74 2d 64 69 72 65 63 | ].default-dir:.%s".default-direc |
| 43ec0 | 74 6f 72 79 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 | tory).....;;.(message."[ox-hugo. |
| 43ee0 | 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 64 65 73 74 2d 64 69 72 3a 20 25 73 22 | DBG.attch.rewrite].dest-dir:.%s" |
| 43f00 | 20 64 65 73 74 2d 64 69 72 29 0a 20 20 20 20 28 69 66 20 28 61 6e 64 20 28 66 69 6c 65 2d 65 78 | .dest-dir).....(if.(and.(file-ex |
| 43f20 | 69 73 74 73 2d 70 20 70 61 74 68 2d 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ists-p.path-true)..............( |
| 43f40 | 6d 65 6d 62 65 72 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 65 78 74 65 6e 73 69 6f 6e 20 70 61 74 68 | member.(file-name-extension.path |
| 43f60 | 2d 75 6e 68 65 78 69 66 69 65 64 29 20 65 78 70 6f 72 74 61 62 6c 65 73 29 0a 20 20 20 20 20 20 | -unhexified).exportables)....... |
| 43f80 | 20 20 20 20 20 20 20 28 66 69 6c 65 2d 64 69 72 65 63 74 6f 72 79 2d 70 20 64 65 73 74 2d 64 69 | .......(file-directory-p.dest-di |
| 43fa0 | 72 29 29 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | r)).........(progn...........;;. |
| 43fc0 | 43 68 65 63 6b 20 69 66 20 60 70 61 74 68 2d 74 72 75 65 27 20 69 73 20 61 6c 72 65 61 64 79 20 | Check.if.`path-true'.is.already. |
| 43fe0 | 69 6e 73 69 64 65 20 60 64 65 73 74 2d 64 69 72 27 2e 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 | inside.`dest-dir'............(if |
| 44000 | 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 64 65 73 | .(string-match.(regexp-quote.des |
| 44020 | 74 2d 64 69 72 29 20 70 61 74 68 2d 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t-dir).path-true)............... |
| 44040 | 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 73 6f 2c | (progn.................;;.If.so, |
| 44060 | 20 72 65 74 75 72 6e 20 2a 6f 6e 6c 79 2a 20 74 68 65 20 70 61 74 68 20 63 6f 6e 73 69 64 65 72 | .return.*only*.the.path.consider |
| 44080 | 69 6e 67 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 73 74 69 | ing.the.................;;.desti |
| 440a0 | 6e 61 74 69 6f 6e 20 64 69 72 65 63 74 6f 72 79 20 61 73 20 72 6f 6f 74 2e 0a 20 20 20 20 20 20 | nation.directory.as.root........ |
| 440c0 | 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 20 22 2f 22 20 | ..........(setq.ret.(concat."/". |
| 440e0 | 28 73 75 62 73 74 72 69 6e 67 20 70 61 74 68 2d 74 72 75 65 20 28 6d 61 74 63 68 2d 65 6e 64 20 | (substring.path-true.(match-end. |
| 44100 | 30 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 66 69 6c 65 2d | 0))))).............(let*.((file- |
| 44120 | 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | name-relative-path.............. |
| 44140 | 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......(cond.................... |
| 44160 | 20 20 28 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 2f 73 74 61 74 69 63 2f 22 20 70 61 74 68 | ..((string-match."/static/".path |
| 44180 | 2d 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | -true).......................;;. |
| 441a0 | 60 70 61 74 68 2d 74 72 75 65 27 20 69 73 20 22 2f 66 6f 6f 2f 73 74 61 74 69 63 2f 62 61 72 2f | `path-true'.is."/foo/static/bar/ |
| 441c0 | 62 61 7a 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | baz.png",....................... |
| 441e0 | 3b 3b 20 72 65 74 75 72 6e 20 22 62 61 72 2f 62 61 7a 2e 70 6e 67 22 2e 0a 20 20 20 20 20 20 20 | ;;.return."bar/baz.png"......... |
| 44200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d | ...............;;.(message."[ox- |
| 44220 | 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 70 61 74 68 20 63 6f 6e | hugo.DBG.attch.rewrite].path.con |
| 44240 | 74 61 69 6e 73 20 73 74 61 74 69 63 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tains.static").................. |
| 44260 | 20 20 20 20 20 3b 3b 20 49 66 20 70 61 74 68 2d 74 72 75 65 20 63 6f 6e 74 61 69 6e 73 20 22 2f | .....;;.If.path-true.contains."/ |
| 44280 | 73 74 61 74 69 63 2f 22 2c 20 73 65 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | static/",.set.the............... |
| 442a0 | 20 20 20 20 20 20 20 20 3b 3b 20 60 64 65 73 74 2d 64 69 72 27 20 74 6f 20 60 73 74 61 74 69 63 | ........;;.`dest-dir'.to.`static |
| 442c0 | 2d 64 69 72 27 20 28 65 76 65 6e 20 69 66 20 74 68 69 73 20 69 73 20 61 0a 20 20 20 20 20 20 20 | -dir'.(even.if.this.is.a........ |
| 442e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 61 67 65 20 62 75 6e 64 6c 65 29 2e 0a | ...............;;.page.bundle).. |
| 44300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 73 74 | ......................(setq.dest |
| 44320 | 2d 64 69 72 20 73 74 61 74 69 63 2d 64 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -dir.static-dir)................ |
| 44340 | 20 20 20 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 20 70 61 74 68 2d 74 72 75 65 20 28 6d 61 74 | .......(substring.path-true.(mat |
| 44360 | 63 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ch-end.0)))..................... |
| 44380 | 20 28 62 75 6e 64 6c 65 2d 64 69 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(bundle-dir.................... |
| 443a0 | 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...(cond........................ |
| 443c0 | 28 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 28 63 6f 6e 63 61 74 20 22 2f 22 20 28 72 65 67 65 | ((string-match.(concat."/".(rege |
| 443e0 | 78 70 2d 71 75 6f 74 65 20 62 75 6e 64 6c 65 2d 6e 61 6d 65 29 20 22 2f 22 29 20 70 61 74 68 2d | xp-quote.bundle-name)."/").path- |
| 44400 | 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | true).........................;; |
| 44420 | 20 54 68 69 73 20 69 73 20 61 20 70 61 67 65 20 62 75 6e 64 6c 65 2e 20 20 60 62 75 6e 64 6c 65 | .This.is.a.page.bundle...`bundle |
| 44440 | 2d 6e 61 6d 65 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -name'.is....................... |
| 44460 | 20 20 3b 3b 20 22 3c 42 55 4e 44 4c 45 5f 4e 41 4d 45 3e 22 2c 20 60 70 61 74 68 2d 74 72 75 65 | ..;;."<BUNDLE_NAME>",.`path-true |
| 44480 | 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | '.is.........................;;. |
| 444a0 | 22 3c 4f 52 47 5f 46 49 4c 45 5f 44 49 52 3e 2f 62 61 72 2f 3c 42 55 4e 44 4c 45 5f 4e 41 4d 45 | "<ORG_FILE_DIR>/bar/<BUNDLE_NAME |
| 444c0 | 3e 2f 7a 6f 6f 2f 62 61 7a 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | >/zoo/baz.png",................. |
| 444e0 | 20 20 20 20 20 20 20 20 3b 3b 20 72 65 74 75 72 6e 20 22 7a 6f 6f 2f 62 61 7a 2e 70 6e 67 22 2e | ........;;.return."zoo/baz.png". |
| 44500 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | .........................;;.(mes |
| 44520 | 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 | sage."[ox-hugo.DBG.attch.rewrite |
| 44540 | 20 42 55 4e 44 4c 45 20 31 5d 20 62 75 6e 64 6c 65 2d 6e 61 6d 65 3a 20 25 73 22 20 62 75 6e 64 | .BUNDLE.1].bundle-name:.%s".bund |
| 44560 | 6c 65 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | le-name)........................ |
| 44580 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 | .;;.(message."[ox-hugo.DBG.attch |
| 445a0 | 20 72 65 77 72 69 74 65 20 42 55 4e 44 4c 45 20 31 5d 20 61 74 74 63 68 20 61 6c 6f 6e 67 20 77 | .rewrite.BUNDLE.1].attch.along.w |
| 445c0 | 69 74 68 20 4f 72 67 20 63 6f 6e 74 65 6e 74 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ith.Org.content:.%s"............ |
| 445e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 28 73 75 62 73 74 72 | .............;;..........(substr |
| 44600 | 69 6e 67 20 70 61 74 68 2d 74 72 75 65 20 28 6d 61 74 63 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 | ing.path-true.(match-end.0)))... |
| 44620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 | ......................(substring |
| 44640 | 20 70 61 74 68 2d 74 72 75 65 20 28 6d 61 74 63 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 | .path-true.(match-end.0)))...... |
| 44660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 | ..................((string-match |
| 44680 | 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 64 65 66 61 75 6c 74 2d 64 69 72 65 63 74 6f 72 79 | .(regexp-quote.default-directory |
| 446a0 | 29 20 70 61 74 68 2d 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ).path-true).................... |
| 446c0 | 20 20 20 20 20 3b 3b 20 54 68 69 73 20 69 73 20 61 20 70 61 67 65 20 62 75 6e 64 6c 65 2e 20 20 | .....;;.This.is.a.page.bundle... |
| 446e0 | 60 64 65 66 61 75 6c 74 2d 70 61 74 68 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | `default-path'.is............... |
| 44700 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 3c 4f 52 47 5f 46 49 4c 45 5f 44 49 52 3e 2f 22 2c 20 | ..........;;."<ORG_FILE_DIR>/",. |
| 44720 | 60 70 61 74 68 2d 74 72 75 65 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | `path-true'.is.................. |
| 44740 | 20 20 20 20 20 20 20 3b 3b 20 22 3c 4f 52 47 5f 46 49 4c 45 5f 44 49 52 3e 2f 62 61 72 2f 62 61 | .......;;."<ORG_FILE_DIR>/bar/ba |
| 44760 | 7a 2e 70 6e 67 22 2c 20 72 65 74 75 72 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | z.png",.return.................. |
| 44780 | 20 20 20 20 20 20 20 3b 3b 20 22 62 61 72 2f 62 61 7a 2e 70 6e 67 22 2e 0a 20 20 20 20 20 20 20 | .......;;."bar/baz.png"......... |
| 447a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f | .................;;.(message."[o |
| 447c0 | 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 20 42 55 4e 44 4c 45 20 | x-hugo.DBG.attch.rewrite.BUNDLE. |
| 447e0 | 32 5d 20 61 74 74 63 68 20 61 6c 6f 6e 67 20 77 69 74 68 20 4f 72 67 20 63 6f 6e 74 65 6e 74 3a | 2].attch.along.with.Org.content: |
| 44800 | 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | .%s".........................;;. |
| 44820 | 20 20 20 20 20 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 20 70 61 74 68 2d 74 72 75 65 20 28 6d | .........(substring.path-true.(m |
| 44840 | 61 74 63 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | atch-end.0)))................... |
| 44860 | 20 20 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 20 70 61 74 68 2d 74 72 75 65 20 28 6d 61 74 63 | ......(substring.path-true.(matc |
| 44880 | 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | h-end.0)))...................... |
| 448a0 | 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | ..(t.........................;;. |
| 448c0 | 54 68 69 73 20 69 73 20 61 20 70 61 67 65 20 62 75 6e 64 6c 65 2e 20 20 60 64 65 66 61 75 6c 74 | This.is.a.page.bundle...`default |
| 448e0 | 2d 70 61 74 68 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -path'.is....................... |
| 44900 | 20 20 3b 3b 20 22 3c 4f 52 47 5f 46 49 4c 45 5f 44 49 52 3e 2f 22 2c 20 60 70 61 74 68 2d 74 72 | ..;;."<ORG_FILE_DIR>/",.`path-tr |
| 44920 | 75 65 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | ue'.is.........................; |
| 44940 | 3b 20 22 2f 66 6f 6f 2f 62 61 72 2f 62 61 7a 2e 70 6e 67 22 2c 20 72 65 74 75 72 6e 20 22 62 61 | ;."/foo/bar/baz.png",.return."ba |
| 44960 | 7a 2e 70 6e 67 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | z.png".......................... |
| 44980 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 | ;;.(message."[ox-hugo.DBG.attch. |
| 449a0 | 72 65 77 72 69 74 65 20 42 55 4e 44 4c 45 20 33 5d 20 61 74 74 63 68 20 6e 65 69 74 68 65 72 20 | rewrite.BUNDLE.3].attch.neither. |
| 449c0 | 69 6e 20 73 74 61 74 69 63 20 6e 6f 72 20 69 6e 20 4f 72 67 20 66 69 6c 65 20 64 69 72 22 29 0a | in.static.nor.in.Org.file.dir"). |
| 449e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 | ........................(file-na |
| 44a00 | 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 20 70 61 74 68 2d 75 6e 68 65 78 69 66 69 65 64 29 | me-nondirectory.path-unhexified) |
| 44a20 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 | )))......................(t..... |
| 44a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 6c 73 65 2c 20 60 70 61 74 68 | ..................;;.Else,.`path |
| 44a60 | 2d 74 72 75 65 27 20 69 73 20 22 2f 66 6f 6f 2f 62 61 72 2f 62 61 7a 2e 70 6e 67 22 2c 0a 20 20 | -true'.is."/foo/bar/baz.png",... |
| 44a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 72 65 74 75 72 6e 20 22 6f | ....................;;.return."o |
| 44aa0 | 78 2d 68 75 67 6f 2f 62 61 7a 2e 70 6e 67 22 2e 20 20 22 6f 78 2d 68 75 67 6f 22 20 69 73 20 74 | x-hugo/baz.png"..."ox-hugo".is.t |
| 44ac0 | 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 66 61 | he.......................;;.defa |
| 44ae0 | 75 6c 74 20 76 61 6c 75 65 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ult.value.of.................... |
| 44b00 | 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 | ...;;.`org-hugo-default-static-s |
| 44b20 | 75 62 64 69 72 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 27 2e 0a 20 20 20 20 | ubdirectory-for-externals'...... |
| 44b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b | ..................;;.(message."[ |
| 44b60 | 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 6e 65 69 74 68 | ox-hugo.DBG.attch.rewrite].neith |
| 44b80 | 65 72 20 42 55 4e 44 4c 45 20 6e 6f 72 20 63 6f 6e 74 61 69 6e 73 20 73 74 61 74 69 63 22 29 0a | er.BUNDLE.nor.contains.static"). |
| 44ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 0a 20 20 | ......................(concat... |
| 44bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d | .....................(file-name- |
| 44be0 | 61 73 2d 64 69 72 65 63 74 6f 72 79 20 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 | as-directory.org-hugo-default-st |
| 44c00 | 61 74 69 63 2d 73 75 62 64 69 72 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 29 | atic-subdirectory-for-externals) |
| 44c20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 | ........................(file-na |
| 44c40 | 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 20 70 61 74 68 2d 75 6e 68 65 78 69 66 69 65 64 29 | me-nondirectory.path-unhexified) |
| 44c60 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 73 74 2d 70 61 | ))))....................(dest-pa |
| 44c80 | 74 68 20 28 63 6f 6e 63 61 74 20 64 65 73 74 2d 64 69 72 20 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 | th.(concat.dest-dir.file-name-re |
| 44ca0 | 6c 61 74 69 76 65 2d 70 61 74 68 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lative-path))................... |
| 44cc0 | 20 28 64 65 73 74 2d 70 61 74 68 2d 64 69 72 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 64 69 72 65 63 | .(dest-path-dir.(file-name-direc |
| 44ce0 | 74 6f 72 79 20 64 65 73 74 2d 70 61 74 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tory.dest-path)))............... |
| 44d00 | 3b 3b 20 54 68 65 20 60 64 65 73 74 2d 64 69 72 27 20 77 6f 75 6c 64 20 61 6c 72 65 61 64 79 20 | ;;.The.`dest-dir'.would.already. |
| 44d20 | 65 78 69 73 74 2e 20 20 42 75 74 20 69 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | exist...But.if...............;;. |
| 44d40 | 60 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 68 27 20 69 73 20 22 69 6d | `file-name-relative-path'.is."im |
| 44d60 | 61 67 65 73 2f 69 6d 61 67 65 2e 70 6e 67 22 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ages/image.png".or.............. |
| 44d80 | 20 3b 3b 20 22 66 6f 6f 2f 62 61 72 2e 74 78 74 22 2c 20 69 74 27 73 20 6c 69 6b 65 6c 79 20 74 | .;;."foo/bar.txt",.it's.likely.t |
| 44da0 | 68 61 74 20 22 60 64 65 73 74 2d 64 69 72 27 2f 69 6d 61 67 65 73 22 0a 20 20 20 20 20 20 20 20 | hat."`dest-dir'/images"......... |
| 44dc0 | 20 20 20 20 20 20 3b 3b 20 6f 72 20 22 60 64 65 73 74 2d 64 69 72 27 2f 66 6f 6f 22 20 6d 69 67 | ......;;.or."`dest-dir'/foo".mig |
| 44de0 | 68 74 20 6e 6f 74 20 65 78 69 73 74 2e 20 20 53 6f 20 63 72 65 61 74 65 20 74 68 6f 73 65 0a 20 | ht.not.exist...So.create.those.. |
| 44e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 66 20 6e 65 65 64 65 64 20 62 65 6c 6f 77 2e | .............;;.if.needed.below. |
| 44e20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 66 69 6c 65 2d 65 78 69 | ...............(unless.(file-exi |
| 44e40 | 73 74 73 2d 70 20 64 65 73 74 2d 70 61 74 68 2d 64 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 | sts-p.dest-path-dir)............ |
| 44e60 | 20 20 20 20 20 28 6d 6b 64 69 72 20 64 65 73 74 2d 70 61 74 68 2d 64 69 72 20 3a 70 61 72 65 6e | .....(mkdir.dest-path-dir.:paren |
| 44e80 | 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | ts))...............;;.(message." |
| 44ea0 | 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 66 69 6c 65 | [ox-hugo.DBG.attch.rewrite].file |
| 44ec0 | 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 68 3a 20 25 73 22 20 66 69 6c 65 2d 6e 61 | -name-relative-path:.%s".file-na |
| 44ee0 | 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | me-relative-path)............... |
| 44f00 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 | ;;.(message."[ox-hugo.DBG.attch. |
| 44f20 | 72 65 77 72 69 74 65 5d 20 64 65 73 74 2d 70 61 74 68 3a 20 25 73 22 20 64 65 73 74 2d 70 61 74 | rewrite].dest-path:.%s".dest-pat |
| 44f40 | 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f | h)...............;;.(message."[o |
| 44f60 | 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 64 65 73 74 2d 70 | x-hugo.DBG.attch.rewrite].dest-p |
| 44f80 | 61 74 68 2d 64 69 72 3a 20 25 73 22 20 64 65 73 74 2d 70 61 74 68 2d 64 69 72 29 0a 0a 20 20 20 | ath-dir:.%s".dest-path-dir)..... |
| 44fa0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 20 74 68 65 20 63 6f 70 79 20 6f 6e 6c 79 20 69 | ...........;;.Do.the.copy.only.i |
| 44fc0 | 66 20 74 68 65 20 66 69 6c 65 20 74 6f 20 62 65 20 63 6f 70 69 65 64 20 69 73 20 6e 65 77 65 72 | f.the.file.to.be.copied.is.newer |
| 44fe0 | 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 6f 65 73 6e 27 74 20 65 78 69 | .or...............;;.doesn't.exi |
| 45000 | 73 74 20 69 6e 20 74 68 65 20 73 74 61 74 69 63 20 64 69 72 2e 0a 20 20 20 20 20 20 20 20 20 20 | st.in.the.static.dir............ |
| 45020 | 20 20 20 20 28 77 68 65 6e 20 28 66 69 6c 65 2d 6e 65 77 65 72 2d 74 68 61 6e 2d 66 69 6c 65 2d | ....(when.(file-newer-than-file- |
| 45040 | 70 20 70 61 74 68 2d 74 72 75 65 20 64 65 73 74 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 | p.path-true.dest-path).......... |
| 45060 | 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 43 6f 70 69 65 | .......(message."[ox-hugo].Copie |
| 45080 | 64 20 25 53 20 74 6f 20 25 53 22 20 70 61 74 68 2d 74 72 75 65 20 64 65 73 74 2d 70 61 74 68 29 | d.%S.to.%S".path-true.dest-path) |
| 450a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 70 79 2d 66 69 6c 65 20 70 61 74 68 | .................(copy-file.path |
| 450c0 | 2d 74 72 75 65 20 64 65 73 74 2d 70 61 74 68 20 3a 6f 6b 2d 69 66 2d 61 6c 72 65 61 64 79 2d 65 | -true.dest-path.:ok-if-already-e |
| 450e0 | 78 69 73 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 | xists))...............(setq.ret. |
| 45100 | 28 69 66 20 28 61 6e 64 20 62 75 6e 64 6c 65 2d 64 69 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 | (if.(and.bundle-dir............. |
| 45120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 62 75 | .....................(string=.bu |
| 45140 | 6e 64 6c 65 2d 64 69 72 20 64 65 73 74 2d 64 69 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ndle-dir.dest-dir))............. |
| 45160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 61 74 74 61 63 68 6d 65 6e 74 | ................;;.If.attachment |
| 45180 | 73 20 61 72 65 20 63 6f 70 69 65 64 20 74 6f 20 74 68 65 20 62 75 6e 64 6c 65 0a 20 20 20 20 20 | s.are.copied.to.the.bundle...... |
| 451a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 69 72 65 63 74 | .......................;;.direct |
| 451c0 | 6f 72 79 2c 20 64 6f 6e 27 74 20 70 72 65 66 69 78 20 74 68 65 20 70 61 74 68 20 61 73 20 22 2f | ory,.don't.prefix.the.path.as."/ |
| 451e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | ".............................;; |
| 45200 | 20 61 73 20 74 68 6f 73 65 20 70 61 74 68 73 20 77 6f 6e 27 74 20 65 78 69 73 74 20 61 74 20 74 | .as.those.paths.won't.exist.at.t |
| 45220 | 68 65 20 73 69 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | he.site......................... |
| 45240 | 20 20 20 20 3b 3b 20 62 61 73 65 20 55 52 4c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....;;.base.URL................. |
| 45260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d | .............file-name-relative- |
| 45280 | 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | path...........................( |
| 452a0 | 63 6f 6e 63 61 74 20 22 2f 22 20 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 | concat."/".file-name-relative-pa |
| 452c0 | 74 68 29 29 29 29 29 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 70 61 74 68 29 29 0a | th)))))).......(setq.ret.path)). |
| 452e0 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 44 42 47 20 61 74 | ....;;.(message."[ox-hugo.DBG.at |
| 45300 | 74 63 68 20 72 65 77 72 69 74 65 5d 20 72 65 74 75 72 6e 65 64 20 70 61 74 68 3a 20 25 73 22 20 | tch.rewrite].returned.path:.%s". |
| 45320 | 72 65 74 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 3b 3b 3b 3b 20 50 61 72 61 67 72 61 70 68 0a 28 | ret).....ret))..;;;;.Paragraph.( |
| 45340 | 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 2d 2d 70 72 6f 63 65 73 | defun.org-hugo-paragraph--proces |
| 45360 | 73 2d 63 6f 6e 74 65 6e 74 20 28 70 61 72 61 67 72 61 70 68 20 63 6f 6e 74 65 6e 74 73 20 69 6e | s-content.(paragraph.contents.in |
| 45380 | 66 6f 29 0a 20 20 22 50 72 6f 63 65 73 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 6f 66 20 70 61 | fo)..."Process.the.content.of.pa |
| 453a0 | 72 61 67 72 61 70 68 73 2e 0a 0a 2d 20 50 72 65 76 65 6e 74 20 75 6e 77 61 6e 74 65 64 20 73 70 | ragraphs...-.Prevent.unwanted.sp |
| 453c0 | 61 63 65 73 20 77 68 65 6e 20 6a 6f 69 6e 69 6e 67 20 43 68 69 6e 65 73 65 2f 4a 61 70 61 6e 65 | aces.when.joining.Chinese/Japane |
| 453e0 | 73 65 20 6c 69 6e 65 73 2e 0a 2d 20 4a 6f 69 6e 20 61 6c 6c 20 6c 69 6e 65 73 20 69 6e 20 61 20 | se.lines..-.Join.all.lines.in.a. |
| 45400 | 70 61 72 61 67 72 61 70 68 20 69 6e 74 6f 20 61 20 73 69 6e 67 6c 65 20 6c 69 6e 65 20 69 66 0a | paragraph.into.a.single.line.if. |
| 45420 | 20 20 60 3a 68 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 27 20 70 6c 69 73 74 | ..`:hugo-preserve-filling'.plist |
| 45440 | 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 69 6c 2e 0a 2d 20 41 64 64 20 5c 22 26 6e 62 73 70 3b | .property.is.nil..-.Add.\" |
| 45460 | 5c 22 20 48 54 4d 4c 20 65 6e 74 69 74 79 20 62 65 66 6f 72 65 20 66 6f 6f 74 6e 6f 74 65 20 61 | \".HTML.entity.before.footnote.a |
| 45480 | 6e 63 68 6f 72 73 20 73 6f 20 74 68 61 74 20 74 68 65 0a 20 20 61 6e 63 68 6f 72 73 20 77 6f 6e | nchors.so.that.the...anchors.won |
| 454a0 | 27 74 20 62 65 20 6f 6e 20 61 20 73 65 70 61 72 61 74 65 20 6c 69 6e 65 20 62 79 20 74 68 65 6d | 't.be.on.a.separate.line.by.them |
| 454c0 | 73 65 6c 76 65 73 2e 0a 0a 52 65 74 75 72 6e 20 74 68 65 20 70 72 6f 63 65 73 73 65 64 20 43 4f | selves...Return.the.processed.CO |
| 454e0 | 4e 54 45 4e 54 53 20 73 74 72 69 6e 67 20 66 72 6f 6d 20 74 68 65 20 50 41 52 41 47 52 41 50 48 | NTENTS.string.from.the.PARAGRAPH |
| 45500 | 20 65 6c 65 6d 65 6e 74 2e 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 | .element..INFO.is.a.plist.used.a |
| 45520 | 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c | s.a.communication.channel."...(l |
| 45540 | 65 74 20 28 28 72 65 74 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 20 20 3b 3b 20 4a 6f 69 6e 20 | et.((ret.contents)).....;;.Join. |
| 45560 | 63 6f 6e 73 65 63 75 74 69 76 65 20 43 68 69 6e 65 73 65 2c 20 4a 61 70 61 6e 65 73 65 20 6c 69 | consecutive.Chinese,.Japanese.li |
| 45580 | 6e 65 73 20 69 6e 74 6f 20 61 20 73 69 6e 67 6c 65 20 6c 6f 6e 67 0a 20 20 20 20 3b 3b 20 6c 69 | nes.into.a.single.long.....;;.li |
| 455a0 | 6e 65 20 77 69 74 68 6f 75 74 20 75 6e 77 61 6e 74 65 64 20 73 70 61 63 65 20 69 6e 62 65 74 77 | ne.without.unwanted.space.inbetw |
| 455c0 | 65 65 6e 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6c 61 6e 67 2d 63 | een......(when.(org-hugo--lang-c |
| 455e0 | 6a 6b 2d 70 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 65 6d 61 63 | jk-p.info).......;;.https://emac |
| 45600 | 73 2d 63 68 69 6e 61 2e 6f 72 67 2f 74 2f 6f 78 2d 68 75 67 6f 2d 61 75 74 6f 2d 66 69 6c 6c 2d | s-china.org/t/ox-hugo-auto-fill- |
| 45620 | 6d 6f 64 65 2d 6d 61 72 6b 64 6f 77 6e 2f 39 35 34 37 2f 35 0a 20 20 20 20 20 20 3b 3b 20 45 78 | mode-markdown/9547/5.......;;.Ex |
| 45640 | 61 6d 70 6c 65 3a 20 e8 bf 99 e6 98 af e4 b8 80 e4 b8 aa e6 b5 8b e8 af 95 20 20 20 20 20 2d 3e | ample:........................-> |
| 45660 | 20 e8 bf 99 e6 98 af e4 b8 80 e4 b8 aa e6 b5 8b e8 af 95 e6 96 87 e6 9c ac 20 28 22 54 68 69 73 | ..........................("This |
| 45680 | 20 69 73 20 61 20 74 65 73 74 20 74 65 78 74 22 29 0a 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 | .is.a.test.text").......;;...... |
| 456a0 | 20 20 20 20 e6 96 87 e6 9c ac 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 72 65 70 6c | .................(setq.ret.(repl |
| 456c0 | 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 | ace-regexp-in-string............ |
| 456e0 | 20 20 20 20 20 20 22 5c 5c 28 5b 5b 3a 6d 75 6c 74 69 62 79 74 65 3a 5d 5d 5c 5c 29 5b 5b 3a 62 | ......"\\([[:multibyte:]]\\)[[:b |
| 45700 | 6c 61 6e 6b 3a 5d 5d 2a 5c 6e 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 5c 28 5b 5b 3a 6d 75 6c 74 | lank:]]*\n[[:blank:]]*\\([[:mult |
| 45720 | 69 62 79 74 65 3a 5d 5d 5c 5c 29 22 20 22 5c 5c 31 5c 5c 32 22 0a 20 20 20 20 20 20 20 20 20 20 | ibyte:]]\\)"."\\1\\2"........... |
| 45740 | 20 20 20 20 20 20 20 72 65 74 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | .......ret)).......;;.(message." |
| 45760 | 5b 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 2d 2d 70 72 6f 63 65 73 73 2d 63 6f 6e | [org-hugo-paragraph--process-con |
| 45780 | 74 65 6e 74 20 44 42 47 5d 20 63 6f 6e 74 65 6e 74 73 20 31 3a 20 25 73 22 20 63 6f 6e 74 65 6e | tent.DBG].contents.1:.%s".conten |
| 457a0 | 74 73 29 0a 20 20 20 20 20 20 29 0a 0a 20 20 20 20 3b 3b 20 4a 6f 69 6e 20 61 6c 6c 20 63 6f 6e | ts).......)......;;.Join.all.con |
| 457c0 | 74 65 6e 74 20 69 6e 74 6f 20 61 20 73 69 6e 67 6c 65 20 6c 69 6e 65 20 28 66 6f 6c 6c 6f 77 65 | tent.into.a.single.line.(followe |
| 457e0 | 64 20 62 79 20 61 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 3b 3b 20 69 66 20 3a 68 75 67 6f 2d | d.by.a.newline).....;;.if.:hugo- |
| 45800 | 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 69 73 20 6e 69 6c 2e 0a 20 20 20 20 28 75 6e | preserve-filling.is.nil......(un |
| 45820 | 6c 65 73 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 | less.(org-hugo--plist-get-true-p |
| 45840 | 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 29 0a 20 20 | .info.:hugo-preserve-filling)... |
| 45860 | 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 20 28 6d 61 70 63 6f 6e 63 61 74 | ....(setq.ret.(concat.(mapconcat |
| 45880 | 20 27 69 64 65 6e 74 69 74 79 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 72 65 74 29 20 22 20 | .'identity.(split-string.ret).". |
| 458a0 | 22 29 20 22 5c 6e 22 29 29 29 0a 0a 20 20 20 20 3b 3b 20 53 70 65 63 69 61 6c 20 70 72 6f 63 65 | ")."\n")))......;;.Special.proce |
| 458c0 | 73 73 69 6e 67 20 66 6f 72 20 66 6f 6f 74 6e 6f 74 65 73 2e 0a 20 20 20 20 28 73 65 74 71 20 72 | ssing.for.footnotes......(setq.r |
| 458e0 | 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 | et.(replace-regexp-in-string.... |
| 45900 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 47 6c 75 65 20 66 6f 6f 74 6e 6f 74 65 73 20 74 6f | ............;;.Glue.footnotes.to |
| 45920 | 20 74 68 65 20 77 6f 72 64 73 20 62 65 66 6f 72 65 20 74 68 65 6d 20 75 73 69 6e 67 20 26 6e 62 | .the.words.before.them.using.&nb |
| 45940 | 73 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 6f 20 74 68 61 74 20 74 68 | sp;................;;.so.that.th |
| 45960 | 65 20 66 6f 6f 74 6e 6f 74 65 20 72 65 66 65 72 65 6e 63 65 20 64 6f 65 73 20 6e 6f 74 20 65 6e | e.footnote.reference.does.not.en |
| 45980 | 64 20 75 70 20 6f 6e 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 65 77 20 | d.up.on.a................;;.new. |
| 459a0 | 6c 69 6e 65 20 62 79 20 69 74 73 65 6c 66 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | line.by.itself.................; |
| 459c0 | 3b 20 22 73 6f 6d 65 74 68 69 6e 67 20 46 4e 22 20 2d 3e 20 22 73 6f 6d 65 74 68 69 6e 67 26 6e | ;."something.FN".->."something&n |
| 459e0 | 62 73 70 3b 46 4e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5b 5b 3a 62 6c 61 6e 6b | bsp;FN"................"[[:blank |
| 45a00 | 3a 5d 5d 2b 5c 5c 28 5c 5c 5b 5c 5c 5e 5b 5e 5d 5d 2b 5c 5c 5d 5c 5c 29 22 20 22 26 6e 62 73 70 | :]]+\\(\\[\\^[^]]+\\]\\)"."  |
| 45a20 | 3b 5c 5c 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 | ;\\1"................(replace-re |
| 45a40 | 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | gexp-in-string.................; |
| 45a60 | 3b 20 22 46 4e 20 2e 22 20 2d 3e 20 22 46 4e 2e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ;."FN..".->."FN."............... |
| 45a80 | 20 20 22 5c 5c 28 5c 5c 5b 5c 5c 5e 5b 5e 5d 5d 2b 5c 5c 5d 5c 5c 29 5b 5b 3a 62 6c 61 6e 6b 3a | .."\\(\\[\\^[^]]+\\]\\)[[:blank: |
| 45aa0 | 5d 5d 2a 5c 5c 28 5b 2e 5d 2b 5c 5c 29 22 20 22 5c 5c 31 5c 5c 32 22 0a 20 20 20 20 20 20 20 20 | ]]*\\([.]+\\)"."\\1\\2"......... |
| 45ac0 | 20 20 20 20 20 20 20 20 72 65 74 29 29 29 0a 0a 20 20 20 20 3b 3b 20 45 73 63 61 70 65 20 61 6e | ........ret)))......;;.Escape.an |
| 45ae0 | 79 20 6c 69 6e 65 73 20 73 74 61 72 74 69 6e 67 20 77 69 74 68 20 60 23 27 20 77 68 69 63 68 20 | y.lines.starting.with.`#'.which. |
| 45b00 | 69 73 20 74 68 65 20 6d 61 72 6b 75 70 20 66 6f 72 0a 20 20 20 20 3b 3b 20 68 65 61 64 69 6e 67 | is.the.markup.for.....;;.heading |
| 45b20 | 73 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 2e 0a 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 | s.in.Markdown......(setq.ret.(or |
| 45b40 | 67 2d 6d 64 2d 70 61 72 61 67 72 61 70 68 20 70 61 72 61 67 72 61 70 68 20 72 65 74 20 69 6e 66 | g-md-paragraph.paragraph.ret.inf |
| 45b60 | 6f 29 29 0a 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d | o))......;;.(message."[org-hugo- |
| 45b80 | 70 61 72 61 67 72 61 70 68 2d 2d 70 72 6f 63 65 73 73 2d 63 6f 6e 74 65 6e 74 20 44 42 47 5d 20 | paragraph--process-content.DBG]. |
| 45ba0 | 63 6f 6e 74 65 6e 74 73 20 32 3a 20 25 73 22 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 72 65 | contents.2:.%s".contents).....re |
| 45bc0 | 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 20 28 | t))..(defun.org-hugo-paragraph.( |
| 45be0 | 70 61 72 61 67 72 61 70 68 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e | paragraph.contents.info)..."Tran |
| 45c00 | 73 63 6f 64 65 20 50 41 52 41 47 52 41 50 48 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 48 75 67 | scode.PARAGRAPH.element.into.Hug |
| 45c20 | 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 74 | o.Markdown.format..CONTENTS.is.t |
| 45c40 | 68 65 20 70 61 72 61 67 72 61 70 68 20 63 6f 6e 74 65 6e 74 73 2e 20 20 49 4e 46 4f 20 69 73 20 | he.paragraph.contents...INFO.is. |
| 45c60 | 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 0a 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 | a.plist.used.as.a.communication. |
| 45c80 | 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 72 65 6e 74 20 28 6f 72 67 2d | channel."...(let*.((parent.(org- |
| 45ca0 | 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 70 61 72 61 67 72 61 70 68 29 29 0a 20 20 | export-get-parent.paragraph))... |
| 45cc0 | 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 | .......(parent-type.(org-element |
| 45ce0 | 2d 74 79 70 65 20 70 61 72 65 6e 74 29 29 29 0a 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 | -type.parent)))......;;.(message |
| 45d00 | 20 22 5b 6f 78 2d 68 75 67 6f 2d 70 61 72 61 20 44 42 47 5d 20 73 74 61 6e 64 61 6c 6f 6e 65 20 | ."[ox-hugo-para.DBG].standalone. |
| 45d20 | 69 6d 61 67 65 3f 20 25 73 5c 6e 63 6f 6e 74 65 6e 74 73 3a 20 25 73 22 0a 20 20 20 20 3b 3b 20 | image?.%s\ncontents:.%s".....;;. |
| 45d40 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 73 74 61 6e 64 61 6c 6f 6e 65 2d 69 6d | .........(org-html-standalone-im |
| 45d60 | 61 67 65 2d 70 20 70 61 72 61 67 72 61 70 68 20 69 6e 66 6f 29 0a 20 20 20 20 3b 3b 20 20 20 20 | age-p.paragraph.info).....;;.... |
| 45d80 | 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 0a 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 | ......contents)......(cond...... |
| 45da0 | 3b 3b 20 46 69 72 73 74 20 70 61 72 61 67 72 61 70 68 20 69 6e 20 61 6e 20 69 74 65 6d 20 68 61 | ;;.First.paragraph.in.an.item.ha |
| 45dc0 | 73 20 6e 6f 20 74 61 67 20 69 66 20 69 74 20 69 73 20 61 6c 6f 6e 65 20 6f 72 0a 20 20 20 20 20 | s.no.tag.if.it.is.alone.or...... |
| 45de0 | 3b 3b 20 66 6f 6c 6c 6f 77 65 64 2c 20 61 74 20 6d 6f 73 74 2c 20 62 79 20 61 20 73 75 62 2d 6c | ;;.followed,.at.most,.by.a.sub-l |
| 45e00 | 69 73 74 2e 20 28 42 65 6c 6f 77 20 63 6f 6e 64 69 74 69 6f 6e 20 69 73 20 74 61 6b 65 6e 0a 20 | ist..(Below.condition.is.taken.. |
| 45e20 | 20 20 20 20 3b 3b 20 61 73 2d 69 73 20 66 72 6f 6d 20 60 6f 72 67 2d 68 74 6d 6c 2d 70 61 72 61 | ....;;.as-is.from.`org-html-para |
| 45e40 | 67 72 61 70 68 27 29 2e 0a 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 20 70 61 72 65 6e 74 2d 74 | graph').......((and.(eq.parent-t |
| 45e60 | 79 70 65 20 27 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 6f 72 67 2d | ype.'item)............(not.(org- |
| 45e80 | 65 78 70 6f 72 74 2d 67 65 74 2d 70 72 65 76 69 6f 75 73 2d 65 6c 65 6d 65 6e 74 20 70 61 72 61 | export-get-previous-element.para |
| 45ea0 | 67 72 61 70 68 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 | graph.info))............(let.((f |
| 45ec0 | 6f 6c 6c 6f 77 65 72 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 65 78 74 2d 65 6c | ollowers.(org-export-get-next-el |
| 45ee0 | 65 6d 65 6e 74 20 70 61 72 61 67 72 61 70 68 20 69 6e 66 6f 20 32 29 29 29 0a 20 20 20 20 20 20 | ement.paragraph.info.2)))....... |
| 45f00 | 20 20 20 20 20 20 20 28 61 6e 64 20 28 6e 6f 74 20 28 63 64 72 20 66 6f 6c 6c 6f 77 65 72 73 29 | .......(and.(not.(cdr.followers) |
| 45f20 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 71 20 28 6f 72 67 2d 65 | )...................(memq.(org-e |
| 45f40 | 6c 65 6d 65 6e 74 2d 74 79 70 65 20 28 63 61 72 20 66 6f 6c 6c 6f 77 65 72 73 29 29 20 27 28 6e | lement-type.(car.followers)).'(n |
| 45f60 | 69 6c 20 70 6c 61 69 6e 2d 6c 69 73 74 29 29 29 29 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 | il.plain-list))))).......(org-hu |
| 45f80 | 67 6f 2d 70 61 72 61 67 72 61 70 68 2d 2d 70 72 6f 63 65 73 73 2d 63 6f 6e 74 65 6e 74 20 70 61 | go-paragraph--process-content.pa |
| 45fa0 | 72 61 67 72 61 70 68 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 0a 20 20 20 20 20 3b 3b | ragraph.contents.info)).......;; |
| 45fc0 | 20 53 74 61 6e 64 61 6c 6f 6e 65 20 69 6d 61 67 65 2e 0a 20 20 20 20 20 28 28 6f 72 67 2d 68 74 | .Standalone.image.......((org-ht |
| 45fe0 | 6d 6c 2d 73 74 61 6e 64 61 6c 6f 6e 65 2d 69 6d 61 67 65 2d 70 20 70 61 72 61 67 72 61 70 68 20 | ml-standalone-image-p.paragraph. |
| 46000 | 69 6e 66 6f 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 69 67 75 72 65 2d 72 65 66 20 28 6f | info).......(let.((figure-ref.(o |
| 46020 | 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 70 61 | rg-blackfriday--get-reference.pa |
| 46040 | 72 61 67 72 61 70 68 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 29 0a 20 20 20 | ragraph)).............label).... |
| 46060 | 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 66 69 67 75 | .....(when.(org-string-nw-p.figu |
| 46080 | 72 65 2d 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 66 69 67 75 72 65 2d 72 | re-ref)...........(setq.figure-r |
| 460a0 | 65 66 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 | ef.(replace-regexp-in-string.... |
| 460c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 60 6f 72 67 | ........................."\\`org |
| 460e0 | 2d 70 61 72 61 67 72 61 70 68 2d 2d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -paragraph--"................... |
| 46100 | 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d | ..........(org-blackfriday--get- |
| 46120 | 72 65 66 2d 70 72 65 66 69 78 20 27 66 69 67 75 72 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ref-prefix.'figure)............. |
| 46140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 67 75 72 65 2d 72 65 66 29 29 29 0a 20 20 | ................figure-ref)))... |
| 46160 | 20 20 20 20 20 20 28 73 65 74 71 20 6c 61 62 65 6c 20 28 69 66 20 66 69 67 75 72 65 2d 72 65 66 | ......(setq.label.(if.figure-ref |
| 46180 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 | .........................(format |
| 461a0 | 20 22 3c 61 20 69 64 3d 5c 22 25 73 5c 22 3e 3c 2f 61 3e 5c 6e 5c 6e 22 20 66 69 67 75 72 65 2d | ."<a.id=\"%s\"></a>\n\n".figure- |
| 461c0 | 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 0a | ref)......................."")). |
| 461e0 | 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6c 61 62 65 6c 20 63 6f 6e 74 65 6e 74 73 29 29 | ........(concat.label.contents)) |
| 46200 | 29 0a 0a 20 20 20 20 20 3b 3b 20 4e 6f 72 6d 61 6c 20 70 61 72 61 67 72 61 70 68 2e 0a 20 20 20 | ).......;;.Normal.paragraph..... |
| 46220 | 20 20 28 74 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 61 62 65 6c 20 28 6c 65 74 20 28 28 70 | ..(t.......(let.((label.(let.((p |
| 46240 | 61 72 61 67 72 61 70 68 2d 72 65 66 20 28 61 6e 64 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 | aragraph-ref.(and.(org-element-p |
| 46260 | 72 6f 70 65 72 74 79 20 3a 6e 61 6d 65 20 70 61 72 61 67 72 61 70 68 29 0a 20 20 20 20 20 20 20 | roperty.:name.paragraph)........ |
| 46280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 462a0 | 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 | ......(org-export-get-reference. |
| 462c0 | 70 61 72 61 67 72 61 70 68 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | paragraph.info)))).............. |
| 462e0 | 20 20 20 20 20 20 20 20 28 69 66 20 70 61 72 61 67 72 61 70 68 2d 72 65 66 0a 20 20 20 20 20 20 | ........(if.paragraph-ref....... |
| 46300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 69 | ...................(format."<a.i |
| 46320 | 64 3d 5c 22 25 73 5c 22 3e 3c 2f 61 3e 5c 6e 5c 6e 22 20 70 61 72 61 67 72 61 70 68 2d 72 65 66 | d=\"%s\"></a>\n\n".paragraph-ref |
| 46340 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 29 29 0a | )........................"")))). |
| 46360 | 0a 20 20 20 20 20 20 20 20 3b 3b 20 57 72 61 70 20 74 68 65 20 70 61 72 61 67 72 61 70 68 20 77 | .........;;.Wrap.the.paragraph.w |
| 46380 | 69 74 68 20 48 54 4d 4c 20 64 69 76 20 74 61 67 20 77 69 74 68 20 75 73 65 72 2d 73 70 65 63 69 | ith.HTML.div.tag.with.user-speci |
| 463a0 | 66 69 65 64 0a 20 20 20 20 20 20 20 20 3b 3b 20 61 74 74 72 69 62 75 74 65 73 2e 0a 20 20 20 20 | fied.........;;.attributes...... |
| 463c0 | 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d | ....(org-blackfriday--div-wrap-m |
| 463e0 | 61 79 62 65 0a 20 20 20 20 20 20 20 20 20 70 61 72 61 67 72 61 70 68 0a 20 20 20 20 20 20 20 20 | aybe..........paragraph......... |
| 46400 | 20 28 63 6f 6e 63 61 74 20 6c 61 62 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(concat.label.................. |
| 46420 | 28 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 2d 2d 70 72 6f 63 65 73 73 2d 63 6f 6e | (org-hugo-paragraph--process-con |
| 46440 | 74 65 6e 74 20 70 61 72 61 67 72 61 70 68 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 20 | tent.paragraph.contents.info)).. |
| 46460 | 20 20 20 20 20 20 20 20 69 6e 66 6f 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 53 6f 75 72 63 65 20 | ........info))))))..;;;;.Source. |
| 46480 | 42 6c 6f 63 6b 73 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b | Blocks.(defun.org-hugo-src-block |
| 464a0 | 20 28 73 72 63 2d 62 6c 6f 63 6b 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 43 | .(src-block._contents.info)..."C |
| 464c0 | 6f 6e 76 65 72 74 20 53 52 43 2d 42 4c 4f 43 4b 20 65 6c 65 6d 65 6e 74 20 74 6f 20 48 75 67 6f | onvert.SRC-BLOCK.element.to.Hugo |
| 464e0 | 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 2e 0a 0a 54 68 65 20 4d 61 72 6b 64 | -compatible.Markdown...The.Markd |
| 46500 | 6f 77 6e 20 73 74 79 6c 65 20 74 72 69 70 6c 65 2d 62 61 63 6b 71 75 6f 74 65 64 20 63 6f 64 65 | own.style.triple-backquoted.code |
| 46520 | 20 62 6c 6f 63 6b 73 20 61 72 65 20 63 72 65 61 74 65 64 20 69 66 3a 0a 20 20 2d 20 54 68 65 20 | .blocks.are.created.if:...-.The. |
| 46540 | 48 55 47 4f 5f 43 4f 44 45 5f 46 45 4e 43 45 20 70 72 6f 70 65 72 74 79 20 69 73 20 73 65 74 20 | HUGO_CODE_FENCE.property.is.set. |
| 46560 | 74 6f 20 61 20 6e 6f 6e 2d 6e 69 6c 20 76 61 6c 75 65 0a 20 20 20 20 28 64 65 66 61 75 6c 74 29 | to.a.non-nil.value.....(default) |
| 46580 | 2c 0a 20 20 2d 20 2a 41 4e 44 2a 20 74 68 65 20 48 75 67 6f 20 5c 22 68 69 67 68 6c 69 67 68 74 | ,...-.*AND*.the.Hugo.\"highlight |
| 465a0 | 5c 22 20 73 68 6f 72 74 63 6f 64 65 20 69 73 20 6e 6f 74 20 6e 65 65 64 65 64 20 28 73 65 65 0a | \".shortcode.is.not.needed.(see. |
| 465c0 | 20 20 20 20 62 65 6c 6f 77 29 2e 0a 0a 48 75 67 6f 20 76 30 2e 36 30 2e 30 20 6f 6e 77 61 72 64 | ....below)...Hugo.v0.60.0.onward |
| 465e0 | 73 2c 20 74 68 65 20 60 6d 61 72 6b 75 70 2e 68 69 67 68 6c 69 67 68 74 2e 63 6f 64 65 46 65 6e | s,.the.`markup.highlight.codeFen |
| 46600 | 63 65 73 27 20 28 6e 65 77 20 6e 61 6d 65 0a 66 6f 72 20 74 68 65 20 6f 6c 64 20 60 70 79 67 6d | ces'.(new.name.for.the.old.`pygm |
| 46620 | 65 6e 74 73 43 6f 64 65 46 65 6e 63 65 73 27 29 20 63 6f 6e 66 69 67 20 76 61 72 69 61 62 6c 65 | entsCodeFences').config.variable |
| 46640 | 20 64 65 66 61 75 6c 74 73 20 74 6f 0a 74 72 75 65 2e 20 20 53 65 65 20 74 68 65 20 5c 22 48 69 | .defaults.to.true...See.the.\"Hi |
| 46660 | 67 68 6c 69 67 68 74 69 6e 67 20 69 6e 20 43 6f 64 65 20 46 65 6e 63 65 73 5c 22 20 73 65 63 74 | ghlighting.in.Code.Fences\".sect |
| 46680 | 69 6f 6e 20 6f 6e 0a 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 | ion.on.https://gohugo.io/content |
| 466a0 | 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 73 79 6e 74 61 78 2d 68 69 67 68 6c 69 67 68 74 69 6e 67 2e | -management/syntax-highlighting. |
| 466c0 | 0a 41 74 74 72 69 62 75 74 65 73 20 6c 69 6b 65 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 63 6f | .Attributes.like.highlighting.co |
| 466e0 | 64 65 2c 20 5c 22 6c 69 6e 65 6e 6f 73 5c 22 2c 20 65 74 63 2e 20 61 72 65 20 6e 6f 77 0a 73 75 | de,.\"linenos\",.etc..are.now.su |
| 46700 | 70 70 6f 72 74 65 64 20 77 69 74 68 20 63 6f 64 65 20 66 65 6e 63 65 73 20 74 6f 6f 2e 0a 0a 43 | pported.with.code.fences.too...C |
| 46720 | 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 | ONTENTS.is.nil...INFO.is.a.plist |
| 46740 | 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 0a 63 68 61 6e 6e 65 6c | .used.as.a.communication.channel |
| 46760 | 2e 0a 0a 2d 2d 2d 20 57 68 65 6e 20 69 73 20 74 68 65 20 5c 22 68 69 67 68 6c 69 67 68 74 5c 22 | ...---.When.is.the.\"highlight\" |
| 46780 | 20 73 68 6f 72 74 63 6f 64 65 20 6e 65 65 64 65 64 3f 20 2d 2d 2d 0a 0a 49 74 27 73 20 6e 65 65 | .shortcode.needed?.---..It's.nee |
| 467a0 | 64 65 64 20 6f 6e 6c 79 20 69 6e 20 42 6c 61 63 6b 66 72 69 64 61 79 20 6d 6f 64 65 20 28 60 6f | ded.only.in.Blackfriday.mode.(`o |
| 467c0 | 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 27 20 69 73 0a 6e 69 6c 29 2c 20 61 6e 64 20 69 | rg-hugo-goldmark'.is.nil),.and.i |
| 467e0 | 66 20 61 6e 79 20 6f 66 20 74 68 65 73 65 20 69 73 20 74 72 75 65 3a 0a 20 20 2d 20 43 6f 64 65 | f.any.of.these.is.true:...-.Code |
| 46800 | 20 62 6c 6f 63 6b 73 20 77 69 74 68 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 28 69 66 20 74 68 | .blocks.with.line.numbers.(if.th |
| 46820 | 65 20 2d 6e 20 6f 72 20 2b 6e 20 73 77 69 74 63 68 20 69 73 20 75 73 65 64 29 2e 0a 20 20 2d 20 | e.-n.or.+n.switch.is.used)....-. |
| 46840 | 48 69 67 68 6c 69 67 68 74 20 63 65 72 74 61 69 6e 73 20 6c 69 6e 65 73 20 69 6e 20 74 68 65 20 | Highlight.certains.lines.in.the. |
| 46860 | 63 6f 64 65 20 62 6c 6f 63 6b 20 28 69 66 20 74 68 65 20 3a 68 6c 5f 6c 69 6e 65 73 0a 20 20 20 | code.block.(if.the.:hl_lines.... |
| 46880 | 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 75 73 65 64 29 2e 0a 20 20 2d 20 53 65 74 20 74 68 65 | .parameter.is.used)....-.Set.the |
| 468a0 | 20 60 6c 69 6e 65 6e 6f 73 27 20 61 72 67 75 6d 65 6e 74 20 74 6f 20 74 68 65 20 76 61 6c 75 65 | .`linenos'.argument.to.the.value |
| 468c0 | 20 70 61 73 73 65 64 20 62 79 20 3a 6c 69 6e 65 6e 6f 73 0a 20 20 20 20 28 64 65 66 61 75 6c 74 | .passed.by.:linenos.....(default |
| 468e0 | 73 20 74 6f 20 60 74 72 75 65 27 29 2e 0a 20 20 2d 20 43 6f 64 65 72 65 66 73 20 61 72 65 20 75 | s.to.`true')....-.Coderefs.are.u |
| 46900 | 73 65 64 2e 0a 0a 4e 6f 74 65 3a 20 49 66 20 75 73 69 6e 67 20 61 20 48 75 67 6f 20 76 65 72 73 | sed...Note:.If.using.a.Hugo.vers |
| 46920 | 69 6f 6e 20 6f 6c 64 65 72 20 74 68 61 6e 20 76 30 2e 36 30 2e 30 2c 20 74 68 65 20 75 73 65 72 | ion.older.than.v0.60.0,.the.user |
| 46940 | 0a 2a 6e 65 65 64 73 2a 20 74 6f 20 73 65 74 20 74 68 65 20 60 70 79 67 6d 65 6e 74 73 43 6f 64 | .*needs*.to.set.the.`pygmentsCod |
| 46960 | 65 46 65 6e 63 65 73 27 20 76 61 72 69 61 62 6c 65 20 74 6f 20 60 74 72 75 65 27 20 69 6e 0a 74 | eFences'.variable.to.`true'.in.t |
| 46980 | 68 65 69 72 20 48 75 67 6f 20 73 69 74 65 27 73 20 63 6f 6e 66 69 67 2e 22 0a 20 20 28 6c 65 74 | heir.Hugo.site's.config."...(let |
| 469a0 | 2a 20 28 28 6c 61 6e 67 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a | *.((lang.(org-element-property.: |
| 469c0 | 6c 61 6e 67 75 61 67 65 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 | language.src-block))..........(p |
| 469e0 | 61 72 61 6d 65 74 65 72 73 2d 73 74 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 | arameters-str.(org-element-prope |
| 46a00 | 72 74 79 20 3a 70 61 72 61 6d 65 74 65 72 73 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 | rty.:parameters.src-block))..... |
| 46a20 | 20 20 20 20 20 28 70 61 72 61 6d 65 74 65 72 73 20 28 6f 72 67 2d 62 61 62 65 6c 2d 70 61 72 73 | .....(parameters.(org-babel-pars |
| 46a40 | 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d 65 6e 74 73 20 70 61 72 61 6d 65 74 65 72 73 2d 73 74 | e-header-arguments.parameters-st |
| 46a60 | 72 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 73 2d 66 6d 2d 65 78 74 72 61 20 28 63 64 72 20 28 | r))..........(is-fm-extra.(cdr.( |
| 46a80 | 61 73 73 6f 63 20 3a 66 72 6f 6e 74 5f 6d 61 74 74 65 72 5f 65 78 74 72 61 20 70 61 72 61 6d 65 | assoc.:front_matter_extra.parame |
| 46aa0 | 74 65 72 73 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 | ters)))).....;;.(message."ox-hug |
| 46ac0 | 6f 20 73 72 63 20 5b 64 62 67 5d 20 6c 61 6e 67 3a 20 25 53 22 20 6c 61 6e 67 29 0a 20 20 20 20 | o.src.[dbg].lang:.%S".lang)..... |
| 46ae0 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 70 | ;;.(message."ox-hugo.src.[dbg].p |
| 46b00 | 61 72 61 6d 65 74 65 72 73 3a 20 25 53 22 20 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 20 20 3b | arameters:.%S".parameters).....; |
| 46b20 | 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 69 73 | ;.(message."ox-hugo.src.[dbg].is |
| 46b40 | 2d 66 6d 2d 65 78 74 72 61 3a 20 25 53 22 20 69 73 2d 66 6d 2d 65 78 74 72 61 29 0a 0a 20 20 20 | -fm-extra:.%S".is-fm-extra)..... |
| 46b60 | 20 3b 3b 20 45 78 74 72 61 20 66 72 6f 6e 74 20 6d 61 74 74 65 72 2e 0a 20 20 20 20 28 63 6f 6e | .;;.Extra.front.matter......(con |
| 46b80 | 64 0a 20 20 20 20 20 28 28 61 6e 64 20 69 73 2d 66 6d 2d 65 78 74 72 61 0a 20 20 20 20 20 20 20 | d......((and.is-fm-extra........ |
| 46ba0 | 20 20 20 20 28 6d 65 6d 62 65 72 20 6c 61 6e 67 20 27 28 22 74 6f 6d 6c 22 20 22 79 61 6d 6c 22 | ....(member.lang.'("toml"."yaml" |
| 46bc0 | 29 29 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 6d 2d 66 6f 72 6d 61 74 20 28 70 6c 69 73 | ))).......(let.((fm-format.(plis |
| 46be0 | 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f | t-get.info.:hugo-front-matter-fo |
| 46c00 | 72 6d 61 74 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 20 66 6d 2d 65 78 74 72 61 20 | rmat))).........;;.The.fm-extra. |
| 46c20 | 73 72 63 20 62 6c 6f 63 6b 20 6c 61 6e 67 20 61 6e 64 20 75 73 65 72 2d 73 65 74 20 66 6d 2d 66 | src.block.lang.and.user-set.fm-f |
| 46c40 | 6f 72 6d 61 74 20 68 61 76 65 20 74 6f 0a 20 20 20 20 20 20 20 20 3b 3b 20 62 65 20 74 68 65 20 | ormat.have.to.........;;.be.the. |
| 46c60 | 73 61 6d 65 2e 20 20 45 6c 73 65 2e 20 74 68 61 74 20 73 72 63 20 62 6c 6f 63 6b 20 69 73 20 63 | same...Else..that.src.block.is.c |
| 46c80 | 6f 6d 70 6c 65 74 65 6c 79 20 64 69 73 63 61 72 64 65 64 2e 0a 20 20 20 20 20 20 20 20 28 77 68 | ompletely.discarded..........(wh |
| 46ca0 | 65 6e 20 28 73 74 72 69 6e 67 3d 20 6c 61 6e 67 20 66 6d 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 | en.(string=.lang.fm-format)..... |
| 46cc0 | 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 6d 2d 65 78 74 72 61 20 28 6f 72 67 2d 65 78 70 6f 72 | ......(let.((fm-extra.(org-expor |
| 46ce0 | 74 2d 66 6f 72 6d 61 74 2d 63 6f 64 65 2d 64 65 66 61 75 6c 74 20 73 72 63 2d 62 6c 6f 63 6b 20 | t-format-code-default.src-block. |
| 46d00 | 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | info))).............;;.(message. |
| 46d20 | 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 66 6d 2d 65 78 74 72 61 3a 20 25 53 22 | "ox-hugo.src.[dbg].fm-extra:.%S" |
| 46d40 | 20 66 6d 2d 65 78 74 72 61 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 | .fm-extra).............(plist-pu |
| 46d60 | 74 20 69 6e 66 6f 20 3a 66 6d 2d 65 78 74 72 61 20 66 6d 2d 65 78 74 72 61 29 29 29 0a 20 20 20 | t.info.:fm-extra.fm-extra))).... |
| 46d80 | 20 20 20 20 20 3b 3b 20 44 6f 20 6e 6f 74 20 65 78 70 6f 72 74 20 74 68 65 20 60 3a 66 72 6f 6e | .....;;.Do.not.export.the.`:fron |
| 46da0 | 74 5f 6d 61 74 74 65 72 5f 65 78 74 72 61 27 20 54 4f 4d 4c 2f 59 41 4d 4c 20 73 6f 75 72 63 65 | t_matter_extra'.TOML/YAML.source |
| 46dc0 | 0a 20 20 20 20 20 20 20 20 3b 3b 20 62 6c 6f 63 6b 73 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 20 62 | .........;;.blocks.in.Markdown.b |
| 46de0 | 6f 64 79 2e 0a 20 20 20 20 20 20 20 20 6e 69 6c 29 29 0a 0a 20 20 20 20 20 3b 3b 20 52 65 67 75 | ody..........nil)).......;;.Regu |
| 46e00 | 6c 61 72 20 73 72 63 20 62 6c 6f 63 6b 2e 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 6c 65 | lar.src.block.......(t.......(le |
| 46e20 | 74 2a 20 28 3b 3b 20 53 65 65 20 60 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 73 72 63 2d 62 6c 6f 63 | t*.(;;.See.`org-element-src-bloc |
| 46e40 | 6b 2d 70 61 72 73 65 72 27 20 66 6f 72 20 61 6c 6c 20 53 52 43 2d 42 4c 4f 43 4b 20 70 72 6f 70 | k-parser'.for.all.SRC-BLOCK.prop |
| 46e60 | 65 72 74 69 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 65 2d 6e 75 6d 2d 70 | erties...............(line-num-p |
| 46e80 | 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6e 75 6d 62 65 72 2d 6c | .(org-element-property.:number-l |
| 46ea0 | 69 6e 65 73 20 73 72 63 2d 62 6c 6f 63 6b 29 29 20 3b 4e 6f 6e 2d 6e 69 6c 20 69 66 20 2d 6e 20 | ines.src-block)).;Non-nil.if.-n. |
| 46ec0 | 6f 72 20 2b 6e 20 73 77 69 74 63 68 20 69 73 20 75 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 | or.+n.switch.is.used............ |
| 46ee0 | 20 20 28 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 28 6f 72 20 28 63 64 72 20 28 61 73 73 6f 63 | ..(linenos-style.(or.(cdr.(assoc |
| 46f00 | 20 3a 6c 69 6e 65 6e 6f 73 20 70 61 72 61 6d 65 74 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 | .:linenos.parameters)).......... |
| 46f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 60 6f 72 | .......................;;.If.`or |
| 46f40 | 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 27 20 69 73 20 63 61 6c 6c 65 64 20 66 72 6f 6d | g-hugo-src-block'.is.called.from |
| 46f60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 46f80 | 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 27 2e 0a 20 20 | .;;.`org-hugo-example-block'.... |
| 46fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | ..............................(o |
| 46fc0 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6c 69 6e 65 6e 6f 73 2d 73 74 79 | rg-element-property.:linenos-sty |
| 46fe0 | 6c 65 20 73 72 63 2d 62 6c 6f 63 6b 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | le.src-block)))..............;;. |
| 47000 | 43 6f 6e 76 65 72 74 20 60 68 6c 2d 6c 69 6e 65 73 27 20 74 6f 20 73 74 72 69 6e 67 2e 20 20 49 | Convert.`hl-lines'.to.string...I |
| 47020 | 66 20 69 74 27 73 20 6e 6f 74 20 61 20 6e 75 6d 62 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | f.it's.not.a.number,............ |
| 47040 | 20 20 3b 3b 20 69 74 27 73 20 61 6c 72 65 61 64 79 20 61 20 73 74 72 69 6e 67 2c 20 6f 72 20 6e | ..;;.it's.already.a.string,.or.n |
| 47060 | 69 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 68 6c 2d 6c 69 6e 65 73 20 28 6c 65 74 2a | il...............(hl-lines.(let* |
| 47080 | 20 28 28 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 61 6d 20 28 63 64 72 20 28 61 73 73 6f 63 20 3a 68 | .((hl-lines-param.(cdr.(assoc.:h |
| 470a0 | 6c 5f 6c 69 6e 65 73 20 70 61 72 61 6d 65 74 65 72 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 | l_lines.parameters)))).......... |
| 470c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d | ................;;.(message."ox- |
| 470e0 | 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 61 6d 3a 20 25 | hugo.src.[dbg].hl-lines-param:.% |
| 47100 | 53 22 20 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 61 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | S".hl-lines-param).............. |
| 47120 | 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6e 75 6d 62 65 72 70 20 68 6c 2d 6c 69 6e 65 | ............(if.(numberp.hl-line |
| 47140 | 73 2d 70 61 72 61 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s-param)........................ |
| 47160 | 20 20 20 20 20 20 28 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 68 6c 2d 6c 69 6e 65 73 | ......(number-to-string.hl-lines |
| 47180 | 2d 70 61 72 61 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -param)......................... |
| 471a0 | 20 20 20 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 61 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ...hl-lines-param)))............ |
| 471c0 | 20 20 28 63 6f 64 65 2d 72 65 66 73 2d 61 6e 64 2d 61 6e 63 68 6f 72 20 28 6f 72 67 2d 68 75 67 | ..(code-refs-and-anchor.(org-hug |
| 471e0 | 6f 2d 2d 67 65 74 2d 63 6f 64 65 72 65 66 2d 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 73 72 63 | o--get-coderef-anchor-prefix.src |
| 47200 | 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 64 65 2d 72 65 66 73 | -block))..............(code-refs |
| 47220 | 20 28 6c 65 74 20 28 28 63 6f 64 65 2d 72 65 66 73 31 20 28 63 61 72 20 63 6f 64 65 2d 72 65 66 | .(let.((code-refs1.(car.code-ref |
| 47240 | 73 2d 61 6e 64 2d 61 6e 63 68 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s-and-anchor)))................. |
| 47260 | 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 63 6f 64 65 2d 72 65 66 73 31 0a 20 20 20 20 20 | ..........(when.code-refs1...... |
| 47280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 69 6e | .......................(setq.lin |
| 472a0 | 65 2d 6e 75 6d 2d 70 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e-num-p.t))..................... |
| 472c0 | 20 20 20 20 20 20 63 6f 64 65 2d 72 65 66 73 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......code-refs1)).............. |
| 472e0 | 28 67 6f 6c 64 6d 61 72 6b 70 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d | (goldmarkp.(org-hugo--plist-get- |
| 47300 | 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 29 0a 20 20 20 | true-p.info.:hugo-goldmark)).... |
| 47320 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 55 73 65 20 74 68 65 20 60 68 69 67 68 6c 69 67 68 74 27 | ..........;;.Use.the.`highlight' |
| 47340 | 20 73 68 6f 72 74 63 6f 64 65 20 6f 6e 6c 79 20 69 66 20 2e 2e 0a 20 20 20 20 20 20 20 20 20 20 | .shortcode.only.if.............. |
| 47360 | 20 20 20 28 75 73 65 2d 68 69 67 68 6c 69 67 68 74 2d 73 63 20 28 6f 72 20 3b 3b 20 48 55 47 4f | ...(use-highlight-sc.(or.;;.HUGO |
| 47380 | 5f 43 4f 44 45 5f 46 45 4e 43 45 20 69 73 20 6e 69 6c 2c 20 6f 72 20 2e 2e 0a 20 20 20 20 20 20 | _CODE_FENCE.is.nil,.or.......... |
| 473a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 | ..........................(null. |
| 473c0 | 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f | (org-hugo--plist-get-true-p.info |
| 473e0 | 20 3a 68 75 67 6f 2d 63 6f 64 65 2d 66 65 6e 63 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .:hugo-code-fence))............. |
| 47400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 42 6c 61 63 6b 66 72 69 | ....................;;."Blackfri |
| 47420 | 64 61 79 20 6d 6f 64 65 22 20 69 73 20 65 6e 61 62 6c 65 64 20 61 6e 64 20 6c 69 6e 65 20 6e 75 | day.mode".is.enabled.and.line.nu |
| 47440 | 6d 62 65 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mbering......................... |
| 47460 | 20 20 20 20 20 20 20 20 3b 3b 20 2c 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 6f 72 20 63 6f 64 | ........;;.,.highlighting.or.cod |
| 47480 | 65 20 72 65 66 73 20 61 72 65 20 6e 65 65 64 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.refs.are.needed............... |
| 474a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 6f 72 20 6c 69 6e 65 | ...................(and.(or.line |
| 474c0 | 2d 6e 75 6d 2d 70 20 68 6c 2d 6c 69 6e 65 73 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 63 6f | -num-p.hl-lines.linenos-style.co |
| 474e0 | 64 65 2d 72 65 66 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | de-refs)........................ |
| 47500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 67 6f 6c 64 6d 61 72 6b 70 29 29 29 29 | ..............(not.goldmarkp)))) |
| 47520 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 68 6c 2d 6c 69 6e 65 73 20 28 77 68 65 6e 20 28 73 | ..............(hl-lines.(when.(s |
| 47540 | 74 72 69 6e 67 70 20 68 6c 2d 6c 69 6e 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tringp.hl-lines)................ |
| 47560 | 20 20 20 20 20 20 20 20 20 20 28 69 66 20 75 73 65 2d 68 69 67 68 6c 69 67 68 74 2d 73 63 0a 20 | ..........(if.use-highlight-sc.. |
| 47580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f | ............................(pro |
| 475a0 | 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gn.............................. |
| 475c0 | 20 20 3b 3b 20 53 79 6e 74 61 78 20 6f 66 20 68 6c 5f 6c 69 6e 65 73 20 69 6e 20 60 68 69 67 68 | ..;;.Syntax.of.hl_lines.in.`high |
| 475e0 | 6c 69 67 68 74 27 20 73 68 6f 72 74 63 6f 64 65 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | light'.shortcode:............... |
| 47600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 7b 7b 3c 20 68 69 67 68 6c 69 | .................;;...{{<.highli |
| 47620 | 67 68 74 20 65 6d 61 63 73 2d 6c 69 73 70 20 22 68 6c 5f 6c 69 6e 65 73 3d 31 20 33 2d 35 22 20 | ght.emacs-lisp."hl_lines=1.3-5". |
| 47640 | 3e 7d 7d 20 2e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | >}}............................. |
| 47660 | 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 | ......(replace-regexp-in-string. |
| 47680 | 22 2c 22 20 22 20 22 20 68 6c 2d 6c 69 6e 65 73 29 29 20 3b 22 31 2c 33 2d 35 22 20 2d 3e 20 22 | ",".".".hl-lines)).;"1,3-5".->." |
| 476a0 | 31 20 33 2d 35 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 1.3-5".......................... |
| 476c0 | 20 20 3b 3b 20 46 65 6e 63 65 64 20 63 6f 64 65 20 62 6c 6f 63 6b 73 0a 20 20 20 20 20 20 20 20 | ..;;.Fenced.code.blocks......... |
| 476e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 79 6e 74 61 78 20 6f 66 20 | ...................;;.Syntax.of. |
| 47700 | 68 6c 5f 6c 69 6e 65 73 20 69 6e 20 66 65 6e 63 65 64 20 63 6f 64 65 20 61 74 74 72 69 62 75 74 | hl_lines.in.fenced.code.attribut |
| 47720 | 65 73 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | es:............................; |
| 47740 | 3b 20 20 20 60 60 60 65 6d 61 63 73 2d 6c 69 73 70 20 7b 20 68 6c 5f 6c 69 6e 65 73 3d 5b 22 31 | ;...```emacs-lisp.{.hl_lines=["1 |
| 47760 | 22 2c 22 33 2d 35 22 5d 20 7d 20 2e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ","3-5"].}...................... |
| 47780 | 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 22 0a 20 20 20 20 20 20 20 20 | .........(format."[%s]"......... |
| 477a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 | ...........................(mapc |
| 477c0 | 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oncat........................... |
| 477e0 | 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 28 65 6c 29 20 28 66 6f 72 6d 61 74 20 22 25 | ..........(lambda(el).(format."% |
| 47800 | 53 22 20 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | S".el))......................... |
| 47820 | 20 20 20 20 20 20 20 20 20 20 20 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 68 6c 2d 6c 69 6e | ............(split-string.hl-lin |
| 47840 | 65 73 20 22 2c 22 29 20 22 2c 22 29 29 29 29 29 20 3b 22 31 2c 33 2d 35 22 20 2d 3e 20 22 5b 5c | es.",").","))))).;"1,3-5".->."[\ |
| 47860 | 22 31 5c 22 2c 5c 22 33 2d 35 5c 22 5d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 | "1\",\"3-5\"]"..............(src |
| 47880 | 2d 72 65 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 65 72 | -ref.(org-blackfriday--get-refer |
| 478a0 | 65 6e 63 65 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 | ence.src-block))..............(s |
| 478c0 | 72 63 2d 61 6e 63 68 6f 72 20 28 69 66 20 73 72 63 2d 72 65 66 0a 20 20 20 20 20 20 20 20 20 20 | rc-anchor.(if.src-ref........... |
| 478e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 69 | ...................(format."<a.i |
| 47900 | 64 3d 5c 22 25 73 5c 22 3e 3c 2f 61 3e 5c 6e 22 20 73 72 63 2d 72 65 66 29 0a 20 20 20 20 20 20 | d=\"%s\"></a>\n".src-ref)....... |
| 47920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 | .....................""))....... |
| 47940 | 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d | .......(caption.(org-export-get- |
| 47960 | 63 61 70 74 69 6f 6e 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | caption.src-block))............. |
| 47980 | 20 28 63 61 70 74 69 6f 6e 2d 68 74 6d 6c 20 28 69 66 20 28 6e 6f 74 20 63 61 70 74 69 6f 6e 29 | .(caption-html.(if.(not.caption) |
| 479a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 479c0 | 22 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "".............................. |
| 479e0 | 28 6c 65 74 2a 20 28 28 73 72 63 2d 62 6c 6f 63 6b 2d 6e 75 6d 20 28 6f 72 67 2d 65 78 70 6f 72 | (let*.((src-block-num.(org-expor |
| 47a00 | 74 2d 67 65 74 2d 6f 72 64 69 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t-get-ordinal................... |
| 47a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 47a40 | 20 20 73 72 63 2d 62 6c 6f 63 6b 20 69 6e 66 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..src-block.info................ |
| 47a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 47a80 | 20 20 20 20 20 6e 69 6c 20 23 27 6f 72 67 2d 68 74 6d 6c 2d 2d 68 61 73 2d 63 61 70 74 69 6f 6e | .....nil.#'org-html--has-caption |
| 47aa0 | 2d 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -p))............................ |
| 47ac0 | 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 2d 70 72 65 66 69 78 20 28 6f 72 67 2d 62 6c | .........(caption-prefix.(org-bl |
| 47ae0 | 61 63 6b 66 72 69 64 61 79 2d 2d 74 72 61 6e 73 6c 61 74 65 20 27 73 72 63 2d 62 6c 6f 63 6b 20 | ackfriday--translate.'src-block. |
| 47b00 | 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | info)).......................... |
| 47b20 | 20 20 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 2d 73 74 72 0a 20 20 20 20 20 20 20 20 | ...........(caption-str......... |
| 47b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | .............................(or |
| 47b60 | 67 2d 68 74 6d 6c 2d 63 6f 6e 76 65 72 74 2d 73 70 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 20 3b | g-html-convert-special-strings.; |
| 47b80 | 49 6e 74 65 72 70 72 65 74 20 65 6d 2d 64 61 73 68 2c 20 65 6e 2d 64 61 73 68 2c 20 65 74 63 2e | Interpret.em-dash,.en-dash,.etc. |
| 47ba0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 47bc0 | 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 | .......(org-export-data-with-bac |
| 47be0 | 6b 65 6e 64 20 63 61 70 74 69 6f 6e 20 27 68 74 6d 6c 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 | kend.caption.'html.info))))..... |
| 47c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d | ...........................(form |
| 47c20 | 61 74 20 28 63 6f 6e 63 61 74 20 22 5c 6e 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 73 72 63 2d 62 | at.(concat."\n<div.class=\"src-b |
| 47c40 | 6c 6f 63 6b 2d 63 61 70 74 69 6f 6e 5c 22 3e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | lock-caption\">\n".............. |
| 47c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 47c80 | 20 20 22 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 73 72 63 2d 62 6c 6f 63 6b 2d 6e 75 6d | .."..<span.class=\"src-block-num |
| 47ca0 | 62 65 72 5c 22 3e 25 73 3a 3c 2f 73 70 61 6e 3e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ber\">%s:</span>\n"............. |
| 47cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 47ce0 | 20 20 20 22 20 20 25 73 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..."..%s\n"..................... |
| 47d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 2f 64 69 | ..........................."</di |
| 47d20 | 76 3e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | v>")............................ |
| 47d40 | 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 73 72 63 2d 72 65 66 20 3b 48 79 70 65 72 6c 69 | ............(if.src-ref.;Hyperli |
| 47d60 | 6e 6b 20 74 68 65 20 63 6f 64 65 20 73 6e 69 70 70 65 74 20 70 72 65 66 69 78 20 2b 20 6e 75 6d | nk.the.code.snippet.prefix.+.num |
| 47d80 | 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ber............................. |
| 47da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 68 72 65 66 3d | ...............(format."<a.href= |
| 47dc0 | 5c 22 23 25 73 5c 22 3e 25 73 20 25 73 3c 2f 61 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | \"#%s\">%s.%s</a>".............. |
| 47de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 47e00 | 20 20 20 20 20 20 73 72 63 2d 72 65 66 20 63 61 70 74 69 6f 6e 2d 70 72 65 66 69 78 20 73 72 63 | ......src-ref.caption-prefix.src |
| 47e20 | 2d 62 6c 6f 63 6b 2d 6e 75 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -block-num)..................... |
| 47e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 | .....................(format."%s |
| 47e60 | 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .%s"............................ |
| 47e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 70 74 69 6f 6e 2d 70 72 | ......................caption-pr |
| 47ea0 | 65 66 69 78 20 73 72 63 2d 62 6c 6f 63 6b 2d 6e 75 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | efix.src-block-num))............ |
| 47ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 70 74 | ............................capt |
| 47ee0 | 69 6f 6e 2d 73 74 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 63 6f | ion-str))))..............(src-co |
| 47f00 | 64 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 73 63 61 70 65 2d 68 75 67 6f 2d 73 68 6f 72 74 63 | de.(org-hugo--escape-hugo-shortc |
| 47f20 | 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | ode.........................(org |
| 47f40 | 2d 65 78 70 6f 72 74 2d 66 6f 72 6d 61 74 2d 63 6f 64 65 2d 64 65 66 61 75 6c 74 20 73 72 63 2d | -export-format-code-default.src- |
| 47f60 | 62 6c 6f 63 6b 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | block.info)..................... |
| 47f80 | 20 20 20 20 6c 61 6e 67 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 64 65 2d 61 74 | ....lang))..............(code-at |
| 47fa0 | 74 72 2d 73 74 72 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 2d 63 6f 64 65 | tr-str."")..............src-code |
| 47fc0 | 2d 77 72 61 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 29 0a 20 20 20 20 20 20 20 20 | -wrap..............ret)......... |
| 47fe0 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 6c | ;;.(message."ox-hugo.src.[dbg].l |
| 48000 | 69 6e 65 2d 6e 75 6d 2d 70 3a 20 25 53 22 20 6c 69 6e 65 2d 6e 75 6d 2d 70 29 0a 20 20 20 20 20 | ine-num-p:.%S".line-num-p)...... |
| 48020 | 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 | ...;;.(message."ox-hugo.src.[dbg |
| 48040 | 5d 20 70 61 72 61 6d 65 74 65 72 73 3a 20 25 53 22 20 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 | ].parameters:.%S".parameters)... |
| 48060 | 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b | ......;;.(message."ox-hugo.src.[ |
| 48080 | 64 62 67 5d 20 63 6f 64 65 20 72 65 66 73 3a 20 25 53 22 20 63 6f 64 65 2d 72 65 66 73 29 0a 20 | dbg].code.refs:.%S".code-refs).. |
| 480a0 | 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 | .......;;.(message."ox-hugo.src. |
| 480c0 | 5b 64 62 67 5d 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 3a 20 25 53 22 20 63 6f 64 65 2d 61 74 | [dbg].code-attr-str:.%S".code-at |
| 480e0 | 74 72 2d 73 74 72 29 0a 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 67 6f 6c 64 | tr-str)..........(when.(and.gold |
| 48100 | 6d 61 72 6b 70 20 28 6e 6f 74 20 75 73 65 2d 68 69 67 68 6c 69 67 68 74 2d 73 63 29 29 0a 20 20 | markp.(not.use-highlight-sc))... |
| 48120 | 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 68 74 6d 6c 2d 61 74 74 72 20 28 6f 72 67 2d 65 78 | ........(let.((html-attr.(org-ex |
| 48140 | 70 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 73 | port-read-attribute.:attr_html.s |
| 48160 | 72 63 2d 62 6c 6f 63 6b 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f | rc-block))).............(setq.co |
| 48180 | 64 65 2d 61 74 74 72 2d 73 74 72 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 6d 61 6b 65 2d 61 74 74 72 | de-attr-str.(org-html--make-attr |
| 481a0 | 69 62 75 74 65 2d 73 74 72 69 6e 67 20 68 74 6d 6c 2d 61 74 74 72 29 29 29 29 0a 0a 20 20 20 20 | ibute-string.html-attr))))...... |
| 481c0 | 20 20 20 20 28 77 68 65 6e 20 28 6f 72 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 6c 69 6e 65 | ....(when.(or.linenos-style.line |
| 481e0 | 2d 6e 75 6d 2d 70 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 65 74 20 22 6c 69 6e 65 6e 6f | -num-p)...........;;.Set."lineno |
| 48200 | 73 22 20 74 6f 20 22 74 72 75 65 22 20 69 66 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 69 73 | s".to."true".if.linenos-style.is |
| 48220 | 20 6e 69 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 69 6e 65 6e 6f 73 2d 73 74 | .nil............(setq.linenos-st |
| 48240 | 79 6c 65 20 28 6f 72 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 22 74 72 75 65 22 29 29 0a 20 | yle.(or.linenos-style."true")).. |
| 48260 | 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 6f | .........(if.(org-string-nw-p.co |
| 48280 | 64 65 2d 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 | de-attr-str)...............(setq |
| 482a0 | 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 25 73 2c 20 6c 69 6e 65 | .code-attr-str.(format."%s,.line |
| 482c0 | 6e 6f 73 3d 25 73 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 6c 69 6e 65 6e 6f 73 2d 73 74 | nos=%s".code-attr-str.linenos-st |
| 482e0 | 79 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 65 2d 61 74 74 | yle)).............(setq.code-att |
| 48300 | 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 6c 69 6e 65 6e 6f 73 3d 25 73 22 20 6c 69 6e 65 6e | r-str.(format."linenos=%s".linen |
| 48320 | 6f 73 2d 73 74 79 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 69 6e | os-style)))...........(let.((lin |
| 48340 | 65 6e 6f 73 74 61 72 74 2d 73 74 72 20 28 61 6e 64 20 3b 45 78 74 72 61 63 74 20 74 68 65 20 73 | enostart-str.(and.;Extract.the.s |
| 48360 | 74 61 72 74 20 6c 69 6e 65 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 20 73 72 63 20 62 6c 6f 63 | tart.line.number.of.the.src.bloc |
| 48380 | 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k............................... |
| 483a0 | 20 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 60 5c 5c 73 2d 2a 5c 5c 28 5b 30 | ....(string-match."\\`\\s-*\\([0 |
| 483c0 | 2d 39 5d 2b 5c 5c 29 5c 5c 73 2d 5c 5c 7b 32 5c 5c 7d 22 20 73 72 63 2d 63 6f 64 65 29 0a 20 20 | -9]+\\)\\s-\\{2\\}".src-code)... |
| 483e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 48400 | 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 73 72 | (match-string-no-properties.1.sr |
| 48420 | 63 2d 63 6f 64 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6c 69 6e | c-code)))).............(when.lin |
| 48440 | 65 6e 6f 73 74 61 72 74 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 | enostart-str...............(setq |
| 48460 | 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 25 73 2c 20 6c 69 6e 65 | .code-attr-str.(format."%s,.line |
| 48480 | 6e 6f 73 74 61 72 74 3d 25 73 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 6c 69 6e 65 6e 6f | nostart=%s".code-attr-str.lineno |
| 484a0 | 73 74 61 72 74 2d 73 74 72 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6c | start-str))))............(when.l |
| 484c0 | 69 6e 65 2d 6e 75 6d 2d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 | ine-num-p.............;;.Remove. |
| 484e0 | 4f 72 67 2d 69 6e 73 65 72 74 65 64 20 6e 75 6d 62 65 72 73 20 66 72 6f 6d 20 74 68 65 20 62 65 | Org-inserted.numbers.from.the.be |
| 48500 | 67 69 6e 6e 69 6e 67 20 6f 66 20 65 61 63 68 20 6c 69 6e 65 0a 20 20 20 20 20 20 20 20 20 20 20 | ginning.of.each.line............ |
| 48520 | 20 3b 3b 20 61 73 20 74 68 65 20 48 75 67 6f 20 68 69 67 68 6c 69 67 68 74 20 73 68 6f 72 74 63 | .;;.as.the.Hugo.highlight.shortc |
| 48540 | 6f 64 65 20 77 69 6c 6c 20 62 65 20 75 73 65 64 20 69 6e 73 74 65 61 64 20 6f 66 0a 20 20 20 20 | ode.will.be.used.instead.of..... |
| 48560 | 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 74 65 72 61 6c 6c 79 20 69 6e 73 65 72 74 69 6e 67 20 74 | ........;;.literally.inserting.t |
| 48580 | 68 65 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 | he.line.numbers..............(se |
| 485a0 | 74 71 20 73 72 63 2d 63 6f 64 65 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 | tq.src-code.(replace-regexp-in-s |
| 485c0 | 74 72 69 6e 67 20 22 5e 5c 5c 73 2d 2a 5b 30 2d 39 5d 2b 5c 5c 73 2d 5c 5c 7b 32 5c 5c 7d 22 20 | tring."^\\s-*[0-9]+\\s-\\{2\\}". |
| 485e0 | 22 22 20 73 72 63 2d 63 6f 64 65 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | "".src-code))))..........;;.(mes |
| 48600 | 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 68 6c 2d 6c 69 6e 65 73 | sage."ox-hugo.src.[dbg].hl-lines |
| 48620 | 3a 20 25 53 22 20 68 6c 2d 6c 69 6e 65 73 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 68 6c | :.%S".hl-lines).........(when.hl |
| 48640 | 2d 6c 69 6e 65 73 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 | -lines...........(if.(org-string |
| 48660 | 2d 6e 77 2d 70 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 | -nw-p.code-attr-str)............ |
| 48680 | 20 20 20 28 73 65 74 71 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 | ...(setq.code-attr-str.(format." |
| 486a0 | 25 73 2c 20 68 6c 5f 6c 69 6e 65 73 3d 25 73 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 68 | %s,.hl_lines=%s".code-attr-str.h |
| 486c0 | 6c 2d 6c 69 6e 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 65 | l-lines)).............(setq.code |
| 486e0 | 2d 61 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 68 6c 5f 6c 69 6e 65 73 3d 25 73 22 20 | -attr-str.(format."hl_lines=%s". |
| 48700 | 68 6c 2d 6c 69 6e 65 73 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 63 6f 64 65 | hl-lines))))..........(when.code |
| 48720 | 2d 72 65 66 73 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 61 6e 63 68 6f 72 2d 70 | -refs...........(let*.((anchor-p |
| 48740 | 72 65 66 69 78 20 28 63 64 72 20 63 6f 64 65 2d 72 65 66 73 2d 61 6e 64 2d 61 6e 63 68 6f 72 29 | refix.(cdr.code-refs-and-anchor) |
| 48760 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 63 68 6f 72 2d 73 74 72 20 28 | )..................(anchor-str.( |
| 48780 | 66 6f 72 6d 61 74 20 22 61 6e 63 68 6f 72 6c 69 6e 65 6e 6f 73 3d 74 72 75 65 2c 20 6c 69 6e 65 | format."anchorlinenos=true,.line |
| 487a0 | 61 6e 63 68 6f 72 73 3d 25 73 22 20 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 29 29 29 0a 20 20 20 | anchors=%s".anchor-prefix))).... |
| 487c0 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 | .........(org-element-put-proper |
| 487e0 | 74 79 20 73 72 63 2d 62 6c 6f 63 6b 20 3a 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 61 6e 63 68 | ty.src-block.:anchor-prefix.anch |
| 48800 | 6f 72 2d 70 72 65 66 69 78 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 | or-prefix).............(setq.cod |
| 48820 | 65 2d 61 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 25 73 2c 20 25 73 22 20 63 6f 64 65 | e-attr-str.(format."%s,.%s".code |
| 48840 | 2d 61 74 74 72 2d 73 74 72 20 61 6e 63 68 6f 72 2d 73 74 72 29 29 29 29 0a 0a 20 20 20 20 20 20 | -attr-str.anchor-str))))........ |
| 48860 | 20 20 28 75 6e 6c 65 73 73 20 75 73 65 2d 68 69 67 68 6c 69 67 68 74 2d 73 63 0a 20 20 20 20 20 | ..(unless.use-highlight-sc...... |
| 48880 | 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 20 73 72 | .....(plist-put.info.:md-code.sr |
| 488a0 | 63 2d 63 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 | c-code)...........(plist-put.inf |
| 488c0 | 6f 20 3a 6d 64 2d 63 6f 64 65 2d 61 74 74 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 | o.:md-code-attr.(org-string-nw-p |
| 488e0 | 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 29 29 29 0a 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 | .code-attr-str)))..........(setq |
| 48900 | 20 73 72 63 2d 63 6f 64 65 2d 77 72 61 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 | .src-code-wrap...............(if |
| 48920 | 20 75 73 65 2d 68 69 67 68 6c 69 67 68 74 2d 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .use-highlight-sc............... |
| 48940 | 20 20 20 20 28 6c 65 74 20 28 28 68 6c 2d 61 74 74 72 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 | ....(let.((hl-attr.(if.(org-stri |
| 48960 | 6e 67 2d 6e 77 2d 70 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 | ng-nw-p.code-attr-str).......... |
| 48980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 | ............................(for |
| 489a0 | 6d 61 74 20 22 20 5c 22 25 73 5c 22 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 29 0a 20 20 20 | mat.".\"%s\"".code-attr-str).... |
| 489c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 489e0 | 22 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 | ""))).....................(forma |
| 48a00 | 74 20 22 7b 7b 3c 20 68 69 67 68 6c 69 67 68 74 20 25 73 25 73 20 3e 7d 7d 5c 6e 25 73 7b 7b 3c | t."{{<.highlight.%s%s.>}}\n%s{{< |
| 48a20 | 20 2f 68 69 67 68 6c 69 67 68 74 20 3e 7d 7d 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ./highlight.>}}\n".............. |
| 48a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 6e 67 20 68 6c 2d 61 74 74 72 20 73 72 63 2d | ...............lang.hl-attr.src- |
| 48a60 | 63 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 | code)).................(org-blac |
| 48a80 | 6b 66 72 69 64 61 79 2d 73 72 63 2d 62 6c 6f 63 6b 20 73 72 63 2d 62 6c 6f 63 6b 20 6e 69 6c 20 | kfriday-src-block.src-block.nil. |
| 48aa0 | 69 6e 66 6f 29 29 29 0a 0a 20 20 20 20 20 20 20 20 28 69 66 20 28 61 6e 64 20 67 6f 6c 64 6d 61 | info)))..........(if.(and.goldma |
| 48ac0 | 72 6b 70 20 28 6e 6f 74 20 75 73 65 2d 68 69 67 68 6c 69 67 68 74 2d 73 63 29 29 0a 20 20 20 20 | rkp.(not.use-highlight-sc))..... |
| 48ae0 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 62 | ........(setq.ret.(concat.(org-b |
| 48b00 | 6c 61 63 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 73 74 79 6c 65 2d 73 74 72 20 73 72 63 2d 62 6c | lackfriday--get-style-str.src-bl |
| 48b20 | 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ock)............................ |
| 48b40 | 20 20 20 73 72 63 2d 61 6e 63 68 6f 72 20 73 72 63 2d 63 6f 64 65 2d 77 72 61 70 20 63 61 70 74 | ...src-anchor.src-code-wrap.capt |
| 48b60 | 69 6f 6e 2d 68 74 6d 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 | ion-html))...........(setq.ret.( |
| 48b80 | 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 0a | org-blackfriday--div-wrap-maybe. |
| 48ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 2d 62 6c 6f 63 6b 0a 20 | .....................src-block.. |
| 48bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 73 72 63 2d | ....................(concat.src- |
| 48be0 | 61 6e 63 68 6f 72 20 73 72 63 2d 63 6f 64 65 2d 77 72 61 70 20 63 61 70 74 69 6f 6e 2d 68 74 6d | anchor.src-code-wrap.caption-htm |
| 48c00 | 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 29 29 0a | l)......................info))). |
| 48c20 | 20 20 20 20 20 20 20 20 72 65 74 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 53 70 65 63 69 61 6c 20 42 | ........ret)))))..;;;;.Special.B |
| 48c40 | 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 73 70 65 63 69 61 6c 2d 62 6c 6f | lock.(defun.org-hugo-special-blo |
| 48c60 | 63 6b 20 28 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 | ck.(special-block.contents.info) |
| 48c80 | 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 53 50 45 43 49 41 4c 2d 42 4c 4f 43 4b 20 65 6c | ..."Transcode.a.SPECIAL-BLOCK.el |
| 48ca0 | 65 6d 65 6e 74 20 66 72 6f 6d 20 4f 72 67 20 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c | ement.from.Org.to.Hugo-compatibl |
| 48cc0 | 65 20 4d 61 72 6b 64 6f 77 6e 2e 0a 43 4f 4e 54 45 4e 54 53 20 68 6f 6c 64 73 20 74 68 65 20 63 | e.Markdown..CONTENTS.holds.the.c |
| 48ce0 | 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 62 6c 6f 63 6b 2e 0a 0a 49 66 20 74 68 65 20 73 70 | ontents.of.the.block...If.the.sp |
| 48d00 | 65 63 69 61 6c 20 62 6c 6f 63 6b 20 69 73 20 6f 66 20 74 79 70 65 20 5c 22 64 65 73 63 72 69 70 | ecial.block.is.of.type.\"descrip |
| 48d20 | 74 69 6f 6e 5c 22 2c 20 74 68 65 20 76 61 6c 75 65 20 6f 66 0a 60 3a 64 65 73 63 72 69 70 74 69 | tion\",.the.value.of.`:descripti |
| 48d40 | 6f 6e 27 20 6b 65 79 20 6f 66 20 74 68 65 20 49 4e 46 4f 20 70 6c 69 73 74 20 67 65 74 73 20 6f | on'.key.of.the.INFO.plist.gets.o |
| 48d60 | 76 65 72 77 72 69 74 74 65 6e 20 62 79 20 74 68 65 0a 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 | verwritten.by.the.contents.of.th |
| 48d80 | 61 74 20 62 6c 6f 63 6b 2e 0a 0a 45 6c 73 65 20 69 66 20 74 68 65 20 73 70 65 63 69 61 6c 20 62 | at.block...Else.if.the.special.b |
| 48da0 | 6c 6f 63 6b 20 69 73 20 6f 66 20 74 79 70 65 20 5c 22 64 65 74 61 69 6c 73 5c 22 2c 20 61 6e 20 | lock.is.of.type.\"details\",.an. |
| 48dc0 | 48 54 4d 4c 0a 60 3c 64 65 74 61 69 6c 73 3e 27 20 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 61 6e | HTML.`<details>'.element.with.an |
| 48de0 | 20 6f 70 74 69 6f 6e 61 6c 20 60 3c 73 75 6d 6d 61 72 79 3e 27 20 65 6c 65 6d 65 6e 74 20 69 73 | .optional.`<summary>'.element.is |
| 48e00 | 0a 63 72 65 61 74 65 64 2e 20 20 54 68 65 20 5c 22 73 75 6d 6d 61 72 79 5c 22 20 70 6f 72 74 69 | .created...The.\"summary\".porti |
| 48e20 | 6f 6e 20 69 66 20 70 72 65 73 65 6e 74 20 63 6f 6d 65 73 20 66 69 72 73 74 2c 20 61 6e 64 20 69 | on.if.present.comes.first,.and.i |
| 48e40 | 73 0a 73 65 70 61 72 61 74 65 64 20 66 72 6f 6d 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 5c | s.separated.from.the.following.\ |
| 48e60 | 22 64 65 74 61 69 6c 73 5c 22 20 70 6f 72 74 69 6f 6e 20 75 73 69 6e 67 20 61 20 73 6f 6c 6f 0a | "details\".portion.using.a.solo. |
| 48e80 | 5c 22 2d 2d 2d 5c 22 20 73 74 72 69 6e 67 20 6f 6e 20 61 20 6e 65 77 6c 69 6e 65 2e 20 20 53 65 | \"---\".string.on.a.newline...Se |
| 48ea0 | 65 0a 68 74 74 70 73 3a 2f 2f 6f 78 2d 68 75 67 6f 2e 73 63 72 69 70 74 65 72 2e 63 6f 2f 64 6f | e.https://ox-hugo.scripter.co/do |
| 48ec0 | 63 2f 64 65 74 61 69 6c 73 2d 61 6e 64 2d 73 75 6d 6d 61 72 79 2f 20 66 6f 72 20 6d 6f 72 65 2e | c/details-and-summary/.for.more. |
| 48ee0 | 0a 0a 45 6c 73 65 20 69 66 20 74 68 65 20 53 50 45 43 49 41 4c 2d 42 4c 4f 43 4b 20 74 79 70 65 | ..Else.if.the.SPECIAL-BLOCK.type |
| 48f00 | 20 6d 61 74 63 68 65 73 20 6f 6e 65 20 6f 66 20 74 68 65 20 73 68 6f 72 74 63 6f 64 65 73 20 73 | .matches.one.of.the.shortcodes.s |
| 48f20 | 65 74 0a 69 6e 20 48 55 47 4f 5f 50 41 49 52 45 44 5f 53 48 4f 52 54 43 4f 44 45 53 20 70 72 6f | et.in.HUGO_PAIRED_SHORTCODES.pro |
| 48f40 | 70 65 72 74 79 2c 20 65 78 70 6f 72 74 20 74 68 65 6d 20 61 73 20 4d 61 72 6b 64 6f 77 6e 20 6f | perty,.export.them.as.Markdown.o |
| 48f60 | 72 0a 6e 6f 6e 2d 4d 61 72 6b 64 6f 77 6e 20 73 68 6f 72 74 63 6f 64 65 73 2e 20 20 53 65 65 20 | r.non-Markdown.shortcodes...See. |
| 48f80 | 60 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 27 20 66 6f 72 | `org-hugo-paired-shortcodes'.for |
| 48fa0 | 0a 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 46 6f 72 20 61 6c 6c 20 6f 74 68 65 | .more.information...For.all.othe |
| 48fc0 | 72 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 73 2c 20 70 72 6f 63 65 73 73 69 6e 67 20 69 73 20 | r.special.blocks,.processing.is. |
| 48fe0 | 70 61 73 73 65 64 20 6f 6e 20 74 6f 0a 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 70 | passed.on.to.`org-blackfriday-sp |
| 49000 | 65 63 69 61 6c 2d 62 6c 6f 63 6b 27 2e 0a 0a 49 66 20 61 20 62 6c 6f 63 6b 20 74 79 70 65 20 68 | ecial-block'...If.a.block.type.h |
| 49020 | 61 73 20 74 68 65 20 60 3a 74 72 69 6d 2d 70 72 65 27 20 70 72 6f 70 65 72 74 79 20 73 65 74 20 | as.the.`:trim-pre'.property.set. |
| 49040 | 74 6f 20 74 20 69 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 2d | to.t.in.`org-hugo-special-block- |
| 49060 | 74 79 70 65 2d 70 72 6f 70 65 72 74 69 65 73 27 20 6f 72 20 69 6e 20 74 68 65 20 60 23 2b 68 65 | type-properties'.or.in.the.`#+he |
| 49080 | 61 64 65 72 27 0a 6b 65 79 77 6f 72 64 20 61 62 6f 76 65 20 74 68 65 20 73 70 65 63 69 61 6c 20 | ader'.keyword.above.the.special. |
| 490a0 | 62 6c 6f 63 6b 2c 20 77 68 69 74 65 73 70 61 63 65 20 65 78 70 6f 72 74 65 64 20 62 65 66 6f 72 | block,.whitespace.exported.befor |
| 490c0 | 65 20 74 68 61 74 0a 62 6c 6f 63 6b 20 69 73 20 74 72 69 6d 6d 65 64 2e 20 20 53 69 6d 69 6c 61 | e.that.block.is.trimmed...Simila |
| 490e0 | 72 6c 79 2c 20 69 66 20 60 3a 74 72 69 6d 2d 70 6f 73 74 27 20 70 72 6f 70 65 72 74 79 20 69 73 | rly,.if.`:trim-post'.property.is |
| 49100 | 20 73 65 74 20 74 6f 0a 74 2c 20 77 68 69 74 65 73 70 61 63 65 20 61 66 74 65 72 20 74 68 61 74 | .set.to.t,.whitespace.after.that |
| 49120 | 20 62 6c 6f 63 6b 20 69 73 20 74 72 69 6d 6d 65 64 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c | .block.is.trimmed...INFO.is.a.pl |
| 49140 | 69 73 74 20 68 6f 6c 64 69 6e 67 20 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e 73 2e 22 0a 20 20 28 | ist.holding.export.options."...( |
| 49160 | 6c 65 74 2a 20 28 28 62 6c 6f 63 6b 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 | let*.((block-type.(org-element-p |
| 49180 | 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 | roperty.:type.special-block))... |
| 491a0 | 20 20 20 20 20 20 20 28 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 6c 69 73 74 20 28 63 64 72 20 28 61 | .......(block-type-plist.(cdr.(a |
| 491c0 | 73 73 6f 63 20 62 6c 6f 63 6b 2d 74 79 70 65 20 6f 72 67 2d 68 75 67 6f 2d 73 70 65 63 69 61 6c | ssoc.block-type.org-hugo-special |
| 491e0 | 2d 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 72 6f 70 65 72 74 69 65 73 29 29 29 0a 20 20 20 20 20 20 | -block-type-properties)))....... |
| 49200 | 20 20 20 28 68 65 61 64 65 72 20 28 6f 72 67 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 | ...(header.(org-babel-parse-head |
| 49220 | 65 72 2d 61 72 67 75 6d 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | er-arguments...................( |
| 49240 | 63 61 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 68 65 61 64 65 | car.(org-element-property.:heade |
| 49260 | 72 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 72 | r.special-block))))..........(tr |
| 49280 | 69 6d 2d 70 72 65 20 28 6f 72 20 28 61 6c 69 73 74 2d 67 65 74 20 3a 74 72 69 6d 2d 70 72 65 20 | im-pre.(or.(alist-get.:trim-pre. |
| 492a0 | 68 65 61 64 65 72 29 20 3b 60 3a 74 72 69 6d 2d 70 72 65 27 20 69 6e 20 23 2b 68 65 61 64 65 72 | header).;`:trim-pre'.in.#+header |
| 492c0 | 20 68 61 73 20 68 69 67 68 65 72 20 70 72 65 63 65 64 65 6e 63 65 2e 0a 20 20 20 20 20 20 20 20 | .has.higher.precedence.......... |
| 492e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 62 6c 6f 63 6b 2d | ...............(plist-get.block- |
| 49300 | 74 79 70 65 2d 70 6c 69 73 74 20 3a 74 72 69 6d 2d 70 72 65 29 29 29 0a 20 20 20 20 20 20 20 20 | type-plist.:trim-pre)))......... |
| 49320 | 20 28 74 72 69 6d 2d 70 72 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 74 2d | .(trim-pre.(org-hugo--value-get- |
| 49340 | 74 72 75 65 2d 70 20 74 72 69 6d 2d 70 72 65 29 29 20 3b 49 66 20 22 6e 69 6c 22 2c 20 63 6f 6e | true-p.trim-pre)).;If."nil",.con |
| 49360 | 76 65 72 74 73 20 74 6f 20 6e 69 6c 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 72 65 2d | verts.to.nil..........(trim-pre- |
| 49380 | 74 61 67 20 28 69 66 20 74 72 69 6d 2d 70 72 65 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d 2d | tag.(if.trim-pre.org-hugo--trim- |
| 493a0 | 70 72 65 2d 6d 61 72 6b 65 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 61 73 74 2d 65 | pre-marker.""))..........(last-e |
| 493c0 | 6c 65 6d 65 6e 74 2d 70 20 28 6e 75 6c 6c 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e | lement-p.(null.(org-export-get-n |
| 493e0 | 65 78 74 2d 65 6c 65 6d 65 6e 74 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 29 | ext-element.special-block.info)) |
| 49400 | 29 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 6f 73 74 20 28 75 6e 6c 65 73 73 20 6c 61 | )..........(trim-post.(unless.la |
| 49420 | 73 74 2d 65 6c 65 6d 65 6e 74 2d 70 20 3b 4e 6f 20 6e 65 65 64 20 74 6f 20 61 64 64 20 74 72 69 | st-element-p.;No.need.to.add.tri |
| 49440 | 6d 2d 70 6f 73 74 20 6d 61 72 6b 65 72 73 20 69 66 20 74 68 69 73 20 69 73 20 74 68 65 20 6c 61 | m-post.markers.if.this.is.the.la |
| 49460 | 73 74 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st.element...................... |
| 49480 | 20 20 28 6f 72 20 28 61 6c 69 73 74 2d 67 65 74 20 3a 74 72 69 6d 2d 70 6f 73 74 20 68 65 61 64 | ..(or.(alist-get.:trim-post.head |
| 494a0 | 65 72 29 20 3b 60 3a 74 72 69 6d 2d 70 6f 73 74 27 20 69 6e 20 23 2b 68 65 61 64 65 72 20 68 61 | er).;`:trim-post'.in.#+header.ha |
| 494c0 | 73 20 68 69 67 68 65 72 20 70 72 65 63 65 64 65 6e 63 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | s.higher.precedence............. |
| 494e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 62 6c 6f 63 6b 2d | ...............(plist-get.block- |
| 49500 | 74 79 70 65 2d 70 6c 69 73 74 20 3a 74 72 69 6d 2d 70 72 65 29 29 29 29 0a 20 20 20 20 20 20 20 | type-plist.:trim-pre))))........ |
| 49520 | 20 20 28 74 72 69 6d 2d 70 6f 73 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 | ..(trim-post.(org-hugo--value-ge |
| 49540 | 74 2d 74 72 75 65 2d 70 20 74 72 69 6d 2d 70 6f 73 74 29 29 20 3b 49 66 20 22 6e 69 6c 22 2c 20 | t-true-p.trim-post)).;If."nil",. |
| 49560 | 63 6f 6e 76 65 72 74 73 20 74 6f 20 6e 69 6c 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 | converts.to.nil..........(trim-p |
| 49580 | 6f 73 74 2d 74 61 67 20 28 69 66 20 74 72 69 6d 2d 70 6f 73 74 20 6f 72 67 2d 68 75 67 6f 2d 2d | ost-tag.(if.trim-post.org-hugo-- |
| 495a0 | 74 72 69 6d 2d 70 6f 73 74 2d 6d 61 72 6b 65 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 | trim-post-marker.""))..........( |
| 495c0 | 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 20 28 6c 65 74 2a 20 28 28 73 74 72 20 28 70 | paired-shortcodes.(let*.((str.(p |
| 495e0 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 | list-get.info.:hugo-paired-short |
| 49600 | 63 6f 64 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | codes))......................... |
| 49620 | 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 2d 6c 69 73 74 20 28 77 68 65 6e 20 28 6f 72 67 2d | ...........(str-list.(when.(org- |
| 49640 | 73 74 72 69 6e 67 2d 6e 77 2d 70 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | string-nw-p.str)................ |
| 49660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 49680 | 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 73 74 72 20 22 20 22 29 29 29 29 0a 20 20 20 20 20 20 | (split-string.str."."))))....... |
| 496a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 2d 6c 69 73 74 | ........................str-list |
| 496c0 | 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 63 2d 72 65 67 65 78 70 20 22 5c 5c 60 25 25 3f 25 73 | ))..........(sc-regexp."\\`%%?%s |
| 496e0 | 5c 5c 27 22 29 20 3b 52 65 67 65 78 70 20 74 6f 20 6d 61 74 63 68 20 61 6e 20 65 6c 65 6d 65 6e | \\'").;Regexp.to.match.an.elemen |
| 49700 | 74 20 66 72 6f 6d 20 60 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 27 0a 20 20 20 20 20 | t.from.`paired-shortcodes'...... |
| 49720 | 20 20 20 20 28 68 74 6d 6c 2d 61 74 74 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 61 64 2d | ....(html-attr.(org-export-read- |
| 49740 | 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 73 70 65 63 69 61 6c 2d 62 6c 6f | attribute.:attr_html.special-blo |
| 49760 | 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 20 28 70 6c 69 73 74 2d 67 65 | ck))..........(caption.(plist-ge |
| 49780 | 74 20 68 74 6d 6c 2d 61 74 74 72 20 3a 63 61 70 74 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 | t.html-attr.:caption)).......... |
| 497a0 | 28 63 6f 6e 74 65 6e 74 73 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 70 20 63 6f 6e 74 65 6e 74 | (contents.(when.(stringp.content |
| 497c0 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 74 72 69 | s)......................(org-tri |
| 497e0 | 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 70 6c 69 | m.......................(if.(pli |
| 49800 | 73 74 2d 67 65 74 20 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 6c 69 73 74 20 3a 72 61 77 29 0a 20 20 | st-get.block-type-plist.:raw)... |
| 49820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 | ........................;;.https |
| 49840 | 3a 2f 2f 6c 69 73 74 73 2e 67 6e 75 2e 6f 72 67 2f 72 2f 65 6d 61 63 73 2d 6f 72 67 6d 6f 64 65 | ://lists.gnu.org/r/emacs-orgmode |
| 49860 | 2f 32 30 32 32 2d 30 31 2f 6d 73 67 30 30 31 33 32 2e 68 74 6d 6c 0a 20 20 20 20 20 20 20 20 20 | /2022-01/msg00132.html.......... |
| 49880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 69 6e | .................(org-element-in |
| 498a0 | 74 65 72 70 72 65 74 2d 64 61 74 61 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e | terpret-data.(org-element-conten |
| 498c0 | 74 73 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ts.special-block)).............. |
| 498e0 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 29 29 29 29 0a 20 20 20 20 3b 3b 20 | ...........contents))))).....;;. |
| 49900 | 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 | (message."[ox-hugo-spl-blk.DBG]. |
| 49920 | 62 6c 6f 63 6b 2d 74 79 70 65 3a 20 25 73 22 20 62 6c 6f 63 6b 2d 74 79 70 65 29 0a 20 20 20 20 | block-type:.%s".block-type)..... |
| 49940 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 | ;;.(message."[ox-hugo-spl-blk.DB |
| 49960 | 47 5d 20 6c 61 73 74 20 65 6c 65 6d 65 6e 74 3f 3a 20 25 73 22 20 28 6e 75 6c 6c 20 28 6f 72 67 | G].last.element?:.%s".(null.(org |
| 49980 | 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 65 78 74 2d 65 6c 65 6d 65 6e 74 20 73 70 65 63 69 61 6c | -export-get-next-element.special |
| 499a0 | 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | -block.info))).....;;.(message." |
| 499c0 | 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 25 73 3a 20 68 65 61 64 65 72 | [ox-hugo-spl-blk.DBG].%s:.header |
| 499e0 | 3a 20 25 73 22 20 62 6c 6f 63 6b 2d 74 79 70 65 20 68 65 61 64 65 72 29 0a 20 20 20 20 3b 3b 20 | :.%s".block-type.header).....;;. |
| 49a00 | 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 | (message."[ox-hugo-spl-blk.DBG]. |
| 49a20 | 25 73 3a 20 74 72 69 6d 2d 70 72 65 20 28 74 79 70 65 20 3d 20 25 53 29 3a 20 25 53 22 20 62 6c | %s:.trim-pre.(type.=.%S):.%S".bl |
| 49a40 | 6f 63 6b 2d 74 79 70 65 20 28 74 79 70 65 2d 6f 66 20 74 72 69 6d 2d 70 72 65 29 20 74 72 69 6d | ock-type.(type-of.trim-pre).trim |
| 49a60 | 2d 70 72 65 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d | -pre).....;;.(message."[ox-hugo- |
| 49a80 | 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 25 73 3a 20 74 72 69 6d 2d 70 6f 73 74 20 28 74 79 70 65 | spl-blk.DBG].%s:.trim-post.(type |
| 49aa0 | 20 3d 20 25 53 29 3a 20 25 53 22 20 62 6c 6f 63 6b 2d 74 79 70 65 20 28 74 79 70 65 2d 6f 66 20 | .=.%S):.%S".block-type.(type-of. |
| 49ac0 | 74 72 69 6d 2d 70 6f 73 74 29 20 74 72 69 6d 2d 70 6f 73 74 29 0a 20 20 20 20 28 70 6c 69 73 74 | trim-post).trim-post).....(plist |
| 49ae0 | 2d 70 75 74 20 69 6e 66 6f 20 3a 74 79 70 65 2d 70 6c 69 73 74 20 62 6c 6f 63 6b 2d 74 79 70 65 | -put.info.:type-plist.block-type |
| 49b00 | 2d 70 6c 69 73 74 29 0a 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 74 72 69 | -plist).....(plist-put.info.:tri |
| 49b20 | 6d 2d 70 72 65 2d 74 61 67 20 74 72 69 6d 2d 70 72 65 2d 74 61 67 29 0a 20 20 20 20 28 70 6c 69 | m-pre-tag.trim-pre-tag).....(pli |
| 49b40 | 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 20 74 72 69 6d 2d | st-put.info.:trim-post-tag.trim- |
| 49b60 | 70 6f 73 74 2d 74 61 67 29 0a 20 20 20 20 28 77 68 65 6e 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 | post-tag).....(when.contents.... |
| 49b80 | 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 62 6c 6f 63 6b 2d | ...(cond........((string=.block- |
| 49ba0 | 74 79 70 65 20 22 74 69 6b 7a 6a 61 78 22 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f | type."tikzjax").........(setq.co |
| 49bc0 | 6e 74 65 6e 74 73 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 | ntents.(format."%s%s%s"......... |
| 49be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 73 63 72 69 70 74 20 | ......................."<script. |
| 49c00 | 74 79 70 65 3d 5c 22 74 65 78 74 2f 74 69 6b 7a 5c 22 3e 5c 6e 20 20 5c 5c 62 65 67 69 6e 7b 74 | type=\"text/tikz\">\n..\\begin{t |
| 49c20 | 69 6b 7a 70 69 63 74 75 72 65 7d 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ikzpicture}\n".................. |
| 49c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 | ..............contents.......... |
| 49c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 5c 5c 65 6e 64 7b 74 | ......................"\n\\end{t |
| 49c80 | 69 6b 7a 70 69 63 74 75 72 65 7d 5c 6e 3c 2f 73 63 72 69 70 74 3e 22 29 29 0a 20 20 20 20 20 20 | ikzpicture}\n</script>"))....... |
| 49ca0 | 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 61 70 74 69 6f 6e | ..(when.(org-string-nw-p.caption |
| 49cc0 | 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 6e 74 65 6e 74 73 20 28 66 6f 72 6d | )...........(setq.contents.(form |
| 49ce0 | 61 74 20 22 25 73 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | at."%s%s%s"..................... |
| 49d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 66 69 67 75 72 65 3e 5c 6e 22 0a 20 20 20 20 20 20 | ............."<figure>\n"....... |
| 49d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 | ...........................conte |
| 49d40 | 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nts............................. |
| 49d60 | 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5c 6e 3c 66 69 67 63 61 70 74 69 6f 6e 3e 25 73 3c 2f | .....(format."\n<figcaption>%s</ |
| 49d80 | 66 69 67 63 61 70 74 69 6f 6e 3e 5c 6e 3c 2f 66 69 67 75 72 65 3e 22 0a 20 20 20 20 20 20 20 20 | figcaption>\n</figure>"......... |
| 49da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 49dc0 | 20 63 61 70 74 69 6f 6e 29 29 29 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 0a 20 | .caption)))).........contents).. |
| 49de0 | 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 62 6c 6f 63 6b 2d 74 79 70 65 20 22 64 65 73 63 | ......((string=.block-type."desc |
| 49e00 | 72 69 70 74 69 6f 6e 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 4f 76 65 72 77 72 69 74 65 20 74 | ription").........;;.Overwrite.t |
| 49e20 | 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 60 3a 64 65 73 63 72 69 70 74 69 6f 6e 27 20 6b | he.value.of.the.`:description'.k |
| 49e40 | 65 79 20 69 6e 20 60 69 6e 66 6f 27 2e 0a 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 | ey.in.`info'..........(plist-put |
| 49e60 | 20 69 6e 66 6f 20 3a 64 65 73 63 72 69 70 74 69 6f 6e 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 73 | .info.:description.(org-hugo--es |
| 49e80 | 63 61 70 65 2d 68 75 67 6f 2d 73 68 6f 72 74 63 6f 64 65 20 63 6f 6e 74 65 6e 74 73 20 22 6d 64 | cape-hugo-shortcode.contents."md |
| 49ea0 | 22 29 29 0a 20 20 20 20 20 20 20 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 | ")).........nil)........;;.https |
| 49ec0 | 3a 2f 2f 65 6d 61 63 73 2e 73 74 61 63 6b 65 78 63 68 61 6e 67 65 2e 63 6f 6d 2f 61 2f 32 38 36 | ://emacs.stackexchange.com/a/286 |
| 49ee0 | 38 35 2f 31 31 35 0a 20 20 20 20 20 20 20 28 28 63 6c 2d 6d 65 6d 62 65 72 20 62 6c 6f 63 6b 2d | 85/115........((cl-member.block- |
| 49f00 | 74 79 70 65 20 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 0a 20 20 20 20 20 20 20 20 20 | type.paired-shortcodes.......... |
| 49f20 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 60 62 6c 6f 63 6b 2d 74 79 70 65 27 20 69 73 20 | ..........;;.If.`block-type'.is. |
| 49f40 | 22 66 6f 6f 22 2c 20 63 68 65 63 6b 20 69 66 20 61 6e 79 20 6f 66 20 74 68 65 0a 20 20 20 20 20 | "foo",.check.if.any.of.the...... |
| 49f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 60 70 61 | ..............;;.elements.in.`pa |
| 49f80 | 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 27 20 69 73 20 22 66 6f 6f 22 20 6f 72 0a 20 20 20 | ired-shortcodes'.is."foo".or.... |
| 49fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 25 66 6f 6f 22 2e 0a 20 20 20 20 20 | ................;;."%foo"....... |
| 49fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 74 65 73 74 20 28 6c 61 6d 62 64 61 20 28 62 20 73 | ..............:test.(lambda.(b.s |
| 49fe0 | 63 29 20 3b 60 73 63 27 20 77 6f 75 6c 64 20 62 65 20 61 6e 20 65 6c 65 6d 65 6e 74 20 66 72 6f | c).;`sc'.would.be.an.element.fro |
| 4a000 | 6d 20 60 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 27 0a 20 20 20 20 20 20 20 20 20 20 | m.`paired-shortcodes'........... |
| 4a020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 | .................(string-match-p |
| 4a040 | 20 28 66 6f 72 6d 61 74 20 73 63 2d 72 65 67 65 78 70 20 62 29 20 73 63 29 29 29 0a 20 20 20 20 | .(format.sc-regexp.b).sc)))..... |
| 4a060 | 20 20 20 20 28 6c 65 74 2a 20 28 28 61 74 74 72 2d 73 63 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d | ....(let*.((attr-sc.(org-export- |
| 4a080 | 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 73 68 6f 72 74 63 6f 64 65 20 73 | read-attribute.:attr_shortcode.s |
| 4a0a0 | 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | pecial-block))................;; |
| 4a0c0 | 20 50 6f 73 69 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 20 20 | .Positional.arguments........... |
| 4a0e0 | 20 20 20 20 20 20 28 70 6f 73 2d 61 72 67 73 20 28 61 6e 64 20 28 6e 75 6c 6c 20 61 74 74 72 2d | ......(pos-args.(and.(null.attr- |
| 4a100 | 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sc)............................. |
| 4a120 | 20 20 3b 3b 20 49 66 20 74 68 65 20 73 68 6f 72 74 63 6f 64 65 20 61 74 74 72 69 62 75 74 65 73 | ..;;.If.the.shortcode.attributes |
| 4a140 | 20 61 72 65 20 6e 6f 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .are.not.of..................... |
| 4a160 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 65 20 74 79 70 65 20 22 3a 66 6f 6f 20 62 61 72 22 | ..........;;.the.type.":foo.bar" |
| 4a180 | 20 62 75 74 20 61 72 65 20 73 6f 6d 65 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .but.are.something.............. |
| 4a1a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6b 65 20 22 66 6f 6f 20 62 61 | .................;;.like."foo.ba |
| 4a1c0 | 72 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r".............................. |
| 4a1e0 | 20 20 28 6c 65 74 2a 20 28 28 72 61 77 2d 6c 69 73 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d | ..(let*.((raw-list.(org-element- |
| 4a200 | 70 72 6f 70 65 72 74 79 20 3a 61 74 74 72 5f 73 68 6f 72 74 63 6f 64 65 20 73 70 65 63 69 61 6c | property.:attr_shortcode.special |
| 4a220 | 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -block))........................ |
| 4a240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 61 77 2d 73 74 72 20 28 6d 61 70 63 6f 6e 63 61 | ..............(raw-str.(mapconca |
| 4a260 | 74 20 23 27 69 64 65 6e 74 69 74 79 20 72 61 77 2d 6c 69 73 74 20 22 20 22 29 29 29 0a 20 20 20 | t.#'identity.raw-list."."))).... |
| 4a280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | .............................(or |
| 4a2a0 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 72 61 77 2d 73 74 72 29 29 29 29 0a 20 20 20 20 20 20 | g-string-nw-p.raw-str))))....... |
| 4a2c0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 4e 61 6d 65 64 20 61 72 67 75 6d 65 6e 74 73 2e 0a 20 20 20 | .........;;.Named.arguments..... |
| 4a2e0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 61 6d 65 64 2d 61 72 67 73 20 28 75 6e 6c 65 73 73 20 | ............(named-args.(unless. |
| 4a300 | 70 6f 73 2d 61 72 67 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pos-args........................ |
| 4a320 | 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 68 74 6d 6c | ......(org-string-nw-p.(org-html |
| 4a340 | 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 65 2d 73 74 72 69 6e 67 20 61 74 74 72 2d 73 63 29 | --make-attribute-string.attr-sc) |
| 4a360 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 2d 61 72 67 73 20 28 6f 72 20 | )))................(sc-args.(or. |
| 4a380 | 70 6f 73 2d 61 72 67 73 20 6e 61 6d 65 64 2d 61 72 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 | pos-args.named-args))........... |
| 4a3a0 | 20 20 20 20 20 28 73 63 2d 61 72 67 73 20 28 69 66 20 73 63 2d 61 72 67 73 0a 20 20 20 20 20 20 | .....(sc-args.(if.sc-args....... |
| 4a3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 20 | ......................(concat.". |
| 4a3e0 | 22 20 73 63 2d 61 72 67 73 20 22 20 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".sc-args.".").................. |
| 4a400 | 20 20 20 20 20 20 20 20 20 22 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d | ........."."))................(m |
| 4a420 | 61 74 63 68 65 64 2d 73 63 2d 73 74 72 20 28 63 61 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | atched-sc-str.(car.............. |
| 4a440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6c 2d 6d 65 6d 62 65 72 20 62 6c | ...................(cl-member.bl |
| 4a460 | 6f 63 6b 2d 74 79 70 65 20 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 0a 20 20 20 20 20 | ock-type.paired-shortcodes...... |
| 4a480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4a4a0 | 20 20 20 20 20 20 3a 74 65 73 74 20 28 6c 61 6d 62 64 61 20 28 62 20 73 63 29 20 3b 60 73 63 27 | ......:test.(lambda.(b.sc).;`sc' |
| 4a4c0 | 20 77 6f 75 6c 64 20 62 65 20 61 6e 20 65 6c 65 6d 65 6e 74 20 66 72 6f 6d 20 60 70 61 69 72 65 | .would.be.an.element.from.`paire |
| 4a4e0 | 64 2d 73 68 6f 72 74 63 6f 64 65 73 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d-shortcodes'................... |
| 4a500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4a520 | 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 28 66 6f 72 6d 61 74 20 73 63 2d 72 65 67 65 | .(string-match-p.(format.sc-rege |
| 4a540 | 78 70 20 62 29 20 73 63 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 | xp.b).sc)))))................(sc |
| 4a560 | 2d 6f 70 65 6e 2d 63 68 61 72 20 28 69 66 20 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 20 | -open-char.(if.(string-prefix-p. |
| 4a580 | 22 25 22 20 6d 61 74 63 68 65 64 2d 73 63 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | "%".matched-sc-str)............. |
| 4a5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 25 22 0a 20 20 20 20 20 20 20 | ....................."%"........ |
| 4a5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 22 29 29 0a 20 20 | ........................"<"))... |
| 4a5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 2d 63 6c 6f 73 65 2d 63 68 61 72 20 28 69 66 20 | .............(sc-close-char.(if. |
| 4a600 | 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 20 22 25 22 20 6d 61 74 63 68 65 64 2d 73 63 2d | (string-prefix-p."%".matched-sc- |
| 4a620 | 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | str)............................ |
| 4a640 | 20 20 20 20 20 20 20 22 25 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......."%"...................... |
| 4a660 | 20 20 20 20 20 20 20 20 20 20 20 22 3e 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........">"))................ |
| 4a680 | 28 73 63 2d 62 65 67 69 6e 20 28 66 6f 72 6d 61 74 20 22 25 73 7b 7b 25 73 20 25 73 25 73 25 73 | (sc-begin.(format."%s{{%s.%s%s%s |
| 4a6a0 | 7d 7d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | }}"............................. |
| 4a6c0 | 20 20 20 20 20 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 73 63 2d 6f 70 65 6e 2d 63 68 61 72 20 62 | .....trim-pre-tag.sc-open-char.b |
| 4a6e0 | 6c 6f 63 6b 2d 74 79 70 65 20 73 63 2d 61 72 67 73 20 73 63 2d 63 6c 6f 73 65 2d 63 68 61 72 29 | lock-type.sc-args.sc-close-char) |
| 4a700 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 2d 65 6e 64 20 28 66 6f 72 6d 61 74 | )................(sc-end.(format |
| 4a720 | 20 22 7b 7b 25 73 20 2f 25 73 20 25 73 7d 7d 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."{{%s./%s.%s}}%s".............. |
| 4a740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 63 2d 6f 70 65 6e 2d 63 68 61 72 20 62 | ..................sc-open-char.b |
| 4a760 | 6c 6f 63 6b 2d 74 79 70 65 20 73 63 2d 63 6c 6f 73 65 2d 63 68 61 72 20 74 72 69 6d 2d 70 6f 73 | lock-type.sc-close-char.trim-pos |
| 4a780 | 74 2d 74 61 67 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | t-tag)))...........;;.(message." |
| 4a7a0 | 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 61 74 74 72 2d 73 63 31 3a 20 | [ox-hugo-spl-blk.DBG].attr-sc1:. |
| 4a7c0 | 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 | %s"...........;;..........(org-e |
| 4a7e0 | 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 61 74 74 72 5f 73 68 6f 72 74 63 6f 64 65 20 | lement-property.:attr_shortcode. |
| 4a800 | 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 | special-block))...........;;.(me |
| 4a820 | 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 61 74 74 | ssage."[ox-hugo-spl-blk.DBG].att |
| 4a840 | 72 2d 73 63 3a 20 25 73 22 20 61 74 74 72 2d 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | r-sc:.%s".attr-sc)...........;;. |
| 4a860 | 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 | (message."[ox-hugo-spl-blk.DBG]. |
| 4a880 | 70 6f 73 2d 61 72 67 73 3a 20 25 73 22 20 70 6f 73 2d 61 72 67 73 29 0a 20 20 20 20 20 20 20 20 | pos-args:.%s".pos-args)......... |
| 4a8a0 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 | ..;;.(message."[ox-hugo-spl-blk. |
| 4a8c0 | 44 42 47 5d 20 6e 61 6d 65 64 2d 61 72 67 73 3a 20 25 73 22 20 6e 61 6d 65 64 2d 61 72 67 73 29 | DBG].named-args:.%s".named-args) |
| 4a8e0 | 0a 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 5c 6e 25 73 5c 6e 25 73 22 0a | ...........(format."%s\n%s\n%s". |
| 4a900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 63 2d 62 65 67 69 6e 20 63 6f 6e 74 65 | ..................sc-begin.conte |
| 4a920 | 6e 74 73 20 73 63 2d 65 6e 64 29 29 29 0a 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 | nts.sc-end)))........(t......... |
| 4a940 | 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 73 | (org-blackfriday-special-block.s |
| 4a960 | 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 29 29 29 29 | pecial-block.contents.info)))))) |
| 4a980 | 0a 0a 0a 0c 0a 3b 3b 3b 20 46 69 6c 74 65 72 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 3b 3b 20 | .....;;;.Filter.Functions..;;;;. |
| 4a9a0 | 42 6f 64 79 20 46 69 6c 74 65 72 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 62 6f 64 79 | Body.Filter.(defun.org-hugo-body |
| 4a9c0 | 2d 66 69 6c 74 65 72 20 28 62 6f 64 79 20 5f 62 61 63 6b 65 6e 64 20 69 6e 66 6f 29 0a 20 20 22 | -filter.(body._backend.info)..." |
| 4a9e0 | 41 64 64 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 74 6f 20 74 68 65 20 42 4f 44 59 20 6f 66 20 | Add.front-matter.to.the.BODY.of. |
| 4aa00 | 74 68 65 20 64 6f 63 75 6d 65 6e 74 2e 0a 0a 42 4f 44 59 20 69 73 20 74 68 65 20 72 65 73 75 6c | the.document...BODY.is.the.resul |
| 4aa20 | 74 20 6f 66 20 74 68 65 20 65 78 70 6f 72 74 2e 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 | t.of.the.export..INFO.is.a.plist |
| 4aa40 | 20 68 6f 6c 64 69 6e 67 20 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e 73 2e 22 0a 20 20 3b 3b 20 43 | .holding.export.options."...;;.C |
| 4aa60 | 6f 70 79 20 74 68 65 20 70 61 67 65 20 72 65 73 6f 75 72 63 65 73 20 74 6f 20 74 68 65 20 62 75 | opy.the.page.resources.to.the.bu |
| 4aa80 | 6e 64 6c 65 20 64 69 72 65 63 74 6f 72 79 2e 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 70 | ndle.directory....(org-hugo--cop |
| 4aaa0 | 79 2d 72 65 73 6f 75 72 63 65 73 2d 6d 61 79 62 65 20 69 6e 66 6f 29 0a 20 20 28 6f 72 67 2d 68 | y-resources-maybe.info)...(org-h |
| 4aac0 | 75 67 6f 2d 2d 63 6f 70 79 2d 6c 74 78 69 6d 67 2d 6d 61 79 62 65 20 69 6e 66 6f 29 0a 20 20 3b | ugo--copy-ltximg-maybe.info)...; |
| 4aae0 | 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 62 6f 64 79 20 66 69 6c 74 65 72 | ;.(message."[ox-hugo.body.filter |
| 4ab00 | 5d 20 49 54 45 4d 20 25 53 22 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 | ].ITEM.%S".(org-entry-get.(point |
| 4ab20 | 29 20 22 49 54 45 4d 22 29 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 | )."ITEM"))...;;.(message."[ox-hu |
| 4ab40 | 67 6f 20 62 6f 64 79 20 66 69 6c 74 65 72 5d 20 54 41 47 53 3a 20 25 53 22 20 28 6f 72 67 2d 65 | go.body.filter].TAGS:.%S".(org-e |
| 4ab60 | 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 54 41 47 53 22 29 29 0a 20 20 3b 3b 20 28 | ntry-get.(point)."TAGS"))...;;.( |
| 4ab80 | 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 62 6f 64 79 20 66 69 6c 74 65 72 5d 20 41 | message."[ox-hugo.body.filter].A |
| 4aba0 | 4c 4c 54 41 47 53 3a 20 25 53 22 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e | LLTAGS:.%S".(org-entry-get.(poin |
| 4abc0 | 74 29 20 22 41 4c 4c 54 41 47 53 22 29 29 0a 0a 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 6f 72 | t)."ALLTAGS"))....(when.(and.(or |
| 4abe0 | 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 | g-hugo--plist-get-true-p.info.:h |
| 4ac00 | 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 2d 77 73 29 0a 20 20 20 20 20 20 20 20 | ugo-delete-trailing-ws)......... |
| 4ac20 | 20 20 20 20 20 28 6e 6f 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 | .....(not.(org-hugo--plist-get-t |
| 4ac40 | 72 75 65 2d 70 20 69 6e 66 6f 20 3a 70 72 65 73 65 72 76 65 2d 62 72 65 61 6b 73 29 29 29 0a 20 | rue-p.info.:preserve-breaks))).. |
| 4ac60 | 20 20 20 28 73 65 74 71 20 62 6f 64 79 20 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a | ...(setq.body.(with-temp-buffer. |
| 4ac80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 62 6f 64 79 29 0a 20 | .................(insert.body).. |
| 4aca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 | ................(delete-trailing |
| 4acc0 | 2d 77 68 69 74 65 73 70 61 63 65 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 6e 69 6c 29 0a 20 20 20 | -whitespace.(point-min).nil).... |
| 4ace0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 75 66 66 65 72 2d 73 75 62 73 74 72 69 6e 67 2d | ..............(buffer-substring- |
| 4ad00 | 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 28 70 6f 69 6e 74 | no-properties.(point-min).(point |
| 4ad20 | 2d 6d 61 78 29 29 29 29 29 0a 20 20 28 6c 65 74 20 28 28 66 6d 20 28 73 61 76 65 2d 65 78 63 75 | -max)))))...(let.((fm.(save-excu |
| 4ad40 | 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 61 76 65 2d 72 65 73 74 72 69 | rsion...............(save-restri |
| 4ad60 | 63 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 20 70 6f 69 | ction.................;;.The.poi |
| 4ad80 | 6e 74 20 69 73 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 68 65 | nt.is.at.the.beginning.of.the.he |
| 4ada0 | 61 64 69 6e 67 20 62 6f 64 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e | ading.body.................;;.in |
| 4adc0 | 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 21 20 53 6f 20 6d 6f 76 65 20 74 68 65 20 70 6f 69 6e | .this.function!.So.move.the.poin |
| 4ade0 | 74 20 62 61 63 6b 20 62 79 20 31 20 63 68 61 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.back.by.1.char................ |
| 4ae00 | 20 3b 3b 20 74 6f 20 62 72 69 6e 67 20 69 74 20 69 6e 74 6f 20 74 68 65 20 4f 72 67 20 68 65 61 | .;;.to.bring.it.into.the.Org.hea |
| 4ae20 | 64 69 6e 67 20 62 65 66 6f 72 65 20 63 61 6c 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ding.before.calling............. |
| 4ae40 | 20 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 66 72 6f 6e 74 2d 6d 61 74 74 | ....;;.`org-hugo--get-front-matt |
| 4ae60 | 65 72 27 2c 20 62 65 63 61 75 73 65 20 69 6e 20 74 68 65 72 65 20 77 65 0a 20 20 20 20 20 20 20 | er',.because.in.there.we........ |
| 4ae80 | 20 20 20 20 20 20 20 20 20 3b 3b 20 75 73 65 20 60 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 27 20 | .........;;.use.`org-entry-get'. |
| 4aea0 | 61 74 20 28 70 6f 69 6e 74 29 20 74 6f 20 72 65 74 72 69 65 76 65 20 63 65 72 74 61 69 6e 0a 20 | at.(point).to.retrieve.certain.. |
| 4aec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 6f 70 65 72 74 79 20 76 61 6c 75 65 | ...............;;.property.value |
| 4aee0 | 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 64 65 6e 29 0a 20 20 20 20 20 | s..................(widen)...... |
| 4af00 | 20 20 20 20 20 20 20 20 20 20 20 28 69 67 6e 6f 72 65 2d 65 72 72 6f 72 73 20 3b 49 66 20 74 68 | ...........(ignore-errors.;If.th |
| 4af20 | 65 20 70 6f 69 6e 74 20 69 73 20 61 74 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 62 75 66 66 65 | e.point.is.at.beginning.of.buffe |
| 4af40 | 72 20 65 76 65 6e 20 61 66 74 65 72 20 77 69 64 65 6e 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 | r.even.after.widening........... |
| 4af60 | 20 20 20 20 20 20 20 20 28 62 61 63 6b 77 61 72 64 2d 63 68 61 72 29 29 0a 20 20 20 20 20 20 20 | ........(backward-char))........ |
| 4af80 | 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 62 6f 64 79 20 66 69 6c 74 | .........;;.(message."[body.filt |
| 4afa0 | 65 72 20 44 42 47 5d 20 6c 69 6e 65 20 61 74 20 70 74 3a 20 25 73 22 20 28 74 68 69 6e 67 2d 61 | er.DBG].line.at.pt:.%s".(thing-a |
| 4afc0 | 74 2d 70 6f 69 6e 74 20 27 6c 69 6e 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t-point.'line))................. |
| 4afe0 | 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 6e 66 6f | (org-hugo--get-front-matter.info |
| 4b000 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 66 6d 2d 65 78 74 72 61 20 28 70 6c 69 73 74 2d 67 65 | )))).........(fm-extra.(plist-ge |
| 4b020 | 74 20 69 6e 66 6f 20 3a 66 6d 2d 65 78 74 72 61 29 29 0a 20 20 20 20 20 20 20 20 28 62 6f 64 79 | t.info.:fm-extra)).........(body |
| 4b040 | 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 62 6f 64 79 29 20 3b 49 6e 73 | .(if.(org-string-nw-p.body).;Ins |
| 4b060 | 65 72 74 20 65 78 74 72 61 20 6e 65 77 6c 69 6e 65 20 69 66 20 62 6f 64 79 20 69 73 20 6e 6f 6e | ert.extra.newline.if.body.is.non |
| 4b080 | 2d 65 6d 70 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 | -empty...................(format |
| 4b0a0 | 20 22 5c 6e 25 73 22 20 62 6f 64 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 | ."\n%s".body)................."" |
| 4b0c0 | 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 62 6f 64 79 20 66 69 6c 74 65 | ))).....;;.(message."[body.filte |
| 4b0e0 | 72 20 44 42 47 20 66 6d 5d 20 25 53 22 20 66 6d 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | r.DBG.fm].%S".fm).....;;.(messag |
| 4b100 | 65 20 22 5b 62 6f 64 79 20 66 69 6c 74 65 72 20 44 42 47 20 66 6d 2d 65 78 74 72 61 5d 20 25 53 | e."[body.filter.DBG.fm-extra].%S |
| 4b120 | 22 20 66 6d 2d 65 78 74 72 61 29 0a 20 20 20 20 28 77 68 65 6e 20 66 6d 2d 65 78 74 72 61 0a 20 | ".fm-extra).....(when.fm-extra.. |
| 4b140 | 20 20 20 20 20 3b 3b 20 49 66 20 66 6d 2d 65 78 74 72 61 20 69 73 20 70 72 65 73 65 6e 74 2c 20 | .....;;.If.fm-extra.is.present,. |
| 4b160 | 61 70 70 65 6e 64 20 69 74 20 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 0a 20 20 20 20 | append.it.to.the.end.of.the..... |
| 4b180 | 20 20 3b 3b 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2c 20 62 65 66 6f 72 65 20 74 68 65 20 63 6c | ..;;.front-matter,.before.the.cl |
| 4b1a0 | 6f 73 69 6e 67 20 22 2b 2b 2b 22 20 6f 72 20 22 2d 2d 2d 22 20 6d 61 72 6b 65 72 2e 0a 20 20 20 | osing."+++".or."---".marker..... |
| 4b1c0 | 20 20 20 28 73 65 74 71 20 66 6d 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 | ...(setq.fm.(replace-regexp-in-s |
| 4b1e0 | 74 72 69 6e 67 20 22 5c 5c 28 5c 5c 2b 5c 5c 2b 5c 5c 2b 5c 5c 7c 2d 2d 2d 5c 5c 29 5c 6e 2a 5c | tring."\\(\\+\\+\\+\\|---\\)\n*\ |
| 4b200 | 5c 27 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | \'"............................. |
| 4b220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 66 6d 2d 65 78 74 72 61 20 22 5c | .............(concat.fm-extra."\ |
| 4b240 | 5c 26 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | \&")............................ |
| 4b260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6d 29 29 29 0a 20 20 20 20 28 73 65 74 71 20 6f 72 | ..............fm))).....(setq.or |
| 4b280 | 67 2d 68 75 67 6f 2d 2d 66 6d 20 66 6d 29 0a 20 20 20 20 28 69 66 20 28 6f 72 67 2d 68 75 67 6f | g-hugo--fm.fm).....(if.(org-hugo |
| 4b2a0 | 2d 2d 70 61 6e 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 70 20 69 6e 66 | --pandoc-citations-enabled-p.inf |
| 4b2c0 | 6f 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 22 20 6f 72 67 2d | o).........(format."%s%s%s".org- |
| 4b2e0 | 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 20 62 6f 64 79 20 6f 72 67 2d 68 75 67 6f 2d 66 6f 6f 74 | hugo--fm-yaml.body.org-hugo-foot |
| 4b300 | 65 72 29 0a 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 22 20 66 6d 20 62 6f | er).......(format."%s%s%s".fm.bo |
| 4b320 | 64 79 20 6f 72 67 2d 68 75 67 6f 2d 66 6f 6f 74 65 72 29 29 29 29 0a 0a 3b 3b 3b 3b 3b 20 48 75 | dy.org-hugo-footer))))..;;;;;.Hu |
| 4b340 | 67 6f 20 46 72 6f 6e 74 2d 4d 61 74 74 65 72 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d | go.Front-Matter.(defun.org-hugo- |
| 4b360 | 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 73 74 72 29 0a | -parse-property-arguments.(str). |
| 4b380 | 20 20 22 52 65 74 75 72 6e 20 61 6e 20 61 6c 69 73 74 20 63 6f 6e 76 65 72 74 65 64 20 66 72 6f | .."Return.an.alist.converted.fro |
| 4b3a0 | 6d 20 61 20 73 74 72 69 6e 67 20 53 54 52 20 6f 66 20 48 75 67 6f 20 70 72 6f 70 65 72 74 79 20 | m.a.string.STR.of.Hugo.property. |
| 4b3c0 | 76 61 6c 75 65 2e 0a 0a 53 54 52 20 69 73 20 6f 66 20 74 79 70 65 20 5c 22 3a 4b 45 59 31 20 56 | value...STR.is.of.type.\":KEY1.V |
| 4b3e0 | 41 4c 55 45 31 20 3a 4b 45 59 32 20 56 41 4c 55 45 32 20 2e 2e 5c 22 2e 20 20 47 69 76 65 6e 20 | ALUE1.:KEY2.VALUE2...\"...Given. |
| 4b400 | 74 68 61 74 2c 20 74 68 65 0a 72 65 74 75 72 6e 65 64 20 76 61 6c 75 65 20 69 73 20 28 28 4b 45 | that,.the.returned.value.is.((KE |
| 4b420 | 59 31 20 2e 20 56 41 4c 55 45 31 29 20 28 4b 45 59 32 20 2e 20 56 41 4c 55 45 32 29 20 2e 2e 29 | Y1...VALUE1).(KEY2...VALUE2)...) |
| 4b440 | 2e 0a 0a 45 78 61 6d 70 6c 65 3a 20 49 6e 70 75 74 20 53 54 52 20 5c 22 3a 66 6f 6f 20 62 61 72 | ...Example:.Input.STR.\":foo.bar |
| 4b460 | 20 3a 62 61 7a 20 31 20 3a 7a 6f 6f 20 5c 5c 5c 22 74 77 6f 20 77 6f 72 64 73 5c 5c 5c 22 5c 22 | .:baz.1.:zoo.\\\"two.words\\\"\" |
| 4b480 | 20 77 6f 75 6c 64 0a 63 6f 6e 76 65 72 74 20 74 6f 20 28 28 66 6f 6f 20 2e 20 5c 22 62 61 72 5c | .would.convert.to.((foo...\"bar\ |
| 4b4a0 | 22 29 20 28 62 61 7a 20 2e 20 31 29 20 28 7a 6f 6f 20 2e 20 5c 22 74 77 6f 20 77 6f 72 64 73 5c | ").(baz...1).(zoo...\"two.words\ |
| 4b4c0 | 22 29 29 2e 22 0a 20 20 28 6c 65 74 20 28 28 61 6c 69 73 74 20 28 6f 72 67 2d 62 61 62 65 6c 2d | "))."...(let.((alist.(org-babel- |
| 4b4e0 | 70 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d 65 6e 74 73 20 73 74 72 29 29 29 0a 20 20 | parse-header-arguments.str)))... |
| 4b500 | 20 20 28 64 6f 6c 69 73 74 20 28 70 61 69 72 20 61 6c 69 73 74 29 0a 20 20 20 20 20 20 3b 3b 20 | ..(dolist.(pair.alist).......;;. |
| 4b520 | 3a 4b 45 59 20 2d 3e 20 4b 45 59 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6b 65 79 20 28 69 6e | :KEY.->.KEY.......(let.((key.(in |
| 4b540 | 74 65 72 6e 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 | tern.(replace-regexp-in-string." |
| 4b560 | 5c 5c 60 3a 22 20 22 22 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 28 63 61 72 20 70 61 69 72 29 | \\`:"."".(symbol-name.(car.pair) |
| 4b580 | 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 63 61 72 20 70 61 69 72 20 6b 65 79 29 29 | ))))).........(setcar.pair.key)) |
| 4b5a0 | 29 0a 20 20 20 20 61 6c 69 73 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d | ).....alist))..(defun.org-hugo-- |
| 4b5c0 | 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 28 73 | front-matter-value-booleanize.(s |
| 4b5e0 | 74 72 29 0a 20 20 22 52 65 74 75 72 6e 20 61 20 5c 22 74 72 75 65 5c 22 20 6f 72 20 5c 22 66 61 | tr)..."Return.a.\"true\".or.\"fa |
| 4b600 | 6c 73 65 5c 22 20 73 74 72 69 6e 67 20 66 6f 72 20 69 6e 70 75 74 20 53 54 52 2e 22 0a 20 20 28 | lse\".string.for.input.STR."...( |
| 4b620 | 6c 65 74 20 28 28 73 74 72 2d 6c 6f 77 65 72 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 73 74 | let.((str-lower.(and.(stringp.st |
| 4b640 | 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 77 6e | r).........................(down |
| 4b660 | 63 61 73 65 20 73 74 72 29 29 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 6f 72 | case.str)))).....(cond......((or |
| 4b680 | 20 28 6e 75 6c 6c 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 | .(null.str)...........(string=." |
| 4b6a0 | 6e 69 6c 22 20 73 74 72 2d 6c 6f 77 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e | nil".str-lower)...........(strin |
| 4b6c0 | 67 3d 20 22 66 61 6c 73 65 22 20 73 74 72 2d 6c 6f 77 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 | g=."false".str-lower)........... |
| 4b6e0 | 28 73 74 72 69 6e 67 3d 20 22 6e 6f 22 20 73 74 72 2d 6c 6f 77 65 72 29 29 0a 20 20 20 20 20 20 | (string=."no".str-lower))....... |
| 4b700 | 22 66 61 6c 73 65 22 29 0a 20 20 20 20 20 28 28 6f 72 20 28 73 74 72 69 6e 67 3d 20 22 74 22 20 | "false")......((or.(string=."t". |
| 4b720 | 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 74 72 75 65 22 20 73 | str)...........(string=."true".s |
| 4b740 | 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 79 65 73 22 20 73 74 72 | tr)...........(string=."yes".str |
| 4b760 | 29 29 0a 20 20 20 20 20 20 22 74 72 75 65 22 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 | ))......."true")......(t.......( |
| 4b780 | 75 73 65 72 2d 65 72 72 6f 72 20 22 25 53 20 6e 65 65 64 73 20 74 6f 20 72 65 70 72 65 73 65 6e | user-error."%S.needs.to.represen |
| 4b7a0 | 74 20 61 20 62 6f 6f 6c 65 61 6e 20 76 61 6c 75 65 22 20 73 74 72 29 29 29 29 29 0a 0a 28 64 65 | t.a.boolean.value".str)))))..(de |
| 4b7c0 | 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 6d 65 6e 75 2d 70 72 6f 70 2d 74 6f | fun.org-hugo--parse-menu-prop-to |
| 4b7e0 | 2d 61 6c 69 73 74 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 61 6e 20 61 6c 69 73 74 | -alist.(info)..."Return.an.alist |
| 4b800 | 20 6f 66 20 76 61 6c 69 64 20 48 75 67 6f 20 6d 65 6e 75 20 70 72 6f 70 65 72 74 69 65 73 20 64 | .of.valid.Hugo.menu.properties.d |
| 4b820 | 65 72 69 76 65 64 20 66 72 6f 6d 20 49 4e 46 4f 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 | erived.from.INFO...INFO.is.a.pli |
| 4b840 | 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e | st.used.as.a.communication.chann |
| 4b860 | 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 66 6d 2d 66 6f 72 6d 61 74 20 28 70 6c 69 73 74 2d | el."...(let*.((fm-format.(plist- |
| 4b880 | 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d | get.info.:hugo-front-matter-form |
| 4b8a0 | 61 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 61 6c 69 73 74 20 28 6f 72 67 2d 68 | at))..........(menu-alist.(org-h |
| 4b8c0 | 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 70 | ugo--parse-property-arguments.(p |
| 4b8e0 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6d 65 6e 75 29 29 29 0a 20 20 20 20 | list-get.info.:hugo-menu)))..... |
| 4b900 | 20 20 20 20 20 28 6d 65 6e 75 2d 6f 76 2d 61 6c 69 73 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 | .....(menu-ov-alist.(org-hugo--p |
| 4b920 | 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 70 6c 69 73 74 2d 67 | arse-property-arguments.(plist-g |
| 4b940 | 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6d 65 6e 75 2d 6f 76 65 72 72 69 64 65 29 29 29 0a 20 | et.info.:hugo-menu-override))).. |
| 4b960 | 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 70 72 6f 70 73 20 27 28 6e 61 6d 65 20 75 72 6c 20 69 | ........(menu-props.'(name.url.i |
| 4b980 | 64 65 6e 74 69 66 69 65 72 20 70 72 65 20 70 6f 73 74 20 77 65 69 67 68 74 20 70 61 72 65 6e 74 | dentifier.pre.post.weight.parent |
| 4b9a0 | 20 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 | .title))..........valid-menu-ali |
| 4b9c0 | 73 74 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d | st).....;;.(message."[org-hugo-- |
| 4b9e0 | 70 61 72 73 65 2d 6d 65 6e 75 2d 70 72 6f 70 2d 74 6f 2d 61 6c 69 73 74 20 44 42 47 5d 20 6d 65 | parse-menu-prop-to-alist.DBG].me |
| 4ba00 | 6e 75 20 73 74 72 3a 20 25 53 2c 20 61 6c 69 73 74 3a 20 25 53 22 20 73 74 72 20 6d 65 6e 75 2d | nu.str:.%S,.alist:.%S".str.menu- |
| 4ba20 | 61 6c 69 73 74 29 0a 20 20 20 20 3b 3b 20 48 75 67 6f 20 6d 65 6e 75 20 70 72 6f 70 65 72 74 69 | alist).....;;.Hugo.menu.properti |
| 4ba40 | 65 73 3a 20 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 | es:.https://gohugo.io/content-ma |
| 4ba60 | 6e 61 67 65 6d 65 6e 74 2f 6d 65 6e 75 73 2f 0a 20 20 20 20 3b 3b 20 22 74 69 74 6c 65 22 20 70 | nagement/menus/.....;;."title".p |
| 4ba80 | 72 6f 70 65 72 74 79 20 66 6f 72 20 6d 65 6e 75 73 20 77 61 73 20 69 6e 74 72 6f 64 75 63 65 64 | roperty.for.menus.was.introduced |
| 4baa0 | 20 69 6e 20 48 75 67 6f 20 76 30 2e 33 32 2e 0a 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 | .in.Hugo.v0.32......;;.https://g |
| 4bac0 | 69 74 68 75 62 2e 63 6f 6d 2f 67 6f 68 75 67 6f 69 6f 2f 68 75 67 6f 2f 63 6f 6d 6d 69 74 2f 39 | ithub.com/gohugoio/hugo/commit/9 |
| 4bae0 | 64 66 33 37 33 36 66 65 63 31 36 34 63 35 31 64 38 31 39 37 39 37 34 31 36 64 63 32 36 33 66 32 | df3736fec164c51d819797416dc263f2 |
| 4bb00 | 38 36 39 62 65 37 37 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d | 869be77.....(cond......((string= |
| 4bb20 | 20 66 6d 2d 66 6f 72 6d 61 74 20 22 74 6f 6d 6c 22 29 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 | .fm-format."toml").......(when.( |
| 4bb40 | 61 73 73 6f 63 20 27 6d 65 6e 75 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 | assoc.'menu.menu-alist)......... |
| 4bb60 | 28 73 65 74 71 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 20 28 6c 69 73 74 20 28 63 64 | (setq.valid-menu-alist.(list.(cd |
| 4bb80 | 72 20 28 61 73 73 6f 63 20 27 6d 65 6e 75 20 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 29 0a 20 20 | r.(assoc.'menu.menu-alist))))... |
| 4bba0 | 20 20 20 20 20 20 28 6c 65 74 20 28 6d 65 6e 75 2d 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 | ......(let.(menu-params)........ |
| 4bbc0 | 20 20 20 28 64 6f 6c 69 73 74 20 28 70 72 6f 70 20 6d 65 6e 75 2d 70 72 6f 70 73 29 0a 20 20 20 | ...(dolist.(prop.menu-props).... |
| 4bbe0 | 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 65 6c 6c 20 28 6f 72 20 28 61 73 73 6f 63 20 | .........(let.((cell.(or.(assoc. |
| 4bc00 | 70 72 6f 70 20 6d 65 6e 75 2d 6f 76 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | prop.menu-ov-alist)............. |
| 4bc20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 73 73 6f 63 20 70 72 6f 70 20 6d 65 6e 75 | ................(assoc.prop.menu |
| 4bc40 | 2d 61 6c 69 73 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 63 | -alist))))...............(when.c |
| 4bc60 | 65 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 63 65 6c 6c 20 6d | ell.................(push.cell.m |
| 4bc80 | 65 6e 75 2d 70 61 72 61 6d 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 75 74 6f | enu-params))))...........;;.Auto |
| 4bca0 | 2d 73 65 74 20 6d 65 6e 75 20 69 64 65 6e 74 69 66 69 65 72 20 69 66 20 6e 6f 74 20 61 6c 72 65 | -set.menu.identifier.if.not.alre |
| 4bcc0 | 61 64 79 20 73 65 74 20 62 79 20 75 73 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 | ady.set.by.user............(unle |
| 4bce0 | 73 73 20 28 61 73 73 6f 63 20 27 69 64 65 6e 74 69 66 69 65 72 20 6d 65 6e 75 2d 70 61 72 61 6d | ss.(assoc.'identifier.menu-param |
| 4bd00 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 69 64 20 28 6f 72 67 2d 68 75 | s).............(let.((id.(org-hu |
| 4bd20 | 67 6f 2d 73 6c 75 67 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 73 61 6e 69 74 69 7a 65 64 | go-slug.(org-hugo--get-sanitized |
| 4bd40 | 2d 74 69 74 6c 65 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 | -title.info))))...............(p |
| 4bd60 | 75 73 68 20 60 28 69 64 65 6e 74 69 66 69 65 72 20 2e 20 2c 69 64 29 20 6d 65 6e 75 2d 70 61 72 | ush.`(identifier...,id).menu-par |
| 4bd80 | 61 6d 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 75 74 6f 2d 73 65 74 20 6d 65 6e | ams)))...........;;.Auto-set.men |
| 4bda0 | 75 20 77 65 69 67 68 74 20 69 66 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 73 65 74 20 62 79 20 75 | u.weight.if.not.already.set.by.u |
| 4bdc0 | 73 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 61 73 73 6f 63 20 27 77 | ser............(unless.(assoc.'w |
| 4bde0 | 65 69 67 68 74 20 6d 65 6e 75 2d 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 | eight.menu-params).............( |
| 4be00 | 77 68 65 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 0a 20 20 20 | when.org-hugo--subtree-coord.... |
| 4be20 | 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 60 28 77 65 69 67 68 74 20 2e 20 2c 28 6f 72 | ...........(push.`(weight...,(or |
| 4be40 | 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 29 29 20 6d 65 6e 75 2d 70 61 72 61 6d | g-hugo--calc-weight)).menu-param |
| 4be60 | 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 63 64 72 20 76 61 6c 69 64 2d 6d 65 6e | s)))...........(setcdr.valid-men |
| 4be80 | 75 2d 61 6c 69 73 74 20 6d 65 6e 75 2d 70 61 72 61 6d 73 29 29 0a 20 20 20 20 20 20 20 20 28 73 | u-alist.menu-params)).........(s |
| 4bea0 | 65 74 71 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 20 28 6c 69 73 74 20 76 61 6c 69 64 | etq.valid-menu-alist.(list.valid |
| 4bec0 | 2d 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 29 0a 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 66 | -menu-alist))))......((string=.f |
| 4bee0 | 6d 2d 66 6f 72 6d 61 74 20 22 79 61 6d 6c 22 29 0a 20 20 20 20 20 20 28 70 75 73 68 20 27 6d 65 | m-format."yaml").......(push.'me |
| 4bf00 | 6e 75 20 6d 65 6e 75 2d 70 72 6f 70 73 29 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 70 72 | nu.menu-props).......(dolist.(pr |
| 4bf20 | 6f 70 20 6d 65 6e 75 2d 70 72 6f 70 73 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 65 | op.menu-props).........(let.((ce |
| 4bf40 | 6c 6c 20 28 6f 72 20 28 61 73 73 6f 63 20 70 72 6f 70 20 6d 65 6e 75 2d 6f 76 2d 61 6c 69 73 74 | ll.(or.(assoc.prop.menu-ov-alist |
| 4bf60 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 73 73 6f 63 | ).........................(assoc |
| 4bf80 | 20 70 72 6f 70 20 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 | .prop.menu-alist))))...........( |
| 4bfa0 | 77 68 65 6e 20 63 65 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 63 65 6c 6c | when.cell.............(push.cell |
| 4bfc0 | 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 29 29 29 0a 20 20 20 20 76 61 6c 69 | .valid-menu-alist)))))).....vali |
| 4bfe0 | 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d | d-menu-alist))..(defun.org-hugo- |
| 4c000 | 2d 67 65 74 2d 73 61 6e 69 74 69 7a 65 64 2d 74 69 74 6c 65 20 28 69 6e 66 6f 29 0a 20 20 22 52 | -get-sanitized-title.(info)..."R |
| 4c020 | 65 74 75 72 6e 20 73 61 6e 69 74 69 7a 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 61 6e 20 4f 72 | eturn.sanitized.version.of.an.Or |
| 4c040 | 67 20 68 65 61 64 69 6e 67 20 54 49 54 4c 45 20 61 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 49 4e | g.heading.TITLE.as.a.string...IN |
| 4c060 | 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 | FO.is.a.plist.used.as.a.communic |
| 4c080 | 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 45 78 74 72 61 63 74 20 74 68 65 20 64 6f 63 75 | ation.channel...Extract.the.docu |
| 4c0a0 | 6d 65 6e 74 20 74 69 74 6c 65 20 66 72 6f 6d 20 49 4e 46 4f 20 28 75 6e 6c 65 73 73 20 65 78 70 | ment.title.from.INFO.(unless.exp |
| 4c0c0 | 6f 72 74 69 6e 67 20 74 69 74 6c 65 20 69 73 0a 64 69 73 61 62 6c 65 64 20 62 79 20 73 65 74 74 | orting.title.is.disabled.by.sett |
| 4c0e0 | 69 6e 67 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 74 69 74 6c 65 27 20 74 6f 20 6e | ing.`org-export-with-title'.to.n |
| 4c100 | 69 6c 20 6f 72 20 75 73 69 6e 67 20 74 68 65 0a 4f 50 54 49 4f 4e 53 20 6b 65 79 77 6f 72 64 20 | il.or.using.the.OPTIONS.keyword. |
| 4c120 | 65 2e 67 2e 20 5c 22 74 69 74 6c 65 3a 6e 69 6c 5c 22 29 2e 0a 0a 49 66 20 74 68 65 20 65 78 74 | e.g..\"title:nil\")...If.the.ext |
| 4c140 | 72 61 63 74 65 64 20 64 6f 63 75 6d 65 6e 74 20 74 69 74 6c 65 20 69 73 20 6e 69 6c 2c 20 61 6e | racted.document.title.is.nil,.an |
| 4c160 | 64 20 65 78 70 6f 72 74 69 6e 67 20 74 68 65 20 74 69 74 6c 65 0a 69 73 20 64 69 73 61 62 6c 65 | d.exporting.the.title.is.disable |
| 4c180 | 64 2c 20 72 65 74 75 72 6e 20 6e 69 6c 2e 0a 0a 49 66 20 74 68 65 20 65 78 74 72 61 63 74 65 64 | d,.return.nil...If.the.extracted |
| 4c1a0 | 20 64 6f 63 75 6d 65 6e 74 20 74 69 74 6c 65 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 65 74 75 | .document.title.is.non-nil,.retu |
| 4c1c0 | 72 6e 20 69 74 20 61 66 74 65 72 0a 72 65 6d 6f 76 69 6e 67 20 61 6c 6c 20 6d 61 72 6b 75 70 20 | rn.it.after.removing.all.markup. |
| 4c1e0 | 63 68 61 72 61 63 74 65 72 73 2e 0a 0a 41 6c 73 6f 20 64 6f 75 62 6c 65 2d 71 75 6f 74 65 20 74 | characters...Also.double-quote.t |
| 4c200 | 68 65 20 74 69 74 6c 65 20 69 66 20 69 74 20 64 6f 65 73 6e 27 74 20 61 6c 72 65 61 64 79 20 63 | he.title.if.it.doesn't.already.c |
| 4c220 | 6f 6e 74 61 69 6e 20 61 6e 79 0a 64 6f 75 62 6c 65 2d 71 75 6f 74 65 73 2e 22 0a 20 20 28 6c 65 | ontain.any.double-quotes."...(le |
| 4c240 | 74 20 28 28 74 69 74 6c 65 20 28 77 68 65 6e 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 | t.((title.(when.(plist-get.info. |
| 4c260 | 3a 77 69 74 68 2d 74 69 74 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 | :with-title)..................(p |
| 4c280 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 74 69 74 6c 65 29 29 29 29 0a 20 20 20 20 28 77 68 | list-get.info.:title)))).....(wh |
| 4c2a0 | 65 6e 20 74 69 74 6c 65 0a 20 20 20 20 20 20 3b 3b 20 22 52 61 77 22 20 62 61 63 6b 65 6e 64 20 | en.title.......;;."Raw".backend. |
| 4c2c0 | 74 68 61 74 20 72 65 74 75 72 6e 73 20 65 6d 70 68 61 73 69 73 20 65 6c 65 6d 65 6e 74 73 20 77 | that.returns.emphasis.elements.w |
| 4c2e0 | 69 74 68 6f 75 74 20 61 6e 79 0a 20 20 20 20 20 20 3b 3b 20 6d 61 72 6b 75 70 20 63 68 61 72 61 | ithout.any.......;;.markup.chara |
| 4c300 | 63 74 65 72 73 20 2d 2d 0a 20 20 20 20 20 20 3b 3b 20 68 74 74 70 3a 2f 2f 6c 69 73 74 73 2e 67 | cters.--.......;;.http://lists.g |
| 4c320 | 6e 75 2e 6f 72 67 2f 72 2f 65 6d 61 63 73 2d 6f 72 67 6d 6f 64 65 2f 32 30 31 37 2d 31 32 2f 6d | nu.org/r/emacs-orgmode/2017-12/m |
| 4c340 | 73 67 30 30 34 39 30 2e 68 74 6d 6c 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 61 77 2d 62 | sg00490.html.......(let*.((raw-b |
| 4c360 | 61 63 6b 65 6e 64 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 67 65 74 | ackend................(let.((get |
| 4c380 | 2d 72 61 77 20 28 6c 61 6d 62 64 61 20 28 6f 62 6a 65 63 74 20 63 6f 6e 74 65 6e 74 73 20 5f 29 | -raw.(lambda.(object.contents._) |
| 4c3a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4c3c0 | 28 6f 72 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (or.contents.................... |
| 4c3e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f | ................(org-element-pro |
| 4c400 | 70 65 72 74 79 20 3a 76 61 6c 75 65 20 6f 62 6a 65 63 74 29 29 29 29 29 0a 20 20 20 20 20 20 20 | perty.:value.object)))))........ |
| 4c420 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 63 72 65 61 74 65 2d 62 61 63 6b | .........(org-export-create-back |
| 4c440 | 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 70 61 72 65 6e 74 20 27 61 73 | end..................:parent.'as |
| 4c460 | 63 69 69 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 74 72 61 6e 73 63 6f 64 65 72 | cii..................:transcoder |
| 4c480 | 73 20 28 6d 61 70 63 61 72 20 28 6c 61 6d 62 64 61 20 28 74 79 70 65 29 0a 20 20 20 20 20 20 20 | s.(mapcar.(lambda.(type)........ |
| 4c4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4c4c0 | 20 28 63 6f 6e 73 20 74 79 70 65 20 67 65 74 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 | .(cons.type.get-raw))........... |
| 4c4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 62 6f | ............................'(bo |
| 4c500 | 6c 64 20 63 6f 64 65 20 69 74 61 6c 69 63 20 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 0a 20 20 | ld.code.italic.strike-through... |
| 4c520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4c540 | 20 20 20 20 20 20 20 20 20 20 20 75 6e 64 65 72 6c 69 6e 65 20 76 65 72 62 61 74 69 6d 29 29 29 | ...........underline.verbatim))) |
| 4c560 | 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 69 74 6c 65 20 28 6f 72 67 2d 65 78 70 | ))).........(setq.title.(org-exp |
| 4c580 | 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 6b 65 6e 64 20 74 69 74 6c 65 20 72 61 77 2d | ort-data-with-backend.title.raw- |
| 4c5a0 | 62 61 63 6b 65 6e 64 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 48 75 67 6f 20 64 | backend.info)).........;;.Hugo.d |
| 4c5c0 | 6f 65 73 20 6e 6f 74 20 72 65 6e 64 65 72 20 4d 61 72 6b 64 6f 77 6e 20 69 6e 20 74 68 65 20 74 | oes.not.render.Markdown.in.the.t |
| 4c5e0 | 69 74 6c 65 73 2e 20 20 53 6f 20 64 6f 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 3b 3b 20 68 65 | itles...So.do.that.........;;.he |
| 4c600 | 72 65 20 69 6e 73 74 65 61 64 2e 20 20 43 6f 6e 76 65 72 74 20 22 2d 2d 2d 22 20 74 6f 20 45 4d | re.instead...Convert."---".to.EM |
| 4c620 | 20 44 41 53 48 2c 20 22 2d 2d 22 20 74 6f 20 45 4e 20 44 41 53 48 2c 0a 20 20 20 20 20 20 20 20 | .DASH,."--".to.EN.DASH,......... |
| 4c640 | 3b 3b 20 61 6e 64 20 22 2e 2e 2e 22 20 74 6f 20 48 4f 52 49 5a 4f 4e 54 41 4c 20 45 4c 4c 49 50 | ;;.and."...".to.HORIZONTAL.ELLIP |
| 4c660 | 53 49 53 2e 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 42 65 6c 6f 77 20 74 77 6f 20 72 65 70 6c 61 | SIS...........;;.Below.two.repla |
| 4c680 | 63 65 6d 65 6e 74 73 20 61 72 65 20 6f 72 64 65 72 20 73 65 6e 73 69 74 69 76 65 21 0a 20 20 20 | cements.are.order.sensitive!.... |
| 4c6a0 | 20 20 20 20 20 28 73 65 74 71 20 74 69 74 6c 65 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 | .....(setq.title.(replace-regexp |
| 4c6c0 | 2d 69 6e 2d 73 74 72 69 6e 67 20 22 2d 2d 2d 5c 5c 28 5b 5e 2d 5d 5c 5c 29 22 20 22 e2 80 94 5c | -in-string."---\\([^-]\\)"."...\ |
| 4c6e0 | 5c 31 22 20 74 69 74 6c 65 29 29 20 3b 45 4d 20 44 41 53 48 0a 20 20 20 20 20 20 20 20 28 73 65 | \1".title)).;EM.DASH.........(se |
| 4c700 | 74 71 20 74 69 74 6c 65 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 | tq.title.(replace-regexp-in-stri |
| 4c720 | 6e 67 20 22 2d 2d 5c 5c 28 5b 5e 2d 5d 5c 5c 29 22 20 22 e2 80 93 5c 5c 31 22 20 74 69 74 6c 65 | ng."--\\([^-]\\)"."...\\1".title |
| 4c740 | 29 29 20 3b 45 4e 20 44 41 53 48 0a 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 69 74 6c 65 | )).;EN.DASH..........(setq.title |
| 4c760 | 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 2e 5c | .(replace-regexp-in-string."\\.\ |
| 4c780 | 5c 2e 5c 5c 2e 22 20 22 e2 80 a6 22 20 74 69 74 6c 65 29 29 29 29 20 3b 48 4f 52 49 5a 4f 4e 54 | \.\\."."...".title)))).;HORIZONT |
| 4c7a0 | 41 4c 20 45 4c 4c 49 50 53 49 53 0a 20 20 20 20 74 69 74 6c 65 29 29 0a 0a 28 64 65 66 75 6e 20 | AL.ELLIPSIS.....title))..(defun. |
| 4c7c0 | 6f 72 67 2d 68 75 67 6f 2d 2d 72 65 70 6c 61 63 65 2d 75 6e 64 65 72 73 63 6f 72 65 73 2d 77 69 | org-hugo--replace-underscores-wi |
| 4c7e0 | 74 68 2d 73 70 61 63 65 73 20 28 73 74 72 29 0a 20 20 22 52 65 70 6c 61 63 65 20 64 6f 75 62 6c | th-spaces.(str)..."Replace.doubl |
| 4c800 | 65 20 75 6e 64 65 72 73 63 6f 72 65 73 20 69 6e 20 53 54 52 20 77 69 74 68 20 73 69 6e 67 6c 65 | e.underscores.in.STR.with.single |
| 4c820 | 20 73 70 61 63 65 73 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 5c 22 73 6f 6d 65 5f 5f 74 | .spaces...For.example,.\"some__t |
| 4c840 | 68 69 6e 67 5c 22 20 77 6f 75 6c 64 20 67 65 74 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 5c 22 | hing\".would.get.converted.to.\" |
| 4c860 | 73 6f 6d 65 0a 74 68 69 6e 67 5c 22 2e 22 0a 20 20 3b 3b 20 49 74 20 69 73 20 73 61 66 65 20 74 | some.thing\"."...;;.It.is.safe.t |
| 4c880 | 6f 20 61 73 73 75 6d 65 20 74 68 61 74 20 6e 6f 20 6f 6e 65 20 77 6f 75 6c 64 20 77 61 6e 74 20 | o.assume.that.no.one.would.want. |
| 4c8a0 | 6c 65 61 64 69 6e 67 2f 74 72 61 69 6c 69 6e 67 0a 20 20 3b 3b 20 73 70 61 63 65 73 20 69 6e 20 | leading/trailing...;;.spaces.in. |
| 4c8c0 | 60 73 74 72 27 2e 2e 20 73 6f 20 6e 6f 74 20 63 68 65 63 6b 69 6e 67 20 66 6f 72 20 22 5f 5f 61 | `str'...so.not.checking.for."__a |
| 4c8e0 | 22 20 6f 72 20 22 61 5f 5f 22 20 63 61 73 65 73 2e 0a 20 20 28 6c 65 74 20 28 28 72 65 74 20 73 | ".or."a__".cases....(let.((ret.s |
| 4c900 | 74 72 29 0a 20 20 20 20 20 20 20 20 28 72 67 78 20 22 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f 5f 5c 5c | tr).........(rgx."\\([^_]\\)__\\ |
| 4c920 | 28 5b 5e 5f 5d 5c 5c 29 22 29 29 0a 20 20 20 20 28 77 68 69 6c 65 20 28 73 74 72 69 6e 67 2d 6d | ([^_]\\)")).....(while.(string-m |
| 4c940 | 61 74 63 68 2d 70 20 72 67 78 20 72 65 74 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 | atch-p.rgx.ret).......(setq.ret. |
| 4c960 | 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 72 67 78 20 22 5c | (replace-regexp-in-string.rgx."\ |
| 4c980 | 5c 31 20 5c 5c 32 22 20 72 65 74 29 29 29 20 3b 22 61 5f 5f 62 22 20 20 2d 3e 20 22 61 20 62 22 | \1.\\2".ret))).;"a__b"..->."a.b" |
| 4c9a0 | 0a 20 20 20 20 72 65 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 | .....ret))..(defun.org-hugo--tag |
| 4c9c0 | 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 73 70 61 63 | -processing-fn-replace-with-spac |
| 4c9e0 | 65 73 2d 6d 61 79 62 65 20 28 74 61 67 2d 6c 69 73 74 20 69 6e 66 6f 29 0a 20 20 22 52 65 70 6c | es-maybe.(tag-list.info)..."Repl |
| 4ca00 | 61 63 65 20 64 6f 75 62 6c 65 20 75 6e 64 65 72 73 63 6f 72 65 73 20 69 6e 20 54 41 47 2d 4c 49 | ace.double.underscores.in.TAG-LI |
| 4ca20 | 53 54 20 65 6c 65 6d 65 6e 74 73 20 77 69 74 68 20 73 69 6e 67 6c 65 20 73 70 61 63 65 73 2e 0a | ST.elements.with.single.spaces.. |
| 4ca40 | 0a 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 61 6e 20 65 6c 65 6d 65 6e 74 20 5c 22 73 6f 6d 65 5f | .For.example,.an.element.\"some_ |
| 4ca60 | 5f 74 61 67 5c 22 20 77 6f 75 6c 64 20 67 65 74 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 0a 5c 22 | _tag\".would.get.converted.to.\" |
| 4ca80 | 73 6f 6d 65 20 74 61 67 5c 22 2e 0a 0a 54 68 69 73 20 72 65 70 6c 61 63 65 6d 65 6e 74 20 69 73 | some.tag\"...This.replacement.is |
| 4caa0 | 20 65 6e 61 62 6c 65 64 20 69 66 20 60 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 | .enabled.if.`org-hugo-allow-spac |
| 4cac0 | 65 73 2d 69 6e 2d 74 61 67 73 27 20 6f 72 0a 48 55 47 4f 5f 41 4c 4c 4f 57 5f 53 50 41 43 45 53 | es-in-tags'.or.HUGO_ALLOW_SPACES |
| 4cae0 | 5f 49 4e 5f 54 41 47 53 20 70 72 6f 70 65 72 74 79 20 69 73 20 73 65 74 20 74 6f 20 61 20 6e 6f | _IN_TAGS.property.is.set.to.a.no |
| 4cb00 | 6e 2d 6e 69 6c 20 76 61 6c 75 65 2e 0a 0a 54 41 47 2d 4c 49 53 54 20 77 68 69 63 68 20 69 73 20 | n-nil.value...TAG-LIST.which.is. |
| 4cb20 | 61 20 6c 69 73 74 20 6f 66 20 4f 72 67 20 74 61 67 73 20 6f 66 20 74 68 65 20 74 79 70 65 20 5c | a.list.of.Org.tags.of.the.type.\ |
| 4cb40 | 28 5c 22 54 41 47 31 5c 22 0a 5c 22 54 41 47 32 5c 22 20 2e 2e 29 2e 20 20 49 4e 46 4f 20 69 73 | (\"TAG1\".\"TAG2\"...)...INFO.is |
| 4cb60 | 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e | .a.plist.used.as.a.communication |
| 4cb80 | 20 63 68 61 6e 6e 65 6c 2e 0a 0a 54 68 69 73 20 69 73 20 6f 6e 65 20 6f 66 20 74 68 65 20 70 72 | .channel...This.is.one.of.the.pr |
| 4cba0 | 6f 63 65 73 73 69 6e 67 20 66 75 6e 63 74 69 6f 6e 73 20 69 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d | ocessing.functions.in.`org-hugo- |
| 4cbc0 | 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 27 2e 22 0a 20 20 28 6c | tag-processing-functions'."...(l |
| 4cbe0 | 65 74 20 28 28 61 6c 6c 6f 77 2d 73 70 61 63 65 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 | et.((allow-spaces.(org-hugo--pli |
| 4cc00 | 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 | st-get-true-p.info.:hugo-allow-s |
| 4cc20 | 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 29 29 29 0a 20 20 20 20 28 69 66 20 61 6c 6c 6f 77 2d 73 | paces-in-tags))).....(if.allow-s |
| 4cc40 | 70 61 63 65 73 0a 20 20 20 20 20 20 20 20 28 6d 61 70 63 61 72 20 23 27 6f 72 67 2d 68 75 67 6f | paces.........(mapcar.#'org-hugo |
| 4cc60 | 2d 2d 72 65 70 6c 61 63 65 2d 75 6e 64 65 72 73 63 6f 72 65 73 2d 77 69 74 68 2d 73 70 61 63 65 | --replace-underscores-with-space |
| 4cc80 | 73 20 74 61 67 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 74 61 67 2d 6c 69 73 74 29 29 29 0a 0a 28 | s.tag-list).......tag-list)))..( |
| 4cca0 | 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 | defun.org-hugo--tag-processing-f |
| 4ccc0 | 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 68 79 70 68 65 6e 73 2d 6d 61 79 62 65 20 28 74 61 | n-replace-with-hyphens-maybe.(ta |
| 4cce0 | 67 2d 6c 69 73 74 20 69 6e 66 6f 29 0a 20 20 22 52 65 70 6c 61 63 65 20 73 69 6e 67 6c 65 20 75 | g-list.info)..."Replace.single.u |
| 4cd00 | 6e 64 65 72 73 63 6f 72 65 73 20 69 6e 20 54 41 47 2d 4c 49 53 54 20 65 6c 65 6d 65 6e 74 73 20 | nderscores.in.TAG-LIST.elements. |
| 4cd20 | 77 69 74 68 20 73 69 6e 67 6c 65 20 68 79 70 68 65 6e 73 2e 0a 41 6e 64 20 74 72 69 70 6c 65 20 | with.single.hyphens..And.triple. |
| 4cd40 | 75 6e 64 65 72 73 63 6f 72 65 73 20 77 69 6c 6c 20 62 65 20 72 65 70 6c 61 63 65 64 20 77 69 74 | underscores.will.be.replaced.wit |
| 4cd60 | 68 20 73 69 6e 67 6c 65 20 75 6e 64 65 72 73 63 6f 72 65 73 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 | h.single.underscores...For.examp |
| 4cd80 | 6c 65 2c 20 61 6e 20 65 6c 65 6d 65 6e 74 20 5c 22 73 6f 6d 65 5f 74 61 67 5c 22 20 77 6f 75 6c | le,.an.element.\"some_tag\".woul |
| 4cda0 | 64 20 67 65 74 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 0a 5c 22 73 6f 6d 65 2d 74 61 67 5c 22 2c | d.get.converted.to.\"some-tag\", |
| 4cdc0 | 20 61 6e 64 20 5c 22 73 6f 6d 65 5f 5f 5f 74 61 67 5c 22 20 74 6f 20 5c 22 73 6f 6d 65 5f 74 61 | .and.\"some___tag\".to.\"some_ta |
| 4cde0 | 67 5c 22 2e 0a 0a 54 68 69 73 20 72 65 70 6c 61 63 65 6d 65 6e 74 20 69 73 20 65 6e 61 62 6c 65 | g\"...This.replacement.is.enable |
| 4ce00 | 64 20 69 66 20 60 6f 72 67 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d | d.if.`org-hugo-prefer-hyphen-in- |
| 4ce20 | 74 61 67 73 27 0a 6f 72 20 48 55 47 4f 5f 50 52 45 46 45 52 5f 48 59 50 48 45 4e 5f 49 4e 5f 54 | tags'.or.HUGO_PREFER_HYPHEN_IN_T |
| 4ce40 | 41 47 53 20 70 72 6f 70 65 72 74 79 20 69 73 20 73 65 74 20 74 6f 20 61 20 6e 6f 6e 2d 6e 69 6c | AGS.property.is.set.to.a.non-nil |
| 4ce60 | 20 76 61 6c 75 65 2e 0a 0a 54 41 47 2d 4c 49 53 54 20 77 68 69 63 68 20 69 73 20 61 20 6c 69 73 | .value...TAG-LIST.which.is.a.lis |
| 4ce80 | 74 20 6f 66 20 4f 72 67 20 74 61 67 73 20 6f 66 20 74 68 65 20 74 79 70 65 20 5c 28 5c 22 54 41 | t.of.Org.tags.of.the.type.\(\"TA |
| 4cea0 | 47 31 5c 22 0a 5c 22 54 41 47 32 5c 22 20 2e 2e 29 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c | G1\".\"TAG2\"...)...INFO.is.a.pl |
| 4cec0 | 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e | ist.used.as.a.communication.chan |
| 4cee0 | 6e 65 6c 2e 0a 0a 54 68 69 73 20 69 73 20 6f 6e 65 20 6f 66 20 74 68 65 20 70 72 6f 63 65 73 73 | nel...This.is.one.of.the.process |
| 4cf00 | 69 6e 67 20 66 75 6e 63 74 69 6f 6e 73 20 69 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 | ing.functions.in.`org-hugo-tag-p |
| 4cf20 | 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 27 2e 22 0a 20 20 28 6c 65 74 20 28 28 | rocessing-functions'."...(let.(( |
| 4cf40 | 70 72 65 66 65 72 2d 68 79 70 68 65 6e 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d | prefer-hyphens.(org-hugo--plist- |
| 4cf60 | 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 | get-true-p.info.:hugo-prefer-hyp |
| 4cf80 | 68 65 6e 2d 69 6e 2d 74 61 67 73 29 29 29 0a 20 20 20 20 28 69 66 20 70 72 65 66 65 72 2d 68 79 | hen-in-tags))).....(if.prefer-hy |
| 4cfa0 | 70 68 65 6e 73 0a 20 20 20 20 20 20 20 20 28 6d 61 70 63 61 72 0a 20 20 20 20 20 20 20 20 20 28 | phens.........(mapcar..........( |
| 4cfc0 | 6c 61 6d 62 64 61 20 28 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 | lambda.(tag)............(setq.ta |
| 4cfe0 | 67 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 | g.(replace-regexp-in-string."\\` |
| 4d000 | 5f 5c 5c 28 5b 5e 5f 5d 5c 5c 29 22 20 22 2d 5c 5c 31 22 20 74 61 67 29 29 20 20 20 20 20 20 20 | _\\([^_]\\)"."-\\1".tag))....... |
| 4d020 | 20 20 3b 22 5f 61 22 20 20 20 20 2d 3e 20 22 2d 61 22 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 | ..;"_a"....->."-a"............(s |
| 4d040 | 65 74 71 20 74 61 67 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e | etq.tag.(replace-regexp-in-strin |
| 4d060 | 67 20 22 5c 5c 60 5f 5f 5f 5c 5c 28 5b 5e 5f 5d 5c 5c 29 22 20 22 5f 5c 5c 31 22 20 74 61 67 29 | g."\\`___\\([^_]\\)"."_\\1".tag) |
| 4d080 | 29 20 20 20 20 20 20 20 3b 22 5f 5f 5f 61 22 20 20 2d 3e 20 22 5f 61 22 0a 20 20 20 20 20 20 20 | ).......;"___a"..->."_a"........ |
| 4d0a0 | 20 20 20 20 28 73 65 74 71 20 74 61 67 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e | ....(setq.tag.(replace-regexp-in |
| 4d0c0 | 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f 5c 5c 27 22 20 22 5c 5c 31 2d 22 20 | -string."\\([^_]\\)_\\'"."\\1-". |
| 4d0e0 | 74 61 67 29 29 20 20 20 20 20 20 20 20 20 3b 22 61 5f 22 20 20 20 20 2d 3e 20 22 61 2d 22 0a 20 | tag)).........;"a_"....->."a-".. |
| 4d100 | 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 67 20 28 72 65 70 6c 61 63 65 2d 72 65 67 | ..........(setq.tag.(replace-reg |
| 4d120 | 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f 5f 5f 5c 5c 27 22 | exp-in-string."\\([^_]\\)___\\'" |
| 4d140 | 20 22 5c 5c 31 5f 22 20 74 61 67 29 29 20 20 20 20 20 20 20 3b 22 61 5f 5f 5f 22 20 20 2d 3e 20 | ."\\1_".tag)).......;"a___"..->. |
| 4d160 | 22 61 5f 22 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 67 20 28 72 65 70 6c 61 | "a_"............(setq.tag.(repla |
| 4d180 | 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f | ce-regexp-in-string."\\([^_]\\)_ |
| 4d1a0 | 5c 5c 28 5b 5e 5f 5d 5c 5c 29 22 20 22 5c 5c 31 2d 5c 5c 32 22 20 74 61 67 29 29 20 20 20 3b 22 | \\([^_]\\)"."\\1-\\2".tag))...;" |
| 4d1c0 | 61 5f 62 22 20 20 20 2d 3e 20 22 61 2d 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 | a_b"...->."a-b"............(setq |
| 4d1e0 | 20 74 61 67 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 | .tag.(replace-regexp-in-string." |
| 4d200 | 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f 5f 5f 5c 5c 28 5b 5e 5f 5d 5c 5c 29 22 20 22 5c 5c 31 5f 5c 5c | \\([^_]\\)___\\([^_]\\)"."\\1_\\ |
| 4d220 | 32 22 20 74 61 67 29 29 20 3b 22 61 5f 5f 5f 62 22 20 2d 3e 20 22 61 5f 62 22 0a 20 20 20 20 20 | 2".tag)).;"a___b".->."a_b"...... |
| 4d240 | 20 20 20 20 20 20 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 74 61 67 2d 6c 69 73 74 29 0a 20 20 | ......tag)..........tag-list)... |
| 4d260 | 20 20 20 20 74 61 67 2d 6c 69 73 74 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f | ....tag-list)))..(defun.org-hugo |
| 4d280 | 2d 2d 64 65 6c 69 6d 2d 73 74 72 2d 74 6f 2d 6c 69 73 74 20 28 73 74 72 29 0a 20 20 22 46 75 6e | --delim-str-to-list.(str)..."Fun |
| 4d2a0 | 63 74 69 6f 6e 20 74 6f 20 74 72 61 6e 73 66 6f 72 6d 20 73 74 72 69 6e 67 20 53 54 52 20 74 6f | ction.to.transform.string.STR.to |
| 4d2c0 | 20 61 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 2e 0a 0a 54 68 65 20 66 75 6e 63 74 69 6f | .a.list.of.strings...The.functio |
| 4d2e0 | 6e 20 61 73 73 75 6d 65 73 20 53 54 52 20 74 6f 20 75 73 65 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d | n.assumes.STR.to.use.`org-hugo-- |
| 4d300 | 69 6e 74 65 72 6e 61 6c 2d 6c 69 73 74 2d 73 65 70 61 72 61 74 6f 72 27 20 61 73 20 64 65 6c 69 | internal-list-separator'.as.deli |
| 4d320 | 6d 69 74 65 72 2e 0a 0a 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 64 6f 65 73 20 74 68 65 20 66 6f | miter...The.function.does.the.fo |
| 4d340 | 6c 6c 6f 77 69 6e 67 20 69 6e 20 6f 72 64 65 72 3a 0a 0a 31 2e 20 54 72 69 6d 20 6c 65 61 64 69 | llowing.in.order:..1..Trim.leadi |
| 4d360 | 6e 67 2f 74 72 61 69 6c 69 6e 67 20 73 70 61 63 65 73 20 66 72 6f 6d 20 53 54 52 2e 0a 32 2e 20 | ng/trailing.spaces.from.STR..2.. |
| 4d380 | 43 6f 6e 76 65 72 74 20 74 68 61 74 20 73 74 72 69 6e 67 20 74 6f 20 61 20 6c 69 73 74 20 75 73 | Convert.that.string.to.a.list.us |
| 4d3a0 | 69 6e 67 0a 20 20 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 69 6e 74 65 72 6e 61 6c 2d 6c 69 73 74 2d | ing....`org-hugo--internal-list- |
| 4d3c0 | 73 65 70 61 72 61 74 6f 72 27 20 61 73 20 74 68 65 20 73 65 70 61 72 61 74 6f 72 2e 0a 33 2e 20 | separator'.as.the.separator..3.. |
| 4d3e0 | 42 72 65 61 6b 20 75 70 20 65 61 63 68 20 65 6c 65 6d 65 6e 74 20 6f 66 20 74 68 61 74 20 6c 69 | Break.up.each.element.of.that.li |
| 4d400 | 73 74 20 69 6e 74 6f 20 66 75 72 74 68 65 72 20 73 74 72 69 6e 67 20 65 6c 65 6d 65 6e 74 73 2c | st.into.further.string.elements, |
| 4d420 | 0a 20 20 20 64 65 6c 69 6d 69 74 65 64 20 62 79 20 73 70 61 63 65 73 2e 20 20 54 68 6f 75 67 68 | ....delimited.by.spaces...Though |
| 4d440 | 2c 20 73 70 61 63 65 73 20 77 69 74 68 69 6e 20 71 75 6f 74 65 64 20 73 74 72 69 6e 67 20 61 72 | ,.spaces.within.quoted.string.ar |
| 4d460 | 65 0a 20 20 20 72 65 74 61 69 6e 65 64 2e 20 20 54 68 69 73 20 69 73 20 64 6f 6e 65 20 75 73 69 | e....retained...This.is.done.usi |
| 4d480 | 6e 67 20 60 6f 72 67 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d | ng.`org-babel-parse-header-argum |
| 4d4a0 | 65 6e 74 73 27 2e 0a 34 2e 20 52 65 74 75 72 6e 20 74 68 65 20 74 72 61 6e 73 66 6f 72 6d 65 64 | ents'..4..Return.the.transformed |
| 4d4c0 | 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 2e 0a 0a 45 78 61 6d 70 6c 65 3a 20 5c 22 6f 6e | .list.of.strings...Example:.\"on |
| 4d4e0 | 65 5c 5c 6e 5c 5c 5c 22 74 77 6f 20 77 6f 72 64 73 5c 5c 5c 22 20 74 68 72 65 65 5c 5c 6e 66 6f | e\\n\\\"two.words\\\".three\\nfo |
| 4d500 | 75 72 5c 22 0a 20 20 20 20 20 20 20 20 20 2d 3e 20 28 5c 22 6f 6e 65 5c 22 20 5c 22 74 77 6f 20 | ur\"..........->.(\"one\".\"two. |
| 4d520 | 77 6f 72 64 73 5c 22 20 5c 22 74 68 72 65 65 5c 22 20 5c 22 66 6f 75 72 5c 22 29 2e 0a 0a 52 65 | words\".\"three\".\"four\")...Re |
| 4d540 | 74 75 72 6e 20 6e 69 6c 20 69 66 20 53 54 52 20 69 73 20 6e 6f 74 20 61 20 73 74 72 69 6e 67 2e | turn.nil.if.STR.is.not.a.string. |
| 4d560 | 22 0a 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 70 20 73 74 72 29 0a 20 20 20 20 28 6c 65 74 | "...(when.(stringp.str).....(let |
| 4d580 | 2a 20 28 28 73 74 72 20 28 6f 72 67 2d 74 72 69 6d 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 | *.((str.(org-trim.str))......... |
| 4d5a0 | 20 20 20 28 73 74 72 2d 6c 69 73 74 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 73 74 72 20 6f | ...(str-list.(split-string.str.o |
| 4d5c0 | 72 67 2d 68 75 67 6f 2d 2d 69 6e 74 65 72 6e 61 6c 2d 6c 69 73 74 2d 73 65 70 61 72 61 74 6f 72 | rg-hugo--internal-list-separator |
| 4d5e0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 65 74 29 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 74 | ))............ret).......(dolist |
| 4d600 | 20 28 73 74 72 2d 65 6c 65 6d 20 73 74 72 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 28 6c 65 | .(str-elem.str-list).........(le |
| 4d620 | 74 2a 20 28 28 66 6f 72 6d 61 74 2d 73 74 72 20 22 3a 64 75 6d 6d 79 20 27 28 25 73 29 22 29 20 | t*.((format-str.":dummy.'(%s)"). |
| 4d640 | 3b 54 68 65 20 3a 64 75 6d 6d 79 20 6b 65 79 20 69 73 20 64 69 73 63 61 72 64 65 64 20 69 6e 20 | ;The.:dummy.key.is.discarded.in. |
| 4d660 | 74 68 65 20 60 6c 73 74 27 20 76 61 72 20 62 65 6c 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | the.`lst'.var.below............. |
| 4d680 | 20 20 20 20 28 61 6c 69 73 74 20 28 6f 72 67 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 | ....(alist.(org-babel-parse-head |
| 4d6a0 | 65 72 2d 61 72 67 75 6d 65 6e 74 73 20 28 66 6f 72 6d 61 74 20 66 6f 72 6d 61 74 2d 73 74 72 20 | er-arguments.(format.format-str. |
| 4d6c0 | 73 74 72 2d 65 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 73 74 20 | str-elem)))................(lst. |
| 4d6e0 | 28 63 64 72 20 28 63 61 72 20 61 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | (cdr.(car.alist))).............. |
| 4d700 | 20 20 28 73 74 72 2d 6c 69 73 74 32 20 28 6d 61 70 63 61 72 20 28 6c 61 6d 62 64 61 20 28 65 6c | ..(str-list2.(mapcar.(lambda.(el |
| 4d720 | 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | em)............................. |
| 4d740 | 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........(cond................... |
| 4d760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 65 6c 65 | ...................((symbolp.ele |
| 4d780 | 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m).............................. |
| 4d7a0 | 20 20 20 20 20 20 20 20 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 65 6c 65 6d 29 29 0a 20 20 20 | .........(symbol-name.elem)).... |
| 4d7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4d7e0 | 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(t............................ |
| 4d800 | 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........elem))).............. |
| 4d820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 73 74 29 29 29 0a 20 20 20 20 | .....................lst)))..... |
| 4d840 | 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 61 70 70 65 6e 64 20 72 65 74 20 73 74 72 2d | ......(setq.ret.(append.ret.str- |
| 4d860 | 6c 69 73 74 32 29 29 29 29 0a 20 20 20 20 20 20 72 65 74 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f | list2)))).......ret)))..(defun.o |
| 4d880 | 72 67 2d 68 75 67 6f 2d 2d 63 61 74 65 67 6f 72 79 2d 70 20 28 74 61 67 29 0a 20 20 22 52 65 74 | rg-hugo--category-p.(tag)..."Ret |
| 4d8a0 | 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 54 41 47 20 62 65 67 69 6e 73 20 77 69 74 68 20 5c | urn.non-nil.if.TAG.begins.with.\ |
| 4d8c0 | 22 40 5c 22 2e 0a 0a 4f 72 67 20 74 61 67 73 20 74 68 61 74 20 62 65 67 69 6e 20 77 69 74 68 20 | "@\"...Org.tags.that.begin.with. |
| 4d8e0 | 5c 22 40 5c 22 20 61 72 65 20 73 65 74 20 61 73 20 74 68 65 20 63 61 74 65 67 6f 72 69 65 73 20 | \"@\".are.set.as.the.categories. |
| 4d900 | 66 69 65 6c 64 20 69 6e 0a 74 68 65 20 48 75 67 6f 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 22 | field.in.the.Hugo.front-matter." |
| 4d920 | 0a 20 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 74 61 67 29 0a 20 20 20 20 20 20 20 28 73 74 | ...(and.(stringp.tag)........(st |
| 4d940 | 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 40 22 20 74 61 67 29 29 29 0a 0a 28 64 65 66 | ring-match-p."\\`@".tag)))..(def |
| 4d960 | 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 65 78 70 6f 72 74 2d 70 20 28 69 | un.org-hugo--subtree-export-p.(i |
| 4d980 | 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 74 68 65 20 63 75 | nfo)..."Return.non-nil.if.the.cu |
| 4d9a0 | 72 72 65 6e 74 20 65 78 70 6f 72 74 20 69 73 20 73 75 62 74 72 65 65 20 62 61 73 65 64 2e 0a 0a | rrent.export.is.subtree.based... |
| 4d9c0 | 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e | INFO.is.a.plist.used.as.a.commun |
| 4d9e0 | 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6d 65 6d 71 20 27 73 75 62 74 72 | ication.channel."...(memq.'subtr |
| 4da00 | 65 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 65 78 70 6f 72 74 2d 6f 70 74 69 6f | ee.(plist-get.info.:export-optio |
| 4da20 | 6e 73 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 74 72 69 6e 67 2d 75 | ns)))..(defun.org-hugo--string-u |
| 4da40 | 6e 71 75 6f 74 65 20 28 73 74 72 29 0a 20 20 22 52 65 74 75 72 6e 20 53 54 52 20 61 66 74 65 72 | nquote.(str)..."Return.STR.after |
| 4da60 | 20 72 65 6d 6f 76 69 6e 67 20 62 65 67 69 6e 6e 69 6e 67 20 61 6e 64 20 65 6e 64 69 6e 67 20 71 | .removing.beginning.and.ending.q |
| 4da80 | 75 6f 74 65 73 20 69 66 20 61 6e 79 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 53 54 52 | uotes.if.any...Return.nil.if.STR |
| 4daa0 | 20 69 73 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2c 20 6f 72 20 6e 6f 74 20 61 20 73 74 | .is.an.empty.string,.or.not.a.st |
| 4dac0 | 72 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 28 28 75 6e 71 75 6f 74 65 64 2d 73 74 72 20 28 6f 72 | ring."...(let.((unquoted-str.(or |
| 4dae0 | 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 73 74 72 29 29 29 20 3b 45 6e 73 75 72 65 20 74 68 61 | g-string-nw-p.str))).;Ensure.tha |
| 4db00 | 74 20 60 73 74 72 27 20 69 73 20 61 20 6e 6f 6e 2d 65 6d 70 74 79 20 73 74 72 69 6e 67 0a 20 20 | t.`str'.is.a.non-empty.string... |
| 4db20 | 20 20 28 77 68 65 6e 20 28 61 6e 64 20 75 6e 71 75 6f 74 65 64 2d 73 74 72 0a 20 20 20 20 20 20 | ..(when.(and.unquoted-str....... |
| 4db40 | 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 28 73 75 62 73 74 72 69 6e 67 20 75 6e 71 | .........(string=.(substring.unq |
| 4db60 | 75 6f 74 65 64 2d 73 74 72 20 30 20 31 29 20 22 5c 22 22 29 20 3b 46 69 72 73 74 20 63 68 61 72 | uoted-str.0.1)."\"").;First.char |
| 4db80 | 20 69 73 20 6c 69 74 65 72 61 6c 6c 79 20 61 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .is.literally.a."............... |
| 4dba0 | 20 28 73 74 72 69 6e 67 3d 20 28 73 75 62 73 74 72 69 6e 67 20 75 6e 71 75 6f 74 65 64 2d 73 74 | .(string=.(substring.unquoted-st |
| 4dbc0 | 72 20 2d 31 29 20 22 5c 22 22 29 29 20 3b 4c 61 73 74 20 63 68 61 72 20 69 73 20 6c 69 74 65 72 | r.-1)."\"")).;Last.char.is.liter |
| 4dbe0 | 61 6c 6c 79 20 61 20 22 0a 20 20 20 20 20 20 28 73 65 74 71 20 75 6e 71 75 6f 74 65 64 2d 73 74 | ally.a.".......(setq.unquoted-st |
| 4dc00 | 72 20 28 73 75 62 73 74 72 69 6e 67 20 75 6e 71 75 6f 74 65 64 2d 73 74 72 20 31 20 2d 31 29 29 | r.(substring.unquoted-str.1.-1)) |
| 4dc20 | 29 0a 20 20 20 20 75 6e 71 75 6f 74 65 64 2d 73 74 72 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 | ).....unquoted-str))..(defun.org |
| 4dc40 | 2d 68 75 67 6f 2d 2d 67 65 74 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 28 69 6e 66 6f 29 0a 20 | -hugo--get-front-matter.(info).. |
| 4dc60 | 20 22 52 65 74 75 72 6e 20 74 68 65 20 48 75 67 6f 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 73 | ."Return.the.Hugo.front-matter.s |
| 4dc80 | 74 72 69 6e 67 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 | tring...INFO.is.a.plist.used.as. |
| 4dca0 | 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 | a.communication.channel."...;;.( |
| 4dcc0 | 6d 65 73 73 61 67 65 20 22 5b 68 75 67 6f 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 44 42 47 5d | message."[hugo.front-matter.DBG] |
| 4dce0 | 20 69 6e 66 6f 3a 20 25 53 22 20 28 70 70 20 69 6e 66 6f 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 | .info:.%S".(pp.info))...(let*.(( |
| 4dd00 | 66 6d 2d 66 6f 72 6d 61 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d | fm-format.(plist-get.info.:hugo- |
| 4dd20 | 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 | front-matter-format))..........( |
| 4dd40 | 61 75 74 68 6f 72 2d 6c 69 73 74 20 28 61 6e 64 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f | author-list.(and.(plist-get.info |
| 4dd60 | 20 3a 77 69 74 68 2d 61 75 74 68 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .:with-author).................. |
| 4dd80 | 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 61 75 74 68 6f 72 2d 72 61 77 0a 20 20 20 20 | ..........(let.((author-raw..... |
| 4dda0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | ..............................(o |
| 4ddc0 | 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rg-string-nw-p.................. |
| 4dde0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 | ..................(org-export-da |
| 4de00 | 74 61 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 61 75 74 68 6f 72 29 20 69 6e 66 6f | ta.(plist-get.info.:author).info |
| 4de20 | 29 29 29 29 20 3b 60 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 27 20 72 65 71 75 69 72 65 64 | )))).;`org-export-data'.required |
| 4de40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 | ..............................(w |
| 4de60 | 68 65 6e 20 61 75 74 68 6f 72 2d 72 61 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hen.author-raw.................. |
| 4de80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4d 75 6c 74 69 70 6c 65 20 61 75 74 68 6f 72 | ..............;;.Multiple.author |
| 4dea0 | 73 20 63 61 6e 20 62 65 20 63 6f 6d 6d 61 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.can.be.comma.or............... |
| 4dec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 65 77 6c 69 6e 65 20 73 65 70 61 | .................;;.newline.sepa |
| 4dee0 | 72 61 74 65 64 2e 20 54 68 65 20 6e 65 77 6c 69 6e 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | rated..The.newline.............. |
| 4df00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 70 61 72 61 74 65 64 20 61 | ..................;;.separated.a |
| 4df20 | 75 74 68 6f 72 73 20 77 6f 72 6b 20 6f 6e 6c 79 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 | uthors.work.only.for.the........ |
| 4df40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 23 2b 61 75 74 | ........................;;.#+aut |
| 4df60 | 68 6f 72 20 6b 65 79 77 6f 72 64 3b 20 65 78 61 6d 70 6c 65 3a 0a 20 20 20 20 20 20 20 20 20 20 | hor.keyword;.example:........... |
| 4df80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 61 75 74 68 | .....................;;...#+auth |
| 4dfa0 | 6f 72 3a 20 41 75 74 68 6f 72 31 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | or:.Author1..................... |
| 4dfc0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 61 75 74 68 6f 72 3a 20 41 75 74 68 6f 72 | ...........;;...#+author:.Author |
| 4dfe0 | 32 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 2............................... |
| 4e000 | 20 3b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .;;............................. |
| 4e020 | 20 20 20 3b 3b 20 49 66 20 75 73 69 6e 67 20 74 68 65 20 73 75 62 74 72 65 65 20 70 72 6f 70 65 | ...;;.If.using.the.subtree.prope |
| 4e040 | 72 74 69 65 73 20 74 68 65 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rties.they...................... |
| 4e060 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 65 65 64 20 74 6f 20 62 65 20 63 6f 6d 6d 61 2d 73 65 | ..........;;.need.to.be.comma-se |
| 4e080 | 70 61 72 61 74 65 64 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | parated:........................ |
| 4e0a0 | 20 20 20 20 20 20 20 20 3b 3b 20 20 20 3a 45 58 50 4f 52 54 5f 41 55 54 48 4f 52 3a 20 41 75 74 | ........;;...:EXPORT_AUTHOR:.Aut |
| 4e0c0 | 68 6f 72 31 2c 20 41 75 74 68 6f 72 32 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hor1,.Author2................... |
| 4e0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 61 75 74 68 6f 72 2d 6c 69 73 74 2d | .............(let.((author-list- |
| 4e100 | 31 20 28 6f 72 67 2d 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 61 75 74 68 6f 72 2d 72 61 77 20 22 | 1.(org-split-string.author-raw." |
| 4e120 | 5b 2c 5c 6e 5d 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | [,\n]")))....................... |
| 4e140 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 6e 27 74 20 61 6c 6c 6f 77 20 73 70 61 63 65 73 | ...........;;.Don't.allow.spaces |
| 4e160 | 20 61 72 6f 75 6e 64 20 61 75 74 68 6f 72 20 6e 61 6d 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 | .around.author.names............ |
| 4e180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 6c 73 6f 20 72 | .......................;;.Also.r |
| 4e1a0 | 65 6d 6f 76 65 20 64 75 70 6c 69 63 61 74 65 20 61 75 74 68 6f 72 73 2e 0a 20 20 20 20 20 20 20 | emove.duplicate.authors......... |
| 4e1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 6c 65 74 | ..........................(delet |
| 4e1e0 | 65 2d 64 75 70 73 20 28 6d 61 70 63 61 72 20 23 27 6f 72 67 2d 74 72 69 6d 20 61 75 74 68 6f 72 | e-dups.(mapcar.#'org-trim.author |
| 4e200 | 2d 6c 69 73 74 2d 31 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 72 65 61 74 6f 72 | -list-1)))))))..........(creator |
| 4e220 | 20 28 61 6e 64 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 63 72 65 61 | .(and.(plist-get.info.:with-crea |
| 4e240 | 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 | tor)........................(pli |
| 4e260 | 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 63 72 65 61 74 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 | st-get.info.:creator)))......... |
| 4e280 | 20 28 6c 6f 63 61 6c 65 20 28 61 6e 64 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 | .(locale.(and.(plist-get.info.:h |
| 4e2a0 | 75 67 6f 2d 77 69 74 68 2d 6c 6f 63 61 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ugo-with-locale)................ |
| 4e2c0 | 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 6c 61 6e 67 20 69 6e 66 6f 29 | .......(org-hugo--get-lang.info) |
| 4e2e0 | 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 65 73 63 72 69 70 74 69 6f 6e 20 28 6f 72 67 2d 73 74 | ))..........(description.(org-st |
| 4e300 | 72 69 6e 67 2d 6e 77 2d 70 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 64 65 73 63 72 | ring-nw-p.(plist-get.info.:descr |
| 4e320 | 69 70 74 69 6f 6e 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 6c 69 61 73 65 73 2d 72 61 77 20 | iption)))..........(aliases-raw. |
| 4e340 | 28 6c 65 74 20 28 28 61 6c 69 61 73 65 73 2d 72 61 77 2d 31 20 28 6f 72 67 2d 73 74 72 69 6e 67 | (let.((aliases-raw-1.(org-string |
| 4e360 | 2d 6e 77 2d 70 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 61 6c 69 61 | -nw-p.(plist-get.info.:hugo-alia |
| 4e380 | 73 65 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ses))))......................... |
| 4e3a0 | 28 77 68 65 6e 20 61 6c 69 61 73 65 73 2d 72 61 77 2d 31 0a 20 20 20 20 20 20 20 20 20 20 20 20 | (when.aliases-raw-1............. |
| 4e3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 | ..............(org-split-string. |
| 4e3e0 | 61 6c 69 61 73 65 73 2d 72 61 77 2d 31 20 22 20 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 | aliases-raw-1."."))))..........( |
| 4e400 | 61 6c 69 61 73 65 73 20 28 6c 65 74 20 28 61 6c 69 61 73 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 | aliases.(let.(alias-list)....... |
| 4e420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 61 6c 69 61 73 20 61 6c 69 | ..............(dolist.(alias.ali |
| 4e440 | 61 73 65 73 2d 72 61 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ases-raw)....................... |
| 4e460 | 28 75 6e 6c 65 73 73 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 2f 22 20 61 6c 69 61 | (unless.(string-match-p."/".alia |
| 4e480 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 | s).........................(let. |
| 4e4a0 | 28 28 73 65 63 74 69 6f 6e 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 | ((section.(file-name-as-director |
| 4e4c0 | 79 20 3b 53 75 66 66 69 78 20 73 65 63 74 69 6f 6e 20 77 69 74 68 20 22 2f 22 20 69 66 20 69 74 | y.;Suffix.section.with."/".if.it |
| 4e4e0 | 20 69 73 6e 27 74 20 61 6c 72 65 61 64 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .isn't.already.................. |
| 4e500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f | .......................(org-expo |
| 4e520 | 72 74 2d 64 61 74 61 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 65 | rt-data.(plist-get.info.:hugo-se |
| 4e540 | 63 74 69 6f 6e 29 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ction).info))))................. |
| 4e560 | 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 61 6c 69 61 73 20 28 63 6f 6e 63 61 74 20 22 2f | ..........(setq.alias.(concat."/ |
| 4e580 | 22 20 73 65 63 74 69 6f 6e 20 61 6c 69 61 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ".section.alias))))............. |
| 4e5a0 | 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 61 6c 69 61 73 2d 6c 69 73 74 20 28 61 70 70 65 | ..........(setq.alias-list.(appe |
| 4e5c0 | 6e 64 20 61 6c 69 61 73 2d 6c 69 73 74 20 60 28 2c 61 6c 69 61 73 29 29 29 29 0a 20 20 20 20 20 | nd.alias-list.`(,alias))))...... |
| 4e5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 69 61 73 2d 6c 69 73 74 29 29 0a 20 20 20 20 | ...............alias-list))..... |
| 4e600 | 20 20 20 20 20 28 6f 75 74 70 75 74 73 2d 72 61 77 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 | .....(outputs-raw.(org-string-nw |
| 4e620 | 2d 70 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6f 75 74 70 75 74 73 | -p.(plist-get.info.:hugo-outputs |
| 4e640 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 75 74 70 75 74 73 20 28 77 68 65 6e 20 6f 75 74 70 | )))..........(outputs.(when.outp |
| 4e660 | 75 74 73 2d 72 61 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | uts-raw.....................(org |
| 4e680 | 2d 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 6f 75 74 70 75 74 73 2d 72 61 77 20 22 20 22 29 29 29 | -split-string.outputs-raw."."))) |
| 4e6a0 | 0a 20 20 20 20 20 20 20 20 20 28 64 72 61 66 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 | ..........(draft.(org-hugo--pars |
| 4e6c0 | 65 2d 64 72 61 66 74 2d 73 74 61 74 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 | e-draft-state.info))..........(h |
| 4e6e0 | 65 61 64 6c 65 73 73 20 28 77 68 65 6e 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 | eadless.(when.(org-hugo--plist-g |
| 4e700 | 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 68 65 61 64 6c 65 73 73 29 0a 20 | et-true-p.info.:hugo-headless).. |
| 4e720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 | ....................(org-hugo--f |
| 4e740 | 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 28 6f 72 | ront-matter-value-booleanize.(or |
| 4e760 | 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 | g-hugo--plist-get-true-p.info.:h |
| 4e780 | 75 67 6f 2d 68 65 61 64 6c 65 73 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 6c 6c 2d 74 | ugo-headless))))..........(all-t |
| 4e7a0 | 2d 61 6e 64 2d 63 2d 73 74 72 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 | -and-c-str.(org-entry-get.(point |
| 4e7c0 | 29 20 22 41 4c 4c 54 41 47 53 22 29 29 20 3b 49 6e 63 6c 75 64 65 73 20 74 61 67 73 20 69 6e 68 | )."ALLTAGS")).;Includes.tags.inh |
| 4e7e0 | 65 72 69 74 65 64 20 66 72 6f 6d 20 23 2b 66 69 6c 65 74 61 67 73 3a 20 74 6f 6f 2e 0a 20 20 20 | erited.from.#+filetags:.too..... |
| 4e800 | 20 20 20 20 20 20 28 61 6c 6c 2d 74 2d 61 6e 64 2d 63 20 28 6f 72 20 28 77 68 65 6e 20 28 73 74 | ......(all-t-and-c.(or.(when.(st |
| 4e820 | 72 69 6e 67 70 20 61 6c 6c 2d 74 2d 61 6e 64 2d 63 2d 73 74 72 29 20 20 20 20 3b 74 61 67 73 2f | ringp.all-t-and-c-str)....;tags/ |
| 4e840 | 63 61 74 65 67 6f 72 69 65 73 20 66 72 6f 6d 20 60 61 6c 6c 2d 74 2d 61 6e 64 2d 63 27 20 61 72 | categories.from.`all-t-and-c'.ar |
| 4e860 | 65 20 75 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.used.......................... |
| 4e880 | 20 20 20 28 6f 72 67 2d 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 61 6c 6c 2d 74 2d 61 6e 64 2d 63 | ...(org-split-string.all-t-and-c |
| 4e8a0 | 2d 73 74 72 20 22 3a 22 29 29 20 3b 6f 6e 6c 79 20 69 66 20 48 55 47 4f 5f 54 41 47 53 20 6f 72 | -str.":")).;only.if.HUGO_TAGS.or |
| 4e8c0 | 20 48 55 47 4f 5f 43 41 54 45 47 4f 52 49 45 53 20 61 72 65 20 6e 6f 74 20 73 65 74 2e 0a 20 20 | .HUGO_CATEGORIES.are.not.set.... |
| 4e8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 6e 75 | ........................(and.(nu |
| 4e900 | 6c 6c 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 65 78 70 6f 72 74 2d 70 20 69 | ll.(org-hugo--subtree-export-p.i |
| 4e920 | 6e 66 6f 29 29 20 3b 55 73 65 20 23 2b 66 69 6c 65 74 61 67 73 3a 20 66 6f 72 20 66 69 6c 65 2d | nfo)).;Use.#+filetags:.for.file- |
| 4e940 | 62 61 73 65 64 20 65 78 70 6f 72 74 73 20 69 66 20 23 2b 68 75 67 6f 5f 74 61 67 73 20 61 72 65 | based.exports.if.#+hugo_tags.are |
| 4e960 | 20 6e 6f 74 20 73 65 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .not.set........................ |
| 4e980 | 20 20 20 20 20 20 20 20 20 6f 72 67 2d 66 69 6c 65 2d 74 61 67 73 29 29 29 0a 20 20 20 20 20 20 | .........org-file-tags)))....... |
| 4e9a0 | 20 20 20 28 74 61 67 73 20 28 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | ...(tags.(or.................;;. |
| 4e9c0 | 4c 6f 6f 6b 20 66 6f 72 20 74 61 67 73 20 73 65 74 20 75 73 69 6e 67 20 48 55 47 4f 5f 54 41 47 | Look.for.tags.set.using.HUGO_TAG |
| 4e9e0 | 53 20 6b 65 79 77 6f 72 64 2c 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | S.keyword,.or.................;; |
| 4ea00 | 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f 54 41 47 53 20 70 72 6f 70 65 72 74 79 20 69 66 20 61 76 | .EXPORT_HUGO_TAGS.property.if.av |
| 4ea20 | 61 69 6c 61 62 6c 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 | ailable..................(org-hu |
| 4ea40 | 67 6f 2d 2d 64 65 6c 69 6d 2d 73 74 72 2d 74 6f 2d 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 | go--delim-str-to-list.(plist-get |
| 4ea60 | 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 74 61 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .info.:hugo-tags)).............. |
| 4ea80 | 20 20 20 3b 3b 20 45 6c 73 65 20 75 73 65 20 4f 72 67 20 74 61 67 73 20 28 74 68 65 20 6f 6e 65 | ...;;.Else.use.Org.tags.(the.one |
| 4eaa0 | 73 20 73 65 74 20 69 6e 20 68 65 61 64 69 6e 67 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.set.in.headings............... |
| 4eac0 | 20 20 3b 3b 20 61 6e 64 2f 6f 72 20 69 6e 68 65 72 69 74 65 64 29 20 69 66 20 61 6e 79 2e 0a 20 | ..;;.and/or.inherited).if.any... |
| 4eae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 74 61 67 73 2d 6c 69 73 74 | ...............(let*.((tags-list |
| 4eb00 | 20 28 63 6c 2d 72 65 6d 6f 76 65 2d 69 66 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 74 65 67 | .(cl-remove-if.#'org-hugo--categ |
| 4eb20 | 6f 72 79 2d 70 20 61 6c 6c 2d 74 2d 61 6e 64 2d 63 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ory-p.all-t-and-c))............. |
| 4eb40 | 20 20 20 20 20 20 20 20 20 20 20 28 74 61 67 73 2d 6c 69 73 74 20 28 64 6f 6c 69 73 74 20 28 66 | ...........(tags-list.(dolist.(f |
| 4eb60 | 6e 20 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 | n.org-hugo-tag-processing-functi |
| 4eb80 | 6f 6e 73 20 74 61 67 73 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ons.tags-list).................. |
| 4eba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 67 73 2d 6c 69 | ...................(setq.tags-li |
| 4ebc0 | 73 74 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 74 61 67 73 2d 6c 69 73 74 20 69 6e 66 6f 29 29 29 | st.(funcall.fn.tags-list.info))) |
| 4ebe0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 | ))...................;;.(message |
| 4ec00 | 20 22 5b 67 65 74 20 66 6d 20 44 42 47 5d 20 74 61 67 73 3a 20 74 61 67 73 2d 6c 69 73 74 20 3d | ."[get.fm.DBG].tags:.tags-list.= |
| 4ec20 | 20 25 53 22 20 74 61 67 73 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .%S".tags-list)................. |
| 4ec40 | 20 20 74 61 67 73 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 61 74 65 67 6f 72 | ..tags-list)))..........(categor |
| 4ec60 | 69 65 73 20 28 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | ies.(or.......................;; |
| 4ec80 | 20 4c 6f 6f 6b 20 66 6f 72 20 63 61 74 65 67 6f 72 69 65 73 20 73 65 74 20 75 73 69 6e 67 20 48 | .Look.for.categories.set.using.H |
| 4eca0 | 55 47 4f 5f 43 41 54 45 47 4f 52 49 45 53 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | UGO_CATEGORIES.................. |
| 4ecc0 | 20 20 20 20 20 3b 3b 20 6b 65 79 77 6f 72 64 2c 20 6f 72 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f | .....;;.keyword,.or.EXPORT_HUGO_ |
| 4ece0 | 43 41 54 45 47 4f 52 49 45 53 20 70 72 6f 70 65 72 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 | CATEGORIES.property............. |
| 4ed00 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 66 20 61 76 61 69 6c 61 62 6c 65 2e 0a 20 20 20 20 20 | ..........;;.if.available....... |
| 4ed20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 65 6c 69 | .................(org-hugo--deli |
| 4ed40 | 6d 2d 73 74 72 2d 74 6f 2d 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 | m-str-to-list.(plist-get.info.:h |
| 4ed60 | 75 67 6f 2d 63 61 74 65 67 6f 72 69 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ugo-categories))................ |
| 4ed80 | 20 20 20 20 20 20 20 3b 3b 20 45 6c 73 65 20 75 73 65 20 63 61 74 65 67 6f 72 69 65 73 20 73 65 | .......;;.Else.use.categories.se |
| 4eda0 | 74 20 75 73 69 6e 67 20 4f 72 67 20 74 61 67 73 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 | t.using.Org.tags.with........... |
| 4edc0 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 40 22 20 70 72 65 66 69 78 20 28 74 68 65 20 6f | ............;;."@".prefix.(the.o |
| 4ede0 | 6e 65 73 20 73 65 74 20 69 6e 20 68 65 61 64 69 6e 67 73 20 61 6e 64 2f 6f 72 0a 20 20 20 20 20 | nes.set.in.headings.and/or...... |
| 4ee00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 68 65 72 69 74 65 64 29 20 69 | .................;;.inherited).i |
| 4ee20 | 66 20 61 6e 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 | f.any........................(le |
| 4ee40 | 74 2a 20 28 28 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 20 28 63 6c 2d 72 65 6d 6f 76 65 2d | t*.((categories-list.(cl-remove- |
| 4ee60 | 69 66 2d 6e 6f 74 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 74 65 67 6f 72 79 2d 70 20 61 6c | if-not.#'org-hugo--category-p.al |
| 4ee80 | 6c 2d 74 2d 61 6e 64 2d 63 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l-t-and-c))..................... |
| 4eea0 | 20 20 20 20 20 20 20 20 20 28 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 20 28 64 6f 6c 69 73 | .........(categories-list.(dolis |
| 4eec0 | 74 20 28 66 6e 20 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 | t.(fn.org-hugo-tag-processing-fu |
| 4eee0 | 6e 63 74 69 6f 6e 73 20 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 | nctions.categories-list)........ |
| 4ef00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4ef20 | 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 20 28 | .........(setq.categories-list.( |
| 4ef40 | 66 75 6e 63 61 6c 6c 20 66 6e 20 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 20 69 6e 66 6f 29 | funcall.fn.categories-list.info) |
| 4ef60 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )))............................. |
| 4ef80 | 20 28 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 20 28 6d 61 70 63 61 72 20 28 6c 61 6d 62 64 | .(categories-list.(mapcar.(lambd |
| 4efa0 | 61 20 28 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | a.(str)......................... |
| 4efc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4efe0 | 3b 3b 20 52 65 6d 6f 76 65 20 22 40 22 20 66 72 6f 6d 20 62 65 67 20 6f 66 20 63 61 74 65 67 6f | ;;.Remove."@".from.beg.of.catego |
| 4f000 | 72 69 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ries............................ |
| 4f020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 | ..............................(r |
| 4f040 | 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 40 22 20 22 | eplace-regexp-in-string."\\`@"." |
| 4f060 | 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".str))......................... |
| 4f080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 | ..............................ca |
| 4f0a0 | 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tegories-list)))................ |
| 4f0c0 | 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 3a 20 63 61 74 65 67 | .........;;.(message."dbg:.categ |
| 4f0e0 | 6f 72 69 65 73 3a 20 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 20 3d 20 25 73 22 20 63 61 74 | ories:.categories-list.=.%s".cat |
| 4f100 | 65 67 6f 72 69 65 73 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | egories-list)................... |
| 4f120 | 20 20 20 20 20 20 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 | ......categories-list)))........ |
| 4f140 | 20 20 28 6b 65 79 77 6f 72 64 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 65 6c 69 6d 2d 73 74 72 | ..(keywords.(org-hugo--delim-str |
| 4f160 | 2d 74 6f 2d 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6b 65 79 77 6f 72 | -to-list.(plist-get.info.:keywor |
| 4f180 | 64 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 77 65 69 67 68 74 2d 64 61 74 61 20 28 6c 65 74 | ds)))..........(weight-data.(let |
| 4f1a0 | 20 28 28 77 74 2d 72 61 77 2d 6c 69 73 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d | .((wt-raw-list.(org-hugo--parse- |
| 4f1c0 | 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e | property-arguments.(plist-get.in |
| 4f1e0 | 66 6f 20 3a 68 75 67 6f 2d 77 65 69 67 68 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | fo.:hugo-weight))).............. |
| 4f200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 65 69 67 68 74 2d 64 61 74 61 2d 31 29 0a 20 20 | ...............weight-data-1)... |
| 4f220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 77 | ......................(dolist.(w |
| 4f240 | 74 2d 72 61 77 20 77 74 2d 72 61 77 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | t-raw.wt-raw-list).............. |
| 4f260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 6b 65 79 20 76 61 6c 75 65 29 0a 20 20 | .............(let.(key.value)... |
| 4f280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 | ..........................;;.(me |
| 4f2a0 | 73 73 61 67 65 20 22 77 65 69 67 68 74 20 44 42 47 20 77 74 2d 72 61 77 3a 20 25 53 22 20 77 74 | ssage."weight.DBG.wt-raw:.%S".wt |
| 4f2c0 | 2d 72 61 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -raw)........................... |
| 4f2e0 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 77 65 69 67 68 74 20 44 42 47 20 63 64 72 20 77 74 | ..;;.(message."weight.DBG.cdr.wt |
| 4f300 | 2d 72 61 77 3a 20 25 53 22 20 28 63 64 72 20 77 74 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 | -raw:.%S".(cdr.wt-raw))......... |
| 4f320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 | ....................;;.(message. |
| 4f340 | 22 77 65 69 67 68 74 20 44 42 47 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f | "weight.DBG.org-hugo--subtree-co |
| 4f360 | 6f 72 64 3a 20 25 53 22 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 | ord:.%S".org-hugo--subtree-coord |
| 4f380 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 | ).............................(c |
| 4f3a0 | 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ond............................. |
| 4f3c0 | 20 28 28 6e 75 6c 6c 20 28 63 64 72 20 77 74 2d 72 61 77 29 29 20 3b 60 77 74 2d 72 61 77 27 20 | .((null.(cdr.wt-raw)).;`wt-raw'. |
| 4f3e0 | 69 73 20 6e 6f 74 20 6f 66 20 74 68 65 20 74 79 70 65 20 28 54 41 58 4f 4e 4f 4d 59 20 2e 20 57 | is.not.of.the.type.(TAXONOMY...W |
| 4f400 | 45 49 47 48 54 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | EIGHT).......................... |
| 4f420 | 20 20 20 20 20 28 73 65 74 71 20 6b 65 79 20 27 77 65 69 67 68 74 29 0a 20 20 20 20 20 20 20 20 | .....(setq.key.'weight)......... |
| 4f440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 76 61 6c 75 | ......................(setq.valu |
| 4f460 | 65 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.(cond......................... |
| 4f480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 6f 72 67 2d 68 75 67 | ...................((and.org-hug |
| 4f4a0 | 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o--subtree-coord................ |
| 4f4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4f4e0 | 20 20 28 65 71 75 61 6c 20 28 63 61 72 20 77 74 2d 72 61 77 29 20 27 61 75 74 6f 29 29 20 3b 28 | ..(equal.(car.wt-raw).'auto)).;( |
| 4f500 | 61 75 74 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | auto)........................... |
| 4f520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c | ..................(org-hugo--cal |
| 4f540 | 63 2d 77 65 69 67 68 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | c-weight))...................... |
| 4f560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 75 | ......................((and.(equ |
| 4f580 | 61 6c 20 28 63 61 72 20 77 74 2d 72 61 77 29 20 27 61 75 74 6f 29 20 3b 41 75 74 6f 20 77 65 69 | al.(car.wt-raw).'auto).;Auto.wei |
| 4f5a0 | 67 68 74 20 69 6e 65 66 66 65 63 74 69 76 65 20 66 6f 72 20 66 69 6c 65 2d 62 61 73 65 64 20 65 | ght.ineffective.for.file-based.e |
| 4f5c0 | 78 70 6f 72 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xports.......................... |
| 4f5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 6f 72 | ........................(null.or |
| 4f600 | 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 29 29 0a 20 20 20 20 20 20 20 20 | g-hugo--subtree-coord))......... |
| 4f620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4f640 | 20 20 20 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....nil)........................ |
| 4f660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 | ....................(t.......... |
| 4f680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4f6a0 | 20 20 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d | ...(string-to-number.(symbol-nam |
| 4f6c0 | 65 20 28 63 61 72 20 77 74 2d 72 61 77 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | e.(car.wt-raw)))))))............ |
| 4f6e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 | ..................(t............ |
| 4f700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6b 65 79 20 28 69 66 | ...................(setq.key.(if |
| 4f720 | 20 28 65 71 75 61 6c 20 28 63 61 72 20 77 74 2d 72 61 77 29 20 27 70 61 67 65 29 20 3b 60 77 74 | .(equal.(car.wt-raw).'page).;`wt |
| 4f740 | 2d 72 61 77 27 20 69 73 20 6f 66 20 74 68 65 20 74 79 70 65 20 28 70 61 67 65 20 2e 20 57 45 49 | -raw'.is.of.the.type.(page...WEI |
| 4f760 | 47 48 54 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | GHT)............................ |
| 4f780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 77 65 69 67 68 74 0a 20 20 20 20 20 20 20 | .................'weight........ |
| 4f7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4f7c0 | 20 20 20 28 69 6e 74 65 72 6e 20 28 66 6f 72 6d 61 74 20 22 25 73 5f 77 65 69 67 68 74 22 20 28 | ...(intern.(format."%s_weight".( |
| 4f7e0 | 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 28 63 61 72 20 77 74 2d 72 61 77 29 29 29 29 29 29 0a 20 20 | symbol-name.(car.wt-raw))))))... |
| 4f800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 | ............................(set |
| 4f820 | 71 20 76 61 6c 75 65 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | q.value.(cond................... |
| 4f840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 6f | .........................((and.o |
| 4f860 | 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 0a 20 20 20 20 20 20 20 20 20 | rg-hugo--subtree-coord.......... |
| 4f880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4f8a0 | 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 28 63 64 72 20 77 74 2d 72 61 77 29 20 22 61 75 74 | ........(equal.(cdr.wt-raw)."aut |
| 4f8c0 | 6f 22 29 29 20 3b 28 54 41 58 4f 4e 4f 4d 59 20 2e 20 22 61 75 74 6f 22 29 20 6f 72 20 28 70 61 | o")).;(TAXONOMY..."auto").or.(pa |
| 4f8e0 | 67 65 20 2e 20 22 61 75 74 6f 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ge..."auto").................... |
| 4f900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 | .........................(org-hu |
| 4f920 | 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | go--calc-weight))............... |
| 4f940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6e | .............................((n |
| 4f960 | 75 6d 62 65 72 70 20 28 63 64 72 20 77 74 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | umberp.(cdr.wt-raw))............ |
| 4f980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4f9a0 | 20 28 63 64 72 20 77 74 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(cdr.wt-raw)).................. |
| 4f9c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 | ..........................((and. |
| 4f9e0 | 28 65 71 75 61 6c 20 28 63 64 72 20 77 74 2d 72 61 77 29 20 22 61 75 74 6f 22 29 20 3b 41 75 74 | (equal.(cdr.wt-raw)."auto").;Aut |
| 4fa00 | 6f 20 77 65 69 67 68 74 20 69 6e 65 66 66 65 63 74 69 76 65 20 66 6f 72 20 66 69 6c 65 2d 62 61 | o.weight.ineffective.for.file-ba |
| 4fa20 | 73 65 64 20 65 78 70 6f 72 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sed.exports..................... |
| 4fa40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 | .............................(nu |
| 4fa60 | 6c 6c 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 29 29 0a 20 20 20 | ll.org-hugo--subtree-coord)).... |
| 4fa80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4faa0 | 20 20 20 20 20 20 20 20 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........nil)................... |
| 4fac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 | .........................(t..... |
| 4fae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 4fb00 | 20 20 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 4f 78 2d 68 75 67 6f 3a 20 49 6e | ........(user-error."Ox-hugo:.In |
| 4fb20 | 76 61 6c 69 64 20 77 65 69 67 68 74 20 25 53 22 20 28 63 64 72 20 77 74 2d 72 61 77 29 29 29 29 | valid.weight.%S".(cdr.wt-raw)))) |
| 4fb40 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )))............................. |
| 4fb60 | 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 77 65 69 67 68 74 20 44 42 47 20 6b 65 79 3a 20 25 53 22 | ;;.(message."weight.DBG.key:.%S" |
| 4fb80 | 20 6b 65 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .key)........................... |
| 4fba0 | 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 77 65 69 67 68 74 20 44 42 47 20 76 61 6c 75 65 3a | ..;;.(message."weight.DBG.value: |
| 4fbc0 | 20 25 53 22 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .%S".value)..................... |
| 4fbe0 | 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 63 6f 6e 73 20 6b 65 79 20 76 61 6c 75 65 29 20 77 | ........(push.(cons.key.value).w |
| 4fc00 | 65 69 67 68 74 2d 64 61 74 61 2d 31 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eight-data-1)))................. |
| 4fc20 | 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 77 65 69 67 68 74 20 44 42 47 20 | ........;;.(message."weight.DBG. |
| 4fc40 | 77 65 69 67 68 74 2d 64 61 74 61 3a 20 25 53 22 20 77 65 69 67 68 74 2d 64 61 74 61 2d 31 29 0a | weight-data:.%S".weight-data-1). |
| 4fc60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 65 69 67 68 74 2d 64 | ........................weight-d |
| 4fc80 | 61 74 61 2d 31 29 29 0a 20 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 61 6c 69 73 74 20 28 6f 72 | ata-1))..........(menu-alist.(or |
| 4fca0 | 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 6d 65 6e 75 2d 70 72 6f 70 2d 74 6f 2d 61 6c 69 73 74 | g-hugo--parse-menu-prop-to-alist |
| 4fcc0 | 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 75 73 74 6f 6d 2d 66 6d 2d 64 61 74 61 | .info))..........(custom-fm-data |
| 4fce0 | 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d | .(org-hugo--parse-property-argum |
| 4fd00 | 65 6e 74 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 63 75 73 74 6f | ents.(plist-get.info.:hugo-custo |
| 4fd20 | 6d 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 6f | m-front-matter)))..........(reso |
| 4fd40 | 75 72 63 65 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 72 65 73 6f 75 72 63 65 73 2d 61 | urces.(org-hugo--get-resources-a |
| 4fd60 | 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 | list......................(org-h |
| 4fd80 | 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 70 | ugo--parse-property-arguments.(p |
| 4fda0 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 72 65 73 6f 75 72 63 65 73 29 29 29 | list-get.info.:hugo-resources))) |
| 4fdc0 | 29 0a 20 20 20 20 20 20 20 20 20 28 62 6c 61 63 6b 66 72 69 64 61 79 20 28 75 6e 6c 65 73 73 20 | )..........(blackfriday.(unless. |
| 4fde0 | 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f | (org-hugo--plist-get-true-p.info |
| 4fe00 | 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .:hugo-goldmark)................ |
| 4fe20 | 20 20 20 20 20 20 20 20 20 28 72 65 71 75 69 72 65 20 27 6f 78 2d 68 75 67 6f 2d 64 65 70 72 65 | .........(require.'ox-hugo-depre |
| 4fe40 | 63 61 74 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | cated).........................( |
| 4fe60 | 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 72 6f 70 | org-hugo--parse-blackfriday-prop |
| 4fe80 | 2d 74 6f 2d 61 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d | -to-alist.(plist-get.info.:hugo- |
| 4fea0 | 62 6c 61 63 6b 66 72 69 64 61 79 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 61 74 61 20 60 | blackfriday))))..........(data.` |
| 4fec0 | 28 3b 3b 20 54 68 65 20 6f 72 64 65 72 20 6f 66 20 74 68 65 20 65 6c 65 6d 65 6e 74 73 20 62 65 | (;;.The.order.of.the.elements.be |
| 4fee0 | 6c 6f 77 20 77 69 6c 6c 20 62 65 20 74 68 65 20 6f 72 64 65 72 20 69 6e 20 77 68 69 63 68 20 74 | low.will.be.the.order.in.which.t |
| 4ff00 | 68 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | he.front-matter................. |
| 4ff20 | 20 3b 3b 20 76 61 72 69 61 62 6c 65 73 20 77 69 6c 6c 20 62 65 20 6f 72 64 65 72 65 64 2e 0a 20 | .;;.variables.will.be.ordered... |
| 4ff40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 20 2e 20 2c 28 6f 72 67 2d 68 | ................(title...,(org-h |
| 4ff60 | 75 67 6f 2d 2d 67 65 74 2d 73 61 6e 69 74 69 7a 65 64 2d 74 69 74 6c 65 20 69 6e 66 6f 29 29 0a | ugo--get-sanitized-title.info)). |
| 4ff80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 75 64 69 6f 20 2e 20 2c 28 6f 72 67 2d | .................(audio...,(org- |
| 4ffa0 | 68 75 67 6f 2d 2d 73 74 72 69 6e 67 2d 75 6e 71 75 6f 74 65 20 28 70 6c 69 73 74 2d 67 65 74 20 | hugo--string-unquote.(plist-get. |
| 4ffc0 | 69 6e 66 6f 20 3a 68 75 67 6f 2d 61 75 64 69 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | info.:hugo-audio)))............. |
| 4ffe0 | 20 20 20 20 20 28 61 75 74 68 6f 72 20 2e 20 2c 61 75 74 68 6f 72 2d 6c 69 73 74 29 0a 20 20 20 | .....(author...,author-list).... |
| 50000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 73 63 72 69 70 74 69 6f 6e 20 2e 20 2c 64 65 | ..............(description...,de |
| 50020 | 73 63 72 69 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 61 74 | scription)..................(dat |
| 50040 | 65 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 65 20 3a 64 61 74 | e...,(org-hugo--format-date.:dat |
| 50060 | 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 62 6c 69 | e.info))..................(publi |
| 50080 | 73 68 44 61 74 65 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 65 | shDate...,(org-hugo--format-date |
| 500a0 | 20 3a 68 75 67 6f 2d 70 75 62 6c 69 73 68 64 61 74 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 | .:hugo-publishdate.info))....... |
| 500c0 | 20 20 20 20 20 20 20 20 20 20 20 28 65 78 70 69 72 79 44 61 74 65 20 2e 20 2c 28 6f 72 67 2d 68 | ...........(expiryDate...,(org-h |
| 500e0 | 75 67 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 65 20 3a 68 75 67 6f 2d 65 78 70 69 72 79 64 61 74 | ugo--format-date.:hugo-expirydat |
| 50100 | 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6c 69 61 73 | e.info))..................(alias |
| 50120 | 65 73 20 2e 20 2c 61 6c 69 61 73 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | es...,aliases).................. |
| 50140 | 28 69 6d 61 67 65 73 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 65 6c 69 6d 2d 73 74 72 2d | (images...,(org-hugo--delim-str- |
| 50160 | 74 6f 2d 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 69 6d | to-list.(plist-get.info.:hugo-im |
| 50180 | 61 67 65 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 73 43 4a 4b 4c | ages)))..................(isCJKL |
| 501a0 | 61 6e 67 75 61 67 65 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d | anguage...,(org-hugo--plist-get- |
| 501c0 | 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 69 73 63 6a 6b 6c 61 6e 67 75 61 67 65 29 | true-p.info.:hugo-iscjklanguage) |
| 501e0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6b 65 79 77 6f 72 64 73 20 2e 20 2c | )..................(keywords..., |
| 50200 | 6b 65 79 77 6f 72 64 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 79 6f | keywords)..................(layo |
| 50220 | 75 74 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6c 61 79 6f | ut...,(plist-get.info.:hugo-layo |
| 50240 | 75 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 73 74 6d 6f 64 20 2e | ut))..................(lastmod.. |
| 50260 | 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 65 20 3a 68 75 67 6f 2d 6c | .,(org-hugo--format-date.:hugo-l |
| 50280 | 61 73 74 6d 6f 64 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | astmod.info))..................( |
| 502a0 | 6c 69 6e 6b 54 69 74 6c 65 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 | linkTitle...,(plist-get.info.:hu |
| 502c0 | 67 6f 2d 6c 69 6e 6b 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | go-linktitle)).................. |
| 502e0 | 28 6d 61 72 6b 75 70 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f | (markup...,(plist-get.info.:hugo |
| 50300 | 2d 6d 61 72 6b 75 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 75 74 70 | -markup))..................(outp |
| 50320 | 75 74 73 20 2e 20 2c 6f 75 74 70 75 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | uts...,outputs)................. |
| 50340 | 20 28 73 65 72 69 65 73 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 65 6c 69 6d 2d 73 74 72 | .(series...,(org-hugo--delim-str |
| 50360 | 2d 74 6f 2d 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 | -to-list.(plist-get.info.:hugo-s |
| 50380 | 65 72 69 65 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 6c 75 67 20 | eries)))..................(slug. |
| 503a0 | 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 6c 75 67 29 29 0a | ..,(plist-get.info.:hugo-slug)). |
| 503c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 67 73 20 2e 20 2c 74 61 67 73 29 0a | .................(tags...,tags). |
| 503e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 74 65 67 6f 72 69 65 73 20 2e 20 2c | .................(categories..., |
| 50400 | 63 61 74 65 67 6f 72 69 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 79 | categories)..................(ty |
| 50420 | 70 65 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 74 79 70 65 | pe...,(plist-get.info.:hugo-type |
| 50440 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 72 6c 20 2e 20 2c 28 70 6c 69 | ))..................(url...,(pli |
| 50460 | 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 75 72 6c 29 29 0a 20 20 20 20 20 20 20 20 | st-get.info.:hugo-url))......... |
| 50480 | 20 20 20 20 20 20 20 20 20 28 76 69 64 65 6f 73 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 | .........(videos...,(org-hugo--d |
| 504a0 | 65 6c 69 6d 2d 73 74 72 2d 74 6f 2d 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f | elim-str-to-list.(plist-get.info |
| 504c0 | 20 3a 68 75 67 6f 2d 76 69 64 65 6f 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .:hugo-videos)))................ |
| 504e0 | 20 20 28 64 72 61 66 74 20 2e 20 2c 64 72 61 66 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(draft...,draft).............. |
| 50500 | 20 20 20 20 28 68 65 61 64 6c 65 73 73 20 2e 20 2c 68 65 61 64 6c 65 73 73 29 0a 20 20 20 20 20 | ....(headless...,headless)...... |
| 50520 | 20 20 20 20 20 20 20 20 20 20 20 20 28 63 72 65 61 74 6f 72 20 2e 20 2c 63 72 65 61 74 6f 72 29 | ............(creator...,creator) |
| 50540 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 6f 63 61 6c 65 20 2e 20 2c 6c 6f 63 | ..................(locale...,loc |
| 50560 | 61 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 6c 61 63 6b 66 72 69 64 | ale)..................(blackfrid |
| 50580 | 61 79 20 2e 20 2c 62 6c 61 63 6b 66 72 69 64 61 79 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 | ay...,blackfriday)))..........(d |
| 505a0 | 61 74 61 20 60 2c 28 61 70 70 65 6e 64 20 64 61 74 61 20 77 65 69 67 68 74 2d 64 61 74 61 20 63 | ata.`,(append.data.weight-data.c |
| 505c0 | 75 73 74 6f 6d 2d 66 6d 2d 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ustom-fm-data................... |
| 505e0 | 20 20 20 20 20 20 20 28 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......(list.................... |
| 50600 | 20 20 20 20 20 20 20 28 63 6f 6e 73 20 27 6d 65 6e 75 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 | .......(cons.'menu.menu-alist).. |
| 50620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 27 | .........................(cons.' |
| 50640 | 72 65 73 6f 75 72 63 65 73 20 72 65 73 6f 75 72 63 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 | resources.resources)............ |
| 50660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 27 6c 6f 67 62 6f 6f 6b 20 28 70 | ...............(cons.'logbook.(p |
| 50680 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 6c 6f 67 62 6f 6f 6b 29 29 29 29 29 0a 20 20 20 20 | list-get.info.:logbook)))))..... |
| 506a0 | 20 20 20 20 20 72 65 74 29 0a 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 67 65 74 | .....ret)......;;.(message."[get |
| 506c0 | 20 66 6d 20 44 42 47 5d 20 74 61 67 73 3a 20 25 73 22 20 74 61 67 73 29 0a 20 20 20 20 3b 3b 20 | .fm.DBG].tags:.%s".tags).....;;. |
| 506e0 | 28 6d 65 73 73 61 67 65 20 22 64 62 67 3a 20 68 75 67 6f 20 74 61 67 73 3a 20 25 53 22 20 28 70 | (message."dbg:.hugo.tags:.%S".(p |
| 50700 | 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 74 61 67 73 29 29 0a 20 20 20 20 3b | list-get.info.:hugo-tags)).....; |
| 50720 | 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 67 65 74 20 66 6d 20 69 6e 66 6f 20 44 42 47 5d 20 25 53 | ;.(message."[get.fm.info.DBG].%S |
| 50740 | 22 20 69 6e 66 6f 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 67 65 74 20 66 6d | ".info).....;;.(message."[get.fm |
| 50760 | 20 6d 65 6e 75 20 44 42 47 5d 20 25 53 22 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 3b | .menu.DBG].%S".menu-alist).....; |
| 50780 | 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 67 65 74 20 66 6d 20 6d 65 6e 75 20 6f 76 65 72 72 69 64 | ;.(message."[get.fm.menu.overrid |
| 507a0 | 65 20 44 42 47 5d 20 25 53 22 20 6d 65 6e 75 2d 61 6c 69 73 74 2d 6f 76 65 72 72 69 64 65 29 0a | e.DBG].%S".menu-alist-override). |
| 507c0 | 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 63 75 73 74 6f 6d 20 66 6d 20 64 61 74 61 | ....;;.(message."[custom.fm.data |
| 507e0 | 20 44 42 47 5d 20 25 53 22 20 63 75 73 74 6f 6d 2d 66 6d 2d 64 61 74 61 29 0a 20 20 20 20 3b 3b | .DBG].%S".custom-fm-data).....;; |
| 50800 | 20 28 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 72 65 73 6f 75 72 63 65 73 20 4f 55 54 20 44 42 47 | .(message."[fm.resources.OUT.DBG |
| 50820 | 5d 20 25 53 22 20 72 65 73 6f 75 72 63 65 73 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 | ].%S".resources).....;;.(message |
| 50840 | 20 22 5b 66 6d 20 64 61 74 61 20 44 42 47 5d 20 64 61 74 61 3a 20 25 53 22 20 64 61 74 61 29 0a | ."[fm.data.DBG].data:.%S".data). |
| 50860 | 20 20 20 20 3b 3b 20 28 70 72 6f 67 6e 20 28 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 64 61 74 61 | ....;;.(progn.(message."[fm.data |
| 50880 | 20 44 42 47 5d 20 22 29 20 28 70 70 20 64 61 74 61 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 | .DBG].").(pp.data)).....;;.(mess |
| 508a0 | 61 67 65 20 22 5b 66 6d 20 74 61 67 73 20 44 42 47 5d 20 25 53 22 20 74 61 67 73 29 0a 20 20 20 | age."[fm.tags.DBG].%S".tags).... |
| 508c0 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 63 61 74 65 67 6f 72 69 65 73 20 44 42 47 | .;;.(message."[fm.categories.DBG |
| 508e0 | 5d 20 25 53 22 20 63 61 74 65 67 6f 72 69 65 73 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 | ].%S".categories).....;;.(messag |
| 50900 | 65 20 22 5b 66 6d 20 6b 65 79 77 6f 72 64 73 20 44 42 47 5d 20 25 53 22 20 6b 65 79 77 6f 72 64 | e."[fm.keywords.DBG].%S".keyword |
| 50920 | 73 29 0a 0a 20 20 20 20 3b 3b 20 41 70 70 65 6e 64 20 67 72 6f 75 70 20 74 61 67 73 20 74 6f 20 | s)......;;.Append.group.tags.to. |
| 50940 | 75 73 65 72 2d 73 65 74 20 74 61 67 73 20 69 66 20 74 61 67 20 67 72 6f 75 70 73 20 61 72 65 20 | user-set.tags.if.tag.groups.are. |
| 50960 | 64 65 66 69 6e 65 64 20 69 6e 0a 20 20 20 20 3b 3b 20 74 68 65 20 62 75 66 66 65 72 2e 0a 20 20 | defined.in.....;;.the.buffer.... |
| 50980 | 20 20 28 77 68 65 6e 20 28 61 6e 64 20 6f 72 67 2d 67 72 6f 75 70 2d 74 61 67 73 20 6f 72 67 2d | ..(when.(and.org-group-tags.org- |
| 509a0 | 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 74 61 | tag-groups-alist).......(let.(ta |
| 509c0 | 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 2d 6d 6f 64 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 | g-groups-alist-mod)..........;;. |
| 509e0 | 43 6f 70 79 20 60 6f 72 67 2d 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 27 20 74 6f 20 60 | Copy.`org-tag-groups-alist'.to.` |
| 50a00 | 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 2d 6d 6f 64 27 20 77 68 69 6c 65 0a 20 20 20 20 | tag-groups-alist-mod'.while..... |
| 50a20 | 20 20 20 20 3b 3b 20 6d 6f 64 69 66 79 69 6e 67 20 74 68 65 20 74 61 67 73 20 61 6e 64 20 63 61 | ....;;.modifying.the.tags.and.ca |
| 50a40 | 74 65 67 6f 72 69 65 73 20 61 73 20 64 65 66 69 6e 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 3b | tegories.as.defined.by.........; |
| 50a60 | 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 | ;.`org-hugo-tag-processing-funct |
| 50a80 | 69 6f 6e 73 27 2e 0a 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 67 72 6f 75 70 20 6f 72 | ions'..........(dolist.(group.or |
| 50aa0 | 67 2d 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c | g-tag-groups-alist)...........(l |
| 50ac0 | 65 74 20 28 28 67 72 6f 75 70 2d 6d 6f 64 20 67 72 6f 75 70 29 29 0a 20 20 20 20 20 20 20 20 20 | et.((group-mod.group)).......... |
| 50ae0 | 20 20 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 | ...(dolist.(fn.org-hugo-tag-proc |
| 50b00 | 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 20 67 72 6f 75 70 2d 6d 6f 64 29 0a 20 20 20 20 | essing-functions.group-mod)..... |
| 50b20 | 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 67 72 6f 75 70 2d 6d 6f 64 20 28 66 75 6e 63 61 | ..........(setq.group-mod.(funca |
| 50b40 | 6c 6c 20 66 6e 20 67 72 6f 75 70 2d 6d 6f 64 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 | ll.fn.group-mod.info)))......... |
| 50b60 | 20 20 20 20 28 70 75 73 68 20 67 72 6f 75 70 2d 6d 6f 64 20 74 61 67 2d 67 72 6f 75 70 73 2d 61 | ....(push.group-mod.tag-groups-a |
| 50b80 | 6c 69 73 74 2d 6d 6f 64 29 29 29 0a 0a 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 74 2d | list-mod)))..........(dolist.(t- |
| 50ba0 | 6f 72 2d 63 20 28 61 70 70 65 6e 64 20 74 61 67 73 20 63 61 74 65 67 6f 72 69 65 73 29 29 0a 20 | or-c.(append.tags.categories)).. |
| 50bc0 | 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 6f 2d 62 65 2d 73 65 61 72 63 68 65 64 20 60 | .........(let.((to-be-searched.` |
| 50be0 | 28 2c 74 2d 6f 72 2d 63 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 69 6c 65 20 28 | (,t-or-c))).............(while.( |
| 50c00 | 3e 20 28 6c 65 6e 67 74 68 20 74 6f 2d 62 65 2d 73 65 61 72 63 68 65 64 29 20 30 29 0a 20 20 20 | >.(length.to-be-searched).0).... |
| 50c20 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 74 61 67 20 67 72 6f | ...........;;.(message."[tag.gro |
| 50c40 | 75 70 20 44 42 47 5d 20 74 20 61 6e 64 20 63 20 74 6f 20 73 65 61 72 63 68 3a 20 25 53 22 20 74 | up.DBG].t.and.c.to.search:.%S".t |
| 50c60 | 6f 2d 62 65 2d 73 65 61 72 63 68 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 | o-be-searched)...............(le |
| 50c80 | 74 20 28 28 74 63 20 28 70 6f 70 20 74 6f 2d 62 65 2d 73 65 61 72 63 68 65 64 29 29 29 0a 20 20 | t.((tc.(pop.to-be-searched)))... |
| 50ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 67 72 6f 75 70 20 74 61 67 | ..............(dolist.(group.tag |
| 50cc0 | 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 2d 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | -groups-alist-mod).............. |
| 50ce0 | 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 74 61 67 20 67 72 6f 75 70 20 44 42 47 | .....;;.(message."[tag.group.DBG |
| 50d00 | 5d 20 20 20 53 65 61 72 63 68 69 6e 67 20 25 73 20 69 6e 20 25 53 22 20 74 63 20 67 72 6f 75 70 | ]...Searching.%s.in.%S".tc.group |
| 50d20 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 | )...................(when.(membe |
| 50d40 | 72 20 74 63 20 67 72 6f 75 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.tc.group)..................... |
| 50d60 | 28 6c 65 74 20 28 28 68 65 61 64 2d 74 61 67 20 28 63 61 72 20 67 72 6f 75 70 29 29 29 0a 20 20 | (let.((head-tag.(car.group)))... |
| 50d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 67 2d 68 75 67 | ....................(if.(org-hug |
| 50da0 | 6f 2d 2d 63 61 74 65 67 6f 72 79 2d 70 20 68 65 61 64 2d 74 61 67 29 0a 20 20 20 20 20 20 20 20 | o--category-p.head-tag)......... |
| 50dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 68 65 61 64 2d 63 61 | ..................(let.((head-ca |
| 50de0 | 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 | t.(replace-regexp-in-string."\\` |
| 50e00 | 40 22 20 22 22 20 68 65 61 64 2d 74 61 67 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | @"."".head-tag)))............... |
| 50e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6d 65 6d 62 65 72 20 68 65 | ..............(unless.(member.he |
| 50e40 | 61 64 2d 63 61 74 20 63 61 74 65 67 6f 72 69 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ad-cat.categories).............. |
| 50e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 68 65 61 64 2d 63 61 74 20 | .................(push.head-cat. |
| 50e80 | 63 61 74 65 67 6f 72 69 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | categories)..................... |
| 50ea0 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 74 61 67 20 67 72 6f 75 | ..........;;.(message."[tag.grou |
| 50ec0 | 70 20 44 42 47 5d 20 2e 2e 2e 2e 20 41 64 64 69 6e 67 20 63 61 74 20 25 73 22 20 68 65 61 64 2d | p.DBG]......Adding.cat.%s".head- |
| 50ee0 | 63 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cat)............................ |
| 50f00 | 20 20 20 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 | ...)).........................(u |
| 50f20 | 6e 6c 65 73 73 20 28 6d 65 6d 62 65 72 20 68 65 61 64 2d 74 61 67 20 74 61 67 73 29 0a 20 20 20 | nless.(member.head-tag.tags).... |
| 50f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 68 65 61 | .......................(push.hea |
| 50f60 | 64 2d 74 61 67 20 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d-tag.tags)..................... |
| 50f80 | 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 74 61 67 20 67 72 6f 75 70 20 44 42 | ......;;.(message."[tag.group.DB |
| 50fa0 | 47 5d 20 2e 2e 2e 2e 20 41 64 64 69 6e 67 20 74 61 67 20 25 73 22 20 68 65 61 64 2d 74 61 67 29 | G]......Adding.tag.%s".head-tag) |
| 50fc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 29 0a 20 20 | ...........................))... |
| 50fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 64 64 20 74 68 65 20 63 | ....................;;.Add.the.c |
| 51000 | 75 72 72 65 6e 74 20 60 68 65 61 64 2d 74 61 67 27 20 61 73 20 74 68 65 20 6e 65 77 20 74 61 67 | urrent.`head-tag'.as.the.new.tag |
| 51020 | 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 61 | .to.......................;;.sea |
| 51040 | 72 63 68 20 69 66 20 63 75 72 72 65 6e 74 20 74 61 67 20 6f 72 20 63 61 74 65 67 6f 72 79 20 28 | rch.if.current.tag.or.category.( |
| 51060 | 60 74 63 27 29 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | `tc').is.not.................... |
| 51080 | 20 20 20 3b 3b 20 74 68 65 20 60 68 65 61 64 2d 74 61 67 27 2c 20 61 6e 64 20 69 66 20 69 74 27 | ...;;.the.`head-tag',.and.if.it' |
| 510a0 | 73 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 | s.not.already.in.the............ |
| 510c0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 61 72 63 68 20 6c 69 73 74 2e 0a 20 20 20 20 20 | ...........;;.search.list....... |
| 510e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 20 28 73 74 | .................(unless.(or.(st |
| 51100 | 72 69 6e 67 3d 20 74 63 20 68 65 61 64 2d 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ring=.tc.head-tag).............. |
| 51120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 68 65 61 | .....................(member.hea |
| 51140 | 64 2d 74 61 67 20 74 6f 2d 62 65 2d 73 65 61 72 63 68 65 64 29 29 0a 20 20 20 20 20 20 20 20 20 | d-tag.to-be-searched)).......... |
| 51160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 68 65 61 64 2d 74 61 67 20 74 6f | ...............(push.head-tag.to |
| 51180 | 2d 62 65 2d 73 65 61 72 63 68 65 64 29 29 29 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 | -be-searched)))))))))).......;;. |
| 511a0 | 28 6d 65 73 73 61 67 65 20 22 5b 74 61 67 20 67 72 6f 75 70 20 44 42 47 5d 20 75 70 64 61 74 65 | (message."[tag.group.DBG].update |
| 511c0 | 64 20 74 61 67 73 3a 20 25 53 22 20 74 61 67 73 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 | d.tags:.%S".tags).......;;.(mess |
| 511e0 | 61 67 65 20 22 5b 74 61 67 20 67 72 6f 75 70 20 44 42 47 5d 20 75 70 64 61 74 65 64 20 63 61 74 | age."[tag.group.DBG].updated.cat |
| 51200 | 65 67 6f 72 69 65 73 3a 20 25 53 22 20 63 61 74 65 67 6f 72 69 65 73 29 0a 0a 20 20 20 20 20 20 | egories:.%S".categories)........ |
| 51220 | 3b 3b 20 4f 76 65 72 77 72 69 74 65 20 74 68 65 20 27 74 61 67 73 20 61 6e 64 20 27 63 61 74 65 | ;;.Overwrite.the.'tags.and.'cate |
| 51240 | 67 6f 72 69 65 73 20 6b 65 79 20 76 61 6c 75 65 73 20 69 6e 20 60 64 61 74 61 27 20 77 69 74 68 | gories.key.values.in.`data'.with |
| 51260 | 0a 20 20 20 20 20 20 3b 3b 20 74 68 65 20 75 70 64 61 74 65 64 20 76 61 6c 75 65 73 2e 0a 20 20 | .......;;.the.updated.values.... |
| 51280 | 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 73 74 61 63 6b 6f 76 65 72 66 6c 6f 77 2e 63 6f 6d | ....;;.https://stackoverflow.com |
| 512a0 | 2f 61 2f 34 30 38 31 35 33 36 35 2f 31 32 31 39 36 33 34 0a 20 20 20 20 20 20 28 73 65 74 66 20 | /a/40815365/1219634.......(setf. |
| 512c0 | 28 61 6c 69 73 74 2d 67 65 74 20 27 74 61 67 73 20 64 61 74 61 29 20 74 61 67 73 29 0a 20 20 20 | (alist-get.'tags.data).tags).... |
| 512e0 | 20 20 20 28 73 65 74 66 20 28 61 6c 69 73 74 2d 67 65 74 20 27 63 61 74 65 67 6f 72 69 65 73 20 | ...(setf.(alist-get.'categories. |
| 51300 | 64 61 74 61 29 20 63 61 74 65 67 6f 72 69 65 73 29 29 0a 0a 20 20 20 20 28 73 65 74 71 20 64 61 | data).categories))......(setq.da |
| 51320 | 74 61 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 72 65 70 6c 61 63 65 2d 6b 65 79 73 2d 6d 61 79 62 65 | ta.(org-hugo--replace-keys-maybe |
| 51340 | 20 64 61 74 61 20 69 6e 66 6f 29 29 0a 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d | .data.info)).....(setq.ret.(org- |
| 51360 | 68 75 67 6f 2d 2d 67 65 6e 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 64 61 74 61 20 66 6d 2d 66 | hugo--gen-front-matter.data.fm-f |
| 51380 | 6f 72 6d 61 74 29 29 0a 20 20 20 20 28 69 66 20 28 61 6e 64 20 28 73 74 72 69 6e 67 3d 20 22 74 | ormat)).....(if.(and.(string=."t |
| 513a0 | 6f 6d 6c 22 20 66 6d 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 | oml".fm-format)..............(or |
| 513c0 | 67 2d 68 75 67 6f 2d 2d 70 61 6e 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 2d 65 6e 61 62 6c 65 64 | g-hugo--pandoc-citations-enabled |
| 513e0 | 2d 70 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 | -p.info)).........(progn........ |
| 51400 | 20 20 20 3b 3b 20 50 61 6e 64 6f 63 20 70 61 72 73 65 73 20 66 69 65 6c 64 73 20 6c 69 6b 65 20 | ...;;.Pandoc.parses.fields.like. |
| 51420 | 63 73 6c 20 61 6e 64 20 6e 6f 63 69 74 65 20 66 72 6f 6d 20 59 41 4d 4c 0a 20 20 20 20 20 20 20 | csl.and.nocite.from.YAML........ |
| 51440 | 20 20 20 3b 3b 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 20 20 53 6f 20 63 72 65 61 74 65 20 74 | ...;;.front-matter...So.create.t |
| 51460 | 68 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 27 0a 20 20 20 20 20 20 20 20 20 | he.`org-hugo--fm-yaml'.......... |
| 51480 | 20 3b 3b 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 6e 20 59 41 4d 4c 20 66 6f 72 6d 61 74 20 | .;;.front-matter.in.YAML.format. |
| 514a0 | 6a 75 73 74 20 66 6f 72 20 50 61 6e 64 6f 63 2e 0a 20 20 20 20 20 20 20 20 20 20 28 72 65 71 75 | just.for.Pandoc............(requ |
| 514c0 | 69 72 65 20 27 6f 78 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 29 0a 20 20 20 20 20 20 | ire.'ox-hugo-pandoc-cite)....... |
| 514e0 | 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 0a 20 20 20 20 | ....(setq.org-hugo--fm-yaml..... |
| 51500 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 | ............(org-hugo-pandoc-cit |
| 51520 | 65 2d 2d 6d 65 74 61 2d 64 61 74 61 2d 67 65 6e 65 72 61 74 6f 72 20 64 61 74 61 29 29 29 0a 20 | e--meta-data-generator.data))).. |
| 51540 | 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 20 72 65 74 | .....(setq.org-hugo--fm-yaml.ret |
| 51560 | 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d | )).....;;.(message."org-hugo--fm |
| 51580 | 2d 79 61 6d 6c 3a 20 60 25 73 27 22 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 29 0a | -yaml:.`%s'".org-hugo--fm-yaml). |
| 515a0 | 20 20 20 20 72 65 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 | ....ret))..(defun.org-hugo--calc |
| 515c0 | 2d 77 65 69 67 68 74 20 28 29 0a 20 20 22 43 61 6c 63 75 6c 61 74 65 20 74 68 65 20 77 65 69 67 | -weight.()..."Calculate.the.weig |
| 515e0 | 68 74 20 66 6f 72 20 61 20 48 75 67 6f 20 70 6f 73 74 20 6f 72 20 6d 65 6e 75 20 69 74 65 6d 2e | ht.for.a.Hugo.post.or.menu.item. |
| 51600 | 0a 0a 54 68 65 20 72 65 74 75 72 6e 65 64 20 77 65 69 67 68 74 20 3d 20 49 4e 44 45 58 20 2b 20 | ..The.returned.weight.=.INDEX.+. |
| 51620 | 31 30 30 30 2a 4c 45 56 45 4c 2e 20 20 53 65 65 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d | 1000*LEVEL...See.`org-hugo--get- |
| 51640 | 70 6f 73 74 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 69 6e 61 74 65 73 27 20 6c 65 61 72 6e 20 | post-subtree-coordinates'.learn. |
| 51660 | 61 62 6f 75 74 20 49 4e 44 45 58 20 61 6e 64 0a 4c 45 56 45 4c 2e 22 0a 20 20 28 6c 65 74 2a 20 | about.INDEX.and.LEVEL."...(let*. |
| 51680 | 28 28 6c 65 76 65 6c 20 28 63 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 | ((level.(car.org-hugo--subtree-c |
| 516a0 | 6f 6f 72 64 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 64 65 78 20 28 63 64 72 20 6f 72 67 2d | oord))..........(index.(cdr.org- |
| 516c0 | 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d | hugo--subtree-coord))).....;;.(m |
| 516e0 | 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 20 64 | essage."[org-hugo--calc-weight.d |
| 51700 | 62 67 5d 20 6c 65 76 65 6c 20 3d 20 25 53 22 20 6c 65 76 65 6c 29 0a 20 20 20 20 3b 3b 20 28 6d | bg].level.=.%S".level).....;;.(m |
| 51720 | 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 20 64 | essage."[org-hugo--calc-weight.d |
| 51740 | 62 67 5d 20 69 6e 64 65 78 20 3d 20 25 53 22 20 69 6e 64 65 78 29 0a 20 20 20 20 28 2b 20 28 2a | bg].index.=.%S".index).....(+.(* |
| 51760 | 20 31 30 30 30 20 6c 65 76 65 6c 29 20 69 6e 64 65 78 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 | .1000.level).index)))..(defun.or |
| 51780 | 67 2d 68 75 67 6f 2d 2d 67 65 6e 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 28 64 61 74 61 20 66 | g-hugo--gen-front-matter.(data.f |
| 517a0 | 6f 72 6d 61 74 29 0a 20 20 22 47 65 6e 65 72 61 74 65 20 74 68 65 20 48 75 67 6f 20 70 6f 73 74 | ormat)..."Generate.the.Hugo.post |
| 517c0 | 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2c 20 61 6e 64 20 72 65 74 75 72 6e 20 74 68 61 74 20 73 | .front-matter,.and.return.that.s |
| 517e0 | 74 72 69 6e 67 2e 0a 0a 44 41 54 41 20 69 73 20 61 6e 20 61 6c 69 73 74 20 6f 66 20 74 68 65 20 | tring...DATA.is.an.alist.of.the. |
| 51800 | 66 6f 72 6d 20 5c 28 28 4b 45 59 31 20 2e 20 56 41 4c 31 29 20 28 4b 45 59 32 20 2e 20 56 41 4c | form.\((KEY1...VAL1).(KEY2...VAL |
| 51820 | 32 29 20 2e 2e 20 5c 29 2c 0a 77 68 65 72 65 20 4b 45 59 20 69 73 20 61 20 73 79 6d 62 6f 6c 20 | 2)....\),.where.KEY.is.a.symbol. |
| 51840 | 61 6e 64 20 56 41 4c 20 69 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 47 65 6e 65 72 61 74 65 20 74 | and.VAL.is.a.string...Generate.t |
| 51860 | 68 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 64 | he.front-matter.in.the.specified |
| 51880 | 20 46 4f 52 4d 41 54 2e 20 20 56 61 6c 69 64 20 76 61 6c 75 65 73 0a 61 72 65 20 5c 22 74 6f 6d | .FORMAT...Valid.values.are.\"tom |
| 518a0 | 6c 5c 22 20 61 6e 64 20 5c 22 79 61 6d 6c 5c 22 2e 22 0a 20 20 28 69 66 20 28 73 74 72 69 6e 67 | l\".and.\"yaml\"."...(if.(string |
| 518c0 | 3d 20 66 6f 72 6d 61 74 20 22 79 61 6d 6c 22 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f | =.format."yaml").......(org-hugo |
| 518e0 | 2d 2d 67 65 6e 2d 79 61 6d 6c 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 64 61 74 61 29 0a 20 20 | --gen-yaml-front-matter.data)... |
| 51900 | 20 20 28 6c 65 74 20 28 28 74 6f 6d 65 6c 72 2d 69 6e 64 65 6e 74 2d 6d 75 6c 74 69 2d 6c 69 6e | ..(let.((tomelr-indent-multi-lin |
| 51920 | 65 2d 73 74 72 69 6e 67 73 20 74 29 29 0a 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 2b 2b 2b | e-strings.t)).......(format."+++ |
| 51940 | 5c 6e 25 73 5c 6e 2b 2b 2b 5c 6e 22 20 28 74 6f 6d 65 6c 72 2d 65 6e 63 6f 64 65 20 64 61 74 61 | \n%s\n+++\n".(tomelr-encode.data |
| 51960 | 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 65 6c 65 63 74 69 76 | )))))..(defun.org-hugo--selectiv |
| 51980 | 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 20 28 29 0a 20 20 22 52 65 74 | e-property-inheritance.()..."Ret |
| 519a0 | 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 70 72 6f 70 65 72 74 69 65 73 20 74 68 61 74 20 73 68 | urn.a.list.of.properties.that.sh |
| 519c0 | 6f 75 6c 64 20 62 65 20 69 6e 68 65 72 69 74 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 6f | ould.be.inherited."...(let.((pro |
| 519e0 | 70 2d 6c 69 73 74 20 27 28 22 48 55 47 4f 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 52 5f 46 4f 52 4d | p-list.'("HUGO_FRONT_MATTER_FORM |
| 51a00 | 41 54 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 50 | AT"......................"HUGO_P |
| 51a20 | 52 45 46 45 52 5f 48 59 50 48 45 4e 5f 49 4e 5f 54 41 47 53 22 0a 20 20 20 20 20 20 20 20 20 20 | REFER_HYPHEN_IN_TAGS"........... |
| 51a40 | 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 50 52 45 53 45 52 56 45 5f 46 49 4c 4c 49 4e | ..........."HUGO_PRESERVE_FILLIN |
| 51a60 | 47 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 44 45 | G"......................"HUGO_DE |
| 51a80 | 4c 45 54 45 5f 54 52 41 49 4c 49 4e 47 5f 57 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | LETE_TRAILING_WS"............... |
| 51aa0 | 20 20 20 20 20 20 20 22 48 55 47 4f 5f 41 4c 4c 4f 57 5f 53 50 41 43 45 53 5f 49 4e 5f 54 41 47 | ......."HUGO_ALLOW_SPACES_IN_TAG |
| 51ac0 | 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 42 4c | S"......................"HUGO_BL |
| 51ae0 | 41 43 4b 46 52 49 44 41 59 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ACKFRIDAY"...................... |
| 51b00 | 22 48 55 47 4f 5f 53 45 43 54 49 4f 4e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "HUGO_SECTION".................. |
| 51b20 | 20 20 20 20 22 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5f 46 52 41 47 22 0a 20 20 20 20 20 20 20 20 | ...."HUGO_SECTION_FRAG"......... |
| 51b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 42 55 4e 44 4c 45 22 0a 20 20 20 20 20 | ............."HUGO_BUNDLE"...... |
| 51b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 22 0a | ................"HUGO_BASE_DIR". |
| 51b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 42 41 53 45 5f | ....................."HUGO_BASE_ |
| 51ba0 | 43 4f 4e 54 45 4e 54 5f 46 4f 4c 44 45 52 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | CONTENT_FOLDER"................. |
| 51bc0 | 20 20 20 20 20 22 48 55 47 4f 5f 47 4f 4c 44 4d 41 52 4b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ....."HUGO_GOLDMARK"............ |
| 51be0 | 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 43 4f 44 45 5f 46 45 4e 43 45 22 0a 20 20 20 20 | .........."HUGO_CODE_FENCE"..... |
| 51c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 | ................."HTML_CONTAINER |
| 51c20 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 54 4d 4c 5f 43 4f 4e | "......................"HTML_CON |
| 51c40 | 54 41 49 4e 45 52 5f 43 4c 41 53 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | TAINER_CLASS"................... |
| 51c60 | 20 20 20 22 48 55 47 4f 5f 4d 45 4e 55 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..."HUGO_MENU".................. |
| 51c80 | 20 20 20 20 22 48 55 47 4f 5f 43 55 53 54 4f 4d 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 52 22 0a 20 | ...."HUGO_CUSTOM_FRONT_MATTER".. |
| 51ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 44 52 41 46 54 22 | ...................."HUGO_DRAFT" |
| 51cc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 49 53 43 4a | ......................"HUGO_ISCJ |
| 51ce0 | 4b 4c 41 4e 47 55 41 47 45 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | KLANGUAGE"...................... |
| 51d00 | 22 4b 45 59 57 4f 52 44 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "KEYWORDS"...................... |
| 51d20 | 22 48 55 47 4f 5f 4d 41 52 4b 55 50 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "HUGO_MARKUP"................... |
| 51d40 | 20 20 20 22 48 55 47 4f 5f 4f 55 54 50 55 54 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..."HUGO_OUTPUTS"............... |
| 51d60 | 20 20 20 20 20 20 20 22 48 55 47 4f 5f 54 41 47 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......."HUGO_TAGS".............. |
| 51d80 | 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 43 41 54 45 47 4f 52 49 45 53 22 0a 20 20 20 20 20 20 | ........"HUGO_CATEGORIES"....... |
| 51da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 53 45 52 49 45 53 22 0a 20 20 20 | ..............."HUGO_SERIES".... |
| 51dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 54 59 50 45 22 0a 20 20 | .................."HUGO_TYPE"... |
| 51de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 4c 41 59 4f 55 54 22 | ..................."HUGO_LAYOUT" |
| 51e00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 57 45 49 47 | ......................"HUGO_WEIG |
| 51e20 | 48 54 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 52 | HT"......................"HUGO_R |
| 51e40 | 45 53 4f 55 52 43 45 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | ESOURCES"......................" |
| 51e60 | 48 55 47 4f 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 52 5f 4b 45 59 5f 52 45 50 4c 41 43 45 22 0a 20 | HUGO_FRONT_MATTER_KEY_REPLACE".. |
| 51e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 44 41 54 45 5f 46 | ...................."HUGO_DATE_F |
| 51ea0 | 4f 52 4d 41 54 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 | ORMAT"......................"HUG |
| 51ec0 | 4f 5f 57 49 54 48 5f 4c 4f 43 41 4c 45 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | O_WITH_LOCALE".................. |
| 51ee0 | 20 20 20 20 22 48 55 47 4f 5f 4c 4f 43 41 4c 45 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...."HUGO_LOCALE"............... |
| 51f00 | 20 20 20 20 20 20 20 22 48 55 47 4f 5f 50 41 49 52 45 44 5f 53 48 4f 52 54 43 4f 44 45 53 22 0a | ......."HUGO_PAIRED_SHORTCODES". |
| 51f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 44 41 54 45 22 20 3b 55 73 65 | ....................."DATE".;Use |
| 51f40 | 66 75 6c 20 66 6f 72 20 69 6e 68 65 72 69 74 69 6e 67 20 73 61 6d 65 20 64 61 74 65 20 74 6f 20 | ful.for.inheriting.same.date.to. |
| 51f60 | 73 61 6d 65 20 70 6f 73 74 73 20 69 6e 20 64 69 66 66 65 72 65 6e 74 20 6c 61 6e 67 75 61 67 65 | same.posts.in.different.language |
| 51f80 | 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 50 55 42 | s......................"HUGO_PUB |
| 51fa0 | 4c 49 53 48 44 41 54 45 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | LISHDATE"......................" |
| 51fc0 | 48 55 47 4f 5f 45 58 50 49 52 59 44 41 54 45 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | HUGO_EXPIRYDATE"................ |
| 51fe0 | 20 20 20 20 20 20 22 48 55 47 4f 5f 4c 41 53 54 4d 4f 44 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ......"HUGO_LASTMOD"............ |
| 52000 | 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 53 4c 55 47 22 20 3b 55 73 65 66 75 6c 20 66 6f | .........."HUGO_SLUG".;Useful.fo |
| 52020 | 72 20 69 6e 68 65 72 69 74 69 6e 67 20 73 61 6d 65 20 73 6c 75 67 20 74 6f 20 73 61 6d 65 20 70 | r.inheriting.same.slug.to.same.p |
| 52040 | 6f 73 74 73 20 69 6e 20 64 69 66 66 65 72 65 6e 74 20 6c 61 6e 67 75 61 67 65 73 0a 20 20 20 20 | osts.in.different.languages..... |
| 52060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 50 41 4e 44 4f 43 5f 43 49 | ................."HUGO_PANDOC_CI |
| 52080 | 54 41 54 49 4f 4e 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 42 | TATIONS"......................"B |
| 520a0 | 49 42 4c 49 4f 47 52 41 50 48 59 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | IBLIOGRAPHY".................... |
| 520c0 | 20 20 22 48 55 47 4f 5f 41 55 54 4f 5f 53 45 54 5f 4c 41 53 54 4d 4f 44 22 0a 20 20 20 20 20 20 | .."HUGO_AUTO_SET_LASTMOD"....... |
| 520e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 4c 41 4e 47 55 41 47 45 22 0a 20 20 20 20 20 20 | ..............."LANGUAGE"....... |
| 52100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 41 55 54 48 4f 52 22 0a 20 20 20 20 20 20 20 20 | ..............."AUTHOR"......... |
| 52120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 4f 50 54 49 4f 4e 53 22 29 29 29 0a 20 20 20 20 28 6d | ............."OPTIONS"))).....(m |
| 52140 | 61 70 63 61 72 20 28 6c 61 6d 62 64 61 20 28 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | apcar.(lambda.(str)............. |
| 52160 | 20 20 28 63 6f 6e 63 61 74 20 22 45 58 50 4f 52 54 5f 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 | ..(concat."EXPORT_".str))....... |
| 52180 | 20 20 20 20 20 20 70 72 6f 70 2d 6c 69 73 74 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 | ......prop-list)))..(defun.org-h |
| 521a0 | 75 67 6f 2d 2d 67 65 74 2d 76 61 6c 69 64 2d 73 75 62 74 72 65 65 20 28 29 0a 20 20 22 52 65 74 | ugo--get-valid-subtree.()..."Ret |
| 521c0 | 75 72 6e 20 74 68 65 20 4f 72 67 20 65 6c 65 6d 65 6e 74 20 66 6f 72 20 61 20 76 61 6c 69 64 20 | urn.the.Org.element.for.a.valid. |
| 521e0 | 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 2e 0a 54 68 65 20 63 6f 6e 64 69 74 69 6f 6e | Hugo.post.subtree..The.condition |
| 52200 | 20 74 6f 20 63 68 65 63 6b 20 76 61 6c 69 64 69 74 79 20 69 73 20 74 68 61 74 20 74 68 65 20 45 | .to.check.validity.is.that.the.E |
| 52220 | 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 0a 70 72 6f 70 65 72 74 79 20 69 73 20 64 65 66 69 | XPORT_FILE_NAME.property.is.defi |
| 52240 | 6e 65 64 20 66 6f 72 20 74 68 65 20 73 75 62 74 72 65 65 20 65 6c 65 6d 65 6e 74 2e 0a 0a 41 73 | ned.for.the.subtree.element...As |
| 52260 | 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 | .this.function.is.intended.to.be |
| 52280 | 20 63 61 6c 6c 65 64 20 69 6e 73 69 64 65 20 61 20 76 61 6c 69 64 20 48 75 67 6f 0a 70 6f 73 74 | .called.inside.a.valid.Hugo.post |
| 522a0 | 20 73 75 62 74 72 65 65 2c 20 64 6f 69 6e 67 20 73 6f 20 61 6c 73 6f 20 6d 6f 76 65 73 20 74 68 | .subtree,.doing.so.also.moves.th |
| 522c0 | 65 20 70 6f 69 6e 74 20 74 6f 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 0a 74 68 65 20 | e.point.to.the.beginning.of.the. |
| 522e0 | 68 65 61 64 69 6e 67 20 6f 66 20 74 68 61 74 20 73 75 62 74 72 65 65 2e 0a 0a 52 65 74 75 72 6e | heading.of.that.subtree...Return |
| 52300 | 20 6e 69 6c 20 69 66 20 61 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 | .nil.if.a.valid.Hugo.post.subtre |
| 52320 | 65 20 69 73 20 6e 6f 74 20 66 6f 75 6e 64 2e 20 20 54 68 65 20 70 6f 69 6e 74 0a 77 69 6c 6c 20 | e.is.not.found...The.point.will. |
| 52340 | 62 65 20 6d 6f 76 65 64 20 69 6e 20 74 68 69 73 20 63 61 73 65 20 74 6f 6f 2e 22 0a 20 20 28 6c | be.moved.in.this.case.too."...(l |
| 52360 | 65 74 2a 20 28 28 73 75 62 74 72 65 65 20 28 63 61 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 | et*.((subtree.(car.(org-hugo--ge |
| 52380 | 74 2d 65 6c 65 6d 2d 77 69 74 68 2d 70 72 6f 70 20 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 | t-elem-with-prop.:EXPORT_FILE_NA |
| 523a0 | 4d 45 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 6f 69 6e 74 20 28 6f 72 67 2d 65 6c 65 6d 65 | ME)))..........(point.(org-eleme |
| 523c0 | 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 62 65 67 69 6e 20 73 75 62 74 72 65 65 29 29 29 20 3b 60 | nt-property.:begin.subtree))).;` |
| 523e0 | 70 6f 69 6e 74 27 20 77 69 6c 6c 20 62 65 20 6e 69 6c 20 69 66 20 60 73 75 62 74 72 65 65 27 20 | point'.will.be.nil.if.`subtree'. |
| 52400 | 69 73 20 6e 69 6c 0a 20 20 20 20 28 77 68 65 6e 20 70 6f 69 6e 74 0a 20 20 20 20 20 20 28 67 6f | is.nil.....(when.point.......(go |
| 52420 | 74 6f 2d 63 68 61 72 20 70 6f 69 6e 74 29 29 0a 20 20 20 20 73 75 62 74 72 65 65 29 29 0a 0a 28 | to-char.point)).....subtree))..( |
| 52440 | 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 6f 73 74 2d 73 75 62 74 72 65 65 | defun.org-hugo--get-post-subtree |
| 52460 | 2d 63 6f 6f 72 64 69 6e 61 74 65 73 20 28 73 75 62 74 72 65 65 29 0a 20 20 22 52 65 74 75 72 6e | -coordinates.(subtree)..."Return |
| 52480 | 20 74 68 65 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 | .the.coordinates.for.the.current |
| 524a0 | 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 53 55 42 54 52 45 45 2e 0a 0a 54 68 65 20 4f | .valid.Hugo.post.SUBTREE...The.O |
| 524c0 | 72 67 20 65 6c 65 6d 65 6e 74 20 72 65 74 75 72 6e 65 64 20 62 79 20 60 6f 72 67 2d 68 75 67 6f | rg.element.returned.by.`org-hugo |
| 524e0 | 2d 2d 67 65 74 2d 76 61 6c 69 64 2d 73 75 62 74 72 65 65 27 20 69 73 20 61 0a 76 61 6c 69 64 20 | --get-valid-subtree'.is.a.valid. |
| 52500 | 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 2e 0a 0a 54 68 65 20 72 65 74 75 72 6e 65 64 | Hugo.post.subtree...The.returned |
| 52520 | 20 76 61 6c 75 65 20 69 73 20 6f 66 20 74 79 70 65 20 28 4c 45 56 45 4c 20 2e 20 49 4e 44 45 58 | .value.is.of.type.(LEVEL...INDEX |
| 52540 | 29 20 77 68 65 72 65 20 4c 45 56 45 4c 20 69 73 20 74 68 65 0a 6c 65 76 65 6c 20 6e 75 6d 62 65 | ).where.LEVEL.is.the.level.numbe |
| 52560 | 72 20 6f 66 20 74 68 65 20 73 75 62 74 72 65 65 20 61 6e 64 20 49 4e 44 45 58 20 69 73 20 61 73 | r.of.the.subtree.and.INDEX.is.as |
| 52580 | 20 65 78 70 6c 61 69 6e 65 64 20 69 6e 20 74 68 65 0a 62 65 6c 6f 77 20 65 78 61 6d 70 6c 65 2e | .explained.in.the.below.example. |
| 525a0 | 0a 0a 49 66 20 77 65 20 68 61 76 65 0a 0a 20 20 2a 20 4c 65 76 65 6c 20 31 0a 20 20 2a 2a 20 4c | ..If.we.have....*.Level.1...**.L |
| 525c0 | 65 76 65 6c 20 41 0a 20 20 2a 2a 20 4c 65 76 65 6c 20 42 0a 20 20 2a 2a 20 4c 65 76 65 6c 20 43 | evel.A...**.Level.B...**.Level.C |
| 525e0 | 0a 20 20 2a 20 4c 65 76 65 6c 20 32 0a 0a 74 68 65 20 49 4e 44 45 58 20 77 69 6c 6c 20 62 65 20 | ...*.Level.2..the.INDEX.will.be. |
| 52600 | 31 20 66 6f 72 20 4c 65 76 65 6c 20 31 20 61 6e 64 20 4c 65 76 65 6c 20 41 2c 20 32 20 66 6f 72 | 1.for.Level.1.and.Level.A,.2.for |
| 52620 | 20 4c 65 76 65 6c 0a 42 20 61 6e 64 20 4c 65 76 65 6c 20 32 2c 20 61 6e 64 20 33 20 66 6f 72 20 | .Level.B.and.Level.2,.and.3.for. |
| 52640 | 4c 65 76 65 6c 20 43 2e 0a 0a 53 6f 20 74 68 65 20 76 61 6c 75 65 20 72 65 74 75 72 6e 65 64 20 | Level.C...So.the.value.returned. |
| 52660 | 66 6f 72 20 4c 65 76 65 6c 20 43 20 77 69 6c 6c 20 62 65 20 28 32 20 2e 20 33 29 2e 22 0a 20 20 | for.Level.C.will.be.(2...3)."... |
| 52680 | 28 73 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 28 6c 65 74 20 28 28 6c 65 76 65 6c | (save-excursion.....(let.((level |
| 526a0 | 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6c 65 76 65 6c 20 73 75 | .(org-element-property.:level.su |
| 526c0 | 62 74 72 65 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 64 65 78 20 31 29 0a 20 20 20 20 | btree))...........(index.1)..... |
| 526e0 | 20 20 20 20 20 20 28 63 75 72 72 65 6e 74 2d 70 6f 73 20 28 70 6f 69 6e 74 29 29 0a 20 20 20 20 | ......(current-pos.(point))..... |
| 52700 | 20 20 20 20 20 20 28 73 63 6f 70 65 20 28 69 66 20 28 6f 72 67 2d 75 70 2d 68 65 61 64 69 6e 67 | ......(scope.(if.(org-up-heading |
| 52720 | 2d 73 61 66 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 74 72 65 | -safe)......................'tre |
| 52740 | 65 20 3b 4d 61 70 20 65 6e 74 72 69 65 73 20 6f 6e 6c 79 20 69 6e 20 70 61 72 65 6e 74 20 73 75 | e.;Map.entries.only.in.parent.su |
| 52760 | 62 74 72 65 65 20 73 63 6f 70 65 20 69 66 20 70 61 72 65 6e 74 20 65 78 69 73 74 73 0a 20 20 20 | btree.scope.if.parent.exists.... |
| 52780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 6c 29 29 29 20 3b 45 6c 73 65 20 6d 61 70 | ................nil))).;Else.map |
| 527a0 | 20 69 6e 20 74 68 65 20 77 68 6f 6c 65 20 62 75 66 66 65 72 20 28 70 72 6f 76 69 64 65 64 20 74 | .in.the.whole.buffer.(provided.t |
| 527c0 | 68 65 20 4d 41 54 43 48 20 63 6f 6e 64 69 74 69 6f 6e 73 20 62 65 6c 6f 77 29 0a 20 20 20 20 20 | he.MATCH.conditions.below)...... |
| 527e0 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 6f 73 | .;;.(message."[org-hugo--get-pos |
| 52800 | 74 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 69 6e 61 74 65 73 20 64 62 67 5d 20 63 75 72 72 65 | t-subtree-coordinates.dbg].curre |
| 52820 | 6e 74 2d 70 6f 73 3a 20 25 53 2c 20 73 63 6f 70 65 3a 20 25 53 22 0a 20 20 20 20 20 20 3b 3b 20 | nt-pos:.%S,.scope:.%S".......;;. |
| 52840 | 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 70 6f 73 20 73 63 6f 70 65 29 0a 20 20 20 20 | .........current-pos.scope)..... |
| 52860 | 20 20 28 77 68 65 6e 20 6c 65 76 65 6c 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6d 61 70 2d 65 | ..(when.level.........(org-map-e |
| 52880 | 6e 74 72 69 65 73 20 28 6c 61 6d 62 64 61 20 28 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntries.(lambda.()............... |
| 528a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 3c 20 28 70 6f 69 6e 74 29 20 63 75 | .............(when.(<.(point).cu |
| 528c0 | 72 72 65 6e 74 2d 70 6f 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rrent-pos)...................... |
| 528e0 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 69 6e 64 65 78 20 28 31 2b 20 69 6e 64 65 78 29 29 29 | ........(setq.index.(1+.index))) |
| 52900 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4c 6f | )..........................;;.Lo |
| 52920 | 6f 70 20 74 68 72 6f 75 67 68 20 6f 6e 6c 79 20 68 65 61 64 69 6e 67 73 20 74 68 61 74 20 61 72 | op.through.only.headings.that.ar |
| 52940 | 65 20 61 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.at.the........................ |
| 52960 | 20 20 3b 3b 20 73 61 6d 65 20 6c 65 76 65 6c 20 61 73 20 53 55 42 54 52 45 45 2c 20 61 6e 64 20 | ..;;.same.level.as.SUBTREE,.and. |
| 52980 | 74 68 6f 73 65 20 77 68 69 63 68 20 68 61 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | those.which.have................ |
| 529a0 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 65 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d | ..........;;.the.EXPORT_FILE_NAM |
| 529c0 | 45 20 70 72 6f 70 65 72 74 79 20 64 65 66 69 6e 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | E.property.defined.............. |
| 529e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 2b 4c 45 56 45 4c 3d 22 20 28 | .............(concat."+LEVEL=".( |
| 52a00 | 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 6c 65 76 65 6c 29 0a 20 20 20 20 20 20 20 20 | number-to-string.level)......... |
| 52a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2b 45 58 50 4f 52 | ........................."+EXPOR |
| 52a40 | 54 5f 46 49 4c 45 5f 4e 41 4d 45 3c 3e 5c 22 5c 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | T_FILE_NAME<>\"\"")............. |
| 52a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 73 63 6f 70 65 29 0a 20 20 20 20 20 20 20 20 28 63 6f 6e | .............scope).........(con |
| 52a80 | 73 20 6c 65 76 65 6c 20 69 6e 64 65 78 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 | s.level.index)))))..(defun.org-h |
| 52aa0 | 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 20 28 66 2d 6f 72 2d 62 2d 6e | ugo--export-file-to-md.(f-or-b-n |
| 52ac0 | 61 6d 65 20 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 | ame.&optional.async.visible-only |
| 52ae0 | 20 6e 6f 65 72 72 6f 72 29 0a 20 20 22 45 78 70 6f 72 74 20 74 68 65 20 4f 72 67 20 66 69 6c 65 | .noerror)..."Export.the.Org.file |
| 52b00 | 20 61 73 20 61 20 77 68 6f 6c 65 2e 0a 0a 4e 6f 74 65 3a 20 54 68 69 73 20 69 73 20 61 6e 20 69 | .as.a.whole...Note:.This.is.an.i |
| 52b20 | 6e 74 65 72 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 2c 20 75 73 65 0a 60 6f 72 67 2d 68 75 67 6f 2d | nternal.function,.use.`org-hugo- |
| 52b40 | 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 20 69 6e 73 74 65 61 64 2e 0a 0a 46 2d 4f 52 | export-wim-to-md'.instead...F-OR |
| 52b60 | 2d 42 2d 4e 41 4d 45 20 69 73 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 66 69 6c 65 20 | -B-NAME.is.the.name.of.the.file. |
| 52b80 | 6f 72 20 62 75 66 66 65 72 20 28 69 66 20 6e 6f 74 20 61 20 66 69 6c 65 0a 62 75 66 66 65 72 29 | or.buffer.(if.not.a.file.buffer) |
| 52ba0 | 20 74 6f 20 62 65 20 65 78 70 6f 72 74 65 64 2e 0a 0a 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 | .to.be.exported...A.non-nil.opti |
| 52bc0 | 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 6d 65 61 6e 73 20 74 68 65 20 70 72 | onal.argument.ASYNC.means.the.pr |
| 52be0 | 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 73 | ocess.should.happen.asynchronous |
| 52c00 | 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 66 69 6c 65 20 73 68 6f 75 6c 64 20 62 | ly...The.resulting.file.should.b |
| 52c20 | 65 20 61 63 63 65 73 73 69 62 6c 65 20 74 68 72 6f 75 67 68 20 74 68 65 0a 60 6f 72 67 2d 65 78 | e.accessible.through.the.`org-ex |
| 52c40 | 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 65 2e 0a 0a 57 68 65 6e 20 6f 70 74 | port-stack'.interface...When.opt |
| 52c60 | 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 4c 45 2d 4f 4e 4c 59 20 69 73 20 6e | ional.argument.VISIBLE-ONLY.is.n |
| 52c80 | 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 0a 63 6f 6e 74 65 6e 74 73 20 6f 66 | on-nil,.don't.export.contents.of |
| 52ca0 | 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 52 65 74 75 72 6e 20 74 68 65 20 65 78 | .hidden.elements...Return.the.ex |
| 52cc0 | 70 6f 72 74 65 64 20 66 69 6c 65 20 6e 61 6d 65 20 69 66 20 74 68 65 20 66 69 6c 65 20 68 61 73 | ported.file.name.if.the.file.has |
| 52ce0 | 20 74 68 65 20 23 2b 74 69 74 6c 65 0a 6b 65 79 77 6f 72 64 2e 0a 0a 45 6c 73 65 20 72 65 74 75 | .the.#+title.keyword...Else.retu |
| 52d00 | 72 6e 20 6e 69 6c 20 61 6e 64 20 74 68 72 6f 77 20 61 20 75 73 65 72 20 65 72 72 6f 72 2e 20 20 | rn.nil.and.throw.a.user.error... |
| 52d20 | 49 66 20 4e 4f 45 52 52 4f 52 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 0a 75 73 65 20 60 6d 65 73 73 | If.NOERROR.is.non-nil,.use.`mess |
| 52d40 | 61 67 65 27 20 74 6f 20 64 69 73 70 6c 61 79 20 74 68 65 20 65 72 72 6f 72 20 6d 65 73 73 61 67 | age'.to.display.the.error.messag |
| 52d60 | 65 20 69 6e 73 74 65 61 64 20 6f 66 20 73 69 67 6e 61 6c 69 6e 67 20 61 0a 75 73 65 72 20 65 72 | e.instead.of.signaling.a.user.er |
| 52d80 | 72 6f 72 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 69 6e 66 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e | ror."...(let*.((info.(org-combin |
| 52da0 | 65 2d 70 6c 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 | e-plists.................(org-ex |
| 52dc0 | 70 6f 72 74 2d 2d 67 65 74 2d 65 78 70 6f 72 74 2d 61 74 74 72 69 62 75 74 65 73 0a 20 20 20 20 | port--get-export-attributes..... |
| 52de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 27 68 75 67 6f 20 6e 69 6c 20 76 69 73 69 62 6c 65 2d 6f | .............'hugo.nil.visible-o |
| 52e00 | 6e 6c 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 | nly).................(org-export |
| 52e20 | 2d 2d 67 65 74 2d 62 75 66 66 65 72 2d 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 | --get-buffer-attributes)........ |
| 52e40 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e | .........(org-export-get-environ |
| 52e60 | 6d 65 6e 74 20 27 68 75 67 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 20 28 63 | ment.'hugo)))..........(title.(c |
| 52e80 | 61 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 74 69 74 6c 65 29 29 29 0a 20 20 20 | ar.(plist-get.info.:title))).... |
| 52ea0 | 20 20 20 20 20 20 72 65 74 29 0a 20 20 20 20 28 69 66 20 74 69 74 6c 65 0a 20 20 20 20 20 20 20 | ......ret).....(if.title........ |
| 52ec0 | 20 28 6c 65 74 2a 20 28 28 61 6c 6c 2d 74 61 67 73 2d 31 20 28 70 6c 69 73 74 2d 67 65 74 20 69 | .(let*.((all-tags-1.(plist-get.i |
| 52ee0 | 6e 66 6f 20 3a 68 75 67 6f 2d 74 61 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nfo.:hugo-tags))................ |
| 52f00 | 28 61 6c 6c 2d 74 61 67 73 20 28 77 68 65 6e 20 61 6c 6c 2d 74 61 67 73 2d 31 0a 20 20 20 20 20 | (all-tags.(when.all-tags-1...... |
| 52f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 70 6c 69 74 2d 73 74 72 | ......................(split-str |
| 52f40 | 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing............................. |
| 52f60 | 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 22 22 20 22 | (replace-regexp-in-string."\""." |
| 52f80 | 22 20 61 6c 6c 2d 74 61 67 73 2d 31 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".all-tags-1))))................ |
| 52fa0 | 28 65 78 63 6c 75 64 65 2d 74 61 67 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 65 | (exclude-tags.(plist-get.info.:e |
| 52fc0 | 78 63 6c 75 64 65 2d 74 61 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 2d | xclude-tags))................is- |
| 52fe0 | 65 78 63 6c 75 64 65 64 20 6d 61 74 63 68 65 64 2d 65 78 63 6c 75 64 65 2d 74 61 67 29 0a 20 20 | excluded.matched-exclude-tag)... |
| 53000 | 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 61 6c 6c 2d 74 61 67 73 0a 20 20 20 20 20 20 20 20 20 | ........(when.all-tags.......... |
| 53020 | 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 | ...;;.(message."[org-hugo--expor |
| 53040 | 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 20 44 42 47 5d 20 65 78 63 6c 75 64 65 2d 74 61 67 73 20 3d | t-file-to-md.DBG].exclude-tags.= |
| 53060 | 20 25 73 22 20 65 78 63 6c 75 64 65 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 | .%s".exclude-tags).............( |
| 53080 | 64 6f 6c 69 73 74 20 28 65 78 63 6c 75 64 65 2d 74 61 67 20 65 78 63 6c 75 64 65 2d 74 61 67 73 | dolist.(exclude-tag.exclude-tags |
| 530a0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 65 78 | )...............(when.(member.ex |
| 530c0 | 63 6c 75 64 65 2d 74 61 67 20 61 6c 6c 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | clude-tag.all-tags)............. |
| 530e0 | 20 20 20 20 28 73 65 74 71 20 6d 61 74 63 68 65 64 2d 65 78 63 6c 75 64 65 2d 74 61 67 20 65 78 | ....(setq.matched-exclude-tag.ex |
| 53100 | 63 6c 75 64 65 2d 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 | clude-tag).................(setq |
| 53120 | 20 69 73 2d 65 78 63 6c 75 64 65 64 20 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f | .is-excluded.t))))...........(co |
| 53140 | 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 28 69 73 2d 65 78 63 6c 75 64 65 64 0a 20 20 20 20 20 | nd............(is-excluded...... |
| 53160 | 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 25 73 20 77 61 | .......(message."[ox-hugo].%s.wa |
| 53180 | 73 20 6e 6f 74 20 65 78 70 6f 72 74 65 64 20 61 73 20 69 74 20 69 73 20 74 61 67 67 65 64 20 77 | s.not.exported.as.it.is.tagged.w |
| 531a0 | 69 74 68 20 61 6e 20 65 78 63 6c 75 64 65 20 74 61 67 20 60 25 73 27 22 0a 20 20 20 20 20 20 20 | ith.an.exclude.tag.`%s'"........ |
| 531c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 6d 61 74 63 68 65 | ..............f-or-b-name.matche |
| 531e0 | 64 2d 65 78 63 6c 75 64 65 2d 74 61 67 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 | d-exclude-tag)).............(t.. |
| 53200 | 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 45 | ...........(message."[ox-hugo].E |
| 53220 | 78 70 6f 72 74 69 6e 67 20 60 25 73 27 20 28 25 73 29 22 20 74 69 74 6c 65 20 66 2d 6f 72 2d 62 | xporting.`%s'.(%s)".title.f-or-b |
| 53240 | 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 | -name).............(setq.ret.(or |
| 53260 | 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 20 61 73 79 6e 63 20 6e 69 6c 20 76 69 | g-hugo-export-to-md.async.nil.vi |
| 53280 | 73 69 62 6c 65 2d 6f 6e 6c 79 29 29 29 29 29 0a 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 73 | sible-only)))))........(let.((ms |
| 532a0 | 67 20 22 54 68 65 20 65 6e 74 69 72 65 20 66 69 6c 65 20 69 73 20 61 74 74 65 6d 70 74 65 64 20 | g."The.entire.file.is.attempted. |
| 532c0 | 74 6f 20 62 65 20 65 78 70 6f 72 74 65 64 2c 20 62 75 74 20 69 74 20 69 73 20 6d 69 73 73 69 6e | to.be.exported,.but.it.is.missin |
| 532e0 | 67 20 74 68 65 20 23 2b 74 69 74 6c 65 20 6b 65 79 77 6f 72 64 22 29 0a 20 20 20 20 20 20 20 20 | g.the.#+title.keyword")......... |
| 53300 | 20 20 20 20 28 65 72 72 6f 72 2d 66 6e 20 28 69 66 20 6e 6f 65 72 72 6f 72 0a 20 20 20 20 20 20 | ....(error-fn.(if.noerror....... |
| 53320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 23 27 6d 65 73 73 61 67 65 0a 20 20 | ....................#'message... |
| 53340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 23 27 75 73 65 72 2d 65 72 72 | ......................#'user-err |
| 53360 | 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 28 61 70 70 6c 79 20 65 72 72 6f 72 2d 66 6e 0a 20 20 | or))).........(apply.error-fn... |
| 53380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 73 74 20 28 66 6f 72 6d 61 74 20 22 5b 6f 78 2d | .............(list.(format."[ox- |
| 533a0 | 68 75 67 6f 5d 20 25 73 3a 20 25 73 22 20 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 6d 73 67 29 29 29 | hugo].%s:.%s".f-or-b-name.msg))) |
| 533c0 | 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 65 | )).....ret))..(defun.org-hugo--e |
| 533e0 | 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 | xport-subtree-to-md.(&optional.a |
| 53400 | 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 0a | sync.visible-only.all-subtrees). |
| 53420 | 20 20 22 45 78 70 6f 72 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 20 74 6f | .."Export.the.current.subtree.to |
| 53440 | 20 61 20 48 75 67 6f 20 70 6f 73 74 2e 0a 0a 4e 6f 74 65 3a 20 54 68 69 73 20 69 73 20 61 6e 20 | .a.Hugo.post...Note:.This.is.an. |
| 53460 | 69 6e 74 65 72 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 2c 20 75 73 65 0a 60 6f 72 67 2d 68 75 67 6f | internal.function,.use.`org-hugo |
| 53480 | 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 20 69 6e 73 74 65 61 64 2e 0a 0a 41 20 6e | -export-wim-to-md'.instead...A.n |
| 534a0 | 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 6d | on-nil.optional.argument.ASYNC.m |
| 534c0 | 65 61 6e 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a 61 | eans.the.process.should.happen.a |
| 534e0 | 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 66 69 | synchronously...The.resulting.fi |
| 53500 | 6c 65 20 73 68 6f 75 6c 64 20 62 65 20 61 63 63 65 73 73 69 62 6c 65 20 74 68 72 6f 75 67 68 20 | le.should.be.accessible.through. |
| 53520 | 74 68 65 0a 60 6f 72 67 2d 65 78 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 65 | the.`org-export-stack'.interface |
| 53540 | 2e 0a 0a 57 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 4c | ...When.optional.argument.VISIBL |
| 53560 | 45 2d 4f 4e 4c 59 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 0a | E-ONLY.is.non-nil,.don't.export. |
| 53580 | 63 6f 6e 74 65 6e 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 57 68 | contents.of.hidden.elements...Wh |
| 535a0 | 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 4c 4c 2d 53 55 42 54 52 45 45 | en.optional.argument.ALL-SUBTREE |
| 535c0 | 53 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 70 72 69 6e 74 20 74 68 65 0a 73 75 62 74 72 65 65 2d | S.is.non-nil,.print.the.subtree- |
| 535e0 | 6e 75 6d 62 65 72 20 62 65 69 6e 67 20 65 78 70 6f 72 74 65 64 2e 0a 0a 2d 20 49 66 20 70 6f 69 | number.being.exported...-.If.poi |
| 53600 | 6e 74 20 69 73 20 75 6e 64 65 72 20 61 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 | nt.is.under.a.valid.Hugo.post.su |
| 53620 | 62 74 72 65 65 2c 20 65 78 70 6f 72 74 20 69 74 2c 20 61 6e 64 0a 20 20 61 6c 73 6f 20 72 65 74 | btree,.export.it,.and...also.ret |
| 53640 | 75 72 6e 20 74 68 65 20 65 78 70 6f 72 74 65 64 20 66 69 6c 65 20 6e 61 6d 65 2e 0a 0a 2d 20 49 | urn.the.exported.file.name...-.I |
| 53660 | 66 20 70 6f 69 6e 74 20 69 73 20 6e 6f 74 20 75 6e 64 65 72 20 61 20 76 61 6c 69 64 20 48 75 67 | f.point.is.not.under.a.valid.Hug |
| 53680 | 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 2c 20 62 75 74 20 6f 6e 65 20 65 78 69 73 74 73 0a 20 | o.post.subtree,.but.one.exists.. |
| 536a0 | 20 65 6c 73 65 77 68 65 72 65 20 69 6e 20 74 68 65 20 4f 72 67 20 66 69 6c 65 2c 20 64 6f 20 6e | .elsewhere.in.the.Org.file,.do.n |
| 536c0 | 6f 74 20 65 78 70 6f 72 74 20 61 6e 79 74 68 69 6e 67 2c 20 62 75 74 20 73 74 69 6c 6c 0a 20 20 | ot.export.anything,.but.still... |
| 536e0 | 72 65 74 75 72 6e 20 74 2e 0a 0a 2d 20 45 6c 73 65 2c 20 72 65 74 75 72 6e 20 6e 69 6c 2e 22 0a | return.t...-.Else,.return.nil.". |
| 53700 | 20 20 28 6c 65 74 20 28 28 73 75 62 74 72 65 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d | ..(let.((subtree.(org-hugo--get- |
| 53720 | 76 61 6c 69 64 2d 73 75 62 74 72 65 65 29 29 29 0a 20 20 20 20 28 69 66 20 73 75 62 74 72 65 65 | valid-subtree))).....(if.subtree |
| 53740 | 0a 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 73 75 62 74 72 65 65 20 69 73 20 61 20 76 61 6c 69 | .........;;.If.subtree.is.a.vali |
| 53760 | 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 2c 20 70 72 6f 63 65 65 64 20 2e 2e 0a | d.Hugo.post.subtree,.proceed.... |
| 53780 | 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 69 6e 66 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e | ........(let*.((info.(org-combin |
| 537a0 | 65 2d 70 6c 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | e-plists.......................( |
| 537c0 | 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 65 78 70 6f 72 74 2d 61 74 74 72 69 62 75 74 65 | org-export--get-export-attribute |
| 537e0 | 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 68 75 67 6f 20 73 | s........................'hugo.s |
| 53800 | 75 62 74 72 65 65 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ubtree.visible-only)............ |
| 53820 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 62 75 66 66 | ...........(org-export--get-buff |
| 53840 | 65 72 2d 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er-attributes).................. |
| 53860 | 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 | .....(org-export-get-environment |
| 53880 | 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .'hugo.subtree)))............... |
| 538a0 | 20 28 65 78 63 6c 75 64 65 2d 74 61 67 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a | .(exclude-tags.(plist-get.info.: |
| 538c0 | 65 78 63 6c 75 64 65 2d 74 61 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 | exclude-tags))................(i |
| 538e0 | 73 2d 63 6f 6d 6d 65 6e 74 65 64 20 28 63 64 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d | s-commented.(cdr.(org-hugo--get- |
| 53900 | 65 6c 65 6d 2d 77 69 74 68 2d 70 72 6f 70 20 3a 63 6f 6d 6d 65 6e 74 65 64 70 29 29 29 0a 20 20 | elem-with-prop.:commentedp)))... |
| 53920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6d 6d 65 6e 74 65 64 2d 68 65 61 64 69 6e 67 20 | .............(commented-heading. |
| 53940 | 28 77 68 65 6e 20 69 73 2d 63 6f 6d 6d 65 6e 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | (when.is-commented.............. |
| 53960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d | .......................(org-elem |
| 53980 | 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ent-property.:title............. |
| 539a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 20 28 | ..........................(car.( |
| 539c0 | 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 65 6c 65 6d 2d 77 69 74 68 2d 70 72 6f 70 20 3a 63 6f | org-hugo--get-elem-with-prop.:co |
| 539e0 | 6d 6d 65 6e 74 65 64 70 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 2d | mmentedp)))))................is- |
| 53a00 | 65 78 63 6c 75 64 65 64 20 6d 61 74 63 68 65 64 2d 65 78 63 6c 75 64 65 2d 74 61 67 20 72 65 74 | excluded.matched-exclude-tag.ret |
| 53a20 | 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 | )...........;;.(message."[org-hu |
| 53a40 | 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 20 44 42 47 5d 20 65 78 | go--export-subtree-to-md.DBG].ex |
| 53a60 | 63 6c 75 64 65 2d 74 61 67 73 20 3d 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 25 73 22 20 65 78 | clude-tags.=...........;;.%s".ex |
| 53a80 | 63 6c 75 64 65 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 61 6c 6c | clude-tags)...........(let.((all |
| 53aa0 | 2d 74 61 67 73 20 28 6c 65 74 20 28 28 6f 72 67 2d 75 73 65 2d 74 61 67 2d 69 6e 68 65 72 69 74 | -tags.(let.((org-use-tag-inherit |
| 53ac0 | 61 6e 63 65 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ance.t))........................ |
| 53ae0 | 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 74 61 67 73 29 29 29 29 0a 20 20 20 | .....(org-hugo--get-tags)))).... |
| 53b00 | 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 61 6c 6c 2d 74 61 67 73 0a 20 20 20 20 20 20 20 20 | .........(when.all-tags......... |
| 53b20 | 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 65 78 63 6c 75 64 65 2d 74 61 67 20 65 78 63 6c 75 | ......(dolist.(exclude-tag.exclu |
| 53b40 | 64 65 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 | de-tags).................(when.( |
| 53b60 | 6d 65 6d 62 65 72 20 65 78 63 6c 75 64 65 2d 74 61 67 20 61 6c 6c 2d 74 61 67 73 29 0a 20 20 20 | member.exclude-tag.all-tags).... |
| 53b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 61 74 63 68 65 64 2d 65 78 63 | ...............(setq.matched-exc |
| 53ba0 | 6c 75 64 65 2d 74 61 67 20 65 78 63 6c 75 64 65 2d 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 | lude-tag.exclude-tag)........... |
| 53bc0 | 20 20 20 20 20 20 20 20 28 73 65 74 71 20 69 73 2d 65 78 63 6c 75 64 65 64 20 74 29 29 29 29 29 | ........(setq.is-excluded.t))))) |
| 53be0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 63 75 72 72 65 6e | ............;;.(message."[curren |
| 53c00 | 74 20 73 75 62 74 72 65 65 20 44 42 47 5d 20 73 75 62 74 72 65 65 3a 20 25 53 22 20 73 75 62 74 | t.subtree.DBG].subtree:.%S".subt |
| 53c20 | 72 65 65 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 63 75 72 | ree)...........;;.(message."[cur |
| 53c40 | 72 65 6e 74 20 73 75 62 74 72 65 65 20 44 42 47 5d 20 69 73 2d 63 6f 6d 6d 65 6e 74 65 64 3a 25 | rent.subtree.DBG].is-commented:% |
| 53c60 | 53 2c 20 74 61 67 73 3a 25 53 2c 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 73 2d 65 78 63 6c | S,.tags:%S,...........;;.is-excl |
| 53c80 | 75 64 65 64 3a 25 53 22 20 69 73 2d 63 6f 6d 6d 65 6e 74 65 64 20 74 61 67 73 20 69 73 2d 65 78 | uded:%S".is-commented.tags.is-ex |
| 53ca0 | 63 6c 75 64 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 69 74 6c 65 20 28 | cluded)...........(let.((title.( |
| 53cc0 | 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 69 74 6c 65 20 73 75 62 74 | org-element-property.:title.subt |
| 53ce0 | 72 65 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 46 49 58 4d 45 3a 20 | ree)).................;;.FIXME:. |
| 53d00 | 53 6f 6d 65 74 69 6d 65 73 20 60 6f 72 67 2d 67 65 74 2d 6f 75 74 6c 69 6e 65 2d 70 61 74 68 27 | Sometimes.`org-get-outline-path' |
| 53d20 | 20 72 65 74 75 72 6e 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | .returns.the.................;;. |
| 53d40 | 6c 69 73 74 20 77 69 74 68 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 65 6c 65 6d 65 6e 74 73 2e | list.with.empty.string.elements. |
| 53d60 | 20 49 74 27 73 20 6e 6f 74 20 63 6c 65 61 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .It's.not.clear................. |
| 53d80 | 3b 3b 20 77 68 79 2c 20 62 75 74 20 74 68 65 20 62 65 6c 6f 77 20 60 63 6c 2d 64 65 6c 65 74 65 | ;;.why,.but.the.below.`cl-delete |
| 53da0 | 2d 69 66 27 20 77 6f 72 6b 61 72 6f 75 6e 64 73 20 77 6f 72 6b 73 0a 20 20 20 20 20 20 20 20 20 | -if'.workarounds.works.......... |
| 53dc0 | 20 20 20 20 20 20 20 3b 3b 20 28 66 6f 72 20 6e 6f 77 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | .......;;.(for.now)............. |
| 53de0 | 20 20 20 20 20 28 63 75 72 72 65 6e 74 2d 6f 75 74 6c 69 6e 65 2d 70 61 74 68 20 28 63 6c 2d 64 | .....(current-outline-path.(cl-d |
| 53e00 | 65 6c 65 74 65 2d 69 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | elete-if........................ |
| 53e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 65 6c 29 0a 20 20 20 | ................(lambda.(el).... |
| 53e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 53e60 | 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 65 6c 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 | ......(string=.el."")).......... |
| 53e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | ..............................(o |
| 53ea0 | 72 67 2d 67 65 74 2d 6f 75 74 6c 69 6e 65 2d 70 61 74 68 20 3a 77 69 74 68 2d 73 65 6c 66 29 29 | rg-get-outline-path.:with-self)) |
| 53ec0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 57 68 65 6e 20 62 61 74 63 68 2d | ).................;;.When.batch- |
| 53ee0 | 65 78 70 6f 72 74 69 6e 67 20 73 75 62 74 72 65 65 73 2c 20 64 6f 20 6e 6f 74 20 63 61 6c 6c 0a | exporting.subtrees,.do.not.call. |
| 53f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 | ................;;.`org-hugo--af |
| 53f20 | 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 27 20 61 66 74 65 72 20 | ter-all-exports-function'.after. |
| 53f40 | 65 61 63 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 62 74 72 65 65 20 | each.................;;.subtree. |
| 53f60 | 65 78 70 6f 72 74 2e 20 20 49 6e 20 74 68 61 74 20 63 61 73 65 2c 20 74 68 61 74 20 66 75 6e 63 | export...In.that.case,.that.func |
| 53f80 | 74 69 6f 6e 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 61 6c 6c 65 | tion.is.................;;.calle |
| 53fa0 | 64 20 2a 61 66 74 65 72 2a 20 6c 6f 6f 70 69 6e 67 20 74 68 72 6f 75 67 68 20 61 6c 6c 20 74 68 | d.*after*.looping.through.all.th |
| 53fc0 | 65 20 70 6f 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 62 74 72 65 | e.post.................;;.subtre |
| 53fe0 | 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 | es..................(org-hugo--d |
| 54000 | 69 73 61 62 6c 65 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 68 6f 6f 6b 20 61 6c | isable-after-all-exports-hook.al |
| 54020 | 6c 2d 73 75 62 74 72 65 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 | l-subtrees)).............;;.(mes |
| 54040 | 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d | sage."[org-hugo--export-subtree- |
| 54060 | 74 6f 2d 6d 64 20 64 62 67 5d 20 40 20 70 6f 69 6e 74 20 25 53 2c 20 63 75 72 72 65 6e 74 2d 6f | to-md.dbg].@.point.%S,.current-o |
| 54080 | 75 74 6c 69 6e 65 2d 70 61 74 68 3a 20 25 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | utline-path:.%S".............;;. |
| 540a0 | 20 20 20 20 20 20 20 20 20 28 70 6f 69 6e 74 29 20 63 75 72 72 65 6e 74 2d 6f 75 74 6c 69 6e 65 | .........(point).current-outline |
| 540c0 | 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 | -path).............(cond........ |
| 540e0 | 20 20 20 20 20 20 28 69 73 2d 63 6f 6d 6d 65 6e 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ......(is-commented............. |
| 54100 | 20 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 74 69 74 6c 65 20 63 6f 6d 6d 65 6e 74 65 64 2d 68 | ..(if.(string=.title.commented-h |
| 54120 | 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 | eading)...................(messa |
| 54140 | 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 60 25 73 27 20 77 61 73 20 6e 6f 74 20 65 78 70 6f 72 | ge."[ox-hugo].`%s'.was.not.expor |
| 54160 | 74 65 64 20 61 73 20 69 74 20 69 73 20 63 6f 6d 6d 65 6e 74 65 64 20 6f 75 74 22 20 74 69 74 6c | ted.as.it.is.commented.out".titl |
| 54180 | 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 | e).................(message."[ox |
| 541a0 | 2d 68 75 67 6f 5d 20 60 25 73 27 20 77 61 73 20 6e 6f 74 20 65 78 70 6f 72 74 65 64 20 61 73 20 | -hugo].`%s'.was.not.exported.as. |
| 541c0 | 6f 6e 65 20 6f 66 20 69 74 73 20 70 61 72 65 6e 74 20 73 75 62 74 72 65 65 73 20 60 25 73 27 20 | one.of.its.parent.subtrees.`%s'. |
| 541e0 | 69 73 20 63 6f 6d 6d 65 6e 74 65 64 20 6f 75 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | is.commented.out"............... |
| 54200 | 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 20 63 6f 6d 6d 65 6e 74 65 64 2d 68 65 61 64 69 | ...........title.commented-headi |
| 54220 | 6e 67 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 73 2d 65 78 63 6c 75 64 65 64 0a | ng)))..............(is-excluded. |
| 54240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f | ..............(message."[ox-hugo |
| 54260 | 5d 20 60 25 73 27 20 77 61 73 20 6e 6f 74 20 65 78 70 6f 72 74 65 64 20 61 73 20 69 74 20 69 73 | ].`%s'.was.not.exported.as.it.is |
| 54280 | 20 74 61 67 67 65 64 20 77 69 74 68 20 61 6e 20 65 78 63 6c 75 64 65 20 74 61 67 20 60 25 73 27 | .tagged.with.an.exclude.tag.`%s' |
| 542a0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 20 6d | "........................title.m |
| 542c0 | 61 74 63 68 65 64 2d 65 78 63 6c 75 64 65 2d 74 61 67 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | atched-exclude-tag))............ |
| 542e0 | 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 61 6c 6c 2d 73 75 62 74 72 | ..(t...............(if.all-subtr |
| 54300 | 65 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 | ees...................(progn.... |
| 54320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d | .................(setq.org-hugo- |
| 54340 | 2d 73 75 62 74 72 65 65 2d 63 6f 75 6e 74 20 28 31 2b 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 | -subtree-count.(1+.org-hugo--sub |
| 54360 | 74 72 65 65 2d 63 6f 75 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tree-count)).................... |
| 54380 | 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 25 64 2f 20 45 78 70 6f 72 74 69 | .(message."[ox-hugo].%d/.Exporti |
| 543a0 | 6e 67 20 60 25 73 27 20 2e 2e 22 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f | ng.`%s'...".org-hugo--subtree-co |
| 543c0 | 75 6e 74 20 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 | unt.title)).................(mes |
| 543e0 | 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 45 78 70 6f 72 74 69 6e 67 20 60 25 73 27 20 2e | sage."[ox-hugo].Exporting.`%s'.. |
| 54400 | 2e 22 20 74 69 74 6c 65 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 | .".title))................;;.(me |
| 54420 | 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 | ssage."[org-hugo--export-subtree |
| 54440 | 2d 74 6f 2d 6d 64 20 64 62 67 5d 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f 4d 45 4e 55 20 76 61 6c | -to-md.dbg].EXPORT_HUGO_MENU.val |
| 54460 | 75 65 3a 20 25 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 | ue:.%S"...............;;........ |
| 54480 | 20 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 | ..(org-entry-get.nil."EXPORT_HUG |
| 544a0 | 4f 5f 4d 45 4e 55 22 20 3a 69 6e 68 65 72 69 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | O_MENU".:inherit)).............. |
| 544c0 | 20 3b 3b 20 47 65 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 20 63 6f 6f 72 | .;;.Get.the.current.subtree.coor |
| 544e0 | 64 69 6e 61 74 65 73 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 75 74 | dinates.for...............;;.aut |
| 54500 | 6f 2d 63 61 6c 63 75 6c 61 74 69 6f 6e 20 6f 66 20 6d 65 6e 75 20 69 74 65 6d 20 77 65 69 67 68 | o-calculation.of.menu.item.weigh |
| 54520 | 74 2c 20 70 61 67 65 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 61 78 6f | t,.page.or...............;;.taxo |
| 54540 | 6e 6f 6d 79 20 77 65 69 67 68 74 73 20 2e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 | nomy.weights..................(w |
| 54560 | 68 65 6e 20 28 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 | hen.(or......................;;. |
| 54580 | 2e 2e 20 69 66 20 74 68 65 20 6d 65 6e 75 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 73 20 73 | ...if.the.menu.front-matter.is.s |
| 545a0 | 70 65 63 69 66 69 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | pecified.......................( |
| 545c0 | 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6e | or.......................(org-en |
| 545e0 | 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 4f 5f 4d 45 4e 55 22 20 3a | try-get.nil."EXPORT_HUGO_MENU".: |
| 54600 | 69 6e 68 65 72 69 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | inherit).......................( |
| 54620 | 73 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | save-excursion.................. |
| 54640 | 20 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 29 0a 20 | .......(goto-char.(point-min)).. |
| 54660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 61 | .......................(let.((ca |
| 54680 | 73 65 2d 66 6f 6c 64 2d 73 65 61 72 63 68 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | se-fold-search.t)).............. |
| 546a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 20 | .............(re-search-forward. |
| 546c0 | 22 5e 23 5c 5c 2b 68 75 67 6f 5f 6d 65 6e 75 3a 2e 2a 3a 6d 65 6e 75 22 20 6e 69 6c 20 3a 6e 6f | "^#\\+hugo_menu:.*:menu".nil.:no |
| 546e0 | 65 72 72 6f 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b | error))))......................; |
| 54700 | 3b 20 2e 2e 20 6f 72 20 69 66 20 61 75 74 6f 2d 63 61 6c 63 75 6c 61 74 69 6f 6e 20 69 73 20 6e | ;....or.if.auto-calculation.is.n |
| 54720 | 65 65 64 65 64 20 66 6f 72 20 70 61 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eeded.for.page.................. |
| 54740 | 20 20 20 20 3b 3b 20 6f 72 20 74 61 78 6f 6e 6f 6d 79 20 77 65 69 67 68 74 73 2e 0a 20 20 20 20 | ....;;.or.taxonomy.weights...... |
| 54760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 | .................(or............ |
| 54780 | 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 70 61 67 65 2d 6f 72 2d 74 61 78 6f 6e 6f | ...........(let.((page-or-taxono |
| 547a0 | 6d 79 2d 77 65 69 67 68 74 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 45 58 | my-weight.(org-entry-get.nil."EX |
| 547c0 | 50 4f 52 54 5f 48 55 47 4f 5f 57 45 49 47 48 54 22 20 3a 69 6e 68 65 72 69 74 29 29 29 0a 20 20 | PORT_HUGO_WEIGHT".:inherit)))... |
| 547e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 73 74 72 69 | ......................(and.(stri |
| 54800 | 6e 67 70 20 70 61 67 65 2d 6f 72 2d 74 61 78 6f 6e 6f 6d 79 2d 77 65 69 67 68 74 29 0a 20 20 20 | ngp.page-or-taxonomy-weight).... |
| 54820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e | ..........................(strin |
| 54840 | 67 2d 6d 61 74 63 68 2d 70 20 22 61 75 74 6f 22 20 70 61 67 65 2d 6f 72 2d 74 61 78 6f 6e 6f 6d | g-match-p."auto".page-or-taxonom |
| 54860 | 79 2d 77 65 69 67 68 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y-weight)))..................... |
| 54880 | 20 20 28 73 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..(save-excursion............... |
| 548a0 | 20 20 20 20 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 | ..........(goto-char.(point-min) |
| 548c0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 | ).........................(let.( |
| 548e0 | 28 63 61 73 65 2d 66 6f 6c 64 2d 73 65 61 72 63 68 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 | (case-fold-search.t))........... |
| 54900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 | ................(re-search-forwa |
| 54920 | 72 64 20 22 5e 23 5c 5c 2b 68 75 67 6f 5f 77 65 69 67 68 74 3a 2e 2a 61 75 74 6f 22 20 6e 69 6c | rd."^#\\+hugo_weight:.*auto".nil |
| 54940 | 20 3a 6e 6f 65 72 72 6f 72 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | .:noerror))))).................( |
| 54960 | 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 0a 20 20 20 | setq.org-hugo--subtree-coord.... |
| 54980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 | ...................(org-hugo--ge |
| 549a0 | 74 2d 70 6f 73 74 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 69 6e 61 74 65 73 20 73 75 62 74 72 | t-post-subtree-coordinates.subtr |
| 549c0 | 65 65 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 62 75 66 66 | ee)))................(let.((buff |
| 549e0 | 65 72 20 28 69 66 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 2d 62 75 66 66 | er.(if.org-hugo--preprocess-buff |
| 54a00 | 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er.............................. |
| 54a20 | 20 20 20 28 6c 65 74 20 28 28 70 72 65 2d 70 72 6f 63 2d 62 75 66 20 28 6f 72 20 6f 72 67 2d 68 | ...(let.((pre-proc-buf.(or.org-h |
| 54a40 | 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 | ugo--preprocessed-buffer........ |
| 54a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 54a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d | .................(org-hugo--get- |
| 54aa0 | 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 29 29 29 29 0a 20 20 20 20 20 20 20 | pre-processed-buffer))))........ |
| 54ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 | ...........................(unle |
| 54ae0 | 73 73 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 | ss.org-hugo--preprocessed-buffer |
| 54b00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 54b20 | 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 | .....(setq.org-hugo--preprocesse |
| 54b40 | 64 2d 62 75 66 66 65 72 20 70 72 65 2d 70 72 6f 63 2d 62 75 66 29 0a 20 20 20 20 20 20 20 20 20 | d-buffer.pre-proc-buf).......... |
| 54b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 64 64 2d | ...........................(add- |
| 54b80 | 74 6f 2d 6c 69 73 74 20 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 70 65 6e 65 64 2d 62 75 66 66 65 72 | to-list.'org-hugo--opened-buffer |
| 54ba0 | 73 20 70 72 65 2d 70 72 6f 63 2d 62 75 66 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.pre-proc-buf))................ |
| 54bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 2d 70 72 6f 63 2d 62 75 66 29 | ...................pre-proc-buf) |
| 54be0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 54c00 | 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | current-buffer)))).............. |
| 54c20 | 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 62 75 66 66 65 72 0a 20 | ...(with-current-buffer.buffer.. |
| 54c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 6f 72 67 | .................(goto-char.(org |
| 54c60 | 2d 66 69 6e 64 2d 6f 6c 70 20 63 75 72 72 65 6e 74 2d 6f 75 74 6c 69 6e 65 2d 70 61 74 68 20 3a | -find-olp.current-outline-path.: |
| 54c80 | 74 68 69 73 2d 62 75 66 66 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | this-buffer))................... |
| 54ca0 | 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 | (setq.ret.(org-hugo-export-to-md |
| 54cc0 | 20 61 73 79 6e 63 20 3a 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 29 29 | .async.:subtreep.visible-only))) |
| 54ce0 | 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 29 0a 0a 20 20 20 20 20 20 3b 3b 20 49 66 | ))))...........ret)........;;.If |
| 54d00 | 20 74 68 65 20 70 6f 69 6e 74 20 69 73 20 6e 6f 74 20 69 6e 20 61 20 76 61 6c 69 64 20 73 75 62 | .the.point.is.not.in.a.valid.sub |
| 54d20 | 74 72 65 65 2c 20 63 68 65 63 6b 20 69 66 20 74 68 65 72 65 27 73 20 61 0a 20 20 20 20 20 20 3b | tree,.check.if.there's.a.......; |
| 54d40 | 3b 20 76 61 6c 69 64 20 73 75 62 74 72 65 65 20 65 6c 73 65 77 68 65 72 65 20 69 6e 20 74 68 65 | ;.valid.subtree.elsewhere.in.the |
| 54d60 | 20 73 61 6d 65 20 4f 72 67 20 66 69 6c 65 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 76 61 6c | .same.Org.file........(let.((val |
| 54d80 | 69 64 2d 73 75 62 74 72 65 65 2d 66 6f 75 6e 64 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 66 66 | id-subtree-found.(org-hugo--buff |
| 54da0 | 65 72 2d 68 61 73 2d 76 61 6c 69 64 2d 70 6f 73 74 2d 73 75 62 74 72 65 65 2d 70 29 29 29 0a 20 | er-has-valid-post-subtree-p))).. |
| 54dc0 | 20 20 20 20 20 20 20 28 77 68 65 6e 20 76 61 6c 69 64 2d 73 75 62 74 72 65 65 2d 66 6f 75 6e 64 | .......(when.valid-subtree-found |
| 54de0 | 0a 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 50 6f 69 6e 74 20 69 73 20 6e 6f | ...........(message."Point.is.no |
| 54e00 | 74 20 69 6e 20 61 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 3b 20 | t.in.a.valid.Hugo.post.subtree;. |
| 54e20 | 6d 6f 76 65 20 74 6f 20 6f 6e 65 20 61 6e 64 20 74 72 79 20 61 67 61 69 6e 22 29 29 0a 20 20 20 | move.to.one.and.try.again")).... |
| 54e40 | 20 20 20 20 20 76 61 6c 69 64 2d 73 75 62 74 72 65 65 2d 66 6f 75 6e 64 29 29 29 29 0a 0a 28 64 | .....valid-subtree-found))))..(d |
| 54e60 | 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 72 65 2d 70 72 6f 63 65 73 73 65 64 | efun.org-hugo--get-pre-processed |
| 54e80 | 2d 62 75 66 66 65 72 20 28 29 0a 20 20 22 52 65 74 75 72 6e 20 61 20 70 72 65 2d 70 72 6f 63 65 | -buffer.()..."Return.a.pre-proce |
| 54ea0 | 73 73 65 64 20 63 6f 70 79 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 2e | ssed.copy.of.the.current.buffer. |
| 54ec0 | 0a 0a 49 6e 74 65 72 6e 61 6c 20 6c 69 6e 6b 73 20 74 6f 20 6f 74 68 65 72 20 73 75 62 74 72 65 | ..Internal.links.to.other.subtre |
| 54ee0 | 65 73 20 61 72 65 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 65 78 74 65 72 6e 61 6c 0a 6c 69 6e | es.are.converted.to.external.lin |
| 54f00 | 6b 73 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 | ks."...(let.((pre-processed-buff |
| 54f20 | 65 72 2d 70 72 65 66 69 78 20 22 2a 4f 78 2d 68 75 67 6f 20 50 72 65 2d 70 72 6f 63 65 73 73 65 | er-prefix."*Ox-hugo.Pre-processe |
| 54f40 | 64 20 22 29 29 0a 20 20 20 20 28 6c 65 74 2a 20 28 3b 3b 20 43 72 65 61 74 65 20 61 6e 20 61 62 | d.")).....(let*.(;;.Create.an.ab |
| 54f60 | 73 74 72 61 63 74 20 73 79 6e 74 61 78 20 74 72 65 65 20 28 41 53 54 29 20 6f 66 20 74 68 65 20 | stract.syntax.tree.(AST).of.the. |
| 54f80 | 4f 72 67 20 64 6f 63 75 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 20 74 68 | Org.document............;;.in.th |
| 54fa0 | 65 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 28 61 73 | e.current.buffer.............(as |
| 54fc0 | 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 61 72 73 65 2d 62 75 66 66 65 72 29 29 0a 20 20 | t.(org-element-parse-buffer))... |
| 54fe0 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 75 73 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 | .........(org-use-property-inher |
| 55000 | 69 74 61 6e 63 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 73 65 6c 65 63 74 69 76 65 2d 70 72 6f 70 | itance.(org-hugo--selective-prop |
| 55020 | 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 69 | erty-inheritance))............(i |
| 55040 | 6e 66 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e 65 2d 70 6c 69 73 74 73 0a 20 20 20 20 20 20 20 20 | nfo.(org-combine-plists......... |
| 55060 | 20 20 20 20 20 20 20 20 20 20 28 6c 69 73 74 20 3a 70 61 72 73 65 2d 74 72 65 65 20 61 73 74 29 | ..........(list.:parse-tree.ast) |
| 55080 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d | ...................(org-export-- |
| 550a0 | 67 65 74 2d 65 78 70 6f 72 74 2d 61 74 74 72 69 62 75 74 65 73 20 27 68 75 67 6f 29 0a 20 20 20 | get-export-attributes.'hugo).... |
| 550c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d | ...............(org-export--get- |
| 550e0 | 62 75 66 66 65 72 2d 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | buffer-attributes).............. |
| 55100 | 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 | .....(org-export-get-environment |
| 55120 | 20 27 68 75 67 6f 29 29 29 29 0a 0a 20 20 20 20 20 20 3b 3b 20 50 72 6f 63 65 73 73 20 61 6c 6c | .'hugo))))........;;.Process.all |
| 55140 | 20 6c 69 6e 6b 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 74 68 65 20 41 53 54 2e 0a 20 20 20 20 20 | .link.elements.in.the.AST....... |
| 55160 | 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 20 61 73 74 20 27 28 6c 69 6e 6b 20 73 70 65 | .(org-element-map.ast.'(link.spe |
| 55180 | 63 69 61 6c 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 65 6c 29 | cial-block).........(lambda.(el) |
| 551a0 | 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 65 6c 2d 74 79 70 65 20 28 6f 72 67 2d 65 | ...........(let.((el-type.(org-e |
| 551c0 | 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 | lement-type.el))).............(c |
| 551e0 | 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 27 6c 69 6e 6b 20 65 | ond..............((equal.'link.e |
| 55200 | 6c 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 79 70 | l-type)...............(let.((typ |
| 55220 | 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 65 6c | e.(org-element-property.:type.el |
| 55240 | 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 | ))).................(when.(membe |
| 55260 | 72 20 74 79 70 65 20 27 28 22 63 75 73 74 6f 6d 2d 69 64 22 20 22 69 64 22 20 22 66 75 7a 7a 79 | r.type.'("custom-id"."id"."fuzzy |
| 55280 | 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 61 | "))...................(let*.((ra |
| 552a0 | 77 2d 6c 69 6e 6b 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 72 61 | w-link.(org-element-property.:ra |
| 552c0 | 77 2d 6c 69 6e 6b 20 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | w-link.el))..................... |
| 552e0 | 20 20 20 20 20 28 64 65 73 74 69 6e 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....(destination............... |
| 55300 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 65 72 69 76 65 64 20 66 72 6f 6d 20 6f 78 2e 65 | ............;;.Derived.from.ox.e |
| 55320 | 6c 20 2d 3e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 27 2e 20 20 49 66 20 61 20 62 72 | l.->.`org-export-data'...If.a.br |
| 55340 | 6f 6b 65 6e 20 6c 69 6e 6b 20 69 73 20 73 65 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oken.link.is.seen............... |
| 55360 | 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6e 64 20 69 66 20 60 62 72 6f 6b 65 6e 2d 6c 69 | ............;;.and.if.`broken-li |
| 55380 | 6e 6b 73 27 20 6f 70 74 69 6f 6e 20 69 73 20 6e 6f 74 20 6e 69 6c 2c 20 69 67 6e 6f 72 65 20 74 | nks'.option.is.not.nil,.ignore.t |
| 553a0 | 68 65 20 65 72 72 6f 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | he.error........................ |
| 553c0 | 20 20 20 20 28 63 6f 6e 64 69 74 69 6f 6e 2d 63 61 73 65 20 65 72 72 0a 20 20 20 20 20 20 20 20 | ....(condition-case.err......... |
| 553e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e | ......................(if.(strin |
| 55400 | 67 3d 20 74 79 70 65 20 22 66 75 7a 7a 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g=.type."fuzzy")................ |
| 55420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 | ...................(org-export-r |
| 55440 | 65 73 6f 6c 76 65 2d 66 75 7a 7a 79 2d 6c 69 6e 6b 20 65 6c 20 69 6e 66 6f 29 0a 20 20 20 20 20 | esolve-fuzzy-link.el.info)...... |
| 55460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d | ...........................(org- |
| 55480 | 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 2d 69 64 2d 6c 69 6e 6b 20 65 6c 20 28 6f 72 67 2d 65 | export-resolve-id-link.el.(org-e |
| 554a0 | 78 70 6f 72 74 2d 2d 63 6f 6c 6c 65 63 74 2d 74 72 65 65 2d 70 72 6f 70 65 72 74 69 65 73 20 61 | xport--collect-tree-properties.a |
| 554c0 | 73 74 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st.info)))...................... |
| 554e0 | 20 20 20 20 20 20 20 28 6f 72 67 2d 6c 69 6e 6b 2d 62 72 6f 6b 65 6e 0a 20 20 20 20 20 20 20 20 | .......(org-link-broken......... |
| 55500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 | .....................(unless.(or |
| 55520 | 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 62 72 6f 6b 65 6e 2d 6c 69 | .(plist-get.info.:with-broken-li |
| 55540 | 6e 6b 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nks)............................ |
| 55560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 61 72 73 65 20 74 68 65 20 60 3a 45 58 50 | ..............;;.Parse.the.`:EXP |
| 55580 | 4f 52 54 5f 4f 50 54 49 4f 4e 53 27 20 70 72 6f 70 65 72 74 79 20 69 66 20 73 65 74 0a 20 20 20 | ORT_OPTIONS'.property.if.set.... |
| 555a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 555c0 | 20 20 20 20 20 20 3b 3b 20 69 6e 20 61 20 70 61 72 65 6e 74 20 68 65 61 64 69 6e 67 2e 0a 20 20 | ......;;.in.a.parent.heading.... |
| 555e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 55600 | 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......(plist-get............... |
| 55620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 | ............................(org |
| 55640 | 2d 65 78 70 6f 72 74 2d 2d 70 61 72 73 65 2d 6f 70 74 69 6f 6e 2d 6b 65 79 77 6f 72 64 0a 20 20 | -export--parse-option-keyword... |
| 55660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 55680 | 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 63 64 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 | .........(or.(cdr.(org-hugo--get |
| 556a0 | 2d 65 6c 65 6d 2d 77 69 74 68 2d 70 72 6f 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -elem-with-prop................. |
| 556c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 556e0 | 20 20 20 20 20 3a 45 58 50 4f 52 54 5f 4f 50 54 49 4f 4e 53 0a 20 20 20 20 20 20 20 20 20 20 20 | .....:EXPORT_OPTIONS............ |
| 55700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 55720 | 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 | ..........(org-element-property. |
| 55740 | 3a 62 65 67 69 6e 20 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :begin.el))).................... |
| 55760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 | ............................"")) |
| 55780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 557a0 | 20 20 20 20 20 20 20 20 20 20 20 3a 77 69 74 68 2d 62 72 6f 6b 65 6e 2d 6c 69 6e 6b 73 29 29 0a | ...........:with-broken-links)). |
| 557c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
| 557e0 | 75 73 65 72 2d 65 72 72 6f 72 20 22 55 6e 61 62 6c 65 20 74 6f 20 72 65 73 6f 6c 76 65 20 6c 69 | user-error."Unable.to.resolve.li |
| 55800 | 6e 6b 3a 20 25 53 22 20 28 6e 74 68 20 31 20 65 72 72 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 | nk:.%S".(nth.1.err))))))........ |
| 55820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 6f 75 72 63 65 2d 70 61 74 68 20 28 | ..................(source-path.( |
| 55840 | 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 65 6c 20 69 6e | org-hugo--heading-get-slug.el.in |
| 55860 | 66 6f 20 3a 69 6e 68 65 72 69 74 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 6e 61 6d 65 29 29 0a 20 | fo.:inherit-export-file-name)).. |
| 55880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 73 74 69 6e 61 | ........................(destina |
| 558a0 | 74 69 6f 6e 2d 70 61 74 68 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 67 65 74 | tion-path.(org-hugo--heading-get |
| 558c0 | 2d 73 6c 75 67 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 20 3a 69 6e 68 65 72 69 74 2d | -slug.destination.info.:inherit- |
| 558e0 | 65 78 70 6f 72 74 2d 66 69 6c 65 2d 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | export-file-name)).............. |
| 55900 | 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 79 70 65 20 28 6f | ............(destination-type.(o |
| 55920 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 29 29 0a 20 | rg-element-type.destination))).. |
| 55940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 | ...................;;.(message." |
| 55960 | 5b 6f 78 2d 68 75 67 6f 20 70 72 65 20 70 72 6f 63 65 73 73 20 44 42 47 5d 20 64 65 73 74 69 6e | [ox-hugo.pre.process.DBG].destin |
| 55980 | 61 74 69 6f 6e 2d 74 79 70 65 20 3a 20 25 73 22 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 79 70 | ation-type.:.%s".destination-typ |
| 559a0 | 65 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 68 61 6e 67 | e)......................;;.Chang |
| 559c0 | 65 20 74 68 65 20 6c 69 6e 6b 20 69 66 20 69 74 20 70 6f 69 6e 74 73 20 74 6f 20 61 20 76 61 6c | e.the.link.if.it.points.to.a.val |
| 559e0 | 69 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 73 74 69 6e | id.....................;;.destin |
| 55a00 | 61 74 69 6f 6e 20 6f 75 74 73 69 64 65 20 74 68 65 20 73 75 62 74 72 65 65 2e 0a 20 20 20 20 20 | ation.outside.the.subtree....... |
| 55a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 65 71 75 61 6c 20 73 6f | ...............(unless.(equal.so |
| 55a40 | 75 72 63 65 2d 70 61 74 68 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 70 61 74 68 29 0a 20 20 20 20 | urce-path.destination-path)..... |
| 55a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 69 6e 6b 2d 64 65 | ..................(let.((link-de |
| 55a80 | 73 63 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 65 6c 29 29 29 0a 20 | sc.(org-element-contents.el))).. |
| 55aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 | .......................;;.(messa |
| 55ac0 | 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 70 72 65 20 70 72 6f 63 65 73 73 20 44 42 47 5d 20 6c 69 | ge."[ox-hugo.pre.process.DBG].li |
| 55ae0 | 6e 6b 20 64 65 73 63 3a 20 25 73 22 20 6c 69 6e 6b 2d 64 65 73 63 29 0a 0a 20 20 20 20 20 20 20 | nk.desc:.%s".link-desc)......... |
| 55b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4f 76 65 72 72 69 64 65 20 74 68 65 | .................;;.Override.the |
| 55b20 | 20 6c 69 6e 6b 20 74 79 70 65 73 20 74 6f 20 62 65 20 66 69 6c 65 73 2e 20 20 57 65 0a 20 20 20 | .link.types.to.be.files...We.... |
| 55b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 77 69 6c 6c 20 62 65 20 | .....................;;.will.be. |
| 55b60 | 75 73 69 6e 67 20 6f 75 74 2d 6f 66 2d 73 75 62 74 72 65 65 20 6c 69 6e 6b 73 20 61 73 20 6c 69 | using.out-of-subtree.links.as.li |
| 55b80 | 6e 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 | nks.........................;;.t |
| 55ba0 | 6f 20 64 75 6d 6d 79 20 66 69 6c 65 73 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | o.dummy.files.with.............. |
| 55bc0 | 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 | ...........;;.`org-hugo--preproc |
| 55be0 | 65 73 73 65 64 2d 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 27 0a | essed-buffer-dummy-file-suffix'. |
| 55c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 66 66 69 | ........................;;.suffi |
| 55c20 | 78 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d | x..........................(org- |
| 55c40 | 65 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 20 65 6c 20 3a 74 79 70 65 20 22 66 | element-put-property.el.:type."f |
| 55c60 | 69 6c 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | ile").........................(o |
| 55c80 | 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 0a 20 20 20 20 20 20 20 20 | rg-element-put-property......... |
| 55ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 20 3a 70 61 74 68 0a 20 20 20 20 20 20 | .................el.:path....... |
| 55cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 | ...................(cond........ |
| 55ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 64 65 73 | ...................;;.If.the.des |
| 55d00 | 74 69 6e 61 74 69 6f 6e 20 69 73 20 61 20 68 65 61 64 69 6e 67 20 77 69 74 68 20 74 68 65 0a 20 | tination.is.a.heading.with.the.. |
| 55d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 3a 45 58 50 | .........................;;.:EXP |
| 55d40 | 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 79 20 64 65 66 69 6e 65 64 2c 20 | ORT_FILE_NAME.property.defined,. |
| 55d60 | 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | the...........................;; |
| 55d80 | 20 6c 69 6e 6b 20 73 68 6f 75 6c 64 20 70 6f 69 6e 74 20 74 6f 20 74 68 65 20 66 69 6c 65 20 28 | .link.should.point.to.the.file.( |
| 55da0 | 77 69 74 68 6f 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | without......................... |
| 55dc0 | 20 20 3b 3b 20 61 6e 63 68 6f 72 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..;;.anchor).................... |
| 55de0 | 20 20 20 20 20 20 20 20 28 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a | ........((org-element-property.: |
| 55e00 | 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 0a 20 20 | EXPORT_FILE_NAME.destination)... |
| 55e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 | .........................(concat |
| 55e40 | 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 70 61 74 68 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 | .destination-path.org-hugo--prep |
| 55e60 | 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 | rocessed-buffer-dummy-file-suffi |
| 55e80 | 78 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | x))...........................;; |
| 55ea0 | 20 48 75 67 6f 20 6f 6e 6c 79 20 73 75 70 70 6f 72 74 73 20 61 6e 63 68 6f 72 73 20 74 6f 20 68 | .Hugo.only.supports.anchors.to.h |
| 55ec0 | 65 61 64 69 6e 67 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eadings,........................ |
| 55ee0 | 20 20 20 3b 3b 20 73 6f 20 69 66 20 61 20 22 66 75 7a 7a 79 22 20 74 79 70 65 20 6c 69 6e 6b 20 | ...;;.so.if.a."fuzzy".type.link. |
| 55f00 | 70 6f 69 6e 74 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | points.to....................... |
| 55f20 | 20 20 20 20 3b 3b 20 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 20 74 68 61 6e 20 61 20 68 65 61 64 | ....;;.anything.else.than.a.head |
| 55f40 | 69 6e 67 2c 20 69 74 20 73 68 6f 75 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing,.it.should.................. |
| 55f60 | 20 20 20 20 20 20 20 20 20 3b 3b 20 70 6f 69 6e 74 20 74 6f 20 74 68 65 20 66 69 6c 65 2e 0a 20 | .........;;.point.to.the.file... |
| 55f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 | .........................((and.( |
| 55fa0 | 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 66 75 7a 7a 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 | string=.type."fuzzy")........... |
| 55fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 73 74 72 69 | ......................(not.(stri |
| 55fe0 | 6e 67 2d 70 72 65 66 69 78 2d 70 20 22 2a 22 20 72 61 77 2d 6c 69 6e 6b 29 29 29 0a 20 20 20 20 | ng-prefix-p."*".raw-link)))..... |
| 56000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 64 | .......................(concat.d |
| 56020 | 65 73 74 69 6e 61 74 69 6f 6e 2d 70 61 74 68 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f | estination-path.org-hugo--prepro |
| 56040 | 63 65 73 73 65 64 2d 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 29 | cessed-buffer-dummy-file-suffix) |
| 56060 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 | )...........................;;.I |
| 56080 | 6e 20 22 63 75 73 74 6f 6d 2d 69 64 22 20 74 79 70 65 20 6c 69 6e 6b 73 2c 20 74 68 65 20 72 61 | n."custom-id".type.links,.the.ra |
| 560a0 | 77 2d 6c 69 6e 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | w-link.......................... |
| 560c0 | 20 3b 3b 20 6d 61 74 63 68 65 73 20 74 68 65 20 61 6e 63 68 6f 72 20 6f 66 20 74 68 65 20 64 65 | .;;.matches.the.anchor.of.the.de |
| 560e0 | 73 74 69 6e 61 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | stination....................... |
| 56100 | 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 63 75 73 74 6f 6d 2d 69 64 22 29 | .....((string=.type."custom-id") |
| 56120 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e | ............................(con |
| 56140 | 63 61 74 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 70 61 74 68 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 | cat.destination-path.org-hugo--p |
| 56160 | 72 65 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 | reprocessed-buffer-dummy-file-su |
| 56180 | 66 66 69 78 20 22 3a 3a 22 20 72 61 77 2d 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ffix."::".raw-link))............ |
| 561a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 20 22 69 64 22 20 61 6e 64 20 22 66 | ...............;;.In."id".and."f |
| 561c0 | 75 7a 7a 79 22 20 74 79 70 65 20 6c 69 6e 6b 73 2c 20 74 68 65 20 61 6e 63 68 6f 72 0a 20 20 20 | uzzy".type.links,.the.anchor.... |
| 561e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 66 20 74 68 65 | .......................;;.of.the |
| 56200 | 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 65 | .destination.is.derived.from.the |
| 56220 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 3a 43 | ...........................;;.:C |
| 56240 | 55 53 54 4f 4d 5f 49 44 20 70 72 6f 70 65 72 74 79 20 6f 72 20 74 68 65 20 74 69 74 6c 65 2e 0a | USTOM_ID.property.or.the.title.. |
| 56260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 | ..........................(t.... |
| 56280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 61 | ........................(let.((a |
| 562a0 | 6e 63 68 6f 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 20 64 65 73 74 | nchor.(org-hugo--get-anchor.dest |
| 562c0 | 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ination.info)))................. |
| 562e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 64 65 73 74 69 6e 61 74 69 6f 6e | .............(concat.destination |
| 56300 | 2d 70 61 74 68 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 64 2d 62 75 66 | -path.org-hugo--preprocessed-buf |
| 56320 | 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 20 22 3a 3a 23 22 20 61 6e 63 68 | fer-dummy-file-suffix."::#".anch |
| 56340 | 6f 72 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | or)))))......................... |
| 56360 | 3b 3b 20 49 66 20 74 68 65 20 6c 69 6e 6b 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 73 20 61 20 | ;;.If.the.link.destination.is.a. |
| 56380 | 68 65 61 64 69 6e 67 20 61 6e 64 20 69 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | heading.and.if.................. |
| 563a0 | 20 20 20 20 20 20 20 3b 3b 20 75 73 65 72 20 68 61 73 6e 27 74 20 73 65 74 20 74 68 65 20 6c 69 | .......;;.user.hasn't.set.the.li |
| 563c0 | 6e 6b 20 64 65 73 63 72 69 70 74 69 6f 6e 2c 20 73 65 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 | nk.description,.set.the......... |
| 563e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 73 63 72 69 70 74 69 6f 6e 20 74 | ................;;.description.t |
| 56400 | 6f 20 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 68 65 61 64 69 6e 67 20 74 69 74 6c 65 2e | o.the.destination.heading.title. |
| 56420 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 | .........................(when.( |
| 56440 | 61 6e 64 20 28 6e 75 6c 6c 20 6c 69 6e 6b 2d 64 65 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 | and.(null.link-desc)............ |
| 56460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 27 | ........................(equal.' |
| 56480 | 68 65 61 64 6c 69 6e 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 79 70 65 29 29 0a 20 20 20 20 | headline.destination-type))..... |
| 564a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 68 65 61 | ......................(let.((hea |
| 564c0 | 64 69 6e 67 2d 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ding-title...................... |
| 564e0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 | ............(org-export-data-wit |
| 56500 | 68 2d 62 61 63 6b 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | h-backend....................... |
| 56520 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 | ............(org-element-propert |
| 56540 | 79 20 3a 74 69 74 6c 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 20 27 61 73 63 69 69 20 69 6e 66 | y.:title.destination).'ascii.inf |
| 56560 | 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o)))............................ |
| 56580 | 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 70 72 65 20 70 72 6f 63 65 | .;;.(message."[ox-hugo.pre.proce |
| 565a0 | 73 73 20 44 42 47 5d 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 68 65 61 64 69 6e 67 3a 20 25 73 22 | ss.DBG].destination.heading:.%s" |
| 565c0 | 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .heading-title)................. |
| 565e0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 73 65 74 2d 63 6f 6e | ............(org-element-set-con |
| 56600 | 74 65 6e 74 73 20 65 6c 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 29 29 29 29 29 29 29 29 29 0a | tents.el.heading-title))))))))). |
| 56620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 27 73 70 65 63 69 61 6c 2d 62 6c | .............((equal.'special-bl |
| 56640 | 6f 63 6b 20 65 6c 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 48 61 | ock.el-type)...............;;.Ha |
| 56660 | 6e 64 6c 65 20 65 6d 70 74 79 20 4f 72 67 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 73 2e 20 20 | ndle.empty.Org.special.blocks... |
| 56680 | 57 68 65 6e 20 65 6d 70 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 6c 6f 63 | When.empty...............;;.bloc |
| 566a0 | 6b 73 20 61 72 65 20 66 6f 75 6e 64 2c 20 73 65 74 20 74 68 61 74 20 65 6c 65 6d 65 6e 74 73 20 | ks.are.found,.set.that.elements. |
| 566c0 | 63 6f 6e 74 65 6e 74 20 61 73 20 22 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 | content.as.""...............;;.i |
| 566e0 | 6e 73 74 65 61 64 20 6f 66 20 6e 69 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e | nstead.of.nil................(un |
| 56700 | 6c 65 73 73 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 65 6c 29 0a 20 | less.(org-element-contents.el).. |
| 56720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 64 6f 70 | ...............(org-element-adop |
| 56740 | 74 2d 65 6c 65 6d 65 6e 74 73 20 65 6c 20 22 22 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | t-elements.el."")))))........... |
| 56760 | 6e 69 6c 29 29 20 3b 4d 69 6e 6f 72 20 70 65 72 66 6f 72 6d 61 6e 63 65 20 6f 70 74 69 6d 69 7a | nil)).;Minor.performance.optimiz |
| 56780 | 61 74 69 6f 6e 3a 20 4d 61 6b 65 20 60 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 27 20 6c 61 | ation:.Make.`org-element-map'.la |
| 567a0 | 6d 62 64 61 20 72 65 74 75 72 6e 20 61 20 6e 69 6c 2e 0a 0a 20 20 20 20 20 20 28 77 68 65 6e 20 | mbda.return.a.nil.........(when. |
| 567c0 | 28 76 65 72 73 69 6f 6e 3c 20 22 32 35 2e 39 39 22 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 29 | (version<."25.99".emacs-version) |
| 567e0 | 20 3b 60 6b 69 6c 6c 2d 6d 61 74 63 68 69 6e 67 2d 62 75 66 66 65 72 73 27 20 67 6f 74 20 60 3a | .;`kill-matching-buffers'.got.`: |
| 56800 | 6e 6f 2d 61 73 6b 27 20 61 72 67 20 69 6e 20 65 6d 61 63 73 20 32 36 2e 31 0a 20 20 20 20 20 20 | no-ask'.arg.in.emacs.26.1....... |
| 56820 | 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 2e 73 61 76 61 6e 6e 61 68 2e 67 6e 75 2e 6f 72 | ..;;.https://git.savannah.gnu.or |
| 56840 | 67 2f 63 67 69 74 2f 65 6d 61 63 73 2e 67 69 74 2f 63 6f 6d 6d 69 74 2f 3f 69 64 3d 37 30 64 30 | g/cgit/emacs.git/commit/?id=70d0 |
| 56860 | 31 64 61 63 65 64 64 65 62 34 65 34 63 34 39 63 37 39 34 37 33 63 38 31 34 32 30 66 36 35 66 66 | 1daceddeb4e4c49c79473c81420f65ff |
| 56880 | 64 32 39 30 0a 20 20 20 20 20 20 20 20 3b 3b 20 46 69 72 73 74 20 6b 69 6c 6c 20 61 6c 6c 20 74 | d290.........;;.First.kill.all.t |
| 568a0 | 68 65 20 6f 6c 64 20 70 72 65 2d 70 72 6f 63 65 73 73 65 64 20 62 75 66 66 65 72 73 20 69 66 20 | he.old.pre-processed.buffers.if. |
| 568c0 | 73 74 69 6c 6c 20 6c 65 66 74 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 66 6f 72 20 61 | still.left.open.........;;.for.a |
| 568e0 | 6e 79 20 72 65 61 73 6f 6e 2e 0a 20 20 20 20 20 20 20 20 28 6b 69 6c 6c 2d 6d 61 74 63 68 69 6e | ny.reason..........(kill-matchin |
| 56900 | 67 2d 62 75 66 66 65 72 73 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 70 72 65 2d 70 72 6f 63 | g-buffers.(regexp-quote.pre-proc |
| 56920 | 65 73 73 65 64 2d 62 75 66 66 65 72 2d 70 72 65 66 69 78 29 20 3a 69 6e 74 65 72 6e 61 6c 2d 74 | essed-buffer-prefix).:internal-t |
| 56940 | 6f 6f 20 3a 6e 6f 2d 61 73 6b 29 29 0a 0a 20 20 20 20 20 20 3b 3b 20 54 75 72 6e 20 74 68 65 20 | oo.:no-ask))........;;.Turn.the. |
| 56960 | 41 53 54 20 77 69 74 68 20 75 70 64 61 74 65 64 20 6c 69 6e 6b 73 20 69 6e 74 6f 20 61 6e 20 4f | AST.with.updated.links.into.an.O |
| 56980 | 72 67 20 62 75 66 66 65 72 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 6f 63 61 6c 2d 76 61 | rg.buffer........(let.((local-va |
| 569a0 | 72 69 61 62 6c 65 73 20 28 62 75 66 66 65 72 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 29 | riables.(buffer-local-variables) |
| 569c0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 62 6f 75 6e 64 2d 76 61 72 69 61 62 6c 65 73 20 28 | ).............(bound-variables.( |
| 569e0 | 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 6c 69 73 74 2d 62 6f 75 6e 64 2d 76 61 72 69 61 62 6c 65 73 | org-export--list-bound-variables |
| 56a00 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 62 75 66 66 65 72 20 28 67 65 6e 65 72 61 74 65 | )).............(buffer.(generate |
| 56a20 | 2d 6e 65 77 2d 62 75 66 66 65 72 20 28 63 6f 6e 63 61 74 20 70 72 65 2d 70 72 6f 63 65 73 73 65 | -new-buffer.(concat.pre-processe |
| 56a40 | 64 2d 62 75 66 66 65 72 2d 70 72 65 66 69 78 20 28 62 75 66 66 65 72 2d 6e 61 6d 65 29 20 22 20 | d-buffer-prefix.(buffer-name).". |
| 56a60 | 2a 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 | *")))).........(with-current-buf |
| 56a80 | 66 65 72 20 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 76 61 72 73 29 | fer.buffer...........(let.(vars) |
| 56aa0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 6d 6f 64 65 | .............(org-hugo--org-mode |
| 56ac0 | 2d 6c 69 67 68 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 6f 70 79 20 73 70 65 63 | -light).............;;.Copy.spec |
| 56ae0 | 69 66 69 63 20 62 75 66 66 65 72 20 6c 6f 63 61 6c 20 76 61 72 69 61 62 6c 65 73 20 61 6e 64 20 | ific.buffer.local.variables.and. |
| 56b00 | 76 61 72 69 61 62 6c 65 73 20 73 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 72 | variables.set.............;;.thr |
| 56b20 | 6f 75 67 68 20 42 49 4e 44 20 6b 65 79 77 6f 72 64 73 2e 20 20 42 65 6c 6f 77 20 73 6e 69 70 70 | ough.BIND.keywords...Below.snipp |
| 56b40 | 65 74 20 69 73 20 63 6f 70 69 65 64 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b | et.is.copied.from.............;; |
| 56b60 | 20 6f 78 2e 65 6c 20 2d 3e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 6e 65 72 61 74 65 2d | .ox.el.->.`org-export--generate- |
| 56b80 | 63 6f 70 79 2d 73 63 72 69 70 74 27 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 | copy-script'..............(dolis |
| 56ba0 | 74 20 28 65 6e 74 72 79 20 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 20 76 61 72 73 29 0a 20 | t.(entry.local-variables.vars).. |
| 56bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 63 6f 6e 73 70 20 65 6e 74 72 79 29 | .............(when.(consp.entry) |
| 56be0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 76 61 72 20 28 63 61 72 | .................(let.((var.(car |
| 56c00 | 20 65 6e 74 72 79 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | .entry)).......................( |
| 56c20 | 76 61 6c 20 28 63 64 72 20 65 6e 74 72 79 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | val.(cdr.entry)))............... |
| 56c40 | 20 20 20 20 28 61 6e 64 20 28 6e 6f 74 20 28 6d 65 6d 71 20 76 61 72 20 6f 72 67 2d 65 78 70 6f | ....(and.(not.(memq.var.org-expo |
| 56c60 | 72 74 2d 69 67 6e 6f 72 65 64 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 29 29 0a 20 20 20 | rt-ignored-local-variables)).... |
| 56c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6d 65 6d 71 20 76 61 | ....................(or.(memq.va |
| 56ca0 | 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r............................... |
| 56cc0 | 20 20 20 27 28 64 65 66 61 75 6c 74 2d 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 20 20 20 20 20 | ...'(default-directory.......... |
| 56ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 66 66 65 | ...........................buffe |
| 56d00 | 72 2d 66 69 6c 65 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r-file-name..................... |
| 56d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 66 66 65 72 2d 66 69 6c 65 2d 63 6f 64 69 | ................buffer-file-codi |
| 56d40 | 6e 67 2d 73 79 73 74 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ng-system))..................... |
| 56d60 | 20 20 20 20 20 20 20 28 61 73 73 71 20 76 61 72 20 62 6f 75 6e 64 2d 76 61 72 69 61 62 6c 65 73 | .......(assq.var.bound-variables |
| 56d80 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 | )............................(st |
| 56da0 | 72 69 6e 67 2d 6d 61 74 63 68 20 22 5e 5c 5c 28 6f 72 67 2d 5c 5c 7c 6f 72 67 74 62 6c 2d 5c 5c | ring-match."^\\(org-\\|orgtbl-\\ |
| 56dc0 | 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )".............................. |
| 56de0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 76 61 72 29 29 29 0a | ............(symbol-name.var))). |
| 56e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 6b 69 70 20 75 | .......................;;.Skip.u |
| 56e20 | 6e 72 65 61 64 61 62 6c 65 20 76 61 6c 75 65 73 2c 20 61 73 20 74 68 65 79 20 63 61 6e 6e 6f 74 | nreadable.values,.as.they.cannot |
| 56e40 | 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 | .be........................;;.se |
| 56e60 | 6e 74 20 74 6f 20 65 78 74 65 72 6e 61 6c 20 70 72 6f 63 65 73 73 2e 0a 20 20 20 20 20 20 20 20 | nt.to.external.process.......... |
| 56e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6e 6f 74 20 76 61 6c 29 20 28 69 67 | ...............(or.(not.val).(ig |
| 56ea0 | 6e 6f 72 65 2d 65 72 72 6f 72 73 20 28 72 65 61 64 20 28 66 6f 72 6d 61 74 20 22 25 53 22 20 76 | nore-errors.(read.(format."%S".v |
| 56ec0 | 61 6c 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 | al))))........................(p |
| 56ee0 | 75 73 68 20 28 73 65 74 20 28 6d 61 6b 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 76 61 | ush.(set.(make-local-variable.va |
| 56f00 | 72 29 20 76 61 6c 29 20 76 61 72 73 29 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 | r).val).vars)))))..............( |
| 56f20 | 69 6e 73 65 72 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 69 6e 74 65 72 70 72 65 74 2d 64 61 | insert.(org-element-interpret-da |
| 56f40 | 74 61 20 61 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 2d 62 75 66 66 65 72 | ta.ast)).............(set-buffer |
| 56f60 | 2d 6d 6f 64 69 66 69 65 64 2d 70 20 6e 69 6c 29 29 29 0a 20 20 20 20 20 20 20 20 62 75 66 66 65 | -modified-p.nil))).........buffe |
| 56f80 | 72 29 29 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 49 6e 74 65 72 61 63 74 69 76 65 20 66 75 6e 63 74 69 | r)))).....;;;.Interactive.functi |
| 56fa0 | 6f 6e 73 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 | ons..;;;###autoload.(defun.org-h |
| 56fc0 | 75 67 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e | ugo-export-as-md.(&optional.asyn |
| 56fe0 | 63 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 22 45 78 70 6f | c.subtreep.visible-only)..."Expo |
| 57000 | 72 74 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 20 74 6f 20 61 20 48 75 67 6f 2d 63 6f 6d 70 | rt.current.buffer.to.a.Hugo-comp |
| 57020 | 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 20 62 75 66 66 65 72 2e 0a 0a 49 66 20 6e 61 72 72 | atible.Markdown.buffer...If.narr |
| 57040 | 6f 77 69 6e 67 20 69 73 20 61 63 74 69 76 65 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 | owing.is.active.in.the.current.b |
| 57060 | 75 66 66 65 72 2c 20 6f 6e 6c 79 20 65 78 70 6f 72 74 20 69 74 73 0a 6e 61 72 72 6f 77 65 64 20 | uffer,.only.export.its.narrowed. |
| 57080 | 70 61 72 74 2e 0a 0a 49 66 20 61 20 72 65 67 69 6f 6e 20 69 73 20 61 63 74 69 76 65 2c 20 65 78 | part...If.a.region.is.active,.ex |
| 570a0 | 70 6f 72 74 20 74 68 61 74 20 72 65 67 69 6f 6e 2e 0a 0a 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 | port.that.region...A.non-nil.opt |
| 570c0 | 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 6d 65 61 6e 73 20 74 68 65 20 70 | ional.argument.ASYNC.means.the.p |
| 570e0 | 72 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 | rocess.should.happen.asynchronou |
| 57100 | 73 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 62 75 66 66 65 72 20 73 68 6f 75 6c | sly...The.resulting.buffer.shoul |
| 57120 | 64 20 62 65 20 61 63 63 65 73 73 69 62 6c 65 0a 74 68 72 6f 75 67 68 20 74 68 65 20 60 6f 72 67 | d.be.accessible.through.the.`org |
| 57140 | 2d 65 78 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 65 2e 0a 0a 57 68 65 6e 20 | -export-stack'.interface...When. |
| 57160 | 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 53 55 42 54 52 45 45 50 20 69 73 20 6e 6f | optional.argument.SUBTREEP.is.no |
| 57180 | 6e 2d 6e 69 6c 2c 20 65 78 70 6f 72 74 20 74 68 65 20 73 75 62 2d 74 72 65 65 0a 61 74 20 70 6f | n-nil,.export.the.sub-tree.at.po |
| 571a0 | 69 6e 74 2c 20 65 78 74 72 61 63 74 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d | int,.extracting.information.from |
| 571c0 | 20 74 68 65 20 68 65 61 64 69 6e 67 20 70 72 6f 70 65 72 74 69 65 73 0a 66 69 72 73 74 2e 0a 0a | .the.heading.properties.first... |
| 571e0 | 57 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 4c 45 2d 4f | When.optional.argument.VISIBLE-O |
| 57200 | 4e 4c 59 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 0a 63 6f 6e | NLY.is.non-nil,.don't.export.con |
| 57220 | 74 65 6e 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 45 78 70 6f 72 | tents.of.hidden.elements...Expor |
| 57240 | 74 20 69 73 20 64 6f 6e 65 20 69 6e 20 61 20 62 75 66 66 65 72 20 6e 61 6d 65 64 20 5c 22 2a 4f | t.is.done.in.a.buffer.named.\"*O |
| 57260 | 72 67 20 48 75 67 6f 20 45 78 70 6f 72 74 2a 5c 22 2c 20 77 68 69 63 68 0a 77 69 6c 6c 20 62 65 | rg.Hugo.Export*\",.which.will.be |
| 57280 | 20 64 69 73 70 6c 61 79 65 64 20 77 68 65 6e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 73 68 6f 77 | .displayed.when.`org-export-show |
| 572a0 | 2d 74 65 6d 70 6f 72 61 72 79 2d 65 78 70 6f 72 74 2d 62 75 66 66 65 72 27 0a 69 73 20 6e 6f 6e | -temporary-export-buffer'.is.non |
| 572c0 | 2d 6e 69 6c 2e 0a 0a 52 65 74 75 72 6e 20 74 68 65 20 62 75 66 66 65 72 20 74 68 65 20 65 78 70 | -nil...Return.the.buffer.the.exp |
| 572e0 | 6f 72 74 20 68 61 70 70 65 6e 65 64 20 74 6f 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 | ort.happened.to."...(interactive |
| 57300 | 29 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 65 66 6f 72 65 2d 65 78 70 6f 72 74 2d 66 75 6e | )...(org-hugo--before-export-fun |
| 57320 | 63 74 69 6f 6e 20 73 75 62 74 72 65 65 70 29 0a 20 20 3b 3b 20 41 6c 6c 6f 77 20 63 65 72 74 61 | ction.subtreep)...;;.Allow.certa |
| 57340 | 69 6e 20 60 6f 78 2d 68 75 67 6f 27 20 70 72 6f 70 65 72 74 69 65 73 20 74 6f 20 62 65 20 69 6e | in.`ox-hugo'.properties.to.be.in |
| 57360 | 68 65 72 69 74 65 64 2e 0a 20 20 28 6c 65 74 20 28 28 6f 72 67 2d 75 73 65 2d 70 72 6f 70 65 72 | herited....(let.((org-use-proper |
| 57380 | 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 73 65 6c 65 63 74 | ty-inheritance.(org-hugo--select |
| 573a0 | 69 76 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 29 29 0a 20 20 20 20 20 | ive-property-inheritance))...... |
| 573c0 | 20 20 20 28 69 6e 66 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e 65 2d 70 6c 69 73 74 73 0a 20 20 20 | ...(info.(org-combine-plists.... |
| 573e0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 65 78 70 | ............(org-export--get-exp |
| 57400 | 6f 72 74 2d 61 74 74 72 69 62 75 74 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 | ort-attributes.................' |
| 57420 | 68 75 67 6f 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 20 20 | hugo.subtreep.visible-only)..... |
| 57440 | 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 62 75 66 66 | ...........(org-export--get-buff |
| 57460 | 65 72 2d 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f | er-attributes)................(o |
| 57480 | 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 27 68 75 67 6f 20 | rg-export-get-environment.'hugo. |
| 574a0 | 73 75 62 74 72 65 65 70 29 29 29 29 0a 20 20 20 20 28 70 72 6f 67 31 0a 20 20 20 20 20 20 20 20 | subtreep)))).....(prog1......... |
| 574c0 | 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 6f 2d 62 75 66 66 65 72 20 27 68 75 67 6f 20 22 2a 4f 72 | (org-export-to-buffer.'hugo."*Or |
| 574e0 | 67 20 48 75 67 6f 20 45 78 70 6f 72 74 2a 22 0a 20 20 20 20 20 20 20 20 20 20 61 73 79 6e 63 20 | g.Hugo.Export*"...........async. |
| 57500 | 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 6e 69 6c 20 6e 69 6c 20 28 6c | subtreep.visible-only.nil.nil.(l |
| 57520 | 61 6d 62 64 61 20 28 29 20 28 74 65 78 74 2d 6d 6f 64 65 29 29 29 0a 20 20 20 20 20 20 28 6f 72 | ambda.().(text-mode))).......(or |
| 57540 | 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 31 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 | g-hugo--after-1-export-function. |
| 57560 | 69 6e 66 6f 20 6e 69 6c 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 | info.nil).......(org-hugo--after |
| 57580 | 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 29 29 29 29 0a 0a 3b 3b 3b 23 23 | -all-exports-function))))..;;;## |
| 575a0 | 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 | #autoload.(defun.org-hugo-export |
| 575c0 | 2d 74 6f 2d 6d 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 70 | -to-md.(&optional.async.subtreep |
| 575e0 | 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 22 45 78 70 6f 72 74 20 63 75 72 72 65 6e 74 | .visible-only)..."Export.current |
| 57600 | 20 62 75 66 66 65 72 20 74 6f 20 61 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 | .buffer.to.a.Hugo-compatible.Mar |
| 57620 | 6b 64 6f 77 6e 20 66 69 6c 65 2e 0a 0a 54 68 69 73 20 69 73 20 74 68 65 20 6d 61 69 6e 20 65 78 | kdown.file...This.is.the.main.ex |
| 57640 | 70 6f 72 74 69 6e 67 20 66 75 6e 63 74 69 6f 6e 20 77 68 69 63 68 20 69 73 20 63 61 6c 6c 65 64 | porting.function.which.is.called |
| 57660 | 20 62 79 20 62 6f 74 68 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d | .by.both.`org-hugo--export-file- |
| 57680 | 74 6f 2d 6d 64 27 20 61 6e 64 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 | to-md'.and.`org-hugo--export-sub |
| 576a0 | 74 72 65 65 2d 74 6f 2d 6d 64 27 2c 20 61 6e 64 20 74 68 75 73 0a 60 6f 72 67 2d 68 75 67 6f 2d | tree-to-md',.and.thus.`org-hugo- |
| 576c0 | 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 20 74 6f 6f 2e 0a 0a 49 66 20 6e 61 72 72 6f | export-wim-to-md'.too...If.narro |
| 576e0 | 77 69 6e 67 20 69 73 20 61 63 74 69 76 65 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 75 | wing.is.active.in.the.current.bu |
| 57700 | 66 66 65 72 2c 20 6f 6e 6c 79 20 65 78 70 6f 72 74 20 69 74 73 0a 6e 61 72 72 6f 77 65 64 20 70 | ffer,.only.export.its.narrowed.p |
| 57720 | 61 72 74 2e 0a 0a 49 66 20 61 20 72 65 67 69 6f 6e 20 69 73 20 61 63 74 69 76 65 2c 20 65 78 70 | art...If.a.region.is.active,.exp |
| 57740 | 6f 72 74 20 74 68 61 74 20 72 65 67 69 6f 6e 2e 0a 0a 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 | ort.that.region...A.non-nil.opti |
| 57760 | 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 6d 65 61 6e 73 20 74 68 65 20 70 72 | onal.argument.ASYNC.means.the.pr |
| 57780 | 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 73 | ocess.should.happen.asynchronous |
| 577a0 | 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 66 69 6c 65 20 73 68 6f 75 6c 64 20 62 | ly...The.resulting.file.should.b |
| 577c0 | 65 20 61 63 63 65 73 73 69 62 6c 65 20 74 68 72 6f 75 67 68 0a 74 68 65 20 60 6f 72 67 2d 65 78 | e.accessible.through.the.`org-ex |
| 577e0 | 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 65 2e 0a 0a 57 68 65 6e 20 6f 70 74 | port-stack'.interface...When.opt |
| 57800 | 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 53 55 42 54 52 45 45 50 20 69 73 20 6e 6f 6e 2d 6e | ional.argument.SUBTREEP.is.non-n |
| 57820 | 69 6c 2c 20 65 78 70 6f 72 74 20 74 68 65 20 73 75 62 2d 74 72 65 65 0a 61 74 20 70 6f 69 6e 74 | il,.export.the.sub-tree.at.point |
| 57840 | 2c 20 65 78 74 72 61 63 74 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 74 68 | ,.extracting.information.from.th |
| 57860 | 65 20 68 65 61 64 69 6e 67 20 70 72 6f 70 65 72 74 69 65 73 0a 66 69 72 73 74 2e 0a 0a 57 68 65 | e.heading.properties.first...Whe |
| 57880 | 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 4c 45 2d 4f 4e 4c 59 | n.optional.argument.VISIBLE-ONLY |
| 578a0 | 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 0a 63 6f 6e 74 65 6e | .is.non-nil,.don't.export.conten |
| 578c0 | 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 52 65 74 75 72 6e 20 6f | ts.of.hidden.elements...Return.o |
| 578e0 | 75 74 70 75 74 20 66 69 6c 65 27 73 20 6e 61 6d 65 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 | utput.file's.name."...(interacti |
| 57900 | 76 65 29 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 65 66 6f 72 65 2d 65 78 70 6f 72 74 2d 66 | ve)...(org-hugo--before-export-f |
| 57920 | 75 6e 63 74 69 6f 6e 20 73 75 62 74 72 65 65 70 29 0a 20 20 3b 3b 20 41 6c 6c 6f 77 20 63 65 72 | unction.subtreep)...;;.Allow.cer |
| 57940 | 74 61 69 6e 20 60 6f 78 2d 68 75 67 6f 27 20 70 72 6f 70 65 72 74 69 65 73 20 74 6f 20 62 65 20 | tain.`ox-hugo'.properties.to.be. |
| 57960 | 69 6e 68 65 72 69 74 65 64 2e 20 20 49 74 20 69 73 0a 20 20 3b 3b 20 69 6d 70 6f 72 74 61 6e 74 | inherited...It.is...;;.important |
| 57980 | 20 74 6f 20 73 65 74 20 74 68 65 20 60 6f 72 67 2d 75 73 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e | .to.set.the.`org-use-property-in |
| 579a0 | 68 65 72 69 74 61 6e 63 65 27 20 62 65 66 6f 72 65 0a 20 20 3b 3b 20 73 65 74 74 69 6e 67 20 74 | heritance'.before...;;.setting.t |
| 579c0 | 68 65 20 60 69 6e 66 6f 27 20 76 61 72 20 73 6f 20 74 68 61 74 20 70 72 6f 70 65 72 74 69 65 73 | he.`info'.var.so.that.properties |
| 579e0 | 20 6c 69 6b 65 0a 20 20 3b 3b 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 20 67 | .like...;;.EXPORT_HUGO_SECTION.g |
| 57a00 | 65 74 20 69 6e 68 65 72 69 74 65 64 2e 0a 20 20 28 6c 65 74 2a 20 28 28 6f 72 67 2d 75 73 65 2d | et.inherited....(let*.((org-use- |
| 57a20 | 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d | property-inheritance.(org-hugo-- |
| 57a40 | 73 65 6c 65 63 74 69 76 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 29 29 | selective-property-inheritance)) |
| 57a60 | 0a 20 20 20 20 20 20 20 20 20 28 69 6e 66 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e 65 2d 70 6c 69 | ..........(info.(org-combine-pli |
| 57a80 | 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d | sts.................(org-export- |
| 57aa0 | 2d 67 65 74 2d 65 78 70 6f 72 74 2d 61 74 74 72 69 62 75 74 65 73 0a 20 20 20 20 20 20 20 20 20 | -get-export-attributes.......... |
| 57ac0 | 20 20 20 20 20 20 20 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f | ........'hugo.subtreep.visible-o |
| 57ae0 | 6e 6c 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 | nly).................(org-export |
| 57b00 | 2d 2d 67 65 74 2d 62 75 66 66 65 72 2d 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 | --get-buffer-attributes)........ |
| 57b20 | 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e | .........(org-export-get-environ |
| 57b40 | 6d 65 6e 74 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 70 29 29 29 0a 20 20 20 20 20 20 20 20 20 | ment.'hugo.subtreep))).......... |
| 57b60 | 28 70 75 62 2d 64 69 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 75 62 2d 64 69 72 20 | (pub-dir.(org-hugo--get-pub-dir. |
| 57b80 | 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 6e 27 74 20 70 72 69 6e 74 20 22 | info))..........;;.Don't.print." |
| 57ba0 | 53 61 76 69 6e 67 20 66 69 6c 65 20 2e 2e 22 20 66 6f 72 20 65 61 63 68 20 65 78 70 6f 72 74 65 | Saving.file...".for.each.exporte |
| 57bc0 | 64 20 66 69 6c 65 2e 20 54 68 69 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 77 6f 72 6b 73 20 69 | d.file..This..........;;.works.i |
| 57be0 | 6e 20 69 6e 74 65 72 61 63 74 69 76 65 20 6d 6f 64 65 20 69 2e 65 2e 20 77 68 65 6e 20 65 78 70 | n.interactive.mode.i.e..when.exp |
| 57c00 | 6f 72 74 69 6e 67 20 70 6f 73 74 73 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 77 69 | orting.posts.from..........;;.wi |
| 57c20 | 74 68 69 6e 20 65 6d 61 63 73 2e 20 20 42 75 74 20 69 6e 20 2d 2d 62 61 74 63 68 20 6d 6f 64 65 | thin.emacs...But.in.--batch.mode |
| 57c40 | 2c 20 73 65 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 60 73 61 76 65 2d 73 69 6c 65 | ,.setting..........;;.`save-sile |
| 57c60 | 6e 74 6c 79 27 20 74 6f 20 74 2c 20 69 72 6f 6e 69 63 61 6c 6c 79 20 70 72 69 6e 74 73 20 61 20 | ntly'.to.t,.ironically.prints.a. |
| 57c80 | 62 6c 61 6e 6b 20 6c 69 6e 65 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 6f | blank.line..........;;.instead.o |
| 57ca0 | 66 20 74 68 65 20 22 53 61 76 69 6e 67 20 66 69 6c 65 20 2e 2e 22 20 6d 65 73 73 61 67 65 2e 20 | f.the."Saving.file...".message.. |
| 57cc0 | 20 53 6f 20 6c 65 61 76 65 20 74 68 69 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 76 61 72 69 61 | .So.leave.this..........;;.varia |
| 57ce0 | 62 6c 65 20 76 61 6c 75 65 20 61 74 20 6e 69 6c 20 66 6f 72 20 2d 2d 62 61 74 63 68 20 72 75 6e | ble.value.at.nil.for.--batch.run |
| 57d00 | 73 2e 0a 20 20 20 20 20 20 20 20 20 28 73 61 76 65 2d 73 69 6c 65 6e 74 6c 79 20 28 75 6e 6c 65 | s...........(save-silently.(unle |
| 57d20 | 73 73 20 6e 6f 6e 69 6e 74 65 72 61 63 74 69 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ss.noninteractive............... |
| 57d40 | 20 20 20 20 20 20 20 20 20 20 20 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 75 74 66 69 6c | ............t))..........(outfil |
| 57d60 | 65 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 6f 75 74 70 75 74 2d 66 69 6c 65 2d 6e 61 6d 65 20 22 | e.(org-export-output-file-name." |
| 57d80 | 2e 6d 64 22 20 73 75 62 74 72 65 65 70 20 70 75 62 2d 64 69 72 29 29 29 0a 20 20 20 20 3b 3b 20 | .md".subtreep.pub-dir))).....;;. |
| 57da0 | 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 | (message."[org-hugo-export-to-md |
| 57dc0 | 20 44 42 47 5d 20 73 65 63 74 69 6f 6e 2d 64 69 72 20 3d 20 25 73 22 20 73 65 63 74 69 6f 6e 2d | .DBG].section-dir.=.%s".section- |
| 57de0 | 64 69 72 29 0a 20 20 20 20 28 70 72 6f 67 31 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 | dir).....(prog1.........(org-exp |
| 57e00 | 6f 72 74 2d 74 6f 2d 66 69 6c 65 20 27 68 75 67 6f 20 6f 75 74 66 69 6c 65 20 61 73 79 6e 63 20 | ort-to-file.'hugo.outfile.async. |
| 57e20 | 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 20 20 20 20 28 6f 72 | subtreep.visible-only).......(or |
| 57e40 | 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 31 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 | g-hugo--after-1-export-function. |
| 57e60 | 69 6e 66 6f 20 6f 75 74 66 69 6c 65 29 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 6f 72 67 2d | info.outfile).......(unless.org- |
| 57e80 | 68 75 67 6f 2d 2d 64 69 73 61 62 6c 65 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d | hugo--disable-after-all-exports- |
| 57ea0 | 68 6f 6f 6b 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 61 6c | hook.........(org-hugo--after-al |
| 57ec0 | 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 29 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 | l-exports-function)))))..;;;###a |
| 57ee0 | 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 | utoload.(defun.org-hugo-export-w |
| 57f00 | 69 6d 2d 74 6f 2d 6d 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 6c 6c 2d 73 75 62 74 72 65 65 73 | im-to-md.(&optional.all-subtrees |
| 57f20 | 20 61 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 6e 6f 65 72 72 6f 72 29 0a 20 20 22 | .async.visible-only.noerror)..." |
| 57f40 | 45 78 70 6f 72 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 2f 61 6c 6c 20 73 | Export.the.current.subtree/all.s |
| 57f60 | 75 62 74 72 65 65 73 2f 63 75 72 72 65 6e 74 20 66 69 6c 65 20 74 6f 20 61 20 48 75 67 6f 20 70 | ubtrees/current.file.to.a.Hugo.p |
| 57f80 | 6f 73 74 2e 0a 0a 54 68 69 73 20 69 73 20 61 6e 20 45 78 70 6f 72 74 20 5c 22 57 68 61 74 20 49 | ost...This.is.an.Export.\"What.I |
| 57fa0 | 20 4d 65 61 6e 5c 22 20 66 75 6e 63 74 69 6f 6e 3a 0a 0a 2d 20 49 66 20 74 68 65 20 63 75 72 72 | .Mean\".function:..-.If.the.curr |
| 57fc0 | 65 6e 74 20 73 75 62 74 72 65 65 20 68 61 73 20 74 68 65 20 5c 22 45 58 50 4f 52 54 5f 46 49 4c | ent.subtree.has.the.\"EXPORT_FIL |
| 57fe0 | 45 5f 4e 41 4d 45 5c 22 20 70 72 6f 70 65 72 74 79 2c 0a 20 20 65 78 70 6f 72 74 20 6f 6e 6c 79 | E_NAME\".property,...export.only |
| 58000 | 20 74 68 61 74 20 73 75 62 74 72 65 65 2e 20 20 52 65 74 75 72 6e 20 74 68 65 20 72 65 74 75 72 | .that.subtree...Return.the.retur |
| 58020 | 6e 20 76 61 6c 75 65 20 6f 66 0a 20 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 | n.value.of...`org-hugo--export-s |
| 58040 | 75 62 74 72 65 65 2d 74 6f 2d 6d 64 27 2e 0a 0a 2d 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 | ubtree-to-md'...-.If.the.current |
| 58060 | 20 73 75 62 74 72 65 65 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 74 68 61 74 20 70 72 6f 70 65 | .subtree.doesn't.have.that.prope |
| 58080 | 72 74 79 2c 20 62 75 74 20 6f 6e 65 20 6f 66 0a 20 20 69 74 73 20 70 61 72 65 6e 74 20 73 75 62 | rty,.but.one.of...its.parent.sub |
| 580a0 | 74 72 65 65 73 20 68 61 73 2c 20 65 78 70 6f 72 74 20 66 72 6f 6d 20 74 68 61 74 20 73 75 62 74 | trees.has,.export.from.that.subt |
| 580c0 | 72 65 65 27 73 20 73 63 6f 70 65 2e 0a 20 20 52 65 74 75 72 6e 20 74 68 65 20 72 65 74 75 72 6e | ree's.scope....Return.the.return |
| 580e0 | 20 76 61 6c 75 65 20 6f 66 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 | .value.of.`org-hugo--export-subt |
| 58100 | 72 65 65 2d 74 6f 2d 6d 64 27 2e 0a 0a 2d 20 49 66 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 76 | ree-to-md'...-.If.there.are.no.v |
| 58120 | 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 73 20 28 74 68 61 74 20 68 61 | alid.Hugo.post.subtrees.(that.ha |
| 58140 | 76 65 20 74 68 65 0a 20 20 5c 22 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 5c 22 20 70 72 | ve.the...\"EXPORT_FILE_NAME\".pr |
| 58160 | 6f 70 65 72 74 79 29 20 69 6e 20 74 68 65 20 4f 72 67 20 62 75 66 66 65 72 20 74 68 65 20 73 75 | operty).in.the.Org.buffer.the.su |
| 58180 | 62 74 72 65 65 73 0a 20 20 68 61 76 65 20 74 68 61 74 20 70 72 6f 70 65 72 74 79 2c 20 64 6f 20 | btrees...have.that.property,.do. |
| 581a0 | 66 69 6c 65 2d 62 61 73 65 64 0a 20 20 65 78 70 6f 72 74 20 28 60 6f 72 67 2d 68 75 67 6f 2d 2d | file-based...export.(`org-hugo-- |
| 581c0 | 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 27 29 2c 20 72 65 67 61 72 64 6c 65 73 73 20 | export-file-to-md'),.regardless. |
| 581e0 | 6f 66 20 74 68 65 20 76 61 6c 75 65 0a 20 20 6f 66 20 41 4c 4c 2d 53 55 42 54 52 45 45 53 2e 20 | of.the.value...of.ALL-SUBTREES.. |
| 58200 | 20 52 65 74 75 72 6e 20 74 68 65 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 6f 66 0a 20 20 60 6f | .Return.the.return.value.of...`o |
| 58220 | 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 27 2e 0a 0a 2d 20 | rg-hugo--export-file-to-md'...-. |
| 58240 | 49 66 20 41 4c 4c 2d 53 55 42 54 52 45 45 53 20 69 73 20 6e 6f 6e 2d 6e 69 6c 20 61 6e 64 20 74 | If.ALL-SUBTREES.is.non-nil.and.t |
| 58260 | 68 65 20 4f 72 67 20 62 75 66 66 65 72 20 68 61 73 20 61 74 20 6c 65 61 73 74 20 31 0a 20 20 76 | he.Org.buffer.has.at.least.1...v |
| 58280 | 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 2c 20 65 78 70 6f 72 74 20 61 | alid.Hugo.post.subtree,.export.a |
| 582a0 | 6c 6c 20 74 68 6f 73 65 20 76 61 6c 69 64 20 70 6f 73 74 20 73 75 62 74 72 65 65 73 2e 0a 20 20 | ll.those.valid.post.subtrees.... |
| 582c0 | 52 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 6f 75 74 70 75 74 20 66 69 6c 65 73 2e 0a 0a | Return.a.list.of.output.files... |
| 582e0 | 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e | A.non-nil.optional.argument.ASYN |
| 58300 | 43 20 6d 65 61 6e 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 | C.means.the.process.should.happe |
| 58320 | 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 | n.asynchronously...The.resulting |
| 58340 | 20 66 69 6c 65 20 73 68 6f 75 6c 64 20 62 65 20 61 63 63 65 73 73 69 62 6c 65 20 74 68 72 6f 75 | .file.should.be.accessible.throu |
| 58360 | 67 68 0a 74 68 65 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 | gh.the.`org-export-stack'.interf |
| 58380 | 61 63 65 2e 0a 0a 57 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 | ace...When.optional.argument.VIS |
| 583a0 | 49 42 4c 45 2d 4f 4e 4c 59 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f | IBLE-ONLY.is.non-nil,.don't.expo |
| 583c0 | 72 74 0a 63 6f 6e 74 65 6e 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a | rt.contents.of.hidden.elements.. |
| 583e0 | 0a 54 68 65 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 4e 4f 45 52 52 4f 52 20 69 | .The.optional.argument.NOERROR.i |
| 58400 | 73 20 70 61 73 73 65 64 20 74 6f 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 | s.passed.to.`org-hugo--export-fi |
| 58420 | 6c 65 2d 74 6f 2d 6d 64 27 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 20 22 50 22 29 0a | le-to-md'."...(interactive."P"). |
| 58440 | 20 20 28 6c 65 74 20 28 28 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 28 69 66 20 28 62 75 66 66 65 72 | ..(let.((f-or-b-name.(if.(buffer |
| 58460 | 2d 66 69 6c 65 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -file-name)..................... |
| 58480 | 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 20 28 62 75 | .....(file-name-nondirectory.(bu |
| 584a0 | 66 66 65 72 2d 66 69 6c 65 2d 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ffer-file-name))................ |
| 584c0 | 20 20 20 20 20 20 20 20 28 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 | ........(buffer-name)))......... |
| 584e0 | 28 62 75 66 2d 68 61 73 2d 73 75 62 74 72 65 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 66 66 | (buf-has-subtree.(org-hugo--buff |
| 58500 | 65 72 2d 68 61 73 2d 76 61 6c 69 64 2d 70 6f 73 74 2d 73 75 62 74 72 65 65 2d 70 29 29 0a 20 20 | er-has-valid-post-subtree-p))... |
| 58520 | 20 20 20 20 20 20 72 65 74 29 0a 0a 20 20 20 20 3b 3b 20 41 75 74 6f 2d 75 70 64 61 74 65 20 60 | ......ret)......;;.Auto-update.` |
| 58540 | 6f 72 67 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 27 20 69 66 20 69 74 27 73 20 6e 69 6c 20 6f 72 | org-id-locations'.if.it's.nil.or |
| 58560 | 20 65 6d 70 74 79 20 68 61 73 68 20 74 61 62 6c 65 0a 20 20 20 20 3b 3b 20 74 6f 20 61 76 6f 69 | .empty.hash.table.....;;.to.avoi |
| 58580 | 64 20 62 72 6f 6b 65 6e 20 5b 5b 69 64 3a 2e 2e 5d 5d 20 74 79 70 65 20 6c 69 6e 6b 73 2e 0a 20 | d.broken.[[id:..]].type.links... |
| 585a0 | 20 20 20 28 77 68 65 6e 20 28 6f 72 20 28 65 71 20 6f 72 67 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e | ...(when.(or.(eq.org-id-location |
| 585c0 | 73 20 6e 69 6c 29 20 28 7a 65 72 6f 70 20 28 68 61 73 68 2d 74 61 62 6c 65 2d 63 6f 75 6e 74 20 | s.nil).(zerop.(hash-table-count. |
| 585e0 | 6f 72 67 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 29 29 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 69 | org-id-locations))).......(org-i |
| 58600 | 64 2d 75 70 64 61 74 65 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 20 28 64 69 72 65 63 74 6f 72 79 | d-update-id-locations.(directory |
| 58620 | 2d 66 69 6c 65 73 20 22 2e 22 20 3a 66 75 6c 6c 20 22 5c 5c 2e 6f 72 67 24 22 20 3a 6e 6f 73 6f | -files.".".:full."\\.org$".:noso |
| 58640 | 72 74 29 20 3a 73 69 6c 65 6e 74 29 29 0a 0a 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6c | rt).:silent))......(org-hugo--cl |
| 58660 | 65 61 6e 75 70 29 0a 0a 20 20 20 20 28 73 61 76 65 2d 77 69 6e 64 6f 77 2d 65 78 63 75 72 73 69 | eanup)......(save-window-excursi |
| 58680 | 6f 6e 0a 20 20 20 20 20 20 28 6f 72 67 2d 77 69 74 68 2d 77 69 64 65 2d 62 75 66 66 65 72 0a 20 | on.......(org-with-wide-buffer.. |
| 586a0 | 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 3b 3b 20 50 75 62 6c 69 73 68 20 61 | ......(cond.........;;.Publish.a |
| 586c0 | 6c 6c 20 73 75 62 74 72 65 65 73 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 4f 72 67 20 62 | ll.subtrees.in.the.current.Org.b |
| 586e0 | 75 66 66 65 72 2e 0a 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 62 75 66 2d 68 61 73 2d 73 75 62 | uffer..........((and.buf-has-sub |
| 58700 | 74 72 65 65 20 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 0a 20 20 20 20 20 20 20 20 20 28 6c 65 74 | tree.all-subtrees)..........(let |
| 58720 | 20 28 28 73 74 61 72 74 2d 74 69 6d 65 20 28 63 75 72 72 65 6e 74 2d 74 69 6d 65 29 29 29 0a 20 | .((start-time.(current-time))).. |
| 58740 | 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4d 61 6b 65 20 74 68 65 20 2a 4d 65 73 73 61 67 65 73 2a | ..........;;.Make.the.*Messages* |
| 58760 | 20 62 75 66 66 65 72 20 6c 65 73 73 20 6e 6f 69 73 79 20 77 68 65 6e 20 65 78 70 6f 72 74 69 6e | .buffer.less.noisy.when.exportin |
| 58780 | 67 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 62 74 72 65 65 73 2e 0a 20 20 | g.all............;;.subtrees.... |
| 587a0 | 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 61 | .........(dolist.(fn.org-hugo--a |
| 587c0 | 6c 6c 2d 73 75 62 74 72 65 65 73 2d 65 78 70 6f 72 74 2d 2d 66 75 6e 63 74 69 6f 6e 73 2d 74 6f | ll-subtrees-export--functions-to |
| 587e0 | 2d 73 69 6c 65 6e 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 64 76 69 63 65 2d 61 | -silence)..............(advice-a |
| 58800 | 64 64 20 66 6e 20 3a 61 72 6f 75 6e 64 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 61 64 76 69 63 65 | dd.fn.:around.#'org-hugo--advice |
| 58820 | 2d 73 69 6c 65 6e 63 65 2d 6d 65 73 73 61 67 65 73 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | -silence-messages))............. |
| 58840 | 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 6d 61 70 2d 65 6e 74 72 69 65 73 0a 20 20 20 20 20 | (setq.ret.(org-map-entries...... |
| 58860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 29 0a 20 20 20 20 | .................(lambda.()..... |
| 58880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 | ....................(org-hugo--e |
| 588a0 | 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 20 61 73 79 6e 63 20 76 69 73 69 62 6c | xport-subtree-to-md.async.visibl |
| 588c0 | 65 2d 6f 6e 6c 79 20 3a 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 | e-only.:all-subtrees)).......... |
| 588e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 78 70 6f 72 74 20 6f 6e 6c 79 20 74 68 65 20 | .............;;.Export.only.the. |
| 58900 | 73 75 62 74 72 65 65 73 20 77 68 65 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | subtrees.where.................. |
| 58920 | 20 20 20 20 20 3b 3b 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 | .....;;.EXPORT_FILE_NAME.propert |
| 58940 | 79 20 69 73 20 6e 6f 74 20 65 6d 70 74 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y.is.not.empty.................. |
| 58960 | 20 20 20 20 20 20 22 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 3c 3e 5c 22 5c 22 22 29 29 | ......"EXPORT_FILE_NAME<>\"\"")) |
| 58980 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 65 6c 61 70 73 65 64 2d 74 69 6d | .............(let*.((elapsed-tim |
| 589a0 | 65 20 28 66 6c 6f 61 74 2d 74 69 6d 65 20 28 74 69 6d 65 2d 73 69 6e 63 65 20 73 74 61 72 74 2d | e.(float-time.(time-since.start- |
| 589c0 | 74 69 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 76 67 2d 74 | time)))...................(avg-t |
| 589e0 | 69 6d 65 20 28 2f 20 65 6c 61 70 73 65 64 2d 74 69 6d 65 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 | ime.(/.elapsed-time.org-hugo--su |
| 58a00 | 62 74 72 65 65 2d 63 6f 75 6e 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 | btree-count)))..............(mes |
| 58a20 | 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 45 78 70 6f 72 74 65 64 20 25 64 20 73 75 62 74 | sage."[ox-hugo].Exported.%d.subt |
| 58a40 | 72 65 65 25 73 20 66 72 6f 6d 20 25 73 20 69 6e 20 25 30 2e 33 66 73 20 28 25 30 2e 33 66 73 20 | ree%s.from.%s.in.%0.3fs.(%0.3fs. |
| 58a60 | 61 76 67 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d | avg)".......................org- |
| 58a80 | 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 75 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 | hugo--subtree-count............. |
| 58aa0 | 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 3d 20 31 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 | ..........(if.(=.1.org-hugo--sub |
| 58ac0 | 74 72 65 65 2d 63 6f 75 6e 74 29 20 22 22 20 22 73 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | tree-count).""."s")............. |
| 58ae0 | 20 20 20 20 20 20 20 20 20 20 66 2d 6f 72 2d 62 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 | ..........f-or-b-name........... |
| 58b00 | 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 61 70 73 65 64 2d 74 69 6d 65 0a 20 20 20 20 20 20 20 | ............elapsed-time........ |
| 58b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 76 67 2d 74 69 6d 65 29 29 0a 20 20 20 20 20 20 | ...............avg-time))....... |
| 58b40 | 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 | .....(org-hugo--after-all-export |
| 58b60 | 73 2d 66 75 6e 63 74 69 6f 6e 29 29 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 50 75 62 6c 69 73 | s-function)))..........;;.Publis |
| 58b80 | 68 20 6f 6e 6c 79 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f | h.only.the.current.valid.Hugo.po |
| 58ba0 | 73 74 20 73 75 62 74 72 65 65 2e 20 20 57 68 65 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 65 78 70 | st.subtree...When.........;;.exp |
| 58bc0 | 6f 72 74 69 6e 67 20 6f 6e 6c 79 20 6f 6e 65 20 73 75 62 74 72 65 65 2c 20 62 75 66 66 65 72 20 | orting.only.one.subtree,.buffer. |
| 58be0 | 70 72 65 2d 70 72 6f 63 65 73 73 69 6e 67 20 69 73 20 64 6f 6e 65 0a 20 20 20 20 20 20 20 20 3b | pre-processing.is.done.........; |
| 58c00 | 3b 20 69 6e 73 69 64 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 | ;.inside.`org-hugo--export-subtr |
| 58c20 | 65 65 2d 74 6f 2d 6d 64 27 2e 0a 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 62 75 66 2d 68 61 73 | ee-to-md'..........((and.buf-has |
| 58c40 | 2d 73 75 62 74 72 65 65 20 28 6e 6f 74 20 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 29 0a 20 20 20 | -subtree.(not.all-subtrees)).... |
| 58c60 | 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 | ......(setq.ret.(org-hugo--expor |
| 58c80 | 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 20 61 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e | t-subtree-to-md.async.visible-on |
| 58ca0 | 6c 79 29 29 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 41 74 74 65 6d 70 74 20 66 69 6c 65 2d 62 | ly)))..........;;.Attempt.file-b |
| 58cc0 | 61 73 65 64 20 65 78 70 6f 72 74 2e 0a 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 | ased.export..........(t......... |
| 58ce0 | 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 6c | .(setq.ret.(org-hugo--export-fil |
| 58d00 | 65 2d 74 6f 2d 6d 64 20 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 61 73 79 6e 63 20 76 69 73 69 62 6c | e-to-md.f-or-b-name.async.visibl |
| 58d20 | 65 2d 6f 6e 6c 79 20 6e 6f 65 72 72 6f 72 29 29 29 29 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a | e-only.noerror)))))).....ret)).. |
| 58d40 | 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 64 | ;;;###autoload.(defun.org-hugo-d |
| 58d60 | 65 62 75 67 2d 69 6e 66 6f 20 28 29 0a 20 20 22 47 65 74 20 45 6d 61 63 73 2c 20 4f 72 67 20 61 | ebug-info.()..."Get.Emacs,.Org.a |
| 58d80 | 6e 64 20 48 75 67 6f 20 76 65 72 73 69 6f 6e 20 61 6e 64 20 6f 78 2d 68 75 67 6f 20 63 75 73 74 | nd.Hugo.version.and.ox-hugo.cust |
| 58da0 | 6f 6d 69 7a 61 74 69 6f 6e 20 69 6e 66 6f 2e 0a 54 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 | omization.info..The.information. |
| 58dc0 | 69 73 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 20 | is.converted.to.Markdown.format. |
| 58de0 | 61 6e 64 20 63 6f 70 69 65 64 20 74 6f 20 74 68 65 0a 6b 69 6c 6c 20 72 69 6e 67 2e 20 20 54 68 | and.copied.to.the.kill.ring...Th |
| 58e00 | 65 20 73 61 6d 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 64 69 73 70 6c 61 79 65 64 20 | e.same.information.is.displayed. |
| 58e20 | 69 6e 20 74 68 65 20 4d 65 73 73 61 67 65 73 0a 62 75 66 66 65 72 20 61 6e 64 20 72 65 74 75 72 | in.the.Messages.buffer.and.retur |
| 58e40 | 6e 65 64 20 61 73 20 61 20 73 74 72 69 6e 67 20 69 6e 20 4f 72 67 20 66 6f 72 6d 61 74 2e 22 0a | ned.as.a.string.in.Org.format.". |
| 58e60 | 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 74 2a 20 28 28 65 6d 61 63 73 2d | ..(interactive)...(let*.((emacs- |
| 58e80 | 76 65 72 73 69 6f 6e 20 28 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 | version.(emacs-version))........ |
| 58ea0 | 20 20 28 6f 72 67 2d 76 65 72 73 69 6f 6e 20 28 6f 72 67 2d 76 65 72 73 69 6f 6e 20 6e 69 6c 20 | ..(org-version.(org-version.nil. |
| 58ec0 | 3a 66 75 6c 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 75 67 6f 2d 76 65 72 73 69 6f 6e 20 28 | :full))..........(hugo-version.( |
| 58ee0 | 6f 72 67 2d 68 75 67 6f 2d 2d 68 75 67 6f 2d 76 65 72 73 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 | org-hugo--hugo-version))........ |
| 58f00 | 20 20 28 68 75 67 6f 2d 76 65 72 73 69 6f 6e 20 28 69 66 20 68 75 67 6f 2d 76 65 72 73 69 6f 6e | ..(hugo-version.(if.hugo-version |
| 58f20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 | ............................(car |
| 58f40 | 20 68 75 67 6f 2d 76 65 72 73 69 6f 6e 29 20 3b 4c 6f 6e 67 20 76 65 72 73 69 6f 6e 0a 20 20 20 | .hugo-version).;Long.version.... |
| 58f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3d 68 75 67 6f 3d 20 62 69 | ......................"=hugo=.bi |
| 58f80 | 6e 61 72 79 20 6e 6f 74 20 66 6f 75 6e 64 20 69 6e 20 50 41 54 48 22 29 29 0a 20 20 20 20 20 20 | nary.not.found.in.PATH"))....... |
| 58fa0 | 20 20 20 28 69 6e 66 6f 2d 6f 72 67 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 69 64 65 6e 74 69 | ...(info-org.(mapconcat.#'identi |
| 58fc0 | 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ty.............................. |
| 58fe0 | 20 60 28 22 2a 20 44 65 62 75 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 6f 72 20 3d 6f 78 2d | .`("*.Debug.information.for.=ox- |
| 59000 | 68 75 67 6f 3d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hugo=".......................... |
| 59020 | 20 20 20 20 20 20 20 22 2a 2a 20 45 6d 61 63 73 20 56 65 72 73 69 6f 6e 22 0a 20 20 20 20 20 20 | ......."**.Emacs.Version"....... |
| 59040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 23 2b 62 65 67 | .........................."#+beg |
| 59060 | 69 6e 5f 65 78 61 6d 70 6c 65 22 20 3b 50 72 65 76 65 6e 74 20 75 6e 64 65 72 73 63 6f 72 65 73 | in_example".;Prevent.underscores |
| 59080 | 20 66 72 6f 6d 20 62 65 69 6e 67 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 73 75 62 73 63 | .from.being.interpreted.as.subsc |
| 590a0 | 72 69 70 74 20 6d 61 72 6b 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ript.markup..................... |
| 590c0 | 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 25 73 25 73 22 0a 20 20 20 20 | ............,(format."%s%s"..... |
| 590e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 59100 | 20 20 20 20 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....emacs-version.............. |
| 59120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 | ............................(if. |
| 59140 | 65 6d 61 63 73 2d 72 65 70 6f 73 69 74 6f 72 79 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 | emacs-repository-version........ |
| 59160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 59180 | 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 20 28 63 6f 6d 6d 69 74 20 25 73 29 22 20 65 6d 61 | ......(format.".(commit.%s)".ema |
| 591a0 | 63 73 2d 72 65 70 6f 73 69 74 6f 72 79 2d 76 65 72 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 | cs-repository-version).......... |
| 591c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 591e0 | 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .."")).......................... |
| 59200 | 20 20 20 20 20 20 20 22 23 2b 65 6e 64 5f 65 78 61 6d 70 6c 65 22 0a 20 20 20 20 20 20 20 20 20 | ......."#+end_example".......... |
| 59220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a 20 4f 72 67 20 56 | ......................."**.Org.V |
| 59240 | 65 72 73 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ersion"......................... |
| 59260 | 20 20 20 20 20 20 20 20 22 23 2b 62 65 67 69 6e 5f 65 78 61 6d 70 6c 65 22 20 3b 50 72 65 76 65 | ........"#+begin_example".;Preve |
| 59280 | 6e 74 20 74 68 65 20 66 6f 72 77 61 72 64 20 73 6c 61 73 68 65 73 20 69 6e 20 70 61 74 68 73 20 | nt.the.forward.slashes.in.paths. |
| 592a0 | 62 65 69 6e 67 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 4f 72 67 20 6d 61 72 6b 75 70 0a | being.interpreted.as.Org.markup. |
| 592c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 592e0 | 2c 6f 72 67 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,org-version.................... |
| 59300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 23 2b 65 6e 64 5f 65 78 61 6d 70 6c 65 22 0a 20 20 20 | ............."#+end_example".... |
| 59320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a | ............................."** |
| 59340 | 20 48 75 67 6f 20 56 65 72 73 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .Hugo.Version".................. |
| 59360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 23 2b 62 65 67 69 6e 5f 65 78 61 6d 70 6c 65 22 | ..............."#+begin_example" |
| 59380 | 20 3b 50 72 65 76 65 6e 74 20 74 68 65 20 66 6f 72 77 61 72 64 20 73 6c 61 73 68 65 73 20 69 6e | .;Prevent.the.forward.slashes.in |
| 593a0 | 20 70 61 74 68 73 20 62 65 69 6e 67 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 4f 72 67 20 | .paths.being.interpreted.as.Org. |
| 593c0 | 6d 61 72 6b 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | markup.......................... |
| 593e0 | 20 20 20 20 20 20 20 2c 68 75 67 6f 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 | .......,hugo-version............ |
| 59400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 23 2b 65 6e 64 5f 65 78 61 6d | ....................."#+end_exam |
| 59420 | 70 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ple"............................ |
| 59440 | 20 20 20 20 20 22 2a 2a 2a 20 4f 72 67 20 3d 6c 6f 61 64 2d 70 61 74 68 3d 20 73 68 61 64 6f 77 | ....."***.Org.=load-path=.shadow |
| 59460 | 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s".............................. |
| 59480 | 20 20 20 2c 28 6c 65 74 2a 20 28 28 73 74 72 20 28 6c 69 73 74 2d 6c 6f 61 64 2d 70 61 74 68 2d | ...,(let*.((str.(list-load-path- |
| 594a0 | 73 68 61 64 6f 77 73 20 3a 73 74 72 69 6e 67 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | shadows.:stringp)).............. |
| 594c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 2d | ...........................(str- |
| 594e0 | 6c 69 73 74 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 73 74 72 20 22 5c 6e 22 20 3a 6f 6d 69 | list.(split-string.str."\n".:omi |
| 59500 | 74 2d 6e 75 6c 6c 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t-nulls))....................... |
| 59520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 | ..................(org-shadow-st |
| 59540 | 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r."")).......................... |
| 59560 | 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 73 68 61 64 6f 77 20 73 74 72 2d 6c 69 | ..........(dolist.(shadow.str-li |
| 59580 | 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st)............................. |
| 595a0 | 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 | .........(when.(string-match-p." |
| 595c0 | 2e 2a 6f 72 67 2e 2b 68 69 64 65 73 2e 2b 6f 72 67 2e 2a 22 20 73 68 61 64 6f 77 29 0a 20 20 20 | .*org.+hides.+org.*".shadow).... |
| 595e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 59600 | 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 20 28 63 6f 6e 63 61 74 | ....(setq.org-shadow-str.(concat |
| 59620 | 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 20 73 68 61 64 6f 77 20 22 5c 6e 22 29 29 29 29 0a | .org-shadow-str.shadow."\n")))). |
| 59640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 59660 | 20 20 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 6f 72 67 2d 73 68 61 64 | ...(if.(org-string-nw-p.org-shad |
| 59680 | 6f 77 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ow-str)......................... |
| 596a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 69 64 65 6e | ...............(mapconcat.#'iden |
| 596c0 | 74 69 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tity............................ |
| 596e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 60 28 22 2a 57 61 72 6e 69 | .......................`("*Warni |
| 59700 | 6e 67 2a 3a 20 50 6f 73 73 69 62 6c 65 20 6d 69 78 65 64 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e | ng*:.Possible.mixed.installation |
| 59720 | 20 6f 66 20 4f 72 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .of.Org"........................ |
| 59740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 23 2b | ............................."#+ |
| 59760 | 62 65 67 69 6e 5f 65 78 61 6d 70 6c 65 22 20 3b 50 72 65 76 65 6e 74 20 74 68 65 20 66 6f 72 77 | begin_example".;Prevent.the.forw |
| 59780 | 61 72 64 20 73 6c 61 73 68 65 73 20 69 6e 20 70 61 74 68 73 20 62 65 69 6e 67 20 69 6e 74 65 72 | ard.slashes.in.paths.being.inter |
| 597a0 | 70 72 65 74 65 64 20 61 73 20 4f 72 67 20 6d 61 72 6b 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 | preted.as.Org.markup............ |
| 597c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 597e0 | 20 20 20 20 20 20 20 20 20 2c 28 6f 72 67 2d 74 72 69 6d 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 | .........,(org-trim.org-shadow-s |
| 59800 | 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tr)............................. |
| 59820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 23 2b 65 6e 64 5f 65 | ........................"#+end_e |
| 59840 | 78 61 6d 70 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xample"......................... |
| 59860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 53 74 75 | ............................"Stu |
| 59880 | 64 79 20 74 68 65 20 6f 75 74 70 75 74 20 6f 66 20 3d 4d 2d 78 20 6c 69 73 74 2d 6c 6f 61 64 2d | dy.the.output.of.=M-x.list-load- |
| 598a0 | 70 61 74 68 2d 73 68 61 64 6f 77 73 3d 2e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | path-shadows=.")................ |
| 598c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
| 598e0 | 20 20 20 22 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..."\n")........................ |
| 59900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 4e 6f 20 4f 72 67 20 6d 6f 64 65 20 73 68 61 64 6f | .............."No.Org.mode.shado |
| 59920 | 77 73 20 66 6f 75 6e 64 20 69 6e 20 3d 6c 6f 61 64 2d 70 61 74 68 3d 22 29 29 0a 20 20 20 20 20 | ws.found.in.=load-path="))...... |
| 59940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a 20 3d | ..........................."**.= |
| 59960 | 6f 78 2d 68 75 67 6f 3d 20 64 65 66 63 75 73 74 6f 6d 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ox-hugo=.defcustoms"............ |
| 59980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c | .....................,(format."| |
| 599a0 | 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | org-hugo-section................ |
| 599c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d | ......................|%S|".org- |
| 599e0 | 68 75 67 6f 2d 73 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hugo-section)................... |
| 59a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 | ..............,(format."|org-hug |
| 59a20 | 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o-use-code-for-kbd.............. |
| 59a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 75 73 | ...............|%S|".org-hugo-us |
| 59a60 | 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e-code-for-kbd)................. |
| 59a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 | ................,(format."|org-h |
| 59aa0 | 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 20 20 20 20 20 20 20 20 20 20 20 | ugo-preserve-filling............ |
| 59ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d | .................|%S|".org-hugo- |
| 59ae0 | 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | preserve-filling)............... |
| 59b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 | ..................,(format."|org |
| 59b20 | 2d 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 2d 77 73 20 20 20 20 20 20 20 20 | -hugo-delete-trailing-ws........ |
| 59b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 | ...................|%S|".org-hug |
| 59b60 | 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 2d 77 73 29 0a 20 20 20 20 20 20 20 20 20 20 | o-delete-trailing-ws)........... |
| 59b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 | ......................,(format." |
| 59ba0 | 7c 6f 72 67 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 20 | |org-hugo-prefer-hyphen-in-tags. |
| 59bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 | .......................|%S|".org |
| 59be0 | 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 29 0a 20 20 20 | -hugo-prefer-hyphen-in-tags).... |
| 59c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 | .............................,(f |
| 59c20 | 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e | ormat."|org-hugo-allow-spaces-in |
| 59c40 | 2d 74 61 67 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 | -tags.........................|% |
| 59c60 | 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 | S|".org-hugo-allow-spaces-in-tag |
| 59c80 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s).............................. |
| 59ca0 | 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 | ...,(format."|org-hugo-tag-proce |
| 59cc0 | 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ssing-functions................. |
| 59ce0 | 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e | ....|%S|".org-hugo-tag-processin |
| 59d00 | 67 2d 66 75 6e 63 74 69 6f 6e 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g-functions).................... |
| 59d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f | .............,(format."|org-hugo |
| 59d40 | 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -auto-set-lastmod............... |
| 59d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 61 75 74 | ..............|%S|".org-hugo-aut |
| 59d80 | 6f 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o-set-lastmod).................. |
| 59da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 | ...............,(format."|org-hu |
| 59dc0 | 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 74 6f 63 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | go-export-with-toc.............. |
| 59de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 65 | ................|%S|".org-hugo-e |
| 59e00 | 78 70 6f 72 74 2d 77 69 74 68 2d 74 6f 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xport-with-toc)................. |
| 59e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 | ................,(format."|org-h |
| 59e40 | 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 20 | ugo-export-with-section-numbers. |
| 59e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d | .................|%S|".org-hugo- |
| 59e80 | 65 78 70 6f 72 74 2d 77 69 74 68 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 29 0a 20 20 20 | export-with-section-numbers).... |
| 59ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 | .............................,(f |
| 59ec0 | 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f | ormat."|org-hugo-front-matter-fo |
| 59ee0 | 72 6d 61 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 | rmat..........................|% |
| 59f00 | 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 | S|".org-hugo-front-matter-format |
| 59f20 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )............................... |
| 59f40 | 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 | ..,(format."|org-hugo-default-st |
| 59f60 | 61 74 69 63 2d 73 75 62 64 69 72 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 20 | atic-subdirectory-for-externals. |
| 59f80 | 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 | ...|%S|".org-hugo-default-static |
| 59fa0 | 2d 73 75 62 64 69 72 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 29 0a 20 20 20 | -subdirectory-for-externals).... |
| 59fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 | .............................,(f |
| 59fe0 | 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d 66 69 6c 65 2d 65 | ormat."|org-hugo-external-file-e |
| 5a000 | 78 74 65 6e 73 69 6f 6e 73 2d 61 6c 6c 6f 77 65 64 2d 66 6f 72 2d 63 6f 70 79 69 6e 67 20 7c 25 | xtensions-allowed-for-copying.|% |
| 5a020 | 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d 66 69 6c 65 2d 65 78 74 65 6e | S|".org-hugo-external-file-exten |
| 5a040 | 73 69 6f 6e 73 2d 61 6c 6c 6f 77 65 64 2d 66 6f 72 2d 63 6f 70 79 69 6e 67 29 0a 20 20 20 20 20 | sions-allowed-for-copying)...... |
| 5a060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 | ...........................,(for |
| 5a080 | 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 20 20 20 20 20 20 | mat."|org-hugo-date-format...... |
| 5a0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c | ............................|%S| |
| 5a0c0 | 22 20 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 20 | ".org-hugo-date-format)......... |
| 5a0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 | ........................,(format |
| 5a100 | 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 20 20 20 | ."|org-hugo-paired-shortcodes... |
| 5a120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f | .........................|%S|".o |
| 5a140 | 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 29 0a 20 20 20 20 20 | rg-hugo-paired-shortcodes)...... |
| 5a160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 | ...........................,(for |
| 5a180 | 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 2d | mat."|org-hugo-suppress-lastmod- |
| 5a1a0 | 70 65 72 69 6f 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c | period......................|%S| |
| 5a1c0 | 22 20 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 | ".org-hugo-suppress-lastmod-peri |
| 5a1e0 | 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | od)............................. |
| 5a200 | 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 | ....,(format."|org-hugo-front-ma |
| 5a220 | 74 74 65 72 2d 66 6f 72 6d 61 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tter-format..................... |
| 5a240 | 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 | .....|%S|".org-hugo-front-matter |
| 5a260 | 2d 66 6f 72 6d 61 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -format))....................... |
| 5a280 | 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 | ........"\n"))..........(org-exp |
| 5a2a0 | 6f 72 74 2d 77 69 74 68 2d 74 6f 63 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 66 6f | ort-with-toc.nil)..........(info |
| 5a2c0 | 2d 6d 64 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | -md.(progn.....................( |
| 5a2e0 | 72 65 71 75 69 72 65 20 27 6f 78 2d 6d 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | require.'ox-md)................. |
| 5a300 | 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 73 74 72 69 6e 67 2d 61 73 20 69 6e 66 6f 2d 6f | ....(org-export-string-as.info-o |
| 5a320 | 72 67 20 27 6d 64 20 3a 62 6f 64 79 2d 6f 6e 6c 79 29 29 29 29 0a 20 20 20 20 28 6b 69 6c 6c 2d | rg.'md.:body-only)))).....(kill- |
| 5a340 | 6e 65 77 20 69 6e 66 6f 2d 6d 64 29 0a 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 25 73 22 20 69 | new.info-md).....(message."%s".i |
| 5a360 | 6e 66 6f 2d 6f 72 67 29 0a 20 20 20 20 69 6e 66 6f 2d 6f 72 67 29 29 0a 0a 0a 28 70 72 6f 76 69 | nfo-org).....info-org))...(provi |
| 5a380 | 64 65 20 27 6f 78 2d 68 75 67 6f 29 0a 0a 3b 3b 3b 20 6f 78 2d 68 75 67 6f 2e 65 6c 20 65 6e 64 | de.'ox-hugo)..;;;.ox-hugo.el.end |
| 5a3a0 | 73 20 68 65 72 65 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | s.here.......................... |
| 5a3c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a3e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a420 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a460 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a480 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a4a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a4c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a4e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a500 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a540 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a5a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a5c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a5e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a600 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a620 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a660 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a680 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a6a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a6c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a6e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a700 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a720 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a740 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a7a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a7c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a7e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a800 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a820 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a840 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a860 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a880 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a8a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a8c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a8e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a900 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a920 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a940 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a9a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a9c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5a9e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aa00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aa20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aa40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aa60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aa80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aaa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aac0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aae0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ab00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ab20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ab40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ab60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ab80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aba0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5abc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5abe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ac00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ac20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ac40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ac60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ac80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aca0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5acc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ace0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ad00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ad20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ad40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ad60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ad80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ada0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5adc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ade0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ae00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ae20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ae40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ae60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ae80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aea0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aec0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5aee0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5af00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5af20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5af40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5af60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5af80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5afa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5afc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5afe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b0a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b0c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b0e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b100 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b1a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b1c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b1e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b200 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b220 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b260 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b280 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b2a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b2c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b2e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b300 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b340 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b3a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b3c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b3e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b420 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b460 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b480 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b4a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b4c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b4e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b500 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b540 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b5a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b5c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b5e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b600 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b620 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b660 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b680 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b6a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b6c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b6e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b700 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b720 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b740 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b7a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b7c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b7e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b800 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b820 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b840 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b860 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b880 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b8a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b8c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b8e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b900 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b920 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b940 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b9a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b9c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5b9e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ba00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ba20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ba40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ba60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5ba80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5baa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bac0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bae0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bb00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bb20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bb40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bb60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bb80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bba0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bbc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bbe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bc00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bc20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bc40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bc60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bc80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bca0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bcc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bce0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bd00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bd20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bd40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bd60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bd80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bda0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bdc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bde0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5be00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5be20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5be40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5be60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5be80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bea0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bec0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bee0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bf00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bf20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bf40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bf60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bf80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bfa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bfc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5bfe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c0a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c0c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c0e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c100 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c1a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c1c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c1e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c200 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c220 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c260 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c280 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c2a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c2c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c2e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c300 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c340 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c3a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c3c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c3e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c420 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c460 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c480 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c4a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c4c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c4e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c500 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c540 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c5a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c5c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c5e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c600 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c620 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c660 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c680 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c6a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c6c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c6e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c700 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c720 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c740 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c7a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c7c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 5c7e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |