Re: [O] two latex bugs

2013-07-10 Thread Eric S Fraga
renato writes: > 2) this: > > \begin{align}\label{mylabel} > \left\{ > \begin{array}{ll} > 2+2 =& 4 \\ > 2+2 \neq & 4 > \end{array} > \right. > \end{align} You can either enclose the above in #+begin_LaTeX ... #+end_LaTeX or do as you noted and make sure the \begin{align} is alone on a line. Th

Re: [O] fill-paragraph broken

2013-07-10 Thread Samuel Wales
You said to compare text modes with text modes. So let's talk about text-mode itself? It works as I expect. On 7/9/13, Nicolas Goaziou wrote: > Hello, > > Samuel Wales writes: > >> I think Org should support this variable and not fill two commented >> paragraphs with a commented empty line as

Re: [O] Hyperlinked Images with ox-html

2013-07-10 Thread Nicolas Goaziou
Hello, Robert Eckl writes: > exporting this fragment > > #+ATTR_HTML: :width 220px :align right > [[http://orgmode.org/worg/][http://example.org/picture.jpg]] > > gives > > > >http://orgmode.org/worg"width="220px"; align="right" > > http://example.org/picture.jpg"; /> > > >

Re: [O] Feature Request: Let Org-mode tasks (subtasks) complete percent state more *accurate*.

2013-07-10 Thread Eric S Fraga
chris writes: [...] on how org counts completed tasks > I hope Org-mode can improve this. Well, this is a matter of interpretation. Org is counting how many of the main tasks are complete. Sub-tasks are not at the same level. I prefer how org does it now. In any case, check out ,[ C-h

Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links

2013-07-10 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > Sure. This one works perfectly with my limit:t case! I applied the patch. Thank you for the feedback. Regards, -- Nicolas Goaziou

Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links

2013-07-10 Thread Eric S Fraga
Nicolas Goaziou writes: > Hello, > > Eric S Fraga writes: > >> Sure. This one works perfectly with my limit:t case! > > I applied the patch. Thank you for the feedback. Thanks Nicolas for this! Very helpful. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.5-322-gd5c11e.dir

Re: [O] tikz for multiple targets

2013-07-10 Thread Rasmus
Eric S Fraga writes: > Hello again, > > I am trying to get an example that worked with the old exporter to work > with the new exporter. The aim is to have a tikzpicture exported to > both LaTeX and HTML. The example is in the following message from over > a year ago now: > > http://article.gma

Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-10 Thread Bastien
flammable project writes: > I'm trying to use ox-rss to generate a rss feed but I'm facing an > error :  > > let*: Symbol's function definition is void: url-encode-url Mh, yes, `url-encode-url' is not available in Emacs <24.1. I just mentioned this in the comment section, thanks for reporting t

Re: [O] tikz for multiple targets

2013-07-10 Thread Rasmus
Rasmus writes: >> Is what I want possible with the new exporter? If so, I imagine the >> test for the backend must be different now. Any pointers very welcome! > > It needs to be added to `org-html-inline-image-rules' and some > potential translation should be added to org-html-inline-image-p,

[O] Bug: ODT export formulas scale [8.0.5 (8.0.5-6-g426917-elpa @ /home/vincent/.emacs.d/elpa/org-20130708/)]

2013-07-10 Thread Vincent Liard
When I export an org document with formulas to an ODT document (with #+OPTIONS: tex:dvipng), the formulas look big and blurry. In ox-odt.el, I found out that org-odt-pixels-per-inch (which is used to set image sizes in ODT exports) takes its value from display-pixels-per-inch (which is emacs-relat

Re: [O] Bug: ODT export formulas scale [8.0.5 (8.0.5-6-g426917-elpa @ /home/vincent/.emacs.d/elpa/org-20130708/)]

2013-07-10 Thread Bastien
Hi Vincent, Vincent Liard writes: > On my computer, org-odt-pixels-per-inch was set to 72 while > libreoffice considers images to be 96 dpi. A simple workaround is to > (setq org-odt-pixels-per-inch 96) > > But I don't know if 96 is the correct value for everyone and should be > hardcoded or if

Re: [O] tikz for multiple targets

2013-07-10 Thread Fabrice Popineau
And did anybody tried the svg backend available from tikz, rather than relying on pdf conversion? Fabrice 2013/7/10 Rasmus > Rasmus writes: > > >> Is what I want possible with the new exporter? If so, I imagine the > >> test for the backend must be different now. Any pointers very welcome!

Re: [O] tikz for multiple targets

2013-07-10 Thread Eric S Fraga
Rasmus writes: [...] > Tikz/pgf works for the latex exporter. Just insert it as a file link > (with extension tikz or pgf) or as latex verbatim code. Yes, thanks. However, I guess I didn't explain very well what I was looking for. I use tikz all the time and typically enclose it in a #+beg

[O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Thorsten Jolitz
Hi List, how do I get my hands on the 'info' plist (i.e. the communication-channel) when I try to export data that is (only an isolated) part of a parse-tree? Say that originally a whole buffer was parsed, thus the full tree and options info was available at that point. But then parts of the r

Re: [O] turn of org-pretty-entities in tables

2013-07-10 Thread Carsten Dominik
On Jul 9, 2013, at 5:23 PM, Mirko Vukovic wrote: > Hello, > > Is it possible to turn of org-pretty-entities in a table, but leaving it > enabled in the buffer? No, currently this is not possible. - Carsten > > Thank you, > > Mirko > >

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Robert Klein
Hi Thorsten, I'm currently playing around with retrieving options, e.g. functions like: #+begin_src elisp (defun org-find-export-option (file option-name &optional backend) "Find the OPTION of FILE." (let* ((org-inhibit-startup t) (visiting (find-buffer-visiting file)) (bu

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Thorsten Jolitz
Thorsten Jolitz writes: PS > How could I get my hands on the 'info' plist during the buffer parsing > and save it for later use in calls like As far as I understand it, the 'info' plist is actually dynamically created and modified in various stages of the export process. So what I really mean

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Nick Dokos
Thorsten Jolitz writes: > Thorsten Jolitz writes: > > PS > >> How could I get my hands on the 'info' plist during the buffer parsing >> and save it for later use in calls like > > As far as I understand it, the 'info' plist is actually dynamically > created and modified in various stages of the

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Thorsten Jolitz
Robert Klein writes: Hi Robert, > I'm currently playing around with retrieving options, e.g. functions like: > #+begin_src elisp > (defun org-find-export-option (file option-name &optional backend) ... thanks, that brought me on the right track, I was searching for functions containing '-info-

Re: [O] fill-paragraph broken

2013-07-10 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > You said to compare text modes with text modes. So let's talk about > text-mode itself? It works as I expect. OK. I understand what you mean. I have pushed a patch that should mimic usual comment behaviour in Org. Thanks. Regards, -- Nicolas Goaziou

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Thorsten Jolitz
Nick Dokos writes: > Thorsten Jolitz writes: > >> Thorsten Jolitz writes: >> >> PS >> >>> How could I get my hands on the 'info' plist during the buffer parsing >>> and save it for later use in calls like >> >> As far as I understand it, the 'info' plist is actually dynamically >> created and m

Re: [O] Orgmode fails to export specific web-links as latex/pdf

2013-07-10 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas Goaziou writes: >> According to hyperref documentation # and ~ need not be escaped. Though, >> %, { and } do. I'm not sure about \, ^ and _. >> >> Also, I don't think \url command has the same problem, so escaping can >> happen later in the function, not at the

Re: [O] Orgmode fails to export specific web-links as latex/pdf

2013-07-10 Thread Bastien
Nicolas Goaziou writes: > I will have a look at it, but this is not clear to me either. I still > have to understand what should be escaped, and when. All right, no hurry! And thanks a lot in advance, -- Bastien

[O] [SOLVED] Re: Feature Request: Let Org-mode tasks (subtasks) complete percent state more *accurate*.

2013-07-10 Thread chris
Excerpts from [ Eric S Fraga ] On [2013-07-10 09:51:59 +0100]: > chris writes: > > [...] on how org counts completed tasks > > > I hope Org-mode can improve this. > > Well, this is a matter of interpretation. Org is counting how many of > the main tasks are complete. Sub-tasks are not a

[O] Loading several latex classes for ox-latex

2013-07-10 Thread Julien Cubizolles
How can I run several add-to-list after a given package is loaded ? I could of course do multiples: (eval-after-load 'package_name '(add-to-list 'element 'list)) but I'm sure there's a more elegant way. I tried the following: --8<---cut here---start->8--- (eva

Re: [O] Loading several latex classes for ox-latex

2013-07-10 Thread Nicolas Richard
Julien Cubizolles writes: > I tried the following: > --8<---cut here---start->8--- > (eval-after-load 'ox-latex > (progn '(add-to-list 'org-latex-classes > '("mpsi_beamer" "\\documentclass{mpsi_beamer}\n > [NO-DEFAULT-PACKAGES]" >

[O] Make background export a little louder

2013-07-10 Thread Rasmus
Hi, I finally got org-export-in-background working in a nice way reducing the async-init file load to a third of my normal init file. It's very nice not to have my Emacs blocked. However, I would now like to have a bit of feedback from `org-export-stack' if possible. I know that `org-export-in-b

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Jambunathan K
Add a filter or a translator. One of the arguments to that filter is the plist you are looking for. Work back from there and you will get the right APIs to use. The snippet below from ox-odt.el should be a good starting point for further exploration. The translators do fairly *non-trivial* tra

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Thorsten Jolitz
Jambunathan K writes: > Add a filter or a translator. One of the arguments to that filter is > the plist you are looking for. Work back from there and you will get > the right APIs to use. > > The snippet below from ox-odt.el should be a good starting point for > further exploration. The trans

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Eric Abrahamsen
Thorsten Jolitz writes: > Nick Dokos writes: > >> Thorsten Jolitz writes: >> >>> Thorsten Jolitz writes: >>> >>> PS >>> How could I get my hands on the 'info' plist during the buffer parsing and save it for later use in calls like >>> >>> As far as I understand it, the 'info' plist i

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Eric Abrahamsen
Thorsten Jolitz writes: > Robert Klein writes: > > Hi Robert, > >> I'm currently playing around with retrieving options, e.g. functions like: > >> #+begin_src elisp >> (defun org-find-export-option (file option-name &optional backend) ... > > thanks, that brought me on the right track, I was sea

Re: [O] agenda problem or my set up is a problem?

2013-07-10 Thread Charles
Noorul, Nick and others, On 7/8/2013 8:00 AM, Charles wrote: I just did a clean org mode install (twice) * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @ c:/cygwin/home/Charlie/elisp/Org-Mode/lisp/) * emacs GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-28 on MARVIN emacs on windows

[O] Help with new exporter

2013-07-10 Thread John Rakestraw
Greetings, list -- I've been using Philip Hirschhorn's exam documentclass (http://www-math.mit.edu/~psh/#ExamCls) for several years to produce my exams. I've been writing the exams in org-mode and using the exporter to produce the pdf. I've recently moved to org 8.0. (I like it!) I've success

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Thorsten Jolitz
Eric Abrahamsen writes: > Thorsten Jolitz writes: > >> Nick Dokos writes: >> >>> Thorsten Jolitz writes: >>> Thorsten Jolitz writes: PS > How could I get my hands on the 'info' plist during the buffer parsing > and save it for later use in calls like As f

Re: [O] Help with new exporter

2013-07-10 Thread Robert Klein
Hi John, would you mind posting an example of the org file, too? It would be easier for me to wrap my thoughts about this.. (The gurus probably don't it...) Thanks a lot Robert On 07/10/2013 06:32 PM, John Rakestraw wrote: > Greetings, list -- > > I've been using Philip Hirschhorn's exam doc

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Jambunathan K
Thorsten Jolitz writes: > Looking in the source-code is of course the best way to find out, but I > thought I would have access to all function-names anyway with > > ,-- > | C-h f org-export- TAB > `-- > > until I figured out that defining some autoloads a

Re: [O] Help with new exporter

2013-07-10 Thread John Rakestraw
Hi, Robert -- would you mind posting an example of the org file, too? It would be easier for me to wrap my thoughts about this.. (The gurus probably don't it...) Sure. (I should have included it earlier; I was worried that my message was already too long.) Here's one that worked with the ol

[O] Cannot convert to Odt

2013-07-10 Thread Tim Hawes
I am running Emacs 24.2 (installed from a bootstrapped pkgsrc) on Ubuntu Linux 12.04 When I try to convert my org doc to odt format, it fails. I have tried two different versions of org-mode. Version 7.8.11 that comes with Emacs 24.2 and the latest from GNU Emacs Elpa 8.0.5 This is the *Messages*

Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-10 Thread flammable project
OK so let's move on Emacs 24... Thanks for the rapid answer! Basile 2013/7/10 Bastien > flammable project writes: > > > I'm trying to use ox-rss to generate a rss feed but I'm facing an > > error : > > > > let*: Symbol's function definition is void: url-encode-url > > Mh, yes, `url-encode-ur

Re: [O] possible bug: clocking in and out with STARTUP: logdrawer

2013-07-10 Thread Matthew Steffen
In case anybody else finds this thread: the problem is that the "logdrawer" startup option was added in org-mode 8, but I was using 7.8, so of course it didn't do anything. If you want this feature, you should use the right version :-D. On Fri, Jun 7, 2013 at 4:08 PM, Matthew Steffen wrote: > He

Re: [O] Cannot convert to Odt

2013-07-10 Thread Eric S Fraga
Tim Hawes writes: > I am running Emacs 24.2 (installed from a bootstrapped pkgsrc) on Ubuntu > Linux 12.04 > > When I try to convert my org doc to odt format, it fails. I have tried > two different versions of org-mode. Version 7.8.11 that comes with Emacs > 24.2 and the latest from GNU Emacs Elp

Re: [O] Cannot convert to Odt

2013-07-10 Thread Jambunathan K
Tim Hawes writes: > I am running Emacs 24.2 (installed from a bootstrapped pkgsrc) on Ubuntu > Linux 12.04 > > When I try to convert my org doc to odt format, it fails. I have tried > two different versions of org-mode. Version 7.8.11 that comes with Emacs > 24.2 and the latest from GNU Emacs Elp

Re: [O] Help with new exporter

2013-07-10 Thread Robert Klein
Hi John. thank you for the example org file. I made two kinds of changes, one in the org-latex-classes definition and one in the .org-file itself: I changed the class definition for org-latex-classes to #+begin_src emacs-lisp ("exam" "\\documentclass[12pt]{exam} % BEGIN exam D

Re: [O] fill-paragraph broken

2013-07-10 Thread Samuel Wales
Thank you. I confirm that it works. C-M-j in a comment also seems to work now. However, there is just one small bug: at the end of a line, it inserts a # on the next line, in the comment or outside of it depending on whether it is the last line. On 7/10/13, Nicolas Goaziou wrote: > Hello, > >

Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-10 Thread flammable project
Ok so mow I tried "GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4) of 2013-04-09 on komainu, modified by Debian" but with the same issue. here is my .emacs config: ;; ;; ORG Mode ;; (setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path)) (setq load-path (cons "~/.emacs.d/org-mode/co

Re: [O] Help with new exporter

2013-07-10 Thread Rasmus
Hi John, Sorry, I meant to email this to the list . . . > My problem is that I can't get the exporter to produce chunks like > this: > > \begin{questions} > \question > A paragraph describing how the students should answer the following > questions. > \begin{parts} > \part > A multi-line quest

Re: [O] tikz for multiple targets

2013-07-10 Thread Andreas Leha
Hi Eric, Eric S Fraga writes: > Rasmus writes: > > [...] > >> Tikz/pgf works for the latex exporter. Just insert it as a file link >> (with extension tikz or pgf) or as latex verbatim code. > > Yes, thanks. However, I guess I didn't explain very well what I was > looking for. > > I use tikz

Re: [O] Help with new exporter

2013-07-10 Thread John Rakestraw
Hi, Robert -- Thanks very much for your work on this. I'm now *much* closer than I was. However, I'm not there yet. Here's a snippet of the tex file that I need: --8<---cut here---start->8--- \begin{questions} \question A paragraph here describes this secti

Re: [O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-10 Thread Andreas Leha
Hi James, James Harkins writes: > At Wed, 03 Jul 2013 10:35:51 +0800, > James Harkins wrote: >> Anyway, I'm not convinced that org-odt-convert would meet my needs >> anyway. It will have to be a multi-worksheet file, and I'll have to >> extract just one or two of the worksheets. The macro might

Re: [O] Cannot convert to Odt

2013-07-10 Thread Tim Hawes
Jambunathan K writes: I am able to convert the same file on my home laptop with org-version 7.8.11 Nonetheless, I tried it with this minimal file: #+STARTUP: showeverything * Heading 1 1. Item 1 starting emacs with emacs -Q I am getting this error: ("emacs") Loading term/xterm...done For in

Re: [O] Help with new exporter

2013-07-10 Thread John Rakestraw
Apologies for responding to myself, but I realized after writing the message below that if I use sed to remove the lines with the word "label" and all of the empty brackets (i.e., =[]= and ={}= ) in the tex file, then I'm very, very close to what I need. I assume I could write a function and th

Re: [O] Cannot convert to Odt

2013-07-10 Thread Jambunathan K
Tim Hawes writes: > Jambunathan K writes: > > I am able to convert the same file on my home laptop with org-version > 7.8.11 > > Nonetheless, I tried it with this minimal file: > #+STARTUP: showeverything > > * Heading 1 > > 1. Item 1 > starting emacs with emacs -Q I am getting this error: >

[O] [BUG] org-agenda-list

2013-07-10 Thread Nick Dokos
I just pulled and I get the attached backtrace from org-agenda-list. I tried with -q -l minimal.emacs and it's still there. It's probably caused by commit 42691788273cecb75ec620d40cc5394d2cd95ed1. When I revert that, the agenda comes up properly. Org-mode version 8.0.5 (release_8.0.5-334-g1b1469 @

Re: [O] [BUG] org-agenda-list

2013-07-10 Thread Noorul Islam K M
Nick Dokos writes: > I just pulled and I get the attached backtrace from org-agenda-list. > I tried with -q -l minimal.emacs and it's still there. > It's probably caused by commit 42691788273cecb75ec620d40cc5394d2cd95ed1. > When I revert that, the agenda comes up properly. > > Org-mode version 8.

[O] default export templates broken?

2013-07-10 Thread Eric Abrahamsen
I wonder if something in the new export backend system has broken inserting export option templates? Choosing anything but "default" as the backend gives me this backtrace, in this case html. The offending functions seem to have no definition (compiler macros?) so I couldn't poke further, but it lo

Re: [O] Help with new exporter

2013-07-10 Thread Charles Berry
John Rakestraw johnrakestraw.com> writes: > > Apologies for responding to myself, but I realized after writing the > message below that if I use sed to remove the lines with the word > "label" and all of the empty brackets (i.e., =[]= and ={}= ) in the tex > file, then I'm very, very close to

Re: [O] Help with new exporter

2013-07-10 Thread Robert Klein
Hi John, I don't think I had those square brackets, yesterday, but see at the end about them. Anyway, I thought of something which gives me a result I'd say is Ok for me: 1. Change the .org files as follows - add a space to empty headings (as written yesterday) - add "texht:nil" to the #+

Re: [O] Loading several latex classes for ox-latex

2013-07-10 Thread Julien Cubizolles
Nicolas Richard writes: > that's because your (progn) is unquoted and thus evaluated at the same > time as eval-after-load, i.e. it returns its last value (which is the > second add-to-list form) and that is what is being added to the > eval-after-load list. What you want is the whole (progn) ad

Re: [O] tikz for multiple targets

2013-07-10 Thread Eric Schulte
> > I updated the example again. Try this: > > --8<---cut here---start->8--- > #+LATEX_HEADER: \usepackage{tikz} > > * Tikz test > #+name: contents > #+header: :exports (if (and (boundp 'backend) (eq (org-export-backend-name > backend) (intern "latex"))) "resul

Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-10 Thread Bastien
flammable project writes: > Any ideas? Can you check if you have `url-encode-url'? C-h f url-encode-url RET will tell you. It is an autoloaded function, so you don't need to (require 'url-util), but if you can browse your Emacs sources, it should be in there. HTT, -- Bastien

Re: [O] [BUG] org-agenda-list

2013-07-10 Thread Bastien
Hi Nick, Nick Dokos writes: > I just pulled and I get the attached backtrace from org-agenda-list. > I tried with -q -l minimal.emacs and it's still there. > It's probably caused by commit 42691788273cecb75ec620d40cc5394d2cd95ed1. > When I revert that, the agenda comes up properly. I'm in a hur

Re: [O] default export templates broken?

2013-07-10 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > I wonder if something in the new export backend system has broken > inserting export option templates? Choosing anything but "default" as > the backend gives me this backtrace, in this case html. The offending > functions seem to have no definition (compiler macr

[O] org-publish error: "Stack overflow in regexp matcher"

2013-07-10 Thread Vikas Rawal
When I try to publish my site built with org-mode, it scans through all files to create the sitemap, and hangs up with error: "Stack overflow in regexp matcher". Oddly, it scans through all files including the static content. It goes through all tar.gz files, pdf files, and what not. My projec