You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a suggestion for better handling of generic text files in Liblouisutdml:
Many text files are unformated concerning line width and page length. They simply have a \n or \r\n as an end-of-paragraph marker, and that is it. This applies to text files from various word processors as well as other text files.
Currently, These files need to be preprocessed before using them as infile for file2brl. As far as I can see, there is currently no way to tell Liblouisutdml to interpret line-feed as an end-of-paragraph marker. You need two line-feeds for that.
I would suggest an extra option in the cfg under OutputFormat, along with InputTextEncoding. Call it NewLineIsParagraph or whatever. When it is in effect, One line-feed should produce a new paragraph. two line-feeds should produce a blank line in the output.
Hope this makes sense. I am not sure if this should be posted as a ticket somewhere else, but I thought it might be a good idea to discuss it on the list.
Best regards
Bue Vester-Andersen
The text was updated successfully, but these errors were encountered:
Hi,
I have a suggestion for better handling of generic text files in Liblouisutdml:
Many text files are unformated concerning line width and page length. They simply have a
\n
or\r\n
as an end-of-paragraph marker, and that is it. This applies to text files from various word processors as well as other text files.Currently, These files need to be preprocessed before using them as infile for
file2brl
. As far as I can see, there is currently no way to tell Liblouisutdml to interpret line-feed as an end-of-paragraph marker. You need two line-feeds for that.I would suggest an extra option in the cfg under
OutputFormat
, along withInputTextEncoding
. Call itNewLineIsParagraph
or whatever. When it is in effect, One line-feed should produce a new paragraph. two line-feeds should produce a blank line in the output.Hope this makes sense. I am not sure if this should be posted as a ticket somewhere else, but I thought it might be a good idea to discuss it on the list.
Best regards
Bue Vester-Andersen
The text was updated successfully, but these errors were encountered: