Re: org-->latex and beamer, avoid blocks

2024-01-18 Thread General discussions about Org-mode.
>>> "FE" == Fraga, Eric writes: > On Thursday, 18 Jan 2024 at 16:40, Uwe Brauer via "General discussions > about Org-mode." wrote: >> Any suggestion how to tell the converter not convert >> >> *** First step >> >> To a block? > Add the :B_ignoreheading: tag and the following property to the

[PATCH] Silently remove lockfiles from org-agenda-files

2024-01-18 Thread Joseph Turner
My configuration contains the equivalent of (setopt org-agenda-files (directory-files-recursively "~/.local/share/org/todo" ".org$")) My Emacs setup broke today due to the presence of a lockfile inside "~/.local/share/org/todo". I use EXWM, and I show org-agenda on startup: (add-hook

Re: Patch to allow adjusting latex fragment display scale factor

2024-01-18 Thread Matt Huszagh
Hi, Bringing this back up. Ihor, I've added you to the thread directly (hope that's ok). Any thoughts? I have not yet updated it for the most recent changes to main, but I can do that. Matt On Sun, Oct 10, 2021 at 9:40 PM Matt Huszagh wrote: > > Matt Huszagh writes: > > > I've created a

Re: [Patch] Align baseline of latex fragments and surrounding text

2024-01-18 Thread Matt Huszagh
Ihor Radchenko writes: > Matt Huszagh writes: > >> These are nice ideas, and ones I hadn't considered. Thanks for the >> suggestions! I'll think about it a bit and may modify the patch >> accordingly. > > May I ask if you further considered changing the patch? Hey Ihor, I'm sorry for the late

Re: export to latex (article) but with multicolums

2024-01-18 Thread Ihor Radchenko
Uwe Brauer via "General discussions about Org-mode." writes: > https://orgmode.org/worg/exporters/beamer/tutorial.html > > It is possible to have multicolumns in beamer. > > Now I am writing a bilingual text, and would have each language in a column. > > Is there any similar configuration

Re: org-->latex and beamer, avoid blocks

2024-01-18 Thread Fraga, Eric
On Thursday, 18 Jan 2024 at 16:40, Uwe Brauer via "General discussions about Org-mode." wrote: > Any suggestion how to tell the converter not convert > > *** First step > > To a block? Add the :B_ignoreheading: tag and the following property to the headline: :PROPERTIES: :BEAMER_env:

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

2024-01-18 Thread Ihor Radchenko
gerard.vermeu...@posteo.net writes: >> I cannot think of any common use where the two approches differ, and >> it is indeed simpler. The possibility that the block does not have the >> common indentation still stands. > > As far as I understand, the effect also occurs when the block has a >

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

2024-01-18 Thread gerard . vermeulen
On 18.01.2024 17:45, Sébastien Miquel wrote: Ihor Radchenko writes: If I recall correctly, in order to fix this, in =org-indent-line=, before calling =TAB= in the native buffer, one should check the current line indentation and if it is less than =block-content-ind=, start by adding this

Re: Developing Moodle resources/sites with Org Mode

2024-01-18 Thread Leo Butler
On Thu, Jan 18 2024, Edward Doolittle wrote: > 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

Re: Developing Moodle resources/sites with Org Mode

2024-01-18 Thread Brett Presnell
> 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 Moodle sites. Nice idea. You might find it useful to look into the source code for the R/Exams package for R

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

2024-01-18 Thread Sébastien Miquel
Ihor Radchenko writes: If I recall correctly, in order to fix this, in =org-indent-line=, before calling =TAB= in the native buffer, one should check the current line indentation and if it is less than =block-content-ind=, start by adding this much indentation to the current line. This could

export to latex (article) but with multicolums

2024-01-18 Thread General discussions about Org-mode.
Hello According to https://orgmode.org/worg/exporters/beamer/tutorial.html It is possible to have multicolumns in beamer. Now I am writing a bilingual text, and would have each language in a column. Is there any similar configuration possible for exporting to LaTeX (article)? Thanks and

Re: Fwd: [BUG] Sparse tree does not work on properties with dashes

2024-01-18 Thread Ihor Radchenko
Ihor Radchenko writes: >> Expected behaviour: produce a sparse tree. >> >> Actual result: no sparse tree. > > Thanks for reporting! > Confirmed. > > This is because `org-sparse-tree' will produce the following matcher: > > TEST-HELLO="one" > > Which is interpreted as: Has tag "TEST" and

org-->latex and beamer, avoid blocks

2024-01-18 Thread General discussions about Org-mode.
Hi I have a longer documents with a lot of graphics, and the following setting: #+OPTIONS: H:2 So that ** Introduction Will be converted to a frame, while if converted to LaTeX (article) it will be converted to a subsection. Now I also have subsubsections like *** First step

Re: S-M-{,} on CLOCK timestamp

2024-01-18 Thread Ihor Radchenko
Jorge P. de Morais Neto writes: > A textual description: > > ... > The bug is that M-S- adjusts Task B clock in timestamp by x > minutes and Task A clock out timestamp by 5 minutes, where x (in our > case, x is 4) is not 5. And in my opinion, Task A clock out timestamp > *should not change at

[FR] Transfer export attributes from dynamic block to its first child (was: Bug: clocktable)

2024-01-18 Thread Ihor Radchenko
writes: > J’ai un soucis avec le clocktable qui semble être un bug car il n’accepte > pas les attributs latex avant la ligne BEGIN: > #+ATTR_LATEX: :align Xll :width \textwidth > #+BEGIN: clocktable :scope file :maxlevel 2 This is a commonly reported problem - when using dynamic blocks (in

Re: Developing Moodle resources/sites with Org Mode

2024-01-18 Thread Christian Moe
Hi, Edward Edward Doolittle writes: > 2) Development of Moodle glossaries. Glossaries can be uploaded to a > Moodle site using an appropriate XML file. Glossaries could be > developed in Org mode, including JSXgraph diagrams and graphs, PNG > images, and so on, and then Org mode converted to

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

2024-01-18 Thread Ihor Radchenko
Juan Manuel Macías writes: >> As for {[}{]}, it is a bit difficult to implement. Especially when we >> also consider user filters and derived backends. If we have several >> transcoders of consequent elements, there is always a risk that even >> when a given filter/transcoder is generating a

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

2024-01-18 Thread Ihor Radchenko
Salih Muhammed writes: > 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 Org does not add any extra

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

2024-01-18 Thread Ihor Radchenko
Sébastien Miquel writes: > 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

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

2024-01-18 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >>ox-latex tries hard to not duplicate babel. I am unable to reproduce >>duplication with your file (but with #+latex_class: koma-article removed) > > Despite this, there is a repetition, and the clash is because ox-latex > wants ngerman wiith > #+language:

[FR] Tangling code blocks inside encrypted subtrees

2024-01-18 Thread Ihor Radchenko
Hello, Currently, Org mode never tangles code blocks when they reside inside encrypted subtrees. Never means that such code blocks will _not_ be tangled even if encrypted subtree is temporarily decrypted via org-decrypt-entry/org-decrypt-entries in the current buffer. The current approach is