Jump to content

TeXnicCenter: Difference between revisions

From IdeaWazaWiki
wikademia>Eme
No edit summary
 
(44 intermediate revisions by 30 users not shown)
Line 1: Line 1:
{{Infobox_Software |
'''TeXnicCenter''' is a [[free software|free]] [[open source]] [[Integrated development environment|IDE]] for the [[LaTeX]] typesetting language. It uses the [[MiKTeX]] or [[TeX Live]] distributions<ref>{{Cite book
  name = TeXnicCenter |
| publisher = Springer
  logo = |
| isbn = 9783540007180
  screenshot = [[Image:Texniccenter.png|300px|TeXnicCenter screenshot]] |
| pages = 520-521
  caption = TeXnicCenter screenshot |
| last = Braune
  developer = The TeXnicCenter Team |
| first = K.
  latest_release_version = 1 Beta 7.01 |
| title = LaTeX
  latest_release_date = [[June 18]], [[2006]] |
| chapter = TeXnicCenter
  operating_system = [[Microsoft Windows|Windows]] |
| accessdate = 2009-06-02
  genre = [[LaTeX]] |
| date = 2004
  license = [[GNU General Public License|GPL]] |
| language = German
  website = [http://www.texniccenter.org www.texniccenter.org] |
}}</ref>. It allows the user to type documents in LaTeX and to compile them in [[Portable Document Format|PDF]], [[DVI file format|DVI]] or [[PostScript|PS]]. A menu gives access to precoded elements and environments (formulas, symbols, sections). It also allows for the creation of projects to organize and access the sections and environments of documents, and to insert a bibliography (using [[BibTeX]]) and an index (using [[MakeIndex]]).  TeXnicCenter was first released in 1999 by Sven Wiegand<ref>{{Cite web
}}
| title = LaTeX-Frontend TeXnicCenter in neuer Version
'''TeXnicCenter''' is a [[free software|free]] [[open source]] [[Integrated development environment|IDE]] for the [[LaTeX]] typesetting language. It uses the [[MiKTeX]] or [[TeX Live]] distributions. It allows the user to type documents in LaTeX and to compile them in [[Portable Document Format|PDF]], [[DVI file format|DVI]] or [[PostScript|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]]).  
| work = Golem.de
| accessdate = 2009-06-02
| date = 2005-11-04
| url = http://www.golem.de/0504/37403.html
}}</ref>.  It is included in [[ProTeXt]].


To use TeXLive 2005 distribution, you need to make a minor change to the output profiles by replacing each of the output argument options with their Unix format variants (even for running on Windows), e.g. the command line arguments "%pm" becomes "%Pm" and "%bm" becomes "%Bm".
==Interoperability with other software==


==Acrobat integration==
TeXnicCenter has been designed to work with the [[MiKTeX]] distribution. After installation, TeXnicCenter recognizes MiKTeX and sets up the paths to command-line compilers bundled with MiKTeX automatically. Similarly, [[Adobe Acrobat|Adobe Acrobat Reader/Professional]] or [[Foxit Reader|Foxit Reader]]{{Fact|date=June 2009}}, when available, is configured as a viewer for the generated PDF documents. TeXnicCenter can tell Acrobat to close an opened PDF file before recompiling it with LaTeX using [[Dynamic Data Exchange]] calls<ref>{{Cite web | url=http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACOverview.pdf | title=Acrobat Interapplication Communication Overview] | publisher=Adobe Solutions Network}}</ref><ref>{{Cite web | url=http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf | title=Acrobat Interapplication Communication Reference | publisher=Adobe Solutions Network}}</ref>.
TeXnicCenter has the ability to integrate 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 ''[[Dynamic data exchange|DDE]] calls'' to Acrobat, documented in [http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACOverview.pdf Acrobat Interapplication Communication Overview] and [http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf Acrobat Interapplication Communication Reference]


===Integration setup===
==References==
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).
<references/>
 
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 <pageno>+1:
command: [DocOpen("%bm.pdf")][DocGoTo("%bm.pdf",<pageno>)]
 
===Semi-automatic forward search===
A much more useful solution would be to use the [http://www.tug.org/applications/hyperref/manual.html <tt>hyperref</tt> package]:
 
1. Make sure the <tt>hyperref</tt> package is loaded: <tt>\usepackage{hyperref}</tt>
 
2. Define the following command: <tt>\def\acrobat{\hyperdef{jump}{here}{}}</tt>
 
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 <tt>\acrobat</tt> 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 <tt>hyperref</tt> package via <tt>\usepackage[pdftex]{hyperref}</tt>; if you use dvips, load it using <tt>\usepackage[dvips]{hyperref}</tt>. If several <tt>\acrobat</tt> 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 ==
== External links ==
* [http://www.texniccenter.org/ TeXnicCenter homepage]
*[http://www.texniccenter.org/ TeXnicCenter homepage]
* [http://sourceforge.net/projects/texniccenter/ TeXnicCenter] on [[SourceForge]]
*[http://sourceforge.net/projects/texniccenter/ TeXnicCenter] on [[SourceForge]]


[[Category:Free software programmed in C++]]
[[Category:Free TeX editors]]
[[Category:Free TeX editors]]
[[Category:TeX SourceForge projects]]
[[Category:TeX SourceForge projects]]
 
[[Category:Open source IDE's]]
[[de:TeXnicCenter]]
[[es:TeXnicCenter]]
[[fr:TeXnicCenter]]
[[nl:TeXnicCenter]]
[[pl:TeXnicCenter]]
[[sv:TeXnicCenter]]

Latest revision as of 05:59, 24 September 2010

TeXnicCenter is a free open source IDE for the LaTeX typesetting language. It uses the MiKTeX or TeX Live distributions[1]. It allows the user to type documents in LaTeX and to compile them in PDF, DVI or PS. A menu gives access to precoded elements and environments (formulas, symbols, sections). It also allows for the creation of projects to organize and access the sections and environments of documents, and to insert a bibliography (using BibTeX) and an index (using MakeIndex). TeXnicCenter was first released in 1999 by Sven Wiegand[2]. It is included in ProTeXt.

Interoperability with other software

TeXnicCenter has been designed to work with the MiKTeX distribution. After installation, TeXnicCenter recognizes MiKTeX and sets up the paths to command-line compilers bundled with MiKTeX automatically. Similarly, Adobe Acrobat Reader/Professional or Foxit Reader[citation needed], when available, is configured as a viewer for the generated PDF documents. TeXnicCenter can tell Acrobat to close an opened PDF file before recompiling it with LaTeX using Dynamic Data Exchange calls[3][4].

References