Templates, Wizards & Tools%bm versus %bc

Information and discussion about TeXnicCenter document/project templates and wizards and other tools and extensions for TeXnicCenter
Post Reply
Hoen
Posts: 1
Joined: Wed Feb 13, 2008 5:14 pm

%bm versus %bc

Post by Hoen »

Hi,
this is my Problem:
When I define a new output Profile and I use for example the placeholder "%bm", this is
correctly resolved in the right Path of the mainfile when given to the postprocessor.
But when I change it to "%bc", this will unchanged given to the postprocessor.

What's wrong?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Sven
Site Admin
Posts: 100
Joined: Sat Jan 13, 2007 12:52 pm

%bm versus %bc

Post by Sven »

What do you expect "%bc" being resolved to? I do not get this from your question. This variable will be resolved to the current file's (the one that's open in the editor when you call the compile command) base path (full path of the file without its file extension). "%bm" will be resolved to the base path of the project's main file. Depending on the situation, both may give the same result, i.e. when you have the project's main file opened in the editor when executing the compilation.

To get a full list of the available variables, take a look into the TeXnicCenter help installed together with TXC or follow the following link to the related help sources in sourceforge CVS.
LaTeX Community Administrator
Originator of TeXnicCenter
Post Reply