Rainer M Krug | 26 May 10:07 2016

B_column does not insert :BEAMER_COL:


When I set the B_column environment, the property :BEAMER_env: is as
expected, automatically set to =column=, but exporting to beamer results
in an error as the environment is is not actually used in the resulting
latex file. The environment is only correctly created, if the
property :BEAMER_COL: is added.

This is counter-intuitive and not obvious. Would it be possible to
add :BEAMER_COL: automatically as well?




Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

(Continue reading)

Eric S Fraga | 26 May 09:49 2016

Re: Inquiry about ical2org

On Wednesday, 25 May 2016 at 20:33, John Hendy wrote:
> I found ical2org, and implemented it successfully via the "Share

Which ical2org is this?  If it's the awk script I wrote originally, the
repeat handling was written with the assumption that there would be no
end date for the repeat as org cannot handled end dates for repeated

I can try to fix this in the awk script by simply ignoring end dates in
such cases.  Let me know.


: Eric S Fraga (0xFFFCF67D), Emacs, Org release_8.3.4-775-g3308a5

John Hendy | 25 May 23:42 2016

Restrict org-agenda to weekdays only?

I was a little surprised not to see org-mode have an option for
viewing only weekdays. Is there relatively elisp-light mechanism for
this, or some other built in method I'm not seeing to, say, calculate
the days to this past Monday and through this Fri and only show those?

Ideally I'd start from whatever workday is today and go through the
next 5-10 workdays, or at least this the view I'd like to try.


Matt Lundin | 25 May 23:28 2016

[Bug] org-protocol does not kill client process with org-protocol-capture

I would like to report two bugs in org-protocol.

1. The call to (server-edit) on line 626 of org-protocol.el does not
succeed in terminating the server process or signaling to the client to
stop waiting for org-protocol-capture (despite the :kill-server
property). This can have potentially dangerous side-effects when calling
org-protocol from a web browser. On Linux, for instance, if I call
org-protocol-capture via a bookmark from Chromium or Firefox and then
abort the capture within emacs (with "q" in the capture buffer or with
"C-g"), xdg receives an error signal and then tries to send the command
to another application. In my case, because of the default xdg settings,
this leads to a search being run in firefox that contains the entire
org-protocol string (thus raising the possibility of leaking private
information to a third-party server).

A long time ago (in 2009) server-delete-client was replaced by
server-edit (commit 13fe6b1858033eca882c38dd8bc422c0c4c6bb9b):

--8<---------------cut here---------------start------------->8---
-                  (if (plist-get (cdr prolist) :kill-client)
-                      (server-delete-client client t))
+                  (when (plist-get (cdr prolist) :kill-client)
+		    (message "Greedy org-protocol handler. Killing client.")
+		    (server-edit))
--8<---------------cut here---------------end--------------->8---

Does anyone remember the reason for change? I tried server-delete-client
and it succeeds in killing the process and signaling to client to stop
waiting. By contrast, server-edit does not successfully kill the
(Continue reading)

Stig Brautaset | 25 May 17:29 2016

populating macros by parsing file name?


Currently I have these three lines at the start of my invoices:

#+macro: invoice-no 11
#+date: 2016-06-01
#+title: Invoice #{{{invoice-no}}}

However, sometimes I forget to update the invoice number or date when copying
the old invoice. Since I name my invoices in the format =NN_YYYY-mm-dd.org=
I'm wondering if there's any way I can automatically populate the =invoice-no=
and date macros by parsing the file name? I found the {{{input-file}}}
macro, but I haven't been able to do anything useful with it.

Any help appreciated!


John Hendy | 25 May 22:33 2016

Inquiry about ical2org


I was looking to get my Outlook calendar into Orgmode to better
schedule my work (this way I can see my official meetings in Org
already where I do task management).

I found ical2org, and implemented it successfully via the "Share
calendar" .ics link that Outlook can generate. I have a question on
repeated meetings. The default appears to be this format:

<2016-05-19 Thu 08:00-09:00 +2w>--<2016-11-17 Thu>

I interpret this to be a bi-weekly meeting which runs through
2016-11-17, however agenda puts the meeting on every single day. From
reading around, this doesn't appear to be a valid format for
accomplishing period recurrences:
- http://stackoverflow.com/questions/2464598/org-mode-schedule-weekly-event-for-a-period

I just wanted to reach out and see if this is a setup issue or if
recursion + a range is not the right way to go about this. If not, my
quick fix would see if I can hack the awk script to not include the
end date for the range, as deleting that appears to work. That would
incorrectly show future appts that may not be real, though.

Thanks for any suggestions,

Eric S Fraga | 25 May 21:06 2016


On Wednesday, 25 May 2016 at 14:49, Uwe Brauer wrote:
> Great, BTW, can I have something similar in HTML, I mean lists in tables
> using your approach. That might come in  handy as well.....

This is outside my area of expertise indeed...  I would assume you
should be able to define a suitable CSS element akin to a new LaTeX
environment but, again, I'll let others chime in!


: Eric S Fraga (0xFFFCF67D), Emacs, Org release_8.3.4-775-g3308a5

Eric S Fraga | 25 May 08:28 2016

Re: lists in tables (latex export)

On Tuesday, 24 May 2016 at 21:00, Uwe Brauer wrote:
> I will try to make it work with the solution as proposed by
> http://www.mostlycolor.ch/2015/07/swot-matrices-in-latex.html
> In case you are interested :-D

Interesting.  If you want to get this approach to work with org, you are
more likely to need to put in the LaTeX directives into the org file
directly instead of the solution I suggested:

#+latex: \begin{tcbraster}[raster columns=2, boxrule=0mm, arc=0mm]
#+latex: \begin{tcolorbox}[equal height group=A, size=fbox, colback=swotS!60,
colframe=swotS!80!black, title=\textsc{strengths}]
- business 1
- business 2

etc. as I believe it would be difficult to pass options to org special
blocks.  But maybe others can chime in: can ATTR_LATEX, for instance, be
used to specify options for a #+BEGIN_XXXX block?


: Eric S Fraga (0xFFFCF67D), Emacs, Org release_8.3.4-775-g3308a5

Dan Boice | 25 May 06:07 2016

in-text citation ox-bibtex for html export


I am exporting an org document to html with references. The setup with ox-bibtex I have works well to produce
the references with a cite link.  However, the in-text citations have a square bracket around the
reference link and only the first author's last name.  I am not able to use other in-text citation formats
such as parencite or natbib citep:key.  Is there a way to add that to the org file to produce the html output
with the formatted in-text citation?

From the looks of it, no with the the ox-bibtex package. http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/ox-bibtex.el;hb=HEAD

I was about to embark on creating something like this
http://kitchingroup.cheme.cmu.edu/blog/category/org-mode/ to pre or post process the exported
html, but wanted to check if there looks to be an easier way to achieve the same result.. Perhaps exporting
it to latex and then use http://tug.org/applications/tex4ht/mn.html was also suggested in another
post for something similar(
https://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00337.html ), but that was not
working yet.

—begin org text—

* Some very interesting latin text to start

  Lorem ipsum  cite:northrup2007 dolor sit amet, an cum laoreet noluisse, cum mucius indoctum te. Sea laudem
scripta tamquam ex, et nam eirmod aeterno tamquam, ex usu nobis essent. Sea ea possim aperiam dissentias,
est ei unum minim. Ullum iudico officiis id pri

#+BIBLIOGRAPHY: references.bib apalike limit:t option:--no-abstract

—-end org text —

(Continue reading)

Nick Dokos | 25 May 04:18 2016

Footnotes problem when exporting from org to org

I start with an org file like this:

--8<---------------cut here---------------start------------->8---

* Foo
Footnote [fn:1]

* Bar
And another [fn:2]

* Footnotes

[fn:1] footnote 1

[fn:2] footnote 2

--8<---------------cut here---------------end--------------->8---

and do an org->org export (C-c C-e O O). In this case, I expected the
result to be more or less a clone of the original ( although in my real
workflow, there are some changes: some sections are not exported and
there is some string replacement in the result - I plan to export the
result to HTML eventually). In particular, I expected the footnotes to be
preserved but they seem broken:

--8<---------------cut here---------------start------------->8---
# Created 2016-05-24 Tue 22:06
#+AUTHOR: Nick Dokos
* Foo
(Continue reading)

Stig Brautaset | 24 May 18:59 2016

Export to pdf when path name has ~


I'm on OS X and use their iCloud Drive to sync Org documents. I save my
documents to =~/Org=, which is a symlink to =~/Library/Mobile
Documents/com~apple~CloudDocs/Org=. This generally work fine, but launching
pdflatex fails. The *Messages* buffer has this to say:

Saving file /Users/stig/Org/TODO.tex...
Wrote /Users/stig/Org/TODO.tex
Processing LaTeX file ./TODO.tex...
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
! I can't find file `"/Users/stig/Library/Mobile Documents/com"'.
<to be read again> 
<*> "/Users/stig/Library/Mobile Documents/com~
(Press Enter to retry, or Control-D to exit)
Please type another input file name
! Emergency stop.
<to be read again> 
<*> "/Users/stig/Library/Mobile Documents/com~


(Continue reading)