Plugins to set Bookmarks with Inherit Zoom in Acrobat (Mac)? - macos

At work, we are required to set "Inherit Zoom" on all bookmarks and links within PDF files (using Adobe Acrobat). I have been surprised at how difficult it is to set this across multiple bookmarks. I.e., the only native way I have found to do this is by manually right-clicking on each link and editing the properties to Inherit Zoom.
This is a problem for a number of reasons. For one, when you set Inherit Zoom on a bookmark, you can no longer direct that bookmark or link to a specific destination within a page (aka an anchor). You must set the bookmark or link to bring you to a page number instead.
I could deal with that and work around it, if there was some way to set Inherit Zoom as the default for a document. Unfortunately, it appears that Acrobat requires you to manually edit every single link and/or bookmark. As you can imagine, this is a huge undertaking when working with large PDFs with many bookmarks and internal links.
I have been reading through forums (Adobe, here, elsewhere) and help pages for hours trying to find an answer and it seems the only successful ones are installing a plug-in that can change these settings throughout a document in one fell swoop. I'm hesitant to install 3rd party plug-ins for both security reasons, and the fact that they are often expensive. We're certainly willing to pay for a plug-in that takes care of this issue, but if there's a better way to do it then I would like to explore other options. There's also the worry that after we buy a 3rd party plug-in, there's no guarantee how long it will be supported by the devs or compatible with newest versions of Acrobat.
This has (apparently) been a common problem and request by Acrobat users for over 5 years. Someone out there has to have a good solution. Any advice or recommendations on a reliable plug-in would be much appreciated!

I have created an open-source (Java-based) app that allows you to apply
Actual size
Fit page
Fit visible
Fit width
Inherit zoom
to all bookmarks within a PDF document or entire directories of PDFs (enclosing subdirectories included) without selecting each item manually:
https://github.com/beatngu13/pdf-zoom-wizard/

In case anyone with the same problem finds this, I was able to work around the issue by creating documents in a LaTex editor first, then converting to a PDF. The anchors created in the Latex editor had the Inherit Zoom functionality, if not the explicit settings in properties.
I also used the software Debenu Aerialist, which would have worked for editing links or bookmarks en masse. It's not a perfect solution or product but it worked.

Related

Do developers need to be supplied SVG files in all sizes or is a master size sufficient for all instances?

I'm a UI designer working and I want to get a better understanding of what is required for the most efficient and streamlined way to handover of assets to developers - both for the developer and also for me.
I was of the understanding that since SVG files are lossless, they can be resized "on the fly" using CSS/HTML and therefore can just be supplied once (instead of at all the various sizes) - is this a reasonable assumption?
I work with very detailed pages where there are a lot of instances of the same icons and I'm trying to avoid having to "mark for export" (I use Adobe XD) every single instance of an icon on every page. My preference is to provide a master UI file which contains once single instance of each icons in the project.
Any thoughts / input appreciated!
I have not been able to try anything because I'm not a developer and can't see how this works in the code.

Can you change the theme of an existing powerpoint with Python-pptx?

I was wondering if there was any way I could change the theme of an existing PowerPoint using Python-pptx.
I realise that the easiest way of inserting a specific theme of a powerpoint, you just open a "template powerpoint" with the theme in it. However, I want to automize converting themes of existing PowerPoints, I'm not creating new PowerPoints from scratch.
You might say: just copy and paste slides into the PowerPoint with a specific theme. However, copy and pasting slides is extremely error-prone as well, seeing they work with slide indices which seem quite tricky. And I'm not even sure whether the pasted slides automatically assume the theme of the new document.
Therefore I was wondering if anyone knew of some kind of theme object I could call and change using Python-pptx?
Thanks in advance
The short answer is no. Implementing that would be a fairly big deal and there are no current plans to add it.
If you wanted to do that to several decks, you might explore using Visual Basic for Applications to do it in a Microsoft Windows environment. You might also explore using the win32com interface to control the PowerPoint application from Python, I think that also requires a Windows environment.

VSCODE -- has anyone figured out how to stop markdown preview from jumping to top of file?

When I work on documents, I like to toggle to markdown preview frequently (old habit from MS Word days) or have the preview shown in a split window. What I've found is that the preview does not track the location that is in view in the editor, so I have to scroll down every time I check. If working in split window mode, the preview does not keep up and thus I have to keep scrolling that to catch up. This makes what should be an amazing workflow a bit of an irritation and it gets old very quickly.
I am considering switching editors because of it. But before I do that, I am hoping that perhaps someone out there knows of a way to pin the markdown preview to the current file location (locked scrolling, plugin, etc.) Thanks!
*** EDIT:
Ended up not switching, but found a plugin called Instant Markdown that launches a web preview of your document and renders it in real time. While it too does not track location through auto-scroll, it is much more pleasant to work with I have found, since I can move it around, even on another monitor and can thus keep much more of the render in view at once. This is a partial answer to the issue and I am no longer actively seeking the auto-scroll technique since I much prefer this technique for WYSIWYG.
Unfortunately, according to this issue #5047, the feature you are requesting is still under development
In case you didn't switch editors yet, this feature milestone is set to January 2017, i.e. we can hope that it will be done soon

file types grouped, how to ungroup

in windows 7, after installed Komodo Edit, i tried to change filetype icon using FileTypesMan from NirSoft, but as weird as it is, as soon as I change desription for .js it changes to the same too for .php and vice-versa the other way too. My guess is, maybe Komodo added it to some file types group, but dunno how to diferentiate them? My primary goal is to have a custom php icon for php and js files (each one different)
any experience anyone, or suggestions?
Newer heard before of such binding between different file extensions
Unfortunately Komodo uses your system file icons so it does not have direct control over what language icons you see. If you'd want to change those icons you would have to do it at the system level.
Note that we will most likely be using our own language icons in one of our next releases, which should solve issues like the one you are having.
Note that if you're feeling really adventurous you could develop an addon or customize the source directly (available at https://github.com/Komodo/KomodoEdit). Feel free to join us on IRC if you have any questions - #komodo on irc.mozilla.org.
Source: Komodo Dev.

A way to prevent 3rd-party elements to be loaded on Safari?

Basically, I'm looking for RequestPolicy for Safari. GlimmerBlocker, Privoxy and BFilter etc, those work well but none of them support "block 3rd party elements" feature.
I use GlimmerBlocker, and to imitate (barely) the function, I mainly put this code to filter script flooded website.
replace(/<(script|noscript|iframe)([\s\S]*?)<\/(script|noscript|iframe)>/img, "")
However I'm tired of repeating creating filters for each websites. Vice-versa, whitelisting will be the same.
If anybody had an idea to solve this, that would be so great. Thanks.
I made this proof-of-concept Safari extension to block external resources (images, objects, and scripts, but NOT link elements, such as stylesheet links) until allowed. It has a bare minimum number of features, but if you are interested, I might develop it further.
I say "external" and not "third-party" because I don't know to tell reliably if a resource is third-party or not. This extension just blocks all resources that come from a different host than the web page. As a result, it blocks too many resources by default.
You can right-click a blocked image and use a context menu command to whitelist the image host. If the blocked image didn't have a specified width and height, it will be invisible, so you won't be able to right-click it. (To remedy this, I will need to add code to make the empty image visible as a box.)
The whitelist command does not show up for blocked plugin objects (such as Flash objects) or scripts. I will have to add code to deal with that.
You can also whitelist the current site itself, meaning that all external resources will be allowed on that site. Again, this is done with a context menu command.
As yet, there is no way to remove items from either whitelist. This can be added.
Download the extension from here.
You can extract the source files from the extension package using this command:
xar -xf PartyPooper.safariextz
You are welcome to do whatever you like with the source.

Resources