I strongly recommend installing the full
scheme. Not only is this generally much easier, in this case it will make life much, much easier.
If you choose not to do that, you must decide between the following 2 options.
Option 1
Use the standard dummy package to tell apt
that everything is installed, even though it isn't. If you install something which depends on a missing part of TeX Live, you will obviously receive no warning. You will, therefore, need to scrutinise package dependencies yourself and ensure that they are satisfied by installing whatever additions are required using tlmgr
.
Option 2
Prepare a tailored dummy package to tell apt
what is actually installed. To do this, you will need to map the collections you installed with tlmgr
onto Debian package names. This means you will need to figure out what is contained in each installed collection and which package(s) this is equivalent to in Debian.
Note that Debian's packaging will not correspond 1:1 with TeX Live packaging. Debian probably makes meta packages available which pull in many actual packages and you generally want your dummy package to use the highest level package you can, because this is more likely to persist through time. In any case, you may find that you need to install additional things to make up a complete Debian equivalent using tlmgr
. Moreover, both Debian and TeX Live packages change over time, so you will need to regard this as a work-in-progress and review your dummy package when either side alters their packaging. The lower the level of the package names specified in your dummy, the more frequently you are likely to need to update it. In general and assuming a reasonably standard TeX Live scheme, this should probably not be too much trouble in practice, but it does require a certain degree of vigilance.
When you install Debian packages, you will need to ensure that you are not inadvertently bringing in Debian TeX Live packages as dependencies. When apt
wants to do this, you will need to abort the installation, identify the equivalent TeX Live packages, install them with tlmgr
, update the dummy package spec, rebuild and reinstall it, before proceeding with the original installation.
To some extent these issues hover anyway, even with a full
scheme installation because package names change over time and this can render your dummy package useless. But the issues are obviously greater with a partial installation of TeX Live. They can be mitigated by matching your package choices to high-level Debian meta-packages and by ensuring that your TeX Live installation includes everything likely to be required by the Debian software you install later. But packages sometimes have surprising dependencies, so you cannot rely on this, but can use it as a strategy to reduce the need for later reconfiguration of your dummy.