Re: [O] Bug in latex export tutorial on worg ?

2011-05-09 Thread Thomas S. Dye
e Changing > to :exports none made that go away for me. Maybe that was a > coincidence. I will have to investigate further, I guess. > > best, > r Aloha Robert, You can set both :results silent and :exports none. The :results header argument sets how the results of evaluation appear (or not) in the Org-mode buffer, and the :exports argument determines what the exporter does with the source code block. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Bug in latex export tutorial on worg ?

2011-05-09 Thread Thomas S. Dye
t* difference >> is not affected by how you set :exports. >> >> Nick > > Ah. I get it now. But then surely the above IS a bug -- presumably > it's not usual for a person to wish their latex export configuration to > appear, in verbatim block, in their org-generated latex document! > > Best, > Robert > > > Aloha Robert, I've added :exports none to the example, which came from a document about how to export LaTeX documents from Org-mode. Thanks for pointing out that it could be used in a way that yields unexpected results. In my usual setup I put this kind of configuration in a heading of its own that is protected by a :noexport: tag. This works for me because I often have notes about why things are in there and what I think they might be doing. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Bug in latex export tutorial on worg ?

2011-05-10 Thread Thomas S. Dye
>> > > After Tom's reply, I went and looked at the example and now I get it > too :-) Sorry for being dense before. > > Nick > > Hi Nick, Actually, your diagnosis was exactly right, as usual. The "buggy" example came from a document meant as a tutorial. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

[O] [PATCH] Optional \caption argument in LaTeX export

2011-05-10 Thread Thomas S. Dye
Aloha all, The attached patch initializes the shortn variable, uses it to add the optional argument to \caption in two places where this wasn't implemented, and adds a bit of documentation. Note that the shortn variable in org-mode is already used to add an optional argument to \caption in one ca

Re: [O] Bug in latex export tutorial on worg ?

2011-05-10 Thread Thomas S. Dye
Robert Goldman writes: > On 5/10/11 May 10 -12:25 AM, Thomas S. Dye wrote: >> Robert Goldman writes: >> >>> On 5/9/11 May 9 -11:22 PM, Nick Dokos wrote: >>>> Robert Goldman wrote: >>>> >>>>> On 5/9/11 May 9 -9:54 PM, Nick Dokos w

Re: [O] org-mode and ebib

2011-05-10 Thread Thomas S. Dye
ng one of the ebib format functions, then submerge ebib) ][XX]] (close the link, optionally adding a page number) hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org as a publishing toolkit

2011-05-10 Thread Thomas S. Dye
e LaTeX export tutorial is a work in progress. I hope you find it useful. When you run across something that doesn't work (or make sense) don't hesitate to come back to the list with a query or suggestion. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org as a publishing toolkit

2011-05-10 Thread Thomas S. Dye
language before exporting (and even automate it all by calling emacs > in batch mode ;) ), but it'd be nice if org supported that > out-of-the-box. > > Cheers, > > Marcelo. > > > On Tue, May 10, 2011 at 1:31 PM, Thomas S. Dye wrote: >> Marcelo de Moraes Serpa w

Re: [O] Org as a publishing toolkit

2011-05-10 Thread Thomas S. Dye
e like this: > > 1) Cover image > 2) The sub-cover: > >"Title"" > My Name >Date > > 3) TOC > > 4) Intro, chapters... > > How could I do that? > > Thanks in advance! > > Regards, > > Marcelo. > > On Tue, May 10, 2011

Re: [O] Org as a publishing toolkit

2011-05-10 Thread Thomas S. Dye
mpose some structure that might prevent me from > putting the cover in the first page? Just curious. I wouldn't also > like to have to edit the latex generated afterwards, but that's a > possibility. > > Thanks! > > Marcelo. > > On Tue, May 10, 2011 at 4:35 PM, Th

Re: [O] Epub and Mobi Export

2011-05-10 Thread Thomas S. Dye
like how you put the output box below the boxed source code: http://exceptionalruby.com/exceptional-ruby-sample.pdf Congratulations on the book and good luck with the other exports. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

[O] [Babel] Header arguments

2011-05-13 Thread Thomas S. Dye
b,dim(x)[1]))) res <- rbind(res,cbind(y,label=rep(ylab,dim(y)[1]))) theme_set(theme_bw(base_size=11)) g <- ggplot(res, aes(x=1950 + cal.BP, y=Posterior.probability)) g + geom_bar(stat='identity') + xlab("Year AD") + ylab("Probability") + facet_wrap(~ label) #+end_src -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-mode and ebib

2011-05-14 Thread Thomas S. Dye
asold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/ > > Yours, > Christian > > > On 5/10/11 6:15 PM, Thomas S. Dye wrote: >> Piter_ writes: >> >>> Hi all. >>> There was a discussion about integration of ebib and org mode. And it >&

Re: [O] Options for into exporting both LaTeX and HTML

2011-05-16 Thread Thomas S. Dye
quot;#+ATTR_LaTeX: width=200[[./images/apples.jpg]] > The HTML export gives an outcome as I desire.  But this does not seem to work > well for LaTeX export.  I want to show the image in TeX as similarly as > HTML.First of all, can I simply list the options like this?  Should I wrap > them like... > #+Begin_...#+End_...?Thank you in advance.soichi -- Thomas S. Dye http://www.tsdye.com

Re: [O] article-class.org (org-article) - bugs/discrepancies

2011-05-21 Thread Thomas S. Dye
t cobbling it together, but in the end I wasn't able to keep the class general and add all the packages that the org-mode crowd might expect. An org-article.cls that implements a specific style is a good idea, IMO, and my unsupported org-article.cls might serve as a useful starting point for someone. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Passing font size to exported LaTeX table

2011-05-24 Thread Thomas S. Dye
142 } >>         >> Runaway argument? >>  \par \par \par  >> ! Paragraph ended before \frame was complete. >>   >>                    \par  >> l.142 } >>         >> ! Extra }, or forgotten \endgroup. >> } >>                   >> l.142 } >>         >> ! Extra }, or forgotten \endgroup. >> \endframe ->\egroup  >>                     \begingroup \def \@currenvir {frame} >> l.145 \end{frame} >>                   >> ) >> Runaway argument? >> --- >> >> I'm assuming something is not liking that dangling "}"... >> >> Thoughts? >> > > I didn't try Seb's workaround but your original solution almost works: > what stops it is YAB in the latex exporter, but having been bitten by > such a couple of times in the past, I applied my usual[fn:1] workaround > and presto! it works: > > , > | > | * foo > | > | #+begin_latex > | \scriptsize{ %} > | #+end_latex > | > | #+tblname: foo > | | table | here | > | |---+--| > | | table | here | > | > | #+begin_latex > | } > | #+end_latex > ` > Awesome!! And now I recall seeing it before on the list. Very cool.  > > The opening brace on the \scriptsize line confuses the exporter and it > leaves the table alone. Adding a commented-out closing brace unconfuses > it. > > Nick > > Footnotes: > > [fn:1] Maybe I should add it to the FAQ?Perhaps -- the tough things is that > an issue with braces is not what I would have expected the problem was. I > thought I just wasn't combining things right or that the org exporter was > making something like this impossible based on how it parsed the text. In any > case, yes, it would be cool to have in public written somewhere. Thanks!  > Aloha all, This appears to work for tabular environments only. When I add a caption the table is set normalsize and the text following it is set scriptsize. Or, am I doing something wrong? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Passing font size to exported LaTeX table

2011-05-25 Thread Thomas S. Dye
Nick Dokos writes: > [Fat-fingered it and sent it prematurely - sorry about that] > > Nick Dokos wrote: > >> Nick Dokos wrote: >> >> > Thomas S. Dye wrote: >> > >> > > >> > > This appears to work for tabular environments

Re: [O] Passing font size to exported LaTeX table

2011-05-26 Thread Thomas S. Dye
suvayu ali writes: > Hello, > > On Wed, May 25, 2011 at 12:22 AM, Thomas S. Dye wrote: >>> #+LaTeX_HEADER: \usepackage{scripttab} >>> >>> * foo >>> >>> What's this? >>> >>> >>> #+tblname: foo >>> #+

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Thomas S. Dye
suvayu ali writes: > Hi Tom, > > On Thu, May 26, 2011 at 11:46 PM, Thomas S. Dye wrote: >>> Although this is solved now, I found a very simple solution. >>> >>> e.g. for footnotesize just add the line: >>> >>> #+ATTR_LaTeX: placement=[]\foot

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Thomas S. Dye
Suvayu Ali writes: > Hello Tom, > > On Fri, 27 May 2011 06:17:04 -1000 > t...@tsdye.com (Thomas S. Dye) wrote: > >> Aloha Suvayu, >> >> Thank you for the link to the Mori article. It is nicely written. >> >> My question was poorly written, thoug

Re: [O] Passing font size to exported LaTeX table

2011-05-27 Thread Thomas S. Dye
Suvayu Ali writes: > Hello Tom, > > On Fri, 27 May 2011 07:37:50 -1000 > t...@tsdye.com (Thomas S. Dye) wrote: > >> Aloha Suvayu, >> >> I think #+ATTR_LaTeX: needs more documentation. I worked very hard to >> read between the lines of the Org-mode manu

Re: [O] having problems this mailing list configuration

2011-05-28 Thread Thomas S. Dye
it was disabled by >> you. > > right at the top of that page iin the second/third paragraph. > > And of course Mail delivery is set to Disabled. > > So, if you made these settings, save, logout, and log in again, your > changes are lost? > > Memnon Yes, this is my experience, too. I make changes and they are lost. All the best, Tom > > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] [PATCH] latex export - title placement

2011-05-28 Thread Thomas S. Dye
e. That functionality is a welcome addition to the LaTeX exporter, IMO. Another way to achieve your current use case, IIUC, which might or might not seem easier, is to redefine \maketitle along the lines suggested by Nick Dokos (see http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-11_2). All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [PATCH] latex export - title placement

2011-06-01 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Sebastian Hofer writes: >> >> > Hi all, >> > >> > This patch addresses the problem of ambiguous conventions for the >> > placement of the title related macros (\author, \date,...) with >

Re: [O] [LaTeX Export] Question: How to import a really long caption in #+CAPTION:

2011-06-02 Thread Thomas S. Dye
region of AD 810--1289; \textit{right}, estimate based on inequality (\ref{eq:rat}), with a 95\% highest posterior density region of AD 780--1119.} This all resides in one line in the org-mode file. Why does your caption need a line break? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Passing font size to exported LaTeX table

2011-06-12 Thread Thomas S. Dye
eferences to a label created in this way, write >> @samp{\ref@{fig:SED-HR4049@}} just like in @LaTeX{}. > > > Otherwise, this looks good to me. > > Thanks, > Nick > > > Nick's got a good editorial eye: "compatible options" is probably not correct. In the example on Worg hacks, \footnotesize is not an optional argument to the \table environment, it is a LaTeX command whose scope is determined by the \table environment within which it is issued. So, instead of "One can also pass other compatible options" it would be good to say "One can also pass LaTeX commands into the \table environment" or something along those lines. The entry in Worg hacks looks good to me. Thanks for taking care of this, Suvayu. Many thanks to Nick and Suvayu for figuring out how to get inside the table environment from Org-mode. I can't remember how many times I tried and failed to figure this out on my own ... All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] latex checkboxes

2011-06-16 Thread Thomas S. Dye
\LARGE$\\square$}\n\\begin{itemize}\n" :cboff "\\parbox[][][c]{\\wd0}{\\LARGE$\\square$}" :cbon "\\parbox[][][c]{\\wd0}{\\LARGE$\\boxtimes$}") The variable is set by default to '(:cbon "$\\boxtimes$" :cboff "$\\Box$") in org-latex.el and is used to override the default settings of org-list-to-latex in org-list.el. Not tested. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] latex checkboxes

2011-06-17 Thread Thomas S. Dye
Nick Dokos writes: > Nicolas Goaziou wrote: > >> Nick Dokos writes: >> >> >> Btw, is there any consensus on better default values for :cbon, :cboff >> >> and :cbtrans? Configurability isn't an excuse for ugly standards. >> >> >> > >> > I don't think so - not yet in any case. I didn't even kno

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Thomas S. Dye
ng space block removed > x = 1 > y = 1 > z = 1 > for i in range(1,2): > x = x + i > print x > > for y in range(10,11): > print y > # comment here > for z in range(5,6): > print z > while y > 0: > print y > y=y-1 > print "Did it work?" > # end of the org source code block > > # return stdout to what it was > sys.stdout = saveout > # and close the log file > fsock.close() > # end of file > > > Now you can go into the python shell and execute the code in pyfile.py: > >>>> execfile('pyfile.py') > > The output will be saved in the log file in the working directory. I think it > should be exactly the same as the output from the non-session based code > (assuming the session-based code started from a fresh session). > > -- Herb > > > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Thomas S. Dye
://orgmode.org/worg/org-contrib/babel/languages/ Note that there is no language-specific documentation for Python yet. Is it the case that the Ruby and Perl interpreters won't run code that does run in non-session mode? All the best, Tom Herbert Sitz writes: > Thomas S. Dye tsdye.com

Re: [O] Fwd: Exporting latex without preamble

2011-06-29 Thread Thomas S. Dye
Tue, Jun 28, 2011 at 20:05, Bastien wrote: >> Hi Rafael, >> >> Rafael Calsaverini writes: >> >>> is it possible to export an org file to latex with no preamble and no >>> \begin{document}?? >> >> Not at the moment.  Is it something you need regularily? >> >> -- >>  Bastien >> > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org-mode as a replacement for LaTeX (was: Fwd: Exporting latex without preamble)

2011-06-29 Thread Thomas S. Dye
l the best, Tom Karl Voit writes: > * Thomas S. Dye wrote: >> Aloha Rafael, > > Sorry, I thought you might as well be interested in my point of > view. > > First: I am pretty new to Org-mode but I am using LaTeX a while now > and I am even teaching LaTeX to motivated beginners.

Re: [O] specifying the coding language resulting from a a :results code source block

2012-06-26 Thread Thomas S. Dye
: :var input=harris-matrix #+header: :file temp.pdf #+header: :cmdline -Tpdf #+header: :results output #+BEGIN_SRC dot $input #+END_SRC It's not quite what you were after, but it might help? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Organizing a collection of papers

2012-06-29 Thread Thomas S. Dye
gt; I work in Org mode and LaTeX. Ebib is integrated with both of them. I follow an Org mode link or a LaTeX citation to the BibTeX entry in Ebib, then open the pdf from Ebib using a link stored in the BibTeX file. I think Ebib is a splendid tool in this situation. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] how i pass output of one codeblock as iinput of another codeblock without manual copy paste

2012-07-02 Thread Thomas S. Dye
answer your question: http://orgmode.org/manual/var.html#var You'll probably want to use #+name: code1 rather than #+srcname: code1 Once you've done that, then #+call: transpose(table=code1) ought to work, if the Library of Babel is loaded or you have otherwise defined transpose. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Manual does not list :results output graphics as babel header arg

2012-07-09 Thread Thomas S. Dye
be great if someone could find time to work up documentation for the 20 or so languages that still lack it :) hth, Tom > > > John > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Manual does not list :results output graphics as babel header arg

2012-07-10 Thread Thomas S. Dye
John Hendy writes: > On Mon, Jul 9, 2012 at 7:35 PM, Thomas S. Dye wrote: >> John Hendy writes: >> >>> I have typically outputted graphics from R via tikzDevice manually, >>> but gave my first whirl to just including things via the :file >>> argument

[O] [PATCH] Re: Manual does not list :results output graphics as babel header arg

2012-07-10 Thread Thomas S. Dye
Thomas S. Dye wrote: >> John Hendy writes: >> >>> On Mon, Jul 9, 2012 at 7:35 PM, Thomas S. Dye wrote: >>>> John Hendy writes: >>>> >>>>> I have typically outputted graphics from R via tikzDevice manually, >>>>> but gave

Re: [O] Problem getting booktabs example to work

2012-07-13 Thread Thomas S. Dye
86 | 0.990 | 0.995 | >> | omv | 0.941 | 0.939 | 0.936 | > > The document is produced correctly, except for the fact that the > <> chunk appears verbatim in place of the table body. > > As far as I can see I am following the instructions correctly, but I > am probably missing some prerequisite. > > Any pointers appreciated! > > > Regards, > > Brendan Aloha Brendan, My mistake. You are right, the tabularx-export block should also have the header argument :noweb yes. I've pushed this change to Worg. Thanks for pointing it out. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Problem getting booktabs example to work

2012-07-13 Thread Thomas S. Dye
ick Dokos for pointing out to me off-list that the example was more broken than I'd thought. All the best, Tom ... who has many reasons to be excited about the new exporter. -- Thomas S. Dye http://www.tsdye.com

Re: [O] was this intentional with the default header ":results value"

2012-07-14 Thread Thomas S. Dye
he output from the source language is collected and displayed in the buffer. Thus, the output conventions of the source language are respected. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] was this intentional with the default header ":results value"

2012-07-14 Thread Thomas S. Dye
type="org") #+END_SRC #+RESULTS: luo #+BEGIN_ORG | | c1| c2 | |---+---+--| | 1 | 123456789123456789000 | 2.00 | #+END_ORG All the best, Tom Eric Luo writes: > t...@tsdye.com (Thomas S. Dye) writes: > > Thanks, it's clear

Re: [O] was this intentional with the default header ":results value"

2012-07-14 Thread Thomas S. Dye
c1 | c2 | |---+| | 123456789123456789000 | 2 | t...@tsdye.com (Thomas S. Dye) writes: > Hi Eric, > > I don't know any way to do this in Org-mode. Here is a workaround in R > that might do what you want. > > #+name: luo > #+BEGIN

Re: [O] Discovering Babel and R combination!

2012-07-15 Thread Thomas S. Dye
ut is perfect. I'll try > to find some coincidence with other things, that would allow to > hypothesize a cause. Or else, to reproduce the problem with data which > is public enough that I could share it. > > I call it a day for now and get some sleep :-). > > With enough

Re: [O] Embed Interactive Charts from R/Google Visualization API into Web Page Generated with Emacs-Org-Babel Mode

2012-07-18 Thread Thomas S. Dye
t; .org and .html file. Thanks! Sincerely, Feiming Chen > > > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Nice example of reproducible research in Org -- add to Worg?

2012-07-19 Thread Thomas S. Dye
x27;s been seen > before. Does anyone know the author, Christophe Pouzat? Perhaps he'd > be willing to link to his page or add his page to Worg in a fitting > place as it seems like quite a nice addition. > > > John > > Hi John, See http://orgmode.org/worg/org-papers.html. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Nice example of reproducible research in Org -- add to Worg?

2012-07-19 Thread Thomas S. Dye
John Hendy writes: > On Thu, Jul 19, 2012 at 1:32 PM, Thomas S. Dye wrote: >> John Hendy writes: >> >>> I was looking for Org + ggobi examples and the top google hit was this page: >>> - >>> http://www.biomedicale.univ-pari

Re: [O] conceptual TODO help?

2012-07-28 Thread Thomas S. Dye
entally, what are the @ signs in front of tags for?). > > Are there any keywords I should add or remove? Should I get rid of > DidNot and DidNever (implying not yet and never will)? My keywords are > arbitrary and silly, but I'd like to better understand the states they

Re: [O] org-table not wrapped in table

2012-07-31 Thread Thomas S. Dye
myself and added \caption > \label. > -- > Bjarte > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Getting source code to work

2012-08-01 Thread Thomas S. Dye
macs: (org-babel-do-load-languages 'org-babel-load-languages '((R . t) (C . t) (ditaa . t) (dot . t) (emacs-lisp . t) (gnuplot . nil) (haskell . nil) (latex . t) (lisp . t) (ocaml . nil) (org . t) (perl . t) (python . t)

Re: [O] Getting source code to work

2012-08-01 Thread Thomas S. Dye
; > (org-babel-do-load-languages > 'org-babel-load-languages '((python . t) >(R . t))) > > in my ~/.emacs.d/init.el > > and my version (from M-x org-version) is > Org-mode version 7.8.11 > > Cheers, > Mark > > On Wed, Aug 1

Re: [O] Reftex in Org-Mode exporting and recognizing figures or equations

2012-08-02 Thread Thomas S. Dye
ems to export to latex as a \ref command with citep in > the middle (eg. \ref{citep}). > > (reftex-set-cite-format    "[[citep][%l]]")This doesn't seem to work for > me but maybe I'm doing something wrong. -- Thomas S. Dye http://www.tsdye.com

Re: [O] babel awk with table input: Code block produced no output.

2012-08-05 Thread Thomas S. Dye
, i'm not sure what > org-babel-string-read does. i thought it was removing quotation marks > from strings (but wasn't sure why). but, running this in *scratch* > gives: > > (org-babel-string-read "this is \"a\" test") > "a" > > rather than "this is a test", as i had assumed. maybe that was a bogus > test? > > [2] changing org-babel-string-read to call org-babel-read with > inhibit-lisp-eval 't causes *my code* to work. my code *also* works if > i say ":results output" or ":results scalar"; i will defensively use one > of these for my code. > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Sagemath with org-babel?

2012-08-06 Thread Thomas S. Dye
n > > Sent from my iPad > -- Thomas S. Dye http://www.tsdye.com

Re: [O] Nice theorem display ?

2012-08-07 Thread Thomas S. Dye
t in your Org mode buffer. The operation can be reversed with C-c C-c. I'm glad to hear you enjoy writing LaTeX documents in Org mode. This is something I enjoy, too. Org mode will soon become a much more powerful environment for authoring LaTeX (and other) documents, when Nicolas Goaziou's "new exporter" moves fully into the Org mode core. hth, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [Contest] Redesign orgmode.org by the end of august

2012-08-10 Thread Thomas S. Dye
nd let the > votes speak for themselves :) > > John > > Me too. Could the "losers" end up on Worg, too? I've often felt the need for a good CSS tailored to Org mode and it would be sweet to have more choices. Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [Contest] Redesign orgmode.org by the end of august

2012-08-11 Thread Thomas S. Dye
Hi Bastien, Bastien writes: > Hi Tom, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Could the "losers" end up on Worg, too? I've often felt the >> need for a good CSS tailored to Org mode and it would be sweet to have >> more choices. > >

Re: [O] reevaluate all sorce code blocks?

2012-08-12 Thread Thomas S. Dye
C-v C-sorg-babel-execute-subtree All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org-mode release 7.9

2012-08-24 Thread Thomas S. Dye
ling, Richard > Hansen, Richard Stanton, Robert Lupton the Good, Ryan Kaskel, SW, Samuel > Wales, Sean O'Halpin, Simon Thum, Stefan Vollmar, Steinar Bang, Steve > Revilak, Stuart McLean, Sylvain Rousseau, Sébastien Vauban, T.F. Torrey, > Takaaki Ishikawa, Takafumi Arakaki, Tassilo Horn, T

Re: [O] Org-mode release 7.9

2012-08-25 Thread Thomas S. Dye
Hi Bastien, Bastien writes: > Hi Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> I'm using Org from Elpa (which is neat). When I updated and refreshed >> Org, I got the following error: >> >> Loading >> /Applications/Emacs.app/Contents/R

Re: [O] Features and stuff I've been working on.

2012-08-28 Thread Thomas S. Dye
be > automatic. This enables the use of ditaa on Groff exports. It is > controlled with a variable to allow disabling the feature if none of > these options are available. > 2. Ability to resize pic images. Height and attributes are now available > for .pic images in addition to eps ones. > > > Regards, -- Thomas S. Dye http://www.tsdye.com

Re: [O] Multicolumn

2012-08-28 Thread Thomas S. Dye
gling it seems that multicolumn support is not yet >>> implemented in org tables. >>> I would need multicolumn headers quite urgently, >>> but I have not yet found a way to make this possible. >>> >>> I think that tables with headers like this: >>> >>> | |mean | s.e.| >>> | gender | varA | varB | varA | varB | >>> >>> are quite common, so I really want to put this feature on the wish list. >>> I am not able to implement this myself. >>> >>> Erich >>> >>> >>> >>> >> >> > > > -- Thomas S. Dye http://www.tsdye.com

[O] mouse highlight on agenda lines

2012-08-31 Thread Thomas S. Dye
Aloha all, After a recent upgrade to emacs 24, and using the Org-mode that ships with emacs (7.8.11), the following code that has been in my initialization file for a long time no longer works: #+begin_src emacs-lisp :tangle yes (add-hook 'org-finalize-agenda-hook (lambda () (remove-text-pr

Re: [O] mouse highlight on agenda lines

2012-08-31 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Aloha all, >> >> After a recent upgrade to emacs 24, and using the Org-mode that ships >> with emacs (7.8.11), the following code that has been in my >> initialization file for a long time no longer works: >&

Re: [O] mouse highlight on agenda lines

2012-08-31 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Nick Dokos writes: >> >> > Thomas S. Dye wrote: >> > >> >> Aloha all, >> >> >> >> After a recent upgrade to emacs 24, and using the Org-mode that ships >> >> w

[O] Cannot open load file: subst-ksc

2012-08-31 Thread Thomas S. Dye
Aloha all, Stumbling out of the gate here: bash-3.2$ git clone git://orgmode.org/org-mode.git Cloning into 'org-mode'... remote: Counting objects: 65748, done. remote: Compressing objects: 100% (13967/13967), done. remote: Total 65748 (delta 52088), reused 65145 (delta 51659)

Re: [O] Cannot open load file: subst-ksc

2012-08-31 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Aloha all, >> >> Stumbling out of the gate here: >> >> bash-3.2$ git clone git://orgmode.org/org-mode.git >> Cloning into 'org-mode'... >> remote: Counting objects: 65748, done.

Re: [O] Cannot open load file: subst-ksc

2012-08-31 Thread Thomas S. Dye
Thanks for these pointers. I had an emacs installed via MacPorts. When I uninstalled it, the "make uncompiled" command ran to completion. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] org-agenda-sticky -> Recursive load

2012-09-02 Thread Thomas S. Dye
ne). Aloha all, Is there a command that can be used to determine if there is a "ghost installation behind the scene?" All the best, Tom > > You start with emacs -Q > > You load a minimal .emacs.el and open a .org file and fire up an > agenda view. Can you send me

[O] Installation question

2012-09-03 Thread Thomas S. Dye
Aloha list, I'm having a difficult time installing org after upgrading to emacs 24.1 :( If I make compile, then my initialization stops with an error because a macro in org-compat.el can't be found. If I make uncompiled, then initialization appears to work correctly. I'm working on a Mac and ru

Re: [O] Installation question

2012-09-03 Thread Thomas S. Dye
Jambunathan K writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> Aloha list, >> >> I'm having a difficult time installing org after upgrading to emacs 24.1 >> :( >> >> If I make compile, then my initialization stops with an error because a >&

[O] list-load-path-shadows

2012-09-04 Thread Thomas S. Dye
ill heal itself and stop hanging emacs--could this shadowing be causing problems? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] list-load-path-shadows

2012-09-04 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Aloha all, >> >> I'm working to understand why my initialization files don't work if I >> compile org from git, but do seem to work (that is, initialization runs >> to completion) when I don't com

Re: [O] conditional export based on babel result

2012-09-05 Thread Thomas S. Dye
0.05) > ":export:" ":noexport:") > The follow-up > > #+end_org > > > Regards, > Andreas > > > -- Thomas S. Dye http://www.tsdye.com

Re: [O] list-load-path-shadows

2012-09-05 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Nick Dokos writes: >> >> > Thomas S. Dye wrote: >> > >> >> Aloha all, >> >> >> >> I'm working to understand why my initialization files don't work if I >

Re: [O] list-load-path-shadows

2012-09-05 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> The initialization error was coming when one of my files was being >> evaluated. If I don't require org-latex, the compiled version of org >> will initialize. >> >> *** OFF Require org-latex >> #+beg

Re: [O] list-load-path-shadows

2012-09-05 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Hmm, after putting your minimal .emacs (suitably localized) in ~/temp, >> emacs -Q -l /Users/dk/temp/.emacs launches emacs and opens the minimal >> .emacs file for editing, but apparently doesn't source it. M-x >>

Re: [O] list-load-path-shadows

2012-09-05 Thread Thomas S. Dye
Nick Dokos writes: > Thomas S. Dye wrote: > >> Nick Dokos writes: >> >> > Thomas S. Dye wrote: >> > >> >> Hmm, after putting your minimal .emacs (suitably localized) in ~/temp, >> >> emacs -Q -l /Users/dk/temp/.emacs launches em

[O] org-agenda-finalize-hook

2012-09-05 Thread Thomas S. Dye
Aloha all, My old code for org-finalize-agenda-hook to keep the mouse cursor from highlighting agenda lines doesn't work after switching over to org-agenda-finalize-hook. I have: *** ON Mouse cursor doesn't highlight agenda lines #+begin_src emacs-lisp :tangle yes (add-hook 'org-agenda-finalize

[O] [PATCH] New variable for the new latex exporter

2012-09-11 Thread Thomas S. Dye
Aloha Nicolas, The attached patch adds a new defcustom for the toc and listof commands that are inserted after \maketitle with the new latex exporter. In the old exporter, the undesirable \vspace*{1cm} could be replaced with a user-defined function. The new exporter hard codes this. The patch p

[O] New exporter queries, captions

2012-09-12 Thread Thomas S. Dye
Aloha Nicolas, Three queries about captions in the new exporter: 1) The old exporter allowed a structure like this #+CAPTION: [Short caption]{Long caption.} to export \caption[Short caption]{Long caption.} to LaTeX. The new exporter gives something like this \caption{[Short caption]{Long caption

Re: [O] babel for ditaa-eps

2012-09-12 Thread Thomas S. Dye
#x27;re better off with the > EPS file. > > Luis If this code is useful, perhaps it could be checked into contrib/lisp? Of course, it would be good to have some documentation on Worg, too. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] New exporter queries, captions

2012-09-13 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Three queries about captions in the new exporter: >> >> 1) The old exporter allowed a structure like this #+CAPTION: [Short >> caption]{Long caption.} to export \caption[Short

Re: [O] org-agenda-sticky -> Recursive load

2012-09-14 Thread Thomas S. Dye
Bastien writes: > Hi Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Is there a command that can be used to determine if there is a "ghost >> installation behind the scene?" > > I guess you already know this, so my help is not probably much he

[O] New LaTeX exporter and #+call:

2012-09-14 Thread Thomas S. Dye
Aloha Nicolas, #+call: lines appear to flummox the new LaTeX exporter. This exports as I expect: #+caption[Old wood]: Old wood graph. #+label: fig:old-wood #+results: old-wood[:file old-wood.pdf]():results file [[file:old-wood.pdf]] But this yields "\url{file://nil}": #+call: old-wood[:file ol

Re: [O] New LaTeX exporter and #+call:

2012-09-15 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> #+call: lines appear to flummox the new LaTeX exporter. >> >> This exports as I expect: >> >> #+caption[Old wood]: Old wood graph. >> #+label: fig:old-wood >>

[O] New LaTeX exporter, link to \ref

2012-09-15 Thread Thomas S. Dye
Aloha Nicolas, This in the org file: (fig. [[fig:old-wood]]) exports to this in the latex file: (fig. \ref{fig-old-wood}) I think the exporter is replacing the colon with a hyphen, which breaks the reference. Also, is there some way to toggle a non-breaking space, e.g., (fig.~\ref{fig:old-woo

Re: [O] New LaTeX exporter, link to \ref

2012-09-16 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> This in the org file: >> >> (fig. [[fig:old-wood]]) >> >> exports to this in the latex file: >> >> (fig. \ref{fig-old-wood}) >> >>

[O] Problem with org-entities-user

2012-09-16 Thread Thomas S. Dye
Aloha all, I'm probably doing something silly here, but can't figure it out. Using the new LaTeX exporter, and with org-entities-user defined as below, this: \C14 \frac12 \Omacron exports as: \C14 \textonehalf{} \={O} Why isn't my C14 entity being exported correctly? All the best, Tom Value

Re: [O] Problem with org-entities-user

2012-09-17 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> I'm probably doing something silly here, but can't figure it out. Using >> the new LaTeX exporter, and with org-entities-user defined as below, >> this: >> >>

Re: [O] Problem with org-entities-user

2012-09-19 Thread Thomas S. Dye
Aloha all, Bastien writes: > Hi, > > Nicolas Goaziou writes: > >> My point is not about removing anything related to LaTeX syntax. I'm >> fine with a \cite{...} (although I think [[cite:...]] may be cleaner) as >> long as it really is accepted by most major export back-ends. >> >> But I think a

Re: [O] babel for ditaa-eps

2012-09-20 Thread Thomas S. Dye
(concat > + "epstopdf" > + " " (org-babel-process-file-name (concat in-file ".eps")) > + " -o=" (org-babel-process-file-name out-file) > (unless (file-exists-p org-ditaa-jar-path) >(error "Could not find ditaa.jar at %s" org-ditaa-jar-path)) > (with-temp-file in-file (insert body)) > (message cmd) (shell-command cmd) > +(when eps (message eps-cmd) (shell-command eps-cmd)) > nil)) ;; signal that output has already been written to file > > (defun org-babel-prep-session:ditaa (session params) > -- > 1.7.12 -- Thomas S. Dye http://www.tsdye.com

Re: [O] LaTeX export problem

2012-09-21 Thread Thomas S. Dye
ring desc ";")) (car (split-string desc ";")) path)) #+end_src #+name: define-biblatex-parencitestar-link #+begin_src emacs-lisp :results silent :exports none (org-add-link-type "parencite*" 'ebib (lambda (path desc format) (cond ((eq format 'html) (format "(%s)" path)) ((eq format 'latex) (if (or (not desc) (equal 0 (search "parencite*:" desc))) (format "\\parencite*{%s}" path) (format "\\parencite*[%s][%s]{%s}" (cadr (split-string desc ";")) (car (split-string desc ";")) path)) #+end_src #+name: define-biblatex-supercite-link #+begin_src emacs-lisp :results silent :exports none (org-add-link-type "supercite" 'ebib (lambda (path desc format) (cond ((eq format 'html) (format "(%s)" path)) ((eq format 'latex) (format "\\cite*{%s}" path) #+end_src ** Nicolas Goaziou's filter for non-breaking spaces #+name: ngz-nbsp #+begin_src emacs-lisp (defun ngz-latex-filter-nobreaks (text backend info) "Ensure \"_\" are properly handled in Beamer/LaTeX export." (when (memq backend '(e-beamer e-latex)) (replace-regexp-in-string " " "~" text))) (add-to-list 'org-export-filter-plain-text-functions 'ngz-latex-filter-nobreaks) #+end_src The header of my org file looks like this: #+TITLE: A Regional Chronology of Leeward North Kohala District, Hawai`i Island #+AUTHOR:Thomas Dye #+DATE: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LaTeX_CLASS: koma-article #+LaTeX_HEADER: \subtitle{Draft: Not for citation} #+startup: fnadjust #+TOC: figures #+TOC: tables Currently, I'm exporting with org-export-dispatch, but eventually I'll tangle the setup into an init.el file and have a makefile that launches emacs -q so I can be certain nothing in my .emacs has an influence. Right now, though, I'm quite happy with the new exporter. hth, Tom > On Fri, Sep 21, 2012 at 3:48 AM, Bastien wrote: >> Hi Alexander, >> >> Alexander Vorobiev writes: >> >>> Could you point us to any documentation on how to switch to the new >>> exporter? >> >> Add contrib/lisp to your load-path. >> >> (require 'org-e-latex) >> >> then M-x org-export-dispatch RET to get a menu and be able to >> export to LaTeX from here. >> >>> Is the tutorial >>> http://orgmode.org/worg/org-tutorials/org-latex-export.html still >>> relevant? >> >> No, this tutorial is valid for the current exporter, not for >> Nicolas exporter. >> >> HTH, >> >> -- >> Bastien > > -- Thomas S. Dye http://www.tsdye.com

[O] New LaTeX exporter, Invalid search bound

2012-09-22 Thread Thomas S. Dye
(cadr (split-string desc ";")) (car (split-string desc ";")) path)) #+end_src #+name: define-biblatex-footcitetext-link #+begin_src emacs-lisp :results silent :exports none (org-add-link-type "footcitetext" 'ebib (lambda (path desc format) (cond ((eq format 'html) (format "(%s)" path)) ((eq format 'latex) (if (or (not desc) (equal 0 (search "footcitetext:" desc))) (format "\\footcitetext{%s}" path) (format "\\footcitetext[%s][%s]{%s}" (cadr (split-string desc ";")) (car (split-string desc ";")) path)) #+end_src All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Problem with org-entities-user

2012-09-22 Thread Thomas S. Dye
Carsten Dominik writes: > On 22.9.2012, at 10:52, Nicolas Goaziou wrote: > >> Hello, >> >> Carsten Dominik writes: >> >>> The only thing is: I do use Org to draft documents intended to >>> be later fine-tuned as LaTeX documents, while I don't usually >>> do this for other backends. So the ab

Re: [O] New LaTeX exporter, Invalid search bound

2012-09-23 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> A document that exported nicely with the new LaTeX exporter on 9/18 now >> fails with a more recent pull from git. I've included a portion of the >> backtrace and the section of t

Re: [O] Problem with org-entities-user

2012-09-23 Thread Thomas S. Dye
o make some incompatible changes. >> >> Indeed. I will preserve my quota of backward-incompatible changes for >> other things. > > > OK. > Two versions of the parser! Yikes, that doesn't sound good. Links still provide a path to handle arbitrary LaTeX commands and have them send sensible output to the different backends. They don't look so great in the Org buffer, but that is an aesthetic issue, not functional. Thanks, Nicolas, for the new LaTeX exporter. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Bug: R source block list export not working properly [7.8.11]

2012-09-25 Thread Thomas S. Dye
(x86_64-apple-darwin, NS apple-appkit-1038.36) > of 2012-08-27 on bob.porkrind.org > Package: Org-mode version 7.8.11 Hi Greg, The problem is that no one is maintaining ob-r.el. The author, Dan Davison, has moved on to other things. Eric Schulte will apply patches to ob-r.el. Perhaps you could suggest a patch that would fix this behavior? All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Two modifications for source blocks processing (will be in 7.9.2)

2012-09-26 Thread Thomas S. Dye
urrent support > of "#+begin/end_org" blocks? > > Best regards, > Seb :results org was a synonym for :results raw, so I think "small change" here probably means that support for the synonym was dropped. #+begin/end_org blocks should still work with the :wrap header argument, which hasn't been altered, IIUC. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Thomas S. Dye
file for scientific > writingTestSciDocu.pdf is the outputPlease help me in geeting the citation > correctly :( > > > I am using emacs-snapshot on Ubuntu > 12.04.Thanks----- style="color:rgb(102,102,102)">Sanjib Sikder style="color:rgb(153,153,153)">Ph.D. Fellow > > > Chemical EngineeringIIT Bombay > > > > > -- Thomas S. Dye http://www.tsdye.com

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