Re: [O] org-pdfview-open doesn't work anymore

2016-02-05 Thread Michael Brand
Hi Julien On Fri, Feb 5, 2016 at 6:46 AM, Julien Cubizolles wrote: > I've been using org-pdfview (from > https://github.com/markus1189/org-pdfview) to have org-mode open pdf > files generated during export. > > --8<---cut here---start->8--- > (pdf-tools-install

Re: [O] automatically save org-index after it changes?

2016-02-05 Thread Alan Schmitt
On 2016-02-04 11:35, Nick Dokos writes: > Alan Schmitt writes: > > >> Each time I use org-index to jump to some headline, the file where the >> table lives is modified. Is there a way to automatically save the file >> after each such change? >> > > Does something *really* change or is the file m

Re: [O] Org + MS DOC

2016-02-05 Thread Eric S Fraga
Ken, lately, for the few luckily infrequent times that I need to share a document with a Word user, I have found that exporting to ODT is sufficient. ODT documents can be loaded in (recent?) versions of MS Office although the latter complains that the document is corrupt but is able to "fix" it..

[O] [bug] org fails in org-sparse-tree for date filtering

2016-02-05 Thread Eric S Fraga
Hello, it's that time of year where I remove (i.e. archive) old entries in my various agenda files. One way I use to identify what I want to archive is to use org-sparse-tree, selecting [b]efore-date. If I do so, giving for instance "1 jan 2015" as the date, I get an error with backtrace in the

[O] Custom agenda 'tags-todo' sorting by scheduled date not working

2016-02-05 Thread Gabriel Duven
Hi guys, I created a custom agenda view with tags-todo, which I like to sort by scheduled date. (add-to-list 'org-agenda-custom-commands '("u" "Next actions" tags-todo "+PRIORITY=\"A\"" ((org-agenda-overriding-header "Critical") (org-agenda-prefix-format " %-5:c") (org-agenda-sortin

Re: [O] references to arbitrary labels in org and export to latex

2016-02-05 Thread Christian Wittern
Hi Loris, On 2016-02-03 16:50, Loris Bennett wrote: > This was discussed in the following thread: > > https://lists.gnu.org/archive/html/emacs-orgmode/2015-02/msg00382.html > > It seems you can't use 'url:mandoku-en' because of the colon, so you > would have to use something like 'url;mandoku-en

[O] inline code and minted

2016-02-05 Thread Alan Schmitt
Hello, I see that src_coq[:exports code]{nat} exports to (latex export with minted) \mint{coq}~nat~ which does not work as inline code here. The following would work, however, with a recent minted: \mintinline{coq}{nat} I have two questions: - should we support this and generate this code? -

Re: [O] Columnview *** is exported as *

2016-02-05 Thread Michael Brand
Hi Nicolas Commit release_8.3.3-547-g00f0c70 does not respect the stars of ITEM any more for the dynamic column width of the interactive column view with overlays. The fix of org-columns-get-autowidth-alist for the two "(setq-local org-columns-current-maxwidths [...]" seems too complicated to do i

Re: [O] Again - Unable to filter agenda to show only non-tagged items

2016-02-05 Thread sgeorgii .
Sorry, with the latest org 20160201 there is still error when I try to filter org-agenda view with empty tag value: org-agenda-filter-make-matcher: Args out of range: "", 0, 1 Any chance this could be remedied? bug report follows just in case: In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-0

[O] zip for odt export under windows

2016-02-05 Thread scrawler
Hi guys, I need to use the odt exporter on a windows box, and i read in an archived post that I need to install infozip. Infozip seems to be unavailable. How have others configured for export? thanks! -- signature to baby: "doobywoobybooboo" :-)

Re: [O] references to arbitrary labels in org and export to latex

2016-02-05 Thread Kaushal Modi
Check out this emacs.SE QnA: http://emacs.stackexchange.com/q/594/115 With that solution I can neatly collect all the links at the bottom of the org document, using markdown style link references. That still would not give the bibliography style link references at the end of the exported document

Re: [O] automatically save org-index after it changes?

2016-02-05 Thread Alan Schmitt
Hello, On 2016-02-04 13:42, Alan Schmitt writes: > Each time I use org-index to jump to some headline, the file where the > table lives is modified. Is there a way to automatically save the file > after each such change? The solution I’ve found is not org specific, but it may still be of intere

Re: [O] inline code and minted

2016-02-05 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > Hello, > > I see that > > src_coq[:exports code]{nat} > > exports to (latex export with minted) > > \mint{coq}~nat~ > > which does not work as inline code here. The following would work, > however, with a recent minted: > > \mintinline{coq}{nat} > > I have two quest

Re: [O] org-pdfview-open doesn't work anymore

2016-02-05 Thread Nicolas Goaziou
Hello, Michael Brand writes: > Hi Julien > > On Fri, Feb 5, 2016 at 6:46 AM, Julien Cubizolles > wrote: >> I've been using org-pdfview (from >> https://github.com/markus1189/org-pdfview) to have org-mode open pdf >> files generated during export. >> >> --8<---cut here--

Re: [O] references to arbitrary labels in org and export to latex

2016-02-05 Thread John Kitchin
Could you use footnotes for this? Kaushal Modi writes: > Check out this emacs.SE QnA: http://emacs.stackexchange.com/q/594/115 > > With that solution I can neatly collect all the links at the bottom of the > org document, using markdown style link references. > > That still would not give the bib

Re: [O] org-pdfview-open doesn't work anymore

2016-02-05 Thread Michael Brand
Hi Nicolas On Fri, Feb 5, 2016 at 9:33 AM, Michael Brand wrote: > Due to lexical binding in org.el there was a change in > `org-file-apps', see Org News for version 9.0 and e. g. this thread: > http://thread.gmane.org/gmane.emacs.orgmode/104272 > I think the most convenient would be if `org-open

Re: [O] inline code and minted

2016-02-05 Thread Alan Schmitt
On 2016-02-05 14:33, Nicolas Goaziou writes: >> I have two questions: >> - should we support this and generate this code? > > Sure. Could you provide and apply a patch for that? Yes. Here it is for review, please let me know if I can apply it. From aa8c0fa91af7a9307491bad78d7f82ce1705a7bd Mon S

Re: [O] inline code and minted

2016-02-05 Thread Kaushal Modi
On Fri, Feb 5, 2016 at 10:01 AM Alan Schmitt wrote: > > Yes. Here it is for review, please let me know if I can apply it. > TIL that we can have inline source code highlighting in org exports! For anyone else that just got enlightened about this, check out "C-h i g (org) Structure of code block

Re: [O] org-pdfview-open doesn't work anymore

2016-02-05 Thread Nicolas Goaziou
Hello, Michael Brand writes: > + ;; FIXME: Remove this check when most default installations of > + ;; Emacs have at least Org 9.0. > + (let ((arglist (help-function-arglist cmd))) > + (when (or (memq '&optional arglist) > + (memq '&rest arglist) > +

Re: [O] inline code and minted

2016-02-05 Thread Nicolas Goaziou
Alan Schmitt writes: > Yes. Here it is for review, please let me know if I can apply it. Be my guest! Thank you. > I see. I think I’ll just use then and skip the syntax coloring > for the moment. I'm not sure to understand your problem. src_emacs-lisp{(+ 1 1)} should get syntax coloring in bo

Re: [O] references to arbitrary labels in org and export to latex

2016-02-05 Thread Kaushal Modi
On Fri, Feb 5, 2016 at 8:40 AM John Kitchin wrote: > Could you use footnotes for this? > > I had to go with that custom solution on emacs.SE because I wanted the links to be rendered just like [[link][description]], without plain-text links in the footnotes. But I also needed a Footnotes-like con

Re: [O] org-pdfview-open doesn't work anymore

2016-02-05 Thread Michael Brand
Hi Nicolas On Fri, Feb 5, 2016 at 6:22 PM, Nicolas Goaziou wrote: > Michael Brand writes: >> + ;; FIXME: Remove this check when most default installations of >> + ;; Emacs have at least Org 9.0. >> + (let ((arglist (help-function-arglist cmd))) >> + (when (or (memq '&optiona

[O] Problem with threeparttable and sidewaystable, or: change request for (org-latex-tables-centered) behaviour

2016-02-05 Thread Michael Giepen
* Problem with centering sidewaystable and threeparttable #+LATEX_HEADER: \usepackage{threeparttable} I am referring myself to an archived post about using "threeparttable" with org-mode syntax(!), without having to use a LaTeX code block: https://lists.gnu.org/archive/html/emacs-orgmode/2013

[O] No image output from Maxima in Babel

2016-02-05 Thread Zachary Peterson
Hello, After recently learning about Babel, I've been working my way through some of the examples in the various languages' documentation, and I've run into a problem with Maxima. I evaluated this code, taken from the documentation at http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-maxi

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-05 Thread Nicolas Goaziou
Hello, Dima Kogan writes: > Ah. Thanks for explaining. The patch helps somewhat, but one can still > get into an inconsistent state: > > 1. Write \(1 + 2\) > 2. Toggle overlay with C-c C-x C-l > 3. M-x revert-buffer > > After the revert, the overlay remains, which is arguably OK, since the

Re: [O] No image output from Maxima in Babel

2016-02-05 Thread Thomas S . Dye
Aloha Zachary, That example works here. Do the other maxima examples work for you and only this one fails? All the best, Tom Zachary Peterson writes: > Hello, > > After recently learning about Babel, I've been working my way through > some of the examples in the various languages' documentati

[O] bug#22472: bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-05 Thread Stephen J. Barr
I was in the progress of writing my own email about this same issue. I was not aware that C-c C-c is no longer used for disabling overlays. If this is the case, what is the correct workflow for toggling these previews on and off? Thanks, -Stephen Stephen J. Barr PhD Candidate, Operations Manag

Re: [O] org-pdfview-open doesn't work anymore

2016-02-05 Thread Nicolas Goaziou
Hello, Michael Brand writes: > + ;; FIXME: Remove this check when most default installations of > + ;; Emacs have at least Org 9.0. > + ((wrong-number-of-arguments invalid-function) > + (user-error > + (concat > +"Please see Org News for version 9.0 about `org-file

Re: [O] No image output from Maxima in Babel

2016-02-05 Thread Zachary Peterson
> Thomas S Dye writes: > Aloha Zachary, That example works here. > Do the other maxima examples work for you and only this one fails? All the other examples work. -- Zachary Peterson zap5...@psu.edu (317) 828-2377 OpenPGP key: BF5879D6

Re: [O] Columnview *** is exported as *

2016-02-05 Thread Nicolas Goaziou
Hello, Michael Brand writes: > Commit release_8.3.3-547-g00f0c70 does not respect the stars of ITEM > any more for the dynamic column width of the interactive column view > with overlays. The fix of org-columns-get-autowidth-alist for the two > "(setq-local org-columns-current-maxwidths [...]" s

[O] What happened to `org-end-of-meta-data-and-drawers'?

2016-02-05 Thread Thorsten Jolitz
Hi List, again an Org function I used in one of my libraries has disappeared. , | org-dp-lib.el:483:1:Warning: the function `org-end-of-meta-data-and-drawers' | is not known to be defined. ` Two related questions: - is there a replacement? - using Magit, how can I investigate the

Re: [O] What happened to `org-end-of-meta-data-and-drawers'?

2016-02-05 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > Hi List, > again an Org function I used in one of my libraries has disappeared. > > , > | org-dp-lib.el:483:1:Warning: the function `org-end-of-meta-data-and-drawers' > | is not known to be defined. > ` > > Two related questions: > > - is there a rep

Re: [O] [bug] org fails in org-sparse-tree for date filtering

2016-02-05 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > One way I use to identify what I want to archive is to use > org-sparse-tree, selecting [b]efore-date. If I do so, giving for > instance "1 jan 2015" as the date, I get an error with backtrace in the > attached file. Fixed. Thank you. Regards, -- Nicolas Goazi

Re: [O] Strange problems when exporting asynchronously in beamer mode

2016-02-05 Thread Nicolas Goaziou
Hello, Julien Cubizolles writes: > The contents of the > "/home/wilk/configuration/elisp/org-export-async-init-test.el" file are: > > ;;~/.emacs -*- mode: lisp-*- > (setq org-export-async-debug t) > > (add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp")) > (add-to-list 'load-p

Re: [O] What happened to `org-end-of-meta-data-and-drawers'?

2016-02-05 Thread Thorsten Jolitz
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> Hi List, >> again an Org function I used in one of my libraries has disappeared. >> >> , >> | org-dp-lib.el:483:1:Warning: the function >> | `org-end-of-meta-data-and-drawers' >> | is not known to be defined. >> ` >> >> T

[O] Subtree export problems

2016-02-05 Thread Thomas S . Dye
Aloha all, The following ECM gives me two problems. 1) When I export the full file, all is well, I get this pertinent part: ,-- | \section{Top Level Headline} | \label{sec:orgheadline2} | \setmarginnotefont{\itshape\footnotesi

Re: [O] No image output from Maxima in Babel

2016-02-05 Thread Thomas S . Dye
Hmmm. I don't know. Perhaps someone else will have an idea. The example works fine on my Mac. Tom Zachary Peterson writes: >> Thomas S Dye writes: > >> Aloha Zachary, That example works here. > >> Do the other maxima examples work for you and only this one fails? > > All the other examp

[O] Default location for "./" with respect to capture file+headline

2016-02-05 Thread John Hendy
Greetings, I'm trying to show an Org-mode demo within a folder for a talk. I can't show my actual work stuff as it's confidential, so I'm trying to create a self-contained org directory. I have a dir with a setup like so: dir/ dir/setup/example-config dir/libs/{org-mode, ESS, others} dir/demo/d

Re: [O] Default location for "./" with respect to capture file+headline

2016-02-05 Thread Kyle Meyer
Hello, John Hendy writes: > When I do =C-c c= to try a capture example, it's trying to file it > with respect to ~/org and I'm not sure why. Here's the capture section > of dir/setup/example-config: > > (setq org-capture-templates > '(("l" "log" entry (file+headline "./demo/org-demo_capture.or

[O] using pdf as output of src-block doesn't show an inline image

2016-02-05 Thread Arun Persaud
Hi I use org mode more and more to plot data using python source blocks. If I create pngs, org mode will display these results as an inline image, which is nice. Since I also export my org buffer via latex to pdf, it would be nice to create pdf plots with python, so that I get vector graphics in t