jtexcore's People
jtexcore's Issues
Dynamic header generation always add required imports (conditional)
Packages like amsmath
should always be imported, not only if the header \documenttype
is not given
\text{} does not escape Math-Command
--m{
\text{word1 (words) }
}
=>
\begin{align}
\text{word1 \left(words\right) }
\end{align}
Left and Right breaks LaTeX Compiler
Enable different command environments
For instance, math environment contains commands like \R
for rational numbers etc...
--cenv(math, ...)
Token VARNAME should be matched like the regex: [a-zA-Z]([a-zA-Z0-9])*
Import package for coloneqq automatically
Implement Operators
- sum (++)
- overset (^^)
- underset (__)
Bug
-- 1_(=>);
BuildOperators skip operands starting with a whitespace
-- 1 * ( 2 * 3 ) * 4;
Parser Blocking if file ends with '\QED'
'\QED'
Block comment
\author{
/* This
is a
block comment*/}
Replace use header with --use for consistency and add --use default for default packages
Dynamic header generation \input{header} support necessary
file_utils getFiles should return absolute paths
Be careful to update all references as they currently use a workaround
Matrix types are unintuitive
--m{
--mat.store(abc).hide(){1, 2, 3;4, 5, 6} {}
--mat{--plmat.recall(abc), ...;..., --mat.recall(abc)}
}
The types are not fixed when a matrix is initialized.
Support checker function for operators
Label support using '@', 'as', and 'mark'
'mark' should align separate equations
possible solution: makebox --> https://tex.stackexchange.com/questions/29119/sharing-alignment-between-equations-in-two-different-items
Escaping in a matrix
Escaping commands in a matrix is not possible, or leads to formatting problems.
--m{
--mat.store(abc).hide(){1, 2, 3;4, 5, 6} {}
--mat{--plmat.recall(abc), ----*;--*, --mat.recall(abc)}
}
Operands can be whitespaces
-- 1 / 2;
=> $1\frac{}{}2$
Migration to TypeScript
Command should support optional parameters
Example --math.align(+, -){}...
Dynamic Header Generation does not ignore comments
Block comment not working with '/' token before
//* */
Operators wrap wrong arguments
-- 2 * \sum_{...}
=> {2 \cdot{} \sum}_{...}
argument system for operators advance 1 char too much
Wir zeigen zunächst, dass -- f^; wohldefiniert ist. Seien also
-- v, w \in V; mit -- v^ = w^_;. Nach Definition 5.19 existiert also
ein -- u \in U;, so dass -- v - w = u; gilt. Es folgt
--m{
(f(u))^_ \in U <=> (f(v-w))^_ \in U \
\overset{\text{f linear}}&{<=>} (f(v) - f(w))^_ \in U \
<=> (f(v))^_ - (f(w))^_ \in U \
<=> (f(v))^_ = (f(w))^_ \
<=> f^(v^) = f^(w^)
}
Da -- v, w; beliebig gewählt wurden, ist -- f^_; eindeutig und somit wohldefiniert.
Es bleibt zu zeigen, dass -- \chi_(f \backslash U) * \chi_(f^_); gilt.
Dynamic import and header generation
Maybe use @ifpackageloaded -> https://tex.stackexchange.com/questions/16199/test-if-a-package-or-package-option-is-loaded
Bug when executing js after use-header
left and right is not placed automatically
Example:
--m{
abc (123) xyz
}
In the main branch, this still works.
Add \left, \right to brackets in math mode
Matrix syntax
--mat{
1, 2, 3, (4 + 5)
2, 3, 4, 5
}
--blockmat{
(
(1, 2, 3)
(4, 5, 6)
)
}
Operator Bug
-- 2 * (-\pi)//(\pi);
math-mode curly brackets after operators are viewed as individual tokens
-- \sum_{k=0}^{n-1};
=> $\sum_{{}k=0{}}$...
Align does not accept empty lines
The LaTeX align environment does not accept empty lines. Maybe we should delete the empty lines or replace them by something, which LaTeX compiles to a real empty line instead of throwing an error.
Example:
--m{
1+1
2+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.