Re: The fate of ob-asymptote.el

2022-07-20 Thread Jarmo Hurri
Hello Nick! Nick Dokos writes: > Jarmo Hurri writes: > >> ... >> >> I would like ob-asymptote.el to be brought back. If there is something I >> can do to help, I will be glad to do so. >> > All you have to do is volunteer to maintain it. Let Bastien know: he > will assign you the maintenance

Volunteering to maintain ob-asymptote.el within Org

2022-07-20 Thread Jarmo Hurri
Greetings. I hereby volunteer to maintain ob-asymptote.el. This file has been moved to org-contrib, but I would like it to be brought back into Org itself. I strongly feel that Asymptote is way too valuable as a scientific tool to be dropped out of Org. All the best, Jarmo

Re: [PATCH] oc-csl: Add support for sub-bibliographies

2022-07-20 Thread András Simonyi
Dear All, On Sat, 16 Jul 2022 at 10:43, Ihor Radchenko wrote: any Lisp predicate as a filter. > Thanks! LGTM! > > Can you please also document the new feature in the manual? Especially, > the CLS-specific filter options. It is not clear what are they. many thanks for looking into the patch!

Re: [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists

2022-07-20 Thread Juan Manuel Macías
Max Nikulin writes: >>> On the other hand I would consider adding babel by default without >>> explicit header. To suppress loading users may add >>> #+latex_header: % \usepackage{babel} >> I don't understand this very well. What would happen, then, to users >> who >> prefer to use Polyglossia,

Re: [PATCH] lisp/org.el: Fix `org-fill-paragraph' in lists when `mark-active'

2022-07-20 Thread Renato Ferreira
On Tue, 19 Jul 2022 19:36:35 +, Sébastien Miquel said: > This should be fixed on main. If not, please say so. It's fixed. Thank you very much. -- Att., Renato Ferreira

Re: The fate of ob-asymptote.el

2022-07-20 Thread Nick Dokos
Jarmo Hurri writes: > ... > > I would like ob-asymptote.el to be brought back. If there is something I > can do to help, I will be glad to do so. > All you have to do is volunteer to maintain it. Let Bastien know: he will assign you the maintenance of the file and all the asymptote users will

[BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-07-20 Thread Janek F
When setting org-id-method to 'ts or 'org, org-attach seems to use org-attach-id-ts-folder-format to create its hierarchy. However I tend to customize IDs for important files by hand, causing any attempt to use org-attach on that file to fail if the ID is shorter than six characters:    

[BUG] Markdown export broken without toc and with broken links [9.6 (9.6-??-e9da29b)]

2022-07-20 Thread Janek F
Hello, With the following configuration (on top of vanilla Doom, but that doesn't seem to be related), when trying to export to Markdown an org-mode file with broken links, the export omits all content under headlines: (setq org-export-with-toc nil org-export-with-broken-links 't) For

Re: org-ref 3 setup

2022-07-20 Thread John Kitchin
indeed, you should only use that before parsing hook for non-latex exports. See the documentation for org-export-before-parsing-hook. You need to write a function that takes one argument and does nothing for latex, and calls the csl processor otherwise. perhaps something like this: (defun

Re: [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists

2022-07-20 Thread Max Nikulin
On 20/07/2022 02:31, Juan Manuel Macías wrote: Max Nikulin writes: On 19/07/2022 22:01, Juan Manuel Macías wrote: +(replace-match + (mapconcat (lambda (option) (if (equal "AUTO" option) language option)) + (cond ((member language options) (delete "AUTO" options)) +

Re: discovering export (and other) keywords?

2022-07-20 Thread Max Nikulin
On 18/07/2022 19:10, kevinbanjo wrote: Also, for various elements (e.g. begin_src emacs-lisp, begin_export html, etc...) how do I discover what the acceptable keywords are, preferably without only having to go thru the manual pages? For source blocks you may try

Re: The fate of ob-asymptote.el

2022-07-20 Thread Tory S. Anderson
Not a major contributor to Org yet, but I have been using it faithfully for a decade. Asymptote looks to be incredibly useful in my research! Thanks for making me aware of it! https://asymptote.sourceforge.io/index.html - Tory

The fate of ob-asymptote.el

2022-07-20 Thread Jarmo Hurri
Greetings. Summary: I vote, very late, for the inclusion of ob-asymptote.el into Org. In my opinion, Asymptote is far too valuable a tool to be excluded by default. Long version: Either me or my system have been sleeping for quite a while, because just today I woke up to the fact that

Re: org-ref 3 setup

2022-07-20 Thread Joseph Vidal-Rosset
Le 20/07/2022 à 16:20, Joseph Vidal-Rosset a écrit : > > > Le 20/07/2022 à 15:38, John Kitchin a écrit : > >>     (let  ((org-export-with-broken-links t) >>       (org-latex-pdf-process >>         '("pdflatex -interaction nonstopmode -shell-escape >>     -output-directory %o %f" >>

Re: [feature] Allow "," decimal point in table cells (was: org-table with different conventions: decimals)

2022-07-20 Thread Christian Moe
Ihor Radchenko writes: > Uwe Brauer writes: > >>> Uwe Brauer writes: >> >>> Org tables use Emacs' calc under the hood by default. >>> AFAIK, calc is unable to use "," as decimal point because it is reserved >>> as a vector separator. Which is why you got the vector addition in your >>>

Re: [feature] Allow "," decimal point in table cells

2022-07-20 Thread Ihor Radchenko
Uwe Brauer writes: >> Note that you can instead use Elisp formulas. See 3.5.3 Emacs Lisp forms >> as formulas. It is more flexible. > > Can you give me an example? #+begin_src emacs-lisp (defun yant/convert-cd (x) "Replace \",\" in X string with \".\" and return number." (string-to-number

Re: org-set-properties for various (all) headings

2022-07-20 Thread Kaushal Modi
On Wed, Jul 20, 2022 at 4:07 AM Uwe Brauer wrote: > 2. Second code > > (defun test/set-property-at-heading () > "Function to be called at the beginning of an Org heading." > (interactive) > (let ((el (org-element-at-point))) > ^el is defined but not used. > (org-set-property

Re: org-ref 3 setup

2022-07-20 Thread Joseph Vidal-Rosset
Le 20/07/2022 à 14:15, John Kitchin a écrit : > I assume you are trying something new here? Not really; my setup worked to export to pdf via latex with org-ref, but it is no longer the case, and I do not know why. > the problem is that block is executed and it should not be. That is a >

Re: Confused about source code blocks evaluation when exporting

2022-07-20 Thread Fraga, Eric
On Wednesday, 20 Jul 2022 at 14:12, alain.coch...@unistra.fr wrote: > At any rate, and as I already said, all this business became > irrelevant for me once latexmk was installed: no need then to set > org-latex-pdf-process. This became only a matter of better > understanding some of the org

[PATCH] org-manual: Document `org-babel-default-inline-header-args'

2022-07-20 Thread Ihor Radchenko
Hi, In https://orgmode.org/list/87ee927emf.fsf@localhost I proposed to document org-babel-default-inline-header-args in the manual. Here is the patch. WDYT? Also, I noticed that org-babel-default-header-args has :hlines "no" while org-babel-default-inline-header-args has :hlines "yes" The

Re: Confused about source code blocks evaluation when exporting

2022-07-20 Thread Alain . Cochard
Fraga, Eric writes on Thu 14 Jul 2022 08:35: > On Thursday, 14 Jul 2022 at 10:09, alain.coch...@unistra.fr wrote: > > #+begin_src emacs-lisp > > (setq org-latex-pdf-process ) > > #+end_src > > > > which I want to be evaluated during export but I want neither the code > > not its results to

Re: numbering src blocks in HTML export

2022-07-20 Thread Juan Manuel Macías
Ihor Radchenko writes: > AFAIU, source block switches are never inherited. > > Dear All, may we should provide a normal header arg as an equivalent of > switches? Honestly, this whole switch syntax sounds unnecessary and only > over-complicates things. I think that web pages or documents that

size restriction on columnview?

2022-07-20 Thread Uwe Brauer
Hi I have a document with around 110 headings each heading has 20 different properties, however there seems to be limit. The following columnview will indeed display all the properties of all the headings in table form. #+BEGIN: columnview :maxlevel 2 :skip-empty-rows t :hlines 1 :indent

Re: @string abbreviation in bib file not honored in (basic) org-cite

2022-07-20 Thread Joost Kremers
On Tue, Jul 19 2022, Bruce D'Arcus wrote: >> So does this mean there is no longer any reason to add parsebib to (Non-)GNU >> ELPA? > > No, since parsebib is an important dependency for citeproc-el, and > Ihor was suggesting Andras try to get that in ELPA. Ok, thanks. Sending my copyright

Re: numbering src blocks in HTML export

2022-07-20 Thread Fraga, Eric
On Wednesday, 20 Jul 2022 at 11:58, Ihor Radchenko wrote: > AFAIU, source block switches are never inherited. Thank you for confirming. It's easy enough for me to change all of my src blocks with a single Emacs command. And that's why "it's all text" is so important! :-) > may we should

org-ref 3 setup

2022-07-20 Thread Joseph Vidal-Rosset
Hello John, (cc. list emacs-orgmode) I have a problem with my emacs setup that is in relation with org-ref 3. My emacs version is 29.0.50, via Prelude emacs, and my emacs is launched with "emacs --daemon" . Here is the error: > Loading /home/joseph/.emacs.d/personal/myorgexport.el

heading with properties--> list?

2022-07-20 Thread Uwe Brauer
Hi The following works nicely #+begin_src * Over :PROPERTIES: :ID: ef19f286-8769-4fe7-8f95-8167691257a0 :COLUMNS: %5TODO(Status) %5NR(Nr) :foo: Over :NEW: [0/3] :END: ** TODO Test :PROPERTIES: :Sent: [X] :New: [ ] :END: ** WAIT Test2

Re: org-set-properties for various (all) headings

2022-07-20 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> Two comments though >> >> 1. It works, if the source block is at the beginning of the file  >> >> 2. I confess I don't understand anymore the use of `(let ((el >> (org-element-at-point)))': >> >> a. In your first version you used

Re: org-set-properties for various (all) headings

2022-07-20 Thread Ihor Radchenko
Uwe Brauer writes: > Two comments though > > 1. It works, if the source block is at the beginning of the file  > > 2. I confess I don't understand anymore the use of `(let ((el > (org-element-at-point)))': > >a. In your first version you used the defined «el», but know you >

Re: discovering export (and other) keywords?

2022-07-20 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > kevinbanjo writes on Mon 18 Jul 2022 05:10: > > this page: > > > > > https://orgmode.org/manual/Macro-Replacement.html#index-macro-replacement_002c-during-export > > > > says: > > > > Org also recognizes macro references in keywords, such as

Re: [PATCH] Re: [BUG] Set org-format-latex-options in .dir-locals.el [9.5.1 (release_9.5.1-11-g96d91b @ emacs-28.0.90/lisp/org/)]

2022-07-20 Thread Ihor Radchenko
Ihor Radchenko writes: > The fix is attached. Fixed. Applied onto main via df1814b83.

Re: `org-capture' loads all the files in `org-directory'

2022-07-20 Thread Ihor Radchenko
Noel Errenil writes: > Currently, I'm happy with this behavior. I'll learn how to submit a > feature request > anyway in case in the future I feel a need to. Feature request is nothing but an email with justification why some new feature will be useful for many users. > After your first reply