Menu

#1010 Highlight deprecated commands and packages

open
nobody
None
1
2016-10-08
2016-02-22
Anonymous
No

It would be really nice to help users getting rid of old packages and syntax by highlighting those parts of code.

As TeXstudio already knows how to highlight a package, it should be quite easy to check the package's name against some list of depricated packages. The source would be e.g. http://www.pirbot.com/mirrors/ctan/info/l2tabu/english/l2tabuen.pdf or http://tex.stackexchange.com/a/26200 or alike.
I would be willing to provide a csv or text-file with problematic packages.

A first step would be to highlight those packages. The user would have to think "why are they highlighted? I should google that...". I guess, many users will notice they are using something outdated in a really quick manner.

A second step, however, could be to throw some warnings or information on which package to use instead.

All this could be extended to depricated commands. E.g. if using LaTeX, you should not use \bf or $$...$$.

I believe it would be nice to have the IDE teaching the user. And a quite easy way as well, as it can be done by some simple lists of values to be checked. Please let me know, if I should provide such a list.

Thank you very much.

Discussion

  • LaRiFaRi

    LaRiFaRi - 2016-02-22

    I have posted without login...

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-02-23

    This would be useful. However we'll have to see when there is time for it. If you already want to start a list, you could post the information here (or subscribe to the ticket, so that you will know when we post something on the topic here and then start with the list). For a start, this format and information should be sufficient.

    # Deprecated packages. Format:
    # package:alternatives
    subfigure:subfig,subcaption
    hyper:hyperref
    
     

Anonymous
Anonymous

Add attachments
Cancel