3

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?

  • @moewe, yes, exactly that´s the reason i wrote this link in my comment – Coliban Jan 24 at 6:44
  • Ooops, missed that link, sorry. – moewe Jan 24 at 7:10
  • Note that it is not enough to have only the top-level directories and then everything below that. You also need the sub-directory structure. Usually packages go into tex/latex/<package name>. How deep did you go? – moewe Jan 24 at 7:12
  • @moewe. oh, i provided only the top level structure. But since there are different structures, i wonder which one will be the right TDS-structure. – Coliban Jan 24 at 7:18
  • I'm not sure how deep MikTeX goes to check that. I'd have thought it only becomes relevant once you actually put files somewhere, but I don't know. Do you have files in your TDS tree already? If so, where are they? – moewe Jan 24 at 7:19
3

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.

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.