Re: Eshell automatically inserting spurious tabs

2022-06-28 Thread Alessandro Bertulli
Ihor Radchenko writes: > Note that you are writing to the mailing list dedicate to Org mode. Your > issue does not appear relevant. You may have better luck asking > emacs-help mailing list, #emacs IRC, or /r/emacs reddit. My bad! I meant to write to Emacs mailing list but apparently I

Eshell automatically inserting spurious tabs

2022-06-24 Thread Alessandro Bertulli
Hi all! I noticed that, when using eshell, sometimes Emacs inserts some non requested tabs. For instance, let's say I have: ~ $ <--> I can type her normally But let's say I'm passing a parameter between quotes, like 'echo "something"'. When I type the quotes ("),

Re: Opening org-cite links with different application

2022-06-01 Thread Alessandro Bertulli
> P.S. Alessandro, could you, please, response to mails using "reply" > button. You messages lack of In-Reply-To and References headers, so at > least thunderbird does not group messages into a thread. Sure, no problem. I usually use vanilla compose-mail to answer, probably that's the problem. I

Re: Opening org-cite links with different application

2022-05-27 Thread Alessandro Bertulli
Thanks to all for your answers! Max wrote: > I mean >(call-process "xdg-open" nil 0 nil url) > with "sioyek" instead of "xdg-open" if you do not like to set the > application as the default handler for PDF files. It will allow to avoid > additional settings for shell buffers. Of course, you

Re: Opening org-cite links with different application

2022-05-25 Thread Alessandro Bertulli
Thanks for the suggestion! I wasn't aware of shell-quote-argument, now it seems much more robust: (setq citar-file-open-function '(lambda (file) (async-shell-command (format-message "sioyek %s" (shell-quote-argument

Re: Opening org-cite links with different application

2022-05-25 Thread Alessandro Bertulli
It's a PDF viewer that tries to display scientific and academic writings at his best. It's actually still experimental, in a way, but it looks promising and, for now, I don't have big problems. Unfortunately, it has vi-style keybindings :-) Anyway, I think I need a lambda because there's not a

Re: Opening org-cite links with different application

2022-05-25 Thread Alessandro Bertulli
Thanks! Precise as always. I'm not sure if it's the best way to do so, but it worked for me by using a lambda: (setq citar-file-open-function '(lambda (file) (async-shell-command (format-message "sioyek \"%s\"" file Moreover, since I don't really care about the terminal output of

Opening org-cite links with different application

2022-05-25 Thread Alessandro Bertulli
Hi all! I'm keeping a journal of my research activity with org-cite, and together with citar and vertico, it works great. I have a question though. How can I make Org open the PDF file of a resource, using an external application? Let me explain: with the point on a org-cite link, pressing C-c

Re: Org-cite/Citar cannot recognize neither biblatex nor natbib

2022-05-13 Thread Alessandro Bertulli
Hi, I think I spotted the problem. It's difficult to be sure, but apparently, since version 4.31, latexmk automatically detects and run biber as a citation engine (see this post https://tex.stackexchange.com/a/231351/259874). In fact, in the latexmk man page, it is said to use the option -bibtex

Re: Org-cite/Citar cannot recognize neither biblatex nor natbib

2022-05-13 Thread Alessandro Bertulli
Thanks, I'll mail to mr Collins to inform him then. Thank you all for your help! Last thing: I heard that the citation part of the manual is still undocumented. Is this right? If so, do you think what we discovered (especially about manually requiring libraries) may be useful? May I help? Thank

Re: Org-cite/Citar cannot recognize neither biblatex nor natbib

2022-05-13 Thread Alessandro Bertulli
Ok, I think I got something. Indeed, setting org-latex-pdf-process to '("pdflatex -output-directory %o %f" "bibtex %b" "pdflatex -output-directory %o %f" "pdflatex -output-directory %o %f") produces the correct pdf output. I think I have a hint of the reason for this. When exporting to a

Re: Org-cite/Citar cannot recognize neither biblatex nor natbib

2022-05-13 Thread Alessandro Bertulli
> IDK; my version is newer: > > Org mode version 9.6 (9.6-??-2bd34edb64 @ > /home/bruce/.config/emacs/.local/straight/build-29.0.50/org/) I downloaded it from MELPA (since I'm using Emacs 28.1, the one built-in is 9.5.2). > I'm using doom, which as you can tell is using straight. I suppose

Re: Org-cite/Citar cannot recognize neither biblatex nor natbib

2022-05-13 Thread Alessandro Bertulli
> For the record, n.d. means "no date" so your BiBTeX entry must be > missing the year field, for instance. Actually, it has the field "date". I have read some advice saying that using "date" over "year", "month" and "day" is encouraged, but searching online it appears that it is not supported by

Re: Org-cite/Citar cannot recognize neither biblatex nor natbib

2022-05-12 Thread Alessandro Bertulli
Hi Bruce, thank you for your help. Indeed, loading both functionalities (require 'oc-biblatex) (require 'oc-natbib) did the trick. That's strange, though: my version of Org (get from M-x org-version) is Org mode version 9.5.3 (9.5.3-g69c588 @ /home/alessandro/.emacs.d/elpa/org-9.5.3/). Shouldn't

Org-cite/Citar cannot recognize neither biblatex nor natbib

2022-05-12 Thread Alessandro Bertulli
Hi again. After fixing org-ref, I was exploring org-cite and citar. Again, I'm not sure how to make everything work. When I try to export to a LaTeX pdf file, I got the error "user-error: Unknown processor natbib", despite I put the exact header suggested in the manual

Re: Org-ref not working when exporting to LaTeX

2022-05-12 Thread Alessandro Bertulli
headaches. Daniel, thanks for your suggestion. Your advice and professor Kitchin's answer actually questioned me: I know basically nothing about the differences between LaTeX, biblatex and CSL, so I think I need to investigate that before deciding wich one to use. Thanks again, Alessandro Bertulli

Org-ref not working when exporting to LaTeX

2022-05-11 Thread Alessandro Bertulli
al imagination.}, issue_date = {August 2018}, pagetotal = {11} } ----- Thanks for your patience, Alessandro Bertulli

Re: [BUG] Documentation errata [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-05-01 Thread Alessandro Bertulli
I feel like it's still not completely clear, but I assume it's just a problem of mine: if I have been the only one having the problem, then it's on me, I suppose. Anyway, your patch is an improvement, and you are certainly more expert than me in producing user documentation, so green light for me!

Re: [BUG] Documentation errata [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-04-30 Thread Alessandro Bertulli
Thanks! You're right, I was confused. In the phrase "Pressing the single-quote FOLLOWED by another character modifies the symbol BEFORE POINT with an accent or a font.", I got tricked by the "followed". I thought it meant: "press the single-quote, then the character YOU WANT TO MODIFY". Of course,

[BUG] Documentation errata [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-04-14 Thread Alessandro Bertulli
ar/group/macro with math accent/style." (my emphasis). I think this is a typo to be corrected in the Manual. Is this the right place to make such a suggestion? Thanks in advance to all and I apologize if this is not the right way to submit an errata. I post my configuration after my message