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 writes: > Eric's correct. My original message must not have been clear > enough, my bad. Yes -- I've read too fast. I don't know about a good solution, but maybe I've not looked hard enough... Best, -- Bastien

[O] [Patch] ob-ditaa.el for Cygwin

2013-07-11 Thread Yujie Wen
Hi, ob-ditaa.el calls Java VM to generate pictures. Unfortunately, Cygwin doesn't have native Java VM. In order to call the Windows native Java VM properly, all Cygwin paths pointing to ditaa.jar, the temporary input file and the output picture file must be changed to Windows native paths, for e

Re: [O] Embedded Tikz Picture

2013-07-11 Thread Julien Cubizolles
Eric Schulte writes: > Julien Cubizolles 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 answer your > question. > > Cheer

Re: [O] Several questions about beamer export

2013-07-11 Thread Julien Cubizolles
Nick Dokos writes: > Julien Cubizolles 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 LaT

Re: [O] Several questions about beamer export

2013-07-11 Thread Nick Dokos
Julien Cubizolles 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 not very read

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 writes: > Hi, list -- > > I understand the value of working on this myself -- what better way to > learn? -- but after a few hours of readin

[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 Date: Thu, Jul 11, 2013 at 3:20 PM Subject: [Feature request] Add :export option to ox-bibtex.el To: ema

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
Eric S Fraga writes: > Eric Schulte 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 E

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, respect

Re: [O] tikz for multiple targets

2013-07-11 Thread Andreas Leha
Hi Eric, Eric Schulte 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 requi

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 Eric S Fraga
Eric Schulte 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 just now (on

Re: [O] Embedded Tikz Picture

2013-07-11 Thread Eric Schulte
Julien Cubizolles 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 embedding t

[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 sect

[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 BEAMER_ENV

[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

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 writes: > Hi Trevor, > > Trevor Murphy 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, I am not

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] 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

Re: [O] tikz for multiple targets

2013-07-11 Thread Andreas Leha
Hi Eric, Eric Schulte 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 to outp

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] 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 emacs-li

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

2013-07-11 Thread Charles
On 7/11/2013 8:50 AM, Nick Dokos wrote: Bastien writes: Rainer Stengele 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] Cannot convert to Odt

2013-07-11 Thread Jambunathan K
Tim Hawes 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] 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

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
Rasmus writes: > Eric Schulte 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 t

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric Schulte
Eric S Fraga writes: > Andreas Leha 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 p

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} (Those

[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 t

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 laptop,

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

2013-07-11 Thread Nick Dokos
Bastien writes: > Rainer Stengele writes: > >> Yes, the fix works! > > Applied, thanks. Thanks! I just pulled again and I don't see the error any more. -- Nick

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 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

[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] Starting agenda commands fail with error: "cond: Wrong type argument: sequencep, :newline"

2013-07-11 Thread Bastien
Hi Noorul, Noorul Islam K M 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

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

2013-07-11 Thread Bastien
Rainer Stengele writes: > Yes, the fix works! Applied, thanks. -- Bastien

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

2013-07-11 Thread Jambunathan K
Jisang Yoo 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)) > (cl-incf (e

Re: [O] tikz for multiple targets

2013-07-11 Thread Andreas Leha
Hi Eric, Eric Schulte 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 (org-export-backend-

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

2013-07-11 Thread Noorul Islam K M
Rainer Stengele writes: > Am 11.07.2013 11:45, schrieb Noorul Islam K M: > >> Rainer Stengele 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

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 writes: >> >>> Hi, >>> >>> since the last pull I cannot start any agenda without getting this message: >>> >>> cond: Wrong type argument: sequencep, :newline >>> >>> setting debug-on-e

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

2013-07-11 Thread Rainer Stengele
Am 11.07.2013 08:38, schrieb 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

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 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

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

2013-07-11 Thread Noorul Islam K M
Rainer Stengele 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 for this. You migh

[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

[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

Re: [O] tikz for multiple targets

2013-07-11 Thread Rasmus
Eric Schulte 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 to ob-latex.el.

[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] fill-paragraph broken

2013-07-11 Thread Nicolas Goaziou
Samuel Wales 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

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 Ka

Re: [O] tikz for multiple targets

2013-07-11 Thread Eric S Fraga
Andreas Leha 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 do with how eq works I guess.

[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 \bibl

Re: [O] fill-paragraph broken

2013-07-11 Thread Nicolas Goaziou
Hello, Samuel Wales 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" doesn't provid