[O] Word nil appears after figures in HTML export

2013-03-12 Thread Richard Stanton
Starting some time in the last few days, when I export an org file to HTML I find the word nil appearing right after the figure. Here's an example of the HTML code generated: div class=figure pimg src=images/RS_head_cropped.png alt=RS_head_cropped.png//pnil /div Just to be clear, there's no word

[O] Width always inserted with LaTeX figures

2013-03-14 Thread Richard Stanton
At least with today's version (8.0-pre release_8.0-pre-67-gd3361c), if I include a figure and then export to LaTeX, the resulting TeX file insists on including its own width specification, even when I tell it the width I want. For example, the org text #+ATTR_LaTeX: :options width=1.7in

Re: [O] Width always inserted with LaTeX figures

2013-03-14 Thread Richard Stanton
Thanks, Aaron. -Original Message- From: Aaron Ecay [mailto:aarone...@gmail.com] Sent: Wednesday, March 13, 2013 11:47 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: [O] Width always inserted with LaTeX figures Hi Richard, You should use #+ATTR_LATEX: :width 1.7in instead

[O] Extra space after listings in LaTeX export with minted

2013-03-14 Thread Richard Stanton
if anyone has come up with a simple work-around (short of inserting negative space after each listing). Thanks. Richard Stanton

Re: [O] Extra space after listings in LaTeX export with minted

2013-03-14 Thread Richard Stanton
/14/13 11:30 AM, Aaron Ecay aarone...@gmail.com wrote: Hi Richard, 2013ko martxoak 14an, Richard Stanton-ek idatzi zuen: Using the minted package, I get very nice colored listings in the PDF files generated by exporting to LaTeX, but there's always a lot of extra space after each listing

Re: [O] Extra space after listings in LaTeX export with minted

2013-03-15 Thread Richard Stanton
You'd think so, but it actually doesn't make a difference. It's indented even when there's no blank line in the LaTeX file. It's a minted feature, I think. I did email the minted author about it, so maybe one day it'll be fixed. On 3/15/13 10:45 AM, Nicolas Goaziou n.goaz...@gmail.com wrote:

[O] Problems exporting LaTeX source code

2013-03-19 Thread Richard Stanton
words, it looks like the LaTeX source is actually being compiled, and some internal org-mode exporter options look like they're being exported to the PDF file. Am I doing something wrong here? Thanks. Richard Stanton

Re: [O] Problems exporting LaTeX source code

2013-03-19 Thread Richard Stanton
Thanks for the suggestion, Thomas. I changed source to code and tried again. The results were exactly the same as with source. Best, Richard Stanton On 3/19/13 10:04 AM, Thomas S. Dye t...@tsdye.com wrote: Richard Stanton stan...@haas.berkeley.edu writes: Using org mode version 8.0-pre

[O] ox-bibtex: How to use Bib file in a different directory?

2014-02-17 Thread Richard Stanton
I've just discovered ox-bibtex, which is great for generating bibliographies in both PDF and HTML documents. I have it working fine when the Bib file is in the current directory, but how do I get it to use a Bib file in a different directory (for HTML output - PDF is fine)? Thanks a lot. Richard

[O] Question on latex source block

2012-09-08 Thread Richard Stanton
-ctrl-c-ctrl-c nil nil) What am I missing here? Thanks. Richard Stanton

[O] Question on formatting result blocks in LaTeX

2012-09-09 Thread Richard Stanton
to get formatted as regular text, and looks nothing like the source block. Is there any way to get the same formatting for the result block as for the source block when exporting to LaTeX/PDF? Thanks. Richard Stanton

[O] How to get graphs to display inline (immediately upon creation)?

2012-09-09 Thread Richard Stanton
to press C-c C-x C-v *twice* (once to turn inline display off, and once to turn it back on again) to get the graph to display. How can I get inline graphs to display inline the moment they've been created? Thanks. Richard Stanton

Re: [O] How to get graphs to display inline (immediately upon creation)?

2012-09-09 Thread Richard Stanton
Yes! Thanks very much. That seems to work fine. -Original Message- From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Sunday, September 09, 2012 10:13 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: [O] How to get graphs to display inline (immediately

Re: [O] How to get graphs to display inline (immediately upon creation)?

2012-09-09 Thread Richard Stanton
One minor issue: if there are no images in the org file, I now get the message No images to display inline When executing a code block. -Original Message- From: Richard Stanton Sent: Sunday, September 09, 2012 10:46 PM To: 'nicholas.do...@hp.com' Cc: emacs-orgmode@gnu.org Subject

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

[O] Strange python output using session

2012-09-10 Thread Richard Stanton
I get an extra blank item plus some strange formatting on my output when I use the :session key in a python source block. Here's a simple example showing the problem: --- * Examples #+BEGIN_SRC python :results output print hello print bye print 2 #+END_SRC #+RESULTS: : hello :

[O] Extra space between list items in HTML export

2012-09-10 Thread Richard Stanton
I often use the h:2 option to turn level 3 headers into itemized list entries. When exporting to LaTeX/PDF, the spacing between items is the same this way as it is when I use an explicit itemized list. When exporting to HTML, however, there's some extra space inserted between items when they

Re: [O] Extra space between list items in HTML export

2012-09-10 Thread Richard Stanton
From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Monday, September 10, 2012 2:37 PM #+OPTIONS: h:2, toc:nil * Example of itemized list ** Blank level 2 header - List 1 - List 2 - List 3 * Level 3 headings as itemized list, with extra space ** Blank level 2

Re: [O] Extra space between list items in HTML export

2012-09-10 Thread Richard Stanton
On 9/10/12 4:31 PM, Jambunathan K kjambunat...@gmail.com wrote: From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Monday, September 10, 2012 2:37 PM #+OPTIONS: h:2, toc:nil * Example of itemized list ** Blank level 2 header - List 1 - List 2 - List 3 * Level

Re: [O] Extra space between list items in HTML export

2012-09-10 Thread Richard Stanton
On 9/10/12 4:45 PM, Jambunathan K kjambunat...@gmail.com wrote: Richard Stanton stan...@haas.berkeley.edu writes: On 9/10/12 4:31 PM, Jambunathan K kjambunat...@gmail.com wrote: From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Monday, September 10, 2012 2:37 PM #+OPTIONS

Re: [O] Extra space between list items in HTML export

2012-09-18 Thread Richard Stanton
Hi Nick, Nick Dokos nicholas.do...@hp.com writes: The old exporter does that: it breaks the second up into three lists, each with a single element. The first is a single list with three elements. Which is wrong IMO. The new exporter produces a single list with three elements, although it

Re: [O] Extra space between list items in HTML export

2012-09-19 Thread Richard Stanton
From: Bastien Guerry [mailto:bastiengue...@gmail.com] On Behalf Of Bastien Sent: Tuesday, September 18, 2012 11:53 PM To: Richard Stanton Cc: nicholas.do...@hp.com; emacs-orgmode@gnu.org Subject: Re: Extra space between list items in HTML export Hi Richard, Richard Stanton stan

Re: [O] Extra space between list items in HTML export

2012-09-19 Thread Richard Stanton
From: Bastien Guerry [mailto:bastiengue...@gmail.com] On Behalf Of Bastien Sent: Wednesday, September 19, 2012 9:45 AM To: Richard Stanton Cc: nicholas.do...@hp.com; emacs-orgmode@gnu.org Subject: Re: Extra space between list items in HTML export Richard Stanton stan...@haas.berkeley.edu

[O] New exporter doesn't like #+LaTeX_CLASS

2012-09-24 Thread Richard Stanton
or LaTeX Companion for explanation. Type H return for immediate help. ... By the way, this is with Org-mode version 7.9.1 (release_7.9.1-325-g2150a9 @ /Applications/Emacs.app/Contents/Resources/site-lisp/org-mode/lisp/) Thanks. Richard Stanton

[O] New HTML exporter: Oddities with figure placement

2013-02-25 Thread Richard Stanton
want, but the following text appears to the right of the figure, not below it, which isn't what I want. It seems odd that this would happen even when I have a blank line separating the figure link from the following text. Am I missing something? Thanks. Richard Stanton

[O] HTML export: no date in postamble unless set manually

2013-02-25 Thread Richard Stanton
transferred to the bottom of the HTML file, but wouldn't it make sense to have today's date listed if no explicit alternative is provided? At any rate, adding a line that says Date: with nothing after the colon doesn't seem like the optimal default setting. Thanks. Richard Stanton

[O] Problem with code blocks and new exporter

2013-02-27 Thread Richard Stanton
don't get a code block displayed. Instead, I get a single line that includes the text #+begin_src, which is not what I wanted (or what I was expecting). What am I doing wrong...? Thanks very much. Richard Stanton

Re: [O] Problem with code blocks and new exporter

2013-02-27 Thread Richard Stanton
I thought I was probably being stupid. Thanks! -Original Message- From: Bastien Guerry [mailto:bastiengue...@gmail.com] On Behalf Of Bastien Sent: Wednesday, February 27, 2013 3:32 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: Problem with code blocks and new exporter Hi

[O] Code blocks (partially) inherit buffer colors

2013-02-28 Thread Richard Stanton
the color-theme in my Emacs buffer before exporting, but is there a better solution? Thanks. Richard Stanton

Re: [O] Code blocks (partially) inherit buffer colors

2013-02-28 Thread Richard Stanton
Thanks, Eric. -Original Message- From: Eric Schulte [mailto:schulte.e...@gmail.com] Sent: Thursday, February 28, 2013 9:29 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: [O] Code blocks (partially) inherit buffer colors Richard Stanton stan...@haas.berkeley.edu writes

Re: [O] Code blocks (partially) inherit buffer colors

2013-03-02 Thread Richard Stanton
) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) -Original Message- From: Eric Schulte [mailto:schulte.e...@gmail.com] Sent: Thursday, February 28, 2013 9:29 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: [O] Code blocks (partially) inherit

Re: [O] Code blocks (partially) inherit buffer colors

2013-03-04 Thread Richard Stanton
...@altern.org wrote: Hi Richard, Richard Stanton stan...@haas.berkeley.edu writes: Thanks for the suggestion, Eric. Following the instructions, I fired up Emacs, loaded files of various types, then ran the command org-html-htmlize-generate-css Unfortunately, this resulted in an error dump

[O] How to reduce width of section separators in agenda view?

2012-03-08 Thread Richard Stanton
characters long, and when I print in portrait mode, these wrap onto the next line. How can I shorten these lines to only 80 characters wide? Thanks for any suggestions. Richard Stanton

[O] LaTeX export - can't skip a heading level

2012-03-20 Thread Richard Stanton
Using org-mode 7.8.03, I've found that exporting to LaTeX has a tough time if you try to skip a header level. For example, to prevent my TODO items being numbered, one method is to make them a lower-level heading, and then make that level un-numbered. However, if I try the following: * To Do

[O] TODO items as part of an itemized list?

2012-03-20 Thread Richard Stanton
To save space in LaTeX exports and also to stop my TODO items being numbered, I'd like to have TODO items as part of a list, e.g., - TODO Item 1 - TODO Item 2 However, while this prints OK, these entries are ignored by org-mode when I ask it to create a TODO list. Is there any way to do what I

Re: [O] LaTeX export - can't skip a heading level

2012-03-20 Thread Richard Stanton
From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Tuesday, March 20, 2012 12:55 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org; nicholas.do...@hp.com Subject: Re: [O] LaTeX export - can't skip a heading level Richard Stanton stan...@haas.berkeley.edu wrote: Using org

Re: [O] TODO items as part of an itemized list?

2012-03-21 Thread Richard Stanton
. On 3/20/12 4:44 PM, Bastien b...@altern.org wrote: Hi Richard, Richard Stanton stan...@haas.berkeley.edu writes: To save space in LaTeX exports and also to stop my TODO items being numbered, I'd like to have TODO items as part of a list, e.g., - TODO Item 1 - TODO Item 2 However, while

[O] Problems running C code in org-mode under Windows

2012-03-26 Thread Richard Stanton
to recognize it as an executable anyway. Does anyone have this running OK under Windows? Alternatively, how can I track down what's going wrong in more detail? Thanks. Richard Stanton

Re: [O] Problems running C code in org-mode under Windows

2012-03-27 Thread Richard Stanton
be, but the compilation is not happening. -Original Message- From: Eric Schulte [mailto:eric.schu...@gmx.com] Sent: Monday, March 26, 2012 6:45 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: [O] Problems running C code in org-mode under Windows Richard Stanton stan

Re: [O] Problems running C code in org-mode under Windows

2012-03-27 Thread Richard Stanton
: Tuesday, March 27, 2012 9:06 AM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: [O] Problems running C code in org-mode under Windows Thanks for tracking down the source of this problem. Unfortunately this is beyond my abilities to address. It would be interesting to hear if others

Re: [O] Problems running C code in org-mode under Windows

2012-03-28 Thread Richard Stanton
I think the Access is denied problem is probably the same as that listed here: http://lists.gnu.org/archive/html/help-gnu-emacs/2010-04/msg00247.html Unfortunately, when I switch to using bash as my shell under Windows, this causes problems with python-mode (though this is not really your

Re: [O] Problems running C code in org-mode under Windows

2012-03-28 Thread Richard Stanton
As far as I can see, at this point the command being called is C:/emacs/emacs-24.0.94/bin/cmdproxy -c gcc -o \c:/users/stanton[...]C- bin-10700opx\ \c:/users/Stanton[...]C-src-10700bfr.c\ (where [...] just means I deleted some more path information, but it's all valid). If I

Re: [O] Problems running C code in org-mode under Windows - SOLVED

2012-03-29 Thread Richard Stanton
One problem - when using bash as the shell, when trying to execute the compiled file, it tries to execute the empty file, not the file that was just compiled (which has the same name, but the extension .exe, added by the compiler). A partial solution to this is to append .exe to the name of

Re: [O] Problems running C code in org-mode under Windows - SOLVED

2012-03-29 Thread Richard Stanton
To allow for people who might be using the Cygwin bash shell in Emacs under Windows (which is recommended by many), I do recommend making the change I suggested above, adding the following lines to ob-C.el: (tmp-bin-file (org-babel-temp-file C-bin-

[O] Python code block hangs with :session if python-mode is loaded

2012-03-31 Thread Richard Stanton
I have python-mode (latest version from Launchpad) set up to handle python editing in Emacs. Using orgmode, the following code block runs fine if Ipress C-c C-c, producing the (correct) output shown: #+begin_src python :results output print %d + %d = %d % (2, 3, 2+3) 2**5 #+end_src #+RESULTS:

Re: [O] Python code block hangs with :session if python-mode is loaded

2012-04-01 Thread Richard Stanton
The above executes without problem for me regardless of whether python- mode has been explicitly loaded. I have python mode py-version 5.1.0 on my machine. My guess is that python-mode changed the session prompt in such a way that Babel can not tell when execution has completed. I have the

[O] Error on opening org files

2012-04-13 Thread Richard Stanton
I just updated org-mode to version 7.8.09 (release_7.8.09.199.g5e4cff.dirty), and now get the following error when I try to open any .org file: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) org-babel-header-arg-expand()

[O] make fails on current version

2012-04-23 Thread Richard Stanton
I just updated org-mode and typed make. Two problems: 1) The doc file seems to have trouble: org.texi:6703: Misplaced {. org.texi:6703: Misplaced }. makeinfo: Removing output file `org' due to errors; use --force to preserve. 2) org-install.el doesn't get created. From org-version.el, this is

[O] org + beamer: How to get @Š@ to create \alert?

2012-05-01 Thread Richard Stanton
I've just started using orgmode to create Beamer presentations, and have a question. In the worg documentation (http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html), it gives an example of how enclosing text in @ signs is supposed to result in highlighted red text. When I try it, I get

[O] Sporadic problems pasting

2012-05-02 Thread Richard Stanton
I've been using org-mode (version 7.8.09, release_7.8.09-482-gf47915) quite a lot over the last 24 hours to edit a file that will turn into a Beamer presentation. During the course of this editing, I've encountered a few problems. I'm not sure if these are org-mode or Emacs problems (I've just

[O] Emacs occasionally hangs using org-mode

2012-05-02 Thread Richard Stanton
I've been using org-mode (version 7.8.09, release_7.8.09-482-gf47915) quite a lot over the last 24 hours to edit a file that will turn into a Beamer presentation. One problem I've encountered during this period is that Emacs (24.0.96 under OS X Lion) has randomly hung multiple times. Sometimes

[O] Problem exporting to PDF (and viewing)

2012-05-11 Thread Richard Stanton
Using Org-mode version 7.8.09 (release_7.8.09-553-g5750f0) (and earlier versions) I've encountered a problem on my Windows machine when I try to export an Org file to LaTeX, then to Pdf, then viewing (using C-c C-e d). In my init.el I have the lines (eval-after-load org '(progn

Re: [O] Problem exporting to PDF (and viewing)

2012-05-11 Thread Richard Stanton
explicit-shell-file-name shell-file-name) -Original Message- From: Richard Stanton Sent: Friday, May 11, 2012 4:52 PM To: emacs-orgmode@gnu.org Subject: Problem exporting to PDF (and viewing) Using Org-mode version 7.8.09 (release_7.8.09-553-g5750f0) (and earlier versions) I've

Re: [O] Problem exporting to PDF (and viewing)

2012-05-12 Thread Richard Stanton
[mailto:nicholas.do...@hp.com] Sent: Saturday, May 12, 2012 7:40 AM To: Jonathan Leech-Pepin Cc: Richard Stanton; emacs-orgmode@gnu.org Subject: Re: [O] Problem exporting to PDF (and viewing) Jonathan Leech-Pepin jonathan.leechpe...@gmail.com wrote: I suspect you should be able to get it to recognize C

Re: [O] Problem exporting to PDF (and viewing)

2012-05-13 Thread Richard Stanton
Achim Gratz writes Richard Stanton writes: While this seems to have something to do with the bash shell I'm using, this works fine for everything else, so I'm pretty sure there's no fundamental problem in my setup, and it would be nice to find a way around this problem. I am pretty

Re: [O] Problem exporting to PDF (and viewing)

2012-05-18 Thread Richard Stanton
2) If not, where is the code that interprets %s? I can try stepping through it and see what I can find. It happens in org.el:org-open-file, specifically this piece of the code (I think): , | (while (string-match %s cmd) | (setq cmd (replace-match |

Re: [O] Problem exporting to PDF (and viewing)

2012-05-18 Thread Richard Stanton
-Original Message- From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Friday, May 18, 2012 2:11 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org; Jonathan Leech-Pepin Subject: Re: [O] Problem exporting to PDF (and viewing) Richard Stanton stan...@haas.berkeley.edu

Re: [O] Problem exporting to PDF (and viewing)

2012-05-18 Thread Richard Stanton
From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Friday, May 18, 2012 3:20 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org; Jonathan Leech-Pepin Subject: Re: [O] Problem exporting to PDF (and viewing) Richard Stanton stan...@haas.berkeley.edu wrote: 2) If not, where

[O] make fails on Windows machine

2012-05-20 Thread Richard Stanton
I just downloaded the latest version (version 7.8.10 - release_7.8.10-573-g7b33d9) and typed make, only to obtain the following output: [C:\emacs\site-lisp\org-mode]make == = Invoke make help for a synopsis of make targets. = = Created a

[O] Blank equation when exported to HTML using dvipng

2012-05-27 Thread Richard Stanton
Here's a very simple ORG file: #+OPTIONS: LaTeX:dvipng * Test file \begin{equation} x=\sqrt{b} \end{equation} -- When I export this to HTML (Org-mode version 7.8.11 (release_7.8.11-12-gc55405 @ c:/emacs/site-lisp/org-mode/lisp/)), the equation comes out blank. The HTML

Re: [O] Blank equation when exported to HTML using dvipng

2012-05-28 Thread Richard Stanton
From: Puneeth Chaganti [mailto:puncha...@gmail.com] Sent: Sunday, May 27, 2012 10:48 PM To: Richard Stanton Subject: Re: [O] Blank equation when exported to HTML using dvipng On Mon, May 28, 2012 at 11:13 AM, Richard Stanton stan...@haas.berkeley.edu wrote: Here's a very simple ORG file

Re: [O] Blank equation when exported to HTML using dvipng

2012-05-28 Thread Richard Stanton
[mailto:nicholas.do...@hp.com] Sent: Monday, May 28, 2012 7:08 AM To: Richard Stanton Cc: Puneeth Chaganti; emacs-orgmode@gnu.org Subject: Re: [O] Blank equation when exported to HTML using dvipng Richard Stanton stan...@haas.berkeley.edu wrote: ... So now I can see what the problem is, but how do

Re: [O] Babel language support for Mathematica

2015-03-15 Thread Richard Stanton
if this is an output vs value issue on the return of the block. If you set :results output does anything change? or, is there a way to specify a return value? or specifically print something? Richard Stanton writes: I recently saw this posting about org support for Mathematica. Thanks

[O] Error when running org-babel-tangle

2015-03-05 Thread Richard Stanton
delete either of the two blocks at the bottom of the file (the EXAMPLE block or the final SRC block), it works fine. Thanks. Richard Stanton

[O] Plotting in Python block won't over-write existing file

2015-03-06 Thread Richard Stanton
is not updated. I only get a new plot if I also change the file name (e.g., to x5.png). It looks like it’s refusing to over-write an existing file. Is there a reason for this, and is there a way to change this behavior? By the way, this is with org-mode 8.3beta-884-g9ed426 Thanks. Richard Stanton

Re: [O] Plotting in Python block won't over-write existing file

2015-03-08 Thread Richard Stanton
going back there and downloading and installing Emacs 24.4.90 pretest, org-mode now updates graphs just fine. I don't know what the problem was, or why changing the Emacs version solved it (with no other changes), but maybe this will be helpful to someone else. Best, RIchard Stanton

Re: [O] Babel language support for Mathematica

2015-03-13 Thread Richard Stanton
, and then calculate f(5). In a MMA notebook, if I type f[x_] := x+3 f[5] I get the answer 8. If I try the same code in an org-mode code block, here's what happens: #+BEGIN_SRC mathematica f[x_] := x+3 f[5] #+END_SRC #+RESULTS: : Null Am I missing something obvious here? Thanks very much. Richard Stanton

[O] Extraneous output from Python code blocks using :session option

2015-03-10 Thread Richard Stanton
. Richard Stanton

[O] How to get LATEX_HEADER items to appear *after* default packages?

2015-03-10 Thread Richard Stanton
before or after the default packages in the LaTeX file? Thanks for any suggestions. Richard Stanton

Re: [O] Extraneous output from Python code blocks using :session option

2015-03-12 Thread Richard Stanton
/ This can be done in an init file. Kyle Meyer writes: Richard Stanton stan...@haas.berkeley.edu wrote: I'm trying to use the :session option so I can import modules, etc., just once at the beginning of my document, like with am IPython notebook. Unfortunately, the output from these code

[O] How to get inline python code to work with :session option?

2015-03-30 Thread Richard Stanton
block, src_python[:session]{return 2+3} no results appear in the text buffer, and the mini-buffer displays the message Code block produced no output. How can I get inline code to work with :session? Thanks. Richard Stanton

Re: [O] Emacs-orgmode Digest, Vol 109, Issue 35

2015-03-30 Thread Richard Stanton
Date: Sun, 29 Mar 2015 23:41:52 -0700 From: Richard Stanton stan...@haas.berkeley.edu To: emacs-orgmode@gnu.org Subject: [O] How to get inline python code to work with :session option? Message-ID: 438abcf3-a5e3-4743-92de-6b85e3e2e...@haas.berkeley.edu Content-Type: text/plain; charset

[O] :ignoreheading: works with LaTeX export, but not HTML

2015-03-26 Thread Richard Stanton
-functions 'headline-nonumber) Thanks for any suggestions. By the way, this is with org-mode release_8.3beta-951-g2f58e3 Richard Stanton

Re: [O] Error when running org-babel-tangle

2015-03-05 Thread Richard Stanton
Aha! Thanks, Chuck. On Mar 5, 2015, at 5:08 PM, Charles C. Berry ccbe...@ucsd.edu wrote: On Thu, 5 Mar 2015, Richard Stanton wrote: I’m experimenting with tangling files in org-mode, and have found that certain files cause org-babel-tangle to ie with an error (Org-mode version 8.3beta

[O] Can't save file with latest version of org

2015-04-30 Thread Richard Stanton
I just ran git pull to update to the latest version of org-mode. Now, when I try to save an org file, I get the error message: user-error: Not in a sub-editing buffer

[O] LaTeX math doesn't always export to HTML as math

2017-02-17 Thread Richard Stanton
I created the following very simple org file: #+TITLE: *Math example* \[ w_j = \nu_j \prod_{l

[O] Problems exporting simple LaTeX math to HTML

2017-02-14 Thread Richard Stanton
[My apologies if this is a repeat. I tried posting this 4 days ago and didn’t see if appear on the list.] I created the following very simple org file: #+TITLE: *Math example* \[ w_j = \nu_j \prod_{l

Re: [O] Problems exporting simple LaTeX math to HTML

2017-02-14 Thread Richard Stanton
That works. Thanks. > On Feb 14, 2017, at 12:24 PM, Charles C. Berry <ccbe...@ucsd.edu> wrote: > > On Tue, 14 Feb 2017, Richard Stanton wrote: > >> [My apologies if this is a repeat. I tried posting this 4 days ago and >> didn’t see if appear on the list.] >&

[O] Trouble exporting inline code blocks

2017-04-10 Thread Richard Stanton
, no matter what options I pass, the exported PDF file shows both the source and the output. E.g., src_python[:session :exports results]{2+2} src_python[:session :exports none]{2+2} Am I missing something? Thanks. By the way, I’m using org mode v. 9.0.5. Richard Stanton

Re: [O] Bug: Setting org-export-use-babel to nil causes exporting to ignore :exports header

2017-09-14 Thread Richard Stanton
Thanks, Nicolas. It looks like the default behavior changed at some point but it could have been some while ago... Sent from my iPad > On Sep 14, 2017, at 5:58 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > > Hello, > > Richard Stanton <stan...@haas.berkeley.

[O] Bug: Setting org-export-use-babel to nil causes exporting to ignore :exports header

2017-09-13 Thread Richard Stanton
on export. However, if this variable is set, org export both code and results for each cell, regardless of the setting of the :exports header option. Withoput this variable being set, exporting correctly obeys the :exports directives in the cell headers. Richard Stanton

[O] New bug in org-agenda?

2019-03-01 Thread Richard Stanton
t) 6 7 (fontified t) 7 8 (fontified t) 8 9 (fontified t) 9 10 (fontified nil))) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) This has only started in the last few days and my init.el file has not changed, so it seems to be something in the latest update. Richard Stanton

Re: Parentheses in section titles interfere with on-screen font choice

2020-04-27 Thread Richard Stanton
Much dissection of init.el later, it seems the problem was caused by an interaction with (an outdated version of) another package, rainbow-delimiters. Updating this seems to solve the problem. Best, Richard > On Apr 27, 2020, at 3:00 AM, Nicolas Goaziou wrote: > > Hello, >

Parentheses in section titles interfere with on-screen font choice

2020-04-27 Thread Richard Stanton
with the display font? Thanks. Richard Stanton

Re: Parentheses in section titles interfere with on-screen font choice

2020-04-27 Thread Richard Stanton
I’ll investigate further... > On Apr 27, 2020, at 3:00 AM, Nicolas Goaziou wrote: > > Hello, > > Richard Stanton mailto:rhstan...@berkeley.edu>> > writes: > >> When using org mode (9.3.6), I’ve noticed that putting parentheses >> into a section title s

Re: [BUG] New error: (void-function org-url-p) when exporting to LaTeX [9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/)]

2021-05-29 Thread Richard Stanton
On May 28, 2021, at 11:41 PM, Ihor Radchenko wrote: > > Richard Stanton writes: >> I currently load org using straight.el as follows: >> ... >> (use-package org-contrib >> :after org >> ... >> (use-package org >> :after (jupyter) > >

Re: [BUG] New error: (void-function org-url-p) when exporting to LaTeX [9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/)]

2021-05-27 Thread Richard Stanton
nality is > loaded until you try to use something which depends on org. This means > you can typically start Emacs and immediately install/upgrade org > without any issues. Where people tend to come undone is when they have > been running Emacs for a while, have been using org and th

[BUG] New error: (void-function org-url-p) when exporting to LaTeX [9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/)]

2021-05-26 Thread Richard Stanton
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Exporting to LaTeX versus Beamer: how to take different actions depending on export format?

2021-07-02 Thread Richard Stanton
based on whether I’m exporting to LaTeX or Beamer? Thanks for any suggestions. Richard Stanton

Re: Exporting to LaTeX versus Beamer: how to take different actions depending on export format?

2021-07-03 Thread Richard Stanton
te perfect, but they mostly do what I want, especially #3. > On Jul 2, 2021, at 12:56 PM, Richard Stanton wrote: > > I’ve been experimenting with using a single org file to generate an article > when exported to LaTeX (or HTML) and a Beamer presentation when exported to > B

How to create a macro that inserts multiline text with :B_ignoreheading: tag?

2021-04-30 Thread Richard Stanton
luding :B_ignoreheading: in the macro definition causes problems, but I’m not 100% sure. Anyway, I’d be very grateful if anyone can see an obvious way to get this to happen. Thanks for any suggestions! Richard Stanton

Re: How to create a macro that inserts multiline text with :B_ignoreheading: tag?

2021-04-30 Thread Richard Stanton
That works. Thanks Juan Manuel! > On Apr 30, 2021, at 1:40 PM, Juan Manuel Macías > wrote: > > Hi Richard, > > Richard Stanton writes: > >> I’d like to define a macro called, say, articletext, to insert this >> header into my document before exporting to LaT

Trouble producing nicely aligned org tables from emacs-jupyter code blocks using latest org version

2022-05-18 Thread Richard Stanton
y, the org version loaded this time is 9.5.3 (9.5.3-g277897 @ /Users/stanton/.emacs.d/straight/build/org/). The table exports OK, but isn’t much fun to look at in the org file itself. Since I like to use emacs-jupyter, any suggestions would be appreciated. I know this worked fine just a few weeks ago. Thanks! Richard Stanton

Re: Trouble producing nicely aligned org tables from emacs-jupyter code blocks using latest org version

2022-05-18 Thread Richard Stanton
> Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu <http://kitchingroup.cheme.cmu.edu/> > > > > On Wed, May 18, 2022 at 4:57 PM Richard Sta

Re: Trouble producing nicely aligned org tables from emacs-jupyter code blocks using latest org version

2022-05-18 Thread Richard Stanton
- > Professor John Kitchin (he/him/his) > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu <http://kitchingroup.cheme.cmu.edu/> &g

Re: Trouble producing nicely aligned org tables from emacs-jupyter code blocks using latest org version

2022-05-26 Thread Richard Stanton
PM, Ihor Radchenko wrote: > > Richard Stanton writes: > >> Odd. Invoking it as you do on my Mac, I get the same results I noted >> earlier. > > Then, can you ask some other Mac user to reproduce? It is hard to fix > something not reproducible on my system :( &g

Re: Trouble producing nicely aligned org tables from emacs-jupyter code blocks using latest org version

2022-05-22 Thread Richard Stanton
Odd. Invoking it as you do on my Mac, I get the same results I noted earlier. > On May 20, 2022, at 1:57 AM, Ihor Radchenko wrote: > > "Richard H. Stanton" writes: > >> Here’s a simple init.el that shows the problem (most of it is just >> boilerplate code to use straight.el to manage

How to stop results being hidden when using ":results drawer"?

2022-05-11 Thread Richard Stanton
the document: the results drawer starts out hidden and to see what’s there I have to click on it. This makes debugging the code in the first place a lot less convenient. Is there a way to use :results drawer and have the results NOT hidden by default? Thanks for any suggestions! Richard

Re: How to stop results being hidden when using ":results drawer"?

2022-05-11 Thread Richard Stanton
ither of these seems to work for me at the moment. All of my :results: drawers start out and remain hidden until I click on them and press TAB. > On May 11, 2022, at 9:52 AM, Richard Stanton wrote: > > I’m creating documents where I run Python code blocks that create LaTeX > mathemati

  1   2   >