Re: [DISCUSSION]: LaTeX - include the xcolor package in the packages list

2024-09-09 Thread Pedro Andres Aranda Gutierrez
Ahh, sorry... Look at the docstring for `org-latex-engraved-preamble', for example. And then, there are other places where it is not mentioned explicitly, but not including it may result in a compilation error (`org-latex-listings-src-omit-language', for example) It could also help a lot in `org-l

Re: [DISCUSSION]: LaTeX - include the xcolor package in the packages list

2024-09-09 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Ahh, sorry... > > Look at the docstring for `org-latex-engraved-preamble', for example. That's not relevant. When engraved is used, we automatically include xcolor. > ... And > then, there are other places where it is not mentioned explicitly, but not > i

Re: Customising LaTeX packages in org-latex-default-packages-alist

2024-09-09 Thread Joost Kremers
On Sat, Sep 07 2024, Pedro Andres Aranda Gutierrez wrote: > I' m on Emacs 30.0.90 and using use-package for org (9.7) and other emacs > stock packages. > I add the following in my :custom section [...] > instead of touching org-latex-default.packages-alist. Did that before for > specific packages a

Re: Customising LaTeX packages in org-latex-default-packages-alist

2024-09-09 Thread Joost Kremers
On Sun, Sep 08 2024, Ihor Radchenko wrote: > Joost Kremers writes: > >> So that made me wonder; is there a different (better) way of configuring >> the packages in `org-latex-default-packages-alist`? > > https://orgmode.org/worg/org-tutorials/org-latex-export.html#org67ae7f0 Thanks, I hadn't thou

Re: Playing RPG game with org-mode

2024-09-09 Thread Dr. Arne Babenhauserheide
c4droid writes: > and Ironsworn. I want some guidence for playing RPG game in org-mode, > like creating character sheet, roll dice, creating module, etc. Have any > idea? Do you mean using org-mode to help playing RPG games or to actually play computer RPGs inside org-mode? I use org-mode to cre

Re: Playing RPG game with org-mode

2024-09-09 Thread Pedro
Some time ago I saw this, which might inspire you this talk in the emacsconf from 2023 [0] While researching it, I also found a 2-hour streaming from the great David Wilson (2021) [0] https://emacsconf.org/2023/talks/adventure/ [1] System Crafters Live! - Text Adventuring in Emacs https://w

Re: strange behaviour with $PROP_r1 value in a table

2024-09-09 Thread Rens Oliemans
Ihor Radchenko writes: > I just tried > > #+property: r1 0.96 > > | value | 0.96 | > #+TBLFM: @1$2=$PROP_r1 > > followed by C-c C-c on TBLFM line, and I cannot reproduce. Indeed, when simply executing the formula nothing goes wrong. You highlighted it below, the "problem" occurs via `org-table-

[PATCH] Add repeat-map for navigation commands

2024-09-09 Thread Visuwesh
Ihor says: > - visuwesh asked whether Org mode could have repeat maps for outline > navigation in Org mode (C-c C-n n n p n p ..., C-c C-f b f...) > - Such functionality has been added to outline-mode upstream > - Patches for Org mode equivalent are indeed welcome > - They do not even hav

Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent

2024-09-09 Thread Ihor Radchenko
pinmacs writes: > I changed it to Fira Code Retina with this command =(set-frame-font > "Fira Code Retina" nil t)= ( see file 2024-09-09_18-11_fira-code.png ) > > As you see in the attached screen captures, I have the same problem with > both fonts, what font do you use? Did you re-align the t

Re: [BUG] ob-gnuplot: Recursive ‘require’ for feature ‘ox’ [9.7.8 (N/A @ /gnu/store/bj2bsz76f14n3vfnkv556s8f1x66m9in-emacs-org-9.7.8/share/emacs/site-lisp/org-9.7.8/)]

2024-09-09 Thread Ihor Radchenko
Ihor Radchenko writes: > "Dr. Arne Babenhauserheide" writes: > >> With (gnuplot .t) in >> '(org-babel-load-languages >>'((C . t) (R . t) (asymptote) (awk) (calc) (clojure) (comint) (css) >> (ditaa . t) (dot . t) (emacs-lisp . t) (fortran) (gnuplot . t) >> (haskell) (io) (java) (js

Re: BUG: after an org-capture to an inbox entry, statistics-cookies are not updated on certain circumstances

2024-09-09 Thread pinmacs
On 2024-09-08 20:10, Ihor Radchenko wrote: pinm...@cas.cat writes: I am living with this bug since a long time, I thought I was asking maybe something very special. But then I find on a org-capture that goes to an inbox entry: 1. if prepend is nil, does not work on the first time (?) 2. works

Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent

2024-09-09 Thread pinmacs
On 2024-09-09 18:19, Ihor Radchenko wrote: pinmacs writes: I changed it to Fira Code Retina with this command =(set-frame-font "Fira Code Retina" nil t)= ( see file 2024-09-09_18-11_fira-code.png ) As you see in the attached screen captures, I have the same problem with both fonts, what font

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-09-09 Thread Ihor Radchenko
Orm Finnendahl writes: >> It should probably work for single page as well. I do not see why >> not. > > sure it works. I just question the raison d'etre, when single page > search is already integrated into webbrowsers. But as always there > will be people arguing that it is necessary to have a

Re: [PATCH v3] Inline image display as part of a new org-link-preview system

2024-09-09 Thread Ihor Radchenko
Karthik Chikmagalur writes: >>> Do you mean something like this? >>> >>> (while (re-search-forward org-link-any-re end t) >>> ;; Make overlay ov here >>> ;; Find path, link and preview-func here >>> >>> (push (list ov preview-func path link) previews-remaining)) >>> >>> (dolist (preview-dat

Re: [PATCH] Add repeat-map for navigation commands

2024-09-09 Thread Ihor Radchenko
Visuwesh writes: > Sorry for the month long delay. I was busy with uni stuff so could not > find the time to invest into this properly. No problem. > ... I've attached a patch which > adds a repeat-map to org-keys.el but this pointed out that org-mode > lacks a org-up-heading command so I've r

[POLL] Mark all the tags in HTML export with unique class (was: Adding a class to the auto-inserted elements)

2024-09-09 Thread Ihor Radchenko
We are discussing the way Org formats HTML tags in HTML export. Some of the tags added by Org are simply bare tags, like below. Low-level heading The suggestion is to add a unique class to each tag produced by Org HTML export, so that CSS rules can precisely target various tags. For example,

Re: Adding a class to the auto-inserted elements

2024-09-09 Thread Ihor Radchenko
>> But there is nothing wrong on Org side per se, right? > > I don't think so. The fact that ox-html inserts a there with no way > for me as the user to disable this, in my view, bad. It's not a totally > unreasonable default, but it shouldn't be required. It makes sure that we do not put the h

Re: Change behavior of "org-babel-tangle-publish" from org 9.6 to 9.7 -- deleting source files and not tangling properly

2024-09-09 Thread Ihor Radchenko
Gilles Marait writes: > I encountered a change of behavior since org version 9.7 than removes > my source files instead of tangling them at the correct location, using > "org-babel-tangle-publish". > > I have not found in the changelog any description of something that > could explain this change

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-09-09 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> Also, what about `org-export-collect-headlines'. It also ignores >> numeric value of :with-toc. > > Fixed. Thank you for letting me know! I am exporting only to HTML, > where Org-generated top-level menus do not appear. So, I missed it. > > P.S. I also fixed the inc

Re: [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-09-09 Thread Ihor Radchenko
Lourens van der Vliet writes: > Emacs freezes upon opening the hours,org file. > This version comes up with a parser error, however this file has been > used and worked on at 7 july 2024. This file has been used after the > holidays up to 26 august 2024. Then at 28 august the file could not be >

Re: What does "Deleting bad index entry" mean on save-buffers-kill-emacs?

2024-09-09 Thread Ihor Radchenko
Gregor Zattler writes: > Dear org-mode developers, when shutting > down Emacs with save-buffers-kill-emacs, > I sometimes see shortly as the last > thing in the echo area "Deleting bad > index entry." And before some message > about wrong type of sth. I cannot read so > fast. > > Is there anyth

Re: [bug] org-num doesn't insert numbering for all headlines when setting variable

2024-09-09 Thread Ihor Radchenko
Rodrigo Morales writes: > Consider the following file. > ... > I evaluated the following sexp using M-: (eval-expression) while being > in the buffer =a.org=. > > #+BEGIN_SRC elisp > (progn > (require 'org-num) > (setq org-num-skip-commented t) > (org-num-mode 1) > (setq org-num-skip-comm

Re: [BUG] yank caused org error in org-columns [9.7.10 (release_9.7.10 @ /usr/share/emacs/31.0.50/lisp/org/)]

2024-09-09 Thread Ihor Radchenko
Panayotis Manganaris writes: > I am sending this report at the request of org's built in monitor. org mode > recovered gracefully and did not inconvenience me. > > I have attached my configuration state report. > ... Thanks for reporting! It looks like you encountered a bug in the parser. If y

Re: [BUG] Speed command for rot13-region

2024-09-09 Thread Ihor Radchenko
Kepa writes: > Something strange happens when trying to set the following as a speed command: > ("c" . rot13-region) > > In my customized Emacs, a warning appears. > > In Emacs -q, first it doesn't do anything if no region is active. Then, it > affects a headline where there is not the point, an

Re: Inconsistent org-sort numeric

2024-09-09 Thread Ihor Radchenko
Kepa writes: > It seems inconsistent, org-sort numeric. > If org-sort numeric is applied to each of these one level headlines, the > order is different in both (tested with emacs -q): > > > * Inconsistent org-sort. M-x org-sort numeric > ** !Cuatro > ** ~Cinco > ** Tres > ... > > ** Tres > ** !C

Re: [BUG] results from org-prepare-dblock make clocktable unusable

2024-09-09 Thread Ihor Radchenko
"Mark A. Hershberger" writes: >> #+BEGIN: clocktable :match tag >> #+END: > > Hiting C-c C-c with point on #+BEGIN results in “Invalid match tag: tag”. > > This is from the first line of code in org-tags-expand: > (unless (org-string-nw-p match) (error "Invalid match tag: %S" match)) > > Trac

Re: Speed up adding footnotes?

2024-09-09 Thread Ihor Radchenko
Sharon Kimble writes: > I'm converting a website into org-mode, then latex, and finally a pdf file. > > But I'm having problems adding articles in the middle of the main page, > specifically adding footnotes. At its longest period it took almost 3 minutes > to add one footnote! > > (To insert a

Re: [BUG] results from org-prepare-dblock make clocktable unusable

2024-09-09 Thread Mark A. Hershberger
Ihor Radchenko writes: > You need to put tag into quotes. > I guess we may document this, but I am not sure where. I did figure this out and meant to follow up. As far as documentation, in the infodoc under "7.5.3 Capturing column view", we have this: ‘:match’ When set to a string

Re: [PATCH v3] Inline image display as part of a new org-link-preview system

2024-09-09 Thread Karthik Chikmagalur
> Hmm... Not sure. I feel that we are going too far. > Maybe we should use org-pending > > after it is finalized. Interesting, I didn't know about org-pending. At first I thought this would overlap with the org-async, the proc

Re: [PATCH v3] Inline image display as part of a new org-link-preview system

2024-09-09 Thread Karthik Chikmagalur
>> ... >> Do you mean something like this? >> >> (while (re-search-forward org-link-any-re end t) >> ;; Make overlay ov here >> ;; Find path, link and preview-func here >> >> (push (list ov preview-func path link) previews-remaining)) >> >> (dolist (preview-data-chunk (seq-partition previews-

Re: [PATCH] Add repeat-map for navigation commands

2024-09-09 Thread Karthik Chikmagalur
>> From 8b980efcd9497e395f4d82a1304267ae4426b00d Mon Sep 17 00:00:00 2001 >> From: Visuwesh >> Date: Mon, 9 Sep 2024 19:46:47 +0530 >> Subject: [PATCH] Add repeat-mode keymap for navigation commands >> >> * org-keys.el (org-navigation-repeat-map): Add repeat-map to make >> navigation easier when r

Feature mostly complete

2024-09-09 Thread Ryan Leman
So I wanted a timer that can take several times and in sequence complete each timer. This is especially useful for things such as studying where you might want a timer for studying then another right after for the break without having to run the same command again. So this simply takes in text inp

Re: [PATCH] Add repeat-map for navigation commands

2024-09-09 Thread Visuwesh
[திங்கள் செப்டம்பர் 09, 2024] Ihor Radchenko wrote: >> ... I've attached a patch which >> adds a repeat-map to org-keys.el but this pointed out that org-mode >> lacks a org-up-heading command so I've resorted to using >> outline-up-heading. > > It is not the only one. But outline version should al