[O] in-buffer settings, tags, org-element, org-id. . .

2014-03-31 Thread Lawrence Bottorff
. . . I'm getting confused about how to use these features. Sometimes, by chance, I'll find an example/use. but often as not I'm looking at a raw reference dump with no clue how to use (best practices) these features. For example, org-id has http://orgmode.org/worg/org-api/org-id-api.html but no

[O] Add TODO from external app?

2014-04-01 Thread Lawrence Bottorff
I've seen various things for interacting with org mode from external apps. I found org-protocol, as well as a Mutt-to-org mode article. Per the tittle, I want to be able to add new TODO items from, say, an email or a PHP-based web page form. Is this just brute force external file manipulation,

[O] emacs regex work done within literate org-mode?

2014-04-17 Thread Lawrence Bottorff
A while back I declared war against what I call tunneling i.e., the typical programmer practice of just working along on something without making any sort of notes or comments . . . and that day's Werdegang as they say in German (steps, procedure, process?) being only as good as your memory of it.

[O] gnuplot not working with babel

2014-06-01 Thread Lawrence Bottorff
I'm just starting out with babel and can't get the example code to run ( http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html#sec-4) : #+begin_src gnuplot :exports code :file file.png reset set title Putting it All Together set xlabel X set xrange [-8:8] set xtics -8,2,8 set

Re: [O] Automatic ordered lists with intelligent decimalization?

2014-06-07 Thread Lawrence Bottorff
...@nicolasgoaziou.fr wrote: Hello, Lawrence Bottorff borg...@gmail.com writes: I've seen explanations all around this issue, but nothing specific to the question: Can you create so-called *ordered* list entries automatically, i.e., just with M-ret and M-left/right? [...] I want to create a hierarchy

[O] Beginner footnotes question

2013-03-12 Thread Lawrence Bottorff
I just started learning org-mode today and I'm having trouble understanding footnotes. I'm seeing that there are different ways to embed a footnote marker in your ongoing work, but where do the actual full, expanded footnotes go? In a single .org file, I'm presuming footnotes go at the bottom of

Re: [O] Beginner footnotes question

2013-03-13 Thread Lawrence Bottorff
On Wed, Mar 13, 2013 at 1:17 AM, Aaron Ecay aarone...@gmail.com wrote: Hi Lawrence, You can have footnotes be inserted automatically: - in their own section (by default at the bottom of the document, though you can move it anywhere) - at the end of the current section, or - inline with

Re: [O] Beginner footnotes question

2013-03-13 Thread Lawrence Bottorff
in? At the top maybe? On Wed, Mar 13, 2013 at 9:56 AM, Lawrence Bottorff galaxybeinglam...@gmail.com wrote: On Wed, Mar 13, 2013 at 1:17 AM, Aaron Ecay aarone...@gmail.com wrote: Hi Lawrence, You can have footnotes be inserted automatically: - in their own section (by default at the bottom

[O] Where does org-mode elisp hacking go?

2013-03-13 Thread Lawrence Bottorff
I see on the org-hacks.html page lots of interesting elisp code. If I wanted to use some of this (lots of this) it seems wrong to shove it all in my .emacs file. My first guess would be to put what I want into separate .el files, go to my .org file and do a load-file on the .el file of hacks. But

[O] Confusion with :PROPERTIES: insertion

2013-03-15 Thread Lawrence Bottorff
I've got a header, after which I want to insert * Header :PROPERTIES: :CUSTOM_ID: [2013-03-15 Fri 11:22] :END: I've tried C-c C-x d and C-u M-x org-insert-drawer. Sometimes C-c C-x d works (offering only [RESULTS] which creates empty :: ... :END:), sometime it does nothing. C-u M-x

[O] Creating live elisp link

2013-03-19 Thread Lawrence Bottorff
I'm trying to create a link that takes an elisp expression and evaluates it in another buffer. Here's what I've come up with 1. C-c C-l 2. choose elisp: 3. In the mini buffer: Link: elisp:(with-output-to-temp-buffer scratch (print 20)) Description: Print 20 Okay, this calls up the

[O] Timestamp practices?

2013-03-20 Thread Lawrence Bottorff
I'm trying to give each header entry a timestamp. To do this I create a drawer like this: :PROPERTIES: :CUSTOM_ID: [2013-03-19 Tue 14:26] :END: Initially, I do C-u M-x org-insert-drawer. This gives me :PROPERTIES: :END: Then I do C-c C-x p and choose CUSTOM-ID. Then I insert a timestamp.

Re: [O] org-check.org confusion

2013-03-20 Thread Lawrence Bottorff
Any details about how this is involved with this issue? I have an # org-check.org# in this directory too. Being totally a beginner with elisp hacking, I don't know how to trace out this behavior. On Wed, Mar 20, 2013 at 3:32 PM, Christopher Schmidt christop...@ch.ristopher.com wrote: Loyall,

[O] Best way to make/add tech diagrams/graphics?

2013-05-17 Thread Lawrence Bottorff
I'd like to embed images into my running org file -- for eventual conversion to Latex or html. These would be simple diagram-style pictures such as math or technical diagrams that cannot be done with gnuplot or other formula-to-picture conversion software. Examples:

[O] Graph not hierarchical?

2014-02-14 Thread Lawrence Bottorff
Is there any way to have org mode simulate a graph structure rather than always a (folding) hierarchy? You could say a hierarchy is a tree graph, and you could link or give a jump from one entry to another -- even in another org file. It seems plausible to call an entry a node, and a node could

Re: [O] Graph not hierarchical?

2014-02-15 Thread Lawrence Bottorff
to traverse a graph data structure and do an add or read or whatever would be great, IHMO. You'd have the benefits of a database with all the good stuff about org mode retained. On Sat, Feb 15, 2014 at 4:44 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Lawrence Bottorff borg...@gmail.com writes

Re: [O] Graph not hierarchical?

2014-02-19 Thread Lawrence Bottorff
Is this ID spoken of? http://orgmode.org/worg/org-api/org-id-api.html So far it's just a field in Property, correct? On Tue, Feb 18, 2014 at 12:46 PM, Samuel Wales samolog...@gmail.com wrote: there is also this syntax.

[O] Export formats: Is there an in-house Emacs final format?

2014-02-25 Thread Lawrence Bottorff
enough (text, images, and math symbols)? Besides the embedding of a PDF viewer in a buffer trick, Emacs seems to have only Info. Does Info allow images and fairly normal-looking math symbols? Or is final product always an off-site, extra-Emacs business? Lawrence Bottorff North Shore MN

[O] Wolfram Language versus org mode literate

2014-02-28 Thread Lawrence Bottorff
. Now, what I see Wolfram doing is just making The Ultimate Library, one with enough AI to obviate lots of library browsing. But there's still no Story. org mode, however, has the rudiments of being able to finally tell Stories. Ein schoenes Protokoll! Amen! Lawrence Bottorff North Shore MN

[O] latex formatted output in buffer?

2014-11-07 Thread Lawrence Bottorff
Is there any way to have latex formatted math in a live org buffer? That is, not in separate outputted pdf, ps, or html file, but right in the running buffer? I'm guessing it would be like babel where you run the code snippet to see output -- and some sort of image of the formatted math would be

[O] Simple in-buffer links?

2015-02-08 Thread Lawrence Bottorff
I'm a beginner and I can't figure out how to build a simple link. All I want to do is have numbered footnotes throughout my org file that, when clicked, jump down to that footnote. Eg: -- This is in my org file and I'm describing Emacs fill (1). You can also do auto-fill (2) . . . (1) A fill

[O] New ELPA addition bogs down Emacs

2015-02-11 Thread Lawrence Bottorff
Once again, I've added some package that makes a 20k-line/1 mg .org file kill Emacs' performance and max out my CPU. Here's my ELPA installed: auctex 11.88.2 installed Integrated environment for *TeX* dash 20141220.1452 installed A

Re: [O] Raw .org file for manual(s)?

2015-02-10 Thread Lawrence Bottorff
How about a raw compact guide. The complete guide won't really load into Emacs very well on my machine. On Tue, Feb 10, 2015 at 12:18 PM, Rasmus ras...@gmx.us wrote: Lawrence Bottorff borg...@gmail.com writes: What would the github link be? https://github.com/tsdye/orgmanual Tom

Re: [O] New ELPA addition bogs down Emacs

2015-02-11 Thread Lawrence Bottorff
Changing to #+STARTUP: showeverything did the trick . . . although I don't know why. Why? On Wed, Feb 11, 2015 at 4:13 PM, Nick Dokos ndo...@gmail.com wrote: Lawrence Bottorff borg...@gmail.com writes: Once again, I've added some package that makes a 20k-line/1 mg .org file kill Emacs

[O] Raw .org file for manual(s)?

2015-02-10 Thread Lawrence Bottorff
I'd like a copy of the documentation (short, long manuals) in their original .org format. Where can I find them? My first logical guess was to get the org distribution. But /doc/ doesn't seem to have them as .org files. LB

Re: [O] Raw .org file for manual(s)?

2015-02-10 Thread Lawrence Bottorff
What would the github link be? On Tue, Feb 10, 2015 at 12:06 PM, Rasmus ras...@gmx.us wrote: Lawrence Bottorff borg...@gmail.com writes: I'd like a copy of the documentation (short, long manuals) in their original .org format. Where can I find them? My first logical guess was to get

[O] What is Babel's relationship with a Lisp REPL? State or stateless?

2015-02-20 Thread Lawrence Bottorff
If I'm creating an org file in a buffer which has source blocks for, say, Lisp, then I can run these blocks of Lisp code and Babel will fill in the answer just below in my buffer. Good. As advertised. But what is really happening to this code? Does Babel invoke a Lisp REPL once, do the code, print

Re: [O] Raw .org file for manual(s)?

2015-02-11 Thread Lawrence Bottorff
20141021.2139 installed Some paredit-like features for html-mode Does anyone have an orgmode-friendly init they could point me at? On Wed, Feb 11, 2015 at 5:08 AM, Rasmus ras...@gmx.us wrote: Lawrence Bottorff borg...@gmail.com writes: How about a raw compact guide

Re: [O] Simple in-buffer links?

2015-02-09 Thread Lawrence Bottorff
Yes, Rasmus that will work. Also, I'd like to be able to do this basic thing from html: a *name*=top/a . . . a href=*#*toplink to top/a I know the reference manual is trying to tell me how, but I'm just not getting it. On Mon, Feb 9, 2015 at 4:11 AM, Rasmus ras...@gmx.us wrote: Lawrence

[O] RDF/Linked Data?

2015-03-26 Thread Lawrence Bottorff
I googled rdf linked data org mode and got exactly one link to something from 2009 called gnowsys, which is not really doing anything with org-mode anymore? I saw how babel will do spaql, which is cool. Any other such efforts out there? LB

[O] Tangled Latex code gives error

2015-04-26 Thread Lawrence Bottorff
I'm following the Latex howto of org-mode babel. Here's the snippet from the howto I've got in a separate .org file (see bottom of howto page): #+LATEX_HEADER: \usepackage{tikz} First execute the second code block, to define the convenience macro and to set the required new variables in

Re: [O] Tangled Latex code gives error

2015-04-26 Thread Lawrence Bottorff
. But then maybe I'm barking up the wrong tree. One of the hardest things about learning org-mode is finding out what the best practice of something really is. On Sun, Apr 26, 2015 at 7:20 PM, Lawrence Bottorff borg...@gmail.com wrote: I'm following the Latex howto of org-mode babel. Here's the snippet

Re: [O] Tangled Latex code gives error

2015-04-27 Thread Lawrence Bottorff
...@ucl.ac.uk wrote: On Sunday, 26 Apr 2015 at 19:20, Lawrence Bottorff wrote: I'm following the Latex howto of org-mode babel. Here's the snippet from the howto I've got in a separate .org file (see bottom of howto page): [...] My real confusion starts when I try to tangle the babel code

[O] Latex export or Latex tangle? Best practice?

2015-04-27 Thread Lawrence Bottorff
In a previous post I was getting at the issue of whether I should just do regular export or use latex code blocks for what I wanted in a final document. What I want is the ability to create a big, rambling, annotated org file -- with keeper stuff inside the latex babel blocks -- then tangle the

[O] HTML export with custom_id tags

2015-05-07 Thread Lawrence Bottorff
I'm picking over Eric Schulte's web page (http://www.cs.unm.edu/~eschulte/), and the base .org file it came from, and I see he has given his outline headers (level **) a PROPERTIES drawer: :PROPERTIES: :CUSTOM_ID: research :END then in his .css file he has this: #outline-container-research {

Re: [O] org-babel for prolog

2015-05-16 Thread Lawrence Bottorff
No worries. I can wait. Thanks again for your efforts. On Sat, May 16, 2015 at 9:28 AM, Bjarte Johansen bjarte.johan...@infomedia.uib.no wrote: On 16 May 2015, at 15:00, Lawrence Bottorff borg...@gmail.com wrote: I'm just a Prolog beginner, but this: #+begin_src prolog edge(a,b). edge

Re: [O] org-babel for prolog

2015-05-16 Thread Lawrence Bottorff
wrote: On 14 May 2015, at 20:22, Puneeth Chaganti puncha...@gmail.com wrote: On Thu, May 14, 2015 at 11:41 PM, Lawrence Bottorff borg...@gmail.com wrote: Confused by the requirement: ;; To activate ob-prolog add the following to your init.el file: ;; ;; (eval-after-load 'org

Re: [O] org-babel for prolog

2015-05-14 Thread Lawrence Bottorff
Thanks for your great effort, BTW. Confused by the requirement: ;; To activate ob-prolog add the following to your init.el file: ;; ;; (eval-after-load 'org ;;'(require 'org-prolog)) My Emacs ( 24.5.1) gives an error with this line. I know I'm probably missing something obvious, but what

Re: [O] Display :PROPERTIES: drawers?

2015-05-18 Thread Lawrence Bottorff
] On Behalf Of Thomas S. Dye Sent: Monday, May 18, 2015 6:40 AM To: Lawrence Bottorff Cc: emacs-orgmode@gnu.org Subject: Re: [O] Display :PROPERTIES: drawers? Lawrence Bottorff borg...@gmail.com writes: M-x org-version: Org-mode version 8.2.10 (8.2.10-40-gc763fa-elpa @ ~/.emacs.d

Re: [O] Display :PROPERTIES: drawers?

2015-05-17 Thread Lawrence Bottorff
: Lawrence Bottorff borg...@gmail.com writes: Sorry, but I can't find any reference to org-export-with-properties . Where might it be mentioned? See 12.3 Export settings, , | ‘prop:’ Toggle inclusion of property

Re: [O] Display :PROPERTIES: drawers?

2015-05-17 Thread Lawrence Bottorff
Sorry, but I can't find any reference to org-export-with-properties . Where might it be mentioned? On Sun, May 17, 2015 at 5:51 PM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Lawrence Bottorff borg...@gmail.com writes: Okay, after sifting through the reference I did see something

[O] \nbsp trick to get prefixed superscript to work?

2015-05-18 Thread Lawrence Bottorff
I saw an earlier discussion about Emacs/org-mode superscript and subscript behavior. My issue is I want to do a chem isotope of an element. In standard Latex format I would do this: $^{147}$Pm or leaving off the $ and turning on Emacs' display of UTF-8 ( C-c C-x \ ) just ^{147}Pm but it doesn't

Re: [O] Display :PROPERTIES: drawers?

2015-05-17 Thread Lawrence Bottorff
cake and eat it too? On Sun, May 17, 2015 at 2:05 PM, Lawrence Bottorff borg...@gmail.com wrote: I want to display all my :PROPERTIES: drawers in a Latex/HTML export. Couldn't find anything in the documentation to toggle the default hide behavior off. Anyone know how to do this? LB

[O] Display :PROPERTIES: drawers?

2015-05-17 Thread Lawrence Bottorff
I want to display all my :PROPERTIES: drawers in a Latex/HTML export. Couldn't find anything in the documentation to toggle the default hide behavior off. Anyone know how to do this? LB

Re: [O] Display :PROPERTIES: drawers?

2015-05-18 Thread Lawrence Bottorff
version are you using? All the best, Tom Lawrence Bottorff borg...@gmail.com writes: Sorry, not seeing any prop: Toggle inclusion of property drawers, or list properties to include (‘org-export-with-properties’). in 12.3 (online manual). Tried #+OPTIONS: prop:t in my buffer

[O] Babel language org?

2015-04-04 Thread Lawrence Bottorff
I'm taking a closer look at Eric Neilsen's Emacs org-mode examples and cookbook, specifically the org file Eric sent me. And right off the bat I see something interesting: ** General metadata An initial group sets the metadata used in any title pages, headers, footers, etc. used by the various

Re: [O] Babel language org?

2015-04-04 Thread Lawrence Bottorff
? On Sat, Apr 4, 2015 at 11:47 AM, Ken Mankoff mank...@gmail.com wrote: If it weren't wrapped, it would be exported and not show up in the document text. -k. On 2015-04-04 at 11:41, Lawrence Bottorff borg...@gmail.com wrote: I'm taking a closer look at Eric Neilsen's Emacs org-mode

Re: [O] babel scheme not working

2015-05-28 Thread Lawrence Bottorff
The MIT scheme repl is running in the next buffer. . . On May 28, 2015 2:16 PM, Nick Dokos ndo...@gmail.com wrote: Lawrence Bottorff borg...@gmail.com writes: . . . installed geiser via elpa -- and got some functionality. Although a simple thing like #+BEGIN_SRC scheme (define

[O] babel scheme not working

2015-05-28 Thread Lawrence Bottorff
#+BEGIN_SRC scheme (define (mydouble x) (+ x x)) #+END_SRC produces org-babel-execute-src-block: Symbol's value as variable is void: geiser-default-implementation also, no indentation or color coding of any sort (maybe this isn't a feature yet?) LB

Re: [O] babel scheme not working

2015-05-28 Thread Lawrence Bottorff
as the scheme interpreter, but that should not make any difference. On May 28, 2015 2:16 PM, Nick Dokos ndo...@gmail.com wrote: Lawrence Bottorff borg...@gmail.com writes: . . . installed geiser via elpa -- and got some functionality. Although a simple thing like

Re: [O] babel scheme not working

2015-05-28 Thread Lawrence Bottorff
. . . installed geiser via elpa -- and got some functionality. Although a simple thing like #+BEGIN_SRC scheme (define (mydouble x) (+ x x)) #+END_SRC doesn't seem to remember from one block to the next. So, after defining the code above #+BEGIN_SRC scheme (mydouble 5) #+END_SRC gives an

[O] LOGBOOK notes for other drawers?

2015-05-23 Thread Lawrence Bottorff
It seems that when I try to do a note (C-c C-z) I get an automatic LOGBOOK drawer created with the new note put inside. Is there any way to place a note inside another type of drawer. I have a drawer like this: :PROPERTIES: :CUSTOM_ID: :SEMANTIC: :DESC: :END and I'd like to place notes -- one

Re: [O] LOGBOOK notes for other drawers?

2015-05-23 Thread Lawrence Bottorff
. . . also, is there a way to have several notes in a drawer ordered oldest-first? On Sat, May 23, 2015 at 9:32 AM, Lawrence Bottorff borg...@gmail.com wrote: It seems that when I try to do a note (C-c C-z) I get an automatic LOGBOOK drawer created with the new note put inside. Is there any

[O] LOGBOOK entry lands outside LOGBOOK

2015-05-21 Thread Lawrence Bottorff
I'm using the C-c C-z to make what I though would be LOGBOOK entries, but they seem to appear outside the :LOGBOOK . . . :END: block, even though my cursor is positioned inside the block. What do I do to keep them inside? Also, I seem to have created this header: *** | |

[O] customize LOGBOOK note intro text?

2015-05-22 Thread Lawrence Bottorff
When I do C-c C-z to start a LOGBOOK entry note, the text reads Note taken on, then the timestamp. Is there any way to customize the text -- or get rid of it and have just the timestamp? LB

[O] Babel for eshell?

2015-08-19 Thread Lawrence Bottorff
Is there any way to do literate Babel-style things with eshell? Only shell (sh) seems to be listed among the languages. As I understand, eshell is just a wrapper around actual elisp expressions. For example, find-file foobar.txt is actually (find-file foobar.txt) I'd like to do shell-like

Re: [O] Babel for eshell?

2015-08-23 Thread Lawrence Bottorff
org-mode within emacs for system stuff. Sure, I could put sh in blocks, but stepping up into scripting seems like a good practice to develop. On Wed, Aug 19, 2015 at 2:44 PM, Lawrence Bottorff borg...@gmail.com wrote: Is there any way to do literate Babel-style things with eshell? Only shell

[O] Suppress export of Abstract block?

2015-10-23 Thread Lawrence Bottorff
How would I suppress the #+begin_abstract ... #+end_abstract block content, specifically for the HTML export? :exports none doesn't seem to work. I saw the drawer hide, but this a block, not a drawer Lb

[O] Bizarre C-c ' error

2015-10-21 Thread Lawrence Bottorff
I found this bizarre thing while doing some babel coding. I start by putting this template together #+name: leibniz_3 #+begin_src lisp :session :exports code :results silent #+end_src Then from this page I copy this code (some 40 lines

[O] Babel: How to call code in one org file into another org file

2015-10-30 Thread Lawrence Bottorff
There are many, many Babel examples, but I can't seem to find this functionality: A function in a Lisp code block in one org file is to be called from a Lisp code block in another org file. Is this possible? I know you can stick stuff into your personal "Library of Babel," but I just want to write

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread Lawrence Bottorff
Org-mode version 8.3.2 (8.3.2-10-g00dacd-elpa @ ../.emacs.d/elpa/org-20151005/) Did you all see my post directly before? The whole LOB idea seems not to work with Lisp/SLIME. . .

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread Lawrence Bottorff
In my init file I have (custom-set-variables . . . '(org-babel-lob-files (quote ("/home/hercynian/org/babeltest/a.org" "/home/hercynian/org/babeltest/ b.org"))) that, of course, lasted an Emacs reboot after I had set them with customization. But then right after Emacs reboot, looking

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread Lawrence Bottorff
@John Kitchin: I can't seem to find a `org-babel-load-file`.

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread Lawrence Bottorff
> > > I would use local variables for this--something like (untested): > > # eval: (org-babel-lob-ingest path/to/your/file) > # eval: (sbe "my-add") > # eval: (sbe "multi_x2") > > Computer savvy Org moders don't like eval because anything can happen, > but if you're willing to trust yourself, then

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread Lawrence Bottorff
automatically upon C-c C-c-ing my main org file? I found this <https://lists.gnu.org/archive/html/emacs-orgmode/2010-09/msg01172.html> discussion, but I don't believe it really addresses my wish. LB On Fri, Oct 30, 2015 at 8:55 PM, Thomas S. Dye <t...@tsdye.com> wrote: > Aloha Lawrenc

[O] Capture and use export header numbering?

2015-11-04 Thread Lawrence Bottorff
When an outline tree of headers * top 1 ** something ** something ** something *** something something * something ** something is exported, say, to html, org-mode produces a numerical outline as deep as the options are set 1. top 1.1. something 1.2. something 1.3. something 1.3.1.

Re: [O] How does Library of Babel actually work?

2015-10-31 Thread Lawrence Bottorff
and org babel should be happy. On Sat, Oct 31, 2015 at 3:53 PM, Nick Dokos <ndo...@gmail.com> wrote: > Lawrence Bottorff <borg...@gmail.com> writes: > > > New thread. Anyway, putting lisp/SLIME aside, I experimented with emacs > lisp -- and got > > the same results

Re: [O] Babel: How to call code in one org file into another org file

2015-10-31 Thread Lawrence Bottorff
wrote: > Lawrence Bottorff <borg...@gmail.com> writes: > > > Yes, I experimented with this too -- and got it to work. But strangely, > if you leave out the > > > > # eval: (org-babel-lob-ingest "./a.org") > > # eval: (org-babel-lob-ingest "./b.org"

[O] How does Library of Babel actually work?

2015-10-31 Thread Lawrence Bottorff
New thread. Anyway, putting lisp/SLIME aside, I experimented with emacs lisp -- and got the same results, i.e., no real LOB functionality, despite proper loading. I must be doing something wrong? I'll describe my process again: Load a.org and b.org into `org-babel-library-of-babel` with

Re: [O] Babel: How to call code in one org file into another org file

2015-10-31 Thread Lawrence Bottorff
Yes, I experimented with this too -- and got it to work. But strangely, if you leave out the # eval: (org-babel-lob-ingest "./a.org") # eval: (org-babel-lob-ingest "./b.org") lines and do a regular `org-babel-lob-ingest` (or C-c C-v i) on those two files -- *it doesn't work. *Rather bizarre

[O] Latex strikethrough or cancel?

2015-10-07 Thread Lawrence Bottorff
I've got a fraction done this way in an org file: \[ \frac{1}{(2^3)(5)} \] and I'd like to strike though or cancel the (5) part. The Latex method I've found says do it this way: ... \usepackage[makeroom]{cancel} ... \[ \frac{1}{(2^3)\cancel{(5)}} \] But it's ignored and comes back

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Lawrence Bottorff
Sticking this after my initialization #+ stuff finally worked: #+begin_html MathJax.Hub.Config({ TeX: {extensions: ["cancel.js"]}, tex2jax: { inlineMath: [ ['$','$'], ['\\(','\\)'] ], processEscapes: true } }); #+end_html although I, the eternal beginner, don't quite

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Lawrence Bottorff
Yes, Nick, I put it in my init and it worked. Amazing to me is how an elisp concat just works, so I don't have to hack around with the org-html-mathjax-template (Too close to Halloween). Thanks, everyone. On Thu, Oct 8, 2015 at 3:12 PM, Nick Dokos wrote: > Nick Dokos

Re: [O] Adding custom ordered list "bullet" symbols?

2015-10-15 Thread Lawrence Bottorff
> > ... assuming that OP is talking about latex export. > I assumed he was talking about the org buffer - we'll have to wait > and see who guessed correctly :-) > > -- > Nick > > Subtle. Yes, both would be nice, both in the buffer and as an HTML export. I put this (setq

Re: [O] Adding custom ordered list "bullet" symbols?

2015-10-15 Thread Lawrence Bottorff
ail.com> wrote: > There is a way using UTF-8 chars. https://github.com/sabof/org-bullets > > On Thu, Oct 15, 2015 at 2:07 PM, Lawrence Bottorff <borg...@gmail.com> > wrote: > >> Would there be a way to add a \rightarrow (or other latex symbols) as an >> ordered list "bullet"? >> >> LB >> > >

[O] Adding custom ordered list "bullet" symbols?

2015-10-15 Thread Lawrence Bottorff
Would there be a way to add a \rightarrow (or other latex symbols) as an ordered list "bullet"? LB

Re: [O] Latex strikethrough or cancel?

2015-10-10 Thread Lawrence Bottorff
Actually I spoke too soon. Putting (setq org-html-mathjax-template (concat org-html-mathjax-template " MathJax.Hub.Register.StartupHook(\"TeX Jax Ready\",function () { MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions.macros,{ cancel: [\"Extension\",\"cancel\"], bcancel:

Re: [O] babel srcname? Calling Library of Babel code?

2015-10-06 Thread Lawrence Bottorff
Thanks for the info, T. Now, if I commit a file of source code blocks to be "library of babel," how do I then call them? Is there some sort of prefix? On Tue, Oct 6, 2015 at 5:15 AM, Thomas S. Dye <t...@tsdye.com> wrote: > Aloha Lawrence, > > Lawrence Bottorff &

[O] install org-element, org-db

2015-08-28 Thread Lawrence Bottorff
What's the best way to install latest org-element and org-db? They're not default, are they? They're not in ELPA.

[O] Set babel scheme to chicken?

2015-08-29 Thread Lawrence Bottorff
I have a few schemes installed on my computer (MIT, guile, chicken), but when I run such code as this #+BEGIN_SRC scheme :session one (define (myadd x y) (+ x y)) #+END_SRC it works -- beautifully with multiple REPLs (as you name them in the :session) -- but it always grabs the guile. I'd

Re: [O] Set babel scheme to chicken?

2015-08-29 Thread Lawrence Bottorff
...@tsdye.com wrote: Aloha Lawrence, Lawrence Bottorff borg...@gmail.com writes: I have a few schemes installed on my computer (MIT, guile, chicken), but when I run such code as this #+BEGIN_SRC scheme :session one (define (myadd x y) (+ x y)) #+END_SRC it works

[O] Preface, user's guide, cataloging key?

2015-08-31 Thread Lawrence Bottorff
I'm currently using :LOGBOOK: at the very top of my org file to make a sort of daily pre-work tweet. That is, right under my top-level star-1 header. I'd also like a key or metadata or user's guide up at the top, too. For example, I have borrowed my Wordpress categories as my main header sections,

Re: [O] Default html export css styles?

2015-09-01 Thread Lawrence Bottorff
So this default stuff is located in ox-html.el I'm guessing. If I wanted to override the default behavior of putting a border and a gray bar around a source code block, there really isn't a specific Org Export HTML customization entry for that. I'd just have to figure out how to override the

[O] Get editing window back?

2015-09-02 Thread Lawrence Bottorff
If I do a quick entry with C-c C-z, I get a nice separate window to do my entry in. Then I do C-c C-c to "commit" my entry. Q: Is there any way to get that separate editing window back to do more changes? LB

[O] Outline DOM?

2015-09-02 Thread Lawrence Bottorff
When I do an HTML export, I notice that my headings are all converted from stars to numbers -- rather deeply. Is there an underlying DOM-like object that you can glean the org buffer's hierarchical structure from? LB

[O] Default html export css styles?

2015-09-01 Thread Lawrence Bottorff
When I do an HTML export of my org buffer, it produces a default css section in the head:

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

2015-09-12 Thread Lawrence Bottorff
Again, this code #+BEGIN_SRC scheme :session ch1 :exports both (define (bool-imply a b) (if (or (not a) b) #t #f)) #+END_SRC gives the error org-babel-scheme-execute-with-geiser: Invalid read syntax: "#" and this time attempting to use the function #+BEGIN_SRC scheme :session ch1 :exports

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

2015-09-13 Thread Lawrence Bottorff
Sorry, Nick, not following you. Could you elaborate more? As a rank beginner, I'm not sure what a backtrace is or how to produce one or how it read it. What do you mean by "master" and "maint"? On Sun, Sep 13, 2015 at 5:41 AM, Nick Dokos <ndo...@gmail.com> wrote:

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 <ndo...@gmail.com> wrote: > Lawrence Bottorff <borg...@gmail.com> writes: > > > I think this > > ( > https:/

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] Scheme code block gives false error message

2015-09-11 Thread Lawrence Bottorff
When I run this code: #+BEGIN_SRC scheme :session ch1 :exports both (define (check-it x) (cond ((string? x) (string-length x)) ((number? x) (if (<= x 0) x (sub1 x))) ((boolean? x) (if (and #t x) 10 20)) (else #f))) #+END_SRC I get this error message:

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

2015-09-15 Thread Lawrence Bottorff
Ach, disregard that last bleating. Got it changed, and yes, it works -- for both guile and chicken. Thanks a ton, ND. But, yes, if there's a cool emacs way to take your diff and apply it I'd like to know. . . LB On Tue, Sep 15, 2015 at 5:25 PM, Lawrence Bottorff <borg...@gmail.com>

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

2015-09-15 Thread Lawrence Bottorff
. . . quick question, Nick (et al): how do I (enlightened beginner) apply the above patch? I'm using latest ELPA from org-mode repo. LB

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

2015-09-15 Thread Lawrence Bottorff
I've tried the Moebius workaround (see above). It seems to work, and #+begin_src scheme . . . seems to call my MIT scheme and do results just fine. But it ignores the idea of multiple sessions, which the geiser-based ob-scheme did so well and just has one MIT scheme "session." However it does

[O] Another babel scheme issue

2015-09-16 Thread Lawrence Bottorff
The patch to ob-scheme.el that Nick Dokos provided is working well. But another ob-scheme/geiser problem has come up. The code below #+name: letter #+header: #+begin_src scheme :exports both :session ch1 (require 2htdp/batch-io) (define (letter fst lst signature-name) (string-append (opening

Re: [O] Another babel scheme issue

2015-09-16 Thread Lawrence Bottorff
org buffer, but it ignores the formatting. Same behavior with chicken. On Wed, Sep 16, 2015 at 3:30 PM, Nick Dokos <ndo...@gmail.com> wrote: > Lawrence Bottorff <borg...@gmail.com> writes: > > > ... > > However C- C-c-ing > > > > #+BEGIN_SRC scheme :session c

Re: [O] Another babel scheme issue

2015-09-16 Thread Lawrence Bottorff
I appreciate your efforts, ND. No silver bullet is just lying around, so I think I can live with this for the time being. Must learn elisp I. LB On Wed, Sep 16, 2015 at 9:56 PM, Nick Dokos <ndo...@gmail.com> wrote: > Lawrence Bottorff <borg...@gmail.com> writes: > > >

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

2015-09-13 Thread Lawrence Bottorff
and see if it works. He also seems to believe Scheme is a second-class citizen in babel-land. On Sun, Sep 13, 2015 at 7:48 PM, Nick Dokos <ndo...@gmail.com> wrote: > Lawrence Bottorff <borg...@gmail.com> writes: > > > Sorry, Nick, not following you. Could you elaborate more? As

Re: [O] babel header arguments tutorial?

2015-09-27 Thread Lawrence Bottorff
I guess from a purely elisp perspective I'm baffled. How is #+begin_src emacs-lisp org-babel-default-header-args:Python #+end_src supposed to produce #+RESULTS: | (:session . foo) | as it supposedly does in the doc? It doesn't for me. (Where, e.g., would "foo" be coming from?) If it had

[O] babel header arguments tutorial?

2015-09-26 Thread Lawrence Bottorff
I see this and find the bottom section ("Setting language and file specific default header argument value") intriguing, however too cryptic. Can someone explain what's going on here and how to use it? LB

  1   2   3   >