org-mode

Emacs: Org-mode spreadsheet: targeting via hline

别来无恙 提交于 2019-12-07 16:47:18
问题 I'm trying to log my hours in org mode: ** Bob Johnson, Bob's SEO | subject | time | minutes | total hours | |-----------------------------------------------+---------------------------+---------+-------------| | optimization report | 2011/07/11 8-10:00 PM PST | 120 | 2 | | phonecall to dicuss report and plan of action | 2011/07/13 5:41 PM | 43 | 0.71666667 | |-----------------------------------------------+---------------------------+---------+-------------| | | | 249 | 4.15 | #+TBLFM: $4=@0

How can I use csquotes with LaTeX export in Org-mode?

落花浮王杯 提交于 2019-12-07 14:29:54
问题 When using csquotes quotation marks are added by csquotes according to context. This is done by marking up quotation with the \enquote macro, i.e. as \enquote{text} . When exporting to LaTeX from Org-mode quotation marks are marked up as `` and '' , e.g. as ``text'' . Can Org-mode export to LaTeX with quotations marked up by \enquote ? I found http://comments.gmane.org/gmane.emacs.orgmode/43689 where such a feature is being planned but I do not understand whether it was implemented. On a

Code blocks inside tables for org-mode

喜欢而已 提交于 2019-12-07 05:46:40
问题 I love org-tables, I use them to document all sorts of things. I was now documenting some one-liners for Nix (after reading this excellent guide by Domen Kožar, given at this year's EuroPython), and I got into some problems: * NIX Oneliners |------------------+---------------------------------------------+------------------------------| | DATE | COMMAND | DESCRIPTION | |------------------+---------------------------------------------+------------------------------| | <2014-07-24 Thu> | curl

Orgmode: how to filter the blocks to be tangle?

て烟熏妆下的殇ゞ 提交于 2019-12-07 04:37:37
问题 In Orgmode, is there a way to tangle just the blocks in subtree matching (or not matching) a specific tag ? For instance with the following code * A #+BEGIN_SRC c printf("Not exported"); #+END_SRC * B :D: #+BEGIN_SRC c printf("Exported"); #+END_SRC exporting along tag D , the tangle C file will only contains printf("Exported"); I'm using org-mode to organise my emacs config, and my goal is to derive different configs from the master one emacs-config.org . (for instance a lightconfig by

Microsoft Word to Org-mode

喜夏-厌秋 提交于 2019-12-07 03:35:46
问题 I am trying to put the Microsoft Word document in emacs using org-mode. I have copied the Word Document and pasted in emacs. I like to achieve the headings like 7.1.2.4 in org-mode format. and then link the TOC to appropriate headings. How I can do that? Any suggestions? Any programming language like Perl has done it? Thanks. 回答1: There is ODT2ORG (https://bitbucket.org/josemaria.alkala/odt2org/wiki/Home) which lets you import odt files in org-mode. Use Openoffice/Libreoffice to produce an

Orgmode: Show number of children under heading

China☆狼群 提交于 2019-12-07 03:30:51
问题 I have a heading in my orgmode file. It is automatically updated periodically with new children. I want the heading line to show the number of children. So if I have one child it would say something like (1) * Heading (1) ** Subheading After it gets updated with another subheading the number should automatically be changed to (2) * Heading (2) ** Subheading ** A new added subheading I want it to do this because the toplevel heading will normally be collapsed. I want to be able to see if any

FlySpell in Org-Mode recognize latex syntax like auctex

∥☆過路亽.° 提交于 2019-12-07 02:15:25
问题 Original Response: I was trying to figure out how in auctex mode latex doesn't seem to highlight any latex functions with flyspell turned on. Is this a custom dictionary file or how is this implemented? Can this be easily incorporated into an org-mode file so it doesn't highlight inserted latex code that will get exported. Edit: Simple example taken from top of file and in the text. Basically so latex syntax like ref or label inside {} won't be spell checked (this has been fixed by using

How can I use other heading styles like twiki ---+ or mediawiki == h2 == in org-mode?

流过昼夜 提交于 2019-12-07 02:15:06
问题 I really want to use org-mode. But, I want to use org-mode to understand structured documents that have already been written using different heading syntax, e.g. using twiki's ---+ ---+ H1 Top level ---++ H2 Nested ---+ H1 #2 Second top level Or mediawiki like = H1 = Top level == H2 == Nested = H1 #2 = Second top level I'd like to have all of the goodness of org-mode folding, etc., just using these different heading styles. Actually, worse that that: I would like, say, the twiki or mediawaiki

Emacs org-mode agenda filter by owner

只愿长相守 提交于 2019-12-06 23:12:54
问题 Is it possible to filter agenda in emacs based on Owner property? Currently I use tags to set owner of TODO items. This way I can filter agenda by tags like this: (setq org-agenda-custom-commands `(("o" "tasks for oleg" ((org-agenda-list) (org-agenda-filter-apply ,(list "+oleg"))) ((org-agenda-remove-tags t))) ("k" "tasks for karl" ((org-agenda-list) (org-agenda-filter-apply ,(list "+karl"))) ((org-agenda-remove-tags t))) )) It's not convenient to use tags to mark the owner but I see no other

Capture output from a shell command with babel in org-mode

∥☆過路亽.° 提交于 2019-12-06 20:53:37
问题 I want to know about my networking hardware. lspci | grep -i net From the terminal, this command gives the following output: 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06) 02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35) But when I try running this from org-mode through a babel source block I get no output. #+BEGIN_SRC sh lspci | grep -i net #+END_SRC #+RESULTS: What gives? How can I get the same output I got from the