Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-12-24 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Please see the attached patch! Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d1b77a6c57 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at <

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-12-20 Thread Rudolf Adamkovič
>From ec7316614463d1c8217dac434fb8bad48446cd09 Mon Sep 17 00:00:00 2001 From: Rudolf Adamkovic Date: Sat, 24 Aug 2024 15:26:18 +0200 Subject: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS' * etc/ORG-NEWS (Texinfo exporter now supports numeric =toc= values in =#+OPTIONS:=): Announce the change

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-12-15 Thread Ihor Radchenko
Ihor Radchenko writes: > See `org-export-collect-headlines' and how it uses > `org-export-get-relative-level' to determine whether a given heading is > too deeply nested to be included into TOC. > > `org-export-get-relative-level' is also used within individual backends > when dealing with :with-

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-09-15 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> Should be relative level, I think. > > I am a bit lost here, on both why and how. :) See `org-export-collect-headlines' and how it uses `org-export-get-relative-level' to determine whether a given heading is too deeply nested to be included

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-09-11 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Should be relative level, I think. I am a bit lost here, on both why and how. :) Rudy -- "'Contrariwise,' continued Tweedledee, 'if it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic.'" --- Lewis Carroll, Through the Lookin

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-09-09 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> Also, what about `org-export-collect-headlines'. It also ignores >> numeric value of :with-toc. > > Fixed. Thank you for letting me know! I am exporting only to HTML, > where Org-generated top-level menus do not appear. So, I missed it. > > P.S. I also fixed the inc

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-09-03 Thread Rudolf Adamkovič
am exporting only to HTML, where Org-generated top-level menus do not appear. So, I missed it. P.S. I also fixed the incorrect test. Rudy >From 54ff91953d1a456852506ac162eee2a0cf99d3b0 Mon Sep 17 00:00:00 2001 From: Rudolf Adamkovic Date: Sat, 24 Aug 2024 15:26:18 +0200 Subject: [PATCH] ox-t

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-09-01 Thread Ihor Radchenko
Rudolf Adamkovič writes: > From: Rudolf Adamkovic > > * etc/ORG-NEWS (Texinfo exporter now supports numeric =toc= values in > =#+OPTIONS:=): Announce the new feature. > * lisp/ox.el (org-export-excluded-from-toc-p): Return nil for all > headlines that are above the `toc' value in export `#+OPTIO

[PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-08-31 Thread Rudolf Adamkovič
From: Rudolf Adamkovic * etc/ORG-NEWS (Texinfo exporter now supports numeric =toc= values in =#+OPTIONS:=): Announce the new feature. * lisp/ox.el (org-export-excluded-from-toc-p): Return nil for all headlines that are above the `toc' value in export `#+OPTIONS'. * testing/lisp/test-ox-texinfo.el