[liblouis-liblouisxml] Re: Configuration problem

  • From: "Norbert Markus" <hamilfonz@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 24 Mar 2017 14:22:28 +0100

Paulw.torchtrust signatureHi Paul,

Thanks for the immediate response. Yes, defining this bit of configuration on 
the command line works like a charm. Funny why the same cannot be done inside 
the cfg file, though.

Thanks again and have a nice weekend.

Best Regards, Norbert.



From: Paul Wood 
Sent: Friday, March 24, 2017 2:01 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx 
Subject: [liblouis-liblouisxml] Re: Configuration problem


Hi Norbert,

This is the command line I use with liblouisutdml, hope it helps:

C:\wamp\liblouis\liblouis-pipeline2\bin\UEB\file2brl.exe  -l -f 
C:\wamp\liblouis\liblouis-pipeline2\config\user.cfg,_cfg_main.cfg 
-CliteraryTextTable=C:\wamp\liblouis\liblouis-pipeline2\bin\UEB\en-ueb-g2.ctb,braille-patterns.cti,unicode.dis
 -CsemanticFiles=user.sem,_sem_main.sem -CnumberBraillePages=yes  
"c:\wamp\www\Transcription\userFiles/u1490357990/WorshipForAll(Fixed).xml" 
"c:\wamp\www\Transcription\userFiles/u1490357990/WorshipForAll.brh"


Paul




On 24/03/2017 12:52, Norbert Markus wrote:

  Hi All,
  I am encountering a liblouisutdml configuration problem.
  In the file preferences.cfg, there is this line:
  literaryTextTable compress.cti,en-us-g2.ctb

  Either file2brl.exe or liblouisutdml.dll won't accept this line.

  It generates at least two error messages, the one complaining about that 
'compress.cti' cannot be found (resolved), the other displays 
'compress.cti,en-us-g2.ctb' run together as if they were a single filename.

  When only 'en-us-g2.ctb' is specified in the line, the process completes with 
no errors.

  However, I would like to combine any translation table with a hyphenation 
dictionary (e.g., 'hyph_en_US.dic') but this problem prevents me from doing so.



  I tried to insert a space after the separating comma but it did not help.

  Then I used a space instead of the comma for separation. This did not produce 
errors but then only the first file specified on the line was used.



  I find it strange, because the comma separated file list wasn't my idea. I 
found this solution in the sample 'preferences.cfg' file shipped with the 
liblouisutdml package.

  The documentation sais this:

  "The hyphenation table is specified as part of the table list in the 
literaryTextTable setting of the translation section."



  Could anyone tell me what am I doing wrong, and how to specify a file list 
instead of a single file?



  Thanks in advance.



  Best Regards, Norbert.





-- 

Paul Wood, Chief Technical Officer
Torch Trust
Torch House, Torch Way,
Market Harborough, Leics. LE16 9HL, UK
Direct Line: +44(0)1858 438269
Tel: +44(0)1858 438260, Fax: +44(0)1858 438275
Email: paulw@xxxxxxxxxxxxxx
Website: www.torchtrust.org

____________________________________________________

Chief Executive: Dr Gordon Temple
Charity No. 1095904

Privileged/Confidential Information may be contained in this message. 
If you are not the intended recipient please destroy this message 
and kindly notify the sender by reply email. The computer from which 
this mail originates is equipped with virus screening software. 
However Torch Trust cannot guarantee that the mail and its attachments 
are free from virus infection.  

Other related posts: