【问题标题】:Export effort and clocksum from org-mode?从 org-mode 导出工作量和时钟和?
【发布时间】:2011-08-25 01:58:23
【问题描述】:

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

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

我该怎么做?

【问题讨论】:

    标签: emacs org-mode


    【解决方案1】:

    您可以:

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

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

    【讨论】:

    • 请注意,它不适用于属性:“此变量不适用于属性抽屉。请参阅‘org-export-with-properties’。”
    • 今天不适合我 :( : 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
    猜你喜欢
    • 2014-03-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-26
    • 1970-01-01
    • 2012-02-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多