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

Marks in big PDFs #326

Open
AchMol opened this issue Mar 25, 2022 · 5 comments
Open

Marks in big PDFs #326

AchMol opened this issue Mar 25, 2022 · 5 comments

Comments

@AchMol
Copy link

AchMol commented Mar 25, 2022

Hi all,
we build big html trees with typemill and also big PDFs with the ebook plugin. This works good so far.
But we loose all the navigation inside the PDF Files. Is it possible to use jump marks or anchor (Sprungmarken?) in the PDFs somehow?

@trendschau
Copy link
Member

trendschau commented Mar 25, 2022

The lost navigation refers to the ToC-Navication within a single page? If so, then they are hidden in the css of the ebook layout:

https://github.com/typemill-resources/ebooks/blob/master/booklayouts/report/layout.css#L628

You can simply try to unhide them with the new css custom field in the ebook plugin, something like:

ul.TOC{
  display: block;
}

I never tried those navigation elements in ebooks, so I am not sure if they work in that context. If there are problems, I can try to fix them in the next release of the plugin....

@AchMol
Copy link
Author

AchMol commented Mar 28, 2022

Ah, ok, thanks. My css skills are a bit rusty i'm afraid but I found the TOC definitions. After changing to "block" there are links from the index to the correct mark in the document, but the links are in html style so they lead to the browser and not inside the pdf.

@trendschau
Copy link
Member

Thank you for the test, then i have to rewrite those links for the next version. I hope to find some time for it in the next weeks.

@AchMol
Copy link
Author

AchMol commented Sep 27, 2022

Were you surprisingly able to find some time somewhere? Then I would try again with the current version... ;-)

@trendschau
Copy link
Member

Sorry, I had holidays and other projects, I will look into it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants