detiuaveiro / ua-thesis-template

📖 A thesis LaTeX template that complies with the University of Aveiro's guidelines and provides a simple CLI workflow around make and compatibility with Overleaf.
MIT License
103 stars 36 forks source link

`make print` incorrect #6

Closed rj-jesus closed 5 years ago

rj-jesus commented 5 years ago

make print causes the pages in thesis-print-final.pdf to be out of order. This may be due to some glob happening (wrongly) in simplify-colors.sh.

pkill37 commented 5 years ago

I wonder if the script actually makes a difference, i.e. is it in fact cheaper to print? If not we should probably drop it entirely to keep things simple (and lose a few dependencies).

pkill37 commented 5 years ago

I think I'm going to print Goodfellow's Deep Learning this week. So I can give it a test run and conclude which of these is cheaper to print, if there is a difference at all.

rj-jesus commented 5 years ago

@fabiomaia

The gs command seems to be only setting the compatibility level of the PDF, which some readers may otherwise complain about. It shouldn't affect costs.

The simplify-colors may affect them, depending on how the printer used determines how many color pages there were. If it's a human counting them this should be irrelevant. If it's some professional printer which automatiaclly counts them, then it should.

Also, commit 8ae1d3608b5cabdec9285e8dcc9b759af76c0a18 should fix the script.

~I won't close this issue yet as I'm looking for an alternative to do this without relying on simplify-colors.~