[liblouis-liblouisxml] Re: First implementation of lou_findTable

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 10 Feb 2015 14:21:29 +0100

Hi all,

Following our discussions from last october, I've started implementing the
functionality for discovering tables through metadata. I've taken all your
feedback into consideration and this is what I came up it. I've tried to make
the initial design as simple and elegant as possible, with little special
handling. More advanced stuff can be added later.

Note that this only deals with the problem of table discovery, NOT with the
problem of localization. I know this is also an important feature for some but
it's a completely different issue that we will solve later.

See
http://liblouis.org/todo/table_header/#comment-f13021630522243414169bf6926b918d
for a description of the initial design and
https://github.com/liblouis/liblouis/pull/41 for the initial
implementation. Currently there is only a function for querying a table based on
its metadata. There is no function that does the reverse (getting metadata from
a table) yet. We can add that if necessary.

The pull request has a list of things to do, but the basic stuff is there so you
can go ahead and try it out if you want.


Bert


Bert Frees writes:

>   Branch: refs/heads/bfrees_table_find
>   Home:   https://github.com/liblouis/liblouis
>   Commit: 34dd6845d65c423e65129cbd8419d3e6eaa02ee0
>       
> https://github.com/liblouis/liblouis/commit/34dd6845d65c423e65129cbd8419d3e6eaa02ee0
>   Author: Bert Frees <bertfrees@xxxxxxxxx>
>   Date:   2015-02-10 (Tue, 10 Feb 2015)
>
>   Changed paths:
>     M .gitignore
>     M liblouis/Makefile.am
>     M liblouis/compileTranslationTable.c
>     A liblouis/findTable.c
>     M liblouis/liblouis.h.in
>     M liblouis/louis.h
>     M tests/Makefile.am
>     A tests/findTable.c
>     A tests/tablesWithMetadata/bar
>     A tests/tablesWithMetadata/foo
>
>   Log Message:
>   -----------
>   First implementation of lou_findTable
>
> see issue #41
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] Re: First implementation of lou_findTable - Bert Frees