Releases: e0328eric/vesti
v0.0.30
v0.0.29
v0.0.28
Added
- Add
pycode
block to execute python scripts inside of vesti. It uses python dynamic library to run python. Also by using the installed pip,vesti
can also run several python projects.
Changed
{@
->{<
@}
->>}
Removed
defun
family are replaced into singledefun
syntax
Note
- Since python codes are run inside of
vesti
, I personally think that there is some security issue because the python is not isolated. However, I don't know the concrete example about that
v0.0.27
Changed
- The following keywords are changed
importfile
->getfilepath
importfile*
->importfile
- Action for text in math changed
Previously,$"foo"$
is interpreted as$\text{ foo }$
and$"foo"#$
is interpreted as$\text{foo }$
. But such behavior is changed by
$#"foo"$
=>$\text{foo }$
and$"foo"#$
=>$\text{ foo}$
.
From this change,$"foo" $
is still interpreted as$\text{ foo }$
.
Added
- Add
importmod
keyword. For more information about this keyword, see the example. - Add
oo
in math mode to represent\infty
symbol. - Add
...
in math mode to represent\cdots
symbol.
Deleted
- Remove argsplitter
@
. Therefore,@
is ,in general, parsed as a normal 'at' character. Furthermore, from this change, there is no need to use@!
special token, so it is also removed. - Remove optional bracket
%[
. However, since this token is removed, the codex\in[0,1)
does not compiled because vesti thinks\in
has an optional argument because the token[
is used very after\in
. But as this bracket is not closed, it cause an error. So one must write the code likex\in [0,1)
.
v0.0.26
Added
- Auto compilation is revived. You can
watch
vesti file by sayingvesti compile -W <FILENAME>
in the command line.
Especially, in Windows, if the compilation failed, then simple message box appears to alert. - Inline latex only single line is added. The token about this is
%-#
. This is closed with the newline.
Changed
- Change tokens
<{
->{@
and}>
->@}
.
v0.0.25
0.0.25
Changed
Fix some bugs
0.0.24
Changed
- Better error message for tectonic backend
Fixed
- a bug not to print notes when backend compilation error occurs
importfile
does not ignore the end of line
0.0.23
Added
- Add tectonic backend to compile vesti. In this version, it can be installed
with enablingtectonic-backed
feature. Here is the command line argument to
install this feature$ cargo install vesti --features=tectonic-backed
- The new keyword
importfile*
copies the file intovesti-cache
folder. For instance, if one writethen vesti copiesimportfile* (./foo/bar.txt)
bar.txt
inside in the./foo
directory intovesti-cache
.
Especially, one can writeThe special directoryimportfile* (@/foo/bar.txt)
@
refers to the OS specific config directory. For more information about config directory location, see here.
v0.0.22
Added
- Add three new tokens
||
,?
and\?
. The token||
is a norm token inside a math.\?
is called raw question mark token, which prints?
inside the math environment.
Changed
- Remove
(!
tokens family so called big brackets. Instead, vesti uses a new token?
inside in a math environment to make brackets bigger.
For example,(?
is equivalent with\left(
in LaTeX. Similarly,?(
is equal to the\right(
in LaTeX.
The reason why such position for question mark is selected is that it looks like opening and closing brackets such as(? ... ?)
, for example.
Supported brackets are followings:
(
,)
,{
,}
,\{
,\}
,<{
,}>
,|
,||
v0.0.21
Added
There are four keywords implemented: mainvesfile
, importpkg
, importves
and importfile
.
First of all, importpkg
is a replacement for import
to unify the naming with its family.
mainvesfile
is an attribute that indicates whether it is a "main" vesti file.
importves
is a copy-paste vesti include keyword like #include
in C. It does not check the cycle, but there is a plan to support it.
What importves
does is mangle names if the vesti file is not a "main" file. This enables the feature that all vesti files are now compiled inside of the vesti-cache
folder. After then run the latex related local compiler to compile produced tex file, and finally generates a pdf file.
importfile
can be used with \includegraphics
, for example. For more information about this, see the example related to that keyword.
In default, every files are "main" file unless the flag --has-sub
is used.
Fixed
- Fix
}>
tokenizing issue
Deprecated
docstartmode
is deprecated for now on.
Removed
-c
flag is removed for some technical issue
v0.0.20
Changed
- Add following new parenthesis which are abbreviation for
\left
and\right
pair.
Here is a table for new tokensTokens LaTeX Equivalence (!
\left(
!)
\right)
[!
\left[
!]
\right]
\{!
\left\{
\}!
\right\}
<{!
\left\langle
!}>
\right\rangle
Tokens are changed, so if one installed version 0.7.0, then update it
v0.0.19
Changes
- Deprecate
mtxt
andetxt
. They are changed with double quote"
inside the math mode. - Add
enddef
keyword and removeendfun
keyword.enddef
closes both a function definition and an environment definition. - Remove
pbegenv
andpendenv
and their work is inherited intobegenv
andendenv
, respectively.