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

brackets-power not resolving within silist #356

Closed
c3h899 opened this issue Feb 6, 2019 · 2 comments
Closed

brackets-power not resolving within silist #356

c3h899 opened this issue Feb 6, 2019 · 2 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@c3h899
Copy link

c3h899 commented Feb 6, 2019

Use of the "product-units = brackets-power" option for SIlists does not yield consistent results with usage of SI call. Appears SIlist is not translating the bracketed units.

Usage:
\SIlist[product-units = brackets-power]{10 x 20;30 x 40}{\meter}

Returns "(10 x 20 and 30 x 40) m"
When Expecting "(10 x 20 and 30 x 40) m^2"

This holds true for single-element lists. Such is fundamentally inconsistent with the corresponding SI:
\SI[product-units = brackets-power]{10 x 20}{\meter}

Which returns "(10 x 20) m^2"

@josephwright
Copy link
Owner

To be honest, this looks well outside of the range of cases I wrote \SIlist to support. At least I should issue some kind of warning ...

@josephwright josephwright self-assigned this Feb 6, 2019
@josephwright josephwright added the bug Something isn't working label Feb 6, 2019
@josephwright
Copy link
Owner

My plans for v3 separate out the idea of products from 'general' quantities, so this ends up as 'wont fix' in that I'm not going to support that use case.

@josephwright josephwright added the wontfix This will not be worked on label Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants