Re: [O] How to tell Org mode radio table translator not to wrap, Greeks in dollars ($$)

2015-04-03 Thread William Henney
Hi Omid It looks like orgtbl-to-latex is calling org-export-string-as on each table cell, which is presumably what is wrapping each \mu inside $$. This seems wrong-headed to me, but I can't say I really understand what the code is trying to achieve. A workaround would be to directly use orgtbl-

[O] [question] How to filter a head based head name?

2015-04-03 Thread tumashu
The below is an example, I want to ignore *head1* and *its content* when export to html, but for some reason I can't add tags to head, How to solve this problem? If I want to rename *head2* to *new-head2*, how to do? #+BEGIN_ORG * head1 content1 * head2 content2 * head3 content3 #+END

[O] How to tell Org mode radio table translator not to wrap, Greeks in dollars ($$)

2015-04-03 Thread Omid
Hello, I'm trying to use an Org mode Radio Table in LaTeX according to: http://orgmode.org/manual/Radio-tables.html http://orgmode.org/manual/A-LaTeX-example.html#A-LaTeX-example My Org mode table is representing a matrix containing Greek letters denoted by LaTeX commands (e.g., \mu). The "radio

Re: [O] Bug: fix for latex export of doi links [8.2.10 (8.2.10-35-g19a7d6-elpaplus @ .../elpa/org-plus-contrib-20150330/)]

2015-04-03 Thread Nicolas Goaziou
Derek Feichtinger writes: > Patch for the latex export of doi links is attached to this mail. Applied. Thank you. Regards,

Re: [O] getting an hline in a python generated table

2015-04-03 Thread John Kitchin
wow, that is some wizardry there! I did not know you could do a return value that way! or get an hline from None! thanks! William Henney writes: > A simpler solution is to just use None, which gets automatically converted > to an hline by org-babel: > > #+BEGIN_SRC python :return mytable > NROW

Re: [O] getting an hline in a python generated table

2015-04-03 Thread William Henney
A simpler solution is to just use None, which gets automatically converted to an hline by org-babel: #+BEGIN_SRC python :return mytable NROWS, NCOLS = 6, 4 mytable = [] mytable.append(['A', 'B', 'C', 'D']) # Table header mytable.append(None) # hline for irow in range(NR

Re: [O] Bug: fix for latex export of doi links [8.2.10 (8.2.10-35-g19a7d6-elpaplus @ .../elpa/org-plus-contrib-20150330/)]

2015-04-03 Thread Derek Feichtinger
Patch for the latex export of doi links is attached to this mail. Cheers, Derek On Fri, Apr 3, 2015 at 9:19 PM, Nicolas Goaziou wrote: > Hello, > > Derek Feichtinger writes: > > > The current org latex export will export a link doi:10.xyz/abcd without > > the protocol prefix as 10.xyz/abcd. Co

Re: [O] getting an hline in a python generated table

2015-04-03 Thread John Kitchin
cool, thanks for the tip. I was not awware of that library. Ken Mankoff writes: > Sorry about that. I switched out of Org mode in my email client so C-c C-c > sent the email instead of executing the code block. I was mid-sentence... > > #+BEGIN_SRC python :results table :exports results :session

Re: [O] Bug: fix for latex export of doi links [8.2.10 (8.2.10-35-g19a7d6-elpaplus @ .../elpa/org-plus-contrib-20150330/)]

2015-04-03 Thread Derek Feichtinger
Hi, Nicolas thanks for responding so fast. Sure, I'll try and submit the patch. Thanks for all your great work! Happy Easter, Derek On Fri, Apr 3, 2015 at 9:19 PM, Nicolas Goaziou wrote: > Hello, > > Derek Feichtinger writes: > > > The current org latex export will export a link doi:10.xyz/ab

Re: [O] [bug] Effort and column view

2015-04-03 Thread Nicolas Goaziou
Myles English writes: > I may have a look (in the next few months) to see if I can make it work > the way I would like. OK. Thank you. Regards,

Re: [O] Bug: fix for latex export of doi links [8.2.10 (8.2.10-35-g19a7d6-elpaplus @ .../elpa/org-plus-contrib-20150330/)]

2015-04-03 Thread Nicolas Goaziou
Hello, Derek Feichtinger writes: > The current org latex export will export a link doi:10.xyz/abcd without > the protocol prefix as 10.xyz/abcd. Correctly, it should retain the > prefix. > > An easy fix is adding "doi" to the list of protocols that retain > the link type string in ox-latex.el, b

Re: [O] Standard agenda views don't show file name after update (replaced by "???:")

2015-04-03 Thread Nicolas Goaziou
Detlef Steuer writes: > Am Fri, 03 Apr 2015 17:59:16 +0200 > schrieb Nicolas Goaziou : > >> This is to be expected. You can set :CATEGORY: node property in >> subtrees if needed. > > So this beheaviour changed at some point in the past? This behaviour was long deprecated. Starting from Org 5.14

Re: [O] Emacs-Orgmode Archive search fails

2015-04-03 Thread Charles Millar
On 04/03/2015 10:11 AM, Nick Dokos wrote: Charles Millar writes: It has been a while since I searched the mailing list archives. Did I miss an announcement or is the search engine broken? For the past few days, any search request in the mailing list archives either yields no result or just

Re: [O] getting an hline in a python generated table

2015-04-03 Thread Ken Mankoff
Sorry about that. I switched out of Org mode in my email client so C-c C-c sent the email instead of executing the code block. I was mid-sentence... #+BEGIN_SRC python :results table :exports results from tabulate import tabulate import pandas as pd df = pd.DataFrame(np.random.rand(2,2), i

Re: [O] getting an hline in a python generated table

2015-04-03 Thread Ken Mankoff
I've been using the following to generate hline in Org Python blocks: #+BEGIN_SRC python :results table :exports results from tabulate import tabulate import pandas as pd df = pd.DataFrame(np.random.rand(2,2), index=['foo','bar']) tab = tabulate(df, ['col1','col2'], tablefmt='orgtbl') r

Re: [O] Define Keyboard Shortcut for "Open in Emacs"

2015-04-03 Thread Nicolas Goaziou
Hello, dbo...@mmm.com (J. David Boyd) writes: > It's too bad there's not some way to find out all the different things C-u > does to commands when used... C-h k C-c C-o Regards, -- Nicolas Goaziou

Re: [O] Define Keyboard Shortcut for "Open in Emacs"

2015-04-03 Thread Jorge A. Alfaro-Murillo
Rainer M Krug writes: I would like to open pdfs in emacs (using pdf-viewer) but there is only a shortcut (C-c C-o) to open a pdf externally, and no shortcut for the menu item below "Open in Emacs" in the context menu. How can I define a shortcut for this command (or re-use C-c C-o)? If yo

Re: [O] Define Keyboard Shortcut for "Open in Emacs"

2015-04-03 Thread J. David Boyd
John Kitchin writes: > I find C-u RET on a link will open a pdf in emacs. or C-u C-c C-o > > Rainer M Krug writes: > >> Hi >> >> I would like to open pdfs in emacs (using pdf-viewer) but there is only >> a shortcut (C-c C-o) to open a pdf externally, and no shortcut for the >> menu item below "Op

[O] multiple agendas with different headers in agenda view

2015-04-03 Thread Alan Schmitt
Hello, I'm trying to build an agenda that have two lists of scheduled items, one when a tag is absent, the other when the tag is present. Here is what I tried: #+begin_src emacs-lisp (setq org-agenda-custom-commands (quote ( ("w" "Work" ((agenda

Re: [O] Standard agenda views don't show file name after update (replaced by "???:")

2015-04-03 Thread Detlef Steuer
Am Fri, 03 Apr 2015 17:59:16 +0200 schrieb Nicolas Goaziou : > This is to be expected. You can set :CATEGORY: node property in > subtrees if needed. So this beheaviour changed at some point in the past? To be sure: I have a file (modulo scheduling information) * Line1 #+CATEGORY: one ** TODO v

[O] Bug: fix for latex export of doi links [8.2.10 (8.2.10-35-g19a7d6-elpaplus @ .../elpa/org-plus-contrib-20150330/)]

2015-04-03 Thread Derek Feichtinger
Hi The current org latex export will export a link doi:10.xyz/abcd without the protocol prefix as 10.xyz/abcd. Correctly, it should retain the prefix. An easy fix is adding "doi" to the list of protocols that retain the link type string in ox-latex.el, below. ### ox-latex.el

Re: [O] Standard agenda views don't show file name after update (replaced by "???:")

2015-04-03 Thread Nicolas Goaziou
Hello, Detlef Steuer writes: > May be related: > > My standard agenda view pulls in the last #+CATEGORY: line of a file only. > > In my case *all* my TODOs are labelled "Urlaub" ("holidays") now. > Reads nicely but sadly not quite true :-) This is to be expected. You can set :CATEGORY: node pro

Re: [O] Emacs-Orgmode Archive search fails

2015-04-03 Thread Nick Dokos
Charles Millar writes: > It has been a while since I searched the mailing list archives. Did I > miss an announcement or is the search engine broken? > > For the past few days, any search request in the mailing list archives > either yields no result or just one and the same result - "Citations,

Re: [O] Clock history as autocomplete?

2015-04-03 Thread Marcin Borkowski
On 2015-04-03, at 12:36, Mike McLean wrote: > I get the general effect using Emacs Helm with some additional commands as > part of the helm definitions. My original idea was from Sacha Chua ( > http://sachachua.com/blog/2015/03/getting-helm-org-refile-clock-create-tasks/ > [...] Thanks a lot!

Re: [O] Define Keyboard Shortcut for "Open in Emacs"

2015-04-03 Thread John Kitchin
I find C-u RET on a link will open a pdf in emacs. or C-u C-c C-o Rainer M Krug writes: > Hi > > I would like to open pdfs in emacs (using pdf-viewer) but there is only > a shortcut (C-c C-o) to open a pdf externally, and no shortcut for the > menu item below "Open in Emacs" in the context menu.

[O] Define Keyboard Shortcut for "Open in Emacs"

2015-04-03 Thread Rainer M Krug
Hi I would like to open pdfs in emacs (using pdf-viewer) but there is only a shortcut (C-c C-o) to open a pdf externally, and no shortcut for the menu item below "Open in Emacs" in the context menu. How can I define a shortcut for this command (or re-use C-c C-o)? Thanks Rainer -- Rainer M. K

Re: [O] Best practices for dual HTML/LaTeX export for scientific papers

2015-04-03 Thread Ken Mankoff
On Thu, Apr 2, 2015 at 10:30 AM, David Dynerman wrote: > Hi all, > > I’m currently trying to use org mode to write a scientific paper. Here is > my wishlist: > > 4) LaTeX and HTML export > > Have you considered just LaTeX export, and then using pdf2htmlEx https://coolwanglu.github.io/pdf2htmlEX/

Re: [O] Clock history as autocomplete?

2015-04-03 Thread Mike McLean
I get the general effect using Emacs Helm with some additional commands as part of the helm definitions. My original idea was from Sacha Chua ( http://sachachua.com/blog/2015/03/getting-helm-org-refile-clock-create-tasks/ ) but I didn't implement her stuff as written (in part I didn't conceptually

Re: [O] Best practices for dual HTML/LaTeX export for scientific papers

2015-04-03 Thread Sebastien Vauban
"Charles C. Berry" wrote: > On Thu, 2 Apr 2015, Rasmus wrote: >> David Dynerman writes: >> >>> 2) Figures containing multiple side-by-side figures with subcaptions >>>(e.g. in LaTeX I would use minipage + subcaption) >> >> For LaTeX you can find solution on this list. I would not know how >>

Re: [O] Standard agenda views don't show file name after update (replaced by "???:")

2015-04-03 Thread Detlef Steuer
May be related: My standard agenda view pulls in the last #+CATEGORY: line of a file only. In my case *all* my TODOs are labelled "Urlaub" ("holidays") now. Reads nicely but sadly not quite true :-) "Urlaub" happens to be the last CATEGORY defined in my todo.org. Still happens after this fix.

[O] Clock history as autocomplete?

2015-04-03 Thread Marcin Borkowski
Hi there, I use C-u C-c C-x C-i (selecting clocking task from the history) /all the time/. However, I would very much prefer entering the clocking task with autocompletion, from a longer history, or even all headings that already have a clock (I have (setq org-clock-history-length 20) in my init.