Comments (5)
hmmmm...
I have to say they have some similar functions, but are implemented in totally different approaches and used in no situations in common at all.
from latexify_py.
Hi, thanks to notifying!
Yes I knew your project (which is quite nice π ). I understood that is oriented for scratching math on Jupyter, using Python as a "math language."
This project is in contrast oriented to generate LaTeX from usual Python code which are possibly written already somewhere, with keeping (most) original functionality.
These are developed for different use-cases I guess, but the functionality on Jupyter is somewhat similar.
from latexify_py.
Thanks! I like Latexify-py, too. I plugged it on a Reddit thread last week.
handcalcs also has a function decorator interface to be used in non-Jupyter environments. I think the key difference is that Latexify-py is more focussed on theoretically representing the whole body of a function symbolically whereas handcalcs is focussed primarily on tracing computation by a) only rendering the happy path through branched conditionals and b) by showing all numeric substitutions to the symbolic form.
Plus, Latexify-py has more sophisticated code by working directly on the ast (~200 lines of code: amazing!). handcalcs is over 2000 lines of code and is operating on nested lists generated from pyparsing.
from latexify_py.
Yeah that's the point!
I also guess we can possibly have some cooperation on similar functionalities. I am roughly thinking of separating LaTeX code generator and its printer on Jupyter from the current AST parser to increase portability. It may be worthy for other tools relying on LaTeX too. (ironically it may increase LOCs from 200 π )
from latexify_py.
This is a general discussion, would like to close it for now.
from latexify_py.
Related Issues (20)
- Custom multiplication behavior (option to use \cdot everywhere) HOT 1
- Should `def(x): func(x)` generate `\func x` or `\func \mathopen{}\left( x \mathclose{}\right)`? HOT 2
- Fine-grained control over function name replacements
- Designing "plugin" interface HOT 3
- Use `latex.py` for to standardize codegen HOT 2
- Feedback From a User HOT 14
- Please add support for Python >3.11 HOT 2
- IPython extension to automatically use conversions on displayed objects HOT 1
- Better Identifier For Multi Index and RHS HOT 4
- Can you sub in values for show work? HOT 1
- Π‘onverting expressions or strings to latex format HOT 5
- Release New Version HOT 6
- Support for sqrt-like nth-roots when rendering x**(1/p)? HOT 2
- Support for log1p and expm1? HOT 4
- `if-elif` statements break if there's no `else` HOT 1
- Typo in \mathopen HOT 3
- Counterintuitive (wrong?) parenthesis when combining exp() and powers HOT 16
- Function docstring and reduce_assignments enabled does not play nice HOT 2
- Include .tex output examples in latexify_py/examples/examples.ipynb HOT 3
- math.pow not working properly on google colab HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latexify_py.