Hej
my name is nxe (pronounced nix). i study computers because i can and you cant stop me, and write a lot from scratch because i can and you cant stop me
ive moved to gitlab except when i have to use github
okay bye
A Python-LeTeX interface to make writing in LaTeX faster and easier
Hej
my name is nxe (pronounced nix). i study computers because i can and you cant stop me, and write a lot from scratch because i can and you cant stop me
ive moved to gitlab except when i have to use github
okay bye
Option to add an abstract or preface section on the first page and start the document on the page after?
When adding a thing, can it be made so if it's not a class that inherits from _main
, default to make it text?
since the code class uses minted
, and this has some pre-requisite installations, these need to be included in the code class documentation.
Possible also include a how to install the required things as well?
Changed the Code.generate_TeX()
method to use minted
because it has better code highlighting and now I can't compile anything...
Need to check if there's a $
in the text input and if there is, check if there's a \text{}
in there. If there is change the packages list
Having been using it for some time, it's dawned on me that it's not that easy to use with brackets all over the place and very difficult to follow. So, could we instead have a file interpreter? Make a new file type .etex
that's a raw text file just with a different extension, or just use a .txt
file, and have specific syntax that generates latex code from it and compiles it?
Use \/
for a new line for text
For the plots, add a method that, given a numeric value and a range, will generate the tex
code for the ticks. Same for minor ticks.
Need to find how to use __all__
to control what classes and variables get imported when from ETeX.main import *
is called
Since the generate_TeX
method of the plot
class starts by just adding string if a variable exists, see if you can loop through all the stored variables using dict(self.__dict__.items())
and check if a variable is in the keys of another dictionary, and if so get the tuple value of that variable and put the value of the variable in between them. For example:
plot_generate_TeX = {'title': ('title={', '}'), 'samples': ('samples=', ''), ... }
So when checking through dict(self.__dict__.items()).keys()
if the current key is in plot_generate_TeX.keys()
then:
for i in dict(self.__dict__.items()).keys()
if i in plot_generate_TeX.keys():
given += f'{plot_generate_TeX[i][0]}{dict(self.__dict__.items())[i]}{plot_generate_TeX[i][1]}'
It would also probably be quicker to assign dict(self.__dict__.items())
to a local single use variable so that the code doesn't have to constantly make the dictionary maybe. It would also look a bit neater.
Each section and figure can have a certain title, and a table of contes entry such as below:
\section[Table of contents entry]{Heading title}
Add this as a option?
Add a \label
part to the generate_TeX
method of the _section
class in the style:
\label{{sub*}sec:{section_name}}
The section_name
used MUST be unique and if not unique add numbers on to the end. For example:
TestSection
TestSection001
TestSection002
etc.
The section_name
must also not have any spaces or special characters that might break something:
\
/
%
$
When footnotes are used, the contents occasionally don't generate. this may be because of the use of \hyperref
tag
Is there an option to change the highlighting colour?
\write18
mode should only be enabled if the Code
class in included for the minted
package otherwise it should be excluded to minimise potential security flaws
since the packages were updated to included conditions before the package name and commands after all packages were included there has been a large error made. If several packages are added to the document, if two are the same but contain different postPre
text, then the postPre
text from the second, and any subsequent packages of the same name, will be excluded since the package has already been added. This could lead to large errors and NEEDS fixing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.