Hi, I am working on a wrapper in C so that application can call pdftex via a library call. Can you please have a look at the proposed API and comment on it if you find a potential problem? I attached two files: test0.c: a minimal test file test1.c: the same file with comments Thanks, Thanh