Re: Has VISIBILITY property become case-sensitive?

2024-04-04 Thread Richard Stanton
Actually, it didn’t! But now I’m not seeing the original behavior either, though I haven’t changed anything. Don’t spend any more time on this - I’ll report back if I learn anything else. Best Richard > On Apr 4, 2024, at 12:42 PM, Richard Stanton wrote: > > Here’ s a very s

Re: Has VISIBILITY property become case-sensitive?

2024-04-04 Thread Richard Stanton
o wrote: > > Richard Stanton mailto:rhstan...@berkeley.edu>> > writes: > >> My org file has the header line >> >> #+STARTUP: overview >> >> One section contains the properties drawer >> >> :PROPERTIES: >> :Visibility: conte

Has VISIBILITY property become case-sensitive?

2024-04-04 Thread Richard Stanton
” to “VISIBILITY”. Is it a deliberate change to require upper case here? By the way, this is using org version 9.7pre Best, Richard Stanton

Re: How to export a single subtree but include document preamble?

2024-04-04 Thread Richard Stanton
On Apr 4, 2024, at 11:11 AM, Richard Stanton wrote: > >> I don't know if this does what you want, but I use a ‘PROPERTIES’ drawer >> right below the subtree's headline and in that drawer, I put the following >> code: >> >> :EXPORT_LATEX_HEADER_EXT

Re: How to export a single subtree but include document preamble?

2024-04-04 Thread Richard Stanton
> I don't know if this does what you want, but I use a ‘PROPERTIES’ drawer > right below the subtree's headline and in that drawer, I put the following > code: > > :EXPORT_LATEX_HEADER_EXTRA: \input{latex-preamble.tex} > > Scott Randby Thanks for the suggestion! It would still be nice (i.e.,

Re: LaTeX export ignores caption if table is in a drawer

2023-05-26 Thread Richard Stanton
Thanks, Ihor. ":results raw replace" seems to do what I need. Best, Richard > On May 25, 2023, at 11:33 PM, Ihor Radchenko wrote: > > "Richard H. Stanton" writes: > >> I often create tables programatically from within an org code block. To make >> sure I don’t produce multiple copies of t

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 package

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

2022-05-18 Thread Richard Stanton
e/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/> > > > > On Wed, May 18, 2022 at 4:57 PM R

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

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

2022-05-18 Thread Richard Stanton
7 | 8 | 9 | By the way, 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: How to stop results being hidden when using ":results drawer"?

2022-05-11 Thread Richard Stanton
It works fine when I use emacs -Q, so I did some hunting around and discovered that it’s a bad interaction with the xenops package. A shame, as this package does a great job of almost-real-time previewing of LaTeX equations, figure and tables. > On May 11, 2022, at 10:51 AM, Richard Stan

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

2022-05-11 Thread Richard Stanton
er 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

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: Exporting to LaTeX versus Beamer: how to take different actions depending on export format?

2021-07-03 Thread Richard Stanton
None of these is quite 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

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: [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
in this > regard as you can also setup things so that no org functionality 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 hav

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

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

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

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

Parentheses in section titles interfere with on-screen font choice

2020-04-27 Thread Richard Stanton
the display font? Thanks. 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: [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 wrote: > > Hello, > > Richard Stanton writes: > >> Emacs : GNU Emacs 25.2.1 (x

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

2017-09-13 Thread Richard Stanton
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] 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

[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 \[ w_j = \nu_j \prod_{l Am I missing something? By the way, org-version gives Org mode version 9.0.5 (9.0.5-elpa @ /Users/stanton/.emacs.d/elpa/org-20170210/)

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 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.] >> >> I create

[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 \[ w_j = \nu_j \prod_{l Am I missing something? By the way, org-version gives Org mod

[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

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

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

2015-03-29 Thread Richard Stanton
code 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

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

2015-03-26 Thread Richard Stanton
"" output)) output))) (add-to-list 'org-export-filter-headline-functions 'sa-ignore-headline) (add-to-list 'org-export-filter-headline-functions 'headline-nonumber) Thanks for any suggestions. By the way, this is with org-mode release_8.3beta-951-g2f58e3 Richard Stanton

Re: [O] Babel language support for Mathematica

2015-03-15 Thread Richard Stanton
will be happy to see and work it out! > > Best, > Yi > > > > > On Sat, Mar 14, 2015 at 7:09 AM John Kitchin <mailto:jkitc...@andrew.cmu.edu>> wrote: > I wonder if this is an output vs value issue on the return of the > block. If you set :results output do

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

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

2015-03-12 Thread Richard Stanton
look-better/ > > This can be done in an init file. > > Kyle Meyer writes: > >> Richard Stanton 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 >>

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

2015-03-12 Thread Richard Stanton
> On Mar 11, 2015, at 11:29 AM, Kyle Meyer wrote: > > Richard Stanton 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 th

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

2015-03-10 Thread Richard Stanton
h don't appear if I run the same code block without the :session option? Thanks. Richard Stanton

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

2015-03-10 Thread Richard Stanton
ckages to appear BEFORE the LATEX_HEADER items? Or better yet, how can I control things so that I can choose whether a LATEX_HEADER item appears before or after the default packages in the LaTeX file? Thanks for any suggestions. Richard Stanton

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

2015-03-08 Thread Richard Stanton
> Date: Fri, 06 Mar 2015 14:21:54 -0500 > From: Nick Dokos > To: emacs-orgmode@gnu.org > Subject: Re: [O] Plotting in Python block won't over-write existing > file > Message-ID: <87sidi9bjh@alphaville.usersys.redhat.com> > Content-Type: text/plain; ch

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

2015-03-06 Thread Richard Stanton
rs, and rerun the block, while it claims to have run OK, the graph 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] 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 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 >

[O] Error when running org-babel-tangle

2015-03-05 Thread Richard Stanton
el-execute-safely-maybe) org-ctrl-c-ctrl-c(nil) call-interactively(org-ctrl-c-ctrl-c nil nil) command-execute(org-ctrl-c-ctrl-c) Any ideas what’s going on? If I 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] 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. Ri

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" wrote: >Richard Stanton writes: > >> Using

[O] Problems exporting LaTeX source code

2013-03-19 Thread Richard Stanton
€ Item 2 In other 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] 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" wrote: >Hello, > >Aaron Ec

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

2013-03-14 Thread Richard Stanton
On 3/14/13 11:30 AM, "Aaron Ecay" 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

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

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

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] Width always inserted with LaTeX figures

2013-03-13 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 [[file:

[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: nil Just to be clear, there's no word "nil" in my org file...

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

2013-03-04 Thread Richard Stanton
stien" wrote: >Hi Richard, > >Richard Stanton 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 >> >> Unfortunate

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

2013-03-02 Thread Richard Stanton
-html-major-mode (funcall htmlize-html-major-mode)) (set (make-local-variable (quote htmlize-buffer-places)) (symbol-plist places)) (run-hooks (quote htmlize-after-hook)) (buffer-enable-undo)) (setq completed t) htmlbuf) (when (not completed) (kill-buffer htmlbuf)) (htmlize-delete-tmp-overlays)

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 writes: > When I export a c

[O] Code blocks (partially) inherit buffer colors

2013-02-28 Thread Richard Stanton
d this problem by changing the color-theme in my Emacs buffer before exporting, but is there a better solution? Thanks. 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] Problem with code blocks and new exporter

2013-02-27 Thread Richard Stanton
hen I export this, I 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

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

2013-02-25 Thread Richard Stanton
it is correctly 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] New HTML exporter: Oddities with figure placement

2013-02-25 Thread Richard Stanton
ft justified as I 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] New exporter doesn't like #+LaTeX_CLASS

2012-09-24 Thread Richard Stanton
LaTeX manual or LaTeX Companion for explanation. Type H 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

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

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 Richa

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

2012-09-18 Thread Richard Stanton
> >Hi Nick, > >Nick Dokos 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 inclu

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" wrote: >Richard Stanton writes: > >> On 9/10/12 4:31 PM, "Jambunathan K" wrote: >> >>> >>>>> From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] >>>>> S

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

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 >

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

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

Re: [O] Question on latex source block

2012-09-10 Thread Richard Stanton
On 9/10/12 12:07 PM, "Nick Dokos" wrote: >Richard Stanton 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.

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 >To: nicholas.do...@hp.com >Cc: Richard Stanton , > "emacs-orgmode@gnu.org" >Subject: Re: [O] Question on latex source block >Message-ID: <87ligj6l57@gmx.com> >Content-Type: text/plain

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

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

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

2012-09-09 Thread Richard Stanton
C-c again. In fact, I then have 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

[O] Question on formatting result blocks in LaTeX

2012-09-09 Thread Richard Stanton
n I export to PDF via LaTeX, however, the result block seems 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] Question on latex source block

2012-09-08 Thread Richard Stanton
ults . "file replace latex") (:session . "none") (:hlines . "no") (:padnewline . "yes") (:file . "test.png") (:result-type . value) (:result-params "file" "replace" "latex") (:rowname-names) (:colname-names)) "" nil 0)) org-babel-execute-src-block-maybe() org-babel-execute-maybe() org-babel-execute-safely-maybe() run-hook-with-args-until-success(org-babel-execute-safely-maybe) org-ctrl-c-ctrl-c(nil) call-interactively(org-ctrl-c-ctrl-c nil nil) What am I missing here? Thanks. Richard Stanton

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

2012-05-28 Thread Richard Stanton
; -Original Message- > From: nicholas.do...@hp.com [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 Stanto

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

2012-05-27 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 > wrote: > > He

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

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

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 wrote: > > > &g

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

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

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

2012-05-12 Thread Richard Stanton
gt; From: nicholas.do...@hp.com [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 wrote: > > > I sus

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

2012-05-11 Thread Richard Stanton
e-name) (setq 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.

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

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

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

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

[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

[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() run-hook-with-args-until-success(org-babel-h

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

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

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

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)

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

2012-03-27 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 rea

  1   2   >