Welcome to the TeXnik web site TeXnikCenter |
||||||||||||
|
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: controlAlternatively, the following command can be used for "forward search", which opens the pdf-document on page forward search: [v] DDE command. command: [DocOpen("%bm.pdf")][DocGoTo("%bm.pdf",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. |