Re: #+LATEX_HEADER: \usepackage[greek,german]{babel} ??

2024-01-17 Thread Pedro Andres Aranda Gutierrez
Hi Just to document this discussion a bit more: Ihor writes: >Horst Leps writes: > >> #+latex_class: koma-article > >This is non-standard. >What is your value of org-latex-classes? There is a translation from koma-article to scrartcl in the org-latex-classes, so that is not the problem. >>

Re: Consider removing newlines from org-insert-link help message

2024-01-17 Thread Salih Muhammed
I see that the text has been updated after updating org at my end, however, the issue of the stretch persists (see attachment). My version of org is at 571186631a09262abb58ca395f75b837bbb2 Org version gives: 9.7-??-5711866 -- Regards, Salih

Re: Developing Moodle resources/sites with Org Mode

2024-01-17 Thread Edward Doolittle
Thank you for your thoughts. I have used org-mode to do all my STACK question authoring for a few years now [1]. I do all the writing in emacs and then copy/paste into the STACK textareas, test, repeat. It is not elegant, but it is easier than working in a web-browser. It would be really nice to

Re: Developing Moodle resources/sites with Org Mode

2024-01-17 Thread Denis Bitouzé
Le 17/01/24 à 19h23, Leo Butler a écrit : > I have used org-mode to do all my STACK question authoring for a few > years now [1]. I do all the writing in emacs and then copy/paste into the > STACK textareas, test, repeat. It is not elegant, but it is easier than > working in a web-browser. It

Re: [BUG] defaults make it hard to edit Elisp blocks in org buffers

2024-01-17 Thread Sébastien Miquel
Hi, The issue is that when you press return, you insert a newline, with no indentation, then call =org-indent-line= which edits the block in a native buffer. This is supposed to remove any common indentation, but there is now none. Then it reinserts the code in the org-buffer, adding a new

Re: Developing Moodle resources/sites with Org Mode

2024-01-17 Thread Leo Butler
On Wed, Jan 17 2024, Edward Doolittle wrote: > Hello everyone, > > I'm new to Org Mode but I really enjoy working with it. > > I have begun thinking about how I might use Org mode to improve the > experience of developing resources for the open source Moodle LMS or > even developing entire

[BUG] defaults make it hard to edit Elisp blocks in org buffers

2024-01-17 Thread gerard . vermeulen
* Why I do (setopt org-src-preserve-indention t) Sometimes, I want to do small Elisp edits without calling org-edit-source-code. Below, I describe a long standing bug (several years) that is also present in main. I use smartparens, but it reproduces also in a clean environment (minimal init.el)

Re: [possible patch] Remove the '\\[0pt]' string from the last line of a verse block in LaTeX export

2024-01-17 Thread Juan Manuel Macías
Ihor Radchenko writes: > If the idea with custom command does not have obvious downsides, it > might be a better option. In the previous thread, we only considered > redefining \\ itself - obviously a non-starter for environments that > re-define \\ by their own, like here. I find several

Re: #+LATEX_HEADER: \usepackage[greek,german]{babel} ??

2024-01-17 Thread Horst Leps
Horst Leps schrieb: https://www.leps.de/wp-content/uploads/rathaus8-ex3/rathaus8-ex3.pdf

Re: [possible patch] Remove the '\\[0pt]' string from the last line of a verse block in LaTeX export

2024-01-17 Thread Max Nikulin
On 17/01/2024 20:00, Ihor Radchenko wrote: \newcommand\nothing{} \newcommand{\safenewline}{\\\nothing} [...] \begin{center} \begin{tabular}{ll} [t] & s\safenewline [...] If the idea with custom command does not have obvious downsides It does for tabularray

Re: surprising(?) interaction between agenda grid and default-duration

2024-01-17 Thread Ihor Radchenko
Ihor Radchenko writes: >> As the description of org-agenda-default-appointment-duration does not >> mention the grid at all, I would think the logical improvement would be >> to let the grid alone and use the default duration as advertised only. > > Confirmed. This took a while. Fixed, on main.

Re: [POLL] Change calling convention for when `org-link-file-path-type' is set to custom function (was: Enhancement Proposal for 'org-link-file-path-type' Behavior)

2024-01-17 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I have one situation need this feature. > > Assume a file structure like bellowing: > > #+begin_example > `- folder-1 > `- file-1.org > `- folder-1.2 > ` file-1.2.1.org > #+end_example > > When I try to add link of "file-1.org" in "file-1.2.1.org", based

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2024-01-17 Thread Ihor Radchenko
Joseph Turner writes: >> May you please provide an example with an Org file containing file links >> and how you envision to transform them? Will they be transformed >> depending on the directory the Org file is located in? > > I don't want to transform the file links. The idea is that an Org

Re: [PATCH] Fix org-agenda-skip-scheduled-if-deadline-is-shown bug

2024-01-17 Thread Ihor Radchenko
Morgan Smith writes: > Maybe we could create some data-structure that represents an agenda and > allow the user to manipulate that directly. I'm not really a fan of > having a ton of variables controlling the agenda. Although I imagine I > might gain some respect for it if I tried to implement

Re: [possible patch] Remove the '\\[0pt]' string from the last line of a verse block in LaTeX export

2024-01-17 Thread Ihor Radchenko
Juan Manuel Macías writes: >> May it be better to use something like >> >> \newcommand\nothing{} >> \newcommand{\safenewline}{\\\nothing} >> >> And then use \safenewline instead of \\[0pt] >> >> In my tests, >> >> \begin{center} >> \begin{tabular}{ll} >> [t] & s\safenewline >> [I] &

Re: [PATCH] Highlight ANSI sequences in the whole buffer (was [PATCH] ANSI color on example blocks and fixed width elements)

2024-01-17 Thread Ihor Radchenko
Nathaniel Nicandro writes: > Hello, attached is another updated patch with the following changes: Thanks! > - To tackle the issue discussed previously about highlights spanning > multiple lines (or elements) being removed when a line is modified I > went ahead and used the

Re: Developing Moodle resources/sites with Org Mode

2024-01-17 Thread Fraga, Eric
This sounds very good! I am particularly impressed with being able to use maxima to create questions that have a random element. I wish I'd had what you have done back at the start of the pandemic when I had to create quizzes for my moduless. In answer to your actual question: no, I do not

Re: [DONE] Re: org-agenda + [a] generated many duplicated task entries

2024-01-17 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I reproduced the problem with `emacs -Q` and `emacs-minimal-init`. > Then I tried to Edebug on the command function `org-agenda` -> > `org-agenda-list`. > I suddenly brain come up with checking out the variable `org-agenda-files` > value. > I found it contains