Re: Build a menu for an HTML publish

2024-08-13 Thread Bruno Barbier
Hi Sébastien, Sébastien Gendre writes: [...] > I cannot found a way to define "very-strawbery" value in an Org-mode > buffer and having it used while I manually export the Org-mode buffer. > > I tried with "#+very-strawbery: test123" and "#+OPTIONS: very-strawbery: > test123", without success.

Re: Pending contents in org documents

2024-08-13 Thread Ihor Radchenko
Bruno Barbier writes: >>> (concat "\\" >>> "This content is pending. " >>> "\\[org-pending-describe-reglock-at-point]" >>> " to know more." >> >> You set a similar help-echo string in two places. It is a good >> candidate to fac

Re: Build a menu for an HTML publish

2024-08-13 Thread Sébastien Gendre
Another reply to myself about this specific part: Sébastien Gendre writes: > But if I set the variable `org-html-preamble` to my custom preamble > function like this: > > (setq org-html-preamble 'my/preamble-test) > > I cannot found a way to define "very-strawbery" value in an Org-mode > buffer

Re: Build a menu for an HTML publish

2024-08-13 Thread Sébastien Gendre
Thank you very much for your reply. I didn't know the bind part. I will take a look at it. Bruno Barbier writes: > Hi Sébastien, > > Sébastien Gendre writes: > > [...] >> I cannot found a way to define "very-strawbery" value in an Org-mode >> buffer and having it used while I manually expo

Link between org-publish project options and org-export-options-alist

2024-08-13 Thread Sébastien Gendre
Hello, I (continue to) develop a custom preamble function. And I try to found if there is a link between options set in an org-publish project and options set in variable `org-export-options-alist. For my function, I have defined one new export option in the variable `org-export-options-alist`:

[PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks

2024-08-13 Thread shynur .
These commas are confusing. See . 0001-org-contrib-babel-intro.org-Delete-unnecessary-leadi.patch Description: 0001-org-contrib-babel-intro.org-Delete-unnecessary-leadi.patch

Re: Org-publish and attachment links

2024-08-13 Thread Ihor Radchenko
Sébastien Gendre writes: > It work. Thank you very much. > > I didn't know that org-attach have it's own library and that it was not > loaded with org. I found nothing about it in the Org-attach section of > the manual. Right. It is indeed confusing. I now made export load org-attach by default.

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-13 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >>> But we also need to link this new page from other places. >> >> How about this patch for orgweb? > > Thanks! > Applied, onto master for orgweb and master for worg. > https://git.sr.ht/~bzg/worg/commit/91954998 > https://git.sr.ht/~bzg/orgweb/c

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-13 Thread Ihor Radchenko
Joseph Turner writes: > Thanks! I completed the FSF copyright assignment paperwork in May 2023. Bastien, may you please confirm with FSF records? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-13 Thread Ihor Radchenko
Uwe Brauer via "General discussions about Org-mode." writes: > Hi > > Look a the following example > --8<---cut here---start->8--- > \begin{equation*} > ... > > To org-format-latex-header >"\\usepackage{nicematrix}\12\newcolumntype{C}{c}\12" > > In order t

Re: [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks

2024-08-13 Thread Ihor Radchenko
"shynur ." writes: > These commas are confusing. > ... > #+begin_src org >,#+begin_src > - , > + batch replace is easy to mess up, yes. Thanks for the patch! Applied. https://git.sr.ht/~bzg/worg/commit/a27404f5 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about

Re: [PATCH v4.0] Re: [PATCH] add a function to only refresh inline images under current headline instead of global buffer

2024-08-13 Thread stardiviner
I agree with your patch solution. I have tested fine. Thanks for your re-write. I have an idea, would you like to add an function in bellowing: #+begin_src emacs-lisp (defun org-toggle-inline-images-in-results () "Toggle inline images in babel source block results." (save-excursion ;; [C-