tedi2html library used in texdi

alkeon 301d1a7eea Add nested lists support and better code for espace_underscores hace 2 años
test aa77423f7b Add strip escaping when converting hace 2 años
.gitignore 2ef80c8a1b Initial commit hace 6 años
LICENSE 2ef80c8a1b Initial commit hace 6 años
README.md 02e4e52c95 OOP rewrite and nibis compatibility hace 2 años
meson.build 4f45bfd657 Better Meson support hace 2 años
tedi2tex.cpp 301d1a7eea Add nested lists support and better code for espace_underscores hace 2 años
tedi2tex.h d31f042640 Fix library define hace 2 años

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/