<commit_before># LiveTikZ
A live preview for TikZ drawings.

# Usage

LiveTikZ is a split-window application, consisting of a powerful text editor for writing TikZ code and a live preview which automatically renders the TikZ code as image. 

LiveTikZ uses KDEs [KatePart](https://kate-editor.org/about-katepart/) as powerful rich-text editor component and thus provides all the features known from Kate text editor, which includes

* Syntax Highlighting
* Text and bracket completion
* Code folding
* Automatic indentation
* Search and replace including escape sequences and regular expressions
* Dynamic and static word wrap
* Block selection mode
* VI Input mode

To render the TikZ code, LiveTikZ relies on pdflatex (either directly or through the [latexrun](https://github.com/aclements/latexrun) wrapper) to compile the code and [Poppler](https://github.com/danigm/poppler) to render the PDF file. 

# Installation

LiveTikZ is a Qt application with KDE dependencies for the editor component. LiveTikZ can either be installed using the [provided Debian packages](https://github.com/misc0110/LiveTikZ/tree/master/dist) or compiled from source. 

## Prerequisites

The following packages are required to compile from source:

* build-essential
* cmake
* extra-cmake-modules
* qt5-default
* libkf5parts-dev
* libkf5texteditor-dev
* libpoppler-qt5-dev
* libpoppler-cpp-dev
* libpoppler-glib-dev
* kdelibs5-dev
* gettext

## Compile

To compile LiveTikZ, simply run

```
mkdir build<commit_msg>Update dependencies<commit_after># LiveTikZ
A live preview for TikZ drawings.

# Usage

LiveTikZ is a split-window application, consisting of a powerful text editor for writing TikZ code and a live preview which automatically renders the TikZ code as image. 

LiveTikZ uses KDEs [KatePart](https://kate-editor.org/about-katepart/) as powerful rich-text editor component and thus provides all the features known from Kate text editor, which includes

* Syntax Highlighting
* Text and bracket completion
* Code folding
* Automatic indentation
* Search and replace including escape sequences and regular expressions
* Dynamic and static word wrap
* Block selection mode
* VI Input mode

To render the TikZ code, LiveTikZ relies on pdflatex (either directly or through the [latexrun](https://github.com/aclements/latexrun) wrapper) to compile the code and [Poppler](https://github.com/danigm/poppler) to render the PDF file. 

# Installation

LiveTikZ is a Qt application with KDE dependencies for the editor component. LiveTikZ can either be installed using the [provided Debian packages](https://github.com/misc0110/LiveTikZ/tree/master/dist) or compiled from source. 

## Prerequisites

The following packages are required to compile from source:

* build-essential
* cmake
* extra-cmake-modules
* qt5-default
* libkf5parts-dev
* libkf5texteditor-dev
* libpoppler-qt5-dev
* libpoppler-cpp-dev
* libpoppler-glib-dev
* kdelibs5-dev
* ktexteditor-katepart
* gettext

## Compile

To compile LiveTikZ, simply run

```
mkdir build
{'fraction_non_alphanumeric': 0.06960556844547564, 'fraction_numerical': 0.005966191581040769, 'mean_word_length': 4.860194174757281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4342372', 'n_tokens_mistral': 921, 'n_tokens_neox': 870, 'n_words': 343}