1

I found file_get_full_name for file_add_path; but there are many deprecated removed. Is there a list for all and their recommended replacement?

  • There is a list of removed commands in the changelog but it's not very accessible and often times commands are removed without replacements, e.g. all the \toks_ commands. – Henri Menke Mar 11 '19 at 3:21
  • @HenriMenke Removals without replacements are not that common and usually for things that don't need/warrant one. (The toks functions wen years ago and were replaced by tl operations, for example.) I'm not sure why you say the ChangeLog is not accessible: it's on GitHub and publicly-visible. – Joseph Wright Mar 11 '19 at 9:05
  • @JosephWright With not accessible I meant that it is not in the form of a list of removed commands with their corresponding replacements. The reader definitely has to invest some effort to find what they are looking for. – Henri Menke Mar 11 '19 at 9:17
  • @HenriMenke ah rihgt: we have a list of removals (l3obsolete), but replacements are not always simple 'drop ins' so it's harder. – Joseph Wright Mar 11 '19 at 9:48
2

Since the start of 2018 we have had a (reasonably) detailed changelog for expl3 which has entries like

### Deprecated
- `\token_get_prefix_spec:N`, `\token_get_arg_spec:N`,
  `\token_get_replacement_spec:N` replaced by `\cs_prefix_spec:N`,
  `\cs_argument_spec:N`, `\cs_replacement_spec:N`, respectively

Older deprecations (as for the one you mention) will not be present, though you can always try using the macro and reading what error it raises.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.