【发布时间】:2011-08-25 01:58:23
【问题描述】:
我正在使用 org-mode 跟踪项目,这对我来说效果很好。我已经安排好了所有的工作块,估计了任务并跟踪了时间。
我导出它〜每周一次以供其他人查看,但我无法在导出的文件中显示努力和 CLOCKSUM。
我该怎么做?
【问题讨论】:
我正在使用 org-mode 跟踪项目,这对我来说效果很好。我已经安排好了所有的工作块,估计了任务并跟踪了时间。
我导出它〜每周一次以供其他人查看,但我无法在导出的文件中显示努力和 CLOCKSUM。
我该怎么做?
【问题讨论】:
您可以:
将org-export-with-drawers 设置为t。这将导出标题下方的抽屉属性。它作为示例块导出,因此如果您希望它有自己的 CSS 选择类,您必须定义自己的 org-export-format-drawer 函数。我使用以下配置:
(setq org-export-with-drawers t)
(defun jbd-org-export-format-drawer (name content)
"Export drawers to drawer HTML class."
(setq content (org-remove-indentation content))
(format "@<div class=\"drawer\">%s@</div>\n" content))
(setq org-export-format-drawer-function 'jbd-org-export-format-drawer)
或
C-c C-x i 来use dynamic blocks to capture the column view。这将插入一个表格,该表格显示可以通过在 #+BEGIN: 行上键入 C-c C-c 来更新的列视图。我实际上在当前项目中使用了这两种方法。
【讨论】:
: Emacs version: GNU Emacs 26.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) : of 2019-04-12 : org version: 9.2.3