summaryrefslogtreecommitdiff
path: root/.localrepo/ox-hugo-20250814.1439.tar
blob: deff0a3aac7a93cbae36dd0f1625c0d4ff314955 (plain)
ofshex dumpascii
0000 6f 78 2d 68 75 67 6f 2d 32 30 32 35 30 38 31 34 2e 31 34 33 39 2f 00 00 00 00 00 00 00 00 00 00 ox-hugo-20250814.1439/..........
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 34 30 35 00 20 35 00 00 00 0000000.00000000000.012405..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 38 31 34 2e 31 34 33 39 2f 6f 72 67 2d 68 75 67 6f 2d 61 ox-hugo-20250814.1439/org-hugo-a
0220 75 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 uto-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 36 37 31 00 20 30 00 00 00 0002651.00000000000.017671..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 38 31 34 2e 31 34 33 39 2f 6f 78 2d 62 6c 61 63 6b 66 72 ox-hugo-20250814.1439/ox-blackfr
0a20 69 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 iday.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 36 33 31 00 20 30 00 00 00 0220207.00000000000.015631..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 ..............."\""."&quot;".(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 ..........."\""."&quot;".(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 %"."{&lbrace;%".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 "%}}"."%&rbrace;}".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:]]*&gt;"."\\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)."&nbsp
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 38 31 34 2e 31 34 33 39 2f 6f 78 2d 68 75 67 6f 2d 64 65 ox-hugo-20250814.1439/ox-hugo-de
12e20 70 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 precated.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 34 31 36 00 20 30 00 00 00 0051304.00000000000.016416..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 38 31 34 2e 31 34 33 39 2f 6f 78 2d 68 75 67 6f 2d 70 61 ox-hugo-20250814.1439/ox-hugo-pa
18420 6e 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 ndoc-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 35 31 31 00 20 30 00 00 00 0044244.00000000000.016511..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 38 31 34 2e 31 34 33 39 2f 6f 78 2d 68 75 67 6f 2d 70 6b ox-hugo-20250814.1439/ox-hugo-pk
1d020 67 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 g.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 37 30 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 35 30 37 32 00 20 30 00 00 00 0001070.00000000000.015072..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 38 31 34 2e 31 34 33 39 22 0a 20 20 age."ox-hugo"."20250814.1439"...
1d260 22 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 "Hugo.Markdown.Back-End.for.Org.
1d280 45 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 Export.Engine."...'((emacs.."26.
1d2a0 33 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 3").....(tomelr."0.4.3"))...:url
1d2c0 20 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 ."https://ox-hugo.scripter.co"..
1d2e0 20 3a 63 6f 6d 6d 69 74 20 22 36 34 39 39 65 33 35 62 62 30 34 62 65 63 32 36 32 39 65 35 31 33 .:commit."6499e35bb04bec2629e513
1d300 30 35 66 66 62 38 61 33 30 61 65 39 38 38 66 39 32 61 22 0a 20 20 3a 72 65 76 64 65 73 63 20 22 05ffb8a30ae988f92a"...:revdesc."
1d320 36 34 39 39 65 33 35 62 62 30 34 62 22 0a 20 20 3a 6b 65 79 77 6f 72 64 73 20 27 28 22 6f 72 67 6499e35bb04b"...:keywords.'("org
1d340 22 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 "."markdown"."docs")...:authors.
1d360 27 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 '(("Kaushal.Modi"..."kaushal.mod
1d380 69 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 i@gmail.com")..............("Mat
1d3a0 74 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 t.Price"..."moptop99@gmail.com")
1d3c0 29 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 )...:maintainers.'(("Kaushal.Mod
1d3e0 69 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 i"..."kaushal.modi@gmail.com")..
1d400 20 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 ................("Matt.Price"...
1d420 22 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 "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 38 31 34 2e 31 34 33 39 2f 6f 78 2d 68 75 67 6f 2e 65 6c ox-hugo-20250814.1439/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 36 36 36 31 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 34 33 34 31 00 20 30 00 00 00 0746661.00000000000.014341..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 38 31 34 2e 31 34 33 39 0a 3b 3b 20 50 61 age-Version:.20250814.1439.;;.Pa
1d8e0 63 6b 61 67 65 2d 52 65 76 69 73 69 6f 6e 3a 20 36 34 39 39 65 33 35 62 62 30 34 62 0a 3b 3b 20 ckage-Revision:.6499e35bb04b.;;.
1d900 50 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 Package-Requires:.((emacs."26.3"
1d920 29 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 ).(tomelr."0.4.3")).;;.Keywords:
1d940 20 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 .Org,.markdown,.docs.;;.URL:.htt
1d960 70 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 ps://ox-hugo.scripter.co..;;.Thi
1d980 73 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 s.file.is.not.part.of.GNU.Emacs.
1d9a0 0a 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 ..;;.This.program.is.free.softwa
1d9c0 72 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 re;.you.can.redistribute.it.and/
1d9e0 6f 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 or.modify.;;.it.under.the.terms.
1da00 6f 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 of.the.GNU.General.Public.Licens
1da20 65 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 e.as.published.by.;;.the.Free.So
1da40 66 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 ftware.Foundation,.either.versio
1da60 6e 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 n.3.of.the.License,.or.;;.(at.yo
1da80 75 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 ur.option).any.later.version...;
1daa0 3b 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 ;.This.program.is.distributed.in
1dac0 20 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 .the.hope.that.it.will.be.useful
1dae0 2c 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 ,.;;.but.WITHOUT.ANY.WARRANTY;.w
1db00 69 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 ithout.even.the.implied.warranty
1db20 20 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 .of.;;.MERCHANTABILITY.or.FITNES
1db40 53 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 S.FOR.A.PARTICULAR.PURPOSE...See
1db60 20 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 .the.;;.GNU.General.Public.Licen
1db80 73 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 se.for.more.details...;;.You.sho
1dba0 75 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 uld.have.received.a.copy.of.the.
1dbc0 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 0a 3b 3b 20 61 6c GNU.General.Public.License.;;.al
1dbe0 6f 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 ong.with.this.program...If.not,.
1dc00 73 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 see.<https://www.gnu.org/license
1dc20 73 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 s/>...;;;.Commentary:..;;.ox-hug
1dc40 6f 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 o.implements.a.Markdown.back-end
1dc60 20 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 .for.Org.exporter...The.;;.expor
1dc80 74 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 ted.Markdown.is.compatible.with.
1dca0 74 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 the.Hugo.static.site.generator.;
1dcc0 3b 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 ;.(https://gohugo.io/)...This.ex
1dce0 70 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 porter.also.generates.the.post.;
1dd00 3b 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 ;.front-matter.in.TOML.or.YAML..
1dd20 0a 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 .;;.To.start.using.this.exporter
1dd40 2c 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 ,.add.the.below.to.your.Emacs.co
1dd60 6e 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 nfig:.;;.;;...(with-eval-after-l
1dd80 6f 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 oad.'ox.;;.....(require.'ox-hugo
1dda0 29 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 )).;;.;;.With.the.above.evaluate
1ddc0 64 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 d,.the.ox-hugo.exporter.options.
1dde0 77 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 will.be.;;.available.in.the.Org.
1de00 45 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 Export.Dispatcher...The.ox-hugo.
1de20 65 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 export.;;.commands.have.bindings
1de40 20 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 .beginning.with."H".(for.Hugo)..
1de60 3b 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 ;;.;;.#.Blogging.Flows.;;.;;.1..
1de80 6f 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 one-post-per-subtree.flow.::.A.s
1dea0 69 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 ingle.Org.file.can.have.multiple
1dec0 0a 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 .;;......Org.subtrees.which.expo
1dee0 72 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 rt.to.individual.Hugo.posts...Ea
1df00 63 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 ch.of.;;......those.subtrees.tha
1df20 74 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 t.has.the.EXPORT_FILE_NAME.prope
1df40 72 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 rty.set.is.;;......called.a.'val
1df60 69 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 id.Hugo.post.subtree'.in.this.pa
1df80 63 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 ckage.and.its.;;......documentat
1dfa0 69 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 ion..;;.;;.2..one-post-per-file.
1dfc0 66 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 flow.::.A.single.Org.file.export
1dfe0 73 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 s.to.only.;;......*one*.Hugo.pos
1e000 74 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 t...An.Org.file.intended.to.be.e
1e020 78 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 xported.by.this.;;......flow.mus
1e040 74 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 t.not.have.any.'valid.Hugo.post.
1e060 73 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 subtrees',.and.instead.;;......m
1e080 75 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 ust.have.the.#+title.property.se
1e0a0 74 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 t..;;.;;.#.Commonly.used.export.
1e0c0 63 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 commands.;;.;;.##.For.both.one-p
1e0e0 6f 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 ost-per-subtree.and.one-post-per
1e100 2d 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 -file.flows.;;.;;....-.C-c.C-e.H
1e120 20 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 .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 20 2d 20 49 66 20 70 6f 69 6e 74 20 .....................-.If.point.
1e160 69 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 is.in.a.'valid.Hugo.post.subtree
1e180 27 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 ',.;;........................exp
1e1a0 6f 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 ort.that.subtree.to.a.Hugo.post.
1e1c0 69 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 in.;;........................Mar
1e1e0 6b 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 kdown..;;......................-
1e200 20 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 .If.the.file.is.intended.to.be.e
1e220 78 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 xported.as.a.;;.................
1e240 20 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 .......whole.(i.e..has.the.#+tit
1e260 6c 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 le.keyword),.;;.................
1e280 20 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 .......export.the.whole.Org.file
1e2a0 20 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 .to.a.Hugo.post.in.;;...........
1e2c0 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 0a 3b 3b 20 20 20 20 .............Markdown..;;.;;....
1e2e0 2d 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 -.C-c.C-e.H.A..->.Export.*all*."
1e300 57 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 What.I.Mean".;;.................
1e320 20 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 .....-.If.the.Org.file.has.one.o
1e340 72 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 r.more.'valid.Hugo.;;...........
1e360 20 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 .............post.subtrees',.exp
1e380 6f 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 ort.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 20 4d 61 72 6b 64 6f 77 6e 2e 0a 3b 3b ....................Markdown..;;
1e3c0 20 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 ......................-.If.the.f
1e3e0 69 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 ile.is.intended.to.be.exported.a
1e400 73 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 s.a.;;........................wh
1e420 6f 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 ole.(i.e..no.'valid.Hugo.post.su
1e440 62 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 btrees'.;;......................
1e460 20 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 ..at.all,.and.has.the.#+title.ke
1e480 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 20 20 20 20 yword),.;;......................
1e4a0 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 74 6f 20 61 ..export.the.whole.Org.file.to.a
1e4c0 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 20 20 20 20 .Hugo.post.in.;;................
1e4e0 20 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 ........Markdown..;;.;;.##.For.o
1e500 6e 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 nly.the.one-post-per-file.flow.;
1e520 3b 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 ;.;;....-.C-c.C-e.H.h..->.Export
1e540 20 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 .the.Org.file.to.a.Hugo.post.in.
1e560 4d 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 Markdown...;;.Do.M-x.customize-g
1e580 72 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 roup,.and.select.`org-export-hug
1e5a0 6f 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 o'.to.see.the.;;.available.custo
1e5c0 6d 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 mization.options.for.this.packag
1e5e0 65 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 e...;;.See.this.package's.websit
1e600 65 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 e.for.more.instructions.and.exam
1e620 70 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 ples:.;;.;;...https://ox-hugo.sc
1e640 72 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 ripter.co..;;;.Code:..(require.'
1e660 74 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 tomelr).......................;F
1e680 6f 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 or.`tomelr-encode'..(require.'ox
1e6a0 2d 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 -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 20 3b 46 6f 72 20 60 66 66 61 .......................;For.`ffa
1e6e0 70 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 p-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 20 3b 46 6f 72 20 60 6f 72 67 2d ......................;For.`org-
1e720 62 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 babel-parse-header-arguments'.;;
1e740 20 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 .`org-refile.el'.is.new.in.Org.9
1e760 2e 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 .4.;;.https://git.savannah.gnu.o
1e780 72 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 rg/cgit/emacs/org-mode.git/commi
1e7a0 74 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 t/?id=f636cf91b6cbe322eca56e2328
1e7c0 33 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 3f4614548c9d65.(require.'org-ref
1e7e0 69 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 ile.nil.:noerror)......;For.`org
1e800 2d 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 -get-outline-path'..(require.'or
1e820 67 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 g).(require.'org-id)............
1e840 20 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 ...........;For.`org-id-find'..;
1e860 3b 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 ;.For.`org-info-emacs-documents'
1e880 2c 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 ,.`org-info-other-documents'.;;.
1e8a0 6f 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 org-info.el.got.renamed.to.ol-in
1e8c0 66 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 fo.el.in.Org.version.9.3...Remov
1e8e0 65 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 e.;;.below.if.condition.after.th
1e900 65 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 e.minimum.emacs.dependency.is.ra
1e920 69 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 ised.to.;;.emacs.27.x..The.Org.v
1e940 65 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 ersion.shipped.with.Emacs.26.3.i
1e960 73 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 s.9.1.9..(if.(version<.(org-vers
1e980 69 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 ion)."9.3").....(require.'org-in
1e9a0 66 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 fo)...(require.'ol-info))..(decl
1e9c0 61 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 are-function.org-hugo-pandoc-cit
1e9e0 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 22 6f 78 2d 68 75 67 e--parse-citations-maybe."ox-hug
1ea00 6f 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 o-pandoc-cite").(declare-functio
1ea20 6e 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 n.org-hugo-pandoc-cite--meta-dat
1ea40 61 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 a-generator."ox-hugo-pandoc-cite
1ea60 22 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 ")..(require.'ox-hugo-deprecated
1ea80 29 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 )...(defvar.ffap-url-regexp)....
1eaa0 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 70 69 6c ............;Silence.byte-compil
1eac0 65 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 er...;;.Using.the.correct.functi
1eae0 6f 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 on.for.getting.inherited.Org.tag
1eb00 73 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 s..;;.Starting.Org.9.2,.`org-get
1eb20 2d 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 -tags'.returns.all.the.inherited
1eb40 20 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 .tags.;;.instead.of.returning.on
1eb60 6c 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 ly.the.local.tags.i.e..only.the.
1eb80 63 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 current.;;.heading.tags..;;.http
1eba0 73 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 s://git.savannah.gnu.org/cgit/em
1ebc0 61 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 acs/org-mode.git/commit/?id=fbe5
1ebe0 36 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 6f89f75a8979e0ba48001a822518df2c
1ec00 36 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 66fe..;;.For.Org.<=.9.1,.`org-ge
1ec20 74 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 t-tags'.returned.a.list.of.tags.
1ec40 2a 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 *only*.at.;;.the.current.heading
1ec60 2c 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 ,.while.`org-get-tags-at'.return
1ec80 65 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 ed.inherited.;;.tags.too..(with-
1eca0 6e 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 no-warnings...(if.(fboundp.#'org
1ecc0 2d 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 --get-local-tags)...;If.using.Or
1ece0 67 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 g.9.2+.......(defalias.'org-hugo
1ed00 2d 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 --get-tags.'org-get-tags).....(d
1ed20 65 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 efalias.'org-hugo--get-tags.'org
1ed40 2d 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 -get-tags-at)))..;;.`org-back-to
1ed60 2d 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 -heading-or-point-min'.was.intro
1ed80 64 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 duced.in.Org.9.5.in.;;.https://g
1eda0 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 63 73 2f 6f it.savannah.gnu.org/cgit/emacs/o
1edc0 72 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 rg-mode.git/commit/?id=1bdff9f73
1ede0 64 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 dc1e7ff625a90e3e61350bdea99f29c.
1ee00 0a 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 .;;.If.a.user.is.using.a.slightl
1ee20 79 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 y.older.version.of.Org.(like.9.3
1ee40 29 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 ),.;;.define.it..(unless.(fbound
1ee60 70 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 p.#'org-back-to-heading-or-point
1ee80 2d 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 -min)...(defun.org-back-to-headi
1eea0 6e 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 ng-or-point-min.(&optional.invis
1eec0 69 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 ible-ok)....."Go.back.to.heading
1eee0 20 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 .or.first.point.in.buffer..If.po
1ef00 69 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 int.is.before.first.heading.go.t
1ef20 6f 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 o.first.point.in.buffer.instead.
1ef40 6f 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 of.back.to.heading.".....(if.(or
1ef60 67 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 g-before-first-heading-p).......
1ef80 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 20 20 20 20 20 ..(goto-char.(point-min)).......
1efa0 28 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 (org-back-to-heading.invisible-o
1efc0 6b 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 k))))..(defvar.org-hugo--subtree
1efe0 2d 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 -coord.nil..."Variable.to.store.
1f000 74 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 the.current.valid.Hugo.subtree.c
1f020 6f 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 oordinates..It.holds.the.value.r
1f040 65 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 eturned.by.`org-hugo--get-post-s
1f060 75 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 ubtree-coordinates'.")..(defvar.
1f080 6f 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 org-hugo--subtree-count.0..."Var
1f0a0 69 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 iable.to.count.of.number.of.subt
1f0c0 72 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 rees.getting.exported..This.vari
1f0e0 61 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 able.is.used.when.exporting.all.
1f100 73 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 subtrees.in.a.file.")..(defvar.o
1f120 72 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 rg-hugo--fm.nil..."Variable.to.s
1f140 74 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 tore.the.current.Hugo.post's.fro
1f160 6e 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 nt-matter.string...This.variable
1f180 20 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 .is.used.to.cache.the.original.o
1f1a0 78 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 x-hugo.generated.front-matter.th
1f1c0 61 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 at's.used.after.Pandoc.Citation.
1f1e0 70 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 parsing.")..(defvar.org-hugo--fm
1f200 2d 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 -yaml.nil..."Variable.to.store.t
1f220 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 74 2d 6d 61 74 he.current.Hugo.post's.front-mat
1f240 74 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 ter.string.in.YAML.format...Pand
1f260 6f 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 oc.understands.meta-data.only.in
1f280 20 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 .YAML.format...So.when.Pandoc.Ci
1f2a0 74 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 tations.are.enabled,.Pandoc.is.h
1f2c0 61 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 anded.over.the.file.with.this.YA
1f2e0 4d 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 ML.front-matter.")..(defvar.org-
1f300 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 20 22 5c hugo--internal-list-separator."\
1f320 6e 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 n"..."String.used.to.separate.el
1f340 65 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 ements.in.list.variables...Examp
1f360 6c 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 les.are.internal.variables.holdi
1f380 6e 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 ng.Hugo.tags,.categories.and.key
1f3a0 77 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 words...This.variable.is.for.int
1f3c0 65 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 ernal.use.only,.and.must.not.be.
1f3e0 6d 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 modified.")..(defvar.org-hugo--d
1f400 61 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 ate-time-regexp.(concat."\\`[[:d
1f420 69 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 igit:]]\\{4\\}-[[:digit:]]\\{2\\
1f440 7d 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 }-[[: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 20 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 ."\\(?:T[[:digit:]]\\{2\\}:[[:di
1f4a0 67 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 git:]]\\{2\\}:[[:digit:]]\\{2\\}
1f4c0 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 "...............................
1f4e0 20 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 ............."\\(?:Z\\|[+-][[:di
1f500 67 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 git:]]\\{2\\}:[[:digit:]]\\{2\\}
1f520 5c 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 \\)*\\)*\\'")..."Regexp.to.match
1f540 20 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 .the.Hugo.time.stamp.strings...R
1f560 65 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 eference:.https://tools.ietf.org
1f580 2f 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 /html/rfc3339#section-5.8..Examp
1f5a0 6c 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 les:...2017-07-31...2017-07-31T1
1f5c0 37 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 7:05:38...2017-07-31T17:05:38Z..
1f5e0 20 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 .2017-07-31T17:05:38+04:00...201
1f600 37 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 7-07-31T17:05:38-04:00.")..(defv
1f620 61 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 ar.org-hugo--trim-pre-marker."<!
1f640 2d 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 --.trim-pre.-->"..."Special.stri
1f660 6e 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 ng.to.mark.where.whitespace.shou
1f680 6c 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 ld.be.trimmed.before.an.element.
1f6a0 22 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 ")..(defvar.org-hugo--trim-post-
1f6c0 6d 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 marker."<!--.trim-post.-->"..."S
1f6e0 70 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 pecial.string.to.mark.where.whit
1f700 65 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 espace.should.be.trimmed.after.a
1f720 6e 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 n.element.")..(defvar.org-hugo--
1f740 6f 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 opened-buffers.'()..."List.of.bu
1f760 66 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 ffers.opened.during.an.export,.w
1f780 68 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 hich.will.be.auto-closed.at.the.
1f7a0 65 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 end...An.export.operation.might.
1f7c0 6e 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 need.to.open.files.for.resolving
1f7e0 20 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 .links.pointing.to.other.Org.fil
1f800 65 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 es.or.temporary.buffers.for.pre-
1f820 70 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 processing.an.Org.file...Each.bu
1f840 66 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 ffer.opened.during.an.Ox-Hugo.ex
1f860 70 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 port.gets.added.to.this.list,.an
1f880 64 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 d.they.all.are.auto-closed.at.th
1f8a0 65 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 e.end.of.the.export.in.`org-hugo
1f8c0 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 27 2e 22 29 --after-all-exports-function'.")
1f8e0 0a 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 ..(defvar.org-hugo--disable-afte
1f900 72 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 r-all-exports-hook.nil..."If.set
1f920 2c 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 ,.`org-hugo--after-all-exports-f
1f940 75 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 unction'.function.is.not.called.
1f960 0a 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 ..This.variable.is.set.internall
1f980 79 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 y.by.`org-hugo-export-wim-to-md'
1f9a0 0a 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 .when.its.ALL-SUBTREES.arg.is.se
1f9c0 74 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 t.to.a.non-nil.value...Setting.t
1f9e0 68 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 his.to.non-nil.will.lead.to.slow
1fa00 20 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 .or.incorrect.exports...This.var
1fa20 69 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 iable.is.for.internal.use.only,.
1fa40 61 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 and.must.not.be.modified.")..(de
1fa60 66 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 fvar.org-hugo--all-subtrees-expo
1fa80 72 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 rt--functions-to-silence...'(org
1faa0 2d 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 -babel-exp-src-block.;Don't.prin
1fac0 74 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 t."org-babel-exp.process...".mes
1fae0 73 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 sages.....write-region..........
1fb00 20 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 ..;Don't.print."Wrote...".messag
1fb20 65 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 es.....table-generate-source...;
1fb40 44 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 Don't.print."Generating.source..
1fb60 2e 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 .".messages.....)..."List.of.fun
1fb80 63 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 ctions.to.silence.in.Echo.and.Me
1fba0 73 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 ssages.buffers...These.functions
1fbc0 20 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 .are.silenced.only.when.ALL-SUBT
1fbe0 52 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 REES.export.is.done.")..(defcons
1fc00 74 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 t.org-hugo--preprocess-buffer.t.
1fc20 20 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 .."Enable.pre-processing.of.the.
1fc40 63 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 current.Org.buffer...This.variab
1fc60 6c 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 le.needs.to.be.non-nil.for.the.s
1fc80 75 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 upport.of.cross-subtree.Org.inte
1fca0 72 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 rnal.links.when.using.the.subtre
1fcc0 65 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 e-based.export.flow.")..(defvar.
1fce0 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 20 6e 69 org-hugo--preprocessed-buffer.ni
1fd00 6c 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 l..."Name.of.the.pre-processed.b
1fd20 75 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 uffer.")..(defconst.org-hugo--pr
1fd40 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 66 eprocessed-buffer-dummy-file-suf
1fd60 66 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 fix.".pre-processed.org"..."Dumm
1fd80 79 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 y.suffix.(including.file.extensi
1fda0 6f 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 on).for.pre-processed.buffers...
1fdc0 44 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 Dummy.Org.file.paths.are.created
1fde0 20 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 .in.`org-hugo--get-pre-processed
1fe00 2d 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 -buffer'.by.appending.this.varia
1fe20 62 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 ble.to.the.link.targets.out.of.t
1fe40 68 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 he.current.subtree.scope.")....;
1fe60 3b 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 ;;.Obsoletions..(define-obsolete
1fe80 2d 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 -variable-alias.'org-hugo-defaul
1fea0 74 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 t-section-directory.'org-hugo-se
1fec0 63 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 ction."Oct.31,.2018").(define-ob
1fee0 73 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 solete-function-alias.'org-hugo-
1ff00 68 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 headline.'org-hugo-heading."Jan.
1ff20 33 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 3,.2022").....;;;.User-Configura
1ff40 62 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 ble.Variables..(defgroup.org-exp
1ff60 6f 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 ort-hugo.nil..."Options.for.expo
1ff80 72 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 rting.Org.mode.files.to.Hugo-com
1ffa0 70 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 patible.Markdown."...:tag."Org.E
1ffc0 78 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 xport.Hugo"...:group.'org-export
1ffe0 0a 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 ...:version."25.2")..(defcustom.
20000 6f 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 org-hugo-base-dir.nil..."Base.di
20020 72 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 rectory.for.Hugo...Set.either.th
20040 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 45 5f 44 49 52 20 67 is.value,.or.the.HUGO_BASE_DIR.g
20060 6c 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 lobal.property.for.export."...:g
20080 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 27 64 roup.'org-export-hugo...:type.'d
200a0 69 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 irectory).;;;###autoload.(put.'o
200c0 72 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 rg-hugo-base-dir.'safe-local-var
200e0 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-
20100 68 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 hugo-content-folder."content"...
20120 22 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 "Content.folder.for.Hugo...Set.e
20140 69 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 ither.this.value,.or.the.HUGO_BA
20160 53 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 SE_CONTENT_FOLDER.global.propert
20180 79 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 y.for.export."...:group.'org-exp
201a0 6f 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 ort-hugo...:type.'string).;;;###
201c0 61 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 autoload.(put.'org-hugo-content-
201e0 66 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 folder.'safe-local-variable.'str
20200 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 67 6f 6c 64 6d ingp)..(defcustom.org-hugo-goldm
20220 61 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 ark.t..."Enable.Goldmark.or.Comm
20240 6f 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 onmark.compatible.Markdown.expor
20260 74 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 t...When.nil,.the.hacks.necessar
20280 79 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 y.for.Blackfriday.Markdown.proce
202a0 73 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 ssing.are.enabled...If.using.Hug
202c0 6f 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 o.v0.60.0.(released.Nov.2019),.k
202e0 65 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 eep.the.default.value...https://
20300 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 64 github.com/kaushalmodi/ox-hugo/d
20320 69 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 iscussions/485."...:group.'org-e
20340 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 3b xport-hugo...:type.'boolean).;;;
20360 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 67 6f 6c 64 6d ###autoload.(put.'org-hugo-goldm
20380 61 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 ark.'safe-local-variable.'boolea
203a0 6e 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 np)..(defcustom.org-hugo-headlin
203c0 65 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 e-anchor.t..."Enable.anchor.for.
203e0 68 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 headline"...:group.'org-export-h
20400 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 23 23 61 75 74 6f ugo...:type.'boolean).;;;###auto
20420 6c 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 load.(put.'org-hugo-headline-anc
20440 68 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 hor.'safe-local-variable.'boolea
20460 6e 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 np)..(defcustom.org-hugo-section
20480 20 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 ."posts"..."Default.section.for.
204a0 48 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 Hugo.posts...This.variable.is.th
204c0 65 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 e.name.of.the.directory.under.th
204e0 65 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 e.\"content/\".directory.where.a
20500 6c 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 ll.Hugo.posts.should.go.by.defau
20520 6c 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 lt."...:group.'org-export-hugo..
20540 20 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 .:type.'directory).;;;###autoloa
20560 64 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 d.(put.'org-hugo-section.'safe-l
20580 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 66 63 75 73 ocal-variable.'stringp)..(defcus
205a0 74 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 tom.org-hugo-front-matter-format
205c0 20 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 ."toml"..."Front-matter.format..
205e0 54 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 This.variable.can.be.set.to.eith
20600 65 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 er.\"toml\".or.\"yaml\"."...:gro
20620 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 63 68 up.'org-export-hugo...:type.'(ch
20640 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 67 20 22 54 4f 4d 4c oice...........(const.:tag."TOML
20660 22 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 "."toml")...........(const.:tag.
20680 22 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 "YAML"."yaml"))).;;;###autoload.
206a0 28 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 (put.'org-hugo-front-matter-form
206c0 61 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 at.'safe-local-variable.'stringp
206e0 29 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 )..(defcustom.org-hugo-footer.""
20700 0a 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 ..."String.to.be.appended.at.the
20720 20 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 .end.of.each.Hugo.post...The.str
20740 69 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 ing.needs.to.be.in.a.Hugo-compat
20760 69 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 ible.Markdown.format.or.HTML."..
20780 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
207a0 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 74 20 27 6f .'string).;;;###autoload.(put.'o
207c0 72 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 rg-hugo-footer.'safe-local-varia
207e0 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 75 ble.'stringp)..(defcustom.org-hu
20800 67 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 go-preserve-filling.t..."When.no
20820 6e 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 n-nil,.text.filling.done.in.Org.
20840 77 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 will.be.retained.in.Markdown."..
20860 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
20880 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.'
208a0 6f 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 org-hugo-preserve-filling.'safe-
208c0 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 28 64 65 66 63 local-variable.'booleanp)..(defc
208e0 75 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 ustom.org-hugo-delete-trailing-w
20900 73 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 s.t..."When.non-nil,.delete.trai
20920 6c 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 ling.whitespace.in.Markdown.outp
20940 75 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 ut..Trailing.empty.lines.at.the.
20960 65 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 end.of.the.Markdown.output.are.a
20980 6c 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 lso.deleted...One.might.want.to.
209a0 73 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 set.this.variable.to.nil.if.they
209c0 20 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 .want.to.preserve.the.trailing.w
209e0 68 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 hitespaces.in.Markdown.for.the.p
20a00 75 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 urpose.of.forcing.line-breaks...
20a20 54 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 The.trailing.whitespace.deleting
20a40 20 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 .is.skipped.if.`org-export-prese
20a60 72 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 rve-breaks'.is.set.to.non-nil;.e
20a80 69 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 ither.via.that.variable.or.via.t
20aa0 68 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 he.OPTIONS.keyword.\"\\n:t\".(Se
20ac0 65 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 e.(org).Export.settings)...\(In.
20ae0 62 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 below.Markdown,.underscores.are.
20b00 75 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 used.to.represent.spaces.)......
20b20 61 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 abc__.....def__..Those.trailing.
20b40 77 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 whitespaces.render.to.\"<br./>\"
20b60 20 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 .tags.in.the.Hugo.generated.HTML
20b80 2e 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 ...But.the.same.result.can.also.
20ba0 62 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 be.achived.by.using.the.Org.Vers
20bc0 65 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 e.block.or.Blackfriday.hardLineB
20be0 72 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 reak.extension."...:group.'org-e
20c00 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 3b xport-hugo...:type.'boolean).;;;
20c20 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 64 65 6c 65 74 ###autoload.(put.'org-hugo-delet
20c40 65 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 e-trailing-ws.'safe-local-variab
20c60 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
20c80 67 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 go-use-code-for-kbd.nil..."When.
20ca0 6e 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 non-nil,.~text~.will.translate.t
20cc0 6f 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 o.<kbd>text</kbd>."...:group.'or
20ce0 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 61 6e 29 0a g-export-hugo...:type.'boolean).
20d00 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 6f 2d 75 73 ;;;###autoload.(put.'org-hugo-us
20d20 65 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 e-code-for-kbd.'safe-local-varia
20d40 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 2d 68 ble.'booleanp)..(defcustom.org-h
20d60 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 74 0a 20 20 22 57 68 ugo-allow-spaces-in-tags.t..."Wh
20d80 65 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 en.non-nil,.replace.double.under
20da0 73 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 scores.in.Org.tags.with.spaces..
20dc0 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 6e 67 2d 66 .See.`org-hugo--tag-processing-f
20de0 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 27 20 66 6f 72 n-replace-with-spaces-maybe'.for
20e00 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 72 69 61 62 6c .more.information...This.variabl
20e20 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 20 63 61 74 65 e.affects.the.Hugo.tags.and.cate
20e40 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 69 6e 67 20 74 gories.(set.via.Org.tags.using.t
20e60 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 20 27 6f 72 67 he.\"@\".prefix)."...:group.'org
20e80 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).;
20ea0 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 61 6c 6c ;;###autoload.(put.'org-hugo-all
20ec0 6f 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 ow-spaces-in-tags.'safe-local-va
20ee0 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 72 riable.'booleanp)..(defcustom.or
20f00 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 74 0a 20 g-hugo-prefer-hyphen-in-tags.t..
20f20 20 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 ."When.non-nil,.replace.single.u
20f40 6e 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 nderscores.in.Org.tags.with.hyph
20f60 65 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 ens...See.`org-hugo--tag-process
20f80 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 79 62 ing-fn-replace-with-hyphens-mayb
20fa0 65 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 e'.for.more.information...This.v
20fc0 61 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 ariable.affects.the.Hugo.tags.an
20fe0 64 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 d.categories.(set.via.Org.tags.u
21000 73 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 sing.the.\"@\".prefix)."...:grou
21020 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 62 6f 6f 6c p.'org-export-hugo...:type.'bool
21040 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 72 67 2d 68 75 ean).;;;###autoload.(put.'org-hu
21060 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 27 73 61 66 65 2d 6c go-prefer-hyphen-in-tags.'safe-l
21080 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
210a0 73 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 stom.org-hugo-tag-processing-fun
210c0 63 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 ctions.'(org-hugo--tag-processin
210e0 67 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 g-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 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 ..............org-hugo--tag-proc
21140 65 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 essing-fn-replace-with-hyphens-m
21160 61 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 aybe)..."List.of.functions.that.
21180 61 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 are.called.in.order.to.process.t
211a0 68 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 he.Org.tags..Each.function.has.t
211c0 6f 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 o.accept.two.arguments:..Arg.1:.
211e0 54 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 TAG-LIST.which.is.a.list.of.Org.
21200 74 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 tags.of.the.type........\(\"TAG1
21220 5c 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 \".\"TAG2\"...)..Arg.2:.INFO.whi
21240 63 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 ch.is.a.plist.holding.contextual
21260 20 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 .information...Each.function.sho
21280 75 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 uld.then.return.a.list.of.string
212a0 73 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 s,.which.would.be.processed.form
212c0 20 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 .of.TAG-LIST...All.the.functions
212e0 20 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 .are.called.in.order,.and.the.ou
21300 74 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 tput.of.one.function.is.fed.as.t
21320 68 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 he.TAG-LIST.input.of.the.next.ca
21340 6c 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 lled.function...The.`org-hugo--t
21360 61 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 ag-processing-fn-replace-with-sp
21380 61 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 aces-maybe'.function.skips.any.p
213a0 72 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 rocessing.and.returns.its.input.
213c0 54 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 TAG-LIST.as.it.is.if.`org-hugo-a
213e0 6c 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 llow-spaces-in-tags'.is.nil...Th
21400 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 2d 72 e.`org-hugo--tag-processing-fn-r
21420 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 27 0a 66 75 6e 63 74 eplace-with-hyphens-maybe'.funct
21440 69 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 ion.skips.any.processing.and.ret
21460 75 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 urns.its.input.TAG-LIST.as.it.is
21480 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 74 .if.`org-hugo-prefer-hyphen-in-t
214a0 61 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 ags'.is.nil."...:group.'org-expo
214c0 72 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 rt-hugo...:type.'(repeat.(functi
214e0 6f 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 on)))..(defcustom.org-hugo-auto-
21500 73 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 set-lastmod.nil..."When.non-nil,
21520 20 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 .set.the.lastmod.field.in.front-
21540 6d 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 matter.to.current.time."...:grou
21560 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 62 6f 6f 6c p.'org-export-hugo...:type.'bool
21580 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 72 67 2d 68 75 ean).;;;###autoload.(put.'org-hu
215a0 67 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 go-auto-set-lastmod.'safe-local-
215c0 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 74 6f 6d 20 variable.'booleanp)..(defcustom.
215e0 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
21600 20 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 .0.0..."Suppressing.period.(in.s
21620 65 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 econds).for.adding.the.lastmod.f
21640 72 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 ront-matter...The.suppressing.pe
21660 72 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 riod.is.calculated.as.a.delta.be
21680 74 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 tween.the.\"date\".and.auto-calc
216a0 75 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 ulated.\"lastmod\".values...This
216c0 20 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 .value.can.be.0.0.or.a.positive.
216e0 66 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 float...The.default.value.is.0.0
21700 20 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 .(seconds),.which.means.that.the
21720 20 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 .lastmod.parameter.will.be.added
21740 20 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 .to.front-matter.even.if.the.pos
21760 74 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 t.is.modified.within.just.0.1.se
21780 63 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 conds.after.the.initial.creation
217a0 20 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 .of.it.(when.the.\"date\".is.set
217c0 29 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 )...If.the.value.is.86400.0,.the
217e0 20 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 .lastmod.parameter.will.not.be.a
21800 64 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 dded.to.the.front-matter.within.
21820 32 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 24.hours.from.the.initial.export
21840 69 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 ing...This.variable.is.effective
21860 20 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 .only.if.auto-setting.of.the.\"l
21880 61 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 astmod\".parameter.is.enabled.i.
218a0 65 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 e..if.`org-hugo-auto-set-lastmod
218c0 27 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 '.or.`EXPORT_HUGO_AUTO_SET_LASTM
218e0 4f 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 OD'.is.non-nil."...:group.'org-e
21900 78 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 xport-hugo...:type.'float).;;;##
21920 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 73 75 70 70 72 65 73 #autoload.(put.'org-hugo-suppres
21940 73 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 s-lastmod-period.'safe-local-var
21960 69 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 iable.'floatp)..(defcustom.org-h
21980 75 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 ugo-export-with-toc.nil..."When.
219a0 6e 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 non-nil,.Markdown.format.TOC.wil
219c0 6c 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 l.be.inserted...The.TOC.contains
219e0 20 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 .headings.with.levels.up.to`org-
21a00 65 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 export-headline-levels'...When.a
21a20 6e 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 n.integer,.include.levels.up.to.
21a40 4e 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 N.in.the.toc,.this.may.then.be.d
21a60 69 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 ifferent.from.`org-export-headli
21a80 6e 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 ne-levels',.but.it.will.not.be.a
21aa0 6c 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 llowed.to.be.larger.than.the.num
21ac0 62 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 ber.of.heading.levels...When.nil
21ae0 2c 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 ,.no.table.of.contents.is.made..
21b00 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 74 20 77 69 74 .This.option.can.also.be.set.wit
21b20 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 20 5c 22 74 6f h.the.OPTIONS.keyword,.e.g..\"to
21b40 63 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 c:nil\",.\"toc:t\".or.\"toc:3\".
21b60 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
21b80 79 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 ype.'(choice...........(const.:t
21ba0 61 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 ag."No.Table.of.Contents".nil)..
21bc0 20 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 .........(const.:tag."Full.Table
21be0 20 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 .of.Contents".t)...........(inte
21c00 67 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 ger.:tag."TOC.to.level"))).;;;##
21c20 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 74 2d #autoload.(put.'org-hugo-export-
21c40 77 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 with-toc.'safe-local-variable.(l
21c60 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 69 6e 74 65 ambda.(x).(or.(booleanp.x).(inte
21c80 67 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 gerp.x))))..(defcustom.org-hugo-
21ca0 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 6e 69 6c 0a export-with-section-numbers.nil.
21cc0 20 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 .."Configuration.for.adding.sect
21ce0 69 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 ion.numbers.to.headings...When.s
21d00 65 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 et.to.`onlytoc',.none.of.the.hea
21d20 64 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 dings.will.be.numbered.in.the.ex
21d40 70 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 ported.post.body,.but.TOC.genera
21d60 74 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 tion.will.use.the.section.number
21d80 73 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 s...When.set.to.an.integer.N,.nu
21da0 6d 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 mbering.will.only.happen.for.hea
21dc0 64 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 dings.whose.relative.level.is.hi
21de0 67 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 gher.or.equal.to.N...When.set.to
21e00 20 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 .any.other.non-nil.value,.number
21e20 69 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 ing.will.happen.for.all.the.head
21e40 69 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 ings...This.option.can.also.be.s
21e60 65 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 et.with.the.OPTIONS.keyword,.e.g
21e80 2e 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 ..\"num:onlytoc\",.\"num:nil\",.
21ea0 5c 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 \"num:t\".or.\"num:3\"."...:grou
21ec0 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
21ee0 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 44 6f 6e 27 74 ice...........(const.:tag."Don't
21f00 20 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 .number.only.in.body".onlytoc)..
21f20 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 6e 75 6d 62 .........(const.:tag."Don't.numb
21f40 65 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 er.any.heading".nil)...........(
21f60 63 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 const.:tag."Number.all.headings"
21f80 20 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 .t)...........(integer.:tag."Num
21fa0 62 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 ber.to.level"))).;;;###autoload.
21fc0 28 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 (put.'org-hugo-export-with-secti
21fe0 6f 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 on-numbers.'safe-local-variable.
22000 28 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 (lambda.(x).(or.(booleanp.x).(eq
22020 75 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 ual.'onlytoc.x).(integerp.x)))).
22040 0a 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 .(defcustom.org-hugo-default-sta
22060 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 22 tic-subdirectory-for-externals."
22080 6f 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 ox-hugo"..."Default.sub-director
220a0 79 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 y.in.Hugo.static.directory.for.e
220c0 78 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 xternal.files..If.the.source.pat
220e0 68 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 h.for.external.files.does.not.co
22100 6e 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 ntain.\"static\",.`ox-hugo`.cann
22120 6f 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 ot.know.what.directory.structure
22140 20 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 .to.create.inside.the.Hugo.stati
22160 63 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 c.directory...So.all.such.files.
22180 61 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 are.copied.to.this.sub-directory
221a0 20 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 .inside.the.Hugo.static.director
221c0 79 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 y."...:group.'org-export-hugo...
221e0 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 64 20 28 70 :type.'string).;;;###autoload.(p
22200 75 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 ut.'org-hugo-default-static-subd
22220 69 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 irectory-for-externals.'safe-loc
22240 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 6f al-variable.'stringp)..(defcusto
22260 6d 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 m.org-hugo-external-file-extensi
22280 6f 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 ons-allowed-for-copying...'("jpg
222a0 22 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 "."jpeg"."tiff"."png"."svg"."gif
222c0 22 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 "."bmp"....."mp4"....."pdf"."odt
222e0 22 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 "....."doc"."ppt"."xls"....."doc
22300 78 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 x"."pptx"."xlsx")..."List.of.ext
22320 65 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 ernal.file.extensions.allowed.fo
22340 72 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 r.copying.to.Hugo.static.dir..If
22360 20 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 .an.Org.link.references.a.file.w
22380 69 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 ith.one.of.these.extensions,.and
223a0 20 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 .if.that.file.is.not.in.the.Hugo
223c0 20 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 .static.directory,.that.file.is.
223e0 63 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 copied.over.to.the.static.direct
22400 6f 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 ory...The.auto-copying.behavior.
22420 69 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 is.disabled.if.this.variable.is.
22440 73 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 set.to.nil."...:group.'org-expor
22460 74 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 t-hugo...:type.'(repeat.string))
22480 0a 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 ..(defcustom.org-hugo-export-cre
224a0 61 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 ator-string...(format."Emacs.%s.
224c0 28 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 (Org.mode%s.+.ox-hugo)".........
224e0 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 28 69 66 20 28 66 ..emacs-version...........(if.(f
22500 62 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 boundp.'org-version)............
22520 20 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 ...(concat.".".(org-version))...
22540 20 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 ..........""))..."Information.ab
22560 6f 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 out.the.creator.of.the.document.
22580 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 74 20 6f 6e 20 .This.option.can.also.be.set.on.
225a0 77 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 with.the.CREATOR.keyword."...:gr
225c0 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 73 oup.'org-export-hugo...:type.'(s
225e0 74 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 tring.:tag."Creator.string")).;;
22600 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 65 78 70 6f ;###autoload.(put.'org-hugo-expo
22620 72 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 rt-creator-string.'safe-local-va
22640 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 20 6f 72 67 riable.'stringp)..(defcustom.org
22660 2d 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 -hugo-date-format."%Y-%m-%dT%T%z
22680 22 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 "..."Date.format.used.for.export
226a0 69 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 ing.date.in.front-matter...Front
226c0 2d 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 -matter.date.parameters:.`date',
226e0 20 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 .`publishDate',.`expiryDate',.`l
22700 61 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 astmod'...Note.that.the.date.for
22720 6d 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 mat.must.match.the.date.specific
22740 61 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 ation.from.RFC3339...See.`org-hu
22760 67 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 go--date-time-regexp'.for.refere
22780 6e 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 nce.and.examples.of.compatible.d
227a0 61 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 ate.strings...Examples.of.RFC333
227c0 39 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 9-compatible.values.for.this.var
227e0 69 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 iable:....-.%Y-%m-%dT%T%z.(defau
22800 6c 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 lt).->.2017-07-31T17:05:38-04:00
22820 0a 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 ...-.%Y-%m-%dT%T.............->.
22840 32 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 2017-07-31T17:05:38...-.%Y-%m-%d
22860 20 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 ................->.2017-07-31..N
22880 6f 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 ote.that.\"%Y-%m-%dT%T%z\".actua
228a0 6c 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 lly.produces.a.date.string.like.
228c0 5c 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 \"2017-07-31T17:05:38-0400\";.no
228e0 74 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 tice.the.missing.colon.in.the.ti
22900 6d 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 me-zone.portion...A.colon.is.nee
22920 64 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 ded.to.separate.the.hours.and.mi
22940 6e 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 nutes.in.the.time-zone.as.per.RF
22960 43 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 C3339...This.gets.fixed.in.the.`
22980 6f 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 org-hugo--format-date'.function,
229a0 20 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 .so.that.\"%Y-%m-%dT%T%z\".now.r
229c0 65 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 esults.in.a.date.string.like.\"2
229e0 30 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 017-07-31T17:05:38-04:00\"...See
22a00 20 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 .`format-time-string'.to.learn.a
22a20 62 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 bout.the.date.format.string.expr
22a40 65 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 ession."...:group.'org-export-hu
22a60 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 75 74 6f 6c 6f go...:type.'string).;;;###autolo
22a80 61 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 ad.(put.'org-hugo-date-format.'s
22aa0 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 0a 0a 28 64 afe-local-variable.'stringp)..(d
22ac0 65 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 efcustom.org-hugo-paired-shortco
22ae0 64 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 des.""..."Space-separated.string
22b00 20 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 .of.paired.shortcode.strings...S
22b20 68 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 hortcode.string.convention:....-
22b40 20 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 .Begin.the.string.with.\"%\".for
22b60 20 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 .shortcodes.whose.content.can...
22b80 20 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 ..contain.Markdown,.and.thus.nee
22ba0 64 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 ds.to.be.passed.through.the.....
22bc0 48 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 Hugo.Markdown.processor...The.co
22be0 6e 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 ntent.can.also.contain.HTML.....
22c00 20 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 ..Example.of.a.paired.markdown.s
22c20 68 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 hortcode:........{{%.mdshortcode
22c40 20 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 .%}}Content.**bold**.<i>italics<
22c60 2f 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 /i>{{%./mdshortcode.%}}....-.Abs
22c80 65 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 ence.of.the.\"%\".prefix.would.i
22ca0 6d 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 mply.that.the.shortcode's.....co
22cc0 6e 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 ntent.should.not.be.passed.to.th
22ce0 65 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 e.Markdown.parser...The.....cont
22d00 65 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 ent.can.contain.HTML.though.....
22d20 20 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 ..Example.of.a.paired.non-markdo
22d40 77 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 wn.(default).shortcode:........{
22d60 7b 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 {<.myshortcode.>}}Content.<b>bol
22d80 64 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 d</b>.<i>italics</i>{{<./myshort
22da0 63 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 code.>}}..For.example.these.shor
22dc0 74 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 tcode.strings:....-.%mdshortcode
22de0 20 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 .:.Paired.markdown.shortcode...-
22e00 20 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 .myshortcode..:.Paired.default.s
22e20 68 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 hortcode..would.be.collectively.
22e40 61 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 added.to.this.variable.as:.....\
22e60 22 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 "%mdshortcode.myshortcode\"..Hug
22e80 6f 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 o.shortcodes.documentation:.http
22ea0 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 74 s://gohugo.io/content-management
22ec0 2f 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 /shortcodes/."...:group.'org-exp
22ee0 6f 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 ort-hugo...:type.'string).;;;###
22f00 61 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 autoload.(put.'org-hugo-paired-s
22f20 68 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 hortcodes.'safe-local-variable.'
22f40 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 6f 2d 6c 69 stringp)..(defcustom.org-hugo-li
22f60 6e 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 nk-desc-insert-type.nil..."Inser
22f80 74 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 t.the.element.type.in.link.descr
22fa0 69 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 iptions.for.numbered.elements...
22fc0 53 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 String.representing.the.type.is.
22fe0 69 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 inserted.for.these.Org.elements.
23000 69 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 if.they.are.numbered.(i.e..both.
23020 5c 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 \"#+name\".and.\"#+caption\".are
23040 0a 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 .specified.for.them):..-.src-blo
23060 63 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 ck.:.\"Code.Snippet\".-.table:.\
23080 22 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 "Table\".-.figure:.\"Figure\".".
230a0 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 70 ..:group.'org-export-hugo...:typ
230c0 65 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 e.'boolean).;;;###autoload.(put.
230e0 27 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 'org-hugo-link-desc-insert-type.
23100 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 70 29 0a 'safe-local-variable.'booleanp).
23120 0a 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 .(defcustom.org-hugo-container-e
23140 6c 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 lement.""..."HTML.element.to.use
23160 20 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 .for.wrapping.top.level.sections
23180 2e 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 ..Can.be.set.with.the.in-buffer.
231a0 48 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 HTML_CONTAINER.property...When.s
231c0 65 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 et.to.\"\",.the.top.level.sectio
231e0 6e 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 ns.are.not.wrapped.in.any.HTML.e
23200 6c 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 lement."...:group.'org-export-hu
23220 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 75 74 6f 6c 6f go...:type.'string).;;;###autolo
23240 61 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 ad.(put.'org-hugo-container-elem
23260 65 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 ent.'safe-local-variable.'string
23280 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 70 65 63 69 61 6c 2d p)..(defcustom.org-hugo-special-
232a0 62 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 block-type-properties.'(("audio"
232c0 20 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 ...(: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 20 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 .("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 20 28 22 6d 61 72 6b 22 20 2e 20 28 3a 74 72 69 6d 2d 70 72 65 20 74 ..........("mark"...(:trim-pre.t
23360 20 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 .: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 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 ....("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 20 28 22 76 69 64 65 6f 22 20 2e 20 28 3a 72 61 77 20 ...............("video"...(:raw.
23400 74 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 t)))..."Alist.for.storing.defaul
23420 74 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 t.properties.for.special.block.t
23440 79 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 ypes...Each.element.of.the.alist
23460 20 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 .is.of.the.form.(TYPE...PLIST).w
23480 68 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 here.TYPE.is.a.string.holding.th
234a0 65 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 e.special.block's.type.and.PLIST
234c0 20 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 .is.a.property.list.for.that.TYP
234e0 45 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 E...The.TYPE.string.could.be.any
23500 20 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 .special.block.type.like.an.HTML
23520 0a 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 .inline.or.block.tag,.or.name.of
23540 20 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 .a.Hugo.shortcode,.or.any.random
23560 0a 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 .string...Properties.recognized.
23580 69 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 in.the.PLIST:..-.:raw.::.When.se
235a0 74 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 t.to.t,.the.contents.of.the.spec
235c0 69 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 ial.block.as...........exported.
235e0 72 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 raw.i.e..as.typed.in.the.Org.buf
23600 66 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 fer...-.:trim-pre.::.When.set.to
23620 20 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 .t,.the.whitespace.before.the.sp
23640 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
23660 6d 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 moved...-.:trim-pre.::.When.set.
23680 74 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 to.t,.the.whitespace.after.the.s
236a0 70 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 pecial................block.is.r
236c0 65 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 emoved...For.the.special.block.t
236e0 79 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 ypes.not.specified.in.this.varia
23700 62 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 ble,.the.default.behavior.is.sam
23720 65 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 e.as.if.(:raw.nil.:trim-pre.nil.
23740 3a 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 :trim-post.nil).plist.were.assoc
23760 69 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 iated.with.them."...:group.'org-
23780 65 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 export-hugo...:type.'(alist.:key
237a0 2d 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 -type.string.:value-type.(plist.
237c0 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 65 20 62 6f 6f :key-type.symbol.:value-type.boo
237e0 6c 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 lean)))..(defcustom.org-hugo-anc
23800 68 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 hor-functions.'(org-hugo-get-pag
23820 65 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 e-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 20 6f 72 67 2d 68 75 67 6f ........................org-hugo
23860 2d 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 -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 20 6f 72 67 2d 68 75 67 6f 2d 67 ......................org-hugo-g
238a0 65 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 et-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 20 6f 72 67 2d 68 75 67 6f 2d .......................org-hugo-
238e0 67 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 get-md5)..."A.list.of.functions.
23900 66 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 for.deriving.the.anchor.of.curre
23920 6e 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 nt.Org.heading...The.functions.w
23940 69 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 ill.be.run.in.the.order.added.to
23960 20 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 .this.variable.until.the.first.o
23980 6e 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 ne.returns.a.non-nil.value...So.
239a0 74 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 the.functions.in.this.list.are.o
239c0 72 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 rder-sensitive...For.example,.if
239e0 20 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 .`org-hugo-get-page-or-bundle-na
23a00 6d 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 me'.is.the.first.element.in.this
23a20 20 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 .list,.the.heading's.`:EXPORT_FI
23a40 4c 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 LE_NAME'.property.will.have.the.
23a60 68 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 highest.precedence.in.determinin
23a80 67 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 g.the.heading's.anchor.string...
23aa0 54 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 This.variable.is.used.in.the.`or
23ac0 67 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 g-hugo--get-anchor'.internal.fun
23ae0 63 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 ction...Functions.added.to.this.
23b00 6c 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 list.should.have.2.arguments.(wh
23b20 69 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 ich.could.even.be.declared.as.op
23b40 74 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 tional):..1..ELEMENT.:.Org.eleme
23b60 6e 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 nt.2..INFO....:.General.plist.us
23b80 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 0a 0a 53 ed.as.a.communication.channel..S
23ba0 6f 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 ome.of.the.inbuilt.functions.tha
23bc0 74 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 t.can.be.added.to.this.list:.-.`
23be0 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 65 org-hugo-get-page-or-bundle-name
23c00 27 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 '.-.`org-hugo-get-custom-id'.-.`
23c20 6f 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 org-hugo-get-heading-slug'.-.`or
23c40 67 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 g-hugo-get-md5'.-.`org-hugo-get-
23c60 69 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 id'"...:group.'org-export-hugo..
23c80 20 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 .:type.'(repeat.function))..(def
23ca0 63 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 custom.org-hugo-citations-plist.
23cc0 27 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 '(:bibliography-section-heading.
23ce0 22 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 "References")..."Property.list.f
23d00 6f 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 or.storing.default.properties.fo
23d20 72 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 r.citation.exports...Properties.
23d40 72 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 recognized.in.the.PLIST:..-.:bib
23d60 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 3a 3a 20 48 65 61 liography-section-heading.::.Hea
23d80 64 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 ding.to.insert.before.the.biblio
23da0 67 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 graphy..........................
23dc0 20 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 ..........section...Auto-detecti
23de0 6f 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 on.of.bibliography.section.requi
23e00 72 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 res.installing.the.`citations'.p
23e20 61 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 ackage.from.Melpa.and.adding.`#+
23e40 63 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 cite_export:.csl'.at.the.top.of.
23e60 74 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 the.Org.file...If.`:bibliography
23e80 2d 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 -section-heading'.set.to.an.empt
23ea0 79 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 y.string,.bibliography.heading.a
23ec0 75 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 uto-injection.is.not.done."...:g
23ee0 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 27 28 roup.'org-export-hugo...:type.'(
23f00 70 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 plist.:key-type.symbol.:value-ty
23f20 70 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 pe.string))..(defcustom.org-hugo
23f40 2d 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 -info-gnu-software.'("3dldf"."8s
23f60 79 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 ync"............................
23f80 20 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 ............."a2ps"."acct"."acm"
23fa0 20 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 ."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 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 ......."archimedes"."aris"."arta
24000 6e 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 nis"."aspell"."auctex"."autoconf
24020 22 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 "."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 20 22 61 75 ............................."au
24060 74 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 togen"."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 20 ................................
240a0 22 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 "ballandpaddle"."barcode"."bash"
240c0 20 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 ."bayonne"."bazaar"."bc"."behist
240e0 75 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 un".............................
24100 20 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 ............"bfd"."binutils"."bi
24120 73 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 son"."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 20 ................................
24160 22 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 "c-graph"."ccaudio"."ccd2cue"."c
24180 63 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 cide"."ccrtp"."ccscript"."cflow"
241a0 0a 20 20 20 20 20 20 20 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 20 22 63 67 69 63 63 22 20 22 63 68 65 73 73 22 20 22 63 69 6d 22 20 22 ........."cgicc"."chess"."cim"."
241e0 63 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 classpath"."classpathx"."clisp".
24200 22 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 "combine".......................
24220 20 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 .................."commoncpp"."c
24240 6f 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 omplexity"."config"."consensus".
24260 22 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 "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 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 .."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 20 22 64 61 70 ............................"dap
242e0 22 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 "."datamash"."dc"."ddd"."ddrescu
24300 65 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 e"."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 20 22 64 .............................."d
24340 69 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 ia"."dico"."diction"."diffutils"
24360 20 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 ."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 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 ......."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 20 22 65 61 73 65 6a 73 22 ........................"easejs"
243e0 20 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 ."ed"."edma"."electric"."emacs".
24400 22 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 "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 20 22 65 6e 73 ............................"ens
24440 63 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 cript"."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 20 22 66 64 69 73 6b 22 ........................."fdisk"
24480 20 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 ."ferret"."findutils"."fisicalab
244a0 22 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 "."foliot"."fontopia"."fontutils
244c0 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 "...............................
244e0 20 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 .........."freedink"."freefont".
24500 22 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 "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 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 ........"g-golf"."gama"."garpd".
24560 22 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 "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 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 ...."gcl"."gcompris"."gdb"."gdbm
245c0 22 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 "."gengen"."gengetopt"."gettext"
245e0 0a 20 20 20 20 20 20 20 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 20 22 67 66 6f 72 74 68 22 20 22 67 67 72 61 64 65 62 6f 6f 6b 22 20 22 ........."gforth"."ggradebook"."
24620 67 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 ghostscript"."gift"."gimp"."glea
24640 6e 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 n"."global".....................
24660 20 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 ...................."glpk"."glue
24680 22 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 "."gmediaserver"."gmp"."gnash"."
246a0 67 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 gnat"."gnats"...................
246c0 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 61 74 73 77 65 62 22 ......................"gnatsweb"
246e0 20 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 ."gnowsys"."gnu-c-manual"."gnu-c
24700 72 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 rypto"."gnu-pw-mgr"."gnuae"."gnu
24720 61 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 astro"..........................
24740 20 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 ..............."gnubatch"."gnubg
24760 22 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 "."gnubiff"."gnubik"."gnucap"."g
24780 6e 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 nucash"."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 20 22 67 6e 75 63 ..........................."gnuc
247c0 6f 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 omm"."gnudos"."gnufm"."gnugo"."g
247e0 6e 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 nuit"."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 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 .."gnukart"."gnulib"."gnumach"."
24840 67 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 gnumed"."gnumeric"."gnump3d"."gn
24860 75 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 un".............................
24880 20 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 ............"gnunet"."gnupg"."gn
248a0 75 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 upod"."gnuprologjava"."gnuradio"
248c0 20 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 ."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 20 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 ."gnushogi"."gnusound"."gnuspeec
24920 68 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 h"."gnuspool"."gnustandards"."gn
24940 75 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 ustep"."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 20 22 67 6e 75 74 72 69 74 ........................"gnutrit
24980 69 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 ion"."gnuzilla"."goptical"."gorm
249a0 22 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 "."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 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 ....."grabcomics"."greg"."grep".
24a00 22 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 "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 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 ......."gsegrafix"."gsl"."gslip"
24a60 20 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 ."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 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 ........"guile"."guile-cv"."guil
24ac0 65 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 e-dbi"."guile-gnome"."guile-ncur
24ae0 73 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 ses"."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 20 22 67 75 69 ............................"gui
24b20 6c 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 le-rpc"."guile-sdl"."guix"."gurg
24b40 6c 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 le"."gv"."gvpe"."gwl"."gxmessage
24b60 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 "...............................
24b80 20 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 .........."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 20 22 68 61 6c 69 66 61 ........................."halifa
24bc0 78 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 x"."health"."hello"."help2man"."
24be0 68 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 hp2xx"."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 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 ........"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 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 ..."icecat"."idutils"."ignuit"."
24c80 69 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 indent"."inetutils"."inklingread
24ca0 65 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 er"."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 20 22 6a 61 63 61 6c 22 20 ........................"jacal".
24ce0 22 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 "jami"."java-getopt"."jel"."jitt
24d00 65 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 er"."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 20 22 6b 61 77 61 ..........................."kawa
24d40 22 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 "."kopi"........................
24d60 20 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 ................."leg"."less"."l
24d80 69 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 ibc"."libcdio"."libdbh"."liberty
24da0 2d 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 -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 20 ................................
24de0 22 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 "libffcall"."libgcrypt"."libicon
24e00 76 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 v"."libidn"."libjit"."libmatheva
24e20 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 20 20 l"..............................
24e40 20 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 ..........."libmicrohttpd"."libr
24e60 65 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 edwg"."librejs"."libsigsegv"."li
24e80 62 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 btasn1"."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 20 22 6c 69 62 75 6e .........................."libun
24ec0 69 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 istring"."libxmi"."lightning"."l
24ee0 69 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 ilypond"."lims"."linux-libre"."l
24f00 69 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 iquidwar6"......................
24f20 20 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 ..................."lispintro"."
24f40 6c 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 lrzsz"."lsh"....................
24f60 20 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 ....................."m4"."macch
24f80 61 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 anger"."mailman"."mailutils"."ma
24fa0 6b 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 ke"."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 20 22 6d .............................."m
24fe0 63 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 c"."mcron"."mcsim"."mdk"."mediag
25000 6f 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 oblin"."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 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 ..."mes"."metaexchange"."metahtm
25060 6c 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 l"."metalogic-inference"."mifluz
25080 22 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 "."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 20 22 6d 69 74 ............................"mit
250c0 2d 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 -scheme"."moe"."motti"."mpc"."mp
250e0 66 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 fr"."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 20 22 6e 61 ............................."na
25120 6e 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 na"."nano"."nano-archimedes"."nc
25140 75 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 urses"."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 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 .."ocrad"."octave"."oleo"."oo-br
251a0 6f 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 owser"."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 20 ................................
251e0 22 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 "panorama"."parallel"."parted"."
25200 70 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 pascal"."patch"."paxutils"."pcb"
25220 0a 20 20 20 20 20 20 20 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 20 22 70 65 6d 22 20 22 70 65 78 65 63 22 20 22 70 69 65 73 22 20 22 70 ........."pem"."pexec"."pies"."p
25260 69 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 ipo"."plotutils"."poke"."polyxma
25280 73 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 ss".............................
252a0 20 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 ............"powerguru"."proxykn
252c0 69 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 ife"."pspp"."psychosynth"."pth".
252e0 22 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 "pythonwebkit"..................
25300 20 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 ......................."qexo"."q
25320 75 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 uickthreads"....................
25340 20 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 ....................."r"."radius
25360 22 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 "."rcs"."readline"."recutils"."r
25380 65 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 eftex"."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 20 22 ..............................."
253c0 72 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 rottlog"."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 20 22 ..............................."
25400 73 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 sather"."scm"."screen"."sed"."se
25420 72 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 rveez"."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 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 ......"shishi"."shmm"."shtool"."
25480 73 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 sipwitch"."slib"."smalltalk"."so
254a0 63 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 cial"...........................
254c0 20 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 .............."solfege"."spacech
254e0 61 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 art"."spell"."sqltutor"."src-hig
25500 68 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 hlite"."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 20 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 ."stow"."stump"."superopt"."swbi
25560 73 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 s"."sysutils"...................
25580 20 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 ......................"taler"."t
255a0 61 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 alkfilters"."tar"."termcap"."ter
255c0 6d 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 mutils"."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 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 ......."texinfo"."texmacs"."time
25620 22 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 "."tramp"."trans-coord"."truepri
25640 6e 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 nt".............................
25660 20 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 ............"unifont"."units"."u
25680 6e 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 nrtf"."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 20 22 76 63 ............................."vc
256c0 2d 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 -dwim"."vcdimager"."vera"."vmgen
256e0 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 "...............................
25700 20 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 .........."wb"."wdiff"."websocke
25720 74 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 t4j"."webstump"."wget"."which"."
25740 77 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 womb"...........................
25760 20 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 .............."xaos"."xboard"."x
25780 6c 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 logmaster"."xmlat"."xnee"."xorri
257a0 73 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 so".............................
257c0 20 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 ............"zile")..."List.of.G
257e0 4e 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 NU.software.for.Info.manual.link
25800 73 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 s..The.software.list.is.taken.fr
25820 6f 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 om.https://www.gnu.org/software/
25840 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...:
25860 74 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 type.'(repeat.string)).....;;;.D
25880 65 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 efine.Back-End..(org-export-defi
258a0 6e 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 ne-derived-backend.'hugo.'blackf
258c0 72 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 riday.;hugo.<.blackfriday.<.md.<
258e0 20 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 .html...:menu-entry...'(?H."Expo
25900 72 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 rt.to.Hugo-compatible.Markdown".
25920 20 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 .......((?H."Subtree.or.File.to.
25940 4d 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 Md.file............"............
25960 20 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 .(lambda.(a._s.v._b)............
25980 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 6d 64 20 6e 69 ...(org-hugo-export-wim-to-md.ni
259a0 6c 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 l.a.v))).........(?h."File.to.Md
259c0 20 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 .file".............(lambda.(a.s.
259e0 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 78 v._b)...............(org-hugo-ex
25a00 70 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 port-to-md.a.s.v))).........(?O.
25a20 22 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 "Subtree.or.File.to.Md.file.and.
25a40 6f 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 open...".............(lambda.(a.
25a60 5f 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 _s.v._b)...............(if.a....
25a80 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 65 78 70 6f 72 74 2d ...............(org-hugo-export-
25aa0 77 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 wim-to-md.nil.:async.v).........
25ac0 20 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 ........(org-open-file.(org-hugo
25ae0 2d 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 -export-wim-to-md.nil.nil.v)))))
25b00 0a 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 .........(?o."File.to.Md.file.an
25b20 64 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 d.open".............(lambda.(a.s
25b40 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 20 .v._b)...............(if.a......
25b60 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 74 6f .............(org-hugo-export-to
25b80 2d 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 -md.:async.s.v).................
25ba0 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 65 78 70 6f 72 74 2d (org-open-file.(org-hugo-export-
25bc0 74 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 to-md.nil.s.v))))).........(?A."
25be0 41 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 All.subtrees.(or.File).to.Md.fil
25c00 65 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 e(s)..".............(lambda.(a._
25c20 73 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 s.v._b)...............(org-hugo-
25c40 65 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 export-wim-to-md.:all-subtrees.a
25c60 20 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 .v))).........(?t."File.to.a.tem
25c80 70 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 porary.Md.buffer".............(l
25ca0 61 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 ambda.(a.s.v._b)...............(
25cc0 6f 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 org-hugo-export-as-md.a.s.v)))))
25ce0 0a 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 .;;;;.translate-alist...:transla
25d00 74 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 te-alist.'((code...org-hugo-kbd-
25d20 74 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 tags-maybe).....................
25d40 20 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 .(drawer...org-hugo-drawer).....
25d60 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 6c 6f 63 6b 20 .................(example-block.
25d80 2e 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 ..org-hugo-example-block).......
25da0 20 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 ...............(export-block...o
25dc0 72 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 rg-hugo-export-block)...........
25de0 20 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 ...........(export-snippet...org
25e00 2d 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 -hugo-export-snippet)...........
25e20 20 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 ...........(headline...org-hugo-
25e40 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 28 69 heading)......................(i
25e60 6e 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 nner-template...org-hugo-inner-t
25e80 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 20 20 20 20 20 28 69 emplate)......................(i
25ea0 6e 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 nline-src-block...org-hugo-inlin
25ec0 65 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 e-src-block)....................
25ee0 20 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 ..(keyword...org-hugo-keyword)..
25f00 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 20 2e 20 6f 72 67 2d ....................(link...org-
25f20 68 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 hugo-link)......................
25f40 28 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 (paragraph...org-hugo-paragraph)
25f60 0a 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 ......................(src-block
25f80 20 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 ...org-hugo-src-block)..........
25fa0 20 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 ............(special-block...org
25fc0 2d 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 -hugo-special-block))...:filters
25fe0 2d 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 -alist.'((:filter-body...org-hug
26000 6f 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 o-body-filter)).;;;;.options-ali
26020 73 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 st...;;................KEY......
26040 20 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 .................KEYWORD........
26060 20 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 ............OPTION..DEFAULT.....
26080 20 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 ................BEHAVIOR...:opti
260a0 6f 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 ons-alist.'(;;.Variables.not.set
260c0 74 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 ting.the.front-matter.directly..
260e0 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 74 6f 63 20 6e 69 6c ..................(:with-toc.nil
26100 20 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 ."toc".org-hugo-export-with-toc)
26120 0a 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 ....................(:section-nu
26140 6d 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 mbers.nil."num".org-hugo-export-
26160 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 20 20 20 20 20 20 20 with-section-numbers)...........
26180 20 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 .........(:author."AUTHOR".nil.u
261a0 73 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 ser-full-name.newline)..........
261c0 20 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 ..........(:creator."CREATOR".ni
261e0 6c 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 l.org-hugo-export-creator-string
26200 29 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 )....................(:with-smar
26220 74 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 t-quotes.nil."'".nil).;Hugo/Gold
26240 6d 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 mark.does.more.correct.conversio
26260 6e 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 n.to.smart.quotes,.especially.fo
26280 72 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 r.single.quotes.................
262a0 20 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 ....(:with-special-strings.nil."
262c0 2d 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 -".nil).;Hugo/Goldmark.does.the.
262e0 61 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 auto-conversion.of."--".->."..."
26300 2c 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 ,."---".->."...".and."...".->.".
26320 80 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 .."....................(:with-su
26340 62 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 b-superscript.nil."^".'{}).;Requ
26360 69 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 ire.curly.braces.to.be.wrapped.a
26380 72 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 round.text.to.sub/super-scripted
263a0 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 77 69 74 68 2d ....................(:hugo-with-
263c0 6c 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 locale."HUGO_WITH_LOCALE".nil.ni
263e0 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 66 72 6f l)....................(:hugo-fro
26400 6e 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 nt-matter-format."HUGO_FRONT_MAT
26420 54 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 TER_FORMAT".nil.....org-hugo-fro
26440 6e 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 nt-matter-format)...............
26460 20 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 .....(:hugo-level-offset."HUGO_L
26480 45 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 EVEL_OFFSET".nil."1")...........
264a0 20 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 .........(:hugo-preserve-filling
264c0 20 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 ."HUGO_PRESERVE_FILLING".nil.org
264e0 2d 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 -hugo-preserve-filling).;Preserv
26500 65 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 e.breaks.so.that.text.filling.in
26520 20 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 .Markdown.matches.that.of.Org...
26540 20 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 .................(:hugo-delete-t
26560 72 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 railing-ws."HUGO_DELETE_TRAILING
26580 5f 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 _WS".nil.org-hugo-delete-trailin
265a0 67 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 g-ws)....................(:hugo-
265c0 73 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 section."HUGO_SECTION".nil.org-h
265e0 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 20 ugo-section)....................
26600 28 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 (:hugo-bundle."HUGO_BUNDLE".nil.
26620 6e 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 nil)....................(:hugo-b
26640 61 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 ase-dir."HUGO_BASE_DIR".nil.org-
26660 68 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 hugo-base-dir)..................
26680 20 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 ..(:hugo-base-dir."HUGO_BASE_CON
266a0 54 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 TENT_FOLDER".nil.org-hugo-conten
266c0 74 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 t-folder)....................(:h
266e0 75 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 ugo-goldmark."HUGO_GOLDMARK".nil
26700 20 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 .org-hugo-goldmark).............
26720 20 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 .......(:hugo-code-fence."HUGO_C
26740 4f 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 ODE_FENCE".nil.t).;Prefer.to.gen
26760 65 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 erate.triple-backquoted.Markdown
26780 20 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 .code.blocks.by.default.........
267a0 20 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 ............(:hugo-use-code-for-
267c0 6b 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 kbd."HUGO_USE_CODE_FOR_KBD".nil.
267e0 6f 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 org-hugo-use-code-for-kbd)......
26800 20 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 ..............(:hugo-prefer-hyph
26820 65 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 en-in-tags."HUGO_PREFER_HYPHEN_I
26840 4e 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 N_TAGS".nil.org-hugo-prefer-hyph
26860 65 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 en-in-tags)....................(
26880 3a 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 :hugo-allow-spaces-in-tags."HUGO
268a0 5f 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 _ALLOW_SPACES_IN_TAGS".nil.org-h
268c0 75 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 ugo-allow-spaces-in-tags).......
268e0 20 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 .............(:hugo-auto-set-las
26900 74 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 tmod."HUGO_AUTO_SET_LASTMOD".nil
26920 20 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 .org-hugo-auto-set-lastmod).....
26940 20 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 ...............(:hugo-custom-fro
26960 6e 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 nt-matter."HUGO_CUSTOM_FRONT_MAT
26980 54 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 TER".nil.nil.space).............
269a0 20 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 .......(:hugo-blackfriday."HUGO_
269c0 42 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 BLACKFRIDAY".nil.nil.space).;Dep
269e0 72 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 recated..See.https://github.com/
26a00 6b 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 kaushalmodi/ox-hugo/discussions/
26a20 34 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 485.....................(:hugo-f
26a40 72 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 ront-matter-key-replace."HUGO_FR
26a60 4f 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 ONT_MATTER_KEY_REPLACE".nil.nil.
26a80 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 20 28 3a 68 75 67 6f space)....................(:hugo
26aa0 2d 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 -date-format."HUGO_DATE_FORMAT".
26ac0 6e 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 nil.org-hugo-date-format).......
26ae0 20 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 .............(:hugo-paired-short
26b00 63 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 codes."HUGO_PAIRED_SHORTCODES".n
26b20 69 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 il.org-hugo-paired-shortcodes.sp
26b40 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 70 ace)....................(:hugo-p
26b60 61 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 andoc-citations."HUGO_PANDOC_CIT
26b80 41 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 ATIONS".nil.nil)................
26ba0 20 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 ....(:bibliography."BIBLIOGRAPHY
26bc0 22 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 ".nil.nil.newline).;Used.in.ox-h
26be0 75 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 ugo-pandoc-cite.................
26c00 20 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 ...(:html-container."HTML_CONTAI
26c20 4e 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 NER".nil.org-hugo-container-elem
26c40 65 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 ent)....................(:html-c
26c60 6f 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 ontainer-class."HTML_CONTAINER_C
26c80 4c 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 LASS".nil."")...................
26ca0 20 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 .(:html-container-nested."HTML_C
26cc0 4f 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 ONTAINER_NESTED".nil.nil).......
26ce0 20 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 ..............;;.Front-matter.va
26d00 72 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 riables....................;;.ht
26d20 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 6e 61 67 65 6d 65 tps://gohugo.io/content-manageme
26d40 6e 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 nt/front-matter/#front-matter-va
26d60 72 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 riables....................;;.al
26d80 69 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 iases....................(:hugo-
26da0 61 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 aliases."HUGO_ALIASES".nil.nil.s
26dc0 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 3b 3b 20 61 75 64 69 pace)....................;;.audi
26de0 6f 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 o....................(:hugo-audi
26e00 6f 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 o."HUGO_AUDIO".nil.nil).........
26e20 20 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 ...........;;.date..............
26e40 20 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 ......;;."date".is.parsed.from.t
26e60 68 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 he.Org.#+date.or.subtree.propert
26e80 79 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 y.EXPORT_HUGO_DATE..............
26ea0 20 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 ......(:date."DATE".nil.nil)....
26ec0 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 0a 20 ................;;.description..
26ee0 20 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 ..................(:description.
26f00 22 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 "DESCRIPTION".nil.nil)..........
26f20 20 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 ..........;;.draft..............
26f40 20 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 ......;;."draft".value.interpret
26f60 65 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 ed.by.the.TODO.state.of.a.......
26f80 20 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 .............;;.post.as.Org.subt
26fa0 72 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 ree.gets.higher.precedence......
26fc0 20 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 ...............(:hugo-draft."HUG
26fe0 4f 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 O_DRAFT".nil.nil)...............
27000 20 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 .....;;.expiryDate..............
27020 20 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 ......(:hugo-expirydate."HUGO_EX
27040 50 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 PIRYDATE".nil.nil)..............
27060 20 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 ......;;.headless.(only.for.Page
27080 20 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 .Bundles.-.Hugo.v0.35+).........
270a0 20 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 ...........(:hugo-headless."HUGO
270c0 5f 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 _HEADLESS".nil.nil).............
270e0 20 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 .......;;.images................
27100 20 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 ....(:hugo-images."HUGO_IMAGES".
27120 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)................
27140 20 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 ....;;.isCJKLanguage............
27160 20 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 ........(:hugo-iscjklanguage."HU
27180 47 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 GO_ISCJKLANGUAGE".nil.nil)......
271a0 20 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 ..............;;.keywords.......
271c0 20 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 .............;;."keywords".is.pa
271e0 72 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 rsed.from.the.Org.#+keywords.or.
27200 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 72 65 65 20 70 72 ...................;;.subtree.pr
27220 6f 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 operty.EXPORT_KEYWORDS..........
27240 20 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 ...........(:keywords."KEYWORDS"
27260 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 20 20 20 20 20 20 20 .nil.nil.newline)...............
27280 20 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 .....;;.layout..................
272a0 20 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 ..(:hugo-layout."HUGO_LAYOUT".ni
272c0 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 6c 61 73 l.nil)....................;;.las
272e0 74 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 tmod....................(:hugo-l
27300 61 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 astmod."HUGO_LASTMOD".nil.nil)..
27320 20 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 ..................;;.linkTitle..
27340 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 69 6e 6b 74 69 74 ..................(:hugo-linktit
27360 6c 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 le."HUGO_LINKTITLE".nil.nil)....
27380 20 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 ................;;.locale.(used.
273a0 69 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 in.Hugo.internal.templates).....
273c0 20 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 ...............(:hugo-locale."HU
273e0 47 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 GO_LOCALE".nil.nil).............
27400 20 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 .......;;.markup................
27420 20 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 ....(:hugo-markup."HUGO_MARKUP".
27440 6e 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 nil.nil).;default.is."md".......
27460 20 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 .............;;.menu............
27480 20 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 ........(:hugo-menu."HUGO_MENU".
274a0 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 20 20 20 20 nil.nil.space)..................
274c0 20 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 ..(:hugo-menu-override."HUGO_MEN
274e0 55 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 U_OVERRIDE".nil.nil.space)......
27500 20 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 ..............;;.outputs........
27520 20 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 ............(:hugo-outputs."HUGO
27540 5f 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 _OUTPUTS".nil.nil.space)........
27560 20 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 ............;;.publishDate......
27580 20 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 ..............(:hugo-publishdate
275a0 20 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 ."HUGO_PUBLISHDATE".nil.nil)....
275c0 20 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 ................;;.series.......
275e0 20 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 .............(:hugo-series."HUGO
27600 5f 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 _SERIES".nil.nil.newline).......
27620 20 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 .............;;.slug............
27640 20 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 ........(:hugo-slug."HUGO_SLUG".
27660 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 20 20 20 3b 3b 20 74 nil.nil)....................;;.t
27680 61 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 axomonomies.-.tags,.categories..
276a0 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 61 67 73 20 22 48 ..................(:hugo-tags."H
276c0 55 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 UGO_TAGS".nil.nil.newline)......
276e0 20 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 ..............;;.#+hugo_tags.are
27700 20 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 .used.to.set.the.post.tags.in.Or
27720 67 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 g....................;;.files.wr
27740 69 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 itten.for.file-based.exports...B
27760 75 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 ut.for....................;;.sub
27780 74 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 tree-based.exports,.the.EXPORT_H
277a0 55 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 UGO_TAGS....................;;.p
277c0 72 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 roperty.can.be.used.to.override.
277e0 69 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 inherited.tags..................
27800 20 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 ..;;.and.Org-style.tags.........
27820 20 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 ............(:hugo-categories."H
27840 55 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 UGO_CATEGORIES".nil.nil.newline)
27860 0a 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 ....................;;.#+hugo_ca
27880 74 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 tegories.are.used.to.set.the.pos
278a0 74 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 t....................;;.categori
278c0 65 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 es.in.Org.files.written.for.file
278e0 2d 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 -based....................;;.exp
27900 6f 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 orts...But.for.subtree-based.exp
27920 6f 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 orts,.the....................;;.
27940 45 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 EXPORT_HUGO_CATEGORIES.property.
27960 63 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 can.be.used.to..................
27980 20 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 ..;;.override.inherited.categori
279a0 65 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 es.and.Org-style................
279c0 20 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 ....;;.categories.(Org-style.tag
279e0 73 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 s.with."@".prefix)..............
27a00 20 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 .......;;.resources.............
27a20 20 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 .......(:hugo-resources."HUGO_RE
27a40 53 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 SOURCES".nil.nil.space).........
27a60 20 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 ...........;;.title.............
27a80 20 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 .......;;."title".is.parsed.from
27aa0 20 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 .the.Org.#+title.or.the.subtree.
27ac0 68 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 heading.....................;;.t
27ae0 79 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 ype....................(:hugo-ty
27b00 70 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 pe."HUGO_TYPE".nil.nil).........
27b20 20 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 ...........;;.url...............
27b40 20 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 .....(:hugo-url."HUGO_URL".nil.n
27b60 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 76 69 64 65 6f 73 il)....................;;.videos
27b80 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 76 69 64 65 6f ....................(:hugo-video
27ba0 73 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 s."HUGO_VIDEOS".nil.nil.newline)
27bc0 0a 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 ....................;;.weight...
27be0 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 65 69 67 68 74 20 22 .................(:hugo-weight."
27c00 48 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 HUGO_WEIGHT".nil.nil.space)))...
27c20 0c 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 ..;;;.Miscellaneous.Helper.Funct
27c40 69 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 ions..;;;;.Check.if.a.value.is.n
27c60 6f 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 on-nil.(defun.org-hugo--value-ge
27c80 74 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 t-true-p.(value)..."Return.non-n
27ca0 69 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 il.if.VALUE.is.non-nil..Return.n
27cc0 69 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 il.if.VALUE.is.nil,.\"nil\".or.\
27ce0 22 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 "\"."...(cond....((or.(equal.t.v
27d00 61 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 alue).........(equal.nil.value))
27d20 0a 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 .....value)....((and.(stringp.va
27d40 6c 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 lue)..........(string=.value."ni
27d60 6c 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 l")).....nil)....(t.....;;."".->
27d80 20 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 .nil.....;;."t".->."t".....;;."a
27da0 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 65 6c 73 65 22 nything.else".->."anything.else"
27dc0 0a 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 .....;;.123.->.nil.....(org-stri
27de0 6e 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 ng-nw-p.value))))..;;;;.Check.if
27e00 20 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 .a.boolean.plist.value.is.non-ni
27e20 6c 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 l.(defun.org-hugo--plist-get-tru
27e40 65 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 e-p.(info.key)..."Return.non-nil
27e60 20 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 .if.KEY.in.INFO.is.non-nil..Retu
27e80 72 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 rn.nil.if.the.value.of.KEY.in.IN
27ea0 46 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 FO.is.nil,.\"nil\".or.\"\"...Thi
27ec0 73 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 s.is.a.special.version.of.`plist
27ee0 2d 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 -get'.used.only.for.keys.that.ar
27f00 65 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 e.expected.to.hold.a.boolean.val
27f20 75 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 ue...INFO.is.a.plist.used.as.a.c
27f40 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 20 28 28 ommunication.channel."...(let.((
27f60 76 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 value.(plist-get.info.key)))....
27f80 20 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 .;;.(message."dbg:.org-hugo--pli
27fa0 73 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 st-get-true-p::.key:%S.value:%S"
27fc0 20 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 .key.value).....(org-hugo--value
27fe0 2d 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 -get-true-p.value)))..;;;;.Worka
28000 72 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 round.to.retain.custom.parameter
28020 73 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 s.in.src-block.headers.post.`org
28040 2d 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 -babel-exp-code'.;;.http://lists
28060 2e 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 .gnu.org/archive/html/emacs-orgm
28080 6f 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 ode/2017-10/msg00300.html.(defun
280a0 20 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 .org-hugo--org-babel-exp-code.(o
280c0 72 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 rig-fun.&rest.args)..."Return.th
280e0 65 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 e.original.code.block.formatted.
28100 66 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 for.export..ORIG-FUN.is.the.orig
28120 69 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 inal.function.`org-babel-exp-cod
28140 65 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 e'.that.this.function.is.designe
28160 64 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 d.to.advice.using.`:around'...AR
28180 47 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 GS.are.the.arguments.of.the.ORIG
281a0 2d 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 -FUN...This.advice.retains.the.`
281c0 3a 68 6c 5f 6c 69 6e 65 73 27 2c 20 60 6c 69 6e 65 6e 6f 73 27 2c 20 60 73 79 6e 74 61 78 2d 73 :hl_lines',.`linenos',.`syntax-s
281e0 74 79 6c 65 27 20 61 6e 64 0a 60 3a 66 72 6f 6e 74 5f 6d 61 74 74 65 72 5f 65 78 74 72 61 27 20 tyle'.and.`:front_matter_extra'.
28200 70 61 72 61 6d 65 74 65 72 73 2c 20 69 66 20 61 64 64 65 64 20 74 6f 20 61 6e 79 20 73 6f 75 72 parameters,.if.added.to.any.sour
28220 63 65 20 62 6c 6f 63 6b 2e 0a 54 68 69 73 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 75 73 65 64 ce.block..This.parameter.is.used
28240 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 27 2e 22 0a 20 20 28 6c 65 .in.`org-hugo-src-block'."...(le
28260 74 2a 20 28 28 70 61 72 61 6d 2d 6b 65 79 73 2d 74 6f 2d 62 65 2d 72 65 74 61 69 6e 65 64 20 27 t*.((param-keys-to-be-retained.'
28280 28 3a 68 6c 5f 6c 69 6e 65 73 20 3a 6c 69 6e 65 6e 6f 73 20 3a 73 79 6e 74 61 78 2d 73 74 79 6c (:hl_lines.:linenos.:syntax-styl
282a0 65 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 20 e.:front_matter_extra)).........
282c0 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 72 .(info.(car.args))..........(par
282e0 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 28 ameters.(nth.2.info))..........(
28300 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 22 ox-hugo-params-str.(let.((str.""
28320 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 ))..............................
28340 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 20 ..(dolist.(param.parameters)....
28360 20 20 20 20 20 20 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 ..............................(d
28380 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 2d olist.(retain-key.param-keys-to-
283a0 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 20 be-retained)....................
283c0 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 74 ................(when.(equal.ret
283e0 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 20 ain-key.(car.param))............
28400 20 20 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.(
28420 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 20 (val.(cdr.param)))..............
28440 20 20 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.
28460 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 20 str.............................
28480 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 22 .................(concat.str."."
284a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
284c0 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 61 ......................(symbol-na
284e0 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 20 me.retain-key)."."..............
28500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28520 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...................
28540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28560 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 20 ....((stringp.val)..............
28580 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
285a0 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 20 ..........val)..................
285c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
285e0 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 20 .....((numberp.val).............
28600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28620 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 6c ...........(number-to-string.val
28640 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 ))..............................
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 28 74 0a 20 20 20 20 .........................(t.....
28680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
286a0 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 22 ...................(user-error."
286c0 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 22 Invalid.value.%S.assigned.to.%S"
286e0 0a 20 20 20 20 20 20 20 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 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28720 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 20 ....val.retain-key))))))))).....
28740 20 20 20 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-
28760 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 20 string-nw-p.(org-trim.str))))...
28780 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 78 .......ret).....;;.(message."[ox
287a0 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 20 -hugo.ob-exp].info:.%S".info)...
287c0 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 20 ..;;.(message."[ox-hugo.ob-exp].
287e0 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 20 parameters:.%S".parameters).....
28800 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 78 ;;.(message."[ox-hugo.ob-exp].ox
28820 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 61 -hugo-params-str:.%S".ox-hugo-pa
28840 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 6f rams-str).....(setq.ret.(apply.o
28860 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 6f rig-fun.args)).....(when.ox-hugo
28880 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 6f -params-str.......(let.((case-fo
288a0 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 20 ld-search.t)).........(setq.ret.
288c0 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 5c (replace-regexp-in-string."\\`#\
288e0 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 20 \+begin_src..*".................
28900 20 20 20 20 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
28920 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 29 mat."\\&.%s".ox-hugo-params-str)
28940 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 75 .ret)))).....;;.(message."[ox-hu
28960 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 74 go.ob-exp].ret:.%S".ret).....ret
28980 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 20 ))...;;;;.Workaround.to.fix.the.
289a0 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 6f regression.in.the.behavior.of.`o
289c0 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 20 rg-babel--string-to-number'..;;.
289e0 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 72 https://lists.gnu.org/r/emacs-or
28a00 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 66 gmode/2020-02/msg00931.html.(def
28a20 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 74 un.org-hugo--org-babel--string-t
28a40 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 72 o-number.(string)..."If.STRING.r
28a60 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 61 epresents.a.number.return.its.va
28a80 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 73 lue..Otherwise.return.nil...This
28aa0 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 20 .function.restores.the.behavior.
28ac0 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 27 of.`org-babel--string-to-number'
28ae0 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 73 .to.that.of.before.https://git.s
28b00 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 6d avannah.gnu.org/cgit/emacs/org-m
28b20 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 37 ode.git/commit/?id=6b2a7cb20b357
28b40 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 20 e730de151522fe4204c96615f98."...
28b60 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 30 (and.(string-match-p."\\`-?\\([0
28b80 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 2d -9]\\|\\([1-9]\\|[0-9]*\\.\\)[0-
28ba0 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 6e 9]*\\)\\'".string)........(strin
28bc0 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 72 g-to-number.string)))..(defun.or
28be0 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 65 g-hugo--org-info-export.(path.de
28c00 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 78 sc.format)..."Add.support.for.ex
28c20 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 68 porting.[[info:..]].links.for.`h
28c40 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 61 ugo'.format...See.`org-link-para
28c60 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 20 meters'.for.details.about.PATH,.
28c80 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 74 DESC.and.FORMAT."...(let*.((part
28ca0 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 0a s.(split-string.path."#\\|::")).
28cc0 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 20 .........(manual.(car.parts))...
28ce0 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 22 .......(node.(or.(nth.1.parts)."
28d00 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 22 Top"))..........(title.(format."
28d20 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 5c Emacs.Lisp:.(info.\\\"(%s).%s\\\
28d40 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 63 ")".manual.node))..........(desc
28d60 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 66 .(or.desc....................(if
28d80 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 20 .(string=.node."Top")...........
28da0 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 28 .............(format."%s.Info".(
28dc0 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 20 capitalize.manual)).............
28de0 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 28 .........(format."%s.Info:.%s".(
28e00 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 20 capitalize.manual).node)))).....
28e20 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 64 .....;;.`link'.below.is.mostly.d
28e40 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 20 erived.from.the.code.in.........
28e60 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 20 .;;.`org-info-map-html-url'.....
28e80 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 61 ......(link.(cond.((member.manua
28ea0 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 20 l.org-info-emacs-documents).....
28ec0 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 2d ..................(let.((manual-
28ee0 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 61 url.(if.(string=.(downcase.manua
28f00 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 20 l)."org").......................
28f20 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 6f ......................"https://o
28f40 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 20 rgmode.org/manual"..............
28f60 20 20 20 20 20 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
28f80 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 61 rmat."https://www.gnu.org/softwa
28fa0 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 61 re/emacs/manual/html_node/%s".ma
28fc0 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 20 nual))).........................
28fe0 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 20 ....(node-url.(if.(string=.node.
29000 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 20 "Top")..........................
29020 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 20 ................."index.html"...
29040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
29060 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 2d ......(concat.(org-info--expand-
29080 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 20 node-name.node).".html")))).....
290a0 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 2f ....................(format."%s/
290c0 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 20 %s".manual-url.node-url)))......
290e0 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 20 ................((member.manual.
29100 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 20 org-hugo-info-gnu-software).....
29120 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 2d ..................(let.((manual-
29140 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 67 url.(format."https://www.gnu.org
29160 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 6d /software/%s/manual/html_node".m
29180 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 20 anual)).........................
291a0 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 20 ....(node-url.(if.(string=.node.
291c0 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 20 "Top")..........................
291e0 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 20 ................."index.html"...
29200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
29220 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 2d ......(concat.(org-info--expand-
29240 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 20 node-name.node).".html")))).....
29260 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 2f ....................(format."%s/
29280 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 20 %s".manual-url.node-url)))......
292a0 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 6e ................((cdr.(assoc.man
292c0 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 0a ual.org-info-other-documents))).
292e0 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 20 .....................(t.........
29300 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 68 ..............(concat.manual.".h
29320 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 6d tml"))))).....(when.(member.form
29340 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 25 at.'(md.hugo)).......(format."[%
29360 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 29 s](%s.\"%s\")".desc.link.title))
29380 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 78 ))..(defun.org-hugo--org-cite-ex
293a0 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 73 port-bibliography.(orig-fun.&res
293c0 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 6f t.args)..."Insert.a.heading.befo
293e0 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 4f re.the.exported.bibliography...O
29400 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 6e RIG-FUN.is.the.original.function
29420 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 0a .`org-cite-export-bibliography'.
29440 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 74 that.this.function.is.designed.t
29460 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 0a o.advice.using.`:around'...ARGS.
29480 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 55 are.the.arguments.of.the.ORIG-FU
294a0 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 6e N."...(let.((bib.(apply.orig-fun
294c0 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 6e .args))).....(when.(org-string-n
294e0 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 69 w-p.bib).......;;.Auto-inject.Bi
29500 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 28 bliography.heading........(let.(
29520 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 65 (info.(nth.2.args)).;(org-cite-e
29540 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 46 xport-bibliography.KEYWORD._.INF
29560 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 67 O).............(bib-heading.(org
29580 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 6f -string-nw-p.(plist-get.org-hugo
295a0 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 73 -citations-plist.:bibliography-s
295c0 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 6e ection-heading)))).........(when
295e0 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 62 .bib-heading...........(let*.((b
29600 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 61 ib-heading.(org-blackfriday--tra
29620 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 20 nslate.nil.info.bib-heading))...
29640 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 2d ...............(loffset.(string-
29660 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 20 to-number.......................
29680 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 50 .....(or.(org-entry-get.nil."EXP
296a0 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 29 ORT_HUGO_LEVEL_OFFSET".:inherit)
296c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
296e0 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 73 (plist-get.info.:hugo-level-offs
29700 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 6d et))))..................(level-m
29720 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 3f ark.(make-string.(+.loffset.1).?
29740 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 5c #))).............(format."%s.%s\
29760 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 69 n\n%s".level-mark.bib-heading.bi
29780 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 72 b)))))))..(defun.org-hugo--befor
297a0 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 22 e-export-function.(subtreep)..."
297c0 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 2d Function.to.be.run.before.an.ox-
297e0 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 63 hugo.export...This.function.is.c
29800 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 60 alled.in.the.very.beginning.of.`
29820 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 2d org-hugo-export-to-md'.and.`org-
29840 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 73 hugo-export-as-md'...SUBTREEP.is
29860 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 72 .non-nil.for.subtree-based.expor
29880 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 64 ts...This.function.is.used.to.ad
298a0 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 63 vise.few.functions...Those.advic
298c0 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 6f es.are.effective.only.while.an.o
298e0 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 63 x-hugo.export.is.in.progress.bec
29900 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 60 ause.they.get.removed.later.in.`
29920 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 6f org-hugo--after-1-export-functio
29940 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 6f n'...This.is.an.internal.functio
29960 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 65 n."...(unless.subtreep.....;;.Re
29980 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 20 set.the.variables.that.are.used.
299a0 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 73 only.for.subtree.exports......(s
299c0 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 29 etq.org-hugo--subtree-coord.nil)
299e0 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 63 )...(advice-add.'org-babel-exp-c
29a00 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 65 ode.:around.#'org-hugo--org-babe
29a20 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 62 l-exp-code)...(advice-add.'org-b
29a40 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 65 abel--string-to-number.:override
29a60 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 74 .#'org-hugo--org-babel--string-t
29a80 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 66 o-number)...(advice-add.'org-inf
29aa0 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 6f o-export.:override.#'org-hugo--o
29ac0 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 6f rg-info-export)...(advice-add.'o
29ae0 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 6f rg-cite-export-bibliography.:aro
29b00 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 2d und.#'org-hugo--org-cite-export-
29b20 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 2d bibliography))..(defun.org-hugo-
29b40 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 6f -after-1-export-function.(info.o
29b60 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 66 utfile)..."Function.to.be.run.af
29b80 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 73 ter.exporting.one.post...The.pos
29ba0 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 75 t.could.be.exported.using.the.su
29bc0 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 64 btree-based.or.file-based.method
29be0 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 68 ...This.function.is.called.in.th
29c00 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 27 e.end.of.`org-hugo-export-to-md'
29c20 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 0a ,.and.`org-hugo-export-as-md'...
29c40 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
29c60 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 65 ication.channel...OUTFILE.is.the
29c80 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 69 .Org.exported.file.name...This.i
29ca0 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 69 s.an.internal.function."...(advi
29cc0 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 69 ce-remove.'org-cite-export-bibli
29ce0 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 70 ography.#'org-hugo--org-cite-exp
29d00 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 6f ort-bibliography)...(advice-remo
29d20 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 2d ve.'org-info-export.#'org-hugo--
29d40 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 76 org-info-export)...(advice-remov
29d60 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 23 e.'org-babel--string-to-number.#
29d80 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 2d 'org-hugo--org-babel--string-to-
29da0 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 61 number)...(advice-remove.'org-ba
29dc0 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 62 bel-exp-code.#'org-hugo--org-bab
29de0 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 6c el-exp-code)...(when.(and.outfil
29e00 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 63 e..............(org-hugo--pandoc
29e20 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 20 -citations-enabled-p.info)).....
29e40 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 20 (require.'ox-hugo-pandoc-cite)..
29e60 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 66 ...(plist-put.info.:outfile.outf
29e80 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 2d ile).....(plist-put.info.:front-
29ea0 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 75 matter.org-hugo--fm).....(org-hu
29ec0 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 2d go-pandoc-cite--parse-citations-
29ee0 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 66 maybe.info))...(setq.org-hugo--f
29f00 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 6c m.nil)...(setq.org-hugo--fm-yaml
29f20 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 70 .nil))..(defun.org-hugo--cleanup
29f40 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 20 .()..."Function.to.kill.Ox-Hugo.
29f60 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 61 opened.buffers.and.reset.interna
29f80 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 61 l.variables...This.is.an.interna
29fa0 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 73 l.function."...(setq.org-hugo--s
29fc0 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 72 ubtree-count.0).;Reset.the.subtr
29fe0 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 66 ee.count....;;.Kill.all.the.buff
2a000 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 0a ers.opened.by.during.an.export..
2a020 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 2d ..(dolist.(buf.org-hugo--opened-
2a040 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 0a buffers).....(kill-buffer.buf)).
2a060 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 73 ..(setq.org-hugo--opened-buffers
2a080 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 63 .nil)....(setq.org-hugo--preproc
2a0a0 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 68 essed-buffer.nil))..(defun.org-h
2a0c0 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 20 ugo--after-all-exports-function.
2a0e0 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 4f ()..."Function.to.be.run.after.O
2a100 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 54 x-Hugo.exports.all.the.posts...T
2a120 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 6e his.function.is.called.in.the.en
2a140 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 27 d.of.`org-hugo-export-wim-to-md'
2a160 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 6f ,.`org-hugo-export-to-md'.and.`o
2a180 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 4c rg-hugo-export-as-md'.(if.its.AL
2a1a0 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 69 L-SUBTREES.arg.is.non-nil)...Thi
2a1c0 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 6f s.is.an.internal.function."...(o
2a1e0 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 20 rg-hugo--cleanup)...(dolist.(fn.
2a200 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 66 org-hugo--all-subtrees-export--f
2a220 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 65 unctions-to-silence).....(advice
2a240 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 69 -remove.fn.#'org-hugo--advice-si
2a260 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 64 lence-messages)))..;;;;.HTMLized
2a280 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 66 .section.number.for.heading.(def
2a2a0 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 20 un.org-hugo--get-heading-number.
2a2c0 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 22 (heading.info.&optional.toc)..."
2a2e0 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 66 Return.htmlized.section.number.f
2a300 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 20 or.the.HEADING..INFO.is.a.plist.
2a320 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.
2a340 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 6e ..When.the.\"num\".export.option
2a360 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 73 .is.`onlytoc',.heading.number.is
2a380 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 61 .returned.only.if.the.optional.a
2a3a0 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 20 rgument.TOC.is.non-nil...Return.
2a3c0 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 65 nil.if.there.is.no.heading.numbe
2a3e0 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 0a r,.or.if.it.has.been.disabled.".
2a400 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 63 ..(let.((onlytoc.(equal.'onlytoc
2a420 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 72 .(plist-get.info.:section-number
2a440 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 20 s)))).....(when.(and.(if.toc....
2a460 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 20 ................t...............
2a480 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 6e ...(not.onlytoc)).;If.`toc'.is.n
2a4a0 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 65 il,.but.`onlytoc'.is.non-nil,.re
2a4c0 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 70 turn.nil................(org-exp
2a4e0 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 20 ort-numbered-headline-p.heading.
2a500 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 28 info)).......(let.((number-str.(
2a520 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 20 mapconcat.......................
2a540 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 20 ...'number-to-string............
2a560 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 65 ..............(org-export-get-he
2a580 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 29 adline-number.heading.info).".")
2a5a0 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 3d )).........(format."<span.class=
2a5c0 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 62 \"section-num\">%s</span>.".numb
2a5e0 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 66 er-str)))))..;;;;.Build.TOC.(def
2a600 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 70 un.org-hugo--build-toc.(info.&op
2a620 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 20 tional.n.scope.local)..."Return.
2a640 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 0a table.of.contents.as.a.string...
2a660 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
2a680 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 6d ication.channel...Optional.argum
2a6a0 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 69 ent.N,.when.non-nil,.is.a.positi
2a6c0 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 20 ve.integer.specifying.the.depth.
2a6e0 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 67 of.the.table...When.optional.arg
2a700 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 20 ument.SCOPE.is.non-nil,.build.a.
2a720 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 74 table.of.contents.according.to.t
2a740 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 69 he.specified.element...When.opti
2a760 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 20 onal.argument.LOCAL.is.non-nil,.
2a780 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 64 build.a.table.of.contents.accord
2a7a0 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 28 ing.to.the.current.heading."...(
2a7c0 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 6e let*.((toc-heading...........(un
2a7e0 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 22 less.local.............(format."
2a800 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 76 \n<div.class=\"heading\">%s</div
2a820 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 74 >\n".....................(org-ht
2a840 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 73 ml--translate."Table.of.Contents
2a860 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 76 ".info))))..........(current-lev
2a880 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 20 el.nil)..........(toc-items.....
2a8a0 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 6d ......(mapconcat............(lam
2a8c0 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 2a bda.(heading)..............(let*
2a8e0 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 6c .((level-raw.(org-export-get-rel
2a900 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))......
2a920 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 0a ...............(level.(if.scope.
2a940 20 20 20 20 20 20 20 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 ...............................(
2a960 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 20 let*.((current-level-inner......
2a980 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2a9a0 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 20 ..(progn........................
2a9c0 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 6e ..................(unless.curren
2a9e0 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 20 t-level.........................
2aa00 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 74 ...................(setq.current
2aa20 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 20 -level.level-raw))..............
2aa40 20 20 20 20 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 72 ............................curr
2aa60 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 20 ent-level)).....................
2aa80 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 65 ..................(relative-leve
2aaa0 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 20 l...............................
2aac0 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 6e .........(1+.(-.level-raw.curren
2aae0 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 20 t-level-inner))))...............
2ab00 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 28 ...................;;.(message.(
2ab20 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 20 concat."[ox-hugo.build-toc.DBG].
2ab40 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 "...............................
2ab60 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 2d ...;;.................."current-
2ab80 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 64 level-inner:%d.relative-level:%d
2aba0 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 20 ")..............................
2abc0 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 6e ....;;..........current-level-in
2abe0 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 20 ner.relative-level).............
2ac00 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 65 .....................relative-le
2ac20 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 20 vel)............................
2ac40 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 20 ..level-raw))...................
2ac60 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 34 ..(indentation.(make-string.(*.4
2ac80 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 20 .(1-.level)).?\s))..............
2aca0 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 69 .......(todo.(and.(org-hugo--pli
2acc0 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 65 st-get-true-p.info.:with-todo-ke
2ace0 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 20 ywords).........................
2ad00 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 6f .......(org-element-property.:to
2ad20 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 20 do-keyword.heading)))...........
2ad40 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 20 ..........(todo-str.(if.todo....
2ad60 20 20 20 20 20 20 20 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 ...............................(
2ad80 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 6f concat.(org-hugo--todo.todo.info
2ada0 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 20 ).".")..........................
2adc0 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 20 ......."")).....................
2ade0 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 65 (heading-num-list.(org-export-ge
2ae00 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 29 t-headline-number.heading.info))
2ae20 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 66 .....................(number.(if
2ae40 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 20 .heading-num-list...............
2ae60 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."[
2ae80 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 73 ox-hugo.TOC.DBG].heading-num-lis
2aea0 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 20 t:.%S".heading-num-list)........
2aec0 20 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
2aee0 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 69 go--get-heading-number.heading.i
2af00 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 20 nfo.:toc).......................
2af20 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 ........""))....................
2af40 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 20 .(toc-entry.....................
2af60 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 20 .(format."[%s%s](#%s)"..........
2af80 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 20 ....................todo-str....
2afa0 20 20 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 ..........................(org-e
2afc0 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 20 xport-data-with-backend.........
2afe0 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
2b000 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 20 t-get-alt-title.heading.info)...
2b020 20 20 20 20 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
2b040 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 29 -export-toc-entry-backend.'hugo)
2b060 0a 20 20 20 20 20 20 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 ...............................i
2b080 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)............................
2b0a0 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 20 ..(org-hugo--get-anchor.heading.
2b0c0 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 67 info))).....................(tag
2b0e0 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 67 s.(and.(plist-get.info.:with-tag
2b100 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)..............................
2b120 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 65 ..(not.(eq.'not-in-toc.(plist-ge
2b140 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 20 t.info.:with-tags)))............
2b160 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 20 ....................(let.((tags.
2b180 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 66 (org-export-get-tags.heading.inf
2b1a0 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)))............................
2b1c0 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 20 ......(and.tags.................
2b1e0 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 3a ......................(format.":
2b200 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 20 %s:"............................
2b220 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 27 ...................(mapconcat.#'
2b240 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 20 identity.tags.":")))))))........
2b260 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 75 ........;;.(message."[ox-hugo.bu
2b280 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 73 ild-toc.DBG].level:%d,.number:%s
2b2a0 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 3b ".level.number)................;
2b2c0 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 44 ;.(message."[ox-hugo.build-toc.D
2b2e0 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 6e BG].indentation:.%S".indentation
2b300 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 6f )................;;.(message."[o
2b320 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 7c x-hugo.build-toc.DBG].todo:.%s.|
2b340 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 20 .%s".todo.todo-str).............
2b360 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 62 ...(concat.indentation."-.".numb
2b380 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 20 er.toc-entry.tags)))............
2b3a0 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 6e (org-export-collect-headlines.in
2b3c0 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 20 fo.n.scope)............"\n"))...
2b3e0 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 74 ....................;Newline.bet
2b400 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 76 ween.TOC.items..........;;.Remov
2b420 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 4f e.blank.lines.from.in-between.TO
2b440 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 67 C.items,.which.can..........;;.g
2b460 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 4e et.introduced.when.using.the."UN
2b480 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 3b NUMBERED:.t".heading..........;;
2b4a0 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 28 .property...........(toc-items.(
2b4c0 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 20 org-string-nw-p.................
2b4e0 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 22 .....(replace-regexp-in-string."
2b500 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 20 \n\\{2,\\}"."\n".toc-items))))..
2b520 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 74 ...;;.(message."[ox-hugo.build-t
2b540 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 29 oc.DBG].toc-items:%s".toc-items)
2b560 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 20 .....(when.toc-items.......(let.
2b580 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 74 ((toc-classes.'("toc"."ox-hugo-t
2b5a0 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 6f oc")).............;;.`has-sectio
2b5c0 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 6e n-numbers'.is.non-nil.if.section
2b5e0 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 73 .numbers.are.............;;.pres
2b600 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 20 ent.for.even.one.heading........
2b620 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 69 ......(has-section-numbers.(stri
2b640 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 63 ng-match-p."^\\s-*\\-\\s-<span.c
2b660 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 6d lass=\"section\\-num\"".toc-item
2b680 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 6e s))).........(when.has-section-n
2b6a0 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 74 umbers...........(push."has-sect
2b6c0 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 20 ion-numbers".toc-classes))......
2b6e0 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 22 ...(when.local...........(push."
2b700 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 6f local".toc-classes)).........(co
2b720 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 3e ncat.(format."<div.class=\"%s\">
2b740 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 6c \n".(string-join.(reverse.toc-cl
2b760 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 6e asses).".")).................(un
2b780 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
2b7a0 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)...........
2b7c0 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 69 ........"<div></div>\n").;This.i
2b7e0 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 42 s.a.nasty.workaround.till.Hugo/B
2b800 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 20 lackfriday.support..............
2b820 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 6b ...toc-heading....;wrapping.Mark
2b840 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 20 down.in.HTML.div's..............
2b860 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 65 ...."\n".................toc-ite
2b880 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 6f ms.;https://github.com/kaushalmo
2b8a0 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 20 di/ox-hugo/issues/93............
2b8c0 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 64 ....."\n\n"................."</d
2b8e0 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 61 iv>\n".................;;.Specia
2b900 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 6c l.comment.that.can.be.use.to.fil
2b920 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 20 ter.out.the.TOC.................
2b940 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 74 ;;.from..Summary.in.Hugo.templat
2b960 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 20 es..................;;..........
2b980 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 73 .......;;.....{{.$summary_splits
2b9a0 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 2d .:=.split..Summary."<!--endtoc--
2b9c0 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 20 >".}}.................;;.....{{.
2b9e0 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 7d if.eq.(len.$summary_splits).2.}}
2ba00 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 2d .................;;.........<!--
2ba20 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 20 .If.that.endtoc.special.comment.
2ba40 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 74 is.present,.output.only.the.part
2ba60 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 20 .after.that.comment.as.Summary..
2ba80 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 7b -->.................;;.........{
2baa0 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 65 {.index.$summary_splits.1.|.safe
2bac0 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 7b HTML.}}.................;;.....{
2bae0 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 20 {.else.}}.................;;....
2bb00 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 72 .....<!--.Print.the.whole.Summar
2bb20 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 6e y.if.endtoc.special.comment.is.n
2bb40 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 3b ot.found..-->.................;;
2bb60 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 20 .........{{..Summary.}}.........
2bb80 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 20 ........;;.....{{.end.}}........
2bba0 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 0a ........."<!--endtoc-->\n"))))).
2bbc0 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 66 .;;;;.Escape.Hugo.shortcode.(def
2bbe0 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 6f un.org-hugo--escape-hugo-shortco
2bc00 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 68 de.(code.lang)..."Escape.Hugo.sh
2bc20 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 69 ortcodes.if.present.in.CODE.stri
2bc40 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 6c ng...The.escaping.is.enabled.onl
2bc60 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 22 y.if.LANG.is.\"md\",.\"org\",.\"
2bc80 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 69 go-html-template\".or.\"emacs-li
2bca0 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 77 sp\"....-.Shortcode.with.Markdow
2bcc0 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 20 n....:.{{%.foo.%}}.->.{{%/*.foo.
2bce0 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 6b */%}}...-.Shortcode.without.Mark
2bd00 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 20 down.:.{{<.foo.>}}.->.{{</*.foo.
2bd20 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 61 */>}}..Return.the.escaped/unesca
2bd40 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 20 ped.string."...(if.(member.lang.
2bd60 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 20 '("md"."org"."go-html-template".
2bd80 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 65 "emacs-lisp")).......(replace-re
2bda0 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 29 gexp-in-string........"\\({{<\\)
2bdc0 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 2a \\([^}][^}]*\\)\\(>}}\\)"."\\1/*
2bde0 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 70 \\2*/\\3"........(replace-regexp
2be00 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 28 -in-string........."\\({{%\\)\\(
2be20 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 32 [^}][^}]*\\)\\(%}}\\)"."\\1/*\\2
2be40 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 48 */\\3".code)).....code))..;;;;.H
2be60 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 67 ugo.Version.(defun.org-hugo--hug
2be80 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 73 o-version.()..."Return.hugo.vers
2bea0 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 20 ion...If.hugo.is.found.in.PATH,.
2bec0 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 20 return.(LONG...SHORT)...LONG.is.
2bee0 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 68 the.exact.string.returned.by.\"h
2bf00 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 6f ugo.version\"...SHORT.is.the.sho
2bf20 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 5c rt.version.of.above..Examples:.\
2bf40 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 2e "0.31.1\",.\"0.31.99\".(for.\"0.
2bf60 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 6e 32-DEV\".version)...If.hugo.is.n
2bf80 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 28 ot.found,.return.nil."...(when.(
2bfa0 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 74 executable-find."hugo").....(let
2bfc0 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 6f *.((long-ver.(org-trim.(shell-co
2bfe0 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 29 mmand-to-string."hugo.version"))
2c000 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 65 )............(short-ver.(replace
2c020 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 5c -regexp-in-string.".*.v\\([^.]+\
2c040 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 28 \)..*"."\\1".long-ver))).......(
2c060 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 6f when.(string-match."-DEV-.*".sho
2c080 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 56 rt-ver).........;;.Replace."-DEV
2c0a0 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 54 -*".in.version.string.with."-BET
2c0c0 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 74 A".because.........;;.`version-t
2c0e0 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 45 o-list'.does.not.understand."-DE
2c100 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 70 V"..........(setq.short-ver.(rep
2c120 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 74 lace-match."-BETA".nil.nil.short
2c140 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 74 -ver)).........;;.Below,.convert
2c160 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 6c ."0.32-DEV".->."0.31.99".(exampl
2c180 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 74 e).so.that.........;;.version.st
2c1a0 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 74 rings.can.be.compared.with.funct
2c1c0 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 2e ions.like.........;;.`version<'.
2c1e0 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 20 .........(let*.((short-ver-list.
2c200 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 20 (version-to-list.short-ver))....
2c220 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 68 ............(major-ver.(nth.0.sh
2c240 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 6d ort-ver-list))................(m
2c260 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 29 inor-ver.(nth.1.short-ver-list))
2c280 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 20 ................(micro-ver.(nth.
2c2a0 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 3b 2.short-ver-list)))...........;;
2c2c0 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 61 .micro-ver.will.be.-2.for."-beta
2c2e0 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 74 ".(DEV).versions............(set
2c300 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 20 q.micro-ver.99)..;Assuming.that.
2c320 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 65 the.real.micro-ver.will.never.be
2c340 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 72 come.99...........(if.(=.0.minor
2c360 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 31 -ver)..;Example:."1.0-DEV".->.(1
2c380 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 20 .0.99).->.(0.99.99).............
2c3a0 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 6d ..(progn.................(setq.m
2c3c0 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 20 inor-ver.99).;Assuming.that.the.
2c3e0 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 20 max.minor.version.is.99.........
2c400 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 6f ........(setq.major-ver.(1-.majo
2c420 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 65 r-ver))).;Assuming.that.major-ve
2c440 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 20 r.is.not.0.to.begin.with........
2c460 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 76 .....(setq.minor-ver.(1-.minor-v
2c480 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 30 er))).;Example:."0.32-DEV".->.(0
2c4a0 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 28 .32.99).->.(0.31.99)...........(
2c4c0 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 2d setq.short-ver-list.(list.major-
2c4e0 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 20 ver.minor-ver.micro-ver)).......
2c500 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 23 ....(setq.short-ver.(mapconcat.#
2c520 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 74 'number-to-string.short-ver-list
2c540 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 68 .".")))).......(cons.long-ver.sh
2c560 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 73 ort-ver))))..;;;;.Resources.Alis
2c580 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 72 t.Merging.(defun.org-hugo--get-r
2c5a0 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 65 esources-alist.(resources)..."Ge
2c5c0 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 2e nerate.a.merged.RESOURCES.alist.
2c5e0 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 22 ..All.parameters.for.the.same.\"
2c600 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 65 src\".are.merged.together.in.the
2c620 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 61 .same.Lisp.form...Parameters.tha
2c640 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 22 t.are.none.of.\"src\",.\"title\"
2c660 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 20 .or.\"name\".are.packed.into.an.
2c680 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 22 alist.with.`car'.as.\"params\"."
2c6a0 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 42 ...;;.(message."[resources.IN.DB
2c6c0 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 75 G]:.%S".resources)...(when.resou
2c6e0 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 2d rces.....(let.(src1.all-src.src-
2c700 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 28 cons.src-already-exists).......(
2c720 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 3b dolist.(res.resources).........;
2c740 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 20 ;.(message."res:.%S".res).......
2c760 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 20 ..(let.((key.(car.res)))........
2c780 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 20 ...(cond............((equal.key.
2c7a0 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 20 'src).............(unless.(null.
2c7c0 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 28 src1)...............(setq.src1.(
2c7e0 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 69 nreverse.src1))...............(i
2c800 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 20 f.src-already-exists............
2c820 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 74 .......(setcdr.src-already-exist
2c840 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 70 s.(cdr.src1)).................(p
2c860 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 20 ush.src1.all-src))).............
2c880 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 20 (setq.src-cons.res).............
2c8a0 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 20 (setq.src-already-exists.(assoc.
2c8c0 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 3b src-cons.all-src)).............;
2c8e0 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 20 ;.(message."%S.exists?.%S".(cdr.
2c900 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 20 src-cons).src-already-exists)...
2c920 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 72 ..........(setq.src1.(or.(nrever
2c940 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 73 se.src-already-exists).(list.res
2c960 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 63 ))).............;;.(message."src
2c980 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 0a 1.temp:.%S".src1).............).
2c9a0 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 20 ...........((member.key.'(title.
2c9c0 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 63 name)).............(push.res.src
2c9e0 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 20 1))............(t...............
2ca00 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 20 ..............;Resource.Params..
2ca20 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 28 ...........(let*.((params-cons.(
2ca40 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 20 assoc.'params.src1))............
2ca60 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 73 ........(params.(cdr.params-cons
2ca80 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 20 )))...............(if.params....
2caa0 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 20 ...............(progn...........
2cac0 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 3a ..........;;.(message."params.1:
2cae0 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 20 .%S".params)....................
2cb00 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 20 .(push.res.params)..............
2cb20 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 61 .......(setq.params.(nreverse.pa
2cb40 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 6d rams)).....................;;.(m
2cb60 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 20 essage."params.2:.%S".params)...
2cb80 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 73 ..................(setcdr.params
2cba0 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 28 -cons.params)).................(
2cbc0 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 20 setq.params.(list.res)).........
2cbe0 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 73 ........(push.`(params...,params
2cc00 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 61 ).src1))...............;;.(messa
2cc20 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 20 ge."src1.temp.2:.%S".src1)......
2cc40 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 20 .........(setcdr.(assoc.'params.
2cc60 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 73 src1).params)))))).......(setq.s
2cc80 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 6d rc1.(nreverse.src1)).......;;.(m
2cca0 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 69 essage."src1:.%S".src1).......(i
2ccc0 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 28 f.src-already-exists...........(
2cce0 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 73 setcdr.src-already-exists.(cdr.s
2cd00 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 63 rc1)).........(push.src1.all-src
2cd20 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 20 )).......;;.Retain.the.order.of.
2cd40 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 73 src.......(setq.all-src.(nrevers
2cd60 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 61 e.all-src)).......;;.(message."a
2cd80 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 73 ll-src:.%S".all-src).......all-s
2cda0 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 72 rc)))..;;;;.Publication.Director
2cdc0 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 28 y.(defun.org-hugo--get-pub-dir.(
2cde0 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 61 info)..."Return.the.post.publica
2ce00 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 63 tion.directory.path...The.public
2ce20 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 74 ation.directory.is.created.if.it
2ce40 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 73 .does.not.exist...INFO.is.a.plis
2ce60 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
2ce80 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 73 l."...(let*.((base-dir.(if.(plis
2cea0 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 20 t-get.info.:hugo-base-dir)......
2cec0 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 2d ..................(file-name-as-
2cee0 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 2d directory.(plist-get.info.:hugo-
2cf00 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 20 base-dir))......................
2cf20 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 20 (user-error."It.is.mandatory.to.
2cf40 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 6f set.the.HUGO_BASE_DIR.property.o
2cf60 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 20 r.the.`org-hugo-base-dir'.local.
2cf80 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 64 variable")))..........(content-d
2cfa0 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 64 ir.(concat.org-hugo-content-fold
2cfc0 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 20 er."/"))..........(section-path.
2cfe0 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 6f (org-hugo--get-section-path.info
2d000 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 62 ))..........(bundle-dir.(let.((b
2d020 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 20 undle-path.(or.;Hugo.bundle.set.
2d040 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 20 in.the.post.subtree.gets.higher.
2d060 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 20 precedence......................
2d080 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
2d0a0 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 4f ntry-get-concat.nil."EXPORT_HUGO
2d0c0 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 20 _BUNDLE"."/")...................
2d0e0 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 65 .......................(plist-ge
2d100 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 73 t.info.:hugo-bundle)))).;This.is
2d120 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 77 .mainly.to.support.per-file.flow
2d140 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 64 ........................(if.bund
2d160 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 20 le-path.........................
2d180 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 6c ...(file-name-as-directory.bundl
2d1a0 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 20 e-path).........................
2d1c0 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 28 ."")))..........(pub-dir.(let.((
2d1e0 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 72 dir.(concat.base-dir.content-dir
2d200 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 20 .section-path.bundle-dir))).....
2d220 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 20 ................(make-directory.
2d240 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 74 dir.:parents).;Create.the.direct
2d260 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 20 ory.if.it.does.not.exist........
2d280 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 72 .............dir))).....(file-tr
2d2a0 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 20 uename.pub-dir)))..;;;;.Get.the.
2d2c0 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 73 publish.date.for.the.current.pos
2d2e0 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 66 t.(defun.org-hugo--get-date.(inf
2d300 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 20 o.fmt)..."Return.current.post's.
2d320 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 64 publish.date.as.a.string...The.d
2d340 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 65 ate.is.derived.with.this.precede
2d360 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 74 nce:..1..`:logbook-date'.propert
2d380 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 74 y.from.INFO..2..`CLOSED'.time.st
2d3a0 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 75 amp.if.the.point.is.in.an.Org.su
2d3c0 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 65 btree.with.the....`CLOSED'.prope
2d3e0 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 6d rty.set.(usually.generated.autom
2d400 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 61 atically.when....switching.a.hea
2d420 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 0a ding's.TODO.state.to.\"DONE\")..
2d440 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 72 3..`EXPORT_DATE'.property.in.cur
2d460 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 65 rent.post.subtree..4..Date.if.se
2d480 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 6b t.in.the.Org.file's.\"#+date\".k
2d4a0 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 65 eyword..This.date.is....formatte
2d4c0 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 46 d.using.the.time.format.string.F
2d4e0 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 2c MT...If.none.of.the.above.apply,
2d500 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 73 .return.nil...INFO.is.a.plist.us
2d520 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 0a ed.as.a.communication.channel.".
2d540 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 6f ..(or....(plist-get.info.:logboo
2d560 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 74 k-date)....(org-entry-get.(point
2d580 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 0a )."CLOSED")....(org-string-nw-p.
2d5a0 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 20 ....(org-export-data.(plist-get.
2d5c0 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 2d info.:date).info)).;`org-export-
2d5e0 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 77 data'.required....(org-string-nw
2d600 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 6f -p.....(org-export-get-date.info
2d620 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 66 .fmt))))..;;;;.Format.Dates.(def
2d640 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 66 un.org-hugo--org-date-time-to-rf
2d660 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 72 c3339.(date-time.info)..."Conver
2d680 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 0a t.DATE-TIME.to.RFC.3339.format..
2d6a0 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 66 .DATE-TIME.can.be.either.Emacs.f
2d6c0 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 6e ormat.time.list.(example:.return
2d6e0 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 6e .value.of.`current-time'),.or.an
2d700 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 20 .Org.date/time.string...INFO.is.
2d720 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.
2d740 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 69 channel."...(let*.((date-time.(i
2d760 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 20 f.(stringp.date-time)...........
2d780 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 69 ..............(apply.#'encode-ti
2d7a0 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 74 me.(org-parse-time-string.date-t
2d7c0 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 65 ime)).......................date
2d7e0 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 28 -time))..........(date-nocolon.(
2d800 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 20 format-time-string..............
2d820 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 6f ...........(plist-get.info.:hugo
2d840 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 20 -date-format)...................
2d860 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 65 ......date-time))).....;;.Hugo.e
2d880 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 6f xpects.the.date.stamp.in.this.fo
2d8a0 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 67 rmat.(RFC3339.--.See.....;;.`org
2d8c0 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 20 -hugo--date-time-regexp'.).i.e..
2d8e0 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 20 if.the.date.contains.the.....;;.
2d900 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 74 time-zone,.a.colon.is.required.t
2d920 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 20 o.separate.the.hours.and.....;;.
2d940 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 6e minutes.in.the.time-zone.section
2d960 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 20 ...2017-07-06T14:59:45-04:00....
2d980 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 61 ..;;.But.by.default.the."%z".pla
2d9a0 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 20 ceholder.for.time-zone.(see.....
2d9c0 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 65 ;;.`format-time-string').produce
2d9e0 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 30 s.the.zone.time-string.as."-0400
2da00 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 6e ".....;;.(Note.the.missing.colon
2da20 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 65 )...Below.simply.adds.a.colon.be
2da40 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 68 tween.....;;."04".and."00".in.th
2da60 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 61 at.example......(and.(stringp.da
2da80 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 65 te-nocolon)..........(replace-re
2daa0 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 2d gexp-in-string..........."\\([0-
2dac0 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 5c 9]\\{2\\}\\)\\([0-9]\\{2\\}\\)\\
2dae0 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 6f '"."\\1:\\2"...........date-noco
2db00 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 74 lon))))..(defun.org-hugo--format
2db20 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 20 -date.(date-key.info)..."Return.
2db40 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 2d a.date.string.formatted.in.Hugo-
2db60 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 20 compatible.format...DATE-KEY.is.
2db80 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 64 the.key.in.INFO.from.which.the.d
2dba0 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 73 ate.is.to.be.retrieved...INFO.is
2dbc0 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
2dbe0 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 41 .channel...Possible.values.of.DA
2dc00 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 6d TE-KEY.are.`:date',.`:hugo-lastm
2dc20 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 3a od',.`:hugo-publishdate',.and.`:
2dc40 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 66 hugo-expirydate'...Return.nil.if
2dc60 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 73 .the.retrieved.date.from.INFO.is
2dc80 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 6f .nil.or.if.the.date.cannot.be.fo
2dca0 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 61 rmatted.in.Hugo-compatible.forma
2dcc0 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 65 t."...(let*.((date-fmt.(plist-ge
2dce0 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 20 t.info.:hugo-date-format))......
2dd00 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 20 ....(date-raw.(cond.............
2dd20 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 0a ........((equal.date-key.:date).
2dd40 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 65 .....................;;.(message
2dd60 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 73 ."[ox-hugo.date.DBG].1.%s".(plis
2dd80 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 20 t-get.info.date-key))...........
2dda0 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 6f ...........;;.(message."[ox-hugo
2ddc0 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 74 .date.DBG].2.%s".(org-export-dat
2dde0 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 6f a.(plist-get.info.date-key).info
2de00 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 67 ))......................(org-hug
2de20 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 20 o--get-date.info.date-fmt)).....
2de40 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 79 ................((equal.date-key
2de60 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 20 .:hugo-lastmod).................
2de80 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 6f .....(or.(plist-get.info.:logboo
2dea0 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 6d k-lastmod).;lastmod.derived.from
2dec0 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 0a .LOGBOOK.gets.higher.precedence.
2dee0 20 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 74 .........................(org-st
2df00 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 6b ring-nw-p.(plist-get.info.date-k
2df20 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 64 ey)))).....................((and
2df40 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 61 .(equal.date-key.:hugo-publishda
2df60 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 6f te)...........................(o
2df80 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 22 rg-entry-get.(point)."SCHEDULED"
2dfa0 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 74 ))......................;;.Get.t
2dfc0 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 6f he.date.from.the."SCHEDULED".pro
2dfe0 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 67 perty.......................(org
2e000 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 29 -entry-get.(point)."SCHEDULED"))
2e020 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 20 .....................(t.........
2e040 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 70 ...;:hugo-publishdate,.:hugo-exp
2e060 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 72 irydate......................(or
2e080 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 61 g-string-nw-p.(plist-get.info.da
2e0a0 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 39 te-key)))))..........(dt-rfc3339
2e0c0 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 20 .(cond.......................;;.
2e0e0 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 59 If.the.date.set.for.the.DATE-KEY
2e100 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 20 .parameter.is...................
2e120 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 6c ....;;.already.in.Hugo-compatibl
2e140 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 20 e.format,.use.it................
2e160 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 29 ........((and.(stringp.date-raw)
2e180 0a 20 20 20 20 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
2e1a0 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 65 ring-match-p.org-hugo--date-time
2e1c0 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 20 -regexp.date-raw))..............
2e1e0 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 20 ..........date-raw).............
2e200 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 74 ..........;;.Else.if.it's.any.ot
2e220 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 20 her.string.(like................
2e240 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 74 .......;;."<2018-01-23.Tue>"),.t
2e260 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 20 ry.to.parse.that.date...........
2e280 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 29 .............((stringp.date-raw)
2e2a0 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 69 ........................(conditi
2e2c0 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 20 on-case.err.....................
2e2e0 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 2d .......(org-hugo--org-date-time-
2e300 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 20 to-rfc3339.date-raw.info).......
2e320 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 20 ...................(error.......
2e340 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 66 ....................;;.Set.dt-rf
2e360 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 20 c3339.to.nil.if.error.happens...
2e380 20 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 65 .........................;;.An.e
2e3a0 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 32 xample:.If.#+date.is.set.to.2012
2e3c0 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 20 -2017...........................
2e3e0 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 6a ;;.to.set.the.copyright.years,.j
2e400 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 20 ust.set.the.....................
2e420 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 20 ......;;.date.to.nil.instead.of.
2e440 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 20 throwing.an.error...............
2e460 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 74 ............;;.like:.org-parse-t
2e480 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 20 ime-string:.Not.a...............
2e4a0 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 65 ............;;.standard.Org.time
2e4c0 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 20 .string:.2012-2017..............
2e4e0 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 20 .............(message...........
2e500 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 75 .................(format."[ox-hu
2e520 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 20 go].Date.will.not.be.set.in.the.
2e540 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 20 front-matter:.%s"...............
2e560 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 29 .....................(nth.1.err)
2e580 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 6c ))...........................nil
2e5a0 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 73 ))).......................;;.Els
2e5c0 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 6f e.(if.nil).and.user.want.to.auto
2e5e0 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 3b -set.the.......................;
2e600 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 20 ;.lastmod.field..If.the.lastmod.
2e620 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 3b value.is.......................;
2e640 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 20 ;.derived.from.LOGBOOK,.disable.
2e660 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 74 the.......................;;.aut
2e680 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 20 o-setting.of.lastmod............
2e6a0 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 65 ............((and.(equal.date-ke
2e6c0 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)................
2e6e0 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 6e .............(null.(plist-get.in
2e700 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 20 fo.:logbook-lastmod))...........
2e720 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 69 ..................(org-hugo--pli
2e740 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 65 st-get-true-p.info.:hugo-auto-se
2e760 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 20 t-lastmod)).....................
2e780 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 6e ...(let*.((curr-time.(org-curren
2e7a0 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 20 t-time))........................
2e7c0 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 6f .......(lastmod-str.(org-hugo--o
2e7e0 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 6d rg-date-time-to-rfc3339.curr-tim
2e800 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 20 e.info))).......................
2e820 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 73 ...;;.(message."[ox-hugo.suppres
2e840 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 65 s-lastmod].current-time.=.%S.(de
2e860 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 20 coded.=.%S)"....................
2e880 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 63 ......;;..........curr-time.(dec
2e8a0 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 20 ode-time.curr-time))............
2e8c0 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 68 ..............;;.(message."[ox-h
2e8e0 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 74 ugo.suppress-lastmod].lastmod-st
2e900 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 20 r.=.%S".........................
2e920 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 20 .;;..........lastmod-str.)......
2e940 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 6f ....................(if.(=.0.0.o
2e960 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 29 rg-hugo-suppress-lastmod-period)
2e980 0a 20 20 20 20 20 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 ..............................(p
2e9a0 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 20 rogn............................
2e9c0 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
2e9e0 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 20 ss-lastmod].not.suppressed")....
2ea00 20 20 20 20 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 74 ............................last
2ea20 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 20 mod-str)........................
2ea40 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 2d ....(let.((date-str.(org-string-
2ea60 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 61 nw-p.(org-hugo--get-date.info.da
2ea80 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 20 te-fmt))))......................
2eaa0 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
2eac0 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 20 ppress-lastmod].date-str.=.%S"..
2eae0 20 20 20 20 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 ............................;;..
2eb00 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 20 ........date-str)...............
2eb20 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 20 ...............(when.date-str...
2eb40 20 20 20 20 20 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
2eb60 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 74 t*.((date-time.(apply.#'encode-t
2eb80 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 20 ime.............................
2eba0 20 20 20 20 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 ............................(map
2ebc0 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 20 car.(lambda.(el).(or.el.0)).....
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 20 20 20 ................................
2ec00 20 20 20 20 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 ............................(par
2ec20 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 20 se-time-string.date-str)))).....
2ec40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ec60 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 20 ..;;.It's.safe.to.assume.that...
2ec80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2eca0 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 79 ....;;.`current-time'.will.alway
2ecc0 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 20 s...............................
2ece0 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 0a ........;;.be.>=.the.post.date..
2ed00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ed20 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 20 ......(delta.(float-time........
2ed40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ed60 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 20 .......(time-subtract.curr-time.
2ed80 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 20 date-time)))....................
2eda0 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 72 ...................(suppress-per
2edc0 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 73 iod.(if.(<.0.0.org-hugo-suppress
2ede0 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 20 -lastmod-period)................
2ee00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ee20 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 61 ............org-hugo-suppress-la
2ee40 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 20 stmod-period....................
2ee60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ee80 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 6d ......(-.org-hugo-suppress-lastm
2eea0 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 20 od-period))))...................
2eec0 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-
2eee0 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 65 hugo.suppress-lastmod].date-time
2ef00 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 20 .=.%S.(decoded.=.%S)"...........
2ef20 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 20 .......................;;.......
2ef40 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 74 ...date-time.(decode-time.date-t
2ef60 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 20 ime))...........................
2ef80 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 70 .......;;.(message."[ox-hugo.sup
2efa0 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 61 press-lastmod].delta.=.%S".delta
2efc0 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 )...............................
2efe0 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 73 ...;;.(message."[ox-hugo.suppres
2f000 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 22 s-lastmod].suppress-period.=.%S"
2f020 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f040 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 20 ..;;..........suppress-period)..
2f060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f080 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 29 (when.(>=.delta.suppress-period)
2f0a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f0c0 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 20 ....lastmod-str)))))))..........
2f0e0 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 6e .............;;.Else...do.nothin
2f100 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 20 g........................(t.....
2f120 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 64 ...................nil)))).....d
2f140 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 2d t-rfc3339))..;;;;.Replace.Front-
2f160 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 70 matter.Keys.(defun.org-hugo--rep
2f180 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 52 lace-keys-maybe.(data.info)..."R
2f1a0 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 65 eturn.DATA.with.its.keys.replace
2f1c0 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 20 d,.maybe...The.keys.in.DATA.are.
2f1e0 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 45 replaced.if.HUGO_FRONT_MATTER_KE
2f200 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 0a Y_REPLACE.is.set.appropriately..
2f220 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 20 .The.replacement.syntax.is:.....
2f240 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 65 .#+hugo_front_matter_key_replace
2f260 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 20 :.oldkey>newkey..If.newkey.is.a.
2f280 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 77 special.string.\"nil\",.oldkey.w
2f2a0 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 61 ill.be.removed.from.the.front-ma
2f2c0 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 20 tter...You.can.also.do.multiple.
2f2e0 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 72 key.replacements:......#+hugo_fr
2f300 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 3e ont_matter_key_replace:.oldkey1>
2f320 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 65 newkey1.oldkey2>newkey2..Above.e
2f340 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 55 xamples.are.using.the.keyword.HU
2f360 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 74 GO_FRONT_MATTER_KEY_REPLACE,.but
2f380 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 6e .the.same.also.applies.when.usin
2f3a0 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 50 g.its.subtree.property.form.:EXP
2f3c0 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 43 ORT_HUGO_FRONT_MATTER_KEY_REPLAC
2f3e0 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 6f E:...Note.that:..1..There.are.no
2f400 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 61 .spaces.around.the.special.chara
2f420 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 74 cter.\">\"..2..Spaces.are.used.t
2f440 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 65 o.only.separate.multiple.replace
2f460 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 64 ments.are.shown.in....the.second
2f480 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 65 .example.above..3..The.replaceme
2f4a0 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 72 nts.are.literal...there.are.no.r
2f4c0 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 0a egular.expressions....involved..
2f4e0 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
2f500 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 70 nication.channel."...(let*.((rep
2f520 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 6e l-str.(plist-get.info.:hugo-fron
2f540 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 20 t-matter-key-replace))..........
2f560 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 70 (repl-str.(when.(org-string-nw-p
2f580 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 20 .repl-str)......................
2f5a0 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 6e (org-trim.repl-str)))).....(when
2f5c0 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 78 .repl-str.......;;.(message."[ox
2f5e0 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 72 -hugo.replace-key.str.DBG].%S".r
2f600 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 74 epl-str).......(let*.((repl-list
2f620 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 6c .(split-string.repl-str)).;`repl
2f640 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 20 -str'.is.space-separated........
2f660 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 20 ......(repl-alist.(let.(alist)..
2f680 20 20 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 73 ..........................(dolis
2f6a0 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 20 t.(repl.repl-list)..............
2f6c0 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 69 ................(when.(and.(stri
2f6e0 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 6b ngp.repl).;`repl'.would.look.lik
2f700 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 20 e."oldkey>newkey"...............
2f720 20 20 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
2f740 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 20 g-match-p.">".repl))............
2f760 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 72 ....................(let*.((pair
2f780 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 20 .(split-string.repl.">")).......
2f7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f7c0 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 28 (key-orig-str.(org-string-nw-p.(
2f7e0 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 20 nth.0.pair)))...................
2f800 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 74 ....................(key-repl-st
2f820 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 29 r.(org-string-nw-p.(nth.1.pair))
2f840 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 )...............................
2f860 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 65 ........(repl-pair.(when.(and.ke
2f880 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 20 y-orig-str......................
2f8a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f8c0 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 20 .......key-repl-str)............
2f8e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f900 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 73 ........(cons.(intern.key-orig-s
2f920 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).............................
2f940 20 20 20 20 20 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 .............................(in
2f960 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 20 tern.key-repl-str)))))..........
2f980 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 65 ........................(when.re
2f9a0 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 20 pl-pair.........................
2f9c0 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 6f ...........;;.(message."[ox-hugo
2f9e0 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 20 .pair.DBG].%S".pair)............
2fa00 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 73 ........................;;.(mess
2fa20 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 22 age."[ox-hugo.repl-pair.DBG].%S"
2fa40 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 20 .repl-pair).....................
2fa60 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-
2fa80 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 72 hugo.repl-pair.car.DBG].%S".(car
2faa0 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 20 .repl-pair))....................
2fac0 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
2fae0 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 64 -hugo.repl-pair.cdr.DBG].%S".(cd
2fb00 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))...................
2fb20 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 72 .................(push.repl-pair
2fb40 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 20 .alist))))).....................
2fb60 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 73 .......alist))).........;;.(mess
2fb80 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 44 age."[ox-hugo.replace-key.list.D
2fba0 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 6d BG].%S".repl-list).........;;.(m
2fbc0 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 69 essage."[ox-hugo.replace-key.ali
2fbe0 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 20 st.DBG].%S".repl-alist).........
2fc00 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 20 (dolist.(repl.repl-alist).......
2fc20 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 0a ....(let.((key-orig.(car.repl)).
2fc40 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 72 ................(key-repl.(cdr.r
2fc60 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 2d epl))).............(let.((found-
2fc80 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 29 key-cell.(assoc.key-orig.data)))
2fca0 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 63 ...............(when.found-key-c
2fcc0 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 20 ell.................;;.(message.
2fce0 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 2d "[ox-hugo.replace-key.found-key-
2fd00 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 20 cell.DBG].%S".found-key-cell)...
2fd20 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 68 ..............;;.(message."[ox-h
2fd40 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 53 ugo.replace-key.key-orig.DBG].%S
2fd60 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 28 ".key-orig).................;;.(
2fd80 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 65 message."[ox-hugo.replace-key.ke
2fda0 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 20 y-repl.DBG].%S".key-repl).......
2fdc0 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 79 ..........(if.(string=."nil".key
2fde0 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 65 -repl).....................;;.Se
2fe00 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 65 tting.value.of.a.front-matter.ke
2fe20 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 20 y.to.nil.will...................
2fe40 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 65 ..;;.cause.that.key.to.be.remove
2fe60 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 20 d.during.export.................
2fe80 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 74 .....;;.See.`org-hugo--gen-front
2fea0 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 73 -matter'......................(s
2fec0 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 20 etf.(cdr.found-key-cell).nil)...
2fee0 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 73 ................;;.https://emacs
2ff00 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 20 .stackexchange.com/a/3398/115...
2ff20 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 64 ................(setf.(car.found
2ff40 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 20 -key-cell).key-repl)))))))).....
2ff60 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 75 data))..;;;;.TODO.keywords.(defu
2ff80 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 22 n.org-hugo--todo.(todo.info)..."
2ffa0 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 0a Format.TODO.keywords.into.HTML..
2ffc0 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 6f .This.function.is.almost.like.`o
2ffe0 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 6e rg-html--todo'.except.that:.-.An
30000 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 64 .\"org-todo\".class.is.always.ad
30020 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 2d ded.to.the.span.element..-.`org-
30040 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 73 hugo--replace-underscores-with-s
30060 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 62 paces'.is.used.to.replace...doub
30080 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 63 le-underscores.in.TODO.with.spac
300a0 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 63 es...INFO.is.a.plist.used.as.a.c
300c0 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 74 ommunication.channel."...(when.t
300e0 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 20 odo.....;;.(message."[DBG.todo].
30100 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 20 todo:.%S".todo).....;;.(message.
30120 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 25 "[DBG.todo].org-done-keywords:.%
30140 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 65 S".org-done-keywords).....;;.(me
30160 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 77 ssage."[DBG.todo].is.a.done.keyw
30180 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 6b ord?.%S".(member.todo.org-done-k
301a0 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 20 eywords)).....;;.(message."[DBG.
301c0 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 78 todo].html-todo-kwd-class-prefix
301e0 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 6f :.%S".(plist-get.info.:html-todo
30200 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 20 -kwd-class-prefix)).....(format.
30220 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 5c "<span.class=\"org-todo.%s.%s%s\
30240 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 65 ">%s</span>".............(if.(me
30260 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 6f mber.todo.org-done-keywords)."do
30280 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 67 ne"."todo").............(or.(org
302a0 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 74 -string-nw-p.(plist-get.info.:ht
302c0 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 20 ml-todo-kwd-class-prefix))."")..
302e0 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 6e ...........(org-html-fix-class-n
30300 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 2d ame.todo).............(org-hugo-
30320 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 73 -replace-underscores-with-spaces
30340 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 74 .todo))))..;;;;.Parse.draft.stat
30360 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 73 e.(defun.org-hugo--parse-draft-s
30380 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 73 tate.(info)..."Parse.the.draft.s
303a0 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 6e tate.of.the.post.heading.at.poin
303c0 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 65 t...Return.a.\"true\".or.\"false
303e0 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 6f \".string...For.per-subtree.expo
30400 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 20 rt.flow,.the.draft.state.parsed.
30420 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 69 from.the.Org.TODO.state.has.a.hi
30440 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 6f gher.precedence.than.the.value.o
30460 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 0a f.HUGO_DRAFT.keyword/property...
30480 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
304a0 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 6f ication.channel."...(let*.((todo
304c0 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 20 -keyword.(org-entry-get.(point).
304e0 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 20 "TODO"))..........(draft.(cond..
30500 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 6b ................((stringp.todo-k
30520 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 6d eyword)...................(if.(m
30540 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 77 ember.todo-keyword.org-done-keyw
30560 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 0a ords).......................nil.
30580 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 20 ....................(progn......
305a0 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 20 .................(when.(string=.
305c0 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 20 "DRAFT".todo-keyword)...........
305e0 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 2d ..............(let.((title.(org-
30600 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 73 entry-get.(point)."ITEM"))).;Pos
30620 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 20 t.title.........................
30640 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 20 ..(message."[ox-hugo].`%s'.post.
30660 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 20 is.marked.as.a.DRAFT".title)))..
30680 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 20 .....................t))).......
306a0 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 54 ...........(;;.If.the.HUGO_DRAFT
306c0 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 0a .keyword/property.*is*.set,.but.
306e0 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 2e ..................;;.not.to.nil.
30700 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 6e ...................(plist-get.in
30720 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 20 fo.:hugo-draft).................
30740 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 6f ..(let*.((draft-1.(org-hugo--fro
30760 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 73 nt-matter-value-booleanize.(plis
30780 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 20 t-get.info.:hugo-draft))).......
307a0 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 66 ...................(is-draft.(if
307c0 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 29 .(string=."true".draft-1).t.nil)
307e0 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 2d )).....................(when.is-
30800 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 74 draft.......................(let
30820 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 29 *.((entry.(org-element-at-point)
30840 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 )..............................(
30860 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 79 is-subtree.(org-element-property
30880 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 20 .:EXPORT_FILE_NAME.entry))......
308a0 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 28 ........................(title.(
308c0 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 20 if.is-subtree...................
308e0 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 79 ......................(org-entry
30900 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 20 -get.(point)."ITEM")............
30920 20 20 20 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 28 ...........................(or.(
30940 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 45 car.(plist-get.info.:title))."<E
30960 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 20 MPTY.TITLE>"))))................
30980 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 73 .........(message."[ox-hugo].`%s
309a0 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 74 '.post.is.marked.as.a.DRAFT".tit
309c0 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 61 le))).....................is-dra
309e0 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 65 ft))..................(t.;Neithe
30a00 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 41 r.of.Org.TODO.state.and.HUGO_DRA
30a20 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 20 FT.keyword/property.are.set.....
30a40 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 64 ..............nil)))..........(d
30a60 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 6d raft-bool-str.(org-hugo--front-m
30a80 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 6e atter-value-booleanize.(symbol-n
30aa0 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 64 ame.draft)))).....;;.(message."d
30ac0 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 53 bg:.draft-state:.todo.keyword=%S
30ae0 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 20 .HUGO_DRAFT=%S.draft=%S".....;;.
30b00 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 74 .........todo-keyword.(plist-get
30b20 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 74 .info.:hugo-draft).draft-bool-st
30b40 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 68 r).....draft-bool-str))..;;;;.Ch
30b60 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 20 eck.if.Pandoc.Citations.parsing.
30b80 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 6f is.needed.(defun.org-hugo--pando
30ba0 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 22 c-citations-enabled-p.(info)..."
30bc0 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 6f Return.non-nil.if.Pandoc.Citatio
30be0 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 61 n.parsing.is.enabled...INFO.is.a
30c00 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 63 .plist.used.as.a.communication.c
30c20 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 69 hannel."...(let*.((pandoc-citati
30c40 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 20 ons-enabled--prop-val...........
30c60 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_
30c80 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 65 PANDOC_CITATIONS".:inherit.:lite
30ca0 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 74 ral-nil))..........(pandoc-citat
30cc0 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 20 ions-enabled--plist-val.........
30ce0 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 6e ..(org-hugo--plist-get-true-p.in
30d00 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 20 fo.:hugo-pandoc-citations)).....
30d20 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 2d .....(pandoc-enabled.(or.pandoc-
30d40 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 20 citations-enabled--prop-val.....
30d60 20 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 2d .........................pandoc-
30d80 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 20 citations-enabled--plist-val))..
30da0 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 72 ........(pandoc-enabled-bool.(or
30dc0 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 2d g-hugo--value-get-true-p.pandoc-
30de0 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 2d enabled))).....;;.(message."[ox-
30e00 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 65 hugo.DBG.pandoc-citations-enable
30e20 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 6e d--prop-val].%S".pandoc-citation
30e40 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 73 s-enabled--prop-val).....;;.(mes
30e60 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 69 sage."[ox-hugo.DBG.pandoc-citati
30e80 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 64 ons-enabled--plist-val].%S".pand
30ea0 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 29 oc-citations-enabled--plist-val)
30ec0 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 70 .....;;.(message."[ox-hugo.DBG.p
30ee0 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 65 andoc-enabled-bool].%S".pandoc-e
30f00 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 2d nabled-bool).....pandoc-enabled-
30f20 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 75 bool))..;;;;.Get.a.property.valu
30f40 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 20 e.and.concat.it.with.its.parent.
30f60 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 74 value.(defun.org-hugo--entry-get
30f80 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 20 -concat.(pom.property.&optional.
30fa0 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 65 sep)..."Concatenate.an.Org.Prope
30fc0 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 6c rty.value.with.its.inherited.val
30fe0 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 65 ue...Get.value.of.PROPERTY.for.e
31000 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 6b ntry.or.content.at.point-or-mark
31020 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 73 er.POM...If.a.parent.subtree.has
31040 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 74 .the.same.PROPERTY.set,.append.t
31060 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 61 he.current.property.value.to.tha
31080 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 0a t,.following.the.optional.SEP...
310a0 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 74 SEP.is.the.concatenation.separat
310c0 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 66 or.string...If.it.is.nil,.it.def
310e0 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 6e aults.to.\"\"...This.function.in
31100 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 77 ternally.calls.`org-entry-get'.w
31120 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 20 ith.its.INHERIT.argument.set.to.
31140 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 75 non-nil.and.the.LITERAL-NIL.argu
31160 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 74 ment.set.to.nil...If.the.propert
31180 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 75 y.is.present.but.empty,.the.retu
311a0 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 49 rn.value.is.the.empty.string...I
311c0 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 74 f.the.property.is.not.present.at
311e0 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 6f .all,.nil.is.returned...In.any.o
31200 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 61 ther.case,.return.the.value.as.a
31220 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 74 .string..Search.is.case-insensit
31240 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 0a ive."...(let.((sep.(or.sep."")).
31260 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 6e ........(value-no-concat.(org-en
31280 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 29 try-get.pom.property.:inherit)))
312a0 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 69 .....;;.(message."[ox-hugo.secti
312c0 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 20 on.concat.DBG].value-no-concat:.
312e0 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 6c %S".value-no-concat).....(if.val
31300 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 20 ue-no-concat.........;;.Get.the.
31320 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 6e value.of.PROPERTY.from.the.paren
31340 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 74 t.relative.to.........;;.current
31360 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 72 .point..........(let.((value-her
31380 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 20 e-no-inherit.(org-entry-get.pom.
313a0 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 61 property.nil))...............(va
313c0 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 72 lue-parent.(org-with-wide-buffer
313e0 0a 20 20 20 20 20 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
31400 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 20 hen.(org-up-heading-safe).......
31420 20 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
31440 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 74 go--entry-get-concat.nil.propert
31460 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 65 y.sep)))))...........;;.(message
31480 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 76 ."[ox-hugo.section.concat.DBG].v
314a0 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 2d alue-here-no-inherit:.%S".value-
314c0 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 6d here-no-inherit)...........;;.(m
314e0 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 20 essage."[ox-hugo.section.concat.
31500 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 72 DBG].value-parent:.%S".value-par
31520 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 6f ent)...........(if.value-here-no
31540 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 22 -inherit...............(format."
31560 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 6f %s%s%s".......................(o
31580 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 20 r.value-parent."")..............
315a0 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 20 .........(if.value-parent.......
315c0 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 72 ....................(if.(and.(or
315e0 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 20 g-string-nw-p.sep)..............
31600 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 75 ......................(string-su
31620 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 20 ffix-p.sep.value-parent)).......
31640 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 27 ........................"".;Don'
31660 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 74 t.add.the.`sep'.if.`value-parent
31680 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 20 '.already.ends.with.that.`sep'..
316a0 20 20 20 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 0a ...........................sep).
316c0 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 20 ........................"").....
316e0 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 61 ..................value-no-conca
31700 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 20 t).............;;.Use.the.value.
31720 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 70 from.parent.directly.if.the.prop
31740 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 69 erty.is.not.............;;.set.i
31760 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 20 n.the.current.subtree...........
31780 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 0a ...value-parent)).......nil)))..
317a0 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 74 (defun.org-hugo--get-section-pat
317c0 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 74 h.(info)..."Return.the.Hugo.sect
317e0 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 74 ion.path..This.is.the.path.relat
31800 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 65 ive.to.the.Hugo.\"content\".dire
31820 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 49 ctory...If.the.EXPORT_HUGO_SECTI
31840 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 75 ON_FRAG.keyword.is.set.in.the.cu
31860 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 72 rrent.or.a.parent.subtree,.retur
31880 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 47 n.the.concatenation.of.the.\"HUG
318a0 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 64 O_SECTION\".and.the.concatenated
318c0 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 61 .\"EXPORT_HUGO_SECTION_FRAG\".va
318e0 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 68 lues.as.a.path...Else,.return.th
31900 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 75 e.\"HUGO_SECTION\".path...The.fu
31920 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 0a nction.always.returns.a.string..
31940 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
31960 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 67 nication.channel."...(let*.((hug
31980 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 69 o-section-prop.(org-entry-get.ni
319a0 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 74 l."EXPORT_HUGO_SECTION".:inherit
319c0 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 70 ))..........(hugo-section-kwd.(p
319e0 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 20 list-get.info.:hugo-section))...
31a00 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 28 .......(hugo-section-frag-prop.(
31a20 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 53 org-entry-get.nil."EXPORT_HUGO_S
31a40 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 20 ECTION_FRAG".:inherit)).........
31a60 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 6f .(section-path-1.(or.hugo-sectio
31a80 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 73 n-prop.;EXPORT_HUGO_SECTION.gets
31aa0 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 20 .higher.precedence..............
31ac0 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 64 ................hugo-section-kwd
31ae0 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 65 )).;This.is.mainly.to.support.pe
31b00 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 74 r-file.flow..........section-pat
31b20 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 63 h).....;;.(message."[ox-hugo.sec
31b40 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 70 tion-path.DBG].hugo-section-prop
31b60 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 20 :.%S".hugo-section-prop).....;;.
31b80 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 20 (message."[ox-hugo.section-path.
31ba0 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 2d DBG].hugo-section-kwd:.%S".hugo-
31bc0 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 6f section-kwd).....;;.(message."[o
31be0 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 65 x-hugo.section-path.DBG].hugo-se
31c00 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 6f ction-frag-prop:.%S".hugo-sectio
31c20 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 6f n-frag-prop).....;;.(message."[o
31c40 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 6e x-hugo.section-path.DBG].section
31c60 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 20 .path-1:.%S".section-path-1)....
31c80 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 75 .(unless.section-path-1.......(u
31ca0 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 65 ser-error."It.is.mandatory.to.se
31cc0 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 20 t.the.HUGO_SECTION.property"))..
31ce0 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 73 ...(when.(org-string-nw-p.hugo-s
31d00 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 65 ection-frag-prop).......(setq.se
31d20 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 74 ction-path-1.............(concat
31d40 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 6e .(file-name-as-directory.section
31d60 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 20 -path-1).;Add.trailing.slash.if.
31d80 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 2d absent.....................(org-
31da0 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 4f hugo--entry-get-concat.nil."EXPO
31dc0 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 20 RT_HUGO_SECTION_FRAG"."/"))))...
31de0 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 2d ..(setq.section-path.(file-name-
31e00 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 20 as-directory.section-path-1))...
31e20 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 2d ..;;.(message."[ox-hugo.section-
31e40 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 74 path.DBG].section.path:.%S".sect
31e60 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 3b ion-path).....section-path))..;;
31e80 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 2d ;;.Get.Language.(defun.org-hugo-
31ea0 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 6c -get-lang.(info)..."Return.the.l
31ec0 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 54 anguage.used.for.the.content...T
31ee0 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 68 he.returned.value.is.a.string.th
31f00 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 61 at.can.consist.of.only.English.a
31f20 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 65 lphabets.and.an.underscore...The
31f40 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 69 .first.2.characters.of.this.stri
31f60 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 53 ng.is.a.language.codes.as.per.IS
31f80 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 65 O.639-1.standard...See.https://e
31fa0 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 4f n.wikipedia.org/wiki/List_of_ISO
31fc0 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 75 _639-1_codes...INFO.is.a.plist.u
31fe0 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."
32000 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 3a ...(let.((lang.(plist-get.info.:
32020 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 6e lang-iso-code))).....(unless.lan
32040 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 28 g.......(setq.lang.............(
32060 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 29 or.(plist-get.info.:hugo-locale)
32080 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 2e .................;;.https://www.
320a0 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 2f gnu.org/software/gettext/manual/
320c0 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 72 html_node/Locale-Environment-Var
320e0 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 74 iables.html.................(get
32100 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 20 env."LANGUAGE").................
32120 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 20 (getenv."LC_ALL")...............
32140 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 20 ..(getenv."LANG"))).......(when.
32160 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 6e (stringp.lang).........(setq.lan
32180 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 2d g...............(replace-regexp-
321a0 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 5c in-string."\\`\\([a-z]+_[A-Z]+\\
321c0 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 74 ).*\\'"."\\1".lang))).......(set
321e0 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 20 q.lang.(org-string-nw-p.lang))..
32200 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 73 .....(when.lang.........;;.(mess
32220 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 61 age."[org-hugo--get-lang.DBG].la
32240 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 74 nguage:.%s".lang).........(plist
32260 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 29 -put.info.:lang-iso-code.lang)))
32280 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 20 .....lang))..;;;;.Check.if.lang.
322a0 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 63 is.CJ(K).(defun.org-hugo--lang-c
322c0 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 73 jk-p.(info)..."Return.non-nil.is
322e0 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 61 .the.language.is.Chinese.or.Japa
32300 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 61 nese...\(Check.for.Korean.langua
32320 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 2d ge.has.not.been.added.as.no.`ox-
32340 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 2e hugo'.user.has.requested.for.it.
32360 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 6d )..INFO.is.a.plist.used.as.a.com
32380 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 6c munication.channel."...(let*.((l
323a0 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 20 ang.(org-hugo--get-lang.info))..
323c0 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 20 ........(lang-2chars.(when.(and.
323e0 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 20 (stringp.lang)..................
32400 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 67 ................(>=.(length.lang
32420 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 73 ).2)).........................(s
32440 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 6c ubstring.lang.0.2)))).....(and.l
32460 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 67 ang-2chars..........(member.lang
32480 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 43 -2chars.'("zh"......;"zh",."zh_C
324a0 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 20 H",.............................
324c0 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 20 ......"ja"))))).;"ja",.....;;;;.
324e0 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 67 Format.tags.into.HTML.(defun.org
32500 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 61 -hugo--tags.(tags.info)..."Forma
32520 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 73 t.TAGS.into.HTML..INFO.is.a.plis
32540 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 68 t.containing.export.options...Th
32560 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 20 is.function.is.almost.identical.
32580 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 6d to.`org-html--tags'.from.`ox-htm
325a0 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 72 l'.except.that.the.tag.separator
325c0 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 61 .is.an.empty.string."...(when.ta
325e0 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 61 gs.....(format."<span.class=\"ta
32600 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 63 g\">%s</span>".............(mapc
32620 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 29 oncat..............(lambda.(tag)
32640 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 63 ................(format."<span.c
32660 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 20 lass=\"%s\">%s</span>"..........
32680 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 74 ..............(concat.(plist-get
326a0 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 20 .info.:html-tag-class-prefix)...
326c0 20 20 20 20 20 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
326e0 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 20 g-html-fix-class-name.tag)).....
32700 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 20 ...................tag))........
32720 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 66 ......tags.""))))..;;;;.Check.if
32740 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 73 .the.buffer.has.any.valid.post.s
32760 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 68 ubtree.(defun.org-hugo--buffer-h
32780 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 65 as-valid-post-subtree-p.()..."Re
327a0 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 20 turn.non-nil.if.the.current.Org.
327c0 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 6f buffer.has.at.least.one.valid.po
327e0 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 73 st.subtree...A.valid.Hugo.post.s
32800 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 4d ubtree.has.the.`:EXPORT_FILE_NAM
32820 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 20 E:'.property.set.to.a.non-empty.
32840 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 72 string."...(org-with-wide-buffer
32860 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 2d ....(catch.'found......(org-map-
32880 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 20 entries.......(lambda.().(throw.
328a0 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 69 'found.t)).;Return.quickly.on.fi
328c0 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 50 nding.the.first.match......."EXP
328e0 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 41 ORT_FILE_NAME<>\"\""))))..;;;;.A
32900 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 65 dvice.for.silencing.messages.(de
32920 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 73 fun.org-hugo--advice-silence-mes
32940 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 41 sages.(orig-fun.&rest.args)..."A
32960 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 6c dvice.function.that.silences.all
32980 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 20 .messages.in.ORIG-FUN..ARGS.are.
329a0 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 74 the.ORIG-FUN.function's.argument
329c0 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 20 s."...(let.((inhibit-message.t).
329e0 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 6e .....;Don't.show.the.messages.in
32a00 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 2d .Echo.area.........(message-log-
32a20 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 73 max.nil))...;Don't.show.the.mess
32a40 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 20 ages.in.the.*Messages*.buffer...
32a60 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 20 ..(apply.orig-fun.args)))..;;;;.
32a80 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 69 Plainify.(mimick.the.Hugo.plaini
32aa0 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 6c fy.function).(defun.org-hugo--pl
32ac0 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 75 ainify-string.(str.info)..."Retu
32ae0 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 70 rn.STR.string.without.any.markup
32b00 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
32b20 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 61 munication.channel...If.STR.is.a
32b40 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 69 n.empty.string.or.nil,.return.ni
32b60 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 6b l...This.function.aims.to.mimick
32b80 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 68 .the.Hugo.`plainify'.function:.h
32ba0 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 6e ttps://gohugo.io/functions/plain
32bc0 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 22 ify/...For.example,.if.STR.is.\"
32be0 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 74 string.*with*.some./markup/\",.t
32c00 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 77 he.returned.string.is.\"string.w
32c20 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 6e ith.some.markup\"."...(org-strin
32c40 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 72 g-nw-p....(replace-regexp-in-str
32c60 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 2d ing....."</?[^>]+>"."".....(org-
32c80 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 74 export-data-with-backend.str.'ht
32ca0 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 75 ml.info)))).....;;;.Transcode.Fu
32cc0 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 0a nctions..;;;;.Code.(<kdb>.tags).
32ce0 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 28 (defun.org-hugo-kbd-tags-maybe.(
32d00 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 70 verbatim._contents.info)..."Wrap
32d20 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 54 .text.in.VERBATIM.object.with.HT
32d40 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 73 ML.kbd.tags..The.kdb.wrapping.is
32d60 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 2d .done.if.`org-hugo-use-code-for-
32d80 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 69 kbd'.is.non-nil...CONTENTS.is.ni
32da0 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 6f l...INFO.is.a.plist.used.as.a.co
32dc0 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 67 mmunication.channel."...(if.(org
32de0 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 75 -hugo--plist-get-true-p.info.:hu
32e00 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 6d go-use-code-for-kbd).......(form
32e20 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 63 at."<kbd>%s</kbd>".(org-html-enc
32e40 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 20 ode-plain-text..................
32e60 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 65 ..............(org-element-prope
32e80 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 2d rty.:value.verbatim))).....(org-
32ea0 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 0a md-verbatim.verbatim.nil.nil))).
32ec0 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 61 .;;;;.Drawer.(defun.org-hugo--pa
32ee0 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 68 rse-logbook-entry.(para.parent-h
32f00 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 4f eading-title.info)..."Parse.a.LO
32f20 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 61 GBOOK.`paragraph'.element.PARA.a
32f40 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 4f nd.save.data.to.INFO...If.the.LO
32f60 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 64 GBOOK.drawer.is.under.a.sub-head
32f80 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 62 ing,.PARENT-HEADING-TITLE.will.b
32fa0 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 20 e.that.heading's.\"plainified\".
32fc0 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 72 title.string...If.LOGBOOK.drawer
32fe0 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 6d .is.at.the.top.level,.this.argum
33000 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 73 ent.will.be.nil...INFO.is.a.plis
33020 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
33040 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 20 l...This.function.updates.these.
33060 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 61 properties.in.INFO:.`:logbook-da
33080 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 6f te',.`:logbook-lastmod',.`:logbo
330a0 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 6c ok'."...;;.(pp.para)...(let*.((l
330c0 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 2d ogbook-entry.())..........(para-
330e0 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 6e raw-str.(org-export-data.para.in
33100 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 6f fo))..........;;.Parse.the.logbo
33120 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 28 ok.entry's.timestamp...........(
33140 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 74 timestamp...........(org-element
33160 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 20 -map.para.'timestamp............
33180 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 28 .(lambda.(ts)...............;;.(
331a0 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 2d pp.ts)...............(let*.((ts-
331c0 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 72 raw-str.(org-element-property.:r
331e0 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 20 aw-value.ts))...................
33200 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 74 ...(ts-str.(org-hugo--org-date-t
33220 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 29 ime-to-rfc3339.ts-raw-str.info))
33240 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 5b ).................;;.(message."[
33260 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 20 ox-hugo.logbook.DBG].ts:.%s,.ts.
33280 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 20 fmtd:.%s".................;;....
332a0 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 20 ......ts-raw-str.ts-str)........
332c0 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 73 .........(push.`(timestamp...,ts
332e0 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 20 -str).logbook-entry)............
33300 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 72 .....ts-str)).;lambda.return.for
33320 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 6d .(org-element-map.para.'timestam
33340 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 29 p.............nil.:first-match))
33360 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 6f ).....;;.(message."\n[ox-hugo.lo
33380 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 25 gbook.DBG].paragraph.raw.str.:.%
333a0 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 65 s".para-raw-str).....;;.(message
333c0 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 6d ."[ox-hugo.logbook.DBG].timestam
333e0 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 74 p.:.%s".timestamp).....(unless.t
33400 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 74 imestamp.......(user-error."No.t
33420 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 47 ime.stamp.is.recorded.in.the.LOG
33440 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 61 BOOK.drawer.entry"))......(cl-la
33460 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 6d bels.((get-match-string-and-trim
33480 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 74 -quotes..................(num.st
334a0 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 2d r)..................(org-string-
334c0 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 2d nw-p...................(replace-
334e0 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 20 regexp-in-string................
33500 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 20 ....;;.Handle.corner.case:.If.a.
33520 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 65 TODO.state.has."__".in.them,.the
33540 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 72 ....................;;.underscor
33560 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 22 e.will.be.escaped..Remove.that."
33580 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 22 \"....................."\\\\".""
335a0 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 2d ....................(save-match-
335c0 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 74 data.;Required.because.`string-t
335e0 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 20 rim'.changes.match.data.........
33600 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 20 .............(string-trim.......
33620 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 6e ................(or.(match-strin
33640 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 20 g-no-properties.num.str)."")....
33660 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 29 ..................."\""."\""))))
33680 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 73 )..................;;.Parse.(ass
336a0 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 0a q.'state.org-log-note-headings).
336c0 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 61 ................(parse-state-cha
336e0 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 20 nge-maybe..................()...
33700 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 6e ...............(let.((state-chan
33720 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 5c ge-re."^State\\s-+\\(?1:\".+?\"\
33740 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 5c \)*\\s-+from\\s-+\\(?2:\".+?\"\\
33760 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 28 )*"))....................(when.(
33780 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 72 string-match.state-change-re.par
337a0 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 20 a-raw-str)......................
337c0 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 6e (let.((to-state.(get-match-strin
337e0 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 72 g-and-trim-quotes.1.para-raw-str
33800 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 3b ))............................;;
33820 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 61 .(from-state.(get-match-string-a
33840 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 20 nd-trim-quotes.2.para-raw-str)).
33860 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 20 ;For.debug......................
33880 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 3b ......)........................;
338a0 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 47 ;.(message."[ox-hugo.logbook.DBG
338c0 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 40 ].state.change.:.from.%s.to.%s.@
338e0 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 20 .%s"........................;;..
33900 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 65 ........from-state.to-state.time
33920 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 77 stamp)........................(w
33940 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 20 hen.to-state....................
33960 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 61 ......(push.`(to_state...,to-sta
33980 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)..............
339a0 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
339c0 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 73 o.logbook.DBG].org-done-keywords
339e0 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 20 :.%S".org-done-keywords)........
33a00 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 75 ..................(when.(and.(nu
33a20 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 20 ll.parent-heading-title).;Parse.
33a40 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 47 dates.from.only.the.toplevel.LOG
33a60 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 20 BOOK.drawer.....................
33a80 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 74 .................(member.to-stat
33aa0 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 20 e.org-done-keywords))...........
33ac0 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 61 .................;;.The.first.pa
33ae0 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 6c rsed.TODO.state.change.entry.wil
33b00 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 20 l.be.the........................
33b20 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 6b ....;;.latest.one,.and.`:logbook
33b40 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 20 -date'.would.already.have.......
33b60 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 74 .....................;;.been.set
33b80 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 6d .to.that...So.if.`:logbook-lastm
33ba0 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 20 od'.is.not.set,.................
33bc0 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 74 ...........;;.set.that.that.to.t
33be0 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 20 he.value.of.`:logbook-date'.....
33c00 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 73 ........................;;.*This
33c20 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 74 .always.works.because.the.newest
33c40 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 20 .state.change.or.note...........
33c60 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 77 .................;;.entry.is.alw
33c80 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 4f ays.put.to.the.top.of.the.LOGBOO
33ca0 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 28 K.*............................(
33cc0 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 2d unless.(plist-get.info.:logbook-
33ce0 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 20 lastmod)........................
33d00 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 67 ......(when.(plist-get.info.:log
33d20 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 20 book-date)......................
33d40 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 6f ..........(plist-put.info.:logbo
33d60 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 62 ok-lastmod.(plist-get.info.:logb
33d80 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 20 ook-date))))....................
33da0 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 20 ........;;.`:logbook-date'.will.
33dc0 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 74 keep.on.getting.updating.until.t
33de0 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 20 he.last.........................
33e00 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 74 ...;;.parsed.(first.entered)."st
33e20 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 20 ate.changed.to.DONE".entry......
33e40 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
33e60 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 29 t.info.:logbook-date.timestamp))
33e80 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 65 )........................;;.(whe
33ea0 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 20 n.from-state.;For.debug.........
33ec0 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 6d ...............;;...(push.`(from
33ee0 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 6e _state...,from-state).logbook-en
33f00 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 20 try))........................)..
33f20 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 20 ....................t)))........
33f40 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 6f ..........;;.Parse.(assq.'note.o
33f60 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 20 rg-log-note-headings)...........
33f80 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 20 ......(parse-note-maybe.........
33fa0 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 65 .........()..................(le
33fc0 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 5c t.((note-re."^Note.taken.on..*?\
33fe0 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 20 n\\(?1:\\(.\\|\n\\)*\\)"))......
34000 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 63 ..............(when.(string-matc
34020 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 20 h.note-re.para-raw-str).........
34040 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 65 .............(let.((logbook-note
34060 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 20 s.(plist-get.info.:logbook))....
34080 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 73 ........................(note.(s
340a0 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 20 tring-trim......................
340c0 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 72 .............(match-string-no-pr
340e0 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 20 operties.1.para-raw-str)))).....
34100 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."
34120 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 20 [ox-hugo.logbook.DBG].note.:.%s.
34140 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 20 @.%s".note.timestamp)...........
34160 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 74 .............(push.`(note...,not
34180 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 20 e).logbook-entry)...............
341a0 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 27 .........;;.Update.the.`lastmod'
341c0 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 20 .field.using.the................
341e0 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 20 ........;;.note's.timestamp.....
34200 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 77 ....................;;.*This.alw
34220 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 61 ays.works.because.the.newest.sta
34240 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 20 te.change.or.note...............
34260 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 20 .........;;.entry.is.always.put.
34280 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 20 to.the.top.of.the.LOGBOOK.*.....
342a0 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 6e ...................(unless.paren
342c0 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 6f t-heading-title.;Parse.dates.fro
342e0 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 77 m.only.the.toplevel.LOGBOOK.draw
34300 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 6e er...........................(un
34320 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 61 less.(plist-get.info.:logbook-la
34340 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 20 stmod)..........................
34360 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 6d ..(plist-put.info.:logbook-lastm
34380 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 20 od.timestamp))).................
343a0 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 70 ........(let.((context-key.(or.p
343c0 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 29 arent-heading-title."_toplevel")
343e0 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 6c ))..........................(unl
34400 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 6e ess.(assoc.context-key.logbook-n
34420 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 20 otes)...........................
34440 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 28 .(push.(cons.context-key.(list.(
34460 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 6f cons.'notes.(list)))).logbook-no
34480 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 28 tes))..........................(
344a0 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 74 setcdr.(assoc.'notes.(assoc.cont
344c0 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 20 ext-key.logbook-notes)).........
344e0 20 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 64 .........................(append
34500 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 65 .(cdr.(assoc.'notes.(assoc.conte
34520 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 20 xt-key.logbook-notes))).........
34540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
34560 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 29 .(list.(nreverse.logbook-entry))
34580 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 73 )))........................(plis
345a0 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 65 t-put.info.:logbook.logbook-note
345c0 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 0a s))......................t))))..
345e0 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 28 ......(save-match-data.........(
34600 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 6e cond..........((parse-state-chan
34620 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 65 ge-maybe))..........((parse-note
34640 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 28 -maybe))..........(t...........(
34660 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 79 user-error."LOGBOOK.drawer.entry
34680 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 20 .is.neither.a.state.change,.nor.
346a0 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 5b a.note")))).......;;.(message."[
346c0 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 42 org-hugo--parse-logbook-entry.DB
346e0 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 20 G].logbook.derived.`date'.:.%S".
34700 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 0a (plist-get.info.:logbook-date)).
34720 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 61 ......;;.(message."[org-hugo--pa
34740 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 64 rse-logbook-entry.DBG].logbook.d
34760 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 65 erived.`lastmod'.:.%S".(plist-ge
34780 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 20 t.info.:logbook-lastmod)).......
347a0 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 6f ;;.(message."[org-hugo--parse-lo
347c0 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 3a gbook-entry.DBG].logbook.entry.:
347e0 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 29 .%S".logbook-entry).......nil)))
34800 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 72 ..(defun.org-hugo-drawer.(drawer
34820 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 44 .contents.info)..."Transcode.a.D
34840 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 70 RAWER.element.from.Org.to.approp
34860 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 54 riate.Hugo.front-matter..CONTENT
34880 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 63 S.holds.the.contents.of.the.bloc
348a0 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 74 k...INFO.is.a.plist.holding.cont
348c0 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 64 extual.information."...(let*.((d
348e0 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 79 rawer-name.(org-element-property
34900 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 20 .:drawer-name.drawer))..........
34920 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 20 (parent-heading.(catch.'found...
34940 20 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.((
34960 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 20 el.drawer)).....................
34980 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 20 .........(while.t...............
349a0 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 72 .................(let.((p-el.(or
349c0 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 20 g-export-get-parent.el))).......
349e0 20 20 20 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 ...........................(when
34a00 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 20 .(or.(null.p-el)................
34a20 20 20 20 20 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 ............................(equ
34a40 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 70 al.'headline.(org-element-type.p
34a60 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 20 -el)))..........................
34a80 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 73 ..........;;.Return.when.there's
34aa0 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 20 .no.parent.element..............
34ac0 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 74 ......................;;.or.if.t
34ae0 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 65 he.parent.element.is.a.`headline
34b00 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 20 '...............................
34b20 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 20 ......(throw.'found.p-el))......
34b40 20 20 20 20 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
34b60 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 74 q.el.p-el))))))..........(parent
34b80 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 69 -heading-title.(org-hugo--plaini
34ba0 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 20 fy-string.......................
34bc0 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.
34be0 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 20 :title.parent-heading)..........
34c00 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 20 .......................info)))..
34c20 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 72 ...;;.(message."[org-hugo-drawer
34c40 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 6e .DBG].parent-heading.:.%S".paren
34c60 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 67 t-heading).....;;.(message."[org
34c80 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 67 -hugo-drawer.DBG].parent-heading
34ca0 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 6c -title.:.%S".parent-heading-titl
34cc0 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 20 e)).....(cond......;;.:LOGBOOK:.
34ce0 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 20 Drawer......((equal.drawer-name.
34d00 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 20 (org-log-into-drawer)).......;;.
34d20 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 20 (message."[org-hugo-drawer.DBG].
34d40 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 65 elem.type:.%s".(org-element-type
34d60 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 20 .drawer)).......;;.(drawer......
34d80 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 0a .;;............;;...(plain-list.
34da0 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 20 ......;;.....(item.......;;.....
34dc0 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 53 ..(paragraph.......;;.........<S
34de0 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 20 tate.change.text.or.Note>.......
34e00 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 70 ;;.........(timestamp.<timestamp
34e20 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 64 >.))))).......(org-element-map.d
34e40 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 64 rawer.'plain-list.........(lambd
34e60 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 6d a.(lst)...........(org-element-m
34e80 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 61 ap.lst.'item.............(lambda
34ea0 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 65 .(item)...............(org-eleme
34ec0 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 20 nt-map.item.'paragraph..........
34ee0 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 20 .......(lambda.(para)...........
34f00 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 6b ........(org-hugo--parse-logbook
34f20 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 65 -entry.para.parent-heading-title
34f40 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 72 .info)).................nil.:fir
34f60 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 77 st-match)).;Each.'item.element.w
34f80 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 65 ill.have.only.one.'paragraph.ele
34fa0 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 69 ment.............)).;But.a.'plai
34fc0 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 65 n-list.element.can.have.multiple
34fe0 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 68 .'item.elements,.so.loop.through
35000 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 3b .all.........nil.:first-match).;
35020 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 6f The.'logbook.element.will.have.o
35040 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 20 nly.one.'plain-list.element.....
35060 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 65 ..;;.Nothing.from.the.LOGBOOK.ge
35080 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 79 ts.exported.to.the.Markdown.body
350a0 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 61 ......."")......;;.Other.Org.Dra
350c0 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 61 wers......(t.......(org-html-dra
350e0 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 3b wer.drawer.contents.info)))))..;
35100 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 67 ;;;.Example.Block.(defun.org-hug
35120 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 5f o-example-block.(example-block._
35140 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 45 contents.info)..."Transcode.an.E
35160 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 6f XAMPLE-BLOCK.element.into.Markdo
35180 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 4e wn.format...CONTENTS.is.nil...IN
351a0 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
351c0 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 65 .information."...(let*.((switche
351e0 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 69 s-str.(org-element-property.:swi
35200 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 3b tches.example-block))..........;
35220 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 22 ;.Below.is.a.hack.for.allowing."
35240 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 20 :linenos.<value>".parameter.....
35260 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 2c .....;;.in.example.block.header,
35280 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 20 .because.the.example-block.Org..
352a0 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 22 ........;;.element.parses.only."
352c0 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 20 -switches",.not.":parameters"...
352e0 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 67 ........(linenos-style.(and.(org
35300 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 20 -string-nw-p.switches-str)......
35320 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 2d ........................(string-
35340 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 5c match.":linenos\\s-+\\([^.]+\\)\
35360 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 20 \b".switches-str)...............
35380 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 2d ...............(match-string-no-
353a0 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 20 properties.1.switches-str))))...
353c0 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 6d ..(org-element-put-property.exam
353e0 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 20 ple-block.:language."text").....
35400 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 6c (org-element-put-property.exampl
35420 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 73 e-block.:linenos-style.linenos-s
35440 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 78 tyle).....(org-hugo-src-block.ex
35460 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 78 ample-block.nil.info)))..;;;;.Ex
35480 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 70 port.Snippet.(defun.org-hugo-exp
354a0 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 6e ort-snippet.(export-snippet._con
354c0 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 4f tents._info)..."Transcode.a.EXPO
354e0 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 75 RT-SNIPPET.object.from.Org.to.Hu
35500 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 53 go-compatible.Markdown..CONTENTS
35520 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 6e .is.nil...INFO.is.a.plist.holdin
35540 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 70 g.contextual.information...Examp
35560 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 73 le:....\"@@hugo:foo@@\"..exports
35580 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 65 .verbatim.to.\"foo\".only.when.e
355a0 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 45 xported.using.`hugo'.backend...E
355c0 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 73 xport.snippets.with.backend.tags
355e0 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 61 .\"markdown:\".and.\"md:\".are.a
35600 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 72 lso.handled...Exporting.of.expor
35620 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 74 t.snippets.with.backend.tag.\"ht
35640 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 20 ml:\".uses.the.HTML.exporter."..
35660 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 73 .(cond....((member.(org-export-s
35680 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 27 nippet-backend.export-snippet).'
356a0 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 64 (hugo.markdown.md)).....;;.ox-md
356c0 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 70 .el.does.not.support.export.snip
356e0 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 72 pets,.so.let's.handle.....;;.Mar
35700 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 65 kdown.export.snippets.here.as.we
35720 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 76 ll......(org-element-property.:v
35740 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 6f alue.export-snippet))....;;.Also
35760 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 20 .include.HTML.export.snippets...
35780 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 6e ..(t.....(org-export-with-backen
357a0 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 29 d.'html.export-snippet.nil.nil))
357c0 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 67 ))..;;;;.Export.Block.(defun.org
357e0 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 6b -hugo-export-block.(export-block
35800 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 61 ._contents._info)..."Transcode.a
35820 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 74 .EXPORT-BLOCK.element.from.Org.t
35840 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 54 o.Hugo-compatible.Markdown..CONT
35860 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 6f ENTS.is.nil...INFO.is.a.plist.ho
35880 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 45 lding.contextual.information...E
358a0 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 20 xample:....#+begin_export.hugo..
358c0 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 72 .foo...#+end_export..exports.ver
358e0 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 72 batim.to.\"foo\".only.when.expor
35900 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 68 ted.using.`hugo'.backend...If.th
35920 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 22 e.backend.tag.is.\"markdown\"/\"
35940 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 74 md\".or.\"html\",.exporting.of.t
35960 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 65 hose.blocks.falls.back.to.the.re
35980 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 20 spective.exporters."...(cond....
359a0 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 20 ((string=.(org-element-property.
359c0 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 20 :type.export-block)."HUGO").....
359e0 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 65 (org-remove-indentation.(org-ele
35a00 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 63 ment-property.:value.export-bloc
35a20 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 6e k)))....;;.Also.include.Markdown
35a40 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 6f .and.HTML.export.blocks.....;;.o
35a60 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 20 x-md.handles.HTML.export.blocks.
35a80 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 2d too.....(t.....(org-export-with-
35aa0 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 6c backend.'md.export-block.nil.nil
35ac0 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 75 ))))..;;;;.Heading.(defun.org-hu
35ae0 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 66 go-heading.(heading.contents.inf
35b00 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 20 o)..."Transcode.HEADING.element.
35b20 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 69 into.Markdown.format..CONTENTS.i
35b40 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 73 s.the.heading.contents...INFO.is
35b60 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 6e .a.plist.used.as.a.communication
35b80 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 6e .channel."...(unless.(org-elemen
35ba0 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 68 t-property.:footnote-section-p.h
35bc0 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 67 eading).....(let*.((numbers.(org
35be0 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 6e -hugo--get-heading-number.headin
35c00 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 74 g.info.nil))............(loffset
35c20 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 6e .(string-to-number.(plist-get.in
35c40 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 20 fo.:hugo-level-offset))).;"".->.
35c60 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 20 0,."0".->.0,."1".->.1,..........
35c80 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 61 .....(level.(org-export-get-rela
35ca0 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 20 tive-level.heading.info)).......
35cc0 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 74 .....(level-effective.(+.loffset
35ce0 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 2d .level))............(title.(org-
35d00 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 74 export-data.(org-element-propert
35d20 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 65 y.:title.heading).info)).;`org-e
35d40 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 20 xport-data'.required............
35d60 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 2d (todo.(and.(org-hugo--plist-get-
35d80 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 29 true-p.info.:with-todo-keywords)
35da0 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 6d .......................(org-elem
35dc0 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 69 ent-property.:todo-keyword.headi
35de0 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 65 ng)))............(todo-fmtd.(whe
35e00 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 28 n.todo.........................(
35e20 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 6f concat.(org-hugo--todo.todo.info
35e40 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 28 ).".")))............(tags-fmtd.(
35e60 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 20 and.(org-hugo--plist-get-true-p.
35e80 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 20 info.:with-tags)................
35ea0 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 6f ............(let*.((tags-list.(o
35ec0 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 29 rg-export-get-tags.heading.info)
35ee0 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 )...............................
35f00 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 68 ....(tags-list.(dolist.(fn.org-h
35f20 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 67 ugo-tag-processing-functions.tag
35f40 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 20 s-list).........................
35f60 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 67 .......................(setq.tag
35f80 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 66 s-list.(funcall.fn.tags-list.inf
35fa0 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 20 o))))...........................
35fc0 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 61 ........(tags-html.(org-hugo--ta
35fe0 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 20 gs.tags-list.info)))............
36000 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 72 ..................(when.(org-str
36020 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 20 ing-nw-p.tags-html).............
36040 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 74 ...................(concat.".".t
36060 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 69 ags-html)))))............(priori
36080 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 70 ty.............(and.(org-hugo--p
360a0 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 72 list-get-true-p.info.:with-prior
360c0 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 61 ity)..................(let.((cha
360e0 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 74 r.(org-element-property.:priorit
36100 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 20 y.heading)))....................
36120 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 29 (and.char.(format."[#%c].".char)
36140 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 65 ))))............(style.(plist-ge
36160 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 20 t.info.:md-headline-style)))....
36180 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 67 ...;;.(message."[ox-hugo-heading
361a0 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 3b .DBG].num:.%s".numbers).......;;
361c0 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 5d .(message."[ox-hugo-heading.DBG]
361e0 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 74 .with-tags:.%S".(org-hugo--plist
36200 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 20 -get-true-p.info.:with-tags))...
36220 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
36240 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 74 g.DBG].tags:.%S".(org-export-get
36260 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 64 -tags.heading.info)).......(cond
36280 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 69 ........;;.Cannot.create.a.headi
362a0 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 20 ng...Fall-back.to.a.list........
362c0 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 65 .((or.(org-export-low-level-p.he
362e0 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 65 ading.info).............(not.(me
36300 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 20 mq.style.'(atx.setext)))........
36320 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 76 .....(and.(eq.style.'atx).(>.lev
36340 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 6e el-effective.6)).............(an
36360 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 66 d.(eq.style.'setext).(>.level-ef
36380 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 6c fective.2))).........(let.((bull
363a0 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 2d et................(if.(not.(org-
363c0 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 69 export-numbered-headline-p.headi
363e0 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 28 ng.info))."-"..................(
36400 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 20 concat.(number-to-string........
36420 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 6f ...................(car.(last.(o
36440 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 20 rg-export-get-headline-number...
36460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
36480 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 20 ....heading.info))))............
364a0 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 20 ..............".")))............
364c0 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 20 ...(heading.(concat.todo-fmtd.".
364e0 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 78 ".priority.title))).;Heading.tex
36500 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 74 t.without.tags...........(concat
36520 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 20 ."<!--list-separator-->\n\n"....
36540 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 65 ...............;;.Above.is.neede
36560 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 20 d.just.in.case.the.body.of.the..
36580 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 76 .................;;.section.abov
365a0 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 54 e.is.ending.with.a.plain.list..T
365c0 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 6f hat...................;;.HTML.co
365e0 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 72 mment.will.force-end.the.<ul>.or
36600 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 6f .<ol>.tag...................;;.o
36620 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 20 f.that.preceding.list...........
36640 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 73 .........bullet.".".heading.tags
36660 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 28 -fmtd."\n\n"...................(
36680 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 2d and.contents.(replace-regexp-in-
366a0 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 0a string."^"."....".contents))))).
366c0 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 72 .......(t.........(let*.((anchor
366e0 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 0a .(when.org-hugo-headline-anchor.
36700 20 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
36720 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 68 ."{#%s}".(org-hugo--get-anchor.h
36740 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 2e eading.info)))).;https://gohugo.
36760 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 20 io/extras/crossreferences/......
36780 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 75 ..........(heading-title.(org-hu
367a0 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 6f go--heading-title.style.level.lo
367c0 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 20 ffset.title.....................
367e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
36800 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 75 ...todo-fmtd.tags-fmtd.anchor.nu
36820 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 65 mbers))................(wrap-ele
36840 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 6e ment.(org-hugo--container.headin
36860 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 74 g.info))................(content
36880 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 6e -str.(or.(org-string-nw-p.conten
368a0 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 65 ts)."")))...........(if.wrap-ele
368c0 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 61 ment...............(let*.((conta
368e0 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 70 iner-class.(or.(org-element-prop
36900 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 69 erty.:HTML_CONTAINER_CLASS.headi
36920 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 20 ng).............................
36940 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 65 ..............(org-element-prope
36960 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 53 rty.:EXPORT_HTML_CONTAINER_CLASS
36980 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 20 .heading).......................
369a0 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 69 ....................(plist-get.i
369c0 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 20 nfo.:html-container-class)))....
369e0 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 61 ..................(container-cla
36a00 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 74 ss-str.(if.(org-string-nw-p.cont
36a20 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 20 ainer-class)....................
36a40 20 20 20 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 ...........................(conc
36a60 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 20 at.".".container-class).........
36a80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
36aa0 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 20 ....container-class)))..........
36ac0 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 73 .......(format.(concat."<%s.clas
36ae0 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 20 s=\"outline-%d%s\">\n"..........
36b00 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 0a ......................."%s%s\n".
36b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
36b40 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 20 "</%s>")........................
36b60 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 6c .wrap-element.level.container-cl
36b80 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 20 ass-str.........................
36ba0 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 20 heading-title.content-str.......
36bc0 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 29 ..................wrap-element))
36be0 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 64 .............(format."%s%s".head
36c00 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 3b ing-title.content-str))))))))..;
36c20 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 2d ;;;;.Heading.Helpers.(defun.org-
36c40 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 20 hugo--container.(heading.info)..
36c60 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 74 ."Get.the.HTML.container.element
36c80 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 75 .for.HEADING...INFO.is.a.plist.u
36ca0 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 0a sed.as.a.communication.channel..
36cc0 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 4e .If.a.heading.has.`:HTML_CONTAIN
36ce0 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 3a ER:'.or.`:EXPORT_HTML_CONTAINER:
36d00 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 65 '.property,.that.is.used.for.the
36d20 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 65 .container.element...Else.if.the
36d40 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 61 .`:html-container'.property.is.a
36d60 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 74 .non-empty.string:...-.For.the.t
36d80 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 64 op.level.headings,.wrapping.is.d
36da0 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 72 one.using.that.property....-.For
36dc0 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 73 .second.and.lower.level.headings
36de0 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 65 ,.wrapping.is.done.using.....the
36e00 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 4c .HTML.<div>.tags...Else,.no.HTML
36e20 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 48 .element.is.wrapped.around.the.H
36e40 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 70 EADING."...(or.(org-element-prop
36e60 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 70 erty.:HTML_CONTAINER.heading).;p
36e80 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
36ea0 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 58 .......(org-element-property.:EX
36ec0 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 72 PORT_HTML_CONTAINER.heading).;pr
36ee0 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 0a operty.of.the.immediate.heading.
36f00 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 69 ......(and.(org-string-nw-p.(pli
36f20 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 69 st-get.info.:html-container)).;i
36f40 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 72 nherited.:html-container:.proper
36f60 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 6c ty.if.any............(if.(or.(pl
36f80 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 73 ist-get.info.:html-container-nes
36fa0 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 72 ted)....................(=.1.(or
36fc0 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 64 g-export-get-relative-level.head
36fe0 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 73 ing.info)))................(plis
37000 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 20 t-get.info.:html-container).....
37020 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 6f ........."div"))))..;;;###autolo
37040 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 70 ad.(defun.org-hugo-slug.(str.&op
37060 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 22 tional.allow-double-hyphens)..."
37080 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 61 Convert.string.STR.to.a.`slug'.a
370a0 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 27 nd.return.that.string...A.`slug'
370c0 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 6e .is.the.part.of.a.URL.which.iden
370e0 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 65 tifies.a.particular.page.on.a.we
37100 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 0a bsite.in.an.easy.to.read.form...
37120 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 6f Example:.If.STR.is.\"My.First.Po
37140 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 0a st\",.it.will.be.converted.to.a.
37160 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 61 slug.\"my-first-post\",.which.ca
37180 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 64 n.become.part.of.an.easy.to.read
371a0 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 2f .URL.like.\"https://example.com/
371c0 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 65 posts/my-first-post/\"...In.gene
371e0 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 61 ral,.STR.is.a.string...But.it.ca
37200 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 6e n.also.be.a.string.with.Markdown
37220 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 70 .markup.because.STR.is.often.a.p
37240 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 6e ost's.sub-heading.(which.can.con
37260 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 61 tain.bold,.italics,.link,.etc.ma
37280 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 6f rkup)...The.`slug'.generated.fro
372a0 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 0a m.that.STR.follows.these.rules:.
372c0 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 61 .-.Contain.only.lower.case.alpha
372e0 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 72 bet,.number.and.hyphen.character
37300 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 2a s...([[:alnum:]-])..-.Not.have.*
37320 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 63 any*.HTML.tag.like.\"<code>..</c
37340 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 73 ode>\",...\"<span.class=..>..</s
37360 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 55 pan>\",.etc..-.Not.contain.any.U
37380 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 6b RLs.(if.STR.happens.to.be.a.Mark
373a0 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 53 down.link)..-.Replace.\".\".in.S
373c0 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 6e TR.with.\"dot\",.\"&\".with.\"an
373e0 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 65 d\",...\"+\".with.\"plus\"..-.Re
37400 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 79 place.parentheses.with.double-hy
37420 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 62 phens...So.\"foo.(bar).baz\"...b
37440 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 6c ecomes.\"foo--bar--baz\"..-.Repl
37460 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 20 ace.non.[[:alnum:]-].chars.with.
37480 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 63 spaces,.and.then.one.or...more.c
374a0 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 20 onsecutive.spaces.with.a.single.
374c0 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 4e hyphen..-.If.ALLOW-DOUBLE-HYPHEN
374e0 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 63 S.is.non-nil,.at.most.two.consec
37500 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 74 utive...hyphens.are.allowed.in.t
37520 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 6f he.returned.string,.otherwise.co
37540 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 75 nsecutive...hyphens.are.not.retu
37560 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 68 rned..-.No.hyphens.allowed.at.th
37580 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 65 e.leading.or.trailing.end.of.the
375a0 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 61 .slug."...(let*.(;;.All.lower-ca
375c0 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 29 se..........(str.(downcase.str))
375e0 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 4f ..........;;.Remove."<FOO>..</FO
37600 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 20 O>".HTML.tags.if.present........
37620 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 6e ...(str.(replace-regexp-in-strin
37640 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 31 g."<\\(?1:[a-z]+\\)[^>]*>.*</\\1
37660 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 55 >"."".str))..........;;.Remove.U
37680 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 54 RLs.if.present.in.the.string...T
376a0 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 20 he.")".in.the..........;;.below.
376c0 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 69 regexp.is.the.closing.parenthesi
376e0 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 6b s.of.a.Markdown..........;;.link
37700 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 72 :.[Desc](Link)...........(str.(r
37720 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 20 eplace-regexp-in-string.(concat.
37740 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 29 "\\](".ffap-url-regexp."[^)]+)")
37760 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 22 ."]".str))..........;;.Replace."
37780 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 20 &".with.".and.",.".".with.".dot.
377a0 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 22 ",."+".with..........;;.".plus."
377c0 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 2d ...........(str.(replace-regexp-
377e0 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 61 in-string................"&".".a
37800 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 67 nd."................(replace-reg
37820 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 5c exp-in-string................."\
37840 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 70 \.".".dot.".................(rep
37860 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 20 lace-regexp-in-string...........
37880 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 20 ......."\\+".".plus.".str))))...
378a0 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 73 .......;;.Replace.all.characters
378c0 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 20 .except.alphabets,.numbers.and..
378e0 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 63 ........;;.parentheses.with.spac
37900 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 78 es...........(str.(replace-regex
37920 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 22 p-in-string."[^[:alnum:]()]"."."
37940 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 35 .str))..........;;.On.emacs.24.5
37960 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 65 ,.multibyte.punctuation.characte
37980 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 6f rs.like."..."..........;;.are.co
379a0 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 74 nsidered.as.alphanumeric.charact
379c0 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 20 ers!.Below.evals.to..........;;.
379e0 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 20 non-nil.on.emacs.24.5:..........
37a00 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 5d ;;...(string-match-p."[[:alnum:]
37a20 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 63 ]+"."...")..........;;.So.replac
37a40 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 20 e.them.with.space.manually......
37a60 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 76 ......(str.(if.(version<.emacs-v
37a80 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 20 ersion."25.0")..................
37aa0 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 73 .(let.((multibyte-punctuations-s
37ac0 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 20 tr."...")).;String.of.multibyte.
37ae0 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 20 punctuation.chars...............
37b00 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.
37b20 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 61 (format."[%s]".multibyte-punctua
37b40 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 20 tions-str).".".str))............
37b60 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 65 .....str))..........;;.Remove.le
37b80 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 20 ading.and.trailing.whitespace...
37ba0 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 2d ........(str.(replace-regexp-in-
37bc0 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 70 string."\\(^[[:space:]]*\\|[[:sp
37be0 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 3b ace:]]*$\\)"."".str))..........;
37c00 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 20 ;.Replace.2.or.more.spaces.with.
37c20 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 72 a.single.space...........(str.(r
37c40 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 63 eplace-regexp-in-string."[[:spac
37c60 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 20 e:]]\\{2,\\}".".".str)).........
37c80 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 75 .;;.Replace.parentheses.with.dou
37ca0 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 6c ble-hyphens...........(str.(repl
37cc0 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 73 ace-regexp-in-string."\\s-*([[:s
37ce0 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 2a pace:]]*\\([^)]+?\\)[[:space:]]*
37d00 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 20 )\\s-*".".-\\1-.".str)).........
37d20 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 68 .;;.Remove.any.remaining.parenth
37d40 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 72 eses.character...........(str.(r
37d60 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 22 eplace-regexp-in-string."[()]"."
37d80 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 63 ".str))..........;;.Replace.spac
37da0 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 28 es.with.hyphens...........(str.(
37dc0 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 22 replace-regexp-in-string."."."-"
37de0 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 6e .str))..........;;.Remove.leadin
37e00 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 20 g.and.trailing.hyphens..........
37e20 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 20 .(str.(replace-regexp-in-string.
37e40 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 0a "\\(^[-]*\\|[-]*$\\)"."".str))).
37e60 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 73 ....(unless.allow-double-hyphens
37e80 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 70 .......(setq.str.(replace-regexp
37ea0 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 73 -in-string."--"."-".str))).....s
37ec0 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 6f tr))..(defun.org-hugo-get-page-o
37ee0 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 22 r-bundle-name.(element.info)..."
37f00 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 60 Return.ELEMENT's.slug.based.on.`
37f20 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 5f :EXPORT_FILE_NAME'.and.`:EXPORT_
37f40 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 6f HUGO_BUNDLE'...If.the.\"slug\".o
37f60 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 5c f.the.element.is.\"section/post\
37f80 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 20 ",.return.\"post\"...Return.nil.
37fa0 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 4f if.ELEMENT.doesn't.have.the.EXPO
37fc0 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 4f RT_FILE_NAME.property.set...INFO
37fe0 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
38000 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 67 ion.channel."...(let.((slug.(org
38020 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 20 -hugo--heading-get-slug.element.
38040 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 6e info.nil))).....(when.(org-strin
38060 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 61 g-nw-p.slug).......(file-name-ba
38080 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 74 se.slug))))..(defun.org-hugo-get
380a0 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 69 -custom-id.(element.&optional._i
380c0 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 4f nfo)..."Return.ELEMENT's.`:CUSTO
380e0 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 45 M_ID'.property...Return.nil.if.E
38100 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 49 LEMENT.doesn't.have.the.CUSTOM_I
38120 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 6e D.property.set."...(org-string-n
38140 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 4f w-p.(org-element-property.:CUSTO
38160 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 6f M_ID.element)))..(defun.org-hugo
38180 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 6f -get-id.(&optional.element._info
381a0 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 70 )..."Return.the.value.of.`:ID'.p
381c0 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 6c roperty.for.ELEMENT...Return.nil
381e0 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 65 .if.id.is.not.found."...(let.((e
38200 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 72 lement-begin.(org-element-proper
38220 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 65 ty.:begin.element))).....(save-e
38240 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 6e xcursion.......(goto-char.elemen
38260 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 0a t-begin).......(org-id-get))))..
38280 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 67 (defun.org-hugo-get-heading-slug
382a0 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 6c .(element.info)..."Return.the.sl
382c0 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 65 ug.string.derived.from.an.Org.he
382e0 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 20 ading.ELEMENT...The.slug.string.
38300 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 74 is.parsed.from.the.ELEMENT's.`:t
38320 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 74 itle'.property...INFO.is.a.plist
38340 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
38360 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 74 ...Return.nil.if.ELEMENT's.`:tit
38380 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 20 le'.property.is.nil.or.an.empty.
383a0 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 70 string."...(let.((title.(org-exp
383c0 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...........
383e0 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 74 ......(org-element-property.:tit
38400 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 67 le.element).'md.info))).....(org
38420 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 6c -string-nw-p.(org-hugo-slug.titl
38440 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 65 e.:allow-double-hyphens))))..(de
38460 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 6e fun.org-hugo-get-md5.(element.in
38480 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 74 fo)..."Return.md5.sum.derived.st
384a0 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 65 ring.using.ELEMENT's.title.prope
384c0 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 20 rty...INFO.is.a.plist.used.as.a.
384e0 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 6e communication.channel...This.fun
38500 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 20 ction.will.never.return.nil."...
38520 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 6c (let.((hash-len.6).........(titl
38540 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 6f e.(or.(org-string-nw-p.(org-expo
38560 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 20 rt-data-with-backend............
38580 20 20 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 ..........................(org-e
385a0 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 20 lement-property.:title.element).
385c0 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 22 'md.info))....................""
385e0 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 30 ))).....(substring.(md5.title).0
38600 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 67 .hash-len)))..(defun.org-hugo--g
38620 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 61 et-elem-with-prop.(prop.&optiona
38640 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 65 l.pom._info)..."Find.the.first.e
38660 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 65 lement.with.PROP.property.in.the
38680 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 72 .current.tree...PROP.is.a.proper
386a0 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 70 ty.symbol.with.a.:.prefix,.examp
386c0 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 6e le:.`:EXPORT_FILE_NAME'...Option
386e0 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 20 al.argument.POM.is.the.position.
38700 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 20 or.marker.from.which.the.upward.
38720 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 52 search.for.PROP.should.begin...R
38740 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 41 eturn.a.cons.of.type.(ELEM...PVA
38760 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 6e L).where.ELEM.is.the.element.con
38780 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 56 taining.the.property.PROP.and.PV
387a0 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 74 AL.is.the.property's.value...Ret
387c0 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 64 urn.nil.if.the.PROP.is.not.found
387e0 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 75 .or.if.the.PVAL.is.nil...This.fu
38800 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 6e nction.is.created.as.a.workaroun
38820 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 73 d.for.Org.9.5.and.older.versions
38840 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 74 .for.the.issue.that.`org-element
38860 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 6c -at-point'.does.not.return.an.el
38880 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 6f ement.with.all.the.inherited.pro
388a0 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 6e perties...That.issue.is.fixed.in
388c0 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 20 .Org.main.branch.at.least.as.of.
388e0 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 75 2022-03-17."...(org-with-wide-bu
38900 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 65 ffer....;;.(message.(format."[se
38920 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 6f arch.prop.DBG].point.1.:.%S".(po
38940 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 63 int)))....(when.pom......(goto-c
38960 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 74 har.pom))....;;.(message.(format
38980 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 53 ."[search.prop.DBG].point.2.:.%S
389a0 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 64 ".(point)))....(org-back-to-head
389c0 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 0a ing-or-point-min.:invisible-ok).
389e0 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 70 ...(let.((elem.(org-element-at-p
38a00 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 20 oint))..........(level.t).......
38a20 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 20 ...pval)......(catch.:found.....
38a40 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 73 ...(while.elem..........;;.(mess
38a60 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 70 age.(format."[search.prop.DBG].p
38a80 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 20 rop.%S,.elem.:.%S".prop.elem))..
38aa0 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 2d ........(setq.pval.(org-element-
38ac0 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 3b property.prop.elem))..........;;
38ae0 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 76 .(message."[search.prop.DBG].lev
38b00 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 20 el.%S,.pval.%S".level.pval).....
38b20 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 29 .....(when.(or.pval.(null.level)
38b40 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 20 )............(if.(null.pval)....
38b60 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 20 ............;;.There's.probably.
38b80 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 20 no.value.to.distinguish.........
38ba0 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 65 .......;;.between.the.case.where
38bc0 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 20 .a.property.is.not..............
38be0 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 68 ..;;.found,.or.the.case.where.th
38c00 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 6c e.property................;;.val
38c20 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 0a ue.is.nil..Revisit.this.if.that.
38c40 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 20 ...............;;.changes.......
38c60 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 20 ..........(throw.:found.nil)....
38c80 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 6c ..........(throw.:found.(cons.el
38ca0 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 6c em.pval))))..........(setq.level
38cc0 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 20 .(org-up-heading-safe)).........
38ce0 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 6e .(setq.elem.(org-element-at-poin
38d00 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 69 t)))))))..(defun.org-hugo--headi
38d20 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 6f ng-get-slug.(heading.info.&optio
38d40 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 20 nal.inherit-export-file-name)...
38d60 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 20 "Return.the.slug.string.derived.
38d80 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 2e from.an.Org.HEADING.element...1.
38da0 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 49 .If.HEADING.has.only.`:EXPORT_FI
38dc0 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 20 LE_NAME'.and.it's.not.a.Hugo....
38de0 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 61 page.bundle,.use.that.property.a
38e00 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 45 s.slug...2..If.HEADING.has.a.`:E
38e20 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 69 XPORT_FILE_NAME'.property,.and.i
38e40 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 20 ts.value....is.either.\"index\".
38e60 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 4f or.\"_index\",.use.`:EXPORT_HUGO
38e80 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 20 _BUNDLE'....to.derive.the.slug..
38ea0 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 6e .\"index\".subtree.is.a.Leaf.Bun
38ec0 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 69 dle,.and....\"_index\".subtree.i
38ee0 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 4e s.a.Branch.Bundle...3..If.HEADIN
38f00 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 70 G.has.a.`:EXPORT_FILE_NAME'.prop
38f20 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 65 erty,.and.its.value....is.neithe
38f40 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 20 r.\"index\".nor.\"_index\",.use.
38f60 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 20 that.to.derive.the....slug...If.
38f80 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 2d INHERIT-EXPORT-FILE-NAME.is.non-
38fa0 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 4f nil,.allow.inheriting.the.`:EXPO
38fc0 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 61 RT_FILE_NAME'.property.from.a.pa
38fe0 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 4f rent.subtree...The.`:EXPORT_HUGO
39000 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 65 _SECTION'.property.or.`#+hugo_se
39020 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 65 ction'.keyword.value.is.prepende
39040 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 0a d.to.all.of.the.above.options...
39060 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
39080 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 20 ication.channel...Return.nil.if.
390a0 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 28 none.of.the.above.are.true."...(
390c0 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 68 org-with-wide-buffer....(let.((h
390e0 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 72 eading-begin.(org-element-proper
39100 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 20 ty.:begin.heading)))......(when.
39120 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 20 heading-begin........(goto-char.
39140 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 20 heading-begin)))....(let.((file.
39160 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 74 (org-string-nw-p.(org-export-get
39180 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 45 -node-property.:EXPORT_FILE_NAME
391a0 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 6d .heading.inherit-export-file-nam
391c0 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 20 e)))..........bundle.slug)......
391e0 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 2d ;;.(message."[org-hugo--heading-
39200 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 20 get-slug.DBG].EXPORT_FILE_NAME:.
39220 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 20 %S".file)......(when.file.......
39240 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 20 .(setq.bundle.(let*.((elem-pval.
39260 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 45 (org-hugo--get-elem-with-prop.:E
39280 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 20 XPORT_HUGO_BUNDLE)).............
392a0 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 2d ...............(pval.(when.elem-
392c0 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 20 pval............................
392e0 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 20 ........(cdr.elem-pval))))......
39300 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 20 .................pval)).........
39320 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 20 (cond.........;;.Leaf.or.branch.
39340 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 61 bundle.landing.page..........((a
39360 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 69 nd.bundle.file.(member.file.'("i
39380 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 20 ndex".;Leaf.bundle..............
393a0 20 20 20 20 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 6e ............................"_in
393c0 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 20 dex".;Branch.bundle.............
393e0 20 20 20 20 20 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 29 .............................)))
39400 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 20 ..........(setq.slug.bundle)....
39420 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 65 ......;;.(message."[org-hugo--he
39440 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 3a ading-get-slug.DBG].bundle.slug:
39460 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 3b .%S".slug)..........).........;;
39480 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 68 .It's.a.Hugo.page.bundle,.but.th
394a0 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 20 e.file.is.neither.index.nor.....
394c0 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 20 ....;;._index..So.likely.a.page.
394e0 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 6e in.a.branch.bundle..........((an
39500 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 6c d.bundle.file)..........(setq.sl
39520 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 6f ug.(concat.(file-name-as-directo
39540 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 6d ry.bundle).file))..........;;.(m
39560 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 73 essage."[org-hugo--heading-get-s
39580 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 67 lug.DBG].branch.bundle.file.slug
395a0 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)..........).........;
395c0 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 20 ;.Not.a.Hugo.page.bundle........
395e0 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 29 ..(t..........(setq.slug.file)))
39600 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 20 .........;;.Prefix.with.section.
39620 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 0a and.fragmented.sections.if.any..
39640 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 0a .......(let.((pheading.heading).
39660 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 72 .............section.fragment.fr
39680 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 20 agments)..........(setq.section.
396a0 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................
396c0 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 64 .........(or.(org-export-get-nod
396e0 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.
39700 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 20 heading.:inherited).............
39720 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 20 ................(plist-get.info.
39740 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 49 :hugo-section))))...........;;.I
39760 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 69 terate.over.all.parents.of.headi
39780 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 20 ng,.and.collect.section.........
397a0 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 68 .;;.path.fragments...........(wh
397c0 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 20 ile.(and.pheading...............
397e0 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 65 .......(not.(org-export-get-node
39800 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 70 -property.:EXPORT_HUGO_SECTION.p
39820 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 64 heading.nil)))............;;.Add
39840 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 76 .the.:EXPORT_HUGO_SECTION_FRAG.v
39860 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 20 alue.to.the.fragment.list.......
39880 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 2d ......(when.(setq.fragment.(org-
398a0 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 54 export-get-node-property.:EXPORT
398c0 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 29 _HUGO_SECTION_FRAG.pheading.nil)
398e0 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 72 )..............(push.fragment.fr
39900 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 64 agments))............(setq.phead
39920 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 6e ing.(org-element-property.:paren
39940 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 65 t.pheading)))...........(when.se
39960 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 6e ction............(setq.slug.(con
39980 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 74 cat.(file-name-as-directory.sect
399a0 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 20 ion)............................
399c0 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 72 ...(mapconcat.#'file-name-as-dir
399e0 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 20 ectory.fragments."")............
39a00 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 20 ...................slug)))......
39a20 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 64 ....;;.(message."[org-hugo--head
39a40 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 73 ing-get-slug.DBG].section:.%S".s
39a60 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 6f ection)..........;;.(message."[o
39a80 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 73 rg-hugo--heading-get-slug.DBG].s
39aa0 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 20 ection.+.slug:.%S".slug)........
39ac0 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 6f ..))......;;.(message."[org-hugo
39ae0 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 6c --heading-get-slug.DBG].FINAL.sl
39b00 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 66 ug:.%S".slug)......slug)))..(def
39b20 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 20 un.org-hugo--get-anchor(element.
39b40 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 6f info)..."Return.anchor.string.fo
39b60 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 68 r.Org.heading.ELEMENT...The.anch
39b80 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 75 or.is.derived.using.the.first.fu
39ba0 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 61 nction.that.returns.a.non-nil.va
39bc0 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 72 lue.(a.string).from.the.list.`or
39be0 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 20 g-hugo-anchor-functions'...INFO.
39c00 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
39c20 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 72 on.channel...Return.an.empty.str
39c40 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 67 ing.if.all.functions.in.`org-hug
39c60 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 22 o-anchor-functions'.return.nil."
39c80 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 20 ...(or.(seq-some........(lambda.
39ca0 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 0a (fn).(funcall.fn.element.info)).
39cc0 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 73 .......org-hugo-anchor-functions
39ce0 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 68 ).......""))..(defun.org-hugo--h
39d00 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 65 eading-title.(style.level.loffse
39d20 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 68 t.title.&optional.todo.tags.anch
39d40 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 6e or.numbers)..."Generate.a.headin
39d60 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 77 g.title.in.the.preferred.Markdow
39d80 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 70 n.heading.style...STYLE.is.the.p
39da0 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 74 referred.style.(`atx'.or.`setext
39dc0 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 4c ')..LEVEL.is.the.header.level..L
39de0 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 61 OFFSET.is.the.offset.(a.non-nega
39e00 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 68 tive.number).that.is.added.to.th
39e20 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 74 e.Markdown.heading.level.for.`at
39e40 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 74 x'.style..TITLE.is.the.heading.t
39e60 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 73 itle...Optional.argument.TODO.is
39e80 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 20 .the.Org.TODO.string...Optional.
39ea0 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 69 argument.TAGS.is.a.string.contai
39ec0 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 2e ning.the.current.heading's.tags.
39ee0 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 68 ..Optional.argument.ANCHOR.is.th
39f00 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 6f e.Hugo.anchor.tag.for.the.sectio
39f20 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 6e n.as.a.string...Optional.argumen
39f40 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 6d t.NUMBERS,.if.non-nil,.is.an.htm
39f60 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 4c lized.string.containing.the.TITL
39f80 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 63 E's.number."...(let.((heading.(c
39fa0 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 20 oncat.todo.numbers.title.tags.".
39fc0 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 74 ".anchor."\n"))).....;;.Use."Set
39fe0 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 6c ext".style.....(if.(and.(eq.styl
3a000 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 20 e.'setext).(<.level.3)).........
3a020 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 65 (let*.((underline-char.(if.(=.le
3a040 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 75 vel.1).?=.?-))................(u
3a060 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 6c nderline.(concat.(make-string.(l
3a080 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 20 ength.heading).underline-char)..
3a0a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3a0c0 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 20 ."\n")))...........(concat."\n".
3a0e0 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 3b heading.underline."\n")).......;
3a100 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 79 ;.Use."Atx".style.......;;.Alway
3a120 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 20 s.translate.level.N.Org.heading.
3a140 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 68 to.level.N+1.Markdown.......;;.h
3a160 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 20 eading.because.Markdown.level.1.
3a180 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 20 heading.and.HTML.title.both.....
3a1a0 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 20 ..;;.get.the.HTML.<h1>.tag,.and.
3a1c0 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 64 we.do.not.want.the.top-most.head
3a1e0 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 74 ing.......;;.of.a.post.to.look.t
3a200 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 6c he.exact.same.as.the.post's.titl
3a220 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 65 e........(let.((level-mark.(make
3a240 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 0a -string.(+.loffset.level).?#))).
3a260 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 20 ........(concat."\n".level-mark.
3a280 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 65 ".".heading."\n")))))..;;;;.Inne
3a2a0 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 72 r.Template.(defun.org-hugo-inner
3a2c0 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 74 -template.(contents.info)..."Ret
3a2e0 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 65 urn.body.of.document.after.conve
3a300 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 6b rting.it.to.Hugo-compatible.Mark
3a320 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 64 down..CONTENTS.is.the.transcoded
3a340 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 69 .contents.string...INFO.is.a.pli
3a360 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 6c st.holding.export.options."...(l
3a380 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 20 et*.((toc-level.(plist-get.info.
3a3a0 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 20 :with-toc))..........(toc-level.
3a3c0 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 20 (if.(and.toc-level..............
3a3e0 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 20 ................(not.(wholenump.
3a400 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 20 toc-level)))....................
3a420 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 6c .....(plist-get.info.:headline-l
3a440 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 63 evels).......................toc
3a460 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 20 -level))..........(toc.(if.(and.
3a480 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 20 toc-level.......................
3a4a0 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 20 .(wholenump.toc-level)..........
3a4c0 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 3b ..............(>.toc-level.0)).;
3a4e0 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 63 TOC.will.be.exported.only.if.toc
3a500 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 20 -level.is.positive..............
3a520 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 6f .....(concat.(org-hugo--build-to
3a540 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 20 c.info.toc-level)."\n").........
3a560 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 6e ........""))..........;;.Handlin
3a580 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 73 g.the.case.of.special.blocks.ins
3a5a0 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 62 ide.markdown.quote..........;;.b
3a5c0 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 61 locks...........(contents.(repla
3a5e0 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.............
3a600 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 29 ........(concat."\\(\n\\s-*>.\\)
3a620 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 2d *".(regexp-quote.org-hugo--trim-
3a640 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 20 pre-marker))....................
3a660 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 71 .;;..........^^^^^^^^.Markdown.q
3a680 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 67 uote.blocks.have.lines.beginning
3a6a0 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 20 .with.">."......................
3a6c0 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 20 org-hugo--trim-pre-marker.;Keep.
3a6e0 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 6f the.trim.marker;.it.will.be.remo
3a700 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 6f ved.next......................co
3a720 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 70 ntents))..........(contents.(rep
3a740 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 20 lace-regexp-in-string...........
3a760 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 5d ..........(concat."\\([[:space:]
3a780 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 75 ]\\|\n\\)*".(regexp-quote.org-hu
3a7a0 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 20 go--trim-pre-marker))...........
3a7c0 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 20 .........."\n"..................
3a7e0 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 73 ...contents))..........(contents
3a800 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 6d .(replace-regexp-in-string.;Trim
3a820 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 65 .stuff.after.selected.exported.e
3a840 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 6e lements.....................(con
3a860 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 6d cat.(regexp-quote.org-hugo--trim
3a880 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 20 -post-marker)...................
3a8a0 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 74 ..........;;.Pull.up.the.content
3a8c0 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 20 s.from.the.next.................
3a8e0 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 20 ............;;.line,.unless.the.
3a900 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 20 next.line.is.a.list.............
3a920 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 68 ................;;.item.(-),.a.h
3a940 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 20 eading.(#).or.a.code.block......
3a960 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 20 .......................;;.(`)...
3a980 20 20 20 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 5b ..........................."\\([
3a9a0 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 29 [:space:]>]\\|\n\\)+\\([^-#`]\\)
3a9c0 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 6f ").....................".\\2".co
3a9e0 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 67 ntents)))......;;.(message."[org
3aa00 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 65 -hugo-inner-template.DBG].toc-le
3aa20 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 2d vel:.%s".toc-level).....(string-
3aa40 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 6e trim-left.;Remove.any.extra.blan
3aa60 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 64 k.lines.between.front-matter.and
3aa80 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 28 .the.content.#consistency......(
3aaa0 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 0a concat.......toc.......contents.
3aac0 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 73 ......;;.Make.sure.CONTENTS.is.s
3aae0 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 0a eparated.from.table.of.contents.
3ab00 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 6c ......;;.and.footnotes.with.at.l
3ab20 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 20 east.a.blank.line........"\n"...
3ab40 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 65 ....(org-blackfriday-footnote-se
3ab60 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 70 ction.info.(org-hugo--lang-cjk-p
3ab80 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 6f .info))))))..;;;;.Inline.Src.Blo
3aba0 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 6c ck.(defun.org-hugo-inline-src-bl
3abc0 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 20 ock.(inline-src-block._contents.
3abe0 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 42 _info)..."Transcode.INLINE-SRC-B
3ac00 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 48 LOCK.object.into.HTML...Escape.H
3ac20 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 69 ugo.shortcodes.if.present.in.thi
3ac40 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 61 s.element's.value."...(let*.((la
3ac60 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 61 ng.(org-element-property.:langua
3ac80 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 28 ge.inline-src-block))..........(
3aca0 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 72 code.(org-hugo--escape-hugo-shor
3acc0 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 65 tcode.................(org-eleme
3ace0 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 6c nt-property.:value.inline-src-bl
3ad00 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 20 ock).................lang)))....
3ad20 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 6e .(org-element-put-property.inlin
3ad40 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 6f e-src-block.:value.code).....(fo
3ad60 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 6c rmat."<span.class=\"inline-src.l
3ad80 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 73 anguage-%s\".data-lang=\"%s\">%s
3ada0 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 20 </span>".............lang.lang..
3adc0 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 69 ...........(org-md-verbatim.inli
3ade0 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 4b ne-src-block.nil.nil))))..;;;;.K
3ae00 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 28 eyword.(defun.org-hugo-keyword.(
3ae20 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 63 keyword.contents.info)..."Transc
3ae40 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 2d ode.a.KEYWORD.element.into.Hugo-
3ae60 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 54 compatible.Markdown.format..CONT
3ae80 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 73 ENTS.is.nil...INFO.is.a.plist.us
3aea0 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 0a ed.as.a.communication.channel.".
3aec0 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 72 ..(let.((kwd.(org-element-proper
3aee0 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 65 ty.:key.keyword)).........(value
3af00 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 65 .(org-element-property.:value.ke
3af20 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 65 yword))).....(cond......((and.(e
3af40 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 64 qual."HUGO".kwd)).......(if.(and
3af60 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 20 .(stringp.value)..........;Hugo.
3af80 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 20 summary.splitting...............
3afa0 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 5c .(string-match-p."\\`\\s-*more\\
3afc0 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 6e s-*\\'".value))...........(progn
3afe0 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 69 .............;;.https://gohugo.i
3b000 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 75 o/content-management/summaries#u
3b020 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 74 ser-defined-manual-summary-split
3b040 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 0a ting............."<!--more-->").
3b060 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 29 ........(progn...........value))
3b080 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 20 )......((and.(equal."TOC".kwd)..
3b0a0 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 65 ..........(string-match-p."\\<he
3b0c0 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 20 adlines\\>".value)).......(let*.
3b0e0 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 5b ((depth.(and.(string-match."\\<[
3b100 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 20 0-9]+\\>".value)................
3b120 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 74 ..........(string-to-number.(mat
3b140 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 20 ch-string.0.value))))...........
3b160 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 6c ...(local?.(string-match-p."\\<l
3b180 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 73 ocal\\>".value))..............(s
3b1a0 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 60 cope.....................;From.`
3b1c0 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 63 org-md-keyword'...............(c
3b1e0 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 63 ond................((string-matc
3b200 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 5c h.":target.+\\(\".+?\"\\|\\S-+\\
3b220 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 20 )".value).;link.................
3b240 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 20 (org-export-resolve-link........
3b260 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 74 ..........(org-strip-quotes.(mat
3b280 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 20 ch-string.1.value)).info))......
3b2a0 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 20 ..........(local?.keyword))))...
3b2c0 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 20 ......(when.(and.depth..........
3b2e0 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 20 ..........(>.depth.0))..........
3b300 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 64 .(let.((toc-str.(org-hugo--build
3b320 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 0a -toc.info.depth.scope.local?))).
3b340 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 20 ............(when.toc-str.......
3b360 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 20 ........(org-remove-indentation.
3b380 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 67 toc-str))))))......(t.......(org
3b3a0 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 66 -md-keyword.keyword.contents.inf
3b3c0 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 75 o)))))..;;;;.Links.(defun.org-hu
3b3e0 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 65 go--get-coderef-anchor-prefix.(e
3b400 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 66 l)..."Get.anchor.prefix.string.f
3b420 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 74 or.code.refs.in.element.EL...Ret
3b440 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 50 urn.a.cons.(CODE-REFS...ANCHOR-P
3b460 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 20 REFIX).where..-.CODE-REFS.is.an.
3b480 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 42 alist.of.the.type.(LINENUM...LAB
3b4a0 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 65 EL).where....LINENUM.is.the.line
3b4c0 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 65 .number.where.the.code.reference
3b4e0 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 41 d.labeled...LABEL.was.found...LA
3b500 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 49 BEL.is.a.string...-.ANCHOR-PREFI
3b520 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 4c X.is.a.string...Return.nil.if.EL
3b540 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 74 .has.no.code.references."...(let
3b560 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 20 .((prefix."org-coderef")........
3b580 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 73 .(hash-len.6).........(code-refs
3b5a0 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 65 .(cdr.(org-export-unravel-code.e
3b5c0 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 20 l)))).....(when.code-refs.......
3b5e0 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 20 (let*.((unique-id.(substring....
3b600 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 6d ......................(md5.(form
3b620 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 29 at."%s".code-refs)).0.hash-len))
3b640 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 6f ..............(anchor-prefix.(fo
3b660 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 29 rmat."%s--%s".prefix.unique-id))
3b680 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 72 ).........(cons.code-refs.anchor
3b6a0 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 69 -prefix)))))..(defun.org-hugo-li
3b6c0 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 20 nk--resolve-coderef.(ref.info)..
3b6e0 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 0a ."Resolve.a.code.reference.REF..
3b700 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 65 .This.function.is.heavily.derive
3b720 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 72 d.from.`org-export-resolve-coder
3b740 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 20 ef'...INFO.is.a.plist.used.as.a.
3b760 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 61 communication.channel...Return.a
3b780 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 60 .plist.with.these.elements:..-.`
3b7a0 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 6e :line-num'.::.REF.associated.lin
3b7c0 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 69 e.number..-.`:ref'.::.REF.associ
3b7e0 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 20 ated.line.number.in.source.code.
3b800 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 61 (if.the.Org...element's.`:use-la
3b820 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 68 bels'.property.is.unset...This.h
3b840 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 73 appens.when...the.`-r'.switch.is
3b860 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 63 .used).,.or.REF.itself...-.`:anc
3b880 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 72 hor-prefix'.::.String.prefix.for
3b8a0 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 69 .REF's.anchor...Throw.an.error.i
3b8c0 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 20 f.no.block.contains.REF."...(or.
3b8e0 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 6f (org-element-map.(plist-get.info
3b900 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 72 .:parse-tree).'(example-block.sr
3b920 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 20 c-block).........(lambda.(el)...
3b940 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 20 ........(with-temp-buffer.......
3b960 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 65 ......(insert.(org-trim.(org-ele
3b980 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 20 ment-property.:value.el)))......
3b9a0 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 20 .......(let*.((ref-info.()).....
3b9c0 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 6f ...............(label-fmt.(or.(o
3b9e0 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 65 rg-element-property.:label-fmt.e
3ba00 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 20 l)..............................
3ba20 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 0a .....org-coderef-label-format)).
3ba40 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 2d ...................(ref-re.(org-
3ba60 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 66 src-coderef-regexp.label-fmt.ref
3ba80 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 6e )))...............;;.Element.con
3baa0 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 69 taining.REF.is.found...Resolve.i
3bac0 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 6c t.to...............;;.either.a.l
3bae0 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 64 abel.or.a.line.number,.as.needed
3bb00 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 68 ................(when.(re-search
3bb20 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 20 -backward.ref-re.nil.:noerror)..
3bb40 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 20 ...............(let*.((line-num.
3bb60 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 6e (+.(or.(org-export-get-loc.el.in
3bb80 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 20 fo).0)..........................
3bba0 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 29 ...........(line-number-at-pos))
3bbc0 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 74 )........................(ref-st
3bbe0 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 2d r.(format."%s".(if.(org-element-
3bc00 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 20 property.:use-labels.el)........
3bc20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3bc40 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 20 ..........ref...................
3bc60 20 20 20 20 20 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 6e .............................lin
3bc80 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 74 e-num))))...................(set
3bca0 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 3a q.ref-info.(plist-put.ref-info.:
3bcc0 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 20 line-num.line-num)).............
3bce0 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 20 ......(setq.ref-info.(plist-put.
3bd00 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 20 ref-info.:ref.ref-str)).........
3bd20 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 28 ..........(let.((anchor-prefix.(
3bd40 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 72 or.(org-element-property.:anchor
3bd60 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 72 -prefix.el).;set.in.`org-hugo-sr
3bd80 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 20 c-block'........................
3bda0 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 75 ....................(cdr.(org-hu
3bdc0 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 6c go--get-coderef-anchor-prefix.el
3bde0 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 20 ))))).....................(setq.
3be00 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 6e ref-info.(plist-put.ref-info.:an
3be20 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 20 chor-prefix.anchor-prefix))))...
3be40 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 20 ..............ref-info))))......
3be60 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 67 ...info.'first-match).......(sig
3be80 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 29 nal.'org-link-broken.(list.ref))
3bea0 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 69 ))..(defun.org-hugo--org-mode-li
3bec0 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 66 ght.()..."Enable.set.current.buf
3bee0 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 27 fer's.`major-mode'.to.`org-mode'
3bf00 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 74 .quickly...It.is.necessary.for.t
3bf20 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 27 he.`major-mode'.to.be.`org-mode'
3bf40 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 69 .for.many.functions.like.`org-li
3bf60 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 2d nk-search'."...(unless.(derived-
3bf80 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 68 mode-p.'org-mode).....(let.((inh
3bfa0 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 20 ibit-modification-hooks.t)......
3bfc0 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 27 .....(org-mode-hook.nil)...;Don'
3bfe0 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 6e t.run.any.Org.mode.hook.function
3c000 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 70 s...........(org-inhibit-startup
3c020 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 73 .t)).;Don't.run.any.Org.buffer.s
3c040 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 65 tartup.functions.......(org-mode
3c060 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 6f ))))..(defun.org-hugo--get-ancho
3c080 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 68 r-at-point.(info)..."Return.anch
3c0a0 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 70 or.string.based.on.the.current.p
3c0c0 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 6e oint...If.point.is.in.a.`headlin
3c0e0 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 73 e'.element,.derive.the.anchor.us
3c100 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 68 ing.`org-hugo--get-anchor'...Oth
3c120 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 73 erwise,.if.the.current.point.has
3c140 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 61 .an.Org.target,.get.the.target.a
3c160 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 60 nchor...If.current.element.has.`
3c180 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 74 :EXPORT_FILE_NAME'.property,.ret
3c1a0 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 20 urn.the.anchor.as-is,.otherwise.
3c1c0 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 22 prefix.the.anchor.string.with.\"
3c1e0 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 20 #\"...Return.an.empty.string.if.
3c200 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 4e an.anchor.cannot.be.derived...IN
3c220 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
3c240 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 6f ation.channel."...(let.((elem.(o
3c260 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 61 rg-element-at-point)).........(a
3c280 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 61 nchor."")).....(cond......((equa
3c2a0 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 6c l.(org-element-type.elem).'headl
3c2c0 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 67 ine).......(setq.anchor.(org-hug
3c2e0 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 20 o--get-anchor.elem.info)))......
3c300 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 73 (t.......;;.If.current.point.has
3c320 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 61 .an.Org.Target,.get.the.target.a
3c340 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 20 nchor........(let.((target-elem.
3c360 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 20 (org-element-target-parser)))...
3c380 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 2d ......(when.(equal.(org-element-
3c3a0 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 20 type.target-elem).'target)......
3c3c0 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 64 .....(setq.anchor.(org-blackfrid
3c3e0 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 65 ay--get-target-anchor.target-ele
3c400 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 77 m)))))).....(when.(org-string-nw
3c420 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 65 -p.anchor).......;;.If.the.eleme
3c440 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 69 nt.has.the.`:EXPORT_FILE_NAME'.i
3c460 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 20 t's.not.a.......;;.sub-heading,.
3c480 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 20 but.the.subtree's.main.heading..
3c4a0 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 69 .Don't.prefix.......;;.the."#".i
3c4c0 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 2d n.that.case........(unless.(org-
3c4e0 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 54 export-get-node-property.:EXPORT
3c500 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 65 _FILE_NAME.elem.nil).........(se
3c520 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 29 tq.anchor.(format."#%s".anchor))
3c540 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 20 )).....;;.(message."[search.and.
3c560 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 68 get.anchor.DBG].anchor:.%S".anch
3c580 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 67 or).....anchor))..(defun.org-hug
3c5a0 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 69 o--search-and-get-anchor.(org-fi
3c5c0 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 54 le.search-str.info)..."Return.HT
3c5e0 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 45 ML.anchor.for.the.point.where.SE
3c600 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 0a ARCH-STR.is.found.in.ORG-FILE...
3c620 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 69 ORG-FILE.is.the.file.path.in.whi
3c640 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 63 ch.the.SEARCH-STR.is.to.be.searc
3c660 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 6e hed...SEARCH-STR.needs.to.be.a.n
3c680 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 73 on-empty.string...Example.values
3c6a0 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 75 :.\"*.Some.heading\",.\"#some_cu
3c6c0 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 2c stom_id\"...If.the.search.fails,
3c6e0 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 75 .return.\"\"...INFO.is.a.plist.u
3c700 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."
3c720 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 20 ...;;.(message."[search.and.get.
3c740 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 69 anchor.DBG].org-file:.%S".org-fi
3c760 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 67 le)...;;.(message."[search.and.g
3c780 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 73 et.anchor.DBG].search-str:.%S".s
3c7a0 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 2d earch-str)...(let.((buffer.(get-
3c7c0 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 20 file-buffer.org-file))).;nil.if.
3c7e0 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 79 `org-file'.buffer.is.not.already
3c800 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 70 .open.....(unless.(file-exists-p
3c820 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 75 .org-file).......(error."[org-hu
3c840 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 6c go--search-and-get-anchor].Unabl
3c860 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 6c e.to.open.Org.file.`%s'".org-fil
3c880 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 69 e)).....(with-current-buffer.(fi
3c8a0 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 20 nd-file-noselect.org-file)......
3c8c0 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 2d .(unless.buffer.........(add-to-
3c8e0 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 28 list.'org-hugo--opened-buffers.(
3c900 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 2d current-buffer))).......;;.`org-
3c920 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 72 mode'.needs.to.be.loaded.for.`or
3c940 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 20 g-link-search'.to.work.......;;.
3c960 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 73 correctly..Otherwise.`org-link-s
3c980 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 3b earch'.returns.starting.......;;
3c9a0 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 0a .points.for.incorrect.subtrees..
3c9c0 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 29 ......(org-hugo--org-mode-light)
3c9e0 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 65 .......(org-export-get-environme
3ca00 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 0a nt).;Eval.#+bind.keywords,.etc..
3ca20 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 74 ......(org-link-search.search-st
3ca40 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 60 r).;This.is.extracted.from.the.`
3ca60 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 28 org-open-file'.function........(
3ca80 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 6e org-hugo--get-anchor-at-point.in
3caa0 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 69 fo))))..(defun.org-hugo-link.(li
3cac0 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 6f nk.desc.info)..."Convert.LINK.to
3cae0 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 6c .Markdown.format...DESC.is.the.l
3cb00 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 69 ink's.description..INFO.is.a.pli
3cb20 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
3cb40 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 20 el...Unlike.`org-md-link',.this.
3cb60 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 6d function.will.also.copy.local.im
3cb80 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 6d ages.and.rewrite.link.paths.to.m
3cba0 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 28 ake.blogging.more.seamless."...(
3cbc0 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 6f let*.((raw-link.(org-element-pro
3cbe0 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 20 perty.:raw-link.link))..........
3cc00 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 20 (raw-path.(org-element-property.
3cc20 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 67 :path.link))..........(type.(org
3cc40 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 20 -element-property.:type.link))..
3cc60 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 70 ........(link-is-url.(member.typ
3cc80 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 6f e.'("http"."https"."ftp"."mailto
3cca0 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 6f ")))).....;;.(message."[org-hugo
3ccc0 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 70 -link.DBG].raw-path.1:.%s".raw-p
3cce0 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 61 ath)......(when.(and.(stringp.ra
3cd00 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 75 w-path)................link-is-u
3cd20 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 6c rl).......(setq.raw-path.(org-bl
3cd40 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 20 ackfriday--url-sanitize-maybe...
3cd60 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 6e ....................info.(url-en
3cd80 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 65 code-url.raw-path)))).....;;.(me
3cda0 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 6c ssage."[org-hugo-link.DBG].raw-l
3cdc0 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 61 ink:.%s".raw-link).....;;.(messa
3cde0 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
3ce00 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 67 .2:.%s".raw-path).....;;.(messag
3ce20 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 22 e."[org-hugo-link.DBG].link:.%S"
3ce40 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 67 .link).....;;.(message."[org-hug
3ce60 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 29 o-link.DBG].link.type:.%s".type)
3ce80 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 20 .....(cond......;;.Link.type.is.
3cea0 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 20 handled.by.a.special.function...
3cec0 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 6c ....((org-export-custom-protocol
3cee0 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 20 -maybe.link.desc.'md.info)).....
3cf00 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 64 .((member.type.'("custom-id"."id
3cf20 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 29 "......................"fuzzy"))
3cf40 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 69 .;<<target>>,.#+name,.heading.li
3cf60 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 66 nks.......(let.((destination.(if
3cf80 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 20 .(string=.type."fuzzy").........
3cfa0 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 74 .....................(org-export
3cfc0 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 20 -resolve-fuzzy-link.link.info)..
3cfe0 20 20 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 ..........................(org-e
3d000 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 29 xport-resolve-id-link.link.info)
3d020 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 75 ))).........;;.(message."[org-hu
3d040 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
3d060 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 6f ).........;;.(message."[org-hugo
3d080 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 74 -link.DBG].destination:.%s".dest
3d0a0 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 6f ination).........;;.(message."[o
3d0c0 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 6b rg-hugo-link.DBG].link:.%S".link
3d0e0 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 6f ).........;;.(message."[org-hugo
3d100 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 6d -link.DBG].link.destination.elem
3d120 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 73 .type:.%S".(org-element-type.des
3d140 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 65 tination)).........(pcase.(org-e
3d160 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 20 lement-type.destination)........
3d180 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 28 ...;;.External.file............(
3d1a0 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 61 `plain-text............(let.((pa
3d1c0 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 20 th.(progn.......................
3d1e0 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 20 ...;;.Treat.links.to.`file.org'.
3d200 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 20 as.links.to.`file.md'...........
3d220 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 6f ................(if.(string=.".o
3d240 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 69 rg".(downcase.(file-name-extensi
3d260 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 20 on.destination.".")))...........
3d280 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
3d2a0 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 6e -name-sans-extension.destination
3d2c0 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 20 ).".md")........................
3d2e0 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 20 ....destination)))).............
3d300 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
3d320 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 20 ].plain-text.path:.%s".path)....
3d340 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 69 ..........(if.(org-id-find-id-fi
3d360 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 6c le.raw-path)..................(l
3d380 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 61 et*.((anchor.(org-hugo-link--hea
3d3a0 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 20 ding-anchor-maybe.link.info))...
3d3c0 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 28 ......................(ref.(if.(
3d3e0 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 20 and.(org-string-nw-p.anchor)....
3d400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3d420 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 63 ...(not.(string-prefix-p."#".anc
3d440 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 20 hor)))..........................
3d460 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 6e ........;;.If.the."anchor".doesn
3d480 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 20 't.begin.with...................
3d4a0 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 69 ...............;;."#",.it's.a.di
3d4c0 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 20 rect.reference.to.a.............
3d4e0 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 62 .....................;;.post.sub
3d500 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 20 tree............................
3d520 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 20 .......anchor...................
3d540 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 72 .............(concat.path.anchor
3d560 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 73 ))))....................;;.(mess
3d580 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 74 age."[org-hugo-link.DBG].plain-t
3d5a0 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 20 ext.org-id.anchor:.%S".anchor)..
3d5c0 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 28 ..................(format."[%s](
3d5e0 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 63 {{<.relref.\"%s\".>}})".(or.desc
3d600 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 20 .path).ref))................(if.
3d620 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 20 desc....................(format.
3d640 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 20 "[%s](%s)".desc.path)...........
3d660 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 0a .......(format."<%s>".path))))).
3d680 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 53 ..........;;.Links.of.type.[[*.S
3d6a0 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 6c ome.heading]]............(`headl
3d6c0 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 67 ine............(let.((title.(org
3d6e0 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
3d700 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 20 ty.:title.destination).info)))..
3d720 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 20 ............(format.............
3d740 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 44 .."[%s](#%s)"...............;;.D
3d760 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 28 escription...............(cond.(
3d780 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 20 (org-string-nw-p.desc)).........
3d7a0 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 65 ............((org-export-numbere
3d7c0 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 20 d-headline-p.destination.info)..
3d7e0 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.#
3d800 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 20 'number-to-string...............
3d820 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 65 ..................(org-export-ge
3d840 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 6e t-headline-number.destination.in
3d860 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 20 fo).............................
3d880 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 74 ....".")).....................(t
3d8a0 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 20 ......................title))...
3d8c0 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 20 ............;;.Reference........
3d8e0 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 73 .......(org-hugo--get-anchor.des
3d900 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 4c tination.info))))...........;;.L
3d920 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 20 inks.to.other.Org.elements.like.
3d940 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 20 source.blocks,.tables,..........
3d960 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 72 .;;.paragraphs,.standalone.figur
3d980 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 20 es,.<<target>>.links,.etc.......
3d9a0 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 69 .....(_............(let.((descri
3d9c0 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 67 ption...................(or.(org
3d9e0 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 20 -string-nw-p.desc)..............
3da00 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 6f .........(let.((number.(org-expo
3da20 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 20 rt-get-ordinal..................
3da40 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 20 ....................destination.
3da60 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 20 info............................
3da80 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 61 ..........nil.#'org-html--has-ca
3daa0 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 20 ption-p)))......................
3dac0 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 20 ...(when.number.................
3dae0 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 74 ..........(let.((num-str.(if.(at
3db00 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 20 om.number)......................
3db20 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 2d ........................(number-
3db40 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 20 to-string.number)...............
3db60 20 20 20 20 20 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
3db80 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 65 pconcat.#'number-to-string.numbe
3dba0 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 20 r.".")))).......................
3dbc0 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 6e ......;;.(message."[org-hugo-lin
3dbe0 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 20 k.DBG].num-str:.%s".num-str)....
3dc00 20 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 67 .........................(if.org
3dc20 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 20 -hugo-link-desc-insert-type.....
3dc40 20 20 20 20 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 ............................(let
3dc60 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 69 *.((type.(org-element-type.desti
3dc80 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 20 nation))........................
3dca0 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 68 ................;;.Org.doesn't.h
3dcc0 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 20 ave.a.specific..................
3dce0 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 74 ......................;;.element
3dd00 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 20 .for.figures..So.if.............
3dd20 20 20 20 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
3dd40 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 20 e.element.is.`paragraph',.......
3dd60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3dd80 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 20 .;;.and.as.this.element.has.an..
3dda0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ddc0 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 65 ......;;.ordinal,.we.will.assume
3dde0 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 20 .that...........................
3de00 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 0a .............;;.to.be.a.figure..
3de20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3de40 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 61 .......(type.(if.(equal.'paragra
3de60 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 20 ph.type)........................
3de80 20 20 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 72 ..........................'figur
3dea0 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 20 e...............................
3dec0 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 20 .................type)).........
3dee0 20 20 20 20 20 20 20 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 ...............................(
3df00 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 73 type-str.(org-blackfriday--trans
3df20 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 20 late.type.info)))...............
3df40 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 20 ....................(format."%s.
3df60 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 20 %s".type-str.num-str))..........
3df80 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 29 .....................num-str))))
3dfa0 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 6f )))..............;;.(message."[o
3dfc0 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 69 rg-hugo-link.DBG].link.descripti
3dfe0 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 20 on:.%s".description)............
3e000 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 20 ..(when.description.............
3e020 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 20 ...(let.((dest-link.(cond.......
3e040 20 20 20 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 ...........................;;.Re
3e060 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 20 f.to.a.source.block.or.table....
3e080 20 20 20 20 20 20 20 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 ...............................(
3e0a0 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 74 (memq.(org-element-type.destinat
3e0c0 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 20 ion).'(src-block.table))........
3e0e0 20 20 20 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-
3e100 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 69 blackfriday--get-reference.desti
3e120 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 20 nation))........................
3e140 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 65 ..........;;.Ref.to.a.standalone
3e160 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 20 .figure.........................
3e180 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 61 ..........((and.(org-html-standa
3e1a0 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 20 lone-image-p.destination.info)..
3e1c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3e1e0 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 74 ......(eq.(org-element-type.dest
3e200 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 20 ination).'paragraph))...........
3e220 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 66 ........................(let.((f
3e240 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 2d igure-ref.(org-blackfriday--get-
3e260 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 20 reference.destination)))........
3e280 20 20 20 20 20 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 .............................(if
3e2a0 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 20 .(org-string-nw-p.figure-ref)...
3e2c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3e2e0 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 0a ......(replace-regexp-in-string.
3e300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3e320 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 20 ........."\\`org-paragraph--"...
3e340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3e360 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 66 .......(org-blackfriday--get-ref
3e380 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 20 -prefix.'figure)................
3e3a0 20 20 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 65 ..........................figure
3e3c0 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 20 -ref)...........................
3e3e0 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 65 ............(org-export-get-refe
3e400 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 20 rence.destination.info))))......
3e420 20 20 20 20 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
3e440 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 20 ef.to.a.<<target>>..............
3e460 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 65 .....................((eq.(org-e
3e480 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 74 lement-type.destination).'target
3e4a0 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 )...............................
3e4c0 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 74 ....(org-blackfriday--get-target
3e4e0 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 20 -anchor.destination))...........
3e500 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 6f .......................;;.Ref.to
3e520 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 20 .all.other.link.destinations....
3e540 20 20 20 20 20 20 20 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 ...............................(
3e560 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 20 t...............................
3e580 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 65 ....(org-export-get-reference.de
3e5a0 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 20 stination.info))))).............
3e5c0 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 70 .....(format."[%s](#%s)".descrip
3e5e0 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 72 tion.dest-link))))))))......((or
3e600 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 67 g-export-inline-image-p.link.org
3e620 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 20 -html-inline-image-rules).......
3e640 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 5d ;;.(message."[org-hugo-link.DBG]
3e660 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 0a .processing.an.image:.%s".desc).
3e680 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 74 ......(let*.((parent.(org-export
3e6a0 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 20 -get-parent.link))..............
3e6c0 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 70 (parent-type.(org-element-type.p
3e6e0 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 20 arent))..............;;.If.this.
3e700 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 61 is.a.hyper-linked.image,.it's.pa
3e720 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 62 rent.type.will..............;;.b
3e740 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 20 e.a.link.too..Get.the.parent.of.
3e760 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 20 *that*.link.in.that.............
3e780 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 61 .;;.case...............(grand-pa
3e7a0 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 6b rent.(when.(eq.parent-type.'link
3e7c0 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 )..............................(
3e7e0 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 0a org-export-get-parent.parent))).
3e800 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 20 .............(useful-parent.(if.
3e820 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 20 grand-parent....................
3e840 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 20 .............grand-parent.......
3e860 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 29 ........................parent))
3e880 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 2d ..............(attr.(org-export-
3e8a0 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 6c read-attribute.:attr_html.useful
3e8c0 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 20 -parent))..............(caption.
3e8e0 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 61 (or........................;;.Ca
3e900 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 20 ption.set.using.#+caption.takes.
3e920 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 20 higher.precedence...............
3e940 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......
3e960 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 64 ...................(org-export-d
3e980 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 67 ata..;Look.for.caption.set.using
3e9a0 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 20 .#+caption......................
3e9c0 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 67 ....(org-export-get-caption.(org
3e9e0 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 29 -export-get-parent-element.link)
3ea00 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 29 )..........................info)
3ea20 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 2d )........................(plist-
3ea40 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 20 get.attr.:caption)))............
3ea60 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 2d ..(caption.(when.(org-string-nw-
3ea80 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 20 p.caption)......................
3eaa0 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 20 ...(format."%s%s%s%s"...........
3eac0 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 61 ......................"<span.cla
3eae0 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 20 ss=\"figure-number\">"..........
3eb00 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 28 .......................(format.(
3eb20 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 20 org-html--translate.............
3eb40 20 20 20 20 20 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 .............................(co
3eb60 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 20 ncat............................
3eb80 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 75 ...............(cdr.(assoc.'figu
3eba0 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 2d re.org-blackfriday--org-element-
3ebc0 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 20 string))........................
3ebe0 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 20 ...................".%d:")......
3ec00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ec20 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 20 ....info).......................
3ec40 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 65 ..................(org-export-ge
3ec60 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 20 t-ordinal.......................
3ec80 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 74 ...................useful-parent
3eca0 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...........................
3ecc0 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 68 ...............nil.#'org-html--h
3ece0 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 20 as-caption-p))..................
3ed00 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 20 ...............".</span>".......
3ed20 20 20 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 6f ..........................captio
3ed40 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 69 n)))..............(extension.(fi
3ed60 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 20 le-name-extension.raw-path))....
3ed80 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 72 ..........(inlined-svg.(and.(str
3eda0 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 20 ingp.extension).................
3edc0 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 64 ...............(string=."svg".(d
3ede0 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 20 owncase.extension)).............
3ee00 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 74 ...................(plist-get.at
3ee20 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 73 tr.:inlined)))).........;;.(mess
3ee40 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 20 age."[org-hugo-link.DBG].Inline.
3ee60 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 61 image:.%s,.extension:.%s".raw-pa
3ee80 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 67 th.extension).........;;.(messag
3eea0 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 73 e."[org-hugo-link.DBG].inlined.s
3eec0 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 20 vg?.%S".inlined-svg).........;;.
3eee0 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 61 (message."[org-hugo-link.DBG].ca
3ef00 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 20 ption:.%s".caption).........(if.
3ef20 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 28 inlined-svg.............(let*.((
3ef40 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 20 svg-contents.(with-temp-buffer..
3ef60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ef80 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 68 ..(insert-file-contents.raw-path
3efa0 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 )...............................
3efc0 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 70 .....(fill-region.(point-min).(p
3efe0 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 20 oint-max)).;Make.huge.one-liner.
3f000 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 20 SVGs.sane.......................
3f020 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 6e .............(buffer-substring-n
3f040 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 2d o-properties.(point-min).(point-
3f060 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 2d max))))....................(svg-
3f080 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 65 contents-sanitized.(replace-rege
3f0a0 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 20 xp-in-string....................
3f0c0 20 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 6f .........................;;.Remo
3f0e0 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 20 ve.the.HTML.comments............
3f100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3f120 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 20 .."<!--\\(.\\|\n\\)*?-->".""....
3f140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3f160 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
3f180 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 20 ng..............................
3f1a0 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 6d ................;;.Remove.the.xm
3f1c0 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 65 l.document.tag.as.that.cannot.be
3f1e0 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 20 .inlined.in-between.............
3f200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3f220 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 29 .;;.a.Markdown.(or.even.an.HTML)
3f240 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 20 .file...........................
3f260 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 72 ...................."<\\?xml.ver
3f280 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 5c sion=\"1\\.0\".encoding=\"UTF-8\
3f2a0 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 20 ".standalone=\"no\"\\?>"."".....
3f2c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3f2e0 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 20 .........;;.Remove.!DOCTYPE.tag.
3f300 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 20 from.the.inlined.SVG............
3f320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3f340 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 20 ...(replace-regexp-in-string....
3f360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3f380 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 22 ..........."<!DOCTYPE.svg[^>]+>"
3f3a0 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 20 ."".............................
3f3c0 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 29 ..................svg-contents))
3f3e0 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 20 ))....................(svg-html.
3f400 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 20 (if.caption.....................
3f420 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 6e .............(format."<figure>\n
3f440 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 63 %s\n<figcaption>\n\n..%s\n</figc
3f460 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 20 aption>\n</figure>".............
3f480 20 20 20 20 20 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
3f4a0 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 20 -contents-sanitized.caption)....
3f4c0 20 20 20 20 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 2d ............................svg-
3f4e0 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 20 contents-sanitized)))...........
3f500 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.
3f520 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 65 DBG].svg.contents:.%s".svg-conte
3f540 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 22 nts)...............;;.(message."
3f560 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 73 [org-hugo-link.DBG].svg.contents
3f580 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 6e .sanitized:.%s".svg-contents-san
3f5a0 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 0a itized)...............svg-html).
3f5c0 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 6f ..........(let*.((path.(org-hugo
3f5e0 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 70 --attachment-rewrite-maybe.raw-p
3f600 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 6c ath.info))..................(inl
3f620 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 6c ine-image.(not.(org-html-standal
3f640 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 29 one-image-p.useful-parent.info))
3f660 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 6c )..................(source.(if.l
3f680 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 20 ink-is-url......................
3f6a0 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 20 ........(concat.type.":".path)..
3f6c0 20 20 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 29 ..........................path))
3f6e0 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 28 ..................(num-attr.(/.(
3f700 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 20 length.attr).2)).;(:alt.foo).->.
3f720 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 61 num-attr.=.1..................(a
3f740 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 0a lt-text.(plist-get.attr.:alt))).
3f760 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 75 ............;;.(message."[org-hu
3f780 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 20 go-link.DBG].path:.%s".path)....
3f7a0 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 2d .........;;.(message."[org-hugo-
3f7c0 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 69 link.DBG].inline.image?.%s".inli
3f7e0 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 67 ne-image).............;;.(messag
3f800 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 20 e."[org-hugo-link.DBG].attr:.%s.
3f820 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 20 num.of.attr:.%d".............;;.
3f840 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 20 .........attr.(length.attr))....
3f860 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 2d .........;;.(message."[org-hugo-
3f880 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 6e link.DBG].parent-type:.%s".paren
3f8a0 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 20 t-type).............;;.(message.
3f8c0 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 65 "[org-hugo-link.DBG].useful-pare
3f8e0 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 20 nt-type:.%s".............;;.....
3f900 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 61 .....(org-element-type.useful-pa
3f920 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 20 rent)).............(cond........
3f940 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 65 ......(;;.Use.the.Markdown.image
3f960 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 61 .syntax.if.the.image.is.inline.a
3f980 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 6f nd...............;;.there.are.no
3f9a0 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 20 .HTML.attributes.for.the.image,.
3f9c0 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 74 or.just.one...............;;.att
3f9e0 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 20 ribute,.the.`alt-text'..........
3fa00 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 20 ......(and.inline-image.........
3fa20 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 20 ...........(or.(=.0.num-attr)...
3fa40 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 65 .....................(and.alt-te
3fa60 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 28 xt.............................(
3fa80 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 28 =.1.num-attr))))...............(
3faa0 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 20 let.((alt-text.(if.alt-text.....
3fac0 20 20 20 20 20 20 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 6c ..............................al
3fae0 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 20 t-text..........................
3fb00 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 6f .......""))).................(fo
3fb20 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 65 rmat."![%s](%s)".alt-text.source
3fb40 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 65 )))..............(;;.Else.if.the
3fb60 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 74 .image.is.inline.(with.non-alt-t
3fb80 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 29 ext...............;;.attributes)
3fba0 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 20 ,.use.HTML.<img>.tag.syntax.....
3fbc0 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 20 ...........inline-image.........
3fbe0 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 20 ......;;.The."target".and."rel".
3fc00 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 61 attributes.would.be.meant.for.<a
3fc20 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 6e >...............;;.tags..So.do.n
3fc40 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 20 ot.pass.them.to.the.<img>.tag...
3fc60 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 61 .............(plist-put.attr.:ta
3fc80 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 70 rget.nil)...............(plist-p
3fca0 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 20 ut.attr.:rel.nil)...............
3fcc0 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 61 (org-html--format-image.source.a
3fce0 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 65 ttr.info))..............(t.;Else
3fd00 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 65 .use.the.Hugo.`figure'.shortcode
3fd20 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 27 ................;;.Hugo.`figure'
3fd40 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 20 .shortcode.named.parameters.....
3fd60 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 2f ...........;;.https://gohugo.io/
3fd80 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 66 content-management/shortcodes/#f
3fda0 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 72 igure...............(let.((figur
3fdc0 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 20 e-params.`((src...,source)......
3fde0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3fe00 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 20 (alt...,alt-text)...............
3fe20 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 20 .......................(caption.
3fe40 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 6f ..,(when.(org-string-nw-p.captio
3fe60 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 20 n)..............................
3fe80 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
3fea0 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 63 egexp-in-string."\""."\\\\\\&".c
3fec0 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 6f aption))).;Escape.the.double-quo
3fee0 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 20 tes,.if.any.....................
3ff00 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 73 ..................(link...,(plis
3ff20 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 20 t-get.attr.:link))..............
3ff40 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 2e ........................(title..
3ff60 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 20 .,(plist-get.attr.:title))......
3ff80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ffa0 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 73 (class...,(plist-get.attr.:class
3ffc0 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 ))..............................
3ffe0 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 72 ........(attr...,(plist-get.attr
40000 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 20 .:attr))........................
40020 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 73 ..............(attrlink...,(plis
40040 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 20 t-get.attr.:attrlink))..........
40060 20 20 20 20 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 64 ............................(wid
40080 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 20 th...,(plist-get.attr.:width))..
400a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
400c0 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 3a ....(height...,(plist-get.attr.:
400e0 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 20 height))........................
40100 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 67 ..............;;.While.the.`targ
40120 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 20 et'.and.`rel'...................
40140 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 73 ...................;;.attributes
40160 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 20 .are.not.supported.by...........
40180 20 20 20 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
401a0 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 20 e.inbuilt.Hugo.`figure'.........
401c0 20 20 20 20 20 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 .............................;;.
401e0 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 20 shortcode,.they.can.be.used.as..
40200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
40220 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 20 ....;;.intended.if.a.user.has.a.
40240 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 20 custom..........................
40260 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 64 ............;;.`figure'.shortcod
40280 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 20 e.with.the......................
402a0 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 64 ................;;.support.added
402c0 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 20 .for.those......................
402e0 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 69 .................(target...,(pli
40300 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 20 st-get.attr.:target))...........
40320 20 20 20 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 20 ...........................(rel.
40340 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 20 ..,(plist-get.attr.:rel)))).....
40360 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 74 ................(figure-param-st
40380 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 28 r."")).................(dolist.(
403a0 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 20 param.figure-params)............
403c0 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 0a .......(let.((name.(car.param)).
403e0 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 64 ........................(val.(cd
40400 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 28 r.param))).....................(
40420 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 28 when.val.......................(
40440 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 69 setq.figure-param-str.(concat.fi
40460 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 20 gure-param-str..................
40480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
404a0 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 20 ....(format."%s=\"%s\"."........
404c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
404e0 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 29 ......................name.val))
40500 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 65 )))).................;;.(message
40520 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 72 ."[org-hugo-link.DBG].figure.par
40540 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 20 ams:.%s".figure-param-str)......
40560 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 25 ...........(format."{{<.figure.%
40580 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 74 s.>}}".(org-trim.figure-param-st
405a0 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 22 r)))))))))......((string=.type."
405c0 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 65 coderef").......(let*.((ref-labe
405e0 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 69 l.(org-element-property.:path.li
40600 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 67 nk))..............(ref-info.(org
40620 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 2d -hugo-link--resolve-coderef.ref-
40640 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 20 label.info))..............(desc.
40660 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 2d (format.(org-export-get-coderef-
40680 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 20 format.ref-label.desc)..........
406a0 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 66 ..................(plist-get.ref
406c0 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 61 -info.:ref)))).........;;.(messa
406e0 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 20 ge."[org-hugo-link.DBG].coderef.
40700 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 20 ref.label:.%s".ref-label).......
40720 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
40740 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 67 G].coderef.ref.str:.%s".(plist-g
40760 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 6d et.ref-info.:ref)).........;;.(m
40780 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 65 essage."[org-hugo-link.DBG].code
407a0 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 65 ref.anchor.prefix:.%s".(plist-ge
407c0 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 20 t.ref-info.:anchor-prefix)).....
407e0 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.
40800 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 73 DBG].coderef.line.num:.%s".(plis
40820 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 20 t-get.ref-info.:line-num))......
40840 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
40860 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 20 BG].coderef.desc:.%s".desc).....
40880 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 20 ....(format."[%s](#%s-%s)"......
408a0 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 20 ...........desc.................
408c0 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 66 (plist-get.ref-info.:anchor-pref
408e0 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 72 ix).................(plist-get.r
40900 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 72 ef-info.:line-num))))......((str
40920 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 28 ing=.type."radio").......(let.((
40940 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 2d destination.(org-export-resolve-
40960 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 20 radio-link.link.info))).........
40980 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 20 (format."[%s](#%s%s)"...........
409a0 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 2d ......desc.................(org-
409c0 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 64 blackfriday--get-ref-prefix.'rad
409e0 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 72 io).................(org-blackfr
40a00 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 20 iday--valid-html-anchor-name....
40a20 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 65 ..............(org-element-prope
40a40 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 20 rty.:value.destination))))).....
40a60 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 6f .(t.;[[file:foo.png]],.[[file:fo
40a80 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 6f o.org::*.Heading]],.[[file:foo.o
40aa0 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 6c rg::#custom-id]],.link.type:.fil
40ac0 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 22 e.......(let*.((link-param-str."
40ae0 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 20 ")..............(path.(cond.....
40b00 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 20 ................(link-is-url....
40b20 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 20 ..................;;.Taken.from.
40b40 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 73 ox-html.el.--.Extract.attributes
40b60 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 61 ......................;;.from.pa
40b80 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 6f rent's.paragraph...HACK:.Only.do
40ba0 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 6f .this......................;;.fo
40bc0 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 65 r.the.first.link.in.parent.(inne
40be0 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 20 r.image.link....................
40c00 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 69 ..;;.for.inline.images)...This.i
40c20 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 20 s.needed.as.long.as.............
40c40 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 65 .........;;.attributes.cannot.be
40c60 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 20 .set.on.a.per.link.basis........
40c80 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 20 ...............(let*.((attr.....
40ca0 20 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.((
40cc0 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 6c parent.(org-export-get-parent-el
40ce0 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 20 ement.link)))...................
40d00 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 65 .............(and.(eq.(org-eleme
40d20 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 69 nt-map.parent.'link.#'identity.i
40d40 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 20 nfo.:first-match).link).........
40d60 20 20 20 20 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
40d80 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 6d -export-read-attribute.:attr_htm
40da0 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 20 l.parent))))....................
40dc0 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 6c .........;;.https://www.w3school
40de0 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 20 s.com/tags/tag_link.asp.........
40e00 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 73 ....................(link-params
40e20 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 69 .`((title...,(plist-get.attr.:ti
40e40 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 20 tle))...........................
40e60 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 73 .................(style...,(plis
40e80 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 20 t-get.attr.:style)).............
40ea0 20 20 20 20 20 20 20 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 ...............................(
40ec0 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 74 referrerpolicy...,(plist-get.att
40ee0 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 20 r.:referrerpolicy)).............
40f00 20 20 20 20 20 20 20 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 ...............................(
40f20 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 29 media...,(plist-get.attr.:media)
40f40 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 )...............................
40f60 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 67 .............(target...,(plist-g
40f80 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 20 et.attr.:target))...............
40fa0 20 20 20 20 20 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 .............................(re
40fc0 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 20 l...,(plist-get.attr.:rel)).....
40fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41000 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 72 .......(sizes...,(plist-get.attr
41020 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 20 .:sizes)).......................
41040 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 70 .....................(type...,(p
41060 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 20 list-get.attr.:type)))))........
41080 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 6c ................(dolist.(param.l
410a0 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 20 ink-params).....................
410c0 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 20 .....(let.((name.(car.param))...
410e0 20 20 20 20 20 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 .............................(va
41100 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 20 l.(cdr.param))).................
41120 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 20 ...........(when.val............
41140 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 72 ..................(setq.link-par
41160 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 20 am-str.(concat.link-param-str...
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 20 20 20 20 20 20 20 ................................
411a0 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.
411c0 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 20 "%s=\"%s\"."....................
411e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41200 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 20 ...............name.val))))))...
41220 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 65 .....................;;.(message
41240 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 6d ."[org-hugo-link.DBG].link.param
41260 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 20 s:.%s".link-param-str)..........
41280 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 20 ..............).................
412a0 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 29 .....(concat.type.":".raw-path))
412c0 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 20 .....................(;;.Remove.
412e0 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 20 the."file://".prefix............
41300 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 29 ...........(string=.type."file")
41320 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
41340 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 3a e."[org-hugo-link.DBG].raw-path:
41360 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 20 .%s".raw-path)..................
41380 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 78 ....(let*.((path1.(replace-regex
413a0 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 2d p-in-string."\\`file://"."".raw-
413c0 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 20 path))..........................
413e0 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 20 ...(path-lc.(downcase.path1)))..
41400 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 20 ......................(cond.....
41420 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 2c ....................(;;.foo.org,
41440 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 63 .foo.org::*.Heading,.foo.org::#c
41460 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 20 ustom_id........................
41480 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 74 ..(string=.".org".(file-name-ext
414a0 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 20 ension.path-lc."."))............
414c0 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 20 ..............(let.((ref."")....
414e0 20 20 20 20 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 63 ............................(anc
41500 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 20 hor.""))........................
41520 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 67 ....(if.(string-suffix-p.org-hug
41540 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 6c o--preprocessed-buffer-dummy-fil
41560 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 20 e-suffix.path-lc)...............
41580 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 20 .................(progn.........
415a0 20 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 72 .........................(setq.r
415c0 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 20 ef.(string-remove-suffix........
415e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41600 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 66 .....org-hugo--preprocessed-buff
41620 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 20 er-dummy-file-suffix............
41640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41660 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 29 .(file-name-nondirectory.path1))
41680 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 )...............................
416a0 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 74 ...;;.Dummy.Org.file.paths.creat
416c0 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 20 ed.in...........................
416e0 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 6f .......;;.`org-hugo--get-pre-pro
41700 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 20 cessed-buffer'..................
41720 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 67 ................;;.For.dummy.Org
41740 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 20 .file.paths,.we.are.............
41760 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 67 .....................;;.limiting
41780 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 20 .to.only."#".style.search.......
417a0 20 20 20 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 74 ...........................;;.st
417c0 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 20 rings...........................
417e0 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 5c ........(when.(string-match.".*\
41800 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 20 \.org::\\(#.*\\)".raw-link).....
41820 20 20 20 20 20 20 20 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 ...............................(
41840 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 6f setq.anchor.(match-string-no-pro
41860 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 20 perties.1.raw-link))))..........
41880 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 4f ....................;;.Regular.O
418a0 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 20 rg.file.paths...................
418c0 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 65 ............(setq.ref.(file-name
418e0 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 69 -sans-extension.(file-name-nondi
41900 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 20 rectory.path1)))................
41920 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 68 ..............(let.((link-search
41940 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 20 -str............................
41960 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 6f .........;;.If.raw-link.is."./fo
41980 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 20 o.org::#bar",...................
419a0 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 73 ..................;;.set.`link-s
419c0 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 20 earch-str'.to...................
419e0 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 20 ..................;;."#bar".....
41a00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41a20 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 3a .(when.(string-match.".*\\.org::
41a40 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 20 \\(.*\\)".raw-link).............
41a60 20 20 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 68 ..........................(match
41a80 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 6b -string-no-properties.1.raw-link
41aa0 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 20 ))))............................
41ac0 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.
41ae0 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 73 DBG].link-search-str:.%s".link-s
41b00 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 20 earch-str)......................
41b20 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 0a ..........(when.link-search-str.
41b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41b60 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 2d .(setq.anchor.(org-hugo--search-
41b80 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 61 and-get-anchor.raw-path.link-sea
41ba0 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 20 rch-str.info)))))...............
41bc0 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 68 .............;;.(message."[org-h
41be0 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 5d ugo-link.file.org::*Heading.DBG]
41c00 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 20 .ref....=.%s".ref)..............
41c20 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-
41c40 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
41c60 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 20 ].anchor.=.%s".anchor)..........
41c80 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 20 ..................(cond.........
41ca0 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 61 ....................;;.Link.to.a
41cc0 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 20 .post.subtree...In.this.case,...
41ce0 20 20 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 65 ..........................;;.the
41d00 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 73 ."anchor".is.actually.the.post's
41d20 0a 20 20 20 20 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 .............................;;.
41d40 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 20 slug............................
41d60 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 29 ..((and.(org-string-nw-p.anchor)
41d80 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 6f .(not.(string-prefix-p."#".ancho
41da0 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 20 r)))............................
41dc0 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 7d ..(format."{{<.relref.\"%s\".>}}
41de0 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 20 ".anchor))......................
41e00 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 62 .......;;.Link.to.a.non-post.sub
41e20 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 73 tree,.like.a.subheading.in.a.pos
41e40 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 28 t..............................(
41e60 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 73 (or.(org-string-nw-p.ref).(org-s
41e80 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 20 tring-nw-p.anchor)).............
41ea0 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 65 .................(format."{{<.re
41ec0 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 0a lref.\"%s%s\".>}}".ref.anchor)).
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 28 74 0a 20 ............................(t..
41f00 20 20 20 20 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 ............................""))
41f20 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 3b )).........................(t.;;
41f40 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 20 .attachments.like.foo.png.......
41f60 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 74 ...................(org-hugo--at
41f80 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 66 tachment-rewrite-maybe.path1.inf
41fa0 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 20 o))))).....................(t...
41fc0 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 20 ...................raw-path)))..
41fe0 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 67 ............(link-param-str.(org
42000 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 61 -string-nw-p.(org-trim.link-para
42020 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 5b m-str)))).........;;.(message."[
42040 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 3d org-hugo-link.DBG].desc=%s.path=
42060 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 61 %s".desc.path).........;;.(messa
42080 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 72 ge."[org-hugo-link.DBG].link-par
420a0 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 20 am-str=%s".link-param-str)......
420c0 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 69 ...(cond..........;;.Link.descri
420e0 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 75 ption.is.a.`figure'.shortcode.bu
42100 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 68 t.does.not..........;;.already.h
42120 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 20 ave.the.`link'.parameter.set....
42140 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 20 .......((and.desc...............
42160 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 67 .(string-match-p."\\`{{<\\s-*fig
42180 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 28 ure\\s-+".desc)................(
421a0 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 2a not.(string-match-p."\\`{{<\\s-*
421c0 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 20 figure\\s-+.*link=".desc))).....
421e0 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.
42200 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 20 "\\s-*>}}\\'"...................
42220 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 6b ..................(format.".link
42240 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 20 =\"%s\"\\&".path)...............
42260 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 20 ......................desc))....
42280 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 61 ......;;.Both.link.description.a
422a0 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 0a nd.link.attributes.are.present..
422c0 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 20 .........((and.desc.............
422e0 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 6f ...link-param-str)...........(fo
42300 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 0a rmat."<a.href=\"%s\".%s>%s</a>".
42320 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 6f ..................(org-html-enco
42340 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 20 de-plain-text.path).............
42360 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 20 ......link-param-str............
42380 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 29 .......(org-link-unescape.desc))
423a0 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 74 )..........;;.Only.link.descript
423c0 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 20 ion,.but.no.link.attributes.....
423e0 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 61 ......(desc...........(let*.((pa
42400 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 20 th-has-space.(and...............
42420 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 67 ....................(not.(string
42440 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 20 -prefix-p."{{<.relref.".path))..
42460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
42480 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 0a .(string-match-p."\\s-".path))).
424a0 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 2d .................(path.(if.path-
424c0 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 20 has-space.......................
424e0 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 68 .....;;.https://github.com/kaush
42500 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 20 almodi/ox-hugo/issues/376.......
42520 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 2f .....................;;.https://
42540 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 2f github.com/gohugoio/hugo/issues/
42560 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 20 6742#issuecomment-573924706.....
42580 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."
425a0 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 20 <%s>".path).....................
425c0 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 74 .....path))).............(format
425e0 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 20 ."[%s](%s)".desc.path)))........
42600 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 6e ..;;.Only.link.attributes,.but.n
42620 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 69 o.link.description...........(li
42640 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 61 nk-param-str...........(let.((pa
42660 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 70 th.(org-html-encode-plain-text.p
42680 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 68 ath))).............(format."<a.h
426a0 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 20 ref=\"%s\".%s>%s</a>"...........
426c0 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 20 ..........path..................
426e0 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 20 ...link-param-str...............
42700 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 65 ......;;.Below.trick.is.to.preve
42720 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 20 nt.Hugo.from....................
42740 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 69 .;;.auto-hyperlinking.the.link.i
42760 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 73 n.the.....................;;.des
42780 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 20 cription..Idea.from.............
427a0 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 77 ........;;.https://stackoverflow
427c0 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 20 .com/q/25706012/1219634.........
427e0 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-
42800 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 75 string.":"."&colon;".(org-link-u
42820 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 65 nescape.path)))))..........;;.Ne
42840 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 6b ither.link.description,.nor.link
42860 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 70 .attributes...........((string-p
42880 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 20 refix-p."{{<.relref.".path).....
428a0 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 61 ......(format."[%s](%s)".path.pa
428c0 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 20 th))..........((org-string-nw-p.
428e0 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 70 path)...........(format."<%s>".p
42900 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 29 ath))..........(t...........""))
42920 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 61 )))))..(defun.org-hugo-link--hea
42940 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 20 ding-anchor-maybe.(link.info)...
42960 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 6f "Return.anchor.of.the.heading.po
42980 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 69 inted.to.by.LINK...INFO.is.a.pli
429a0 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
429c0 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 3a el."...;;.(message."dbg.link.id:
429e0 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 68 .%S".(org-element-property.:path
42a00 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 64 .link))...(let*.((id-loc.(org-id
42a20 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 74 -find.(org-element-property.:pat
42a40 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 72 h.link)))..........(id-file.(car
42a60 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 20 .id-loc))..........(id-pos.(cdr.
42a80 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 65 id-loc))..........(id-buffer.(ge
42aa0 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 66 t-file-buffer.id-file))).;nil.if
42ac0 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 79 .`id-file'.buffer.is.not.already
42ae0 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 6f .open.....;;.(message."[org-hugo
42b00 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 5d -link--heading-anchor-maybe.DBG]
42b20 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 63 .id-loc:.%S".id-loc).....(with-c
42b40 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 6e urrent-buffer.(or.id-buffer.(fin
42b60 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 29 d-file-noselect.id-file.:nowarn)
42b80 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 20 ).......(unless.id-buffer.......
42ba0 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 64 ..(add-to-list.'org-hugo--opened
42bc0 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 20 -buffers.(current-buffer))).....
42be0 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 20 ..(org-export-get-environment)..
42c00 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 63 ......;Eval.#+bind.keywords,.etc
42c20 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 20 ........(goto-char.id-pos)......
42c40 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 20 .(org-hugo--get-anchor-at-point.
42c60 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 6f info))))..;;;;;.Helpers.(defun.o
42c80 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 69 rg-hugo--copy-resources-maybe.(i
42ca0 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 75 nfo)..."Copy.resources.to.the.bu
42cc0 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 20 ndle.directory.if.needed...INFO.
42ce0 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
42d00 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 6c on.channel."...(let*.((exportabl
42d20 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 73 es.org-hugo-external-file-extens
42d40 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 20 ions-allowed-for-copying).......
42d60 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 69 ...(bundle-dir.(and.(plist-get.i
42d80 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 20 nfo.:hugo-bundle)...............
42da0 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 64 ............(org-hugo--get-pub-d
42dc0 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 28 ir.info)))..........(resources.(
42de0 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
42e00 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 63 ts.(plist-get.info.:hugo-resourc
42e20 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 72 es)))).....(when.(and.bundle-dir
42e40 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 75 .resources).......(dolist.(resou
42e60 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 65 rce.resources).........(let.((ke
42e80 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 68 y.(car.resource)))...........(wh
42ea0 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 20 en.(equal.key.'src).............
42ec0 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 20 (let*.((val.(cdr.resource)).....
42ee0 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 78 ...............(sources.(file-ex
42f00 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 20 pand-wildcards.val)))...........
42f20 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 20 ....(dolist.(source.sources)....
42f40 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 69 .............(let.((src-path.(fi
42f60 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 20 le-truename.source)))...........
42f80 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 2d ........(when.(and.(file-exists-
42fa0 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 20 p.src-path).....................
42fc0 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 65 .........(member.(file-name-exte
42fe0 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 20 nsion.src-path).exportables))...
43000 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 70 ..................(let*.((dest-p
43020 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 0a ath.(concat.bundle-dir.source)).
43040 20 20 20 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 ...........................(dest
43060 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 64 -path-dir.(file-name-directory.d
43080 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 20 est-path))).....................
430a0 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 61 ..(unless.(file-exists-p.dest-pa
430c0 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 20 th-dir).........................
430e0 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 0a (mkdir.dest-path-dir.:parents)).
43100 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 6c ......................(when.(fil
43120 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 73 e-newer-than-file-p.src-path.des
43140 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 20 t-path).........................
43160 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 75 (message."[ox-hugo].Copied.resou
43180 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 68 rce.%S.to.%S".src-path.dest-path
431a0 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 2d ).........................(copy-
431c0 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 61 file.src-path.dest-path.:ok-if-a
431e0 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 66 lready-exists)))))))))))))..(def
43200 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 28 un.org-hugo--copy-ltximg-maybe.(
43220 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 78 info)..."Copy.`org-preview-latex
43240 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 20 -image-directory'.contents.into.
43260 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 69 site's.ltximg.directory...INFO.i
43280 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
432a0 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 73 n.channel."...(when.(file-exists
432c0 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 63 -p.org-preview-latex-image-direc
432e0 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 20 tory).....(let*.((hugo-base-dir.
43300 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 67 (file-name-as-directory.(plist-g
43320 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 20 et.info.:hugo-base-dir))).......
43340 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 72 .....(static-ltximg-dir.(file-tr
43360 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 20 uename..........................
43380 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 20 ......(file-name-as-directory...
433a0 20 20 20 20 20 20 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 ..............................(e
433c0 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 20 xpand-file-name.................
433e0 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 79 .................org-blackfriday
43400 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 20 --ltximg-directory..............
43420 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 65 ....................(expand-file
43440 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 29 -name."static".hugo-base-dir))))
43460 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 2d )).......(when.(file-newer-than-
43480 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 2d file-p..............org-preview-
434a0 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 78 latex-image-directory.static-ltx
434c0 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 79 img-dir).........(copy-directory
434e0 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 6f .org-preview-latex-image-directo
43500 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 20 ry.static-ltximg-dir............
43520 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 2d .............nil.:parents.:copy-
43540 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 2d contents).........(message."[ox-
43560 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 6f hugo].Copied.contents.of.%S.into
43580 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 65 .%S"..................org-previe
435a0 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 6c w-latex-image-directory.static-l
435c0 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 2d tximg-dir)))))..(defun.org-hugo-
435e0 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 20 -attachment-rewrite-maybe.(path.
43600 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 70 info)..."Copy.local.images.and.p
43620 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 6f dfs.to.the.static/bundle.directo
43640 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 69 ry.if.needed..Also.update.the.li
43660 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 69 nk.paths.to.match.those...PATH.i
43680 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 6f s.the.path.to.the.image.or.any.o
436a0 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 73 ther.attachment...INFO.is.a.plis
436c0 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
436e0 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 61 l."...;;.(message."[ox-hugo.atta
43700 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 3a chment.DBG].The.Hugo.section.is:
43720 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 69 .%s".(plist-get.info.:hugo-secti
43740 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 74 on))...;;.(message."[ox-hugo.att
43760 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 69 achment.DBG].The.Hugo.base.dir.i
43780 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 73 s:.%s".(plist-get.info.:hugo-bas
437a0 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 68 e-dir))...(let*.((pub-dir.(org-h
437c0 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 65 ugo--get-pub-dir.info)).;This.ne
437e0 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 20 eds.to.happen.first.so.that.the.
43800 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 2e check.for.HUGO_BASE_DIR.happens.
43820 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 6e ..........(hugo-base-dir.(file-n
43840 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 6f ame-as-directory.(plist-get.info
43860 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 74 .:hugo-base-dir)))..........(pat
43880 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 70 h-unhexified.(url-unhex-string.p
438a0 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 2d ath))..........(path-true.(file-
438c0 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 20 truename.path-unhexified))......
438e0 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 6e ....(exportables.org-hugo-extern
43900 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 63 al-file-extensions-allowed-for-c
43920 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 6e opying)..........(bundle-dir.(an
43940 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 20 d.(plist-get.info.:hugo-bundle).
43960 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 20 pub-dir))..........(bundle-name.
43980 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 20 (when.bundle-dir................
439a0 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 69 .........(let*.((content-dir.(fi
439c0 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 20 le-truename.....................
439e0 20 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 .........................(file-n
43a00 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 20 ame-as-directory................
43a20 20 20 20 20 20 20 20 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 ...............................(
43a40 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 6e expand-file-name.org-hugo-conten
43a60 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 20 t-folder.hugo-base-dir))))......
43a80 20 20 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 6f ..........................(is-ho
43aa0 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 65 me-branch-bundle.(string=.bundle
43ac0 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 20 -dir.content-dir))).............
43ae0 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 20 ..............(cond.............
43b00 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 62 ...............(is-home-branch-b
43b20 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 20 undle...........................
43b40 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 20 .."_home")......................
43b60 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 72 ......(t.;`bundle-dir'="/foo/bar
43b80 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 20 /".->.`bundle-name'="bar".......
43ba0 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 65 ......................(file-name
43bc0 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 6c -base.(directory-file-name.bundl
43be0 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 69 e-dir)))))))..........(static-di
43c00 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 20 r.(file-truename................
43c20 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..
43c40 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 69 ......................(expand-fi
43c60 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 29 le-name."static".hugo-base-dir))
43c80 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 65 ))..........(dest-dir.(or.bundle
43ca0 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 0a -dir.static-dir))..........ret).
43cc0 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 74 ....(unless.(file-directory-p.st
43ce0 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 65 atic-dir).......(user-error."Ple
43d00 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 61 ase.create.the.%s.directory".sta
43d20 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 68 tic-dir)).....;;.(message."[ox-h
43d40 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 70 ugo.DBG.attch.rewrite].Image.exp
43d60 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 20 ort.dir.is:.%s".static-dir).....
43d80 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.
43da0 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 20 rewrite].path:.%s".path).....;;.
43dc0 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 77 (message."[ox-hugo.DBG.attch.rew
43de0 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 0a rite].path-true:.%s".path-true).
43e00 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
43e20 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 6e tch.rewrite].bundle-dir:.%s".bun
43e40 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 75 dle-dir).....;;.(message."[ox-hu
43e60 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 6d go.DBG.attch.rewrite].bundle-nam
43e80 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 73 e:.%s".bundle-name).....;;.(mess
43ea0 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 5d age."[ox-hugo.DBG.attch.rewrite]
43ec0 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 74 .default-dir:.%s".default-direct
43ee0 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 44 ory).....;;.(message."[ox-hugo.D
43f00 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 20 BG.attch.rewrite].dest-dir:.%s".
43f20 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 69 dest-dir).....(if.(and.(file-exi
43f40 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 6d sts-p.path-true)..............(m
43f60 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 2d ember.(file-name-extension.path-
43f80 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 20 unhexified).exportables)........
43fa0 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 72 ......(file-directory-p.dest-dir
43fc0 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 43 )).........(progn...........;;.C
43fe0 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 69 heck.if.`path-true'.is.already.i
44000 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 20 nside.`dest-dir'............(if.
44020 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 74 (string-match.(regexp-quote.dest
44040 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 28 -dir).path-true)...............(
44060 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 20 progn.................;;.If.so,.
44080 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 69 return.*only*.the.path.consideri
440a0 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 6e ng.the.................;;.destin
440c0 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 20 ation.directory.as.root.........
440e0 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 28 .........(setq.ret.(concat."/".(
44100 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 30 substring.path-true.(match-end.0
44120 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 6e ))))).............(let*.((file-n
44140 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 20 ame-relative-path...............
44160 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 20 ......(cond.....................
44180 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 2d .((string-match."/static/".path-
441a0 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 60 true).......................;;.`
441c0 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 62 path-true'.is."/foo/static/bar/b
441e0 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 3b az.png",.......................;
44200 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 20 ;.return."bar/baz.png"..........
44220 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 68 ..............;;.(message."[ox-h
44240 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 74 ugo.DBG.attch.rewrite].path.cont
44260 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 20 ains.static")...................
44280 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 73 ....;;.If.path-true.contains."/s
442a0 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 20 tatic/",.set.the................
442c0 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 2d .......;;.`dest-dir'.to.`static-
442e0 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 20 dir'.(even.if.this.is.a.........
44300 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 20 ..............;;.page.bundle)...
44320 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 2d .....................(setq.dest-
44340 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 20 dir.static-dir).................
44360 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
44380 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)))......................
443a0 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 20 (bundle-dir.....................
443c0 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 28 ..(cond........................(
443e0 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 78 (string-match.(concat."/".(regex
44400 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 74 p-quote.bundle-name)."/").path-t
44420 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 20 rue).........................;;.
44440 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 2d This.is.a.page.bundle...`bundle-
44460 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 20 name'.is........................
44480 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 27 .;;."<BUNDLE_NAME>",.`path-true'
444a0 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 22 .is.........................;;."
444c0 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 3e <ORG_FILE_DIR>/bar/<BUNDLE_NAME>
444e0 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 20 /zoo/baz.png",..................
44500 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 0a .......;;.return."zoo/baz.png"..
44520 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 73 ........................;;.(mess
44540 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 20 age."[ox-hugo.DBG.attch.rewrite.
44560 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 6c BUNDLE.1].bundle-name:.%s".bundl
44580 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 20 e-name).........................
445a0 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.
445c0 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 69 rewrite.BUNDLE.1].attch.along.wi
445e0 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 20 th.Org.content:.%s".............
44600 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 69 ............;;..........(substri
44620 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 20 ng.path-true.(match-end.0)))....
44640 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 20 .....................(substring.
44660 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 20 path-true.(match-end.0))).......
44680 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 20 .................((string-match.
446a0 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 29 (regexp-quote.default-directory)
446c0 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 20 .path-true).....................
446e0 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 60 ....;;.This.is.a.page.bundle...`
44700 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 20 default-path'.is................
44720 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 60 .........;;."<ORG_FILE_DIR>/",.`
44740 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 20 path-true'.is...................
44760 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 7a ......;;."<ORG_FILE_DIR>/bar/baz
44780 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 20 .png",.return...................
447a0 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 20 ......;;."bar/baz.png"..........
447c0 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
447e0 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 32 -hugo.DBG.attch.rewrite.BUNDLE.2
44800 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 20 ].attch.along.with.Org.content:.
44820 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 20 %s".........................;;..
44840 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 61 ........(substring.path-true.(ma
44860 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 20 tch-end.0)))....................
44880 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 68 .....(substring.path-true.(match
448a0 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 20 -end.0))).......................
448c0 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 54 .(t.........................;;.T
448e0 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 2d his.is.a.page.bundle...`default-
44900 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 20 path'.is........................
44920 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 75 .;;."<ORG_FILE_DIR>/",.`path-tru
44940 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 3b e'.is.........................;;
44960 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 7a ."/foo/bar/baz.png",.return."baz
44980 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 3b .png"..........................;
449a0 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 72 ;.(message."[ox-hugo.DBG.attch.r
449c0 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 69 ewrite.BUNDLE.3].attch.neither.i
449e0 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 20 n.static.nor.in.Org.file.dir")..
44a00 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
44a20 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 29 e-nondirectory.path-unhexified))
44a40 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 20 ))......................(t......
44a60 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 2d .................;;.Else,.`path-
44a80 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 20 true'.is."/foo/bar/baz.png",....
44aa0 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 78 ...................;;.return."ox
44ac0 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 68 -hugo/baz.png"..."ox-hugo".is.th
44ae0 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 75 e.......................;;.defau
44b00 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 20 lt.value.of.....................
44b20 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 75 ..;;.`org-hugo-default-static-su
44b40 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 20 bdirectory-for-externals'.......
44b60 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
44b80 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 65 x-hugo.DBG.attch.rewrite].neithe
44ba0 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 20 r.BUNDLE.nor.contains.static")..
44bc0 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 20 .....................(concat....
44be0 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 61 ....................(file-name-a
44c00 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 61 s-directory.org-hugo-default-sta
44c20 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 0a tic-subdirectory-for-externals).
44c40 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
44c60 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 29 e-nondirectory.path-unhexified))
44c80 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 74 )))....................(dest-pat
44ca0 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 6c h.(concat.dest-dir.file-name-rel
44cc0 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 20 ative-path))....................
44ce0 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 74 (dest-path-dir.(file-name-direct
44d00 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 3b ory.dest-path)))...............;
44d20 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 65 ;.The.`dest-dir'.would.already.e
44d40 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 60 xist...But.if...............;;.`
44d60 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 61 file-name-relative-path'.is."ima
44d80 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 20 ges/image.png".or...............
44da0 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 68 ;;."foo/bar.txt",.it's.likely.th
44dc0 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 20 at."`dest-dir'/images"..........
44de0 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 68 .....;;.or."`dest-dir'/foo".migh
44e00 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 20 t.not.exist...So.create.those...
44e20 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 0a ............;;.if.needed.below..
44e40 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 73 ..............(unless.(file-exis
44e60 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 20 ts-p.dest-path-dir).............
44e80 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 74 ....(mkdir.dest-path-dir.:parent
44ea0 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 5b s))...............;;.(message."[
44ec0 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 2d ox-hugo.DBG.attch.rewrite].file-
44ee0 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 6d name-relative-path:.%s".file-nam
44f00 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 3b e-relative-path)...............;
44f20 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 72 ;.(message."[ox-hugo.DBG.attch.r
44f40 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 68 ewrite].dest-path:.%s".dest-path
44f60 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 78 )...............;;.(message."[ox
44f80 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 61 -hugo.DBG.attch.rewrite].dest-pa
44fa0 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 20 th-dir:.%s".dest-path-dir)......
44fc0 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 66 ..........;;.Do.the.copy.only.if
44fe0 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 20 .the.file.to.be.copied.is.newer.
45000 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 73 or...............;;.doesn't.exis
45020 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 20 t.in.the.static.dir.............
45040 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 70 ...(when.(file-newer-than-file-p
45060 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 20 .path-true.dest-path)...........
45080 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 64 ......(message."[ox-hugo].Copied
450a0 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 0a .%S.to.%S".path-true.dest-path).
450c0 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 2d ................(copy-file.path-
450e0 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 78 true.dest-path.:ok-if-already-ex
45100 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 28 ists))...............(setq.ret.(
45120 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 20 if.(and.bundle-dir..............
45140 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 6e ....................(string=.bun
45160 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 20 dle-dir.dest-dir))..............
45180 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 73 ...............;;.If.attachments
451a0 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 20 .are.copied.to.the.bundle.......
451c0 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 6f ......................;;.directo
451e0 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 22 ry,.don't.prefix.the.path.as."/"
45200 0a 20 20 20 20 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 .............................;;.
45220 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 68 as.those.paths.won't.exist.at.th
45240 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 20 e.site..........................
45260 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 20 ...;;.base.URL..................
45280 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 70 ............file-name-relative-p
452a0 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 63 ath...........................(c
452c0 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 74 oncat."/".file-name-relative-pat
452e0 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 20 h)))))).......(setq.ret.path))..
45300 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 74 ...;;.(message."[ox-hugo.DBG.att
45320 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 72 ch.rewrite].returned.path:.%s".r
45340 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 64 et).....ret))..;;;;.Paragraph.(d
45360 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 73 efun.org-hugo-paragraph--process
45380 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 66 -content.(paragraph.contents.inf
453a0 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 72 o)..."Process.the.content.of.par
453c0 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 61 agraphs...-.Prevent.unwanted.spa
453e0 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 73 ces.when.joining.Chinese/Japanes
45400 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 70 e.lines..-.Join.all.lines.in.a.p
45420 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 20 aragraph.into.a.single.line.if..
45440 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 20 .`:hugo-preserve-filling'.plist.
45460 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 5c property.is.nil..-.Add.\"&nbsp;\
45480 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 6e ".HTML.entity.before.footnote.an
454a0 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 27 chors.so.that.the...anchors.won'
454c0 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 73 t.be.on.a.separate.line.by.thems
454e0 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 4e elves...Return.the.processed.CON
45500 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 20 TENTS.string.from.the.PARAGRAPH.
45520 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 73 element..INFO.is.a.plist.used.as
45540 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 65 .a.communication.channel."...(le
45560 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 63 t.((ret.contents)).....;;.Join.c
45580 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 6e onsecutive.Chinese,.Japanese.lin
455a0 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 6e es.into.a.single.long.....;;.lin
455c0 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 65 e.without.unwanted.space.inbetwe
455e0 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 6a en......(when.(org-hugo--lang-cj
45600 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 73 k-p.info).......;;.https://emacs
45620 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 6d -china.org/t/ox-hugo-auto-fill-m
45640 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 61 ode-markdown/9547/5.......;;.Exa
45660 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 20 mple:........................->.
45680 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 20 .........................("This.
456a0 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 20 is.a.test.text").......;;.......
456c0 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 61 ................(setq.ret.(repla
456e0 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.............
45700 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 6c ....."\\([[:multibyte:]]\\)[[:bl
45720 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 69 ank:]]*\n[[:blank:]]*\\([[:multi
45740 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 20 byte:]]\\)"."\\1\\2"............
45760 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 5b ......ret)).......;;.(message."[
45780 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 74 org-hugo-paragraph--process-cont
457a0 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 74 ent.DBG].contents.1:.%s".content
457c0 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 74 s).......)......;;.Join.all.cont
457e0 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 64 ent.into.a.single.line.(followed
45800 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 70 .by.a.newline).....;;.if.:hugo-p
45820 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 6c reserve-filling.is.nil......(unl
45840 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 20 ess.(org-hugo--plist-get-true-p.
45860 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 20 info.:hugo-preserve-filling)....
45880 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 20 ...(setq.ret.(concat.(mapconcat.
458a0 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 22 'identity.(split-string.ret)."."
458c0 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 73 )."\n")))......;;.Special.proces
458e0 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 65 sing.for.footnotes......(setq.re
45900 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 20 t.(replace-regexp-in-string.....
45920 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 20 ...........;;.Glue.footnotes.to.
45940 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 73 the.words.before.them.using.&nbs
45960 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 65 p;................;;.so.that.the
45980 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 64 .footnote.reference.does.not.end
459a0 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 6c .up.on.a................;;.new.l
459c0 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 3b ine.by.itself.................;;
459e0 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 62 ."something.FN".->."something&nb
45a00 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 3a sp;FN"................"[[:blank:
45a20 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 3b ]]+\\(\\[\\^[^]]+\\]\\)"."&nbsp;
45a40 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 67 \\1"................(replace-reg
45a60 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 3b exp-in-string.................;;
45a80 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 20 ."FN..".->."FN."................
45aa0 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 5d ."\\(\\[\\^[^]]+\\]\\)[[:blank:]
45ac0 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 20 ]*\\([.]+\\)"."\\1\\2"..........
45ae0 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 79 .......ret)))......;;.Escape.any
45b00 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 69 .lines.starting.with.`#'.which.i
45b20 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 73 s.the.markup.for.....;;.headings
45b40 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 67 .in.Markdown......(setq.ret.(org
45b60 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 6f -md-paragraph.paragraph.ret.info
45b80 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 70 ))......;;.(message."[org-hugo-p
45ba0 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 63 aragraph--process-content.DBG].c
45bc0 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 74 ontents.2:.%s".contents).....ret
45be0 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 70 ))..(defun.org-hugo-paragraph.(p
45c00 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 73 aragraph.contents.info)..."Trans
45c20 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 6f code.PARAGRAPH.element.into.Hugo
45c40 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 68 .Markdown.format..CONTENTS.is.th
45c60 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 61 e.paragraph.contents...INFO.is.a
45c80 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 63 .plist.used.as.a.communication.c
45ca0 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 65 hannel."...(let*.((parent.(org-e
45cc0 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 20 xport-get-parent.paragraph))....
45ce0 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 2d ......(parent-type.(org-element-
45d00 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 20 type.parent)))......;;.(message.
45d20 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 69 "[ox-hugo-para.DBG].standalone.i
45d40 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 20 mage?.%s\ncontents:.%s".....;;..
45d60 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 61 ........(org-html-standalone-ima
45d80 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 20 ge-p.paragraph.info).....;;.....
45da0 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 3b .....contents)......(cond......;
45dc0 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 73 ;.First.paragraph.in.an.item.has
45de0 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 3b .no.tag.if.it.is.alone.or......;
45e00 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 69 ;.followed,.at.most,.by.a.sub-li
45e20 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 20 st..(Below.condition.is.taken...
45e40 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 67 ...;;.as-is.from.`org-html-parag
45e60 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 79 raph').......((and.(eq.parent-ty
45e80 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 65 pe.'item)............(not.(org-e
45ea0 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 67 xport-get-previous-element.parag
45ec0 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 6f raph.info))............(let.((fo
45ee0 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 65 llowers.(org-export-get-next-ele
45f00 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 20 ment.paragraph.info.2)))........
45f20 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 29 ......(and.(not.(cdr.followers))
45f40 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 6c ...................(memq.(org-el
45f60 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 69 ement-type.(car.followers)).'(ni
45f80 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 67 l.plain-list))))).......(org-hug
45fa0 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 72 o-paragraph--process-content.par
45fc0 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 20 agraph.contents.info)).......;;.
45fe0 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 6d Standalone.image.......((org-htm
46000 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 69 l-standalone-image-p.paragraph.i
46020 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 72 nfo).......(let.((figure-ref.(or
46040 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 72 g-blackfriday--get-reference.par
46060 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 20 agraph)).............label).....
46080 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 72 ....(when.(org-string-nw-p.figur
460a0 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 65 e-ref)...........(setq.figure-re
460c0 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 20 f.(replace-regexp-in-string.....
460e0 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 2d ........................"\\`org-
46100 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 20 paragraph--"....................
46120 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 72 .........(org-blackfriday--get-r
46140 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 20 ef-prefix.'figure)..............
46160 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 20 ...............figure-ref)))....
46180 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 0a .....(setq.label.(if.figure-ref.
461a0 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.
461c0 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 72 "<a.id=\"%s\"></a>\n\n".figure-r
461e0 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 20 ef).......................""))..
46200 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 29 .......(concat.label.contents)))
46220 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 20 .......;;.Normal.paragraph......
46240 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 61 .(t.......(let.((label.(let.((pa
46260 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 72 ragraph-ref.(and.(org-element-pr
46280 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 20 operty.:name.paragraph).........
462a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
462c0 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 70 .....(org-export-get-reference.p
462e0 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 20 aragraph.info))))...............
46300 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 20 .......(if.paragraph-ref........
46320 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 64 ..................(format."<a.id
46340 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 29 =\"%s\"></a>\n\n".paragraph-ref)
46360 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 0a ........................""))))..
46380 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 69 ........;;.Wrap.the.paragraph.wi
463a0 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 66 th.HTML.div.tag.with.user-specif
463c0 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 20 ied.........;;.attributes.......
463e0 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 61 ...(org-blackfriday--div-wrap-ma
46400 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 20 ybe..........paragraph..........
46420 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 28 (concat.label..................(
46440 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 74 org-hugo-paragraph--process-cont
46460 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 20 ent.paragraph.contents.info))...
46480 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 42 .......info))))))..;;;;.Source.B
464a0 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 20 locks.(defun.org-hugo-src-block.
464c0 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 6f (src-block._contents.info)..."Co
464e0 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 2d nvert.SRC-BLOCK.element.to.Hugo-
46500 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 6f compatible.Markdown...The.Markdo
46520 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 20 wn.style.triple-backquoted.code.
46540 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 48 blocks.are.created.if:...-.The.H
46560 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 74 UGO_CODE_FENCE.property.is.set.t
46580 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 2c o.a.non-nil.value.....(default),
465a0 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 5c ...-.*AND*.the.Hugo.\"highlight\
465c0 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 20 ".shortcode.is.not.needed.(see..
465e0 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 73 ...below)...Hugo.v0.60.0.onwards
46600 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 63 ,.the.`markup.highlight.codeFenc
46620 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 65 es'.(new.name.for.the.old.`pygme
46640 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 20 ntsCodeFences').config.variable.
46660 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 67 defaults.to.true...See.the.\"Hig
46680 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 69 hlighting.in.Code.Fences\".secti
466a0 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 2d on.on.https://gohugo.io/content-
466c0 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 0a management/syntax-highlighting..
466e0 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 64 Attributes.like.highlighting.cod
46700 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 70 e,.\"linenos\",.etc..are.now.sup
46720 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 4f ported.with.code.fences.too...CO
46740 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 20 NTENTS.is.nil...INFO.is.a.plist.
46760 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 2e used.as.a.communication.channel.
46780 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 20 ..---.When.is.the.\"highlight\".
467a0 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 64 shortcode.needed?.---..It's.need
467c0 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 72 ed.only.in.Blackfriday.mode.(`or
467e0 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 66 g-hugo-goldmark'.is.nil),.and.if
46800 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 20 .any.of.these.is.true:...-.Code.
46820 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 65 blocks.with.line.numbers.(if.the
46840 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 48 .-n.or.+n.switch.is.used)....-.H
46860 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 63 ighlight.certains.lines.in.the.c
46880 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 20 ode.block.(if.the.:hl_lines.....
468a0 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 20 parameter.is.used)....-.Set.the.
468c0 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 20 `linenos'.argument.to.the.value.
468e0 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 73 passed.by.:linenos.....(defaults
46900 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 73 .to.`true')....-.Coderefs.are.us
46920 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 69 ed...Note:.If.using.a.Hugo.versi
46940 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 0a on.older.than.v0.60.0,.the.user.
46960 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 65 *needs*.to.set.the.`pygmentsCode
46980 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 68 Fences'.variable.to.`true'.in.th
469a0 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 2a eir.Hugo.site's.config."...(let*
469c0 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 6c .((lang.(org-element-property.:l
469e0 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 61 anguage.src-block))..........(pa
46a00 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 72 rameters-str.(org-element-proper
46a20 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 20 ty.:parameters.src-block))......
46a40 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 65 ....(parameters.(org-babel-parse
46a60 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 72 -header-arguments.parameters-str
46a80 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 61 ))..........(is-fm-extra.(cdr.(a
46aa0 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 74 ssoc.:front_matter_extra.paramet
46ac0 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 6f ers)))).....;;.(message."ox-hugo
46ae0 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 3b .src.[dbg].lang:.%S".lang).....;
46b00 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 61 ;.(message."ox-hugo.src.[dbg].pa
46b20 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 3b rameters:.%S".parameters).....;;
46b40 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 2d .(message."ox-hugo.src.[dbg].is-
46b60 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 20 fm-extra:.%S".is-fm-extra)......
46b80 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 64 ;;.Extra.front.matter......(cond
46ba0 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 20 ......((and.is-fm-extra.........
46bc0 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 29 ...(member.lang.'("toml"."yaml")
46be0 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 74 )).......(let.((fm-format.(plist
46c00 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 72 -get.info.:hugo-front-matter-for
46c20 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 73 mat))).........;;.The.fm-extra.s
46c40 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 6f rc.block.lang.and.user-set.fm-fo
46c60 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 73 rmat.have.to.........;;.be.the.s
46c80 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 6f ame...Else..that.src.block.is.co
46ca0 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 65 mpletely.discarded..........(whe
46cc0 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 20 n.(string=.lang.fm-format)......
46ce0 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 74 .....(let.((fm-extra.(org-export
46d00 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 69 -format-code-default.src-block.i
46d20 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 22 nfo))).............;;.(message."
46d40 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 20 ox-hugo.src.[dbg].fm-extra:.%S".
46d60 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 74 fm-extra).............(plist-put
46d80 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 20 .info.:fm-extra.fm-extra))).....
46da0 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 74 ....;;.Do.not.export.the.`:front
46dc0 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 0a _matter_extra'.TOML/YAML.source.
46de0 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 6f ........;;.blocks.in.Markdown.bo
46e00 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 6c dy..........nil)).......;;.Regul
46e20 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 74 ar.src.block.......(t.......(let
46e40 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 6b *.(;;.See.`org-element-src-block
46e60 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 65 -parser'.for.all.SRC-BLOCK.prope
46e80 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 20 rties...............(line-num-p.
46ea0 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 69 (org-element-property.:number-li
46ec0 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 6f nes.src-block)).;Non-nil.if.-n.o
46ee0 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 20 r.+n.switch.is.used.............
46f00 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 20 .(linenos-style.(or.(cdr.(assoc.
46f20 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 20 :linenos.parameters))...........
46f40 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 67 ......................;;.If.`org
46f60 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 0a -hugo-src-block'.is.called.from.
46f80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
46fa0 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 20 ;;.`org-hugo-example-block'.....
46fc0 20 20 20 20 20 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
46fe0 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 6c g-element-property.:linenos-styl
47000 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 43 e.src-block)))..............;;.C
47020 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 66 onvert.`hl-lines'.to.string...If
47040 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 20 .it's.not.a.number,.............
47060 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 69 .;;.it's.already.a.string,.or.ni
47080 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 20 l...............(hl-lines.(let*.
470a0 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 6c ((hl-lines-param.(cdr.(assoc.:hl
470c0 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 20 _lines.parameters))))...........
470e0 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 68 ...............;;.(message."ox-h
47100 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 53 ugo.src.[dbg].hl-lines-param:.%S
47120 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 20 ".hl-lines-param)...............
47140 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 73 ...........(if.(numberp.hl-lines
47160 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).........................
47180 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 2d .....(number-to-string.hl-lines-
471a0 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 20 param)..........................
471c0 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 20 ..hl-lines-param))).............
471e0 20 28 73 79 6e 74 61 78 2d 73 74 79 6c 65 20 28 63 64 72 20 28 61 73 73 6f 63 20 3a 73 79 6e 74 .(syntax-style.(cdr.(assoc.:synt
47200 61 78 2d 73 74 79 6c 65 20 70 61 72 61 6d 65 74 65 72 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 ax-style.parameters)))..........
47220 20 20 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 ....(code-refs-and-anchor.(org-h
47240 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 73 ugo--get-coderef-anchor-prefix.s
47260 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 63 6f 64 65 2d 72 65 rc-block))..............(code-re
47280 66 73 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 fs.(let.((code-refs1.(car.code-r
472a0 65 66 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 efs-and-anchor)))...............
472c0 20 20 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 ............(when.code-refs1....
472e0 20 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 6c .........................(setq.l
47300 69 6e 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 ine-num-p.t))...................
47320 20 20 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 ........code-refs1))............
47340 20 20 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 ..(goldmarkp.(org-hugo--plist-ge
47360 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 0a 20 t-true-p.info.:hugo-goldmark))..
47380 20 20 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 ............;;.Use.the.`highligh
473a0 74 27 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 t'.shortcode.only.if............
473c0 20 20 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 .....(use-highlight-sc.(or.;;.HU
473e0 47 4f 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 GO_CODE_FENCE.is.nil,.or........
47400 20 20 20 20 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 ............................(nul
47420 6c 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 6e l.(org-hugo--plist-get-true-p.in
47440 66 6f 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 fo.:hugo-code-fence))...........
47460 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 22 42 6c 61 63 6b 66 ......................;;."Blackf
47480 72 69 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 riday.mode".is.enabled.and.line.
474a0 6e 75 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 numbering.......................
474c0 20 20 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 ..........;;.,.highlighting.or.c
474e0 6f 64 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 ode.refs.are.needed.............
47500 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 6f 72 20 6c 69 .....................(and.(or.li
47520 6e 65 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 ne-num-p.hl-lines.linenos-style.
47540 63 6f 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 code-refs)......................
47560 20 20 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 ................(not.goldmarkp))
47580 29 29 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 ))..............(hl-lines.(when.
475a0 28 73 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 (stringp.hl-lines)..............
475c0 20 20 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 ............(if.use-highlight-sc
475e0 0a 20 20 20 20 20 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 ..............................(p
47600 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 20 rogn............................
47620 20 20 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 ....;;.Syntax.of.hl_lines.in.`hi
47640 67 68 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 ghlight'.shortcode:.............
47660 20 20 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 ...................;;...{{<.high
47680 6c 69 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 light.emacs-lisp."hl_lines=1.3-5
476a0 22 20 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 ".>}}...........................
476c0 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 6e ........(replace-regexp-in-strin
476e0 67 20 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 g.",".".".hl-lines)).;"1,3-5".->
47700 20 22 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 ."1.3-5"........................
47720 20 20 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 ....;;.Fenced.code.blocks.......
47740 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 79 6e 74 61 78 20 6f .....................;;.Syntax.o
47760 66 20 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 f.hl_lines.in.fenced.code.attrib
47780 75 74 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 utes:...........................
477a0 20 3b 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 .;;...```emacs-lisp.{.hl_lines=[
477c0 22 31 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 "1","3-5"].}....................
477e0 20 20 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 ...........(format."[%s]".......
47800 20 20 20 20 20 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
47820 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 20 20 20 pconcat.........................
47840 20 20 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 ............(lambda(el).(format.
47860 22 25 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 "%S".el)).......................
47880 20 20 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 ..............(split-string.hl-l
478a0 69 6e 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 ines.",").","))))).;"1,3-5".->."
478c0 5b 5c 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 [\"1\",\"3-5\"]"..............(s
478e0 72 63 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 rc-ref.(org-blackfriday--get-ref
47900 65 72 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 erence.src-block))..............
47920 28 73 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 (src-anchor.(if.src-ref.........
47940 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
47960 20 69 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 .id=\"%s\"></a>\n".src-ref).....
47980 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 20 20 ......................."")).....
479a0 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
479c0 74 2d 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 t-caption.src-block))...........
479e0 20 20 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 ...(caption-html.(if.(not.captio
47a00 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 20 n)..............................
47a20 20 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 ..""............................
47a40 20 20 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 ..(let*.((src-block-num.(org-exp
47a60 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.................
47a80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47aa0 20 20 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 ....src-block.info..............
47ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47ae0 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 61 70 74 69 .......nil.#'org-html--has-capti
47b00 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 20 20 20 20 20 20 on-p))..........................
47b20 20 20 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 ...........(caption-prefix.(org-
47b40 62 6c 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 blackfriday--translate.'src-bloc
47b60 6b 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 20 20 20 20 k.info))........................
47b80 20 20 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 .............(caption-str.......
47ba0 20 20 20 20 20 20 20 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 ...............................(
47bc0 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 74 72 69 6e 67 73 org-html-convert-special-strings
47be0 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 73 68 2c 20 65 74 .;Interpret.em-dash,.en-dash,.et
47c00 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 20 20 20 20 20 20 c...............................
47c20 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 68 2d 62 .........(org-export-data-with-b
47c40 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 0a 20 20 ackend.caption.'html.info))))...
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 28 66 6f .............................(fo
47c80 72 6d 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 rmat.(concat."\n<div.class=\"src
47ca0 2d 62 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 -block-caption\">\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 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 ...."..<span.class=\"src-block-n
47d00 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 20 umber\">%s:</span>\n"...........
47d20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47d40 20 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 ....."..%s\n"...................
47d60 20 20 20 20 20 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 ............................."</
47d80 64 69 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 div>")..........................
47da0 20 20 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 ..............(if.src-ref.;Hyper
47dc0 6c 69 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 link.the.code.snippet.prefix.+.n
47de0 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 20 20 20 umber...........................
47e00 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 68 72 65 .................(format."<a.hre
47e20 66 3d 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 f=\"#%s\">%s.%s</a>"............
47e40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47e60 20 20 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 ........src-ref.caption-prefix.s
47e80 72 63 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 rc-block-num)...................
47ea0 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."
47ec0 25 73 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 %s.%s"..........................
47ee0 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 6f 6e 2d ........................caption-
47f00 70 72 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 prefix.src-block-num))..........
47f20 20 20 20 20 20 20 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
47f40 70 74 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 ption-str))))..............(src-
47f60 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 72 code.(org-hugo--escape-hugo-shor
47f80 74 63 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 tcode.........................(o
47fa0 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 73 72 rg-export-format-code-default.sr
47fc0 63 2d 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 c-block.info)...................
47fe0 20 20 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 ......lang))..............(code-
48000 61 74 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 attr-str."")..............src-co
48020 64 65 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 de-wrap..............ret).......
48040 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 5d ..;;.(message."ox-hugo.src.[dbg]
48060 20 6c 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 .line-num-p:.%S".line-num-p)....
48080 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 64 .....;;.(message."ox-hugo.src.[d
480a0 62 67 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 bg].parameters:.%S".parameters).
480c0 20 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 ........;;.(message."ox-hugo.src
480e0 20 5b 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 .[dbg].code.refs:.%S".code-refs)
48100 0a 20 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 .........;;.(message."ox-hugo.sr
48120 63 20 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 c.[dbg].code-attr-str:.%S".code-
48140 61 74 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 attr-str)..........(when.(and.go
48160 6c 64 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 ldmarkp.(not.use-highlight-sc)).
48180 20 20 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 ..........(let.((html-attr.(org-
481a0 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 6d 6c export-read-attribute.:attr_html
481c0 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 28 73 65 74 71 20 .src-block))).............(setq.
481e0 63 6f 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 code-attr-str.(org-html--make-at
48200 74 72 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 tribute-string.html-attr))))....
48220 20 20 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 ......(when.(or.linenos-style.li
48240 6e 65 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 ne-num-p)...........;;.Set."line
48260 6e 6f 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 nos".to."true".if.linenos-style.
48280 69 73 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 is.nil............(setq.linenos-
482a0 73 74 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 style.(or.linenos-style."true"))
482c0 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 2d 6e 77 2d 70 20 ...........(if.(org-string-nw-p.
482e0 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 20 20 20 28 73 65 code-attr-str)...............(se
48300 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 25 73 2c 20 6c 69 tq.code-attr-str.(format."%s,.li
48320 6e 65 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 nenos=%s".code-attr-str.linenos-
48340 73 74 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 style)).............(setq.code-a
48360 74 74 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 ttr-str.(format."linenos=%s".lin
48380 65 6e 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 enos-style)))...........(let.((l
483a0 69 6e 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 inenostart-str.(and.;Extract.the
483c0 20 73 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 .start.line.number.of.the.src.bl
483e0 6f 63 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 ock.............................
48400 20 20 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 ......(string-match."\\`\\s-*\\(
48420 5b 30 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 [0-9]+\\)\\s-\\{2\\}".src-code).
48440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48460 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 69 65 73 20 31 20 ..(match-string-no-properties.1.
48480 73 72 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 src-code)))).............(when.l
484a0 69 6e 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 inenostart-str...............(se
484c0 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 25 73 2c 20 6c 69 tq.code-attr-str.(format."%s,.li
484e0 6e 65 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 nenostart=%s".code-attr-str.line
48500 6e 6f 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 nostart-str))))............(when
48520 20 6c 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 .line-num-p.............;;.Remov
48540 65 20 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 e.Org-inserted.numbers.from.the.
48560 62 65 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 beginning.of.each.line..........
48580 20 20 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 ...;;.as.the.Hugo.highlight.shor
485a0 74 63 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 tcode.will.be.used.instead.of...
485c0 20 20 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 ..........;;.literally.inserting
485e0 20 74 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 .the.line.numbers..............(
48600 73 65 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 setq.src-code.(replace-regexp-in
48620 2d 73 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 -string."^\\s-*[0-9]+\\s-\\{2\\}
48640 22 20 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 "."".src-code))))..........;;.(m
48660 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 68 6c 2d 6c 69 6e essage."ox-hugo.src.[dbg].hl-lin
48680 65 73 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 es:.%S".hl-lines).........(when.
486a0 68 6c 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 hl-lines...........(if.(org-stri
486c0 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)..........
486e0 20 20 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 .....(setq.code-attr-str.(format
48700 20 22 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 ."%s,.hl_lines=%s".code-attr-str
48720 20 68 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 .hl-lines)).............(setq.co
48740 64 65 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 de-attr-str.(format."hl_lines=%s
48760 22 20 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 73 79 ".hl-lines))))..........(when.sy
48780 6e 74 61 78 2d 73 74 79 6c 65 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 67 2d 73 74 ntax-style...........(if.(org-st
487a0 72 69 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 ring-nw-p.code-attr-str)........
487c0 20 20 20 20 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 .......(setq.code-attr-str.(form
487e0 61 74 20 22 25 73 2c 20 73 74 79 6c 65 3d 25 73 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 at."%s,.style=%s".code-attr-str.
48800 73 79 6e 74 61 78 2d 73 74 79 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 syntax-style)).............(setq
48820 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 73 74 79 6c 65 3d 25 73 .code-attr-str.(format."style=%s
48840 22 20 73 79 6e 74 61 78 2d 73 74 79 6c 65 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 28 77 68 65 ".syntax-style))))..........(whe
48860 6e 20 63 6f 64 65 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 n.code-refs...........(let*.((an
48880 63 68 6f 72 2d 70 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 chor-prefix.(cdr.code-refs-and-a
488a0 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 28 61 6e 63 68 6f 72 nchor))..................(anchor
488c0 2d 73 74 72 20 28 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 -str.(format."anchorlinenos=true
488e0 2c 20 6c 69 6e 65 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 ,.lineanchors=%s".anchor-prefix)
48900 29 29 0a 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 75 74 2d )).............(org-element-put-
48920 70 72 6f 70 65 72 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 property.src-block.:anchor-prefi
48940 78 20 61 6e 63 68 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 x.anchor-prefix).............(se
48960 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 25 73 2c 20 25 73 tq.code-attr-str.(format."%s,.%s
48980 22 20 63 6f 64 65 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 ".code-attr-str.anchor-str))))..
489a0 20 20 20 20 20 20 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 ........(unless.use-highlight-sc
489c0 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 6f 20 3a 6d 64 2d 63 ...........(plist-put.info.:md-c
489e0 6f 64 65 20 73 72 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 ode.src-code)...........(plist-p
48a00 75 74 20 69 6e 66 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 ut.info.:md-code-attr.(org-strin
48a20 67 2d 6e 77 2d 70 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 g-nw-p.code-attr-str))).........
48a40 20 28 73 65 74 71 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 .(setq.src-code-wrap............
48a60 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 20 20 20 20 20 20 20 ...(if.use-highlight-sc.........
48a80 20 20 20 20 20 20 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 ..........(let.((hl-attr.(if.(or
48aa0 67 2d 73 74 72 69 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 g-string-nw-p.code-attr-str)....
48ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48ae0 20 20 28 66 6f 72 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 ..(format.".\"%s\"".code-attr-st
48b00 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 20 r)..............................
48b20 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 20 20 20 20 ......""))).....................
48b40 28 66 6f 72 6d 61 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 (format."{{<.highlight.%s%s.>}}\
48b60 6e 25 73 7b 7b 3c 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 n%s{{<./highlight.>}}\n"........
48b80 20 20 20 20 20 20 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 .....................lang.hl-att
48ba0 72 20 73 72 63 2d 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 r.src-code)).................(or
48bc0 67 2d 62 6c 61 63 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 g-blackfriday-src-block.src-bloc
48be0 6b 20 6e 69 6c 20 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 k.nil.info)))..........(if.(and.
48c00 67 6f 6c 64 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 goldmarkp.(not.use-highlight-sc)
48c20 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 63 6f 6e 63 61 74 20 ).............(setq.ret.(concat.
48c40 28 6f 72 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 (org-blackfriday--get-style-str.
48c60 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)......................
48c80 20 20 20 20 20 20 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 .........src-anchor.src-code-wra
48ca0 70 20 63 61 70 74 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 p.caption-html))...........(setq
48cc0 20 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 .ret.(org-blackfriday--div-wrap-
48ce0 6d 61 79 62 65 0a 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 maybe......................src-b
48d00 6c 6f 63 6b 0a 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 lock......................(conca
48d20 74 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 69 t.src-anchor.src-code-wrap.capti
48d40 6f 6e 2d 68 74 6d 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 on-html)......................in
48d60 66 6f 29 29 29 0a 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 fo))).........ret)))))..;;;;.Spe
48d80 63 69 61 6c 20 42 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 cial.Block.(defun.org-hugo-speci
48da0 61 6c 2d 62 6c 6f 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 al-block.(special-block.contents
48dc0 20 69 6e 66 6f 29 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 .info)..."Transcode.a.SPECIAL-BL
48de0 4f 43 4b 20 65 6c 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 OCK.element.from.Org.to.Hugo-com
48e00 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 53 20 68 6f 6c 64 73 patible.Markdown..CONTENTS.holds
48e20 20 74 68 65 20 63 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 .the.contents.of.the.block...If.
48e40 74 68 65 20 73 70 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 the.special.block.is.of.type.\"d
48e60 65 73 63 72 69 70 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 escription\",.the.value.of.`:des
48e80 63 72 69 70 74 69 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 cription'.key.of.the.INFO.plist.
48ea0 67 65 74 73 20 6f 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 gets.overwritten.by.the.contents
48ec0 20 6f 66 20 74 68 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 .of.that.block...Else.if.the.spe
48ee0 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 74 61 69 6c 73 5c cial.block.is.of.type.\"details\
48f00 22 2c 20 61 6e 20 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 ",.an.HTML.`<details>'.element.w
48f20 69 74 68 20 61 6e 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 ith.an.optional.`<summary>'.elem
48f40 65 6e 74 20 69 73 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 ent.is.created...The.\"summary\"
48f60 20 70 6f 72 74 69 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 .portion.if.present.comes.first,
48f80 20 61 6e 64 20 69 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 .and.is.separated.from.the.follo
48fa0 77 69 6e 67 20 5c 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 wing.\"details\".portion.using.a
48fc0 20 73 6f 6c 6f 0a 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 .solo.\"---\".string.on.a.newlin
48fe0 65 2e 20 20 53 65 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 e...See.https://ox-hugo.scripter
49000 2e 63 6f 2f 64 6f 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 .co/doc/details-and-summary/.for
49020 20 6d 6f 72 65 2e 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 .more...Else.if.the.SPECIAL-BLOC
49040 4b 20 74 79 70 65 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 K.type.matches.one.of.the.shortc
49060 6f 64 65 73 20 73 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 odes.set.in.HUGO_PAIRED_SHORTCOD
49080 45 53 20 70 72 6f 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 ES.property,.export.them.as.Mark
490a0 64 6f 77 6e 20 6f 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 down.or.non-Markdown.shortcodes.
490c0 20 20 53 65 65 20 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 ..See.`org-hugo-paired-shortcode
490e0 73 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 46 6f 72 20 61 6c s'.for.more.information...For.al
49100 6c 20 6f 74 68 65 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 l.other.special.blocks,.processi
49120 6e 67 20 69 73 20 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 ng.is.passed.on.to.`org-blackfri
49140 64 61 79 2d 73 70 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 day-special-block'...If.a.block.
49160 74 79 70 65 20 68 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 type.has.the.`:trim-pre'.propert
49180 79 20 73 65 74 20 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 y.set.to.t.in.`org-hugo-special-
491a0 62 6c 6f 63 6b 2d 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 block-type-properties'.or.in.the
491c0 20 60 23 2b 68 65 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 .`#+header'.keyword.above.the.sp
491e0 65 63 69 61 6c 20 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 ecial.block,.whitespace.exported
49200 20 62 65 66 6f 72 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 .before.that.block.is.trimmed...
49220 53 69 6d 69 6c 61 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 Similarly,.if.`:trim-post'.prope
49240 72 74 79 20 69 73 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 rty.is.set.to.t,.whitespace.afte
49260 72 20 74 68 61 74 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 r.that.block.is.trimmed...INFO.i
49280 73 20 61 20 70 6c 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 s.a.plist.holding.export.options
492a0 2e 22 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 ."...(let*.((block-type.(org-ele
492c0 6d 65 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 ment-property.:type.special-bloc
492e0 6b 29 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 k))..........(block-type-plist.(
49300 63 64 72 20 28 61 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 cdr.(assoc.block-type.org-hugo-s
49320 70 65 63 69 61 6c 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 pecial-block-type-properties))).
49340 20 20 20 20 20 20 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 .........(header.(org-babel-pars
49360 65 2d 68 65 61 64 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 e-header-arguments..............
49380 20 20 20 20 20 28 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 .....(car.(org-element-property.
493a0 3a 68 65 61 64 65 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 :header.special-block)))).......
493c0 20 20 20 28 74 72 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 ...(trim-pre.(or.(alist-get.:tri
493e0 6d 2d 70 72 65 20 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 m-pre.header).;`:trim-pre'.in.#+
49400 68 65 61 64 65 72 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 header.has.higher.precedence....
49420 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.
49440 62 6c 6f 63 6b 2d 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 block-type-plist.:trim-pre)))...
49460 20 20 20 20 20 20 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 .......(trim-pre.(org-hugo--valu
49480 65 2d 67 65 74 2d 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 e-get-true-p.trim-pre)).;If."nil
494a0 22 2c 20 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 ",.converts.to.nil..........(tri
494c0 6d 2d 70 72 65 2d 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 m-pre-tag.(if.trim-pre.org-hugo-
494e0 2d 74 72 69 6d 2d 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 -trim-pre-marker.""))..........(
49500 6c 61 73 74 2d 65 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 last-element-p.(null.(org-export
49520 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 2d 62 6c 6f 63 6b 20 -get-next-element.special-block.
49540 69 6e 66 6f 29 29 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 info)))..........(trim-post.(unl
49560 65 73 73 20 6c 61 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 ess.last-element-p.;No.need.to.a
49580 64 64 20 74 72 69 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 dd.trim-post.markers.if.this.is.
495a0 74 68 65 20 6c 61 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 the.last.element................
495c0 20 20 20 20 20 20 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 ........(or.(alist-get.:trim-pos
495e0 74 20 68 65 61 64 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 t.header).;`:trim-post'.in.#+hea
49600 64 65 72 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 der.has.higher.precedence.......
49620 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.
49640 62 6c 6f 63 6b 2d 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 block-type-plist.:trim-pre))))..
49660 20 20 20 20 20 20 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 ........(trim-post.(org-hugo--va
49680 6c 75 65 2d 67 65 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 lue-get-true-p.trim-post)).;If."
496a0 6e 69 6c 22 2c 20 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 nil",.converts.to.nil..........(
496c0 74 72 69 6d 2d 70 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 trim-post-tag.(if.trim-post.org-
496e0 68 75 67 6f 2d 2d 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 hugo--trim-post-marker."")).....
49700 20 20 20 20 20 28 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 .....(paired-shortcodes.(let*.((
49720 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 70 61 69 72 65 64 str.(plist-get.info.:hugo-paired
49740 2d 73 68 6f 72 74 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 -shortcodes))...................
49760 20 20 20 20 20 20 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 .................(str-list.(when
49780 20 28 6f 72 67 2d 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 .(org-string-nw-p.str)..........
497a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
497c0 20 20 20 20 20 20 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 ......(split-string.str.".")))).
497e0 20 20 20 20 20 20 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 ..............................st
49800 72 2d 6c 69 73 74 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 r-list))..........(sc-regexp."\\
49820 60 25 25 3f 25 73 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 `%%?%s\\'").;Regexp.to.match.an.
49840 65 6c 65 6d 65 6e 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 element.from.`paired-shortcodes'
49860 0a 20 20 20 20 20 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 ..........(html-attr.(org-export
49880 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 70 65 63 69 -read-attribute.:attr_html.speci
498a0 61 6c 2d 62 6c 6f 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 al-block))..........(caption.(pl
498c0 69 73 74 2d 67 65 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 ist-get.html-attr.:caption))....
498e0 20 20 20 20 20 20 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 ......(contents.(when.(stringp.c
49900 6f 6e 74 65 6e 74 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 ontents)......................(o
49920 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 20 28 69 rg-trim.......................(i
49940 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 6c 69 73 74 20 3a 72 f.(plist-get.block-type-plist.:r
49960 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 3b 3b aw)...........................;;
49980 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
499a0 72 67 6d 6f 64 65 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 rgmode/2022-01/msg00132.html....
499c0 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
499e0 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-
49a00 63 6f 6e 74 65 6e 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 contents.special-block))........
49a20 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 29 29 29 29 29 0a 20 .................contents)))))..
49a40 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 73 70 6c 2d 62 6c 6b ...;;.(message."[ox-hugo-spl-blk
49a60 20 44 42 47 5d 20 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 .DBG].block-type:.%s".block-type
49a80 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 73 70 6c 2d ).....;;.(message."[ox-hugo-spl-
49aa0 62 6c 6b 20 44 42 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 blk.DBG].last.element?:.%s".(nul
49ac0 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 73 l.(org-export-get-next-element.s
49ae0 70 65 63 69 61 6c 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 pecial-block.info))).....;;.(mes
49b00 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 25 73 3a 20 sage."[ox-hugo-spl-blk.DBG].%s:.
49b20 68 65 61 64 65 72 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 header:.%s".block-type.header)..
49b40 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 73 70 6c 2d 62 6c 6b ...;;.(message."[ox-hugo-spl-blk
49b60 20 44 42 47 5d 20 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 .DBG].%s:.trim-pre.(type.=.%S):.
49b80 25 53 22 20 62 6c 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 %S".block-type.(type-of.trim-pre
49ba0 29 20 74 72 69 6d 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 ).trim-pre).....;;.(message."[ox
49bc0 2d 68 75 67 6f 2d 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 -hugo-spl-blk.DBG].%s:.trim-post
49be0 20 28 74 79 70 65 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 .(type.=.%S):.%S".block-type.(ty
49c00 70 65 2d 6f 66 20 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 pe-of.trim-post).trim-post).....
49c20 28 70 6c 69 73 74 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 (plist-put.info.:type-plist.bloc
49c40 6b 2d 74 79 70 65 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 k-type-plist).....(plist-put.inf
49c60 6f 20 3a 74 72 69 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 o.:trim-pre-tag.trim-pre-tag)...
49c80 20 20 28 70 6c 69 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 ..(plist-put.info.:trim-post-tag
49ca0 20 74 72 69 6d 2d 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 .trim-post-tag).....(when.conten
49cc0 74 73 0a 20 20 20 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 ts.......(cond........((string=.
49ce0 62 6c 6f 63 6b 2d 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 block-type."tikzjax").........(s
49d00 65 74 71 20 63 6f 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 etq.contents.(format."%s%s%s"...
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 20 20 22 3c 73 ............................."<s
49d40 63 72 69 70 74 20 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 cript.type=\"text/tikz\">\n..\\b
49d60 65 67 69 6e 7b 74 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 egin{tikzpicture}\n"............
49d80 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 6e 74 73 0a 20 20 20 ....................contents....
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 22 5c 6e 5c ............................"\n\
49dc0 5c 65 6e 64 7b 74 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 \end{tikzpicture}\n</script>")).
49de0 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 77 2d 70 20 63 ........(when.(org-string-nw-p.c
49e00 61 70 74 69 6f 6e 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 aption)...........(setq.contents
49e20 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 20 20 20 20 20 20 .(format."%s%s%s"...............
49e40 20 20 20 20 20 20 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 ..................."<figure>\n".
49e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
49e80 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 20 20 20 .contents.......................
49ea0 20 20 20 20 20 20 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 ...........(format."\n<figcaptio
49ec0 6e 3e 25 73 3c 2f 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 n>%s</figcaption>\n</figure>"...
49ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
49f00 20 20 20 20 20 20 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 .......caption)))).........conte
49f20 6e 74 73 29 0a 20 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 nts)........((string=.block-type
49f40 20 22 64 65 73 63 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 ."description").........;;.Overw
49f60 72 69 74 65 20 74 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 rite.the.value.of.the.`:descript
49f80 69 6f 6e 27 20 6b 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 ion'.key.in.`info'..........(pli
49fa0 73 74 2d 70 75 74 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 st-put.info.:description.(org-hu
49fc0 67 6f 2d 2d 65 73 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 go--escape-hugo-shortcode.conten
49fe0 74 73 20 22 6d 64 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 ts."md")).........nil)........;;
4a000 20 68 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 .https://emacs.stackexchange.com
4a020 2f 61 2f 32 38 36 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 /a/28685/115........((cl-member.
4a040 62 6c 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 block-type.paired-shortcodes....
4a060 20 20 20 20 20 20 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 ................;;.If.`block-typ
4a080 65 27 20 69 73 20 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 e'.is."foo",.check.if.any.of.the
4a0a0 0a 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 74 73 20 ....................;;.elements.
4a0c0 69 6e 20 60 70 61 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 in.`paired-shortcodes'.is."foo".
4a0e0 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 22 25 66 6f 6f 22 2e or....................;;."%foo".
4a100 0a 20 20 20 20 20 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 ....................:test.(lambd
4a120 61 20 28 62 20 73 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 a.(b.sc).;`sc'.would.be.an.eleme
4a140 6e 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 nt.from.`paired-shortcodes'.....
4a160 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 6d .......................(string-m
4a180 61 74 63 68 2d 70 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 atch-p.(format.sc-regexp.b).sc))
4a1a0 29 0a 20 20 20 20 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 ).........(let*.((attr-sc.(org-e
4a1c0 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 73 68 6f 72 74 xport-read-attribute.:attr_short
4a1e0 63 6f 64 65 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 code.special-block))............
4a200 20 20 20 20 3b 3b 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 ....;;.Positional.arguments.....
4a220 20 20 20 20 20 20 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 ............(pos-args.(and.(null
4a240 20 61 74 74 72 2d 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 .attr-sc).......................
4a260 20 20 20 20 20 20 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 ........;;.If.the.shortcode.attr
4a280 69 62 75 74 65 73 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 ibutes.are.not.of...............
4a2a0 20 20 20 20 20 20 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 ................;;.the.type.":fo
4a2c0 6f 20 62 61 72 22 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 o.bar".but.are.something........
4a2e0 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 6c 69 6b 65 20 22 .......................;;.like."
4a300 66 6f 6f 20 62 61 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 foo.bar"........................
4a320 20 20 20 20 20 20 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 ........(let*.((raw-list.(org-el
4a340 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 73 ement-property.:attr_shortcode.s
4a360 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 20 20 pecial-block))..................
4a380 20 20 20 20 20 20 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 ....................(raw-str.(ma
4a3a0 70 63 6f 6e 63 61 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 pconcat.#'identity.raw-list.".")
4a3c0 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 ))..............................
4a3e0 20 20 20 28 6f 72 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 ...(org-string-nw-p.raw-str)))).
4a400 20 20 20 20 20 20 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 ...............;;.Named.argument
4a420 73 2e 0a 20 20 20 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 s.................(named-args.(u
4a440 6e 6c 65 73 73 20 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 nless.pos-args..................
4a460 20 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 20 28 6f 72 ............(org-string-nw-p.(or
4a480 67 2d 68 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 20 61 74 g-html--make-attribute-string.at
4a4a0 74 72 2d 73 63 29 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 tr-sc))))................(sc-arg
4a4c0 73 20 28 6f 72 20 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 s.(or.pos-args.named-args)).....
4a4e0 20 20 20 20 20 20 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 ...........(sc-args.(if.sc-args.
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 28 63 6f 6e ............................(con
4a520 63 61 74 20 22 20 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 cat.".".sc-args.".")............
4a540 20 20 20 20 20 20 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 ..............."."))............
4a560 20 20 20 20 28 6d 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 ....(matched-sc-str.(car........
4a580 20 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 6c 2d 6d 65 6d .........................(cl-mem
4a5a0 62 65 72 20 62 6c 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 ber.block-type.paired-shortcodes
4a5c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4a5e0 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 63 29 ............:test.(lambda.(b.sc)
4a600 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 6d 20 .;`sc'.would.be.an.element.from.
4a620 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 20 20 `paired-shortcodes'.............
4a640 20 20 20 20 20 20 20 20 20 20 20 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 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 .......(string-match-p.(format.s
4a680 63 2d 72 65 67 65 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 c-regexp.b).sc))))).............
4a6a0 20 20 20 28 73 63 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 ...(sc-open-char.(if.(string-pre
4a6c0 66 69 78 2d 70 20 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 fix-p."%".matched-sc-str).......
4a6e0 20 20 20 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 22 0a 20 ..........................."%"..
4a700 20 20 20 20 20 20 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 .............................."<
4a720 22 29 29 0a 20 20 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 "))................(sc-close-cha
4a740 72 20 28 69 66 20 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 r.(if.(string-prefix-p."%".match
4a760 65 64 2d 73 63 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 ed-sc-str)......................
4a780 20 20 20 20 20 20 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 ............."%"................
4a7a0 20 20 20 20 20 20 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 .................">"))..........
4a7c0 20 20 20 20 20 20 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 ......(sc-begin.(format."%s{{%s.
4a7e0 25 73 25 73 25 73 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 %s%s%s}}".......................
4a800 20 20 20 20 20 20 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 ...........trim-pre-tag.sc-open-
4a820 63 68 61 72 20 62 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 char.block-type.sc-args.sc-close
4a840 2d 63 68 61 72 29 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 -char))................(sc-end.(
4a860 66 6f 72 6d 61 74 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 format."{{%s./%s.%s}}%s"........
4a880 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 63 2d 6f 70 65 6e 2d ........................sc-open-
4a8a0 63 68 61 72 20 62 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 char.block-type.sc-close-char.tr
4a8c0 69 6d 2d 70 6f 73 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 im-post-tag)))...........;;.(mes
4a8e0 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 72 sage."[ox-hugo-spl-blk.DBG].attr
4a900 2d 73 63 31 3a 20 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 -sc1:.%s"...........;;..........
4a920 28 6f 72 67 2d 65 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 (org-element-property.:attr_shor
4a940 74 63 6f 64 65 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 tcode.special-block))...........
4a960 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
4a980 47 5d 20 61 74 74 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 G].attr-sc:.%s".attr-sc)........
4a9a0 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 73 70 6c 2d 62 6c 6b ...;;.(message."[ox-hugo-spl-blk
4a9c0 20 44 42 47 5d 20 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 .DBG].pos-args:.%s".pos-args)...
4a9e0 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 2d 73 70 ........;;.(message."[ox-hugo-sp
4aa00 6c 2d 62 6c 6b 20 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 l-blk.DBG].named-args:.%s".named
4aa20 2d 61 72 67 73 29 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 -args)...........(format."%s\n%s
4aa40 5c 6e 25 73 22 0a 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 \n%s"...................sc-begin
4aa60 20 63 6f 6e 74 65 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 .contents.sc-end)))........(t...
4aa80 20 20 20 20 20 20 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 ......(org-blackfriday-special-b
4aaa0 6c 6f 63 6b 20 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 lock.special-block.contents.info
4aac0 29 29 29 29 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 )))))).....;;;.Filter.Functions.
4aae0 0a 3b 3b 3b 3b 20 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 .;;;;.Body.Filter.(defun.org-hug
4ab00 6f 2d 62 6f 64 79 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 o-body-filter.(body._backend.inf
4ab20 6f 29 0a 20 20 22 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 o)..."Add.front-matter.to.the.BO
4ab40 44 59 20 6f 66 20 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 DY.of.the.document...BODY.is.the
4ab60 20 72 65 73 75 6c 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 .result.of.the.export..INFO.is.a
4ab80 20 70 6c 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 .plist.holding.export.options.".
4aba0 20 20 3b 3b 20 43 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 ..;;.Copy.the.page.resources.to.
4abc0 74 68 65 20 62 75 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 the.bundle.directory....(org-hug
4abe0 6f 2d 2d 63 6f 70 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 o--copy-resources-maybe.info)...
4ac00 28 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 69 6e 66 (org-hugo--copy-ltximg-maybe.inf
4ac20 6f 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 62 6f 64 79 20 o)...;;.(message."[ox-hugo.body.
4ac40 66 69 6c 74 65 72 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 filter].ITEM.%S".(org-entry-get.
4ac60 28 70 6f 69 6e 74 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 (point)."ITEM"))...;;.(message."
4ac80 5b 6f 78 2d 68 75 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 [ox-hugo.body.filter].TAGS:.%S".
4aca0 28 6f 72 67 2d 65 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 (org-entry-get.(point)."TAGS")).
4acc0 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 6f 64 79 20 66 69 6c ..;;.(message."[ox-hugo.body.fil
4ace0 74 65 72 5d 20 41 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 ter].ALLTAGS:.%S".(org-entry-get
4ad00 20 28 70 6f 69 6e 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 .(point)."ALLTAGS"))....(when.(a
4ad20 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 20 69 nd.(org-hugo--plist-get-true-p.i
4ad40 6e 66 6f 20 3a 68 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 nfo.:hugo-delete-trailing-ws)...
4ad60 20 20 20 20 20 20 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 ...........(not.(org-hugo--plist
4ad80 2d 67 65 74 2d 74 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 -get-true-p.info.:preserve-break
4ada0 73 29 29 29 0a 20 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 s))).....(setq.body.(with-temp-b
4adc0 75 66 66 65 72 0a 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 uffer..................(insert.b
4ade0 6f 64 79 29 0a 20 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 ody)..................(delete-tr
4ae00 61 69 6c 69 6e 67 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 ailing-whitespace.(point-min).ni
4ae20 6c 29 0a 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 l)..................(buffer-subs
4ae40 74 72 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 tring-no-properties.(point-min).
4ae60 28 70 6f 69 6e 74 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 (point-max)))))...(let.((fm.(sav
4ae80 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 28 73 61 76 65 2d e-excursion...............(save-
4aea0 72 65 73 74 72 69 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 restriction.................;;.T
4aec0 68 65 20 70 6f 69 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 he.point.is.at.the.beginning.of.
4aee0 74 68 65 20 68 65 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 the.heading.body................
4af00 20 3b 3b 20 69 6e 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 .;;.in.this.function!.So.move.th
4af20 65 20 70 6f 69 6e 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 e.point.back.by.1.char..........
4af40 20 20 20 20 20 20 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 .......;;.to.bring.it.into.the.O
4af60 72 67 20 68 65 61 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 rg.heading.before.calling.......
4af80 20 20 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 66 72 6f 6e ..........;;.`org-hugo--get-fron
4afa0 74 2d 6d 61 74 74 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 t-matter',.because.in.there.we..
4afc0 20 20 20 20 20 20 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 ...............;;.use.`org-entry
4afe0 2d 67 65 74 27 20 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 -get'.at.(point).to.retrieve.cer
4b000 74 61 69 6e 0a 20 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 tain.................;;.property
4b020 20 76 61 6c 75 65 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 .values..................(widen)
4b040 0a 20 20 20 20 20 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 .................(ignore-errors.
4b060 3b 49 66 20 74 68 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 ;If.the.point.is.at.beginning.of
4b080 20 62 75 66 66 65 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 .buffer.even.after.widening.....
4b0a0 20 20 20 20 20 20 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 ..............(backward-char))..
4b0c0 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 62 6f 64 ...............;;.(message."[bod
4b0e0 79 20 66 69 6c 74 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 y.filter.DBG].line.at.pt:.%s".(t
4b100 68 69 6e 67 2d 61 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 hing-at-point.'line))...........
4b120 20 20 20 20 20 20 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 ......(org-hugo--get-front-matte
4b140 72 20 69 6e 66 6f 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 r.info)))).........(fm-extra.(pl
4b160 69 73 74 2d 67 65 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 ist-get.info.:fm-extra))........
4b180 20 28 62 6f 64 79 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 .(body.(if.(org-string-nw-p.body
4b1a0 29 20 3b 49 6e 73 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 ).;Insert.extra.newline.if.body.
4b1c0 69 73 20 6e 6f 6e 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 is.non-empty...................(
4b1e0 66 6f 72 6d 61 74 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 format."\n%s".body).............
4b200 20 20 20 20 22 22 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 ....""))).....;;.(message."[body
4b220 20 66 69 6c 74 65 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 .filter.DBG.fm].%S".fm).....;;.(
4b240 6d 65 73 73 61 67 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 message."[body.filter.DBG.fm-ext
4b260 72 61 5d 20 25 53 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 ra].%S".fm-extra).....(when.fm-e
4b280 78 74 72 61 0a 20 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 xtra.......;;.If.fm-extra.is.pre
4b2a0 73 65 6e 74 2c 20 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 sent,.append.it.to.the.end.of.th
4b2c0 65 0a 20 20 20 20 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 e.......;;.front-matter,.before.
4b2e0 74 68 65 20 63 6c 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 the.closing."+++".or."---".marke
4b300 72 2e 0a 20 20 20 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 r........(setq.fm.(replace-regex
4b320 70 2d 69 6e 2d 73 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 p-in-string."\\(\\+\\+\\+\\|---\
4b340 5c 29 5c 6e 2a 5c 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 \)\n*\\'".......................
4b360 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 66 6d 2d 65 78 ...................(concat.fm-ex
4b380 74 72 61 20 22 5c 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 tra."\\&")......................
4b3a0 20 20 20 20 20 20 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 ....................fm))).....(s
4b3c0 65 74 71 20 6f 72 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 etq.org-hugo--fm.fm).....(if.(or
4b3e0 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
4b400 2d 70 20 69 6e 66 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 -p.info).........(format."%s%s%s
4b420 22 20 6f 72 67 2d 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 ".org-hugo--fm-yaml.body.org-hug
4b440 6f 2d 66 6f 6f 74 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 o-footer).......(format."%s%s%s"
4b460 20 66 6d 20 62 6f 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 .fm.body.org-hugo-footer))))..;;
4b480 3b 3b 3b 20 48 75 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 ;;;.Hugo.Front-Matter.(defun.org
4b4a0 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 74 73 20 -hugo--parse-property-arguments.
4b4c0 28 73 74 72 29 0a 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 (str)..."Return.an.alist.convert
4b4e0 65 64 20 66 72 6f 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 ed.from.a.string.STR.of.Hugo.pro
4b500 70 65 72 74 79 20 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 perty.value...STR.is.of.type.\":
4b520 4b 45 59 31 20 56 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 KEY1.VALUE1.:KEY2.VALUE2...\"...
4b540 47 69 76 65 6e 20 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 Given.that,.the.returned.value.i
4b560 73 20 28 28 4b 45 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 s.((KEY1...VALUE1).(KEY2...VALUE
4b580 32 29 20 2e 2e 29 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 2)...)...Example:.Input.STR.\":f
4b5a0 6f 6f 20 62 61 72 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 oo.bar.:baz.1.:zoo.\\\"two.words
4b5c0 5c 5c 5c 22 5c 22 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 \\\"\".would.convert.to.((foo...
4b5e0 5c 22 62 61 72 5c 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 \"bar\").(baz...1).(zoo...\"two.
4b600 77 6f 72 64 73 5c 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 words\"))."...(let.((alist.(org-
4b620 62 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 20 73 74 72 babel-parse-header-arguments.str
4b640 29 29 29 0a 20 20 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 ))).....(dolist.(pair.alist)....
4b660 20 20 20 3b 3b 20 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 ...;;.:KEY.->.KEY.......(let.((k
4b680 65 79 20 28 69 6e 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 ey.(intern.(replace-regexp-in-st
4b6a0 72 69 6e 67 20 22 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 ring."\\`:"."".(symbol-name.(car
4b6c0 20 70 61 69 72 29 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 .pair)))))).........(setcar.pair
4b6e0 20 6b 65 79 29 29 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 .key))).....alist))..(defun.org-
4b700 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 61 6e hugo--front-matter-value-boolean
4b720 69 7a 65 20 28 73 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 ize.(str)..."Return.a.\"true\".o
4b740 72 20 5c 22 66 61 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 r.\"false\".string.for.input.STR
4b760 2e 22 0a 20 20 28 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 ."...(let.((str-lower.(and.(stri
4b780 6e 67 70 20 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 ngp.str)........................
4b7a0 20 28 64 6f 77 6e 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 .(downcase.str)))).....(cond....
4b7c0 20 20 28 28 6f 72 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 ..((or.(null.str)...........(str
4b7e0 69 6e 67 3d 20 22 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 ing=."nil".str-lower)...........
4b800 28 73 74 72 69 6e 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 (string=."false".str-lower).....
4b820 20 20 20 20 20 20 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 ......(string=."no".str-lower)).
4b840 20 20 20 20 20 20 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 ......"false")......((or.(string
4b860 3d 20 22 74 22 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 74 =."t".str)...........(string=."t
4b880 72 75 65 22 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 79 65 rue".str)...........(string=."ye
4b8a0 73 22 20 73 74 72 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 s".str))......."true")......(t..
4b8c0 20 20 20 20 20 28 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 .....(user-error."%S.needs.to.re
4b8e0 70 72 65 73 65 6e 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 present.a.boolean.value".str))))
4b900 29 0a 0a 28 64 65 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 )..(defun.org-hugo--parse-menu-p
4b920 72 6f 70 2d 74 6f 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 rop-to-alist.(info)..."Return.an
4b940 20 61 6c 69 73 74 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 .alist.of.valid.Hugo.menu.proper
4b960 74 69 65 73 20 64 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 ties.derived.from.INFO...INFO.is
4b980 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
4b9a0 20 63 68 61 6e 6e 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 .channel."...(let*.((fm-format.(
4b9c0 70 6c 69 73 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 plist-get.info.:hugo-front-matte
4b9e0 72 2d 66 6f 72 6d 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 r-format))..........(menu-alist.
4ba00 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
4ba20 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 6d 65 6e 75 29 29 nts.(plist-get.info.:hugo-menu))
4ba40 29 0a 20 20 20 20 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 )..........(menu-ov-alist.(org-h
4ba60 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
4ba80 6c 69 73 74 2d 67 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 list-get.info.:hugo-menu-overrid
4baa0 65 29 29 29 0a 20 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 e)))..........(menu-props.'(name
4bac0 20 75 72 6c 20 69 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 .url.identifier.pre.post.weight.
4bae0 70 61 72 65 6e 74 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 parent.title))..........valid-me
4bb00 6e 75 2d 61 6c 69 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 nu-alist).....;;.(message."[org-
4bb20 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 20 44 hugo--parse-menu-prop-to-alist.D
4bb40 42 47 5d 20 6d 65 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 BG].menu.str:.%S,.alist:.%S".str
4bb60 20 6d 65 6e 75 2d 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 .menu-alist).....;;.Hugo.menu.pr
4bb80 6f 70 65 72 74 69 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 operties:.https://gohugo.io/cont
4bba0 65 6e 74 2d 6d 61 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 ent-management/menus/.....;;."ti
4bbc0 74 6c 65 22 20 70 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 tle".property.for.menus.was.intr
4bbe0 6f 64 75 63 65 64 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 oduced.in.Hugo.v0.32......;;.htt
4bc00 70 73 3a 2f 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 63 6f ps://github.com/gohugoio/hugo/co
4bc20 6d 6d 69 74 2f 39 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 mmit/9df3736fec164c51d819797416d
4bc40 63 32 36 33 66 32 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 c263f2869be77.....(cond......((s
4bc60 74 72 69 6e 67 3d 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 tring=.fm-format."toml").......(
4bc80 77 68 65 6e 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 0a 20 20 when.(assoc.'menu.menu-alist)...
4bca0 20 20 20 20 20 20 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 ......(setq.valid-menu-alist.(li
4bcc0 73 74 20 28 63 64 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 st.(cdr.(assoc.'menu.menu-alist)
4bce0 29 29 29 0a 20 20 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 ))).........(let.(menu-params)..
4bd00 20 20 20 20 20 20 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 .........(dolist.(prop.menu-prop
4bd20 73 29 0a 20 20 20 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 s).............(let.((cell.(or.(
4bd40 61 73 73 6f 63 20 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 assoc.prop.menu-ov-alist).......
4bd60 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 20 70 72 6f ......................(assoc.pro
4bd80 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 20 20 20 20 28 p.menu-alist))))...............(
4bda0 77 68 65 6e 20 63 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 when.cell.................(push.
4bdc0 63 65 6c 6c 20 6d 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 cell.menu-params))))...........;
4bde0 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 66 20 6e 6f ;.Auto-set.menu.identifier.if.no
4be00 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 20 20 20 20 t.already.set.by.user...........
4be20 20 28 75 6e 6c 65 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 .(unless.(assoc.'identifier.menu
4be40 2d 70 61 72 61 6d 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 -params).............(let.((id.(
4be60 6f 72 67 2d 68 75 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 org-hugo-slug.(org-hugo--get-san
4be80 69 74 69 7a 65 64 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 itized-title.info))))...........
4bea0 20 20 20 20 28 70 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 ....(push.`(identifier...,id).me
4bec0 6e 75 2d 70 61 72 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 nu-params)))...........;;.Auto-s
4bee0 65 74 20 6d 65 6e 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 et.menu.weight.if.not.already.se
4bf00 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 73 73 20 28 61 73 t.by.user............(unless.(as
4bf20 73 6f 63 20 27 77 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 soc.'weight.menu-params)........
4bf40 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 6f .....(when.org-hugo--subtree-coo
4bf60 72 64 0a 20 20 20 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 rd...............(push.`(weight.
4bf80 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 29 29 20 6d 65 6e 75 ..,(org-hugo--calc-weight)).menu
4bfa0 2d 70 61 72 61 6d 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 -params)))...........(setcdr.val
4bfc0 69 64 2d 6d 65 6e 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 id-menu-alist.menu-params)).....
4bfe0 20 20 20 20 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 ....(setq.valid-menu-alist.(list
4c000 20 76 61 6c 69 64 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 .valid-menu-alist))))......((str
4c020 69 6e 67 3d 20 66 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 ing=.fm-format."yaml").......(pu
4c040 73 68 20 27 6d 65 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 sh.'menu.menu-props).......(doli
4c060 73 74 20 28 70 72 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 st.(prop.menu-props).........(le
4c080 74 20 28 28 63 65 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 t.((cell.(or.(assoc.prop.menu-ov
4c0a0 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 20 20 20 20 -alist).........................
4c0c0 28 61 73 73 6f 63 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 (assoc.prop.menu-alist))))......
4c0e0 20 20 20 20 20 28 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 .....(when.cell.............(pus
4c100 68 20 63 65 6c 6c 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 h.cell.valid-menu-alist))))))...
4c120 20 20 76 61 6c 69 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 ..valid-menu-alist))..(defun.org
4c140 2d 68 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 28 69 6e 66 6f -hugo--get-sanitized-title.(info
4c160 29 0a 20 20 22 52 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 )..."Return.sanitized.version.of
4c180 20 61 6e 20 4f 72 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 .an.Org.heading.TITLE.as.a.strin
4c1a0 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 61 20 63 6f g...INFO.is.a.plist.used.as.a.co
4c1c0 6d 6d 75 6e 69 63 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 mmunication.channel...Extract.th
4c1e0 65 20 64 6f 63 75 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 e.document.title.from.INFO.(unle
4c200 73 73 20 65 78 70 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 ss.exporting.title.is.disabled.b
4c220 79 20 73 65 74 74 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 y.setting.`org-export-with-title
4c240 27 20 74 6f 20 6e 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 '.to.nil.or.using.the.OPTIONS.ke
4c260 79 77 6f 72 64 20 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 yword.e.g..\"title:nil\")...If.t
4c280 68 65 20 65 78 74 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 he.extracted.document.title.is.n
4c2a0 69 6c 2c 20 61 6e 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 il,.and.exporting.the.title.is.d
4c2c0 69 73 61 62 6c 65 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 isabled,.return.nil...If.the.ext
4c2e0 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 6f 6e 2d 6e 69 6c racted.document.title.is.non-nil
4c300 2c 20 72 65 74 75 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 ,.return.it.after.removing.all.m
4c320 61 72 6b 75 70 20 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 arkup.characters...Also.double-q
4c340 75 6f 74 65 20 74 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 uote.the.title.if.it.doesn't.alr
4c360 65 61 64 79 20 63 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 eady.contain.any.double-quotes."
4c380 0a 20 20 28 6c 65 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 ...(let.((title.(when.(plist-get
4c3a0 20 69 6e 66 6f 20 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 .info.:with-title)..............
4c3c0 20 20 20 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 29 0a 20 ....(plist-get.info.:title))))..
4c3e0 20 20 20 28 77 68 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 ...(when.title.......;;."Raw".ba
4c400 63 6b 65 6e 64 20 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 ckend.that.returns.emphasis.elem
4c420 65 6e 74 73 20 77 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 ents.without.any.......;;.markup
4c440 20 63 68 61 72 61 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 .characters.--.......;;.http://l
4c460 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 2f 32 30 31 ists.gnu.org/r/emacs-orgmode/201
4c480 37 2d 31 32 2f 6d 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 7-12/msg00490.html.......(let*.(
4c4a0 28 72 61 77 2d 62 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 (raw-backend................(let
4c4c0 20 28 28 67 65 74 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 .((get-raw.(lambda.(object.conte
4c4e0 6e 74 73 20 5f 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 nts._)..........................
4c500 20 20 20 20 20 20 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 ......(or.contents..............
4c520 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 65 ......................(org-eleme
4c540 6e 74 2d 70 72 6f 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 nt-property.:value.object)))))..
4c560 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 63 72 65 61 74 ...............(org-export-creat
4c580 65 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 3a 70 61 72 65 e-backend..................:pare
4c5a0 6e 74 20 27 61 73 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 nt.'ascii..................:tran
4c5c0 73 63 6f 64 65 72 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 scoders.(mapcar.(lambda.(type)..
4c5e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4c600 20 20 20 20 20 20 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 .......(cons.type.get-raw)).....
4c620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4c640 20 20 27 28 62 6f 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 ..'(bold.code.italic.strike-thro
4c660 75 67 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 20 20 ugh.............................
4c680 20 20 20 20 20 20 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 .................underline.verba
4c6a0 74 69 6d 29 29 29 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 tim)))))).........(setq.title.(o
4c6c0 72 67 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 74 69 74 6c rg-export-data-with-backend.titl
4c6e0 65 20 72 61 77 2d 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 e.raw-backend.info)).........;;.
4c700 48 75 67 6f 20 64 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 Hugo.does.not.render.Markdown.in
4c720 20 74 68 65 20 74 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 .the.titles...So.do.that........
4c740 20 3b 3b 20 68 65 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 .;;.here.instead...Convert."---"
4c760 20 74 6f 20 45 4d 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 .to.EM.DASH,."--".to.EN.DASH,...
4c780 20 20 20 20 20 20 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 ......;;.and."...".to.HORIZONTAL
4c7a0 20 45 4c 4c 49 50 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 .ELLIPSIS...........;;.Below.two
4c7c0 20 72 65 70 6c 61 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 .replacements.are.order.sensitiv
4c7e0 65 21 0a 20 20 20 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 e!.........(setq.title.(replace-
4c800 72 65 67 65 78 70 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 regexp-in-string."---\\([^-]\\)"
4c820 20 22 e2 80 94 5c 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 ."...\\1".title)).;EM.DASH......
4c840 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 2d 69 ...(setq.title.(replace-regexp-i
4c860 6e 2d 73 74 72 69 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 n-string."--\\([^-]\\)"."...\\1"
4c880 20 74 69 74 6c 65 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 .title)).;EN.DASH..........(setq
4c8a0 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 6e 67 .title.(replace-regexp-in-string
4c8c0 20 22 5c 5c 2e 5c 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 ."\\.\\.\\."."...".title)))).;HO
4c8e0 52 49 5a 4f 4e 54 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 RIZONTAL.ELLIPSIS.....title))..(
4c900 64 65 66 75 6e 20 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 defun.org-hugo--replace-undersco
4c920 72 65 73 2d 77 69 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 res-with-spaces.(str)..."Replace
4c940 20 64 6f 75 62 6c 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 .double.underscores.in.STR.with.
4c960 73 69 6e 67 6c 65 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 single.spaces...For.example,.\"s
4c980 6f 6d 65 5f 5f 74 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 ome__thing\".would.get.converted
4c9a0 20 74 6f 20 5c 22 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 .to.\"some.thing\"."...;;.It.is.
4c9c0 73 61 66 65 20 74 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 safe.to.assume.that.no.one.would
4c9e0 20 77 61 6e 74 20 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 .want.leading/trailing...;;.spac
4ca00 65 73 20 69 6e 20 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 es.in.`str'...so.not.checking.fo
4ca20 72 20 22 5f 5f 61 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 r."__a".or."a__".cases....(let.(
4ca40 28 72 65 74 20 73 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 (ret.str).........(rgx."\\([^_]\
4ca60 5c 29 5f 5f 5c 5c 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 \)__\\([^_]\\)")).....(while.(st
4ca80 72 69 6e 67 2d 6d 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 ring-match-p.rgx.ret).......(set
4caa0 71 20 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 q.ret.(replace-regexp-in-string.
4cac0 72 67 78 20 22 5c 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 rgx."\\1.\\2".ret))).;"a__b"..->
4cae0 20 22 61 20 62 22 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 ."a.b".....ret))..(defun.org-hug
4cb00 6f 2d 2d 74 61 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 o--tag-processing-fn-replace-wit
4cb20 68 2d 73 70 61 63 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 h-spaces-maybe.(tag-list.info)..
4cb40 20 22 52 65 70 6c 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 ."Replace.double.underscores.in.
4cb60 54 41 47 2d 4c 49 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 TAG-LIST.elements.with.single.sp
4cb80 61 63 65 73 2e 0a 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 aces...For.example,.an.element.\
4cba0 22 73 6f 6d 65 5f 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 "some__tag\".would.get.converted
4cbc0 20 74 6f 0a 5c 22 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 .to.\"some.tag\"...This.replacem
4cbe0 65 6e 74 20 69 73 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 ent.is.enabled.if.`org-hugo-allo
4cc00 77 2d 73 70 61 63 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 w-spaces-in-tags'.or.HUGO_ALLOW_
4cc20 53 50 41 43 45 53 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 SPACES_IN_TAGS.property.is.set.t
4cc40 6f 20 61 20 6e 6f 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 o.a.non-nil.value...TAG-LIST.whi
4cc60 63 68 20 69 73 20 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 ch.is.a.list.of.Org.tags.of.the.
4cc80 74 79 70 65 20 5c 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 type.\(\"TAG1\".\"TAG2\"...)...I
4cca0 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
4ccc0 63 61 74 69 6f 6e 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 cation.channel...This.is.one.of.
4cce0 74 68 65 20 70 72 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 the.processing.functions.in.`org
4cd00 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 6f 6e 73 27 2e -hugo-tag-processing-functions'.
4cd20 22 0a 20 20 28 6c 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 "...(let.((allow-spaces.(org-hug
4cd40 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 75 67 6f 2d 61 o--plist-get-true-p.info.:hugo-a
4cd60 6c 6c 6f 77 2d 73 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 llow-spaces-in-tags))).....(if.a
4cd80 6c 6c 6f 77 2d 73 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 llow-spaces.........(mapcar.#'or
4cda0 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 74 68 g-hugo--replace-underscores-with
4cdc0 2d 73 70 61 63 65 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 -spaces.tag-list).......tag-list
4cde0 29 29 29 0a 0a 28 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 )))..(defun.org-hugo--tag-proces
4ce00 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 79 sing-fn-replace-with-hyphens-may
4ce20 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 61 63 65 20 73 69 be.(tag-list.info)..."Replace.si
4ce40 6e 67 6c 65 20 75 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 ngle.underscores.in.TAG-LIST.ele
4ce60 6d 65 6e 74 73 20 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 ments.with.single.hyphens..And.t
4ce80 72 69 70 6c 65 20 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 riple.underscores.will.be.replac
4cea0 65 64 20 77 69 74 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 ed.with.single.underscores...For
4cec0 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 74 61 67 5c .example,.an.element.\"some_tag\
4cee0 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 73 6f 6d 65 2d ".would.get.converted.to.\"some-
4cf00 74 61 67 5c 22 2c 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 tag\",.and.\"some___tag\".to.\"s
4cf20 6f 6d 65 5f 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 20 ome_tag\"...This.replacement.is.
4cf40 65 6e 61 62 6c 65 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 enabled.if.`org-hugo-prefer-hyph
4cf60 65 6e 2d 69 6e 2d 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 en-in-tags'.or.HUGO_PREFER_HYPHE
4cf80 4e 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 N_IN_TAGS.property.is.set.to.a.n
4cfa0 6f 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 on-nil.value...TAG-LIST.which.is
4cfc0 20 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 .a.list.of.Org.tags.of.the.type.
4cfe0 5c 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 \(\"TAG1\".\"TAG2\"...)...INFO.i
4d000 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
4d020 6e 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 n.channel...This.is.one.of.the.p
4d040 72 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 rocessing.functions.in.`org-hugo
4d060 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 27 2e 22 0a 20 20 28 -tag-processing-functions'."...(
4d080 6c 65 74 20 28 28 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 let.((prefer-hyphens.(org-hugo--
4d0a0 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 72 65 66 plist-get-true-p.info.:hugo-pref
4d0c0 65 72 2d 68 79 70 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 er-hyphen-in-tags))).....(if.pre
4d0e0 66 65 72 2d 68 79 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 fer-hyphens.........(mapcar.....
4d100 20 20 20 20 20 28 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 .....(lambda.(tag)............(s
4d120 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
4d140 67 20 22 5c 5c 60 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 g."\\`_\\([^_]\\)"."-\\1".tag)).
4d160 20 20 20 20 20 20 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 ........;"_a"....->."-a"........
4d180 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
4d1a0 2d 73 74 72 69 6e 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 -string."\\`___\\([^_]\\)"."_\\1
4d1c0 22 20 74 61 67 29 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 ".tag)).......;"___a"..->."_a"..
4d1e0 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
4d200 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 5c 5c 27 22 20 22 exp-in-string."\\([^_]\\)_\\'"."
4d220 5c 5c 31 2d 22 20 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 \\1-".tag)).........;"a_"....->.
4d240 22 61 2d 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
4d260 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."\\([^_]\\)_
4d280 5f 5f 5c 5c 27 22 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 __\\'"."\\1_".tag)).......;"a___
4d2a0 22 20 20 2d 3e 20 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 "..->."a_"............(setq.tag.
4d2c0 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 5e (replace-regexp-in-string."\\([^
4d2e0 5f 5d 5c 5c 29 5f 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 _]\\)_\\([^_]\\)"."\\1-\\2".tag)
4d300 29 20 20 20 3b 22 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 )...;"a_b"...->."a-b"...........
4d320 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 2d 73 74 .(setq.tag.(replace-regexp-in-st
4d340 72 69 6e 67 20 22 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 ring."\\([^_]\\)___\\([^_]\\)"."
4d360 5c 5c 31 5f 5c 5c 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 \\1_\\2".tag)).;"a___b".->."a_b"
4d380 0a 20 20 20 20 20 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 ............tag)..........tag-li
4d3a0 73 74 29 0a 20 20 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 st).......tag-list)))..(defun.or
4d3c0 67 2d 68 75 67 6f 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 g-hugo--delim-str-to-list.(str).
4d3e0 20 20 22 46 75 6e 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 .."Function.to.transform.string.
4d400 53 54 52 20 74 6f 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 STR.to.a.list.of.strings...The.f
4d420 75 6e 63 74 69 6f 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 unction.assumes.STR.to.use.`org-
4d440 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 27 20 61 hugo--internal-list-separator'.a
4d460 73 20 64 65 6c 69 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 s.delimiter...The.function.does.
4d480 74 68 65 20 66 6f 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 the.following.in.order:..1..Trim
4d4a0 20 6c 65 61 64 69 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 .leading/trailing.spaces.from.ST
4d4c0 52 2e 0a 32 2e 20 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 R..2..Convert.that.string.to.a.l
4d4e0 69 73 74 20 75 73 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 ist.using....`org-hugo--internal
4d500 2d 6c 69 73 74 2d 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 -list-separator'.as.the.separato
4d520 72 2e 0a 33 2e 20 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 r..3..Break.up.each.element.of.t
4d540 68 61 74 20 6c 69 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 hat.list.into.further.string.ele
4d560 6d 65 6e 74 73 2c 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 ments,....delimited.by.spaces...
4d580 54 68 6f 75 67 68 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 Though,.spaces.within.quoted.str
4d5a0 69 6e 67 20 61 72 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 ing.are....retained...This.is.do
4d5c0 6e 65 20 75 73 69 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 ne.using.`org-babel-parse-header
4d5e0 2d 61 72 67 75 6d 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 -arguments'..4..Return.the.trans
4d600 66 6f 72 6d 65 64 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 formed.list.of.strings...Example
4d620 3a 20 5c 22 6f 6e 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 :.\"one\\n\\\"two.words\\\".thre
4d640 65 5c 5c 6e 66 6f 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 e\\nfour\"..........->.(\"one\".
4d660 5c 22 74 77 6f 20 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 \"two.words\".\"three\".\"four\"
4d680 29 2e 0a 0a 52 65 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 )...Return.nil.if.STR.is.not.a.s
4d6a0 74 72 69 6e 67 2e 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 tring."...(when.(stringp.str)...
4d6c0 20 20 28 6c 65 74 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 ..(let*.((str.(org-trim.str))...
4d6e0 20 20 20 20 20 20 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 .........(str-list.(split-string
4d700 20 73 74 72 20 6f 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 .str.org-hugo--internal-list-sep
4d720 61 72 61 74 6f 72 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 arator))............ret).......(
4d740 64 6f 6c 69 73 74 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 dolist.(str-elem.str-list)......
4d760 20 20 20 28 6c 65 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 ...(let*.((format-str.":dummy.'(
4d780 25 73 29 22 29 20 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 %s)").;The.:dummy.key.is.discard
4d7a0 65 64 20 69 6e 20 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 ed.in.the.`lst'.var.below.......
4d7c0 20 20 20 20 20 20 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 ..........(alist.(org-babel-pars
4d7e0 65 2d 68 65 61 64 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 e-header-arguments.(format.forma
4d800 74 2d 73 74 72 20 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 t-str.str-elem)))...............
4d820 20 28 6c 73 74 20 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 .(lst.(cdr.(car.alist)))........
4d840 20 20 20 20 20 20 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 ........(str-list2.(mapcar.(lamb
4d860 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 20 20 da.(elem).......................
4d880 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 20 ..............(cond.............
4d8a0 20 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 73 79 6d 62 6f .........................((symbo
4d8c0 6c 70 20 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 20 20 20 lp.elem)........................
4d8e0 20 20 20 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 65 6c 65 6d ...............(symbol-name.elem
4d900 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 ))..............................
4d920 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 20 20 20 ........(t......................
4d940 20 20 20 20 20 20 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 .................elem)))........
4d960 20 20 20 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 73 74 29 29 ...........................lst))
4d980 29 0a 20 20 20 20 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 )...........(setq.ret.(append.re
4d9a0 74 20 73 74 72 2d 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 t.str-list2)))).......ret)))..(d
4d9c0 65 66 75 6e 20 6f 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 efun.org-hugo--category-p.(tag).
4d9e0 20 20 22 52 65 74 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 .."Return.non-nil.if.TAG.begins.
4da00 77 69 74 68 20 5c 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 with.\"@\"...Org.tags.that.begin
4da20 20 77 69 74 68 20 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 .with.\"@\".are.set.as.the.categ
4da40 6f 72 69 65 73 20 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 ories.field.in.the.Hugo.front-ma
4da60 74 74 65 72 2e 22 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 tter."...(and.(stringp.tag).....
4da80 20 20 20 28 73 74 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 ...(string-match-p."\\`@".tag)))
4daa0 0a 0a 28 64 65 66 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 ..(defun.org-hugo--subtree-expor
4dac0 74 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 66 20 t-p.(info)..."Return.non-nil.if.
4dae0 74 68 65 20 63 75 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 the.current.export.is.subtree.ba
4db00 73 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 sed...INFO.is.a.plist.used.as.a.
4db20 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 6d 65 6d 71 20 communication.channel."...(memq.
4db40 27 73 75 62 74 72 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 'subtree.(plist-get.info.:export
4db60 2d 6f 70 74 69 6f 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 -options)))..(defun.org-hugo--st
4db80 72 69 6e 67 2d 75 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 ring-unquote.(str)..."Return.STR
4dba0 20 61 66 74 65 72 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 .after.removing.beginning.and.en
4dbc0 64 69 6e 67 20 71 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 ding.quotes.if.any...Return.nil.
4dbe0 69 66 20 53 54 52 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 if.STR.is.an.empty.string,.or.no
4dc00 74 20 61 20 73 74 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 t.a.string."...(let.((unquoted-s
4dc20 74 72 20 28 6f 72 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 tr.(org-string-nw-p.str))).;Ensu
4dc40 72 65 20 74 68 61 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 re.that.`str'.is.a.non-empty.str
4dc60 69 6e 67 0a 20 20 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 ing.....(when.(and.unquoted-str.
4dc80 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 74 72 69 ...............(string=.(substri
4dca0 6e 67 20 75 6e 71 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 ng.unquoted-str.0.1)."\"").;Firs
4dcc0 74 20 63 68 61 72 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 t.char.is.literally.a.".........
4dce0 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 75 6f .......(string=.(substring.unquo
4dd00 74 65 64 2d 73 74 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 ted-str.-1)."\"")).;Last.char.is
4dd20 20 6c 69 74 65 72 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 .literally.a.".......(setq.unquo
4dd40 74 65 64 2d 73 74 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 ted-str.(substring.unquoted-str.
4dd60 31 20 2d 31 29 29 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 1.-1))).....unquoted-str))..(def
4dd80 75 6e 20 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 28 69 un.org-hugo--get-front-matter.(i
4dda0 6e 66 6f 29 0a 20 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 nfo)..."Return.the.Hugo.front-ma
4ddc0 74 74 65 72 20 73 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 tter.string...INFO.is.a.plist.us
4dde0 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 0a ed.as.a.communication.channel.".
4de00 20 20 3b 3b 20 28 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 ..;;.(message."[hugo.front-matte
4de20 72 20 44 42 47 5d 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 r.DBG].info:.%S".(pp.info))...(l
4de40 65 74 2a 20 28 28 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 et*.((fm-format.(plist-get.info.
4de60 3a 68 75 67 6f 2d 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 :hugo-front-matter-format)).....
4de80 20 20 20 20 20 28 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 .....(author-list.(and.(plist-ge
4dea0 74 20 69 6e 66 6f 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 t.info.:with-author)............
4dec0 20 20 20 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 72 61 ................(let.((author-ra
4dee0 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 20 20 20 20 20 20 20 w...............................
4df00 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 20 20 20 20 20 20 ....(org-string-nw-p............
4df20 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 70 ........................(org-exp
4df40 6f 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 61 75 74 68 6f 72 ort-data.(plist-get.info.:author
4df60 29 20 69 6e 66 6f 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 ).info)))).;`org-export-data'.re
4df80 71 75 69 72 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 quired..........................
4dfa0 20 20 20 20 28 77 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 ....(when.author-raw............
4dfc0 20 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 ....................;;.Multiple.
4dfe0 61 75 74 68 6f 72 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 authors.can.be.comma.or.........
4e000 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 6e 65 77 6c 69 6e .......................;;.newlin
4e020 65 20 73 65 70 61 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 e.separated..The.newline........
4e040 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 65 70 61 72 ........................;;.separ
4e060 61 74 65 64 20 61 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 ated.authors.work.only.for.the..
4e080 20 20 20 20 20 20 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 ..............................;;
4e0a0 20 23 2b 61 75 74 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 .#+author.keyword;.example:.....
4e0c0 20 20 20 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 ...........................;;...
4e0e0 23 2b 61 75 74 68 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 #+author:.Author1...............
4e100 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 6f 72 3a 20 .................;;...#+author:.
4e120 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 20 20 20 20 20 20 Author2.........................
4e140 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 20 20 20 .......;;.......................
4e160 20 20 20 20 20 20 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 .........;;.If.using.the.subtree
4e180 20 70 72 6f 70 65 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 .properties.they................
4e1a0 20 20 20 20 20 20 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 ................;;.need.to.be.co
4e1c0 6d 6d 61 2d 73 65 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 mma-separated:..................
4e1e0 20 20 20 20 20 20 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 ..............;;...:EXPORT_AUTHO
4e200 52 3a 20 41 75 74 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 R:.Author1,.Author2.............
4e220 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 75 74 68 6f 72 ...................(let.((author
4e240 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 61 75 74 68 6f 72 -list-1.(org-split-string.author
4e260 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]"))).................
4e280 20 20 20 20 20 20 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 .................;;.Don't.allow.
4e2a0 73 70 61 63 65 73 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 spaces.around.author.names......
4e2c0 20 20 20 20 20 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 .............................;;.
4e2e0 41 6c 73 6f 20 72 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 Also.remove.duplicate.authors...
4e300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4e320 28 64 65 6c 65 74 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 (delete-dups.(mapcar.#'org-trim.
4e340 61 75 74 68 6f 72 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 author-list-1)))))))..........(c
4e360 72 65 61 74 6f 72 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 reator.(and.(plist-get.info.:wit
4e380 68 2d 63 72 65 61 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 h-creator)......................
4e3a0 20 20 28 70 6c 69 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 ..(plist-get.info.:creator)))...
4e3c0 20 20 20 20 20 20 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 .......(locale.(and.(plist-get.i
4e3e0 6e 66 6f 20 3a 68 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 nfo.:hugo-with-locale)..........
4e400 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 6c 61 6e 67 .............(org-hugo--get-lang
4e420 20 69 6e 66 6f 29 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 .info)))..........(description.(
4e440 6f 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 org-string-nw-p.(plist-get.info.
4e460 3a 64 65 73 63 72 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 :description)))..........(aliase
4e480 73 2d 72 61 77 20 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 s-raw.(let.((aliases-raw-1.(org-
4e4a0 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 75 67 string-nw-p.(plist-get.info.:hug
4e4c0 6f 2d 61 6c 69 61 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 o-aliases))))...................
4e4e0 20 20 20 20 20 20 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 ......(when.aliases-raw-1.......
4e500 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 70 6c 69 74 2d 73 ....................(org-split-s
4e520 74 72 69 6e 67 20 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 tring.aliases-raw-1.".")))).....
4e540 20 20 20 20 20 28 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 .....(aliases.(let.(alias-list).
4e560 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 61 6c 69 ....................(dolist.(ali
4e580 61 73 20 61 6c 69 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 as.aliases-raw).................
4e5a0 20 20 20 20 20 20 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 ......(unless.(string-match-p."/
4e5c0 22 20 61 6c 69 61 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 ".alias)........................
4e5e0 20 28 6c 65 74 20 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 .(let.((section.(file-name-as-di
4e600 72 65 63 74 6f 72 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 rectory.;Suffix.section.with."/"
4e620 20 69 66 20 69 74 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 .if.it.isn't.already............
4e640 20 20 20 20 20 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
4e660 67 2d 65 78 70 6f 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 g-export-data.(plist-get.info.:h
4e680 75 67 6f 2d 73 65 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 ugo-section).info))))...........
4e6a0 20 20 20 20 20 20 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 ................(setq.alias.(con
4e6c0 63 61 74 20 22 2f 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 cat."/".section.alias)))).......
4e6e0 20 20 20 20 20 20 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 ................(setq.alias-list
4e700 20 28 61 70 70 65 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 .(append.alias-list.`(,alias))))
4e720 0a 20 20 20 20 20 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 .....................alias-list)
4e740 29 0a 20 20 20 20 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 )..........(outputs-raw.(org-str
4e760 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 75 67 6f 2d 6f ing-nw-p.(plist-get.info.:hugo-o
4e780 75 74 70 75 74 73 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 utputs)))..........(outputs.(whe
4e7a0 6e 20 6f 75 74 70 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 n.outputs-raw...................
4e7c0 20 20 28 6f 72 67 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 ..(org-split-string.outputs-raw.
4e7e0 22 20 22 29 29 29 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 ".")))..........(draft.(org-hugo
4e800 2d 2d 70 61 72 73 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 --parse-draft-state.info))......
4e820 20 20 20 20 28 68 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 ....(headless.(when.(org-hugo--p
4e840 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 68 65 61 64 6c list-get-true-p.info.:hugo-headl
4e860 65 73 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 68 ess)......................(org-h
4e880 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 61 6e 69 ugo--front-matter-value-booleani
4e8a0 7a 65 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 ze.(org-hugo--plist-get-true-p.i
4e8c0 6e 66 6f 20 3a 68 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 nfo.:hugo-headless))))..........
4e8e0 28 61 6c 6c 2d 74 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 (all-t-and-c-str.(org-entry-get.
4e900 28 70 6f 69 6e 74 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 (point)."ALLTAGS")).;Includes.ta
4e920 67 73 20 69 6e 68 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 gs.inherited.from.#+filetags:.to
4e940 6f 2e 0a 20 20 20 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 o...........(all-t-and-c.(or.(wh
4e960 65 6e 20 28 73 74 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 en.(stringp.all-t-and-c-str)....
4e980 3b 74 61 67 73 2f 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 ;tags/categories.from.`all-t-and
4e9a0 2d 63 27 20 61 72 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 -c'.are.used....................
4e9c0 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 61 6c 6c 2d 74 .........(org-split-string.all-t
4e9e0 2d 61 6e 64 2d 63 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 -and-c-str.":")).;only.if.HUGO_T
4ea00 41 47 53 20 6f 72 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 AGS.or.HUGO_CATEGORIES.are.not.s
4ea20 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 20 20 20 20 28 61 et............................(a
4ea40 6e 64 20 28 6e 75 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 nd.(null.(org-hugo--subtree-expo
4ea60 72 74 2d 70 20 69 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 rt-p.info)).;Use.#+filetags:.for
4ea80 20 66 69 6c 65 2d 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 .file-based.exports.if.#+hugo_ta
4eaa0 67 73 20 61 72 65 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 gs.are.not.set..................
4eac0 20 20 20 20 20 20 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 ...............org-file-tags))).
4eae0 20 20 20 20 20 20 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 .........(tags.(or..............
4eb00 20 20 20 3b 3b 20 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 ...;;.Look.for.tags.set.using.HU
4eb20 47 4f 5f 54 41 47 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 GO_TAGS.keyword,.or.............
4eb40 20 20 20 20 3b 3b 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 ....;;.EXPORT_HUGO_TAGS.property
4eb60 20 69 66 20 61 76 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 .if.available..................(
4eb80 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 73 74 20 28 70 6c 69 org-hugo--delim-str-to-list.(pli
4eba0 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 20 20 20 st-get.info.:hugo-tags))........
4ebc0 20 20 20 20 20 20 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 .........;;.Else.use.Org.tags.(t
4ebe0 68 65 20 6f 6e 65 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 he.ones.set.in.headings.........
4ec00 20 20 20 20 20 20 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 ........;;.and/or.inherited).if.
4ec20 61 6e 79 2e 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 74 61 67 any..................(let*.((tag
4ec40 73 2d 6c 69 73 74 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 s-list.(cl-remove-if.#'org-hugo-
4ec60 2d 63 61 74 65 67 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 -category-p.all-t-and-c)).......
4ec80 20 20 20 20 20 20 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 .................(tags-list.(dol
4eca0 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 65 73 73 69 6e 67 2d ist.(fn.org-hugo-tag-processing-
4ecc0 66 75 6e 63 74 69 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 functions.tags-list)............
4ece0 20 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 .........................(setq.t
4ed00 61 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 ags-list.(funcall.fn.tags-list.i
4ed20 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 3b 3b 20 28 6d nfo)))))...................;;.(m
4ed40 65 73 73 61 67 65 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 essage."[get.fm.DBG].tags:.tags-
4ed60 6c 69 73 74 20 3d 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 list.=.%S".tags-list)...........
4ed80 20 20 20 20 20 20 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 ........tags-list)))..........(c
4eda0 61 74 65 67 6f 72 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 ategories.(or...................
4edc0 20 20 20 20 3b 3b 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 ....;;.Look.for.categories.set.u
4ede0 73 69 6e 67 20 48 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 sing.HUGO_CATEGORIES............
4ee00 20 20 20 20 20 20 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 ...........;;.keyword,.or.EXPORT
4ee20 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 0a 20 20 20 20 20 20 _HUGO_CATEGORIES.property.......
4ee40 20 20 20 20 20 20 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 ................;;.if.available.
4ee60 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 68 75 67 6f .......................(org-hugo
4ee80 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 20 69 --delim-str-to-list.(plist-get.i
4eea0 6e 66 6f 20 3a 68 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 nfo.:hugo-categories))..........
4eec0 20 20 20 20 20 20 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 .............;;.Else.use.categor
4eee0 69 65 73 20 73 65 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 ies.set.using.Org.tags.with.....
4ef00 20 20 20 20 20 20 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 ..................;;."@".prefix.
4ef20 28 74 68 65 20 6f 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 (the.ones.set.in.headings.and/or
4ef40 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 69 6e 68 65 72 69 .......................;;.inheri
4ef60 74 65 64 29 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 20 ted).if.any.....................
4ef80 20 20 20 28 6c 65 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 ...(let*.((categories-list.(cl-r
4efa0 65 6d 6f 76 65 2d 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 emove-if-not.#'org-hugo--categor
4efc0 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 20 20 y-p.all-t-and-c))...............
4efe0 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 2d 6c 69 73 74 20 ...............(categories-list.
4f000 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 65 73 73 (dolist.(fn.org-hugo-tag-process
4f020 69 6e 67 2d 66 75 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 ing-functions.categories-list)..
4f040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f060 20 20 20 20 20 20 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 ...............(setq.categories-
4f080 6c 69 73 74 20 28 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 list.(funcall.fn.categories-list
4f0a0 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 20 20 20 20 20 20 .info)))).......................
4f0c0 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 6d 61 70 63 61 72 20 .......(categories-list.(mapcar.
4f0e0 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 20 20 20 20 20 20 (lambda.(str)...................
4f100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f120 20 20 20 20 20 20 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 ......;;.Remove."@".from.beg.of.
4f140 63 61 74 65 67 6f 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 categories......................
4f160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f180 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 22 5c ....(replace-regexp-in-string."\
4f1a0 5c 60 40 22 20 22 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 \`@"."".str))...................
4f1c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f1e0 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 20 20 ....categories-list)))..........
4f200 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 62 67 3a ...............;;.(message."dbg:
4f220 20 63 61 74 65 67 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 .categories:.categories-list.=.%
4f240 73 22 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 20 20 20 20 20 s".categories-list).............
4f260 20 20 20 20 20 20 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 ............categories-list)))..
4f280 20 20 20 20 20 20 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 ........(keywords.(org-hugo--del
4f2a0 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 20 3a im-str-to-list.(plist-get.info.:
4f2c0 6b 65 79 77 6f 72 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 keywords)))..........(weight-dat
4f2e0 61 20 28 6c 65 74 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 a.(let.((wt-raw-list.(org-hugo--
4f300 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 6c 69 73 74 2d parse-property-arguments.(plist-
4f320 67 65 74 20 69 6e 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 get.info.:hugo-weight)))........
4f340 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 61 74 61 .....................weight-data
4f360 2d 31 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 6c -1).........................(dol
4f380 69 73 74 20 28 77 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 ist.(wt-raw.wt-raw-list)........
4f3a0 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 6b 65 79 20 76 61 6c ...................(let.(key.val
4f3c0 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).............................
4f3e0 3b 3b 20 28 6d 65 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 ;;.(message."weight.DBG.wt-raw:.
4f400 25 53 22 20 77 74 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 %S".wt-raw).....................
4f420 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.
4f440 63 64 72 20 77 74 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 cdr.wt-raw:.%S".(cdr.wt-raw))...
4f460 20 20 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
4f480 73 73 61 67 65 20 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 ssage."weight.DBG.org-hugo--subt
4f4a0 72 65 65 2d 63 6f 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 ree-coord:.%S".org-hugo--subtree
4f4c0 2d 63 6f 6f 72 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 -coord).........................
4f4e0 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 20 20 20 ....(cond.......................
4f500 20 20 20 20 20 20 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 .......((null.(cdr.wt-raw)).;`wt
4f520 2d 72 61 77 27 20 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 -raw'.is.not.of.the.type.(TAXONO
4f540 4d 59 20 2e 20 57 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 MY...WEIGHT)....................
4f560 20 20 20 20 20 20 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 ...........(setq.key.'weight)...
4f580 20 20 20 20 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
4f5a0 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...................
4f5c0 20 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
4f5e0 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..........
4f600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f620 20 20 20 20 20 20 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 ........(equal.(car.wt-raw).'aut
4f640 6f 29 29 20 3b 28 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 o)).;(auto).....................
4f660 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 67 ........................(org-hug
4f680 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 20 o--calc-weight))................
4f6a0 20 20 20 20 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 ............................((an
4f6c0 64 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 20 3b 41 75 d.(equal.(car.wt-raw).'auto).;Au
4f6e0 74 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 to.weight.ineffective.for.file-b
4f700 61 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 ased.exports....................
4f720 20 20 20 20 20 20 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
4f740 75 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 ull.org-hugo--subtree-coord))...
4f760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f780 20 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 ..........nil)..................
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 28 74 0a 20 20 20 ..........................(t....
4f7c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f7e0 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 73 79 6d 62 .........(string-to-number.(symb
4f800 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 29 0a 20 20 20 20 20 ol-name.(car.wt-raw)))))))......
4f820 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......
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 73 65 74 71 20 6b .........................(setq.k
4f860 65 79 20 28 69 66 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 ey.(if.(equal.(car.wt-raw).'page
4f880 29 20 3b 60 77 74 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 ).;`wt-raw'.is.of.the.type.(page
4f8a0 20 2e 20 57 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 ...WEIGHT)......................
4f8c0 20 20 20 20 20 20 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 .......................'weight..
4f8e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f900 20 20 20 20 20 20 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 .........(intern.(format."%s_wei
4f920 67 68 74 22 20 28 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 ght".(symbol-name.(car.wt-raw)))
4f940 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 ))).............................
4f960 20 20 28 73 65 74 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 ..(setq.value.(cond.............
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 28 ...............................(
4f9a0 28 61 6e 64 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 (and.org-hugo--subtree-coord....
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 20 20 20 20 20 20 ................................
4f9e0 20 20 20 20 20 20 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 ..............(equal.(cdr.wt-raw
4fa00 29 20 22 61 75 74 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 )."auto")).;(TAXONOMY..."auto").
4fa20 6f 72 20 28 70 61 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 or.(page..."auto")..............
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 20 20 28 ...............................(
4fa60 6f 72 67 2d 68 75 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 org-hugo--calc-weight)).........
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 28 28 6e 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 ...((numberp.(cdr.wt-raw))......
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 20 20 20 20 20 20 20 ................................
4fae0 20 20 20 20 20 20 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 .......(cdr.wt-raw))............
4fb00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4fb20 28 28 61 6e 64 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 6f 22 ((and.(equal.(cdr.wt-raw)."auto"
4fb40 29 20 3b 41 75 74 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 ).;Auto.weight.ineffective.for.f
4fb60 69 6c 65 2d 62 61 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 ile-based.exports...............
4fb80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4fba0 20 20 20 28 6e 75 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 ...(null.org-hugo--subtree-coord
4fbc0 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 ))..............................
4fbe0 20 20 20 20 20 20 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 ...............nil).............
4fc00 20 20 20 20 20 20 20 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 ...............................(
4fc20 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 20 t...............................
4fc40 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 4f 78 2d 68 75 ..............(user-error."Ox-hu
4fc60 67 6f 3a 20 49 6e 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 go:.Invalid.weight.%S".(cdr.wt-r
4fc80 61 77 29 29 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 aw))))))).......................
4fca0 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 6b 65 ......;;.(message."weight.DBG.ke
4fcc0 79 3a 20 25 53 22 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 y:.%S".key).....................
4fce0 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.
4fd00 76 61 6c 75 65 3a 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 value:.%S".value)...............
4fd20 20 20 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 ..............(push.(cons.key.va
4fd40 6c 75 65 29 20 77 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 lue).weight-data-1)))...........
4fd60 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 77 65 69 67 68 ..............;;.(message."weigh
4fd80 74 20 44 42 47 20 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 t.DBG.weight-data:.%S".weight-da
4fda0 74 61 2d 31 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 77 65 ta-1).........................we
4fdc0 69 67 68 74 2d 64 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 ight-data-1))..........(menu-ali
4fde0 73 74 20 28 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 st.(org-hugo--parse-menu-prop-to
4fe00 2d 61 6c 69 73 74 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 -alist.info))..........(custom-f
4fe20 6d 2d 64 61 74 61 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 m-data.(org-hugo--parse-property
4fe40 2d 61 72 67 75 6d 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 -arguments.(plist-get.info.:hugo
4fe60 2d 63 75 73 74 6f 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 -custom-front-matter))).........
4fe80 20 28 72 65 73 6f 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 .(resources.(org-hugo--get-resou
4fea0 72 63 65 73 2d 61 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 rces-alist......................
4fec0 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
4fee0 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
4ff00 63 65 73 29 29 29 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 ces))))..........(blackfriday.(u
4ff20 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-
4ff40 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)..........
4ff60 20 20 20 20 20 20 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 ...............(require.'ox-hugo
4ff80 2d 64 65 70 72 65 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 -deprecated)....................
4ffa0 20 20 20 20 20 28 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 .....(org-hugo--parse-blackfrida
4ffc0 79 2d 70 72 6f 70 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 y-prop-to-alist.(plist-get.info.
4ffe0 3a 68 75 67 6f 2d 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 :hugo-blackfriday))))..........(
50000 64 61 74 61 20 60 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 data.`(;;.The.order.of.the.eleme
50020 6e 74 73 20 62 65 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 nts.below.will.be.the.order.in.w
50040 68 69 63 68 20 74 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 hich.the.front-matter...........
50060 20 20 20 20 20 20 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 .......;;.variables.will.be.orde
50080 72 65 64 2e 0a 20 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 red...................(title...,
500a0 28 6f 72 67 2d 68 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 (org-hugo--get-sanitized-title.i
500c0 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 75 64 69 6f 20 2e 20 nfo))..................(audio...
500e0 2c 28 6f 72 67 2d 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 ,(org-hugo--string-unquote.(plis
50100 74 2d 67 65 74 20 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 t-get.info.:hugo-audio))).......
50120 20 20 20 20 20 20 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 ...........(author...,author-lis
50140 74 29 0a 20 20 20 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 t)..................(description
50160 20 2e 20 2c 64 65 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 ...,description)................
50180 20 20 28 64 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 ..(date...,(org-hugo--format-dat
501a0 65 20 3a 64 61 74 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 e.:date.info))..................
501c0 28 70 75 62 6c 69 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 (publishDate...,(org-hugo--forma
501e0 74 2d 64 61 74 65 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 t-date.:hugo-publishdate.info)).
50200 20 20 20 20 20 20 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 .................(expiryDate...,
50220 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 65 78 70 (org-hugo--format-date.:hugo-exp
50240 69 72 79 64 61 74 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 irydate.info))..................
50260 28 61 6c 69 61 73 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 (aliases...,aliases)............
50280 20 20 20 20 20 20 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 ......(images...,(org-hugo--deli
502a0 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
502c0 75 67 6f 2d 69 6d 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 ugo-images)))..................(
502e0 69 73 43 4a 4b 4c 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 isCJKLanguage...,(org-hugo--plis
50300 74 2d 67 65 74 2d 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 t-get-true-p.info.:hugo-iscjklan
50320 67 75 61 67 65 29 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 guage))..................(keywor
50340 64 73 20 2e 20 2c 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 ds...,keywords).................
50360 20 28 6c 61 79 6f 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 .(layout...,(plist-get.info.:hug
50380 6f 2d 6c 61 79 6f 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 o-layout))..................(las
503a0 74 6d 6f 64 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 tmod...,(org-hugo--format-date.:
503c0 68 75 67 6f 2d 6c 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 hugo-lastmod.info)).............
503e0 20 20 20 20 20 28 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 .....(linkTitle...,(plist-get.in
50400 66 6f 20 3a 68 75 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 fo.:hugo-linktitle))............
50420 20 20 20 20 20 20 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 ......(markup...,(plist-get.info
50440 20 3a 68 75 67 6f 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 .:hugo-markup)).................
50460 20 28 6f 75 74 70 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 .(outputs...,outputs)...........
50480 20 20 20 20 20 20 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 .......(series...,(org-hugo--del
504a0 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 20 3a im-str-to-list.(plist-get.info.:
504c0 68 75 67 6f 2d 73 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 hugo-series)))..................
504e0 28 73 6c 75 67 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 73 (slug...,(plist-get.info.:hugo-s
50500 6c 75 67 29 29 0a 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 lug))..................(tags...,
50520 74 61 67 73 29 0a 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 tags)..................(categori
50540 65 73 20 2e 20 2c 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 es...,categories)...............
50560 20 20 20 28 74 79 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 ...(type...,(plist-get.info.:hug
50580 6f 2d 74 79 70 65 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 o-type))..................(url..
505a0 20 2c 28 70 6c 69 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 .,(plist-get.info.:hugo-url))...
505c0 20 20 20 20 20 20 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 ...............(videos...,(org-h
505e0 75 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 ugo--delim-str-to-list.(plist-ge
50600 74 20 69 6e 66 6f 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 t.info.:hugo-videos)))..........
50620 20 20 20 20 20 20 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 ........(draft...,draft)........
50640 20 20 20 20 20 20 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 ..........(headless...,headless)
50660 0a 20 20 20 20 20 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 ..................(creator...,cr
50680 65 61 74 6f 72 29 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 eator)..................(locale.
506a0 2e 20 2c 6c 6f 63 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 ..,locale)..................(bla
506c0 63 6b 66 72 69 64 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 ckfriday...,blackfriday)))......
506e0 20 20 20 20 28 64 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 ....(data.`,(append.data.weight-
50700 64 61 74 61 20 63 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 data.custom-fm-data.............
50720 20 20 20 20 20 20 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 .............(list..............
50740 20 20 20 20 20 20 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 .............(cons.'menu.menu-al
50760 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 28 ist)...........................(
50780 63 6f 6e 73 20 27 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 cons.'resources.resources)......
507a0 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 6c 6f 67 62 .....................(cons.'logb
507c0 6f 6f 6b 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 29 29 ook.(plist-get.info.:logbook))))
507e0 29 0a 20 20 20 20 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 )..........ret)......;;.(message
50800 20 22 5b 67 65 74 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 ."[get.fm.DBG].tags:.%s".tags)..
50820 20 20 20 3b 3b 20 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 ...;;.(message."dbg:.hugo.tags:.
50840 25 53 22 20 28 70 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 %S".(plist-get.info.:hugo-tags))
50860 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 20 69 6e 66 6f 20 44 .....;;.(message."[get.fm.info.D
50880 42 47 5d 20 25 53 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 BG].%S".info).....;;.(message."[
508a0 67 65 74 20 66 6d 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 get.fm.menu.DBG].%S".menu-alist)
508c0 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 20 6d 65 6e 75 20 6f .....;;.(message."[get.fm.menu.o
508e0 76 65 72 72 69 64 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 verride.DBG].%S".menu-alist-over
50900 72 69 64 65 29 0a 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 ride).....;;.(message."[custom.f
50920 6d 20 64 61 74 61 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 m.data.DBG].%S".custom-fm-data).
50940 20 20 20 20 3b 3b 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 ....;;.(message."[fm.resources.O
50960 55 54 20 44 42 47 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 UT.DBG].%S".resources).....;;.(m
50980 65 73 73 61 67 65 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 essage."[fm.data.DBG].data:.%S".
509a0 64 61 74 61 29 0a 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 data).....;;.(progn.(message."[f
509c0 6d 20 64 61 74 61 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 m.data.DBG].").(pp.data)).....;;
509e0 20 28 6d 65 73 73 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 .(message."[fm.tags.DBG].%S".tag
50a00 73 29 0a 20 20 20 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 s).....;;.(message."[fm.categori
50a20 65 73 20 44 42 47 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 es.DBG].%S".categories).....;;.(
50a40 6d 65 73 73 61 67 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 message."[fm.keywords.DBG].%S".k
50a60 65 79 77 6f 72 64 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 eywords)......;;.Append.group.ta
50a80 67 73 20 74 6f 20 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 gs.to.user-set.tags.if.tag.group
50aa0 73 20 61 72 65 20 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 s.are.defined.in.....;;.the.buff
50ac0 65 72 2e 0a 20 20 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 er......(when.(and.org-group-tag
50ae0 73 20 6f 72 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 28 6c s.org-tag-groups-alist).......(l
50b00 65 74 20 28 74 61 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 et.(tag-groups-alist-mod).......
50b20 20 20 20 3b 3b 20 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 ...;;.Copy.`org-tag-groups-alist
50b40 27 20 74 6f 20 60 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 '.to.`tag-groups-alist-mod'.whil
50b60 65 0a 20 20 20 20 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 e.........;;.modifying.the.tags.
50b80 61 6e 64 20 63 61 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 and.categories.as.defined.by....
50ba0 20 20 20 20 20 3b 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 .....;;.`org-hugo-tag-processing
50bc0 2d 66 75 6e 63 74 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 -functions'..........(dolist.(gr
50be0 6f 75 70 20 6f 72 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 oup.org-tag-groups-alist).......
50c00 20 20 20 20 28 6c 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 ....(let.((group-mod.group))....
50c20 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 74 61 .........(dolist.(fn.org-hugo-ta
50c40 67 2d 70 72 6f 63 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 g-processing-functions.group-mod
50c60 29 0a 20 20 20 20 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 )...............(setq.group-mod.
50c80 28 66 75 6e 63 61 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 (funcall.fn.group-mod.info)))...
50ca0 20 20 20 20 20 20 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 ..........(push.group-mod.tag-gr
50cc0 6f 75 70 73 2d 61 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 oups-alist-mod)))..........(doli
50ce0 73 74 20 28 74 2d 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 st.(t-or-c.(append.tags.categori
50d00 65 73 29 29 0a 20 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 es))...........(let.((to-be-sear
50d20 63 68 65 64 20 60 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 ched.`(,t-or-c))).............(w
50d40 68 69 6c 65 20 28 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 hile.(>.(length.to-be-searched).
50d60 30 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 74 0)...............;;.(message."[t
50d80 61 67 20 67 72 6f 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 ag.group.DBG].t.and.c.to.search:
50da0 20 25 53 22 20 74 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 .%S".to-be-searched)............
50dc0 20 20 20 28 6c 65 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 ...(let.((tc.(pop.to-be-searched
50de0 29 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 28 67 72 6f ))).................(dolist.(gro
50e00 75 70 20 74 61 67 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 up.tag-groups-alist-mod)........
50e20 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
50e40 75 70 20 44 42 47 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 up.DBG]...Searching.%s.in.%S".tc
50e60 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 28 77 68 65 6e 20 .group)...................(when.
50e80 28 6d 65 6d 62 65 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 (member.tc.group)...............
50ea0 20 20 20 20 20 20 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 ......(let.((head-tag.(car.group
50ec0 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 69 66 20 28 6f ))).......................(if.(o
50ee0 72 67 2d 68 75 67 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 rg-hugo--category-p.head-tag)...
50f00 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 68 ........................(let.((h
50f20 65 61 64 2d 63 61 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 ead-cat.(replace-regexp-in-strin
50f40 67 20 22 5c 5c 60 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 g."\\`@"."".head-tag))).........
50f60 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 6d 65 6d ....................(unless.(mem
50f80 62 65 72 20 68 65 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 ber.head-cat.categories)........
50fa0 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
50fc0 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 20 d-cat.categories)...............
50fe0 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 74 61 ................;;.(message."[ta
51000 67 20 67 72 6f 75 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 g.group.DBG]......Adding.cat.%s"
51020 20 68 65 61 64 2d 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 .head-cat)......................
51040 20 20 20 20 20 20 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 .........)).....................
51060 20 20 20 20 28 75 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 ....(unless.(member.head-tag.tag
51080 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 28 70 75 s)...........................(pu
510a0 73 68 20 68 65 61 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 sh.head-tag.tags)...............
510c0 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 74 61 67 20 67 72 ............;;.(message."[tag.gr
510e0 6f 75 70 20 44 42 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 oup.DBG]......Adding.tag.%s".hea
51100 64 2d 74 61 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 d-tag)..........................
51120 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 3b 3b 20 41 64 64 .)).......................;;.Add
51140 20 74 68 65 20 63 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 .the.current.`head-tag'.as.the.n
51160 65 77 20 74 61 67 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 ew.tag.to.......................
51180 3b 3b 20 73 65 61 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 ;;.search.if.current.tag.or.cate
511a0 67 6f 72 79 20 28 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 gory.(`tc').is.not..............
511c0 20 20 20 20 20 20 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 .........;;.the.`head-tag',.and.
511e0 69 66 20 69 74 27 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 if.it's.not.already.in.the......
51200 20 20 20 20 20 20 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 .................;;.search.list.
51220 0a 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 73 73 20 28 .......................(unless.(
51240 6f 72 20 28 73 74 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 or.(string=.tc.head-tag)........
51260 20 20 20 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 65 6d 62 ...........................(memb
51280 65 72 20 68 65 61 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 er.head-tag.to-be-searched))....
512a0 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 64 2d .....................(push.head-
512c0 74 61 67 20 74 6f 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 tag.to-be-searched))))))))))....
512e0 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 5d 20 ...;;.(message."[tag.group.DBG].
51300 75 70 64 61 74 65 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 updated.tags:.%S".tags).......;;
51320 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 5d 20 75 70 64 61 74 .(message."[tag.group.DBG].updat
51340 65 64 20 63 61 74 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 ed.categories:.%S".categories)..
51360 20 20 20 20 20 20 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 ......;;.Overwrite.the.'tags.and
51380 20 27 63 61 74 65 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 .'categories.key.values.in.`data
513a0 27 20 77 69 74 68 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 '.with.......;;.the.updated.valu
513c0 65 73 2e 0a 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 es........;;.https://stackoverfl
513e0 6f 77 2e 63 6f 6d 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 ow.com/a/40815365/1219634.......
51400 28 73 65 74 66 20 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 (setf.(alist-get.'tags.data).tag
51420 73 29 0a 20 20 20 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 s).......(setf.(alist-get.'categ
51440 6f 72 69 65 73 20 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 ories.data).categories))......(s
51460 65 74 71 20 64 61 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 etq.data.(org-hugo--replace-keys
51480 2d 6d 61 79 62 65 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 -maybe.data.info)).....(setq.ret
514a0 20 28 6f 72 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 64 61 74 .(org-hugo--gen-front-matter.dat
514c0 61 20 66 6d 2d 66 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 a.fm-format)).....(if.(and.(stri
514e0 6e 67 3d 20 22 74 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 ng=."toml".fm-format)...........
51500 20 20 20 28 6f 72 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 ...(org-hugo--pandoc-citations-e
51520 6e 61 62 6c 65 64 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 nabled-p.info)).........(progn..
51540 20 20 20 20 20 20 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 .........;;.Pandoc.parses.fields
51560 20 6c 69 6b 65 20 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 .like.csl.and.nocite.from.YAML..
51580 20 20 20 20 20 20 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 .........;;.front-matter...So.cr
515a0 65 61 74 65 20 74 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 eate.the.`org-hugo--fm-yaml'....
515c0 20 20 20 20 20 20 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 .......;;.front-matter.in.YAML.f
515e0 6f 72 6d 61 74 20 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 ormat.just.for.Pandoc...........
51600 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).
51620 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 2d 66 6d 2d 79 61 6d ..........(setq.org-hugo--fm-yam
51640 6c 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 70 61 6e 64 l.................(org-hugo-pand
51660 6f 63 2d 63 69 74 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 oc-cite--meta-data-generator.dat
51680 61 29 29 29 0a 20 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 a))).......(setq.org-hugo--fm-ya
516a0 6d 6c 20 72 65 74 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 ml.ret)).....;;.(message."org-hu
516c0 67 6f 2d 2d 66 6d 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 go--fm-yaml:.`%s'".org-hugo--fm-
516e0 79 61 6d 6c 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 yaml).....ret))..(defun.org-hugo
51700 2d 2d 63 61 6c 63 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 --calc-weight.()..."Calculate.th
51720 65 20 77 65 69 67 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 e.weight.for.a.Hugo.post.or.menu
51740 20 69 74 65 6d 2e 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 .item...The.returned.weight.=.IN
51760 44 45 58 20 2b 20 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 DEX.+.1000*LEVEL...See.`org-hugo
51780 2d 2d 67 65 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 27 20 --get-post-subtree-coordinates'.
517a0 6c 65 61 72 6e 20 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 learn.about.INDEX.and.LEVEL."...
517c0 28 6c 65 74 2a 20 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 (let*.((level.(car.org-hugo--sub
517e0 74 72 65 65 2d 63 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 tree-coord))..........(index.(cd
51800 72 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 29 0a 20 20 20 r.org-hugo--subtree-coord)))....
51820 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 63 61 6c 63 2d 77 65 .;;.(message."[org-hugo--calc-we
51840 69 67 68 74 20 64 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 ight.dbg].level.=.%S".level)....
51860 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 63 61 6c 63 2d 77 65 .;;.(message."[org-hugo--calc-we
51880 69 67 68 74 20 64 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 ight.dbg].index.=.%S".index)....
518a0 20 28 2b 20 28 2a 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 .(+.(*.1000.level).index)))..(de
518c0 66 75 6e 20 6f 72 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 fun.org-hugo--gen-front-matter.(
518e0 64 61 74 61 20 66 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 data.format)..."Generate.the.Hug
51900 6f 20 70 6f 73 74 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 o.post.front-matter,.and.return.
51920 74 68 61 74 20 73 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 that.string...DATA.is.an.alist.o
51940 66 20 74 68 65 20 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 f.the.form.\((KEY1...VAL1).(KEY2
51960 20 2e 20 56 41 4c 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 ...VAL2)....\),.where.KEY.is.a.s
51980 79 6d 62 6f 6c 20 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 ymbol.and.VAL.is.a.string...Gene
519a0 72 61 74 65 20 74 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 rate.the.front-matter.in.the.spe
519c0 63 69 66 69 65 64 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 cified.FORMAT...Valid.values.are
519e0 20 5c 22 74 6f 6d 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 .\"toml\".and.\"yaml\"."...(if.(
51a00 73 74 72 69 6e 67 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 string=.format."yaml").......(or
51a20 67 2d 68 75 67 6f 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 g-hugo--gen-yaml-front-matter.da
51a40 74 61 29 0a 20 20 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 ta).....(let.((tomelr-indent-mul
51a60 74 69 2d 6c 69 6e 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 ti-line-strings.t)).......(forma
51a80 74 20 22 2b 2b 2b 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 t."+++\n%s\n+++\n".(tomelr-encod
51aa0 65 20 64 61 74 61 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 e.data)))))..(defun.org-hugo--se
51ac0 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 20 28 29 0a lective-property-inheritance.().
51ae0 20 20 22 52 65 74 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 .."Return.a.list.of.properties.t
51b00 68 61 74 20 73 68 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 hat.should.be.inherited."...(let
51b20 20 28 28 70 72 6f 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 .((prop-list.'("HUGO_FRONT_MATTE
51b40 52 5f 46 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 R_FORMAT"......................"
51b60 48 55 47 4f 5f 50 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 HUGO_PREFER_HYPHEN_IN_TAGS".....
51b80 20 20 20 20 20 20 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 ................."HUGO_PRESERVE_
51ba0 46 49 4c 4c 49 4e 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 FILLING"......................"H
51bc0 55 47 4f 5f 44 45 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 UGO_DELETE_TRAILING_WS".........
51be0 20 20 20 20 20 20 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 ............."HUGO_ALLOW_SPACES_
51c00 49 4e 5f 54 41 47 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 IN_TAGS"......................"H
51c20 55 47 4f 5f 42 4c 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 UGO_BLACKFRIDAY"................
51c40 20 20 20 20 20 20 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 ......"HUGO_SECTION"............
51c60 20 20 20 20 20 20 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 .........."HUGO_SECTION_FRAG"...
51c80 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 55 4e 44 4c 45 22 ..................."HUGO_BUNDLE"
51ca0 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 41 53 45 ......................"HUGO_BASE
51cc0 5f 44 49 52 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 _DIR"......................"HUGO
51ce0 5f 42 41 53 45 5f 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 _BASE_CONTENT_FOLDER"...........
51d00 20 20 20 20 20 20 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 ..........."HUGO_GOLDMARK"......
51d20 20 20 20 20 20 20 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 ................"HUGO_CODE_FENCE
51d40 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
51d60 54 41 49 4e 45 52 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 TAINER"......................"HT
51d80 4d 4c 5f 43 4f 4e 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 ML_CONTAINER_CLASS".............
51da0 20 20 20 20 20 20 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 ........."HUGO_MENU"............
51dc0 20 20 20 20 20 20 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 .........."HUGO_CUSTOM_FRONT_MAT
51de0 54 45 52 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 TER"......................"HUGO_
51e00 44 52 41 46 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 DRAFT"......................"HUG
51e20 4f 5f 49 53 43 4a 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 O_ISCJKLANGUAGE"................
51e40 20 20 20 20 20 20 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 ......"KEYWORDS"................
51e60 20 20 20 20 20 20 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 ......"HUGO_MARKUP".............
51e80 20 20 20 20 20 20 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 ........."HUGO_OUTPUTS".........
51ea0 20 20 20 20 20 20 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 ............."HUGO_TAGS"........
51ec0 20 20 20 20 20 20 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 .............."HUGO_CATEGORIES".
51ee0 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 53 45 52 49 45 ....................."HUGO_SERIE
51f00 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 54 59 S"......................"HUGO_TY
51f20 50 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 48 55 47 4f 5f 4c PE"......................"HUGO_L
51f40 41 59 4f 55 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 AYOUT"......................"HUG
51f60 4f 5f 57 45 49 47 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 O_WEIGHT"......................"
51f80 48 55 47 4f 5f 52 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 HUGO_RESOURCES".................
51fa0 20 20 20 20 20 22 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 ....."HUGO_FRONT_MATTER_KEY_REPL
51fc0 41 43 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 48 55 47 4f 5f ACE"......................"HUGO_
51fe0 44 41 54 45 5f 46 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 DATE_FORMAT"....................
52000 20 20 22 48 55 47 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 .."HUGO_WITH_LOCALE"............
52020 20 20 20 20 20 20 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 .........."HUGO_LOCALE".........
52040 20 20 20 20 20 20 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 ............."HUGO_PAIRED_SHORTC
52060 4f 44 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 44 41 54 45 ODES"......................"DATE
52080 22 20 3b 55 73 65 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 ".;Useful.for.inheriting.same.da
520a0 74 65 20 74 6f 20 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 te.to.same.posts.in.different.la
520c0 6e 67 75 61 67 65 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 nguages......................"HU
520e0 47 4f 5f 50 55 42 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 GO_PUBLISHDATE".................
52100 20 20 20 20 20 22 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 ....."HUGO_EXPIRYDATE"..........
52120 20 20 20 20 20 20 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 ............"HUGO_LASTMOD"......
52140 20 20 20 20 20 20 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 ................"HUGO_SLUG".;Use
52160 66 75 6c 20 66 6f 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 ful.for.inheriting.same.slug.to.
52180 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
521a0 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 41 4e s......................"HUGO_PAN
521c0 44 4f 43 5f 43 49 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 DOC_CITATIONS"..................
521e0 20 20 20 20 22 42 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 ...."BIBLIOGRAPHY"..............
52200 20 20 20 20 20 20 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 ........"HUGO_AUTO_SET_LASTMOD".
52220 20 20 20 20 20 20 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 ....................."LANGUAGE".
52240 20 20 20 20 20 20 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 ....................."AUTHOR"...
52260 20 20 20 20 20 20 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 ..................."OPTIONS"))).
52280 20 20 20 20 28 6d 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 ....(mapcar.(lambda.(str).......
522a0 20 20 20 20 20 20 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 ........(concat."EXPORT_".str)).
522c0 20 20 20 20 20 20 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 ............prop-list)))..(defun
522e0 20 6f 72 67 2d 68 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 .org-hugo--get-valid-subtree.().
52300 20 20 22 52 65 74 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 .."Return.the.Org.element.for.a.
52320 76 61 6c 69 64 20 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 valid.Hugo.post.subtree..The.con
52340 64 69 74 69 6f 6e 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 dition.to.check.validity.is.that
52360 20 74 68 65 20 45 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 .the.EXPORT_FILE_NAME.property.i
52380 73 20 64 65 66 69 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 s.defined.for.the.subtree.elemen
523a0 74 2e 0a 0a 41 73 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 t...As.this.function.is.intended
523c0 20 74 6f 20 62 65 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 .to.be.called.inside.a.valid.Hug
523e0 6f 0a 70 6f 73 74 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 o.post.subtree,.doing.so.also.mo
52400 76 65 73 20 74 68 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 ves.the.point.to.the.beginning.o
52420 66 0a 74 68 65 20 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 f.the.heading.of.that.subtree...
52440 52 65 74 75 72 6e 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 Return.nil.if.a.valid.Hugo.post.
52460 73 75 62 74 72 65 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 subtree.is.not.found...The.point
52480 0a 77 69 6c 6c 20 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 .will.be.moved.in.this.case.too.
524a0 22 0a 20 20 28 6c 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 "...(let*.((subtree.(car.(org-hu
524c0 67 6f 2d 2d 67 65 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 go--get-elem-with-prop.:EXPORT_F
524e0 49 4c 45 5f 4e 41 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 ILE_NAME)))..........(point.(org
52500 2d 65 6c 65 6d 65 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 -element-property.:begin.subtree
52520 29 29 29 20 3b 60 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 ))).;`point'.will.be.nil.if.`sub
52540 74 72 65 65 27 20 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 tree'.is.nil.....(when.point....
52560 20 20 20 28 67 6f 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 ...(goto-char.point)).....subtre
52580 65 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 70 6f 73 74 2d 73 e))..(defun.org-hugo--get-post-s
525a0 75 62 74 72 65 65 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 ubtree-coordinates.(subtree)..."
525c0 52 65 74 75 72 6e 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 Return.the.coordinates.for.the.c
525e0 75 72 72 65 6e 74 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 urrent.valid.Hugo.post.SUBTREE..
52600 0a 54 68 65 20 4f 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 .The.Org.element.returned.by.`or
52620 67 2d 68 75 67 6f 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 g-hugo--get-valid-subtree'.is.a.
52640 76 61 6c 69 64 20 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 valid.Hugo.post.subtree...The.re
52660 74 75 72 6e 65 64 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 turned.value.is.of.type.(LEVEL..
52680 20 49 4e 44 45 58 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 .INDEX).where.LEVEL.is.the.level
526a0 20 6e 75 6d 62 65 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 .number.of.the.subtree.and.INDEX
526c0 20 69 73 20 61 73 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 .is.as.explained.in.the.below.ex
526e0 61 6d 70 6c 65 2e 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 ample...If.we.have....*.Level.1.
52700 20 20 2a 2a 20 4c 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 ..**.Level.A...**.Level.B...**.L
52720 65 76 65 6c 20 43 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 evel.C...*.Level.2..the.INDEX.wi
52740 6c 6c 20 62 65 20 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 ll.be.1.for.Level.1.and.Level.A,
52760 20 32 20 66 6f 72 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 .2.for.Level.B.and.Level.2,.and.
52780 33 20 66 6f 72 20 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 3.for.Level.C...So.the.value.ret
527a0 75 72 6e 65 64 20 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 urned.for.Level.C.will.be.(2...3
527c0 29 2e 22 0a 20 20 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 )."...(save-excursion.....(let.(
527e0 28 6c 65 76 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 6c 65 (level.(org-element-property.:le
52800 76 65 6c 20 73 75 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 vel.subtree))...........(index.1
52820 29 0a 20 20 20 20 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 )...........(current-pos.(point)
52840 29 0a 20 20 20 20 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 )...........(scope.(if.(org-up-h
52860 65 61 64 69 6e 67 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 eading-safe)....................
52880 20 20 27 74 72 65 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 ..'tree.;Map.entries.only.in.par
528a0 65 6e 74 20 73 75 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 ent.subtree.scope.if.parent.exis
528c0 74 73 0a 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 20 3b 45 6c ts....................nil))).;El
528e0 73 65 20 6d 61 70 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 se.map.in.the.whole.buffer.(prov
52900 69 64 65 64 20 74 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 ided.the.MATCH.conditions.below)
52920 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 67 .......;;.(message."[org-hugo--g
52940 65 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 64 62 67 5d et-post-subtree-coordinates.dbg]
52960 20 63 75 72 72 65 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 .current-pos:.%S,.scope:.%S"....
52980 20 20 20 3b 3b 20 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 ...;;..........current-pos.scope
529a0 29 0a 20 20 20 20 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 ).......(when.level.........(org
529c0 2d 6d 61 70 2d 65 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 -map-entries.(lambda.().........
529e0 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 3c 20 28 70 6f 69 ...................(when.(<.(poi
52a00 6e 74 29 20 63 75 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 nt).current-pos)................
52a20 20 20 20 20 20 20 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 ..............(setq.index.(1+.in
52a40 64 65 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 20 20 20 20 20 dex)))).........................
52a60 20 3b 3b 20 4c 6f 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 .;;.Loop.through.only.headings.t
52a80 68 61 74 20 61 72 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 hat.are.at.the..................
52aa0 20 20 20 20 20 20 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 ........;;.same.level.as.SUBTREE
52ac0 2c 20 61 6e 64 20 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 ,.and.those.which.have..........
52ae0 20 20 20 20 20 20 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 ................;;.the.EXPORT_FI
52b00 4c 45 5f 4e 41 4d 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 LE_NAME.property.defined........
52b20 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 2b 4c 45 56 ...................(concat."+LEV
52b40 45 4c 3d 22 20 28 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 EL=".(number-to-string.level)...
52b60 20 20 20 20 20 20 20 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 ..............................."
52b80 2b 45 58 50 4f 52 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 +EXPORT_FILE_NAME<>\"\"").......
52ba0 20 20 20 20 20 20 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 ...................scope).......
52bc0 20 20 28 63 6f 6e 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 ..(cons.level.index)))))..(defun
52be0 20 6f 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 20 28 66 2d .org-hugo--export-file-to-md.(f-
52c00 6f 72 2d 62 2d 6e 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 or-b-name.&optional.async.visibl
52c20 65 2d 6f 6e 6c 79 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 e-only.noerror)..."Export.the.Or
52c40 67 20 66 69 6c 65 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 g.file.as.a.whole...Note:.This.i
52c60 73 20 61 6e 20 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 s.an.internal.function,.use.`org
52c80 2d 68 75 67 6f 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 -hugo-export-wim-to-md'.instead.
52ca0 0a 0a 46 2d 4f 52 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 ..F-OR-B-NAME.is.the.name.of.the
52cc0 20 66 69 6c 65 20 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 .file.or.buffer.(if.not.a.file.b
52ce0 75 66 66 65 72 29 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 uffer).to.be.exported...A.non-ni
52d00 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 65 61 6e 73 20 l.optional.argument.ASYNC.means.
52d20 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 73 79 6e 63 68 the.process.should.happen.asynch
52d40 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 6c 65 20 73 68 ronously...The.resulting.file.sh
52d60 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 74 68 65 0a 60 ould.be.accessible.through.the.`
52d80 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 2e 0a 0a 57 68 org-export-stack'.interface...Wh
52da0 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 4e 4c en.optional.argument.VISIBLE-ONL
52dc0 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 74 65 Y.is.non-nil,.don't.export.conte
52de0 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 52 65 74 75 72 6e 20 nts.of.hidden.elements...Return.
52e00 74 68 65 20 65 78 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 the.exported.file.name.if.the.fi
52e20 6c 65 20 68 61 73 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 le.has.the.#+title.keyword...Els
52e40 65 20 72 65 74 75 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 e.return.nil.and.throw.a.user.er
52e60 72 6f 72 2e 20 20 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 ror...If.NOERROR.is.non-nil,.use
52e80 20 60 6d 65 73 73 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 .`message'.to.display.the.error.
52ea0 6d 65 73 73 61 67 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 message.instead.of.signaling.a.u
52ec0 73 65 72 20 65 72 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 ser.error."...(let*.((info.(org-
52ee0 63 6f 6d 62 69 6e 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 combine-plists.................(
52f00 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
52f20 73 0a 20 20 20 20 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 s..................'hugo.nil.vis
52f40 69 62 6c 65 2d 6f 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 ible-only).................(org-
52f60 65 78 70 6f 72 74 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 export--get-buffer-attributes)..
52f80 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 65 ...............(org-export-get-e
52fa0 6e 76 69 72 6f 6e 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 nvironment.'hugo)))..........(ti
52fc0 74 6c 65 20 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 tle.(car.(plist-get.info.:title)
52fe0 29 29 0a 20 20 20 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 ))..........ret).....(if.title..
53000 20 20 20 20 20 20 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 .......(let*.((all-tags-1.(plist
53020 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 20 20 20 20 20 -get.info.:hugo-tags))..........
53040 20 20 20 20 20 20 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 ......(all-tags.(when.all-tags-1
53060 0a 20 20 20 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 70 6c ............................(spl
53080 69 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 20 20 it-string.......................
530a0 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.
530c0 22 5c 22 22 20 22 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 "\""."".all-tags-1))))..........
530e0 20 20 20 20 20 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 ......(exclude-tags.(plist-get.i
53100 6e 66 6f 20 3a 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 nfo.:exclude-tags)).............
53120 20 20 20 69 73 2d 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 ...is-excluded.matched-exclude-t
53140 61 67 29 0a 20 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 ag)...........(when.all-tags....
53160 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 2d .........;;.(message."[org-hugo-
53180 2d 65 78 70 6f 72 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 -export-file-to-md.DBG].exclude-
531a0 74 61 67 73 20 3d 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 tags.=.%s".exclude-tags)........
531c0 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 64 .....(dolist.(exclude-tag.exclud
531e0 65 2d 74 61 67 73 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 e-tags)...............(when.(mem
53200 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 20 20 20 ber.exclude-tag.all-tags).......
53220 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 6c 75 64 65 2d ..........(setq.matched-exclude-
53240 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 20 20 20 20 20 tag.exclude-tag)................
53260 20 28 73 65 74 71 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 .(setq.is-excluded.t))))........
53280 20 20 20 28 63 6f 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 ...(cond............(is-excluded
532a0 0a 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 5d .............(message."[ox-hugo]
532c0 20 25 73 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 20 74 61 .%s.was.not.exported.as.it.is.ta
532e0 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 22 0a 20 gged.with.an.exclude.tag.`%s'"..
53300 20 20 20 20 20 20 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 ....................f-or-b-name.
53320 6d 61 74 63 68 65 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 matched-exclude-tag))...........
53340 20 20 28 74 0a 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 ..(t.............(message."[ox-h
53360 75 67 6f 5d 20 45 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 ugo].Exporting.`%s'.(%s)".title.
53380 66 2d 6f 72 2d 62 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 f-or-b-name).............(setq.r
533a0 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 20 61 73 79 6e 63 20 et.(org-hugo-export-to-md.async.
533c0 6e 69 6c 20 76 69 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 nil.visible-only)))))........(le
533e0 74 20 28 28 6d 73 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 t.((msg."The.entire.file.is.atte
53400 6d 70 74 65 64 20 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 mpted.to.be.exported,.but.it.is.
53420 6d 69 73 73 69 6e 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 missing.the.#+title.keyword")...
53440 20 20 20 20 20 20 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 ..........(error-fn.(if.noerror.
53460 20 20 20 20 20 20 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 ..........................#'mess
53480 61 67 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 23 27 75 73 age.........................#'us
534a0 65 72 2d 65 72 72 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 er-error))).........(apply.error
534c0 2d 66 6e 0a 20 20 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 -fn................(list.(format
534e0 20 22 5b 6f 78 2d 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 ."[ox-hugo].%s:.%s".f-or-b-name.
53500 6d 73 67 29 29 29 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 msg))))).....ret))..(defun.org-h
53520 75 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 28 26 6f 70 74 69 ugo--export-subtree-to-md.(&opti
53540 6f 6e 61 6c 20 61 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 onal.async.visible-only.all-subt
53560 72 65 65 73 29 0a 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 rees)..."Export.the.current.subt
53580 72 65 65 20 74 6f 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 ree.to.a.Hugo.post...Note:.This.
535a0 69 73 20 61 6e 20 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 is.an.internal.function,.use.`or
535c0 67 2d 68 75 67 6f 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 g-hugo-export-wim-to-md'.instead
535e0 2e 0a 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 ...A.non-nil.optional.argument.A
53600 53 59 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 SYNC.means.the.process.should.ha
53620 70 70 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 ppen.asynchronously...The.result
53640 69 6e 67 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 ing.file.should.be.accessible.th
53660 72 6f 75 67 68 20 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 rough.the.`org-export-stack'.int
53680 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.
536a0 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 6e 27 74 20 65 VISIBLE-ONLY.is.non-nil,.don't.e
536c0 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 65 6d 65 6e 74 xport.contents.of.hidden.element
536e0 73 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 41 4c 4c 2d 53 s...When.optional.argument.ALL-S
53700 55 42 54 52 45 45 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 UBTREES.is.non-nil,.print.the.su
53720 62 74 72 65 65 2d 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 btree-number.being.exported...-.
53740 49 66 20 70 6f 69 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 If.point.is.under.a.valid.Hugo.p
53760 6f 73 74 20 73 75 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 ost.subtree,.export.it,.and...al
53780 73 6f 20 72 65 74 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 so.return.the.exported.file.name
537a0 2e 0a 0a 2d 20 49 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 ...-.If.point.is.not.under.a.val
537c0 69 64 20 48 75 67 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 id.Hugo.post.subtree,.but.one.ex
537e0 69 73 74 73 0a 20 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 ists...elsewhere.in.the.Org.file
53800 2c 20 64 6f 20 6e 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 ,.do.not.export.anything,.but.st
53820 69 6c 6c 0a 20 20 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 ill...return.t...-.Else,.return.
53840 6e 69 6c 2e 22 0a 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 nil."...(let.((subtree.(org-hugo
53860 2d 2d 67 65 74 2d 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 --get-valid-subtree))).....(if.s
53880 75 62 74 72 65 65 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 ubtree.........;;.If.subtree.is.
538a0 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 2c 20 70 72 6f 63 65 a.valid.Hugo.post.subtree,.proce
538c0 65 64 20 2e 2e 0a 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 ed............(let*.((info.(org-
538e0 63 6f 6d 62 69 6e 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 combine-plists..................
53900 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 6f 72 74 2d 61 74 74 .....(org-export--get-export-att
53920 72 69 62 75 74 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 27 ributes........................'
53940 68 75 67 6f 20 73 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 hugo.subtree.visible-only)......
53960 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 67 65 .................(org-export--ge
53980 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 20 20 20 20 t-buffer-attributes)............
539a0 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 65 6e 76 69 72 ...........(org-export-get-envir
539c0 6f 6e 6d 65 6e 74 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 onment.'hugo.subtree))).........
539e0 20 20 20 20 20 20 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 .......(exclude-tags.(plist-get.
53a00 69 6e 66 6f 20 3a 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 info.:exclude-tags))............
53a20 20 20 20 20 28 69 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 ....(is-commented.(cdr.(org-hugo
53a40 2d 2d 67 65 74 2d 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 --get-elem-with-prop.:commentedp
53a60 29 29 29 0a 20 20 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 )))................(commented-he
53a80 61 64 69 6e 67 20 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 ading.(when.is-commented........
53aa0 20 20 20 20 20 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
53ac0 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 0a 20 20 20 20 20 20 g-element-property.:title.......
53ae0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
53b00 28 63 61 72 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 (car.(org-hugo--get-elem-with-pr
53b20 6f 70 20 3a 63 6f 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 op.:commentedp))))).............
53b40 20 20 20 69 73 2d 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 ...is-excluded.matched-exclude-t
53b60 61 67 20 72 65 74 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 ag.ret)...........;;.(message."[
53b80 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 74 6f 2d 6d 64 20 44 org-hugo--export-subtree-to-md.D
53ba0 42 47 5d 20 65 78 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 BG].exclude-tags.=...........;;.
53bc0 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 28 6c 65 74 %s".exclude-tags)...........(let
53be0 20 28 28 61 6c 6c 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 .((all-tags.(let.((org-use-tag-i
53c00 6e 68 65 72 69 74 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 nheritance.t))..................
53c20 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 74 61 67 73 29 29 ...........(org-hugo--get-tags))
53c40 29 29 0a 20 20 20 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 )).............(when.all-tags...
53c60 20 20 20 20 20 20 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 ............(dolist.(exclude-tag
53c80 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 20 20 20 20 28 .exclude-tags).................(
53ca0 77 68 65 6e 20 28 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 when.(member.exclude-tag.all-tag
53cc0 73 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 6d 61 74 63 68 s)...................(setq.match
53ce0 65 64 2d 65 78 63 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 ed-exclude-tag.exclude-tag).....
53d00 20 20 20 20 20 20 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 ..............(setq.is-excluded.
53d20 74 29 29 29 29 29 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 t)))))............;;.(message."[
53d40 63 75 72 72 65 6e 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 current.subtree.DBG].subtree:.%S
53d60 22 20 73 75 62 74 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 ".subtree)...........;;.(message
53d80 20 22 5b 63 75 72 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 ."[current.subtree.DBG].is-comme
53da0 6e 74 65 64 3a 25 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 nted:%S,.tags:%S,...........;;.i
53dc0 73 2d 65 78 63 6c 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 s-excluded:%S".is-commented.tags
53de0 20 69 73 2d 65 78 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 .is-excluded)...........(let.((t
53e00 69 74 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 69 74 6c itle.(org-element-property.:titl
53e20 65 20 73 75 62 74 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 e.subtree)).................;;.F
53e40 49 58 4d 45 3a 20 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 IXME:.Sometimes.`org-get-outline
53e60 2d 70 61 74 68 27 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 -path'.returns.the..............
53e80 20 20 20 3b 3b 20 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 ...;;.list.with.empty.string.ele
53ea0 6d 65 6e 74 73 2e 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 ments..It's.not.clear...........
53ec0 20 20 20 20 20 20 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 ......;;.why,.but.the.below.`cl-
53ee0 64 65 6c 65 74 65 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 delete-if'.workarounds.works....
53f00 20 20 20 20 20 20 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 .............;;.(for.now).......
53f20 20 20 20 20 20 20 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 ...........(current-outline-path
53f40 20 28 63 6c 2d 64 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 .(cl-delete-if..................
53f60 20 20 20 20 20 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 65 ......................(lambda.(e
53f80 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 20 l)..............................
53fa0 20 20 20 20 20 20 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 ............(string=.el.""))....
53fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
53fe0 20 20 20 20 28 6f 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 ....(org-get-outline-path.:with-
54000 73 65 6c 66 29 29 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 self))).................;;.When.
54020 62 61 74 63 68 2d 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 batch-exporting.subtrees,.do.not
54040 20 63 61 6c 6c 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 68 75 .call.................;;.`org-hu
54060 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 27 20 go--after-all-exports-function'.
54080 61 66 74 65 72 20 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 after.each.................;;.su
540a0 62 74 72 65 65 20 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 btree.export...In.that.case,.tha
540c0 74 20 66 75 6e 63 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 t.function.is.................;;
540e0 20 63 61 6c 6c 65 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 .called.*after*.looping.through.
54100 61 6c 6c 20 74 68 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 all.the.post.................;;.
54120 73 75 62 74 72 65 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 subtrees..................(org-h
54140 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 68 ugo--disable-after-all-exports-h
54160 6f 6f 6b 20 61 6c 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 ook.all-subtrees)).............;
54180 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 74 2d 73 75 ;.(message."[org-hugo--export-su
541a0 62 74 72 65 65 2d 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 btree-to-md.dbg].@.point.%S,.cur
541c0 72 65 6e 74 2d 6f 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 rent-outline-path:.%S"..........
541e0 20 20 20 3b 3b 20 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 ...;;..........(point).current-o
54200 75 74 6c 69 6e 65 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 utline-path).............(cond..
54220 20 20 20 20 20 20 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 ............(is-commented.......
54240 20 20 20 20 20 20 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 ........(if.(string=.title.comme
54260 6e 74 65 64 2d 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 nted-heading)...................
54280 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 77 61 73 20 6e 6f 74 (message."[ox-hugo].`%s'.was.not
542a0 20 65 78 70 6f 72 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 .exported.as.it.is.commented.out
542c0 22 20 74 69 74 6c 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 ".title).................(messag
542e0 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 74 e."[ox-hugo].`%s'.was.not.export
54300 65 64 20 61 73 20 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 ed.as.one.of.its.parent.subtrees
54320 20 60 25 73 27 20 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 .`%s'.is.commented.out".........
54340 20 20 20 20 20 20 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 .................title.commented
54360 2d 68 65 61 64 69 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 -heading)))..............(is-exc
54380 6c 75 64 65 64 0a 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 luded...............(message."[o
543a0 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 74 65 64 20 61 73 x-hugo].`%s'.was.not.exported.as
543c0 20 69 74 20 69 73 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 .it.is.tagged.with.an.exclude.ta
543e0 67 20 60 25 73 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 74 g.`%s'"........................t
54400 69 74 6c 65 20 6d 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 itle.matched-exclude-tag))......
54420 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 28 69 66 20 61 6c 6c ........(t...............(if.all
54440 2d 73 75 62 74 72 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 -subtrees...................(pro
54460 67 6e 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 20 6f 72 67 gn.....................(setq.org
54480 2d 68 75 67 6f 2d 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 -hugo--subtree-count.(1+.org-hug
544a0 6f 2d 2d 73 75 62 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 o--subtree-count))..............
544c0 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 64 2f 20 45 .......(message."[ox-hugo].%d/.E
544e0 78 70 6f 72 74 69 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 xporting.`%s'...".org-hugo--subt
54500 72 65 65 2d 63 6f 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 ree-count.title))...............
54520 20 20 28 6d 65 73 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 ..(message."[ox-hugo].Exporting.
54540 60 25 73 27 20 2e 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 `%s'...".title))................
54560 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 74 2d 73 ;;.(message."[org-hugo--export-s
54580 75 62 74 72 65 65 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 ubtree-to-md.dbg].EXPORT_HUGO_ME
545a0 4e 55 20 76 61 6c 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 NU.value:.%S"...............;;..
545c0 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
545e0 52 54 5f 48 55 47 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 RT_HUGO_MENU".:inherit))........
54600 20 20 20 20 20 20 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 .......;;.Get.the.current.subtre
54620 65 20 63 6f 6f 72 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 e.coordinates.for...............
54640 3b 3b 20 61 75 74 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 ;;.auto-calculation.of.menu.item
54660 20 77 65 69 67 68 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 .weight,.page.or...............;
54680 3b 20 74 61 78 6f 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 ;.taxonomy.weights..............
546a0 20 20 20 20 28 77 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 ....(when.(or...................
546c0 20 20 20 3b 3b 20 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 ...;;....if.the.menu.front-matte
546e0 72 20 69 73 20 73 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 r.is.specified..................
54700 20 20 20 20 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 28 .....(or.......................(
54720 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 4d org-entry-get.nil."EXPORT_HUGO_M
54740 45 4e 55 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 ENU".:inherit)..................
54760 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 20 20 20 20 20 20 20 .....(save-excursion............
54780 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 70 6f 69 6e 74 2d 6d .............(goto-char.(point-m
547a0 69 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 20 20 28 6c 65 in)).........................(le
547c0 74 20 28 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 t.((case-fold-search.t))........
547e0 20 20 20 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 ...................(re-search-fo
54800 72 77 61 72 64 20 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 rward."^#\\+hugo_menu:.*:menu".n
54820 69 6c 20 3a 6e 6f 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 il.:noerror)))).................
54840 20 20 20 20 20 3b 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 .....;;....or.if.auto-calculatio
54860 6e 20 69 73 20 6e 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 n.is.needed.for.page............
54880 20 20 20 20 20 20 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 ..........;;.or.taxonomy.weights
548a0 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 0a 20 20 20 20 20 .......................(or......
548c0 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 61 67 65 2d 6f 72 2d .................(let.((page-or-
548e0 74 61 78 6f 6e 6f 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 taxonomy-weight.(org-entry-get.n
54900 69 6c 20 22 45 58 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 il."EXPORT_HUGO_WEIGHT".:inherit
54920 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 61 6e 64 ))).........................(and
54940 20 28 73 74 72 69 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 .(stringp.page-or-taxonomy-weigh
54960 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)..............................
54980 28 73 74 72 69 6e 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 (string-match-p."auto".page-or-t
549a0 61 78 6f 6e 6f 6d 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 axonomy-weight)))...............
549c0 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 20 20 20 20 ........(save-excursion.........
549e0 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 70 6f 69 6e ................(goto-char.(poin
54a00 74 2d 6d 69 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 20 20 t-min)).........................
54a20 28 6c 65 74 20 28 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 (let.((case-fold-search.t)).....
54a40 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 2d 73 65 61 72 63 68 ......................(re-search
54a60 2d 66 6f 72 77 61 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 -forward."^#\\+hugo_weight:.*aut
54a80 6f 22 20 6e 69 6c 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 o".nil.:noerror)))))............
54aa0 20 20 20 20 20 28 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 .....(setq.org-hugo--subtree-coo
54ac0 72 64 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 68 75 rd.......................(org-hu
54ae0 67 6f 2d 2d 67 65 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 go--get-post-subtree-coordinates
54b00 20 73 75 62 74 72 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 .subtree)))................(let.
54b20 28 28 62 75 66 66 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 ((buffer.(if.org-hugo--preproces
54b40 73 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 s-buffer........................
54b60 20 20 20 20 20 20 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 .........(let.((pre-proc-buf.(or
54b80 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 0a 20 .org-hugo--preprocessed-buffer..
54ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
54bc0 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 67 6f .......................(org-hugo
54be0 2d 2d 67 65 74 2d 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 --get-pre-processed-buffer))))..
54c00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
54c20 20 28 75 6e 6c 65 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 .(unless.org-hugo--preprocessed-
54c40 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 20 buffer..........................
54c60 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 2d 70 72 65 70 72 ...........(setq.org-hugo--prepr
54c80 6f 63 65 73 73 65 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 ocessed-buffer.pre-proc-buf)....
54ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
54cc0 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 64 2d .(add-to-list.'org-hugo--opened-
54ce0 62 75 66 66 65 72 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 buffers.pre-proc-buf))..........
54d00 20 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 72 65 2d 70 72 6f .........................pre-pro
54d20 63 2d 62 75 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 c-buf)..........................
54d40 20 20 20 20 20 28 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 .....(current-buffer))))........
54d60 20 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 66 65 72 20 62 75 .........(with-current-buffer.bu
54d80 66 66 65 72 0a 20 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 ffer...................(goto-cha
54da0 72 20 28 6f 72 67 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 r.(org-find-olp.current-outline-
54dc0 70 61 74 68 20 3a 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 path.:this-buffer)).............
54de0 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 65 78 70 6f 72 74 ......(setq.ret.(org-hugo-export
54e00 2d 74 6f 2d 6d 64 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 -to-md.async.:subtreep.visible-o
54e20 6e 6c 79 29 29 29 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 nly)))))))...........ret).......
54e40 20 3b 3b 20 49 66 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 .;;.If.the.point.is.not.in.a.val
54e60 69 64 20 73 75 62 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 id.subtree,.check.if.there's.a..
54e80 20 20 20 20 20 3b 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 .....;;.valid.subtree.elsewhere.
54ea0 69 6e 20 74 68 65 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 in.the.same.Org.file........(let
54ec0 20 28 28 76 61 6c 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 .((valid-subtree-found.(org-hugo
54ee0 2d 2d 62 75 66 66 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 --buffer-has-valid-post-subtree-
54f00 70 29 29 29 0a 20 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 p))).........(when.valid-subtree
54f20 2d 66 6f 75 6e 64 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 -found...........(message."Point
54f40 20 69 73 20 6e 6f 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 .is.not.in.a.valid.Hugo.post.sub
54f60 74 72 65 65 3b 20 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 tree;.move.to.one.and.try.again"
54f80 29 29 0a 20 20 20 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 )).........valid-subtree-found))
54fa0 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 70 72 65 2d 70 72 6f ))..(defun.org-hugo--get-pre-pro
54fc0 63 65 73 73 65 64 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 cessed-buffer.()..."Return.a.pre
54fe0 2d 70 72 6f 63 65 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 -processed.copy.of.the.current.b
55000 75 66 66 65 72 2e 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 uffer...Internal.links.to.other.
55020 73 75 62 74 72 65 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 subtrees.are.converted.to.extern
55040 61 6c 0a 6c 69 6e 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 al.links."...(let.((pre-processe
55060 64 2d 62 75 66 66 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 d-buffer-prefix."*Ox-hugo.Pre-pr
55080 6f 63 65 73 73 65 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 ocessed.")).....(let*.(;;.Create
550a0 20 61 6e 20 61 62 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 .an.abstract.syntax.tree.(AST).o
550c0 66 20 74 68 65 20 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 f.the.Org.document............;;
550e0 20 69 6e 20 74 68 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 .in.the.current.buffer..........
55100 20 20 20 28 61 73 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 ...(ast.(org-element-parse-buffe
55120 72 29 29 0a 20 20 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 r))............(org-use-property
55140 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 69 76 -inheritance.(org-hugo--selectiv
55160 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 20 20 e-property-inheritance))........
55180 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 73 74 73 0a 20 20 ....(info.(org-combine-plists...
551a0 20 20 20 20 20 20 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 ................(list.:parse-tre
551c0 65 20 61 73 74 29 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 e.ast)...................(org-ex
551e0 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 20 27 68 75 67 port--get-export-attributes.'hug
55200 6f 29 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 o)...................(org-export
55220 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)........
55240 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 65 6e 76 69 72 ...........(org-export-get-envir
55260 6f 6e 6d 65 6e 74 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 onment.'hugo))))........;;.Proce
55280 73 73 20 61 6c 6c 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 ss.all.link.elements.in.the.AST.
552a0 0a 20 20 20 20 20 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 .......(org-element-map.ast.'(li
552c0 6e 6b 20 73 70 65 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 nk.special-block).........(lambd
552e0 61 20 28 65 6c 29 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 a.(el)...........(let.((el-type.
55300 28 6f 72 67 2d 65 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 (org-element-type.el))).........
55320 20 20 20 20 28 63 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 ....(cond..............((equal.'
55340 6c 69 6e 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 28 6c 65 74 link.el-type)...............(let
55360 20 28 28 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 74 .((type.(org-element-property.:t
55380 79 70 65 20 65 6c 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 ype.el))).................(when.
553a0 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 64 22 20 (member.type.'("custom-id"."id".
553c0 22 66 75 7a 7a 79 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 "fuzzy"))...................(let
553e0 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 6f 70 65 72 *.((raw-link.(org-element-proper
55400 74 79 20 3a 72 61 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 ty.:raw-link.el))...............
55420 20 20 20 20 20 20 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 ...........(destination.........
55440 20 20 20 20 20 20 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 ..................;;.Derived.fro
55460 6d 20 6f 78 2e 65 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 m.ox.el.->.`org-export-data'...I
55480 66 20 61 20 62 72 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 f.a.broken.link.is.seen.........
554a0 20 20 20 20 20 20 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 ..................;;.and.if.`bro
554c0 6b 65 6e 2d 6c 69 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 ken-links'.option.is.not.nil,.ig
554e0 6e 6f 72 65 20 74 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 nore.the.error..................
55500 20 20 20 20 20 20 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 ..........(condition-case.err...
55520 20 20 20 20 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.
55540 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 20 20 (string=.type."fuzzy")..........
55560 20 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
55580 70 6f 72 74 2d 72 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 port-resolve-fuzzy-link.el.info)
555a0 0a 20 20 20 20 20 20 20 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 28 6f 72 67 2d 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 .(org-export-resolve-id-link.el.
555e0 28 6f 72 67 2d 65 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 (org-export--collect-tree-proper
55600 74 69 65 73 20 61 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 ties.ast.info)))................
55620 20 20 20 20 20 20 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 .............(org-link-broken...
55640 20 20 20 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
55660 73 73 20 28 6f 72 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 ss.(or.(plist-get.info.:with-bro
55680 6b 65 6e 2d 6c 69 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 ken-links)......................
556a0 20 20 20 20 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 74 68 65 ....................;;.Parse.the
556c0 20 60 3a 45 58 50 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 .`:EXPORT_OPTIONS'.property.if.s
556e0 65 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 et..............................
55700 20 20 20 20 20 20 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 ............;;.in.a.parent.headi
55720 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 20 20 20 20 20 20 ng..............................
55740 20 20 20 20 20 20 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 .............(plist-get.........
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 20 20 20 20 ................................
55780 20 20 28 6f 72 67 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 ..(org-export--parse-option-keyw
557a0 6f 72 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 ord.............................
557c0 20 20 20 20 20 20 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 ...............(or.(cdr.(org-hug
557e0 6f 2d 2d 67 65 74 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 o--get-elem-with-prop...........
55800 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55820 20 20 20 20 20 20 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 ...........:EXPORT_OPTIONS......
55840 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55860 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
55880 70 65 72 74 79 20 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 perty.:begin.el)))..............
558a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
558c0 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 ..""))..........................
558e0 20 20 20 20 20 20 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 .................:with-broken-li
55900 6e 6b 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 nks))...........................
55920 20 20 20 20 20 28 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 .....(user-error."Unable.to.reso
55940 6c 76 65 20 6c 69 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 lve.link:.%S".(nth.1.err))))))..
55960 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 6f 75 72 63 65 2d ........................(source-
55980 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 2d 73 6c 75 67 path.(org-hugo--heading-get-slug
559a0 20 65 6c 20 69 6e 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 .el.info.:inherit-export-file-na
559c0 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 28 64 me))..........................(d
559e0 65 73 74 69 6e 61 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 estination-path.(org-hugo--headi
55a00 6e 67 2d 67 65 74 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 ng-get-slug.destination.info.:in
55a20 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 20 20 20 20 20 20 herit-export-file-name))........
55a40 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 74 69 6f 6e 2d 74 ..................(destination-t
55a60 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 69 6e 61 74 69 6f ype.(org-element-type.destinatio
55a80 6e 29 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 6d 65 73 n))).....................;;.(mes
55aa0 73 61 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 sage."[ox-hugo.pre.process.DBG].
55ac0 64 65 73 74 69 6e 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 destination-type.:.%s".destinati
55ae0 6f 6e 2d 74 79 70 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 on-type)......................;;
55b00 20 43 68 61 6e 67 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 .Change.the.link.if.it.points.to
55b20 20 61 20 76 61 6c 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 .a.valid.....................;;.
55b40 64 65 73 74 69 6e 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 destination.outside.the.subtree.
55b60 0a 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
55b80 20 20 28 65 71 75 61 6c 20 73 6f 75 72 63 65 2d 70 61 74 68 20 64 65 73 74 69 6e 61 74 69 6f 6e ..(equal.source-path.destination
55ba0 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 20 20 -path)..........................
55bc0 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 69 64 22 29 ........(and.(string=.type."id")
55be0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55c00 20 20 20 20 20 20 20 28 6f 72 67 2d 69 64 2d 66 69 6e 64 2d 69 64 2d 66 69 6c 65 0a 20 20 20 20 .......(org-id-find-id-file.....
55c20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55c40 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 70 61 74 68 20 65 ...(org-element-property.:path.e
55c60 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 28 6c 65 74 l)))).......................(let
55c80 20 28 28 6c 69 6e 6b 2d 64 65 73 63 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e .((link-desc.(org-element-conten
55ca0 74 73 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 20 20 20 20 ts.el)))........................
55cc0 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
55ce0 73 73 20 44 42 47 5d 20 6c 69 6e 6b 20 64 65 73 63 3a 20 25 73 22 20 6c 69 6e 6b 2d 64 65 73 63 ss.DBG].link.desc:.%s".link-desc
55d00 29 0a 0a 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 4f 76 )..........................;;.Ov
55d20 65 72 72 69 64 65 20 74 68 65 20 6c 69 6e 6b 20 74 79 70 65 73 20 74 6f 20 62 65 20 66 69 6c 65 erride.the.link.types.to.be.file
55d40 73 2e 20 20 57 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 3b s...We.........................;
55d60 3b 20 77 69 6c 6c 20 62 65 20 75 73 69 6e 67 20 6f 75 74 2d 6f 66 2d 73 75 62 74 72 65 65 20 6c ;.will.be.using.out-of-subtree.l
55d80 69 6e 6b 73 20 61 73 20 6c 69 6e 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 inks.as.links...................
55da0 20 20 20 20 20 20 3b 3b 20 74 6f 20 64 75 6d 6d 79 20 66 69 6c 65 73 20 77 69 74 68 0a 20 20 20 ......;;.to.dummy.files.with....
55dc0 20 20 20 20 20 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 .....................;;.`org-hug
55de0 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 6c o--preprocessed-buffer-dummy-fil
55e00 65 2d 73 75 66 66 69 78 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e-suffix'.......................
55e20 20 20 3b 3b 20 73 75 66 66 69 78 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..;;.suffix.....................
55e40 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 74 79 20 65 .....(org-element-put-property.e
55e60 6c 20 3a 74 79 70 65 20 22 66 69 6c 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 l.:type."file").................
55e80 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 74 ........(org-element-put-propert
55ea0 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 65 6c 20 3a 70 y..........................el.:p
55ec0 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 28 63 6f ath..........................(co
55ee0 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 3b 3b 20 nd...........................;;.
55f00 49 66 20 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 73 20 61 20 68 65 61 64 69 6e 67 20 If.the.destination.is.a.heading.
55f20 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 20 20 20 with.the........................
55f40 20 20 20 3b 3b 20 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 79 ...;;.:EXPORT_FILE_NAME.property
55f60 20 64 65 66 69 6e 65 64 2c 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .defined,.the...................
55f80 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6e 6b 20 73 68 6f 75 6c 64 20 70 6f 69 6e 74 20 74 6f 20 ........;;.link.should.point.to.
55fa0 74 68 65 20 66 69 6c 65 20 28 77 69 74 68 6f 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 the.file.(without...............
55fc0 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6e 63 68 6f 72 29 2e 0a 20 20 20 20 20 20 20 20 ............;;.anchor)..........
55fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d ..................((org-element-
56000 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 45 20 64 65 73 74 69 property.:EXPORT_FILE_NAME.desti
56020 6e 61 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 nation).........................
56040 20 20 20 28 63 6f 6e 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 ...(concat.destination-path.org-
56060 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 2d 64 75 6d 6d 79 2d hugo--preprocessed-buffer-dummy-
56080 66 69 6c 65 2d 73 75 66 66 69 78 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 file-suffix))...................
560a0 20 20 20 20 20 20 20 20 3b 3b 20 48 75 67 6f 20 6f 6e 6c 79 20 73 75 70 70 6f 72 74 73 20 61 6e ........;;.Hugo.only.supports.an
560c0 63 68 6f 72 73 20 74 6f 20 68 65 61 64 69 6e 67 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 chors.to.headings,..............
560e0 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 6f 20 69 66 20 61 20 22 66 75 7a 7a 79 22 20 .............;;.so.if.a."fuzzy".
56100 74 79 70 65 20 6c 69 6e 6b 20 70 6f 69 6e 74 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 type.link.points.to.............
56120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 20 74 ..............;;.anything.else.t
56140 68 61 6e 20 61 20 68 65 61 64 69 6e 67 2c 20 69 74 20 73 68 6f 75 6c 64 0a 20 20 20 20 20 20 20 han.a.heading,.it.should........
56160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 6f 69 6e 74 20 74 6f 20 74 ...................;;.point.to.t
56180 68 65 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 he.file.........................
561a0 20 20 20 28 28 61 6e 64 20 28 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 66 75 7a 7a 79 22 29 0a ...((and.(string=.type."fuzzy").
561c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
561e0 28 6e 6f 74 20 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 20 22 2a 22 20 72 61 77 2d 6c 69 (not.(string-prefix-p."*".raw-li
56200 6e 6b 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 nk)))...........................
56220 20 28 63 6f 6e 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 .(concat.destination-path.org-hu
56240 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
56260 6c 65 2d 73 75 66 66 69 78 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 le-suffix)).....................
56280 20 20 20 20 20 20 3b 3b 20 49 6e 20 22 63 75 73 74 6f 6d 2d 69 64 22 20 74 79 70 65 20 6c 69 6e ......;;.In."custom-id".type.lin
562a0 6b 73 2c 20 74 68 65 20 72 61 77 2d 6c 69 6e 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ks,.the.raw-link................
562c0 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6d 61 74 63 68 65 73 20 74 68 65 20 61 6e 63 68 6f 72 ...........;;.matches.the.anchor
562e0 20 6f 66 20 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 .of.the.destination.............
56300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 63 ...............((string=.type."c
56320 75 73 74 6f 6d 2d 69 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 ustom-id")......................
56340 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 2d 70 61 74 68 20 6f ......(concat.destination-path.o
56360 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 2d 64 75 6d rg-hugo--preprocessed-buffer-dum
56380 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 20 22 3a 3a 22 20 72 61 77 2d 6c 69 6e 6b 29 29 0a 20 my-file-suffix."::".raw-link))..
563a0 20 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 6e 20 22 .........................;;.In."
563c0 69 64 22 20 61 6e 64 20 22 66 75 7a 7a 79 22 20 74 79 70 65 20 6c 69 6e 6b 73 2c 20 74 68 65 20 id".and."fuzzy".type.links,.the.
563e0 61 6e 63 68 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 20 20 anchor..........................
56400 20 3b 3b 20 6f 66 20 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 73 20 64 65 72 69 76 65 .;;.of.the.destination.is.derive
56420 64 20 66 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 d.from.the......................
56440 20 20 20 20 20 3b 3b 20 3a 43 55 53 54 4f 4d 5f 49 44 20 70 72 6f 70 65 72 74 79 20 6f 72 20 74 .....;;.:CUSTOM_ID.property.or.t
56460 68 65 20 74 69 74 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 he.title........................
56480 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 20 20 20 20 20 20 20 ....(t..........................
564a0 20 20 28 6c 65 74 20 28 28 61 6e 63 68 6f 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 ..(let.((anchor.(org-hugo--get-a
564c0 6e 63 68 6f 72 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 nchor.destination.info))).......
564e0 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
56500 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
56520 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 20 cessed-buffer-dummy-file-suffix.
56540 22 3a 3a 23 22 20 61 6e 63 68 6f 72 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "::#".anchor)))))...............
56560 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 6c 69 6e 6b 20 64 65 73 74 69 6e 61 ..........;;.If.the.link.destina
56580 74 69 6f 6e 20 69 73 20 61 20 68 65 61 64 69 6e 67 20 61 6e 64 20 69 66 0a 20 20 20 20 20 20 20 tion.is.a.heading.and.if........
565a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 75 73 65 72 20 68 61 73 6e 27 74 20 .................;;.user.hasn't.
565c0 73 65 74 20 74 68 65 20 6c 69 6e 6b 20 64 65 73 63 72 69 70 74 69 6f 6e 2c 20 73 65 74 20 74 68 set.the.link.description,.set.th
565e0 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 3b 3b 20 64 65 73 e.........................;;.des
56600 63 72 69 70 74 69 6f 6e 20 74 6f 20 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 68 65 61 64 cription.to.the.destination.head
56620 69 6e 67 20 74 69 74 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 ing.title.......................
56640 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 6e 75 6c 6c 20 6c 69 6e 6b 2d 64 65 73 63 29 0a 20 ...(when.(and.(null.link-desc)..
56660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
56680 20 20 28 65 71 75 61 6c 20 27 68 65 61 64 6c 69 6e 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 ..(equal.'headline.destination-t
566a0 79 70 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 20 ype))...........................
566c0 28 6c 65 74 20 28 28 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 (let.((heading-title............
566e0 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
56700 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 20 20 t-data-with-backend.............
56720 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 65 ......................(org-eleme
56740 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 69 74 6c 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 20 nt-property.:title.destination).
56760 27 61 73 63 69 69 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 'ascii.info)))..................
56780 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 6f ...........;;.(message."[ox-hugo
567a0 20 70 72 65 20 70 72 6f 63 65 73 73 20 44 42 47 5d 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 68 65 .pre.process.DBG].destination.he
567c0 61 64 69 6e 67 3a 20 25 73 22 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 29 0a 20 20 20 20 20 20 ading:.%s".heading-title).......
567e0 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 65 ......................(org-eleme
56800 6e 74 2d 73 65 74 2d 63 6f 6e 74 65 6e 74 73 20 65 6c 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 nt-set-contents.el.heading-title
56820 29 29 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 27 )))))))))..............((equal.'
56840 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 65 6c 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 special-block.el-type)..........
56860 20 20 20 20 20 3b 3b 20 48 61 6e 64 6c 65 20 65 6d 70 74 79 20 4f 72 67 20 73 70 65 63 69 61 6c .....;;.Handle.empty.Org.special
56880 20 62 6c 6f 63 6b 73 2e 20 20 57 68 65 6e 20 65 6d 70 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 .blocks...When.empty............
568a0 20 20 20 3b 3b 20 62 6c 6f 63 6b 73 20 61 72 65 20 66 6f 75 6e 64 2c 20 73 65 74 20 74 68 61 74 ...;;.blocks.are.found,.set.that
568c0 20 65 6c 65 6d 65 6e 74 73 20 63 6f 6e 74 65 6e 74 20 61 73 20 22 22 0a 20 20 20 20 20 20 20 20 .elements.content.as."".........
568e0 20 20 20 20 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 6f 66 20 6e 69 6c 2e 0a 20 20 20 20 20 20 20 ......;;.instead.of.nil.........
56900 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 .......(unless.(org-element-cont
56920 65 6e 74 73 20 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c ents.el).................(org-el
56940 65 6d 65 6e 74 2d 61 64 6f 70 74 2d 65 6c 65 6d 65 6e 74 73 20 65 6c 20 22 22 29 29 29 29 29 0a ement-adopt-elements.el.""))))).
56960 20 20 20 20 20 20 20 20 20 20 6e 69 6c 29 29 20 3b 4d 69 6e 6f 72 20 70 65 72 66 6f 72 6d 61 6e ..........nil)).;Minor.performan
56980 63 65 20 6f 70 74 69 6d 69 7a 61 74 69 6f 6e 3a 20 4d 61 6b 65 20 60 6f 72 67 2d 65 6c 65 6d 65 ce.optimization:.Make.`org-eleme
569a0 6e 74 2d 6d 61 70 27 20 6c 61 6d 62 64 61 20 72 65 74 75 72 6e 20 61 20 6e 69 6c 2e 0a 0a 20 20 nt-map'.lambda.return.a.nil.....
569c0 20 20 20 20 28 77 68 65 6e 20 28 76 65 72 73 69 6f 6e 3c 20 22 32 35 2e 39 39 22 20 65 6d 61 63 ....(when.(version<."25.99".emac
569e0 73 2d 76 65 72 73 69 6f 6e 29 20 3b 60 6b 69 6c 6c 2d 6d 61 74 63 68 69 6e 67 2d 62 75 66 66 65 s-version).;`kill-matching-buffe
56a00 72 73 27 20 67 6f 74 20 60 3a 6e 6f 2d 61 73 6b 27 20 61 72 67 20 69 6e 20 65 6d 61 63 73 20 32 rs'.got.`:no-ask'.arg.in.emacs.2
56a20 36 2e 31 0a 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 2e 73 61 76 61 6e 6.1.........;;.https://git.savan
56a40 6e 61 68 2e 67 6e 75 2e 6f 72 67 2f 63 67 69 74 2f 65 6d 61 63 73 2e 67 69 74 2f 63 6f 6d 6d 69 nah.gnu.org/cgit/emacs.git/commi
56a60 74 2f 3f 69 64 3d 37 30 64 30 31 64 61 63 65 64 64 65 62 34 65 34 63 34 39 63 37 39 34 37 33 63 t/?id=70d01daceddeb4e4c49c79473c
56a80 38 31 34 32 30 66 36 35 66 66 64 32 39 30 0a 20 20 20 20 20 20 20 20 3b 3b 20 46 69 72 73 74 20 81420f65ffd290.........;;.First.
56aa0 6b 69 6c 6c 20 61 6c 6c 20 74 68 65 20 6f 6c 64 20 70 72 65 2d 70 72 6f 63 65 73 73 65 64 20 62 kill.all.the.old.pre-processed.b
56ac0 75 66 66 65 72 73 20 69 66 20 73 74 69 6c 6c 20 6c 65 66 74 20 6f 70 65 6e 0a 20 20 20 20 20 20 uffers.if.still.left.open.......
56ae0 20 20 3b 3b 20 66 6f 72 20 61 6e 79 20 72 65 61 73 6f 6e 2e 0a 20 20 20 20 20 20 20 20 28 6b 69 ..;;.for.any.reason..........(ki
56b00 6c 6c 2d 6d 61 74 63 68 69 6e 67 2d 62 75 66 66 65 72 73 20 28 72 65 67 65 78 70 2d 71 75 6f 74 ll-matching-buffers.(regexp-quot
56b20 65 20 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 2d 70 72 65 66 69 78 29 20 3a e.pre-processed-buffer-prefix).:
56b40 69 6e 74 65 72 6e 61 6c 2d 74 6f 6f 20 3a 6e 6f 2d 61 73 6b 29 29 0a 0a 20 20 20 20 20 20 3b 3b internal-too.:no-ask))........;;
56b60 20 54 75 72 6e 20 74 68 65 20 41 53 54 20 77 69 74 68 20 75 70 64 61 74 65 64 20 6c 69 6e 6b 73 .Turn.the.AST.with.updated.links
56b80 20 69 6e 74 6f 20 61 6e 20 4f 72 67 20 62 75 66 66 65 72 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 .into.an.Org.buffer........(let.
56ba0 28 28 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 20 28 62 75 66 66 65 72 2d 6c 6f 63 61 6c 2d ((local-variables.(buffer-local-
56bc0 76 61 72 69 61 62 6c 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 62 6f 75 6e 64 2d 76 variables)).............(bound-v
56be0 61 72 69 61 62 6c 65 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 6c 69 73 74 2d 62 6f 75 6e 64 ariables.(org-export--list-bound
56c00 2d 76 61 72 69 61 62 6c 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 62 75 66 66 65 72 -variables)).............(buffer
56c20 20 28 67 65 6e 65 72 61 74 65 2d 6e 65 77 2d 62 75 66 66 65 72 20 28 63 6f 6e 63 61 74 20 70 72 .(generate-new-buffer.(concat.pr
56c40 65 2d 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 2d 70 72 65 66 69 78 20 28 62 75 66 66 65 e-processed-buffer-prefix.(buffe
56c60 72 2d 6e 61 6d 65 29 20 22 20 2a 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 77 69 74 68 2d 63 r-name).".*")))).........(with-c
56c80 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 28 urrent-buffer.buffer...........(
56ca0 6c 65 74 20 28 76 61 72 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f let.(vars).............(org-hugo
56cc0 2d 2d 6f 72 67 2d 6d 6f 64 65 2d 6c 69 67 68 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b --org-mode-light).............;;
56ce0 20 43 6f 70 79 20 73 70 65 63 69 66 69 63 20 62 75 66 66 65 72 20 6c 6f 63 61 6c 20 76 61 72 69 .Copy.specific.buffer.local.vari
56d00 61 62 6c 65 73 20 61 6e 64 20 76 61 72 69 61 62 6c 65 73 20 73 65 74 0a 20 20 20 20 20 20 20 20 ables.and.variables.set.........
56d20 20 20 20 20 3b 3b 20 74 68 72 6f 75 67 68 20 42 49 4e 44 20 6b 65 79 77 6f 72 64 73 2e 20 20 42 ....;;.through.BIND.keywords...B
56d40 65 6c 6f 77 20 73 6e 69 70 70 65 74 20 69 73 20 63 6f 70 69 65 64 20 66 72 6f 6d 0a 20 20 20 20 elow.snippet.is.copied.from.....
56d60 20 20 20 20 20 20 20 20 3b 3b 20 6f 78 2e 65 6c 20 2d 3e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d ........;;.ox.el.->.`org-export-
56d80 2d 67 65 6e 65 72 61 74 65 2d 63 6f 70 79 2d 73 63 72 69 70 74 27 2e 0a 20 20 20 20 20 20 20 20 -generate-copy-script'..........
56da0 20 20 20 20 28 64 6f 6c 69 73 74 20 28 65 6e 74 72 79 20 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c ....(dolist.(entry.local-variabl
56dc0 65 73 20 76 61 72 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 63 6f es.vars)...............(when.(co
56de0 6e 73 70 20 65 6e 74 72 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 nsp.entry).................(let.
56e00 28 28 76 61 72 20 28 63 61 72 20 65 6e 74 72 79 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ((var.(car.entry))..............
56e20 20 20 20 20 20 20 20 20 20 28 76 61 6c 20 28 63 64 72 20 65 6e 74 72 79 29 29 29 0a 20 20 20 20 .........(val.(cdr.entry))).....
56e40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 6e 6f 74 20 28 6d 65 6d 71 20 76 61 ..............(and.(not.(memq.va
56e60 72 20 6f 72 67 2d 65 78 70 6f 72 74 2d 69 67 6e 6f 72 65 64 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 r.org-export-ignored-local-varia
56e80 62 6c 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 28 6f bles))........................(o
56ea0 72 20 28 6d 65 6d 71 20 76 61 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 r.(memq.var.....................
56ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 64 65 66 61 75 6c 74 2d 64 69 72 65 63 74 6f 72 79 .............'(default-directory
56ee0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
56f00 20 20 20 20 20 62 75 66 66 65 72 2d 66 69 6c 65 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 .....buffer-file-name...........
56f20 20 20 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 72 ..........................buffer
56f40 2d 66 69 6c 65 2d 63 6f 64 69 6e 67 2d 73 79 73 74 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 -file-coding-system))...........
56f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 73 73 71 20 76 61 72 20 62 6f 75 6e 64 .................(assq.var.bound
56f80 2d 76 61 72 69 61 62 6c 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -variables).....................
56fa0 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5e 5c 5c 28 6f 72 67 2d 5c 5c .......(string-match."^\\(org-\\
56fc0 7c 6f 72 67 74 62 6c 2d 5c 5c 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |orgtbl-\\)"....................
56fe0 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 61 ......................(symbol-na
57000 6d 65 20 76 61 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 me.var))).......................
57020 20 3b 3b 20 53 6b 69 70 20 75 6e 72 65 61 64 61 62 6c 65 20 76 61 6c 75 65 73 2c 20 61 73 20 74 .;;.Skip.unreadable.values,.as.t
57040 68 65 79 20 63 61 6e 6e 6f 74 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 hey.cannot.be...................
57060 20 20 20 20 20 3b 3b 20 73 65 6e 74 20 74 6f 20 65 78 74 65 72 6e 61 6c 20 70 72 6f 63 65 73 73 .....;;.sent.to.external.process
57080 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 28 6f 72 20 28 6e 6f .........................(or.(no
570a0 74 20 76 61 6c 29 20 28 69 67 6e 6f 72 65 2d 65 72 72 6f 72 73 20 28 72 65 61 64 20 28 66 6f 72 t.val).(ignore-errors.(read.(for
570c0 6d 61 74 20 22 25 53 22 20 76 61 6c 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 mat."%S".val))))................
570e0 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 73 65 74 20 28 6d 61 6b 65 2d 6c 6f 63 61 6c 2d 76 ........(push.(set.(make-local-v
57100 61 72 69 61 62 6c 65 20 76 61 72 29 20 76 61 6c 29 20 76 61 72 73 29 29 29 29 29 0a 0a 20 20 20 ariable.var).val).vars))))).....
57120 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 69 6e .........(insert.(org-element-in
57140 74 65 72 70 72 65 74 2d 64 61 74 61 20 61 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 terpret-data.ast)).............(
57160 73 65 74 2d 62 75 66 66 65 72 2d 6d 6f 64 69 66 69 65 64 2d 70 20 6e 69 6c 29 29 29 0a 20 20 20 set-buffer-modified-p.nil)))....
57180 20 20 20 20 20 62 75 66 66 65 72 29 29 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 49 6e 74 65 72 61 63 74 .....buffer)))).....;;;.Interact
571a0 69 76 65 20 66 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 ive.functions..;;;###autoload.(d
571c0 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 20 28 26 6f 70 74 efun.org-hugo-export-as-md.(&opt
571e0 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 2d 6f 6e 6c ional.async.subtreep.visible-onl
57200 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 74 6f 20 61 y)..."Export.current.buffer.to.a
57220 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 20 62 75 66 66 65 72 .Hugo-compatible.Markdown.buffer
57240 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 20 74 68 65 ...If.narrowing.is.active.in.the
57260 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 20 69 74 73 .current.buffer,.only.export.its
57280 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 20 69 73 20 .narrowed.part...If.a.region.is.
572a0 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 0a 41 20 6e active,.export.that.region...A.n
572c0 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
572e0 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
57300 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 62 75 synchronously...The.resulting.bu
57320 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 72 6f 75 67 ffer.should.be.accessible.throug
57340 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 65 72 66 61 h.the.`org-export-stack'.interfa
57360 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 53 55 42 54 ce...When.optional.argument.SUBT
57380 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 73 75 62 2d REEP.is.non-nil,.export.the.sub-
573a0 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 66 6f 72 6d tree.at.point,.extracting.inform
573c0 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 72 74 69 65 ation.from.the.heading.propertie
573e0 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 6d 65 6e 74 s.first...When.optional.argument
57400 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 6e 27 74 20 .VISIBLE-ONLY.is.non-nil,.don't.
57420 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 65 6d 65 6e export.contents.of.hidden.elemen
57440 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 66 65 72 20 ts...Export.is.done.in.a.buffer.
57460 6e 61 6d 65 64 20 5c 22 2a 4f 72 67 20 48 75 67 6f 20 45 78 70 6f 72 74 2a 5c 22 2c 20 77 68 69 named.\"*Org.Hugo.Export*\",.whi
57480 63 68 0a 77 69 6c 6c 20 62 65 20 64 69 73 70 6c 61 79 65 64 20 77 68 65 6e 20 60 6f 72 67 2d 65 ch.will.be.displayed.when.`org-e
574a0 78 70 6f 72 74 2d 73 68 6f 77 2d 74 65 6d 70 6f 72 61 72 79 2d 65 78 70 6f 72 74 2d 62 75 66 66 xport-show-temporary-export-buff
574c0 65 72 27 0a 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 0a 52 65 74 75 72 6e 20 74 68 65 20 62 75 66 66 er'.is.non-nil...Return.the.buff
574e0 65 72 20 74 68 65 20 65 78 70 6f 72 74 20 68 61 70 70 65 6e 65 64 20 74 6f 2e 22 0a 20 20 28 69 er.the.export.happened.to."...(i
57500 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 65 66 6f 72 65 2d nteractive)...(org-hugo--before-
57520 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 73 75 62 74 72 65 65 70 29 0a 20 20 3b 3b 20 41 export-function.subtreep)...;;.A
57540 6c 6c 6f 77 20 63 65 72 74 61 69 6e 20 60 6f 78 2d 68 75 67 6f 27 20 70 72 6f 70 65 72 74 69 65 llow.certain.`ox-hugo'.propertie
57560 73 20 74 6f 20 62 65 20 69 6e 68 65 72 69 74 65 64 2e 0a 20 20 28 6c 65 74 20 28 28 6f 72 67 2d s.to.be.inherited....(let.((org-
57580 75 73 65 2d 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 use-property-inheritance.(org-hu
575a0 67 6f 2d 2d 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 go--selective-property-inheritan
575c0 63 65 29 29 0a 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 ce)).........(info.(org-combine-
575e0 70 6c 69 73 74 73 0a 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 plists................(org-expor
57600 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 20 20 20 t--get-export-attributes........
57620 20 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 .........'hugo.subtreep.visible-
57640 6f 6e 6c 79 29 0a 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 only)................(org-export
57660 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)........
57680 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 6d ........(org-export-get-environm
576a0 65 6e 74 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 70 29 29 29 29 0a 20 20 20 20 28 70 72 6f 67 ent.'hugo.subtreep)))).....(prog
576c0 31 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 6f 2d 62 75 66 66 65 72 20 1.........(org-export-to-buffer.
576e0 27 68 75 67 6f 20 22 2a 4f 72 67 20 48 75 67 6f 20 45 78 70 6f 72 74 2a 22 0a 20 20 20 20 20 20 'hugo."*Org.Hugo.Export*".......
57700 20 20 20 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 ....async.subtreep.visible-only.
57720 6e 69 6c 20 6e 69 6c 20 28 6c 61 6d 62 64 61 20 28 29 20 28 74 65 78 74 2d 6d 6f 64 65 29 29 29 nil.nil.(lambda.().(text-mode)))
57740 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 31 2d 65 78 70 6f 72 74 .......(org-hugo--after-1-export
57760 2d 66 75 6e 63 74 69 6f 6e 20 69 6e 66 6f 20 6e 69 6c 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 -function.info.nil).......(org-h
57780 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 29 ugo--after-all-exports-function)
577a0 29 29 29 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 )))..;;;###autoload.(defun.org-h
577c0 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e ugo-export-to-md.(&optional.asyn
577e0 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
57800 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
57820 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 20 66 69 6c 65 2e 0a 0a 54 68 69 73 20 69 73 20 74 atible.Markdown.file...This.is.t
57840 68 65 20 6d 61 69 6e 20 65 78 70 6f 72 74 69 6e 67 20 66 75 6e 63 74 69 6f 6e 20 77 68 69 63 68 he.main.exporting.function.which
57860 20 69 73 20 63 61 6c 6c 65 64 20 62 79 20 62 6f 74 68 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 .is.called.by.both.`org-hugo--ex
57880 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 27 20 61 6e 64 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d port-file-to-md'.and.`org-hugo--
578a0 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 27 2c 20 61 6e 64 20 74 68 75 73 0a export-subtree-to-md',.and.thus.
578c0 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 20 74 6f 6f 2e `org-hugo-export-wim-to-md'.too.
578e0 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 20 74 68 65 20 ..If.narrowing.is.active.in.the.
57900 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 20 69 74 73 0a current.buffer,.only.export.its.
57920 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 20 69 73 20 61 narrowed.part...If.a.region.is.a
57940 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 0a 41 20 6e 6f ctive,.export.that.region...A.no
57960 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 65 n-nil.optional.argument.ASYNC.me
57980 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 73 ans.the.process.should.happen.as
579a0 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 6c ynchronously...The.resulting.fil
579c0 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 0a 74 e.should.be.accessible.through.t
579e0 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 61 63 65 2e he.`org-export-stack'.interface.
57a00 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 53 55 42 54 52 45 45 ..When.optional.argument.SUBTREE
57a20 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 73 75 62 2d 74 72 65 P.is.non-nil,.export.the.sub-tre
57a40 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 66 6f 72 6d 61 74 69 e.at.point,.extracting.informati
57a60 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 72 74 69 65 73 0a 66 on.from.the.heading.properties.f
57a80 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 6d 65 6e 74 20 56 49 irst...When.optional.argument.VI
57aa0 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 6e 27 74 20 65 78 70 SIBLE-ONLY.is.non-nil,.don't.exp
57ac0 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 65 6d 65 6e 74 73 2e ort.contents.of.hidden.elements.
57ae0 0a 0a 52 65 74 75 72 6e 20 6f 75 74 70 75 74 20 66 69 6c 65 27 73 20 6e 61 6d 65 2e 22 0a 20 20 ..Return.output.file's.name."...
57b00 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 65 66 6f 72 (interactive)...(org-hugo--befor
57b20 65 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 73 75 62 74 72 65 65 70 29 0a 20 20 3b 3b e-export-function.subtreep)...;;
57b40 20 41 6c 6c 6f 77 20 63 65 72 74 61 69 6e 20 60 6f 78 2d 68 75 67 6f 27 20 70 72 6f 70 65 72 74 .Allow.certain.`ox-hugo'.propert
57b60 69 65 73 20 74 6f 20 62 65 20 69 6e 68 65 72 69 74 65 64 2e 20 20 49 74 20 69 73 0a 20 20 3b 3b ies.to.be.inherited...It.is...;;
57b80 20 69 6d 70 6f 72 74 61 6e 74 20 74 6f 20 73 65 74 20 74 68 65 20 60 6f 72 67 2d 75 73 65 2d 70 .important.to.set.the.`org-use-p
57ba0 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 27 20 62 65 66 6f 72 65 0a 20 20 3b 3b roperty-inheritance'.before...;;
57bc0 20 73 65 74 74 69 6e 67 20 74 68 65 20 60 69 6e 66 6f 27 20 76 61 72 20 73 6f 20 74 68 61 74 20 .setting.the.`info'.var.so.that.
57be0 70 72 6f 70 65 72 74 69 65 73 20 6c 69 6b 65 0a 20 20 3b 3b 20 45 58 50 4f 52 54 5f 48 55 47 4f properties.like...;;.EXPORT_HUGO
57c00 5f 53 45 43 54 49 4f 4e 20 67 65 74 20 69 6e 68 65 72 69 74 65 64 2e 0a 20 20 28 6c 65 74 2a 20 _SECTION.get.inherited....(let*.
57c20 28 28 6f 72 67 2d 75 73 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 20 28 ((org-use-property-inheritance.(
57c40 6f 72 67 2d 68 75 67 6f 2d 2d 73 65 6c 65 63 74 69 76 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 org-hugo--selective-property-inh
57c60 65 72 69 74 61 6e 63 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 66 6f 20 28 6f 72 67 2d 63 eritance))..........(info.(org-c
57c80 6f 6d 62 69 6e 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 ombine-plists.................(o
57ca0 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 73 rg-export--get-export-attributes
57cc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 70 ..................'hugo.subtreep
57ce0 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 20 20 20 20 20 28 .visible-only).................(
57d00 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 62 75 66 66 65 72 2d 61 74 74 72 69 62 75 74 65 org-export--get-buffer-attribute
57d20 73 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 2d 67 s).................(org-export-g
57d40 65 74 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 70 29 29 29 et-environment.'hugo.subtreep)))
57d60 0a 20 20 20 20 20 20 20 20 20 28 70 75 62 2d 64 69 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 ..........(pub-dir.(org-hugo--ge
57d80 74 2d 70 75 62 2d 64 69 72 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 6e t-pub-dir.info))..........;;.Don
57da0 27 74 20 70 72 69 6e 74 20 22 53 61 76 69 6e 67 20 66 69 6c 65 20 2e 2e 22 20 66 6f 72 20 65 61 't.print."Saving.file...".for.ea
57dc0 63 68 20 65 78 70 6f 72 74 65 64 20 66 69 6c 65 2e 20 54 68 69 73 0a 20 20 20 20 20 20 20 20 20 ch.exported.file..This..........
57de0 3b 3b 20 77 6f 72 6b 73 20 69 6e 20 69 6e 74 65 72 61 63 74 69 76 65 20 6d 6f 64 65 20 69 2e 65 ;;.works.in.interactive.mode.i.e
57e00 2e 20 77 68 65 6e 20 65 78 70 6f 72 74 69 6e 67 20 70 6f 73 74 73 20 66 72 6f 6d 0a 20 20 20 20 ..when.exporting.posts.from.....
57e20 20 20 20 20 20 3b 3b 20 77 69 74 68 69 6e 20 65 6d 61 63 73 2e 20 20 42 75 74 20 69 6e 20 2d 2d .....;;.within.emacs...But.in.--
57e40 62 61 74 63 68 20 6d 6f 64 65 2c 20 73 65 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 batch.mode,.setting..........;;.
57e60 60 73 61 76 65 2d 73 69 6c 65 6e 74 6c 79 27 20 74 6f 20 74 2c 20 69 72 6f 6e 69 63 61 6c 6c 79 `save-silently'.to.t,.ironically
57e80 20 70 72 69 6e 74 73 20 61 20 62 6c 61 6e 6b 20 6c 69 6e 65 0a 20 20 20 20 20 20 20 20 20 3b 3b .prints.a.blank.line..........;;
57ea0 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 22 53 61 76 69 6e 67 20 66 69 6c 65 20 2e 2e 22 .instead.of.the."Saving.file..."
57ec0 20 6d 65 73 73 61 67 65 2e 20 20 53 6f 20 6c 65 61 76 65 20 74 68 69 73 0a 20 20 20 20 20 20 20 .message...So.leave.this........
57ee0 20 20 3b 3b 20 76 61 72 69 61 62 6c 65 20 76 61 6c 75 65 20 61 74 20 6e 69 6c 20 66 6f 72 20 2d ..;;.variable.value.at.nil.for.-
57f00 2d 62 61 74 63 68 20 72 75 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 28 73 61 76 65 2d 73 69 6c 65 -batch.runs...........(save-sile
57f20 6e 74 6c 79 20 28 75 6e 6c 65 73 73 20 6e 6f 6e 69 6e 74 65 72 61 63 74 69 76 65 0a 20 20 20 20 ntly.(unless.noninteractive.....
57f40 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 0a 20 20 20 20 20 20 ......................t)).......
57f60 20 20 20 28 6f 75 74 66 69 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 6f 75 74 70 75 74 2d 66 ...(outfile.(org-export-output-f
57f80 69 6c 65 2d 6e 61 6d 65 20 22 2e 6d 64 22 20 73 75 62 74 72 65 65 70 20 70 75 62 2d 64 69 72 29 ile-name.".md".subtreep.pub-dir)
57fa0 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 6f 2d 65 78 )).....;;.(message."[org-hugo-ex
57fc0 70 6f 72 74 2d 74 6f 2d 6d 64 20 44 42 47 5d 20 73 65 63 74 69 6f 6e 2d 64 69 72 20 3d 20 25 73 port-to-md.DBG].section-dir.=.%s
57fe0 22 20 73 65 63 74 69 6f 6e 2d 64 69 72 29 0a 20 20 20 20 28 70 72 6f 67 31 0a 20 20 20 20 20 20 ".section-dir).....(prog1.......
58000 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 6f 2d 66 69 6c 65 20 27 68 75 67 6f 20 6f 75 74 66 ..(org-export-to-file.'hugo.outf
58020 69 6c 65 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 ile.async.subtreep.visible-only)
58040 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 31 2d 65 78 70 6f 72 74 .......(org-hugo--after-1-export
58060 2d 66 75 6e 63 74 69 6f 6e 20 69 6e 66 6f 20 6f 75 74 66 69 6c 65 29 0a 20 20 20 20 20 20 28 75 -function.info.outfile).......(u
58080 6e 6c 65 73 73 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 69 73 61 62 6c 65 2d 61 66 74 65 72 2d 61 6c nless.org-hugo--disable-after-al
580a0 6c 2d 65 78 70 6f 72 74 73 2d 68 6f 6f 6b 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f l-exports-hook.........(org-hugo
580c0 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 29 29 29 29 --after-all-exports-function))))
580e0 29 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 75 67 )..;;;###autoload.(defun.org-hug
58100 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 6c o-export-wim-to-md.(&optional.al
58120 6c 2d 73 75 62 74 72 65 65 73 20 61 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 6e 6f l-subtrees.async.visible-only.no
58140 65 72 72 6f 72 29 0a 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 error)..."Export.the.current.sub
58160 74 72 65 65 2f 61 6c 6c 20 73 75 62 74 72 65 65 73 2f 63 75 72 72 65 6e 74 20 66 69 6c 65 20 74 tree/all.subtrees/current.file.t
58180 6f 20 61 20 48 75 67 6f 20 70 6f 73 74 2e 0a 0a 54 68 69 73 20 69 73 20 61 6e 20 45 78 70 6f 72 o.a.Hugo.post...This.is.an.Expor
581a0 74 20 5c 22 57 68 61 74 20 49 20 4d 65 61 6e 5c 22 20 66 75 6e 63 74 69 6f 6e 3a 0a 0a 2d 20 49 t.\"What.I.Mean\".function:..-.I
581c0 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 20 68 61 73 20 74 68 65 20 5c 22 f.the.current.subtree.has.the.\"
581e0 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 5c 22 20 70 72 6f 70 65 72 74 79 2c 0a 20 20 65 EXPORT_FILE_NAME\".property,...e
58200 78 70 6f 72 74 20 6f 6e 6c 79 20 74 68 61 74 20 73 75 62 74 72 65 65 2e 20 20 52 65 74 75 72 6e xport.only.that.subtree...Return
58220 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 72 67 2d 68 75 67 6f .the.return.value.of...`org-hugo
58240 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 27 2e 0a 0a 2d 20 49 66 20 74 --export-subtree-to-md'...-.If.t
58260 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 he.current.subtree.doesn't.have.
58280 74 68 61 74 20 70 72 6f 70 65 72 74 79 2c 20 62 75 74 20 6f 6e 65 20 6f 66 0a 20 20 69 74 73 20 that.property,.but.one.of...its.
582a0 70 61 72 65 6e 74 20 73 75 62 74 72 65 65 73 20 68 61 73 2c 20 65 78 70 6f 72 74 20 66 72 6f 6d parent.subtrees.has,.export.from
582c0 20 74 68 61 74 20 73 75 62 74 72 65 65 27 73 20 73 63 6f 70 65 2e 0a 20 20 52 65 74 75 72 6e 20 .that.subtree's.scope....Return.
582e0 74 68 65 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 6f 66 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 the.return.value.of.`org-hugo--e
58300 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 27 2e 0a 0a 2d 20 49 66 20 74 68 65 72 xport-subtree-to-md'...-.If.ther
58320 65 20 61 72 65 20 6e 6f 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 e.are.no.valid.Hugo.post.subtree
58340 73 20 28 74 68 61 74 20 68 61 76 65 20 74 68 65 0a 20 20 5c 22 45 58 50 4f 52 54 5f 46 49 4c 45 s.(that.have.the...\"EXPORT_FILE
58360 5f 4e 41 4d 45 5c 22 20 70 72 6f 70 65 72 74 79 29 20 69 6e 20 74 68 65 20 4f 72 67 20 62 75 66 _NAME\".property).in.the.Org.buf
58380 66 65 72 20 74 68 65 20 73 75 62 74 72 65 65 73 0a 20 20 68 61 76 65 20 74 68 61 74 20 70 72 6f fer.the.subtrees...have.that.pro
583a0 70 65 72 74 79 2c 20 64 6f 20 66 69 6c 65 2d 62 61 73 65 64 0a 20 20 65 78 70 6f 72 74 20 28 60 perty,.do.file-based...export.(`
583c0 6f 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 29 2c 20 72 org-hugo--export-file-to-md'),.r
583e0 65 67 61 72 64 6c 65 73 73 20 6f 66 20 74 68 65 20 76 61 6c 75 65 0a 20 20 6f 66 20 41 4c 4c 2d egardless.of.the.value...of.ALL-
58400 53 55 42 54 52 45 45 53 2e 20 20 52 65 74 75 72 6e 20 74 68 65 20 72 65 74 75 72 6e 20 76 61 6c SUBTREES...Return.the.return.val
58420 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 66 69 6c 65 2d 74 ue.of...`org-hugo--export-file-t
58440 6f 2d 6d 64 27 2e 0a 0a 2d 20 49 66 20 41 4c 4c 2d 53 55 42 54 52 45 45 53 20 69 73 20 6e 6f 6e o-md'...-.If.ALL-SUBTREES.is.non
58460 2d 6e 69 6c 20 61 6e 64 20 74 68 65 20 4f 72 67 20 62 75 66 66 65 72 20 68 61 73 20 61 74 20 6c -nil.and.the.Org.buffer.has.at.l
58480 65 61 73 74 20 31 0a 20 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 east.1...valid.Hugo.post.subtree
584a0 2c 20 65 78 70 6f 72 74 20 61 6c 6c 20 74 68 6f 73 65 20 76 61 6c 69 64 20 70 6f 73 74 20 73 75 ,.export.all.those.valid.post.su
584c0 62 74 72 65 65 73 2e 0a 20 20 52 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 6f 75 74 70 75 btrees....Return.a.list.of.outpu
584e0 74 20 66 69 6c 65 73 2e 0a 0a 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 t.files...A.non-nil.optional.arg
58500 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 73 20 73 68 ument.ASYNC.means.the.process.sh
58520 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 20 54 68 65 ould.happen.asynchronously...The
58540 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 63 65 73 73 .resulting.file.should.be.access
58560 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 2d 73 74 61 ible.through.the.`org-export-sta
58580 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 6c 20 61 72 ck'.interface...When.optional.ar
585a0 67 75 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 gument.VISIBLE-ONLY.is.non-nil,.
585c0 64 6f 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 don't.export.contents.of.hidden.
585e0 65 6c 65 6d 65 6e 74 73 2e 0a 0a 54 68 65 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 elements...The.optional.argument
58600 20 4e 4f 45 52 52 4f 52 20 69 73 20 70 61 73 73 65 64 20 74 6f 0a 60 6f 72 67 2d 68 75 67 6f 2d .NOERROR.is.passed.to.`org-hugo-
58620 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 27 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 -export-file-to-md'."...(interac
58640 74 69 76 65 20 22 50 22 29 0a 20 20 28 6c 65 74 20 28 28 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 28 tive."P")...(let.((f-or-b-name.(
58660 69 66 20 28 62 75 66 66 65 72 2d 66 69 6c 65 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 20 20 20 20 if.(buffer-file-name)...........
58680 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 6e 6f 6e 64 69 72 ...............(file-name-nondir
586a0 65 63 74 6f 72 79 20 28 62 75 66 66 65 72 2d 66 69 6c 65 2d 6e 61 6d 65 29 29 0a 20 20 20 20 20 ectory.(buffer-file-name))......
586c0 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 6e 61 6d 65 29 29 ..................(buffer-name))
586e0 29 0a 20 20 20 20 20 20 20 20 28 62 75 66 2d 68 61 73 2d 73 75 62 74 72 65 65 20 28 6f 72 67 2d ).........(buf-has-subtree.(org-
58700 68 75 67 6f 2d 2d 62 75 66 66 65 72 2d 68 61 73 2d 76 61 6c 69 64 2d 70 6f 73 74 2d 73 75 62 74 hugo--buffer-has-valid-post-subt
58720 72 65 65 2d 70 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 29 0a 0a 20 20 20 20 3b 3b 20 41 75 74 ree-p)).........ret)......;;.Aut
58740 6f 2d 75 70 64 61 74 65 20 60 6f 72 67 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 27 20 69 66 20 69 o-update.`org-id-locations'.if.i
58760 74 27 73 20 6e 69 6c 20 6f 72 20 65 6d 70 74 79 20 68 61 73 68 20 74 61 62 6c 65 0a 20 20 20 20 t's.nil.or.empty.hash.table.....
58780 3b 3b 20 74 6f 20 61 76 6f 69 64 20 62 72 6f 6b 65 6e 20 5b 5b 69 64 3a 2e 2e 5d 5d 20 74 79 70 ;;.to.avoid.broken.[[id:..]].typ
587a0 65 20 6c 69 6e 6b 73 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 20 28 65 71 20 6f 72 67 2d 69 e.links......(when.(or.(eq.org-i
587c0 64 2d 6c 6f 63 61 74 69 6f 6e 73 20 6e 69 6c 29 20 28 7a 65 72 6f 70 20 28 68 61 73 68 2d 74 61 d-locations.nil).(zerop.(hash-ta
587e0 62 6c 65 2d 63 6f 75 6e 74 20 6f 72 67 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 29 29 29 0a 20 20 ble-count.org-id-locations)))...
58800 20 20 20 20 28 6f 72 67 2d 69 64 2d 75 70 64 61 74 65 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 20 ....(org-id-update-id-locations.
58820 28 64 69 72 65 63 74 6f 72 79 2d 66 69 6c 65 73 20 22 2e 22 20 3a 66 75 6c 6c 20 22 5c 5c 2e 6f (directory-files.".".:full."\\.o
58840 72 67 24 22 20 3a 6e 6f 73 6f 72 74 29 20 3a 73 69 6c 65 6e 74 29 29 0a 0a 20 20 20 20 28 6f 72 rg$".:nosort).:silent))......(or
58860 67 2d 68 75 67 6f 2d 2d 63 6c 65 61 6e 75 70 29 0a 0a 20 20 20 20 28 73 61 76 65 2d 77 69 6e 64 g-hugo--cleanup)......(save-wind
58880 6f 77 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 28 6f 72 67 2d 77 69 74 68 2d 77 69 64 ow-excursion.......(org-with-wid
588a0 65 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 3b 3b e-buffer........(cond.........;;
588c0 20 50 75 62 6c 69 73 68 20 61 6c 6c 20 73 75 62 74 72 65 65 73 20 69 6e 20 74 68 65 20 63 75 72 .Publish.all.subtrees.in.the.cur
588e0 72 65 6e 74 20 4f 72 67 20 62 75 66 66 65 72 2e 0a 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 62 rent.Org.buffer..........((and.b
58900 75 66 2d 68 61 73 2d 73 75 62 74 72 65 65 20 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 0a 20 20 20 uf-has-subtree.all-subtrees)....
58920 20 20 20 20 20 20 28 6c 65 74 20 28 28 73 74 61 72 74 2d 74 69 6d 65 20 28 63 75 72 72 65 6e 74 ......(let.((start-time.(current
58940 2d 74 69 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4d 61 6b 65 20 74 68 65 20 -time)))............;;.Make.the.
58960 2a 4d 65 73 73 61 67 65 73 2a 20 62 75 66 66 65 72 20 6c 65 73 73 20 6e 6f 69 73 79 20 77 68 65 *Messages*.buffer.less.noisy.whe
58980 6e 20 65 78 70 6f 72 74 69 6e 67 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 n.exporting.all............;;.su
589a0 62 74 72 65 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f btrees.............(dolist.(fn.o
589c0 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 66 75 rg-hugo--all-subtrees-export--fu
589e0 6e 63 74 69 6f 6e 73 2d 74 6f 2d 73 69 6c 65 6e 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 nctions-to-silence).............
58a00 20 28 61 64 76 69 63 65 2d 61 64 64 20 66 6e 20 3a 61 72 6f 75 6e 64 20 23 27 6f 72 67 2d 68 75 .(advice-add.fn.:around.#'org-hu
58a20 67 6f 2d 2d 61 64 76 69 63 65 2d 73 69 6c 65 6e 63 65 2d 6d 65 73 73 61 67 65 73 29 29 0a 0a 20 go--advice-silence-messages))...
58a40 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 6d 61 70 2d 65 6e 74 ..........(setq.ret.(org-map-ent
58a60 72 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 28 6c 61 6d 62 ries.......................(lamb
58a80 64 61 20 28 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 da.().........................(o
58aa0 72 67 2d 68 75 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 61 73 rg-hugo--export-subtree-to-md.as
58ac0 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 3a 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 29 ync.visible-only.:all-subtrees))
58ae0 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 78 70 6f 72 74 .......................;;.Export
58b00 20 6f 6e 6c 79 20 74 68 65 20 73 75 62 74 72 65 65 73 20 77 68 65 72 65 0a 20 20 20 20 20 20 20 .only.the.subtrees.where........
58b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 ...............;;.EXPORT_FILE_NA
58b40 4d 45 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 6f 74 20 65 6d 70 74 79 2e 0a 20 20 20 20 20 20 ME.property.is.not.empty........
58b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d ................"EXPORT_FILE_NAM
58b80 45 3c 3e 5c 22 5c 22 22 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 65 E<>\"\"")).............(let*.((e
58ba0 6c 61 70 73 65 64 2d 74 69 6d 65 20 28 66 6c 6f 61 74 2d 74 69 6d 65 20 28 74 69 6d 65 2d 73 69 lapsed-time.(float-time.(time-si
58bc0 6e 63 65 20 73 74 61 72 74 2d 74 69 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nce.start-time)))...............
58be0 20 20 20 20 28 61 76 67 2d 74 69 6d 65 20 28 2f 20 65 6c 61 70 73 65 64 2d 74 69 6d 65 20 6f 72 ....(avg-time.(/.elapsed-time.or
58c00 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 75 6e 74 29 29 29 0a 20 20 20 20 20 20 20 g-hugo--subtree-count)))........
58c20 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 78 70 6f 72 74 ......(message."[ox-hugo].Export
58c40 65 64 20 25 64 20 73 75 62 74 72 65 65 25 73 20 66 72 6f 6d 20 25 73 20 69 6e 20 25 30 2e 33 66 ed.%d.subtree%s.from.%s.in.%0.3f
58c60 73 20 28 25 30 2e 33 66 73 20 61 76 67 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 s.(%0.3fs.avg)".................
58c80 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 75 6e 74 0a 20 20 ......org-hugo--subtree-count...
58ca0 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 31 20 6f 72 67 ....................(if.(=.1.org
58cc0 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 75 6e 74 29 20 22 22 20 22 73 22 29 0a 20 20 -hugo--subtree-count).""."s")...
58ce0 20 20 20 20 20 20 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 0a ....................f-or-b-name.
58d00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 61 70 73 65 64 2d 74 69 ......................elapsed-ti
58d20 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 61 76 67 2d 74 69 6d me.......................avg-tim
58d40 65 29 29 0a 20 20 20 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 e))............(org-hugo--after-
58d60 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 29 29 29 0a 0a 20 20 20 20 20 20 20 all-exports-function))).........
58d80 20 3b 3b 20 50 75 62 6c 69 73 68 20 6f 6e 6c 79 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c .;;.Publish.only.the.current.val
58da0 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 2e 20 20 57 68 65 6e 0a 20 20 20 20 id.Hugo.post.subtree...When.....
58dc0 20 20 20 20 3b 3b 20 65 78 70 6f 72 74 69 6e 67 20 6f 6e 6c 79 20 6f 6e 65 20 73 75 62 74 72 65 ....;;.exporting.only.one.subtre
58de0 65 2c 20 62 75 66 66 65 72 20 70 72 65 2d 70 72 6f 63 65 73 73 69 6e 67 20 69 73 20 64 6f 6e 65 e,.buffer.pre-processing.is.done
58e00 0a 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 73 69 64 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 .........;;.inside.`org-hugo--ex
58e20 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d 64 27 2e 0a 20 20 20 20 20 20 20 20 28 28 61 port-subtree-to-md'..........((a
58e40 6e 64 20 62 75 66 2d 68 61 73 2d 73 75 62 74 72 65 65 20 28 6e 6f 74 20 61 6c 6c 2d 73 75 62 74 nd.buf-has-subtree.(not.all-subt
58e60 72 65 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 68 rees))..........(setq.ret.(org-h
58e80 75 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 61 73 79 6e 63 20 ugo--export-subtree-to-md.async.
58ea0 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 29 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 41 74 74 65 visible-only)))..........;;.Atte
58ec0 6d 70 74 20 66 69 6c 65 2d 62 61 73 65 64 20 65 78 70 6f 72 74 2e 0a 20 20 20 20 20 20 20 20 28 mpt.file-based.export..........(
58ee0 74 0a 20 20 20 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 t..........(setq.ret.(org-hugo--
58f00 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 20 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 61 73 export-file-to-md.f-or-b-name.as
58f20 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 29 29 29 29 29 0a 20 ync.visible-only.noerror))))))..
58f40 20 20 20 72 65 74 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 ...ret))..;;;###autoload.(defun.
58f60 6f 72 67 2d 68 75 67 6f 2d 64 65 62 75 67 2d 69 6e 66 6f 20 28 29 0a 20 20 22 47 65 74 20 45 6d org-hugo-debug-info.()..."Get.Em
58f80 61 63 73 2c 20 4f 72 67 20 61 6e 64 20 48 75 67 6f 20 76 65 72 73 69 6f 6e 20 61 6e 64 20 6f 78 acs,.Org.and.Hugo.version.and.ox
58fa0 2d 68 75 67 6f 20 63 75 73 74 6f 6d 69 7a 61 74 69 6f 6e 20 69 6e 66 6f 2e 0a 54 68 65 20 69 6e -hugo.customization.info..The.in
58fc0 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 4d 61 72 6b 64 6f formation.is.converted.to.Markdo
58fe0 77 6e 20 66 6f 72 6d 61 74 20 61 6e 64 20 63 6f 70 69 65 64 20 74 6f 20 74 68 65 0a 6b 69 6c 6c wn.format.and.copied.to.the.kill
59000 20 72 69 6e 67 2e 20 20 54 68 65 20 73 61 6d 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 .ring...The.same.information.is.
59020 64 69 73 70 6c 61 79 65 64 20 69 6e 20 74 68 65 20 4d 65 73 73 61 67 65 73 0a 62 75 66 66 65 72 displayed.in.the.Messages.buffer
59040 20 61 6e 64 20 72 65 74 75 72 6e 65 64 20 61 73 20 61 20 73 74 72 69 6e 67 20 69 6e 20 4f 72 67 .and.returned.as.a.string.in.Org
59060 20 66 6f 72 6d 61 74 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 74 .format."...(interactive)...(let
59080 2a 20 28 28 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 20 28 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e *.((emacs-version.(emacs-version
590a0 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 76 65 72 73 69 6f 6e 20 28 6f 72 67 2d 76 65 ))..........(org-version.(org-ve
590c0 72 73 69 6f 6e 20 6e 69 6c 20 3a 66 75 6c 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 75 67 6f rsion.nil.:full))..........(hugo
590e0 2d 76 65 72 73 69 6f 6e 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 68 75 67 6f 2d 76 65 72 73 69 6f 6e -version.(org-hugo--hugo-version
59100 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 69 66 20 68 75 ))..........(hugo-version.(if.hu
59120 67 6f 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 20 20 go-version......................
59140 20 20 20 20 20 20 28 63 61 72 20 68 75 67 6f 2d 76 65 72 73 69 6f 6e 29 20 3b 4c 6f 6e 67 20 76 ......(car.hugo-version).;Long.v
59160 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 20 20 20 20 20 20 ersion..........................
59180 22 3d 68 75 67 6f 3d 20 62 69 6e 61 72 79 20 6e 6f 74 20 66 6f 75 6e 64 20 69 6e 20 50 41 54 48 "=hugo=.binary.not.found.in.PATH
591a0 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 66 6f 2d 6f 72 67 20 28 6d 61 70 63 6f 6e 63 61 "))..........(info-org.(mapconca
591c0 74 20 23 27 69 64 65 6e 74 69 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t.#'identity....................
591e0 20 20 20 20 20 20 20 20 20 20 20 60 28 22 2a 20 44 65 62 75 67 20 69 6e 66 6f 72 6d 61 74 69 6f ...........`("*.Debug.informatio
59200 6e 20 66 6f 72 20 3d 6f 78 2d 68 75 67 6f 3d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 n.for.=ox-hugo="................
59220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a 20 45 6d 61 63 73 20 56 65 72 73 69 ................."**.Emacs.Versi
59240 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 20 20 20 20 on".............................
59260 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 6e 74 20 75 ...."#+begin_example".;Prevent.u
59280 6e 64 65 72 73 63 6f 72 65 73 20 66 72 6f 6d 20 62 65 69 6e 67 20 69 6e 74 65 72 70 72 65 74 65 nderscores.from.being.interprete
592a0 64 20 61 73 20 73 75 62 73 63 72 69 70 74 20 6d 61 72 6b 75 70 0a 20 20 20 20 20 20 20 20 20 20 d.as.subscript.markup...........
592c0 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."
592e0 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 20 20 20 20 %s%s"...........................
59300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 0a 20 20 20 ...............emacs-version....
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 20 20 20 ................................
59340 20 20 20 20 20 20 28 69 66 20 65 6d 61 63 73 2d 72 65 70 6f 73 69 74 6f 72 79 2d 76 65 72 73 69 ......(if.emacs-repository-versi
59360 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 20 20 20 on..............................
59380 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 28 63 6f 6d 6d 69 ................(format.".(commi
593a0 74 20 25 73 29 22 20 65 6d 61 63 73 2d 72 65 70 6f 73 69 74 6f 72 79 2d 76 65 72 73 69 6f 6e 29 t.%s)".emacs-repository-version)
593c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
593e0 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 20 20 20 20 20 20 ............""))................
59400 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 70 6c 65 22 ................."#+end_example"
59420 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59440 20 22 2a 2a 20 4f 72 67 20 56 65 72 73 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ."**.Org.Version"...............
59460 20 20 20 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 .................."#+begin_examp
59480 6c 65 22 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 le".;Prevent.the.forward.slashes
594a0 20 69 6e 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 .in.paths.being.interpreted.as.O
594c0 72 67 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 20 20 rg.markup.......................
594e0 20 20 20 20 20 20 20 20 20 20 2c 6f 72 67 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 ..........,org-version..........
59500 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 78 ......................."#+end_ex
59520 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 20 ample"..........................
59540 20 20 20 20 20 20 20 22 2a 2a 20 48 75 67 6f 20 56 65 72 73 69 6f 6e 22 0a 20 20 20 20 20 20 20 ......."**.Hugo.Version"........
59560 20 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 69 ........................."#+begi
59580 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 61 72 64 20 n_example".;Prevent.the.forward.
595a0 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 70 72 65 74 slashes.in.paths.being.interpret
595c0 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 20 20 20 20 ed.as.Org.markup................
595e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 68 75 67 6f 2d 76 65 72 73 69 6f 6e 0a 20 .................,hugo-version..
59600 20 20 20 20 20 20 20 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 ..............................."
59620 23 2b 65 6e 64 5f 65 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 #+end_example"..................
59640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a 2a 20 4f 72 67 20 3d 6c 6f 61 64 2d 70 61 ..............."***.Org.=load-pa
59660 74 68 3d 20 73 68 61 64 6f 77 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 th=.shadows"....................
59680 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 6c 65 74 2a 20 28 28 73 74 72 20 28 6c 69 73 74 2d .............,(let*.((str.(list-
596a0 6c 6f 61 64 2d 70 61 74 68 2d 73 68 61 64 6f 77 73 20 3a 73 74 72 69 6e 67 70 29 29 0a 20 20 20 load-path-shadows.:stringp))....
596c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
596e0 20 20 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 .....(str-list.(split-string.str
59700 20 22 5c 6e 22 20 3a 6f 6d 69 74 2d 6e 75 6c 6c 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 ."\n".:omit-nulls)).............
59720 20 20 20 20 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
59740 2d 73 68 61 64 6f 77 2d 73 74 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -shadow-str.""))................
59760 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 73 68 61 ....................(dolist.(sha
59780 64 6f 77 20 73 74 72 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 dow.str-list)...................
597a0 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 73 74 72 69 6e 67 ...................(when.(string
597c0 2d 6d 61 74 63 68 2d 70 20 22 2e 2a 6f 72 67 2e 2b 68 69 64 65 73 2e 2b 6f 72 67 2e 2a 22 20 73 -match-p.".*org.+hides.+org.*".s
597e0 68 61 64 6f 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 hadow)..........................
59800 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 ..............(setq.org-shadow-s
59820 74 72 20 28 63 6f 6e 63 61 74 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 20 73 68 61 64 6f 77 tr.(concat.org-shadow-str.shadow
59840 20 22 5c 6e 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 20 ."\n")))).......................
59860 20 20 20 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 2d 6e 77 2d .............(if.(org-string-nw-
59880 70 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 p.org-shadow-str)...............
598a0 20 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 6f 6e .........................(mapcon
598c0 63 61 74 20 23 27 69 64 65 6e 74 69 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 cat.#'identity..................
598e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59900 20 60 28 22 2a 57 61 72 6e 69 6e 67 2a 3a 20 50 6f 73 73 69 62 6c 65 20 6d 69 78 65 64 20 69 6e .`("*Warning*:.Possible.mixed.in
59920 73 74 61 6c 6c 61 74 69 6f 6e 20 6f 66 20 4f 72 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 stallation.of.Org"..............
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 20 20 20 20 20 ................................
59960 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 6e ......."#+begin_example".;Preven
59980 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 62 t.the.forward.slashes.in.paths.b
599a0 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 20 eing.interpreted.as.Org.markup..
599c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
599e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 6f 72 67 2d 74 72 69 6d 20 6f 72 ...................,(org-trim.or
59a00 67 2d 73 68 61 64 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 g-shadow-str)...................
59a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59a40 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 20 20 20 20 20 .."#+end_example"...............
59a60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59a80 20 20 20 20 20 20 22 53 74 75 64 79 20 74 68 65 20 6f 75 74 70 75 74 20 6f 66 20 3d 4d 2d 78 20 ......"Study.the.output.of.=M-x.
59aa0 6c 69 73 74 2d 6c 6f 61 64 2d 70 61 74 68 2d 73 68 61 64 6f 77 73 3d 2e 22 29 0a 20 20 20 20 20 list-load-path-shadows=.")......
59ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59ae0 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ............."\n")..............
59b00 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 4e 6f 20 4f 72 67 20 ........................"No.Org.
59b20 6d 6f 64 65 20 73 68 61 64 6f 77 73 20 66 6f 75 6e 64 20 69 6e 20 3d 6c 6f 61 64 2d 70 61 74 68 mode.shadows.found.in.=load-path
59b40 3d 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 ="))............................
59b60 20 20 20 20 20 22 2a 2a 20 3d 6f 78 2d 68 75 67 6f 3d 20 64 65 66 63 75 73 74 6f 6d 73 22 0a 20 ....."**.=ox-hugo=.defcustoms"..
59b80 20 20 20 20 20 20 20 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 ...............................,
59ba0 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 20 20 20 20 20 20 (format."|org-hugo-section......
59bc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59be0 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 |%S|".org-hugo-section).........
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 2c 28 66 6f 72 6d 61 74 ........................,(format
59c20 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 20 20 20 20 ."|org-hugo-use-code-for-kbd....
59c40 20 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
59c60 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).......
59c80 20 20 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 ..........................,(form
59ca0 61 74 20 22 7c 6f 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 20 at."|org-hugo-preserve-filling..
59cc0 20 20 20 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 ...........................|%S|"
59ce0 20 6f 72 67 2d 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 20 20 .org-hugo-preserve-filling).....
59d00 20 20 20 20 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 ............................,(fo
59d20 72 6d 61 74 20 22 7c 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 rmat."|org-hugo-delete-trailing-
59d40 77 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 20 20 7c 25 53 ws...........................|%S
59d60 7c 22 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 29 0a |".org-hugo-delete-trailing-ws).
59d80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59da0 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 ,(format."|org-hugo-prefer-hyphe
59dc0 6e 2d 69 6e 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 n-in-tags.......................
59de0 20 7c 25 53 7c 22 20 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 .|%S|".org-hugo-prefer-hyphen-in
59e00 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 20 20 20 20 20 20 -tags)..........................
59e20 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 2d 61 6c 6c 6f 77 .......,(format."|org-hugo-allow
59e40 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -spaces-in-tags.................
59e60 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 ........|%S|".org-hugo-allow-spa
59e80 63 65 73 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 ces-in-tags)....................
59ea0 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
59ec0 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 20 20 20 20 20 20 -tag-processing-functions.......
59ee0 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 74 61 67 ..............|%S|".org-hugo-tag
59f00 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 29 0a 20 20 20 20 20 20 20 20 20 -processing-functions)..........
59f20 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 20 .......................,(format.
59f40 22 7c 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 20 20 20 20 20 "|org-hugo-auto-set-lastmod.....
59f60 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 72 ........................|%S|".or
59f80 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 20 20 g-hugo-auto-set-lastmod)........
59fa0 20 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 .........................,(forma
59fc0 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 74 6f 63 20 20 20 20 t."|org-hugo-export-with-toc....
59fe0 20 20 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 ..........................|%S|".
5a000 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 20 20 20 20 20 20 org-hugo-export-with-toc).......
5a020 20 20 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 ..........................,(form
5a040 61 74 20 22 7c 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 at."|org-hugo-export-with-sectio
5a060 6e 2d 6e 75 6d 62 65 72 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 n-numbers..................|%S|"
5a080 20 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 6e 2d 6e 75 .org-hugo-export-with-section-nu
5a0a0 6d 62 65 72 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 mbers)..........................
5a0c0 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 2d 66 72 6f 6e 74 .......,(format."|org-hugo-front
5a0e0 2d 6d 61 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 -matter-format..................
5a100 20 20 20 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 ........|%S|".org-hugo-front-mat
5a120 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 20 20 20 20 20 ter-format).....................
5a140 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 2d ............,(format."|org-hugo-
5a160 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 75 62 64 69 72 65 63 74 6f 72 79 2d 66 6f 72 2d default-static-subdirectory-for-
5a180 65 78 74 65 72 6e 61 6c 73 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 externals....|%S|".org-hugo-defa
5a1a0 75 6c 74 2d 73 74 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 ult-static-subdirectory-for-exte
5a1c0 72 6e 61 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 20 20 20 rnals)..........................
5a1e0 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 2d 65 78 74 65 72 .......,(format."|org-hugo-exter
5a200 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-
5a220 63 6f 70 79 69 6e 67 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d copying.|%S|".org-hugo-external-
5a240 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 63 6f 70 79 file-extensions-allowed-for-copy
5a260 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)............................
5a280 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f .....,(format."|org-hugo-date-fo
5a2a0 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 20 20 rmat............................
5a2c0 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 ......|%S|".org-hugo-date-format
5a2e0 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 )...............................
5a300 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f ..,(format."|org-hugo-paired-sho
5a320 72 74 63 6f 64 65 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 rtcodes.........................
5a340 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f ...|%S|".org-hugo-paired-shortco
5a360 64 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 20 20 des)............................
5a380 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 .....,(format."|org-hugo-suppres
5a3a0 73 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 s-lastmod-period................
5a3c0 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 ......|%S|".org-hugo-suppress-la
5a3e0 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 20 20 20 20 stmod-period)...................
5a400 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
5a420 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 20 20 20 20 20 20 20 20 20 20 20 o-front-matter-format...........
5a440 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 66 72 ...............|%S|".org-hugo-fr
5a460 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 20 20 20 ont-matter-format)).............
5a480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 0a 20 20 20 20 20 20 20 .................."\n"))........
5a4a0 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 74 6f 63 20 6e 69 6c 29 0a 20 20 20 20 ..(org-export-with-toc.nil).....
5a4c0 20 20 20 20 20 28 69 6e 66 6f 2d 6d 64 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 .....(info-md.(progn............
5a4e0 20 20 20 20 20 20 20 20 20 28 72 65 71 75 69 72 65 20 27 6f 78 2d 6d 64 29 0a 20 20 20 20 20 20 .........(require.'ox-md).......
5a500 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 73 74 72 69 6e 67 ..............(org-export-string
5a520 2d 61 73 20 69 6e 66 6f 2d 6f 72 67 20 27 6d 64 20 3a 62 6f 64 79 2d 6f 6e 6c 79 29 29 29 29 0a -as.info-org.'md.:body-only)))).
5a540 20 20 20 20 28 6b 69 6c 6c 2d 6e 65 77 20 69 6e 66 6f 2d 6d 64 29 0a 20 20 20 20 28 6d 65 73 73 ....(kill-new.info-md).....(mess
5a560 61 67 65 20 22 25 73 22 20 69 6e 66 6f 2d 6f 72 67 29 0a 20 20 20 20 69 6e 66 6f 2d 6f 72 67 29 age."%s".info-org).....info-org)
5a580 29 0a 0a 0a 28 70 72 6f 76 69 64 65 20 27 6f 78 2d 68 75 67 6f 29 0a 0a 3b 3b 3b 20 6f 78 2d 68 )...(provide.'ox-hugo)..;;;.ox-h
5a5a0 75 67 6f 2e 65 6c 20 65 6e 64 73 20 68 65 72 65 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ugo.el.ends.here................
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 ................................