Michael Whapples <mwhapples@xxxxxxx> writes: > whenever I try and use the function from python I get a load of > errors/warnings come from liblouis and the function fails > (lou_hyphenate returns 1). What are the error messages? > I have attached a patch for what I have done, can anyone spot the > problem ore is the problem in liblouis. The patch looks fine to me, but I'm by no means an expert on Python ctypes bindings. > + @param tran_tables: A list of translation tables and hyphenation > + dictionaries. The first filename should be a full path name otherwise > + the liblouis table directory is assumed. > + @type tran_table: list of str The last line should probably say "@type tran_tables: list of str" Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland For a description of the software and to download it go to http://www.jjb-software.com