nasa / nasa-latex-docs

An easy and convenient package to create technical LaTeX documents.
MIT License
234 stars 82 forks source link

Updates for Python 3 #3

Closed eelsirhc closed 7 years ago

eelsirhc commented 7 years ago

This pull requests updates buildPDF.py for python 3.x . It still works for Python 2.x and doesn't require additional packages.

walshahi commented 7 years ago

Was in the process of reviewing required changes for Python 3+ so this is a useful pull request, thanks! It seems like the print statement were really the only thing that was changed. What functionality was tested when you say "It still works for Python 2.x"

eelsirhc commented 7 years ago

I used it with the Apple Python executable (2.7) and it produces the same output for the example latex file. I don’t know all of the options to test them.

On May 14, 2017 at 9:21:18 PM, Wahab Alshahin (notifications@github.com) wrote:

Was in the process of reviewing required changes for Python 3+ so this is a useful pull
request, thanks! It seems like the print statement were really the only thing that was
changed. What functionality was tested when you say "It still works for Python 2.x"

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/nasa/nasa-latex-docs/pull/3#issuecomment-301354814

walshahi commented 7 years ago

Added a new script to test a lot of the functionality listed in the documentation at:

https://nasa.github.io/nasa-latex-docs/build/html/index.html

The script lives here:

nasa-latex-docs/support/tools/testFunctionality.py

Can be used to make sure all new commits pass a few basic tests for various buildPDF.py options as well as template formats.