Community
    • Login

    How to use LaTeX language instead of TeX language when opening a ".tex"-file by default

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Stefan KarlssonS
      Stefan Karlsson
      last edited by

      When opening a “.tex”-file, Notepad++ uses Language TeX to view it.

      How can I make it view it using LaTeX language instead, with selecting LaTeX language in the menu every time i open a file?

      Both has “.tex” as the default extension in “Style Configurator”.

      Meta ChuhM 1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @Stefan Karlsson
        last edited by Meta Chuh

        @Stefan-Karlsson

        open your notepad++ langs.xml file, which is usually here: %AppData%\Notepad++\langs.xml

        search for <Language name="tex" ext="tex" commentLine="%"></Language> and rename the tex extention to e.g. tex_ to deactivate it

        then save and restart notepad++

        1 Reply Last reply Reply Quote 2
        • Stefan KarlssonS
          Stefan Karlsson
          last edited by

          Thanks!

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors