Re: [O] Export to pdf when path name has ~

2016-06-10 Thread Stig Brautaset
Nicolas Goaziou writes: >> Fabulous. I wanted to test it, but even though I think I have the latest >> Org I can't get this to work. =M-x org-version= says: >> >> Org-mode version 8.3.4 (8.3.4-79-gbd4948-elpaplus @ >> /Users/stig/.emacs.d/elpa/org-plus-contrib-20160606/) >

Re: [O] [PATCH] ob-sql.el: Support sqlcmd and cygwin environment

2016-06-10 Thread Xi Shen
Hello Nicolas, Please see my replies inline. On Sat, Jun 11, 2016 at 6:06 AM Nicolas Goaziou wrote: > Hello, > > Xi Shen writes: > > > I would like to apply this path to add sqlcmd support, and allow org-mode > > to execute and capture sqlcmd

Re: [O] Changing org-block background with org-src-fontify-natively

2016-06-10 Thread John Kitchin
That is some rock-star stuff! Thanks! Rasmus writes: > Andreas Leha writes: > >> My Org mode experience would also benefit a lot from having source block >> backgrounds again and with per-language configurable background colour. > > That’s possible with the

[O] [PATCH]: Fix latex image bug in org-mime-org-buffer-htmlize

2016-06-10 Thread Carlo Nucera
Hi, attached is a patch that should fix a bug in the function org-mime-org-buffer-htmlize (thanks to punchagan on irc!). When exporting an org buffer with a latex snippet including the org option tex: dvipng the images were always created in /tmp/ltxpng/, but the reported link in the htmlized

Re: [O] HTML export without org title as H1?

2016-06-10 Thread Christian Wittern
On 06/10/2016 10:17 PM, John Kitchin wrote: I am not sure I follow what you want. You can get rid of the title with the option: title:nil Yes, this is exactly what I need. Thank you! All the best, Christian -- Christian Wittern, Kyoto

Re: [O] [PATCH] ob-sql.el: Support sqlcmd and cygwin environment

2016-06-10 Thread Nicolas Goaziou
Hello, Xi Shen writes: > I would like to apply this path to add sqlcmd support, and allow org-mode > to execute and capture sqlcmd output in cygwin environment. Thank you for the patch. > I added a "platform-convert-file-name" function to convert a *nix path to >

Re: [O] Export to pdf when path name has ~

2016-06-10 Thread Nicolas Goaziou
Hello, Stig Brautaset writes: > Fabulous. I wanted to test it, but even though I think I have the latest > Org I can't get this to work. =M-x org-version= says: > > Org-mode version 8.3.4 (8.3.4-79-gbd4948-elpaplus @ > /Users/stig/.emacs.d/elpa/org-plus-contrib-20160606/)

Re: [O] org-export-resolve-id-link

2016-06-10 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > Again in the need of some hint. > > I am exporting some subtree. > There is a custom_id pointing in the same org > file but outside of the subtree. > > * Foo > :PROPERTIES: > :CUSTOM_ID: foo > :END: > > Lorem ipsum... > > * Bar > >

Re: [O] [PATCH} Re: inline code block problem; first attempt

2016-06-10 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > Sounds good. Done. Thank you for the feedback. Regards, -- Nicolas Goaziou

[O] org-export-resolve-id-link

2016-06-10 Thread Fabrice Popineau
Again in the need of some hint. I am exporting some subtree. There is a custom_id pointing in the same org file but outside of the subtree. * Foo :PROPERTIES: :CUSTOM_ID: foo :END: Lorem ipsum... * Bar [[#foo]] When I try to export the second subtree, I get an error from

Re: [O] org-get-tags-at

2016-06-10 Thread Fabrice Popineau
2016-06-09 13:42 GMT+02:00 Nicolas Goaziou : > Hello, > > Marco Wahl writes: > > > That was a bug and has been fixed now AFAICT. > > Thank you for the fix. > > +1 Fabrice

Re: [O] Export to pdf when path name has ~

2016-06-10 Thread Stig Brautaset
Nicolas Goaziou writes: >> I also agree that the best way would be to change the meaning of %f. > > Done in 3d0ade9. Thank you for the feedback. Fabulous. I wanted to test it, but even though I think I have the latest Org I can't get this to work. =M-x org-version= says:

[O] Bug: Adding a simple list item expands the entire simple list [8.3.4 (8.3.4-79-gbd4948-elpa @ c:/Users/sb/.emacs.d/elpa/org-20160606/)]

2016-06-10 Thread Steinar Bang
What I did do: I pressed M-RET to insert a new item in an org simple list, with the other items, some containing sub lists with items, closed. What I expected to happen: I expected the items that were closed to stay closed, and a new item to be inserted. What happened instead: When the item was

Re: [O] org-notify: Need to get notifications at the start time of the task (in addition to the deadline)

2016-06-10 Thread Amit Tendulkar
Charles Philip Chan writes: > Amit Tendulkar writes: > > Hi Amit: > >> I put notify.el in my load path and added the following lines in my init >> file. >> >> (autoload 'notify "notify" "Notify TITLE, BODY.") >> (appt-activate 1) >>

Re: [O] ob-C doesn't support load libraries

2016-06-10 Thread Thierry Banel
Change the first line to   #+BEGIN_SRC C :libs -lm This instructs the C++ compiler to link with the "m" library (mathematical functions). You need a pretty new version of ob-C.el, as the :libs parameter was introduced recently.

Re: [O] Symbol's function definition is void: org-beamer-insert-options-template

2016-06-10 Thread Nicolas Goaziou
Hello, Giacomo M writes: > I would find useful to have a template for beamer presentations. I was > wandering in the menus and under Org -> Latex I found a "Template for > BEAMER", which sounded good for what I was looking for. But if I press > it I get: > >

Re: [O] interesting dilemma with ob-ipython

2016-06-10 Thread John Kitchin
Thanks for this tip. It was a great start! I turned it into this: #+BEGIN_SRC emacs-lisp ;; make src blocks open in the right mode (add-to-list 'org-src-lang-modes '("jupyter-hy" . hy)) (add-to-list 'org-latex-minted-langs '(jupyter-hy "hylang")) ;; set default headers for convenience (setq

Re: [O] Symbol's function definition is void: org-beamer-insert-options-template

2016-06-10 Thread B.V. Raghav
Giacomo M writes: > Dear all, > > I would find useful to have a template for beamer presentations. I was > wandering in the menus and under Org -> Latex I found a "Template for > BEAMER", which sounded good for what I was looking for. But if I press > it I get: > >

Re: [O] HTML export without org title as H1?

2016-06-10 Thread John Kitchin
I am not sure I follow what you want. You can get rid of the title with the option: title:nil This: #+TITLE: Kanripo 漢籍リポジトリ #+OPTIONS: num:nil toc:nil html-style:nil #+begin_html ... #+end_html ** Here starts the first real head .. and so on exports to this for me (just the

[O] Symbol's function definition is void: org-beamer-insert-options-template

2016-06-10 Thread Giacomo M
Dear all, I would find useful to have a template for beamer presentations. I was wandering in the menus and under Org -> Latex I found a "Template for BEAMER", which sounded good for what I was looking for. But if I press it I get: menu-function-46: Symbol's function definition is void:

[O] ob-C doesn't support load libraries

2016-06-10 Thread numbch...@gmail.com
I have a code example like this: #+BEGIN_SRC C #include #include /* define complex struct */ struct complex_struct { double x, y; }; /* some helper functions on complex struct */ double real_part(struct complex_struct z) { return z.x; } double img_part(struct complex_struct z) { return

[O] HTML export without org title as H1?

2016-06-10 Thread Christian Wittern
Hello org users, I am trying to export an org file to the "content" part of a HTML file. Using header lines and inline html blocks, I basically succeeded in constructing it the way I need it. However, there is still one stumbling block: It seems that it is hardcoded to use the title of the

[O] org-use-tag-inheritance property for a specific header and sub headers?

2016-06-10 Thread Xebar Saram
Hi all i normally have this in my config (setq org-use-tag-inheritance nil) which is what i want 99% of the time. I recently noticed that for specific project headers it would be great to add tag inheritance. is it possible to set tag-inheritance for a specific header and sub headers? if not how