tedi2html library used in texdi

alkeon 301d1a7eea Add nested lists support and better code for espace_underscores преди 2 години
test aa77423f7b Add strip escaping when converting преди 2 години
.gitignore 2ef80c8a1b Initial commit преди 6 години
LICENSE 2ef80c8a1b Initial commit преди 6 години
README.md 02e4e52c95 OOP rewrite and nibis compatibility преди 2 години
meson.build 4f45bfd657 Better Meson support преди 2 години
tedi2tex.cpp 301d1a7eea Add nested lists support and better code for espace_underscores преди 2 години
tedi2tex.h d31f042640 Fix library define преди 2 години

README.md

tedi2tex

This repo only contains library code.

You can use tedi2tex function with this library.

string tedi2tex(string text, string header="", string footer="")


This function will convert an html string (text variable) to a tedi string.

If there is something wrong will throw an "Invalid" exception. You can read the reason and the line wich failed with two methods from Invalid exception

string reason()const
string line() const

Added library for testing. dessert check it github.com/r-lyeh-archived/dessert

Compilation

The only thing you can compile from this repo are tests.

In order to compile tedi2tex library you need following software packages:

  • GCC compiler (C++ version)
  • tedi2lang (https://notabug.org/alkeon/tedi2lang)
  • To compile run:

    git clone https://notabug.org/alkeon/tedi2lang
    git clone https://notabug.org/alkeon/tedi2tex
    cd tedi2tex/test/
    make
    

    Execution

    To run tests:

    ./tests
    

    More information

    For additional information about the project tedi2tex visit Alkeon web site:

    https://inventati.org/alkeon/