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

Alignment doesn't work for org table with indic scripts #27

Open
rnchzn opened this issue Aug 14, 2021 · 2 comments
Open

Alignment doesn't work for org table with indic scripts #27

rnchzn opened this issue Aug 14, 2021 · 2 comments

Comments

@rnchzn
Copy link

rnchzn commented Aug 14, 2021

Alignment doesn't work for org table with indic scripts.

Here is the unit test file. The file has babel blocks that sets up the default fonts for scripts. Please execute it before viewing the file.

itrans-unicode-mapping-tamil.org.txt

This is what I see with latest valign and emacs -q.

Screenshot from 2021-08-14 12-19-00

@rnchzn rnchzn changed the title Alignment doesn't work org table with indic scripts Alignment doesn't work for org table with indic scripts Aug 14, 2021
@rnchzn
Copy link
Author

rnchzn commented Aug 18, 2021

I just bumped the value of valign-max-table-size and it works now.

As you note in the README, aligning above table takes a long time.

Meanwhile, I have some prototype code that uses Org's official parser to prettify above table. It seems faster than your implementation. Please leave the bug open, I will cleanup my prototype code, and share it with you.

TLDR: Have you experimented with Org's defautlt parser for speeding up things?

@casouri
Copy link
Owner

casouri commented Aug 18, 2021

I see, thanks for experimenting with this. I'll have a look at their parser.

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