Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help wanted · · · – – – · · ·
    2
    3
    695
    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 Karlsson
      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 Chuh 1 Reply Last reply Reply Quote 0
      • Meta Chuh
        Meta Chuh @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 3
        • Stefan Karlsson
          Stefan Karlsson last edited by

          Thanks!

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors