[O] Advice on handling translations in export

2015-02-22 Thread James Harkins
Just wondering if anyone has any experience with texts written in org, which then need to be translated. The simplest thing, of course, would be an org file for the original language, and then separate files for other languages. Markup and export are simpler this way, but future edits would

[O] control tangling from section header

2015-02-22 Thread Ken Mankoff
I'm working with my literate init file (emacs.org), and would like to have certain sections not tangle. I currently do this with :tangle no at the SRC block level. Is it possible to control tangling with tags at the header level? It would make it much easier to disable/enable sections, and see

Re: [O] control tangling from section header

2015-02-22 Thread Daniele Pizzolli
Hello Ken, Ken Mankoff writes: I'm working with my literate init file (emacs.org), and would like to have certain sections not tangle. I currently do this with :tangle no at the SRC block level. Is it possible to control tangling with tags at the header level? Not with tag but with

Re: [O] [RFC] Simplify `org-show-context' configuration

2015-02-22 Thread Nicolas Goaziou
Samuel Wales samolog...@gmail.com writes: looks good. thanks for your effort on making a single variable. Pushed with tests and documentation, in 4eb4f47141a1ac582330b903bd779dccbcb1c154. Thank you. Regards,

Re: [O] how to get images support in Emacs on Windows?

2015-02-22 Thread Ben
I haven't tried other types except jpeg and png. Actually, I use few inline images. Most of my images are large. They should be resized to look pretty on emacs. But to resize them I need to build emacs with ImageMagick. And I haven't tried that yet. On Sat, Feb 21, 2015 at 3:18 AM, Herbert Sitz

[O] Babel: Call A when executing B

2015-02-22 Thread Ken Mankoff
I'd like to have some language specific code (either a code block in the Library of Babel, in the current file, embedded in elisp in my startup file, wherever) run each time I execute any code block. Is there a way to specify this via header arguments, or :prologue, or anything else of that type?

[O] [bug?, ox] smartquotes and lines

2015-02-22 Thread Rasmus
Hi, Consider this example: #+OPTIONS: ':t foo---bar Expected output is (IMO) something like “foo”—“bar”. Actual output is something like “foo—bar”, i.e. the quotes very close to the em-dash are not replaced. Note you can get the desired output by adding spaces around the em-dash but that's

[O] Manual patch: noweb header argument

2015-02-22 Thread Thomas S. Dye
Aloha all, The attached patch recognizes all six possible :noweb header arguments. All the best, Tom From 3106e37ba1cfd7fa8e7c1a792a7c69cf76aa5343 Mon Sep 17 00:00:00 2001 From: tsdye t...@tsdye.com Date: Sun, 22 Feb 2015 07:20:34 -1000 Subject: [PATCH] Revise noweb header argument ---

Re: [O] Babel: Call A when executing B

2015-02-22 Thread Thomas S. Dye
Aloha Ken, I'm not sure what you mean by anything else of that type, but executing a named code block in other code blocks can be achieved with the noweb syntax. #+name: packages-that-make-iPython-great #+begin_src python import numpy as np import foo as bar ... #+end_src #+header: :noweb yes

Re: [O] how to get images support in Emacs on Windows?

2015-02-22 Thread Herbert Sitz
Ben yfefyf at gmail.com writes: Actually, I use few inline images. Most of my images are large. They should be resized to look pretty on emacs. But to resize them I need to build emacs with ImageMagick. And I haven't tried that yet. Are you sure you need to rebuild Emacs? On my Linux machine

Re: [O] [bug?, ox] smartquotes and lines

2015-02-22 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Consider this example: #+OPTIONS: ':t foo---bar Expected output is (IMO) something like “foo”—“bar”. Actual output is something like “foo—bar”, i.e. the quotes very close to the em-dash are not replaced. Note you can get the desired output by adding

[O] [BUG] babel hangs executing some shell commands in session

2015-02-22 Thread Daniele Pizzolli
Hello, I am going to give an interactive presentation of git using org-mode and babel. But I am stuck with random hangs when executing the code with =C-c C-c= and during export. I am using Org-mode version 8.2.4 (8.2.4-dist @ /home/vagrant/.emacs.d/el-get/org-mode/lisp/) The hangs does not

Re: [O] Publishing orgmode files

2015-02-22 Thread Xavier Maillard
Hi, Xavier Maillard xav...@maillard.im writes: I am trying to publish my org project but I am lost in the way I can tweak my projects. Is there some good tutorial I can follow step by step in order to publish several files at once ? I am still stuck :( I read a lot of thing but I am lost

[O] duplicate PROPERTIES drawers

2015-02-22 Thread Ken Mankoff
I have found many task with duplicate PROPERTIES drawers. I saw mention on the list that, ...it will be invalid for a LOGBOOK to appear before PROPERTIES in Org 8.3. It seems that tasks don't have properties by default, and if I LOG an item, I get a LOGBOOK drawer. If properties are added later

[O] Table notes (below table) in LaTeX?

2015-02-22 Thread Melanie Bacou
Hi, I have a document with over 50 tables and I need to indicate data sources right below every table. Looking through the list I've found the workaround below, but it's rather syntax heavy, and places the table notes a little too far from the actual table. #+CAPTION: Tanzania Segmentation

Re: [O] Citation syntax: a revised proposal

2015-02-22 Thread Vaidheeswaran
On Monday 16 February 2015 09:49 PM, Nicolas Goaziou wrote: [cite:subtype: whatever] Nicolas, if you could circulate a one-off patch that handles the above syntax I will bump it against the ODT backend and JabRef engine. I am waiting for the FSF representative to counter-sign my assignment

Re: [O] Citation syntax and ODT

2015-02-22 Thread Vaidheeswaran
On Monday 23 February 2015 09:41 AM, Richard Lawrence wrote: Hi Vaidheeswaran, Thanks for your input about citations! Vaidheeswaranvaidheeswaran.chinnar...@gmail.com writes: Those working on the citation syntax should make it clear that the lowest common cite syntax does NOT also IMPOSE

Re: [O] Citation syntax and ODT

2015-02-22 Thread Vaidheeswaran
More importantly I see Nicolas willing to make the necessary modifications to export engine. Let us JUST ACCEPT what Nicolas is saying and work from there. Otherwise, the current momentum will peter out (much like earlier initiatives). For now, if each of us could just step back a little and

Re: [O] Citation syntax and ODT

2015-02-22 Thread Richard Lawrence
Hi Vaidheeswaran, Thanks for your input about citations! Vaidheeswaran vaidheeswaran.chinnar...@gmail.com writes: Those working on the citation syntax should make it clear that the lowest common cite syntax does NOT also IMPOSE (or GUARANTEE) a specific style on the produced document. When

[O] mdframed blocks for latex export

2015-02-22 Thread Vikas Rawal
In a document I am preparing using Org-mode, I need to create some “boxes” containing text, tables and figures. In LaTeX, mdframed seems to be the way to go. Is there a way to do it in Org-mode? How do I define something like #+begin_mdframed Contents of the box go here #+end_mdframed Would

Re: [O] mdframed blocks for latex export

2015-02-22 Thread Thomas S. Dye
Aloha Vikas, Vikas Rawal vikasli...@agrarianresearch.org writes: In a document I am preparing using Org-mode, I need to create some “boxes” containing text, tables and figures. In LaTeX, mdframed seems to be the way to go. Is there a way to do it in Org-mode? How do I define something like

Re: [O] mdframed blocks for latex export

2015-02-22 Thread John Kitchin
This is a place where I would resort to raw latex, probably in #+begin_latex \begin{mdframed} ... \end{mdframed} #+end_latex Vikas Rawal writes: In a document I am preparing using Org-mode, I need to create some “boxes” containing text, tables and figures. In LaTeX, mdframed seems to be the