Comments (1)
From Norbert Markus on the liblouis mailing list, a pointer in the right direction
I have looked into the liblouisutdml code to find the cause of this problem.
In the file readconfig.c
the function:
static int
parseLine (lbu_FileInfo * nested)
line 389:
while (((ch = *curchar++) <= 32 || ch == '=') && ch != 0);
I assume the above line is causing your problem. After a line has been read from the config, the first word on the line up to the first trailing space or equals sign is taken as the key fro the setting, then the following spaces and equals signs are ignored (this is done in the code snippet above) and the next word is taken as the value.
Unfortunately, it means you cannot specify the equals sign itself as the value for the setting because it is ignored. Putting a space and a fake second value after it does not help: the equals signs get ignored in any case.
This behavior makes sense in the context that the same algorithm is reused to parse config settings on the command line where an equals sign is the delimiter between the config key and its value.
from liblouisutdml.
Related Issues (20)
- warning: class is deprecated, use attribute instead HOT 3
- testsuite fails with liblouis 3.28.0 HOT 16
- In Liblouis 3.30 release 18 Liblouisutdml Math Voluve tests are failing HOT 18
- Incorrectly encoding text when backFormat is text
- Build failure due to failing testsuite HOT 2
- Question - Is there any Python wrapper for liblouisutdml HOT 3
- Can this project run on embedded system like stm32? HOT 2
- some more tests fail with liblouis 3.20 HOT 1
- testsuite memory leaks
- Process terminated with status -1073741819 on Windows
- Stray non-breaking space in BRF output HOT 3
- Using file2brl with --backward option HOT 1
- Add missing declarations of do_pagenum and utd2dsBible to liblouisutdml.h HOT 2
- 32 bit Windows master branch builded Liblouisutdml version doesn't found and import libgcc_s_dw2-1.dll HOT 1
- Nemeth code translation failures HOT 1
- Location of blank lines relative to topBoxLine HOT 1
- Bottom box line goes missing in a particular circumstance
- Running heads do not work as advertised
- warning: lou_getDataPath is deprecated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liblouisutdml.