AllExperts > Encyclopedia 
Search      
Find out about volunteering to AllExperts

TeXnicCenter: Encyclopedia BETA


Free Encyclopedia
 Home · Index · Browse A-Z  · Questions and Answers ·
Encyclopedia

Browse A-Z
ABCDEFGHIJKLMNOPQRSTUVWXYZNum


License
Disclaimer

 
 
 
 
Free Online Courses
12 Weeks to Weight Loss
Take Charge of Stress
Learn How to Bake
Budgeting 101
Deeper Faith
DIY Fashion Makeover

       MORE E-COURSES
 
   

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  Misc

TeXnicCenter



TeXnicCenter is a free open source IDE for the LaTex typesetting language. It uses the MiKTeX or TeXLive distributions. It allows the user to type documents in LaTeX and to compile them in PDF, DVI or PS. A menu gives access easily to precoded elements and environments (formulas, symbols, sections). It also allows for the creation of projects to organise and access the sections and environments of documents, and to insert a bibliography (using BibTeX) and an index (using MakeIndex).

To use TeXLive 2005 distribution you need to make a minor change to the output profiles ... replace each of the output argument options with their unix format variants (yes even for running on Windows) ... so that the command line arguments "%pm" becomes "%Pm" and "%bm" becomes "%Bm" etc.)

Acrobat integration

TeXnicCenter has the ability to integrate nicely with Adobe Acrobat, such that recently compiled PDF files are opened automatically, and existing open PDF files are closed automatically upon recompilation. This is done using DDE calls to Acrobat, documented in Acrobat Interapplication Communication Overview and Acrobat Interapplication Communication Reference

Integration setup

You can insert the following lines of command in TeXnicCenter to integrate it with Acrobat. This particularly enables you to compile your files in pdf without having to close the previous document first (necessary in the default option).

Integration is setup in the Build â†' Define Output Profiles menu option. Select a profile "LaTeX=>PDF" or "LaTeX=>PS=>PDF", and click on the viewer window.

Without forward search

To simply (re)open the document in the Acrobat Reader, use :
 view project's output:
[x] DDE command
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
server: acroview
topic: control

forward search:
 [x] DDE command
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
server: acroview
topic: control

Close document before running (La)TeX:
 [x] DDE command
command: [DocClose("%bm.pdf")]
server: acroview
topic: control

Manual forward search

Alternatively, the following command can be used for "view project's output" and "forward search". It opens the pdf-document on page +1: command: [DocOpen("%bm.pdf")][DocGoTo("%bm.pdf",)]

Semi-automatic forward search

An much more useful solution would be to use the hyperref package:

1. Make sure the hyperref package is loaded: \usepackage{hyperref}

2. Define the following command: \def\acrobat{\hyperdef{jump}{here}{}}

3. Change the "view project's output" and "forward search" DDE command (as described earlier on) to: command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")][DocGoToNameDest("%bm.pdf","jump.here")]

4. Use somewhere in the text (usually, where you are currently working…) the new command \acrobat and, after (re)opening, the reader should jump to that location.

Note that steps 1. and 2. have to be done in the header of your document. If you use pdfTeX, you should load the hyperref package via \usepackage[pdftex]{hyperref}; if you use dvips, load it using \usepackage[dvips]{hyperref}. If several \acrobat commands are issued, the reader always jumps to the "latest" one.

Open and jump back to previous position

If you want Acrobat to reopen the file after a recompilation at the exact same location as it was just before, and if you have the full version of Acrobat (the following is not supported by the free Acrobat Reader!) set the "view project's output" and "forward search" DDE command to: command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")][MenuitemExecute("GoBack")]

Note that Adobe Reader supports only the following DDE messages: AppExit, CloseAllDocs, DocClose, DocGoTo, DocGoToNameDest, DocOpen, FileOpen, FilePrint, FilePrintEx, FilePrintSilent, and FilePrintTo. In order to support the MenuitemExecute functionality, a full version of Adobe Acrobat is required.

External links

* TeXnicCenter homepage
* TeXnicCenter on SourceForge



Email this page
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.
This is the "GNU Free Documentation License" reference article from the English Wikipedia. All text is available under the terms of the GNU Free Documentation License. See also our Disclaimer.