Re: [O] tikz for multiple targets

2013-07-11 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))) results none)

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

2013-07-11 Thread Bastien
flammable project flammable.proj...@gmail.com 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,

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

2013-07-11 Thread Bastien
Hi Nick, Nick Dokos ndo...@gmail.com 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.

Re: [O] default export templates broken?

2013-07-11 Thread Nicolas Goaziou
Hello, Eric Abrahamsen e...@ericabrahamsen.net 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

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

2013-07-11 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 project

Re: [O] fill-paragraph broken

2013-07-11 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: C-M-j in a comment also seems to work now. I doubt it does. 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. newcomment.el

[O] [Feature request] Add :export option to ox-bibtex.el

2013-07-11 Thread feng shu
bibtex2html can't recognize the style file in current dir ( -s ./customstyle.bst ) and it can't deal with customize bib style file very well. So, is it possible use different bibtex styles when I export to html? For example: #+BIBLIOGRAPHY: hbuuthesis plain limit:t option:-i export:html

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric S Fraga
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Eric, [...] I updated the example again. Try this: Brilliant. Thanks. This works perfectly. I can see the changes you've made and they make sense (in hindsight for me) except for the (intern latex) bit... but this is probably to

Re: [O] fill-paragraph broken

2013-07-11 Thread Samuel Wales
Is there a way to just get C-M-j to do what it does in other modes? I almost never need Org-specific behavior for these things, actually. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free

Re: [O] fill-paragraph broken

2013-07-11 Thread Nicolas Goaziou
Samuel Wales samolog...@gmail.com writes: Is there a way to just get C-M-j to do what it does in other modes? Short answer: no. Long answer: please read again this thread. Regards, -- Nicolas Goaziou

[O] [bug] latex export ascii encoding

2013-07-11 Thread Jan-Mark Batke
All, exporting latex causes some trouble here. - exporting utf-8 ascii does work - exporting latin-1 ascii does not work, - the file format is set correctly (1 in mode-line displayed) - inputenc option is set to latin1 - content is corrupted, e.g. üöä becomes üöä using Org-mode version

Re: [O] tikz for multiple targets

2013-07-11 Thread Rasmus
Eric Schulte schulte.e...@gmail.com writes: Building from this example, the attached patch to ob-latex.el combined with the attached org-mode file should export the latex (tikz) code as an inline SVG image to HTML and as embedded tikz to latex. If this works generally I can commit the patch

[O] How can I write side by side code comparison table

2013-07-11 Thread Jisang Yoo
I can write a table: | Python | Emacs Lisp | |+| ||| and I can write two source code blocks: #+BEGIN_SRC python a = [0, 1, 2] a[0] += 10 #+END_SRC #+BEGIN_SRC elisp (setq a (vector 0 1 2)) (cl-incf (elt a 0) 10) #+END_SRC but I don't know how to

[O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Rainer Stengele
Hi, since the last pull I cannot start any agenda without getting this message: cond: Wrong type argument: sequencep, :newline setting debug-on-error to t does not show more info. Any idea what could be wrong? Regards, Rainer

Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Noorul Islam K M
Rainer Stengele rainer.steng...@online.de writes: Hi, since the last pull I cannot start any agenda without getting this message: cond: Wrong type argument: sequencep, :newline setting debug-on-error to t does not show more info. Any idea what could be wrong? A fix was pushed recently

Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Rainer Stengele
Am 11.07.2013 11:45, schrieb Noorul Islam K M: Rainer Stengele rainer.steng...@online.de writes: Hi, since the last pull I cannot start any agenda without getting this message: cond: Wrong type argument: sequencep, :newline setting debug-on-error to t does not show more info. Any idea

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

2013-07-11 Thread Rainer Stengele
Am 11.07.2013 08:38, schrieb Bastien: Hi Nick, Nick Dokos ndo...@gmail.com 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

Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Rainer Stengele
Am 11.07.2013 11:49, schrieb Rainer Stengele: Am 11.07.2013 11:45, schrieb Noorul Islam K M: Rainer Stengele rainer.steng...@online.de writes: Hi, since the last pull I cannot start any agenda without getting this message: cond: Wrong type argument: sequencep, :newline setting

Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Noorul Islam K M
Rainer Stengele rainer.steng...@online.de writes: Am 11.07.2013 11:45, schrieb Noorul Islam K M: Rainer Stengele rainer.steng...@online.de writes: Hi, since the last pull I cannot start any agenda without getting this message: cond: Wrong type argument: sequencep, :newline setting

Re: [O] tikz for multiple targets

2013-07-11 Thread Andreas Leha
Hi Eric, Eric Schulte schulte.e...@gmail.com writes: 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

Re: [O] How can I write side by side code comparison table

2013-07-11 Thread Jambunathan K
Jisang Yoo jisang.yoo...@gmail.com writes: I can write a table: | Python | Emacs Lisp | |+| ||| and I can write two source code blocks: #+BEGIN_SRC python a = [0, 1, 2] a[0] += 10 #+END_SRC #+BEGIN_SRC elisp (setq a (vector 0 1 2))

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

2013-07-11 Thread Bastien
Rainer Stengele rainer.steng...@online.de writes: Yes, the fix works! Applied, thanks. -- Bastien

Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Bastien
Hi Noorul, Noorul Islam K M noo...@noorul.com writes: My bad, it was a patch submitted to the list for verification. Someone has verified it. Let us wait for this to be committed. Done, thanks! -- Bastien

[O] How can I set the maximum height of the other window created with org-agenda-follow-mode?

2013-07-11 Thread Trevor Murphy
I like turning on agenda-follow-mode by default, but I don't like how it automatically uses up half the frame real estate when it shows the other window. Is there a way to make that other window take only 25% of the frame? Leaving the remainder for the actual agenda? I didn't find any mention in

Re: [O] How can I set the maximum height of the other window created with org-agenda-follow-mode?

2013-07-11 Thread Bastien
Hi Trevor, Trevor Murphy trevor.m.mur...@gmail.com writes: I like turning on agenda-follow-mode by default, but I don't like how it automatically uses up half the frame real estate when it shows the other window. C-h v org-agenda-window-frame-fractions RET HTH, -- Bastien

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

2013-07-11 Thread Nick Dokos
Bastien b...@gnu.org writes: Rainer Stengele rainer.steng...@online.de writes: Yes, the fix works! Applied, thanks. Thanks! I just pulled again and I don't see the error any more. -- Nick

Re: [O] Cannot convert to Odt

2013-07-11 Thread Tim Hawes
Ok, there is a lot going on that I have no explanation for. The document in question converts just fine on my home laptop with org-version 7.8.11 (or does it? need to go home and check the resulting doc. It does convert, and libreoffice starts and opens the converted document) On my work

[O] Best way to let M-/ (dabbrev-expand) work for with code variables in prose via the =code= notation

2013-07-11 Thread Ahmed Fasih
I am enjoying literate programming with org-mode. I'd like to solicit advice on good ways to go about making one of my favorite emacs keycombinations, M-/ (dabbrev-expand), work with literate programming in org-mode. The setup: I have a code block in which a variable name is used. Later, outside

Re: [O] Help with new exporter

2013-07-11 Thread John Rakestraw
Hi, Robert -- This gets me still closer. Using the revised class definition, I get exactly what I need except that I'm still left with square brackets in tex file. That is, I want this: \begin{questions} or \begin{parts} but instead I get this: \begin[]{questions} or \begin[]{parts}

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
Eric S Fraga e.fr...@ucl.ac.uk writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Eric, [...] I updated the example again. Try this: Brilliant. Thanks. This works perfectly. I can see the changes you've made and they make sense (in hindsight for me) except for the

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
Rasmus ras...@gmx.us writes: Eric Schulte schulte.e...@gmail.com writes: Building from this example, the attached patch to ob-latex.el combined with the attached org-mode file should export the latex (tikz) code as an inline SVG image to HTML and as embedded tikz to latex. If this works

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
This is very nice and works well for me. I would very much like to see that in orgmode. Thanks a lot! Great, I've just committed this patch. Thanks for your original example which this simply extends. How do I extend your example to output latex for latex, svg for html and png in all

Re: [O] Cannot convert to Odt

2013-07-11 Thread Jambunathan K
Tim Hawes haw...@anx.com writes: The problem was a shell code fragment, the parser did not know what to do with: #+BEGIN_SRC sh nodaemon) nodaemon() ;; #+END_SRC Just making the code more comprehensible as shell code as thus: #+BEGIN_SRC sh case $1 in nodaemon)

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

2013-07-11 Thread Charles
On 7/11/2013 8:50 AM, Nick Dokos wrote: Bastien b...@gnu.org writes: Rainer Stengele rainer.steng...@online.de writes: Yes, the fix works! Applied, thanks. Thanks! I just pulled again and I don't see the error any more. Thank you Nick. I can now uncomment my (:newline . t)'s Charlie

Re: [O] How can I write side by side code comparison table

2013-07-11 Thread Rick Frankel
On 2013-07-10 18:00, Jisang Yoo wrote: I can write a table: ... but I don't know how to combine the two-column table with the two source code blocks in a way that exports to code tables like in Emergency Elisp how about for scalars as example blocks: #+name: emacs-scalar #+BEGIN_SRC

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

2013-07-11 Thread Charles
On 7/11/2013 1:51 PM, Charles wrote: Thank you Nick. I can now uncomment my (:newline . t)'s Charlie Oops, that's (:newline . nil)

Re: [O] tikz for multiple targets

2013-07-11 Thread Andreas Leha
Hi Eric, Eric Schulte schulte.e...@gmail.com writes: This is very nice and works well for me. I would very much like to see that in orgmode. Thanks a lot! Great, I've just committed this patch. Thanks for your original example which this simply extends. How do I extend your example

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
Thanks for the quick answer. I am aware, that imagemagick is needed. Let me rephrase my question using your example: #+LATEX_HEADER: \usepackage{tikz} First execute the second code block, to define the convenience macro and to set the required new variables in ob-latex.el. Then export to

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

2013-07-11 Thread flammable project
So here we are, The package provided in (X)ubuntu 13.4 is this one : GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4) of 2013-04-09 on komainu, modified by Debian. I tried C-h f url-encode-url RET but wihout the expected results. I tried to find something with google and I seems that

Re: [O] How can I set the maximum height of the other window created with org-agenda-follow-mode?

2013-07-11 Thread Eric S Fraga
Bastien b...@gnu.org writes: Hi Trevor, Trevor Murphy trevor.m.mur...@gmail.com writes: I like turning on agenda-follow-mode by default, but I don't like how it automatically uses up half the frame real estate when it shows the other window. C-h v org-agenda-window-frame-fractions RET

[O] Embedded Tikz Picture

2013-07-11 Thread Julien Cubizolles
What would be the best way to use some tikz code in an org-file ? 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 export to LaTeX. I also tried embedding the corresponding LaTeX code, but I only got

[O] Several questions about beamer export

2013-07-11 Thread Julien Cubizolles
I'm trying to switch all my LaTeX needs to orgmode but I'm still confused by several little things I could not understand in the manual. I'm not sure what the policy is on the mailing-list, let me know if it's best to split this message into several ones. * What's the difference between

[O] Export to LaTeX and Beamer

2013-07-11 Thread Julien Cubizolles
I need to export different parts of an org file with different LaTeX classes, one of which is a beamer style. I've come up with the following solution: manually switching the LATEX_CLASS for each export, and using SELECT_TAGS to choose which headings to export. For the following file * First

Re: [O] Embedded Tikz Picture

2013-07-11 Thread Eric Schulte
Julien Cubizolles j.cubizol...@free.fr writes: What would be the best way to use some tikz code in an org-file ? 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 export to LaTeX. I also tried

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric S Fraga
Eric Schulte schulte.e...@gmail.com writes: This is very nice and works well for me. I would very much like to see that in orgmode. Thanks a lot! Great, I've just committed this patch. Thanks for your original example which this simply extends. Thanks for this Eric! I've tried it out

Re: [O] Help with new exporter

2013-07-11 Thread John Rakestraw
Hi, list -- I understand the value of working on this myself -- what better way to learn? -- but after a few hours of reading the docs and scouring the list, I've reached the point of seeking at least a hint for where to go. (There's much more information higher in this thread, but I'm trying

Re: [O] tikz for multiple targets

2013-07-11 Thread Andreas Leha
Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Thanks for the quick answer. I am aware, that imagemagick is needed. Let me rephrase my question using your example: #+LATEX_HEADER: \usepackage{tikz} First execute the second code block, to define the convenience macro and to set the

Re: [O] How can I set the maximum height of the other window created with org-agenda-follow-mode?

2013-07-11 Thread Trevor Murphy
Eric's correct. My original message must not have been clear enough, my bad. I did find org-agenda-window-frame-fractions, and I tried setting it to '(0.75 . 0.75). On a lark I also tried '(0.9 . 0.9). In those cases, the agenda window initially popped up at 75% and 90% of the frame,

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: This is very nice and works well for me. I would very much like to see that in orgmode. Thanks a lot! Great, I've just committed this patch. Thanks for your original example which this simply extends.

[O] Fwd: [Feature request] Add :export option to ox-bibtex.el

2013-07-11 Thread feng shu
Forgot to mention: the main reason of adding this feature is that I want to use biblatex instead of bibtex when I export to latex. -- Forwarded message -- From: feng shu tuma...@gmail.com Date: Thu, Jul 11, 2013 at 3:20 PM Subject: [Feature request] Add :export option to

Re: [O] Help with new exporter

2013-07-11 Thread Thomas S. Dye
Hi John, I think your search string might better be \[\], or something along those lines (perhaps it needs to be \\[\\]). hth, Tom John Rakestraw li...@johnrakestraw.com writes: Hi, list -- I understand the value of working on this myself -- what better way to learn? -- but after a few

Re: [O] Several questions about beamer export

2013-07-11 Thread Nick Dokos
Julien Cubizolles j.cubizol...@free.fr writes: ... * All the headers I add end up on the same line when I define them like in the following (even with an empty line). #+LATEX_HEADER_EXTRA: \institute{My Institure} #+LATEX_HEADER:\usepackage{mypackage} The LaTeX file produced is

Re: [O] Several questions about beamer export

2013-07-11 Thread Julien Cubizolles
Nick Dokos ndo...@gmail.com writes: Julien Cubizolles j.cubizol...@free.fr writes: ... * All the headers I add end up on the same line when I define them like in the following (even with an empty line). #+LATEX_HEADER_EXTRA: \institute{My Institure}

Re: [O] Embedded Tikz Picture

2013-07-11 Thread Julien Cubizolles
Eric Schulte schulte.e...@gmail.com writes: Julien Cubizolles j.cubizol...@free.fr writes: Finally it seems Babel could be the way to go but I'm not sure what it offers for LaTeX source with respect to Embedded LaTeX in this case. I actually just added this example to worg today, it should