[liblouis-liblouisxml] Re: Multiple table search path

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 13 May 2015 16:03:26 +0200

Hi Michael,

The default table resolver first searches LOUIS_TABLEPATH, then lou_getDataPath,
and then TABLESDIR (normally /usr/local/share/liblouis/tables) or
lou_getProgramPath on Windows. You can also provide your own table resolver with
the function lou_registerTableResolver.

HTH


Michael Whapples writes:

Hello,
I would like a way to have it that tables are searched in multiple
directories, eg. tries a user location first, if not found there then a
system directory.

I found in the news for LibLouis 2.3.0 that LOUIS_TABLEPATH is meant to
support multiple paths. However I would like to set the table paths
programmatically, so does lou_setDataPath support multiple directories
in the same way that LOUIS_TABLEPATH does?

Michael Whapples
For a description of the software, to download it and links to
project pages go to http://liblouis.org

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: