https://github.com/joicodes/textplusplus
text++ : Programmable, Typesetting PDF Generation for the C Programmer
https://github.com/joicodes/textplusplus
Last synced: 11 months ago
JSON representation
text++ : Programmable, Typesetting PDF Generation for the C Programmer
- Host: GitHub
- URL: https://github.com/joicodes/textplusplus
- Owner: joicodes
- Created: 2018-11-27T20:22:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-20T02:30:19.000Z (over 7 years ago)
- Last Synced: 2025-01-09T18:19:46.112Z (over 1 year ago)
- Language: OCaml
- Homepage: http://bit.ly/textPlusPlus
- Size: 729 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run Tests:
#### Installing Libharu:
Before installation the following dependecies are required:
```
sudo apt-get install automake autoconf zlib1g-dev libpng-dev libtool
```
Installing libharu
```
tar -xvsf libharu-X.X.X.tar.gz
cd libharu-X.X.X
```
Run the configuration scipt
```
./configure
```
If there is no configuration script
```
./buildconf.sh --force
```
Then try running `./configure` again
Build the Library and install
```
make clean
make
make install
```
If there are errors about not being able to find the `*.so` file or a missing directory.
Please execute the following:
```
ldconfig /usr/local/lib
```
#### Installing pdf2txt
pdf2txt is needed in order to run tests
```
sudo apt-get install python-pdfminer
```
#### Run Tests:
Assuming that LLVM, LLI, OPAM, OCAML, Ocamlbuild, etc are installed, run:
```
make
```
A file called `text.pdf` is produced.