GeneralCommand Line in TXC2alpha3

General information and discussion about TeXnicCenter
Post Reply
tomc
Posts: 2
Joined: Tue Dec 06, 2011 3:19 pm

Command Line in TXC2alpha3

Post by tomc »

Hi guys,

I simply want to get the command prompt in TexnicCenter 2.0. This is to execute the following commands:

Code: Select all

xelatex test 
makeindex test 
makeindex test.nlo -s nomencl.ist -o test.nls 
xelatex test
But I cant find how to get the command prompt. Pls assist. text.tex is the document.

Regards Tom

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Re: Command Line in TXC2alpha3

Post by localghost »

Why? Just copy a build profile, rename it e. g. to "XeLateX → PDF" and insert XeLaTeX as the compiler. Nothing more to do.


Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
tomc
Posts: 2
Joined: Tue Dec 06, 2011 3:19 pm

Re: Command Line in TXC2alpha3

Post by tomc »

Thank you for your response, but the response DOES NOT solve my problem.

I am trying to include a list of abbreviations in a tex document using TexNic editor. The package explains how to do it using command line.

Please tell me how. Or do I need another editor. I was under the assumption that it is straightforward.

Thanks

Tom
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Command Line in TXC2alpha3

Post by localghost »

tomc wrote:[…] I am trying to include a list of abbreviations in a tex document using TexNic editor. The package explains how to do it using command line. […]
Somehow I missed that. But there is still no need for the command line since TeXnicCenter (TXC) allows to use post-processing in its build profiles. You can create a profile with an according post-processor quite easy.
  1. Start TXC and press "Alt+F7" to reach the "Profiles" dialogue window that shows your build profiles and their settings. It will open by default with the "(La)TeX" tab for the currently selected build profile.
  2. Copy the "LaTeX → PDF" build profile and rename it to "XeLaTeX → PDF (nomencl)". In the new profile replace the "latex.exe" executable with the "xelatex.exe" executable in the path to the LaTeX compiler (see first attachment).
  3. Go to the "Postprocessor" tab and add "makeindex.exe" as executable along with its corresponding command line parameters to create a nomenclature with the nomencl package (see second attachment).
Note that this profile will only work in conjunction with the nomencl package. For other packages that need post-processing on the command line there can be created similar profiles in an analogous way.

Step two of your workflow is done automatically since TXC uses MakeIndex by default in all its build profiles (see first attachment).
Attachments
Compiler settings of the newly created "XeLaTeX → PDF" build profile.
Compiler settings of the newly created "XeLaTeX → PDF" build profile.
TXC2a3-Profiles-XeLaTeX-PDF-(nomencl)-(La)TeX.png (50.42 KiB) Viewed 3019 times
Postprocessor settings of the newly created "XeLaTeX → PDF" build profile.
Postprocessor settings of the newly created "XeLaTeX → PDF" build profile.
TXC2a3-Profiles-XeLaTeX-PDF-(nomencl)-Postprocessor.png (30.7 KiB) Viewed 3019 times
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply