Re: [O] Bug: Custom id taken into account with html, but not with markdown, exports [8.3.1 (8.3.1-123-g823cad-elpa @ /home/bitouze/.emacs.d/elpa/org-20150914/)]

2015-09-21 Thread Nicolas Goaziou
Hello, Denis Bitouzé writes: > BTW, do you agree with the other issue I reported: > > #+begin_src org > - A [[/rootsite/somepage/][(relative) page]]. > - A [[/rootsite/somepage][(relative) page]]. > #+end_src > > is exported as: > >

[O] funny bug if shifting scheduled items

2015-09-21 Thread Detlef Steuer
Hi all! Met this funny bug in the morning. (orgmode version: git from today) Given the file * Testappointment SCHEDULED: <2015-09-21 Mo 23:00-23:55> If I now shift the *starttime* using shift-uparrow the *endtime* goes to 24:00, 24:05 etc. If I keep shifting the *endtime* goes from 24:55

Re: [O] A book produced using Org

2015-09-21 Thread Grant Rettke
Thank you Vikas and Suvayu. Grant Rettke -- g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates “All creativity is an extended form of a joke.” --Kay ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop

[O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Rainer M Krug
Hi I have some code blocks which represent an sequence of fitting-analysis-plotting. But Sometimes I am loosing track which code blocks I have evaluated. Is it possible to set a timestamp (ur update it when it exists already) when a code block has been evaluated, so that I have e record when it

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Eric S Fraga
On Monday, 21 Sep 2015 at 14:46, Rainer M Krug wrote: [...] > Is it possible to set a timestamp (ur update it when it exists already) > when a code block has been evaluated, so that I have e record when it > was updated? Could you make use of the :post header argument to invoke emacs lisp and

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Rainer M Krug
Eric S Fraga writes: > On Monday, 21 Sep 2015 at 14:46, Rainer M Krug wrote: > > [...] > >> Is it possible to set a timestamp (ur update it when it exists already) >> when a code block has been evaluated, so that I have e record when it >> was updated? > > Could you make use

Re: [O] A book produced using Org

2015-09-21 Thread Vikas Rawal
> Where is your Emacs+OrgMode configuration file? > Have added details of my emacs setup to README.md in the repo. Vikas

Re: [O] [PATCH] ox-latex: Add scrartcl LaTeX class

2015-09-21 Thread Suvayu Ali
On Mon, Sep 21, 2015 at 11:45:08PM +0200, Rasmus wrote: > Nicolas Goaziou writes: > > > Sebastian Boehm writes: > > > >> I would like to propose adding the KOMA-script scrartcl class to the > >> list of supported ox-latex classes. scrartcl is

Re: [O] A book produced using Org

2015-09-21 Thread Suvayu Ali
On Mon, Sep 21, 2015 at 02:51:13PM -0500, Grant Rettke wrote: > Where is your Emacs+OrgMode configuration file? > > I want to see what it takes to compile using xelatex; utf8 support > seems like a great idea. Until recently, it used be just this: ;; remove "inputenc" from default packages as

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Rainer M Krug
Eric S Fraga writes: > On Monday, 21 Sep 2015 at 15:42, Rainer M Krug wrote: > > [...] > >> How can I put the time stamp in the line after the #+end_src or possibly >> even in the same line, as this does not seem to have an impact on the >> source block? > > Above my pay grade

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Eric S Fraga
On Monday, 21 Sep 2015 at 15:42, Rainer M Krug wrote: [...] > How can I put the time stamp in the line after the #+end_src or possibly > even in the same line, as this does not seem to have an impact on the > source block? Above my pay grade unfortunately ;-) Sorry. Hopefully one of the emacs

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Jorge A. Alfaro-Murillo
Rainer M Krug writes: Eric S Fraga writes: On Monday, 21 Sep 2015 at 14:46, Rainer M Krug wrote: [...] Is it possible to set a timestamp (ur update it when it exists already) when a code block has been evaluated, so that I have e record when it was updated? Could

Re: [O] Bug: Custom id taken into account with html, but not with markdown, exports [8.3.1 (8.3.1-123-g823cad-elpa @ /home/bitouze/.emacs.d/elpa/org-20150914/)]

2015-09-21 Thread Denis Bitouzé
Le 21/09/15 à 08h30, Nicolas Goaziou a écrit : > Hello, > > Denis Bitouzé writes: > >> BTW, do you agree with the other issue I reported: >> >> #+begin_src org >> - A [[/rootsite/somepage/][(relative) page]]. >> - A

Re: [O] A book produced using Org

2015-09-21 Thread Vikas Rawal
> > The publisher usually works with InDesign, but was willing to let me deal > with production of the print-ready PDF if I could meet her specifications. > > Properties of the PDF mentions both Emacs and org mode :-) :) > > How did you get MinionPro into LaTeX? > I use xelatex. Vikas

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread John Kitchin
Here is one approach: #+name: update-timestamp #+BEGIN_SRC emacs-lisp :var data="" (concat "Last run: " (format-time-string "[%Y-%m-%d %a %H:%M:%S]" (current-time)) "\n" data) #+END_SRC #+BEGIN_SRC python :post update-timestamp(data=*this*) print('hello') #+END_SRC #+RESULTS: : Last run:

Re: [O] A book produced using Org

2015-09-21 Thread Vikas Rawal
I have put the source files at https://github.com/vikasrawal/endingmalnutrition The repository does not contain the logo files and the cover files. These were not created in org. But everything else is there. Thanks everyone for all the

[O] org export outcomes differ from one attempt to the next

2015-09-21 Thread Eric S Fraga
Hello all, I'm pulling my hair out in frustration... I have a very large org file that comprises my lectures for a whole course. This org file makes extensive use of LaTeX and therefore has quite a number of latex_header directives. I have a very strange situation: if I start emacs, visit the

Re: [O] org export outcomes differ from one attempt to the next

2015-09-21 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > Actually, my settings are at the end of the whole 4000+ line file so I > am not sure what you are suggesting I try. If I delete the whole > settings subtree, the exports all result in the same LaTeX. However, > that is of no use to me,

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Grant Rettke
Might be nice to have properties attached to result blocks. That is a nice idea. Grant Rettke -- g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates “All creativity is an extended form of a joke.” --Kay ((λ (x) (x x)) (λ (x) (x x))) “Life has become

Re: [O] org export outcomes differ from one attempt to the next

2015-09-21 Thread Eric S Fraga
On Monday, 21 Sep 2015 at 20:21, Robert Klein wrote: > Hi, > > Eric S Fraga wrote: > >> Following up on my own post, I thought I would illustrate what I get. >> >> I've attached three screenshots: >> >> 1. a snippet from the org file where I have a number of latex_header >>

[O] Bug: The headers' anchors from custom ids should be at the beginning, and not at the end, of these headers [8.3.1 (8.3.1-129-ga7c8d2-elpa @ /home/bitouze/.emacs.d/elpa/org-20150921/)]

2015-09-21 Thread Denis Bitouzé
look at it but, from this point of view, I guess other exports are suboptimal as well. Emacs : GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 3.14.8) of 2015-06-29 on drums.chezmoi.fr Package: Org-mode version 8.3.1 (8.3.1-129-ga7c8d2-elpa @ /home/bitouze/.emacs.d/elpa/org-20150921/) current

[O] [PATCH] ox-latex: Add scrartcl LaTeX class

2015-09-21 Thread Sebastian Boehm
Hi Org mode devs, I would like to propose adding the KOMA-script scrartcl class to the list of supported ox-latex classes. scrartcl is one of the most popular "article" alternatives out there and it would be great to be able to pass org files using scrartcl to other Org mode users without having

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread John Kitchin
so picky ;) Maybe something like this will put that stamp in a comment that won't export. #+BEGIN_SRC emacs-lisp (defun j-add-ts () (save-excursion (re-search-forward "#\\+END_SRC") (forward-line) (beginning-of-line) (when (looking-at "# Last run:") (kill-line))

Re: [O] A book produced using Org

2015-09-21 Thread Grant Rettke
Where is your Emacs+OrgMode configuration file? I want to see what it takes to compile using xelatex; utf8 support seems like a great idea. Grant Rettke -- g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates “All creativity is an extended form of a

Re: [O] [PATCH] ox-latex: Add scrartcl LaTeX class

2015-09-21 Thread Nicolas Goaziou
Hello, Sebastian Boehm writes: > I would like to propose adding the KOMA-script scrartcl class to the > list of supported ox-latex classes. scrartcl is one of the most > popular "article" alternatives out there and it would be great to be > able to pass org files

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Rainer M Krug
John Kitchin writes: > Here is one approach: > > #+name: update-timestamp > #+BEGIN_SRC emacs-lisp :var data="" > (concat > "Last run: " > (format-time-string "[%Y-%m-%d %a %H:%M:%S]" (current-time)) > "\n" data) > #+END_SRC > > > #+BEGIN_SRC python :post

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread Rainer M Krug
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > Rainer M Krug writes: > >> Eric S Fraga writes: >> >>> On Monday, 21 Sep 2015 at 14:46, Rainer M Krug wrote: >>> >>> [...] >>> Is it possible to set a timestamp (ur update it when it exists already)

Re: [O] org export outcomes differ from one attempt to the next

2015-09-21 Thread Robert Klein
Hi, Eric S Fraga wrote: > Following up on my own post, I thought I would illustrate what I get. > > I've attached three screenshots: > > 1. a snippet from the org file where I have a number of latex_header > lines. two things: - if your org version is the one stated in

Re: [O] [PATCH] ox-latex: Add scrartcl LaTeX class

2015-09-21 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Sebastian Boehm writes: > >> I would like to propose adding the KOMA-script scrartcl class to the >> list of supported ox-latex classes. scrartcl is one of the most >> popular "article" alternatives out

Re: [O] Using the file as 1st level headline

2015-09-21 Thread Eric S Fraga
On Saturday, 19 Sep 2015 at 12:25, Suvayu Ali wrote: [...] > If you are using latex export, you should be able to get the above > structure to work with a custom latex-class. Here is an example: > > (add-to-list 'org-latex-classes >'("withtodos" "\\documentclass[11pt]{scrreprt}" >

Re: [O] All TODOs are equal, but some are more equal than others...

2015-09-21 Thread Eric S Fraga
On Sunday, 20 Sep 2015 at 13:54, Marcin Borkowski wrote: [...] > The problem is, I have two kinds of TODO items. Some of them are things > I should do ASAP (but not on a particular date, so they are not > timestamped), and some of them are just ongoing projects, or > articles/blog posts I want