Tag Info

New answers tagged

13

I don't think that there is a single best practice --- it partly depends in what way your package has become obsolete. One of the strong goals of LaTeX is continued backward compatibility, i.e., the ability to reprocess old documents successfully even after a long period of time and in fact that is something tat most of the time works surprisingly well ...


8

It would be very rude to all the users who rely on your package to swap its function for an error message. I can not understand how someone ever could consider such a reckless approach. Some years ago the maintainer of Linux Libertine cut the support for pdftex and I found myself in the middle of my work towards a deadline trying desperately to get the ...


2

You define options that the user cannot override in any way: they're not option, then. Here's a polished up version with just one option, that is, pakkeopsaetninger. The language is also passed as an option, but I wouldn't do it and make users load explicitly babel with the languages they need. I removed the comments because I can't understand them; I also ...


4

Let's see what happens with \DeclareOption{mammalbirdfish}{ \makeatletter \begingroup \catcode`\_=\active \protected\gdef_{\@ifnextchar|\subtextup\sb} \endgroup \def\subtextup|#1|{\sb{\textup{#1}}} \AtBeginDocument{\catcode`\_=12 \mathcode`\_=32768} \makeatother} \ExecuteOptions{mammalbirdfish} \ProcessOptions The code from \makeatletter to ...


2

I'm not sure my comment isn't less clear than mud, but this is too much code for a comment - sorry. Happy to delete it later if best. \NeedsTeXFormat{LaTeX2e}[2014/05/01] \ProvidesPackage{goat}[2014/10/16 goat] \newif\ifmammalbirdfish \mammalbirdfishfalse \DeclareOption{mammalbirdfish}{% \mammalbirdfishtrue} \ExecuteOptions{mammalbirdfish} ...



Top 50 recent answers are included