Re: [BUG] Org-cycle strange behaviour in Emacs 29.0.50 [9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/)]

2022-05-10 Thread Yusef Aslam
My org-mode config: (use-package org :commands (org-capture org-agenda) :bind (("C-c l" . org-store-link) ("C-c a" . org-agenda) ("C-c c" . org-capture) ("C-c g" . org-capture-goto-file) (:map org-mode-map ("" . org-cycle) ("" . org-tree-slide-mode) ("S-" .

[BUG] Org-cycle strange behaviour in Emacs 29.0.50 [9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/)]

2022-05-10 Thread Yusef Aslam
Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2022-05-09 Package: Org mode version 9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/) I have strange behaviour in Emacs 29.0.50 and the org-cycle function inside org-mode,

citation biblatex fullcite

2022-05-10 Thread Andreas Leha
Hi all, how can I use the (rather) new citation engine with the biblatex backend to export to \fullcite ? The use-case: When creating (beamer) presentations I prefer to have the full citation on the slide rather than an abbreviation. Thanks in advance! Best, Andreas

Re: source block evaluation in #+DATE line

2022-05-10 Thread Andreas Leha
Hi Kaushal and Jeremie, Thanks for the comments. And sorry for the misleading example. I do not want to use source blocks to insert a date. In fact I want to include the current git commit hash on the title slide. So, something like this: src_sh[:exports results :results output wrap

Re: Citations using org-ref export to LaTeX incorrectly

2022-05-10 Thread Daniel Fleming
Professor Kitchin, I have submitted it here: https://github.com/jkitchin/org-ref/issues/1010 Thank you! Dan John Kitchin writes: > Can you post this as an issue at > https://github.com/jkitchin/org-ref/issues? > > Thanks. > > On Tue, May 10, 2022 at 8:36 PM Daniel Fleming wrote: > >>

ivy-done and "Unregistered buffer modifications detected"

2022-05-10 Thread William Denton
I was fiddling with my init file and something with pdf-tools blew up and initialization went wrong and I lost my desktop history list of buffers I always have open. When I fixed the problem (by dropping pdf-tools, which I realized I never used), I had to load all the files I like to have

Re: Citations using org-ref export to LaTeX incorrectly

2022-05-10 Thread John Kitchin
Can you post this as an issue at https://github.com/jkitchin/org-ref/issues? Thanks. On Tue, May 10, 2022 at 8:36 PM Daniel Fleming wrote: > Hello, > > I initially posted this to the Emacs StackExchange, but it was suggested > I might get more traction on the mailing list. > > I am writing my

Citations using org-ref export to LaTeX incorrectly

2022-05-10 Thread Daniel Fleming
Hello, I initially posted this to the Emacs StackExchange, but it was suggested I might get more traction on the mailing list. I am writing my dissertation in org-mode with org-ref to handle citations. I can not get a multi-source multi-note citation to export correctly. Following the

Re: org-agenda todos list sorted by earliest deadline first

2022-05-10 Thread Sébastien Gendre
So, I updated to Org-mode 9.5.3 from ELPA and the problem is gone. Now, I get the tasks in the agenda in the correct order: Earliest deadlines firsts, on top of the tasks list, then the tasks without deadlines. The only option I have to set is: ``` (setq org-agenda-sorting-strategy '((agenda

[oc] multiple cite_export keywords for multiple export processors?

2022-05-10 Thread Bruce D'Arcus
I just saw a post on reddit that reminded me of this issue. User wants to use the oc-biblatex export processor for latex export, but otherwise use oc-csl. They want to specify styles for each. This isn't possible currently; one has to modify the org source file for each export target. Is there

Re: source block evaluation in #+DATE line

2022-05-10 Thread Kaushal Modi
Also check out the {{{time}}} macro if you want complete control on the formatting of the date string. Example Org snippet: = #+date: {{{time(%Y-%m-%d)}}} #+options: toc:nil author:nil See the ~{{{time}}}~ macro in [[info:org#Macro Replacement][org#Macro Replacement]]. The format passed to

Re: source block evaluation in #+DATE line

2022-05-10 Thread Jeremie Juste
Hello Andreas, On Tuesday, 10 May 2022 at 13:50, Andreas Leha wrote: > Hi all, > > how can I have a source block result in a #+Date line? > > I am creating a beamer presentation. While the code works and the > results get exported nicely at any other position, in the #+Date line > only the code

Re: [PATCH] New LaTeX code export option: engraved

2022-05-10 Thread Sébastien Miquel
Hi, Timothy writes:  2. `minted` supports a `mathescape` option to render math content     inside code. `fvextra` supports the same option, but maths     characters are escaped by engrave-faces-latex-face-mapper. I’l also take a look at this:) Implemented in engrave-faces-latex, but not

Re: [PATCH] New LaTeX code export option: engraved

2022-05-10 Thread Timothy
Hi Sebastien, >>  1. engrave-faces-generate-preset generates emacs colors such as >>     `:foreground “grey70”` which are not supported by >>     engrave-faces-latex-gen-preamble-line and co. > > I’ll see if I can incorporate this into engrave-faces v0.3.1. Done. >>  2. `minted` supports a

Re: [how to joint column/rows of tables that are in different files (id?)] (was: how to best correct exams (code matlab) using org mode (and tables))

2022-05-10 Thread John Kitchin
Can you make a temporary org-buffer that copies all those tables into one place, and then join them? Uwe Brauer writes: > I think I almost have a working workflow. > > What I need is a functionality to join either columns or rows of tables > that are in different files. > > Here is what I have

Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-05-10 Thread Kaushal Modi
On Mon, May 9, 2022 at 5:44 PM Kaushal Modi wrote: > > I have now sent this to Emacs bug tracking: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342 Thanks for the debug[1] Ihor! This issue was quickly fixed on Emacs master in

bug#55342: 29.0.50; org-cite-basic--get-field: Wrong value for ENTRY-OR-KEY: nil

2022-05-10 Thread Kaushal Modi
done 55342 On Tue, May 10, 2022 at 1:06 AM Lars Ingebrigtsen wrote: > > Ihor Radchenko writes: > > > The code above always skips a bibtex entry starting at bob. > > Hence, the provided example bibliography is parsed as empty, which is > > not expected by Org. > > This should now be fixed on the

Re: [PATCH v4] org-encode-time compatibility and convenience helper

2022-05-10 Thread Max Nikulin
On 05/05/2022 22:22, Max Nikulin wrote: On 04/05/2022 16:56, Ihor Radchenko wrote: Max Nikulin writes: Resetting timezone to UTC should be fixed in timestamps generated by a testing helper function. I was disappointed that `mapcar' can not be used with multiple lists, but I have found an old

bug#55342: 29.0.50; org-cite-basic--get-field: Wrong value for ENTRY-OR-KEY: nil

2022-05-10 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: Kaushal Modi , 55...@debbugs.gnu.org > Date: Tue, 10 May 2022 12:52:52 +0800 > > Eli Zaretskii writes: > > >> From: Kaushal Modi > >> Date: Mon, 9 May 2022 17:41:32 -0400 > >> > >> Exporting an Org file with citations on Emacs 29 now throws the error > >> "Wrong

source block evaluation in #+DATE line

2022-05-10 Thread Andreas Leha
Hi all, how can I have a source block result in a #+Date line? I am creating a beamer presentation. While the code works and the results get exported nicely at any other position, in the #+Date line only the code is exported. Here is the MWE: - #+TITLE: MWE

A function that converts a LaTeX document to an Elisp expression (for org-latex-classes)

2022-05-10 Thread Juan Manuel Macías
Hi all, In case anyone finds it useful, I'm sharing this function here that I recently wrote, to convert a LaTeX buffer to an Elisp expression, suitable for adding to `org-latex-classes'. It's a bit rudimentary, but I think it does the trick. It can be useful for long preambles with a lot of

Re: how to transpose a table but not deleting the horizontal lines

2022-05-10 Thread tbanelwebmin
The orgtbl-arggregate package (on Melpa and GitHub) does that. Horizontal lines are converted to empty columns. Transposing again recreates the original horizontal lines. Beware, as opposed to org-table-transpose-table-at-point, it does not modify the source table,

Re: [PATCH] (v2) New LaTeX code export option: engraved

2022-05-10 Thread Max Nikulin
On 09/05/2022 19:57, Timothy wrote: Before merging, could you also try to implement tests at least for engraved feature? If I recall correctly, we do not currently have backend-specific tests. But it would certainly help if we did. You might as well write a small “nucleus” test for ox-latex.

[BUG] org-babel-load-file can not compile file

2022-05-10 Thread Max Nikulin
Consider the following file ex-ob-load-file.org: >8 #+begin_src emacs-lisp (defun ex-org-babel-load-file (msg) (message "From tagled file: %s" msg)) #+end_src [[elisp:(org-babel-load-file "ex-ob-load-file.org" t)]] 8< Try to follow the link at the end of file or just

Re: how to transpose a table but not deleting the horizontal lines

2022-05-10 Thread tomas
On Tue, May 10, 2022 at 08:49:15AM +0200, Uwe Brauer wrote: > > Hi > > >From the docstring of > org-table-transpose-table-at-point is > Transpose Org table at point and eliminate hlines. > > Does anybody know about a, maybe, 3rd party packages that transpose the > table but leaves the

[how to joint column/rows of tables that are in different files (id?)] (was: how to best correct exams (code matlab) using org mode (and tables))

2022-05-10 Thread Uwe Brauer
I think I almost have a working workflow. What I need is a functionality to join either columns or rows of tables that are in different files. Here is what I have in mind for tables that are in the same file ** Columns #+NAME: T1 | col1 | col2 | |1 | 2| #+NAME: T2 | col3 | | 3|

how to transpose a table but not deleting the horizontal lines

2022-05-10 Thread Uwe Brauer
Hi >From the docstring of org-table-transpose-table-at-point is Transpose Org table at point and eliminate hlines. Does anybody know about a, maybe, 3rd party packages that transpose the table but leaves the horizontal lines intact? Regards Uwe Brauer -- I strongly condemn Putin's war