[liblouis-liblouisxml] Re: Dividing a Book Into Volumes

  • From: Bert Frees <bert.frees@xxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 18 Feb 2011 12:37:12 +0100

How is the automatic-splitting-in-volumes-feature coming along?
Bert


On 17/05/2010 9:08, John J. Boyer wrote:
I have been busy implementing the Univesal TactileDocument (UTD) sdd-on
to sml documents. This is needed by ViewPlus and also for dividing a
book into volumes. It adds translated and formatted braille to the
original document, together with information for syncronizing braille
and print. This is done via some new xml tags. Currently I am writing
the documentation. The drafts can be found in the doc subdirecory of
the universal-tactile-document branch of the liblouisxml repository.

The multivolume feature is triggered by the new configuration option
volumeSem This gives the name of a semantic-action file which specifies
how the UTD information and the structure of the document are to be used
in creating volumes. The lbx_files subdirectory of the branch contains
configuration files and a semantic action file for testing UTD and
volume production. At the moment the whold book is produced as one
volume. This was done to get the basic framework in shape. New
configuration settings will control how the division into volumes is
made.

volumeSize will specify the number of pages desired in each volume. The
algorithm will try to meet this within plus or minus ten percent.

volumeDiv will give a list of styles at which divisions can be made,
listed in order of preference.

Each volume will have its own table of contents, if such a table is
specified. In addition, the first volume will have the table of contents
for the whole book.

Each volume will also need a title page and an end-of-volume notice.
These could be files specified by the configuration setings volumeStart
and VolumeEnd Some things within these files will have to be changed
from volume to volume, such as the volume number and the beginning and
ending braille and print numbers. I am uncertain how this will be done.
xslt could be used, but this would introduce a dependency on another
library. There is probably a simpler method.

Feedback is welcome!
John


-- John J. Boyer;
President, Chief Software Developer Abilitiessoft, Inc.
http://www.abilitiessoft.com Madison, Wisconsin USA Developing software
for people with disabilities
For a description of the software and to download it go to
http://www.jjb-software.com


For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: