Add inter as an alternative for sect (Proposal 14, part I)#17
Merged
MDLC01 merged 5 commits intotypst:mainfrom Feb 3, 2025
Merged
Add inter as an alternative for sect (Proposal 14, part I)#17MDLC01 merged 5 commits intotypst:mainfrom
inter as an alternative for sect (Proposal 14, part I)#17MDLC01 merged 5 commits intotypst:mainfrom
Conversation
T0mstone
approved these changes
Dec 13, 2024
Collaborator
Author
|
We should probably wait for #19 to be closed before merging this PR. |
Collaborator
|
I'll mention #27 here, since this PR introduces a duplicated symbol. |
laurmaedje
approved these changes
Jan 21, 2025
Member
|
With #19 merged, we can proceed with the deprecation of |
Only adds `inter`, does not remove `sect`.
Collaborator
Author
|
I marked |
laurmaedje
reviewed
Feb 3, 2025
laurmaedje
reviewed
Feb 3, 2025
Co-authored-by: Laurenz <laurmaedje@gmail.com>
No warning though, as the current infrastructure does not support it.
laurmaedje
approved these changes
Feb 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements the first part of Proposal 14 (iteration 1) from the Symbol Proposals document. It adds
interas an alternative forsect. Eventually,sectshould be deprecated, and later removed. For more context, see the discussion on Discord.For now, there is no infrastructure to deprecate symbols in Codex, nor is there a way to deprecate a constant in Typst. This makes it impossible to deprecate
sectimmediately. However, sincesectis a commonly used symbol, I believe the sooner we introduce its new name, the better.Since this PR assumes the future removal of a symbol (
sect) and a variant (integral.sect), and even though this was already discussed on Discord, cc. @laurmaedje.