3

I have several cls files and macros in a folder that is set as a root directory for MikTeX in Windows (The files are in C:/localtexmf/tex/latex/Macros and the root directory is set as C:/localtexmf). However, whenever I update any of the files in this folder, or add new cls files, I need to run the update FNDB again for LaTeX (TeXMaker) to recognize the changes. On other operating systems (Ubuntu and Mac) once the folder is specified within the tree I did not need to run an update every time. Is this not the case for Windows?

Any thoughts much appreciated.

  • 2
    Not needing to hash the local tree in TeX Live has been the case for a few years but not always. It's down to Christian Schenk to define how MiKTeX works: you can always use TeX Live on Windows if you prefer it's approach. – Joseph Wright Mar 1 '14 at 17:46
  • 1
    Thanks a lot! I wasn't aware of TeX Live so may try this out instead. – user46142 Mar 1 '14 at 17:59
  • 1
    As far as I experienced it, you need to update FNDB when you add new files, not when you update them. – Bernard Mar 1 '14 at 20:24
  • @Bernard: Or when files are removed. So, a fndb update is necessary, when there is some change in file structure. – Speravir Mar 1 '14 at 20:53
  • @JosephWright: This is the only possible answer in the moment in my eyes, perhaps with small additions of Bernard and me. – Speravir Mar 1 '14 at 20:55
2

Not needing to hash the local tree in TeX Live has been the case for a few years but not always. That is true on Linux and the Mac, where TeX Live or a derivative is 'standard', and also on Windows, where both TeX Live and MiKTeX are found. It's down to Christian Schenk to define how MiKTeX works: presumably he's happier with the idea of requiring hashing for all trees. You could of course lodge a feature request.

| improve this answer | |

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.