Re: [O] DTD prohibited

2014-06-02 Thread James Harkins
Bastien gnu.org> writes: > > Hi Alexander, > > AW 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 probably need to >

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 writes: I have this: | Section | Seconds | |--+-| | Theme| 54 | | 12/8 | 80 | | 6/8 | 66 | | Clarinet | 116 | | Oboe | 89 | | Bassoon | 60

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

2014-06-09 Thread James Harkins
Alexander Baier 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 http://thread.gmane.org

[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. But

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 y

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. Apparen

[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. https://www.reddit.com/r/orgmode/

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 d

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

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 list item or not: (org-elem

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 solution. (Again, only one pa

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

2017-08-19 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 following: - Add "OrgListTex

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 paragraph #+end_quote

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

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

Re: [O] Flattening references in ODT export

2017-09-09 Thread James Harkins
On Fri, 08 Sep 2017 23:52:33 -0400 James Harkins 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 "Figure," doesn&#x

Re: [O] Flattening references in ODT export

2017-09-09 Thread James Harkins
On Sat, 09 Sep 2017 05:06:24 -0400 James Harkins 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. Or hack the xml by

Re: [O] Flattening references in ODT export

2017-09-10 Thread James Harkins
On Sun, 10 Sep 2017 04:18:08 -0400 Nicolas Goaziou wrote > > On Sat, 09 Sep 2017 05:06:24 -0400 James Harkins > > wrote > >> I guess next I'm going to try to hack ox-odt.el... > > > > Hm, that's going to be too complicated.

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

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 wrote > Hi, > > What is the setting to control the visibility of the 4th-level siblings here? > > How I got to this point: > > - All heading

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 I

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. I'm puzzled because, for y

[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

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

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 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 options is: :BEAMER_act(Act): 1 I

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

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

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 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 certain date, a > > t

[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] 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 wouldn't have guessed

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

2023-04-26 Thread &quot;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’, O

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

2023-04-29 Thread &quot;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 you

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 progr

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

"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: 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

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 li

<    1   2   3   4