[O] maybe typo in orgmode manual
Hello! Maybe there is typo in orgmode manual: https://orgmode.org/org.html#capture-protocol > To use this feature, add a bookmark with an arbitrary name, e.g. ‘Org: > capture’ and enter this as ‘Location’: > > javascript:location.href='org-protocol://template=x'+ > '&url='+encodeURIComponent(window.location.href)+ > '&title='+encodeURIComponent(document.title)+ > '&body='+encodeURIComponent(window.getSelection()); This does not work. No "capture" before template letter. Correct bookmark, I think, begins with > javascript:location.href='org-protocol://capture?template=x'+ And this variant works for me. Thanks. -- Agnessa Bukowska
[O] [PATCH 1/1] ob-clojure.el: Add :ns to specify evaluation namespace
From: Robert Hambrock * lisp/ob-clojure.el (org-babel-execute:clojure): Implement :ns. --- lisp/ob-clojure.el | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el index 890f60ada..b8c5c6375 100644 --- a/lisp/ob-clojure.el +++ b/lisp/ob-clojure.el @@ -109,7 +109,9 @@ using the :show-process parameter." (cider (require 'cider) (let ((result-params (cdr (assq :result-params params))) -(show (cdr (assq :show-process params +(show (cdr (assq :show-process params))) +;; if :ns is specified, use this in lieu of the default "user" ns +(namespace (or (cdr (assq :ns params)) (cider-current-ns (if (member show '(nil "no")) ;; Run code without showing the process. (progn @@ -118,7 +120,7 @@ using the :show-process parameter." org-babel-clojure-sync-nrepl-timeout)) (nrepl-sync-request:eval expanded (cider-current-connection) - (cider-current-ns + namespace))) (setq result (concat (nrepl-dict-get response @@ -153,7 +155,7 @@ using the :show-process parameter." ;; Update the status of the nREPL output session. (setq status (nrepl-dict-get response "status"))) (cider-current-connection) - (cider-current-ns)) + namespace) ;; Wait until the nREPL code finished to be processed. (while (not (member "done" status)) -- 2.16.1
[O] Exponential numbers in latex table export
Hi I have a document with many automatically generated tables that contain numbers in exponential Format, e.g. 2e09. When I export the tables to LaTeX and pdf I get something like 2 (-09) in the pdf, if there is no character after the number in the table Minimal Example: |--| | 1.2e09 (abs) | | 2.3e-09 | | 3.4e09 | |--| exports to a latex table as \begin{center} \begin{tabular}{r} \hline 1.2e09 (abs)\\ 2.3\,(-09)\\ 3.4\,(09)\\ \hline \end{tabular} Note that in the first line the number is an exponential, the following 2 are not. I could not find anything in the documentation. What am I missing? orgmode version is 9.1.4, but the same happens with emacs 25.3 built-in version 8.3. gl
[O] [PATCH 0/1] ob-clojure.el: Add :ns to specify evaluation namespace
From: Robert Hambrock Dear Org maintainer, this patch implements namespace specification for Clojure source blocks, necessary in Org files with Clojure source blocks segregated from their applicable namespace declaration (Clojure source file, REPL declaration, or another source block). As I will be making further patches in the future, please let me know if this is the most convenient formatting for you or if you have changes to suggest. All the best, Robert Robert Hambrock (1): ob-clojure.el: Add :ns to specify evaluation namespace lisp/ob-clojure.el | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) -- 2.16.1
Re: [O] LaTeX export filter
> > > >> >>> (while (string-match >>> "\\(<\\([0-9]+\\)cid\\([0-9]+\\)?>[[:blank:]]*\\([^&]+\\)\\)" row) >> >> Could it be that you need to change the last + to *? >> Haven't tried it, mind you. >> -- > > That does not change the result. Still pick only two. > > Vikas >
Re: [O] LaTeX export filter
> >> >> >>> (while (string-match "\\(<\\([0-9]+\\)cid\\([0-9]+\\)?>[[:blank:]]*\\([^&]+\\)\\)" row) >>> >>> Could it be that you need to change the last + to *? >>> Haven't tried it, mind you. >>> -- >> > > The problem is in this part of the code: > > (while (string-match "& \\| " row 0) > (setq row (replace-match "" nil nil row)) > (decf start)) > > If I comment it, I get three \cmidrule latex commands, but with &s and \\ > > Somehow, the above lines replace more than just &s and \\. > > Vikas >
[O] problems with attach after moving files
hi, I moved my org and data/ files to another machine and now when I go to open an attachment I can't do it with org-attach open. I can however hit enter on the heading like a link and it opens dired which then allows me to select it. Any idea why this no longer works?
Re: [O] folding columns/rows in tables
Nicolas Goaziou writes: > Hello, > > Julien Cubizolles writes: > >> I have some long tables with wide cells that are not easy to scroll >> through. It would be convenient to fold some columns or rows. Has >> someone managed it ? > > This is `C-c ' in master (for columns). That is so great ! Thanks a lot, I must have missed it in the changelogs. Regards, Julien.
Re: [O] folding columns/rows in tables
Hello, Julien Cubizolles writes: > I have some long tables with wide cells that are not easy to scroll > through. It would be convenient to fold some columns or rows. Has > someone managed it ? This is `C-c ' in master (for columns). Regards, -- Nicolas Goaziou
Re: [O] preview embedded latex fragments error with my settings
According to the log, you need to configure the export to use xelatex. The error using xelatex is at this point, where it seems you should not use math-mode: l.86 $\LaTeX $ Do you have this in your code? Did you try removing the enclosing $? Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2018-02: 408.35, 2017-02: 406.42 signature.asc Description: PGP signature
[O] folding columns/rows in tables
I have some long tables with wide cells that are not easy to scroll through. It would be convenient to fold some columns or rows. Has someone managed it ? Julien.
Re: [O] preview embedded latex fragments error with my settings
After run command, got error outputthe following output: (I'm trying to make those settings buffer-local and can be toggled by a minor mode, so this can be separate with default setting, and enabled when needed) #+begin_src shell :eval no latex /tmp/orgtexhCLnu9.tex #+end_src #+RESULTS: : This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=latex) : restricted \write18 enabled. : entering extended mode : (./orgtexRknCCm.tex : LaTeX2e <2017-04-15> : Babel <3.18> and hyphenation patterns for 84 language(s) loaded. : (/usr/share/texmf-dist/tex/latex/base/article.cls : Document Class: article 2014/09/29 v1.4h Standard LaTeX document class : (/usr/share/texmf-dist/tex/latex/base/size10.clo)) : (/usr/share/texmf-dist/tex/latex/graphics/color.sty : (/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg) : (/usr/share/texmf-dist/tex/latex/graphics-def/dvips.def) : (/usr/share/texmf-dist/tex/latex/graphics/dvipsnam.def)) : (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty : (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty) : (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty) : (/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty) : (/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)) : (/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) : (/usr/share/texmf-dist/tex/latex/fncychap/fncychap.sty) : (/usr/share/texmf-dist/tex/latex/graphics/rotating.sty : (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty : (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty : (/usr/share/texmf-dist/tex/latex/graphics/trig.sty) : (/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg))) : (/usr/share/texmf-dist/tex/latex/base/ifthen.sty)) : (/usr/share/texmf-dist/tex/latex/capt-of/capt-of.sty) : (/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty : (/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) : (/usr/share/texmf-dist/tex/generic/ulem/ulem.sty) : (/usr/share/texmf-dist/tex/latex/wrapfig/wrapfig.sty) : (/usr/share/texmf-dist/tex/latex/oberdiek/grffile.sty : (/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty : (/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty) : (/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty : (/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty) : (/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty : (/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty : (/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)) : (/usr/share/texmf-dist/tex/latex/booktabs/booktabs.sty) : (/usr/share/texmf-dist/tex/latex/tools/tabularx.sty : (/usr/share/texmf-dist/tex/latex/tools/array.sty)) : (/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty : For additional information on amsmath, use the `?' option. : (/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty : (/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty)) : (/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty) : (/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty)) : (/usr/share/texmf-dist/tex/latex/base/textcomp.sty : (/usr/share/texmf-dist/tex/latex/base/ts1enc.def)) : (/usr/share/texmf-dist/tex/latex/tools/longtable.sty) : (/usr/share/texmf-dist/tex/latex/float/float.sty) : (/usr/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty : : ! LaTeX Error: *** this package currently works only with XeTeX *** : You are not using XeTeX, so we are exiting cleanly! : Continuing may lead to 'unavailable font metrics' errors! : . : : See the LaTeX manual or LaTeX Companion for explanation. : Type H for immediate help. : ... : : l.113 ...sname\relax\expandafter\notXeTeXformat\fi : : ? : ) (/usr/share/texmf-dist/tex/latex/tools/indentfirst.sty) : (/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty : (/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg)) : (/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty : (/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty : (/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty : (/usr/share/texmf-dist/tex/latex/l3kernel/expl3-code.tex) : (/usr/share/texmf-dist/tex/latex/l3kernel/l3dvips.def))) : : : ! : ! Fatal fontspec error: "cannot-use-pdftex" : ! : ! The fontspec package requires either XeTeX or LuaTeX. : ! : ! You must change your typesetting engine to, e.g., "xelatex" or : ! "lualatex"instead of "latex" or "pdflatex". : ! : ! See the fontspec documentation for further information. : ! : ! For immediate help type H < After I change compile command to: $ xelatex -8bit --shell-escape -interaction=nonstopmode orgtexRknCCm.tex I got error(too long, so I put it in attachment) This is XeTeX, Version 3.14159265-2.6-0.8 (TeX Live 2017/Arch Linux) (preloaded format=xelatex 2018.3.5) 27 MAR 2018 18:11 entering extended mode \write18 enabled. %&-line parsing enabled. **orgtexRknCCm.tex (./orgtexRknCCm.tex LaTeX2e <2017-04-15> Babel <3.18> and hyphenation patterns for 84 language(s) loaded. (/usr/share/texmf-dist/tex/latex/base/article.cls Docum
[O] [SOLVED] let org-git-link.el suport Magit related buffers
Thanks for your suggestion. This is great. On 03/27/2018 02:04 PM, Daniel Kraus wrote: Hi! stardiviner writes: I hope can combine Org-mode links with Magit through `org-git-link.el`. [...] Is there anyone want to or can implement this? There is https://github.com/magit/orgit Cheers, Daniel
Re: [O] #+bind options ignored during async export
Nicolas Goaziou writes: > Hello, > > Julien Cubizolles writes: > I don't think it is related. Maybe `org-export-allow-bind-keywords' is > nil in your async configuration. You're right, it was nil. When it is set, #+BIND: works as expected. Thanks. Julien.
Re: [O] Temporary delay like --2d does not work correctly.
Things got good on my side with 9.1.9 in org-plus-contrib-20180327. Thanks a lot for your great help, Nicolas! Thanks, hhkg On Tue, Mar 27, 2018 at 5:51 AM, Nicolas Goaziou wrote: > Hello, h...@protonmail.com writes: > Hi, > > With the latest release, --2d > not work correctly. > Use the test case in > http://lists.gnu.org/archive/html/emacs-orgmode/2013-02/msg00554.html > > * > TODO 1a > SCHEDULED: <2018-02-24 Sat +1m --2d> > * TODO 2a > SCHEDULED: > <2018-03-24 Sat +1m --2d> > * TODO 1b > SCHEDULED: <2018-02-25 Sun +1m --2d> > > * TODO 2b > SCHEDULED: <2018-03-25 Sun +1m --2d> > * TODO 1c > SCHEDULED: > <2018-02-26 Mon +1m --2d> > * TODO 2c > SCHEDULED: <2018-03-26 Mon +1m --2d> > > > In the agenda of today ([2018-03-26 Mon]) shows 1a 2a 1b 2b 1c, > but 1a > 2a 1b 1c are expected. > > Please help fix it. Fixed. Thank you. Regards, -- > Nicolas Goaziou
Re: [O] preview embedded latex fragments error with my settings
On 2018-03-27 08:57, stardiviner writes: > I have divsvgm program on my arch linuxsystem. And "/tmp/orgtexhClnu9.dvi" > does > not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex" and > "/tmp/orgtexhClnu9.log" two file. What does the log file say? There will probably be a hint about what is wrong. (The fact that it is there suggests latex started running, but did not produce the dvi file.) Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2018-02: 408.35, 2017-02: 406.42 signature.asc Description: PGP signature