[Tex/LaTex] a “TDS conform” directory? (MikTeX on Windows)

miktextds

in many answers and hints to LaTeX questions regarding fonts, there is always the requirement for installing new fonts, to create a "TDS compliant" root directory.

If i follow these instructions and look up, for example on Windows with a Miktex installation, what a "TDS-compliant" directory should look like, it requests something: "THis does not look like an TDS-compliant directory. Please install one.."

He directs me to a documentation where following is claimed:

•bibtex
•doc
•fonts
•scripts
•tex

When i provide a directory with this structure (for example under C:\localtexmf) and try to add it via MikTeX console, he is still saying that exact this structure is "Not TDS-compliant". When i lookup the information, for example, as instructed by the answer in Create a local texmf tree in MiKTeX

it leads me to the information in A Directory Structure for TeX Files
where a different "TDS-compliant" directory structure is propagated:

The top-level directories specified by the TDS are:

`tex' for TeX files (Section Macros).
`fonts' for font-related files (Section Fonts).
`metafont' for Metafont files which are not fonts (Section Non-font Metafont files).
`metapost' for MetaPost files (Section MetaPost).
`bibtex' for BibTeX files (Section BibTeX).
`scripts' for platform-independent executables (Section Scripts).
`doc' for user documentation (Section Documentation).
`source' for sources. This includes both traditional program sources ....

Besides the fact that is strange that there are different "TDS-compliant" directory structures, neither of this different "TDS-compliant" structures are working with MikTeX.

Is there another "TDS-compliant" structure which would work with MikTeX?

Best Answer

tds has a two-level structure: your files always go two folders down, in tex\generic or tex\latex or fonts\tfm.

I don't know the exact rules which miktex uses to check (one would need to check the source code for this), but I can add texmf tree if is has the minimal structure

 texmf\tex\latex

while only texmf\tex is rejected.