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

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

Re: [O] Beginner footnotes question

2013-03-13 Thread Lawrence Bottorff
On Wed, Mar 13, 2013 at 1:17 AM, Aaron Ecay 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 the text > > F

Re: [O] Beginner footnotes question

2013-03-13 Thread Lawrence Bottorff
ly working 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 wrote: > >> Hi Lawrence, >> >> You can have footnotes be inserted automatically: >> - in thei

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

[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 org-inse

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

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

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: http://www.library.utoronto.ca/

[O] babel for sml?

2015-09-23 Thread Lawrence Bottorff
Is there no babel language support for Standard ML? I see a ob-sml at elpa. . . LB

Re: [O] babel for sml?

2015-09-23 Thread Lawrence Bottorff
ary. I did install it and it works, BTW. On Wed, Sep 23, 2015 at 2:10 PM, Ista Zahn wrote: > I don't understand. You see ob-sml, but you ask if there is no > support? From the looks of it, ob-sml provides babel language support > for Standard ML, no? > > Best, > Ista > > On

[O] latex \ulcorner not working?

2015-09-24 Thread Lawrence Bottorff
In my effort to get org mode just how I want it, I wanted to have some sort of way to distinguish "code," or just a single code-like word (symbol, command, etc.) inside a .org file. If I type the usual such as \beta or \lceiling, the system immediately snaps to the actual system. But \ulcorner and

[O] emacs-lisp babel won't print

2015-09-25 Thread Lawrence Bottorff
If I do this: #+BEGIN_SRC emacs-lisp (setq animals '(gazelle giraffe lion tiger)) #+END_SRC #+RESULTS: | gazelle | giraffe | lion | tiger | and then this #+begin_src emacs-lisp (defun print-elements-of-list (list) "Print each element of LIST on a line of its own." (while list (print (ca

[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

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 worke

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

2015-10-05 Thread Lawrence Bottorff
Not really getting how to call code "meta-style" from other points -- in my file, in other files, in my "library of babel" file? I've tracked down bits and pieces here and there, but I'm missing the big picture. For example, this: #+srcname: python2_env #+begin_src emacs-lisp (setq org-babel-py

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 wrote: > Aloha Lawrence, > > Lawrence Bottorff writes: > > > Not rea

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

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 unders

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 writes: > > > ... > > You m

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: [\"Extension\

[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] Adding custom ordered list "bullet" symbols?

2015-10-15 Thread Lawrence Bottorff
uohy 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 > wrote: > >> Would there be a way to add a \rightarrow (or other latex symbols) as an >> ordered list "bullet"? >> >> LB >> > >

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 org-list-demote-modify-bull

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

[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] 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
files. Any way to have this happen 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

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

[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 `org-babel

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 beha

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

2015-10-31 Thread Lawrence Bottorff
to t and org babel should be happy. On Sat, Oct 31, 2015 at 3:53 PM, Nick Dokos wrote: > Lawrence Bottorff writes: > > > New thread. Anyway, putting lisp/SLIME aside, I experimented with emacs > lisp -- and got > > the same results, i.e., no real LOB functionality, despite p

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

2015-10-31 Thread Lawrence Bottorff
just as good, i.e., LOB seems hardly worth it. My whole motivation is to avoid having to scroll through endless code blocks all on the same level, rather, to have things more modular and distributed, a bit like DDLs in MS-land. On Sat, Oct 31, 2015 at 4:34 PM, Nick Dokos wrote: > Lawrence

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

[O] Place skeleton code in source block template?

2015-11-19 Thread Lawrence Bottorff
I have customized the org-structure-template-alist to include a special version of an emacs-lisp source code block (attached to

[O] All source block properties on one line -- or foldied?

2015-11-20 Thread Lawrence Bottorff
Is there a way to put all of these prelim header lines on one line, such as turning this #+NAME: named-block #+HEADER: :var data=2 #+BEGIN_SRC emacs-lisp (message "data:%S" data) #+END_SRC to, perhaps, this #+NAME: named-block; #+HEADER: :var data=2; #+BEGIN_SRC emacs-lisp (message "data:%S" dat

[O] How does org mode write to a file?

2015-11-21 Thread Lawrence Bottorff
Excuse my elisp ignorance, but I've got this: #+name: elisp-unordered-ast #+begin_src emacs-lisp :file myastfile.ast (org-element-parse-buffer) #+end_src which works fine. Question: Where is the elisp code that does this writing of `org-element-parse-buffer` output to file? I'm stumped on how to

[O] Where are Babel code block results kept?

2015-12-06 Thread Lawrence Bottorff
I do this #+name: org-calc2 #+begin_src emacs-lisp :session :tangle yes :cache yes (calc-eval "deg(42@ 26' 36.42\")") #+end_src #+name:org-calc3 #+begin_src emacs-lisp (expt (string-to-number (org-sbe "org-calc2")) 2) #+end_src #+name:org-calc4 #+begin_src emacs-lisp (+ 1 (string-to-number (org-

[O] quote block interrupts text?

2016-01-03 Thread Lawrence Bottorff
I've got this ** The quick red fox #+BEGIN_QUOTE red foxes are great #+END_QUOTE jumped over the lazy brown dog. But when I export to HTML I see the 1.5 The quick red fox Red foxes are great. jumped over the lazy b

[O] link to open new tab

2016-01-18 Thread Lawrence Bottorff
I've seen this discussion, but it doesn't really answer the question of how to have a link upon export to HTML do a :target _blank (new tab). The given answer #+ATTR_HTML: :target _blank works exactly once -- for the

Re: [O] ox-tufte-latex

2016-02-02 Thread Lawrence Bottorff
I found this , but I'm not getting it to work. I assume it's outdated? Will wait for this new effort of yours, Mr. Dye. this

[O] Embedding images in Org Mode for HTML export

2016-02-16 Thread Lawrence Bottorff
I've got this code: #+begin_src latex :packages '(("" "tikz")) :exports results :results output raw :file fsa.png \usetikzlibrary{backgrounds} \begin{tikzpicture} \draw (0,0) grid (10,5); \draw (0,0) node[below left] {$A$}; \draw (10,5) node[above right] {$B$}; \fill (0,0) circle (2pt);

Re: [O] Embedding images in Org Mode for HTML export

2016-02-18 Thread Lawrence Bottorff
That seemed to work -- sometimes. But it's probably best to simply produce each graphic separately, then embed as a png in the org file. On Wed, Feb 17, 2016 at 8:54 AM, Eric S Fraga wrote: > On Tuesday, 16 Feb 2016 at 19:22, Lawrence Bottorff wrote: > > I&#x

[O] Latex package nicefrac for HTML export

2016-02-19 Thread Lawrence Bottorff
I've got Latex's *nicefrac *working fine for a Latex export. I've put #+LaTeX_HEADER: \usepackage{nicefrac} at the top of my file, and this inlined $\pi = \nicefrac{C}{d}$ But for an HTML export, it's not seeing it, giving back π=\nicefracCd. Is there anything I can do to get my HTML export to

Re: [O] Latex package nicefrac for HTML export

2016-02-19 Thread Lawrence Bottorff
has the slanted fraction look in HTML. On Fri, Feb 19, 2016 at 9:35 PM, Marcin Borkowski wrote: > > On 2016-02-19, at 22:26, Lawrence Bottorff wrote: > > > I've got Latex's *nicefrac *working fine for a Latex export. I've put > > > > #+LaTeX_HEADER: \

[O] Org-mode: How to render latex inside ~code~

2016-02-27 Thread Lawrence Bottorff
This seems a catch-22: I want to render code in an org-mode export (html or latex pdf) where the snippet below done as a ~code block > (cons 1 nil) \to (1) actually renders \to as a proper right arrow (yields). Of course if I do the snippet as inline latex $> (cons 1 nil) \to (1)$ I get the pro

Re: [O] Org-mode: How to render latex inside ~code~

2016-02-27 Thread Lawrence Bottorff
Got it set (custom-set-variables ... '(org-pretty-entities t) ... but nothing changed. ~> (cons 1 nil) \to (1)~ still outputs the raw \to even though in the buffer it changes. On Sat, Feb 27, 2016 at 8:41 PM, Thomas S. Dye wrote: > Aloha Lawrence, > > Lawrence Bottorff w

Re: [O] org-mode on Windows Emacs doesn't offer html export

2016-03-18 Thread Lawrence Bottorff
Yes, Eric, that's probably the case . . . and I just don't have my latex ducks in a row yet. I've been spoiled on Linux -- things just working. . . On Fri, Mar 18, 2016 at 1:30 PM, Eric S Fraga wrote: > On Friday, 18 Mar 2016 at 11:29, Lawrence Bottorff wrote: > > Thank

[O] org-mode on Windows Emacs doesn't offer html export

2016-03-19 Thread Lawrence Bottorff
Yes, the title sums it up. I've just ported my .emacs.d, org stuff, etc. from my Linux to my work Windows 10, and I can't get the export to offer html or latex. Even org-export-html-to-html doesn't work, gives error message org-latex-compile: PDF file c:/Users/Admin/AppData/Local/Temp/babel-73881p

Re: [O] org-mode on Windows Emacs doesn't offer html export

2016-03-19 Thread Lawrence Bottorff
el-6812T7_/latex-6812ivv.pdf wasn't produced Not sure what this is about or what it has to do with exporting to html. LB On Fri, Mar 18, 2016 at 3:13 AM, Eric S Fraga wrote: > On Thursday, 17 Mar 2016 at 20:59, Lawrence Bottorff wrote: > > Yes, the title sums it up. I've just

Re: [O] org-mode on Windows Emacs doesn't offer html export

2016-03-19 Thread Lawrence Bottorff
Thanks for the advice. Yes, a stripped-down org file did work. Will troubleshoot till the culprit sinister is found. On Fri, Mar 18, 2016 at 9:46 AM, Fabrice Popineau < fabrice.popin...@supelec.fr> wrote: > > > 2016-03-18 14:35 GMT+01:00 Lawrence Bottorff : > >> Yes,

[O] Haskell source blocks?

2016-06-22 Thread Lawrence Bottorff
I'm guessing Haskell and org-mode Babel aren't really a great match? After installing haskell-mode, I've tried #+begin_src haskell doubleMe x = x + x #+end_src which isn't working . . . because it isn't allowed in the ghci? #+begin_src haskell let doubleMe x = x + x #+end_src works. However, #

[O] ipython not working in org mode

2016-06-29 Thread Lawrence Bottorff
I've followed everything here (https://github.com/gregsexton/ob-ipython) in order to set up ipython in org mode. But I keep getting the error: ...executing Ipython code block... apply: Searching for program: no such file or directory, ipython when I try the sample code block #+BEGIN_SRC ipython

Re: [O] ipython not working in org mode

2016-06-29 Thread Lawrence Bottorff
gt; https://github.com/gregsexton/ob-ipython/issues/63 > > I had to change python-shell-interpreter to python from ipython. It's just > a temporary fix until they update the codebase. Hope that helps... > > Best, > Naupaka > > Date: Wed, 29 Jun 2016 10:58:46 -0400 >>

[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

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: . . . link to top 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 wrote: > Lawrence Bottorff writes: > > >

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

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 wrote: > Lawrence Bottorff writes: > > > What would the github link be? > > https://github.com/tsdye/orgmanual > > Tom

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

2015-02-11 Thread Lawrence Bottorff
diting (Standard) ML tagedit20141021.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 wrote: > Lawrence Bottorff writes: > > > How about a raw comp

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

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 wrote: > Lawrence Bottorff writes: > > > Once again, I've added some package that makes a 20k-line/1 mg .org file > kill Emacs'

[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, pr

[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] 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
elationship to "org code"? What qualifies as "org code," as far as babel is concerned? On Sat, Apr 4, 2015 at 11:47 AM, Ken Mankoff wrote: > > If it weren't wrapped, it would be exported and not show up in the > document text. > > -k. > > On 2

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

Re: [O] Tangled Latex code gives error

2015-04-26 Thread Lawrence Bottorff
atex babel tangling. 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 wrote: > I'm following the Latex howto

Re: [O] Tangled Latex code gives error

2015-04-27 Thread Lawrence Bottorff
on this understanding. On Mon, Apr 27, 2015 at 5:33 AM, Eric S Fraga 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

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

Re: [O] org-babel for prolog

2015-05-16 Thread Lawrence Bottorff
5:03 PM, Bjarte Johansen < bjarte.johan...@infomedia.uib.no> wrote: > > > On 14 May 2015, at 20:22, Puneeth Chaganti wrote: > > > > On Thu, May 14, 2015 at 11:41 PM, Lawrence Bottorff > wrote: > >> > >> Confused by the requirement: > >> > >&g

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 wrote: > > I'm just a Prolog beginner, but this: > > #+begin_src p

[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-17 Thread Lawrence Bottorff
ve my cake and eat it too? On Sun, May 17, 2015 at 2:05 PM, Lawrence Bottorff 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 >

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 wrote: > Hello, > > Lawrence Bottorff writes: > > > Okay, after sifting through the reference I did see something about

Re: [O] Display :PROPERTIES: drawers?

2015-05-17 Thread Lawrence Bottorff
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 and it didn't work either. On Sun, May 17, 2015 at 7:08 PM, Thomas S. Dye wrote: > Lawrence

Re: [O] Display :PROPERTIES: drawers?

2015-05-18 Thread Lawrence Bottorff
.d/src/org-mode/lisp/). > > What version are you using? > > All the best, > Tom > > Lawrence Bottorff writes: > > > Sorry, not seeing any > > > > prop: Toggle inclusion of property drawers, or list properties to include > > (‘org-export-with-propert

Re: [O] Display :PROPERTIES: drawers?

2015-05-18 Thread Lawrence Bottorff
; [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] 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? > > > > Lawren

[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

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

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 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 way to p

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

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" wrote: > Lawrence Bottorff writes: > > > . . . installed geiser via elpa -- and got some functionality. Although > a simple thing like > > > > #+BEGIN_SRC schem

Re: [O] babel scheme not working

2015-05-28 Thread Lawrence Bottorff
Yes, thanks, the :session did the trick. Is that documented somewhere? Also, it ignored my running MIT Scheme and fired up a Guile REPL in the next buffer. I guess it's doing something with Geiser, hence, Guile? On Thu, May 28, 2015 at 3:20 PM, Nick Dokos wrote: > Lawrence Bottorff

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

Re: [O] Babel for eshell?

2015-08-23 Thread Lawrence Bottorff
ind eshell I can stay within 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 wrote: > Is there any way to do literate Babel-style things with eshell? On

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

Re: [O] install org-element, org-db

2015-08-28 Thread Lawrence Bottorff
place the output directly into my buffer without placing it in the #+RESULTS: output format? I see I can customize the #+RESULTS: word itself, and, of course, *:results raw* almost gets it, but still puts the #+RESULTS: label at the top. On Fri, Aug 28, 2015 at 4:27 PM, Rasmus wrote: > Lawre

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

Re: [O] Set babel scheme to chicken?

2015-08-29 Thread Lawrence Bottorff
wrote: > Aloha Lawrence, > > Lawrence Bottorff 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)) &g

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

  1   2   3   >