org-mode

`variable-pitch` for org-mode, fixed-pitch for tables?

人走茶凉 提交于 2019-12-17 23:44:27
问题 I found out about variable-pitch-mode through a thread here on StackOverflow, and it's very handy when writing in org-mode , easier on the eyes and everything. But using tables in org is close to worthless when using proportional fonts. And being able to use tables is one of the strengths with org-mode :-( Is there any way to have proportional fonts for text, headings etc. but a monospace font for tables in org-mode ? 回答1: See if this works, (set-face-attribute 'org-table nil :inherit 'fixed

show org-mode outline up to a certain heading level

廉价感情. 提交于 2019-12-17 18:37:06
问题 I'm making an outline for my thesis using org-mode, and I'd like to show all headings up to a certain level (e.g. all level-1 and level-2 headings). I haven't found anything about that in the org-mode manual. Cycling shows either only level-1 headings, or all headings, which is too much information in my outline right now. Thanks, daniel. Update: I found a workaround for his: set the variable org-cycle-max-level. This is a global setting, though. 回答1: Just stumbled on this question. One year

show org-mode outline up to a certain heading level

痞子三分冷 提交于 2019-12-17 18:36:14
问题 I'm making an outline for my thesis using org-mode, and I'd like to show all headings up to a certain level (e.g. all level-1 and level-2 headings). I haven't found anything about that in the org-mode manual. Cycling shows either only level-1 headings, or all headings, which is too much information in my outline right now. Thanks, daniel. Update: I found a workaround for his: set the variable org-cycle-max-level. This is a global setting, though. 回答1: Just stumbled on this question. One year

Elisp, alist and strings; type confusion

随声附和 提交于 2019-12-12 13:23:23
问题 I'm trying to publish an org-project as html, and automate the task with the following org project definition: (defconst home (file-name-directory (or load-file-name buffer-file-name))) (require 'org-publish) (setq org-publish-project-alist '( ;; add all the components here ;; *notes* - publishes org files to html ("org-notes" :base-directory (concat home "org/") :base-extension "org" ; Filename suffix without dot :publishing-directory (concat home "../public_html/") :recursive t ; includes

how to get smart quotes on org-mode export?

牧云@^-^@ 提交于 2019-12-12 08:37:24
问题 How do I get Emacs org-mode to create proper typographic marks when I export to HTML, including converting straight quotes to smart quotes ("curly quotes") and converting hyphens --- to m-dashes — ? 回答1: #+LANGUAGE: de #+OPTIONS: ':t also does the right thing now 回答2: This is only available in very recent versions of org-mode. If you are not already running the latest git version see http://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development for instructions on upgrading.

Cannot add title to org-mode document

夙愿已清 提交于 2019-12-12 04:48:23
问题 I tried to add a title to my document as below : But when I export the document to html ( C-c C-e h o ), i get the error stated at the bottom of the image. What can I do ? Emacs version (Windows) : GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-17 Org-mode version : Org mode version 9.0.5 来源: https://stackoverflow.com/questions/43730192/cannot-add-title-to-org-mode-document

Make emacs org-mode deadlines and scheduled blocked tasks visible in agenda view

放肆的年华 提交于 2019-12-11 17:13:39
问题 Here are the relevant parts of my .emacs (setq org-enforce-todo-dependencies t) (setq org-enforce-todo-checkbox-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) When I visit my agenda view I want to see tasks which are scheduled or have a deadline (even if they are blocked by another task and are therefor stricly speaking rightly invisible). Currently those tasks are not visible whilst they are being blocked by other tasks. I would however prefer that an exception be made for

Org-mode: timestamp + effort -> time range

徘徊边缘 提交于 2019-12-11 14:55:09
问题 I liked the question and answer at emacs - org-mode: creation time range from effort estimate - Stack Overflow. It is regarding taking a scheduled item and effort estimate and producing a time range. I wanted a slightly different result, but I can't see how to modify it (I imagine modifying to org-deadline would be easy). Instead of a Scheduled item, I wanted to act on simply a Timestamp. In other words, (cutting, pasting and removing Scheduled: from the linked question), * TODO Sample todo

How to open http://XYZ from my *own* tag in org-mode?

巧了我就是萌 提交于 2019-12-11 12:53:16
问题 When I have ([abc] or [[abc]] or *abc ... ) in org-mode text, how can I link that to a command http://prosseek/wiki.php/abc?action=edit ? I want to edit my own wiki page from simple org-mode link. The simple way would be manually input [[http://prosseek/wiki.php/abc?action=edit][abc]] , but I want to generate the first http part automatically. 回答1: This is the code snippet you're looking for: (setq org-link-abbrev-alist '( ("mine" . "http://prosseek/wiki.php/%s?action=edit") )) This will let

How do I tag a table in org-mode?

微笑、不失礼 提交于 2019-12-11 12:06:17
问题 I've got a huge table for R which should not be exported. So I added a #TAGS: noexport above the table, but that doesn't seem to have any effect. So how do I tag a table? 回答1: You cannot add tags to a table, only to a header. Also, the #+TAGS directive is used to declare a group of tags specific to the whole document, not for tagging a table. If you surround the table within a comment block, it will not be exported. For example: #+begin_comment #+tblname: very_long_table | col1 | col2 | |----