txt2pdf icon indicating copy to clipboard operation
txt2pdf copied to clipboard

--line-numbers

Open debiantriage opened this issue 7 years ago • 2 comments

Testing rather than using it is anger, but --line-numbers does not work for me with Debian's unstable python-reportlab.

-- Brian

debiantriage avatar Jan 17 '18 20:01 debiantriage

@debiantriage do you happen to know the version number of reportlab?

E.g. issue:

import sys
import txt2pdf
print('Python %s on %s' % (sys.version, sys.platform))
print('txt2pdf %s' % (txt2pdf.PDFCreator.appName,))
print('reportlab %s' % (txt2pdf.reportlab.__version__,))

clach04 avatar Jun 08 '22 16:06 clach04

I have seen this (line numbers flag silently not working) with an older version of reportlab, v3.0.0.

_writeChunk() is NEVER called. Example, using the readme:

 py -3 txt2pdf.py --line-numbers --encoding latin1  README.md

clach04 avatar Apr 08 '23 00:04 clach04