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

Line numbers #982

Closed
JimJafar opened this issue May 3, 2017 · 3 comments
Closed

Line numbers #982

JimJafar opened this issue May 3, 2017 · 3 comments

Comments

@JimJafar
Copy link

JimJafar commented May 3, 2017

Possibly a feature request, but hopefully there's a way already.

I would like to be able to add line numbers, including in columns like this:

wibble     1   wibble    4    wibble    7
wibble     2   wibble    5    wibble    8
wibble     3   wibble    6    wibble    9

Is this currently possible?

Thanks for an excellent library - using JSON is sooooo much nicer than the usual approaches 👍

@liborm85
Copy link
Collaborator

liborm85 commented May 4, 2017

In first column is wibble 1 on line 1 and wibble 2 on line 2 wibble 3 on line 3, but in second column is wibble 4 is on line 1 - So it probably will not line numbers.

This will probably be this feature request - #604 ("snaking columns"). And same ordered list (ol) to counting.

@JimJafar
Copy link
Author

JimJafar commented May 5, 2017

Thanks for the reply @liborm85 - I understand the difficulty.

Making an OL would mean splitting text up into lines before rendering the PDF.
How about automatic line numbering of flowed / wrapped text without columns? Is that possible?

@liborm85
Copy link
Collaborator

liborm85 commented May 7, 2017

I do not think anything to solve it.

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

2 participants