While I understand the reasoning behind not supporting this feature, I'd like to also express my support and present some arguments for it. ![]() For a more automatic export function, it could help to check the code in the ZoteroQuickLook add-on, which saves notes to a temporary html file that can be shown in an external viewer. Zotero's reports and the Report Customizer add-on already provide printing options. Some automatic html-to-pdf functionality might be useful for Zotero notes and reports. A more automatic way might be possible for capturing the full page, but you might get large documents with unnecessary clutter. E.g., if the website doesn't offer a printer-friendly version, you could remove irrelevant content using the "only selection" option in the printing dialog. The Zutilo add-on allows triggering this function through its keyboard shortcuts for Zotfile.įor the best pdf output, step 2 might require some adjustments. Attach the pdf to the Zotero item using the Zotfile add-on, which adds an "Attach New File" option to the item context menu. ![]() The shortcut for printing is usually "Ctrl+P".ģ. Save the website as a pdf to the Downloads folder using a web browser, e.g., Chrome. For adjusting the Firefox shortcut see here.Ģ. Zotero's default shortcut is "Ctrl+Shift+S". Save the website to Zotero using the browser connector. Saving as only PDF would involve clicking the browser extension button, which would trigger a download of the HTML page, a conversion to PDF, and finally a deletion of the HTML file.Ī couple of node-based solution that I don’t know if they are relevant:įor saving a website to Zotero as a pdf, you could follow these three steps, which can mostly be executed through keyboard commands.ġ. Users would have to be comfortable with that their HTML files are uploaded to a third party for conversion to PDF, but since these are web snapshots they are already public anyways (and could maybe be uploaded without being linked to user id?).Īs for the user facing side, there would ideally be an option to save webpage snapshots as HTML, PDF, or both. This might include the least resources from the Zotero team. While not everyoneĬhrome –headless –disable-gpu –print-to-pdf file:///path/to/myfile.html Google chrome/Chromium has a headless mode that allows for printing (and can. If that would be to big to bundle, maybe Zotero users could be instructed to download the binary themselves if they want to print to PDF, and then there could be an option in Zotero to set the location of wkhtmlbinary to use. Wkhtmltopdf has precompiled binaries that are around ~80 MB in size (for all three OSes together). Source code is 5 MB, not sure about size of dependencies. JsPDF is a client-side JS library for pdf generation. All these tools are cross-platform, open source, and currently maintained. I am not able to say which (if any) would be suitable choices for incorporating this feature into Zotero. Given my interest in this feature, I want to try to help by sharing a few tools, which could be able to provide this feature in Zotero. It is like printing out a physical copy of a page and taking notes, great for learning and to refer to later (of course keeping in mind when it was retrieved, but many research posts such as blogs rarely updated, rather new posts are made). ![]() It allows for using the same workflow and tools as when annotating research article PDFs, and would work well with the extract annotation feature from Zotfile. My reasons for considering this a highly useful feature, is that while there are other solutions for annotating live webpages (such as hypothes.is), I think PDF is an ideal format for webpage snapshots. Is it something that would be interesting if the right tools would be available and there was enough resources to implement them? Or is it seen as a less useful feature and it will likely not be implemented? I wonder if it would be possible receive a comment on how this feature is viewed by the Zotero team today. The latest comment on limitations was in 2012 from who mentioned that this might be more suitable for a plugin and that there might not exist any cross-platform library to use. There has been some discussion on this before, most notably:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |