Skip to content

Releases: e0328eric/vesti

v0.0.30

22 Feb 17:03
Compare
Choose a tag to compare

Added

  • Add luacode block to execute lua scripts
  • introduce vesti.sprint, vesti.sprintn, and vesti.sprintln functions. These functions embed latex code (not the vesti one) into the compiled latex

Changed

  • getfilepath -> getfp and deprecate the former one

v0.0.29

15 Feb 04:35
Compare
Choose a tag to compare

Changed

  • Codebase of vesti is now changed into zig.
  • defun, enddef, defenv, redefenv, and endswith are deprecated
  • deprecate mainvesfile and pycode

v0.0.28

03 Jan 14:33
Compare
Choose a tag to compare

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 single defun 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

07 Nov 07:56
Compare
Choose a tag to compare

Changed

  1. The following keywords are changed
    • importfile -> getfilepath
    • importfile* -> importfile
  2. 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

  1. Add importmod keyword. For more information about this keyword, see the example.
  2. Add oo in math mode to represent \infty symbol.
  3. Add ... in math mode to represent \cdots symbol.

Deleted

  1. 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.
  2. Remove optional bracket %[. However, since this token is removed, the code x\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 like x\in [0,1).

v0.0.26

24 Sep 02:48
Compare
Choose a tag to compare

Added

  • Auto compilation is revived. You can watch vesti file by saying vesti 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

19 Jan 15:09
Compare
Choose a tag to compare

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 enabling tectonic-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 into vesti-cache folder. For instance, if one write
    importfile* (./foo/bar.txt)
    
    then vesti copies bar.txt inside in the ./foo directory into vesti-cache.
    Especially, one can write
    importfile* (@/foo/bar.txt)
    
    The special directory @ refers to the OS specific config directory. For more information about config directory location, see here.

v0.0.22

02 Dec 08:08
Compare
Choose a tag to compare

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

22 Nov 00:09
Compare
Choose a tag to compare

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

05 Nov 07:47
Compare
Choose a tag to compare

Changed

  • Add following new parenthesis which are abbreviation for \left and \right pair.
    Here is a table for new tokens
    Tokens 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

21 Sep 15:16
Compare
Choose a tag to compare

Changes

  • Deprecate mtxt and etxt. They are changed with double quote " inside the math mode.
  • Add enddef keyword and remove endfun keyword. enddef closes both a function definition and an environment definition.
  • Remove pbegenv and pendenv and their work is inherited into begenv and endenv, respectively.