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/