Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of generic text files #14

Open
egli opened this issue May 6, 2015 · 0 comments
Open

Handling of generic text files #14

egli opened this issue May 6, 2015 · 0 comments

Comments

@egli
Copy link
Member

egli commented May 6, 2015

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 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant