[O] Cannot resize inline image

2017-01-05 Thread Young-whan
I'm very beginner at org-mode and learning and having fun with it these days. Now, I'm embedding an image, but I'd like to resize it. Googling shows me like this: #+attr_org: :width 40% [[./test.png]] However, that is not working to me at all. I'm using GNU Emacs 25.1.90.1

[O] How to set encoding for orgmode tangled file?

2017-01-05 Thread James Wong
Hi, all In orgmode, is there a way to set coding system for the tangled file? For example, my default coding system is utf-8, and when I tangle some src blocks sometimes I want the tangled file to use other coding systems like chinese-gbk. It would be perfect if orgmode had a header argument

Re: [O] transcluding some org-elements in multiple places

2017-01-05 Thread John Kitchin
It would be easy to have it export the plain text of the transcluded heading. to export the actual heading, I would setup a preprocessing hook that replaces the link with the content it points to. John --- Professor John Kitchin Doherty Hall A207F Department of

Re: [O] transcluding some org-elements in multiple places

2017-01-05 Thread Matt Price
On Thu, Jan 5, 2017 at 7:30 PM, John Kitchin wrote: > I didn't test it with other files, and it does not seem to work with > them. For some reason (org-open-link-from-string path) does not seem to > actually open the file at path. I am not sure why, since the follow code

[O] [export] Markdown - Exporting headings

2017-01-05 Thread sergio ruiz
For some reason, when I export headings under over 2 deep, I get an unexpected   markdown export. For example: * First header ** second level *** Third level Fourth level gives me: First header second level 1.  Third level     1.  Fourth level ideas?

Re: [O] speeding up Babel Gnuplot

2017-01-05 Thread Thierry Banel
Le 04/01/2017 23:36, Nicolas Goaziou a écrit : > >> Your proposal provides an additional benefit: caching file generation >> between several invocations of Babel. (The cache in my patch is intended >> to be used within a single Babel invocation, and is then garbage >> collected.). The drawback is

Re: [O] speeding up Babel Gnuplot

2017-01-05 Thread Thierry Banel
Le 05/01/2017 00:15, Charles C. Berry a écrit : > On Wed, 4 Jan 2017, Achim Gratz wrote: > > > I'm late to this party, but AFAICS input vars are processed just once. > > Running this: > > #+BEGIN_SRC emacs-lisp :var a=(setq runvar (+ 1 runvar)) > a > #+END_SRC > > increments runvar by one each

Re: [O] Org-mode and/or org-ref citation formats

2017-01-05 Thread John Kitchin
I don't know if it is possible to get helm-bibtex to insert links with pre/post text in a way that doesn't get in the (i.e. my) way. I never use pre/post text, so I want to select entries, and press enter to insert them. There would have to be some prompt for pre and post text I think, and I

Re: [O] Org-mode and/or org-ref citation formats

2017-01-05 Thread Gerald Wildgruber
On Mi, Jan 04 2017, John Kitchin wrote: >> A simple link would be of the form "cite:MYREF" or "citep:MYREF"; but if >> I want to add a page number to this reference, the syntax of the link >> seems to be very different, like so: "[[citep:MYREF][PAGENUM]]" or >>

Re: [O] transcluding some org-elements in multiple places

2017-01-05 Thread John Kitchin
I played with it a bit. Here is a link that displays file links as overlays. Clicking on them jump to the source, and C-click will toggle the overlay. It works ok, but I didn't test it a lot. Say you have a table named like this in a file. #+name: test | 555 | 66 | | te | tef | | 555 |

[O] "COMMENT" keyword not properly documented in the manual

2017-01-05 Thread Alain . Cochard
Hello. I am a relatively new org user; I am writing this email after I spent all morning finding the origin of my problem and searching the web for an explanation and a solution. Unaware that "COMMENT" was a specific org string, I had used it at the beginning of a headline, resulting in biased

Re: [O] Insert git hash into exported document

2017-01-05 Thread Michael Welle
Hello, Eric S Fraga writes: > On Saturday, 24 Dec 2016 at 09:07, Michael Welle wrote: > > [...] > >> do you have some mechanism that warns you if you try to export >> uncommitted changes? I'm not sure how such a process should be designed. > > I do not. I manually always

[O] [patch] adding :prologue and :epilogue parameters for Maxima src blocks

2017-01-05 Thread Eric S Fraga
Hello, Please find attached a small patch for consideration. This patch adds two new parameters to the Maxima babel src blocks: prologue and epilogue, as already exist for gnuplot for instance. I have signed the copyright assignment already (many years ago). Thanks, eric -- Eric S Fraga

Re: [O] transcluding some org-elements in multiple places

2017-01-05 Thread Matt Price
On Wed, Dec 14, 2016 at 11:55 AM, John Kitchin wrote: > > David Talmage writes: > > > On Fri, Dec 9, 2016 at 11:28 AM, Eric S Fraga wrote: > > > >> On Friday, 9 Dec 2016 at 15:29, John Kitchin wrote: > >> > Hi all, > >> > > >> > I have an idea for

[O] Org mode clockview links failing with spaces

2017-01-05 Thread Shawn Way
I have an org file with a clocktable located at the head of the file. The clocktable is able to pull together a great table, however, the links on the table do not work, if they have spaces in them. Sample org file == * Work Table

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-05 Thread Nicolas Goaziou
Hello, yanmcbe writes: > Wow, this issue comes very close to something I struggled for hours with > (3h42') last year. > > It finally boiled down to this: sorting by effort in the agenda view only > works (correctly) when org-agenda-remove-tags is t. Here's the (edited) ECM >