1

So, suppose I install MiKTeX in my Windows. How, then, TeXworks know that I have the compilers pdfLaTeX for example, installed?

  • Editors don't know what you have installed. They just assume it's there. – ChrisS May 4 '14 at 4:37
  • 2
    The compilers have a special gift, a sort of binary telepathy. – Nicholas Hamilton May 4 '14 at 4:43
  • 1
    Continuing what Harish said: at the end of the day, the editor will usually just call (e.g.) pdflatex with a special command-line call. If that call succeeds, great. If the call fails, not to worry (much)—the editor will simply issue a specific error. – Sean Allred May 4 '14 at 6:21
  • 3
    Apart from anything else, this is editor-dependent. For example, some use a search approach based on 'known' install paths, the command line path, etc. Depending on the platform, something like which pdflatex may also be usable to find binaries. – Joseph Wright May 4 '14 at 9:02
  • 2
    Is there some underlying reason for asking this: I'm wondering if this is an 'X-Y' question (where what your really need to know is not actually what you've asked). – Joseph Wright May 4 '14 at 9:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.