[liblouis-liblouisxml] 2 patches for Liblouisutdml

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 16 Apr 2012 16:33:16 +0200

Hi John,

Here are my improvements to Liblouistudml we talked about off-list. I've added 2 patches as attachments. They should be applied in this order.

1) right_margin.patch
2) persistent.patch

The first patch adds a new style setting "rightMargin" which does exactly what it says. In addition, I've removed the setting "centeredMargin", which was used for setting the left/right margin in the case of centered text. Now this can be achieved with a combination of the more general "leftMargin" and "rightMargin" settings.

The second patch makes a few style settings persistent: "format", "leftMargin", "rightMargin" and "firstLineIndent". This means that these properties are now automatically inherited if they are not specified in a configuration file and if the style is nested in another style. The "format" setting is only inherited if the current value is either "leftJustified", "rightJustified" or "centered".

P.S. Until now the only persistent setting was "braillePageNumberFormat", see [1]).

/Bert




Other related posts: