Re: [O] List of figures

2014-02-23 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> I'm trying to generate a list of figures for LaTeX export. I thought to >> use #+TOC: figures, but this didn't work. >> >> The Org Export Reference Doc

Re: [O] List of figures

2014-02-23 Thread Thomas S. Dye
Aloha Rasmus, Rasmus writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> 1) Is there a reason that the TOC keyword doesn't accept the value >> "figures"? The reference to org-export-collect-figures suggests that it >> should accept this value. > >

[O] List of figures

2014-02-22 Thread Thomas S. Dye
Aloha all, I'm trying to generate a list of figures for LaTeX export. I thought to use #+TOC: figures, but this didn't work. The Org Export Reference Documentation has this: “TOC” keyword. It accepts three common values: “headlines”, “tables” and “listings”. Also, “headlines” value can have

Re: [O] Tables with line wrapping?

2014-02-22 Thread Thomas S. Dye
ant the table to be a particular width. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Namespace problem org-mode / Clojure

2014-02-21 Thread Thomas S. Dye
re, nor close the frame). > > Best, Volker > > > > 2014-02-21 23:36 GMT+01:00 Thomas S. Dye : > >> Aloha Volker, >> >> I don't use Clojure, but ob-clojure.el defines a header argument >> :package. You should be able to do something like: >> >

Re: [O] Namespace problem org-mode / Clojure

2014-02-21 Thread Thomas S. Dye
/";)) > (package-initialize) > > (defvar my-packages '(starter-kit > starter-kit-lisp > starter-kit-bindings > starter-kit-eshell > clojure-mode > clojure-test-mode > cider)) > > (dolist (p my-packages) > (when (not (package-installed-p p)) > (package-install p))) > > (add-to-list 'load-path "/home/pold/org-mode/lisp") > > (require 'org) > (require 'ob-clojure) > > (setq org-babel-clojure-backend 'cider) > (require 'cider) > > My installed packages are: > (clojure-test-mode cider clojure-mode pkg-info epl dash > starter-kit-bindings starter-kit-eshell starter-kit-lisp > elisp-slime-nav starter-kit magit ido-ubiquitous smex > find-file-in-project idle-highlight-mode paredit). > > Any ideas what's going wrong here? > > Thanks! > > Best, Volker > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] [RFC] Move ox-koma-letter into core?

2014-02-17 Thread Thomas S. Dye
to be excluded from its use or enjoyment. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Bug: unconverted dashes in HTML export

2014-02-10 Thread Thomas Morgan
any problem with your first version, though I don't understand the intent behind the original regexp, either. I had assumed the point was to avoid matching horizontal separator lines in tables, but that doesn't seem to be an issue. Thanks, Thomas

Re: [O] [RFC] Proposal for rebindings in Org 8.3

2014-02-09 Thread Thomas S. Dye
le users, C-c " will be shadowed by the keybinding for icicle-search-text-property. At least that's my current working hypothesis. Feel free to correct me if I'm wrong. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-clojure - How to emit an example block?

2014-02-08 Thread Thomas S. Dye
Phill Wolf writes: > How can a Clojure source block contribute its standard-output results as an > example block? See the :wrap header argument. Something like :wrap example should get you close. hth, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Bug: unconverted dashes in HTML export

2014-02-08 Thread Thomas Morgan
, Xaw3d scroll bars) of 2013-09-24. Thanks and best regards, Thomas setup.el Description: application/emacs-lisp #+TITLE: Bug with unconverted dashes in HTML export | --- | Title: Bug with unconverted dashes in HTML export Bug with unconverted dashes in HTML export --- Author: T

Re: [O] Bug: dragging a line in agenda moves following hidden lines

2014-02-07 Thread Thomas Morgan
Hi, Bastien, If it's difficult to keep dragging from moving hidden lines, I agree, `/ /' removing the re-ordering would be less confusing than seeing the hidden lines moved. By the way, another useful feature could be dragging all lines in the region if it's active. Thanks, Thomas

Re: [O] [RFC] Move ox-koma-letter into core?

2014-02-07 Thread Thomas S. Dye
at we're still discussing it proves that it isn't as obvious as > I initially thought. That's fine with me. > > I will not insist anymore on this topic. IMO, it would be nice if a lightweight markup language like Org supported sophisticated letter writing out of the box. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Thomas S. Dye
" "\n?\n") ("v" "#+begin_verse\n?\n#+end_verse" "\n?\n") ("c" "#+begin_center\n?\n#+end_center" "\n?\n") ("l" "#+begin_latex\n?\n#+end_latex" "\n?\n")

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Thomas Holst
ties. what about #+HEADER: for source code blocks. Filling might be difficult since I don't know if something like: #+HEADER: :var foo= #+HEADER: "bar" is handled correctly by babel parser. The same holds true for #+ATTR_LATEX: -- Mit freundlichen Grüßen / Best regards Thomas Holst DGS-EC/ESE4 Tel. +49 (711) 811-40681 PC-Fax +49 (711) 811-5182208

Re: [O] orgtbl-to-sqlinsert

2014-02-04 Thread Thomas S. Dye
Aloha Thierry, Thierry Banel writes: > Hi again Thomas > > Probably the issue is not in orgtbl-to-sqlinsert, > because orgtbl-to-sqlinsert does not receive the header of the table. > Here is another fix which just recovers the lost header and passes it to > orgtbl-to-s

[O] Bug: dragging a line in agenda moves following hidden lines

2014-02-03 Thread Thomas Morgan
t store :errands: | test-case: Scheduled: TODO Pick up package from post office :errands: | test-case: Scheduled: TODO Clean stovetop ` I think it would be more useful and intuitive for hidden lines not to be affected by dragging. Thanks, Thomas

Re: [O] orgtbl-to-sqlinsert

2014-02-02 Thread Thomas S. Dye
Aloha Thierry, Thierry Banel writes: > Hi Thomas. > > I don't understand this behavior yet. > But here is a workaround: > try the #+ORGTBL: SEND feature: > 1- Add a #+ORGTBL: SEND line > 2- Add a BEGIN RECEIVE ORGTBL block > 3- Type C-c C-c with cursor on the fi

[O] orgtbl-to-sqlinsert

2014-02-02 Thread Thomas S. Dye
Aloha all, I'm expecting column names in the "foo( )" part of the INSERT statement. I've done my best to understand http://orgmode.org/worg/org-tutorials/multitarget-tables.org.html but appear to have failed. Can someone help? *** Experiment with orgtbl-sqlinsert #+name: test-table | one | two

[O] Name for part of Org mode buffer before first headline

2014-02-01 Thread Thomas S. Dye
Aloha all, Is there a canonical name for the part of the Org mode buffer before the first headline? I checked the manual and probed my failure-prone memory off and on over the last few days, but didn't come up with anything. I'm looking for the Org mode equivalent of LaTeX's preamble. All the b

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread Thomas S. Dye
be attached to email messages git format-patch -o ~/temp/ HEAD~1 after the command finished you will notice a new file in ~/temp with a name like 0001-commit-message-stuff.patch hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Thomas S. Dye
t macro syntax. Backwards compatibility is an issue for my work with Org mode. I'm happy to track changes that result from enhanced capabilities, but unhappy to track changes that are cosmetic, like this suggestion to change the syntax for macros. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] bad link in FAQ

2014-01-30 Thread Thomas S. Dye
ces: http://orgmode.org/worg/worg-git.html All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Bug dragging lines in tag-restricted agenda

2014-01-29 Thread Thomas Morgan
Hi, Bastien, This is working in 8.2.5c, thanks! There are a few related bugs (going to a running clock associated with a line that has been dragged in the agenda, for example) that I'll send in reports for later. Thanks, Thomas Bastien writes: > Hi Thomas, > > Bastien wri

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-29 Thread Thomas S. Dye
Aloha Bastien, Bastien writes: > Hi Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Also, this is my first time trying to decode a syntax table, so caveat >> emptor. > > Yes -- when doing C-u C-x on { in fundamental-mode I read > > Character cod

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-29 Thread Thomas S. Dye
macs guideline means when it says "punctuation". Also, this is my first time trying to decode a syntax table, so caveat emptor. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Exporting text

2014-01-27 Thread Thomas S. Dye
Aloha Peter, Peter Davis writes: > On Mon, Jan 27, 2014 at 03:41:29PM -1000, Thomas S. Dye wrote: >> Aloha Peter, > > Aloha! > >> >> The Koma scripts for LaTeX use sans-serif headings. Try this: > > Excellent! Thank you, Thomas! The Tex-Gyre Palatino fon

Re: [O] Exporting text

2014-01-27 Thread Thomas S. Dye
sis, like this: # Local Variables: # eval: (org-sbe "koma-article") # End: Beware of org-sbe, which used to be just sbe. You might need something like this: # eval: (and (fboundp 'org-sbe) (not (fboundp 'sbe)) (fset 'sbe 'org-sbe)) hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Thomas S. Dye
e them altogether, since they don't bring anything new. I didn't know about this undocumented feature. Since it doesn't bring anything new, I'm fine with removing it altogether. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-24 Thread Thomas S. Dye
Aloha Bastien, Bastien writes: > Hi Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> I just checked the Org mode manual and found that it has several entries >> that consist of `C-c' followed by a punctuation character. > > Can we list them in this thre

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-23 Thread Thomas S. Dye
it has several entries that consist of `C-c' followed by a punctuation character. In my quick check (at the boarding gate for an airline flight) I didn't find a note that these sequences might properly be shadowed by a minor mode. Perhaps a note in the manual would be useful? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Buffer local alias?

2014-01-16 Thread Thomas S. Dye
have alook at this: > > https://www.vagrantup.com/ Ah, very nice. Proof that it's a good idea to stir old pots now and again. Thanks for bringing this to the attention of the mailing list. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Buffer local alias?

2014-01-14 Thread Thomas S. Dye
d t) # End: I haven't the faintest idea if this is a "good idea" or a snake pit of potential problems. Is the idea worth experimenting with? Pleased to appear well-organized, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Buffer local alias?

2014-01-14 Thread Thomas S. Dye
) (fset 'sbe 'org-sbe)) # eval: (sbe "setup-common-lisp") # End: Bastien, for my use case there is no reason to define an alias. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Local variables and babel

2014-01-14 Thread Thomas S. Dye
Aloha all, Impressed by the many problems described on the ML that are caused by a setting in .emacs, I've slowly been working to make my configuration buffer local, using source code blocks stored in my local library of babel or placed in a noexport section of the Org mode file and then evaluated

[O] Buffer local alias?

2014-01-14 Thread Thomas S. Dye
Aloha all, My evolving reproducible research documents make use of Dan Davison's idea recently re-introduced by Seb Vauban: * Local variables :noexport: # Local Variables: # eval: (org-sbe "setup-common-lisp") # End: Here, the source code

Re: [O] export from R to tables, possible correction to ob-doc-R.org

2014-01-13 Thread Thomas S. Dye
ent directly. See http://orgmode.org/worg/worg-git.html#contribute-to-worg for the full instructions. Thanks for catching this. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Thomas S. Dye
sfully, Emacs can obviously find eieio at > runtime, so I wouldn't worry about batch compilation not working. Somehow, make was finding the emacs 22 that came with the OS. Not sure why emacs --version said 24.3.1. Apologies for the noise. Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-11 Thread Thomas S. Dye
server/blob/master/examples/013-org-export-service.el > > [5] > https://github.com/eschulte/emacs-web-server/blob/master/examples/011-org-agenda.el > > [6] https://github.com/eschulte/org-ehtml > > [7] http://eschulte.github.io/emacs-web-server/benchmark/ -- Thomas S. Dye http://www.tsdye.com

Re: [O] No Export Tag Not Working?

2014-01-10 Thread Thomas S. Dye
EXCLUDE_TAGS be set in every file? > > Using Org 8.2.5c. > > Thanks in advance, Aric > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Local variables in org files

2014-01-09 Thread Thomas S. Dye
Best regards, > Seb Thanks for this! All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-03 Thread Thomas S. Dye
ion [fn:1]. Could you expand on what you mean by "less portable"? I'm interested in portability from a reproducible research perspective and want to avoid habits that don't port well to other researchers' systems. Happy New Year! -- Thomas S. Dye http://www.tsdye.com

Re: [O] Folding buglet?

2014-01-03 Thread Thomas S. Dye
Aloha Bastien, Bastien writes: > Btw, I didn't notice this before because I use > > (setq require-final-newline t) > > which you might find useful. Yes, indeed. Thanks! All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866

[O] Folding buglet?

2014-01-01 Thread Thomas S. Dye
Aloha all, * Folding issue - One - Two With this Org mode buffer, which ends immediately after "Two" with no new line, the "o" of Two shows up when the headline is folded: * Folding issue...o Obviously, not a big deal, but not expected behavior. BTW, 2013 was a good year for Org mode in my b

Re: [O] latex equation and html export

2013-12-30 Thread Thomas S. Dye
nd to me your configuration files and your preambles please, it > would be certainly helpful. -- Thomas S. Dye http://www.tsdye.com

Re: [O] latex equation and html export

2013-12-30 Thread Thomas S. Dye
Aloha Joseph, Joseph Vidal-Rosset writes: > Unfortunately, this code does not give a good translation in latex , here > is the result in the tex file: > > \begin{equation} > \label{eq:2} > A [image: \to] [image: \neg{}] B > \end{equation} I get this LaTeX, which works as expected: \begin{equat

Re: [O] latex equation and html export

2013-12-30 Thread Thomas S. Dye
omething like this might do what you want: #+NAME: eq:2 #+BEGIN_EQUATION A \to \neg B #+END_EQUATION See Section 11.8 of the manual, Special Blocks. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Contribution: ob-groovy.el

2013-12-27 Thread Thomas S. Dye
Aloha Miro, Miro Bezjak writes: > can I do all those tasks over the couple of days - when I have more time? Yes, of course. The FSF papers will probably take several weeks to complete, if you haven't already done so. > > Should I just add the documentation before ob-groovy.el is accepted? >

Re: [O] Contribution: ob-groovy.el

2013-12-26 Thread Thomas S. Dye
--- > #+BEGIN_SRC groovy > println "ignored" > 1 + 2 > #+END_SRC > > #+RESULTS: > : 3 > > > --- testing results output -- > #+BEGIN_SRC groovy :results output > println '1' > println '2' > println 1 + 2 > #+END_SRC > > #+RESULTS: > =1 > 2 > 3 > > > --- testing table -- > #+BEGIN_SRC groovy :results verbatim raw > """ > | 1 | 2 > |-- > | a | b > """.trim() > #+END_SRC > > #+RESULTS: > | 1 | 2 | > |---+---| > | a | b | > > > Kind Regards, > Miro Bezjak > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] LaTeX export, problem with quotes

2013-12-26 Thread Thomas S. Dye
nt aren't using the latest Org mode, a file-specific org-entities-user entry looks like the best solution. Thanks for your patience as I puzzled this out online. All the best, Tom Nicolas Goaziou writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> I'm getting the

Re: [O] LaTeX export, problem with quotes

2013-12-26 Thread Thomas S. Dye
Nicolas Goaziou writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> I'm getting the same incorrect result as before with: >> >> Org-mode version 8.2.4 (release_8.2.4-391-g954168 @ >> /Users/dk/.emacs.d/src/org-mode/lisp/) > > Did you reload Org? I c

Re: [O] LaTeX export, problem with quotes

2013-12-26 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> I'm having a problem with exporting quotes. I have the #+OPTIONS ':t. >> >> This input in the Org mode file: >> >> "[l]ater walls ..."

[O] org-entities in #+captions

2013-12-25 Thread Thomas S. Dye
Aloha all, With this local variable: # eval: (add-to-list 'org-entities-user '("amacron" "\\={a}" nil "ā" "a" "a" "ā")) the org-entity \amacron isn't handled inside a caption: #+caption: *Level assignments in the Kahua 1 and P\amacron{}hinahina detailed study area.* The caption exports to L

Re: [O] Getting custom LaTeX exports to work

2013-12-25 Thread Thomas S. Dye
t;) > ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) > > In my simple org-file I have the following in the first line: > > #+LaTeX_CLASS: koma-article > > Unfortunately I still get "Unknown LaTeX Class `koma-article`" when > executing -c-e l L You've named it `koma-artikel', not `koma-article'. hth, Tom -- Thomas S. Dye http://www.tsdye.com

[O] LaTeX export, problem with quotes

2013-12-25 Thread Thomas S. Dye
Aloha all, I'm having a problem with exporting quotes. I have the #+OPTIONS ':t. This input in the Org mode file: "[l]ater walls ..." produces this in the tex file (open quote wrong, close quote OK): "[l]ater walls ...'' I'm expecting this in the tex file: ''[l]ater walls ...'' I'm using Org

Re: [O] [PATCH] Add ob-J.el

2013-12-24 Thread Thomas S. Dye
ri, Dec 20, 2013 at 6:22 PM, Thomas S. Dye wrote: >> Aloha Oleh, >> >> Oleh writes: >> >>> Hi all, >>> >>> Here's a patch to add babel support for J. >>> I couldn't figure out how to make ob-J.elc a target for make, >>> may

Re: [O] [PATCH] Add ob-J.el

2013-12-20 Thread Thomas S. Dye
u can find a link for a documentation template here: http://orgmode.org/worg/org-contrib/babel/languages.html#develop I'm happy to proof-read and edit draft documentation, if you'd like. We're slowly catching up with the documentation for babel languages. Thanks for your contributio

Re: [O] [RFC] About `org-export-with-\(fixed-width\|tables\)'

2013-12-18 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Nicolas Goaziou writes: >> Removal is fine with me. For years now, I've inserted the automatic >> boilerplate at the top of my Org mode documents, which has ::t and |:t. >&

Re: [O] [RFC] About `org-export-with-\(fixed-width\|tables\)'

2013-12-18 Thread Thomas S. Dye
it wasn't necessary to go back and get rid of the obsolete OPTIONS in all those old, but still active, files. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] #+TEXT: disappeared

2013-12-18 Thread Thomas S. Dye
-mode 8? >> >> IIUC, it became `#+ascii:'. >> >> Best regards, >> Seb >> > > Hm, when I try this it won't even appear in the .tex file. I'm not sure what your expectations might be, but if you want to add special code to a .tex file

Re: [O] Old style backquotes in ox-texinfo.el

2013-12-12 Thread Thomas S. Dye
James Harkins writes: >>> If this has been fixed in master, then I'm content to leave it at that. >> >> I don't know about this. My guess is that your Org-mode installation is >> messed up somehow. > > I'm unclear how. I didn't see this message in Emacs. It's during > "make." That has to do only

Re: [O] Old style backquotes in ox-texinfo.el

2013-12-11 Thread Thomas S. Dye
will be removed soon. See (elisp)Backquote in the manual. I can't reproduce this. The lines that throw warnings for you are both docstrings with the version of ox-texinfo.el I just pulled from git-master. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] how to adjust vertical spacing between lines in a simple list, pdflatex export

2013-12-05 Thread Thomas S. Dye
emize} % Emacs 24.3.1 (Org mode 8.2.3c) All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] How do I specify the language for a :results code block

2013-12-02 Thread Thomas S. Dye
Aloha Alan, Alan Schmitt writes: > Unfortunately, if I export this, the code is duplicated. Here is the > generated html, for instance: Yes, the code is partially duplicated when I run it. It looks to me as if the problem stems from :results raw and the fact that results is itself a source code

Re: [O] Babel support for the D language

2013-11-30 Thread Thomas S. Dye
Aloha Thierry, Thierry Banel writes: > Done ! > The first draft of > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-D.html > has been committed. I pushed some minor edits. Looks good! All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] How do I specify the language for a :results code block

2013-11-30 Thread Thomas S. Dye
:results raw :var f="demo.v" echo "#+BEGIN_SRC coq" echo $f echo "#+END_SRC" #+END_SRC #+results: fetchcoq2 #+BEGIN_SRC coq demo.v #+END_SRC #+call: fetchcoq2("demo.v") :results raw #+results: #+BEGIN_SRC coq demo.v #+END_SRC hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] How do I specify the language for a :results code block

2013-11-29 Thread Thomas S. Dye
pecify the language. I think this can be accomplished by chaining: #+name: first-link #+begin_src sh ECHO "XXX" #+end_src #+begin_src emacs-lisp :var x=first-link() (princ x) #+end_src #+results: : XXX hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] LaTeX export with documentclass ltugboat

2013-11-28 Thread Thomas S. Dye
ot;\\documentclass{ltugboat}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) Note: org-latex -> ox-latex org-export-latex-classes -> org-latex-classes hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Babel support for the D language

2013-11-28 Thread Thomas S. Dye
r help for proof-reading the yet-to-be-written > documentation. Great. Let me know when you've pushed a draft to Worg. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Babel support for the D language

2013-11-28 Thread Thomas S. Dye
;string %S = \"%s\";" var val)) > ((listp val) > (if (assoc var colname-names) () > (setq colname-names > (cons (cons > var > (let ((i 0)) (mapcar (lambda (x) (setq i (1+ i)) (format > "$%s" i)) > (car val > colname-names))) > (format "string[][] %S = [\n[%s]];" var > (mapconcat (lambda (row) >(if (listp row) >(mapconcat (lambda (v) (format "\"%s\"" v)) > row > ","))) > val > "],\n["))) > (t > (format "u32 %S = %S;" var val) > > (defun org-babel-D-colnames-to-D (pair) > "Convert an elisp list of header table into a D vector > specifying a variable with the name of the table" > (let ((table (car pair)) > (headers (cdr pair))) > (format "string[] %S_headers = [%s];" > table > (mapconcat (lambda (h) (format "%S" h)) headers "," > > (provide 'ob-D) > > ;;; ob-D.el ends here > > -8<--(end of ob-D.el)--->8 > > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] imaxima babel

2013-11-27 Thread Thomas S. Dye
how it works. Feel > free to copy paste whatever is useful to amend it though. I added this to ob-doc-maxima. It might require some editing. You can learn how to edit Worg here: http://orgmode.org/worg/worg-git.html All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-26 Thread Thomas S. Dye
omorrow if I find the time and submit a patch. > > Patch attached. It passed the two tests, but I have not done anything > more. Can both interested parties (York Zhao and Tom Dye) please test it > and let me know of any problems? Hi Nick, The patch appears to work for me. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-25 Thread Thomas S. Dye
e second y effective). hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] links to attachments don't export anymore

2013-11-25 Thread Thomas Holst
Hi Nicolas, · Nicolas Goaziou wrote: > Thomas Holst writes: >> For me the problem still persists. > Thank you for the report. > I pushed another fix. Please let me know if it doesn't do its job. Works like a charm again. Thanks for fix. -- Bis neulich ... Thomas

Re: [O] reference #+label: in export to both LaTeX and HTML

2013-11-23 Thread Thomas S. Dye
export I could use \ref{mutation-ops} which would be passed > directly through to LaTeX, however this syntax is not understood by the > HTML backend. > > Is there a general Org-mode construct for referencing labels? > > Thanks, -- Thomas S. Dye http://www.tsdye.com

[O] [Babel] Bug reading example blocks?

2013-11-22 Thread Thomas S. Dye
s, AFAICT, regardless of the value of org-src-preserve-indentation. Is there a reason for this? Or, is it a bug? Or, am I going about this task in the wrong way? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] links to attachments don't export anymore

2013-11-22 Thread Thomas Holst
Hi Nicolas, · Thomas Holst wrote: > Hi, > > · Nicolas Goaziou wrote: > >>> Actually, this could solved by widening the buffer before expanding the >>> link in `org-element-link-parser'. >>> >>> Though, I'm surprised that neither `org

Re: [O] Refresh buffer properties and local variables

2013-11-21 Thread Thomas S. Dye
Nick Dokos writes: > Bastien writes: > >> Looks good, please push! >> > > Pushed to master (I hope...) Let me know if there is a problem. Thanks Nick. After a pull this morning, my file's local variables aren't lost when I refresh buffer properties. All the

Re: [O] Refresh buffer properties and local variables

2013-11-20 Thread Thomas S. Dye
something else I can do to get this change into Org? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Refresh buffer properties and local variables

2013-11-19 Thread Thomas S. Dye
Aloha all, I just discovered that refreshing buffer properties, C-c C-c at the top of my Org mode file, resets Local Variables to their default values (I think). At any rate, the Local Variables I set at the end of the file are changed by refreshing buffer properties. Is this intended? I end up

Re: [O] Lisp code blocks fail

2013-11-19 Thread Thomas S. Dye
been reduced to "2". > > I've just pushed up a fix. > > Best, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Hi Eric, >> >> I understand this a bit better now. >> >> In org-babel-execute:lisp, the local variable result is getting set

Re: [O] Is it possible to repeat a block of org-mode text on export, maybe with replacement?

2013-11-19 Thread Thomas S. Dye
ine with bar as the value > 3. this is the third line > > 1. this is the first line > 2. this is the second line with baz as the value > 3. this is the third line > > I'm not sure how to go about this; I assume I'd use org-babel with > source blocks that contain org-mode text or elisp or something. > > Of course if the right answer is I should write a python script to > generate my org-mode text, well, that's OK too. :-) -- Thomas S. Dye http://www.tsdye.com

Re: [O] links to attachments don't export anymore

2013-11-18 Thread Thomas Holst
ld be fixed now. > > Thank you for the report. Thanks for fixing it! I don't have time to test it today. But I will do so tomorrow. I will report. -- Bis neulich ... Thomas

Re: [O] [babel] header lines in unnamed lisp code blocks

2013-11-17 Thread Thomas S. Dye
Aloha all, Noise, sorry. The code block fails because it is at the top of buffer. If I put a headline before it, all is well. Tom t...@tsdye.com (Thomas S. Dye) writes: > Hi Eric, > > This code doesn't return. > > #+header: :results value > #+begin_src lisp > (+ 1 1

[O] [babel] header lines in unnamed lisp code blocks

2013-11-17 Thread Thomas S. Dye
lock above. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Lisp code blocks fail

2013-11-17 Thread Thomas S. Dye
slime in six months AFAIK. Other babel languages work as usual. My problem appears to be confined to lisp. All the best, Tom t...@tsdye.com (Thomas S. Dye) writes: > Hi Eric, > > An edebug adventure :) > > AFAICT, the error is thrown by this call to a macro: > (org-babel-resu

Re: [O] Lisp code blocks fail

2013-11-15 Thread Thomas S. Dye
-M-x) the > `org-babel-execute:lisp' function and then run that code block again to > see at which statement the error is thrown. > > I'm not sure what the problem could be. > > Best, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Hi Eric, >> >> #+

Re: [O] Implementing Reproducible Research

2013-11-15 Thread Thomas S. Dye
F. Leisch and R. Peng is coming out next year from CRC. > I was wondering if anyone has written a chapter presenting org for it. > Any clue? > > Christophe -- Thomas S. Dye http://www.tsdye.com

Re: [O] links to attachments don't export anymore

2013-11-14 Thread Thomas Holst
helps to trace down the root cause. Thanks a lot for org. I really don't know how to survive without it :-) -- Bis neulich ... Thomas

Re: [O] Lisp code blocks fail

2013-11-13 Thread Thomas S. Dye
mmand-override function) (setq ad-return-value (with-no-warnings (ad-Orig-call-interactively function record-flag keys ad-return-value) call-interactively(org-ctrl-c-ctrl-c nil nil) Org-mode version 8.2.3b (release_8.2.3b-200-gb6522a @ /Users/dk/.emacs.d/src/org-mode/lisp/) All the best, T

Re: [O] org-insert-heading

2013-11-13 Thread Thomas S. Dye
Hi Bastien, Bastien writes: > Hi Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> With the following Org mode file, there is a dead space where >> org-insert-heading doesn't do anything. In the following example, if the >> point is on either of the

[O] Lisp code blocks fail

2013-11-12 Thread Thomas S. Dye
Aloha all, With a recent pull, Lisp code blocks that I'm fairly certain were working previously started to fail. There is a backtrace below. The Lisp code executes correctly, but Babel doesn't appear to get the results in the form it expects (if I'm reading the backtrace correctly). Have I mucked

[O] org-insert-heading

2013-11-12 Thread Thomas S. Dye
Aloha all, With the following Org mode file, there is a dead space where org-insert-heading doesn't do anything. In the following example, if the point is on either of the empty lines marked [dead space] no heading is created. Is this behavior intended? * Folded heading ... [dead space] [dead

Re: [O] Bug dragging lines in tag-restricted agenda

2013-11-12 Thread Thomas Morgan
Hi, Bastien, Thanks for giving this your attention. I'm afraid I'm still seeing the same behavior described in the bug report. Best, Thomas

Re: [O] Guess correct dictionary for Ispell

2013-11-08 Thread Thomas S. Dye
search-backward "#\\+LANGUAGE: +\\([[:alpha:]_]*\\)" 1 t) > (setq lang (match-string 1)) > (ispell-change-dictionary (cdr (assoc lang dico-alist))) > > (add-hook 'org-mode-hook 'my-org-switch-language) > > Best regards, > Seb -- Thomas S. Dye http://www.tsdye.com

Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks

2013-11-04 Thread Thomas S. Dye
lines 68-79 of ob-dot.el, for instance, which implements a :cmdline header argument. It might be easy to implement something similar for ob-lilypond.el, as well. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] R contingency table axes labels in org

2013-11-04 Thread Thomas S. Dye
- > > All the best, > > Jarmo > > > library(ascii) ... print(ascii(table(data)), type="org") hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Exporting book handouts

2013-11-04 Thread Thomas S. Dye
ematic. * Book ** Chapter 1 ** Chapter 2 * Handouts ** Handout 1 ** Handout 2 * Common Material ** Figures ** Tables All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Exporting book handouts

2013-11-03 Thread Thomas S. Dye
ative stage, so I am sure I will come up with > 10^6 other questions when I need to face the details. But I would first > like to clear these general issues before I even try to proceed. > > All the best, > > Jarmo > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-mode in the wild

2013-11-02 Thread Thomas S. Dye
heck it out. > > John > > --- > John Kitchin > Associate Professor > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > http://kitchingroup.cheme.cmu.edu > > -- Thomas S. Dye http://www.tsdye.com

<    5   6   7   8   9   10   11   12   13   14   >