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

Rough underline, strikethrough, etc. #76

Closed
Omikhleia opened this issue Feb 3, 2024 · 1 comment · Fixed by #78
Closed

Rough underline, strikethrough, etc. #76

Omikhleia opened this issue Feb 3, 2024 · 1 comment · Fixed by #78
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Omikhleia
Copy link
Owner

Omikhleia commented Feb 3, 2024

(Moved from ptable.sile)

Since Aug. 2022 (or earlier, can't remember and lazy to check), the framebox package has an experimental and undocumented \roughunder command using a sketchy line(s) for a replacement of the "underline" command. As noted in-code:

This would need to be re-implemented and checked after multiline effects (e.g. multiline links and underline) are possibly added to the typesetter.

Such "liners" spanning multiple lines are making it in SILE develop branch for 0.15 and likewise in sile-x, which would allow to better implement this...

The command doesn't really belong to framebox, and should perhaps be moved to a dedicated package ("roughrules?")
There we could have:

@Omikhleia Omikhleia changed the title Rough underline, strikethrough Rough underline, strikethrough, etc. Feb 3, 2024
@Omikhleia Omikhleia added the enhancement New feature or request label Feb 3, 2024
@Omikhleia
Copy link
Owner Author

Caveat: re-introducing a silex.sile dependency on ptable.sile is probably a real bad idea, though.
Another path could be:

  • Extract the rough logic as an independent luarocks (we are now close to having it feasible)
  • Provide the above-mentioned commands in a new dedicated modules, that may depend on silex initially for compatibility, but can later get rid of it when switching to SILE 0.15+

Would make me maintain yet another rock, though...

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

Successfully merging a pull request may close this issue.

1 participant