Re: [O] from Android to org's calendar in a painless way?

2013-08-28 Thread James Harkins
Renato gmail.com> writes: > I know MobileOrg for Android, but I currently only use it to sync > things from the computer to the phone (i.e. I just use it to have > my .org files with me all the time, for consulting) - the other way > around I find clumsy, because I have to remember, when on the co

Re: [O] from Android to org's calendar in a painless way?

2013-08-29 Thread James Harkins
Charles Philip Chan writes: > James Harkins writes: > > Also, calendar sync is not working on my Android 4 tablet after the > > most recent OS update from Asus. I've filed a bug report about that > > too, and asked on the mobileorg mailing list, but so far, no > &

Re: [O] [export] Easy way to make children of Beamer frames generate list items?

2013-09-14 Thread James Harkins
Suvayu Ali gmail.com> writes: > I think it is unwise to keep coming up with ways to support semantically > wrong behaviour just for the sake of backwards compatibility. This was > changed with good reason and after a lot of discussions. If you > continue on this path, you will have to keep main

Re: [O] Bug: Wrong type argument: arrayp, nil when exporting to beamer [8.2 (8.2-elpa /Users/jason/.emacs.d/elpa/org-20130919/)]

2013-09-22 Thread James Harkins
Jason Lewis dickson.st> writes: > Nicolas Goaziou wrote, On 23/09/2013 7:56 AM: > > The syntax is wrong: you cannot have two frames within the same > > tree. > > Hi Nocolas, > > Thanks. The error message is not very clear and this is an easy > mistake for a beginner to make. FWIW, I've been us

[O] Habit display in agenda, scheduled day only?

2013-09-22 Thread James Harkins
I just started using habits. A question: With the default settings, habits appear in the agenda if they are TODO for today. If they are TODO on a future day, they are hidden. (This is basically okay, except that marking a habit DONE makes the consistency graph disappear from the agenda, until

[O] Beamer export with \only overlays - how?

2013-10-08 Thread James Harkins
Question: How does one use Beamer's \only command with blocks? (Successfully, with org-mode's beamer export, I mean.) I found in the manual that you can give an overlay specification using the BEAMER_ACT property... ok... but that's not the same as \only because, when a latex chunk is marked \o

Re: [O] Beamer export with \only overlays - how?

2013-10-08 Thread James Harkins
Suvayu Ali gmail.com> writes: > On Tue, Oct 08, 2013 at 11:41:36PM +0800, James Harkins wrote: > > Question: How does one use Beamer's \only command with blocks? (Successfully, with org-mode's beamer > export, I mean.) > > > > I found in the manual that

Re: [O] Beamer export with \only overlays - how?

2013-10-09 Thread James Harkins
Suvayu Ali gmail.com> writes: > Look a bit more carefully ;). The following paragraph has an example > suggesting the onlyenv environment. As far as I understand, > environments are prefered over commands with arguments or macros when > translating headlines. You can nest your block in such an

Re: [O] org-grep, and problems

2013-10-14 Thread James Harkins
R. Michael Weylandt gmail.com> gmail.com> writes: > On Oct 10, 2013, at 11:50, François Pinard iro.umontreal.ca> wrote: > > > > > P.S. What is proper English: "nobody remember" or "nobody remembers"? > > > > Remembers. 'Nobody' counts as singular, as does 'no one'. English isn't totally

Re: [O] org-grep, and problems

2013-10-14 Thread James Harkins
On Oct 15, 2013 2:19 AM, "Jonathan Leech-Pepin" < jonathan.leechpe...@gmail.com> wrote:. > > I'm voting for "none of the bosses is going to attend." > > None is a bit of an odd case, since it reflects the plurality of the associated noun. I don't want to drag it out much further as it's well off t

[O] Beamer export: How to handle overlayarea

2013-10-21 Thread James Harkins
Per the beamer user guide, the syntax of the overlayarea environment is: \begin{overlayarea}{area width}{area height} environment contents \end{overlayarea} I can't figure out how to get the width and height in properly. From the customize interface, I added overlayarea as follows: '

Re: [O] Beamer export: How to handle overlayarea

2013-10-21 Thread James Harkins
On Oct 21, 2013 6:12 PM, "Nicolas Goaziou" wrote: > Optional arguments are in square brackets in LaTeX. Try %r instead, so > you can write: > > *** {0.9\textwidth}{0.7\textheight} :B_overlayarea: > :PROPERTIES: > :BEAMER_env: overlayarea > :END: Ah, OK, that's better. It's

Re: [O] Beamer export: How to handle overlayarea

2013-10-23 Thread James Harkins
On Oct 24, 2013 12:58 AM, "Nicolas Goaziou" wrote: > There are two things to consider: what belongs to the manual, and what > belongs to `org-beamer-environments-extra' docstring. > > I think it is reasonable for the manual not to talk about %o, %r... but, > instead, simply point to the variable n

[O] Temp files are not deleted after beamer export with source code blocks

2013-10-28 Thread James Harkins
I've set org-latex-listings to "Use listings" (not minted), and then run this minimal example. #+BIND: org-latex-listings-options (("basicstyle" "\\ttfamily") ("captionpos" "b") ("tabsize" "3")) #+LANGUAGE: en #+OPTIONS: H:1 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t ':t #+E

Re: [O] Temp files are not deleted after beamer export with source code blocks

2013-10-29 Thread James Harkins
On Tuesday, October 29, 2013 5:06:29 PM KST, Nicolas Goaziou wrote: It should clean them up. Though, the "-2" suffix implies that a regexp is needed to find temporary files. Does the following patch work? Will have to try later... some time pressure right now. An aside: in the last few weeks,

[O] Beamer and org-language source blocks?

2013-10-31 Thread James Harkins
Maybe there is something obvious I'm missing, but I'm having considerable trouble using org-language source code blocks in Beamer export. The objective is to show a little of the org code that made the presentation. This means including some headers. I had thought that declaring the source cod

Re: [O] Beamer and org-language source blocks?

2013-11-01 Thread James Harkins
On Nov 1, 2013 4:35 PM, "Nicolas Goaziou" wrote: > Blocks cannot contain headlines. You need to protect offending lines > with a comma. See section 11.3 from the manual. I see it now... I was looking in the manual for info on source blocks, and didn't realize I needed to go up a conceptual level,

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

2013-11-04 Thread James Harkins
avior completely). I haven't found anything in the manual explaining how to run a shell command on the output file from LilyPond execution. That's really the crucial one -- it makes no sense to embed an A4 sized image into a beamer frame... hjh -- Forwarded message ------ From:

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

2013-11-04 Thread James Harkins
On Nov 4, 2013 10:08 PM, "Eric Schulte" wrote: > Look in lisp/ob-lilypond.el. Specifically (1) would be done in > `org-babel-expand-body:lilypond', and both (2) and (3) in > `org-babel-execute:lilypond'. Thanks. I'm not much of a LISPer so I have no idea when I might get around to that. In the

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

2013-11-04 Thread James Harkins
On Tuesday, November 5, 2013 12:24:44 PM HKT, James Harkins wrote: On Nov 4, 2013 10:08 PM, "Eric Schulte" wrote: Look in lisp/ob-lilypond.el. Specifically (1) would be done in `org-babel-expand-body:lilypond', and both (2) and (3) in `org-babel-execute:lilypond'. Thank

Re: [O] Temp files are not deleted after beamer export with source code blocks

2013-11-06 Thread James Harkins
On Tuesday, October 29, 2013 4:06:29 PM HKT, Nicolas Goaziou wrote: It should clean them up. Though, the "-2" suffix implies that a regexp is needed to find temporary files. Does the following patch work? It seems not to have any effect. Here's what I did to try it: 1. cd ~/share/org-mode.git

Re: [O] Temp files are not deleted after beamer export with source code blocks

2013-11-06 Thread James Harkins
On Wednesday, November 6, 2013 10:15:44 PM HKT, Nicolas Goaziou wrote: No ***-**.vrb files were deleted. Out of curiosity: in my case vrb files follow the template "***.**.vrb" not "***-**.vrb". Are you sure about the hyphen? Hm, you're right -- I was sure they are hyphens, but I just looked

Re: [O] Temp files are not deleted after beamer export with source code blocks

2013-11-07 Thread James Harkins
On Friday, November 8, 2013 12:21:21 AM HKT, Nicolas Goaziou wrote: Here's an update which should properly remove these files. Could you confirm it? Yes, working fine. Thanks. hjh

[O] BEAMER_act and special environments

2013-11-10 Thread James Harkins
Hi, I'm not especially familiar with emacs-lisp and I haven't looked at the functions for node properties at all. Unfortunately, I'm under a time crunch today and I don't have the few hours it would take to get up to speed (otherwise, I'd have a go at it myself). It seems that everything in

Re: [O] BEAMER_act and special environments

2013-11-11 Thread James Harkins
On Nov 11, 2013 4:11 PM, "Nicolas Goaziou" wrote: > According to Beamer's user guide, "columns" environment follows the > template: > > \begin{columns}[] > ... > \end{columns} > > IOW, it is not possible to define an action specification on it. Well, that would explain it. What I should

[O] Koma-letter bug: backaddress option not included in latex export

2013-11-24 Thread James Harkins
I believe I've found a bug in ox-koma-letter.el. Org-mode version 8.2 (release_8.2-2-g18c7c4 @ /home/dlm/share/org-mode.git/lisp/) Accepted values for the "backaddress" option are "t" or "nil." If the option is "t," then the export contains a line "\KOMAoption{backaddress}{true}." If the opt

[O] More koma confusion: subject option

2013-11-24 Thread James Harkins
According to [1], "#+OPTIONS: subject:nil" should suppress printing the #+TITLE at the top of the letter. It seems that the previous bug prevents the expected line "\KOMAoption{subject}{untitled}" from being generated. Okay... so, what if I set "#+OPTIONS: subject:untitled"? Then I get somethi

[O] #+PROPERTY: for babel header args worked... then it didn't

2013-12-05 Thread James Harkins
code}[1]{\textcolor{codecolor}{\texttt{#1}}} #+LATEX_HEADER: \newcommand{\codeident}[1]{\mbox{\texttt{#1}}} #+LATEX_HEADER: \newcommand{\termemph}[1]{\emph{#1}} #+TITLE: What's Wrong with Finale? \\ Free Music Notation with LilyPond #+AUTHOR:H. James Harkins # #+DATE: 31 October 2013 #+BEG

Re: [O] #+PROPERTY: for babel header args worked... then it didn't

2013-12-05 Thread James Harkins
Achim Gratz nexgo.de> writes: > James Harkins writes: > > Now I'm working on a short article-class document, and I included the same > > #+PROPERTY at the top, and... no effect. But... *the lines are identical*. > > ?? > > Did you C-c C-c the configurat

[O] ox-latex: Is \uline really right for underlining?

2013-12-11 Thread James Harkins
org-latex-text-markup-alist is a variable defined in `ox-latex.el'. Its value is ((bold . "\\textbf{%s}") (code . verb) (italic . "\\emph{%s}") (strike-through . "\\sout{%s}") (underline . "\\uline{%s}") (verbatim . protectedtexttt)) underline . "\\uline{%s}" -- According to [1], ~~ \uline U

[O] LaTeX export with listings: multicolumn support broken?

2013-12-11 Thread James Harkins
A few months ago, I wrote an academic paper with code examples, using the listings environment like so: #+ATTR_LaTeX: :starred t :options [htb] #+BEGIN_figure #+CAPTION: Simple sequencer, implementing the musical flow from Figure [[basicseq_graph]]. #+NAME: basicseq #+BEGIN_SRC {} -i TLSequenc

Re: [O] LaTeX export with listings: multicolumn support broken?

2013-12-11 Thread James Harkins
On Wednesday, December 11, 2013 10:54:37 PM HKT, James Harkins wrote: I have also tried #+ATTR_LaTeX: :float multicolumn :options [htb] per documentation at [1]. I still get \begin{figure}, not \begin{figure*}. Forgot the footnote: it's http://orgmode.org/manual/LaTeX-spe

Re: [O] LaTeX export with listings: multicolumn support broken?

2013-12-11 Thread James Harkins
Nicolas Goaziou gmail.com> writes: > I could be a suggested feature that didn't make it into code base. > Anyway, you can use: > > #+begin_figure* > ... > #+end_figure* > > instead. OK, relief. That did it. Should #+begin_something* be documented under "special blocks" here? http://org

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

2013-12-11 Thread James Harkins
Incidentally, while I was trying different versions last night (for the LaTeX starred-figure issue), I saw the following warnings during "make": In toplevel form: ox-texinfo.el:1683:1:Warning: !! The file uses old-style backquotes !! This functionality has been obsolete for more than 10 years al

Re: [O] ox-latex: Is \uline really right for underlining?

2013-12-11 Thread James Harkins
On Wednesday, December 11, 2013 10:47:42 PM HKT, Nicolas Goaziou wrote: Is "ulem" one of the LaTeX export default packages? Yes, it is. See `org-latex-default-packages-alist'. Ah... I must have customized that at some point. Drifting off the topic slightly, to a related question. I have a fe

Re: [O] ox-latex: Is \uline really right for underlining?

2013-12-11 Thread James Harkins
On Thu, Dec 12, 2013 at 10:40 AM, James Harkins wrote: > On Wednesday, December 11, 2013 10:47:42 PM HKT, Nicolas Goaziou wrote: >>> >>> Is "ulem" one of the LaTeX export default packages? >> >> Yes, it is. See `org-latex-default-packages-alist'

Re: [O] LaTeX export with listings: multicolumn support broken?

2013-12-11 Thread James Harkins
On Wed, Dec 11, 2013 at 11:22 PM, Nicolas Goaziou wrote: > Your first "attr_latex" line applies to the "figure" special block, not > to the source block. I did eventually figure that out. As far as I can see, this is the only reference to figure* environments in the manual: ~~ multicolumn: if y

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

2013-12-12 Thread James Harkins
On Thu, Dec 12, 2013 at 11:52 PM, Thomas S. Dye wrote: > 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&#

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

2013-12-12 Thread James Harkins
On Fri, Dec 13, 2013 at 10:44 AM, Thomas S. Dye wrote: > I see in the git log for ox-texinfo that Carsten got rid of old > style backquoting on September 19th. Yours must be older than that? Well, as I said before, I'm using the stable release tag for 8.2. I do not habitually use the latest from

[O] ob-lilypond and LaTeX floats/captions

2016-02-26 Thread James Harkins
Especially looking for users of ob-lilypond: I currently have a few LilyPond source code blocks that are working quite well as inline graphics (exported to LaTeX), e.g.: #+BEGIN_SRC lilypond :exports results :noweb yes :file ex1.eps ... #+END_SRC When I export, it (correctly) asks if I want to

Re: [O] ob-lilypond and LaTeX floats/captions

2016-02-26 Thread James Harkins
On February 27, 2016 5:57:01 AM Nicolas Goaziou wrote: > My question, then, is: What is needed to get ob-lilypond to support > LaTeX floats and captions? (I have a sneaky feeling it isn't trivial, > but it's worth asking in any case.) You are applying the name and caption to the source block,

Re: [O] closing column mode for beamer export

2015-02-11 Thread James Harkins
Larrabee Strow umbc.edu> writes: > > I am trying to put a second row of two columns in a org beamer slide. > > No problems with doing the first row, two column. > > I can't figure out any way to put in the second row of two columns. > (I am trying to show a 2x2 grid of images, with titles.) >

Re: [O] closing column mode for beamer export

2015-02-12 Thread James Harkins
Eric S Fraga ucl.ac.uk> writes: > On Wednesday, 11 Feb 2015 at 11:46, L.Larrabee Strow wrote: > > Here is the simplest example I can come up with. I changed the four > > figures to text. Note that in comments, I show where I can add > > \end{columns} and \begin{columns} to the org-generated .te

[O] Advice on handling translations in export

2015-02-22 Thread James Harkins
Just wondering if anyone has any experience with texts written in org, which then need to be translated. The simplest thing, of course, would be an org file for the original language, and then separate files for other languages. Markup and export are simpler this way, but future edits would be

[O] Exporter: Derived backend options-alist

2015-03-02 Thread James Harkins
I'm trying to derive an exporter backend from ASCII. I need to add some export options, so I have: #+BEGIN_SRC {emacs-lisp} (org-export-define-derived-backend 'scdoc 'ascii :translate-alist ... omitted for brevity... :options-alist '((:categories "CATEGORIES" nil nil t) (:related "RELA

Re: [O] Exporter: Derived backend options-alist

2015-03-02 Thread James Harkins
On March 3, 2015 12:51:31 AM Nicolas Goaziou wrote: > Then I created an org file that begins: > > #+BEGIN_SRC org > ,#+title:: PulseCount > ,#+summary:: Pulse counter. > ,#+related:: Classes/Stepper > ,#+categories:: UGens>Triggers It should be #+title: PulseCount Gah... doubled c

[O] (org-element-property :title ...) not returning a string

2015-03-04 Thread James Harkins
I've got: (defun org-scdoc-headline (headline contents info) "Transcode a HEADLINE element from Org to ASCII. CONTENTS holds the contents of the headline. INFO is a plist holding contextual information." ;; Don't export footnote section, which will be handled at the end ;; of the template.

Re: [O] (org-element-property :title ...) not returning a string

2015-03-04 Thread James Harkins
On March 4, 2015 7:18:11 PM James Harkins wrote: I've got: (defun org-scdoc-headline (headline contents info) (unless (org-element-property :footnote-section-p headline) (let* ((title (org-element-property :title headline)) (allcaps (upcase title)) ... blah blah

[O] Comment on Org Export Reference

2015-03-06 Thread James Harkins
I've been working on an export backend for personal use, and I find the documentation on worg to be... not quite what I need. In the spirit of suggesting an avenue for improvement, then: The page covers a lot of details, but less in the way of context. For instance, the toolbox is documented e

Re: [O] Comment on Org Export Reference

2015-03-06 Thread James Harkins
On March 6, 2015 7:21:50 PM Nicolas Goaziou wrote: James Harkins writes: > The page covers a lot of details, but less in the way of context. For > instance, the toolbox is documented extensively, but I didn't see > a comprehensive list of the transcoding functions that a ba

[O] org-mobile-pull put a heading at the document head

2015-03-16 Thread James Harkins
Hi, org-mobile-pull just messed up. I have a top level heading, "Dates." In mobileorg (android), I created a second-level heading under it, "Entrance exams," and then a third level heading under that, "Auditions," with a scheduled date. That was on my phone. Later, I synced on the phone and di

[O] Doc suggestion: Clarify subtree export properties

2015-07-09 Thread James Harkins
I think the manual could be a bit clearer on one point of the use of :EXPORT_*: properties. http://orgmode.org/manual/Export-settings.html#Export-settings ~~ When exporting only a subtree, each of the previous keywords3 can be overridden locally by special node properties. These begin with ‘EXP

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

2013-12-14 Thread James Harkins
On Fri, 13 Dec 2013 10:06:03 +0100, Achim Gratz wrote: James Harkins writes: > $ git status > # On branch hjh8.2 You are on your own branch, with unknown modifications. The current ox-texinfo doesn't have any backquotes, let alone old-style ones anywhere near those lines. How

[O] Beamer title is (incorrectly?) outside of a frame

2013-12-22 Thread James Harkins
Hi, Is there a reason why Beamer export does not place "\maketitle" in a frame? The beamer user guide (I.3.4) specifies the following: \begin{frame} \titlepage \end{frame} But org-mode simply writes "\maketitle" outside of a frame. This is important when you are using the same source to produ

Re: [O] Beamer title is (incorrectly?) outside of a frame

2013-12-22 Thread James Harkins
On Sunday, December 22, 2013 6:38:02 PM HKT, James Harkins wrote: Hi, Is there a reason why Beamer export does not place "\maketitle" in a frame? The beamer user guide (I.3.4) specifies the following: \begin{frame} \titlepage \end{frame} But org-mode simply writes "\maketi

Re: [O] Beamer title is (incorrectly?) outside of a frame

2013-12-22 Thread James Harkins
On Sunday, December 22, 2013 9:36:34 PM HKT, Nicolas Goaziou wrote: Oh, I think I see the issue... there's only one org-latex-title-command. ;; 10. Title command. (org-element-normalize-string (cond ((string= "" title) nil) ((not (stringp org-latex-title-command)) nil) ... I don't think the v

Re: [O] Beamer title is (incorrectly?) outside of a frame

2013-12-25 Thread James Harkins
On Monday, December 23, 2013 4:25:50 PM HKT, Nicolas Goaziou wrote: James Harkins writes: One question, though: How would I determine the LaTeX document class programmatically? (plist-get info :latex-class) Thanks. I'm very busy now at the end of the semester, but I have this: **

[O] Faces issue with plain lists under second-level headings?

2014-01-03 Thread James Harkins
I'm not sure if this is reported, but I spotted a minor "faces" bug just now. Put this into an Org buffer. ** Headline - *Bold* non-bold - *Bold* non-bold - Non-bold Put the cursor on "Headline" and do M-left, M-right. When the heading is any level other than second, no problem. But at

[O] sa-ignore-headline for HTML export

2014-01-07 Thread James Harkins
Hi Suvayu, I've been using your "sa-ignore-headline" filter [1] for a while -- works great for LaTeX. (defun sa-ignore-headline (contents backend info) "Ignore headlines with tag `ignoreheading'." (when (and (org-export-derived-backend-p backend 'latex 'html 'ascii) (string-match "\

[O] HTML export doesn't convert quote before footnote

2014-01-07 Thread James Harkins
This appears to be an HTML export bug: A straight double-quote mark before a footnote fails to convert into ” Minimal example: * Heading Krusty the Klown opined, "Well, that's showbiz for ya."[fn:1] * Footnotes [fn:1] /The Simpsons/. Expected: Krusty the Klown opined, “Well, that’s showbiz f

Re: [O] HTML export doesn't convert quote before footnote

2014-01-08 Thread James Harkins
On Jan 8, 2014 11:33 PM, "Nicolas Goaziou" wrote: > Smart quotes mechanism is based on regexps. There are unavoidable > ambiguous cases, like this one. But the export is as expected in LaTeX, so... If the LaTeX backend can interpret the input properly, why not the html backend? hjh

Re: [O] HTML export doesn't convert quote before footnote

2014-01-08 Thread James Harkins
On Thursday, January 9, 2014 12:37:39 AM HKT, Nicolas Goaziou wrote: On Jan 8, 2014 11:33 PM, "Nicolas Goaziou" wrote: Smart quotes mechanism is based on regexps. There are unavoidable ambiguous cases, like this one. But the export is as expected in LaTeX, so... It isn't. Look at the LaTeX

Re: [O] HTML export doesn't convert quote before footnote

2014-01-08 Thread James Harkins
On Thursday, January 9, 2014 10:13:32 AM HKT, James Harkins wrote: OK, I'll work around it on my side. Continuing... I've tried to write a filter for this, but I'm stuck on choosing strings based on the backend name. (cdr (assoc (org-export-backe

Re: [O] HTML export doesn't convert quote before footnote

2014-01-10 Thread James Harkins
On Thursday, January 9, 2014 7:07:15 PM HKT, Nicolas Goaziou wrote: Hello, James Harkins writes: On Thursday, January 9, 2014 10:13:32 AM HKT, James Harkins wrote: ... That's because BACKEND is already a symbol, not a real back-end (i.e. a defstruct). Thus, you can use: (cdr

[O] [bug] Beamer export fails in current master

2014-01-10 Thread James Harkins
I just started to work on the issue of wrapping the title command in beamer export within a frame, but found that I can't export to Beamer at all in the master branch (after pulling just today). I can export this minimal example successfully if I check out release_8.2.4, but it fails in curren

Re: [O] Beamer title is (incorrectly?) outside of a frame

2014-01-10 Thread James Harkins
On Monday, December 23, 2013 4:25:50 PM HKT, Nicolas Goaziou wrote: > > James Harkins writes: > >> One question, though: How would I determine the LaTeX document class >> programmatically? > > > (plist-get info :latex-class) Patch attached. The patch is based on

[O] Fwd: [bug] Beamer export fails in current master

2014-01-11 Thread James Harkins
Sorry, gmail's "reply" by default includes only the sender, not the list... hjh -- Forwarded message ------ From: James Harkins Date: Sat, Jan 11, 2014 at 5:42 PM Subject: Re: [bug] Beamer export fails in current master To: Nicolas Goaziou On Sat, Jan 11, 2014 at 4

[O] Extract source code /with/ captions

2014-01-12 Thread James Harkins
I'm working on a set of Beamer presentations with a bunch of source code blocks. I would like to collect all the blocks into one text file per presentation, but I also need the captions and ideally a numeric index. That is, I'm *not* looking for the normal behavior of org-babel-tangle, which assem

Re: [O] Extract source code /with/ captions

2014-01-12 Thread James Harkins
On Monday, January 13, 2014 1:19:28 AM HKT, John Kitchin wrote: I think I have done something like that before. What I did was make it so each code block would be written out to a file, e.g. course-notes/script-%d.py and a link would be put in the exported pdf right after that block. I do not

[O] Using babel to generate org syntax for export

2014-01-13 Thread James Harkins
Hi, Got a question that's not easy to search online. I want to use an org table to define glossary entries for LaTeX. I have my table[1], and I have a src block[2] that reads the table and produces the right syntax[3]. This is already pretty helpful -- I can C-c C-c the source block and manua

Re: [O] Using babel to generate org syntax for export

2014-01-13 Thread James Harkins
On Jan 14, 2014 11:41 AM, "Eric Schulte" wrote: > Have you tried ":results raw" or ":results org", take a look at the > manual page on the results header argument. Missed that - thanks for the pointer. I looked pretty carefully at the page on "Evaluating code blocks," which says basically nothing

Re: [O] Fwd: [bug] Beamer export fails in current master

2014-01-17 Thread James Harkins
On Thursday, January 16, 2014 5:29:32 AM HKT, Nicolas Goaziou wrote: I see nothing wrong in that process. Can you still reproduce the error with latest Org? Quite strange. I just moved up to current master -- "Org-mode version 8.2.5f (release_8.2.5f-518-gd74205 @ /home/dlm/share/org-mode.git/l

Re: [O] Extract source code /with/ captions

2014-01-17 Thread James Harkins
Nick Dokos gmail.com> writes: > Try: > > --8<---cut here---start->8--- > (defun hjh-print-src-blocks () > "Iterate src blocks from org-element and print them to *Messages*." > (interactive) > (let ((tree (org-element-parse-buffer))) >(org-element-map t

Re: [O] Extract source code /with/ captions

2014-01-17 Thread James Harkins
For posterity, this is doing what I want. It's with some shock that I note, I'm actually starting to understand LISP. hjh (defun hjh-get-string-from-nested-thing (thing) "Peel off 'car's from a nested list until the car is a string." (while (and thing (not (stringp thing))) (setq thing

[O] Table sorting on two or more columns?

2014-01-18 Thread James Harkins
Is there an existing org function to sort a table based on more than one column? E.g., given: | Type | Term | Description | |--+---+--| | Filt | LPF | Butterworth lowpass filter | | Filt | HPF | Butterworth highp

Re: [O] Fwd: [bug] Beamer export fails in current master

2014-01-18 Thread James Harkins
On Jan 19, 2014 12:32 AM, "Nicolas Goaziou" wrote: > I cannot reproduce the problems. Something seems to go wrong with your > `avl-tree' library. Is it loaded properly? Do you use an old Emacs? I see -- so, when I said it's broken in my environment, the operative words are "in my environment." I

[O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread James Harkins
Just ran into something that I'm really not sure how to handle. I thought I could handle it with export filters, but actually it involves babel, and that makes it more involved than I initially suspected. I'm working on a large project involving five beamer presentations (one per day), and the

[O] #+include doesn't export anything?

2014-01-26 Thread James Harkins
eek, Day 1 \\ Introductory SC, Synthesis and Sequencing #+DATE: \today #+AUTHOR: H. James Harkins #+EMAIL: #+INCLUDE: "../slidehead.org" #+include: "../glossary.org" #+include: "./01-contents.org" ~~

Re: [O] #+include doesn't export anything?

2014-01-26 Thread James Harkins
On Monday, January 27, 2014 12:36:22 AM HKT, Nicolas Goaziou wrote: What happens if you call (org-export-expand-include-keyword) in that buffer? Are the resulting changes valid? (Aside: This was challenging at first, b/c org-export-expand-include-keyword is not interactive.) Ah... now I see

Re: [O] #+include doesn't export anything?

2014-01-26 Thread James Harkins
On Jan 27, 2014 12:52 AM, "Nicolas Goaziou" wrote: > See (info "(org) Include files"), in particular :minlevel keyword. Oh... RTFM *sheepish grin* Workflow for using org: 1. Ask/complain about something on the mailing list. 2. Get a reference to the manual. 3. Find out that org already does t

Re: [O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread James Harkins
On Monday, January 27, 2014 1:35:13 AM HKT, Eric Schulte wrote: Hi James, Maybe you could do something like the following... #+name: export-hdr-arg-backend-dep #+begin_src emacs-lisp (message "do stuff") #+end_src #+call: export-hdr-arg-backend-dep() :exports (if (eq org-export-current-backen

[O] org-element-map no-recursion argument?

2014-01-29 Thread James Harkins
I've written some emacs-lisp using org-element-map to iterate over source code blocks in an org buffer and insert them into another buffer, including a listing number and caption (so it's different from tangling). I was just trying to tweak it to ignore source code blocks in a comment section.

Re: [O] Insert TODO Item at Bottom

2014-03-13 Thread James Harkins
Esben Stien esben-stien.name> writes: > Hmm, to insert the subtree at the end of the parent subtree is not what > I needed. I need a way to insert the new TODO at the bottom of "inside" > the current node. > > F.ex take this tree: > > ** foo > *** TODO 1 > *** TODO 2 > *** TODO

Re: [O] Bad footnotes when including org files

2014-03-15 Thread James Harkins
Xavier Garrido gmail.com> writes: > > Hi Orgers, > > I am having some troubles with several org files that I want to include > into one general org file. To do that I use the #+INCLUDE: keywords and > actually, everything is working well until I add some footnotes in both > files. Let me sho

[O] HTML table export options essentially undocumented

2014-03-17 Thread James Harkins
The documentation here seems rather un-detailed. http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export What I wanted to do was to have vertical rules between all columns, but not horizontal rules. Neither this section of the documentation, nor the docstring for org-html-ta

Re: [O] HTML table export options essentially undocumented

2014-03-19 Thread James Harkins
On Mar 18, 2014 4:45 PM, "Nicolas Goaziou" wrote: > Did you try column groups? > > (info "(org) Column groups") > > It is not back-end specific. No, I hadn't... I was in a rush and trying to do something that I thought would be simple (and just a quick and dirty one-off export). Even given more

[O] Org is awesome

2014-03-21 Thread James Harkins
After 243 commits to a constellation of org files, producing 10849 lines of LaTeX code from the Beamer exporter, which render into 229 pages of beamerarticle print-ready material, including 156 captioned code listings (and a handful of un-numbered ones) and 27 pages of fully indexed glossary entrie

[O] HTML export is using the wrong browser

2014-03-23 Thread James Harkins
OK, org is awesome, but sometimes it drives you crazy. I have just lost an hour this morning trying to figure out how to convince HTML export to open the exported file in Firefox, rather than Chrome. I noticed that C-c C-e h o was running "sensible-browser," and after half an hour's completel

Re: [O] HTML export is using the wrong browser

2014-03-24 Thread James Harkins
On Mon, Mar 24, 2014 at 4:40 PM, Eric S Fraga wrote: > Off topic, sort of, but on Debian, as root: > > update-alternatives --config sensible-browser > > will allow you to change the default. In my case, this was not successful. http://ubuntuforums.org/showthread.php?t=2212948 As shown in this

Re: [O] Org is awesome

2014-03-24 Thread James Harkins
On Mar 22, 2014 3:52 PM, "Bastien" wrote: > > James Harkins writes: > > > After 243 commits to a constellation of org files, producing 10849 > > lines of LaTeX code from the Beamer exporter, which render into 229 > > pages of beamerarticle print-ready mater

Re: [O] Org is awesome

2014-03-24 Thread James Harkins
On Mar 25, 2014 3:05 AM, "chandan" wrote: > Can you please post a link to the sources? I would most probably use > it as a reference for generating different parts of any documents that > I would create. Not just yet. As I said in the email that you quoted, I'm working on a worg page to explain

[O] How to test a draft of a new worg page?

2014-03-29 Thread James Harkins
Hi, I just searched worg for "test a new worg file," but the results seemed irrelevant to my question, so... As promised, I'm writing up my workflow for the big workshop project. I've cloned worg, saved my (in progress) org file under exporters/beamer. Now I'd like to see what my page will l

Re: [O] org-babel, lilypond, & tables

2014-05-01 Thread James Harkins
Steven Arntson stevenarntson.com> writes: > I'm wondering if someone could tell me if this idea is impossible. I'm > trying to find a way to leverage org-tables in a document containing > lilypond markup for a piano part such that both staves occupy the same > line, visually (instead of the lefth

[O] Seeking advice on a worg contribution

2014-05-03 Thread James Harkins
least, display the captions slightly smaller.) Thanks, hjh#+TITLE: Using Beamer export to produce slideshows and article-style handouts from the same org source #+AUTHOR:James Harkins #+EMAIL: #+DATE: #+LANGUAGE: en #+OPTIONS: H:2 num:nil toc:t \n:nil ::t |:t ^:t -:t f:t *:t

Re: [O] Seeking advice on a worg contribution

2014-05-05 Thread James Harkins
On Tuesday, May 6, 2014 1:04:38 AM HKT, Eric S Fraga wrote: On Sunday, 4 May 2014 at 09:38, James Harkins wrote: I finally finished a draft (attached, and not carefully proofread yet) of a new worg page to outline what I had to do for a big Beamer publishing project. Interesting and very

Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread James Harkins
On May 6, 2014 6:15:35 PM Bastien wrote: The formatting looks fine to me! Please go ahead and push it on Worg. Ok! I guess I should add some links to the new page too? Propose a diff against this CSS: http://orgmode.org/worg/style/worg.css adding text properties (like font-size, for exam

Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread James Harkins
ut of steam, so I'll deal with the links and pushing the text tomorrow. hjh From 67961f8baa13318e846c6b09f38f779ae8665c90 Mon Sep 17 00:00:00 2001 From: James Harkins Date: Tue, 6 May 2014 22:35:10 +0800 Subject: [PATCH] Add class definition for label.org-src-name for source-block captions

[O] New worg page: Publishing beamer slideshows and articles from one source

2014-05-09 Thread James Harkins
Hi all, Some weeks ago, I wrote here about a large project (training materials for the SuperCollider audio/music programming language), written entirely in org using the Beamer exporter to produce both slideshows and an article-format book for the students to use as a reference. I just put a

Re: [O] New worg page: Publishing beamer slideshows and articles from one source

2014-05-13 Thread James Harkins
Suvayu Ali gmail.com> writes: > A couple of comments about formatting: the > first two footnotes might be better as links from the text. I propose > the attached patch. If you think this is fine, I'll push it. Sure, go ahead. hjh

[O] org-table: Reference *one* cell below a hline?

2014-05-29 Thread James Harkins
I have this: | Section | Seconds | |--+-| | Theme| 54 | | 12/8 | 80 | | 6/8 | 66 | | Clarinet | 116 | | Oboe | 89 | | Bassoon | 60 | |--+-| | | | #+TBLFM: @II+1$2=vsum(@I$2..@II$2) After calculation

<    1   2   3   4   >