Commit bbbe6ab8 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

org: better display for CSV tables

* doc/org/.dir-locals.el.in,
doc/org/init.el.in (org-html-table-header-tags): Define.
* doc/org/spot.css: Style the tables.
parent 7dfeda8e
......@@ -40,6 +40,8 @@
(shell-file-name . "@SHELL@")
(ess-ask-for-ess-directory . nil)
(org-export-html-postamble . nil)
(org-html-table-header-tags .
'("<th scope=\"%s\"%s><div><span>" . "</span></div></th>"))
(org-babel-default-header-args:plantuml
. ((:results . "file")
(:exports . "results")
......
......@@ -107,6 +107,8 @@
</div>")
(setq org-export-html-postamble nil)
(setq org-html-table-header-tags
'("<th scope=\"%s\"%s><div><span>" . "</span></div></th>"))
(defun spot-publish-sitemap (title list)
"Same as org-publish-sitemap-default except it adds the SETUPFILE."
......
......@@ -26,6 +26,10 @@ pre.src-C\+\+:before{content:'C++'}
pre.src-hoa:before{content:'HOA';border-color:#d70079}
img{max-width:100%}
svg.org-svg{width:auto;max-width:100%}
table.csv-table {font-family:monospace, courier}
table.csv-table th {vertical-align:bottom}
table.csv-table th div {text-align:center}
table.csv-table th div span{text-align:left;writing-mode:vertical-lr;transform:rotate(180deg);display:inline-block;white-space:nowrap}
@media screen{
#table-of-contents{position:fixed;right:0em;top:0em;max-width:50%;max-height:80%;overflow:auto;z-index:10}
#table-of-contents #text-table-of-contents{display:none}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment