Skip to content

Commit

Permalink
Enable table splits with "t" option
Browse files Browse the repository at this point in the history
This is more consistent with other Org mode options. ConTeXt wants
the "yes" keyword, so just alias "t" to "yes" internally.
  • Loading branch information
Jason-S-Ross committed Aug 15, 2021
1 parent e3e8f76 commit b934a4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ox-context.el
Original file line number Diff line number Diff line change
Expand Up @@ -3702,7 +3702,11 @@ This function assumes TABLE has `org' as its `:type' property and
(org-export-data (plist-get info :context-table-style) info)))
(float-style (or (plist-get attr :float-style)
(org-export-data (plist-get info :context-table-float-style) info)))
(split (or (plist-get attr :split)
(split (or (let ((split (plist-get attr :split)))
(and (org-string-nw-p split)
(if (string= split "t")
"yes"
split)))
(org-export-data (plist-get info :context-table-split) info)))
(location-string (concat (when (string= split "yes") "split,") location))
(float-args (org-context--format-arguments
Expand Down

0 comments on commit b934a4c

Please sign in to comment.