summaryrefslogtreecommitdiff
path: root/localrepo/ox-hugo-20240305.1923.tar
blob: 0a4cbd8441a2b4efdb854a658600594b36a86971 (plain)
ofshex dumpascii
0000 6f 78 2d 68 75 67 6f 2d 32 30 32 34 30 33 30 35 2e 31 39 32 33 2f 00 00 00 00 00 00 00 00 00 00 ox-hugo-20240305.1923/..........
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0060 00 00 00 00 30 30 30 30 37 35 35 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 ....0000755.0000000.0000000.0000
0080 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 32 33 37 35 00 20 35 00 00 00 0000000.00000000000.012375..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 34 30 33 30 35 2e 31 39 32 33 2f 6f 72 67 2d 68 75 67 6f 2d 61 ox-hugo-20240305.1923/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 36 31 00 20 30 00 00 00 0002651.00000000000.017661..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 34 30 33 30 35 2e 31 39 32 33 2f 6f 78 2d 62 6c 61 63 6b 66 72 ox-hugo-20240305.1923/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 32 37 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 35 36 32 33 00 20 30 00 00 00 0220227.00000000000.015623..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 3b 3b 20 56 65 72 73 69 6f 6e 3a 20 30 :.((emacs."24.5")).;;.Version:.0
0d20 2e 31 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e 74 61 72 79 3a 0a 0a 3b 3b 20 54 68 69 73 20 6c 69 62 .1..;;;.Commentary:..;;.This.lib
0d40 72 61 72 79 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 rary.implements.a.Markdown.back-
0d60 65 6e 64 20 28 42 6c 61 63 6b 66 72 69 64 61 79 20 66 6c 61 76 6f 72 0a 3b 3b 20 28 68 74 74 70 end.(Blackfriday.flavor.;;.(http
0d80 73 3a 2f 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 s://github.com/russross/blackfri
0da0 64 61 79 29 29 20 66 6f 72 20 4f 72 67 20 65 78 70 6f 72 74 65 72 2c 20 62 61 73 65 64 0a 3b 3b day)).for.Org.exporter,.based.;;
0dc0 20 6f 6e 20 74 68 65 20 6f 78 2d 6d 64 20 65 78 70 6f 72 74 65 72 2e 0a 0a 3b 3b 20 49 74 20 73 .on.the.ox-md.exporter...;;.It.s
0de0 74 61 72 74 65 64 20 6f 66 66 20 61 73 20 61 20 63 6c 6f 6e 65 20 6f 66 20 4c 61 72 73 20 54 76 tarted.off.as.a.clone.of.Lars.Tv
0e00 65 69 74 6f 27 73 20 47 69 74 48 75 62 20 46 6c 61 76 6f 72 65 64 20 4d 61 72 6b 64 6f 77 6e 0a eito's.GitHub.Flavored.Markdown.
0e20 3b 3b 20 65 78 70 6f 72 74 65 72 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f ;;.exporter.(https://github.com/
0e40 6c 61 72 73 74 76 65 69 2f 6f 78 2d 67 66 6d 29 2e 0a 0a 3b 3b 3b 20 43 6f 64 65 3a 0a 0a 28 72 larstvei/ox-gfm)...;;;.Code:..(r
0e60 65 71 75 69 72 65 20 27 6f 72 67 29 0a 28 72 65 71 75 69 72 65 20 27 6f 78 2d 6d 64 29 0a 28 72 equire.'org).(require.'ox-md).(r
0e80 65 71 75 69 72 65 20 27 6f 78 2d 70 75 62 6c 69 73 68 29 0a 28 72 65 71 75 69 72 65 20 27 74 61 equire.'ox-publish).(require.'ta
0ea0 62 6c 65 29 20 20 20 20 20 20 20 20 20 3b 54 6f 20 73 75 70 70 6f 72 74 20 74 61 62 6c 65 73 20 ble).........;To.support.tables.
0ec0 77 72 69 74 74 65 6e 20 69 6e 20 74 61 62 6c 65 2e 65 6c 20 66 6f 72 6d 61 74 0a 0a 28 72 65 71 written.in.table.el.format..(req
0ee0 75 69 72 65 20 27 73 75 62 72 2d 78 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 uire.'subr-x)...................
0f00 20 20 20 20 3b 46 6f 72 20 60 73 74 72 69 6e 67 2d 72 65 6d 6f 76 65 2d 73 75 66 66 69 78 27 0a ....;For.`string-remove-suffix'.
0f20 0a 0c 0a 3b 3b 3b 20 56 61 72 69 61 62 6c 65 73 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c ...;;;.Variables..(defvar.org-bl
0f40 61 63 6b 66 72 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 20 6e 69 6c 29 0a 28 64 65 ackfriday-width-cookies.nil).(de
0f60 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 63 6f 6f 6b 69 fvar.org-blackfriday-width-cooki
0f80 65 73 2d 74 61 62 6c 65 20 6e 69 6c 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d 62 6c 61 es-table.nil)..(defconst.org-bla
0fa0 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 6c 65 66 74 2d 62 6f 72 64 65 72 20 22 22 29 0a 28 ckfriday-table-left-border."").(
0fc0 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 72 defconst.org-blackfriday-table-r
0fe0 69 67 68 74 2d 62 6f 72 64 65 72 20 22 20 22 29 0a 28 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d 62 ight-border.".").(defconst.org-b
1000 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 20 22 7c 20 22 29 lackfriday-table-separator."|.")
1020 0a 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 68 74 6d 6c ..(defconst.org-blackfriday-html
1040 35 2d 69 6e 6c 69 6e 65 2d 65 6c 65 6d 65 6e 74 73 0a 20 20 27 28 3b 3b 20 22 61 22 20 3b 55 73 5-inline-elements...'(;;."a".;Us
1060 65 20 4f 72 67 20 5b 5b 6c 69 6e 6b 5d 5d 20 73 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 20 e.Org.[[link]].syntax.instead...
1080 20 20 22 61 62 62 72 22 20 22 61 75 64 69 6f 22 0a 20 20 20 20 3b 3b 20 22 62 22 20 3b 55 73 65 .."abbr"."audio".....;;."b".;Use
10a0 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 64 0a 20 20 20 20 22 .Org.*bold*.syntax.instead....."
10c0 62 64 69 22 20 22 62 64 6f 22 0a 20 20 20 20 3b 3b 20 22 62 72 22 20 3b 55 73 65 20 22 5c 5c 22 bdi"."bdo".....;;."br".;Use."\\"
10e0 20 6f 72 20 22 23 2b 6f 70 74 69 6f 6e 73 3a 20 5c 6e 3a 74 22 20 69 6e 73 74 65 61 64 0a 20 20 .or."#+options:.\n:t".instead...
1100 20 20 22 62 75 74 74 6f 6e 22 0a 20 20 20 20 22 63 61 6e 76 61 73 22 20 22 63 69 74 65 22 0a 20 .."button"....."canvas"."cite"..
1120 20 20 20 3b 3b 20 22 63 6f 64 65 22 20 3b 55 73 65 20 4f 72 67 20 3d 63 6f 64 65 3d 20 6f 72 20 ...;;."code".;Use.Org.=code=.or.
1140 7e 63 6f 64 65 7e 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 64 61 74 61 22 20 22 64 61 74 61 6c ~code~.instead....."data"."datal
1160 69 73 74 22 20 22 64 65 6c 22 20 22 64 66 6e 22 0a 20 20 20 20 3b 3b 20 22 65 6d 22 20 3b 55 73 ist"."del"."dfn".....;;."em".;Us
1180 65 20 4f 72 67 20 2f 69 74 61 6c 69 63 73 2f 20 73 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 e.Org./italics/.syntax.instead..
11a0 20 20 20 22 65 6d 62 65 64 22 0a 20 20 20 20 3b 3b 20 22 69 22 20 3b 55 73 65 20 4f 72 67 20 2f ..."embed".....;;."i".;Use.Org./
11c0 69 74 61 6c 69 63 73 2f 20 73 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 69 66 72 italics/.syntax.instead....."ifr
11e0 61 6d 65 22 0a 20 20 20 20 3b 3b 20 22 69 6d 67 22 20 3b 55 73 65 20 4f 72 67 20 69 6d 61 67 65 ame".....;;."img".;Use.Org.image
1200 20 69 6e 73 65 72 74 69 6f 6e 20 73 79 6e 74 61 78 20 69 6e 73 74 65 61 64 0a 20 20 20 20 22 69 .insertion.syntax.instead....."i
1220 6e 70 75 74 22 20 22 69 6e 73 22 0a 20 20 20 20 22 6b 62 64 22 0a 20 20 20 20 22 6c 61 62 65 6c nput"."ins"....."kbd"....."label
1240 22 0a 20 20 20 20 22 6d 61 70 22 20 22 6d 61 72 6b 22 20 22 6d 65 74 65 72 22 0a 20 20 20 20 22 "....."map"."mark"."meter"....."
1260 6e 6f 73 63 72 69 70 74 22 0a 20 20 20 20 22 6f 62 6a 65 63 74 22 20 22 6f 75 74 70 75 74 22 0a noscript"....."object"."output".
1280 20 20 20 20 22 70 69 63 74 75 72 65 22 20 22 70 72 6f 67 72 65 73 73 22 0a 20 20 20 20 22 71 22 ...."picture"."progress"....."q"
12a0 0a 20 20 20 20 22 72 75 62 79 22 0a 20 20 20 20 22 73 22 20 22 73 61 6d 70 22 20 22 73 63 72 69 ....."ruby"....."s"."samp"."scri
12c0 70 74 22 20 22 73 65 6c 65 63 74 22 20 22 73 6c 6f 74 22 20 22 73 6d 61 6c 6c 22 20 22 73 70 61 pt"."select"."slot"."small"."spa
12e0 6e 22 0a 20 20 20 20 3b 3b 20 22 73 74 72 6f 6e 67 22 20 3b 55 73 65 20 4f 72 67 20 2a 62 6f 6c n".....;;."strong".;Use.Org.*bol
1300 64 2a 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 75 62 22 20 3b d*.syntax.instead.....;;."sub".;
1320 55 73 65 20 4f 72 67 20 61 62 63 5f 7b 73 75 62 73 63 72 69 70 74 7d 20 73 79 6e 74 61 78 20 69 Use.Org.abc_{subscript}.syntax.i
1340 6e 73 74 65 61 64 0a 20 20 20 20 3b 3b 20 22 73 75 70 22 20 3b 55 73 65 20 4f 72 67 20 61 62 63 nstead.....;;."sup".;Use.Org.abc
1360 5e 7b 73 75 70 65 72 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 ^{superscript}.syntax.instead...
1380 20 20 22 73 76 67 22 0a 20 20 20 20 22 74 65 6d 70 6c 61 74 65 22 20 22 74 65 78 74 61 72 65 61 .."svg"....."template"."textarea
13a0 22 20 22 74 69 6d 65 22 0a 20 20 20 20 22 75 22 0a 20 20 20 20 22 76 61 72 22 20 22 76 69 64 65 "."time"....."u"....."var"."vide
13c0 6f 22 29 0a 20 20 22 48 54 4d 4c 20 35 20 69 6e 6c 69 6e 65 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a o")..."HTML.5.inline.elements...
13e0 68 74 74 70 73 3a 2f 2f 64 65 76 65 6c 6f 70 65 72 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6e https://developer.mozilla.org/en
1400 2d 55 53 2f 64 6f 63 73 2f 57 65 62 2f 48 54 4d 4c 2f 49 6e 6c 69 6e 65 5f 65 6c 65 6d 65 6e 74 -US/docs/Web/HTML/Inline_element
1420 73 23 6c 69 73 74 5f 6f 66 5f 69 6e 6c 69 6e 65 5f 65 6c 65 6d 65 6e 74 73 2e 22 29 0a 0a 28 64 s#list_of_inline_elements.")..(d
1440 65 66 76 61 72 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 efvar.org-blackfriday--hrule-ins
1460 65 72 74 65 64 20 6e 69 6c 0a 20 20 22 53 74 61 74 65 20 76 61 72 69 61 62 6c 65 20 74 6f 20 74 erted.nil..."State.variable.to.t
1480 72 61 63 6b 20 69 66 20 74 68 65 20 68 6f 72 69 7a 6f 6e 74 61 6c 20 72 75 6c 65 20 77 61 73 20 rack.if.the.horizontal.rule.was.
14a0 69 6e 73 65 72 74 65 64 2e 0a 54 68 69 73 20 63 68 65 63 6b 20 69 73 20 73 70 65 63 69 66 69 63 inserted..This.check.is.specific
14c0 61 6c 6c 79 20 74 72 61 63 6b 20 69 66 20 74 68 61 74 20 68 6f 72 69 7a 6f 6e 74 61 6c 20 72 75 ally.track.if.that.horizontal.ru
14e0 6c 65 20 77 61 73 0a 69 6e 73 65 72 74 65 64 20 61 66 74 65 72 20 74 68 65 20 66 69 72 73 74 20 le.was.inserted.after.the.first.
1500 72 6f 77 20 6f 66 20 74 68 65 20 74 61 62 6c 65 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 row.of.the.table.")..(defvar.org
1520 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 61 63 -blackfriday--code-block-num-bac
1540 6b 74 69 63 6b 73 2d 64 65 66 61 75 6c 74 20 33 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 kticks-default.3..."Variable.to.
1560 73 74 6f 72 65 20 74 68 65 20 64 65 66 61 75 6c 74 20 6e 75 6d 62 65 72 20 6f 66 20 62 61 63 6b store.the.default.number.of.back
1580 74 69 63 6b 73 20 66 6f 72 20 63 6f 64 65 20 62 6c 6f 63 6b 2e 0a 0a 4e 6f 74 65 20 74 68 61 74 ticks.for.code.block...Note.that
15a0 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 2a 6f 6e 6c 79 2a 20 66 6f 72 20 69 6e 74 .this.variable.is.*only*.for.int
15c0 65 72 6e 61 6c 20 75 73 65 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 62 6c 61 63 6b 66 ernal.use.")..(defvar.org-blackf
15e0 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 20 riday--code-block-num-backticks.
1600 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-
1620 62 61 63 6b 74 69 63 6b 73 2d 64 65 66 61 75 6c 74 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f backticks-default..."Variable.to
1640 20 73 74 6f 72 65 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 61 63 6b 74 69 63 6b 73 20 66 .store.the.number.of.backticks.f
1660 6f 72 20 63 6f 64 65 20 62 6c 6f 63 6b 2e 0a 42 79 20 64 65 66 61 75 6c 74 2c 20 69 74 20 73 74 or.code.block..By.default,.it.st
1680 61 79 73 20 61 74 20 33 2e 20 20 54 68 69 73 20 6e 75 6d 62 65 72 20 69 73 20 69 6e 63 72 65 6d ays.at.3...This.number.is.increm
16a0 65 6e 74 65 64 20 66 6f 72 20 66 65 77 0a 63 6f 72 6e 65 72 20 63 61 73 65 73 2e 0a 0a 4e 6f 74 ented.for.few.corner.cases...Not
16c0 65 20 74 68 61 74 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 2a 6f 6e 6c 79 2a 20 66 e.that.this.variable.is.*only*.f
16e0 6f 72 20 69 6e 74 65 72 6e 61 6c 20 75 73 65 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d or.internal.use.")..(defvar.org-
1700 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 74 72 69 6e 67 20 blackfriday--org-element-string.
1720 27 28 28 73 72 63 2d 62 6c 6f 63 6b 20 2e 20 22 43 6f 64 65 20 53 6e 69 70 70 65 74 22 29 0a 20 '((src-block..."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 20 20 20 ................................
1760 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 20 2e 20 22 54 61 62 6c 65 22 29 0a 20 .............(table..."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 20 20 20 ................................
17a0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 67 75 72 65 20 2e 20 22 46 69 67 75 72 65 22 29 .............(figure..."Figure")
17c0 29 20 3b 4e 6f 74 65 20 74 68 61 74 20 60 66 69 67 75 72 65 27 20 69 73 20 6e 6f 74 20 61 6e 20 ).;Note.that.`figure'.is.not.an.
17e0 61 63 74 75 61 6c 20 4f 72 67 20 65 6c 65 6d 65 6e 74 0a 20 20 22 41 6c 69 73 74 20 6f 66 20 73 actual.Org.element..."Alist.of.s
1800 74 72 69 6e 67 73 20 75 73 65 64 20 74 6f 20 72 65 70 72 65 73 65 6e 74 20 76 61 72 69 6f 75 73 trings.used.to.represent.various
1820 20 4f 72 67 20 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 .Org.elements.")..(defvar.org-bl
1840 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 72 79 20 22 6c 74 78 ackfriday--ltximg-directory."ltx
1860 69 6d 67 2f 22 0a 20 20 22 53 75 62 20 64 69 72 65 63 74 6f 72 79 20 63 72 65 61 74 65 64 20 69 img/"..."Sub.directory.created.i
1880 6e 73 69 64 65 20 74 68 65 20 73 69 74 65 27 73 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 nside.the.site's.static.director
18a0 79 20 66 6f 72 20 4c 61 54 65 58 20 69 6d 61 67 65 73 2e 0a 0a 54 68 69 73 20 73 75 62 20 64 69 y.for.LaTeX.images...This.sub.di
18c0 72 65 63 74 6f 72 79 20 69 73 20 63 72 65 61 74 65 64 20 77 68 65 6e 20 61 6e 20 65 78 70 6f 72 rectory.is.created.when.an.expor
18e0 74 20 6f 70 74 69 6f 6e 20 6c 69 6b 65 0a 60 74 65 78 3a 64 76 69 73 76 67 6d 27 20 69 73 20 75 t.option.like.`tex:dvisvgm'.is.u
1900 73 65 64 2e 22 29 0a 0a 0c 0a 3b 3b 3b 20 55 73 65 72 2d 43 6f 6e 66 69 67 75 72 61 62 6c 65 20 sed.")....;;;.User-Configurable.
1920 56 61 72 69 61 62 6c 65 73 0a 0a 28 64 65 66 67 72 6f 75 70 20 6f 72 67 2d 65 78 70 6f 72 74 2d Variables..(defgroup.org-export-
1940 62 6c 61 63 6b 66 72 69 64 61 79 20 6e 69 6c 0a 20 20 22 4f 70 74 69 6f 6e 73 20 66 6f 72 20 65 blackfriday.nil..."Options.for.e
1960 78 70 6f 72 74 69 6e 67 20 4f 72 67 20 6d 6f 64 65 20 66 69 6c 65 73 20 74 6f 20 42 6c 61 63 6b xporting.Org.mode.files.to.Black
1980 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 2e 22 0a 20 20 3a 74 61 67 20 22 4f 72 67 20 45 78 friday.Markdown."...:tag."Org.Ex
19a0 70 6f 72 74 20 42 6c 61 63 6b 66 72 69 64 61 79 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d port.Blackfriday"...:group.'org-
19c0 65 78 70 6f 72 74 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 export)..(defcustom.org-blackfri
19e0 64 61 79 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 0a 20 20 day-syntax-highlighting-langs...
1a00 27 28 28 22 69 70 79 74 68 6f 6e 22 20 2e 20 22 70 79 74 68 6f 6e 22 29 0a 20 20 20 20 28 22 6a '(("ipython"..."python").....("j
1a20 75 70 79 74 65 72 2d 70 79 74 68 6f 6e 22 20 2e 20 22 70 79 74 68 6f 6e 22 29 0a 20 20 20 20 28 upyter-python"..."python").....(
1a40 22 63 6f 6e 66 2d 74 6f 6d 6c 22 20 2e 20 22 74 6f 6d 6c 22 29 0a 20 20 20 20 28 22 63 6f 6e 66 "conf-toml"..."toml").....("conf
1a60 2d 73 70 61 63 65 22 20 2e 20 22 63 66 67 22 29 0a 20 20 20 20 28 22 63 6f 6e 66 22 20 2e 20 22 -space"..."cfg").....("conf"..."
1a80 63 66 67 22 29 29 0a 20 20 22 41 6c 69 73 74 20 6d 61 70 70 69 6e 67 20 73 72 63 20 62 6c 6f 63 cfg"))..."Alist.mapping.src.bloc
1aa0 6b 20 6c 61 6e 67 75 61 67 65 73 20 74 6f 20 74 68 65 69 72 20 73 79 6e 74 61 78 20 68 69 67 68 k.languages.to.their.syntax.high
1ac0 6c 69 67 68 74 69 6e 67 20 6c 61 6e 67 75 61 67 65 73 2e 0a 0a 54 68 65 20 6b 65 79 20 69 73 20 lighting.languages...The.key.is.
1ae0 74 68 65 20 73 72 63 20 62 6c 6f 63 6b 20 6c 61 6e 67 75 61 67 65 20 6e 61 6d 65 2e 20 20 54 68 the.src.block.language.name...Th
1b00 65 20 76 61 6c 75 65 20 69 73 20 74 68 65 0a 6c 61 6e 67 75 61 67 65 20 6e 61 6d 65 20 74 6f 20 e.value.is.the.language.name.to.
1b20 62 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 65 78 70 6f 72 74 65 64 20 4d 61 72 6b 64 6f 77 6e be.used.in.the.exported.Markdown
1b40 2e 20 20 54 68 65 20 76 61 6c 75 65 0a 6c 61 6e 67 75 61 67 65 20 6e 61 6d 65 20 77 6f 75 6c 64 ...The.value.language.name.would
1b60 20 62 65 20 6f 6e 65 20 74 68 61 74 20 48 75 67 6f 27 73 20 43 68 72 6f 6d 61 20 73 79 6e 74 61 .be.one.that.Hugo's.Chroma.synta
1b80 78 20 68 69 67 68 6c 69 67 68 74 65 72 0a 77 6f 75 6c 64 20 75 6e 64 65 72 73 74 61 6e 64 2e 0a x.highlighter.would.understand..
1ba0 0a 46 6f 72 20 6d 6f 73 74 20 73 72 63 20 6c 61 6e 67 75 61 67 65 73 2c 20 74 68 69 73 20 76 61 .For.most.src.languages,.this.va
1bc0 72 69 61 62 6c 65 20 77 69 6c 6c 20 6e 6f 74 20 6e 65 65 64 20 74 6f 20 62 65 0a 63 75 73 74 6f riable.will.not.need.to.be.custo
1be0 6d 69 7a 65 64 2e 20 20 42 75 74 20 74 68 65 72 65 20 61 72 65 20 73 6f 6d 65 20 73 72 63 20 62 mized...But.there.are.some.src.b
1c00 6c 6f 63 6b 20 5c 22 6c 61 6e 67 75 61 67 65 73 5c 22 20 6c 69 6b 65 0a 60 69 70 79 74 68 6f 6e lock.\"languages\".like.`ipython
1c20 27 20 61 6e 64 20 60 6a 75 70 79 74 65 72 2d 70 79 74 68 6f 6e 27 20 66 6f 72 20 77 68 69 63 68 '.and.`jupyter-python'.for.which
1c40 2c 20 74 68 65 20 65 78 70 6f 72 74 65 64 20 6c 61 6e 67 75 61 67 65 0a 74 61 67 20 6e 65 65 64 ,.the.exported.language.tag.need
1c60 73 20 74 6f 20 62 65 20 60 70 79 74 68 6f 6e 27 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 s.to.be.`python'."...:group.'org
1c80 2d 65 78 70 6f 72 74 2d 62 6c 61 63 6b 66 72 69 64 61 79 0a 20 20 3a 74 79 70 65 20 27 28 72 65 -export-blackfriday...:type.'(re
1ca0 70 65 61 74 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 peat...........(cons............
1cc0 28 73 74 72 69 6e 67 20 22 53 72 63 20 42 6c 6f 63 6b 20 6c 61 6e 67 75 61 67 65 22 29 0a 20 20 (string."Src.Block.language")...
1ce0 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 20 22 53 79 6e 74 61 78 20 68 69 67 68 6c 69 67 .........(string."Syntax.highlig
1d00 68 74 69 6e 67 20 6c 61 6e 67 75 61 67 65 22 29 29 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 44 65 66 69 hting.language")))).....;;;.Defi
1d20 6e 65 20 42 61 63 6b 2d 45 6e 64 0a 0a 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 65 66 69 6e 65 2d ne.Back-End..(org-export-define-
1d40 64 65 72 69 76 65 64 2d 62 61 63 6b 65 6e 64 20 27 62 6c 61 63 6b 66 72 69 64 61 79 20 27 6d 64 derived-backend.'blackfriday.'md
1d60 0a 20 20 3a 66 69 6c 74 65 72 73 2d 61 6c 69 73 74 20 27 28 28 3a 66 69 6c 74 65 72 2d 70 61 72 ...:filters-alist.'((:filter-par
1d80 73 65 2d 74 72 65 65 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 65 70 61 72 61 se-tree...org-blackfriday-separa
1da0 74 65 2d 65 6c 65 6d 65 6e 74 73 29 29 0a 20 20 3b 3b 20 44 6f 20 6e 6f 74 20 63 6c 75 74 74 65 te-elements))...;;.Do.not.clutte
1dc0 72 20 74 68 65 20 2a 4f 72 67 20 45 78 70 6f 72 74 65 72 20 44 69 73 70 61 74 63 68 2a 20 6d 65 r.the.*Org.Exporter.Dispatch*.me
1de0 6e 75 2e 0a 20 20 3b 3b 20 3a 6d 65 6e 75 2d 65 6e 74 72 79 0a 20 20 3b 3b 20 27 28 3f 62 20 22 nu....;;.:menu-entry...;;.'(?b."
1e00 45 78 70 6f 72 74 20 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 46 6c 61 76 6f 72 65 64 20 4d Export.to.Blackfriday.Flavored.M
1e20 61 72 6b 64 6f 77 6e 22 0a 20 20 3b 3b 20 20 20 20 20 20 28 28 3f 42 20 22 54 6f 20 74 65 6d 70 arkdown"...;;......((?B."To.temp
1e40 6f 72 61 72 79 20 62 75 66 66 65 72 22 0a 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 orary.buffer"...;;...........(la
1e60 6d 62 64 61 20 28 61 20 73 20 76 20 62 29 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d mbda.(a.s.v.b).(org-blackfriday-
1e80 65 78 70 6f 72 74 2d 61 73 2d 6d 61 72 6b 64 6f 77 6e 20 61 20 73 20 76 29 29 29 0a 20 20 3b 3b export-as-markdown.a.s.v)))...;;
1ea0 20 20 20 20 20 20 20 28 3f 62 20 22 54 6f 20 66 69 6c 65 22 20 28 6c 61 6d 62 64 61 20 28 61 20 .......(?b."To.file".(lambda.(a.
1ec0 73 20 76 20 62 29 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 78 70 6f 72 74 2d 74 s.v.b).(org-blackfriday-export-t
1ee0 6f 2d 6d 61 72 6b 64 6f 77 6e 20 61 20 73 20 76 29 29 29 0a 20 20 3b 3b 20 20 20 20 20 20 20 28 o-markdown.a.s.v)))...;;.......(
1f00 3f 6f 20 22 54 6f 20 66 69 6c 65 20 61 6e 64 20 6f 70 65 6e 22 0a 20 20 3b 3b 20 20 20 20 20 20 ?o."To.file.and.open"...;;......
1f20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 73 20 76 20 62 29 0a 20 20 3b 3b 20 20 20 20 20 .....(lambda.(a.s.v.b)...;;.....
1f40 20 20 20 20 20 20 20 20 28 69 66 20 61 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 65 ........(if.a.(org-blackfriday-e
1f60 78 70 6f 72 74 2d 74 6f 2d 6d 61 72 6b 64 6f 77 6e 20 74 20 73 20 76 29 0a 20 20 3b 3b 20 20 20 xport-to-markdown.t.s.v)...;;...
1f80 20 20 20 20 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 ............(org-open-file.(org-
1fa0 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 6e 20 6e blackfriday-export-to-markdown.n
1fc0 69 6c 20 73 20 76 29 29 29 29 29 29 29 0a 20 20 3a 74 72 61 6e 73 6c 61 74 65 2d 61 6c 69 73 74 il.s.v)))))))...:translate-alist
1fe0 20 27 28 28 63 65 6e 74 65 72 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 .'((center-block...org-blackfrid
2000 61 79 2d 63 65 6e 74 65 72 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ay-center-block)................
2020 20 20 20 20 20 20 28 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 62 6c 61 63 6b ......(example-block...org-black
2040 66 72 69 64 61 79 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 friday-example-block)...........
2060 20 20 20 20 20 20 20 20 20 20 20 28 66 69 78 65 64 2d 77 69 64 74 68 20 2e 20 6f 72 67 2d 62 6c ...........(fixed-width...org-bl
2080 61 63 6b 66 72 69 64 61 79 2d 66 69 78 65 64 2d 77 69 64 74 68 29 20 3b 4f 72 67 20 42 61 62 65 ackfriday-fixed-width).;Org.Babe
20a0 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 20 20 28 l.Results......................(
20c0 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 footnote-reference...org-blackfr
20e0 69 64 61 79 2d 66 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 iday-footnote-reference)........
2100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 20 2e 20 ..............(inner-template...
2120 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 29 0a org-blackfriday-inner-template).
2140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 74 61 6c 69 63 20 2e 20 6f .....................(italic...o
2160 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 74 61 6c 69 63 29 0a 20 20 20 20 20 20 20 20 20 rg-blackfriday-italic)..........
2180 20 20 20 20 20 20 20 20 20 20 20 20 28 69 74 65 6d 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 ............(item...org-blackfri
21a0 64 61 79 2d 69 74 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 28 day-item)......................(
21c0 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 latex-environment...org-blackfri
21e0 64 61 79 2d 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 day-latex-environment)..........
2200 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 74 65 78 2d 66 72 61 67 6d 65 6e 74 20 2e 20 6f 72 ............(latex-fragment...or
2220 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 6c 61 74 65 78 2d 66 72 61 67 6d 65 6e 74 29 0a 20 20 g-blackfriday-latex-fragment)...
2240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 65 2d 62 72 65 61 6b 20 2e ...................(line-break..
2260 20 6f 72 67 2d 68 74 6d 6c 2d 6c 69 6e 65 2d 62 72 65 61 6b 29 20 3b 22 5c 5c 22 20 61 74 20 45 .org-html-line-break).;"\\".at.E
2280 4f 4c 20 66 6f 72 63 65 73 20 61 20 6c 69 6e 65 20 62 72 65 61 6b 0a 20 20 20 20 20 20 20 20 20 OL.forces.a.line.break..........
22a0 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 61 69 6e 2d 6c 69 73 74 20 2e 20 6f 72 67 2d 62 6c ............(plain-list...org-bl
22c0 61 63 6b 66 72 69 64 61 79 2d 70 6c 61 69 6e 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 ackfriday-plain-list)...........
22e0 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 61 69 6e 2d 74 65 78 74 20 2e 20 6f 72 67 2d 62 6c 61 ...........(plain-text...org-bla
2300 63 6b 66 72 69 64 61 79 2d 70 6c 61 69 6e 2d 74 65 78 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 ckfriday-plain-text)............
2320 20 20 20 20 20 20 20 20 20 20 28 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 62 6c 61 ..........(quote-block...org-bla
2340 63 6b 66 72 69 64 61 79 2d 71 75 6f 74 65 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 ckfriday-quote-block)...........
2360 20 20 20 20 20 20 20 20 20 20 20 28 72 61 64 69 6f 2d 74 61 72 67 65 74 20 2e 20 6f 72 67 2d 62 ...........(radio-target...org-b
2380 6c 61 63 6b 66 72 69 64 61 79 2d 72 61 64 69 6f 2d 74 61 72 67 65 74 29 0a 20 20 20 20 20 20 20 lackfriday-radio-target)........
23a0 20 20 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 ..............(special-block...o
23c0 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 0a 20 20 rg-blackfriday-special-block)...
23e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 62 6c 6f 63 6b 20 2e 20 ...................(src-block...
2400 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 org-blackfriday-src-block)......
2420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 20 ................(strike-through.
2440 2e 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 ..org-blackfriday-strike-through
2460 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 62 6c 65 2d 63 65 )......................(table-ce
2480 6c 6c 20 2e 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 29 ll...org-blackfriday-table-cell)
24a0 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 62 6c 65 2d 72 6f 77 ......................(table-row
24c0 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 72 6f 77 29 0a 20 20 ...org-blackfriday-table-row)...
24e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 20 2e 20 6f 72 67 2d ...................(table...org-
2500 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 blackfriday-table)..............
2520 20 20 20 20 20 20 20 20 28 74 61 72 67 65 74 20 2e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 ........(target...org-blackfrida
2540 79 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 y-target)......................(
2560 76 65 72 73 65 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 76 65 verse-block...org-blackfriday-ve
2580 72 73 65 2d 62 6c 6f 63 6b 29 29 29 0a 0a 0c 0a 3b 3b 3b 20 4d 69 73 63 65 6c 6c 61 6e 65 6f 75 rse-block)))....;;;.Miscellaneou
25a0 73 20 48 65 6c 70 65 72 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 3b 3b 20 43 68 65 63 6b 20 69 s.Helper.Functions..;;;;.Check.i
25c0 66 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 f.a.boolean.plist.value.is.non-n
25e0 69 6c 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 70 6c 69 73 74 il.(defun.org-blackfriday--plist
2600 2d 67 65 74 2d 74 72 75 65 2d 70 20 28 69 6e 66 6f 20 6b 65 79 29 0a 20 20 22 52 65 74 75 72 6e -get-true-p.(info.key)..."Return
2620 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 4b 45 59 20 69 6e 20 49 4e 46 4f 20 69 73 20 6e 6f 6e 2d 6e .non-nil.if.KEY.in.INFO.is.non-n
2640 69 6c 2e 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 4b il..Return.nil.if.the.value.of.K
2660 45 59 20 69 6e 20 49 4e 46 4f 20 69 73 20 6e 69 6c 2c 20 5c 22 6e 69 6c 5c 22 20 6f 72 20 5c 22 EY.in.INFO.is.nil,.\"nil\".or.\"
2680 5c 22 2e 0a 0a 54 68 69 73 20 69 73 20 61 20 73 70 65 63 69 61 6c 20 76 65 72 73 69 6f 6e 20 6f \"...This.is.a.special.version.o
26a0 66 20 60 70 6c 69 73 74 2d 67 65 74 27 20 75 73 65 64 20 6f 6e 6c 79 20 66 6f 72 20 6b 65 79 73 f.`plist-get'.used.only.for.keys
26c0 20 74 68 61 74 0a 61 72 65 20 65 78 70 65 63 74 65 64 20 74 6f 20 68 6f 6c 64 20 61 20 62 6f 6f .that.are.expected.to.hold.a.boo
26e0 6c 65 61 6e 20 76 61 6c 75 65 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 lean.value...INFO.is.a.plist.use
2700 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 20 d.as.a.communication.channel."..
2720 20 28 6c 65 74 20 28 28 76 61 6c 75 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 6b 65 .(let.((value.(plist-get.info.ke
2740 79 29 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 6f 72 20 28 65 71 75 61 6c 20 y))).....(cond......((or.(equal.
2760 74 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 6e 69 6c 20 76 61 t.value)...........(equal.nil.va
2780 6c 75 65 29 29 0a 20 20 20 20 20 20 76 61 6c 75 65 29 0a 20 20 20 20 20 28 28 61 6e 64 20 28 73 lue)).......value)......((and.(s
27a0 74 72 69 6e 67 70 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 tringp.value)............(string
27c0 3d 20 76 61 6c 75 65 20 22 6e 69 6c 22 29 29 0a 20 20 20 20 20 20 6e 69 6c 29 0a 20 20 20 20 20 =.value."nil")).......nil)......
27e0 28 74 0a 20 20 20 20 20 20 3b 3b 20 22 22 20 2d 3e 20 6e 69 6c 0a 20 20 20 20 20 20 3b 3b 20 22 (t.......;;."".->.nil.......;;."
2800 74 22 20 2d 3e 20 22 74 22 0a 20 20 20 20 20 20 3b 3b 20 22 61 6e 79 74 68 69 6e 67 20 65 6c 73 t".->."t".......;;."anything.els
2820 65 22 20 2d 3e 20 22 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 22 0a 20 20 20 20 20 20 3b 3b 20 31 e".->."anything.else".......;;.1
2840 32 33 20 2d 3e 20 6e 69 6c 0a 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 23.->.nil.......(org-string-nw-p
2860 20 76 61 6c 75 65 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 20 6f 66 20 63 6f 6e 74 65 .value)))))..;;;;.Table.of.conte
2880 6e 74 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 66 6f 72 6d 61 nts.(defun.org-blackfriday-forma
28a0 74 2d 74 6f 63 20 28 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 61 t-toc.(heading.info)..."Return.a
28c0 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 61 62 6c 65 20 6f 66 20 63 6f 6e 74 65 6e 74 73 20 n.appropriate.table.of.contents.
28e0 65 6e 74 72 79 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 entry.for.HEADING...INFO.is.a.pl
2900 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e ist.used.as.a.communication.chan
2920 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 74 69 74 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 nel."...(let*.((title.(org-expor
2940 74 2d 64 61 74 61 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 61 6c 74 2d 74 69 74 6c 65 t-data.(org-export-get-alt-title
2960 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 .heading.info).info))..........(
2980 6c 65 76 65 6c 20 28 31 2d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 level.(1-.(org-element-property.
29a0 3a 6c 65 76 65 6c 20 68 65 61 64 69 6e 67 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 64 65 :level.heading)))..........(inde
29c0 6e 74 20 28 63 6f 6e 63 61 74 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2a 20 6c 65 76 65 6c nt.(concat.(make-string.(*.level
29e0 20 32 29 20 3f 20 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 6e 63 68 6f 72 20 28 6f 72 20 28 .2).?.)))..........(anchor.(or.(
2a00 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 4d 5f 49 44 20 org-element-property.:CUSTOM_ID.
2a20 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 6f heading)......................(o
2a40 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 68 65 61 64 69 6e 67 20 rg-export-get-reference.heading.
2a60 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 28 63 6f 6e 63 61 74 20 69 6e 64 65 6e 74 20 22 2d 20 5b info)))).....(concat.indent."-.[
2a80 22 20 74 69 74 6c 65 20 22 5d 22 20 22 28 23 22 20 61 6e 63 68 6f 72 20 22 29 22 29 29 29 0a 0a ".title."]"."(#".anchor.")")))..
2aa0 3b 3b 3b 3b 20 45 78 74 72 61 20 64 69 76 20 68 61 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 ;;;;.Extra.div.hack.(defun.org-b
2ac0 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 28 69 6e 66 6f lackfriday--extra-div-hack.(info
2ae0 20 26 6f 70 74 69 6f 6e 61 6c 20 74 61 67 29 0a 20 20 22 52 65 74 75 72 6e 20 73 74 72 69 6e 67 .&optional.tag)..."Return.string
2b00 20 66 6f 72 20 74 68 65 20 5c 22 65 78 74 72 61 20 64 69 76 20 68 61 63 6b 5c 22 2e 0a 0a 54 68 .for.the.\"extra.div.hack\"...Th
2b20 65 20 65 6d 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 5c e.empty.HTML.element.tags.like.\
2b40 22 3c 64 69 76 3e 3c 2f 64 69 76 3e 5c 22 20 69 73 20 61 20 68 61 63 6b 20 74 6f 20 67 65 74 0a "<div></div>\".is.a.hack.to.get.
2b60 61 72 6f 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 around.a.Blackfriday.limitation.
2b80 0a 0a 53 65 65 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 ..See.https://github.com/kaushal
2ba0 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 49 4e 46 4f 20 69 73 modi/ox-hugo/issues/93...INFO.is
2bc0 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
2be0 20 63 68 61 6e 6e 65 6c 2e 0a 0a 49 66 20 54 41 47 20 69 73 20 6e 6f 74 20 73 70 65 63 69 66 69 .channel...If.TAG.is.not.specifi
2c00 65 64 2c 20 69 74 20 64 65 66 61 75 6c 74 73 20 74 6f 20 5c 22 64 69 76 5c 22 2e 22 0a 20 20 28 ed,.it.defaults.to.\"div\"."...(
2c20 6c 65 74 20 28 28 74 61 67 20 28 6f 72 20 74 61 67 20 22 64 69 76 22 29 29 29 0a 20 20 20 20 28 let.((tag.(or.tag."div"))).....(
2c40 69 66 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 67 65 74 2d 74 if.(org-blackfriday--plist-get-t
2c60 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 0a 20 20 20 20 20 rue-p.info.:hugo-goldmark)......
2c80 20 20 20 22 22 0a 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5c 6e 20 20 3c 25 73 3e 3c 2f 25 ..."".......(format."\n..<%s></%
2ca0 73 3e 22 20 74 61 67 20 74 61 67 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 s>".tag.tag))))..(defun.org-blac
2cc0 6b 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 20 28 73 79 6d 62 6f 6c 29 kfriday--get-ref-prefix.(symbol)
2ce0 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 70 72 65 66 69 78 20 73 74 72 69 6e 67 20 66 6f 72 ..."Return.the.prefix.string.for
2d00 20 53 59 4d 42 4f 4c 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 61 6e 20 4f 72 67 20 65 6c 65 6d .SYMBOL.which.can.be.an.Org.elem
2d20 65 6e 74 20 74 79 70 65 2e 0a 0a 52 65 74 75 72 6e 73 20 6e 69 6c 20 69 66 20 74 68 65 20 53 59 ent.type...Returns.nil.if.the.SY
2d40 4d 42 4f 4c 27 73 20 70 72 65 66 69 78 20 73 74 72 69 6e 67 20 69 73 6e 27 74 20 64 65 66 69 6e MBOL's.prefix.string.isn't.defin
2d60 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 65 66 69 78 2d 61 6c 69 73 74 20 27 28 28 66 69 ed."...(let.((prefix-alist.'((fi
2d80 67 75 72 65 20 2e 20 22 66 69 67 75 72 65 2d 2d 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 gure..."figure--")..............
2da0 20 20 20 20 20 20 20 20 20 20 20 28 72 61 64 69 6f 20 2e 20 22 6f 72 67 2d 72 61 64 69 6f 2d 2d ...........(radio..."org-radio--
2dc0 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 73 72 63 2d ").........................(src-
2de0 62 6c 6f 63 6b 20 2e 20 22 63 6f 64 65 2d 73 6e 69 70 70 65 74 2d 2d 22 29 0a 20 20 20 20 20 20 block..."code-snippet--").......
2e00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 20 2e 20 22 74 61 62 6c ..................(table..."tabl
2e20 65 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 20 20 28 74 e--").........................(t
2e40 61 72 67 65 74 20 2e 20 22 6f 72 67 2d 74 61 72 67 65 74 2d 2d 22 29 29 29 29 0a 20 20 20 20 28 arget..."org-target--")))).....(
2e60 63 64 72 20 28 61 73 73 6f 63 20 73 79 6d 62 6f 6c 20 70 72 65 66 69 78 2d 61 6c 69 73 74 29 29 cdr.(assoc.symbol.prefix-alist))
2e80 29 29 0a 0a 3b 3b 3b 3b 20 46 6f 6f 74 6e 6f 74 65 20 73 65 63 74 69 6f 6e 0a 28 64 65 66 75 6e ))..;;;;.Footnote.section.(defun
2ea0 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 73 65 63 74 69 6f .org-blackfriday-footnote-sectio
2ec0 6e 20 28 69 6e 66 6f 20 26 6f 70 74 69 6f 6e 61 6c 20 69 73 2d 63 6a 6b 29 0a 20 20 22 46 6f 72 n.(info.&optional.is-cjk)..."For
2ee0 6d 61 74 20 74 68 65 20 66 6f 6f 74 6e 6f 74 65 20 73 65 63 74 69 6f 6e 2e 0a 0a 49 4e 46 4f 20 mat.the.footnote.section...INFO.
2f00 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
2f20 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 49 53 2d 43 4a 4b 20 73 68 6f 75 6c 64 20 62 65 20 73 65 on.channel...IS-CJK.should.be.se
2f40 74 20 74 6f 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 74 68 65 20 6c 61 6e 67 75 61 67 65 20 69 73 20 t.to.non-nil.if.the.language.is.
2f60 43 68 69 6e 65 73 65 2c 0a 4a 61 70 61 6e 65 73 65 20 6f 72 20 4b 6f 72 65 61 6e 2e 22 0a 20 20 Chinese,.Japanese.or.Korean."...
2f80 28 6c 65 74 20 28 28 66 6e 2d 61 6c 69 73 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 63 6f 6c 6c (let.((fn-alist.(org-export-coll
2fa0 65 63 74 2d 66 6f 6f 74 6e 6f 74 65 2d 64 65 66 69 6e 69 74 69 6f 6e 73 20 69 6e 66 6f 29 29 0a ect-footnote-definitions.info)).
2fc0 20 20 20 20 20 20 20 20 3b 3b 20 46 72 69 20 4a 75 6c 20 32 31 20 31 34 3a 33 33 3a 32 35 20 45 ........;;.Fri.Jul.21.14:33:25.E
2fe0 44 54 20 32 30 31 37 20 2d 20 6b 6d 6f 64 69 0a 20 20 20 20 20 20 20 20 3b 3b 20 54 4f 44 4f 3a DT.2017.-.kmodi.........;;.TODO:
3000 20 4e 65 65 64 20 74 6f 20 6c 65 61 72 6e 20 75 73 69 6e 67 20 63 6c 2d 6c 6f 6f 70 0a 20 20 20 .Need.to.learn.using.cl-loop....
3020 20 20 20 20 20 3b 3b 20 42 65 6c 6f 77 20 66 6f 72 6d 20 66 72 6f 6d 20 6f 78 2d 6d 64 20 64 69 .....;;.Below.form.from.ox-md.di
3040 64 20 6e 6f 74 20 77 6f 72 6b 2e 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 66 6e 2d 61 6c 69 73 74 d.not.work..........;;.(fn-alist
3060 2d 73 74 72 69 70 70 65 64 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 28 63 6c 2d 6c 6f 6f 70 20 66 -stripped.........;;..(cl-loop.f
3080 6f 72 20 28 6e 20 72 61 77 29 20 69 6e 20 66 6e 2d 61 6c 69 73 74 20 63 6f 6c 6c 65 63 74 0a 20 or.(n.raw).in.fn-alist.collect..
30a0 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 6e 20 28 6f 72 67 .......;;...........(cons.n.(org
30c0 2d 74 72 69 6d 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 72 61 77 20 69 6e 66 6f 29 -trim.(org-export-data.raw.info)
30e0 29 29 29 29 0a 20 20 20 20 20 20 20 20 66 6e 2d 61 6c 69 73 74 2d 73 74 72 69 70 70 65 64 29 0a )))).........fn-alist-stripped).
3100 20 20 20 20 28 6c 65 74 20 28 28 6e 20 31 29 0a 20 20 20 20 20 20 20 20 20 20 64 65 66 29 0a 20 ....(let.((n.1)...........def)..
3120 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 66 6e 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 .....(dolist.(fn.fn-alist)......
3140 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 66 6e 3a 20 25 53 22 20 66 6e 29 0a 20 20 20 20 ...;;.(message."fn:.%S".fn).....
3160 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 66 6e 3a 20 25 73 22 20 28 6f 72 67 2d 65 78 ....;;.(message."fn:.%s".(org-ex
3180 70 6f 72 74 2d 64 61 74 61 20 66 6e 20 69 6e 66 6f 29 29 20 3b 54 68 69 73 20 67 69 76 65 73 20 port-data.fn.info)).;This.gives.
31a0 65 72 72 6f 72 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 66 6e 20 6e 74 error.........;;.(message."fn.nt
31c0 68 20 32 20 63 61 72 3a 20 25 73 22 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 6e h.2.car:.%s".(org-export-data.(n
31e0 74 68 20 32 20 66 6e 29 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 th.2.fn).info)).........(setq.de
3200 66 20 28 6f 72 67 2d 74 72 69 6d 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 28 6e 74 f.(org-trim.(org-export-data.(nt
3220 68 20 32 20 66 6e 29 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 67 h.2.fn).info))).........(if.(org
3240 2d 62 6c 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 69 -blackfriday--plist-get-true-p.i
3260 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 20 20 nfo.:hugo-goldmark).............
3280 28 70 72 6f 67 6e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 47 6f 6c (progn......................;Gol
32a0 64 6d 61 72 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 47 6f 6c 64 6d 61 72 6b 27 dmark...............;;.Goldmark'
32c0 73 20 22 50 48 50 20 4d 61 72 6b 64 6f 77 6e 20 45 78 74 72 61 3a 20 46 6f 6f 74 6e 6f 74 65 73 s."PHP.Markdown.Extra:.Footnotes
32e0 22 20 65 78 74 65 6e 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 70 ".extension...............;;.sup
3300 70 6f 72 74 73 20 6d 75 6c 74 69 2d 6c 69 6e 65 20 66 6f 6f 74 6e 6f 74 65 73 20 2d 2d 0a 20 20 ports.multi-line.footnotes.--...
3320 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 2e 63 6f ............;;.https://github.co
3340 6d 2f 79 75 69 6e 2f 67 6f 6c 64 6d 61 72 6b 2f 23 66 6f 6f 74 6e 6f 74 65 73 2d 65 78 74 65 6e m/yuin/goldmark/#footnotes-exten
3360 73 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 32 6e 64 20 61 6e 64 20 66 sion................;;.2nd.and.f
3380 75 72 74 68 65 72 20 6c 69 6e 65 73 20 69 6e 20 61 20 6d 75 6c 74 69 2d 6c 69 6e 65 20 66 6f 6f urther.lines.in.a.multi-line.foo
33a0 74 6e 6f 74 65 20 6e 65 65 64 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 tnote.need.to...............;;.b
33c0 65 20 69 6e 64 65 6e 74 65 64 20 62 79 20 34 20 73 70 61 63 65 73 2e 0a 20 20 20 20 20 20 20 20 e.indented.by.4.spaces..........
33e0 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 70 2d ......(setq.def.(replace-regexp-
3400 69 6e 2d 73 74 72 69 6e 67 20 22 5c 6e 22 20 22 5c 6e 20 20 20 20 22 20 64 65 66 29 29 29 0a 20 in-string."\n"."\n....".def)))..
3420 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 20 20 20 20 20 .........(progn.................
3440 20 20 20 20 20 20 20 3b 42 6c 61 63 6b 66 72 69 64 61 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 .......;Blackfriday.............
3460 3b 3b 20 53 75 70 70 6f 72 74 20 6d 75 6c 74 69 2d 6c 69 6e 65 20 66 6f 6f 74 6e 6f 74 65 20 64 ;;.Support.multi-line.footnote.d
3480 65 66 69 6e 69 74 69 6f 6e 73 20 62 79 20 66 6f 6c 64 69 6e 67 20 61 6c 6c 0a 20 20 20 20 20 20 efinitions.by.folding.all.......
34a0 20 20 20 20 20 20 3b 3b 20 66 6f 6f 74 6e 6f 74 65 20 64 65 66 69 6e 69 74 69 6f 6e 20 6c 69 6e ......;;.footnote.definition.lin
34c0 65 73 20 69 6e 74 6f 20 61 20 73 69 6e 67 6c 65 20 6c 69 6e 65 20 61 73 20 42 6c 61 63 6b 66 72 es.into.a.single.line.as.Blackfr
34e0 69 64 61 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 6f 65 73 20 6e 6f 74 20 73 75 70 iday.............;;.does.not.sup
3500 70 6f 72 74 20 74 68 61 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 66 port.that..............(setq.def
3520 20 28 69 66 20 69 73 2d 63 6a 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .(if.is-cjk.....................
3540 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.
3560 20 20 20 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 20 ..........................."\n".
3580 22 20 22 20 3b 49 66 20 74 68 65 20 66 6f 6f 74 6e 6f 74 65 20 73 74 69 6c 6c 20 68 61 73 20 6e ".".;If.the.footnote.still.has.n
35a0 65 77 6c 69 6e 65 73 2c 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 73 70 61 63 65 ewlines,.replace.them.with.space
35c0 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 28 72 65 s............................(re
35e0 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..........
3600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 20 6e 6f 74 20 69 6e 73 ...................;;.Do.not.ins
3620 65 72 74 20 73 70 61 63 65 73 20 77 68 65 6e 20 6a 6f 69 6e 69 6e 67 20 6e 65 77 6c 69 6e 65 73 ert.spaces.when.joining.newlines
3640 20 66 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 20 20 .for............................
3660 20 3b 3b 20 43 4a 4b 20 6c 61 6e 67 75 61 67 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .;;.CJK.languages...............
3680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 5b 5b 3a 6d 75 6c 74 69 62 79 74 65 3a ..............."\\([[:multibyte:
36a0 5d 5d 5c 5c 29 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 6e 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c ]]\\)[[:blank:]]*\n[[:blank:]]*\
36c0 5c 28 5b 5b 3a 6d 75 6c 74 69 62 79 74 65 3a 5d 5d 5c 5c 29 22 20 22 5c 5c 31 5c 5c 32 22 0a 20 \([[:multibyte:]]\\)"."\\1\\2"..
36e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 29 29 ...........................def))
3700 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 .........................(replac
3720 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 20 22 20 64 65 66 29 e-regexp-in-string."\n".".".def)
3740 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 6d 75 6c 74 69 ))..............;;.Replace.multi
3760 70 6c 65 20 63 6f 6e 73 65 63 75 74 69 76 65 20 73 70 61 63 65 73 20 77 69 74 68 20 61 20 73 69 ple.consecutive.spaces.with.a.si
3780 6e 67 6c 65 20 73 70 61 63 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 ngle.space..............(setq.de
37a0 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 20 22 5b 5b 3a f.(replace-regexp-in-string."[[:
37c0 62 6c 61 6e 6b 3a 5d 5d 2b 22 20 22 20 22 20 64 65 66 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 blank:]]+".".".def)))).........(
37e0 70 75 73 68 20 28 63 6f 6e 73 20 6e 20 64 65 66 29 20 66 6e 2d 61 6c 69 73 74 2d 73 74 72 69 70 push.(cons.n.def).fn-alist-strip
3800 70 65 64 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6e 20 28 31 2b 20 6e 29 29 29 29 0a 20 ped).........(setq.n.(1+.n))))..
3820 20 20 20 28 77 68 65 6e 20 66 6e 2d 61 6c 69 73 74 2d 73 74 72 69 70 70 65 64 0a 20 20 20 20 20 ...(when.fn-alist-stripped......
3840 20 28 6d 61 70 63 6f 6e 63 61 74 20 28 6c 61 6d 62 64 61 20 28 66 6e 29 0a 20 20 20 20 20 20 20 .(mapconcat.(lambda.(fn)........
3860 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 20 66 6e ............;;.(message."dbg:.fn
3880 3a 20 25 30 64 20 2d 2d 20 25 73 22 20 28 63 61 72 20 66 6e 29 20 28 63 64 72 20 66 6e 29 29 0a :.%0d.--.%s".(car.fn).(cdr.fn)).
38a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 5e 66 6e ...................(format."[^fn
38c0 3a 25 64 5d 3a 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 :%d]:.%s".......................
38e0 20 20 20 20 20 28 63 61 72 20 66 6e 29 20 20 20 20 20 3b 66 6f 6f 74 6e 6f 74 65 20 6e 75 6d 62 .....(car.fn).....;footnote.numb
3900 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 er............................(c
3920 64 72 20 66 6e 29 29 29 20 20 20 3b 66 6f 6f 74 6e 6f 74 65 20 64 65 66 69 6e 69 74 69 6f 6e 0a dr.fn)))...;footnote.definition.
3940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 72 65 76 65 72 73 65 20 66 6e 2d 61 6c .................(nreverse.fn-al
3960 69 73 74 2d 73 74 72 69 70 70 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 ist-stripped).................."
3980 5c 6e 22 29 29 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 2d 43 6f 6d 6d 6f 6e 0a 28 64 65 66 75 \n"))))..;;;;.Table-Common.(defu
39a0 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 6f 6c 2d 77 69 64 74 n.org-blackfriday-table-col-widt
39c0 68 20 28 74 61 62 6c 65 20 63 6f 6c 75 6d 6e 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 h.(table.column.info)..."Return.
39e0 77 69 64 74 68 20 6f 66 20 54 41 42 4c 45 20 61 74 20 67 69 76 65 6e 20 43 4f 4c 55 4d 4e 20 75 width.of.TABLE.at.given.COLUMN.u
3a00 73 69 6e 67 20 49 4e 46 4f 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 sing.INFO...INFO.is.a.plist.used
3a20 20 61 73 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 20 20 57 69 64 74 .as.communication.channel...Widt
3a40 68 20 6f 66 20 61 20 63 6f 6c 75 6d 6e 0a 69 73 20 64 65 74 65 72 6d 69 6e 65 64 20 65 69 74 68 h.of.a.column.is.determined.eith
3a60 65 72 20 62 79 20 69 6e 71 75 69 72 69 6e 67 20 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 er.by.inquiring.`org-blackfriday
3a80 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 27 0a 69 6e 20 74 68 65 20 63 6f 6c 75 6d 6e 2c 20 6f -width-cookies'.in.the.column,.o
3aa0 72 20 62 79 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 63 65 6c 6c 20 77 69 74 68 20 69 6e 20 74 68 r.by.the.maximum.cell.with.in.th
3ac0 65 20 63 6f 6c 75 6d 6e 2e 22 0a 20 20 28 6c 65 74 20 28 28 63 6f 6f 6b 69 65 20 28 77 68 65 6e e.column."...(let.((cookie.(when
3ae0 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 64 61 79 2d 77 .(hash-table-p.org-blackfriday-w
3b00 69 64 74 68 2d 63 6f 6f 6b 69 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 idth-cookies)...................
3b20 28 67 65 74 68 61 73 68 20 63 6f 6c 75 6d 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d (gethash.column.org-blackfriday-
3b40 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 29 29 29 29 0a 20 20 20 20 28 69 66 20 28 61 6e 64 20 28 width-cookies)))).....(if.(and.(
3b60 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 64 74 68 2d 63 eq.table.org-blackfriday-width-c
3b80 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 28 6e 6f 74 20 ookies-table)..............(not.
3ba0 28 65 71 20 6e 69 6c 20 63 6f 6f 6b 69 65 29 29 29 0a 20 20 20 20 20 20 20 20 63 6f 6f 6b 69 65 (eq.nil.cookie))).........cookie
3bc0 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 61 6e 64 20 28 65 71 20 74 61 62 6c 65 20 6f 72 .......(unless.(and.(eq.table.or
3be0 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 61 62 6c g-blackfriday-width-cookies-tabl
3c00 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 68 61 73 68 2d 74 61 62 6c e)....................(hash-tabl
3c20 65 2d 70 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 e-p.org-blackfriday-width-cookie
3c40 73 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 s)).........(setq.org-blackfrida
3c60 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 20 28 6d 61 6b 65 2d 68 61 73 68 2d 74 61 62 6c 65 y-width-cookies.(make-hash-table
3c80 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 79 )).........(setq.org-blackfriday
3ca0 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 2d 74 61 62 6c 65 20 74 61 62 6c 65 29 29 0a 20 20 20 -width-cookies-table.table))....
3cc0 20 20 20 28 6c 65 74 20 28 28 6d 61 78 2d 77 69 64 74 68 20 30 29 0a 20 20 20 20 20 20 20 20 20 ...(let.((max-width.0)..........
3ce0 20 20 20 28 73 70 65 63 69 61 6c 70 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 2d 68 ...(specialp.(org-export-table-h
3d00 61 73 2d 73 70 65 63 69 61 6c 2d 63 6f 6c 75 6d 6e 2d 70 20 74 61 62 6c 65 29 29 29 0a 20 20 20 as-special-column-p.table)))....
3d20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 0a 20 20 20 20 20 20 20 20 20 20 .....(org-element-map...........
3d40 20 20 74 61 62 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 27 74 61 62 6c 65 2d 72 6f 77 0a 20 ..table.............'table-row..
3d60 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 72 6f 77 29 0a 20 20 20 20 20 20 20 20 20 .........(lambda.(row)..........
3d80 20 20 20 28 73 65 74 71 20 6d 61 78 2d 77 69 64 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ...(setq.max-width..............
3da0 20 20 20 20 20 28 6d 61 78 20 28 6c 65 6e 67 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .....(max.(length...............
3dc0 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 0a 20 20 20 20 20 ..........(org-export-data......
3de0 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 6e 74 ....................(org-element
3e00 2d 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.......................
3e20 20 20 20 20 28 65 6c 74 20 28 69 66 20 73 70 65 63 69 61 6c 70 0a 20 20 20 20 20 20 20 20 20 20 ....(elt.(if.specialp...........
3e40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 20 28 6f .........................(car.(o
3e60 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 72 6f 77 29 29 0a 20 20 20 20 20 20 rg-element-contents.row)).......
3e80 20 20 20 20 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-
3ea0 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 element-contents.row))..........
3ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 29 29 0a 20 ......................column))..
3ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 29 0a 20 ........................info))..
3f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 2d 77 69 64 74 68 29 ......................max-width)
3f20 29 29 0a 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 28 70 75 74 68 ))...........info).........(puth
3f40 61 73 68 20 63 6f 6c 75 6d 6e 20 6d 61 78 2d 77 69 64 74 68 20 6f 72 67 2d 62 6c 61 63 6b 66 72 ash.column.max-width.org-blackfr
3f60 69 64 61 79 2d 77 69 64 74 68 2d 63 6f 6f 6b 69 65 73 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 50 6c iday-width-cookies)))))..;;;;.Pl
3f80 61 69 6e 20 4c 69 73 74 20 48 65 6c 70 65 72 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b ain.List.Helper.(defun.org-black
3fa0 66 72 69 64 61 79 2d 2d 65 78 70 6f 72 74 2d 6f 72 64 65 72 65 64 2d 6c 69 73 74 2d 61 73 2d 68 friday--export-ordered-list-as-h
3fc0 74 6d 6c 2d 70 20 28 70 6c 61 69 6e 2d 6c 69 73 74 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e tml-p.(plain-list)..."Return.non
3fe0 2d 6e 69 6c 20 69 66 20 74 68 65 20 50 4c 41 49 4e 2d 4c 49 53 54 20 6e 65 65 64 73 20 74 6f 20 -nil.if.the.PLAIN-LIST.needs.to.
4000 62 65 20 65 78 70 6f 72 74 65 64 20 61 73 20 48 54 4d 4c 2e 0a 0a 54 68 65 20 50 4c 41 49 4e 2d be.exported.as.HTML...The.PLAIN-
4020 4c 49 53 54 20 69 73 20 65 78 70 6f 72 74 65 64 20 61 73 20 48 54 4d 4c 20 69 66 20 74 68 65 20 LIST.is.exported.as.HTML.if.the.
4040 6c 69 73 74 20 69 73 20 61 6e 20 6f 72 64 65 72 65 64 20 6c 69 73 74 0a 61 6e 64 20 61 20 63 75 list.is.an.ordered.list.and.a.cu
4060 73 74 6f 6d 20 63 6f 75 6e 74 65 72 20 69 73 20 75 73 65 64 20 6f 6e 20 73 65 63 6f 6e 64 20 6f stom.counter.is.used.on.second.o
4080 72 20 6c 61 74 65 72 20 69 74 65 6d 20 69 6e 20 74 68 65 20 6c 69 73 74 2e 0a 0a 52 65 74 75 72 r.later.item.in.the.list...Retur
40a0 6e 73 20 6e 69 6c 20 6f 74 68 65 72 77 69 73 65 2e 22 0a 20 20 28 6c 65 74 20 28 28 74 79 70 65 ns.nil.otherwise."...(let.((type
40c0 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 70 6c 61 .(org-element-property.:type.pla
40e0 69 6e 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 68 61 73 2d 63 75 73 74 6f 6d 2d 63 6f 75 in-list)).........has-custom-cou
4100 6e 74 65 72 29 0a 20 20 20 20 28 77 68 65 6e 20 28 65 71 20 27 6f 72 64 65 72 65 64 20 74 79 70 nter).....(when.(eq.'ordered.typ
4120 65 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 69 73 74 2d 63 6f 6e 74 65 6e 74 73 20 28 6f e).......(let.((list-contents.(o
4140 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 70 6c 61 69 6e 2d 6c 69 73 74 29 29 rg-element-contents.plain-list))
4160 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 74 65 6d 2d 6e 75 6d 20 31 29 29 0a 20 20 20 20 20 .............(item-num.1))......
4180 20 20 20 28 73 65 74 71 20 68 61 73 2d 63 75 73 74 6f 6d 2d 63 6f 75 6e 74 65 72 0a 20 20 20 20 ...(setq.has-custom-counter.....
41a0 20 20 20 20 20 20 20 20 20 20 28 63 61 74 63 68 20 27 62 72 65 61 6b 0a 20 20 20 20 20 20 20 20 ..........(catch.'break.........
41c0 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 65 6c 20 6c 69 73 74 2d 63 6f 6e 74 65 6e 74 ........(dolist.(el.list-content
41e0 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 65 71 20 27 s)...................(when.(eq.'
4200 69 74 65 6d 20 28 63 61 72 20 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 item.(car.el))..................
4220 20 20 20 28 6c 65 74 2a 20 28 28 69 74 65 6d 2d 70 6c 69 73 74 20 28 63 61 72 20 28 63 64 72 20 ...(let*.((item-plist.(car.(cdr.
4240 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 20 el)))...........................
4260 20 28 63 6f 75 6e 74 65 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 74 65 6d 2d 70 6c 69 73 74 20 .(counter.(plist-get.item-plist.
4280 3a 63 6f 75 6e 74 65 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 :counter))).....................
42a0 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 3a 20 69 74 65 6d 20 6e 75 6d 3a 20 25 64 ..;;.(message."dbg:.item.num:.%d
42c0 20 63 6f 75 6e 74 65 72 3a 20 25 53 22 20 69 74 65 6d 2d 6e 75 6d 20 63 6f 75 6e 74 65 72 29 0a .counter:.%S".item-num.counter).
42e0 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 4d 61 6b 65 20 73 70 ......................;;.Make.sp
4300 65 63 69 61 6c 20 70 72 6f 76 69 73 69 6f 6e 20 66 6f 72 20 74 68 65 20 63 75 73 74 6f 6d 20 63 ecial.provision.for.the.custom.c
4320 6f 75 6e 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 3b 3b 20 ounter.......................;;.
4340 6e 6f 74 61 74 69 6f 6e 20 5b 40 4e 5d 20 6f 6e 6c 79 20 69 66 20 69 74 27 73 20 70 72 65 73 65 notation.[@N].only.if.it's.prese
4360 6e 74 20 6f 6e 20 73 65 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nt.on.second....................
4380 20 20 20 3b 3b 20 6f 72 20 6c 61 74 65 72 20 69 74 65 6d 73 2e 0a 20 20 20 20 20 20 20 20 20 20 ...;;.or.later.items............
43a0 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 3e 20 69 74 65 6d 2d 6e ............(when.(and.(>.item-n
43c0 75 6d 20 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 20 20 um.1)...........................
43e0 20 20 20 20 20 20 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 .......counter).................
4400 20 20 20 20 20 20 20 20 28 74 68 72 6f 77 20 27 62 72 65 61 6b 20 74 29 29 29 29 0a 20 20 20 20 ........(throw.'break.t)))).....
4420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6c 2d 69 6e 63 66 20 69 74 65 6d 2d 6e 75 6d 29 ..............(cl-incf.item-num)
4440 29 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 3a 20 68 61 73 20 ))))).....;;.(message."dbg:.has.
4460 63 75 73 74 6f 6d 20 63 6f 75 6e 74 65 72 3a 20 25 53 22 20 68 61 73 2d 63 75 73 74 6f 6d 2d 63 custom.counter:.%S".has-custom-c
4480 6f 75 6e 74 65 72 29 0a 20 20 20 20 68 61 73 2d 63 75 73 74 6f 6d 2d 63 6f 75 6e 74 65 72 29 29 ounter).....has-custom-counter))
44a0 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 20 43 65 6c 6c 20 41 6c 69 67 6e 6d 65 6e 74 0a 3b 3b 20 42 ..;;;;.Table.Cell.Alignment.;;.B
44c0 65 6c 6f 77 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 68 65 61 76 69 6c 79 20 61 64 61 70 74 65 64 elow.function.is.heavily.adapted
44e0 20 66 72 6f 6d 0a 3b 3b 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d .from.;;.`org-export-table-cell-
4500 61 6c 69 67 6e 6d 65 6e 74 27 20 66 72 6f 6d 20 6f 78 2e 65 6c 2e 20 20 54 68 65 20 6d 61 69 6e alignment'.from.ox.el...The.main
4520 20 64 69 66 66 65 72 65 6e 63 65 0a 3b 3b 20 69 73 20 74 68 61 74 20 74 68 65 20 62 65 6c 6f 77 .difference.;;.is.that.the.below
4540 20 76 61 72 69 61 74 69 6f 6e 20 63 61 6e 20 72 65 74 75 72 6e 20 61 20 60 64 65 66 61 75 6c 74 .variation.can.return.a.`default
4560 27 20 76 61 6c 75 65 20 74 6f 6f 2e 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 '.value.too..(defun.org-blackfri
4580 64 61 79 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 20 28 74 61 62 6c 65 2d day-table-cell-alignment.(table-
45a0 63 65 6c 6c 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 54 41 42 4c 45 2d 43 45 4c 4c 20 cell.info)..."Return.TABLE-CELL.
45c0 63 6f 6e 74 65 6e 74 73 20 61 6c 69 67 6e 6d 65 6e 74 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 contents.alignment...INFO.is.a.p
45e0 6c 69 73 74 20 75 73 65 64 20 61 73 20 74 68 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 list.used.as.the.communication.c
4600 68 61 6e 6e 65 6c 2e 0a 0a 52 65 74 75 72 6e 20 61 6c 69 67 6e 6d 65 6e 74 20 61 73 20 73 70 65 hannel...Return.alignment.as.spe
4620 63 69 66 69 65 64 20 62 79 20 74 68 65 20 6c 61 73 74 20 61 6c 69 67 6e 6d 65 6e 74 20 63 6f 6f cified.by.the.last.alignment.coo
4640 6b 69 65 20 69 6e 20 74 68 65 0a 73 61 6d 65 20 63 6f 6c 75 6d 6e 20 61 73 20 54 41 42 4c 45 2d kie.in.the.same.column.as.TABLE-
4660 43 45 4c 4c 2e 20 20 49 66 20 6e 6f 20 73 75 63 68 20 63 6f 6f 6b 69 65 20 69 73 20 66 6f 75 6e CELL...If.no.such.cookie.is.foun
4680 64 2c 20 72 65 74 75 72 6e 0a 60 64 65 66 61 75 6c 74 27 2e 20 20 50 6f 73 73 69 62 6c 65 20 76 d,.return.`default'...Possible.v
46a0 61 6c 75 65 73 20 61 72 65 20 60 64 65 66 61 75 6c 74 27 2c 20 60 6c 65 66 74 27 2c 20 60 72 69 alues.are.`default',.`left',.`ri
46c0 67 68 74 27 20 61 6e 64 0a 60 63 65 6e 74 65 72 27 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 72 6f ght'.and.`center'."...(let*.((ro
46e0 77 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 74 61 62 6c 65 2d 63 w.(org-export-get-parent.table-c
4700 65 6c 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 ell))..........(table.(org-expor
4720 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 65 6c t-get-parent.row))..........(cel
4740 6c 73 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 72 6f 77 29 29 0a 20 ls.(org-element-contents.row))..
4760 20 20 20 20 20 20 20 20 28 63 6f 6c 75 6d 6e 73 20 28 6c 65 6e 67 74 68 20 63 65 6c 6c 73 29 29 ........(columns.(length.cells))
4780 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6c 75 6d 6e 20 28 2d 20 63 6f 6c 75 6d 6e 73 20 28 6c 65 ..........(column.(-.columns.(le
47a0 6e 67 74 68 20 28 6d 65 6d 71 20 74 61 62 6c 65 2d 63 65 6c 6c 20 63 65 6c 6c 73 29 29 29 29 0a ngth.(memq.table-cell.cells)))).
47c0 20 20 20 20 20 20 20 20 20 28 63 61 63 68 65 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 .........(cache.(or.(plist-get.i
47e0 6e 66 6f 20 3a 74 61 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 nfo.:table-cell-alignment-cache)
4800 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 20 28 28 74 61 62 6c .....................(let.((tabl
4820 65 20 28 6d 61 6b 65 2d 68 61 73 68 2d 74 61 62 6c 65 20 3a 74 65 73 74 20 23 27 65 71 29 29 29 e.(make-hash-table.:test.#'eq)))
4840 0a 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
4860 74 20 69 6e 66 6f 20 3a 74 61 62 6c 65 2d 63 65 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 2d 63 61 63 t.info.:table-cell-alignment-cac
4880 68 65 20 74 61 62 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 he.table).......................
48a0 74 61 62 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 6c 69 67 6e 2d 76 65 63 74 6f 72 20 table)))..........(align-vector.
48c0 28 6f 72 20 28 67 65 74 68 61 73 68 20 74 61 62 6c 65 20 63 61 63 68 65 29 0a 20 20 20 20 20 20 (or.(gethash.table.cache).......
48e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 74 68 61 73 68 20 74 61 .....................(puthash.ta
4900 62 6c 65 20 28 6d 61 6b 65 2d 76 65 63 74 6f 72 20 63 6f 6c 75 6d 6e 73 20 6e 69 6c 29 20 63 61 ble.(make-vector.columns.nil).ca
4920 63 68 65 29 29 29 29 0a 20 20 20 20 28 6f 72 20 28 61 72 65 66 20 61 6c 69 67 6e 2d 76 65 63 74 che)))).....(or.(aref.align-vect
4940 6f 72 20 63 6f 6c 75 6d 6e 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 63 6f 6f 6b 69 65 2d or.column).........(let.(cookie-
4960 61 6c 69 67 6e 29 0a 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 72 6f 77 20 28 6f align)...........(dolist.(row.(o
4980 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d rg-element-contents.(org-export-
49a0 67 65 74 2d 70 61 72 65 6e 74 20 72 6f 77 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 get-parent.row))).............(c
49c0 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 20 61 20 73 70 65 63 69 61 6c ond..............;;.In.a.special
49e0 20 72 6f 77 2c 20 74 72 79 20 74 6f 20 66 69 6e 64 20 61 6e 20 61 6c 69 67 6e 6d 65 6e 74 20 63 .row,.try.to.find.an.alignment.c
4a00 6f 6f 6b 69 65 20 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 4f 4c 55 4d 4e 2e ookie.at..............;;.COLUMN.
4a20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 ..............((org-export-table
4a40 2d 72 6f 77 2d 69 73 2d 73 70 65 63 69 61 6c 2d 70 20 72 6f 77 20 69 6e 66 6f 29 0a 20 20 20 20 -row-is-special-p.row.info).....
4a60 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 76 61 6c 75 65 20 28 6f 72 67 2d 65 6c 65 6d ..........(let.((value.(org-elem
4a80 65 6e 74 2d 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 ent-contents....................
4aa0 20 20 20 20 20 20 20 20 20 28 65 6c 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 .........(elt.(org-element-conte
4ac0 6e 74 73 20 72 6f 77 29 20 63 6f 6c 75 6d 6e 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 nts.row).column)))).............
4ae0 20 20 20 20 3b 3b 20 53 69 6e 63 65 20 56 41 4c 55 45 20 69 73 20 61 20 73 65 63 6f 6e 64 61 72 ....;;.Since.VALUE.is.a.secondar
4b00 79 20 73 74 72 69 6e 67 2c 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 20 20 20 20 20 20 20 20 y.string,.the.following.........
4b20 20 20 20 20 20 20 20 20 3b 3b 20 63 68 65 63 6b 73 20 61 76 6f 69 64 20 75 73 65 6c 65 73 73 20 ........;;.checks.avoid.useless.
4b40 65 78 70 61 6e 73 69 6f 6e 20 74 68 72 6f 75 67 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 expansion.through...............
4b60 20 20 3b 3b 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 27 2e 0a 20 20 20 20 20 20 20 20 ..;;.`org-export-data'..........
4b80 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 ........(when.(and.value........
4ba0 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 63 64 72 20 76 61 ....................(not.(cdr.va
4bc0 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 20 lue))...........................
4be0 20 28 73 74 72 69 6e 67 70 20 28 63 61 72 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 .(stringp.(car.value))..........
4c00 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 61 74 63 68 20 ..................(string-match.
4c20 22 5c 5c 60 3c 5c 5c 28 5b 6c 72 63 5d 5c 5c 29 3f 5c 5c 28 5b 30 2d 39 5d 2b 5c 5c 29 3f 3e 5c "\\`<\\([lrc]\\)?\\([0-9]+\\)?>\
4c40 5c 27 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 \'".............................
4c60 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 .............(car.value)).......
4c80 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 2d 73 74 72 69 .....................(match-stri
4ca0 6e 67 20 31 20 28 63 61 72 20 76 61 6c 75 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ng.1.(car.value)))..............
4cc0 20 20 20 20 20 28 73 65 74 71 20 63 6f 6f 6b 69 65 2d 61 6c 69 67 6e 20 28 6d 61 74 63 68 2d 73 .....(setq.cookie-align.(match-s
4ce0 74 72 69 6e 67 20 31 20 28 63 61 72 20 76 61 6c 75 65 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 tring.1.(car.value))))))........
4d00 20 20 20 20 20 20 3b 3b 20 49 67 6e 6f 72 65 20 74 61 62 6c 65 20 72 75 6c 65 73 2e 0a 20 20 20 ......;;.Ignore.table.rules.....
4d20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 ..........((eq.(org-element-prop
4d40 65 72 74 79 20 3a 74 79 70 65 20 72 6f 77 29 20 27 72 75 6c 65 29 29 29 29 0a 20 20 20 20 20 20 erty.:type.row).'rule)))).......
4d60 20 20 20 20 3b 3b 20 52 65 74 75 72 6e 20 76 61 6c 75 65 2e 20 20 41 6c 69 67 6e 6d 65 6e 74 20 ....;;.Return.value...Alignment.
4d80 73 70 65 63 69 66 69 65 64 20 62 79 20 63 6f 6f 6b 69 65 73 20 68 61 73 0a 20 20 20 20 20 20 20 specified.by.cookies.has........
4da0 20 20 20 3b 3b 20 70 72 65 63 65 64 65 6e 63 65 20 6f 76 65 72 20 61 6c 69 67 6e 6d 65 6e 74 20 ...;;.precedence.over.alignment.
4dc0 64 65 64 75 63 65 64 20 66 72 6f 6d 20 63 65 6c 6c 27 73 20 63 6f 6e 74 65 6e 74 73 2e 0a 20 20 deduced.from.cell's.contents....
4de0 20 20 20 20 20 20 20 20 28 61 73 65 74 20 61 6c 69 67 6e 2d 76 65 63 74 6f 72 0a 20 20 20 20 20 ........(aset.align-vector......
4e00 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...........column...............
4e20 20 20 28 63 6f 6e 64 20 28 28 65 71 75 61 6c 20 63 6f 6f 6b 69 65 2d 61 6c 69 67 6e 20 22 6c 22 ..(cond.((equal.cookie-align."l"
4e40 29 20 27 6c 65 66 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ).'left).......................(
4e60 28 65 71 75 61 6c 20 63 6f 6f 6b 69 65 2d 61 6c 69 67 6e 20 22 72 22 29 20 27 72 69 67 68 74 29 (equal.cookie-align."r").'right)
4e80 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 75 61 6c 20 63 .......................((equal.c
4ea0 6f 6f 6b 69 65 2d 61 6c 69 67 6e 20 22 63 22 29 20 27 63 65 6e 74 65 72 29 0a 20 20 20 20 20 20 ookie-align."c").'center).......
4ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 20 27 64 65 66 61 75 6c 74 29 29 29 29 29 ................(t.'default)))))
4ee0 29 29 0a 0a 3b 3b 3b 3b 20 45 73 63 61 70 65 20 63 65 72 74 61 69 6e 20 63 68 61 72 61 63 74 65 ))..;;;;.Escape.certain.characte
4f00 72 73 20 69 6e 73 69 64 65 20 65 71 75 61 74 69 6f 6e 73 20 28 42 6c 61 63 6b 66 72 69 64 61 79 rs.inside.equations.(Blackfriday
4f20 20 62 75 67 20 77 6f 72 6b 61 72 6f 75 6e 64 29 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 .bug.workaround).(defun.org-blac
4f40 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
4f60 20 28 73 74 72 29 0a 20 20 22 45 73 63 61 70 65 20 66 65 77 20 63 68 61 72 61 63 74 65 72 73 20 .(str)..."Escape.few.characters.
4f80 69 6e 20 53 54 52 20 73 6f 20 74 68 61 74 20 42 6c 61 63 6b 66 72 69 64 61 79 20 64 6f 65 73 6e in.STR.so.that.Blackfriday.doesn
4fa0 27 74 20 70 61 72 73 65 20 74 68 65 6d 2e 0a 0a 44 6f 20 6e 6f 74 20 69 6e 74 65 72 70 72 65 74 't.parse.them...Do.not.interpret
4fc0 20 75 6e 64 65 72 73 63 6f 72 65 73 2c 20 61 73 74 65 72 69 73 6b 73 20 61 6e 64 20 62 61 63 6b .underscores,.asterisks.and.back
4fe0 71 75 6f 74 65 73 20 69 6e 20 65 71 75 61 74 69 6f 6e 73 20 61 73 0a 4d 61 72 6b 64 6f 77 6e 20 quotes.in.equations.as.Markdown.
5000 66 6f 72 6d 61 74 74 69 6e 67 0a 63 68 61 72 61 63 74 65 72 73 20 28 68 74 74 70 73 3a 2f 2f 67 formatting.characters.(https://g
5020 6f 68 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 66 6f 72 6d ohugo.io/content-management/form
5040 61 74 73 23 73 6f 6c 75 74 69 6f 6e 29 3a 0a 0a 20 20 5c 22 5f 5c 22 20 2d 3e 20 5c 22 5c 5c 3d ats#solution):....\"_\".->.\"\\=
5060 5c 5c 5f 5c 22 0a 20 20 5c 22 2a 5c 22 20 2d 3e 20 5c 22 5c 5c 3d 5c 5c 2a 5c 22 0a 20 20 5c 22 \\_\"...\"*\".->.\"\\=\\*\"...\"
5080 60 5c 22 20 2d 3e 20 5c 22 5c 5c 3d 5c 5c 60 5c 22 0a 0a 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 `\".->.\"\\=\\`\"..https://githu
50a0 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 75 65 73 b.com/kaushalmodi/ox-hugo/issues
50c0 2f 31 30 34 0a 0a 42 6c 61 63 6b 66 72 69 64 61 79 20 63 6f 6e 76 65 72 74 73 20 5c 22 28 72 29 /104..Blackfriday.converts.\"(r)
50e0 5c 22 20 74 6f 20 52 65 67 69 73 74 65 72 65 64 20 54 72 61 64 65 6d 61 72 6b 20 73 79 6d 62 6f \".to.Registered.Trademark.symbo
5100 6c 2c 0a 5c 22 28 63 29 5c 22 20 74 6f 20 43 6f 70 79 72 69 67 68 74 20 73 79 6d 62 6f 6c 2c 20 l,.\"(c)\".to.Copyright.symbol,.
5120 61 6e 64 20 5c 22 28 74 6d 29 5c 22 20 74 6f 20 54 72 61 64 65 6d 61 72 6b 20 73 79 6d 62 6f 6c and.\"(tm)\".to.Trademark.symbol
5140 20 69 66 0a 74 68 65 20 53 6d 61 72 74 79 50 61 6e 74 73 20 65 78 74 65 6e 73 69 6f 6e 20 69 73 .if.the.SmartyPants.extension.is
5160 20 65 6e 61 62 6c 65 64 20 28 61 6e 64 20 74 68 65 72 65 20 69 73 20 6e 6f 20 77 61 79 20 74 6f .enabled.(and.there.is.no.way.to
5180 0a 64 69 73 61 62 6c 65 20 6a 75 73 74 20 74 68 69 73 29 2e 20 20 53 6f 20 69 6e 73 65 72 74 20 .disable.just.this)...So.insert.
51a0 61 6e 20 65 78 74 72 61 20 73 70 61 63 65 20 61 66 74 65 72 20 74 68 65 20 6f 70 65 6e 69 6e 67 an.extra.space.after.the.opening
51c0 0a 70 61 72 65 6e 74 68 65 73 65 73 20 69 6e 20 74 68 6f 73 65 20 73 74 72 69 6e 67 73 20 74 6f .parentheses.in.those.strings.to
51e0 20 74 72 69 63 6b 20 42 6c 61 63 6b 66 72 69 64 61 79 2f 73 6d 61 72 74 50 61 72 65 6e 73 0a 66 .trick.Blackfriday/smartParens.f
5200 72 6f 6d 20 61 63 74 69 76 61 74 69 6e 67 20 69 6e 73 69 64 65 20 65 71 75 61 74 69 6f 6e 73 2e rom.activating.inside.equations.
5220 20 20 54 68 61 74 20 65 78 74 72 61 20 73 70 61 63 65 20 61 6e 79 77 61 79 73 0a 64 6f 65 73 6e ..That.extra.space.anyways.doesn
5240 27 74 20 6d 61 74 74 65 72 20 69 6e 20 65 71 75 61 74 69 6f 6e 73 2e 0a 0a 20 20 5c 22 28 63 29 't.matter.in.equations.....\"(c)
5260 5c 22 20 2d 3e 20 5c 22 28 20 63 29 5c 22 0a 20 20 5c 22 28 72 29 5c 22 20 2d 3e 20 5c 22 28 20 \".->.\"(.c)\"...\"(r)\".->.\"(.
5280 72 29 5c 22 0a 20 20 5c 22 28 74 6d 29 5c 22 20 2d 3e 20 5c 22 28 20 74 6d 29 5c 22 0a 0a 68 74 r)\"...\"(tm)\".->.\"(.tm)\"..ht
52a0 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
52c0 6e 74 2f 66 6f 72 6d 61 74 73 23 73 6f 6c 75 74 69 6f 6e 0a 68 74 74 70 73 3a 2f 2f 67 69 74 68 nt/formats#solution.https://gith
52e0 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 75 65 ub.com/kaushalmodi/ox-hugo/issue
5300 73 2f 31 33 38 0a 0a 4e 65 65 64 20 74 6f 20 65 73 63 61 70 65 20 74 68 65 20 62 61 63 6b 73 6c s/138..Need.to.escape.the.backsl
5320 61 73 68 20 62 65 66 6f 72 65 20 61 6e 79 20 41 53 43 49 49 20 70 75 6e 63 74 75 61 74 69 6f 6e ash.before.any.ASCII.punctuation
5340 20 63 68 61 72 61 63 74 65 72 3a 0a 0a 20 20 21 5c 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 3a .character:....!\"#$%&'()*+,-./:
5360 3b 3c 3d 3e 3f 40 5b 5c 5c 5d 5e 5f 60 7b 7c 7d 7e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 3a 0a ;<=>?@[\\]^_`{|}~..For.example:.
5380 0a 20 20 5c 22 5c 5c 28 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 28 5c 22 0a 20 20 5c 22 5c 5c 29 5c ...\"\\(\".->.\"\\\\(\"...\"\\)\
53a0 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 29 5c 22 0a 20 20 5c 22 5c 5c 5c 5c 3d 5b 5c 22 20 2d 3e 20 5c ".->.\"\\\\)\"...\"\\\\=[\".->.\
53c0 22 5c 5c 5c 5c 5c 5c 3d 5b 5c 22 0a 20 20 5c 22 5c 5c 5c 5c 3d 5d 5c 22 20 2d 3e 20 5c 22 5c 5c "\\\\\\=[\"...\"\\\\=]\".->.\"\\
53e0 5c 5c 5c 5c 3d 5d 5c 22 0a 20 20 5c 22 5c 5c 5c 5c 3d 7b 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 5c \\\\=]\"...\"\\\\={\".->.\"\\\\\
5400 5c 3d 7b 5c 22 0a 20 20 5c 22 5c 5c 5c 5c 3d 7d 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 5c 5c 3d 7d \={\"...\"\\\\=}\".->.\"\\\\\\=}
5420 5c 22 0a 20 20 5c 22 5c 5c 7c 5c 22 20 2d 3e 20 5c 22 5c 5c 5c 5c 7c 5c 22 0a 0a 20 20 5c 22 5d \"...\"\\|\".->.\"\\\\|\"....\"]
5440 28 5c 22 20 2d 3e 20 5c 22 5c 5c 5d 5c 5c 28 5c 22 0a 0a 41 6c 73 6f 20 65 73 63 61 70 65 20 74 (\".->.\"\\]\\(\"..Also.escape.t
5460 68 65 20 62 61 63 6b 73 6c 61 73 68 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 6c he.backslash.at.the.end.of.the.l
5480 69 6e 65 2c 20 6f 74 68 65 72 77 69 73 65 0a 69 74 20 77 69 6c 6c 20 62 65 20 69 6e 74 65 72 70 ine,.otherwise.it.will.be.interp
54a0 72 65 74 65 64 20 61 73 20 61 20 68 61 72 64 20 6c 69 6e 65 20 62 72 65 61 6b 2e 22 0a 20 20 28 reted.as.a.hard.line.break."...(
54c0 6c 65 74 2a 20 28 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 45 73 63 61 70 65 20 74 68 65 20 62 61 let*.(..........;;.Escape.the.ba
54e0 63 6b 73 6c 61 73 68 20 62 65 66 6f 72 65 20 70 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 72 61 ckslash.before.punctuation.chara
5500 63 74 65 72 73 2c 20 65 2e 67 2e 2c 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 5c 28 20 2d 3e 20 5c cters,.e.g.,..........;;.\(.->.\
5520 5c 28 2c 20 5c 29 20 2d 3e 20 5c 5c 29 2c 20 5c 5b 20 2d 3e 20 5c 5c 5b 2c 20 5c 5d 20 2d 3e 20 \(,.\).->.\\),.\[.->.\\[,.\].->.
5540 5c 5c 5d 2c 20 5c 7b 20 2d 3e 20 5c 5c 7b 2c 20 5c 7d 20 2d 3e 20 5c 5c 7d 2c 20 5c 7c 20 2d 3e \\],.\{.->.\\{,.\}.->.\\},.\|.->
5560 20 5c 5c 7c 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 .\\|..........(escaped-str.(repl
5580 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 5c 5c 5c 5c 5b 5d 5b ace-regexp-in-string."\\(\\\\[][
55a0 28 29 7b 7d 21 5c 22 23 24 25 26 27 2a 2b 2c 2e 2f 3a 3b 3c 3d 3e 3f 40 5c 5c 5e 5f 60 7c 7e 2d (){}!\"#$%&'*+,./:;<=>?@\\^_`|~-
55c0 5d 5c 5c 29 22 20 22 5c 5c 5c 5c 5c 5c 31 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b ]\\)"."\\\\\\1".str))..........;
55e0 3b 20 5f 20 2d 3e 20 5c 5f 2c 20 2a 20 2d 3e 20 5c 2a 2c 20 60 20 2d 3e 20 5c 60 0a 20 20 20 20 ;._.->.\_,.*.->.\*,.`.->.\`.....
5600 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
5620 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5f 2a 60 5d 22 20 22 5c 5c 5c 5c 5c 5c 26 22 20 65 73 p-in-string."[_*`]"."\\\\\\&".es
5640 63 61 70 65 64 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 28 63 29 20 2d 3e 20 28 caped-str))..........;;.(c).->.(
5660 20 63 29 2c 20 28 72 29 20 2d 3e 20 28 20 72 29 2c 20 28 74 6d 29 20 2d 3e 20 28 20 74 6d 29 0a .c),.(r).->.(.r),.(tm).->.(.tm).
5680 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 65 2d 72 .........(escaped-str.(replace-r
56a0 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 28 5c 5c 28 63 5c 5c 7c 72 5c 5c 7c 74 6d 5c egexp-in-string."(\\(c\\|r\\|tm\
56c0 5c 29 29 22 20 22 28 20 5c 5c 31 29 22 20 65 73 63 61 70 65 64 2d 73 74 72 29 29 0a 20 20 20 20 \))"."(.\\1)".escaped-str)).....
56e0 20 20 20 20 20 3b 3b 20 5d 28 20 2d 3e 20 5c 5d 5c 28 0a 20 20 20 20 20 20 20 20 20 28 65 73 63 .....;;.](.->.\]\(..........(esc
5700 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 72 69 aped-str.(replace-regexp-in-stri
5720 6e 67 20 22 5d 28 22 20 22 5c 5c 5c 5c 5d 5c 5c 5c 5c 28 22 20 65 73 63 61 70 65 64 2d 73 74 72 ng."]("."\\\\]\\\\(".escaped-str
5740 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 22 5c 22 20 61 74 20 45 4f ))..........;;.Replace."\".at.EO
5760 4c 20 77 69 74 68 20 22 5c 5c 22 0a 20 20 20 20 20 20 20 20 20 28 65 73 63 61 70 65 64 2d 73 74 L.with."\\"..........(escaped-st
5780 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 5c 5c 5c r.(replace-regexp-in-string."\\\
57a0 5c 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 24 22 20 22 5c 5c 5c 5c 5c 5c 5c 5c 22 20 65 73 63 61 70 \[[:blank:]]*$"."\\\\\\\\".escap
57c0 65 64 2d 73 74 72 29 29 29 0a 20 20 20 20 65 73 63 61 70 65 64 2d 73 74 72 29 29 0a 0a 3b 3b 3b ed-str))).....escaped-str))..;;;
57e0 3b 20 52 65 73 65 74 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 ;.Reset.org-blackfriday--code-bl
5800 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 ock-num-backticks.(defun.org-bla
5820 63 6b 66 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 ckfriday--reset-org-blackfriday-
5840 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 28 5f 62 61 63 6b -code-block-num-backticks.(_back
5860 65 6e 64 29 0a 20 20 22 52 65 73 65 74 20 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d end)..."Reset.`org-blackfriday--
5880 63 6f 64 65 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 27 20 74 6f 20 69 74 73 code-block-num-backticks'.to.its
58a0 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 2e 22 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 62 6c 61 .default.value."...(setq.org-bla
58c0 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 63 ckfriday--code-block-num-backtic
58e0 6b 73 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 ks.org-blackfriday--code-block-n
5900 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 64 65 66 61 75 6c 74 29 29 0a 28 61 64 64 2d 68 6f 6f 6b um-backticks-default)).(add-hook
5920 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 62 65 66 6f 72 65 2d 70 72 6f 63 65 73 73 69 6e 67 2d 68 .'org-export-before-processing-h
5940 6f 6f 6b 20 23 27 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 72 65 73 65 74 2d 6f 72 67 ook.#'org-blackfriday--reset-org
5960 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 61 63 -blackfriday--code-block-num-bac
5980 6b 74 69 63 6b 73 29 0a 0a 3b 3b 3b 3b 20 4d 61 6b 65 20 43 53 53 20 70 72 6f 70 65 72 74 79 20 kticks)..;;;;.Make.CSS.property.
59a0 73 74 72 69 6e 67 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 6d string.(defun.org-blackfriday--m
59c0 61 6b 65 2d 63 73 73 2d 70 72 6f 70 65 72 74 79 2d 73 74 72 69 6e 67 20 28 70 72 6f 70 73 29 0a ake-css-property-string.(props).
59e0 20 20 22 52 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 43 53 53 20 70 72 6f 70 65 72 74 69 .."Return.a.list.of.CSS.properti
5a00 65 73 2c 20 61 73 20 61 20 73 74 72 69 6e 67 2e 0a 50 52 4f 50 53 20 69 73 20 61 20 70 6c 69 73 es,.as.a.string..PROPS.is.a.plis
5a20 74 20 77 68 65 72 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 t.where.values.are.either.string
5a40 73 20 6f 72 20 6e 69 6c 2e 20 20 41 20 70 72 6f 70 0a 77 69 74 68 20 61 20 6e 69 6c 20 76 61 6c s.or.nil...A.prop.with.a.nil.val
5a60 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
5a80 6c 74 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 20 66 72 lt...This.function.is.adapted.fr
5aa0 6f 6d 20 60 6f 72 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 om.`org-html--make-attribute-str
5ac0 69 6e 67 27 2e 22 0a 20 20 28 6c 65 74 20 28 72 65 74 29 0a 20 20 20 20 28 64 6f 6c 69 73 74 20 ing'."...(let.(ret).....(dolist.
5ae0 28 69 74 65 6d 20 70 72 6f 70 73 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 69 64 65 6e 74 69 74 (item.props.(mapconcat.#'identit
5b00 79 20 28 6e 72 65 76 65 72 73 65 20 72 65 74 29 20 22 20 22 29 29 0a 20 20 20 20 20 20 28 63 6f y.(nreverse.ret).".")).......(co
5b20 6e 64 20 28 28 6e 75 6c 6c 20 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f nd.((null.item)..............(po
5b40 70 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 69 74 p.ret)).............((symbolp.it
5b60 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 73 75 62 73 74 72 69 6e em)..............(push.(substrin
5b80 67 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 69 74 65 6d 29 20 31 29 20 72 65 74 29 29 0a 20 20 g.(symbol-name.item).1).ret))...
5ba0 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 28 6c 65 74 20 28 ..........(t..............(let.(
5bc0 28 6b 65 79 20 28 63 61 72 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 (key.(car.ret)).................
5be0 20 20 20 28 76 61 6c 75 65 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 ...(value.(replace-regexp-in-str
5c00 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 ing............................"
5c20 5c 22 22 20 22 26 71 75 6f 74 3b 22 20 28 6f 72 67 2d 68 74 6d 6c 2d 65 6e 63 6f 64 65 2d 70 6c \""."&quot;".(org-html-encode-pl
5c40 61 69 6e 2d 74 65 78 74 20 69 74 65 6d 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ain-text.item))))...............
5c60 20 28 73 65 74 63 61 72 20 72 65 74 20 28 66 6f 72 6d 61 74 20 22 25 73 3a 20 25 73 3b 20 22 20 .(setcar.ret.(format."%s:.%s;.".
5c80 6b 65 79 20 76 61 6c 75 65 29 29 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 47 65 74 20 43 53 53 20 key.value))))))))..;;;;.Get.CSS.
5ca0 73 74 72 69 6e 67 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 string.(defun.org-blackfriday--g
5cc0 65 74 2d 73 74 79 6c 65 2d 73 74 72 20 28 65 6c 65 6d 29 0a 20 20 22 47 65 74 20 48 54 4d 4c 20 et-style-str.(elem)..."Get.HTML.
5ce0 73 74 79 6c 65 20 74 61 67 20 73 74 72 69 6e 67 20 66 6f 72 20 45 4c 45 4d 2e 0a 0a 49 66 20 23 style.tag.string.for.ELEM...If.#
5d00 2b 61 74 74 72 5f 68 74 6d 6c 20 69 73 20 75 73 65 64 20 74 6f 20 73 70 65 63 69 66 79 20 6f 6e +attr_html.is.used.to.specify.on
5d20 65 20 6f 72 20 6d 6f 72 65 20 63 6c 61 73 73 65 73 20 66 6f 72 20 45 4c 45 4d 0a 61 6e 64 20 69 e.or.more.classes.for.ELEM.and.i
5d40 66 20 23 2b 61 74 74 72 5f 63 73 73 20 69 73 20 61 6c 73 6f 20 75 73 65 64 2c 20 74 68 65 6e 20 f.#+attr_css.is.also.used,.then.
5d60 61 6e 20 69 6e 6c 69 6e 65 20 73 74 79 6c 65 20 73 74 72 69 6e 67 20 69 73 0a 72 65 74 75 72 6e an.inline.style.string.is.return
5d80 65 64 20 73 75 63 68 20 74 68 61 74 20 69 74 20 61 70 70 6c 69 65 73 20 74 68 65 20 73 70 65 63 ed.such.that.it.applies.the.spec
5da0 69 66 69 65 64 20 43 53 53 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 6f 66 0a 74 68 6f 73 65 20 ified.CSS.to.the.first.of.those.
5dc0 73 70 65 63 69 66 69 65 64 20 63 6c 61 73 73 65 73 2e 0a 0a 52 65 74 75 72 6e 73 20 61 6e 20 65 specified.classes...Returns.an.e
5de0 6d 70 74 79 20 73 74 72 69 6e 67 20 69 66 20 65 69 74 68 65 72 20 23 2b 61 74 74 72 5f 68 74 6d mpty.string.if.either.#+attr_htm
5e00 6c 20 6f 72 20 23 2b 61 74 74 72 5f 63 73 73 20 61 72 65 0a 6e 6f 74 20 75 73 65 64 2c 20 6f 72 l.or.#+attr_css.are.not.used,.or
5e20 20 69 66 20 61 20 63 6c 61 73 73 20 6e 61 6d 65 20 69 73 20 6e 6f 74 20 73 70 65 63 69 66 69 65 .if.a.class.name.is.not.specifie
5e40 64 20 69 6e 20 23 2b 61 74 74 72 5f 68 74 6d 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 68 74 6d d.in.#+attr_html."...(let*.((htm
5e60 6c 2d 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 l-attr.(org-export-read-attribut
5e80 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6c e.:attr_html.elem))..........(cl
5ea0 61 73 73 20 28 70 6c 69 73 74 2d 67 65 74 20 68 74 6d 6c 2d 61 74 74 72 20 3a 63 6c 61 73 73 29 ass.(plist-get.html-attr.:class)
5ec0 29 0a 20 20 20 20 20 20 20 20 20 28 66 69 72 73 74 2d 63 6c 61 73 73 20 28 77 68 65 6e 20 28 73 )..........(first-class.(when.(s
5ee0 74 72 69 6e 67 70 20 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 tringp.class)...................
5f00 20 20 20 20 20 20 28 63 61 72 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 63 6c 61 73 73 29 29 ......(car.(split-string.class))
5f20 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 74 79 6c 65 2d 73 74 72 20 22 22 29 29 0a 20 20 20 20 ))..........(style-str."")).....
5f40 28 77 68 65 6e 20 66 69 72 73 74 2d 63 6c 61 73 73 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 (when.first-class.......(let*.((
5f60 63 73 73 2d 70 72 6f 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 css-props.(org-export-read-attri
5f80 62 75 74 65 20 3a 61 74 74 72 5f 63 73 73 20 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 bute.:attr_css.elem))...........
5fa0 20 20 20 28 63 73 73 2d 70 72 6f 70 73 2d 73 74 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 ...(css-props-str.(org-blackfrid
5fc0 61 79 2d 2d 6d 61 6b 65 2d 63 73 73 2d 70 72 6f 70 65 72 74 79 2d 73 74 72 69 6e 67 20 63 73 73 ay--make-css-property-string.css
5fe0 2d 70 72 6f 70 73 29 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 -props))).........(when.(org-str
6000 69 6e 67 2d 6e 77 2d 70 20 63 73 73 2d 70 72 6f 70 73 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 ing-nw-p.css-props-str).........
6020 20 20 28 73 65 74 71 20 73 74 79 6c 65 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 3c 73 74 79 6c ..(setq.style-str.(format."<styl
6040 65 3e 2e 25 73 20 7b 20 25 73 20 7d 3c 2f 73 74 79 6c 65 3e 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 e>.%s.{.%s.}</style>\n\n".......
6060 20 20 20 20 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 72 73 ............................firs
6080 74 2d 63 6c 61 73 73 20 63 73 73 2d 70 72 6f 70 73 2d 73 74 72 29 29 29 29 29 0a 20 20 20 20 73 t-class.css-props-str))))).....s
60a0 74 79 6c 65 2d 73 74 72 29 29 0a 0a 3b 3b 3b 3b 20 57 72 61 70 20 77 69 74 68 20 48 54 4d 4c 20 tyle-str))..;;;;.Wrap.with.HTML.
60c0 61 74 74 72 69 62 75 74 65 73 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 attributes.(defun.org-blackfrida
60e0 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 20 28 65 6c 65 6d 20 63 6f 6e 74 65 6e 74 73 y--div-wrap-maybe.(elem.contents
6100 20 69 6e 66 6f 29 0a 20 20 22 57 72 61 70 20 74 68 65 20 43 4f 4e 54 45 4e 54 53 20 77 69 74 68 .info)..."Wrap.the.CONTENTS.with
6120 20 48 54 4d 4c 20 64 69 76 20 74 61 67 73 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 .HTML.div.tags...INFO.is.a.plist
6140 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
6160 2e 0a 0a 54 68 65 20 64 69 76 20 77 72 61 70 70 69 6e 67 20 69 73 20 64 6f 6e 65 20 6f 6e 6c 79 ...The.div.wrapping.is.done.only
6180 20 69 66 20 48 54 4d 4c 20 61 74 74 72 69 62 75 74 65 73 20 61 72 65 20 73 65 74 20 66 6f 72 20 .if.HTML.attributes.are.set.for.
61a0 74 68 65 0a 45 4c 45 4d 20 4f 72 67 20 65 6c 65 6d 65 6e 74 20 75 73 69 6e 67 20 23 2b 61 74 74 the.ELEM.Org.element.using.#+att
61c0 72 5f 68 74 6d 6c 2e 0a 0a 49 66 20 23 2b 61 74 74 72 5f 63 73 73 20 69 73 20 61 6c 73 6f 20 75 r_html...If.#+attr_css.is.also.u
61e0 73 65 64 2c 20 61 6e 64 20 69 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 63 6c 61 73 73 65 73 20 sed,.and.if.one.or.more.classes.
6200 61 72 65 0a 73 70 65 63 69 66 69 65 64 20 69 6e 20 23 2b 61 74 74 72 5f 68 74 6d 6c 2c 20 74 68 are.specified.in.#+attr_html,.th
6220 65 6e 20 61 6e 20 69 6e 6c 69 6e 65 20 73 74 79 6c 65 20 69 73 20 61 6c 73 6f 20 69 6e 73 65 72 en.an.inline.style.is.also.inser
6240 74 65 64 0a 74 68 61 74 20 61 70 70 6c 69 65 73 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 43 ted.that.applies.the.specified.C
6260 53 53 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 6f 66 20 74 68 6f 73 65 20 73 70 65 63 69 66 69 SS.to.the.first.of.those.specifi
6280 65 64 0a 63 6c 61 73 73 65 73 2e 0a 0a 49 66 20 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2c ed.classes...If.CONTENTS.is.nil,
62a0 20 61 6e 64 20 23 2b 61 74 74 72 5f 63 73 73 20 69 73 20 75 73 65 64 2c 20 72 65 74 75 72 6e 20 .and.#+attr_css.is.used,.return.
62c0 6f 6e 6c 79 20 74 68 65 20 48 54 4d 4c 0a 73 74 79 6c 65 20 74 61 67 2e 22 0a 20 20 28 6c 65 74 only.the.HTML.style.tag."...(let
62e0 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 70 65 20 *.((elem-type.(org-element-type.
6300 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 2d 61 74 74 72 20 28 6c 65 74 20 elem))..........(html-attr.(let.
6320 28 28 61 74 74 72 31 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 ((attr1.(org-export-read-attribu
6340 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 65 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 te.:attr_html.elem)))...........
6360 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 65 6c 65 6d 2d 74 79 ............(when.(equal.elem-ty
6380 70 65 20 27 70 61 72 61 67 72 61 70 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 pe.'paragraph)..................
63a0 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 22 74 61 72 67 65 74 22 20 61 6e 64 20 22 72 .......;;.Remove."target".and."r
63c0 65 6c 22 20 61 74 74 72 69 62 75 74 65 73 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 20 20 20 el".attributes.from.the.........
63e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 73 74 20 6f 66 20 61 20 70 61 72 ................;;.list.of.a.par
6400 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 61 73 20 74 68 65 79 agraph's.HTML.attributes.as.they
6420 0a 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 77 6f 75 6c .........................;;.woul
6440 64 20 62 65 20 6d 65 61 6e 74 20 66 6f 72 20 6c 69 6e 6b 73 20 69 6e 73 69 64 65 20 74 68 65 20 d.be.meant.for.links.inside.the.
6460 70 61 72 61 67 72 61 70 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 paragraph.......................
6480 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 70 61 72 61 67 72 61 70 68 20 69 74 ..;;.instead.of.the.paragraph.it
64a0 73 65 6c 66 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 self..........................(p
64c0 6c 69 73 74 2d 70 75 74 20 61 74 74 72 31 20 3a 74 61 72 67 65 74 20 6e 69 6c 29 0a 20 20 20 20 list-put.attr1.:target.nil).....
64e0 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 74 20 61 ....................(plist-put.a
6500 74 74 72 31 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 20 20 20 ttr1.:rel.nil)..................
6520 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 6f 74 68 65 72 20 61 74 74 72 69 62 75 74 65 .......;;.Remove.other.attribute
6540 73 20 66 72 6f 6d 20 74 68 65 20 6c 69 73 74 20 6f 66 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 s.from.the.list.of.a............
6560 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 61 72 61 67 72 61 70 68 27 73 20 48 54 4d 4c .............;;.paragraph's.HTML
6580 20 61 74 74 72 69 62 75 74 65 73 20 77 68 69 63 68 20 77 6f 75 6c 64 20 62 65 20 6d 65 61 6e 74 .attributes.which.would.be.meant
65a0 0a 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 66 6f 72 20 .........................;;.for.
65c0 74 68 65 20 69 6e 6c 69 6e 65 20 69 6d 61 67 65 73 20 69 6e 73 69 64 65 20 74 68 61 74 20 70 61 the.inline.images.inside.that.pa
65e0 72 61 67 72 61 70 68 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 ragraph.........................
6600 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 31 20 3a 73 72 63 20 6e 69 6c 29 0a 20 20 20 20 .(plist-put.attr1.:src.nil).....
6620 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 74 20 61 ....................(plist-put.a
6640 74 74 72 31 20 3a 61 6c 74 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ttr1.:alt.nil)..................
6660 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 68 65 69 67 68 74 20 .......(plist-put.attr1.:height.
6680 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c nil).........................(pl
66a0 69 73 74 2d 70 75 74 20 61 74 74 72 31 20 3a 77 69 64 74 68 20 6e 69 6c 29 29 0a 20 20 20 20 20 ist-put.attr1.:width.nil))......
66c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 74 74 72 31 29 29 0a 20 20 20 20 20 20 20 .................attr1))........
66e0 20 20 28 68 74 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 ..(html-attr-str.(org-blackfrida
6700 79 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 65 2d 73 74 72 69 6e 67 20 68 74 6d 6c 2d 61 74 y--make-attribute-string.html-at
6720 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 74 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 tr))..........(ret.contents))...
6740 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 74 6d 6c 2d 61 74 ..(when.(org-string-nw-p.html-at
6760 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 20 tr-str).......(setq.ret.(concat.
6780 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.
67a0 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 20 28 69 elem).........................(i
67c0 66 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 f.contents......................
67e0 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 64 69 76 20 25 73 3e 25 73 5c 6e 5c 6e 25 73 .......(format."<div.%s>%s\n\n%s
6800 5c 6e 3c 2f 64 69 76 3e 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</div>".......................
6820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 74 6d 6c 2d 61 74 74 72 2d 73 74 72 20 28 6f 72 67 ..............html-attr-str.(org
6840 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 66 -blackfriday--extra-div-hack.inf
6860 6f 29 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 20 o).contents))...................
6880 20 20 20 20 20 20 22 22 29 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 3b 3b 3b 3b 20 53 61 6e 69 ......""))).....ret))..;;;;.Sani
68a0 74 69 7a 65 20 55 52 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 tize.URL.(defun.org-blackfriday-
68c0 2d 75 72 6c 2d 73 61 6e 69 74 69 7a 65 2d 6d 61 79 62 65 20 28 69 6e 66 6f 20 75 72 6c 29 0a 20 -url-sanitize-maybe.(info.url)..
68e0 20 22 53 61 6e 69 74 69 7a 65 20 74 68 65 20 55 52 4c 20 62 79 20 72 65 70 6c 61 63 65 20 63 65 ."Sanitize.the.URL.by.replace.ce
6900 72 74 61 69 6e 20 63 68 61 72 61 63 74 65 72 73 20 77 69 74 68 20 74 68 65 69 72 20 68 65 78 20 rtain.characters.with.their.hex.
6920 65 6e 63 6f 64 69 6e 67 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 encoding...INFO.is.a.plist.used.
6940 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 52 65 70 as.a.communication.channel...Rep
6960 6c 61 63 65 73 20 5c 22 5f 5c 22 20 77 69 74 68 20 5c 22 25 35 46 5c 22 20 6f 6e 6c 79 20 69 66 laces.\"_\".with.\"%5F\".only.if
6980 20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 20 69 73 20 6e 69 6c 2e 0a 0a 57 6f 72 6b 61 72 6f .:hugo-goldmark.is.nil...Workaro
69a0 75 6e 64 20 66 6f 72 20 42 6c 61 63 6b 66 72 69 64 61 79 20 62 75 67 20 68 74 74 70 73 3a 2f 2f und.for.Blackfriday.bug.https://
69c0 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/
69e0 69 73 73 75 65 73 2f 32 37 38 2e 22 0a 20 20 28 69 66 20 28 6e 6f 74 20 28 6f 72 67 2d 62 6c 61 issues/278."...(if.(not.(org-bla
6a00 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 69 6e 66 6f 20 ckfriday--plist-get-true-p.info.
6a20 3a 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 29 0a 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d :hugo-goldmark)).......(replace-
6a40 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5f 22 20 22 25 35 46 22 20 75 72 6c 29 0a regexp-in-string."_"."%5F".url).
6a60 20 20 20 20 75 72 6c 29 29 0a 0a 3b 3b 3b 3b 20 42 6c 61 63 6b 66 72 69 64 61 79 20 49 73 73 75 ....url))..;;;;.Blackfriday.Issu
6a80 65 20 32 33 39 20 57 6f 72 6b 61 72 6f 75 6e 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 e.239.Workaround.(defun.org-blac
6aa0 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 75 6e 64 20 28 63 kfriday--issue-239-workaround.(c
6ac0 6f 64 65 20 70 61 72 65 6e 74 2d 74 79 70 65 29 0a 20 20 22 50 72 65 66 69 78 20 4d 61 72 6b 64 ode.parent-type)..."Prefix.Markd
6ae0 6f 77 6e 20 6c 69 73 74 20 63 68 61 72 61 63 74 65 72 73 20 77 69 74 68 20 7a 65 72 6f 20 77 69 own.list.characters.with.zero.wi
6b00 64 74 68 20 73 70 61 63 65 2e 0a 0a 43 4f 44 45 20 69 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 dth.space...CODE.is.the.content.
6b20 6f 66 20 74 68 65 20 73 6f 75 72 63 65 20 6f 72 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 2e 20 of.the.source.or.example.block..
6b40 20 50 41 52 45 4e 54 2d 54 59 50 45 0a 69 73 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 68 65 20 .PARENT-TYPE.is.the.type.of.the.
6b60 4f 72 67 20 65 6c 65 6d 65 6e 74 20 77 72 61 70 70 69 6e 67 20 74 68 61 74 20 73 6f 75 72 63 65 Org.element.wrapping.that.source
6b80 20 6f 72 20 65 78 61 6d 70 6c 65 0a 62 6c 6f 63 6b 2e 0a 0a 48 61 63 6b 20 74 6f 20 61 76 65 72 .or.example.block...Hack.to.aver
6ba0 74 20 74 68 65 20 42 6c 61 63 6b 66 72 69 64 61 79 20 62 75 67 3a 0a 68 74 74 70 73 3a 2f 2f 67 t.the.Blackfriday.bug:.https://g
6bc0 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 69 ithub.com/russross/blackfriday/i
6be0 73 73 75 65 73 2f 32 33 39 2e 20 20 52 65 6d 6f 76 65 20 74 68 69 73 0a 68 61 63 6b 20 6f 6e 63 ssues/239...Remove.this.hack.onc
6c00 65 20 74 68 61 74 20 69 73 73 75 65 20 69 73 20 72 65 73 6f 6c 76 65 64 2e 0a 0a 50 72 65 66 69 e.that.issue.is.resolved...Prefi
6c20 78 20 74 68 65 20 41 53 54 45 52 49 53 4b 20 28 30 78 32 61 29 2c 20 50 4c 55 53 20 53 49 47 4e x.the.ASTERISK.(0x2a),.PLUS.SIGN
6c40 20 28 30 78 32 62 29 20 61 6e 64 20 48 59 50 48 45 4e 2d 4d 49 4e 55 53 0a 5c 28 30 78 32 64 29 .(0x2b).and.HYPHEN-MINUS.\(0x2d)
6c60 20 63 68 61 72 61 63 74 65 72 73 20 77 69 74 68 20 5a 45 52 4f 20 57 49 44 54 48 20 53 50 41 43 .characters.with.ZERO.WIDTH.SPAC
6c80 45 20 28 30 78 32 30 30 62 29 2c 20 69 66 20 74 68 65 79 0a 61 70 70 65 61 72 20 61 74 20 42 4f E.(0x200b),.if.they.appear.at.BO
6ca0 4c 20 28 66 6f 6c 6c 6f 77 69 6e 67 20 6f 70 74 69 6f 6e 61 6c 20 73 70 61 63 65 73 29 2e 0a 0a L.(following.optional.spaces)...
6cc0 44 65 74 61 69 6c 73 3a 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 75 73 Details:.https://github.com/kaus
6ce0 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 69 73 73 75 65 73 2f 35 37 2e 22 0a 20 20 3b 3b halmodi/ox-hugo/issues/57."...;;
6d00 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 20 62 66 69 73 73 75 65 20 32 33 39 20 44 42 .(message."[ox-bf.bfissue.239.DB
6d20 47 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 G].parent.type:.%S".parent-type)
6d40 0a 20 20 28 69 66 20 28 65 71 75 61 6c 20 27 69 74 65 6d 20 70 61 72 65 6e 74 2d 74 79 70 65 29 ...(if.(equal.'item.parent-type)
6d60 0a 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 65 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 .......(setq.code.(replace-regex
6d80 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5e 5c 5c 73 2d 2a 5b 2d 2b 2a 5d 20 22 20 22 e2 80 8b 5c p-in-string."^\\s-*[-+*]."."...\
6da0 5c 26 22 20 63 6f 64 65 29 29 0a 20 20 20 20 3b 3b 20 54 68 65 72 65 27 73 20 61 20 5a 45 52 4f \&".code)).....;;.There's.a.ZERO
6dc0 20 57 49 44 54 48 20 53 50 41 43 45 20 63 68 61 72 20 28 30 78 32 30 30 62 29 20 68 65 72 65 20 .WIDTH.SPACE.char.(0x200b).here.
6de0 20 20 20 20 5e 5e 2c 0a 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....^^,.....;;..................
6e00 20 20 20 20 20 20 20 20 20 20 28 61 66 74 65 72 20 c2 ab 22 c2 bb 2c 20 62 75 74 20 62 65 66 6f ..........(after..."..,.but.befo
6e20 72 65 20 c2 ab 5c 5c 26 22 c2 bb 20 61 62 6f 76 65 29 0a 20 20 20 20 3b 3b 20 49 74 27 73 20 6e re...\\&"...above).....;;.It's.n
6e40 6f 74 20 76 69 73 69 62 6c 65 20 28 62 65 63 61 75 73 65 20 7a 65 72 6f 20 77 69 64 74 68 29 2c ot.visible.(because.zero.width),
6e60 20 62 75 74 20 69 74 27 73 20 74 68 65 72 65 2e 0a 20 20 20 20 63 6f 64 65 29 29 0a 0a 3b 3b 3b .but.it's.there......code))..;;;
6e80 3b 20 47 65 74 20 52 65 66 65 72 65 6e 63 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b ;.Get.Reference.(defun.org-black
6ea0 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 28 65 6c 65 6d 29 0a 20 20 22 friday--get-reference.(elem)..."
6ec0 52 65 74 75 72 6e 20 61 20 72 65 66 65 72 65 6e 63 65 20 66 6f 72 20 45 4c 45 4d 20 75 73 69 6e Return.a.reference.for.ELEM.usin
6ee0 67 20 69 74 73 20 5c 22 23 2b 6e 61 6d 65 5c 22 20 69 66 20 61 76 61 69 6c 61 62 6c 65 2e 0a 0a g.its.\"#+name\".if.available...
6f00 49 66 20 74 68 65 20 45 4c 45 4d 20 68 61 73 20 69 74 73 20 60 6e 61 6d 65 27 20 64 65 66 69 6e If.the.ELEM.has.its.`name'.defin
6f20 65 64 2c 20 74 68 65 20 61 6e 63 68 6f 72 20 69 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 69 ed,.the.anchor.is.derived.from.i
6f40 74 3a 0a 0a 2d 20 49 66 20 74 68 65 20 60 6e 61 6d 65 27 20 62 65 67 69 6e 73 20 77 69 74 68 20 t:..-.If.the.`name'.begins.with.
6f60 5c 22 63 6f 64 65 5f 5f 5c 22 2c 20 5c 22 74 61 62 5f 5f 5c 22 2c 20 5c 22 74 61 62 6c 65 5f 5f \"code__\",.\"tab__\",.\"table__
6f80 5c 22 2c 0a 20 20 5c 22 69 6d 67 5f 5f 5c 22 2c 20 5c 22 66 69 67 5f 5f 5c 22 20 6f 72 20 5c 22 \",...\"img__\",.\"fig__\".or.\"
6fa0 66 69 67 75 72 65 5f 5f 5c 22 2c 20 74 68 61 74 20 70 72 65 66 69 78 20 69 73 20 72 65 6d 6f 76 figure__\",.that.prefix.is.remov
6fc0 65 64 20 61 73 0a 20 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 61 64 64 73 20 69 74 73 20 6f ed.as...this.function.adds.its.o
6fe0 77 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 70 72 65 66 69 78 2e 0a 2d 20 55 6e 64 65 72 73 63 wn.appropriate.prefix..-.Undersc
7000 6f 72 65 73 20 61 6e 64 20 66 6f 72 77 61 72 64 20 73 6c 61 73 68 65 73 20 69 6e 20 74 68 65 20 ores.and.forward.slashes.in.the.
7020 60 6e 61 6d 65 27 20 67 65 74 20 72 65 70 6c 61 63 65 64 20 77 69 74 68 0a 20 20 68 79 70 68 65 `name'.get.replaced.with...hyphe
7040 6e 73 2e 0a 0a 54 68 69 73 20 63 6f 6e 64 69 74 69 6f 6e 65 64 20 60 6e 61 6d 65 27 20 69 73 20 ns...This.conditioned.`name'.is.
7060 74 68 65 6e 20 61 70 70 65 6e 64 65 64 20 74 6f 20 74 68 65 0a 63 6f 64 65 2f 74 61 62 6c 65 2f then.appended.to.the.code/table/
7080 66 69 67 75 72 65 2d 61 70 70 72 6f 70 72 69 61 74 65 20 70 72 65 66 69 78 2c 20 61 6e 64 20 72 figure-appropriate.prefix,.and.r
70a0 65 74 75 72 6e 65 64 2e 0a 0a 45 6c 73 65 2c 20 72 65 74 75 72 6e 20 6e 69 6c 2e 0a 0a 54 68 65 eturned...Else,.return.nil...The
70c0 20 72 65 74 75 72 6e 20 76 61 6c 75 65 2c 20 69 66 20 6e 6f 6e 2d 6e 69 6c 2c 20 69 73 20 61 20 .return.value,.if.non-nil,.is.a.
70e0 73 74 72 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 28 28 6e 61 6d 65 20 28 6f 72 67 2d 65 6c 65 6d string."...(let.((name.(org-elem
7100 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 6e 61 6d 65 20 65 6c 65 6d 29 29 29 20 3b 56 61 6c 75 ent-property.:name.elem))).;Valu
7120 65 20 6f 66 20 23 2b 6e 61 6d 65 0a 20 20 20 20 3b 3b 20 52 65 66 65 72 65 6e 63 65 20 63 61 6e e.of.#+name.....;;.Reference.can
7140 6e 6f 74 20 62 65 20 63 72 65 61 74 65 64 20 69 66 20 23 2b 6e 61 6d 65 20 64 6f 65 73 20 6e 6f not.be.created.if.#+name.does.no
7160 74 20 65 78 69 73 74 2e 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 t.exist......;;.(message."[ox-bf
7180 20 72 65 66 20 44 42 47 5d 20 6e 61 6d 65 3a 20 25 53 22 20 6e 61 6d 65 29 0a 20 20 20 20 28 77 .ref.DBG].name:.%S".name).....(w
71a0 68 65 6e 20 6e 61 6d 65 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 65 6c 65 6d 2d 74 79 70 65 hen.name.......(let*.((elem-type
71c0 20 28 6f 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 .(org-element-type.elem)).......
71e0 20 20 20 20 20 20 20 28 70 72 65 66 69 78 20 28 6f 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 .......(prefix.(or.(org-blackfri
7200 64 61 79 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 20 65 6c 65 6d 2d 74 79 70 65 29 0a 20 day--get-ref-prefix.elem-type)..
7220 20 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.
7240 22 6f 72 67 2d 25 73 2d 2d 22 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 65 6c 65 6d 2d 74 79 70 "org-%s--".(symbol-name.elem-typ
7260 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 61 6d 65 31 20 28 6c 65 74 2a 20 e))))..............(name1.(let*.
7280 28 28 74 6d 70 20 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 ((tmp.name).....................
72a0 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 63 6f 6d 6d 6f 6e 6c 79 20 75 73 65 64 20 63 .......;;.Remove.commonly.used.c
72c0 6f 64 65 2f 74 61 62 6c 65 2f 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ode/table/figure................
72e0 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 65 66 69 78 65 73 20 69 6e 20 74 68 65 20 23 ............;;.prefixes.in.the.#
7300 2b 6e 61 6d 65 20 69 74 73 65 6c 66 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 +name.itself....................
7320 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 69 6e .........(tmp.(replace-regexp-in
7340 2d 73 74 72 69 6e 67 20 22 5c 5c 60 5c 5c 28 63 6f 64 65 5c 5c 7c 74 61 62 5c 5c 7c 74 61 62 6c -string."\\`\\(code\\|tab\\|tabl
7360 65 5c 5c 7c 69 6d 67 5c 5c 7c 66 69 67 5c 5c 7c 66 69 67 75 72 65 5c 5c 7c 5c 5c 29 5f 5f 22 20 e\\|img\\|fig\\|figure\\|\\)__".
7380 22 22 20 74 6d 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 "".tmp))........................
73a0 20 20 20 20 3b 3b 20 50 72 65 66 65 72 20 74 6f 20 75 73 65 20 68 79 70 68 65 6e 73 20 69 6e 73 ....;;.Prefer.to.use.hyphens.ins
73c0 74 65 61 64 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tead.of.........................
73e0 20 20 20 3b 3b 20 75 6e 64 65 72 73 63 6f 72 65 73 20 69 6e 20 61 6e 63 68 6f 72 73 2e 20 20 41 ...;;.underscores.in.anchors...A
7400 6c 73 6f 20 72 65 70 6c 61 63 65 20 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 lso.replace./...................
7420 20 20 20 20 20 20 20 20 20 3b 3b 20 63 68 61 72 73 20 77 69 74 68 20 68 79 70 68 65 6e 73 2e 0a .........;;.chars.with.hyphens..
7440 20 20 20 20 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 ...........................(tmp.
7460 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 2f 5d 22 (replace-regexp-in-string."[_/]"
7480 20 22 2d 22 20 74 6d 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 ."-".tmp))).....................
74a0 20 20 74 6d 70 29 29 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 22 20 ..tmp))).........(format."%s%s".
74c0 70 72 65 66 69 78 20 6e 61 6d 65 31 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 54 72 61 6e 73 6c 61 74 prefix.name1)))))..;;;;.Translat
74e0 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 2d 74 72 61 6e 73 6c e.(defun.org-blackfriday--transl
7500 61 74 65 20 28 74 79 70 65 20 69 6e 66 6f 20 26 6f 70 74 69 6f 6e 61 6c 20 73 74 72 29 0a 20 20 ate.(type.info.&optional.str)...
7520 22 52 65 74 75 72 6e 20 74 72 61 6e 73 6c 61 74 65 64 20 73 74 72 69 6e 67 20 66 6f 72 20 65 6c "Return.translated.string.for.el
7540 65 6d 65 6e 74 20 54 59 50 45 20 74 6f 20 74 68 65 20 6c 61 6e 67 20 73 65 74 20 62 79 20 5c 22 ement.TYPE.to.the.lang.set.by.\"
7560 23 2b 6c 61 6e 67 75 61 67 65 5c 22 2e 0a 0a 54 59 50 45 20 69 73 20 74 68 65 20 4f 72 67 20 65 #+language\"...TYPE.is.the.Org.e
7580 6c 65 6d 65 6e 74 20 74 79 70 65 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 6f lement.type...INFO.is.a.plist.ho
75a0 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 49 lding.contextual.information...I
75c0 66 20 54 59 50 45 20 69 73 20 60 73 72 63 2d 62 6c 6f 63 6b 27 20 61 6e 64 20 69 66 20 5c 22 4c f.TYPE.is.`src-block'.and.if.\"L
75e0 69 73 74 69 6e 67 5c 22 20 74 72 61 6e 73 6c 61 74 65 73 20 74 6f 0a 5c 22 4c 69 73 74 69 6e 67 isting\".translates.to.\"Listing
7600 5c 22 2c 20 74 72 61 6e 73 6c 61 74 65 20 74 68 65 20 73 74 72 69 6e 67 20 61 73 73 6f 63 69 61 \",.translate.the.string.associa
7620 74 65 64 20 77 69 74 68 20 60 73 72 63 2d 62 6c 6f 63 6b 27 0a 66 72 6f 6d 20 60 6f 72 67 2d 62 ted.with.`src-block'.from.`org-b
7640 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 74 72 69 6e 67 27 2e lackfriday--org-element-string'.
7660 0a 0a 45 6c 73 65 20 69 66 20 54 59 50 45 20 6b 65 79 20 65 78 69 73 74 73 20 69 6e 20 60 6f 72 ..Else.if.TYPE.key.exists.in.`or
7680 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 74 72 69 6e g-blackfriday--org-element-strin
76a0 67 27 2c 0a 72 65 74 75 72 6e 20 74 68 65 20 74 72 61 6e 73 6c 61 74 65 64 20 76 65 72 73 69 6f g',.return.the.translated.versio
76c0 6e 20 6f 66 20 6f 66 20 74 68 65 20 73 74 72 69 6e 67 20 61 73 73 6f 63 69 61 74 65 64 20 69 6e n.of.of.the.string.associated.in
76e0 20 74 68 61 74 0a 61 6c 69 73 74 2e 0a 0a 45 6c 73 65 20 69 66 20 54 59 50 45 20 6b 65 79 20 64 .that.alist...Else.if.TYPE.key.d
7700 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 20 69 6e 0a 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 oes.not.exist.in.`org-blackfrida
7720 79 2d 2d 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 73 74 72 69 6e 67 27 2c 20 6f 72 20 69 66 20 54 59 y--org-element-string',.or.if.TY
7740 50 45 20 69 73 20 6e 69 6c 2c 20 62 75 74 20 53 54 52 0a 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 PE.is.nil,.but.STR.is.non-nil,.r
7760 65 74 75 72 6e 20 74 68 65 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 6f 66 20 53 54 52 20 64 69 72 eturn.the.translation.of.STR.dir
7780 65 63 74 6c 79 2e 0a 0a 45 6c 73 65 20 72 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 20 73 74 72 ectly...Else.return.an.empty.str
77a0 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 28 28 65 6c 65 6d 2d 73 74 72 20 28 63 64 72 20 28 61 73 ing."...(let.((elem-str.(cdr.(as
77c0 73 6f 63 20 74 79 70 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 soc.type.org-blackfriday--org-el
77e0 65 6d 65 6e 74 2d 73 74 72 69 6e 67 29 29 29 29 0a 20 20 20 20 28 69 66 20 65 6c 65 6d 2d 73 74 ement-string)))).....(if.elem-st
7800 72 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c r.........(cond..........((equal
7820 20 27 73 72 63 2d 62 6c 6f 63 6b 20 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 .'src-block.type)...........(let
7840 20 28 28 6c 69 73 74 69 6e 67 2d 74 72 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 .((listing-tr.(org-html--transla
7860 74 65 20 22 4c 69 73 74 69 6e 67 22 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 te."Listing".info)))............
7880 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 22 4c 69 73 74 69 6e 67 22 20 6c 69 73 74 69 6e 67 2d .(if.(string=."Listing".listing-
78a0 74 72 29 0a 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 2d 74 tr).................(org-html--t
78c0 72 61 6e 73 6c 61 74 65 20 65 6c 65 6d 2d 73 74 72 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 ranslate.elem-str.info).........
78e0 20 20 20 20 20 20 6c 69 73 74 69 6e 67 2d 74 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 0a ......listing-tr)))..........(t.
7900 20 20 20 20 20 20 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 ..........(org-html--translate.e
7920 6c 65 6d 2d 73 74 72 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e lem-str.info))).......(if.(strin
7940 67 70 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 74 72 61 gp.str)...........(org-html--tra
7960 6e 73 6c 61 74 65 20 73 74 72 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 22 22 29 29 29 29 0a nslate.str.info)........."")))).
7980 0a 3b 3b 3b 3b 20 43 6f 6e 76 65 72 74 20 73 74 72 69 6e 67 20 74 6f 20 61 20 76 61 6c 69 64 20 .;;;;.Convert.string.to.a.valid.
79a0 61 6e 63 68 6f 72 20 6e 61 6d 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 anchor.name.(defun.org-blackfrid
79c0 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 20 28 73 74 72 29 ay--valid-html-anchor-name.(str)
79e0 0a 20 20 22 54 75 72 6e 20 53 54 52 20 69 6e 74 6f 20 61 20 76 61 6c 69 64 20 48 54 4d 4c 20 61 ..."Turn.STR.into.a.valid.HTML.a
7a00 6e 63 68 6f 72 20 6e 61 6d 65 2e 0a 0a 52 65 70 6c 61 63 65 73 20 69 6e 76 61 6c 69 64 20 63 68 nchor.name...Replaces.invalid.ch
7a20 61 72 61 63 74 65 72 73 20 77 69 74 68 20 5c 22 2d 5c 22 2e 20 20 54 68 65 20 72 65 74 75 72 6e aracters.with.\"-\"...The.return
7a40 65 64 20 61 6e 63 68 6f 72 20 6e 61 6d 65 0a 77 69 6c 6c 20 61 6c 73 6f 20 6e 65 76 65 72 20 62 ed.anchor.name.will.also.never.b
7a60 65 67 69 6e 20 6f 72 20 65 6e 64 20 77 69 74 68 20 5c 22 2d 5c 22 2e 0a 22 0a 20 20 28 6f 72 20 egin.or.end.with.\"-\".."...(or.
7a80 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 (and.(stringp.str)............(s
7aa0 74 72 69 6e 67 2d 74 72 69 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d tring-trim.............(replace-
7ac0 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5e 61 2d 7a 41 2d 5a 30 2d 39 5f 2d 2e regexp-in-string."[^a-zA-Z0-9_-.
7ae0 5d 22 20 22 2d 22 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 2d 22 29 29 0a 20 20 ]"."-".str)............."-"))...
7b00 20 20 20 20 22 22 29 29 0a 0a 3b 3b 20 52 65 74 75 72 6e 20 48 54 4d 4c 20 73 70 61 6e 20 74 61 ....""))..;;.Return.HTML.span.ta
7b20 67 73 20 66 6f 72 20 6c 69 6e 6b 20 74 61 72 67 65 74 73 2e 0a 28 64 65 66 75 6e 20 6f 72 67 2d gs.for.link.targets..(defun.org-
7b40 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6c 69 6e 6b 2d 74 61 72 67 65 74 20 28 61 74 74 72 20 26 blackfriday--link-target.(attr.&
7b60 6f 70 74 69 6f 6e 61 6c 20 64 65 73 63 29 0a 20 20 22 46 6f 72 6d 61 74 20 61 20 6c 69 6e 6b 20 optional.desc)..."Format.a.link.
7b80 74 61 72 67 65 74 20 69 6e 20 48 54 4d 4c 2e 0a 0a 41 54 54 52 20 69 73 20 61 20 73 74 72 69 6e target.in.HTML...ATTR.is.a.strin
7ba0 67 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 61 74 74 72 69 62 75 74 65 73 20 6f 66 g.representing.the.attributes.of
7bc0 20 74 68 65 20 74 61 72 67 65 74 20 48 54 4d 4c 20 74 61 67 2e 0a 44 45 53 43 20 69 73 20 65 69 .the.target.HTML.tag..DESC.is.ei
7be0 74 68 65 72 20 6e 69 6c 20 6f 72 20 74 68 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 73 74 72 69 ther.nil.or.the.description.stri
7c00 6e 67 20 6f 66 20 74 68 65 20 74 61 72 67 65 74 2e 22 0a 20 20 28 66 6f 72 6d 61 74 20 22 3c 73 ng.of.the.target."...(format."<s
7c20 70 61 6e 25 73 3e 25 73 3c 2f 73 70 61 6e 3e 22 20 28 6f 72 20 61 74 74 72 20 22 22 29 20 28 6f pan%s>%s</span>".(or.attr."").(o
7c40 72 20 64 65 73 63 20 22 22 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 r.desc."")))..(defun.org-blackfr
7c60 69 64 61 79 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 65 2d 73 74 72 69 6e 67 20 28 61 74 74 iday--make-attribute-string.(att
7c80 72 69 62 75 74 65 73 29 0a 20 20 22 52 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 61 74 74 ributes)..."Return.a.list.of.att
7ca0 72 69 62 75 74 65 73 2c 20 61 73 20 61 20 73 74 72 69 6e 67 2e 0a 41 54 54 52 49 42 55 54 45 53 ributes,.as.a.string..ATTRIBUTES
7cc0 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 72 65 20 65 69 74 .is.a.plist.where.values.are.eit
7ce0 68 65 72 20 73 74 72 69 6e 67 73 20 6f 72 20 6e 69 6c 2e 0a 0a 41 6e 20 61 74 74 72 69 62 75 74 her.strings.or.nil...An.attribut
7d00 65 20 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 e.with.a.nil.value.will.be.omitt
7d20 65 64 20 66 72 6f 6d 20 74 68 65 20 72 65 73 75 6c 74 2e 0a 0a 41 6e 20 61 74 74 72 69 62 75 74 ed.from.the.result...An.attribut
7d40 65 20 77 69 74 68 20 61 20 5c 22 74 5c 22 20 76 61 6c 75 65 20 77 69 6c 6c 20 62 65 20 61 64 64 e.with.a.\"t\".value.will.be.add
7d60 65 64 20 61 73 20 61 20 6b 65 79 2d 6f 6e 6c 79 20 6f 72 0a 62 6f 6f 6c 65 61 6e 20 61 74 74 72 ed.as.a.key-only.or.boolean.attr
7d80 69 62 75 74 65 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 6d 6f 73 74 6c 79 20 ibute...This.function.is.mostly.
7da0 61 20 63 6f 70 79 20 6f 66 0a 60 6f 72 67 2d 68 74 6d 6c 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 a.copy.of.`org-html--make-attrib
7dc0 75 74 65 2d 73 74 72 69 6e 67 27 2c 20 65 78 63 65 70 74 20 74 68 61 74 20 69 74 20 70 61 72 73 ute-string',.except.that.it.pars
7de0 65 73 20 60 3a 66 6f 6f 0a 5c 22 74 5c 22 27 20 61 73 20 73 65 74 74 69 6e 67 20 61 20 62 6f 6f es.`:foo.\"t\"'.as.setting.a.boo
7e00 6c 65 61 6e 20 5c 22 66 6f 6f 5c 22 20 61 74 74 72 69 62 75 74 65 2e 22 0a 20 20 28 6c 65 74 20 lean.\"foo\".attribute."...(let.
7e20 28 6f 75 74 70 75 74 29 0a 20 20 20 20 28 64 6f 6c 69 73 74 20 28 69 74 65 6d 20 61 74 74 72 69 (output).....(dolist.(item.attri
7e40 62 75 74 65 73 20 28 6d 61 70 63 6f 6e 63 61 74 20 27 69 64 65 6e 74 69 74 79 20 28 6e 72 65 76 butes.(mapconcat.'identity.(nrev
7e60 65 72 73 65 20 6f 75 74 70 75 74 29 20 22 20 22 29 29 0a 20 20 20 20 20 20 28 63 6f 6e 64 20 28 erse.output).".")).......(cond.(
7e80 28 6e 75 6c 6c 20 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 70 20 6f 75 (null.item)..............(pop.ou
7ea0 74 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 69 74 65 tput)).............((symbolp.ite
7ec0 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 73 75 62 73 74 72 69 6e 67 m)..............(push.(substring
7ee0 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 69 74 65 6d 29 20 31 29 20 6f 75 74 70 75 74 29 29 0a .(symbol-name.item).1).output)).
7f00 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 69 74 65 6d 29 ............((and.(stringp.item)
7f20 0a 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 69 74 65 6d ...................(string=.item
7f40 20 22 74 22 29 29 20 3b 45 78 61 6d 70 6c 65 3a 20 28 3a 63 6f 6e 74 72 6f 6c 20 22 74 22 29 20 ."t")).;Example:.(:control."t").
7f60 2d 3e 20 22 63 6f 6e 74 72 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 20 ->."control"..............;;.Do.
7f80 6e 6f 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 29 0a 20 20 20 20 20 20 20 20 20 nothing..............)..........
7fa0 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6b 65 79 20 28 63 ...(t..............(let.((key.(c
7fc0 61 72 20 6f 75 74 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ar.output))....................(
7fe0 76 61 6c 75 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 0a value.(replace-regexp-in-string.
8000 20 20 20 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 22 20 ..........................."\"".
8020 22 26 71 75 6f 74 3b 22 20 28 6f 72 67 2d 68 74 6d 6c 2d 65 6e 63 6f 64 65 2d 70 6c 61 69 6e 2d "&quot;".(org-html-encode-plain-
8040 74 65 78 74 20 69 74 65 6d 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 text.item))))................(se
8060 74 63 61 72 20 6f 75 74 70 75 74 20 28 66 6f 72 6d 61 74 20 22 25 73 3d 5c 22 25 73 5c 22 22 20 tcar.output.(format."%s=\"%s\"".
8080 6b 65 79 20 76 61 6c 75 65 29 29 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 43 6f 6e 76 65 72 74 20 key.value))))))))..;;;;.Convert.
80a0 4f 72 67 20 73 74 72 69 6e 67 20 74 6f 20 48 54 4d 4c 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c Org.string.to.HTML.(defun.org-bl
80c0 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 6f 2d 68 74 6d 6c 20 ackfriday--org-contents-to-html.
80e0 28 65 6c 29 0a 20 20 22 43 6f 6e 76 65 72 74 20 4f 72 67 20 63 6f 6e 74 65 6e 74 73 20 69 6e 20 (el)..."Convert.Org.contents.in.
8100 45 4c 20 65 6c 65 6d 65 6e 74 20 74 6f 20 48 54 4d 4c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6f EL.element.to.HTML."...(let*.((o
8120 72 67 2d 73 74 72 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 rg-str.(org-element-interpret-da
8140 74 61 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 65 6c 29 29 29 0a 20 ta.(org-element-contents.el)))..
8160 20 20 20 20 20 20 20 20 28 68 74 6d 6c 2d 73 74 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 73 74 ........(html-str.(org-export-st
8180 72 69 6e 67 2d 61 73 20 6f 72 67 2d 73 74 72 20 27 68 74 6d 6c 20 3a 62 6f 64 79 2d 6f 6e 6c 79 ring-as.org-str.'html.:body-only
81a0 29 29 29 0a 20 20 20 20 68 74 6d 6c 2d 73 74 72 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 46 69 6c 74 65 ))).....html-str)).....;;;.Filte
81c0 72 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 r.Functions..;;.This.function.is
81e0 20 61 64 61 70 74 65 64 20 66 72 6f 6d 20 60 6f 72 67 2d 6d 64 2d 73 65 70 61 72 61 74 65 2d 65 .adapted.from.`org-md-separate-e
8200 6c 65 6d 65 6e 74 73 27 2e 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 lements'..(defun.org-blackfriday
8220 2d 73 65 70 61 72 61 74 65 2d 65 6c 65 6d 65 6e 74 73 20 28 74 72 65 65 20 5f 62 61 63 6b 65 6e -separate-elements.(tree._backen
8240 64 20 69 6e 66 6f 29 0a 20 20 22 46 69 78 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 20 62 65 74 77 65 d.info)..."Fix.blank.lines.betwe
8260 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 54 52 45 45 20 69 73 20 74 68 65 20 70 61 72 73 65 20 en.elements...TREE.is.the.parse.
8280 74 72 65 65 20 62 65 69 6e 67 20 65 78 70 6f 72 74 65 64 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 tree.being.exported...INFO.is.a.
82a0 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
82c0 61 6e 6e 65 6c 2e 0a 0a 45 6e 66 6f 72 63 65 20 61 20 62 6c 61 6e 6b 20 6c 69 6e 65 20 62 65 74 annel...Enforce.a.blank.line.bet
82e0 77 65 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 20 20 54 68 65 72 65 20 61 72 65 20 33 20 65 78 63 65 ween.elements...There.are.3.exce
8300 70 74 69 6f 6e 73 0a 74 6f 20 74 68 69 73 20 72 75 6c 65 3a 0a 0a 20 20 31 2e 20 50 72 65 73 65 ptions.to.this.rule:....1..Prese
8320 72 76 65 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 20 62 65 74 77 65 65 6e 20 73 69 62 6c 69 6e 67 20 rve.blank.lines.between.sibling.
8340 69 74 65 6d 73 20 69 6e 20 61 20 70 6c 61 69 6e 20 6c 69 73 74 2c 0a 0a 20 20 32 2e 20 49 6e 20 items.in.a.plain.list,....2..In.
8360 61 6e 20 69 74 65 6d 2c 20 72 65 6d 6f 76 65 20 61 6e 79 20 62 6c 61 6e 6b 20 6c 69 6e 65 20 62 an.item,.remove.any.blank.line.b
8380 65 66 6f 72 65 20 74 68 65 20 76 65 72 79 20 66 69 72 73 74 0a 20 20 20 20 20 70 61 72 61 67 72 efore.the.very.first......paragr
83a0 61 70 68 20 61 6e 64 20 74 68 65 20 6e 65 78 74 20 73 75 62 2d 6c 69 73 74 20 77 68 65 6e 20 74 aph.and.the.next.sub-list.when.t
83c0 68 65 20 6c 61 74 74 65 72 20 65 6e 64 73 20 74 68 65 0a 20 20 20 20 20 63 75 72 72 65 6e 74 20 he.latter.ends.the......current.
83e0 69 74 65 6d 2e 0a 0a 20 20 33 2e 20 49 6e 20 61 6e 20 69 74 65 6d 2c 20 69 66 20 61 20 70 61 72 item.....3..In.an.item,.if.a.par
8400 61 67 72 61 70 68 20 69 73 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 66 6f 6c 6c 6f 77 65 64 20 62 agraph.is.immediately.followed.b
8420 79 20 61 6e 20 73 72 63 0a 20 20 20 20 20 6f 72 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 2c 20 y.an.src......or.example.block,.
8440 64 6f 6e 27 74 20 61 64 64 20 61 20 62 6c 61 6e 6b 20 6c 69 6e 65 20 61 66 74 65 72 20 74 68 65 don't.add.a.blank.line.after.the
8460 20 70 61 72 61 67 72 61 70 68 2e 0a 0a 20 20 34 2e 20 49 6e 20 61 6e 20 69 74 65 6d 2c 20 69 66 .paragraph.....4..In.an.item,.if
8480 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 64 6f 65 73 6e 27 74 .an.src.or.example.block.doesn't
84a0 20 68 61 76 65 20 61 20 63 61 70 74 69 6f 6e 0a 20 20 20 20 20 61 6e 64 20 69 73 20 69 6d 6d 65 .have.a.caption......and.is.imme
84c0 64 69 61 74 65 6c 79 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 70 61 72 61 67 72 61 70 68 2c diately.followed.by.a.paragraph,
84e0 20 64 6f 6e 27 74 20 61 64 64 20 61 20 62 6c 61 6e 6b 0a 20 20 20 20 20 6c 69 6e 65 20 61 66 74 .don't.add.a.blank......line.aft
8500 65 72 20 74 68 61 74 20 73 72 63 20 6f 72 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 2e 22 0a 20 er.that.src.or.example.block."..
8520 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 20 74 72 65 65 20 28 72 65 6d 71 20 27 69 74 .(org-element-map.tree.(remq.'it
8540 65 6d 20 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 6c 6c 2d 65 6c 65 6d 65 6e 74 73 29 20 3b 45 78 em.org-element-all-elements).;Ex
8560 63 65 70 74 69 6f 6e 20 31 20 69 6e 20 74 68 65 20 64 6f 63 2d 73 74 72 69 6e 67 0a 20 20 20 20 ception.1.in.the.doc-string.....
8580 28 6c 61 6d 62 64 61 20 28 65 6c 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 70 6f 73 74 2d 62 (lambda.(el).......(let.((post-b
85a0 6c 61 6e 6b 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 lank.(cond......................
85c0 20 20 20 20 3b 3b 20 45 78 63 65 70 74 69 6f 6e 20 32 20 69 6e 20 74 68 65 20 64 6f 63 2d 73 74 ....;;.Exception.2.in.the.doc-st
85e0 72 69 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 28 ring...........................(
8600 28 61 6e 64 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 29 20 27 (and.(eq.(org-element-type.el).'
8620 70 61 72 61 67 72 61 70 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 paragraph)......................
8640 20 20 20 20 20 20 20 20 20 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 ..........(eq.(org-element-type.
8660 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 74 20 65 6c (org-element-property.:parent.el
8680 29 29 20 27 69 74 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 )).'item).......................
86a0 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 66 69 72 73 74 2d 73 69 62 6c 69 .........(org-export-first-sibli
86c0 6e 67 2d 70 20 65 6c 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 ng-p.el.info)...................
86e0 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 65 6c 20 28 6f 72 67 .............(let.((next-el.(org
8700 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 65 6c 20 69 6e 66 6f -export-get-next-element.el.info
8720 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 ))).............................
8740 20 20 20 20 20 28 61 6e 64 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 .....(and.(eq.(org-element-type.
8760 6e 65 78 74 2d 65 6c 29 20 27 70 6c 61 69 6e 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 next-el).'plain-list)...........
8780 20 20 20 20 20 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 ............................(not
87a0 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 6e 65 .(org-export-get-next-element.ne
87c0 78 74 2d 65 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 xt-el.info))))).................
87e0 20 20 20 20 20 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 ..........0)....................
8800 20 20 20 20 20 20 3b 3b 20 45 78 63 65 70 74 69 6f 6e 20 33 20 69 6e 20 74 68 65 20 64 6f 63 2d ......;;.Exception.3.in.the.doc-
8820 73 74 72 69 6e 67 20 28 70 61 72 61 67 72 61 70 68 20 2d 3e 20 73 72 63 2d 62 6c 6f 63 6b 29 2e string.(paragraph.->.src-block).
8840 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 ..........................((and.
8860 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 29 20 27 70 61 72 61 67 (eq.(org-element-type.el).'parag
8880 72 61 70 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 raph)...........................
88a0 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 28 6f 72 67 2d .....(eq.(org-element-type.(org-
88c0 65 6c 65 6d 65 6e 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 element-property.:parent.el)).'i
88e0 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tem)............................
8900 20 20 20 20 28 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 ....(let.((next-el.(org-export-g
8920 65 74 2d 6e 65 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 et-next-element.el.info)))......
8940 20 20 20 20 20 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 ............................(mem
8960 71 20 28 6f 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 28 73 q.(org-element-type.next-el).'(s
8980 72 63 2d 62 6c 6f 63 6b 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 29 29 29 0a 20 20 20 20 20 rc-block.example-block))))......
89a0 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 20 20 20 20 20 .....................0).........
89c0 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 20 34 20 .................;;.Exception.4.
89e0 69 6e 20 74 68 65 20 64 6f 63 2d 73 74 72 69 6e 67 20 28 63 61 70 74 69 6f 6e 2d 6c 65 73 73 20 in.the.doc-string.(caption-less.
8a00 73 72 63 2d 62 6c 6f 63 6b 20 2d 3e 20 70 61 72 61 67 72 61 70 68 29 2e 0a 20 20 20 20 20 20 20 src-block.->.paragraph).........
8a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 61 6e 20 73 72 63 20 6f ..................;;.If.an.src.o
8a40 72 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 20 68 61 73 20 61 20 63 61 70 74 69 6f 6e 2c 0a 20 r.example.block.has.a.caption,..
8a60 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 61 74 20 ........................;;.that.
8a80 63 61 70 74 69 6f 6e 20 77 69 6c 6c 20 62 65 20 77 72 61 70 70 65 64 20 69 6e 20 61 6e 20 48 54 caption.will.be.wrapped.in.an.HT
8aa0 4d 4c 0a 20 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 ML..........................;;.d
8ac0 69 76 20 62 6c 6f 63 6b 2e 20 49 6e 20 74 68 61 74 20 63 61 73 65 2c 20 77 65 20 2a 64 6f 2a 20 iv.block..In.that.case,.we.*do*.
8ae0 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 20 20 20 20 need.to.........................
8b00 20 3b 3b 20 6c 65 61 76 65 20 61 20 62 6c 61 6e 6b 20 6c 69 6e 65 20 61 66 74 65 72 20 74 68 65 .;;.leave.a.blank.line.after.the
8b20 20 64 69 76 20 62 6c 6f 63 6b 20 28 43 6f 6d 6d 6f 6e 4d 61 72 6b 29 2e 0a 20 20 20 20 20 20 20 .div.block.(CommonMark).........
8b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 6d 65 6d 71 20 28 6f ..................((and.(memq.(o
8b60 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 29 20 27 28 73 72 63 2d 62 6c 6f 63 6b 20 rg-element-type.el).'(src-block.
8b80 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 20 20 20 20 20 20 20 example-block)).................
8ba0 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 65 6d 65 6e 74 2d ...............(eq.(org-element-
8bc0 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 70 61 72 65 type.(org-element-property.:pare
8be0 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 20 20 20 20 20 20 nt.el)).'item)..................
8c00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 ..............(null.(org-element
8c20 2d 70 72 6f 70 65 72 74 79 20 3a 63 61 70 74 69 6f 6e 20 65 6c 29 29 20 3b 3c 2d 2d 20 22 6e 6f -property.:caption.el)).;<--."no
8c40 20 63 61 70 74 69 6f 6e 22 20 63 68 65 63 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .caption".check.................
8c60 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 65 6c 20 28 6f ...............(let.((next-el.(o
8c80 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 65 6c 20 69 6e rg-export-get-next-element.el.in
8ca0 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 fo)))...........................
8cc0 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 79 70 65 20 6e .......(memq.(org-element-type.n
8ce0 65 78 74 2d 65 6c 29 20 27 28 70 61 72 61 67 72 61 70 68 29 29 29 29 0a 20 20 20 20 20 20 20 20 ext-el).'(paragraph)))).........
8d00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 ..................0)............
8d20 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 20 20 20 20 ..............(t................
8d40 20 20 20 20 20 20 20 20 20 20 20 31 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c ...........1)))).........(org-el
8d60 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 20 65 6c 20 3a 70 6f 73 74 2d 62 6c 61 6e ement-put-property.el.:post-blan
8d80 6b 20 70 6f 73 74 2d 62 6c 61 6e 6b 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 k.post-blank).........;;.(messag
8da0 65 20 22 5b 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 e."[org-blackfriday-separate-ele
8dc0 6d 65 6e 74 73 20 44 42 47 5d 20 25 53 20 70 6f 73 74 2d 62 6c 61 6e 6b 3a 20 25 64 22 0a 20 20 ments.DBG].%S.post-blank:.%d"...
8de0 20 20 20 20 20 20 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 74 ......;;..........(org-element-t
8e00 79 70 65 20 65 6c 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 ype.el).........;;..........(org
8e20 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 70 6f 73 74 2d 62 6c 61 6e 6b 20 65 6c -element-property.:post-blank.el
8e40 29 29 0a 20 20 20 20 20 20 20 20 29 29 29 0a 20 20 3b 3b 20 52 65 74 75 72 6e 20 75 70 64 61 74 )).........)))...;;.Return.updat
8e60 65 64 20 74 72 65 65 2e 0a 20 20 74 72 65 65 29 0a 0a 0a 0c 0a 3b 3b 3b 20 54 72 61 6e 73 63 6f ed.tree....tree).....;;;.Transco
8e80 64 65 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 3b 3b 20 43 65 6e 74 65 72 20 42 6c 6f 63 6b 0a de.Functions..;;;;.Center.Block.
8ea0 28 64 65 66 75 6e 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 (defun.org-blackfriday-center-bl
8ec0 6f 63 6b 20 28 5f 63 65 6e 74 65 72 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f ock.(_center-block.contents.info
8ee0 29 0a 20 20 22 43 65 6e 74 65 72 2d 61 6c 69 67 6e 20 74 68 65 20 74 65 78 74 20 69 6e 20 43 4f )..."Center-align.the.text.in.CO
8f00 4e 54 45 4e 54 53 20 75 73 69 6e 67 20 43 53 53 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 NTENTS.using.CSS...INFO.is.a.pli
8f20 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
8f40 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 63 6c 61 73 73 20 22 6f 72 67 2d 63 65 6e 74 65 72 el."...(let*.((class."org-center
8f60 22 29 0a 20 20 20 20 20 20 20 20 20 28 73 74 79 6c 65 20 28 66 6f 72 6d 61 74 20 22 2e 25 73 20 ")..........(style.(format.".%s.
8f80 7b 20 6d 61 72 67 69 6e 2d 6c 65 66 74 3a 20 61 75 74 6f 3b 20 6d 61 72 67 69 6e 2d 72 69 67 68 {.margin-left:.auto;.margin-righ
8fa0 74 3a 20 61 75 74 6f 3b 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74 65 72 3b 20 7d 22 20 t:.auto;.text-align:.center;.}".
8fc0 63 6c 61 73 73 29 29 29 0a 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 73 74 79 6c 65 3e 25 73 3c class))).....(format."<style>%s<
8fe0 2f 73 74 79 6c 65 3e 5c 6e 5c 6e 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 25 73 5c 22 3e 25 73 5c /style>\n\n<div.class=\"%s\">%s\
9000 6e 5c 6e 25 73 5c 6e 3c 2f 64 69 76 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 n\n%s\n</div>".............style
9020 20 63 6c 61 73 73 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 65 78 74 72 61 2d 64 .class.(org-blackfriday--extra-d
9040 69 76 2d 68 61 63 6b 20 69 6e 66 6f 29 20 63 6f 6e 74 65 6e 74 73 29 29 29 0a 0a 3b 3b 3b 3b 20 iv-hack.info).contents)))..;;;;.
9060 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 62 6c 61 63 6b 66 72 Example.Block.(defun.org-blackfr
9080 69 64 61 79 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 iday-example-block.(example-bloc
90a0 6b 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 20 61 k._contents.info)..."Transcode.a
90c0 6e 20 45 58 41 4d 50 4c 45 2d 42 4c 4f 43 4b 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 n.EXAMPLE-BLOCK.element.into.Bla
90e0 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 4e 54 45 4e ckfriday.Markdown.format..CONTEN
9100 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 6c 64 TS.is.nil...INFO.is.a.plist.hold
9120 69 6e 67 20 63 6f 6e 74 65 78 74 75 61 6c 0a 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 ing.contextual.information."...(
9140 6c 65 74 2a 20 28 28 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 let*.((parent-element.(org-expor
9160 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 t-get-parent.example-block))....
9180 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 74 79 70 65 20 28 63 61 72 20 70 61 72 65 6e 74 2d 65 ......(parent-type.(car.parent-e
91a0 6c 65 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 61 63 6b 74 69 63 6b 73 20 28 6d 61 lement))..........(backticks.(ma
91c0 6b 65 2d 73 74 72 69 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 ke-string.org-blackfriday--code-
91e0 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 3f 60 29 29 0a 20 20 20 20 20 20 20 block-num-backticks.?`))........
9200 20 20 28 65 78 61 6d 70 6c 65 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a ..(example.(or.(plist-get.info.:
9220 6d 64 2d 63 6f 64 65 29 20 3b 69 66 20 73 65 74 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 md-code).;if.set.in.`org-hugo-ex
9240 61 6d 70 6c 65 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 ample-block'....................
9260 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 75 ...(org-export-format-code-defau
9280 6c 74 20 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 lt.example-block.info)))........
92a0 20 20 28 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 ..(code-attr.(if.(plist-get.info
92c0 20 3a 6d 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 .:md-code-attr).;if.set.in.`org-
92e0 68 75 67 6f 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 hugo-example-block'.............
9300 20 20 20 20 20 20 20 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 ............(format.".{.%s.}".(p
9320 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 29 0a 20 20 list-get.info.:md-code-attr))...
9340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 ....................""))........
9360 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 20 65 ..ret).....;;.(message."[ox-bf.e
9380 78 61 6d 70 6c 65 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 xample-block.DBG].parent.type:.%
93a0 53 22 20 70 61 72 65 6e 74 2d 74 79 70 65 29 0a 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f S".parent-type).....(setq.ret.(o
93c0 72 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 rg-blackfriday--issue-239-workar
93e0 6f 75 6e 64 20 65 78 61 6d 70 6c 65 20 70 61 72 65 6e 74 2d 74 79 70 65 29 29 0a 20 20 20 20 28 ound.example.parent-type)).....(
9400 73 65 74 71 20 72 65 74 20 28 66 6f 72 6d 61 74 20 22 25 73 74 65 78 74 25 73 5c 6e 25 73 25 73 setq.ret.(format."%stext%s\n%s%s
9420 22 20 62 61 63 6b 74 69 63 6b 73 20 63 6f 64 65 2d 61 74 74 72 20 72 65 74 20 62 61 63 6b 74 69 ".backticks.code-attr.ret.backti
9440 63 6b 73 29 29 0a 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 cks)).....(setq.ret.(org-blackfr
9460 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 20 65 78 61 6d 70 6c 65 2d 62 6c 6f iday--div-wrap-maybe.example-blo
9480 63 6b 20 72 65 74 20 69 6e 66 6f 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 27 ck.ret.info)).....(when.(equal.'
94a0 71 75 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 3b quote-block.parent-type).......;
94c0 3b 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b 20 69 ;.If.the.current.example.block.i
94e0 73 20 69 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 s.inside.a.quote.block,.future..
9500 20 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 .....;;.example/code.blocks.(esp
9520 65 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 ecially.the.ones.outside.this.qu
9540 6f 74 65 0a 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 65 ote.......;;.block).will.require
9560 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 6f .higher.number.of.backticks...Wo
9580 72 6b 61 72 6f 75 6e 64 0a 20 20 20 20 20 20 3b 3b 20 66 6f 72 20 68 74 74 70 73 3a 2f 2f 67 69 rkaround.......;;.for.https://gi
95a0 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 69 73 thub.com/russross/blackfriday/is
95c0 73 75 65 73 2f 34 30 37 2e 0a 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 62 6c 61 63 6b 66 sues/407........(setq.org-blackf
95e0 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 0a riday--code-block-num-backticks.
9600 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 72 69 64 61 79 2d ............(1+.org-blackfriday-
9620 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 29 29 0a 20 20 20 -code-block-num-backticks)))....
9640 20 3b 3b 20 52 65 73 65 74 20 74 68 65 20 74 65 6d 70 20 69 6e 66 6f 20 69 6e 20 74 68 65 20 60 .;;.Reset.the.temp.info.in.the.`
9660 69 6e 66 6f 27 20 70 6c 69 73 74 2e 0a 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f info'.plist......(plist-put.info
9680 20 3a 6d 64 2d 63 6f 64 65 20 6e 69 6c 29 0a 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e .:md-code.nil).....(plist-put.in
96a0 66 6f 20 3a 6d 64 2d 63 6f 64 65 2d 61 74 74 72 20 6e 69 6c 29 0a 20 20 20 20 72 65 74 29 29 0a fo.:md-code-attr.nil).....ret)).
96c0 0a 3b 3b 3b 3b 20 46 69 78 65 64 20 57 69 64 74 68 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 .;;;;.Fixed.Width.(defun.org-bla
96e0 63 6b 66 72 69 64 61 79 2d 66 69 78 65 64 2d 77 69 64 74 68 20 28 66 69 78 65 64 2d 77 69 64 74 ckfriday-fixed-width.(fixed-widt
9700 68 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 20 61 h._contents.info)..."Transcode.a
9720 20 46 49 58 45 44 2d 57 49 44 54 48 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 .FIXED-WIDTH.element.into.Blackf
9740 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 53 20 riday.Markdown.format..CONTENTS.
9760 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 67 is.nil...INFO.is.a.plist.holding
9780 20 63 6f 6e 74 65 78 74 75 61 6c 0a 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 28 6c 65 74 .contextual.information."...(let
97a0 2a 20 28 28 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 *.((parent-element.(org-export-g
97c0 65 74 2d 70 61 72 65 6e 74 20 66 69 78 65 64 2d 77 69 64 74 68 29 29 0a 20 20 20 20 20 20 20 20 et-parent.fixed-width)).........
97e0 20 28 70 61 72 65 6e 74 2d 74 79 70 65 20 28 63 61 72 20 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e .(parent-type.(car.parent-elemen
9800 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 61 63 6b 74 69 63 6b 73 20 28 6d 61 6b 65 2d 73 74 t))..........(backticks.(make-st
9820 72 69 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 ring.org-blackfriday--code-block
9840 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 3f 60 29 29 29 0a 20 20 20 20 28 70 72 6f 67 31 0a -num-backticks.?`))).....(prog1.
9860 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 2d 77 72 ........(org-blackfriday--div-wr
9880 61 70 2d 6d 61 79 62 65 0a 20 20 20 20 20 20 20 20 20 66 69 78 65 64 2d 77 69 64 74 68 0a 20 20 ap-maybe..........fixed-width...
98a0 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 74 65 78 74 5c 6e 25 73 25 73 22 0a 20 20 .......(format."%stext\n%s%s"...
98c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 61 63 6b 74 69 63 6b 73 0a 20 20 20 20 20 20 20 ...............backticks........
98e0 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6f 72 67 2d 73 72 63 2d 70 72 65 73 65 72 76 ..........(let.((org-src-preserv
9900 65 2d 69 6e 64 65 6e 74 61 74 69 6f 6e 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e-indentation.t))...............
9920 20 20 20 20 20 3b 3b 20 50 72 65 73 65 72 76 65 20 6c 65 61 64 69 6e 67 20 77 68 69 74 65 73 70 .....;;.Preserve.leading.whitesp
9940 61 63 65 20 69 6e 20 74 68 65 20 4f 72 67 20 42 61 62 65 6c 20 52 65 73 75 6c 74 73 0a 20 20 20 ace.in.the.Org.Babel.Results....
9960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 6c 6f 63 6b 73 2e 0a 20 20 20 20 20 ................;;.blocks.......
9980 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 6f 72 6d 61 74 ..............(org-export-format
99a0 2d 63 6f 64 65 2d 64 65 66 61 75 6c 74 20 66 69 78 65 64 2d 77 69 64 74 68 20 69 6e 66 6f 29 29 -code-default.fixed-width.info))
99c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 61 63 6b 74 69 63 6b 73 29 0a 20 20 20 ..................backticks)....
99e0 20 20 20 20 20 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 27 ......info).......(when.(equal.'
9a00 71 75 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 quote-block.parent-type)........
9a20 20 3b 3b 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 65 78 61 6d 70 6c 65 20 62 6c 6f 63 6b .;;.If.the.current.example.block
9a40 20 69 73 20 69 6e 73 69 64 65 20 61 20 71 75 6f 74 65 20 62 6c 6f 63 6b 2c 0a 20 20 20 20 20 20 .is.inside.a.quote.block,.......
9a60 20 20 3b 3b 20 66 75 74 75 72 65 20 65 78 61 6d 70 6c 65 2f 63 6f 64 65 20 62 6c 6f 63 6b 73 20 ..;;.future.example/code.blocks.
9a80 28 65 73 70 65 63 69 61 6c 6c 79 20 74 68 65 20 6f 6e 65 73 20 6f 75 74 73 69 64 65 0a 20 20 20 (especially.the.ones.outside....
9aa0 20 20 20 20 20 3b 3b 20 74 68 69 73 20 71 75 6f 74 65 20 62 6c 6f 63 6b 29 20 77 69 6c 6c 20 72 .....;;.this.quote.block).will.r
9ac0 65 71 75 69 72 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 equire.higher.number.of.backtick
9ae0 73 2e 0a 20 20 20 20 20 20 20 20 3b 3b 20 57 6f 72 6b 61 72 6f 75 6e 64 20 66 6f 72 0a 20 20 20 s..........;;.Workaround.for....
9b00 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 72 75 73 73 72 .....;;.https://github.com/russr
9b20 6f 73 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 oss/blackfriday/issues/407......
9b40 20 20 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 ....(setq.org-blackfriday--code-
9b60 62 6c 6f 63 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 block-num-backticks.............
9b80 20 20 28 31 2b 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 ..(1+.org-blackfriday--code-bloc
9ba0 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 46 6f 6f 74 k-num-backticks))))))..;;;;.Foot
9bc0 6e 6f 74 65 20 52 65 66 65 72 65 6e 63 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 note.Reference.(defun.org-blackf
9be0 72 69 64 61 79 2d 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 20 28 66 6f 6f 74 6e 6f riday-footnote-reference.(footno
9c00 74 65 2d 72 65 66 65 72 65 6e 63 65 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 te-reference._contents.info)..."
9c20 54 72 61 6e 73 63 6f 64 65 20 61 20 46 4f 4f 54 4e 4f 54 45 2d 52 45 46 45 52 45 4e 43 45 20 65 Transcode.a.FOOTNOTE-REFERENCE.e
9c40 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 6e lement.into.Blackfriday.Markdown
9c60 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 20 .format..CONTENTS.is.nil...INFO.
9c80 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
9ca0 66 6f 72 6d 61 74 69 6f 6e 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 66 6f 6f 74 72 formation."...;;.(message."footr
9cc0 65 66 3a 20 25 73 22 20 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 29 0a 20 20 28 63 ef:.%s".footnote-reference)...(c
9ce0 6f 6e 63 61 74 0a 20 20 20 3b 3b 20 49 6e 73 65 72 74 20 73 65 70 61 72 61 74 6f 72 20 62 65 74 oncat....;;.Insert.separator.bet
9d00 77 65 65 6e 20 74 77 6f 20 66 6f 6f 74 6e 6f 74 65 73 20 69 6e 20 61 20 72 6f 77 2e 0a 20 20 20 ween.two.footnotes.in.a.row.....
9d20 28 6c 65 74 20 28 28 70 72 65 76 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 72 65 76 (let.((prev.(org-export-get-prev
9d40 69 6f 75 73 2d 65 6c 65 6d 65 6e 74 20 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 65 20 ious-element.footnote-reference.
9d60 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 28 61 6e 64 20 28 65 71 20 28 6f 72 67 2d 65 6c 65 6d 65 info)))......(and.(eq.(org-eleme
9d80 6e 74 2d 74 79 70 65 20 70 72 65 76 29 20 27 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 nt-type.prev).'footnote-referenc
9da0 65 29 0a 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 74 e)...........(plist-get.info.:ht
9dc0 6d 6c 2d 66 6f 6f 74 6e 6f 74 65 2d 73 65 70 61 72 61 74 6f 72 29 29 29 0a 20 20 20 28 66 6f 72 ml-footnote-separator)))....(for
9de0 6d 61 74 20 22 5b 5e 66 6e 3a 25 64 5d 22 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 66 mat."[^fn:%d]".(org-export-get-f
9e00 6f 6f 74 6e 6f 74 65 2d 6e 75 6d 62 65 72 20 66 6f 6f 74 6e 6f 74 65 2d 72 65 66 65 72 65 6e 63 ootnote-number.footnote-referenc
9e20 65 20 69 6e 66 6f 29 29 29 29 0a 0a 3b 3b 3b 3b 20 49 6e 6e 65 72 20 54 65 6d 70 6c 61 74 65 0a e.info))))..;;;;.Inner.Template.
9e40 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 6e 6e 65 72 2d 74 65 6d (defun.org-blackfriday-inner-tem
9e60 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 75 72 6e 20 plate.(contents.info)..."Return.
9e80 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 72 74 69 6e body.of.document.after.convertin
9ea0 67 20 69 74 20 74 6f 20 4d 61 72 6b 64 6f 77 6e 20 73 79 6e 74 61 78 2e 0a 43 4f 4e 54 45 4e 54 g.it.to.Markdown.syntax..CONTENT
9ec0 53 20 69 73 20 74 68 65 20 74 72 61 6e 73 63 6f 64 65 64 20 63 6f 6e 74 65 6e 74 73 20 73 74 72 S.is.the.transcoded.contents.str
9ee0 69 6e 67 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 65 78 ing...INFO.is.a.plist.holding.ex
9f00 70 6f 72 74 20 6f 70 74 69 6f 6e 73 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 64 65 70 74 68 20 28 port.options."...(let*.((depth.(
9f20 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 6f 63 29 29 0a 20 20 20 20 20 plist-get.info.:with-toc))......
9f40 20 20 20 20 28 68 65 61 64 69 6e 67 73 20 28 61 6e 64 20 64 65 70 74 68 20 28 6f 72 67 2d 65 78 ....(headings.(and.depth.(org-ex
9f60 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 66 6f 20 64 65 70 74 port-collect-headlines.info.dept
9f80 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 74 61 69 6c 20 28 69 66 20 68 65 61 64 h)))..........(toc-tail.(if.head
9fa0 69 6e 67 73 20 22 5c 6e 5c 6e 22 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 73 ings."\n\n".""))..........(toc-s
9fc0 74 72 69 6e 67 20 22 22 29 29 0a 0a 20 20 20 20 28 77 68 65 6e 20 68 65 61 64 69 6e 67 73 0a 20 tring.""))......(when.headings..
9fe0 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 68 65 61 64 69 6e 67 20 68 65 61 64 69 6e 67 73 29 0a .....(dolist.(heading.headings).
a000 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 6f 63 2d 73 74 72 69 6e 67 20 28 63 6f 6e 63 61 74 ........(setq.toc-string.(concat
a020 20 74 6f 63 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 .toc-string.....................
a040 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 66 6f .............(org-blackfriday-fo
a060 72 6d 61 74 2d 74 6f 63 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 rmat-toc.heading.info)..........
a080 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 29 ........................"\n"))))
a0a0 0a 20 20 20 20 28 63 6f 6e 63 61 74 20 74 6f 63 2d 73 74 72 69 6e 67 20 74 6f 63 2d 74 61 69 6c .....(concat.toc-string.toc-tail
a0c0 20 63 6f 6e 74 65 6e 74 73 20 22 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d .contents."\n".............(org-
a0e0 62 6c 61 63 6b 66 72 69 64 61 79 2d 66 6f 6f 74 6e 6f 74 65 2d 73 65 63 74 69 6f 6e 20 69 6e 66 blackfriday-footnote-section.inf
a100 6f 29 29 29 29 0a 0a 3b 3b 3b 3b 20 49 74 61 6c 69 63 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c o))))..;;;;.Italic.(defun.org-bl
a120 61 63 6b 66 72 69 64 61 79 2d 69 74 61 6c 69 63 20 28 5f 69 74 61 6c 69 63 20 63 6f 6e 74 65 6e ackfriday-italic.(_italic.conten
a140 74 73 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 49 54 41 4c 49 43 20 6f 62 ts._info)..."Transcode.ITALIC.ob
a160 6a 65 63 74 20 69 6e 74 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 43 4f 4e 54 45 ject.into.Markdown.format..CONTE
a180 4e 54 53 20 69 73 20 74 68 65 20 74 65 78 74 20 77 69 74 68 69 6e 20 69 74 61 6c 69 63 20 6d 61 NTS.is.the.text.within.italic.ma
a1a0 72 6b 75 70 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 0a 61 73 20 61 rkup...INFO.is.a.plist.used.as.a
a1c0 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 66 .communication.channel."...;;.(f
a1e0 6f 72 6d 61 74 20 22 2a 25 73 2a 22 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 3b 3b 20 57 68 69 6c ormat."*%s*".contents)...;;.Whil
a200 65 20 61 62 6f 76 65 20 61 6c 73 6f 20 77 6f 72 6b 73 20 69 6e 20 61 6c 6d 6f 73 74 20 61 6c 6c e.above.also.works.in.almost.all
a220 20 63 61 73 65 73 2c 20 69 74 20 66 61 69 6c 73 20 69 6e 20 63 61 73 65 73 0a 20 20 3b 3b 20 6c .cases,.it.fails.in.cases...;;.l
a240 69 6b 65 20 22 2a 54 68 69 73 20 69 73 20 69 6e 20 69 74 61 6c 69 63 2c 20 2a 2a 61 6e 64 20 74 ike."*This.is.in.italic,.**and.t
a260 68 69 73 20 69 73 20 69 6e 20 62 6f 6c 64 2d 69 74 61 6c 69 63 73 2a 2a 2c 20 61 6e 64 0a 20 20 his.is.in.bold-italics**,.and...
a280 3b 3b 20 62 61 63 6b 20 74 6f 20 6a 75 73 74 20 69 74 61 6c 69 63 2e 2a 22 2e 0a 20 20 3b 3b 20 ;;.back.to.just.italic.*"....;;.
a2a0 41 73 20 60 6f 72 67 2d 6d 64 2d 62 6f 6c 64 27 20 75 73 65 73 20 2a 2a 20 74 6f 20 6d 61 72 6b As.`org-md-bold'.uses.**.to.mark
a2c0 20 62 6f 6c 64 20 74 65 78 74 2c 20 73 77 69 74 63 68 69 6e 67 20 74 6f 20 75 73 69 6e 67 0a 20 .bold.text,.switching.to.using..
a2e0 20 3b 3b 20 75 6e 64 65 72 73 63 6f 72 65 73 20 6f 6e 6c 79 20 66 6f 72 20 69 74 61 6c 69 63 73 .;;.underscores.only.for.italics
a300 2e 0a 20 20 28 66 6f 72 6d 61 74 20 22 5f 25 73 5f 22 20 63 6f 6e 74 65 6e 74 73 29 29 0a 0a 3b ....(format."_%s_".contents))..;
a320 3b 3b 3b 20 49 74 65 6d 20 28 6c 69 73 74 20 69 74 65 6d 29 0a 28 64 65 66 75 6e 20 6f 72 67 2d ;;;.Item.(list.item).(defun.org-
a340 62 6c 61 63 6b 66 72 69 64 61 79 2d 69 74 65 6d 20 28 69 74 65 6d 20 63 6f 6e 74 65 6e 74 73 20 blackfriday-item.(item.contents.
a360 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 6e 20 49 54 45 4d 20 65 6c 65 6d 65 info)..."Transcode.an.ITEM.eleme
a380 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 6f 72 nt.into.Blackfriday.Markdown.for
a3a0 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 68 6f 6c 64 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 mat..CONTENTS.holds.the.contents
a3c0 20 6f 66 20 74 68 65 20 69 74 65 6d 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 68 .of.the.item...INFO.is.a.plist.h
a3e0 6f 6c 64 69 6e 67 0a 63 6f 6e 74 65 78 74 75 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a olding.contextual.information...
a400 53 70 65 63 69 61 6c 20 6e 6f 74 65 20 61 62 6f 75 74 20 64 65 73 63 72 69 70 74 69 76 65 20 6c Special.note.about.descriptive.l
a420 69 73 74 73 3a 0a 0a 42 6c 61 63 6b 66 72 69 64 61 79 20 73 74 79 6c 65 20 64 65 73 63 72 69 70 ists:..Blackfriday.style.descrip
a440 74 69 76 65 20 6c 69 73 74 20 73 79 6e 74 61 78 20 69 73 20 75 73 65 64 20 69 66 20 74 68 61 74 tive.list.syntax.is.used.if.that
a460 20 6c 69 73 74 20 69 73 0a 6e 6f 74 20 6e 65 73 74 65 64 20 69 6e 20 61 6e 6f 74 68 65 72 20 6c .list.is.not.nested.in.another.l
a480 69 73 74 2e 0a 0a 20 20 20 20 54 65 72 6d 31 0a 20 20 20 20 3a 20 44 65 73 63 72 69 70 74 69 6f ist.......Term1.....:.Descriptio
a4a0 6e 20 6f 66 20 74 65 72 6d 20 31 0a 0a 49 66 20 74 68 61 74 20 6c 69 73 74 20 69 73 20 6e 65 73 n.of.term.1..If.that.list.is.nes
a4c0 74 65 64 2c 20 60 6f 78 2d 6d 64 27 20 73 74 79 6c 65 20 64 65 73 63 72 69 70 74 69 76 65 20 6c ted,.`ox-md'.style.descriptive.l
a4e0 69 73 74 20 69 73 0a 65 78 70 6f 72 74 65 64 20 69 6e 73 74 65 61 64 3a 0a 0a 20 20 20 20 2d 20 ist.is.exported.instead:......-.
a500 20 20 2a 2a 54 65 72 6d 31 3a 2a 2a 20 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 65 72 6d ..**Term1:**.Description.of.term
a520 20 31 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 61 72 65 6e 74 2d 6c 69 73 74 20 28 6f 72 67 2d 65 .1."...(let.((parent-list.(org-e
a540 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 69 74 65 6d 29 29 29 0a 20 20 20 20 3b 3b 20 xport-get-parent.item))).....;;.
a560 49 66 20 74 68 69 73 20 69 74 65 6d 20 69 73 20 69 6e 20 61 6e 20 6f 72 64 65 72 65 64 20 6c 69 If.this.item.is.in.an.ordered.li
a580 73 74 20 61 6e 64 20 69 66 20 74 68 69 73 20 6f 72 20 61 6e 79 20 6f 74 68 65 72 0a 20 20 20 20 st.and.if.this.or.any.other.....
a5a0 3b 3b 20 69 74 65 6d 20 69 6e 20 74 68 69 73 20 6c 69 73 74 20 69 73 20 75 73 69 6e 67 20 61 20 ;;.item.in.this.list.is.using.a.
a5c0 63 75 73 74 6f 6d 20 63 6f 75 6e 74 65 72 2c 20 65 78 70 6f 72 74 20 74 68 69 73 20 6c 69 73 74 custom.counter,.export.this.list
a5e0 0a 20 20 20 20 3b 3b 20 69 74 65 6d 20 69 6e 20 48 54 4d 4c 2e 0a 20 20 20 20 28 69 66 20 28 6f .....;;.item.in.HTML......(if.(o
a600 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 65 64 2d 6c rg-blackfriday--export-ordered-l
a620 69 73 74 2d 61 73 2d 68 74 6d 6c 2d 70 20 70 61 72 65 6e 74 2d 6c 69 73 74 29 0a 20 20 20 20 20 ist-as-html-p.parent-list)......
a640 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 66 6f 72 6d 61 74 2d 6c 69 73 74 2d 69 74 65 6d 20 63 6f ...(org-html-format-list-item.co
a660 6e 74 65 6e 74 73 20 27 6f 72 64 65 72 65 64 20 6e 69 6c 20 69 6e 66 6f 0a 20 20 20 20 20 20 20 ntents.'ordered.nil.info........
a680 20 20 20 20 20 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
a6a0 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 63 6f 75 6e 74 65 72 20 69 74 65 6d 29 -element-property.:counter.item)
a6c0 29 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 61 72 65 6e 74 2d 6c 69 73 74 20 28 6f 72 67 ).......(let*.((parent-list.(org
a6e0 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 69 74 65 6d 29 29 0a 20 20 20 20 20 20 -export-get-parent.item)).......
a700 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 6c 69 73 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c .......(parent-list-type.(org-el
a720 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 70 61 72 65 6e 74 2d 6c 69 73 74 ement-property.:type.parent-list
a740 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 73 63 2d 6c 69 73 74 3f 20 28 65 71 20 ))..............(desc-list?.(eq.
a760 70 61 72 65 6e 74 2d 6c 69 73 74 2d 74 79 70 65 20 27 64 65 73 63 72 69 70 74 69 76 65 29 29 0a parent-list-type.'descriptive)).
a780 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 72 61 6e 64 70 61 72 65 6e 74 20 28 77 68 65 6e 20 .............(grandparent.(when.
a7a0 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 20 20 desc-list?......................
a7c0 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 70 61 .......(org-export-get-parent.pa
a7e0 72 65 6e 74 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 72 61 6e 64 rent-list)))..............(grand
a800 70 61 72 65 6e 74 2d 74 79 70 65 20 28 77 68 65 6e 20 64 65 73 63 2d 6c 69 73 74 3f 0a 20 20 20 parent-type.(when.desc-list?....
a820 20 20 20 20 20 20 20 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
a840 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 67 72 61 6e 64 70 61 72 65 6e 74 29 29 29 0a 20 rg-element-type.grandparent)))..
a860 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 73 74 2d 69 73 2d 6e 65 73 74 65 64 20 28 65 71 20 ............(list-is-nested.(eq.
a880 27 69 74 65 6d 20 67 72 61 6e 64 70 61 72 65 6e 74 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 'item.grandparent-type))........
a8a0 20 20 20 20 20 20 3b 3b 20 45 78 70 6f 72 74 20 74 68 65 20 64 65 73 63 72 69 70 74 69 76 65 20 ......;;.Export.the.descriptive.
a8c0 6c 69 73 74 20 69 74 65 6d 73 20 6c 69 6b 65 20 74 68 61 74 20 69 6e 0a 20 20 20 20 20 20 20 20 list.items.like.that.in.........
a8e0 20 20 20 20 20 3b 3b 20 6f 78 2d 6d 64 2e 65 6c 20 69 66 20 74 68 69 73 20 64 65 73 63 72 69 70 .....;;.ox-md.el.if.this.descrip
a900 74 69 76 65 20 6c 69 73 74 20 69 73 20 6e 65 73 74 65 64 20 69 6e 20 73 6f 6d 65 0a 20 20 20 20 tive.list.is.nested.in.some.....
a920 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 74 68 65 72 20 6c 69 73 74 2c 20 62 65 63 61 75 73 65 20 .........;;.other.list,.because.
a940 74 68 65 20 42 6c 61 63 6b 66 72 69 64 61 79 20 73 74 79 6c 65 20 64 65 73 63 72 69 70 74 69 76 the.Blackfriday.style.descriptiv
a960 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 73 74 20 73 79 6e 74 61 78 20 73 65 e..............;;.list.syntax.se
a980 65 6d 73 20 74 6f 20 77 6f 72 6b 20 6f 6e 6c 79 20 61 74 20 74 6f 70 20 6c 65 76 65 6c 20 28 69 ems.to.work.only.at.top.level.(i
a9a0 2e 65 2e 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 77 68 65 6e 20 74 68 61 .e..not..............;;.when.tha
a9c0 74 20 6c 69 73 74 20 69 73 20 6e 65 73 74 65 64 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 t.list.is.nested)...............
a9e0 28 6f 78 2d 6d 64 2d 73 74 79 6c 65 2d 64 65 73 63 2d 6c 69 73 74 20 28 61 6e 64 20 64 65 73 63 (ox-md-style-desc-list.(and.desc
aa00 2d 6c 69 73 74 3f 20 6c 69 73 74 2d 69 73 2d 6e 65 73 74 65 64 29 29 0a 20 20 20 20 20 20 20 20 -list?.list-is-nested)).........
aa20 20 20 20 20 20 28 62 66 2d 73 74 79 6c 65 2d 64 65 73 63 2d 6c 69 73 74 20 28 61 6e 64 20 64 65 .....(bf-style-desc-list.(and.de
aa40 73 63 2d 6c 69 73 74 3f 20 28 6e 6f 74 20 6c 69 73 74 2d 69 73 2d 6e 65 73 74 65 64 29 29 29 0a sc-list?.(not.list-is-nested))).
aa60 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 75 63 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e .............(struct.(org-elemen
aa80 74 2d 70 72 6f 70 65 72 74 79 20 3a 73 74 72 75 63 74 75 72 65 20 69 74 65 6d 29 29 0a 20 20 20 t-property.:structure.item))....
aaa0 20 20 20 20 20 20 20 20 20 20 28 69 74 65 6d 2d 6e 75 6d 20 28 63 61 72 20 28 6c 61 73 74 20 28 ..........(item-num.(car.(last.(
aac0 6f 72 67 2d 6c 69 73 74 2d 67 65 74 2d 69 74 65 6d 2d 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 org-list-get-item-number........
aae0 20 20 20 20 20 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
ab00 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 69 74 65 6d 29 0a 20 -element-property.:begin.item)..
ab20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
ab40 20 20 73 74 72 75 63 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 ..struct........................
ab60 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6c 69 73 74 2d 70 72 65 76 73 2d 61 6c 69 73 ............(org-list-prevs-alis
ab80 74 20 73 74 72 75 63 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 t.struct).......................
aba0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6c 69 73 74 2d 70 61 72 65 6e 74 73 2d 61 .............(org-list-parents-a
abc0 6c 69 73 74 20 73 74 72 75 63 74 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 list.struct)))))..............(b
abe0 75 6c 6c 65 74 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 ullet.(cond.....................
ac00 20 20 28 28 6f 72 20 28 65 71 20 70 61 72 65 6e 74 2d 6c 69 73 74 2d 74 79 70 65 20 27 75 6e 6f ..((or.(eq.parent-list-type.'uno
ac20 72 64 65 72 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rdered).........................
ac40 20 20 20 6f 78 2d 6d 64 2d 73 74 79 6c 65 2d 64 65 73 63 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 ...ox-md-style-desc-list).......
ac60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2d 22 29 0a 20 20 20 20 20 20 20 20 20 20 ................."-")...........
ac80 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 71 20 70 61 72 65 6e 74 2d 6c 69 73 74 2d 74 79 70 ............((eq.parent-list-typ
aca0 65 20 27 6f 72 64 65 72 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e.'ordered).....................
acc0 20 20 20 28 66 6f 72 6d 61 74 20 22 25 64 2e 20 22 20 69 74 65 6d 2d 6e 75 6d 29 29 0a 20 20 20 ...(format."%d..".item-num))....
ace0 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 20 20 ...................(t...........
ad00 20 20 3b 4e 6f 6e 2d 6e 65 73 74 65 64 20 64 65 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 20 69 ..;Non-nested.descriptive.list.i
ad20 74 65 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 28 77 68 65 6e tem........................(when
ad40 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 20 20 20 20 20 20 .(>.item-num.1).................
ad60 20 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 29 29 20 3b 4e 65 77 6c 69 6e 65 20 62 65 74 77 65 ........."\n")))).;Newline.betwe
ad80 65 6e 20 65 61 63 68 20 64 65 73 63 72 69 70 74 69 76 65 20 6c 69 73 74 20 69 74 65 6d 0a 20 20 en.each.descriptive.list.item...
ada0 20 20 20 20 20 20 20 20 20 20 20 28 70 61 64 64 69 6e 67 20 28 77 68 65 6e 20 28 61 6e 64 20 28 ...........(padding.(when.(and.(
adc0 6e 6f 74 20 62 66 2d 73 74 79 6c 65 2d 64 65 73 63 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 not.bf-style-desc-list).........
ade0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3c 3d 20 28 6c 65 .........................(<=.(le
ae00 6e 67 74 68 20 62 75 6c 6c 65 74 29 20 33 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ngth.bullet).3))................
ae20 20 20 20 20 20 20 20 20 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2d 20 34 20 28 6c 65 6e 67 .........(make-string.(-.4.(leng
ae40 74 68 20 62 75 6c 6c 65 74 29 29 20 3f 20 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 th.bullet)).?.)))..............(
ae60 74 61 67 20 28 77 68 65 6e 20 64 65 73 63 2d 6c 69 73 74 3f 0a 20 20 20 20 20 20 20 20 20 20 20 tag.(when.desc-list?............
ae80 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 74 61 67 31 20 28 6f 72 67 2d 65 6c 65 6d 65 .........(let*.((tag1.(org-eleme
aea0 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 61 67 20 69 74 65 6d 29 29 0a 20 20 20 20 20 20 20 20 nt-property.:tag.item)).........
aec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 67 31 2d 73 74 72 20 28 6f 72 ...................(tag1-str.(or
aee0 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 20 74 61 67 31 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 g-export-data.tag1.info)))......
af00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 74 61 67 31 0a 20 20 20 20 .................(when.tag1.....
af20 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 78 2d 6d 64 2d 73 74 ....................(if.ox-md-st
af40 79 6c 65 2d 64 65 73 63 2d 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 yle-desc-list...................
af60 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 2a 2a 25 73 3a 2a 2a 20 22 20 74 61 67 ..........(format."**%s:**.".tag
af80 31 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 1-str)..........................
afa0 20 28 66 6f 72 6d 61 74 20 22 25 73 5c 6e 3a 20 22 20 74 61 67 31 2d 73 74 72 29 29 29 29 29 29 .(format."%s\n:.".tag1-str))))))
afc0 29 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 62 75 6c 6c 65 74 0a 20 20 20 20 20 20 20 ).........(concat.bullet........
afe0 20 20 20 20 20 20 20 20 20 70 61 64 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........padding................
b000 20 28 70 63 61 73 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 63 .(pcase.(org-element-property.:c
b020 68 65 63 6b 62 6f 78 20 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 heckbox.item)...................
b040 28 60 6f 6e 20 22 5b 58 5d 20 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 (`on."[X].")...................(
b060 60 74 72 61 6e 73 20 22 5b 2d 5d 20 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 `trans."[-].")..................
b080 20 28 60 6f 66 66 20 22 5b 20 5d 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .(`off."[.].")).................
b0a0 74 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 63 6f 6e 74 65 6e 74 tag.................(and.content
b0c0 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 74 72 69 6d s......................(org-trim
b0e0 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 22 20 22 .(replace-regexp-in-string."^"."
b100 20 20 20 20 22 20 63 6f 6e 74 65 6e 74 73 29 29 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 4c 61 74 ....".contents))))))))..;;;;.Lat
b120 65 78 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 ex.Environment.(defun.org-blackf
b140 72 69 64 61 79 2d 2d 75 70 64 61 74 65 2d 6c 74 78 69 6d 67 2d 70 61 74 68 20 28 68 74 6d 6c 2d riday--update-ltximg-path.(html-
b160 73 74 72 29 0a 20 20 22 55 70 64 61 74 65 20 74 68 65 20 70 61 74 68 20 69 6e 20 48 54 4d 4c 2d str)..."Update.the.path.in.HTML-
b180 53 54 52 20 74 6f 20 6c 61 74 65 78 20 65 78 70 6f 72 74 65 64 20 69 6d 61 67 65 73 20 64 69 72 STR.to.latex.exported.images.dir
b1a0 65 63 74 6f 72 79 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 74 68 69 73 20 66 75 6e 63 74 ectory...For.example,.this.funct
b1c0 69 6f 6e 20 63 6f 6e 76 65 72 74 73 0a 0a 20 20 3c 69 6d 67 20 73 72 63 3d 5c 22 66 6f 6f 2f 62 ion.converts....<img.src=\"foo/b
b1e0 61 72 2f 78 79 7a 2e 73 76 67 5c 22 20 2e 2e 0a 0a 74 6f 0a 0a 20 20 3c 69 6d 67 20 73 72 63 3d ar/xyz.svg\".....to....<img.src=
b200 5c 22 2f 6c 74 78 69 6d 67 2f 78 79 7a 2e 73 76 67 5c 22 20 2e 2e 0a 0a 77 68 65 72 65 20 5c 22 \"/ltximg/xyz.svg\".....where.\"
b220 6c 74 78 69 6d 67 2f 5c 22 20 69 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 6f ltximg/\".is.the.default.value.o
b240 66 0a 60 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 f.`org-blackfriday--ltximg-direc
b260 74 6f 72 79 27 2e 0a 0a 52 65 74 75 72 6e 20 74 68 65 20 75 70 64 61 74 65 64 20 48 54 4d 4c 20 tory'...Return.the.updated.HTML.
b280 73 74 72 69 6e 67 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 20 68 74 6d 6c string."...;;.(message."dbg.html
b2a0 2d 73 74 72 3a 20 25 53 22 20 68 74 6d 6c 2d 73 74 72 29 0a 20 20 28 69 66 20 28 61 6e 64 20 28 -str:.%S".html-str)...(if.(and.(
b2c0 73 74 72 69 6e 67 70 20 68 74 6d 6c 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 stringp.html-str)............(st
b2e0 72 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 28 5c 5c 28 3f 3a 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 3f 3c ring-match."\\(\\(?:.\\|\n\\)*?<
b300 69 6d 67 20 73 72 63 3d 5c 22 5c 5c 29 5c 5c 28 5b 5e 5c 22 5d 2b 5c 5c 29 5c 5c 28 5c 22 5c 5c img.src=\"\\)\\([^\"]+\\)\\(\"\\
b320 28 3f 3a 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 5c 5c 29 22 20 68 74 6d 6c 2d 73 74 72 29 29 0a 20 20 20 (?:.\\|\n\\)*\\)".html-str))....
b340 20 20 20 28 6c 65 74 20 28 28 75 70 64 61 74 65 64 2d 69 6d 67 2d 70 61 74 68 20 28 66 6f 72 6d ...(let.((updated-img-path.(form
b360 61 74 20 22 2f 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 at."/%s%s"......................
b380 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
b3a0 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..............
b3c0 20 20 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
b3e0 61 6d 65 2d 6e 6f 6e 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-nondirectory................
b400 20 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 2d 73 ........................(match-s
b420 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 32 20 68 74 6d 6c 2d 73 74 72 29 29 tring-no-properties.2.html-str))
b440 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 64 62 67 20 75 70 64 ))).........;;.(message."dbg.upd
b460 61 74 65 64 2d 69 6d 67 2d 70 61 74 68 3a 20 25 53 22 20 75 70 64 61 74 65 64 2d 69 6d 67 2d 70 ated-img-path:.%S".updated-img-p
b480 61 74 68 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 ath).........;;.(message."dbg.ma
b4a0 74 63 68 20 31 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 tch.1:.%S".(match-string-no-prop
b4c0 65 72 74 69 65 73 20 31 20 68 74 6d 6c 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 erties.1.html-str)).........;;.(
b4e0 6d 65 73 73 61 67 65 20 22 64 62 67 20 6d 61 74 63 68 20 33 3a 20 25 53 22 20 28 6d 61 74 63 68 message."dbg.match.3:.%S".(match
b500 2d 73 74 72 69 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 -string-no-properties.3.html-str
b520 29 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 25 73 22 0a 20 20 20 20 )).........(format."%s%s%s".....
b540 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 6f ............(match-string-no-pro
b560 70 65 72 74 69 65 73 20 31 20 68 74 6d 6c 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 perties.1.html-str).............
b580 20 20 20 20 75 70 64 61 74 65 64 2d 69 6d 67 2d 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 ....updated-img-path............
b5a0 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 69 65 73 .....(match-string-no-properties
b5c0 20 33 20 68 74 6d 6c 2d 73 74 72 29 29 29 0a 20 20 20 20 68 74 6d 6c 2d 73 74 72 29 29 0a 0a 28 .3.html-str))).....html-str))..(
b5e0 64 65 66 75 6e 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 defun.org-blackfriday-latex-envi
b600 72 6f 6e 6d 65 6e 74 20 28 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 5f 63 6f 6e 74 ronment.(latex-environment._cont
b620 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 4c 41 54 45 58 2d ents.info)..."Transcode.a.LATEX-
b640 45 4e 56 49 52 4f 4e 4d 45 4e 54 20 6f 62 6a 65 63 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 ENVIRONMENT.object.into.Blackfri
b660 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 69 73 20 61 20 70 day.Markdown.format..INFO.is.a.p
b680 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 66 6f 72 6d 61 74 list.holding.contextual.informat
b6a0 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 74 79 70 65 20 28 ion."...(let.((processing-type.(
b6c0 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 29 29 29 0a 20 20 plist-get.info.:with-latex)))...
b6e0 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 70 72 6f 63 65 73 73 69 6e 67 ..;;.(message."[ox-bf-processing
b700 2d 74 79 70 65 20 44 42 47 5d 20 70 72 6f 63 65 73 73 69 6e 67 2d 74 79 70 65 3a 20 25 73 22 20 -type.DBG].processing-type:.%s".
b720 70 72 6f 63 65 73 73 69 6e 67 2d 74 79 70 65 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 processing-type).....(cond......
b740 28 28 6d 65 6d 71 20 70 72 6f 63 65 73 73 69 6e 67 2d 74 79 70 65 20 27 28 74 20 6d 61 74 68 6a ((memq.processing-type.'(t.mathj
b760 61 78 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6c 61 74 65 78 2d 65 6e 76 20 28 6f 72 ax)).......(let*.((latex-env.(or
b780 67 2d 72 65 6d 6f 76 65 2d 69 6e 64 65 6e 74 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 g-remove-indentation............
b7a0 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
b7c0 72 74 79 20 3a 76 61 6c 75 65 20 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 29 29 29 0a rty.:value.latex-environment))).
b7e0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6e 76 20 28 6f 72 67 2d 68 74 6d 6c 2d 66 6f 72 6d .............(env.(org-html-form
b800 61 74 2d 6c 61 74 65 78 20 6c 61 74 65 78 2d 65 6e 76 20 27 6d 61 74 68 6a 61 78 20 69 6e 66 6f at-latex.latex-env.'mathjax.info
b820 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6e 76 20 28 6f 72 67 2d 62 6c 61 63 6b 66 ))..............(env.(org-blackf
b840 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 20 65 riday-escape-chars-in-equation.e
b860 6e 76 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 78 2d 62 nv))).........;;.(message."[ox-b
b880 66 2d 6c 61 74 65 78 2d 65 6e 76 20 44 42 47 5d 20 6c 61 74 65 78 2d 65 6e 76 3a 20 25 73 22 20 f-latex-env.DBG].latex-env:.%s".
b8a0 6c 61 74 65 78 2d 65 6e 76 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 latex-env).........;;.(message."
b8c0 5b 6f 78 2d 62 66 2d 6c 61 74 65 78 2d 65 6e 76 20 44 42 47 5d 20 65 6e 76 3a 20 25 73 22 20 65 [ox-bf-latex-env.DBG].env:.%s".e
b8e0 6e 76 29 0a 20 20 20 20 20 20 20 20 65 6e 76 29 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 nv).........env))......(t.......
b900 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 67 2d (org-blackfriday--update-ltximg-
b920 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 65 6e 76 69 path........(org-html-latex-envi
b940 72 6f 6e 6d 65 6e 74 20 6c 61 74 65 78 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 6e 69 6c 20 69 6e ronment.latex-environment.nil.in
b960 66 6f 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 4c 61 74 65 78 20 46 72 61 67 6d 65 6e 74 0a 28 64 fo))))))..;;;;.Latex.Fragment.(d
b980 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 6c 61 74 65 78 2d 66 72 61 67 6d efun.org-blackfriday-latex-fragm
b9a0 65 6e 74 20 28 6c 61 74 65 78 2d 66 72 61 67 6d 65 6e 74 20 5f 63 6f 6e 74 65 6e 74 73 20 69 6e ent.(latex-fragment._contents.in
b9c0 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 61 20 4c 41 54 45 58 2d 46 52 41 47 4d 45 4e fo)..."Transcode.a.LATEX-FRAGMEN
b9e0 54 20 6f 62 6a 65 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 T.object.into.Blackfriday.Markdo
ba00 77 6e 20 66 6f 72 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 wn.format..INFO.is.a.plist.holdi
ba20 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 28 6c ng.contextual.information."...(l
ba40 65 74 20 28 28 70 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 et.((processing-type.(plist-get.
ba60 69 6e 66 6f 20 3a 77 69 74 68 2d 6c 61 74 65 78 29 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 info.:with-latex))).....(cond...
ba80 20 20 20 28 28 6d 65 6d 71 20 70 72 6f 63 65 73 73 69 6e 67 2d 74 79 70 65 20 27 28 74 20 6d 61 ...((memq.processing-type.'(t.ma
baa0 74 68 6a 61 78 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6c 61 74 65 78 2d 66 72 61 67 thjax)).......(let*.((latex-frag
bac0 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 6c 61 .(org-element-property.:value.la
bae0 74 65 78 2d 66 72 61 67 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 72 61 tex-fragment))..............(fra
bb00 67 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 66 g.(org-html-format-latex.latex-f
bb20 72 61 67 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 rag.'mathjax.info)).............
bb40 20 28 66 72 61 67 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 .(frag.(org-blackfriday-escape-c
bb60 68 61 72 73 2d 69 6e 2d 65 71 75 61 74 69 6f 6e 20 66 72 61 67 29 29 29 0a 20 20 20 20 20 20 20 hars-in-equation.frag)))........
bb80 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 66 72 61 67 20 .;;.(message."[ox-bf-latex-frag.
bba0 44 42 47 5d 20 66 72 61 67 3a 20 25 73 22 20 66 72 61 67 29 0a 20 20 20 20 20 20 20 20 66 72 61 DBG].frag:.%s".frag).........fra
bbc0 67 29 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 g))......(t.......(org-blackfrid
bbe0 61 79 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 ay--update-ltximg-path........(o
bc00 72 67 2d 68 74 6d 6c 2d 6c 61 74 65 78 2d 66 72 61 67 6d 65 6e 74 20 6c 61 74 65 78 2d 66 72 61 rg-html-latex-fragment.latex-fra
bc20 67 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 50 6c 61 69 6e gment.nil.info))))))..;;;;.Plain
bc40 20 4c 69 73 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 6c 61 .List.(defun.org-blackfriday-pla
bc60 69 6e 2d 6c 69 73 74 20 28 70 6c 61 69 6e 2d 6c 69 73 74 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 in-list.(plain-list.contents.inf
bc80 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 50 4c 41 49 4e 2d 4c 49 53 54 20 65 6c 65 6d 65 o)..."Transcode.PLAIN-LIST.eleme
bca0 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 6f 72 nt.into.Blackfriday.Markdown.for
bcc0 6d 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 74 68 65 20 70 6c 61 69 6e 2d 6c 69 73 74 20 mat..CONTENTS.is.the.plain-list.
bce0 63 6f 6e 74 65 6e 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 contents...INFO.is.a.plist.used.
bd00 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 20 20 28 as.a.communication.channel."...(
bd20 6c 65 74 20 28 72 65 74 29 0a 20 20 20 20 28 69 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 let.(ret).....(if.(org-blackfrid
bd40 61 79 2d 2d 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 ay--export-ordered-list-as-html-
bd60 70 20 70 6c 61 69 6e 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 p.plain-list).........(setq.ret.
bd80 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 20 20 28 6f 72 67 2d (concat....................(org-
bda0 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 20 70 6c 61 69 blackfriday--div-wrap-maybe.plai
bdc0 6e 2d 6c 69 73 74 20 6e 69 6c 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 n-list.nil.info)................
bde0 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 70 6c 61 69 6e 2d 6c 69 73 74 20 70 6c 61 69 6e 2d 6c ....(org-html-plain-list.plain-l
be00 69 73 74 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2a ist.contents.info))).......(let*
be20 20 28 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 .((next.(org-export-get-next-ele
be40 6d 65 6e 74 20 70 6c 61 69 6e 2d 6c 69 73 74 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 ment.plain-list.info))..........
be60 20 20 20 20 28 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 ....(next-type.(org-element-type
be80 20 6e 65 78 74 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 63 6f .next))).........;;.(message."co
bea0 6e 74 65 6e 74 3a 20 60 25 73 27 2c 20 6e 65 78 74 20 74 79 70 65 3a 20 25 73 22 20 63 6f 6e 74 ntent:.`%s',.next.type:.%s".cont
bec0 65 6e 74 73 20 6e 65 78 74 2d 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 ents.next-type).........(setq.re
bee0 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
bf00 62 65 20 70 6c 61 69 6e 2d 6c 69 73 74 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 20 20 be.plain-list.contents.info))...
bf20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 6e 65 78 74 2d 74 79 70 65 20 27 28 ......(when.(member.next-type.'(
bf40 70 6c 61 69 6e 2d 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 plain-list......................
bf60 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 2d 62 6c 6f 63 6b 20 65 78 61 6d 70 6c 65 2d 62 .............src-block.example-b
bf80 6c 6f 63 6b 29 29 20 3b 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 75 73 73 72 lock)).;https://github.com/russr
bfa0 6f 73 73 2f 62 6c 61 63 6b 66 72 69 64 61 79 2f 69 73 73 75 65 73 2f 35 35 36 0a 20 20 20 20 20 oss/blackfriday/issues/556......
bfc0 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f 6e 63 61 74 20 72 65 74 20 22 5c 6e 3c 21 .....(setq.ret.(concat.ret."\n<!
bfe0 2d 2d 6c 69 73 74 65 6e 64 2d 2d 3e 22 29 29 29 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 3b 3b --listend-->"))))).....ret))..;;
c000 3b 3b 20 50 6c 61 69 6e 20 54 65 78 74 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 ;;.Plain.Text.(defun.org-blackfr
c020 69 64 61 79 2d 70 6c 61 69 6e 2d 74 65 78 74 20 28 74 65 78 74 20 69 6e 66 6f 29 0a 20 20 22 54 iday-plain-text.(text.info)..."T
c040 72 61 6e 73 63 6f 64 65 20 54 45 58 54 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c 61 63 6b ranscode.TEXT.element.into.Black
c060 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 54 45 58 54 20 69 73 20 friday.Markdown.format..TEXT.is.
c080 74 68 65 20 73 74 72 69 6e 67 20 74 6f 20 74 72 61 6e 73 63 6f 64 65 2e 20 20 49 4e 46 4f 20 69 the.string.to.transcode...INFO.i
c0a0 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 6f s.a.plist.used.as.a.communicatio
c0c0 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 54 45 58 54 20 77 6f 75 6c 64 20 63 6f 6e 74 61 69 6e 20 74 n.channel...TEXT.would.contain.t
c0e0 68 65 20 74 65 78 74 20 66 72 6f 6d 20 6f 6e 65 20 70 61 72 61 67 72 61 70 68 20 69 2e 65 2e 20 he.text.from.one.paragraph.i.e..
c100 74 68 65 20 63 6f 6e 74 65 6e 74 0a 73 65 70 61 72 61 74 65 64 20 62 79 20 62 6c 61 6e 6b 20 6c the.content.separated.by.blank.l
c120 69 6e 65 73 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 61 6c 6d 6f 73 74 20 73 ines...This.function.is.almost.s
c140 61 6d 65 20 61 73 20 60 6f 72 67 2d 6d 64 2d 70 6c 61 69 6e 2d 74 65 78 74 27 20 65 78 63 65 70 ame.as.`org-md-plain-text'.excep
c160 74 20 69 74 0a 66 69 72 73 74 20 65 73 63 61 70 65 73 20 61 6e 79 20 65 78 69 73 74 69 6e 67 20 t.it.first.escapes.any.existing.
c180 5c 22 5c 5c 5c 22 2c 20 61 6e 64 20 74 68 65 6e 20 65 73 63 61 70 65 73 20 6f 74 68 65 72 20 73 \"\\\",.and.then.escapes.other.s
c1a0 74 72 69 6e 67 0a 6d 61 74 63 68 65 73 20 77 69 74 68 20 5c 22 5c 5c 5c 22 20 61 73 20 6e 65 65 tring.matches.with.\"\\\".as.nee
c1c0 64 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 6f 72 69 67 2d 74 65 78 74 20 74 65 78 74 29 29 0a ded."...(let.((orig-text.text)).
c1e0 20 20 20 20 3b 3b 20 54 68 65 20 62 65 6c 6f 77 20 73 65 72 69 65 73 20 6f 66 20 72 65 70 6c 61 ....;;.The.below.series.of.repla
c200 63 65 6d 65 6e 74 73 20 69 6e 20 60 74 65 78 74 27 20 69 73 20 6f 72 64 65 72 0a 20 20 20 20 3b cements.in.`text'.is.order.....;
c220 3b 20 73 65 6e 73 69 74 69 76 65 2e 0a 20 20 20 20 3b 3b 20 50 72 6f 74 65 63 74 20 60 2c 20 2a ;.sensitive......;;.Protect.`,.*
c240 20 61 6e 64 20 5c 0a 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 .and.\.....(setq.text.(replace-r
c260 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 60 2a 5c 5c 5d 22 20 22 5c 5c 5c 5c 5c 5c egexp-in-string."[`*\\]"."\\\\\\
c280 26 22 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 50 72 6f 74 65 63 74 20 5f 20 6f 6e 6c 79 20 &".text)).....;;.Protect._.only.
c2a0 69 66 20 69 74 20 69 73 20 70 72 65 63 65 64 65 64 20 6f 72 20 66 6f 6c 6c 6f 77 65 64 20 62 79 if.it.is.preceded.or.followed.by
c2c0 20 61 20 77 6f 72 64 20 62 6f 75 6e 64 61 72 79 0a 20 20 20 20 3b 3b 20 28 22 5c 62 22 20 64 6f .a.word.boundary.....;;.("\b".do
c2e0 65 73 6e 27 74 20 77 6f 72 6b 20 62 65 63 61 75 73 65 20 5f 20 69 74 73 65 6c 66 20 69 73 20 63 esn't.work.because._.itself.is.c
c300 6f 6e 73 69 64 65 72 65 64 20 74 6f 20 62 65 20 61 20 77 6f 72 64 0a 20 20 20 20 3b 3b 20 62 6f onsidered.to.be.a.word.....;;.bo
c320 75 6e 64 61 72 79 29 2e 0a 20 20 20 20 3b 3b 20 22 66 6f 6f 5f 20 62 61 72 22 20 2d 3e 20 22 66 undary)......;;."foo_.bar".->."f
c340 6f 6f 5c 5f 20 62 61 72 22 0a 20 20 20 20 28 73 65 74 71 20 74 65 78 74 20 28 72 65 70 6c 61 63 oo\_.bar".....(setq.text.(replac
c360 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5b 5b 3a 67 72 61 70 68 3a e-regexp-in-string."\\([[:graph:
c380 5d 5d 5c 5c 29 5c 5c 28 5b 5f 5d 5c 5c 29 5c 5c 28 5b 5b 3a 73 70 61 63 65 3a 5d 2e 21 3f 5d 5c ]]\\)\\([_]\\)\\([[:space:].!?]\
c3a0 5c 7c 5c 5c 27 5c 5c 29 22 20 22 5c 5c 31 5c 5c 5c 5c 5c 5c 32 5c 5c 33 22 20 74 65 78 74 29 29 \|\\'\\)"."\\1\\\\\\2\\3".text))
c3c0 0a 20 20 20 20 3b 3b 20 22 66 6f 6f 20 5f 62 61 72 22 20 2d 3e 20 22 66 6f 6f 20 5c 5f 62 61 72 .....;;."foo._bar".->."foo.\_bar
c3e0 22 0a 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 70 ".....(setq.text.(replace-regexp
c400 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5b 5b 3a 73 70 61 63 65 3a 5d 5d 5c 5c 7c 5c 5c 60 -in-string."\\([[:space:]]\\|\\`
c420 5c 5c 29 5c 5c 28 5b 5f 5d 5c 5c 29 5c 5c 28 5b 5b 3a 67 72 61 70 68 3a 5d 5d 5c 5c 29 22 20 22 \\)\\([_]\\)\\([[:graph:]]\\)"."
c440 5c 5c 31 5c 5c 5c 5c 5c 5c 32 5c 5c 33 22 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 50 72 6f \\1\\\\\\2\\3".text)).....;;.Pro
c460 74 65 63 74 20 74 68 65 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 60 6f 72 67 2d 68 74 6d 6c tect.the.characters.in.`org-html
c480 2d 70 72 6f 74 65 63 74 2d 63 68 61 72 2d 61 6c 69 73 74 27 20 28 60 3c 27 2c 0a 20 20 20 20 3b -protect-char-alist'.(`<',.....;
c4a0 3b 20 60 3e 27 2c 20 60 26 27 29 2e 0a 20 20 20 20 28 73 65 74 71 20 74 65 78 74 20 28 6f 72 67 ;.`>',.`&')......(setq.text.(org
c4c0 2d 68 74 6d 6c 2d 65 6e 63 6f 64 65 2d 70 6c 61 69 6e 2d 74 65 78 74 20 74 65 78 74 29 29 0a 20 -html-encode-plain-text.text))..
c4e0 20 20 20 3b 3b 20 50 72 6f 74 65 63 74 20 62 72 61 63 65 73 20 77 68 65 6e 20 76 65 72 62 61 74 ...;;.Protect.braces.when.verbat
c500 69 6d 20 73 68 6f 72 74 63 6f 64 65 20 6d 65 6e 74 69 6f 6e 73 20 61 72 65 20 64 65 74 65 63 74 im.shortcode.mentions.are.detect
c520 65 64 2e 0a 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 ed......(setq.text.(replace-rege
c540 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 7b 7b 25 22 20 22 7b 26 6c 62 72 61 63 65 3b 25 22 20 xp-in-string."{{%"."{&lbrace;%".
c560 74 65 78 74 29 29 0a 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 text)).....(setq.text.(replace-r
c580 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 25 7d 7d 22 20 22 25 26 72 62 72 61 63 65 3b egexp-in-string."%}}"."%&rbrace;
c5a0 7d 22 20 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 50 72 6f 74 65 63 74 20 61 6d 62 69 67 75 6f }".text)).....;;.Protect.ambiguo
c5c0 75 73 20 23 2e 20 20 54 68 69 73 20 77 69 6c 6c 20 70 72 6f 74 65 63 74 20 23 20 61 74 20 74 68 us.#...This.will.protect.#.at.th
c5e0 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 0a 20 20 20 20 3b 3b 20 6c 69 6e 65 2c 20 62 75 e.beginning.of.a.....;;.line,.bu
c600 74 20 6e 6f 74 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 20 70 61 72 61 t.not.at.the.beginning.of.a.para
c620 67 72 61 70 68 2e 20 20 53 65 65 0a 20 20 20 20 3b 3b 20 60 6f 72 67 2d 6d 64 2d 70 61 72 61 67 graph...See.....;;.`org-md-parag
c640 72 61 70 68 27 2e 0a 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 raph'......(setq.text.(replace-r
c660 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 6e 23 22 20 22 5c 6e 5c 5c 5c 5c 23 22 20 egexp-in-string."\n#"."\n\\\\#".
c680 74 65 78 74 29 29 0a 20 20 20 20 3b 3b 20 50 72 6f 74 65 63 74 20 61 6d 62 69 67 75 6f 75 73 20 text)).....;;.Protect.ambiguous.
c6a0 60 21 27 0a 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 `!'.....(setq.text.(replace-rege
c6c0 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 28 21 5c 5c 29 5c 5c 5b 22 20 22 5c 5c 5c 5c 21 xp-in-string."\\(!\\)\\["."\\\\!
c6e0 22 20 74 65 78 74 20 6e 69 6c 20 6e 69 6c 20 31 29 29 0a 20 20 20 20 3b 3b 20 43 6f 6e 76 65 72 ".text.nil.nil.1)).....;;.Conver
c700 74 20 74 6f 20 73 6d 61 72 74 20 71 75 6f 74 65 73 2c 20 69 66 20 72 65 71 75 69 72 65 64 2e 0a t.to.smart.quotes,.if.required..
c720 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 77 69 74 68 2d ....(when.(plist-get.info.:with-
c740 73 6d 61 72 74 2d 71 75 6f 74 65 73 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 74 65 78 74 20 28 smart-quotes).......(setq.text.(
c760 6f 72 67 2d 65 78 70 6f 72 74 2d 61 63 74 69 76 61 74 65 2d 73 6d 61 72 74 2d 71 75 6f 74 65 73 org-export-activate-smart-quotes
c780 20 74 65 78 74 20 3a 68 74 6d 6c 20 69 6e 66 6f 20 6f 72 69 67 2d 74 65 78 74 29 29 29 0a 20 20 .text.:html.info.orig-text)))...
c7a0 20 20 3b 3b 20 48 61 6e 64 6c 65 20 73 70 65 63 69 61 6c 20 73 74 72 69 6e 67 73 2c 20 69 66 20 ..;;.Handle.special.strings,.if.
c7c0 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 2d 67 65 74 20 69 required......(when.(plist-get.i
c7e0 6e 66 6f 20 3a 77 69 74 68 2d 73 70 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 29 0a 20 20 20 20 20 nfo.:with-special-strings)......
c800 20 28 73 65 74 71 20 74 65 78 74 20 28 6f 72 67 2d 68 74 6d 6c 2d 63 6f 6e 76 65 72 74 2d 73 70 .(setq.text.(org-html-convert-sp
c820 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 20 74 65 78 74 29 29 29 0a 20 20 20 20 3b 3b 20 48 61 6e ecial-strings.text))).....;;.Han
c840 64 6c 65 20 62 72 65 61 6b 20 70 72 65 73 65 72 76 61 74 69 6f 6e 2c 20 69 66 20 72 65 71 75 69 dle.break.preservation,.if.requi
c860 72 65 64 2e 0a 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 red......(when.(plist-get.info.:
c880 70 72 65 73 65 72 76 65 2d 62 72 65 61 6b 73 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 74 65 78 preserve-breaks).......(setq.tex
c8a0 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 5b 20 5c t.(replace-regexp-in-string."[.\
c8c0 74 5d 2a 5c 6e 22 20 22 20 3c 62 72 2f 3e 5c 6e 22 20 74 65 78 74 29 29 29 0a 20 20 20 20 3b 3b t]*\n".".<br/>\n".text))).....;;
c8e0 20 52 65 74 75 72 6e 20 76 61 6c 75 65 2e 0a 20 20 20 20 74 65 78 74 29 29 0a 0a 3b 3b 3b 3b 20 .Return.value......text))..;;;;.
c900 51 75 6f 74 65 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 Quote.Block.(defun.org-blackfrid
c920 61 79 2d 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 28 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 ay-quote-block.(quote-block.cont
c940 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 51 55 4f 54 45 2d 42 4c ents.info)..."Transcode.QUOTE-BL
c960 4f 43 4b 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 OCK.element.into.Blackfriday.Mar
c980 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 65 20 71 75 kdown.format..CONTENTS.is.the.qu
c9a0 6f 74 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 ote-block.contents...INFO.is.a.p
c9c0 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 68 61 list.used.as.a.communication.cha
c9e0 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6e 65 78 74 20 28 6f 72 67 2d 65 78 70 6f 72 nnel."...(let*.((next.(org-expor
ca00 74 2d 67 65 74 2d 6e 65 78 74 2d 65 6c 65 6d 65 6e 74 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 69 t-get-next-element.quote-block.i
ca20 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 6e 65 78 74 2d 74 79 70 65 20 28 6f 72 67 2d 65 nfo))..........(next-type.(org-e
ca40 6c 65 6d 65 6e 74 2d 74 79 70 65 20 6e 65 78 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6e 65 78 lement-type.next))..........(nex
ca60 74 2d 69 73 2d 71 75 6f 74 65 20 28 65 71 20 27 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 6e 65 78 74 t-is-quote.(eq.'quote-block.next
ca80 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 73 20 28 6f 72 67 2d -type))..........(contents.(org-
caa0 6d 64 2d 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 63 6f 6e 74 65 md-quote-block.quote-block.conte
cac0 6e 74 73 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 72 65 74 29 0a 20 20 20 20 3b 3b 20 nts.info))..........ret).....;;.
cae0 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 44 42 47 (message."[ox-bf.quote-block.DBG
cb00 5d 22 29 0a 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
cb20 61 79 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 20 71 75 6f 74 65 2d 62 6c 6f 63 6b 20 63 ay--div-wrap-maybe.quote-block.c
cb40 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 63 6f ontents.info)).....(setq.ret.(co
cb60 6e 63 61 74 20 72 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 3b ncat.ret.......................;
cb80 3b 20 54 77 6f 20 63 6f 6e 73 65 63 75 74 69 76 65 20 62 6c 6f 63 6b 71 75 6f 74 65 73 20 69 6e ;.Two.consecutive.blockquotes.in
cba0 20 4d 61 72 6b 64 6f 77 6e 20 63 61 6e 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .Markdown.can.be................
cbc0 20 20 20 20 20 20 20 3b 3b 20 73 65 70 61 72 61 74 65 64 20 62 79 20 61 20 63 6f 6d 6d 65 6e 74 .......;;.separated.by.a.comment
cbe0 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 6e 20 6e 65 ........................(when.ne
cc00 78 74 2d 69 73 2d 71 75 6f 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 xt-is-quote.....................
cc20 20 20 20 20 22 5c 6e 5c 6e 3c 21 2d 2d 71 75 6f 74 65 65 6e 64 2d 2d 3e 22 29 29 29 0a 20 20 20 ...."\n\n<!--quoteend-->")))....
cc40 20 72 65 74 29 29 0a 0a 3b 3b 3b 3b 20 52 61 64 69 6f 20 54 61 72 67 65 74 0a 28 64 65 66 75 6e .ret))..;;;;.Radio.Target.(defun
cc60 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 72 61 64 69 6f 2d 74 61 72 67 65 74 20 28 72 .org-blackfriday-radio-target.(r
cc80 61 64 69 6f 2d 74 61 72 67 65 74 20 74 65 78 74 20 5f 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 adio-target.text._info)..."Trans
cca0 63 6f 64 65 20 61 20 52 41 44 49 4f 2d 54 41 52 47 45 54 20 6f 62 6a 65 63 74 20 66 72 6f 6d 20 code.a.RADIO-TARGET.object.from.
ccc0 4f 72 67 20 74 6f 20 48 54 4d 4c 2e 0a 0a 54 45 58 54 20 69 73 20 6e 69 6c 2e 22 0a 20 20 28 6c Org.to.HTML...TEXT.is.nil."...(l
cce0 65 74 2a 20 28 28 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 67 et*.((prefix.(org-blackfriday--g
cd00 65 74 2d 72 65 66 2d 70 72 65 66 69 78 20 27 72 61 64 69 6f 29 29 0a 20 20 20 20 20 20 20 20 20 et-ref-prefix.'radio))..........
cd20 28 72 65 66 20 28 66 6f 72 6d 61 74 20 22 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 (ref.(format."%s%s".............
cd40 20 20 20 20 20 20 20 20 20 20 70 72 65 66 69 78 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........prefix................
cd60 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 76 61 6c 69 64 2d 68 .......(org-blackfriday--valid-h
cd80 74 6d 6c 2d 61 6e 63 68 6f 72 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tml-anchor-name.................
cda0 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 76 61 .......(org-element-property.:va
cdc0 6c 75 65 20 72 61 64 69 6f 2d 74 61 72 67 65 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 lue.radio-target))))..........(a
cde0 74 74 72 20 28 66 6f 72 6d 61 74 20 22 20 63 6c 61 73 73 3d 5c 22 25 73 5c 22 20 69 64 3d 5c 22 ttr.(format.".class=\"%s\".id=\"
ce00 25 73 5c 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 28 73 74 %s\""........................(st
ce20 72 69 6e 67 2d 72 65 6d 6f 76 65 2d 73 75 66 66 69 78 20 22 2d 2d 22 20 70 72 65 66 69 78 29 0a ring-remove-suffix."--".prefix).
ce40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 29 29 29 0a 20 20 .......................ref)))...
ce60 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6c 69 6e 6b 2d 74 61 72 67 65 74 20 ..(org-blackfriday--link-target.
ce80 61 74 74 72 20 74 65 78 74 29 29 29 0a 0a 3b 3b 3b 3b 20 53 70 65 63 69 61 6c 20 42 6c 6f 63 6b attr.text)))..;;;;.Special.Block
cea0 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 70 65 63 69 61 6c 2d .(defun.org-blackfriday-special-
cec0 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 20 69 6e block.(special-block.contents.in
cee0 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 4f 43 4b fo)..."Transcode.a.SPECIAL-BLOCK
cf00 20 65 6c 65 6d 65 6e 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 .element.from.Org.to.HTML..CONTE
cf20 4e 54 53 20 68 6f 6c 64 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 62 6c NTS.holds.the.contents.of.the.bl
cf40 6f 63 6b 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 ock...INFO.is.a.plist.used.as.a.
cf60 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
cf80 63 74 69 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 ction.is.adapted.from.`org-html-
cfa0 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 27 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 62 6c 6f 63 6b special-block'."...(let*.((block
cfc0 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 74 79 70 -type.(org-element-property.:typ
cfe0 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 28 62 6c 6f 63 e.special-block))..........(bloc
d000 6b 2d 74 79 70 65 2d 70 6c 69 73 74 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 k-type-plist.(org-element-proper
d020 74 79 20 3a 74 79 70 65 2d 70 6c 69 73 74 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 ty.:type-plist.special-block))..
d040 20 20 20 20 20 20 20 20 28 68 74 6d 6c 35 2d 69 6e 6c 69 6e 65 2d 66 61 6e 63 79 20 28 6d 65 6d ........(html5-inline-fancy.(mem
d060 62 65 72 20 62 6c 6f 63 6b 2d 74 79 70 65 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 68 ber.block-type.org-blackfriday-h
d080 74 6d 6c 35 2d 69 6e 6c 69 6e 65 2d 65 6c 65 6d 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 tml5-inline-elements))..........
d0a0 28 68 74 6d 6c 35 2d 62 6c 6f 63 6b 2d 66 61 6e 63 79 20 28 6d 65 6d 62 65 72 20 62 6c 6f 63 6b (html5-block-fancy.(member.block
d0c0 2d 74 79 70 65 20 6f 72 67 2d 68 74 6d 6c 2d 68 74 6d 6c 35 2d 65 6c 65 6d 65 6e 74 73 29 29 0a -type.org-html-html5-elements)).
d0e0 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 35 2d 66 61 6e 63 79 20 28 6f 72 20 68 74 6d 6c 35 2d .........(html5-fancy.(or.html5-
d100 69 6e 6c 69 6e 65 2d 66 61 6e 63 79 20 68 74 6d 6c 35 2d 62 6c 6f 63 6b 2d 66 61 6e 63 79 29 29 inline-fancy.html5-block-fancy))
d120 0a 20 20 20 20 20 20 20 20 20 28 61 74 74 72 69 62 75 74 65 73 20 28 6f 72 67 2d 65 78 70 6f 72 ..........(attributes.(org-expor
d140 74 2d 72 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 73 70 65 63 t-read-attribute.:attr_html.spec
d160 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 72 65 2d 74 ial-block))..........(trim-pre-t
d180 61 67 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 74 72 69 6d 2d 70 72 65 ag.(or.(plist-get.info.:trim-pre
d1a0 2d 74 61 67 29 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 6f 73 74 2d 74 -tag).""))..........(trim-post-t
d1c0 61 67 20 28 6f 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 74 72 69 6d 2d 70 6f 73 ag.(or.(plist-get.info.:trim-pos
d1e0 74 2d 74 61 67 29 20 22 22 29 29 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 68 74 6d 6c 35 2d 66 t-tag).""))).....(unless.html5-f
d200 61 6e 63 79 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 6c 61 73 73 20 28 70 6c 69 73 74 2d 67 ancy.......(let.((class.(plist-g
d220 65 74 20 61 74 74 72 69 62 75 74 65 73 20 3a 63 6c 61 73 73 29 29 29 0a 20 20 20 20 20 20 20 20 et.attributes.:class))).........
d240 28 73 65 74 71 20 61 74 74 72 69 62 75 74 65 73 20 28 70 6c 69 73 74 2d 70 75 74 20 61 74 74 72 (setq.attributes.(plist-put.attr
d260 69 62 75 74 65 73 20 3a 63 6c 61 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ibutes.:class...................
d280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 63 6c 61 73 73 0a 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 20 20 20 20 20 20 20 20 20 20 20 20 ................................
d2c0 20 20 20 20 28 63 6f 6e 63 61 74 20 63 6c 61 73 73 20 22 20 22 20 62 6c 6f 63 6b 2d 74 79 70 65 ....(concat.class.".".block-type
d2e0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
d300 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 2d 74 79 70 65 29 29 29 29 29 0a 20 20 20 20 28 6c 65 74 ........block-type))))).....(let
d320 2a 20 28 28 63 6f 6e 74 65 6e 74 73 20 28 6f 72 20 28 6f 72 67 2d 74 72 69 6d 0a 20 20 20 20 20 *.((contents.(or.(org-trim......
d340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 70 6c 69 73 74 2d .....................(if.(plist-
d360 67 65 74 20 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 6c 69 73 74 20 3a 72 61 77 29 0a 20 20 20 20 20 get.block-type-plist.:raw)......
d380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 .........................;;.http
d3a0 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 67 6d 6f 64 s://lists.gnu.org/r/emacs-orgmod
d3c0 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 20 20 20 20 20 e/2022-01/msg00132.html.........
d3e0 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
d400 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 63 nt-interpret-data.(org-element-c
d420 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 20 ontents.special-block)).........
d440 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 29 29 0a 20 ....................contents))..
d460 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 20 ........................""))....
d480 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 23 2b 6e 61 6d 65 20 69 73 20 73 70 65 63 69 66 69 65 ........;;.If.#+name.is.specifie
d4a0 64 2c 20 75 73 65 20 74 68 61 74 20 66 6f 72 20 74 68 65 20 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 d,.use.that.for.the.HTML.element
d4c0 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 69 64 22 20 61 74 74 72 69 62 75 74 65 2e 0a 20 ............;;."id".attribute...
d4e0 20 20 20 20 20 20 20 20 20 20 28 6e 61 6d 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f ..........(name.(org-element-pro
d500 70 65 72 74 79 20 3a 6e 61 6d 65 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 perty.:name.special-block)).....
d520 20 20 20 20 20 20 20 28 61 74 74 72 2d 73 74 72 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 .......(attr-str.(org-blackfrida
d540 79 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 65 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 y--make-attribute-string........
d560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 20 28 6e 6f 74 20 6e 61 6d 65 ...............(if.(or.(not.name
d580 29 20 28 70 6c 69 73 74 2d 6d 65 6d 62 65 72 20 61 74 74 72 69 62 75 74 65 73 20 3a 69 64 29 29 ).(plist-member.attributes.:id))
d5a0 0a 20 20 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 74 74 72 69 ...........................attri
d5c0 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 20 28 70 butes.........................(p
d5e0 6c 69 73 74 2d 70 75 74 20 61 74 74 72 69 62 75 74 65 73 20 3a 69 64 20 6e 61 6d 65 29 29 29 29 list-put.attributes.:id.name))))
d600 0a 20 20 20 20 20 20 20 20 20 20 20 28 61 74 74 72 2d 73 74 72 20 28 69 66 20 28 6f 72 67 2d 73 ............(attr-str.(if.(org-s
d620 74 72 69 6e 67 2d 6e 77 2d 70 20 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 tring-nw-p.attr-str)............
d640 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 61 74 74 72 2d 73 ..............(concat.".".attr-s
d660 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 22 22 29 29 29 tr)........................"")))
d680 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 62 6c .......(cond........((string=.bl
d6a0 6f 63 6b 2d 74 79 70 65 20 22 64 65 74 61 69 6c 73 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 52 ock-type."details").........;;.R
d6c0 65 63 6f 67 6e 69 7a 65 20 4f 72 67 20 53 70 65 63 69 61 6c 20 62 6c 6f 63 6b 73 20 6c 69 6b 65 ecognize.Org.Special.blocks.like
d6e0 3a 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 62 65 67 69 6e 5f 64 65 74 61 69 6c 73 0a 20 :.........;;...#+begin_details..
d700 20 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 62 65 67 69 6e 5f 73 75 6d 6d 61 72 79 0a 20 20 20 20 .......;;...#+begin_summary.....
d720 20 20 20 20 3b 3b 20 20 20 54 68 69 73 20 69 73 20 73 75 6d 6d 61 72 79 2e 0a 20 20 20 20 20 20 ....;;...This.is.summary........
d740 20 20 3b 3b 20 20 20 23 2b 65 6e 64 5f 73 75 6d 6d 61 72 79 0a 20 20 20 20 20 20 20 20 3b 3b 20 ..;;...#+end_summary.........;;.
d760 20 20 48 65 72 65 20 61 72 65 20 74 68 65 20 64 65 74 61 69 6c 73 2e 0a 20 20 20 20 20 20 20 20 ..Here.are.the.details..........
d780 3b 3b 20 20 20 23 2b 65 6e 64 5f 64 65 74 61 69 6c 73 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 ;;...#+end_details.........(let.
d7a0 28 28 64 69 76 2d 6f 70 65 6e 20 22 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 64 65 74 61 69 6c 73 ((div-open."<div.class=\"details
d7c0 5c 22 3e 22 29 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 0a \">"))...........(setq.contents.
d7e0 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 20 20 20 20 20 ................(concat.........
d800 20 20 20 20 20 20 20 20 20 3b 3b 20 57 72 61 70 20 74 68 65 20 22 64 65 74 61 69 6c 73 22 20 70 .........;;.Wrap.the."details".p
d820 6f 72 74 69 6f 6e 20 69 6e 20 74 68 65 20 3c 64 65 74 61 69 6c 73 3e 20 74 61 67 0a 20 20 20 20 ortion.in.the.<details>.tag.....
d840 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 77 69 74 68 20 27 3c 64 69 76 20 63 6c 61 73 73 .............;;.with.'<div.class
d860 3d 22 64 65 74 61 69 6c 73 22 3e 20 2e 2e 20 3c 2f 64 69 76 3e 27 2e 20 20 57 69 74 68 0a 20 20 ="details">....</div>'...With...
d880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 61 74 2c 20 43 53 53 20 72 75 6c 65 ...............;;.that,.CSS.rule
d8a0 73 20 63 61 6e 20 62 65 20 73 65 74 20 73 70 65 63 69 66 69 63 20 74 6f 20 74 68 61 74 0a 20 20 s.can.be.set.specific.to.that...
d8c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 74 61 69 6c 73 20 70 6f 72 74 69 6f ...............;;.details.portio
d8e0 6e 20 75 73 69 6e 67 20 22 64 65 74 61 69 6c 73 20 2e 64 65 74 61 69 6c 73 22 2e 0a 20 20 20 20 n.using."details..details"......
d900 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 .............(if.(string-match."
d920 5c 5c 28 3f 31 3a 3c 73 75 6d 6d 61 72 79 3e 5c 5c 28 3f 3a 2e 5c 5c 7c 5c 6e 5c 5c 29 2a 3c 2f \\(?1:<summary>\\(?:.\\|\n\\)*</
d940 73 75 6d 6d 61 72 79 3e 5c 5c 29 22 20 63 6f 6e 74 65 6e 74 73 29 20 3b 49 66 20 73 75 6d 6d 61 summary>\\)".contents).;If.summa
d960 72 79 20 65 78 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ry.exists......................(
d980 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 28 66 6f 72 6d 61 74 20 22 5c 5c 31 5c 6e 25 73 22 20 replace-match.(format."\\1\n%s".
d9a0 64 69 76 2d 6f 70 65 6e 29 20 6e 69 6c 20 6e 69 6c 20 63 6f 6e 74 65 6e 74 73 20 31 29 0a 20 20 div-open).nil.nil.contents.1)...
d9c0 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 69 76 2d 6f 70 65 .................(concat.div-ope
d9e0 6e 20 22 5c 6e 5c 6e 22 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 n."\n\n".contents)).............
da00 20 20 20 20 20 3b 3b 20 4e 65 77 6c 69 6e 65 20 69 73 20 69 6e 73 65 72 74 65 64 20 62 65 66 6f .....;;.Newline.is.inserted.befo
da20 72 65 20 74 68 65 20 63 6c 6f 73 69 6e 67 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 20 20 re.the.closing.</div>...........
da40 20 20 20 20 20 20 20 3b 3b 20 74 61 67 20 66 6f 72 20 74 68 65 20 72 65 61 73 6f 6e 20 65 78 70 .......;;.tag.for.the.reason.exp
da60 6c 61 69 6e 65 64 20 62 65 6c 6f 77 20 75 73 69 6e 67 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 lained.below.using.the..........
da80 20 20 20 20 20 20 20 20 3b 3b 20 65 6d 61 63 73 2d 6c 69 73 70 20 4d 61 72 6b 64 6f 77 6e 20 63 ........;;.emacs-lisp.Markdown.c
daa0 6f 64 65 20 62 6c 6f 63 6b 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 3c ode.block..................."\n<
dac0 2f 64 69 76 3e 22 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 73 65 72 74 20 74 68 65 20 /div>"))).........;;.Insert.the.
dae0 22 6f 70 65 6e 22 20 61 74 74 72 69 62 75 74 65 20 6f 6e 6c 79 20 69 66 20 75 73 65 72 20 68 61 "open".attribute.only.if.user.ha
db00 73 20 22 3a 6f 70 65 6e 20 74 22 20 69 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 22 23 2b 61 74 74 s.":open.t".in.........;;."#+att
db20 72 5f 68 74 6d 6c 22 2e 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 r_html"..........(when.(org-stri
db40 6e 67 2d 6e 77 2d 70 20 61 74 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 77 68 65 ng-nw-p.attr-str)...........(whe
db60 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5c 5c 28 3f 31 3a 6f 70 65 6e 5c 5c 28 3f 32 n.(string-match."\\(?1:open\\(?2
db80 3a 3d 5c 22 5c 5c 28 3f 33 3a 74 5c 5c 29 5c 22 5c 5c 29 5c 5c 29 22 20 61 74 74 72 2d 73 74 72 :=\"\\(?3:t\\)\"\\)\\)".attr-str
dba0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 ).............(if.(match-string.
dbc0 33 20 61 74 74 72 2d 73 74 72 29 20 3b 69 66 20 61 74 74 72 2d 73 74 72 20 63 6f 6e 74 61 69 6e 3.attr-str).;if.attr-str.contain
dbe0 73 20 60 6f 70 65 6e 3d 22 74 22 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 s.`open="t"'.................(se
dc00 74 71 20 61 74 74 72 2d 73 74 72 20 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 22 22 20 6e 69 tq.attr-str.(replace-match."".ni
dc20 6c 20 6e 69 6c 20 61 74 74 72 2d 73 74 72 20 32 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 l.nil.attr-str.2))..............
dc40 20 28 73 65 74 71 20 61 74 74 72 2d 73 74 72 20 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 22 .(setq.attr-str.(replace-match."
dc60 22 20 6e 69 6c 20 6e 69 6c 20 61 74 74 72 2d 73 74 72 20 31 29 29 29 29 29 0a 20 20 20 20 20 20 ".nil.nil.attr-str.1))))).......
dc80 20 20 3b 3b 20 49 6e 73 65 72 74 20 61 20 6e 65 77 6c 69 6e 65 20 62 65 66 6f 72 65 20 61 6e 64 ..;;.Insert.a.newline.before.and
dca0 20 61 66 74 65 72 20 74 68 65 20 60 63 6f 6e 74 65 6e 74 73 27 20 74 6f 20 68 61 6e 64 6c 65 0a .after.the.`contents'.to.handle.
dcc0 20 20 20 20 20 20 20 20 3b 3b 20 74 68 65 20 63 61 73 65 73 20 77 68 65 72 65 20 74 68 61 74 20 ........;;.the.cases.where.that.
dce0 63 6f 75 6c 64 20 62 65 67 69 6e 20 6f 72 20 65 6e 64 20 77 69 74 68 20 61 20 4d 61 72 6b 64 6f could.begin.or.end.with.a.Markdo
dd00 77 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 62 6c 6f 63 6b 73 20 6c 69 6b 65 3a 0a 20 20 20 20 20 wn.........;;.blocks.like:......
dd20 20 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 20 20 20 20 3b 3b ...;;...```emacs-lisp.........;;
dd40 20 20 20 28 6d 65 73 73 61 67 65 20 22 66 6f 6f 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 ...(message."foo").........;;...
dd60 60 60 60 0a 20 20 20 20 20 20 20 20 3b 3b 20 41 6e 20 65 78 61 6d 70 6c 65 20 73 63 65 6e 61 72 ```.........;;.An.example.scenar
dd80 69 6f 20 77 6f 75 6c 64 20 62 65 20 77 68 65 72 65 20 73 75 63 68 20 63 6f 6e 74 65 6e 74 20 63 io.would.be.where.such.content.c
dda0 6f 75 6c 64 20 62 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 ould.be.........;;.present.in.th
ddc0 65 20 22 69 6e 6c 69 6e 65 22 20 3c 64 65 74 61 69 6c 73 3e 20 6f 72 20 3c 73 75 6d 6d 61 72 79 e."inline".<details>.or.<summary
dde0 3e 20 53 70 65 63 69 61 6c 0a 20 20 20 20 20 20 20 20 3b 3b 20 42 6c 6f 63 6b 73 2e 0a 20 20 20 >.Special.........;;.Blocks.....
de00 20 20 20 20 20 3b 3b 20 57 69 74 68 6f 75 74 20 74 68 6f 73 65 20 6e 65 77 6c 69 6e 65 73 2c 20 .....;;.Without.those.newlines,.
de20 74 68 65 20 4d 61 72 6b 64 6f 77 6e 20 63 6f 6e 76 65 72 74 65 64 20 63 6f 6e 74 65 6e 74 20 77 the.Markdown.converted.content.w
de40 69 6c 6c 0a 20 20 20 20 20 20 20 20 3b 3b 20 6c 6f 6f 6b 20 6c 69 6b 65 20 62 65 6c 6f 77 2c 20 ill.........;;.look.like.below,.
de60 61 6e 64 20 42 6c 61 63 6b 66 72 69 64 61 79 20 77 6f 6e 27 74 20 70 61 72 73 65 20 69 74 20 63 and.Blackfriday.won't.parse.it.c
de80 6f 72 72 65 63 74 6c 79 2e 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 3c 64 65 74 61 69 6c 73 3e orrectly..........;;...<details>
dea0 60 60 60 65 6d 61 63 73 2d 6c 69 73 70 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 28 6d 65 73 73 ```emacs-lisp.........;;...(mess
dec0 61 67 65 20 22 66 6f 6f 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 20 20 60 60 60 3c 2f 64 65 74 age."foo").........;;...```</det
dee0 61 69 6c 73 3e 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 25 73 25 73 3e 5c 6e 25 ails>.........(format."<%s%s>\n%
df00 73 5c 6e 3c 2f 25 73 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 2d s\n</%s>".................block-
df20 74 79 70 65 20 61 74 74 72 2d 73 74 72 20 63 6f 6e 74 65 6e 74 73 20 62 6c 6f 63 6b 2d 74 79 70 type.attr-str.contents.block-typ
df40 65 29 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 20 e))........((string=.block-type.
df60 22 73 75 6d 6d 61 72 79 22 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 25 73 25 "summary").........(format."<%s%
df80 73 3e 25 73 3c 2f 25 73 3e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b s>%s</%s>".................block
dfa0 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 20 28 -type.attr-str.................(
dfc0 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 3b 3b 20 52 65 6d org-trim..................;;.Rem
dfe0 6f 76 65 20 22 3c 70 3e 22 20 61 6e 64 20 22 3c 2f 70 3e 22 20 74 61 67 73 3b 20 48 75 67 6f 20 ove."<p>".and."</p>".tags;.Hugo.
e000 77 69 6c 6c 20 61 75 74 6f 2d 77 72 61 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 will.auto-wrap..................
e020 3b 3b 20 6e 65 77 6c 69 6e 65 2d 73 65 70 61 72 61 74 65 64 20 62 6c 6f 63 6b 73 20 77 69 74 68 ;;.newline-separated.blocks.with
e040 20 70 20 74 61 67 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 .p.tags...................(repla
e060 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.............
e080 20 20 20 20 20 20 22 5c 6e 5c 6e 2b 22 20 22 5c 6e 5c 6e 22 20 20 20 20 20 20 20 20 3b 52 65 6d ......"\n\n+"."\n\n"........;Rem
e0a0 6f 76 65 20 65 78 74 72 61 20 6e 65 77 6c 69 6e 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ove.extra.newlines..............
e0c0 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 20 .....(replace-regexp-in-string..
e0e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 2f 3f 70 3e 22 20 22 22 0a 20 20 20 .................."</?p>".""....
e100 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 69 64 61 79 ................(org-blackfriday
e120 2d 2d 6f 72 67 2d 63 6f 6e 74 65 6e 74 73 2d 74 6f 2d 68 74 6d 6c 20 73 70 65 63 69 61 6c 2d 62 --org-contents-to-html.special-b
e140 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 62 6c 6f 63 6b 2d 74 lock)))).................block-t
e160 79 70 65 29 29 0a 20 20 20 20 20 20 20 28 68 74 6d 6c 35 2d 69 6e 6c 69 6e 65 2d 66 61 6e 63 79 ype))........(html5-inline-fancy
e180 20 3b 49 6e 6c 69 6e 65 20 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 73 20 6c 69 6b 65 20 60 6d 61 72 .;Inline.HTML.elements.like.`mar
e1a0 6b 27 2c 20 60 63 69 74 65 27 2e 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 3c k',.`cite'..........(format."%s<
e1c0 25 73 25 73 3e 25 73 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 %s%s>%s</%s>%s".................
e1e0 74 72 69 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 trim-pre-tag.block-type.attr-str
e200 0a 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 .................contents.block-
e220 74 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 68 74 6d type.trim-post-tag))........(htm
e240 6c 35 2d 62 6c 6f 63 6b 2d 66 61 6e 63 79 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 l5-block-fancy.........(format."
e260 25 73 3c 25 73 25 73 3e 25 73 5c 6e 5c 6e 25 73 5c 6e 5c 6e 3c 2f 25 73 3e 25 73 22 0a 20 20 20 %s<%s%s>%s\n\n%s\n\n</%s>%s"....
e280 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 63 6b 2d .............trim-pre-tag.block-
e2a0 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 20 28 6f type.attr-str.................(o
e2c0 72 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 rg-blackfriday--extra-div-hack.i
e2e0 6e 66 6f 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 20 20 nfo.block-type).................
e300 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 61 contents.block-type.trim-post-ta
e320 67 29 29 0a 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 28 69 66 20 28 6f 72 20 28 6f g))........(t.........(if.(or.(o
e340 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 74 72 69 6d 2d 70 72 65 2d 74 61 67 29 0a 20 20 20 rg-string-nw-p.trim-pre-tag)....
e360 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 6e 77 2d 70 20 74 72 .............(org-string-nw-p.tr
e380 69 6d 2d 70 6f 73 74 2d 74 61 67 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e im-post-tag)).............(progn
e3a0 20 3b 55 73 65 20 3c 73 70 61 6e 3e 20 74 61 67 20 69 66 20 61 6e 79 20 6f 66 20 74 68 65 20 74 .;Use.<span>.tag.if.any.of.the.t
e3c0 72 69 6d 6d 69 6e 67 20 6f 70 74 69 6f 6e 73 20 69 73 20 65 6e 61 62 6c 65 64 2e 0a 20 20 20 20 rimming.options.is.enabled......
e3e0 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 3c 73 70 61 6e 25 73 3e 25 73 3c ..........(format."%s<span%s>%s<
e400 2f 73 70 61 6e 3e 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 /span>%s".......................
e420 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 61 74 74 72 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 trim-pre-tag.attr-str...........
e440 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 2d 70 6f 73 74 2d 74 ............contents.trim-post-t
e460 61 67 29 0a 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 28 70 ag)...............)...........(p
e480 72 6f 67 6e 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 55 73 65 rogn........................;Use
e4a0 20 3c 64 69 76 3e 20 74 61 67 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 20 20 20 20 20 20 20 .<div>.tag.otherwise............
e4c0 20 20 28 66 6f 72 6d 61 74 20 22 25 73 3c 64 69 76 25 73 3e 25 73 5c 6e 5c 6e 25 73 5c 6e 5c 6e ..(format."%s<div%s>%s\n\n%s\n\n
e4e0 3c 2f 64 69 76 3e 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 </div>%s".....................tr
e500 69 6d 2d 70 72 65 2d 74 61 67 20 61 74 74 72 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 im-pre-tag.attr-str.............
e520 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 65 78 74 72 61 2d ........(org-blackfriday--extra-
e540 64 69 76 2d 68 61 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 div-hack.info)..................
e560 20 20 20 63 6f 6e 74 65 6e 74 73 20 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 29 29 29 29 29 29 29 ...contents.trim-post-tag)))))))
e580 29 0a 0a 3b 3b 3b 3b 20 53 72 63 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 )..;;;;.Src.Block.(defun.org-bla
e5a0 63 6b 66 72 69 64 61 79 2d 73 72 63 2d 62 6c 6f 63 6b 20 28 73 72 63 2d 62 6c 6f 63 6b 20 5f 63 ckfriday-src-block.(src-block._c
e5c0 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 53 52 43 2d 42 ontents.info)..."Transcode.SRC-B
e5e0 4c 4f 43 4b 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 LOCK.element.into.Blackfriday.Ma
e600 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 rkdown.format...INFO.is.a.plist.
e620 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.
e640 22 0a 20 20 28 6c 65 74 2a 20 28 28 6c 61 6e 67 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 "...(let*.((lang.(org-element-pr
e660 6f 70 65 72 74 79 20 3a 6c 61 6e 67 75 61 67 65 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 operty.:language.src-block))....
e680 20 20 20 20 20 20 28 6c 61 6e 67 20 28 6f 72 20 28 63 64 72 20 28 61 73 73 6f 63 20 6c 61 6e 67 ......(lang.(or.(cdr.(assoc.lang
e6a0 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 69 67 68 .org-blackfriday-syntax-highligh
e6c0 74 69 6e 67 2d 6c 61 6e 67 73 29 29 20 6c 61 6e 67 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f ting-langs)).lang))..........(co
e6e0 64 65 20 28 6f 72 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 29 de.(or.(plist-get.info.:md-code)
e700 20 3b 69 66 20 73 65 74 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 27 .;if.set.in.`org-hugo-src-block'
e720 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 65 78 70 6f 72 74 2d ....................(org-export-
e740 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 6e format-code-default.src-block.in
e760 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 20 28 70 fo)))..........(code-attr.(if.(p
e780 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 3b 69 66 list-get.info.:md-code-attr).;if
e7a0 20 73 65 74 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 27 0a 20 20 20 .set.in.`org-hugo-src-block'....
e7c0 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 20 7b .....................(format.".{
e7e0 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 64 2d 63 6f 64 65 2d .%s.}".(plist-get.info.:md-code-
e800 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 22 22 29 attr))......................."")
e820 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 65 6c 65 6d 65 6e 74 20 28 6f 72 67 2d )..........(parent-element.(org-
e840 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 6e 74 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 export-get-parent.src-block))...
e860 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d 74 79 70 65 20 28 63 61 72 20 70 61 72 65 6e 74 2d .......(parent-type.(car.parent-
e880 65 6c 65 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6e 75 6d 2d 62 61 63 6b 74 69 63 6b element))..........(num-backtick
e8a0 73 2d 69 6e 2d 63 6f 64 65 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5e s-in-code.(when.(string-match."^
e8c0 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 5c 28 60 5c 5c 7b 33 2c 5c 5c 7d 5c 5c 29 22 20 63 6f 64 [[:blank:]]*\\(`\\{3,\\}\\)".cod
e8e0 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 20 e)..............................
e900 20 20 20 20 20 28 6c 65 6e 67 74 68 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 .....(length.(match-string-no-pr
e920 6f 70 65 72 74 69 65 73 20 31 20 63 6f 64 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 62 61 63 operties.1.code))))..........bac
e940 6b 74 69 63 6b 73 29 0a 20 20 20 20 3b 3b 20 49 6e 20 6f 72 64 65 72 20 74 6f 20 73 68 6f 77 20 kticks).....;;.In.order.to.show.
e960 74 68 65 20 63 6f 64 65 2d 66 65 6e 63 65 20 62 61 63 6b 74 69 63 6b 73 20 69 6e 20 61 20 63 6f the.code-fence.backticks.in.a.co
e980 64 65 2d 66 65 6e 63 65 64 20 63 6f 64 65 0a 20 20 20 20 3b 3b 20 62 6c 6f 63 6b 2c 20 79 6f 75 de-fenced.code.....;;.block,.you
e9a0 20 6e 65 65 64 20 74 6f 20 68 61 76 65 20 74 68 65 20 77 72 61 70 70 69 6e 67 20 63 6f 64 65 20 .need.to.have.the.wrapping.code.
e9c0 66 65 6e 63 65 20 74 6f 20 68 61 76 65 20 61 74 0a 20 20 20 20 3b 3b 20 6c 65 61 73 74 20 31 20 fence.to.have.at.....;;.least.1.
e9e0 6d 6f 72 65 20 62 61 63 6b 74 69 63 6b 20 69 6e 20 74 68 65 20 66 65 6e 63 65 20 63 6f 6d 70 61 more.backtick.in.the.fence.compa
ea00 72 65 64 20 74 6f 20 74 68 6f 73 65 20 69 6e 20 74 68 65 0a 20 20 20 20 3b 3b 20 62 65 69 6e 67 red.to.those.in.the.....;;.being
ea20 2d 77 72 61 70 70 65 64 20 63 6f 64 65 20 66 65 6e 63 65 2e 20 54 68 69 73 20 65 78 61 6d 70 6c -wrapped.code.fence..This.exampl
ea40 65 20 77 69 6c 6c 20 65 78 70 6c 61 69 6e 20 62 65 74 74 65 72 3a 0a 20 20 20 20 3b 3b 0a 20 20 e.will.explain.better:.....;;...
ea60 20 20 3b 3b 20 20 20 60 60 60 60 6d 64 0a 20 20 20 20 3b 3b 20 20 20 60 60 60 65 6d 61 63 73 2d ..;;...````md.....;;...```emacs-
ea80 6c 69 73 70 0a 20 20 20 20 3b 3b 20 20 20 28 6d 65 73 73 61 67 65 20 22 48 65 6c 6c 6f 22 29 0a lisp.....;;...(message."Hello").
eaa0 20 20 20 20 3b 3b 20 20 20 60 60 60 0a 20 20 20 20 3b 3b 20 20 20 60 60 60 60 0a 20 20 20 20 28 ....;;...```.....;;...````.....(
eac0 77 68 65 6e 20 28 61 6e 64 20 28 6e 75 6d 62 65 72 70 20 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 when.(and.(numberp.num-backticks
eae0 2d 69 6e 2d 63 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3c 3d 20 6f 72 67 -in-code)................(<=.org
eb00 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 61 63 -blackfriday--code-block-num-bac
eb20 6b 74 69 63 6b 73 20 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 2d 69 6e 2d 63 6f 64 65 29 29 0a 20 kticks.num-backticks-in-code))..
eb40 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 79 2d 2d 63 6f 64 65 .....(setq.org-blackfriday--code
eb60 2d 62 6c 6f 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 20 28 31 2b 20 6e 75 6d 2d 62 61 63 -block-num-backticks.(1+.num-bac
eb80 6b 74 69 63 6b 73 2d 69 6e 2d 63 6f 64 65 29 29 29 0a 20 20 20 20 28 73 65 74 71 20 62 61 63 6b kticks-in-code))).....(setq.back
eba0 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 69 64 ticks.(make-string.org-blackfrid
ebc0 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 60 29 ay--code-block-num-backticks.?`)
ebe0 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 20 73 72 63 2d 62 6c ).....;;.(message."[ox-bf.src-bl
ec00 6f 63 6b 20 44 42 47 5d 20 63 6f 64 65 3a 20 25 73 22 20 63 6f 64 65 29 0a 20 20 20 20 3b 3b 20 ock.DBG].code:.%s".code).....;;.
ec20 28 6d 65 73 73 61 67 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 (message."[ox-bf.src-block.DBG].
ec40 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 20 20 parent.type:.%S".parent-type)...
ec60 20 20 28 73 65 74 71 20 63 6f 64 65 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 69 ..(setq.code.(org-blackfriday--i
ec80 73 73 75 65 2d 32 33 39 2d 77 6f 72 6b 61 72 6f 75 6e 64 20 63 6f 64 65 20 70 61 72 65 6e 74 2d ssue-239-workaround.code.parent-
eca0 74 79 70 65 29 29 0a 20 20 20 20 28 70 72 6f 67 31 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 type)).....(prog1.........(forma
ecc0 74 20 22 25 73 25 73 25 73 5c 6e 25 73 25 73 22 20 62 61 63 6b 74 69 63 6b 73 20 6c 61 6e 67 20 t."%s%s%s\n%s%s".backticks.lang.
ece0 63 6f 64 65 2d 61 74 74 72 20 63 6f 64 65 20 62 61 63 6b 74 69 63 6b 73 29 0a 20 20 20 20 20 20 code-attr.code.backticks).......
ed00 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 6e 74 (when.(equal.'quote-block.parent
ed20 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 6e 74 -type).........;;.If.the.current
ed40 20 63 6f 64 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 20 62 6c .code.block.is.inside.a.quote.bl
ed60 6f 63 6b 2c 20 66 75 74 75 72 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 65 78 61 6d 70 6c 65 2f 63 ock,.future.........;;.example/c
ed80 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 20 ode.blocks.(especially.the.ones.
eda0 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 20 20 3b 3b 20 62 6c outside.this.quote.........;;.bl
edc0 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 6d 62 65 72 20 ock).will.require.higher.number.
ede0 6f 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 of.backticks...Workaround.......
ee00 20 20 3b 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 ..;;.for.https://github.com/russ
ee20 72 6f 73 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 ross/blackfriday/issues/407.....
ee40 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 79 2d 2d 63 6f 64 65 .....(setq.org-blackfriday--code
ee60 2d 62 6c 6f 63 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 -block-num-backticks............
ee80 20 20 20 28 31 2b 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 ...(1+.org-blackfriday--code-blo
eea0 63 6b 2d 6e 75 6d 2d 62 61 63 6b 74 69 63 6b 73 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 52 65 73 ck-num-backticks))).......;;.Res
eec0 65 74 20 74 68 65 20 74 65 6d 70 20 69 6e 66 6f 20 69 6e 20 74 68 65 20 60 69 6e 66 6f 27 20 70 et.the.temp.info.in.the.`info'.p
eee0 6c 69 73 74 2e 0a 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 list........(plist-put.info.:md-
ef00 63 6f 64 65 20 6e 69 6c 29 0a 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 code.nil).......(plist-put.info.
ef20 3a 6d 64 2d 63 6f 64 65 2d 61 74 74 72 20 6e 69 6c 29 29 29 29 0a 0a 3b 3b 3b 3b 20 53 74 72 69 :md-code-attr.nil))))..;;;;.Stri
ef40 6b 65 2d 54 68 72 6f 75 67 68 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 ke-Through.(defun.org-blackfrida
ef60 79 2d 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 20 28 5f 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 y-strike-through.(_strike-throug
ef80 68 20 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 73 h.contents._info)..."Transcode.s
efa0 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 20 74 65 78 74 20 69 6e 74 6f 20 42 6c 61 63 6b 66 72 69 trike-through.text.into.Blackfri
efc0 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 63 6f day.Markdown.format..CONTENTS.co
efe0 6e 74 61 69 6e 73 20 74 68 65 20 74 65 78 74 20 77 69 74 68 20 73 74 72 69 6b 65 2d 74 68 72 6f ntains.the.text.with.strike-thro
f000 75 67 68 20 6d 61 72 6b 75 70 2e 22 0a 20 20 28 66 6f 72 6d 61 74 20 22 7e 7e 25 73 7e 7e 22 20 ugh.markup."...(format."~~%s~~".
f020 63 6f 6e 74 65 6e 74 73 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 2d 43 65 6c 6c 0a 28 64 65 66 contents))..;;;;.Table-Cell.(def
f040 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 20 28 74 un.org-blackfriday-table-cell.(t
f060 61 62 6c 65 2d 63 65 6c 6c 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e able-cell.contents.info)..."Tran
f080 73 63 6f 64 65 20 54 41 42 4c 45 2d 43 45 4c 4c 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 42 6c scode.TABLE-CELL.element.into.Bl
f0a0 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 43 4f 4e 54 ackfriday.Markdown.format...CONT
f0c0 45 4e 54 53 20 69 73 20 63 6f 6e 74 65 6e 74 20 6f 66 20 74 68 65 20 63 65 6c 6c 2e 20 20 49 4e ENTS.is.content.of.the.cell...IN
f0e0 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 6f 6d 6d 75 6e 69 63 FO.is.a.plist.used.as.a.communic
f100 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b ation.channel."...;;.(message."[
f120 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 63 65 6c 6c 20 44 42 47 5d 22 29 0a 20 20 3b 3b 20 28 6d 65 ox-bf-table-cell.DBG]")...;;.(me
f140 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 2d 63 65 6c 6c 20 44 42 47 5d 20 49 6e ssage."[ox-bf-table-cell.DBG].In
f160 20 63 6f 6e 74 65 6e 74 73 3a 20 25 73 22 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 28 6c 65 74 2a .contents:.%s".contents)...(let*
f180 20 28 28 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 2d .((table.(org-export-get-parent-
f1a0 74 61 62 6c 65 20 74 61 62 6c 65 2d 63 65 6c 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6c table.table-cell))..........(col
f1c0 75 6d 6e 20 28 63 64 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d umn.(cdr.(org-export-table-cell-
f1e0 61 64 64 72 65 73 73 20 74 61 62 6c 65 2d 63 65 6c 6c 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 address.table-cell.info)))......
f200 20 20 20 20 28 77 69 64 74 68 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c ....(width.(org-blackfriday-tabl
f220 65 2d 63 6f 6c 2d 77 69 64 74 68 20 74 61 62 6c 65 20 63 6f 6c 75 6d 6e 20 69 6e 66 6f 29 29 0a e-col-width.table.column.info)).
f240 20 20 20 20 20 20 20 20 20 28 6c 65 66 74 2d 62 6f 72 64 65 72 20 28 69 66 20 28 6f 72 67 2d 65 .........(left-border.(if.(org-e
f260 78 70 6f 72 74 2d 74 61 62 6c 65 2d 63 65 6c 6c 2d 73 74 61 72 74 73 2d 63 6f 6c 67 72 6f 75 70 xport-table-cell-starts-colgroup
f280 2d 70 20 74 61 62 6c 65 2d 63 65 6c 6c 20 69 6e 66 6f 29 20 22 7c 20 22 20 22 20 22 29 29 0a 20 -p.table-cell.info)."|."."."))..
f2a0 20 20 20 20 20 20 20 20 28 72 69 67 68 74 2d 62 6f 72 64 65 72 20 22 20 7c 22 29 0a 20 20 20 20 ........(right-border.".|").....
f2c0 20 20 20 20 20 28 64 61 74 61 20 28 6f 72 20 63 6f 6e 74 65 6e 74 73 20 22 22 29 29 0a 20 20 20 .....(data.(or.contents.""))....
f2e0 20 20 20 20 20 20 28 63 65 6c 6c 20 28 63 6f 6e 63 61 74 20 6c 65 66 74 2d 62 6f 72 64 65 72 0a ......(cell.(concat.left-border.
f300 20 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 61 0a 20 20 20 20 .......................data.....
f320 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 74 72 69 6e 67 20 ...................(make-string.
f340 28 6d 61 78 20 30 20 28 2d 20 77 69 64 74 68 20 28 73 74 72 69 6e 67 2d 77 69 64 74 68 20 64 61 (max.0.(-.width.(string-width.da
f360 74 61 29 29 29 20 3f 5c 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ta))).?\s)......................
f380 20 20 72 69 67 68 74 2d 62 6f 72 64 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 65 6c 6c 2d ..right-border))..........(cell-
f3a0 77 69 64 74 68 20 28 6c 65 6e 67 74 68 20 63 65 6c 6c 29 29 29 0a 20 20 20 20 3b 3b 20 4a 75 73 width.(length.cell))).....;;.Jus
f3c0 74 20 63 61 6c 6c 69 6e 67 20 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 t.calling.`org-blackfriday-table
f3e0 2d 63 65 6c 6c 2d 61 6c 69 67 6e 6d 65 6e 74 27 20 77 69 6c 6c 20 73 61 76 65 0a 20 20 20 20 3b -cell-alignment'.will.save.....;
f400 3b 20 74 68 65 20 61 6c 69 67 6e 6d 65 6e 74 20 69 6e 66 6f 20 66 6f 72 20 74 68 65 20 63 75 72 ;.the.alignment.info.for.the.cur
f420 72 65 6e 74 20 63 65 6c 6c 2f 63 6f 6c 75 6d 6e 20 74 6f 20 74 68 65 20 49 4e 46 4f 0a 20 20 20 rent.cell/column.to.the.INFO....
f440 20 3b 3b 20 63 68 61 6e 6e 65 6c 2e 2e 20 6d 61 67 69 63 21 0a 20 20 20 20 28 6f 72 67 2d 62 6c .;;.channel...magic!.....(org-bl
f460 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 20 74 ackfriday-table-cell-alignment.t
f480 61 62 6c 65 2d 63 65 6c 6c 20 69 6e 66 6f 29 0a 20 20 20 20 3b 3b 20 45 61 63 68 20 63 65 6c 6c able-cell.info).....;;.Each.cell
f4a0 20 6e 65 65 64 73 20 74 6f 20 62 65 20 61 74 20 6c 65 61 73 74 20 33 20 63 68 61 72 61 63 74 65 .needs.to.be.at.least.3.characte
f4c0 72 73 20 77 69 64 65 20 28 34 20 63 68 61 72 73 2c 0a 20 20 20 20 3b 3b 20 69 6e 63 6c 75 64 69 rs.wide.(4.chars,.....;;.includi
f4e0 6e 67 20 74 68 65 20 74 61 62 6c 65 20 62 6f 72 64 65 72 20 63 68 61 72 20 22 7c 22 29 2c 20 6f ng.the.table.border.char."|"),.o
f500 74 68 65 72 77 69 73 65 0a 20 20 20 20 3b 3b 20 48 75 67 6f 2f 42 6c 61 63 6b 66 72 69 64 61 79 therwise.....;;.Hugo/Blackfriday
f520 20 64 6f 65 73 20 6e 6f 74 20 72 65 6e 64 65 72 20 74 68 61 74 20 61 73 20 61 20 74 61 62 6c 65 .does.not.render.that.as.a.table
f540 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 3c 20 63 65 6c 6c 2d 77 69 64 74 68 20 34 29 0a 20 20 20 ......(when.(<.cell-width.4)....
f560 20 20 20 28 73 65 74 71 20 63 65 6c 6c 20 28 63 6f 6e 63 61 74 20 28 6d 61 6b 65 2d 73 74 72 69 ...(setq.cell.(concat.(make-stri
f580 6e 67 20 28 2d 20 34 20 63 65 6c 6c 2d 77 69 64 74 68 29 20 3f 20 29 20 63 65 6c 6c 29 29 29 0a ng.(-.4.cell-width).?.).cell))).
f5a0 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 65 2d 63 65 ....;;.(message."[ox-bf-table-ce
f5c0 6c 6c 20 44 42 47 5d 20 43 65 6c 6c 3a 5c 6e 25 73 22 20 63 65 6c 6c 29 0a 20 20 20 20 63 65 6c ll.DBG].Cell:\n%s".cell).....cel
f5e0 6c 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 2d 52 6f 77 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 l))..;;;;.Table-Row.(defun.org-b
f600 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 72 6f 77 20 28 74 61 62 6c 65 2d 72 6f 77 20 lackfriday-table-row.(table-row.
f620 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 54 41 42 4c contents.info)..."Transcode.TABL
f640 45 2d 52 4f 57 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 E-ROW.element.into.Blackfriday.M
f660 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 63 65 6c arkdown.format...CONTENTS.is.cel
f680 6c 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 54 41 42 4c 45 2d 52 4f 57 2e 20 20 49 4e 46 4f 20 69 l.contents.of.TABLE-ROW...INFO.i
f6a0 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 6f s.a.plist.used.as.a.communicatio
f6c0 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 n.channel."...;;.(message."[ox-b
f6e0 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 22 29 0a 20 20 28 6c 65 74 2a 20 28 28 74 61 62 f-table-row.DBG]")...(let*.((tab
f700 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 2d 74 61 62 6c 65 20 le.(org-export-get-parent-table.
f720 74 61 62 6c 65 2d 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 6f 77 2d 6e 75 6d 20 28 63 table-row))..........(row-num.(c
f740 6c 2d 70 6f 73 69 74 69 6f 6e 20 20 20 20 20 20 20 20 20 20 3b 42 65 67 69 6e 73 20 77 69 74 68 l-position..........;Begins.with
f760 20 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 2d 72 6f 77 0a .0....................table-row.
f780 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 6e 74 2d ...................(org-element-
f7a0 6d 61 70 20 74 61 62 6c 65 20 27 74 61 62 6c 65 2d 72 6f 77 20 23 27 69 64 65 6e 74 69 74 79 20 map.table.'table-row.#'identity.
f7c0 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 6f 77 20 63 6f 6e 74 65 6e 74 73 29 29 info)))..........(row.contents))
f7e0 20 3b 49 66 20 43 4f 4e 54 45 4e 54 53 20 69 73 20 60 6e 69 6c 27 2c 20 72 6f 77 20 68 61 73 20 .;If.CONTENTS.is.`nil',.row.has.
f800 74 6f 20 62 65 20 72 65 74 75 72 6e 65 64 20 61 73 20 60 6e 69 6c 27 20 74 6f 6f 0a 20 20 20 20 to.be.returned.as.`nil'.too.....
f820 3b 3b 20 52 65 73 65 74 20 74 68 65 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 20 77 68 65 6e ;;.Reset.the.state.variable.when
f840 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 20 69 73 0a 20 .the.first.row.of.the.table.is..
f860 20 20 20 3b 3b 20 72 65 63 65 69 76 65 64 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 65 71 20 30 20 ...;;.received......(when.(eq.0.
f880 72 6f 77 2d 6e 75 6d 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 62 6c 61 63 6b 66 72 row-num).......(setq.org-blackfr
f8a0 69 64 61 79 2d 2d 68 72 75 6c 65 2d 69 6e 73 65 72 74 65 64 20 6e 69 6c 29 29 0a 0a 20 20 20 20 iday--hrule-inserted.nil))......
f8c0 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 42 ;;.(message."[ox-bf-table-row.DB
f8e0 47 5d 20 52 6f 77 20 23 20 25 30 64 20 49 6e 20 63 6f 6e 74 65 6e 74 73 3a 20 25 73 2c 5c 6e 74 G].Row.#.%0d.In.contents:.%s,\nt
f900 61 62 6c 65 2d 72 6f 77 3a 20 25 53 22 20 72 6f 77 2d 6e 75 6d 20 63 6f 6e 74 65 6e 74 73 20 74 able-row:.%S".row-num.contents.t
f920 61 62 6c 65 2d 72 6f 77 29 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 72 6f 77 0a 20 20 20 able-row).....(when.(and.row....
f940 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 20 27 72 75 6c 65 20 28 6f 72 67 2d 65 6c 65 6d 65 ............(eq.'rule.(org-eleme
f960 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 74 61 62 6c 65 2d 72 6f 77 29 29 0a 20 20 nt-property.:type.table-row))...
f980 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 20 42 6c 61 63 6b 66 72 69 64 61 79 2c 20 .............;;.In.Blackfriday,.
f9a0 72 75 6c 65 20 69 73 20 76 61 6c 69 64 20 6f 6e 6c 79 20 61 74 20 73 65 63 6f 6e 64 20 72 6f 77 rule.is.valid.only.at.second.row
f9c0 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 20 31 20 72 6f 77 2d 6e 75 6d 29 29 .................(eq.1.row-num))
f9e0 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 6f 6c 73 20 28 63 64 72 20 28 6f 72 67 2d 65 78 70 .......(let.((cols.(cdr.(org-exp
fa00 6f 72 74 2d 74 61 62 6c 65 2d 64 69 6d 65 6e 73 69 6f 6e 73 20 74 61 62 6c 65 20 69 6e 66 6f 29 ort-table-dimensions.table.info)
fa20 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 6f 77 20 28 63 6f 6e 63 61 74 20 6f 72 ))).........(setq.row.(concat.or
fa40 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 6c 65 66 74 2d 62 6f 72 64 65 72 0a g-blackfriday-table-left-border.
fa60 20 20 20 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 ..........................(mapco
fa80 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............................
faa0 28 6c 61 6d 62 64 61 20 28 63 6f 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 (lambda.(col)...................
fac0 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 61 78 2d 77 69 64 74 68 20 28 6d 61 78 ...........(let.((max-width.(max
fae0 20 33 20 28 2b 20 31 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 63 .3.(+.1.(org-blackfriday-table-c
fb00 6f 6c 2d 77 69 64 74 68 20 74 61 62 6c 65 20 63 6f 6c 20 69 6e 66 6f 29 29 29 29 29 0a 20 20 20 ol-width.table.col.info)))))....
fb20 20 20 20 20 20 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 ............................(mak
fb40 65 2d 73 74 72 69 6e 67 20 6d 61 78 2d 77 69 64 74 68 20 3f 2d 29 29 29 0a 20 20 20 20 20 20 20 e-string.max-width.?-)))........
fb60 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 73 65 71 75 ....................(number-sequ
fb80 65 6e 63 65 20 30 20 28 2d 20 63 6f 6c 73 20 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ence.0.(-.cols.1))..............
fba0 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 2d 74 61 ..............org-blackfriday-ta
fbc0 62 6c 65 2d 73 65 70 61 72 61 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ble-separator)..................
fbe0 20 20 20 20 20 20 20 20 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 2d 72 .........org-blackfriday-table-r
fc00 69 67 68 74 2d 62 6f 72 64 65 72 29 29 29 29 0a 0a 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 66 ight-border))))......;;.If.the.f
fc20 69 72 73 74 20 74 61 62 6c 65 20 72 6f 77 20 69 73 20 22 61 62 63 20 7c 20 64 65 66 22 2c 20 69 irst.table.row.is."abc.|.def",.i
fc40 74 20 6e 65 65 64 73 20 74 6f 20 68 61 76 65 20 61 20 72 75 6c 65 0a 20 20 20 20 3b 3b 20 75 6e t.needs.to.have.a.rule.....;;.un
fc60 64 65 72 20 69 74 20 66 6f 72 20 42 6c 61 63 6b 66 72 69 64 61 79 20 74 6f 20 64 65 74 65 63 74 der.it.for.Blackfriday.to.detect
fc80 20 74 68 65 20 77 68 6f 6c 65 20 6f 62 6a 65 63 74 20 61 73 20 61 20 74 61 62 6c 65 2e 0a 20 20 .the.whole.object.as.a.table....
fca0 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 72 6f 77 29 0a 20 20 20 20 20 ..(when.(and.(stringp.row)......
fcc0 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d ..........(null.org-blackfriday-
fce0 2d 68 72 75 6c 65 2d 69 6e 73 65 72 74 65 64 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 -hrule-inserted)).......;;.(mess
fd00 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 72 6f 77 3a 20 age."[ox-bf-table-row.DBG].row:.
fd20 25 73 22 20 72 6f 77 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 72 75 6c 65 20 28 72 65 70 6c %s".row).......(let.((rule.(repl
fd40 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5e 7c 5d 22 20 22 2d 22 20 ace-regexp-in-string."[^|]"."-".
fd60 72 6f 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 73 20 30 29 0a 20 20 20 20 20 20 row)).............(pos.0).......
fd80 20 20 20 20 20 20 28 6e 65 77 2d 72 75 6c 65 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 ......(new-rule."").............
fda0 6d 61 74 63 68 65 73 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 matches).........;;.(message."[o
fdc0 78 2d 62 66 2d 74 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 72 75 6c 65 3a 20 25 73 22 20 72 75 x-bf-table-row.DBG].rule:.%s".ru
fde0 6c 65 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 65 6d 61 63 73 2e 73 74 61 le).........;;.https://emacs.sta
fe00 63 6b 65 78 63 68 61 6e 67 65 2e 63 6f 6d 2f 61 2f 37 31 35 30 2f 31 31 35 0a 20 20 20 20 20 20 ckexchange.com/a/7150/115.......
fe20 20 20 28 77 68 69 6c 65 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 7c 2d 2b 22 20 72 75 6c ..(while.(string-match."|-+".rul
fe40 65 20 70 6f 73 29 0a 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 6d 61 74 63 68 2d 73 74 e.pos)...........(push.(match-st
fe60 72 69 6e 67 20 30 20 72 75 6c 65 29 20 6d 61 74 63 68 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 ring.0.rule).matches)...........
fe80 28 73 65 74 71 20 70 6f 73 20 28 6d 61 74 63 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 20 (setq.pos.(match-end.0))).......
fea0 20 20 28 73 65 74 71 20 6d 61 74 63 68 65 73 20 28 6e 72 65 76 65 72 73 65 20 6d 61 74 63 68 65 ..(setq.matches.(nreverse.matche
fec0 73 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 47 65 74 20 74 68 65 20 61 6c 69 67 6e 2d 76 65 63 s)).........;;.Get.the.align-vec
fee0 74 6f 72 20 74 68 61 74 20 77 61 73 20 73 61 76 65 64 20 69 6e 20 74 68 65 20 49 4e 46 4f 20 63 tor.that.was.saved.in.the.INFO.c
ff00 68 61 6e 6e 65 6c 20 69 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 62 6c 61 63 6b 66 hannel.in.........;;.`org-blackf
ff20 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 2e 0a 20 20 20 riday-table-cell-alignment'.....
ff40 20 20 20 20 20 28 6c 65 74 2a 20 28 28 61 6c 69 67 6e 6d 65 6e 74 2d 63 61 63 68 65 20 28 70 6c .....(let*.((alignment-cache.(pl
ff60 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 61 6c 69 67 6e 6d 65 ist-get.info.:table-cell-alignme
ff80 6e 74 2d 63 61 63 68 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6c 69 67 6e nt-cache))................(align
ffa0 2d 76 65 63 74 6f 72 20 28 67 65 74 68 61 73 68 20 74 61 62 6c 65 20 61 6c 69 67 6e 6d 65 6e 74 -vector.(gethash.table.alignment
ffc0 2d 63 61 63 68 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6c 20 30 29 29 -cache))................(col.0))
ffe0 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 ...........;;.(message."[ox-bf-t
10000 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 61 6c 69 67 6e 2d 76 65 63 74 6f 72 3a 20 25 53 22 20 able-row.DBG].align-vector:.%S".
10020 61 6c 69 67 6e 2d 76 65 63 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 align-vector)...........(dolist.
10040 28 6d 61 74 63 68 20 6d 61 74 63 68 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 (match.matches).............(let
10060 20 28 28 61 6c 69 67 6e 20 28 61 72 65 66 20 61 6c 69 67 6e 2d 76 65 63 74 6f 72 20 63 6f 6c 29 .((align.(aref.align-vector.col)
10080 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 61 ))...............(when.(member.a
100a0 6c 69 67 6e 20 27 28 6c 65 66 74 20 63 65 6e 74 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 lign.'(left.center))............
100c0 20 20 20 20 20 28 73 65 74 71 20 6d 61 74 63 68 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 .....(setq.match.(replace-regexp
100e0 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 7c 2d 22 20 22 7c 3a 22 20 6d 61 74 63 68 29 29 29 -in-string."\\`|-"."|:".match)))
10100 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 61 6c 69 ...............(when.(member.ali
10120 67 6e 20 27 28 72 69 67 68 74 20 63 65 6e 74 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 gn.'(right.center)).............
10140 20 20 20 20 28 73 65 74 71 20 6d 61 74 63 68 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d ....(setq.match.(replace-regexp-
10160 69 6e 2d 73 74 72 69 6e 67 20 22 2d 5c 5c 27 22 20 22 3a 22 20 6d 61 74 63 68 29 29 29 29 0a 20 in-string."-\\'".":".match))))..
10180 20 20 20 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 63 61 ...........(setq.new-rule.(conca
101a0 74 20 6e 65 77 2d 72 75 6c 65 20 6d 61 74 63 68 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 t.new-rule.match)).............(
101c0 73 65 74 71 20 63 6f 6c 20 28 31 2b 20 63 6f 6c 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 setq.col.(1+.col)))).........(se
101e0 74 71 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 22 7c 22 tq.new-rule.(concat.new-rule."|"
10200 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 78 2d 62 66 2d 74 )).........;;.(message."[ox-bf-t
10220 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 6e 65 77 2d 72 75 6c 65 3a 20 25 73 22 20 6e 65 77 2d able-row.DBG].new-rule:.%s".new-
10240 72 75 6c 65 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 6f 77 20 28 63 6f 6e 63 61 74 20 rule).........(setq.row.(concat.
10260 72 6f 77 20 22 5c 6e 22 20 6e 65 77 2d 72 75 6c 65 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 row."\n".new-rule)).........(set
10280 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 72 74 65 q.org-blackfriday--hrule-inserte
102a0 64 20 74 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 62 66 2d 74 d.t))).....;;.(message."[ox-bf-t
102c0 61 62 6c 65 2d 72 6f 77 20 44 42 47 5d 20 52 6f 77 3a 5c 6e 25 73 22 20 72 6f 77 29 0a 20 20 20 able-row.DBG].Row:\n%s".row)....
102e0 20 72 6f 77 29 29 0a 0a 3b 3b 3b 3b 20 54 61 62 6c 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c .row))..;;;;.Table.(defun.org-bl
10300 61 63 6b 66 72 69 64 61 79 2d 74 61 62 6c 65 20 28 74 61 62 6c 65 20 63 6f 6e 74 65 6e 74 73 20 ackfriday-table.(table.contents.
10320 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 54 41 42 4c 45 20 65 6c 65 6d 65 6e 74 info)..."Transcode.TABLE.element
10340 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 6d 61 .into.Blackfriday.Markdown.forma
10360 74 2e 0a 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 t...CONTENTS.is.contents.of.the.
10380 74 61 62 6c 65 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 67 0a table...INFO.is.a.plist.holding.
103a0 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 20 28 6d contextual.information."...;;.(m
103c0 65 73 73 61 67 65 20 22 5b 6f 78 2d 62 66 2d 74 61 62 6c 65 20 44 42 47 5d 20 49 6e 20 63 6f 6e essage."[ox-bf-table.DBG].In.con
103e0 74 65 6e 74 73 3a 20 25 73 22 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 28 69 66 20 28 65 71 20 28 tents:.%s".contents)...(if.(eq.(
10400 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 74 61 62 6c 65 org-element-property.:type.table
10420 29 20 27 74 61 62 6c 65 2e 65 6c 29 0a 20 20 20 20 20 20 3b 3b 20 22 74 61 62 6c 65 2e 65 6c 22 ).'table.el).......;;."table.el"
10440 20 74 61 62 6c 65 2e 20 20 43 6f 6e 76 65 72 74 20 69 74 20 75 73 69 6e 67 20 61 70 70 72 6f 70 .table...Convert.it.using.approp
10460 72 69 61 74 65 20 74 6f 6f 6c 73 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 62 6c 20 28 6f riate.tools........(let.((tbl.(o
10480 72 67 2d 68 74 6d 6c 2d 74 61 62 6c 65 2d 2d 74 61 62 6c 65 2e 65 6c 2d 74 61 62 6c 65 20 74 61 rg-html-table--table.el-table.ta
104a0 62 6c 65 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d 72 65 67 ble.info))).........(replace-reg
104c0 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 22 5c 5c 28 3c 21 2d 2d 20 exp-in-string.........."\\(<!--.
104e0 54 68 69 73 20 48 54 4d 4c 20 74 61 62 6c 65 20 74 65 6d 70 6c 61 74 65 20 69 73 20 67 65 6e 65 This.HTML.table.template.is.gene
10500 72 61 74 65 64 20 62 79 20 65 6d 61 63 73 5c 5c 29 20 2e 2a 5c 5c 28 20 2d 2d 3e 5c 6e 5c 5c 29 rated.by.emacs\\)..*\\(.-->\n\\)
10520 22 20 22 5c 5c 31 2f 74 61 62 6c 65 2e 65 6c 5c 5c 32 22 20 74 62 6c 29 29 0a 20 20 20 20 3b 3b "."\\1/table.el\\2".tbl)).....;;
10540 20 53 74 61 6e 64 61 72 64 20 74 61 62 6c 65 2e 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 72 6f 77 .Standard.table......(let*.((row
10560 73 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 2d s.(org-element-map.table.'table-
10580 72 6f 77 20 27 69 64 65 6e 74 69 74 79 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 row.'identity.info))............
105a0 28 6e 6f 2d 68 65 61 64 65 72 20 28 3d 20 28 6c 65 6e 67 74 68 20 72 6f 77 73 29 20 31 29 29 20 (no-header.(=.(length.rows).1)).
105c0 3b 4e 6f 20 68 65 61 64 65 72 20 69 66 20 74 61 62 6c 65 20 68 61 73 20 6a 75 73 74 20 31 20 72 ;No.header.if.table.has.just.1.r
105e0 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 72 65 66 20 28 6f 72 67 2d 62 6c ow............(table-ref.(org-bl
10600 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 74 61 62 6c 65 29 29 ackfriday--get-reference.table))
10620 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 61 6e 63 68 6f 72 20 28 69 66 20 74 61 ............(table-anchor.(if.ta
10640 62 6c 65 2d 72 65 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ble-ref.........................
10660 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 69 64 3d 5c 22 25 73 5c 22 3e 3c 2f 61 3e 5c .....(format."<a.id=\"%s\"></a>\
10680 6e 22 20 74 61 62 6c 65 2d 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 n".table-ref)...................
106a0 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 28 63 61 70 74 69 6f .........""))............(captio
106c0 6e 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 74 61 62 6c 65 29 n.(org-export-get-caption.table)
106e0 29 0a 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 2d 6e 75 6d 0a 20 20 20 20 20 20 20 20 20 )............table-num..........
10700 20 20 28 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 22 29 0a 20 ..(blank-line-before-table."")..
10720 20 20 20 20 20 20 20 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 ..........(caption-html.(if.(not
10740 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 20 .caption).......................
10760 20 20 20 20 20 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 ......."".......................
10780 20 20 20 20 20 28 6c 65 74 20 28 28 63 61 70 74 69 6f 6e 2d 70 72 65 66 69 78 20 28 6f 72 67 2d .....(let.((caption-prefix.(org-
107a0 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 74 72 61 6e 73 6c 61 74 65 20 27 74 61 62 6c 65 20 69 6e blackfriday--translate.'table.in
107c0 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 fo))............................
107e0 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ......(caption-str..............
10800 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 74 6d 6c 2d 63 .....................(org-html-c
10820 6f 6e 76 65 72 74 2d 73 70 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 20 3b 49 6e 74 65 72 70 72 65 onvert-special-strings.;Interpre
10840 74 20 65 6d 2d 64 61 73 68 2c 20 65 6e 2d 64 61 73 68 2c 20 65 74 63 2e 0a 20 20 20 20 20 20 20 t.em-dash,.en-dash,.etc.........
10860 20 20 20 20 20 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
10880 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 63 61 70 74 69 6f -export-data-with-backend.captio
108a0 6e 20 27 68 74 6d 6c 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 n.'html.info))))................
108c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 62 6c 65 2d 6e 75 6d 20 28 6f ..............(setq.table-num.(o
108e0 72 67 2d 65 78 70 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 rg-export-get-ordinal...........
10900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
10920 20 20 20 20 74 61 62 6c 65 20 69 6e 66 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....table.info..................
10940 20 20 20 20 20 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
10960 20 23 27 6f 72 67 2d 68 74 6d 6c 2d 2d 68 61 73 2d 63 61 70 74 69 6f 6e 2d 70 29 29 0a 20 20 20 .#'org-html--has-caption-p))....
10980 20 20 20 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
109a0 74 20 28 63 6f 6e 63 61 74 20 22 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 74 61 62 6c 65 2d 63 61 t.(concat."<div.class=\"table-ca
109c0 70 74 69 6f 6e 5c 22 3e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ption\">\n".....................
109e0 20 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 3c 73 70 61 ........................."..<spa
10a00 6e 20 63 6c 61 73 73 3d 5c 22 74 61 62 6c 65 2d 6e 75 6d 62 65 72 5c 22 3e 25 73 3a 3c 2f 73 70 n.class=\"table-number\">%s:</sp
10a20 61 6e 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 20 20 20 20 20 an>\n"..........................
10a40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 20 25 73 5c 6e 22 0a 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 20 20 20 20 20 20 ................................
10a80 20 20 20 20 20 20 20 20 20 20 22 3c 2f 64 69 76 3e 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 20 20 .........."</div>\n")...........
10aa0 20 20 20 20 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 74 ...........................(if.t
10ac0 61 62 6c 65 2d 72 65 66 20 3b 48 79 70 65 72 6c 69 6e 6b 20 74 68 65 20 74 61 62 6c 65 20 70 72 able-ref.;Hyperlink.the.table.pr
10ae0 65 66 69 78 20 2b 20 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 efix.+.number...................
10b00 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."
10b20 3c 61 20 68 72 65 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 <a.href=\"#%s\">%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 20 20 20 20 ................................
10b60 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 2d 72 65 66 20 63 61 70 74 69 6f 6e 2d 70 72 ............table-ref.caption-pr
10b80 65 66 69 78 20 74 61 62 6c 65 2d 6e 75 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 efix.table-num).................
10ba0 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."
10bc0 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"..........................
10be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 70 74 69 6f 6e 2d 70 72 ......................caption-pr
10c00 65 66 69 78 20 74 61 62 6c 65 2d 6e 75 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 efix.table-num))................
10c20 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 73 74 ......................caption-st
10c40 72 29 29 29 29 0a 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 r))))............(attr.(org-expo
10c60 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 74 61 62 rt-read-attribute.:attr_html.tab
10c80 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 41 74 20 74 68 65 20 6d 6f 6d 65 6e 74 le))............;;.At.the.moment
10ca0 20 6f 6e 6c 79 20 74 68 65 20 60 63 6c 61 73 73 27 20 61 74 74 72 69 62 75 74 65 20 69 73 20 73 .only.the.`class'.attribute.is.s
10cc0 75 70 70 6f 72 74 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 23 2b 61 74 74 72 upported.in............;;.#+attr
10ce0 5f 68 74 6d 6c 20 61 62 6f 76 65 20 74 61 62 6c 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 28 _html.above.tables.............(
10d00 74 61 62 6c 65 2d 63 6c 61 73 73 2d 75 73 65 72 20 28 70 6c 69 73 74 2d 67 65 74 20 61 74 74 72 table-class-user.(plist-get.attr
10d20 20 3a 63 6c 61 73 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 63 6c 61 73 .:class))............(table-clas
10d40 73 2d 61 75 74 6f 20 28 63 6f 6e 63 61 74 20 22 74 61 62 6c 65 2d 22 0a 20 20 20 20 20 20 20 20 s-auto.(concat."table-".........
10d60 20 20 20 20 20 20 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
10d80 20 74 61 62 6c 65 2d 6e 75 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .table-num......................
10da0 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 64 22 ....................(format."%d"
10dc0 20 74 61 62 6c 65 2d 6e 75 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .table-num).....................
10de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6e 6f 63 61 70 74 69 6f 6e 22 29 29 ..................."nocaption"))
10e00 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 63 6c 61 73 73 20 28 6f 72 20 74 61 )............(table-class.(or.ta
10e20 62 6c 65 2d 63 6c 61 73 73 2d 75 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ble-class-user..................
10e40 20 20 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 2d 63 6c 61 73 73 2d 61 75 74 6f 29 29 0a 20 20 ...........table-class-auto))...
10e60 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 75 73 65 72 20 68 61 73 20 73 70 65 63 69 66 69 65 .........;;.If.user.has.specifie
10e80 64 20 6d 75 6c 74 69 70 6c 65 20 63 6c 61 73 73 65 73 20 66 6f 72 20 74 68 65 20 74 61 62 6c 65 d.multiple.classes.for.the.table
10ea0 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 73 70 61 63 65 2d 73 65 70 61 72 61 74 65 64 29 ............;;.(space-separated)
10ec0 2c 20 75 73 65 20 6f 6e 6c 79 20 74 68 65 20 66 69 72 73 74 20 63 6c 61 73 73 20 69 6e 20 74 68 ,.use.only.the.first.class.in.th
10ee0 61 74 20 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 6f 20 73 70 65 63 69 66 79 at.list............;;.to.specify
10f00 69 6e 67 20 74 68 65 20 73 74 79 6c 69 6e 67 20 69 6e 20 74 68 65 20 3c 73 74 79 6c 65 3e 20 74 ing.the.styling.in.the.<style>.t
10f20 61 67 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 74 68 69 73 ag.............(table-class-this
10f40 20 28 63 61 72 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 74 61 62 6c 65 2d 63 6c 61 73 73 29 .(car.(split-string.table-class)
10f60 29 29 0a 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 77 33 73 ))............;;.https://www.w3s
10f80 63 68 6f 6f 6c 73 2e 63 6f 6d 2f 63 73 73 2f 63 73 73 5f 74 61 62 6c 65 2e 61 73 70 0a 20 20 20 chools.com/css/css_table.asp....
10fa0 20 20 20 20 20 20 20 20 28 63 73 73 2d 70 72 6f 70 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 ........(css-props.(org-export-r
10fc0 65 61 64 2d 61 74 74 72 69 62 75 74 65 20 3a 61 74 74 72 5f 63 73 73 20 74 61 62 6c 65 29 29 0a ead-attribute.:attr_css.table)).
10fe0 20 20 20 20 20 20 20 20 20 20 20 28 63 73 73 2d 70 72 6f 70 73 2d 73 74 72 20 28 6f 72 67 2d 62 ...........(css-props-str.(org-b
11000 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 2d 73 74 lackfriday--make-css-property-st
11020 72 69 6e 67 20 63 73 73 2d 70 72 6f 70 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 ring.css-props))............(tab
11040 6c 65 2d 70 72 65 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 61 62 6c 65 2d 70 6f 73 le-pre."")............(table-pos
11060 74 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 74 62 6c 20 28 72 65 70 6c 61 63 65 2d 72 t."")............(tbl.(replace-r
11080 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 6e 5c 6e 22 20 22 5c 6e 22 20 63 6f 6e 74 egexp-in-string."\n\n"."\n".cont
110a0 65 6e 74 73 29 29 29 0a 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 ents)))........(when.(org-string
110c0 2d 6e 77 2d 70 20 63 73 73 2d 70 72 6f 70 73 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 28 73 65 -nw-p.css-props-str).........(se
110e0 74 71 20 74 61 62 6c 65 2d 70 72 65 20 28 66 6f 72 6d 61 74 20 22 3c 73 74 79 6c 65 3e 2e 25 73 tq.table-pre.(format."<style>.%s
11100 20 74 61 62 6c 65 20 7b 20 25 73 20 7d 3c 2f 73 74 79 6c 65 3e 5c 6e 5c 6e 22 0a 20 20 20 20 20 .table.{.%s.}</style>\n\n"......
11120 20 20 20 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
11140 2d 63 6c 61 73 73 2d 74 68 69 73 20 63 73 73 2d 70 72 6f 70 73 2d 73 74 72 29 29 29 0a 20 20 20 -class-this.css-props-str)))....
11160 20 20 20 3b 3b 20 45 78 70 6f 72 74 20 75 73 65 72 2d 73 70 65 63 69 66 69 65 64 20 74 61 62 6c ...;;.Export.user-specified.tabl
11180 65 20 63 6c 61 73 73 20 65 78 70 6c 69 63 69 74 6c 79 2e 0a 20 20 20 20 20 20 28 77 68 65 6e 20 e.class.explicitly........(when.
111a0 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 74 61 62 6c 65 2d 63 6c 61 73 73 (or.(org-string-nw-p.table-class
111c0 2d 75 73 65 72 29 0a 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 -user).................(org-stri
111e0 6e 67 2d 6e 77 2d 70 20 63 73 73 2d 70 72 6f 70 73 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 ng-nw-p.css-props-str)).........
11200 28 73 65 74 71 20 74 61 62 6c 65 2d 70 72 65 20 28 63 6f 6e 63 61 74 20 74 61 62 6c 65 2d 70 72 (setq.table-pre.(concat.table-pr
11220 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...............................
11240 20 20 28 66 6f 72 6d 61 74 20 22 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 6f 78 2d 68 75 67 6f 2d ..(format."<div.class=\"ox-hugo-
11260 74 61 62 6c 65 20 25 73 5c 22 3e 25 73 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 table.%s\">%s\n"................
11280 20 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 2d 63 .........................table-c
112a0 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 20 20 20 20 20 20 20 lass............................
112c0 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 65 .............(org-blackfriday--e
112e0 78 74 72 61 2d 64 69 76 2d 68 61 63 6b 20 69 6e 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 28 77 xtra-div-hack.info))))).......(w
11300 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 74 61 62 6c 65 2d 70 72 65 29 0a hen.(org-string-nw-p.table-pre).
11320 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 62 6c 65 2d 70 6f 73 74 20 28 63 6f 6e 63 61 74 ........(setq.table-post.(concat
11340 20 22 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 20 ."\n"...........................
11360 20 20 20 20 20 20 20 22 3c 2f 64 69 76 3e 5c 6e 22 29 29 29 0a 0a 20 20 20 20 20 20 3b 3b 20 49 ......."</div>\n")))........;;.I
11380 66 20 74 68 65 20 74 61 62 6c 65 20 68 61 73 20 6f 6e 6c 79 20 31 20 72 6f 77 2c 20 64 6f 20 2a f.the.table.has.only.1.row,.do.*
113a0 6e 6f 74 2a 20 6d 61 6b 65 20 69 74 20 61 20 68 65 61 64 65 72 20 72 6f 77 2e 2e 0a 20 20 20 20 not*.make.it.a.header.row.......
113c0 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 63 72 65 61 74 65 20 61 6e 20 65 6d 70 74 79 20 68 65 61 ..;;.instead.create.an.empty.hea
113e0 64 65 72 20 72 6f 77 2e 0a 20 20 20 20 20 20 3b 3b 20 46 6f 72 20 31 2d 72 6f 77 2c 20 74 62 6c der.row........;;.For.1-row,.tbl
11400 20 77 6f 75 6c 64 20 6c 6f 6f 6b 20 6c 69 6b 65 20 74 68 69 73 20 61 74 20 74 68 69 73 20 70 6f .would.look.like.this.at.this.po
11420 69 6e 74 3a 0a 20 20 20 20 20 20 3b 3b 0a 20 20 20 20 20 20 3b 3b 20 20 20 7c 20 61 20 7c 20 62 int:.......;;.......;;...|.a.|.b
11440 20 7c 0a 20 20 20 20 20 20 3b 3b 20 20 20 7c 2d 2d 2d 7c 2d 2d 2d 7c 0a 20 20 20 20 20 20 3b 3b .|.......;;...|---|---|.......;;
11460 0a 20 20 20 20 20 20 3b 3b 20 42 65 6c 6f 77 20 77 69 6c 6c 20 63 6f 6e 76 65 72 74 20 74 68 61 .......;;.Below.will.convert.tha
11480 74 20 74 6f 3a 0a 20 20 20 20 20 20 3b 3b 0a 20 20 20 20 20 20 3b 3b 20 20 20 7c 20 20 20 7c 20 t.to:.......;;.......;;...|...|.
114a0 20 20 7c 0a 20 20 20 20 20 20 3b 3b 20 20 20 7c 2d 2d 2d 7c 2d 2d 2d 7c 0a 20 20 20 20 20 20 3b ..|.......;;...|---|---|.......;
114c0 3b 20 20 20 7c 20 61 20 7c 20 62 20 7c 0a 20 20 20 20 20 20 28 77 68 65 6e 20 6e 6f 2d 68 65 61 ;...|.a.|.b.|.......(when.no-hea
114e0 64 65 72 0a 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 60 5c 5c der.........(string-match."\\`\\
11500 28 2e 2a 5c 5c 29 5c 6e 5c 5c 28 2e 2a 5c 5c 29 5c 6e 5c 5c 27 22 20 74 62 6c 29 0a 20 20 20 20 (.*\\)\n\\(.*\\)\n\\'".tbl).....
11520 20 20 20 20 28 6c 65 74 2a 20 28 28 72 6f 77 2d 31 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d ....(let*.((row-1.(match-string-
11540 6e 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 74 62 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 no-properties.1.tbl))...........
11560 20 20 20 20 20 28 68 72 75 6c 65 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 6f .....(hrule.(match-string-no-pro
11580 70 65 72 74 69 65 73 20 32 20 74 62 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 perties.2.tbl))................(
115a0 64 75 6d 6d 79 2d 68 65 61 64 65 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d dummy-header.(replace-regexp-in-
115c0 73 74 72 69 6e 67 20 22 5b 2d 3a 5d 22 20 22 20 22 20 68 72 75 6c 65 29 29 29 0a 20 20 20 20 20 string."[-:]".".".hrule)))......
115e0 20 20 20 20 20 28 73 65 74 71 20 74 62 6c 20 28 63 6f 6e 63 61 74 20 64 75 6d 6d 79 2d 68 65 61 .....(setq.tbl.(concat.dummy-hea
11600 64 65 72 20 22 5c 6e 22 20 68 72 75 6c 65 20 22 5c 6e 22 20 72 6f 77 2d 31 29 29 29 29 0a 20 20 der."\n".hrule."\n".row-1))))...
11620 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 65 20 44 42 ....;;.(message."[ox-bf-table.DB
11640 47 5d 20 54 62 6c 3a 5c 6e 25 73 22 20 74 62 6c 29 0a 0a 20 20 20 20 20 20 3b 3b 20 41 20 62 6c G].Tbl:\n%s".tbl)........;;.A.bl
11660 61 6e 6b 20 6c 69 6e 65 20 69 73 20 6e 65 65 64 65 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 74 ank.line.is.needed.to.separate.t
11680 68 65 20 4d 61 72 6b 64 6f 77 6e 20 74 61 62 6c 65 20 61 6e 64 0a 20 20 20 20 20 20 3b 3b 20 74 he.Markdown.table.and.......;;.t
116a0 68 65 20 74 61 62 6c 65 20 61 6e 63 68 6f 72 2f 63 61 70 74 69 6f 6e 20 48 54 4d 4c 2e 0a 20 20 he.table.anchor/caption.HTML....
116c0 20 20 20 20 28 75 6e 6c 65 73 73 20 28 73 74 72 69 6e 67 3d 20 28 63 6f 6e 63 61 74 20 74 61 62 ....(unless.(string=.(concat.tab
116e0 6c 65 2d 70 72 65 20 74 61 62 6c 65 2d 61 6e 63 68 6f 72 20 63 61 70 74 69 6f 6e 2d 68 74 6d 6c le-pre.table-anchor.caption-html
11700 29 20 22 22 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 62 6c 61 6e 6b 2d 6c 69 6e 65 2d 62 )."").........(setq.blank-line-b
11720 65 66 6f 72 65 2d 74 61 62 6c 65 20 22 5c 6e 22 29 29 0a 0a 20 20 20 20 20 20 28 63 6f 6e 63 61 efore-table."\n"))........(conca
11740 74 20 74 61 62 6c 65 2d 70 72 65 20 74 61 62 6c 65 2d 61 6e 63 68 6f 72 20 63 61 70 74 69 6f 6e t.table-pre.table-anchor.caption
11760 2d 68 74 6d 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 61 6e 6b 2d 6c 69 6e 65 2d 62 -html...............blank-line-b
11780 65 66 6f 72 65 2d 74 61 62 6c 65 20 74 62 6c 20 74 61 62 6c 65 2d 70 6f 73 74 29 29 29 29 0a 0a efore-table.tbl.table-post))))..
117a0 3b 3b 3b 3b 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 ;;;;.Target.(defun.org-blackfrid
117c0 61 79 2d 2d 67 65 74 2d 74 61 72 67 65 74 2d 61 6e 63 68 6f 72 20 28 74 61 72 67 65 74 29 0a 20 ay--get-target-anchor.(target)..
117e0 20 22 47 65 74 20 48 54 4d 4c 20 61 6e 63 68 6f 72 20 66 6f 72 20 54 41 52 47 45 54 20 65 6c 65 ."Get.HTML.anchor.for.TARGET.ele
11800 6d 65 6e 74 2e 0a 0a 42 79 20 64 65 66 61 75 6c 74 2c 20 74 68 65 20 72 65 74 75 72 6e 65 64 20 ment...By.default,.the.returned.
11820 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 20 69 73 20 74 68 65 20 48 54 4d 4c 20 73 61 6e 69 74 69 anchor.string.is.the.HTML.saniti
11840 7a 65 64 0a 74 61 72 67 65 74 20 6e 61 6d 65 20 28 60 3a 76 61 6c 75 65 27 20 70 72 6f 70 65 72 zed.target.name.(`:value'.proper
11860 74 79 20 6f 66 20 54 41 52 47 45 54 20 65 6c 65 6d 65 6e 74 29 20 77 69 74 68 20 61 20 70 72 65 ty.of.TARGET.element).with.a.pre
11880 66 69 78 0a 72 65 74 75 72 6e 65 64 20 62 79 20 60 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 fix.returned.by.`org-blackfriday
118a0 2d 2d 67 65 74 2d 72 65 66 2d 70 72 65 66 69 78 27 2e 0a 0a 49 66 20 74 68 65 20 61 6e 63 68 6f --get-ref-prefix'...If.the.ancho
118c0 72 20 73 74 72 69 6e 67 20 62 65 67 69 6e 73 20 77 69 74 68 20 5c 22 2e 5c 22 2c 20 74 68 65 20 r.string.begins.with.\".\",.the.
118e0 72 65 74 75 72 6e 65 64 20 61 6e 63 68 6f 72 0a 73 74 72 69 6e 67 20 69 73 20 6a 75 73 74 20 74 returned.anchor.string.is.just.t
11900 68 65 20 48 54 4d 4c 20 73 61 6e 69 74 69 7a 65 64 20 74 61 72 67 65 74 20 6e 61 6d 65 20 77 69 he.HTML.sanitized.target.name.wi
11920 74 68 6f 75 74 20 74 68 61 74 20 5c 22 2e 5c 22 2e 0a 0a 20 20 54 41 52 47 45 54 20 4e 41 4d 45 thout.that.\".\".....TARGET.NAME
11940 20 20 20 20 41 4e 43 48 4f 52 0a 0a 20 20 20 61 62 63 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 ....ANCHOR.....abc............or
11960 67 2d 74 61 72 67 65 74 2d 2d 61 62 63 0a 20 20 20 61 62 63 20 64 65 66 20 20 20 20 20 20 20 20 g-target--abc....abc.def........
11980 6f 72 67 2d 74 61 72 67 65 74 2d 2d 61 62 63 2d 64 65 66 0a 20 20 20 2e 61 62 63 20 20 20 20 20 org-target--abc-def.....abc.....
119a0 20 20 20 20 20 20 61 62 63 22 0a 20 20 28 6c 65 74 20 28 28 74 61 72 67 65 74 2d 6e 61 6d 65 20 ......abc"...(let.((target-name.
119c0 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 74 61 72 (org-element-property.:value.tar
119e0 67 65 74 29 29 0a 20 20 20 20 20 20 20 20 28 76 65 72 62 61 74 69 6d 2d 74 61 72 67 65 74 2d 70 get)).........(verbatim-target-p
11a00 72 65 66 69 78 20 22 2e 22 29 20 3b 54 68 69 73 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6e 6f 6e refix.".").;This.needs.to.be.non
11a20 2d 61 6c 70 68 61 2d 6e 75 6d 65 72 69 63 2c 20 61 6e 64 20 6e 6f 74 20 61 6e 20 4f 72 67 2d 72 -alpha-numeric,.and.not.an.Org-r
11a40 65 63 6f 67 6e 69 7a 65 64 20 6c 69 6e 6b 20 70 72 65 66 69 78 20 6c 69 6b 65 20 22 23 22 0a 20 ecognized.link.prefix.like."#"..
11a60 20 20 20 20 20 20 20 28 70 72 65 66 69 78 20 22 22 29 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 .......(prefix."")).....(unless.
11a80 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 20 76 65 72 62 61 74 69 6d 2d 74 61 72 67 65 74 (string-prefix-p.verbatim-target
11aa0 2d 70 72 65 66 69 78 20 74 61 72 67 65 74 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 73 65 74 71 -prefix.target-name).......(setq
11ac0 20 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 67 65 74 2d 72 65 .prefix.(org-blackfriday--get-re
11ae0 66 2d 70 72 65 66 69 78 20 27 74 61 72 67 65 74 29 29 29 0a 20 20 20 20 3b 3b 20 42 65 6c 6f 77 f-prefix.'target))).....;;.Below
11b00 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 61 75 74 6f 2d 72 65 6d 6f 76 65 20 74 68 65 20 60 .function.will.auto-remove.the.`
11b20 76 65 72 62 61 74 69 6d 2d 74 61 72 67 65 74 2d 70 72 65 66 69 78 27 20 69 66 0a 20 20 20 20 3b verbatim-target-prefix'.if.....;
11b40 3b 20 70 72 65 73 65 6e 74 2e 0a 20 20 20 20 28 73 65 74 71 20 74 61 72 67 65 74 2d 6e 61 6d 65 ;.present......(setq.target-name
11b60 20 28 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 6e .(org-blackfriday--valid-html-an
11b80 63 68 6f 72 2d 6e 61 6d 65 20 74 61 72 67 65 74 2d 6e 61 6d 65 29 29 0a 20 20 20 20 28 66 6f 72 chor-name.target-name)).....(for
11ba0 6d 61 74 20 22 25 73 25 73 22 20 70 72 65 66 69 78 20 74 61 72 67 65 74 2d 6e 61 6d 65 29 29 29 mat."%s%s".prefix.target-name)))
11bc0 0a 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 72 67 65 74 20 ..(defun.org-blackfriday-target.
11be0 28 74 61 72 67 65 74 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 (target._contents._info)..."Tran
11c00 73 63 6f 64 65 20 61 20 54 41 52 47 45 54 20 6f 62 6a 65 63 74 20 66 72 6f 6d 20 4f 72 67 20 74 scode.a.TARGET.object.from.Org.t
11c20 6f 20 48 54 4d 4c 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e 22 0a 20 20 28 6c 65 74 o.HTML..CONTENTS.is.nil."...(let
11c40 2a 20 28 28 63 6c 61 73 73 20 28 73 74 72 69 6e 67 2d 72 65 6d 6f 76 65 2d 73 75 66 66 69 78 20 *.((class.(string-remove-suffix.
11c60 22 2d 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 20 20 20 "--"............................
11c80 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 67 65 74 ...........(org-blackfriday--get
11ca0 2d 72 65 66 2d 70 72 65 66 69 78 20 27 74 61 72 67 65 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 -ref-prefix.'target)))..........
11cc0 28 61 6e 63 68 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 74 61 (anchor.(org-blackfriday--get-ta
11ce0 72 67 65 74 2d 61 6e 63 68 6f 72 20 74 61 72 67 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 rget-anchor.target))..........(a
11d00 74 74 72 20 28 66 6f 72 6d 61 74 20 22 20 63 6c 61 73 73 3d 5c 22 25 73 5c 22 20 69 64 3d 5c 22 ttr.(format.".class=\"%s\".id=\"
11d20 25 73 5c 22 22 20 63 6c 61 73 73 20 61 6e 63 68 6f 72 29 29 29 0a 20 20 20 20 28 6f 72 67 2d 62 %s\"".class.anchor))).....(org-b
11d40 6c 61 63 6b 66 72 69 64 61 79 2d 2d 6c 69 6e 6b 2d 74 61 72 67 65 74 20 61 74 74 72 29 29 29 0a lackfriday--link-target.attr))).
11d60 0a 3b 3b 3b 3b 20 56 65 72 73 65 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 .;;;;.Verse.Block.(defun.org-bla
11d80 63 6b 66 72 69 64 61 79 2d 76 65 72 73 65 2d 62 6c 6f 63 6b 20 28 5f 76 65 72 73 65 2d 62 6c 6f ckfriday-verse-block.(_verse-blo
11da0 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 20 61 ck.contents.info)..."Transcode.a
11dc0 20 56 45 52 53 45 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 6f .VERSE-BLOCK.element.from.Org.to
11de0 20 70 61 72 74 69 61 6c 20 48 54 4d 4c 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 76 65 72 73 65 .partial.HTML..CONTENTS.is.verse
11e00 20 62 6c 6f 63 6b 20 63 6f 6e 74 65 6e 74 73 2e 20 20 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 .block.contents...INFO.is.a.plis
11e20 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 6d 61 74 69 6f 6e t.holding.contextual.information
11e40 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 72 65 74 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 20 ."...(let*.((ret.contents)......
11e60 20 20 20 20 3b 3b 20 4f 72 67 20 72 65 6d 6f 76 65 73 20 61 6c 6c 20 74 68 65 20 6c 65 61 64 69 ....;;.Org.removes.all.the.leadi
11e80 6e 67 20 77 68 69 74 65 73 70 61 63 65 20 6f 6e 6c 79 20 66 72 6f 6d 20 74 68 65 20 66 69 72 73 ng.whitespace.only.from.the.firs
11ea0 74 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6e 65 2e 20 20 53 6f 20 74 68 65 20 74 72 69 63 t..........;;.line...So.the.tric
11ec0 6b 20 69 73 20 74 6f 20 75 73 65 20 74 68 65 20 22 3e 22 20 63 68 61 72 61 63 74 65 72 20 62 65 k.is.to.use.the.">".character.be
11ee0 66 6f 72 65 20 61 6e 79 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 74 65 6e 64 65 64 20 69 6e fore.any..........;;.intended.in
11f00 64 65 6e 74 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 66 69 72 73 74 20 6e 6f 6e 2d 62 6c 61 6e 6b dentation.on.the.first.non-blank
11f20 20 6c 69 6e 65 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 .line...........(ret.(replace-re
11f40 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 5c 5c 28 5b 5b 3a 62 6c 61 6e 6b 3a 5d gexp-in-string."\\`\\([[:blank:]
11f60 5c 6e 5c 72 5d 2a 3f 5c 5c 29 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 26 67 74 3b 22 20 22 5c 5c 31 \n\r]*?\\)[[:blank:]]*&gt;"."\\1
11f80 22 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 72 20 28 6f 72 67 2d 68 74 6d 6c 2d 63 ".ret))..........(br.(org-html-c
11fa0 6c 6f 73 65 2d 74 61 67 20 22 62 72 22 20 6e 69 6c 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 lose-tag."br".nil.info))........
11fc0 20 20 28 72 65 20 28 66 6f 72 6d 61 74 20 22 5c 5c 28 3f 3a 25 73 5c 5c 29 3f 5b 20 5c 74 5d 2a ..(re.(format."\\(?:%s\\)?[.\t]*
11fe0 5c 6e 22 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 62 72 29 29 29 0a 20 20 20 20 20 20 20 20 \n".(regexp-quote.br))).........
12000 20 3b 3b 20 52 65 70 6c 61 63 65 20 65 61 63 68 20 6e 65 77 6c 69 6e 65 20 63 68 61 72 61 63 74 .;;.Replace.each.newline.charact
12020 65 72 20 77 69 74 68 20 6c 69 6e 65 20 62 72 65 61 6b 2e 20 20 41 6c 73 6f 0a 20 20 20 20 20 20 er.with.line.break...Also.......
12040 20 20 20 3b 3b 20 72 65 6d 6f 76 65 20 61 6e 79 20 74 72 61 69 6c 69 6e 67 20 22 62 72 22 20 63 ...;;.remove.any.trailing."br".c
12060 6c 6f 73 65 2d 74 61 67 20 73 6f 20 61 73 20 74 6f 20 61 76 6f 69 64 0a 20 20 20 20 20 20 20 20 lose-tag.so.as.to.avoid.........
12080 20 3b 3b 20 64 75 70 6c 69 63 61 74 65 73 2e 0a 20 20 20 20 20 20 20 20 20 28 72 65 74 20 28 72 .;;.duplicates...........(ret.(r
120a0 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 72 65 20 28 63 6f 6e 63 eplace-regexp-in-string.re.(conc
120c0 61 74 20 62 72 20 22 5c 6e 22 29 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 at.br."\n").ret))..........;;.Re
120e0 70 6c 61 63 65 20 6c 65 61 64 69 6e 67 20 77 68 69 74 65 20 73 70 61 63 65 73 20 77 69 74 68 20 place.leading.white.spaces.with.
12100 6e 6f 6e 2d 62 72 65 61 6b 69 6e 67 20 73 70 61 63 65 73 2e 0a 20 20 20 20 20 20 20 20 20 28 72 non-breaking.spaces...........(r
12120 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 et.(replace-regexp-in-string....
12140 20 20 20 20 20 20 20 20 20 20 20 20 22 5e 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2b 22 0a 20 20 20 20 ............"^[[:blank:]]+".....
12160 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 6d 29 0a 20 20 20 20 20 20 20 20 20 ...........(lambda.(m)..........
12180 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 ........(org-html--make-string.(
121a0 6c 65 6e 67 74 68 20 6d 29 20 22 26 6e 62 73 70 3b 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 length.m)."&nbsp;"))............
121c0 20 20 20 20 72 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 74 20 28 66 6f 72 6d 61 74 20 ....ret))..........(ret.(format.
121e0 22 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 76 65 72 73 65 5c 22 3e 5c 6e 5c 6e 25 73 5c 6e 3c 2f "<div.class=\"verse\">\n\n%s\n</
12200 64 69 76 3e 22 20 72 65 74 29 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 49 div>".ret))).....ret)).....;;;.I
12220 6e 74 65 72 61 63 74 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 nteractive.functions..;;;###auto
12240 6c 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 load.(defun.org-blackfriday-expo
12260 72 74 2d 61 73 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 rt-as-markdown.(&optional.async.
12280 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 72 74 subtreep.visible-only)..."Export
122a0 20 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 .current.buffer.to.a.Github.Flav
122c0 6f 72 65 64 20 4d 61 72 6b 64 6f 77 6e 20 62 75 66 66 65 72 2e 0a 0a 49 66 20 6e 61 72 72 6f 77 ored.Markdown.buffer...If.narrow
122e0 69 6e 67 20 69 73 20 61 63 74 69 76 65 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 75 66 ing.is.active.in.the.current.buf
12300 66 65 72 2c 20 6f 6e 6c 79 20 65 78 70 6f 72 74 20 69 74 73 0a 6e 61 72 72 6f 77 65 64 20 70 61 fer,.only.export.its.narrowed.pa
12320 72 74 2e 0a 0a 49 66 20 61 20 72 65 67 69 6f 6e 20 69 73 20 61 63 74 69 76 65 2c 20 65 78 70 6f rt...If.a.region.is.active,.expo
12340 72 74 20 74 68 61 74 20 72 65 67 69 6f 6e 2e 0a 0a 41 20 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f rt.that.region...A.non-nil.optio
12360 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 6d 65 61 6e 73 20 74 68 65 20 70 72 6f nal.argument.ASYNC.means.the.pro
12380 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 73 6c cess.should.happen.asynchronousl
123a0 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 62 75 66 66 65 72 20 73 68 6f 75 6c 64 20 y...The.resulting.buffer.should.
123c0 62 65 20 61 63 63 65 73 73 69 62 6c 65 0a 74 68 72 6f 75 67 68 20 74 68 65 20 60 6f 72 67 2d 65 be.accessible.through.the.`org-e
123e0 78 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 65 2e 0a 0a 57 68 65 6e 20 6f 70 xport-stack'.interface...When.op
12400 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 53 55 42 54 52 45 45 50 20 69 73 20 6e 6f 6e 2d tional.argument.SUBTREEP.is.non-
12420 6e 69 6c 2c 20 65 78 70 6f 72 74 20 74 68 65 20 73 75 62 2d 74 72 65 65 0a 61 74 20 70 6f 69 6e nil,.export.the.sub-tree.at.poin
12440 74 2c 20 65 78 74 72 61 63 74 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 74 t,.extracting.information.from.t
12460 68 65 20 68 65 61 64 69 6e 67 20 70 72 6f 70 65 72 74 69 65 73 0a 66 69 72 73 74 2e 0a 0a 57 68 he.heading.properties.first...Wh
12480 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
124a0 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
124c0 6e 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 45 78 70 6f 72 74 20 nts.of.hidden.elements...Export.
124e0 69 73 20 64 6f 6e 65 20 69 6e 20 61 20 62 75 66 66 65 72 20 6e 61 6d 65 64 20 5c 22 2a 4f 72 67 is.done.in.a.buffer.named.\"*Org
12500 20 42 4c 41 43 4b 46 52 49 44 41 59 20 45 78 70 6f 72 74 2a 5c 22 2c 20 77 68 69 63 68 20 77 69 .BLACKFRIDAY.Export*\",.which.wi
12520 6c 6c 0a 62 65 20 64 69 73 70 6c 61 79 65 64 20 77 68 65 6e 20 60 6f 72 67 2d 65 78 70 6f 72 74 ll.be.displayed.when.`org-export
12540 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 65 72 27 20 69 -show-temporary-export-buffer'.i
12560 73 0a 6e 6f 6e 2d 6e 69 6c 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6f s.non-nil."...(interactive)...(o
12580 72 67 2d 65 78 70 6f 72 74 2d 74 6f 2d 62 75 66 66 65 72 20 27 62 6c 61 63 6b 66 72 69 64 61 79 rg-export-to-buffer.'blackfriday
125a0 20 22 2a 4f 72 67 20 42 4c 41 43 4b 46 52 49 44 41 59 20 45 78 70 6f 72 74 2a 22 0a 20 20 20 20 ."*Org.BLACKFRIDAY.Export*".....
125c0 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 6e 69 6c 20 async.subtreep.visible-only.nil.
125e0 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 29 0a 0a 3b nil.(lambda.().(text-mode))))..;
12600 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 62 6c 61 63 6b 66 72 ;;###autoload.(defun.org-blackfr
12620 69 64 61 79 2d 63 6f 6e 76 65 72 74 2d 72 65 67 69 6f 6e 2d 74 6f 2d 6d 64 20 28 29 0a 20 20 22 iday-convert-region-to-md.()..."
12640 43 6f 6e 76 65 72 74 20 74 65 78 74 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 72 65 67 69 Convert.text.in.the.current.regi
12660 6f 6e 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 0a 54 68 65 20 on.to.Blackfriday.Markdown..The.
12680 74 65 78 74 20 69 73 20 61 73 73 75 6d 65 64 20 74 6f 20 62 65 20 69 6e 20 4f 72 67 20 6d 6f 64 text.is.assumed.to.be.in.Org.mod
126a0 65 20 66 6f 72 6d 61 74 2e 0a 0a 54 68 69 73 20 63 61 6e 20 62 65 20 75 73 65 64 20 69 6e 20 61 e.format...This.can.be.used.in.a
126c0 6e 79 20 62 75 66 66 65 72 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 79 6f 75 20 63 61 6e ny.buffer...For.example,.you.can
126e0 20 77 72 69 74 65 20 61 6e 0a 69 74 65 6d 69 7a 65 64 20 6c 69 73 74 20 69 6e 20 4f 72 67 20 6d .write.an.itemized.list.in.Org.m
12700 6f 64 65 20 73 79 6e 74 61 78 20 69 6e 20 61 20 4d 61 72 6b 64 6f 77 6e 20 62 75 66 66 65 72 20 ode.syntax.in.a.Markdown.buffer.
12720 61 6e 64 20 75 73 65 0a 74 68 69 73 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 63 6f 6e 76 65 72 74 20 and.use.this.command.to.convert.
12740 69 74 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6f 72 67 2d 65 78 70 6f it."...(interactive)...(org-expo
12760 72 74 2d 72 65 70 6c 61 63 65 2d 72 65 67 69 6f 6e 2d 62 79 20 27 62 6c 61 63 6b 66 72 69 64 61 rt-replace-region-by.'blackfrida
12780 79 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 62 y))..;;;###autoload.(defun.org-b
127a0 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 6e 20 28 26 lackfriday-export-to-markdown.(&
127c0 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 2d optional.async.subtreep.visible-
127e0 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 74 only)..."Export.current.buffer.t
12800 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 66 69 6c o.a.Github.Flavored.Markdown.fil
12820 65 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 e...If.narrowing.is.active.in.th
12840 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 20 69 74 e.current.buffer,.only.export.it
12860 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 20 69 73 s.narrowed.part...If.a.region.is
12880 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 0a 41 20 .active,.export.that.region...A.
128a0 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 non-nil.optional.argument.ASYNC.
128c0 6d 65 61 6e 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a means.the.process.should.happen.
128e0 61 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 66 asynchronously...The.resulting.f
12900 69 6c 65 20 73 68 6f 75 6c 64 20 62 65 20 61 63 63 65 73 73 69 62 6c 65 20 74 68 72 6f 75 67 68 ile.should.be.accessible.through
12920 0a 74 68 65 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 .the.`org-export-stack'.interfac
12940 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 52 e...When.optional.argument.SUBTR
12960 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 74 EEP.is.non-nil,.export.the.sub-t
12980 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 61 ree.at.point,.extracting.informa
129a0 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 73 tion.from.the.heading.properties
129c0 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 20 .first...When.optional.argument.
129e0 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
12a00 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
12a20 73 2e 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 s...Return.output.file's.name.".
12a40 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 74 20 28 28 6f 75 74 66 69 6c 65 ..(interactive)...(let.((outfile
12a60 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 6f 75 74 70 75 74 2d 66 69 6c 65 2d 6e 61 6d 65 20 22 2e .(org-export-output-file-name.".
12a80 6d 64 22 20 73 75 62 74 72 65 65 70 29 29 29 0a 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d md".subtreep))).....(org-export-
12aa0 74 6f 2d 66 69 6c 65 20 27 62 6c 61 63 6b 66 72 69 64 61 79 20 6f 75 74 66 69 6c 65 20 61 73 79 to-file.'blackfriday.outfile.asy
12ac0 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 29 29 0a 0a 3b 3b 3b nc.subtreep.visible-only)))..;;;
12ae0 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 ###autoload.(defun.org-blackfrid
12b00 61 79 2d 70 75 62 6c 69 73 68 2d 74 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 20 28 70 6c 69 73 74 ay-publish-to-blackfriday.(plist
12b20 20 66 69 6c 65 6e 61 6d 65 20 70 75 62 2d 64 69 72 29 0a 20 20 22 50 75 62 6c 69 73 68 20 61 6e .filename.pub-dir)..."Publish.an
12b40 20 4f 72 67 20 66 69 6c 65 20 74 6f 20 42 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 .Org.file.to.Blackfriday.Markdow
12b60 6e 20 66 69 6c 65 2e 0a 0a 50 4c 49 53 54 20 69 73 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 6c n.file...PLIST.is.the.property.l
12b80 69 73 74 20 66 6f 72 20 74 68 65 20 67 69 76 65 6e 20 70 72 6f 6a 65 63 74 2e 20 20 46 49 4c 45 ist.for.the.given.project...FILE
12ba0 4e 41 4d 45 20 69 73 0a 74 68 65 20 66 69 6c 65 6e 61 6d 65 20 6f 66 20 74 68 65 20 4f 72 67 20 NAME.is.the.filename.of.the.Org.
12bc0 66 69 6c 65 20 74 6f 20 62 65 20 70 75 62 6c 69 73 68 65 64 2e 20 20 50 55 42 2d 44 49 52 20 69 file.to.be.published...PUB-DIR.i
12be0 73 20 74 68 65 0a 70 75 62 6c 69 73 68 69 6e 67 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 52 65 74 s.the.publishing.directory...Ret
12c00 75 72 6e 20 6f 75 74 70 75 74 20 66 69 6c 65 20 6e 61 6d 65 2e 22 0a 20 20 28 6f 72 67 2d 70 75 urn.output.file.name."...(org-pu
12c20 62 6c 69 73 68 2d 6f 72 67 2d 74 6f 20 27 62 6c 61 63 6b 66 72 69 64 61 79 20 66 69 6c 65 6e 61 blish-org-to.'blackfriday.filena
12c40 6d 65 20 22 2e 6d 64 22 20 70 6c 69 73 74 20 70 75 62 2d 64 69 72 29 29 0a 0a 0a 28 70 72 6f 76 me.".md".plist.pub-dir))...(prov
12c60 69 64 65 20 27 6f 78 2d 62 6c 61 63 6b 66 72 69 64 61 79 29 0a 0a 0a 3b 3b 3b 20 6f 78 2d 62 6c ide.'ox-blackfriday)...;;;.ox-bl
12c80 61 63 6b 66 72 69 64 61 79 2e 65 6c 20 65 6e 64 73 20 68 65 72 65 0a 00 00 00 00 00 00 00 00 00 ackfriday.el.ends.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 34 30 33 30 35 2e 31 39 32 33 2f 6f 78 2d 68 75 67 6f 2d 64 65 ox-hugo-20240305.1923/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 30 36 00 20 30 00 00 00 0051304.00000000000.016406..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 34 30 33 30 35 2e 31 39 32 33 2f 6f 78 2d 68 75 67 6f 2d 70 61 ox-hugo-20240305.1923/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 30 31 00 20 30 00 00 00 0044244.00000000000.016501..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 34 30 33 30 35 2e 31 39 32 33 2f 6f 78 2d 68 75 67 6f 2d 70 6b ox-hugo-20240305.1923/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 33 31 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 35 30 35 37 00 20 30 00 00 00 0001031.00000000000.015057..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 28 64 65 66 69 6e 65 2d 70 61 63 6b 61 67 65 20 22 6f 78 2d 68 75 67 6f 22 20 22 32 30 32 34 30 (define-package."ox-hugo"."20240
1d220 33 30 35 2e 31 39 32 33 22 20 22 48 75 67 6f 20 4d 61 72 6b 64 6f 77 6e 20 42 61 63 6b 2d 45 6e 305.1923"."Hugo.Markdown.Back-En
1d240 64 20 66 6f 72 20 4f 72 67 20 45 78 70 6f 72 74 20 45 6e 67 69 6e 65 22 0a 20 20 27 28 28 65 6d d.for.Org.Export.Engine"...'((em
1d260 61 63 73 20 22 32 36 2e 33 22 29 0a 20 20 20 20 28 74 6f 6d 65 6c 72 20 22 30 2e 34 2e 33 22 29 acs."26.3").....(tomelr."0.4.3")
1d280 29 0a 20 20 3a 63 6f 6d 6d 69 74 20 22 63 34 31 35 36 64 39 64 33 38 33 62 66 39 37 38 35 33 62 )...:commit."c4156d9d383bf97853b
1d2a0 61 39 65 31 36 32 37 31 62 37 63 34 64 35 65 36 39 37 66 34 39 22 20 3a 61 75 74 68 6f 72 73 0a a9e16271b7c4d5e697f49".:authors.
1d2c0 20 20 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 ..'(("Kaushal.Modi"..."kaushal.m
1d2e0 6f 64 69 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 0a 20 20 20 20 28 22 4d 61 74 74 20 50 72 69 63 65 odi@gmail.com").....("Matt.Price
1d300 22 20 2e 20 22 6d 6f 70 74 6f 70 39 39 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 29 0a 20 20 3a 6d 61 "..."moptop99@gmail.com"))...:ma
1d320 69 6e 74 61 69 6e 65 72 73 0a 20 20 27 28 28 22 4b 61 75 73 68 61 6c 20 4d 6f 64 69 22 20 2e 20 intainers...'(("Kaushal.Modi"...
1d340 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 29 0a 20 20 3a 6d 61 "kaushal.modi@gmail.com"))...:ma
1d360 69 6e 74 61 69 6e 65 72 0a 20 20 27 28 22 4b 61 75 73 68 61 6c 20 4d 6f 64 69 22 20 2e 20 22 6b intainer...'("Kaushal.Modi"..."k
1d380 61 75 73 68 61 6c 2e 6d 6f 64 69 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 0a 20 20 3a 6b 65 79 77 6f aushal.modi@gmail.com")...:keywo
1d3a0 72 64 73 0a 20 20 27 28 22 6f 72 67 22 20 22 6d 61 72 6b 64 6f 77 6e 22 20 22 64 6f 63 73 22 29 rds...'("org"."markdown"."docs")
1d3c0 0a 20 20 3a 75 72 6c 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 ...:url."https://ox-hugo.scripte
1d3e0 72 2e 63 6f 22 29 0a 3b 3b 20 4c 6f 63 61 6c 20 56 61 72 69 61 62 6c 65 73 3a 0a 3b 3b 20 6e 6f r.co").;;.Local.Variables:.;;.no
1d400 2d 62 79 74 65 2d 63 6f 6d 70 69 6c 65 3a 20 74 0a 3b 3b 20 45 6e 64 3a 0a 00 00 00 00 00 00 00 -byte-compile:.t.;;.End:........
1d420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
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 34 30 33 30 35 2e 31 39 32 33 2f 6f 78 2d 68 75 67 6f 2e 65 6c ox-hugo-20240305.1923/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 34 34 34 30 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 34 33 32 32 00 20 30 00 00 00 0744440.00000000000.014322..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 56 65 72 73 ice.<moptop99@gmail.com>.;;.Vers
1d8c0 69 6f 6e 3a 20 30 2e 31 32 2e 31 0a 3b 3b 20 50 61 63 6b 61 67 65 2d 52 65 71 75 69 72 65 73 3a ion:.0.12.1.;;.Package-Requires:
1d8e0 20 28 28 65 6d 61 63 73 20 22 32 36 2e 33 22 29 20 28 74 6f 6d 65 6c 72 20 22 30 2e 34 2e 33 22 .((emacs."26.3").(tomelr."0.4.3"
1d900 29 29 0a 3b 3b 20 4b 65 79 77 6f 72 64 73 3a 20 4f 72 67 2c 20 6d 61 72 6b 64 6f 77 6e 2c 20 64 )).;;.Keywords:.Org,.markdown,.d
1d920 6f 63 73 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 ocs.;;.URL:.https://ox-hugo.scri
1d940 70 74 65 72 2e 63 6f 0a 0a 3b 3b 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 70 61 72 pter.co..;;.This.file.is.not.par
1d960 74 20 6f 66 20 47 4e 55 20 45 6d 61 63 73 2e 0a 0a 3b 3b 20 54 68 69 73 20 70 72 6f 67 72 61 6d t.of.GNU.Emacs...;;.This.program
1d980 20 69 73 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 .is.free.software;.you.can.redis
1d9a0 74 72 69 62 75 74 65 20 69 74 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 0a 3b 3b 20 69 74 20 75 tribute.it.and/or.modify.;;.it.u
1d9c0 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 nder.the.terms.of.the.GNU.Genera
1d9e0 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62 79 l.Public.License.as.published.by
1da00 0a 3b 3b 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e .;;.the.Free.Software.Foundation
1da20 2c 20 65 69 74 68 65 72 20 76 65 72 73 69 6f 6e 20 33 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 ,.either.version.3.of.the.Licens
1da40 65 2c 20 6f 72 0a 3b 3b 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c 61 e,.or.;;.(at.your.option).any.la
1da60 74 65 72 20 76 65 72 73 69 6f 6e 2e 0a 0a 3b 3b 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 ter.version...;;.This.program.is
1da80 20 64 69 73 74 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 .distributed.in.the.hope.that.it
1daa0 20 77 69 6c 6c 20 62 65 20 75 73 65 66 75 6c 2c 0a 3b 3b 20 62 75 74 20 57 49 54 48 4f 55 54 20 .will.be.useful,.;;.but.WITHOUT.
1dac0 41 4e 59 20 57 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 69 ANY.WARRANTY;.without.even.the.i
1dae0 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 3b 3b 20 4d 45 52 43 48 41 4e 54 41 42 mplied.warranty.of.;;.MERCHANTAB
1db00 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 ILITY.or.FITNESS.FOR.A.PARTICULA
1db20 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 0a 3b 3b 20 47 4e 55 20 47 65 6e 65 72 R.PURPOSE...See.the.;;.GNU.Gener
1db40 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 al.Public.License.for.more.detai
1db60 6c 73 2e 0a 0a 3b 3b 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 ls...;;.You.should.have.received
1db80 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 .a.copy.of.the.GNU.General.Publi
1dba0 63 20 4c 69 63 65 6e 73 65 0a 3b 3b 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 69 73 20 70 72 6f c.License.;;.along.with.this.pro
1dbc0 67 72 61 6d 2e 20 20 49 66 20 6e 6f 74 2c 20 73 65 65 20 3c 68 74 74 70 73 3a 2f 2f 77 77 77 2e gram...If.not,.see.<https://www.
1dbe0 67 6e 75 2e 6f 72 67 2f 6c 69 63 65 6e 73 65 73 2f 3e 2e 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e 74 gnu.org/licenses/>...;;;.Comment
1dc00 61 72 79 3a 0a 0a 3b 3b 20 6f 78 2d 68 75 67 6f 20 69 6d 70 6c 65 6d 65 6e 74 73 20 61 20 4d 61 ary:..;;.ox-hugo.implements.a.Ma
1dc20 72 6b 64 6f 77 6e 20 62 61 63 6b 2d 65 6e 64 20 66 6f 72 20 4f 72 67 20 65 78 70 6f 72 74 65 72 rkdown.back-end.for.Org.exporter
1dc40 2e 20 20 54 68 65 0a 3b 3b 20 65 78 70 6f 72 74 65 64 20 4d 61 72 6b 64 6f 77 6e 20 69 73 20 63 ...The.;;.exported.Markdown.is.c
1dc60 6f 6d 70 61 74 69 62 6c 65 20 77 69 74 68 20 74 68 65 20 48 75 67 6f 20 73 74 61 74 69 63 20 73 ompatible.with.the.Hugo.static.s
1dc80 69 74 65 20 67 65 6e 65 72 61 74 6f 72 0a 3b 3b 20 28 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f ite.generator.;;.(https://gohugo
1dca0 2e 69 6f 2f 29 2e 20 20 54 68 69 73 20 65 78 70 6f 72 74 65 72 20 61 6c 73 6f 20 67 65 6e 65 72 .io/)...This.exporter.also.gener
1dcc0 61 74 65 73 20 74 68 65 20 70 6f 73 74 0a 3b 3b 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 6e ates.the.post.;;.front-matter.in
1dce0 20 54 4f 4d 4c 20 6f 72 20 59 41 4d 4c 2e 0a 0a 3b 3b 20 54 6f 20 73 74 61 72 74 20 75 73 69 6e .TOML.or.YAML...;;.To.start.usin
1dd00 67 20 74 68 69 73 20 65 78 70 6f 72 74 65 72 2c 20 61 64 64 20 74 68 65 20 62 65 6c 6f 77 20 74 g.this.exporter,.add.the.below.t
1dd20 6f 20 79 6f 75 72 20 45 6d 61 63 73 20 63 6f 6e 66 69 67 3a 0a 3b 3b 0a 3b 3b 20 20 20 28 77 69 o.your.Emacs.config:.;;.;;...(wi
1dd40 74 68 2d 65 76 61 6c 2d 61 66 74 65 72 2d 6c 6f 61 64 20 27 6f 78 0a 3b 3b 20 20 20 20 20 28 72 th-eval-after-load.'ox.;;.....(r
1dd60 65 71 75 69 72 65 20 27 6f 78 2d 68 75 67 6f 29 29 0a 3b 3b 0a 3b 3b 20 57 69 74 68 20 74 68 65 equire.'ox-hugo)).;;.;;.With.the
1dd80 20 61 62 6f 76 65 20 65 76 61 6c 75 61 74 65 64 2c 20 74 68 65 20 6f 78 2d 68 75 67 6f 20 65 78 .above.evaluated,.the.ox-hugo.ex
1dda0 70 6f 72 74 65 72 20 6f 70 74 69 6f 6e 73 20 77 69 6c 6c 20 62 65 0a 3b 3b 20 61 76 61 69 6c 61 porter.options.will.be.;;.availa
1ddc0 62 6c 65 20 69 6e 20 74 68 65 20 4f 72 67 20 45 78 70 6f 72 74 20 44 69 73 70 61 74 63 68 65 72 ble.in.the.Org.Export.Dispatcher
1dde0 2e 20 20 54 68 65 20 6f 78 2d 68 75 67 6f 20 65 78 70 6f 72 74 0a 3b 3b 20 63 6f 6d 6d 61 6e 64 ...The.ox-hugo.export.;;.command
1de00 73 20 68 61 76 65 20 62 69 6e 64 69 6e 67 73 20 62 65 67 69 6e 6e 69 6e 67 20 77 69 74 68 20 22 s.have.bindings.beginning.with."
1de20 48 22 20 28 66 6f 72 20 48 75 67 6f 29 2e 0a 3b 3b 0a 3b 3b 20 23 20 42 6c 6f 67 67 69 6e 67 20 H".(for.Hugo)..;;.;;.#.Blogging.
1de40 46 6c 6f 77 73 0a 3b 3b 0a 3b 3b 20 31 2e 20 6f 6e 65 2d 70 6f 73 74 2d 70 65 72 2d 73 75 62 74 Flows.;;.;;.1..one-post-per-subt
1de60 72 65 65 20 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 63 61 ree.flow.::.A.single.Org.file.ca
1de80 6e 20 68 61 76 65 20 6d 75 6c 74 69 70 6c 65 0a 3b 3b 20 20 20 20 20 20 4f 72 67 20 73 75 62 74 n.have.multiple.;;......Org.subt
1dea0 72 65 65 73 20 77 68 69 63 68 20 65 78 70 6f 72 74 20 74 6f 20 69 6e 64 69 76 69 64 75 61 6c 20 rees.which.export.to.individual.
1dec0 48 75 67 6f 20 70 6f 73 74 73 2e 20 20 45 61 63 68 20 6f 66 0a 3b 3b 20 20 20 20 20 20 74 68 6f Hugo.posts...Each.of.;;......tho
1dee0 73 65 20 73 75 62 74 72 65 65 73 20 74 68 61 74 20 68 61 73 20 74 68 65 20 45 58 50 4f 52 54 5f se.subtrees.that.has.the.EXPORT_
1df00 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 79 20 73 65 74 20 69 73 0a 3b 3b 20 20 20 20 FILE_NAME.property.set.is.;;....
1df20 20 20 63 61 6c 6c 65 64 20 61 20 27 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 ..called.a.'valid.Hugo.post.subt
1df40 72 65 65 27 20 69 6e 20 74 68 69 73 20 70 61 63 6b 61 67 65 20 61 6e 64 20 69 74 73 0a 3b 3b 20 ree'.in.this.package.and.its.;;.
1df60 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2e 0a 3b 3b 0a 3b 3b 20 32 2e 20 6f 6e 65 .....documentation..;;.;;.2..one
1df80 2d 70 6f 73 74 2d 70 65 72 2d 66 69 6c 65 20 66 6c 6f 77 20 3a 3a 20 41 20 73 69 6e 67 6c 65 20 -post-per-file.flow.::.A.single.
1dfa0 4f 72 67 20 66 69 6c 65 20 65 78 70 6f 72 74 73 20 74 6f 20 6f 6e 6c 79 0a 3b 3b 20 20 20 20 20 Org.file.exports.to.only.;;.....
1dfc0 20 2a 6f 6e 65 2a 20 48 75 67 6f 20 70 6f 73 74 2e 20 20 41 6e 20 4f 72 67 20 66 69 6c 65 20 69 .*one*.Hugo.post...An.Org.file.i
1dfe0 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 65 78 70 6f 72 74 65 64 20 62 79 20 74 68 69 73 0a 3b ntended.to.be.exported.by.this.;
1e000 3b 20 20 20 20 20 20 66 6c 6f 77 20 6d 75 73 74 20 6e 6f 74 20 68 61 76 65 20 61 6e 79 20 27 76 ;......flow.must.not.have.any.'v
1e020 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 73 27 2c 20 61 6e 64 20 69 6e alid.Hugo.post.subtrees',.and.in
1e040 73 74 65 61 64 0a 3b 3b 20 20 20 20 20 20 6d 75 73 74 20 68 61 76 65 20 74 68 65 20 23 2b 74 69 stead.;;......must.have.the.#+ti
1e060 74 6c 65 20 70 72 6f 70 65 72 74 79 20 73 65 74 2e 0a 3b 3b 0a 3b 3b 20 23 20 43 6f 6d 6d 6f 6e tle.property.set..;;.;;.#.Common
1e080 6c 79 20 75 73 65 64 20 65 78 70 6f 72 74 20 63 6f 6d 6d 61 6e 64 73 0a 3b 3b 0a 3b 3b 20 23 23 ly.used.export.commands.;;.;;.##
1e0a0 20 46 6f 72 20 62 6f 74 68 20 6f 6e 65 2d 70 6f 73 74 2d 70 65 72 2d 73 75 62 74 72 65 65 20 61 .For.both.one-post-per-subtree.a
1e0c0 6e 64 20 6f 6e 65 2d 70 6f 73 74 2d 70 65 72 2d 66 69 6c 65 20 66 6c 6f 77 73 0a 3b 3b 0a 3b 3b nd.one-post-per-file.flows.;;.;;
1e0e0 20 20 20 20 2d 20 43 2d 63 20 43 2d 65 20 48 20 48 20 20 2d 3e 20 45 78 70 6f 72 74 20 22 57 68 ....-.C-c.C-e.H.H..->.Export."Wh
1e100 61 74 20 49 20 4d 65 61 6e 22 2e 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 at.I.Mean"..;;..................
1e120 20 20 20 20 2d 20 49 66 20 70 6f 69 6e 74 20 69 73 20 69 6e 20 61 20 27 76 61 6c 69 64 20 48 75 ....-.If.point.is.in.a.'valid.Hu
1e140 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 27 2c 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 go.post.subtree',.;;............
1e160 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 6f 72 74 20 74 68 61 74 20 73 75 62 74 72 65 65 20 ............export.that.subtree.
1e180 74 6f 20 61 20 48 75 67 6f 20 70 6f 73 74 20 69 6e 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 to.a.Hugo.post.in.;;............
1e1a0 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 72 6b 64 6f 77 6e 2e 0a 3b 3b 20 20 20 20 20 20 20 20 ............Markdown..;;........
1e1c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 49 66 20 74 68 65 20 66 69 6c 65 20 69 73 20 69 ..............-.If.the.file.is.i
1e1e0 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 65 78 70 6f 72 74 65 64 20 61 73 20 61 0a 3b 3b 20 20 ntended.to.be.exported.as.a.;;..
1e200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 6f 6c 65 20 28 69 2e 65 ......................whole.(i.e
1e220 2e 20 68 61 73 20 74 68 65 20 23 2b 74 69 74 6c 65 20 6b 65 79 77 6f 72 64 29 2c 0a 3b 3b 20 20 ..has.the.#+title.keyword),.;;..
1e240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 6f 72 74 20 74 68 65 ......................export.the
1e260 20 77 68 6f 6c 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 .whole.Org.file.to.a.Hugo.post.i
1e280 6e 0a 3b 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 72 6b n.;;........................Mark
1e2a0 64 6f 77 6e 2e 0a 3b 3b 0a 3b 3b 20 20 20 20 2d 20 43 2d 63 20 43 2d 65 20 48 20 41 20 20 2d 3e down..;;.;;....-.C-c.C-e.H.A..->
1e2c0 20 45 78 70 6f 72 74 20 2a 61 6c 6c 2a 20 22 57 68 61 74 20 49 20 4d 65 61 6e 22 0a 3b 3b 20 20 .Export.*all*."What.I.Mean".;;..
1e2e0 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 4f 72 67 ....................-.If.the.Org
1e300 20 66 69 6c 65 20 68 61 73 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 27 76 61 6c 69 64 20 48 75 67 .file.has.one.or.more.'valid.Hug
1e320 6f 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 70 6f 73 74 o.;;........................post
1e340 20 73 75 62 74 72 65 65 73 27 2c 20 65 78 70 6f 72 74 20 74 68 65 6d 20 74 6f 20 48 75 67 6f 20 .subtrees',.export.them.to.Hugo.
1e360 70 6f 73 74 73 20 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 posts.in.;;.....................
1e380 20 20 20 4d 61 72 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 ...Markdown..;;.................
1e3a0 20 20 20 20 20 2d 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 .....-.If.the.file.is.intended.t
1e3c0 6f 20 62 65 20 65 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 o.be.exported.as.a.;;...........
1e3e0 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 6f 6c 65 20 28 69 2e 65 2e 20 6e 6f 20 27 76 61 6c .............whole.(i.e..no.'val
1e400 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 73 27 0a 3b 3b 20 20 20 20 20 20 20 id.Hugo.post.subtrees'.;;.......
1e420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 74 20 61 6c 6c 2c 20 61 6e 64 20 68 61 73 .................at.all,.and.has
1e440 20 74 68 65 20 23 2b 74 69 74 6c 65 20 6b 65 79 77 6f 72 64 29 2c 0a 3b 3b 20 20 20 20 20 20 20 .the.#+title.keyword),.;;.......
1e460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 6f 72 74 20 74 68 65 20 77 68 6f 6c .................export.the.whol
1e480 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 0a 3b 3b 20 e.Org.file.to.a.Hugo.post.in.;;.
1e4a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 72 6b 64 6f 77 6e 2e .......................Markdown.
1e4c0 0a 3b 3b 0a 3b 3b 20 23 23 20 46 6f 72 20 6f 6e 6c 79 20 74 68 65 20 6f 6e 65 2d 70 6f 73 74 2d .;;.;;.##.For.only.the.one-post-
1e4e0 70 65 72 2d 66 69 6c 65 20 66 6c 6f 77 0a 3b 3b 0a 3b 3b 20 20 20 20 2d 20 43 2d 63 20 43 2d 65 per-file.flow.;;.;;....-.C-c.C-e
1e500 20 48 20 68 20 20 2d 3e 20 45 78 70 6f 72 74 20 74 68 65 20 4f 72 67 20 66 69 6c 65 20 74 6f 20 .H.h..->.Export.the.Org.file.to.
1e520 61 20 48 75 67 6f 20 70 6f 73 74 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 2e 0a 0a 3b 3b 20 44 6f 20 a.Hugo.post.in.Markdown...;;.Do.
1e540 4d 2d 78 20 63 75 73 74 6f 6d 69 7a 65 2d 67 72 6f 75 70 2c 20 61 6e 64 20 73 65 6c 65 63 74 20 M-x.customize-group,.and.select.
1e560 60 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 27 20 74 6f 20 73 65 65 20 74 68 65 0a 3b 3b 20 `org-export-hugo'.to.see.the.;;.
1e580 61 76 61 69 6c 61 62 6c 65 20 63 75 73 74 6f 6d 69 7a 61 74 69 6f 6e 20 6f 70 74 69 6f 6e 73 20 available.customization.options.
1e5a0 66 6f 72 20 74 68 69 73 20 70 61 63 6b 61 67 65 2e 0a 0a 3b 3b 20 53 65 65 20 74 68 69 73 20 70 for.this.package...;;.See.this.p
1e5c0 61 63 6b 61 67 65 27 73 20 77 65 62 73 69 74 65 20 66 6f 72 20 6d 6f 72 65 20 69 6e 73 74 72 75 ackage's.website.for.more.instru
1e5e0 63 74 69 6f 6e 73 20 61 6e 64 20 65 78 61 6d 70 6c 65 73 3a 0a 3b 3b 0a 3b 3b 20 20 20 68 74 74 ctions.and.examples:.;;.;;...htt
1e600 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 3b 20 43 6f ps://ox-hugo.scripter.co..;;;.Co
1e620 64 65 3a 0a 0a 28 72 65 71 75 69 72 65 20 27 74 6f 6d 65 6c 72 29 20 20 20 20 20 20 20 20 20 20 de:..(require.'tomelr)..........
1e640 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 6f 72 20 60 74 6f 6d 65 6c 72 2d 65 6e 63 6f 64 65 .............;For.`tomelr-encode
1e660 27 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 78 2d 62 6c 61 63 6b 66 72 69 64 61 79 29 0a 0a 28 72 '..(require.'ox-blackfriday)..(r
1e680 65 71 75 69 72 65 20 27 66 66 61 70 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 equire.'ffap)...................
1e6a0 20 20 20 20 20 20 3b 46 6f 72 20 60 66 66 61 70 2d 75 72 6c 2d 72 65 67 65 78 70 27 0a 28 72 65 ......;For.`ffap-url-regexp'.(re
1e6c0 71 75 69 72 65 20 27 6f 62 2d 63 6f 72 65 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 quire.'ob-core).................
1e6e0 20 20 20 20 20 3b 46 6f 72 20 60 6f 72 67 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 65 .....;For.`org-babel-parse-heade
1e700 72 2d 61 72 67 75 6d 65 6e 74 73 27 0a 3b 3b 20 60 6f 72 67 2d 72 65 66 69 6c 65 2e 65 6c 27 20 r-arguments'.;;.`org-refile.el'.
1e720 69 73 20 6e 65 77 20 69 6e 20 4f 72 67 20 39 2e 34 0a 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 69 74 is.new.in.Org.9.4.;;.https://git
1e740 2e 73 61 76 61 6e 6e 61 68 2e 67 6e 75 2e 6f 72 67 2f 63 67 69 74 2f 65 6d 61 63 73 2f 6f 72 67 .savannah.gnu.org/cgit/emacs/org
1e760 2d 6d 6f 64 65 2e 67 69 74 2f 63 6f 6d 6d 69 74 2f 3f 69 64 3d 66 36 33 36 63 66 39 31 62 36 63 -mode.git/commit/?id=f636cf91b6c
1e780 62 65 33 32 32 65 63 61 35 36 65 32 33 32 38 33 66 34 36 31 34 35 34 38 63 39 64 36 35 0a 28 72 be322eca56e23283f4614548c9d65.(r
1e7a0 65 71 75 69 72 65 20 27 6f 72 67 2d 72 65 66 69 6c 65 20 6e 69 6c 20 3a 6e 6f 65 72 72 6f 72 29 equire.'org-refile.nil.:noerror)
1e7c0 20 20 20 20 20 20 3b 46 6f 72 20 60 6f 72 67 2d 67 65 74 2d 6f 75 74 6c 69 6e 65 2d 70 61 74 68 ......;For.`org-get-outline-path
1e7e0 27 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 72 67 29 0a 28 72 65 71 75 69 72 65 20 27 6f 72 67 2d '..(require.'org).(require.'org-
1e800 69 64 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 6f 72 20 60 id).......................;For.`
1e820 6f 72 67 2d 69 64 2d 66 69 6e 64 27 0a 0a 3b 3b 20 46 6f 72 20 60 6f 72 67 2d 69 6e 66 6f 2d 65 org-id-find'..;;.For.`org-info-e
1e840 6d 61 63 73 2d 64 6f 63 75 6d 65 6e 74 73 27 2c 20 60 6f 72 67 2d 69 6e 66 6f 2d 6f 74 68 65 72 macs-documents',.`org-info-other
1e860 2d 64 6f 63 75 6d 65 6e 74 73 27 0a 3b 3b 20 6f 72 67 2d 69 6e 66 6f 2e 65 6c 20 67 6f 74 20 72 -documents'.;;.org-info.el.got.r
1e880 65 6e 61 6d 65 64 20 74 6f 20 6f 6c 2d 69 6e 66 6f 2e 65 6c 20 69 6e 20 4f 72 67 20 76 65 72 73 enamed.to.ol-info.el.in.Org.vers
1e8a0 69 6f 6e 20 39 2e 33 2e 20 20 52 65 6d 6f 76 65 0a 3b 3b 20 62 65 6c 6f 77 20 69 66 20 63 6f 6e ion.9.3...Remove.;;.below.if.con
1e8c0 64 69 74 69 6f 6e 20 61 66 74 65 72 20 74 68 65 20 6d 69 6e 69 6d 75 6d 20 65 6d 61 63 73 20 64 dition.after.the.minimum.emacs.d
1e8e0 65 70 65 6e 64 65 6e 63 79 20 69 73 20 72 61 69 73 65 64 20 74 6f 0a 3b 3b 20 65 6d 61 63 73 20 ependency.is.raised.to.;;.emacs.
1e900 32 37 2e 78 2e 20 54 68 65 20 4f 72 67 20 76 65 72 73 69 6f 6e 20 73 68 69 70 70 65 64 20 77 69 27.x..The.Org.version.shipped.wi
1e920 74 68 20 45 6d 61 63 73 20 32 36 2e 33 20 69 73 20 39 2e 31 2e 39 2e 0a 28 69 66 20 28 76 65 72 th.Emacs.26.3.is.9.1.9..(if.(ver
1e940 73 69 6f 6e 3c 20 28 6f 72 67 2d 76 65 72 73 69 6f 6e 29 20 22 39 2e 33 22 29 0a 20 20 20 20 28 sion<.(org-version)."9.3").....(
1e960 72 65 71 75 69 72 65 20 27 6f 72 67 2d 69 6e 66 6f 29 0a 20 20 28 72 65 71 75 69 72 65 20 27 6f require.'org-info)...(require.'o
1e980 6c 2d 69 6e 66 6f 29 29 0a 0a 28 64 65 63 6c 61 72 65 2d 66 75 6e 63 74 69 6f 6e 20 6f 72 67 2d l-info))..(declare-function.org-
1e9a0 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 74 61 74 69 6f 6e hugo-pandoc-cite--parse-citation
1e9c0 73 2d 6d 61 79 62 65 20 22 6f 78 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 22 29 0a 28 s-maybe."ox-hugo-pandoc-cite").(
1e9e0 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 70 61 6e 64 6f 63 declare-function.org-hugo-pandoc
1ea00 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 22 6f 78 2d 68 -cite--meta-data-generator."ox-h
1ea20 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 22 29 0a 0a 28 72 65 71 75 69 72 65 20 27 6f 78 2d ugo-pandoc-cite")..(require.'ox-
1ea40 68 75 67 6f 2d 64 65 70 72 65 63 61 74 65 64 29 0a 0a 0a 28 64 65 66 76 61 72 20 66 66 61 70 2d hugo-deprecated)...(defvar.ffap-
1ea60 75 72 6c 2d 72 65 67 65 78 70 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 53 69 6c 65 url-regexp)................;Sile
1ea80 6e 63 65 20 62 79 74 65 2d 63 6f 6d 70 69 6c 65 72 0a 0a 0a 3b 3b 20 55 73 69 6e 67 20 74 68 65 nce.byte-compiler...;;.Using.the
1eaa0 20 63 6f 72 72 65 63 74 20 66 75 6e 63 74 69 6f 6e 20 66 6f 72 20 67 65 74 74 69 6e 67 20 69 6e .correct.function.for.getting.in
1eac0 68 65 72 69 74 65 64 20 4f 72 67 20 74 61 67 73 2e 0a 3b 3b 20 53 74 61 72 74 69 6e 67 20 4f 72 herited.Org.tags..;;.Starting.Or
1eae0 67 20 39 2e 32 2c 20 60 6f 72 67 2d 67 65 74 2d 74 61 67 73 27 20 72 65 74 75 72 6e 73 20 61 6c g.9.2,.`org-get-tags'.returns.al
1eb00 6c 20 74 68 65 20 69 6e 68 65 72 69 74 65 64 20 74 61 67 73 0a 3b 3b 20 69 6e 73 74 65 61 64 20 l.the.inherited.tags.;;.instead.
1eb20 6f 66 20 72 65 74 75 72 6e 69 6e 67 20 6f 6e 6c 79 20 74 68 65 20 6c 6f 63 61 6c 20 74 61 67 73 of.returning.only.the.local.tags
1eb40 20 69 2e 65 2e 20 6f 6e 6c 79 20 74 68 65 20 63 75 72 72 65 6e 74 0a 3b 3b 20 68 65 61 64 69 6e .i.e..only.the.current.;;.headin
1eb60 67 20 74 61 67 73 2e 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 g.tags..;;.https://git.savannah.
1eb80 67 6e 75 2e 6f 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 gnu.org/cgit/emacs/org-mode.git/
1eba0 63 6f 6d 6d 69 74 2f 3f 69 64 3d 66 62 65 35 36 66 38 39 66 37 35 61 38 39 37 39 65 30 62 61 34 commit/?id=fbe56f89f75a8979e0ba4
1ebc0 38 30 30 31 61 38 32 32 35 31 38 64 66 32 63 36 36 66 65 0a 0a 3b 3b 20 46 6f 72 20 4f 72 67 20 8001a822518df2c66fe..;;.For.Org.
1ebe0 3c 3d 20 39 2e 31 2c 20 60 6f 72 67 2d 67 65 74 2d 74 61 67 73 27 20 72 65 74 75 72 6e 65 64 20 <=.9.1,.`org-get-tags'.returned.
1ec00 61 20 6c 69 73 74 20 6f 66 20 74 61 67 73 20 2a 6f 6e 6c 79 2a 20 61 74 0a 3b 3b 20 74 68 65 20 a.list.of.tags.*only*.at.;;.the.
1ec20 63 75 72 72 65 6e 74 20 68 65 61 64 69 6e 67 2c 20 77 68 69 6c 65 20 60 6f 72 67 2d 67 65 74 2d current.heading,.while.`org-get-
1ec40 74 61 67 73 2d 61 74 27 20 72 65 74 75 72 6e 65 64 20 69 6e 68 65 72 69 74 65 64 0a 3b 3b 20 74 tags-at'.returned.inherited.;;.t
1ec60 61 67 73 20 74 6f 6f 2e 0a 28 77 69 74 68 2d 6e 6f 2d 77 61 72 6e 69 6e 67 73 0a 20 20 28 69 66 ags.too..(with-no-warnings...(if
1ec80 20 28 66 62 6f 75 6e 64 70 20 23 27 6f 72 67 2d 2d 67 65 74 2d 6c 6f 63 61 6c 2d 74 61 67 73 29 .(fboundp.#'org--get-local-tags)
1eca0 20 20 20 3b 49 66 20 75 73 69 6e 67 20 4f 72 67 20 39 2e 32 2b 0a 20 20 20 20 20 20 28 64 65 66 ...;If.using.Org.9.2+.......(def
1ecc0 61 6c 69 61 73 20 27 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 74 61 67 73 20 27 6f 72 67 2d 67 alias.'org-hugo--get-tags.'org-g
1ece0 65 74 2d 74 61 67 73 29 0a 20 20 20 20 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 68 75 67 6f et-tags).....(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 2d 61 74 29 29 29 0a 0a --get-tags.'org-get-tags-at)))..
1ed20 3b 3b 20 60 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 ;;.`org-back-to-heading-or-point
1ed40 2d 6d 69 6e 27 20 77 61 73 20 69 6e 74 72 6f 64 75 63 65 64 20 69 6e 20 4f 72 67 20 39 2e 35 20 -min'.was.introduced.in.Org.9.5.
1ed60 69 6e 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 in.;;.https://git.savannah.gnu.o
1ed80 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
1eda0 74 2f 3f 69 64 3d 31 62 64 66 66 39 66 37 33 64 63 31 65 37 66 66 36 32 35 61 39 30 65 33 65 36 t/?id=1bdff9f73dc1e7ff625a90e3e6
1edc0 31 33 35 30 62 64 65 61 39 39 66 32 39 63 2e 0a 3b 3b 20 49 66 20 61 20 75 73 65 72 20 69 73 20 1350bdea99f29c..;;.If.a.user.is.
1ede0 75 73 69 6e 67 20 61 20 73 6c 69 67 68 74 6c 79 20 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 20 6f using.a.slightly.older.version.o
1ee00 66 20 4f 72 67 20 28 6c 69 6b 65 20 39 2e 33 29 2c 0a 3b 3b 20 64 65 66 69 6e 65 20 69 74 2e 0a f.Org.(like.9.3),.;;.define.it..
1ee20 28 75 6e 6c 65 73 73 20 28 66 62 6f 75 6e 64 70 20 23 27 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d 68 (unless.(fboundp.#'org-back-to-h
1ee40 65 61 64 69 6e 67 2d 6f 72 2d 70 6f 69 6e 74 2d 6d 69 6e 29 0a 20 20 28 64 65 66 75 6e 20 6f 72 eading-or-point-min)...(defun.or
1ee60 67 2d 62 61 63 6b 2d 74 6f 2d 68 65 61 64 69 6e 67 2d 6f 72 2d 70 6f 69 6e 74 2d 6d 69 6e 20 28 g-back-to-heading-or-point-min.(
1ee80 26 6f 70 74 69 6f 6e 61 6c 20 69 6e 76 69 73 69 62 6c 65 2d 6f 6b 29 0a 20 20 20 20 22 47 6f 20 &optional.invisible-ok)....."Go.
1eea0 62 61 63 6b 20 74 6f 20 68 65 61 64 69 6e 67 20 6f 72 20 66 69 72 73 74 20 70 6f 69 6e 74 20 69 back.to.heading.or.first.point.i
1eec0 6e 20 62 75 66 66 65 72 2e 0a 49 66 20 70 6f 69 6e 74 20 69 73 20 62 65 66 6f 72 65 20 66 69 72 n.buffer..If.point.is.before.fir
1eee0 73 74 20 68 65 61 64 69 6e 67 20 67 6f 20 74 6f 20 66 69 72 73 74 20 70 6f 69 6e 74 20 69 6e 20 st.heading.go.to.first.point.in.
1ef00 62 75 66 66 65 72 0a 69 6e 73 74 65 61 64 20 6f 66 20 62 61 63 6b 20 74 6f 20 68 65 61 64 69 6e buffer.instead.of.back.to.headin
1ef20 67 2e 22 0a 20 20 20 20 28 69 66 20 28 6f 72 67 2d 62 65 66 6f 72 65 2d 66 69 72 73 74 2d 68 65 g.".....(if.(org-before-first-he
1ef40 61 64 69 6e 67 2d 70 29 0a 20 20 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 ading-p).........(goto-char.(poi
1ef60 6e 74 2d 6d 69 6e 29 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d 68 65 61 64 nt-min)).......(org-back-to-head
1ef80 69 6e 67 20 69 6e 76 69 73 69 62 6c 65 2d 6f 6b 29 29 29 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 ing.invisible-ok))))..(defvar.or
1efa0 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 0a 20 20 22 56 61 72 g-hugo--subtree-coord.nil..."Var
1efc0 69 61 62 6c 65 20 74 6f 20 73 74 6f 72 65 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 69 64 iable.to.store.the.current.valid
1efe0 20 48 75 67 6f 20 73 75 62 74 72 65 65 20 63 6f 6f 72 64 69 6e 61 74 65 73 2e 0a 49 74 20 68 6f .Hugo.subtree.coordinates..It.ho
1f000 6c 64 73 20 74 68 65 20 76 61 6c 75 65 20 72 65 74 75 72 6e 65 64 20 62 79 0a 60 6f 72 67 2d 68 lds.the.value.returned.by.`org-h
1f020 75 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 ugo--get-post-subtree-coordinate
1f040 73 27 2e 22 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 s'.")..(defvar.org-hugo--subtree
1f060 2d 63 6f 75 6e 74 20 30 0a 20 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 63 6f 75 6e 74 20 6f 66 -count.0..."Variable.to.count.of
1f080 20 6e 75 6d 62 65 72 20 6f 66 20 73 75 62 74 72 65 65 73 20 67 65 74 74 69 6e 67 20 65 78 70 6f .number.of.subtrees.getting.expo
1f0a0 72 74 65 64 2e 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 75 73 65 64 20 77 68 65 6e rted..This.variable.is.used.when
1f0c0 20 65 78 70 6f 72 74 69 6e 67 20 61 6c 6c 20 73 75 62 74 72 65 65 73 20 69 6e 20 61 20 66 69 6c .exporting.all.subtrees.in.a.fil
1f0e0 65 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 20 6e 69 6c 0a 20 e.")..(defvar.org-hugo--fm.nil..
1f100 20 22 56 61 72 69 61 62 6c 65 20 74 6f 20 73 74 6f 72 65 20 74 68 65 20 63 75 72 72 65 6e 74 20 ."Variable.to.store.the.current.
1f120 48 75 67 6f 20 70 6f 73 74 27 73 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 73 74 72 69 6e 67 2e Hugo.post's.front-matter.string.
1f140 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 75 73 65 64 20 74 6f 20 63 61 63 68 65 ..This.variable.is.used.to.cache
1f160 20 74 68 65 20 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 0a .the.original.ox-hugo.generated.
1f180 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 74 68 61 74 27 73 20 75 73 65 64 20 61 66 74 65 72 20 50 front-matter.that's.used.after.P
1f1a0 61 6e 64 6f 63 20 43 69 74 61 74 69 6f 6e 20 70 61 72 73 69 6e 67 2e 22 29 0a 0a 28 64 65 66 76 andoc.Citation.parsing.")..(defv
1f1c0 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 20 6e 69 6c 0a 20 20 22 56 61 72 69 ar.org-hugo--fm-yaml.nil..."Vari
1f1e0 61 62 6c 65 20 74 6f 20 73 74 6f 72 65 20 74 68 65 20 63 75 72 72 65 6e 74 20 48 75 67 6f 20 70 able.to.store.the.current.Hugo.p
1f200 6f 73 74 27 73 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 73 74 72 69 6e 67 20 69 6e 20 59 41 4d ost's.front-matter.string.in.YAM
1f220 4c 20 66 6f 72 6d 61 74 2e 0a 0a 50 61 6e 64 6f 63 20 75 6e 64 65 72 73 74 61 6e 64 73 20 6d 65 L.format...Pandoc.understands.me
1f240 74 61 2d 64 61 74 61 20 6f 6e 6c 79 20 69 6e 20 59 41 4d 4c 20 66 6f 72 6d 61 74 2e 20 20 53 6f ta-data.only.in.YAML.format...So
1f260 20 77 68 65 6e 20 50 61 6e 64 6f 63 0a 43 69 74 61 74 69 6f 6e 73 20 61 72 65 20 65 6e 61 62 6c .when.Pandoc.Citations.are.enabl
1f280 65 64 2c 20 50 61 6e 64 6f 63 20 69 73 20 68 61 6e 64 65 64 20 6f 76 65 72 20 74 68 65 20 66 69 ed,.Pandoc.is.handed.over.the.fi
1f2a0 6c 65 20 77 69 74 68 20 74 68 69 73 0a 59 41 4d 4c 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 22 le.with.this.YAML.front-matter."
1f2c0 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 69 6e 74 65 72 6e 61 6c 2d 6c 69 )..(defvar.org-hugo--internal-li
1f2e0 73 74 2d 73 65 70 61 72 61 74 6f 72 20 22 5c 6e 22 0a 20 20 22 53 74 72 69 6e 67 20 75 73 65 64 st-separator."\n"..."String.used
1f300 20 74 6f 20 73 65 70 61 72 61 74 65 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 6c 69 73 74 20 76 61 .to.separate.elements.in.list.va
1f320 72 69 61 62 6c 65 73 2e 0a 0a 45 78 61 6d 70 6c 65 73 20 61 72 65 20 69 6e 74 65 72 6e 61 6c 20 riables...Examples.are.internal.
1f340 76 61 72 69 61 62 6c 65 73 20 68 6f 6c 64 69 6e 67 20 48 75 67 6f 20 74 61 67 73 2c 20 63 61 74 variables.holding.Hugo.tags,.cat
1f360 65 67 6f 72 69 65 73 20 61 6e 64 0a 6b 65 79 77 6f 72 64 73 2e 0a 0a 54 68 69 73 20 76 61 72 69 egories.and.keywords...This.vari
1f380 61 62 6c 65 20 69 73 20 66 6f 72 20 69 6e 74 65 72 6e 61 6c 20 75 73 65 20 6f 6e 6c 79 2c 20 61 able.is.for.internal.use.only,.a
1f3a0 6e 64 20 6d 75 73 74 20 6e 6f 74 20 62 65 0a 6d 6f 64 69 66 69 65 64 2e 22 29 0a 0a 28 64 65 66 nd.must.not.be.modified.")..(def
1f3c0 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 70 20 28 var.org-hugo--date-time-regexp.(
1f3e0 63 6f 6e 63 61 74 20 22 5c 5c 60 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 34 5c 5c 7d 2d 5b 5b concat."\\`[[:digit:]]\\{4\\}-[[
1f400 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 2d 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 :digit:]]\\{2\\}-[[:digit:]]\\{2
1f420 5c 5c 7d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 \\}"............................
1f440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 3f 3a 54 5b 5b 3a 64 69 67 69 74 3a ................"\\(?:T[[:digit:
1f460 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 3a 5b 5b 3a ]]\\{2\\}:[[:digit:]]\\{2\\}:[[:
1f480 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 digit:]]\\{2\\}"................
1f4a0 20 20 20 20 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 ............................"\\(
1f4c0 3f 3a 5a 5c 5c 7c 5b 2b 2d 5d 5b 5b 3a 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 3a 5b 5b 3a ?:Z\\|[+-][[:digit:]]\\{2\\}:[[:
1f4e0 64 69 67 69 74 3a 5d 5d 5c 5c 7b 32 5c 5c 7d 5c 5c 29 2a 5c 5c 29 2a 5c 5c 27 22 29 0a 20 20 22 digit:]]\\{2\\}\\)*\\)*\\'")..."
1f500 52 65 67 65 78 70 20 74 6f 20 6d 61 74 63 68 20 74 68 65 20 48 75 67 6f 20 74 69 6d 65 20 73 74 Regexp.to.match.the.Hugo.time.st
1f520 61 6d 70 20 73 74 72 69 6e 67 73 2e 0a 0a 52 65 66 65 72 65 6e 63 65 3a 20 68 74 74 70 73 3a 2f amp.strings...Reference:.https:/
1f540 2f 74 6f 6f 6c 73 2e 69 65 74 66 2e 6f 72 67 2f 68 74 6d 6c 2f 72 66 63 33 33 33 39 23 73 65 63 /tools.ietf.org/html/rfc3339#sec
1f560 74 69 6f 6e 2d 35 2e 38 0a 0a 45 78 61 6d 70 6c 65 73 3a 0a 20 20 32 30 31 37 2d 30 37 2d 33 31 tion-5.8..Examples:...2017-07-31
1f580 0a 20 20 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 0a 20 20 32 30 31 37 2d 30 37 ...2017-07-31T17:05:38...2017-07
1f5a0 2d 33 31 54 31 37 3a 30 35 3a 33 38 5a 0a 20 20 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 -31T17:05:38Z...2017-07-31T17:05
1f5c0 3a 33 38 2b 30 34 3a 30 30 0a 20 20 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2d :38+04:00...2017-07-31T17:05:38-
1f5e0 30 34 3a 30 30 2e 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 04:00.")..(defvar.org-hugo--trim
1f600 2d 70 72 65 2d 6d 61 72 6b 65 72 20 22 3c 21 2d 2d 20 74 72 69 6d 2d 70 72 65 20 2d 2d 3e 22 0a -pre-marker."<!--.trim-pre.-->".
1f620 20 20 22 53 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 .."Special.string.to.mark.where.
1f640 77 68 69 74 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 62 65 66 whitespace.should.be.trimmed.bef
1f660 6f 72 65 20 61 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 ore.an.element.")..(defvar.org-h
1f680 75 67 6f 2d 2d 74 72 69 6d 2d 70 6f 73 74 2d 6d 61 72 6b 65 72 20 22 3c 21 2d 2d 20 74 72 69 6d ugo--trim-post-marker."<!--.trim
1f6a0 2d 70 6f 73 74 20 2d 2d 3e 22 0a 20 20 22 53 70 65 63 69 61 6c 20 73 74 72 69 6e 67 20 74 6f 20 -post.-->"..."Special.string.to.
1f6c0 6d 61 72 6b 20 77 68 65 72 65 20 77 68 69 74 65 73 70 61 63 65 20 73 68 6f 75 6c 64 20 62 65 20 mark.where.whitespace.should.be.
1f6e0 74 72 69 6d 6d 65 64 20 61 66 74 65 72 20 61 6e 20 65 6c 65 6d 65 6e 74 2e 22 29 0a 0a 28 64 65 trimmed.after.an.element.")..(de
1f700 66 76 61 72 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 20 27 28 fvar.org-hugo--opened-buffers.'(
1f720 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 62 75 66 66 65 72 73 20 6f 70 65 6e 65 64 20 64 75 72 69 )..."List.of.buffers.opened.duri
1f740 6e 67 20 61 6e 20 65 78 70 6f 72 74 2c 20 77 68 69 63 68 20 77 69 6c 6c 20 62 65 20 61 75 74 6f ng.an.export,.which.will.be.auto
1f760 2d 63 6c 6f 73 65 64 20 61 74 20 74 68 65 20 65 6e 64 2e 0a 0a 41 6e 20 65 78 70 6f 72 74 20 6f -closed.at.the.end...An.export.o
1f780 70 65 72 61 74 69 6f 6e 20 6d 69 67 68 74 20 6e 65 65 64 20 74 6f 20 6f 70 65 6e 20 66 69 6c 65 peration.might.need.to.open.file
1f7a0 73 20 66 6f 72 20 72 65 73 6f 6c 76 69 6e 67 20 6c 69 6e 6b 73 0a 70 6f 69 6e 74 69 6e 67 20 74 s.for.resolving.links.pointing.t
1f7c0 6f 20 6f 74 68 65 72 20 4f 72 67 20 66 69 6c 65 73 20 6f 72 20 74 65 6d 70 6f 72 61 72 79 20 62 o.other.Org.files.or.temporary.b
1f7e0 75 66 66 65 72 73 20 66 6f 72 0a 70 72 65 2d 70 72 6f 63 65 73 73 69 6e 67 20 61 6e 20 4f 72 67 uffers.for.pre-processing.an.Org
1f800 20 66 69 6c 65 2e 20 20 45 61 63 68 20 62 75 66 66 65 72 20 6f 70 65 6e 65 64 20 64 75 72 69 6e .file...Each.buffer.opened.durin
1f820 67 20 61 6e 20 4f 78 2d 48 75 67 6f 0a 65 78 70 6f 72 74 20 67 65 74 73 20 61 64 64 65 64 20 74 g.an.Ox-Hugo.export.gets.added.t
1f840 6f 20 74 68 69 73 20 6c 69 73 74 2c 20 61 6e 64 20 74 68 65 79 20 61 6c 6c 20 61 72 65 20 61 75 o.this.list,.and.they.all.are.au
1f860 74 6f 2d 63 6c 6f 73 65 64 20 61 74 0a 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 65 78 70 6f to-closed.at.the.end.of.the.expo
1f880 72 74 20 69 6e 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 rt.in.`org-hugo--after-all-expor
1f8a0 74 73 2d 66 75 6e 63 74 69 6f 6e 27 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 ts-function'.")..(defvar.org-hug
1f8c0 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 6f 6f o--disable-after-all-exports-hoo
1f8e0 6b 20 6e 69 6c 0a 20 20 22 49 66 20 73 65 74 2c 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 k.nil..."If.set,.`org-hugo--afte
1f900 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 27 20 66 75 6e 63 74 69 6f 6e r-all-exports-function'.function
1f920 20 69 73 20 6e 6f 74 20 63 61 6c 6c 65 64 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 .is.not.called...This.variable.i
1f940 73 20 73 65 74 20 69 6e 74 65 72 6e 61 6c 6c 79 20 62 79 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 s.set.internally.by.`org-hugo-ex
1f960 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 0a 77 68 65 6e 20 69 74 73 20 41 4c 4c 2d 53 55 42 port-wim-to-md'.when.its.ALL-SUB
1f980 54 52 45 45 53 20 61 72 67 20 69 73 20 73 65 74 20 74 6f 20 61 20 6e 6f 6e 2d 6e 69 6c 20 76 61 TREES.arg.is.set.to.a.non-nil.va
1f9a0 6c 75 65 2e 0a 0a 53 65 74 74 69 6e 67 20 74 68 69 73 20 74 6f 20 6e 6f 6e 2d 6e 69 6c 20 77 69 lue...Setting.this.to.non-nil.wi
1f9c0 6c 6c 20 6c 65 61 64 20 74 6f 20 73 6c 6f 77 20 6f 72 20 69 6e 63 6f 72 72 65 63 74 0a 65 78 70 ll.lead.to.slow.or.incorrect.exp
1f9e0 6f 72 74 73 2e 20 20 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 66 6f 72 20 69 6e 74 65 orts...This.variable.is.for.inte
1fa00 72 6e 61 6c 20 75 73 65 20 6f 6e 6c 79 2c 20 61 6e 64 20 6d 75 73 74 20 6e 6f 74 20 62 65 0a 6d rnal.use.only,.and.must.not.be.m
1fa20 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 61 6c odified.")..(defvar.org-hugo--al
1fa40 6c 2d 73 75 62 74 72 65 65 73 2d 65 78 70 6f 72 74 2d 2d 66 75 6e 63 74 69 6f 6e 73 2d 74 6f 2d l-subtrees-export--functions-to-
1fa60 73 69 6c 65 6e 63 65 0a 20 20 27 28 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d 73 72 63 2d 62 6c silence...'(org-babel-exp-src-bl
1fa80 6f 63 6b 20 3b 44 6f 6e 27 74 20 70 72 69 6e 74 20 22 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 20 ock.;Don't.print."org-babel-exp.
1faa0 70 72 6f 63 65 73 73 20 2e 2e 22 20 6d 65 73 73 61 67 65 73 0a 20 20 20 20 77 72 69 74 65 2d 72 process...".messages.....write-r
1fac0 65 67 69 6f 6e 20 20 20 20 20 20 20 20 20 20 20 20 3b 44 6f 6e 27 74 20 70 72 69 6e 74 20 22 57 egion............;Don't.print."W
1fae0 72 6f 74 65 20 2e 2e 22 20 6d 65 73 73 61 67 65 73 0a 20 20 20 20 74 61 62 6c 65 2d 67 65 6e 65 rote...".messages.....table-gene
1fb00 72 61 74 65 2d 73 6f 75 72 63 65 20 20 20 3b 44 6f 6e 27 74 20 70 72 69 6e 74 20 22 47 65 6e 65 rate-source...;Don't.print."Gene
1fb20 72 61 74 69 6e 67 20 73 6f 75 72 63 65 2e 2e 2e 22 20 6d 65 73 73 61 67 65 73 0a 20 20 20 20 29 rating.source...".messages.....)
1fb40 0a 20 20 22 4c 69 73 74 20 6f 66 20 66 75 6e 63 74 69 6f 6e 73 20 74 6f 20 73 69 6c 65 6e 63 65 ..."List.of.functions.to.silence
1fb60 20 69 6e 20 45 63 68 6f 20 61 6e 64 20 4d 65 73 73 61 67 65 73 20 62 75 66 66 65 72 73 2e 0a 0a .in.Echo.and.Messages.buffers...
1fb80 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 73 69 6c 65 6e 63 65 64 20 6f 6e 6c These.functions.are.silenced.onl
1fba0 79 20 77 68 65 6e 20 41 4c 4c 2d 53 55 42 54 52 45 45 53 20 65 78 70 6f 72 74 20 69 73 20 64 6f y.when.ALL-SUBTREES.export.is.do
1fbc0 6e 65 2e 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 ne.")..(defconst.org-hugo--prepr
1fbe0 6f 63 65 73 73 2d 62 75 66 66 65 72 20 74 0a 20 20 22 45 6e 61 62 6c 65 20 70 72 65 2d 70 72 6f ocess-buffer.t..."Enable.pre-pro
1fc00 63 65 73 73 69 6e 67 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 4f 72 67 20 62 75 66 66 65 cessing.of.the.current.Org.buffe
1fc20 72 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6e 6f r...This.variable.needs.to.be.no
1fc40 6e 2d 6e 69 6c 20 66 6f 72 20 74 68 65 20 73 75 70 70 6f 72 74 20 6f 66 0a 63 72 6f 73 73 2d 73 n-nil.for.the.support.of.cross-s
1fc60 75 62 74 72 65 65 20 4f 72 67 20 69 6e 74 65 72 6e 61 6c 20 6c 69 6e 6b 73 20 77 68 65 6e 20 75 ubtree.Org.internal.links.when.u
1fc80 73 69 6e 67 20 74 68 65 20 73 75 62 74 72 65 65 2d 62 61 73 65 64 0a 65 78 70 6f 72 74 20 66 6c sing.the.subtree-based.export.fl
1fca0 6f 77 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 ow.")..(defvar.org-hugo--preproc
1fcc0 65 73 73 65 64 2d 62 75 66 66 65 72 20 6e 69 6c 0a 20 20 22 4e 61 6d 65 20 6f 66 20 74 68 65 20 essed-buffer.nil..."Name.of.the.
1fce0 70 72 65 2d 70 72 6f 63 65 73 73 65 64 20 62 75 66 66 65 72 2e 22 29 0a 0a 28 64 65 66 63 6f 6e pre-processed.buffer.")..(defcon
1fd00 73 74 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 st.org-hugo--preprocessed-buffer
1fd20 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 20 22 2e 70 72 65 2d 70 72 6f 63 65 73 73 -dummy-file-suffix.".pre-process
1fd40 65 64 2e 6f 72 67 22 0a 20 20 22 44 75 6d 6d 79 20 73 75 66 66 69 78 20 28 69 6e 63 6c 75 64 69 ed.org"..."Dummy.suffix.(includi
1fd60 6e 67 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 29 20 66 6f 72 20 70 72 65 2d 70 72 6f 63 65 ng.file.extension).for.pre-proce
1fd80 73 73 65 64 20 62 75 66 66 65 72 73 2e 0a 0a 44 75 6d 6d 79 20 4f 72 67 20 66 69 6c 65 20 70 61 ssed.buffers...Dummy.Org.file.pa
1fda0 74 68 73 20 61 72 65 20 63 72 65 61 74 65 64 20 69 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 ths.are.created.in.`org-hugo--ge
1fdc0 74 2d 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 72 27 20 62 79 20 61 70 70 65 6e t-pre-processed-buffer'.by.appen
1fde0 64 69 6e 67 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 0a 74 6f 20 74 68 65 20 6c 69 6e 6b 20 74 ding.this.variable.to.the.link.t
1fe00 61 72 67 65 74 73 20 6f 75 74 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 argets.out.of.the.current.subtre
1fe20 65 20 73 63 6f 70 65 2e 22 29 0a 0a 0c 0a 3b 3b 3b 20 4f 62 73 6f 6c 65 74 69 6f 6e 73 0a 0a 28 e.scope.")....;;;.Obsoletions..(
1fe40 64 65 66 69 6e 65 2d 6f 62 73 6f 6c 65 74 65 2d 76 61 72 69 61 62 6c 65 2d 61 6c 69 61 73 20 27 define-obsolete-variable-alias.'
1fe60 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 65 63 74 69 6f 6e 2d 64 69 72 65 63 74 6f org-hugo-default-section-directo
1fe80 72 79 20 27 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 20 22 4f 63 74 20 33 31 2c 20 32 30 ry.'org-hugo-section."Oct.31,.20
1fea0 31 38 22 29 0a 28 64 65 66 69 6e 65 2d 6f 62 73 6f 6c 65 74 65 2d 66 75 6e 63 74 69 6f 6e 2d 61 18").(define-obsolete-function-a
1fec0 6c 69 61 73 20 27 6f 72 67 2d 68 75 67 6f 2d 68 65 61 64 6c 69 6e 65 20 27 6f 72 67 2d 68 75 67 lias.'org-hugo-headline.'org-hug
1fee0 6f 2d 68 65 61 64 69 6e 67 20 22 4a 61 6e 20 33 2c 20 32 30 32 32 22 29 0a 0a 0a 0c 0a 3b 3b 3b o-heading."Jan.3,.2022").....;;;
1ff00 20 55 73 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 .User-Configurable.Variables..(d
1ff20 65 66 67 72 6f 75 70 20 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 20 6e 69 6c 0a 20 20 22 4f efgroup.org-export-hugo.nil..."O
1ff40 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 65 20 66 69 ptions.for.exporting.Org.mode.fi
1ff60 6c 65 73 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 2e les.to.Hugo-compatible.Markdown.
1ff80 22 0a 20 20 3a 74 61 67 20 22 4f 72 67 20 45 78 70 6f 72 74 20 48 75 67 6f 22 0a 20 20 3a 67 72 "...:tag."Org.Export.Hugo"...:gr
1ffa0 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 0a 20 20 3a 76 65 72 73 69 6f 6e 20 22 32 35 2e 32 oup.'org-export...:version."25.2
1ffc0 22 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 ")..(defcustom.org-hugo-base-dir
1ffe0 20 6e 69 6c 0a 20 20 22 42 61 73 65 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 48 75 67 6f 2e .nil..."Base.directory.for.Hugo.
20000 0a 0a 53 65 74 20 65 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 ..Set.either.this.value,.or.the.
20020 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 20 67 6c 6f 62 61 6c 20 70 72 6f 70 65 72 74 79 20 66 6f HUGO_BASE_DIR.global.property.fo
20040 72 0a 65 78 70 6f 72 74 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d r.export."...:group.'org-export-
20060 68 75 67 6f 0a 20 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 hugo...:type.'directory).;;;###a
20080 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 20 utoload.(put.'org-hugo-base-dir.
200a0 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 'safe-local-variable.'stringp)..
200c0 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 20 74 0a 20 (defcustom.org-hugo-goldmark.t..
200e0 20 22 45 6e 61 62 6c 65 20 47 6f 6c 64 6d 61 72 6b 20 6f 72 20 43 6f 6d 6d 6f 6e 6d 61 72 6b 20 ."Enable.Goldmark.or.Commonmark.
20100 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 20 65 78 70 6f 72 74 2e 0a 0a 57 68 65 compatible.Markdown.export...Whe
20120 6e 20 6e 69 6c 2c 20 74 68 65 20 68 61 63 6b 73 20 6e 65 63 65 73 73 61 72 79 20 66 6f 72 20 42 n.nil,.the.hacks.necessary.for.B
20140 6c 61 63 6b 66 72 69 64 61 79 20 4d 61 72 6b 64 6f 77 6e 0a 70 72 6f 63 65 73 73 69 6e 67 20 61 lackfriday.Markdown.processing.a
20160 72 65 20 65 6e 61 62 6c 65 64 2e 0a 0a 49 66 20 75 73 69 6e 67 20 48 75 67 6f 20 76 30 2e 36 30 re.enabled...If.using.Hugo.v0.60
20180 2e 30 20 28 72 65 6c 65 61 73 65 64 20 4e 6f 76 20 32 30 31 39 29 2c 20 6b 65 65 70 20 74 68 65 .0.(released.Nov.2019),.keep.the
201a0 20 64 65 66 61 75 6c 74 0a 76 61 6c 75 65 2e 0a 0a 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e .default.value...https://github.
201c0 63 6f 6d 2f 6b 61 75 73 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 64 69 73 63 75 73 73 69 com/kaushalmodi/ox-hugo/discussi
201e0 6f 6e 73 2f 34 38 35 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 ons/485."...:group.'org-export-h
20200 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
20220 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 20 27 73 61 load.(put.'org-hugo-goldmark.'sa
20240 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 fe-local-variable.'booleanp)..(d
20260 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 20 22 70 6f 73 74 73 efcustom.org-hugo-section."posts
20280 22 0a 20 20 22 44 65 66 61 75 6c 74 20 73 65 63 74 69 6f 6e 20 66 6f 72 20 48 75 67 6f 20 70 6f "..."Default.section.for.Hugo.po
202a0 73 74 73 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 74 68 65 20 6e 61 6d 65 20 sts...This.variable.is.the.name.
202c0 6f 66 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 75 6e 64 65 72 20 74 68 65 20 5c 22 63 6f 6e of.the.directory.under.the.\"con
202e0 74 65 6e 74 2f 5c 22 0a 64 69 72 65 63 74 6f 72 79 20 77 68 65 72 65 20 61 6c 6c 20 48 75 67 6f tent/\".directory.where.all.Hugo
20300 20 70 6f 73 74 73 20 73 68 6f 75 6c 64 20 67 6f 20 62 79 20 64 65 66 61 75 6c 74 2e 22 0a 20 20 .posts.should.go.by.default."...
20320 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 :group.'org-export-hugo...:type.
20340 27 64 69 72 65 63 74 6f 72 79 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 'directory).;;;###autoload.(put.
20360 27 6f 72 67 2d 68 75 67 6f 2d 73 65 63 74 69 6f 6e 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 'org-hugo-section.'safe-local-va
20380 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
203a0 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 20 22 74 6f 6d 6c 22 -hugo-front-matter-format."toml"
203c0 0a 20 20 22 46 72 6f 6e 74 2d 6d 61 74 74 65 72 20 66 6f 72 6d 61 74 2e 0a 54 68 69 73 20 76 61 ..."Front-matter.format..This.va
203e0 72 69 61 62 6c 65 20 63 61 6e 20 62 65 20 73 65 74 20 74 6f 20 65 69 74 68 65 72 20 5c 22 74 6f riable.can.be.set.to.either.\"to
20400 6d 6c 5c 22 20 6f 72 20 5c 22 79 61 6d 6c 5c 22 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 ml\".or.\"yaml\"."...:group.'org
20420 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 63 68 6f 69 63 65 0a 20 20 -export-hugo...:type.'(choice...
20440 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 54 4f 4d 4c 22 20 22 74 6f 6d 6c ........(const.:tag."TOML"."toml
20460 22 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 59 41 4d 4c 22 20 ")...........(const.:tag."YAML".
20480 22 79 61 6d 6c 22 29 29 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f "yaml"))).;;;###autoload.(put.'o
204a0 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 20 27 73 61 66 rg-hugo-front-matter-format.'saf
204c0 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 e-local-variable.'stringp)..(def
204e0 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 66 6f 6f 74 65 72 20 22 22 0a 20 20 22 53 74 72 custom.org-hugo-footer.""..."Str
20500 69 6e 67 20 74 6f 20 62 65 20 61 70 70 65 6e 64 65 64 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 ing.to.be.appended.at.the.end.of
20520 20 65 61 63 68 20 48 75 67 6f 20 70 6f 73 74 2e 0a 0a 54 68 65 20 73 74 72 69 6e 67 20 6e 65 65 .each.Hugo.post...The.string.nee
20540 64 73 20 74 6f 20 62 65 20 69 6e 20 61 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 ds.to.be.in.a.Hugo-compatible.Ma
20560 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 20 6f 72 20 48 54 4d 4c 2e 22 0a 20 20 3a 67 72 6f 75 70 rkdown.format.or.HTML."...:group
20580 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 72 69 6e .'org-export-hugo...:type.'strin
205a0 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f g).;;;###autoload.(put.'org-hugo
205c0 2d 66 6f 6f 74 65 72 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 -footer.'safe-local-variable.'st
205e0 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 70 72 65 73 ringp)..(defcustom.org-hugo-pres
20600 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 74 0a 20 20 22 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 erve-filling.t..."When.non-nil,.
20620 74 65 78 74 20 66 69 6c 6c 69 6e 67 20 64 6f 6e 65 20 69 6e 20 4f 72 67 20 77 69 6c 6c 20 62 65 text.filling.done.in.Org.will.be
20640 20 72 65 74 61 69 6e 65 64 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 2e 22 0a 20 20 3a 67 72 6f 75 70 .retained.in.Markdown."...:group
20660 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 .'org-export-hugo...:type.'boole
20680 61 6e 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 an).;;;###autoload.(put.'org-hug
206a0 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 o-preserve-filling.'safe-local-v
206c0 61 72 69 61 62 6c 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f ariable.'booleanp)..(defcustom.o
206e0 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 20 74 0a 20 20 22 rg-hugo-delete-trailing-ws.t..."
20700 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 65 6c 65 74 65 20 74 72 61 69 6c 69 6e 67 20 77 68 When.non-nil,.delete.trailing.wh
20720 69 74 65 73 70 61 63 65 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 20 6f 75 74 70 75 74 2e 0a 54 72 61 itespace.in.Markdown.output..Tra
20740 69 6c 69 6e 67 20 65 6d 70 74 79 20 6c 69 6e 65 73 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 iling.empty.lines.at.the.end.of.
20760 74 68 65 20 4d 61 72 6b 64 6f 77 6e 20 6f 75 74 70 75 74 20 61 72 65 20 61 6c 73 6f 20 64 65 6c the.Markdown.output.are.also.del
20780 65 74 65 64 2e 0a 0a 4f 6e 65 20 6d 69 67 68 74 20 77 61 6e 74 20 74 6f 20 73 65 74 20 74 68 69 eted...One.might.want.to.set.thi
207a0 73 20 76 61 72 69 61 62 6c 65 20 74 6f 20 6e 69 6c 20 69 66 20 74 68 65 79 20 77 61 6e 74 20 74 s.variable.to.nil.if.they.want.t
207c0 6f 0a 70 72 65 73 65 72 76 65 20 74 68 65 20 74 72 61 69 6c 69 6e 67 20 77 68 69 74 65 73 70 61 o.preserve.the.trailing.whitespa
207e0 63 65 73 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 20 74 68 65 20 70 75 72 70 6f 73 65 20 ces.in.Markdown.for.the.purpose.
20800 6f 66 0a 66 6f 72 63 69 6e 67 20 6c 69 6e 65 2d 62 72 65 61 6b 73 2e 0a 0a 54 68 65 20 74 72 61 of.forcing.line-breaks...The.tra
20820 69 6c 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 20 64 65 6c 65 74 69 6e 67 20 69 73 20 73 6b 69 iling.whitespace.deleting.is.ski
20840 70 70 65 64 20 69 66 0a 60 6f 72 67 2d 65 78 70 6f 72 74 2d 70 72 65 73 65 72 76 65 2d 62 72 65 pped.if.`org-export-preserve-bre
20860 61 6b 73 27 20 69 73 20 73 65 74 20 74 6f 20 6e 6f 6e 2d 6e 69 6c 3b 20 65 69 74 68 65 72 20 76 aks'.is.set.to.non-nil;.either.v
20880 69 61 20 74 68 61 74 0a 76 61 72 69 61 62 6c 65 20 6f 72 20 76 69 61 20 74 68 65 20 4f 50 54 49 ia.that.variable.or.via.the.OPTI
208a0 4f 4e 53 20 6b 65 79 77 6f 72 64 20 5c 22 5c 5c 6e 3a 74 5c 22 20 28 53 65 65 20 28 6f 72 67 29 ONS.keyword.\"\\n:t\".(See.(org)
208c0 20 45 78 70 6f 72 74 0a 73 65 74 74 69 6e 67 73 29 2e 0a 0a 5c 28 49 6e 20 62 65 6c 6f 77 20 4d .Export.settings)...\(In.below.M
208e0 61 72 6b 64 6f 77 6e 2c 20 75 6e 64 65 72 73 63 6f 72 65 73 20 61 72 65 20 75 73 65 64 20 74 6f arkdown,.underscores.are.used.to
20900 20 72 65 70 72 65 73 65 6e 74 20 73 70 61 63 65 73 2e 29 0a 0a 20 20 20 20 61 62 63 5f 5f 0a 20 .represent.spaces.)......abc__..
20920 20 20 20 64 65 66 5f 5f 0a 0a 54 68 6f 73 65 20 74 72 61 69 6c 69 6e 67 20 77 68 69 74 65 73 70 ...def__..Those.trailing.whitesp
20940 61 63 65 73 20 72 65 6e 64 65 72 20 74 6f 20 5c 22 3c 62 72 20 2f 3e 5c 22 20 74 61 67 73 20 69 aces.render.to.\"<br./>\".tags.i
20960 6e 20 74 68 65 20 48 75 67 6f 0a 67 65 6e 65 72 61 74 65 64 20 48 54 4d 4c 2e 20 20 42 75 74 20 n.the.Hugo.generated.HTML...But.
20980 74 68 65 20 73 61 6d 65 20 72 65 73 75 6c 74 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 61 63 68 69 the.same.result.can.also.be.achi
209a0 76 65 64 20 62 79 20 75 73 69 6e 67 20 74 68 65 0a 4f 72 67 20 56 65 72 73 65 20 62 6c 6f 63 6b ved.by.using.the.Org.Verse.block
209c0 20 6f 72 20 42 6c 61 63 6b 66 72 69 64 61 79 20 68 61 72 64 4c 69 6e 65 42 72 65 61 6b 20 65 78 .or.Blackfriday.hardLineBreak.ex
209e0 74 65 6e 73 69 6f 6e 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 tension."...:group.'org-export-h
20a00 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
20a20 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c load.(put.'org-hugo-delete-trail
20a40 69 6e 67 2d 77 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f 6f ing-ws.'safe-local-variable.'boo
20a60 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 75 73 65 2d leanp)..(defcustom.org-hugo-use-
20a80 63 6f 64 65 2d 66 6f 72 2d 6b 62 64 20 6e 69 6c 0a 20 20 22 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c code-for-kbd.nil..."When.non-nil
20aa0 2c 20 7e 74 65 78 74 7e 20 77 69 6c 6c 20 74 72 61 6e 73 6c 61 74 65 20 74 6f 20 3c 6b 62 64 3e ,.~text~.will.translate.to.<kbd>
20ac0 74 65 78 74 3c 2f 6b 62 64 3e 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 text</kbd>."...:group.'org-expor
20ae0 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b 3b 23 23 23 61 t-hugo...:type.'boolean).;;;###a
20b00 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d utoload.(put.'org-hugo-use-code-
20b20 66 6f 72 2d 6b 62 64 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 62 6f for-kbd.'safe-local-variable.'bo
20b40 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c oleanp)..(defcustom.org-hugo-all
20b60 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 20 74 0a 20 20 22 57 68 65 6e 20 6e 6f 6e 2d ow-spaces-in-tags.t..."When.non-
20b80 6e 69 6c 2c 20 72 65 70 6c 61 63 65 20 64 6f 75 62 6c 65 20 75 6e 64 65 72 73 63 6f 72 65 73 20 nil,.replace.double.underscores.
20ba0 69 6e 20 4f 72 67 20 74 61 67 73 20 77 69 74 68 20 73 70 61 63 65 73 2e 0a 0a 53 65 65 20 60 6f in.Org.tags.with.spaces...See.`o
20bc0 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d 72 65 70 6c 61 rg-hugo--tag-processing-fn-repla
20be0 63 65 2d 77 69 74 68 2d 73 70 61 63 65 73 2d 6d 61 79 62 65 27 20 66 6f 72 0a 6d 6f 72 65 20 69 ce-with-spaces-maybe'.for.more.i
20c00 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 61 66 66 65 63 nformation...This.variable.affec
20c20 74 73 20 74 68 65 20 48 75 67 6f 20 74 61 67 73 20 61 6e 64 20 63 61 74 65 67 6f 72 69 65 73 20 ts.the.Hugo.tags.and.categories.
20c40 28 73 65 74 20 76 69 61 20 4f 72 67 0a 74 61 67 73 20 75 73 69 6e 67 20 74 68 65 20 5c 22 40 5c (set.via.Org.tags.using.the.\"@\
20c60 22 20 70 72 65 66 69 78 29 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 ".prefix)."...:group.'org-export
20c80 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b 3b 23 23 23 61 75 -hugo...:type.'boolean).;;;###au
20ca0 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 toload.(put.'org-hugo-allow-spac
20cc0 65 73 2d 69 6e 2d 74 61 67 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 es-in-tags.'safe-local-variable.
20ce0 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 'booleanp)..(defcustom.org-hugo-
20d00 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 20 74 0a 20 20 22 57 68 65 6e 20 prefer-hyphen-in-tags.t..."When.
20d20 6e 6f 6e 2d 6e 69 6c 2c 20 72 65 70 6c 61 63 65 20 73 69 6e 67 6c 65 20 75 6e 64 65 72 73 63 6f non-nil,.replace.single.undersco
20d40 72 65 73 20 69 6e 20 4f 72 67 20 74 61 67 73 20 77 69 74 68 20 68 79 70 68 65 6e 73 2e 0a 0a 53 res.in.Org.tags.with.hyphens...S
20d60 65 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d ee.`org-hugo--tag-processing-fn-
20d80 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 68 79 70 68 65 6e 73 2d 6d 61 79 62 65 27 20 66 6f 72 0a replace-with-hyphens-maybe'.for.
20da0 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 more.information...This.variable
20dc0 20 61 66 66 65 63 74 73 20 74 68 65 20 48 75 67 6f 20 74 61 67 73 20 61 6e 64 20 63 61 74 65 67 .affects.the.Hugo.tags.and.categ
20de0 6f 72 69 65 73 20 28 73 65 74 20 76 69 61 20 4f 72 67 0a 74 61 67 73 20 75 73 69 6e 67 20 74 68 ories.(set.via.Org.tags.using.th
20e00 65 20 5c 22 40 5c 22 20 70 72 65 66 69 78 29 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d e.\"@\".prefix)."...:group.'org-
20e20 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b export-hugo...:type.'boolean).;;
20e40 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 70 72 65 66 ;###autoload.(put.'org-hugo-pref
20e60 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 er-hyphen-in-tags.'safe-local-va
20e80 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
20ea0 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 20 g-hugo-tag-processing-functions.
20ec0 27 28 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d 72 65 '(org-hugo--tag-processing-fn-re
20ee0 70 6c 61 63 65 2d 77 69 74 68 2d 73 70 61 63 65 73 2d 6d 61 79 62 65 0a 20 20 20 20 20 20 20 20 place-with-spaces-maybe.........
20f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
20f20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d .......org-hugo--tag-processing-
20f40 66 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 68 79 70 68 65 6e 73 2d 6d 61 79 62 65 29 0a 20 fn-replace-with-hyphens-maybe)..
20f60 20 22 4c 69 73 74 20 6f 66 20 66 75 6e 63 74 69 6f 6e 73 20 74 68 61 74 20 61 72 65 20 63 61 6c ."List.of.functions.that.are.cal
20f80 6c 65 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 70 72 6f 63 65 73 73 20 74 68 65 20 4f 72 67 20 led.in.order.to.process.the.Org.
20fa0 74 61 67 73 2e 0a 45 61 63 68 20 66 75 6e 63 74 69 6f 6e 20 68 61 73 20 74 6f 20 61 63 63 65 70 tags..Each.function.has.to.accep
20fc0 74 20 74 77 6f 20 61 72 67 75 6d 65 6e 74 73 3a 0a 0a 41 72 67 20 31 3a 20 54 41 47 2d 4c 49 53 t.two.arguments:..Arg.1:.TAG-LIS
20fe0 54 20 77 68 69 63 68 20 69 73 20 61 20 6c 69 73 74 20 6f 66 20 4f 72 67 20 74 61 67 73 20 6f 66 T.which.is.a.list.of.Org.tags.of
21000 20 74 68 65 20 74 79 70 65 0a 20 20 20 20 20 20 20 5c 28 5c 22 54 41 47 31 5c 22 20 5c 22 54 41 .the.type........\(\"TAG1\".\"TA
21020 47 32 5c 22 20 2e 2e 29 2e 0a 41 72 67 20 32 3a 20 49 4e 46 4f 20 77 68 69 63 68 20 69 73 20 61 G2\"...)..Arg.2:.INFO.which.is.a
21040 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 66 6f 72 6d .plist.holding.contextual.inform
21060 61 74 69 6f 6e 2e 0a 0a 45 61 63 68 20 66 75 6e 63 74 69 6f 6e 20 73 68 6f 75 6c 64 20 74 68 65 ation...Each.function.should.the
21080 6e 20 72 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 2c 20 77 68 69 63 n.return.a.list.of.strings,.whic
210a0 68 20 77 6f 75 6c 64 0a 62 65 20 70 72 6f 63 65 73 73 65 64 20 66 6f 72 6d 20 6f 66 20 54 41 47 h.would.be.processed.form.of.TAG
210c0 2d 4c 49 53 54 2e 0a 0a 41 6c 6c 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 63 61 -LIST...All.the.functions.are.ca
210e0 6c 6c 65 64 20 69 6e 20 6f 72 64 65 72 2c 20 61 6e 64 20 74 68 65 20 6f 75 74 70 75 74 20 6f 66 lled.in.order,.and.the.output.of
21100 20 6f 6e 65 0a 66 75 6e 63 74 69 6f 6e 20 69 73 20 66 65 64 20 61 73 20 74 68 65 20 54 41 47 2d .one.function.is.fed.as.the.TAG-
21120 4c 49 53 54 20 69 6e 70 75 74 20 6f 66 20 74 68 65 20 6e 65 78 74 20 63 61 6c 6c 65 64 0a 66 75 LIST.input.of.the.next.called.fu
21140 6e 63 74 69 6f 6e 2e 0a 0a 54 68 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 nction...The.`org-hugo--tag-proc
21160 65 73 73 69 6e 67 2d 66 6e 2d 72 65 70 6c 61 63 65 2d 77 69 74 68 2d 73 70 61 63 65 73 2d 6d 61 essing-fn-replace-with-spaces-ma
21180 79 62 65 27 0a 66 75 6e 63 74 69 6f 6e 20 73 6b 69 70 73 20 61 6e 79 20 70 72 6f 63 65 73 73 69 ybe'.function.skips.any.processi
211a0 6e 67 20 61 6e 64 20 72 65 74 75 72 6e 73 20 69 74 73 20 69 6e 70 75 74 20 54 41 47 2d 4c 49 53 ng.and.returns.its.input.TAG-LIS
211c0 54 20 61 73 0a 69 74 20 69 73 20 69 66 20 60 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 T.as.it.is.if.`org-hugo-allow-sp
211e0 61 63 65 73 2d 69 6e 2d 74 61 67 73 27 20 69 73 20 6e 69 6c 2e 0a 0a 54 68 65 20 60 6f 72 67 2d aces-in-tags'.is.nil...The.`org-
21200 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d 72 65 70 6c 61 63 65 2d hugo--tag-processing-fn-replace-
21220 77 69 74 68 2d 68 79 70 68 65 6e 73 2d 6d 61 79 62 65 27 0a 66 75 6e 63 74 69 6f 6e 20 73 6b 69 with-hyphens-maybe'.function.ski
21240 70 73 20 61 6e 79 20 70 72 6f 63 65 73 73 69 6e 67 20 61 6e 64 20 72 65 74 75 72 6e 73 20 69 74 ps.any.processing.and.returns.it
21260 73 20 69 6e 70 75 74 20 54 41 47 2d 4c 49 53 54 20 61 73 0a 69 74 20 69 73 20 69 66 20 60 6f 72 s.input.TAG-LIST.as.it.is.if.`or
21280 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 27 20 69 73 g-hugo-prefer-hyphen-in-tags'.is
212a0 20 6e 69 6c 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f .nil."...:group.'org-export-hugo
212c0 0a 20 20 3a 74 79 70 65 20 27 28 72 65 70 65 61 74 20 28 66 75 6e 63 74 69 6f 6e 29 29 29 0a 0a ...:type.'(repeat.(function)))..
212e0 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 (defcustom.org-hugo-auto-set-las
21300 74 6d 6f 64 20 6e 69 6c 0a 20 20 22 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c 2c 20 73 65 74 20 74 68 tmod.nil..."When.non-nil,.set.th
21320 65 20 6c 61 73 74 6d 6f 64 20 66 69 65 6c 64 20 69 6e 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 e.lastmod.field.in.front-matter.
21340 74 6f 20 63 75 72 72 65 6e 74 20 74 69 6d 65 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d to.current.time."...:group.'org-
21360 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 3b 3b export-hugo...:type.'boolean).;;
21380 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 75 74 6f ;###autoload.(put.'org-hugo-auto
213a0 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c -set-lastmod.'safe-local-variabl
213c0 65 20 27 62 6f 6f 6c 65 61 6e 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 e.'booleanp)..(defcustom.org-hug
213e0 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 20 30 2e 30 0a 20 20 o-suppress-lastmod-period.0.0...
21400 22 53 75 70 70 72 65 73 73 69 6e 67 20 70 65 72 69 6f 64 20 28 69 6e 20 73 65 63 6f 6e 64 73 29 "Suppressing.period.(in.seconds)
21420 20 66 6f 72 20 61 64 64 69 6e 67 20 74 68 65 20 6c 61 73 74 6d 6f 64 20 66 72 6f 6e 74 2d 6d 61 .for.adding.the.lastmod.front-ma
21440 74 74 65 72 2e 0a 0a 54 68 65 20 73 75 70 70 72 65 73 73 69 6e 67 20 70 65 72 69 6f 64 20 69 73 tter...The.suppressing.period.is
21460 20 63 61 6c 63 75 6c 61 74 65 64 20 61 73 20 61 20 64 65 6c 74 61 20 62 65 74 77 65 65 6e 20 74 .calculated.as.a.delta.between.t
21480 68 65 0a 5c 22 64 61 74 65 5c 22 20 61 6e 64 20 61 75 74 6f 2d 63 61 6c 63 75 6c 61 74 65 64 20 he.\"date\".and.auto-calculated.
214a0 5c 22 6c 61 73 74 6d 6f 64 5c 22 20 76 61 6c 75 65 73 2e 20 20 54 68 69 73 20 76 61 6c 75 65 20 \"lastmod\".values...This.value.
214c0 63 61 6e 0a 62 65 20 30 2e 30 20 6f 72 20 61 20 70 6f 73 69 74 69 76 65 20 66 6c 6f 61 74 2e 0a can.be.0.0.or.a.positive.float..
214e0 0a 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 69 73 20 30 2e 30 20 28 73 65 63 6f 6e .The.default.value.is.0.0.(secon
21500 64 73 29 2c 20 77 68 69 63 68 20 6d 65 61 6e 73 20 74 68 61 74 20 74 68 65 20 6c 61 73 74 6d 6f ds),.which.means.that.the.lastmo
21520 64 0a 70 61 72 61 6d 65 74 65 72 20 77 69 6c 6c 20 62 65 20 61 64 64 65 64 20 74 6f 20 66 72 6f d.parameter.will.be.added.to.fro
21540 6e 74 2d 6d 61 74 74 65 72 20 65 76 65 6e 20 69 66 20 74 68 65 20 70 6f 73 74 20 69 73 0a 6d 6f nt-matter.even.if.the.post.is.mo
21560 64 69 66 69 65 64 20 77 69 74 68 69 6e 20 6a 75 73 74 20 30 2e 31 20 73 65 63 6f 6e 64 73 20 61 dified.within.just.0.1.seconds.a
21580 66 74 65 72 20 74 68 65 20 69 6e 69 74 69 61 6c 20 63 72 65 61 74 69 6f 6e 20 6f 66 0a 69 74 20 fter.the.initial.creation.of.it.
215a0 28 77 68 65 6e 20 74 68 65 20 5c 22 64 61 74 65 5c 22 20 69 73 20 73 65 74 29 2e 0a 0a 49 66 20 (when.the.\"date\".is.set)...If.
215c0 74 68 65 20 76 61 6c 75 65 20 69 73 20 38 36 34 30 30 2e 30 2c 20 74 68 65 20 6c 61 73 74 6d 6f the.value.is.86400.0,.the.lastmo
215e0 64 20 70 61 72 61 6d 65 74 65 72 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 64 64 65 64 0a 74 6f d.parameter.will.not.be.added.to
21600 20 74 68 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 77 69 74 68 69 6e 20 32 34 20 68 6f 75 72 .the.front-matter.within.24.hour
21620 73 20 66 72 6f 6d 20 74 68 65 20 69 6e 69 74 69 61 6c 20 65 78 70 6f 72 74 69 6e 67 2e 0a 0a 54 s.from.the.initial.exporting...T
21640 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 65 66 66 65 63 74 69 76 65 20 6f 6e 6c 79 20 69 his.variable.is.effective.only.i
21660 66 20 61 75 74 6f 2d 73 65 74 74 69 6e 67 20 6f 66 20 74 68 65 0a 5c 22 6c 61 73 74 6d 6f 64 5c f.auto-setting.of.the.\"lastmod\
21680 22 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 65 6e 61 62 6c 65 64 20 69 2e 65 2e 20 69 66 0a 60 ".parameter.is.enabled.i.e..if.`
216a0 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 27 20 6f 72 20 60 45 org-hugo-auto-set-lastmod'.or.`E
216c0 58 50 4f 52 54 5f 48 55 47 4f 5f 41 55 54 4f 5f 53 45 54 5f 4c 41 53 54 4d 4f 44 27 20 69 73 0a XPORT_HUGO_AUTO_SET_LASTMOD'.is.
216e0 6e 6f 6e 2d 6e 69 6c 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 non-nil."...:group.'org-export-h
21700 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 66 6c 6f 61 74 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f ugo...:type.'float).;;;###autolo
21720 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d ad.(put.'org-hugo-suppress-lastm
21740 6f 64 2d 70 65 72 69 6f 64 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 od-period.'safe-local-variable.'
21760 66 6c 6f 61 74 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 floatp)..(defcustom.org-hugo-exp
21780 6f 72 74 2d 77 69 74 68 2d 74 6f 63 20 6e 69 6c 0a 20 20 22 57 68 65 6e 20 6e 6f 6e 2d 6e 69 6c ort-with-toc.nil..."When.non-nil
217a0 2c 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 20 54 4f 43 20 77 69 6c 6c 20 62 65 20 69 6e ,.Markdown.format.TOC.will.be.in
217c0 73 65 72 74 65 64 2e 0a 0a 54 68 65 20 54 4f 43 20 63 6f 6e 74 61 69 6e 73 20 68 65 61 64 69 6e serted...The.TOC.contains.headin
217e0 67 73 20 77 69 74 68 20 6c 65 76 65 6c 73 20 75 70 0a 74 6f 60 6f 72 67 2d 65 78 70 6f 72 74 2d gs.with.levels.up.to`org-export-
21800 68 65 61 64 6c 69 6e 65 2d 6c 65 76 65 6c 73 27 2e 20 20 57 68 65 6e 20 61 6e 20 69 6e 74 65 67 headline-levels'...When.an.integ
21820 65 72 2c 20 69 6e 63 6c 75 64 65 20 6c 65 76 65 6c 73 0a 75 70 20 74 6f 20 4e 20 69 6e 20 74 68 er,.include.levels.up.to.N.in.th
21840 65 20 74 6f 63 2c 20 74 68 69 73 20 6d 61 79 20 74 68 65 6e 20 62 65 20 64 69 66 66 65 72 65 6e e.toc,.this.may.then.be.differen
21860 74 20 66 72 6f 6d 0a 60 6f 72 67 2d 65 78 70 6f 72 74 2d 68 65 61 64 6c 69 6e 65 2d 6c 65 76 65 t.from.`org-export-headline-leve
21880 6c 73 27 2c 20 62 75 74 20 69 74 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 6c 6c 6f 77 65 64 20 ls',.but.it.will.not.be.allowed.
218a0 74 6f 20 62 65 0a 6c 61 72 67 65 72 20 74 68 61 6e 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 to.be.larger.than.the.number.of.
218c0 68 65 61 64 69 6e 67 20 6c 65 76 65 6c 73 2e 20 20 57 68 65 6e 20 6e 69 6c 2c 20 6e 6f 20 74 61 heading.levels...When.nil,.no.ta
218e0 62 6c 65 20 6f 66 0a 63 6f 6e 74 65 6e 74 73 20 69 73 20 6d 61 64 65 2e 0a 0a 54 68 69 73 20 6f ble.of.contents.is.made...This.o
21900 70 74 69 6f 6e 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 65 74 20 77 69 74 68 20 74 68 65 20 4f ption.can.also.be.set.with.the.O
21920 50 54 49 4f 4e 53 20 6b 65 79 77 6f 72 64 2c 0a 65 2e 67 2e 20 5c 22 74 6f 63 3a 6e 69 6c 5c 22 PTIONS.keyword,.e.g..\"toc:nil\"
21940 2c 20 5c 22 74 6f 63 3a 74 5c 22 20 6f 72 20 5c 22 74 6f 63 3a 33 5c 22 2e 22 0a 20 20 3a 67 72 ,.\"toc:t\".or.\"toc:3\"."...:gr
21960 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 63 oup.'org-export-hugo...:type.'(c
21980 68 6f 69 63 65 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 4e 6f 20 hoice...........(const.:tag."No.
219a0 54 61 62 6c 65 20 6f 66 20 43 6f 6e 74 65 6e 74 73 22 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 Table.of.Contents".nil).........
219c0 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 46 75 6c 6c 20 54 61 62 6c 65 20 6f 66 20 43 6f 6e ..(const.:tag."Full.Table.of.Con
219e0 74 65 6e 74 73 22 20 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 74 65 67 65 72 20 3a 74 61 tents".t)...........(integer.:ta
21a00 67 20 22 54 4f 43 20 74 6f 20 6c 65 76 65 6c 22 29 29 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f g."TOC.to.level"))).;;;###autolo
21a20 61 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 74 6f ad.(put.'org-hugo-export-with-to
21a40 63 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 28 6c 61 6d 62 64 61 20 28 c.'safe-local-variable.(lambda.(
21a60 78 29 20 28 6f 72 20 28 62 6f 6f 6c 65 61 6e 70 20 78 29 20 28 69 6e 74 65 67 65 72 70 20 78 29 x).(or.(booleanp.x).(integerp.x)
21a80 29 29 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d )))..(defcustom.org-hugo-export-
21aa0 77 69 74 68 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 20 6e 69 6c 0a 20 20 22 43 6f 6e 66 with-section-numbers.nil..."Conf
21ac0 69 67 75 72 61 74 69 6f 6e 20 66 6f 72 20 61 64 64 69 6e 67 20 73 65 63 74 69 6f 6e 20 6e 75 6d iguration.for.adding.section.num
21ae0 62 65 72 73 20 74 6f 20 68 65 61 64 69 6e 67 73 2e 0a 0a 57 68 65 6e 20 73 65 74 20 74 6f 20 60 bers.to.headings...When.set.to.`
21b00 6f 6e 6c 79 74 6f 63 27 2c 20 6e 6f 6e 65 20 6f 66 20 74 68 65 20 68 65 61 64 69 6e 67 73 20 77 onlytoc',.none.of.the.headings.w
21b20 69 6c 6c 20 62 65 20 6e 75 6d 62 65 72 65 64 20 69 6e 0a 74 68 65 20 65 78 70 6f 72 74 65 64 20 ill.be.numbered.in.the.exported.
21b40 70 6f 73 74 20 62 6f 64 79 2c 20 62 75 74 20 54 4f 43 20 67 65 6e 65 72 61 74 69 6f 6e 20 77 69 post.body,.but.TOC.generation.wi
21b60 6c 6c 20 75 73 65 20 74 68 65 20 73 65 63 74 69 6f 6e 0a 6e 75 6d 62 65 72 73 2e 0a 0a 57 68 65 ll.use.the.section.numbers...Whe
21b80 6e 20 73 65 74 20 74 6f 20 61 6e 20 69 6e 74 65 67 65 72 20 4e 2c 20 6e 75 6d 62 65 72 69 6e 67 n.set.to.an.integer.N,.numbering
21ba0 20 77 69 6c 6c 20 6f 6e 6c 79 20 68 61 70 70 65 6e 20 66 6f 72 0a 68 65 61 64 69 6e 67 73 20 77 .will.only.happen.for.headings.w
21bc0 68 6f 73 65 20 72 65 6c 61 74 69 76 65 20 6c 65 76 65 6c 20 69 73 20 68 69 67 68 65 72 20 6f 72 hose.relative.level.is.higher.or
21be0 20 65 71 75 61 6c 20 74 6f 20 4e 2e 0a 0a 57 68 65 6e 20 73 65 74 20 74 6f 20 61 6e 79 20 6f 74 .equal.to.N...When.set.to.any.ot
21c00 68 65 72 20 6e 6f 6e 2d 6e 69 6c 20 76 61 6c 75 65 2c 20 6e 75 6d 62 65 72 69 6e 67 20 77 69 6c her.non-nil.value,.numbering.wil
21c20 6c 20 68 61 70 70 65 6e 20 66 6f 72 0a 61 6c 6c 20 74 68 65 20 68 65 61 64 69 6e 67 73 2e 0a 0a l.happen.for.all.the.headings...
21c40 54 68 69 73 20 6f 70 74 69 6f 6e 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 65 74 20 77 69 74 68 This.option.can.also.be.set.with
21c60 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 6e 75 6d .the.OPTIONS.keyword,.e.g..\"num
21c80 3a 6f 6e 6c 79 74 6f 63 5c 22 2c 20 5c 22 6e 75 6d 3a 6e 69 6c 5c 22 2c 20 5c 22 6e 75 6d 3a 74 :onlytoc\",.\"num:nil\",.\"num:t
21ca0 5c 22 20 6f 72 20 5c 22 6e 75 6d 3a 33 5c 22 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d \".or.\"num:3\"."...:group.'org-
21cc0 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 63 68 6f 69 63 65 0a 20 20 20 export-hugo...:type.'(choice....
21ce0 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 44 6f 6e 27 74 20 6e 75 6d 62 65 72 .......(const.:tag."Don't.number
21d00 20 6f 6e 6c 79 20 69 6e 20 62 6f 64 79 22 20 6f 6e 6c 79 74 6f 63 29 0a 20 20 20 20 20 20 20 20 .only.in.body".onlytoc).........
21d20 20 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 44 6f 6e 27 74 20 6e 75 6d 62 65 72 20 61 6e 79 20 ..(const.:tag."Don't.number.any.
21d40 68 65 61 64 69 6e 67 22 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 74 20 3a heading".nil)...........(const.:
21d60 74 61 67 20 22 4e 75 6d 62 65 72 20 61 6c 6c 20 68 65 61 64 69 6e 67 73 22 20 74 29 0a 20 20 20 tag."Number.all.headings".t)....
21d80 20 20 20 20 20 20 20 28 69 6e 74 65 67 65 72 20 3a 74 61 67 20 22 4e 75 6d 62 65 72 20 74 6f 20 .......(integer.:tag."Number.to.
21da0 6c 65 76 65 6c 22 29 29 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f level"))).;;;###autoload.(put.'o
21dc0 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 6d 62 rg-hugo-export-with-section-numb
21de0 65 72 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 28 6c 61 6d 62 64 61 ers.'safe-local-variable.(lambda
21e00 20 28 78 29 20 28 6f 72 20 28 62 6f 6f 6c 65 61 6e 70 20 78 29 20 28 65 71 75 61 6c 20 27 6f 6e .(x).(or.(booleanp.x).(equal.'on
21e20 6c 79 74 6f 63 20 78 29 20 28 69 6e 74 65 67 65 72 70 20 78 29 29 29 29 0a 0a 28 64 65 66 63 75 lytoc.x).(integerp.x))))..(defcu
21e40 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 75 62 stom.org-hugo-default-static-sub
21e60 64 69 72 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 20 22 6f 78 2d 68 75 67 6f directory-for-externals."ox-hugo
21e80 22 0a 20 20 22 44 65 66 61 75 6c 74 20 73 75 62 2d 64 69 72 65 63 74 6f 72 79 20 69 6e 20 48 75 "..."Default.sub-directory.in.Hu
21ea0 67 6f 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 65 78 74 65 72 6e 61 6c go.static.directory.for.external
21ec0 20 66 69 6c 65 73 2e 0a 49 66 20 74 68 65 20 73 6f 75 72 63 65 20 70 61 74 68 20 66 6f 72 20 65 .files..If.the.source.path.for.e
21ee0 78 74 65 72 6e 61 6c 20 66 69 6c 65 73 20 64 6f 65 73 20 6e 6f 74 20 63 6f 6e 74 61 69 6e 0a 5c xternal.files.does.not.contain.\
21f00 22 73 74 61 74 69 63 5c 22 2c 20 60 6f 78 2d 68 75 67 6f 60 20 63 61 6e 6e 6f 74 20 6b 6e 6f 77 "static\",.`ox-hugo`.cannot.know
21f20 20 77 68 61 74 20 64 69 72 65 63 74 6f 72 79 20 73 74 72 75 63 74 75 72 65 20 74 6f 0a 63 72 65 .what.directory.structure.to.cre
21f40 61 74 65 20 69 6e 73 69 64 65 20 74 68 65 20 48 75 67 6f 20 73 74 61 74 69 63 20 64 69 72 65 63 ate.inside.the.Hugo.static.direc
21f60 74 6f 72 79 2e 20 20 53 6f 20 61 6c 6c 20 73 75 63 68 20 66 69 6c 65 73 20 61 72 65 0a 63 6f 70 tory...So.all.such.files.are.cop
21f80 69 65 64 20 74 6f 20 74 68 69 73 20 73 75 62 2d 64 69 72 65 63 74 6f 72 79 20 69 6e 73 69 64 65 ied.to.this.sub-directory.inside
21fa0 20 74 68 65 20 48 75 67 6f 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 79 2e 22 0a 20 20 3a .the.Hugo.static.directory."...:
21fc0 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 group.'org-export-hugo...:type.'
21fe0 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 20 27 6f 72 67 string).;;;###autoload.(put.'org
22000 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 75 62 64 69 72 65 63 74 6f 72 -hugo-default-static-subdirector
22020 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 y-for-externals.'safe-local-vari
22040 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 able.'stringp)..(defcustom.org-h
22060 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d 66 69 6c 65 2d 65 78 74 65 6e 73 69 6f 6e 73 2d 61 6c 6c ugo-external-file-extensions-all
22080 6f 77 65 64 2d 66 6f 72 2d 63 6f 70 79 69 6e 67 0a 20 20 27 28 22 6a 70 67 22 20 22 6a 70 65 67 owed-for-copying...'("jpg"."jpeg
220a0 22 20 22 74 69 66 66 22 20 22 70 6e 67 22 20 22 73 76 67 22 20 22 67 69 66 22 20 22 62 6d 70 22 "."tiff"."png"."svg"."gif"."bmp"
220c0 0a 20 20 20 20 22 6d 70 34 22 0a 20 20 20 20 22 70 64 66 22 20 22 6f 64 74 22 0a 20 20 20 20 22 ....."mp4"....."pdf"."odt"....."
220e0 64 6f 63 22 20 22 70 70 74 22 20 22 78 6c 73 22 0a 20 20 20 20 22 64 6f 63 78 22 20 22 70 70 74 doc"."ppt"."xls"....."docx"."ppt
22100 78 22 20 22 78 6c 73 78 22 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 65 78 74 65 72 6e 61 6c 20 66 x"."xlsx")..."List.of.external.f
22120 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 20 61 6c 6c 6f 77 65 64 20 66 6f 72 20 63 6f 70 79 69 ile.extensions.allowed.for.copyi
22140 6e 67 20 74 6f 20 48 75 67 6f 20 73 74 61 74 69 63 20 64 69 72 2e 0a 49 66 20 61 6e 20 4f 72 67 ng.to.Hugo.static.dir..If.an.Org
22160 20 6c 69 6e 6b 20 72 65 66 65 72 65 6e 63 65 73 20 61 20 66 69 6c 65 20 77 69 74 68 20 6f 6e 65 .link.references.a.file.with.one
22180 20 6f 66 20 74 68 65 73 65 20 65 78 74 65 6e 73 69 6f 6e 73 2c 0a 61 6e 64 20 69 66 20 74 68 61 .of.these.extensions,.and.if.tha
221a0 74 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 69 6e 20 74 68 65 20 48 75 67 6f 20 73 74 61 74 69 63 t.file.is.not.in.the.Hugo.static
221c0 20 64 69 72 65 63 74 6f 72 79 2c 20 74 68 61 74 20 66 69 6c 65 0a 69 73 20 63 6f 70 69 65 64 20 .directory,.that.file.is.copied.
221e0 6f 76 65 72 20 74 6f 20 74 68 65 20 73 74 61 74 69 63 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 54 over.to.the.static.directory...T
22200 68 65 20 61 75 74 6f 2d 63 6f 70 79 69 6e 67 20 62 65 68 61 76 69 6f 72 20 69 73 20 64 69 73 61 he.auto-copying.behavior.is.disa
22220 62 6c 65 64 20 69 66 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 73 65 74 20 74 6f 0a bled.if.this.variable.is.set.to.
22240 6e 69 6c 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a nil."...:group.'org-export-hugo.
22260 20 20 3a 74 79 70 65 20 27 28 72 65 70 65 61 74 20 73 74 72 69 6e 67 29 29 0a 0a 28 64 65 66 63 ..:type.'(repeat.string))..(defc
22280 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 63 72 65 61 74 6f 72 2d 73 74 ustom.org-hugo-export-creator-st
222a0 72 69 6e 67 0a 20 20 28 66 6f 72 6d 61 74 20 22 45 6d 61 63 73 20 25 73 20 28 4f 72 67 20 6d 6f ring...(format."Emacs.%s.(Org.mo
222c0 64 65 25 73 20 2b 20 6f 78 2d 68 75 67 6f 29 22 0a 20 20 20 20 20 20 20 20 20 20 65 6d 61 63 73 de%s.+.ox-hugo)"...........emacs
222e0 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 66 62 6f 75 6e 64 70 20 -version...........(if.(fboundp.
22300 27 6f 72 67 2d 76 65 72 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 'org-version)...............(con
22320 63 61 74 20 22 20 22 20 28 6f 72 67 2d 76 65 72 73 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 cat.".".(org-version))..........
22340 20 20 20 22 22 29 29 0a 20 20 22 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 74 68 65 ...""))..."Information.about.the
22360 20 63 72 65 61 74 6f 72 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 2e 0a 54 68 69 73 20 6f .creator.of.the.document..This.o
22380 70 74 69 6f 6e 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 65 74 20 6f 6e 20 77 69 74 68 20 74 68 ption.can.also.be.set.on.with.th
223a0 65 20 43 52 45 41 54 4f 52 20 6b 65 79 77 6f 72 64 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 e.CREATOR.keyword."...:group.'or
223c0 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 73 74 72 69 6e 67 20 3a g-export-hugo...:type.'(string.:
223e0 74 61 67 20 22 43 72 65 61 74 6f 72 20 73 74 72 69 6e 67 22 29 29 0a 3b 3b 3b 23 23 23 61 75 74 tag."Creator.string")).;;;###aut
22400 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 63 72 65 61 oload.(put.'org-hugo-export-crea
22420 74 6f 72 2d 73 74 72 69 6e 67 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 tor-string.'safe-local-variable.
22440 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 64 'stringp)..(defcustom.org-hugo-d
22460 61 74 65 2d 66 6f 72 6d 61 74 20 22 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 22 0a 20 20 22 44 61 ate-format."%Y-%m-%dT%T%z"..."Da
22480 74 65 20 66 6f 72 6d 61 74 20 75 73 65 64 20 66 6f 72 20 65 78 70 6f 72 74 69 6e 67 20 64 61 74 te.format.used.for.exporting.dat
224a0 65 20 69 6e 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 0a 0a 46 72 6f 6e 74 2d 6d 61 74 74 65 72 e.in.front-matter...Front-matter
224c0 20 64 61 74 65 20 70 61 72 61 6d 65 74 65 72 73 3a 20 60 64 61 74 65 27 2c 20 60 70 75 62 6c 69 .date.parameters:.`date',.`publi
224e0 73 68 44 61 74 65 27 2c 0a 60 65 78 70 69 72 79 44 61 74 65 27 2c 20 60 6c 61 73 74 6d 6f 64 27 shDate',.`expiryDate',.`lastmod'
22500 2e 0a 0a 4e 6f 74 65 20 74 68 61 74 20 74 68 65 20 64 61 74 65 20 66 6f 72 6d 61 74 20 6d 75 73 ...Note.that.the.date.format.mus
22520 74 20 6d 61 74 63 68 20 74 68 65 20 64 61 74 65 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 66 t.match.the.date.specification.f
22540 72 6f 6d 0a 52 46 43 33 33 33 39 2e 20 20 53 65 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 64 61 74 rom.RFC3339...See.`org-hugo--dat
22560 65 2d 74 69 6d 65 2d 72 65 67 65 78 70 27 20 66 6f 72 20 72 65 66 65 72 65 6e 63 65 20 61 6e 64 e-time-regexp'.for.reference.and
22580 0a 65 78 61 6d 70 6c 65 73 20 6f 66 20 63 6f 6d 70 61 74 69 62 6c 65 20 64 61 74 65 20 73 74 72 .examples.of.compatible.date.str
225a0 69 6e 67 73 2e 0a 0a 45 78 61 6d 70 6c 65 73 20 6f 66 20 52 46 43 33 33 33 39 2d 63 6f 6d 70 61 ings...Examples.of.RFC3339-compa
225c0 74 69 62 6c 65 20 76 61 6c 75 65 73 20 66 6f 72 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 3a 0a tible.values.for.this.variable:.
225e0 0a 20 20 2d 20 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 20 28 64 65 66 61 75 6c 74 29 20 2d 3e 20 ...-.%Y-%m-%dT%T%z.(default).->.
22600 32 30 31 37 2d 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2d 30 34 3a 30 30 0a 20 20 2d 20 25 59 2017-07-31T17:05:38-04:00...-.%Y
22620 2d 25 6d 2d 25 64 54 25 54 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 3e 20 32 30 31 37 2d 30 37 -%m-%dT%T.............->.2017-07
22640 2d 33 31 54 31 37 3a 30 35 3a 33 38 0a 20 20 2d 20 25 59 2d 25 6d 2d 25 64 20 20 20 20 20 20 20 -31T17:05:38...-.%Y-%m-%d.......
22660 20 20 20 20 20 20 20 20 20 2d 3e 20 32 30 31 37 2d 30 37 2d 33 31 0a 0a 4e 6f 74 65 20 74 68 61 .........->.2017-07-31..Note.tha
22680 74 20 5c 22 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 5c 22 20 61 63 74 75 61 6c 6c 79 20 70 72 6f t.\"%Y-%m-%dT%T%z\".actually.pro
226a0 64 75 63 65 73 20 61 20 64 61 74 65 20 73 74 72 69 6e 67 20 6c 69 6b 65 0a 5c 22 32 30 31 37 2d duces.a.date.string.like.\"2017-
226c0 30 37 2d 33 31 54 31 37 3a 30 35 3a 33 38 2d 30 34 30 30 5c 22 3b 20 6e 6f 74 69 63 65 20 74 68 07-31T17:05:38-0400\";.notice.th
226e0 65 20 6d 69 73 73 69 6e 67 20 63 6f 6c 6f 6e 20 69 6e 20 74 68 65 0a 74 69 6d 65 2d 7a 6f 6e 65 e.missing.colon.in.the.time-zone
22700 20 70 6f 72 74 69 6f 6e 2e 0a 0a 41 20 63 6f 6c 6f 6e 20 69 73 20 6e 65 65 64 65 64 20 74 6f 20 .portion...A.colon.is.needed.to.
22720 73 65 70 61 72 61 74 65 20 74 68 65 20 68 6f 75 72 73 20 61 6e 64 20 6d 69 6e 75 74 65 73 20 69 separate.the.hours.and.minutes.i
22740 6e 20 74 68 65 0a 74 69 6d 65 2d 7a 6f 6e 65 20 61 73 20 70 65 72 20 52 46 43 33 33 33 39 2e 20 n.the.time-zone.as.per.RFC3339..
22760 20 54 68 69 73 20 67 65 74 73 20 66 69 78 65 64 20 69 6e 20 74 68 65 0a 60 6f 72 67 2d 68 75 67 .This.gets.fixed.in.the.`org-hug
22780 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 65 27 20 66 75 6e 63 74 69 6f 6e 2c 20 73 6f 20 74 68 61 o--format-date'.function,.so.tha
227a0 74 20 5c 22 25 59 2d 25 6d 2d 25 64 54 25 54 25 7a 5c 22 20 6e 6f 77 0a 72 65 73 75 6c 74 73 20 t.\"%Y-%m-%dT%T%z\".now.results.
227c0 69 6e 20 61 20 64 61 74 65 20 73 74 72 69 6e 67 20 6c 69 6b 65 20 5c 22 32 30 31 37 2d 30 37 2d in.a.date.string.like.\"2017-07-
227e0 33 31 54 31 37 3a 30 35 3a 33 38 2d 30 34 3a 30 30 5c 22 2e 0a 0a 53 65 65 20 60 66 6f 72 6d 61 31T17:05:38-04:00\"...See.`forma
22800 74 2d 74 69 6d 65 2d 73 74 72 69 6e 67 27 20 74 6f 20 6c 65 61 72 6e 20 61 62 6f 75 74 20 74 68 t-time-string'.to.learn.about.th
22820 65 20 64 61 74 65 20 66 6f 72 6d 61 74 20 73 74 72 69 6e 67 0a 65 78 70 72 65 73 73 69 6f 6e 2e e.date.format.string.expression.
22840 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
22860 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 ype.'string).;;;###autoload.(put
22880 20 27 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 20 27 73 61 66 65 2d 6c 6f 63 .'org-hugo-date-format.'safe-loc
228a0 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
228c0 6d 20 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 20 22 22 0a m.org-hugo-paired-shortcodes."".
228e0 20 20 22 53 70 61 63 65 2d 73 65 70 61 72 61 74 65 64 20 73 74 72 69 6e 67 20 6f 66 20 70 61 69 .."Space-separated.string.of.pai
22900 72 65 64 20 73 68 6f 72 74 63 6f 64 65 20 73 74 72 69 6e 67 73 2e 0a 0a 53 68 6f 72 74 63 6f 64 red.shortcode.strings...Shortcod
22920 65 20 73 74 72 69 6e 67 20 63 6f 6e 76 65 6e 74 69 6f 6e 3a 0a 0a 20 20 2d 20 42 65 67 69 6e 20 e.string.convention:....-.Begin.
22940 74 68 65 20 73 74 72 69 6e 67 20 77 69 74 68 20 5c 22 25 5c 22 20 66 6f 72 20 73 68 6f 72 74 63 the.string.with.\"%\".for.shortc
22960 6f 64 65 73 20 77 68 6f 73 65 20 63 6f 6e 74 65 6e 74 20 63 61 6e 0a 20 20 20 20 63 6f 6e 74 61 odes.whose.content.can.....conta
22980 69 6e 20 4d 61 72 6b 64 6f 77 6e 2c 20 61 6e 64 20 74 68 75 73 20 6e 65 65 64 73 20 74 6f 20 62 in.Markdown,.and.thus.needs.to.b
229a0 65 20 70 61 73 73 65 64 20 74 68 72 6f 75 67 68 20 74 68 65 0a 20 20 20 20 48 75 67 6f 20 4d 61 e.passed.through.the.....Hugo.Ma
229c0 72 6b 64 6f 77 6e 20 70 72 6f 63 65 73 73 6f 72 2e 20 20 54 68 65 20 63 6f 6e 74 65 6e 74 20 63 rkdown.processor...The.content.c
229e0 61 6e 20 61 6c 73 6f 20 63 6f 6e 74 61 69 6e 20 48 54 4d 4c 2e 0a 0a 20 20 20 20 45 78 61 6d 70 an.also.contain.HTML.......Examp
22a00 6c 65 20 6f 66 20 61 20 70 61 69 72 65 64 20 6d 61 72 6b 64 6f 77 6e 20 73 68 6f 72 74 63 6f 64 le.of.a.paired.markdown.shortcod
22a20 65 3a 0a 0a 20 20 20 20 20 20 7b 7b 25 20 6d 64 73 68 6f 72 74 63 6f 64 65 20 25 7d 7d 43 6f 6e e:........{{%.mdshortcode.%}}Con
22a40 74 65 6e 74 20 2a 2a 62 6f 6c 64 2a 2a 20 3c 69 3e 69 74 61 6c 69 63 73 3c 2f 69 3e 7b 7b 25 20 tent.**bold**.<i>italics</i>{{%.
22a60 2f 6d 64 73 68 6f 72 74 63 6f 64 65 20 25 7d 7d 0a 0a 20 20 2d 20 41 62 73 65 6e 63 65 20 6f 66 /mdshortcode.%}}....-.Absence.of
22a80 20 74 68 65 20 5c 22 25 5c 22 20 70 72 65 66 69 78 20 77 6f 75 6c 64 20 69 6d 70 6c 79 20 74 68 .the.\"%\".prefix.would.imply.th
22aa0 61 74 20 74 68 65 20 73 68 6f 72 74 63 6f 64 65 27 73 0a 20 20 20 20 63 6f 6e 74 65 6e 74 20 73 at.the.shortcode's.....content.s
22ac0 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 74 68 65 20 4d 61 72 6b 64 hould.not.be.passed.to.the.Markd
22ae0 6f 77 6e 20 70 61 72 73 65 72 2e 20 20 54 68 65 0a 20 20 20 20 63 6f 6e 74 65 6e 74 20 63 61 6e own.parser...The.....content.can
22b00 20 63 6f 6e 74 61 69 6e 20 48 54 4d 4c 20 74 68 6f 75 67 68 2e 0a 0a 20 20 20 20 45 78 61 6d 70 .contain.HTML.though.......Examp
22b20 6c 65 20 6f 66 20 61 20 70 61 69 72 65 64 20 6e 6f 6e 2d 6d 61 72 6b 64 6f 77 6e 20 28 64 65 66 le.of.a.paired.non-markdown.(def
22b40 61 75 6c 74 29 20 73 68 6f 72 74 63 6f 64 65 3a 0a 0a 20 20 20 20 20 20 7b 7b 3c 20 6d 79 73 68 ault).shortcode:........{{<.mysh
22b60 6f 72 74 63 6f 64 65 20 3e 7d 7d 43 6f 6e 74 65 6e 74 20 3c 62 3e 62 6f 6c 64 3c 2f 62 3e 20 3c ortcode.>}}Content.<b>bold</b>.<
22b80 69 3e 69 74 61 6c 69 63 73 3c 2f 69 3e 7b 7b 3c 20 2f 6d 79 73 68 6f 72 74 63 6f 64 65 20 3e 7d i>italics</i>{{<./myshortcode.>}
22ba0 7d 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 20 74 68 65 73 65 20 73 68 6f 72 74 63 6f 64 65 20 73 }..For.example.these.shortcode.s
22bc0 74 72 69 6e 67 73 3a 0a 0a 20 20 2d 20 25 6d 64 73 68 6f 72 74 63 6f 64 65 20 3a 20 50 61 69 72 trings:....-.%mdshortcode.:.Pair
22be0 65 64 20 6d 61 72 6b 64 6f 77 6e 20 73 68 6f 72 74 63 6f 64 65 0a 20 20 2d 20 6d 79 73 68 6f 72 ed.markdown.shortcode...-.myshor
22c00 74 63 6f 64 65 20 20 3a 20 50 61 69 72 65 64 20 64 65 66 61 75 6c 74 20 73 68 6f 72 74 63 6f 64 tcode..:.Paired.default.shortcod
22c20 65 0a 0a 77 6f 75 6c 64 20 62 65 20 63 6f 6c 6c 65 63 74 69 76 65 6c 79 20 61 64 64 65 64 20 74 e..would.be.collectively.added.t
22c40 6f 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 61 73 3a 0a 0a 20 20 20 5c 22 25 6d 64 73 68 6f o.this.variable.as:.....\"%mdsho
22c60 72 74 63 6f 64 65 20 6d 79 73 68 6f 72 74 63 6f 64 65 5c 22 0a 0a 48 75 67 6f 20 73 68 6f 72 74 rtcode.myshortcode\"..Hugo.short
22c80 63 6f 64 65 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 3a 0a 68 74 74 70 73 3a 2f 2f 67 6f 68 codes.documentation:.https://goh
22ca0 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 73 68 6f 72 74 63 ugo.io/content-management/shortc
22cc0 6f 64 65 73 2f 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 odes/."...:group.'org-export-hug
22ce0 6f 0a 20 20 3a 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 o...:type.'string).;;;###autoloa
22d00 64 20 28 70 75 74 20 27 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 d.(put.'org-hugo-paired-shortcod
22d20 65 73 20 27 73 61 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 es.'safe-local-variable.'stringp
22d40 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e 6b 2d 64 65 73 63 )..(defcustom.org-hugo-link-desc
22d60 2d 69 6e 73 65 72 74 2d 74 79 70 65 20 6e 69 6c 0a 20 20 22 49 6e 73 65 72 74 20 74 68 65 20 65 -insert-type.nil..."Insert.the.e
22d80 6c 65 6d 65 6e 74 20 74 79 70 65 20 69 6e 20 6c 69 6e 6b 20 64 65 73 63 72 69 70 74 69 6f 6e 73 lement.type.in.link.descriptions
22da0 20 66 6f 72 20 6e 75 6d 62 65 72 65 64 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 53 74 72 69 6e 67 20 .for.numbered.elements...String.
22dc0 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 74 79 70 65 20 69 73 20 69 6e 73 65 72 74 65 representing.the.type.is.inserte
22de0 64 20 66 6f 72 20 74 68 65 73 65 20 4f 72 67 20 65 6c 65 6d 65 6e 74 73 0a 69 66 20 74 68 65 79 d.for.these.Org.elements.if.they
22e00 20 61 72 65 20 6e 75 6d 62 65 72 65 64 20 28 69 2e 65 2e 20 62 6f 74 68 20 5c 22 23 2b 6e 61 6d .are.numbered.(i.e..both.\"#+nam
22e20 65 5c 22 20 61 6e 64 20 5c 22 23 2b 63 61 70 74 69 6f 6e 5c 22 20 61 72 65 0a 73 70 65 63 69 66 e\".and.\"#+caption\".are.specif
22e40 69 65 64 20 66 6f 72 20 74 68 65 6d 29 3a 0a 0a 2d 20 73 72 63 2d 62 6c 6f 63 6b 20 3a 20 5c 22 ied.for.them):..-.src-block.:.\"
22e60 43 6f 64 65 20 53 6e 69 70 70 65 74 5c 22 0a 2d 20 74 61 62 6c 65 3a 20 5c 22 54 61 62 6c 65 5c Code.Snippet\".-.table:.\"Table\
22e80 22 0a 2d 20 66 69 67 75 72 65 3a 20 5c 22 46 69 67 75 72 65 5c 22 2e 22 0a 20 20 3a 67 72 6f 75 ".-.figure:.\"Figure\"."...:grou
22ea0 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
22ec0 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
22ee0 67 6f 2d 6c 69 6e 6b 2d 64 65 73 63 2d 69 6e 73 65 72 74 2d 74 79 70 65 20 27 73 61 66 65 2d 6c go-link-desc-insert-type.'safe-l
22f00 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
22f20 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 61 69 6e 65 72 2d 65 6c 65 6d 65 6e 74 20 stom.org-hugo-container-element.
22f40 22 22 0a 20 20 22 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 20 74 6f 20 75 73 65 20 66 6f 72 20 77 72 ""..."HTML.element.to.use.for.wr
22f60 61 70 70 69 6e 67 20 74 6f 70 20 6c 65 76 65 6c 20 73 65 63 74 69 6f 6e 73 2e 0a 43 61 6e 20 62 apping.top.level.sections..Can.b
22f80 65 20 73 65 74 20 77 69 74 68 20 74 68 65 20 69 6e 2d 62 75 66 66 65 72 20 48 54 4d 4c 5f 43 4f e.set.with.the.in-buffer.HTML_CO
22fa0 4e 54 41 49 4e 45 52 20 70 72 6f 70 65 72 74 79 2e 0a 0a 57 68 65 6e 20 73 65 74 20 74 6f 20 5c NTAINER.property...When.set.to.\
22fc0 22 5c 22 2c 20 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 20 73 65 63 74 69 6f 6e 73 20 61 72 65 20 "\",.the.top.level.sections.are.
22fe0 6e 6f 74 20 77 72 61 70 70 65 64 20 69 6e 20 61 6e 79 0a 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 2e not.wrapped.in.any.HTML.element.
23000 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
23020 79 70 65 20 27 73 74 72 69 6e 67 29 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 20 28 70 75 74 ype.'string).;;;###autoload.(put
23040 20 27 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 61 69 6e 65 72 2d 65 6c 65 6d 65 6e 74 20 27 73 61 .'org-hugo-container-element.'sa
23060 66 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 27 73 74 72 69 6e 67 70 29 0a 0a 28 64 65 fe-local-variable.'stringp)..(de
23080 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 2d 74 fcustom.org-hugo-special-block-t
230a0 79 70 65 2d 70 72 6f 70 65 72 74 69 65 73 20 27 28 28 22 61 75 64 69 6f 22 20 2e 20 28 3a 72 61 ype-properties.'(("audio"...(:ra
230c0 77 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 w.t))...........................
230e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 22 6b 61 74 65 ..........................("kate
23100 78 22 20 2e 20 28 3a 72 61 77 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 x"...(:raw.t))..................
23120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
23140 20 20 20 28 22 6d 61 72 6b 22 20 2e 20 28 3a 74 72 69 6d 2d 70 72 65 20 74 20 3a 74 72 69 6d 2d ...("mark"...(:trim-pre.t.:trim-
23160 70 6f 73 74 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 post.t))........................
23180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 22 74 .............................("t
231a0 69 6b 7a 6a 61 78 22 20 2e 20 28 3a 72 61 77 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 ikzjax"...(:raw.t)).............
231c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
231e0 20 20 20 20 20 20 20 20 28 22 76 69 64 65 6f 22 20 2e 20 28 3a 72 61 77 20 74 29 29 29 0a 20 20 ........("video"...(:raw.t)))...
23200 22 41 6c 69 73 74 20 66 6f 72 20 73 74 6f 72 69 6e 67 20 64 65 66 61 75 6c 74 20 70 72 6f 70 65 "Alist.for.storing.default.prope
23220 72 74 69 65 73 20 66 6f 72 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 20 74 79 70 65 73 2e 0a 0a rties.for.special.block.types...
23240 45 61 63 68 20 65 6c 65 6d 65 6e 74 20 6f 66 20 74 68 65 20 61 6c 69 73 74 20 69 73 20 6f 66 20 Each.element.of.the.alist.is.of.
23260 74 68 65 20 66 6f 72 6d 20 28 54 59 50 45 20 2e 20 50 4c 49 53 54 29 20 77 68 65 72 65 0a 54 59 the.form.(TYPE...PLIST).where.TY
23280 50 45 20 69 73 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 73 70 65 63 69 PE.is.a.string.holding.the.speci
232a0 61 6c 20 62 6c 6f 63 6b 27 73 20 74 79 70 65 20 61 6e 64 20 50 4c 49 53 54 20 69 73 20 61 0a 70 al.block's.type.and.PLIST.is.a.p
232c0 72 6f 70 65 72 74 79 20 6c 69 73 74 20 66 6f 72 20 74 68 61 74 20 54 59 50 45 2e 0a 0a 54 68 65 roperty.list.for.that.TYPE...The
232e0 20 54 59 50 45 20 73 74 72 69 6e 67 20 63 6f 75 6c 64 20 62 65 20 61 6e 79 20 73 70 65 63 69 61 .TYPE.string.could.be.any.specia
23300 6c 20 62 6c 6f 63 6b 20 74 79 70 65 20 6c 69 6b 65 20 61 6e 20 48 54 4d 4c 0a 69 6e 6c 69 6e 65 l.block.type.like.an.HTML.inline
23320 20 6f 72 20 62 6c 6f 63 6b 20 74 61 67 2c 20 6f 72 20 6e 61 6d 65 20 6f 66 20 61 20 48 75 67 6f .or.block.tag,.or.name.of.a.Hugo
23340 20 73 68 6f 72 74 63 6f 64 65 2c 20 6f 72 20 61 6e 79 20 72 61 6e 64 6f 6d 0a 73 74 72 69 6e 67 .shortcode,.or.any.random.string
23360 2e 0a 0a 50 72 6f 70 65 72 74 69 65 73 20 72 65 63 6f 67 6e 69 7a 65 64 20 69 6e 20 74 68 65 20 ...Properties.recognized.in.the.
23380 50 4c 49 53 54 3a 0a 0a 2d 20 3a 72 61 77 20 3a 3a 20 57 68 65 6e 20 73 65 74 20 74 6f 20 74 2c PLIST:..-.:raw.::.When.set.to.t,
233a0 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 73 70 65 63 69 61 6c 20 62 6c 6f .the.contents.of.the.special.blo
233c0 63 6b 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 65 78 70 6f 72 74 65 64 20 72 61 77 20 69 2e 65 ck.as...........exported.raw.i.e
233e0 2e 20 61 73 20 74 79 70 65 64 20 69 6e 20 74 68 65 20 4f 72 67 20 62 75 66 66 65 72 2e 0a 0a 2d ..as.typed.in.the.Org.buffer...-
23400 20 3a 74 72 69 6d 2d 70 72 65 20 3a 3a 20 57 68 65 6e 20 73 65 74 20 74 6f 20 74 2c 20 74 68 65 .:trim-pre.::.When.set.to.t,.the
23420 20 77 68 69 74 65 73 70 61 63 65 20 62 65 66 6f 72 65 20 74 68 65 20 73 70 65 63 69 61 6c 0a 20 .whitespace.before.the.special..
23440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 20 69 73 20 72 65 6d 6f 76 65 64 2e 0a ..............block.is.removed..
23460 0a 2d 20 3a 74 72 69 6d 2d 70 72 65 20 3a 3a 20 57 68 65 6e 20 73 65 74 20 74 6f 20 74 2c 20 74 .-.:trim-pre.::.When.set.to.t,.t
23480 68 65 20 77 68 69 74 65 73 70 61 63 65 20 61 66 74 65 72 20 74 68 65 20 73 70 65 63 69 61 6c 0a he.whitespace.after.the.special.
234a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 20 69 73 20 72 65 6d 6f 76 65 64 2e ...............block.is.removed.
234c0 0a 0a 46 6f 72 20 74 68 65 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 20 74 79 70 65 73 20 6e 6f ..For.the.special.block.types.no
234e0 74 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 2c 20 74 68 t.specified.in.this.variable,.th
23500 65 0a 64 65 66 61 75 6c 74 20 62 65 68 61 76 69 6f 72 20 69 73 20 73 61 6d 65 20 61 73 20 69 66 e.default.behavior.is.same.as.if
23520 20 28 3a 72 61 77 20 6e 69 6c 20 3a 74 72 69 6d 2d 70 72 65 20 6e 69 6c 20 3a 74 72 69 6d 2d 70 .(:raw.nil.:trim-pre.nil.:trim-p
23540 6f 73 74 0a 6e 69 6c 29 20 70 6c 69 73 74 20 77 65 72 65 20 61 73 73 6f 63 69 61 74 65 64 20 77 ost.nil).plist.were.associated.w
23560 69 74 68 20 74 68 65 6d 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d ith.them."...:group.'org-export-
23580 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 61 6c 69 73 74 20 3a 6b 65 79 2d 74 79 70 65 20 73 hugo...:type.'(alist.:key-type.s
235a0 74 72 69 6e 67 20 3a 76 61 6c 75 65 2d 74 79 70 65 20 28 70 6c 69 73 74 20 3a 6b 65 79 2d 74 79 tring.:value-type.(plist.:key-ty
235c0 70 65 20 73 79 6d 62 6f 6c 20 3a 76 61 6c 75 65 2d 74 79 70 65 20 62 6f 6f 6c 65 61 6e 29 29 29 pe.symbol.:value-type.boolean)))
235e0 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 61 6e 63 68 6f 72 2d 66 75 6e ..(defcustom.org-hugo-anchor-fun
23600 63 74 69 6f 6e 73 20 27 28 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 70 61 67 65 2d 6f 72 2d 62 75 ctions.'(org-hugo-get-page-or-bu
23620 6e 64 6c 65 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ndle-name.......................
23640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 63 75 .................org-hugo-get-cu
23660 73 74 6f 6d 2d 69 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 stom-id.........................
23680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 68 65 61 64 ...............org-hugo-get-head
236a0 69 6e 67 2d 73 6c 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ing-slug........................
236c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 6d 64 35 ................org-hugo-get-md5
236e0 29 0a 20 20 22 41 20 6c 69 73 74 20 6f 66 20 66 75 6e 63 74 69 6f 6e 73 20 66 6f 72 20 64 65 72 )..."A.list.of.functions.for.der
23700 69 76 69 6e 67 20 74 68 65 20 61 6e 63 68 6f 72 20 6f 66 20 63 75 72 72 65 6e 74 20 4f 72 67 20 iving.the.anchor.of.current.Org.
23720 68 65 61 64 69 6e 67 2e 0a 0a 54 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 77 69 6c 6c 20 62 65 20 heading...The.functions.will.be.
23740 72 75 6e 20 69 6e 20 74 68 65 20 6f 72 64 65 72 20 61 64 64 65 64 20 74 6f 20 74 68 69 73 20 76 run.in.the.order.added.to.this.v
23760 61 72 69 61 62 6c 65 0a 75 6e 74 69 6c 20 74 68 65 20 66 69 72 73 74 20 6f 6e 65 20 72 65 74 75 ariable.until.the.first.one.retu
23780 72 6e 73 20 61 20 6e 6f 6e 2d 6e 69 6c 20 76 61 6c 75 65 2e 20 20 53 6f 20 74 68 65 20 66 75 6e rns.a.non-nil.value...So.the.fun
237a0 63 74 69 6f 6e 73 20 69 6e 0a 74 68 69 73 20 6c 69 73 74 20 61 72 65 20 6f 72 64 65 72 2d 73 65 ctions.in.this.list.are.order-se
237c0 6e 73 69 74 69 76 65 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 60 6f 72 67 2d 68 nsitive...For.example,.if.`org-h
237e0 75 67 6f 2d 67 65 74 2d 70 61 67 65 2d 6f 72 2d 62 75 6e 64 6c 65 2d 6e 61 6d 65 27 20 69 73 20 ugo-get-page-or-bundle-name'.is.
23800 74 68 65 20 66 69 72 73 74 0a 65 6c 65 6d 65 6e 74 20 69 6e 20 74 68 69 73 20 6c 69 73 74 2c 20 the.first.element.in.this.list,.
23820 74 68 65 20 68 65 61 64 69 6e 67 27 73 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 the.heading's.`:EXPORT_FILE_NAME
23840 27 20 70 72 6f 70 65 72 74 79 0a 77 69 6c 6c 20 68 61 76 65 20 74 68 65 20 68 69 67 68 65 73 74 '.property.will.have.the.highest
23860 20 70 72 65 63 65 64 65 6e 63 65 20 69 6e 20 64 65 74 65 72 6d 69 6e 69 6e 67 20 74 68 65 20 68 .precedence.in.determining.the.h
23880 65 61 64 69 6e 67 27 73 0a 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 2e 0a 0a 54 68 69 73 20 76 61 eading's.anchor.string...This.va
238a0 72 69 61 62 6c 65 20 69 73 20 75 73 65 64 20 69 6e 20 74 68 65 20 60 6f 72 67 2d 68 75 67 6f 2d riable.is.used.in.the.`org-hugo-
238c0 2d 67 65 74 2d 61 6e 63 68 6f 72 27 20 69 6e 74 65 72 6e 61 6c 0a 66 75 6e 63 74 69 6f 6e 2e 0a -get-anchor'.internal.function..
238e0 0a 46 75 6e 63 74 69 6f 6e 73 20 61 64 64 65 64 20 74 6f 20 74 68 69 73 20 6c 69 73 74 20 73 68 .Functions.added.to.this.list.sh
23900 6f 75 6c 64 20 68 61 76 65 20 32 20 61 72 67 75 6d 65 6e 74 73 20 28 77 68 69 63 68 20 63 6f 75 ould.have.2.arguments.(which.cou
23920 6c 64 0a 65 76 65 6e 20 62 65 20 64 65 63 6c 61 72 65 64 20 61 73 20 6f 70 74 69 6f 6e 61 6c 29 ld.even.be.declared.as.optional)
23940 3a 0a 0a 31 2e 20 45 4c 45 4d 45 4e 54 20 3a 20 4f 72 67 20 65 6c 65 6d 65 6e 74 0a 32 2e 20 49 :..1..ELEMENT.:.Org.element.2..I
23960 4e 46 4f 20 20 20 20 3a 20 47 65 6e 65 72 61 6c 20 70 6c 69 73 74 20 75 73 65 64 20 61 73 20 61 NFO....:.General.plist.used.as.a
23980 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 0a 0a 53 6f 6d 65 20 6f 66 20 .communication.channel..Some.of.
239a0 74 68 65 20 69 6e 62 75 69 6c 74 20 66 75 6e 63 74 69 6f 6e 73 20 74 68 61 74 20 63 61 6e 20 62 the.inbuilt.functions.that.can.b
239c0 65 20 61 64 64 65 64 20 74 6f 20 74 68 69 73 20 6c 69 73 74 3a 0a 2d 20 60 6f 72 67 2d 68 75 67 e.added.to.this.list:.-.`org-hug
239e0 6f 2d 67 65 74 2d 70 61 67 65 2d 6f 72 2d 62 75 6e 64 6c 65 2d 6e 61 6d 65 27 0a 2d 20 60 6f 72 o-get-page-or-bundle-name'.-.`or
23a00 67 2d 68 75 67 6f 2d 67 65 74 2d 63 75 73 74 6f 6d 2d 69 64 27 0a 2d 20 60 6f 72 67 2d 68 75 67 g-hugo-get-custom-id'.-.`org-hug
23a20 6f 2d 67 65 74 2d 68 65 61 64 69 6e 67 2d 73 6c 75 67 27 0a 2d 20 60 6f 72 67 2d 68 75 67 6f 2d o-get-heading-slug'.-.`org-hugo-
23a40 67 65 74 2d 6d 64 35 27 0a 2d 20 60 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 69 64 27 22 0a 20 20 get-md5'.-.`org-hugo-get-id'"...
23a60 3a 67 72 6f 75 70 20 27 6f 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 :group.'org-export-hugo...:type.
23a80 27 28 72 65 70 65 61 74 20 66 75 6e 63 74 69 6f 6e 29 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 '(repeat.function))..(defcustom.
23aa0 6f 72 67 2d 68 75 67 6f 2d 63 69 74 61 74 69 6f 6e 73 2d 70 6c 69 73 74 20 27 28 3a 62 69 62 6c org-hugo-citations-plist.'(:bibl
23ac0 69 6f 67 72 61 70 68 79 2d 73 65 63 74 69 6f 6e 2d 68 65 61 64 69 6e 67 20 22 52 65 66 65 72 65 iography-section-heading."Refere
23ae0 6e 63 65 73 22 29 0a 20 20 22 50 72 6f 70 65 72 74 79 20 6c 69 73 74 20 66 6f 72 20 73 74 6f 72 nces")..."Property.list.for.stor
23b00 69 6e 67 20 64 65 66 61 75 6c 74 20 70 72 6f 70 65 72 74 69 65 73 20 66 6f 72 20 63 69 74 61 74 ing.default.properties.for.citat
23b20 69 6f 6e 20 65 78 70 6f 72 74 73 2e 0a 0a 50 72 6f 70 65 72 74 69 65 73 20 72 65 63 6f 67 6e 69 ion.exports...Properties.recogni
23b40 7a 65 64 20 69 6e 20 74 68 65 20 50 4c 49 53 54 3a 0a 0a 2d 20 3a 62 69 62 6c 69 6f 67 72 61 70 zed.in.the.PLIST:..-.:bibliograp
23b60 68 79 2d 73 65 63 74 69 6f 6e 2d 68 65 61 64 69 6e 67 20 3a 3a 20 48 65 61 64 69 6e 67 20 74 6f hy-section-heading.::.Heading.to
23b80 20 69 6e 73 65 72 74 20 62 65 66 6f 72 65 20 74 68 65 20 62 69 62 6c 69 6f 67 72 61 70 68 79 0a .insert.before.the.bibliography.
23ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
23bc0 20 20 20 73 65 63 74 69 6f 6e 2e 0a 0a 41 75 74 6f 2d 64 65 74 65 63 74 69 6f 6e 20 6f 66 20 62 ...section...Auto-detection.of.b
23be0 69 62 6c 69 6f 67 72 61 70 68 79 20 73 65 63 74 69 6f 6e 20 72 65 71 75 69 72 65 73 20 69 6e 73 ibliography.section.requires.ins
23c00 74 61 6c 6c 69 6e 67 20 74 68 65 0a 60 63 69 74 61 74 69 6f 6e 73 27 20 70 61 63 6b 61 67 65 20 talling.the.`citations'.package.
23c20 66 72 6f 6d 20 4d 65 6c 70 61 20 61 6e 64 20 61 64 64 69 6e 67 20 60 23 2b 63 69 74 65 5f 65 78 from.Melpa.and.adding.`#+cite_ex
23c40 70 6f 72 74 3a 20 63 73 6c 27 20 61 74 0a 74 68 65 20 74 6f 70 20 6f 66 20 74 68 65 20 4f 72 67 port:.csl'.at.the.top.of.the.Org
23c60 20 66 69 6c 65 2e 0a 0a 49 66 20 60 3a 62 69 62 6c 69 6f 67 72 61 70 68 79 2d 73 65 63 74 69 6f .file...If.`:bibliography-sectio
23c80 6e 2d 68 65 61 64 69 6e 67 27 20 73 65 74 20 74 6f 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e n-heading'.set.to.an.empty.strin
23ca0 67 2c 0a 62 69 62 6c 69 6f 67 72 61 70 68 79 20 68 65 61 64 69 6e 67 20 61 75 74 6f 2d 69 6e 6a g,.bibliography.heading.auto-inj
23cc0 65 63 74 69 6f 6e 20 69 73 20 6e 6f 74 20 64 6f 6e 65 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6f ection.is.not.done."...:group.'o
23ce0 72 67 2d 65 78 70 6f 72 74 2d 68 75 67 6f 0a 20 20 3a 74 79 70 65 20 27 28 70 6c 69 73 74 20 3a rg-export-hugo...:type.'(plist.:
23d00 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 73 74 72 69 key-type.symbol.:value-type.stri
23d20 6e 67 29 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 66 6f 2d 67 ng))..(defcustom.org-hugo-info-g
23d40 6e 75 2d 73 6f 66 74 77 61 72 65 20 27 28 22 33 64 6c 64 66 22 20 22 38 73 79 6e 63 22 0a 20 20 nu-software.'("3dldf"."8sync"...
23d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
23d80 20 20 20 20 20 20 22 61 32 70 73 22 20 22 61 63 63 74 22 20 22 61 63 6d 22 20 22 61 64 6e 73 22 ......"a2ps"."acct"."acm"."adns"
23da0 20 22 61 6c 69 76 65 22 20 22 61 6e 75 62 69 73 22 20 22 61 70 6c 22 0a 20 20 20 20 20 20 20 20 ."alive"."anubis"."apl".........
23dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
23de0 22 61 72 63 68 69 6d 65 64 65 73 22 20 22 61 72 69 73 22 20 22 61 72 74 61 6e 69 73 22 20 22 61 "archimedes"."aris"."artanis"."a
23e00 73 70 65 6c 6c 22 20 22 61 75 63 74 65 78 22 20 22 61 75 74 6f 63 6f 6e 66 22 20 22 61 75 74 6f spell"."auctex"."autoconf"."auto
23e20 63 6f 6e 66 2d 61 72 63 68 69 76 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 conf-archive"...................
23e40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 61 75 74 6f 67 65 6e 22 20 ......................"autogen".
23e60 22 61 75 74 6f 6d 61 6b 65 22 20 22 61 76 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "automake"."avl"................
23e80 20 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 62 61 6c 6c 61 6e ........................."ballan
23ea0 64 70 61 64 64 6c 65 22 20 22 62 61 72 63 6f 64 65 22 20 22 62 61 73 68 22 20 22 62 61 79 6f 6e dpaddle"."barcode"."bash"."bayon
23ec0 6e 65 22 20 22 62 61 7a 61 61 72 22 20 22 62 63 22 20 22 62 65 68 69 73 74 75 6e 22 0a 20 20 20 ne"."bazaar"."bc"."behistun"....
23ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
23f00 20 20 20 20 20 22 62 66 64 22 20 22 62 69 6e 75 74 69 6c 73 22 20 22 62 69 73 6f 6e 22 20 22 62 ....."bfd"."binutils"."bison"."b
23f20 6f 6f 6c 22 20 22 62 70 65 6c 32 6f 77 66 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ool"."bpel2owfn"................
23f40 20 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 63 2d 67 72 61 70 ........................."c-grap
23f60 68 22 20 22 63 63 61 75 64 69 6f 22 20 22 63 63 64 32 63 75 65 22 20 22 63 63 69 64 65 22 20 22 h"."ccaudio"."ccd2cue"."ccide"."
23f80 63 63 72 74 70 22 20 22 63 63 73 63 72 69 70 74 22 20 22 63 66 6c 6f 77 22 0a 20 20 20 20 20 20 ccrtp"."ccscript"."cflow".......
23fa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
23fc0 20 20 22 63 67 69 63 63 22 20 22 63 68 65 73 73 22 20 22 63 69 6d 22 20 22 63 6c 61 73 73 70 61 .."cgicc"."chess"."cim"."classpa
23fe0 74 68 22 20 22 63 6c 61 73 73 70 61 74 68 78 22 20 22 63 6c 69 73 70 22 20 22 63 6f 6d 62 69 6e th"."classpathx"."clisp"."combin
24000 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e"..............................
24020 20 20 20 20 20 20 20 20 20 20 20 22 63 6f 6d 6d 6f 6e 63 70 70 22 20 22 63 6f 6d 70 6c 65 78 69 ..........."commoncpp"."complexi
24040 74 79 22 20 22 63 6f 6e 66 69 67 22 20 22 63 6f 6e 73 65 6e 73 75 73 22 20 22 63 6f 72 65 75 74 ty"."config"."consensus"."coreut
24060 69 6c 73 22 20 22 63 70 69 6f 22 20 22 63 70 70 69 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ils"."cpio"."cppi"..............
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 22 63 73 73 63 ..........................."cssc
240a0 22 20 22 63 75 72 73 79 6e 74 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "."cursynth"....................
240c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 64 61 70 22 20 22 64 61 74 61 ....................."dap"."data
240e0 6d 61 73 68 22 20 22 64 63 22 20 22 64 64 64 22 20 22 64 64 72 65 73 63 75 65 22 20 22 64 65 6a mash"."dc"."ddd"."ddrescue"."dej
24100 61 67 6e 75 22 20 22 64 65 6e 65 6d 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 agnu"."denemo"..................
24120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 64 69 61 22 20 22 64 69 ......................."dia"."di
24140 63 6f 22 20 22 64 69 63 74 69 6f 6e 22 20 22 64 69 66 66 75 74 69 6c 73 22 20 22 64 69 72 65 76 co"."diction"."diffutils"."direv
24160 65 6e 74 22 20 22 64 6a 67 70 70 22 20 22 64 6f 6d 69 6e 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 ent"."djgpp"."dominion".........
24180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
241a0 22 64 72 2d 67 65 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "dr-geo"........................
241c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 65 61 73 65 6a 73 22 20 22 65 64 22 20 22 ................."easejs"."ed"."
241e0 65 64 6d 61 22 20 22 65 6c 65 63 74 72 69 63 22 20 22 65 6d 61 63 73 22 20 22 65 6d 61 63 73 2d edma"."electric"."emacs"."emacs-
24200 6d 75 73 65 22 20 22 65 6d 6d 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 muse"."emms"....................
24220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 65 6e 73 63 72 69 70 74 22 20 ....................."enscript".
24240 22 65 70 73 69 6c 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "epsilon".......................
24260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 66 64 69 73 6b 22 20 22 66 65 72 72 65 .................."fdisk"."ferre
24280 74 22 20 22 66 69 6e 64 75 74 69 6c 73 22 20 22 66 69 73 69 63 61 6c 61 62 22 20 22 66 6f 6c 69 t"."findutils"."fisicalab"."foli
242a0 6f 74 22 20 22 66 6f 6e 74 6f 70 69 61 22 20 22 66 6f 6e 74 75 74 69 6c 73 22 0a 20 20 20 20 20 ot"."fontopia"."fontutils"......
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 20 20 20 20 ................................
242e0 20 20 20 22 66 72 65 65 64 69 6e 6b 22 20 22 66 72 65 65 66 6f 6e 74 22 20 22 66 72 65 65 69 70 ..."freedink"."freefont"."freeip
24300 6d 69 22 20 22 66 72 65 65 74 61 6c 6b 22 20 22 66 72 69 62 69 64 69 22 0a 20 20 20 20 20 20 20 mi"."freetalk"."fribidi"........
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 20 20 ................................
24340 20 22 67 2d 67 6f 6c 66 22 20 22 67 61 6d 61 22 20 22 67 61 72 70 64 22 20 22 67 61 77 6b 22 20 ."g-golf"."gama"."garpd"."gawk".
24360 22 67 63 61 6c 22 20 22 67 63 63 22 20 22 67 63 69 64 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 "gcal"."gcc"."gcide"............
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 22 67 63 ............................."gc
243a0 6c 22 20 22 67 63 6f 6d 70 72 69 73 22 20 22 67 64 62 22 20 22 67 64 62 6d 22 20 22 67 65 6e 67 l"."gcompris"."gdb"."gdbm"."geng
243c0 65 6e 22 20 22 67 65 6e 67 65 74 6f 70 74 22 20 22 67 65 74 74 65 78 74 22 0a 20 20 20 20 20 20 en"."gengetopt"."gettext".......
243e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
24400 20 20 22 67 66 6f 72 74 68 22 20 22 67 67 72 61 64 65 62 6f 6f 6b 22 20 22 67 68 6f 73 74 73 63 .."gforth"."ggradebook"."ghostsc
24420 72 69 70 74 22 20 22 67 69 66 74 22 20 22 67 69 6d 70 22 20 22 67 6c 65 61 6e 22 20 22 67 6c 6f ript"."gift"."gimp"."glean"."glo
24440 62 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 bal"............................
24460 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6c 70 6b 22 20 22 67 6c 75 65 22 20 22 67 6d 65 64 ............."glpk"."glue"."gmed
24480 69 61 73 65 72 76 65 72 22 20 22 67 6d 70 22 20 22 67 6e 61 73 68 22 20 22 67 6e 61 74 22 20 22 iaserver"."gmp"."gnash"."gnat"."
244a0 67 6e 61 74 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 gnats"..........................
244c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 61 74 73 77 65 62 22 20 22 67 6e 6f 77 73 ..............."gnatsweb"."gnows
244e0 79 73 22 20 22 67 6e 75 2d 63 2d 6d 61 6e 75 61 6c 22 20 22 67 6e 75 2d 63 72 79 70 74 6f 22 20 ys"."gnu-c-manual"."gnu-crypto".
24500 22 67 6e 75 2d 70 77 2d 6d 67 72 22 20 22 67 6e 75 61 65 22 20 22 67 6e 75 61 73 74 72 6f 22 0a "gnu-pw-mgr"."gnuae"."gnuastro".
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 6e 75 62 61 74 63 68 22 20 22 67 6e 75 62 67 22 20 22 67 6e 75 62 ........"gnubatch"."gnubg"."gnub
24560 69 66 66 22 20 22 67 6e 75 62 69 6b 22 20 22 67 6e 75 63 61 70 22 20 22 67 6e 75 63 61 73 68 22 iff"."gnubik"."gnucap"."gnucash"
24580 20 22 67 6e 75 63 6f 62 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ."gnucobol".....................
245a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 75 63 6f 6d 6d 22 20 22 67 ...................."gnucomm"."g
245c0 6e 75 64 6f 73 22 20 22 67 6e 75 66 6d 22 20 22 67 6e 75 67 6f 22 20 22 67 6e 75 69 74 22 20 22 nudos"."gnufm"."gnugo"."gnuit"."
245e0 67 6e 75 6a 64 6f 63 22 20 22 67 6e 75 6a 75 6d 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 gnujdoc"."gnujump"..............
24600 20 20 20 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 6b ..........................."gnuk
24620 61 72 74 22 20 22 67 6e 75 6c 69 62 22 20 22 67 6e 75 6d 61 63 68 22 20 22 67 6e 75 6d 65 64 22 art"."gnulib"."gnumach"."gnumed"
24640 20 22 67 6e 75 6d 65 72 69 63 22 20 22 67 6e 75 6d 70 33 64 22 20 22 67 6e 75 6e 22 0a 20 20 20 ."gnumeric"."gnump3d"."gnun"....
24660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
24680 20 20 20 20 20 22 67 6e 75 6e 65 74 22 20 22 67 6e 75 70 67 22 20 22 67 6e 75 70 6f 64 22 20 22 ....."gnunet"."gnupg"."gnupod"."
246a0 67 6e 75 70 72 6f 6c 6f 67 6a 61 76 61 22 20 22 67 6e 75 72 61 64 69 6f 22 20 22 67 6e 75 72 6f gnuprologjava"."gnuradio"."gnuro
246c0 62 6f 74 73 22 20 22 67 6e 75 73 63 68 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 bots"."gnuschool"...............
246e0 20 20 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 73 68 .........................."gnush
24700 6f 67 69 22 20 22 67 6e 75 73 6f 75 6e 64 22 20 22 67 6e 75 73 70 65 65 63 68 22 20 22 67 6e 75 ogi"."gnusound"."gnuspeech"."gnu
24720 73 70 6f 6f 6c 22 20 22 67 6e 75 73 74 61 6e 64 61 72 64 73 22 20 22 67 6e 75 73 74 65 70 22 20 spool"."gnustandards"."gnustep".
24740 22 67 6e 75 74 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "gnutls"........................
24760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 6e 75 74 72 69 74 69 6f 6e 22 20 22 67 ................."gnutrition"."g
24780 6e 75 7a 69 6c 6c 61 22 20 22 67 6f 70 74 69 63 61 6c 22 20 22 67 6f 72 6d 22 20 22 67 70 61 69 nuzilla"."goptical"."gorm"."gpai
247a0 6e 74 22 20 22 67 70 65 72 66 22 20 22 67 70 72 6f 6c 6f 67 22 0a 20 20 20 20 20 20 20 20 20 20 nt"."gperf"."gprolog"...........
247c0 20 20 20 20 20 20 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 .............................."g
247e0 72 61 62 63 6f 6d 69 63 73 22 20 22 67 72 65 67 22 20 22 67 72 65 70 22 20 22 67 72 65 74 6c 22 rabcomics"."greg"."grep"."gretl"
24800 20 22 67 72 6f 66 66 22 20 22 67 72 75 62 22 20 22 67 73 61 73 6c 22 0a 20 20 20 20 20 20 20 20 ."groff"."grub"."gsasl".........
24820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
24840 22 67 73 65 67 72 61 66 69 78 22 20 22 67 73 6c 22 20 22 67 73 6c 69 70 22 20 22 67 73 72 63 22 "gsegrafix"."gsl"."gslip"."gsrc"
24860 20 22 67 73 73 22 20 22 67 74 69 63 6b 22 20 22 67 74 79 70 69 73 74 22 0a 20 20 20 20 20 20 20 ."gss"."gtick"."gtypist"........
24880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
248a0 20 22 67 75 69 6c 65 22 20 22 67 75 69 6c 65 2d 63 76 22 20 22 67 75 69 6c 65 2d 64 62 69 22 20 ."guile"."guile-cv"."guile-dbi".
248c0 22 67 75 69 6c 65 2d 67 6e 6f 6d 65 22 20 22 67 75 69 6c 65 2d 6e 63 75 72 73 65 73 22 20 22 67 "guile-gnome"."guile-ncurses"."g
248e0 75 69 6c 65 2d 6f 70 65 6e 67 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 uile-opengl"....................
24900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 67 75 69 6c 65 2d 72 70 63 22 ....................."guile-rpc"
24920 20 22 67 75 69 6c 65 2d 73 64 6c 22 20 22 67 75 69 78 22 20 22 67 75 72 67 6c 65 22 20 22 67 76 ."guile-sdl"."guix"."gurgle"."gv
24940 22 20 22 67 76 70 65 22 20 22 67 77 6c 22 20 22 67 78 6d 65 73 73 61 67 65 22 0a 20 20 20 20 20 "."gvpe"."gwl"."gxmessage"......
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 20 20 20 20 20 20 20 20 ................................
24980 20 20 20 22 67 7a 69 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..."gzip".......................
249a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 61 6c 69 66 61 78 22 20 22 68 65 61 .................."halifax"."hea
249c0 6c 74 68 22 20 22 68 65 6c 6c 6f 22 20 22 68 65 6c 70 32 6d 61 6e 22 20 22 68 70 32 78 78 22 20 lth"."hello"."help2man"."hp2xx".
249e0 22 68 74 6d 6c 2d 69 6e 66 6f 22 20 22 68 74 74 70 74 75 6e 6e 65 6c 22 0a 20 20 20 20 20 20 20 "html-info"."httptunnel"........
24a00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
24a20 20 22 68 75 72 64 22 20 22 68 79 70 65 72 62 6f 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 ."hurd"."hyperbole".............
24a40 20 20 20 20 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 69 63 65 ............................"ice
24a60 63 61 74 22 20 22 69 64 75 74 69 6c 73 22 20 22 69 67 6e 75 69 74 22 20 22 69 6e 64 65 6e 74 22 cat"."idutils"."ignuit"."indent"
24a80 20 22 69 6e 65 74 75 74 69 6c 73 22 20 22 69 6e 6b 6c 69 6e 67 72 65 61 64 65 72 22 20 22 69 6e ."inetutils"."inklingreader"."in
24aa0 74 6c 66 6f 6e 74 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tlfonts"........................
24ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6a 61 63 61 6c 22 20 22 6a 61 6d 69 22 20 ................."jacal"."jami".
24ae0 22 6a 61 76 61 2d 67 65 74 6f 70 74 22 20 22 6a 65 6c 22 20 22 6a 69 74 74 65 72 22 20 22 6a 74 "java-getopt"."jel"."jitter"."jt
24b00 77 22 20 22 6a 77 68 6f 69 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 w"."jwhois".....................
24b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6b 61 77 61 22 20 22 6b 6f 70 69 ...................."kawa"."kopi
24b40 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 "...............................
24b60 20 20 20 20 20 20 20 20 20 20 22 6c 65 67 22 20 22 6c 65 73 73 22 20 22 6c 69 62 63 22 20 22 6c .........."leg"."less"."libc"."l
24b80 69 62 63 64 69 6f 22 20 22 6c 69 62 64 62 68 22 20 22 6c 69 62 65 72 74 79 2d 65 69 66 66 65 6c ibcdio"."libdbh"."liberty-eiffel
24ba0 22 20 22 6c 69 62 65 78 74 72 61 63 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "."libextractor"................
24bc0 20 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 66 66 63 ........................."libffc
24be0 61 6c 6c 22 20 22 6c 69 62 67 63 72 79 70 74 22 20 22 6c 69 62 69 63 6f 6e 76 22 20 22 6c 69 62 all"."libgcrypt"."libiconv"."lib
24c00 69 64 6e 22 20 22 6c 69 62 6a 69 74 22 20 22 6c 69 62 6d 61 74 68 65 76 61 6c 22 0a 20 20 20 20 idn"."libjit"."libmatheval".....
24c20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
24c40 20 20 20 20 22 6c 69 62 6d 69 63 72 6f 68 74 74 70 64 22 20 22 6c 69 62 72 65 64 77 67 22 20 22 ...."libmicrohttpd"."libredwg"."
24c60 6c 69 62 72 65 6a 73 22 20 22 6c 69 62 73 69 67 73 65 67 76 22 20 22 6c 69 62 74 61 73 6e 31 22 librejs"."libsigsegv"."libtasn1"
24c80 20 22 6c 69 62 74 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ."libtool"......................
24ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 69 62 75 6e 69 73 74 72 69 6e 67 ..................."libunistring
24cc0 22 20 22 6c 69 62 78 6d 69 22 20 22 6c 69 67 68 74 6e 69 6e 67 22 20 22 6c 69 6c 79 70 6f 6e 64 "."libxmi"."lightning"."lilypond
24ce0 22 20 22 6c 69 6d 73 22 20 22 6c 69 6e 75 78 2d 6c 69 62 72 65 22 20 22 6c 69 71 75 69 64 77 61 "."lims"."linux-libre"."liquidwa
24d00 72 36 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 r6".............................
24d20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 69 73 70 69 6e 74 72 6f 22 20 22 6c 72 7a 73 7a 22 20 ............"lispintro"."lrzsz".
24d40 22 6c 73 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "lsh"...........................
24d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6d 34 22 20 22 6d 61 63 63 68 61 6e 67 65 72 22 20 .............."m4"."macchanger".
24d80 22 6d 61 69 6c 6d 61 6e 22 20 22 6d 61 69 6c 75 74 69 6c 73 22 20 22 6d 61 6b 65 22 20 22 6d 61 "mailman"."mailutils"."make"."ma
24da0 72 73 74 22 20 22 6d 61 76 65 72 69 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rst"."maverik"..................
24dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6d 63 22 20 22 6d 63 72 ......................."mc"."mcr
24de0 6f 6e 22 20 22 6d 63 73 69 6d 22 20 22 6d 64 6b 22 20 22 6d 65 64 69 61 67 6f 62 6c 69 6e 22 20 on"."mcsim"."mdk"."mediagoblin".
24e00 22 6d 65 6c 74 69 6e 67 22 20 22 6d 65 6d 70 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 "melting"."mempool".............
24e20 20 20 20 20 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 65 73 ............................"mes
24e40 22 20 22 6d 65 74 61 65 78 63 68 61 6e 67 65 22 20 22 6d 65 74 61 68 74 6d 6c 22 20 22 6d 65 74 "."metaexchange"."metahtml"."met
24e60 61 6c 6f 67 69 63 2d 69 6e 66 65 72 65 6e 63 65 22 20 22 6d 69 66 6c 75 7a 22 20 22 6d 69 67 22 alogic-inference"."mifluz"."mig"
24e80 20 22 6d 69 73 63 66 69 6c 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ."miscfiles"....................
24ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6d 69 74 2d 73 63 68 65 6d 65 ....................."mit-scheme
24ec0 22 20 22 6d 6f 65 22 20 22 6d 6f 74 74 69 22 20 22 6d 70 63 22 20 22 6d 70 66 72 22 20 22 6d 70 "."moe"."motti"."mpc"."mpfr"."mp
24ee0 72 69 61 22 20 22 6d 74 6f 6f 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ria"."mtools"...................
24f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6e 61 6e 61 22 20 22 6e 61 ......................"nana"."na
24f20 6e 6f 22 20 22 6e 61 6e 6f 2d 61 72 63 68 69 6d 65 64 65 73 22 20 22 6e 63 75 72 73 65 73 22 20 no"."nano-archimedes"."ncurses".
24f40 22 6e 65 74 74 6c 65 22 20 22 6e 65 74 77 6f 72 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 "nettle"."network"..............
24f60 20 20 20 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 63 72 61 ..........................."ocra
24f80 64 22 20 22 6f 63 74 61 76 65 22 20 22 6f 6c 65 6f 22 20 22 6f 6f 2d 62 72 6f 77 73 65 72 22 20 d"."octave"."oleo"."oo-browser".
24fa0 22 6f 72 67 61 64 6f 63 22 20 22 6f 73 69 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "orgadoc"."osip"................
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 22 70 61 6e 6f 72 61 ........................."panora
24fe0 6d 61 22 20 22 70 61 72 61 6c 6c 65 6c 22 20 22 70 61 72 74 65 64 22 20 22 70 61 73 63 61 6c 22 ma"."parallel"."parted"."pascal"
25000 20 22 70 61 74 63 68 22 20 22 70 61 78 75 74 69 6c 73 22 20 22 70 63 62 22 0a 20 20 20 20 20 20 ."patch"."paxutils"."pcb".......
25020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
25040 20 20 22 70 65 6d 22 20 22 70 65 78 65 63 22 20 22 70 69 65 73 22 20 22 70 69 70 6f 22 20 22 70 .."pem"."pexec"."pies"."pipo"."p
25060 6c 6f 74 75 74 69 6c 73 22 20 22 70 6f 6b 65 22 20 22 70 6f 6c 79 78 6d 61 73 73 22 0a 20 20 20 lotutils"."poke"."polyxmass"....
25080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
250a0 20 20 20 20 20 22 70 6f 77 65 72 67 75 72 75 22 20 22 70 72 6f 78 79 6b 6e 69 66 65 22 20 22 70 ....."powerguru"."proxyknife"."p
250c0 73 70 70 22 20 22 70 73 79 63 68 6f 73 79 6e 74 68 22 20 22 70 74 68 22 20 22 70 79 74 68 6f 6e spp"."psychosynth"."pth"."python
250e0 77 65 62 6b 69 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 webkit".........................
25100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 71 65 78 6f 22 20 22 71 75 69 63 6b 74 68 72 ................"qexo"."quickthr
25120 65 61 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eads"...........................
25140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 72 22 20 22 72 61 64 69 75 73 22 20 22 72 63 73 22 .............."r"."radius"."rcs"
25160 20 22 72 65 61 64 6c 69 6e 65 22 20 22 72 65 63 75 74 69 6c 73 22 20 22 72 65 66 74 65 78 22 20 ."readline"."recutils"."reftex".
25180 22 72 65 6d 6f 74 65 63 6f 6e 74 72 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "remotecontrol".................
251a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 72 6f 74 74 6c 6f 67 ........................"rottlog
251c0 22 20 22 72 70 67 65 22 20 22 72 75 73 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "."rpge"."rush".................
251e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 73 61 74 68 65 72 22 ........................"sather"
25200 20 22 73 63 6d 22 20 22 73 63 72 65 65 6e 22 20 22 73 65 64 22 20 22 73 65 72 76 65 65 7a 22 20 ."scm"."screen"."sed"."serveez".
25220 22 73 68 61 72 75 74 69 6c 73 22 20 22 73 68 65 70 68 65 72 64 22 0a 20 20 20 20 20 20 20 20 20 "sharutils"."shepherd"..........
25240 20 20 20 20 20 20 20 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 ..............................."
25260 73 68 69 73 68 69 22 20 22 73 68 6d 6d 22 20 22 73 68 74 6f 6f 6c 22 20 22 73 69 70 77 69 74 63 shishi"."shmm"."shtool"."sipwitc
25280 68 22 20 22 73 6c 69 62 22 20 22 73 6d 61 6c 6c 74 61 6c 6b 22 20 22 73 6f 63 69 61 6c 22 0a 20 h"."slib"."smalltalk"."social"..
252a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
252c0 20 20 20 20 20 20 20 22 73 6f 6c 66 65 67 65 22 20 22 73 70 61 63 65 63 68 61 72 74 22 20 22 73 ......."solfege"."spacechart"."s
252e0 70 65 6c 6c 22 20 22 73 71 6c 74 75 74 6f 72 22 20 22 73 72 63 2d 68 69 67 68 6c 69 74 65 22 20 pell"."sqltutor"."src-highlite".
25300 22 73 73 77 22 20 22 73 74 61 6c 6b 65 72 66 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "ssw"."stalkerfs"...............
25320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 73 74 6f 77 22 .........................."stow"
25340 20 22 73 74 75 6d 70 22 20 22 73 75 70 65 72 6f 70 74 22 20 22 73 77 62 69 73 22 20 22 73 79 73 ."stump"."superopt"."swbis"."sys
25360 75 74 69 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 utils"..........................
25380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 74 61 6c 65 72 22 20 22 74 61 6c 6b 66 69 6c 74 ..............."taler"."talkfilt
253a0 65 72 73 22 20 22 74 61 72 22 20 22 74 65 72 6d 63 61 70 22 20 22 74 65 72 6d 75 74 69 6c 73 22 ers"."tar"."termcap"."termutils"
253c0 20 22 74 65 73 65 71 22 20 22 74 65 78 69 6d 70 61 74 69 65 6e 74 22 0a 20 20 20 20 20 20 20 20 ."teseq"."teximpatient".........
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 20 ................................
25400 22 74 65 78 69 6e 66 6f 22 20 22 74 65 78 6d 61 63 73 22 20 22 74 69 6d 65 22 20 22 74 72 61 6d "texinfo"."texmacs"."time"."tram
25420 70 22 20 22 74 72 61 6e 73 2d 63 6f 6f 72 64 22 20 22 74 72 75 65 70 72 69 6e 74 22 0a 20 20 20 p"."trans-coord"."trueprint"....
25440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
25460 20 20 20 20 20 22 75 6e 69 66 6f 6e 74 22 20 22 75 6e 69 74 73 22 20 22 75 6e 72 74 66 22 20 22 ....."unifont"."units"."unrtf"."
25480 75 73 65 72 76 22 20 22 75 75 63 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 userv"."uucp"...................
254a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 76 63 2d 64 77 69 6d 22 20 ......................"vc-dwim".
254c0 22 76 63 64 69 6d 61 67 65 72 22 20 22 76 65 72 61 22 20 22 76 6d 67 65 6e 22 0a 20 20 20 20 20 "vcdimager"."vera"."vmgen"......
254e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
25500 20 20 20 22 77 62 22 20 22 77 64 69 66 66 22 20 22 77 65 62 73 6f 63 6b 65 74 34 6a 22 20 22 77 ..."wb"."wdiff"."websocket4j"."w
25520 65 62 73 74 75 6d 70 22 20 22 77 67 65 74 22 20 22 77 68 69 63 68 22 20 22 77 6f 6d 62 22 0a 20 ebstump"."wget"."which"."womb"..
25540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
25560 20 20 20 20 20 20 20 22 78 61 6f 73 22 20 22 78 62 6f 61 72 64 22 20 22 78 6c 6f 67 6d 61 73 74 ......."xaos"."xboard"."xlogmast
25580 65 72 22 20 22 78 6d 6c 61 74 22 20 22 78 6e 65 65 22 20 22 78 6f 72 72 69 73 6f 22 0a 20 20 20 er"."xmlat"."xnee"."xorriso"....
255a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
255c0 20 20 20 20 20 22 7a 69 6c 65 22 29 0a 20 20 22 4c 69 73 74 20 6f 66 20 47 4e 55 20 73 6f 66 74 ....."zile")..."List.of.GNU.soft
255e0 77 61 72 65 20 66 6f 72 20 49 6e 66 6f 20 6d 61 6e 75 61 6c 20 6c 69 6e 6b 73 2e 0a 54 68 65 20 ware.for.Info.manual.links..The.
25600 73 6f 66 74 77 61 72 65 20 6c 69 73 74 20 69 73 20 74 61 6b 65 6e 20 66 72 6f 6d 20 68 74 74 70 software.list.is.taken.from.http
25620 73 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 73 6f 66 74 77 61 72 65 2f 2e 22 0a 20 20 3a 67 s://www.gnu.org/software/."...:g
25640 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.'(
25660 72 65 70 65 61 74 20 73 74 72 69 6e 67 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 44 65 66 69 6e 65 20 42 repeat.string)).....;;;.Define.B
25680 61 63 6b 2d 45 6e 64 0a 0a 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 65 66 69 6e 65 2d 64 65 72 69 ack-End..(org-export-define-deri
256a0 76 65 64 2d 62 61 63 6b 65 6e 64 20 27 68 75 67 6f 20 27 62 6c 61 63 6b 66 72 69 64 61 79 20 3b ved-backend.'hugo.'blackfriday.;
256c0 68 75 67 6f 20 3c 20 62 6c 61 63 6b 66 72 69 64 61 79 20 3c 20 6d 64 20 3c 20 68 74 6d 6c 0a 20 hugo.<.blackfriday.<.md.<.html..
256e0 20 3a 6d 65 6e 75 2d 65 6e 74 72 79 0a 20 20 27 28 3f 48 20 22 45 78 70 6f 72 74 20 74 6f 20 48 .:menu-entry...'(?H."Export.to.H
25700 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 ugo-compatible.Markdown"........
25720 28 28 3f 48 20 22 53 75 62 74 72 65 65 20 6f 72 20 46 69 6c 65 20 74 6f 20 4d 64 20 66 69 6c 65 ((?H."Subtree.or.File.to.Md.file
25740 20 20 20 20 20 20 20 20 20 20 20 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 ............".............(lambd
25760 61 20 28 61 20 5f 73 20 76 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 a.(a._s.v._b)...............(org
25780 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 20 6e 69 6c 20 61 20 76 29 29 -hugo-export-wim-to-md.nil.a.v))
257a0 29 0a 20 20 20 20 20 20 20 20 28 3f 68 20 22 46 69 6c 65 20 74 6f 20 4d 64 20 66 69 6c 65 22 0a ).........(?h."File.to.Md.file".
257c0 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 73 20 76 20 5f 62 29 0a 20 ............(lambda.(a.s.v._b)..
257e0 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
25800 2d 6d 64 20 61 20 73 20 76 29 29 29 0a 20 20 20 20 20 20 20 20 28 3f 4f 20 22 53 75 62 74 72 65 -md.a.s.v))).........(?O."Subtre
25820 65 20 6f 72 20 46 69 6c 65 20 74 6f 20 4d 64 20 66 69 6c 65 20 61 6e 64 20 6f 70 65 6e 20 20 20 e.or.File.to.Md.file.and.open...
25840 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 5f 73 20 76 20 5f 62 ".............(lambda.(a._s.v._b
25860 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 61 0a 20 20 20 20 20 20 20 20 20 20 )...............(if.a...........
25880 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d ........(org-hugo-export-wim-to-
258a0 6d 64 20 6e 69 6c 20 3a 61 73 79 6e 63 20 76 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 md.nil.:async.v)................
258c0 20 28 6f 72 67 2d 6f 70 65 6e 2d 66 69 6c 65 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 .(org-open-file.(org-hugo-export
258e0 2d 77 69 6d 2d 74 6f 2d 6d 64 20 6e 69 6c 20 6e 69 6c 20 76 29 29 29 29 29 0a 20 20 20 20 20 20 -wim-to-md.nil.nil.v))))).......
25900 20 20 28 3f 6f 20 22 46 69 6c 65 20 74 6f 20 4d 64 20 66 69 6c 65 20 61 6e 64 20 6f 70 65 6e 22 ..(?o."File.to.Md.file.and.open"
25920 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 73 20 76 20 5f 62 29 0a .............(lambda.(a.s.v._b).
25940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 ..............(if.a.............
25960 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 20 3a 61 73 ......(org-hugo-export-to-md.:as
25980 79 6e 63 20 73 20 76 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6f 70 ync.s.v).................(org-op
259a0 65 6e 2d 66 69 6c 65 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 20 6e en-file.(org-hugo-export-to-md.n
259c0 69 6c 20 73 20 76 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 3f 41 20 22 41 6c 6c 20 73 75 62 il.s.v))))).........(?A."All.sub
259e0 74 72 65 65 73 20 28 6f 72 20 46 69 6c 65 29 20 74 6f 20 4d 64 20 66 69 6c 65 28 73 29 20 20 22 trees.(or.File).to.Md.file(s).."
25a00 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 5f 73 20 76 20 5f 62 29 .............(lambda.(a._s.v._b)
25a20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d ...............(org-hugo-export-
25a40 77 69 6d 2d 74 6f 2d 6d 64 20 3a 61 6c 6c 2d 73 75 62 74 72 65 65 73 20 61 20 76 29 29 29 0a 20 wim-to-md.:all-subtrees.a.v)))..
25a60 20 20 20 20 20 20 20 28 3f 74 20 22 46 69 6c 65 20 74 6f 20 61 20 74 65 6d 70 6f 72 61 72 79 20 .......(?t."File.to.a.temporary.
25a80 4d 64 20 62 75 66 66 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 Md.buffer".............(lambda.(
25aa0 61 20 73 20 76 20 5f 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 a.s.v._b)...............(org-hug
25ac0 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 20 61 20 73 20 76 29 29 29 29 29 0a 3b 3b 3b 3b 20 74 o-export-as-md.a.s.v))))).;;;;.t
25ae0 72 61 6e 73 6c 61 74 65 2d 61 6c 69 73 74 0a 20 20 3a 74 72 61 6e 73 6c 61 74 65 2d 61 6c 69 73 ranslate-alist...:translate-alis
25b00 74 20 27 28 28 63 6f 64 65 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 6b 62 64 2d 74 61 67 73 2d 6d 61 t.'((code...org-hugo-kbd-tags-ma
25b20 79 62 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 72 61 77 65 ybe)......................(drawe
25b40 72 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 64 72 61 77 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 r...org-hugo-drawer)............
25b60 20 20 20 20 20 20 20 20 20 20 28 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 68 ..........(example-block...org-h
25b80 75 67 6f 2d 65 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ugo-example-block)..............
25ba0 20 20 20 20 20 20 20 20 28 65 78 70 6f 72 74 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 68 75 67 6f ........(export-block...org-hugo
25bc0 2d 65 78 70 6f 72 74 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -export-block)..................
25be0 20 20 20 20 28 65 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 65 ....(export-snippet...org-hugo-e
25c00 78 70 6f 72 74 2d 73 6e 69 70 70 65 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 xport-snippet)..................
25c20 20 20 20 20 28 68 65 61 64 6c 69 6e 65 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 68 65 61 64 69 6e 67 ....(headline...org-hugo-heading
25c40 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 6e 65 72 2d 74 65 )......................(inner-te
25c60 6d 70 6c 61 74 65 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 mplate...org-hugo-inner-template
25c80 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 6c 69 6e 65 2d 73 )......................(inline-s
25ca0 72 63 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 rc-block...org-hugo-inline-src-b
25cc0 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 6b 65 79 77 lock)......................(keyw
25ce0 6f 72 64 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 6b 65 79 77 6f 72 64 29 0a 20 20 20 20 20 20 20 20 ord...org-hugo-keyword).........
25d00 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 6c 69 .............(link...org-hugo-li
25d20 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 72 61 67 72 nk)......................(paragr
25d40 61 70 68 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 29 0a 20 20 20 20 20 20 aph...org-hugo-paragraph).......
25d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d ...............(src-block...org-
25d80 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 hugo-src-block).................
25da0 20 20 20 20 20 28 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 73 .....(special-block...org-hugo-s
25dc0 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a 20 20 3a 66 69 6c 74 65 72 73 2d 61 6c 69 73 74 20 pecial-block))...:filters-alist.
25de0 27 28 28 3a 66 69 6c 74 65 72 2d 62 6f 64 79 20 2e 20 6f 72 67 2d 68 75 67 6f 2d 62 6f 64 79 2d '((:filter-body...org-hugo-body-
25e00 66 69 6c 74 65 72 29 29 0a 3b 3b 3b 3b 20 6f 70 74 69 6f 6e 73 2d 61 6c 69 73 74 0a 20 20 3b 3b filter)).;;;;.options-alist...;;
25e20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4b 45 59 20 20 20 20 20 20 20 20 20 20 20 20 20 ................KEY.............
25e40 20 20 20 20 20 20 20 20 20 20 4b 45 59 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........KEYWORD...............
25e60 20 20 20 20 20 4f 50 54 49 4f 4e 20 20 44 45 46 41 55 4c 54 20 20 20 20 20 20 20 20 20 20 20 20 .....OPTION..DEFAULT............
25e80 20 20 20 20 20 20 20 20 20 42 45 48 41 56 49 4f 52 0a 20 20 3a 6f 70 74 69 6f 6e 73 2d 61 6c 69 .........BEHAVIOR...:options-ali
25ea0 73 74 20 27 28 3b 3b 20 56 61 72 69 61 62 6c 65 73 20 6e 6f 74 20 73 65 74 74 69 6e 67 20 74 68 st.'(;;.Variables.not.setting.th
25ec0 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 64 69 72 65 63 74 6c 79 0a 20 20 20 20 20 20 20 20 e.front-matter.directly.........
25ee0 20 20 20 20 20 20 20 20 20 20 20 28 3a 77 69 74 68 2d 74 6f 63 20 6e 69 6c 20 22 74 6f 63 22 20 ...........(:with-toc.nil."toc".
25f00 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).......
25f20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 20 6e .............(:section-numbers.n
25f40 69 6c 20 22 6e 75 6d 22 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 74 68 2d 73 65 il."num".org-hugo-export-with-se
25f60 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ction-numbers)..................
25f80 20 20 28 3a 61 75 74 68 6f 72 20 22 41 55 54 48 4f 52 22 20 6e 69 6c 20 75 73 65 72 2d 66 75 6c ..(:author."AUTHOR".nil.user-ful
25fa0 6c 2d 6e 61 6d 65 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 l-name.newline).................
25fc0 20 20 20 28 3a 63 72 65 61 74 6f 72 20 22 43 52 45 41 54 4f 52 22 20 6e 69 6c 20 6f 72 67 2d 68 ...(:creator."CREATOR".nil.org-h
25fe0 75 67 6f 2d 65 78 70 6f 72 74 2d 63 72 65 61 74 6f 72 2d 73 74 72 69 6e 67 29 0a 20 20 20 20 20 ugo-export-creator-string)......
26000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 77 69 74 68 2d 73 6d 61 72 74 2d 71 75 6f 74 65 ..............(:with-smart-quote
26020 73 20 6e 69 6c 20 22 27 22 20 6e 69 6c 29 20 3b 48 75 67 6f 2f 47 6f 6c 64 6d 61 72 6b 20 64 6f s.nil."'".nil).;Hugo/Goldmark.do
26040 65 73 20 6d 6f 72 65 20 63 6f 72 72 65 63 74 20 63 6f 6e 76 65 72 73 69 6f 6e 20 74 6f 20 73 6d es.more.correct.conversion.to.sm
26060 61 72 74 20 71 75 6f 74 65 73 2c 20 65 73 70 65 63 69 61 6c 6c 79 20 66 6f 72 20 73 69 6e 67 6c art.quotes,.especially.for.singl
26080 65 20 71 75 6f 74 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 77 e.quotes.....................(:w
260a0 69 74 68 2d 73 70 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 20 6e 69 6c 20 22 2d 22 20 6e 69 6c 29 ith-special-strings.nil."-".nil)
260c0 20 3b 48 75 67 6f 2f 47 6f 6c 64 6d 61 72 6b 20 64 6f 65 73 20 74 68 65 20 61 75 74 6f 2d 63 6f .;Hugo/Goldmark.does.the.auto-co
260e0 6e 76 65 72 73 69 6f 6e 20 6f 66 20 22 2d 2d 22 20 2d 3e 20 22 e2 80 93 22 2c 20 22 2d 2d 2d 22 nversion.of."--".->."...",."---"
26100 20 2d 3e 20 22 e2 80 94 22 20 61 6e 64 20 22 2e 2e 2e 22 20 2d 3e 20 22 e2 80 a6 22 0a 20 20 20 .->."...".and."...".->."..."....
26120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 77 69 74 68 2d 73 75 62 2d 73 75 70 65 72 ................(:with-sub-super
26140 73 63 72 69 70 74 20 6e 69 6c 20 22 5e 22 20 27 7b 7d 29 20 3b 52 65 71 75 69 72 65 20 63 75 72 script.nil."^".'{}).;Require.cur
26160 6c 79 20 62 72 61 63 65 73 20 74 6f 20 62 65 20 77 72 61 70 70 65 64 20 61 72 6f 75 6e 64 20 74 ly.braces.to.be.wrapped.around.t
26180 65 78 74 20 74 6f 20 73 75 62 2f 73 75 70 65 72 2d 73 63 72 69 70 74 65 64 0a 20 20 20 20 20 20 ext.to.sub/super-scripted.......
261a0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 77 69 74 68 2d 6c 6f 63 61 6c 65 20 .............(:hugo-with-locale.
261c0 22 48 55 47 4f 5f 57 49 54 48 5f 4c 4f 43 41 4c 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 "HUGO_WITH_LOCALE".nil.nil).....
261e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 ...............(:hugo-front-matt
26200 65 72 2d 66 6f 72 6d 61 74 20 22 48 55 47 4f 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 52 5f 46 4f 52 er-format."HUGO_FRONT_MATTER_FOR
26220 4d 41 54 22 20 6e 69 6c 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 MAT".nil.....org-hugo-front-matt
26240 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 28 3a er-format)....................(:
26260 68 75 67 6f 2d 6c 65 76 65 6c 2d 6f 66 66 73 65 74 20 22 48 55 47 4f 5f 4c 45 56 45 4c 5f 4f 46 hugo-level-offset."HUGO_LEVEL_OF
26280 46 53 45 54 22 20 6e 69 6c 20 22 31 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 FSET".nil."1")..................
262a0 20 20 28 3a 68 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 22 48 55 47 4f 5f ..(:hugo-preserve-filling."HUGO_
262c0 50 52 45 53 45 52 56 45 5f 46 49 4c 4c 49 4e 47 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 70 PRESERVE_FILLING".nil.org-hugo-p
262e0 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 29 20 3b 50 72 65 73 65 72 76 65 20 62 72 65 61 6b reserve-filling).;Preserve.break
26300 73 20 73 6f 20 74 68 61 74 20 74 65 78 74 20 66 69 6c 6c 69 6e 67 20 69 6e 20 4d 61 72 6b 64 6f s.so.that.text.filling.in.Markdo
26320 77 6e 20 6d 61 74 63 68 65 73 20 74 68 61 74 20 6f 66 20 4f 72 67 0a 20 20 20 20 20 20 20 20 20 wn.matches.that.of.Org..........
26340 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 ..........(:hugo-delete-trailing
26360 2d 77 73 20 22 48 55 47 4f 5f 44 45 4c 45 54 45 5f 54 52 41 49 4c 49 4e 47 5f 57 53 22 20 6e 69 -ws."HUGO_DELETE_TRAILING_WS".ni
26380 6c 20 6f 72 67 2d 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 2d 77 73 29 0a 20 l.org-hugo-delete-trailing-ws)..
263a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 73 65 63 74 69 6f 6e ..................(:hugo-section
263c0 20 22 48 55 47 4f 5f 53 45 43 54 49 4f 4e 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 73 65 63 ."HUGO_SECTION".nil.org-hugo-sec
263e0 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d tion)....................(:hugo-
26400 62 75 6e 64 6c 65 20 22 48 55 47 4f 5f 42 55 4e 44 4c 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 bundle."HUGO_BUNDLE".nil.nil)...
26420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 .................(:hugo-base-dir
26440 20 22 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 62 61 ."HUGO_BASE_DIR".nil.org-hugo-ba
26460 73 65 2d 64 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 se-dir)....................(:hug
26480 6f 2d 67 6f 6c 64 6d 61 72 6b 20 22 48 55 47 4f 5f 47 4f 4c 44 4d 41 52 4b 22 20 6e 69 6c 20 6f o-goldmark."HUGO_GOLDMARK".nil.o
264a0 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rg-hugo-goldmark)...............
264c0 20 20 20 20 20 28 3a 68 75 67 6f 2d 63 6f 64 65 2d 66 65 6e 63 65 20 22 48 55 47 4f 5f 43 4f 44 .....(:hugo-code-fence."HUGO_COD
264e0 45 5f 46 45 4e 43 45 22 20 6e 69 6c 20 74 29 20 3b 50 72 65 66 65 72 20 74 6f 20 67 65 6e 65 72 E_FENCE".nil.t).;Prefer.to.gener
26500 61 74 65 20 74 72 69 70 6c 65 2d 62 61 63 6b 71 75 6f 74 65 64 20 4d 61 72 6b 64 6f 77 6e 20 63 ate.triple-backquoted.Markdown.c
26520 6f 64 65 20 62 6c 6f 63 6b 73 20 62 79 20 64 65 66 61 75 6c 74 2e 0a 20 20 20 20 20 20 20 20 20 ode.blocks.by.default...........
26540 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d 66 6f 72 2d 6b 62 ..........(:hugo-use-code-for-kb
26560 64 20 22 48 55 47 4f 5f 55 53 45 5f 43 4f 44 45 5f 46 4f 52 5f 4b 42 44 22 20 6e 69 6c 20 6f 72 d."HUGO_USE_CODE_FOR_KBD".nil.or
26580 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 20 g-hugo-use-code-for-kbd)........
265a0 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e ............(:hugo-prefer-hyphen
265c0 2d 69 6e 2d 74 61 67 73 20 22 48 55 47 4f 5f 50 52 45 46 45 52 5f 48 59 50 48 45 4e 5f 49 4e 5f -in-tags."HUGO_PREFER_HYPHEN_IN_
265e0 54 41 47 53 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e TAGS".nil.org-hugo-prefer-hyphen
26600 2d 69 6e 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 -in-tags)....................(:h
26620 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 20 22 48 55 47 4f 5f 41 ugo-allow-spaces-in-tags."HUGO_A
26640 4c 4c 4f 57 5f 53 50 41 43 45 53 5f 49 4e 5f 54 41 47 53 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 LLOW_SPACES_IN_TAGS".nil.org-hug
26660 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 o-allow-spaces-in-tags).........
26680 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 6d ...........(:hugo-auto-set-lastm
266a0 6f 64 20 22 48 55 47 4f 5f 41 55 54 4f 5f 53 45 54 5f 4c 41 53 54 4d 4f 44 22 20 6e 69 6c 20 6f od."HUGO_AUTO_SET_LASTMOD".nil.o
266c0 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 rg-hugo-auto-set-lastmod).......
266e0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 63 75 73 74 6f 6d 2d 66 72 6f 6e 74 .............(:hugo-custom-front
26700 2d 6d 61 74 74 65 72 20 22 48 55 47 4f 5f 43 55 53 54 4f 4d 5f 46 52 4f 4e 54 5f 4d 41 54 54 45 -matter."HUGO_CUSTOM_FRONT_MATTE
26720 52 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 R".nil.nil.space)...............
26740 20 20 20 20 20 28 3a 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 20 22 48 55 47 4f 5f 42 4c .....(:hugo-blackfriday."HUGO_BL
26760 41 43 4b 46 52 49 44 41 59 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 20 3b 44 65 70 72 65 ACKFRIDAY".nil.nil.space).;Depre
26780 63 61 74 65 64 2e 20 53 65 65 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 cated..See.https://github.com/ka
267a0 75 73 68 61 6c 6d 6f 64 69 2f 6f 78 2d 68 75 67 6f 2f 64 69 73 63 75 73 73 69 6f 6e 73 2f 34 38 ushalmodi/ox-hugo/discussions/48
267c0 35 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 66 72 6f 5.....................(:hugo-fro
267e0 6e 74 2d 6d 61 74 74 65 72 2d 6b 65 79 2d 72 65 70 6c 61 63 65 20 22 48 55 47 4f 5f 46 52 4f 4e nt-matter-key-replace."HUGO_FRON
26800 54 5f 4d 41 54 54 45 52 5f 4b 45 59 5f 52 45 50 4c 41 43 45 22 20 6e 69 6c 20 6e 69 6c 20 73 70 T_MATTER_KEY_REPLACE".nil.nil.sp
26820 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 64 ace)....................(:hugo-d
26840 61 74 65 2d 66 6f 72 6d 61 74 20 22 48 55 47 4f 5f 44 41 54 45 5f 46 4f 52 4d 41 54 22 20 6e 69 ate-format."HUGO_DATE_FORMAT".ni
26860 6c 20 6f 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 20 l.org-hugo-date-format).........
26880 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f ...........(:hugo-paired-shortco
268a0 64 65 73 20 22 48 55 47 4f 5f 50 41 49 52 45 44 5f 53 48 4f 52 54 43 4f 44 45 53 22 20 6e 69 6c des."HUGO_PAIRED_SHORTCODES".nil
268c0 20 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 20 73 70 61 63 .org-hugo-paired-shortcodes.spac
268e0 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 70 61 6e e)....................(:hugo-pan
26900 64 6f 63 2d 63 69 74 61 74 69 6f 6e 73 20 22 48 55 47 4f 5f 50 41 4e 44 4f 43 5f 43 49 54 41 54 doc-citations."HUGO_PANDOC_CITAT
26920 49 4f 4e 53 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 IONS".nil.nil)..................
26940 20 20 28 3a 62 69 62 6c 69 6f 67 72 61 70 68 79 20 22 42 49 42 4c 49 4f 47 52 41 50 48 59 22 20 ..(:bibliography."BIBLIOGRAPHY".
26960 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 20 3b 55 73 65 64 20 69 6e 20 6f 78 2d 68 75 67 nil.nil.newline).;Used.in.ox-hug
26980 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 o-pandoc-cite...................
269a0 20 28 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 20 22 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 .(:html-container."HTML_CONTAINE
269c0 52 22 20 6e 69 6c 20 6f 72 67 2d 68 75 67 6f 2d 63 6f 6e 74 61 69 6e 65 72 2d 65 6c 65 6d 65 6e R".nil.org-hugo-container-elemen
269e0 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 74 6d 6c 2d 63 6f 6e t)....................(:html-con
26a00 74 61 69 6e 65 72 2d 63 6c 61 73 73 20 22 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 5f 43 4c 41 tainer-class."HTML_CONTAINER_CLA
26a20 53 53 22 20 6e 69 6c 20 22 22 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 SS".nil."").....................
26a40 3b 3b 20 46 72 6f 6e 74 2d 6d 61 74 74 65 72 20 76 61 72 69 61 62 6c 65 73 0a 20 20 20 20 20 20 ;;.Front-matter.variables.......
26a60 20 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
26a80 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 66 72 6f 6e 74 2d 6d 61 74 74 65 o/content-management/front-matte
26aa0 72 2f 23 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 76 61 72 69 61 62 6c 65 73 0a 20 20 20 20 20 20 r/#front-matter-variables.......
26ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6c 69 61 73 65 73 0a 20 20 20 20 20 20 20 20 .............;;.aliases.........
26ae0 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 61 6c 69 61 73 65 73 20 22 48 55 47 4f 5f ...........(:hugo-aliases."HUGO_
26b00 41 4c 49 41 53 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 ALIASES".nil.nil.space).........
26b20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 75 64 69 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 ...........;;.audio.............
26b40 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 61 75 64 69 6f 20 22 48 55 47 4f 5f 41 55 44 49 4f 22 .......(:hugo-audio."HUGO_AUDIO"
26b60 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 .nil.nil)....................;;.
26b80 64 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 64 61 74 65 date....................;;."date
26ba0 22 20 69 73 20 70 61 72 73 65 64 20 66 72 6f 6d 20 74 68 65 20 4f 72 67 20 23 2b 64 61 74 65 20 ".is.parsed.from.the.Org.#+date.
26bc0 6f 72 20 73 75 62 74 72 65 65 20 70 72 6f 70 65 72 74 79 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f or.subtree.property.EXPORT_HUGO_
26be0 44 41 54 45 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 64 61 74 65 20 22 DATE....................(:date."
26c00 44 41 54 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DATE".nil.nil)..................
26c20 20 20 3b 3b 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 20 20 20 ..;;.description................
26c40 20 20 20 20 28 3a 64 65 73 63 72 69 70 74 69 6f 6e 20 22 44 45 53 43 52 49 50 54 49 4f 4e 22 20 ....(:description."DESCRIPTION".
26c60 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 64 nil.nil)....................;;.d
26c80 72 61 66 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 64 72 61 66 raft....................;;."draf
26ca0 74 22 20 76 61 6c 75 65 20 69 6e 74 65 72 70 72 65 74 65 64 20 62 79 20 74 68 65 20 54 4f 44 4f t".value.interpreted.by.the.TODO
26cc0 20 73 74 61 74 65 20 6f 66 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b .state.of.a....................;
26ce0 3b 20 70 6f 73 74 20 61 73 20 4f 72 67 20 73 75 62 74 72 65 65 20 67 65 74 73 20 68 69 67 68 65 ;.post.as.Org.subtree.gets.highe
26d00 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 20 20 20 20 20 r.precedence....................
26d20 20 28 3a 68 75 67 6f 2d 64 72 61 66 74 20 22 48 55 47 4f 5f 44 52 41 46 54 22 20 6e 69 6c 20 6e .(:hugo-draft."HUGO_DRAFT".nil.n
26d40 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 65 78 70 69 72 79 il)....................;;.expiry
26d60 44 61 74 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 65 Date....................(:hugo-e
26d80 78 70 69 72 79 64 61 74 65 20 22 48 55 47 4f 5f 45 58 50 49 52 59 44 41 54 45 22 20 6e 69 6c 20 xpirydate."HUGO_EXPIRYDATE".nil.
26da0 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 68 65 61 64 6c nil)....................;;.headl
26dc0 65 73 73 20 28 6f 6e 6c 79 20 66 6f 72 20 50 61 67 65 20 42 75 6e 64 6c 65 73 20 2d 20 48 75 67 ess.(only.for.Page.Bundles.-.Hug
26de0 6f 20 76 30 2e 33 35 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 o.v0.35+)....................(:h
26e00 75 67 6f 2d 68 65 61 64 6c 65 73 73 20 22 48 55 47 4f 5f 48 45 41 44 4c 45 53 53 22 20 6e 69 6c ugo-headless."HUGO_HEADLESS".nil
26e20 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 69 6d 61 67 .nil)....................;;.imag
26e40 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 69 6d 61 es....................(:hugo-ima
26e60 67 65 73 20 22 48 55 47 4f 5f 49 4d 41 47 45 53 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e ges."HUGO_IMAGES".nil.nil.newlin
26e80 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 69 73 43 4a 4b 4c 61 e)....................;;.isCJKLa
26ea0 6e 67 75 61 67 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 nguage....................(:hugo
26ec0 2d 69 73 63 6a 6b 6c 61 6e 67 75 61 67 65 20 22 48 55 47 4f 5f 49 53 43 4a 4b 4c 41 4e 47 55 41 -iscjklanguage."HUGO_ISCJKLANGUA
26ee0 47 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 GE".nil.nil)....................
26f00 3b 3b 20 6b 65 79 77 6f 72 64 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b ;;.keywords....................;
26f20 3b 20 22 6b 65 79 77 6f 72 64 73 22 20 69 73 20 70 61 72 73 65 64 20 66 72 6f 6d 20 74 68 65 20 ;."keywords".is.parsed.from.the.
26f40 4f 72 67 20 23 2b 6b 65 79 77 6f 72 64 73 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Org.#+keywords.or...............
26f60 20 20 20 20 20 3b 3b 20 73 75 62 74 72 65 65 20 70 72 6f 70 65 72 74 79 20 45 58 50 4f 52 54 5f .....;;.subtree.property.EXPORT_
26f80 4b 45 59 57 4f 52 44 53 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 6b KEYWORDS.....................(:k
26fa0 65 79 77 6f 72 64 73 20 22 4b 45 59 57 4f 52 44 53 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 eywords."KEYWORDS".nil.nil.newli
26fc0 6e 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 6c 61 79 6f 75 74 ne)....................;;.layout
26fe0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 6c 61 79 6f 75 ....................(:hugo-layou
27000 74 20 22 48 55 47 4f 5f 4c 41 59 4f 55 54 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 t."HUGO_LAYOUT".nil.nil)........
27020 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 61 73 74 6d 6f 64 0a 20 20 20 20 20 20 20 20 20 ............;;.lastmod..........
27040 20 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 6c 61 73 74 6d 6f 64 20 22 48 55 47 4f 5f 4c ..........(:hugo-lastmod."HUGO_L
27060 41 53 54 4d 4f 44 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 ASTMOD".nil.nil)................
27080 20 20 20 20 3b 3b 20 6c 69 6e 6b 54 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....;;.linkTitle................
270a0 20 20 20 20 28 3a 68 75 67 6f 2d 6c 69 6e 6b 74 69 74 6c 65 20 22 48 55 47 4f 5f 4c 49 4e 4b 54 ....(:hugo-linktitle."HUGO_LINKT
270c0 49 54 4c 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ITLE".nil.nil)..................
270e0 20 20 3b 3b 20 6c 6f 63 61 6c 65 20 28 75 73 65 64 20 69 6e 20 48 75 67 6f 20 69 6e 74 65 72 6e ..;;.locale.(used.in.Hugo.intern
27100 61 6c 20 74 65 6d 70 6c 61 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 al.templates)...................
27120 20 28 3a 68 75 67 6f 2d 6c 6f 63 61 6c 65 20 22 48 55 47 4f 5f 4c 4f 43 41 4c 45 22 20 6e 69 6c .(:hugo-locale."HUGO_LOCALE".nil
27140 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 6d 61 72 6b .nil)....................;;.mark
27160 75 70 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 6d 61 72 up....................(:hugo-mar
27180 6b 75 70 20 22 48 55 47 4f 5f 4d 41 52 4b 55 50 22 20 6e 69 6c 20 6e 69 6c 29 20 3b 64 65 66 61 kup."HUGO_MARKUP".nil.nil).;defa
271a0 75 6c 74 20 69 73 20 22 6d 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b ult.is."md"....................;
271c0 3b 20 6d 65 6e 75 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 ;.menu....................(:hugo
271e0 2d 6d 65 6e 75 20 22 48 55 47 4f 5f 4d 45 4e 55 22 20 6e 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 -menu."HUGO_MENU".nil.nil.space)
27200 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 6d 65 6e 75 2d ....................(:hugo-menu-
27220 6f 76 65 72 72 69 64 65 20 22 48 55 47 4f 5f 4d 45 4e 55 5f 4f 56 45 52 52 49 44 45 22 20 6e 69 override."HUGO_MENU_OVERRIDE".ni
27240 6c 20 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 l.nil.space)....................
27260 3b 3b 20 6f 75 74 70 75 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a ;;.outputs....................(:
27280 68 75 67 6f 2d 6f 75 74 70 75 74 73 20 22 48 55 47 4f 5f 4f 55 54 50 55 54 53 22 20 6e 69 6c 20 hugo-outputs."HUGO_OUTPUTS".nil.
272a0 6e 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b nil.space)....................;;
272c0 20 70 75 62 6c 69 73 68 44 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .publishDate....................
272e0 28 3a 68 75 67 6f 2d 70 75 62 6c 69 73 68 64 61 74 65 20 22 48 55 47 4f 5f 50 55 42 4c 49 53 48 (:hugo-publishdate."HUGO_PUBLISH
27300 44 41 54 45 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DATE".nil.nil)..................
27320 20 20 3b 3b 20 73 65 72 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ..;;.series....................(
27340 3a 68 75 67 6f 2d 73 65 72 69 65 73 20 22 48 55 47 4f 5f 53 45 52 49 45 53 22 20 6e 69 6c 20 6e :hugo-series."HUGO_SERIES".nil.n
27360 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b il.newline)....................;
27380 3b 20 73 6c 75 67 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 ;.slug....................(:hugo
273a0 2d 73 6c 75 67 20 22 48 55 47 4f 5f 53 4c 55 47 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 -slug."HUGO_SLUG".nil.nil)......
273c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 61 78 6f 6d 6f 6e 6f 6d 69 65 73 20 2d 20 ..............;;.taxomonomies.-.
273e0 74 61 67 73 2c 20 63 61 74 65 67 6f 72 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tags,.categories................
27400 20 20 20 20 28 3a 68 75 67 6f 2d 74 61 67 73 20 22 48 55 47 4f 5f 54 41 47 53 22 20 6e 69 6c 20 ....(:hugo-tags."HUGO_TAGS".nil.
27420 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nil.newline)....................
27440 3b 3b 20 23 2b 68 75 67 6f 5f 74 61 67 73 20 61 72 65 20 75 73 65 64 20 74 6f 20 73 65 74 20 74 ;;.#+hugo_tags.are.used.to.set.t
27460 68 65 20 70 6f 73 74 20 74 61 67 73 20 69 6e 20 4f 72 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 he.post.tags.in.Org.............
27480 20 20 20 20 20 20 20 3b 3b 20 66 69 6c 65 73 20 77 72 69 74 74 65 6e 20 66 6f 72 20 66 69 6c 65 .......;;.files.written.for.file
274a0 2d 62 61 73 65 64 20 65 78 70 6f 72 74 73 2e 20 20 42 75 74 20 66 6f 72 0a 20 20 20 20 20 20 20 -based.exports...But.for........
274c0 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 62 74 72 65 65 2d 62 61 73 65 64 20 65 78 70 ............;;.subtree-based.exp
274e0 6f 72 74 73 2c 20 74 68 65 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f 54 41 47 53 0a 20 20 20 20 20 orts,.the.EXPORT_HUGO_TAGS......
27500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 6f 70 65 72 74 79 20 63 61 6e 20 62 65 ..............;;.property.can.be
27520 20 75 73 65 64 20 74 6f 20 6f 76 65 72 72 69 64 65 20 69 6e 68 65 72 69 74 65 64 20 74 61 67 73 .used.to.override.inherited.tags
27540 0a 20 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 4f 72 67 2d 73 ....................;;.and.Org-s
27560 74 79 6c 65 20 74 61 67 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3a tyle.tags.....................(:
27580 68 75 67 6f 2d 63 61 74 65 67 6f 72 69 65 73 20 22 48 55 47 4f 5f 43 41 54 45 47 4f 52 49 45 53 hugo-categories."HUGO_CATEGORIES
275a0 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ".nil.nil.newline)..............
275c0 20 20 20 20 20 20 3b 3b 20 23 2b 68 75 67 6f 5f 63 61 74 65 67 6f 72 69 65 73 20 61 72 65 20 75 ......;;.#+hugo_categories.are.u
275e0 73 65 64 20 74 6f 20 73 65 74 20 74 68 65 20 70 6f 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 sed.to.set.the.post.............
27600 20 20 20 20 20 20 20 3b 3b 20 63 61 74 65 67 6f 72 69 65 73 20 69 6e 20 4f 72 67 20 66 69 6c 65 .......;;.categories.in.Org.file
27620 73 20 77 72 69 74 74 65 6e 20 66 6f 72 20 66 69 6c 65 2d 62 61 73 65 64 0a 20 20 20 20 20 20 20 s.written.for.file-based........
27640 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 78 70 6f 72 74 73 2e 20 20 42 75 74 20 66 6f 72 ............;;.exports...But.for
27660 20 73 75 62 74 72 65 65 2d 62 61 73 65 64 20 65 78 70 6f 72 74 73 2c 20 74 68 65 0a 20 20 20 20 .subtree-based.exports,.the.....
27680 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 48 55 47 4f 5f 43 41 ...............;;.EXPORT_HUGO_CA
276a0 54 45 47 4f 52 49 45 53 20 70 72 6f 70 65 72 74 79 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f TEGORIES.property.can.be.used.to
276c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 76 65 72 72 69 64 65 20 ....................;;.override.
276e0 69 6e 68 65 72 69 74 65 64 20 63 61 74 65 67 6f 72 69 65 73 20 61 6e 64 20 4f 72 67 2d 73 74 79 inherited.categories.and.Org-sty
27700 6c 65 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 le....................;;.categor
27720 69 65 73 20 28 4f 72 67 2d 73 74 79 6c 65 20 74 61 67 73 20 77 69 74 68 20 22 40 22 20 70 72 65 ies.(Org-style.tags.with."@".pre
27740 66 69 78 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 72 65 73 6f fix).....................;;.reso
27760 75 72 63 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 urces....................(:hugo-
27780 72 65 73 6f 75 72 63 65 73 20 22 48 55 47 4f 5f 52 45 53 4f 55 52 43 45 53 22 20 6e 69 6c 20 6e resources."HUGO_RESOURCES".nil.n
277a0 69 6c 20 73 70 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 il.space)....................;;.
277c0 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 3b 3b 20 22 74 69 74 title....................;;."tit
277e0 6c 65 22 20 69 73 20 70 61 72 73 65 64 20 66 72 6f 6d 20 74 68 65 20 4f 72 67 20 23 2b 74 69 74 le".is.parsed.from.the.Org.#+tit
27800 6c 65 20 6f 72 20 74 68 65 20 73 75 62 74 72 65 65 20 68 65 61 64 69 6e 67 2e 0a 20 20 20 20 20 le.or.the.subtree.heading.......
27820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 79 70 65 0a 20 20 20 20 20 20 20 20 20 20 ..............;;.type...........
27840 20 20 20 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 74 79 70 65 20 22 48 55 47 4f 5f 54 59 50 45 22 .........(:hugo-type."HUGO_TYPE"
27860 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 .nil.nil)....................;;.
27880 75 72 6c 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 75 72 url....................(:hugo-ur
278a0 6c 20 22 48 55 47 4f 5f 55 52 4c 22 20 6e 69 6c 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 l."HUGO_URL".nil.nil)...........
278c0 20 20 20 20 20 20 20 20 20 3b 3b 20 76 69 64 65 6f 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .........;;.videos..............
278e0 20 20 20 20 20 20 28 3a 68 75 67 6f 2d 76 69 64 65 6f 73 20 22 48 55 47 4f 5f 56 49 44 45 4f 53 ......(:hugo-videos."HUGO_VIDEOS
27900 22 20 6e 69 6c 20 6e 69 6c 20 6e 65 77 6c 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ".nil.nil.newline)..............
27920 20 20 20 20 20 20 3b 3b 20 77 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......;;.weight.................
27940 20 20 20 28 3a 68 75 67 6f 2d 77 65 69 67 68 74 20 22 48 55 47 4f 5f 57 45 49 47 48 54 22 20 6e ...(:hugo-weight."HUGO_WEIGHT".n
27960 69 6c 20 6e 69 6c 20 73 70 61 63 65 29 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 4d 69 73 63 65 6c 6c 61 il.nil.space))).....;;;.Miscella
27980 6e 65 6f 75 73 20 48 65 6c 70 65 72 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 3b 3b 20 43 68 65 neous.Helper.Functions..;;;;.Che
279a0 63 6b 20 69 66 20 61 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 ck.if.a.value.is.non-nil.(defun.
279c0 6f 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 74 2d 74 72 75 65 2d 70 20 28 76 61 6c 75 org-hugo--value-get-true-p.(valu
279e0 65 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 56 41 4c 55 45 20 69 73 e)..."Return.non-nil.if.VALUE.is
27a00 20 6e 6f 6e 2d 6e 69 6c 2e 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 56 41 4c 55 45 20 69 73 .non-nil..Return.nil.if.VALUE.is
27a20 20 6e 69 6c 2c 20 5c 22 6e 69 6c 5c 22 20 6f 72 20 5c 22 5c 22 2e 22 0a 20 20 28 63 6f 6e 64 0a .nil,.\"nil\".or.\"\"."...(cond.
27a40 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 20 ...((or.(equal.t.value).........
27a60 28 65 71 75 61 6c 20 6e 69 6c 20 76 61 6c 75 65 29 29 0a 20 20 20 20 76 61 6c 75 65 29 0a 20 20 (equal.nil.value)).....value)...
27a80 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 20 20 20 20 20 20 20 .((and.(stringp.value)..........
27aa0 28 73 74 72 69 6e 67 3d 20 76 61 6c 75 65 20 22 6e 69 6c 22 29 29 0a 20 20 20 20 6e 69 6c 29 0a (string=.value."nil")).....nil).
27ac0 20 20 20 28 74 0a 20 20 20 20 3b 3b 20 22 22 20 2d 3e 20 6e 69 6c 0a 20 20 20 20 3b 3b 20 22 74 ...(t.....;;."".->.nil.....;;."t
27ae0 22 20 2d 3e 20 22 74 22 0a 20 20 20 20 3b 3b 20 22 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 22 20 ".->."t".....;;."anything.else".
27b00 2d 3e 20 22 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 22 0a 20 20 20 20 3b 3b 20 31 32 33 20 2d 3e ->."anything.else".....;;.123.->
27b20 20 6e 69 6c 0a 20 20 20 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 76 61 6c 75 65 29 .nil.....(org-string-nw-p.value)
27b40 29 29 29 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 )))..;;;;.Check.if.a.boolean.pli
27b60 73 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 68 st.value.is.non-nil.(defun.org-h
27b80 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 28 69 6e 66 6f 20 6b 65 79 29 ugo--plist-get-true-p.(info.key)
27ba0 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 69 6e 20 49 4e 46 ..."Return.non-nil.if.KEY.in.INF
27bc0 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 66 20 74 68 65 20 O.is.non-nil..Return.nil.if.the.
27be0 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 6c 2c 20 5c 22 6e value.of.KEY.in.INFO.is.nil,.\"n
27c00 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 70 65 63 69 61 6c il\".or.\"\"...This.is.a.special
27c20 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 65 64 20 6f 6e 6c .version.of.`plist-get'.used.onl
27c40 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 65 64 20 74 6f 20 y.for.keys.that.are.expected.to.
27c60 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 4f 20 69 73 20 61 hold.a.boolean.value...INFO.is.a
27c80 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
27ca0 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 6c 69 73 74 2d 67 hannel."...(let.((value.(plist-g
27cc0 65 74 20 69 6e 66 6f 20 6b 65 79 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 et.info.key))).....;;.(message."
27ce0 64 62 67 3a 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 3a dbg:.org-hugo--plist-get-true-p:
27d00 3a 20 6b 65 79 3a 25 53 20 76 61 6c 75 65 3a 25 53 22 20 6b 65 79 20 76 61 6c 75 65 29 0a 20 20 :.key:%S.value:%S".key.value)...
27d20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 74 2d 74 72 75 65 2d 70 20 76 61 ..(org-hugo--value-get-true-p.va
27d40 6c 75 65 29 29 29 0a 0a 3b 3b 3b 3b 20 57 6f 72 6b 61 72 6f 75 6e 64 20 74 6f 20 72 65 74 61 69 lue)))..;;;;.Workaround.to.retai
27d60 6e 20 63 75 73 74 6f 6d 20 70 61 72 61 6d 65 74 65 72 73 20 69 6e 20 73 72 63 2d 62 6c 6f 63 6b n.custom.parameters.in.src-block
27d80 20 68 65 61 64 65 72 73 20 70 6f 73 74 20 60 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 .headers.post.`org-babel-exp-cod
27da0 65 27 0a 3b 3b 20 68 74 74 70 3a 2f 2f 6c 69 73 74 73 2e 67 6e 75 2e 6f 72 67 2f 61 72 63 68 69 e'.;;.http://lists.gnu.org/archi
27dc0 76 65 2f 68 74 6d 6c 2f 65 6d 61 63 73 2d 6f 72 67 6d 6f 64 65 2f 32 30 31 37 2d 31 30 2f 6d 73 ve/html/emacs-orgmode/2017-10/ms
27de0 67 30 30 33 30 30 2e 68 74 6d 6c 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 g00300.html.(defun.org-hugo--org
27e00 2d 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 20 28 6f 72 69 67 2d 66 75 6e 20 26 72 65 73 74 20 -babel-exp-code.(orig-fun.&rest.
27e20 61 72 67 73 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 63 6f 64 args)..."Return.the.original.cod
27e40 65 20 62 6c 6f 63 6b 20 66 6f 72 6d 61 74 74 65 64 20 66 6f 72 20 65 78 70 6f 72 74 2e 0a 4f 52 e.block.formatted.for.export..OR
27e60 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 20 IG-FUN.is.the.original.function.
27e80 60 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 27 20 74 68 61 74 20 74 68 69 73 0a 66 `org-babel-exp-code'.that.this.f
27ea0 75 6e 63 74 69 6f 6e 20 69 73 20 64 65 73 69 67 6e 65 64 20 74 6f 20 61 64 76 69 63 65 20 75 73 unction.is.designed.to.advice.us
27ec0 69 6e 67 20 60 3a 61 72 6f 75 6e 64 27 2e 20 20 41 52 47 53 20 61 72 65 20 74 68 65 0a 61 72 67 ing.`:around'...ARGS.are.the.arg
27ee0 75 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 4f 52 49 47 2d 46 55 4e 2e 0a 0a 54 68 69 73 20 61 64 uments.of.the.ORIG-FUN...This.ad
27f00 76 69 63 65 20 72 65 74 61 69 6e 73 20 74 68 65 20 60 3a 68 6c 5f 6c 69 6e 65 73 27 2c 20 60 6c vice.retains.the.`:hl_lines',.`l
27f20 69 6e 65 6e 6f 73 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 inenos'.and.`:front_matter_extra
27f40 27 20 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 '.parameters,.if.added.to.any.so
27f60 75 72 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 urce.block..This.parameter.is.us
27f80 65 64 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 ed.in.`org-hugo-src-block'."...(
27fa0 6c 65 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 let*.((param-keys-to-be-retained
27fc0 20 27 28 3a 68 6c 5f 6c 69 6e 65 73 20 3a 6c 69 6e 65 6e 6f 73 20 3a 66 72 6f 6e 74 5f 6d 61 74 .'(:hl_lines.:linenos.:front_mat
27fe0 74 65 72 5f 65 78 74 72 61 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 66 6f 20 28 63 61 72 20 ter_extra))..........(info.(car.
28000 61 72 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 61 6d 65 74 65 72 73 20 28 6e 74 68 args))..........(parameters.(nth
28020 20 32 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 78 2d 68 75 67 6f 2d 70 61 72 61 .2.info))..........(ox-hugo-para
28040 6d 73 2d 73 74 72 20 28 6c 65 74 20 28 28 73 74 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 ms-str.(let.((str.""))..........
28060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 70 ......................(dolist.(p
28080 61 72 61 6d 20 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 aram.parameters)................
280a0 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 72 65 74 61 69 ..................(dolist.(retai
280c0 6e 2d 6b 65 79 20 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 29 n-key.param-keys-to-be-retained)
280e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28100 20 20 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 72 65 74 61 69 6e 2d 6b 65 79 20 28 63 61 72 ....(when.(equal.retain-key.(car
28120 20 70 61 72 61 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 .param))........................
28140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 76 61 6c 20 28 63 64 72 20 70 61 ..............(let.((val.(cdr.pa
28160 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 20 20 20 20 20 ram)))..........................
28180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 74 72 0a 20 20 20 20 20 20 20 20 ..............(setq.str.........
281a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
281c0 20 20 20 20 20 28 63 6f 6e 63 61 74 20 73 74 72 20 22 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 .....(concat.str."."............
281e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28200 20 20 20 20 20 20 20 20 20 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 72 65 74 61 69 6e 2d 6b 65 ..........(symbol-name.retain-ke
28220 79 29 20 22 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 y)."."..........................
28240 20 20 20 20 20 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
28260 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 20 20 d...............................
28280 20 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 74 72 69 6e 67 ........................((string
282a0 70 20 76 61 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 p.val)..........................
282c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 ..............................va
282e0 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)..............................
28300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6e 75 6d 62 65 .........................((numbe
28320 72 70 20 76 61 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 rp.val).........................
28340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
28360 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 76 61 6c 29 29 0a 20 20 20 20 20 20 20 20 20 number-to-string.val))..........
28380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
283a0 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 20 20 20 20 20 .............(t.................
283c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
283e0 20 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 76 61 6c 75 .......(user-error."Invalid.valu
28400 65 20 25 53 20 61 73 73 69 67 6e 65 64 20 74 6f 20 25 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 e.%S.assigned.to.%S"............
28420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
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 76 61 6c 20 72 65 74 61 ........................val.reta
28460 69 6e 2d 6b 65 79 29 29 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 in-key))))))))).................
28480 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 6e 77 2d 70 20 ...............(org-string-nw-p.
284a0 28 6f 72 67 2d 74 72 69 6d 20 73 74 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 72 65 74 29 0a (org-trim.str))))..........ret).
284c0 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 6f 62 2d 65 78 70 ....;;.(message."[ox-hugo.ob-exp
284e0 5d 20 69 6e 66 6f 3a 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 ].info:.%S".info).....;;.(messag
28500 65 20 22 5b 6f 78 2d 68 75 67 6f 20 6f 62 2d 65 78 70 5d 20 70 61 72 61 6d 65 74 65 72 73 3a 20 e."[ox-hugo.ob-exp].parameters:.
28520 25 53 22 20 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 %S".parameters).....;;.(message.
28540 22 5b 6f 78 2d 68 75 67 6f 20 6f 62 2d 65 78 70 5d 20 6f 78 2d 68 75 67 6f 2d 70 61 72 61 6d 73 "[ox-hugo.ob-exp].ox-hugo-params
28560 2d 73 74 72 3a 20 25 53 22 20 6f 78 2d 68 75 67 6f 2d 70 61 72 61 6d 73 2d 73 74 72 29 0a 20 20 -str:.%S".ox-hugo-params-str)...
28580 20 20 28 73 65 74 71 20 72 65 74 20 28 61 70 70 6c 79 20 6f 72 69 67 2d 66 75 6e 20 61 72 67 73 ..(setq.ret.(apply.orig-fun.args
285a0 29 29 0a 20 20 20 20 28 77 68 65 6e 20 6f 78 2d 68 75 67 6f 2d 70 61 72 61 6d 73 2d 73 74 72 0a )).....(when.ox-hugo-params-str.
285c0 20 20 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 63 68 20 74 29 ......(let.((case-fold-search.t)
285e0 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 ).........(setq.ret.(replace-reg
28600 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 23 5c 5c 2b 62 65 67 69 6e 5f 73 72 63 20 exp-in-string."\\`#\\+begin_src.
28620 2e 2a 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 .*".............................
28640 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 5c 5c 26 20 25 73 22 ................(format."\\&.%s"
28660 20 6f 78 2d 68 75 67 6f 2d 70 61 72 61 6d 73 2d 73 74 72 29 20 72 65 74 29 29 29 29 0a 20 20 20 .ox-hugo-params-str).ret))))....
28680 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 72 .;;.(message."[ox-hugo.ob-exp].r
286a0 65 74 3a 20 25 53 22 20 72 65 74 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 0a 3b 3b 3b 3b 20 57 6f et:.%S".ret).....ret))...;;;;.Wo
286c0 72 6b 61 72 6f 75 6e 64 20 74 6f 20 66 69 78 20 74 68 65 20 72 65 67 72 65 73 73 69 6f 6e 20 69 rkaround.to.fix.the.regression.i
286e0 6e 20 74 68 65 20 62 65 68 61 76 69 6f 72 20 6f 66 20 60 6f 72 67 2d 62 61 62 65 6c 2d 2d 73 74 n.the.behavior.of.`org-babel--st
28700 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 27 2e 0a 3b 3b 20 68 74 74 70 73 3a 2f 2f 6c 69 73 74 ring-to-number'..;;.https://list
28720 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 32 30 2d 30 s.gnu.org/r/emacs-orgmode/2020-0
28740 32 2f 6d 73 67 30 30 39 33 31 2e 68 74 6d 6c 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2/msg00931.html.(defun.org-hugo-
28760 2d 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 28 73 74 -org-babel--string-to-number.(st
28780 72 69 6e 67 29 0a 20 20 22 49 66 20 53 54 52 49 4e 47 20 72 65 70 72 65 73 65 6e 74 73 20 61 20 ring)..."If.STRING.represents.a.
287a0 6e 75 6d 62 65 72 20 72 65 74 75 72 6e 20 69 74 73 20 76 61 6c 75 65 2e 0a 4f 74 68 65 72 77 69 number.return.its.value..Otherwi
287c0 73 65 20 72 65 74 75 72 6e 20 6e 69 6c 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 72 65 se.return.nil...This.function.re
287e0 73 74 6f 72 65 73 20 74 68 65 20 62 65 68 61 76 69 6f 72 20 6f 66 0a 60 6f 72 67 2d 62 61 62 65 stores.the.behavior.of.`org-babe
28800 6c 2d 2d 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 27 20 74 6f 20 74 68 61 74 20 6f 66 20 l--string-to-number'.to.that.of.
28820 62 65 66 6f 72 65 0a 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 before.https://git.savannah.gnu.
28840 6f 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 org/cgit/emacs/org-mode.git/comm
28860 69 74 2f 3f 69 64 3d 36 62 32 61 37 63 62 32 30 62 33 35 37 65 37 33 30 64 65 31 35 31 35 32 32 it/?id=6b2a7cb20b357e730de151522
28880 66 65 34 32 30 34 63 39 36 36 31 35 66 39 38 2e 22 0a 20 20 28 61 6e 64 20 28 73 74 72 69 6e 67 fe4204c96615f98."...(and.(string
288a0 2d 6d 61 74 63 68 2d 70 20 22 5c 5c 60 2d 3f 5c 5c 28 5b 30 2d 39 5d 5c 5c 7c 5c 5c 28 5b 31 2d -match-p."\\`-?\\([0-9]\\|\\([1-
288c0 39 5d 5c 5c 7c 5b 30 2d 39 5d 2a 5c 5c 2e 5c 5c 29 5b 30 2d 39 5d 2a 5c 5c 29 5c 5c 27 22 20 73 9]\\|[0-9]*\\.\\)[0-9]*\\)\\'".s
288e0 74 72 69 6e 67 29 0a 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 tring)........(string-to-number.
28900 73 74 72 69 6e 67 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d string)))..(defun.org-hugo--org-
28920 69 6e 66 6f 2d 65 78 70 6f 72 74 20 28 70 61 74 68 20 64 65 73 63 20 66 6f 72 6d 61 74 29 0a 20 info-export.(path.desc.format)..
28940 20 22 41 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 65 78 70 6f 72 74 69 6e 67 20 5b 5b 69 6e ."Add.support.for.exporting.[[in
28960 66 6f 3a 2e 2e 5d 5d 20 6c 69 6e 6b 73 20 66 6f 72 20 60 68 75 67 6f 27 20 66 6f 72 6d 61 74 2e fo:..]].links.for.`hugo'.format.
28980 0a 0a 53 65 65 20 60 6f 72 67 2d 6c 69 6e 6b 2d 70 61 72 61 6d 65 74 65 72 73 27 20 66 6f 72 20 ..See.`org-link-parameters'.for.
289a0 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 50 41 54 48 2c 20 44 45 53 43 20 61 6e 64 20 46 4f 52 details.about.PATH,.DESC.and.FOR
289c0 4d 41 54 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 61 72 74 73 20 28 73 70 6c 69 74 2d 73 74 72 MAT."...(let*.((parts.(split-str
289e0 69 6e 67 20 70 61 74 68 20 22 23 5c 5c 7c 3a 3a 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 6d 61 ing.path."#\\|::"))..........(ma
28a00 6e 75 61 6c 20 28 63 61 72 20 70 61 72 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 6e 6f 64 65 nual.(car.parts))..........(node
28a20 20 28 6f 72 20 28 6e 74 68 20 31 20 70 61 72 74 73 29 20 22 54 6f 70 22 29 29 0a 20 20 20 20 20 .(or.(nth.1.parts)."Top"))......
28a40 20 20 20 20 28 74 69 74 6c 65 20 28 66 6f 72 6d 61 74 20 22 45 6d 61 63 73 20 4c 69 73 70 3a 20 ....(title.(format."Emacs.Lisp:.
28a60 28 69 6e 66 6f 20 5c 5c 5c 22 28 25 73 29 20 25 73 5c 5c 5c 22 29 22 20 6d 61 6e 75 61 6c 20 6e (info.\\\"(%s).%s\\\")".manual.n
28a80 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 65 73 63 20 28 6f 72 20 64 65 73 63 0a 20 20 ode))..........(desc.(or.desc...
28aa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 6e 6f .................(if.(string=.no
28ac0 64 65 20 22 54 6f 70 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 de."Top").......................
28ae0 20 28 66 6f 72 6d 61 74 20 22 25 73 20 49 6e 66 6f 22 20 28 63 61 70 69 74 61 6c 69 7a 65 20 6d .(format."%s.Info".(capitalize.m
28b00 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 28 66 6f anual))......................(fo
28b20 72 6d 61 74 20 22 25 73 20 49 6e 66 6f 3a 20 25 73 22 20 28 63 61 70 69 74 61 6c 69 7a 65 20 6d rmat."%s.Info:.%s".(capitalize.m
28b40 61 6e 75 61 6c 29 20 6e 6f 64 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 60 6c 69 6e anual).node))))..........;;.`lin
28b60 6b 27 20 62 65 6c 6f 77 20 69 73 20 6d 6f 73 74 6c 79 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 k'.below.is.mostly.derived.from.
28b80 74 68 65 20 63 6f 64 65 20 69 6e 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 69 6e 66 the.code.in..........;;.`org-inf
28ba0 6f 2d 6d 61 70 2d 68 74 6d 6c 2d 75 72 6c 27 2e 0a 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 20 o-map-html-url'...........(link.
28bc0 28 63 6f 6e 64 20 28 28 6d 65 6d 62 65 72 20 6d 61 6e 75 61 6c 20 6f 72 67 2d 69 6e 66 6f 2d 65 (cond.((member.manual.org-info-e
28be0 6d 61 63 73 2d 64 6f 63 75 6d 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 macs-documents).................
28c00 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 61 6e 75 61 6c 2d 75 72 6c 20 28 69 66 20 28 73 74 72 ......(let.((manual-url.(if.(str
28c20 69 6e 67 3d 20 28 64 6f 77 6e 63 61 73 65 20 6d 61 6e 75 61 6c 29 20 22 6f 72 67 22 29 0a 20 20 ing=.(downcase.manual)."org")...
28c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28c60 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 73 3a 2f 2f 6f 72 67 6d 6f 64 65 2e 6f 72 67 2f 6d .........."https://orgmode.org/m
28c80 61 6e 75 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 anual"..........................
28ca0 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 68 74 74 70 73 3a .................(format."https:
28cc0 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 73 6f 66 74 77 61 72 65 2f 65 6d 61 63 73 2f 6d 61 6e //www.gnu.org/software/emacs/man
28ce0 75 61 6c 2f 68 74 6d 6c 5f 6e 6f 64 65 2f 25 73 22 20 6d 61 6e 75 61 6c 29 29 29 0a 20 20 20 20 ual/html_node/%s".manual))).....
28d00 20 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 64 65 2d 75 72 ........................(node-ur
28d20 6c 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 6e 6f 64 65 20 22 54 6f 70 22 29 0a 20 20 20 20 20 l.(if.(string=.node."Top")......
28d40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28d60 20 20 20 20 20 22 69 6e 64 65 78 2e 68 74 6d 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....."index.html"...............
28d80 20 20 20 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 ..........................(conca
28da0 74 20 28 6f 72 67 2d 69 6e 66 6f 2d 2d 65 78 70 61 6e 64 2d 6e 6f 64 65 2d 6e 61 6d 65 20 6e 6f t.(org-info--expand-node-name.no
28dc0 64 65 29 20 22 2e 68 74 6d 6c 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 de).".html")))).................
28de0 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 2f 25 73 22 20 6d 61 6e 75 61 6c 2d 75 ........(format."%s/%s".manual-u
28e00 72 6c 20 6e 6f 64 65 2d 75 72 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rl.node-url)))..................
28e20 20 20 20 20 28 28 6d 65 6d 62 65 72 20 6d 61 6e 75 61 6c 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 66 ....((member.manual.org-hugo-inf
28e40 6f 2d 67 6e 75 2d 73 6f 66 74 77 61 72 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 o-gnu-software).................
28e60 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 61 6e 75 61 6c 2d 75 72 6c 20 28 66 6f 72 6d 61 74 20 ......(let.((manual-url.(format.
28e80 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 72 65 2f 25 73 "https://www.gnu.org/software/%s
28ea0 2f 6d 61 6e 75 61 6c 2f 68 74 6d 6c 5f 6e 6f 64 65 22 20 6d 61 6e 75 61 6c 29 29 0a 20 20 20 20 /manual/html_node".manual)).....
28ec0 20 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 64 65 2d 75 72 ........................(node-ur
28ee0 6c 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 6e 6f 64 65 20 22 54 6f 70 22 29 0a 20 20 20 20 20 l.(if.(string=.node."Top")......
28f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28f20 20 20 20 20 20 22 69 6e 64 65 78 2e 68 74 6d 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....."index.html"...............
28f40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 ..........................(conca
28f60 74 20 28 6f 72 67 2d 69 6e 66 6f 2d 2d 65 78 70 61 6e 64 2d 6e 6f 64 65 2d 6e 61 6d 65 20 6e 6f t.(org-info--expand-node-name.no
28f80 64 65 29 20 22 2e 68 74 6d 6c 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 de).".html")))).................
28fa0 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 2f 25 73 22 20 6d 61 6e 75 61 6c 2d 75 ........(format."%s/%s".manual-u
28fc0 72 6c 20 6e 6f 64 65 2d 75 72 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rl.node-url)))..................
28fe0 20 20 20 20 28 28 63 64 72 20 28 61 73 73 6f 63 20 6d 61 6e 75 61 6c 20 6f 72 67 2d 69 6e 66 6f ....((cdr.(assoc.manual.org-info
29000 2d 6f 74 68 65 72 2d 64 6f 63 75 6d 65 6e 74 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 -other-documents))).............
29020 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 20 20 .........(t.....................
29040 20 20 28 63 6f 6e 63 61 74 20 6d 61 6e 75 61 6c 20 22 2e 68 74 6d 6c 22 29 29 29 29 29 0a 20 20 ..(concat.manual.".html")))))...
29060 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 66 6f 72 6d 61 74 20 27 28 6d 64 20 68 75 67 6f ..(when.(member.format.'(md.hugo
29080 29 29 0a 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 28 25 73 20 5c 22 25 73 5c 22 )).......(format."[%s](%s.\"%s\"
290a0 29 22 20 64 65 73 63 20 6c 69 6e 6b 20 74 69 74 6c 65 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f )".desc.link.title))))..(defun.o
290c0 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 62 69 62 6c 69 6f 67 rg-hugo--org-cite-export-bibliog
290e0 72 61 70 68 79 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 49 raphy.(orig-fun.&rest.args)..."I
29100 6e 73 65 72 74 20 61 20 68 65 61 64 69 6e 67 20 62 65 66 6f 72 65 20 74 68 65 20 65 78 70 6f 72 nsert.a.heading.before.the.expor
29120 74 65 64 20 62 69 62 6c 69 6f 67 72 61 70 68 79 2e 0a 0a 4f 52 49 47 2d 46 55 4e 20 69 73 20 74 ted.bibliography...ORIG-FUN.is.t
29140 68 65 20 6f 72 69 67 69 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 20 60 6f 72 67 2d 63 69 74 65 2d 65 he.original.function.`org-cite-e
29160 78 70 6f 72 74 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 27 0a 74 68 61 74 20 74 68 69 73 20 66 75 xport-bibliography'.that.this.fu
29180 6e 63 74 69 6f 6e 20 69 73 20 64 65 73 69 67 6e 65 64 20 74 6f 20 61 64 76 69 63 65 20 75 73 69 nction.is.designed.to.advice.usi
291a0 6e 67 20 60 3a 61 72 6f 75 6e 64 27 2e 20 20 41 52 47 53 0a 61 72 65 20 74 68 65 20 61 72 67 75 ng.`:around'...ARGS.are.the.argu
291c0 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 4f 52 49 47 2d 46 55 4e 2e 22 0a 20 20 28 6c 65 74 20 28 ments.of.the.ORIG-FUN."...(let.(
291e0 28 62 69 62 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 20 20 20 (bib.(apply.orig-fun.args)))....
29200 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 62 69 62 29 0a 20 20 20 .(when.(org-string-nw-p.bib)....
29220 20 20 20 3b 3b 20 41 75 74 6f 2d 69 6e 6a 65 63 74 20 42 69 62 6c 69 6f 67 72 61 70 68 79 20 68 ...;;.Auto-inject.Bibliography.h
29240 65 61 64 69 6e 67 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 69 6e 66 6f 20 28 6e 74 68 20 32 eading........(let.((info.(nth.2
29260 20 61 72 67 73 29 29 20 3b 28 6f 72 67 2d 63 69 74 65 2d 65 78 70 6f 72 74 2d 62 69 62 6c 69 6f .args)).;(org-cite-export-biblio
29280 67 72 61 70 68 79 20 4b 45 59 57 4f 52 44 20 5f 20 49 4e 46 4f 29 0a 20 20 20 20 20 20 20 20 20 graphy.KEYWORD._.INFO)..........
292a0 20 20 20 28 62 69 62 2d 68 65 61 64 69 6e 67 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 ...(bib-heading.(org-string-nw-p
292c0 20 28 70 6c 69 73 74 2d 67 65 74 20 6f 72 67 2d 68 75 67 6f 2d 63 69 74 61 74 69 6f 6e 73 2d 70 .(plist-get.org-hugo-citations-p
292e0 6c 69 73 74 20 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 list.:bibliography-section-headi
29300 6e 67 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 62 69 62 2d 68 65 61 64 69 6e 67 ng)))).........(when.bib-heading
29320 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 62 69 62 2d 68 65 61 64 69 6e 67 20 28 ...........(let*.((bib-heading.(
29340 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 2d 74 72 61 6e 73 6c 61 74 65 20 6e 69 6c 20 69 org-blackfriday--translate.nil.i
29360 6e 66 6f 20 62 69 62 2d 68 65 61 64 69 6e 67 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nfo.bib-heading))...............
29380 20 20 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 ...(loffset.(string-to-number...
293a0 20 20 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 6f 72 .........................(or.(or
293c0 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 4c 45 56 g-entry-get.nil."EXPORT_HUGO_LEV
293e0 45 4c 5f 4f 46 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 EL_OFFSET".:inherit)............
29400 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
29420 6e 66 6f 20 3a 68 75 67 6f 2d 6c 65 76 65 6c 2d 6f 66 66 73 65 74 29 29 29 29 0a 20 20 20 20 20 nfo.:hugo-level-offset))))......
29440 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 76 65 6c 2d 6d 61 72 6b 20 28 6d 61 6b 65 2d 73 74 ............(level-mark.(make-st
29460 72 69 6e 67 20 28 2b 20 6c 6f 66 66 73 65 74 20 31 29 20 3f 23 29 29 29 0a 20 20 20 20 20 20 20 ring.(+.loffset.1).?#)))........
29480 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 25 73 5c 6e 5c 6e 25 73 22 20 6c 65 76 65 6c .....(format."%s.%s\n\n%s".level
294a0 2d 6d 61 72 6b 20 62 69 62 2d 68 65 61 64 69 6e 67 20 62 69 62 29 29 29 29 29 29 29 0a 0a 28 64 -mark.bib-heading.bib)))))))..(d
294c0 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 62 65 66 6f 72 65 2d 65 78 70 6f 72 74 2d 66 75 6e efun.org-hugo--before-export-fun
294e0 63 74 69 6f 6e 20 28 73 75 62 74 72 65 65 70 29 0a 20 20 22 46 75 6e 63 74 69 6f 6e 20 74 6f 20 ction.(subtreep)..."Function.to.
29500 62 65 20 72 75 6e 20 62 65 66 6f 72 65 20 61 6e 20 6f 78 2d 68 75 67 6f 20 65 78 70 6f 72 74 2e be.run.before.an.ox-hugo.export.
29520 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 65 ..This.function.is.called.in.the
29540 20 76 65 72 79 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 0a 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 .very.beginning.of.`org-hugo-exp
29560 6f 72 74 2d 74 6f 2d 6d 64 27 20 61 6e 64 20 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d ort-to-md'.and.`org-hugo-export-
29580 61 73 2d 6d 64 27 2e 0a 0a 53 55 42 54 52 45 45 50 20 69 73 20 6e 6f 6e 2d 6e 69 6c 20 66 6f 72 as-md'...SUBTREEP.is.non-nil.for
295a0 20 73 75 62 74 72 65 65 2d 62 61 73 65 64 20 65 78 70 6f 72 74 73 2e 0a 0a 54 68 69 73 20 66 75 .subtree-based.exports...This.fu
295c0 6e 63 74 69 6f 6e 20 69 73 20 75 73 65 64 20 74 6f 20 61 64 76 69 73 65 20 66 65 77 20 66 75 6e nction.is.used.to.advise.few.fun
295e0 63 74 69 6f 6e 73 2e 20 20 54 68 6f 73 65 20 61 64 76 69 63 65 73 20 61 72 65 0a 65 66 66 65 63 ctions...Those.advices.are.effec
29600 74 69 76 65 20 6f 6e 6c 79 20 77 68 69 6c 65 20 61 6e 20 6f 78 2d 68 75 67 6f 20 65 78 70 6f 72 tive.only.while.an.ox-hugo.expor
29620 74 20 69 73 20 69 6e 20 70 72 6f 67 72 65 73 73 20 62 65 63 61 75 73 65 0a 74 68 65 79 20 67 65 t.is.in.progress.because.they.ge
29640 74 20 72 65 6d 6f 76 65 64 20 6c 61 74 65 72 20 69 6e 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 t.removed.later.in.`org-hugo--af
29660 74 65 72 2d 31 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 27 2e 0a 0a 54 68 69 73 20 69 73 ter-1-export-function'...This.is
29680 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 75 6e 6c 65 73 .an.internal.function."...(unles
296a0 73 20 73 75 62 74 72 65 65 70 0a 20 20 20 20 3b 3b 20 52 65 73 65 74 20 74 68 65 20 76 61 72 69 s.subtreep.....;;.Reset.the.vari
296c0 61 62 6c 65 73 20 74 68 61 74 20 61 72 65 20 75 73 65 64 20 6f 6e 6c 79 20 66 6f 72 20 73 75 62 ables.that.are.used.only.for.sub
296e0 74 72 65 65 20 65 78 70 6f 72 74 73 2e 0a 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f tree.exports......(setq.org-hugo
29700 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 20 6e 69 6c 29 29 0a 20 20 28 61 64 76 69 63 65 2d --subtree-coord.nil))...(advice-
29720 61 64 64 20 27 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 20 3a 61 72 6f 75 6e 64 20 add.'org-babel-exp-code.:around.
29740 23 27 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 29 0a #'org-hugo--org-babel-exp-code).
29760 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 2d 73 74 72 69 6e 67 ..(advice-add.'org-babel--string
29780 2d 74 6f 2d 6e 75 6d 62 65 72 20 3a 6f 76 65 72 72 69 64 65 20 23 27 6f 72 67 2d 68 75 67 6f 2d -to-number.:override.#'org-hugo-
297a0 2d 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 29 0a 20 20 -org-babel--string-to-number)...
297c0 28 61 64 76 69 63 65 2d 61 64 64 20 27 6f 72 67 2d 69 6e 66 6f 2d 65 78 70 6f 72 74 20 3a 6f 76 (advice-add.'org-info-export.:ov
297e0 65 72 72 69 64 65 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 69 6e 66 6f 2d 65 78 70 6f erride.#'org-hugo--org-info-expo
29800 72 74 29 0a 20 20 28 61 64 76 69 63 65 2d 61 64 64 20 27 6f 72 67 2d 63 69 74 65 2d 65 78 70 6f rt)...(advice-add.'org-cite-expo
29820 72 74 2d 62 69 62 6c 69 6f 67 72 61 70 68 79 20 3a 61 72 6f 75 6e 64 20 23 27 6f 72 67 2d 68 75 rt-bibliography.:around.#'org-hu
29840 67 6f 2d 2d 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 go--org-cite-export-bibliography
29860 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 31 2d 65 78 70 ))..(defun.org-hugo--after-1-exp
29880 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 28 69 6e 66 6f 20 6f 75 74 66 69 6c 65 29 0a 20 20 22 46 ort-function.(info.outfile)..."F
298a0 75 6e 63 74 69 6f 6e 20 74 6f 20 62 65 20 72 75 6e 20 61 66 74 65 72 20 65 78 70 6f 72 74 69 6e unction.to.be.run.after.exportin
298c0 67 20 6f 6e 65 20 70 6f 73 74 2e 0a 0a 54 68 65 20 70 6f 73 74 20 63 6f 75 6c 64 20 62 65 20 65 g.one.post...The.post.could.be.e
298e0 78 70 6f 72 74 65 64 20 75 73 69 6e 67 20 74 68 65 20 73 75 62 74 72 65 65 2d 62 61 73 65 64 20 xported.using.the.subtree-based.
29900 6f 72 20 66 69 6c 65 2d 62 61 73 65 64 0a 6d 65 74 68 6f 64 2e 0a 0a 54 68 69 73 20 66 75 6e 63 or.file-based.method...This.func
29920 74 69 6f 6e 20 69 73 20 63 61 6c 6c 65 64 20 69 6e 20 74 68 65 20 65 6e 64 20 6f 66 20 60 6f 72 tion.is.called.in.the.end.of.`or
29940 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 27 2c 0a 61 6e 64 20 60 6f 72 67 2d 68 g-hugo-export-to-md',.and.`org-h
29960 75 67 6f 2d 65 78 70 6f 72 74 2d 61 73 2d 6d 64 27 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c ugo-export-as-md'...INFO.is.a.pl
29980 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e ist.used.as.a.communication.chan
299a0 6e 65 6c 2e 0a 0a 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 65 nel...OUTFILE.is.the.Org.exporte
299c0 64 20 66 69 6c 65 20 6e 61 6d 65 2e 0a 0a 54 68 69 73 20 69 73 20 61 6e 20 69 6e 74 65 72 6e 61 d.file.name...This.is.an.interna
299e0 6c 20 66 75 6e 63 74 69 6f 6e 2e 22 0a 20 20 28 61 64 76 69 63 65 2d 72 65 6d 6f 76 65 20 27 6f l.function."...(advice-remove.'o
29a00 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 23 27 6f 72 rg-cite-export-bibliography.#'or
29a20 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 63 69 74 65 2d 65 78 70 6f 72 74 2d 62 69 62 6c 69 6f 67 72 g-hugo--org-cite-export-bibliogr
29a40 61 70 68 79 29 0a 20 20 28 61 64 76 69 63 65 2d 72 65 6d 6f 76 65 20 27 6f 72 67 2d 69 6e 66 6f aphy)...(advice-remove.'org-info
29a60 2d 65 78 70 6f 72 74 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 69 6e 66 6f 2d 65 78 70 -export.#'org-hugo--org-info-exp
29a80 6f 72 74 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 62 65 6c ort)...(advice-remove.'org-babel
29aa0 2d 2d 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 6f --string-to-number.#'org-hugo--o
29ac0 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 29 0a 20 20 28 61 rg-babel--string-to-number)...(a
29ae0 64 76 69 63 65 2d 72 65 6d 6f 76 65 20 27 6f 72 67 2d 62 61 62 65 6c 2d 65 78 70 2d 63 6f 64 65 dvice-remove.'org-babel-exp-code
29b00 20 23 27 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 29 .#'org-hugo--org-babel-exp-code)
29b20 0a 20 20 28 77 68 65 6e 20 28 61 6e 64 20 6f 75 74 66 69 6c 65 0a 20 20 20 20 20 20 20 20 20 20 ...(when.(and.outfile...........
29b40 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
29b60 6e 61 62 6c 65 64 2d 70 20 69 6e 66 6f 29 29 0a 20 20 20 20 28 72 65 71 75 69 72 65 20 27 6f 78 nabled-p.info)).....(require.'ox
29b80 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 29 0a 20 20 20 20 28 70 6c 69 73 74 2d 70 75 -hugo-pandoc-cite).....(plist-pu
29ba0 74 20 69 6e 66 6f 20 3a 6f 75 74 66 69 6c 65 20 6f 75 74 66 69 6c 65 29 0a 20 20 20 20 28 70 6c t.info.:outfile.outfile).....(pl
29bc0 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 6f 72 67 2d 68 ist-put.info.:front-matter.org-h
29be0 75 67 6f 2d 2d 66 6d 29 0a 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 ugo--fm).....(org-hugo-pandoc-ci
29c00 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 69 6e 66 6f 29 29 te--parse-citations-maybe.info))
29c20 0a 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 20 6e 69 6c 29 0a 20 20 28 73 65 ...(setq.org-hugo--fm.nil)...(se
29c40 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 20 6e 69 6c 29 29 0a 0a 28 64 65 66 tq.org-hugo--fm-yaml.nil))..(def
29c60 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 6c 65 61 6e 75 70 20 28 29 0a 20 20 22 46 75 6e 63 74 un.org-hugo--cleanup.()..."Funct
29c80 69 6f 6e 20 74 6f 20 6b 69 6c 6c 20 4f 78 2d 48 75 67 6f 20 6f 70 65 6e 65 64 20 62 75 66 66 65 ion.to.kill.Ox-Hugo.opened.buffe
29ca0 72 73 20 61 6e 64 20 72 65 73 65 74 20 69 6e 74 65 72 6e 61 6c 20 76 61 72 69 61 62 6c 65 73 2e rs.and.reset.internal.variables.
29cc0 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 6e 2e 22 ..This.is.an.internal.function."
29ce0 0a 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 75 6e 74 ...(setq.org-hugo--subtree-count
29d00 20 30 29 20 3b 52 65 73 65 74 20 74 68 65 20 73 75 62 74 72 65 65 20 63 6f 75 6e 74 0a 0a 20 20 .0).;Reset.the.subtree.count....
29d20 3b 3b 20 4b 69 6c 6c 20 61 6c 6c 20 74 68 65 20 62 75 66 66 65 72 73 20 6f 70 65 6e 65 64 20 62 ;;.Kill.all.the.buffers.opened.b
29d40 79 20 64 75 72 69 6e 67 20 61 6e 20 65 78 70 6f 72 74 2e 0a 20 20 28 64 6f 6c 69 73 74 20 28 62 y.during.an.export....(dolist.(b
29d60 75 66 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 29 0a 20 20 20 uf.org-hugo--opened-buffers)....
29d80 20 28 6b 69 6c 6c 2d 62 75 66 66 65 72 20 62 75 66 29 29 0a 20 20 28 73 65 74 71 20 6f 72 67 2d .(kill-buffer.buf))...(setq.org-
29da0 68 75 67 6f 2d 2d 6f 70 65 6e 65 64 2d 62 75 66 66 65 72 73 20 6e 69 6c 29 0a 0a 20 20 28 73 65 hugo--opened-buffers.nil)....(se
29dc0 74 71 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 tq.org-hugo--preprocessed-buffer
29de0 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 61 66 74 65 72 2d 61 .nil))..(defun.org-hugo--after-a
29e00 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 22 46 75 6e 63 74 69 ll-exports-function.()..."Functi
29e20 6f 6e 20 74 6f 20 62 65 20 72 75 6e 20 61 66 74 65 72 20 4f 78 2d 48 75 67 6f 20 65 78 70 6f 72 on.to.be.run.after.Ox-Hugo.expor
29e40 74 73 20 61 6c 6c 20 74 68 65 20 70 6f 73 74 73 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e ts.all.the.posts...This.function
29e60 20 69 73 20 63 61 6c 6c 65 64 20 69 6e 20 74 68 65 20 65 6e 64 20 6f 66 0a 60 6f 72 67 2d 68 75 .is.called.in.the.end.of.`org-hu
29e80 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 2c 20 60 6f 72 67 2d 68 75 67 6f 2d go-export-wim-to-md',.`org-hugo-
29ea0 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 27 20 61 6e 64 0a 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f export-to-md'.and.`org-hugo-expo
29ec0 72 74 2d 61 73 2d 6d 64 27 20 28 69 66 20 69 74 73 20 41 4c 4c 2d 53 55 42 54 52 45 45 53 20 61 rt-as-md'.(if.its.ALL-SUBTREES.a
29ee0 72 67 20 69 73 20 6e 6f 6e 2d 6e 69 6c 29 2e 0a 0a 54 68 69 73 20 69 73 20 61 6e 20 69 6e 74 65 rg.is.non-nil)...This.is.an.inte
29f00 72 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 2e 22 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6c 65 rnal.function."...(org-hugo--cle
29f20 61 6e 75 70 29 0a 20 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 61 6c anup)...(dolist.(fn.org-hugo--al
29f40 6c 2d 73 75 62 74 72 65 65 73 2d 65 78 70 6f 72 74 2d 2d 66 75 6e 63 74 69 6f 6e 73 2d 74 6f 2d l-subtrees-export--functions-to-
29f60 73 69 6c 65 6e 63 65 29 0a 20 20 20 20 28 61 64 76 69 63 65 2d 72 65 6d 6f 76 65 20 66 6e 20 23 silence).....(advice-remove.fn.#
29f80 27 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 73 61 67 'org-hugo--advice-silence-messag
29fa0 65 73 29 29 29 0a 0a 3b 3b 3b 3b 20 48 54 4d 4c 69 7a 65 64 20 73 65 63 74 69 6f 6e 20 6e 75 6d es)))..;;;;.HTMLized.section.num
29fc0 62 65 72 20 66 6f 72 20 68 65 61 64 69 6e 67 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d ber.for.heading.(defun.org-hugo-
29fe0 2d 67 65 74 2d 68 65 61 64 69 6e 67 2d 6e 75 6d 62 65 72 20 28 68 65 61 64 69 6e 67 20 69 6e 66 -get-heading-number.(heading.inf
2a000 6f 20 26 6f 70 74 69 6f 6e 61 6c 20 74 6f 63 29 0a 20 20 22 52 65 74 75 72 6e 20 68 74 6d 6c 69 o.&optional.toc)..."Return.htmli
2a020 7a 65 64 20 73 65 63 74 69 6f 6e 20 6e 75 6d 62 65 72 20 66 6f 72 20 74 68 65 20 48 45 41 44 49 zed.section.number.for.the.HEADI
2a040 4e 47 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 20 61 20 63 6f NG..INFO.is.a.plist.used.as.a.co
2a060 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 2e 0a 0a 57 68 65 6e 20 74 68 65 20 5c mmunication.channel...When.the.\
2a080 22 6e 75 6d 5c 22 20 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e 20 69 73 20 60 6f 6e 6c 79 74 6f 63 "num\".export.option.is.`onlytoc
2a0a0 27 2c 20 68 65 61 64 69 6e 67 20 6e 75 6d 62 65 72 20 69 73 0a 72 65 74 75 72 6e 65 64 20 6f 6e ',.heading.number.is.returned.on
2a0c0 6c 79 20 69 66 20 74 68 65 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 54 4f 43 20 ly.if.the.optional.argument.TOC.
2a0e0 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 74 68 65 72 65 is.non-nil...Return.nil.if.there
2a100 20 69 73 20 6e 6f 20 68 65 61 64 69 6e 67 20 6e 75 6d 62 65 72 2c 20 6f 72 20 69 66 20 69 74 20 .is.no.heading.number,.or.if.it.
2a120 68 61 73 20 62 65 65 6e 0a 64 69 73 61 62 6c 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 6f 6e 6c has.been.disabled."...(let.((onl
2a140 79 74 6f 63 20 28 65 71 75 61 6c 20 27 6f 6e 6c 79 74 6f 63 20 28 70 6c 69 73 74 2d 67 65 74 20 ytoc.(equal.'onlytoc.(plist-get.
2a160 69 6e 66 6f 20 3a 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 29 29 29 29 0a 20 20 20 20 28 77 info.:section-numbers)))).....(w
2a180 68 65 6e 20 28 61 6e 64 20 28 69 66 20 74 6f 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 hen.(and.(if.toc................
2a1a0 20 20 20 20 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 6f 6e 6c 79 ....t..................(not.only
2a1c0 74 6f 63 29 29 20 3b 49 66 20 60 74 6f 63 27 20 69 73 20 6e 69 6c 2c 20 62 75 74 20 60 6f 6e 6c toc)).;If.`toc'.is.nil,.but.`onl
2a1e0 79 74 6f 63 27 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 65 74 75 72 6e 20 6e 69 6c 0a 20 20 20 ytoc'.is.non-nil,.return.nil....
2a200 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 6e 75 6d 62 65 72 65 64 ............(org-export-numbered
2a220 2d 68 65 61 64 6c 69 6e 65 2d 70 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 -headline-p.heading.info))......
2a240 20 28 6c 65 74 20 28 28 6e 75 6d 62 65 72 2d 73 74 72 20 28 6d 61 70 63 6f 6e 63 61 74 0a 20 20 .(let.((number-str.(mapconcat...
2a260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 6e 75 6d 62 65 72 2d 74 .......................'number-t
2a280 6f 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 20 o-string........................
2a2a0 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 68 65 61 64 6c 69 6e 65 2d 6e 75 6d 62 65 ..(org-export-get-headline-numbe
2a2c0 72 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 20 22 2e 22 29 29 29 0a 20 20 20 20 20 20 20 20 28 r.heading.info)."."))).........(
2a2e0 66 6f 72 6d 61 74 20 22 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 73 65 63 74 69 6f 6e 2d 6e 75 format."<span.class=\"section-nu
2a300 6d 5c 22 3e 25 73 3c 2f 73 70 61 6e 3e 20 22 20 6e 75 6d 62 65 72 2d 73 74 72 29 29 29 29 29 0a m\">%s</span>.".number-str))))).
2a320 0a 3b 3b 3b 3b 20 42 75 69 6c 64 20 54 4f 43 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d .;;;;.Build.TOC.(defun.org-hugo-
2a340 2d 62 75 69 6c 64 2d 74 6f 63 20 28 69 6e 66 6f 20 26 6f 70 74 69 6f 6e 61 6c 20 6e 20 73 63 6f -build-toc.(info.&optional.n.sco
2a360 70 65 20 6c 6f 63 61 6c 29 0a 20 20 22 52 65 74 75 72 6e 20 74 61 62 6c 65 20 6f 66 20 63 6f 6e pe.local)..."Return.table.of.con
2a380 74 65 6e 74 73 20 61 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c tents.as.a.string...INFO.is.a.pl
2a3a0 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e ist.used.as.a.communication.chan
2a3c0 6e 65 6c 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 4e 2c 20 77 68 65 6e 20 nel...Optional.argument.N,.when.
2a3e0 6e 6f 6e 2d 6e 69 6c 2c 20 69 73 20 61 20 70 6f 73 69 74 69 76 65 20 69 6e 74 65 67 65 72 0a 73 non-nil,.is.a.positive.integer.s
2a400 70 65 63 69 66 79 69 6e 67 20 74 68 65 20 64 65 70 74 68 20 6f 66 20 74 68 65 20 74 61 62 6c 65 pecifying.the.depth.of.the.table
2a420 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 43 4f 50 45 20 ...When.optional.argument.SCOPE.
2a440 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 62 75 69 6c 64 20 61 20 74 61 62 6c 65 20 6f 66 0a 63 6f 6e is.non-nil,.build.a.table.of.con
2a460 74 65 6e 74 73 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 73 70 65 63 69 66 69 65 64 tents.according.to.the.specified
2a480 20 65 6c 65 6d 65 6e 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 .element...When.optional.argumen
2a4a0 74 20 4c 4f 43 41 4c 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 62 75 69 6c 64 20 61 20 74 61 62 6c t.LOCAL.is.non-nil,.build.a.tabl
2a4c0 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 68 65 20 63 e.of.contents.according.to.the.c
2a4e0 75 72 72 65 6e 74 20 68 65 61 64 69 6e 67 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 74 6f 63 2d 68 urrent.heading."...(let*.((toc-h
2a500 65 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 6c 6f 63 61 6c 0a 20 eading...........(unless.local..
2a520 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5c 6e 3c 64 69 76 20 63 6c 61 73 73 ...........(format."\n<div.class
2a540 3d 5c 22 68 65 61 64 69 6e 67 5c 22 3e 25 73 3c 2f 64 69 76 3e 5c 6e 22 0a 20 20 20 20 20 20 20 =\"heading\">%s</div>\n"........
2a560 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 74 72 61 6e 73 6c 61 74 .............(org-html--translat
2a580 65 20 22 54 61 62 6c 65 20 6f 66 20 43 6f 6e 74 65 6e 74 73 22 20 69 6e 66 6f 29 29 29 29 0a 20 e."Table.of.Contents".info))))..
2a5a0 20 20 20 20 20 20 20 20 28 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 20 6e 69 6c 29 0a 20 20 20 20 ........(current-level.nil).....
2a5c0 20 20 20 20 20 28 74 6f 63 2d 69 74 65 6d 73 0a 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 6f .....(toc-items...........(mapco
2a5e0 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 68 65 61 64 69 6e 67 ncat............(lambda.(heading
2a600 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 6c 65 76 65 6c 2d 72 61 77 )..............(let*.((level-raw
2a620 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 6c 20 .(org-export-get-relative-level.
2a640 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 heading.info))..................
2a660 20 20 20 28 6c 65 76 65 6c 20 28 69 66 20 73 63 6f 70 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 ...(level.(if.scope.............
2a680 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 63 75 72 72 65 ...................(let*.((curre
2a6a0 6e 74 2d 6c 65 76 65 6c 2d 69 6e 6e 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nt-level-inner..................
2a6c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 ......................(progn....
2a6e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2a700 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 0a 20 20 20 20 ......(unless.current-level.....
2a720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2a740 20 20 20 20 20 20 20 28 73 65 74 71 20 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 20 6c 65 76 65 6c .......(setq.current-level.level
2a760 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 20 20 20 20 20 20 20 -raw))..........................
2a780 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 29 29 0a ................current-level)).
2a7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2a7c0 20 20 20 20 20 20 28 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 6c 0a 20 20 20 20 20 20 20 20 20 20 ......(relative-level...........
2a7e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 31 2b .............................(1+
2a800 20 28 2d 20 6c 65 76 65 6c 2d 72 61 77 20 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 2d 69 6e 6e 65 .(-.level-raw.current-level-inne
2a820 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 r))))...........................
2a840 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 28 63 6f 6e 63 61 74 20 22 5b 6f 78 2d .......;;.(message.(concat."[ox-
2a860 68 75 67 6f 20 62 75 69 6c 64 2d 74 6f 63 20 44 42 47 5d 20 22 0a 20 20 20 20 20 20 20 20 20 20 hugo.build-toc.DBG]."...........
2a880 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 .......................;;.......
2a8a0 20 20 20 20 20 20 20 20 20 20 20 22 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 2d 69 6e 6e 65 72 3a ..........."current-level-inner:
2a8c0 25 64 20 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 6c 3a 25 64 22 29 0a 20 20 20 20 20 20 20 20 20 %d.relative-level:%d")..........
2a8e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 ........................;;......
2a900 20 20 20 20 63 75 72 72 65 6e 74 2d 6c 65 76 65 6c 2d 69 6e 6e 65 72 20 72 65 6c 61 74 69 76 65 ....current-level-inner.relative
2a920 2d 6c 65 76 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -level).........................
2a940 20 20 20 20 20 20 20 20 20 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 6c 29 0a 20 20 20 20 20 20 20 .........relative-level)........
2a960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 76 65 6c 2d 72 61 77 29 ......................level-raw)
2a980 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 64 65 6e 74 61 74 69 ).....................(indentati
2a9a0 6f 6e 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2a 20 34 20 28 31 2d 20 6c 65 76 65 6c 29 29 on.(make-string.(*.4.(1-.level))
2a9c0 20 3f 5c 73 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 6f 64 6f .?\s)).....................(todo
2a9e0 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 74 72 75 65 2d .(and.(org-hugo--plist-get-true-
2aa00 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 0a 20 20 20 20 p.info.:with-todo-keywords).....
2aa20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d ...........................(org-
2aa40 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 6f 64 6f 2d 6b 65 79 77 6f 72 64 20 68 element-property.:todo-keyword.h
2aa60 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 20 28 74 eading))).....................(t
2aa80 6f 64 6f 2d 73 74 72 20 28 69 66 20 74 6f 64 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 odo-str.(if.todo................
2aaa0 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 6f 72 67 2d ...................(concat.(org-
2aac0 68 75 67 6f 2d 2d 74 6f 64 6f 20 74 6f 64 6f 20 69 6e 66 6f 29 20 22 20 22 29 0a 20 20 20 20 20 hugo--todo.todo.info).".")......
2aae0 20 20 20 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 ..........................."")).
2ab00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 68 65 61 64 69 6e 67 2d 6e 75 6d ....................(heading-num
2ab20 2d 6c 69 73 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 68 65 61 64 6c 69 6e 65 2d 6e -list.(org-export-get-headline-n
2ab40 75 6d 62 65 72 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 umber.heading.info))............
2ab60 20 20 20 20 20 20 20 20 20 28 6e 75 6d 62 65 72 20 28 69 66 20 68 65 61 64 69 6e 67 2d 6e 75 6d .........(number.(if.heading-num
2ab80 2d 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 20 20 20 20 20 -list...........................
2aba0 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 54 4f 43 20 ......;;.(message."[ox-hugo.TOC.
2abc0 44 42 47 5d 20 68 65 61 64 69 6e 67 2d 6e 75 6d 2d 6c 69 73 74 3a 20 25 53 22 20 68 65 61 64 69 DBG].heading-num-list:.%S".headi
2abe0 6e 67 2d 6e 75 6d 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 ng-num-list)....................
2ac00 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 68 65 61 64 .............(org-hugo--get-head
2ac20 69 6e 67 2d 6e 75 6d 62 65 72 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 20 3a 74 6f 63 29 0a 20 20 ing-number.heading.info.:toc)...
2ac40 20 20 20 20 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 ............................""))
2ac60 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 65 6e 74 72 79 0a .....................(toc-entry.
2ac80 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 5b 25 .....................(format."[%
2aca0 73 25 73 5d 28 23 25 73 29 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](#%s)"......................
2acc0 20 20 20 20 20 20 20 20 74 6f 64 6f 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ........todo-str................
2ace0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 ..............(org-export-data-w
2ad00 69 74 68 2d 62 61 63 6b 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ith-backend.....................
2ad20 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 61 6c 74 2d 74 69 ..........(org-export-get-alt-ti
2ad40 74 6c 65 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tle.heading.info)...............
2ad60 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 74 6f 63 2d ................(org-export-toc-
2ad80 65 6e 74 72 79 2d 62 61 63 6b 65 6e 64 20 27 68 75 67 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 entry-backend.'hugo)............
2ada0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 ...................info)........
2adc0 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-
2ade0 2d 67 65 74 2d 61 6e 63 68 6f 72 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 -get-anchor.heading.info))).....
2ae00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 67 73 20 28 61 6e 64 20 28 70 6c 69 73 ................(tags.(and.(plis
2ae20 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 t-get.info.:with-tags)..........
2ae40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 65 71 20 27 ......................(not.(eq.'
2ae60 6e 6f 74 2d 69 6e 2d 74 6f 63 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 not-in-toc.(plist-get.info.:with
2ae80 2d 74 61 67 73 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 -tags)))........................
2aea0 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 61 67 73 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d ........(let.((tags.(org-export-
2aec0 67 65 74 2d 74 61 67 73 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 get-tags.heading.info)))........
2aee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 74 ..........................(and.t
2af00 61 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 20 20 ags.............................
2af20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3a 25 73 3a 22 0a 20 20 20 20 20 20 20 ..........(format.":%s:"........
2af40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2af60 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 20 74 61 67 .......(mapconcat.#'identity.tag
2af80 73 20 22 3a 22 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 s.":")))))))................;;.(
2afa0 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 42 47 5d message."[ox-hugo.build-toc.DBG]
2afc0 20 6c 65 76 65 6c 3a 25 64 2c 20 6e 75 6d 62 65 72 3a 25 73 22 20 6c 65 76 65 6c 20 6e 75 6d 62 .level:%d,.number:%s".level.numb
2afe0 65 72 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 er)................;;.(message."
2b000 5b 6f 78 2d 68 75 67 6f 20 62 75 69 6c 64 2d 74 6f 63 20 44 42 47 5d 20 69 6e 64 65 6e 74 61 74 [ox-hugo.build-toc.DBG].indentat
2b020 69 6f 6e 3a 20 25 53 22 20 69 6e 64 65 6e 74 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 ion:.%S".indentation)...........
2b040 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 69 6c 64 .....;;.(message."[ox-hugo.build
2b060 2d 74 6f 63 20 44 42 47 5d 20 74 6f 64 6f 3a 20 25 73 20 7c 20 25 73 22 20 74 6f 64 6f 20 74 6f -toc.DBG].todo:.%s.|.%s".todo.to
2b080 64 6f 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 69 do-str)................(concat.i
2b0a0 6e 64 65 6e 74 61 74 69 6f 6e 20 22 2d 20 22 20 6e 75 6d 62 65 72 20 74 6f 63 2d 65 6e 74 72 79 ndentation."-.".number.toc-entry
2b0c0 20 74 61 67 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d .tags)))............(org-export-
2b0e0 63 6f 6c 6c 65 63 74 2d 68 65 61 64 6c 69 6e 65 73 20 69 6e 66 6f 20 6e 20 73 63 6f 70 65 29 0a collect-headlines.info.n.scope).
2b100 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 29 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........."\n"))...............
2b120 20 20 20 20 20 20 20 20 3b 4e 65 77 6c 69 6e 65 20 62 65 74 77 65 65 6e 20 54 4f 43 20 69 74 65 ........;Newline.between.TOC.ite
2b140 6d 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 62 6c 61 6e 6b 20 6c 69 6e 65 ms..........;;.Remove.blank.line
2b160 73 20 66 72 6f 6d 20 69 6e 2d 62 65 74 77 65 65 6e 20 54 4f 43 20 69 74 65 6d 73 2c 20 77 68 69 s.from.in-between.TOC.items,.whi
2b180 63 68 20 63 61 6e 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 67 65 74 20 69 6e 74 72 6f 64 75 63 65 ch.can..........;;.get.introduce
2b1a0 64 20 77 68 65 6e 20 75 73 69 6e 67 20 74 68 65 20 22 55 4e 4e 55 4d 42 45 52 45 44 3a 20 74 22 d.when.using.the."UNNUMBERED:.t"
2b1c0 20 68 65 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 6f 70 65 72 74 79 2e 0a 20 .heading..........;;.property...
2b1e0 20 20 20 20 20 20 20 20 28 74 6f 63 2d 69 74 65 6d 73 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e ........(toc-items.(org-string-n
2b200 77 2d 70 0a 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 w-p......................(replac
2b220 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 6e 5c 5c 7b 32 2c 5c 5c 7d 22 20 e-regexp-in-string."\n\\{2,\\}".
2b240 22 5c 6e 22 20 74 6f 63 2d 69 74 65 6d 73 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 "\n".toc-items)))).....;;.(messa
2b260 67 65 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 74 6f 63 2d ge."[ox-hugo.build-toc.DBG].toc-
2b280 69 74 65 6d 73 3a 25 73 22 20 74 6f 63 2d 69 74 65 6d 73 29 0a 20 20 20 20 28 77 68 65 6e 20 74 items:%s".toc-items).....(when.t
2b2a0 6f 63 2d 69 74 65 6d 73 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 6f 63 2d 63 6c 61 73 73 65 oc-items.......(let.((toc-classe
2b2c0 73 20 27 28 22 74 6f 63 22 20 22 6f 78 2d 68 75 67 6f 2d 74 6f 63 22 29 29 0a 20 20 20 20 20 20 s.'("toc"."ox-hugo-toc")).......
2b2e0 20 20 20 20 20 20 3b 3b 20 60 68 61 73 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 27 20 69 ......;;.`has-section-numbers'.i
2b300 73 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 73 65 63 74 69 6f 6e 20 6e 75 6d 62 65 72 73 20 61 72 65 s.non-nil.if.section.numbers.are
2b320 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 70 72 65 73 65 6e 74 20 66 6f 72 20 65 76 65 6e .............;;.present.for.even
2b340 20 6f 6e 65 20 68 65 61 64 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 68 61 73 2d 73 .one.heading..............(has-s
2b360 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 ection-numbers.(string-match-p."
2b380 5e 5c 5c 73 2d 2a 5c 5c 2d 5c 5c 73 2d 3c 73 70 61 6e 20 63 6c 61 73 73 3d 5c 22 73 65 63 74 69 ^\\s-*\\-\\s-<span.class=\"secti
2b3a0 6f 6e 5c 5c 2d 6e 75 6d 5c 22 22 20 74 6f 63 2d 69 74 65 6d 73 29 29 29 0a 20 20 20 20 20 20 20 on\\-num\"".toc-items)))........
2b3c0 20 28 77 68 65 6e 20 68 61 73 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 0a 20 20 20 20 20 .(when.has-section-numbers......
2b3e0 20 20 20 20 20 28 70 75 73 68 20 22 68 61 73 2d 73 65 63 74 69 6f 6e 2d 6e 75 6d 62 65 72 73 22 .....(push."has-section-numbers"
2b400 20 74 6f 63 2d 63 6c 61 73 73 65 73 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6c 6f 63 .toc-classes)).........(when.loc
2b420 61 6c 0a 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 22 6c 6f 63 61 6c 22 20 74 6f 63 2d 63 al...........(push."local".toc-c
2b440 6c 61 73 73 65 73 29 29 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 66 6f 72 6d 61 74 lasses)).........(concat.(format
2b460 20 22 3c 64 69 76 20 63 6c 61 73 73 3d 5c 22 25 73 5c 22 3e 5c 6e 22 20 28 73 74 72 69 6e 67 2d ."<div.class=\"%s\">\n".(string-
2b480 6a 6f 69 6e 20 28 72 65 76 65 72 73 65 20 74 6f 63 2d 63 6c 61 73 73 65 73 29 20 22 20 22 29 29 join.(reverse.toc-classes)."."))
2b4a0 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 6f 72 67 2d 68 75 .................(unless.(org-hu
2b4c0 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 67 6f 2d go--plist-get-true-p.info.:hugo-
2b4e0 67 6f 6c 64 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 64 69 goldmark)..................."<di
2b500 76 3e 3c 2f 64 69 76 3e 5c 6e 22 29 20 3b 54 68 69 73 20 69 73 20 61 20 6e 61 73 74 79 20 77 6f v></div>\n").;This.is.a.nasty.wo
2b520 72 6b 61 72 6f 75 6e 64 20 74 69 6c 6c 20 48 75 67 6f 2f 42 6c 61 63 6b 66 72 69 64 61 79 20 73 rkaround.till.Hugo/Blackfriday.s
2b540 75 70 70 6f 72 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 63 2d 68 65 61 64 69 upport.................toc-headi
2b560 6e 67 20 20 20 20 3b 77 72 61 70 70 69 6e 67 20 4d 61 72 6b 64 6f 77 6e 20 69 6e 20 48 54 4d 4c ng....;wrapping.Markdown.in.HTML
2b580 20 64 69 76 27 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 0a 20 20 20 .div's.................."\n"....
2b5a0 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 63 2d 69 74 65 6d 73 20 3b 68 74 74 70 73 3a 2f 2f .............toc-items.;https://
2b5c0 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 69 github.com/kaushalmodi/ox-hugo/i
2b5e0 73 73 75 65 73 2f 39 33 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 5c 6e 22 0a ssues/93................."\n\n".
2b600 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 22 0a 20 20 20 20 20 ................"</div>\n"......
2b620 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 70 65 63 69 61 6c 20 63 6f 6d 6d 65 6e 74 20 74 68 ...........;;.Special.comment.th
2b640 61 74 20 63 61 6e 20 62 65 20 75 73 65 20 74 6f 20 66 69 6c 74 65 72 20 6f 75 74 20 74 68 65 20 at.can.be.use.to.filter.out.the.
2b660 54 4f 43 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 72 6f 6d 20 2e 53 75 6d TOC.................;;.from..Sum
2b680 6d 61 72 79 20 69 6e 20 48 75 67 6f 20 74 65 6d 70 6c 61 74 65 73 2e 0a 20 20 20 20 20 20 20 20 mary.in.Hugo.templates..........
2b6a0 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 3b 3b 20 20 20 ........;;.................;;...
2b6c0 20 20 7b 7b 20 24 73 75 6d 6d 61 72 79 5f 73 70 6c 69 74 73 20 3a 3d 20 73 70 6c 69 74 20 2e 53 ..{{.$summary_splits.:=.split..S
2b6e0 75 6d 6d 61 72 79 20 22 3c 21 2d 2d 65 6e 64 74 6f 63 2d 2d 3e 22 20 7d 7d 0a 20 20 20 20 20 20 ummary."<!--endtoc-->".}}.......
2b700 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 7b 7b 20 69 66 20 65 71 20 28 6c 65 6e 20 24 ..........;;.....{{.if.eq.(len.$
2b720 73 75 6d 6d 61 72 79 5f 73 70 6c 69 74 73 29 20 32 20 7d 7d 0a 20 20 20 20 20 20 20 20 20 20 20 summary_splits).2.}}............
2b740 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 49 66 20 74 68 61 74 20 65 6e 64 .....;;.........<!--.If.that.end
2b760 74 6f 63 20 73 70 65 63 69 61 6c 20 63 6f 6d 6d 65 6e 74 20 69 73 20 70 72 65 73 65 6e 74 2c 20 toc.special.comment.is.present,.
2b780 6f 75 74 70 75 74 20 6f 6e 6c 79 20 74 68 65 20 70 61 72 74 20 61 66 74 65 72 20 74 68 61 74 20 output.only.the.part.after.that.
2b7a0 63 6f 6d 6d 65 6e 74 20 61 73 20 53 75 6d 6d 61 72 79 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 comment.as.Summary..-->.........
2b7c0 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 7b 7b 20 69 6e 64 65 78 20 24 73 75 6d ........;;.........{{.index.$sum
2b7e0 6d 61 72 79 5f 73 70 6c 69 74 73 20 31 20 7c 20 73 61 66 65 48 54 4d 4c 20 7d 7d 0a 20 20 20 20 mary_splits.1.|.safeHTML.}}.....
2b800 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 20 20 7b 7b 20 65 6c 73 65 20 7d 7d 0a 20 20 ............;;.....{{.else.}}...
2b820 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 20 50 72 ..............;;.........<!--.Pr
2b840 69 6e 74 20 74 68 65 20 77 68 6f 6c 65 20 53 75 6d 6d 61 72 79 20 69 66 20 65 6e 64 74 6f 63 20 int.the.whole.Summary.if.endtoc.
2b860 73 70 65 63 69 61 6c 20 63 6f 6d 6d 65 6e 74 20 69 73 20 6e 6f 74 20 66 6f 75 6e 64 2e 20 2d 2d special.comment.is.not.found..--
2b880 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 7b 20 >.................;;.........{{.
2b8a0 2e 53 75 6d 6d 61 72 79 20 7d 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 .Summary.}}.................;;..
2b8c0 20 20 20 7b 7b 20 65 6e 64 20 7d 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 21 ...{{.end.}}................."<!
2b8e0 2d 2d 65 6e 64 74 6f 63 2d 2d 3e 5c 6e 22 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 45 73 63 61 70 65 --endtoc-->\n")))))..;;;;.Escape
2b900 20 48 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d .Hugo.shortcode.(defun.org-hugo-
2b920 2d 65 73 63 61 70 65 2d 68 75 67 6f 2d 73 68 6f 72 74 63 6f 64 65 20 28 63 6f 64 65 20 6c 61 6e -escape-hugo-shortcode.(code.lan
2b940 67 29 0a 20 20 22 45 73 63 61 70 65 20 48 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 73 20 69 66 20 g)..."Escape.Hugo.shortcodes.if.
2b960 70 72 65 73 65 6e 74 20 69 6e 20 43 4f 44 45 20 73 74 72 69 6e 67 2e 0a 0a 54 68 65 20 65 73 63 present.in.CODE.string...The.esc
2b980 61 70 69 6e 67 20 69 73 20 65 6e 61 62 6c 65 64 20 6f 6e 6c 79 20 69 66 20 4c 41 4e 47 20 69 73 aping.is.enabled.only.if.LANG.is
2b9a0 20 5c 22 6d 64 5c 22 2c 20 5c 22 6f 72 67 5c 22 2c 0a 5c 22 67 6f 2d 68 74 6d 6c 2d 74 65 6d 70 .\"md\",.\"org\",.\"go-html-temp
2b9c0 6c 61 74 65 5c 22 20 6f 72 20 5c 22 65 6d 61 63 73 2d 6c 69 73 70 5c 22 2e 0a 0a 20 2d 20 53 68 late\".or.\"emacs-lisp\"....-.Sh
2b9e0 6f 72 74 63 6f 64 65 20 77 69 74 68 20 4d 61 72 6b 64 6f 77 6e 20 20 20 20 3a 20 7b 7b 25 20 66 ortcode.with.Markdown....:.{{%.f
2ba00 6f 6f 20 25 7d 7d 20 2d 3e 20 7b 7b 25 2f 2a 20 66 6f 6f 20 2a 2f 25 7d 7d 0a 0a 20 2d 20 53 68 oo.%}}.->.{{%/*.foo.*/%}}...-.Sh
2ba20 6f 72 74 63 6f 64 65 20 77 69 74 68 6f 75 74 20 4d 61 72 6b 64 6f 77 6e 20 3a 20 7b 7b 3c 20 66 ortcode.without.Markdown.:.{{<.f
2ba40 6f 6f 20 3e 7d 7d 20 2d 3e 20 7b 7b 3c 2f 2a 20 66 6f 6f 20 2a 2f 3e 7d 7d 0a 0a 52 65 74 75 72 oo.>}}.->.{{</*.foo.*/>}}..Retur
2ba60 6e 20 74 68 65 20 65 73 63 61 70 65 64 2f 75 6e 65 73 63 61 70 65 64 20 73 74 72 69 6e 67 2e 22 n.the.escaped/unescaped.string."
2ba80 0a 20 20 28 69 66 20 28 6d 65 6d 62 65 72 20 6c 61 6e 67 20 27 28 22 6d 64 22 20 22 6f 72 67 22 ...(if.(member.lang.'("md"."org"
2baa0 20 22 67 6f 2d 68 74 6d 6c 2d 74 65 6d 70 6c 61 74 65 22 20 22 65 6d 61 63 73 2d 6c 69 73 70 22 ."go-html-template"."emacs-lisp"
2bac0 29 29 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 )).......(replace-regexp-in-stri
2bae0 6e 67 0a 20 20 20 20 20 20 20 22 5c 5c 28 7b 7b 3c 5c 5c 29 5c 5c 28 5b 5e 7d 5d 5b 5e 7d 5d 2a ng........"\\({{<\\)\\([^}][^}]*
2bb00 5c 5c 29 5c 5c 28 3e 7d 7d 5c 5c 29 22 20 22 5c 5c 31 2f 2a 5c 5c 32 2a 2f 5c 5c 33 22 0a 20 20 \\)\\(>}}\\)"."\\1/*\\2*/\\3"...
2bb20 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 20 .....(replace-regexp-in-string..
2bb40 20 20 20 20 20 20 20 22 5c 5c 28 7b 7b 25 5c 5c 29 5c 5c 28 5b 5e 7d 5d 5b 5e 7d 5d 2a 5c 5c 29 ......."\\({{%\\)\\([^}][^}]*\\)
2bb60 5c 5c 28 25 7d 7d 5c 5c 29 22 20 22 5c 5c 31 2f 2a 5c 5c 32 2a 2f 5c 5c 33 22 20 63 6f 64 65 29 \\(%}}\\)"."\\1/*\\2*/\\3".code)
2bb80 29 0a 20 20 20 20 63 6f 64 65 29 29 0a 0a 3b 3b 3b 3b 20 48 75 67 6f 20 56 65 72 73 69 6f 6e 0a ).....code))..;;;;.Hugo.Version.
2bba0 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 68 75 67 6f 2d 76 65 72 73 69 6f 6e 20 28 29 (defun.org-hugo--hugo-version.()
2bbc0 0a 20 20 22 52 65 74 75 72 6e 20 68 75 67 6f 20 76 65 72 73 69 6f 6e 2e 0a 0a 49 66 20 68 75 67 ..."Return.hugo.version...If.hug
2bbe0 6f 20 69 73 20 66 6f 75 6e 64 20 69 6e 20 50 41 54 48 2c 20 72 65 74 75 72 6e 20 28 4c 4f 4e 47 o.is.found.in.PATH,.return.(LONG
2bc00 20 2e 20 53 48 4f 52 54 29 2e 0a 0a 4c 4f 4e 47 20 69 73 20 74 68 65 20 65 78 61 63 74 20 73 74 ...SHORT)...LONG.is.the.exact.st
2bc20 72 69 6e 67 20 72 65 74 75 72 6e 65 64 20 62 79 20 5c 22 68 75 67 6f 20 76 65 72 73 69 6f 6e 5c ring.returned.by.\"hugo.version\
2bc40 22 2e 0a 0a 53 48 4f 52 54 20 69 73 20 74 68 65 20 73 68 6f 72 74 20 76 65 72 73 69 6f 6e 20 6f "...SHORT.is.the.short.version.o
2bc60 66 20 61 62 6f 76 65 2e 0a 45 78 61 6d 70 6c 65 73 3a 20 5c 22 30 2e 33 31 2e 31 5c 22 2c 20 5c f.above..Examples:.\"0.31.1\",.\
2bc80 22 30 2e 33 31 2e 39 39 5c 22 20 28 66 6f 72 20 5c 22 30 2e 33 32 2d 44 45 56 5c 22 20 76 65 72 "0.31.99\".(for.\"0.32-DEV\".ver
2bca0 73 69 6f 6e 29 2e 0a 0a 49 66 20 68 75 67 6f 20 69 73 20 6e 6f 74 20 66 6f 75 6e 64 2c 20 72 65 sion)...If.hugo.is.not.found,.re
2bcc0 74 75 72 6e 20 6e 69 6c 2e 22 0a 20 20 28 77 68 65 6e 20 28 65 78 65 63 75 74 61 62 6c 65 2d 66 turn.nil."...(when.(executable-f
2bce0 69 6e 64 20 22 68 75 67 6f 22 29 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 6c 6f 6e 67 2d 76 65 72 ind."hugo").....(let*.((long-ver
2bd00 20 28 6f 72 67 2d 74 72 69 6d 20 28 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64 2d 74 6f 2d 73 74 72 .(org-trim.(shell-command-to-str
2bd20 69 6e 67 20 22 68 75 67 6f 20 76 65 72 73 69 6f 6e 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 ing."hugo.version")))...........
2bd40 20 28 73 68 6f 72 74 2d 76 65 72 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 .(short-ver.(replace-regexp-in-s
2bd60 74 72 69 6e 67 20 22 2e 2a 20 76 5c 5c 28 5b 5e 20 5d 2b 5c 5c 29 20 2e 2a 22 20 22 5c 5c 31 22 tring.".*.v\\([^.]+\\)..*"."\\1"
2bd80 20 6c 6f 6e 67 2d 76 65 72 29 29 29 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 .long-ver))).......(when.(string
2bda0 2d 6d 61 74 63 68 20 22 2d 44 45 56 2d 2e 2a 22 20 73 68 6f 72 74 2d 76 65 72 29 0a 20 20 20 20 -match."-DEV-.*".short-ver).....
2bdc0 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 22 2d 44 45 56 2d 2a 22 20 69 6e 20 76 65 72 73 69 ....;;.Replace."-DEV-*".in.versi
2bde0 6f 6e 20 73 74 72 69 6e 67 20 77 69 74 68 20 22 2d 42 45 54 41 22 20 62 65 63 61 75 73 65 0a 20 on.string.with."-BETA".because..
2be00 20 20 20 20 20 20 20 3b 3b 20 60 76 65 72 73 69 6f 6e 2d 74 6f 2d 6c 69 73 74 27 20 64 6f 65 73 .......;;.`version-to-list'.does
2be20 20 6e 6f 74 20 75 6e 64 65 72 73 74 61 6e 64 20 22 2d 44 45 56 22 2e 0a 20 20 20 20 20 20 20 20 .not.understand."-DEV"..........
2be40 28 73 65 74 71 20 73 68 6f 72 74 2d 76 65 72 20 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 22 (setq.short-ver.(replace-match."
2be60 2d 42 45 54 41 22 20 6e 69 6c 20 6e 69 6c 20 73 68 6f 72 74 2d 76 65 72 29 29 0a 20 20 20 20 20 -BETA".nil.nil.short-ver))......
2be80 20 20 20 3b 3b 20 42 65 6c 6f 77 2c 20 63 6f 6e 76 65 72 74 20 22 30 2e 33 32 2d 44 45 56 22 20 ...;;.Below,.convert."0.32-DEV".
2bea0 2d 3e 20 22 30 2e 33 31 2e 39 39 22 20 28 65 78 61 6d 70 6c 65 29 20 73 6f 20 74 68 61 74 0a 20 ->."0.31.99".(example).so.that..
2bec0 20 20 20 20 20 20 20 3b 3b 20 76 65 72 73 69 6f 6e 20 73 74 72 69 6e 67 73 20 63 61 6e 20 62 65 .......;;.version.strings.can.be
2bee0 20 63 6f 6d 70 61 72 65 64 20 77 69 74 68 20 66 75 6e 63 74 69 6f 6e 73 20 6c 69 6b 65 0a 20 20 .compared.with.functions.like...
2bf00 20 20 20 20 20 20 3b 3b 20 60 76 65 72 73 69 6f 6e 3c 27 2e 0a 20 20 20 20 20 20 20 20 28 6c 65 ......;;.`version<'..........(le
2bf20 74 2a 20 28 28 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 20 28 76 65 72 73 69 6f 6e 2d 74 6f 2d t*.((short-ver-list.(version-to-
2bf40 6c 69 73 74 20 73 68 6f 72 74 2d 76 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 list.short-ver))................
2bf60 28 6d 61 6a 6f 72 2d 76 65 72 20 28 6e 74 68 20 30 20 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 (major-ver.(nth.0.short-ver-list
2bf80 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 69 6e 6f 72 2d 76 65 72 20 28 6e 74 ))................(minor-ver.(nt
2bfa0 68 20 31 20 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 h.1.short-ver-list))............
2bfc0 20 20 20 20 28 6d 69 63 72 6f 2d 76 65 72 20 28 6e 74 68 20 32 20 73 68 6f 72 74 2d 76 65 72 2d ....(micro-ver.(nth.2.short-ver-
2bfe0 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6d 69 63 72 6f 2d 76 65 72 20 77 list)))...........;;.micro-ver.w
2c000 69 6c 6c 20 62 65 20 2d 32 20 66 6f 72 20 22 2d 62 65 74 61 22 20 28 44 45 56 29 20 76 65 72 73 ill.be.-2.for."-beta".(DEV).vers
2c020 69 6f 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 69 63 72 6f 2d 76 65 72 20 ions............(setq.micro-ver.
2c040 39 39 29 20 20 3b 41 73 73 75 6d 69 6e 67 20 74 68 61 74 20 74 68 65 20 72 65 61 6c 20 6d 69 63 99)..;Assuming.that.the.real.mic
2c060 72 6f 2d 76 65 72 20 77 69 6c 6c 20 6e 65 76 65 72 20 62 65 63 6f 6d 65 20 39 39 0a 20 20 20 20 ro-ver.will.never.become.99.....
2c080 20 20 20 20 20 20 28 69 66 20 28 3d 20 30 20 6d 69 6e 6f 72 2d 76 65 72 29 20 20 3b 45 78 61 6d ......(if.(=.0.minor-ver)..;Exam
2c0a0 70 6c 65 3a 20 22 31 2e 30 2d 44 45 56 22 20 2d 3e 20 28 31 20 30 20 39 39 29 20 2d 3e 20 28 30 ple:."1.0-DEV".->.(1.0.99).->.(0
2c0c0 20 39 39 20 39 39 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 .99.99)...............(progn....
2c0e0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d 69 6e 6f 72 2d 76 65 72 20 39 39 29 .............(setq.minor-ver.99)
2c100 20 3b 41 73 73 75 6d 69 6e 67 20 74 68 61 74 20 74 68 65 20 6d 61 78 20 6d 69 6e 6f 72 20 76 65 .;Assuming.that.the.max.minor.ve
2c120 72 73 69 6f 6e 20 69 73 20 39 39 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 rsion.is.99.................(set
2c140 71 20 6d 61 6a 6f 72 2d 76 65 72 20 28 31 2d 20 6d 61 6a 6f 72 2d 76 65 72 29 29 29 20 3b 41 73 q.major-ver.(1-.major-ver))).;As
2c160 73 75 6d 69 6e 67 20 74 68 61 74 20 6d 61 6a 6f 72 2d 76 65 72 20 69 73 20 6e 6f 74 20 30 20 74 suming.that.major-ver.is.not.0.t
2c180 6f 20 62 65 67 69 6e 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6d o.begin.with.............(setq.m
2c1a0 69 6e 6f 72 2d 76 65 72 20 28 31 2d 20 6d 69 6e 6f 72 2d 76 65 72 29 29 29 20 3b 45 78 61 6d 70 inor-ver.(1-.minor-ver))).;Examp
2c1c0 6c 65 3a 20 22 30 2e 33 32 2d 44 45 56 22 20 2d 3e 20 28 30 20 33 32 20 39 39 29 20 2d 3e 20 28 le:."0.32-DEV".->.(0.32.99).->.(
2c1e0 30 20 33 31 20 39 39 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 68 6f 72 74 2d 76 0.31.99)...........(setq.short-v
2c200 65 72 2d 6c 69 73 74 20 28 6c 69 73 74 20 6d 61 6a 6f 72 2d 76 65 72 20 6d 69 6e 6f 72 2d 76 65 er-list.(list.major-ver.minor-ve
2c220 72 20 6d 69 63 72 6f 2d 76 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 68 r.micro-ver))...........(setq.sh
2c240 6f 72 74 2d 76 65 72 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 6e 75 6d 62 65 72 2d 74 6f 2d 73 ort-ver.(mapconcat.#'number-to-s
2c260 74 72 69 6e 67 20 73 68 6f 72 74 2d 76 65 72 2d 6c 69 73 74 20 22 2e 22 29 29 29 29 0a 20 20 20 tring.short-ver-list."."))))....
2c280 20 20 20 28 63 6f 6e 73 20 6c 6f 6e 67 2d 76 65 72 20 73 68 6f 72 74 2d 76 65 72 29 29 29 29 0a ...(cons.long-ver.short-ver)))).
2c2a0 0a 3b 3b 3b 3b 20 52 65 73 6f 75 72 63 65 73 20 41 6c 69 73 74 20 4d 65 72 67 69 6e 67 0a 28 64 .;;;;.Resources.Alist.Merging.(d
2c2c0 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 72 65 73 6f 75 72 63 65 73 2d 61 6c 69 efun.org-hugo--get-resources-ali
2c2e0 73 74 20 28 72 65 73 6f 75 72 63 65 73 29 0a 20 20 22 47 65 6e 65 72 61 74 65 20 61 20 6d 65 72 st.(resources)..."Generate.a.mer
2c300 67 65 64 20 52 45 53 4f 55 52 43 45 53 20 61 6c 69 73 74 2e 0a 0a 41 6c 6c 20 70 61 72 61 6d 65 ged.RESOURCES.alist...All.parame
2c320 74 65 72 73 20 66 6f 72 20 74 68 65 20 73 61 6d 65 20 5c 22 73 72 63 5c 22 20 61 72 65 20 6d 65 ters.for.the.same.\"src\".are.me
2c340 72 67 65 64 20 74 6f 67 65 74 68 65 72 20 69 6e 20 74 68 65 0a 73 61 6d 65 20 4c 69 73 70 20 66 rged.together.in.the.same.Lisp.f
2c360 6f 72 6d 2e 20 20 50 61 72 61 6d 65 74 65 72 73 20 74 68 61 74 20 61 72 65 20 6e 6f 6e 65 20 6f orm...Parameters.that.are.none.o
2c380 66 20 5c 22 73 72 63 5c 22 2c 20 5c 22 74 69 74 6c 65 5c 22 0a 6f 72 20 5c 22 6e 61 6d 65 5c 22 f.\"src\",.\"title\".or.\"name\"
2c3a0 20 61 72 65 20 70 61 63 6b 65 64 20 69 6e 74 6f 20 61 6e 20 61 6c 69 73 74 20 77 69 74 68 20 60 .are.packed.into.an.alist.with.`
2c3c0 63 61 72 27 20 61 73 20 5c 22 70 61 72 61 6d 73 5c 22 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 car'.as.\"params\"."...;;.(messa
2c3e0 67 65 20 22 5b 72 65 73 6f 75 72 63 65 73 20 49 4e 20 44 42 47 5d 3a 20 25 53 22 20 72 65 73 6f ge."[resources.IN.DBG]:.%S".reso
2c400 75 72 63 65 73 29 0a 20 20 28 77 68 65 6e 20 72 65 73 6f 75 72 63 65 73 0a 20 20 20 20 28 6c 65 urces)...(when.resources.....(le
2c420 74 20 28 73 72 63 31 20 61 6c 6c 2d 73 72 63 20 73 72 63 2d 63 6f 6e 73 20 73 72 63 2d 61 6c 72 t.(src1.all-src.src-cons.src-alr
2c440 65 61 64 79 2d 65 78 69 73 74 73 29 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 72 65 73 20 eady-exists).......(dolist.(res.
2c460 72 65 73 6f 75 72 63 65 73 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 resources).........;;.(message."
2c480 72 65 73 3a 20 25 53 22 20 72 65 73 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6b 65 79 res:.%S".res).........(let.((key
2c4a0 20 28 63 61 72 20 72 65 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 .(car.res)))...........(cond....
2c4c0 20 20 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 6b 65 79 20 27 73 72 63 29 0a 20 20 20 20 20 20 ........((equal.key.'src).......
2c4e0 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6e 75 6c 6c 20 73 72 63 31 29 0a 20 20 20 20 20 20 ......(unless.(null.src1).......
2c500 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 31 20 28 6e 72 65 76 65 72 73 65 20 73 72 63 ........(setq.src1.(nreverse.src
2c520 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 73 72 63 2d 61 6c 72 65 61 64 1))...............(if.src-alread
2c540 79 2d 65 78 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 63 y-exists...................(setc
2c560 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 72 63 31 29 dr.src-already-exists.(cdr.src1)
2c580 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 73 72 63 31 20 61 6c 6c ).................(push.src1.all
2c5a0 2d 73 72 63 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 2d 63 6f -src))).............(setq.src-co
2c5c0 6e 73 20 72 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 2d 61 6c ns.res).............(setq.src-al
2c5e0 72 65 61 64 79 2d 65 78 69 73 74 73 20 28 61 73 73 6f 63 20 73 72 63 2d 63 6f 6e 73 20 61 6c 6c ready-exists.(assoc.src-cons.all
2c600 2d 73 72 63 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 -src)).............;;.(message."
2c620 25 53 20 65 78 69 73 74 73 3f 20 25 53 22 20 28 63 64 72 20 73 72 63 2d 63 6f 6e 73 29 20 73 72 %S.exists?.%S".(cdr.src-cons).sr
2c640 63 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 c-already-exists).............(s
2c660 65 74 71 20 73 72 63 31 20 28 6f 72 20 28 6e 72 65 76 65 72 73 65 20 73 72 63 2d 61 6c 72 65 61 etq.src1.(or.(nreverse.src-alrea
2c680 64 79 2d 65 78 69 73 74 73 29 20 28 6c 69 73 74 20 72 65 73 29 29 29 0a 20 20 20 20 20 20 20 20 dy-exists).(list.res))).........
2c6a0 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 73 72 63 31 20 74 65 6d 70 3a 20 25 53 22 20 ....;;.(message."src1.temp:.%S".
2c6c0 73 72 63 31 29 0a 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 28 src1).............)............(
2c6e0 28 6d 65 6d 62 65 72 20 6b 65 79 20 27 28 74 69 74 6c 65 20 6e 61 6d 65 29 29 0a 20 20 20 20 20 (member.key.'(title.name))......
2c700 20 20 20 20 20 20 20 28 70 75 73 68 20 72 65 73 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 20 20 .......(push.res.src1)).........
2c720 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 20 20 20 20 20 ...(t...........................
2c740 20 20 3b 52 65 73 6f 75 72 63 65 20 50 61 72 61 6d 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 ..;Resource.Params.............(
2c760 6c 65 74 2a 20 28 28 70 61 72 61 6d 73 2d 63 6f 6e 73 20 28 61 73 73 6f 63 20 27 70 61 72 61 6d let*.((params-cons.(assoc.'param
2c780 73 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 72 s.src1))....................(par
2c7a0 61 6d 73 20 28 63 64 72 20 70 61 72 61 6d 73 2d 63 6f 6e 73 29 29 29 0a 20 20 20 20 20 20 20 20 ams.(cdr.params-cons))).........
2c7c0 20 20 20 20 20 20 28 69 66 20 70 61 72 61 6d 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......(if.params................
2c7e0 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b ...(progn.....................;;
2c800 20 28 6d 65 73 73 61 67 65 20 22 70 61 72 61 6d 73 20 31 3a 20 25 53 22 20 70 61 72 61 6d 73 29 .(message."params.1:.%S".params)
2c820 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 72 65 73 20 70 .....................(push.res.p
2c840 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 28 73 65 74 71 arams).....................(setq
2c860 20 70 61 72 61 6d 73 20 28 6e 72 65 76 65 72 73 65 20 70 61 72 61 6d 73 29 29 0a 20 20 20 20 20 .params.(nreverse.params))......
2c880 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 70 61 72 61 ...............;;.(message."para
2c8a0 6d 73 20 32 3a 20 25 53 22 20 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ms.2:.%S".params)...............
2c8c0 20 20 20 20 20 20 28 73 65 74 63 64 72 20 70 61 72 61 6d 73 2d 63 6f 6e 73 20 70 61 72 61 6d 73 ......(setcdr.params-cons.params
2c8e0 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 70 61 72 61 6d 73 20 )).................(setq.params.
2c900 28 6c 69 73 74 20 72 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 (list.res)).................(pus
2c920 68 20 60 28 70 61 72 61 6d 73 20 2e 20 2c 70 61 72 61 6d 73 29 20 73 72 63 31 29 29 0a 20 20 20 h.`(params...,params).src1))....
2c940 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 31 20 74 65 6d ...........;;.(message."src1.tem
2c960 70 20 32 3a 20 25 53 22 20 73 72 63 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 p.2:.%S".src1)...............(se
2c980 74 63 64 72 20 28 61 73 73 6f 63 20 27 70 61 72 61 6d 73 20 73 72 63 31 29 20 70 61 72 61 6d 73 tcdr.(assoc.'params.src1).params
2c9a0 29 29 29 29 29 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 31 20 28 6e 72 65 76 65 72 73 )))))).......(setq.src1.(nrevers
2c9c0 65 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 73 72 63 31 e.src1)).......;;.(message."src1
2c9e0 3a 20 25 53 22 20 73 72 63 31 29 0a 20 20 20 20 20 20 28 69 66 20 73 72 63 2d 61 6c 72 65 61 64 :.%S".src1).......(if.src-alread
2ca00 79 2d 65 78 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 63 64 72 20 73 72 63 2d 61 y-exists...........(setcdr.src-a
2ca20 6c 72 65 61 64 79 2d 65 78 69 73 74 73 20 28 63 64 72 20 73 72 63 31 29 29 0a 20 20 20 20 20 20 lready-exists.(cdr.src1)).......
2ca40 20 20 28 70 75 73 68 20 73 72 63 31 20 61 6c 6c 2d 73 72 63 29 29 0a 20 20 20 20 20 20 3b 3b 20 ..(push.src1.all-src)).......;;.
2ca60 52 65 74 61 69 6e 20 74 68 65 20 6f 72 64 65 72 20 6f 66 20 73 72 63 0a 20 20 20 20 20 20 28 73 Retain.the.order.of.src.......(s
2ca80 65 74 71 20 61 6c 6c 2d 73 72 63 20 28 6e 72 65 76 65 72 73 65 20 61 6c 6c 2d 73 72 63 29 29 0a etq.all-src.(nreverse.all-src)).
2caa0 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 61 6c 6c 2d 73 72 63 3a 20 25 53 22 20 ......;;.(message."all-src:.%S".
2cac0 61 6c 6c 2d 73 72 63 29 0a 20 20 20 20 20 20 61 6c 6c 2d 73 72 63 29 29 29 0a 0a 3b 3b 3b 3b 20 all-src).......all-src)))..;;;;.
2cae0 50 75 62 6c 69 63 61 74 69 6f 6e 20 44 69 72 65 63 74 6f 72 79 0a 28 64 65 66 75 6e 20 6f 72 67 Publication.Directory.(defun.org
2cb00 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 75 62 2d 64 69 72 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 -hugo--get-pub-dir.(info)..."Ret
2cb20 75 72 6e 20 74 68 65 20 70 6f 73 74 20 70 75 62 6c 69 63 61 74 69 6f 6e 20 64 69 72 65 63 74 6f urn.the.post.publication.directo
2cb40 72 79 20 70 61 74 68 2e 0a 0a 54 68 65 20 70 75 62 6c 69 63 61 74 69 6f 6e 20 64 69 72 65 63 74 ry.path...The.publication.direct
2cb60 6f 72 79 20 69 73 20 63 72 65 61 74 65 64 20 69 66 20 69 74 20 64 6f 65 73 20 6e 6f 74 20 65 78 ory.is.created.if.it.does.not.ex
2cb80 69 73 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 61 20 ist...INFO.is.a.plist.used.as.a.
2cba0 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 74 2a 20 communication.channel."...(let*.
2cbc0 28 28 62 61 73 65 2d 64 69 72 20 28 69 66 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a ((base-dir.(if.(plist-get.info.:
2cbe0 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)..................
2cc00 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 20 28 70 ......(file-name-as-directory.(p
2cc20 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 29 0a 20 list-get.info.:hugo-base-dir))..
2cc40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 ....................(user-error.
2cc60 22 49 74 20 69 73 20 6d 61 6e 64 61 74 6f 72 79 20 74 6f 20 73 65 74 20 74 68 65 20 48 55 47 4f "It.is.mandatory.to.set.the.HUGO
2cc80 5f 42 41 53 45 5f 44 49 52 20 70 72 6f 70 65 72 74 79 20 6f 72 20 74 68 65 20 60 6f 72 67 2d 68 _BASE_DIR.property.or.the.`org-h
2cca0 75 67 6f 2d 62 61 73 65 2d 64 69 72 27 20 6c 6f 63 61 6c 20 76 61 72 69 61 62 6c 65 22 29 29 29 ugo-base-dir'.local.variable")))
2ccc0 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 2d 64 69 72 20 22 63 6f 6e 74 65 6e 74 2f ..........(content-dir."content/
2cce0 22 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 28 6f 72 67 2d 68 ")..........(section-path.(org-h
2cd00 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 29 29 0a 20 20 20 ugo--get-section-path.info))....
2cd20 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 75 6e 64 6c 65 2d ......(bundle-dir.(let.((bundle-
2cd40 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 69 6e 20 74 68 65 path.(or.;Hugo.bundle.set.in.the
2cd60 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 70 72 65 63 65 64 .post.subtree.gets.higher.preced
2cd80 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 20 20 20 20 20 20 ence............................
2cda0 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 6e 74 72 79 2d 67 ..............(org-hugo--entry-g
2cdc0 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 5f 42 55 4e 44 4c et-concat.nil."EXPORT_HUGO_BUNDL
2cde0 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 20 20 20 20 20 20 E"."/").........................
2ce00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f .................(plist-get.info
2ce20 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 20 6d 61 69 6e 6c .:hugo-bundle)))).;This.is.mainl
2ce40 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 0a 20 20 20 20 20 y.to.support.per-file.flow......
2ce60 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 6c 65 2d 70 61 74 ..................(if.bundle-pat
2ce80 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 28 66 69 h............................(fi
2cea0 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 65 2d 70 61 74 68 le-name-as-directory.bundle-path
2cec0 29 0a 20 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 29 ).........................."")))
2cee0 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 64 69 72 20 28 63 ..........(pub-dir.(let.((dir.(c
2cf00 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 20 73 65 63 74 69 oncat.base-dir.content-dir.secti
2cf20 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 20 20 20 20 20 20 on-path.bundle-dir)))...........
2cf40 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 64 69 72 20 3a 70 ..........(make-directory.dir.:p
2cf60 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 6f 72 79 20 69 66 arents).;Create.the.directory.if
2cf80 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 20 20 20 20 20 20 .it.does.not.exist..............
2cfa0 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 75 65 6e 61 6d 65 .......dir))).....(file-truename
2cfc0 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 70 75 62 6c 69 73 .pub-dir)))..;;;;.Get.the.publis
2cfe0 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 74 0a 28 64 65 66 h.date.for.the.current.post.(def
2d000 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 6f 20 66 6d 74 29 un.org-hugo--get-date.(info.fmt)
2d020 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 70 75 62 6c 69 73 ..."Return.current.post's.publis
2d040 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 61 74 65 20 69 73 h.date.as.a.string...The.date.is
2d060 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 6e 63 65 3a 0a 0a .derived.with.this.precedence:..
2d080 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 79 20 66 72 6f 6d 1..`:logbook-date'.property.from
2d0a0 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 61 6d 70 20 69 66 .INFO..2..`CLOSED'.time.stamp.if
2d0c0 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 62 74 72 65 65 20 .the.point.is.in.an.Org.subtree.
2d0e0 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 72 74 79 20 73 65 with.the....`CLOSED'.property.se
2d100 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 61 74 69 63 61 6c t.(usually.generated.automatical
2d120 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 64 69 6e 67 27 73 ly.when....switching.a.heading's
2d140 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 33 2e 20 60 45 58 .TODO.state.to.\"DONE\")..3..`EX
2d160 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 72 65 6e 74 20 70 PORT_DATE'.property.in.current.p
2d180 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 74 20 69 6e 20 74 ost.subtree..4..Date.if.set.in.t
2d1a0 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 65 79 77 6f 72 64 he.Org.file's.\"#+date\".keyword
2d1c0 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 64 20 75 73 69 6e ..This.date.is....formatted.usin
2d1e0 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 4d 54 2e 0a 0a 49 g.the.time.format.string.FMT...I
2d200 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 20 72 65 74 75 72 f.none.of.the.above.apply,.retur
2d220 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 65 64 20 61 73 20 n.nil...INFO.is.a.plist.used.as.
2d240 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 6f 72 0a a.communication.channel."...(or.
2d260 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 6b 2d 64 61 74 65 ...(plist-get.info.:logbook-date
2d280 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 29 20 22 43 4c 4f )....(org-entry-get.(point)."CLO
2d2a0 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 20 20 20 20 28 6f SED")....(org-string-nw-p.....(o
2d2c0 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 69 6e 66 6f 20 3a rg-export-data.(plist-get.info.:
2d2e0 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 64 61 74 61 27 20 date).info)).;`org-export-data'.
2d300 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 2d 70 0a 20 20 20 required....(org-string-nw-p....
2d320 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 20 66 6d 74 29 29 .(org-export-get-date.info.fmt))
2d340 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 75 6e 20 6f 72 67 ))..;;;;.Format.Dates.(defun.org
2d360 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 63 33 33 33 39 20 -hugo--org-date-time-to-rfc3339.
2d380 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 74 20 44 41 54 45 (date-time.info)..."Convert.DATE
2d3a0 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 0a 44 41 54 45 2d -TIME.to.RFC.3339.format...DATE-
2d3c0 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 6f 72 6d 61 74 20 TIME.can.be.either.Emacs.format.
2d3e0 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 0a 76 61 6c 75 65 time.list.(example:.return.value
2d400 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 20 4f 72 67 20 64 .of.`current-time'),.or.an.Org.d
2d420 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 61 20 70 6c 69 73 ate/time.string...INFO.is.a.plis
2d440 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
2d460 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 66 20 28 73 74 72 l."...(let*.((date-time.(if.(str
2d480 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 20 20 20 20 20 20 ingp.date-time).................
2d4a0 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 6d 65 20 28 6f 72 ........(apply.#'encode-time.(or
2d4c0 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 69 6d 65 29 29 0a g-parse-time-string.date-time)).
2d4e0 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 2d 74 69 6d 65 29 ......................date-time)
2d500 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 66 6f 72 6d 61 74 )..........(date-nocolon.(format
2d520 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 20 20 20 20 20 20 -time-string....................
2d540 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 2d 64 61 74 65 2d .....(plist-get.info.:hugo-date-
2d560 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 20 20 20 20 format).........................
2d580 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 78 70 65 63 74 73 date-time))).....;;.Hugo.expects
2d5a0 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 72 6d 61 74 20 28 .the.date.stamp.in.this.format.(
2d5c0 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 2d 68 75 67 6f 2d RFC3339.--.See.....;;.`org-hugo-
2d5e0 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 69 66 20 74 68 65 -date-time-regexp'.).i.e..if.the
2d600 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 74 69 6d 65 2d 7a .date.contains.the.....;;.time-z
2d620 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 6f 20 73 65 70 61 one,.a.colon.is.required.to.sepa
2d640 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 6d 69 6e 75 74 65 rate.the.hours.and.....;;.minute
2d660 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 2e 20 20 32 30 31 s.in.the.time-zone.section...201
2d680 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 20 20 3b 3b 20 42 7-07-06T14:59:45-04:00......;;.B
2d6a0 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 63 65 68 6f 6c 64 ut.by.default.the."%z".placehold
2d6c0 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 3b 3b 20 60 66 6f er.for.time-zone.(see.....;;.`fo
2d6e0 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 73 20 74 68 65 20 rmat-time-string').produces.the.
2d700 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 22 0a 20 20 20 20 zone.time-string.as."-0400".....
2d720 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 29 2e 20 20 42 65 ;;.(Note.the.missing.colon)...Be
2d740 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 74 77 65 65 6e 0a low.simply.adds.a.colon.between.
2d760 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 61 74 20 65 78 61 ....;;."04".and."00".in.that.exa
2d780 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 74 65 2d 6e 6f 63 mple......(and.(stringp.date-noc
2d7a0 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 67 65 78 70 2d 69 olon)..........(replace-regexp-i
2d7c0 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 39 5d 5c 5c 7b 32 n-string..........."\\([0-9]\\{2
2d7e0 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 27 22 20 22 5c 5c \\}\\)\\([0-9]\\{2\\}\\)\\'"."\\
2d800 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 6c 6f 6e 29 29 29 1:\\2"...........date-nocolon)))
2d820 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 2d 64 61 74 65 20 )..(defun.org-hugo--format-date.
2d840 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 61 20 64 61 74 65 (date-key.info)..."Return.a.date
2d860 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 63 6f 6d 70 61 74 .string.formatted.in.Hugo-compat
2d880 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 74 68 65 20 6b 65 ible.format...DATE-KEY.is.the.ke
2d8a0 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 61 74 65 20 69 73 y.in.INFO.from.which.the.date.is
2d8c0 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 20 61 20 70 6c 69 .to.be.retrieved...INFO.is.a.pli
2d8e0 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
2d900 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 54 45 2d 4b 45 59 el...Possible.values.of.DATE-KEY
2d920 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 6f 64 27 2c 0a 60 .are.`:date',.`:hugo-lastmod',.`
2d940 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 68 75 67 6f 2d 65 :hugo-publishdate',.and.`:hugo-e
2d960 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 20 74 68 65 20 72 xpirydate'...Return.nil.if.the.r
2d980 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 20 6e 69 6c 20 6f etrieved.date.from.INFO.is.nil.o
2d9a0 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 72 6d 61 74 74 65 r.if.the.date.cannot.be.formatte
2d9c0 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 74 2e 22 0a 20 20 d.in.Hugo-compatible.format."...
2d9e0 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 74 20 69 6e 66 6f (let*.((date-fmt.(plist-get.info
2da00 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 20 20 20 20 28 64 .:hugo-date-format))..........(d
2da20 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 20 20 20 20 20 20 ate-raw.(cond...................
2da40 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 20 20 20 20 20 20 ..((equal.date-key.:date).......
2da60 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-
2da80 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 74 2d 67 65 74 20 hugo.date.DBG].1.%s".(plist-get.
2daa0 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 20 20 20 20 20 20 info.date-key)).................
2dac0 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 64 61 74 65 20 .....;;.(message."[ox-hugo.date.
2dae0 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 61 20 28 70 6c 69 DBG].2.%s".(org-export-data.(pli
2db00 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 29 29 0a 20 20 20 st-get.info.date-key).info))....
2db20 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
2db40 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 20 20 20 20 20 20 -date.info.date-fmt))...........
2db60 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 20 3a 68 75 67 6f ..........((equal.date-key.:hugo
2db80 2d 6c 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 -lastmod)......................(
2dba0 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 6b 2d 6c 61 73 74 or.(plist-get.info.:logbook-last
2dbc0 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 20 4c 4f 47 42 4f mod).;lastmod.derived.from.LOGBO
2dbe0 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 20 20 20 20 20 20 OK.gets.higher.precedence.......
2dc00 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 72 69 6e 67 2d 6e ...................(org-string-n
2dc20 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 65 79 29 29 29 29 w-p.(plist-get.info.date-key))))
2dc40 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 20 28 65 71 75 61 .....................((and.(equa
2dc60 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 74 65 29 0a 20 20 l.date-key.:hugo-publishdate)...
2dc80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6e 74 ........................(org-ent
2dca0 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 0a 20 20 20 ry-get.(point)."SCHEDULED"))....
2dcc0 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 68 65 20 64 61 74 ..................;;.Get.the.dat
2dce0 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 70 65 72 74 79 2e e.from.the."SCHEDULED".property.
2dd00 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 65 6e 74 72 79 ......................(org-entry
2dd20 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 0a 20 20 20 20 20 -get.(point)."SCHEDULED"))......
2dd40 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 20 20 20 3b 3a 68 ...............(t............;:h
2dd60 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 69 72 79 64 61 74 ugo-publishdate,.:hugo-expirydat
2dd80 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 67 2d 73 74 72 69 e......................(org-stri
2dda0 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 65 79 ng-nw-p.(plist-get.info.date-key
2ddc0 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 20 28 63 6f 6e 64 )))))..........(dt-rfc3339.(cond
2dde0 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 66 20 74 68 65 .......................;;.If.the
2de00 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 20 70 61 72 61 6d .date.set.for.the.DATE-KEY.param
2de20 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 20 20 20 20 3b 3b eter.is.......................;;
2de40 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 65 20 66 6f 72 6d .already.in.Hugo-compatible.form
2de60 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 20 20 20 20 20 20 at,.use.it......................
2de80 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 0a 20 20 20 20 20 ..((and.(stringp.date-raw)......
2dea0 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
2dec0 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 65 67 65 78 atch-p.org-hugo--date-time-regex
2dee0 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 20 20 20 20 20 20 p.date-raw))....................
2df00 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 20 20 20 20 20 20 ....date-raw)...................
2df20 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 68 65 72 20 73 74 ....;;.Else.if.it's.any.other.st
2df40 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 20 20 20 20 20 20 ring.(like......................
2df60 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 72 79 20 74 6f 20 .;;."<2018-01-23.Tue>"),.try.to.
2df80 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 20 20 20 20 20 20 parse.that.date.................
2dfa0 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 0a 20 20 20 20 20 .......((stringp.date-raw)......
2dfc0 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 6f 6e 2d 63 61 73 ..................(condition-cas
2dfe0 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 20 20 20 20 20 20 e.err...........................
2e000 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 74 6f 2d 72 66 63 .(org-hugo--org-date-time-to-rfc
2e020 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 20 20 20 20 20 20 3339.date-raw.info).............
2e040 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 20 20 20 20 20 20 .............(error.............
2e060 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 63 33 33 33 39 20 ..............;;.Set.dt-rfc3339.
2e080 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 20 20 20 20 20 20 to.nil.if.error.happens.........
2e0a0 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 78 61 6d 70 6c 65 ...................;;.An.example
2e0c0 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 2d 32 30 31 37 0a :.If.#+date.is.set.to.2012-2017.
2e0e0 20 20 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 6f 20 ..........................;;.to.
2e100 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 75 73 74 20 73 65 set.the.copyright.years,.just.se
2e120 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t.the...........................
2e140 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 74 68 72 6f 77 69 ;;.date.to.nil.instead.of.throwi
2e160 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 20 20 20 20 20 20 ng.an.error.....................
2e180 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 69 6d 65 2d 73 74 ......;;.like:.org-parse-time-st
2e1a0 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 20 20 20 20 20 20 ring:.Not.a.....................
2e1c0 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 20 73 74 72 69 6e ......;;.standard.Org.time.strin
2e1e0 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 20 20 20 20 20 20 g:.2012-2017....................
2e200 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 20 20 20 20 20 20 .......(message.................
2e220 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 67 6f 5d 20 44 61 ...........(format."[ox-hugo].Da
2e240 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 66 72 6f 6e 74 2d te.will.not.be.set.in.the.front-
2e260 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 20 20 20 20 20 20 matter:.%s".....................
2e280 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 29 29 0a 20 20 20 ...............(nth.1.err)))....
2e2a0 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 29 29 29 0a 20 20 .......................nil)))...
2e2c0 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 65 20 28 69 66 20 ....................;;.Else.(if.
2e2e0 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 2d 73 65 74 20 74 nil).and.user.want.to.auto-set.t
2e300 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 6c 61 73 74 he.......................;;.last
2e320 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 76 61 6c 75 65 20 mod.field..If.the.lastmod.value.
2e340 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 3b 20 64 65 72 69 is.......................;;.deri
2e360 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 74 68 65 0a 20 20 ved.from.LOGBOOK,.disable.the...
2e380 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 6f 2d 73 65 74 74 ....................;;.auto-sett
2e3a0 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 20 20 20 20 20 20 ing.of.lastmod..................
2e3c0 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 79 20 3a 68 75 67 ......((and.(equal.date-key.:hug
2e3e0 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 20 20 20 20 20 o-lastmod)......................
2e400 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 66 6f 20 3a 6c 6f .......(null.(plist-get.info.:lo
2e420 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 20 20 20 20 20 20 gbook-lastmod)).................
2e440 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 73 74 2d 67 65 74 ............(org-hugo--plist-get
2e460 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 74 2d 6c 61 73 74 -true-p.info.:hugo-auto-set-last
2e480 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 20 20 20 28 6c 65 mod))........................(le
2e4a0 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 74 2d 74 69 6d 65 t*.((curr-time.(org-current-time
2e4c0 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 ))..............................
2e4e0 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 72 67 2d 64 61 74 .(lastmod-str.(org-hugo--org-dat
2e500 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 65 20 69 6e 66 6f e-time-to-rfc3339.curr-time.info
2e520 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 3b 3b 20 )))..........................;;.
2e540 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 73 2d 6c 61 73 74 (message."[ox-hugo.suppress-last
2e560 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 63 6f 64 65 64 20 mod].current-time.=.%S.(decoded.
2e580 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 20 20 20 20 20 20 =.%S)"..........................
2e5a0 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 6f 64 65 2d 74 69 ;;..........curr-time.(decode-ti
2e5c0 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 20 20 20 20 20 20 me.curr-time))..................
2e5e0 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
2e600 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 72 20 3d 20 25 53 ppress-lastmod].lastmod-str.=.%S
2e620 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 3b 3b 20 20 20 "..........................;;...
2e640 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 20 20 20 20 20 20 .......lastmod-str.)............
2e660 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 72 67 2d 68 75 67 ..............(if.(=.0.0.org-hug
2e680 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 0a 20 20 20 20 20 o-suppress-lastmod-period)......
2e6a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 ........................(progn..
2e6c0 20 20 20 20 20 20 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 ..............................;;
2e6e0 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 73 2d 6c 61 73 .(message."[ox-hugo.suppress-las
2e700 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 20 20 20 20 20 20 tmod].not.suppressed")..........
2e720 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 6d 6f 64 2d 73 74 ......................lastmod-st
2e740 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 28 6c r)............................(l
2e760 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 6e 77 2d 70 20 28 et.((date-str.(org-string-nw-p.(
2e780 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 74 65 2d 66 6d 74 org-hugo--get-date.info.date-fmt
2e7a0 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 ))))............................
2e7c0 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 73 ..;;.(message."[ox-hugo.suppress
2e7e0 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 20 20 20 20 20 20 -lastmod].date-str.=.%S"........
2e800 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 20 ......................;;........
2e820 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 20 20 20 20 20 20 ..date-str).....................
2e840 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 20 20 20 20 20 20 .........(when.date-str.........
2e860 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 2a 20 28 28 64 .......................(let*.((d
2e880 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 69 6d 65 0a 20 20 ate-time.(apply.#'encode-time...
2e8a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2e8c0 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 61 72 20 28 6c ......................(mapcar.(l
2e8e0 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 20 20 20 20 20 20 ambda.(el).(or.el.0))...........
2e900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2e920 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 73 65 2d 74 69 6d ......................(parse-tim
2e940 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 20 20 20 20 20 20 e-string.date-str))))...........
2e960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 ............................;;.I
2e980 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 20 20 20 20 20 20 t's.safe.to.assume.that.........
2e9a0 20 20 20 20 20 20 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 ..............................;;
2e9c0 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 73 0a 20 20 20 20 .`current-time'.will.always.....
2e9e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ea00 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 20 20 20 20 20 20 ..;;.be.>=.the.post.date........
2ea20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ea40 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 20 20 20 20 20 20 (delta.(float-time..............
2ea60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2ea80 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 64 61 74 65 2d 74 .(time-subtract.curr-time.date-t
2eaa0 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 20 20 20 20 20 20 ime)))..........................
2eac0 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 69 6f 64 20 28 69 .............(suppress-period.(i
2eae0 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 2d 6c 61 73 74 6d f.(<.0.0.org-hugo-suppress-lastm
2eb00 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 20 20 20 od-period)......................
2eb20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2eb40 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 73 74 6d 6f 64 2d ......org-hugo-suppress-lastmod-
2eb60 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 20 20 20 20 20 20 period..........................
2eb80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2eba0 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 6f 64 2d 70 65 72 (-.org-hugo-suppress-lastmod-per
2ebc0 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 20 20 20 20 20 20 iod)))).........................
2ebe0 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 73 .........;;.(message."[ox-hugo.s
2ec00 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 20 3d 20 25 53 20 uppress-lastmod].date-time.=.%S.
2ec20 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 20 20 20 20 20 20 (decoded.=.%S)".................
2ec40 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 20 20 20 64 61 74 .................;;..........dat
2ec60 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 69 6d 65 29 29 0a e-time.(decode-time.date-time)).
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 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 73 2d .;;.(message."[ox-hugo.suppress-
2ecc0 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 29 0a 20 20 20 20 lastmod].delta.=.%S".delta).....
2ece0 20 20 20 20 20 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 .............................;;.
2ed00 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 73 2d 6c 61 73 74 (message."[ox-hugo.suppress-last
2ed20 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 0a 20 20 20 20 20 mod].suppress-period.=.%S"......
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 3b 3b 20 20 ............................;;..
2ed60 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 20 20 20 20 20 20 ........suppress-period)........
2ed80 20 20 20 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.
2eda0 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 0a 20 20 20 20 20 (>=.delta.suppress-period)......
2edc0 20 20 20 20 20 20 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 ..............................la
2ede0 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 20 20 20 20 20 20 stmod-str)))))))................
2ee00 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 67 2e 0a 20 20 20 .......;;.Else...do.nothing.....
2ee20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 ...................(t...........
2ee40 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 74 2d 72 66 63 33 .............nil)))).....dt-rfc3
2ee60 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 6d 61 74 74 65 72 339))..;;;;.Replace.Front-matter
2ee80 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 6c 61 63 65 2d 6b .Keys.(defun.org-hugo--replace-k
2eea0 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 65 74 75 72 6e 20 eys-maybe.(data.info)..."Return.
2eec0 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 64 2c 20 6d 61 79 DATA.with.its.keys.replaced,.may
2eee0 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 72 65 70 6c 61 63 be...The.keys.in.DATA.are.replac
2ef00 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 59 5f 52 45 50 4c ed.if.HUGO_FRONT_MATTER_KEY_REPL
2ef20 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 0a 54 68 65 20 72 ACE.is.set.appropriately...The.r
2ef40 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 20 23 2b 68 75 67 eplacement.syntax.is:......#+hug
2ef60 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 3a 20 6f 6c 64 6b o_front_matter_key_replace:.oldk
2ef80 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 73 70 65 63 69 61 ey>newkey..If.newkey.is.a.specia
2efa0 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 69 6c 6c 20 62 65 l.string.\"nil\",.oldkey.will.be
2efc0 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 74 74 65 72 2e 0a .removed.from.the.front-matter..
2efe0 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 6b 65 79 20 72 65 .You.can.also.do.multiple.key.re
2f000 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 6f 6e 74 5f 6d 61 placements:......#+hugo_front_ma
2f020 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 6e 65 77 6b 65 79 tter_key_replace:.oldkey1>newkey
2f040 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 78 61 6d 70 6c 65 1.oldkey2>newkey2..Above.example
2f060 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 47 4f 5f 46 52 4f s.are.using.the.keyword.HUGO_FRO
2f080 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 20 74 68 65 20 73 NT_MATTER_KEY_REPLACE,.but.the.s
2f0a0 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 67 20 69 74 73 20 ame.also.applies.when.using.its.
2f0c0 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 4f 52 54 5f 48 55 subtree.property.form.:EXPORT_HU
2f0e0 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 3a 2e 0a 0a 4e GO_FRONT_MATTER_KEY_REPLACE:...N
2f100 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 20 73 70 61 63 65 ote.that:..1..There.are.no.space
2f120 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 63 74 65 72 20 5c s.around.the.special.character.\
2f140 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 6f 20 6f 6e 6c 79 ">\"..2..Spaces.are.used.to.only
2f160 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 6d 65 6e 74 73 20 .separate.multiple.replacements.
2f180 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 20 65 78 61 6d 70 are.shown.in....the.second.examp
2f1a0 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 6e 74 73 20 61 72 le.above..3..The.replacements.ar
2f1c0 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 65 67 75 6c 61 72 e.literal...there.are.no.regular
2f1e0 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 0a 49 4e 46 4f 20 .expressions....involved...INFO.
2f200 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
2f220 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 6c 2d 73 74 72 20 on.channel."...(let*.((repl-str.
2f240 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 74 2d 6d 61 74 74 (plist-get.info.:hugo-front-matt
2f260 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 28 72 65 70 6c 2d er-key-replace))..........(repl-
2f280 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 20 72 65 70 6c 2d str.(when.(org-string-nw-p.repl-
2f2a0 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 28 6f 72 67 2d 74 str)......................(org-t
2f2c0 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 20 72 65 70 6c 2d rim.repl-str)))).....(when.repl-
2f2e0 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 2d 68 75 67 6f 20 str.......;;.(message."[ox-hugo.
2f300 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 65 70 6c 2d 73 74 replace-key.str.DBG].%S".repl-st
2f320 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 20 28 73 70 6c 69 r).......(let*.((repl-list.(spli
2f340 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 2d 73 74 72 27 20 t-string.repl-str)).;`repl-str'.
2f360 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 20 20 20 20 20 20 is.space-separated..............
2f380 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 20 20 20 20 20 20 (repl-alist.(let.(alist)........
2f3a0 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 72 65 70 ....................(dolist.(rep
2f3c0 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 20 20 20 20 20 20 l.repl-list)....................
2f3e0 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 6e 67 70 20 72 65 ..........(when.(and.(stringp.re
2f400 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 65 20 22 6f 6c 64 pl).;`repl'.would.look.like."old
2f420 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 20 20 20 20 20 20 key>newkey".....................
2f440 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 61 74 63 ....................(string-matc
2f460 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 20 20 20 20 20 20 h-p.">".repl))..................
2f480 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 20 28 73 70 6c 69 ..............(let*.((pair.(spli
2f4a0 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 20 20 20 20 20 20 t-string.repl.">")).............
2f4c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6b 65 79 2d 6f ..........................(key-o
2f4e0 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 6e 74 68 20 30 20 rig-str.(org-string-nw-p.(nth.0.
2f500 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 20 20 20 20 pair))).........................
2f520 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 72 20 28 6f 72 67 ..............(key-repl-str.(org
2f540 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 29 0a 20 20 20 20 -string-nw-p.(nth.1.pair))).....
2f560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f580 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 79 2d 6f 72 69 67 ..(repl-pair.(when.(and.key-orig
2f5a0 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............................
2f5c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f5e0 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 20 20 20 20 20 20 .key-repl-str)..................
2f600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f620 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 74 72 29 0a 20 20 ..(cons.(intern.key-orig-str)...
2f640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f660 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 74 65 72 6e 20 6b .......................(intern.k
2f680 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 20 20 20 20 20 20 ey-repl-str)))))................
2f6a0 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 70 6c 2d 70 61 69 ..................(when.repl-pai
2f6c0 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 r...............................
2f6e0 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 70 61 69 72 20 .....;;.(message."[ox-hugo.pair.
2f700 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 20 20 20 20 20 20 DBG].%S".pair)..................
2f720 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."[
2f740 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 20 72 65 70 6c 2d ox-hugo.repl-pair.DBG].%S".repl-
2f760 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 20 20 20 20 20 20 pair)...........................
2f780 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 72 .........;;.(message."[ox-hugo.r
2f7a0 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 20 72 65 70 6c 2d epl-pair.car.DBG].%S".(car.repl-
2f7c0 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 20 20 20 20 20 20 pair))..........................
2f7e0 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 20 ..........;;.(message."[ox-hugo.
2f800 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 72 20 72 65 70 6c repl-pair.cdr.DBG].%S".(cdr.repl
2f820 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 20 20 20 20 20 -pair)).........................
2f840 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 20 61 6c 69 73 74 ...........(push.repl-pair.alist
2f860 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )))))...........................
2f880 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 61 67 65 20 22 5b .alist))).........;;.(message."[
2f8a0 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 42 47 5d 20 25 53 ox-hugo.replace-key.list.DBG].%S
2f8c0 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 65 73 73 61 67 65 ".repl-list).........;;.(message
2f8e0 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 73 74 20 44 42 47 ."[ox-hugo.replace-key.alist.DBG
2f900 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 28 64 6f 6c 69 73 ].%S".repl-alist).........(dolis
2f920 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 20 20 20 20 28 6c t.(repl.repl-alist)...........(l
2f940 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 20 20 20 20 20 20 et.((key-orig.(car.repl)).......
2f960 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 65 70 6c 29 29 29 ..........(key-repl.(cdr.repl)))
2f980 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 6b 65 79 2d 63 65 .............(let.((found-key-ce
2f9a0 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 0a 20 20 20 20 20 ll.(assoc.key-orig.data)))......
2f9c0 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 65 6c 6c 0a 20 20 .........(when.found-key-cell...
2f9e0 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
2fa00 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 63 65 6c 6c 20 44 ugo.replace-key.found-key-cell.D
2fa20 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 20 20 20 20 20 20 BG].%S".found-key-cell).........
2fa40 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 72 65 ........;;.(message."[ox-hugo.re
2fa60 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 22 20 6b 65 79 2d place-key.key-orig.DBG].%S".key-
2fa80 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 6d 65 73 73 61 67 orig).................;;.(messag
2faa0 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 79 2d 72 65 70 6c e."[ox-hugo.replace-key.key-repl
2fac0 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 20 20 20 20 20 20 .DBG].%S".key-repl).............
2fae0 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 2d 72 65 70 6c 29 ....(if.(string=."nil".key-repl)
2fb00 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 74 74 69 6e 67 20 .....................;;.Setting.
2fb20 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 79 20 74 6f 20 6e value.of.a.front-matter.key.to.n
2fb40 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 20 20 3b 3b 20 63 il.will.....................;;.c
2fb60 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 64 20 64 75 72 69 ause.that.key.to.be.removed.duri
2fb80 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 20 20 20 20 20 3b ng.export......................;
2fba0 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 2d 6d 61 74 74 65 ;.See.`org-hugo--gen-front-matte
2fbc0 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 65 74 66 20 28 63 r'......................(setf.(c
2fbe0 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 20 20 20 20 20 20 dr.found-key-cell).nil).........
2fc00 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 2e 73 74 61 63 6b ..........;;.https://emacs.stack
2fc20 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 20 20 20 20 20 20 exchange.com/a/3398/115.........
2fc40 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 2d 6b 65 79 2d 63 ..........(setf.(car.found-key-c
2fc60 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 64 61 74 61 29 29 ell).key-repl)))))))).....data))
2fc80 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 6e 20 6f 72 67 2d ..;;;;.TODO.keywords.(defun.org-
2fca0 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 46 6f 72 6d 61 74 hugo--todo.(todo.info)..."Format
2fcc0 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 0a 54 68 69 73 20 .TODO.keywords.into.HTML...This.
2fce0 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 72 67 2d 68 74 6d function.is.almost.like.`org-htm
2fd00 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 20 5c 22 6f 72 67 l--todo'.except.that:.-.An.\"org
2fd20 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 64 65 64 20 74 6f -todo\".class.is.always.added.to
2fd40 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 68 75 67 6f 2d 2d .the.span.element..-.`org-hugo--
2fd60 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 27 replace-underscores-with-spaces'
2fd80 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 6c 65 2d 75 6e 64 .is.used.to.replace...double-und
2fda0 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 65 73 2e 0a 0a 49 erscores.in.TODO.with.spaces...I
2fdc0 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
2fde0 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 6f 64 6f 0a 20 20 cation.channel."...(when.todo...
2fe00 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 74 6f 64 6f 3a 20 ..;;.(message."[DBG.todo].todo:.
2fe20 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 22 5b 44 42 47 20 %S".todo).....;;.(message."[DBG.
2fe40 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 53 22 20 6f 72 67 todo].org-done-keywords:.%S".org
2fe60 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 73 73 61 67 65 20 -done-keywords).....;;.(message.
2fe80 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 6f 72 64 3f 20 25 "[DBG.todo].is.a.done.keyword?.%
2fea0 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 65 79 77 6f 72 64 S".(member.todo.org-done-keyword
2fec0 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 74 6f 64 6f 5d 20 s)).....;;.(message."[DBG.todo].
2fee0 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 3a 20 25 53 22 20 html-todo-kwd-class-prefix:.%S".
2ff00 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 2d 6b 77 64 2d 63 (plist-get.info.:html-todo-kwd-c
2ff20 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 22 3c 73 70 61 6e lass-prefix)).....(format."<span
2ff40 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 22 3e 25 73 3c 2f .class=\"org-todo.%s.%s%s\">%s</
2ff60 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 6d 62 65 72 20 74 span>".............(if.(member.t
2ff80 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 6e 65 22 20 22 74 odo.org-done-keywords)."done"."t
2ffa0 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 2d 73 74 72 69 6e odo").............(or.(org-strin
2ffc0 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 6d 6c 2d 74 6f 64 g-nw-p.(plist-get.info.:html-tod
2ffe0 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 20 20 20 20 20 20 o-kwd-class-prefix))."")........
30000 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 61 6d 65 20 74 6f .....(org-html-fix-class-name.to
30020 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 2d 72 65 70 6c 61 do).............(org-hugo--repla
30040 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 20 74 6f 64 6f 29 ce-underscores-with-spaces.todo)
30060 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 65 0a 28 64 65 66 )))..;;;;.Parse.draft.state.(def
30080 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 74 61 74 65 20 28 un.org-hugo--parse-draft-state.(
300a0 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 74 61 74 65 20 6f info)..."Parse.the.draft.state.o
300c0 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 74 2e 0a 0a 52 65 f.the.post.heading.at.point...Re
300e0 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 5c 22 20 73 74 72 turn.a.\"true\".or.\"false\".str
30100 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 72 74 20 66 6c 6f ing...For.per-subtree.export.flo
30120 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 66 72 6f 6d 20 74 w,.the.draft.state.parsed.from.t
30140 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 67 68 65 72 20 70 he.Org.TODO.state.has.a.higher.p
30160 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 66 20 48 55 47 4f recedence.than.the.value.of.HUGO
30180 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 49 4e 46 4f 20 69 _DRAFT.keyword/property...INFO.i
301a0 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
301c0 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 2d 6b 65 79 77 6f n.channel."...(let*.((todo-keywo
301e0 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 22 54 4f 44 4f 22 rd.(org-entry-get.(point)."TODO"
30200 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 20 20 20 20 20 20 ))..........(draft.(cond........
30220 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 65 79 77 6f 72 64 ..........((stringp.todo-keyword
30240 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 65 6d 62 65 72 20 )...................(if.(member.
30260 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 6f 72 64 73 29 0a todo-keyword.org-done-keywords).
30280 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 20 20 20 20 20 20 ......................nil.......
302a0 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 20 ..............(progn............
302c0 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 22 44 52 41 46 54 ...........(when.(string=."DRAFT
302e0 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 20 20 20 20 20 20 ".todo-keyword).................
30300 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 65 6e 74 72 79 2d ........(let.((title.(org-entry-
30320 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 74 20 74 69 74 6c get.(point)."ITEM"))).;Post.titl
30340 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 28 6d 65 73 e...........................(mes
30360 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 69 73 20 6d 61 72 sage."[ox-hugo].`%s'.post.is.mar
30380 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 20 20 20 20 20 20 ked.as.a.DRAFT".title)))........
303a0 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 20 20 20 20 20 20 ...............t))).............
303c0 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 20 6b 65 79 77 6f .....(;;.If.the.HUGO_DRAFT.keywo
303e0 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 20 20 20 20 20 20 rd/property.*is*.set,.but.......
30400 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 0a 20 20 20 20 20 ............;;.not.to.nil.......
30420 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 3a 68 75 .............(plist-get.info.:hu
30440 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 20 20 28 6c 65 74 go-draft)...................(let
30460 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 6e 74 2d 6d 61 74 *.((draft-1.(org-hugo--front-mat
30480 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 74 2d 67 65 74 20 ter-value-booleanize.(plist-get.
304a0 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 20 20 20 20 20 20 info.:hugo-draft))).............
304c0 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 20 28 73 74 72 69 .............(is-draft.(if.(stri
304e0 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 29 29 0a 20 20 20 ng=."true".draft-1).t.nil)))....
30500 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 64 72 61 66 74 0a .................(when.is-draft.
30520 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 2a 20 28 28 65 6e ......................(let*.((en
30540 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 29 0a 20 20 20 20 try.(org-element-at-point)).....
30560 20 20 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 73 75 62 .........................(is-sub
30580 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 20 3a 45 58 50 4f tree.(org-element-property.:EXPO
305a0 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 20 20 20 20 20 20 RT_FILE_NAME.entry))............
305c0 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 69 66 20 69 73 2d ..................(title.(if.is-
305e0 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 20 20 20 20 20 20 subtree.........................
30600 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 2d 67 65 74 20 28 ................(org-entry-get.(
30620 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 20 20 20 20 20 20 point)."ITEM")..................
30640 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 63 61 72 20 28 70 .....................(or.(car.(p
30660 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 4d 50 54 59 20 54 list-get.info.:title))."<EMPTY.T
30680 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 20 20 20 20 20 20 ITLE>"))))......................
306a0 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 60 25 73 27 20 70 6f 73 74 ...(message."[ox-hugo].`%s'.post
306c0 20 69 73 20 6d 61 72 6b 65 64 20 61 73 20 61 20 44 52 41 46 54 22 20 74 69 74 6c 65 29 29 29 0a .is.marked.as.a.DRAFT".title))).
306e0 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 66 74 29 29 0a 20 ....................is-draft))..
30700 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 72 20 6f 66 20 4f ................(t.;Neither.of.O
30720 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 46 54 20 6b 65 79 rg.TODO.state.and.HUGO_DRAFT.key
30740 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 20 20 20 20 20 20 word/property.are.set...........
30760 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 72 61 66 74 2d 62 ........nil)))..........(draft-b
30780 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 61 74 74 65 72 2d ool-str.(org-hugo--front-matter-
307a0 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 61 6d 65 20 64 72 value-booleanize.(symbol-name.dr
307c0 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 62 67 3a 20 64 72 aft)))).....;;.(message."dbg:.dr
307e0 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 20 48 55 47 4f 5f aft-state:.todo.keyword=%S.HUGO_
30800 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 20 20 20 20 20 20 DRAFT=%S.draft=%S".....;;.......
30820 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 20 69 6e 66 6f 20 ...todo-keyword.(plist-get.info.
30840 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 72 29 0a 20 20 20 :hugo-draft).draft-bool-str)....
30860 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 65 63 6b 20 69 66 .draft-bool-str))..;;;;.Check.if
30880 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 69 73 20 6e 65 65 .Pandoc.Citations.parsing.is.nee
308a0 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 63 2d 63 69 74 61 ded.(defun.org-hugo--pandoc-cita
308c0 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 52 65 74 75 72 6e tions-enabled-p.(info)..."Return
308e0 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 6e 20 70 61 72 73 .non-nil.if.Pandoc.Citation.pars
30900 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 20 70 6c 69 73 74 ing.is.enabled...INFO.is.a.plist
30920 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
30940 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 6f 6e 73 2d 65 6e ."...(let*.((pandoc-citations-en
30960 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 28 6f 72 67 2d 65 abled--prop-val...........(org-e
30980 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 50 41 4e 44 4f 43 ntry-get.nil."EXPORT_HUGO_PANDOC
309a0 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 72 61 6c 2d 6e 69 _CITATIONS".:inherit.:literal-ni
309c0 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 69 6f 6e 73 2d 65 l))..........(pandoc-citations-e
309e0 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 20 20 28 6f 72 67 nabled--plist-val...........(org
30a00 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
30a20 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 20 20 20 20 20 28 go-pandoc-citations))..........(
30a40 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 63 69 74 61 74 69 pandoc-enabled.(or.pandoc-citati
30a60 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...........
30a80 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 63 69 74 61 74 69 ...................pandoc-citati
30aa0 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 20 20 20 20 20 20 ons-enabled--plist-val))........
30ac0 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 67 2d 68 75 67 6f ..(pandoc-enabled-bool.(org-hugo
30ae0 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 65 6e 61 62 6c 65 --value-get-true-p.pandoc-enable
30b00 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 68 75 67 6f 20 44 d))).....;;.(message."[ox-hugo.D
30b20 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 64 2d 2d 70 72 6f BG.pandoc-citations-enabled--pro
30b40 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 73 2d 65 6e 61 62 p-val].%S".pandoc-citations-enab
30b60 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 73 61 67 65 20 22 led--prop-val).....;;.(message."
30b80 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 6f 6e 73 2d 65 6e [ox-hugo.DBG.pandoc-citations-en
30ba0 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 6f 63 2d 63 69 74 abled--plist-val].%S".pandoc-cit
30bc0 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 0a 20 20 20 20 3b ations-enabled--plist-val).....;
30be0 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 61 6e 64 6f 63 2d ;.(message."[ox-hugo.DBG.pandoc-
30c00 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 6e 61 62 6c 65 64 enabled-bool].%S".pandoc-enabled
30c20 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 62 6f 6f 6c 29 29 -bool).....pandoc-enabled-bool))
30c40 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 65 20 61 6e 64 20 ..;;;;.Get.a.property.value.and.
30c60 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 76 61 6c 75 65 0a concat.it.with.its.parent.value.
30c80 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 2d 63 6f 6e 63 61 (defun.org-hugo--entry-get-conca
30ca0 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 73 65 70 29 0a 20 t.(pom.property.&optional.sep)..
30cc0 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 72 74 79 20 76 61 ."Concatenate.an.Org.Property.va
30ce0 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 75 65 2e 0a 0a 47 lue.with.its.inherited.value...G
30d00 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 6e 74 72 79 20 6f et.value.of.PROPERTY.for.entry.o
30d20 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 65 72 0a 50 4f 4d r.content.at.point-or-marker.POM
30d40 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 20 74 68 65 20 73 ...If.a.parent.subtree.has.the.s
30d60 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 68 65 0a 63 75 72 ame.PROPERTY.set,.append.the.cur
30d80 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 74 2c 20 66 6f 6c rent.property.value.to.that,.fol
30da0 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 53 45 50 20 69 73 lowing.the.optional.SEP...SEP.is
30dc0 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 6f 72 20 73 74 72 .the.concatenation.separator.str
30de0 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 61 75 6c 74 73 20 ing...If.it.is.nil,.it.defaults.
30e00 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 74 65 72 6e 61 6c to.\"\"...This.function.internal
30e20 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 69 74 68 20 69 74 ly.calls.`org-entry-get'.with.it
30e40 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 6e 6f 6e 2d 6e 69 s.INHERIT.argument.set.to.non-ni
30e60 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 6d 65 6e 74 20 73 l.and.the.LITERAL-NIL.argument.s
30e80 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 79 20 69 73 20 70 et.to.nil...If.the.property.is.p
30ea0 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 72 6e 20 76 61 6c resent.but.empty,.the.return.val
30ec0 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 66 20 74 68 65 20 ue.is.the.empty.string...If.the.
30ee0 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 20 61 6c 6c 2c 20 property.is.not.present.at.all,.
30f00 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 74 68 65 72 20 63 nil.is.returned...In.any.other.c
30f20 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 20 73 74 72 69 6e ase,.return.the.value.as.a.strin
30f40 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 69 76 65 2e 22 0a g..Search.is.case-insensitive.".
30f60 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 20 20 20 20 20 20 ..(let.((sep.(or.sep."")).......
30f80 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 74 72 79 2d 67 65 ..(value-no-concat.(org-entry-ge
30fa0 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 0a 20 20 20 20 3b t.pom.property.:inherit))).....;
30fc0 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 20 63 6f 6e ;.(message."[ox-hugo.section.con
30fe0 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 25 53 22 20 76 61 cat.DBG].value-no-concat:.%S".va
31000 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 75 65 2d 6e 6f 2d lue-no-concat).....(if.value-no-
31020 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 76 61 6c 75 65 20 concat.........;;.Get.the.value.
31040 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 74 20 72 65 6c 61 of.PROPERTY.from.the.parent.rela
31060 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 20 70 6f 69 6e 74 tive.to.........;;.current.point
31080 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 65 2d 6e 6f 2d 69 ..........(let.((value-here-no-i
310a0 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 70 72 6f 70 65 72 nherit.(org-entry-get.pom.proper
310c0 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 6c 75 65 2d 70 61 ty.nil))...............(value-pa
310e0 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 0a 20 20 20 20 20 rent.(org-with-wide-buffer......
31100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f ........................(when.(o
31120 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 20 20 20 20 20 20 rg-up-heading-safe).............
31140 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 6e ...................(org-hugo--en
31160 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 79 20 73 65 70 29 try-get-concat.nil.property.sep)
31180 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 20 22 5b 6f 78 2d ))))...........;;.(message."[ox-
311a0 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 61 6c 75 65 2d 68 hugo.section.concat.DBG].value-h
311c0 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 68 65 72 65 2d 6e ere-no-inherit:.%S".value-here-n
311e0 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 65 73 73 61 67 65 o-inherit)...........;;.(message
31200 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
31220 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 65 6e 74 29 0a 20 alue-parent:.%S".value-parent)..
31240 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 2d 69 6e 68 65 72 .........(if.value-here-no-inher
31260 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 25 73 25 73 25 73 it...............(format."%s%s%s
31280 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 72 20 76 61 6c 75 ".......................(or.valu
312a0 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 20 20 20 20 20 20 e-parent."")....................
312c0 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 20 20 20 20 20 20 ...(if.value-parent.............
312e0 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 67 2d 73 74 72 69 ..............(if.(and.(org-stri
31300 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 20 20 20 20 20 20 ng-nw-p.sep)....................
31320 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 66 66 69 78 2d 70 ................(string-suffix-p
31340 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 20 20 20 20 20 20 .sep.value-parent)).............
31360 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 74 20 61 64 64 20 .................."".;Don't.add.
31380 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 27 20 61 6c 72 65 the.`sep'.if.`value-parent'.alre
313a0 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 20 20 20 20 20 20 ady.ends.with.that.`sep'........
313c0 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 20 20 20 20 20 20 .....................sep).......
313e0 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 20 20 20 20 20 20 .................."")...........
31400 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 74 29 0a 20 20 20 ............value-no-concat)....
31420 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 66 72 6f 6d 20 70 .........;;.Use.the.value.from.p
31440 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 65 72 74 79 20 69 arent.directly.if.the.property.i
31460 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 6e 20 74 68 65 20 s.not.............;;.set.in.the.
31480 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 20 20 20 76 61 6c current.subtree..............val
314a0 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 28 64 65 66 75 6e ue-parent)).......nil)))..(defun
314c0 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 68 20 28 69 6e 66 .org-hugo--get-section-path.(inf
314e0 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 69 6f 6e 20 70 61 o)..."Return.the.Hugo.section.pa
31500 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 69 76 65 20 74 6f th..This.is.the.path.relative.to
31520 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 63 74 6f 72 79 2e .the.Hugo.\"content\".directory.
31540 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 4f 4e 5f 46 52 41 ..If.the.EXPORT_HUGO_SECTION_FRA
31560 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 72 72 65 6e 74 20 G.keyword.is.set.in.the.current.
31580 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 6e 20 74 68 65 20 or.a.parent.subtree,.return.the.
315a0 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 4f 5f 53 45 43 54 concatenation.of.the.\"HUGO_SECT
315c0 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 20 5c 22 45 58 50 ION\".and.the.concatenated.\"EXP
315e0 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 6c 75 65 73 20 61 ORT_HUGO_SECTION_FRAG\".values.a
31600 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 65 20 5c 22 48 55 s.a.path...Else,.return.the.\"HU
31620 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 6e 63 74 69 6f 6e GO_SECTION\".path...The.function
31640 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 0a 49 4e 46 4f 20 .always.returns.a.string...INFO.
31660 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
31680 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 6f 2d 73 65 63 74 on.channel."...(let*.((hugo-sect
316a0 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 6c 20 22 45 58 50 ion-prop.(org-entry-get.nil."EXP
316c0 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 29 29 0a 20 20 20 ORT_HUGO_SECTION".:inherit))....
316e0 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 6c 69 73 74 2d 67 ......(hugo-section-kwd.(plist-g
31700 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 20 20 20 20 20 20 et.info.:hugo-section)).........
31720 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 6f 72 67 2d 65 6e .(hugo-section-frag-prop.(org-en
31740 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 45 43 54 49 4f 4e try-get.nil."EXPORT_HUGO_SECTION
31760 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 20 28 73 65 63 74 _FRAG".:inherit))..........(sect
31780 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 6e 2d 70 72 6f 70 ion-path-1.(or.hugo-section-prop
317a0 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 20 68 69 67 68 65 .;EXPORT_HUGO_SECTION.gets.highe
317c0 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 20 20 20 20 20 20 r.precedence....................
317e0 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 29 29 20 3b 54 68 ..........hugo-section-kwd)).;Th
31800 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 72 2d 66 69 6c 65 is.is.mainly.to.support.per-file
31820 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 68 29 0a 20 20 20 .flow..........section-path)....
31840 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 70 .;;.(message."[ox-hugo.section-p
31860 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 3a 20 25 53 22 20 ath.DBG].hugo-section-prop:.%S".
31880 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 28 6d 65 73 73 61 hugo-section-prop).....;;.(messa
318a0 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 44 42 47 5d 20 68 ge."[ox-hugo.section-path.DBG].h
318c0 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 73 65 63 74 69 6f ugo-section-kwd:.%S".hugo-sectio
318e0 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 78 2d 68 75 67 6f n-kwd).....;;.(message."[ox-hugo
31900 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 63 74 69 6f 6e 2d .section-path.DBG].hugo-section-
31920 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 6e 2d 66 72 61 67 frag-prop:.%S".hugo-section-frag
31940 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 78 2d 68 75 67 6f -prop).....;;.(message."[ox-hugo
31960 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 20 70 61 74 68 2d .section-path.DBG].section.path-
31980 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 20 28 75 6e 6c 65 1:.%S".section-path-1).....(unle
319a0 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 73 65 72 2d 65 72 ss.section-path-1.......(user-er
319c0 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 74 20 74 68 65 20 ror."It.is.mandatory.to.set.the.
319e0 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 20 20 20 28 77 68 HUGO_SECTION.property")).....(wh
31a00 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 65 63 74 69 6f 6e en.(org-string-nw-p.hugo-section
31a20 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 63 74 69 6f 6e 2d -frag-prop).......(setq.section-
31a40 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 20 28 66 69 6c 65 path-1.............(concat.(file
31a60 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 2d 70 61 74 68 2d -name-as-directory.section-path-
31a80 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 61 62 73 65 6e 74 1).;Add.trailing.slash.if.absent
31aa0 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 75 67 6f 2d 2d .....................(org-hugo--
31ac0 65 6e 74 72 79 2d 67 65 74 2d 63 6f 6e 63 61 74 20 6e 69 6c 20 22 45 58 50 4f 52 54 5f 48 55 47 entry-get-concat.nil."EXPORT_HUG
31ae0 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 20 20 28 73 65 74 O_SECTION_FRAG"."/")))).....(set
31b00 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 61 73 2d 64 69 72 q.section-path.(file-name-as-dir
31b20 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 20 20 3b 3b 20 28 ectory.section-path-1)).....;;.(
31b40 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 44 message."[ox-hugo.section-path.D
31b60 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 69 6f 6e 2d 70 61 BG].section.path:.%S".section-pa
31b80 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 3b 3b 20 47 65 74 th).....section-path))..;;;;.Get
31ba0 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 2d 67 65 74 2d 6c .Language.(defun.org-hugo--get-l
31bc0 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 61 6e 67 75 61 67 ang.(info)..."Return.the.languag
31be0 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 68 65 20 72 65 74 e.used.for.the.content...The.ret
31c00 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 61 74 20 63 61 6e urned.value.is.a.string.that.can
31c20 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 6c 70 68 61 62 65 .consist.of.only.English.alphabe
31c40 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 20 66 69 72 73 74 ts.and.an.underscore...The.first
31c60 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 6e 67 20 69 73 20 .2.characters.of.this.string.is.
31c80 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 4f 20 36 33 39 2d a.language.codes.as.per.ISO.639-
31ca0 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 6e 2e 77 69 6b 69 1.standard...See.https://en.wiki
31cc0 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 5f 36 33 39 2d 31 pedia.org/wiki/List_of_ISO_639-1
31ce0 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 73 65 64 20 61 73 _codes...INFO.is.a.plist.used.as
31d00 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
31d20 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 6c 61 6e 67 2d 69 t.((lang.(plist-get.info.:lang-i
31d40 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 67 0a 20 20 20 20 so-code))).....(unless.lang.....
31d60 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 6f 72 20 28 70 6c ..(setq.lang.............(or.(pl
31d80 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 0a 20 20 20 20 20 ist-get.info.:hugo-locale)......
31da0 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 67 6e 75 2e 6f 72 ...........;;.https://www.gnu.or
31dc0 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 68 74 6d 6c 5f 6e g/software/gettext/manual/html_n
31de0 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 69 61 62 6c 65 73 ode/Locale-Environment-Variables
31e00 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 65 6e 76 20 22 4c .html.................(getenv."L
31e20 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 28 67 65 74 65 6e ANGUAGE").................(geten
31e40 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 20 20 28 67 65 74 v."LC_ALL").................(get
31e60 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 28 73 74 72 69 6e env."LANG"))).......(when.(strin
31e80 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 67 0a 20 20 20 20 gp.lang).........(setq.lang.....
31ea0 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
31ec0 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 29 2e 2a 5c 5c 27 ing."\\`\\([a-z]+_[A-Z]+\\).*\\'
31ee0 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 71 20 6c 61 6e 67 "."\\1".lang))).......(setq.lang
31f00 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 20 20 20 20 20 28 .(org-string-nw-p.lang)).......(
31f20 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 61 67 65 20 22 5b when.lang.........;;.(message."[
31f40 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 6e 67 75 61 67 65 org-hugo--get-lang.DBG].language
31f60 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 2d 70 75 74 20 69 :.%s".lang).........(plist-put.i
31f80 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 0a 20 20 20 20 6c nfo.:lang-iso-code.lang))).....l
31fa0 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 69 73 20 43 4a 28 ang))..;;;;.Check.if.lang.is.CJ(
31fc0 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 6a 6b 2d 70 20 28 K).(defun.org-hugo--lang-cjk-p.(
31fe0 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 20 74 68 65 20 6c info)..."Return.non-nil.is.the.l
32000 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 6e 65 73 65 2e 0a anguage.is.Chinese.or.Japanese..
32020 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 67 65 20 68 61 73 .\(Check.for.Korean.language.has
32040 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 68 75 67 6f 27 0a .not.been.added.as.no.`ox-hugo'.
32060 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 29 0a 0a 49 4e 46 user.has.requested.for.it.)..INF
32080 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
320a0 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 20 28 6f tion.channel."...(let*.((lang.(o
320c0 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 20 20 20 20 20 20 rg-hugo--get-lang.info))........
320e0 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 28 73 74 72 69 6e ..(lang-2chars.(when.(and.(strin
32100 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 20 20 20 20 20 20 gp.lang)........................
32120 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 29 20 32 29 29 0a ..........(>=.(length.lang).2)).
32140 20 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 75 62 73 74 72 69 ........................(substri
32160 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 61 6e 67 2d 32 63 ng.lang.0.2)))).....(and.lang-2c
32180 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 2d 32 63 68 61 72 hars..........(member.lang-2char
321a0 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 48 22 2c 20 2e 2e s.'("zh"......;"zh",."zh_CH",...
321c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
321e0 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 46 6f 72 6d 61 74 "ja"))))).;"ja",.....;;;;.Format
32200 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 2d 68 75 67 6f 2d .tags.into.HTML.(defun.org-hugo-
32220 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 74 20 54 41 47 53 -tags.(tags.info)..."Format.TAGS
32240 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 74 20 63 6f 6e 74 .into.HTML..INFO.is.a.plist.cont
32260 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 69 73 20 66 75 6e aining.export.options...This.fun
32280 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 74 6f 20 60 6f 72 ction.is.almost.identical.to.`or
322a0 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 6c 27 20 65 78 63 g-html--tags'.from.`ox-html'.exc
322c0 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 20 69 73 20 61 6e ept.that.the.tag.separator.is.an
322e0 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 67 73 0a 20 20 20 .empty.string."...(when.tags....
32300 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 67 5c 22 3e 25 73 .(format."<span.class=\"tag\">%s
32320 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 6f 6e 63 61 74 0a </span>".............(mapconcat.
32340 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 0a 20 20 20 20 20 .............(lambda.(tag)......
32360 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 6c 61 73 73 3d 5c ..........(format."<span.class=\
32380 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 20 20 20 20 20 20 "%s\">%s</span>"................
323a0 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 20 69 6e 66 6f 20 ........(concat.(plist-get.info.
323c0 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 20 20 20 20 20 20 :html-tag-class-prefix).........
323e0 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 74 6d 6c .......................(org-html
32400 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 20 20 20 20 20 20 -fix-class-name.tag))...........
32420 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 20 20 20 20 20 20 .............tag))..............
32440 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 20 74 68 65 20 62 tags.""))))..;;;;.Check.if.the.b
32460 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 75 62 74 72 65 65 uffer.has.any.valid.post.subtree
32480 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 61 73 2d 76 61 6c .(defun.org-hugo--buffer-has-val
324a0 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 74 75 72 6e 20 6e id-post-subtree-p.()..."Return.n
324c0 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 62 75 66 66 65 72 on-nil.if.the.current.Org.buffer
324e0 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 73 74 20 73 75 62 .has.at.least.one.valid.post.sub
32500 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 75 62 74 72 65 65 tree...A.valid.Hugo.post.subtree
32520 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 3a 27 20 70 72 .has.the.`:EXPORT_FILE_NAME:'.pr
32540 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 73 74 72 69 6e 67 operty.set.to.a.non-empty.string
32560 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 0a 20 20 20 28 63 ."...(org-with-wide-buffer....(c
32580 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 65 6e 74 72 69 65 atch.'found......(org-map-entrie
325a0 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 27 66 6f 75 6e 64 s.......(lambda.().(throw.'found
325c0 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 6e 64 69 6e 67 20 .t)).;Return.quickly.on.finding.
325e0 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 4f 52 54 5f 46 49 the.first.match......."EXPORT_FI
32600 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 64 76 69 63 65 20 LE_NAME<>\"\""))))..;;;;.Advice.
32620 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 66 75 6e 20 6f 72 for.silencing.messages.(defun.or
32640 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 73 61 67 65 73 20 g-hugo--advice-silence-messages.
32660 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 64 76 69 63 65 20 (orig-fun.&rest.args)..."Advice.
32680 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 20 6d 65 73 73 61 function.that.silences.all.messa
326a0 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 74 68 65 20 4f 52 ges.in.ORIG-FUN..ARGS.are.the.OR
326c0 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 73 2e 22 0a 20 20 IG-FUN.function's.arguments."...
326e0 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 20 20 20 20 20 3b (let.((inhibit-message.t)......;
32700 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 20 45 63 68 6f 20 Don't.show.the.messages.in.Echo.
32720 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 6d 61 78 20 6e 69 area.........(message-log-max.ni
32740 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 61 67 65 73 20 69 l))...;Don't.show.the.messages.i
32760 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 20 20 28 61 70 70 n.the.*Messages*.buffer.....(app
32780 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 50 6c 61 69 6e 69 ly.orig-fun.args)))..;;;;.Plaini
327a0 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 66 79 20 66 75 6e fy.(mimick.the.Hugo.plainify.fun
327c0 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 61 69 6e 69 66 79 ction).(defun.org-hugo--plainify
327e0 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 72 6e 20 53 54 52 -string.(str.info)..."Return.STR
32800 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 2e 0a 0a 49 4e 46 .string.without.any.markup...INF
32820 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
32840 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 6e 20 65 6d 70 74 tion.channel...If.STR.is.an.empt
32860 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 6c 2e 0a 0a 54 68 y.string.or.nil,.return.nil...Th
32880 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 20 74 68 65 20 48 is.function.aims.to.mimick.the.H
328a0 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 74 74 70 73 3a 2f ugo.`plainify'.function:.https:/
328c0 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 69 66 79 2f 2e 20 /gohugo.io/functions/plainify/..
328e0 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 73 74 72 69 6e 67 .For.example,.if.STR.is.\"string
32900 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 68 65 20 72 65 74 .*with*.some./markup/\",.the.ret
32920 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 69 74 68 20 73 6f urned.string.is.\"string.with.so
32940 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 67 2d 6e 77 2d 70 me.markup\"."...(org-string-nw-p
32960 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 69 6e 67 0a 20 20 ....(replace-regexp-in-string...
32980 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 65 78 70 6f 72 74 .."</?[^>]+>"."".....(org-export
329a0 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 6d 6c 20 69 6e 66 -data-with-backend.str.'html.inf
329c0 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 6e 63 74 69 6f 6e o)))).....;;;.Transcode.Function
329e0 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 28 64 65 66 75 6e s..;;;;.Code.(<kdb>.tags).(defun
32a00 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 76 65 72 62 61 74 .org-hugo-kbd-tags-maybe.(verbat
32a20 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 20 74 65 78 74 20 im._contents.info)..."Wrap.text.
32a40 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 4d 4c 20 6b 62 64 in.VERBATIM.object.with.HTML.kbd
32a60 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 20 64 6f 6e 65 20 .tags..The.kdb.wrapping.is.done.
32a80 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 6b 62 64 27 20 69 if.`org-hugo-use-code-for-kbd'.i
32aa0 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 6c 2e 20 20 49 4e s.non-nil...CONTENTS.is.nil...IN
32ac0 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
32ae0 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 2d 68 75 67 6f 2d ation.channel."...(if.(org-hugo-
32b00 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 75 73 65 -plist-get-true-p.info.:hugo-use
32b20 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 61 74 20 22 3c 6b -code-for-kbd).......(format."<k
32b40 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 6f 64 65 2d 70 6c bd>%s</kbd>".(org-html-encode-pl
32b60 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 20 20 20 20 20 20 ain-text........................
32b80 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 ........(org-element-property.:v
32ba0 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 6d 64 2d 76 65 72 alue.verbatim))).....(org-md-ver
32bc0 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 0a 3b 3b 3b 3b 20 batim.verbatim.nil.nil)))..;;;;.
32be0 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 72 73 65 2d 6c 6f Drawer.(defun.org-hugo--parse-lo
32c00 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 65 61 64 69 6e 67 gbook-entry.(para.parent-heading
32c20 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 47 42 4f 4f 4b 20 -title.info)..."Parse.a.LOGBOOK.
32c40 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 6e 64 20 73 61 76 `paragraph'.element.PARA.and.sav
32c60 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 47 42 4f 4f 4b 20 e.data.to.INFO...If.the.LOGBOOK.
32c80 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 69 6e 67 2c 0a 50 drawer.is.under.a.sub-heading,.P
32ca0 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 65 20 74 68 61 74 ARENT-HEADING-TITLE.will.be.that
32cc0 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 74 69 74 6c 65 0a .heading's.\"plainified\".title.
32ce0 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 20 69 73 20 61 74 string...If.LOGBOOK.drawer.is.at
32d00 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 65 6e 74 0a 77 69 .the.top.level,.this.argument.wi
32d20 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 74 20 75 73 65 64 ll.be.nil...INFO.is.a.plist.used
32d40 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 0a 54 68 .as.a.communication.channel...Th
32d60 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 70 72 6f 70 65 72 is.function.updates.these.proper
32d80 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 74 65 27 2c 0a 60 ties.in.INFO:.`:logbook-date',.`
32da0 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 6f 6b 27 2e 22 0a :logbook-lastmod',.`:logbook'.".
32dc0 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 6f 67 62 6f 6f 6b ..;;.(pp.para)...(let*.((logbook
32de0 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 72 61 77 2d 73 74 -entry.())..........(para-raw-st
32e00 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 66 6f 29 29 0a 20 r.(org-export-data.para.info))..
32e20 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 6f 6b 20 65 6e 74 ........;;.Parse.the.logbook.ent
32e40 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 74 69 6d 65 73 74 ry's.timestamp...........(timest
32e60 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 2d 6d 61 70 20 70 amp...........(org-element-map.p
32e80 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 20 28 6c 61 6d 62 ara.'timestamp.............(lamb
32ea0 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 70 70 20 74 73 29 da.(ts)...............;;.(pp.ts)
32ec0 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 72 61 77 2d 73 74 ...............(let*.((ts-raw-st
32ee0 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 61 77 2d 76 61 6c r.(org-element-property.:raw-val
32f00 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 20 20 20 28 74 73 ue.ts))......................(ts
32f20 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 69 6d 65 2d 74 6f -str.(org-hugo--org-date-time-to
32f40 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 29 0a 20 20 20 20 -rfc3339.ts-raw-str.info))).....
32f60 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
32f80 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 66 6d 74 64 3a 20 o.logbook.DBG].ts:.%s,.ts.fmtd:.
32fa0 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 20 20 20 20 20 20 %s".................;;..........
32fc0 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 20 20 20 20 20 20 ts-raw-str.ts-str)..............
32fe0 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 2d 73 74 72 29 20 ...(push.`(timestamp...,ts-str).
33000 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 20 20 74 logbook-entry).................t
33020 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 20 28 6f 72 67 2d s-str)).;lambda.return.for.(org-
33040 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 70 0a 20 20 20 20 element-map.para.'timestamp.....
33060 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 29 0a 20 20 20 20 ........nil.:first-match))).....
33080 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 67 62 6f 6f 6b 20 ;;.(message."\n[ox-hugo.logbook.
330a0 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 73 22 20 70 61 72 DBG].paragraph.raw.str.:.%s".par
330c0 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 20 22 5b 6f 78 2d a-raw-str).....;;.(message."[ox-
330e0 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 70 20 3a 20 25 73 hugo.logbook.DBG].timestamp.:.%s
33100 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 69 6d 65 73 74 61 ".timestamp).....(unless.timesta
33120 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 69 6d 65 20 73 74 mp.......(user-error."No.time.st
33140 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 42 4f 4f 4b 20 64 amp.is.recorded.in.the.LOGBOOK.d
33160 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 62 65 6c 73 20 28 rawer.entry"))......(cl-labels.(
33180 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 2d 71 75 6f 74 65 (get-match-string-and-trim-quote
331a0 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 72 29 0a 20 20 20 s..................(num.str)....
331c0 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 6e 77 2d 70 0a 20 ..............(org-string-nw-p..
331e0 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 67 65 78 70 .................(replace-regexp
33200 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 3b 3b -in-string....................;;
33220 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 54 4f 44 4f 20 73 .Handle.corner.case:.If.a.TODO.s
33240 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 0a 20 20 20 20 20 tate.has."__".in.them,.the......
33260 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 20 77 69 6c 6c ..............;;.underscore.will
33280 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 5c 22 2e 0a 20 20 .be.escaped..Remove.that."\"....
332a0 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 0a 20 20 20 20 20 ................."\\\\".""......
332c0 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 64 61 74 61 20 3b ..............(save-match-data.;
332e0 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 72 69 6d 27 20 63 Required.because.`string-trim'.c
33300 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 20 20 20 20 20 20 hanges.match.data...............
33320 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 20 20 20 20 20 20 .......(string-trim.............
33340 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 67 2d 6e 6f 2d 70 ..........(or.(match-string-no-p
33360 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 20 20 20 20 20 20 roperties.num.str)."")..........
33380 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 29 0a 0a 20 20 20 ............."\""."\""))))).....
333a0 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 71 20 27 73 74 61 .............;;.Parse.(assq.'sta
333c0 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 20 20 20 20 20 20 te.org-log-note-headings).......
333e0 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 6e 67 65 2d 6d 61 ..........(parse-state-change-ma
33400 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 20 20 20 20 20 20 ybe..................().........
33420 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 67 65 2d 72 65 20 .........(let.((state-change-re.
33440 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 5c 29 2a 5c 5c 73 "^State\\s-+\\(?1:\".+?\"\\)*\\s
33460 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 29 2a 22 29 29 0a -+from\\s-+\\(?2:\".+?\"\\)*")).
33480 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
334a0 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 61 2d 72 61 77 2d -match.state-change-re.para-raw-
334c0 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 28 6c 65 74 20 28 str)......................(let.(
334e0 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 67 2d 61 6e 64 2d (to-state.(get-match-string-and-
33500 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 29 29 0a 20 20 20 trim-quotes.1.para-raw-str))....
33520 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 66 72 6f 6d ........................;;.(from
33540 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 6e 64 2d 74 72 69 -state.(get-match-string-and-tri
33560 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 3b 46 6f 72 20 64 m-quotes.2.para-raw-str)).;For.d
33580 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 20 20 20 20 20 20 ebug............................
335a0 29 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 6d 65 73 )........................;;.(mes
335c0 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 5d 20 73 74 61 74 sage."[ox-hugo.logbook.DBG].stat
335e0 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 20 25 73 22 0a 20 e.change.:.from.%s.to.%s.@.%s"..
33600 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 20 ......................;;........
33620 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 73 74 61 6d 70 29 ..from-state.to-state.timestamp)
33640 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 68 65 6e 20 74 6f ........................(when.to
33660 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 20 20 20 20 20 20 -state..........................
33680 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 74 65 29 20 6c 6f (push.`(to_state...,to-state).lo
336a0 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 20 20 20 20 20 gbook-entry)....................
336c0 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 6c 6f 67 62 ......;;.(message."[ox-hugo.logb
336e0 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 3a 20 25 53 22 20 ook.DBG].org-done-keywords:.%S".
33700 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 20 20 20 20 20 20 org-done-keywords)..............
33720 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 6c 6c 20 70 61 72 ............(when.(and.(null.par
33740 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 64 61 74 65 73 20 ent-heading-title).;Parse.dates.
33760 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 42 4f 4f 4b 20 64 from.only.the.toplevel.LOGBOOK.d
33780 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 20 20 20 20 20 20 rawer...........................
337a0 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 65 20 6f 72 67 2d ...........(member.to-state.org-
337c0 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 20 20 20 20 20 20 done-keywords)).................
337e0 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 72 73 65 64 20 54 ...........;;.The.first.parsed.T
33800 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 6c 20 62 65 20 74 ODO.state.change.entry.will.be.t
33820 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b he............................;;
33840 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 2d 64 61 74 65 27 .latest.one,.and.`:logbook-date'
33860 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 20 20 20 20 20 20 .would.already.have.............
33880 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 20 74 6f 20 74 68 ...............;;.been.set.to.th
338a0 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 6f 64 27 20 69 73 at...So.if.`:logbook-lastmod'.is
338c0 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 20 20 20 20 20 20 .not.set,.......................
338e0 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 68 65 20 76 61 6c .....;;.set.that.that.to.the.val
33900 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 20 20 20 20 20 20 ue.of.`:logbook-date'...........
33920 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 61 79 ..................;;.*This.alway
33940 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 74 65 s.works.because.the.newest.state
33960 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 20 20 .change.or.note.................
33980 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 61 79 73 20 70 75 ...........;;.entry.is.always.pu
339a0 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 4b 2e 2a 0a 20 20 t.to.the.top.of.the.LOGBOOK.*...
339c0 20 20 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 73 73 .........................(unless
339e0 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 73 74 6d 6f .(plist-get.info.:logbook-lastmo
33a00 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 d)..............................
33a20 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 62 6f 6f 6b 2d 64 (when.(plist-get.info.:logbook-d
33a40 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ate)............................
33a60 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 6f 6b 2d 6c 61 73 ....(plist-put.info.:logbook-las
33a80 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 6f 6f 6b 2d 64 61 tmod.(plist-get.info.:logbook-da
33aa0 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 20 20 20 20 20 20 te))))..........................
33ac0 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 6b 65 65 70 20 6f ..;;.`:logbook-date'.will.keep.o
33ae0 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 68 65 20 6c 61 73 n.getting.updating.until.the.las
33b00 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 3b 3b 20 t............................;;.
33b20 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 61 74 65 20 63 68 parsed.(first.entered)."state.ch
33b40 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 20 20 20 20 20 20 anged.to.DONE".entry............
33b60 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 69 6e 66 6f .................(plist-put.info
33b80 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 29 0a 20 20 20 20 .:logbook-date.timestamp))).....
33ba0 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 6e 20 66 72 6f 6d ...................;;.(when.from
33bc0 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 20 20 20 20 20 20 -state.;For.debug...............
33be0 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 5f 73 74 61 74 65 .........;;...(push.`(from_state
33c00 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 74 72 79 29 29 0a ...,from-state).logbook-entry)).
33c20 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 20 20 20 20 20 20 .......................)........
33c40 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 20 20 20 20 20 20 ..............t)))..............
33c60 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 72 67 2d 6c 6f 67 ....;;.Parse.(assq.'note.org-log
33c80 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 20 20 20 20 20 20 -note-headings).................
33ca0 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 20 20 20 20 20 20 (parse-note-maybe...............
33cc0 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 74 20 28 28 6e 6f ...()..................(let.((no
33ce0 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 6e 5c 5c 28 3f 31 te-re."^Note.taken.on..*?\n\\(?1
33d00 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 20 20 20 20 20 20 :\\(.\\|\n\\)*\\)"))............
33d20 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 6e 6f 74 65 ........(when.(string-match.note
33d40 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 20 20 20 20 20 20 -re.para-raw-str)...............
33d60 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 73 20 28 70 6c 69 .......(let.((logbook-notes.(pli
33d80 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 20 20 20 20 20 20 st-get.info.:logbook))..........
33da0 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 74 72 69 6e 67 2d ..................(note.(string-
33dc0 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 20 20 20 20 20 trim............................
33de0 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 69 .......(match-string-no-properti
33e00 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 20 20 20 20 20 20 es.1.para-raw-str))))...........
33e20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 .............;;.(message."[ox-hu
33e40 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 40 20 25 73 22 20 go.logbook.DBG].note.:.%s.@.%s".
33e60 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 20 20 20 20 20 20 note.timestamp).................
33e80 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 65 29 20 6c 6f 67 .......(push.`(note...,note).log
33ea0 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 20 20 20 20 20 20 book-entry).....................
33ec0 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 20 66 69 65 6c 64 ...;;.Update.the.`lastmod'.field
33ee0 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 20 20 20 20 20 20 .using.the......................
33f00 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 20 20 20 20 20 20 ..;;.note's.timestamp...........
33f20 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 61 79 73 20 77 6f ..............;;.*This.always.wo
33f40 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 74 65 20 63 68 61 rks.because.the.newest.state.cha
33f60 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 20 20 20 20 20 20 nge.or.note.....................
33f80 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 74 6f 20 74 68 65 ...;;.entry.is.always.put.to.the
33fa0 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 20 20 20 20 20 20 .top.of.the.LOGBOOK.*...........
33fc0 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 74 2d 68 65 61 64 .............(unless.parent-head
33fe0 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 6d 20 6f 6e 6c 79 ing-title.;Parse.dates.from.only
34000 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 65 72 2e 0a 20 20 .the.toplevel.LOGBOOK.drawer....
34020 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 73 73 20 28 .......................(unless.(
34040 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 73 74 6d 6f 64 29 plist-get.info.:logbook-lastmod)
34060 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 ............................(pli
34080 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 6f 64 20 74 69 6d st-put.info.:logbook-lastmod.tim
340a0 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 20 20 20 20 20 20 estamp))).......................
340c0 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 61 72 65 6e 74 2d ..(let.((context-key.(or.parent-
340e0 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 29 29 0a 20 20 20 heading-title."_toplevel")))....
34100 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 61 ......................(unless.(a
34120 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 6f 74 65 73 29 0a ssoc.context-key.logbook-notes).
34140 20 20 20 20 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 ...........................(push
34160 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 63 6f 6e 73 20 27 .(cons.context-key.(list.(cons.'
34180 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 74 65 73 29 29 0a notes.(list)))).logbook-notes)).
341a0 20 20 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 63 64 72 .........................(setcdr
341c0 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 78 74 2d 6b 65 .(assoc.'notes.(assoc.context-ke
341e0 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 20 20 20 20 20 20 y.logbook-notes))...............
34200 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 20 28 63 64 72 20 ...................(append.(cdr.
34220 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 78 74 2d 6b 65 79 (assoc.'notes.(assoc.context-key
34240 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 20 20 20 20 20 20 .logbook-notes)))...............
34260 20 20 20 20 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 69 73 74 ...........................(list
34280 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 29 29 29 0a 20 20 .(nreverse.logbook-entry)))))...
342a0 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 74 20 .....................(plist-put.
342c0 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 73 29 29 0a 20 20 info.:logbook.logbook-notes))...
342e0 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 20 20 20 20 20 20 ...................t))))........
34300 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 63 6f 6e 64 0a 20 (save-match-data.........(cond..
34320 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 67 65 2d 6d 61 79 ........((parse-state-change-may
34340 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 2d 6d 61 79 62 65 be))..........((parse-note-maybe
34360 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 75 73 65 72 2d 65 ))..........(t...........(user-e
34380 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 20 69 73 20 6e 65 rror."LOGBOOK.drawer.entry.is.ne
343a0 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 61 20 6e 6f 74 65 ither.a.state.change,.nor.a.note
343c0 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 6f 72 67 2d 68 75 ")))).......;;.(message."[org-hu
343e0 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 47 5d 20 6c 6f 67 go--parse-logbook-entry.DBG].log
34400 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 28 70 6c 69 73 74 book.derived.`date'.:.%S".(plist
34420 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 20 20 20 20 20 20 -get.info.:logbook-date)).......
34440 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
34460 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 65 72 69 76 65 64 gbook-entry.DBG].logbook.derived
34480 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 74 20 69 6e 66 6f .`lastmod'.:.%S".(plist-get.info
344a0 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 3b 3b 20 28 6d 65 .:logbook-lastmod)).......;;.(me
344c0 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 67 62 6f 6f 6b 2d ssage."[org-hugo--parse-logbook-
344e0 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 20 25 53 22 20 6c entry.DBG].logbook.entry.:.%S".l
34500 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 0a 0a 28 64 65 66 ogbook-entry).......nil)))..(def
34520 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 20 63 6f 6e 74 65 un.org-hugo-drawer.(drawer.conte
34540 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 52 41 57 45 52 20 nts.info)..."Transcode.a.DRAWER.
34560 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 72 69 61 74 65 20 element.from.Org.to.appropriate.
34580 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 53 20 68 6f 6c 64 Hugo.front-matter..CONTENTS.hold
345a0 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 6b 2e 20 20 49 4e s.the.contents.of.the.block...IN
345c0 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 65 78 74 75 61 6c FO.is.a.plist.holding.contextual
345e0 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 72 61 77 65 72 2d .information."...(let*.((drawer-
34600 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 64 72 61 77 name.(org-element-property.:draw
34620 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 28 70 61 72 65 6e er-name.drawer))..........(paren
34640 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 20 20 20 20 20 20 t-heading.(catch.'found.........
34660 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 65 6c 20 64 72 61 ...................(let.((el.dra
34680 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 20 20 20 20 20 20 wer))...........................
346a0 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 20 20 20 20 20 20 ...(while.t.....................
346c0 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 67 2d 65 78 70 6f ...........(let.((p-el.(org-expo
346e0 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 20 20 20 20 20 20 rt-get-parent.el))).............
34700 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 6f 72 20 28 .....................(when.(or.(
34720 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 20 20 20 20 20 20 null.p-el)......................
34740 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 27 68 65 ......................(equal.'he
34760 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 2d 65 6c 29 29 29 adline.(org-element-type.p-el)))
34780 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
347a0 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 20 6e 6f 20 70 61 ....;;.Return.when.there's.no.pa
347c0 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 20 20 20 20 20 20 rent.element....................
347e0 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 68 65 20 70 61 72 ................;;.or.if.the.par
34800 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 27 2e 0a 20 20 20 ent.element.is.a.`headline'.....
34820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
34840 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 20 20 20 20 20 20 (throw.'found.p-el))............
34860 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 65 6c 20 70 ......................(setq.el.p
34880 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 2d 68 65 61 64 69 -el))))))..........(parent-headi
348a0 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 66 79 2d 73 74 72 ng-title.(org-hugo--plainify-str
348c0 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ing.............................
348e0 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 6c 65 ....(org-element-property.:title
34900 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 20 20 20 20 20 20 .parent-heading)................
34920 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 20 20 20 3b 3b 20 .................info))).....;;.
34940 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].
34960 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 74 2d 68 65 61 64 parent-heading.:.%S".parent-head
34980 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 2d 68 75 67 6f 2d ing).....;;.(message."[org-hugo-
349a0 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 2d 74 69 74 6c 65 drawer.DBG].parent-heading-title
349c0 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 65 29 29 0a 20 20 .:.%S".parent-heading-title))...
349e0 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 44 72 61 77 65 72 ..(cond......;;.:LOGBOOK:.Drawer
34a00 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 28 6f 72 67 2d 6c ......((equal.drawer-name.(org-l
34a20 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 28 6d 65 73 73 61 og-into-drawer)).......;;.(messa
34a40 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 65 6c 65 6d 20 74 ge."[org-hugo-drawer.DBG].elem.t
34a60 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 20 64 72 61 77 65 ype:.%s".(org-element-type.drawe
34a80 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 20 3b 3b 20 20 20 r)).......;;.(drawer.......;;...
34aa0 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 20 20 20 20 20 20 .........;;...(plain-list.......
34ac0 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 20 20 28 70 61 72 ;;.....(item.......;;.......(par
34ae0 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 74 61 74 65 20 63 agraph.......;;.........<State.c
34b00 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 3b 3b 20 20 20 20 hange.text.or.Note>.......;;....
34b20 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 3e 20 29 29 29 29 .....(timestamp.<timestamp>.))))
34b40 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 72 61 77 65 72 20 ).......(org-element-map.drawer.
34b60 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 61 20 28 6c 73 74 'plain-list.........(lambda.(lst
34b80 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 61 70 20 6c 73 74 )...........(org-element-map.lst
34ba0 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 20 28 69 74 65 6d .'item.............(lambda.(item
34bc0 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 6e 74 2d 6d 61 70 )...............(org-element-map
34be0 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 20 20 20 20 20 20 .item.'paragraph................
34c00 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 20 20 20 20 20 20 .(lambda.(para).................
34c20 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 2d 65 6e 74 72 79 ..(org-hugo--parse-logbook-entry
34c40 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 20 69 6e 66 6f 29 .para.parent-heading-title.info)
34c60 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 73 74 2d 6d 61 74 ).................nil.:first-mat
34c80 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 69 6c 6c 20 68 61 ch)).;Each.'item.element.will.ha
34ca0 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 6d 65 6e 74 0a 20 ve.only.one.'paragraph.element..
34cc0 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 6e 2d 6c 69 73 74 ...........)).;But.a.'plain-list
34ce0 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 20 27 69 74 65 6d .element.can.have.multiple.'item
34d00 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 20 61 6c 6c 0a 20 .elements,.so.loop.through.all..
34d20 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 54 68 65 20 27 6c .......nil.:first-match).;The.'l
34d40 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 6e 6c 79 20 6f 6e ogbook.element.will.have.only.on
34d60 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 20 20 3b 3b 20 4e e.'plain-list.element.......;;.N
34d80 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 74 73 20 65 78 70 othing.from.the.LOGBOOK.gets.exp
34da0 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 0a 20 20 20 20 20 orted.to.the.Markdown.body......
34dc0 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 77 65 72 73 0a 20 ."")......;;.Other.Org.Drawers..
34de0 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 77 65 72 20 64 72 ....(t.......(org-html-drawer.dr
34e00 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 3b 3b 3b 20 45 78 awer.contents.info)))))..;;;;.Ex
34e20 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 6f 2d 65 78 61 6d ample.Block.(defun.org-hugo-exam
34e40 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 63 6f 6e 74 65 6e ple-block.(example-block._conten
34e60 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 58 41 4d 50 4c 45 ts.info)..."Transcode.an.EXAMPLE
34e80 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 77 6e 20 66 6f 72 -BLOCK.element.into.Markdown.for
34ea0 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 46 4f 20 69 73 20 mat...CONTENTS.is.nil...INFO.is.
34ec0 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 72 a.plist.holding.contextual.infor
34ee0 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 73 2d 73 74 72 20 mation."...(let*.((switches-str.
34f00 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 74 63 68 65 73 20 (org-element-property.:switches.
34f20 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 3b 20 42 65 6c 6f example-block))..........;;.Belo
34f40 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 3a 6c 69 6e 65 6e w.is.a.hack.for.allowing.":linen
34f60 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 20 20 20 20 20 3b os.<value>".parameter..........;
34f80 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 20 62 65 63 61 75 ;.in.example.block.header,.becau
34fa0 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 20 20 20 20 20 20 se.the.example-block.Org........
34fc0 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 2d 73 77 69 74 63 ..;;.element.parses.only."-switc
34fe0 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 20 20 20 20 20 20 hes",.not.":parameters".........
35000 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 2d 73 74 72 69 6e ..(linenos-style.(and.(org-strin
35020 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 20 20 20 20 20 20 g-nw-p.switches-str)............
35040 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 61 74 63 68 20 ..................(string-match.
35060 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 5c 62 22 20 73 77 ":linenos\\s-+\\([^.]+\\)\\b".sw
35080 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 20 20 20 20 20 20 itches-str).....................
350a0 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 6f 70 65 72 .........(match-string-no-proper
350c0 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 20 20 28 6f 72 67 ties.1.switches-str)))).....(org
350e0 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 65 2d 62 6c -element-put-property.example-bl
35100 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 28 6f 72 67 2d 65 ock.:language."text").....(org-e
35120 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 65 2d 62 6c 6f 63 lement-put-property.example-bloc
35140 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 74 79 6c 65 29 0a k.:linenos-style.linenos-style).
35160 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 61 6d 70 6c 65 2d ....(org-hugo-src-block.example-
35180 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 70 6f 72 74 20 53 block.nil.info)))..;;;;.Export.S
351a0 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 6f 72 74 2d 73 6e nippet.(defun.org-hugo-export-sn
351c0 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 74 65 6e 74 73 20 ippet.(export-snippet._contents.
351e0 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 52 54 2d 53 4e 49 _info)..."Transcode.a.EXPORT-SNI
35200 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 67 6f 2d 63 6f 6d PPET.object.from.Org.to.Hugo-com
35220 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 69 73 20 6e 69 patible.Markdown..CONTENTS.is.ni
35240 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 67 20 63 6f 6e 74 l...INFO.is.a.plist.holding.cont
35260 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 6c 65 3a 0a 0a 20 extual.information...Example:...
35280 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 20 76 65 72 62 61 .\"@@hugo:foo@@\"..exports.verba
352a0 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 74 65 tim.to.\"foo\".only.when.exporte
352c0 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 78 70 6f 72 74 20 d.using.`hugo'.backend...Export.
352e0 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 20 5c 22 6d 61 72 snippets.with.backend.tags.\"mar
35300 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 6c 73 6f 20 68 61 kdown:\".and.\"md:\".are.also.ha
35320 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 74 20 73 6e 69 70 ndled...Exporting.of.export.snip
35340 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 6d 6c 3a 5c 22 20 pets.with.backend.tag.\"html:\".
35360 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 20 28 63 6f 6e 64 uses.the.HTML.exporter."...(cond
35380 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 6e 69 70 70 65 74 ....((member.(org-export-snippet
353a0 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 28 68 75 67 6f 20 -backend.export-snippet).'(hugo.
353c0 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 2e 65 6c 20 64 6f markdown.md)).....;;.ox-md.el.do
353e0 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 70 65 74 73 2c 20 es.not.support.export.snippets,.
35400 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 6b 64 6f 77 6e 20 so.let's.handle.....;;.Markdown.
35420 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 6c 6c 2e 0a 20 20 export.snippets.here.as.well....
35440 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 61 6c 75 65 20 65 ..(org-element-property.:value.e
35460 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 20 69 6e 63 6c 75 xport-snippet))....;;.Also.inclu
35480 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 20 20 28 74 0a 20 de.HTML.export.snippets.....(t..
354a0 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 64 20 27 68 74 6d ...(org-export-with-backend.'htm
354c0 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 29 29 0a 0a 3b 3b l.export-snippet.nil.nil))))..;;
354e0 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 2d 68 75 67 6f 2d ;;.Export.Block.(defun.org-hugo-
35500 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 20 5f 63 6f 6e 74 export-block.(export-block._cont
35520 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 52 ents._info)..."Transcode.a.EXPOR
35540 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 6f 20 48 75 67 6f T-BLOCK.element.from.Org.to.Hugo
35560 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 20 69 -compatible.Markdown..CONTENTS.i
35580 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 67 20 s.nil...INFO.is.a.plist.holding.
355a0 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 6c 65 contextual.information...Example
355c0 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 20 66 6f 6f 0a 20 :....#+begin_export.hugo...foo..
355e0 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 62 61 74 69 6d 20 .#+end_export..exports.verbatim.
35600 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 74 65 64 20 75 73 to.\"foo\".only.when.exported.us
35620 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 65 20 62 61 63 6b ing.`hugo'.backend...If.the.back
35640 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 6d 64 5c 22 20 6f end.tag.is.\"markdown\"/\"md\".o
35660 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 68 6f 73 65 20 62 r.\"html\",.exporting.of.those.b
35680 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 73 70 65 63 74 69 locks.falls.back.to.the.respecti
356a0 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 28 28 73 74 72 69 ve.exporters."...(cond....((stri
356c0 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 3a 74 79 70 65 20 ng=.(org-element-property.:type.
356e0 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 28 6f 72 67 2d 72 export-block)."HUGO").....(org-r
35700 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 6d 65 6e 74 2d 70 emove-indentation.(org-element-p
35720 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 6b 29 29 29 0a 20 roperty.:value.export-block)))..
35740 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 20 61 6e 64 20 48 ..;;.Also.include.Markdown.and.H
35760 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 78 2d 6d 64 20 68 TML.export.blocks.....;;.ox-md.h
35780 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 74 6f 6f 2e 0a 20 andles.HTML.export.blocks.too...
357a0 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
357c0 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 29 29 29 29 0a 0a d.'md.export-block.nil.nil))))..
357e0 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 67 6f 2d 68 65 61 ;;;;.Heading.(defun.org-hugo-hea
35800 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 6f 29 0a 20 20 22 ding.(heading.contents.info)..."
35820 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 69 6e 74 6f 20 4d Transcode.HEADING.element.into.M
35840 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 65 20 arkdown.format..CONTENTS.is.the.
35860 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 20 61 20 70 6c 69 heading.contents...INFO.is.a.pli
35880 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 20 63 68 61 6e 6e st.used.as.a.communication.chann
358a0 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 74 2d 70 72 6f 70 el."...(unless.(org-element-prop
358c0 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 65 61 64 69 6e 67 erty.:footnote-section-p.heading
358e0 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 2d 68 75 67 6f 2d ).....(let*.((numbers.(org-hugo-
35900 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 6e 66 6f -get-heading-number.heading.info
35920 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 20 28 73 74 72 69 .nil))............(loffset.(stri
35940 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 66 6f 20 3a 68 75 ng-to-number.(plist-get.info.:hu
35960 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 30 2c 20 22 30 22 go-level-offset))).;"".->.0,."0"
35980 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 20 20 20 20 20 28 .->.0,."1".->.1,...............(
359a0 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 74 69 76 65 2d 6c level.(org-export-get-relative-l
359c0 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 20 20 20 20 20 28 evel.heading.info))............(
359e0 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 20 6c 65 76 65 6c level-effective.(+.loffset.level
35a00 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 65 78 70 6f 72 74 ))............(title.(org-export
35a20 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 79 20 3a 74 69 74 -data.(org-element-property.:tit
35a40 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 78 70 6f 72 74 2d le.heading).info)).;`org-export-
35a60 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 28 74 6f 64 6f 20 data'.required............(todo.
35a80 28 61 6e 64 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 (and.(org-hugo--plist-get-true-p
35aa0 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 0a 20 20 20 20 20 .info.:with-todo-keywords)......
35ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 .................(org-element-pr
35ae0 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 6e 67 29 29 29 0a operty.:todo-keyword.heading))).
35b00 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 6e 20 74 6f 64 6f ...........(todo-fmtd.(when.todo
35b20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 .........................(concat
35b40 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 29 20 22 20 22 29 .(org-hugo--todo.todo.info).".")
35b60 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 61 6e 64 20 28 6f ))............(tags-fmtd.(and.(o
35b80 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a rg-hugo--plist-get-true-p.info.:
35ba0 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 20 20 20 20 20 20 with-tags)......................
35bc0 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 72 67 2d 65 78 70 ......(let*.((tags-list.(org-exp
35be0 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 29 0a 20 20 20 20 ort-get-tags.heading.info)).....
35c00 20 20 20 20 20 20 20 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 ..............................(t
35c20 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 75 67 6f 2d 74 61 ags-list.(dolist.(fn.org-hugo-ta
35c40 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 73 2d 6c 69 73 74 g-processing-functions.tags-list
35c60 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
35c80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 67 73 2d 6c 69 73 74 .................(setq.tags-list
35ca0 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 74 61 67 73 2d 6c 69 73 74 20 69 6e 66 6f 29 29 29 29 0a .(funcall.fn.tags-list.info)))).
35cc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
35ce0 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 67 73 20 74 61 67 ..(tags-html.(org-hugo--tags.tag
35d00 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 20 20 20 20 20 20 s-list.info)))..................
35d20 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 77 ............(when.(org-string-nw
35d40 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 20 20 20 20 20 20 -p.tags-html)...................
35d60 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 61 67 73 2d 68 74 .............(concat.".".tags-ht
35d80 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 74 79 0a 20 20 20 ml)))))............(priority....
35da0 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 6c 69 73 74 2d 67 .........(and.(org-hugo--plist-g
35dc0 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 69 74 79 29 0a 20 et-true-p.info.:with-priority)..
35de0 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 72 20 28 6f 72 67 ................(let.((char.(org
35e00 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 79 20 68 65 61 64 -element-property.:priority.head
35e20 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 28 61 6e 64 20 63 ing)))....................(and.c
35e40 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 29 29 29 29 0a 20 har.(format."[#%c].".char)))))..
35e60 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 74 20 69 6e 66 6f ..........(style.(plist-get.info
35e80 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 20 20 20 3b 3b 20 .:md-headline-style))).......;;.
35ea0 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 20 (message."[ox-hugo-heading.DBG].
35ec0 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 20 28 6d 65 73 73 num:.%s".numbers).......;;.(mess
35ee0 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 20 77 69 74 68 2d age."[ox-hugo-heading.DBG].with-
35f00 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 2d 67 65 74 2d 74 tags:.%S".(org-hugo--plist-get-t
35f20 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 20 20 20 20 3b 3b rue-p.info.:with-tags)).......;;
35f40 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]
35f60 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 2d 74 61 67 73 20 .tags:.%S".(org-export-get-tags.
35f80 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 0a 20 20 20 20 20 heading.info)).......(cond......
35fa0 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 6e 67 2e 20 20 46 ..;;.Cannot.create.a.heading...F
35fc0 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 20 28 28 6f 72 20 all-back.to.a.list.........((or.
35fe0 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 61 64 69 6e 67 20 (org-export-low-level-p.heading.
36000 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 6d 71 20 73 74 79 info).............(not.(memq.sty
36020 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 20 20 20 20 20 28 le.'(atx.setext))).............(
36040 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 65 6c 2d 65 66 66 and.(eq.style.'atx).(>.level-eff
36060 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 64 20 28 65 71 20 ective.6)).............(and.(eq.
36080 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 66 65 63 74 69 76 style.'setext).(>.level-effectiv
360a0 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 65 74 0a 20 20 20 e.2))).........(let.((bullet....
360c0 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 65 78 70 6f 72 74 ............(if.(not.(org-export
360e0 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 69 6e 66 -numbered-headline-p.heading.inf
36100 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 63 6f 6e 63 61 74 o))."-"..................(concat
36120 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 20 20 20 20 20 20 .(number-to-string..............
36140 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 72 67 2d 65 78 70 .............(car.(last.(org-exp
36160 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 20 20 20 20 20 20 ort-get-headline-number.........
36180 20 20 20 20 20 20 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 65 ..............................he
361a0 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 20 20 20 20 20 20 ading.info))))..................
361c0 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 20 20 20 28 68 65 ........".")))...............(he
361e0 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 22 20 70 72 69 6f ading.(concat.todo-fmtd.".".prio
36200 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 74 20 77 69 74 68 rity.title))).;Heading.text.with
36220 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 20 22 3c 21 2d 2d out.tags...........(concat."<!--
36240 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 20 20 20 20 20 20 list-separator-->\n\n"..........
36260 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 64 20 6a 75 73 74 .........;;.Above.is.needed.just
36280 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 20 20 20 20 20 20 .in.case.the.body.of.the........
362a0 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 65 20 69 73 20 65 ...........;;.section.above.is.e
362c0 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 68 61 74 0a 20 20 nding.with.a.plain.list..That...
362e0 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 6d 6d 65 6e 74 20 ................;;.HTML.comment.
36300 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 20 3c 6f 6c 3e 20 will.force-end.the.<ul>.or.<ol>.
36320 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 66 20 74 68 61 74 tag...................;;.of.that
36340 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 20 20 20 20 20 20 .preceding.list.................
36360 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 2d 66 6d 74 64 20 ...bullet.".".heading.tags-fmtd.
36380 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 61 6e 64 20 63 6f "\n\n"...................(and.co
363a0 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 73 74 72 69 6e 67 ntents.(replace-regexp-in-string
363c0 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 20 20 20 20 20 20 ."^"."....".contents))))).......
363e0 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 20 28 66 6f 72 6d .(t.........(let*.((anchor.(form
36400 61 74 20 22 7b 23 25 73 7d 22 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 at."{#%s}".(org-hugo--get-anchor
36420 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 29 20 3b 68 74 74 70 73 3a 2f 2f 67 6f 68 75 67 6f .heading.info))).;https://gohugo
36440 2e 69 6f 2f 65 78 74 72 61 73 2f 63 72 6f 73 73 72 65 66 65 72 65 6e 63 65 73 2f 0a 20 20 20 20 .io/extras/crossreferences/.....
36460 20 20 20 20 20 20 20 20 20 20 20 28 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 28 6f 72 67 2d 68 ...........(heading-title.(org-h
36480 75 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 73 74 79 6c 65 20 6c 65 76 65 6c 20 6c ugo--heading-title.style.level.l
364a0 6f 66 66 73 65 74 20 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 offset.title....................
364c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
364e0 20 20 20 20 74 6f 64 6f 2d 66 6d 74 64 20 74 61 67 73 2d 66 6d 74 64 20 61 6e 63 68 6f 72 20 6e ....todo-fmtd.tags-fmtd.anchor.n
36500 75 6d 62 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 72 61 70 2d 65 6c umbers))................(wrap-el
36520 65 6d 65 6e 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 6e 74 61 69 6e 65 72 20 68 65 61 64 69 ement.(org-hugo--container.headi
36540 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e ng.info))................(conten
36560 74 2d 73 74 72 20 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 6f 6e 74 65 t-str.(or.(org-string-nw-p.conte
36580 6e 74 73 29 20 22 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 77 72 61 70 2d 65 6c nts)."")))...........(if.wrap-el
365a0 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 63 6f 6e 74 ement...............(let*.((cont
365c0 61 69 6e 65 72 2d 63 6c 61 73 73 20 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f ainer-class.(or.(org-element-pro
365e0 70 65 72 74 79 20 3a 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 5f 43 4c 41 53 53 20 68 65 61 64 perty.:HTML_CONTAINER_CLASS.head
36600 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)............................
36620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 ...............(org-element-prop
36640 65 72 74 79 20 3a 45 58 50 4f 52 54 5f 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 5f 43 4c 41 53 erty.:EXPORT_HTML_CONTAINER_CLAS
36660 53 20 68 65 61 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 S.heading)......................
36680 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.
366a0 69 6e 66 6f 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 2d 63 6c 61 73 73 29 29 29 0a 20 20 info.:html-container-class)))...
366c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 61 69 6e 65 72 2d 63 6c ...................(container-cl
366e0 61 73 73 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 20 63 ass-str.(when.(org-string-nw-p.c
36700 6f 6e 74 61 69 6e 65 72 2d 63 6c 61 73 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ontainer-class).................
36720 20 20 20 20 20 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
36740 63 61 74 20 22 20 22 20 63 6f 6e 74 61 69 6e 65 72 2d 63 6c 61 73 73 29 29 29 29 0a 20 20 20 20 cat.".".container-class)))).....
36760 20 20 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 25 73 ............(format.(concat."<%s
36780 20 63 6c 61 73 73 3d 5c 22 6f 75 74 6c 69 6e 65 2d 25 64 25 73 5c 22 3e 5c 6e 22 0a 20 20 20 20 .class=\"outline-%d%s\">\n".....
367a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 25 73 25 ............................"%s%
367c0 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 20 20 s\n"............................
367e0 20 20 20 20 20 22 3c 2f 25 73 3e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....."</%s>")...................
36800 20 20 20 20 20 20 77 72 61 70 2d 65 6c 65 6d 65 6e 74 20 6c 65 76 65 6c 20 63 6f 6e 74 61 69 6e ......wrap-element.level.contain
36820 65 72 2d 63 6c 61 73 73 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 er-class-str....................
36840 20 20 20 20 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 63 6f 6e 74 65 6e 74 2d 73 74 72 0a 20 .....heading-title.content-str..
36860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 72 61 70 2d 65 6c 65 6d .......................wrap-elem
36880 65 6e 74 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 25 73 22 ent)).............(format."%s%s"
368a0 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 63 6f 6e 74 65 6e 74 2d 73 74 72 29 29 29 29 29 29 .heading-title.content-str))))))
368c0 29 29 0a 0a 3b 3b 3b 3b 3b 20 48 65 61 64 69 6e 67 20 48 65 6c 70 65 72 73 0a 28 64 65 66 75 6e ))..;;;;;.Heading.Helpers.(defun
368e0 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 6e 74 61 69 6e 65 72 20 28 68 65 61 64 69 6e 67 20 69 6e .org-hugo--container.(heading.in
36900 66 6f 29 0a 20 20 22 47 65 74 20 74 68 65 20 48 54 4d 4c 20 63 6f 6e 74 61 69 6e 65 72 20 65 6c fo)..."Get.the.HTML.container.el
36920 65 6d 65 6e 74 20 66 6f 72 20 48 45 41 44 49 4e 47 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c ement.for.HEADING...INFO.is.a.pl
36940 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e ist.used.as.a.communication.chan
36960 6e 65 6c 2e 0a 0a 49 66 20 61 20 68 65 61 64 69 6e 67 20 68 61 73 20 60 3a 48 54 4d 4c 5f 43 4f nel...If.a.heading.has.`:HTML_CO
36980 4e 54 41 49 4e 45 52 3a 27 20 6f 72 20 60 3a 45 58 50 4f 52 54 5f 48 54 4d 4c 5f 43 4f 4e 54 41 NTAINER:'.or.`:EXPORT_HTML_CONTA
369a0 49 4e 45 52 3a 27 0a 70 72 6f 70 65 72 74 79 2c 20 74 68 61 74 20 69 73 20 75 73 65 64 20 66 6f INER:'.property,.that.is.used.fo
369c0 72 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 65 6c 65 6d 65 6e 74 2e 0a 0a 45 6c 73 65 20 69 r.the.container.element...Else.i
369e0 66 20 74 68 65 20 60 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 27 20 70 72 6f 70 65 72 74 79 f.the.`:html-container'.property
36a00 20 69 73 20 61 20 6e 6f 6e 2d 65 6d 70 74 79 20 73 74 72 69 6e 67 3a 0a 20 20 2d 20 46 6f 72 20 .is.a.non-empty.string:...-.For.
36a20 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 20 68 65 61 64 69 6e 67 73 2c 20 77 72 61 70 70 69 6e 67 the.top.level.headings,.wrapping
36a40 20 69 73 20 64 6f 6e 65 20 75 73 69 6e 67 20 74 68 61 74 20 70 72 6f 70 65 72 74 79 2e 0a 20 20 .is.done.using.that.property....
36a60 2d 20 46 6f 72 20 73 65 63 6f 6e 64 20 61 6e 64 20 6c 6f 77 65 72 20 6c 65 76 65 6c 20 68 65 61 -.For.second.and.lower.level.hea
36a80 64 69 6e 67 73 2c 20 77 72 61 70 70 69 6e 67 20 69 73 20 64 6f 6e 65 20 75 73 69 6e 67 0a 20 20 dings,.wrapping.is.done.using...
36aa0 20 20 74 68 65 20 48 54 4d 4c 20 3c 64 69 76 3e 20 74 61 67 73 2e 0a 0a 45 6c 73 65 2c 20 6e 6f ..the.HTML.<div>.tags...Else,.no
36ac0 20 48 54 4d 4c 20 65 6c 65 6d 65 6e 74 20 69 73 20 77 72 61 70 70 65 64 20 61 72 6f 75 6e 64 20 .HTML.element.is.wrapped.around.
36ae0 74 68 65 20 48 45 41 44 49 4e 47 2e 22 0a 20 20 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 the.HEADING."...(or.(org-element
36b00 2d 70 72 6f 70 65 72 74 79 20 3a 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 20 68 65 61 64 69 6e -property.:HTML_CONTAINER.headin
36b20 67 29 20 3b 70 72 6f 70 65 72 74 79 20 6f 66 20 74 68 65 20 69 6d 6d 65 64 69 61 74 65 20 68 65 g).;property.of.the.immediate.he
36b40 61 64 69 6e 67 0a 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 ading.......(org-element-propert
36b60 79 20 3a 45 58 50 4f 52 54 5f 48 54 4d 4c 5f 43 4f 4e 54 41 49 4e 45 52 20 68 65 61 64 69 6e 67 y.:EXPORT_HTML_CONTAINER.heading
36b80 29 20 3b 70 72 6f 70 65 72 74 79 20 6f 66 20 74 68 65 20 69 6d 6d 65 64 69 61 74 65 20 68 65 61 ).;property.of.the.immediate.hea
36ba0 64 69 6e 67 0a 20 20 20 20 20 20 28 61 6e 64 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 ding.......(and.(org-string-nw-p
36bc0 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 .(plist-get.info.:html-container
36be0 29 29 20 3b 69 6e 68 65 72 69 74 65 64 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 3a 20 70 )).;inherited.:html-container:.p
36c00 72 6f 70 65 72 74 79 20 69 66 20 61 6e 79 0a 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 3d roperty.if.any............(if.(=
36c20 20 31 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 72 65 6c 61 74 69 76 65 2d 6c 65 76 65 .1.(org-export-get-relative-leve
36c40 6c 20 68 65 61 64 69 6e 67 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 l.heading.info))................
36c60 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 74 6d 6c 2d 63 6f 6e 74 61 69 6e 65 72 29 (plist-get.info.:html-container)
36c80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 22 64 69 76 22 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 .............."div"))))..;;;###a
36ca0 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 73 6c 75 67 20 28 73 74 utoload.(defun.org-hugo-slug.(st
36cc0 72 20 26 6f 70 74 69 6f 6e 61 6c 20 61 6c 6c 6f 77 2d 64 6f 75 62 6c 65 2d 68 79 70 68 65 6e 73 r.&optional.allow-double-hyphens
36ce0 29 0a 20 20 22 43 6f 6e 76 65 72 74 20 73 74 72 69 6e 67 20 53 54 52 20 74 6f 20 61 20 60 73 6c )..."Convert.string.STR.to.a.`sl
36d00 75 67 27 20 61 6e 64 20 72 65 74 75 72 6e 20 74 68 61 74 20 73 74 72 69 6e 67 2e 0a 0a 41 20 60 ug'.and.return.that.string...A.`
36d20 73 6c 75 67 27 20 69 73 20 74 68 65 20 70 61 72 74 20 6f 66 20 61 20 55 52 4c 20 77 68 69 63 68 slug'.is.the.part.of.a.URL.which
36d40 20 69 64 65 6e 74 69 66 69 65 73 20 61 20 70 61 72 74 69 63 75 6c 61 72 20 70 61 67 65 0a 6f 6e .identifies.a.particular.page.on
36d60 20 61 20 77 65 62 73 69 74 65 20 69 6e 20 61 6e 20 65 61 73 79 20 74 6f 20 72 65 61 64 20 66 6f .a.website.in.an.easy.to.read.fo
36d80 72 6d 2e 0a 0a 45 78 61 6d 70 6c 65 3a 20 49 66 20 53 54 52 20 69 73 20 5c 22 4d 79 20 46 69 72 rm...Example:.If.STR.is.\"My.Fir
36da0 73 74 20 50 6f 73 74 5c 22 2c 20 69 74 20 77 69 6c 6c 20 62 65 20 63 6f 6e 76 65 72 74 65 64 20 st.Post\",.it.will.be.converted.
36dc0 74 6f 20 61 0a 73 6c 75 67 20 5c 22 6d 79 2d 66 69 72 73 74 2d 70 6f 73 74 5c 22 2c 20 77 68 69 to.a.slug.\"my-first-post\",.whi
36de0 63 68 20 63 61 6e 20 62 65 63 6f 6d 65 20 70 61 72 74 20 6f 66 20 61 6e 20 65 61 73 79 20 74 6f ch.can.become.part.of.an.easy.to
36e00 20 72 65 61 64 0a 55 52 4c 20 6c 69 6b 65 20 5c 22 68 74 74 70 73 3a 2f 2f 65 78 61 6d 70 6c 65 .read.URL.like.\"https://example
36e20 2e 63 6f 6d 2f 70 6f 73 74 73 2f 6d 79 2d 66 69 72 73 74 2d 70 6f 73 74 2f 5c 22 2e 0a 0a 49 6e .com/posts/my-first-post/\"...In
36e40 20 67 65 6e 65 72 61 6c 2c 20 53 54 52 20 69 73 20 61 20 73 74 72 69 6e 67 2e 20 20 42 75 74 20 .general,.STR.is.a.string...But.
36e60 69 74 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 61 20 73 74 72 69 6e 67 20 77 69 74 68 0a 4d 61 72 it.can.also.be.a.string.with.Mar
36e80 6b 64 6f 77 6e 20 6d 61 72 6b 75 70 20 62 65 63 61 75 73 65 20 53 54 52 20 69 73 20 6f 66 74 65 kdown.markup.because.STR.is.ofte
36ea0 6e 20 61 20 70 6f 73 74 27 73 20 73 75 62 2d 68 65 61 64 69 6e 67 20 28 77 68 69 63 68 0a 63 61 n.a.post's.sub-heading.(which.ca
36ec0 6e 20 63 6f 6e 74 61 69 6e 20 62 6f 6c 64 2c 20 69 74 61 6c 69 63 73 2c 20 6c 69 6e 6b 2c 20 65 n.contain.bold,.italics,.link,.e
36ee0 74 63 20 6d 61 72 6b 75 70 29 2e 0a 0a 54 68 65 20 60 73 6c 75 67 27 20 67 65 6e 65 72 61 74 65 tc.markup)...The.`slug'.generate
36f00 64 20 66 72 6f 6d 20 74 68 61 74 20 53 54 52 20 66 6f 6c 6c 6f 77 73 20 74 68 65 73 65 20 72 75 d.from.that.STR.follows.these.ru
36f20 6c 65 73 3a 0a 0a 2d 20 43 6f 6e 74 61 69 6e 20 6f 6e 6c 79 20 6c 6f 77 65 72 20 63 61 73 65 20 les:..-.Contain.only.lower.case.
36f40 61 6c 70 68 61 62 65 74 2c 20 6e 75 6d 62 65 72 20 61 6e 64 20 68 79 70 68 65 6e 20 63 68 61 72 alphabet,.number.and.hyphen.char
36f60 61 63 74 65 72 73 0a 20 20 28 5b 5b 3a 61 6c 6e 75 6d 3a 5d 2d 5d 29 2e 0a 2d 20 4e 6f 74 20 68 acters...([[:alnum:]-])..-.Not.h
36f80 61 76 65 20 2a 61 6e 79 2a 20 48 54 4d 4c 20 74 61 67 20 6c 69 6b 65 20 5c 22 3c 63 6f 64 65 3e ave.*any*.HTML.tag.like.\"<code>
36fa0 2e 2e 3c 2f 63 6f 64 65 3e 5c 22 2c 0a 20 20 5c 22 3c 73 70 61 6e 20 63 6c 61 73 73 3d 2e 2e 3e ..</code>\",...\"<span.class=..>
36fc0 2e 2e 3c 2f 73 70 61 6e 3e 5c 22 2c 20 65 74 63 2e 0a 2d 20 4e 6f 74 20 63 6f 6e 74 61 69 6e 20 ..</span>\",.etc..-.Not.contain.
36fe0 61 6e 79 20 55 52 4c 73 20 28 69 66 20 53 54 52 20 68 61 70 70 65 6e 73 20 74 6f 20 62 65 20 61 any.URLs.(if.STR.happens.to.be.a
37000 20 4d 61 72 6b 64 6f 77 6e 20 6c 69 6e 6b 29 2e 0a 2d 20 52 65 70 6c 61 63 65 20 5c 22 2e 5c 22 .Markdown.link)..-.Replace.\".\"
37020 20 69 6e 20 53 54 52 20 77 69 74 68 20 5c 22 64 6f 74 5c 22 2c 20 5c 22 26 5c 22 20 77 69 74 68 .in.STR.with.\"dot\",.\"&\".with
37040 20 5c 22 61 6e 64 5c 22 2c 0a 20 20 5c 22 2b 5c 22 20 77 69 74 68 20 5c 22 70 6c 75 73 5c 22 2e .\"and\",...\"+\".with.\"plus\".
37060 0a 2d 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 62 .-.Replace.parentheses.with.doub
37080 6c 65 2d 68 79 70 68 65 6e 73 2e 20 20 53 6f 20 5c 22 66 6f 6f 20 28 62 61 72 29 20 62 61 7a 5c le-hyphens...So.\"foo.(bar).baz\
370a0 22 0a 20 20 62 65 63 6f 6d 65 73 20 5c 22 66 6f 6f 2d 2d 62 61 72 2d 2d 62 61 7a 5c 22 2e 0a 2d "...becomes.\"foo--bar--baz\"..-
370c0 20 52 65 70 6c 61 63 65 20 6e 6f 6e 20 5b 5b 3a 61 6c 6e 75 6d 3a 5d 2d 5d 20 63 68 61 72 73 20 .Replace.non.[[:alnum:]-].chars.
370e0 77 69 74 68 20 73 70 61 63 65 73 2c 20 61 6e 64 20 74 68 65 6e 20 6f 6e 65 20 6f 72 0a 20 20 6d with.spaces,.and.then.one.or...m
37100 6f 72 65 20 63 6f 6e 73 65 63 75 74 69 76 65 20 73 70 61 63 65 73 20 77 69 74 68 20 61 20 73 69 ore.consecutive.spaces.with.a.si
37120 6e 67 6c 65 20 68 79 70 68 65 6e 2e 0a 2d 20 49 66 20 41 4c 4c 4f 57 2d 44 4f 55 42 4c 45 2d 48 ngle.hyphen..-.If.ALLOW-DOUBLE-H
37140 59 50 48 45 4e 53 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 61 74 20 6d 6f 73 74 20 74 77 6f 20 63 YPHENS.is.non-nil,.at.most.two.c
37160 6f 6e 73 65 63 75 74 69 76 65 0a 20 20 68 79 70 68 65 6e 73 20 61 72 65 20 61 6c 6c 6f 77 65 64 onsecutive...hyphens.are.allowed
37180 20 69 6e 20 74 68 65 20 72 65 74 75 72 6e 65 64 20 73 74 72 69 6e 67 2c 20 6f 74 68 65 72 77 69 .in.the.returned.string,.otherwi
371a0 73 65 20 63 6f 6e 73 65 63 75 74 69 76 65 0a 20 20 68 79 70 68 65 6e 73 20 61 72 65 20 6e 6f 74 se.consecutive...hyphens.are.not
371c0 20 72 65 74 75 72 6e 65 64 2e 0a 2d 20 4e 6f 20 68 79 70 68 65 6e 73 20 61 6c 6c 6f 77 65 64 20 .returned..-.No.hyphens.allowed.
371e0 61 74 20 74 68 65 20 6c 65 61 64 69 6e 67 20 6f 72 20 74 72 61 69 6c 69 6e 67 20 65 6e 64 20 6f at.the.leading.or.trailing.end.o
37200 66 20 74 68 65 20 73 6c 75 67 2e 22 0a 20 20 28 6c 65 74 2a 20 28 3b 3b 20 41 6c 6c 20 6c 6f 77 f.the.slug."...(let*.(;;.All.low
37220 65 72 2d 63 61 73 65 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 64 6f 77 6e 63 61 73 65 20 er-case..........(str.(downcase.
37240 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 22 3c 46 4f 4f 3e 2e str))..........;;.Remove."<FOO>.
37260 2e 3c 2f 46 4f 4f 3e 22 20 48 54 4d 4c 20 74 61 67 73 20 69 66 20 70 72 65 73 65 6e 74 2e 0a 20 .</FOO>".HTML.tags.if.present...
37280 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-
372a0 73 74 72 69 6e 67 20 22 3c 5c 5c 28 3f 31 3a 5b 61 2d 7a 5d 2b 5c 5c 29 5b 5e 3e 5d 2a 3e 2e 2a string."<\\(?1:[a-z]+\\)[^>]*>.*
372c0 3c 2f 5c 5c 31 3e 22 20 22 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d </\\1>"."".str))..........;;.Rem
372e0 6f 76 65 20 55 52 4c 73 20 69 66 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 65 20 73 74 72 69 6e ove.URLs.if.present.in.the.strin
37300 67 2e 20 20 54 68 65 20 22 29 22 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 62 g...The.")".in.the..........;;.b
37320 65 6c 6f 77 20 72 65 67 65 78 70 20 69 73 20 74 68 65 20 63 6c 6f 73 69 6e 67 20 70 61 72 65 6e elow.regexp.is.the.closing.paren
37340 74 68 65 73 69 73 20 6f 66 20 61 20 4d 61 72 6b 64 6f 77 6e 0a 20 20 20 20 20 20 20 20 20 3b 3b thesis.of.a.Markdown..........;;
37360 20 6c 69 6e 6b 3a 20 5b 44 65 73 63 5d 28 4c 69 6e 6b 29 2e 0a 20 20 20 20 20 20 20 20 20 28 73 .link:.[Desc](Link)...........(s
37380 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 28 63 6f tr.(replace-regexp-in-string.(co
373a0 6e 63 61 74 20 22 5c 5c 5d 28 22 20 66 66 61 70 2d 75 72 6c 2d 72 65 67 65 78 70 20 22 5b 5e 29 ncat."\\](".ffap-url-regexp."[^)
373c0 5d 2b 29 22 29 20 22 5d 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c ]+)")."]".str))..........;;.Repl
373e0 61 63 65 20 22 26 22 20 77 69 74 68 20 22 20 61 6e 64 20 22 2c 20 22 2e 22 20 77 69 74 68 20 22 ace."&".with.".and.",.".".with."
37400 20 64 6f 74 20 22 2c 20 22 2b 22 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 22 20 70 .dot.",."+".with..........;;.".p
37420 6c 75 73 20 22 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 65 lus."...........(str.(replace-re
37440 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 22 26 gexp-in-string................"&
37460 22 20 22 20 61 6e 64 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 ".".and."................(replac
37480 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 20 e-regexp-in-string..............
374a0 20 20 20 22 5c 5c 2e 22 20 22 20 64 6f 74 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..."\\.".".dot."................
374c0 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 20 .(replace-regexp-in-string......
374e0 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 2b 22 20 22 20 70 6c 75 73 20 22 20 73 74 72 29 29 ............"\\+".".plus.".str))
37500 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 61 6c 6c 20 63 68 61 72 61 ))..........;;.Replace.all.chara
37520 63 74 65 72 73 20 65 78 63 65 70 74 20 61 6c 70 68 61 62 65 74 73 2c 20 6e 75 6d 62 65 72 73 20 cters.except.alphabets,.numbers.
37540 61 6e 64 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 70 61 72 65 6e 74 68 65 73 65 73 20 77 69 74 68 and..........;;.parentheses.with
37560 20 73 70 61 63 65 73 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 72 65 70 6c 61 63 65 2d .spaces...........(str.(replace-
37580 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5e 5b 3a 61 6c 6e 75 6d 3a 5d 28 29 5d regexp-in-string."[^[:alnum:]()]
375a0 22 20 22 20 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 4f 6e 20 65 6d 61 63 73 ".".".str))..........;;.On.emacs
375c0 20 32 34 2e 35 2c 20 6d 75 6c 74 69 62 79 74 65 20 70 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 .24.5,.multibyte.punctuation.cha
375e0 72 61 63 74 65 72 73 20 6c 69 6b 65 20 22 ef bc 9a 22 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 61 racters.like."..."..........;;.a
37600 72 65 20 63 6f 6e 73 69 64 65 72 65 64 20 61 73 20 61 6c 70 68 61 6e 75 6d 65 72 69 63 20 63 68 re.considered.as.alphanumeric.ch
37620 61 72 61 63 74 65 72 73 21 20 42 65 6c 6f 77 20 65 76 61 6c 73 20 74 6f 0a 20 20 20 20 20 20 20 aracters!.Below.evals.to........
37640 20 20 3b 3b 20 6e 6f 6e 2d 6e 69 6c 20 6f 6e 20 65 6d 61 63 73 20 32 34 2e 35 3a 0a 20 20 20 20 ..;;.non-nil.on.emacs.24.5:.....
37660 20 20 20 20 20 3b 3b 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 5b 5b 3a 61 6c .....;;...(string-match-p."[[:al
37680 6e 75 6d 3a 5d 5d 2b 22 20 22 ef bc 9a 22 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 53 6f 20 72 num:]]+"."...")..........;;.So.r
376a0 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 73 70 61 63 65 20 6d 61 6e 75 61 6c 6c 79 2e eplace.them.with.space.manually.
376c0 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 28 69 66 20 28 76 65 72 73 69 6f 6e 3c 20 65 6d ...........(str.(if.(version<.em
376e0 61 63 73 2d 76 65 72 73 69 6f 6e 20 22 32 35 2e 30 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 acs-version."25.0").............
37700 20 20 20 20 20 20 28 6c 65 74 20 28 28 6d 75 6c 74 69 62 79 74 65 2d 70 75 6e 63 74 75 61 74 69 ......(let.((multibyte-punctuati
37720 6f 6e 73 2d 73 74 72 20 22 ef bc 9a 22 29 29 20 3b 53 74 72 69 6e 67 20 6f 66 20 6d 75 6c 74 69 ons-str."...")).;String.of.multi
37740 62 79 74 65 20 70 75 6e 63 74 75 61 74 69 6f 6e 20 63 68 61 72 73 0a 20 20 20 20 20 20 20 20 20 byte.punctuation.chars..........
37760 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 73 74 ...........(replace-regexp-in-st
37780 72 69 6e 67 20 28 66 6f 72 6d 61 74 20 22 5b 25 73 5d 22 20 6d 75 6c 74 69 62 79 74 65 2d 70 75 ring.(format."[%s]".multibyte-pu
377a0 6e 63 74 75 61 74 69 6f 6e 73 2d 73 74 72 29 20 22 20 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 nctuations-str).".".str)).......
377c0 20 20 20 20 20 20 20 20 20 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f ..........str))..........;;.Remo
377e0 76 65 20 6c 65 61 64 69 6e 67 20 61 6e 64 20 74 72 61 69 6c 69 6e 67 20 77 68 69 74 65 73 70 61 ve.leading.and.trailing.whitespa
37800 63 65 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 ce...........(str.(replace-regex
37820 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 28 5e 5b 5b 3a 73 70 61 63 65 3a 5d 5d 2a 5c 5c 7c p-in-string."\\(^[[:space:]]*\\|
37840 5b 5b 3a 73 70 61 63 65 3a 5d 5d 2a 24 5c 5c 29 22 20 22 22 20 73 74 72 29 29 0a 20 20 20 20 20 [[:space:]]*$\\)"."".str))......
37860 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 32 20 6f 72 20 6d 6f 72 65 20 73 70 61 63 65 73 20 ....;;.Replace.2.or.more.spaces.
37880 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 20 20 20 20 20 28 73 with.a.single.space...........(s
378a0 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 22 5b 5b tr.(replace-regexp-in-string."[[
378c0 3a 73 70 61 63 65 3a 5d 5d 5c 5c 7b 32 2c 5c 5c 7d 22 20 22 20 22 20 73 74 72 29 29 0a 20 20 20 :space:]]\\{2,\\}".".".str))....
378e0 20 20 20 20 20 20 3b 3b 20 52 65 70 6c 61 63 65 20 70 61 72 65 6e 74 68 65 73 65 73 20 77 69 74 ......;;.Replace.parentheses.wit
37900 68 20 64 6f 75 62 6c 65 2d 68 79 70 68 65 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 28 73 74 72 20 h.double-hyphens...........(str.
37920 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 73 2d 2a (replace-regexp-in-string."\\s-*
37940 28 5b 5b 3a 73 70 61 63 65 3a 5d 5d 2a 5c 5c 28 5b 5e 29 5d 2b 3f 5c 5c 29 5b 5b 3a 73 70 61 63 ([[:space:]]*\\([^)]+?\\)[[:spac
37960 65 3a 5d 5d 2a 29 5c 5c 73 2d 2a 22 20 22 20 2d 5c 5c 31 2d 20 22 20 73 74 72 29 29 0a 20 20 20 e:]]*)\\s-*".".-\\1-.".str))....
37980 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 61 6e 79 20 72 65 6d 61 69 6e 69 6e 67 20 70 61 ......;;.Remove.any.remaining.pa
379a0 72 65 6e 74 68 65 73 65 73 20 63 68 61 72 61 63 74 65 72 2e 0a 20 20 20 20 20 20 20 20 20 28 73 rentheses.character...........(s
379c0 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 22 5b 28 tr.(replace-regexp-in-string."[(
379e0 29 5d 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 70 6c 61 63 65 )]"."".str))..........;;.Replace
37a00 20 73 70 61 63 65 73 20 77 69 74 68 20 68 79 70 68 65 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 28 .spaces.with.hyphens...........(
37a20 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 22 20 str.(replace-regexp-in-string.".
37a40 22 20 22 2d 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 6c "."-".str))..........;;.Remove.l
37a60 65 61 64 69 6e 67 20 61 6e 64 20 74 72 61 69 6c 69 6e 67 20 68 79 70 68 65 6e 73 2e 0a 20 20 20 eading.and.trailing.hyphens.....
37a80 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 73 74 ......(str.(replace-regexp-in-st
37aa0 72 69 6e 67 20 22 5c 5c 28 5e 5b 2d 5d 2a 5c 5c 7c 5b 2d 5d 2a 24 5c 5c 29 22 20 22 22 20 73 74 ring."\\(^[-]*\\|[-]*$\\)"."".st
37ac0 72 29 29 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 61 6c 6c 6f 77 2d 64 6f 75 62 6c 65 2d 68 79 r))).....(unless.allow-double-hy
37ae0 70 68 65 6e 73 0a 20 20 20 20 20 20 28 73 65 74 71 20 73 74 72 20 28 72 65 70 6c 61 63 65 2d 72 phens.......(setq.str.(replace-r
37b00 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 2d 2d 22 20 22 2d 22 20 73 74 72 29 29 29 0a egexp-in-string."--"."-".str))).
37b20 20 20 20 20 73 74 72 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 70 ....str))..(defun.org-hugo-get-p
37b40 61 67 65 2d 6f 72 2d 62 75 6e 64 6c 65 2d 6e 61 6d 65 20 28 65 6c 65 6d 65 6e 74 20 69 6e 66 6f age-or-bundle-name.(element.info
37b60 29 0a 20 20 22 52 65 74 75 72 6e 20 45 4c 45 4d 45 4e 54 27 73 20 73 6c 75 67 20 62 61 73 65 64 )..."Return.ELEMENT's.slug.based
37b80 20 6f 6e 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 61 6e 64 20 60 3a 45 58 .on.`:EXPORT_FILE_NAME'.and.`:EX
37ba0 50 4f 52 54 5f 48 55 47 4f 5f 42 55 4e 44 4c 45 27 2e 0a 0a 49 66 20 74 68 65 20 5c 22 73 6c 75 PORT_HUGO_BUNDLE'...If.the.\"slu
37bc0 67 5c 22 20 6f 66 20 74 68 65 20 65 6c 65 6d 65 6e 74 20 69 73 20 5c 22 73 65 63 74 69 6f 6e 2f g\".of.the.element.is.\"section/
37be0 70 6f 73 74 5c 22 2c 20 72 65 74 75 72 6e 0a 5c 22 70 6f 73 74 5c 22 2e 0a 0a 52 65 74 75 72 6e post\",.return.\"post\"...Return
37c00 20 6e 69 6c 20 69 66 20 45 4c 45 4d 45 4e 54 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 74 68 65 .nil.if.ELEMENT.doesn't.have.the
37c20 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 79 0a 73 65 74 2e 0a .EXPORT_FILE_NAME.property.set..
37c40 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
37c60 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 73 6c 75 67 nication.channel."...(let.((slug
37c80 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 20 65 6c 65 .(org-hugo--heading-get-slug.ele
37ca0 6d 65 6e 74 20 69 6e 66 6f 20 6e 69 6c 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d ment.info.nil))).....(when.(org-
37cc0 73 74 72 69 6e 67 2d 6e 77 2d 70 20 73 6c 75 67 29 0a 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 string-nw-p.slug).......(file-na
37ce0 6d 65 2d 62 61 73 65 20 73 6c 75 67 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 me-base.slug))))..(defun.org-hug
37d00 6f 2d 67 65 74 2d 63 75 73 74 6f 6d 2d 69 64 20 28 65 6c 65 6d 65 6e 74 20 26 6f 70 74 69 6f 6e o-get-custom-id.(element.&option
37d20 61 6c 20 5f 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 45 4c 45 4d 45 4e 54 27 73 20 60 3a al._info)..."Return.ELEMENT's.`:
37d40 43 55 53 54 4f 4d 5f 49 44 27 20 70 72 6f 70 65 72 74 79 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c CUSTOM_ID'.property...Return.nil
37d60 20 69 66 20 45 4c 45 4d 45 4e 54 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 74 68 65 20 43 55 53 .if.ELEMENT.doesn't.have.the.CUS
37d80 54 4f 4d 5f 49 44 20 70 72 6f 70 65 72 74 79 20 73 65 74 2e 22 0a 20 20 28 6f 72 67 2d 73 74 72 TOM_ID.property.set."...(org-str
37da0 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a ing-nw-p.(org-element-property.:
37dc0 43 55 53 54 4f 4d 5f 49 44 20 65 6c 65 6d 65 6e 74 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 CUSTOM_ID.element)))..(defun.org
37de0 2d 68 75 67 6f 2d 67 65 74 2d 69 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 65 6c 65 6d 65 6e 74 20 -hugo-get-id.(&optional.element.
37e00 5f 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 60 3a _info)..."Return.the.value.of.`:
37e20 49 44 27 20 70 72 6f 70 65 72 74 79 20 66 6f 72 20 45 4c 45 4d 45 4e 54 2e 0a 0a 52 65 74 75 72 ID'.property.for.ELEMENT...Retur
37e40 6e 20 6e 69 6c 20 69 66 20 69 64 20 69 73 20 6e 6f 74 20 66 6f 75 6e 64 2e 22 0a 20 20 28 6c 65 n.nil.if.id.is.not.found."...(le
37e60 74 20 28 28 65 6c 65 6d 65 6e 74 2d 62 65 67 69 6e 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 t.((element-begin.(org-element-p
37e80 72 6f 70 65 72 74 79 20 3a 62 65 67 69 6e 20 65 6c 65 6d 65 6e 74 29 29 29 0a 20 20 20 20 28 73 roperty.:begin.element))).....(s
37ea0 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 65 ave-excursion.......(goto-char.e
37ec0 6c 65 6d 65 6e 74 2d 62 65 67 69 6e 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 69 64 2d 67 65 74 29 lement-begin).......(org-id-get)
37ee0 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 68 65 61 64 69 6e 67 )))..(defun.org-hugo-get-heading
37f00 2d 73 6c 75 67 20 28 65 6c 65 6d 65 6e 74 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 -slug.(element.info)..."Return.t
37f20 68 65 20 73 6c 75 67 20 73 74 72 69 6e 67 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 61 6e 20 4f he.slug.string.derived.from.an.O
37f40 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 73 6c 75 67 20 73 74 rg.heading.ELEMENT...The.slug.st
37f60 72 69 6e 67 20 69 73 20 70 61 72 73 65 64 20 66 72 6f 6d 20 74 68 65 20 45 4c 45 4d 45 4e 54 27 ring.is.parsed.from.the.ELEMENT'
37f80 73 20 60 3a 74 69 74 6c 65 27 20 70 72 6f 70 65 72 74 79 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 s.`:title'.property...INFO.is.a.
37fa0 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
37fc0 61 6e 6e 65 6c 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 45 4c 45 4d 45 4e 54 27 73 20 annel...Return.nil.if.ELEMENT's.
37fe0 60 3a 74 69 74 6c 65 27 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 69 6c 20 6f 72 20 61 6e 20 65 `:title'.property.is.nil.or.an.e
38000 6d 70 74 79 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 28 28 74 69 74 6c 65 20 28 6f 72 mpty.string."...(let.((title.(or
38020 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 0a 20 20 20 20 20 g-export-data-with-backend......
38040 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 ...........(org-element-property
38060 20 3a 74 69 74 6c 65 20 65 6c 65 6d 65 6e 74 29 20 27 6d 64 20 69 6e 66 6f 29 29 29 0a 20 20 20 .:title.element).'md.info)))....
38080 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 68 75 67 6f 2d 73 6c 75 67 .(org-string-nw-p.(org-hugo-slug
380a0 20 74 69 74 6c 65 20 3a 61 6c 6c 6f 77 2d 64 6f 75 62 6c 65 2d 68 79 70 68 65 6e 73 29 29 29 29 .title.:allow-double-hyphens))))
380c0 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 67 65 74 2d 6d 64 35 20 28 65 6c 65 6d 65 ..(defun.org-hugo-get-md5.(eleme
380e0 6e 74 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 6d 64 35 20 73 75 6d 20 64 65 72 69 76 nt.info)..."Return.md5.sum.deriv
38100 65 64 20 73 74 72 69 6e 67 20 75 73 69 6e 67 20 45 4c 45 4d 45 4e 54 27 73 20 74 69 74 6c 65 20 ed.string.using.ELEMENT's.title.
38120 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 20 75 73 65 64 20 property...INFO.is.a.plist.used.
38140 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 54 68 69 as.a.communication.channel...Thi
38160 73 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 6e 65 76 65 72 20 72 65 74 75 72 6e 20 6e 69 6c s.function.will.never.return.nil
38180 2e 22 0a 20 20 28 6c 65 74 20 28 28 68 61 73 68 2d 6c 65 6e 20 36 29 0a 20 20 20 20 20 20 20 20 ."...(let.((hash-len.6).........
381a0 28 74 69 74 6c 65 20 28 6f 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 (title.(or.(org-string-nw-p.(org
381c0 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 0a 20 20 20 20 20 20 -export-data-with-backend.......
381e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
38200 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 69 74 6c 65 20 65 6c 65 6d org-element-property.:title.elem
38220 65 6e 74 29 20 27 6d 64 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ent).'md.info)).................
38240 20 20 20 22 22 29 29 29 0a 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 20 28 6d 64 35 20 74 69 74 ...""))).....(substring.(md5.tit
38260 6c 65 29 20 30 20 68 61 73 68 2d 6c 65 6e 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 le).0.hash-len)))..(defun.org-hu
38280 67 6f 2d 2d 67 65 74 2d 65 6c 65 6d 2d 77 69 74 68 2d 70 72 6f 70 20 28 70 72 6f 70 20 26 6f 70 go--get-elem-with-prop.(prop.&op
382a0 74 69 6f 6e 61 6c 20 70 6f 6d 20 5f 69 6e 66 6f 29 0a 20 20 22 46 69 6e 64 20 74 68 65 20 66 69 tional.pom._info)..."Find.the.fi
382c0 72 73 74 20 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 50 52 4f 50 20 70 72 6f 70 65 72 74 79 20 69 rst.element.with.PROP.property.i
382e0 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 72 65 65 2e 0a 0a 50 52 4f 50 20 69 73 20 61 20 70 n.the.current.tree...PROP.is.a.p
38300 72 6f 70 65 72 74 79 20 73 79 6d 62 6f 6c 20 77 69 74 68 20 61 20 3a 20 70 72 65 66 69 78 2c 20 roperty.symbol.with.a.:.prefix,.
38320 65 78 61 6d 70 6c 65 3a 0a 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 2e 0a 0a 4f example:.`:EXPORT_FILE_NAME'...O
38340 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 50 4f 4d 20 69 73 20 74 68 65 20 70 6f 73 69 ptional.argument.POM.is.the.posi
38360 74 69 6f 6e 20 6f 72 20 6d 61 72 6b 65 72 20 66 72 6f 6d 20 77 68 69 63 68 20 74 68 65 0a 75 70 tion.or.marker.from.which.the.up
38380 77 61 72 64 20 73 65 61 72 63 68 20 66 6f 72 20 50 52 4f 50 20 73 68 6f 75 6c 64 20 62 65 67 69 ward.search.for.PROP.should.begi
383a0 6e 2e 0a 0a 52 65 74 75 72 6e 20 61 20 63 6f 6e 73 20 6f 66 20 74 79 70 65 20 28 45 4c 45 4d 20 n...Return.a.cons.of.type.(ELEM.
383c0 2e 20 50 56 41 4c 29 20 77 68 65 72 65 20 45 4c 45 4d 20 69 73 20 74 68 65 20 65 6c 65 6d 65 6e ..PVAL).where.ELEM.is.the.elemen
383e0 74 0a 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 50 52 4f 50 20 61 t.containing.the.property.PROP.a
38400 6e 64 20 50 56 41 4c 20 69 73 20 74 68 65 20 70 72 6f 70 65 72 74 79 27 73 20 76 61 6c 75 65 2e nd.PVAL.is.the.property's.value.
38420 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 74 68 65 20 50 52 4f 50 20 69 73 20 6e 6f 74 20 ..Return.nil.if.the.PROP.is.not.
38440 66 6f 75 6e 64 20 6f 72 20 69 66 20 74 68 65 20 50 56 41 4c 20 69 73 20 6e 69 6c 2e 0a 0a 54 68 found.or.if.the.PVAL.is.nil...Th
38460 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 63 72 65 61 74 65 64 20 61 73 20 61 20 77 6f 72 6b is.function.is.created.as.a.work
38480 61 72 6f 75 6e 64 20 66 6f 72 20 4f 72 67 20 39 2e 35 20 61 6e 64 20 6f 6c 64 65 72 0a 76 65 72 around.for.Org.9.5.and.older.ver
384a0 73 69 6f 6e 73 20 66 6f 72 20 74 68 65 20 69 73 73 75 65 20 74 68 61 74 20 60 6f 72 67 2d 65 6c sions.for.the.issue.that.`org-el
384c0 65 6d 65 6e 74 2d 61 74 2d 70 6f 69 6e 74 27 20 64 6f 65 73 20 6e 6f 74 0a 72 65 74 75 72 6e 20 ement-at-point'.does.not.return.
384e0 61 6e 20 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 61 6c 6c 20 74 68 65 20 69 6e 68 65 72 69 74 65 an.element.with.all.the.inherite
38500 64 20 70 72 6f 70 65 72 74 69 65 73 2e 20 20 54 68 61 74 20 69 73 73 75 65 0a 69 73 20 66 69 78 d.properties...That.issue.is.fix
38520 65 64 20 69 6e 20 4f 72 67 20 6d 61 69 6e 20 62 72 61 6e 63 68 20 61 74 20 6c 65 61 73 74 20 61 ed.in.Org.main.branch.at.least.a
38540 73 20 6f 66 20 32 30 32 32 2d 30 33 2d 31 37 2e 22 0a 20 20 28 6f 72 67 2d 77 69 74 68 2d 77 69 s.of.2022-03-17."...(org-with-wi
38560 64 65 2d 62 75 66 66 65 72 0a 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 28 66 6f 72 6d 61 74 de-buffer....;;.(message.(format
38580 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 31 20 3a 20 25 53 ."[search.prop.DBG].point.1.:.%S
385a0 22 20 28 70 6f 69 6e 74 29 29 29 0a 20 20 20 28 77 68 65 6e 20 70 6f 6d 0a 20 20 20 20 20 28 67 ".(point)))....(when.pom......(g
385c0 6f 74 6f 2d 63 68 61 72 20 70 6f 6d 29 29 0a 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 28 66 oto-char.pom))....;;.(message.(f
385e0 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 6f 69 6e 74 20 32 ormat."[search.prop.DBG].point.2
38600 20 3a 20 25 53 22 20 28 70 6f 69 6e 74 29 29 29 0a 20 20 20 28 6f 72 67 2d 62 61 63 6b 2d 74 6f .:.%S".(point)))....(org-back-to
38620 2d 68 65 61 64 69 6e 67 2d 6f 72 2d 70 6f 69 6e 74 2d 6d 69 6e 20 3a 69 6e 76 69 73 69 62 6c 65 -heading-or-point-min.:invisible
38640 2d 6f 6b 29 0a 20 20 20 28 6c 65 74 20 28 28 65 6c 65 6d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 -ok)....(let.((elem.(org-element
38660 2d 61 74 2d 70 6f 69 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 65 76 65 6c 20 74 29 0a 20 -at-point))..........(level.t)..
38680 20 20 20 20 20 20 20 20 70 76 61 6c 29 0a 20 20 20 20 20 28 63 61 74 63 68 20 3a 66 6f 75 6e 64 ........pval)......(catch.:found
386a0 0a 20 20 20 20 20 20 20 28 77 68 69 6c 65 20 65 6c 65 6d 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 ........(while.elem..........;;.
386c0 28 6d 65 73 73 61 67 65 20 28 66 6f 72 6d 61 74 20 22 5b 73 65 61 72 63 68 20 70 72 6f 70 20 44 (message.(format."[search.prop.D
386e0 42 47 5d 20 70 72 6f 70 20 25 53 2c 20 65 6c 65 6d 20 3a 20 25 53 22 20 70 72 6f 70 20 65 6c 65 BG].prop.%S,.elem.:.%S".prop.ele
38700 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 70 76 61 6c 20 28 6f 72 67 2d 65 6c 65 m))..........(setq.pval.(org-ele
38720 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 70 72 6f 70 20 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 ment-property.prop.elem)).......
38740 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 20 70 72 6f 70 20 44 42 47 ...;;.(message."[search.prop.DBG
38760 5d 20 6c 65 76 65 6c 20 25 53 2c 20 70 76 61 6c 20 25 53 22 20 6c 65 76 65 6c 20 70 76 61 6c 29 ].level.%S,.pval.%S".level.pval)
38780 0a 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 20 70 76 61 6c 20 28 6e 75 6c 6c 20 6c ..........(when.(or.pval.(null.l
387a0 65 76 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6e 75 6c 6c 20 70 76 61 6c evel))............(if.(null.pval
387c0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 72 65 27 73 20 70 72 6f 62 )................;;.There's.prob
387e0 61 62 6c 79 20 6e 6f 20 76 61 6c 75 65 20 74 6f 20 64 69 73 74 69 6e 67 75 69 73 68 0a 20 20 20 ably.no.value.to.distinguish....
38800 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 65 74 77 65 65 6e 20 74 68 65 20 63 61 73 65 20 ............;;.between.the.case.
38820 77 68 65 72 65 20 61 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 where.a.property.is.not.........
38840 20 20 20 20 20 20 20 3b 3b 20 66 6f 75 6e 64 2c 20 6f 72 20 74 68 65 20 63 61 73 65 20 77 68 65 .......;;.found,.or.the.case.whe
38860 72 65 20 74 68 65 20 70 72 6f 70 65 72 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b re.the.property................;
38880 3b 20 76 61 6c 75 65 20 69 73 20 6e 69 6c 2e 20 52 65 76 69 73 69 74 20 74 68 69 73 20 69 66 20 ;.value.is.nil..Revisit.this.if.
388a0 74 68 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 68 61 6e 67 65 73 2e 0a that................;;.changes..
388c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 72 6f 77 20 3a 66 6f 75 6e 64 20 6e 69 6c ...............(throw.:found.nil
388e0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 72 6f 77 20 3a 66 6f 75 6e 64 20 28 63 6f )..............(throw.:found.(co
38900 6e 73 20 65 6c 65 6d 20 70 76 61 6c 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 ns.elem.pval))))..........(setq.
38920 6c 65 76 65 6c 20 28 6f 72 67 2d 75 70 2d 68 65 61 64 69 6e 67 2d 73 61 66 65 29 29 0a 20 20 20 level.(org-up-heading-safe))....
38940 20 20 20 20 20 20 28 73 65 74 71 20 65 6c 65 6d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 74 ......(setq.elem.(org-element-at
38960 2d 70 6f 69 6e 74 29 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d -point)))))))..(defun.org-hugo--
38980 68 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 28 68 65 61 64 69 6e 67 20 69 6e 66 6f 20 26 heading-get-slug.(heading.info.&
389a0 6f 70 74 69 6f 6e 61 6c 20 69 6e 68 65 72 69 74 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 6e 61 6d optional.inherit-export-file-nam
389c0 65 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 73 6c 75 67 20 73 74 72 69 6e 67 20 64 65 72 e)..."Return.the.slug.string.der
389e0 69 76 65 64 20 66 72 6f 6d 20 61 6e 20 4f 72 67 20 48 45 41 44 49 4e 47 20 65 6c 65 6d 65 6e 74 ived.from.an.Org.HEADING.element
38a00 2e 0a 0a 31 2e 20 49 66 20 48 45 41 44 49 4e 47 20 68 61 73 20 6f 6e 6c 79 20 60 3a 45 58 50 4f ...1..If.HEADING.has.only.`:EXPO
38a20 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 20 61 6e 64 20 69 74 27 73 20 6e 6f 74 20 61 20 48 75 67 RT_FILE_NAME'.and.it's.not.a.Hug
38a40 6f 0a 20 20 20 70 61 67 65 20 62 75 6e 64 6c 65 2c 20 75 73 65 20 74 68 61 74 20 70 72 6f 70 65 o....page.bundle,.use.that.prope
38a60 72 74 79 20 61 73 20 73 6c 75 67 2e 0a 0a 32 2e 20 49 66 20 48 45 41 44 49 4e 47 20 68 61 73 20 rty.as.slug...2..If.HEADING.has.
38a80 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 65 72 74 79 2c 20 a.`:EXPORT_FILE_NAME'.property,.
38aa0 61 6e 64 20 69 74 73 20 76 61 6c 75 65 0a 20 20 20 69 73 20 65 69 74 68 65 72 20 5c 22 69 6e 64 and.its.value....is.either.\"ind
38ac0 65 78 5c 22 20 6f 72 20 5c 22 5f 69 6e 64 65 78 5c 22 2c 20 75 73 65 20 60 3a 45 58 50 4f 52 54 ex\".or.\"_index\",.use.`:EXPORT
38ae0 5f 48 55 47 4f 5f 42 55 4e 44 4c 45 27 0a 20 20 20 74 6f 20 64 65 72 69 76 65 20 74 68 65 20 73 _HUGO_BUNDLE'....to.derive.the.s
38b00 6c 75 67 2e 20 20 5c 22 69 6e 64 65 78 5c 22 20 73 75 62 74 72 65 65 20 69 73 20 61 20 4c 65 61 lug...\"index\".subtree.is.a.Lea
38b20 66 20 42 75 6e 64 6c 65 2c 20 61 6e 64 0a 20 20 20 5c 22 5f 69 6e 64 65 78 5c 22 20 73 75 62 74 f.Bundle,.and....\"_index\".subt
38b40 72 65 65 20 69 73 20 61 20 42 72 61 6e 63 68 20 42 75 6e 64 6c 65 2e 0a 0a 33 2e 20 49 66 20 48 ree.is.a.Branch.Bundle...3..If.H
38b60 45 41 44 49 4e 47 20 68 61 73 20 61 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 27 EADING.has.a.`:EXPORT_FILE_NAME'
38b80 20 70 72 6f 70 65 72 74 79 2c 20 61 6e 64 20 69 74 73 20 76 61 6c 75 65 0a 20 20 20 69 73 20 6e .property,.and.its.value....is.n
38ba0 65 69 74 68 65 72 20 5c 22 69 6e 64 65 78 5c 22 20 6e 6f 72 20 5c 22 5f 69 6e 64 65 78 5c 22 2c either.\"index\".nor.\"_index\",
38bc0 20 75 73 65 20 74 68 61 74 20 74 6f 20 64 65 72 69 76 65 20 74 68 65 0a 20 20 20 73 6c 75 67 2e .use.that.to.derive.the....slug.
38be0 0a 0a 49 66 20 49 4e 48 45 52 49 54 2d 45 58 50 4f 52 54 2d 46 49 4c 45 2d 4e 41 4d 45 20 69 73 ..If.INHERIT-EXPORT-FILE-NAME.is
38c00 20 6e 6f 6e 2d 6e 69 6c 2c 20 61 6c 6c 6f 77 20 69 6e 68 65 72 69 74 69 6e 67 20 74 68 65 0a 60 .non-nil,.allow.inheriting.the.`
38c20 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 20 66 72 6f 6d :EXPORT_FILE_NAME'.property.from
38c40 20 61 20 70 61 72 65 6e 74 20 73 75 62 74 72 65 65 2e 0a 0a 54 68 65 20 60 3a 45 58 50 4f 52 54 .a.parent.subtree...The.`:EXPORT
38c60 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 27 20 70 72 6f 70 65 72 74 79 20 6f 72 20 60 23 2b 68 75 _HUGO_SECTION'.property.or.`#+hu
38c80 67 6f 5f 73 65 63 74 69 6f 6e 27 20 6b 65 79 77 6f 72 64 0a 76 61 6c 75 65 20 69 73 20 70 72 65 go_section'.keyword.value.is.pre
38ca0 70 65 6e 64 65 64 20 74 6f 20 61 6c 6c 20 6f 66 20 74 68 65 20 61 62 6f 76 65 20 6f 70 74 69 6f pended.to.all.of.the.above.optio
38cc0 6e 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 ns...INFO.is.a.plist.used.as.a.c
38ce0 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 6e 69 ommunication.channel...Return.ni
38d00 6c 20 69 66 20 6e 6f 6e 65 20 6f 66 20 74 68 65 20 61 62 6f 76 65 20 61 72 65 20 74 72 75 65 2e l.if.none.of.the.above.are.true.
38d20 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 0a 20 20 20 28 6c 65 "...(org-with-wide-buffer....(le
38d40 74 20 28 28 68 65 61 64 69 6e 67 2d 62 65 67 69 6e 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 t.((heading-begin.(org-element-p
38d60 72 6f 70 65 72 74 79 20 3a 62 65 67 69 6e 20 68 65 61 64 69 6e 67 29 29 29 0a 20 20 20 20 20 28 roperty.:begin.heading)))......(
38d80 77 68 65 6e 20 68 65 61 64 69 6e 67 2d 62 65 67 69 6e 0a 20 20 20 20 20 20 20 28 67 6f 74 6f 2d when.heading-begin........(goto-
38da0 63 68 61 72 20 68 65 61 64 69 6e 67 2d 62 65 67 69 6e 29 29 29 0a 20 20 20 28 6c 65 74 20 28 28 char.heading-begin)))....(let.((
38dc0 66 69 6c 65 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 65 78 70 6f 72 file.(org-string-nw-p.(org-expor
38de0 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 5f 46 49 4c 45 t-get-node-property.:EXPORT_FILE
38e00 5f 4e 41 4d 45 20 68 65 61 64 69 6e 67 20 69 6e 68 65 72 69 74 2d 65 78 70 6f 72 74 2d 66 69 6c _NAME.heading.inherit-export-fil
38e20 65 2d 6e 61 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 20 73 6c 75 67 29 0a e-name)))..........bundle.slug).
38e40 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 68 65 61 .....;;.(message."[org-hugo--hea
38e60 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e ding-get-slug.DBG].EXPORT_FILE_N
38e80 41 4d 45 3a 20 25 53 22 20 66 69 6c 65 29 0a 20 20 20 20 20 28 77 68 65 6e 20 66 69 6c 65 0a 20 AME:.%S".file)......(when.file..
38ea0 20 20 20 20 20 20 28 73 65 74 71 20 62 75 6e 64 6c 65 20 28 6c 65 74 2a 20 28 28 65 6c 65 6d 2d ......(setq.bundle.(let*.((elem-
38ec0 70 76 61 6c 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 pval.(org-hugo--get-elem-with-pr
38ee0 6f 70 20 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 42 55 4e 44 4c 45 29 29 0a 20 20 20 20 20 20 20 op.:EXPORT_HUGO_BUNDLE))........
38f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 76 61 6c 20 28 77 68 65 6e 20 ....................(pval.(when.
38f20 65 6c 65 6d 2d 70 76 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 elem-pval.......................
38f40 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 64 72 20 65 6c 65 6d 2d 70 76 61 6c 29 29 29 29 0a .............(cdr.elem-pval)))).
38f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 76 61 6c 29 29 0a 0a 20 20 ......................pval))....
38f80 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 3b 3b 20 4c 65 61 66 20 6f 72 20 62 72 .....(cond.........;;.Leaf.or.br
38fa0 61 6e 63 68 20 62 75 6e 64 6c 65 20 6c 61 6e 64 69 6e 67 20 70 61 67 65 2e 0a 20 20 20 20 20 20 anch.bundle.landing.page........
38fc0 20 20 28 28 61 6e 64 20 62 75 6e 64 6c 65 20 66 69 6c 65 20 28 6d 65 6d 62 65 72 20 66 69 6c 65 ..((and.bundle.file.(member.file
38fe0 20 27 28 22 69 6e 64 65 78 22 20 3b 4c 65 61 66 20 62 75 6e 64 6c 65 0a 20 20 20 20 20 20 20 20 .'("index".;Leaf.bundle.........
39000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39020 20 22 5f 69 6e 64 65 78 22 20 3b 42 72 61 6e 63 68 20 62 75 6e 64 6c 65 0a 20 20 20 20 20 20 20 ."_index".;Branch.bundle........
39040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39060 20 20 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 6c 75 67 20 62 75 6e 64 6c 65 ..)))..........(setq.slug.bundle
39080 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 72 67 2d 68 75 67 )..........;;.(message."[org-hug
390a0 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 62 75 6e 64 6c 65 20 o--heading-get-slug.DBG].bundle.
390c0 73 6c 75 67 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 20 20 20 20 20 20 20 29 0a 20 20 20 20 20 slug:.%S".slug)..........)......
390e0 20 20 20 3b 3b 20 49 74 27 73 20 61 20 48 75 67 6f 20 70 61 67 65 20 62 75 6e 64 6c 65 2c 20 62 ...;;.It's.a.Hugo.page.bundle,.b
39100 75 74 20 74 68 65 20 66 69 6c 65 20 69 73 20 6e 65 69 74 68 65 72 20 69 6e 64 65 78 20 6e 6f 72 ut.the.file.is.neither.index.nor
39120 0a 20 20 20 20 20 20 20 20 3b 3b 20 5f 69 6e 64 65 78 2e 20 53 6f 20 6c 69 6b 65 6c 79 20 61 20 .........;;._index..So.likely.a.
39140 70 61 67 65 20 69 6e 20 61 20 62 72 61 6e 63 68 20 62 75 6e 64 6c 65 2e 0a 20 20 20 20 20 20 20 page.in.a.branch.bundle.........
39160 20 28 28 61 6e 64 20 62 75 6e 64 6c 65 20 66 69 6c 65 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 .((and.bundle.file)..........(se
39180 74 71 20 73 6c 75 67 20 28 63 6f 6e 63 61 74 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 tq.slug.(concat.(file-name-as-di
391a0 72 65 63 74 6f 72 79 20 62 75 6e 64 6c 65 29 20 66 69 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 rectory.bundle).file))..........
391c0 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-
391e0 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 62 72 61 6e 63 68 20 62 75 6e 64 6c 65 20 66 69 6c 65 get-slug.DBG].branch.bundle.file
39200 20 73 6c 75 67 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 20 20 20 20 20 20 20 29 0a 20 20 20 20 .slug:.%S".slug)..........).....
39220 20 20 20 20 3b 3b 20 4e 6f 74 20 61 20 48 75 67 6f 20 70 61 67 65 20 62 75 6e 64 6c 65 2e 0a 20 ....;;.Not.a.Hugo.page.bundle...
39240 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 6c 75 67 20 66 69 .......(t..........(setq.slug.fi
39260 6c 65 29 29 29 0a 0a 20 20 20 20 20 20 20 3b 3b 20 50 72 65 66 69 78 20 77 69 74 68 20 73 65 63 le))).........;;.Prefix.with.sec
39280 74 69 6f 6e 20 61 6e 64 20 66 72 61 67 6d 65 6e 74 65 64 20 73 65 63 74 69 6f 6e 73 20 69 66 20 tion.and.fragmented.sections.if.
392a0 61 6e 79 2e 0a 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 70 68 65 61 64 69 6e 67 20 68 65 61 64 any.........(let.((pheading.head
392c0 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 63 74 69 6f 6e 20 66 72 61 67 6d 65 ing)..............section.fragme
392e0 6e 74 20 66 72 61 67 6d 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 65 63 nt.fragments)..........(setq.sec
39300 74 69 6f 6e 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 tion.(org-string-nw-p...........
39320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 ..............(or.(org-export-ge
39340 74 2d 6e 6f 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 t-node-property.:EXPORT_HUGO_SEC
39360 54 49 4f 4e 20 68 65 61 64 69 6e 67 20 3a 69 6e 68 65 72 69 74 65 64 29 0a 20 20 20 20 20 20 20 TION.heading.:inherited)........
39380 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.
393a0 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 65 63 74 69 6f 6e 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 info.:hugo-section))))..........
393c0 20 3b 3b 20 49 74 65 72 61 74 65 20 6f 76 65 72 20 61 6c 6c 20 70 61 72 65 6e 74 73 20 6f 66 20 .;;.Iterate.over.all.parents.of.
393e0 68 65 61 64 69 6e 67 2c 20 61 6e 64 20 63 6f 6c 6c 65 63 74 20 73 65 63 74 69 6f 6e 0a 20 20 20 heading,.and.collect.section....
39400 20 20 20 20 20 20 3b 3b 20 70 61 74 68 20 66 72 61 67 6d 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 ......;;.path.fragments.........
39420 20 20 28 77 68 69 6c 65 20 28 61 6e 64 20 70 68 65 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 ..(while.(and.pheading..........
39440 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
39460 2d 6e 6f 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 -node-property.:EXPORT_HUGO_SECT
39480 49 4f 4e 20 70 68 65 61 64 69 6e 67 20 6e 69 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 3b ION.pheading.nil)))............;
394a0 3b 20 41 64 64 20 74 68 65 20 3a 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5f 46 ;.Add.the.:EXPORT_HUGO_SECTION_F
394c0 52 41 47 20 76 61 6c 75 65 20 74 6f 20 74 68 65 20 66 72 61 67 6d 65 6e 74 20 6c 69 73 74 2e 0a RAG.value.to.the.fragment.list..
394e0 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 65 74 71 20 66 72 61 67 6d 65 6e 74 20 ...........(when.(setq.fragment.
39500 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 6f 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 (org-export-get-node-property.:E
39520 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 5f 46 52 41 47 20 70 68 65 61 64 69 6e 67 XPORT_HUGO_SECTION_FRAG.pheading
39540 20 6e 69 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 66 72 61 67 6d 65 .nil))..............(push.fragme
39560 6e 74 20 66 72 61 67 6d 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 nt.fragments))............(setq.
39580 70 68 65 61 64 69 6e 67 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a pheading.(org-element-property.:
395a0 70 61 72 65 6e 74 20 70 68 65 61 64 69 6e 67 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 28 77 68 parent.pheading)))...........(wh
395c0 65 6e 20 73 65 63 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 6c 75 67 en.section............(setq.slug
395e0 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 72 79 .(concat.(file-name-as-directory
39600 20 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 20 20 20 .section).......................
39620 20 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 66 69 6c 65 2d 6e 61 6d 65 2d 61 ........(mapconcat.#'file-name-a
39640 73 2d 64 69 72 65 63 74 6f 72 79 20 66 72 61 67 6d 65 6e 74 73 20 22 22 29 0a 20 20 20 20 20 20 s-directory.fragments."").......
39660 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 6c 75 67 29 29 29 0a ........................slug))).
39680 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-
396a0 2d 68 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 44 42 47 5d 20 73 65 63 74 69 6f 6e 3a 20 -heading-get-slug.DBG].section:.
396c0 25 53 22 20 73 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 %S".section)..........;;.(messag
396e0 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 6c 75 67 20 44 e."[org-hugo--heading-get-slug.D
39700 42 47 5d 20 73 65 63 74 69 6f 6e 20 2b 20 73 6c 75 67 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 BG].section.+.slug:.%S".slug)...
39720 20 20 20 20 20 20 20 29 29 0a 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 .......))......;;.(message."[org
39740 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 46 49 4e -hugo--heading-get-slug.DBG].FIN
39760 41 4c 20 73 6c 75 67 3a 20 25 53 22 20 73 6c 75 67 29 0a 20 20 20 20 20 73 6c 75 67 29 29 29 0a AL.slug:.%S".slug)......slug))).
39780 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 72 28 65 6c 65 .(defun.org-hugo--get-anchor(ele
397a0 6d 65 6e 74 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 61 6e 63 68 6f 72 20 73 74 72 69 ment.info)..."Return.anchor.stri
397c0 6e 67 20 66 6f 72 20 4f 72 67 20 68 65 61 64 69 6e 67 20 45 4c 45 4d 45 4e 54 2e 0a 0a 54 68 65 ng.for.Org.heading.ELEMENT...The
397e0 20 61 6e 63 68 6f 72 20 69 73 20 64 65 72 69 76 65 64 20 75 73 69 6e 67 20 74 68 65 20 66 69 72 .anchor.is.derived.using.the.fir
39800 73 74 20 66 75 6e 63 74 69 6f 6e 20 74 68 61 74 20 72 65 74 75 72 6e 73 20 61 0a 6e 6f 6e 2d 6e st.function.that.returns.a.non-n
39820 69 6c 20 76 61 6c 75 65 20 28 61 20 73 74 72 69 6e 67 29 20 66 72 6f 6d 20 74 68 65 20 6c 69 73 il.value.(a.string).from.the.lis
39840 74 0a 60 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 27 2e 0a 0a t.`org-hugo-anchor-functions'...
39860 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
39880 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 6e 20 65 6d 70 74 ication.channel...Return.an.empt
398a0 79 20 73 74 72 69 6e 67 20 69 66 20 61 6c 6c 20 66 75 6e 63 74 69 6f 6e 73 20 69 6e 0a 60 6f 72 y.string.if.all.functions.in.`or
398c0 67 2d 68 75 67 6f 2d 61 6e 63 68 6f 72 2d 66 75 6e 63 74 69 6f 6e 73 27 20 72 65 74 75 72 6e 20 g-hugo-anchor-functions'.return.
398e0 6e 69 6c 2e 22 0a 20 20 28 6f 72 20 28 73 65 71 2d 73 6f 6d 65 0a 20 20 20 20 20 20 20 28 6c 61 nil."...(or.(seq-some........(la
39900 6d 62 64 61 20 28 66 6e 29 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 65 6c 65 6d 65 6e 74 20 69 6e mbda.(fn).(funcall.fn.element.in
39920 66 6f 29 29 0a 20 20 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 61 6e 63 68 6f 72 2d 66 75 6e 63 fo))........org-hugo-anchor-func
39940 74 69 6f 6e 73 29 0a 20 20 20 20 20 20 22 22 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 tions).......""))..(defun.org-hu
39960 67 6f 2d 2d 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 20 28 73 74 79 6c 65 20 6c 65 76 65 6c 20 6c go--heading-title.(style.level.l
39980 6f 66 66 73 65 74 20 74 69 74 6c 65 20 26 6f 70 74 69 6f 6e 61 6c 20 74 6f 64 6f 20 74 61 67 73 offset.title.&optional.todo.tags
399a0 20 61 6e 63 68 6f 72 20 6e 75 6d 62 65 72 73 29 0a 20 20 22 47 65 6e 65 72 61 74 65 20 61 20 68 .anchor.numbers)..."Generate.a.h
399c0 65 61 64 69 6e 67 20 74 69 74 6c 65 20 69 6e 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 4d 61 eading.title.in.the.preferred.Ma
399e0 72 6b 64 6f 77 6e 20 68 65 61 64 69 6e 67 20 73 74 79 6c 65 2e 0a 0a 53 54 59 4c 45 20 69 73 20 rkdown.heading.style...STYLE.is.
39a00 74 68 65 20 70 72 65 66 65 72 72 65 64 20 73 74 79 6c 65 20 28 60 61 74 78 27 20 6f 72 20 60 73 the.preferred.style.(`atx'.or.`s
39a20 65 74 65 78 74 27 29 2e 0a 4c 45 56 45 4c 20 69 73 20 74 68 65 20 68 65 61 64 65 72 20 6c 65 76 etext')..LEVEL.is.the.header.lev
39a40 65 6c 2e 0a 4c 4f 46 46 53 45 54 20 69 73 20 74 68 65 20 6f 66 66 73 65 74 20 28 61 20 6e 6f 6e el..LOFFSET.is.the.offset.(a.non
39a60 2d 6e 65 67 61 74 69 76 65 20 6e 75 6d 62 65 72 29 20 74 68 61 74 20 69 73 20 61 64 64 65 64 20 -negative.number).that.is.added.
39a80 74 6f 20 74 68 65 0a 4d 61 72 6b 64 6f 77 6e 20 68 65 61 64 69 6e 67 20 6c 65 76 65 6c 20 66 6f to.the.Markdown.heading.level.fo
39aa0 72 20 60 61 74 78 27 20 73 74 79 6c 65 2e 0a 54 49 54 4c 45 20 69 73 20 74 68 65 20 68 65 61 64 r.`atx'.style..TITLE.is.the.head
39ac0 69 6e 67 20 74 69 74 6c 65 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 54 4f ing.title...Optional.argument.TO
39ae0 44 4f 20 69 73 20 74 68 65 20 4f 72 67 20 54 4f 44 4f 20 73 74 72 69 6e 67 2e 0a 0a 4f 70 74 69 DO.is.the.Org.TODO.string...Opti
39b00 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 54 41 47 53 20 69 73 20 61 20 73 74 72 69 6e 67 20 63 onal.argument.TAGS.is.a.string.c
39b20 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 63 75 72 72 65 6e 74 0a 68 65 61 64 69 6e 67 27 73 20 ontaining.the.current.heading's.
39b40 74 61 67 73 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 4e 43 48 4f 52 20 tags...Optional.argument.ANCHOR.
39b60 69 73 20 74 68 65 20 48 75 67 6f 20 61 6e 63 68 6f 72 20 74 61 67 20 66 6f 72 20 74 68 65 20 73 is.the.Hugo.anchor.tag.for.the.s
39b80 65 63 74 69 6f 6e 20 61 73 20 61 0a 73 74 72 69 6e 67 2e 0a 0a 4f 70 74 69 6f 6e 61 6c 20 61 72 ection.as.a.string...Optional.ar
39ba0 67 75 6d 65 6e 74 20 4e 55 4d 42 45 52 53 2c 20 69 66 20 6e 6f 6e 2d 6e 69 6c 2c 20 69 73 20 61 gument.NUMBERS,.if.non-nil,.is.a
39bc0 6e 20 68 74 6d 6c 69 7a 65 64 20 73 74 72 69 6e 67 0a 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 n.htmlized.string.containing.the
39be0 20 54 49 54 4c 45 27 73 20 6e 75 6d 62 65 72 2e 22 0a 20 20 28 6c 65 74 20 28 28 68 65 61 64 69 .TITLE's.number."...(let.((headi
39c00 6e 67 20 28 63 6f 6e 63 61 74 20 74 6f 64 6f 20 6e 75 6d 62 65 72 73 20 74 69 74 6c 65 20 74 61 ng.(concat.todo.numbers.title.ta
39c20 67 73 20 22 20 22 20 61 6e 63 68 6f 72 20 22 5c 6e 22 29 29 29 0a 20 20 20 20 3b 3b 20 55 73 65 gs.".".anchor."\n"))).....;;.Use
39c40 20 22 53 65 74 65 78 74 22 20 73 74 79 6c 65 0a 20 20 20 20 28 69 66 20 28 61 6e 64 20 28 65 71 ."Setext".style.....(if.(and.(eq
39c60 20 73 74 79 6c 65 20 27 73 65 74 65 78 74 29 20 28 3c 20 6c 65 76 65 6c 20 33 29 29 0a 20 20 20 .style.'setext).(<.level.3))....
39c80 20 20 20 20 20 28 6c 65 74 2a 20 28 28 75 6e 64 65 72 6c 69 6e 65 2d 63 68 61 72 20 28 69 66 20 .....(let*.((underline-char.(if.
39ca0 28 3d 20 6c 65 76 65 6c 20 31 29 20 3f 3d 20 3f 2d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 (=.level.1).?=.?-)).............
39cc0 20 20 20 28 75 6e 64 65 72 6c 69 6e 65 20 28 63 6f 6e 63 61 74 20 28 6d 61 6b 65 2d 73 74 72 69 ...(underline.(concat.(make-stri
39ce0 6e 67 20 28 6c 65 6e 67 74 68 20 68 65 61 64 69 6e 67 29 20 75 6e 64 65 72 6c 69 6e 65 2d 63 68 ng.(length.heading).underline-ch
39d00 61 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 ar).............................
39d20 20 20 20 20 20 20 22 5c 6e 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 ......"\n")))...........(concat.
39d40 22 5c 6e 22 20 68 65 61 64 69 6e 67 20 75 6e 64 65 72 6c 69 6e 65 20 22 5c 6e 22 29 29 0a 20 20 "\n".heading.underline."\n"))...
39d60 20 20 20 20 3b 3b 20 55 73 65 20 22 41 74 78 22 20 73 74 79 6c 65 0a 20 20 20 20 20 20 3b 3b 20 ....;;.Use."Atx".style.......;;.
39d80 41 6c 77 61 79 73 20 74 72 61 6e 73 6c 61 74 65 20 6c 65 76 65 6c 20 4e 20 4f 72 67 20 68 65 61 Always.translate.level.N.Org.hea
39da0 64 69 6e 67 20 74 6f 20 6c 65 76 65 6c 20 4e 2b 31 20 4d 61 72 6b 64 6f 77 6e 0a 20 20 20 20 20 ding.to.level.N+1.Markdown......
39dc0 20 3b 3b 20 68 65 61 64 69 6e 67 20 62 65 63 61 75 73 65 20 4d 61 72 6b 64 6f 77 6e 20 6c 65 76 .;;.heading.because.Markdown.lev
39de0 65 6c 20 31 20 68 65 61 64 69 6e 67 20 61 6e 64 20 48 54 4d 4c 20 74 69 74 6c 65 20 62 6f 74 68 el.1.heading.and.HTML.title.both
39e00 0a 20 20 20 20 20 20 3b 3b 20 67 65 74 20 74 68 65 20 48 54 4d 4c 20 3c 68 31 3e 20 74 61 67 2c .......;;.get.the.HTML.<h1>.tag,
39e20 20 61 6e 64 20 77 65 20 64 6f 20 6e 6f 74 20 77 61 6e 74 20 74 68 65 20 74 6f 70 2d 6d 6f 73 74 .and.we.do.not.want.the.top-most
39e40 20 68 65 61 64 69 6e 67 0a 20 20 20 20 20 20 3b 3b 20 6f 66 20 61 20 70 6f 73 74 20 74 6f 20 6c .heading.......;;.of.a.post.to.l
39e60 6f 6f 6b 20 74 68 65 20 65 78 61 63 74 20 73 61 6d 65 20 61 73 20 74 68 65 20 70 6f 73 74 27 73 ook.the.exact.same.as.the.post's
39e80 20 74 69 74 6c 65 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 65 76 65 6c 2d 6d 61 72 6b 20 .title........(let.((level-mark.
39ea0 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 28 2b 20 6c 6f 66 66 73 65 74 20 6c 65 76 65 6c 29 20 3f (make-string.(+.loffset.level).?
39ec0 23 29 29 29 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 6e 22 20 6c 65 76 65 6c 2d #))).........(concat."\n".level-
39ee0 6d 61 72 6b 20 22 20 22 20 68 65 61 64 69 6e 67 20 22 5c 6e 22 29 29 29 29 29 0a 0a 3b 3b 3b 3b mark.".".heading."\n")))))..;;;;
39f00 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 68 75 67 6f 2d .Inner.Template.(defun.org-hugo-
39f20 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 69 6e 66 6f 29 0a 20 inner-template.(contents.info)..
39f40 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 20 61 66 74 65 72 20 ."Return.body.of.document.after.
39f60 63 6f 6e 76 65 72 74 69 6e 67 20 69 74 20 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 converting.it.to.Hugo-compatible
39f80 20 4d 61 72 6b 64 6f 77 6e 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 74 68 65 20 74 72 61 6e 73 .Markdown..CONTENTS.is.the.trans
39fa0 63 6f 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 coded.contents.string...INFO.is.
39fc0 61 20 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 a.plist.holding.export.options."
39fe0 0a 20 20 28 6c 65 74 2a 20 28 28 74 6f 63 2d 6c 65 76 65 6c 20 28 70 6c 69 73 74 2d 67 65 74 20 ...(let*.((toc-level.(plist-get.
3a000 69 6e 66 6f 20 3a 77 69 74 68 2d 74 6f 63 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 2d 6c info.:with-toc))..........(toc-l
3a020 65 76 65 6c 20 28 69 66 20 28 61 6e 64 20 74 6f 63 2d 6c 65 76 65 6c 0a 20 20 20 20 20 20 20 20 evel.(if.(and.toc-level.........
3a040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 77 68 6f 6c 65 .....................(not.(whole
3a060 6e 75 6d 70 20 74 6f 63 2d 6c 65 76 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nump.toc-level)))...............
3a080 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 65 61 64 6c ..........(plist-get.info.:headl
3a0a0 69 6e 65 2d 6c 65 76 65 6c 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ine-levels).....................
3a0c0 20 20 74 6f 63 2d 6c 65 76 65 6c 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 6f 63 20 28 69 66 20 ..toc-level))..........(toc.(if.
3a0e0 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 20 20 20 20 (and.toc-level..................
3a100 20 20 20 20 20 20 28 77 68 6f 6c 65 6e 75 6d 70 20 74 6f 63 2d 6c 65 76 65 6c 29 0a 20 20 20 20 ......(wholenump.toc-level).....
3a120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3e 20 74 6f 63 2d 6c 65 76 65 6c 20 ...................(>.toc-level.
3a140 30 29 29 20 3b 54 4f 43 20 77 69 6c 6c 20 62 65 20 65 78 70 6f 72 74 65 64 20 6f 6e 6c 79 20 69 0)).;TOC.will.be.exported.only.i
3a160 66 20 74 6f 63 2d 6c 65 76 65 6c 20 69 73 20 70 6f 73 69 74 69 76 65 0a 20 20 20 20 20 20 20 20 f.toc-level.is.positive.........
3a180 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 69 ..........(concat.(org-hugo--bui
3a1a0 6c 64 2d 74 6f 63 20 69 6e 66 6f 20 74 6f 63 2d 6c 65 76 65 6c 29 20 22 5c 6e 22 29 0a 20 20 20 ld-toc.info.toc-level)."\n")....
3a1c0 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 3b 3b 20 48 61 .............""))..........;;.Ha
3a1e0 6e 64 6c 69 6e 67 20 74 68 65 20 63 61 73 65 20 6f 66 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b ndling.the.case.of.special.block
3a200 73 20 69 6e 73 69 64 65 20 6d 61 72 6b 64 6f 77 6e 20 71 75 6f 74 65 0a 20 20 20 20 20 20 20 20 s.inside.markdown.quote.........
3a220 20 3b 3b 20 62 6c 6f 63 6b 73 2e 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 73 20 28 .;;.blocks...........(contents.(
3a240 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 20 20 20 replace-regexp-in-string........
3a260 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 5c 28 5c 6e 5c 5c 73 2d 2a .............(concat."\\(\n\\s-*
3a280 3e 20 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 67 6f 2d 2d >.\\)*".(regexp-quote.org-hugo--
3a2a0 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 20 20 20 20 trim-pre-marker))...............
3a2c0 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 5e 5e 5e 5e 5e 5e 5e 5e 20 4d 61 72 6b 64 ......;;..........^^^^^^^^.Markd
3a2e0 6f 77 6e 20 71 75 6f 74 65 20 62 6c 6f 63 6b 73 20 68 61 76 65 20 6c 69 6e 65 73 20 62 65 67 69 own.quote.blocks.have.lines.begi
3a300 6e 6e 69 6e 67 20 77 69 74 68 20 22 3e 20 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nning.with.">.".................
3a320 20 20 20 20 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d 2d 70 72 65 2d 6d 61 72 6b 65 72 20 3b .....org-hugo--trim-pre-marker.;
3a340 4b 65 65 70 20 74 68 65 20 74 72 69 6d 20 6d 61 72 6b 65 72 3b 20 69 74 20 77 69 6c 6c 20 62 65 Keep.the.trim.marker;.it.will.be
3a360 20 72 65 6d 6f 76 65 64 20 6e 65 78 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .removed.next...................
3a380 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
3a3a0 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 20 .(replace-regexp-in-string......
3a3c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 5c 5c 28 5b 5b 3a 73 70 ...............(concat."\\([[:sp
3a3e0 61 63 65 3a 5d 5d 5c 5c 7c 5c 6e 5c 5c 29 2a 22 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 6f ace:]]\\|\n\\)*".(regexp-quote.o
3a400 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d 2d 70 72 65 2d 6d 61 72 6b 65 72 29 29 0a 20 20 20 20 20 rg-hugo--trim-pre-marker))......
3a420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 ..............."\n".............
3a440 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e ........contents))..........(con
3a460 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 73 74 72 69 6e 67 20 tents.(replace-regexp-in-string.
3a480 3b 54 72 69 6d 20 73 74 75 66 66 20 61 66 74 65 72 20 73 65 6c 65 63 74 65 64 20 65 78 70 6f 72 ;Trim.stuff.after.selected.expor
3a4a0 74 65 64 20 65 6c 65 6d 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ted.elements....................
3a4c0 20 28 63 6f 6e 63 61 74 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 6f 72 67 2d 68 75 67 6f 2d .(concat.(regexp-quote.org-hugo-
3a4e0 2d 74 72 69 6d 2d 70 6f 73 74 2d 6d 61 72 6b 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 -trim-post-marker)..............
3a500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 75 6c 6c 20 75 70 20 74 68 65 20 63 6f ...............;;.Pull.up.the.co
3a520 6e 74 65 6e 74 73 20 66 72 6f 6d 20 74 68 65 20 6e 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 ntents.from.the.next............
3a540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6c 69 6e 65 2c 20 75 6e 6c 65 73 73 .................;;.line,.unless
3a560 20 74 68 65 20 6e 65 78 74 20 6c 69 6e 65 20 69 73 20 61 20 6c 69 73 74 0a 20 20 20 20 20 20 20 .the.next.line.is.a.list........
3a580 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 74 65 6d 20 28 2d 29 .....................;;.item.(-)
3a5a0 2c 20 61 20 68 65 61 64 69 6e 67 20 28 23 29 20 6f 72 20 61 20 63 6f 64 65 20 62 6c 6f 63 6b 0a ,.a.heading.(#).or.a.code.block.
3a5c0 20 20 20 20 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 ............................;;.(
3a5e0 60 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 20 20 20 20 20 `)..............................
3a600 22 5c 5c 28 5b 5b 3a 73 70 61 63 65 3a 5d 3e 5d 5c 5c 7c 5c 6e 5c 5c 29 2b 5c 5c 28 5b 5e 2d 23 "\\([[:space:]>]\\|\n\\)+\\([^-#
3a620 60 5d 5c 5c 29 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 5c 5c `]\\)").....................".\\
3a640 32 22 20 63 6f 6e 74 65 6e 74 73 29 29 29 0a 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 2".contents)))......;;.(message.
3a660 22 5b 6f 72 67 2d 68 75 67 6f 2d 69 6e 6e 65 72 2d 74 65 6d 70 6c 61 74 65 20 44 42 47 5d 20 74 "[org-hugo-inner-template.DBG].t
3a680 6f 63 2d 6c 65 76 65 6c 3a 20 25 73 22 20 74 6f 63 2d 6c 65 76 65 6c 29 0a 20 20 20 20 28 73 74 oc-level:.%s".toc-level).....(st
3a6a0 72 69 6e 67 2d 74 72 69 6d 2d 6c 65 66 74 20 3b 52 65 6d 6f 76 65 20 61 6e 79 20 65 78 74 72 61 ring-trim-left.;Remove.any.extra
3a6c0 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 20 62 65 74 77 65 65 6e 20 66 72 6f 6e 74 2d 6d 61 74 74 65 .blank.lines.between.front-matte
3a6e0 72 20 61 6e 64 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 23 63 6f 6e 73 69 73 74 65 6e 63 79 0a 20 r.and.the.content.#consistency..
3a700 20 20 20 20 28 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 74 6f 63 0a 20 20 20 20 20 20 63 6f 6e 74 ....(concat.......toc.......cont
3a720 65 6e 74 73 0a 20 20 20 20 20 20 3b 3b 20 4d 61 6b 65 20 73 75 72 65 20 43 4f 4e 54 45 4e 54 53 ents.......;;.Make.sure.CONTENTS
3a740 20 69 73 20 73 65 70 61 72 61 74 65 64 20 66 72 6f 6d 20 74 61 62 6c 65 20 6f 66 20 63 6f 6e 74 .is.separated.from.table.of.cont
3a760 65 6e 74 73 0a 20 20 20 20 20 20 3b 3b 20 61 6e 64 20 66 6f 6f 74 6e 6f 74 65 73 20 77 69 74 68 ents.......;;.and.footnotes.with
3a780 20 61 74 20 6c 65 61 73 74 20 61 20 62 6c 61 6e 6b 20 6c 69 6e 65 2e 0a 20 20 20 20 20 20 22 5c .at.least.a.blank.line........"\
3a7a0 6e 22 0a 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 6e 6f n".......(org-blackfriday-footno
3a7c0 74 65 2d 73 65 63 74 69 6f 6e 20 69 6e 66 6f 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6c 61 6e 67 2d te-section.info.(org-hugo--lang-
3a7e0 63 6a 6b 2d 70 20 69 6e 66 6f 29 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 49 6e 6c 69 6e 65 20 53 72 cjk-p.info))))))..;;;;.Inline.Sr
3a800 63 20 42 6c 6f 63 6b 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 69 6e 6c 69 6e 65 2d 73 c.Block.(defun.org-hugo-inline-s
3a820 72 63 2d 62 6c 6f 63 6b 20 28 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 20 5f 63 6f 6e 74 rc-block.(inline-src-block._cont
3a840 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 49 4e 4c 49 4e 45 2d ents._info)..."Transcode.INLINE-
3a860 53 52 43 2d 42 4c 4f 43 4b 20 6f 62 6a 65 63 74 20 69 6e 74 6f 20 48 54 4d 4c 2e 0a 0a 45 73 63 SRC-BLOCK.object.into.HTML...Esc
3a880 61 70 65 20 48 75 67 6f 20 73 68 6f 72 74 63 6f 64 65 73 20 69 66 20 70 72 65 73 65 6e 74 20 69 ape.Hugo.shortcodes.if.present.i
3a8a0 6e 20 74 68 69 73 20 65 6c 65 6d 65 6e 74 27 73 20 76 61 6c 75 65 2e 22 0a 20 20 28 6c 65 74 2a n.this.element's.value."...(let*
3a8c0 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
3a8e0 61 6e 67 75 61 67 65 20 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 anguage.inline-src-block))......
3a900 20 20 20 20 28 63 6f 64 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 73 63 61 70 65 2d 68 75 67 6f ....(code.(org-hugo--escape-hugo
3a920 2d 73 68 6f 72 74 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d -shortcode.................(org-
3a940 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c 75 65 20 69 6e 6c 69 6e 65 2d 73 element-property.:value.inline-s
3a960 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 6c 61 6e 67 29 29 rc-block).................lang))
3a980 29 0a 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 ).....(org-element-put-property.
3a9a0 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 20 3a 76 61 6c 75 65 20 63 6f 64 65 29 0a 20 20 inline-src-block.:value.code)...
3a9c0 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 69 6e 6c 69 6e 65 2d ..(format."<span.class=\"inline-
3a9e0 73 72 63 20 6c 61 6e 67 75 61 67 65 2d 25 73 5c 22 20 64 61 74 61 2d 6c 61 6e 67 3d 5c 22 25 73 src.language-%s\".data-lang=\"%s
3aa00 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 6c 61 6e 67 20 6c \">%s</span>".............lang.l
3aa20 61 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6d 64 2d 76 65 72 62 61 74 69 6d ang.............(org-md-verbatim
3aa40 20 69 6e 6c 69 6e 65 2d 73 72 63 2d 62 6c 6f 63 6b 20 6e 69 6c 20 6e 69 6c 29 29 29 29 0a 0a 3b .inline-src-block.nil.nil))))..;
3aa60 3b 3b 3b 20 4b 65 79 77 6f 72 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 6b 65 79 77 ;;;.Keyword.(defun.org-hugo-keyw
3aa80 6f 72 64 20 28 6b 65 79 77 6f 72 64 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 ord.(keyword.contents.info)..."T
3aaa0 72 61 6e 73 63 6f 64 65 20 61 20 4b 45 59 57 4f 52 44 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 ranscode.a.KEYWORD.element.into.
3aac0 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 66 6f 72 6d 61 74 2e Hugo-compatible.Markdown.format.
3aae0 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 20 61 20 70 6c 69 .CONTENTS.is.nil...INFO.is.a.pli
3ab00 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 0a 63 68 61 6e 6e st.used.as.a.communication.chann
3ab20 65 6c 2e 22 0a 20 20 28 6c 65 74 20 28 28 6b 77 64 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 el."...(let.((kwd.(org-element-p
3ab40 72 6f 70 65 72 74 79 20 3a 6b 65 79 20 6b 65 79 77 6f 72 64 29 29 0a 20 20 20 20 20 20 20 20 28 roperty.:key.keyword)).........(
3ab60 76 61 6c 75 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 76 61 6c value.(org-element-property.:val
3ab80 75 65 20 6b 65 79 77 6f 72 64 29 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 61 ue.keyword))).....(cond......((a
3aba0 6e 64 20 28 65 71 75 61 6c 20 22 48 55 47 4f 22 20 6b 77 64 29 29 0a 20 20 20 20 20 20 28 69 66 nd.(equal."HUGO".kwd)).......(if
3abc0 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 76 61 6c 75 65 29 20 20 20 20 20 20 20 20 20 20 3b .(and.(stringp.value)..........;
3abe0 48 75 67 6f 20 73 75 6d 6d 61 72 79 20 73 70 6c 69 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 Hugo.summary.splitting..........
3ac00 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 5c 5c 73 2d 2a 6d ......(string-match-p."\\`\\s-*m
3ac20 6f 72 65 5c 5c 73 2d 2a 5c 5c 27 22 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 ore\\s-*\\'".value))...........(
3ac40 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 67 6f 68 progn.............;;.https://goh
3ac60 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 73 75 6d 6d 61 72 ugo.io/content-management/summar
3ac80 69 65 73 23 75 73 65 72 2d 64 65 66 69 6e 65 64 2d 6d 61 6e 75 61 6c 2d 73 75 6d 6d 61 72 79 2d ies#user-defined-manual-summary-
3aca0 73 70 6c 69 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 21 2d 2d 6d 6f 72 65 2d splitting............."<!--more-
3acc0 2d 3e 22 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 76 61 ->").........(progn...........va
3ace0 6c 75 65 29 29 29 0a 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 75 61 6c 20 22 54 4f 43 22 20 6b lue)))......((and.(equal."TOC".k
3ad00 77 64 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 2d 70 20 22 wd)............(string-match-p."
3ad20 5c 5c 3c 68 65 61 64 6c 69 6e 65 73 5c 5c 3e 22 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 28 \\<headlines\\>".value)).......(
3ad40 6c 65 74 2a 20 28 28 64 65 70 74 68 20 28 61 6e 64 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 let*.((depth.(and.(string-match.
3ad60 22 5c 5c 3c 5b 30 2d 39 5d 2b 5c 5c 3e 22 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 "\\<[0-9]+\\>".value)...........
3ad80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 72 ...............(string-to-number
3ada0 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 30 20 76 61 6c 75 65 29 29 29 29 0a 20 20 20 20 20 .(match-string.0.value))))......
3adc0 20 20 20 20 20 20 20 20 28 6c 6f 63 61 6c 3f 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 ........(local?.(string-match-p.
3ade0 22 5c 5c 3c 6c 6f 63 61 6c 5c 5c 3e 22 20 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 "\\<local\\>".value))...........
3ae00 20 20 20 28 73 63 6f 70 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 46 ...(scope.....................;F
3ae20 72 6f 6d 20 60 6f 72 67 2d 6d 64 2d 6b 65 79 77 6f 72 64 27 0a 20 20 20 20 20 20 20 20 20 20 20 rom.`org-md-keyword'............
3ae40 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 ...(cond................((string
3ae60 2d 6d 61 74 63 68 20 22 3a 74 61 72 67 65 74 20 2b 5c 5c 28 5c 22 2e 2b 3f 5c 22 5c 5c 7c 5c 5c -match.":target.+\\(\".+?\"\\|\\
3ae80 53 2d 2b 5c 5c 29 22 20 76 61 6c 75 65 29 20 3b 6c 69 6e 6b 0a 20 20 20 20 20 20 20 20 20 20 20 S-+\\)".value).;link............
3aea0 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 2d 6c 69 6e 6b 0a 20 20 .....(org-export-resolve-link...
3aec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 70 2d 71 75 6f 74 65 73 ...............(org-strip-quotes
3aee0 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 31 20 76 61 6c 75 65 29 29 20 69 6e 66 6f 29 29 0a .(match-string.1.value)).info)).
3af00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 6f 63 61 6c 3f 20 6b 65 79 77 6f 72 64 29 29 ...............(local?.keyword))
3af20 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 64 65 70 74 68 0a 20 20 20 20 )).........(when.(and.depth.....
3af40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 3e 20 64 65 70 74 68 20 30 29 29 0a 20 20 20 20 ...............(>.depth.0)).....
3af60 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 6f 63 2d 73 74 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d ......(let.((toc-str.(org-hugo--
3af80 62 75 69 6c 64 2d 74 6f 63 20 69 6e 66 6f 20 64 65 70 74 68 20 73 63 6f 70 65 20 6c 6f 63 61 6c build-toc.info.depth.scope.local
3afa0 3f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 74 6f 63 2d 73 74 72 0a 20 ?))).............(when.toc-str..
3afc0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 72 65 6d 6f 76 65 2d 69 6e 64 65 6e 74 61 .............(org-remove-indenta
3afe0 74 69 6f 6e 20 74 6f 63 2d 73 74 72 29 29 29 29 29 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 tion.toc-str))))))......(t......
3b000 20 28 6f 72 67 2d 6d 64 2d 6b 65 79 77 6f 72 64 20 6b 65 79 77 6f 72 64 20 63 6f 6e 74 65 6e 74 .(org-md-keyword.keyword.content
3b020 73 20 69 6e 66 6f 29 29 29 29 29 0a 0a 3b 3b 3b 3b 20 4c 69 6e 6b 73 0a 28 64 65 66 75 6e 20 6f s.info)))))..;;;;.Links.(defun.o
3b040 72 67 2d 68 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 rg-hugo--get-coderef-anchor-pref
3b060 69 78 20 28 65 6c 29 0a 20 20 22 47 65 74 20 61 6e 63 68 6f 72 20 70 72 65 66 69 78 20 73 74 72 ix.(el)..."Get.anchor.prefix.str
3b080 69 6e 67 20 66 6f 72 20 63 6f 64 65 20 72 65 66 73 20 69 6e 20 65 6c 65 6d 65 6e 74 20 45 4c 2e ing.for.code.refs.in.element.EL.
3b0a0 0a 0a 52 65 74 75 72 6e 20 61 20 63 6f 6e 73 20 28 43 4f 44 45 2d 52 45 46 53 20 2e 20 41 4e 43 ..Return.a.cons.(CODE-REFS...ANC
3b0c0 48 4f 52 2d 50 52 45 46 49 58 29 20 77 68 65 72 65 0a 0a 2d 20 43 4f 44 45 2d 52 45 46 53 20 69 HOR-PREFIX).where..-.CODE-REFS.i
3b0e0 73 20 61 6e 20 61 6c 69 73 74 20 6f 66 20 74 68 65 20 74 79 70 65 20 28 4c 49 4e 45 4e 55 4d 20 s.an.alist.of.the.type.(LINENUM.
3b100 2e 20 4c 41 42 45 4c 29 20 77 68 65 72 65 0a 0a 20 20 4c 49 4e 45 4e 55 4d 20 69 73 20 74 68 65 ..LABEL).where....LINENUM.is.the
3b120 20 6c 69 6e 65 20 6e 75 6d 62 65 72 20 77 68 65 72 65 20 74 68 65 20 63 6f 64 65 20 72 65 66 65 .line.number.where.the.code.refe
3b140 72 65 6e 63 65 64 20 6c 61 62 65 6c 65 64 0a 20 20 4c 41 42 45 4c 20 77 61 73 20 66 6f 75 6e 64 renced.labeled...LABEL.was.found
3b160 2e 20 20 4c 41 42 45 4c 20 69 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 2d 20 41 4e 43 48 4f 52 2d ...LABEL.is.a.string...-.ANCHOR-
3b180 50 52 45 46 49 58 20 69 73 20 61 20 73 74 72 69 6e 67 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 PREFIX.is.a.string...Return.nil.
3b1a0 69 66 20 45 4c 20 68 61 73 20 6e 6f 20 63 6f 64 65 20 72 65 66 65 72 65 6e 63 65 73 2e 22 0a 20 if.EL.has.no.code.references."..
3b1c0 20 28 6c 65 74 20 28 28 70 72 65 66 69 78 20 22 6f 72 67 2d 63 6f 64 65 72 65 66 22 29 0a 20 20 .(let.((prefix."org-coderef")...
3b1e0 20 20 20 20 20 20 28 68 61 73 68 2d 6c 65 6e 20 36 29 0a 20 20 20 20 20 20 20 20 28 63 6f 64 65 ......(hash-len.6).........(code
3b200 2d 72 65 66 73 20 28 63 64 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 75 6e 72 61 76 65 6c 2d 63 -refs.(cdr.(org-export-unravel-c
3b220 6f 64 65 20 65 6c 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 63 6f 64 65 2d 72 65 66 73 0a 20 ode.el)))).....(when.code-refs..
3b240 20 20 20 20 20 28 6c 65 74 2a 20 28 28 75 6e 69 71 75 65 2d 69 64 20 28 73 75 62 73 74 72 69 6e .....(let*.((unique-id.(substrin
3b260 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 28 6d 64 35 20 g..........................(md5.
3b280 28 66 6f 72 6d 61 74 20 22 25 73 22 20 63 6f 64 65 2d 72 65 66 73 29 29 20 30 20 68 61 73 68 2d (format."%s".code-refs)).0.hash-
3b2a0 6c 65 6e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 63 68 6f 72 2d 70 72 65 66 69 len))..............(anchor-prefi
3b2c0 78 20 28 66 6f 72 6d 61 74 20 22 25 73 2d 2d 25 73 22 20 70 72 65 66 69 78 20 75 6e 69 71 75 65 x.(format."%s--%s".prefix.unique
3b2e0 2d 69 64 29 29 29 0a 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 63 6f 64 65 2d 72 65 66 73 20 61 -id))).........(cons.code-refs.a
3b300 6e 63 68 6f 72 2d 70 72 65 66 69 78 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 nchor-prefix)))))..(defun.org-hu
3b320 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 28 72 65 66 20 69 6e go-link--resolve-coderef.(ref.in
3b340 66 6f 29 0a 20 20 22 52 65 73 6f 6c 76 65 20 61 20 63 6f 64 65 20 72 65 66 65 72 65 6e 63 65 20 fo)..."Resolve.a.code.reference.
3b360 52 45 46 2e 0a 0a 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 68 65 61 76 69 6c 79 20 64 REF...This.function.is.heavily.d
3b380 65 72 69 76 65 64 20 66 72 6f 6d 0a 60 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 2d erived.from.`org-export-resolve-
3b3a0 63 6f 64 65 72 65 66 27 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 20 75 73 65 64 20 coderef'...INFO.is.a.plist.used.
3b3c0 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 52 65 74 as.a.communication.channel...Ret
3b3e0 75 72 6e 20 61 20 70 6c 69 73 74 20 77 69 74 68 20 74 68 65 73 65 20 65 6c 65 6d 65 6e 74 73 3a urn.a.plist.with.these.elements:
3b400 0a 0a 2d 20 60 3a 6c 69 6e 65 2d 6e 75 6d 27 20 3a 3a 20 52 45 46 20 61 73 73 6f 63 69 61 74 65 ..-.`:line-num'.::.REF.associate
3b420 64 20 6c 69 6e 65 20 6e 75 6d 62 65 72 0a 0a 2d 20 60 3a 72 65 66 27 20 3a 3a 20 52 45 46 20 61 d.line.number..-.`:ref'.::.REF.a
3b440 73 73 6f 63 69 61 74 65 64 20 6c 69 6e 65 20 6e 75 6d 62 65 72 20 69 6e 20 73 6f 75 72 63 65 20 ssociated.line.number.in.source.
3b460 63 6f 64 65 20 28 69 66 20 74 68 65 20 4f 72 67 0a 20 20 65 6c 65 6d 65 6e 74 27 73 20 60 3a 75 code.(if.the.Org...element's.`:u
3b480 73 65 2d 6c 61 62 65 6c 73 27 20 70 72 6f 70 65 72 74 79 20 69 73 20 75 6e 73 65 74 2e 20 20 54 se-labels'.property.is.unset...T
3b4a0 68 69 73 20 68 61 70 70 65 6e 73 20 77 68 65 6e 0a 20 20 74 68 65 20 60 2d 72 27 20 73 77 69 74 his.happens.when...the.`-r'.swit
3b4c0 63 68 20 69 73 20 75 73 65 64 29 20 2c 20 6f 72 20 52 45 46 20 69 74 73 65 6c 66 2e 0a 0a 2d 20 ch.is.used).,.or.REF.itself...-.
3b4e0 60 3a 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 27 20 3a 3a 20 53 74 72 69 6e 67 20 70 72 65 66 69 `:anchor-prefix'.::.String.prefi
3b500 78 20 66 6f 72 20 52 45 46 27 73 20 61 6e 63 68 6f 72 2e 0a 0a 54 68 72 6f 77 20 61 6e 20 65 72 x.for.REF's.anchor...Throw.an.er
3b520 72 6f 72 20 69 66 20 6e 6f 20 62 6c 6f 63 6b 20 63 6f 6e 74 61 69 6e 73 20 52 45 46 2e 22 0a 20 ror.if.no.block.contains.REF."..
3b540 20 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 20 28 70 6c 69 73 74 2d 67 65 74 .(or.(org-element-map.(plist-get
3b560 20 69 6e 66 6f 20 3a 70 61 72 73 65 2d 74 72 65 65 29 20 27 28 65 78 61 6d 70 6c 65 2d 62 6c 6f .info.:parse-tree).'(example-blo
3b580 63 6b 20 73 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 65 ck.src-block).........(lambda.(e
3b5a0 6c 29 0a 20 20 20 20 20 20 20 20 20 20 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a 20 l)...........(with-temp-buffer..
3b5c0 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 6f 72 67 2d 74 72 69 6d 20 28 6f 72 ...........(insert.(org-trim.(or
3b5e0 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 65 6c 29 29 29 0a g-element-property.:value.el))).
3b600 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 72 65 66 2d 69 6e 66 6f 20 28 29 29 ............(let*.((ref-info.())
3b620 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 62 65 6c 2d 66 6d 74 20 28 ....................(label-fmt.(
3b640 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 6c 61 62 65 6c 2d or.(org-element-property.:label-
3b660 66 6d 74 20 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 fmt.el).........................
3b680 20 20 20 20 20 20 20 20 20 20 6f 72 67 2d 63 6f 64 65 72 65 66 2d 6c 61 62 65 6c 2d 66 6f 72 6d ..........org-coderef-label-form
3b6a0 61 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 66 2d 72 65 20 at))....................(ref-re.
3b6c0 28 6f 72 67 2d 73 72 63 2d 63 6f 64 65 72 65 66 2d 72 65 67 65 78 70 20 6c 61 62 65 6c 2d 66 6d (org-src-coderef-regexp.label-fm
3b6e0 74 20 72 65 66 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 45 6c 65 6d 65 6e t.ref)))...............;;.Elemen
3b700 74 20 63 6f 6e 74 61 69 6e 69 6e 67 20 52 45 46 20 69 73 20 66 6f 75 6e 64 2e 20 20 52 65 73 6f t.containing.REF.is.found...Reso
3b720 6c 76 65 20 69 74 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 65 69 74 68 65 lve.it.to...............;;.eithe
3b740 72 20 61 20 6c 61 62 65 6c 20 6f 72 20 61 20 6c 69 6e 65 20 6e 75 6d 62 65 72 2c 20 61 73 20 6e r.a.label.or.a.line.number,.as.n
3b760 65 65 64 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 72 65 2d 73 eeded................(when.(re-s
3b780 65 61 72 63 68 2d 62 61 63 6b 77 61 72 64 20 72 65 66 2d 72 65 20 6e 69 6c 20 3a 6e 6f 65 72 72 earch-backward.ref-re.nil.:noerr
3b7a0 6f 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 6c 69 6e 65 or).................(let*.((line
3b7c0 2d 6e 75 6d 20 28 2b 20 28 6f 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6c 6f 63 20 -num.(+.(or.(org-export-get-loc.
3b7e0 65 6c 20 69 6e 66 6f 29 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 el.info).0).....................
3b800 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 65 2d 6e 75 6d 62 65 72 2d 61 74 2d ................(line-number-at-
3b820 70 6f 73 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 72 pos)))........................(r
3b840 65 66 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 25 73 22 20 28 69 66 20 28 6f 72 67 2d 65 6c 65 ef-str.(format."%s".(if.(org-ele
3b860 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 75 73 65 2d 6c 61 62 65 6c 73 20 65 6c 29 0a 20 20 ment-property.:use-labels.el)...
3b880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3b8a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ...............ref..............
3b8c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3b8e0 20 20 6c 69 6e 65 2d 6e 75 6d 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..line-num))))..................
3b900 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 72 65 66 2d 69 .(setq.ref-info.(plist-put.ref-i
3b920 6e 66 6f 20 3a 6c 69 6e 65 2d 6e 75 6d 20 6c 69 6e 65 2d 6e 75 6d 29 29 0a 20 20 20 20 20 20 20 nfo.:line-num.line-num))........
3b940 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 66 2d 69 6e 66 6f 20 28 70 6c 69 73 74 ...........(setq.ref-info.(plist
3b960 2d 70 75 74 20 72 65 66 2d 69 6e 66 6f 20 3a 72 65 66 20 72 65 66 2d 73 74 72 29 29 0a 20 20 20 -put.ref-info.:ref.ref-str))....
3b980 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 61 6e 63 68 6f 72 2d 70 72 65 ...............(let.((anchor-pre
3b9a0 66 69 78 20 28 6f 72 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 61 fix.(or.(org-element-property.:a
3b9c0 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 65 6c 29 20 3b 73 65 74 20 69 6e 20 60 6f 72 67 2d 68 75 nchor-prefix.el).;set.in.`org-hu
3b9e0 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 20 20 20 go-src-block'...................
3ba00 20 20 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 64 72 20 28 6f .........................(cdr.(o
3ba20 72 67 2d 68 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 rg-hugo--get-coderef-anchor-pref
3ba40 69 78 20 65 6c 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ix.el))))).....................(
3ba60 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 72 65 66 2d 69 6e 66 setq.ref-info.(plist-put.ref-inf
3ba80 6f 20 3a 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 29 29 o.:anchor-prefix.anchor-prefix))
3baa0 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 2d 69 6e 66 6f 29 29 29 29 0a )).................ref-info)))).
3bac0 20 20 20 20 20 20 20 20 69 6e 66 6f 20 27 66 69 72 73 74 2d 6d 61 74 63 68 29 0a 20 20 20 20 20 ........info.'first-match)......
3bae0 20 28 73 69 67 6e 61 6c 20 27 6f 72 67 2d 6c 69 6e 6b 2d 62 72 6f 6b 65 6e 20 28 6c 69 73 74 20 .(signal.'org-link-broken.(list.
3bb00 72 65 66 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 6d 6f ref))))..(defun.org-hugo--org-mo
3bb20 64 65 2d 6c 69 67 68 74 20 28 29 0a 20 20 22 45 6e 61 62 6c 65 20 73 65 74 20 63 75 72 72 65 6e de-light.()..."Enable.set.curren
3bb40 74 20 62 75 66 66 65 72 27 73 20 60 6d 61 6a 6f 72 2d 6d 6f 64 65 27 20 74 6f 20 60 6f 72 67 2d t.buffer's.`major-mode'.to.`org-
3bb60 6d 6f 64 65 27 20 71 75 69 63 6b 6c 79 2e 0a 0a 49 74 20 69 73 20 6e 65 63 65 73 73 61 72 79 20 mode'.quickly...It.is.necessary.
3bb80 66 6f 72 20 74 68 65 20 60 6d 61 6a 6f 72 2d 6d 6f 64 65 27 20 74 6f 20 62 65 20 60 6f 72 67 2d for.the.`major-mode'.to.be.`org-
3bba0 6d 6f 64 65 27 20 66 6f 72 20 6d 61 6e 79 0a 66 75 6e 63 74 69 6f 6e 73 20 6c 69 6b 65 20 60 6f mode'.for.many.functions.like.`o
3bbc0 72 67 2d 6c 69 6e 6b 2d 73 65 61 72 63 68 27 2e 22 0a 20 20 28 75 6e 6c 65 73 73 20 28 64 65 72 rg-link-search'."...(unless.(der
3bbe0 69 76 65 64 2d 6d 6f 64 65 2d 70 20 27 6f 72 67 2d 6d 6f 64 65 29 0a 20 20 20 20 28 6c 65 74 20 ived-mode-p.'org-mode).....(let.
3bc00 28 28 69 6e 68 69 62 69 74 2d 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2d 68 6f 6f 6b 73 20 74 29 0a ((inhibit-modification-hooks.t).
3bc20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 6d 6f 64 65 2d 68 6f 6f 6b 20 6e 69 6c 29 20 20 20 ..........(org-mode-hook.nil)...
3bc40 3b 44 6f 6e 27 74 20 72 75 6e 20 61 6e 79 20 4f 72 67 20 6d 6f 64 65 20 68 6f 6f 6b 20 66 75 6e ;Don't.run.any.Org.mode.hook.fun
3bc60 63 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 69 6e 68 69 62 69 74 2d 73 74 ctions...........(org-inhibit-st
3bc80 61 72 74 75 70 20 74 29 29 20 3b 44 6f 6e 27 74 20 72 75 6e 20 61 6e 79 20 4f 72 67 20 62 75 66 artup.t)).;Don't.run.any.Org.buf
3bca0 66 65 72 20 73 74 61 72 74 75 70 20 66 75 6e 63 74 69 6f 6e 73 0a 20 20 20 20 20 20 28 6f 72 67 fer.startup.functions.......(org
3bcc0 2d 6d 6f 64 65 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d -mode))))..(defun.org-hugo--get-
3bce0 61 6e 63 68 6f 72 2d 61 74 2d 70 6f 69 6e 74 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e anchor-at-point.(info)..."Return
3bd00 20 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 63 75 72 72 .anchor.string.based.on.the.curr
3bd20 65 6e 74 20 70 6f 69 6e 74 2e 0a 0a 49 66 20 70 6f 69 6e 74 20 69 73 20 69 6e 20 61 20 60 68 65 ent.point...If.point.is.in.a.`he
3bd40 61 64 6c 69 6e 65 27 20 65 6c 65 6d 65 6e 74 2c 20 64 65 72 69 76 65 20 74 68 65 20 61 6e 63 68 adline'.element,.derive.the.anch
3bd60 6f 72 20 75 73 69 6e 67 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 27 2e or.using.`org-hugo--get-anchor'.
3bd80 0a 0a 4f 74 68 65 72 77 69 73 65 2c 20 69 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 6f 69 6e ..Otherwise,.if.the.current.poin
3bda0 74 20 68 61 73 20 61 6e 20 4f 72 67 20 74 61 72 67 65 74 2c 20 67 65 74 20 74 68 65 20 74 61 72 t.has.an.Org.target,.get.the.tar
3bdc0 67 65 74 0a 61 6e 63 68 6f 72 2e 0a 0a 49 66 20 63 75 72 72 65 6e 74 20 65 6c 65 6d 65 6e 74 20 get.anchor...If.current.element.
3bde0 68 61 73 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 65 72 74 79 has.`:EXPORT_FILE_NAME'.property
3be00 2c 20 72 65 74 75 72 6e 20 74 68 65 0a 61 6e 63 68 6f 72 20 61 73 2d 69 73 2c 20 6f 74 68 65 72 ,.return.the.anchor.as-is,.other
3be20 77 69 73 65 20 70 72 65 66 69 78 20 74 68 65 20 61 6e 63 68 6f 72 20 73 74 72 69 6e 67 20 77 69 wise.prefix.the.anchor.string.wi
3be40 74 68 20 5c 22 23 5c 22 2e 0a 0a 52 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e th.\"#\"...Return.an.empty.strin
3be60 67 20 69 66 20 61 6e 20 61 6e 63 68 6f 72 20 63 61 6e 6e 6f 74 20 62 65 20 64 65 72 69 76 65 64 g.if.an.anchor.cannot.be.derived
3be80 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
3bea0 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 65 6c munication.channel."...(let.((el
3bec0 65 6d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 74 2d 70 6f 69 6e 74 29 29 0a 20 20 20 20 20 em.(org-element-at-point))......
3bee0 20 20 20 28 61 6e 63 68 6f 72 20 22 22 29 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 ...(anchor."")).....(cond......(
3bf00 28 65 71 75 61 6c 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 65 6c 65 6d 29 20 27 (equal.(org-element-type.elem).'
3bf20 68 65 61 64 6c 69 6e 65 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 61 6e 63 68 6f 72 20 28 6f 72 headline).......(setq.anchor.(or
3bf40 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 20 65 6c 65 6d 20 69 6e 66 6f 29 29 29 0a g-hugo--get-anchor.elem.info))).
3bf60 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 3b 3b 20 49 66 20 63 75 72 72 65 6e 74 20 70 6f 69 6e .....(t.......;;.If.current.poin
3bf80 74 20 68 61 73 20 61 6e 20 4f 72 67 20 54 61 72 67 65 74 2c 20 67 65 74 20 74 68 65 20 74 61 72 t.has.an.Org.Target,.get.the.tar
3bfa0 67 65 74 20 61 6e 63 68 6f 72 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 61 72 67 65 74 2d get.anchor........(let.((target-
3bfc0 65 6c 65 6d 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 61 72 67 65 74 2d 70 61 72 73 65 72 29 elem.(org-element-target-parser)
3bfe0 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 65 71 75 61 6c 20 28 6f 72 67 2d 65 6c 65 )).........(when.(equal.(org-ele
3c000 6d 65 6e 74 2d 74 79 70 65 20 74 61 72 67 65 74 2d 65 6c 65 6d 29 20 27 74 61 72 67 65 74 29 0a ment-type.target-elem).'target).
3c020 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 61 6e 63 68 6f 72 20 28 6f 72 67 2d 62 6c 61 63 ..........(setq.anchor.(org-blac
3c040 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 65 kfriday--get-target-anchor.targe
3c060 74 2d 65 6c 65 6d 29 29 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 t-elem)))))).....(when.(org-stri
3c080 6e 67 2d 6e 77 2d 70 20 61 6e 63 68 6f 72 29 0a 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 ng-nw-p.anchor).......;;.If.the.
3c0a0 65 6c 65 6d 65 6e 74 20 68 61 73 20 74 68 65 20 60 3a 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 element.has.the.`:EXPORT_FILE_NA
3c0c0 4d 45 27 20 69 74 27 73 20 6e 6f 74 20 61 0a 20 20 20 20 20 20 3b 3b 20 73 75 62 2d 68 65 61 64 ME'.it's.not.a.......;;.sub-head
3c0e0 69 6e 67 2c 20 62 75 74 20 74 68 65 20 73 75 62 74 72 65 65 27 73 20 6d 61 69 6e 20 68 65 61 64 ing,.but.the.subtree's.main.head
3c100 69 6e 67 2e 20 20 44 6f 6e 27 74 20 70 72 65 66 69 78 0a 20 20 20 20 20 20 3b 3b 20 74 68 65 20 ing...Don't.prefix.......;;.the.
3c120 22 23 22 20 69 6e 20 74 68 61 74 20 63 61 73 65 2e 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 "#".in.that.case........(unless.
3c140 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 6f 64 65 2d 70 72 6f 70 65 72 74 79 20 3a 45 (org-export-get-node-property.:E
3c160 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 65 6c 65 6d 20 6e 69 6c 29 0a 20 20 20 20 20 20 XPORT_FILE_NAME.elem.nil).......
3c180 20 20 28 73 65 74 71 20 61 6e 63 68 6f 72 20 28 66 6f 72 6d 61 74 20 22 23 25 73 22 20 61 6e 63 ..(setq.anchor.(format."#%s".anc
3c1a0 68 6f 72 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 hor)))).....;;.(message."[search
3c1c0 20 61 6e 64 20 67 65 74 20 61 6e 63 68 6f 72 20 44 42 47 5d 20 61 6e 63 68 6f 72 3a 20 25 53 22 .and.get.anchor.DBG].anchor:.%S"
3c1e0 20 61 6e 63 68 6f 72 29 0a 20 20 20 20 61 6e 63 68 6f 72 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 .anchor).....anchor))..(defun.or
3c200 67 2d 68 75 67 6f 2d 2d 73 65 61 72 63 68 2d 61 6e 64 2d 67 65 74 2d 61 6e 63 68 6f 72 20 28 6f g-hugo--search-and-get-anchor.(o
3c220 72 67 2d 66 69 6c 65 20 73 65 61 72 63 68 2d 73 74 72 20 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 rg-file.search-str.info)..."Retu
3c240 72 6e 20 48 54 4d 4c 20 61 6e 63 68 6f 72 20 66 6f 72 20 74 68 65 20 70 6f 69 6e 74 20 77 68 65 rn.HTML.anchor.for.the.point.whe
3c260 72 65 20 53 45 41 52 43 48 2d 53 54 52 20 69 73 20 66 6f 75 6e 64 20 69 6e 20 4f 52 47 2d 46 49 re.SEARCH-STR.is.found.in.ORG-FI
3c280 4c 45 2e 0a 0a 4f 52 47 2d 46 49 4c 45 20 69 73 20 74 68 65 20 66 69 6c 65 20 70 61 74 68 20 69 LE...ORG-FILE.is.the.file.path.i
3c2a0 6e 20 77 68 69 63 68 20 74 68 65 20 53 45 41 52 43 48 2d 53 54 52 20 69 73 20 74 6f 20 62 65 20 n.which.the.SEARCH-STR.is.to.be.
3c2c0 73 65 61 72 63 68 65 64 2e 0a 0a 53 45 41 52 43 48 2d 53 54 52 20 6e 65 65 64 73 20 74 6f 20 62 searched...SEARCH-STR.needs.to.b
3c2e0 65 20 61 20 6e 6f 6e 2d 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 20 20 45 78 61 6d 70 6c 65 20 76 e.a.non-empty.string...Example.v
3c300 61 6c 75 65 73 3a 20 5c 22 2a 0a 53 6f 6d 65 20 68 65 61 64 69 6e 67 5c 22 2c 20 5c 22 23 73 6f alues:.\"*.Some.heading\",.\"#so
3c320 6d 65 5f 63 75 73 74 6f 6d 5f 69 64 5c 22 2e 0a 0a 49 66 20 74 68 65 20 73 65 61 72 63 68 20 66 me_custom_id\"...If.the.search.f
3c340 61 69 6c 73 2c 20 72 65 74 75 72 6e 20 5c 22 5c 22 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c ails,.return.\"\"...INFO.is.a.pl
3c360 69 73 74 20 75 73 65 64 20 61 73 20 61 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 61 6e ist.used.as.a.communication.chan
3c380 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 20 61 6e 64 nel."...;;.(message."[search.and
3c3a0 20 67 65 74 20 61 6e 63 68 6f 72 20 44 42 47 5d 20 6f 72 67 2d 66 69 6c 65 3a 20 25 53 22 20 6f .get.anchor.DBG].org-file:.%S".o
3c3c0 72 67 2d 66 69 6c 65 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 73 65 61 72 63 68 20 rg-file)...;;.(message."[search.
3c3e0 61 6e 64 20 67 65 74 20 61 6e 63 68 6f 72 20 44 42 47 5d 20 73 65 61 72 63 68 2d 73 74 72 3a 20 and.get.anchor.DBG].search-str:.
3c400 25 53 22 20 73 65 61 72 63 68 2d 73 74 72 29 0a 20 20 28 6c 65 74 20 28 28 62 75 66 66 65 72 20 %S".search-str)...(let.((buffer.
3c420 28 67 65 74 2d 66 69 6c 65 2d 62 75 66 66 65 72 20 6f 72 67 2d 66 69 6c 65 29 29 29 20 3b 6e 69 (get-file-buffer.org-file))).;ni
3c440 6c 20 69 66 20 60 6f 72 67 2d 66 69 6c 65 27 20 62 75 66 66 65 72 20 69 73 20 6e 6f 74 20 61 6c l.if.`org-file'.buffer.is.not.al
3c460 72 65 61 64 79 20 6f 70 65 6e 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 66 69 6c 65 2d 65 78 69 ready.open.....(unless.(file-exi
3c480 73 74 73 2d 70 20 6f 72 67 2d 66 69 6c 65 29 0a 20 20 20 20 20 20 28 65 72 72 6f 72 20 22 5b 6f sts-p.org-file).......(error."[o
3c4a0 72 67 2d 68 75 67 6f 2d 2d 73 65 61 72 63 68 2d 61 6e 64 2d 67 65 74 2d 61 6e 63 68 6f 72 5d 20 rg-hugo--search-and-get-anchor].
3c4c0 55 6e 61 62 6c 65 20 74 6f 20 6f 70 65 6e 20 4f 72 67 20 66 69 6c 65 20 60 25 73 27 22 20 6f 72 Unable.to.open.Org.file.`%s'".or
3c4e0 67 2d 66 69 6c 65 29 29 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 g-file)).....(with-current-buffe
3c500 72 20 28 66 69 6e 64 2d 66 69 6c 65 2d 6e 6f 73 65 6c 65 63 74 20 6f 72 67 2d 66 69 6c 65 29 0a r.(find-file-noselect.org-file).
3c520 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 20 28 61 64 ......(unless.buffer.........(ad
3c540 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 62 75 66 66 d-to-list.'org-hugo--opened-buff
3c560 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 20 20 3b 3b 20 ers.(current-buffer))).......;;.
3c580 60 6f 72 67 2d 6d 6f 64 65 27 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6c 6f 61 64 65 64 20 66 6f `org-mode'.needs.to.be.loaded.fo
3c5a0 72 20 60 6f 72 67 2d 6c 69 6e 6b 2d 73 65 61 72 63 68 27 20 74 6f 20 77 6f 72 6b 0a 20 20 20 20 r.`org-link-search'.to.work.....
3c5c0 20 20 3b 3b 20 63 6f 72 72 65 63 74 6c 79 2e 20 4f 74 68 65 72 77 69 73 65 20 60 6f 72 67 2d 6c ..;;.correctly..Otherwise.`org-l
3c5e0 69 6e 6b 2d 73 65 61 72 63 68 27 20 72 65 74 75 72 6e 73 20 73 74 61 72 74 69 6e 67 0a 20 20 20 ink-search'.returns.starting....
3c600 20 20 20 3b 3b 20 70 6f 69 6e 74 73 20 66 6f 72 20 69 6e 63 6f 72 72 65 63 74 20 73 75 62 74 72 ...;;.points.for.incorrect.subtr
3c620 65 65 73 2e 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 6f 72 67 2d 6d 6f 64 65 2d 6c ees........(org-hugo--org-mode-l
3c640 69 67 68 74 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 65 6e 76 69 ight).......(org-export-get-envi
3c660 72 6f 6e 6d 65 6e 74 29 20 3b 45 76 61 6c 20 23 2b 62 69 6e 64 20 6b 65 79 77 6f 72 64 73 2c 20 ronment).;Eval.#+bind.keywords,.
3c680 65 74 63 2e 0a 20 20 20 20 20 20 28 6f 72 67 2d 6c 69 6e 6b 2d 73 65 61 72 63 68 20 73 65 61 72 etc........(org-link-search.sear
3c6a0 63 68 2d 73 74 72 29 20 3b 54 68 69 73 20 69 73 20 65 78 74 72 61 63 74 65 64 20 66 72 6f 6d 20 ch-str).;This.is.extracted.from.
3c6c0 74 68 65 20 60 6f 72 67 2d 6f 70 65 6e 2d 66 69 6c 65 27 20 66 75 6e 63 74 69 6f 6e 2e 0a 20 20 the.`org-open-file'.function....
3c6e0 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 2d 61 74 2d 70 6f 69 ....(org-hugo--get-anchor-at-poi
3c700 6e 74 20 69 6e 66 6f 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 6c 69 6e nt.info))))..(defun.org-hugo-lin
3c720 6b 20 28 6c 69 6e 6b 20 64 65 73 63 20 69 6e 66 6f 29 0a 20 20 22 43 6f 6e 76 65 72 74 20 4c 49 k.(link.desc.info)..."Convert.LI
3c740 4e 4b 20 74 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 2e 0a 0a 44 45 53 43 20 69 73 20 NK.to.Markdown.format...DESC.is.
3c760 74 68 65 20 6c 69 6e 6b 27 73 20 64 65 73 63 72 69 70 74 69 6f 6e 2e 0a 49 4e 46 4f 20 69 73 20 the.link's.description..INFO.is.
3c780 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.
3c7a0 63 68 61 6e 6e 65 6c 2e 0a 0a 55 6e 6c 69 6b 65 20 60 6f 72 67 2d 6d 64 2d 6c 69 6e 6b 27 2c 20 channel...Unlike.`org-md-link',.
3c7c0 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 61 6c 73 6f 20 63 6f 70 79 20 6c 6f 63 this.function.will.also.copy.loc
3c7e0 61 6c 20 69 6d 61 67 65 73 0a 61 6e 64 20 72 65 77 72 69 74 65 20 6c 69 6e 6b 20 70 61 74 68 73 al.images.and.rewrite.link.paths
3c800 20 74 6f 20 6d 61 6b 65 20 62 6c 6f 67 67 69 6e 67 20 6d 6f 72 65 20 73 65 61 6d 6c 65 73 73 2e .to.make.blogging.more.seamless.
3c820 22 0a 20 20 28 6c 65 74 2a 20 28 28 72 61 77 2d 6c 69 6e 6b 20 28 6f 72 67 2d 65 6c 65 6d 65 6e "...(let*.((raw-link.(org-elemen
3c840 74 2d 70 72 6f 70 65 72 74 79 20 3a 72 61 77 2d 6c 69 6e 6b 20 6c 69 6e 6b 29 29 0a 20 20 20 20 t-property.:raw-link.link)).....
3c860 20 20 20 20 20 28 72 61 77 2d 70 61 74 68 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 .....(raw-path.(org-element-prop
3c880 65 72 74 79 20 3a 70 61 74 68 20 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 79 70 65 erty.:path.link))..........(type
3c8a0 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 74 79 70 65 20 6c 69 6e .(org-element-property.:type.lin
3c8c0 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 2d 69 73 2d 75 72 6c 20 28 6d 65 6d 62 65 k))..........(link-is-url.(membe
3c8e0 72 20 74 79 70 65 20 27 28 22 68 74 74 70 22 20 22 68 74 74 70 73 22 20 22 66 74 70 22 20 22 6d r.type.'("http"."https"."ftp"."m
3c900 61 69 6c 74 6f 22 29 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 67 ailto")))).....;;.(message."[org
3c920 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 72 61 77 2d 70 61 74 68 20 31 3a 20 25 73 22 20 -hugo-link.DBG].raw-path.1:.%s".
3c940 72 61 77 2d 70 61 74 68 29 0a 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 73 74 72 69 6e raw-path)......(when.(and.(strin
3c960 67 70 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 6c 69 6e 6b gp.raw-path)................link
3c980 2d 69 73 2d 75 72 6c 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 61 77 2d 70 61 74 68 20 28 6f -is-url).......(setq.raw-path.(o
3c9a0 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 79 rg-blackfriday--url-sanitize-may
3c9c0 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 20 28 75 be.......................info.(u
3c9e0 72 6c 2d 65 6e 63 6f 64 65 2d 75 72 6c 20 72 61 77 2d 70 61 74 68 29 29 29 29 0a 20 20 20 20 3b rl-encode-url.raw-path)))).....;
3ca00 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 20 ;.(message."[org-hugo-link.DBG].
3ca20 72 61 77 2d 6c 69 6e 6b 3a 20 25 73 22 20 72 61 77 2d 6c 69 6e 6b 29 0a 20 20 20 20 3b 3b 20 28 raw-link:.%s".raw-link).....;;.(
3ca40 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 72 61 77 message."[org-hugo-link.DBG].raw
3ca60 2d 70 61 74 68 20 32 3a 20 25 73 22 20 72 61 77 2d 70 61 74 68 29 0a 20 20 20 20 3b 3b 20 28 6d -path.2:.%s".raw-path).....;;.(m
3ca80 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 6c 69 6e 6b essage."[org-hugo-link.DBG].link
3caa0 3a 20 25 53 22 20 6c 69 6e 6b 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 72 :.%S".link).....;;.(message."[or
3cac0 67 2d 68 75 67 6f 2d 6c 69 6e 6b 20 44 42 47 5d 20 6c 69 6e 6b 20 74 79 70 65 3a 20 25 73 22 20 g-hugo-link.DBG].link.type:.%s".
3cae0 74 79 70 65 29 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 3b 3b 20 4c 69 6e 6b 20 74 79 70 type).....(cond......;;.Link.typ
3cb00 65 20 69 73 20 68 61 6e 64 6c 65 64 20 62 79 20 61 20 73 70 65 63 69 61 6c 20 66 75 6e 63 74 69 e.is.handled.by.a.special.functi
3cb20 6f 6e 2e 0a 20 20 20 20 20 28 28 6f 72 67 2d 65 78 70 6f 72 74 2d 63 75 73 74 6f 6d 2d 70 72 6f on.......((org-export-custom-pro
3cb40 74 6f 63 6f 6c 2d 6d 61 79 62 65 20 6c 69 6e 6b 20 64 65 73 63 20 27 6d 64 29 29 0a 20 20 20 20 tocol-maybe.link.desc.'md)).....
3cb60 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
3cb80 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"))
3cba0 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
3cbc0 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
3cbe0 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").........
3cc00 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
3cc20 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)..
3cc40 20 20 20 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
3cc60 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)
3cc80 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
3cca0 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
3ccc0 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
3cce0 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
3cd00 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
3cd20 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
3cd40 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
3cd60 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
3cd80 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
3cda0 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
3cdc0 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)........
3cde0 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............(
3ce00 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
3ce20 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.......................
3ce40 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'.
3ce60 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'...........
3ce80 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
3cea0 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
3cec0 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.".")))...........
3cee0 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
3cf00 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
3cf20 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")........................
3cf40 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)))).............
3cf60 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
3cf80 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)....
3cfa0 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
3cfc0 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
3cfe0 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
3d000 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))...
3d020 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.(
3d040 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)....
3d060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3d080 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
3d0a0 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)))..........................
3d0c0 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
3d0e0 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...................
3d100 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
3d120 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.............
3d140 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
3d160 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............................
3d180 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...................
3d1a0 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
3d1c0 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
3d1e0 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
3d200 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)..
3d220 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](
3d240 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
3d260 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.
3d280 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.
3d2a0 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)...........
3d2c0 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))))).
3d2e0 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
3d300 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
3d320 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
3d340 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
3d360 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)))..
3d380 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.............
3d3a0 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
3d3c0 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.(
3d3e0 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)).........
3d400 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
3d420 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)..
3d440 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.#
3d460 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...............
3d480 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
3d4a0 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
3d4c0 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).............................
3d4e0 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
3d500 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))...
3d520 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........
3d540 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
3d560 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
3d580 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.
3d5a0 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,..........
3d5c0 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
3d5e0 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.......
3d600 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
3d620 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
3d640 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)..............
3d660 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
3d680 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..................
3d6a0 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.
3d6c0 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............................
3d6e0 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
3d700 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)))......................
3d720 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.................
3d740 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
3d760 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)......................
3d780 20 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-
3d7a0 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)...............
3d7c0 20 20 20 20 20 20 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
3d7e0 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
3d800 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.".")))).......................
3d820 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
3d840 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)....
3d860 20 20 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
3d880 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.....
3d8a0 20 20 20 20 20 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
3d8c0 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
3d8e0 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))........................
3d900 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
3d920 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..................
3d940 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
3d960 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.............
3d980 20 20 20 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
3d9a0 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',.......
3d9c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3d9e0 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..
3da00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3da20 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
3da40 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...........................
3da60 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..
3da80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3daa0 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
3dac0 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)........................
3dae0 20 20 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
3db00 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...............................
3db20 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)).........
3db40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
3db60 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
3db80 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)))...............
3dba0 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.
3dbc0 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))..........
3dbe0 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))))
3dc00 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
3dc20 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
3dc40 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)............
3dc60 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.............
3dc80 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.......
3dca0 20 20 20 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
3dcc0 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....
3dce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
3dd00 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
3dd20 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))........
3dd40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d ...........................(org-
3dd60 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
3dd80 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))........................
3dda0 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
3ddc0 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.........................
3dde0 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
3de00 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)..
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 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
3de60 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))...........
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 28 6c 65 74 20 28 28 66 ........................(let.((f
3dea0 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-
3dec0 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)))........
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 28 69 66 .............................(if
3df00 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)...
3df20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3df40 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.
3df60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3df80 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--"...
3dfa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3dfc0 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
3dfe0 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)................
3e000 20 20 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
3e020 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)...........................
3e040 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
3e060 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))))......
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 3b 3b 20 52 ............................;;.R
3e0a0 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>>..............
3e0c0 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
3e0e0 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
3e100 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
3e120 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
3e140 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))...........
3e160 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
3e180 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....
3e1a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
3e1c0 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...............................
3e1e0 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
3e200 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))))).............
3e220 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
3e240 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
3e260 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
3e280 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).......
3e2a0 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]
3e2c0 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).
3e2e0 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
3e300 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))..............
3e320 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
3e340 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.
3e360 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
3e380 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
3e3a0 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.
3e3c0 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.............
3e3e0 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
3e400 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
3e420 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 )..............................(
3e440 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))).
3e460 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.
3e480 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....................
3e4a0 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.......
3e4c0 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))
3e4e0 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-
3e500 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
3e520 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.
3e540 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
3e560 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.
3e580 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...............
3e5a0 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......
3e5c0 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
3e5e0 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
3e600 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......................
3e620 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
3e640 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)
3e660 29 0a 20 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)
3e680 29 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-
3e6a0 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)))............
3e6c0 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-
3e6e0 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)......................
3e700 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"...........
3e720 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
3e740 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\">"..........
3e760 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.(
3e780 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.............
3e7a0 20 20 20 20 20 20 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
3e7c0 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............................
3e7e0 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
3e800 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-
3e820 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))........................
3e840 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:")......
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 20 20 20 20 20 20 20 20 ................................
3e880 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).......................
3e8a0 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
3e8c0 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.......................
3e8e0 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
3e900 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...........................
3e920 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
3e940 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))..................
3e960 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>".......
3e980 20 20 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
3e9a0 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
3e9c0 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))....
3e9e0 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
3ea00 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).................
3ea20 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
3ea40 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)).............
3ea60 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
3ea80 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
3eaa0 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.
3eac0 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
3eae0 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
3eb00 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
3eb20 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).........;;.
3eb40 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
3eb60 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.
3eb80 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*.((
3eba0 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..
3ebc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ebe0 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
3ec00 29 0a 20 20 20 20 20 20 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 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
3ec40 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.
3ec60 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.......................
3ec80 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
3eca0 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-
3ecc0 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-
3ece0 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
3ed00 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....................
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 3b 3b 20 52 65 6d 6f .........................;;.Remo
3ed40 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............
3ed60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ed80 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\\)*?-->".""....
3eda0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3edc0 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
3ede0 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..............................
3ee00 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
3ee20 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
3ee40 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.............
3ee60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ee80 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)
3eea0 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...........................
3eec0 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
3eee0 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\
3ef00 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\"\\?>"."".....
3ef20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ef40 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.
3ef60 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............
3ef80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3efa0 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....
3efc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3efe0 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[^>]+>"
3f000 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 ."".............................
3f020 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))
3f040 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.
3f060 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.....................
3f080 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
3f0a0 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
3f0c0 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>".............
3f0e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 76 67 .............................svg
3f100 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)....
3f120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 76 67 2d ............................svg-
3f140 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)))...........
3f160 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.
3f180 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
3f1a0 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."
3f1c0 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
3f1e0 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
3f200 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).
3f220 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
3f240 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
3f260 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
3f280 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
3f2a0 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))
3f2c0 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
3f2e0 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......................
3f300 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)..
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 70 61 74 68 29 29 ..........................path))
3f340 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.(/.(
3f360 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).->.
3f380 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
3f3a0 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))).
3f3c0 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
3f3e0 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)....
3f400 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-
3f420 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
3f440 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
3f460 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.
3f480 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".............;;.
3f4a0 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))....
3f4c0 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-
3f4e0 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
3f500 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.
3f520 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
3f540 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".............;;.....
3f560 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
3f580 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........
3f5a0 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
3f5c0 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
3f5e0 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
3f600 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,.
3f620 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
3f640 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'..........
3f660 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.........
3f680 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)...
3f6a0 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
3f6c0 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.............................(
3f6e0 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))))...............(
3f700 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.....
3f720 20 20 20 20 20 20 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
3f740 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..........................
3f760 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
3f780 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
3f7a0 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
3f7c0 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
3f7e0 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)
3f800 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.....
3f820 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.........
3f840 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".
3f860 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
3f880 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
3f8a0 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...
3f8c0 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
3f8e0 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
3f900 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)...............
3f920 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
3f940 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
3f960 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
3f980 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'
3f9a0 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.....
3f9c0 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/
3f9e0 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
3fa00 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
3fa20 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)......
3fa40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3fa60 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)...............
3fa80 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.
3faa0 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
3fac0 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)..............................
3fae0 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
3fb00 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
3fb20 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
3fb40 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.....................
3fb60 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
3fb80 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))..............
3fba0 20 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..
3fbc0 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))......
3fbe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3fc00 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
3fc20 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 ))..............................
3fc40 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
3fc60 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))........................
3fc80 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
3fca0 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))..........
3fcc0 20 20 20 20 20 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
3fce0 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))..
3fd00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3fd20 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.:
3fd40 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))........................
3fd60 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
3fd80 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'...................
3fda0 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
3fdc0 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...........
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 3b 3b 20 74 68 ...........................;;.th
3fe00 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'.........
3fe20 20 20 20 20 20 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 .............................;;.
3fe40 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..
3fe60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3fe80 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.
3fea0 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..........................
3fec0 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
3fee0 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......................
3ff00 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
3ff20 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......................
3ff40 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
3ff60 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))...........
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 28 72 65 6c 20 ...........................(rel.
3ffa0 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)))).....
3ffc0 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
3ffe0 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.(
40000 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)............
40020 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)).
40040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 61 6c 20 28 63 64 ........................(val.(cd
40060 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))).....................(
40080 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.......................(
400a0 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
400c0 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..................
400e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
40100 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\"."........
40120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
40140 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))
40160 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
40180 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
401a0 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)......
401c0 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.%
401e0 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
40200 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."
40220 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
40240 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
40260 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
40280 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-
402a0 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.
402c0 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-
402e0 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)..........
40300 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
40320 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
40340 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.
40360 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).......
40380 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
403a0 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
403c0 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
403e0 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
40400 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
40420 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)).....
40440 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.
40460 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
40480 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))......
404a0 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
404c0 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).....
404e0 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)"......
40500 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.................
40520 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
40540 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
40560 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
40580 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.((
405a0 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-
405c0 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))).........
405e0 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)"...........
40600 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-
40620 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
40640 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
40660 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....
40680 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
406a0 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))))).....
406c0 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
406e0 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
40700 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
40720 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."
40740 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.....
40760 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....
40780 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.
407a0 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
407c0 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
407e0 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
40800 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
40820 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
40840 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....................
40860 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
40880 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.............
408a0 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
408c0 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........
408e0 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.....
40900 20 20 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.((
40920 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
40940 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)))...................
40960 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
40980 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
409a0 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).........
409c0 20 20 20 20 20 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
409e0 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
40a00 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))))....................
40a20 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
40a40 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.........
40a60 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
40a80 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
40aa0 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))...........................
40ac0 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
40ae0 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)).............
40b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
40b20 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
40b40 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)).............
40b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
40b80 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)
40ba0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
40bc0 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
40be0 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))...............
40c00 20 20 20 20 20 20 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
40c20 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)).....
40c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
40c60 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
40c80 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)).......................
40ca0 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
40cc0 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)))))........
40ce0 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
40d00 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).....................
40d20 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))...
40d40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 61 .............................(va
40d60 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))).................
40d80 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............
40da0 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
40dc0 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...
40de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
40e00 20 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.
40e20 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\"."....................
40e40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
40e60 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))))))...
40e80 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
40ea0 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
40ec0 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)..........
40ee0 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 ..............).................
40f00 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))
40f20 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.
40f40 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............
40f60 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")
40f80 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
40fa0 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:
40fc0 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)..................
40fe0 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
41000 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-
41020 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))..........................
41040 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)))..
41060 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.....
41080 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,
410a0 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
410c0 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........................
410e0 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
41100 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."."))............
41120 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."")....
41140 20 20 20 20 20 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
41160 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.""))........................
41180 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
411a0 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
411c0 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)...............
411e0 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.........
41200 20 20 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
41220 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........
41240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41260 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
41280 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............
412a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
412c0 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))
412e0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
41300 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
41320 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...........................
41340 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
41360 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'..................
41380 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
413a0 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.............
413c0 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
413e0 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.......
41400 20 20 20 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
41420 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...........................
41440 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.".*\
41460 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).....
41480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
414a0 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
414c0 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))))..........
414e0 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
41500 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...................
41520 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
41540 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
41560 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)))................
41580 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
415a0 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............................
415c0 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
415e0 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",...................
41600 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
41620 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...................
41640 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".....
41660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41680 20 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::
416a0 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).............
416c0 20 20 20 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
416e0 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
41700 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 ))))............................
41720 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.
41740 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
41760 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)......................
41780 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.
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 20 20 20 20 20 ................................
417c0 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-
417e0 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
41800 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)))))...............
41820 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
41840 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]
41860 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)..............
41880 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-
418a0 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
418c0 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)..........
418e0 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.........
41900 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
41920 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,...
41940 20 20 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
41960 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
41980 0a 20 20 20 20 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 .............................;;.
419a0 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............................
419c0 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)
419e0 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
41a00 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)))............................
41a20 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\".>}}
41a40 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))......................
41a60 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
41a80 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
41aa0 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..............................(
41ac0 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
41ae0 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)).............
41b00 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
41b20 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)).
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 28 74 0a 20 ............................(t..
41b60 20 20 20 20 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 ............................""))
41b80 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.;;
41ba0 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.......
41bc0 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
41be0 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
41c00 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...
41c20 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)))..
41c40 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
41c60 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
41c80 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."[
41ca0 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=
41cc0 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
41ce0 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
41d00 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)......
41d20 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
41d40 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
41d60 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
41d80 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....
41da0 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...............
41dc0 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
41de0 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)................(
41e00 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-*
41e20 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))).....
41e40 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.
41e60 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-*>}}\\'"...................
41e80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 20 6c 69 6e 6b ..................(format.".link
41ea0 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)...............
41ec0 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))....
41ee0 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
41f00 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..
41f20 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.............
41f40 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
41f60 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>".
41f80 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
41fa0 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).............
41fc0 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............
41fe0 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))
42000 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
42020 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.....
42040 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
42060 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...............
42080 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
420a0 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))..
420c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
420e0 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))).
42100 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-
42120 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.......................
42140 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
42160 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.......
42180 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://
421a0 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/
421c0 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.....
421e0 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."
42200 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).....................
42220 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
42240 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)))........
42260 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
42280 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
422a0 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
422c0 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
422e0 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
42300 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>"...........
42320 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..................
42340 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...............
42360 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
42380 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....................
423a0 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
423c0 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
423e0 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.............
42400 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
42420 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.........
42440 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-
42460 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
42480 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
424a0 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
424c0 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
424e0 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).....
42500 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
42520 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.
42540 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
42560 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...........""))
42580 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
425a0 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)...
425c0 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
425e0 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
42600 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
42620 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:
42640 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
42660 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
42680 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
426a0 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
426c0 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.
426e0 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
42700 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
42720 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
42740 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
42760 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]
42780 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
427a0 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
427c0 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)
427e0 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.......
42800 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
42820 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))).....
42840 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)..
42860 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
42880 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)......
428a0 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.
428c0 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
428e0 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
42900 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
42920 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.
42940 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
42960 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
42980 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
429a0 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).......
429c0 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
429e0 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)...............
42a00 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
42a20 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.(
42a40 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
42a60 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
42a80 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
42aa0 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
42ac0 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
42ae0 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
42b00 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).............
42b20 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)).....
42b40 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
42b60 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)))...........
42b80 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)....
42ba0 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
42bc0 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)))...........
42be0 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-
42c00 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).....................
42c20 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
42c40 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))...
42c60 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
42c80 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)).
42ca0 20 20 20 20 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
42cc0 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
42ce0 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))).....................
42d00 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
42d20 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).........................
42d40 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)).
42d60 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
42d80 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
42da0 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).........................
42dc0 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
42de0 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
42e00 29 0a 20 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-
42e20 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
42e40 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
42e60 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.(
42e80 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
42ea0 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.
42ec0 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
42ee0 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
42f00 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
42f20 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
42f40 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.
42f60 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
42f80 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))).......
42fa0 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
42fc0 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..........................
42fe0 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...
43000 20 20 20 20 20 20 20 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
43020 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.................
43040 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
43060 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..............
43080 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
430a0 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))))
430c0 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-
430e0 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-
43100 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
43120 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
43140 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
43160 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............
43180 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-
431a0 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-
431c0 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
431e0 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
43200 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
43220 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-
43240 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.
43260 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
43280 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
432a0 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
432c0 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
432e0 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
43300 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
43320 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
43340 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
43360 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:
43380 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
433a0 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
433c0 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
433e0 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
43400 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
43420 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
43440 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.
43460 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.
43480 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
434a0 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
434c0 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
434e0 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
43500 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-
43520 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))......
43540 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
43560 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
43580 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
435a0 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).
435c0 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.
435e0 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................
43600 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
43620 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.....................
43640 20 20 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
43660 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................
43680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
436a0 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 20 22 63 6f 6e 74 65 6e 74 22 20 68 75 67 6f 2d expand-file-name."content".hugo-
436c0 62 61 73 65 2d 64 69 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 base-dir))))....................
436e0 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 75 6e 64 ............(is-home-branch-bund
43700 6c 65 20 28 73 74 72 69 6e 67 3d 20 62 75 6e 64 6c 65 2d 64 69 72 20 63 6f 6e 74 65 6e 74 2d 64 le.(string=.bundle-dir.content-d
43720 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 20 20 20 20 20 20 ir)))...........................
43740 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 20 20 (cond...........................
43760 20 28 69 73 2d 68 6f 6d 65 2d 62 72 61 6e 63 68 2d 62 75 6e 64 6c 65 0a 20 20 20 20 20 20 20 20 .(is-home-branch-bundle.........
43780 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5f 68 6f 6d 65 22 29 0a 20 20 20 ...................."_home")....
437a0 20 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 60 62 75 6e ........................(t.;`bun
437c0 64 6c 65 2d 64 69 72 27 3d 22 2f 66 6f 6f 2f 62 61 72 2f 22 20 2d 3e 20 60 62 75 6e 64 6c 65 2d dle-dir'="/foo/bar/".->.`bundle-
437e0 6e 61 6d 65 27 3d 22 62 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 name'="bar".....................
43800 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 62 61 73 65 20 28 64 69 72 65 63 74 6f ........(file-name-base.(directo
43820 72 79 2d 66 69 6c 65 2d 6e 61 6d 65 20 62 75 6e 64 6c 65 2d 64 69 72 29 29 29 29 29 29 29 0a 20 ry-file-name.bundle-dir)))))))..
43840 20 20 20 20 20 20 20 20 28 73 74 61 74 69 63 2d 64 69 72 20 28 66 69 6c 65 2d 74 72 75 65 6e 61 ........(static-dir.(file-truena
43860 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 28 66 69 6c 65 2d 6e me.......................(file-n
43880 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................
438a0 20 20 20 20 20 20 20 20 28 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 20 22 73 74 61 74 69 ........(expand-file-name."stati
438c0 63 22 20 68 75 67 6f 2d 62 61 73 65 2d 64 69 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 c".hugo-base-dir))))..........(d
438e0 65 73 74 2d 64 69 72 20 28 6f 72 20 62 75 6e 64 6c 65 2d 64 69 72 20 73 74 61 74 69 63 2d 64 69 est-dir.(or.bundle-dir.static-di
43900 72 29 29 0a 20 20 20 20 20 20 20 20 20 72 65 74 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 66 r))..........ret).....(unless.(f
43920 69 6c 65 2d 64 69 72 65 63 74 6f 72 79 2d 70 20 73 74 61 74 69 63 2d 64 69 72 29 0a 20 20 20 20 ile-directory-p.static-dir).....
43940 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 50 6c 65 61 73 65 20 63 72 65 61 74 65 20 74 68 65 ..(user-error."Please.create.the
43960 20 25 73 20 64 69 72 65 63 74 6f 72 79 22 20 73 74 61 74 69 63 2d 64 69 72 29 29 0a 20 20 20 20 .%s.directory".static-dir)).....
43980 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.
439a0 72 65 77 72 69 74 65 5d 20 49 6d 61 67 65 20 65 78 70 6f 72 74 20 64 69 72 20 69 73 3a 20 25 73 rewrite].Image.export.dir.is:.%s
439c0 22 20 73 74 61 74 69 63 2d 64 69 72 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b ".static-dir).....;;.(message."[
439e0 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 70 61 74 68 3a ox-hugo.DBG.attch.rewrite].path:
43a00 20 25 73 22 20 70 61 74 68 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d .%s".path).....;;.(message."[ox-
43a20 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 70 61 74 68 2d 74 72 75 hugo.DBG.attch.rewrite].path-tru
43a40 65 3a 20 25 73 22 20 70 61 74 68 2d 74 72 75 65 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 e:.%s".path-true).....;;.(messag
43a60 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 20 62 e."[ox-hugo.DBG.attch.rewrite].b
43a80 75 6e 64 6c 65 2d 64 69 72 3a 20 25 73 22 20 62 75 6e 64 6c 65 2d 64 69 72 29 0a 20 20 20 20 3b undle-dir:.%s".bundle-dir).....;
43aa0 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
43ac0 65 77 72 69 74 65 5d 20 62 75 6e 64 6c 65 2d 6e 61 6d 65 3a 20 25 73 22 20 62 75 6e 64 6c 65 2d ewrite].bundle-name:.%s".bundle-
43ae0 6e 61 6d 65 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 name).....;;.(message."[ox-hugo.
43b00 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 5d 20 64 65 66 61 75 6c 74 2d 64 69 72 3a 20 DBG.attch.rewrite].default-dir:.
43b20 25 73 22 20 64 65 66 61 75 6c 74 2d 64 69 72 65 63 74 6f 72 79 29 0a 20 20 20 20 3b 3b 20 28 6d %s".default-directory).....;;.(m
43b40 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 72 69 essage."[ox-hugo.DBG.attch.rewri
43b60 74 65 5d 20 64 65 73 74 2d 64 69 72 3a 20 25 73 22 20 64 65 73 74 2d 64 69 72 29 0a 20 20 20 20 te].dest-dir:.%s".dest-dir).....
43b80 28 69 66 20 28 61 6e 64 20 28 66 69 6c 65 2d 65 78 69 73 74 73 2d 70 20 70 61 74 68 2d 74 72 75 (if.(and.(file-exists-p.path-tru
43ba0 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 28 66 69 6c 65 2d 6e 61 e)..............(member.(file-na
43bc0 6d 65 2d 65 78 74 65 6e 73 69 6f 6e 20 70 61 74 68 2d 75 6e 68 65 78 69 66 69 65 64 29 20 65 78 me-extension.path-unhexified).ex
43be0 70 6f 72 74 61 62 6c 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 64 69 portables)..............(file-di
43c00 72 65 63 74 6f 72 79 2d 70 20 64 65 73 74 2d 64 69 72 29 29 0a 20 20 20 20 20 20 20 20 28 70 72 rectory-p.dest-dir)).........(pr
43c20 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 68 65 63 6b 20 69 66 20 60 70 61 74 68 2d ogn...........;;.Check.if.`path-
43c40 74 72 75 65 27 20 69 73 20 61 6c 72 65 61 64 79 20 69 6e 73 69 64 65 20 60 64 65 73 74 2d 64 69 true'.is.already.inside.`dest-di
43c60 72 27 2e 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 r'............(if.(string-match.
43c80 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 64 65 73 74 2d 64 69 72 29 20 70 61 74 68 2d 74 72 75 (regexp-quote.dest-dir).path-tru
43ca0 65 29 0a 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 e)...............(progn.........
43cc0 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 73 6f 2c 20 72 65 74 75 72 6e 20 2a 6f 6e 6c 79 2a 20 ........;;.If.so,.return.*only*.
43ce0 74 68 65 20 70 61 74 68 20 63 6f 6e 73 69 64 65 72 69 6e 67 20 74 68 65 0a 20 20 20 20 20 20 20 the.path.considering.the........
43d00 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 64 69 72 65 63 74 6f 72 .........;;.destination.director
43d20 79 20 61 73 20 72 6f 6f 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 y.as.root..................(setq
43d40 20 72 65 74 20 28 63 6f 6e 63 61 74 20 22 2f 22 20 28 73 75 62 73 74 72 69 6e 67 20 70 61 74 68 .ret.(concat."/".(substring.path
43d60 2d 74 72 75 65 20 28 6d 61 74 63 68 2d 65 6e 64 20 30 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 -true.(match-end.0))))).........
43d80 20 20 20 20 28 6c 65 74 2a 20 28 28 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 ....(let*.((file-name-relative-p
43da0 61 74 68 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 64 0a 20 20 ath.....................(cond...
43dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 2d 6d 61 74 63 ...................((string-matc
43de0 68 20 22 2f 73 74 61 74 69 63 2f 22 20 70 61 74 68 2d 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 h."/static/".path-true).........
43e00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 60 70 61 74 68 2d 74 72 75 65 27 20 69 73 20 ..............;;.`path-true'.is.
43e20 22 2f 66 6f 6f 2f 73 74 61 74 69 63 2f 62 61 72 2f 62 61 7a 2e 70 6e 67 22 2c 0a 20 20 20 20 20 "/foo/static/bar/baz.png",......
43e40 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 62 61 72 2f .................;;.return."bar/
43e60 62 61 7a 2e 70 6e 67 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 baz.png"........................
43e80 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.
43ea0 72 65 77 72 69 74 65 5d 20 70 61 74 68 20 63 6f 6e 74 61 69 6e 73 20 73 74 61 74 69 63 22 29 0a rewrite].path.contains.static").
43ec0 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 70 61 74 68 ......................;;.If.path
43ee0 2d 74 72 75 65 20 63 6f 6e 74 61 69 6e 73 20 22 2f 73 74 61 74 69 63 2f 22 2c 20 73 65 74 20 74 -true.contains."/static/",.set.t
43f00 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 60 64 65 73 he.......................;;.`des
43f20 74 2d 64 69 72 27 20 74 6f 20 60 73 74 61 74 69 63 2d 64 69 72 27 20 28 65 76 65 6e 20 69 66 20 t-dir'.to.`static-dir'.(even.if.
43f40 74 68 69 73 20 69 73 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 this.is.a.......................
43f60 3b 3b 20 70 61 67 65 20 62 75 6e 64 6c 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ;;.page.bundle).................
43f80 20 20 20 20 20 20 20 28 73 65 74 71 20 64 65 73 74 2d 64 69 72 20 73 74 61 74 69 63 2d 64 69 72 .......(setq.dest-dir.static-dir
43fa0 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 73 75 62 73 74 72 69 ).......................(substri
43fc0 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)))....
43fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 75 6e 64 6c 65 2d 64 69 72 0a 20 20 ..................(bundle-dir...
44000 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 20 20 ....................(cond.......
44020 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.
44040 28 63 6f 6e 63 61 74 20 22 2f 22 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 62 75 6e 64 6c 65 (concat."/".(regexp-quote.bundle
44060 2d 6e 61 6d 65 29 20 22 2f 22 29 20 70 61 74 68 2d 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 20 -name)."/").path-true)..........
44080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 68 69 73 20 69 73 20 61 20 70 61 67 65 ...............;;.This.is.a.page
440a0 20 62 75 6e 64 6c 65 2e 20 20 60 62 75 6e 64 6c 65 2d 6e 61 6d 65 27 20 69 73 0a 20 20 20 20 20 .bundle...`bundle-name'.is......
440c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 3c 42 55 4e 44 4c 45 5f 4e ...................;;."<BUNDLE_N
440e0 41 4d 45 3e 22 2c 20 60 70 61 74 68 2d 74 72 75 65 27 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 AME>",.`path-true'.is...........
44100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 3c 4f 52 47 5f 46 49 4c 45 5f 44 49 52 3e ..............;;."<ORG_FILE_DIR>
44120 2f 62 61 72 2f 3c 42 55 4e 44 4c 45 5f 4e 41 4d 45 3e 2f 7a 6f 6f 2f 62 61 7a 2e 70 6e 67 22 2c /bar/<BUNDLE_NAME>/zoo/baz.png",
44140 0a 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 72 65 74 75 .........................;;.retu
44160 72 6e 20 22 7a 6f 6f 2f 62 61 7a 2e 70 6e 67 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rn."zoo/baz.png"................
44180 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 20 ..........;;.(message."[ox-hugo.
441a0 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 31 5d 20 62 75 6e 64 DBG.attch.rewrite.BUNDLE.1].bund
441c0 6c 65 2d 6e 61 6d 65 3a 20 25 73 22 20 62 75 6e 64 6c 65 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 le-name:.%s".bundle-name).......
441e0 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."[
44200 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 42 55 4e 44 4c 45 ox-hugo.DBG.attch.rewrite.BUNDLE
44220 20 31 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 .1].attch.along.with.Org.content
44240 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b :.%s".........................;;
44260 20 20 20 20 20 20 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 20 70 61 74 68 2d 74 72 75 65 20 28 ..........(substring.path-true.(
44280 6d 61 74 63 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 match-end.0)))..................
442a0 20 20 20 20 20 20 20 28 73 75 62 73 74 72 69 6e 67 20 70 61 74 68 2d 74 72 75 65 20 28 6d 61 74 .......(substring.path-true.(mat
442c0 63 68 2d 65 6e 64 20 30 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ch-end.0))).....................
442e0 20 20 20 28 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 ...((string-match.(regexp-quote.
44300 64 65 66 61 75 6c 74 2d 64 69 72 65 63 74 6f 72 79 29 20 70 61 74 68 2d 74 72 75 65 29 0a 20 20 default-directory).path-true)...
44320 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 68 69 73 20 69 73 ......................;;.This.is
44340 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 70 61 74 68 27 20 .a.page.bundle...`default-path'.
44360 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 3c is.........................;;."<
44380 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 65 27 20 69 73 0a ORG_FILE_DIR>/",.`path-true'.is.
443a0 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 3c 4f 52 47 ........................;;."<ORG
443c0 5f 46 49 4c 45 5f 44 49 52 3e 2f 62 61 72 2f 62 61 7a 2e 70 6e 67 22 2c 20 72 65 74 75 72 6e 0a _FILE_DIR>/bar/baz.png",.return.
443e0 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 62 61 72 2f ........................;;."bar/
44400 62 61 7a 2e 70 6e 67 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 baz.png"........................
44420 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 63 ..;;.(message."[ox-hugo.DBG.attc
44440 68 20 72 65 77 72 69 74 65 20 42 55 4e 44 4c 45 20 32 5d 20 61 74 74 63 68 20 61 6c 6f 6e 67 20 h.rewrite.BUNDLE.2].attch.along.
44460 77 69 74 68 20 4f 72 67 20 63 6f 6e 74 65 6e 74 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 with.Org.content:.%s"...........
44480 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 73 75 62 73 74 ..............;;..........(subst
444a0 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 29 29 29 0a 20 ring.path-true.(match-end.0)))..
444c0 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 75 62 73 74 72 69 6e .......................(substrin
444e0 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 20 g.path-true.(match-end.0))).....
44500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 ...................(t...........
44520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 68 69 73 20 69 73 20 61 20 70 61 67 65 20 ..............;;.This.is.a.page.
44540 62 75 6e 64 6c 65 2e 20 20 60 64 65 66 61 75 6c 74 2d 70 61 74 68 27 20 69 73 0a 20 20 20 20 20 bundle...`default-path'.is......
44560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 3c 4f 52 47 5f 46 49 4c 45 ...................;;."<ORG_FILE
44580 5f 44 49 52 3e 2f 22 2c 20 60 70 61 74 68 2d 74 72 75 65 27 20 69 73 0a 20 20 20 20 20 20 20 20 _DIR>/",.`path-true'.is.........
445a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 2f 66 6f 6f 2f 62 61 72 2f 62 61 7a ................;;."/foo/bar/baz
445c0 2e 70 6e 67 22 2c 20 72 65 74 75 72 6e 20 22 62 61 7a 2e 70 6e 67 22 2e 0a 20 20 20 20 20 20 20 .png",.return."baz.png".........
445e0 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
44600 78 2d 68 75 67 6f 20 44 42 47 20 61 74 74 63 68 20 72 65 77 72 69 74 65 20 42 55 4e 44 4c 45 20 x-hugo.DBG.attch.rewrite.BUNDLE.
44620 33 5d 20 61 74 74 63 68 20 6e 65 69 74 68 65 72 20 69 6e 20 73 74 61 74 69 63 20 6e 6f 72 20 69 3].attch.neither.in.static.nor.i
44640 6e 20 4f 72 67 20 66 69 6c 65 20 64 69 72 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 n.Org.file.dir")................
44660 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
44680 20 70 61 74 68 2d 75 6e 68 65 78 69 66 69 65 64 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 .path-unhexified))))............
446a0 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 20 ..........(t....................
446c0 20 20 20 3b 3b 20 45 6c 73 65 2c 20 60 70 61 74 68 2d 74 72 75 65 27 20 69 73 20 22 2f 66 6f 6f ...;;.Else,.`path-true'.is."/foo
446e0 2f 62 61 72 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 /bar/baz.png",..................
44700 20 20 20 20 20 3b 3b 20 72 65 74 75 72 6e 20 22 6f 78 2d 68 75 67 6f 2f 62 61 7a 2e 70 6e 67 22 .....;;.return."ox-hugo/baz.png"
44720 2e 20 20 22 6f 78 2d 68 75 67 6f 22 20 69 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 ..."ox-hugo".is.the.............
44740 20 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 6f 66 0a 20 20 ..........;;.default.value.of...
44760 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 6f ....................;;.`org-hugo
44780 2d 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 -default-static-subdirectory-for
447a0 2d 65 78 74 65 72 6e 61 6c 73 27 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -externals'.....................
447c0 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
447e0 63 68 20 72 65 77 72 69 74 65 5d 20 6e 65 69 74 68 65 72 20 42 55 4e 44 4c 45 20 6e 6f 72 20 63 ch.rewrite].neither.BUNDLE.nor.c
44800 6f 6e 74 61 69 6e 73 20 73 74 61 74 69 63 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ontains.static")................
44820 20 20 20 20 20 20 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 20 .......(concat..................
44840 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 20 6f 72 ......(file-name-as-directory.or
44860 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 75 62 64 69 72 65 63 74 6f g-hugo-default-static-subdirecto
44880 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ry-for-externals)...............
448a0 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
448c0 20 70 61 74 68 2d 75 6e 68 65 78 69 66 69 65 64 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 .path-unhexified)))))...........
448e0 20 20 20 20 20 20 20 20 20 28 64 65 73 74 2d 70 61 74 68 20 28 63 6f 6e 63 61 74 20 64 65 73 74 .........(dest-path.(concat.dest
44900 2d 64 69 72 20 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 68 29 29 0a 20 -dir.file-name-relative-path))..
44920 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 68 2d 64 69 72 ..................(dest-path-dir
44940 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 64 69 72 65 63 74 6f 72 79 20 64 65 73 74 2d 70 61 74 68 29 .(file-name-directory.dest-path)
44960 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 54 68 65 20 60 64 65 73 74 2d 64 69 ))...............;;.The.`dest-di
44980 72 27 20 77 6f 75 6c 64 20 61 6c 72 65 61 64 79 20 65 78 69 73 74 2e 20 20 42 75 74 20 69 66 0a r'.would.already.exist...But.if.
449a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 60 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 ..............;;.`file-name-rela
449c0 74 69 76 65 2d 70 61 74 68 27 20 69 73 20 22 69 6d 61 67 65 73 2f 69 6d 61 67 65 2e 70 6e 67 22 tive-path'.is."images/image.png"
449e0 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 66 6f 6f 2f 62 61 72 2e 74 78 .or...............;;."foo/bar.tx
44a00 74 22 2c 20 69 74 27 73 20 6c 69 6b 65 6c 79 20 74 68 61 74 20 22 60 64 65 73 74 2d 64 69 72 27 t",.it's.likely.that."`dest-dir'
44a20 2f 69 6d 61 67 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 72 20 22 60 64 /images"...............;;.or."`d
44a40 65 73 74 2d 64 69 72 27 2f 66 6f 6f 22 20 6d 69 67 68 74 20 6e 6f 74 20 65 78 69 73 74 2e 20 20 est-dir'/foo".might.not.exist...
44a60 53 6f 20 63 72 65 61 74 65 20 74 68 6f 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b So.create.those...............;;
44a80 20 69 66 20 6e 65 65 64 65 64 20 62 65 6c 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .if.needed.below................
44aa0 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 74 68 (unless.(file-exists-p.dest-path
44ac0 2d 64 69 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 6b 64 69 72 20 64 65 73 -dir).................(mkdir.des
44ae0 74 2d 70 61 74 68 2d 64 69 72 20 3a 70 61 72 65 6e 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 t-path-dir.:parents))...........
44b00 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
44b20 74 63 68 20 72 65 77 72 69 74 65 5d 20 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d tch.rewrite].file-name-relative-
44b40 70 61 74 68 3a 20 25 73 22 20 66 69 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 path:.%s".file-name-relative-pat
44b60 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f h)...............;;.(message."[o
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 64 65 73 74 2d 70 x-hugo.DBG.attch.rewrite].dest-p
44ba0 61 74 68 3a 20 25 73 22 20 64 65 73 74 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 ath:.%s".dest-path).............
44bc0 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 63 ..;;.(message."[ox-hugo.DBG.attc
44be0 68 20 72 65 77 72 69 74 65 5d 20 64 65 73 74 2d 70 61 74 68 2d 64 69 72 3a 20 25 73 22 20 64 65 h.rewrite].dest-path-dir:.%s".de
44c00 73 74 2d 70 61 74 68 2d 64 69 72 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 st-path-dir)................;;.D
44c20 6f 20 74 68 65 20 63 6f 70 79 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 66 69 6c 65 20 74 6f 20 62 o.the.copy.only.if.the.file.to.b
44c40 65 20 63 6f 70 69 65 64 20 69 73 20 6e 65 77 65 72 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 e.copied.is.newer.or............
44c60 20 20 20 3b 3b 20 64 6f 65 73 6e 27 74 20 65 78 69 73 74 20 69 6e 20 74 68 65 20 73 74 61 74 69 ...;;.doesn't.exist.in.the.stati
44c80 63 20 64 69 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 66 69 6c 65 c.dir................(when.(file
44ca0 2d 6e 65 77 65 72 2d 74 68 61 6e 2d 66 69 6c 65 2d 70 20 70 61 74 68 2d 74 72 75 65 20 64 65 73 -newer-than-file-p.path-true.des
44cc0 74 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 t-path).................(message
44ce0 20 22 5b 6f 78 2d 68 75 67 6f 5d 20 43 6f 70 69 65 64 20 25 53 20 74 6f 20 25 53 22 20 70 61 74 ."[ox-hugo].Copied.%S.to.%S".pat
44d00 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 20 20 20 20 h-true.dest-path)...............
44d20 20 20 28 63 6f 70 79 2d 66 69 6c 65 20 70 61 74 68 2d 74 72 75 65 20 64 65 73 74 2d 70 61 74 68 ..(copy-file.path-true.dest-path
44d40 20 3a 6f 6b 2d 69 66 2d 61 6c 72 65 61 64 79 2d 65 78 69 73 74 73 29 29 0a 20 20 20 20 20 20 20 .:ok-if-already-exists))........
44d60 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 69 66 20 28 61 6e 64 20 62 75 6e 64 6c 65 .......(setq.ret.(if.(and.bundle
44d80 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 20 20 20 20 20 20 20 -dir............................
44da0 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 62 75 6e 64 6c 65 2d 64 69 72 20 64 65 73 74 2d 64 ......(string=.bundle-dir.dest-d
44dc0 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 20 20 20 20 20 20 ir))............................
44de0 20 3b 3b 20 49 66 20 61 74 74 61 63 68 6d 65 6e 74 73 20 61 72 65 20 63 6f 70 69 65 64 20 74 6f .;;.If.attachments.are.copied.to
44e00 20 74 68 65 20 62 75 6e 64 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .the.bundle.....................
44e20 20 20 20 20 20 20 20 20 3b 3b 20 64 69 72 65 63 74 6f 72 79 2c 20 64 6f 6e 27 74 20 70 72 65 66 ........;;.directory,.don't.pref
44e40 69 78 20 74 68 65 20 70 61 74 68 20 61 73 20 22 2f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ix.the.path.as."/"..............
44e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 73 20 74 68 6f 73 65 20 70 61 74 68 73 ...............;;.as.those.paths
44e80 20 77 6f 6e 27 74 20 65 78 69 73 74 20 61 74 20 74 68 65 20 73 69 74 65 0a 20 20 20 20 20 20 20 .won't.exist.at.the.site........
44ea0 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 61 73 65 20 55 52 4c .....................;;.base.URL
44ec0 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 66 69 ..............................fi
44ee0 6c 65 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 le-name-relative-path...........
44f00 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 2f 22 20 66 69 6c 65 ................(concat."/".file
44f20 2d 6e 61 6d 65 2d 72 65 6c 61 74 69 76 65 2d 70 61 74 68 29 29 29 29 29 29 0a 20 20 20 20 20 20 -name-relative-path)))))).......
44f40 28 73 65 74 71 20 72 65 74 20 70 61 74 68 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 (setq.ret.path)).....;;.(message
44f60 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 20 72 65 ."[ox-hugo.DBG.attch.rewrite].re
44f80 74 75 72 6e 65 64 20 70 61 74 68 3a 20 25 73 22 20 72 65 74 29 0a 20 20 20 20 72 65 74 29 29 0a turned.path:.%s".ret).....ret)).
44fa0 0a 3b 3b 3b 3b 20 50 61 72 61 67 72 61 70 68 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d .;;;;.Paragraph.(defun.org-hugo-
44fc0 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 28 70 61 72 61 paragraph--process-content.(para
44fe0 67 72 61 70 68 20 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 50 72 6f 63 65 73 73 20 graph.contents.info)..."Process.
45000 74 68 65 20 63 6f 6e 74 65 6e 74 20 6f 66 20 70 61 72 61 67 72 61 70 68 73 2e 0a 0a 2d 20 50 72 the.content.of.paragraphs...-.Pr
45020 65 76 65 6e 74 20 75 6e 77 61 6e 74 65 64 20 73 70 61 63 65 73 20 77 68 65 6e 20 6a 6f 69 6e 69 event.unwanted.spaces.when.joini
45040 6e 67 20 43 68 69 6e 65 73 65 2f 4a 61 70 61 6e 65 73 65 20 6c 69 6e 65 73 2e 0a 2d 20 4a 6f 69 ng.Chinese/Japanese.lines..-.Joi
45060 6e 20 61 6c 6c 20 6c 69 6e 65 73 20 69 6e 20 61 20 70 61 72 61 67 72 61 70 68 20 69 6e 74 6f 20 n.all.lines.in.a.paragraph.into.
45080 61 20 73 69 6e 67 6c 65 20 6c 69 6e 65 20 69 66 0a 20 20 60 3a 68 75 67 6f 2d 70 72 65 73 65 72 a.single.line.if...`:hugo-preser
450a0 76 65 2d 66 69 6c 6c 69 6e 67 27 20 70 6c 69 73 74 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 69 ve-filling'.plist.property.is.ni
450c0 6c 2e 0a 2d 20 41 64 64 20 5c 22 26 6e 62 73 70 3b 5c 22 20 48 54 4d 4c 20 65 6e 74 69 74 79 20 l..-.Add.\"&nbsp;\".HTML.entity.
450e0 62 65 66 6f 72 65 20 66 6f 6f 74 6e 6f 74 65 20 61 6e 63 68 6f 72 73 20 73 6f 20 74 68 61 74 20 before.footnote.anchors.so.that.
45100 74 68 65 0a 20 20 61 6e 63 68 6f 72 73 20 77 6f 6e 27 74 20 62 65 20 6f 6e 20 61 20 73 65 70 61 the...anchors.won't.be.on.a.sepa
45120 72 61 74 65 20 6c 69 6e 65 20 62 79 20 74 68 65 6d 73 65 6c 76 65 73 2e 0a 0a 52 65 74 75 72 6e rate.line.by.themselves...Return
45140 20 74 68 65 20 70 72 6f 63 65 73 73 65 64 20 43 4f 4e 54 45 4e 54 53 20 73 74 72 69 6e 67 20 66 .the.processed.CONTENTS.string.f
45160 72 6f 6d 20 74 68 65 20 50 41 52 41 47 52 41 50 48 20 65 6c 65 6d 65 6e 74 2e 0a 49 4e 46 4f 20 rom.the.PARAGRAPH.element..INFO.
45180 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
451a0 6f 6e 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 28 6c 65 74 20 28 28 72 65 74 20 63 6f 6e 74 65 6e on.channel."...(let.((ret.conten
451c0 74 73 29 29 0a 20 20 20 20 3b 3b 20 4a 6f 69 6e 20 63 6f 6e 73 65 63 75 74 69 76 65 20 43 68 69 ts)).....;;.Join.consecutive.Chi
451e0 6e 65 73 65 2c 20 4a 61 70 61 6e 65 73 65 20 6c 69 6e 65 73 20 69 6e 74 6f 20 61 20 73 69 6e 67 nese,.Japanese.lines.into.a.sing
45200 6c 65 20 6c 6f 6e 67 0a 20 20 20 20 3b 3b 20 6c 69 6e 65 20 77 69 74 68 6f 75 74 20 75 6e 77 61 le.long.....;;.line.without.unwa
45220 6e 74 65 64 20 73 70 61 63 65 20 69 6e 62 65 74 77 65 65 6e 2e 0a 20 20 20 20 28 77 68 65 6e 20 nted.space.inbetween......(when.
45240 28 6f 72 67 2d 68 75 67 6f 2d 2d 6c 61 6e 67 2d 63 6a 6b 2d 70 20 69 6e 66 6f 29 0a 20 20 20 20 (org-hugo--lang-cjk-p.info).....
45260 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 65 6d 61 63 73 2d 63 68 69 6e 61 2e 6f 72 67 2f 74 2f 6f ..;;.https://emacs-china.org/t/o
45280 78 2d 68 75 67 6f 2d 61 75 74 6f 2d 66 69 6c 6c 2d 6d 6f 64 65 2d 6d 61 72 6b 64 6f 77 6e 2f 39 x-hugo-auto-fill-mode-markdown/9
452a0 35 34 37 2f 35 0a 20 20 20 20 20 20 3b 3b 20 45 78 61 6d 70 6c 65 3a 20 e8 bf 99 e6 98 af e4 b8 547/5.......;;.Example:.........
452c0 80 e4 b8 aa e6 b5 8b e8 af 95 20 20 20 20 20 2d 3e 20 e8 bf 99 e6 98 af e4 b8 80 e4 b8 aa e6 b5 ...............->...............
452e0 8b e8 af 95 e6 96 87 e6 9c ac 20 28 22 54 68 69 73 20 69 73 20 61 20 74 65 73 74 20 74 65 78 74 ...........("This.is.a.test.text
45300 22 29 0a 20 20 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 e6 96 87 e6 9c ac 0a 20 20 20 20 ").......;;.....................
45320 20 20 28 73 65 74 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 ..(setq.ret.(replace-regexp-in-s
45340 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 5b 5b 3a 6d 75 tring.................."\\([[:mu
45360 6c 74 69 62 79 74 65 3a 5d 5d 5c 5c 29 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 6e 5b 5b 3a 62 6c ltibyte:]]\\)[[:blank:]]*\n[[:bl
45380 61 6e 6b 3a 5d 5d 2a 5c 5c 28 5b 5b 3a 6d 75 6c 74 69 62 79 74 65 3a 5d 5d 5c 5c 29 22 20 22 5c ank:]]*\\([[:multibyte:]]\\)"."\
453a0 5c 31 5c 5c 32 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 29 29 0a 20 20 \1\\2"..................ret))...
453c0 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 61 72 61 67 ....;;.(message."[org-hugo-parag
453e0 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 6f 6e 74 65 raph--process-content.DBG].conte
45400 6e 74 73 20 31 3a 20 25 73 22 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 20 20 29 0a 0a 20 20 nts.1:.%s".contents).......)....
45420 20 20 3b 3b 20 4a 6f 69 6e 20 61 6c 6c 20 63 6f 6e 74 65 6e 74 20 69 6e 74 6f 20 61 20 73 69 6e ..;;.Join.all.content.into.a.sin
45440 67 6c 65 20 6c 69 6e 65 20 28 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 6e 65 77 6c 69 6e 65 29 gle.line.(followed.by.a.newline)
45460 0a 20 20 20 20 3b 3b 20 69 66 20 3a 68 75 67 6f 2d 70 72 65 73 65 72 76 65 2d 66 69 6c 6c 69 6e .....;;.if.:hugo-preserve-fillin
45480 67 20 69 73 20 6e 69 6c 2e 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 67 2d 68 75 67 6f 2d g.is.nil......(unless.(org-hugo-
454a0 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 72 65 -plist-get-true-p.info.:hugo-pre
454c0 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 serve-filling).......(setq.ret.(
454e0 63 6f 6e 63 61 74 20 28 6d 61 70 63 6f 6e 63 61 74 20 27 69 64 65 6e 74 69 74 79 20 28 73 70 6c concat.(mapconcat.'identity.(spl
45500 69 74 2d 73 74 72 69 6e 67 20 72 65 74 29 20 22 20 22 29 20 22 5c 6e 22 29 29 29 0a 0a 20 20 20 it-string.ret).".")."\n"))).....
45520 20 3b 3b 20 53 70 65 63 69 61 6c 20 70 72 6f 63 65 73 73 69 6e 67 20 66 6f 72 20 66 6f 6f 74 6e .;;.Special.processing.for.footn
45540 6f 74 65 73 2e 0a 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 otes......(setq.ret.(replace-reg
45560 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 3b 3b 20 exp-in-string................;;.
45580 47 6c 75 65 20 66 6f 6f 74 6e 6f 74 65 73 20 74 6f 20 74 68 65 20 77 6f 72 64 73 20 62 65 66 6f Glue.footnotes.to.the.words.befo
455a0 72 65 20 74 68 65 6d 20 75 73 69 6e 67 20 26 6e 62 73 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 re.them.using.&nbsp;............
455c0 20 20 20 20 3b 3b 20 73 6f 20 74 68 61 74 20 74 68 65 20 66 6f 6f 74 6e 6f 74 65 20 72 65 66 65 ....;;.so.that.the.footnote.refe
455e0 72 65 6e 63 65 20 64 6f 65 73 20 6e 6f 74 20 65 6e 64 20 75 70 20 6f 6e 20 61 0a 20 20 20 20 20 rence.does.not.end.up.on.a......
45600 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6e 65 77 20 6c 69 6e 65 20 62 79 20 69 74 73 65 6c 66 2e ..........;;.new.line.by.itself.
45620 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 73 6f 6d 65 74 68 69 6e 67 20 46 4e ................;;."something.FN
45640 22 20 2d 3e 20 22 73 6f 6d 65 74 68 69 6e 67 26 6e 62 73 70 3b 46 4e 22 0a 20 20 20 20 20 20 20 ".->."something&nbsp;FN"........
45660 20 20 20 20 20 20 20 20 22 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2b 5c 5c 28 5c 5c 5b 5c 5c 5e 5b 5e ........"[[:blank:]]+\\(\\[\\^[^
45680 5d 5d 2b 5c 5c 5d 5c 5c 29 22 20 22 26 6e 62 73 70 3b 5c 5c 31 22 0a 20 20 20 20 20 20 20 20 20 ]]+\\]\\)"."&nbsp;\\1"..........
456a0 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.
456c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 22 46 4e 20 2e 22 20 2d 3e 20 22 46 4e ................;;."FN..".->."FN
456e0 2e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 5c 28 5c 5c 5b 5c 5c 5e 5b 5e 5d ."................."\\(\\[\\^[^]
45700 5d 2b 5c 5c 5d 5c 5c 29 5b 5b 3a 62 6c 61 6e 6b 3a 5d 5d 2a 5c 5c 28 5b 2e 5d 2b 5c 5c 29 22 20 ]+\\]\\)[[:blank:]]*\\([.]+\\)".
45720 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 72 65 74 29 29 29 0a "\\1\\2".................ret))).
45740 0a 20 20 20 20 3b 3b 20 45 73 63 61 70 65 20 61 6e 79 20 6c 69 6e 65 73 20 73 74 61 72 74 69 6e .....;;.Escape.any.lines.startin
45760 67 20 77 69 74 68 20 60 23 27 20 77 68 69 63 68 20 69 73 20 74 68 65 20 6d 61 72 6b 75 70 20 66 g.with.`#'.which.is.the.markup.f
45780 6f 72 0a 20 20 20 20 3b 3b 20 68 65 61 64 69 6e 67 73 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 2e 0a or.....;;.headings.in.Markdown..
457a0 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 6d 64 2d 70 61 72 61 67 72 61 70 68 20 ....(setq.ret.(org-md-paragraph.
457c0 70 61 72 61 67 72 61 70 68 20 72 65 74 20 69 6e 66 6f 29 29 0a 0a 20 20 20 20 3b 3b 20 28 6d 65 paragraph.ret.info))......;;.(me
457e0 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 2d 2d 70 72 6f 63 ssage."[org-hugo-paragraph--proc
45800 65 73 73 2d 63 6f 6e 74 65 6e 74 20 44 42 47 5d 20 63 6f 6e 74 65 6e 74 73 20 32 3a 20 25 73 22 ess-content.DBG].contents.2:.%s"
45820 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 .contents).....ret))..(defun.org
45840 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 20 28 70 61 72 61 67 72 61 70 68 20 63 6f 6e 74 65 -hugo-paragraph.(paragraph.conte
45860 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 54 72 61 6e 73 63 6f 64 65 20 50 41 52 41 47 52 41 50 48 nts.info)..."Transcode.PARAGRAPH
45880 20 65 6c 65 6d 65 6e 74 20 69 6e 74 6f 20 48 75 67 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d .element.into.Hugo.Markdown.form
458a0 61 74 2e 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 74 68 65 20 70 61 72 61 67 72 61 70 68 20 63 6f at..CONTENTS.is.the.paragraph.co
458c0 6e 74 65 6e 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 ntents...INFO.is.a.plist.used.as
458e0 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 28 6c 65 .a.communication.channel."...(le
45900 74 2a 20 28 28 70 61 72 65 6e 74 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 70 61 72 65 t*.((parent.(org-export-get-pare
45920 6e 74 20 70 61 72 61 67 72 61 70 68 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 2d nt.paragraph))..........(parent-
45940 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 74 79 70 65 20 70 61 72 65 6e 74 29 29 29 type.(org-element-type.parent)))
45960 0a 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 70 61 72 61 ......;;.(message."[ox-hugo-para
45980 20 44 42 47 5d 20 73 74 61 6e 64 61 6c 6f 6e 65 20 69 6d 61 67 65 3f 20 25 73 5c 6e 63 6f 6e 74 .DBG].standalone.image?.%s\ncont
459a0 65 6e 74 73 3a 20 25 73 22 0a 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 ents:.%s".....;;..........(org-h
459c0 74 6d 6c 2d 73 74 61 6e 64 61 6c 6f 6e 65 2d 69 6d 61 67 65 2d 70 20 70 61 72 61 67 72 61 70 68 tml-standalone-image-p.paragraph
459e0 20 69 6e 66 6f 29 0a 20 20 20 20 3b 3b 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 .info).....;;..........contents)
45a00 0a 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 3b 3b 20 46 69 72 73 74 20 70 61 72 61 67 72 ......(cond......;;.First.paragr
45a20 61 70 68 20 69 6e 20 61 6e 20 69 74 65 6d 20 68 61 73 20 6e 6f 20 74 61 67 20 69 66 20 69 74 20 aph.in.an.item.has.no.tag.if.it.
45a40 69 73 20 61 6c 6f 6e 65 20 6f 72 0a 20 20 20 20 20 3b 3b 20 66 6f 6c 6c 6f 77 65 64 2c 20 61 74 is.alone.or......;;.followed,.at
45a60 20 6d 6f 73 74 2c 20 62 79 20 61 20 73 75 62 2d 6c 69 73 74 2e 20 28 42 65 6c 6f 77 20 63 6f 6e .most,.by.a.sub-list..(Below.con
45a80 64 69 74 69 6f 6e 20 69 73 20 74 61 6b 65 6e 0a 20 20 20 20 20 3b 3b 20 61 73 2d 69 73 20 66 72 dition.is.taken......;;.as-is.fr
45aa0 6f 6d 20 60 6f 72 67 2d 68 74 6d 6c 2d 70 61 72 61 67 72 61 70 68 27 29 2e 0a 20 20 20 20 20 28 om.`org-html-paragraph').......(
45ac0 28 61 6e 64 20 28 65 71 20 70 61 72 65 6e 74 2d 74 79 70 65 20 27 69 74 65 6d 29 0a 20 20 20 20 (and.(eq.parent-type.'item).....
45ae0 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 70 72 65 76 .......(not.(org-export-get-prev
45b00 69 6f 75 73 2d 65 6c 65 6d 65 6e 74 20 70 61 72 61 67 72 61 70 68 20 69 6e 66 6f 29 29 0a 20 20 ious-element.paragraph.info))...
45b20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 6f 6c 6c 6f 77 65 72 73 20 28 6f 72 67 2d 65 .........(let.((followers.(org-e
45b40 78 70 6f 72 74 2d 67 65 74 2d 6e 65 78 74 2d 65 6c 65 6d 65 6e 74 20 70 61 72 61 67 72 61 70 68 xport-get-next-element.paragraph
45b60 20 69 6e 66 6f 20 32 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 6e 6f .info.2)))..............(and.(no
45b80 74 20 28 63 64 72 20 66 6f 6c 6c 6f 77 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 t.(cdr.followers))..............
45ba0 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 79 70 65 20 28 63 61 .....(memq.(org-element-type.(ca
45bc0 72 20 66 6f 6c 6c 6f 77 65 72 73 29 29 20 27 28 6e 69 6c 20 70 6c 61 69 6e 2d 6c 69 73 74 29 29 r.followers)).'(nil.plain-list))
45be0 29 29 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 70 61 72 61 67 72 61 70 68 2d 2d 70 ))).......(org-hugo-paragraph--p
45c00 72 6f 63 65 73 73 2d 63 6f 6e 74 65 6e 74 20 70 61 72 61 67 72 61 70 68 20 63 6f 6e 74 65 6e 74 rocess-content.paragraph.content
45c20 73 20 69 6e 66 6f 29 29 0a 0a 20 20 20 20 20 3b 3b 20 53 74 61 6e 64 61 6c 6f 6e 65 20 69 6d 61 s.info)).......;;.Standalone.ima
45c40 67 65 2e 0a 20 20 20 20 20 28 28 6f 72 67 2d 68 74 6d 6c 2d 73 74 61 6e 64 61 6c 6f 6e 65 2d 69 ge.......((org-html-standalone-i
45c60 6d 61 67 65 2d 70 20 70 61 72 61 67 72 61 70 68 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 28 6c 65 mage-p.paragraph.info).......(le
45c80 74 20 28 28 66 69 67 75 72 65 2d 72 65 66 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d t.((figure-ref.(org-blackfriday-
45ca0 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 70 61 72 61 67 72 61 70 68 29 29 0a 20 20 20 20 20 -get-reference.paragraph))......
45cc0 20 20 20 20 20 20 20 6c 61 62 65 6c 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 .......label).........(when.(org
45ce0 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 20 20 20 20 20 -string-nw-p.figure-ref)........
45d00 20 20 20 28 73 65 74 71 20 66 69 67 75 72 65 2d 72 65 66 20 28 72 65 70 6c 61 63 65 2d 72 65 67 ...(setq.figure-ref.(replace-reg
45d20 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 exp-in-string...................
45d40 20 20 20 20 20 20 20 20 20 20 22 5c 5c 60 6f 72 67 2d 70 61 72 61 67 72 61 70 68 2d 2d 22 0a 20 .........."\\`org-paragraph--"..
45d60 20 20 20 20 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-
45d80 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 66 69 67 blackfriday--get-ref-prefix.'fig
45da0 75 72 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 ure)............................
45dc0 20 66 69 67 75 72 65 2d 72 65 66 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 61 62 .figure-ref))).........(setq.lab
45de0 65 6c 20 28 69 66 20 66 69 67 75 72 65 2d 72 65 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 el.(if.figure-ref...............
45e00 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 69 64 3d 5c 22 25 73 5c 22 3e ..........(format."<a.id=\"%s\">
45e20 3c 2f 61 3e 5c 6e 5c 6e 22 20 66 69 67 75 72 65 2d 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 </a>\n\n".figure-ref)...........
45e40 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 28 63 6f 6e 63 61 74 ............"")).........(concat
45e60 20 6c 61 62 65 6c 20 63 6f 6e 74 65 6e 74 73 29 29 29 0a 0a 20 20 20 20 20 3b 3b 20 4e 6f 72 6d .label.contents))).......;;.Norm
45e80 61 6c 20 70 61 72 61 67 72 61 70 68 2e 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 6c 65 74 al.paragraph.......(t.......(let
45ea0 20 28 28 6c 61 62 65 6c 20 28 6c 65 74 20 28 28 70 61 72 61 67 72 61 70 68 2d 72 65 66 20 28 61 .((label.(let.((paragraph-ref.(a
45ec0 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 6e 61 6d 65 20 70 nd.(org-element-property.:name.p
45ee0 61 72 61 67 72 61 70 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 aragraph).......................
45f00 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
45f20 72 74 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 70 61 72 61 67 72 61 70 68 20 69 6e 66 6f 29 rt-get-reference.paragraph.info)
45f40 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 70 61 72 )))......................(if.par
45f60 61 67 72 61 70 68 2d 72 65 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 agraph-ref......................
45f80 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 69 64 3d 5c 22 25 73 5c 22 3e 3c 2f 61 3e 5c 6e ....(format."<a.id=\"%s\"></a>\n
45fa0 5c 6e 22 20 70 61 72 61 67 72 61 70 68 2d 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 \n".paragraph-ref)..............
45fc0 20 20 20 20 20 20 20 20 20 20 22 22 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 57 72 61 ..........""))))..........;;.Wra
45fe0 70 20 74 68 65 20 70 61 72 61 67 72 61 70 68 20 77 69 74 68 20 48 54 4d 4c 20 64 69 76 20 74 61 p.the.paragraph.with.HTML.div.ta
46000 67 20 77 69 74 68 20 75 73 65 72 2d 73 70 65 63 69 66 69 65 64 0a 20 20 20 20 20 20 20 20 3b 3b g.with.user-specified.........;;
46020 20 61 74 74 72 69 62 75 74 65 73 2e 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 .attributes..........(org-blackf
46040 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 20 20 70 riday--div-wrap-maybe..........p
46060 61 72 61 67 72 61 70 68 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6c 61 62 65 6c 0a aragraph..........(concat.label.
46080 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 70 61 72 61 67 .................(org-hugo-parag
460a0 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 61 67 72 61 70 68 20 raph--process-content.paragraph.
460c0 63 6f 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 29 29 contents.info))..........info)))
460e0 29 29 29 0a 0a 3b 3b 3b 3b 20 53 6f 75 72 63 65 20 42 6c 6f 63 6b 73 0a 28 64 65 66 75 6e 20 6f )))..;;;;.Source.Blocks.(defun.o
46100 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 6b 20 28 73 72 63 2d 62 6c 6f 63 6b 20 5f 63 6f rg-hugo-src-block.(src-block._co
46120 6e 74 65 6e 74 73 20 69 6e 66 6f 29 0a 20 20 22 43 6f 6e 76 65 72 74 20 53 52 43 2d 42 4c 4f 43 ntents.info)..."Convert.SRC-BLOC
46140 4b 20 65 6c 65 6d 65 6e 74 20 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 K.element.to.Hugo-compatible.Mar
46160 6b 64 6f 77 6e 2e 0a 0a 54 68 65 20 4d 61 72 6b 64 6f 77 6e 20 73 74 79 6c 65 20 74 72 69 70 6c kdown...The.Markdown.style.tripl
46180 65 2d 62 61 63 6b 71 75 6f 74 65 64 20 63 6f 64 65 20 62 6c 6f 63 6b 73 20 61 72 65 20 63 72 65 e-backquoted.code.blocks.are.cre
461a0 61 74 65 64 20 69 66 3a 0a 20 20 2d 20 54 68 65 20 48 55 47 4f 5f 43 4f 44 45 5f 46 45 4e 43 45 ated.if:...-.The.HUGO_CODE_FENCE
461c0 20 70 72 6f 70 65 72 74 79 20 69 73 20 73 65 74 20 74 6f 20 61 20 6e 6f 6e 2d 6e 69 6c 20 76 61 .property.is.set.to.a.non-nil.va
461e0 6c 75 65 0a 20 20 20 20 28 64 65 66 61 75 6c 74 29 2c 0a 20 20 2d 20 2a 41 4e 44 2a 20 74 68 65 lue.....(default),...-.*AND*.the
46200 20 48 75 67 6f 20 5c 22 68 69 67 68 6c 69 67 68 74 5c 22 20 73 68 6f 72 74 63 6f 64 65 20 69 73 .Hugo.\"highlight\".shortcode.is
46220 20 6e 6f 74 20 6e 65 65 64 65 64 20 28 73 65 65 0a 20 20 20 20 62 65 6c 6f 77 29 2e 0a 0a 48 75 .not.needed.(see.....below)...Hu
46240 67 6f 20 76 30 2e 36 30 2e 30 20 6f 6e 77 61 72 64 73 2c 20 74 68 65 20 60 6d 61 72 6b 75 70 2e go.v0.60.0.onwards,.the.`markup.
46260 68 69 67 68 6c 69 67 68 74 2e 63 6f 64 65 46 65 6e 63 65 73 27 20 28 6e 65 77 20 6e 61 6d 65 0a highlight.codeFences'.(new.name.
46280 66 6f 72 20 74 68 65 20 6f 6c 64 20 60 70 79 67 6d 65 6e 74 73 43 6f 64 65 46 65 6e 63 65 73 27 for.the.old.`pygmentsCodeFences'
462a0 29 20 63 6f 6e 66 69 67 20 76 61 72 69 61 62 6c 65 20 64 65 66 61 75 6c 74 73 20 74 6f 0a 74 72 ).config.variable.defaults.to.tr
462c0 75 65 2e 20 20 53 65 65 20 74 68 65 20 5c 22 48 69 67 68 6c 69 67 68 74 69 6e 67 20 69 6e 20 43 ue...See.the.\"Highlighting.in.C
462e0 6f 64 65 20 46 65 6e 63 65 73 5c 22 20 73 65 63 74 69 6f 6e 20 6f 6e 0a 68 74 74 70 73 3a 2f 2f ode.Fences\".section.on.https://
46300 67 6f 68 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 73 79 6e gohugo.io/content-management/syn
46320 74 61 78 2d 68 69 67 68 6c 69 67 68 74 69 6e 67 2e 0a 41 74 74 72 69 62 75 74 65 73 20 6c 69 6b tax-highlighting..Attributes.lik
46340 65 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 63 6f 64 65 2c 20 5c 22 6c 69 6e 65 6e 6f 73 5c 22 e.highlighting.code,.\"linenos\"
46360 2c 20 65 74 63 2e 20 61 72 65 20 6e 6f 77 0a 73 75 70 70 6f 72 74 65 64 20 77 69 74 68 20 63 6f ,.etc..are.now.supported.with.co
46380 64 65 20 66 65 6e 63 65 73 20 74 6f 6f 2e 0a 0a 43 4f 4e 54 45 4e 54 53 20 69 73 20 6e 69 6c 2e de.fences.too...CONTENTS.is.nil.
463a0 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 6d 6d ..INFO.is.a.plist.used.as.a.comm
463c0 75 6e 69 63 61 74 69 6f 6e 0a 63 68 61 6e 6e 65 6c 2e 0a 0a 2d 2d 2d 20 57 68 65 6e 20 69 73 20 unication.channel...---.When.is.
463e0 74 68 65 20 5c 22 68 69 67 68 6c 69 67 68 74 5c 22 20 73 68 6f 72 74 63 6f 64 65 20 6e 65 65 64 the.\"highlight\".shortcode.need
46400 65 64 3f 20 2d 2d 2d 0a 0a 49 74 27 73 20 6e 65 65 64 65 64 20 6f 6e 6c 79 20 69 6e 20 42 6c 61 ed?.---..It's.needed.only.in.Bla
46420 63 6b 66 72 69 64 61 79 20 6d 6f 64 65 20 28 60 6f 72 67 2d 68 75 67 6f 2d 67 6f 6c 64 6d 61 72 ckfriday.mode.(`org-hugo-goldmar
46440 6b 27 20 69 73 0a 6e 69 6c 29 2c 20 61 6e 64 20 69 66 20 61 6e 79 20 6f 66 20 74 68 65 73 65 20 k'.is.nil),.and.if.any.of.these.
46460 69 73 20 74 72 75 65 3a 0a 20 20 2d 20 43 6f 64 65 20 62 6c 6f 63 6b 73 20 77 69 74 68 20 6c 69 is.true:...-.Code.blocks.with.li
46480 6e 65 20 6e 75 6d 62 65 72 73 20 28 69 66 20 74 68 65 20 2d 6e 20 6f 72 20 2b 6e 20 73 77 69 74 ne.numbers.(if.the.-n.or.+n.swit
464a0 63 68 20 69 73 20 75 73 65 64 29 2e 0a 20 20 2d 20 48 69 67 68 6c 69 67 68 74 20 63 65 72 74 61 ch.is.used)....-.Highlight.certa
464c0 69 6e 73 20 6c 69 6e 65 73 20 69 6e 20 74 68 65 20 63 6f 64 65 20 62 6c 6f 63 6b 20 28 69 66 20 ins.lines.in.the.code.block.(if.
464e0 74 68 65 20 3a 68 6c 5f 6c 69 6e 65 73 0a 20 20 20 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 75 the.:hl_lines.....parameter.is.u
46500 73 65 64 29 2e 0a 20 20 2d 20 53 65 74 20 74 68 65 20 60 6c 69 6e 65 6e 6f 73 27 20 61 72 67 75 sed)....-.Set.the.`linenos'.argu
46520 6d 65 6e 74 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 70 61 73 73 65 64 20 62 79 20 3a 6c 69 6e ment.to.the.value.passed.by.:lin
46540 65 6e 6f 73 0a 20 20 20 20 28 64 65 66 61 75 6c 74 73 20 74 6f 20 60 74 72 75 65 27 29 2e 0a 20 enos.....(defaults.to.`true')...
46560 20 2d 20 43 6f 64 65 72 65 66 73 20 61 72 65 20 75 73 65 64 2e 0a 0a 4e 6f 74 65 3a 20 49 66 20 .-.Coderefs.are.used...Note:.If.
46580 75 73 69 6e 67 20 61 20 48 75 67 6f 20 76 65 72 73 69 6f 6e 20 6f 6c 64 65 72 20 74 68 61 6e 20 using.a.Hugo.version.older.than.
465a0 76 30 2e 36 30 2e 30 2c 20 74 68 65 20 75 73 65 72 0a 2a 6e 65 65 64 73 2a 20 74 6f 20 73 65 74 v0.60.0,.the.user.*needs*.to.set
465c0 20 74 68 65 20 60 70 79 67 6d 65 6e 74 73 43 6f 64 65 46 65 6e 63 65 73 27 20 76 61 72 69 61 62 .the.`pygmentsCodeFences'.variab
465e0 6c 65 20 74 6f 20 60 74 72 75 65 27 20 69 6e 0a 74 68 65 69 72 20 48 75 67 6f 20 73 69 74 65 27 le.to.`true'.in.their.Hugo.site'
46600 73 20 63 6f 6e 66 69 67 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6c 61 6e 67 20 28 6f 72 67 2d 65 s.config."...(let*.((lang.(org-e
46620 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 20 73 72 63 2d 62 6c lement-property.:language.src-bl
46640 6f 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 72 61 6d 65 74 65 72 73 2d 73 74 72 20 28 ock))..........(parameters-str.(
46660 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 61 6d 65 74 65 72 73 org-element-property.:parameters
46680 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 61 6d 65 74 65 72 .src-block))..........(parameter
466a0 73 20 28 6f 72 67 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d 65 s.(org-babel-parse-header-argume
466c0 6e 74 73 20 70 61 72 61 6d 65 74 65 72 73 2d 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 nts.parameters-str))..........(i
466e0 73 2d 66 6d 2d 65 78 74 72 61 20 28 63 64 72 20 28 61 73 73 6f 63 20 3a 66 72 6f 6e 74 5f 6d 61 s-fm-extra.(cdr.(assoc.:front_ma
46700 74 74 65 72 5f 65 78 74 72 61 20 70 61 72 61 6d 65 74 65 72 73 29 29 29 29 0a 20 20 20 20 3b 3b tter_extra.parameters)))).....;;
46720 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 6c 61 6e .(message."ox-hugo.src.[dbg].lan
46740 67 3a 20 25 53 22 20 6c 61 6e 67 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 g:.%S".lang).....;;.(message."ox
46760 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 70 61 72 61 6d 65 74 65 72 73 3a 20 25 53 22 20 -hugo.src.[dbg].parameters:.%S".
46780 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 2d parameters).....;;.(message."ox-
467a0 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 69 73 2d 66 6d 2d 65 78 74 72 61 3a 20 25 53 22 20 hugo.src.[dbg].is-fm-extra:.%S".
467c0 69 73 2d 66 6d 2d 65 78 74 72 61 29 0a 0a 20 20 20 20 3b 3b 20 45 78 74 72 61 20 66 72 6f 6e 74 is-fm-extra)......;;.Extra.front
467e0 20 6d 61 74 74 65 72 2e 0a 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 61 6e 64 20 69 73 .matter......(cond......((and.is
46800 2d 66 6d 2d 65 78 74 72 61 0a 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 6c 61 6e -fm-extra............(member.lan
46820 67 20 27 28 22 74 6f 6d 6c 22 20 22 79 61 6d 6c 22 29 29 29 0a 20 20 20 20 20 20 28 6c 65 74 20 g.'("toml"."yaml"))).......(let.
46840 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 3a 68 75 67 ((fm-format.(plist-get.info.:hug
46860 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 29 29 29 0a 20 20 20 20 20 20 20 o-front-matter-format)))........
46880 20 3b 3b 20 54 68 65 20 66 6d 2d 65 78 74 72 61 20 73 72 63 20 62 6c 6f 63 6b 20 6c 61 6e 67 20 .;;.The.fm-extra.src.block.lang.
468a0 61 6e 64 20 75 73 65 72 2d 73 65 74 20 66 6d 2d 66 6f 72 6d 61 74 20 68 61 76 65 20 74 6f 0a 20 and.user-set.fm-format.have.to..
468c0 20 20 20 20 20 20 20 3b 3b 20 62 65 20 74 68 65 20 73 61 6d 65 2e 20 20 45 6c 73 65 2e 20 74 68 .......;;.be.the.same...Else..th
468e0 61 74 20 73 72 63 20 62 6c 6f 63 6b 20 69 73 20 63 6f 6d 70 6c 65 74 65 6c 79 20 64 69 73 63 61 at.src.block.is.completely.disca
46900 72 64 65 64 2e 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 3d 20 6c 61 6e rded..........(when.(string=.lan
46920 67 20 66 6d 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 66 6d g.fm-format)...........(let.((fm
46940 2d 65 78 74 72 61 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 -extra.(org-export-format-code-d
46960 65 66 61 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 efault.src-block.info)))........
46980 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
469a0 62 67 5d 20 66 6d 2d 65 78 74 72 61 3a 20 25 53 22 20 66 6d 2d 65 78 74 72 61 29 0a 20 20 20 20 bg].fm-extra:.%S".fm-extra).....
469c0 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 66 6d 2d 65 78 74 72 ........(plist-put.info.:fm-extr
469e0 61 20 66 6d 2d 65 78 74 72 61 29 29 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 20 6e 6f 74 20 a.fm-extra))).........;;.Do.not.
46a00 65 78 70 6f 72 74 20 74 68 65 20 60 3a 66 72 6f 6e 74 5f 6d 61 74 74 65 72 5f 65 78 74 72 61 27 export.the.`:front_matter_extra'
46a20 20 54 4f 4d 4c 2f 59 41 4d 4c 20 73 6f 75 72 63 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 62 6c 6f .TOML/YAML.source.........;;.blo
46a40 63 6b 73 20 69 6e 20 4d 61 72 6b 64 6f 77 6e 20 62 6f 64 79 2e 0a 20 20 20 20 20 20 20 20 6e 69 cks.in.Markdown.body..........ni
46a60 6c 29 29 0a 0a 20 20 20 20 20 3b 3b 20 52 65 67 75 6c 61 72 20 73 72 63 20 62 6c 6f 63 6b 2e 0a l)).......;;.Regular.src.block..
46a80 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 6c 65 74 2a 20 28 3b 3b 20 53 65 65 20 60 6f 72 67 .....(t.......(let*.(;;.See.`org
46aa0 2d 65 6c 65 6d 65 6e 74 2d 73 72 63 2d 62 6c 6f 63 6b 2d 70 61 72 73 65 72 27 20 66 6f 72 20 61 -element-src-block-parser'.for.a
46ac0 6c 6c 20 53 52 43 2d 42 4c 4f 43 4b 20 70 72 6f 70 65 72 74 69 65 73 2e 0a 20 20 20 20 20 20 20 ll.SRC-BLOCK.properties.........
46ae0 20 20 20 20 20 20 28 6c 69 6e 65 2d 6e 75 6d 2d 70 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 ......(line-num-p.(org-element-p
46b00 72 6f 70 65 72 74 79 20 3a 6e 75 6d 62 65 72 2d 6c 69 6e 65 73 20 73 72 63 2d 62 6c 6f 63 6b 29 roperty.:number-lines.src-block)
46b20 29 20 3b 4e 6f 6e 2d 6e 69 6c 20 69 66 20 2d 6e 20 6f 72 20 2b 6e 20 73 77 69 74 63 68 20 69 73 ).;Non-nil.if.-n.or.+n.switch.is
46b40 20 75 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c .used..............(linenos-styl
46b60 65 20 28 6f 72 20 28 63 64 72 20 28 61 73 73 6f 63 20 3a 6c 69 6e 65 6e 6f 73 20 70 61 72 61 6d e.(or.(cdr.(assoc.:linenos.param
46b80 65 74 65 72 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 eters)).........................
46ba0 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 60 6f 72 67 2d 68 75 67 6f 2d 73 72 63 2d 62 6c 6f 63 ........;;.If.`org-hugo-src-bloc
46bc0 6b 27 20 69 73 20 63 61 6c 6c 65 64 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 k'.is.called.from...............
46be0 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 6f 2d 65 ..................;;.`org-hugo-e
46c00 78 61 6d 70 6c 65 2d 62 6c 6f 63 6b 27 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 xample-block'...................
46c20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 ...............(org-element-prop
46c40 65 72 74 79 20 3a 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 73 72 63 2d 62 6c 6f 63 6b 29 29 29 erty.:linenos-style.src-block)))
46c60 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 6f 6e 76 65 72 74 20 60 68 6c 2d 6c 69 6e ..............;;.Convert.`hl-lin
46c80 65 73 27 20 74 6f 20 73 74 72 69 6e 67 2e 20 20 49 66 20 69 74 27 73 20 6e 6f 74 20 61 20 6e 75 es'.to.string...If.it's.not.a.nu
46ca0 6d 62 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 74 27 73 20 61 6c 72 65 61 mber,..............;;.it's.alrea
46cc0 64 79 20 61 20 73 74 72 69 6e 67 2c 20 6f 72 20 6e 69 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 dy.a.string,.or.nil.............
46ce0 20 20 28 68 6c 2d 6c 69 6e 65 73 20 28 6c 65 74 2a 20 28 28 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 ..(hl-lines.(let*.((hl-lines-par
46d00 61 6d 20 28 63 64 72 20 28 61 73 73 6f 63 20 3a 68 6c 5f 6c 69 6e 65 73 20 70 61 72 61 6d 65 74 am.(cdr.(assoc.:hl_lines.paramet
46d20 65 72 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ers)))).........................
46d40 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 20 .;;.(message."ox-hugo.src.[dbg].
46d60 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 61 6d 3a 20 25 53 22 20 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 hl-lines-param:.%S".hl-lines-par
46d80 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 28 69 66 am)..........................(if
46da0 20 28 6e 75 6d 62 65 72 70 20 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 61 6d 29 0a 20 20 20 20 20 20 .(numberp.hl-lines-param).......
46dc0 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 74 .......................(number-t
46de0 6f 2d 73 74 72 69 6e 67 20 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 61 6d 29 0a 20 20 20 20 20 20 20 o-string.hl-lines-param)........
46e00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 6c 2d 6c 69 6e 65 73 2d 70 61 72 ....................hl-lines-par
46e20 61 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 64 65 2d 72 65 66 73 2d 61 6e am)))..............(code-refs-an
46e40 64 2d 61 6e 63 68 6f 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 63 6f 64 65 72 65 66 2d d-anchor.(org-hugo--get-coderef-
46e60 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 73 72 63 2d 62 6c 6f 63 6b 29 29 0a 20 20 20 20 20 20 anchor-prefix.src-block)).......
46e80 20 20 20 20 20 20 20 28 63 6f 64 65 2d 72 65 66 73 20 28 6c 65 74 20 28 28 63 6f 64 65 2d 72 65 .......(code-refs.(let.((code-re
46ea0 66 73 31 20 28 63 61 72 20 63 6f 64 65 2d 72 65 66 73 2d 61 6e 64 2d 61 6e 63 68 6f 72 29 29 29 fs1.(car.code-refs-and-anchor)))
46ec0 0a 20 20 20 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
46ee0 20 63 6f 64 65 2d 72 65 66 73 31 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .code-refs1.....................
46f00 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 69 6e 65 2d 6e 75 6d 2d 70 20 74 29 29 0a 20 20 20 ........(setq.line-num-p.t))....
46f20 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 64 65 2d 72 65 66 73 .......................code-refs
46f40 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 6f 6c 64 6d 61 72 6b 70 20 28 6f 72 67 1))..............(goldmarkp.(org
46f60 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
46f80 67 6f 2d 67 6f 6c 64 6d 61 72 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 55 73 go-goldmark))..............;;.Us
46fa0 65 20 74 68 65 20 60 68 69 67 68 6c 69 67 68 74 27 20 73 68 6f 72 74 63 6f 64 65 20 6f 6e 6c 79 e.the.`highlight'.shortcode.only
46fc0 20 69 66 20 2e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 73 65 2d 68 69 67 68 6c 69 67 .if.................(use-highlig
46fe0 68 74 2d 73 63 20 28 6f 72 20 3b 3b 20 48 55 47 4f 5f 43 4f 44 45 5f 46 45 4e 43 45 20 69 73 20 ht-sc.(or.;;.HUGO_CODE_FENCE.is.
47000 6e 69 6c 2c 20 6f 72 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 nil,.or.........................
47020 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 ...........(null.(org-hugo--plis
47040 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 63 6f 64 65 2d 66 65 6e t-get-true-p.info.:hugo-code-fen
47060 63 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 20 ce))............................
47080 20 20 20 20 20 3b 3b 20 22 42 6c 61 63 6b 66 72 69 64 61 79 20 6d 6f 64 65 22 20 69 73 20 65 6e .....;;."Blackfriday.mode".is.en
470a0 61 62 6c 65 64 20 61 6e 64 20 6c 69 6e 65 20 6e 75 6d 62 65 72 69 6e 67 0a 20 20 20 20 20 20 20 abled.and.line.numbering........
470c0 20 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 2c 20 68 69 .........................;;.,.hi
470e0 67 68 6c 69 67 68 74 69 6e 67 20 6f 72 20 63 6f 64 65 20 72 65 66 73 20 61 72 65 20 6e 65 65 64 ghlighting.or.code.refs.are.need
47100 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ed..............................
47120 20 20 20 20 28 61 6e 64 20 28 6f 72 20 6c 69 6e 65 2d 6e 75 6d 2d 70 20 68 6c 2d 6c 69 6e 65 73 ....(and.(or.line-num-p.hl-lines
47140 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 63 6f 64 65 2d 72 65 66 73 29 0a 20 20 20 20 20 20 .linenos-style.code-refs).......
47160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
47180 6e 6f 74 20 67 6f 6c 64 6d 61 72 6b 70 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 not.goldmarkp))))..............(
471a0 68 6c 2d 6c 69 6e 65 73 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 70 20 68 6c 2d 6c 69 6e 65 73 hl-lines.(when.(stringp.hl-lines
471c0 29 0a 20 20 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 75 )..........................(if.u
471e0 73 65 2d 68 69 67 68 6c 69 67 68 74 2d 73 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 se-highlight-sc.................
47200 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 20 20 .............(progn.............
47220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 79 6e 74 61 78 20 6f 66 20 ...................;;.Syntax.of.
47240 68 6c 5f 6c 69 6e 65 73 20 69 6e 20 60 68 69 67 68 6c 69 67 68 74 27 20 73 68 6f 72 74 63 6f 64 hl_lines.in.`highlight'.shortcod
47260 65 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e:..............................
47280 20 20 3b 3b 20 20 20 7b 7b 3c 20 68 69 67 68 6c 69 67 68 74 20 65 6d 61 63 73 2d 6c 69 73 70 20 ..;;...{{<.highlight.emacs-lisp.
472a0 22 68 6c 5f 6c 69 6e 65 73 3d 31 20 33 2d 35 22 20 3e 7d 7d 20 2e 2e 0a 20 20 20 20 20 20 20 20 "hl_lines=1.3-5".>}}............
472c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 70 6c 61 63 65 2d .......................(replace-
472e0 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 2c 22 20 22 20 22 20 68 6c 2d 6c 69 6e 65 regexp-in-string.",".".".hl-line
47300 73 29 29 20 3b 22 31 2c 33 2d 35 22 20 2d 3e 20 22 31 20 33 2d 35 22 0a 20 20 20 20 20 20 20 20 s)).;"1,3-5".->."1.3-5".........
47320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 46 65 6e 63 65 64 20 63 6f 64 ...................;;.Fenced.cod
47340 65 20 62 6c 6f 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e.blocks........................
47360 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 66 65 6e ....;;.Syntax.of.hl_lines.in.fen
47380 63 65 64 20 63 6f 64 65 20 61 74 74 72 69 62 75 74 65 73 3a 0a 20 20 20 20 20 20 20 20 20 20 20 ced.code.attributes:............
473a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 20 20 60 60 60 65 6d 61 63 73 2d 6c 69 ................;;...```emacs-li
473c0 73 70 20 7b 20 68 6c 5f 6c 69 6e 65 73 3d 5b 22 31 22 2c 22 33 2d 35 22 5d 20 7d 20 2e 2e 0a 20 sp.{.hl_lines=["1","3-5"].}.....
473e0 20 20 20 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
47400 74 20 22 5b 25 73 5d 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 t."[%s]"........................
47420 20 20 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 ............(mapconcat..........
47440 20 20 20 20 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 61 6d 62 ...........................(lamb
47460 64 61 28 65 6c 29 20 28 66 6f 72 6d 61 74 20 22 25 53 22 20 65 6c 29 29 0a 20 20 20 20 20 20 20 da(el).(format."%S".el))........
47480 20 20 20 20 20 20 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 .............................(sp
474a0 6c 69 74 2d 73 74 72 69 6e 67 20 68 6c 2d 6c 69 6e 65 73 20 22 2c 22 29 20 22 2c 22 29 29 29 29 lit-string.hl-lines.",").","))))
474c0 29 20 3b 22 31 2c 33 2d 35 22 20 2d 3e 20 22 5b 5c 22 31 5c 22 2c 5c 22 33 2d 35 5c 22 5d 22 0a ).;"1,3-5".->."[\"1\",\"3-5\"]".
474e0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 72 65 66 20 28 6f 72 67 2d 62 6c 61 63 6b .............(src-ref.(org-black
47500 66 72 69 64 61 79 2d 2d 67 65 74 2d 72 65 66 65 72 65 6e 63 65 20 73 72 63 2d 62 6c 6f 63 6b 29 friday--get-reference.src-block)
47520 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 61 6e 63 68 6f 72 20 28 69 66 20 73 )..............(src-anchor.(if.s
47540 72 63 2d 72 65 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rc-ref..........................
47560 20 20 20 20 28 66 6f 72 6d 61 74 20 22 3c 61 20 69 64 3d 5c 22 25 73 5c 22 3e 3c 2f 61 3e 5c 6e ....(format."<a.id=\"%s\"></a>\n
47580 22 20 73 72 63 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 ".src-ref)......................
475a0 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e ......""))..............(caption
475c0 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 73 72 63 2d 62 6c 6f .(org-export-get-caption.src-blo
475e0 63 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 70 74 69 6f 6e 2d 68 74 6d 6c 20 ck))..............(caption-html.
47600 28 69 66 20 28 6e 6f 74 20 63 61 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 (if.(not.caption)...............
47620 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 20 20 20 20 20 20 ................."".............
47640 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 73 72 63 2d 62 6c 6f .................(let*.((src-blo
47660 63 6b 2d 6e 75 6d 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6f 72 64 69 6e 61 6c 0a 20 ck-num.(org-export-get-ordinal..
47680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
476a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 2d 62 6c 6f 63 6b 20 69 6e 66 ...................src-block.inf
476c0 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 20 20 20 o...............................
476e0 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 23 27 6f 72 67 2d ......................nil.#'org-
47700 68 74 6d 6c 2d 2d 68 61 73 2d 63 61 70 74 69 6f 6e 2d 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 html--has-caption-p))...........
47720 20 20 20 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 ..........................(capti
47740 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 6e on-prefix.(org-blackfriday--tran
47760 73 6c 61 74 65 20 27 73 72 63 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 slate.'src-block.info)).........
47780 20 20 20 20 20 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 ............................(cap
477a0 74 69 6f 6e 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 tion-str........................
477c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 74 6d 6c 2d 63 6f 6e 76 65 72 74 2d ..............(org-html-convert-
477e0 73 70 65 63 69 61 6c 2d 73 74 72 69 6e 67 73 20 3b 49 6e 74 65 72 70 72 65 74 20 65 6d 2d 64 61 special-strings.;Interpret.em-da
47800 73 68 2c 20 65 6e 2d 64 61 73 68 2c 20 65 74 63 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 sh,.en-dash,.etc................
47820 20 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
47840 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 6b 65 6e 64 20 63 61 70 74 69 6f 6e 20 27 68 ort-data-with-backend.caption.'h
47860 74 6d 6c 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 tml.info))))....................
47880 20 20 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 5c 6e 3c ............(format.(concat."\n<
478a0 64 69 76 20 63 6c 61 73 73 3d 5c 22 73 72 63 2d 62 6c 6f 63 6b 2d 63 61 70 74 69 6f 6e 5c 22 3e div.class=\"src-block-caption\">
478c0 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 20 20 20 \n".............................
478e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 20 3c 73 70 61 6e 20 63 6c 61 73 ..................."..<span.clas
47900 73 3d 5c 22 73 72 63 2d 62 6c 6f 63 6b 2d 6e 75 6d 62 65 72 5c 22 3e 25 73 3a 3c 2f 73 70 61 6e s=\"src-block-number\">%s:</span
47920 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 20 20 20 20 20 20 20 >\n"............................
47940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 20 25 73 5c 6e 22 0a 20 20 20 ...................."..%s\n"....
47960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47980 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 2f 64 69 76 3e 22 29 0a 20 20 20 20 20 20 20 20 20 20 ............"</div>")...........
479a0 20 20 20 20 20 20 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
479c0 20 73 72 63 2d 72 65 66 20 3b 48 79 70 65 72 6c 69 6e 6b 20 74 68 65 20 63 6f 64 65 20 73 6e 69 .src-ref.;Hyperlink.the.code.sni
479e0 70 70 65 74 20 70 72 65 66 69 78 20 2b 20 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 ppet.prefix.+.number............
47a00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47a20 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 25 73 20 25 73 3c 2f (format."<a.href=\"#%s\">%s.%s</
47a40 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 20 20 20 20 20 20 20 a>".............................
47a60 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 2d 72 65 66 20 63 .......................src-ref.c
47a80 61 70 74 69 6f 6e 2d 70 72 65 66 69 78 20 73 72 63 2d 62 6c 6f 63 6b 2d 6e 75 6d 29 0a 20 20 20 aption-prefix.src-block-num)....
47aa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47ac0 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 20 ......(format."%s.%s"...........
47ae0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47b00 20 20 20 20 20 20 20 63 61 70 74 69 6f 6e 2d 70 72 65 66 69 78 20 73 72 63 2d 62 6c 6f 63 6b 2d .......caption-prefix.src-block-
47b20 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 20 20 20 20 20 20 20 num))...........................
47b40 20 20 20 20 20 20 20 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 .............caption-str))))....
47b60 20 20 20 20 20 20 20 20 20 20 28 73 72 63 2d 63 6f 64 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 ..........(src-code.(org-hugo--e
47b80 73 63 61 70 65 2d 68 75 67 6f 2d 73 68 6f 72 74 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 scape-hugo-shortcode............
47ba0 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 6f 72 6d 61 74 2d .............(org-export-format-
47bc0 63 6f 64 65 2d 64 65 66 61 75 6c 74 20 73 72 63 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 0a 20 20 20 code-default.src-block.info)....
47be0 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 29 29 0a 20 20 20 20 .....................lang)).....
47c00 20 20 20 20 20 20 20 20 20 28 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 22 22 29 0a 20 20 20 20 .........(code-attr-str."").....
47c20 20 20 20 20 20 20 20 20 20 73 72 63 2d 63 6f 64 65 2d 77 72 61 70 0a 20 20 20 20 20 20 20 20 20 .........src-code-wrap..........
47c40 20 20 20 20 72 65 74 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 6f 78 ....ret).........;;.(message."ox
47c60 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 6c 69 6e 65 2d 6e 75 6d 2d 70 3a 20 25 53 22 20 -hugo.src.[dbg].line-num-p:.%S".
47c80 6c 69 6e 65 2d 6e 75 6d 2d 70 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 line-num-p).........;;.(message.
47ca0 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 70 61 72 61 6d 65 74 65 72 73 3a 20 25 "ox-hugo.src.[dbg].parameters:.%
47cc0 53 22 20 70 61 72 61 6d 65 74 65 72 73 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 S".parameters).........;;.(messa
47ce0 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 63 6f 64 65 20 72 65 66 73 3a ge."ox-hugo.src.[dbg].code.refs:
47d00 20 25 53 22 20 63 6f 64 65 2d 72 65 66 73 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 .%S".code-refs).........;;.(mess
47d20 61 67 65 20 22 6f 78 2d 68 75 67 6f 20 73 72 63 20 5b 64 62 67 5d 20 63 6f 64 65 2d 61 74 74 72 age."ox-hugo.src.[dbg].code-attr
47d40 2d 73 74 72 3a 20 25 53 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 29 0a 0a 20 20 20 20 20 20 -str:.%S".code-attr-str)........
47d60 20 20 28 77 68 65 6e 20 28 61 6e 64 20 67 6f 6c 64 6d 61 72 6b 70 20 28 6e 6f 74 20 75 73 65 2d ..(when.(and.goldmarkp.(not.use-
47d80 68 69 67 68 6c 69 67 68 74 2d 73 63 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 highlight-sc))...........(let.((
47da0 68 74 6d 6c 2d 61 74 74 72 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 61 64 2d 61 74 74 72 69 html-attr.(org-export-read-attri
47dc0 62 75 74 65 20 3a 61 74 74 72 5f 68 74 6d 6c 20 73 72 63 2d 62 6c 6f 63 6b 29 29 29 0a 20 20 20 bute.:attr_html.src-block)))....
47de0 20 20 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 6f 72 .........(setq.code-attr-str.(or
47e00 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 68 74 g-html--make-attribute-string.ht
47e20 6d 6c 2d 61 74 74 72 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 20 6c ml-attr))))..........(when.(or.l
47e40 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 6c 69 6e 65 2d 6e 75 6d 2d 70 29 0a 20 20 20 20 20 20 20 inenos-style.line-num-p)........
47e60 20 20 20 3b 3b 20 53 65 74 20 22 6c 69 6e 65 6e 6f 73 22 20 74 6f 20 22 74 72 75 65 22 20 69 66 ...;;.Set."linenos".to."true".if
47e80 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 69 73 20 6e 69 6c 2e 0a 20 20 20 20 20 20 20 20 20 .linenos-style.is.nil...........
47ea0 20 28 73 65 74 71 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 20 28 6f 72 20 6c 69 6e 65 6e 6f 73 .(setq.linenos-style.(or.linenos
47ec0 2d 73 74 79 6c 65 20 22 74 72 75 65 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 66 20 28 6f -style."true"))...........(if.(o
47ee0 72 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 rg-string-nw-p.code-attr-str)...
47f00 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 ............(setq.code-attr-str.
47f20 28 66 6f 72 6d 61 74 20 22 25 73 2c 20 6c 69 6e 65 6e 6f 73 3d 25 73 22 20 63 6f 64 65 2d 61 74 (format."%s,.linenos=%s".code-at
47f40 74 72 2d 73 74 72 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 tr-str.linenos-style))..........
47f60 20 20 20 28 73 65 74 71 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 ...(setq.code-attr-str.(format."
47f80 6c 69 6e 65 6e 6f 73 3d 25 73 22 20 6c 69 6e 65 6e 6f 73 2d 73 74 79 6c 65 29 29 29 0a 20 20 20 linenos=%s".linenos-style)))....
47fa0 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 69 6e 65 6e 6f 73 74 61 72 74 2d 73 74 72 20 28 61 .......(let.((linenostart-str.(a
47fc0 6e 64 20 3b 45 78 74 72 61 63 74 20 74 68 65 20 73 74 61 72 74 20 6c 69 6e 65 20 6e 75 6d 62 65 nd.;Extract.the.start.line.numbe
47fe0 72 20 6f 66 20 74 68 65 20 73 72 63 20 62 6c 6f 63 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 r.of.the.src.block..............
48000 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 61 74 .....................(string-mat
48020 63 68 20 22 5c 5c 60 5c 5c 73 2d 2a 5c 5c 28 5b 30 2d 39 5d 2b 5c 5c 29 5c 5c 73 2d 5c 5c 7b 32 ch."\\`\\s-*\\([0-9]+\\)\\s-\\{2
48040 5c 5c 7d 22 20 73 72 63 2d 63 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 \\}".src-code)..................
48060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 2d 6e .................(match-string-n
48080 6f 2d 70 72 6f 70 65 72 74 69 65 73 20 31 20 73 72 63 2d 63 6f 64 65 29 29 29 29 0a 20 20 20 20 o-properties.1.src-code)))).....
480a0 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6c 69 6e 65 6e 6f 73 74 61 72 74 2d 73 74 72 0a 20 20 ........(when.linenostart-str...
480c0 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 ............(setq.code-attr-str.
480e0 28 66 6f 72 6d 61 74 20 22 25 73 2c 20 6c 69 6e 65 6e 6f 73 74 61 72 74 3d 25 73 22 20 63 6f 64 (format."%s,.linenostart=%s".cod
48100 65 2d 61 74 74 72 2d 73 74 72 20 6c 69 6e 65 6e 6f 73 74 61 72 74 2d 73 74 72 29 29 29 29 0a 0a e-attr-str.linenostart-str))))..
48120 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6c 69 6e 65 2d 6e 75 6d 2d 70 0a 20 20 20 20 20 ..........(when.line-num-p......
48140 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 4f 72 67 2d 69 6e 73 65 72 74 65 64 20 6e 75 .......;;.Remove.Org-inserted.nu
48160 6d 62 65 72 73 20 66 72 6f 6d 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 65 61 63 68 mbers.from.the.beginning.of.each
48180 20 6c 69 6e 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 73 20 74 68 65 20 48 75 67 6f .line.............;;.as.the.Hugo
481a0 20 68 69 67 68 6c 69 67 68 74 20 73 68 6f 72 74 63 6f 64 65 20 77 69 6c 6c 20 62 65 20 75 73 65 .highlight.shortcode.will.be.use
481c0 64 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 3b 20 6c 69 74 65 d.instead.of.............;;.lite
481e0 72 61 6c 6c 79 20 69 6e 73 65 72 74 69 6e 67 20 74 68 65 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 rally.inserting.the.line.numbers
48200 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 2d 63 6f 64 65 20 28 72 65 ..............(setq.src-code.(re
48220 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 73 2d 2a 5b 30 place-regexp-in-string."^\\s-*[0
48240 2d 39 5d 2b 5c 5c 73 2d 5c 5c 7b 32 5c 5c 7d 22 20 22 22 20 73 72 63 2d 63 6f 64 65 29 29 29 29 -9]+\\s-\\{2\\}"."".src-code))))
48260 0a 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 ..........;;.(message."ox-hugo.s
48280 72 63 20 5b 64 62 67 5d 20 68 6c 2d 6c 69 6e 65 73 3a 20 25 53 22 20 68 6c 2d 6c 69 6e 65 73 29 rc.[dbg].hl-lines:.%S".hl-lines)
482a0 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 68 6c 2d 6c 69 6e 65 73 0a 20 20 20 20 20 20 20 20 .........(when.hl-lines.........
482c0 20 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 63 6f 64 65 2d 61 74 74 72 ..(if.(org-string-nw-p.code-attr
482e0 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 64 65 2d 61 -str)...............(setq.code-a
48300 74 74 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 25 73 2c 20 68 6c 5f 6c 69 6e 65 73 3d 25 73 ttr-str.(format."%s,.hl_lines=%s
48320 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 68 6c 2d 6c 69 6e 65 73 29 29 0a 20 20 20 20 20 ".code-attr-str.hl-lines))......
48340 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
48360 61 74 20 22 68 6c 5f 6c 69 6e 65 73 3d 25 73 22 20 68 6c 2d 6c 69 6e 65 73 29 29 29 29 0a 0a 20 at."hl_lines=%s".hl-lines))))...
48380 20 20 20 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 20 20 20 .......(when.code-refs..........
483a0 20 28 6c 65 74 2a 20 28 28 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 28 63 64 72 20 63 6f 64 65 .(let*.((anchor-prefix.(cdr.code
483c0 2d 72 65 66 73 2d 61 6e 64 2d 61 6e 63 68 6f 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 -refs-and-anchor))..............
483e0 20 20 20 20 28 61 6e 63 68 6f 72 2d 73 74 72 20 28 66 6f 72 6d 61 74 20 22 61 6e 63 68 6f 72 6c ....(anchor-str.(format."anchorl
48400 69 6e 65 6e 6f 73 3d 74 72 75 65 2c 20 6c 69 6e 65 61 6e 63 68 6f 72 73 3d 25 73 22 20 61 6e 63 inenos=true,.lineanchors=%s".anc
48420 68 6f 72 2d 70 72 65 66 69 78 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 hor-prefix))).............(org-e
48440 6c 65 6d 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 20 73 72 63 2d 62 6c 6f 63 6b 20 3a 61 lement-put-property.src-block.:a
48460 6e 63 68 6f 72 2d 70 72 65 66 69 78 20 61 6e 63 68 6f 72 2d 70 72 65 66 69 78 29 0a 20 20 20 20 nchor-prefix.anchor-prefix).....
48480 20 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 ........(setq.code-attr-str.(for
484a0 6d 61 74 20 22 25 73 2c 20 25 73 22 20 63 6f 64 65 2d 61 74 74 72 2d 73 74 72 20 61 6e 63 68 6f mat."%s,.%s".code-attr-str.ancho
484c0 72 2d 73 74 72 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 75 73 65 2d 68 r-str))))..........(unless.use-h
484e0 69 67 68 6c 69 67 68 74 2d 73 63 0a 20 20 20 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 ighlight-sc...........(plist-put
48500 20 69 6e 66 6f 20 3a 6d 64 2d 63 6f 64 65 20 73 72 63 2d 63 6f 64 65 29 0a 20 20 20 20 20 20 20 .info.:md-code.src-code)........
48520 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
48540 20 28 6f 72 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 .(org-string-nw-p.code-attr-str)
48560 29 29 0a 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 73 72 63 2d 63 6f 64 65 2d 77 72 61 70 0a ))..........(setq.src-code-wrap.
48580 20 20 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 ..............(if.use-highlight-
485a0 73 63 0a 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 6c 2d 61 sc...................(let.((hl-a
485c0 74 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 64 65 2d 61 74 ttr.(if.(org-string-nw-p.code-at
485e0 74 72 2d 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tr-str).........................
48600 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 20 5c 22 25 73 5c 22 22 20 63 .............(format.".\"%s\"".c
48620 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 20 20 20 20 ode-attr-str)...................
48640 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 20 20 20 20 20 ................."")))..........
48660 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 7b 7b 3c 20 68 69 67 68 6c 69 67 68 ...........(format."{{<.highligh
48680 74 20 25 73 25 73 20 3e 7d 7d 5c 6e 25 73 7b 7b 3c 20 2f 68 69 67 68 6c 69 67 68 74 20 3e 7d 7d t.%s%s.>}}\n%s{{<./highlight.>}}
486a0 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 20 20 20 \n".............................
486c0 6c 61 6e 67 20 68 6c 2d 61 74 74 72 20 73 72 63 2d 63 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 lang.hl-attr.src-code)).........
486e0 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 73 72 63 2d 62 6c 6f ........(org-blackfriday-src-blo
48700 63 6b 20 73 72 63 2d 62 6c 6f 63 6b 20 6e 69 6c 20 69 6e 66 6f 29 29 29 0a 0a 20 20 20 20 20 20 ck.src-block.nil.info)))........
48720 20 20 28 69 66 20 28 61 6e 64 20 67 6f 6c 64 6d 61 72 6b 70 20 28 6e 6f 74 20 75 73 65 2d 68 69 ..(if.(and.goldmarkp.(not.use-hi
48740 67 68 6c 69 67 68 74 2d 73 63 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 ghlight-sc)).............(setq.r
48760 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 2d 2d 67 65 74 et.(concat.(org-blackfriday--get
48780 2d 73 74 79 6c 65 2d 73 74 72 20 73 72 63 2d 62 6c 6f 63 6b 29 0a 20 20 20 20 20 20 20 20 20 20 -style-str.src-block)...........
487a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 2d 61 6e 63 68 6f 72 20 73 ....................src-anchor.s
487c0 72 63 2d 63 6f 64 65 2d 77 72 61 70 20 63 61 70 74 69 6f 6e 2d 68 74 6d 6c 29 29 0a 20 20 20 20 rc-code-wrap.caption-html)).....
487e0 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 61 79 ......(setq.ret.(org-blackfriday
48800 2d 2d 64 69 76 2d 77 72 61 70 2d 6d 61 79 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 --div-wrap-maybe................
48820 20 20 20 20 20 20 73 72 63 2d 62 6c 6f 63 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......src-block.................
48840 20 20 20 20 20 28 63 6f 6e 63 61 74 20 73 72 63 2d 61 6e 63 68 6f 72 20 73 72 63 2d 63 6f 64 65 .....(concat.src-anchor.src-code
48860 2d 77 72 61 70 20 63 61 70 74 69 6f 6e 2d 68 74 6d 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 -wrap.caption-html).............
48880 20 20 20 20 20 20 20 20 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 29 29 29 29 .........info))).........ret))))
488a0 29 0a 0a 3b 3b 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 )..;;;;.Special.Block.(defun.org
488c0 2d 68 75 67 6f 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 6c 6f -hugo-special-block.(special-blo
488e0 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 20 61 ck.contents.info)..."Transcode.a
48900 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 67 20 .SPECIAL-BLOCK.element.from.Org.
48920 74 6f 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 2e 0a 43 4f 4e to.Hugo-compatible.Markdown..CON
48940 54 45 4e 54 53 20 68 6f 6c 64 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 TENTS.holds.the.contents.of.the.
48960 62 6c 6f 63 6b 2e 0a 0a 49 66 20 74 68 65 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 20 69 73 20 block...If.the.special.block.is.
48980 6f 66 20 74 79 70 65 20 5c 22 64 65 73 63 72 69 70 74 69 6f 6e 5c 22 2c 20 74 68 65 20 76 61 6c of.type.\"description\",.the.val
489a0 75 65 20 6f 66 0a 60 3a 64 65 73 63 72 69 70 74 69 6f 6e 27 20 6b 65 79 20 6f 66 20 74 68 65 20 ue.of.`:description'.key.of.the.
489c0 49 4e 46 4f 20 70 6c 69 73 74 20 67 65 74 73 20 6f 76 65 72 77 72 69 74 74 65 6e 20 62 79 20 74 INFO.plist.gets.overwritten.by.t
489e0 68 65 0a 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 61 74 20 62 6c 6f 63 6b 2e 0a 0a 45 6c 73 65 he.contents.of.that.block...Else
48a00 20 69 66 20 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 .if.the.special.block.is.of.type
48a20 20 5c 22 64 65 74 61 69 6c 73 5c 22 2c 20 61 6e 20 48 54 4d 4c 0a 60 3c 64 65 74 61 69 6c 73 3e .\"details\",.an.HTML.`<details>
48a40 27 20 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 61 6e 20 6f 70 74 69 6f 6e 61 6c 20 60 3c 73 75 6d '.element.with.an.optional.`<sum
48a60 6d 61 72 79 3e 27 20 65 6c 65 6d 65 6e 74 20 69 73 0a 63 72 65 61 74 65 64 2e 20 20 54 68 65 20 mary>'.element.is.created...The.
48a80 5c 22 73 75 6d 6d 61 72 79 5c 22 20 70 6f 72 74 69 6f 6e 20 69 66 20 70 72 65 73 65 6e 74 20 63 \"summary\".portion.if.present.c
48aa0 6f 6d 65 73 20 66 69 72 73 74 2c 20 61 6e 64 20 69 73 0a 73 65 70 61 72 61 74 65 64 20 66 72 6f omes.first,.and.is.separated.fro
48ac0 6d 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 5c 22 64 65 74 61 69 6c 73 5c 22 20 70 6f 72 74 m.the.following.\"details\".port
48ae0 69 6f 6e 20 75 73 69 6e 67 20 61 20 73 6f 6c 6f 0a 5c 22 2d 2d 2d 5c 22 20 73 74 72 69 6e 67 20 ion.using.a.solo.\"---\".string.
48b00 6f 6e 20 61 20 6e 65 77 6c 69 6e 65 2e 20 20 53 65 65 0a 68 74 74 70 73 3a 2f 2f 6f 78 2d 68 75 on.a.newline...See.https://ox-hu
48b20 67 6f 2e 73 63 72 69 70 74 65 72 2e 63 6f 2f 64 6f 63 2f 64 65 74 61 69 6c 73 2d 61 6e 64 2d 73 go.scripter.co/doc/details-and-s
48b40 75 6d 6d 61 72 79 2f 20 66 6f 72 20 6d 6f 72 65 2e 0a 0a 45 6c 73 65 20 69 66 20 74 68 65 20 53 ummary/.for.more...Else.if.the.S
48b60 50 45 43 49 41 4c 2d 42 4c 4f 43 4b 20 74 79 70 65 20 6d 61 74 63 68 65 73 20 6f 6e 65 20 6f 66 PECIAL-BLOCK.type.matches.one.of
48b80 20 74 68 65 20 73 68 6f 72 74 63 6f 64 65 73 20 73 65 74 0a 69 6e 20 48 55 47 4f 5f 50 41 49 52 .the.shortcodes.set.in.HUGO_PAIR
48ba0 45 44 5f 53 48 4f 52 54 43 4f 44 45 53 20 70 72 6f 70 65 72 74 79 2c 20 65 78 70 6f 72 74 20 74 ED_SHORTCODES.property,.export.t
48bc0 68 65 6d 20 61 73 20 4d 61 72 6b 64 6f 77 6e 20 6f 72 0a 6e 6f 6e 2d 4d 61 72 6b 64 6f 77 6e 20 hem.as.Markdown.or.non-Markdown.
48be0 73 68 6f 72 74 63 6f 64 65 73 2e 20 20 53 65 65 20 60 6f 72 67 2d 68 75 67 6f 2d 70 61 69 72 65 shortcodes...See.`org-hugo-paire
48c00 64 2d 73 68 6f 72 74 63 6f 64 65 73 27 20 66 6f 72 0a 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 d-shortcodes'.for.more.informati
48c20 6f 6e 2e 0a 0a 46 6f 72 20 61 6c 6c 20 6f 74 68 65 72 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b on...For.all.other.special.block
48c40 73 2c 20 70 72 6f 63 65 73 73 69 6e 67 20 69 73 20 70 61 73 73 65 64 20 6f 6e 20 74 6f 0a 60 6f s,.processing.is.passed.on.to.`o
48c60 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 27 2e 0a 0a rg-blackfriday-special-block'...
48c80 49 66 20 61 20 62 6c 6f 63 6b 20 74 79 70 65 20 68 61 73 20 74 68 65 20 60 3a 74 72 69 6d 2d 70 If.a.block.type.has.the.`:trim-p
48ca0 72 65 27 20 70 72 6f 70 65 72 74 79 20 73 65 74 20 74 6f 20 74 20 69 6e 0a 60 6f 72 67 2d 68 75 re'.property.set.to.t.in.`org-hu
48cc0 67 6f 2d 73 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 go-special-block-type-properties
48ce0 27 20 6f 72 20 69 6e 20 74 68 65 20 60 23 2b 68 65 61 64 65 72 27 0a 6b 65 79 77 6f 72 64 20 61 '.or.in.the.`#+header'.keyword.a
48d00 62 6f 76 65 20 74 68 65 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 2c 20 77 68 69 74 65 73 70 61 bove.the.special.block,.whitespa
48d20 63 65 20 65 78 70 6f 72 74 65 64 20 62 65 66 6f 72 65 20 74 68 61 74 0a 62 6c 6f 63 6b 20 69 73 ce.exported.before.that.block.is
48d40 20 74 72 69 6d 6d 65 64 2e 20 20 53 69 6d 69 6c 61 72 6c 79 2c 20 69 66 20 60 3a 74 72 69 6d 2d .trimmed...Similarly,.if.`:trim-
48d60 70 6f 73 74 27 20 70 72 6f 70 65 72 74 79 20 69 73 20 73 65 74 20 74 6f 0a 74 2c 20 77 68 69 74 post'.property.is.set.to.t,.whit
48d80 65 73 70 61 63 65 20 61 66 74 65 72 20 74 68 61 74 20 62 6c 6f 63 6b 20 69 73 20 74 72 69 6d 6d espace.after.that.block.is.trimm
48da0 65 64 2e 0a 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 65 78 70 ed...INFO.is.a.plist.holding.exp
48dc0 6f 72 74 20 6f 70 74 69 6f 6e 73 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 62 6c 6f 63 6b 2d 74 79 ort.options."...(let*.((block-ty
48de0 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 79 70 65 20 73 pe.(org-element-property.:type.s
48e00 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 62 6c 6f 63 6b 2d 74 pecial-block))..........(block-t
48e20 79 70 65 2d 70 6c 69 73 74 20 28 63 64 72 20 28 61 73 73 6f 63 20 62 6c 6f 63 6b 2d 74 79 70 65 ype-plist.(cdr.(assoc.block-type
48e40 20 6f 72 67 2d 68 75 67 6f 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 72 6f .org-hugo-special-block-type-pro
48e60 70 65 72 74 69 65 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 65 61 64 65 72 20 28 6f 72 67 perties)))..........(header.(org
48e80 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d 65 6e 74 73 0a 20 20 -babel-parse-header-arguments...
48ea0 20 20 20 20 20 20 20 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 ................(car.(org-elemen
48ec0 74 2d 70 72 6f 70 65 72 74 79 20 3a 68 65 61 64 65 72 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b t-property.:header.special-block
48ee0 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 72 65 20 28 6f 72 20 28 61 6c 69 ))))..........(trim-pre.(or.(ali
48f00 73 74 2d 67 65 74 20 3a 74 72 69 6d 2d 70 72 65 20 68 65 61 64 65 72 29 20 3b 60 3a 74 72 69 6d st-get.:trim-pre.header).;`:trim
48f20 2d 70 72 65 27 20 69 6e 20 23 2b 68 65 61 64 65 72 20 68 61 73 20 68 69 67 68 65 72 20 70 72 65 -pre'.in.#+header.has.higher.pre
48f40 63 65 64 65 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 cedence.........................
48f60 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 74 72 69 (plist-get.block-type-plist.:tri
48f80 6d 2d 70 72 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 72 65 20 28 6f 72 67 m-pre)))..........(trim-pre.(org
48fa0 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 74 2d 74 72 75 65 2d 70 20 74 72 69 6d 2d 70 72 65 -hugo--value-get-true-p.trim-pre
48fc0 29 29 20 3b 49 66 20 22 6e 69 6c 22 2c 20 63 6f 6e 76 65 72 74 73 20 74 6f 20 6e 69 6c 0a 20 20 )).;If."nil",.converts.to.nil...
48fe0 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 28 69 66 20 74 72 69 6d 2d 70 72 .......(trim-pre-tag.(if.trim-pr
49000 65 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 22 29 29 e.org-hugo--trim-pre-marker.""))
49020 0a 20 20 20 20 20 20 20 20 20 28 6c 61 73 74 2d 65 6c 65 6d 65 6e 74 2d 70 20 28 6e 75 6c 6c 20 ..........(last-element-p.(null.
49040 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 70 65 (org-export-get-next-element.spe
49060 63 69 61 6c 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 74 72 69 cial-block.info)))..........(tri
49080 6d 2d 70 6f 73 74 20 28 75 6e 6c 65 73 73 20 6c 61 73 74 2d 65 6c 65 6d 65 6e 74 2d 70 20 3b 4e m-post.(unless.last-element-p.;N
490a0 6f 20 6e 65 65 64 20 74 6f 20 61 64 64 20 74 72 69 6d 2d 70 6f 73 74 20 6d 61 72 6b 65 72 73 20 o.need.to.add.trim-post.markers.
490c0 69 66 20 74 68 69 73 20 69 73 20 74 68 65 20 6c 61 73 74 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 if.this.is.the.last.element.....
490e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 61 6c 69 73 74 2d 67 65 ...................(or.(alist-ge
49100 74 20 3a 74 72 69 6d 2d 70 6f 73 74 20 68 65 61 64 65 72 29 20 3b 60 3a 74 72 69 6d 2d 70 6f 73 t.:trim-post.header).;`:trim-pos
49120 74 27 20 69 6e 20 23 2b 68 65 61 64 65 72 20 68 61 73 20 68 69 67 68 65 72 20 70 72 65 63 65 64 t'.in.#+header.has.higher.preced
49140 65 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 20 20 20 ence............................
49160 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 74 72 69 (plist-get.block-type-plist.:tri
49180 6d 2d 70 72 65 29 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 6f m-pre))))..........(trim-post.(o
491a0 72 67 2d 68 75 67 6f 2d 2d 76 61 6c 75 65 2d 67 65 74 2d 74 72 75 65 2d 70 20 74 72 69 6d 2d 70 rg-hugo--value-get-true-p.trim-p
491c0 6f 73 74 29 29 20 3b 49 66 20 22 6e 69 6c 22 2c 20 63 6f 6e 76 65 72 74 73 20 74 6f 20 6e 69 6c ost)).;If."nil",.converts.to.nil
491e0 0a 20 20 20 20 20 20 20 20 20 28 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 20 28 69 66 20 74 72 69 ..........(trim-post-tag.(if.tri
49200 6d 2d 70 6f 73 74 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 72 69 6d 2d 70 6f 73 74 2d 6d 61 72 6b 65 m-post.org-hugo--trim-post-marke
49220 72 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 r.""))..........(paired-shortcod
49240 65 73 20 28 6c 65 74 2a 20 28 28 73 74 72 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a es.(let*.((str.(plist-get.info.:
49260 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 29 29 0a 20 20 20 20 20 20 20 hugo-paired-shortcodes))........
49280 20 20 20 20 20 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 ............................(str
492a0 2d 6c 69 73 74 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 73 74 72 -list.(when.(org-string-nw-p.str
492c0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
492e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 73 .................(split-string.s
49300 74 72 20 22 20 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 tr."."))))......................
49320 20 20 20 20 20 20 20 20 20 73 74 72 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 63 .........str-list))..........(sc
49340 2d 72 65 67 65 78 70 20 22 5c 5c 60 25 25 3f 25 73 5c 5c 27 22 29 20 3b 52 65 67 65 78 70 20 74 -regexp."\\`%%?%s\\'").;Regexp.t
49360 6f 20 6d 61 74 63 68 20 61 6e 20 65 6c 65 6d 65 6e 74 20 66 72 6f 6d 20 60 70 61 69 72 65 64 2d o.match.an.element.from.`paired-
49380 73 68 6f 72 74 63 6f 64 65 73 27 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d 6c 2d 61 74 74 72 20 shortcodes'..........(html-attr.
493a0 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 74 74 72 (org-export-read-attribute.:attr
493c0 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 20 20 20 20 20 28 _html.special-block))..........(
493e0 63 61 70 74 69 6f 6e 20 28 70 6c 69 73 74 2d 67 65 74 20 68 74 6d 6c 2d 61 74 74 72 20 3a 63 61 caption.(plist-get.html-attr.:ca
49400 70 74 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 73 20 28 77 68 65 6e ption))..........(contents.(when
49420 20 28 73 74 72 69 6e 67 70 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 .(stringp.contents).............
49440 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 20 20 20 20 20 20 .........(org-trim..............
49460 20 20 20 20 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 .........(if.(plist-get.block-ty
49480 70 65 2d 70 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 pe-plist.:raw)..................
494a0 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
494c0 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
494e0 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.........................
49500 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 61 20 28 6f ..(org-element-interpret-data.(o
49520 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 62 6c 6f 63 rg-element-contents.special-bloc
49540 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 63 6f 6e 74 k)).........................cont
49560 65 6e 74 73 29 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 ents))))).....;;.(message."[ox-h
49580 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 62 6c 6f 63 6b 2d 74 79 70 65 3a 20 25 73 22 ugo-spl-blk.DBG].block-type:.%s"
495a0 20 62 6c 6f 63 6b 2d 74 79 70 65 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f .block-type).....;;.(message."[o
495c0 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 6c 61 73 74 20 65 6c 65 6d 65 6e 74 x-hugo-spl-blk.DBG].last.element
495e0 3f 3a 20 25 73 22 20 28 6e 75 6c 6c 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 67 65 74 2d 6e 65 78 ?:.%s".(null.(org-export-get-nex
49600 74 2d 65 6c 65 6d 65 6e 74 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 69 6e 66 6f 29 29 29 0a t-element.special-block.info))).
49620 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 62 6c ....;;.(message."[ox-hugo-spl-bl
49640 6b 20 44 42 47 5d 20 25 73 3a 20 68 65 61 64 65 72 3a 20 25 73 22 20 62 6c 6f 63 6b 2d 74 79 70 k.DBG].%s:.header:.%s".block-typ
49660 65 20 68 65 61 64 65 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 e.header).....;;.(message."[ox-h
49680 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 72 65 20 28 74 ugo-spl-blk.DBG].%s:.trim-pre.(t
496a0 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 70 65 2d ype.=.%S):.%S".block-type.(type-
496c0 6f 66 20 74 72 69 6d 2d 70 72 65 29 20 74 72 69 6d 2d 70 72 65 29 0a 20 20 20 20 3b 3b 20 28 6d of.trim-pre).trim-pre).....;;.(m
496e0 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 25 73 essage."[ox-hugo-spl-blk.DBG].%s
49700 3a 20 74 72 69 6d 2d 70 6f 73 74 20 28 74 79 70 65 20 3d 20 25 53 29 3a 20 25 53 22 20 62 6c 6f :.trim-post.(type.=.%S):.%S".blo
49720 63 6b 2d 74 79 70 65 20 28 74 79 70 65 2d 6f 66 20 74 72 69 6d 2d 70 6f 73 74 29 20 74 72 69 6d ck-type.(type-of.trim-post).trim
49740 2d 70 6f 73 74 29 0a 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 74 79 70 65 -post).....(plist-put.info.:type
49760 2d 70 6c 69 73 74 20 62 6c 6f 63 6b 2d 74 79 70 65 2d 70 6c 69 73 74 29 0a 20 20 20 20 28 70 6c -plist.block-type-plist).....(pl
49780 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 74 72 69 6d 2d 70 72 65 2d 74 61 67 20 74 72 69 6d 2d ist-put.info.:trim-pre-tag.trim-
497a0 70 72 65 2d 74 61 67 29 0a 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 74 72 pre-tag).....(plist-put.info.:tr
497c0 69 6d 2d 70 6f 73 74 2d 74 61 67 20 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 29 0a 20 20 20 20 28 im-post-tag.trim-post-tag).....(
497e0 77 68 65 6e 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 when.contents.......(cond.......
49800 20 28 28 73 74 72 69 6e 67 3d 20 62 6c 6f 63 6b 2d 74 79 70 65 20 22 74 69 6b 7a 6a 61 78 22 29 .((string=.block-type."tikzjax")
49820 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 63 6f 6e 74 65 6e 74 73 20 28 66 6f 72 6d 61 74 20 .........(setq.contents.(format.
49840 22 25 73 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "%s%s%s"........................
49860 20 20 20 20 20 20 20 20 22 3c 73 63 72 69 70 74 20 74 79 70 65 3d 5c 22 74 65 78 74 2f 74 69 6b ........"<script.type=\"text/tik
49880 7a 5c 22 3e 5c 6e 20 20 5c 5c 62 65 67 69 6e 7b 74 69 6b 7a 70 69 63 74 75 72 65 7d 5c 6e 22 0a z\">\n..\\begin{tikzpicture}\n".
498a0 20 20 20 20 20 20 20 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 ...............................c
498c0 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 20 20 ontents.........................
498e0 20 20 20 20 20 20 20 22 5c 6e 5c 5c 65 6e 64 7b 74 69 6b 7a 70 69 63 74 75 72 65 7d 5c 6e 3c 2f ......."\n\\end{tikzpicture}\n</
49900 73 63 72 69 70 74 3e 22 29 29 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 6f 72 67 2d 73 74 script>")).........(when.(org-st
49920 72 69 6e 67 2d 6e 77 2d 70 20 63 61 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 ring-nw-p.caption)...........(se
49940 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 20 tq.contents.(format."%s%s%s"....
49960 20 20 20 20 20 20 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 .............................."<
49980 66 69 67 75 72 65 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 20 figure>\n"......................
499a0 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 ............contents............
499c0 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 5c ......................(format."\
499e0 6e 3c 66 69 67 63 61 70 74 69 6f 6e 3e 25 73 3c 2f 66 69 67 63 61 70 74 69 6f 6e 3e 5c 6e 3c 2f n<figcaption>%s</figcaption>\n</
49a00 66 69 67 75 72 65 3e 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 figure>"........................
49a20 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 29 29 29 29 0a 20 20 ..................caption))))...
49a40 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 29 0a 20 20 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d ......contents)........((string=
49a60 20 62 6c 6f 63 6b 2d 74 79 70 65 20 22 64 65 73 63 72 69 70 74 69 6f 6e 22 29 0a 20 20 20 20 20 .block-type."description")......
49a80 20 20 20 3b 3b 20 4f 76 65 72 77 72 69 74 65 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 ...;;.Overwrite.the.value.of.the
49aa0 20 60 3a 64 65 73 63 72 69 70 74 69 6f 6e 27 20 6b 65 79 20 69 6e 20 60 69 6e 66 6f 27 2e 0a 20 .`:description'.key.in.`info'...
49ac0 20 20 20 20 20 20 20 28 70 6c 69 73 74 2d 70 75 74 20 69 6e 66 6f 20 3a 64 65 73 63 72 69 70 74 .......(plist-put.info.:descript
49ae0 69 6f 6e 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 73 63 61 70 65 2d 68 75 67 6f 2d 73 68 6f 72 74 ion.(org-hugo--escape-hugo-short
49b00 63 6f 64 65 20 63 6f 6e 74 65 6e 74 73 20 22 6d 64 22 29 29 0a 20 20 20 20 20 20 20 20 6e 69 6c code.contents."md")).........nil
49b20 29 0a 20 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f 65 6d 61 63 73 2e 73 74 61 63 6b 65 )........;;.https://emacs.stacke
49b40 78 63 68 61 6e 67 65 2e 63 6f 6d 2f 61 2f 32 38 36 38 35 2f 31 31 35 0a 20 20 20 20 20 20 20 28 xchange.com/a/28685/115........(
49b60 28 63 6c 2d 6d 65 6d 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 (cl-member.block-type.paired-sho
49b80 72 74 63 6f 64 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 49 66 rtcodes....................;;.If
49ba0 20 60 62 6c 6f 63 6b 2d 74 79 70 65 27 20 69 73 20 22 66 6f 6f 22 2c 20 63 68 65 63 6b 20 69 66 .`block-type'.is."foo",.check.if
49bc0 20 61 6e 79 20 6f 66 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 .any.of.the....................;
49be0 3b 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 60 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 ;.elements.in.`paired-shortcodes
49c00 27 20 69 73 20 22 66 6f 6f 22 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 '.is."foo".or...................
49c20 20 3b 3b 20 22 25 66 6f 6f 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a .;;."%foo".....................:
49c40 74 65 73 74 20 28 6c 61 6d 62 64 61 20 28 62 20 73 63 29 20 3b 60 73 63 27 20 77 6f 75 6c 64 20 test.(lambda.(b.sc).;`sc'.would.
49c60 62 65 20 61 6e 20 65 6c 65 6d 65 6e 74 20 66 72 6f 6d 20 60 70 61 69 72 65 64 2d 73 68 6f 72 74 be.an.element.from.`paired-short
49c80 63 6f 64 65 73 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 codes'..........................
49ca0 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 63 2d 72 65 67 ..(string-match-p.(format.sc-reg
49cc0 65 78 70 20 62 29 20 73 63 29 29 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 61 74 74 exp.b).sc))).........(let*.((att
49ce0 72 2d 73 63 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 r-sc.(org-export-read-attribute.
49d00 3a 61 74 74 72 5f 73 68 6f 72 74 63 6f 64 65 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 0a :attr_shortcode.special-block)).
49d20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 6f 73 69 74 69 6f 6e 61 6c 20 61 72 67 ...............;;.Positional.arg
49d40 75 6d 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 73 2d 61 72 67 73 uments.................(pos-args
49d60 20 28 61 6e 64 20 28 6e 75 6c 6c 20 61 74 74 72 2d 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 .(and.(null.attr-sc)............
49d80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 73 68 6f ...................;;.If.the.sho
49da0 72 74 63 6f 64 65 20 61 74 74 72 69 62 75 74 65 73 20 61 72 65 20 6e 6f 74 20 6f 66 0a 20 20 20 rtcode.attributes.are.not.of....
49dc0 20 20 20 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
49de0 65 20 74 79 70 65 20 22 3a 66 6f 6f 20 62 61 72 22 20 62 75 74 20 61 72 65 20 73 6f 6d 65 74 68 e.type.":foo.bar".but.are.someth
49e00 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ing.............................
49e20 20 20 3b 3b 20 6c 69 6b 65 20 22 66 6f 6f 20 62 61 72 22 2e 0a 20 20 20 20 20 20 20 20 20 20 20 ..;;.like."foo.bar".............
49e40 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 72 61 77 2d 6c ...................(let*.((raw-l
49e60 69 73 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 61 74 74 72 5f ist.(org-element-property.:attr_
49e80 73 68 6f 72 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 shortcode.special-block)).......
49ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
49ec0 72 61 77 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 72 61 raw-str.(mapconcat.#'identity.ra
49ee0 77 2d 6c 69 73 74 20 22 20 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 w-list.".")))...................
49f00 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 6e 77 2d 70 20 72 ..............(org-string-nw-p.r
49f20 61 77 2d 73 74 72 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4e 61 6d aw-str))))................;;.Nam
49f40 65 64 20 61 72 67 75 6d 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 61 ed.arguments.................(na
49f60 6d 65 64 2d 61 72 67 73 20 28 75 6e 6c 65 73 73 20 70 6f 73 2d 61 72 67 73 0a 20 20 20 20 20 20 med-args.(unless.pos-args.......
49f80 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 72 69 .......................(org-stri
49fa0 6e 67 2d 6e 77 2d 70 20 28 6f 72 67 2d 68 74 6d 6c 2d 2d 6d 61 6b 65 2d 61 74 74 72 69 62 75 74 ng-nw-p.(org-html--make-attribut
49fc0 65 2d 73 74 72 69 6e 67 20 61 74 74 72 2d 73 63 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 e-string.attr-sc))))............
49fe0 20 20 20 20 28 73 63 2d 61 72 67 73 20 28 6f 72 20 70 6f 73 2d 61 72 67 73 20 6e 61 6d 65 64 2d ....(sc-args.(or.pos-args.named-
4a000 61 72 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 2d 61 72 67 73 20 28 args))................(sc-args.(
4a020 69 66 20 73 63 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 if.sc-args......................
4a040 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 22 20 22 20 73 63 2d 61 72 67 73 20 22 20 22 29 0a .......(concat.".".sc-args.".").
4a060 20 20 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 22 29 29 0a ..........................".")).
4a080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 74 63 68 65 64 2d 73 63 2d 73 74 72 20 28 ...............(matched-sc-str.(
4a0a0 63 61 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 car.............................
4a0c0 20 20 20 20 28 63 6c 2d 6d 65 6d 62 65 72 20 62 6c 6f 63 6b 2d 74 79 70 65 20 70 61 69 72 65 64 ....(cl-member.block-type.paired
4a0e0 2d 73 68 6f 72 74 63 6f 64 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -shortcodes.....................
4a100 20 20 20 20 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 .......................:test.(la
4a120 6d 62 64 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 mbda.(b.sc).;`sc'.would.be.an.el
4a140 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 0a 20 ement.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 20 20 20 20 20 20 20 20 20 ................................
4a180 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 61 74 63 68 2d ..................(string-match-
4a1a0 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 29 29 29 0a 20 p.(format.sc-regexp.b).sc)))))..
4a1c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 2d 6f 70 65 6e 2d 63 68 61 72 20 28 69 66 20 ..............(sc-open-char.(if.
4a1e0 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d 70 20 22 25 22 20 6d 61 74 63 68 65 64 2d 73 63 2d (string-prefix-p."%".matched-sc-
4a200 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 str)............................
4a220 20 20 20 20 20 20 22 25 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......"%".......................
4a240 20 20 20 20 20 20 20 20 20 22 3c 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 ........."<"))................(s
4a260 63 2d 63 6c 6f 73 65 2d 63 68 61 72 20 28 69 66 20 28 73 74 72 69 6e 67 2d 70 72 65 66 69 78 2d c-close-char.(if.(string-prefix-
4a280 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 20 20 20 20 p."%".matched-sc-str)...........
4a2a0 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 20 20 20 ........................"%".....
4a2c0 20 20 20 20 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 3e 22 29 ............................">")
4a2e0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 2d 62 65 67 69 6e 20 28 66 6f 72 6d )................(sc-begin.(form
4a300 61 74 20 22 25 73 7b 7b 25 73 20 25 73 25 73 25 73 7d 7d 22 0a 20 20 20 20 20 20 20 20 20 20 20 at."%s{{%s.%s%s%s}}"............
4a320 20 20 20 20 20 20 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 ......................trim-pre-t
4a340 61 67 20 73 63 2d 6f 70 65 6e 2d 63 68 61 72 20 62 6c 6f 63 6b 2d 74 79 70 65 20 73 63 2d 61 72 ag.sc-open-char.block-type.sc-ar
4a360 67 73 20 73 63 2d 63 6c 6f 73 65 2d 63 68 61 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 gs.sc-close-char))..............
4a380 20 20 28 73 63 2d 65 6e 64 20 28 66 6f 72 6d 61 74 20 22 7b 7b 25 73 20 2f 25 73 20 25 73 7d 7d ..(sc-end.(format."{{%s./%s.%s}}
4a3a0 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 %s".............................
4a3c0 20 20 20 73 63 2d 6f 70 65 6e 2d 63 68 61 72 20 62 6c 6f 63 6b 2d 74 79 70 65 20 73 63 2d 63 6c ...sc-open-char.block-type.sc-cl
4a3e0 6f 73 65 2d 63 68 61 72 20 74 72 69 6d 2d 70 6f 73 74 2d 74 61 67 29 29 29 0a 20 20 20 20 20 20 ose-char.trim-post-tag))).......
4a400 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 62 6c ....;;.(message."[ox-hugo-spl-bl
4a420 6b 20 44 42 47 5d 20 61 74 74 72 2d 73 63 31 3a 20 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 3b k.DBG].attr-sc1:.%s"...........;
4a440 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 79 ;..........(org-element-property
4a460 20 3a 61 74 74 72 5f 73 68 6f 72 74 63 6f 64 65 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 29 29 .:attr_shortcode.special-block))
4a480 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f ...........;;.(message."[ox-hugo
4a4a0 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 61 74 74 72 2d 73 63 3a 20 25 73 22 20 61 74 74 72 2d -spl-blk.DBG].attr-sc:.%s".attr-
4a4c0 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 sc)...........;;.(message."[ox-h
4a4e0 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 70 6f 73 2d 61 72 67 73 3a 20 25 73 22 20 70 ugo-spl-blk.DBG].pos-args:.%s".p
4a500 6f 73 2d 61 72 67 73 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 os-args)...........;;.(message."
4a520 5b 6f 78 2d 68 75 67 6f 2d 73 70 6c 2d 62 6c 6b 20 44 42 47 5d 20 6e 61 6d 65 64 2d 61 72 67 73 [ox-hugo-spl-blk.DBG].named-args
4a540 3a 20 25 73 22 20 6e 61 6d 65 64 2d 61 72 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 :.%s".named-args)...........(for
4a560 6d 61 74 20 22 25 73 5c 6e 25 73 5c 6e 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 mat."%s\n%s\n%s"................
4a580 20 20 20 73 63 2d 62 65 67 69 6e 20 63 6f 6e 74 65 6e 74 73 20 73 63 2d 65 6e 64 29 29 29 0a 20 ...sc-begin.contents.sc-end)))..
4a5a0 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 62 6c 61 63 6b 66 72 69 64 61 ......(t.........(org-blackfrida
4a5c0 79 2d 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 63 6f y-special-block.special-block.co
4a5e0 6e 74 65 6e 74 73 20 69 6e 66 6f 29 29 29 29 29 29 0a 0a 0a 0c 0a 3b 3b 3b 20 46 69 6c 74 65 72 ntents.info)))))).....;;;.Filter
4a600 20 46 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b 3b 3b 20 42 6f 64 79 20 46 69 6c 74 65 72 0a 28 64 65 .Functions..;;;;.Body.Filter.(de
4a620 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 62 6f 64 79 2d 66 69 6c 74 65 72 20 28 62 6f 64 79 20 5f fun.org-hugo-body-filter.(body._
4a640 62 61 63 6b 65 6e 64 20 69 6e 66 6f 29 0a 20 20 22 41 64 64 20 66 72 6f 6e 74 2d 6d 61 74 74 65 backend.info)..."Add.front-matte
4a660 72 20 74 6f 20 74 68 65 20 42 4f 44 59 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 2e 0a 0a r.to.the.BODY.of.the.document...
4a680 42 4f 44 59 20 69 73 20 74 68 65 20 72 65 73 75 6c 74 20 6f 66 20 74 68 65 20 65 78 70 6f 72 74 BODY.is.the.result.of.the.export
4a6a0 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 65 78 70 6f 72 74 ..INFO.is.a.plist.holding.export
4a6c0 20 6f 70 74 69 6f 6e 73 2e 22 0a 20 20 3b 3b 20 43 6f 70 79 20 74 68 65 20 70 61 67 65 20 72 65 .options."...;;.Copy.the.page.re
4a6e0 73 6f 75 72 63 65 73 20 74 6f 20 74 68 65 20 62 75 6e 64 6c 65 20 64 69 72 65 63 74 6f 72 79 2e sources.to.the.bundle.directory.
4a700 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 70 79 2d 72 65 73 6f 75 72 63 65 73 2d 6d 61 79 ...(org-hugo--copy-resources-may
4a720 62 65 20 69 6e 66 6f 29 0a 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6f 70 79 2d 6c 74 78 69 6d be.info)...(org-hugo--copy-ltxim
4a740 67 2d 6d 61 79 62 65 20 69 6e 66 6f 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 g-maybe.info)...;;.(message."[ox
4a760 2d 68 75 67 6f 20 62 6f 64 79 20 66 69 6c 74 65 72 5d 20 49 54 45 4d 20 25 53 22 20 28 6f 72 67 -hugo.body.filter].ITEM.%S".(org
4a780 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 49 54 45 4d 22 29 29 0a 20 20 3b 3b -entry-get.(point)."ITEM"))...;;
4a7a0 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 67 6f 20 62 6f 64 79 20 66 69 6c 74 65 72 5d .(message."[ox-hugo.body.filter]
4a7c0 20 54 41 47 53 3a 20 25 53 22 20 28 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 .TAGS:.%S".(org-entry-get.(point
4a7e0 29 20 22 54 41 47 53 22 29 29 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 6f 78 2d 68 75 )."TAGS"))...;;.(message."[ox-hu
4a800 67 6f 20 62 6f 64 79 20 66 69 6c 74 65 72 5d 20 41 4c 4c 54 41 47 53 3a 20 25 53 22 20 28 6f 72 go.body.filter].ALLTAGS:.%S".(or
4a820 67 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 41 4c 4c 54 41 47 53 22 29 29 0a g-entry-get.(point)."ALLTAGS")).
4a840 0a 20 20 28 77 68 65 6e 20 28 61 6e 64 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 ...(when.(and.(org-hugo--plist-g
4a860 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 64 65 6c 65 74 65 2d 74 72 61 69 et-true-p.info.:hugo-delete-trai
4a880 6c 69 6e 67 2d 77 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 6f 72 67 2d ling-ws)..............(not.(org-
4a8a0 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 70 72 65 hugo--plist-get-true-p.info.:pre
4a8c0 73 65 72 76 65 2d 62 72 65 61 6b 73 29 29 29 0a 20 20 20 20 28 73 65 74 71 20 62 6f 64 79 20 28 serve-breaks))).....(setq.body.(
4a8e0 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 20 20 20 20 20 20 with-temp-buffer................
4a900 20 20 28 69 6e 73 65 72 74 20 62 6f 64 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..(insert.body).................
4a920 20 28 64 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 2d 77 68 69 74 65 73 70 61 63 65 20 28 70 6f .(delete-trailing-whitespace.(po
4a940 69 6e 74 2d 6d 69 6e 29 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 int-min).nil)..................(
4a960 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 20 28 buffer-substring-no-properties.(
4a980 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 29 0a 20 20 28 6c 65 point-min).(point-max)))))...(le
4a9a0 74 20 28 28 66 6d 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 t.((fm.(save-excursion..........
4a9c0 20 20 20 20 20 28 73 61 76 65 2d 72 65 73 74 72 69 63 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 .....(save-restriction..........
4a9e0 20 20 20 20 20 20 20 3b 3b 20 54 68 65 20 70 6f 69 6e 74 20 69 73 20 61 74 20 74 68 65 20 62 65 .......;;.The.point.is.at.the.be
4aa00 67 69 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 68 65 61 64 69 6e 67 20 62 6f 64 79 0a 20 20 20 20 ginning.of.the.heading.body.....
4aa20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 21 ............;;.in.this.function!
4aa40 20 53 6f 20 6d 6f 76 65 20 74 68 65 20 70 6f 69 6e 74 20 62 61 63 6b 20 62 79 20 31 20 63 68 61 .So.move.the.point.back.by.1.cha
4aa60 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 6f 20 62 72 69 6e 67 20 69 74 r.................;;.to.bring.it
4aa80 20 69 6e 74 6f 20 74 68 65 20 4f 72 67 20 68 65 61 64 69 6e 67 20 62 65 66 6f 72 65 20 63 61 6c .into.the.Org.heading.before.cal
4aaa0 6c 69 6e 67 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 67 ling.................;;.`org-hug
4aac0 6f 2d 2d 67 65 74 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 27 2c 20 62 65 63 61 75 73 65 20 69 6e o--get-front-matter',.because.in
4aae0 20 74 68 65 72 65 20 77 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 75 73 65 .there.we.................;;.use
4ab00 20 60 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 27 20 61 74 20 28 70 6f 69 6e 74 29 20 74 6f 20 72 .`org-entry-get'.at.(point).to.r
4ab20 65 74 72 69 65 76 65 20 63 65 72 74 61 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 etrieve.certain.................
4ab40 3b 3b 20 70 72 6f 70 65 72 74 79 20 76 61 6c 75 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 ;;.property.values..............
4ab60 20 20 20 20 28 77 69 64 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 67 6e ....(widen).................(ign
4ab80 6f 72 65 2d 65 72 72 6f 72 73 20 3b 49 66 20 74 68 65 20 70 6f 69 6e 74 20 69 73 20 61 74 20 62 ore-errors.;If.the.point.is.at.b
4aba0 65 67 69 6e 6e 69 6e 67 20 6f 66 20 62 75 66 66 65 72 20 65 76 65 6e 20 61 66 74 65 72 20 77 69 eginning.of.buffer.even.after.wi
4abc0 64 65 6e 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 62 61 63 6b 77 61 dening...................(backwa
4abe0 72 64 2d 63 68 61 72 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 rd-char)).................;;.(me
4ac00 73 73 61 67 65 20 22 5b 62 6f 64 79 20 66 69 6c 74 65 72 20 44 42 47 5d 20 6c 69 6e 65 20 61 74 ssage."[body.filter.DBG].line.at
4ac20 20 70 74 3a 20 25 73 22 20 28 74 68 69 6e 67 2d 61 74 2d 70 6f 69 6e 74 20 27 6c 69 6e 65 29 29 .pt:.%s".(thing-at-point.'line))
4ac40 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d .................(org-hugo--get-
4ac60 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 66 front-matter.info)))).........(f
4ac80 6d 2d 65 78 74 72 61 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 66 6d 2d 65 78 74 72 m-extra.(plist-get.info.:fm-extr
4aca0 61 29 29 0a 20 20 20 20 20 20 20 20 28 62 6f 64 79 20 28 69 66 20 28 6f 72 67 2d 73 74 72 69 6e a)).........(body.(if.(org-strin
4acc0 67 2d 6e 77 2d 70 20 62 6f 64 79 29 20 3b 49 6e 73 65 72 74 20 65 78 74 72 61 20 6e 65 77 6c 69 g-nw-p.body).;Insert.extra.newli
4ace0 6e 65 20 69 66 20 62 6f 64 79 20 69 73 20 6e 6f 6e 2d 65 6d 70 74 79 0a 20 20 20 20 20 20 20 20 ne.if.body.is.non-empty.........
4ad00 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 5c 6e 25 73 22 20 62 6f 64 79 29 0a 20 ..........(format."\n%s".body)..
4ad20 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 3b 3b 20 28 6d 65 73 ...............""))).....;;.(mes
4ad40 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 5d 20 25 53 22 20 66 sage."[body.filter.DBG.fm].%S".f
4ad60 6d 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 62 6f 64 79 20 66 69 6c 74 65 72 m).....;;.(message."[body.filter
4ad80 20 44 42 47 20 66 6d 2d 65 78 74 72 61 5d 20 25 53 22 20 66 6d 2d 65 78 74 72 61 29 0a 20 20 20 .DBG.fm-extra].%S".fm-extra)....
4ada0 20 28 77 68 65 6e 20 66 6d 2d 65 78 74 72 61 0a 20 20 20 20 20 20 3b 3b 20 49 66 20 66 6d 2d 65 .(when.fm-extra.......;;.If.fm-e
4adc0 78 74 72 61 20 69 73 20 70 72 65 73 65 6e 74 2c 20 61 70 70 65 6e 64 20 69 74 20 74 6f 20 74 68 xtra.is.present,.append.it.to.th
4ade0 65 20 65 6e 64 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 3b 3b 20 66 72 6f 6e 74 2d 6d 61 74 74 e.end.of.the.......;;.front-matt
4ae00 65 72 2c 20 62 65 66 6f 72 65 20 74 68 65 20 63 6c 6f 73 69 6e 67 20 22 2b 2b 2b 22 20 6f 72 20 er,.before.the.closing."+++".or.
4ae20 22 2d 2d 2d 22 20 6d 61 72 6b 65 72 2e 0a 20 20 20 20 20 20 28 73 65 74 71 20 66 6d 20 28 72 65 "---".marker........(setq.fm.(re
4ae40 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 5c 5c 2b 5c 5c place-regexp-in-string."\\(\\+\\
4ae60 2b 5c 5c 2b 5c 5c 7c 2d 2d 2d 5c 5c 29 5c 6e 2a 5c 5c 27 22 0a 20 20 20 20 20 20 20 20 20 20 20 +\\+\\|---\\)\n*\\'"............
4ae80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 ..............................(c
4aea0 6f 6e 63 61 74 20 66 6d 2d 65 78 74 72 61 20 22 5c 5c 26 22 29 0a 20 20 20 20 20 20 20 20 20 20 oncat.fm-extra."\\&")...........
4aec0 20 20 20 20 20 20 20 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 ...............................f
4aee0 6d 29 29 29 0a 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 20 66 6d 29 0a m))).....(setq.org-hugo--fm.fm).
4af00 20 20 20 20 28 69 66 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 ....(if.(org-hugo--pandoc-citati
4af20 6f 6e 73 2d 65 6e 61 62 6c 65 64 2d 70 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 28 66 6f 72 ons-enabled-p.info).........(for
4af40 6d 61 74 20 22 25 73 25 73 25 73 22 20 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 20 62 mat."%s%s%s".org-hugo--fm-yaml.b
4af60 6f 64 79 20 6f 72 67 2d 68 75 67 6f 2d 66 6f 6f 74 65 72 29 0a 20 20 20 20 20 20 28 66 6f 72 6d ody.org-hugo-footer).......(form
4af80 61 74 20 22 25 73 25 73 25 73 22 20 66 6d 20 62 6f 64 79 20 6f 72 67 2d 68 75 67 6f 2d 66 6f 6f at."%s%s%s".fm.body.org-hugo-foo
4afa0 74 65 72 29 29 29 29 0a 0a 3b 3b 3b 3b 3b 20 48 75 67 6f 20 46 72 6f 6e 74 2d 4d 61 74 74 65 72 ter))))..;;;;;.Hugo.Front-Matter
4afc0 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 .(defun.org-hugo--parse-property
4afe0 2d 61 72 67 75 6d 65 6e 74 73 20 28 73 74 72 29 0a 20 20 22 52 65 74 75 72 6e 20 61 6e 20 61 6c -arguments.(str)..."Return.an.al
4b000 69 73 74 20 63 6f 6e 76 65 72 74 65 64 20 66 72 6f 6d 20 61 20 73 74 72 69 6e 67 20 53 54 52 20 ist.converted.from.a.string.STR.
4b020 6f 66 20 48 75 67 6f 20 70 72 6f 70 65 72 74 79 20 76 61 6c 75 65 2e 0a 0a 53 54 52 20 69 73 20 of.Hugo.property.value...STR.is.
4b040 6f 66 20 74 79 70 65 20 5c 22 3a 4b 45 59 31 20 56 41 4c 55 45 31 20 3a 4b 45 59 32 20 56 41 4c of.type.\":KEY1.VALUE1.:KEY2.VAL
4b060 55 45 32 20 2e 2e 5c 22 2e 20 20 47 69 76 65 6e 20 74 68 61 74 2c 20 74 68 65 0a 72 65 74 75 72 UE2...\"...Given.that,.the.retur
4b080 6e 65 64 20 76 61 6c 75 65 20 69 73 20 28 28 4b 45 59 31 20 2e 20 56 41 4c 55 45 31 29 20 28 4b ned.value.is.((KEY1...VALUE1).(K
4b0a0 45 59 32 20 2e 20 56 41 4c 55 45 32 29 20 2e 2e 29 2e 0a 0a 45 78 61 6d 70 6c 65 3a 20 49 6e 70 EY2...VALUE2)...)...Example:.Inp
4b0c0 75 74 20 53 54 52 20 5c 22 3a 66 6f 6f 20 62 61 72 20 3a 62 61 7a 20 31 20 3a 7a 6f 6f 20 5c 5c ut.STR.\":foo.bar.:baz.1.:zoo.\\
4b0e0 5c 22 74 77 6f 20 77 6f 72 64 73 5c 5c 5c 22 5c 22 20 77 6f 75 6c 64 0a 63 6f 6e 76 65 72 74 20 \"two.words\\\"\".would.convert.
4b100 74 6f 20 28 28 66 6f 6f 20 2e 20 5c 22 62 61 72 5c 22 29 20 28 62 61 7a 20 2e 20 31 29 20 28 7a to.((foo...\"bar\").(baz...1).(z
4b120 6f 6f 20 2e 20 5c 22 74 77 6f 20 77 6f 72 64 73 5c 22 29 29 2e 22 0a 20 20 28 6c 65 74 20 28 28 oo...\"two.words\"))."...(let.((
4b140 61 6c 69 73 74 20 28 6f 72 67 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 alist.(org-babel-parse-header-ar
4b160 67 75 6d 65 6e 74 73 20 73 74 72 29 29 29 0a 20 20 20 20 28 64 6f 6c 69 73 74 20 28 70 61 69 72 guments.str))).....(dolist.(pair
4b180 20 61 6c 69 73 74 29 0a 20 20 20 20 20 20 3b 3b 20 3a 4b 45 59 20 2d 3e 20 4b 45 59 0a 20 20 20 .alist).......;;.:KEY.->.KEY....
4b1a0 20 20 20 28 6c 65 74 20 28 28 6b 65 79 20 28 69 6e 74 65 72 6e 20 28 72 65 70 6c 61 63 65 2d 72 ...(let.((key.(intern.(replace-r
4b1c0 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 3a 22 20 22 22 20 28 73 79 6d 62 6f egexp-in-string."\\`:"."".(symbo
4b1e0 6c 2d 6e 61 6d 65 20 28 63 61 72 20 70 61 69 72 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 l-name.(car.pair)))))).........(
4b200 73 65 74 63 61 72 20 70 61 69 72 20 6b 65 79 29 29 29 0a 20 20 20 20 61 6c 69 73 74 29 29 0a 0a setcar.pair.key))).....alist))..
4b220 28 64 65 66 75 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 (defun.org-hugo--front-matter-va
4b240 6c 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 28 73 74 72 29 0a 20 20 22 52 65 74 75 72 6e 20 61 lue-booleanize.(str)..."Return.a
4b260 20 5c 22 74 72 75 65 5c 22 20 6f 72 20 5c 22 66 61 6c 73 65 5c 22 20 73 74 72 69 6e 67 20 66 6f .\"true\".or.\"false\".string.fo
4b280 72 20 69 6e 70 75 74 20 53 54 52 2e 22 0a 20 20 28 6c 65 74 20 28 28 73 74 72 2d 6c 6f 77 65 72 r.input.STR."...(let.((str-lower
4b2a0 20 28 61 6e 64 20 28 73 74 72 69 6e 67 70 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 .(and.(stringp.str).............
4b2c0 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 77 6e 63 61 73 65 20 73 74 72 29 29 29 29 0a 20 20 ............(downcase.str))))...
4b2e0 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 28 28 6f 72 20 28 6e 75 6c 6c 20 73 74 72 29 0a 20 20 20 ..(cond......((or.(null.str)....
4b300 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 6e 69 6c 22 20 73 74 72 2d 6c 6f 77 65 72 29 .......(string=."nil".str-lower)
4b320 0a 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 73 74 72 2d ...........(string=."false".str-
4b340 6c 6f 77 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 22 6e 6f 22 20 73 lower)...........(string=."no".s
4b360 74 72 2d 6c 6f 77 65 72 29 29 0a 20 20 20 20 20 20 22 66 61 6c 73 65 22 29 0a 20 20 20 20 20 28 tr-lower))......."false")......(
4b380 28 6f 72 20 28 73 74 72 69 6e 67 3d 20 22 74 22 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 (or.(string=."t".str)...........
4b3a0 28 73 74 72 69 6e 67 3d 20 22 74 72 75 65 22 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 (string=."true".str)...........(
4b3c0 73 74 72 69 6e 67 3d 20 22 79 65 73 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 22 74 72 75 65 22 string=."yes".str))......."true"
4b3e0 29 0a 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 25 53 20 )......(t.......(user-error."%S.
4b400 6e 65 65 64 73 20 74 6f 20 72 65 70 72 65 73 65 6e 74 20 61 20 62 6f 6f 6c 65 61 6e 20 76 61 6c needs.to.represent.a.boolean.val
4b420 75 65 22 20 73 74 72 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 70 ue".str)))))..(defun.org-hugo--p
4b440 61 72 73 65 2d 6d 65 6e 75 2d 70 72 6f 70 2d 74 6f 2d 61 6c 69 73 74 20 28 69 6e 66 6f 29 0a 20 arse-menu-prop-to-alist.(info)..
4b460 20 22 52 65 74 75 72 6e 20 61 6e 20 61 6c 69 73 74 20 6f 66 20 76 61 6c 69 64 20 48 75 67 6f 20 ."Return.an.alist.of.valid.Hugo.
4b480 6d 65 6e 75 20 70 72 6f 70 65 72 74 69 65 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 49 4e 46 menu.properties.derived.from.INF
4b4a0 4f 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 O...INFO.is.a.plist.used.as.a.co
4b4c0 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*.((
4b4e0 66 6d 2d 66 6f 72 6d 61 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d fm-format.(plist-get.info.:hugo-
4b500 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 front-matter-format))..........(
4b520 6d 65 6e 75 2d 61 6c 69 73 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 menu-alist.(org-hugo--parse-prop
4b540 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a erty-arguments.(plist-get.info.:
4b560 68 75 67 6f 2d 6d 65 6e 75 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 6f 76 2d 61 hugo-menu)))..........(menu-ov-a
4b580 6c 69 73 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 list.(org-hugo--parse-property-a
4b5a0 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 2d 6d rguments.(plist-get.info.:hugo-m
4b5c0 65 6e 75 2d 6f 76 65 72 72 69 64 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6d 65 6e 75 2d 70 enu-override)))..........(menu-p
4b5e0 72 6f 70 73 20 27 28 6e 61 6d 65 20 75 72 6c 20 69 64 65 6e 74 69 66 69 65 72 20 70 72 65 20 70 rops.'(name.url.identifier.pre.p
4b600 6f 73 74 20 77 65 69 67 68 74 20 70 61 72 65 6e 74 20 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 ost.weight.parent.title)).......
4b620 20 20 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 ...valid-menu-alist).....;;.(mes
4b640 73 61 67 65 20 22 5b 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 sage."[org-hugo--parse-menu-prop
4b660 2d 74 6f 2d 61 6c 69 73 74 20 44 42 47 5d 20 6d 65 6e 75 20 73 74 72 3a 20 25 53 2c 20 61 6c 69 -to-alist.DBG].menu.str:.%S,.ali
4b680 73 74 3a 20 25 53 22 20 73 74 72 20 6d 65 6e 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 3b 3b 20 48 st:.%S".str.menu-alist).....;;.H
4b6a0 75 67 6f 20 6d 65 6e 75 20 70 72 6f 70 65 72 74 69 65 73 3a 20 68 74 74 70 73 3a 2f 2f 67 6f 68 ugo.menu.properties:.https://goh
4b6c0 75 67 6f 2e 69 6f 2f 63 6f 6e 74 65 6e 74 2d 6d 61 6e 61 67 65 6d 65 6e 74 2f 6d 65 6e 75 73 2f ugo.io/content-management/menus/
4b6e0 0a 20 20 20 20 3b 3b 20 22 74 69 74 6c 65 22 20 70 72 6f 70 65 72 74 79 20 66 6f 72 20 6d 65 6e .....;;."title".property.for.men
4b700 75 73 20 77 61 73 20 69 6e 74 72 6f 64 75 63 65 64 20 69 6e 20 48 75 67 6f 20 76 30 2e 33 32 2e us.was.introduced.in.Hugo.v0.32.
4b720 0a 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 67 6f 68 75 67 .....;;.https://github.com/gohug
4b740 6f 69 6f 2f 68 75 67 6f 2f 63 6f 6d 6d 69 74 2f 39 64 66 33 37 33 36 66 65 63 31 36 34 63 35 31 oio/hugo/commit/9df3736fec164c51
4b760 64 38 31 39 37 39 37 34 31 36 64 63 32 36 33 66 32 38 36 39 62 65 37 37 0a 20 20 20 20 28 63 6f d819797416dc263f2869be77.....(co
4b780 6e 64 0a 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 66 6d 2d 66 6f 72 6d 61 74 20 22 74 6f 6d nd......((string=.fm-format."tom
4b7a0 6c 22 29 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 73 73 6f 63 20 27 6d 65 6e 75 20 6d 65 6e l").......(when.(assoc.'menu.men
4b7c0 75 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 76 61 6c 69 64 2d 6d 65 6e u-alist).........(setq.valid-men
4b7e0 75 2d 61 6c 69 73 74 20 28 6c 69 73 74 20 28 63 64 72 20 28 61 73 73 6f 63 20 27 6d 65 6e 75 20 u-alist.(list.(cdr.(assoc.'menu.
4b800 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 6d 65 6e menu-alist)))).........(let.(men
4b820 75 2d 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 70 72 6f u-params)...........(dolist.(pro
4b840 70 20 6d 65 6e 75 2d 70 72 6f 70 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 p.menu-props).............(let.(
4b860 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 2d 61 6c (cell.(or.(assoc.prop.menu-ov-al
4b880 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 20 ist)............................
4b8a0 20 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 .(assoc.prop.menu-alist)))).....
4b8c0 20 20 20 20 20 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 ..........(when.cell............
4b8e0 20 20 20 20 20 28 70 75 73 68 20 63 65 6c 6c 20 6d 65 6e 75 2d 70 61 72 61 6d 73 29 29 29 29 0a .....(push.cell.menu-params)))).
4b900 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 69 64 65 6e 74 ..........;;.Auto-set.menu.ident
4b920 69 66 69 65 72 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 ifier.if.not.already.set.by.user
4b940 2e 0a 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 61 73 73 6f 63 20 27 69 64 65 6e ............(unless.(assoc.'iden
4b960 74 69 66 69 65 72 20 6d 65 6e 75 2d 70 61 72 61 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 tifier.menu-params).............
4b980 28 6c 65 74 20 28 28 69 64 20 28 6f 72 67 2d 68 75 67 6f 2d 73 6c 75 67 20 28 6f 72 67 2d 68 75 (let.((id.(org-hugo-slug.(org-hu
4b9a0 67 6f 2d 2d 67 65 74 2d 73 61 6e 69 74 69 7a 65 64 2d 74 69 74 6c 65 20 69 6e 66 6f 29 29 29 29 go--get-sanitized-title.info))))
4b9c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 60 28 69 64 65 6e 74 69 66 69 65 ...............(push.`(identifie
4b9e0 72 20 2e 20 2c 69 64 29 20 6d 65 6e 75 2d 70 61 72 61 6d 73 29 29 29 0a 20 20 20 20 20 20 20 20 r...,id).menu-params))).........
4ba00 20 20 3b 3b 20 41 75 74 6f 2d 73 65 74 20 6d 65 6e 75 20 77 65 69 67 68 74 20 69 66 20 6e 6f 74 ..;;.Auto-set.menu.weight.if.not
4ba20 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 20 .already.set.by.user............
4ba40 28 75 6e 6c 65 73 73 20 28 61 73 73 6f 63 20 27 77 65 69 67 68 74 20 6d 65 6e 75 2d 70 61 72 61 (unless.(assoc.'weight.menu-para
4ba60 6d 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d ms).............(when.org-hugo--
4ba80 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 subtree-coord...............(pus
4baa0 68 20 60 28 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 h.`(weight...,(org-hugo--calc-we
4bac0 69 67 68 74 29 29 20 6d 65 6e 75 2d 70 61 72 61 6d 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 ight)).menu-params)))...........
4bae0 28 73 65 74 63 64 72 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 20 6d 65 6e 75 2d 70 61 (setcdr.valid-menu-alist.menu-pa
4bb00 72 61 6d 73 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 76 61 6c 69 64 2d 6d 65 6e 75 2d rams)).........(setq.valid-menu-
4bb20 61 6c 69 73 74 20 28 6c 69 73 74 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 29 29 29 29 alist.(list.valid-menu-alist))))
4bb40 0a 20 20 20 20 20 28 28 73 74 72 69 6e 67 3d 20 66 6d 2d 66 6f 72 6d 61 74 20 22 79 61 6d 6c 22 ......((string=.fm-format."yaml"
4bb60 29 0a 20 20 20 20 20 20 28 70 75 73 68 20 27 6d 65 6e 75 20 6d 65 6e 75 2d 70 72 6f 70 73 29 0a ).......(push.'menu.menu-props).
4bb80 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 73 29 0a ......(dolist.(prop.menu-props).
4bba0 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 65 6c 6c 20 28 6f 72 20 28 61 73 73 6f 63 20 70 ........(let.((cell.(or.(assoc.p
4bbc0 72 6f 70 20 6d 65 6e 75 2d 6f 76 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 rop.menu-ov-alist)..............
4bbe0 20 20 20 20 20 20 20 20 20 20 20 28 61 73 73 6f 63 20 70 72 6f 70 20 6d 65 6e 75 2d 61 6c 69 73 ...........(assoc.prop.menu-alis
4bc00 74 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 63 65 6c 6c 0a 20 20 20 20 20 t))))...........(when.cell......
4bc20 20 20 20 20 20 20 20 28 70 75 73 68 20 63 65 6c 6c 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 .......(push.cell.valid-menu-ali
4bc40 73 74 29 29 29 29 29 29 0a 20 20 20 20 76 61 6c 69 64 2d 6d 65 6e 75 2d 61 6c 69 73 74 29 29 0a st)))))).....valid-menu-alist)).
4bc60 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 73 61 6e 69 74 69 7a 65 64 2d .(defun.org-hugo--get-sanitized-
4bc80 74 69 74 6c 65 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 73 61 6e 69 74 69 7a 65 64 title.(info)..."Return.sanitized
4bca0 20 76 65 72 73 69 6f 6e 20 6f 66 20 61 6e 20 4f 72 67 20 68 65 61 64 69 6e 67 20 54 49 54 4c 45 .version.of.an.Org.heading.TITLE
4bcc0 20 61 73 20 61 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 .as.a.string...INFO.is.a.plist.u
4bce0 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..
4bd00 0a 45 78 74 72 61 63 74 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 74 69 74 6c 65 20 66 72 6f 6d .Extract.the.document.title.from
4bd20 20 49 4e 46 4f 20 28 75 6e 6c 65 73 73 20 65 78 70 6f 72 74 69 6e 67 20 74 69 74 6c 65 20 69 73 .INFO.(unless.exporting.title.is
4bd40 0a 64 69 73 61 62 6c 65 64 20 62 79 20 73 65 74 74 69 6e 67 20 60 6f 72 67 2d 65 78 70 6f 72 74 .disabled.by.setting.`org-export
4bd60 2d 77 69 74 68 2d 74 69 74 6c 65 27 20 74 6f 20 6e 69 6c 20 6f 72 20 75 73 69 6e 67 20 74 68 65 -with-title'.to.nil.or.using.the
4bd80 0a 4f 50 54 49 4f 4e 53 20 6b 65 79 77 6f 72 64 20 65 2e 67 2e 20 5c 22 74 69 74 6c 65 3a 6e 69 .OPTIONS.keyword.e.g..\"title:ni
4bda0 6c 5c 22 29 2e 0a 0a 49 66 20 74 68 65 20 65 78 74 72 61 63 74 65 64 20 64 6f 63 75 6d 65 6e 74 l\")...If.the.extracted.document
4bdc0 20 74 69 74 6c 65 20 69 73 20 6e 69 6c 2c 20 61 6e 64 20 65 78 70 6f 72 74 69 6e 67 20 74 68 65 .title.is.nil,.and.exporting.the
4bde0 20 74 69 74 6c 65 0a 69 73 20 64 69 73 61 62 6c 65 64 2c 20 72 65 74 75 72 6e 20 6e 69 6c 2e 0a .title.is.disabled,.return.nil..
4be00 0a 49 66 20 74 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 .If.the.extracted.document.title
4be20 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 72 65 74 75 72 6e 20 69 74 20 61 66 74 65 72 0a 72 65 6d .is.non-nil,.return.it.after.rem
4be40 6f 76 69 6e 67 20 61 6c 6c 20 6d 61 72 6b 75 70 20 63 68 61 72 61 63 74 65 72 73 2e 0a 0a 41 6c oving.all.markup.characters...Al
4be60 73 6f 20 64 6f 75 62 6c 65 2d 71 75 6f 74 65 20 74 68 65 20 74 69 74 6c 65 20 69 66 20 69 74 20 so.double-quote.the.title.if.it.
4be80 64 6f 65 73 6e 27 74 20 61 6c 72 65 61 64 79 20 63 6f 6e 74 61 69 6e 20 61 6e 79 0a 64 6f 75 62 doesn't.already.contain.any.doub
4bea0 6c 65 2d 71 75 6f 74 65 73 2e 22 0a 20 20 28 6c 65 74 20 28 28 74 69 74 6c 65 20 28 77 68 65 6e le-quotes."...(let.((title.(when
4bec0 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 74 69 74 6c 65 29 0a 20 20 .(plist-get.info.:with-title)...
4bee0 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 3a ...............(plist-get.info.:
4bf00 74 69 74 6c 65 29 29 29 29 0a 20 20 20 20 28 77 68 65 6e 20 74 69 74 6c 65 0a 20 20 20 20 20 20 title)))).....(when.title.......
4bf20 3b 3b 20 22 52 61 77 22 20 62 61 63 6b 65 6e 64 20 74 68 61 74 20 72 65 74 75 72 6e 73 20 65 6d ;;."Raw".backend.that.returns.em
4bf40 70 68 61 73 69 73 20 65 6c 65 6d 65 6e 74 73 20 77 69 74 68 6f 75 74 20 61 6e 79 0a 20 20 20 20 phasis.elements.without.any.....
4bf60 20 20 3b 3b 20 6d 61 72 6b 75 70 20 63 68 61 72 61 63 74 65 72 73 20 2d 2d 0a 20 20 20 20 20 20 ..;;.markup.characters.--.......
4bf80 3b 3b 20 68 74 74 70 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 ;;.http://lists.gnu.org/r/emacs-
4bfa0 6f 72 67 6d 6f 64 65 2f 32 30 31 37 2d 31 32 2f 6d 73 67 30 30 34 39 30 2e 68 74 6d 6c 0a 20 20 orgmode/2017-12/msg00490.html...
4bfc0 20 20 20 20 28 6c 65 74 2a 20 28 28 72 61 77 2d 62 61 63 6b 65 6e 64 0a 0a 20 20 20 20 20 20 20 ....(let*.((raw-backend.........
4bfe0 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 67 65 74 2d 72 61 77 20 28 6c 61 6d 62 64 61 20 28 6f .......(let.((get-raw.(lambda.(o
4c000 62 6a 65 63 74 20 63 6f 6e 74 65 6e 74 73 20 5f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 bject.contents._)...............
4c020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 63 6f 6e 74 65 6e 74 73 0a 20 20 .................(or.contents...
4c040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4c060 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 6f 62 .(org-element-property.:value.ob
4c080 6a 65 63 74 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 ject))))).................(org-e
4c0a0 78 70 6f 72 74 2d 63 72 65 61 74 65 2d 62 61 63 6b 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 xport-create-backend............
4c0c0 20 20 20 20 20 20 3a 70 61 72 65 6e 74 20 27 61 73 63 69 69 0a 20 20 20 20 20 20 20 20 20 20 20 ......:parent.'ascii............
4c0e0 20 20 20 20 20 20 3a 74 72 61 6e 73 63 6f 64 65 72 73 20 28 6d 61 70 63 61 72 20 28 6c 61 6d 62 ......:transcoders.(mapcar.(lamb
4c100 64 61 20 28 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 da.(type).......................
4c120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 74 79 70 65 20 67 65 74 ..................(cons.type.get
4c140 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 20 20 20 20 20 20 20 -raw))..........................
4c160 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 62 6f 6c 64 20 63 6f 64 65 20 69 74 61 6c 69 63 20 .............'(bold.code.italic.
4c180 73 74 72 69 6b 65 2d 74 68 72 6f 75 67 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 strike-through..................
4c1a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 64 65 ............................unde
4c1c0 72 6c 69 6e 65 20 76 65 72 62 61 74 69 6d 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 65 rline.verbatim)))))).........(se
4c1e0 74 71 20 74 69 74 6c 65 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 tq.title.(org-export-data-with-b
4c200 61 63 6b 65 6e 64 20 74 69 74 6c 65 20 72 61 77 2d 62 61 63 6b 65 6e 64 20 69 6e 66 6f 29 29 0a ackend.title.raw-backend.info)).
4c220 20 20 20 20 20 20 20 20 3b 3b 20 48 75 67 6f 20 64 6f 65 73 20 6e 6f 74 20 72 65 6e 64 65 72 20 ........;;.Hugo.does.not.render.
4c240 4d 61 72 6b 64 6f 77 6e 20 69 6e 20 74 68 65 20 74 69 74 6c 65 73 2e 20 20 53 6f 20 64 6f 20 74 Markdown.in.the.titles...So.do.t
4c260 68 61 74 0a 20 20 20 20 20 20 20 20 3b 3b 20 68 65 72 65 20 69 6e 73 74 65 61 64 2e 20 20 43 6f hat.........;;.here.instead...Co
4c280 6e 76 65 72 74 20 22 2d 2d 2d 22 20 74 6f 20 45 4d 20 44 41 53 48 2c 20 22 2d 2d 22 20 74 6f 20 nvert."---".to.EM.DASH,."--".to.
4c2a0 45 4e 20 44 41 53 48 2c 0a 20 20 20 20 20 20 20 20 3b 3b 20 61 6e 64 20 22 2e 2e 2e 22 20 74 6f EN.DASH,.........;;.and."...".to
4c2c0 20 48 4f 52 49 5a 4f 4e 54 41 4c 20 45 4c 4c 49 50 53 49 53 2e 0a 0a 20 20 20 20 20 20 20 20 3b .HORIZONTAL.ELLIPSIS...........;
4c2e0 3b 20 42 65 6c 6f 77 20 74 77 6f 20 72 65 70 6c 61 63 65 6d 65 6e 74 73 20 61 72 65 20 6f 72 64 ;.Below.two.replacements.are.ord
4c300 65 72 20 73 65 6e 73 69 74 69 76 65 21 0a 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 69 74 6c er.sensitive!.........(setq.titl
4c320 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 2d 2d 2d e.(replace-regexp-in-string."---
4c340 5c 5c 28 5b 5e 2d 5d 5c 5c 29 22 20 22 e2 80 94 5c 5c 31 22 20 74 69 74 6c 65 29 29 20 3b 45 4d \\([^-]\\)"."...\\1".title)).;EM
4c360 20 44 41 53 48 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 .DASH.........(setq.title.(repla
4c380 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 2d 2d 5c 5c 28 5b 5e 2d 5d 5c 5c ce-regexp-in-string."--\\([^-]\\
4c3a0 29 22 20 22 e2 80 93 5c 5c 31 22 20 74 69 74 6c 65 29 29 20 3b 45 4e 20 44 41 53 48 0a 0a 20 20 )"."...\\1".title)).;EN.DASH....
4c3c0 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 72 65 67 65 78 ......(setq.title.(replace-regex
4c3e0 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 2e 5c 5c 2e 5c 5c 2e 22 20 22 e2 80 a6 22 20 74 69 p-in-string."\\.\\.\\."."...".ti
4c400 74 6c 65 29 29 29 29 20 3b 48 4f 52 49 5a 4f 4e 54 41 4c 20 45 4c 4c 49 50 53 49 53 0a 20 20 20 tle)))).;HORIZONTAL.ELLIPSIS....
4c420 20 74 69 74 6c 65 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 72 65 70 6c 61 .title))..(defun.org-hugo--repla
4c440 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 20 28 73 74 72 29 ce-underscores-with-spaces.(str)
4c460 0a 20 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 ..."Replace.double.underscores.i
4c480 6e 20 53 54 52 20 77 69 74 68 20 73 69 6e 67 6c 65 20 73 70 61 63 65 73 2e 0a 0a 46 6f 72 20 65 n.STR.with.single.spaces...For.e
4c4a0 78 61 6d 70 6c 65 2c 20 5c 22 73 6f 6d 65 5f 5f 74 68 69 6e 67 5c 22 20 77 6f 75 6c 64 20 67 65 xample,.\"some__thing\".would.ge
4c4c0 74 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 5c 22 73 6f 6d 65 0a 74 68 69 6e 67 5c 22 2e 22 0a t.converted.to.\"some.thing\".".
4c4e0 20 20 3b 3b 20 49 74 20 69 73 20 73 61 66 65 20 74 6f 20 61 73 73 75 6d 65 20 74 68 61 74 20 6e ..;;.It.is.safe.to.assume.that.n
4c500 6f 20 6f 6e 65 20 77 6f 75 6c 64 20 77 61 6e 74 20 6c 65 61 64 69 6e 67 2f 74 72 61 69 6c 69 6e o.one.would.want.leading/trailin
4c520 67 0a 20 20 3b 3b 20 73 70 61 63 65 73 20 69 6e 20 60 73 74 72 27 2e 2e 20 73 6f 20 6e 6f 74 20 g...;;.spaces.in.`str'...so.not.
4c540 63 68 65 63 6b 69 6e 67 20 66 6f 72 20 22 5f 5f 61 22 20 6f 72 20 22 61 5f 5f 22 20 63 61 73 65 checking.for."__a".or."a__".case
4c560 73 2e 0a 20 20 28 6c 65 74 20 28 28 72 65 74 20 73 74 72 29 0a 20 20 20 20 20 20 20 20 28 72 67 s....(let.((ret.str).........(rg
4c580 78 20 22 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f 5f 5c 5c 28 5b 5e 5f 5d 5c 5c 29 22 29 29 0a 20 20 20 x."\\([^_]\\)__\\([^_]\\)"))....
4c5a0 20 28 77 68 69 6c 65 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 72 67 78 20 72 65 74 29 .(while.(string-match-p.rgx.ret)
4c5c0 0a 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 .......(setq.ret.(replace-regexp
4c5e0 2d 69 6e 2d 73 74 72 69 6e 67 20 72 67 78 20 22 5c 5c 31 20 5c 5c 32 22 20 72 65 74 29 29 29 20 -in-string.rgx."\\1.\\2".ret))).
4c600 3b 22 61 5f 5f 62 22 20 20 2d 3e 20 22 61 20 62 22 0a 20 20 20 20 72 65 74 29 29 0a 0a 28 64 65 ;"a__b"..->."a.b".....ret))..(de
4c620 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 6e 2d fun.org-hugo--tag-processing-fn-
4c640 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 20 28 74 61 67 2d 6c replace-with-spaces-maybe.(tag-l
4c660 69 73 74 20 69 6e 66 6f 29 0a 20 20 22 52 65 70 6c 61 63 65 20 64 6f 75 62 6c 65 20 75 6e 64 65 ist.info)..."Replace.double.unde
4c680 72 73 63 6f 72 65 73 20 69 6e 20 54 41 47 2d 4c 49 53 54 20 65 6c 65 6d 65 6e 74 73 20 77 69 74 rscores.in.TAG-LIST.elements.wit
4c6a0 68 20 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 61 h.single.spaces...For.example,.a
4c6c0 6e 20 65 6c 65 6d 65 6e 74 20 5c 22 73 6f 6d 65 5f 5f 74 61 67 5c 22 20 77 6f 75 6c 64 20 67 65 n.element.\"some__tag\".would.ge
4c6e0 74 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 0a 5c 22 73 6f 6d 65 20 74 61 67 5c 22 2e 0a 0a 54 68 t.converted.to.\"some.tag\"...Th
4c700 69 73 20 72 65 70 6c 61 63 65 6d 65 6e 74 20 69 73 20 65 6e 61 62 6c 65 64 20 69 66 20 60 6f 72 is.replacement.is.enabled.if.`or
4c720 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 27 20 6f 72 0a g-hugo-allow-spaces-in-tags'.or.
4c740 48 55 47 4f 5f 41 4c 4c 4f 57 5f 53 50 41 43 45 53 5f 49 4e 5f 54 41 47 53 20 70 72 6f 70 65 72 HUGO_ALLOW_SPACES_IN_TAGS.proper
4c760 74 79 20 69 73 20 73 65 74 20 74 6f 20 61 20 6e 6f 6e 2d 6e 69 6c 20 76 61 6c 75 65 2e 0a 0a 54 ty.is.set.to.a.non-nil.value...T
4c780 41 47 2d 4c 49 53 54 20 77 68 69 63 68 20 69 73 20 61 20 6c 69 73 74 20 6f 66 20 4f 72 67 20 74 AG-LIST.which.is.a.list.of.Org.t
4c7a0 61 67 73 20 6f 66 20 74 68 65 20 74 79 70 65 20 5c 28 5c 22 54 41 47 31 5c 22 0a 5c 22 54 41 47 ags.of.the.type.\(\"TAG1\".\"TAG
4c7c0 32 5c 22 20 2e 2e 29 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 2\"...)...INFO.is.a.plist.used.a
4c7e0 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 54 68 69 73 s.a.communication.channel...This
4c800 20 69 73 20 6f 6e 65 20 6f 66 20 74 68 65 20 70 72 6f 63 65 73 73 69 6e 67 20 66 75 6e 63 74 69 .is.one.of.the.processing.functi
4c820 6f 6e 73 20 69 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d ons.in.`org-hugo-tag-processing-
4c840 66 75 6e 63 74 69 6f 6e 73 27 2e 22 0a 20 20 28 6c 65 74 20 28 28 61 6c 6c 6f 77 2d 73 70 61 63 functions'."...(let.((allow-spac
4c860 65 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 69 es.(org-hugo--plist-get-true-p.i
4c880 6e 66 6f 20 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 29 29 nfo.:hugo-allow-spaces-in-tags))
4c8a0 29 0a 20 20 20 20 28 69 66 20 61 6c 6c 6f 77 2d 73 70 61 63 65 73 0a 20 20 20 20 20 20 20 20 28 ).....(if.allow-spaces.........(
4c8c0 6d 61 70 63 61 72 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 72 65 70 6c 61 63 65 2d 75 6e 64 65 72 mapcar.#'org-hugo--replace-under
4c8e0 73 63 6f 72 65 73 2d 77 69 74 68 2d 73 70 61 63 65 73 20 74 61 67 2d 6c 69 73 74 29 0a 20 20 20 scores-with-spaces.tag-list)....
4c900 20 20 20 74 61 67 2d 6c 69 73 74 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d ...tag-list)))..(defun.org-hugo-
4c920 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 68 2d -tag-processing-fn-replace-with-
4c940 68 79 70 68 65 6e 73 2d 6d 61 79 62 65 20 28 74 61 67 2d 6c 69 73 74 20 69 6e 66 6f 29 0a 20 20 hyphens-maybe.(tag-list.info)...
4c960 22 52 65 70 6c 61 63 65 20 73 69 6e 67 6c 65 20 75 6e 64 65 72 73 63 6f 72 65 73 20 69 6e 20 54 "Replace.single.underscores.in.T
4c980 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 68 79 70 AG-LIST.elements.with.single.hyp
4c9a0 68 65 6e 73 2e 0a 41 6e 64 20 74 72 69 70 6c 65 20 75 6e 64 65 72 73 63 6f 72 65 73 20 77 69 6c hens..And.triple.underscores.wil
4c9c0 6c 20 62 65 20 72 65 70 6c 61 63 65 64 20 77 69 74 68 20 73 69 6e 67 6c 65 20 75 6e 64 65 72 73 l.be.replaced.with.single.unders
4c9e0 63 6f 72 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 cores...For.example,.an.element.
4ca00 5c 22 73 6f 6d 65 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
4ca20 20 74 6f 0a 5c 22 73 6f 6d 65 2d 74 61 67 5c 22 2c 20 61 6e 64 20 5c 22 73 6f 6d 65 5f 5f 5f 74 .to.\"some-tag\",.and.\"some___t
4ca40 61 67 5c 22 20 74 6f 20 5c 22 73 6f 6d 65 5f 74 61 67 5c 22 2e 0a 0a 54 68 69 73 20 72 65 70 6c ag\".to.\"some_tag\"...This.repl
4ca60 61 63 65 6d 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 acement.is.enabled.if.`org-hugo-
4ca80 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 27 0a 6f 72 20 48 55 47 4f 5f 50 prefer-hyphen-in-tags'.or.HUGO_P
4caa0 52 45 46 45 52 5f 48 59 50 48 45 4e 5f 49 4e 5f 54 41 47 53 20 70 72 6f 70 65 72 74 79 20 69 73 REFER_HYPHEN_IN_TAGS.property.is
4cac0 20 73 65 74 20 74 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 .set.to.a.non-nil.value...TAG-LI
4cae0 53 54 20 77 68 69 63 68 20 69 73 20 61 20 6c 69 73 74 20 6f 66 20 4f 72 67 20 74 61 67 73 20 6f ST.which.is.a.list.of.Org.tags.o
4cb00 66 20 74 68 65 20 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 f.the.type.\(\"TAG1\".\"TAG2\"..
4cb20 2e 29 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 .)...INFO.is.a.plist.used.as.a.c
4cb40 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 69 73 20 6f ommunication.channel...This.is.o
4cb60 6e 65 20 6f 66 20 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 ne.of.the.processing.functions.i
4cb80 6e 0a 60 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 n.`org-hugo-tag-processing-funct
4cba0 69 6f 6e 73 27 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 65 66 65 72 2d 68 79 70 68 65 6e 73 20 ions'."...(let.((prefer-hyphens.
4cbc0 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f (org-hugo--plist-get-true-p.info
4cbe0 20 3a 68 75 67 6f 2d 70 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 29 29 29 0a .:hugo-prefer-hyphen-in-tags))).
4cc00 20 20 20 20 28 69 66 20 70 72 65 66 65 72 2d 68 79 70 68 65 6e 73 0a 20 20 20 20 20 20 20 20 28 ....(if.prefer-hyphens.........(
4cc20 6d 61 70 63 61 72 0a 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 74 61 67 29 0a 20 20 mapcar..........(lambda.(tag)...
4cc40 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 65 .........(setq.tag.(replace-rege
4cc60 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 5f 5c 5c 28 5b 5e 5f 5d 5c 5c 29 22 20 22 2d xp-in-string."\\`_\\([^_]\\)"."-
4cc80 5c 5c 31 22 20 74 61 67 29 29 20 20 20 20 20 20 20 20 20 3b 22 5f 61 22 20 20 20 20 2d 3e 20 22 \\1".tag)).........;"_a"....->."
4cca0 2d 61 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 63 -a"............(setq.tag.(replac
4ccc0 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 5f 5f 5f 5c 5c 28 5b 5e 5f e-regexp-in-string."\\`___\\([^_
4cce0 5d 5c 5c 29 22 20 22 5f 5c 5c 31 22 20 74 61 67 29 29 20 20 20 20 20 20 20 3b 22 5f 5f 5f 61 22 ]\\)"."_\\1".tag)).......;"___a"
4cd00 20 20 2d 3e 20 22 5f 61 22 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 74 61 67 20 28 ..->."_a"............(setq.tag.(
4cd20 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 5f replace-regexp-in-string."\\([^_
4cd40 5d 5c 5c 29 5f 5c 5c 27 22 20 22 5c 5c 31 2d 22 20 74 61 67 29 29 20 20 20 20 20 20 20 20 20 3b ]\\)_\\'"."\\1-".tag)).........;
4cd60 22 61 5f 22 20 20 20 20 2d 3e 20 22 61 2d 22 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 "a_"....->."a-"............(setq
4cd80 20 74 61 67 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 .tag.(replace-regexp-in-string."
4cda0 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f 5f 5f 5c 5c 27 22 20 22 5c 5c 31 5f 22 20 74 61 67 29 29 20 20 \\([^_]\\)___\\'"."\\1_".tag))..
4cdc0 20 20 20 20 20 3b 22 61 5f 5f 5f 22 20 20 2d 3e 20 22 61 5f 22 0a 20 20 20 20 20 20 20 20 20 20 .....;"a___"..->."a_"...........
4cde0 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
4ce00 72 69 6e 67 20 22 5c 5c 28 5b 5e 5f 5d 5c 5c 29 5f 5c 5c 28 5b 5e 5f 5d 5c 5c 29 22 20 22 5c 5c ring."\\([^_]\\)_\\([^_]\\)"."\\
4ce20 31 2d 5c 5c 32 22 20 74 61 67 29 29 20 20 20 3b 22 61 5f 62 22 20 20 20 2d 3e 20 22 61 2d 62 22 1-\\2".tag))...;"a_b"...->."a-b"
4ce40 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 63 65 2d 72 ............(setq.tag.(replace-r
4ce60 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 5f 5f 5c 5c egexp-in-string."\\([^_]\\)___\\
4ce80 28 5b 5e 5f 5d 5c 5c 29 22 20 22 5c 5c 31 5f 5c 5c 32 22 20 74 61 67 29 29 20 3b 22 61 5f 5f 5f ([^_]\\)"."\\1_\\2".tag)).;"a___
4cea0 62 22 20 2d 3e 20 22 61 5f 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 74 61 67 29 0a 20 20 20 20 b".->."a_b"............tag).....
4cec0 20 20 20 20 20 74 61 67 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 74 61 67 2d 6c 69 73 74 29 29 29 .....tag-list).......tag-list)))
4cee0 0a 0a 28 64 65 66 75 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 ..(defun.org-hugo--delim-str-to-
4cf00 6c 69 73 74 20 28 73 74 72 29 0a 20 20 22 46 75 6e 63 74 69 6f 6e 20 74 6f 20 74 72 61 6e 73 66 list.(str)..."Function.to.transf
4cf20 6f 72 6d 20 73 74 72 69 6e 67 20 53 54 52 20 74 6f 20 61 20 6c 69 73 74 20 6f 66 20 73 74 72 69 orm.string.STR.to.a.list.of.stri
4cf40 6e 67 73 2e 0a 0a 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 61 73 73 75 6d 65 73 20 53 54 52 20 74 ngs...The.function.assumes.STR.t
4cf60 6f 20 75 73 65 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 69 6e 74 65 72 6e 61 6c 2d 6c 69 73 74 2d 73 o.use.`org-hugo--internal-list-s
4cf80 65 70 61 72 61 74 6f 72 27 20 61 73 20 64 65 6c 69 6d 69 74 65 72 2e 0a 0a 54 68 65 20 66 75 6e eparator'.as.delimiter...The.fun
4cfa0 63 74 69 6f 6e 20 64 6f 65 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 69 6e 20 6f 72 64 65 ction.does.the.following.in.orde
4cfc0 72 3a 0a 0a 31 2e 20 54 72 69 6d 20 6c 65 61 64 69 6e 67 2f 74 72 61 69 6c 69 6e 67 20 73 70 61 r:..1..Trim.leading/trailing.spa
4cfe0 63 65 73 20 66 72 6f 6d 20 53 54 52 2e 0a 32 2e 20 43 6f 6e 76 65 72 74 20 74 68 61 74 20 73 74 ces.from.STR..2..Convert.that.st
4d000 72 69 6e 67 20 74 6f 20 61 20 6c 69 73 74 20 75 73 69 6e 67 0a 20 20 20 60 6f 72 67 2d 68 75 67 ring.to.a.list.using....`org-hug
4d020 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 73 20 74 o--internal-list-separator'.as.t
4d040 68 65 20 73 65 70 61 72 61 74 6f 72 2e 0a 33 2e 20 42 72 65 61 6b 20 75 70 20 65 61 63 68 20 65 he.separator..3..Break.up.each.e
4d060 6c 65 6d 65 6e 74 20 6f 66 20 74 68 61 74 20 6c 69 73 74 20 69 6e 74 6f 20 66 75 72 74 68 65 72 lement.of.that.list.into.further
4d080 20 73 74 72 69 6e 67 20 65 6c 65 6d 65 6e 74 73 2c 0a 20 20 20 64 65 6c 69 6d 69 74 65 64 20 62 .string.elements,....delimited.b
4d0a0 79 20 73 70 61 63 65 73 2e 20 20 54 68 6f 75 67 68 2c 20 73 70 61 63 65 73 20 77 69 74 68 69 6e y.spaces...Though,.spaces.within
4d0c0 20 71 75 6f 74 65 64 20 73 74 72 69 6e 67 20 61 72 65 0a 20 20 20 72 65 74 61 69 6e 65 64 2e 20 .quoted.string.are....retained..
4d0e0 20 54 68 69 73 20 69 73 20 64 6f 6e 65 20 75 73 69 6e 67 20 60 6f 72 67 2d 62 61 62 65 6c 2d 70 .This.is.done.using.`org-babel-p
4d100 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d 65 6e 74 73 27 2e 0a 34 2e 20 52 65 74 75 72 arse-header-arguments'..4..Retur
4d120 6e 20 74 68 65 20 74 72 61 6e 73 66 6f 72 6d 65 64 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 n.the.transformed.list.of.string
4d140 73 2e 0a 0a 45 78 61 6d 70 6c 65 3a 20 5c 22 6f 6e 65 5c 5c 6e 5c 5c 5c 22 74 77 6f 20 77 6f 72 s...Example:.\"one\\n\\\"two.wor
4d160 64 73 5c 5c 5c 22 20 74 68 72 65 65 5c 5c 6e 66 6f 75 72 5c 22 0a 20 20 20 20 20 20 20 20 20 2d ds\\\".three\\nfour\"..........-
4d180 3e 20 28 5c 22 6f 6e 65 5c 22 20 5c 22 74 77 6f 20 77 6f 72 64 73 5c 22 20 5c 22 74 68 72 65 65 >.(\"one\".\"two.words\".\"three
4d1a0 5c 22 20 5c 22 66 6f 75 72 5c 22 29 2e 0a 0a 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 53 54 52 \".\"four\")...Return.nil.if.STR
4d1c0 20 69 73 20 6e 6f 74 20 61 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 77 68 65 6e 20 28 73 74 72 69 .is.not.a.string."...(when.(stri
4d1e0 6e 67 70 20 73 74 72 29 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 73 74 72 20 28 6f 72 67 2d 74 72 ngp.str).....(let*.((str.(org-tr
4d200 69 6d 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 2d 6c 69 73 74 20 28 73 im.str))............(str-list.(s
4d220 70 6c 69 74 2d 73 74 72 69 6e 67 20 73 74 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 69 6e 74 65 72 6e plit-string.str.org-hugo--intern
4d240 61 6c 2d 6c 69 73 74 2d 73 65 70 61 72 61 74 6f 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 al-list-separator))............r
4d260 65 74 29 0a 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 73 74 72 2d 65 6c 65 6d 20 73 74 72 2d et).......(dolist.(str-elem.str-
4d280 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 66 6f 72 6d 61 74 2d 73 74 72 list).........(let*.((format-str
4d2a0 20 22 3a 64 75 6d 6d 79 20 27 28 25 73 29 22 29 20 3b 54 68 65 20 3a 64 75 6d 6d 79 20 6b 65 79 .":dummy.'(%s)").;The.:dummy.key
4d2c0 20 69 73 20 64 69 73 63 61 72 64 65 64 20 69 6e 20 74 68 65 20 60 6c 73 74 27 20 76 61 72 20 62 .is.discarded.in.the.`lst'.var.b
4d2e0 65 6c 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6c 69 73 74 20 28 6f 72 67 elow.................(alist.(org
4d300 2d 62 61 62 65 6c 2d 70 61 72 73 65 2d 68 65 61 64 65 72 2d 61 72 67 75 6d 65 6e 74 73 20 28 66 -babel-parse-header-arguments.(f
4d320 6f 72 6d 61 74 20 66 6f 72 6d 61 74 2d 73 74 72 20 73 74 72 2d 65 6c 65 6d 29 29 29 0a 20 20 20 ormat.format-str.str-elem)))....
4d340 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 73 74 20 28 63 64 72 20 28 63 61 72 20 61 6c 69 73 74 ............(lst.(cdr.(car.alist
4d360 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 2d 6c 69 73 74 32 20 28 6d )))................(str-list2.(m
4d380 61 70 63 61 72 20 28 6c 61 6d 62 64 61 20 28 65 6c 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 apcar.(lambda.(elem)............
4d3a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 .........................(cond..
4d3c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4d3e0 20 20 20 20 28 28 73 79 6d 62 6f 6c 70 20 65 6c 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 ....((symbolp.elem).............
4d400 20 20 20 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 ..........................(symbo
4d420 6c 2d 6e 61 6d 65 20 65 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 l-name.elem))...................
4d440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 ...................(t...........
4d460 20 20 20 20 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 65 6d ............................elem
4d480 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 ))).............................
4d4a0 20 20 20 20 20 20 6c 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 65 74 ......lst)))...........(setq.ret
4d4c0 20 28 61 70 70 65 6e 64 20 72 65 74 20 73 74 72 2d 6c 69 73 74 32 29 29 29 29 0a 20 20 20 20 20 .(append.ret.str-list2))))......
4d4e0 20 72 65 74 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 74 65 67 6f .ret)))..(defun.org-hugo--catego
4d500 72 79 2d 70 20 28 74 61 67 29 0a 20 20 22 52 65 74 75 72 6e 20 6e 6f 6e 2d 6e 69 6c 20 69 66 20 ry-p.(tag)..."Return.non-nil.if.
4d520 54 41 47 20 62 65 67 69 6e 73 20 77 69 74 68 20 5c 22 40 5c 22 2e 0a 0a 4f 72 67 20 74 61 67 73 TAG.begins.with.\"@\"...Org.tags
4d540 20 74 68 61 74 20 62 65 67 69 6e 20 77 69 74 68 20 5c 22 40 5c 22 20 61 72 65 20 73 65 74 20 61 .that.begin.with.\"@\".are.set.a
4d560 73 20 74 68 65 20 63 61 74 65 67 6f 72 69 65 73 20 66 69 65 6c 64 20 69 6e 0a 74 68 65 20 48 75 s.the.categories.field.in.the.Hu
4d580 67 6f 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2e 22 0a 20 20 28 61 6e 64 20 28 73 74 72 69 6e 67 go.front-matter."...(and.(string
4d5a0 70 20 74 61 67 29 0a 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 p.tag)........(string-match-p."\
4d5c0 5c 60 40 22 20 74 61 67 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 \`@".tag)))..(defun.org-hugo--su
4d5e0 62 74 72 65 65 2d 65 78 70 6f 72 74 2d 70 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 btree-export-p.(info)..."Return.
4d600 6e 6f 6e 2d 6e 69 6c 20 69 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 65 78 70 6f 72 74 20 69 73 non-nil.if.the.current.export.is
4d620 20 73 75 62 74 72 65 65 20 62 61 73 65 64 2e 0a 0a 49 4e 46 4f 20 69 73 20 61 20 70 6c 69 73 74 .subtree.based...INFO.is.a.plist
4d640 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
4d660 2e 22 0a 20 20 28 6d 65 6d 71 20 27 73 75 62 74 72 65 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 ."...(memq.'subtree.(plist-get.i
4d680 6e 66 6f 20 3a 65 78 70 6f 72 74 2d 6f 70 74 69 6f 6e 73 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f nfo.:export-options)))..(defun.o
4d6a0 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 73 74 72 29 0a 20 20 rg-hugo--string-unquote.(str)...
4d6c0 22 52 65 74 75 72 6e 20 53 54 52 20 61 66 74 65 72 20 72 65 6d 6f 76 69 6e 67 20 62 65 67 69 6e "Return.STR.after.removing.begin
4d6e0 6e 69 6e 67 20 61 6e 64 20 65 6e 64 69 6e 67 20 71 75 6f 74 65 73 20 69 66 20 61 6e 79 2e 0a 0a ning.and.ending.quotes.if.any...
4d700 52 65 74 75 72 6e 20 6e 69 6c 20 69 66 20 53 54 52 20 69 73 20 61 6e 20 65 6d 70 74 79 20 73 74 Return.nil.if.STR.is.an.empty.st
4d720 72 69 6e 67 2c 20 6f 72 20 6e 6f 74 20 61 20 73 74 72 69 6e 67 2e 22 0a 20 20 28 6c 65 74 20 28 ring,.or.not.a.string."...(let.(
4d740 28 75 6e 71 75 6f 74 65 64 2d 73 74 72 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 73 (unquoted-str.(org-string-nw-p.s
4d760 74 72 29 29 29 20 3b 45 6e 73 75 72 65 20 74 68 61 74 20 60 73 74 72 27 20 69 73 20 61 20 6e 6f tr))).;Ensure.that.`str'.is.a.no
4d780 6e 2d 65 6d 70 74 79 20 73 74 72 69 6e 67 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 75 6e n-empty.string.....(when.(and.un
4d7a0 71 75 6f 74 65 64 2d 73 74 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e quoted-str................(strin
4d7c0 67 3d 20 28 73 75 62 73 74 72 69 6e 67 20 75 6e 71 75 6f 74 65 64 2d 73 74 72 20 30 20 31 29 20 g=.(substring.unquoted-str.0.1).
4d7e0 22 5c 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 "\"").;First.char.is.literally.a
4d800 20 22 0a 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
4d820 74 72 69 6e 67 20 75 6e 71 75 6f 74 65 64 2d 73 74 72 20 2d 31 29 20 22 5c 22 22 29 29 20 3b 4c tring.unquoted-str.-1)."\"")).;L
4d840 61 73 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 ast.char.is.literally.a.".......
4d860 28 73 65 74 71 20 75 6e 71 75 6f 74 65 64 2d 73 74 72 20 28 73 75 62 73 74 72 69 6e 67 20 75 6e (setq.unquoted-str.(substring.un
4d880 71 75 6f 74 65 64 2d 73 74 72 20 31 20 2d 31 29 29 29 0a 20 20 20 20 75 6e 71 75 6f 74 65 64 2d quoted-str.1.-1))).....unquoted-
4d8a0 73 74 72 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 66 72 6f 6e str))..(defun.org-hugo--get-fron
4d8c0 74 2d 6d 61 74 74 65 72 20 28 69 6e 66 6f 29 0a 20 20 22 52 65 74 75 72 6e 20 74 68 65 20 48 75 t-matter.(info)..."Return.the.Hu
4d8e0 67 6f 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 73 74 72 69 6e 67 2e 0a 0a 49 4e 46 4f 20 69 73 go.front-matter.string...INFO.is
4d900 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
4d920 20 63 68 61 6e 6e 65 6c 2e 22 0a 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 68 75 67 6f 20 .channel."...;;.(message."[hugo.
4d940 66 72 6f 6e 74 2d 6d 61 74 74 65 72 20 44 42 47 5d 20 69 6e 66 6f 3a 20 25 53 22 20 28 70 70 20 front-matter.DBG].info:.%S".(pp.
4d960 69 6e 66 6f 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 66 6d 2d 66 6f 72 6d 61 74 20 28 70 6c 69 73 info))...(let*.((fm-format.(plis
4d980 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f t-get.info.:hugo-front-matter-fo
4d9a0 72 6d 61 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 75 74 68 6f 72 2d 6c 69 73 74 20 28 61 6e rmat))..........(author-list.(an
4d9c0 64 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 61 75 74 68 6f 72 29 0a d.(plist-get.info.:with-author).
4d9e0 20 20 20 20 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.
4da00 28 28 61 75 74 68 6f 72 2d 72 61 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ((author-raw....................
4da20 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 6e 77 2d 70 0a ...............(org-string-nw-p.
4da40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4da60 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 69 ...(org-export-data.(plist-get.i
4da80 6e 66 6f 20 3a 61 75 74 68 6f 72 29 20 69 6e 66 6f 29 29 29 29 20 3b 60 6f 72 67 2d 65 78 70 6f nfo.:author).info)))).;`org-expo
4daa0 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 20 20 20 rt-data'.required...............
4dac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 61 75 74 68 6f 72 2d 72 61 77 0a ...............(when.author-raw.
4dae0 20 20 20 20 20 20 20 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 ...............................;
4db00 3b 20 4d 75 6c 74 69 70 6c 65 20 61 75 74 68 6f 72 73 20 63 61 6e 20 62 65 20 63 6f 6d 6d 61 20 ;.Multiple.authors.can.be.comma.
4db20 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 20 20 20 20 or..............................
4db40 20 20 3b 3b 20 6e 65 77 6c 69 6e 65 20 73 65 70 61 72 61 74 65 64 2e 20 54 68 65 20 6e 65 77 6c ..;;.newline.separated..The.newl
4db60 69 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 20 20 20 20 20 20 ine.............................
4db80 20 20 20 3b 3b 20 73 65 70 61 72 61 74 65 64 20 61 75 74 68 6f 72 73 20 77 6f 72 6b 20 6f 6e 6c ...;;.separated.authors.work.onl
4dba0 79 20 66 6f 72 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 y.for.the.......................
4dbc0 20 20 20 20 20 20 20 20 20 3b 3b 20 23 2b 61 75 74 68 6f 72 20 6b 65 79 77 6f 72 64 3b 20 65 78 .........;;.#+author.keyword;.ex
4dbe0 61 6d 70 6c 65 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 ample:..........................
4dc00 20 20 20 20 20 20 3b 3b 20 20 20 23 2b 61 75 74 68 6f 72 3a 20 41 75 74 68 6f 72 31 0a 20 20 20 ......;;...#+author:.Author1....
4dc20 20 20 20 20 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 ............................;;..
4dc40 20 23 2b 61 75 74 68 6f 72 3a 20 41 75 74 68 6f 72 32 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .#+author:.Author2..............
4dc60 20 20 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 20 20 ..................;;............
4dc80 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 75 73 69 6e 67 20 ....................;;.If.using.
4dca0 74 68 65 20 73 75 62 74 72 65 65 20 70 72 6f 70 65 72 74 69 65 73 20 74 68 65 79 0a 20 20 20 20 the.subtree.properties.they.....
4dcc0 20 20 20 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 6e 65 ...........................;;.ne
4dce0 65 64 20 74 6f 20 62 65 20 63 6f 6d 6d 61 2d 73 65 70 61 72 61 74 65 64 3a 0a 20 20 20 20 20 20 ed.to.be.comma-separated:.......
4dd00 20 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 3a 45 .........................;;...:E
4dd20 58 50 4f 52 54 5f 41 55 54 48 4f 52 3a 20 41 75 74 68 6f 72 31 2c 20 41 75 74 68 6f 72 32 0a 20 XPORT_AUTHOR:.Author1,.Author2..
4dd40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c ..............................(l
4dd60 65 74 20 28 28 61 75 74 68 6f 72 2d 6c 69 73 74 2d 31 20 28 6f 72 67 2d 73 70 6c 69 74 2d 73 74 et.((author-list-1.(org-split-st
4dd80 72 69 6e 67 20 61 75 74 68 6f 72 2d 72 61 77 20 22 5b 2c 5c 6e 5d 22 29 29 29 0a 20 20 20 20 20 ring.author-raw."[,\n]")))......
4dda0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 ............................;;.D
4ddc0 6f 6e 27 74 20 61 6c 6c 6f 77 20 73 70 61 63 65 73 20 61 72 6f 75 6e 64 20 61 75 74 68 6f 72 20 on't.allow.spaces.around.author.
4dde0 6e 61 6d 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 names...........................
4de00 20 20 20 20 20 20 20 20 3b 3b 20 41 6c 73 6f 20 72 65 6d 6f 76 65 20 64 75 70 6c 69 63 61 74 65 ........;;.Also.remove.duplicate
4de20 20 61 75 74 68 6f 72 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 .authors........................
4de40 20 20 20 20 20 20 20 20 20 20 20 28 64 65 6c 65 74 65 2d 64 75 70 73 20 28 6d 61 70 63 61 72 20 ...........(delete-dups.(mapcar.
4de60 23 27 6f 72 67 2d 74 72 69 6d 20 61 75 74 68 6f 72 2d 6c 69 73 74 2d 31 29 29 29 29 29 29 29 0a #'org-trim.author-list-1))))))).
4de80 20 20 20 20 20 20 20 20 20 28 63 72 65 61 74 6f 72 20 28 61 6e 64 20 28 70 6c 69 73 74 2d 67 65 .........(creator.(and.(plist-ge
4dea0 74 20 69 6e 66 6f 20 3a 77 69 74 68 2d 63 72 65 61 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 t.info.:with-creator)...........
4dec0 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 3a 63 72 .............(plist-get.info.:cr
4dee0 65 61 74 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 6f 63 61 6c 65 20 28 61 6e 64 20 28 eator)))..........(locale.(and.(
4df00 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 77 69 74 68 2d 6c 6f 63 61 6c 65 plist-get.info.:hugo-with-locale
4df20 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 ).......................(org-hug
4df40 6f 2d 2d 67 65 74 2d 6c 61 6e 67 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 65 o--get-lang.info)))..........(de
4df60 73 63 72 69 70 74 69 6f 6e 20 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 28 70 6c 69 73 scription.(org-string-nw-p.(plis
4df80 74 2d 67 65 74 20 69 6e 66 6f 20 3a 64 65 73 63 72 69 70 74 69 6f 6e 29 29 29 0a 20 20 20 20 20 t-get.info.:description)))......
4dfa0 20 20 20 20 28 61 6c 69 61 73 65 73 2d 72 61 77 20 28 6c 65 74 20 28 28 61 6c 69 61 73 65 73 2d ....(aliases-raw.(let.((aliases-
4dfc0 72 61 77 2d 31 20 28 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 raw-1.(org-string-nw-p.(plist-ge
4dfe0 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 61 6c 69 61 73 65 73 29 29 29 29 0a 20 20 20 20 20 20 20 t.info.:hugo-aliases))))........
4e000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 61 6c 69 61 73 65 73 2d 72 .................(when.aliases-r
4e020 61 77 2d 31 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 aw-1...........................(
4e040 6f 72 67 2d 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 61 6c 69 61 73 65 73 2d 72 61 77 2d 31 20 22 org-split-string.aliases-raw-1."
4e060 20 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 61 6c 69 61 73 65 73 20 28 6c 65 74 20 28 61 ."))))..........(aliases.(let.(a
4e080 6c 69 61 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 28 lias-list).....................(
4e0a0 64 6f 6c 69 73 74 20 28 61 6c 69 61 73 20 61 6c 69 61 73 65 73 2d 72 61 77 29 0a 20 20 20 20 20 dolist.(alias.aliases-raw)......
4e0c0 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 73 74 72 69 6e 67 .................(unless.(string
4e0e0 2d 6d 61 74 63 68 2d 70 20 22 2f 22 20 61 6c 69 61 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 -match-p."/".alias).............
4e100 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 73 65 63 74 69 6f 6e 20 28 66 69 6c 65 ............(let.((section.(file
4e120 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 3b 53 75 66 66 69 78 20 73 65 63 74 69 -name-as-directory.;Suffix.secti
4e140 6f 6e 20 77 69 74 68 20 22 2f 22 20 69 66 20 69 74 20 69 73 6e 27 74 20 61 6c 72 65 61 64 79 0a on.with."/".if.it.isn't.already.
4e160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4e180 20 20 20 20 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 ........(org-export-data.(plist-
4e1a0 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 65 63 74 69 6f 6e 29 20 69 6e 66 6f 29 29 29 29 get.info.:hugo-section).info))))
4e1c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 ...........................(setq
4e1e0 20 61 6c 69 61 73 20 28 63 6f 6e 63 61 74 20 22 2f 22 20 73 65 63 74 69 6f 6e 20 61 6c 69 61 73 .alias.(concat."/".section.alias
4e200 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 73 65 74 71 )))).......................(setq
4e220 20 61 6c 69 61 73 2d 6c 69 73 74 20 28 61 70 70 65 6e 64 20 61 6c 69 61 73 2d 6c 69 73 74 20 60 .alias-list.(append.alias-list.`
4e240 28 2c 61 6c 69 61 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 (,alias)))).....................
4e260 61 6c 69 61 73 2d 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 75 74 70 75 74 73 2d 72 alias-list))..........(outputs-r
4e280 61 77 20 28 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 aw.(org-string-nw-p.(plist-get.i
4e2a0 6e 66 6f 20 3a 68 75 67 6f 2d 6f 75 74 70 75 74 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f nfo.:hugo-outputs)))..........(o
4e2c0 75 74 70 75 74 73 20 28 77 68 65 6e 20 6f 75 74 70 75 74 73 2d 72 61 77 0a 20 20 20 20 20 20 20 utputs.(when.outputs-raw........
4e2e0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 70 6c 69 74 2d 73 74 72 69 6e 67 20 6f .............(org-split-string.o
4e300 75 74 70 75 74 73 2d 72 61 77 20 22 20 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 72 61 66 utputs-raw.".")))..........(draf
4e320 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 64 72 61 66 74 2d 73 74 61 74 65 20 69 t.(org-hugo--parse-draft-state.i
4e340 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 65 61 64 6c 65 73 73 20 28 77 68 65 6e 20 28 nfo))..........(headless.(when.(
4e360 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 org-hugo--plist-get-true-p.info.
4e380 3a 68 75 67 6f 2d 68 65 61 64 6c 65 73 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 :hugo-headless).................
4e3a0 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 6c .....(org-hugo--front-matter-val
4e3c0 75 65 2d 62 6f 6f 6c 65 61 6e 69 7a 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 74 2d 67 ue-booleanize.(org-hugo--plist-g
4e3e0 65 74 2d 74 72 75 65 2d 70 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 68 65 61 64 6c 65 73 73 29 29 29 et-true-p.info.:hugo-headless)))
4e400 29 0a 20 20 20 20 20 20 20 20 20 28 61 6c 6c 2d 74 2d 61 6e 64 2d 63 2d 73 74 72 20 28 6f 72 67 )..........(all-t-and-c-str.(org
4e420 2d 65 6e 74 72 79 2d 67 65 74 20 28 70 6f 69 6e 74 29 20 22 41 4c 4c 54 41 47 53 22 29 29 20 3b -entry-get.(point)."ALLTAGS")).;
4e440 49 6e 63 6c 75 64 65 73 20 74 61 67 73 20 69 6e 68 65 72 69 74 65 64 20 66 72 6f 6d 20 23 2b 66 Includes.tags.inherited.from.#+f
4e460 69 6c 65 74 61 67 73 3a 20 74 6f 6f 2e 0a 20 20 20 20 20 20 20 20 20 28 61 6c 6c 2d 74 2d 61 6e iletags:.too...........(all-t-an
4e480 64 2d 63 20 28 6f 72 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 70 20 61 6c 6c 2d 74 2d 61 6e 64 d-c.(or.(when.(stringp.all-t-and
4e4a0 2d 63 2d 73 74 72 29 20 20 20 20 3b 74 61 67 73 2f 63 61 74 65 67 6f 72 69 65 73 20 66 72 6f 6d -c-str)....;tags/categories.from
4e4c0 20 60 61 6c 6c 2d 74 2d 61 6e 64 2d 63 27 20 61 72 65 20 75 73 65 64 0a 20 20 20 20 20 20 20 20 .`all-t-and-c'.are.used.........
4e4e0 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
4e500 74 72 69 6e 67 20 61 6c 6c 2d 74 2d 61 6e 64 2d 63 2d 73 74 72 20 22 3a 22 29 29 20 3b 6f 6e 6c tring.all-t-and-c-str.":")).;onl
4e520 79 20 69 66 20 48 55 47 4f 5f 54 41 47 53 20 6f 72 20 48 55 47 4f 5f 43 41 54 45 47 4f 52 49 45 y.if.HUGO_TAGS.or.HUGO_CATEGORIE
4e540 53 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 20 S.are.not.set...................
4e560 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 6e 75 6c 6c 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 73 .........(and.(null.(org-hugo--s
4e580 75 62 74 72 65 65 2d 65 78 70 6f 72 74 2d 70 20 69 6e 66 6f 29 29 20 3b 55 73 65 20 23 2b 66 69 ubtree-export-p.info)).;Use.#+fi
4e5a0 6c 65 74 61 67 73 3a 20 66 6f 72 20 66 69 6c 65 2d 62 61 73 65 64 20 65 78 70 6f 72 74 73 20 69 letags:.for.file-based.exports.i
4e5c0 66 20 23 2b 68 75 67 6f 5f 74 61 67 73 20 61 72 65 20 6e 6f 74 20 73 65 74 2e 0a 20 20 20 20 20 f.#+hugo_tags.are.not.set.......
4e5e0 20 20 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 66 69 ..........................org-fi
4e600 6c 65 2d 74 61 67 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 61 67 73 20 28 6f 72 0a 20 20 le-tags)))..........(tags.(or...
4e620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4c 6f 6f 6b 20 66 6f 72 20 74 61 67 73 20 73 ..............;;.Look.for.tags.s
4e640 65 74 20 75 73 69 6e 67 20 48 55 47 4f 5f 54 41 47 53 20 6b 65 79 77 6f 72 64 2c 20 6f 72 0a 20 et.using.HUGO_TAGS.keyword,.or..
4e660 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 48 55 47 4f 5f 54 41 ...............;;.EXPORT_HUGO_TA
4e680 47 53 20 70 72 6f 70 65 72 74 79 20 69 66 20 61 76 61 69 6c 61 62 6c 65 2e 0a 20 20 20 20 20 20 GS.property.if.available........
4e6a0 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 73 74 72 2d 74 ..........(org-hugo--delim-str-t
4e6c0 6f 2d 6c 69 73 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 74 61 67 o-list.(plist-get.info.:hugo-tag
4e6e0 73 29 29 0a 20 20 20 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 s)).................;;.Else.use.
4e700 4f 72 67 20 74 61 67 73 20 28 74 68 65 20 6f 6e 65 73 20 73 65 74 20 69 6e 20 68 65 61 64 69 6e Org.tags.(the.ones.set.in.headin
4e720 67 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 61 6e 64 2f 6f 72 20 69 6e 68 gs.................;;.and/or.inh
4e740 65 72 69 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 erited).if.any..................
4e760 28 6c 65 74 2a 20 28 28 74 61 67 73 2d 6c 69 73 74 20 28 63 6c 2d 72 65 6d 6f 76 65 2d 69 66 20 (let*.((tags-list.(cl-remove-if.
4e780 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 74 65 67 6f 72 79 2d 70 20 61 6c 6c 2d 74 2d 61 6e 64 #'org-hugo--category-p.all-t-and
4e7a0 2d 63 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 61 67 -c))........................(tag
4e7c0 73 2d 6c 69 73 74 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d s-list.(dolist.(fn.org-hugo-tag-
4e7e0 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 20 74 61 67 73 2d 6c 69 73 74 29 0a processing-functions.tags-list).
4e800 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4e820 20 20 20 20 28 73 65 74 71 20 74 61 67 73 2d 6c 69 73 74 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 ....(setq.tags-list.(funcall.fn.
4e840 74 61 67 73 2d 6c 69 73 74 20 69 6e 66 6f 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 tags-list.info))))).............
4e860 20 20 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 44 42 47 5d 20 ......;;.(message."[get.fm.DBG].
4e880 74 61 67 73 3a 20 74 61 67 73 2d 6c 69 73 74 20 3d 20 25 53 22 20 74 61 67 73 2d 6c 69 73 74 29 tags:.tags-list.=.%S".tags-list)
4e8a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 67 73 2d 6c 69 73 74 29 29 29 0a ...................tags-list))).
4e8c0 20 20 20 20 20 20 20 20 20 28 63 61 74 65 67 6f 72 69 65 73 20 28 6f 72 0a 20 20 20 20 20 20 20 .........(categories.(or........
4e8e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4c 6f 6f 6b 20 66 6f 72 20 63 61 74 65 67 ...............;;.Look.for.categ
4e900 6f 72 69 65 73 20 73 65 74 20 75 73 69 6e 67 20 48 55 47 4f 5f 43 41 54 45 47 4f 52 49 45 53 0a ories.set.using.HUGO_CATEGORIES.
4e920 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 6b 65 79 77 6f 72 64 ......................;;.keyword
4e940 2c 20 6f 72 20 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 ,.or.EXPORT_HUGO_CATEGORIES.prop
4e960 65 72 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 66 erty.......................;;.if
4e980 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 20 20 20 20 .available......................
4e9a0 20 20 28 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 ..(org-hugo--delim-str-to-list.(
4e9c0 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 63 61 74 65 67 6f 72 69 65 73 29 plist-get.info.:hugo-categories)
4e9e0 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 65 20 ).......................;;.Else.
4ea00 75 73 65 20 63 61 74 65 67 6f 72 69 65 73 20 73 65 74 20 75 73 69 6e 67 20 4f 72 67 20 74 61 67 use.categories.set.using.Org.tag
4ea20 73 20 77 69 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 3b 3b 20 s.with.......................;;.
4ea40 22 40 22 20 70 72 65 66 69 78 20 28 74 68 65 20 6f 6e 65 73 20 73 65 74 20 69 6e 20 68 65 61 64 "@".prefix.(the.ones.set.in.head
4ea60 69 6e 67 73 20 61 6e 64 2f 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ings.and/or.....................
4ea80 20 20 3b 3b 20 69 6e 68 65 72 69 74 65 64 29 20 69 66 20 61 6e 79 2e 0a 20 20 20 20 20 20 20 20 ..;;.inherited).if.any..........
4eaa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 63 61 74 65 67 6f 72 69 65 73 ..............(let*.((categories
4eac0 2d 6c 69 73 74 20 28 63 6c 2d 72 65 6d 6f 76 65 2d 69 66 2d 6e 6f 74 20 23 27 6f 72 67 2d 68 75 -list.(cl-remove-if-not.#'org-hu
4eae0 67 6f 2d 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 go--category-p.all-t-and-c))....
4eb00 20 20 20 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 74 65 67 ..........................(categ
4eb20 6f 72 69 65 73 2d 6c 69 73 74 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f 72 67 2d 68 75 67 6f 2d ories-list.(dolist.(fn.org-hugo-
4eb40 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 63 61 74 65 67 6f 72 tag-processing-functions.categor
4eb60 69 65 73 2d 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ies-list).......................
4eb80 20 20 20 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.
4eba0 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 63 61 74 65 categories-list.(funcall.fn.cate
4ebc0 67 6f 72 69 65 73 2d 6c 69 73 74 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 gories-list.info))))............
4ebe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 ..................(categories-li
4ec00 73 74 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 20 st.(mapcar.(lambda.(str)........
4ec20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ec40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 52 65 6d 6f 76 65 20 22 40 22 20 66 .................;;.Remove."@".f
4ec60 72 6f 6d 20 62 65 67 20 6f 66 20 63 61 74 65 67 6f 72 69 65 73 2e 0a 20 20 20 20 20 20 20 20 20 rom.beg.of.categories...........
4ec80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4eca0 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 65 78 70 2d 69 ...............(replace-regexp-i
4ecc0 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 40 22 20 22 22 20 73 74 72 29 29 0a 20 20 20 20 20 20 20 n-string."\\`@"."".str))........
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 20 20 20 20 20 20 20 ................................
4ed00 20 20 20 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 ...............categories-list))
4ed20 29 0a 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
4ed40 73 73 61 67 65 20 22 64 62 67 3a 20 63 61 74 65 67 6f 72 69 65 73 3a 20 63 61 74 65 67 6f 72 69 ssage."dbg:.categories:.categori
4ed60 65 73 2d 6c 69 73 74 20 3d 20 25 73 22 20 63 61 74 65 67 6f 72 69 65 73 2d 6c 69 73 74 29 0a 20 es-list.=.%s".categories-list)..
4ed80 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 74 65 67 6f 72 69 65 .......................categorie
4eda0 73 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 6b 65 79 77 6f 72 64 73 20 28 6f 72 s-list)))..........(keywords.(or
4edc0 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 73 74 g-hugo--delim-str-to-list.(plist
4ede0 2d 67 65 74 20 69 6e 66 6f 20 3a 6b 65 79 77 6f 72 64 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 -get.info.:keywords)))..........
4ee00 28 77 65 69 67 68 74 2d 64 61 74 61 20 28 6c 65 74 20 28 28 77 74 2d 72 61 77 2d 6c 69 73 74 20 (weight-data.(let.((wt-raw-list.
4ee20 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
4ee40 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 77 65 69 67 68 74 nts.(plist-get.info.:hugo-weight
4ee60 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 ))).............................
4ee80 77 65 69 67 68 74 2d 64 61 74 61 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 weight-data-1)..................
4eea0 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 77 74 2d 72 61 77 20 77 74 2d 72 61 77 2d 6c 69 .......(dolist.(wt-raw.wt-raw-li
4eec0 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 6c st)...........................(l
4eee0 65 74 20 28 6b 65 79 20 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 et.(key.value)..................
4ef00 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 74 20 44 ...........;;.(message."weight.D
4ef20 42 47 20 77 74 2d 72 61 77 3a 20 25 53 22 20 77 74 2d 72 61 77 29 0a 20 20 20 20 20 20 20 20 20 BG.wt-raw:.%S".wt-raw)..........
4ef40 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."
4ef60 77 65 69 67 68 74 20 44 42 47 20 63 64 72 20 77 74 2d 72 61 77 3a 20 25 53 22 20 28 63 64 72 20 weight.DBG.cdr.wt-raw:.%S".(cdr.
4ef80 77 74 2d 72 61 77 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 wt-raw))........................
4efa0 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 6f 72 67 .....;;.(message."weight.DBG.org
4efc0 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 3a 20 25 53 22 20 6f 72 67 2d 68 75 -hugo--subtree-coord:.%S".org-hu
4efe0 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 go--subtree-coord)..............
4f000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 ...............(cond............
4f020 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 28 63 64 72 20 77 74 ..................((null.(cdr.wt
4f040 2d 72 61 77 29 29 20 3b 60 77 74 2d 72 61 77 27 20 69 73 20 6e 6f 74 20 6f 66 20 74 68 65 20 74 -raw)).;`wt-raw'.is.not.of.the.t
4f060 79 70 65 20 28 54 41 58 4f 4e 4f 4d 59 20 2e 20 57 45 49 47 48 54 29 0a 20 20 20 20 20 20 20 20 ype.(TAXONOMY...WEIGHT).........
4f080 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 65 79 20 ......................(setq.key.
4f0a0 27 77 65 69 67 68 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 'weight)........................
4f0c0 20 20 20 20 20 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 .......(setq.value.(cond........
4f0e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f100 20 20 20 20 28 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 ....((and.org-hugo--subtree-coor
4f120 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 20 20 d...............................
4f140 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 28 63 61 72 20 77 ...................(equal.(car.w
4f160 74 2d 72 61 77 29 20 27 61 75 74 6f 29 29 20 3b 28 61 75 74 6f 29 0a 20 20 20 20 20 20 20 20 20 t-raw).'auto)).;(auto)..........
4f180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f1a0 20 20 20 28 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 ...(org-hugo--calc-weight)).....
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 20 20 20 28 28 61 6e 64 20 28 65 71 75 61 6c 20 28 63 61 72 20 77 74 2d 72 61 77 29 .......((and.(equal.(car.wt-raw)
4f200 20 27 61 75 74 6f 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 .'auto).;Auto.weight.ineffective
4f220 20 66 6f 72 20 66 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 .for.file-based.exports.........
4f240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f260 20 20 20 20 20 20 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 .........(null.org-hugo--subtree
4f280 2d 63 6f 6f 72 64 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 -coord))........................
4f2a0 20 20 20 20 20 20 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 .....................nil).......
4f2c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f2e0 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 20 20 20 .....(t.........................
4f300 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 74 6f 2d 6e ....................(string-to-n
4f320 75 6d 62 65 72 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 umber.(symbol-name.(car.wt-raw))
4f340 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )))))...........................
4f360 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 20 ...(t...........................
4f380 20 20 20 20 28 73 65 74 71 20 6b 65 79 20 28 69 66 20 28 65 71 75 61 6c 20 28 63 61 72 20 77 74 ....(setq.key.(if.(equal.(car.wt
4f3a0 2d 72 61 77 29 20 27 70 61 67 65 29 20 3b 60 77 74 2d 72 61 77 27 20 69 73 20 6f 66 20 74 68 65 -raw).'page).;`wt-raw'.is.of.the
4f3c0 20 74 79 70 65 20 28 70 61 67 65 20 2e 20 57 45 49 47 48 54 29 0a 20 20 20 20 20 20 20 20 20 20 .type.(page...WEIGHT)...........
4f3e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f400 20 20 27 77 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..'weight.......................
4f420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 74 65 72 6e 20 28 66 6f 72 ....................(intern.(for
4f440 6d 61 74 20 22 25 73 5f 77 65 69 67 68 74 22 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 28 63 61 mat."%s_weight".(symbol-name.(ca
4f460 72 20 77 74 2d 72 61 77 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 r.wt-raw))))))..................
4f480 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 76 61 6c 75 65 20 28 63 6f 6e 64 0a 20 .............(setq.value.(cond..
4f4a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f4c0 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 ..........((and.org-hugo--subtre
4f4e0 65 2d 63 6f 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 e-coord.........................
4f500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 .........................(equal.
4f520 28 63 64 72 20 77 74 2d 72 61 77 29 20 22 61 75 74 6f 22 29 29 20 3b 28 54 41 58 4f 4e 4f 4d 59 (cdr.wt-raw)."auto")).;(TAXONOMY
4f540 20 2e 20 22 61 75 74 6f 22 29 20 6f 72 20 28 70 61 67 65 20 2e 20 22 61 75 74 6f 22 29 0a 20 20 ..."auto").or.(page..."auto")...
4f560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f580 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 ..........(org-hugo--calc-weight
4f5a0 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 ))..............................
4f5c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6e 75 6d 62 65 72 70 20 28 63 64 72 20 77 74 2d ..............((numberp.(cdr.wt-
4f5e0 72 61 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 20 raw))...........................
4f600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 64 72 20 77 74 2d 72 61 77 29 29 0a ..................(cdr.wt-raw)).
4f620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f640 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 65 71 75 61 6c 20 28 63 64 72 20 77 74 2d ...........((and.(equal.(cdr.wt-
4f660 72 61 77 29 20 22 61 75 74 6f 22 29 20 3b 41 75 74 6f 20 77 65 69 67 68 74 20 69 6e 65 66 66 65 raw)."auto").;Auto.weight.ineffe
4f680 63 74 69 76 65 20 66 6f 72 20 66 69 6c 65 2d 62 61 73 65 64 20 65 78 70 6f 72 74 73 0a 20 20 20 ctive.for.file-based.exports....
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 20 20 20 20 ................................
4f6c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6c 6c 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 ..............(null.org-hugo--su
4f6e0 62 74 72 65 65 2d 63 6f 6f 72 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 btree-coord))...................
4f700 20 20 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 29 0a 20 ..........................nil)..
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 20 20 ................................
4f740 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 20 ..........(t....................
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 28 75 73 65 72 2d 65 .........................(user-e
4f780 72 72 6f 72 20 22 4f 78 2d 68 75 67 6f 3a 20 49 6e 76 61 6c 69 64 20 77 65 69 67 68 74 20 25 53 rror."Ox-hugo:.Invalid.weight.%S
4f7a0 22 20 28 63 64 72 20 77 74 2d 72 61 77 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 ".(cdr.wt-raw)))))))............
4f7c0 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 77 65 .................;;.(message."we
4f7e0 69 67 68 74 20 44 42 47 20 6b 65 79 3a 20 25 53 22 20 6b 65 79 29 0a 20 20 20 20 20 20 20 20 20 ight.DBG.key:.%S".key)..........
4f800 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."
4f820 77 65 69 67 68 74 20 44 42 47 20 76 61 6c 75 65 3a 20 25 53 22 20 76 61 6c 75 65 29 0a 20 20 20 weight.DBG.value:.%S".value)....
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 70 75 73 68 20 28 .........................(push.(
4f860 63 6f 6e 73 20 6b 65 79 20 76 61 6c 75 65 29 20 77 65 69 67 68 74 2d 64 61 74 61 2d 31 29 29 29 cons.key.value).weight-data-1)))
4f880 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 .........................;;.(mes
4f8a0 73 61 67 65 20 22 77 65 69 67 68 74 20 44 42 47 20 77 65 69 67 68 74 2d 64 61 74 61 3a 20 25 53 sage."weight.DBG.weight-data:.%S
4f8c0 22 20 77 65 69 67 68 74 2d 64 61 74 61 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ".weight-data-1)................
4f8e0 20 20 20 20 20 20 20 20 20 77 65 69 67 68 74 2d 64 61 74 61 2d 31 29 29 0a 20 20 20 20 20 20 20 .........weight-data-1))........
4f900 20 20 28 6d 65 6e 75 2d 61 6c 69 73 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 6d ..(menu-alist.(org-hugo--parse-m
4f920 65 6e 75 2d 70 72 6f 70 2d 74 6f 2d 61 6c 69 73 74 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 enu-prop-to-alist.info))........
4f940 20 20 28 63 75 73 74 6f 6d 2d 66 6d 2d 64 61 74 61 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 ..(custom-fm-data.(org-hugo--par
4f960 73 65 2d 70 72 6f 70 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 70 6c 69 73 74 2d 67 65 74 se-property-arguments.(plist-get
4f980 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 63 75 73 74 6f 6d 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 29 .info.:hugo-custom-front-matter)
4f9a0 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 6f 75 72 63 65 73 20 28 6f 72 67 2d 68 75 67 6f ))..........(resources.(org-hugo
4f9c0 2d 2d 67 65 74 2d 72 65 73 6f 75 72 63 65 73 2d 61 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 --get-resources-alist...........
4f9e0 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 61 72 73 65 2d 70 72 6f 70 ...........(org-hugo--parse-prop
4fa00 65 72 74 79 2d 61 72 67 75 6d 65 6e 74 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a erty-arguments.(plist-get.info.:
4fa20 68 75 67 6f 2d 72 65 73 6f 75 72 63 65 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 6c 61 hugo-resources))))..........(bla
4fa40 63 6b 66 72 69 64 61 79 20 28 75 6e 6c 65 73 73 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 70 6c 69 73 ckfriday.(unless.(org-hugo--plis
4fa60 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 72 6b t-get-true-p.info.:hugo-goldmark
4fa80 29 0a 20 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 71 75 69 ).........................(requi
4faa0 72 65 20 27 6f 78 2d 68 75 67 6f 2d 64 65 70 72 65 63 61 74 65 64 29 0a 20 20 20 20 20 20 20 20 re.'ox-hugo-deprecated).........
4fac0 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 61 72 73 65 ................(org-hugo--parse
4fae0 2d 62 6c 61 63 6b 66 72 69 64 61 79 2d 70 72 6f 70 2d 74 6f 2d 61 6c 69 73 74 20 28 70 6c 69 73 -blackfriday-prop-to-alist.(plis
4fb00 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 62 6c 61 63 6b 66 72 69 64 61 79 29 29 29 29 t-get.info.:hugo-blackfriday))))
4fb20 0a 20 20 20 20 20 20 20 20 20 28 64 61 74 61 20 60 28 3b 3b 20 54 68 65 20 6f 72 64 65 72 20 6f ..........(data.`(;;.The.order.o
4fb40 66 20 74 68 65 20 65 6c 65 6d 65 6e 74 73 20 62 65 6c 6f 77 20 77 69 6c 6c 20 62 65 20 74 68 65 f.the.elements.below.will.be.the
4fb60 20 6f 72 64 65 72 20 69 6e 20 77 68 69 63 68 20 74 68 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 .order.in.which.the.front-matter
4fb80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 76 61 72 69 61 62 6c 65 73 20 77 ..................;;.variables.w
4fba0 69 6c 6c 20 62 65 20 6f 72 64 65 72 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ill.be.ordered..................
4fbc0 20 28 74 69 74 6c 65 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 73 61 6e 69 74 69 .(title...,(org-hugo--get-saniti
4fbe0 7a 65 64 2d 74 69 74 6c 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 zed-title.info))................
4fc00 20 20 28 61 75 64 69 6f 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 73 74 72 69 6e 67 2d 75 6e ..(audio...,(org-hugo--string-un
4fc20 71 75 6f 74 65 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 61 75 64 69 quote.(plist-get.info.:hugo-audi
4fc40 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 75 74 68 6f 72 20 2e 20 o)))..................(author...
4fc60 2c 61 75 74 68 6f 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 28 ,author-list)..................(
4fc80 64 65 73 63 72 69 70 74 69 6f 6e 20 2e 20 2c 64 65 73 63 72 69 70 74 69 6f 6e 29 0a 20 20 20 20 description...,description).....
4fca0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 61 74 65 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d .............(date...,(org-hugo-
4fcc0 2d 66 6f 72 6d 61 74 2d 64 61 74 65 20 3a 64 61 74 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 -format-date.:date.info)).......
4fce0 20 20 20 20 20 20 20 20 20 20 20 28 70 75 62 6c 69 73 68 44 61 74 65 20 2e 20 2c 28 6f 72 67 2d ...........(publishDate...,(org-
4fd00 68 75 67 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 65 20 3a 68 75 67 6f 2d 70 75 62 6c 69 73 68 64 hugo--format-date.:hugo-publishd
4fd20 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 28 65 78 70 ate.info))..................(exp
4fd40 69 72 79 44 61 74 65 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 6f 72 6d 61 74 2d 64 61 74 iryDate...,(org-hugo--format-dat
4fd60 65 20 3a 68 75 67 6f 2d 65 78 70 69 72 79 64 61 74 65 20 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 e.:hugo-expirydate.info)).......
4fd80 20 20 20 20 20 20 20 20 20 20 20 28 61 6c 69 61 73 65 73 20 2e 20 2c 61 6c 69 61 73 65 73 29 0a ...........(aliases...,aliases).
4fda0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6d 61 67 65 73 20 2e 20 2c 28 6f 72 67 .................(images...,(org
4fdc0 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 73 74 2d -hugo--delim-str-to-list.(plist-
4fde0 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 69 6d 61 67 65 73 29 29 29 0a 20 20 20 20 20 20 20 get.info.:hugo-images)))........
4fe00 20 20 20 20 20 20 20 20 20 20 28 69 73 43 4a 4b 4c 61 6e 67 75 61 67 65 20 2e 20 2c 28 6f 72 67 ..........(isCJKLanguage...,(org
4fe20 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
4fe40 67 6f 2d 69 73 63 6a 6b 6c 61 6e 67 75 61 67 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 go-iscjklanguage))..............
4fe60 20 20 20 20 28 6b 65 79 77 6f 72 64 73 20 2e 20 2c 6b 65 79 77 6f 72 64 73 29 0a 20 20 20 20 20 ....(keywords...,keywords)......
4fe80 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 79 6f 75 74 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 ............(layout...,(plist-ge
4fea0 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6c 61 79 6f 75 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 t.info.:hugo-layout))...........
4fec0 20 20 20 20 20 20 20 28 6c 61 73 74 6d 6f 64 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 66 6f .......(lastmod...,(org-hugo--fo
4fee0 72 6d 61 74 2d 64 61 74 65 20 3a 68 75 67 6f 2d 6c 61 73 74 6d 6f 64 20 69 6e 66 6f 29 29 0a 20 rmat-date.:hugo-lastmod.info))..
4ff00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 54 69 74 6c 65 20 2e 20 2c 28 70 ................(linkTitle...,(p
4ff20 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6c 69 6e 6b 74 69 74 6c 65 29 29 0a list-get.info.:hugo-linktitle)).
4ff40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 72 6b 75 70 20 2e 20 2c 28 70 6c 69 .................(markup...,(pli
4ff60 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 6d 61 72 6b 75 70 29 29 0a 20 20 20 20 20 st-get.info.:hugo-markup))......
4ff80 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 75 74 70 75 74 73 20 2e 20 2c 6f 75 74 70 75 74 73 29 ............(outputs...,outputs)
4ffa0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 72 69 65 73 20 2e 20 2c 28 6f 72 ..................(series...,(or
4ffc0 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 73 74 g-hugo--delim-str-to-list.(plist
4ffe0 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 73 65 72 69 65 73 29 29 29 0a 20 20 20 20 20 20 -get.info.:hugo-series))).......
50000 20 20 20 20 20 20 20 20 20 20 20 28 73 6c 75 67 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 69 ...........(slug...,(plist-get.i
50020 6e 66 6f 20 3a 68 75 67 6f 2d 73 6c 75 67 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nfo.:hugo-slug))................
50040 20 20 28 74 61 67 73 20 2e 20 2c 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..(tags...,tags)................
50060 20 20 28 63 61 74 65 67 6f 72 69 65 73 20 2e 20 2c 63 61 74 65 67 6f 72 69 65 73 29 0a 20 20 20 ..(categories...,categories)....
50080 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 6c 69 73 74 2d 67 65 ..............(type...,(plist-ge
500a0 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 t.info.:hugo-type)).............
500c0 20 20 20 20 20 28 75 72 6c 20 2e 20 2c 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 .....(url...,(plist-get.info.:hu
500e0 67 6f 2d 75 72 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 69 64 65 6f go-url))..................(video
50100 73 20 2e 20 2c 28 6f 72 67 2d 68 75 67 6f 2d 2d 64 65 6c 69 6d 2d 73 74 72 2d 74 6f 2d 6c 69 73 s...,(org-hugo--delim-str-to-lis
50120 74 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a 68 75 67 6f 2d 76 69 64 65 6f 73 29 29 t.(plist-get.info.:hugo-videos))
50140 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 72 61 66 74 20 2e 20 2c 64 72 61 )..................(draft...,dra
50160 66 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 68 65 61 64 6c 65 73 73 20 2e ft)..................(headless..
50180 20 2c 68 65 61 64 6c 65 73 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 72 .,headless)..................(cr
501a0 65 61 74 6f 72 20 2e 20 2c 63 72 65 61 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eator...,creator)...............
501c0 20 20 20 28 6c 6f 63 61 6c 65 20 2e 20 2c 6c 6f 63 61 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 ...(locale...,locale)...........
501e0 20 20 20 20 20 20 20 28 62 6c 61 63 6b 66 72 69 64 61 79 20 2e 20 2c 62 6c 61 63 6b 66 72 69 64 .......(blackfriday...,blackfrid
50200 61 79 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 61 74 61 20 60 2c 28 61 70 70 65 6e 64 20 64 ay)))..........(data.`,(append.d
50220 61 74 61 20 77 65 69 67 68 74 2d 64 61 74 61 20 63 75 73 74 6f 6d 2d 66 6d 2d 64 61 74 61 0a 20 ata.weight-data.custom-fm-data..
50240 20 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 69 73 74 0a 20 20 ........................(list...
50260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 27 6d ........................(cons.'m
50280 65 6e 75 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 20 20 enu.menu-alist).................
502a0 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 27 72 65 73 6f 75 72 63 65 73 20 72 65 73 6f 75 ..........(cons.'resources.resou
502c0 72 63 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 rces)...........................
502e0 28 63 6f 6e 73 20 27 6c 6f 67 62 6f 6f 6b 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a (cons.'logbook.(plist-get.info.:
50300 6c 6f 67 62 6f 6f 6b 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 72 65 74 29 0a 0a 20 20 20 20 logbook)))))..........ret)......
50320 3b 3b 20 28 6d 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 ;;.(message."[get.fm.DBG].tags:.
50340 25 73 22 20 74 61 67 73 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 64 62 67 3a 20 %s".tags).....;;.(message."dbg:.
50360 68 75 67 6f 20 74 61 67 73 3a 20 25 53 22 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a hugo.tags:.%S".(plist-get.info.:
50380 68 75 67 6f 2d 74 61 67 73 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 67 65 hugo-tags)).....;;.(message."[ge
503a0 74 20 66 6d 20 69 6e 66 6f 20 44 42 47 5d 20 25 53 22 20 69 6e 66 6f 29 0a 20 20 20 20 3b 3b 20 t.fm.info.DBG].%S".info).....;;.
503c0 28 6d 65 73 73 61 67 65 20 22 5b 67 65 74 20 66 6d 20 6d 65 6e 75 20 44 42 47 5d 20 25 53 22 20 (message."[get.fm.menu.DBG].%S".
503e0 6d 65 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 67 65 menu-alist).....;;.(message."[ge
50400 74 20 66 6d 20 6d 65 6e 75 20 6f 76 65 72 72 69 64 65 20 44 42 47 5d 20 25 53 22 20 6d 65 6e 75 t.fm.menu.override.DBG].%S".menu
50420 2d 61 6c 69 73 74 2d 6f 76 65 72 72 69 64 65 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 -alist-override).....;;.(message
50440 20 22 5b 63 75 73 74 6f 6d 20 66 6d 20 64 61 74 61 20 44 42 47 5d 20 25 53 22 20 63 75 73 74 6f ."[custom.fm.data.DBG].%S".custo
50460 6d 2d 66 6d 2d 64 61 74 61 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 m-fm-data).....;;.(message."[fm.
50480 72 65 73 6f 75 72 63 65 73 20 4f 55 54 20 44 42 47 5d 20 25 53 22 20 72 65 73 6f 75 72 63 65 73 resources.OUT.DBG].%S".resources
504a0 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 64 61 74 61 20 44 42 47 5d ).....;;.(message."[fm.data.DBG]
504c0 20 64 61 74 61 3a 20 25 53 22 20 64 61 74 61 29 0a 20 20 20 20 3b 3b 20 28 70 72 6f 67 6e 20 28 .data:.%S".data).....;;.(progn.(
504e0 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 64 61 74 61 20 44 42 47 5d 20 22 29 20 28 70 70 20 64 61 message."[fm.data.DBG].").(pp.da
50500 74 61 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 74 61 67 73 20 44 ta)).....;;.(message."[fm.tags.D
50520 42 47 5d 20 25 53 22 20 74 61 67 73 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b BG].%S".tags).....;;.(message."[
50540 66 6d 20 63 61 74 65 67 6f 72 69 65 73 20 44 42 47 5d 20 25 53 22 20 63 61 74 65 67 6f 72 69 65 fm.categories.DBG].%S".categorie
50560 73 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 66 6d 20 6b 65 79 77 6f 72 64 73 s).....;;.(message."[fm.keywords
50580 20 44 42 47 5d 20 25 53 22 20 6b 65 79 77 6f 72 64 73 29 0a 0a 20 20 20 20 3b 3b 20 41 70 70 65 .DBG].%S".keywords)......;;.Appe
505a0 6e 64 20 67 72 6f 75 70 20 74 61 67 73 20 74 6f 20 75 73 65 72 2d 73 65 74 20 74 61 67 73 20 69 nd.group.tags.to.user-set.tags.i
505c0 66 20 74 61 67 20 67 72 6f 75 70 73 20 61 72 65 20 64 65 66 69 6e 65 64 20 69 6e 0a 20 20 20 20 f.tag.groups.are.defined.in.....
505e0 3b 3b 20 74 68 65 20 62 75 66 66 65 72 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 61 6e 64 20 6f 72 ;;.the.buffer......(when.(and.or
50600 67 2d 67 72 6f 75 70 2d 74 61 67 73 20 6f 72 67 2d 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 g-group-tags.org-tag-groups-alis
50620 74 29 0a 20 20 20 20 20 20 28 6c 65 74 20 28 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 2d t).......(let.(tag-groups-alist-
50640 6d 6f 64 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 43 6f 70 79 20 60 6f 72 67 2d 74 61 67 2d 67 mod)..........;;.Copy.`org-tag-g
50660 72 6f 75 70 73 2d 61 6c 69 73 74 27 20 74 6f 20 60 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 roups-alist'.to.`tag-groups-alis
50680 74 2d 6d 6f 64 27 20 77 68 69 6c 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 6d 6f 64 69 66 79 69 6e t-mod'.while.........;;.modifyin
506a0 67 20 74 68 65 20 74 61 67 73 20 61 6e 64 20 63 61 74 65 67 6f 72 69 65 73 20 61 73 20 64 65 66 g.the.tags.and.categories.as.def
506c0 69 6e 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 74 61 67 ined.by.........;;.`org-hugo-tag
506e0 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e 73 27 2e 0a 20 20 20 20 20 20 20 20 -processing-functions'..........
50700 28 64 6f 6c 69 73 74 20 28 67 72 6f 75 70 20 6f 72 67 2d 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c (dolist.(group.org-tag-groups-al
50720 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 67 72 6f 75 70 2d 6d 6f 64 20 ist)...........(let.((group-mod.
50740 67 72 6f 75 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 group)).............(dolist.(fn.
50760 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 69 6f 6e org-hugo-tag-processing-function
50780 73 20 67 72 6f 75 70 2d 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 s.group-mod)...............(setq
507a0 20 67 72 6f 75 70 2d 6d 6f 64 20 28 66 75 6e 63 61 6c 6c 20 66 6e 20 67 72 6f 75 70 2d 6d 6f 64 .group-mod.(funcall.fn.group-mod
507c0 20 69 6e 66 6f 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 67 72 6f 75 70 .info))).............(push.group
507e0 2d 6d 6f 64 20 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 2d 6d 6f 64 29 29 29 0a 0a 20 20 -mod.tag-groups-alist-mod)))....
50800 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 74 2d 6f 72 2d 63 20 28 61 70 70 65 6e 64 20 74 61 ......(dolist.(t-or-c.(append.ta
50820 67 73 20 63 61 74 65 67 6f 72 69 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 gs.categories))...........(let.(
50840 28 74 6f 2d 62 65 2d 73 65 61 72 63 68 65 64 20 60 28 2c 74 2d 6f 72 2d 63 29 29 29 0a 20 20 20 (to-be-searched.`(,t-or-c)))....
50860 20 20 20 20 20 20 20 20 20 28 77 68 69 6c 65 20 28 3e 20 28 6c 65 6e 67 74 68 20 74 6f 2d 62 65 .........(while.(>.(length.to-be
50880 2d 73 65 61 72 63 68 65 64 29 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 -searched).0)...............;;.(
508a0 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 74 20 61 6e 64 20 63 message."[tag.group.DBG].t.and.c
508c0 20 74 6f 20 73 65 61 72 63 68 3a 20 25 53 22 20 74 6f 2d 62 65 2d 73 65 61 72 63 68 65 64 29 0a .to.search:.%S".to-be-searched).
508e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 63 20 28 70 6f 70 20 74 6f 2d ..............(let.((tc.(pop.to-
50900 62 65 2d 73 65 61 72 63 68 65 64 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 be-searched))).................(
50920 64 6f 6c 69 73 74 20 28 67 72 6f 75 70 20 74 61 67 2d 67 72 6f 75 70 73 2d 61 6c 69 73 74 2d 6d dolist.(group.tag-groups-alist-m
50940 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 od)...................;;.(messag
50960 65 20 22 5b 74 61 67 20 67 72 6f 75 70 20 44 42 47 5d 20 20 20 53 65 61 72 63 68 69 6e 67 20 25 e."[tag.group.DBG]...Searching.%
50980 73 20 69 6e 20 25 53 22 20 74 63 20 67 72 6f 75 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 s.in.%S".tc.group)..............
509a0 20 20 20 20 20 28 77 68 65 6e 20 28 6d 65 6d 62 65 72 20 74 63 20 67 72 6f 75 70 29 0a 20 20 20 .....(when.(member.tc.group)....
509c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 68 65 61 64 2d 74 61 67 .................(let.((head-tag
509e0 20 28 63 61 72 20 67 72 6f 75 70 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .(car.group)))..................
50a00 20 20 20 20 20 28 69 66 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 74 65 67 6f 72 79 2d 70 20 68 .....(if.(org-hugo--category-p.h
50a20 65 61 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 ead-tag)........................
50a40 20 20 20 28 6c 65 74 20 28 28 68 65 61 64 2d 63 61 74 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 ...(let.((head-cat.(replace-rege
50a60 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5c 5c 60 40 22 20 22 22 20 68 65 61 64 2d 74 61 67 29 xp-in-string."\\`@"."".head-tag)
50a80 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 28 )).............................(
50aa0 75 6e 6c 65 73 73 20 28 6d 65 6d 62 65 72 20 68 65 61 64 2d 63 61 74 20 63 61 74 65 67 6f 72 69 unless.(member.head-cat.categori
50ac0 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 20 es).............................
50ae0 20 20 28 70 75 73 68 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 ..(push.head-cat.categories)....
50b00 20 20 20 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 ...........................;;.(m
50b20 65 73 73 61 67 65 20 22 5b 74 61 67 20 67 72 6f 75 70 20 44 42 47 5d 20 2e 2e 2e 2e 20 41 64 64 essage."[tag.group.DBG]......Add
50b40 69 6e 67 20 63 61 74 20 25 73 22 20 68 65 61 64 2d 63 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 ing.cat.%s".head-cat)...........
50b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 29 0a 20 20 20 20 20 20 20 20 20 ....................))..........
50b80 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 62 65 72 20 68 ...............(unless.(member.h
50ba0 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 20 20 20 20 ead-tag.tags)...................
50bc0 20 20 20 20 20 20 20 20 28 70 75 73 68 20 68 65 61 64 2d 74 61 67 20 74 61 67 73 29 0a 20 20 20 ........(push.head-tag.tags)....
50be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 .......................;;.(messa
50c00 67 65 20 22 5b 74 61 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 ge."[tag.group.DBG]......Adding.
50c20 74 61 67 20 25 73 22 20 68 65 61 64 2d 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tag.%s".head-tag)...............
50c40 20 20 20 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 ............))..................
50c60 20 20 20 20 20 3b 3b 20 41 64 64 20 74 68 65 20 63 75 72 72 65 6e 74 20 60 68 65 61 64 2d 74 61 .....;;.Add.the.current.`head-ta
50c80 67 27 20 61 73 20 74 68 65 20 6e 65 77 20 74 61 67 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 g'.as.the.new.tag.to............
50ca0 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 65 61 72 63 68 20 69 66 20 63 75 72 72 65 6e 74 20 ...........;;.search.if.current.
50cc0 74 61 67 20 6f 72 20 63 61 74 65 67 6f 72 79 20 28 60 74 63 27 29 20 69 73 20 6e 6f 74 0a 20 20 tag.or.category.(`tc').is.not...
50ce0 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 20 60 68 65 61 64 ....................;;.the.`head
50d00 2d 74 61 67 27 2c 20 61 6e 64 20 69 66 20 69 74 27 73 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 69 -tag',.and.if.it's.not.already.i
50d20 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 20 20 3b 3b 20 73 n.the.......................;;.s
50d40 65 61 72 63 68 20 6c 69 73 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 earch.list......................
50d60 20 20 28 75 6e 6c 65 73 73 20 28 6f 72 20 28 73 74 72 69 6e 67 3d 20 74 63 20 68 65 61 64 2d 74 ..(unless.(or.(string=.tc.head-t
50d80 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 20 20 20 ag).............................
50da0 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 68 65 61 64 2d 74 61 67 20 74 6f 2d 62 65 2d 73 65 61 ......(member.head-tag.to-be-sea
50dc0 72 63 68 65 64 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 rched)).........................
50de0 28 70 75 73 68 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 29 (push.head-tag.to-be-searched)))
50e00 29 29 29 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 74 61 67 20 ))))))).......;;.(message."[tag.
50e20 67 72 6f 75 70 20 44 42 47 5d 20 75 70 64 61 74 65 64 20 74 61 67 73 3a 20 25 53 22 20 74 61 67 group.DBG].updated.tags:.%S".tag
50e40 73 29 0a 20 20 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 65 20 22 5b 74 61 67 20 67 72 6f 75 70 s).......;;.(message."[tag.group
50e60 20 44 42 47 5d 20 75 70 64 61 74 65 64 20 63 61 74 65 67 6f 72 69 65 73 3a 20 25 53 22 20 63 61 .DBG].updated.categories:.%S".ca
50e80 74 65 67 6f 72 69 65 73 29 0a 0a 20 20 20 20 20 20 3b 3b 20 4f 76 65 72 77 72 69 74 65 20 74 68 tegories)........;;.Overwrite.th
50ea0 65 20 27 74 61 67 73 20 61 6e 64 20 27 63 61 74 65 67 6f 72 69 65 73 20 6b 65 79 20 76 61 6c 75 e.'tags.and.'categories.key.valu
50ec0 65 73 20 69 6e 20 60 64 61 74 61 27 20 77 69 74 68 0a 20 20 20 20 20 20 3b 3b 20 74 68 65 20 75 es.in.`data'.with.......;;.the.u
50ee0 70 64 61 74 65 64 20 76 61 6c 75 65 73 2e 0a 20 20 20 20 20 20 3b 3b 20 68 74 74 70 73 3a 2f 2f pdated.values........;;.https://
50f00 73 74 61 63 6b 6f 76 65 72 66 6c 6f 77 2e 63 6f 6d 2f 61 2f 34 30 38 31 35 33 36 35 2f 31 32 31 stackoverflow.com/a/40815365/121
50f20 39 36 33 34 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 74 61 67 9634.......(setf.(alist-get.'tag
50f40 73 20 64 61 74 61 29 20 74 61 67 73 29 0a 20 20 20 20 20 20 28 73 65 74 66 20 28 61 6c 69 73 74 s.data).tags).......(setf.(alist
50f60 2d 67 65 74 20 27 63 61 74 65 67 6f 72 69 65 73 20 64 61 74 61 29 20 63 61 74 65 67 6f 72 69 65 -get.'categories.data).categorie
50f80 73 29 29 0a 0a 20 20 20 20 28 73 65 74 71 20 64 61 74 61 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 72 s))......(setq.data.(org-hugo--r
50fa0 65 70 6c 61 63 65 2d 6b 65 79 73 2d 6d 61 79 62 65 20 64 61 74 61 20 69 6e 66 6f 29 29 0a 20 20 eplace-keys-maybe.data.info))...
50fc0 20 20 28 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 6e 2d 66 72 6f 6e 74 ..(setq.ret.(org-hugo--gen-front
50fe0 2d 6d 61 74 74 65 72 20 64 61 74 61 20 66 6d 2d 66 6f 72 6d 61 74 29 29 0a 20 20 20 20 28 69 66 -matter.data.fm-format)).....(if
51000 20 28 61 6e 64 20 28 73 74 72 69 6e 67 3d 20 22 74 6f 6d 6c 22 20 66 6d 2d 66 6f 72 6d 61 74 29 .(and.(string=."toml".fm-format)
51020 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 2d ..............(org-hugo--pandoc-
51040 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 20 citations-enabled-p.info))......
51060 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 61 6e 64 6f 63 20 70 61 ...(progn...........;;.Pandoc.pa
51080 72 73 65 73 20 66 69 65 6c 64 73 20 6c 69 6b 65 20 63 73 6c 20 61 6e 64 20 6e 6f 63 69 74 65 20 rses.fields.like.csl.and.nocite.
510a0 66 72 6f 6d 20 59 41 4d 4c 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 72 6f 6e 74 2d 6d 61 74 from.YAML...........;;.front-mat
510c0 74 65 72 2e 20 20 53 6f 20 63 72 65 61 74 65 20 74 68 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 66 ter...So.create.the.`org-hugo--f
510e0 6d 2d 79 61 6d 6c 27 0a 20 20 20 20 20 20 20 20 20 20 3b 3b 20 66 72 6f 6e 74 2d 6d 61 74 74 65 m-yaml'...........;;.front-matte
51100 72 20 69 6e 20 59 41 4d 4c 20 66 6f 72 6d 61 74 20 6a 75 73 74 20 66 6f 72 20 50 61 6e 64 6f 63 r.in.YAML.format.just.for.Pandoc
51120 2e 0a 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 2d 70 61 ............(require.'ox-hugo-pa
51140 6e 64 6f 63 2d 63 69 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d 68 ndoc-cite)...........(setq.org-h
51160 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 ugo--fm-yaml.................(or
51180 67 2d 68 75 67 6f 2d 70 61 6e 64 6f 63 2d 63 69 74 65 2d 2d 6d 65 74 61 2d 64 61 74 61 2d 67 65 g-hugo-pandoc-cite--meta-data-ge
511a0 6e 65 72 61 74 6f 72 20 64 61 74 61 29 29 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 6f 72 67 2d nerator.data))).......(setq.org-
511c0 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 20 72 65 74 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 hugo--fm-yaml.ret)).....;;.(mess
511e0 61 67 65 20 22 6f 72 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 3a 20 60 25 73 27 22 20 6f 72 age."org-hugo--fm-yaml:.`%s'".or
51200 67 2d 68 75 67 6f 2d 2d 66 6d 2d 79 61 6d 6c 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 28 64 65 66 g-hugo--fm-yaml).....ret))..(def
51220 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 20 28 29 0a 20 20 22 43 un.org-hugo--calc-weight.()..."C
51240 61 6c 63 75 6c 61 74 65 20 74 68 65 20 77 65 69 67 68 74 20 66 6f 72 20 61 20 48 75 67 6f 20 70 alculate.the.weight.for.a.Hugo.p
51260 6f 73 74 20 6f 72 20 6d 65 6e 75 20 69 74 65 6d 2e 0a 0a 54 68 65 20 72 65 74 75 72 6e 65 64 20 ost.or.menu.item...The.returned.
51280 77 65 69 67 68 74 20 3d 20 49 4e 44 45 58 20 2b 20 31 30 30 30 2a 4c 45 56 45 4c 2e 20 20 53 65 weight.=.INDEX.+.1000*LEVEL...Se
512a0 65 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 6f 73 74 2d 73 75 62 74 72 65 65 2d 63 6f e.`org-hugo--get-post-subtree-co
512c0 6f 72 64 69 6e 61 74 65 73 27 20 6c 65 61 72 6e 20 61 62 6f 75 74 20 49 4e 44 45 58 20 61 6e 64 ordinates'.learn.about.INDEX.and
512e0 0a 4c 45 56 45 4c 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6c 65 76 65 6c 20 28 63 61 72 20 6f 72 .LEVEL."...(let*.((level.(car.or
51300 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f 6f 72 64 29 29 0a 20 20 20 20 20 20 20 20 g-hugo--subtree-coord)).........
51320 20 28 69 6e 64 65 78 20 28 63 64 72 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 .(index.(cdr.org-hugo--subtree-c
51340 6f 6f 72 64 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 oord))).....;;.(message."[org-hu
51360 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 20 64 62 67 5d 20 6c 65 76 65 6c 20 3d 20 25 53 22 go--calc-weight.dbg].level.=.%S"
51380 20 6c 65 76 65 6c 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 .level).....;;.(message."[org-hu
513a0 67 6f 2d 2d 63 61 6c 63 2d 77 65 69 67 68 74 20 64 62 67 5d 20 69 6e 64 65 78 20 3d 20 25 53 22 go--calc-weight.dbg].index.=.%S"
513c0 20 69 6e 64 65 78 29 0a 20 20 20 20 28 2b 20 28 2a 20 31 30 30 30 20 6c 65 76 65 6c 29 20 69 6e .index).....(+.(*.1000.level).in
513e0 64 65 78 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 6e 2d 66 72 6f dex)))..(defun.org-hugo--gen-fro
51400 6e 74 2d 6d 61 74 74 65 72 20 28 64 61 74 61 20 66 6f 72 6d 61 74 29 0a 20 20 22 47 65 6e 65 72 nt-matter.(data.format)..."Gener
51420 61 74 65 20 74 68 65 20 48 75 67 6f 20 70 6f 73 74 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2c 20 ate.the.Hugo.post.front-matter,.
51440 61 6e 64 20 72 65 74 75 72 6e 20 74 68 61 74 20 73 74 72 69 6e 67 2e 0a 0a 44 41 54 41 20 69 73 and.return.that.string...DATA.is
51460 20 61 6e 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 .an.alist.of.the.form.\((KEY1...
51480 56 41 4c 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 VAL1).(KEY2...VAL2)....\),.where
514a0 20 4b 45 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 .KEY.is.a.symbol.and.VAL.is.a.st
514c0 72 69 6e 67 2e 0a 0a 47 65 6e 65 72 61 74 65 20 74 68 65 20 66 72 6f 6e 74 2d 6d 61 74 74 65 72 ring...Generate.the.front-matter
514e0 20 69 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 46 4f 52 4d 41 54 2e 20 20 56 61 6c 69 64 .in.the.specified.FORMAT...Valid
51500 20 76 61 6c 75 65 73 0a 61 72 65 20 5c 22 74 6f 6d 6c 5c 22 20 61 6e 64 20 5c 22 79 61 6d 6c 5c .values.are.\"toml\".and.\"yaml\
51520 22 2e 22 0a 20 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 66 6f 72 6d 61 74 20 22 79 61 6d 6c 22 "."...(if.(string=.format."yaml"
51540 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 6e 2d 79 61 6d 6c 2d 66 72 6f 6e ).......(org-hugo--gen-yaml-fron
51560 74 2d 6d 61 74 74 65 72 20 64 61 74 61 29 0a 20 20 20 20 28 6c 65 74 20 28 28 74 6f 6d 65 6c 72 t-matter.data).....(let.((tomelr
51580 2d 69 6e 64 65 6e 74 2d 6d 75 6c 74 69 2d 6c 69 6e 65 2d 73 74 72 69 6e 67 73 20 74 29 29 0a 20 -indent-multi-line-strings.t))..
515a0 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 2b 2b 2b 5c 6e 25 73 5c 6e 2b 2b 2b 5c 6e 22 20 28 74 .....(format."+++\n%s\n+++\n".(t
515c0 6f 6d 65 6c 72 2d 65 6e 63 6f 64 65 20 64 61 74 61 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6f omelr-encode.data)))))..(defun.o
515e0 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 65 rg-hugo--selective-property-inhe
51600 72 69 74 61 6e 63 65 20 28 29 0a 20 20 22 52 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 70 ritance.()..."Return.a.list.of.p
51620 72 6f 70 65 72 74 69 65 73 20 74 68 61 74 20 73 68 6f 75 6c 64 20 62 65 20 69 6e 68 65 72 69 74 roperties.that.should.be.inherit
51640 65 64 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 6f 70 2d 6c 69 73 74 20 27 28 22 48 55 47 4f 5f ed."...(let.((prop-list.'("HUGO_
51660 46 52 4f 4e 54 5f 4d 41 54 54 45 52 5f 46 4f 52 4d 41 54 22 0a 20 20 20 20 20 20 20 20 20 20 20 FRONT_MATTER_FORMAT"............
51680 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 50 52 45 46 45 52 5f 48 59 50 48 45 4e 5f 49 4e .........."HUGO_PREFER_HYPHEN_IN
516a0 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 55 47 _TAGS"......................"HUG
516c0 4f 5f 50 52 45 53 45 52 56 45 5f 46 49 4c 4c 49 4e 47 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 O_PRESERVE_FILLING".............
516e0 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 44 45 4c 45 54 45 5f 54 52 41 49 4c 49 4e 47 5f 57 ........."HUGO_DELETE_TRAILING_W
51700 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 41 4c S"......................"HUGO_AL
51720 4c 4f 57 5f 53 50 41 43 45 53 5f 49 4e 5f 54 41 47 53 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 LOW_SPACES_IN_TAGS".............
51740 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 42 4c 41 43 4b 46 52 49 44 41 59 22 0a 20 20 20 20 ........."HUGO_BLACKFRIDAY".....
51760 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 43 54 49 4f 4e 22 0a ................."HUGO_SECTION".
51780 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 43 54 49 ....................."HUGO_SECTI
517a0 4f 4e 5f 46 52 41 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 ON_FRAG"......................"H
517c0 55 47 4f 5f 42 55 4e 44 4c 45 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 UGO_BUNDLE".....................
517e0 20 22 48 55 47 4f 5f 42 41 53 45 5f 44 49 52 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ."HUGO_BASE_DIR"................
51800 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 20 20 20 20 20 ......"HUGO_GOLDMARK"...........
51820 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 22 0a 20 20 20 ..........."HUGO_CODE_FENCE"....
51840 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 54 41 49 4e 45 .................."HTML_CONTAINE
51860 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 4d 4c 5f 43 4f R"......................"HTML_CO
51880 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 20 20 20 20 20 NTAINER_CLASS"..................
518a0 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 20 20 20 20 20 ...."HUGO_MENU".................
518c0 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 54 45 52 22 0a ....."HUGO_CUSTOM_FRONT_MATTER".
518e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 44 52 41 46 54 ....................."HUGO_DRAFT
51900 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 49 53 43 "......................"HUGO_ISC
51920 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 20 20 20 20 20 JKLANGUAGE".....................
51940 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 20 20 20 20 20 ."KEYWORDS".....................
51960 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 20 20 20 20 20 ."HUGO_MARKUP"..................
51980 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 20 20 20 20 20 ...."HUGO_OUTPUTS"..............
519a0 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 20 20 20 20 20 ........"HUGO_TAGS".............
519c0 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 20 20 20 20 20 ........."HUGO_CATEGORIES"......
519e0 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 53 22 0a 20 20 ................"HUGO_SERIES"...
51a00 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 50 45 22 0a 20 ..................."HUGO_TYPE"..
51a20 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 41 59 4f 55 54 ...................."HUGO_LAYOUT
51a40 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 57 45 49 "......................"HUGO_WEI
51a60 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 48 55 47 4f 5f GHT"......................"HUGO_
51a80 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 20 20 20 20 20 RESOURCES"......................
51aa0 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 41 43 45 22 0a "HUGO_FRONT_MATTER_KEY_REPLACE".
51ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 48 55 47 4f 5f 44 41 54 45 5f ....................."HUGO_DATE_
51ae0 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 48 55 FORMAT"......................"HU
51b00 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 20 20 20 20 20 GO_WITH_LOCALE".................
51b20 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 20 20 20 20 20 ....."HUGO_LOCALE"..............
51b40 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 4f 44 45 53 22 ........"HUGO_PAIRED_SHORTCODES"
51b60 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 22 20 3b 55 73 ......................"DATE".;Us
51b80 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 74 65 20 74 6f eful.for.inheriting.same.date.to
51ba0 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 6e 67 75 61 67 .same.posts.in.different.languag
51bc0 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 47 4f 5f 50 55 es......................"HUGO_PU
51be0 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 20 20 20 20 20 BLISHDATE"......................
51c00 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 20 20 20 20 20 "HUGO_EXPIRYDATE"...............
51c20 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 20 20 20 20 20 ......."HUGO_LASTMOD"...........
51c40 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 66 75 6c 20 66 ..........."HUGO_SLUG".;Useful.f
51c60 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 73 61 6d 65 20 or.inheriting.same.slug.to.same.
51c80 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 73 0a 20 20 20 posts.in.different.languages....
51ca0 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 44 4f 43 5f 43 .................."HUGO_PANDOC_C
51cc0 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 20 20 20 20 22 ITATIONS"......................"
51ce0 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 20 20 20 20 20 BIBLIOGRAPHY"...................
51d00 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 20 20 20 20 20 ..."HUGO_AUTO_SET_LASTMOD"......
51d20 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 20 20 20 20 20 ................"LANGUAGE"......
51d40 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 20 20 20 20 20 ................"AUTHOR"........
51d60 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 20 20 20 20 28 .............."OPTIONS"))).....(
51d80 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 20 20 20 20 20 mapcar.(lambda.(str)............
51da0 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 20 20 20 20 20 ...(concat."EXPORT_".str))......
51dc0 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 20 6f 72 67 2d .......prop-list)))..(defun.org-
51de0 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 20 20 22 52 65 hugo--get-valid-subtree.()..."Re
51e00 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 76 61 6c 69 64 turn.the.Org.element.for.a.valid
51e20 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 64 69 74 69 6f .Hugo.post.subtree..The.conditio
51e40 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 20 74 68 65 20 n.to.check.validity.is.that.the.
51e60 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 73 20 64 65 66 EXPORT_FILE_NAME.property.is.def
51e80 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 74 2e 0a 0a 41 ined.for.the.subtree.element...A
51ea0 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 20 74 6f 20 62 s.this.function.is.intended.to.b
51ec0 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 6f 0a 70 6f 73 e.called.inside.a.valid.Hugo.pos
51ee0 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 76 65 73 20 74 t.subtree,.doing.so.also.moves.t
51f00 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 66 0a 74 68 65 he.point.to.the.beginning.of.the
51f20 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 52 65 74 75 72 .heading.of.that.subtree...Retur
51f40 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 73 75 62 74 72 n.nil.if.a.valid.Hugo.post.subtr
51f60 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 0a 77 69 6c 6c ee.is.not.found...The.point.will
51f80 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 22 0a 20 20 28 .be.moved.in.this.case.too."...(
51fa0 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 67 6f 2d 2d 67 let*.((subtree.(car.(org-hugo--g
51fc0 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 49 4c 45 5f 4e et-elem-with-prop.:EXPORT_FILE_N
51fe0 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 2d 65 6c 65 6d AME)))..........(point.(org-elem
52000 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 29 29 29 20 3b ent-property.:begin.subtree))).;
52020 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 74 72 65 65 27 `point'.will.be.nil.if.`subtree'
52040 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 20 20 20 28 67 .is.nil.....(when.point.......(g
52060 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 65 29 29 0a 0a oto-char.point)).....subtree))..
52080 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 75 62 74 72 65 (defun.org-hugo--get-post-subtre
520a0 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 52 65 74 75 72 e-coordinates.(subtree)..."Retur
520c0 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 75 72 72 65 6e n.the.coordinates.for.the.curren
520e0 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 0a 54 68 65 20 t.valid.Hugo.post.SUBTREE...The.
52100 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 67 2d 68 75 67 Org.element.returned.by.`org-hug
52120 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 76 61 6c 69 64 o--get-valid-subtree'.is.a.valid
52140 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 74 75 72 6e 65 .Hugo.post.subtree...The.returne
52160 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 20 49 4e 44 45 d.value.is.of.type.(LEVEL...INDE
52180 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 20 6e 75 6d 62 X).where.LEVEL.is.the.level.numb
521a0 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 20 69 73 20 61 er.of.the.subtree.and.INDEX.is.a
521c0 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 61 6d 70 6c 65 s.explained.in.the.below.example
521e0 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 20 20 2a 2a 20 ...If.we.have....*.Level.1...**.
52200 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 65 76 65 6c 20 Level.A...**.Level.B...**.Level.
52220 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 6c 6c 20 62 65 C...*.Level.2..the.INDEX.will.be
52240 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 20 32 20 66 6f .1.for.Level.1.and.Level.A,.2.fo
52260 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 33 20 66 6f 72 r.Level.B.and.Level.2,.and.3.for
52280 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 75 72 6e 65 64 .Level.C...So.the.value.returned
522a0 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 29 2e 22 0a 20 .for.Level.C.will.be.(2...3)."..
522c0 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 28 6c 65 76 65 .(save-excursion.....(let.((leve
522e0 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 76 65 6c 20 73 l.(org-element-property.:level.s
52300 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 29 0a 20 20 20 ubtree))...........(index.1)....
52320 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 29 0a 20 20 20 .......(current-pos.(point))....
52340 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 65 61 64 69 6e .......(scope.(if.(org-up-headin
52360 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 20 20 27 74 72 g-safe)......................'tr
52380 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 65 6e 74 20 73 ee.;Map.entries.only.in.parent.s
523a0 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 74 73 0a 20 20 ubtree.scope.if.parent.exists...
523c0 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 73 65 20 6d 61 .................nil))).;Else.ma
523e0 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 69 64 65 64 20 p.in.the.whole.buffer.(provided.
52400 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 0a 20 20 20 20 the.MATCH.conditions.below).....
52420 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 65 74 2d 70 6f ..;;.(message."[org-hugo--get-po
52440 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 20 63 75 72 72 st-subtree-coordinates.dbg].curr
52460 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 20 20 20 3b 3b ent-pos:.%S,.scope:.%S".......;;
52480 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 29 0a 20 20 20 ..........current-pos.scope)....
524a0 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 2d 6d 61 70 2d ...(when.level.........(org-map-
524c0 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 20 20 20 20 20 entries.(lambda.()..............
524e0 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 6e 74 29 20 63 ..............(when.(<.(point).c
52500 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 20 20 20 20 20 urrent-pos).....................
52520 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 64 65 78 29 29 .........(setq.index.(1+.index))
52540 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 3b 3b 20 4c ))..........................;;.L
52560 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 68 61 74 20 61 oop.through.only.headings.that.a
52580 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 20 20 20 20 20 re.at.the.......................
525a0 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 2c 20 61 6e 64 ...;;.same.level.as.SUBTREE,.and
525c0 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 20 20 20 20 20 .those.which.have...............
525e0 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 4c 45 5f 4e 41 ...........;;.the.EXPORT_FILE_NA
52600 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 20 20 20 20 20 ME.property.defined.............
52620 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 45 4c 3d 22 20 ..............(concat."+LEVEL=".
52640 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 20 20 20 20 20 (number-to-string.level)........
52660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2b 45 58 50 4f .........................."+EXPO
52680 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 20 20 20 20 20 RT_FILE_NAME<>\"\"")............
526a0 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 20 20 28 63 6f ..............scope).........(co
526c0 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 20 6f 72 67 2d ns.level.index)))))..(defun.org-
526e0 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 6f 72 2d 62 2d hugo--export-file-to-md.(f-or-b-
52700 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 65 2d 6f 6e 6c name.&optional.async.visible-onl
52720 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 67 20 66 69 6c y.noerror)..."Export.the.Org.fil
52740 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 73 20 61 6e 20 e.as.a.whole...Note:.This.is.an.
52760 69 6e 74 65 72 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 2c 20 75 73 65 0a 60 6f 72 67 2d 68 75 67 6f internal.function,.use.`org-hugo
52780 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d 64 27 20 69 6e 73 74 65 61 64 2e 0a 0a 46 2d 4f -export-wim-to-md'.instead...F-O
527a0 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 20 66 69 6c 65 R-B-NAME.is.the.name.of.the.file
527c0 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 75 66 66 65 72 .or.buffer.(if.not.a.file.buffer
527e0 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 6c 20 6f 70 74 ).to.be.exported...A.non-nil.opt
52800 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 6d 65 61 6e 73 20 74 68 65 20 70 ional.argument.ASYNC.means.the.p
52820 72 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a 61 73 79 6e 63 68 72 6f 6e 6f 75 rocess.should.happen.asynchronou
52840 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 6f 75 6c 64 20 sly...The.resulting.file.should.
52860 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 6f 72 67 2d 65 be.accessible.through.the.`org-e
52880 78 70 6f 72 74 2d 73 74 61 63 6b 27 20 69 6e 74 65 72 66 61 63 65 2e 0a 0a 57 68 65 6e 20 6f 70 xport-stack'.interface...When.op
528a0 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.
528c0 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
528e0 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 74 68 65 20 65 f.hidden.elements...Return.the.e
52900 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 6c 65 20 68 61 xported.file.name.if.the.file.ha
52920 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 65 20 72 65 74 s.the.#+title.keyword...Else.ret
52940 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 72 6f 72 2e 20 urn.nil.and.throw.a.user.error..
52960 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 20 60 6d 65 73 .If.NOERROR.is.non-nil,.use.`mes
52980 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 6d 65 73 73 61 sage'.to.display.the.error.messa
529a0 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 73 65 72 20 65 ge.instead.of.signaling.a.user.e
529c0 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 63 6f 6d 62 69 rror."...(let*.((info.(org-combi
529e0 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 72 67 2d 65 ne-plists.................(org-e
52a00 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 0a 20 20 20 xport--get-export-attributes....
52a20 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 69 62 6c 65 2d ..............'hugo.nil.visible-
52a40 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 65 78 70 6f 72 only).................(org-expor
52a60 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 20 20 20 20 20 t--get-buffer-attributes).......
52a80 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 6f ..........(org-export-get-enviro
52aa0 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 74 6c 65 20 28 nment.'hugo)))..........(title.(
52ac0 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 29 0a 20 20 car.(plist-get.info.:title)))...
52ae0 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 20 20 20 20 20 .......ret).....(if.title.......
52b00 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 2d 67 65 74 20 ..(let*.((all-tags-1.(plist-get.
52b20 69 6e 66 6f 20 3a 68 75 67 6f 2d 74 61 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 info.:hugo-tags))...............
52b40 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 0a 20 20 20 20 .(all-tags.(when.all-tags-1.....
52b60 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 69 74 2d 73 74 .......................(split-st
52b80 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 20 20 ring............................
52ba0 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 22 22 20 .(replace-regexp-in-string."\"".
52bc0 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 20 20 20 20 20 "".all-tags-1))))...............
52be0 20 28 65 78 63 6c 75 64 65 2d 74 61 67 73 20 28 70 6c 69 73 74 2d 67 65 74 20 69 6e 66 6f 20 3a .(exclude-tags.(plist-get.info.:
52c00 65 78 63 6c 75 64 65 2d 74 61 67 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 exclude-tags))................is
52c20 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 61 67 29 0a 20 -excluded.matched-exclude-tag)..
52c40 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 61 6c 6c 2d 74 61 67 73 0a 20 20 20 20 20 20 20 20 .........(when.all-tags.........
52c60 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 65 78 70 6f ....;;.(message."[org-hugo--expo
52c80 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 74 61 67 73 20 rt-file-to-md.DBG].exclude-tags.
52ca0 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 20 20 20 20 20 =.%s".exclude-tags).............
52cc0 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 65 2d 74 61 67 (dolist.(exclude-tag.exclude-tag
52ce0 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 62 65 72 20 65 s)...............(when.(member.e
52d00 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 20 20 20 20 20 xclude-tag.all-tags)............
52d20 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 74 61 67 20 65 .....(setq.matched-exclude-tag.e
52d40 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 20 28 73 65 74 xclude-tag).................(set
52d60 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 20 20 20 28 63 q.is-excluded.t))))...........(c
52d80 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 0a 20 20 20 20 ond............(is-excluded.....
52da0 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 25 73 20 77 ........(message."[ox-hugo].%s.w
52dc0 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 67 67 65 64 20 as.not.exported.as.it.is.tagged.
52de0 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 20 20 20 20 20 with.an.exclude.tag.`%s'".......
52e00 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 6d 61 74 63 68 ...............f-or-b-name.match
52e20 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 20 20 28 74 0a ed-exclude-tag)).............(t.
52e40 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 20 ............(message."[ox-hugo].
52e60 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 66 2d 6f 72 2d Exporting.`%s'.(%s)".title.f-or-
52e80 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 65 74 20 28 6f b-name).............(setq.ret.(o
52ea0 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 6e 69 6c 20 76 rg-hugo-export-to-md.async.nil.v
52ec0 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 74 20 28 28 6d isible-only)))))........(let.((m
52ee0 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 6d 70 74 65 64 sg."The.entire.file.is.attempted
52f00 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 6d 69 73 73 69 .to.be.exported,.but.it.is.missi
52f20 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 20 20 20 20 20 ng.the.#+title.keyword")........
52f40 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 20 20 20 20 20 .....(error-fn.(if.noerror......
52f60 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 61 67 65 0a 20 .....................#'message..
52f80 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 65 72 2d 65 72 .......................#'user-er
52fa0 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 2d 66 6e 0a 20 ror))).........(apply.error-fn..
52fc0 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 20 22 5b 6f 78 ..............(list.(format."[ox
52fe0 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 6d 73 67 29 29 -hugo].%s:.%s".f-or-b-name.msg))
53000 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 75 67 6f 2d 2d ))).....ret))..(defun.org-hugo--
53020 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 6f 6e 61 6c 20 export-subtree-to-md.(&optional.
53040 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 72 65 65 73 29 async.visible-only.all-subtrees)
53060 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 72 65 65 20 74 ..."Export.the.current.subtree.t
53080 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 69 73 20 61 6e o.a.Hugo.post...Note:.This.is.an
530a0 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 2d 68 75 67 .internal.function,.use.`org-hug
530c0 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 0a 0a 41 20 o-export-wim-to-md'.instead...A.
530e0 6e 6f 6e 2d 6e 69 6c 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 41 53 59 4e 43 20 non-nil.optional.argument.ASYNC.
53100 6d 65 61 6e 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 73 68 6f 75 6c 64 20 68 61 70 70 65 6e 0a means.the.process.should.happen.
53120 61 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 2e 20 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 66 asynchronously...The.resulting.f
53140 69 6c 65 20 73 68 6f 75 6c 64 20 62 65 20 61 63 63 65 73 73 69 62 6c 65 20 74 68 72 6f 75 67 68 ile.should.be.accessible.through
53160 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 65 72 66 61 63 .the.`org-export-stack'.interfac
53180 65 2e 0a 0a 57 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 e...When.optional.argument.VISIB
531a0 4c 45 2d 4f 4e 4c 59 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 LE-ONLY.is.non-nil,.don't.export
531c0 0a 63 6f 6e 74 65 6e 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 57 .contents.of.hidden.elements...W
531e0 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 55 42 54 52 45 hen.optional.argument.ALL-SUBTRE
53200 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 62 74 72 65 65 ES.is.non-nil,.print.the.subtree
53220 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 49 66 20 70 6f -number.being.exported...-.If.po
53240 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 6f 73 74 20 73 int.is.under.a.valid.Hugo.post.s
53260 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 73 6f 20 72 65 ubtree,.export.it,.and...also.re
53280 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 2e 0a 0a 2d 20 turn.the.exported.file.name...-.
532a0 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 69 64 20 48 75 If.point.is.not.under.a.valid.Hu
532c0 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 69 73 74 73 0a go.post.subtree,.but.one.exists.
532e0 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 2c 20 64 6f 20 ..elsewhere.in.the.Org.file,.do.
53300 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 69 6c 6c 0a 20 not.export.anything,.but.still..
53320 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 6e 69 6c 2e 22 .return.t...-.Else,.return.nil."
53340 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 2d 2d 67 65 74 ...(let.((subtree.(org-hugo--get
53360 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 75 62 74 72 65 -valid-subtree))).....(if.subtre
53380 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 61 20 76 61 6c e.........;;.If.subtree.is.a.val
533a0 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 65 64 20 2e 2e id.Hugo.post.subtree,.proceed...
533c0 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 63 6f 6d 62 69 .........(let*.((info.(org-combi
533e0 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 20 20 20 20 20 ne-plists.......................
53400 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 72 69 62 75 74 (org-export--get-export-attribut
53420 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 68 75 67 6f 20 es........................'hugo.
53440 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 20 20 20 20 20 subtree.visible-only)...........
53460 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 62 75 66 ............(org-export--get-buf
53480 66 65 72 2d 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 fer-attributes).................
534a0 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 6e ......(org-export-get-environmen
534c0 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 20 20 20 20 20 t.'hugo.subtree)))..............
534e0 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 6e 66 6f 20 ..(exclude-tags.(plist-get.info.
53500 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 20 20 20 28 :exclude-tags))................(
53520 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 2d 2d 67 65 74 is-commented.(cdr.(org-hugo--get
53540 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 29 29 29 0a 20 -elem-with-prop.:commentedp)))..
53560 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 61 64 69 6e 67 ..............(commented-heading
53580 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 20 20 20 20 20 .(when.is-commented.............
535a0 20 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 ........................(org-ele
535c0 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 20 20 20 20 20 ment-property.:title............
535e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 61 72 20 ...........................(car.
53600 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 63 (org-hugo--get-elem-with-prop.:c
53620 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 20 20 20 69 73 ommentedp)))))................is
53640 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 61 67 20 72 65 -excluded.matched-exclude-tag.re
53660 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 6f 72 67 2d 68 t)...........;;.(message."[org-h
53680 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 42 47 5d 20 65 ugo--export-subtree-to-md.DBG].e
536a0 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 25 73 22 20 65 xclude-tags.=...........;;.%s".e
536c0 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 20 28 28 61 6c xclude-tags)...........(let.((al
536e0 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 6e 68 65 72 69 l-tags.(let.((org-use-tag-inheri
53700 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 20 20 20 20 20 tance.t)).......................
53720 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 29 29 0a 20 20 ......(org-hugo--get-tags))))...
53740 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 20 20 20 20 ..........(when.all-tags........
53760 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 20 65 78 63 6c .......(dolist.(exclude-tag.excl
53780 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 77 68 65 6e 20 ude-tags).................(when.
537a0 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 73 29 0a 20 20 (member.exclude-tag.all-tags)...
537c0 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 65 64 2d 65 78 ................(setq.matched-ex
537e0 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 20 20 20 20 20 clude-tag.exclude-tag)..........
53800 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 74 29 29 29 29 .........(setq.is-excluded.t))))
53820 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 63 75 72 72 65 )............;;.(message."[curre
53840 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 22 20 73 75 62 nt.subtree.DBG].subtree:.%S".sub
53860 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 20 22 5b 63 75 tree)...........;;.(message."[cu
53880 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 6e 74 65 64 3a rrent.subtree.DBG].is-commented:
538a0 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 73 2d 65 78 63 %S,.tags:%S,...........;;.is-exc
538c0 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 20 69 73 2d 65 luded:%S".is-commented.tags.is-e
538e0 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 69 74 6c 65 20 xcluded)...........(let.((title.
53900 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 65 20 73 75 62 (org-element-property.:title.sub
53920 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 49 58 4d 45 3a tree)).................;;.FIXME:
53940 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 2d 70 61 74 68 .Sometimes.`org-get-outline-path
53960 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 20 20 20 3b 3b '.returns.the.................;;
53980 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 6d 65 6e 74 73 .list.with.empty.string.elements
539a0 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 20 20 20 20 20 ..It's.not.clear................
539c0 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 64 65 6c 65 74 .;;.why,.but.the.below.`cl-delet
539e0 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 20 20 20 20 20 e-if'.workarounds.works.........
53a00 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 20 20 20 20 20 ........;;.(for.now)............
53a20 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 20 28 63 6c 2d ......(current-outline-path.(cl-
53a40 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 20 20 20 20 20 delete-if.......................
53a60 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 6c 29 0a 20 20 .................(lambda.(el)...
53a80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
53aa0 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 20 20 20 20 20 .......(string=.el."")).........
53ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
53ae0 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 73 65 6c 66 29 org-get-outline-path.:with-self)
53b00 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 62 61 74 63 68 )).................;;.When.batch
53b20 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 20 63 61 6c 6c -exporting.subtrees,.do.not.call
53b40 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 67 6f 2d 2d 61 .................;;.`org-hugo--a
53b60 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 61 66 74 65 72 fter-all-exports-function'.after
53b80 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 62 74 72 65 65 .each.................;;.subtree
53ba0 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 74 20 66 75 6e .export...In.that.case,.that.fun
53bc0 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 20 63 61 6c 6c ction.is.................;;.call
53be0 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 61 6c 6c 20 74 ed.*after*.looping.through.all.t
53c00 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 73 75 62 74 72 he.post.................;;.subtr
53c20 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 75 67 6f 2d 2d ees..................(org-hugo--
53c40 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 6f 6f 6b 20 61 disable-after-all-exports-hook.a
53c60 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 3b 20 28 6d 65 ll-subtrees)).............;;.(me
53c80 73 73 61 67 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 ssage."[org-hugo--export-subtree
53ca0 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 72 65 6e 74 2d -to-md.dbg].@.point.%S,.current-
53cc0 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 20 20 20 3b 3b outline-path:.%S".............;;
53ce0 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 75 74 6c 69 6e ..........(point).current-outlin
53d00 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 20 20 20 20 20 e-path).............(cond.......
53d20 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 20 20 20 20 20 .......(is-commented............
53d40 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 6e 74 65 64 2d ...(if.(string=.title.commented-
53d60 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 28 6d 65 73 73 heading)...................(mess
53d80 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 20 65 78 70 6f age."[ox-hugo].`%s'.was.not.expo
53da0 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 22 20 74 69 74 rted.as.it.is.commented.out".tit
53dc0 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 65 20 22 5b 6f le).................(message."[o
53de0 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
53e00 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 20 60 25 73 27 .one.of.its.parent.subtrees.`%s'
53e20 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 20 20 20 20 20 .is.commented.out"..............
53e40 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 2d 68 65 61 64 ............title.commented-head
53e60 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 6c 75 64 65 64 ing)))..............(is-excluded
53e80 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 78 2d 68 75 67 ...............(message."[ox-hug
53ea0 6f 5d 20 60 25 73 27 20 77 61 73 20 6e 6f 74 20 65 78 70 6f 72 74 65 64 20 61 73 20 69 74 20 69 o].`%s'.was.not.exported.as.it.i
53ec0 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 67 20 60 25 73 s.tagged.with.an.exclude.tag.`%s
53ee0 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 69 74 6c 65 20 '"........................title.
53f00 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 20 20 20 20 20 matched-exclude-tag))...........
53f20 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 2d 73 75 62 74 ...(t...............(if.all-subt
53f40 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 67 6e 0a 20 20 rees...................(progn...
53f60 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 2d 68 75 67 6f ..................(setq.org-hugo
53f80 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 6f 2d 2d 73 75 --subtree-count.(1+.org-hugo--su
53fa0 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 20 20 20 20 20 btree-count))...................
53fc0 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 78 70 6f 72 74 ..(message."[ox-hugo].%d/.Export
53fe0 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 72 65 65 2d 63 ing.`%s'...".org-hugo--subtree-c
54000 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 20 20 28 6d 65 ount.title)).................(me
54020 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 60 25 73 27 20 ssage."[ox-hugo].Exporting.`%s'.
54040 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 3b 3b 20 28 6d ..".title))................;;.(m
54060 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 62 74 72 65 essage."[org-hugo--export-subtre
54080 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 4e 55 20 76 61 e-to-md.dbg].EXPORT_HUGO_MENU.va
540a0 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 20 20 20 20 20 lue:.%S"...............;;.......
540c0 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 52 54 5f 48 55 ...(org-entry-get.nil."EXPORT_HU
540e0 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 20 20 20 20 20 GO_MENU".:inherit)).............
54100 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 65 20 63 6f 6f ..;;.Get.the.current.subtree.coo
54120 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 3b 3b 20 61 75 rdinates.for...............;;.au
54140 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 20 77 65 69 67 to-calculation.of.menu.item.weig
54160 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 3b 20 74 61 78 ht,.page.or...............;;.tax
54180 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 20 20 20 20 28 onomy.weights..................(
541a0 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 20 20 20 3b 3b when.(or......................;;
541c0 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 72 20 69 73 20 ....if.the.menu.front-matter.is.
541e0 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 20 20 20 20 20 specified.......................
54200 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 6f 72 67 2d 65 (or.......................(org-e
54220 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 45 4e 55 22 20 ntry-get.nil."EXPORT_HUGO_MENU".
54240 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 20 20 :inherit).......................
54260 28 73 61 76 65 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 (save-excursion.................
54280 20 20 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 29 0a ........(goto-char.(point-min)).
542a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 63 ........................(let.((c
542c0 61 73 65 2d 66 6f 6c 64 2d 73 65 61 72 63 68 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 ase-fold-search.t)).............
542e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 ..............(re-search-forward
54300 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 69 6c 20 3a 6e ."^#\\+hugo_menu:.*:menu".nil.:n
54320 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 20 20 20 20 20 oerror))))......................
54340 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 6e 20 69 73 20 ;;....or.if.auto-calculation.is.
54360 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 20 20 20 20 20 needed.for.page.................
54380 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 2e 0a 20 20 20 .....;;.or.taxonomy.weights.....
543a0 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 20 20 20 20 20 ..................(or...........
543c0 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 74 61 78 6f 6e ............(let.((page-or-taxon
543e0 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 69 6c 20 22 45 omy-weight.(org-entry-get.nil."E
54400 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 29 29 29 0a 20 XPORT_HUGO_WEIGHT".:inherit)))..
54420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e 64 20 28 73 74 72 .......................(and.(str
54440 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 74 29 0a 20 20 ingp.page-or-taxonomy-weight)...
54460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 ...........................(stri
54480 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 61 78 6f 6e 6f ng-match-p."auto".page-or-taxono
544a0 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 20 20 20 20 20 my-weight)))....................
544c0 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 20 20 ...(save-excursion..............
544e0 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 69 6e ...........(goto-char.(point-min
54500 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 74 20 )).........................(let.
54520 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 20 20 ((case-fold-search.t))..........
54540 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 72 77 .................(re-search-forw
54560 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 6f 22 20 6e 69 ard."^#\\+hugo_weight:.*auto".ni
54580 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 20 20 20 20 20 l.:noerror))))).................
545a0 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 72 64 0a 20 20 (setq.org-hugo--subtree-coord...
545c0 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 67 ....................(org-hugo--g
545e0 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 73 75 62 74 et-post-subtree-coordinates.subt
54600 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 28 28 62 75 66 ree)))................(let.((buf
54620 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 73 2d 62 75 66 fer.(if.org-hugo--preprocess-buf
54640 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 20 20 20 fer.............................
54660 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 20 6f 72 67 2d ....(let.((pre-proc-buf.(or.org-
54680 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 20 20 20 20 20 hugo--preprocessed-buffer.......
546a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
546c0 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
546e0 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 20 20 20 20 20 -pre-processed-buffer)))).......
54700 20 20 20 20 20 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
54720 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 62 75 66 66 65 ess.org-hugo--preprocessed-buffe
54740 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 r...............................
54760 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 6f 63 65 73 73 ......(setq.org-hugo--preprocess
54780 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 20 20 20 20 20 ed-buffer.pre-proc-buf).........
547a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 64 64 ............................(add
547c0 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 62 75 66 66 65 -to-list.'org-hugo--opened-buffe
547e0 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 20 20 20 20 20 rs.pre-proc-buf))...............
54800 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 63 2d 62 75 66 ....................pre-proc-buf
54820 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
54840 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 20 20 20 20 20 (current-buffer)))).............
54860 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 66 66 65 72 0a ....(with-current-buffer.buffer.
54880 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 72 20 28 6f 72 ..................(goto-char.(or
548a0 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 70 61 74 68 20 g-find-olp.current-outline-path.
548c0 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 20 20 20 20 20 :this-buffer))..................
548e0 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 2d 74 6f 2d 6d .(setq.ret.(org-hugo-export-to-m
54900 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 6e 6c 79 29 29 d.async.:subtreep.visible-only))
54920 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 20 3b 3b 20 49 )))))...........ret)........;;.I
54940 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 69 64 20 73 75 f.the.point.is.not.in.a.valid.su
54960 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 20 20 20 20 20 btree,.check.if.there's.a.......
54980 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 69 6e 20 74 68 ;;.valid.subtree.elsewhere.in.th
549a0 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 20 28 28 76 61 e.same.Org.file........(let.((va
549c0 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 2d 2d 62 75 66 lid-subtree-found.(org-hugo--buf
549e0 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 70 29 29 29 0a fer-has-valid-post-subtree-p))).
54a00 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 2d 66 6f 75 6e ........(when.valid-subtree-foun
54a20 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 20 69 73 20 6e d...........(message."Point.is.n
54a40 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 74 72 65 65 3b ot.in.a.valid.Hugo.post.subtree;
54a60 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 29 29 0a 20 20 .move.to.one.and.try.again"))...
54a80 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 29 29 0a 0a 28 ......valid-subtree-found))))..(
54aa0 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 63 65 73 73 65 defun.org-hugo--get-pre-processe
54ac0 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 2d 70 72 6f 63 d-buffer.()..."Return.a.pre-proc
54ae0 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 75 66 66 65 72 essed.copy.of.the.current.buffer
54b00 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 73 75 62 74 72 ...Internal.links.to.other.subtr
54b20 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 61 6c 0a 6c 69 ees.are.converted.to.external.li
54b40 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 64 2d 62 75 66 nks."...(let.((pre-processed-buf
54b60 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 6f 63 65 73 73 fer-prefix."*Ox-hugo.Pre-process
54b80 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 20 61 6e 20 61 ed.")).....(let*.(;;.Create.an.a
54ba0 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 66 20 74 68 65 bstract.syntax.tree.(AST).of.the
54bc0 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 20 69 6e 20 74 .Org.document............;;.in.t
54be0 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 20 20 20 28 61 he.current.buffer.............(a
54c00 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 72 29 29 0a 20 st.(org-element-parse-buffer))..
54c20 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 2d 69 6e 68 65 ..........(org-use-property-inhe
54c40 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 65 2d 70 72 6f ritance.(org-hugo--selective-pro
54c60 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 20 20 20 20 28 perty-inheritance))............(
54c80 69 6e 66 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e 65 2d 70 6c 69 73 74 73 0a 20 20 20 20 20 20 20 info.(org-combine-plists........
54ca0 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 65 20 61 73 74 ...........(list.:parse-tree.ast
54cc0 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 2d )...................(org-export-
54ce0 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 6f 29 0a 20 20 -get-export-attributes.'hugo)...
54d00 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 74 ................(org-export--get
54d20 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 20 -buffer-attributes).............
54d40 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 6e ......(org-export-get-environmen
54d60 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 73 73 20 61 6c t.'hugo))))........;;.Process.al
54d80 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 0a 20 20 20 20 l.link.elements.in.the.AST......
54da0 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 6e 6b 20 73 70 ..(org-element-map.ast.'(link.sp
54dc0 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 61 20 28 65 6c ecial-block).........(lambda.(el
54de0 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 28 6f 72 67 2d )...........(let.((el-type.(org-
54e00 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 20 20 20 20 28 element-type.el))).............(
54e20 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 6c 69 6e 6b 20 cond..............((equal.'link.
54e40 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 20 28 28 74 79 el-type)...............(let.((ty
54e60 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 79 70 65 20 65 pe.(org-element-property.:type.e
54e80 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 28 6d 65 6d 62 l))).................(when.(memb
54ea0 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 22 66 75 7a 7a er.type.'("custom-id"."id"."fuzz
54ec0 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 2a 20 28 28 72 y"))...................(let*.((r
54ee0 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 74 79 20 3a 72 aw-link.(org-element-property.:r
54f00 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 20 20 20 20 20 aw-link.el))....................
54f20 20 20 20 20 20 20 28 64 65 73 74 69 6e 61 74 69 6f 6e 20 28 69 66 20 28 73 74 72 69 6e 67 3d 20 ......(destination.(if.(string=.
54f40 74 79 70 65 20 22 66 75 7a 7a 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 type."fuzzy")...................
54f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 ........................(progn..
54f80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
54fa0 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 44 65 72 69 76 65 64 20 66 72 6f 6d 20 6f 78 2e 65 6c ...........;;.Derived.from.ox.el
54fc0 20 2d 3e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 27 2e 20 20 49 66 20 61 20 62 72 6f .->.`org-export-data'...If.a.bro
54fe0 6b 65 6e 20 6c 69 6e 6b 20 69 73 20 73 65 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ken.link.is.seen................
55000 20 20 20 20 20 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 .............................;;.
55020 61 6e 64 20 69 66 20 60 62 72 6f 6b 65 6e 2d 6c 69 6e 6b 73 27 20 6f 70 74 69 6f 6e 20 69 73 20 and.if.`broken-links'.option.is.
55040 6e 6f 74 20 6e 69 6c 2c 20 69 67 6e 6f 72 65 20 74 68 65 20 65 72 72 6f 72 2e 0a 20 20 20 20 20 not.nil,.ignore.the.error.......
55060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55080 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 20 20 20 .......(condition-case.err......
550a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
550c0 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 72 65 73 6f 6c 76 65 2d 66 ...........(org-export-resolve-f
550e0 75 7a 7a 79 2d 6c 69 6e 6b 20 65 6c 20 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 uzzy-link.el.info)..............
55100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55120 20 28 6f 72 67 2d 6c 69 6e 6b 2d 62 72 6f 6b 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .(org-link-broken...............
55140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55160 20 28 75 6e 6c 65 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 .(unless.(or.(plist-get.info.:wi
55180 74 68 2d 62 72 6f 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 th-broken-links)................
551a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
551c0 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 50 61 72 73 65 20 74 68 65 20 60 3a 45 58 50 4f 52 ............;;.Parse.the.`:EXPOR
551e0 54 5f 4f 50 54 49 4f 4e 53 27 20 70 72 6f 70 65 72 74 79 20 69 66 20 73 65 74 0a 20 20 20 20 20 T_OPTIONS'.property.if.set......
55200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55220 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 20 61 20 70 61 ......................;;.in.a.pa
55240 72 65 6e 74 20 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 rent.heading....................
55260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55280 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 20 20 20 20 .........(plist-get.............
552a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
552c0 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 70 61 72 ................(org-export--par
552e0 73 65 2d 6f 70 74 69 6f 6e 2d 6b 65 79 77 6f 72 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 se-option-keyword...............
55300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55320 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
55340 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...........
55360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 45 58 .............................:EX
553a0 50 4f 52 54 5f 4f 50 54 49 4f 4e 53 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 PORT_OPTIONS....................
553c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
553e0 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 6e 74 ....................(org-element
55400 2d 70 72 6f 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 -property.:begin.el)))..........
55420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55440 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 20 ........................""))....
55460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
55480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 77 69 74 68 2d 62 .........................:with-b
554a0 72 6f 6b 65 6e 2d 6c 69 6e 6b 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 roken-links))...................
554c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
554e0 75 73 65 72 2d 65 72 72 6f 72 20 22 55 6e 61 62 6c 65 20 74 6f 20 72 65 73 6f 6c 76 65 20 6c 69 user-error."Unable.to.resolve.li
55500 6e 6b 3a 20 25 53 22 20 28 6e 74 68 20 31 20 65 72 72 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 nk:.%S".(nth.1.err))))))........
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 20 20 20 20 ................................
55540 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.
55560 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
55580 74 69 65 73 20 61 73 74 20 69 6e 66 6f 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ties.ast.info))))...............
555a0 20 20 20 20 20 20 20 20 20 20 20 28 73 6f 75 72 63 65 2d 70 61 74 68 20 28 6f 72 67 2d 68 75 67 ...........(source-path.(org-hug
555c0 6f 2d 2d 68 65 61 64 69 6e 67 2d 67 65 74 2d 73 6c 75 67 20 65 6c 20 69 6e 66 6f 20 3a 69 6e 68 o--heading-get-slug.el.info.:inh
555e0 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 20 erit-export-file-name)).........
55600 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 70 61 .................(destination-pa
55620 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 20 64 th.(org-hugo--heading-get-slug.d
55640 65 73 74 69 6e 61 74 69 6f 6e 20 69 6e 66 6f 20 3a 69 6e 68 65 72 69 74 2d 65 78 70 6f 72 74 2d estination.info.:inherit-export-
55660 66 69 6c 65 2d 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 file-name)).....................
55680 20 20 20 20 20 28 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 79 70 65 20 28 6f 72 67 2d 65 6c 65 6d .....(destination-type.(org-elem
556a0 65 6e 74 2d 74 79 70 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 29 29 0a 20 20 20 20 20 20 20 20 ent-type.destination))).........
556c0 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
556e0 6f 20 70 72 65 20 70 72 6f 63 65 73 73 20 44 42 47 5d 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 o.pre.process.DBG].destination-t
55700 79 70 65 20 3a 20 25 73 22 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 79 70 65 29 0a 0a 20 20 20 ype.:.%s".destination-type).....
55720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 68 61 6e 67 65 20 74 68 65 20 6c .................;;.Change.the.l
55740 69 6e 6b 20 69 66 20 69 74 20 70 6f 69 6e 74 73 20 74 6f 20 61 20 76 61 6c 69 64 0a 20 20 20 20 ink.if.it.points.to.a.valid.....
55760 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 61 74 69 6f 6e 20 6f ................;;.destination.o
55780 75 74 73 69 64 65 20 74 68 65 20 73 75 62 74 72 65 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 utside.the.subtree..............
557a0 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 65 71 75 61 6c 20 73 6f 75 72 63 65 2d 70 61 ........(unless.(equal.source-pa
557c0 74 68 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 th.destination-path)............
557e0 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 69 6e 6b 2d 64 65 73 63 20 28 6f 72 67 ...........(let.((link-desc.(org
55800 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 65 6c 29 29 29 0a 20 20 20 20 20 20 20 20 -element-contents.el))).........
55820 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
55840 2d 68 75 67 6f 20 70 72 65 20 70 72 6f 63 65 73 73 20 44 42 47 5d 20 6c 69 6e 6b 20 64 65 73 63 -hugo.pre.process.DBG].link.desc
55860 3a 20 25 73 22 20 6c 69 6e 6b 2d 64 65 73 63 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 :.%s".link-desc)................
55880 20 20 20 20 20 20 20 20 20 20 3b 3b 20 4f 76 65 72 72 69 64 65 20 74 68 65 20 6c 69 6e 6b 20 74 ..........;;.Override.the.link.t
558a0 79 70 65 73 20 74 6f 20 62 65 20 66 69 6c 65 73 2e 20 20 57 65 0a 20 20 20 20 20 20 20 20 20 20 ypes.to.be.files...We...........
558c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 77 69 6c 6c 20 62 65 20 75 73 69 6e 67 20 6f ..............;;.will.be.using.o
558e0 75 74 2d 6f 66 2d 73 75 62 74 72 65 65 20 6c 69 6e 6b 73 20 61 73 20 6c 69 6e 6b 73 0a 20 20 20 ut-of-subtree.links.as.links....
55900 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 6f 20 64 75 6d 6d 79 .....................;;.to.dummy
55920 20 66 69 6c 65 73 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .files.with.....................
55940 20 20 20 20 3b 3b 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 70 72 65 70 72 6f 63 65 73 73 65 64 2d 62 ....;;.`org-hugo--preprocessed-b
55960 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 27 0a 20 20 20 20 20 20 20 uffer-dummy-file-suffix'........
55980 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 66 66 69 78 2e 0a 20 20 20 20 .................;;.suffix......
559a0 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 6e 74 ....................(org-element
559c0 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 20 65 6c 20 3a 74 79 70 65 20 22 66 69 6c 65 22 29 0a 20 -put-property.el.:type."file")..
559e0 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
55a00 65 6e 74 2d 70 75 74 2d 70 72 6f 70 65 72 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ent-put-property................
55a20 20 20 20 20 20 20 20 20 20 20 65 6c 20 3a 70 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........el.:path..............
55a40 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 20 20 ............(cond...............
55a60 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 66 20 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f ............;;.If.the.destinatio
55a80 6e 20 69 73 20 61 20 68 65 61 64 69 6e 67 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 20 20 20 20 n.is.a.heading.with.the.........
55aa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 3a 45 58 50 4f 52 54 5f 46 49 4c ..................;;.:EXPORT_FIL
55ac0 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 79 20 64 65 66 69 6e 65 64 2c 20 74 68 65 0a 20 20 20 E_NAME.property.defined,.the....
55ae0 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 6e 6b 20 73 .......................;;.link.s
55b00 68 6f 75 6c 64 20 70 6f 69 6e 74 20 74 6f 20 74 68 65 20 66 69 6c 65 20 28 77 69 74 68 6f 75 74 hould.point.to.the.file.(without
55b20 0a 20 20 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 61 6e ...........................;;.an
55b40 63 68 6f 72 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 chor)...........................
55b60 20 28 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 70 72 6f 70 65 72 74 79 20 3a 45 58 50 4f 52 54 5f .((org-element-property.:EXPORT_
55b80 46 49 4c 45 5f 4e 41 4d 45 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 FILE_NAME.destination)..........
55ba0 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 65 73 74 69 6e ..................(concat.destin
55bc0 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 63 65 73 73 65 ation-path.org-hugo--preprocesse
55be0 64 2d 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 29 29 0a 20 20 20 d-buffer-dummy-file-suffix))....
55c00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 48 75 67 6f 20 6f .......................;;.Hugo.o
55c20 6e 6c 79 20 73 75 70 70 6f 72 74 73 20 61 6e 63 68 6f 72 73 20 74 6f 20 68 65 61 64 69 6e 67 73 nly.supports.anchors.to.headings
55c40 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 ,...........................;;.s
55c60 6f 20 69 66 20 61 20 22 66 75 7a 7a 79 22 20 74 79 70 65 20 6c 69 6e 6b 20 70 6f 69 6e 74 73 20 o.if.a."fuzzy".type.link.points.
55c80 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 20 20 20 20 3b 3b 20 to...........................;;.
55ca0 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 20 74 68 61 6e 20 61 20 68 65 61 64 69 6e 67 2c 20 69 74 anything.else.than.a.heading,.it
55cc0 20 73 68 6f 75 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .should.........................
55ce0 20 20 3b 3b 20 70 6f 69 6e 74 20 74 6f 20 74 68 65 20 66 69 6c 65 2e 0a 20 20 20 20 20 20 20 20 ..;;.point.to.the.file..........
55d00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 28 73 74 72 69 6e 67 3d ..................((and.(string=
55d20 20 74 79 70 65 20 22 66 75 7a 7a 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .type."fuzzy")..................
55d40 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 2d 70 72 65 66 ...............(not.(string-pref
55d60 69 78 2d 70 20 22 2a 22 20 72 61 77 2d 6c 69 6e 6b 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 ix-p."*".raw-link)))............
55d80 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 65 73 74 69 6e 61 74 ................(concat.destinat
55da0 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 63 65 73 73 65 64 2d ion-path.org-hugo--preprocessed-
55dc0 62 75 66 66 65 72 2d 64 75 6d 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 29 29 0a 20 20 20 20 20 buffer-dummy-file-suffix))......
55de0 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 63 75 73 74 .....................;;.In."cust
55e00 6f 6d 2d 69 64 22 20 74 79 70 65 20 6c 69 6e 6b 73 2c 20 74 68 65 20 72 61 77 2d 6c 69 6e 6b 0a om-id".type.links,.the.raw-link.
55e20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6d 61 74 ..........................;;.mat
55e40 63 68 65 73 20 74 68 65 20 61 6e 63 68 6f 72 20 6f 66 20 74 68 65 20 64 65 73 74 69 6e 61 74 69 ches.the.anchor.of.the.destinati
55e60 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 on............................((
55e80 73 74 72 69 6e 67 3d 20 74 79 70 65 20 22 63 75 73 74 6f 6d 2d 69 64 22 29 0a 20 20 20 20 20 20 string=.type."custom-id").......
55ea0 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 65 73 .....................(concat.des
55ec0 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 63 65 tination-path.org-hugo--preproce
55ee0 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 22 3a ssed-buffer-dummy-file-suffix.":
55f00 3a 22 20 72 61 77 2d 6c 69 6e 6b 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 :".raw-link))...................
55f20 20 20 20 20 20 20 20 20 3b 3b 20 49 6e 20 22 69 64 22 20 61 6e 64 20 22 66 75 7a 7a 79 22 20 74 ........;;.In."id".and."fuzzy".t
55f40 79 70 65 20 6c 69 6e 6b 73 2c 20 74 68 65 20 61 6e 63 68 6f 72 0a 20 20 20 20 20 20 20 20 20 20 ype.links,.the.anchor...........
55f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 66 20 74 68 65 20 64 65 73 74 69 6e ................;;.of.the.destin
55f80 61 74 69 6f 6e 20 69 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 20 ation.is.derived.from.the.......
55fa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 3a 43 55 53 54 4f 4d 5f 49 ....................;;.:CUSTOM_I
55fc0 44 20 70 72 6f 70 65 72 74 79 20 6f 72 20 74 68 65 20 74 69 74 6c 65 2e 0a 20 20 20 20 20 20 20 D.property.or.the.title.........
55fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 20 ...................(t...........
56000 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 6e 63 68 6f 72 20 28 .................(let.((anchor.(
56020 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 61 6e 63 68 6f 72 20 64 65 73 74 69 6e 61 74 69 6f 6e org-hugo--get-anchor.destination
56040 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 20 .info)))........................
56060 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
56080 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
560a0 6d 79 2d 66 69 6c 65 2d 73 75 66 66 69 78 20 22 3a 3a 23 22 20 61 6e 63 68 6f 72 29 29 29 29 29 my-file-suffix."::#".anchor)))))
560c0 0a 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 66 20 74 .........................;;.If.t
560e0 68 65 20 6c 69 6e 6b 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 69 73 20 61 20 68 65 61 64 69 6e 67 he.link.destination.is.a.heading
56100 20 61 6e 64 20 69 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .and.if.........................
56120 3b 3b 20 75 73 65 72 20 68 61 73 6e 27 74 20 73 65 74 20 74 68 65 20 6c 69 6e 6b 20 64 65 73 63 ;;.user.hasn't.set.the.link.desc
56140 72 69 70 74 69 6f 6e 2c 20 73 65 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ription,.set.the................
56160 20 20 20 20 20 20 20 20 20 3b 3b 20 64 65 73 63 72 69 70 74 69 6f 6e 20 74 6f 20 74 68 65 20 64 .........;;.description.to.the.d
56180 65 73 74 69 6e 61 74 69 6f 6e 20 68 65 61 64 69 6e 67 20 74 69 74 6c 65 2e 0a 20 20 20 20 20 20 estination.heading.title........
561a0 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
561c0 6c 6c 20 6c 69 6e 6b 2d 64 65 73 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ll.link-desc)...................
561e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 27 68 65 61 64 6c 69 6e .................(equal.'headlin
56200 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 2d 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 e.destination-type))............
56220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 68 65 61 64 69 6e 67 2d 74 69 ...............(let.((heading-ti
56240 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 20 20 20 20 tle.............................
56260 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 64 61 74 61 2d 77 69 74 68 2d 62 61 63 6b 65 .....(org-export-data-with-backe
56280 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 20 nd..............................
562a0 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 6c .....(org-element-property.:titl
562c0 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 29 20 27 61 73 63 69 69 20 69 6e 66 6f 29 29 29 0a 20 20 e.destination).'ascii.info)))...
562e0 20 20 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
56300 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 73 73 20 44 42 47 5d ssage."[ox-hugo.pre.process.DBG]
56320 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 68 65 61 64 69 6e 67 3a 20 25 73 22 20 68 65 61 64 69 6e .destination.heading:.%s".headin
56340 67 2d 74 69 74 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 g-title)........................
56360 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 73 65 74 2d 63 6f 6e 74 65 6e 74 73 20 65 .....(org-element-set-contents.e
56380 6c 20 68 65 61 64 69 6e 67 2d 74 69 74 6c 65 29 29 29 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 l.heading-title)))))))))........
563a0 20 20 20 20 20 20 28 28 65 71 75 61 6c 20 27 73 70 65 63 69 61 6c 2d 62 6c 6f 63 6b 20 65 6c 2d ......((equal.'special-block.el-
563c0 74 79 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 48 61 6e 64 6c 65 20 65 6d type)...............;;.Handle.em
563e0 70 74 79 20 4f 72 67 20 73 70 65 63 69 61 6c 20 62 6c 6f 63 6b 73 2e 20 20 57 68 65 6e 20 65 6d pty.Org.special.blocks...When.em
56400 70 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 62 6c 6f 63 6b 73 20 61 72 65 20 pty...............;;.blocks.are.
56420 66 6f 75 6e 64 2c 20 73 65 74 20 74 68 61 74 20 65 6c 65 6d 65 6e 74 73 20 63 6f 6e 74 65 6e 74 found,.set.that.elements.content
56440 20 61 73 20 22 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 .as.""...............;;.instead.
56460 6f 66 20 6e 69 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6f of.nil................(unless.(o
56480 72 67 2d 65 6c 65 6d 65 6e 74 2d 63 6f 6e 74 65 6e 74 73 20 65 6c 29 0a 20 20 20 20 20 20 20 20 rg-element-contents.el).........
564a0 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 61 64 6f 70 74 2d 65 6c 65 6d 65 ........(org-element-adopt-eleme
564c0 6e 74 73 20 65 6c 20 22 22 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 6e 69 6c 29 29 20 3b nts.el."")))))...........nil)).;
564e0 4d 69 6e 6f 72 20 70 65 72 66 6f 72 6d 61 6e 63 65 20 6f 70 74 69 6d 69 7a 61 74 69 6f 6e 3a 20 Minor.performance.optimization:.
56500 4d 61 6b 65 20 60 6f 72 67 2d 65 6c 65 6d 65 6e 74 2d 6d 61 70 27 20 6c 61 6d 62 64 61 20 72 65 Make.`org-element-map'.lambda.re
56520 74 75 72 6e 20 61 20 6e 69 6c 2e 0a 0a 20 20 20 20 20 20 28 77 68 65 6e 20 28 76 65 72 73 69 6f turn.a.nil.........(when.(versio
56540 6e 3c 20 22 32 35 2e 39 39 22 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 29 20 3b 60 6b 69 6c 6c n<."25.99".emacs-version).;`kill
56560 2d 6d 61 74 63 68 69 6e 67 2d 62 75 66 66 65 72 73 27 20 67 6f 74 20 60 3a 6e 6f 2d 61 73 6b 27 -matching-buffers'.got.`:no-ask'
56580 20 61 72 67 20 69 6e 20 65 6d 61 63 73 20 32 36 2e 31 0a 20 20 20 20 20 20 20 20 3b 3b 20 68 74 .arg.in.emacs.26.1.........;;.ht
565a0 74 70 73 3a 2f 2f 67 69 74 2e 73 61 76 61 6e 6e 61 68 2e 67 6e 75 2e 6f 72 67 2f 63 67 69 74 2f tps://git.savannah.gnu.org/cgit/
565c0 65 6d 61 63 73 2e 67 69 74 2f 63 6f 6d 6d 69 74 2f 3f 69 64 3d 37 30 64 30 31 64 61 63 65 64 64 emacs.git/commit/?id=70d01dacedd
565e0 65 62 34 65 34 63 34 39 63 37 39 34 37 33 63 38 31 34 32 30 66 36 35 66 66 64 32 39 30 0a 20 20 eb4e4c49c79473c81420f65ffd290...
56600 20 20 20 20 20 20 3b 3b 20 46 69 72 73 74 20 6b 69 6c 6c 20 61 6c 6c 20 74 68 65 20 6f 6c 64 20 ......;;.First.kill.all.the.old.
56620 70 72 65 2d 70 72 6f 63 65 73 73 65 64 20 62 75 66 66 65 72 73 20 69 66 20 73 74 69 6c 6c 20 6c pre-processed.buffers.if.still.l
56640 65 66 74 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 66 6f 72 20 61 6e 79 20 72 65 61 73 eft.open.........;;.for.any.reas
56660 6f 6e 2e 0a 20 20 20 20 20 20 20 20 28 6b 69 6c 6c 2d 6d 61 74 63 68 69 6e 67 2d 62 75 66 66 65 on..........(kill-matching-buffe
56680 72 73 20 28 72 65 67 65 78 70 2d 71 75 6f 74 65 20 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2d 62 rs.(regexp-quote.pre-processed-b
566a0 75 66 66 65 72 2d 70 72 65 66 69 78 29 20 3a 69 6e 74 65 72 6e 61 6c 2d 74 6f 6f 20 3a 6e 6f 2d uffer-prefix).:internal-too.:no-
566c0 61 73 6b 29 29 0a 0a 20 20 20 20 20 20 3b 3b 20 54 75 72 6e 20 74 68 65 20 41 53 54 20 77 69 74 ask))........;;.Turn.the.AST.wit
566e0 68 20 75 70 64 61 74 65 64 20 6c 69 6e 6b 73 20 69 6e 74 6f 20 61 6e 20 4f 72 67 20 62 75 66 66 h.updated.links.into.an.Org.buff
56700 65 72 2e 0a 20 20 20 20 20 20 28 6c 65 74 20 28 28 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 er........(let.((local-variables
56720 20 28 62 75 66 66 65 72 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 29 29 0a 20 20 20 20 20 .(buffer-local-variables))......
56740 20 20 20 20 20 20 20 28 62 6f 75 6e 64 2d 76 61 72 69 61 62 6c 65 73 20 28 6f 72 67 2d 65 78 70 .......(bound-variables.(org-exp
56760 6f 72 74 2d 2d 6c 69 73 74 2d 62 6f 75 6e 64 2d 76 61 72 69 61 62 6c 65 73 29 29 0a 20 20 20 20 ort--list-bound-variables)).....
56780 20 20 20 20 20 20 20 20 28 62 75 66 66 65 72 20 28 67 65 6e 65 72 61 74 65 2d 6e 65 77 2d 62 75 ........(buffer.(generate-new-bu
567a0 66 66 65 72 20 28 63 6f 6e 63 61 74 20 70 72 65 2d 70 72 6f 63 65 73 73 65 64 2d 62 75 66 66 65 ffer.(concat.pre-processed-buffe
567c0 72 2d 70 72 65 66 69 78 20 28 62 75 66 66 65 72 2d 6e 61 6d 65 29 20 22 20 2a 22 29 29 29 29 0a r-prefix.(buffer-name).".*")))).
567e0 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 66 ........(with-current-buffer.buf
56800 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 76 61 72 73 29 0a 20 20 20 20 20 20 fer...........(let.(vars).......
56820 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)
56840 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 43 6f 70 79 20 73 70 65 63 69 66 69 63 20 62 75 .............;;.Copy.specific.bu
56860 66 66 65 72 20 6c 6f 63 61 6c 20 76 61 72 69 61 62 6c 65 73 20 61 6e 64 20 76 61 72 69 61 62 6c ffer.local.variables.and.variabl
56880 65 73 20 73 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 72 6f 75 67 68 20 42 49 es.set.............;;.through.BI
568a0 4e 44 20 6b 65 79 77 6f 72 64 73 2e 20 20 42 65 6c 6f 77 20 73 6e 69 70 70 65 74 20 69 73 20 63 ND.keywords...Below.snippet.is.c
568c0 6f 70 69 65 64 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 6f 78 2e 65 6c 20 opied.from.............;;.ox.el.
568e0 2d 3e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 6e 65 72 61 74 65 2d 63 6f 70 79 2d 73 63 ->.`org-export--generate-copy-sc
56900 72 69 70 74 27 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 64 6f 6c 69 73 74 20 28 65 6e 74 72 ript'..............(dolist.(entr
56920 79 20 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 20 76 61 72 73 29 0a 20 20 20 20 20 20 20 20 y.local-variables.vars).........
56940 20 20 20 20 20 20 28 77 68 65 6e 20 28 63 6f 6e 73 70 20 65 6e 74 72 79 29 0a 20 20 20 20 20 20 ......(when.(consp.entry).......
56960 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 76 61 72 20 28 63 61 72 20 65 6e 74 72 79 29 ..........(let.((var.(car.entry)
56980 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 76 61 6c 20 28 63 64 ).......................(val.(cd
569a0 72 20 65 6e 74 72 79 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 6e r.entry)))...................(an
569c0 64 20 28 6e 6f 74 20 28 6d 65 6d 71 20 76 61 72 20 6f 72 67 2d 65 78 70 6f 72 74 2d 69 67 6e 6f d.(not.(memq.var.org-export-igno
569e0 72 65 64 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 red-local-variables))...........
56a00 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 28 6d 65 6d 71 20 76 61 72 0a 20 20 20 20 20 .............(or.(memq.var......
56a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 64 65 ............................'(de
56a40 66 61 75 6c 74 2d 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 fault-directory.................
56a60 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 2d 66 69 6c 65 2d ....................buffer-file-
56a80 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 20 20 name............................
56aa0 20 20 20 20 20 20 20 20 20 62 75 66 66 65 72 2d 66 69 6c 65 2d 63 6f 64 69 6e 67 2d 73 79 73 74 .........buffer-file-coding-syst
56ac0 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 20 20 20 em))............................
56ae0 28 61 73 73 71 20 76 61 72 20 62 6f 75 6e 64 2d 76 61 72 69 61 62 6c 65 73 29 0a 20 20 20 20 20 (assq.var.bound-variables)......
56b00 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 61 ......................(string-ma
56b20 74 63 68 20 22 5e 5c 5c 28 6f 72 67 2d 5c 5c 7c 6f 72 67 74 62 6c 2d 5c 5c 29 22 0a 20 20 20 20 tch."^\\(org-\\|orgtbl-\\)".....
56b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
56b60 20 20 20 20 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 76 61 72 29 29 29 0a 20 20 20 20 20 20 20 .....(symbol-name.var)))........
56b80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 53 6b 69 70 20 75 6e 72 65 61 64 61 62 ................;;.Skip.unreadab
56ba0 6c 65 20 76 61 6c 75 65 73 2c 20 61 73 20 74 68 65 79 20 63 61 6e 6e 6f 74 20 62 65 0a 20 20 20 le.values,.as.they.cannot.be....
56bc0 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 6e 74 20 74 6f 20 65 ....................;;.sent.to.e
56be0 78 74 65 72 6e 61 6c 20 70 72 6f 63 65 73 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 xternal.process.................
56c00 20 20 20 20 20 20 20 20 28 6f 72 20 28 6e 6f 74 20 76 61 6c 29 20 28 69 67 6e 6f 72 65 2d 65 72 ........(or.(not.val).(ignore-er
56c20 72 6f 72 73 20 28 72 65 61 64 20 28 66 6f 72 6d 61 74 20 22 25 53 22 20 76 61 6c 29 29 29 29 0a rors.(read.(format."%S".val)))).
56c40 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 28 73 65 .......................(push.(se
56c60 74 20 28 6d 61 6b 65 2d 6c 6f 63 61 6c 2d 76 61 72 69 61 62 6c 65 20 76 61 72 29 20 76 61 6c 29 t.(make-local-variable.var).val)
56c80 20 76 61 72 73 29 29 29 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 .vars)))))..............(insert.
56ca0 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 61 20 61 73 74 29 (org-element-interpret-data.ast)
56cc0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 2d 62 75 66 66 65 72 2d 6d 6f 64 69 66 69 ).............(set-buffer-modifi
56ce0 65 64 2d 70 20 6e 69 6c 29 29 29 0a 20 20 20 20 20 20 20 20 62 75 66 66 65 72 29 29 29 29 0a 0a ed-p.nil))).........buffer))))..
56d00 0a 0c 0a 3b 3b 3b 20 49 6e 74 65 72 61 63 74 69 76 65 20 66 75 6e 63 74 69 6f 6e 73 0a 0a 3b 3b ...;;;.Interactive.functions..;;
56d20 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 ;###autoload.(defun.org-hugo-exp
56d40 6f 72 74 2d 61 73 2d 6d 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e 63 20 73 75 62 74 72 ort-as-md.(&optional.async.subtr
56d60 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 63 75 72 72 eep.visible-only)..."Export.curr
56d80 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 61 74 69 62 6c 65 20 ent.buffer.to.a.Hugo-compatible.
56da0 4d 61 72 6b 64 6f 77 6e 20 62 75 66 66 65 72 2e 0a 0a 49 66 20 6e 61 72 72 6f 77 69 6e 67 20 69 Markdown.buffer...If.narrowing.i
56dc0 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 2c 20 s.active.in.the.current.buffer,.
56de0 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 0a 0a only.export.its.narrowed.part...
56e00 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 74 68 If.a.region.is.active,.export.th
56e20 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 20 61 at.region...A.non-nil.optional.a
56e40 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 73 20 rgument.ASYNC.means.the.process.
56e60 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 20 54 should.happen.asynchronously...T
56e80 68 65 20 72 65 73 75 6c 74 69 6e 67 20 62 75 66 66 65 72 20 73 68 6f 75 6c 64 20 62 65 20 61 63 he.resulting.buffer.should.be.ac
56ea0 63 65 73 73 69 62 6c 65 0a 74 68 72 6f 75 67 68 20 74 68 65 20 60 6f 72 67 2d 65 78 70 6f 72 74 cessible.through.the.`org-export
56ec0 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
56ee0 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,.
56f00 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
56f20 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
56f40 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
56f60 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.
56f80 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
56fa0 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 45 78 70 6f 72 74 20 69 73 20 64 6f f.hidden.elements...Export.is.do
56fc0 6e 65 20 69 6e 20 61 20 62 75 66 66 65 72 20 6e 61 6d 65 64 20 5c 22 2a 4f 72 67 20 48 75 67 6f ne.in.a.buffer.named.\"*Org.Hugo
56fe0 20 45 78 70 6f 72 74 2a 5c 22 2c 20 77 68 69 63 68 0a 77 69 6c 6c 20 62 65 20 64 69 73 70 6c 61 .Export*\",.which.will.be.displa
57000 79 65 64 20 77 68 65 6e 20 60 6f 72 67 2d 65 78 70 6f 72 74 2d 73 68 6f 77 2d 74 65 6d 70 6f 72 yed.when.`org-export-show-tempor
57020 61 72 79 2d 65 78 70 6f 72 74 2d 62 75 66 66 65 72 27 0a 69 73 20 6e 6f 6e 2d 6e 69 6c 2e 0a 0a ary-export-buffer'.is.non-nil...
57040 52 65 74 75 72 6e 20 74 68 65 20 62 75 66 66 65 72 20 74 68 65 20 65 78 70 6f 72 74 20 68 61 70 Return.the.buffer.the.export.hap
57060 70 65 6e 65 64 20 74 6f 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6f 72 pened.to."...(interactive)...(or
57080 67 2d 68 75 67 6f 2d 2d 62 65 66 6f 72 65 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e 20 73 g-hugo--before-export-function.s
570a0 75 62 74 72 65 65 70 29 0a 20 20 3b 3b 20 41 6c 6c 6f 77 20 63 65 72 74 61 69 6e 20 60 6f 78 2d ubtreep)...;;.Allow.certain.`ox-
570c0 68 75 67 6f 27 20 70 72 6f 70 65 72 74 69 65 73 20 74 6f 20 62 65 20 69 6e 68 65 72 69 74 65 64 hugo'.properties.to.be.inherited
570e0 2e 0a 20 20 28 6c 65 74 20 28 28 6f 72 67 2d 75 73 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 ....(let.((org-use-property-inhe
57100 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 65 2d 70 72 6f ritance.(org-hugo--selective-pro
57120 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 20 28 69 6e 66 perty-inheritance)).........(inf
57140 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e 65 2d 70 6c 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 o.(org-combine-plists...........
57160 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
57180 72 69 62 75 74 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 68 75 67 6f 20 73 75 ributes.................'hugo.su
571a0 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 btreep.visible-only)............
571c0 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 62 75 66 66 65 72 2d 61 74 74 72 ....(org-export--get-buffer-attr
571e0 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f ibutes)................(org-expo
57200 72 74 2d 67 65 74 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 rt-get-environment.'hugo.subtree
57220 70 29 29 29 29 0a 20 20 20 20 28 70 72 6f 67 31 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 p)))).....(prog1.........(org-ex
57240 70 6f 72 74 2d 74 6f 2d 62 75 66 66 65 72 20 27 68 75 67 6f 20 22 2a 4f 72 67 20 48 75 67 6f 20 port-to-buffer.'hugo."*Org.Hugo.
57260 45 78 70 6f 72 74 2a 22 0a 20 20 20 20 20 20 20 20 20 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 Export*"...........async.subtree
57280 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 6e 69 6c 20 6e 69 6c 20 28 6c 61 6d 62 64 61 20 28 p.visible-only.nil.nil.(lambda.(
572a0 29 20 28 74 65 78 74 2d 6d 6f 64 65 29 29 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d ).(text-mode))).......(org-hugo-
572c0 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 69 6e 66 6f 20 6e 69 -after-1-export-function.info.ni
572e0 6c 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 l).......(org-hugo--after-all-ex
57300 70 6f 72 74 73 2d 66 75 6e 63 74 69 6f 6e 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f ports-function))))..;;;###autolo
57320 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 20 ad.(defun.org-hugo-export-to-md.
57340 28 26 6f 70 74 69 6f 6e 61 6c 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c (&optional.async.subtreep.visibl
57360 65 2d 6f 6e 6c 79 29 0a 20 20 22 45 78 70 6f 72 74 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 e-only)..."Export.current.buffer
57380 20 74 6f 20 61 20 48 75 67 6f 2d 63 6f 6d 70 61 74 69 62 6c 65 20 4d 61 72 6b 64 6f 77 6e 20 66 .to.a.Hugo-compatible.Markdown.f
573a0 69 6c 65 2e 0a 0a 54 68 69 73 20 69 73 20 74 68 65 20 6d 61 69 6e 20 65 78 70 6f 72 74 69 6e 67 ile...This.is.the.main.exporting
573c0 20 66 75 6e 63 74 69 6f 6e 20 77 68 69 63 68 20 69 73 20 63 61 6c 6c 65 64 20 62 79 20 62 6f 74 .function.which.is.called.by.bot
573e0 68 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 27 20 h.`org-hugo--export-file-to-md'.
57400 61 6e 64 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f and.`org-hugo--export-subtree-to
57420 2d 6d 64 27 2c 20 61 6e 64 20 74 68 75 73 0a 60 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d -md',.and.thus.`org-hugo-export-
57440 77 69 6d 2d 74 6f 2d 6d 64 27 20 74 6f 6f 2e 0a 0a 49 66 20 6e 61 72 72 6f 77 69 6e 67 20 69 73 wim-to-md'.too...If.narrowing.is
57460 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 2c 20 6f .active.in.the.current.buffer,.o
57480 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 0a 0a 49 nly.export.its.narrowed.part...I
574a0 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 74 68 61 f.a.region.is.active,.export.tha
574c0 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 20 61 72 t.region...A.non-nil.optional.ar
574e0 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 73 20 73 gument.ASYNC.means.the.process.s
57500 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 20 54 68 hould.happen.asynchronously...Th
57520 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 63 65 73 e.resulting.file.should.be.acces
57540 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 2d 73 74 sible.through.the.`org-export-st
57560 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 6c 20 61 ack'.interface...When.optional.a
57580 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 65 78 70 rgument.SUBTREEP.is.non-nil,.exp
575a0 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 74 72 61 ort.the.sub-tree.at.point,.extra
575c0 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 61 64 69 cting.information.from.the.headi
575e0 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 74 69 6f ng.properties.first...When.optio
57600 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 4c 45 2d 4f 4e 4c 59 20 69 73 20 6e 6f 6e nal.argument.VISIBLE-ONLY.is.non
57620 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 0a 63 6f 6e 74 65 6e 74 73 20 6f 66 20 68 -nil,.don't.export.contents.of.h
57640 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 74 20 66 idden.elements...Return.output.f
57660 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 20 20 28 ile's.name."...(interactive)...(
57680 6f 72 67 2d 68 75 67 6f 2d 2d 62 65 66 6f 72 65 2d 65 78 70 6f 72 74 2d 66 75 6e 63 74 69 6f 6e org-hugo--before-export-function
576a0 20 73 75 62 74 72 65 65 70 29 0a 20 20 3b 3b 20 41 6c 6c 6f 77 20 63 65 72 74 61 69 6e 20 60 6f .subtreep)...;;.Allow.certain.`o
576c0 78 2d 68 75 67 6f 27 20 70 72 6f 70 65 72 74 69 65 73 20 74 6f 20 62 65 20 69 6e 68 65 72 69 74 x-hugo'.properties.to.be.inherit
576e0 65 64 2e 20 20 49 74 20 69 73 0a 20 20 3b 3b 20 69 6d 70 6f 72 74 61 6e 74 20 74 6f 20 73 65 74 ed...It.is...;;.important.to.set
57700 20 74 68 65 20 60 6f 72 67 2d 75 73 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e .the.`org-use-property-inheritan
57720 63 65 27 20 62 65 66 6f 72 65 0a 20 20 3b 3b 20 73 65 74 74 69 6e 67 20 74 68 65 20 60 69 6e 66 ce'.before...;;.setting.the.`inf
57740 6f 27 20 76 61 72 20 73 6f 20 74 68 61 74 20 70 72 6f 70 65 72 74 69 65 73 20 6c 69 6b 65 0a 20 o'.var.so.that.properties.like..
57760 20 3b 3b 20 45 58 50 4f 52 54 5f 48 55 47 4f 5f 53 45 43 54 49 4f 4e 20 67 65 74 20 69 6e 68 65 .;;.EXPORT_HUGO_SECTION.get.inhe
57780 72 69 74 65 64 2e 0a 20 20 28 6c 65 74 2a 20 28 28 6f 72 67 2d 75 73 65 2d 70 72 6f 70 65 72 74 rited....(let*.((org-use-propert
577a0 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 73 65 6c 65 63 74 69 y-inheritance.(org-hugo--selecti
577c0 76 65 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 65 72 69 74 61 6e 63 65 29 29 0a 20 20 20 20 20 20 ve-property-inheritance)).......
577e0 20 20 20 28 69 6e 66 6f 20 28 6f 72 67 2d 63 6f 6d 62 69 6e 65 2d 70 6c 69 73 74 73 0a 20 20 20 ...(info.(org-combine-plists....
57800 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 65 78 .............(org-export--get-ex
57820 70 6f 72 74 2d 61 74 74 72 69 62 75 74 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 port-attributes.................
57840 20 27 68 75 67 6f 20 73 75 62 74 72 65 65 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 .'hugo.subtreep.visible-only)...
57860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 2d 67 65 74 2d 62 ..............(org-export--get-b
57880 75 66 66 65 72 2d 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 uffer-attributes)...............
578a0 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 20 27 68 ..(org-export-get-environment.'h
578c0 75 67 6f 20 73 75 62 74 72 65 65 70 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 75 62 2d 64 69 ugo.subtreep)))..........(pub-di
578e0 72 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 67 65 74 2d 70 75 62 2d 64 69 72 20 69 6e 66 6f 29 29 0a r.(org-hugo--get-pub-dir.info)).
57900 20 20 20 20 20 20 20 20 20 3b 3b 20 44 6f 6e 27 74 20 70 72 69 6e 74 20 22 53 61 76 69 6e 67 20 .........;;.Don't.print."Saving.
57920 66 69 6c 65 20 2e 2e 22 20 66 6f 72 20 65 61 63 68 20 65 78 70 6f 72 74 65 64 20 66 69 6c 65 2e file...".for.each.exported.file.
57940 20 54 68 69 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 77 6f 72 6b 73 20 69 6e 20 69 6e 74 65 72 .This..........;;.works.in.inter
57960 61 63 74 69 76 65 20 6d 6f 64 65 20 69 2e 65 2e 20 77 68 65 6e 20 65 78 70 6f 72 74 69 6e 67 20 active.mode.i.e..when.exporting.
57980 70 6f 73 74 73 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 77 69 74 68 69 6e 20 65 6d posts.from..........;;.within.em
579a0 61 63 73 2e 20 20 42 75 74 20 69 6e 20 2d 2d 62 61 74 63 68 20 6d 6f 64 65 2c 20 73 65 74 74 69 acs...But.in.--batch.mode,.setti
579c0 6e 67 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 60 73 61 76 65 2d 73 69 6c 65 6e 74 6c 79 27 20 74 ng..........;;.`save-silently'.t
579e0 6f 20 74 2c 20 69 72 6f 6e 69 63 61 6c 6c 79 20 70 72 69 6e 74 73 20 61 20 62 6c 61 6e 6b 20 6c o.t,.ironically.prints.a.blank.l
57a00 69 6e 65 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 22 ine..........;;.instead.of.the."
57a20 53 61 76 69 6e 67 20 66 69 6c 65 20 2e 2e 22 20 6d 65 73 73 61 67 65 2e 20 20 53 6f 20 6c 65 61 Saving.file...".message...So.lea
57a40 76 65 20 74 68 69 73 0a 20 20 20 20 20 20 20 20 20 3b 3b 20 76 61 72 69 61 62 6c 65 20 76 61 6c ve.this..........;;.variable.val
57a60 75 65 20 61 74 20 6e 69 6c 20 66 6f 72 20 2d 2d 62 61 74 63 68 20 72 75 6e 73 2e 0a 20 20 20 20 ue.at.nil.for.--batch.runs......
57a80 20 20 20 20 20 28 73 61 76 65 2d 73 69 6c 65 6e 74 6c 79 20 28 75 6e 6c 65 73 73 20 6e 6f 6e 69 .....(save-silently.(unless.noni
57aa0 6e 74 65 72 61 63 74 69 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nteractive......................
57ac0 20 20 20 20 20 74 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 75 74 66 69 6c 65 20 28 6f 72 67 2d .....t))..........(outfile.(org-
57ae0 65 78 70 6f 72 74 2d 6f 75 74 70 75 74 2d 66 69 6c 65 2d 6e 61 6d 65 20 22 2e 6d 64 22 20 73 75 export-output-file-name.".md".su
57b00 62 74 72 65 65 70 20 70 75 62 2d 64 69 72 29 29 29 0a 20 20 20 20 3b 3b 20 28 6d 65 73 73 61 67 btreep.pub-dir))).....;;.(messag
57b20 65 20 22 5b 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 74 6f 2d 6d 64 20 44 42 47 5d 20 73 e."[org-hugo-export-to-md.DBG].s
57b40 65 63 74 69 6f 6e 2d 64 69 72 20 3d 20 25 73 22 20 73 65 63 74 69 6f 6e 2d 64 69 72 29 0a 20 20 ection-dir.=.%s".section-dir)...
57b60 20 20 28 70 72 6f 67 31 0a 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 74 6f 2d ..(prog1.........(org-export-to-
57b80 66 69 6c 65 20 27 68 75 67 6f 20 6f 75 74 66 69 6c 65 20 61 73 79 6e 63 20 73 75 62 74 72 65 65 file.'hugo.outfile.async.subtree
57ba0 70 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d p.visible-only).......(org-hugo-
57bc0 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 69 6e 66 6f 20 6f 75 -after-1-export-function.info.ou
57be0 74 66 69 6c 65 29 0a 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 6f 72 67 2d 68 75 67 6f 2d 2d 64 tfile).......(unless.org-hugo--d
57c00 69 73 61 62 6c 65 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 68 6f 6f 6b 0a 20 20 isable-after-all-exports-hook...
57c20 20 20 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 ......(org-hugo--after-all-expor
57c40 74 73 2d 66 75 6e 63 74 69 6f 6e 29 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 ts-function)))))..;;;###autoload
57c60 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 69 6d 2d 74 6f 2d 6d .(defun.org-hugo-export-wim-to-m
57c80 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 61 6c 6c 2d 73 75 62 74 72 65 65 73 20 61 73 79 6e 63 20 d.(&optional.all-subtrees.async.
57ca0 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 6e 6f 65 72 72 6f 72 29 0a 20 20 22 45 78 70 6f 72 74 20 visible-only.noerror)..."Export.
57cc0 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 65 2f 61 6c 6c 20 73 75 62 74 72 65 65 73 the.current.subtree/all.subtrees
57ce0 2f 63 75 72 72 65 6e 74 20 66 69 6c 65 20 74 6f 20 61 20 48 75 67 6f 20 70 6f 73 74 2e 0a 0a 54 /current.file.to.a.Hugo.post...T
57d00 68 69 73 20 69 73 20 61 6e 20 45 78 70 6f 72 74 20 5c 22 57 68 61 74 20 49 20 4d 65 61 6e 5c 22 his.is.an.Export.\"What.I.Mean\"
57d20 20 66 75 6e 63 74 69 6f 6e 3a 0a 0a 2d 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 .function:..-.If.the.current.sub
57d40 74 72 65 65 20 68 61 73 20 74 68 65 20 5c 22 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 5c tree.has.the.\"EXPORT_FILE_NAME\
57d60 22 20 70 72 6f 70 65 72 74 79 2c 0a 20 20 65 78 70 6f 72 74 20 6f 6e 6c 79 20 74 68 61 74 20 73 ".property,...export.only.that.s
57d80 75 62 74 72 65 65 2e 20 20 52 65 74 75 72 6e 20 74 68 65 20 72 65 74 75 72 6e 20 76 61 6c 75 65 ubtree...Return.the.return.value
57da0 20 6f 66 0a 20 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d .of...`org-hugo--export-subtree-
57dc0 74 6f 2d 6d 64 27 2e 0a 0a 2d 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 75 62 74 72 65 to-md'...-.If.the.current.subtre
57de0 65 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 74 68 61 74 20 70 72 6f 70 65 72 74 79 2c 20 62 75 e.doesn't.have.that.property,.bu
57e00 74 20 6f 6e 65 20 6f 66 0a 20 20 69 74 73 20 70 61 72 65 6e 74 20 73 75 62 74 72 65 65 73 20 68 t.one.of...its.parent.subtrees.h
57e20 61 73 2c 20 65 78 70 6f 72 74 20 66 72 6f 6d 20 74 68 61 74 20 73 75 62 74 72 65 65 27 73 20 73 as,.export.from.that.subtree's.s
57e40 63 6f 70 65 2e 0a 20 20 52 65 74 75 72 6e 20 74 68 65 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 cope....Return.the.return.value.
57e60 6f 66 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d of.`org-hugo--export-subtree-to-
57e80 6d 64 27 2e 0a 0a 2d 20 49 66 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 76 61 6c 69 64 20 48 75 md'...-.If.there.are.no.valid.Hu
57ea0 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 73 20 28 74 68 61 74 20 68 61 76 65 20 74 68 65 0a go.post.subtrees.(that.have.the.
57ec0 20 20 5c 22 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 5c 22 20 70 72 6f 70 65 72 74 79 29 ..\"EXPORT_FILE_NAME\".property)
57ee0 20 69 6e 20 74 68 65 20 4f 72 67 20 62 75 66 66 65 72 20 74 68 65 20 73 75 62 74 72 65 65 73 0a .in.the.Org.buffer.the.subtrees.
57f00 20 20 68 61 76 65 20 74 68 61 74 20 70 72 6f 70 65 72 74 79 2c 20 64 6f 20 66 69 6c 65 2d 62 61 ..have.that.property,.do.file-ba
57f20 73 65 64 0a 20 20 65 78 70 6f 72 74 20 28 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d sed...export.(`org-hugo--export-
57f40 66 69 6c 65 2d 74 6f 2d 6d 64 27 29 2c 20 72 65 67 61 72 64 6c 65 73 73 20 6f 66 20 74 68 65 20 file-to-md'),.regardless.of.the.
57f60 76 61 6c 75 65 0a 20 20 6f 66 20 41 4c 4c 2d 53 55 42 54 52 45 45 53 2e 20 20 52 65 74 75 72 6e value...of.ALL-SUBTREES...Return
57f80 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
57fa0 2d 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 27 2e 0a 0a 2d 20 49 66 20 41 4c 4c 2d --export-file-to-md'...-.If.ALL-
57fc0 53 55 42 54 52 45 45 53 20 69 73 20 6e 6f 6e 2d 6e 69 6c 20 61 6e 64 20 74 68 65 20 4f 72 67 20 SUBTREES.is.non-nil.and.the.Org.
57fe0 62 75 66 66 65 72 20 68 61 73 20 61 74 20 6c 65 61 73 74 20 31 0a 20 20 76 61 6c 69 64 20 48 75 buffer.has.at.least.1...valid.Hu
58000 67 6f 20 70 6f 73 74 20 73 75 62 74 72 65 65 2c 20 65 78 70 6f 72 74 20 61 6c 6c 20 74 68 6f 73 go.post.subtree,.export.all.thos
58020 65 20 76 61 6c 69 64 20 70 6f 73 74 20 73 75 62 74 72 65 65 73 2e 0a 20 20 52 65 74 75 72 6e 20 e.valid.post.subtrees....Return.
58040 61 20 6c 69 73 74 20 6f 66 20 6f 75 74 70 75 74 20 66 69 6c 65 73 2e 0a 0a 41 20 6e 6f 6e 2d 6e a.list.of.output.files...A.non-n
58060 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 61 6e 73 il.optional.argument.ASYNC.means
58080 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 79 6e 63 .the.process.should.happen.async
580a0 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 65 20 73 hronously...The.resulting.file.s
580c0 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 68 65 20 hould.be.accessible.through.the.
580e0 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 0a 0a 57 `org-export-stack'.interface...W
58100 68 65 6e 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 56 49 53 49 42 4c 45 2d 4f 4e hen.optional.argument.VISIBLE-ON
58120 4c 59 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 64 6f 6e 27 74 20 65 78 70 6f 72 74 0a 63 6f 6e 74 LY.is.non-nil,.don't.export.cont
58140 65 6e 74 73 20 6f 66 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 54 68 65 20 6f 70 ents.of.hidden.elements...The.op
58160 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 4e 4f 45 52 52 4f 52 20 69 73 20 70 61 73 73 65 tional.argument.NOERROR.is.passe
58180 64 20 74 6f 0a 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d d.to.`org-hugo--export-file-to-m
581a0 64 27 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 20 22 50 22 29 0a 20 20 28 6c 65 74 20 d'."...(interactive."P")...(let.
581c0 28 28 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 28 69 66 20 28 62 75 66 66 65 72 2d 66 69 6c 65 2d 6e ((f-or-b-name.(if.(buffer-file-n
581e0 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 20 28 66 ame)..........................(f
58200 69 6c 65 2d 6e 61 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 20 28 62 75 66 66 65 72 2d 66 69 ile-name-nondirectory.(buffer-fi
58220 6c 65 2d 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 le-name)).......................
58240 20 28 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 62 75 66 2d 68 61 .(buffer-name))).........(buf-ha
58260 73 2d 73 75 62 74 72 65 65 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 62 75 66 66 65 72 2d 68 61 73 2d s-subtree.(org-hugo--buffer-has-
58280 76 61 6c 69 64 2d 70 6f 73 74 2d 73 75 62 74 72 65 65 2d 70 29 29 0a 20 20 20 20 20 20 20 20 72 valid-post-subtree-p)).........r
582a0 65 74 29 0a 0a 20 20 20 20 3b 3b 20 41 75 74 6f 2d 75 70 64 61 74 65 20 60 6f 72 67 2d 69 64 2d et)......;;.Auto-update.`org-id-
582c0 6c 6f 63 61 74 69 6f 6e 73 27 20 69 66 20 69 74 27 73 20 6e 69 6c 20 6f 72 20 65 6d 70 74 79 20 locations'.if.it's.nil.or.empty.
582e0 68 61 73 68 20 74 61 62 6c 65 0a 20 20 20 20 3b 3b 20 74 6f 20 61 76 6f 69 64 20 62 72 6f 6b 65 hash.table.....;;.to.avoid.broke
58300 6e 20 5b 5b 69 64 3a 2e 2e 5d 5d 20 74 79 70 65 20 6c 69 6e 6b 73 2e 0a 20 20 20 20 28 77 68 65 n.[[id:..]].type.links......(whe
58320 6e 20 28 6f 72 20 28 65 71 20 6f 72 67 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 20 6e 69 6c 29 20 n.(or.(eq.org-id-locations.nil).
58340 28 7a 65 72 6f 70 20 28 68 61 73 68 2d 74 61 62 6c 65 2d 63 6f 75 6e 74 20 6f 72 67 2d 69 64 2d (zerop.(hash-table-count.org-id-
58360 6c 6f 63 61 74 69 6f 6e 73 29 29 29 0a 20 20 20 20 20 20 28 6f 72 67 2d 69 64 2d 75 70 64 61 74 locations))).......(org-id-updat
58380 65 2d 69 64 2d 6c 6f 63 61 74 69 6f 6e 73 20 28 64 69 72 65 63 74 6f 72 79 2d 66 69 6c 65 73 20 e-id-locations.(directory-files.
583a0 22 2e 22 20 3a 66 75 6c 6c 20 22 5c 2e 6f 72 67 5c 24 22 20 3a 6e 6f 73 6f 72 74 29 20 3a 73 69 ".".:full."\.org\$".:nosort).:si
583c0 6c 65 6e 74 29 29 0a 0a 20 20 20 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 63 6c 65 61 6e 75 70 29 0a lent))......(org-hugo--cleanup).
583e0 0a 20 20 20 20 28 73 61 76 65 2d 77 69 6e 64 6f 77 2d 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 .....(save-window-excursion.....
58400 20 20 28 6f 72 67 2d 77 69 74 68 2d 77 69 64 65 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 20 28 ..(org-with-wide-buffer........(
58420 63 6f 6e 64 0a 20 20 20 20 20 20 20 20 3b 3b 20 50 75 62 6c 69 73 68 20 61 6c 6c 20 73 75 62 74 cond.........;;.Publish.all.subt
58440 72 65 65 73 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 4f 72 67 20 62 75 66 66 65 72 2e 0a rees.in.the.current.Org.buffer..
58460 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 62 75 66 2d 68 61 73 2d 73 75 62 74 72 65 65 20 61 6c ........((and.buf-has-subtree.al
58480 6c 2d 73 75 62 74 72 65 65 73 29 0a 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 73 74 61 72 l-subtrees)..........(let.((star
584a0 74 2d 74 69 6d 65 20 28 63 75 72 72 65 6e 74 2d 74 69 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 t-time.(current-time))).........
584c0 20 20 20 3b 3b 20 4d 61 6b 65 20 74 68 65 20 2a 4d 65 73 73 61 67 65 73 2a 20 62 75 66 66 65 72 ...;;.Make.the.*Messages*.buffer
584e0 20 6c 65 73 73 20 6e 6f 69 73 79 20 77 68 65 6e 20 65 78 70 6f 72 74 69 6e 67 20 61 6c 6c 0a 20 .less.noisy.when.exporting.all..
58500 20 20 20 20 20 20 20 20 20 20 3b 3b 20 73 75 62 74 72 65 65 73 2e 0a 20 20 20 20 20 20 20 20 20 ..........;;.subtrees...........
58520 20 20 28 64 6f 6c 69 73 74 20 28 66 6e 20 6f 72 67 2d 68 75 67 6f 2d 2d 61 6c 6c 2d 73 75 62 74 ..(dolist.(fn.org-hugo--all-subt
58540 72 65 65 73 2d 65 78 70 6f 72 74 2d 2d 66 75 6e 63 74 69 6f 6e 73 2d 74 6f 2d 73 69 6c 65 6e 63 rees-export--functions-to-silenc
58560 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 64 76 69 63 65 2d 61 64 64 20 66 6e 20 3a e)..............(advice-add.fn.:
58580 61 72 6f 75 6e 64 20 23 27 6f 72 67 2d 68 75 67 6f 2d 2d 61 64 76 69 63 65 2d 73 69 6c 65 6e 63 around.#'org-hugo--advice-silenc
585a0 65 2d 6d 65 73 73 61 67 65 73 29 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 72 e-messages)).............(setq.r
585c0 65 74 20 28 6f 72 67 2d 6d 61 70 2d 65 6e 74 72 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 et.(org-map-entries.............
585e0 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 29 0a 20 20 20 20 20 20 20 20 20 20 20 ..........(lambda.()............
58600 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 78 70 6f 72 74 2d 73 .............(org-hugo--export-s
58620 75 62 74 72 65 65 2d 74 6f 2d 6d 64 20 61 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 ubtree-to-md.async.visible-only.
58640 3a 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 :all-subtrees)).................
58660 20 20 20 20 20 20 3b 3b 20 45 78 70 6f 72 74 20 6f 6e 6c 79 20 74 68 65 20 73 75 62 74 72 65 65 ......;;.Export.only.the.subtree
58680 73 20 77 68 65 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b s.where.......................;;
586a0 20 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 6f .EXPORT_FILE_NAME.property.is.no
586c0 74 20 65 6d 70 74 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 t.empty........................"
586e0 45 58 50 4f 52 54 5f 46 49 4c 45 5f 4e 41 4d 45 3c 3e 5c 22 5c 22 22 29 29 0a 0a 20 20 20 20 20 EXPORT_FILE_NAME<>\"\"")).......
58700 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 65 6c 61 70 73 65 64 2d 74 69 6d 65 20 28 66 6c 6f 61 ......(let*.((elapsed-time.(floa
58720 74 2d 74 69 6d 65 20 28 74 69 6d 65 2d 73 69 6e 63 65 20 73 74 61 72 74 2d 74 69 6d 65 29 29 29 t-time.(time-since.start-time)))
58740 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 76 67 2d 74 69 6d 65 20 28 2f 20 ...................(avg-time.(/.
58760 65 6c 61 70 73 65 64 2d 74 69 6d 65 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 elapsed-time.org-hugo--subtree-c
58780 6f 75 6e 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 5b ount)))..............(message."[
587a0 6f 78 2d 68 75 67 6f 5d 20 45 78 70 6f 72 74 65 64 20 25 64 20 73 75 62 74 72 65 65 25 73 20 66 ox-hugo].Exported.%d.subtree%s.f
587c0 72 6f 6d 20 25 73 20 69 6e 20 25 30 2e 33 66 73 20 28 25 30 2e 33 66 73 20 61 76 67 29 22 0a 20 rom.%s.in.%0.3fs.(%0.3fs.avg)"..
587e0 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 2d 73 .....................org-hugo--s
58800 75 62 74 72 65 65 2d 63 6f 75 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ubtree-count....................
58820 20 20 20 28 69 66 20 28 3d 20 31 20 6f 72 67 2d 68 75 67 6f 2d 2d 73 75 62 74 72 65 65 2d 63 6f ...(if.(=.1.org-hugo--subtree-co
58840 75 6e 74 29 20 22 22 20 22 73 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 unt).""."s")....................
58860 20 20 20 66 2d 6f 72 2d 62 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...f-or-b-name..................
58880 20 20 20 20 20 65 6c 61 70 73 65 64 2d 74 69 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .....elapsed-time...............
588a0 20 20 20 20 20 20 20 20 61 76 67 2d 74 69 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6f ........avg-time))............(o
588c0 72 67 2d 68 75 67 6f 2d 2d 61 66 74 65 72 2d 61 6c 6c 2d 65 78 70 6f 72 74 73 2d 66 75 6e 63 74 rg-hugo--after-all-exports-funct
588e0 69 6f 6e 29 29 29 0a 0a 20 20 20 20 20 20 20 20 3b 3b 20 50 75 62 6c 69 73 68 20 6f 6e 6c 79 20 ion)))..........;;.Publish.only.
58900 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 69 64 20 48 75 67 6f 20 70 6f 73 74 20 73 75 62 74 the.current.valid.Hugo.post.subt
58920 72 65 65 2e 20 20 57 68 65 6e 0a 20 20 20 20 20 20 20 20 3b 3b 20 65 78 70 6f 72 74 69 6e 67 20 ree...When.........;;.exporting.
58940 6f 6e 6c 79 20 6f 6e 65 20 73 75 62 74 72 65 65 2c 20 62 75 66 66 65 72 20 70 72 65 2d 70 72 6f only.one.subtree,.buffer.pre-pro
58960 63 65 73 73 69 6e 67 20 69 73 20 64 6f 6e 65 0a 20 20 20 20 20 20 20 20 3b 3b 20 69 6e 73 69 64 cessing.is.done.........;;.insid
58980 65 20 60 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 65 65 2d 74 6f 2d 6d e.`org-hugo--export-subtree-to-m
589a0 64 27 2e 0a 20 20 20 20 20 20 20 20 28 28 61 6e 64 20 62 75 66 2d 68 61 73 2d 73 75 62 74 72 65 d'..........((and.buf-has-subtre
589c0 65 20 28 6e 6f 74 20 61 6c 6c 2d 73 75 62 74 72 65 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 e.(not.all-subtrees))..........(
589e0 73 65 74 71 20 72 65 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 73 75 62 74 72 setq.ret.(org-hugo--export-subtr
58a00 65 65 2d 74 6f 2d 6d 64 20 61 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 29 29 29 0a 0a ee-to-md.async.visible-only)))..
58a20 20 20 20 20 20 20 20 20 3b 3b 20 41 74 74 65 6d 70 74 20 66 69 6c 65 2d 62 61 73 65 64 20 65 78 ........;;.Attempt.file-based.ex
58a40 70 6f 72 74 2e 0a 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 20 20 20 20 28 73 65 74 71 20 port..........(t..........(setq.
58a60 72 65 74 20 28 6f 72 67 2d 68 75 67 6f 2d 2d 65 78 70 6f 72 74 2d 66 69 6c 65 2d 74 6f 2d 6d 64 ret.(org-hugo--export-file-to-md
58a80 20 66 2d 6f 72 2d 62 2d 6e 61 6d 65 20 61 73 79 6e 63 20 76 69 73 69 62 6c 65 2d 6f 6e 6c 79 20 .f-or-b-name.async.visible-only.
58aa0 6e 6f 65 72 72 6f 72 29 29 29 29 29 29 0a 20 20 20 20 72 65 74 29 29 0a 0a 3b 3b 3b 23 23 23 61 noerror)))))).....ret))..;;;###a
58ac0 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e 20 6f 72 67 2d 68 75 67 6f 2d 64 65 62 75 67 2d 69 6e utoload.(defun.org-hugo-debug-in
58ae0 66 6f 20 28 29 0a 20 20 22 47 65 74 20 45 6d 61 63 73 2c 20 4f 72 67 20 61 6e 64 20 48 75 67 6f fo.()..."Get.Emacs,.Org.and.Hugo
58b00 20 76 65 72 73 69 6f 6e 20 61 6e 64 20 6f 78 2d 68 75 67 6f 20 63 75 73 74 6f 6d 69 7a 61 74 69 .version.and.ox-hugo.customizati
58b20 6f 6e 20 69 6e 66 6f 2e 0a 54 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 63 6f 6e 76 on.info..The.information.is.conv
58b40 65 72 74 65 64 20 74 6f 20 4d 61 72 6b 64 6f 77 6e 20 66 6f 72 6d 61 74 20 61 6e 64 20 63 6f 70 erted.to.Markdown.format.and.cop
58b60 69 65 64 20 74 6f 20 74 68 65 0a 6b 69 6c 6c 20 72 69 6e 67 2e 20 20 54 68 65 20 73 61 6d 65 20 ied.to.the.kill.ring...The.same.
58b80 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 64 69 73 70 6c 61 79 65 64 20 69 6e 20 74 68 65 20 information.is.displayed.in.the.
58ba0 4d 65 73 73 61 67 65 73 0a 62 75 66 66 65 72 20 61 6e 64 20 72 65 74 75 72 6e 65 64 20 61 73 20 Messages.buffer.and.returned.as.
58bc0 61 20 73 74 72 69 6e 67 20 69 6e 20 4f 72 67 20 66 6f 72 6d 61 74 2e 22 0a 20 20 28 69 6e 74 65 a.string.in.Org.format."...(inte
58be0 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 74 2a 20 28 28 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e ractive)...(let*.((emacs-version
58c00 20 28 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d .(emacs-version))..........(org-
58c20 76 65 72 73 69 6f 6e 20 28 6f 72 67 2d 76 65 72 73 69 6f 6e 20 6e 69 6c 20 3a 66 75 6c 6c 29 29 version.(org-version.nil.:full))
58c40 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 6f 72 67 2d 68 75 67 ..........(hugo-version.(org-hug
58c60 6f 2d 2d 68 75 67 6f 2d 76 65 72 73 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 75 67 6f o--hugo-version))..........(hugo
58c80 2d 76 65 72 73 69 6f 6e 20 28 69 66 20 68 75 67 6f 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 -version.(if.hugo-version.......
58ca0 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 68 75 67 6f 2d 76 .....................(car.hugo-v
58cc0 65 72 73 69 6f 6e 29 20 3b 4c 6f 6e 67 20 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 ersion).;Long.version...........
58ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3d 68 75 67 6f 3d 20 62 69 6e 61 72 79 20 6e 6f ..............."=hugo=.binary.no
58d00 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 28 69 6e 66 t.found.in.PATH"))..........(inf
58d20 6f 2d 6f 72 67 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 69 64 65 6e 74 69 74 79 0a 20 20 20 20 o-org.(mapconcat.#'identity.....
58d40 20 20 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 2a 20 44 ..........................`("*.D
58d60 65 62 75 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 6f 72 20 3d 6f 78 2d 68 75 67 6f 3d 22 0a ebug.information.for.=ox-hugo=".
58d80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58da0 22 2a 2a 20 45 6d 61 63 73 20 56 65 72 73 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 "**.Emacs.Version"..............
58dc0 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 6e 5f 65 78 61 6d ..................."#+begin_exam
58de0 70 6c 65 22 20 3b 50 72 65 76 65 6e 74 20 75 6e 64 65 72 73 63 6f 72 65 73 20 66 72 6f 6d 20 62 ple".;Prevent.underscores.from.b
58e00 65 69 6e 67 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 73 75 62 73 63 72 69 70 74 20 6d 61 eing.interpreted.as.subscript.ma
58e20 72 6b 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rkup............................
58e40 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 25 73 25 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 .....,(format."%s%s"............
58e60 20 20 20 20 20 20 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 6d ..............................em
58e80 61 63 73 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 acs-version.....................
58ea0 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 65 6d 61 63 73 2d 72 .....................(if.emacs-r
58ec0 65 70 6f 73 69 74 6f 72 79 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 epository-version...............
58ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
58f00 66 6f 72 6d 61 74 20 22 20 28 63 6f 6d 6d 69 74 20 25 73 29 22 20 65 6d 61 63 73 2d 72 65 70 6f format.".(commit.%s)".emacs-repo
58f20 73 69 74 6f 72 79 2d 76 65 72 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 sitory-version).................
58f40 20 20 20 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 ..........................."")).
58f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58f80 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 20 20 "#+end_example".................
58fa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a 20 4f 72 67 20 56 65 72 73 69 6f 6e 22 ................"**.Org.Version"
58fc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58fe0 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 74 68 65 20 ."#+begin_example".;Prevent.the.
59000 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 65 69 6e 67 20 69 forward.slashes.in.paths.being.i
59020 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 20 20 20 20 20 20 nterpreted.as.Org.markup........
59040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 6f 72 67 2d 76 65 .........................,org-ve
59060 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 20 rsion...........................
59080 20 20 20 20 20 20 22 23 2b 65 6e 64 5f 65 78 61 6d 70 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 ......"#+end_example"...........
590a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a 20 48 75 67 6f 20 56 ......................"**.Hugo.V
590c0 65 72 73 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ersion".........................
590e0 20 20 20 20 20 20 20 20 22 23 2b 62 65 67 69 6e 5f 65 78 61 6d 70 6c 65 22 20 3b 50 72 65 76 65 ........"#+begin_example".;Preve
59100 6e 74 20 74 68 65 20 66 6f 72 77 61 72 64 20 73 6c 61 73 68 65 73 20 69 6e 20 70 61 74 68 73 20 nt.the.forward.slashes.in.paths.
59120 62 65 69 6e 67 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 4f 72 67 20 6d 61 72 6b 75 70 0a being.interpreted.as.Org.markup.
59140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59160 2c 68 75 67 6f 2d 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ,hugo-version...................
59180 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 0a 20 20 .............."#+end_example"...
591a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a .............................."*
591c0 2a 2a 20 4f 72 67 20 3d 6c 6f 61 64 2d 70 61 74 68 3d 20 73 68 61 64 6f 77 73 22 0a 20 20 20 20 **.Org.=load-path=.shadows".....
591e0 20 20 20 20 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 6c 65 ............................,(le
59200 74 2a 20 28 28 73 74 72 20 28 6c 69 73 74 2d 6c 6f 61 64 2d 70 61 74 68 2d 73 68 61 64 6f 77 73 t*.((str.(list-load-path-shadows
59220 20 3a 73 74 72 69 6e 67 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .:stringp)).....................
59240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 2d 6c 69 73 74 20 28 73 ....................(str-list.(s
59260 70 6c 69 74 2d 73 74 72 69 6e 67 20 73 74 72 20 22 5c 6e 22 20 3a 6f 6d 69 74 2d 6e 75 6c 6c 73 plit-string.str."\n".:omit-nulls
59280 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 ))..............................
592a0 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 20 22 22 29 29 0a ...........(org-shadow-str."")).
592c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
592e0 20 20 20 28 64 6f 6c 69 73 74 20 28 73 68 61 64 6f 77 20 73 74 72 2d 6c 69 73 74 29 0a 20 20 20 ...(dolist.(shadow.str-list)....
59300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59320 20 20 28 77 68 65 6e 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 22 2e 2a 6f 72 67 2e 2b ..(when.(string-match-p.".*org.+
59340 68 69 64 65 73 2e 2b 6f 72 67 2e 2a 22 20 73 68 61 64 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 hides.+org.*".shadow)...........
59360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 .............................(se
59380 74 71 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 20 28 63 6f 6e 63 61 74 20 6f 72 67 2d 73 68 tq.org-shadow-str.(concat.org-sh
593a0 61 64 6f 77 2d 73 74 72 20 73 68 61 64 6f 77 20 22 5c 6e 22 29 29 29 29 0a 20 20 20 20 20 20 20 adow-str.shadow."\n"))))........
593c0 20 20 20 20 20 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.
593e0 28 6f 72 67 2d 73 74 72 69 6e 67 2d 6e 77 2d 70 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 29 (org-string-nw-p.org-shadow-str)
59400 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59420 20 20 20 20 20 20 20 20 28 6d 61 70 63 6f 6e 63 61 74 20 23 27 69 64 65 6e 74 69 74 79 0a 20 20 ........(mapconcat.#'identity...
59440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 60 28 22 2a 57 61 72 6e 69 6e 67 2a 3a 20 50 6f ................`("*Warning*:.Po
59480 73 73 69 62 6c 65 20 6d 69 78 65 64 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 6f 66 20 4f 72 67 ssible.mixed.installation.of.Org
594a0 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 "...............................
594c0 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 6e 5f 65 ......................"#+begin_e
594e0 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 73 6c 61 xample".;Prevent.the.forward.sla
59500 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 65 64 20 shes.in.paths.being.interpreted.
59520 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 20 20 20 as.Org.markup...................
59540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59560 20 20 2c 28 6f 72 67 2d 74 72 69 6d 20 6f 72 67 2d 73 68 61 64 6f 77 2d 73 74 72 29 0a 20 20 20 ..,(org-trim.org-shadow-str)....
59580 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
595a0 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"
595c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
595e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 53 74 75 64 79 20 74 68 65 20 ....................."Study.the.
59600 6f 75 74 70 75 74 20 6f 66 20 3d 4d 2d 78 20 6c 69 73 74 2d 6c 6f 61 64 2d 70 61 74 68 2d 73 68 output.of.=M-x.list-load-path-sh
59620 61 64 6f 77 73 3d 2e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 adows=.").......................
59640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 22 ............................"\n"
59660 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
59680 20 20 20 20 20 20 20 22 4e 6f 20 4f 72 67 20 6d 6f 64 65 20 73 68 61 64 6f 77 73 20 66 6f 75 6e ......."No.Org.mode.shadows.foun
596a0 64 20 69 6e 20 3d 6c 6f 61 64 2d 70 61 74 68 3d 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 d.in.=load-path=")).............
596c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 2a 20 3d 6f 78 2d 68 75 67 6f ...................."**.=ox-hugo
596e0 3d 20 64 65 66 63 75 73 74 6f 6d 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 =.defcustoms"...................
59700 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
59720 6f 2d 73 65 63 74 69 6f 6e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 o-section.......................
59740 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 73 65 ...............|%S|".org-hugo-se
59760 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 20 20 20 20 20 20 ction)..........................
59780 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 75 73 65 2d 63 .......,(format."|org-hugo-use-c
597a0 6f 64 65 2d 66 6f 72 2d 6b 62 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ode-for-kbd.....................
597c0 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 75 73 65 2d 63 6f 64 65 2d ........|%S|".org-hugo-use-code-
597e0 66 6f 72 2d 6b 62 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 for-kbd)........................
59800 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 70 72 65 .........,(format."|org-hugo-pre
59820 73 65 72 76 65 2d 66 69 6c 6c 69 6e 67 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 serve-filling...................
59840 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 70 72 65 73 65 72 76 ..........|%S|".org-hugo-preserv
59860 65 2d 66 69 6c 6c 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e-filling)......................
59880 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 64 ...........,(format."|org-hugo-d
598a0 65 6c 65 74 65 2d 74 72 61 69 6c 69 6e 67 2d 77 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 elete-trailing-ws...............
598c0 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 64 65 6c 65 74 ............|%S|".org-hugo-delet
598e0 65 2d 74 72 61 69 6c 69 6e 67 2d 77 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e-trailing-ws)..................
59900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 ...............,(format."|org-hu
59920 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 20 20 20 20 20 20 20 go-prefer-hyphen-in-tags........
59940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 70 ................|%S|".org-hugo-p
59960 72 65 66 65 72 2d 68 79 70 68 65 6e 2d 69 6e 2d 74 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 refer-hyphen-in-tags)...........
59980 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."
599a0 7c 6f 72 67 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 20 20 |org-hugo-allow-spaces-in-tags..
599c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 .......................|%S|".org
599e0 2d 68 75 67 6f 2d 61 6c 6c 6f 77 2d 73 70 61 63 65 73 2d 69 6e 2d 74 61 67 73 29 0a 20 20 20 20 -hugo-allow-spaces-in-tags).....
59a00 20 20 20 20 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
59a20 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 rmat."|org-hugo-tag-processing-f
59a40 75 6e 63 74 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 unctions.....................|%S
59a60 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 74 61 67 2d 70 72 6f 63 65 73 73 69 6e 67 2d 66 75 6e 63 74 |".org-hugo-tag-processing-funct
59a80 69 6f 6e 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ions)...........................
59aa0 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 75 74 6f 2d 73 ......,(format."|org-hugo-auto-s
59ac0 65 74 2d 6c 61 73 74 6d 6f 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 et-lastmod......................
59ae0 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 61 75 74 6f 2d 73 65 74 2d 6c .......|%S|".org-hugo-auto-set-l
59b00 61 73 74 6d 6f 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 astmod).........................
59b20 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 65 78 70 6f ........,(format."|org-hugo-expo
59b40 72 74 2d 77 69 74 68 2d 74 6f 63 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rt-with-toc.....................
59b60 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d 77 .........|%S|".org-hugo-export-w
59b80 69 74 68 2d 74 6f 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ith-toc)........................
59ba0 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 65 78 70 .........,(format."|org-hugo-exp
59bc0 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 20 20 20 20 20 20 20 ort-with-section-numbers........
59be0 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 65 78 70 6f 72 74 2d ..........|%S|".org-hugo-export-
59c00 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)...........
59c20 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."
59c40 7c 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 20 20 20 |org-hugo-front-matter-format...
59c60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 .......................|%S|".org
59c80 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 29 0a 20 20 20 20 20 -hugo-front-matter-format)......
59ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 ...........................,(for
59cc0 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 75 mat."|org-hugo-default-static-su
59ce0 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 20 20 20 7c 25 53 7c bdirectory-for-externals....|%S|
59d00 22 20 6f 72 67 2d 68 75 67 6f 2d 64 65 66 61 75 6c 74 2d 73 74 61 74 69 63 2d 73 75 62 64 69 72 ".org-hugo-default-static-subdir
59d20 65 63 74 6f 72 79 2d 66 6f 72 2d 65 78 74 65 72 6e 61 6c 73 29 0a 20 20 20 20 20 20 20 20 20 20 ectory-for-externals)...........
59d40 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."
59d60 7c 6f 72 67 2d 68 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d 66 69 6c 65 2d 65 78 74 65 6e 73 69 6f |org-hugo-external-file-extensio
59d80 6e 73 2d 61 6c 6c 6f 77 65 64 2d 66 6f 72 2d 63 6f 70 79 69 6e 67 20 7c 25 53 7c 22 20 6f 72 67 ns-allowed-for-copying.|%S|".org
59da0 2d 68 75 67 6f 2d 65 78 74 65 72 6e 61 6c 2d 66 69 6c 65 2d 65 78 74 65 6e 73 69 6f 6e 73 2d 61 -hugo-external-file-extensions-a
59dc0 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 20 20 20 20 20 20 llowed-for-copying).............
59de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f ....................,(format."|o
59e00 72 67 2d 68 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 20 20 20 20 20 20 20 20 20 20 20 20 20 rg-hugo-date-format.............
59e20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 .....................|%S|".org-h
59e40 75 67 6f 2d 64 61 74 65 2d 66 6f 72 6d 61 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ugo-date-format)................
59e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f 72 67 2d .................,(format."|org-
59e80 68 75 67 6f 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 20 20 20 20 20 20 20 20 20 20 hugo-paired-shortcodes..........
59ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 75 67 6f ..................|%S|".org-hugo
59ec0 2d 70 61 69 72 65 64 2d 73 68 6f 72 74 63 6f 64 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 -paired-shortcodes).............
59ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 66 6f 72 6d 61 74 20 22 7c 6f ....................,(format."|o
59f00 72 67 2d 68 75 67 6f 2d 73 75 70 70 72 65 73 73 2d 6c 61 73 74 6d 6f 64 2d 70 65 72 69 6f 64 20 rg-hugo-suppress-lastmod-period.
59f20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 53 7c 22 20 6f 72 67 2d 68 .....................|%S|".org-h
59f40 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 0a 20 20 20 ugo-suppress-lastmod-period)....
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 20 20 20 20 20 2c 28 66 .............................,(f
59f80 6f 72 6d 61 74 20 22 7c 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f ormat."|org-hugo-front-matter-fo
59fa0 72 6d 61 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 25 rmat..........................|%
59fc0 53 7c 22 20 6f 72 67 2d 68 75 67 6f 2d 66 72 6f 6e 74 2d 6d 61 74 74 65 72 2d 66 6f 72 6d 61 74 S|".org-hugo-front-matter-format
59fe0 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 ))..............................
5a000 20 22 5c 6e 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 65 78 70 6f 72 74 2d 77 69 74 ."\n"))..........(org-export-wit
5a020 68 2d 74 6f 63 20 6e 69 6c 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 66 6f 2d 6d 64 20 28 70 72 h-toc.nil)..........(info-md.(pr
5a040 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 71 75 69 72 65 ogn.....................(require
5a060 20 27 6f 78 2d 6d 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 .'ox-md).....................(or
5a080 67 2d 65 78 70 6f 72 74 2d 73 74 72 69 6e 67 2d 61 73 20 69 6e 66 6f 2d 6f 72 67 20 27 6d 64 20 g-export-string-as.info-org.'md.
5a0a0 3a 62 6f 64 79 2d 6f 6e 6c 79 29 29 29 29 0a 20 20 20 20 28 6b 69 6c 6c 2d 6e 65 77 20 69 6e 66 :body-only)))).....(kill-new.inf
5a0c0 6f 2d 6d 64 29 0a 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 25 73 22 20 69 6e 66 6f 2d 6f 72 67 o-md).....(message."%s".info-org
5a0e0 29 0a 20 20 20 20 69 6e 66 6f 2d 6f 72 67 29 29 0a 0a 0a 28 70 72 6f 76 69 64 65 20 27 6f 78 2d ).....info-org))...(provide.'ox-
5a100 68 75 67 6f 29 0a 0a 3b 3b 3b 20 6f 78 2d 68 75 67 6f 2e 65 6c 20 65 6e 64 73 20 68 65 72 65 0a hugo)..;;;.ox-hugo.el.ends.here.
5a120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a1c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a2a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a2c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a2e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a3a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a3c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a3e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a4a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a4c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a4e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a5a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a5c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a5e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a6a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a6c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a6e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a7a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a7c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a7e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a8a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a8c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a8e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a9a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a9c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a9e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aa00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aa20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aa40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aa60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aa80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aaa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ab00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ab20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ab40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ab60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ab80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5abc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5abe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ac00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ac20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ac40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ac60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ac80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5acc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ace0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ad00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ad20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ad40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ad60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ad80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ada0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5adc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ade0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ae00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ae20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ae40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ae60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ae80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5aee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5af00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5af20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5af40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5af60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5af80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5afa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5afc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5afe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b0a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b0c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b0e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b1c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b2a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b2c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b2e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b3a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b3c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b3e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b4a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b4c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b4e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b5a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b5c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b5e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b6a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b6c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b6e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b7a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b7c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b7e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b8a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b8c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b8e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b9a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b9c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b9e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ba00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ba20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ba40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ba60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ba80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5baa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bb00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bb20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bb40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bb60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bb80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bbc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bbe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bc00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bc20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bc40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bc60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bc80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bcc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bd00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bd20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bd40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bd60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bd80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bda0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bdc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bde0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5be00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5be20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5be40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5be60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5be80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bf00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bf20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bf40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bf60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bf80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bfa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bfc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bfe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c0a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c0c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c0e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c1c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c2a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c2c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c2e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c3a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c3c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c3e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c4a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c4c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c4e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c5a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c5c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c5e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c6a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c6c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c6e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c7a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c7c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c7e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................