Generalmakro not working on input/include file

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jg433
Posts: 3
Joined: Wed Mar 25, 2009 1:56 pm

makro not working on input/include file

Post by jg433 »

Hi folks,
I have a master file which has this command in the header:

Code: Select all

\newcommand{\IncludeBR}{1}
Later I call it like that:

Code: Select all

{\begin{ifset}{IncludeBR} 
bla bla bla
\end{ifset}
This works fine.
But when I write this ifset-command in a file that is included via \input or via \include, the ifset-command is ignored in that file.

What can I do to let the call for my command (\begin{ifset}{IncludeBR}) have a result also in my included files?

Thanks a lot for help!

Recommended reading 2024:

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

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

jg433
Posts: 3
Joined: Wed Mar 25, 2009 1:56 pm

Re: makro not working on input/include file

Post by jg433 »

solved - I had a typo which caused it not working ... :roll:
Post Reply