Re: Friendly exchange of thoughts: citations and LaTeX

2023-05-02 Thread Pedro Andres Aranda Gutierrez
Hi Ihor, sorry for being so silent, but I'm currently at 300% occupation. And statistical mux doesn't work well on human beings... Marking this as TODO... thx,/pa Enviado desde mi iPad > El 2 may 2023, a las 14:51, Ihor Radchenko escribió: > > Ihor Radchenko writes: > >> One reasonable op

Re: Friendly exchange of thoughts: citations and LaTeX

2023-05-02 Thread Ihor Radchenko
Ihor Radchenko writes: > One reasonable option could be keeping relative paths relative iff the > #+BIBLIOGRAPHY is derived from a file inside the same directory with the > exported file. > > Tentative patch attached. I applied an alternative patch that uses the approach from `org-export--update

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-29 Thread Pedro Andres Aranda Gutierrez
Looks reasonable... we put the .org and .bib file(s) in the same directory and we can use relative paths... That's what I would do in a pure LaTeX environment (and in overleaf.com) Could be expanded to same directory or its leaves... like when I have the .org file and a bibliography directory in t

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-29 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Having said that, I was also (just a bit) bugged by the fact that > bibliography file names are completely expanded when generating LaTeX. > Couldn't we avoid that for LaTeX export? It is in `org-cite-list-bibliography-files'. AFIAU, full path is forced th

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-27 Thread Pedro Andres Aranda Gutierrez
> And often a source of real issues (I > have this problem sharing with my group where most use Windows... issues > with paths and upper/lower case names). I don't know why, but it sounds familiar ;-) Best, /PA On Mon, 27 Mar 2023 at 11:34, Fraga, Eric wrote: > > Hi Pedro, > > On Monday, 27 Mar

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-27 Thread Fraga, Eric
Hi Pedro, On Monday, 27 Mar 2023 at 11:02, Pedro Andres Aranda Gutierrez wrote: > \jobname is the shorthand for ‘the file that you are compiling with Ah, okay; thank you. > Re the use of absolute vs relative path when exporting to LaTeX, I > might want to export to LaTeX and transfer to overle

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-27 Thread Pedro Andres Aranda Gutierrez
Hi Eric, \jobname is the shorthand for ‘the file that you are compiling with the latex command’. I use it in my templates for LaTEX presentations and documents I conjunction with \addbibresource{} I always have a main.Tex + main.bib file pair. Recognizing this in org-cite would be nice. Re th

Re: Friendly exchange of thoughts: citations and LaTeX

2023-03-23 Thread Fraga, Eric
Pedro, maybe start by showing an example of where \jobname does not work with org while working with LaTeX directly? I have never used this LaTeX command and know nothing about it. Secondly, what is the problem with bibliography file names being expanded? eric -- : Eric S Fraga, with org relea

Friendly exchange of thoughts: citations and LaTeX

2023-03-19 Thread Pedro Andres Aranda Gutierrez
HI I just wanted to start a _friendly_ exchange of thought which may end up in some code related with citations and LaTeX. (sort of my SoC :-) ) It all starts with the support for the LaTeX '\jobname' macro. It is quite convenient and I have been using it for a long time now. In the 'old dog don'