[O] export to latex but *not* export the citations

2018-01-19 Thread Sharon Kimble
I'm writing a document which currently has 408 pages and over a 1,000 footnotes, and with a size of 1.1 mbs. I'm exporting it to latex using 'org-latex-export-to-latex' and am now wondering is it possible to export it *and* omit the citations? The citations currently are showing in the org-mode s

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread John Kitchin
You can try this: * Build :noexport: Put this heading in your file, and run this block. #+BEGIN_SRC emacs-lisp (flet ((org-ref-format-cite (keyword desc format) "")) (org-latex-export-to-latex)) #+END_SRC It will temporarily redefine the cite export function. It appears it replaces them with a

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread Sharon Kimble
John Kitchin writes: > You can try this: > > * Build :noexport: > > Put this heading in your file, and run this block. > > #+BEGIN_SRC emacs-lisp > (flet ((org-ref-format-cite (keyword desc format) "")) > (org-latex-export-to-latex)) > #+END_SRC > > It will temporarily redefine the cite export f

Re: [O] Emacs repo comment about org-element's use of avl-tree--*

2018-01-19 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > The commit below was made in Emacs's master branch (fe15532eef). I'm > posting it here for review/discussion rather than backporting it. [...] > + ;; FIXME: Why use internal functions of avl-tree? >(avl-tree--node-left (avl-tree--dummyroot org-element--cache))

Re: [O] Bug: Broken orgmode.org links in doc/misc/org.texi and lisp/org

2018-01-19 Thread Nicolas Goaziou
Hello, Tim Landscheidt writes: > Could you then please document TINYCHANGE in > README_contribute? Merci! This is already covered at Regards, -- Nicolas Goaziou

Re: [O] Bug: Broken orgmode.org links in doc/misc/org.texi and lisp/org

2018-01-19 Thread Nicolas Goaziou
Hello, Tim Landscheidt writes: > Nicolas Goaziou wrote: > >> […] > >> Thank you! However, these patches do not seem to apply cleanly on maint >> tip. Could you rebase them against maint HEAD and send them again? > >> […] > > I have attached the patches rebased on maint, with > TINYCHANGE. (I'v

Re: [O] [PATCH] Remove obsolete mk/list-hooks.pl

2018-01-19 Thread Nicolas Goaziou
Hello, Tim Landscheidt writes: > The functionality of mk/list-hooks.pl has been implemented by mk/eldo.el. > > * mk/list-hooks.pl: Remove. Are you sure list-hooks.pl isn't used? Regards, -- Nicolas Goaziou

Re: [O] Equation references in HTML export

2018-01-19 Thread Nicolas Goaziou
Hello, Thibault Marin writes: > Nicolas Goaziou writes: >> Could you write a short entry in ORG-NEWS to advertise it? > Done in the attached patch. Applied. Thank you. Regards, -- Nicolas Goaziou0x80A93738

Re: [O] Keeping outline after reverting buffer

2018-01-19 Thread Nicolas Goaziou
Hello, Roland Fehrenbacher writes: > is there any option or other customization to keep the outline of an org > buffer (uncollapsed parts of the tree) after the buffer has been > reverted (org-mode 9.0.1, emacs 25.3.2)? In my case only the top > headings are displayed after reverting. This is qu

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread John Kitchin
I don't think that it is possible for the snippet I sent to remove the the parentheses as they are not part of the link. You can either replace them all interactively with a regexp, e.g. #+BEGIN_SRC emacs-lisp (goto-char (point-min)) (query-replace-regexp "(\\(cite:.*\\))" "\\1") #+END_SRC That

[O] Bug: C-c C-k unfolds archived headings [9.1.6 (9.1.6-10-g0c9329-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20180108/)]

2018-01-19 Thread Allen Li
C-c C-k unfolds archived headings. I am using it/interpreting it as a subtree variant to S-TAB, which shows the CONTENTS headlines only view without unfolding archived headings. Emacs : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2017-12-04 Package: Org mode version 9.1.6 (9

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread Sharon Kimble
John Kitchin writes: > I don't think that it is possible for the snippet I sent to remove the the > parentheses as they are not part of the link.  > > You can either replace them all interactively with a regexp, e.g. > > #+BEGIN_SRC emacs-lisp > (goto-char (point-min)) > (query-replace-regexp "(

Re: [O] Bug: C-c C-k unfolds archived headings [9.1.6 (9.1.6-10-g0c9329-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20180108/)]

2018-01-19 Thread Nicolas Goaziou
Hello, Allen Li writes: > C-c C-k unfolds archived headings. I am using it/interpreting it as a > subtree variant to S-TAB, which shows the CONTENTS headlines only view > without unfolding archived headings. Could you provide an ECM? Thank you. Regards, -- Nicolas Goaziou

Re: [O] Emacs repo comment about org-element's use of avl-tree--*

2018-01-19 Thread Kyle Meyer
Nicolas Goaziou writes: > IIRC, this is because external functions do not give enough control over > the tree. For example, the code needs to be able to find a node whose > key matches a given predicate, efficiently. > > This is not much of an issue, however. This implementation detail may > chan

[O] `org-clock--oldest-date` performance

2018-01-19 Thread Jack Henahan
Hiya, I've run into a performance issue in `org-clock` which I've narrowed down to being caused by the calculation in the defconst for `org-clock--oldest-date`. In particular, invoking `org-clock-in` or eagerly loading `org-clock` on init incurs a 21(!) second delay while calculating the constant