Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink

2024-03-14 Thread Leo Butler
be "any of" in that last sentence. -- How about the attached patch? The previous org file exports in the same way, and exporting just the final heading shows that no newenvironment is emitted. Leo From 22d829089fc2ca153f1541abe1d5415d311b33d3 Mon Sep 17 00:00:00 2001 From: Leo Butler

Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink

2024-03-16 Thread Leo Butler
On Fri, Mar 15 2024, Ihor Radchenko wrote: > Leo Butler writes: > >>> Leo, may you improve the patch to avoid defining >>> `org-beamer-frame-environment' when it is not used in all the frames? >> >> "all the" should be "any of" i

Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink

2024-03-16 Thread Leo Butler
On Sat, Mar 16 2024, Leo Butler wrote: > On Fri, Mar 15 2024, Ihor Radchenko wrote: > >> Leo Butler writes: >> >>>> Leo, may you improve the patch to avoid defining >>>> `org-beamer-frame-environment' when it is not used in all the frames? &g

Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink

2024-03-17 Thread Leo Butler
On Sun, Mar 17 2024, Ihor Radchenko wrote: > Leo Butler writes: > >>>> I'd prefer to keep this information in the INFO channel. >>>> It will be more consistent. >> >> Apologies, I messed up the patch in the previous email. >> >&

Re: MathML and ODT export: inline possible?

2024-04-18 Thread Leo Butler
On Thu, Apr 18 2024, "Fraga, Eric" wrote: > Hello all, > > I am having (for my sins) to write some Word documents. I don't even > have Word on my system but that's by the by. The documents have some > mathematical expressions. In the past, I have used LaTeX to create > images of these expressi

Re: orgmode tables

2024-04-22 Thread Leo Butler
(info "(org)Built-in Table Editor") ‘M-S-’ (‘org-table-insert-column’) Insert a new column at point position. Move the recent column and all cells to the right of this column to the right. Leo On Mon, Apr 22 2024, Jude DaShiell wrote: > when making a table in orgmode, I forgot to ad

Re: orgmode tables

2024-04-22 Thread Leo Butler
> "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. > Please use in that order." > Ed Howdershelt 1940. > > On Mon, 22 Apr 2024, Leo Butler wrote: > >> (info "(org)Built-in Table Editor") >> >>

[PATCH] updating org-plot.org on worg, was Re: Can we add PLOT to org-element-multiple-keywords?

2024-04-24 Thread Leo Butler
for advice on later sections, below. From 4e262898feb349dad2f5b5afe8960c8e09723862 Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Wed, 24 Apr 2024 12:57:58 -0500 Subject: [PATCH] org-tutorials/org-plot.org: update documentation and examples - Replace dead link to org-plot.el with link to it on

Re: [BUG] #+CALL - permission error -bash

2024-05-02 Thread Leo Butler
On Thu, May 02 2024, vita...@gmx.com wrote: > in org-babel-sh-evaluate > file:~/.emacs.d/elpa/org-9.6.28/ob-shell.el::300 > > this do apply: (process-file "/tmp/babel-NfRG9P/sh-script-jmKNA4" > "/tmp/babel-NfRG9P/sh-stdin-o3CEm5" # nil nil) > > I don't allow executables in /tmp folder! How abou

Re: [O] Generate and fill PDF-forms by org-mode?!

2024-07-22 Thread Leo Butler
Hi Balaji, This is an ingenious solution, but wouldn't something like xournal(++) be easier to use[1]? A drawback to either method is that the PDF file that is created no longer has the form data available for subsequent edits. This is a serious drawback when one needs to fill in some parts of a

Re: Orgmode and Beamer

2024-10-28 Thread Leo Butler
On Mon, Oct 28 2024, David Masterson wrote: > Does anyone have a recommendation on how to structure an Org document > such that it can be exported to either Latex or Beamer? Suppose you > have a (small) thesis that you are writing and you want to generate > Beamer slides of a high-level view of t

Re: ob-octave.el - org-babel-matlab-with-emacs-link

2024-10-25 Thread Leo Butler
Hi John, Have you had a look at https://orgmode.org/worg/org-contribute.html ? The best way to suggest your changes is likely to write a patch and send it to this mailing list. For example, here is a recent discussion: https://lists.gnu.org/archive/html/emacs-orgmode/2024-10/threads.html#00212

Re: Audio File in beamer and orgmode

2024-10-02 Thread Leo Butler
On Wed, Oct 02 2024, Orm Finnendahl wrote: > Hi Luís, > > it doesn't work OOTB in org-mode, but you can always embed LaTex > verbatim in Org files using the #+LATEX: prefix. > > My recommendation: Generate a LaTex file from org beamer with some > blind text at a place where you need your link a

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-09 Thread Leo Butler
On Mon, Dec 09 2024, Leo Butler wrote: > On Sun, Dec 08 2024, Ihor Radchenko wrote: > >> Benjamin McMillan writes: >> >>> This outputs >>> #+RESULTS: >>> | (linenum:0, | >>> | 4 | >>> >>> I suppose the issue

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-09 Thread Leo Butler
On Sun, Dec 08 2024, Ihor Radchenko wrote: > Benjamin McMillan writes: > >> This outputs >> #+RESULTS: >> | (linenum:0, | >> | 4 | >> >> I suppose the issue is the "linenum:0". In fact, running any of the test >> src blocks does that, e.g. >> #+begin_src maxima :results verbatim :batch

Re: [ANN] Tomorrow at EmacsConf 2024: The Future of Org

2024-12-09 Thread Leo Butler
On Mon, Dec 09 2024, Ihor Radchenko wrote: > Ihor Radchenko writes: > >> Tomorrow, at EmacsConf 2024, I will talk about the future of Org mode. >> >> My talk: https://emacsconf.org/2024/talks/org-update/ > > Attaching the talk slides, as an Org and pdf files, for your reference. > > Also, tomorr

Re: Language support for C# in org-babel

2025-01-06 Thread Leo Butler
On Mon, Jan 06 2025, poverobuosodonati wrote: > > > > > Hi guys, > > > > I am a newbie in that I've never contributed so far. Thus, I would like to > start this journey with pinging the mailing list first as it is indicated in > the contributing documentation. > Welcome. > > > A

Re: render math in README.org on github

2025-01-07 Thread Leo Butler
On Sat, Dec 21 2024, Max Nikulin wrote: > On 21/12/2024 01:51, Leo Butler wrote: >> On Fri, Dec 20 2024, Nikolaos Chatzikonstantinou wrote: >> >>> Do you want mathjax when viewing the readme file? >> >> Yes. The only documentation I have seen refers to ma

Re: The less ambiguous math delimiters in tables

2024-12-27 Thread Leo Butler
On Wed, Dec 25 2024, Rudolf Adamkovič wrote: > Ihor Radchenko writes: > >> It is a syntax limitation. >> Org parser is outer-inner - the table row is parsed first. >> So, | are unconditionally used as table delimiters, *before* verbatim >> LaTeX markup is recognized. > > How is that not a parser

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-10 Thread Leo Butler
file (which I also attach) are: > > build_info(); > > If there's more information I can give, just let me know. > Thanks, > Benjamin > > On Tue, Dec 10, 2024 at 9:17 AM Leo Butler wrote: > >> On Mon, Dec 09 2024, Leo Butler wrote: >> >> > O

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-15 Thread Leo Butler
Ihor, Attached is a patch to fix the problem that Benjamin has encountered. Best regards, Leo From acc099ca608b59c60f941d8dbff25a17e7adbf8c Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Sun, 15 Dec 2024 21:20:26 -0600 Subject: [PATCH] lisp/ob-maxima.el: fix Mac-related bug * ob-maxima.el

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-16 Thread Leo Butler
On Mon, Dec 16 2024, Ihor Radchenko wrote: > Leo Butler writes: > >> Attached is a patch to fix the problem that Benjamin has encountered. > > Thanks! > >> + '("(linenum:0," ;; remove fragment from command-line (see >> `org-bab

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-17 Thread Leo Butler
On Tue, Dec 17 2024, Ihor Radchenko wrote: > Leo Butler writes: > >> Putting that into the batch file will result in it appearing in the >> output of the source-code block. We are trying to stop that. > > FYI, I have basically no experience with Maxima. So, I was simpl

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-14 Thread Leo Butler
--quiet > > (assume(z>0), > integrate(exp(-t)*t^z, t, 0, inf)); > #+end_src > > #+RESULTS: ob-maxima/batch+verbatim > #+begin_example > > (%i1) (linenum:0, > (%i1) (assume(z > 0),integrate(exp(-t)*t^z,t,0,inf)) > (%o1)gamma(z + 1

render math in README.org on github

2024-12-20 Thread Leo Butler
Hello, I am trying to use MathJax with a README.org file on github, but I am having no luck. I believe that this "just works" with markdown on github. The best that I could find was a bug report by karthink [fn:1] that refers to following instructions on a wiki. But, I can't find that wiki, nor c

[PATCH] Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-20 Thread Leo Butler
Ihor, Please find attached the amended patch. All things considered, I think this is the best option to fix the issue that has arisen. Leo From db509cf4b81f78a5c85cf12c7f7b2879f2a47397 Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Sun, 15 Dec 2024 21:20:26 -0600 Subject: [PATCH] lisp/ob

Re: render math in README.org on github

2024-12-20 Thread Leo Butler
e meant to work and how they can be configured. Leo > > Or do you want mathjax in the generated html in a github pages? That can be > done... > > Another place that org doesn't work (at all) is pypi. > > On Fri, Dec 20, 2024, 12:26 PM Leo Butler wrote: > >> Hel

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-05 Thread Leo Butler
On Wed, Apr 02 2025, "Rohit Patnaik" wrote: > I'm against moving to `luatex' as the default compiler. I'm decently familiar > with LaTeX, having used it to write papers and even my resume. I just tried > to compile a relatively simple LaTeX file using `luatex' on my Fedora Linux > machine with

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-08 Thread Leo Butler
On Thu, Apr 03 2025, Ihor Radchenko wrote: > Karthik Chikmagalur writes: > >> For org-latex-preview, one of the other things we tried was to keep all >> utf-8 font-related settings out of the header that is precompiled. If >> we manage this precompilation can work (somewhat unreliably) with >>

org-latex-preview and font-locking

2025-04-07 Thread Leo Butler
Q: Why does `org-latex-preview' not work on blocks like: #+begin_export latex \begin{equation} x^2 + y^2 = z^2 \end{equation} #+end_export I use these blocks to take advantage of syntax highlighting (and it is quicker to write than not including the export block around the latex). Shouldn't `org

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-14 Thread Leo Butler
On Sun, Apr 13 2025, Max Nikulin wrote: > On 12/04/2025 21:11, Leo Butler wrote: >> I use a lot of >> utf-8 in my org documents. Pdflatex just cannot compete for typesetting, >> even in preview. > > Certainly PdfTeX has enough limitations. I am curious however what

Re: Error 502 when trying to pull from Org-mode git

2025-04-17 Thread Leo Butler
It is you. I was able to navigate to that URL by placing point on the url (on the error: 502 line) and typing M-x eww RET in Gnus/Emacs. I could also pull from the repo using magit. Leo On Thu, Apr 17 2025, Sébastien Gendre wrote: > Hello, > > I wanted to pull the latest commit of the branch m

Re: Parsing of incomplete LaTeX environments

2025-04-14 Thread Leo Butler
On Sun, Apr 13 2025, Ihor Radchenko wrote: > Karthik Chikmagalur writes: > >> If I delete the last line, so it looks like >> >> \begin{align} >> x = 1 >> >> And now place the cursor anywhere on the first line (with the \begin...) >> and call (org-element-context), it parses it as a `latex-fragme

Re: org-latex-preview and font-locking

2025-04-14 Thread Leo Butler
On Sun, Apr 13 2025, Karthik Chikmagalur wrote: >>> Q: Why does `org-latex-preview' not work on blocks like: >>> >>> #+begin_export latex >>> \begin{equation} >>> x^2 + y^2 = z^2 >>> \end{equation} >>> #+end_export >>> >>> I use these blocks to take advantage of syntax highlighting (and it is >>>

Re: Parsing of incomplete LaTeX environments

2025-04-16 Thread Leo Butler
On Tue, Apr 15 2025, Karthik Chikmagalur wrote: >>> Basically, we need a specialized parser that will guess that a given >>> paragraph of text is actually an incomplete or broken latex fragment. >>> You may try writing one. For example, by additionally checking paragraph >>> elements to be latex-

Re: org-latex-preview and font-locking

2025-04-16 Thread Leo Butler
On Tue, Apr 15 2025, Karthik Chikmagalur wrote: > `org-cdlatex-mode' provides several ways to quick-insert environments > and LaTeX macros. With this mode enabled, there are many equivalents of > C-c C-e in LaTeX buffers: > > - C-c { > - Type in "beg" and press TAB > - Type in "env" and press TA

Re: [PATCH] worg-about.org: Fixed several grammatical errors

2025-05-02 Thread Leo Butler
On Fri, May 02 2025, kwen-ai-kant via "General discussions about Org-mode." wrote: > 'Example of codes' is the error, for me. Yes. "Code samples", "Code snippets" or "Code examples" would all work. > 'Other Org-ers around' is also not idiomatic to my non-American > ear. 'Other Org-ers', 'Org-e

Re: [PATCH] org-manual and cdlatex url (was Re: org-latex-preview and font-locking)

2025-04-15 Thread Leo Butler
On Tue, Apr 15 2025, Ihor Radchenko wrote: > Leo Butler writes: > >> Subject: [PATCH] doc/org-manual.org: update CDLaTeX url >> ... >> -[[https://staff.fnwi.uva.nl/c.dominik/Tools/cdlatex/]]. Do not use >> +[[https://github.com/cdominik/cdlatex][CDLaTeX's G

Re: Parsing of incomplete LaTeX environments

2025-04-15 Thread Leo Butler
On Tue, Apr 15 2025, Rudolf Adamkovič wrote: > Leo Butler writes: > >> Alternatively, why not fix Karthik's stated problem with some analogue >> to `org-insert-structure-template'? E.g. `org-insert-latex-environment'. > > This would be a nice addition

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-15 Thread Leo Butler
On Tue, Apr 15 2025, Max Nikulin wrote: > On 15/04/2025 02:47, Leo Butler wrote: >> I experience problems typesetting mathematical expressions. I cannot >> find anything as good as the unicode-math package for lualatex. >> Consider generating a preview of this fragment

[PATCH] org-manual and cdlatex url (was Re: org-latex-preview and font-locking)

2025-04-15 Thread Leo Butler
anual.org attached. Leo From 6f1e7e59a98a377564e58708a7c936538c66bdde Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Tue, 15 Apr 2025 13:12:13 -0500 Subject: [PATCH] doc/org-manual.org: update CDLaTeX url --- doc/org-manual.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-12 Thread Leo Butler
On Thu, Apr 10 2025, Pedro Andres Aranda Gutierrez wrote: > Jürgen writes: > >>Am 03.04.25 um 09:37 Uhr schrieb Ihor Radchenko: I don't agree. Users who are apparently happy with LuaLaTeX should have no problems with pdflatex and UTF8. >>> If you know an easy and universal way to suppor

Re: [BUG] Unable to use dvisvgm to preview LaTeX fragments when using dark theme

2025-04-15 Thread Leo Butler
On Mon, Apr 14 2025, Ihor Radchenko wrote: > Billy Lei writes: > >> When using themes with background color set to #00, and >> org-preview-default-process is set to dvisvgm, the LaTeX fragments are >> displayed incorrectly. >> >> To reduplicate: >> >> 1. Switch to a theme with background c

Re: [PATCH] worg-about.org: Fixed several grammatical errors

2025-05-02 Thread Leo Butler
On Fri, May 02 2025, Ihor Radchenko wrote: >>> > Worg was started by [[http://bzg.fr][Bastien]] in the hope that other >>> Org-ers around will >>> > -bite into this and start sharing tutorials, example of codes, etc. >>> > +participate and start sharing tutorials, example of codes, etc. >>> >>>

Re: [PATCH] org-manual and cdlatex url (was Re: org-latex-preview and font-locking)

2025-04-18 Thread Leo Butler
On Thu, Apr 17 2025, Ihor Radchenko wrote: > Leo Butler writes: > >>> Better https://elpa.nongnu.org/nongnu/cdlatex.html >> >> Take 2. >> -from [[https://elpa.nongnu.org/][NonGNU ELPA]] with the >> [[https://www.gnu.org/software/emacs/manual/html_node

Re: Org manual: Confused about parentheses in "filename=(buffer-file-name)" in code block header

2025-03-07 Thread Leo Butler
On Fri, Mar 07 2025, alain.coch...@unistra.fr wrote: > #+BEGIN_SRC sh :var filename=(buffer-file-name) :exports both >wc -w $filename > #+END_SRC (buffer-file-name) is evaluating the Emacs Lisp function `buffer-file-name', which returns a string with the buffer's filename. > >

Re: PLOT: Different "with:option" on same plot

2025-03-08 Thread Leo Butler
On Mon, Mar 03 2025, Colin Baxter wrote: > I want to plot from a table and use > > #+PLOT: title:"Whatever" ind:2 deps:(3 4) type:2d "with:lines" set:"yrange > [0:100]" > > Great, that works. The second column in the table gives me my x-axis, and > the 3rd. and 4th. columns give me two graphs. >

Re: Org Crypt problems

2025-02-28 Thread Leo Butler
On Thu, Feb 27 2025, David Masterson wrote: > Leo Butler writes: > >> On Tue, Feb 25 2025, David Masterson wrote: >> >>> 1. If you enter a bad password (even a blank password) to >>> org-decrypt-ent*, how do you tell Emacs to forget the password so &

[PATCH] Re: Q: Documentation question on beamer and org

2025-02-13 Thread Leo Butler
ask. > > It is funny how different people use the manual. IIRC, I started wtih the example at the end of the section. I don't recall why (likely a good guess), but I added the single header #+STARTUP: beamer from §13.8.5 in order to play with editing. When I tried exporting, I had no dif

Re: Org Crypt problems

2025-02-26 Thread Leo Butler
On Tue, Feb 25 2025, David Masterson wrote: > I have org-crypt mostly working, but a couple of things annoy me and I > may look into fixing them after checking here to see if they are already > fixed: > > 1. If you enter a bad password (even a blank password) to > org-decrypt-ent*, how do

Re: Best way to represent a directory tree in Org-mode

2025-04-04 Thread Leo Butler
On Sun, Mar 30 2025, Jean Louis wrote: > * Sébastien Gendre [2025-03-30 22:55]: >> >> Exemple of LaTeX verbatim that lose its special chars when exported to >> PDF: >> >> \begin{verbatim} >> /test >> ├── file-a >> ├── file-b >> └── file-c >> \end{verbatim} > > here below is version that works:

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Leo Butler
I generally agree with Pedro about making lualatex the default. Personally, I moved to it several years ago because of the weak, and unstable, support for unicode in pdflatex. Note that Juan Manuel Macías posted here the following quote from Joseph Wright [1]: >> The time to move to LuaTeX for ne

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Leo Butler
Karthik, thanks for the email, including those screencasts. You are right, lualatex is too slow for use in generating previews. Do you have any ideas about how we could improve the handling of utf-8 without sacrificing the speed of the preview system? Leo On Wed, Apr 02 2025, Pedro Andres Aranda

Re: LaTeX to Org ? (also Auctex/Lyx)

2025-07-16 Thread Leo Butler
ve added a tag, :private: or something like that, but I did not think of this issue until just now. Maybe I will re-vist your question when the next semester starts in the fall. Best regards, Leo > > Cheers > Matteo > > On mar, lug 15, 2025 at 03:50 Leo Butler wrote: >> On Mon,

Re: LaTeX to Org ? (also Auctex/Lyx)

2025-07-16 Thread Leo Butler
On Wed, Jul 16 2025, Pedro Andres Aranda Gutierrez wrote: >>Date: Tue, 15 Jul 2025 09:45:57 +0200 >>From: "Dr. Arne Babenhauserheide" >>To: David Masterson >>Cc: William Denton , emacs-orgmode@gnu.org >>Subject: Re: LaTeX to Org ? (also Auctex/Lyx) >>Message-ID: <87ldop522y@web.de> >>Conte

Re: LaTeX to Org ? (also Auctex/Lyx)

2025-07-15 Thread Leo Butler
On Mon, Jul 14 2025, David Masterson wrote: > William Denton writes: > >> On Monday, July 14th, 2025 at 18:38, David Masterson >> wrote: >> >>> I was originally wondering if anyone uses Emacs/Org to write their >>> initial document, export it to LaTeX, fix it up with Auctex or Lyx, then >>> re

Re: org doesnt recognize nested inline latex

2025-07-21 Thread Leo Butler
On Mon, Jul 21 2025, mahmood sheikh wrote: > org is unable to recognize expressions of the form `\(\(math\)\)` as a > single nested latex expression. even though i do vaguely recall org being > able to handle this "properly". No, \(\(math\)\) isn't valid syntax for a latex fragment; the second \

<    1   2