tedi2ad library used in texdi

alkeon fb06e722c8 Add tests for tedi2lang changes před 2 roky
test fb06e722c8 Add tests for tedi2lang changes před 2 roky
.gitignore ae8515e3ed Initial commit před 6 roky
LICENSE ae8515e3ed Initial commit před 6 roky
README.md 6a5d5b03fe OOP rewrite and nibis compatibility před 2 roky
meson.build c9bc2f3213 Better Meson support před 2 roky
tedi2ad.cpp d2b485839c Library define fix před 2 roky
tedi2ad.h d2b485839c Library define fix před 2 roky

README.md

tedi2ad

This repo only contains library code.

You can use tedi2ad function with this library.

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


This function will convert an tedi string (text variable) to a asciidoc 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 tedi2ad 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/tedi2ad
    cd tedi2ad/test/
    make
    

    Execution

    To run tests:

    ./tests
    

    More information

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

    https://inventati.org/alkeon/