Re: Using Code Block for C++

2020-08-05 Thread Christopher Dimech
That works, thanks so very much   C*   - Christopher Dimech Chief Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production

Re: Using Code Block for C++

2020-08-05 Thread ian martins
Christopher, C, C++ and D are all defined in ob-C.el, so when you load C you get C++ and D as well. If you remove the "(c++ . t)" from the above line, does it work? On Wed, Aug 5, 2020 at 6:05 PM Christopher Dimech wrote: > > Have been trying to set the C++ call for using a code block. > >

Re: Bug: org-agenda-sorting-strategy priority has no effect [9.3.7 (9.3.7-16-g521d7f-elpaplus @ /Users/devil/.emacs.d/elpa/org-plus-contrib-20200803/)]

2020-08-05 Thread Kyle Meyer
Adam Faryna writes: > org-agenda-sorting-strategy priority sorting doesn't work in my setup. > I have a single file for all the tasks for agenda. Its structure looks > similar to > this: > > # -*- mode: org; mode: my/org-agenda-appt -*- > > #+STARTUP: overview > #+CATEGORY: Tasks > #+ARCHIVE:

Creating Image White Text on Black Background

2020-08-05 Thread Christopher Dimech
Am trying to have the latex image to output White Text on Black Background Currently I have the following Code: #+HEADER: :exports results :file equation.png #+BEGIN_SRC latex :exports results :file equation.png :imagemagick yes :iminoptions -density 300 $ x=\sqrt{b} $ For a spherical triangle

Using Code Block for C++

2020-08-05 Thread Christopher Dimech
Have been trying to set the C++ call for using a code block. Here is the call. I am getting an error, have tried Cpp, cpp, C++, c++ (org-babel-do-load-languages 'org-babel-load-languages '( (sh . t) (lisp . t) (emacs-lisp . t) (awk . t) (python . t) (R . t) (C . t) (c++

Re: Can you automatically noweb include?

2020-08-05 Thread Ken Mankoff
What about using :pre or :prologue and setting it at the header or document level? Please excuse brevity. Sent from tiny pocket computer with non-haptic-feedback keyboard. On Wed, Aug 5, 2020, 14:22 George Mauer wrote: > Use case: > > I'm using ob-racket

Re: Delete duplicate subtrees?

2020-08-05 Thread Allen Li
On Wed, Aug 5, 2020 at 6:16 PM David Rogers wrote: > > Hello > > I've copied text from several different sources into an org > buffer, and now I find I have a large number of subtrees that are > exactly the same. All headlines are at the top level, so there are > no duplicates at different levels

Can you automatically noweb include?

2020-08-05 Thread George Mauer
Use case: I'm using ob-racket but this would apply just as well to a few other workflows I have with python or js. I would like to write a helper function in a src block and then automatically have access to it in other src blocks further down the

Re: Bug: no math-mode detection for align-environment [9.3.7 (9.3.7-13-ge62ca4-elpaplus @ /home/stefi/.emacs.d/elpa/org-plus-contrib-20200713/)]

2020-08-05 Thread Rafael
Kyle Meyer writes: > Stefi writes: > >> I recently updated my emacs packages and noticed that \begin{align*} >> does not trigger math-mode detection any more, so org-cdlatex does not >> work. However, begin{equation} still does trigger the math-mode >> detection. I have read the documentation of

Re: Document containing different text colours?

2020-08-05 Thread Diego Zamboni
Hi Sharon, I'm not sure I understand what is it that you are trying to do. But color (or any other visual) is a feature of the exporter you use rather than of Org-mode itself. For example, if you are exporting to HTML, you can use the following at the top of the document: #+html_head_extra: body

Delete duplicate subtrees?

2020-08-05 Thread David Rogers
Hello I've copied text from several different sources into an org buffer, and now I find I have a large number of subtrees that are exactly the same. All headlines are at the top level, so there are no duplicates at different levels from each other - but there *are* some where the headline

Re: Website revamp?

2020-08-05 Thread TEC
Maxim Nikulin writes: -- lots of stuff -- Since we're talking about newcomers now, I think there are 2c I can share. - I started sliding down the Emacs slope early this year My - initial use case was Org, as a replacement of Jupyter (I want an - editor, not a fancy web page) - I use

Re: Website revamp?

2020-08-05 Thread Maxim Nikulin
05.08.2020 04:43, Bo Grimes wrote: best advice I found [1], and I did so by backing up my entire emacs.d and then deleting all .elc files. This worked. I've no understanding of the underlying technicalities, and I'm pretty sure I had never heard of byte-compiled files (except in the most

Bug: org-agenda-sorting-strategy priority has no effect [9.3.7 (9.3.7-16-g521d7f-elpaplus @ /Users/devil/.emacs.d/elpa/org-plus-contrib-20200803/)]

2020-08-05 Thread Adam Faryna
org-agenda-sorting-strategy priority sorting doesn't work in my setup. I have a single file for all the tasks for agenda. Its structure looks similar to this: # -*- mode: org; mode: my/org-agenda-appt -*- #+STARTUP: overview #+CATEGORY: Tasks #+ARCHIVE: ../archive/tasks_archive.org:: * Tasks

Document containing different text colours?

2020-08-05 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 In a book that I am writing, the text is white on black background which I like. But this is only the first draft, when its ready I shall go onto the second draft and then third draft, as many as necessary to polish the book before it goes to the

Re: Website revamp?

2020-08-05 Thread TEC
Thanks for stepping through your thoughts in such detail. I really appreciate it :) Maxim Nikulin writes: > On a phone I would expect to see something like > > Org mode for GNU Emacs > > - Keeping notes > - maintaining TODO lists > - planning projects > - authoring documents > > with a fast

Re: Website revamp?

2020-08-05 Thread Maxim Nikulin
04.08.2020 22:53, TEC wrote: Please, share your thoughts! It is just opinion, I am unsure even that all suggestions are consistent or reachable with reasonable efforts. Since it is you who actually is doing the work, it is your right to choose which arguments should be ignored. On a

Re: Website revamp?

2020-08-05 Thread TEC
I feel like this may be where I need to jump in with: *cough, off-topic ;) Bo Grimes writes: > On 8/5/20 6:26 AM, Eric S Fraga wrote: >>Org mode on the move is brilliant to have. > > Agree! However, because I too find screen keyboards "very annoying" and small > screens even more so,

Re: Website revamp?

2020-08-05 Thread Eric S Fraga
On Wednesday, 5 Aug 2020 at 06:17, Bo Grimes wrote: > On 8/4/20 1:54 AM, Eric S Fraga wrote: >> On Monday, 3 Aug 2020 at 10:03, to...@tuxteam.de wrote: >>> Emacs should run fine on PostmarketOS [1] [2]. Thus Org, too. >> Emacs runs perfectly fine on Android via termux and org works as well (as

Re: Website revamp?

2020-08-05 Thread Bo Grimes
On 8/5/20 6:26 AM, Eric S Fraga wrote: Org mode on the move is brilliant to have. Agree!  However, because I too find screen keyboards "very annoying" and small screens even more so, my use of Org on the move is limited to Orgzly--which is a wonderful app, but I have only one file I use,

Re: Website revamp?

2020-08-05 Thread Bo Grimes
On 8/4/20 1:54 AM, Eric S Fraga wrote: On Monday, 3 Aug 2020 at 10:03, to...@tuxteam.de wrote: Emacs should run fine on PostmarketOS [1] [2]. Thus Org, too. Emacs runs perfectly fine on Android via termux and org works as well (as does gnus!). But the issue is the keyboard. Have you