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

jumping to label doesnt work properly #1186

Open
javivera opened this issue Oct 11, 2024 · 7 comments
Open

jumping to label doesnt work properly #1186

javivera opened this issue Oct 11, 2024 · 7 comments

Comments

@javivera
Copy link

Whenever I click on a link its jumps to it but instead of properly display the link at the top part of the window it puts it on the middle of thew window..
Also when trying to visualize the link with secondary buttom, the link its not centered.

@javivera
Copy link
Author

image

This is after the jump ..
The jump was exactly to the part where it says Definition 1.1

@ahrm
Copy link
Owner

ahrm commented Oct 11, 2024

We have an align_link_dest_to_top config option for that.

@javivera
Copy link
Author

javivera commented Oct 11, 2024

Thank you for the answer i really wanted to use sioyek and it was driving me nuts... specially because the hover over also wasnt working since it showed me the wrong part of the link

is there a way to add to prefs.config , since user.prefs doesent work for me (macOS)

Excuse me if the answer is to silly.. i dont seem to find that option on the documentaion , nor a way to activate it

i tried adding the line
align_link_dest_to_top 1
on the prefs.config file

@ahrm
Copy link
Owner

ahrm commented Oct 11, 2024

Which sioyek version are you using? I think this option is available in the preview release here: https://github.com/ahrm/sioyek/releases/tag/sioyek3-alpha0 it might not be available in older sioyek versions.

@javivera
Copy link
Author

javivera commented Oct 11, 2024

Im using the release version 2.0

i downloaded the alpha arm version you suggested for mi m1 pro and i get an error. Sioyek is damaged and cant be opened , you should eject disk image, etc..

@javivera
Copy link
Author

the correct version wasnt ARM, but mac os normal

Installed the alpha version and added

align_link_dest_to_top 1

to prefs.config and now its working

Thanks for telling the assist

And thanks for the code!

@javivera
Copy link
Author

Oh a single detail..when using secondary buttom to hover over link, the hover over has the same problem its not properly aligned at the top

@javivera javivera reopened this Oct 11, 2024
Repository owner deleted a comment Oct 25, 2024
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

3 participants
@ahrm @javivera and others