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/