summaryrefslogtreecommitdiff
path: root/localrepo/ox-hugo-20240305.1923.tar
blob: ebeeda92eee79bc86322220d6849657ae6f5535c (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 78 2d 68 75 67 6f 2d 70 61 ox-hugo-20240305.1923/ox-hugo-pa
0220 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....................
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 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...
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 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
0420 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
0440 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.-*-..
0460 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
0480 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:/
04a0 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
04c0 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
04e0 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.
0500 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
0520 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
0540 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
0560 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
0580 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
05a0 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
05c0 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
05e0 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
0600 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}".
0620 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
0640 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
0660 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
0680 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
06a0 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
06c0 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
06e0 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
0700 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
0720 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".................
0740 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"..............
0760 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".............
0780 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"..........
07a0 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".........
07c0 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
07e0 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
0800 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
0820 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:"...
0840 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
0860 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
0880 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
08a0 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
08c0 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
08e0 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
0900 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.
0920 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
0940 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
0960 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
0980 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
09a0 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..
09c0 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
09e0 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
0a00 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
0a20 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
0a40 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
0a60 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.
0a80 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
0aa0 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.
0ac0 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
0ae0 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
0b00 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
0b20 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
0b40 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..................
0b60 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
0b80 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
0ba0 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
0bc0 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:.:
0be0 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
0c00 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...............
0c20 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
0c40 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..............
0c60 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.
0c80 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
0ca0 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
0cc0 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
0ce0 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
0d00 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
0d20 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...
0d40 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
0d60 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
0d80 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
0da0 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
0dc0 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
0de0 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
0e00 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
0e20 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-
0e40 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
0e60 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[^>]+>"..."
0e80 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
0ea0 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
0ec0 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
0ee0 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
0f00 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
0f20 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
0f40 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=\"
0f60 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[^>]+>".
0f80 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
0fa0 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..
0fc0 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
0fe0 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
1000 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
1020 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
1040 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
1060 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
1080 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
10a0 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
10c0 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
10e0 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
1100 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
1120 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
1140 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
1160 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
1180 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
11a0 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
11c0 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
11e0 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)....
1200 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.....
1220 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
1240 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....................
1260 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
1280 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)...............
12a0 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
12c0 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..............
12e0 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)
1300 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
1320 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
1340 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
1360 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
1380 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..........
13a0 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'.
13c0 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..........
13e0 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.......
1400 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
1420 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))..
1440 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
1460 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
1480 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
14a0 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
14c0 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).....
14e0 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
1500 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)))).
1520 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
1540 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)
1560 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
1580 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.
15a0 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
15c0 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
15e0 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
1600 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
1620 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
1640 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
1660 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
1680 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
16a0 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
16c0 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
16e0 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
1700 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........
1720 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
1740 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).".")...
1760 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
1780 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.(
17a0 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)...............
17c0 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
17e0 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="........................
1800 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))........
1820 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))..
1840 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
1860 0a 20 20 20 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-
1880 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
18a0 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
18c0 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...........................
18e0 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
1900 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
1920 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
1940 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
1960 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-
1980 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-
19a0 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.
19c0 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"........
19e0 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
1a00 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-
1a20 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.......
1a40 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....
1a60 20 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
1a80 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.........................
1aa0 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
1ac0 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)........
1ae0 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-
1b00 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
1b20 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."
1b40 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
1b60 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"...........
1b80 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-
1ba0 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
1bc0 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
1be0 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
1c00 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
1c20 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
1c40 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
1c60 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
1c80 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
1ca0 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
1cc0 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
1ce0 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
1d00 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\\(:\\|.=\\)."....
1d20 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
1d40 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
1d60 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
1d80 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
1da0 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
1dc0 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
1de0 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
1e00 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).
1e20 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
1e40 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.
1e60 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.
1e80 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
1ea0 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.
1ec0 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
1ee0 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
1f00 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
1f20 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><
1f40 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
1f60 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
1f80 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
1fa0 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
1fc0 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
1fe0 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."...
2000 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
2020 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
2040 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
2060 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
2080 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.
20a0 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
20c0 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
20e0 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
2100 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
2120 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
2140 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........
2160 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
2180 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
21a0 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).........
21c0 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.""))
21e0 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
2200 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
2220 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.
2240 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
2260 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
2280 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
22a0 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
22c0 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)))).......
22e0 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
2300 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\\&".......
2320 20 20 20 20 20 20 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
2340 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
2360 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)...........
2380 20 20 20 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..
23a0 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
23c0 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
23e0 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
2400 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
2420 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
2440 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.....
2460 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.
2480 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-
24a0 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)......
24c0 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
24e0 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..
2500 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....
2520 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
2540 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."{{\\\\<".....
2560 20 20 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 .........................."\\(\\
2580 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\\)+"....................
25a0 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
25c0 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:]]+?\\)".................
25e0 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\\)+"
2600 0a 20 20 20 20 20 20 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 ..............................."
2620 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
2640 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
2660 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
2680 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))
26a0 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-
26c0 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
26e0 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))...........
2700 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
2720 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...........
2740 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
2760 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:...................
2780 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
27a0 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
27c0 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>
27e0 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
2800 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
2820 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".>}}....................
2840 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
2860 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..................
2880 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 ........................"\"\""."
28a0 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 \\\\\\\\\"".....................
28c0 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
28e0 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..................
2900 20 20 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."\\
2920 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
2940 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))))...............
2960 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.>
2980 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
29a0 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
29c0 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.].....
29e0 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.(
2a00 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.................
2a20 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 ......."\\\\\\["................
2a40 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 ........"\\(.+\\)"..............
2a60 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 .........."\\\\\\]")))..........
2a80 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
2aa0 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
2ac0 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
2ae0 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
2b00 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-
2b20 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
2b40 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
2b60 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
2b80 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
2ba0 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
2bc0 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
2be0 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.
2c00 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
2c20 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
2c40 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
2c60 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
2c80 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
2ca0 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................
2cc0 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......
2ce0 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
2d00 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
2d20 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).....................
2d40 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
2d60 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))))))......
2d80 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....
2da0 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
2dc0 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...
2de0 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
2e00 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.
2e20 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
2e40 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.......
2e60 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
2e80 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:.............
2ea0 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 ..........;;....................
2ec0 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
2ee0 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....................
2f00 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
2f20 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....................
2f40 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
2f60 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
2f80 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.....................
2fa0 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
2fc0 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................
2fe0 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.
3000 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):...................
3020 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 ....;;.......................;;.
3040 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
3060 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
3080 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.((
30a0 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
30c0 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]"))).................
30e0 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.
3100 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................
3120 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.
3140 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..................
3160 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............
3180 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
31a0 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)........................
31c0 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
31e0 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)))..................
3200 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
3220 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)...............
3240 20 20 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
3260 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
3280 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"............
32a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
32c0 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)).................
32e0 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))....
3300 20 20 20 20 20 20 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
3320 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
3340 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
3360 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))..............
3380 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.....
33a0 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
33c0 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
33e0 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).................
3400 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
3420 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))))..............
3440 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
3460 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.
3480 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
34a0 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.
34c0 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
34e0 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
3500 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)...........;;
3520 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
3540 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
3560 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
3580 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
35a0 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.........................
35c0 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
35e0 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).......
3600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3620 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
3640 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...........................
3660 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).(
3680 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))))..................(
36a0 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
36c0 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..........................
36e0 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
3700 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.
3720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3740 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
3760 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.
3780 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
37a0 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
37c0 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
37e0 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
3800 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
3820 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
3840 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
3860 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...
3880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
38a0 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
38c0 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))....................
38e0 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
3900 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)).....
3920 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
3940 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
3960 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
3980 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
39a0 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
39c0 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
39e0 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).......
3a00 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
3a20 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
3a40 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.".................
3a60 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
3a80 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")
3aa0 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
3ac0 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
3ae0 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-
3b00 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.............(
3b20 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)............
3b40 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...........
3b60 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..................
3b80 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
3ba0 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
3bc0 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".
3be0 20 20 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 ..........................".....
3c00 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
3c20 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
3c40 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
3c60 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
3c80 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
3ca0 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.
3cc0 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-
3ce0 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
3d00 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
3d20 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
3d40 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
3d60 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
3d80 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
3da0 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.
3dc0 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
3de0 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."...;;.
3e00 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
3e20 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-
3e40 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
3e60 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
3e80 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"...;;..
3ea0 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
3ec0 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
3ee0 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
3f00 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))..........
3f20 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
3f40 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
3f60 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\\(:\\|.=\\).".
3f80 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
3fa0 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..........
3fc0 20 20 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
3fe0 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)....
4000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
4020 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..
4040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4060 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))))....
4080 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
40a0 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
40c0 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
40e0 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
4100 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
4120 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.........
4140 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
4160 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....
4180 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
41a0 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.
41c0 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
41e0 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
4200 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..........;;.(:.#$%&-+?<>~/)...
4220 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
4240 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
4260 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.
4280 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
42a0 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_:.
42c0 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
42e0 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
4300 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."]".....
4320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4340 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_]"..........
4360 20 20 20 20 20 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 ............................."["
4380 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.
43a0 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
43c0 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
43e0 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
4400 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
4420 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
4440 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
4460 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
4480 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.
44a0 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
44c0 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
44e0 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
4500 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"))..........
4520 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
4540 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)).....
4560 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
4580 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-
45a0 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
45c0 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
45e0 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)...
4600 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
4620 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..
4640 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
4660 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
4680 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
46a0 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
46c0 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
46e0 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:/
4700 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
4720 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/
4740 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
4760 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:
4780 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
47a0 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*
47c0 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
47e0 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
4800 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
4820 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)..
4840 20 20 20 20 20 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
4860 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)........
4880 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
48a0 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.'
48c0 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
48e0 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
4900 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
4920 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
4940 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"...............
4960 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
4980 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)).
49a0 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
49c0 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
49e0 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.....
4a00 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]"..
4a20 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.
4a40 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
4a60 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).....................
4a80 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-
4aa0 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)))....................
4ac0 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)...............
4ae0 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))
4b00 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).....;;.
4b20 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-
4b40 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:.
4b60 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
4b80 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
4ba0 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
4bc0 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
4be0 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
4c00 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
4c20 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
4c40 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
4c60 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....;
4c80 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
4ca0 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.............................
4cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4e00 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
4e20 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.........................
4e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4e60 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
4e80 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...
4ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4f00 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...................
4f20 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...................
4f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5000 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
5020 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.
5040 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
5060 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
5080 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>.;;.......
50a0 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
50c0 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
50e0 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
5100 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
5120 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
5140 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-
5160 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
5180 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
51a0 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.;;
51c0 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
51e0 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
5200 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.
5220 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/
5240 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
5260 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
5280 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
52a0 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.
52c0 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
52e0 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)...................
5300 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'.
5320 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
5340 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
5360 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
5380 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
53a0 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."").(
53c0 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
53e0 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
5400 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."|.")
5420 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
5440 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
5460 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...
5480 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
54a0 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....."
54c0 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."\\"
54e0 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...
5500 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"..
5520 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.
5540 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
5560 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
5580 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..
55a0 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./
55c0 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
55e0 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
5600 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
5620 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
5640 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"....."
5660 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".
5680 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"
56a0 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
56c0 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
56e0 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
5700 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".;
5720 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
5740 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
5760 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...
5780 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
57a0 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
57c0 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...
57e0 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
5800 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
5820 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
5840 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
5860 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
5880 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.
58a0 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
58c0 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
58e0 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.
5900 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
5920 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
5940 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.
5960 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
5980 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
59a0 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
59c0 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
59e0 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.
5a00 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-
5a20 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
5a40 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
5a60 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
5a80 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
5aa0 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
5ac0 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
5ae0 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-
5b00 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.
5b20 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")..
5b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
5b60 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")..
5b80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
5ba0 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")
5bc0 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.
5be0 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
5c00 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
5c20 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
5c40 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
5c60 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
5c80 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
5ca0 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
5cc0 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
5ce0 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
5d00 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.
5d20 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-
5d40 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
5d60 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
5d80 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
5da0 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-
5dc0 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
5de0 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...
5e00 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
5e20 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").....(
5e40 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
5e60 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"..."
5e80 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
5ea0 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
5ec0 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.
5ee0 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
5f00 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.
5f20 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
5f40 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
5f60 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
5f80 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..
5fa0 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
5fc0 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
5fe0 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
6000 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
6020 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
6040 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
6060 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
6080 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
60a0 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............
60c0 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")...
60e0 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
6100 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
6120 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-
6140 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
6160 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
6180 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
61a0 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
61c0 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
61e0 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."
6200 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
6220 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
6240 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
6260 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-
6280 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)))...;;
62a0 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.
62c0 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
62e0 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)))...;;.......(
6300 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"...;;......
6320 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)...;;.....
6340 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
6360 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)...;;...
6380 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-
63a0 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
63c0 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
63e0 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
6400 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)................
6420 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
6440 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)...........
6460 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
6480 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
64a0 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......................(
64c0 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
64e0 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)........
6500 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...
6520 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).
6540 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
6560 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)..........
6580 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
65a0 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)......................(
65c0 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
65e0 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)..........
6600 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
6620 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)...
6640 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..
6660 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
6680 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..........
66a0 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
66c0 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)...........
66e0 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
6700 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)............
6720 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
6740 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)...........
6760 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
6780 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)........
67a0 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
67c0 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)...
67e0 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...
6800 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)......
6820 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.
6840 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
6860 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
6880 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)
68a0 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
68c0 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)...
68e0 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-
6900 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)..............
6920 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
6940 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)......................(
6960 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
6980 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
69a0 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
69c0 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
69e0 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
6a00 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
6a20 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
6a40 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
6a60 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.\"
6a80 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
6aa0 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
6ac0 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
6ae0 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
6b00 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."..
6b20 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
6b40 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.
6b60 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
6b80 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
6ba0 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
6bc0 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)......
6be0 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.......;;."
6c00 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
6c20 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
6c40 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
6c60 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
6c80 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
6ca0 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
6cc0 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.
6ce0 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
6d00 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
6d20 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
6d40 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
6d60 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))..........(
6d80 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.
6da0 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
6dc0 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
6de0 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.(
6e00 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.
6e20 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
6e40 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.
6e60 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."-.[
6e80 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.")")))..
6ea0 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
6ec0 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
6ee0 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
6f00 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
6f20 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.\
6f40 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.
6f60 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.
6f80 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
6fa0 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
6fc0 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
6fe0 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
7000 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\"."...(
7020 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"))).....(
7040 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
7060 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)......
7080 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></%
70a0 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
70c0 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)
70e0 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
7100 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
7120 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
7140 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
7160 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
7180 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--")..............
71a0 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--
71c0 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-
71e0 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--").......
7200 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
7220 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
7240 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--")))).....(
7260 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))
7280 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
72a0 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
72c0 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
72e0 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.
7300 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
7320 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
7340 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.
7360 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."...
7380 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
73a0 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)).
73c0 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
73e0 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:
7400 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....
7420 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
7440 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
7460 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
7480 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..
74a0 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
74c0 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)
74e0 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).
7500 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)..
7520 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)......
7540 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).....
7560 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
7580 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.
75a0 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
75c0 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
75e0 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
7600 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
7620 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
7640 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
7660 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).............
7680 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
76a0 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'
76c0 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
76e0 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
7700 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.--...
7720 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
7740 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
7760 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
7780 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
77a0 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
77c0 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..........
77e0 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-
7800 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)))..
7820 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.................
7840 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.............
7860 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
7880 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.......
78a0 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
78c0 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
78e0 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
7900 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
7920 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.....................
7940 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.
7960 20 20 20 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".
7980 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
79a0 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
79c0 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
79e0 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..........
7a00 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
7a20 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
7a40 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............................
7a60 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...............
7a80 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:
7aa0 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:]]*\
7ac0 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"..
7ae0 20 20 20 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))
7b00 0a 20 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
7b20 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)
7b40 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
7b60 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
7b80 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
7ba0 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."[[:
7bc0 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)))).........(
7be0 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
7c00 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))))..
7c20 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......
7c40 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)........
7c60 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
7c80 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)).
7ca0 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
7cc0 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".......................
7ce0 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
7d00 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
7d20 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.
7d40 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
7d60 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).................."
7d80 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
7da0 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
7dc0 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.
7de0 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
7e00 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
7e20 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
7e40 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
7e60 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
7e80 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
7ea0 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
7ec0 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
7ee0 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
7f00 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)...................
7f20 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-
7f40 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.(
7f60 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
7f80 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.
7fa0 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
7fc0 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
7fe0 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
8000 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
8020 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
8040 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
8060 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
8080 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
80a0 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))....
80c0 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)..........
80e0 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
8100 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)))....
8120 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...........
8140 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..
8160 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)..........
8180 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..............
81a0 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...............
81c0 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......
81e0 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
8200 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.......................
8220 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...........
8240 20 20 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
8260 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)).......
8280 20 20 20 20 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-
82a0 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))..........
82c0 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))..
82e0 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))..
8300 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)
8320 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
8340 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
8360 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
8380 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
83a0 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
83c0 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
83e0 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.
8400 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-
8420 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.
8440 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
8460 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
8480 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
84a0 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
84c0 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
84e0 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
8500 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
8520 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
8540 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))
8560 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))......
8580 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.....
85a0 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.........
85c0 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
85e0 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.'
8600 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))..................
8620 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.
8640 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)))...........................
8660 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.
8680 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))).....................
86a0 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
86c0 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).
86e0 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
8700 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
8720 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.......................;;.
8740 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
8760 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....................
8780 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............
87a0 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
87c0 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)...........................
87e0 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).................
8800 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)))).....
8820 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)
8840 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.
8860 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
8880 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))
88a0 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
88c0 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
88e0 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-
8900 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
8920 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
8940 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
8960 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
8980 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-
89a0 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.
89c0 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
89e0 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
8a00 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
8a20 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
8a40 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-
8a60 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
8a80 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
8aa0 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
8ac0 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
8ae0 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
8b00 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
8b20 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
8b40 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))..
8b60 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))
8b80 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
8ba0 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)))).
8bc0 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
8be0 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)
8c00 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
8c20 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)))
8c40 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
8c60 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
8c80 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).......................
8ca0 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.
8cc0 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).......
8ce0 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
8d00 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
8d20 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
8d40 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-
8d60 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
8d80 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-
8da0 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
8dc0 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
8de0 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
8e00 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.
8e20 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
8e40 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).....
8e60 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
8e80 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....................
8ea0 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
8ec0 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)))).............
8ee0 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
8f00 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.........
8f20 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.
8f40 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...............
8f60 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'..........
8f80 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........
8fa0 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
8fc0 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))...........................
8fe0 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))..........
9000 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.
9020 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]+\\)?>\
9040 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 \'".............................
9060 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)).......
9080 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
90a0 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)))..............
90c0 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
90e0 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))))))........
9100 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.....
9120 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
9140 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)))).......
9160 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.
9180 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........
91a0 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.
91c0 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....
91e0 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......
9200 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...............
9220 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"
9240 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).......................(
9260 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)
9280 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
92a0 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).......
92c0 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)))))
92e0 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
9300 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
9320 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
9340 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
9360 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.
9380 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
93a0 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
93c0 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
93e0 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.
9400 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
9420 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
9440 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):....\"_\".->.\"\\=
9460 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 \\_\"...\"*\".->.\"\\=\\*\"...\"
9480 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
94a0 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
94c0 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)
94e0 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
9500 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,.
9520 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
9540 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
9560 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
9580 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.
95a0 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
95c0 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
95e0 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
9600 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.
9620 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
9640 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)
9660 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)\".->.\"(.
9680 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
96a0 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
96c0 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
96e0 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
9700 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
9720 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
9740 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:....!\"#$%&'()*+,-./:
9760 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:.
9780 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 ...\"\\(\".->.\"\\\\(\"...\"\\)\
97a0 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 ".->.\"\\\\)\"...\"\\\\=[\".->.\
97c0 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 "\\\\\\=[\"...\"\\\\=]\".->.\"\\
97e0 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 \\\\=]\"...\"\\\\={\".->.\"\\\\\
9800 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 \={\"...\"\\\\=}\".->.\"\\\\\\=}
9820 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 \"...\"\\|\".->.\"\\\\|\"....\"]
9840 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
9860 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
9880 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
98a0 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."...(
98c0 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
98e0 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
9900 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.,..........;;.\(.->.\
9920 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 \(,.\).->.\\),.\[.->.\\[,.\].->.
9940 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 \\],.\{.->.\\{,.\}.->.\\},.\|.->
9960 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
9980 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."\\(\\\\[][
99a0 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 (){}!\"#$%&'*+,./:;<=>?@\\^_`|~-
99c0 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))..........;
99e0 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 ;._.->.\_,.*.->.\*,.`.->.\`.....
9a00 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
9a20 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
9a40 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).->.(
9a60 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).
9a80 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
9aa0 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\
9ac0 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)).....
9ae0 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
9b00 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
9b20 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
9b40 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
9b60 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
9b80 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."\\\
9ba0 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
9bc0 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))..;;;
9be0 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
9c00 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
9c20 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-
9c40 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
9c60 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--
9c80 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
9ca0 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
9cc0 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
9ce0 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
9d00 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
9d20 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
9d40 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
9d60 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
9d80 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.
9da0 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
9dc0 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).
9de0 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
9e00 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
9e20 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
9e40 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
9e60 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
9e80 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
9ea0 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
9ec0 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.
9ee0 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
9f00 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
9f20 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
9f40 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
9f60 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
9f80 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))...
9fa0 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.(
9fc0 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)).................
9fe0 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
a000 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............................"
a020 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
a040 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))))...............
a060 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;.".
a080 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.
a0a0 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
a0c0 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.
a0e0 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.#
a100 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
a120 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
a140 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.
a160 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
a180 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
a1a0 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.
a1c0 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
a1e0 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
a200 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
a220 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
a240 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
a260 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
a280 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
a2a0 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)
a2c0 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
a2e0 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)...................
a300 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))
a320 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."")).....
a340 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*.((
a360 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
a380 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))...........
a3a0 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
a3c0 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
a3e0 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
a400 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).........
a420 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
a440 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".......
a460 20 20 20 20 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
a480 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
a4a0 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.
a4c0 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
a4e0 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
a500 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
a520 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
a540 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
a560 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
a580 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.
a5a0 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
a5c0 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
a5e0 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.
a600 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
a620 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
a640 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
a660 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
a680 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,
a6a0 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.
a6c0 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
a6e0 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.
a700 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.
a720 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
a740 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)))...........
a760 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
a780 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)..................
a7a0 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
a7c0 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.........
a7e0 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
a800 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
a820 0a 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
a840 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.
a860 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.......................
a880 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
a8a0 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
a8c0 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).....
a8e0 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
a900 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)..................
a920 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
a940 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............
a960 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
a980 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
a9a0 0a 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.
a9c0 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
a9e0 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.........................
aa00 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).....
aa20 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
aa40 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)..................
aa60 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.
aa80 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
aaa0 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))......
aac0 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))........
aae0 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
ab00 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
ab20 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))...
ab40 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
ab60 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.
ab80 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.
aba0 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
abc0 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......................
abe0 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
ac00 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>".......................
ac20 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
ac40 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
ac60 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))...................
ac80 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
aca0 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-
acc0 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)..
ace0 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
ad00 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.
ad20 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.
ad40 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
ad60 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
ad80 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
ada0 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://
adc0 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/
ade0 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
ae00 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.
ae20 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-
ae40 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).
ae60 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
ae80 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
aea0 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
aec0 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
aee0 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
af00 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.
af20 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..
af40 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.
af60 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
af80 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
afa0 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
afc0 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
afe0 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
b000 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
b020 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
b040 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)
b060 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
b080 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
b0a0 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)...
b0c0 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
b0e0 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."...;;
b100 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
b120 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)
b140 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)
b160 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
b180 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-*[-+*]."."...\
b1a0 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
b1c0 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.
b1e0 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 ....^^,.....;;..................
b200 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
b220 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
b240 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),
b260 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))..;;;
b280 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
b2a0 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)..."
b2c0 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
b2e0 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...
b300 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
b320 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
b340 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.
b360 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__
b380 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.\"
b3a0 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
b3c0 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
b3e0 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
b400 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.
b420 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
b440 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.
b460 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/
b480 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
b4a0 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
b4c0 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.
b4e0 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
b500 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
b520 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
b540 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
b560 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
b580 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
b5a0 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
b5c0 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)).......
b5e0 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
b600 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)..
b620 20 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.
b640 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
b660 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*.
b680 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).....................
b6a0 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
b6c0 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................
b6e0 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.#
b700 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....................
b720 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
b740 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
b760 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\\|\\)__".
b780 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))........................
b7a0 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
b7c0 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.........................
b7e0 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
b800 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./...................
b820 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..
b840 20 20 20 20 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.
b860 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."[_/]"
b880 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))).....................
b8a0 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".
b8c0 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
b8e0 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
b900 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)...
b920 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
b940 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.\"
b960 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
b980 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
b9a0 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
b9c0 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
b9e0 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
ba00 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
ba20 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
ba40 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'.
ba60 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
ba80 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
baa0 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
bac0 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
bae0 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
bb00 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
bb20 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
bb40 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
bb60 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
bb80 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
bba0 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
bbc0 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
bbe0 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
bc00 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
bc20 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
bc40 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
bc60 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)))............
bc80 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-
bca0 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
bcc0 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).........
bce0 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.
bd00 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
bd20 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
bd40 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
bd60 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)........."")))).
bd80 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.
bda0 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
bdc0 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)
bde0 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
be00 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
be20 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
be40 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
be60 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.
be80 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
bea0 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-
bec0 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_-.
bee0 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)............."-"))...
bf00 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
bf20 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-
bf40 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.&
bf60 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.
bf80 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
bfa0 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
bfc0 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
bfe0 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
c000 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
c020 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
c040 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
c060 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
c080 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
c0a0 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
c0c0 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
c0e0 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
c100 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
c120 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
c140 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
c160 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
c180 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.
c1a0 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
c1c0 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
c1e0 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
c200 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.
c220 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
c240 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
c260 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.(
c280 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
c2a0 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
c2c0 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
c2e0 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)).
c300 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)
c320 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
c340 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").
c360 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.
c380 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..............)..........
c3a0 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
c3c0 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))....................(
c3e0 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.
c400 20 20 20 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 ..........................."\"".
c420 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-
c440 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
c460 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\"".
c480 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.
c4a0 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
c4c0 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.
c4e0 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.
c500 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
c520 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
c540 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)))..
c560 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
c580 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
c5a0 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
c5c0 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
c5e0 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
c600 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
c620 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
c640 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
c660 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.
c680 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.
c6a0 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
c6c0 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
c6e0 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
c700 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
c720 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.
c740 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.
c760 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
c780 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
c7a0 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
c7c0 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.
c7e0 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
c800 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
c820 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,.
c840 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
c860 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
c880 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
c8a0 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
c8c0 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,
c8e0 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
c900 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."..
c920 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
c940 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
c960 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.....
c980 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
c9a0 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......................
c9c0 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
c9e0 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...........................(
ca00 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).'
ca20 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)......................
ca40 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.
ca60 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
ca80 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).......................
caa0 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
cac0 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)...................
cae0 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
cb00 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
cb20 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 ))).............................
cb40 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.
cb60 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)...........
cb80 20 20 20 20 20 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
cba0 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
cbc0 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))))).................
cbe0 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)....................
cc00 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-
cc20 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).
cc40 0a 20 20 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.
cc60 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
cc80 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)...........................
cca0 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-
ccc0 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
cce0 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)............................
cd00 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
cd20 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)))......
cd40 20 20 20 20 20 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
cd60 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
cd80 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))))......
cda0 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).........
cdc0 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.
cde0 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.
ce00 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).........
ce20 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
ce40 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,..
ce60 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.
ce80 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
cea0 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
cec0 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*.
cee0 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.........................
cf00 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
cf20 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).........
cf40 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
cf60 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.
cf80 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)).................
cfa0 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-
cfc0 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
cfe0 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)..................
d000 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
d020 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
d040 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.................
d060 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
d080 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
d0a0 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)))...........................
d0c0 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
d0e0 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)))).........
d100 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)............
d120 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................
d140 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
d160 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
d180 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
d1a0 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
d1c0 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"...
d1e0 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
d200 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
d220 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
d240 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
d260 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
d280 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.
d2a0 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
d2c0 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
d2e0 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
d300 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
d320 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
d340 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
d360 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.
d380 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
d3a0 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;.}".
d3c0 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<
d3e0 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\
d400 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
d420 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
d440 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)))..;;;;.
d460 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
d480 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
d4a0 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
d4c0 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
d4e0 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
d500 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
d520 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."...(
d540 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
d560 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))....
d580 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
d5a0 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
d5c0 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-
d5e0 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.?`))........
d600 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.:
d620 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
d640 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'....................
d660 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
d680 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)))........
d6a0 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
d6c0 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-
d6e0 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'.............
d700 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
d720 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))...
d740 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 ....................""))........
d760 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
d780 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:.%
d7a0 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
d7c0 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
d7e0 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)).....(
d800 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
d820 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
d840 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
d860 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
d880 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.'
d8a0 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).......;
d8c0 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
d8e0 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..
d900 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
d920 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
d940 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
d960 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
d980 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
d9a0 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
d9c0 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
d9e0 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.
da00 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-
da20 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)))....
da40 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.`
da60 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
da80 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
daa0 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)).
dac0 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
dae0 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
db00 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
db20 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
db40 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.
db60 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
db80 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
dba0 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
dbc0 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)).........
dbe0 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
dc00 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
dc20 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
dc40 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.
dc60 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
dc80 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...
dca0 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"...
dcc0 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........
dce0 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
dd00 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))...............
dd20 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
dd40 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....
dd60 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.......
dd80 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
dda0 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))
ddc0 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)....
dde0 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.'
de00 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)........
de20 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
de40 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,.......
de60 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.
de80 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....
dea0 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
dec0 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
dee0 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....
df00 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
df20 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......
df40 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-
df60 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.............
df80 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
dfa0 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
dfc0 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
dfe0 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
e000 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)..."
e020 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
e040 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
e060 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.
e080 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
e0a0 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
e0c0 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
e0e0 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
e100 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.....
e120 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
e140 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.
e160 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
e180 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
e1a0 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
e1c0 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
e1e0 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
e200 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
e220 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.
e240 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
e260 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.
e280 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
e2a0 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
e2c0 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
e2e0 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
e300 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.(
e320 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))......
e340 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
e360 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
e380 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
e3a0 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
e3c0 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..
e3e0 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).
e400 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
e420 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.....................
e440 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
e460 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)..........
e480 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"))))
e4a0 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
e4c0 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-
e4e0 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
e500 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
e520 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
e540 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
e560 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
e580 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
e5a0 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
e5c0 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
e5e0 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
e600 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
e620 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
e640 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
e660 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...
e680 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.*"....;;.
e6a0 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
e6c0 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..
e6e0 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
e700 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))..;
e720 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-
e740 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.
e760 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
e780 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
e7a0 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
e7c0 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
e7e0 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...
e800 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
e820 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
e840 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
e860 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
e880 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
e8a0 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
e8c0 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
e8e0 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:......-.
e900 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
e920 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
e940 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))).....;;.
e960 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
e980 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.....
e9a0 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.
e9c0 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
e9e0 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
ea00 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
ea20 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)......
ea40 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
ea60 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........
ea80 20 20 20 20 20 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
eaa0 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)
eac0 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
eae0 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)).......
eb00 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
eb20 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
eb40 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.
eb60 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)).
eb80 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.
eba0 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?......................
ebc0 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
ebe0 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
ec00 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?....
ec20 20 20 20 20 20 20 20 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
ec40 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)))..
ec60 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.
ec80 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))........
eca0 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.
ecc0 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.........
ece0 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
ed00 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.....
ed20 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.
ed40 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
ed60 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
ed80 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
eda0 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
edc0 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)...............
ede0 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
ee00 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)).........
ee20 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
ee40 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))).
ee60 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
ee80 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))....
eea0 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.(
eec0 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........
eee0 20 20 20 20 20 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
ef00 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)..
ef20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
ef40 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........................
ef60 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
ef80 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).......................
efa0 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
efc0 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
efe0 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.....................
f000 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
f020 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).........................
f040 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).......
f060 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 ................."-")...........
f080 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
f0a0 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).....................
f0c0 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))....
f0e0 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...........
f100 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
f120 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
f140 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).................
f160 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
f180 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...
f1a0 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.(
f1c0 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).........
f1e0 20 20 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
f200 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))................
f220 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
f240 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)).?.)))..............(
f260 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?............
f280 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
f2a0 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)).........
f2c0 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
f2e0 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)))......
f300 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.....
f320 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
f340 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...................
f360 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
f380 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)..........................
f3a0 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))))))
f3c0 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........
f3e0 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................
f400 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
f420 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)...................
f440 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].")...................(
f460 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."[-].")..................
f480 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."[.].")).................
f4a0 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
f4c0 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
f4e0 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."^"."
f500 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
f520 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
f540 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-
f560 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-
f580 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
f5a0 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
f5c0 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
f5e0 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=
f600 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.\"
f620 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
f640 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
f660 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.
f680 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
f6a0 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.(
f6c0 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
f6e0 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\\)*?<
f700 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=\"\\)\\([^\"]+\\)\\(\"\\
f720 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))....
f740 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
f760 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"......................
f780 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
f7a0 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..............
f7c0 20 20 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
f7e0 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................
f800 20 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
f820 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))
f840 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
f860 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
f880 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
f8a0 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
f8c0 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)).........;;.(
f8e0 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
f900 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
f920 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".....
f940 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
f960 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).............
f980 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............
f9a0 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
f9c0 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))..(
f9e0 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
fa00 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
fa20 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-
fa40 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
fa60 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
fa80 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
faa0 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.(
fac0 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)))...
fae0 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
fb00 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".
fb20 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......
fb40 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
fb60 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
fb80 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............
fba0 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
fbc0 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))).
fbe0 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
fc00 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
fc20 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
fc40 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
fc60 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
fc80 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".
fca0 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."
fcc0 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
fce0 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.......
fd00 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-
fd20 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
fd40 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
fd60 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
fd80 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
fda0 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
fdc0 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
fde0 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
fe00 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
fe20 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
fe40 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.
fe60 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...
fe80 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
fea0 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
fec0 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
fee0 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
ff00 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
ff20 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)).............
ff40 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
ff60 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)))........
ff80 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.
ffa0 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
ffc0 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
ffe0 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
10000 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
10020 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
10040 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
10060 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
10080 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
100a0 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
100c0 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.
100e0 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.
10100 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."...(
10120 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
10140 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-
10160 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.
10180 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-
101a0 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
101c0 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)................
101e0 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
10200 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*
10220 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
10240 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))..........
10260 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
10280 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
102a0 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
102c0 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
102e0 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
10300 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))...
10320 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.'(
10340 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......................
10360 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
10380 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
103a0 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......
103c0 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<!
103e0 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))..;;
10400 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
10420 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
10440 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
10460 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.
10480 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
104a0 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
104c0 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
104e0 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..
10500 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
10520 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
10540 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
10560 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.
10580 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
105a0 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
105c0 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)).
105e0 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
10600 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.....;
10620 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.`,.*
10640 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
10660 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."[`*\\]"."\\\\\\
10680 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.
106a0 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
106c0 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
106e0 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
10700 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
10720 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
10740 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
10760 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:
10780 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:].!?]\
107a0 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))
107c0 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
107e0 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
10800 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:]]\\|\\`
10820 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:]]\\)"."
10840 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
10860 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
10880 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'.(`<',.....;
108a0 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
108c0 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))..
108e0 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
10900 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
10920 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
10940 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;%".
10960 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
10980 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;
109a0 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
109c0 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
109e0 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
10a00 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
10a20 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
10a40 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
10a60 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\\\\#".
10a80 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.
10aa0 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
10ac0 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."\\(!\\)\\["."\\\\!
10ae0 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
10b00 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..
10b20 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-
10b40 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.(
10b60 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
10b80 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)))...
10ba0 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.
10bc0 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
10be0 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)......
10c00 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
10c20 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
10c40 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
10c60 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.:
10c80 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
10ca0 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."[.\
10cc0 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))).....;;
10ce0 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))..;;;;.
10d00 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
10d20 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
10d40 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
10d60 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
10d80 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
10da0 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
10dc0 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
10de0 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
10e00 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
10e20 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
10e40 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
10e60 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
10e80 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-
10ea0 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
10ec0 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).....;;.
10ee0 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
10f00 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
10f20 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
10f40 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
10f60 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.......................;
10f80 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
10fa0 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................
10fc0 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
10fe0 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
11000 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.....................
11020 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-->")))....
11040 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
11060 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
11080 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
110a0 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.
110c0 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
110e0 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
11100 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))..........
11120 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".............
11140 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................
11160 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
11180 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.................
111a0 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
111c0 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
111e0 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=\"
11200 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
11220 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).
11240 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)))...
11260 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.
11280 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
112a0 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-
112c0 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
112e0 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
11300 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
11320 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
11340 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.
11360 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
11380 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-
113a0 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
113c0 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
113e0 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
11400 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
11420 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))..
11440 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
11460 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
11480 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))..........
114a0 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
114c0 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)).
114e0 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-
11500 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))
11520 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
11540 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
11560 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
11580 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
115a0 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
115c0 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
115e0 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
11600 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
11620 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))).........
11640 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
11660 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...................
11680 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.....
116a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
116c0 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
116e0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
11700 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
11720 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......
11740 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-
11760 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)......
11780 20 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
117a0 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
117c0 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.........
117e0 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
11800 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
11820 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)).........
11840 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))..
11860 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 ........................""))....
11880 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
118a0 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
118c0 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...
118e0 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
11900 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)).....
11920 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
11940 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........
11960 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
11980 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))
119a0 0a 20 20 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
119c0 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
119e0 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))))
11a00 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
11a20 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)............
11a40 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
11a60 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)........................"")))
11a80 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
11aa0 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
11ac0 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
11ae0 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..
11b00 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.....
11b20 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........
11b40 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.........;;.
11b60 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..........
11b80 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.
11ba0 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
11bc0 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.
11be0 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.........
11c00 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
11c20 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.....
11c40 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
11c60 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...
11c80 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
11ca0 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...
11cc0 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
11ce0 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"......
11d00 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."
11d20 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\\)*</
11d40 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
11d60 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......................(
11d80 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".
11da0 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)...
11dc0 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
11de0 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)).............
11e00 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
11e20 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>...........
11e40 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
11e60 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..........
11e80 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
11ea0 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<
11ec0 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.
11ee0 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
11f00 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
11f20 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
11f40 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
11f60 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
11f80 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
11fa0 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.
11fc0 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
11fe0 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
12000 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
12020 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))..............
12040 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."
12060 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))))).......
12080 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
120a0 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.
120c0 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.
120e0 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
12100 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:......
12120 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.........;;
12140 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").........;;...
12160 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
12180 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
121a0 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
121c0 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
121e0 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.....
12200 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,.
12220 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
12240 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,.
12260 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
12280 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>
122a0 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
122c0 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
122e0 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%
12300 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-
12320 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
12340 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.
12360 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%
12380 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
123a0 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.................(
123c0 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
123e0 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.
12400 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..................
12420 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
12440 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
12460 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.............
12480 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
124a0 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..............
124c0 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..
124e0 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>".""....
12500 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
12520 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
12540 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
12560 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
12580 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
125a0 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<
125c0 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".................
125e0 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
12600 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-
12620 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
12640 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."
12660 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"....
12680 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-
126a0 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
126c0 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
126e0 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).................
12700 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
12720 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
12740 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)....
12760 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
12780 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
127a0 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
127c0 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......
127e0 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<
12800 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".......................
12820 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...........
12840 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
12860 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
12880 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
128a0 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............
128c0 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
128e0 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
12900 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.............
12920 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-
12940 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)..................
12960 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)))))))
12980 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
129a0 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
129c0 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
129e0 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
12a00 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.
12a20 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.
12a40 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
12a60 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))....
12a80 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
12aa0 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
12ac0 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
12ae0 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)
12b00 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'
12b20 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-
12b40 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
12b60 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
12b80 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
12ba0 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'....
12bc0 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.".{
12be0 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-
12c00 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))......................."")
12c20 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-
12c40 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))...
12c60 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-
12c80 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
12ca0 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."^
12cc0 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
12ce0 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)..............................
12d00 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
12d20 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
12d40 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.
12d60 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
12d80 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
12da0 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.
12dc0 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.
12de0 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
12e00 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
12e20 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
12e40 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:.....;;...
12e60 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-
12e80 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").
12ea0 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 ....;;...```.....;;...````.....(
12ec0 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
12ee0 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
12f00 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
12f20 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))..
12f40 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
12f60 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
12f80 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
12fa0 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
12fc0 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.?`)
12fe0 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
13000 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).....;;.
13020 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].
13040 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)...
13060 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
13080 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-
130a0 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
130c0 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.
130e0 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).......
13100 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
13120 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
13140 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
13160 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
13180 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.
131a0 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
131c0 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.
131e0 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.......
13200 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
13220 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.....
13240 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
13260 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............
13280 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
132a0 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
132c0 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
132e0 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-
13300 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.
13320 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
13340 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
13360 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
13380 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
133a0 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
133c0 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
133e0 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
13400 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~~".
13420 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
13440 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
13460 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
13480 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
134a0 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
134c0 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
134e0 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
13500 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."[
13520 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
13540 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
13560 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*
13580 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-
135a0 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
135c0 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-
135e0 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)))......
13600 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
13620 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)).
13640 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
13660 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
13680 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)."|."."."))..
136a0 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.".|").....
136c0 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.""))....
136e0 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.
13700 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.....
13720 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.
13740 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
13760 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)......................
13780 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-
137a0 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
137c0 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
137e0 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.....;
13800 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
13820 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....
13840 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
13860 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
13880 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
138a0 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
138c0 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
138e0 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
13900 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
13920 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
13940 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)....
13960 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
13980 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))).
139a0 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
139c0 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
139e0 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
13a00 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.
13a20 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
13a40 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
13a60 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
13a80 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
13aa0 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
13ac0 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
13ae0 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
13b00 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.
13b20 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
13b40 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
13b60 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.
13b80 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-
13ba0 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.
13bc0 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))
13be0 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.
13c00 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.....
13c20 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
13c40 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..
13c60 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.
13c80 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
13ca0 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))......
13cc0 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
13ce0 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
13d00 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
13d20 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....
13d40 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
13d60 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))...
13d80 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,.
13da0 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
13dc0 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))
13de0 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
13e00 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)
13e20 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
13e40 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.
13e60 20 20 20 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
13e80 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............................
13ea0 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)...................
13ec0 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
13ee0 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
13f00 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)))))....
13f20 20 20 20 20 20 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
13f40 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.?-)))........
13f60 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
13f80 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))..............
13fa0 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
13fc0 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)..................
13fe0 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
14000 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
14020 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
14040 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
14060 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
14080 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....
140a0 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)......
140c0 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-
140e0 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
14100 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:.
14120 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
14140 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."[^|]"."-".
14160 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).......
14180 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."").............
141a0 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
141c0 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
141e0 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
14200 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.......
14220 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
14240 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
14260 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)...........
14280 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))).......
142a0 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
142c0 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
142e0 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
14300 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
14320 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'.....
14340 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
14360 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
14380 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
143a0 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
143c0 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))
143e0 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
14400 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".
14420 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.
14440 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
14460 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)
14480 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
144a0 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))............
144c0 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
144e0 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)))
14500 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
14520 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)).............
14540 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-
14560 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))))..
14580 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
145a0 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)).............(
145c0 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
145e0 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."|"
14600 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
14620 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-
14640 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.
14660 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
14680 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
146a0 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
146c0 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)....
146e0 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
14700 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.
14720 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
14740 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
14760 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.
14780 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.
147a0 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
147c0 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
147e0 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.(
14800 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
14820 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"
14840 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
14860 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
14880 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
148a0 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
148c0 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.........."\\(<!--.
148e0 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
14900 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\\)
14920 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)).....;;
14940 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
14960 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-
14980 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))............
149a0 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)).
149c0 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
149e0 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
14a00 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))
14a20 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
14a40 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.........................
14a60 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>\
14a80 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)...................
14aa0 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
14ac0 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)
14ae0 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..........
14b00 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."")..
14b20 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
14b40 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).......................
14b60 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 ......."".......................
14b80 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-
14ba0 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
14bc0 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))............................
14be0 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..............
14c00 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
14c20 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
14c40 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.........
14c60 20 20 20 20 20 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
14c80 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
14ca0 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))))................
14cc0 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
14ce0 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...........
14d00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
14d20 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..................
14d40 20 20 20 20 20 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
14d60 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))....
14d80 20 20 20 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
14da0 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
14dc0 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".....................
14de0 20 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
14e00 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
14e20 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"..........................
14e40 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"....
14e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
14e80 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")...........
14ea0 20 20 20 20 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
14ec0 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
14ee0 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...................
14f00 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."
14f20 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>"......
14f40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
14f60 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
14f80 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).................
14fa0 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."
14fc0 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"..........................
14fe0 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
15000 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))................
15020 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
15040 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
15060 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
15080 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
150a0 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
150c0 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
150e0 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.............(
15100 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
15120 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
15140 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-".........
15160 20 20 20 20 20 20 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
15180 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......................
151a0 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"
151c0 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).....................
151e0 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"))
15200 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
15220 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..................
15240 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))...
15260 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
15280 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
152a0 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)
152c0 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
152e0 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
15300 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
15320 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
15340 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)
15360 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
15380 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....
153a0 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
153c0 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)).
153e0 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
15400 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
15420 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
15440 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
15460 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
15480 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
154a0 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
154c0 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
154e0 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
15500 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"......
15520 20 20 20 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
15540 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)))....
15560 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
15580 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.
155a0 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
155c0 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
155e0 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)).........
15600 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
15620 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...............................
15640 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-
15660 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"................
15680 20 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
156a0 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............................
156c0 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
156e0 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
15700 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).
15720 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
15740 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"...........................
15760 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
15780 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.*
157a0 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.......
157c0 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
157e0 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
15800 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
15820 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
15840 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 .|.......;;...|---|---|.......;;
15860 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
15880 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:.......;;.......;;...|...|.
158a0 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 ..|.......;;...|---|---|.......;
158c0 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
158e0 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."\\`\\
15900 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).....
15920 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-
15940 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))...........
15960 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
15980 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))................(
159a0 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-
159c0 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)))......
159e0 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
15a00 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))))...
15a20 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
15a40 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
15a60 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
15a80 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
15aa0 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....
15ac0 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
15ae0 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
15b00 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
15b20 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
15b40 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
15b60 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
15b80 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))))..
15ba0 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
15bc0 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)..
15be0 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
15c00 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.
15c20 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
15c40 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
15c60 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
15c80 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
15ca0 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
15cc0 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.
15ce0 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
15d00 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
15d20 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
15d40 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
15d60 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........
15d80 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.....
15da0 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.
15dc0 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
15de0 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
15e00 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
15e20 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
15e40 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."#"..
15e60 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.
15e80 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
15ea0 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
15ec0 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
15ee0 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
15f00 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.`
15f20 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.....;
15f40 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
15f60 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
15f80 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
15fa0 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)))
15fc0 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.
15fe0 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
16000 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
16020 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
16040 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.
16060 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 "--"............................
16080 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
160a0 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)))..........
160c0 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
160e0 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
16100 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=\"
16120 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
16140 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))).
16160 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
16180 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
161a0 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
161c0 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
161e0 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
16200 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
16220 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
16240 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)......
16260 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
16280 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
162a0 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
162c0 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
162e0 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
16300 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
16320 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
16340 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:]
16360 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
16380 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
163a0 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))........
163c0 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]*
163e0 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))).........
16400 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
16420 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.......
16440 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
16460 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.........
16480 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
164a0 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
164c0 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
164e0 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.
16500 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
16520 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....
16540 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:]]+".....
16560 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)..........
16580 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.(
165a0 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;"))............
165c0 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.
165e0 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</
16600 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
16620 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
16640 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
16660 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.
16680 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
166a0 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
166c0 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
166e0 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
16700 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
16720 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
16740 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
16760 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
16780 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
167a0 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.
167c0 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
167e0 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
16800 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-
16820 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
16840 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
16860 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
16880 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
168a0 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
168c0 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.
168e0 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
16900 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
16920 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
16940 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
16960 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
16980 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
169a0 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*".....
169c0 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.
169e0 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))))..;
16a00 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
16a20 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.()..."
16a40 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
16a60 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.
16a80 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
16aa0 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
16ac0 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
16ae0 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
16b00 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.
16b20 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.
16b40 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
16b60 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
16b80 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
16ba0 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.(&
16bc0 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-
16be0 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
16c00 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
16c20 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
16c40 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
16c60 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
16c80 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.
16ca0 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.
16cc0 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.
16ce0 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
16d00 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
16d20 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
16d40 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
16d60 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
16d80 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
16da0 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
16dc0 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.
16de0 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
16e00 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
16e20 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.".
16e40 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
16e60 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.".
16e80 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-
16ea0 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
16ec0 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)))..;;;
16ee0 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
16f00 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
16f20 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
16f40 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
16f60 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
16f80 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
16fa0 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.
16fc0 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
16fe0 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
17000 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
17020 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
17040 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
17060 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
17080 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..........
170a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
170c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
170e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
171a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
171c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
171e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17200 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
17220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17260 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
17280 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...
172a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
172c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
172e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17300 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...................
17320 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...................
17340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
173a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
173c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
173e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17400 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
17420 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.
17440 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.-*-..;;.
17460 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
17480 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
174a0 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
174c0 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:
174e0 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"
17500 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
17520 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
17540 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
17560 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
17580 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
175a0 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
175c0 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
175e0 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
17600 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
17620 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
17640 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
17660 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
17680 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
176a0 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.
176c0 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
176e0 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
17700 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
17720 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
17740 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
17760 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
17780 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
177a0 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
177c0 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.
177e0 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
17800 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
17820 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
17840 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
17860 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
17880 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
178a0 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
178c0 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
178e0 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
17900 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
17920 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
17940 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
17960 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
17980 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
179a0 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
179c0 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
179e0 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
17a00 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."
17a20 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.
17a40 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
17a60 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
17a80 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
17aa0 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.
17ac0 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
17ae0 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_
17b00 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.;;....
17b20 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
17b40 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.;;.
17b60 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
17b80 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.
17ba0 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.;;.....
17bc0 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
17be0 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.;
17c00 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
17c20 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
17c40 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
17c60 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
17c80 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.;;.;;.##
17ca0 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
17cc0 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.;;.;;
17ce0 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
17d00 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"..;;..................
17d20 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
17d40 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',.;;............
17d60 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.
17d80 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.;;............
17da0 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..;;........
17dc0 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
17de0 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.;;..
17e00 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
17e20 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),.;;..
17e40 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
17e60 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
17e80 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
17ea0 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..->
17ec0 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".;;..
17ee0 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
17f00 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
17f20 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
17f40 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.
17f60 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.;;.....................
17f80 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..;;.................
17fa0 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
17fc0 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.;;...........
17fe0 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
18000 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'.;;.......
18020 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
18040 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),.;;.......
18060 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
18080 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.;;.
180a0 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.
180c0 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-
180e0 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
18100 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.
18120 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.
18140 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.
18160 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.;;.
18180 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.
181a0 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
181c0 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
181e0 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
18200 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
18220 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)..........
18240 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
18260 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
18280 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)...................
182a0 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
182c0 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).................
182e0 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
18300 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'.
18320 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
18340 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
18360 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
18380 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
183a0 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)
183c0 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
183e0 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-
18400 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.`
18420 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
18440 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
18460 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
18480 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
184a0 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
184c0 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
184e0 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.
18500 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
18520 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
18540 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").....(
18560 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
18580 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-
185a0 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
185c0 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").(
185e0 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
18600 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
18620 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-
18640 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-
18660 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
18680 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
186a0 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
186c0 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
186e0 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
18700 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.
18720 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
18740 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
18760 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.
18780 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/
187a0 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
187c0 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.
187e0 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.
18800 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.
18820 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-
18840 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
18860 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
18880 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)
188a0 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
188c0 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
188e0 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
18900 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)))..
18920 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
18940 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.
18960 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
18980 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
189a0 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
189c0 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.
189e0 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
18a00 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..
18a20 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
18a40 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
18a60 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.(
18a80 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.
18aa0 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
18ac0 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
18ae0 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.
18b00 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
18b20 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
18b40 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
18b60 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
18b80 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
18ba0 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
18bc0 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
18be0 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
18c00 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
18c20 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
18c40 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
18c60 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
18c80 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
18ca0 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
18cc0 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
18ce0 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..
18d00 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.
18d20 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.
18d40 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
18d60 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.
18d80 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
18da0 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
18dc0 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
18de0 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
18e00 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
18e20 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
18e40 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
18e60 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
18e80 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
18ea0 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."
18ec0 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
18ee0 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
18f00 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
18f20 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.
18f40 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
18f60 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
18f80 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
18fa0 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
18fc0 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.(
18fe0 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\\}-[[
19000 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
19020 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 \\}"............................
19040 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:
19060 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\\}:[[:
19080 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\\}"................
190a0 20 20 20 20 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 ............................"\\(
190c0 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\\}:[[:
190e0 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\\}\\)*\\)*\\'")..."
19100 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
19120 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:/
19140 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
19160 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
19180 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
191a0 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
191c0 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-
191e0 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
19200 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.-->".
19220 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.
19240 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
19260 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
19280 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
192a0 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.
192c0 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.
192e0 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
19300 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.'(
19320 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
19340 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
19360 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
19380 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
193a0 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
193c0 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
193e0 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
19400 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
19420 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
19440 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
19460 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
19480 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
194a0 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
194c0 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
194e0 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
19500 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
19520 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
19540 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
19560 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
19580 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
195a0 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
195c0 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
195e0 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
19600 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
19620 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
19640 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-
19660 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
19680 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.
196a0 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
196c0 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
196e0 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
19700 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
19720 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.....)
19740 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
19760 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...
19780 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
197a0 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
197c0 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
197e0 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
19800 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
19820 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
19840 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
19860 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
19880 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
198a0 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
198c0 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.
198e0 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
19900 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
19920 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
19940 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
19960 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
19980 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
199a0 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
199c0 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
199e0 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
19a00 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
19a20 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..(
19a40 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.'
19a60 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
19a80 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
19aa0 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
19ac0 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
19ae0 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").....;;;
19b00 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
19b20 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
19b40 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
19b60 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.
19b80 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
19ba0 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
19bc0 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
19be0 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.
19c00 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.
19c20 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
19c40 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-
19c60 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
19c80 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.
19ca0 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)..
19cc0 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..
19ce0 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.
19d00 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
19d20 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
19d40 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
19d60 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
19d80 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
19da0 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.
19dc0 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
19de0 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
19e00 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
19e20 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
19e40 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
19e60 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
19e80 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
19ea0 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.
19ec0 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
19ee0 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
19f00 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."...
19f20 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.
19f40 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.
19f60 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
19f80 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
19fa0 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"
19fc0 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
19fe0 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
1a000 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
1a020 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...
1a040 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
1a060 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".
1a080 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
1a0a0 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
1a0c0 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
1a0e0 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
1a100 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
1a120 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
1a140 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
1a160 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
1a180 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
1a1a0 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
1a1c0 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
1a1e0 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
1a200 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,.
1a220 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
1a240 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
1a260 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
1a280 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
1a2a0 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
1a2c0 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
1a2e0 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..."
1a300 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
1a320 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
1a340 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.
1a360 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
1a380 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
1a3a0 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
1a3c0 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
1a3e0 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.
1a400 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
1a420 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
1a440 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
1a460 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
1a480 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
1a4a0 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)
1a4c0 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
1a4e0 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
1a500 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__..
1a520 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
1a540 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
1a560 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.
1a580 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
1a5a0 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
1a5c0 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
1a5e0 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
1a600 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
1a620 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
1a640 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
1a660 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-
1a680 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
1a6a0 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>
1a6c0 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
1a6e0 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
1a700 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-
1a720 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
1a740 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
1a760 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-
1a780 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.
1a7a0 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
1a7c0 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
1a7e0 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
1a800 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
1a820 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.
1a840 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.\"@\
1a860 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
1a880 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
1a8a0 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
1a8c0 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.
1a8e0 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-
1a900 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.
1a920 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
1a940 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
1a960 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-
1a980 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.
1a9a0 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
1a9c0 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
1a9e0 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
1aa00 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-
1aa20 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).;;
1aa40 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
1aa60 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
1aa80 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
1aaa0 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.
1aac0 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
1aae0 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.........
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 20 20 20 20 20 20 20 ................................
1ab20 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-
1ab40 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)..
1ab60 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
1ab80 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.
1aba0 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
1abc0 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
1abe0 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
1ac00 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
1ac20 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
1ac40 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
1ac60 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
1ac80 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
1aca0 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
1acc0 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
1ace0 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
1ad00 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-
1ad20 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
1ad40 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
1ad60 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
1ad80 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
1ada0 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
1adc0 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
1ade0 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-
1ae00 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-
1ae20 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
1ae40 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
1ae60 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
1ae80 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
1aea0 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
1aec0 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)))..
1aee0 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
1af00 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
1af20 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.
1af40 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-
1af60 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).;;
1af80 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
1afa0 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
1afc0 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
1afe0 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...
1b000 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)
1b020 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
1b040 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
1b060 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
1b080 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.
1b0a0 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.
1b0c0 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..
1b0e0 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
1b100 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
1b120 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
1b140 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
1b160 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
1b180 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.
1b1a0 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.
1b1c0 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
1b1e0 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
1b200 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
1b220 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
1b240 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
1b260 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\
1b280 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.`
1b2a0 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
1b2c0 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.
1b2e0 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
1b300 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
1b320 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
1b340 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.'
1b360 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
1b380 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
1b3a0 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
1b3c0 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
1b3e0 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-
1b400 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
1b420 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
1b440 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
1b460 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
1b480 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.
1b4a0 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.
1b4c0 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
1b4e0 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
1b500 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
1b520 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\"
1b540 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
1b560 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
1b580 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.
1b5a0 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).........
1b5c0 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
1b5e0 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
1b600 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
1b620 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
1b640 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.(
1b660 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)
1b680 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-
1b6a0 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
1b6c0 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
1b6e0 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.`
1b700 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
1b720 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.
1b740 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
1b760 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
1b780 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
1b7a0 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
1b7c0 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
1b7e0 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
1b800 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
1b820 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...
1b840 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
1b860 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
1b880 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
1b8a0 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-
1b8c0 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....
1b8e0 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
1b900 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).........
1b920 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.
1b940 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.:
1b960 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)....
1b980 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.
1b9a0 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
1b9c0 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
1b9e0 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
1ba00 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
1ba20 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
1ba40 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
1ba60 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
1ba80 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
1baa0 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
1bac0 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
1bae0 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.\
1bb00 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
1bb20 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
1bb40 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
1bb60 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
1bb80 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
1bba0 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."...:
1bbc0 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.'
1bbe0 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
1bc00 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
1bc20 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
1bc40 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
1bc60 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
1bc80 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
1bca0 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"
1bcc0 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"....."
1bce0 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
1bd00 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
1bd20 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
1bd40 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
1bd60 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
1bd80 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
1bda0 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
1bdc0 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.
1bde0 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
1be00 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
1be20 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.
1be40 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.
1be60 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
1be80 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
1bea0 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
1bec0 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
1bee0 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.
1bf00 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
1bf20 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))..........
1bf40 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
1bf60 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
1bf80 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
1bfa0 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
1bfc0 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.:
1bfe0 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
1c000 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
1c020 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.
1c040 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
1c060 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
1c080 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
1c0a0 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
1c0c0 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
1c0e0 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'
1c100 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
1c120 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
1c140 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
1c160 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
1c180 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
1c1a0 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
1c1c0 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:.
1c1e0 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).->.
1c200 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
1c220 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
1c240 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.......
1c260 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
1c280 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
1c2a0 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-
1c2c0 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
1c2e0 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
1c300 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.
1c320 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
1c340 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..
1c360 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
1c380 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
1c3a0 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.
1c3c0 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-
1c3e0 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
1c400 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
1c420 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.
1c440 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
1c460 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
1c480 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
1c4a0 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
1c4c0 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."".
1c4e0 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
1c500 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
1c520 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.
1c540 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
1c560 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
1c580 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
1c5a0 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
1c5c0 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
1c5e0 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
1c600 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
1c620 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
1c640 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>{{%.
1c660 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
1c680 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
1c6a0 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
1c6c0 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
1c6e0 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
1c700 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
1c720 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
1c740 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
1c760 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>.<
1c780 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.>}
1c7a0 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
1c7c0 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
1c7e0 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
1c800 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
1c820 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
1c840 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
1c860 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
1c880 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
1c8a0 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
1c8c0 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
1c8e0 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
1c900 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
1c920 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
1c940 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
1c960 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
1c980 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
1c9a0 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.
1c9c0 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
1c9e0 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
1ca00 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
1ca20 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
1ca40 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.:.\"
1ca60 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\
1ca80 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
1caa0 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
1cac0 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
1cae0 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
1cb00 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
1cb20 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.
1cb40 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
1cb60 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
1cb80 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
1cba0 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.\
1cbc0 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.
1cbe0 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.
1cc00 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
1cc20 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
1cc40 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
1cc60 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
1cc80 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
1cca0 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
1ccc0 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))...........................
1cce0 20 20 20 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
1cd00 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))..................
1cd20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1cd40 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-
1cd60 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))........................
1cd80 20 20 20 20 20 20 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
1cda0 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)).............
1cdc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1cde0 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)))...
1ce00 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
1ce20 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...
1ce40 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.
1ce60 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
1ce80 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
1cea0 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
1cec0 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
1cee0 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
1cf00 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
1cf20 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
1cf40 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
1cf60 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.
1cf80 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,
1cfa0 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
1cfc0 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
1cfe0 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...-
1d000 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
1d020 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..
1d040 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..
1d060 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
1d080 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.
1d0a0 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.
1d0c0 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
1d0e0 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
1d100 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
1d120 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
1d140 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
1d160 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-
1d180 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
1d1a0 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
1d1c0 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)))
1d1e0 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
1d200 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
1d220 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.......................
1d240 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
1d260 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.........................
1d280 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
1d2a0 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........................
1d2c0 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
1d2e0 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
1d300 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.
1d320 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.
1d340 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
1d360 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
1d380 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
1d3a0 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
1d3c0 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
1d3e0 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.
1d400 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,.
1d420 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
1d440 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
1d460 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
1d480 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
1d4a0 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-
1d4c0 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..
1d4e0 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
1d500 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
1d520 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)
1d540 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
1d560 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
1d580 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.
1d5a0 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
1d5c0 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
1d5e0 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
1d600 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
1d620 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-
1d640 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'"...
1d660 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.
1d680 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.
1d6a0 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
1d6c0 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
1d6e0 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
1d700 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
1d720 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
1d740 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
1d760 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
1d780 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.
1d7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1d7c0 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
1d7e0 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
1d800 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.
1d820 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
1d840 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
1d860 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
1d880 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
1d8a0 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
1d8c0 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
1d8e0 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.:
1d900 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
1d920 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
1d940 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"...
1d960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1d980 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"
1d9a0 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".........
1d9c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1d9e0 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
1da00 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
1da20 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"...................
1da40 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".
1da60 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"................
1da80 20 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
1daa0 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
1dac0 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"....
1dae0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1db00 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
1db20 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"................
1db40 20 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
1db60 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"."
1db80 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".......
1dba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1dbc0 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
1dbe0 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
1dc00 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"..............................
1dc20 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
1dc40 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
1dc60 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"..............
1dc80 20 20 20 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
1dca0 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"....................
1dcc0 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
1dce0 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
1dd00 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"..................
1dd20 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
1dd40 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
1dd60 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".........
1dd80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1dda0 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"........................
1ddc0 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"."
1dde0 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-
1de00 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"....................
1de20 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".
1de40 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".......................
1de60 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
1de80 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
1dea0 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"......
1dec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1dee0 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
1df00 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"........
1df20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1df40 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".
1df60 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"............
1df80 20 20 20 20 20 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
1dfa0 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
1dfc0 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".......
1dfe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e000 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
1e020 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
1e040 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"............................
1e060 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
1e080 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"."
1e0a0 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"..........................
1e0c0 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
1e0e0 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".
1e100 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".
1e120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e140 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
1e160 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"
1e180 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".....................
1e1a0 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
1e1c0 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"."
1e1e0 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"..............
1e200 20 20 20 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
1e220 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"
1e240 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"....
1e260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e280 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"."
1e2a0 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
1e2c0 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"...............
1e2e0 20 20 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
1e300 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
1e320 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".
1e340 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"........................
1e360 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
1e380 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
1e3a0 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"...........
1e3c0 20 20 20 20 20 20 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
1e3e0 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"
1e400 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".........
1e420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e440 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"
1e460 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"........
1e480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e4a0 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".
1e4c0 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
1e4e0 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"....................
1e500 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"
1e520 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
1e540 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"......
1e560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e580 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".......................
1e5a0 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
1e5c0 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".
1e5e0 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"........
1e600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e620 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".............
1e640 20 20 20 20 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
1e660 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"
1e680 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
1e6a0 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"........................
1e6c0 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".
1e6e0 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
1e700 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".....................
1e720 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
1e740 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 "...............................
1e760 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
1e780 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
1e7a0 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"................
1e7c0 20 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
1e7e0 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
1e800 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".....
1e820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1e840 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"."
1e860 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"
1e880 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"......................
1e8a0 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
1e8c0 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
1e8e0 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
1e900 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".............................
1e920 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".
1e940 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"...........................
1e960 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".
1e980 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
1e9a0 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"..................
1e9c0 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
1e9e0 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".
1ea00 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".............
1ea20 20 20 20 20 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
1ea40 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
1ea60 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"
1ea80 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"....................
1eaa0 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
1eac0 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
1eae0 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"...................
1eb00 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
1eb20 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".
1eb40 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"..............
1eb60 20 20 20 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
1eb80 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".
1eba0 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"................
1ebc0 20 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
1ebe0 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"
1ec00 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".......
1ec20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1ec40 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
1ec60 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"....
1ec80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1eca0 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
1ecc0 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
1ece0 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".........................
1ed00 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
1ed20 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"...........................
1ed40 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"
1ed60 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".
1ed80 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".................
1eda0 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
1edc0 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".................
1ede0 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"
1ee00 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".
1ee20 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"..........
1ee40 20 20 20 20 20 20 20 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 ..............................."
1ee60 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
1ee80 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"..
1eea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1eec0 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
1eee0 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".
1ef00 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"...............
1ef20 20 20 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"
1ef40 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
1ef60 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"..........................
1ef80 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
1efa0 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"
1efc0 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".........
1efe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1f000 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
1f020 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"....
1f040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1f060 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"."
1f080 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"...................
1f0a0 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".
1f0c0 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"......
1f0e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1f100 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
1f120 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"..
1f140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1f160 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
1f180 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"....
1f1a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
1f1c0 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
1f1e0 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.
1f200 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
1f220 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
1f240 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.'(
1f260 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
1f280 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
1f2a0 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.;
1f2c0 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..
1f2e0 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
1f300 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"........
1f320 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
1f340 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
1f360 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
1f380 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))
1f3a0 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".
1f3c0 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)..
1f3e0 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
1f400 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
1f420 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...
1f440 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
1f460 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...........
1f480 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-
1f4a0 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)................
1f4c0 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
1f4e0 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))))).......
1f500 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"
1f520 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).
1f540 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.............
1f560 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
1f580 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
1f5a0 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
1f5c0 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
1f5e0 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).."
1f600 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)
1f620 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-
1f640 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)))..
1f660 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.
1f680 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.(
1f6a0 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
1f6c0 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
1f6e0 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
1f700 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
1f720 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
1f740 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)............
1f760 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
1f780 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)..............
1f7a0 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
1f7c0 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)..................
1f7e0 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
1f800 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)..................
1f820 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
1f840 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
1f860 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
1f880 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
1f8a0 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
1f8c0 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
1f8e0 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).........
1f900 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
1f920 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
1f940 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).......
1f960 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-
1f980 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).................
1f9a0 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
1f9c0 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.
1f9e0 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-
1fa00 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...;;
1fa20 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.............
1fa40 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...............
1fa60 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............
1fa80 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
1faa0 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
1fac0 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.........
1fae0 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".
1fb00 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).......
1fb20 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
1fb40 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
1fb60 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)..................
1fb80 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
1fba0 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).................
1fbc0 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
1fbe0 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)......
1fc00 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
1fc20 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
1fc40 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
1fc60 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
1fc80 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
1fca0 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)
1fcc0 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
1fce0 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."--".->."...",."---"
1fd00 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."...".->."..."....
1fd20 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
1fd40 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
1fd60 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
1fd80 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.......
1fda0 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.
1fdc0 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).....
1fde0 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
1fe00 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
1fe20 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
1fe40 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)....................(:
1fe60 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
1fe80 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")..................
1fea0 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_
1fec0 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
1fee0 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
1ff00 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
1ff20 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..........
1ff40 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
1ff60 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
1ff80 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)..
1ffa0 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
1ffc0 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
1ffe0 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-
20000 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)...
20020 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
20040 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
20060 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
20080 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
200a0 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)...............
200c0 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
200e0 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
20100 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
20120 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...........
20140 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
20160 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
20180 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)........
201a0 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
201c0 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_
201e0 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
20200 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
20220 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
20240 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
20260 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).........
20280 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
202a0 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
202c0 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).......
202e0 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
20300 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
20320 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)...............
20340 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
20360 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
20380 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
203a0 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
203c0 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
203e0 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
20400 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
20420 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
20440 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
20460 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).........
20480 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
204a0 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
204c0 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
204e0 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
20500 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
20520 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)..................
20540 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".
20560 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
20580 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...................
205a0 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
205c0 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
205e0 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
20600 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
20620 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."").....................
20640 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.......
20660 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
20680 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
206a0 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.......
206c0 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.........
206e0 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_
20700 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).........
20720 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.............
20740 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"
20760 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)....................;;.
20780 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
207a0 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.
207c0 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_
207e0 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."
20800 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)..................
20820 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................
20840 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".
20860 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
20880 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
208a0 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
208c0 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....................;
208e0 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
20900 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....................
20920 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
20940 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
20960 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
20980 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.
209a0 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
209c0 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
209e0 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
20a00 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
20a20 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
20a40 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
20a60 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
20a80 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
20aa0 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
20ac0 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
20ae0 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)....................
20b00 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....................;
20b20 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.
20b40 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...............
20b60 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_
20b80 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
20ba0 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
20bc0 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
20be0 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
20c00 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)........
20c20 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..........
20c40 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
20c60 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)................
20c80 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................
20ca0 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
20cc0 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)..................
20ce0 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
20d00 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)...................
20d20 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
20d40 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
20d60 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
20d80 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
20da0 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"....................;
20dc0 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
20de0 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)
20e00 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-
20e20 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
20e40 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)....................
20e60 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....................(:
20e80 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.
20ea0 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)....................;;
20ec0 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....................
20ee0 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
20f00 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)..................
20f20 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....................(
20f40 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
20f60 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)....................;
20f80 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
20fa0 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)......
20fc0 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.-.
20fe0 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................
21000 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.
21020 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)....................
21040 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
21060 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.............
21080 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
210a0 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........
210c0 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
210e0 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......
21100 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
21120 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
21140 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
21160 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.....................(:
21180 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
211a0 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)..............
211c0 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
211e0 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.............
21200 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
21220 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........
21240 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
21260 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.....
21280 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
212a0 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
212c0 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.
212e0 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
21300 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
21320 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
21340 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
21360 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-
21380 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
213a0 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)....................;;.
213c0 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
213e0 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
21400 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.......
21420 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...........
21440 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"
21460 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)....................;;.
21480 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
214a0 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)...........
214c0 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..............
214e0 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
21500 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)..............
21520 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.................
21540 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
21560 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
21580 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
215a0 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.
215c0 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
215e0 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
21600 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
21620 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.
21640 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).........
21660 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)...
21680 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)..........
216a0 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).
216c0 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
216e0 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".
21700 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.->
21720 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)
21740 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
21760 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
21780 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)
217a0 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
217c0 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.
217e0 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
21800 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
21820 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
21840 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.
21860 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
21880 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
218a0 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
218c0 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."
218e0 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:
21900 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)...
21920 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
21940 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
21960 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
21980 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
219a0 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
219c0 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
219e0 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
21a00 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.
21a20 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
21a40 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
21a60 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.
21a80 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
21aa0 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
21ac0 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
21ae0 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
21b00 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
21b20 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
21b40 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
21b60 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
21b80 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'."...(
21ba0 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
21bc0 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
21be0 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.
21c00 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
21c20 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
21c40 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.""))..........
21c60 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
21c80 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)................
21ca0 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
21cc0 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)
21ce0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
21d00 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
21d20 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))........................
21d40 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
21d60 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)))..........................
21d80 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.........
21da0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
21dc0 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."."............
21de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
21e00 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
21e20 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)."."..........................
21e40 20 20 20 20 20 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
21e60 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...............................
21e80 20 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
21ea0 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)..........................
21ec0 20 20 20 20 20 20 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
21ee0 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)..............................
21f00 20 20 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
21f20 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).........................
21f40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
21f60 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))..........
21f80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
21fa0 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.................
21fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
21fe0 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
22000 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"............
22020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
22040 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
22060 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))))))))).................
22080 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.
220a0 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).
220c0 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
220e0 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
22100 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:.
22120 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.
22140 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
22160 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)...
22180 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
221a0 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.
221c0 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)
221e0 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
22200 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.
22220 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 .*".............................
22240 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"
22260 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))))....
22280 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
222a0 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
222c0 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
222e0 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
22300 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
22320 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
22340 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-
22360 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
22380 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.
223a0 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
223c0 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
223e0 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
22400 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.
22420 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.
22440 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
22460 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
22480 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
224a0 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-
224c0 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
224e0 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.
22500 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-
22520 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)..
22540 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
22560 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.
22580 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.
225a0 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
225c0 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
225e0 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
22600 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
22620 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"))......
22640 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:.
22660 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
22680 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...
226a0 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
226c0 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").......................
226e0 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
22700 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
22720 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
22740 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
22760 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.
22780 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
227a0 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.
227c0 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
227e0 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).................
22800 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
22820 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")...
22840 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
22860 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
22880 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"..........................
228a0 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:
228c0 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
228e0 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))).....
22900 20 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
22920 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")......
22940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
22960 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"...............
22980 20 20 20 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
229a0 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
229c0 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")))).................
229e0 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
22a00 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)))..................
22a20 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
22a40 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).................
22a60 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.
22a80 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
22aa0 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)).....
22ac0 20 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
22ae0 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")......
22b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
22b20 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"...............
22b40 20 20 20 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
22b60 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
22b80 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")))).................
22ba0 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
22bc0 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)))..................
22be0 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
22c00 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))).............
22c20 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.....................
22c40 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")))))...
22c60 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
22c80 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\"
22ca0 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
22cc0 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
22ce0 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
22d00 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
22d20 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
22d40 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
22d60 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
22d80 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
22da0 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
22dc0 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.(
22de0 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)))....
22e00 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)....
22e20 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
22e40 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
22e60 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
22e80 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)..........
22ea0 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
22ec0 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
22ee0 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
22f00 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
22f20 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.(
22f40 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
22f60 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))...............
22f80 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...
22fa0 20 20 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
22fc0 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
22fe0 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)............
23000 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
23020 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))))......
23040 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
23060 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).?#)))........
23080 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
230a0 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
230c0 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
230e0 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.
23100 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.
23120 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
23140 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
23160 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-
23180 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
231a0 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
231c0 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
231e0 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
23200 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
23220 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
23240 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
23260 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
23280 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
232a0 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
232c0 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
232e0 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
23300 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-
23320 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.
23340 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).
23360 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
23380 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-
233a0 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)...
233c0 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
233e0 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
23400 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
23420 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
23440 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
23460 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
23480 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
234a0 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
234c0 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
234e0 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.
23500 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
23520 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
23540 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
23560 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
23580 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
235a0 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
235c0 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
235e0 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
23600 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
23620 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
23640 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
23660 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
23680 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
236a0 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
236c0 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
236e0 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
23700 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)
23720 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...........
23740 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
23760 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
23780 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
237a0 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
237c0 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
237e0 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
23800 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))
23820 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
23840 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
23860 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
23880 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
238a0 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.
238c0 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."
238e0 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
23900 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....
23920 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
23940 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
23960 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)....
23980 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-
239a0 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
239c0 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
239e0 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
23a00 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
23a20 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
23a40 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
23a60 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
23a80 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-
23aa0 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
23ac0 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
23ae0 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
23b00 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
23b20 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
23b40 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-
23b60 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.#
23b80 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
23ba0 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
23bc0 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-
23be0 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
23c00 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
23c20 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
23c40 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
23c60 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.\
23c80 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
23ca0 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
23cc0 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.
23ce0 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
23d00 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.
23d20 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
23d40 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.
23d60 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
23d80 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................
23da0 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
23dc0 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
23de0 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....
23e00 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
23e20 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))......
23e40 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...
23e60 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
23e80 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........................
23ea0 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
23ec0 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)."."))).........(
23ee0 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
23f00 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))))).
23f20 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-
23f40 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
23f60 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
23f80 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
23fa0 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
23fc0 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.
23fe0 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
24000 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
24020 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.
24040 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
24060 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
24080 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
240a0 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
240c0 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
240e0 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
24100 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..
24120 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
24140 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"........
24160 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
24180 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))))..
241a0 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).....
241c0 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
241e0 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
24200 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
24220 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.
24240 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))..................
24260 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.............
24280 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
242a0 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..................
242c0 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....
242e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
24300 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.....
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 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
24360 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))..........................
24380 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)).
243a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
243c0 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...........
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 28 31 2b .............................(1+
24400 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
24420 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))))...........................
24440 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-
24460 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]."...........
24480 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 .......................;;.......
244a0 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:
244c0 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")..........
244e0 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 ........................;;......
24500 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
24520 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).........................
24540 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)........
24560 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)
24580 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
245a0 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))
245c0 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
245e0 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-
24600 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).....
24620 20 20 20 20 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-
24640 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
24660 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
24680 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................
246a0 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-
246c0 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).".")......
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 20 22 22 29 29 0a ..........................."")).
24700 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
24720 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
24740 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))............
24760 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
24780 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...........................
247a0 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.
247c0 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
247e0 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)....................
24800 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
24820 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)...
24840 20 20 20 20 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 ............................""))
24860 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.
24880 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."[%
248a0 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)"......................
248c0 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................
248e0 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
24900 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.....................
24920 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
24940 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)...............
24960 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-
24980 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)............
249a0 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)........
249c0 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-
249e0 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))).....
24a00 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
24a20 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)..........
24a40 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.'
24a60 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
24a80 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)))........................
24aa0 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-
24ac0 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)))........
24ae0 20 20 20 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
24b00 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.............................
24b20 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:"........
24b40 20 20 20 20 20 20 20 20 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 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
24b80 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.":")))))))................;;.(
24ba0 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]
24bc0 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
24be0 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."
24c00 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
24c20 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)...........
24c40 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
24c60 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
24c80 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
24ca0 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
24cc0 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-
24ce0 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).
24d00 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"))...............
24d20 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
24d40 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
24d60 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
24d80 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
24da0 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"
24dc0 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...
24de0 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
24e00 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
24e20 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,\\}".
24e40 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
24e60 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-
24e80 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
24ea0 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
24ec0 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")).......
24ee0 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
24f00 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
24f20 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
24f40 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
24f60 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."
24f80 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
24fa0 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)))........
24fc0 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......
24fe0 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"
25000 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
25020 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
25040 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
25060 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-
25080 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)."."))
250a0 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
250c0 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-
250e0 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
25100 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
25120 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
25140 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
25160 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
25180 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"....
251a0 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://
251c0 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
251e0 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".
25200 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"......
25220 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
25240 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.
25260 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
25280 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..........
252a0 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 ........;;.................;;...
252c0 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
252e0 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-->".}}.......
25300 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.$
25320 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.}}............
25340 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
25360 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,.
25380 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.
253a0 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..-->.........
253c0 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
253e0 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.}}.....
25400 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.}}...
25420 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
25440 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.
25460 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..--
25480 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 >.................;;.........{{.
254a0 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.}}.................;;..
254c0 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.}}................."<!
254e0 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
25500 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-
25520 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
25540 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.
25560 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
25580 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
255a0 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
255c0 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
255e0 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
25600 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
25620 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
25640 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
25660 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."
25680 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"
256a0 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"
256c0 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
256e0 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........"\\({{<\\)\\([^}][^}]*
25700 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"...
25720 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..
25740 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 ......."\\({{%\\)\\([^}][^}]*\\)
25760 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)
25780 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.
257a0 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.()
257c0 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
257e0 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
25800 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
25820 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\
25840 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
25860 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\",.\
25880 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
258a0 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
258c0 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
258e0 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
25900 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
25920 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")))...........
25940 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
25960 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"
25980 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
259a0 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).....
259c0 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
259e0 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..
25a00 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
25a20 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"..........
25a40 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."
25a60 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))......
25a80 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".
25aa0 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..
25ac0 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
25ae0 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...
25b00 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
25b20 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-
25b40 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))................
25b60 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
25b80 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
25ba0 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))............
25bc0 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-
25be0 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
25c00 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
25c20 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.
25c40 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
25c60 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.....
25c80 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
25ca0 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
25cc0 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....
25ce0 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)
25d00 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
25d20 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
25d40 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
25d60 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
25d80 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
25da0 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
25dc0 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).->.(
25de0 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
25e00 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
25e20 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
25e40 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
25e60 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."."))))....
25e80 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)))).
25ea0 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
25ec0 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
25ee0 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
25f00 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
25f20 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
25f40 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
25f60 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
25f80 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\"
25fa0 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.`
25fc0 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
25fe0 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
26000 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
26020 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
26040 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.
26060 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."
26080 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
260a0 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....
260c0 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).......
260e0 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).......
26100 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
26120 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
26140 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
26160 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)
26180 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
261a0 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
261c0 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
261e0 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
26200 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."
26220 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
26240 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
26260 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
26280 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))).........
262a0 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".
262c0 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).............)............(
262e0 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))......
26300 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)).........
26320 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...........................
26340 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.............(
26360 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
26380 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
263a0 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))).........
263c0 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................
263e0 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.....................;;
26400 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)
26420 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
26440 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
26460 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))......
26480 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
264a0 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)...............
264c0 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
264e0 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.
26500 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
26520 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))....
26540 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
26560 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
26580 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
265a0 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
265c0 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
265e0 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
26600 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
26620 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)).......
26640 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)).......;;.
26660 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
26680 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)).
266a0 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".
266c0 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)))..;;;;.
266e0 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
26700 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
26720 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
26740 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
26760 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
26780 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.
267a0 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*.
267c0 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.:
267e0 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)..................
26800 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
26820 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))..
26840 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.
26860 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
26880 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
268a0 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")))
268c0 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/
268e0 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
26900 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))....
26920 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-
26940 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
26960 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
26980 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............................
269a0 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
269c0 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
269e0 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"."/").........................
26a00 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
26a20 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
26a40 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......
26a60 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
26a80 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
26aa0 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
26ac0 29 0a 20 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 ).........................."")))
26ae0 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
26b00 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
26b20 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)))...........
26b40 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
26b60 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
26b80 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..............
26ba0 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
26bc0 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
26be0 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
26c00 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)
26c20 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
26c40 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
26c60 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:..
26c80 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
26ca0 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
26cc0 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.
26ce0 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
26d00 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
26d20 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
26d40 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
26d60 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
26d80 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
26da0 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
26dc0 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
26de0 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
26e00 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
26e20 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.
26e40 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.
26e60 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
26e80 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
26ea0 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
26ec0 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.:
26ee0 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'.
26f00 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....
26f20 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))
26f40 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
26f60 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.
26f80 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
26fa0 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-
26fc0 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.
26fe0 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
27000 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
27020 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
27040 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
27060 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
27080 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).................
270a0 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
270c0 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)).
270e0 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)
27100 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
27120 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....................
27140 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-
27160 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).........................
27180 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
271a0 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.(
271c0 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-
271e0 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
27200 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
27220 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
27240 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
27260 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
27280 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
272a0 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
272c0 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
272e0 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.
27300 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".....
27320 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
27340 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.
27360 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
27380 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
273a0 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
273c0 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
273e0 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\\}\\)\\'"."\\
27400 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)))
27420 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.
27440 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
27460 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
27480 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
274a0 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
274c0 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
274e0 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
27500 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
27520 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',.`
27540 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
27560 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
27580 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
275a0 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
275c0 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."...
275e0 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
27600 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
27620 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...................
27640 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).......
27660 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-
27680 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.
276a0 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)).................
276c0 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.
276e0 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
27700 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))....
27720 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
27740 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))...........
27760 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
27780 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)......................(
277a0 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
277c0 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
277e0 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.......
27800 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
27820 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))))
27840 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
27860 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)...
27880 20 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
278a0 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"))....
278c0 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
278e0 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.
27900 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
27920 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"))......
27940 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
27960 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
27980 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
279a0 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
279c0 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
279e0 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
27a00 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
27a20 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.......................;;
27a40 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
27a60 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......................
27a80 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)......
27aa0 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
27ac0 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
27ae0 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))....................
27b00 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)...................
27b20 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
27b40 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......................
27b60 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.
27b80 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.................
27ba0 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)......
27bc0 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
27be0 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...........................
27c00 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
27c20 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).............
27c40 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.............
27c60 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.
27c80 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.........
27ca0 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
27cc0 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.
27ce0 20 20 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.
27d00 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
27d20 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...........................
27d40 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
27d60 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.....................
27d80 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
27da0 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.....................
27dc0 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
27de0 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....................
27e00 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.................
27e20 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
27e40 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-
27e60 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".....................
27e80 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)))....
27ea0 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)))...
27ec0 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.
27ee0 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
27f00 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
27f20 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.
27f40 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
27f60 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...
27f80 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
27fa0 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..................
27fc0 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
27fe0 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)......................
28000 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
28020 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)).................
28040 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
28060 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
28080 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
280a0 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
280c0 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 ))..............................
280e0 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
28100 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
28120 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 )))..........................;;.
28140 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
28160 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.
28180 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)"..........................
281a0 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
281c0 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))..................
281e0 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
28200 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
28220 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 "..........................;;...
28240 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.)............
28260 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
28280 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)......
282a0 20 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..
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 3b 3b ..............................;;
282e0 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
28300 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")..........
28320 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
28340 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
28360 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.(
28380 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
283a0 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 ))))............................
283c0 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
283e0 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"........
28400 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 ......................;;........
28420 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).....................
28440 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.........
28460 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
28480 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...
284a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
284c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 70 63 61 72 20 28 6c ......................(mapcar.(l
284e0 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))...........
28500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28520 20 20 20 20 20 20 20 20 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
28540 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))))...........
28560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 49 ............................;;.I
28580 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.........
285a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b ..............................;;
285c0 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.....
285e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28600 20 20 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........
28620 20 20 20 20 20 20 20 20 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 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..............
28660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28680 20 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
286a0 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)))..........................
286c0 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
286e0 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
28700 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)......................
28720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
28740 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-
28760 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..........................
28780 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
287a0 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
287c0 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)))).........................
287e0 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
28800 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.
28820 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)".................
28840 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
28860 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)).
28880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
288a0 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-
288c0 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).....
288e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 .............................;;.
28900 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
28920 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"......
28940 20 20 20 20 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 ............................;;..
28960 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)........
28980 20 20 20 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.
289a0 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)......
289c0 20 20 20 20 20 20 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
289e0 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)))))))................
28a00 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.....
28a20 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...........
28a40 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
28a60 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
28a80 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
28aa0 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.
28ac0 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
28ae0 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
28b00 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
28b20 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
28b40 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
28b60 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
28b80 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
28ba0 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
28bc0 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..
28be0 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
28c00 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
28c20 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
28c40 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
28c60 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
28c80 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
28ca0 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.
28cc0 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
28ce0 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
28d00 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
28d20 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.\
28d40 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
28d60 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.
28d80 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
28da0 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
28dc0 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
28de0 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.
28e00 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
28e20 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.
28e40 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
28e60 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-
28e80 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-
28ea0 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
28ec0 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-
28ee0 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.
28f00 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
28f20 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
28f40 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'.
28f60 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..............
28f80 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)........
28fa0 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
28fc0 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)....................
28fe0 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
29000 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
29020 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".....................
29040 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
29060 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))..................
29080 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
290a0 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.">")).............
290c0 20 20 20 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
290e0 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.
29100 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))).........................
29120 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
29140 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))).....
29160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
29180 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
291a0 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............................
291c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
291e0 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)..................
29200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
29220 20 20 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)...
29240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
29260 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
29280 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)))))................
292a0 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
292c0 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...............................
292e0 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.
29300 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)..................
29320 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."[
29340 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-
29360 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)...........................
29380 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
293a0 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-
293c0 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))..........................
293e0 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.
29400 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
29420 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)).........................
29440 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
29460 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 )))))...........................
29480 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."[
294a0 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
294c0 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
294e0 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
29500 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
29520 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
29540 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)).......
29560 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)))
29580 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
295a0 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)))......
295c0 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...
295e0 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
29600 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
29620 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).........
29640 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
29660 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-
29680 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
296a0 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
296c0 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).............
296e0 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)
29700 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.
29720 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
29740 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
29760 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
29780 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......................;
297a0 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
297c0 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
297e0 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).........
29800 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
29820 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.........
29840 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
29860 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))
29880 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-
298a0 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
298c0 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.
298e0 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
29900 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
29920 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
29940 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--
29960 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'
29980 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
299a0 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
299c0 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
299e0 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...
29a00 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:.
29a20 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.
29a40 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
29a60 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.
29a80 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?.%
29aa0 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
29ac0 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].
29ae0 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".
29b00 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
29b20 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
29b40 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</
29b60 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
29b80 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
29ba0 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
29bc0 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
29be0 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))."")........
29c00 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
29c20 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
29c40 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)
29c60 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
29c80 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.(
29ca0 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
29cc0 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
29ce0 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
29d00 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
29d20 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
29d40 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
29d60 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
29d80 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
29da0 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
29dc0 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
29de0 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"
29e00 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........
29e20 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
29e40 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.
29e60 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).
29e80 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.......
29ea0 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............
29ec0 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
29ee0 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).................
29f00 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-
29f20 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
29f40 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
29f60 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
29f80 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)))........
29fa0 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))).............
29fc0 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
29fe0 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.......
2a000 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.......
2a020 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
2a040 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
2a060 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
2a080 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.
2a0a0 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))).............
2a0c0 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
2a0e0 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)))....
2a100 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.
2a120 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
2a140 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)).....
2a160 20 20 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
2a180 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
2a1a0 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))............
2a1c0 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-
2a1e0 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.........................
2a200 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.(
2a220 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")..................
2a240 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
2a260 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
2a280 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>"))))......................
2a2a0 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
2a2c0 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))).
2a2e0 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))..
2a300 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
2a320 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
2a340 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...........
2a360 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
2a380 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-
2a3a0 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
2a3c0 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
2a3e0 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_
2a400 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".....;;.......
2a420 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.
2a440 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)....
2a460 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
2a480 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
2a4a0 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
2a4c0 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
2a4e0 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
2a500 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
2a520 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
2a540 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
2a560 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
2a580 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
2a5a0 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
2a5c0 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
2a5e0 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
2a600 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
2a620 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))..........(
2a640 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
2a660 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...........
2a680 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
2a6a0 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))........
2a6c0 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
2a6e0 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
2a700 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
2a720 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
2a740 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
2a760 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."
2a780 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
2a7a0 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
2a7c0 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).....;
2a7e0 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-
2a800 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
2a820 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))
2a840 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.
2a860 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.
2a880 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
2a8a0 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)..
2a8c0 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
2a8e0 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
2a900 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
2a920 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
2a940 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
2a960 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
2a980 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
2a9a0 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
2a9c0 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
2a9e0 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.
2aa00 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
2aa20 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
2aa40 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
2aa60 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
2aa80 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
2aaa0 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
2aac0 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.
2aae0 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,.
2ab00 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
2ab20 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
2ab40 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.".
2ab60 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."")).......
2ab80 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
2aba0 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))).....;
2abc0 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
2abe0 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
2ac00 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-
2ac20 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.
2ac40 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
2ac60 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
2ac80 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
2aca0 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
2acc0 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
2ace0 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......
2ad00 20 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
2ad20 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).............
2ad40 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
2ad60 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)
2ad80 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-
2ada0 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
2adc0 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
2ade0 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
2ae00 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
2ae20 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)..
2ae40 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
2ae60 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
2ae80 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
2aea0 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."")....................
2aec0 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.............
2aee0 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
2af00 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)....................
2af20 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
2af40 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)).............
2af60 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.
2af80 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
2afa0 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'........
2afc0 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).......
2afe0 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 .................."")...........
2b000 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)....
2b020 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
2b040 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
2b060 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.
2b080 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
2b0a0 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
2b0c0 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
2b0e0 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
2b100 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
2b120 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.
2b140 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
2b160 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.
2b180 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.
2b1a0 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
2b1c0 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
2b1e0 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
2b200 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
2b220 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
2b240 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.
2b260 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
2b280 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
2b2a0 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
2b2c0 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))....
2b2e0 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
2b300 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)).........
2b320 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
2b340 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
2b360 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
2b380 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
2b3a0 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
2b3c0 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....................
2b3e0 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
2b400 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
2b420 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)....
2b440 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
2b460 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".
2b480 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
2b4a0 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
2b4c0 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
2b4e0 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
2b500 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-
2b520 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
2b540 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
2b560 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-
2b580 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
2b5a0 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
2b5c0 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.
2b5e0 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
2b600 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
2b620 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-
2b640 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
2b660 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-
2b680 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
2b6a0 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--
2b6c0 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
2b6e0 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
2b700 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
2b720 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)).....;;.(
2b740 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
2b760 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
2b780 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
2b7a0 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
2b7c0 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
2b7e0 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
2b800 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
2b820 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
2b840 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
2b860 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.
2b880 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-
2b8a0 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
2b8c0 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
2b8e0 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
2b900 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
2b920 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
2b940 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.....
2b960 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
2b980 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)......
2b9a0 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
2b9c0 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
2b9e0 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
2ba00 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
2ba20 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
2ba40 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
2ba60 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
2ba80 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.....
2baa0 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
2bac0 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]+\\).*\\'
2bae0 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
2bb00 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)).......(
2bb20 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."[
2bb40 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
2bb60 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
2bb80 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
2bba0 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(
2bbc0 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.(
2bbe0 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
2bc00 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..
2bc20 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
2bc40 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'.
2bc60 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
2bc80 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
2bca0 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
2bcc0 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))........
2bce0 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
2bd00 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)........................
2bd20 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)).
2bd40 20 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
2bd60 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
2bd80 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
2bda0 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",...
2bdc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2bde0 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
2be00 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-
2be20 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
2be40 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
2be60 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
2be80 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
2bea0 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
2bec0 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
2bee0 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....
2bf00 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
2bf20 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.
2bf40 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)......
2bf60 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=\
2bf80 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>"................
2bfa0 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.
2bfc0 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).........
2bfe0 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
2c000 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))...........
2c020 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))..............
2c040 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
2c060 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
2c080 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
2c0a0 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
2c0c0 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
2c0e0 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
2c100 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
2c120 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
2c140 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
2c160 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
2c180 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
2c1a0 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
2c1c0 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.
2c1e0 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
2c200 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.
2c220 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
2c240 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.
2c260 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.
2c280 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
2c2a0 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
2c2c0 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."...
2c2e0 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)......;
2c300 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.
2c320 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
2c340 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
2c360 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
2c380 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
2c3a0 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
2c3c0 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
2c3e0 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
2c400 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
2c420 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
2c440 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
2c460 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
2c480 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
2c4a0 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:/
2c4c0 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/..
2c4e0 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
2c500 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
2c520 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
2c540 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
2c560 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...
2c580 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
2c5a0 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
2c5c0 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
2c5e0 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
2c600 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
2c620 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.
2c640 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
2c660 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.
2c680 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
2c6a0 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
2c6c0 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
2c6e0 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-
2c700 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
2c720 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
2c740 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
2c760 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........................
2c780 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
2c7a0 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
2c7c0 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)))..;;;;.
2c7e0 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
2c800 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
2c820 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.
2c840 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
2c860 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.
2c880 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
2c8a0 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
2c8c0 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.
2c8e0 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
2c900 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
2c920 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
2c940 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
2c960 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
2c980 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',.`
2c9a0 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'.".
2c9c0 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
2c9e0 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
2ca00 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))..
2ca20 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
2ca40 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
2ca60 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
2ca80 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
2caa0 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)
2cac0 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
2cae0 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
2cb00 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
2cb20 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
2cb40 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))).....
2cb60 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
2cb80 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:.
2cba0 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".................;;..........
2cbc0 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)..............
2cbe0 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).
2cc00 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
2cc20 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-
2cc40 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.....
2cc60 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))).....
2cc80 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.
2cca0 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
2ccc0 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-
2cce0 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
2cd00 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
2cd20 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
2cd40 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
2cd60 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.(
2cd80 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
2cda0 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)....
2cdc0 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..
2cde0 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
2ce00 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....................;;
2ce20 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
2ce40 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......
2ce60 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
2ce80 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."\"....
2cea0 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 ................."\\\\".""......
2cec0 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.;
2cee0 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
2cf00 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...............
2cf20 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.............
2cf40 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
2cf60 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)."")..........
2cf80 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 ............."\""."\""))))).....
2cfa0 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
2cfc0 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).......
2cfe0 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
2d000 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..................().........
2d020 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.
2d040 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
2d060 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:\".+?\"\\)*")).
2d080 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
2d0a0 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-
2d0c0 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.(
2d0e0 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-
2d100 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))....
2d120 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
2d140 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
2d160 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
2d180 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............................
2d1a0 29 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
2d1c0 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
2d1e0 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"..
2d200 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 ......................;;........
2d220 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)
2d240 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
2d260 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..........................
2d280 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
2d2a0 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)....................
2d2c0 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
2d2e0 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".
2d300 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)..............
2d320 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
2d340 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.
2d360 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
2d380 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...........................
2d3a0 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-
2d3c0 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)).................
2d3e0 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
2d400 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
2d420 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............................;;
2d440 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'
2d460 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.............
2d480 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
2d4a0 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
2d4c0 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,.......................
2d4e0 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
2d500 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'...........
2d520 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
2d540 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
2d560 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.................
2d580 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
2d5a0 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.*...
2d5c0 20 20 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
2d5e0 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
2d600 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)..............................
2d620 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
2d640 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)............................
2d660 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
2d680 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
2d6a0 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))))..........................
2d6c0 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
2d6e0 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
2d700 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............................;;.
2d720 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
2d740 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............
2d760 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
2d780 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))).....
2d7a0 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
2d7c0 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...............
2d7e0 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
2d800 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)).
2d820 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 .......................)........
2d840 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)))..............
2d860 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
2d880 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).................
2d8a0 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...............
2d8c0 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
2d8e0 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
2d900 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\\)*\\)"))............
2d920 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
2d940 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)...............
2d960 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
2d980 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))..........
2d9a0 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-
2d9c0 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............................
2d9e0 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
2da00 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))))...........
2da20 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
2da40 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".
2da60 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).................
2da80 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
2daa0 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).....................
2dac0 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
2dae0 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......................
2db00 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...........
2db20 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
2db40 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
2db60 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.....................
2db80 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
2dba0 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.*...........
2dbc0 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
2dbe0 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
2dc00 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....
2dc20 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.(
2dc40 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)
2dc60 0a 20 20 20 20 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
2dc80 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
2dca0 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))).......................
2dcc0 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-
2dce0 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")))....
2dd00 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
2dd20 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).
2dd40 20 20 20 20 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
2dd60 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.'
2dd80 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)).
2dda0 20 20 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
2ddc0 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
2dde0 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))...............
2de00 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.
2de20 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
2de40 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)))...............
2de60 20 20 20 20 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
2de80 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)))))...
2dea0 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.
2dec0 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))...
2dee0 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))))........
2df00 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..
2df20 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
2df40 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
2df60 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
2df80 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
2dfa0 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
2dfc0 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
2dfe0 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
2e000 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
2e020 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)).......
2e040 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
2e060 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
2e080 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
2e0a0 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
2e0c0 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-
2e0e0 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
2e100 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
2e120 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
2e140 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.
2e160 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.
2e180 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
2e1a0 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
2e1c0 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
2e1e0 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-
2e200 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
2e220 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
2e240 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.........
2e260 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
2e280 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))...........................
2e2a0 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.....................
2e2c0 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
2e2e0 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))).............
2e300 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.(
2e320 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)......................
2e340 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
2e360 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)))
2e380 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2e3a0 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
2e3c0 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....................
2e3e0 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
2e400 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'.....
2e420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2e440 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))............
2e460 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
2e480 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
2e4a0 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
2e4c0 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.............................
2e4e0 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
2e500 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)................
2e520 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))).....;;.
2e540 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].
2e560 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
2e580 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-
2e5a0 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
2e5c0 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))...
2e5e0 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
2e600 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
2e620 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
2e640 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
2e660 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
2e680 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.......;;...
2e6a0 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.......
2e6c0 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
2e6e0 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
2e700 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>.......;;....
2e720 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>.))))
2e740 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.
2e760 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
2e780 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
2e7a0 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
2e7c0 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
2e7e0 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................
2e800 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).................
2e820 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
2e840 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)
2e860 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
2e880 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
2e8a0 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..
2e8c0 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
2e8e0 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
2e900 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..
2e920 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
2e940 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
2e960 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
2e980 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
2e9a0 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......
2e9c0 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..
2e9e0 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
2ea00 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
2ea20 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
2ea40 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
2ea60 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
2ea80 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
2eaa0 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.
2eac0 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
2eae0 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.
2eb00 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.
2eb20 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
2eb40 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
2eb60 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..........;
2eb80 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
2eba0 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........
2ebc0 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
2ebe0 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".........
2ec00 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
2ec20 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)............
2ec40 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.
2ec60 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
2ec80 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).....................
2eca0 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
2ecc0 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
2ece0 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
2ed00 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
2ed20 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
2ed40 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).
2ed60 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-
2ed80 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
2eda0 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
2edc0 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.
2ede0 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
2ee00 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
2ee20 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
2ee40 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
2ee60 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:...
2ee80 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
2eea0 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
2eec0 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.
2eee0 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
2ef00 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
2ef20 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
2ef40 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:\".
2ef60 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
2ef80 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
2efa0 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.
2efc0 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
2efe0 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,.
2f000 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.
2f020 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....
2f040 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
2f060 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
2f080 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..
2f0a0 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
2f0c0 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))))..;;
2f0e0 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-
2f100 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
2f120 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
2f140 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
2f160 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
2f180 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.
2f1a0 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
2f1c0 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..
2f1e0 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.
2f200 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
2f220 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
2f240 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
2f260 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
2f280 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
2f2a0 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
2f2c0 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.
2f2e0 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
2f300 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
2f320 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)))..
2f340 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
2f360 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
2f380 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...
2f3a0 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
2f3c0 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))))..
2f3e0 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
2f400 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)..."
2f420 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
2f440 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.
2f460 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
2f480 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
2f4a0 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
2f4c0 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
2f4e0 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-
2f500 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
2f520 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
2f540 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
2f560 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"
2f580 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,...............(
2f5a0 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
2f5c0 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))............(
2f5e0 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
2f600 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
2f620 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
2f640 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-
2f660 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.
2f680 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
2f6a0 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)......
2f6c0 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
2f6e0 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))).
2f700 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
2f720 0a 20 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
2f740 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).".")
2f760 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
2f780 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.:
2f7a0 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)......................
2f7c0 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
2f7e0 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)).....
2f800 20 20 20 20 20 20 20 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
2f820 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
2f840 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
2f860 29 0a 20 20 20 20 20 20 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 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
2f8a0 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)))).
2f8c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
2f8e0 20 20 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
2f900 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)))..................
2f920 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
2f940 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)...................
2f960 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
2f980 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....
2f9a0 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
2f9c0 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)..
2f9e0 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
2fa00 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
2fa20 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
2fa40 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)))))..
2fa60 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
2fa80 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))).......;;.
2faa0 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].
2fac0 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
2fae0 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-
2fb00 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
2fb20 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)).......;;
2fb40 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]
2fb60 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.
2fb80 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......
2fba0 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
2fbc0 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.
2fbe0 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.
2fc00 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
2fc20 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))).............(
2fc40 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
2fc60 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.
2fc80 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
2fca0 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....
2fcc0 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
2fce0 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
2fd00 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
2fd20 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..............
2fd40 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
2fd60 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.........
2fd80 20 20 20 20 20 20 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
2fda0 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))))..................
2fdc0 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
2fde0 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
2fe00 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
2fe20 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."<!--
2fe40 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"..........
2fe60 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
2fe80 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........
2fea0 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
2fec0 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...
2fee0 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.
2ff00 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>.
2ff20 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
2ff40 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.................
2ff60 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.
2ff80 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
2ffa0 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
2ffc0 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))))).......
2ffe0 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
30000 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
30020 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
30040 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/.....
30060 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
30080 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
300a0 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....................
300c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
300e0 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
30100 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
30120 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
30140 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
30160 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
30180 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
301a0 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
301c0 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
301e0 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
30200 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)............................
30220 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
30240 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
30260 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)......................
30280 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.
302a0 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)))...
302c0 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
302e0 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
30300 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).................
30320 20 20 20 20 20 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
30340 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)))).....
30360 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
30380 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".....
303a0 20 20 20 20 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%
303c0 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"............................
303e0 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>")...................
30400 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
30420 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....................
30440 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..
30460 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
30480 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"
304a0 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))))))
304c0 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
304e0 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
30500 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
30520 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
30540 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
30560 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
30580 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
305a0 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
305c0 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
305e0 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
30600 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.
30620 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
30640 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....
30660 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
30680 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...
306a0 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
306c0 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.
306e0 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
30700 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
30720 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
30740 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
30760 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
30780 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
307a0 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
307c0 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
307e0 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
30800 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.(=
30820 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
30840 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))................
30860 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)
30880 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
308a0 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
308c0 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
308e0 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
30900 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.`
30920 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
30940 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
30960 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
30980 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
309a0 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.
309c0 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
309e0 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
30a00 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
30a20 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
30a40 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.
30a60 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
30a80 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
30aa0 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
30ac0 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
30ae0 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
30b00 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
30b20 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.
30b40 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
30b60 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
30b80 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>
30ba0 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=..>
30bc0 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.
30be0 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
30c00 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.\".\"
30c20 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
30c40 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\".
30c60 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
30c80 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\
30ca0 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\"..-
30cc0 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.
30ce0 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
30d00 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
30d20 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
30d40 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
30d60 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
30d80 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
30da0 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
30dc0 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.
30de0 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
30e00 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
30e20 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.
30e40 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>.
30e60 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...
30e80 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-
30ea0 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]+\\)[^>]*>.*
30ec0 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
30ee0 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
30f00 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
30f20 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
30f40 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..........;;
30f60 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
30f80 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
30fa0 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."[^)
30fc0 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
30fe0 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."
31000 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
31020 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
31040 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................"&
31060 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
31080 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..............
310a0 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."................
310c0 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......
310e0 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))
31100 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
31120 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.
31140 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
31160 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-
31180 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:]()]
311a0 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
311c0 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
311e0 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
31200 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
31220 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........
31240 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:.....
31260 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
31280 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
312a0 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.
312c0 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
312e0 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").............
31300 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
31320 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
31340 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..........
31360 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
31380 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
313a0 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)).......
313c0 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
313e0 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
31400 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
31420 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:]]*\\|
31440 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))......
31460 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.
31480 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
314a0 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."[[
314c0 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))....
314e0 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
31500 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.
31520 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-*
31540 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
31560 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))....
31580 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
315a0 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
315c0 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."[(
315e0 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
31600 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...........(
31620 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.".
31640 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
31660 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.....
31680 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
316a0 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
316c0 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
316e0 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
31700 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))).
31720 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
31740 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
31760 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
31780 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
317a0 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
317c0 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/
317e0 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
31800 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
31820 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..
31840 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
31860 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
31880 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
318a0 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-
318c0 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
318e0 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
31900 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
31920 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.`:
31940 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
31960 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
31980 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
319a0 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.:
319c0 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
319e0 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.
31a00 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.`:
31a20 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
31a40 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
31a60 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
31a80 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
31aa0 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
31ac0 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)
31ae0 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
31b00 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
31b20 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
31b40 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
31b60 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'
31b80 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.
31ba0 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
31bc0 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.
31be0 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
31c00 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
31c20 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......
31c40 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
31c60 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)))....
31c80 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
31ca0 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))))
31cc0 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
31ce0 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
31d00 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.
31d20 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.
31d40 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
31d60 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
31d80 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).........
31da0 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
31dc0 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.......
31de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
31e00 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
31e20 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)).................
31e40 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
31e60 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
31e80 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
31ea0 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
31ec0 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
31ee0 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
31f00 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,.
31f20 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
31f40 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
31f60 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
31f80 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
31fa0 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.
31fc0 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
31fe0 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
32000 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.
32020 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.
32040 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
32060 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
32080 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
320a0 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
320c0 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.
320e0 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
32100 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
32120 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
32140 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
32160 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
32180 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
321a0 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
321c0 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
321e0 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
32200 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
32220 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
32240 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
32260 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)..
32280 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
322a0 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..........;;.
322c0 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
322e0 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
32300 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
32320 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)).......
32340 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
32360 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)
32380 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
323a0 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
323c0 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
323e0 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....
32400 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.
32420 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.........
32440 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
32460 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................;
32480 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.
324a0 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..
324c0 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
324e0 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
32500 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.
32520 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))....
32540 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
32560 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--
32580 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.&
325a0 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
325c0 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
325e0 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
32600 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
32620 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
32640 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
32660 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.
32680 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,.
326a0 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
326c0 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
326e0 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
32700 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
32720 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
32740 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
32760 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'
32780 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
327a0 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\",
327c0 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.
327e0 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
32800 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.`
32820 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
32840 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
32860 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
32880 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
328a0 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
328c0 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
328e0 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
32900 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.
32920 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
32940 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
32960 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)))......(
32980 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-
329a0 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.((
329c0 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
329e0 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
32a00 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
32a20 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).
32a40 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
32a60 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
32a80 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..
32aa0 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-
32ac0 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
32ae0 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))........
32b00 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.
32b20 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.......................
32b40 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)))).
32b60 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))....
32b80 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
32ba0 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........
32bc0 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
32be0 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.........
32c00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
32c20 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........
32c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
32c60 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
32c80 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
32ca0 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.
32cc0 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)..........)......
32ce0 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
32d00 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
32d20 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.
32d40 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.........
32d60 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
32d80 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
32da0 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))..........
32dc0 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-
32de0 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
32e00 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)..........).....
32e20 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...
32e40 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
32e60 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
32e80 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.
32ea0 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
32ec0 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
32ee0 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
32f00 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...........
32f20 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
32f40 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
32f60 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)........
32f80 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.
32fa0 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))))..........
32fc0 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.
32fe0 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....
33000 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.........
33020 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..........
33040 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
33060 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
33080 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)))............;
330a0 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
330c0 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..
330e0 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.
33100 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
33120 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
33140 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
33160 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.
33180 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.:
331a0 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
331c0 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
331e0 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
33200 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).......................
33220 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
33240 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."").......
33260 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))).
33280 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-
332a0 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:.
332c0 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
332e0 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
33300 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)...
33320 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
33340 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
33360 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))).
33380 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
333a0 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
333c0 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
333e0 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
33400 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
33420 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
33440 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'...
33460 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
33480 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
334a0 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
334c0 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.
334e0 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
33500 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
33520 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
33540 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
33560 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
33580 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
335a0 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
335c0 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
335e0 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.
33600 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
33620 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
33640 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
33660 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.
33680 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
336a0 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
336c0 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
336e0 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
33700 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
33720 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.
33740 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.
33760 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
33780 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
337a0 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
337c0 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
337e0 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
33800 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
33820 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
33840 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
33860 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))....
33880 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.
338a0 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).?=.?-)).............
338c0 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
338e0 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
33900 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).............................
33920 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.
33940 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"))...
33960 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.......;;.
33980 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
339a0 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......
339c0 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
339e0 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
33a00 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,
33a20 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
33a40 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
33a60 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
33a80 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.
33aa0 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).?
33ac0 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-
33ae0 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")))))..;;;;
33b00 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-
33b20 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)..
33b40 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.
33b60 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
33b80 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
33ba0 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.
33bc0 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."
33be0 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.
33c00 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
33c20 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.........
33c40 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
33c60 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)))...............
33c80 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
33ca0 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).....................
33cc0 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.
33ce0 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..................
33d00 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).....
33d20 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.
33d40 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
33d60 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.........
33d80 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
33da0 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")....
33dc0 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
33de0 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
33e00 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.........
33e20 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.(
33e40 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........
33e60 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-*
33e80 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--
33ea0 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))...............
33ec0 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
33ee0 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
33f00 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.">.".................
33f20 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.;
33f40 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
33f60 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...................
33f80 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
33fa0 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......
33fc0 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
33fe0 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
34000 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))......
34020 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".............
34040 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
34060 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.
34080 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
340a0 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....................
340c0 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-
340e0 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)..............
34100 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
34120 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............
34140 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
34160 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........
34180 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.(-)
341a0 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.
341c0 20 20 20 20 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 ............................;;.(
341e0 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 `)..............................
34200 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\\)+\\([^-#
34220 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 `]\\)").....................".\\
34240 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.
34260 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
34280 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
342a0 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
342c0 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
342e0 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..
34300 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
34320 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
34340 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
34360 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
34380 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........"\
343a0 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
343c0 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-
343e0 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
34400 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
34420 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
34440 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-
34460 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
34480 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
344a0 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*
344c0 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
344e0 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))......
34500 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
34520 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-
34540 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
34560 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))
34580 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.
345a0 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)...
345c0 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-
345e0 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
34600 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
34620 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
34640 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))))..;
34660 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
34680 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
346a0 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.
346c0 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.
346e0 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
34700 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
34720 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
34740 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)).........(
34760 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
34780 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
347a0 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
347c0 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)..........;
347e0 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..........
34800 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
34820 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))...........(
34840 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
34860 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
34880 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-
348a0 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-
348c0 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
348e0 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
34900 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."
34920 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)).......(
34940 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.
34960 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)...........
34980 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
349a0 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))))......
349c0 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.
349e0 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))...........
34a00 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
34a20 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'............
34a40 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
34a60 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.+\\(\".+?\"\\|\\
34a80 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............
34aa0 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...
34ac0 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
34ae0 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)).
34b00 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))
34b20 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.....
34b40 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)).....
34b60 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--
34b80 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
34ba0 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..
34bc0 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
34be0 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......
34c00 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
34c20 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
34c40 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
34c60 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
34c80 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.
34ca0 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
34cc0 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
34ce0 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.
34d00 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
34d20 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
34d40 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
34d60 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-
34d80 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.
34da0 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."..
34dc0 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")...
34de0 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
34e00 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
34e20 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..
34e40 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
34e60 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.
34e80 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-
34ea0 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
34ec0 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
34ee0 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
34f00 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
34f20 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
34f40 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.
34f60 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
34f80 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-
34fa0 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.
34fc0 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
34fe0 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:
35000 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
35020 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
35040 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.
35060 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
35080 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
350a0 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
350c0 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...-.
350e0 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
35100 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
35120 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."..
35140 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
35160 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
35180 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
351a0 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..
351c0 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
351e0 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))).
35200 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.())
35220 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.(
35240 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-
35260 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).........................
35280 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
352a0 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.
352c0 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
352e0 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
35300 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
35320 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
35340 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
35360 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
35380 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
353a0 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
353c0 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.
353e0 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).....................
35400 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-
35420 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
35440 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
35460 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)...
35480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
354a0 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..............
354c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
354e0 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))))..................
35500 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
35520 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))........
35540 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
35560 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))....
35580 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
355a0 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
355c0 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
355e0 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'...................
35600 20 20 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
35620 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
35640 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))))).....................(
35660 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
35680 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))
356a0 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)))).
356c0 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)......
356e0 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.
35700 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
35720 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
35740 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-
35760 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.
35780 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-
357a0 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
357c0 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
357e0 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.
35800 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).
35820 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)...
35840 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
35860 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
35880 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
358a0 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
358c0 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-
358e0 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
35900 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
35920 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
35940 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
35960 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'.
35980 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
359a0 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
359c0 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.
359e0 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
35a00 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
35a20 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
35a40 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
35a60 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
35a80 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
35aa0 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
35ac0 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))......
35ae0 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......(
35b00 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).'
35b20 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
35b40 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))).
35b60 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
35b80 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
35ba0 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-
35bc0 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)
35be0 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
35c00 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).
35c20 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
35c40 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
35c60 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
35c80 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.
35ca0 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
35cc0 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
35ce0 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
35d00 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.
35d20 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.
35d40 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
35d60 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).......
35d80 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
35da0 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
35dc0 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"
35de0 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
35e00 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
35e20 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
35e40 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
35e60 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
35e80 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
35ea0 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.
35ec0 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
35ee0 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
35f00 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
35f20 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
35f40 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
35f60 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
35f80 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
35fa0 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
35fc0 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.
35fe0 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:.
36000 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.
36020 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
36040 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
36060 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
36080 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
360a0 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].
360c0 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
360e0 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
36100 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).
36120 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
36140 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
36160 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))).......;;.
36180 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
361a0 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.....
361c0 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
361e0 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....
36200 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
36220 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
36240 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
36260 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,.
36280 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
362a0 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.
362c0 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....
362e0 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
36300 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
36320 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
36340 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.
36360 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.
36380 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.
363a0 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',.
363c0 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
363e0 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
36400 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.
36420 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
36440 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)).....
36460 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
36480 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
364a0 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
364c0 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
364e0 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
36500 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
36520 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".
36540 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
36560 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
36580 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
365a0 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
365c0 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
365e0 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)))).....;
36600 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].
36620 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).....;;.(
36640 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
36660 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
36680 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
366a0 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
366c0 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".
366e0 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
36700 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
36720 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
36740 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)).....
36760 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
36780 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"))
367a0 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
367c0 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
367e0 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").........
36800 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
36820 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)..
36840 20 20 20 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
36860 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)
36880 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
368a0 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
368c0 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
368e0 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
36900 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
36920 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
36940 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
36960 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
36980 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
369a0 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
369c0 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)........
369e0 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............(
36a00 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
36a20 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.......................
36a40 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'.
36a60 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'...........
36a80 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
36aa0 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
36ac0 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.".")))...........
36ae0 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
36b00 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
36b20 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")........................
36b40 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)))).............
36b60 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
36b80 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)....
36ba0 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
36bc0 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
36be0 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
36c00 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))...
36c20 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.(
36c40 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)....
36c60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
36c80 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
36ca0 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)))..........................
36cc0 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
36ce0 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...................
36d00 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
36d20 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.............
36d40 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
36d60 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............................
36d80 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...................
36da0 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
36dc0 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
36de0 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
36e00 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)..
36e20 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](
36e40 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
36e60 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.
36e80 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.
36ea0 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)...........
36ec0 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))))).
36ee0 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
36f00 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
36f20 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
36f40 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
36f60 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)))..
36f80 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.............
36fa0 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
36fc0 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.(
36fe0 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)).........
37000 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
37020 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)..
37040 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.#
37060 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...............
37080 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
370a0 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
370c0 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).............................
370e0 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
37100 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))...
37120 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........
37140 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
37160 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
37180 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.
371a0 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,..........
371c0 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
371e0 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.......
37200 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
37220 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
37240 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)..............
37260 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
37280 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..................
372a0 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.
372c0 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............................
372e0 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
37300 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)))......................
37320 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.................
37340 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
37360 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)......................
37380 20 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-
373a0 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)...............
373c0 20 20 20 20 20 20 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
373e0 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
37400 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.".")))).......................
37420 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
37440 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)....
37460 20 20 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
37480 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.....
374a0 20 20 20 20 20 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
374c0 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
374e0 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))........................
37500 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
37520 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..................
37540 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
37560 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.............
37580 20 20 20 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
375a0 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',.......
375c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
375e0 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..
37600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
37620 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
37640 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...........................
37660 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..
37680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
376a0 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
376c0 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)........................
376e0 20 20 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
37700 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...............................
37720 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)).........
37740 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
37760 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
37780 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)))...............
377a0 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.
377c0 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))..........
377e0 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))))
37800 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
37820 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
37840 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)............
37860 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.............
37880 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.......
378a0 20 20 20 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
378c0 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....
378e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
37900 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
37920 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))........
37940 20 20 20 20 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-
37960 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
37980 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))........................
379a0 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
379c0 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.........................
379e0 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
37a00 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)..
37a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
37a40 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
37a60 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))...........
37a80 20 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
37aa0 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-
37ac0 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)))........
37ae0 20 20 20 20 20 20 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
37b00 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)...
37b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
37b40 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.
37b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
37b80 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--"...
37ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
37bc0 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
37be0 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)................
37c00 20 20 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
37c20 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)...........................
37c40 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
37c60 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))))......
37c80 20 20 20 20 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
37ca0 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>>..............
37cc0 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
37ce0 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
37d00 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
37d20 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
37d40 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))...........
37d60 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
37d80 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....
37da0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
37dc0 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...............................
37de0 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
37e00 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))))).............
37e20 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
37e40 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
37e60 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
37e80 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).......
37ea0 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]
37ec0 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).
37ee0 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
37f00 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))..............
37f20 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
37f40 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.
37f60 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
37f80 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
37fa0 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.
37fc0 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.............
37fe0 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
38000 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
38020 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 )..............................(
38040 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))).
38060 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.
38080 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....................
380a0 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.......
380c0 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))
380e0 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-
38100 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
38120 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.
38140 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
38160 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.
38180 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...............
381a0 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......
381c0 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
381e0 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
38200 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......................
38220 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
38240 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)
38260 29 0a 20 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)
38280 29 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-
382a0 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)))............
382c0 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-
382e0 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)......................
38300 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"...........
38320 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
38340 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\">"..........
38360 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.(
38380 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.............
383a0 20 20 20 20 20 20 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
383c0 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............................
383e0 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
38400 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-
38420 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))........................
38440 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:")......
38460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
38480 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).......................
384a0 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
384c0 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.......................
384e0 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
38500 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...........................
38520 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
38540 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))..................
38560 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>".......
38580 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 70 74 69 6f ..........................captio
385a0 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
385c0 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))....
385e0 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
38600 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).................
38620 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
38640 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)).............
38660 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
38680 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
386a0 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.
386c0 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
386e0 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
38700 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
38720 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).........;;.
38740 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
38760 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.
38780 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*.((
387a0 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..
387c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
387e0 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
38800 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
38820 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
38840 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.
38860 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.......................
38880 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
388a0 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-
388c0 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-
388e0 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
38900 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....................
38920 20 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
38940 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............
38960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
38980 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\\)*?-->".""....
389a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
389c0 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
389e0 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..............................
38a00 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
38a20 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
38a40 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.............
38a60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
38a80 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)
38aa0 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...........................
38ac0 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
38ae0 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\
38b00 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\"\\?>"."".....
38b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
38b40 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.
38b60 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............
38b80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
38ba0 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....
38bc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
38be0 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[^>]+>"
38c00 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 ."".............................
38c20 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))
38c40 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.
38c60 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.....................
38c80 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
38ca0 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
38cc0 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>".............
38ce0 20 20 20 20 20 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
38d00 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)....
38d20 20 20 20 20 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-
38d40 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)))...........
38d60 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.
38d80 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
38da0 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."
38dc0 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
38de0 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
38e00 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).
38e20 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
38e40 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
38e60 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
38e80 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
38ea0 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))
38ec0 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
38ee0 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......................
38f00 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)..
38f20 20 20 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))
38f40 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.(/.(
38f60 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).->.
38f80 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
38fa0 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))).
38fc0 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
38fe0 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)....
39000 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-
39020 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
39040 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
39060 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.
39080 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".............;;.
390a0 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))....
390c0 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-
390e0 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
39100 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.
39120 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
39140 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".............;;.....
39160 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
39180 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........
391a0 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
391c0 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
391e0 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
39200 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,.
39220 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
39240 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'..........
39260 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.........
39280 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)...
392a0 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
392c0 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.............................(
392e0 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))))...............(
39300 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.....
39320 20 20 20 20 20 20 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
39340 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..........................
39360 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
39380 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
393a0 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
393c0 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
393e0 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)
39400 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.....
39420 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.........
39440 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".
39460 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
39480 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
394a0 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...
394c0 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
394e0 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
39500 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)...............
39520 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
39540 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
39560 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
39580 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'
395a0 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.....
395c0 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/
395e0 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
39600 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
39620 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)......
39640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39660 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)...............
39680 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.
396a0 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
396c0 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)..............................
396e0 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
39700 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
39720 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
39740 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.....................
39760 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
39780 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))..............
397a0 20 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..
397c0 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))......
397e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39800 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
39820 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 ))..............................
39840 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
39860 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))........................
39880 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
398a0 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))..........
398c0 20 20 20 20 20 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
398e0 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))..
39900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39920 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.:
39940 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))........................
39960 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
39980 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'...................
399a0 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
399c0 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...........
399e0 20 20 20 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
39a00 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'.........
39a20 20 20 20 20 20 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 .............................;;.
39a40 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..
39a60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39a80 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.
39aa0 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..........................
39ac0 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
39ae0 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......................
39b00 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
39b20 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......................
39b40 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
39b60 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))...........
39b80 20 20 20 20 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.
39ba0 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)))).....
39bc0 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
39be0 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.(
39c00 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)............
39c20 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)).
39c40 20 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
39c60 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))).....................(
39c80 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.......................(
39ca0 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
39cc0 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..................
39ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39d00 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\"."........
39d20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
39d40 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))
39d60 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
39d80 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
39da0 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)......
39dc0 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.%
39de0 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
39e00 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."
39e20 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
39e40 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
39e60 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
39e80 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-
39ea0 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.
39ec0 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-
39ee0 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)..........
39f00 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
39f20 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
39f40 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.
39f60 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).......
39f80 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
39fa0 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
39fc0 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
39fe0 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
3a000 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
3a020 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)).....
3a040 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.
3a060 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
3a080 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))......
3a0a0 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
3a0c0 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).....
3a0e0 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)"......
3a100 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.................
3a120 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
3a140 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
3a160 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
3a180 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.((
3a1a0 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-
3a1c0 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))).........
3a1e0 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)"...........
3a200 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-
3a220 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
3a240 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
3a260 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....
3a280 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
3a2a0 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))))).....
3a2c0 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
3a2e0 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
3a300 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
3a320 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."
3a340 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.....
3a360 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....
3a380 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.
3a3a0 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
3a3c0 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
3a3e0 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
3a400 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
3a420 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
3a440 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....................
3a460 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
3a480 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.............
3a4a0 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
3a4c0 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........
3a4e0 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.....
3a500 20 20 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.((
3a520 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
3a540 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)))...................
3a560 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
3a580 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
3a5a0 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).........
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 28 6f 72 67 ............................(org
3a5e0 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
3a600 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))))....................
3a620 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
3a640 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.........
3a660 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
3a680 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
3a6a0 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))...........................
3a6c0 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
3a6e0 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)).............
3a700 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
3a720 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
3a740 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)).............
3a760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
3a780 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)
3a7a0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
3a7c0 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
3a7e0 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))...............
3a800 20 20 20 20 20 20 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
3a820 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)).....
3a840 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3a860 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
3a880 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)).......................
3a8a0 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
3a8c0 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)))))........
3a8e0 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
3a900 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).....................
3a920 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))...
3a940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 76 61 .............................(va
3a960 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))).................
3a980 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............
3a9a0 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
3a9c0 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...
3a9e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3aa00 20 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.
3aa20 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\"."....................
3aa40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3aa60 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))))))...
3aa80 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
3aaa0 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
3aac0 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)..........
3aae0 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 ..............).................
3ab00 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))
3ab20 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.
3ab40 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............
3ab60 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")
3ab80 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
3aba0 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:
3abc0 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)..................
3abe0 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
3ac00 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-
3ac20 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))..........................
3ac40 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)))..
3ac60 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.....
3ac80 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,
3aca0 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
3acc0 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........................
3ace0 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
3ad00 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."."))............
3ad20 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."")....
3ad40 20 20 20 20 20 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
3ad60 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.""))........................
3ad80 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
3ada0 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
3adc0 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)...............
3ade0 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.........
3ae00 20 20 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
3ae20 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........
3ae40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3ae60 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
3ae80 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............
3aea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3aec0 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))
3aee0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
3af00 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
3af20 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...........................
3af40 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
3af60 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'..................
3af80 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
3afa0 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.............
3afc0 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
3afe0 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.......
3b000 20 20 20 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
3b020 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...........................
3b040 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.".*\
3b060 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).....
3b080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
3b0a0 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
3b0c0 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))))..........
3b0e0 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
3b100 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...................
3b120 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
3b140 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
3b160 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)))................
3b180 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
3b1a0 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............................
3b1c0 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
3b1e0 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",...................
3b200 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
3b220 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...................
3b240 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".....
3b260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3b280 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::
3b2a0 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).............
3b2c0 20 20 20 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
3b2e0 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
3b300 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 ))))............................
3b320 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.
3b340 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
3b360 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)......................
3b380 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.
3b3a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3b3c0 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-
3b3e0 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
3b400 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)))))...............
3b420 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
3b440 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]
3b460 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)..............
3b480 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-
3b4a0 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
3b4c0 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)..........
3b4e0 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.........
3b500 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
3b520 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,...
3b540 20 20 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
3b560 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
3b580 0a 20 20 20 20 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 .............................;;.
3b5a0 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............................
3b5c0 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)
3b5e0 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
3b600 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)))............................
3b620 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\".>}}
3b640 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))......................
3b660 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
3b680 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
3b6a0 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..............................(
3b6c0 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
3b6e0 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)).............
3b700 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
3b720 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)).
3b740 20 20 20 20 20 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..
3b760 20 20 20 20 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 ............................""))
3b780 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.;;
3b7a0 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.......
3b7c0 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
3b7e0 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
3b800 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...
3b820 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)))..
3b840 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
3b860 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
3b880 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."[
3b8a0 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=
3b8c0 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
3b8e0 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
3b900 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)......
3b920 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
3b940 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
3b960 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
3b980 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....
3b9a0 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...............
3b9c0 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
3b9e0 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)................(
3ba00 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-*
3ba20 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))).....
3ba40 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.
3ba60 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-*>}}\\'"...................
3ba80 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
3baa0 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)...............
3bac0 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))....
3bae0 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
3bb00 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..
3bb20 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.............
3bb40 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
3bb60 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>".
3bb80 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
3bba0 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).............
3bbc0 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............
3bbe0 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))
3bc00 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
3bc20 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.....
3bc40 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
3bc60 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...............
3bc80 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
3bca0 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))..
3bcc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
3bce0 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))).
3bd00 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-
3bd20 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.......................
3bd40 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
3bd60 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.......
3bd80 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://
3bda0 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/
3bdc0 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.....
3bde0 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."
3be00 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).....................
3be20 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
3be40 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)))........
3be60 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
3be80 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
3bea0 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
3bec0 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
3bee0 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
3bf00 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>"...........
3bf20 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..................
3bf40 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...............
3bf60 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
3bf80 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....................
3bfa0 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
3bfc0 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
3bfe0 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.............
3c000 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
3c020 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.........
3c040 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-
3c060 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
3c080 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
3c0a0 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
3c0c0 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
3c0e0 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).....
3c100 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
3c120 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.
3c140 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
3c160 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...........""))
3c180 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
3c1a0 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)...
3c1c0 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
3c1e0 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
3c200 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
3c220 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:
3c240 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
3c260 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
3c280 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
3c2a0 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
3c2c0 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.
3c2e0 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
3c300 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
3c320 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
3c340 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
3c360 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]
3c380 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
3c3a0 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
3c3c0 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)
3c3e0 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.......
3c400 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
3c420 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))).....
3c440 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)..
3c460 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
3c480 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)......
3c4a0 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.
3c4c0 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
3c4e0 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
3c500 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
3c520 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.
3c540 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
3c560 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
3c580 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
3c5a0 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).......
3c5c0 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
3c5e0 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)...............
3c600 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
3c620 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.(
3c640 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
3c660 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
3c680 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
3c6a0 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
3c6c0 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
3c6e0 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
3c700 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).............
3c720 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)).....
3c740 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
3c760 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)))...........
3c780 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)....
3c7a0 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
3c7c0 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)))...........
3c7e0 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-
3c800 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).....................
3c820 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
3c840 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))...
3c860 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
3c880 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)).
3c8a0 20 20 20 20 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
3c8c0 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
3c8e0 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))).....................
3c900 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
3c920 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).........................
3c940 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)).
3c960 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
3c980 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
3c9a0 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).........................
3c9c0 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
3c9e0 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
3ca00 29 0a 20 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-
3ca20 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
3ca40 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
3ca60 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.(
3ca80 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
3caa0 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.
3cac0 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
3cae0 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
3cb00 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
3cb20 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
3cb40 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.
3cb60 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
3cb80 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))).......
3cba0 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
3cbc0 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..........................
3cbe0 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...
3cc00 20 20 20 20 20 20 20 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
3cc20 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.................
3cc40 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
3cc60 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..............
3cc80 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
3cca0 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))))
3ccc0 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-
3cce0 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-
3cd00 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
3cd20 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
3cd40 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
3cd60 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............
3cd80 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-
3cda0 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-
3cdc0 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
3cde0 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
3ce00 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
3ce20 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-
3ce40 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.
3ce60 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
3ce80 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
3cea0 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
3cec0 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
3cee0 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
3cf00 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
3cf20 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
3cf40 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
3cf60 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:
3cf80 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
3cfa0 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
3cfc0 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
3cfe0 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
3d000 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
3d020 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
3d040 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.
3d060 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.
3d080 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
3d0a0 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
3d0c0 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
3d0e0 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
3d100 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-
3d120 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))......
3d140 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
3d160 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
3d180 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
3d1a0 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).
3d1c0 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.
3d1e0 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................
3d200 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
3d220 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.....................
3d240 20 20 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
3d260 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................
3d280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
3d2a0 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-
3d2c0 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))))....................
3d2e0 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
3d300 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
3d320 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)))...........................
3d340 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...........................
3d360 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.........
3d380 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")....
3d3a0 20 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
3d3c0 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-
3d3e0 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".....................
3d400 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
3d420 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)))))))..
3d440 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
3d460 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
3d480 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................
3d4a0 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
3d4c0 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
3d4e0 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
3d500 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
3d520 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).....
3d540 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
3d560 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)).....
3d580 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.
3d5a0 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
3d5c0 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."[
3d5e0 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:
3d600 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-
3d620 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
3d640 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
3d660 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
3d680 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).....;
3d6a0 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
3d6c0 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-
3d6e0 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.
3d700 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:.
3d720 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
3d740 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
3d760 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).....
3d780 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
3d7a0 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
3d7c0 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
3d7e0 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
3d800 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
3d820 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-
3d840 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
3d860 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.
3d880 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
3d8a0 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.........
3d8c0 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*.
3d8e0 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........
3d900 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
3d920 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
3d940 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
3d960 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))))).........
3d980 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
3d9a0 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...
3d9c0 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
3d9e0 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).........
3da00 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.
3da20 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",......
3da40 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/
3da60 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"........................
3da80 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.
3daa0 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").
3dac0 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
3dae0 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
3db00 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
3db20 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.
3db40 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.......................
3db60 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).................
3db80 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
3dba0 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
3dbc0 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)))....
3dbe0 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...
3dc00 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.......
3dc20 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.
3dc40 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
3dc60 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)..........
3dc80 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
3dca0 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......
3dcc0 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
3dce0 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...........
3dd00 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>
3dd20 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",
3dd40 0a 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
3dd60 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"................
3dd80 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.
3dda0 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
3ddc0 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).......
3dde0 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."[
3de00 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
3de20 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
3de40 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".........................;;
3de60 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.(
3de80 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)))..................
3dea0 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
3dec0 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))).....................
3dee0 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.
3df00 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)...
3df20 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
3df40 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'.
3df60 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.........................;;."<
3df80 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.
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 3b 3b 20 22 3c 4f 52 47 ........................;;."<ORG
3dfc0 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.
3dfe0 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/
3e000 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"........................
3e020 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
3e040 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.
3e060 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"...........
3e080 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
3e0a0 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)))..
3e0c0 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
3e0e0 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))).....
3e100 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...........
3e120 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.
3e140 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......
3e160 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
3e180 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.........
3e1a0 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
3e1c0 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".........
3e1e0 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
3e200 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.
3e220 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
3e240 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")................
3e260 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
3e280 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))))............
3e2a0 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....................
3e2c0 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
3e2e0 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",..................
3e300 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"
3e320 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.............
3e340 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...
3e360 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
3e380 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
3e3a0 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'.....................
3e3c0 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
3e3e0 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
3e400 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")................
3e420 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..................
3e440 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
3e460 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
3e480 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)...............
3e4a0 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
3e4c0 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)))))...........
3e4e0 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
3e500 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))..
3e520 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
3e540 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)
3e560 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
3e580 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.
3e5a0 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
3e5c0 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"
3e5e0 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
3e600 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'
3e620 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
3e640 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...
3e660 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...............;;
3e680 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................
3e6a0 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
3e6c0 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
3e6e0 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))...........
3e700 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
3e720 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-
3e740 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
3e760 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
3e780 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
3e7a0 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).............
3e7c0 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
3e7e0 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
3e800 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
3e820 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
3e840 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............
3e860 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
3e880 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
3e8a0 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
3e8c0 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
3e8e0 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
3e900 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)...............
3e920 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
3e940 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))........
3e960 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
3e980 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............................
3e9a0 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
3e9c0 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))............................
3e9e0 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
3ea00 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.....................
3ea20 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
3ea40 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."/"..............
3ea60 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
3ea80 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........
3eaa0 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
3eac0 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
3eae0 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...........
3eb00 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
3eb20 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)))))).......
3eb40 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
3eb60 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
3eb80 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)).
3eba0 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-
3ebc0 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
3ebe0 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.
3ec00 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
3ec20 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
3ec40 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
3ec60 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.
3ec80 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
3eca0 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
3ecc0 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.
3ece0 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.
3ed00 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
3ed20 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
3ed40 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
3ed60 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.
3ed80 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
3eda0 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
3edc0 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
3ede0 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
3ee00 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
3ee20 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.
3ee40 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).....
3ee60 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
3ee80 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
3eea0 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:.........
3eec0 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 ...............->...............
3eee0 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
3ef00 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 ").......;;.....................
3ef20 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
3ef40 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
3ef60 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
3ef80 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:]]\\)"."\
3efa0 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))...
3efc0 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
3efe0 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
3f000 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).......)....
3f020 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
3f040 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)
3f060 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
3f080 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-
3f0a0 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
3f0c0 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.(
3f0e0 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
3f100 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"))).....
3f120 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
3f140 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
3f160 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................;;.
3f180 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
3f1a0 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;............
3f1c0 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
3f1e0 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......
3f200 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.
3f220 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
3f240 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"........
3f260 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:]]+\\(\\[\\^[^
3f280 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"..........
3f2a0 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.
3f2c0 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
3f2e0 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 ."................."\\(\\[\\^[^]
3f300 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:]]*\\([.]+\\)".
3f320 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))).
3f340 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
3f360 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
3f380 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..
3f3a0 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.
3f3c0 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
3f3e0 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
3f400 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"
3f420 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
3f440 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
3f460 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
3f480 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
3f4a0 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
3f4c0 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
3f4e0 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
3f500 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
3f520 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-
3f540 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)))
3f560 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
3f580 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
3f5a0 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
3f5c0 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
3f5e0 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)
3f600 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
3f620 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.
3f640 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
3f660 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
3f680 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
3f6a0 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').......(
3f6c0 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).....
3f6e0 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
3f700 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))...
3f720 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
3f740 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
3f760 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
3f780 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))..............
3f7a0 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
3f7c0 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))
3f7e0 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
3f800 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
3f820 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
3f840 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
3f860 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
3f880 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-
3f8a0 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))......
3f8c0 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
3f8e0 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)........
3f900 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
3f920 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...................
3f940 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--"..
3f960 20 20 20 20 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-
3f980 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
3f9a0 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)............................
3f9c0 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
3f9e0 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...............
3fa00 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\">
3fa20 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)...........
3fa40 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
3fa60 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
3fa80 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
3faa0 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
3fac0 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
3fae0 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).......................
3fb00 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
3fb20 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)
3fb40 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
3fb60 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......................
3fb80 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
3fba0 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)..............
3fbc0 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
3fbe0 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
3fc00 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.........;;
3fc20 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
3fc40 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
3fc60 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.
3fc80 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
3fca0 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.
3fcc0 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)))
3fce0 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
3fd00 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
3fd20 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
3fd40 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
3fd60 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
3fd80 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
3fda0 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
3fdc0 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
3fde0 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
3fe00 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
3fe20 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
3fe40 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.
3fe60 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.
3fe80 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'
3fea0 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
3fec0 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
3fee0 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://
3ff00 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
3ff20 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
3ff40 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\"
3ff60 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
3ff80 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.
3ffa0 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
3ffc0 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.
3ffe0 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
40000 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
40020 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
40040 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.
40060 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
40080 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
400a0 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
400c0 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.
400e0 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
40100 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
40120 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
40140 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')...
40160 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.
40180 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.
401a0 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
401c0 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
401e0 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'
40200 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
40220 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
40240 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.(
40260 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
40280 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
402a0 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
402c0 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
402e0 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
40300 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)))).....;;
40320 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
40340 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
40360 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".
40380 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-
403a0 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".
403c0 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
403e0 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
40400 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
40420 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.
40440 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
40460 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)))........
40480 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.
404a0 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..
404c0 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
404e0 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
40500 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
40520 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
40540 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
40560 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)))........
40580 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
405a0 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).....
405c0 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
405e0 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.
40600 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'
40620 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
40640 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
40660 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..
40680 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
406a0 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
406c0 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.........
406e0 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
40700 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)
40720 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
40740 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
40760 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
40780 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)).........................
407a0 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
407c0 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...............
407e0 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
40800 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'...................
40820 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
40840 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)))
40860 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
40880 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
408a0 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
408c0 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.............
408e0 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
40900 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
40920 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)))).........................
40940 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].
40960 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
40980 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
409a0 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).......
409c0 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
409e0 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)........
40a00 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
40a20 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
40a40 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-
40a60 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)).......
40a80 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
40aa0 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)))
40ac0 0a 20 20 20 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
40ae0 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.....................
40b00 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))....
40b20 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
40b40 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
40b60 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
40b80 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
40ba0 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
40bc0 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
40be0 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.
40c00 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.........................
40c20 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
40c40 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
40c60 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))............................
40c80 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
40ca0 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........
40cc0 20 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
40ce0 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
40d00 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..............................
40d20 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
40d40 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).......
40d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
40d80 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))))..............(
40da0 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
40dc0 29 0a 20 20 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
40de0 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.................
40e00 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.............
40e20 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.
40e40 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
40e60 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:..............................
40e80 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.
40ea0 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".>}}............
40ec0 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-
40ee0 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
40f00 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".........
40f20 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
40f40 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........................
40f60 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
40f80 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:............
40fa0 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
40fc0 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"].}.....
40fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 ..........................(forma
41000 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]"........................
41020 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..........
41040 20 20 20 20 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
41060 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))........
41080 20 20 20 20 20 20 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
410a0 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.",").","))))
410c0 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\"]".
410e0 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
41100 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)
41120 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
41140 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..........................
41160 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
41180 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)......................
411a0 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
411c0 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
411e0 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.
41200 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)...............
41220 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 ................."".............
41240 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
41260 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..
41280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
412a0 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
412c0 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...............................
412e0 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-
41300 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))...........
41320 20 20 20 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
41340 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
41360 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)).........
41380 20 20 20 20 20 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
413a0 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........................
413c0 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-
413e0 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
41400 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................
41420 20 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
41440 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
41460 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))))....................
41480 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<
414a0 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\">
414c0 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".............................
414e0 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
41500 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
41520 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"............................
41540 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"....
41560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41580 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>")...........
415a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 .............................(if
415c0 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
415e0 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............
41600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41620 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</
41640 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>".............................
41660 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
41680 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)....
416a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
416c0 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"...........
416e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
41700 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-
41720 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))...........................
41740 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))))....
41760 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
41780 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............
417a0 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-
417c0 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)....
417e0 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)).....
41800 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."").....
41820 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..........
41840 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
41860 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".
41880 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.
418a0 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:.%
418c0 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
418e0 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:
41900 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
41920 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
41940 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)........
41960 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-
41980 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.((
419a0 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
419c0 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)))....
419e0 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
41a00 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
41a20 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
41a40 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)........
41a60 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
41a80 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...........
41aa0 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
41ac0 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
41ae0 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)...
41b00 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.
41b20 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
41b40 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))..........
41b60 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."
41b80 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)))....
41ba0 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
41bc0 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
41be0 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..............
41c00 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
41c20 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
41c40 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)..................
41c60 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
41c80 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)))).....
41ca0 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...
41cc0 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.
41ce0 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
41d00 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))))..
41d20 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......
41d40 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
41d60 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
41d80 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
41da0 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
41dc0 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
41de0 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
41e00 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
41e20 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
41e40 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))))
41e60 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
41e80 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)
41ea0 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.........
41ec0 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
41ee0 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
41f00 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
41f20 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))......
41f40 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
41f60 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))))...
41f80 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..........
41fa0 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
41fc0 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))..............
41fe0 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
42000 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
42020 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
42040 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
42060 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).....
42080 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
420a0 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
420c0 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
420e0 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
42100 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)........
42120 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
42140 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)
42160 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.
42180 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-
421a0 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
421c0 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
421e0 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).........................
42200 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
42220 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)...................
42240 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 ................."")))..........
42260 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
42280 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.>}}
422a0 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".............................
422c0 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)).........
422e0 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
42300 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)))........
42320 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
42340 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
42360 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
42380 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)...........
423a0 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
423c0 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)).....
423e0 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
42400 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................
42420 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.................
42440 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
42460 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).............
42480 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))))
424a0 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
424c0 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
424e0 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
42500 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.
42520 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
42540 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.
42560 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.
42580 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
425a0 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.
425c0 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
425e0 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
42600 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
42620 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>
42640 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
42660 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.
42680 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
426a0 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
426c0 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
426e0 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.
42700 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
42720 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
42740 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
42760 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
42780 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
427a0 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
427c0 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.
427e0 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
42800 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
42820 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
42840 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
42860 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'...
42880 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
428a0 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
428c0 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
428e0 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
42900 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
42920 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
42940 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-
42960 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
42980 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
429a0 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
429c0 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
429e0 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
42a00 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
42a20 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
42a40 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
42a60 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
42a80 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...
42aa0 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
42ac0 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
42ae0 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
42b00 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
42b20 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
42b40 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.........................
42b60 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
42b80 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
42ba0 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
42bc0 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...
42be0 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
42c00 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.""))
42c20 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.
42c40 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
42c60 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
42c80 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
42ca0 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.
42cc0 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.....
42ce0 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
42d00 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
42d20 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
42d40 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............................
42d60 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
42d80 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
42da0 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
42dc0 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
42de0 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
42e00 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
42e20 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
42e40 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.:
42e60 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))........
42e80 20 20 20 20 20 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
42ea0 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
42ec0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
42ee0 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
42f00 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."."))))......................
42f20 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
42f40 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
42f60 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-
42f80 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.
42fa0 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
42fc0 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))..........(
42fe0 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
43000 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
43020 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).............
43040 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..............
43060 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
43080 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)..................
430a0 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
430c0 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
430e0 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.........................
43100 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
43120 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
43140 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
43160 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
43180 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"
431a0 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
431c0 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
431e0 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
43200 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))).
43220 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
43240 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
43260 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
43280 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
432a0 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-
432c0 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
432e0 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
43300 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
43320 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
43340 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
43360 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
43380 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-
433a0 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
433c0 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).....(
433e0 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.......
43400 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")
43420 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.
43440 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"........................
43460 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
43480 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".
434a0 20 20 20 20 20 20 20 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
434c0 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.........................
434e0 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</
43500 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
43520 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
43540 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"....
43560 20 20 20 20 20 20 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 .............................."<
43580 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"......................
435a0 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............
435c0 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."\
435e0 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</
43600 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>"........................
43620 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))))...
43640 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=
43660 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")......
43680 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
436a0 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'...
436c0 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
436e0 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
43700 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
43720 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
43740 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........(
43760 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
43780 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
437a0 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
437c0 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....................;
437e0 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
43800 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...................
43820 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".....................:
43840 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.
43860 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
43880 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'..........................
438a0 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
438c0 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
438e0 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.
43900 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)).
43920 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
43940 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
43960 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)............
43980 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
439a0 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....
439c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 74 68 ...........................;;.th
439e0 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
43a00 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.............................
43a20 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".............
43a40 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
43a60 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_
43a80 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)).......
43aa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
43ac0 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
43ae0 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.".")))...................
43b00 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
43b20 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
43b40 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
43b60 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.......
43b80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 67 2d 73 74 72 69 .......................(org-stri
43ba0 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
43bc0 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))))............
43be0 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-
43c00 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.(
43c20 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......................
43c40 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.".").
43c60 20 20 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 ..........................".")).
43c80 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.(
43ca0 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.............................
43cc0 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
43ce0 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.....................
43d00 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
43d20 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
43d40 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'..
43d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
43d80 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-
43da0 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)))))..
43dc0 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.
43de0 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-
43e00 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)............................
43e20 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 ......"%".......................
43e40 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
43e60 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-
43e80 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)...........
43ea0 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 ........................"%".....
43ec0 20 20 20 20 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 ............................">")
43ee0 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
43f00 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}}"............
43f20 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
43f40 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
43f60 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))..............
43f80 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}}
43fa0 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".............................
43fc0 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
43fe0 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))).......
44000 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
44020 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"...........;
44040 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
44060 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))
44080 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
440a0 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-
440c0 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
440e0 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
44100 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."
44120 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
44140 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
44160 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"................
44180 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)))..
441a0 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
441c0 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
441e0 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
44200 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
44220 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._
44240 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
44260 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...
44280 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
442a0 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
442c0 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
442e0 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.
44300 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
44320 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
44340 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
44360 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
44380 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"))...;;
443a0 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]
443c0 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
443e0 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
44400 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
44420 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")).
44440 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
44460 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
44480 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-
444a0 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
444c0 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.(
444e0 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................
44500 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).................
44520 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
44540 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)..................(
44560 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.(
44580 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
445a0 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..........
445c0 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..........
445e0 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
44600 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.....
44620 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!
44640 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
44660 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
44680 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
446a0 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
446c0 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
446e0 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
44700 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
44720 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.................
44740 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..............
44760 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
44780 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
447a0 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
447c0 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
447e0 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
44800 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
44820 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))
44840 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-
44860 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
44880 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
448a0 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
448c0 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
448e0 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.........
44900 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)..
44920 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
44940 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
44960 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
44980 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)....
449a0 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
449c0 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
449e0 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
44a00 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.
44a20 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
44a40 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."\\(\\+\\
44a60 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*\\'"............
44a80 20 20 20 20 20 20 20 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
44aa0 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."\\&")...........
44ac0 20 20 20 20 20 20 20 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
44ae0 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).
44b00 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
44b20 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
44b40 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
44b60 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
44b80 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
44ba0 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
44bc0 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
44be0 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
44c00 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.
44c20 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.
44c40 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
44c60 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
44c80 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
44ca0 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
44cc0 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.\\
44ce0 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.
44d00 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
44d20 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.((
44d40 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
44d60 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
44d80 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....
44da0 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
44dc0 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
44de0 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)))))).........(
44e00 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))..
44e20 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
44e40 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
44e60 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
44e80 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
44ea0 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).............
44ec0 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))))...
44ee0 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)....
44f00 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)
44f20 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-
44f40 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
44f60 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")......(
44f80 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)...........
44fa0 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)...........(
44fc0 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"
44fe0 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.
45000 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
45020 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
45040 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)..
45060 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.
45080 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
450a0 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
450c0 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*.((
450e0 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-
45100 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))..........(
45120 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
45140 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.:
45160 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
45180 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
451a0 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
451c0 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
451e0 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
45200 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)).......
45220 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
45240 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
45260 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
45280 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
452a0 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
452c0 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/
452e0 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
45300 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.
45320 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
45340 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
45360 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
45380 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
453a0 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
453c0 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
453e0 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.
45400 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
45420 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
45440 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.(
45460 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
45480 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)............................
454a0 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)))).....
454c0 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............
454e0 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)))).
45500 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
45520 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
45540 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
45560 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).............
45580 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
455a0 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))))
455c0 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
455e0 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))).........
45600 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
45620 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............
45640 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
45660 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--
45680 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
456a0 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
456c0 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)))...........
456e0 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
45700 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-
45720 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))))
45740 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"
45760 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).
45780 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).
457a0 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
457c0 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)..............
457e0 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
45800 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......
45820 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
45840 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)).
45860 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-
45880 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
458a0 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
458c0 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
458e0 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..
45900 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
45920 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
45940 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
45960 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
45980 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
459a0 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
459c0 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
459e0 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..
45a00 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
45a20 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
45a40 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
45a60 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.
45a80 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
45aa0 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
45ac0 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)...
45ae0 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.:
45b00 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.......
45b20 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
45b40 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.....
45b60 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.--.......
45b80 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-
45ba0 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...
45bc0 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.........
45be0 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
45c00 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._)...............
45c20 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...
45c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
45c60 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
45c80 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
45ca0 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............
45cc0 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............
45ce0 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
45d00 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).......................
45d20 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
45d40 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))..........................
45d60 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.
45d80 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..................
45da0 20 20 20 20 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
45dc0 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
45de0 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
45e00 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)).
45e20 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.
45e40 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
45e60 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
45e80 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.
45ea0 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
45ec0 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...........;
45ee0 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
45f00 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
45f20 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."---
45f40 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
45f60 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
45f80 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."--\\([^-]\\
45fa0 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....
45fc0 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
45fe0 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
46000 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....
46020 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
46040 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)
46060 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
46080 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
460a0 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
460c0 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\".".
460e0 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
46100 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
46120 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.
46140 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
46160 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
46180 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."\\([^_]\\)__\\([^_]\\)"))....
461a0 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)
461c0 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
461e0 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))).
46200 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
46220 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-
46240 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
46260 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
46280 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
462a0 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
462c0 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
462e0 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
46300 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
46320 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.
46340 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
46360 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
46380 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
463a0 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
463c0 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
463e0 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
46400 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
46420 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-
46440 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
46460 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
46480 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))
464a0 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.........(
464c0 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
464e0 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)....
46500 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-
46520 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-
46540 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)...
46560 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
46580 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
465a0 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
465c0 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
465e0 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.
46600 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
46620 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
46640 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
46660 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-
46680 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
466a0 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
466c0 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
466e0 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
46700 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\"..
46720 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
46740 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
46760 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
46780 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
467a0 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.
467c0 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
467e0 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))).
46800 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.........(
46820 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)...
46840 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
46860 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."\\`_\\([^_]\\)"."-
46880 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"....->."
468a0 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
468c0 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."\\`___\\([^_
468e0 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"
46900 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.(
46920 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."\\([^_
46940 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)).........;
46960 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
46980 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."
469a0 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))..
469c0 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_"...........
469e0 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
46a00 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."\\([^_]\\)_\\([^_]\\)"."\\
46a20 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"
46a40 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
46a60 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."\\([^_]\\)___\\
46a80 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___
46aa0 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).....
46ac0 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)))
46ae0 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-
46b00 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
46b20 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
46b40 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
46b60 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
46b80 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
46ba0 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
46bc0 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
46be0 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
46c00 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
46c20 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
46c40 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
46c60 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
46c80 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
46ca0 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
46cc0 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..
46ce0 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
46d00 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
46d20 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
46d40 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
46d60 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\"..........-
46d80 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
46da0 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
46dc0 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
46de0 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
46e00 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
46e20 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
46e40 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
46e60 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-
46e80 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
46ea0 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
46ec0 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
46ee0 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
46f00 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
46f20 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)))....
46f40 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
46f60 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
46f80 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)............
46fa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 64 0a 20 .........................(cond..
46fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
46fe0 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).............
47000 20 20 20 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
47020 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))...................
47040 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...........
47060 20 20 20 20 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
47080 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 ))).............................
470a0 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
470c0 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))))......
470e0 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
47100 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.
47120 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
47140 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
47160 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
47180 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
471a0 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."\
471c0 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
471e0 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.
47200 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
47220 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
47240 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
47260 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
47280 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
472a0 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)...
472c0 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
472e0 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...
47300 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
47320 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.(
47340 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
47360 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
47380 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
473a0 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
473c0 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).
473e0 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
47400 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
47420 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
47440 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.".......
47460 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
47480 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-
474a0 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
474c0 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
474e0 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
47500 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
47520 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.
47540 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.
47560 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
47580 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
475a0 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
475c0 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).
475e0 20 20 20 20 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.
47600 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....................
47620 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.
47640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47660 20 20 20 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
47680 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
476a0 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...............
476c0 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.
476e0 20 20 20 20 20 20 20 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 ...............................;
47700 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.
47720 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..............................
47740 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
47760 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.............................
47780 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
477a0 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.......................
477c0 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
477e0 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:..........................
47800 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....
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 20 20 20 20 3b 3b 20 20 ............................;;..
47840 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..............
47860 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 ..................;;............
47880 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.
478a0 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.....
478c0 20 20 20 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
478e0 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:.......
47900 20 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
47920 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..
47940 20 20 20 20 20 20 20 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
47960 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
47980 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]")))......
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 3b 3b 20 44 ............................;;.D
479c0 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.
479e0 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...........................
47a00 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
47a20 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........................
47a40 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.
47a60 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))))))).
47a80 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
47aa0 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)...........
47ac0 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
47ae0 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.(
47b00 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
47b20 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
47b40 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
47b60 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
47b80 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)))......
47ba0 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-
47bc0 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
47be0 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))))........
47c00 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
47c20 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...........................(
47c40 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."
47c60 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
47c80 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).....................(
47ca0 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)......
47cc0 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
47ce0 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).............
47d00 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
47d20 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
47d40 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.
47d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
47d80 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-
47da0 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))))
47dc0 0a 20 20 20 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
47de0 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
47e00 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
47e20 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.`
47e40 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)))).....................
47e60 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
47e80 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
47ea0 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
47ec0 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........
47ee0 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
47f00 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
47f20 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
47f40 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.(
47f60 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.
47f80 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).................
47fa0 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
47fc0 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
47fe0 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)))
48000 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
48020 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")).;
48040 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
48060 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
48080 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
480a0 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
480c0 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.........
480e0 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
48100 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
48120 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
48140 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...................
48160 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
48180 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
481a0 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
481c0 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.......
481e0 20 20 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
48200 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...
48220 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
48240 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..
48260 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
48280 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........
482a0 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
482c0 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
482e0 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.
48300 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
48320 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
48340 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..................
48360 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.
48380 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
483a0 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
483c0 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-
483e0 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).
48400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48420 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.
48440 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))))).............
48460 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].
48480 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)
484a0 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))).
484c0 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........
484e0 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
48500 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.
48520 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
48540 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
48560 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
48580 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......................
485a0 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.(
485c0 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)
485e0 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.
48600 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
48620 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.......................;;.
48640 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
48660 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.....................
48680 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..........
486a0 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
486c0 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
486e0 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))....
48700 20 20 20 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
48720 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-
48740 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
48760 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).......................
48780 20 20 20 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.
487a0 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
487c0 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))))............
487e0 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
48800 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)........
48820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48840 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
48860 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...........
48880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
488a0 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
488c0 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))........
488e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48900 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))
48920 29 0a 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
48940 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
48960 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)..
48980 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
489a0 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
489c0 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
489e0 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)))..........
48a00 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.
48a20 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
48a40 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
48a60 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 ))).............................
48a80 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)..................
48aa0 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
48ac0 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
48ae0 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)..................
48b00 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
48b20 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)..........
48b40 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."
48b60 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.
48b80 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))........................
48ba0 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
48bc0 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
48be0 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)..............
48c00 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............
48c20 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
48c40 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
48c60 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).........
48c80 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.
48ca0 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)........................
48cc0 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........
48ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48d00 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
48d20 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...............................
48d40 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
48d60 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)..........
48d80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48da0 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)).....
48dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48de0 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)
48e00 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
48e20 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.........
48e40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48e60 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
48e80 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))........................
48ea0 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).......
48ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
48ee0 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.........................
48f00 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
48f20 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))
48f40 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 )))))...........................
48f60 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...........................
48f80 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
48fa0 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
48fc0 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)...........
48fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
49000 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.......................
49020 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
49040 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
49060 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))))))..................
49080 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..
490a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
490c0 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
490e0 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.........................
49100 20 20 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.
49120 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
49140 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")...
49160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
49180 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
491a0 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 ))..............................
491c0 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-
491e0 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))...........................
49200 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)).
49220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
49240 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-
49260 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
49280 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....
492a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
492c0 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
492e0 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))...................
49300 20 20 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)..
49320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
49340 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....................
49360 20 20 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
49380 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
493a0 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)))))))............
493c0 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
493e0 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)..........
49400 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."
49420 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)....
49440 20 20 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.(
49460 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)))
49480 0a 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
494a0 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
494c0 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)................
494e0 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))........
49500 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
49520 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))........
49540 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
49560 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
49580 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)
495a0 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
495c0 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...........
495e0 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
49600 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.:
49620 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
49640 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
49660 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
49680 29 0a 20 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
496a0 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).........
496c0 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
496e0 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
49700 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))))
49720 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
49740 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
49760 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
49780 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
497a0 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..................
497c0 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
497e0 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))................
49800 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
49820 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
49840 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...
49860 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)..................(
49880 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).....
498a0 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-
498c0 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)).......
498e0 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-
49900 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
49920 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
49940 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
49960 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)).......
49980 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).
499a0 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
499c0 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-
499e0 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)))........
49a00 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
49a20 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
49a40 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))..............
49a60 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)......
49a80 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
49aa0 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))...........
49ac0 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
49ae0 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))..
49b00 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
49b20 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)).
49b40 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
49b60 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))......
49b80 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)
49ba0 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
49bc0 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
49be0 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))).......
49c00 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
49c20 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))................
49c40 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)................
49c60 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)....
49c80 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
49ca0 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)).............
49cc0 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
49ce0 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
49d00 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
49d20 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))
49d40 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
49d60 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..
49d80 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
49da0 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)...............
49dc0 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)...........
49de0 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
49e00 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
49e20 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..
49e40 20 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...
49e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 73 20 27 6d ........................(cons.'m
49e80 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).................
49ea0 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
49ec0 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)...........................
49ee0 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.:
49f00 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)......
49f20 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:.
49f40 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:.
49f60 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.:
49f80 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
49fa0 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).....;;.
49fc0 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".
49fe0 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
4a000 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
4a020 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
4a040 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
4a060 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.
4a080 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
4a0a0 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]
4a0c0 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.(
4a0e0 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
4a100 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
4a120 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."[
4a140 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
4a160 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
4a180 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
4a1a0 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
4a1c0 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.....
4a1e0 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
4a200 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
4a220 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-
4a240 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
4a260 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
4a280 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
4a2a0 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
4a2c0 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
4a2e0 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'..........
4a300 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
4a320 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.
4a340 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.
4a360 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
4a380 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
4a3a0 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
4a3c0 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
4a3e0 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)))....
4a400 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
4a420 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.(
4a440 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)))....
4a460 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
4a480 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)...............;;.(
4a4a0 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
4a4c0 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).
4a4e0 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-
4a500 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))).................(
4a520 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
4a540 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
4a560 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.%
4a580 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)..............
4a5a0 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)....
4a5c0 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
4a5e0 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)))..................
4a600 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
4a620 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)........................
4a640 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
4a660 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)
4a680 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 )).............................(
4a6a0 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
4a6c0 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).............................
4a6e0 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)....
4a700 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 28 6d ...........................;;.(m
4a720 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
4a740 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)...........
4a760 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 ....................))..........
4a780 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
4a7a0 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)...................
4a7c0 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)....
4a7e0 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
4a800 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.
4a820 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)...............
4a840 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 ............))..................
4a860 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
4a880 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............
4a8a0 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.
4a8c0 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...
4a8e0 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
4a900 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
4a920 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
4a940 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......................
4a960 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
4a980 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).............................
4a9a0 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
4a9c0 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)).........................
4a9e0 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)))
4aa00 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.
4aa20 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
4aa40 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
4aa60 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
4aa80 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
4aaa0 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
4aac0 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
4aae0 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://
4ab00 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
4ab20 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
4ab40 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
4ab60 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
4ab80 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
4aba0 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))...
4abc0 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
4abe0 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
4ac00 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)
4ac20 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-
4ac40 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))......
4ac60 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
4ac80 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.
4aca0 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
4acc0 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
4ace0 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
4ad00 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
4ad20 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
4ad40 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
4ad60 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
4ad80 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
4ada0 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-
4adc0 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
4ade0 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
4ae00 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
4ae20 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
4ae40 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
4ae60 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.
4ae80 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
4aea0 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
4aec0 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
4aee0 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
4af00 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)).........
4af20 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
4af40 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
4af60 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"
4af80 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
4afa0 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"
4afc0 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
4afe0 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
4b000 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
4b020 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,.
4b040 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
4b060 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...
4b080 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
4b0a0 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
4b0c0 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
4b0e0 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
4b100 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\
4b120 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"
4b140 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
4b160 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
4b180 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))..
4b1a0 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
4b1c0 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
4b1e0 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
4b200 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
4b220 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
4b240 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_
4b260 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"............
4b280 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
4b2a0 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
4b2c0 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".............
4b2e0 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
4b300 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
4b320 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".............
4b340 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".....
4b360 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".
4b380 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
4b3a0 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
4b3c0 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".....................
4b3e0 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"................
4b400 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"...........
4b420 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"....
4b440 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
4b460 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
4b480 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"..................
4b4a0 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".................
4b4c0 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".
4b4e0 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
4b500 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
4b520 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".....................
4b540 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".....................
4b560 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"..................
4b580 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"..............
4b5a0 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".............
4b5c0 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"......
4b5e0 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"...
4b600 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"..
4b620 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
4b640 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
4b660 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_
4b680 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"......................
4b6a0 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".
4b6c0 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_
4b6e0 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
4b700 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".................
4b720 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"..............
4b740 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"
4b760 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
4b780 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
4b7a0 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
4b7c0 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
4b7e0 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"......................
4b800 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"...............
4b820 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"...........
4b840 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
4b860 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.
4b880 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....
4b8a0 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
4b8c0 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"......................"
4b8e0 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"...................
4b900 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"......
4b920 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"......
4b940 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"........
4b960 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"))).....(
4b980 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)............
4b9a0 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))......
4b9c0 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-
4b9e0 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
4ba00 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
4ba20 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
4ba40 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.
4ba60 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
4ba80 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
4baa0 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
4bac0 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
4bae0 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
4bb00 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
4bb20 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
4bb40 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
4bb60 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
4bb80 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."...(
4bba0 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
4bbc0 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
4bbe0 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
4bc00 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))).;
4bc20 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'
4bc40 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
4bc60 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))..
4bc80 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
4bca0 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
4bcc0 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
4bce0 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.
4bd00 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
4bd20 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
4bd40 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
4bd60 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
4bd80 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
4bda0 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
4bdc0 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
4bde0 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...**.
4be00 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.
4be20 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
4be40 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
4be60 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
4be80 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
4bea0 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)."..
4bec0 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
4bee0 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
4bf00 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)....
4bf20 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))....
4bf40 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
4bf60 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
4bf80 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
4bfa0 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...
4bfc0 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
4bfe0 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.
4c000 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).....
4c020 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
4c040 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
4c060 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".......;;
4c080 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)....
4c0a0 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-
4c0c0 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.()..............
4c0e0 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
4c100 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).....................
4c120 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))
4c140 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
4c160 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
4c180 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.......................
4c1a0 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
4c1c0 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...............
4c1e0 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
4c200 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.............
4c220 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=".
4c240 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)........
4c260 20 20 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
4c280 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<>\"\"")............
4c2a0 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
4c2c0 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-
4c2e0 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-
4c300 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
4c320 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
4c340 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.
4c360 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
4c380 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
4c3a0 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
4c3c0 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
4c3e0 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
4c400 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
4c420 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
4c440 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.
4c460 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
4c480 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
4c4a0 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.
4c4c0 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
4c4e0 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
4c500 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
4c520 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
4c540 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..
4c560 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
4c580 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
4c5a0 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
4c5c0 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
4c5e0 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
4c600 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....
4c620 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-
4c640 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
4c660 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).......
4c680 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
4c6a0 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.(
4c6c0 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)))...
4c6e0 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.......
4c700 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.
4c720 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))...............
4c740 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.....
4c760 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
4c780 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............................
4c7a0 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."\"".
4c7c0 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))))...............
4c7e0 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.:
4c800 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
4c820 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)..
4c840 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.........
4c860 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
4c880 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.
4c8a0 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).............
4c8c0 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
4c8e0 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
4c900 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)............
4c920 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
4c940 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
4c960 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
4c980 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.....
4c9a0 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
4c9c0 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.
4c9e0 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'".......
4ca00 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
4ca20 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.
4ca40 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].
4ca60 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-
4ca80 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
4caa0 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
4cac0 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
4cae0 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
4cb00 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
4cb20 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")........
4cb40 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......
4cb60 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..
4cb80 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
4cba0 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..
4cbc0 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
4cbe0 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))
4cc00 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--
4cc20 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.
4cc40 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)
4cc60 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
4cc80 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
4cca0 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
4ccc0 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.
4cce0 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.
4cd00 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.
4cd20 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
4cd40 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
4cd60 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
4cd80 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
4cda0 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
4cdc0 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
4cde0 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
4ce00 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
4ce20 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
4ce40 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
4ce60 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
4ce80 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...-.
4cea0 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
4cec0 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.
4cee0 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.
4cf00 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..
4cf20 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."
4cf40 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
4cf60 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
4cf80 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
4cfa0 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...
4cfc0 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
4cfe0 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.......................
4d000 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
4d020 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.
4d040 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)...........
4d060 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
4d080 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).................
4d0a0 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
4d0c0 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)))..............
4d0e0 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.
4d100 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))................(
4d120 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
4d140 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)))..
4d160 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
4d180 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.............
4d1a0 20 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
4d1c0 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............
4d1e0 20 20 20 20 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.
4d200 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
4d220 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
4d240 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
4d260 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
4d280 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
4d2a0 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
4d2c0 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
4d2e0 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
4d300 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)).......................
4d320 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))))...
4d340 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........
4d360 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
4d380 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.
4d3a0 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)...
4d3c0 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
4d3e0 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)..........
4d400 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))))
4d420 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
4d440 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
4d460 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
4d480 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:
4d4a0 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
4d4c0 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
4d4e0 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.
4d500 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
4d520 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:
4d540 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
4d560 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.................;;
4d580 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
4d5a0 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................
4d5c0 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
4d5e0 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.........
4d600 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)............
4d620 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-
4d640 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.......................
4d660 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)...
4d680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4d6a0 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."")).........
4d6c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
4d6e0 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)
4d700 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
4d720 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
4d740 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
4d760 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
4d780 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
4d7a0 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
4d7c0 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
4d7e0 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
4d800 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
4d820 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--
4d840 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
4d860 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
4d880 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
4d8a0 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-
4d8c0 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".............;;
4d8e0 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
4d900 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.......
4d920 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............
4d940 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-
4d960 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
4d980 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
4d9a0 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
4d9c0 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
4d9e0 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
4da00 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'
4da20 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"..............
4da40 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
4da60 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
4da80 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
4daa0 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
4dac0 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
4dae0 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.
4db00 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))...........
4db20 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
4db40 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...
4db60 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
4db80 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
4dba0 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))...................
4dbc0 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
4dbe0 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
4dc00 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
4dc20 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'.
4dc40 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
4dc60 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
4dc80 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
4dca0 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"...............;;.......
4dcc0 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
4dce0 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)).............
4dd00 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
4dd20 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
4dd40 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
4dd60 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
4dd80 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..................(
4dda0 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......................;;
4ddc0 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.
4dde0 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.......................
4de00 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
4de20 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".
4de40 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).......................
4de60 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.................
4de80 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)).
4dea0 20 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
4dec0 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)).............
4dee0 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
4df00 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
4df20 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))))......................
4df40 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.
4df60 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.................
4df80 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.....
4dfa0 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...........
4dfc0 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
4dfe0 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
4e000 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)))..
4e020 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
4e040 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)...
4e060 20 20 20 20 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
4e080 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
4e0a0 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)))....................
4e0c0 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..............
4e0e0 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
4e100 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.
4e120 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))..........
4e140 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
4e160 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
4e180 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))))).................
4e1a0 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...
4e1c0 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
4e1e0 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
4e200 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
4e220 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
4e240 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.............................
4e260 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-
4e280 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.......
4e2a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4e2c0 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
4e2e0 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)))).......
4e300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 6e 6c ............................(unl
4e320 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
4e340 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...............................
4e360 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
4e380 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).........
4e3a0 20 20 20 20 20 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
4e3c0 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
4e3e0 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))...............
4e400 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
4e420 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
4e440 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)))).............
4e460 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.
4e480 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
4e4a0 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.
4e4c0 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))..................
4e4e0 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
4e500 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))
4e520 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
4e540 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
4e560 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.......
4e580 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
4e5a0 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
4e5c0 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
4e5e0 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))).
4e600 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
4e620 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
4e640 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;
4e660 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"))...
4e680 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))))..(
4e6a0 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
4e6c0 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
4e6e0 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
4e700 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
4e720 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
4e740 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
4e760 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
4e780 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
4e7a0 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
4e7c0 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
4e7e0 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
4e800 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))..
4e820 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
4e840 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
4e860 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))............(
4e880 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........
4e8a0 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
4e8c0 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-
4e8e0 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)...
4e900 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
4e920 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).............
4e940 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
4e960 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
4e980 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......
4e9a0 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
4e9c0 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
4e9e0 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-
4ea00 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))).............(
4ea20 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.
4ea40 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
4ea60 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
4ea80 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
4eaa0 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
4eac0 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
4eae0 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
4eb00 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))....................
4eb20 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=.
4eb40 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")...................
4eb60 20 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..
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 20 20 20 20 20 20 ................................
4eba0 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
4ebc0 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
4ebe0 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................
4ec00 20 20 20 20 20 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 .............................;;.
4ec20 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.
4ec40 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.......
4ec60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ec80 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......
4eca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ecc0 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
4ece0 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)..............
4ed00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ed20 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...............
4ed40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ed60 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
4ed80 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)................
4eda0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4edc0 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
4ede0 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......
4ee00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ee20 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
4ee40 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....................
4ee60 20 20 20 20 20 20 20 20 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 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.............
4eea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4eec0 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
4eee0 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...............
4ef00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ef20 20 20 20 20 20 20 20 20 20 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
4ef40 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...........
4ef60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ef80 20 20 20 20 20 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
4efa0 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....................
4efc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4efe0 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
4f000 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)))..........
4f020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 29 29 0a 20 20 20 ........................""))....
4f060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 77 69 74 68 2d 62 .........................:with-b
4f0a0 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))...................
4f0c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
4f0e0 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
4f100 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))))))........
4f120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4f140 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.
4f160 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
4f180 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))))...............
4f1a0 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
4f1c0 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
4f1e0 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)).........
4f200 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
4f220 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
4f240 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-
4f260 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)).....................
4f280 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
4f2a0 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))).........
4f2c0 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
4f2e0 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
4f300 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).....
4f320 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
4f340 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.....
4f360 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
4f380 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..............
4f3a0 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
4f3c0 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)............
4f3e0 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
4f400 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))).........
4f420 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
4f440 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
4f460 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)................
4f480 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
4f4a0 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...........
4f4c0 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
4f4e0 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....
4f500 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
4f520 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.....................
4f540 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
4f560 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'........
4f580 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......
4f5a0 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
4f5c0 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")..
4f5e0 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
4f600 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................
4f620 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..............
4f640 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...............
4f660 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
4f680 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.........
4f6a0 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
4f6c0 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....
4f6e0 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
4f700 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
4f720 0a 20 20 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
4f740 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)...........................
4f760 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_
4f780 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)..........
4f7a0 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
4f7c0 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
4f7e0 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))....
4f800 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
4f820 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
4f840 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
4f860 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.
4f880 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...........................;;.
4f8a0 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
4f8c0 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.........................
4f8e0 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..........
4f900 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=
4f920 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")..................
4f940 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
4f960 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)))............
4f980 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
4f9a0 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-
4f9c0 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))......
4f9e0 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
4fa00 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.
4fa20 20 20 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
4fa40 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
4fa60 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............................((
4fa80 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").......
4faa0 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
4fac0 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
4fae0 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.":
4fb00 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))...................
4fb20 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
4fb40 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...........
4fb60 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
4fb80 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.......
4fba0 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
4fbc0 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.........
4fbe0 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...........
4fc00 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.(
4fc20 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
4fc40 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)))........................
4fc60 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
4fc80 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
4fca0 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)))))
4fcc0 0a 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
4fce0 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
4fd00 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.........................
4fd20 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
4fd40 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................
4fd60 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
4fd80 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........
4fda0 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
4fdc0 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)...................
4fde0 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
4fe00 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))............
4fe20 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
4fe40 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.............................
4fe60 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
4fe80 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..............................
4fea0 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
4fec0 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)))...
4fee0 20 20 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
4ff00 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]
4ff20 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
4ff40 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)........................
4ff60 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
4ff80 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)))))))))........
4ffa0 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-
4ffc0 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
4ffe0 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
50000 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.
50020 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
50040 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.
50060 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
50080 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).........
500a0 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
500c0 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)).;
500e0 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:.
50100 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
50120 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
50140 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
50160 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'
50180 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
501a0 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/
501c0 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
501e0 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...
50200 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.
50220 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
50240 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
50260 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
50280 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
502a0 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-
502c0 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
502e0 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
50300 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
50320 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))......
50340 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
50360 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)).....
50380 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
503a0 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
503c0 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).".*")))).
503e0 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
50400 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).......
50420 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)
50440 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
50460 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
50480 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
504a0 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
504c0 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.
504e0 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
50500 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
50520 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).........
50540 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).......
50560 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)
50580 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
505a0 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
505c0 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
505e0 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))...........
50600 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......
50620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 64 65 ............................'(de
50640 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.................
50660 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-
50680 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............................
506a0 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
506c0 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))............................
506e0 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)......
50700 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
50720 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-\\)".....
50740 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
50760 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)))........
50780 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
507a0 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....
507c0 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
507e0 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.................
50800 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
50820 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)))).
50840 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
50860 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)
50880 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.
508a0 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)
508c0 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
508e0 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))))..
50900 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..;;
50920 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
50940 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
50960 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
50980 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.
509a0 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
509c0 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,.
509e0 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...
50a00 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
50a20 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
50a40 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.
50a60 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
50a80 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
50aa0 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
50ac0 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
50ae0 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,.
50b00 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
50b20 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
50b40 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
50b60 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.
50b80 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
50ba0 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
50bc0 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
50be0 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
50c00 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
50c20 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...
50c40 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
50c60 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
50c80 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
50ca0 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-
50cc0 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
50ce0 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
50d00 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
50d20 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
50d40 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...........
50d60 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
50d80 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
50da0 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)............
50dc0 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
50de0 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
50e00 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
50e20 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
50e40 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.
50e60 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
50e80 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.(
50ea0 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-
50ec0 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
50ee0 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
50f00 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
50f20 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.
50f40 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
50f60 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
50f80 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
50fa0 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
50fc0 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
50fe0 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'.
51000 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
51020 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-
51040 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
51060 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
51080 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
510a0 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
510c0 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
510e0 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
51100 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
51120 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
51140 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
51160 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
51180 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
511a0 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
511c0 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
511e0 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
51200 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
51220 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
51240 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
51260 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)...(
51280 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
512a0 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
512c0 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
512e0 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
51300 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
51320 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
51340 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..
51360 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
51380 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
513a0 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
513c0 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)).......
513e0 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....
51400 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
51420 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.................
51440 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)...
51460 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
51480 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)...............
514a0 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
514c0 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
514e0 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)).
51500 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.
51520 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.
51540 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
51560 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.
51580 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
515a0 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
515c0 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
515e0 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
51600 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."
51620 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
51640 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
51660 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......
51680 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
516a0 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......................
516c0 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-
516e0 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
51700 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
51720 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
51740 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)...
51760 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-
51780 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
517a0 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-
517c0 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
517e0 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
51800 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...
51820 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
51840 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
51860 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
51880 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.
518a0 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.
518c0 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
518e0 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
51900 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\"
51920 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
51940 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\
51960 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
51980 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
519a0 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-
519c0 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
519e0 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
51a00 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
51a20 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
51a40 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.
51a60 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-
51a80 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
51aa0 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.
51ac0 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)
51ae0 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.
51b00 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
51b20 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-
51b40 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.
51b60 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
51b80 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
51ba0 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-
51bc0 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.
51be0 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
51c00 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
51c20 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.
51c40 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
51c60 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
51c80 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
51ca0 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
51cc0 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.
51ce0 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
51d00 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
51d20 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
51d40 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
51d60 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
51d80 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
51da0 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.
51dc0 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
51de0 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
51e00 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
51e20 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)).......................
51e40 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
51e60 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-
51e80 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
51ea0 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-
51ec0 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.
51ee0 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
51f00 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
51f20 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).
51f40 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-
51f60 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
51f80 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.
51fa0 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
51fc0 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).
51fe0 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.....
52000 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........(
52020 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
52040 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..
52060 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
52080 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
520a0 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))).........
520c0 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
520e0 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..
52100 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...........
52120 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
52140 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
52160 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.:
52180 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
521a0 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
521c0 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.............
521e0 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.()............
52200 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
52220 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.
52240 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)).................
52260 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
52280 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.......................;;
522a0 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
522c0 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........................"
522e0 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<>\"\"")).......
52300 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
52320 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)))
52340 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.(/.
52360 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
52380 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."[
523a0 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
523c0 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)"..
523e0 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
52400 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....................
52420 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
52440 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")....................
52460 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..................
52480 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...............
524a0 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
524c0 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
524e0 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.
52500 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
52520 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.
52540 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
52560 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
52580 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
525a0 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
525c0 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))..........(
525e0 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
52600 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)))..
52620 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
52640 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.
52660 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
52680 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.
526a0 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
526c0 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
526e0 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
52700 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
52720 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
52740 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
52760 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.
52780 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.
527a0 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.
527c0 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
527e0 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
52800 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-
52820 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))
52840 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
52860 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
52880 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.......
528a0 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
528c0 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...........
528e0 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
52900 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
52920 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.....
52940 20 20 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
52960 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=".
52980 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
529a0 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"..............
529c0 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
529e0 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
52a00 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
52a20 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............................
52a40 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"............
52a60 20 20 20 20 20 20 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
52a80 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.....................
52aa0 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
52ac0 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...............
52ae0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
52b00 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
52b20 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).................
52b40 20 20 20 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 ..........................."")).
52b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
52b80 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".................
52ba0 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"
52bc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
52be0 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.
52c00 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
52c20 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........
52c40 20 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
52c60 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...........................
52c80 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"...........
52ca0 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
52cc0 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".........................
52ce0 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
52d00 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.
52d20 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.
52d40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
52d60 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...................
52d80 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"...
52da0 20 20 20 20 20 20 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 .............................."*
52dc0 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".....
52de0 20 20 20 20 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
52e00 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
52e20 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)).....................
52e40 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
52e60 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
52e80 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 ))..............................
52ea0 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."")).
52ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
52ee0 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)....
52f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
52f20 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.+
52f40 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)...........
52f60 20 20 20 20 20 20 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
52f80 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
52fa0 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"))))........
52fc0 20 20 20 20 20 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.
52fe0 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)
53000 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
53020 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...
53040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
53060 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
53080 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
530a0 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 "...............................
530c0 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
530e0 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
53100 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.
53120 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...................
53140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
53160 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)....
53180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
531a0 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"
531c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
531e0 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.
53200 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
53220 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=.").......................
53240 20 20 20 20 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"
53260 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
53280 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
532a0 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=")).............
532c0 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
532e0 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"...................
53300 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
53320 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.......................
53340 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
53360 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)..........................
53380 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
533a0 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.....................
533c0 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-
533e0 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)........................
53400 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
53420 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...................
53440 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
53460 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)......................
53480 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
534a0 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...............
534c0 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
534e0 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)..................
53500 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
53520 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........
53540 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
53560 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)...........
53580 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."
535a0 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..
535c0 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
535e0 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).....
53600 20 20 20 20 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
53620 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
53640 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
53660 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
53680 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)...........................
536a0 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
536c0 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......................
536e0 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
53700 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).........................
53720 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
53740 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.....................
53760 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
53780 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)........................
537a0 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
537c0 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........
537e0 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-
53800 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)...........
53820 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."
53840 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...
53860 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
53880 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)......
538a0 20 20 20 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
538c0 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
538e0 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|
53900 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
53920 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)...........
53940 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."
53960 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
53980 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
539a0 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
539c0 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).............
539e0 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
53a00 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.............
53a20 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
53a40 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)................
53a60 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-
53a80 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..........
53aa0 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
53ac0 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).............
53ae0 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
53b00 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.
53b20 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
53b40 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)....
53b60 20 20 20 20 20 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
53b80 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
53ba0 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..........................|%
53bc0 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
53be0 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 ))..............................
53c00 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
53c20 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
53c40 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
53c60 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
53c80 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.
53ca0 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
53cc0 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
53ce0 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-
53d00 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.
53d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53e00 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
53e20 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..............
53e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53e60 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
53e80 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...
53ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53f00 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...................
53f20 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...................
53f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54000 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
54020 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
54040 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
54060 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
54080 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
540a0 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>
540c0 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
540e0 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
54100 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
54120 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.;;
54140 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
54160 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:.;
54180 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
541a0 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
541c0 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
541e0 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/".;;...
54200 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
54220 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)))))))..;;;
54240 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
54260 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")..
54280 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
542a0 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.`
542c0 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
542e0 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
54300 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
54320 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
54340 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
54360 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
54380 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-
543a0 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
543c0 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
543e0 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
54400 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
54420 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
54440 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.......;;
54460 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.......
54480 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-
544a0 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-
544c0 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)
544e0 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
54500 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-
54520 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
54540 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
54560 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)..;;
54580 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
545a0 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........................
545c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
545e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54600 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
54620 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.....................
54640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54660 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
54680 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...
546a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
546c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
546e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54700 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...................
54720 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...................
54740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
547a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
547c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
547e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54800 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
54820 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.-*-.
54840 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
54860 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
54880 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
548a0 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:..
548c0 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.
548e0 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
54900 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.
54920 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
54940 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
54960 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
54980 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
549a0 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..
549c0 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
549e0 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
54a00 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.(
54a20 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
54a40 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
54a60 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
54a80 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
54aa0 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
54ac0 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-
54ae0 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
54b00 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
54b20 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
54b40 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
54b60 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.
54b80 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
54ba0 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
54bc0 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-
54be0 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
54c00 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
54c20 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
54c40 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
54c60 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
54c80 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
54ca0 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
54cc0 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
54ce0 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
54d00 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.
54d20 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
54d40 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"...
54d60 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"
54d80 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
54da0 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"....."
54dc0 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"
54de0 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
54e00 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
54e20 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
54e40 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
54e60 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
54e80 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
54ea0 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".....
54ec0 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
54ee0 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
54f00 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
54f20 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
54f40 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
54f60 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
54f80 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
54fa0 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
54fc0 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
54fe0 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-
55000 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
55020 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
55040 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.
55060 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
55080 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
550a0 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
550c0 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
550e0 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...
55100 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
55120 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
55140 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
55160 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
55180 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--
551a0 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))..
551c0 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).
551e0 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
55200 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
55220 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).
55240 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
55260 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))).
55280 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
552a0 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
552c0 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))............
552e0 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))...
55300 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
55320 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)...........
55340 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
55360 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))..............
55380 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-
553a0 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)..............
553c0 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
553e0 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)))).
55400 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
55420 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
55440 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
55460 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
55480 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
554a0 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-
554c0 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
554e0 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
55500 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
55520 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.
55540 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
55560 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
55580 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.
555a0 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=%
555c0 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)......
555e0 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).(
55600 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
55620 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.
55640 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
55660 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
55680 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'"
556a0 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
556c0 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)))
556e0 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
55700 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
55720 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
55740 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...
55760 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
55780 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-
557a0 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:
557c0 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
557e0 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.
55800 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.
55820 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.\"
55840 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
55860 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.
55880 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
558a0 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
558c0 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.\"\".
558e0 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
55900 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,.
55920 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.
55940 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.
55960 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
55980 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
559a0 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)....
559c0 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
559e0 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)))
55a00 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....
55a20 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)........
55a40 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
55a60 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
55a80 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)."\
55aa0 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."
55ac0 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
55ae0 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.
55b00 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
55b20 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
55b40 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
55b60 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.................
55b80 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]
55ba0 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
55bc0 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
55be0 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.............;
55c00 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
55c20 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
55c40 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
55c60 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
55c80 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
55ca0 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.............;
55cc0 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
55ce0 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............
55d00 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
55d20 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.............;
55d40 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
55d60 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
55d80 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
55da0 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,.
55dc0 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.(
55de0 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
55e00 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)..................
55e20 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
55e40 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
55e60 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.................
55e80 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.
55ea0 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
55ec0 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
55ee0 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
55f00 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'
55f20 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
55f40 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
55f60 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
55f80 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
55fa0 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
55fc0 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
55fe0 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.
56000 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
56020 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
56040 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
56060 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..
56080 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."\\`[
560a0 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:]_]
560c0 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.
560e0 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,.-
56100 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
56120 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:]_]+
56140 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][+-]?
56160 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)..........
56180 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
561a0 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
561c0 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
561e0 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.
56200 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
56220 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))............
56240 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."\\`[+-]?\
56260 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))........
56280 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
562a0 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
562c0 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
562e0 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
56300 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.......
56320 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.
56340 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
56360 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....
56380 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-
563a0 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))........
563c0 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
563e0 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 /.........;;.........;;.....|...
56400 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.:.>.........;;...
56420 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.........;
56440 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 ;.....|.......>>>...|.........;;
56460 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..........|.........;;.
56480 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........
564a0 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.
564c0 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
564e0 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
56500 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
56520 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
56540 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
56560 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"
56580 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.
565a0 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.........
565c0 20 20 20 20 20 20 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
565e0 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
56600 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
56620 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........
56640 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
56660 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........
56680 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
566a0 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)..........(
566c0 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
566e0 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))......
56700 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..
56720 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
56740 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))
56760 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."\""))
56780 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......................
567a0 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
567c0 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..
567e0 20 20 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
56800 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.
56820 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--
56840 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).
56860 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.
56880 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
568a0 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
568c0 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.
568e0 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.
56900 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\".
56920 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\\\",.\\
56940 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."["....
56960 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....
56980 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
569a0 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)...........................
569c0 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
569e0 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...............................
56a00 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.........................
56a20 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)...........
56a40 20 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-
56a60 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))........................
56a80 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)..........
56aa0 20 20 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
56ac0 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))..................
56ae0 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-
56b00 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)............................
56b20 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).......................
56b40 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...................
56b60 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
56b80 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
56ba0 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)))))...............
56bc0 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)............
56be0 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 ..........",.")..........."]")).
56c00 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
56c20 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.
56c40 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
56c60 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
56c80 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
56ca0 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
56cc0 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
56ce0 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").......
56d00 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
56d20 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
56d40 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
56d60 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."")..
56d80 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
56da0 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
56dc0 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)))......
56de0 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)))......
56e00 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
56e20 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).......
56e40 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
56e60 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.
56e80 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..............
56ea0 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.
56ec0 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.................
56ee0 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)))..
56f00 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
56f20 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.
56f40 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...
56f60 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:.......
56f80 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"....
56fa0 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:.........
56fc0 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".......
56fe0 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
57000 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.(
57020 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
57040 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
57060 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
57080 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 ."..............................
570a0 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
570c0 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."..........
570e0 20 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
57100 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".............
57120 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
57140 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
57160 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."...................
57180 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:.
571a0 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\""))).............;;.
571c0 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
571e0 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
57200 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
57220 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
57240 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)................
57260 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
57280 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...........
572a0 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
572c0 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...................
572e0 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-
57300 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
57320 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)).
57340 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
57360 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
57380 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.""))..............
573a0 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
573c0 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.......
573e0 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
57400 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)...............
57420 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
57440 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))))....................
57460 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
57480 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))).....
574a0 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
574c0 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.
574e0 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.
57500 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).............
57520 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
57540 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.`(
57560 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
57580 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)))................
575a0 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].
575c0 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)...............
575e0 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..............
57600 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
57620 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
57640 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%
57660 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"..........................
57680 20 20 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
576a0 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)..........
576c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
576e0 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
57700 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
57720 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
57740 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).........
57760 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
57780 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)))......
577a0 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
577c0 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)))..............
577e0 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:.
57800 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
57820 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).......................
57840 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
57860 29 0a 20 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.
57880 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......................
578a0 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
578c0 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
578e0 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............................;;.
57900 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:...............
57920 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].....
57940 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
57960 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......................
57980 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".#.
579a0 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..................
579c0 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:...
579e0 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
57a00 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
57a20 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..............
57a40 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
57a60 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.
57a80 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......................
57aa0 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
57ac0 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
57ae0 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............................(
57b00 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-
57b20 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)).......
57b40 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
57b60 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........................
57b80 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.
57ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
57bc0 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"...
57be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
57c00 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
57c20 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)))))))............
57c40 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
57c60 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))
57c80 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
57ca0 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.(
57cc0 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
57ce0 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'.
57d00 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
57d20 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.".........................
57d40 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.
57d60 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."
57d80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
57da0 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"...
57dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
57de0 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_
57e00 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\"
57e20 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\"."..........
57e40 20 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.\"#
57e60 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
57e80 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\"")))..
57ea0 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..........
57ec0 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)..
57ee0 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-
57f00 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
57f20 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."")................
57f40 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..........
57f60 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).....
57f80 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
57fa0 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
57fc0 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..............
57fe0 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
58000 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
58020 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.........................
58040 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
58060 29 0a 20 20 20 20 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 ).............................""
58080 0a 20 20 20 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
580a0 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)))......
580c0 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
580e0 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).....................;;
58100 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
58120 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)..............
58140 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
58160 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)))............
58180 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.
581a0 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))).....................
581c0 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]:.
581e0 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).......
58200 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=.
58220 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")...............
58240 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
58260 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.?.)).................
58280 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
582a0 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
582c0 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 ))..............................
582e0 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).;
58300 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
58320 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...........................
58340 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
58360 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)))...........
58380 20 20 20 20 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
583a0 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)).......
583c0 20 20 20 20 20 20 20 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
583e0 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).................
58400 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
58420 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
58440 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).........................
58460 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
58480 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
584a0 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).............................
584c0 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.(
584e0 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)..............
58500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58520 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
58540 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
58560 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)............................
58580 20 20 20 20 20 20 20 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
585a0 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
585c0 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))).......................
585e0 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..
58600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58620 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.....
58640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58660 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"
58680 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
586a0 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
586c0 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)))
586e0 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 ))..............................
58700 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
58720 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)..........
58740 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 ....................)...........
58760 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............
58780 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=
587a0 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").................
587c0 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
587e0 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))........................
58800 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"
58820 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
58840 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."-.")...........
58860 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
58880 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.".."))........................
588a0 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-
588c0 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))..
588e0 20 20 20 20 20 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
58900 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.................
58920 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
58940 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........................
58960 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%
58980 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".......................
589a0 20 20 20 20 20 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
589c0 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))))))
589e0 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-
58a00 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.....................
58a20 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
58a40 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'"))...........
58a60 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
58a80 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
58aa0 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)))))).....
58ac0 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
58ae0 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
58b00 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..............;;
58b20 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
58b40 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
58b60 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...
58b80 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.
58ba0 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
58bc0 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
58be0 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
58c00 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)..........................
58c20 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)))..
58c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58c60 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
58c80 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)...........
58ca0 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)....
58cc0 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
58ce0 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
58d00 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."")).............
58d20 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
58d40 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)......
58d60 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
58d80 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)....
58da0 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
58dc0 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
58de0 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))...............(
58e00 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
58e20 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
58e40 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)...................
58e60 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
58e80 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
58ea0 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"
58ec0 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."
58ee0 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
58f00 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
58f20 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))......
58f40 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
58f60 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.............................
58f80 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)...
58fa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
58fc0 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))....
58fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59000 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.............................
59020 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)))..........
59040 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
59060 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))..................
59080 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.......
590a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
590c0 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..............
590e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
59100 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))............
59120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 ............................(if.
59140 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.
59160 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")..................
59180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
591a0 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
591c0 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")............................
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 28 73 74 72 69 6e 67 .........................(string
59200 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")))
59220 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59240 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-
59260 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.....................
59280 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
592a0 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..............................
592c0 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
592e0 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
59300 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...........................
59320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 73 74 65 64 ..........................nested
59340 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))........................
59360 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
59380 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
593a0 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)))....................
593c0 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
593e0 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).........................
59400 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").........
59420 20 20 20 20 20 20 20 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 ..............................((
59440 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)..........
59460 20 20 20 20 20 20 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
59480 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")...........................
594a0 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..................
594c0 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-
594e0 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)
59500 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
59520 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
59540 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...
59560 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
59580 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........
595a0 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
595c0 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)..........
595e0 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.....
59600 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
59620 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.........................
59640 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.....
59660 20 20 20 20 20 20 20 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
59680 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".............
596a0 20 20 20 20 20 20 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
596c0 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
596e0 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
59700 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).
59720 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
59740 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
59760 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.................
59780 20 20 20 20 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
597a0 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
597c0 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.
597e0 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-
59800 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..........................
59820 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"............
59840 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......
59860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 .............................sig
59880 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...............................
598a0 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,.
598c0 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,..............
598e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 3b 20 63 ............................;;.c
59900 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
59920 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..............................
59940 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)......
59960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59980 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
599a0 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)).................
599c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 0a 20 20 20 20 20 ........................(t......
599e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
59a00 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
59a20 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
59a40 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
59a60 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)))..
59a80 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)..
59aa0 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
59ac0 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.............................
59ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59c00 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
59c20 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............................
59c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59c60 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
59c80 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...
59ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59d00 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...................
59d20 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...................
59d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59e00 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
59e20 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
59e40 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
59e60 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")
59e80 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
59ea0 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.
59ec0 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
59ee0 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
59f00 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
59f20 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"...
59f40 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
59f60 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
59f80 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
59fa0 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")
59fc0 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
59fe0 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
5a000 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:........
5a020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a0a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a0c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a0e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
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 ................................