[O] Elementwise division of two columns in table
Given a table of the form | a | b | c | |[2,3] | [4,6] | formula What is the formula for column C such that elementwise division is performed to obtain [2,2]. I realize I've to use the (calc-map OPR) function but I am not an expert in elisp. Thanks for reading. Regards, Nishan -- Nishan Singh Mann
Re: [O] bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?
Adam Porter writes: > I'm not an expert on this package nor this situation, however, looking > at the htmlize.el file shows: > > ;; Copyright (C) 1997-2003,2005,2006,2009,2011,2012,2014,2017,2018 > > So it would appear that the package has existed longer than either > GitHub or Org. I'm guessing that its author moved its primary repo to > GitHub after Org started using it. > > In hindsight, perhaps it would have been better to move htmlize into > Emacs before adding it to Org proper. But many things are clearer in > hindsight. > > Regardless of where it is hosted, htmlize.el is Free Software, and it's > an optional addon to Org. We can encourage its author to add it to > Emacs proper, or to ELPA. But surely it's not necessary to censor the > mention of "GitHub" in the manual; it's simply a fact that GitHub exists > and that htmlize.el is currently hosted there. It would seem > unreasonable for the Org maintainers to have reacted to htmlize.el's > moving to GitHub by removing htmlize.el support while it remains Free > Software, yet that's the logical conclusion of this argument. > I had exactly the same reaction. > So please do not remove support for this package because of where its > repo happens to be hosted at the moment. That would be a major > regression, and it would not be in users' best interests. It would not > be fair to remove a major feature used by thousands of users and demand > that "someone" (since there is no one ultimately responsible) rewrite > large parts of ox-html.el to fix it. It would at least seem fair for > those insisting on the change to do the necessary work. > I don't usually +1 replies but I wanted to chime in my agreement with Adam here. Thanks for taking the time to put your (and my!) thoughts into words. If Github is indeed the sticking point, why can't it (the htmlize repo) be cloned on the same server as org-mode (possibly as its own repo, possibly as a git submodule)? It's not a fast moving target: a handful or two of commits per year. The doc can then avoid the Gihub ref (although it does seem silly to pretend that Github does not exist). -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler
Re: [O] Latex export with \begin{equation}
Hello, Dominik Schrempf writes: > Oh thanks, > > I thought it would be good to add a comment to the Org mode manual although it > is of course not really Org mode related. > > I decided that a good location would be > https://orgmode.org/manual/Math-formatting-in-HTML-export.html#Math-formatting-in-HTML-export > > A proposed patch is attached, please let me know what you think. Thank you. Please use a proper commit message and add TINYCHANGE if you haven't signed FSF papers. > --- org-manual.org2018-09-17 18:48:17.868785307 +0200 > +++ org-manual.org.new2018-09-17 18:48:09.708751068 +0200 > @@ -12655,7 +12655,9 @@ > #+vindex: org-html-mathjax-template > See the docstring of ~org-html-mathjax-options~ for all supported > variables. The MathJax template can be configure via > -~org-html-mathjax-template~. > +~org-html-mathjax-template~. Please note that formulas will be part I suggest to use the present tense instead of the future, per (info "(elisp) Documentation Tips") and put this in a footnote since this is not directly Org-related, as you point out. > +of an HTML document, and that signs such as =<=, =>=, or =&= have > +special meanings (see > [[http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents][MathJax > TeX and LaTeX support]]). > Regards, -- Nicolas Goaziou
Re: [O] Latex export with \begin{equation}
Oh thanks, I thought it would be good to add a comment to the Org mode manual although it is of course not really Org mode related. I decided that a good location would be https://orgmode.org/manual/Math-formatting-in-HTML-export.html#Math-formatting-in-HTML-export A proposed patch is attached, please let me know what you think. Best, Dominik --- org-manual.org 2018-09-17 18:48:17.868785307 +0200 +++ org-manual.org.new 2018-09-17 18:48:09.708751068 +0200 @@ -12655,7 +12655,9 @@ #+vindex: org-html-mathjax-template See the docstring of ~org-html-mathjax-options~ for all supported variables. The MathJax template can be configure via -~org-html-mathjax-template~. +~org-html-mathjax-template~. Please note that formulas will be part +of an HTML document, and that signs such as =<=, =>=, or =&= have +special meanings (see [[http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents][MathJax TeX and LaTeX support]]). If you prefer, you can also request that LaTeX fragments are processed into small images that will be inserted into the browser page. Before Nick Dokos writes: Dominik Schrempf writes: so I found the reason. Both Org versions behave the same, sorry for the confusion. The original equation that does not get exported correctly contained angles: \begin{equation} = \frac{\sum_i w_i k_{eff}(i)}{\sum_i w_i}. \end{equation} This equation is correctly rendered when using a .tex file and native LaTeX. If the angles are removed, the Org Mode HTML export works: \begin{equation} k_{eff} = \frac{\sum_i w_i k_{eff}(i)}{\sum_i w_i}. \end{equation} Does anybody know why? Is this expected behavior? Can this be changed? Maybe this explains it: "...Also, since the mathematics is initially given as text on the page, you need to be careful that your mathematics doesn’t look like HTML tags to the browser (which parses the page before MathJax gets to see it). In particular, that means that you have to be careful about things like less-than and greater-than signs (< and >), and ampersands (&), which have special meaning to the browsers. For example, ... when $xhttp://docs.mathjax.org/en/latest/tex.html the section entitled "TeX and LaTeX in HTML documents":
Re: [O] orgalist list item spacing
Eric S Fraga writes: > On Saturday, 15 Sep 2018 at 11:03, Eric Abrahamsen wrote: >> Eric S Fraga writes: >>> Long standing "feature" of org. Unless you do require a blank line >>> between items, it is impossible to differentiate between the start of a >>> numbered item and the continuation of the previous item in this case. >> >> Huh, I've never seen this in org-mode proper. > > Silly me. I was comparing apples and oranges. In org mode, I use > visual-line-mode and no filling; in message mode, I use > auto-fill. Sorry for my intervention! No worries, I still ended up learning something :)
Re: [O] Visualizing org files
Marcelo de Moraes Serpa writes: > Hey all, > > I'm a long org-mode user and I absolutely love it. During the years I've been > using org, > nothing else came close to being so simple and so powerful as org - and I a > lot tried > different productivity apps. > > One thing that would nicely complement org, in my opinion, would be a > visualization mode > for its buffers. Right now I sometimes use Freeplane*[0] to draft/brainstorm > complex > ideas or problems/solutions and then attach it to an org item and write more > specific > action items there. > > It'd be nice to have everything in a Freemind map, if needed. What I'm > proposing is a way > to visualize org buffers in Freeplane and vice-versa. > > It could also be a script that uses something like graphviz*[1] to create a > graph of one > or more org buffers, like Sasha Chua did here: > http://pages.sachachua.com/evil-plans/, > although I prefer using Freeplane since it allows me to edit the org file as > a mind-map, > visually, if I want. > > I think a script to automatically transform the Freeplane XML to org > and vice-versa I have same idea. I know there is an package called ox-freemind. It can export Org to mindmap. The really awesome is real-time synchronize visualization Org and Mindmap program. I don't know how to implement at Freemind or Freeplane etc mindmap program side. But Org side should not be that hard, because markdown real-time preview is possible. > wouldn't be too hard to come up with. The graphviz solution is also > interesting and Sasha > already provides the snippets. > > Are any other people out there that are already doing something similar to > what I > described above? Maybe we could share some ideas on how to tackle this > feature or if it'd > be worth adding it into the org core ;) > > Cheers! > > - Marcelo > > *[0] https://www.freeplane.org/wiki/index.php/Home > *[1] https://www.graphviz.org/ -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
Re: [O] Visualizing org files
Van L writes: >>> Freeplane XML to org > > I took a look at images of Freeplane XML and it is boring. > > What I’d like to do is tile triangles (and the normal) as clusters and/or > scatters on meaningful planes of data/concepts which see a landscape having > moving parts in Disney’s Tron Hollywood movie but less dark. And, like in the > map apps for navigating by in the smartphone you can tilt to adjust the angle > to horizon for 3D effect. > > How about Pixar’s USD (Universal Scene Description) information exchange > format? Sounds very cool!!! -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3