I'm having problems building a book file (using the memoir
class) in the latest version of TeXnicCenter on Windows 7:
I have a main file which uses
\includefrom{}
to include each chapter; TeXnicCenter only lets me build from that main file, otherwise it gives a long string of errors. I tried writing%!TEX root = ../realbook.tex
at the top of each chapter file, but that doesn't help...I'm building a PDF directly. When I select "Build and view current file," after it builds, TeXnicCenter opens Adobe Acrobat Reader (without opening the newly-built file) and then freezes for ~15 seconds. Is there any way to fix this?
I cannot build while the PDF is open. It gives me this error:
\newcommand{\blank}[1]{\rule{#1}{0.4pt}}
Is there something else I can use, maybe a PDF synchronization package for Windows?
Build
>Define Output Profiles...
, select the profile you are using on the left. Then click theViewer
tab on the right. It should show the PDF Viewer options. Under theClose document before running (La)TeX
section, you need to activate theDDE command
radio button and specify the "Command"[DocClose("%bm.pdf")]
. Since I'm using Adobe Reader, my "Server" isacroview
and "Topic" iscontrol
.%TEX root =
is a TeXworks-specific feature, and not something that TeXnicCenter supports.project
?