Re: [O] mdframed blocks for latex export

2015-02-22 Thread Thomas S. Dye
--- exports this valid mdframed code to LaTeX: \begin{mdframed}[foo] Contents of box go here. \end{mdframed} hth, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Manual patch: noweb header argument

2015-02-22 Thread Thomas S. Dye
Aloha all, The attached patch recognizes all six possible :noweb header arguments. All the best, Tom >From 3106e37ba1cfd7fa8e7c1a792a7c69cf76aa5343 Mon Sep 17 00:00:00 2001 From: tsdye Date: Sun, 22 Feb 2015 07:20:34 -1000 Subject: [PATCH] Revise noweb header argument --- doc/org.texi | 4 ++-

Re: [O] Babel: Call A when executing B

2015-02-22 Thread Thomas S. Dye
ix this is to have babel run with python, not IPython, > but then pre-load all the packages that make IPython great. > > To be specific, how can I executed "import numpy as np" each time I "C-c > C-c" on a "+#BEGIN_SRC python" code block? > > Thanks, > > -k. > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links

2015-02-21 Thread Thomas S. Dye
eal find. Thanks, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citation syntax: a revised proposal

2015-02-21 Thread Thomas S. Dye
m to scholars in the larger community. At any rate, I'm just reacting to "desperately needs" and "rigorous, standard". I think Samuel's ideas on extensible syntax are compatible with reproducible scientific writing. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citation syntax: a revised proposal

2015-02-17 Thread Thomas S. Dye
Thanks for your patience as I digested your proposals. Let me know if you think I can help in some way. All the best, Tom Richard Lawrence writes: > Hi Tom, > > t...@tsdye.com (Thomas S. Dye) writes: > >> I want a syntax that recognizes arbitrary citation commands because I >

Re: [O] Citation syntax: a revised proposal

2015-02-16 Thread Thomas S. Dye
ed. Also, biber is required for some biblatex features that bibtex doesn't support. I haven't followed this development and am not sure what they are, though. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citation syntax: a revised proposal

2015-02-16 Thread Thomas S. Dye
pler syntax, as Stefan suggests, would it be possible for the various ox-* files to indicate for the input helper which commands are supported? Then, the author could specify the output targets somewhere in the header and the input helper could serve up the intersection of supported commands, yielding a document portable across the indicated backends and with the richest possible set of citation commands. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citation syntax: a revised proposal

2015-02-15 Thread Thomas S. Dye
e official citation syntax. I'm able to achieve my goals fully in Org mode without it. All the best, Tom Richard Lawrence writes: > Hi Tom, > > t...@tsdye.com (Thomas S. Dye) writes: > >> 0 >> >> A syntax that relegates citation commands to an extension that

Re: [O] Citation syntax: a revised proposal

2015-02-14 Thread Thomas S. Dye
e adopted), 0, or -1 (meaning you'd prefer not to > see this syntax or anything similar to it adopted). 0 A syntax that relegates citation commands to an extension that might not export properly in future versions of Org mode isn't useful in my work. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-12 Thread Thomas S. Dye
ichiliocosm" or "chiliocosm." It's eye opening to see Org mode at work so deep in the humanities. All the best, Tom Vaidheeswaran C writes: > On Thursday 12 February 2015 12:49 PM, Thomas S. Dye wrote: >> Aloha Vaidheeswaran, >> >> This is an odd examp

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-11 Thread Thomas S. Dye
the ODT exporter, suggests that the > '[fn:2]' occurring in '[fn:1]' is treated as site of first > reference. We would like to make '[fn:2]' occurring next to 'text2' be > treated as the site of first reference. If we do that, everything > will be just right. > > > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Richard Lawrence writes: > Hi Tom and all, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Richard Lawrence writes: >> >>> Conceptually, something like `@key:year' isn't a citation, but merely >>> indirection, because it doesn't actual

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
er of `citation' types that the syntax should > support if we distinguish citations from indirection like this. I don't think this concept holds in the LaTeX world. I'm fairly certain that citation commands like \citeauthor and \citeyear create an entry in the bibliograph

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Nicolas Goaziou writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> Yes, I typically use what I call a multicite to get multiple citations >> with biblatex. It just inserts {key}. I precede two or more of these >> with a placeholder--π for parencites, † for textcite

Re: [O] Citations, continued

2015-02-09 Thread Thomas S. Dye
t;1. For the popularity of pork in eighteenth century England see Foo 1923, Bar 1946, and references therein; animal husbandry in Oceania is discussed at length by Baz 1963." I don't know what word-processing (document preparation) software is prevalent in history or the humanities generally, though my guess is Word, not LaTeX. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citations, continued

2015-02-09 Thread Thomas S. Dye
in biblatex, IMO. Note that CSL doesn't yet support multiple citations. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citations, continued

2015-02-08 Thread Thomas S. Dye
rt. Something like this seems right to me. I don't think the citation command should be thought of as LaTeX specific, but rather as one of the four pieces of information required to create arbitrarily complex citations in the output. IIUC, it should be possible to generate the required infor

Re: [O] Citations, continued

2015-02-02 Thread Thomas S. Dye
(plist-get plist :pre) > (plist-get plist :post) > head > #+END_SRC > > > > Exports to: > > #+BEGIN_EXAMPLE > \cite[See for example][page 47]{kitchin-2010} > #+END_EXAMPLE > > > > >> >> All the best, >> Tom > > -- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Citations, continued

2015-02-02 Thread Thomas S. Dye
Hi John, John Kitchin writes: >> Now, I agree with you that Org mode links are not ideal for citations. >> Parsing the description is humbug and error-prone, and the descriptions >> look ungainly in the Org mode document. I never remember to click >> citation links in the "right" place! There

Re: [O] Citations, continued

2015-02-01 Thread Thomas S. Dye
ould it be feasible to generalize Org mode's link syntax, or make it extensible, so the overlap of link with citation is complete? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [babel, bug?] colnames with a list of columns does not work

2015-01-23 Thread Thomas S. Dye
t a list of values for the :colnames header argument? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [babel, bug?] colnames with a list of columns does not work

2015-01-22 Thread Thomas S. Dye
; | 1.3 | 7 | > | 1.4 | 13 | > | 1.5 | 13 | > > while I was expecting: > > | Lg | Nb | > |-+| > | 1 | 1 | > | 1.1 | 1 | > | 1.2 | 2 | > | 1.3 | 7 | > | 1.4 | 13 | > | 1.5 | 13 | > > Am I missing something? > > Best regards, > Seb -- Thomas S. Dye http://www.tsdye.com

Re: [O] Lentic.0.6 and org mode

2015-01-16 Thread Thomas S. Dye
. Does INFO refer to the output of texinfo? If so, then there is already a path from ORG to INFO. Jonathan Leech-Pepin has contributed a really nice texinfo exporter to the Org mode core, ox-texinfo.el. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [BUG] [babel] [R] :colnames yes conflicts with :results file

2015-01-07 Thread Thomas S. Dye
Babel interprets the single-cell table as a scalar. #+begin_src R :results value ret <- data.frame("scalar") #+end_src #+results: : scalar #+begin_src R :results value table ret <- data.frame("table") #+end_src #+results: | table | hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [BUG] [babel] [R] :colnames yes conflicts with :results file

2015-01-06 Thread Thomas S. Dye
and then return them in a table - or > use :results output and "draw" the table. > > But as it stands, these two header arguments do not go together. Which two header arguments? :results table file is contradictory, but :colnames yes :results file is not, or should not be, IMHO. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Calling a source block with raw results

2015-01-04 Thread Thomas S. Dye
e do what you want? #+CALL: org-figure-to-slide() :results raw hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Efficiency of Org v. LaTeX v. Word ---LOOK AT THE DATA!

2014-12-29 Thread Thomas S. Dye
png :width 1000 :height 1000 > #+BEGIN_SRC R :session *R* :exports both :results output graphics > layout(matrix(1:4,nc=2,byrow=TRUE)) > par(cex=2) > plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5),ylim=c(0,100), > xlab="User category",ylab="",main="Fraction of text") > with(efficiency, > sapply(1:4, > function(k) points(runif(10,k-0.2,k+0.2), > PROZENT3[Kenntnisse==k], > pch = paste(0:9 > > with(efficiency, > plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5), >ylim=range(FEHLERSFOR),xlab="User category",ylab="", >main="Formatting errors and typos")) > with(efficiency, > sapply(1:4, > function(k) points(runif(10,k-0.2,k+0.2), > FEHLERSFOR[Kenntnisse==k], > pch = paste(0:9 > > with(efficiency, > plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5),ylim=range(FEHLEROFOR), >xlab="User category",ylab="", >main="Orthographic and grammatical mistakes")) > with(efficiency, > sapply(1:4, > function(k) points(runif(10,k-0.2,k+0.2), > FEHLEROFOR[Kenntnisse==k], > pch = paste(0:9 > > with(efficiency, > plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5), >ylim=range(FEHLENDFOR),xlab="User category",ylab="", >main="Missing words and signs")) > with(efficiency, > sapply(1:4, > function(k) points(runif(10,k-0.2,k+0.2), > FEHLENDFOR[Kenntnisse==k], > pch = paste(0:9 > #+END_SRC -- Thomas S. Dye http://www.tsdye.com

Re: [O] Efficiency of Org v. LaTeX v. Word

2014-12-26 Thread Thomas S. Dye
ume > Org would trump LaTeX, but would Org -> ODT or Org -> X -> DOCX (via > pandoc) beat straight Word? > > -k. > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Table block help

2014-12-16 Thread Thomas S. Dye
to receive > for the intended addressee, you are hereby notified that you may not > use, copy, disclose or distribute to anyone the message or any > information contained in the message. If you have received this > message in error, please immediately advise the sender by reply email > and delete the message. Thank you. -- Thomas S. Dye http://www.tsdye.com

Re: [O] Exporting LaTeX fragments equations Org-mode 8.2.10

2014-12-15 Thread Thomas S. Dye
hat I may be missing? I think this came up on the list a few days ago. IIRC, the \begin{equation} has to be on its own line. The \label{} should move down to the next line. Does that work? hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] table formula help...

2014-12-05 Thread Thomas S. Dye
formula for "Total Lines" would be exactly the same, but with the > $2s all switched to $3. I can handle adding up the amounts! > > Is it possible to iterate over all the rows in another table like this? > Is there a better way I could be arranging my tables? > > Thanks for any tips! > > Eric > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Not LaTeX now, trying to use org-mode

2014-12-03 Thread Thomas S. Dye
ocess - search the list for more. | #+END_myitalics `------------ hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Large LaTeX project in single file or using publishing

2014-11-26 Thread Thomas S. Dye
to use internal links if I use > separate files. Another thought is compilation time if I use one file > and must always run pdflatex over the entire document. I'm sure there > are pitfalls either way that I'm not yet aware of. > > Any input or advice you can provide would be greatly appreciated. > > Regards, > Jake > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Unexpected macro error

2014-11-21 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> A document I've been working on for several weeks broke recently without >> changes on my part. However, I've been tracking the master git branch >> every once

Re: [O] babel, header arguments.

2014-11-21 Thread Thomas S. Dye
jenia.iv...@gmail.com (jenia.ivlev) writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> Aloha, >> >> jenia.iv...@gmail.com (jenia.ivlev) writes: >> >>> Also, what if I want to import the actual function defintion into >>> another src block: >&g

Re: [O] babel, header arguments.

2014-11-21 Thread Thomas S. Dye
finitions > > Is that possible? Yes, see section 14.10 Noweb reference syntax in the manual. You'll have something that looks like this: #+header: :noweb yes #+begin_src scheme <> (+ (previous-function 3 4) 1) #+end_src hth, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Unexpected macro error

2014-11-19 Thread Thomas S. Dye
error("Undefined Org macro: %s; aborting." "ad") org-macro-replace-all((("author" . #("Thomas S. Dye" 0 13 (:parent (#("Thomas S. Dye" 0 13 (:parent #4)) ("date" . "\\today") ("email" . "t...@tsdye.com"

Re: [O] Problem with footnote in html export

2014-11-15 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> With the following org file, exporting the subtree to html gives this: >> >> ,-- >> |

Re: [O] Float placement in org-latex

2014-11-15 Thread Thomas S. Dye
mage. One way is to set a smaller size for the image, and another is to ensure that [p] is one of the letters in the placement attribute--this lets a float appear on its own page. hth, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Problem with footnote in html export

2014-11-14 Thread Thomas S. Dye
Aloha all, With the following org file, exporting the subtree to html gives this: ,-- | org-html-footnote-reference: Format specifier doesn't match argument type `--

Re: [O] converting to "init.org"

2014-11-12 Thread Thomas S. Dye
nda-span 21) > '(org-agenda-include-diary t) > '(org-agenda-insert-diary-extract-time t) > '(org-agenda-insert-diary-strategy (quote top-level)) #+BEGIN_SRC emacs-lisp (setq org-agenda-span 21) #+END_SRC hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Inline code :results replace not working

2014-11-10 Thread Thomas S. Dye
> > When you use these functions > http://orgmode.org/manual/Key-bindings-and-useful-functions.html#Key-bindings-and-useful-functions > the addition of these "hidden" blocks hav almost zero cost and give me > what I want. > > All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] An Org-mode LaTeX class?

2014-10-28 Thread Thomas S. Dye
so my dream should not replace the current LaTeX >> exporter, only constitute a variant!), but instead we gain a >> beautiful, configurable pdf rendering of Org buffers. > > Thomas S. Dye tried it back in the days. It was called org-article¹. > I'm sure he will share his

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Thomas S. Dye
; Or, is there a "better" way? ;-) If you want to achieve what you do using LaTeX without Org mode, then this should work: #+LATEX_HEADER: \setlength{\textheight}{9.25in} #+LATEX_HEADER: \setlength{\textwidth}{6.75in} ... hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Thomas S. Dye
t to "letter"? > > I tried a few things, but they don't seem to be changing anything! I think this will do what you want: #+LATEX_CLASS_OPTIONS: [letterpaper] hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] No mention of ":results graphics" in docs on code blocks

2014-10-19 Thread Thomas S. Dye
'm just pointing it out. When I grep "graphics" in the Org mode lisp directory I see that :results graphics is recognized by ob-core.el, but that the only language that uses it is R. I think this might be the reason :results graphics is described with the R documentation and not in the main manual. > Working with R code blocks in Org is great. +1 All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-mode for knowledge management

2014-10-13 Thread Thomas S. Dye
Louis writes: > On Thu, 9 Oct 2014, Thomas S. Dye wrote: > >> Aloha Louis, >> >> Louis writes: >> >>> Hi all, >>> >>> I've been using org-mode for a variety of purposes for a few years. I >>> find that it suffers from th

Re: [O] org-mode for knowledge management

2014-10-09 Thread Thomas S. Dye
r drawers. Has any of > you done something like this, or done something similar that I've not > considered? > > > Thanks in advance, > > Your rapidly graying, Louis Perhaps org-index in contrib would help? http://orgmode.org/worg/org-contrib/org-index.html hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Babel: reusing language-specific functions

2014-10-07 Thread Thomas S. Dye
gt; (defun foo (x) (+ x 2)) > #+END_SRC > > #+results: foo > : foo > #+BEGIN_SRC emacs-lisp :var fun=foo > (funcall (intern fun) 3) > #+END_SRC > > #+results: > : 5 Or, perhaps use the noweb syntax. #+NAME: foo #+BEGIN_SRC emacs-lisp (defun foo (x) (+ x 2)) #+END_SRC #+results: foo : foo #+begin_src emacs-lisp :noweb yes <> (foo 3) #+end_src #+results: : 5 hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] babel "language" for conf-mode?

2014-10-06 Thread Thomas S. Dye
gt; #+BEGIN_EXAMPLE > > I could wrap them in > > #+BEGIN_SOURCE conf-unix > > And get highlighting a la conf-unix-mode. > > It's not quite a babel "language", since evaluation wouldn't do > anything, but is there a way to just get the highlighting? > > Thanks! > Eric > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Babel introduction example cannot be executed

2014-10-05 Thread Thomas S. Dye
ormula (which I don't use). Shouldn't this function be documented in the manual? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Help exporting to-do list as LaTeX/PDF

2014-10-04 Thread Thomas S. Dye
commands to missfont.log. > ) > !pdfTeX error: pdflatex (file ecbx1200): Font ecbx1200 at 600 not found > ==> Fatal error occurred, no output PDF file produced! > > * > > It took a while to get to this point, and I had to install a number of > font packages from the pkgsrc tex-* collection. I do have tex-ec-1.0 > and tex-eco-1.3 installed. But it seems like the problem is more with > metafont, which is completely beyond me. > > Any help would be greatly appreciated! > > —Andreas > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] [patch, ox] Unnumbered headlines

2014-09-22 Thread Thomas S. Dye
happy with its performance. I have a busy week ahead and two looming deadlines, but I'll get to it as soon as I find time. Thanks for taking on this difficult project. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Toggling Macro Definition

2014-09-21 Thread Thomas S. Dye
file that looks like it is the output from "track changes" in Word, then the latexdiff utility might work for you. You pass it the old .tex file and the new .tex file and it creates a third .tex file that tracks the changes. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [BUG] Macro Argument Truncation

2014-09-21 Thread Thomas S. Dye
| || | #+MACRO: name replacement text $1, $2 are arguments | || | which can be referenced {{{name(arg1, arg2)}}}.| \============/ hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Lack of availability

2014-09-20 Thread Thomas S. Dye
hard times since the summer and I need > to focus on securing a basic environment for my daily life. > > I hope I can sort this out soon enough. > > I'm thankful to everyone who actively contribute with bug > fixes, questions and answers. It's great to see this. > > All best, -- Thomas S. Dye http://www.tsdye.com

Re: [O] TODO items in lists (not headings)

2014-09-16 Thread Thomas S. Dye
me more things that happened One solution is to use a capture template for TODO items and then refile them. I picked this up from Bernt Hansen and like it a lot: http://doc.norang.ca/org-mode.html#Capture hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Using color in latex export

2014-09-12 Thread Thomas S. Dye
I want in green}. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Managing articles in orgmode and collaboration

2014-09-09 Thread Thomas S. Dye
th the legacy bibtex file and the article bibtex file and copy from one to the other, which ebib makes very convenient. Then I autogenerate the reference key in ebib by pressing 'K'. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Custom formatting during export

2014-09-03 Thread Thomas S. Dye
mode developers and power-users, Macros, links, derived back-ends -- so many ways to achieve what you want. Here is another: @@html:@@bold text@@html:@@ #+HTML: Literal HTML code for export #+BEGIN_HTML All lines between these markers are exported literally #+END_HTML For pdf export via LaTeX there are @@latex, #+LATEX, and #+BEGIN_LATEX ... #+END_LATEX. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Babel-R TBLFM example

2014-08-25 Thread Thomas S. Dye
Aloha all, >> AFAICT, the arguments to code blocks may not be defined and set in the >> `name' line anymore: this must be done on the `begin_src' line. or, on a separate #+header: line. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] R code block produces only partial output

2014-08-23 Thread Thomas S. Dye
irement. If not, then the rest of us can enjoy the benefits of Aaron's labor (hopefully on master and not as a series of patches, which are a real pain for us non-programmer types to maintain). My $0.02. Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] cannot execute org-mode code from the front page tutorial.

2014-08-16 Thread Thomas S. Dye
Charles Berry writes: > Nick Dokos gmail.com> writes: > >> >> tsd tsdye.com (Thomas S. Dye) writes: >> >> > Aloha Jenia, >> > >> > jenia.ivlev gmail.com (jenia.ivlev) writes: >> > >> >> Hello. >

Re: [O] cannot execute org-mode code from the front page tutorial.

2014-08-15 Thread Thomas S. Dye
> FWIW, this code doesn't work for me, either, using a recent Org-mode from git. For others able to help, the "org-mode tutorial on its official page" that Jenia refers to is http://orgmode.org/worg/org-contrib/babel/intro.html#spreadsheet hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] How can I autorun M-x linum-mode when file is opened?

2014-08-10 Thread Thomas S. Dye
tch off linum-mode for that file, which may stop "file-rot" that I > have observed in the past. This can, at present, only be resolved by > shutting down emacs for half an hour or so, and then restarting it, > and normal functionality will have been restored. Is this a question ab

Re: [O] [PATCH] Add support for :dbhost, :dbuser and :database parameters for poastgresql in ob-sql.el

2014-08-09 Thread Thomas S. Dye
Steven Rémot writes: > This is my only contribution to Emacs code, and it changes only 12 > lines that impact a very tiny fragment of org, so I though I could > send it without signing papers. If I was wrong, I don't mind signing > papers at all. Either way should work. If you'd like to contrib

Re: [O] [PATCH] Add support for :dbhost, :dbuser and :database parameters for poastgresql in ob-sql.el

2014-08-08 Thread Thomas S. Dye
ver, this patch looks straightforward and good to me. Have you signed FSF papers? If so, the maintainer can accept (or reject) your patch. If not, then you'll need to identify it as a tiny change (see http://orgmode.org/worg/org-contribute.html). Thanks for this contribution t

Re: [O] R code block produces only partial output

2014-08-07 Thread Thomas S. Dye
"Charles C. Berry" writes: > As for stopping on error, I think that anything that changes current > behavior at this late date ought to be configurable. +1, e.g., silent, message, stop. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org equivalent to \chapter*

2014-08-06 Thread Thomas S. Dye
Aloha Rasmus, Rasmus writes: > Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Rasmus writes: >> >>> Alan L Tyree writes: >>> >>>> I'm sure this has been asked before, but I can't seem to find it. Is >>>> th

Re: [O] Org equivalent to \chapter*

2014-08-06 Thread Thomas S. Dye
set of tags (and options) that "just work." Do you (and others) think the "tag and filter" approach can achieve this? Or, are there too many moving parts to make it feasible? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [PATCH] ox-bibtex.el: Extend to use bibtex files not in current, working directory

2014-08-03 Thread Thomas S. Dye
gt;>> Subject: [PATCH] ox-bibtex.el: Extend to use bibtex files not in current >>> working directory >>> >>> * contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Process >>> bibtexfilename so that it does not have to be in the same directory. >> >> Applied. Thank you. >> >> >> Regards, >> > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-envolve?

2014-07-28 Thread Thomas S. Dye
s prepare a container to be filled, and your functions (which I find handy, too, thanks!) take extant text and convert it to a source block or list. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org-entities-user in caption of Latex export

2014-07-25 Thread Thomas S. Dye
scribed. >> >> Here is my try at an ECM: > > [...] > > This should be fixed. Thank you for reporting it. Yes, it works here. Thanks for looking into this. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Reproducible research with Org mode

2014-07-24 Thread Thomas S. Dye
Aloha all, A piece of reproducible research and a compendium developed with Org mode were just published: http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0102431 Many thanks to all the patient, gentle souls on this ML, without whose generous advice and assistance the research

Re: [O] Org-entities-user in caption of Latex export

2014-07-24 Thread Thomas S. Dye
oblem. Once that line is gone, I get expected results with and without (setq org-entities-user nil) in the source code block. The curious thing (to me) is that the problem is restricted to captions. The user entities work fine outside of captions regardless of the org-entities-user: nil line in Local Variables. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org-entities-user in caption of Latex export

2014-07-24 Thread Thomas S. Dye
Nicolas Goaziou writes: > I cannot reproduce it. Do you have an ECM? Are you setting > `org-entities-user' in a special way (i.e, not globally through `setq' > or customize)? In the process of putting together an ECM (which hopefully doesn't reflect my setup!), I think I found what triggers it.

[O] Org-entities-user in caption of Latex export

2014-07-23 Thread Thomas S. Dye
Aloha all, Recently, entities in org-entities-user haven't made it through LaTeX export when they are in a caption. This Org mode snippet: Test \umacron \ocirc \umacron \amacron. #+caption: Test \umacron \ocirc \umacron \amacron. Yields this output: Test \={u} \^{o} \={u} \={a}. \cap

Re: [O] Evaluating inline source blocks on export issue

2014-07-22 Thread Thomas S. Dye
on" > #+end_example > > ╭ > │ (format "%S" (org-version)) > ╰ > > #+NAME: > #+begin_example > "8.2.7a" > #+end_example > > Kind regards, > > gcr > > > [org-scraps] > https://raw.githubusercontent.com/eschulte/org-scraps/master/scraps.org -- Thomas S. Dye http://www.tsdye.com

Re: [O] minted question

2014-07-22 Thread Thomas S. Dye
g-latex-minted-options’ variables, which see. #+ATTR_LATEX: :options commentstyle=\bfseries #+BEGIN_SRC emacs-lisp (defun Fib (n) ; Count rabbits. (if (< n 2) n (+ (Fib (- n 1)) (Fib (- n 2) #+END_SRC All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] minted question

2014-07-21 Thread Thomas S. Dye
Hi Manfred, Manfred Lotz writes: > Hi Tom, > > On Mon, 21 Jul 2014 09:53:41 -1000 > t...@tsdye.com (Thomas S. Dye) wrote: > >> Aloha Manfred, >> >> You should be able to use attr_latex (untested). >> >> Manfred Lotz writes: >>

Re: [O] minted question

2014-07-21 Thread Thomas S. Dye
Aloha Manfred, You should be able to use attr_latex (untested). Manfred Lotz writes: #+ATTR_LATEX: :options linenos=true frame=single > #+BEGIN_SRC perl > #! /usr/bin/perl > > use strict; > use warnings; > use 5.010; > > say 'hey'; > #+END_

Re: [O] Help with export filter?

2014-07-21 Thread Thomas S. Dye
age > :newpage: > newline before *here* > * heading with clearpage:clearpage: > clearpage before *here* > * ignored heading with newpage > :newpage:tag2: > newline before *here*. =tag2= is lost. > * ignore heading with clearpage > :ignoreheading:clearpage: > clearpage before *here* > > —Rasmus Thanks very much for your help. The new filter does just what I want. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-20 Thread Thomas S. Dye
org-contrib/babel/languages.html There are instructions for developing support for other languages: http://orgmode.org/worg/org-contrib/babel/languages.html#develop You'll want to "tangle" the .pl source code file and "export" the documentation. hth, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Help with export filter?

2014-07-19 Thread Thomas S. Dye
Aloha all, Inspired by discussions and code on the mailing list, I managed to cobble together the headline filter below. It "works" in that the pdf output from LaTeX export is exactly what I want. I'm thrilled! It has one unwanted side effect. In the tex file, a headline tagged with either :ne

Re: [O] LaTeX export problem

2014-07-16 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> With a recent Org from git and this source: >> >> #+attr_latex: :width 0.8\textwidth :placement [htb] >> #+name: fig:harris-errors >> #+capti

[O] LaTeX export problem

2014-07-13 Thread Thomas S. Dye
Aloha all, With a recent Org from git and this source: #+attr_latex: :width 0.8\textwidth :placement [htb] #+name: fig:harris-errors #+caption[Structural effects of false transitives]: Structural effects of false transitives with the stratigraphic section in Figure [[fig:fig12-open]]: #+

Re: [O] Removing the title in LaTeX export

2014-07-12 Thread Thomas S. Dye
t; Julien. I use (setq org-latex-title-command ""). hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] latex export for 4th-level heading

2014-07-10 Thread Thomas S. Dye
Ken Mankoff writes: > * On 2014-07-10 at 17:08, Thomas S. Dye wrote: >> Aloha Ken, >> >> Ken Mankoff writes: >> >>> When exporting to LaTeX, fourth-level headings become \enumerate. In >>> LaTeX, the item below \subsubsection is \paragraph,

Re: [O] latex export for 4th-level heading

2014-07-10 Thread Thomas S. Dye
y setting the variable org-export-headline-levels, or on a per-file basis with a line #+OPTIONS: H:4 hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] SOLVED: source code block language 'makefile' and listings package

2014-07-08 Thread Thomas S. Dye
(xml "XML") > | (tex "TeX") > | (latex "[LaTeX]TeX") > | (shell-script "bash") > | (gnuplot "Gnuplot") > | (ocaml "Caml") > | (caml "Caml") > | (sql "SQL") > | (sqlite "sql") > | (makefile "make"))) > ` > > Works perfectly. Nice! All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [BUG] src_blocks - :results raw and replace don't work together

2014-07-07 Thread Thomas S. Dye
Thorsten Jolitz writes: >> If you give the source code block a name, it should work as expected. > > Not over here - does it work for you? No. Sorry for the noise. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [BUG] src_blocks - :results raw and replace don't work together

2014-07-06 Thread Thomas S. Dye
4 > | 4 > ` > > Independent from argument order, 'replace' (which should be default > anyway) is ignored. If you give the source code block a name, it should work as expected. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] source code block language 'makefile' and listings package

2014-07-04 Thread Thomas S. Dye
equal to 'make'? You can configure the listings package with the commands \lstnewenvironment and \lstset. There is a worked example here: http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-4 hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Force new page on exporting

2014-07-01 Thread Thomas S. Dye
Aloha John, John Hendy writes: > On Mon, Jun 30, 2014 at 11:00 PM, Thomas S. Dye wrote: >> Aloha York, >> >> York Zhao writes: >> >>> Thanks Thomas. This works but is not an ideal approach because in a complex >>> file >>> it may

Re: [O] Force new page on exporting

2014-07-01 Thread Thomas S. Dye
Aloha York, York Zhao writes: >> * Latex New Page :ignoreheading: >> #+latex: \newpage > > This should work, but didn't, I will figure out why when I have some time. > >> Also, see the LaTeX commands \pagebreak and \clearpage, which do generally >> the >> same thing but in slightly different wa

Re: [O] Force new page on exporting

2014-06-30 Thread Thomas S. Dye
mmands \pagebreak and \clearpage, which do generally the same thing but in slightly different ways. hth, Tom > > On Mon, Jun 30, 2014 at 8:49 PM, Thomas S. Dye wrote: >> Aloha York, >> >> York Zhao writes: >> >&

Re: [O] Force new page on exporting

2014-06-30 Thread Thomas S. Dye
ne2 > * Headline3 :export: > > Question is: how do I force Headline3 to be on a new page while exporting to > LaTeX? hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Wrong numbering after removal of headline

2014-06-30 Thread Thomas S. Dye
M-S-left with point on the Level2 heading? Tom York Zhao writes: >> You could promote the Level2 subtree. > > I had thought about this, but I don't think this will be trivial. > > On Mon, Jun 30, 2014 at 3:37 PM, Thomas S. Dye wrote: >> Aloha York, >> &

Re: [O] Wrong numbering after removal of headline

2014-06-30 Thread Thomas S. Dye
. . . . . . . . . . . . . . . . . . . . . . . > 1.1 Level3 . . . . . . . . . . . . . . . . . . . . . . . . . . . > > Can anyone please tell me how I could achieve this? You could promote the Level2 subtree. hth, Tom -- Thomas S. Dye http://www.tsdye.com

<    1   2   3   4   5   6   7   8   9   10   >