@PauloCereda why change paths when you can just make sure the paths you set up ages ago uses a placeholder instead of the year part of the path, then make that placeholder a soft link and you only need to change the softlink (that is presumably what the MacTeX gui does behind the scenes)
In pdftmanagement-testphase, is there a way to query / determine the existence of a certain key in a pdfannot dictionary of a certain type, such as Border or C in a link/GoTo annotation? I only found \pdfannot_dict_put:nnn and \pdfannot_dict_remove:nn for manipulating annotation dict content.
@UlrikeFischer I'd like to improve ocgx2 a bit and adjust the look of ocg switching links according to whether hyperref is loaded or not. (Alternatively, I could just test whether hyperref is loaded or not at the beginning of the document, but I am looking for a more elegant way.)
Hyperref adds Border and C, which are empty otherwise.
@AlexG hm, imho if you want to do something depending if hyperref is loaded or not, the most elegant is to use \AddToHook{package/hyperref/after}. Relying on some side effects from hyperref sounds a bit dubious. E.g. assume that hyperref gets some options "noborder, no colors".
@AlexG there is currently no interface, you would have to access the internal name of the dictionary (\pdfdict_get:nnN {l__pdfannot/link/GoTo}{C}\l_tmpa_tl). It wouldn't be difficult to add a \pdfannot_dict_get:nnN, so if you think it would be useful open a feature request and I will add it.
@UlrikeFischer Such an interface for querying could indeed be useful in places. For now, I think, using the package/hyperref/after hook will be sufficient.
@JosephWright I am trying to have a look at l3doc.cnf file to see what normally goes in there. I understand this is limited to the Team. I have changed l3 to a new name for some experiments with my colorizer ackage and would like to add some items to a config file. Sorry I am posting here, but questions now get buried easily on the site
well even with a l3doc.cfg you'd need to hack \LoadClass since it is unconditionally called. but you can use colorizerdoc.cls that patches \loadClass so that \LoadClass{artice} loads book, then loads l3doc, I would guess.
@yannisl but l3doc is such a mess, and many of the good bits are in doc v3 anyway so I'd use \documentclass{book}\usepackage{doc} see the first paragraph of the l3doc class doc
Thanks, l3doc is really in a mess and the only advantage is sorting l3 macros into groups, if this is an advantage, as they would sort themselves out in any case
Even doc now is a bit messy, try and define an indexing command that acts like a normal \index. You need to create NewElement. But convenient otherwise. It served us well for 30 years.
@DavidCarlisle If the answer is 10 years old and the improvement is a small modification to a macro that covers a new scenario, should I post a new answer?
Your suggested change just changes the amount by which you are prepared to letter-space the string from an invisibally small amount to an invisibly small amount thats 3 times as big. It happens to work in that case as a isn't very wide and so there are lost of a and so by luck adding 2*82 sp gave just enough glue to justify the line, if you used a larger letter you might need more glue
@rdrg109 I would there may be millions of links to that answer on the internet by now and changing the code they link t can be confusing
@rdrg109 or leave a comment and ask the original author (who happens to be here today)
@rdrg109 @DavidCarlisle I think it is better to just post a new question. David's explanation in the chat I think is good enough. And it is an amazing coincidence I am here today :)
@rdrg109 What really needs to be edited is the question itself. Like put a realistic string say using DNA sequences or numbers, then one can also do grouping. For bigNumbers I usually display in fours, but I use Lua for this. CAn be done also otherwise.
@DavidCarlisle Hehehe what an amazing coincidence 3sp by chance fixed an old answer and I was here to hear it. I think I am going to buy a Lotto ticket or something.
@DavidCarlisle Need to find where...I can buy one. I think Spain has one
@samcarter No you need to call it Capialism! Site is flooded with a new generation of users, too many questions with 1 reputation point. Why do you think this is happening? Nobody seems to want to read docs anymore.
In formulae: (Exhaustivity of a doc)×(Willingness to read it)=ℏ ?
user581918
Hello! I think about methods for bailing out of expansion driven by \the. Is there a control sequence \foobar with \the\numexpr\foobar\relax expanding to emptiness/to no token at all? Or for any of the other ...expr? Is there a control sequence \barfoo other than s.th. denoting an empty token register with \the\barfoo expanding to emptiness/to no token at all?
@Cattleya I think you can use \the<token variable> as long as the <token variable> in question is empty. (<token variable> subsumes <toksdef token>, \toks<8-bit number> and <token parameter>. <token parameter> subsumes \output, \everypar, \everymath, \everydisp, \everyhbox, \everyvbox, \everyjob, \everycr, \errhelp. But there are packages for LaTeX which redefine these primitives.)
user581918
@UlrichDiez "But there are packages for LaTeX which redefine these primitives." - What do you mean?
@Cattleya For example the package "everyhook" by Stephen Checkoway.
user581918
4:39 PM
@UlrichDiez In TeXbook, chapter 20 I just found: "\the<token variable> produces a copy of the token list that is the current value of the variable. For example, you can expand '\the\everypar' and '\the\toks5'." Is there no way of having \the-expansion stop with emptiness other than an empty <token variable>?
@Cattleya I don't know any other way. I don't know a way of having \the...expr\foobar\relax terminate without delivering any tokens, either. But that would be nice to have.
I'm back. My laptop refused to boot on February 10, and although I managed to get a substitute, I lost access to all my passwords. It will take a while to catch up, and I have some other things to do first. But I've lost something more -- My husband, Gordon, passed away on February 22. He was terribly ill since early December, and, mercifully, is now at peace. Be kind; you never know.
@DavidCarlisle They I think decided to call it 'MEDIUM CIRCLE WITH CROSS BAR' or some such - really don't know why we couldn't have 'PLIMSOL SYMBOL' or 'STANDARD STATE SYMBOL'