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

Support search and copying of ligatures. #3293

Closed
wants to merge 7 commits into from

Conversation

HansOlsson
Copy link
Collaborator

Closes #3286
It may be that we need to install additional packages on the docker-image (cmap and one more).

It seems we don't use virtual fonts so the more complicated solution isn't needed. Note that an alternative would be to use mmap, which also adds math-handling. It has the nice benefit that symbols like \in and \bigcup are automatically handled by copy-paste. However, since it doesn't fully handle fractions it seems unclear if it is worth it.

Closes modelica#3286
It may be that we need to install additional packages on the docker-image (cmap and one more).

It seems we don't use virtual fonts so the more complicated solution isn't needed.
Note that an alternative would be to use mmap, which also adds math-handling.
It has the nice benefit that symbols like \in and \bigcup are automatically handled by copy-paste.
However, since it doesn't handle fractions it seems unclear if it is worth it.
Not sure if it works, or if we need to import it separately and possibly add more.
Not sure if it works, or if we need to import it separately and possibly add more.
@henrikt-ma
Copy link
Collaborator

Just an observation that is not meant to affect the acceptance of this PR:

I realized I hadn't tried searching the PDF using Safari on macOS. Safari behaves weirdly and reports only finding 26 occurrences of fixed, while correctly highlighting occurrences that it doesn't seem to count. Anyway, the behavior in Safari is unaffected by this PR.

sjoelund and others added 4 commits November 30, 2022 10:25
Add cmap with other latex-packages.
Closes modelica#3286
It may be that we need to install additional packages on the docker-image (cmap and one more).

It seems we don't use virtual fonts so the more complicated solution isn't needed.
Note that an alternative would be to use mmap, which also adds math-handling.
It has the nice benefit that symbols like \in and \bigcup are automatically handled by copy-paste.
However, since it doesn't handle fractions it seems unclear if it is worth it.
@HansOlsson
Copy link
Collaborator Author

Replaced by #3296

@HansOlsson HansOlsson closed this Dec 6, 2022
@HansOlsson HansOlsson deleted the CMAPSupport branch December 6, 2022 08:15
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

Successfully merging this pull request may close these issues.

Copy and paste from pdf-document
3 participants