Re: How can I export a table to HTML with header and footers

2024-10-18 Thread Raghavendra Nyshadham
On 2024-10-18 08:35 +05:30, Raghavendra Nyshadham wrote: AFAIK, exporting tables with specific id attributes is not straightforward, but you can abuse the class attribute by putting the id in it. I think I was wrong about that:it looks like you can inject a specific id into a table element wit

Re: [BUG] insert C comment in c-babel case wrong result [9.6.15 (release_9.6.15 @ /opt/program/share/emacs/29.4/lisp/org/)]

2024-10-18 Thread Ihor Radchenko
PENG Kevin writes: > Check again and the issue not present, > test with 1/2/3 comma prefix, all passed: > > [[file:/home/pk/rdf/workspace/_tmp/comma_prefix.png]] > > you can close this issue and thanks for reply. Thanks for following up! Canceled. -- Ihor Radchenko // yantar92, Org mode contri

Re: [BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading.

2024-10-18 Thread Ihor Radchenko
Ihor Radchenko writes: >> Which doesn't work as expected, it should add face of `org-level-3` instead >> of >> `org-level-2`. > > I can see why it is unexpected, but it is not a bug. > ... Just to make sure, did the problem you are reporting surface when you are calling `org-format-outline-path

Re: [PATCH] `org-babel-header-arg-expand': more stringent check for appropriate context

2024-10-18 Thread Ihor Radchenko
Nick Dokos writes: > Patch attached. Thanks! Applied, onto main. Fixed. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8b4b89b14b I changed the docstring of the newly introduced function to follow the usual Elisp conventions. -- Ihor Radchenko // yantar92, Org mode contributo

How to in-line change html for specific paragraph only

2024-10-18 Thread Laurence von Bottorff
I would like to temporarily suspend a CSS rule on an org-mode export to html. I have various CSS things going on in my export settings. Finally, I'm overruling the basic html export behavior with this #+HTML_HEAD: p { margin-top: 0px; margin-bottom: 0px; text-indent: 2em; } which is specific to

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-18 Thread Ihor Radchenko
Anoop GR writes: > I have attached the patch file, created against the latest main branch. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=23eb697df6 Fixed. I also added you to the contributor list https://git.sr.ht/~bzg/worg/commit/c5020487 -- Ihor

Re: [BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading.

2024-10-18 Thread Ihor Radchenko
daisysky--- via "General discussions about Org-mode." writes: > For example, in an org-mode buffer > ``` > * Heading level 1 > *** Heading level 3 ; where the point is at > > ``` > > Run `(org-format-outline-path (org-get-outline-path t nil))` in > `eval-expression`. > > The output is `#("Heading

Re: How can I export a table to HTML with header and footers

2024-10-18 Thread Raghavendra Nyshadham
On 2024-10-19 02:08 +05:30, Dr. Volker Zell wrote: But back to the main question ... is it somehow possible to generate the footer elements ... Name Position Office Tiger Nixon System Architect Edinburgh

Help. SPC in speed commands

2024-10-18 Thread Kepa
Hello, This speed commands keybinding is not working for me. Should it be done differently to use SPC? ("SPC" . org-todo) Best regards

[PATCH] ob-comint,R,python: Options for more robust non-async session output

2024-10-18 Thread Jack Kamm
This is related to my recent thread, https://list.orgmode.org/87wmi9etku@gmail.com/T/#m93bd964243638ee358d4375c9ed4f40e066238d4 which addresses problems with prompt filtering of R and python async evaluation in Org 9.7. Here, I address the non-async case. First, I introduce options to `org

Exporting tables with cell borders to Latex/PDF

2024-10-18 Thread jman
Hello, When export to Latex/PDF I'd like /all/ table cells to have borders, so also vertical column separators. After looking around a bit, I learned about column groups: https://orgmode.org/manual/Column-Groups.html I think the only way to accomplish what I want is the following trick, addin

Re: Exporting tables with cell borders to Latex/PDF

2024-10-18 Thread Mark Barton
> On Oct 18, 2024, at 2:31 PM, jman wrote: > > > Hello, > > When export to Latex/PDF I'd like /all/ table cells to have borders, so also > vertical column > separators. > After looking around a bit, I learned about column groups: > https://orgmode.org/manual/Column-Groups.html > > I think t

Re: Why Emacs shows ^M at the end of some lines in sh code blocks that use curl?

2024-10-18 Thread Rodrigo Morales
Bruno Barbier writes: > it's not related to Org (HTTP headers use '\r\n', your JSON Thanks for pointing me in the right direction. I searched related information on the Internet and I found out there is an specific section in Request for Comments (RFC2616) that explicitly states that '\r\n' shou

Re: How to in-line change html for specific paragraph only

2024-10-18 Thread Laurence von Bottorff
Just solved it with this in the org-mode file @@html:@@my text here@@html:@@ after adding this to css file p.myindent { text-indent: 0em; } On Fri, Oct 18, 2024 at 10:52 AM Laurence von Bottorff wrote: > I would like to temporarily suspend a CSS rule on an org-mode export to > html. I h

Re: [PATCH] Add yank-media handler for LibreOffice Calc tables

2024-10-18 Thread Visuwesh
[வியாழன் அக்டோபர் 17, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >>> Consider the following example: >>> >>> * Heading >>> >>> M-x yank-media ... will slurp the heading >>> >>> | * Heading a | b | c | >>> >>> In contrast, the existing handlers will only insert some text at point, >>> never

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-18 Thread Anoop GR
Thanks a lot Ihor for the quick response and guidance :-) On Fri, Oct 18, 2024 at 10:51 PM Ihor Radchenko wrote: > Anoop GR writes: > > > I have attached the patch file, created against the latest main branch. > > Thanks! > Applied, onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.

[BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading.

2024-10-18 Thread General discussions about Org-mode.
From: ap...@unix.mail-host-address-is-not-set To: emacs-orgmode@gnu.org Subject: [BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading. [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] Date: Fri, 18 Oct 20

Re: [BUG] insert C comment in c-babel case wrong result [9.6.15 (release_9.6.15 @ /opt/program/share/emacs/29.4/lisp/org/)]

2024-10-18 Thread PENG Kevin
Check again and the issue not present, test with 1/2/3 comma prefix, all passed: [[file:/home/pk/rdf/workspace/_tmp/comma_prefix.png]] you can close this issue and thanks for reply. Ihor Radchenko writes: > PENG Kevin writes: > > [+] >> The document writes: >> >> #+BEGIN_EXAMPLE >> You mus

Re: How can I export a table to HTML with header and footers

2024-10-18 Thread Dr. Volker Zell
Hi Thanks ... you made my day ... even if haven't asked for displaying 2 tables (or maybe even more) at the same time with all the Datatables magic glue in ORG syntax this was exactly what I would have asked next ... Yah your solution (even with the id attribute) works perfectly. But back to

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-18 Thread Anoop GR
I have attached the patch file, created against the latest main branch. On Thu, Oct 17, 2024 at 11:28 PM Ihor Radchenko wrote: > Anoop GR writes: > > >> > >> I guess that we may leave the comments intact if the code block does not > >> have :var. > >> > > > > I moved the comment stripping code