I have used \faketableofcontents in my file. I need to compile the file twice -- once with \faketableofcontents present and once with \faketableofcontents commented out. I wonder if there is a way to compile the file from terminal and use a true or false argument which specify whether \faketableofcontents must be included or ignored during compilation.
Asked
Active
Viewed 35 times
0
-
Does http://tex.stackexchange.com/q/1492/15925 help? – Andrew Swann Nov 26 '13 at 17:13
-
@AndrewSwann Yes the page is precisely what I am looking for. – Reza Nov 26 '13 at 17:24
-
1Good. Then we should close your question as a duplicate. – Andrew Swann Nov 26 '13 at 17:31
-
@AndrewSwann Yes please. – Reza Nov 26 '13 at 17:36