Re: [O] Quick question

2015-05-31 Thread Fabrice Popineau
Oh ... thanks: `org-id-find' is perfect!

I'm playing with
https://github.com/bateast/google-calendar
which allows to fetch your google calendars in quite a robust way (or so it
seems).
The next step for me is to allow to sync google calendar entries even after
they have been refiled
(hence the need to find them by their id)
I'm not that skillful with the internals of org-mode and a bit lost in all
the functions.
Maybe someone will beat me in pushing this google-calendar thing further ;-)

Fabrice

2015-05-31 17:10 GMT+02:00 Eric Abrahamsen e...@ericabrahamsen.net:

 Fabrice Popineau fabrice.popin...@gmail.com writes:

  Hi,
 
  I'm doing a little bit of elisp and I was wondering
  what is the easiest way to find an element (say a header)
  with a given id among the list of all agenda files?
  I know I can use org-element-map, but is there
  a faster or easier way ?
 
  Thanks,
 
  Fabrice

 Do you mean searching for an actual header ID property? That's provided
 for with `org-id-find' and `org-id-goto'. Or did you mean some other
 kind of id?

 Eric





-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] [OT] djvu?

2015-05-31 Thread Thierry Banel
Off topic, but, interesting question anyway.

You can compress pictures taken by your phone.
A shrinking of 2 or 4, or more can be obtained with no visible difference.
You can also collect a set of pictures in a single djvu album.
The viewer (djview) is able to zoom very fast.

Unfortunately neither Djvu nor Jpeg2000 have replaced Jpeg.

Emacs is able to display djvu.

 --

To create an album, just do that:
c44 -percent 40 imgp_001.jpg
c44 -percent 40 imgp_002.jpg
c44 -percent 40 imgp_003.jpg
...
djvm -c album.djvu imgp_001.djvu imgp_002.djvu imgp_003.djvu ...
djview album.djvu


Le 31/05/2015 12:41, Martin Schöön a écrit :
 Anyone using djvu?
 http://en.wikipedia.org/wiki/DjVu
 http://www.djvu.org/

 Just curious.

 -- 
 Martin Schöön

 http://hem.bredband.net/b262106/index.html




[O] Hiding stars for Item column from columnview

2015-05-31 Thread Joon Ro
Hi,
I'm using the great columnview feature a lot to generate dynamic tables. When I 
use %Item column, the generated table shows the stars in front of each 
heading.I used to not include Item in columns, and added additional property 
for the name for each heading to avoid this.
However, I need to use :skip-empty-rows t to skip headings without any 
properties corresponding to the columns, and it depends on using Item column. 
Is there a way to not show stars for Item column in columnview tables? 
Best,Joon
  

Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-31 Thread Titus von der Malsburg

On 2015-05-31 Sun 03:01, Xebar Saram wrote:
 Thanks so much everyone for these great replies. i will investigate this
 further today and let everyone know how im going with my transition :)

 thanks again

 PS: Titus, do you think  that the helm-bibtex APA style reference list
 could be user customizable in the future?

Depends on what you mean by customizable.  If you mean a customization
option to allows you to replace the function for APA formatting with
another function, then yes that would definitely make sense.

  Titus


 Z.

 On Sat, May 30, 2015 at 6:56 PM, John Kitchin jkitc...@andrew.cmu.edu
 wrote:



 On Saturday, May 30, 2015, Titus von der Malsburg malsb...@posteo.de
 wrote:


 On 2015-05-30 Sat 01:20, Xebar Saram wrote:
  Hi all
 
  i have been using jabref for the past 2-4 years in my academia work to
  manage my reference library. i dont use latex (..its on my TODO
 list...when
  (f ever) i have time..) so for now i just want something to manage my
  references. the key things i need to move over from jabref are:

 Author of helm-bibtex here.

  1. easy add references

 Helm-bibtex doesn’t deal with this because I prefer to edit my BibTeX
 file by hand.  BibTeX retrieved from journals is almost always messy and
 I need to edit it anyway.  It’s not too hard, though: I click on BibTeX
 export on the journal page, the BibTeX file is opened in Emacs, I fix
 it, and use a command that appends it to my bibliography.

 However, I think org-ref has tools that do more to support importing new
 entries and org-ref combines well with helm-bibtex.


 Org-ref has doi-utils that let you add bibtex entries and download PDFs
 from a doi or crossref query.



  2. a way to quick filter references (helm bibtex seems like a good
 solution)

 That’s what helm-bibtex was written to solve.

  3. filter lists based on tags/keywords (orgmode has that covered)

 In helm-bibtex you can also search for keywords and tags.

  4. this one is important: a way to quickly export selected references in
  word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

 helm-bibtex can generate references in APA style but as far as I can see
 Chicago style is very similar, so it shouldn’t be hard to add support
 for that.

  anyone uses such a system in emacs/org and can recommend the way to
  go?

 For more details, see: https://github.com/tmalsburg/helm-bibtex

   Titus



 --
 John

 ---
 Professor John Kitchin
 Doherty Hall A207F
 Department of Chemical Engineering
 Carnegie Mellon University
 Pittsburgh, PA 15213
 412-268-7803
 @johnkitchin
 http://kitchingroup.cheme.cmu.edu






signature.asc
Description: PGP signature


Re: [O] Quick question

2015-05-31 Thread Eric Abrahamsen
Fabrice Popineau fabrice.popin...@gmail.com writes:

 Hi,

 I'm doing a little bit of elisp and I was wondering
 what is the easiest way to find an element (say a header)
 with a given id among the list of all agenda files?
 I know I can use org-element-map, but is there 
 a faster or easier way ?

 Thanks,

 Fabrice

Do you mean searching for an actual header ID property? That's provided
for with `org-id-find' and `org-id-goto'. Or did you mean some other
kind of id?

Eric




[O] Problems Setting Properties

2015-05-31 Thread Edward Guyatt

Hello,

When I try to set a property in my planner file (15005 lines to go wrong 
:P), I get an error message. Here is the backtrace from saying C-c C-x p 
(org-set-property) on any heading.


Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  org-buffer-property-keys(nil t t)
  org-read-property-name()
  org-set-property(nil nil)
  call-interactively(org-set-property nil nil)
  command-execute(org-set-property)

I get the same result saying C-c C-c s at a property drawer.

I have tried to narrow it down to a specific point by deleting big 
parts. I couldn't narrow it down: if I deleted some parts it would 
behave normally and if I deleted parts containing said parts it would 
give the error.


I've only experienced this recently after upgrading from Debian Wheezy 
to Jessie, so from org-mode 7.8.11-1 to 8.2.10-1.


Thanks in advance,

Ed



Re: [O] orgmode to markdown

2015-05-31 Thread Nicolas Goaziou
Hello,

flow adolf...@sindominio.net writes:

 I would like to ask you about how org-mode exports title and headlines
 to markdow

 org-mode to markdown doesn't export title as md heading one # and
 org-mode heading one as heading one but heading two

 I think it should work as org-mode to html:

 org-mode title to md heading one #
 org-mode heading one * to md heading two (##)

 What do you think about it?

ox-md supports Setext-type headlines, which are limited to 2 levels.
Using a title as the first level leaves only one level for regular
headlines.

Also, it doesn't solve the problem of author, date and email, which do
not appear either in the output. I think they are part of the same
problem: (vanilla) markdown has no real support for meta-data.


Regards,

-- 
Nicolas Goaziou



Re: [O] Problems Setting Properties

2015-05-31 Thread Nicolas Goaziou
Hello,

Edward Guyatt edwardguy...@gmx.co.uk writes:

 When I try to set a property in my planner file (15005 lines to go
 wrong :P), I get an error message. Here is the backtrace from saying
 C-c C-x p (org-set-property) on any heading.

 Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
   org-buffer-property-keys(nil t t)
   org-read-property-name()
   org-set-property(nil nil)
   call-interactively(org-set-property nil nil)
   command-execute(org-set-property)

 I get the same result saying C-c C-c s at a property drawer.

The backtrace is missing steps. Could you reload Org uncompiled and
reproduce it?

 I've only experienced this recently after upgrading from Debian Wheezy
 to Jessie, so from org-mode 7.8.11-1 to 8.2.10-1.

Could you try development version of Org, i.e. 8.3-beta?


Regards,

-- 
Nicolas Goaziou



[O] [BUG] org-collector.el broken by 8.3 beta

2015-05-31 Thread Charles Millar

Not sure if I should have reported this again sooner than this.

As I reported on April 18th

org-collector works as expected using

GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5)
of 2015-03-07 on binet, modified by Debian
Org: 8.2.10 release_8.2.10

but fails if

GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5)
of 2015-03-07 on binet, modified by Debian
Org: 8.3beta release_8.3beta-1030-g65bbb1

now version

Org-mode version 8.3beta release_8.3beta-1191-g9e1591



Re: [O] org-use-property-inheritance not working?

2015-05-31 Thread Nicolas Goaziou
Rainer M Krug rai...@krugs.de writes:

 Looking at my example, it seems that the variable
 org-use-property-inheritance has no impact on the header arguments,
 i.e. no properties are inherited. So it seems that there is a bug, or a
 severe misunderstanding on my side what property inheritance means.

 From the help of the variable:

 ,
 | When nil, only the properties directly given in the current entry count.
 | When t, every property is inherited.  The value may also be a list of
 | properties that should have inheritance, or a regular expression matching
 | properties that should be inherited.
 `

 Reading this, and the fact that I get the same properties irrespective
 if I set org-use-property-inheritance to t or nil, I would assume that
 there is something not correct or consistent.

I think you are confused with property accumulation. However property
inheritance predates this feature and totally ignores it.

Inheritance is an answer to the question what should I do if the
property I'm looking for doesn't exist in the entry?. IOW, it only
kicks in, if at all, when property is /not found/ in current entry.

In your example, the property you're looking for is defined in every
entry, including the current one. Per above, Org doesn't even try to use
inheritance, and doesn't look at `org-use-property-inheritance'.


Regards,



Re: [O] help with custom exporter

2015-05-31 Thread Stephen J. Barr
Thank you for the help. I think I can start hacking something together now
that will do what I want it to do.



Stephen J. Barr
PhD Student, Operations Management
Dept: Information Systems and Operations Management (ISOM)
Michael G. Foster School of Business
University of Washington
Phone:  425 516 5012
Email: stev...@uw.edu
Twitter: @stevejb
Website: http://steve.planetbarr.com


On Sat, May 30, 2015 at 5:00 PM, Nicolas Goaziou m...@nicolasgoaziou.fr
wrote:

 Hello,

 Stephen J. Barr stev...@uw.edu writes:

  I am trying to modify ox-md.el. I do not know too much emacs lisp so
 please
  bear with me.
 
  Hypothetically, if I want to modify the exporter to add a THIS DOCUMENT
  BY:  at the beginning, could I do:
 
  (defun org-md-template (contents info)
Return complete document string after Markdown conversion.
  CONTENTS is the transcoded contents string.  INFO is a plist used
  as a communication channel.
(concat THIS DOCUMENT BY:  (plist-get info :author) \n contents)
  )
 
 
  However, I get an error:
 
  org-md-template: Wrong type argument: characterp, #(Stephen
 
  What is the output type of plist-get? Not a string?

 :author contains a secondary string. You need to turn it into the string
 with, e.g., `org-export-data'.

 Regards,

 --
 Nicolas Goaziou



Re: [O] [Bug] ~Verbatim~ in headlines breaks LaTeX

2015-05-31 Thread Nicolas Goaziou
Titus von der Malsburg malsb...@posteo.de writes:

 Huh, ~code~ is translated to \verb and =verbatim= is translated to
 \texttt (plus escaping of some special characters)?

Correct.

 If \verb is used at all, shouldn’t it be generated by =verbatim=
 instead of by ~code~?

Why is that? Because \verb reminds =verbatim=? Really, both code and
verbatim syntax produces verbatim contents. Therefore both are
eligible for \verb.

Anyway, you can customize `org-latex-text-markup-alist' to your liking.

 Note that we could do better anyway and switch command depending on
 context.

 Yes, I suppose anything is better than producing malformed LaTeX.

Could you give the list of all contexts requiring such a switch, and
what the result should be in each case?

Thank you.


Regards,



[O] orgmode to markdown

2015-05-31 Thread flow
Hi

I would like to ask you about how org-mode exports title and headlines
to markdow

org-mode to markdown doesn't export title as md heading one # and
org-mode heading one as heading one but heading two

I think it should work as org-mode to html:

org-mode title to md heading one #
org-mode heading one * to md heading two (##)

What do you think about it?

Best

-- 
La tradición de los oprimidos nos enseña que la regla es el «estado de
excepción» en el que vivimos. Walter Benjamin, Tesis de Filosofía de la
historia



signature.asc
Description: This is a digitally signed message part


[O] [OT] djvu?

2015-05-31 Thread Martin Schöön
Anyone using djvu?
http://en.wikipedia.org/wiki/DjVu
http://www.djvu.org/

Just curious.

-- 
Martin Schöön

http://hem.bredband.net/b262106/index.html


[O] Bug: Markdown backend does not appear in export dispatcher [8.2.10 (8.2.10-41-g42228a-elpa @ /Users/gastove/.emacs.d/elpa/org-20150525/)]

2015-05-31 Thread Ross Donaldson
--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hallo!

Recently started encountering a very strange thing: the `markdown`
backend no longer appears in my export dispatcher. The other four I have
listed (html, deck, ascii, and beamer) all appear; further, I can call the
org-md-export functions directly using M-x. They're clearly being
loaded, and behave perfectly normally. Even if the only two backends I
configure are markdown and html, only html will appear in the dispatcher
as an option.

Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org
Package: Org-mode version 8.2.10 (8.2.10-41-g42228a-elpa @ 
/Users/gastove/.emacs.d/elpa/org-20150525/)

current state:
==
(setq
 org-export-backends '(html markdown deck ascii beamer)
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-latex-classes '((beamer \\documentclass[presentation]{beamer}
  (\\section{%s} . \\section*{%s})
  (\\subsection{%s} . \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s}))
 (article \\documentclass[11pt]{article}
  (\\section{%s} . \\section*{%s})
  (\\subsection{%s} . \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s})
  (\\paragraph{%s} . \\paragraph*{%s})
  (\\subparagraph{%s} . \\subparagraph*{%s}))
 (report \\documentclass[11pt]{report} (\\part{%s} . 
\\part*{%s})
  (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . 
\\section*{%s})
  (\\subsection{%s} . \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s}))
 (book \\documentclass[11pt]{book} (\\part{%s} . 
\\part*{%s})
  (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . 
\\section*{%s})
  (\\subsection{%s} . \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s}))
 )
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-log-done t
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-startup-folded nil
 org-export-with-section-numbers nil
 org-export-with-toc nil
 org-export-with-sub-superscripts nil
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-todo-keyword-faces '((TODO . org-todo) (DOING . org-todo) (BLOCKED . 
org-warning)
  (CANCELLED . org-done) (IMPOSSIBLE . org-done)
  (DONE . org-done))
 org-startup-indented nil
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-from-is-user-regexp \\Ross Donaldson\\
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(org-bindings (lambda nil (turn-on-auto-fill)) text-settings
 #[nil \300\301!\207 [run-hooks prelude-org-mode-hook] 2]
 er/add-org-mode-expansions
 #[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append local]
   5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-refile-targets '((org-agenda-files :maxlevel . 3))
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-hide-inline-tasks org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-refile-allow-creating-parent-nodes 'confirm
 org-todo-keywords '((sequence TODO(t) DOING(o) | DONE(d))
 (sequence BLOCKED(b) | UNBLOCKED (u) CANCELLED(c) 
IMPOSSIBLE(i)))
 org-hide-emphasis-markers t
 

Re: [O] Bug: Markdown backend does not appear in export dispatcher [8.2.10 (8.2.10-41-g42228a-elpa @ /Users/gastove/.emacs.d/elpa/org-20150525/)]

2015-05-31 Thread Ross Donaldson
Finally figured it out:

The backend is called md.

Dang.

...keep up the good work.

On Thu, May 28, 2015 at 11:24 PM, Ross Donaldson gast...@gmail.com wrote:

 --

 Remember to cover the basics, that is, what you expected to happen and
 what in fact did happen.  You don't know how to make a good report?  See

  http://orgmode.org/manual/Feedback.html#Feedback

 Your bug report will be posted to the Org-mode mailing list.
 

 Hallo!

 Recently started encountering a very strange thing: the `markdown`
 backend no longer appears in my export dispatcher. The other four I have
 listed (html, deck, ascii, and beamer) all appear; further, I can call the
 org-md-export functions directly using M-x. They're clearly being
 loaded, and behave perfectly normally. Even if the only two backends I
 configure are markdown and html, only html will appear in the dispatcher
 as an option.

 Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS
 apple-appkit-1265.21)
  of 2015-04-10 on builder10-9.porkrind.org
 Package: Org-mode version 8.2.10 (8.2.10-41-g42228a-elpa @
 /Users/gastove/.emacs.d/elpa/org-20150525/)

 current state:
 ==
 (setq
  org-export-backends '(html markdown deck ascii beamer)
  org-tab-first-hook '(org-hide-block-toggle-maybe
 org-src-native-tab-command-maybe
   org-babel-hide-result-toggle-maybe
 org-babel-header-arg-expand)
  org-latex-classes '((beamer \\documentclass[presentation]{beamer}
   (\\section{%s} . \\section*{%s})
   (\\subsection{%s} . \\subsection*{%s})
   (\\subsubsection{%s} . \\subsubsection*{%s}))
  (article \\documentclass[11pt]{article}
   (\\section{%s} . \\section*{%s})
   (\\subsection{%s} . \\subsection*{%s})
   (\\subsubsection{%s} . \\subsubsection*{%s})
   (\\paragraph{%s} . \\paragraph*{%s})
   (\\subparagraph{%s} . \\subparagraph*{%s}))
  (report \\documentclass[11pt]{report}
 (\\part{%s} . \\part*{%s})
   (\\chapter{%s} . \\chapter*{%s})
 (\\section{%s} . \\section*{%s})
   (\\subsection{%s} . \\subsection*{%s})
   (\\subsubsection{%s} . \\subsubsection*{%s}))
  (book \\documentclass[11pt]{book} (\\part{%s} .
 \\part*{%s})
   (\\chapter{%s} . \\chapter*{%s})
 (\\section{%s} . \\section*{%s})
   (\\subsection{%s} . \\subsection*{%s})
   (\\subsubsection{%s} . \\subsubsection*{%s}))
  )
  org-speed-command-hook '(org-speed-command-default-hook
 org-babel-speed-command-hook)
  org-occur-hook '(org-first-headline-recenter)
  org-metaup-hook '(org-babel-load-in-session-maybe)
  org-html-format-drawer-function '(lambda (name contents) contents)
  org-log-done t
  org-latex-format-inlinetask-function 'ignore
  org-confirm-shell-link-function 'yes-or-no-p
  org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
  org-startup-folded nil
  org-export-with-section-numbers nil
  org-export-with-toc nil
  org-export-with-sub-superscripts nil
  org-latex-format-headline-function
 'org-latex-format-headline-default-function
  org-todo-keyword-faces '((TODO . org-todo) (DOING . org-todo)
 (BLOCKED . org-warning)
   (CANCELLED . org-done) (IMPOSSIBLE .
 org-done)
   (DONE . org-done))
  org-startup-indented nil
  org-after-todo-state-change-hook '(org-clock-out-if-current)
  org-latex-format-drawer-function '(lambda (name contents) contents)
  org-from-is-user-regexp \\Ross Donaldson\\
  org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
  org-agenda-before-write-hook '(org-agenda-add-entry-text)
  org-babel-pre-tangle-hook '(save-buffer)
  org-mode-hook '(org-bindings (lambda nil (turn-on-auto-fill))
 text-settings
  #[nil \300\301!\207 [run-hooks prelude-org-mode-hook] 2]
  er/add-org-mode-expansions
  #[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook org-show-block-all
 append local] 5]
  #[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook
 org-babel-show-result-all append local]
5]
  org-babel-result-hide-spec org-babel-hide-all-hashes)
  org-refile-targets '((org-agenda-files :maxlevel . 3))
  org-ascii-format-drawer-function '(lambda (name contents width) contents)
  org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
 org-babel-execute-safely-maybe)
  org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
   org-cycle-hide-inline-tasks org-cycle-show-empty-lines
   

[O] radio targets, a bug?

2015-05-31 Thread thomas kalbe

Hi All,

html-export for the following minimal example breaks:

===

Keyword1 keyword2

Keyword1

keyword2

===

Error Message:

org-export-activate-smart-quotes: Wrong number of arguments: #[(q 
type) ÆÇ\ƒ


(after that comes a number of weird symbols that I cannot even copy into 
the email...)


Removing the quotes around keyword2 fixes the problem:

===

Keyword1 keyword2

Keyword1

keyword2

===

What also works is to add another word between Keyword1 and keyword2:

===

Keyword1 and keyword2

Keyword1

keyword2

===

Thanks,
thomas




Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-31 Thread Xebar Saram
Thanks so much everyone for these great replies. i will investigate this
further today and let everyone know how im going with my transition :)

thanks again

PS: Titus, do you think  that the helm-bibtex APA style reference list
could be user customizable in the future?

Z.

On Sat, May 30, 2015 at 6:56 PM, John Kitchin jkitc...@andrew.cmu.edu
wrote:



 On Saturday, May 30, 2015, Titus von der Malsburg malsb...@posteo.de
 wrote:


 On 2015-05-30 Sat 01:20, Xebar Saram wrote:
  Hi all
 
  i have been using jabref for the past 2-4 years in my academia work to
  manage my reference library. i dont use latex (..its on my TODO
 list...when
  (f ever) i have time..) so for now i just want something to manage my
  references. the key things i need to move over from jabref are:

 Author of helm-bibtex here.

  1. easy add references

 Helm-bibtex doesn’t deal with this because I prefer to edit my BibTeX
 file by hand.  BibTeX retrieved from journals is almost always messy and
 I need to edit it anyway.  It’s not too hard, though: I click on BibTeX
 export on the journal page, the BibTeX file is opened in Emacs, I fix
 it, and use a command that appends it to my bibliography.

 However, I think org-ref has tools that do more to support importing new
 entries and org-ref combines well with helm-bibtex.


 Org-ref has doi-utils that let you add bibtex entries and download PDFs
 from a doi or crossref query.



  2. a way to quick filter references (helm bibtex seems like a good
 solution)

 That’s what helm-bibtex was written to solve.

  3. filter lists based on tags/keywords (orgmode has that covered)

 In helm-bibtex you can also search for keywords and tags.

  4. this one is important: a way to quickly export selected references in
  word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

 helm-bibtex can generate references in APA style but as far as I can see
 Chicago style is very similar, so it shouldn’t be hard to add support
 for that.

  anyone uses such a system in emacs/org and can recommend the way to
  go?

 For more details, see: https://github.com/tmalsburg/helm-bibtex

   Titus



 --
 John

 ---
 Professor John Kitchin
 Doherty Hall A207F
 Department of Chemical Engineering
 Carnegie Mellon University
 Pittsburgh, PA 15213
 412-268-7803
 @johnkitchin
 http://kitchingroup.cheme.cmu.edu





Re: [O] [OT] djvu?

2015-05-31 Thread Dov Grobgeld
A number of years back I was very excited about DJVU and used it to
compress my scanned documents. But at a certain point did I realize that
scanned bitmaps (as well as TeX'd documents width pk fonts) in PDF were
just as small, and I stopped using it, as PDF is much more widely
available. I'm not sure if the almost equal sizes of djvu and postscript
were because bad djvu compressor or because the PDF compressors improved at
some point. I would be interested to hear if someone else has other
experience.

Regards,
Dov


On Sun, May 31, 2015 at 1:41 PM, Martin Schöön martin.sch...@gmail.com
wrote:

 Anyone using djvu?
 http://en.wikipedia.org/wiki/DjVu
 http://www.djvu.org/

 Just curious.

 --
 Martin Schöön

 http://hem.bredband.net/b262106/index.html



Re: [O] records/diary/journal?

2015-05-31 Thread Peter Davis


On 5/30/15 11:42 AM, Samuel W. Flint wrote:

Peter Davis p...@pfdstudio.com writes:


Over time, I keep finding more and more uses for org-mode. It's now my
main tool for keeping an agenda/todo list, and for writing informal
documents including images, GraphViz diagrams, etc. And I still
haven't scratched the surface.

Years ago, I used records-mode as a quick way to keep notes about what
I did each day, so I could refer to them later. I haven't found an
org-mode substitute for that. Is there some feature of combination of
features that let's me enter notes arranged by date, create links to
earlier notes referencing the same terms, etc.?

Capture!  This is what it's meant for!  I'd use the Date-tree style
templates.  And don't forget about tags/categories for searching.


Thank you, Samuel. I'll look into it further.

-pd

--

Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com




[O] Quick question

2015-05-31 Thread Fabrice Popineau
Hi,

I'm doing a little bit of elisp and I was wondering
what is the easiest way to find an element (say a header)
with a given id among the list of all agenda files?
I know I can use org-element-map, but is there
a faster or easier way ?

Thanks,

Fabrice


Re: [O] Testers / Feedback wanted: Gantt charts via org-gantt.el

2015-05-31 Thread Axel Kielhorn

 Am 30.05.2015 um 13:33 schrieb Bernhard Schmitz 
 bernhard.schm...@vis.uni-stuttgart.de:
 
 Hi,
 
 my org-gantt.el is now in a usable state. It creates gantt charts via 
 pgfgantt directly from headlines in org mode, using deadlines, schedules, 
 effort estimates and (optionally) clocked time.

Sounds like a good idea.
I tried writing pgfgantt manually but once I finished updating the chart, it 
was already out of date.
Getting the information from org would be fine.

I tried org-gantt on a current project and ran into one problem:

I track progress with
* Task [%]
and
* Task [/]

Of course the % causes a problem when exporting to LaTeX.
I suggest to either ignore [%] and [/] or use them as an alternative to show 
how much is completed.
It is probably a better metric than hours worked.

pgfgantt doesn’t handle \ganttbar commands without start and end date.
Therefor I can’t export an incomplete chart.
You may want to set the entries with missing scheduling information to the 
first day of the chart.
(Maybe mark the task or label with a color to indicate that they are 
incomplete.)
(See below for some different ideas.)

A two month chart doesn’t fit into \textwidth.
I wrapped it into a sideways environment (provided by rotating.sty), maybe a 
sideways option?
For a project with 2000 person hours[1] I’ll probably need a separate export 
and print it on A0 paper[2].
Some kind of scaling would be fine (show weeks / month instead of days).

For a huge project it may be nice to limit the levels printed:
Just Module 1 - 8 for the Management and each Module with the submodules for 
the project leader.
Similar to maxlevel in the clocktable.

I’m not sure about inheritance:
If I have a deadline for a task, should the subtasks inherit that deadline 
unless an explicit deadline is given?
If I have a deadline for a task and efforts for all subtasks, should the task 
inherit that effort?

That way I can give a deadline to the task and estimate efforts to get an 
initial chart.
Using this chart I can divide the subtasks between workers, rearrange the 
deadlines for the subtasks and finally define a scheduled date for the main 
task.

This gives me another idea:
Filter / color by tag.
Print only tasks tagged :Axel: to show my workload, and print tasks tagged 
:Sam_One: to show tasks I have delegated.
Color tasks by tags to show who is assigned, white for unassigned tasks.

Axel

[1] A 2000 PH project is not my usual project size, a few hundred is more 
common.
[2] I have access to an A0 printer but I usually draw with felt markers on 
(literal) wallpaper.
Much faster for an initial design and I can use „real“ cut and paste:-)




Gantt-ECM.org
Description: Binary data




Re: [O] org-use-property-inheritance not working?

2015-05-31 Thread Rainer M Krug
Nicolas Goaziou m...@nicolasgoaziou.fr writes:

 Rainer M Krug rai...@krugs.de writes:

 OK - but this behavior is not influenced by the variable
 org-use-property-inheritance. So what is the meaning of the variable
 then?

 The variable is checked when calling `org-entry-get' with a non-nil
 INHERIT optional argument.

 In this case `org-entry-get' calls `org-entry-get-with-inheritance'.

OK - let's move away from the programming in org and back to my question:

Looking at my example, it seems that the variable
org-use-property-inheritance has no impact on the header arguments,
i.e. no properties are inherited. So it seems that there is a bug, or a
severe misunderstanding on my side what property inheritance means.

From the help of the variable:

,
| When nil, only the properties directly given in the current entry count.
| When t, every property is inherited.  The value may also be a list of
| properties that should have inheritance, or a regular expression matching
| properties that should be inherited.
`

Reading this, and the fact that I get the same properties irrespective
if I set org-use-property-inheritance to t or nil, I would assume that
there is something not correct or consistent.

Rainer


 Regards,

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-31 Thread John Kitchin
Org-ref also has some customizable formatting. It is pretty basic but
customizable.

On Sunday, May 31, 2015, Xebar Saram zelt...@gmail.com wrote:

 Thanks so much everyone for these great replies. i will investigate this
 further today and let everyone know how im going with my transition :)

 thanks again

 PS: Titus, do you think  that the helm-bibtex APA style reference list
 could be user customizable in the future?

 Z.

 On Sat, May 30, 2015 at 6:56 PM, John Kitchin jkitc...@andrew.cmu.edu
 javascript:_e(%7B%7D,'cvml','jkitc...@andrew.cmu.edu'); wrote:



 On Saturday, May 30, 2015, Titus von der Malsburg malsb...@posteo.de
 javascript:_e(%7B%7D,'cvml','malsb...@posteo.de'); wrote:


 On 2015-05-30 Sat 01:20, Xebar Saram wrote:
  Hi all
 
  i have been using jabref for the past 2-4 years in my academia work to
  manage my reference library. i dont use latex (..its on my TODO
 list...when
  (f ever) i have time..) so for now i just want something to manage my
  references. the key things i need to move over from jabref are:

 Author of helm-bibtex here.

  1. easy add references

 Helm-bibtex doesn’t deal with this because I prefer to edit my BibTeX
 file by hand.  BibTeX retrieved from journals is almost always messy and
 I need to edit it anyway.  It’s not too hard, though: I click on BibTeX
 export on the journal page, the BibTeX file is opened in Emacs, I fix
 it, and use a command that appends it to my bibliography.

 However, I think org-ref has tools that do more to support importing new
 entries and org-ref combines well with helm-bibtex.


 Org-ref has doi-utils that let you add bibtex entries and download PDFs
 from a doi or crossref query.



  2. a way to quick filter references (helm bibtex seems like a good
 solution)

 That’s what helm-bibtex was written to solve.

  3. filter lists based on tags/keywords (orgmode has that covered)

 In helm-bibtex you can also search for keywords and tags.

  4. this one is important: a way to quickly export selected references
 in
  word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

 helm-bibtex can generate references in APA style but as far as I can see
 Chicago style is very similar, so it shouldn’t be hard to add support
 for that.

  anyone uses such a system in emacs/org and can recommend the way to
  go?

 For more details, see: https://github.com/tmalsburg/helm-bibtex

   Titus



 --
 John

 ---
 Professor John Kitchin
 Doherty Hall A207F
 Department of Chemical Engineering
 Carnegie Mellon University
 Pittsburgh, PA 15213
 412-268-7803
 @johnkitchin
 http://kitchingroup.cheme.cmu.edu





-- 
John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu