Light-weight use of Quarto extensions #9091
allefeld
started this conversation in
Feature Requests
Replies: 2 comments 11 replies
-
Checking in: Is there any chance to get such a feature? |
Beta Was this translation helpful? Give feedback.
10 replies
-
Just curious, can you not make softlinks from a centralised location? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I proposed this idea elsewhere, but it didn't receive a response, so I'm posting it as a separate feature request. It is related to the comments #2845 (reply in thread) and #2845 (reply in thread), but as far as I can see there is no equivalent existing feature request.
Background & Motivation
Quarto has no global configuration, which means that if a user has a certain preferred way to set things up (options, stylesheets, etc.), they have to copy over this configuration into each new project. Or they can create an extension for a custom format, which then has to be installed in each new project – but this basically does the same copying, albeit in a neater way. Consistent with no global configuration in general, extensions cannot be installed "into Quarto", only into a specific project. That is a design decision which will not be changed, based on the goal to have reproducibly rendered, self-contained projects.
The problem with that is that
@go-bayes commented
Defining an extension for a custom format makes things slightly better, because at least now the clutter goes into a subdirectory
_extensions
, but it doesn't change the fact that lots of files are duplicated (triplicated, …) and that a simple single-file document carries with it a whole bunch of ancillary files. It would be perfect if an extension could be installed "into Quarto" instead of a project, but that goes against the "no global configuration" design decision which will not be changed.Proposal "Light-weight use of Quarto extensions"
This would satisfy both Quarto's focus on reproducibility and my and some other users' wish for reduced clutter and duplication (because the extension files are not put into the folder of the file). For full reproducibility, the user would specify a particular version, e.g.
lexcorp/lexconf@v1.2
, or they could just use the generic referencelexcorp/lexconf
and always get the latest version. Both is already possible with installing an extension into a project, but clutter & duplication are avoided.Beta Was this translation helpful? Give feedback.
All reactions