[O] [odt] equation labels

2011-08-23 Thread Myles English
Hello, I am using the excellent org-odt, so thanks to Jambunathan K, and everyone who has ever contributed to orgmode. This may be quite simple so I am asking before making an minimal example. Does anyone know how to cause a label such as Figure 1. in the odt (for the resulting png), and set

Re: [O] [odt] equation labels

2011-08-31 Thread Myles English
Jambunathan, On Sun, 28 Aug 2011 03:32:10 +0530, Jambunathan K said: Myles Does anyone know how to cause a label such as Figure 1. in the odt (for the resulting png), and set the caption for an equation such as: #+CAPTION: some caption #+LABEL: eqn:psychrometric

Re: [O] [odt] equation labels

2011-08-31 Thread Myles English
On Wed, 31 Aug 2011 12:09:58 +0100, Myles English said: I have added support for honoring captions, label and attributes for images that are dervied from latex fragments. Checkout the git repo and let me know if there are any rough edges that need to be ironed out. Thank you

[O] wrong python version when using :session

2011-09-05 Thread Myles English
Hello, When a python source block has a :session header argument, the python version selected does not appear to respect the value of the variable org-babel-python-command. Starting emacs with this in the init file (.emacs): (require 'org-install) (org-babel-do-load-languages

Re: [O] wrong python version when using :session

2011-09-05 Thread Myles English
Eric, On Mon, 05 Sep 2011 11:35:37 -0600, Eric Schulte said: Hi Myles, The `org-babel-python-command' variable is used to decide which python executable is used to run non-interactive python code. Session evaluation is performed using the interactive python mode defined in the

[O] wrong python version with :session

2011-09-06 Thread Myles English
Hello, When a python source block has a :session header argument, the python version selected does not appear to respect the value of the variable org-babel-python-command. In my .emacs: (require 'org-install) (org-babel-do-load-languages 'org-babel-load-languages '((python . t) )) (setq

Re: [O] wrong python version with :session

2011-09-06 Thread Myles English
Just ignore this thread, the issue was dealt with in an identical one, also started by me! On Mon, 05 Sep 2011 17:00:13 +0100, Myles English said: Hello, When a python source block has a :session header argument, the python version selected does not appear to respect the value

Re: [O] sbe with :file header arg?

2011-10-10 Thread Myles English
Hi Eric, On Fri, 07 Oct 2011 12:22:13 -0600, Eric Schulte said: Myles English mylesengl...@gmail.com writes: I would like to make one plot per row of a table. This is useful because the contents of the row may be parameters in an R session, and a link to the resulting plot can

[O] [odt] equation labels

2011-10-27 Thread Myles English
Hello {Jambunathan}, I have found that Equations become labelled as Figures in the version I am using: emacs 23.3.1 org-mode from git commit 71f1c1be (Oct 26) (?I'm not sure if it is the most recent version of contrib/org-odt as the README.org says This release is is as good as org-20110613

Re: [O] [odt] equation labels

2011-10-31 Thread Myles English
On Mon, 31 Oct 2011 03:41:18 +0530, Jambunathan K said: Myles English mylesengl...@gmail.com writes: I have found that Equations become labelled as Figures in the version I am using: emacs 23.3.1 org-mode from git commit 71f1c1be (Oct 26) The test equations in latex

Re: [O] [odt] equation labels

2011-11-01 Thread Myles English
On Mon, 31 Oct 2011 11:54:35 +, Myles English said: On Mon, 31 Oct 2011 03:41:18 +0530, Jambunathan K said: Myles English mylesengl...@gmail.com writes: I have found that Equations become labelled as Figures in the version I am using: emacs 23.3.1 org-mode from git commit

[O] [odt] regression in using an equation sourced via latex_header

2011-11-01 Thread Myles English
Hello, If I have a latex file mystyle.tex that contains: \newcommand{\myBigEquation}{b=23} and then have this in my org file: #+LATEX_HEADER: \usepackage{/path/to/mystyle} I can use it conveniently like this: \begin{equation} \myBigEquation \end{equation} and that exports fine to pdf

Re: [O] [odt] equation labels

2011-11-02 Thread Myles English
Nick, On Wed, 02 Nov 2011 09:38:20 -0400, Nick Dokos said: Myles English mylesengl...@gmail.com wrote: There is (git from a couple of days ago) a problem with referring to equations containing an underscore in the label, I am fairly sure it was allowed before, e.g

Re: [O] [odt] equation labels

2011-11-02 Thread Myles English
On Wed, 02 Nov 2011 23:51:31 +0530, Jambunathan K said: There is (git from a couple of days ago) a problem with referring to equations containing an underscore in the label, I am fairly sure it was allowed before, e.g.: #+LABEL: Equation:new_eq \begin{equation} x=\sqrt{b}

Re: [O] [odt] regression in using an equation sourced via latex_header

2011-11-02 Thread Myles English
On Wed, 02 Nov 2011 00:44:57 +0530, Jambunathan K said: 2. mathml - You need to register your command file with -ncf argument. For example, if I put the mystyle.tex in the same directory as exported .org file and add the -ncf argument to the converter as below

Re: [O] [odt] regression in using an equation sourced via latex_header

2011-11-03 Thread Myles English
On Wed, 02 Nov 2011 21:38:42 +, Myles English said: On Wed, 02 Nov 2011 00:44:57 +0530, Jambunathan K said: 2. mathml - You need to register your command file with -ncf argument. For example, if I put the mystyle.tex in the same directory as exported .org file and add

[O] bug in odt export via mathml of equations containing ''

2011-11-04 Thread Myles English
If an org file contains a latex equation with a '' in it then when it is exported to odt it makes dodgy xml. Unzipping the odt, opening the content.xml and doing M-x rng-first-error gives the message: `' that is not markup must be entered as `amp;' To reproduce, insert this: \begin{equation}

Re: [O] reftex setup problem

2011-12-14 Thread Myles English
Nikolai, I'm guessing, but you could try finding the .aux file, run bibtex on it then try the latex export again. Myles On Wed, 14 Dec 2011 14:28:01 +0100, nikolai stenfors said: Hi, Problems incorporating references/citations in .org-files. I have set up a refs.bib-file for my

Re: [O] reftex setup problem

2011-12-15 Thread Myles English
On Thu, 15 Dec 2011 13:16:08 +0100, nikolai stenfors said: Yes, After reading the reftex manual once again, I managed to insert bibtex-references in to my org-file and stepwise, as you suggested, export them via aux to pdf. Glad you were able to fix it. It would be nice if it ran: $

[Orgmode] python :session and org_babel_python_eoe

2011-02-10 Thread Myles English
Hello, Is this behaviour expected?: #+begin_src python :session import sys #+end_src #+results: But in the python interpreter there is this: import sys open('/home/myles/tmp/scratch/python-4938gzQ', 'w').write(str(_)) 'org_babel_python_eoe' Traceback (most recent call last): File

[O] babel R: should/does order of parameters matter?

2011-03-20 Thread Myles English
Hello, First of all thanks very much for all the very well explained help given in previous threads I have started. Now, I have found different results arise from a difference in position of parameters (I'm using commit c01c2ad Fri Mar 18, R version 2.12.20, Feb 25): #+TBLNAME: data | x |

Re: [O] babel R: should/does order of parameters matter?

2011-03-29 Thread Myles English
Eric, On 23 March 2011 03:03, Eric Schulte schulte.e...@gmail.com wrote: I believe the problem here is that your :var header argument syntax is wrong.  A :var header argument must have a name, and equals sign, and an assignment for the variable, e.g. #+begin_src sh :var name=eric  echo

[O] Bug: babel sql: no results are returned if the first would be NULL [7.5]

2011-04-05 Thread Myles English
Hello, When returning results from a postgresql database, if the first value is NULL then no results are returned. Versions: orgmode git commit c01c2ad Fri Mar 18, postgresql 9.0.3. This works as expected: #+begin_src sql :engine postgresql :cmdline -d postgres SELECT 1 as A, NULL as B;

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-21 Thread Myles English
Hello, Nicolas Goaziou writes: Brady Trainor algeb...@uw.edu writes: And I did have a decent export to LaTeX resume from org, but after discovering moderncv, I've switched, though I will be curious to read others' methods of org-to-moderncv export. One option could be to define a

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-22 Thread Myles English
Myles English writes: Nicolas Goaziou writes: One option could be to define a specialized latex back-end dedicated to moderncv class, much like ox-koma-letter.el does for scrlttr2. I did actually make a start on this, I'll dig it out and put it somewhere accessible, soon. ..and here

[O] latex italics in list, with quotation marks

2013-03-08 Thread Myles English
Hi, Just wondering if there is a better way to italicise across more than two lines for a list item, currently this is the only way that works for me: - on the assumption of equilibrium: /``even if there is equilibrium at the pore sale, the upscaling, in this/ /if there is equilibrium at

Re: [O] Latex export of tables

2013-04-17 Thread Myles English
Hi Suvayu, Suvayu Ali writes: Actually, I am working on a workflow for large writing projects, my PhD thesis in this case :-p. What I have in mind is have a Makefile based build system that uses `emacs --batch' to export to LaTeX and html. The images are generated separately using babel

Re: [O] How to initiate source edits

2013-05-03 Thread Myles English
Hi Andreas, Andreas Röhler writes: Hi, have in some source file, let's assume Python, the following: foo = { bar: ( baz, qux, ), } What is the best way to put this into an #+BEGIN_SRC python foo = { bar: ( baz, qux,

Re: [O] Importing all files into .org document source blocks

2013-05-24 Thread Myles English
Hi Rainer, Rainer M. Krug writes: Is there a way of importing all files in a directory (/etc/apt/sources/list.d/) into an org document, with each being in a separate code block? Maybe this?: for i in `find . -maxdepth 1 -type f`; do echo #+BEGIN_SRC :tangle /this/dir/${i} afile.org cat

Re: [O] Go to heading using LISP

2013-06-10 Thread Myles English
Hi Alexander, Alexander Wingård writes: I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. It doesn't use org-refile but this is what I use: (defun my-goto-heading(file heading-text) Visit file `file' and goto headline `heading-text'

[O] Agenda printing: org-agenda-write doesn't use ps-paper-type

2013-06-11 Thread Myles English
Hello, Trying to print an agenda to pdf always results in the paper size being US letter even though ps-paper-type is set to a4. This is how I try to print it: (org-agenda-write /home/myles/tmp/agenda.pdf nil nil *Org Agenda(a)*) and setting this doesn't fix it either: (eval-after-load

Re: [O] Agenda printing: org-agenda-write doesn't use ps-paper-type

2013-06-12 Thread Myles English
Hi Christian, Christian Egli writes: Myles English mylesengl...@gmail.com writes: Trying to print an agenda to pdf always results in the paper size being US letter even though ps-paper-type is set to a4. Have you tried setting this variable with the custom interface, i.e. M-x customize

Re: [O] Agenda printing: org-agenda-write doesn't use ps-paper-type

2013-06-12 Thread Myles English
Eric S Fraga writes: Myles English mylesengl...@gmail.com writes: Trying to print an agenda to pdf always results in the paper size being US letter even though ps-paper-type is set to a4. Have you checked to see if the postscript version uses the right paper size? Just in case the ps

Re: [O] Agenda printing: org-agenda-write doesn't use ps-paper-type

2013-06-13 Thread Myles English
Christian Egli writes: Myles English mylesengl...@gmail.com writes: Thanks for checking it. Yes, I had to change this line in org-agenda.el: - (call-process ps2pdf nil nil nil + (call-process ps2pdf nil nil nil -sPAPERSIZE=a4 I wonder if we need to allow a set of options to be passed

Re: [O] Agenda printing: org-agenda-write doesn't use ps-paper-type

2013-06-13 Thread Myles English
Eric, Eric S Fraga writes: Myles English mylesengl...@gmail.com writes: Thanks for checking it. Yes, I had to change this line in org-agenda.el: - (call-process ps2pdf nil nil nil + (call-process ps2pdf nil nil nil -sPAPERSIZE=a4 If you use a4 sized paper all (or most of) the time

Re: [O] Agenda printing: org-agenda-write doesn't use ps-paper-type

2013-06-14 Thread Myles English
Hi Seb, Sebastien Vauban writes: Myles English wrote: I wonder if we need to allow a set of options to be passed to ps2pdf as we do for ps? And setting that in a custom command? #+begin_src emacs-lisp (add-to-list 'org-agenda-custom-commands '(L Call list

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-02 Thread Myles English
Hi, Rasmus writes: Another option is Git Annex. In my experience, it takes some effort to get used to it, but perhaps less so if you're used to git. One can configure it to use regular git for e.g. text files. It's build with Haskell (and success of building it is more or less random),

Re: [O] Embedded Tikz Picture

2013-07-14 Thread Myles English
Hi Julien, Julien Cubizolles writes: What would be the best way to use some tikz code in an org-file? I don't know what the best way is. I've succeeded so far by putting it in a #+BEGIN_LaTeX #+END_LaTeX structure but from what I understand, this code will only be evaluated when I

Re: [O] Import files to babel blocks

2013-07-21 Thread Myles English
Hi Michael, Michael Bach writes: Dear org-mode Users and Developers, I am trying to write a simple function for importing files to org-mode babel code blocks. My naive approach was --8---cut here---start-8--- (defun import-to-org-from-files (path

[O] clocking into an inline task before any headings

2013-08-14 Thread Myles English
Hello, Are inline tasks allowed to be used before any other headings? (I hope they are.) Starting with $ emacs -Q and with nothing more than a (require 'org-inlinetask) I am able to insert an inline task with C-c C-x t but when I try to clock in, CLOCK: is inserted on a line directly

Re: [O] clocking into an inline task before any headings

2013-08-30 Thread Myles English
Hi Carsten, Carsten Dominik writes: On 14.8.2013, at 16:36, Myles English mylesengl...@gmail.com wrote: Are inline tasks allowed to be used before any other headings? (I hope they are.) No, they are not. Why don't you just make it a normal headline? Okay, I can put the inline task

Re: [O] running some elisp code when exporting a given file

2013-09-05 Thread Myles English
Hi Alan, Alan Schmitt writes: Is there a way to have arbitrary code stored in the file being exported being evaluated before an export? I think you can use org-export-before-processing-hook for this. 12.13 Advanced configuration Hooks - Two hooks are run

Re: [O] 'org-calendar-holiday's not in an org agenda org file

2013-09-10 Thread Myles English
Hi Enda, Enda writes: In order to include holidays in the org agenda for current day or week(M-x org-agenda RET a),you have to put the following line in one of the org-agenda-files: %%(org-calendar-holiday) Is there a way to include holidays in the org agenda for current dayor week

Re: [O] multiple indirect buffers, and limiting to a drawer

2013-10-01 Thread Myles English
Hi Matt, mopto...@gmail.com writes: I am returning to my long-languishing idea of an org writer's room (https://github.com/titaniumbones/org-writers-room , see also gmail archives for a brief discussion about a year ago). Coming to terms with some of my own coding limitations(!), I want to

[O] Time remaining report, anyone done it?

2013-10-07 Thread Myles English
Hello all, I have a bit of time now so I am dusting off a slightly buggy way of finding out how much time is remaining on a project. The basic idea is that: :Effort: - [total clocked time] = [time remaining before completion] The ultimate aim is to get a time remaining report, similar to a

[O] capture, attach, link files from web

2013-10-07 Thread Myles English
Hello, Just thought I would share something I find useful. What the code below does is: 1) prompts for a link to a file on the internet 2) downloads the file 3) attaches the file to the current subtree 4) inserts at the current point a link to the attachment This is useful if (e.g.) you are

Re: [O] capture, attach, link files from web

2013-10-07 Thread Myles English
Hi Eric, I am glad you like it. e...@ericabrahamsen.net writes: [..] Rather than sending downloaded files to $TMPDIR, it might be nice to have them just use whatever dir org-attach would have used. I use org-attach from time to time, and notice that everything ends up under ~/org/data/. I

Re: [O] Time remaining report, anyone done it?

2013-10-08 Thread Myles English
Samuel/Konubinix, konubi...@gmail.com writes: For what I can understand by tracing the CLOCKSUM property usage (grep 'CLOCKSUM' being a starting point), it seems to be doable by modifying the org-columns and org-agenda-colview-compute defuns to set a text property like org-clock-sum does

Re: [O] capture, attach, link files from web

2013-10-08 Thread Myles English
e...@...net writes: I've often thought it would be nice to link to images in an org file with http: links, then at some arbitrary point in time call a hypothetical org-localize-external-resources command. That command would wget all the external resources, put them somewhere local, and

Re: [O] capture, attach, link files from web

2013-10-08 Thread Myles English
Hi Oleh, ohwoeowho writes: I counter your tip with my own on capturing pdfs. Maybe you'll find some of this stuff useful for your case. My use case is slightly different: I am looking for pictures and want to insert a picture right here to show up in the exported document, and I have a

Re: [O] Makefile to export to html/pdf using emacsclient

2013-10-08 Thread Myles English
Hi Xavier, I am not an expert but perhaps my reply will do until someone more knowledgeable comes along. garr...@lal.in2p3.fr writes: Dear orgers, Sometimes ago Eric Schulte posted a Makefile to run the exporter in a asynchronous way (see

Re: [O] timeline of tags

2013-10-14 Thread Myles English
Hi David, da...@belohrad.ch writes: Dear All, could someone help me with following problem? - have multiple org files, where I tag by names, e.g. @Erik - I want to construct a timeline of all items having this tag through all the org files (as @Erik can be dispersed everywhere)

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Myles English
Hi Christopher, crcul...@christopherculver.com writes: I am using org-mode version 20131021 and the latest checkout of the bbdb3 git repository. I am using older versions. Although I have the following lines in my main .org file: * Anniversaries :PROPERTIES: :CATEGORY:

[O] links to attachments don't export anymore

2013-11-12 Thread Myles English
Hi, This used to work, back in August but I just updated today and Something Has Changed. After setting this option: (setq org-link-abbrev-alist '((att . org-attach-expand-link))) It was possible to insert a link to an attachment like this: [[att:FigureA.jpg]] and clicking on it would show

Re: [O] links to attachments don't export anymore

2013-11-19 Thread Myles English
Nicolas, · Nicolas Goaziou n.goaz...@gmail.com wrote: Done for `org-entry-properties'. The regression should be fixed now. Thank you for the report. Thanks very much, I'll test it soon. Myles

Re: [O] Anniversaries from BBDB available to calendar and diary?

2013-11-27 Thread Myles English
Hi Joseph, j...@ftfl.ca writes: It makes sense to put birthdays and other anniversaries in BBDB as described in section 10.3.1 of the Org manual. I wonder, did you look at the section of 10.3.1 titled Anniversaries from BBDB? Why repeat information by putting it in the diary when you

Re: [O] Org-mode issue with cyclic tasks and checkboxes

2013-11-27 Thread Myles English
Hi Borja, I can't see that you have received a reply yet, which is unusual for this excellent list. borja.tarr...@gmail.com writes: I am working with cyclic or repetitive tasks in org-mode, inside this task, I have several checkboxes. So when I finished all the list, normally I put the task

[O] how to print org-element of type paragraph as a string?

2013-12-09 Thread Myles English
Hello, This should be an easy question for someone. Given the org file content below, how would you get the result or the source block to be here are the contents? Thanks, Myles * heading here are the contents #+begin_src elisp :results output (dolist (job (org-element-map

[O] org-capture-template suspicious behaviour of expansion elements

2012-09-11 Thread Myles English
Hi, Using the git repo, I am fairly sure that one of my capture templates stopped working sometime in the last few weeks, no so much as to warrant a bug report but thought I would point it out as it may be unintended or part of a bigger picture: #+begin_src elisp (setq org-capture-templates

[O] [org-e-beamer-export-to-pdf] Slide with two columns?

2012-09-23 Thread Myles English
Hi, Can anyone make a two column slide yet? Like this example for the old exporter: http://orgmode.org/worg/sources/org-tutorials/org-beamer/presentation.org It looks as if it should be possible (by which I mean the appropriate properties are available), just wondering if it is something wrong

Re: [O] [org-e-beamer-export-to-pdf] Slide with two columns?

2012-09-25 Thread Myles English
Nicolas Goaziou writes: You can have a look at the following example: --8---cut here---start-8--- #+TITLE: Two columns #+LaTeX_CLASS: beamer #+BEAMER_THEME: Rochester [height=20pt] #+BEAMER_COLOR_THEME: spruce * Frame title Some text before **

[O] [org-e-beamer-export-] Feature request: obey org-inlinetask-export

2012-09-25 Thread Myles English
Hi, It would be nice to be able to exclude inline tasks from (the new) beamer export using: #+BEGIN_SRC elisp (setq org-inlinetask-export nil) #+END_SRC After that, it would also be nice to be able to toggle the var using an #+OPTION. Thanks, Myles

Re: [O] [org-e-beamer-export-] Feature request: obey org-inlinetask-export

2012-09-25 Thread Myles English
Hi Seb, Sebastien Vauban writes: Hi Myles, Myles English wrote: It would be nice to be able to exclude inline tasks from (the new) beamer export using: #+BEGIN_SRC elisp (setq org-inlinetask-export nil) #+END_SRC After that, it would also be nice to be able to toggle the var using

[O] [org-e-beamer-export-to-latex] howto put intra-frame latex?

2012-09-25 Thread Myles English
Hello again, Does anyone have a solution to this? I am attempting to give one slide only a background image. I can set the background image but can't unset it because the latex directive needs to come after the \end{frame} of the slide with the background and before the \begin{frame} of the

Re: [O] [org-e-beamer-export-to-latex] howto put intra-frame latex?

2012-09-25 Thread Myles English
Well reading the manual/src helped, of course, and I have altered the example below if any one else is wondering. Because I have H:2 in the #+OPTIONS line, a level 1 heading does not make a frame and can be used sneak in some latex. Myles English writes: Does anyone have a solution

Re: [O] [org-e-beamer-export-to-latex] howto put intra-frame latex?

2012-09-25 Thread Myles English
Hi Suvayu, Suvayu Ali writes: On Tue, Sep 25, 2012 at 02:59:55PM +0100, Myles English wrote: Hello again, Does anyone have a solution to this? I am attempting to give one slide only a background image. I can set the background image but can't unset it because the latex directive

[O] Bug: tangling inserts blank line at top of file [7.9.1 (release_7.9.1-401-g2bd95b @ mypath)]

2012-09-30 Thread Myles English
Using git master 2bd95b6b of Fri Sep 28 10:05:20 2012, if I tangle this with org-babel-tangle: #+BEGIN_SRC sh :tangle file.sh a #+END_SRC then file.sh would contain a blank line at the top, which I would not have expected to be there. Myles Emacs : GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu,

[O] Remaining work/progress report: nearly useful, help needed

2012-10-10 Thread Myles English
Hi orgees, In March I had a go at making a Remaining work/progress report[1]. Having make some progress, I am looking for: - help, - collaborators, - opinions on whether this would be useful enough to be worth the effort, - whether anyone else has something like this (but better) and - any

Re: [O] Remaining work/progress report: nearly useful, help needed

2012-10-11 Thread Myles English
Just an update to say I have managed to do one of the things I was asking for help with. As with most things, it was easier than I thought. Myles English writes: Hi orgees, In March I had a go at making a Remaining work/progress report[1]. Having make some progress, I am looking

Re: [O] Remaining work/progress report: nearly useful, help needed

2012-10-12 Thread Myles English
Just in case anyone is following this, but it is starting to feel like my own personal thread. 4 Improvements necessary to make it truly useful 1. Solved. 2. Accumulate the time Remaining in the same way that CLOCKSUM does; it

Re: [O] Remaining work/progress report: nearly useful, help needed

2012-10-12 Thread Myles English
my-progress.el Description: application/emacs-lisp I have a solution that does everything I need apart from exclude DONE items from the CLOCKSUM property. Writing it here for posterity. I get a table like this (Note: the 0:08 is from a DONE task that is excluded from the table and the other

Re: [O] BIBINPUT in .bashrc not recognized by Emacs

2012-10-13 Thread Myles English
Hi Sanjib, Sanjib Sikder writes: Hi, I was trying to set a location for my bibliography files which can be found by org mode. The following lines in .bashrc does not work with orgmode latex export export TEXINPUTS=.//:$HOME/bibFiles//:$TEXINPUTS export

[O] export of #+INCLUDE appears broken with :exports results

2012-10-15 Thread Myles English
Hi, Trying to export as ascii an included file fails with Reference 'example-table' not found in this buffer. Is this a bug? This is the contents of the file I run C-c C-e a from: * Main #+INCLUDE: ./org-example.org Where org-example.org contains only the example at

Re: [O] export of #+INCLUDE appears broken with :exports results

2012-10-15 Thread Myles English
Hi Sebastien, Sebastien Vauban writes: Did you try first locally in the same file? Eh? Include the file in itself? If you mean did I execute the source block: yes, and it works. Did you try with downcase for the TBLNAME keyword? I know it (all upper or down-case) was important at some

[O] org-export-expand-include-keyword doesn't handle inline tasks well

2012-10-16 Thread Myles English
Hi, When a tree includes another file tree by using the #+INCLUDE keyword, the imported headlines are demoted by appending an appropriate number of asterisks. The problem is when an inline task is included, the number of asterisks seems to make it unrecognisable as an inline task. Can

[O] [new exporter] latex: why does {{}} become \{\{\}\} ?

2012-10-16 Thread Myles English
Hi, Org-mode version 7.9.2 (release_7.9.2-441-gf287ab @ /home/myles/.emacs.d/plugins/org-mode/lisp/) Can anyone tell me please why (in the examples below) {} exports fine but {{}} exports as \{\{\}\} ? Am I meant to wrap these in #+begin_latex blocks? In my .org file: \tikzset{help

Re: [O] [new exporter] latex: why does {{}} become \{\{\}\} ?

2012-10-16 Thread Myles English
Nicolas Goaziou writes: You're writing LaTeX code in an Org buffer. This is only possible to a limited extent. In particular, these lines should indeed go within a LaTeX block. Otherwise, they will be protected to appear as-is in the output. Thanks, just confirming that was helpful, me and

Re: [O] org-export-expand-include-keyword doesn't handle inline tasks well

2012-10-16 Thread Myles English
Nicolas Goaziou writes: Hello, Myles English mylesengl...@gmail.com writes: When a tree includes another file tree by using the #+INCLUDE keyword, the imported headlines are demoted by appending an appropriate number of asterisks. The problem is when an inline task is included

[O] [new exporter] two unexpected behaviours of an #+INCLUDEd #+call

2012-10-18 Thread Myles English
Hi, I think there is a bug here. Given the situation below, I would expect that the block named xxx would never be evaluated: #- file b.org --- #+TITLE: b.org #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport * A heading

[O] how about allowing links in #+INCLUDE: ?

2012-10-18 Thread Myles English
Hi, Lines like this (from the manual): #+INCLUDE: ~/.emacs :lines 10-Include lines from 10 to EOF could be more flexible if we were able to do: #+INCLUDE: ~/.emacs :link [[link to a headline]] because it allows the included file to change (e.g) the number of header lines. There may also

Re: [O] [new exporter] latex: why does {{}} become \{\{\}\} ?

2012-10-21 Thread Myles English
cbe...@tajo.ucsd.edu writes: Charles Berry ccbe...@ucsd.edu writes: NEVER MIND. I just restarted my emacs and the export went as it should without the offending \begin{latex} \end{latex} lines. Likely someting weird in my setup caused this. That happend to me too but I don't know

Re: [O] Word wrap in org-mode

2012-10-21 Thread Myles English
Chris Henderson writes: Is there a way to do word wrap in org-mode? When I copy and paste long texts, it goes across the window. Alt-q doesn't do word wrap. Maybe I am misunderstanding, but M-q works for me and is bound to `(fill-paragraph)', perhaps yours is bound to something else? Press:

Re: [O] Word wrap in org-mode

2012-10-22 Thread Myles English
Chris Henderson writes: On Mon, Oct 22, 2012 at 9:47 AM, Myles English mylesengl...@gmail.com wrote: Chris Henderson writes: Is there a way to do word wrap in org-mode? When I copy and paste long texts, it goes across the window. Alt-q doesn't do word wrap. Maybe I am misunderstanding

[O] [new exporter] [latex] #+CAPTION: [short]{long}

2012-10-22 Thread Myles English
Hello, Should it possible to do this yet: #+CAPTION: [short]{long} with the new exporter, as it is with the current exporter? Thanks, Myles

Re: [O] [new exporter] two unexpected behaviours of an #+INCLUDEd #+call

2012-10-22 Thread Myles English
Myles English writes: Hi, I think there is a bug here. Just adding some evidence: similar behaviour was reported in this thread: http://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg00634.html Myles Given the situation below, I would expect that the block named xxx would never

Re: [O] [new exporter] [latex] #+CAPTION: [short]{long}

2012-10-22 Thread Myles English
Thanks Tom! Apart from looking at the code, could I have found that out from somewhere? Myles Thomas S. Dye writes: Aloha Myles, The syntax is different in the new exporter. #+CAPTION[short]: long All the best, Tom Myles English mylesengl...@gmail.com writes: Hello, Should

Re: [O] Bug: source code editing using C-c ' (org-edit-special) eats characters

2012-10-23 Thread Myles English
Hi Hsiu, Hsiu-Khuern Tang writes: What I get is this: -- #+begin_example test#+end_example -- Anyone else able to reproduce this? I can't, I get: #+begin_example test #+end_example with

Re: [O] Bug: source code editing using C-c ' (org-edit-special) eats characters

2012-10-23 Thread myles english
Nick Dokos writes: Hsiu-Khuern Tang tan...@gmail.com wrote: Hi, Sorry if this has been reported -- a brief search didn't turn up anything. Start with this 3-line org file: -- #+begin_example #+end_example

Re: [O] Setting width of babel-generated image in LaTeX export?

2012-10-24 Thread myles english
Hi Michael, Michael Gauland writes: I'm having trouble specifying the width of an image I export to LaTeX (with either the new or old exporter). The snippet below demonstrates my problem. It uses plantuml to generate an image file, using ATTR_LaTeX to specify the width. When exported, the

[O] [PATCH] Fixing when org-clock-in-prepare-hook is called

2012-10-26 Thread Myles English
From d7c3f0a4611ced0a240af9115f29f888beb60af2 Mon Sep 17 00:00:00 2001 From: Myles English mylesengl...@gmail.com Date: Fri, 26 Oct 2012 12:38:09 +0100 Subject: [PATCH] Clocking: Move to task before calling org-clock-in-prepare-hook * lisp/org-clock.el (org-clock-in): Moved the call to org

Re: [O] [bug] [new-exporter] #+includes in non-exported regions do not work

2012-10-28 Thread Myles English
Hi Eric, You have: #+include: uml.org I think it should be: #+include: uml.org I have haven't tried it though. Myles Eric S Fraga writes: Hello, with an up to date org, I cannot get the attached minimal example to export using the new exporter. I have try exporting to latex-pdf,

Re: [O] [bug] Export and tangle

2012-10-29 Thread Myles English
Hi Sébastien, Sébastien Delafond writes: Hi fellows, just got the following bug report[0] from a Debian user: Typing C-c C-v t on the following file creates only bar.txt but not foo.txt as expected. I just tried this with the git head and get the two files. Of course, it doesn't

[O] [new exporter] what is the label syntax for LaTeX export?

2012-11-05 Thread Myles English
Hi, If my org file has: #+CAPTION[Here is a table]: A nice table #+NAME: tab:niceone | a | Look at my \ref{tab:niceone}. then M-x org-export-dispatch l L gives me: \begin{table}[htb] \caption[Here is a table]{\label{tab-niceone}A nice table} \begin{center} \begin{tabular}{l} a\\

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-06 Thread Myles English
Hi Nicolas, Nicolas Goaziou writes: Myles English mylesengl...@gmail.com writes: [..] So, the label tab:niceone exports as \label{tab-niceone}. Is that right or am I using the wrong syntax somewhere? The correct syntax is: [[tab:niceone]] It will allow to move back and forth

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Myles English
Hi Vikas, Vikas Rawal writes: Just a couple of obvious suggestions; are you sure bibtex2html is in your path when you launch Emacs? Maybe adding /usr/local/bin to your PATH will do the trick. I would put such modifications in ~/bash_profile (assuming you use bash as shell), logout and

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Myles English
Nicolas Goaziou writes: One problem I am having is that the exported LaTeX replaces the : with a - to become \ref{tab-niceone} which precludes the use of (e.g.) \autoref which would need to know that the thing being referenced was a table by recognising the tab:, no? I am sure there is a

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Myles English
Nicolas Goaziou writes: Colons are now allowed in targets. Thanks for submitting the suggestion. Thanks a lot Nicolas. In case anyone else finds this useful, here is the filter I'll use to replace \ref with \autoref: (defun my-autoref-filter-link-func (output backend info) (when

[O] [new exporter] no \caption and \label upon export of #+BEGIN_LATEX block

2012-11-10 Thread Myles English
Hello, I'd like to use a tikz snippet in a few different documents and it would be convenient to be able to include it in a latex document like so: #+CAPTION: a fine figure #+NAME: figure:fine_figure #+ATTR_LaTeX: width=5cm #+BEGIN_LATEX \input{/home/myles/tex/tikz_figure.tex} #+END_LATEX

Re: [O] [new exporter] no \caption and \label upon export of #+BEGIN_LATEX block

2012-11-10 Thread Myles English
Myles English writes: Hello, I'd like to use a tikz snippet in a few different documents and it would be convenient to be able to include it in a latex document like so: #+CAPTION: a fine figure #+NAME: figure:fine_figure #+ATTR_LaTeX: width=5cm #+BEGIN_LATEX \input{/home/myles/tex

[O] [PATCH] org-e-latex: Tables get correct amount of vertical space

2012-11-13 Thread Myles English
this: \RequirePackage[l2tabu, orthodox]{nag} ) Myles From 54ae2245978fa755cd5daa483616ffdfa3e5ed0f Mon Sep 17 00:00:00 2001 From: Myles English mylesengl...@gmail.com Date: Tue, 13 Nov 2012 14:14:56 + Subject: [PATCH] org-e-latex: Tables get correct amount of vertical space * contrib/lisp

  1   2   3   >