-
Notifications
You must be signed in to change notification settings - Fork 435
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
Handcalcs v2.0 #200
Comments
Ehi Connor, thank you for the incredible work, I really look forward to the version 2.0! With the current version, I encountered some issue (or I would call them limitation) that I list below:
If a point is unclear, please do not hesitate to ask for more information and/or a proper replicable example. I hope that this feedback could help you improve this library and if I missed something that already solves some of these limitations, let me know and sorry for the miss! Figure with an example of the shortcut for rendering simple text in a function in combination with the handcalc output (no left aligned text at the moment but needed for the norm reference): |
Hi Conner, fully agree with DonCammne: thank you for the incredible work, I really look forward to the version 2.0! A couple of V2 comments/feature requests:
|
Hello, General formatI find @reneholmgaard's idea with general format very good. I changed the
with a AlignmentI would only align the first equal sign in equations. The blanc gap between the equation and the result is not looking very nice. |
Hey Connor I'm using this issue to describe another usecase of handcalcs. Recently I came across Quarto which is pretty neat for creating PDFs out of Notebooks. I see alot of potential in the combination of handcalcs and Quarto. It already works fine with handcalcs. But I still desire a proper Markdown output of the handcalcs - generated calculations and an equation label (since quarto translates Markdown) as the example provided below (I wasn't able to do it by tinkering with the config.json file):
This would eventually enable one to cross reference equations inside the notebook. On top of that the whole report creation and formating could be done in a notebook. I would highly appreciate that handcalcs v2.0 gets rebuilt with Quarto in mind. Thank you! |
@PascalGitz I have been wanting to check out Quarto! I will definitely be thinking of Quarto :) |
@DonCammne Thanks for these suggestions. I have just gotten a brainwave of how loops can be accommodated and dealt with... |
Apparently if I submit a comment by doing Ctrl-Enter, it closes the issue. Oops! |
Round instead of fixed float or general format
|
Hi, my apologize for my bad english but how do you do the "Check" and "Warning don't pass" i been triying but i can't. |
Many of the issues raised are caused by limitations from the string parsing procedures utilized by handcalcs. I am planning a complete rewrite of handcalcs so that, instead of "reading" Python code as strings, handcalcs will access the abstract syntax tree directly. This will allow handcalcs to recognize all Python tokens (for loops, proper conditionals, and exceptions, for example) and the behaviours to convert each of these tokens into Latex can, ultimately, be customizable.
Other issues regarding rendering of the Latex code to PDF will be unaffected by this change but I am frequently thinking about these problems and am slowly strategizing a solution.
While I do not have a timeline for the v2.0 yet, it is certainly a major goal that I plan on achieving. The amount of community that has developed around handcalcs is truly inspiring for me and I want this tool to be far more adaptable and flexible than it already is.
Please keep raising issues. While I have not been around to answer them lately, I read them and I appreciate them.
I am planning some intermediate releases to fix quick bugs or to add easy-to-implement features throughout 2024. Stay tuned for those.
The text was updated successfully, but these errors were encountered: