Latex highlighting for org-mode

2021-06-23 Thread Christopher Dimech
Would it be possible for org-mode to have syntax highlighting for latex commands? Currently I have to change mode with "M-x latex-mode" to get the highlighting.

Using b6paper for pdf output

2021-06-23 Thread Christopher Dimech
Am using org-mode with latex commands but need to have the page as b6paper.

getting "before first headline at position xxx in buffer *Org Note*" when clocking out

2021-06-23 Thread Dave D
Hi all, I recently started getting the message "before first headline at position xxx in buffer *Org Note*" when clocking out items. After much frustration and testing I've summarized these steps to reproduce the issue. 1. Download https://orgmode.org/org-9.4.6.tar.gz and extract to ~/org-9.4.6

[PATCH] ob-R output file with graphics parameter

2021-06-23 Thread Jeremie Juste
Hello, With the following patch the link to graphics output is finally back on with R source code. Note that on top of the "graphics" parameter the "file" parameter have to be used for the org-link to work out of the box. I will try to remove the need for a second "file" parameter in the future.

Re: appearance of list as results from evaluating code blocks

2021-06-23 Thread George Mauer
What about :results code The default is a elisp code block so you get syntax coloring On Wed, Jun 23, 2021, 16:22 Rodrigo Morales wrote: > Johannes Brauer writes: > > Johannes Brauer writes: > > > thanks, that works > > While that works, you might be interested in ":results verbatim" instead >

Re: appearance of list as results from evaluating code blocks

2021-06-23 Thread Rodrigo Morales
Johannes Brauer writes: Johannes Brauer writes: > thanks, that works While that works, you might be interested in ":results verbatim" instead of ":results raw" since when using "verbatim" the results are replaced when re-evaluating the code block. See minimal working example below. After

Re: appearance of list as results from evaluating code blocks

2021-06-23 Thread Rodrigo Morales
Johannes Brauer writes: Johannes Brauer writes: > thanks, that works While that works, you might be interested in ":results verbatim" instead of ":results raw" since when using "verbatim" the results are replaced when re-evaluating the code block. See minimal working example below. After

Re: appearance of list as results from evaluating code blocks

2021-06-23 Thread Johannes Brauer
Hi Juan Manuel, thanks, that works Best regards Johannes > Am 23.06.2021 um 21:43 schrieb Juan Manuel Macías : > > Hi Johannes, > > Johannes Brauer writes: > >> Hi! >> Evaluating a code block containing a list expression using org-babel for >> elisp or Clojure, for example >> (list 1 2 3)

Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-06-23 Thread Bruce D'Arcus
Cool! We should also get pandoc to support updated org-cite syntax. https://github.com/jgm/pandoc/issues/7329 On Wed, Jun 23, 2021, 12:57 PM Anders Johansson wrote: > Hi all, > I appreciate the work done on the cite functionality! > I use zotero for managing my library and have previously

[wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-06-23 Thread Anders Johansson
Hi all, I appreciate the work done on the cite functionality! I use zotero for managing my library and have previously used zotxt and org-zotxt (along with some additions in my zotxt-extra library) for being able to cite in org-mode and export correctly to various formats.

Re: appearance of list as results from evaluating code blocks

2021-06-23 Thread Juan Manuel Macías
Hi Johannes, Johannes Brauer writes: > Hi! > Evaluating a code block containing a list expression using org-babel for > elisp or Clojure, for example > (list 1 2 3) > I get > #+RESULTS: > | 1 | 2 | 3 | > I would prefer > #+RESULTS: > ( 1 2 3 ) > > Is it possible to get this. Try

Re: Large source block causes org-mode to be unusable

2021-06-23 Thread Gennady Uraltsev
Hello Everyone, I wanted to chime in to say I encountered a very similar problem. I author my math papers in LaTeX but I really wanted to use org to have an interconnected corpus of math notes with definitions, proofs, ideas, attempted computations, etc. Then they could be exported to LaTeX or

appearance of list as results from evaluating code blocks

2021-06-23 Thread Johannes Brauer
Hi! Evaluating a code block containing a list expression using org-babel for elisp or Clojure, for example (list 1 2 3) I get #+RESULTS: | 1 | 2 | 3 | I would prefer #+RESULTS: ( 1 2 3 ) Is it possible to get this. I am using Aquamacs 3.5nightly GNU Emacs 25.3.50.1

Re: [PATCH] extra space at the end of lines in source

2021-06-23 Thread Sébastien Miquel
Greg Minshall writes: - the next time i open the Org Src buffer, whatever lint-like process is running for that language may complain about extra spaces at the end of a line. (does that mean my experience is different from yours, or at least from your expectation?) If I try your

Re: Large source block causes org-mode to be unusable

2021-06-23 Thread Maxim Nikulin
On 22/06/2021 19:32, Léo Ackermann wrote: I suggest that special block in LateX export (https://orgmode.org/manual/Special-blocks-in-LaTeX-export.html) may be treated differently. Generally I agree with you that #+begin_proof should be a thin wrapper unlike a source code block. However I

[SOLVED] (kinda) Calendar vs. org-agenda exit

2021-06-23 Thread tomas
On Wed, Jun 23, 2021 at 05:28:36PM +0200, to...@tuxteam.de wrote: [calendar insert-diary-entry doing funny things] OK, I solved it by setting `org-calendar-insert-diary-entry-key' to [106], which is a ?j. It was set to ?i, which hijacked calendar's original key map. Now I still don't know

Re: org-agenda no longer clocks out then in

2021-06-23 Thread Marco Wahl
torys.ander...@gmail.com (Tory S. Anderson) writes: > For years my workflow has centered in org-agenda and I would go from > one clocked item to the next. For instance, I would be clocked into > my "Emails" task, which never closes, and then eventually move down in > the agenda to "Task B". Then

Re: Calendar vs. org-agenda exit

2021-06-23 Thread tomas
On Wed, Jun 23, 2021 at 05:16:50PM +0200, Marco Wahl wrote: > Hi. > > > is org mode rebinding keys in the calendar? > > Yes. "c" calls the Org agenda. > > "i" in the calendar calls org-agenda-diary-entry when > org-agenda-diary-file has been configured. (See function >

Re: Calendar vs. org-agenda exit

2021-06-23 Thread Marco Wahl
Hi. > is org mode rebinding keys in the calendar? Yes. "c" calls the Org agenda. "i" in the calendar calls org-agenda-diary-entry when org-agenda-diary-file has been configured. (See function org--setup-calendar-bindings.) > I ask, because I've been using traditional calendar+diary; now, >

org-agenda no longer clocks out then in

2021-06-23 Thread Tory S. Anderson
For years my workflow has centered in org-agenda and I would go from one clocked item to the next. For instance, I would be clocked into my "Emails" task, which never closes, and then eventually move down in the agenda to "Task B". Then I hit C-x TAB to clock in. It correctly queries for a

Re: An attempt to convert Elfeed entries (with parameters) to Org trees

2021-06-23 Thread Ihor Radchenko
Juan Manuel Macías writes: > Hi all, > > I like to keep up to date with new LaTeX packages that are being > uploaded to CTAN and I'm subscribed to the CTAN news feed. I always use > Elfeed to check my subscriptions, but it occurred to me to write a > function (with org-map-entries) to be able to

Calendar vs. org-agenda exit

2021-06-23 Thread tomas
Hi, is org mode rebinding keys in the calendar? I ask, because I've been using traditional calendar+diary; now, when I try to insert an entry (i-d in calendar), I get "Wrong type argument: commandp, org-agenda-diary-entry" The following experiment points in Org's general direction: -

Re: table: problem with nan and if

2021-06-23 Thread Uwe Brauer
> Uwe Brauer writes: > Could you write the formulas in lisp instead? You might be able to control > things more easily: Aha, that I will try. Thanks for pointing it out. So it seems that my question is not trivial. smime.p7s Description: S/MIME cryptographic signature

Adding a goto-heading protocol to org-protocol

2021-06-23 Thread Allen Li
I have a feature request that I'm wondering whether it would be suitable. The idea is to add a new protocol that looks like "org-protocol://goto-heading?id=UUID-HERE" that jumps to the specified Org heading in Emacs. The implementation is really simple: ;;;###autoload (defun goto-heading (arg)

Re: extra space at the end of lines in source

2021-06-23 Thread Tim Cross
Greg Minshall writes: > Sébastien Miquel, > > i do think the default should be to *not* add these spaces. if > possible. > +1 Org (and Emacs more generally) should not add additional spaces unless they are required (for example, to make code syntactically correct) or the user has requested