TexCore
This project is under the MIT License
TexCore is the successor to tex-rs
and uses linked lists to help walk and sort elements to either
write to tex code or compile to pdf.
To add to your project:
[]
= "0.4"
The Compile Feature
To allow this library to be able to run on Windows systems, I have made the tectonic
dependency optional and only
available under the compile
feature. This means that the function, texcore::compile()
and ElementList::compile()
are hidden under this feature.
[]
= { = "0.4", = ["compile"] }
The TexCreate Template Feature
To allow easier development with the TexCreate project, I have decided to add the texcreate-templates
portion under
the texcreate_template
feature. This feature also uses the compile
feature as long as the dependency serde_json
.
= { = "0.4", = ["texcreate_template"] }
Read documentation here
Changes in 0.4.0
ElementList::new()
has been changed so it needs&Metadata
as an argument- Fixed the
From
trait that is implement for all of theTex
types forElement<Any>
The following functions uses ElementList
mutably, as well as other described changes:
ElementList::to_latex_string()
&ElementList::to_latex_split_string()
have been modified.- No longer use a
sort()
method and instead utilizesfpop()
.
- No longer use a
- The
ElementList::write()
function has been split into two different functions:ElementList::write()
: Writes to a file given a path,main
ElementList::write_split()
: Write to two files by splitting the meta + document and packages level