Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative to renamed-styles/unstable ids? #4903

Closed
bwiernik opened this issue Jul 3, 2020 · 1 comment
Closed

Alternative to renamed-styles/unstable ids? #4903

bwiernik opened this issue Jul 3, 2020 · 1 comment

Comments

@bwiernik
Copy link
Member

bwiernik commented Jul 3, 2020

I've been thinking about the problems with renamed-styles and potentially changing style IDs, and it occurred to me that maybe we could solve all of these problems using dependent styles? If a style ID were changed, rather than listing it in renamed styles, why not make a dependent style with the old id? These dependent styles could be stored in a specific legacy-id folder or similar?

@rmzelle
Copy link
Member

rmzelle commented Nov 29, 2020

Downstream CSL consumers would have to treat such styles specially, though. I.e., they wouldn't want these legacy-ID dependents to show up in their browsable collection, but they should make sure to resolve any requests to these styles (so they can't completely ignore them).

Not sure this approach is any cleaner than having renamed-styles.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants