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 2.4k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          Stefan Karlsson
          last edited by

          Thanks!

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors