[O] CV, org-mode, and pdf

2015-09-14 Thread Dan Griswold
Dear org-mode community, A year ago, there was a thread here, started by Rainer Krug, on using org-mode to produce nice looking CVs. I had contributed once to that thread, offering a broken example of what I do. Then I dropped out of sight. Now I'm finally getting around to filling in the

Re: [O] two sets of default header arguments for one language

2015-09-14 Thread Alan Schmitt
On 2015-09-11 11:36, Alan Schmitt writes: > On 2015-09-11 00:39, "Charles C. Berry" writes: > Is there a way to have two sets of default arguments for a given language, or can I declare a new language just for the sake of different

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Lawrence Bottorff writes: > I think this > (https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/) > describes my problem. Basically, it's with ob-scheme.el. The article > seems to say that my problem is scheme stuff being handled improperly > by

Re: [O] CV, org-mode, and pdf

2015-09-14 Thread Eric S Fraga
On Monday, 14 Sep 2015 at 10:31, Dan Griswold wrote: > Dear org-mode community, > > A year ago, there was a thread here, started by Rainer Krug, on using > org-mode to produce nice looking CVs. [...] > There are two pieces to my solution: first, setting up org-mode with a new > latex class,

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Lawrence Bottorff
So it looks like Scheme is not a Babel language after all. Is there a formal "bug report" to do? On Mon, Sep 14, 2015 at 1:39 PM, Nick Dokos wrote: > Lawrence Bottorff writes: > > > I think this > > ( >

[O] remote plot with local output?

2015-09-14 Thread Benda Xu
Dear All, I am looking for a way to configure org-babel so that a program runs remotely and outputs locally. An example is #+NAME: line | 1 | | 2 | | 3 | #+BEGIN_SRC python :results file :var dt=line :dir /ipmuap02:/tmp from matplotlib import pylab as plt plt.plot(dt)

[O] Limit on macro snippet size?

2015-09-14 Thread Thomas S . Dye
Aloha all, I couldn't find any information on this in the manual or the mailing list, though I vaguely recall some discussion on the list a while back. Is there a limit on the length of text that a macro like this will process? #+MACRO: green \textcolor{PaleGreen4}{$1} I have 2 and 3 line

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Suvayu Ali
Hi Tom, On Mon, Sep 14, 2015 at 06:40:48AM -1000, Thomas S. Dye wrote: > > I couldn't find any information on this in the manual or the mailing > list, though I vaguely recall some discussion on the list a while back. > > Is there a limit on the length of text that a macro like this will >

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Eric S Fraga
On Monday, 14 Sep 2015 at 06:40, Thomas S.Dye wrote: > Aloha all, > > I couldn't find any information on this in the manual or the mailing > list, though I vaguely recall some discussion on the list a while back. > #+MACRO: green \textcolor{PaleGreen4}{$1} > Is there a limit on the length of

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Rasmus
Eric S Fraga writes: > Less fragile, so long as there are no paragraph breaks maybe... But much less portable. I think the limitation is that no newlines are allowed, but I did not check the source. Rasmus Example: #+macro: identity foo-$1 {{{identity(Lorem

Re: [O] remote plot with local output?

2015-09-14 Thread Suvayu Ali
On Tue, Sep 15, 2015 at 12:11:03AM +0900, Benda Xu wrote: > > My solution is to cache the result (:cache yes), execute the code block, > copy the output file to localhost, update the #+RESULTS link to the > local one, manually. Now I am facing many such tasks and feel like > automating that.

Re: [O] create vector-graphics with org-babel

2015-09-14 Thread Suvayu Ali
On Wed, Sep 09, 2015 at 09:50:58AM +0200, Max Linke wrote: > Hi > > I'm trying to use vector graphics in my org document > > #+BEGIN_SRC ipython :session :file iso.svg :exports results > x = np.linspace(0, 10, 100) > y = np.sin(x) > plt.plot(x, y) > #+END_SRC > > I can run this cell with

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Suvayu Ali
On Mon, Sep 14, 2015 at 07:24:52PM +0200, Rasmus wrote: > Eric S Fraga writes: > > > Less fragile, so long as there are no paragraph breaks maybe... > > But much less portable. > > I think the limitation is that no newlines are allowed, but I did not > check the source. But

[O] inter-word space in org -> latex

2015-09-14 Thread Dan Griswold
Dear org-mode community, In LaTeX, a space after a period is treated as an inter-sentence space, which is wider than an inter-word space. This can lead to overly wide spacing after a period that ends an abbreviation rather than a space. The way to cover this in LaTeX is to use a backslash prior

Re: [O] inter-word space in org -> latex

2015-09-14 Thread Suvayu Ali
On Mon, Sep 14, 2015 at 10:42:25AM -0400, Dan Griswold wrote: > Dear org-mode community, > > In LaTeX, a space after a period is treated as an inter-sentence space, > which is wider than an inter-word space. This can lead to overly wide > spacing after a period that ends an abbreviation rather

Re: [O] inter-word space in org -> latex

2015-09-14 Thread Rasmus
Hi Dan, Dan Griswold writes: > Dear org-mode community, > > In LaTeX, a space after a period is treated as an inter-sentence space, > which is wider than an inter-word space. This can lead to overly wide > spacing after a period that ends an abbreviation rather than a space.

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Thomas S . Dye
Hi Suvayu, Suvayu Ali writes: > Hi Tom, > > On Mon, Sep 14, 2015 at 06:40:48AM -1000, Thomas S. Dye wrote: >> >> I couldn't find any information on this in the manual or the mailing >> list, though I vaguely recall some discussion on the list a while back. >> >>

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Suvayu Ali
Hey Tom, On Mon, Sep 14, 2015 at 07:34:39AM -1000, Thomas S. Dye wrote: > Suvayu Ali writes: > > > show it actually works. How does the failure happen, what do you see in > > the exported file? > > \textcolor{PaleGreen4}\{the only weapons they had were a > few

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Suvayu Ali
On Mon, Sep 14, 2015 at 07:40:24PM +0200, Suvayu Ali wrote: > Hey Tom, > > On Mon, Sep 14, 2015 at 07:34:39AM -1000, Thomas S. Dye wrote: > > Suvayu Ali writes: > > > > > show it actually works. How does the failure happen, what do you see in > > > the exported

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Thomas S . Dye
Hi Suvayu, Suvayu Ali writes: >> > #+macro: green @@l:\textcolor{PaleGreen4}{@@$1@@l:}@@ >> >> This doesn't work for me. The latex output isn't marked up, but the >> text passed to $1 appears in the tex file. > > Sorry, I have a shortcut for latex snippets to l.

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Lawrence Bottorff
On Mon, Sep 14, 2015 at 6:55 PM, Nick Dokos wrote: > > So it looks like Scheme is not a Babel language after all. > > What do you mean? There is an ob-scheme.el but it's buggy: I suspect > that every ob-*.el is buggy to some extent. Does that mean that every > language that

[O] Bug: org-mime-htmlize fails [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]

2015-09-14 Thread Uwe Brauer
Hello For the following example, $$w∈ {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq M_0, w(t,x)\leq 0}$$ org-mime-htmlize fails with the following message Failed to create dvi file from /tmp/orgtex2867k_U.tex The above example works for Xemacs 21.5.34 and org 7.8.03!!

Re: [O] Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]

2015-09-14 Thread Charles C. Berry
On Mon, 14 Sep 2015, Uwe Brauer wrote: Hello For the following example, $$w∈ {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq M_0, w(t,x)\leq 0}$$ $$w\in {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq M_0, w(t,x)\leq 0}$$ works for me. Maybe you need some

Re: [O] Favorite way of syncing?

2015-09-14 Thread Eric Abrahamsen
Myles English writes: > Eric, > > Eric Abrahamsen writes: > >> Myles English writes: >> >>> https://myrepos.branchable.com >>> https://github.com/RichiH/vcsh >>> http://gitolite.com/gitolite/index.html >> >> Uh oh, I might have to start playing

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Nick Dokos writes: > N.B. this is with guile: I have not tried chicken, MIT Scheme or any > other scheme implementation. > A comment on SO says that geiser (which is used by ob-scheme) only supports guile and racket, so until that changes, chicken or MIT Scheme won't work:

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Nick Dokos writes: > Nick Dokos writes: > >> N.B. this is with guile: I have not tried chicken, MIT Scheme or any >> other scheme implementation. >> > > A comment on SO says that geiser (which is used by ob-scheme) > only supports guile and racket, so until

Re: [O] Org-lint error

2015-09-14 Thread Thomas S . Dye
Aloha all, Answering myself here. Thomas S. Dye writes: > Aloha all, > > In the process of tracking down misbehavior during export, I ran > org-lint, which failed with this error: > > Debugger entered--Lisp error: (wrong-number-of-arguments max 0) > max() > apply(max nil) >

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Lawrence Bottorff writes: > On Mon, Sep 14, 2015 at 6:55 PM, Nick Dokos wrote: >   > > > So it looks like Scheme is not a Babel language after all. > > What do you mean? There is an ob-scheme.el but it's buggy: I suspect > that every ob-*.el

[O] babel stopping export after updating to org 8.3

2015-09-14 Thread Aviv
Hi! I just upgraded to org 8.3 and am stuck with an export issue. When I try to export a file with just "#+begin_src" and " "#+end_src" as the only lines, I get the error "user-error: No language for src block: (unnamed)". It seems like it is calling org-babel-exp-process-buffer -- but

Re: [O] obtain ob-template.el for Babel language extension

2015-09-14 Thread Thomas S . Dye
Aloha all, I took the liberty of forwarding Marco's queries to Eric Schulte, the author of ob-template.el. Eric no longer maintains Babel or reads the mailing list, but he replied to the queries as follows: > Marco Maggesi writes: > >> Hi, >> >> I also have a few

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Nick Dokos writes: > Lawrence Bottorff writes: > >> I think this >> (https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/) >> describes my problem. Basically, it's with ob-scheme.el. The article >> seems to say that my problem

Re: [O] babel stopping export after updating to org 8.3

2015-09-14 Thread Robert Klein
Hi Aviv wrote: > Hi! > > I just upgraded to org 8.3 and am stuck with an export issue. > > When I try to export a file with just "#+begin_src" and " "#+end_src" as the > only lines, I get the error > "user-error: No language for src block: (unnamed)". > > It seems like it is calling

Re: [O] remote plot with local output?

2015-09-14 Thread Charles C. Berry
On Tue, 15 Sep 2015, Benda Xu wrote: Dear All, I am looking for a way to configure org-babel so that a program runs remotely and outputs locally. An example is #+NAME: line | 1 | | 2 | | 3 | #+BEGIN_SRC python :results file :var dt=line :dir /ipmuap02:/tmp from matplotlib import

Re: [O] Please confirm your message

2015-09-14 Thread Denis Bitouzé
Le 14/09/15 à 08h36, Gmane Remailer a écrit : > This message was created automatically by mail delivery software (TMDA). > > Your message attached below is being held because the address > has not been verified. > > To release your message for delivery, please send an

Re: [O] Please confirm your message

2015-09-14 Thread Denis Bitouzé
Le 14/09/15 à 09h12, Gmane Remailer a écrit : > This message was created automatically by mail delivery software (TMDA). > > Your message attached below is being held because the address > has not been verified. > > To release your message for delivery, please send an

Re: [O] Bug: \vert{} exported to markdown not as expected [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/bitouze/.emacs.d/elpa/org-20150907/)]

2015-09-14 Thread Denis Bitouzé
Le 14/09/15 à 02h10, "Charles C. Berry" a écrit : > On Sun, 13 Sep 2015, Nicolas Goaziou wrote: > >> >> >> Denis Bitouzé writes: >> > [...] > >> Markdown export back-end use :html conventions to translate entities. >> For

Re: [O] Bug: \vert{} exported to markdown not as expected [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/bitouze/.emacs.d/elpa/org-20150907/)]

2015-09-14 Thread Denis Bitouzé
Le 13/09/15 à 22h47, Nicolas Goaziou a écrit : > Denis Bitouzé writes: > >> 1. For _, \under{} is necessary since _ at the org mode level is >>exported as \_. >> 2. For |, source | could be okay. But I'd like to

Re: [O] Bug: Extra blank line in subitem list when exported to markdown [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/bitouze/.emacs.d/elpa/org-20150907/)]

2015-09-14 Thread Denis Bitouzé
Le 13/09/15 à 22h41, Nicolas Goaziou a écrit : > Hello, Hello, > dbito...@wanadoo.fr (Denis Bitouzé) writes: > >> When exported to markdown, an extra blank line is added in subitem >> lists, as shown by the following minimal example. >> >> #+NAME: test.org >>

Re: [O] Single outer smart quotes.

2015-09-14 Thread Leonard Randall
Thanks for the help! On 13 September 2015 at 21:10, Nicolas Goaziou wrote: > Hello, > > Leonard Randall writes: > > > The new smart quotes algorithm does not seem to capture British style > > quoting (single outer quotes, double inner

[O] 2 issues with Include function

2015-09-14 Thread Leonard Randall
Hi, I noticed 2 more issues with the include function on latex export. The first, is that when I make an id link between 2 included files, the exporter gives the section associated with the linked header the same label as the header where the link is located. So for instance if I include two files

[O] MobileOrg PGP Encryption

2015-09-14 Thread Tobias Frischholz
Today I’ve installed MobileOrg for iOS. Looks like this app needs a total UI overhaul (looking like iOS6) :( Unfortunately, all my org files are PGP encrypted, but MobileOrg only offers me password decryption. So there’s no chance of accessing my files? Best regards, Tobias Frischholz

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Suvayu Ali
On Mon, Sep 14, 2015 at 08:49:17AM -1000, Thomas S. Dye wrote: > Hi Suvayu, > > Suvayu Ali writes: > > > Hey Tom, > > > > On Mon, Sep 14, 2015 at 07:34:39AM -1000, Thomas S. Dye wrote: > >> Suvayu Ali writes: > >> > >> > show it

[O] Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]

2015-09-14 Thread Uwe Brauer
Hello For the following example, $$w∈ {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq M_0, w(t,x)\leq 0}$$ org-toggle-latex-fragment fails to generate a png org-mime-htmlize fails as well but a separate bug report will be submitted. The above example works for Xemacs 21.5.34

Re: [O] Limit on macro snippet size?

2015-09-14 Thread Thomas S . Dye
Hi Suvayu, Suvayu Ali writes: > Hey Tom, > > On Mon, Sep 14, 2015 at 07:34:39AM -1000, Thomas S. Dye wrote: >> Suvayu Ali writes: >> >> > show it actually works. How does the failure happen, what do you see in >> > the exported file?

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Lawrence Bottorff writes: > So it looks like Scheme is not a Babel language after all. What do you mean? There is an ob-scheme.el but it's buggy: I suspect that every ob-*.el is buggy to some extent. Does that mean that every language that babel supports is not a babel

[O] Org-lint error

2015-09-14 Thread Thomas S . Dye
Aloha all, In the process of tracking down misbehavior during export, I ran org-lint, which failed with this error: Debugger entered--Lisp error: (wrong-number-of-arguments max 0) max() apply(max nil) The backtrace appears to include my entire Org mode file, so I won't attach it. However,

Re: [O] Personal notes in org/beamer presentation

2015-09-14 Thread Giacomo M
Thanks a lot for the C-c C-b tip! One more question: is there a way to setup two pdf export profiles, one for the pdf w/ notes and one for that w/o notes? On Sep 13, 2015 12:13 PM, "Rasmus" wrote: > Giacomo M writes: > > > Dear Ramsus, thanks for the hint. >

Re: [O] Favorite way of syncing?

2015-09-14 Thread Myles English
Eric, Eric Abrahamsen writes: > Myles English writes: > >> https://myrepos.branchable.com >> https://github.com/RichiH/vcsh >> http://gitolite.com/gitolite/index.html > > Uh oh, I might have to start playing with this! Though there's something > nice about the morning

Re: [O] Personal notes in org/beamer presentation

2015-09-14 Thread Rasmus
Giacomo M writes: > Thanks a lot for the C-c C-b tip! One more question: is there a way to > setup two pdf export profiles, one for the pdf w/ notes and one for that > w/o notes? Yeah, it should be possible for instance with a babel block, running org-beamer-export-to-pdf