es-logo

Solved Nomenclature Not Generated in PDF Created by Visual Studio Code LaTeX Workshop Extension

Posted on: Fri Jul 14 2023 05:30:00 GMT+0530 (India Standard Time)

The problem regarding not generation of nomenclature in pdf documents created by Visual Studio Code is finally solved.

You may have gone through search engines following the advice to display nomenclature but nothing worked like:

Popular searches regarding the same:

- Problem with the nomenclature
- nomencl latex won't show output

Solution

  • Step 1. In Visual Studio Code, Open File -> Preferences -> Settings and search for "latex-workshop.latex.tools" in that.
  • Step 2. Add the following code inside the "latex-workshop.latex.tools"
{
   "name": "makeindex",
   "command": "makeindex",
   "args": [
    "%DOCFILE%.nlo",
    "-s",
    "nomencl.ist",
    "-o",
    "%DOCFILE%.nls"
   ],
   "env": {}
},
  • Step 3. Again Open File -> Preferences -> Settings and search for "latex-workshop.latex.recipes" in that. Modify the following command:
{
   "name": "pdflatex -> bibtex -> pdflatex * 2",
   "tools": [
    "pdflatex",
    "bibtex",
    "pdflatex",
    "pdflatex"
   ]
},

like the below command:

{
   "name": "pdflatex -> bibtex -> makeindex -> pdflatex * 2",
   "tools": [
    "pdflatex",
    "bibtex",
    "makeindex",
    "pdflatex",
    "pdflatex"
   ]
},
  • Step 4. Save the file.
  • Step 5. Open the "LaTeX Workshop" Extension Menu in Visual Studio Code and run the command with "pdflatex -> bibtex -> makeindex -> pdflatex * 2" name.

Important Note

We hope this article helped you. If you have any suggestions/queries regarding this article, or if you need to contact us, then do it here.

OpenFOAM® and OpenCFD® are registered trademarks of OpenCFD Limited, the producer of OpenFOAM software. All registered trademarks are property of their respective owners.

This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks.

Affiliate Disclosure
This site contains affiliate links to products. We may receive a commission for purchases made through these links. Keep in mind that we may receive commissions when you click our links and make purchases. However, this does not impact our reviews and comparisons. We try our best to keep things fair and balanced, in order to help you make the best choice for you.

Our Policies
By continuing to browse the site you are agreeing to our use of cookies and policies.


© 2022-24 esonusharma.github.io - all rights reserved. DMCA.com Protection Status