@AlexG yes. The documentation is hyperref-generic, but it is a bit disordered in places, as the project is quite large and things where added in pieces. Be aware that this is still a bit in a flow, if you e.g. find glitches or can't use it properly I'm quite willing to change or adapt stuff.
@AlexG :D I am so happy that I have introduced the pure exuberant joy that is Mr. Bungle to someone new :D (I would then also continue with recommending Fantomas to you, which is another of Mike Pattons projects :p). As for the comparison to Zappa, I never thought of that before, but you're right. There is a lot of Zappa in Mr. Bungle :D
@daleif Something like \CommandMeaning is doable and similar to \ShowCommand, but it's tricky because the whole \ShowCommand machinery is non-expandable, so it would need quite a big redesign
@daleif Ah, I see. I know \leavevmode was added to \smash, but I don't know if \llap and \rlap were supposed to be changed too (right now they don't \leavevmode). @UlrikeFischer?
@daleif The only occurrence of \llap in ltnews (all 32 of them) is in “Provide \clap”, so the definition "follows documentation". Which doesn't mean it is the best one possible
Strange question: Anyone know any software to invert the colors of a given PDF? People teaching using iPads seems to like using black backgrounds, but that is no good if you want to provide a printable version.
@PauloCereda As far as I can see it is only a black background color to white, anything already in white to black leave the rest. That seems hard to do.
I have an existing PDF with a totally black background and all text is white.
Is there a way to get the text to print black and the black background to not print at all?
I have Bluebeam and Adobe PDF.
This example produces two different versions of the readily typeset page box and places them on separate OCG layers.
Both layers are added to the radio button group "reverse video" to ensure that only one of them can be enabled at a time.
Moreover, we forbid the white-on-black version to be pri...
@samcarter_waiting_for_summer not really, ducks make "Quack" and frogs make "Quak"... (usually the spelling is the same, but when we imitate them the frog makes a long quack and the duck a short one)
@UlrikeFischer It looks as though \Hy@colorlink isn't used anymore. Which is the replacement that only sets up the colour of the page content (text) that follows?
@UlrikeFischer For ocgcolors implementation in ocgx2, I just redefined \Hy@colorlink. This command only takes the colour as argument with which the linktext to colourise.
@AlexG ah, well the current ocg code for e.g. URI are in hook chunks of the pdfannot/link/URI/begin and pdfannot/link/URI/end hooks with the label hyp/ocg and the plan was that you remove this hooks chunks and add your own ones. You can inspect the hooks like this:
@samcarter_waiting_for_summer @PauloCereda @Skillmon Traditionally, the German ducks say "Naak, nak, nak", not "Quack". Every child grown up in East Germany learned it like this: youtube.com/v/HSTyHtc3t0M?start=186
@samcarter_waiting_for_summer I wasn't that much into Sandmann either, but my wife and daughters love it, so I have learned some new things only "recently"
@UlrikeFischer you need to install the very handy tool wtf, then you can do $ wtf is ftw, and it'll answer FTW: for the win. Second best command line tool after cowsay!
(and if you use wtf -o is wtf it tells you (what,when,where,who,why) the fuck additionally, yes, you need a parameter for strong language if you're using wtf...)
@UlrikeFischer Sounds complicated. Do I have to do this for every type of link action separately? I just want to insert my code immediately after \pdfstartlink{} and before \pdfendlink, without worrying about the link action. I only need the current colour of the linktext that follows. This is what \Hy@colorlink used to do.
@AlexG yes, but it made it quite difficult to handle links type differently, you couldn't e.g. easily disable internal links and keep url's alive. So I decided to clearly separate them. If you know that you want the same code everywhere you can rather easily loop over the five types.
@AlexG sadly, hyperref's names are different from the PDF names, so one has to translate in some place url = URI, link = GoTo, file = GoToR, menu = Named, run = Launch. But I didn't see how to avoid it. I couldn't drop the hyperref names, they are too well known, and the PDF names have to be there in the Subtypes at the end too ...
@PauloCereda % If extension is |.gz| tack on to previous extension, eg |.eps.gz| if available. <- im sure this worked when we first added the multiple dot support:-)
I noticed this unanswered question: tex.stackexchange.com/questions/585687/… — I guess it can be sped up using mylatex / dumping a format ? I don't know well enough to answer it myself, but would like to know :) (Or maybe there's another solution)
@DavidCarlisle Karl's suggesting adding an exception for file extensions .<number> to include them as mps in pdfTeX. Sounds reasonable to me (unless some other program makes numbered file extensions). What do you think?
(regarding that issue from yesterday in the tex-live list)
@ShreevatsaR you can't dump otf fonts in the format so there is not much mylatex can do here
@PhelypeOleinik hmph I think about 30 years ago I suggested metapost gave sensible file extensions to its generated files which still seems to me a better fix
@PhelypeOleinik oh must have missed the commit mail
@PhelypeOleinik odd thing is there were no gz test files, I definitely had some once, I suspect I never moved them across from a trial branch, or maybe never committed them. hmm. Clearly there are not that many people using eps.gz files these days:-)
@PhelypeOleinik is that just cut and paste from dvips or did dvipdfmx ever support the back tick?