Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Rainer M Krug
Marcin Antczak writes: > I've attached patch below, but I'm affraid that there is something wrong > with indentation. > I'm not sure if there is problem with my settings or just entire > ox-html.el is indented badly. > > I've been trying to indent file with the default parameters. > I started Ema

[O] How to setup this custom function with Org-mode functions? (org-habit)

2014-03-28 Thread stardiviner
I want to create a custom keybinding to custom function which will execute all necessary steps for creating an org habit. The bellowing is my code, but seems it doesn't work at all. I don't know how to write this custom function actually. (I just put some keybindings corresponding functions in th

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-28 Thread Francesco Pizzolante
Hi Marcin, > This is rather a workaround, but don't use Adobe Reader, use any other > PDF viewer instead. (IIRC, there's also a workaround that makes Adobe > Reader behave correctly, i.e. not lock the pdf file, but I can't find > it now. See here, for example: > http://stackoverflow.com/question

Re: [O] Space in Exported Text

2014-03-28 Thread Marcin Borkowski
Dnia 2014-03-26, o godz. 14:56:08 Ken Mankoff napisał(a): > > On 2014-03-26 at 14:32, Esben Stien wrote: > > If I f.ex make a beautiful table in org-mode: > > > > |-+-+---++-| > > | foo | bar | xyzzy | hukarz | | > > | qux |

[O] TODOs and birthdays

2014-03-28 Thread Sharon Kimble
I have a document called 'organiser.org' which is mainly comprised of various TODOs under various projects, and various NEXT under birthdays and hospital appointments. These TODOs can be up to 4 levels in depth, and with one level 1 TODO as the project header. How can all of these TODOs be included

Re: [O] [BABEL] BUG Re: Omitting try/catch blocks from tangled R code?

2014-03-28 Thread Rainer M Krug
bini55Rmu2tZs.bin Description: application/pgp-encrypted binZzbsrmcnDw.bin Description: Binary data

Re: [O] [BABEL] BUG Re: Omitting try/catch blocks from tangled R code?

2014-03-28 Thread Rainer M Krug
Eric Schulte writes: > Rainer M Krug writes: > >> Eric Schulte writes: >> >>> Rainer M Krug writes: >>> Eric Schulte writes: > Rainer M Krug writes: > >> Eric Schulte writes: >> >>> Charles Berry writes: >>> John Hendy gmail.com> writes:

Re: [O] No title in org-export-as-odt

2014-03-28 Thread Nicolas Goaziou
Hello, Miguel Ruiz writes: > If I try > > #+TITLE: This should remove the title line. Thank you for reporting it. Regards, -- Nicolas Goaziou

Re: [O] [RFC] Sloppy `org-element-context'?

2014-03-28 Thread Nicolas Goaziou
Hello, Rasmus writes: > Would it make sense to make it optional? I thought about it. But adding an optional argument to determine if `org-element-context' should be strict or sloppy doesn't help in practice, since one will probably often wonder if he needs to switch to sloppy mode or not. Also

Re: [O] Tasks with lots of logbook entries are very slow

2014-03-28 Thread Pere Quintana Seguí
El 26/03/14 09:31, Peter Neilson ha escrit: > On Wed, 26 Mar 2014 04:10:02 -0400, Pere Quintana Seguí > wrote: > >> El 25/03/14 19:27, Marcin Borkowski ha escrit: >>> Dnia 2014-03-25, o godz. 16:00:01 >>> Pere Quintana Seguí napisał(a): >>> I log most of my work with org-mode. Some of my ta

Re: [O] Tasks with lots of logbook entries are very slow

2014-03-28 Thread Pere Quintana Seguí
El 26/03/14 09:12, Pere Quintana Seguí ha escrit: > El 25/03/14 19:47, Achim Gratz ha escrit: >> I've long resorted to using two drawers back-to-back: > > That seems to be the most straightforward solution. I'll do that. > > Maybe org-mode could do this automatically. A variable would determine >

Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Marcin Antczak
Rainer M Krug writes: > Marcin Antczak writes: > [...] Is your response intentionally empty or am I missing something? Marcin

Re: [O] Unconditionally turn off Flyspell mode during export

2014-03-28 Thread Sebastien Vauban
Hello Nick and Bastien, Nick Dokos wrote: > Sebastien Vauban writes: >> >> I use Flyspell in all my text-mode and prog-mode buffers, hence as well >> in my Org mode buffers -- as they ultimately derive from Text mode. >> >> Though, as you can see, that has the perverse impact that Flyspell gets >>

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-28 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > Isn't `orgfile' equal to `org-babel-exp-reference-buffer' in > `org-latex-compile'? No, `org-babel-exp-reference-buffer' is a temporary buffer attached to no file. It cannot help to find original file. Regards, -- Nicolas Goaziou

Re: [O] TODOs and birthdays

2014-03-28 Thread Ian Barton
On 28/03/14 08:19, Sharon Kimble wrote: And for the birthday TODOs, how can I include the date of birth so that it shows their age please? Like - , | *** TODO Winnie Poohs birthday - is 83 | SCHEDULED: <2014-12-02 Tue> AGE: <1930-12-02> ` You can use the following expression for birt

[O] unset :no-expand for a subtree?

2014-03-28 Thread Rainer M Krug
Hi I am using , | :Properties: | :no-expand: TRUE | :END: ` for all my subtrees, except of one. So instead of specifying this for all subtrees, I would like to use , | #+PROPERTY: no-expand TRUE ` and in the one subtree, where I wand expansion, use something like , | :Prop

[O] Is there a way to change the home link and up link text when export to HTML?

2014-03-28 Thread KDr2
I want to change "UP | HOME " to "Archives | Categories" for my blog, but I do not know how to, for now I use javascript to change them after the page loading in browser... Thanks -- -- KDr2, http://kdr2.com

[O] emphasis borders, double quotes, and export

2014-03-28 Thread Alan Schmitt
Hello, I have removed the single and double quote characters from my configuration of the emphasis borders: #+begin_src emacs-lisp (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,") (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist)) #+end_src However, the latex export

Re: [O] org-agenda-do-date-late and emacs freeze

2014-03-28 Thread Igor Sosa Mayor
Am Thu, Mar 20, 2014 at 05:08:24PM +0100, Bastien schrieb: > Hi Matt and all, > > thanks a lot for the detailed investigation -- I revisited the > related problems and applied a fix. Please let me know if you > encoutner some glitches. thanks a lot. It seems to work perfectly! -- :: Igor Sosa

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-03-28 Thread Sebastien Vauban
Rick Frankel wrote: > BTW, i used "[ ]" for the unchecked box (we use the same for > checked and trans)... I think i'll change the unchecked box to > ☐ to match the checked box (same as sachua). Isn't it error-prone and very misleading to have 3 different states in the Org files, and just 2 differ

Re: [O] unset :no-expand for a subtree?

2014-03-28 Thread Rainer M Krug
Sebastien Vauban writes: > Rainer M Krug wrote: >> , >> | :Properties: >> | :no-expand: FALSE >> | :END: >> ` >> >> This obviously does not work, as :no-expand is still set. Is there a way >> of un-setting it for a subtree? > > An idea: setting it to nil? Untested... I *guess* it will s

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-28 Thread Sebastien Vauban
Nicolas Goaziou wrote: > Sebastien Vauban > writes: > >> Isn't `orgfile' equal to `org-babel-exp-reference-buffer' in >> `org-latex-compile'? > > No, `org-babel-exp-reference-buffer' is a temporary buffer attached to > no file. It cannot help to find original file. OK. From reading the docstring,

[O] :no-expand not working on variables?

2014-03-28 Thread Rainer M Krug
Hi shouldn't the following not give an error from R as it should not be expanding the variables? --8<---cut here---start->8--- #+PROPERTY: no-expand TRUE #+PROPERTY: var YEAR=2014 * a noexpand code #+begin_src R :results output :no-expand cat(YEAR) #+end_src

[O] [bug] Org-verbatim and org-code not converted into HTML tags

2014-03-28 Thread Sebastien Vauban
Hello, --8<---cut here---start->8--- When =:hlines yes=, strips horizontal lines from the input table. When ~:hlines yes~, strips horizontal lines from the input table. --8<---cut here---end--->8--- outputs the following HTM

Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Marcin Antczak
Rick Frankel writes: > On 2014-03-27 15:57, Marcin Antczak wrote: >> I've attached patch below, but I'm affraid that there is something >> wrong >> with indentation. >> I'm not sure if there is problem with my settings or just entire >> ox-html.el is indented badly. > > Unfortunately, ox-html is

Re: [O] Zotero: import HTML --> org syntax?

2014-03-28 Thread Ken Mankoff
On Fri, Mar 28, 2014 at 10:43 AM, Matt Price wrote: > Hi, > > so, in my ponderously slow efforts to figure out a decent citation > workflow for Org, I am trying for some modest integration with Zotero, > which is the tool my humanities colleagues are most likely to use. > > I keep all of the refe

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-03-28 Thread Rick Frankel
On 2014-03-28 10:01, Sebastien Vauban wrote: Rick Frankel wrote: BTW, i used "[ ]" for the unchecked box (we use the same for checked and trans)... I think i'll change the unchecked box to ☐ to match the checked box (same as sachua). Isn't it error-prone and very misleading to have 3 different s

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-03-28 Thread Sebastien Vauban
Rick Frankel wrote: >> Isn't it error-prone and very misleading to have 3 different states in >> the Org files, and just 2 different in the HTML exports? > > There *are* three different states in the exported file -- the > "transient" mode is for partially completed rollups: OK, excellent! Sorry

Re: [O] TODOs and birthdays

2014-03-28 Thread Ian Barton
On 28/03/14 16:02, Sharon Kimble wrote: Ian Barton writes: On 28/03/14 08:19, Sharon Kimble wrote: And for the birthday TODOs, how can I include the date of birth so that it shows their age please? Like - , | *** TODO Winnie Poohs birthday - is 83 | SCHEDULED: <2014-12-02 Tue> AGE: <193

Re: [O] emphasis borders, double quotes, and export

2014-03-28 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > Looking a little deeper into this, it seems to be a regression. I had > files with things like ~'a list~ that exported correctly a couple weeks > ago that no longer export correctly. This should be fixed. Thank you. Regards, -- Nicolas Goaziou

Re: [O] TODOs and birthdays

2014-03-28 Thread Sharon Kimble
Ian Barton writes: > On 28/03/14 08:19, Sharon Kimble wrote: > >> >> And for the birthday TODOs, how can I include the date of birth so that it >> shows >> their age please? Like - >> , >> | *** TODO Winnie Poohs birthday - is 83 >> | SCHEDULED: <2014-12-02 Tue> AGE: <1930-12-02> >> ` >>

[O] org-agenda-custom-command for property AND TODO state (for a cooking guide :) )

2014-03-28 Thread Xebar Saram
Hi all i was wondering if anyone knew how to set a org-agenda-custom-command for property AND TODO state? that is create a custom view that is similar to this sparse tree command: C-c / M type="main"/COOK where it would match on type=main and have a COOK todo keyword best Z P.S in case anyo

Re: [O] :no-expand not working on variables?

2014-03-28 Thread Rainer M Krug
Sebastien Vauban writes: > Rainer M Krug wrote: >> shouldn't the following not give an error from R as it should not be >> expanding the variables? >> >> #+PROPERTY: no-expand TRUE > > I guess this should be: > > #+PROPERTY: no-expand yes Nope - the same. Rainer > > Best regards, > Seb --

Re: [O] [bug] Org-verbatim and org-code not converted into HTML tags

2014-03-28 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > When =:hlines yes=, strips horizontal lines from the input table. > > When ~:hlines yes~, strips horizontal lines from the input table. > > outputs the following HTML: > > When =:hlines yes=, strips horizontal lines from the input > table. > > When ~:hlines ye

Re: [O] emphasis borders, double quotes, and export

2014-03-28 Thread Alan Schmitt
Nicolas Goaziou writes: > Hello, > > Alan Schmitt writes: > >> Looking a little deeper into this, it seems to be a regression. I had >> files with things like ~'a list~ that exported correctly a couple weeks >> ago that no longer export correctly. > > This should be fixed. Thank you. I confirm

Re: [O] emphasis borders, double quotes, and export

2014-03-28 Thread Alan Schmitt
Alan Schmitt writes: > Hello, > > I have removed the single and double quote characters from my > configuration of the emphasis borders: > > #+begin_src emacs-lisp > (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,") > (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist))

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-03-28 Thread Rick Frankel
On 2014-03-27 04:43, Nicolas Goaziou wrote: Hello, Grant Rettke writes: Sacha Chua made a nice hack to export checkboxes as unicode symbols to HTML here: http://sachachua.com/blog/2014/03/emacs-tweaks-export-org-checkboxes-using-utf-8-symbols/?shareadraft=baba27119_533313c944f64 (defun sacha

[O] How to get rid of clocktable summary time in the form "2d 02:00"

2014-03-28 Thread Buddy Butterfly
Hi, I would like to have the summary times in a clocktable be displayed only in hours, like 48:00 instead of 2d. Or, is it possible to define that 1d corresponds to 8:00 as a working day? So in the above example I would rather like to see 5d (workingdays) corresponding to 40:00. Clocktable counts

Re: [O] :no-expand not working on variables?

2014-03-28 Thread Sebastien Vauban
Rainer M Krug wrote: > shouldn't the following not give an error from R as it should not be > expanding the variables? > > #+PROPERTY: no-expand TRUE I guess this should be: #+PROPERTY: no-expand yes Best regards, Seb -- Sebastien Vauban

Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Rick Frankel
On 2014-03-27 15:57, Marcin Antczak wrote: I've attached patch below, but I'm affraid that there is something wrong with indentation. I'm not sure if there is problem with my settings or just entire ox-html.el is indented badly. Unfortunately, ox-html is indented with a combination of tabs and

Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Marcin Antczak
Rick Frankel writes: > On 2014-03-28 11:16, Marcin Antczak wrote: >> Rick Frankel writes: >> >> On 2014-03-27 15:57, Marcin Antczak wrote: >> I've attached patch below, but I'm affraid that there is something >> wrong >> with indentation. >> I'm not sure if there is problem with my settings or ju

Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Rick Frankel
On 2014-03-28 11:16, Marcin Antczak wrote: Rick Frankel writes: On 2014-03-27 15:57, Marcin Antczak wrote: I've attached patch below, but I'm affraid that there is something wrong with indentation. I'm not sure if there is problem with my settings or just entire ox-html.el is indented badly. Un

[O] Zotero: import HTML --> org syntax?

2014-03-28 Thread Matt Price
Hi, so, in my ponderously slow efforts to figure out a decent citation workflow for Org, I am trying for some modest integration with Zotero, which is the tool my humanities colleagues are most likely to use. I keep all of the references for my courses in a Zotero database. When generating a syll

Re: [O] Zotero: import HTML --> org syntax?

2014-03-28 Thread Rick Frankel
On 2014-03-28 10:43, Matt Price wrote: Hi, (1) is there already an HTML "import" function that I just don't know about? Have you looked at pandoc: http://johnmacfarlane.net/pandoc/ rick

Re: [O] A problem with publishing

2014-03-28 Thread Rick Frankel
On 2014-03-28 00:44, Marcin Borkowski wrote: Dnia 2014-03-26, o godz. 09:26:15 Rick Frankel napisał(a): On 2014-03-23 17:01, Marcin Borkowski wrote: BTW, org-publish has built-in support for pushing to a remote server. You can use a tramp url as the publishing-directory, bypassing the completio

Re: [O] unset :no-expand for a subtree?

2014-03-28 Thread Sebastien Vauban
Rainer M Krug wrote: > , > | :Properties: > | :no-expand: FALSE > | :END: > ` > > This obviously does not work, as :no-expand is still set. Is there a way > of un-setting it for a subtree? An idea: setting it to nil? Untested... Best regards, Seb -- Sebastien Vauban

[O] bug#16751: 24.3.50; Export during Org export to HTML

2014-03-28 Thread Nicolas Goaziou
Hello, Bastien writes: > If someone wants to work on this, help is welcome. > Let's keep the bug open in the meantime. Unless I'm mistaken, the following patch should fix the issue. Regards, -- Nicolas Goaziou >From 4d62387fe035d9aa3d1dc96d12d40c53dca2afe5 Mon Sep 17 00:00:00 2001 From: Ni

[O] Chapter headings

2014-03-28 Thread Steven Arntson
Hello, I'm a beginning org-mode user. I'm writing a book with many chapters, each chapter as a top-level header (*). Is there a way to assign chapter numbers automatically, such that I might get a result along the lines of: * 1. This is a chapter containing thousands of words. * 2. This is the n

Re: [O] Chapter headings

2014-03-28 Thread Nick Dokos
Steven Arntson writes: > Hello, I'm a beginning org-mode user. > > I'm writing a book with many chapters, each chapter as a top-level > header (*). Is there a way to assign chapter numbers automatically, such > that I might get a result along the lines of: > > * 1. This is a chapter containing th

Re: [O] Chapter headings

2014-03-28 Thread Steven Arntson
Nick Dokos writes: > There are probably many ways to do that, but I want to invert the > question: *why* do you want chapter numbers in your org file? > I would argue that they are a bad idea in the vast majority of cases. > > Nick I'm just accustomed to seeing them in my working drafts. Perhaps

Re: [O] Space in Exported Text

2014-03-28 Thread Sam Flint
<#part sign=pgpmime> You know, at this point, I'm surprised no-one has mentioned org-mime. It works great, and let's you use tables, and just about any feature. foo bar quux 1 2 3 4 5 6 – Sam Flint swfl...@flintfam.org freenode: swflint sip:swfl...@ekiga.net XMPP: swfl...

[O] Proposal to replace the prefix repetition with whitespace during expansion of noweb references

2014-03-28 Thread Pontus Michael
I would like to propose a change to the behavior of noweb expansion in relation to prefix handling. Current behavior intends to insert the text preceding noweb reference before every successive line of referenced code. For instance the expansion of following source block: #+begin_src emacs-lisp :

[O] Images in tables?

2014-03-28 Thread Peter Davis
I'm finishing a PDF document that will contain a number of screen shots. I'd like to put them in a table to avoid just having them arranged vertically on the page. Is there a way to do that? Specifically, I'm using #+ATTR_LATEX: :height 6cm to set the heights of the images. Can that work wi

Re: [O] Chapter headings

2014-03-28 Thread Alan Tyree
Unless you have the structure of your book set in stone, numbers just get in your way. The great power of org is being able to write 'modularly' and rearrange at will. When you export, your chapter/section numbers will be right as well as all cross references. I think you'll be happier to ignore

Re: [O] Chapter headings

2014-03-28 Thread Steven Arntson
Back in my mac-user days I used a program called "Scrivener" that would renumber chapters on the fly if I dragged them to new positions. I think I was missing that functionality a little, but now that I think about it, I shouldn't miss it. It didn't add anything. My next project will be to learn mo

Re: [O] TODOs and birthdays

2014-03-28 Thread Eric Abrahamsen
Sharon Kimble writes: > I have a document called 'organiser.org' which is mainly comprised of various > TODOs under various projects, and various NEXT under birthdays and hospital > appointments. These TODOs can be up to 4 levels in depth, and with one level 1 > TODO as the project header. How ca

Re: [O] Images in tables?

2014-03-28 Thread Feng Shu
Peter Davis writes: > I'm finishing a PDF document that will contain a number of screen > shots. I'd like to put them in a table to avoid just having them > arranged vertically on the page. Is there a way to do that? #+MACRO: p \includegraphics[scale=1]{$1} | {{{p(a.png)}}} | {{{p(b.png)}}}

Re: [O] mobile-org http links not recognized on iPhone

2014-03-28 Thread Chris Henderson
If my link is like: [[http://orgmode.org]] - MobileOrg's view as document mode doesn't recognize this as a valid link. It only does that if the link is in [[link][description]] format. Is there any way around this? Thanks. On Tue, Mar 18, 2014 at 3:26 AM, Sean Escriva wrote: > > Chris Henderson

[O] Reference to org-drawers in the manual

2014-03-28 Thread Nick Dokos
Section 15.6, "Summary of in-buffer settings", contains a reference to org-drawers which if I'm not mistaken no longer exists: `#+DRAWERS: NAME1 ...' Set the file-local set of additional drawers. The corresponding global variable is `org-drawers'. -- Nick