Am Donnerstag, dem 04. November 2021 schrieb Nicolas Goaziou: > I think there are two ways forward when a relative file name is used: > > 1. First check `org-cite-csl-styles-dir' and, if it is nil, expand > against `default-directory'; > > 2. Drop `org-cite-csl-styles-dir' and always expand against > `default-directory'. > > What do oc-csl users think about it?
On the risk that I do not entirely understand the dispute: I would like to specify relative CSL files. Currently I work on a commentary which has its own, specific citation guide lines, that is, I need a custom specific CSL style just for this project. Naturally I store this CSL file along the .org file in the same directory. I can specify its file name as an absolute file name (which is what I do currently), but it would be easier and immune to moving the folder around on my PC if it could be a relative name. It would also help in creating minimal working examples for bug reports, which currently require org maintainers to adapt the path to the CSL file specified. That would probably mean option 1. Option 2 seems extreme; while I have not yet accumulated a reasonable collection of CSL files for the German law journals, I suppose it will happen at some point, in which case it will come in handy. Still, for the sake of archiving the .org files in a working state, I may still want to be able to store the CSL file along with the .org file. After all, the CSL file may be modified later on and then it may not be possible to re-export the .org file. Having both the CSL file and the .org file together (in one repository, for instance) may seem preferable to me. It however is all too new to me to make a final judgment on this question. What about a third option: If `org-cite-csl-styles-dir' is not nil, check if it resolves to an existing file; if no such file exists, expand against `default-directory'. If `org-cite-csl-styles-dir' is nil, expand against `default-directory'. -quintus -- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kont...@guelker.eu | O<