[liblouis-liblouisxml] Re: Multiple table search path

  • From: "Michael Whapples" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mwhapples@xxxxxxx" for DMARC)
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 13 May 2015 15:10:45 +0100

Thanks, so it seems like what I want to do will be possible one way or another. However I am still unclear which way to go.

Can I provide lou_setDataPath with a comma separated list of directories, like I can in the LOUIS_TABLEPATH environment variable?

Michael Whapples

On 13/05/2015 15:03, Bert Frees wrote:

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

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

Other related posts: