Re: [O] Question on latex source block

2012-09-14 Thread Bastien
Jambunathan K kjambunat...@gmail.com writes: Abdó Roig-Maranges abdo.r...@gmail.com writes: Hi, Here is a patch. Sorry for the bug! Thanks. I did a quick test and pushed the patch to repo. Abdo, thanks for the patch! And thanks to Jambunathan for applying it. -- Bastien

Re: [O] Question on latex source block

2012-09-13 Thread Nick Dokos
Jambunathan K kjambunat...@gmail.com wrote: Eric Schulte eric.schu...@gmx.com writes: Alright, I've just committed a patch which gets part-way to your suggest solution. While the two backend-specific functions are still separate (I agree they should be combined), I have brought back

Re: [O] Question on latex source block

2012-09-13 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Seems to be caused by 149cc04782651e74764eb3188f6a6f178fe25f64, which is unfortunate since that fixes (at least I *think* it fixes) some problems when no default fore/background is defined (e.g. when emacs is run in batch mode). It would be nice if

Re: [O] Question on latex source block

2012-09-13 Thread Eric Schulte
Jambunathan K kjambunat...@gmail.com writes: Eric Schulte eric.schu...@gmx.com writes: Alright, I've just committed a patch which gets part-way to your suggest solution. While the two backend-specific functions are still separate (I agree they should be combined), I have brought back the

Re: [O] Question on latex source block

2012-09-13 Thread Nick Dokos
Eric Schulte eric.schu...@gmx.com wrote: Jambunathan K kjambunat...@gmail.com writes: Eric Schulte eric.schu...@gmx.com writes: Alright, I've just committed a patch which gets part-way to your suggest solution. While the two backend-specific functions are still separate (I agree

Re: [O] Question on latex source block

2012-09-13 Thread Eric Schulte
Perhaps you could use git-bisect to find the ID of the offending commit? I did and I replied both to the list and cc: to you and Jambunathan (and I added a clarification later). You probably haven't reached that point in your email backlog yet, but if you don't see them let me know and

Re: [O] Question on latex source block

2012-09-13 Thread Abdó Roig-Maranges
Hi, Here is a patch. Sorry for the bug! Abdó. Eric Schulte eric.schu...@gmx.com writes: Seems to be caused by 149cc04782651e74764eb3188f6a6f178fe25f64, which is unfortunate since that fixes (at least I *think* it fixes) some problems when no default fore/background is defined (e.g. when

Re: [O] Question on latex source block

2012-09-13 Thread Jambunathan K
Abdó Roig-Maranges abdo.r...@gmail.com writes: Hi, Here is a patch. Sorry for the bug! Thanks. I did a quick test and pushed the patch to repo. Abdó. Eric Schulte eric.schu...@gmx.com writes: Seems to be caused by 149cc04782651e74764eb3188f6a6f178fe25f64, which is unfortunate since

Re: [O] Question on latex source block

2012-09-12 Thread Jambunathan K
Eric Schulte eric.schu...@gmx.com writes: Alright, I've just committed a patch which gets part-way to your suggest solution. While the two backend-specific functions are still separate (I agree they should be combined), I have brought back the `org-create-formula-image' function, which now

Re: [O] Question on latex source block

2012-09-11 Thread Giovanni Ridolfi
Da: Nick Dokos nicholas.do...@hp.com Inviato: Lunedì 10 Settembre 2012 22:53 Hi, Nick, (I prefer using \(...\) over $...$ but that's just me). it is not just you, it is also (!) the Org Manual:      To avoid conflicts with currency specifications, single `$' characters are only

Re: [O] Question on latex source block

2012-09-10 Thread Richard Stanton
Date: Sun, 09 Sep 2012 13:39:32 -0600 From: Eric Schulte eric.schu...@gmx.com To: nicholas.do...@hp.com Cc: Richard Stanton stan...@haas.berkeley.edu, emacs-orgmode@gnu.org emacs-orgmode@gnu.org Subject: Re: [O] Question on latex source block Message-ID: 87ligj6l57@gmx.com Content-Type

Re: [O] Question on latex source block

2012-09-10 Thread Nick Dokos
Richard Stanton stan...@haas.berkeley.edu wrote: Thanks. Things now get a lot further, but I'm still not quite getting what I was hoping for. In particular, this source: #+begin_src latex :file test.png \frac{1}{2} #+end_src results in this output: #+Results: #+BEGIN_LaTeX

Re: [O] Question on latex source block

2012-09-10 Thread Richard Stanton
On 9/10/12 12:07 PM, Nick Dokos nicholas.do...@hp.com wrote: Richard Stanton stan...@haas.berkeley.edu wrote: Thanks. Things now get a lot further, but I'm still not quite getting what I was hoping for. In particular, this source: #+begin_src latex :file test.png \frac{1}{2} #+end_src

Re: [O] Question on latex source block

2012-09-10 Thread Nick Dokos
Richard Stanton stan...@haas.berkeley.edu wrote: The *Messages* buffer did indeed show something: Failed to create dvi file from /var/folders/zf/bgjm4tvs3wv_6q7_6z3b2nx0gn/T/orgtex64181Q3t.tex Checking the log file in that directory, I saw squawking about missing $ signs around the

Re: [O] Question on latex source block

2012-09-09 Thread Nick Dokos
Richard Stanton stan...@haas.berkeley.edu wrote: Using Org-mode version 7.9.1 (release_7.9.1-154-g659be3 @ c:/emacs/site-lis= p/org-mode/lisp/), I created the following LaTeX code block: #+begin_src latex :file test.png \frac{1}{2} #+end_src When I press C-c C-c to compile the code

Re: [O] Question on latex source block

2012-09-09 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: The quick-and-dirty fix is to change the reference in ob-latex.el to org-create-formula-image-dvipng or org-create-formula-image-imagemagick, Left out the with in the names. That should be org-create-formula-image-with-dvipng or

Re: [O] Question on latex source block

2012-09-09 Thread Eric Schulte
Nothing - it's a bug introduced by commit a9d3ce0bcd3492eb0cd2aa7b0d1f6ee93276114b: , | commit a9d3ce0bcd3492eb0cd2aa7b0d1f6ee93276114b | Author: Feng Shu tuma...@gmail.com | Date: Fri Apr 20 19:21:43 2012 +0200 | | Allow to use imagemagick for previewing LaTeX fragements. |

Re: [O] Question on latex source block

2012-09-09 Thread Nick Dokos
Eric Schulte eric.schu...@gmx.com wrote: Nothing - it's a bug introduced by commit a9d3ce0bcd3492eb0cd2aa7b0d1f6ee93276114b: , | commit a9d3ce0bcd3492eb0cd2aa7b0d1f6ee93276114b | Author: Feng Shu tuma...@gmail.com | Date: Fri Apr 20 19:21:43 2012 +0200 | | Allow to

Re: [O] Question on latex source block

2012-09-09 Thread Eric Schulte
Nick Dokos nicholas.do...@hp.com writes: Eric Schulte eric.schu...@gmx.com wrote: Nothing - it's a bug introduced by commit a9d3ce0bcd3492eb0cd2aa7b0d1f6ee93276114b: , | commit a9d3ce0bcd3492eb0cd2aa7b0d1f6ee93276114b | Author: Feng Shu tuma...@gmail.com | Date: Fri Apr

Re: [O] Question on latex source block

2012-09-09 Thread Nick Dokos
Eric Schulte eric.schu...@gmx.com wrote: Alright, I've just committed a patch which gets part-way to your suggest solution. While the two backend-specific functions are still separate (I agree they should be combined), I have brought back the `org-create-formula-image' function, which now

[O] Question on latex source block

2012-09-08 Thread Richard Stanton
Using Org-mode version 7.9.1 (release_7.9.1-154-g659be3 @ c:/emacs/site-lisp/org-mode/lisp/), I created the following LaTeX code block: #+begin_src latex :file test.png \frac{1}{2} #+end_src When I press C-c C-c to compile the code block, I get the following error dump: Debugger entered--Lisp