Re: How to export to the simplest possible HTML?

2023-05-29 Thread Ihor Radchenko
Marcin Borkowski writes: > ... I tried this: > > (org-html-export-as-html nil nil nil t '(org-export-with-toc nil)) You need (org-html-export-as-html nil nil nil t '(:with-toc nil)) See `org-export-options-alist'. > but the ToC still appears in the output. Also, I'd prefer to do it > a bit "le

Re: HTML export meta tag

2023-05-29 Thread Ihor Radchenko
Scott Randby writes: > Okay, but when I try to validate my page as XHTML, I get numerous errors that > would be inconvenient to fix especially since I'm only interested in > obtaining valid HTML. What I think I'll do is to edit the > org-html--build-meta-entry function in my ox-html.el file to

How to export to the simplest possible HTML?

2023-05-29 Thread Marcin Borkowski
Hello everyone, I'd like to export an Org buffer (or portion of it) to the simplest HTML possible, prgrammatically. For example, I only want the body, I don't want any generated IDs, and I don't want the ToC. I tried this: (org-html-export-as-html nil nil nil t '(org-export-with-toc nil)) but

Re: HTML export meta tag

2023-05-29 Thread Scott Randby
On 5/29/23 16:37, Timothy wrote: Hi Scott, Just to give some support to my request, the HTML standard () says this: “Then, if the element is one of the void elements, or if the element is a foreign element, then there may be a singl

Re: HTML export meta tag

2023-05-29 Thread Timothy
Hi Scott, > Just to give some support to my request, the HTML standard > () says this: > “Then, if the element is one of the void elements, or if the element is a > foreign element, then there may be a single U+002F SOLIDUS character (

Re: HTML export meta tag

2023-05-29 Thread Scott Randby
On 5/29/23 14:07, Ihor Radchenko wrote: Scott Randby writes: This did not happen when I used Org 9.4.6: I wouldn't care about this change, but when I validate the page code (https://validator.w3.org/) I get the following: "Info: Trailing slash on void elements has no effect and interact

Re: HTML export meta tag

2023-05-29 Thread Ihor Radchenko
Scott Randby writes: > > > This did not happen when I used Org 9.4.6: > > > > I wouldn't care about this change, but when I validate the page code > (https://validator.w3.org/) I get the following: "Info: Trailing slash on > void elements has no effect and interacts badly with unquoted attrib

HTML export meta tag

2023-05-29 Thread Scott Randby
Hello, When I export to HTML using Org 9.6.6, there is a /> closing the meta tag: This did not happen when I used Org 9.4.6: I wouldn't care about this change, but when I validate the page code (https://validator.w3.org/) I get the following: "Info: Trailing slash on void elements has no

Re: [BUG] wrong-type-argument syntax-table-p "Syntax table including \"@\" and \"_\" as word constituents.

2023-05-29 Thread Daniel Clemente
It works now. Thanks! On Mon, 29 May 2023 at 08:34, Ihor Radchenko wrote: > Daniel Clemente writes: > > > there was a recent change to how the tags table is initialized. I think > > that as a side effect, some tag functions like org-tags-expand don't work > > unless you open an org-mode buffe

Re: [BUG] lisp/org-eldoc.el: Eldoc does not work in org source blocks

2023-05-29 Thread Bruno Cardoso
Sure, fair enough. I am aware this is just a workaround, not an actual solution. Thanks! Bruno. On 2023-05-29, 07:42 +, Ihor Radchenko wrote: > Bruno Cardoso writes: > >> The Eldoc interface `eldoc-print-current-symbol-info' works everywhere just >> fine for me (Emacs >> 28.2), but it

Re: Unable to install from elpa

2023-05-29 Thread Max Nikulin
On 26/05/2023 15:23, Ihor Radchenko wrote: Max Nikulin writes: I have realized that the command is specified in the README.org file, so it is mentioned twice on https://elpa.gnu.org/packages/org.html However prior to Emacs-29.1 built-in packages are filtered-out from completion list and igno

Re: [PATCH] org-id: implement arbitrary cross-file references

2023-05-29 Thread Ihor Radchenko
Sergei Kosyrev writes: > Fair enough -- I'm open to sign the FSF copyright assignment. Thanks for your interest to contribute to Org mode! See https://orgmode.org/worg/org-contribute.html#copyright for the details how to get started with FSF copyright assignment. FSF generally replies within 5

Re: [BUG] wrong-type-argument syntax-table-p "Syntax table including \"@\" and \"_\" as word constituents.

2023-05-29 Thread Ihor Radchenko
Daniel Clemente writes: > there was a recent change to how the tags table is initialized. I think > that as a side effect, some tag functions like org-tags-expand don't work > unless you open an org-mode buffer first. I have a small bash script that > exports my agenda; right in the beginning (

Re: org-mode for package documentation

2023-05-29 Thread Ihor Radchenko
Philip Kaludercic writes: >> We discussed possible syntax of inline custom markup to be added. See >> https://orgmode.org/list/87bkqx4jyg.fsf@localhost Someone is to go ahead >> and try to implement it. It might be me in future, but I am prioritizing >> working on some other new features in Org f

Re: Preserving leading zeros

2023-05-29 Thread Ihor Radchenko
William Denton writes: > I'm thinking about moving a personal library catalogue system into Org. This > would involve ISBNs, and when ISBNs had 10 digits some would have leading > zeros. > It turns out leading zeros are removed when something looks like a number. > > #+name:isbn > | 000614539

Re: org-mode for package documentation

2023-05-29 Thread Philip Kaludercic
Ihor Radchenko writes: > Payas Relekar writes: > >> IIRC, Richard Stallman said he'd be amenable to it, _provided that_ Org >> fulfilled all the requisite functionality from Texinfo. > > Correct. We need to add more flexible markup. The idea was to add > something similar to special blocks, but

Re: org-mode for package documentation

2023-05-29 Thread Ihor Radchenko
Payas Relekar writes: > IIRC, Richard Stallman said he'd be amenable to it, _provided that_ Org > fulfilled all the requisite functionality from Texinfo. Correct. We need to add more flexible markup. The idea was to add something similar to special blocks, but inline. Currently, ox-texinfo is ap

Re: Editing begin_verse using edit special

2023-05-29 Thread Ihor Radchenko
Bernt Hansen writes: > I use #+begin_verse > For certain blocks in my org files > > Is there a way to allow C-c ‘ to edit this block in fundamental mode? Patches for `org-edit-special' are welcome! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: [BUG] lisp/org-eldoc.el: Eldoc does not work in org source blocks

2023-05-29 Thread Ihor Radchenko
Bruno Cardoso writes: > The Eldoc interface `eldoc-print-current-symbol-info' works everywhere just > fine for me (Emacs > 28.2), but it does not work inside org source blocks for elisp code. Yet, > reverting to the > obsolete `elisp-eldoc-documentation-function' in org-eldoc's > `org-eldoc-doc

Re: org-fold-core-region error: missing SPEC

2023-05-29 Thread Ihor Radchenko
420actionun...@gmail.com writes: > I set a breakpoint at the beginning of function > ORG-FOLD-CORE-GET-FOLDING-SPEC-FROM-ALIAS. It runs quite a few times > successfully. Every time the input argument SPEC-OR-ALIAS has one of > these values: 'ORG-FOLD-VISIBLE or 'ORG-FOLD-HIDDEN. But at some point