[O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-02 Thread James Harkins
Just wondering if anyone out there has some magic code snippets that will automatically bring in data from a LibreOffice spreadsheet during HTML export. I think I could save, by hand, the required worksheets out of the ods file into separate CSVs, and then write an emacs-lisp Babel block to impo

Re: [O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-02 Thread James Harkins
At Tue, 02 Jul 2013 19:49:43 +0530, Jambunathan K wrote: > M-x org-odt-convert RET > > or > > (org-odt-convert ..) Is this valid for .ods, or only .odt? The file is from LibreOffice Calc, not Writer. I made a quick test and got only "failed." From the Messages, I can see it's using a head

Re: [O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-02 Thread James Harkins
At Tue, 02 Jul 2013 20:40:40 +0530, Jambunathan K wrote: > Works here for simple files. > > M-: (org-odt-convert "file.ods" "csv") > > Executing libreoffice4.0 --headless --convert-to csv --outdir > /home/kjambunathan/ /home/kjambunathan/file.ods > convert /home/kjambunathan/file.ods ->

Re: [O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-09 Thread James Harkins
At Wed, 03 Jul 2013 10:35:51 +0800, James Harkins wrote: > Anyway, I'm not convinced that org-odt-convert would meet my needs anyway. It > will have to be a multi-worksheet file, and I'll have to extract just one or > two of the worksheets. The macro might be the way to go. I

Re: [O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-17 Thread James Harkins
At Wed, 10 Jul 2013 09:20:25 +0530, Jambunathan K wrote: > James Harkins writes: > > > I found a utility, unoconv[1], which I can persuade to produce a > > tab-separated export of the first worksheet of an ODS document. > > FYI, unoconv is an option provided by `o

Re: [O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-18 Thread James Harkins
At Thu, 18 Jul 2013 14:49:16 +0530, Jambunathan K wrote: > 1. Give me a sample worksheet. Attached. > 2. Give me the specific unoconv command that you used for converting the >worksheet. unoconv -f csv -i 9,34,system,1,1/5/2/1/3/1/4/1 html-table.ods Maybe the filename needs a full path, not

Re: [O] Use babel to import table data from OpenDocument spreadsheets?

2013-07-18 Thread James Harkins
At Fri, 19 Jul 2013 00:32:44 +0530, Jambunathan K wrote: > I don't want to venture in to Babel. > > I don't want to experiment with unoconv either. I have a non-official > libreoffice installed. Pulling in official unoconv will interfere with > my working installation. Fair enough. > For your

[O] [bug?] org-latex-table-caption-above has no effect

2013-07-23 Thread James Harkins
Not entirely sure if this is a bug or not, but it seems to be a regression. According to [1], the customization variable org-latex-table-caption-above was added to allow table captions to come underneath the table. I can't see any indication that the variable has been deprecated, but in my envir

Re: [O] [bug?] org-latex-table-caption-above has no effect

2013-07-23 Thread James Harkins
At Tue, 23 Jul 2013 18:44:04 +0200, Nicolas Goaziou wrote: > James Harkins writes: > > > According to [1], the customization variable > > org-latex-table-caption-above was added to allow table captions to > > come underneath the table. I can't see any indication t

[O] "ignoreheading" for non-beamer export

2013-07-25 Thread James Harkins
Hi, I found an inventive solution by Suvayu to discard headlines from export here [1], but the 8.0+ solution throws an error in my environment. (defun sa-ignore-headline (contents backend info) "Ignore headlines with tag `ignoreheading'." (when (and (org-export-derived-backend-p backend 'late

[O] LaTeX export: {} on separate lines are escaped, why?

2013-07-27 Thread James Harkins
Just wondering if there's a better way to handle LaTeX commands written inline, when the command arguments span a line break. Currently, LaTeX export preserves curly braces as is if a pair of them is on a single line, but it escapes them if there's a line break in between: ~~ org Sections may b

[O] orgmode.org is missing a link to the split HTML manual

2013-08-11 Thread James Harkins
Is there a reason why the org-manual's index is not linked from the head orgmode.org page? Under orgmode.org/#docs, the link to the HTML manual is http://orgmode.org/org.html, which downloads the entire contents of the manual into the browser. This is perhaps tolerable on a full-size computer,

Re: [O] Worg: Links to parent nodes?

2013-08-12 Thread James Harkins
On Aug 12, 2013 1:39 PM, "Carsten Dominik" wrote: > > On 2.5.2013, at 13:56, James Harkins wrote: > >> Apologies if this has been asked already. I just noticed that, e.g., the ox-beamer.html page [1] has no links to its parent nodes. So for fun, I hacked the url to go b

[O] Buffer-specific export filter?

2013-08-20 Thread James Harkins
Is it possible to apply a specific filter during export for one org document, but not others? Basically, a buffer-specific export filter. It appears in the org manual that the hook needs to be added into e.g. org-export-filter-plain-text-functions, where it remains globally for the duration of

Re: [O] Buffer-specific export filter?

2013-08-20 Thread James Harkins
Suvayu Ali gmail.com> writes: > 1. Is it possible to set filters as buffer local? Okay the help string >says: "This variable may be risky if used as a file-local variable.", >so I guess the answer is no. > > 2. Otherwise you could have used a lisp source block in the buffer. You >c

[O] Problem writing my first export filter

2013-08-20 Thread James Harkins
Referring to [1]: I just tried the following, so that I could maintain a list of special cases where org's default latex export doesn't do what I want. (setq hjh-org-latex-macros '(("`em" "'em"))) (defun hjh-latex-filter-macros (text backend info) "hjh: Replace special cases listed in hjh-org

Re: [O] Buffer-specific export filter?

2013-08-21 Thread James Harkins
On Aug 21, 2013 3:41 PM, "Nicolas Goaziou" wrote: > In that case, you should disable smart quotes, which are not smart > enough for your use case. Note that they are not enabled by default. That's reasonable, but irritating while I'm still editing. I'm certain I'll leave some ASCII double quotes

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

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] Inverse matching with '/' in agenda view?

2012-04-19 Thread James Harkins
om agenda command every time I want a different set of tags. (Not so interactive.) Any tips? Thanks! James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal.&quo

Re: [O] Inverse matching with '/' in agenda view?

2012-04-19 Thread James Harkins
At Thu, 19 Apr 2012 07:16:34 -0400, Bernt Hansen wrote: > / - TAB Docs RET Oh, that's great. I missed that one. Thanks! James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted

[O] Navigating in sparse view from agenda?

2012-04-22 Thread James Harkins
find that item because it isn't visible. I suppose I can enable org-show-siblings by default, but it would be nice if I could reveal only the specific sibling that I want. Thanks, James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "C

Re: [O] Beamer confusion: environments are ignored

2012-04-25 Thread James Harkins
At Wed, 25 Apr 2012 12:30:59 +0930, Eric Fraga wrote: > > James Harkins writes: > > > (Sorry for breaking the thread -- I'm using the digest. Come to think > > of it, I was wondering -- how do other digest readers participate in > > discussions without messi

Re: [O] [beamer] When are :BEAMER_envargs: used or ignored?

2012-04-25 Thread James Harkins
half of the documentation I want to contribute to SuperCollider [2]), but I can't help feeling something is missing here. James [1] http://orgmode.org/manual/Beamer-class-export.html#Beamer-class-export [2] http://supercollider.sourceforge.net -- James Harkins /// dewdrop world ja

Re: [O] [beamer] When are :BEAMER_envargs: used or ignored?

2012-04-25 Thread James Harkins
At Wed, 25 Apr 2012 18:09:18 +0800, James Harkins wrote: > > Whether it should be a feature request or not is debatable. The syntax > > is, at present, fairly straightforward in that the headline text becomes > > the argument to the environment defined. > > I think "

Re: [O] [beamer] When are :BEAMER_envargs: used or ignored?

2012-04-26 Thread James Harkins
dered favourably and maybe somebody would > take it up and implement it. No promises, however! ... but the elegance of that approach would be debatable, I suppose. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, S

[O] To-do dependencies per-file or per-subtree?

2012-06-17 Thread James Harkins
Hi, I see that I can set org-enforce-todo-dependencies, but this is a global setting. Is it possible to have one org file with dependencies and another without? Or by subtree? Thanks. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come

Re: [O] To-do dependencies per-file or per-subtree?

2012-06-17 Thread James Harkins
NOBLOCKING properties to modify/override this > setting in individual subtrees. > > I don't know of a way to set this per file. OK, great! That should be enough for me. These properties do not appear to be documented at present. Or, if they are, the explanation is extremel

[O] MobileOrg on an Android tablet?

2012-07-12 Thread James Harkins
Is anyone using MobileOrg for android on a tablet? More specific question -- is the android version just a phone app that will get blown up onto the tablet screen, or will it use the extra screen space on a tablet? Thanks, James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net

[O] mobile-org, webdav, can't push (password not accepted)

2012-07-14 Thread James Harkins
e's a pop-up window for the OpenSSH password, but again, if I type the exact same password I used with "sudo htpasswd," it fails to authenticate. Note again that it is *not* a general webdav problem -- I can authenticate by other methods, but whatever org is doing to log in, it

Re: [O] MobileOrg on an Android tablet?

2012-07-14 Thread James Harkins
> From: Luis Anaya > > Is anyone using MobileOrg for android on a tablet? > > I am... Vizio table running Honeycomb. Cool... I'm almost running it. Just got an Asus transformer tab. I posted a question separately about push problems :-( so I'm not there yet. > It is the android version a phone

Re: [O] mobile-org, webdav, can't push (password not accepted)

2012-07-14 Thread James Harkins
At Sat, 14 Jul 2012 12:05:16 -0400, James Harkins wrote: > > Hi, I need a little help with mobile-org and webdav. (I need to use webdav > because I live year-round in China, and the last time I tried, dropbox was > not accessible from the mainland. In any case, I prefer to k

Re: [O] mobile-org, webdav, can't push (password not accepted)

2012-07-14 Thread James Harkins
At Sat, 14 Jul 2012 18:47:33 -0400, James Harkins wrote: > - So I thought, okay, how about synchronizing to the tablet's calendar? > Unfortunately, it seems that MobileOrg ignores timestamps in item headlines. > The item has to have either a scheduled time or a deadline. So

[O] Year or Month Agenda view without empty days

2012-07-15 Thread James Harkins
Blueberry fest :Trip2012:: *Maybe* include "Monday 16 July 2012 W29" for the week number. Then in M-org, I would know if I expand a day, that there's something inside. Possible? The "customize" interface reveals no settings that would seem to apply. hjh -- James

<    1   2   3   4   >