(error "Listing directory failed but ‘access-file’ worked")

2024-04-12 Thread Edgar Lux
Hello. I got this in an Org file: #+begin_src org [[file:Figures/Ti19-g(w, eta={0.1,}, R=1e-3).svg]] [[file:Figures/Ti19-g(w, eta={0.1,}, R=1e-3).png]] #+end_src The files exist, and can be viewed in image-mode (tested with src_bash{emacs -q}). With =C-c C-o=

Re: Feature request: exclude sub-trees by backend

2024-03-27 Thread Edgar Lux
Hi, I had a need for this again (sorry for the necro-bump). On Feb 26, 2024 at 5:51 PM, Ihor Radchenko wrote: > The suggestions to use backend-specific export tag in the links are used > as ugly workarounds... Ok. It was just to show that there are other people who may use it :) . > As for

Feature request: exclude sub-trees by backend

2024-02-22 Thread Edgar Lux
Hello! I am trying to exclude different sub-trees (a.k.a. headings or sections), depending on the exporter backend. I am familiar with =:noexport:= to exclude selected sections (disregarding the backend). I found a solution, but it is only intended for a specific backend:

Re: [BUG] Warning when creating preview

2023-10-09 Thread Edgar Lux
On Oct 9, 2023 at 3:59 PM if I comment out the (add-hook 'org-mode-hook #'org-indent-mode), the error is gone -- Sent with https://mailfence.com Secure and private email -- Sent with https://mailfence.com Secure and private email

Re: [BUG] Warning when creating preview

2023-10-09 Thread Edgar Lux
On Oct 9, 2023 > #--- bug.org > \(a = 1\) > #--- further, if you stay "inside" the equation and do C-u C-c C-x C-l (to remove the preview) and try to show it again with C-c C-x C-l, the preview is not regenerated, but the minibuffer shows =Creating LaTeX previews in section... done.= --

[BUG] short TeX & in-text code highlighting [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2023-10-02 Thread Edgar Lux
I'm almost sure that this is known, but I don't want to assume. I get the text between ~ ~ with colouring as if it was in-text code snippet. I found it interesting \(a ~b\) and \(\int_{\Omega}fv~\mathrm{d}\) Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo

Re: [BUG] Warning when creating preview

2023-10-02 Thread Edgar Lux
Nope, there is still something wrong with my config (see attachment). Haven't been able to reproduce consistently. -- Sent with https://mailfence.com Secure and private email log.gz Description: File Attachment: log.gz

language-specific org-babel-noweb-wrap-start?

2023-10-02 Thread Edgar Lux
Hi! I wish you a nice day, week, month... I would like to know if there is a way to set =org-babel-noweb-wrap-start= for a specific language. If I set that variable to a value, it will apply to all of them. Thank you. This is fine right now #+begin_src lang1 :noweb yes

Re: [BUG] Warning when creating preview

2023-09-28 Thread Edgar Lux
I forgot to say that now: "9.7-pre" GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) -- Sent with https://mailfence.com Secure and private email -- Sent with https://mailfence.com Secure and private email

Re: [BUG] Warning when creating preview

2023-09-28 Thread Edgar Lux
On Aug 28, 2023 at 11:00 AM, Ihor Radchenko wrote:Edgar Lux writes: > On Aug 27, 2023 at 7:29 PM, Ihor Radchenko wrote: >> I recommend https://github.com/Malabarba/elisp-bug-hunter to narrow down >> which part of the config is the culprit. > > We have a winner: Another winner? I am not

Re: [BUG] Warning when creating preview

2023-08-27 Thread Edgar Lux
On Aug 27, 2023 at 1:28 PM, Ihor Radchenko wrote: >>> 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" > Please run this command from terminal. > It should spawn a clean Emacs instance with Org version from the repository. No warning after C-c C-x C-l(2x) -- Ihor Radchenko

Re: [BUG] Warning when creating preview

2023-08-27 Thread Edgar Lux
On Aug 26, 2023 at 6:28 PM, Ihor Radchenko wrote: > Did you see a new Emacs instance at this point? Nope. I just launched Emacs again (there is another instance running) and copied the command >> 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" Shell buffer shows #+begin_example

Re: [BUG] Warning when creating preview

2023-08-26 Thread Edgar Lux
On Aug 23, 2023 at 9:56 AM, Ihor Radchenko > 1. Save the equation to file /tmp/bug.org > 2. Save your `setq' snippet to /tmp/bug.el > 3. cd /path/to/org/repo > 4. make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" > 5. Move point to "t = 0" line > 6. C-c C-x C-l (2x) > 7. The preview appears and

Re: [BUG] Warning when creating preview

2023-08-22 Thread Edgar Lux
On Aug 18, 2023 at 6:04 PM, Ihor Radchenko wrote: > May you try to install the latest stable Org first, following > https://orgmode.org/manual/Installation.html? You should get M-x > org-version printing Org 9.6.7. > Then, let us know if the warning keeps appearing. * What happens When I type

Re: [BUG] Warning when creating preview

2023-08-18 Thread Edgar Lux
On Aug 18, 2023 at 6:04 PM, Ihor Radchenko wrote:Edgar Lux writes: > The Org version is very strange. Emacs 28 ships with Org 9.5.5 and the > latest stable version of Org available on ELPA is Org 9.6.7. The warning > comes from Org >9.6. Super weird. I don't know why I ended up in some 9.4

[BUG] Warning when creating preview

2023-08-18 Thread Edgar Lux
Hi, I don't really need help with this. Org has been telling me for days that I should report this, but I don't really want to share my configuration publicly, and I thought that it was only for a file on which I was working. It seems to be general for my configuration. I hope that it helps.

Re: How to preserve indentation of title inside a latex src block when exporting to LaTeX?

2023-08-15 Thread Edgar Lux
filter-indent-title) ;; ---- indent title ends On Aug 15, 2023 at 12:35 PM, Edgar Lux wrote:Hello. How to preserve indentation of title inside a latex src block when exporting to LaTeX? For (annoying) reasons, I need a frontmatter block which is able to indent its contents. I am almost ther

How to preserve indentation of title inside a latex src block when exporting to LaTeX?

2023-08-15 Thread Edgar Lux
Hello. How to preserve indentation of title inside a latex src block when exporting to LaTeX? For (annoying) reasons, I need a frontmatter block which is able to indent its contents. I am almost there, but the title line is not. I can edit this manually after export, but I would like to know

#+startup: noalign & C-c }

2023-08-14 Thread Edgar Lux
Hi! Is there a way to prevent resizing of a table with =org-table-toggle-coordinate-overlays=? #+caption: there are some extra spaces after =1=, and before and after =b=. #+begin_src org ,#+startup: noalign | 1 | 2 | b | #+end_src When typing C-c } (command for

Re: how can I get the output of a =#+begin_src org= in the current buffer?

2023-08-12 Thread Edgar Lux
Thanks!!! Regarding the typo, it does not show here. But in the info buffer, the =(see *note...= becomes (see see ...). See (:P) attachment On Aug 12, 2023 at 1:07 PM, Ihor Radchenko wrote:Edgar Lux writes: > #+begin_src org >   #+latex_header: \usepackage{nil} > #+end_src > > What I want

how can I get the output of a =#+begin_src org= in the current buffer?

2023-08-12 Thread Edgar Lux
Hello, how can I get the output of a =#+begin_src org= in the current buffer? #+begin_src emacs-lisp   (org-babel-do-load-languages 'org-babel-load-languages '((shell   . t)    (latex   . t)    (emacs-lisp  . t)    (org . t)    )) #+end_src #+caption:

Re: keep intermediary tex from latex preview

2023-06-05 Thread Edgar Lux
! On Jun 5, 2023 at 11:34 AM, Edgar Lux wrote:When using xetex and dvisvgm, an equation like this: \(µp\) will render as p (see attached file), most likely because my configuration is wrong. I don't know how I fixed it for another buffer, but then I restart and--without knowing what happened

Re: keep intermediary tex from latex preview

2023-06-05 Thread Edgar Lux
When using xetex and dvisvgm, an equation like this: \(µp\) will render as p (see attached file), most likely because my configuration is wrong. I don't know how I fixed it for another buffer, but then I restart and--without knowing what happened--the "no-µ" behaviour is back. Also (I am

Re: keep intermediary tex from latex preview

2023-06-04 Thread Edgar Lux
On Jun 4, 2023 at 8:34 AM, Ihor Radchenko wrote: > In short no. > And we are also in the process of refactoring the preview system: > https://list.orgmode.org/orgmode/87lek2up0w@tec.tecosaur.net/ Looks promising! Is the functionality which I mentioned there as well? (get the .tex for the

keep intermediary tex from latex preview

2023-06-03 Thread Edgar Lux
Hello, this has possibly been asked before, but (OMFG) I haven't been able to find it (sorry). How can I keep the .tex file used to generate a latex preview from an Org buffer (or file)? (the closest that I got was =org-latex-logfiles-extensions=). I can usually see such file in =/tmp= if the

Re: [BUG] #+cite_export: ... bibstyle citestyle cannot be universally used as global defaults (was: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite)

2023-02-05 Thread Edgar Lux
Dear Ihor, On Feb 4, 2023 at 12:31 PM, Ihor Radchenko wrote:Edgar Lux writes: > For example, ... the proposed idea is > a bit awkward: > > ... > #+cite_export: processor[opt1=val1,opt2=val2,...] bibliography-style[...] > citation-style[...] > > I assumed that there is one "major"

Re: [BUG] #+cite_export: ... bibstyle citestyle cannot be universally used as global defaults (was: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite)

2023-02-03 Thread Edgar Lux
On Jan 24, 2023 at 11:54 AM, Ihor Radchenko wrote:Edgar Lux writes: > I understand. My takeaway from here is that there is a need to provide > extended global defaults for both bibliography style and citation style. > > Which is a questionable design choice. I was referring to higher-level >

Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite

2023-01-23 Thread Edgar Lux
On Jan 23, 2023 at 12:06 PM, Ihor Radchenko wrote:Edgar Lux writes: > So, what is the problem with LATEX_HEADER approach? I thought that it would be preferable to have a native Org syntax. > I do not like passing the options as-is in #+cite_export because not all > the possible biblatex

Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite

2023-01-22 Thread Edgar Lux
January 22, 2023 at 12:15:14 PM CET Ihor Radchenko wrote:Edgar Lux writes: > Note that we have https://orgmode.org/manual/Citation-export-processors.html > Of course, the "Citations" section of the manual is not yet complete. > More examples and details will be welcome. Yes, indeed > >

Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite

2023-01-22 Thread Edgar Lux
January 22, 2023 at 12:36:32 PM CET "András Simonyi" wrote:Dear All, > There is also the customizable variable `org-cite-biblatex-options' to > pass additional options, That is very useful, indeed (I didn't know how to use it). Hopefully the e-mail which I just sent helps with the

Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite

2023-01-21 Thread Edgar Lux
For the very silly reason that I was not aware of it >.< . Thank you, Ihor. For the uninformed: evaluate this as a lisp expression (require 'oc-biblatex) . Also, you can use either #+LaTeX_HEADER: \usepackage... (like shown in this thread) or style options with #+cite_export: biblatex (read

Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite

2023-01-20 Thread Edgar Lux
LOL What an idio...! (sorry) January 20, 2023 at 11:59:22 AM CET Ihor Radchenko wrote:Edgar Lux writes: > I send the attached patch for your consideration. It allows to use biber for bibliographies. I tested it with this: Thanks, but could you please attach the patch? -- Ihor Radchenko //

Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite

2023-01-19 Thread Edgar Lux
Dear list, I send the attached patch for your consideration. It allows to use biber for bibliographies. I tested it with this: (require 'oc-natbib) #+cite_export: natbib #+LaTeX_HEADER: \usepackage[style=numeric-comp,sorting=none,