从组织模式出口努力和时钟?

时间:2011-08-24 11:41:21

标签: emacs org-mode

我正在使用org-mode跟踪项目,这对我来说效果很好。我安排了所有工作块,估算了任务并跟踪了时间。

我导出它〜每周一次供其他人查看,但我无法在导出的文件中显示努力和CLOCKSUM。

我该怎么做?

1 个答案:

答案 0 :(得分:9)

你可以:

  • 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)
    

OR

我实际上正在为当前项目使用这两种方法。

相关问题