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

Blank lines are not preserved in {alltt} environment #1017

siegfriedzoetzsche opened this issue Jul 16, 2018 · 2 comments


Copy link

@siegfriedzoetzsche siegfriedzoetzsche commented Jul 16, 2018

The {alltt} environment should preserve blank lines but alltt.tex:

    #!/usr/bin/env bash
    echo 'Hello'

converted with

    latexml --strict --destination alltt.xml alltt.tex

results in

        <verbatim font="typewriter">
    #!/usr/bin/env bash
    echo ’Hello’
@dginev dginev added this to the LaTeXML-0.8.4 milestone Jul 16, 2018

This comment has been minimized.

Copy link

@dginev dginev commented Jul 16, 2018

Thank you for the report! There is already a test file for alltt that we should add this test into to ensure parity.


This comment has been minimized.

Copy link

@brucemiller brucemiller commented Jul 17, 2018

Hmm, thought that was handed, but needs to be a bit more clever. Should work now. Thanks for the report!

@dginev dginev modified the milestones: LaTeXML-0.8.4, LaTeXML-0.8.3 Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.