TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

TeXnikCenter
TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


GUIs  |  PDF files |  Profile dvi->ps->pdf | 


TeXnicCenter is a free open source program, IDE for LaTeX in Windows, using the MiKTeX distribution. It allows the user to type documents in LaTeX and to compile them in PDF, DVI or PS. A menu gives the possibility to access easily to precoded elements and environments (formulas, symbols, sections). It also makes possible to create projects to organise and access the sections and environments of your document and to insert a bibliography (using BibTeX) and an index (using MakeIndex). Acrobat integration


Using Acrobat reader
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.

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 :
view project's output:  [v] DDE command.
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
server: acroview
topic: control

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

Close document before running (La)TeX: [v] DDE command
command: [DocClose("%bm.pdf")]
server: acroview
topic: control
Alternatively, the following command can be used for "forward search", which opens the pdf-document on page +1:
forward search: [v] DDE command.
command: [DocOpen("%bm.pdf")][DocGoTo("%bm.pdf",)]
server: acroview
topic: control
If you want Acrobat to reopen the file after a recompilation at the same location as it was just before, set:
view project's output:  [v] DDE command.
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")][MenuitemExecute("GoBack")]
server: acroview
topic: control

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

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

Output profile for dvi->PS->PDF
Using the sequence latex->dvips->ps2pdf with one click, you have to install an output profile. You can download it "http://perce.de/LaTeX/misc/dvipspdf.tco". Inside TeXnikCenter import this file by Extras->define output profile->import.

local time: Fri Mar 29 14:00:37 CET 2024 ; file is: 1742.0896412037 days old
contact webmaster _at_ TeXnik.de