"Footnote" section line spacing is weird

2023-08-19 Thread James Harkins
Org-mode 9.5.2 (packaged with Ubuntu 22.04). I've noticed this for awhile -- wondering if this has changed in a more recent version. Let's say I have, at the bottom of a document: ``` * Footnotes [fn:..] lorem ipsum... ``` Somewhere else in the document, I do C-c C-x f. Then I see: ```

Re: One-stop shop for ALL org faces size?

2023-08-09 Thread James Harkins
On Wed, 09 Aug 2023 15:38:55 +0800 James Harkins wrote --- > So anyway... what I would like to do is to set something, preferably in one > place, and have ALL org faces follow suit. How to do this? Or, is it > impossible? Erm... as often happens, moments after sending, I found

One-stop shop for ALL org faces size?

2023-08-09 Thread James Harkins
A while back, I configured Emacs' default face to use the Inconsolata font slightly smaller than how it appeared at first. (It shows up in .emacs as ":height 98" -- what is 98, I'm not sure.) Now the trouble is, =verbatim segments= appear slightly larger than the text around it. As it's a

Re: "Indent headline data" is indenting non-headline-data

2023-04-29 Thread "James Harkins"
On Thu, 27 Apr 2023 09:30:13 +0800 Ruijie Yu wrote --- > Reproducible in built-in Org (9.5.5 release) from Emacs 28.2, but > unreproducible in latest Org main branch (release_9.6.4-329-g466a37). > So, assuming that this indeed is a bug, it has been fixed, but the fix > is not present in

"Indent headline data" is indenting non-headline-data

2023-04-26 Thread "James Harkins"
I just discovered a strange auto-indentation behavior. Org 9.5.2. I'm currently using org to draft a paper. I have set org-adapt-indentation to "adapt indentation for headline data lines." Now I have (just stealing some body text): ``` * Headline When this variable is set to ‘headline-data’,

Bug: ODT export of Chinese text inserts spaces for line breaks

2021-06-28 Thread James Harkins
Consider the following org document. * Test 1本人不想亲自拿到学历学位证书、急于离校者,可书面委托他人代领学历学位证 书,29日起即可离校;2本人想亲自领取学历学位证书者,按学校规定的程序及有关 要求办理离校手续,领取相关证书后离校; This was produced by pasting in a single, long line, and then using alt-Q (a normal thing to do, and good for readability, because org-mode doesn't wrap

Re: Org agenda to Android calendar without Google Calendar in the middle

2021-03-08 Thread James Harkins
Peter Hardy: > An alternative Android app that you might like to look at is Orgzly Hm, I think I'll start here. Good tip, thanks! hjh

Re: [O] Equivalent of timeline?

2019-06-29 Thread James Harkins
On June 29, 2019 06:45:51 Samuel Wales wrote: i was going to code the following, and documented it first, but cannot code it. maybe it will be of smoe use in thinking about the problem. Sure, those are good tips. Much appreciated! I don't mind taking it from there (though I probably can't

[O] Equivalent of timeline?

2019-06-28 Thread James Harkins
I recently had to make a document listing my professional activities (lectures and performances). Items are dated. I would like to see an overview of them, sorted by date. In the past I would have used a Timeline agenda for this, but that's no longer possible.

Re: [O] ODT export --> opening in Okular?

2018-12-11 Thread James Harkins
On Tue, 11 Dec 2018 01:00:15 +0800 wrote > Check your ~/.mailcap and/or /etc/mailcap file as well: there are indeed > many twisty passages through org-open-file, so you may end up calling > whatever the system has set up (correctly or not). > Nick Aha, that was the answer.

Re: [O] ODT export --> opening in Okular?

2018-12-09 Thread James Harkins
On Mon, 10 Dec 2018 07:25:13 +0800 briangpowell wrote > * Suggest you try changing this: > > ("\\.odt\\'" . "libreoffice6.0 %s" > * To this instead: > > ("\\.odt\\'" . "libreoffice %s" > --since "libreoffice6.0" is a specific link that is subject to change--not > only by

[O] ODT export --> opening in Okular?

2018-12-09 Thread James Harkins
Hi, I realize I'm running an older version of org-mode (8.3.3), but things are working for me generally and I'm not in a position to monkey around with my environment right now. Anyway, something strange. A few months ago, I was able to export to ODT and the file would open in LibreOffice.

Re: [O] Incorrect references to LaTeX Listings

2018-01-10 Thread James Harkins
On Tue, 09 Jan 2018 20:35:37 +0800 Eric S Fraga wrote > Check org-latex-prefer-user-labels. OK, this works for me, thanks. FWIW, org-latex-prefer-user-labels eluded me in the documentation. Now that you pointed me to it, I see the reason for the change, but I

[O] Incorrect references to LaTeX Listings

2018-01-09 Thread James Harkins
I have several org documents containing source code listings, with references such as the following: ``` * Section #+name: codeblock #+caption: Hello, world. #+BEGIN_SRC C // Hello, world #+END_SRC Reference to [[codeblock]]. ``` I've been doing this for years, never had any problem. Today, I

Re: [O] Deadline warning period, and property to override it

2017-11-20 Thread James Harkins
On Mon, 20 Nov 2017 15:50:58 +0800 Eric S Fraga <esfli...@gmail.com> wrote > On Sunday, 19 Nov 2017 at 10:54, James Harkins wrote: > > 2. Is there a property to override the warning period for specific > > headlines? For example, if I have a project due on a cer

[O] Deadline warning period, and property to override it

2017-11-19 Thread James Harkins
Hi, Two questions about deadline items in the agenda. 1. The default warning period for upcoming deadlines is 14 days. There must be a variable to control this, but I'm having trouble finding it in the manual. 2. Is there a property to override the warning period for specific headlines? For

Re: [O] function for inserting a block

2017-11-09 Thread James Harkins
One more vote in favor of not removing my own use, I added Anyway, just an opinion. "<" macros save me tons of time with ox-latex markup. I like them. hjh Sent with AquaMail for Android http://www.aqua-mail.com

Re: [O] Beamer_act property is misnamed in org-mode Ubuntu package

2017-09-27 Thread James Harkins
On September 27, 2017 14:03:06 Eric S Fraga <esfli...@gmail.com> wrote: On Wednesday, 27 Sep 2017 at 11:53, James Harkins wrote: Hi, There seems to be a mistake in the org-mode Ubuntu 16.02 packages. For beamer, if I C-c C-x p to add a property, one of the predefined o

[O] Beamer_act property is misnamed in org-mode Ubuntu package

2017-09-26 Thread James Harkins
Hi, There seems to be a mistake in the org-mode Ubuntu 16.02 packages. For beamer, if I C-c C-x p to add a property, one of the predefined options is: :BEAMER_act(Act): 1 But it should be :BEAMER_act: 1 The former is ignored in the generated LaTeX. The latter produces a correct

[O] org-after-todo-statistics-hook vs checkboxes

2017-09-24 Thread James Harkins
Hi, Some time ago, I wanted an item's TODO state to update automatically based on the [/] statistics cookie: (defun hjh-org-summary-todo (n-done n-not-done) "Switch entry to DONE when all subentries are done, to TODO otherwise." (let (org-log-done ; turn off logging org-log-states

Re: [O] Sibling visibility when accessing an item from the agenda

2017-09-16 Thread James Harkins
On Sat, 16 Sep 2017 15:30:52 +0800 Nicolas Goaziou wrote > Does customizing `org-show-context-detail' fix your issues? Hi, Thanks, it would have taken me quite some time to find that. The default was "ancestors." Changing it to "local" works well for me.

Re: [O] Sibling visibility when accessing an item from the agenda

2017-09-15 Thread James Harkins
> What is the setting to control the visibility of the 4th-level siblings here? > > How I got to this point: > > - All headings collapsed (only top-level visible) > - Go to the agenda week view > - Put the cursor on the entry for "Elec. 2a 01" and hit return. A bit of poking around, and

Re: [O] Sibling visibility when accessing an item from the agenda

2017-09-15 Thread James Harkins
Sorry, I had meant to attach a screenshot. Here it is. James On Sat, 16 Sep 2017 09:47:45 +0800 James Harkins <jamshar...@zoho.com> wrote > Hi, > > What is the setting to control the visibility of the 4th-level siblings here? > > How I got to this point:

[O] Sibling visibility when accessing an item from the agenda

2017-09-15 Thread James Harkins
Hi, What is the setting to control the visibility of the 4th-level siblings here? How I got to this point: - All headings collapsed (only top-level visible) - Go to the agenda week view - Put the cursor on the entry for "Elec. 2a 01" and hit return. The catch is... my school requires me to

Re: [O] Flattening references in ODT export

2017-09-10 Thread James Harkins
On Sun, 10 Sep 2017 04:18:08 -0400 Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote > > On Sat, 09 Sep 2017 05:06:24 -0400 James Harkins > > <jamshar...@zoho.com> wrote > >> I guess next I'm going to try to hack ox-odt.el... > > >

Re: [O] Flattening references in ODT export

2017-09-09 Thread James Harkins
On Sat, 09 Sep 2017 05:06:24 -0400 James Harkins <jamshar...@zoho.com> wrote > I guess next I'm going to try to hack ox-odt.el... Hm, that's going to be too complicated. So I suppose my only other option is to make an SVG for every code example, and include only images

Re: [O] Flattening references in ODT export

2017-09-09 Thread James Harkins
On Fri, 08 Sep 2017 23:52:33 -0400 James Harkins <jamshar...@zoho.com> wrote > Is there a way to have "figure" references in ODT exports be simply a flat > list? > > Meaning -- I would like "Example 1," "Example 2," etc. (or "Fig

[O] Flattening references in ODT export

2017-09-08 Thread James Harkins
Hi, Is there a way to have "figure" references in ODT exports be simply a flat list? Meaning -- I would like "Example 1," "Example 2," etc. (or "Figure," doesn't really matter). With "num:nil," "Listing 1," "Listing 2," "Listing 3," but there is also a figure, which becomes "Figure 1." So

[O] ODT export of SVG image, wrong size properties

2017-09-07 Thread James Harkins
Hi, I am exporting a document to ODT, including a small SVG image. #+name: Notation1 #+caption: Transcription into Western notation of an example pattern string. #+attr_odt: :width 6.88 :height 1.87 [[./notated-example.svg]] The frame properties, however, do not respect the given size

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-20 Thread James Harkins
On August 20, 2017 18:13:13 Nicolas Goaziou wrote: Out of curiosity, instead of creating a new style, wouldn't some standard style be enough, e.g., "Text_20_body_20_indent"? Also, what happens in the following cases - ... #+begin_quote Quoted

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-20 Thread James Harkins
On Sat, 19 Aug 2017 07:55:00 -0400 Nicolas Goaziou wrote > OK. So could you tell me what should be the style name? > > Do we need to add it to some style file somewhere? If so, what would be > its definition? OK, I just got the expected output by the

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-19 Thread James Harkins
On Sat, 19 Aug 2017 04:36:58 -0400 Nicolas Goaziou wrote > Adding a special style to every paragraph contained in a plain list is > very easy to do. Just let me know if it happens to be the way to solve > the issue at hand. I think that is the correct

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-17 Thread James Harkins
On Thu, 17 Aug 2017 10:33:29 -0400 Nicolas Goaziou wrote > So, what style-name should have the inner paragraph? If it is a new > style, what would be its definition? > > It's not difficult to check, upon exporting a paragraph, if it belongs > to a

[O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-16 Thread James Harkins
Hi, haven't been active here for a while (which is a good thing -- it means I haven't had any problems worth mentioning!). Now I have one -- ODT export encodes list items as a list-item containing a "text:p": blah blah When LibreOffice reads this, it applies indentation settings from

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

[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

[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

[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 did C-c

Re: [O] Comment on Org Export Reference

2015-03-06 Thread James Harkins
On March 6, 2015 7:21:50 PM Nicolas Goaziou m...@nicolasgoaziou.fr wrote: James Harkins jamshar...@qq.com 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

[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

[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 jamshar...@qq.com 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

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

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

[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

[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

Re: [O] closing column mode for beamer export

2015-02-12 Thread James Harkins
Eric S Fraga e.fraga at 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

Re: [O] closing column mode for beamer export

2015-02-11 Thread James Harkins
Larrabee Strow strow at 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] Hidden files from beamer export, not cleaned up by org

2014-12-02 Thread James Harkins
Nick Dokos ndokos at gmail.com writes: Somewhere but probably not in org - it can't clean up what it does not know about. What system is this? Does this have anything to do with http://en.wikipedia.org/wiki/Filesystem_in_Userspace perhaps? That's probably it. I set up my machine to

[O] SCHEDULED in a comment line is not ignored by sparse-tree

2014-12-02 Thread James Harkins
This appears to be buggy behavior, but I'm asking here first in case it might already have been fixed. A couple of months ago, I was trying to create a repeating timestamp for two different days of the week. First I tried a diary-sexp, but that wasn't compatible with habits, so I gave that up.

[O] Hidden files from beamer export, not cleaned up by org

2014-12-01 Thread James Harkins
I've just noticed -- after exporting an org file using the beamer backend, two hidden files are left in the directory. They both contain LaTeX code, so I'm quite sure they're coming from the export. .fuse_hidden01c1: ~~ \relax \providecommand\hyper@newdestlabel[2]{}

[O] Beamer export, file-link format

2014-11-23 Thread James Harkins
I'm using org + beamer, and I've put in some links like this: \href{media/something.mp3}{Listen: Something} I want Listen: Something to appear in another color. LaTeX is steadfastly refusing to do this: all links appear in the normal document font and color. Hyperref is invoked in the preamble

[O] Documentation for NOBLOCKING property?

2014-11-22 Thread James Harkins
Just now, I needed to exempt a couple of subtrees from TODO dependency blocking. I found that you can do this by setting a subtree property NOBLOCKING. This option appears to be undocumented (by which I mean, it isn't mentioned in the manual's dependency checking page, and a web search for

[O] org-mobile-pull leaves a messed-up sparse tree display

2014-11-12 Thread James Harkins
Attached to this e-mail, please find an image of the appearance of one of my org buffers after doing org-mobile-pull. Before the pull, I collapsed all the subtrees (S-TAB once). The pull added some new nodes. The nodes appear to be filed correctly. But, it looks like org is trying to do some

Re: [O] Repeated teaching classes and stopping date

2014-11-11 Thread James Harkins
Rasmus rasmus at gmx.us writes: Also check `org-clone-subtree-with-time-shift'. FWIW, I always create a separate subtree, with a single timestamp, for every class session. Advantages: - Individual status for each session: DONE, POSTPONED or CANCELED. - If a single class in a series needs to

[O] Hook after handling repeating TODO?

2014-11-04 Thread James Harkins
Is there a hook that runs after a TODO state change triggers a repeat? I have a few weekly tasks that I've set up as habits. These refer to scheduled lessons. I have the idea that it would be pretty cool to include in the habit entry a link pointing to the next lesson. When I mark the habit

Re: [O] M-S-up/down on plain lists containing text (or multilevel lists)

2014-11-03 Thread James Harkins
Nicolas Goaziou mail at nicolasgoaziou.fr writes: Both `M-S-up' and `M-S-down' work line wise and ignore any structure around point. OTOH, `M-up' and `M-down' should do what you want. BTW the name of the menu item is misleading. C-h C-k M-S-up: ~~ It is bound to M-S-up, menu-bar Org Edit

Re: [O] M-S-up/down on plain lists containing text (or multilevel lists)

2014-11-03 Thread James Harkins
At Mon, 03 Nov 2014 13:48:56 +0100, Nicolas Goaziou wrote: James Harkins jamshar...@qq.com writes: BTW the name of the menu item is misleading. C-h C-k M-S-up: ~~ It is bound to M-S-up, menu-bar Org Edit Structure Move Subtree Up, menu-bar Tbl Row Delete Row. What improvement are you

[O] M-S-up/down on plain lists containing text (or multilevel lists)

2014-11-02 Thread James Harkins
In plain lists, if there is indented text underneath a list item, is it considered to belong to the list item, or is it just freestanding text? I'm asking because M-S-up/down doesn't take indented text into account. These commands only move the line marked with a list-item indicator (- etc.).

Re: [O] M-S-up/down on plain lists containing text (or multilevel lists)

2014-11-02 Thread James Harkins
On November 2, 2014 4:25:53 PM Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Actually, it isn't. This is a feature. Both `M-S-up' and `M-S-down' work line wise and ignore any structure around point. OTOH, `M-up' and `M-down' should do what you want. Ah, OK... It would be a bug if there were

Re: [O] after-todo-statistics hook for checkboxes

2014-10-17 Thread James Harkins
At Fri, 17 Oct 2014 22:22:20 +0200, Nicolas Goaziou wrote: This is because checkboxes (plain lists) are not related to TODO keywords (headlines). There are TODO statistics cookies and checkbox statistics cookies. Only the former run a hook once updated. Thanks for clarifying. I hadn't

Re: [O] after-todo-statistics hook for checkboxes

2014-10-16 Thread James Harkins
At Thu, 16 Oct 2014 18:39:46 +0200, Nicolas Goaziou wrote: `org-todo-statistics-hook' is used for TODO (i.e. headlines) and `org-checkbox-statistics-hook' is used for checkboxes (i.e. lists). I see no bug here (although they aren't called with the same arguments, but that's another story).

[O] after-todo-statistics hook for checkboxes

2014-10-15 Thread James Harkins
org-after-todo-statistics-hook allows you to do something to a node after its statistics cookie got updated. Unfortunately, it does this only for TODO subheadings and it doesn't work with checkboxes. Use case: Grading assignments. Each assignment is a subheading. Each student's work for that

Re: [O] after-todo-statistics hook for checkboxes

2014-10-15 Thread James Harkins
On Wed, 15 Oct 2014 19:08:31 +0800 James Harkins jamshar...@qq.com wrote: org-after-todo-statistics-hook allows you to do something to a node after its statistics cookie got updated. Unfortunately, it does this only for TODO subheadings and it doesn't work with checkboxes. (snip) Actually

Re: [O] after-todo-statistics hook for checkboxes

2014-10-15 Thread James Harkins
On October 15, 2014 9:45:32 PM Nicolas Goaziou m...@nicolasgoaziou.fr wrote: See also org-checklist.el in contrib/. Ok, I'll have a look. Not at my computer now. I do think this issue qualifies as a bug (albeit minor). The real behavior deviates from the documentation (in a way that's

Re: [O] Sharing: Agenda skip function to remove future-scheduled items

2014-10-14 Thread James Harkins
Sebastien Vauban sva-news@... writes: I use the following (tricky) settings, which should do what you have in mind, if I'm not mistaken: #+begin_src emacs-lisp ;; Don't show scheduled entries in the global `todo' list. (setq org-agenda-todo-ignore-scheduled 'future) ;; Don't

[O] org-habit for multiple arbitrary days in a week

2014-10-13 Thread James Harkins
I have a task that I want to track using org-habit. I've spent about an hour looking through the manual and other sites, but so far the problem remains intractable. With org-habit, it's easy to track something that should be done on one particular day of the week: .+1w. It appears not to be

Re: [O] org-habit for multiple arbitrary days in a week

2014-10-13 Thread James Harkins
At Mon, 13 Oct 2014 17:56:04 +0200, Nicolas Goaziou wrote: ** TODO Update lesson gradesheet :Comp: SCHEDULED: 2014-10-13 Mon +1w SCHEDULED: 2014-10-17 Fri +1w You can't. This is invalid Org syntax (only one scheduled keyword per entry).

[O] Sharing: Agenda skip function to remove future-scheduled items

2014-10-13 Thread James Harkins
I often ask questions, or complain about things (or both at the same time), so it's nice to share something. I was making a block agenda, splitting up tasks by location (loosely inspired by GTD). But I realized that I didn't want to see items that are scheduled for the future, because this is

Re: [O] [ox-latex] How to force ALL captions below their referents?

2014-10-03 Thread James Harkins
On Thu, 02 Oct 2014 18:54:20 +0200 Nicolas Goaziou m...@nicolasgoaziou.fr wrote: You mean moving `org-latex-table-caption-above' to `org-latex-caption-above' and making sure every block complies to the variable? Sorry for the late reply. I wasn't feeling quite well yesterday. Something like

[O] [ox-latex] How to force ALL captions below their referents?

2014-10-02 Thread James Harkins
I'm struggling a bit with caption placement in LaTeX export. In the document I'm working on now, I have: - Image links, exported as floating figures (by inclusion of a caption). ox-latex places the caption at the end of the figure environment, so the caption appears below the image. #+name:

Re: [O] Selected export depending on back-end

2014-09-15 Thread James Harkins
Lars Tveito larstvei at ifi.uio.no writes: I am writing a compendium in org, and want to be able to generate slides from the same org file. I'd like to be able to mark some sections for exporting if I'm generating slides, and for other formats (like LaTeX and HTML) export everything as

Re: [O] Do not export single newlines to latex

2014-06-09 Thread James Harkins
Alexander Baier alexander.baier at mailbox.org writes: I am writing a document for which my main export target is latex. To obtain reasonable diffs wrt version control systems, I use one line per sentence in addition to =visual-line-mode= as was mentioned in this post last November

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

2014-06-04 Thread James Harkins
On Friday, May 30, 2014 7:50:39 PM HKT, Bastien wrote: James Harkins jamshar...@gmail.com writes: I have this: | Section | Seconds | |--+-| | Theme| 54 | | 12/8 | 80 | | 6/8 | 66 | | Clarinet | 116 | | Oboe | 89 | | Bassoon | 60

Re: [O] DTD prohibited

2014-06-02 Thread James Harkins
Bastien bzg at gnu.org writes: Hi Alexander, AW alexander.willand at t-online.de writes: Now, Word no longer can open the html-documents produced by orgmode. The error message is (translated from German): DTD prohibited. You may want to customize `org-html-doctype' but you

[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

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

2014-05-13 Thread James Harkins
Suvayu Ali fatkasuvayu+linux at 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] 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

Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread James Harkins
On May 6, 2014 6:15:35 PM Bastien b...@gnu.org 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

Re: [O] Seeking advice on a worg contribution

2014-05-06 Thread James Harkins
, 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 jamshar...@dewdrop-world.net Date: Tue, 6 May 2014 22:35:10 +0800 Subject: [PATCH] Add class definition for label.org-src-name for source

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

[O] Seeking advice on a worg contribution

2014-05-03 Thread James Harkins
that? (At 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] org-babel, lilypond, tables

2014-05-02 Thread James Harkins
Steven Arntson steven at 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

[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

Re: [O] Org is awesome

2014-03-24 Thread James Harkins
On Mar 25, 2014 3:05 AM, chandan chandanrm...@gmail.com 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

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 e.fr...@ucl.ac.uk 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

Re: [O] Org is awesome

2014-03-24 Thread James Harkins
On Mar 22, 2014 3:52 PM, Bastien b...@gnu.org wrote: James Harkins jamshar...@gmail.com 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 material, including 156

[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 completely

[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

Re: [O] HTML table export options essentially undocumented

2014-03-19 Thread James Harkins
On Mar 18, 2014 4:45 PM, Nicolas Goaziou n.goaz...@gmail.com 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

[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

Re: [O] Bad footnotes when including org files

2014-03-15 Thread James Harkins
Xavier Garrido xavier.garrido at 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.

Re: [O] Insert TODO Item at Bottom

2014-03-13 Thread James Harkins
Esben Stien b0ef at 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 3

[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

[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

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

2014-01-26 Thread James Harkins
\\ 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 n.goaz...@gmail.com 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

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-backend

[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

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 n.goaz...@gmail.com 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

  1   2   3   4   >