org-publish producing element tags instead of honoring what is specified in :html-divs

2023-03-29 Thread Cooper Oscarfono
Greetings, New to the list, and this is my first post.  I hope it's ok. I'm experiencing an issue when trying to use org-publish. In attempting to convert the divs generated for preamble, content, and postamble, by specifying, what I believe to be the appropriate setting within

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread chris
On Wednesday, 29 March 2023 23:15:03 CEST Christian Moe wrote: > > Hi, > > Pardon the noise: It turned out to be a pretty obvious problem with my > setup that has now been resolved. > > I had modified org-latex-pdf-process to use xelatex, and for some reason > my setup lacked the

Re: [PATCH] In case of Sly, let org-babel-execute:lisp use Slynk instead of Swank

2023-03-29 Thread gerard . vermeulen
On 29.03.2023 11:42, Ihor Radchenko wrote: gerard.vermeu...@posteo.net writes: The Emacs integrated development environments Slime and Sly communicate by means of similar RPC protocols with different server programs: Swank in case of Slime and Slynk in case of Sly. However, the code in

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread Christian Moe
Hi, Pardon the noise: It turned out to be a pretty obvious problem with my setup that has now been resolved. I had modified org-latex-pdf-process to use xelatex, and for some reason my setup lacked the =-output-directory %o= switch. I should probably have thought of that first, but the

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-03-29 Thread Matt
On Wed, 29 Mar 2023 13:04:31 -0400 Derek Chen-Becker wrote --- > Cool, I would be happy to submit a patch! Sure, if that's something you'd enjoy. I'm happy to assist, if needed. > On Wed, Mar 29, 2023 at 3:33 AM Ihor Radchenko yanta...@posteo.net> wrote: > > Org provides some

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread chris
On Wednesday, 29 March 2023 10:00:35 CEST Pedro Andres Aranda Gutierrez wrote: > On Tue, 28 Mar 2023 10:04:24 +0200, Christian Moe > wrote > Hi, > > > I'm trying and failing to export images from TikZ code, apparently > > because the temporary PDF is misplaced. Here is a minimal example just >

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-03-29 Thread Derek Chen-Becker
Cool, I would be happy to submit a patch! Thanks, Derek On Wed, Mar 29, 2023 at 3:33 AM Ihor Radchenko wrote: > Matt writes: > > > Does anyone know which function is responsible for re-fontifing source > blocks? > > `org-src-font-lock-fontify-block', which is using major-mode's native >

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-29 Thread Pedro Andres Aranda Gutierrez
Looks reasonable... we put the .org and .bib file(s) in the same directory and we can use relative paths... That's what I would do in a pure LaTeX environment (and in overleaf.com) Could be expanded to same directory or its leaves... like when I have the .org file and a bibliography directory in

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-03-29 Thread Ihor Radchenko
Max Nikulin writes: > On 29/03/2023 20:38, Ihor Radchenko wrote: >> Even though we identified that the problem is related to a combination >> of old Emacs version and OS-specific Emacs customization > > Ihor, who should notice improvement due to this patch? Is it related to > Emacs-29.1

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-03-29 Thread Max Nikulin
On 29/03/2023 20:38, Ihor Radchenko wrote: Even though we identified that the problem is related to a combination of old Emacs version and OS-specific Emacs customization Ihor, who should notice improvement due to this patch? Is it related to Emacs-29.1 release? The issue is weird, but on the

Re: Cannot use Org Cite with Org Publish

2023-03-29 Thread Ihor Radchenko
[Adding Org ML back to CC] Amery Gration writes: > Thanks so much for replying. Do you mean the MWE works for you without error, > or that the MWE doesn't work for you at all? Your MWE works for me and I do get html exported with citations without errors. Though the MWE is not 100% precise.

Re: Cannot use Org Cite with Org Publish

2023-03-29 Thread Ihor Radchenko
Amery Gration writes: > I am having a problem using Org Cite with Org Publish (Emacs 28.1, Org > 9.6.1). Publication of documents containing an Org Cite citation fails every > time. Here's a minimum (not) working example. I have a file `publish.el` > which contains the following vanilla

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-29 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Having said that, I was also (just a bit) bugged by the fact that > bibliography file names are completely expanded when generating LaTeX. > Couldn't we avoid that for LaTeX export? It is in `org-cite-list-bibliography-files'. AFIAU, full path is forced

Re: [BUG] ob-gnuplot.el can't handle importing more than one table from the current file [9.6.1 ( @ /home/thomas/.emacs.d/elpa/org-9.6.1/)]

2023-03-29 Thread Ihor Radchenko
Ihor Radchenko writes: > One possibility is hash collision in `org-babel-temp-stable-file'. > Something similar to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56255 > > I will see if I can implement collision-free hashing to work around the > limitations of sxhash. Done, on main. Fixed.

Re: Allow org-agenda-switch-to to restore the previous window configuration

2023-03-29 Thread Ihor Radchenko
"Marvin J." writes: > Org-agenda provides the possibility to automatically restore the previous > window configuration after closing the agenda buffer using org-agenda-quit > (bound to q). This is achieved by setting > org-agenda-restore-windows-after-quit to t. > > However, there is also

Re: new org mode, changed folding behavior could be improved / more consistent

2023-03-29 Thread Ihor Radchenko
Ihor Radchenko writes: > It is a bug in `org-fold-show-children'. The reason your example works > has nothing to do with what the function intends to do. > > Fix is attached. > From a5e8062b258fc7c4e4d4129278101a8d20bb43c4 Mon Sep 17 00:00:00 2001 > Message-Id: > > From: Ihor Radchenko >

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-03-29 Thread Ihor Radchenko
Bastien writes: > That said, do you have any idea how to fix the bug people encounter > when installing Org from ELPA and being bitten by "invalid-function > org-assert-version"? Even though we identified that the problem is related to a combination of old Emacs version and OS-specific Emacs

Cannot use Org Cite with Org Publish

2023-03-29 Thread Amery Gration
I am having a problem using Org Cite with Org Publish (Emacs 28.1, Org 9.6.1). Publication of documents containing an Org Cite citation fails every time. Here's a minimum (not) working example. I have a file `publish.el` which contains the following vanilla Elisp. ``` (require 'package) (setq

Re: [BUG] I was asked to report this [9.6.2 ( @ /home/user/.emacs.d/elpa/org-9.6.2/)]

2023-03-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: >> May you also provide the full text of the warning that asked you to >> send >> this bug report? > > Sorry, I'm not able to do that. I just send what was auto-generated for > that email. > I'm also not able to reproduce. > > It is not in the message buffer. It

Re: [BUG] I was asked to report this [9.6.2 ( @ /home/user/.emacs.d/elpa/org-9.6.2/)]

2023-03-29 Thread c . buhtz
Dear Ihor, thanks for reply. Am 29.03.2023 11:31 schrieb Ihor Radchenko: May you also provide the full text of the warning that asked you to send this bug report? Sorry, I'm not able to do that. I just send what was auto-generated for that email. I'm also not able to reproduce. It is not

Re: [PATCH] In case of Sly, let org-babel-execute:lisp use Slynk instead of Swank

2023-03-29 Thread Ihor Radchenko
gerard.vermeu...@posteo.net writes: > The Emacs integrated development environments Slime and Sly > communicate by means of similar RPC protocols with different server > programs: Swank in case of Slime and Slynk in case of Sly. However, > the code in org-babel-execute:lisp always expects to

Re: Table not expanded as I expect upon

2023-03-29 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > | | ---+--- | > | x | x | > > At 1st sight, it does not seem so to me (in particular, LaTeX export > does not turn '---+---' into an horizontal rule for the 2 > corresponding columns). So then one could imagine that '|' at > the beginning of a line

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-03-29 Thread Ihor Radchenko
Matt writes: > Does anyone know which function is responsible for re-fontifing source > blocks? `org-src-font-lock-fontify-block', which is using major-mode's native fontification. The major mode is determined by `org-src-get-lang-mode', which can be customized using `org-src-lang-modes'.

Re: [BUG] I was asked to report this [9.6.2 ( @ /home/user/.emacs.d/elpa/org-9.6.2/)]

2023-03-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > my Emacs 29 asked me to report this. I don't know why it happend. Not > sure how I can help you here. > It is Debian 11 on a Raspberry Pi 4. Emacs 29 selfbuild ("GMP GNUTLS > JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY > PDUMPER SECCOMP

[BUG] I was asked to report this [9.6.2 ( @ /home/user/.emacs.d/elpa/org-9.6.2/)]

2023-03-29 Thread c . buhtz
Hello, my Emacs 29 asked me to report this. I don't know why it happend. Not sure how I can help you here. It is Debian 11 on a Raspberry Pi 4. Emacs 29 selfbuild ("GMP GNUTLS JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER SECCOMP SQLITE3 THREADS XIM ZLIB")

Re: [Q] How to italicize without introducing a space?

2023-03-29 Thread Marcin Borkowski
On 2023-03-29, at 05:12, Ruijie Yu via General discussions about Org-mode. wrote: > Hello, > > I am working on a piece of CJK text, which requires italicization. > > --8<---cut here---start->8--- > 任何一个章节可以通过增加例如 =TODO= 或者 =HOLD= 等关键词来被设置成 /待办/ 。 >

[PATCH] In case of Sly, let org-babel-execute:lisp use Slynk instead of Swank

2023-03-29 Thread gerard . vermeulen
Hello, The Emacs integrated development environments Slime and Sly communicate by means of similar RPC protocols with different server programs: Swank in case of Slime and Slynk in case of Sly. However, the code in org-babel-execute:lisp always expects to talk with Swank because of the

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread Pedro Andres Aranda Gutierrez
On Tue, 28 Mar 2023 10:04:24 +0200, Christian Moe wrote Hi, > I'm trying and failing to export images from TikZ code, apparently > because the temporary PDF is misplaced. Here is a minimal example just > exporting the PDF: > #+LATEX_HEADER: \usepackage{tikz} > > #+header: :fit yes > #+begin_src

Re: [Q] How to italicize without introducing a space?

2023-03-29 Thread Dr. Arne Babenhauserheide
Ruijie Yu writes: > "Dr. Arne Babenhauserheide" writes: > >> [...] >> You could try using a ZERO WIDTH SPACE around the expression [...] > > Thank you Arne and Steven. I have tried to just insert the zero width > space, and it seems to work very well (at least on HTML export, which is > the

Re: [Q] How to italicize without introducing a space?

2023-03-29 Thread General discussions about Org-mode.
"Dr. Arne Babenhauserheide" writes: > [...] > You could try using a ZERO WIDTH SPACE around the expression [...] Thank you Arne and Steven. I have tried to just insert the zero width space, and it seems to work very well (at least on HTML export, which is the only backend that orgweb wants,

Re: [Q] How to italicize without introducing a space?

2023-03-29 Thread Dr. Arne Babenhauserheide
Hello, Ruijie Yu via "General discussions about Org-mode." writes: > Hello, > > I am working on a piece of CJK text, which requires italicization. > > 任何一个章节可以通过增加例如 =TODO= 或者 =HOLD= 等关键词来被设置成 /待办/ 。 > > > Note the spaces before and after the pair of `?/'. … > Are there any other solutions